Use 'a' operand code for prefetch instruction.
[official-gcc.git] / libstdc++-v3 / ChangeLog
blobee885008a9746a7640b1ff43dac8807eec4fc9d6
1 2001-12-19  Phil Edwards  <pme@gcc.gnu.org>
3         * docs/doxygen/Intro.3:  New 'Allocators' module.
4         * docs/doxygen/TODO:  Update.
5         * docs/doxygen/doxygroups.cc:  Update.
6         * docs/doxygen/run_doxygen:  Update.
8         * include/bits/stl_alloc.h:  Tweak doxygen hooks in comments.
9         * include/bits/std_memory.h:  Doxygenate.
10         * include/bits/stl_iterator_base_types.h:  Likewise.
11         * include/bits/stl_raw_storage_iter.h:  Likewise.
12         * include/bits/stl_tempbuf.h:  Likewise.
13         (get_temporary_buffer):  Remove unused nonstandard overload.
14         * include/bits/stl_uninitialized.h:  Likewise.
16         * include/bits/stl_iterator_base_types.h (input_iterator,
17         output_iterator, forward_iterator, bidirectional_iterator,
18         random_access_iterator):  Move old names...
19         * include/backward/iterator.h:  ...to here.
20         * include/bits/stl_bvector.h:  Update.
21         * include/ext/stl_rope.h:  Update.
23 2001-12-19  Phil Edwards  <pme@gcc.gnu.org>
25         * docs/html/configopts.html:  Describe recent options.
26         * docs/html/documentation.html:  Point to new doxygen tarballs.
27         * docs/html/install.html:  Brief updates.
28         * docs/html/17_intro/RELEASE-NOTES:  Remove weird control character.
29         * docs/html/ext/howto.html:  Fix typos, describe filebuf::fd().
30         * docs/html/faq/index.html:  Update for 3.0.95.
31         * docs/html/faq/index.txt:  Regenerate.
33 2001-12-19  David Billinghurst <David.Billinghurst@riotinto.com>
35         libstdc++-v3/5148
36         * testsuite/lib/libstdc++-v3-dg.exp:  Append .exe to 
37         executable filenames
39 2001-12-18  Benjamin Kosnik  <bkoz@redhat.com>
41         * docs/html/17_intro/TODO: Update.
42         * docs/html/17_intro/RELEASE-NOTES: Edits, update.
43         * README: Edit for clarity, update to reflect current directory
44         structure.
46 2001-12-18  Benjamin Kosnik  <bkoz@redhat.com>
48         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Extended checking before
49         enabling gnu model.
50         * aclocal.m4: Rebuild.
51         * configure: Rebuild.
52         
53 2001-12-18  Paolo Carlini  <pcarlini@unitus.it>
54             Nathan Myers  <ncm@cantrip.org>
55         
56         * include/bits/basic_string.h (assign(__str, __pos, __n)):
57         Call assign(__s, __n).
58         (assign(__s, __n)): Terminate the string with _S_terminal.
60 2001-12-17  Benjamin Kosnik  <bkoz@redhat.com>
62         * include/bits/std_limits.h (__glibcpp_long_double_is_bounded):
63         Set to true, like float and double.
65 2001-12-17  David Billinghurst <David.Billinghurst@riotinto.com>
67         libstdc++/5136
68         * testsuite/lib/prune.exp: New file
69         * testsuite/lib/libstdc++-v3-dg.exp: Use it
71 2001-12-17  Phil Edwards  <pme@gcc.gnu.org>
73         * include/bits/basic_file.h (__basic_file::fd):  New function.
74         * config/io/basic_file_stdio.h (__basic_file::fd):  Define.
75         * include/bits/std_fstream.h (basic_filebuf::fd):  New function.
76         * include/bits/fstream.tcc (basic_filebuf::fd):  Define.
77         * testsuite/27_io/filebuf_members.cc (test_02):  New test.
79 2001-12-16  Nathan Sidwell  <nathan@codesourcery.com>
81         * po/Makefile.am (.po.mo): Use POSIXLY_CORRECT argument ordering.
82         * po/Makefile.in: Regenerated.
84 2001-12-16  Paolo Carlini  <pcarlini@unitus.it>
86         * testsuite/21_strings/assign.cc (test01): Add tests.
88 2001-12-15  Paolo Carlini  <pcarlini@unitus.it>
89             Nathan Myers  <ncm@cantrip.org>
91         * include/bits/basic_string.h
92         (assign(__str, __pos, __n), assign(__s, __n)):  Optimize
93         by avoiding unnecessary temporaries.
94         (assign(__s)): Call assign(__s, __n).
95         * include/bits/basic_string.tcc (_M_replace_safe): Adjust comment.
96         * include/bits/std_string.h: include stl_function.h.
97         * testsuite/21_strings/assign.cc (test02, test03): New tests.
99 2001-12-15  Benjamin Kosnik  <bkoz@redhat.com>
101         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Enable gnu locale model
102         on linux by default.
103         * aclocal.m4: Regenerate.
104         * configure: Regenerate.
105         
106 2001-12-14  Benjamin Kosnik  <bkoz@redhat.com>
108         Clean up initialization and simplfy caching of underlying "C"
109         default locale objects.
110         * src/localename.cc (locale::_Impl::_Impl(string, size_t):
111         Unconditionally create __clocale object for all named locales,
112         including "C" and "POSIX".
113         * config/locale/c_locale_generic.cc
114         (locale::facet::_S_create_c_locale): Always set __cloc to zero.
115         * config/locale/c_locale_gnu.cc: Always delete.
116         * include/bits/localefwd.h (locale::facet::_S_c_locale): New.
117         * src/locale.cc (locale::classic()): Initialize
118         locale::facet::_S_c_locale.
119         (locale::facet::_S_c_locale): Define.
121         * include/bits/locale_facets.h: Add ctype_byname<wchar_t> ctor
122         specialization.
123         * src/locale.cc: Add definition here.
124         * config/os/gnu-linux/bits/ctype_inline.h: Tweak.
125         * config/os/gnu-linux/bits/ctype_noninline.h: Adjust initializations.
126         * include/bits/locale_facets.h (ctype<char>::_M_c_locale_ctype): Add.
127         Adjust ctors, dtors. 
128         (ctype<char>::_M_toupper): Remove const&.
129         (ctype<char>::_M_tolower): Remove const&.
130         (ctype<char>::_M_ctable): Remove const&.        
131         
132         * include/bits/locale_facets.h (collate): Clean up initialization
133         of _M_c_locale_collate in ctors and dtors.
134         * config/locale/collate_members_gnu.cc: Always use extended
135         functions.
137         * include/bits/locale_facets.h (messages): Clean up inits in ctor/dtor.
138         (messages_byname): Same.
139         * config/locale/messages_members_generic.h (messages::~messages):
140         Remove.
141         * config/locale/messages_members_gnu.h: Same.
143         * include/bits/localefwd.h: Clean. Move dtor definitions to
144         * src/locale.cc: Here.
145         * testsuite/22_locale/facet.cc: Fix spelling.
146         
147         Named locale support for ctype<wchar_t>.
148         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add variable
149         ctype_members_* bits.
150         * aclocal.m4: Regenerate.
151         * configure: Regenerate.
152         * src/Makefile.am (sources): Add ctype.cc.
153         * src/Makefile.in: Regenerate.
154         * config/locale/ctype_members_generic.cc: New file.
155         * config/locale/ctype_members_gnu.cc: New file.
156         * src/locale.cc: Remove ctype<wchart_t> definitions.
158 2001-12-13  Roger Sayle <roger@eyesopen.com>
160         * acconfig.h: Test for __builtin_sqrt instead of
161         __builtin_fsqrt.
162         * acinclude.m4: Same.
163         * include/c_shadow/bits/std_cmath.h: Same.
164         * aclocal.m4: Regenerated.
165         * config.h.in: Regenerated.
166         * configure: Regenerated.
168 2001-12-13  Phil Edwards  <pme@gcc.gnu.org>
170         * docs/html/ext/howto.html:  Fix typos.
172 2001-12-13  Benjamin Kosnik  <bkoz@redhat.com>
174         libstdc++/3679
175         * src/locale.cc (locale::locale(const char*)): Deal with locales
176         named "".
177         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Modify.
179 2001-12-12  Paolo Carlini  <pcarlini@unitus.it>
181         * include/ext/ropeimpl.h (rope::_S_leaf_concat_char_iter,
182         _S_destr_leaf_concat_char_iter, _S_tree_concat, _S_concat_char_iter,
183         _S_destr_concat_char_iter, _S_concat, _S_substring, _S_balance)
184         : Adjust implicit typename.
185         * include/ext/stl_rope.h (_Rope_iterator::operator=, rope::npos):
186         Adjust implicit typename.
187         * testsuite/27_io/streambuf.cc: Adjust implicit typename.
189 2001-12-12  Benjamin Kosnik  <bkoz@redhat.com>
191         Named locale support for ctype<char>.
192         * config/locale/c_locale_gnu.h (_GLIBCPP_C_LOCALE_GNU): New.
193         * config/os/gnu-linux/bits/ctype_noninline.h (ctype<char>): Add
194         definitions for alternate constructor.
195         * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
196         * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
197         * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
198         * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
199         * config/os/irix/irix6.5/bits/ctype_noninline.h (ctype): Same.
200         * config/os/irix/irix5.2/bits/ctype_noninline.h (ctype): Same.
201         * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
202         * config/os/generic/bits/ctype_noninline.h (ctype): Same.
203         * config/os/djgpp/bits/ctype_noninline.h (ctype): Same.
204         * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
205         * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
206         * config/os/aix/bits/ctype_noninline.h (ctype): Same.
207         * include/bits/locale_facets.h (ctype<_CharT>): Remove dummy
208         definitions for all virtual functions. These are now explicitly
209         undefined for non-required factets, ie any non-char, non-wchar_t
210         instantiations.
211         * src/localename.cc (locale::_Impl::_Impl(string, size_t): Named
212         locales use alternate constructor for ctype facet.
213         * include/bits/locale_facets.h (ctype<char>::ctype(__c_locale, const
214         mask*, bool, size_t): Add.
215         (ctype<wchar_t>::ctype(__c_locale, size_t): Add.
216         * src/locale.cc (ctype<wchar_t>::ctype(__c_locale, size_t)): Add
217         definition.
219         * testsuite/22_locale/ctype_members_char.cc (test02): Add, mark
220         XFAIL for non-gnu locale models.
222 2001-12-12  Philip Martin  <philip@codematters.co.uk>
223             Ross Smith     <r-smith@ihug.co.nz>
224             Paolo Carlini  <pcarlini@unitus.it>
226         libstdc++/5045
227         * include/bits/std_limits.h (defines, numeric_limits<bool>::digits10):
228         Fix digits10 values for integral types.
229         * include/bits/locale_facets.tcc (num_get::do_get for integral types):
230         Tweak _M_extract_int call.
231         * testsuite/27_io/istream_extractor_arith.cc (test13, test12_aux):
232         Tweak overflowing number of digits.
233         * testsuite/18_support/numeric_limits.cc (test03): New testcase.
235 2001-12-11  Benjamin Kosnik  <bkoz@redhat.com>
237         * config/os/generic/bits/ctype_inline.h: Remove spaces.
238         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
239         * include/bits/locale_facets.h (__num_base): Move double data
240         members to first in class.
241         * include/bits/locale_facets.tcc: Re-arrange, tweak.
242         * src/locale.cc: Clean.
243         *include/bits/stl_vector.h: Space typedefs.
245 2001-12-11  Phil Edwards  <pme@gcc.gnu.org>
247         * testsuite/ext/allocators.cc:  New file.
249 2001-12-11  Jason Merrill  <jason@redhat.com>
251         * include/bits/locale_facets.tcc (_M_extract_int): Avoid
252         uninitialized warning.
254 2001-12-11  Loren Rittle <ljrittle@acm.org>
256         * config/cpu/sparc/sparc32/bits/atomicity.h
257         (__Atomicity_lock<0>::_S_atomicity_lock): Add.
259 2001-12-10  Paolo Carlini  <pcarlini@unitus.it>
261         * include/bits/basic_string.tcc (_M_replace_safe):  Fix typos.
262         * include/bits/basic_string.h:  Fix typos.
264 2001-12-10  Paolo Carlini  <pcarlini@unitus.it>
265             Nathan Myers  <ncm@cantrip.org>
267         * include/bits/basic_string.tcc (_M_replace_safe):  New function.
268         (_M_replace(input_iterator_tag), append members):  Use it.
269         (_M_replace(forward_iterator_tag)):  Remove.
270         * include/bits/basic_string.h:  Adjust declarations.
271         * src/string-inst.cc:  Adjust declarations.
273 2001-12-09  Benjamin Kosnik  <bkoz@redhat.com>
274             Philip Martin <pmartin@uklinux.net>
276         * include/bits/locale_facets.h (__num_base::_S_scale_hex): Add.
277         (__num_base::_S_scale_oct): Add.
278         * include/bits/locale_facets.tcc (_M_extract_int): Use them.
279         * src/locale.cc: Add definitions.
280         * testsuite/27_io/istream_extractor_arith.cc (main): Call test13.
282         * testsuite/testsuite_hooks.h: Remove duplicate VERIFY define.
284 2001-12-07  Nathan Myers  <ncm@cantrip.org>
285             Loren Rittle <ljrittle@acm.org>
287         libstdc++/5037
288         * config/cpu/sparc/sparc32/bits/atomicity.h
289         (struct __Atomicity_lock<__inst>): Add.
290         (__Atomicity_lock<__inst>::_S_atomicity_lock): Add.
291         (__exchange_and_add): Use __Atomicity_lock<0>::_S_atomicity_lock
292         instead of lock local to static function.
293         (__atomic_add): Likewise.
295 2001-12-07  Phil Edwards  <pme@gcc.gnu.org>
297         * src/globals.cc:  Remove __GTHREADS guard.
299 2001-12-07  Paolo Carlini  <pcarlini@unitus.it>
301         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
302         Extend comment, reduce __cs_size for non-fixed outputs.
304 2001-12-07  Paolo Carlini  <pcarlini@unitus.it>
306         * include/bits/basic_string.tcc (_M_mutate): Fix typo
307         in the previous check in.
309 2001-12-06  Paolo Carlini  <pcarlini@unitus.it>
310             Loren J. Rittle <ljrittle@acm.org>
312         * include/bits/basic_string.tcc (_M_mutate, _M_clone): Implement
313         exponential growth policy to meet linear amortized time
314         requirements of the standard.
315         (_S_create): Adjust comment.
317 2001-12-06  Benjamin Kosnik  <bkoz@redhat.com>
319         libstdc++/3720
320         * include/bits/locale_facets.tcc (num_put): Clean.
321         (num_get::_M_extract_float): Change argument to string.
322         (num_get::do_get(float)): Fixup.
323         (num_get::do_get(double)): Same.
324         (num_get::do_get(long double)): Same.
325         (num_get::_M_extract_int): Add maximum length parameter, __max.
326         (num_get::_M_extract_float): Correct zeros, use string.
327         * include/bits/locale_facets.h (num_get::_M_extract_float): Change
328         declaration here.
329         * src/locale.cc (__num_base::_S_atoms): Remove x, X.
330         * testsuite/27_io/istream_extractor_arith.cc (test13): Add.
332 2001-12-06  Philip Martin  <pmartin@uklinux.net>
334         * testsuite/27_io/istream_extractor_arith.cc (test12): Add
335         tests for excess input digits.
337 2001-12-06  Phil Edwards  <pme@gcc.gnu.org>
339         * include/bits/std_bitset.h:  Use GLIBCPP in multiple-inclusion guard.
340         * include/bits/stl_algo.h:  Likewise.
341         * include/bits/stl_algobase.h:  Likewise.
342         * include/bits/stl_bvector.h:  Likewise.
343         * include/bits/stl_deque.h:  Likewise.
344         * include/bits/stl_function.h:  Likewise.
345         * include/bits/stl_iterator.h:  Likewise.
346         * include/bits/stl_iterator_base_funcs.h:  Likewise.
347         * include/bits/stl_iterator_base_types.h:  Likewise.
348         * include/bits/stl_list.h:  Likewise.
349         * include/bits/stl_multimap.h:  Likewise.
350         * include/bits/stl_multiset.h:  Likewise.
351         * include/bits/stl_pair.h:  Likewise.
352         * include/bits/stl_queue.h:  Likewise.
353         * include/bits/stl_set.h:  Likewise.
354         * include/bits/stl_stack.h:  Likewise.
355         * include/bits/stl_tempbuf.h:  Likewise.
356         * include/bits/stl_tree.h:  Likewise.
357         * include/bits/stl_vector.h:  Likewise.
359         * include/bits/stl_alloc.h:  Use our own multiple inclusion guards.
360         Doxygenate more comments.  Correct historical artifacts in comments.
361         (alloc, single_alloc):  Uglify non-standard names.
362         (__default_alloc_template::_NFREELISTS):  Calculate from other
363         parameters.
364         (__default_alloc_template::_S_free_list):  Remove SunPro workaround.
365         (__default_alloc_template::_Lock):  Mark as "unused".
366         * include/backward/alloc.h:  Update.
367         * include/bits/stl_bvector.h:  Likewise.
368         * include/ext/ropeimpl.h:  Likewise.
369         * include/ext/stl_hashtable.h:  Likewise.
371 2001-12-05  Benjamin Kosnik  <bkoz@redhat.com>
373         DR/282
374         * include/bits/locale_facets.tcc (num_put::_M_widen_float): Add
375         grouping to floating point types.
376         * testsuite/27_io/ostream_inserter_arith.cc (test02): Add test.
378 2001-12-04  Paolo Carlini <pcarlini@unitus.it>
380         libstdc++/4402
381         * testsuite/27_io/ostream_inserter_arith.cc (test02): Add testcase
382         from the PR.
383         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
384         Deal properly with long ios_base::fixed floats.
385         (num_put::_M_widen_float): use
386         __len in __builtin_alloca call.
388 2001-12-04  Benjamin Kosnik  <bkoz@redhat.com>
390         * src/Makefile.am (sources): Add ext-inst.cc.
391         * src/Makefile.in: Regenerate.
392         * src/ext-inst.cc: New file.
393         * include/bits/stl_threads.h: Format.
394         * src/globals.cc: Add instantiation for _S_swap_lock.
396         * testsuite/18_support/numeric_limits.cc: Add numeric_limits<B>
397         instantiation.
399 2001-12-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
401         * testsuite/22_locale/numpunct_members_wchar_t.cc: Only compile
402         and execute test01 if _GLIBCPP_USE_WCHAR_T is defined.
403         * testsuite/26_numerics/complex_inserters_extractors.cc: Provide
404         for explicit instantiation of class std::basic_string<char,
405         gnu_char_traits, std::allocator<char> >.
407 2001-12-03  Benjamin Kosnik  <bkoz@redhat.com>
409         * testsuite/22_locale/collate.cc: Compile-only.
410         * testsuite/22_locale/time_get.cc: Same.
411         * testsuite/22_locale/time_put.cc: Same.
412         * testsuite/22_locale/numpunct.cc: Same.
413         * testsuite/22_locale/num_put.cc: Same.
414         * testsuite/22_locale/num_get.cc: Same.
415         * testsuite/22_locale/moneypunct.cc: Same.
416         * testsuite/22_locale/money_get.cc: Same.
417         * testsuite/22_locale/messages.cc: Same.
418         * testsuite/22_locale/ctype.cc: Same.
420 2001-12-03  Benjamin Kosnik  <bkoz@redhat.com>
422         * src/string-inst.cc (string::_Rep::_S_terminal): Add static data
423         member instantiations.
425 2001-12-03  Steve Ellcey  <sje@cup.hp.com>
427         * libstdc++-v3/configure.in: Add support for hpux cross compiles,
428         combine common linux/hpux/generic cross compile support to reduce
429         redundent lines.
430         * libstdc++-v3/configure: Regenerate.
432 2001-12-03  Loren J. Rittle  <ljrittle@acm.org>
434         * docs/html/ext/howto.html: Update commentary.
435         * include/bits/c++config: Update threading configuration comment.
436         (__STL_GTHREADS): Remove macro definition.
437         (__STL_THREADS): Likewise.
438         * include/bits/stl_threads.h: Leave only the configuration
439         path which had been guarded by __STL_GTHREADS.  Remove all
440         guards related to __STL_GTHREADS, __STL_SGI_THREADS,
441         __STL_PTHREADS, __STL_UITHREADS and __STL_WIN32THREADS.
442         * include/bits/stl_alloc.h: Leave only the configuration path
443         which had been guarded by __STL_THREADS.  Remove configuration
444         path and guards for __STL_SGI_THREADS.
445         (__NODE_ALLOCATOR_THREADS): Remove macro definition.  Unroll its use.
446         (__NODE_ALLOCATOR_LOCK): Likewise.
447         (__NODE_ALLOCATOR_UNLOCK): Likewise.
448         (_NOTHREADS): Remove guards related to macro.
449         * include/ext/stl_rope.h: Remove configuration path and guards
450         for __STL_SGI_THREADS.
451         * src/stl-inst.cc: Remove use of __NODE_ALLOCATOR_THREADS.
453 2001-12-02  Phil Edwards  <pme@gcc.gnu.org>
455         * docs/html/ext/howto.html:  Update list of implemented DRs.
456         * docs/html/ext/lwg-active.html:  Import R20 from upstream.
457         * docs/html/ext/lwg-defects.html:  Import R20 from upstream.
459 2001-11-30  Benjamin Kosnik  <bkoz@redhat.com>
461         libstdc++/3150
462         DR/266
463         * libsupc++/exception (bad_exception::~bad_exception()): Remove
464         declaration.
465         * libsupc++/new (bad_alloc::~bad_alloc()): Remove.
466         * libsupc++/typeinfo (bad_cast::~bad_cast()): Remove.
467         (bad_typeid::~bad_typeid()): Remove.
468         * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Remove definition.
469         (bad_typeid::~bad_typeid()): Same.
470         * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
471         * libsupc++/eh_exception.cc (bad_exception::~bad_exception()): Same.
473         * include/bits/std_iomanip.h: Tweak.
475 2001-11-29  Paolo Carlini  <pcarlini@unitus.it>
477         libstdc++/3655
478         * include/bits/locale_facets.tcc (__pad): Add bool parameter to
479         correctly pad internal-adjusted const char*-type objects.
480         * include/bits/locale_facts.tcc (num_put::_M_insert): Update call.
481         * include/bits/ostream.tcc (operator<<(_CharT , char, const
482         _CharT*, const char*, const basic_string&): Update calls.
483         * src/locale-inst.tcc: Update declarations.
484         * testsuite/27_io/ostream_inserter_arith.cc (test04): Add test.
486 2001-11-29  Phil Edwards  <pme@gcc.gnu.org>
488         * docs/html/ext/howto.html:  Finish allocator notes (inst and 3.0).
490 2001-11-29  Benjamin Kosnik  <bkoz@redhat.com>
492         * include/bits/locale_facets.tcc (num_get::do_get(long double)):
493         Fix __traits_type typo.
495 2001-11-28  Paolo Carlini  <pcarlini@unitus.it>
497         * include/bits/locale_facets.tcc (__pad): Correctly pad
498         internal-adjusted hex numbers.
499         * testsuite/27_io/ostream_inserter_arith.cc: Add testcase.
501 2001-11-28  Paolo Carlini <pcarlini@unitus.it>
502             Loren J. Rittle <ljrittle@acm.org>
504         * include/bits/basic_string.h
505         (basic_string::_Rep::__default_excess, _S_excess_slop):
506         Unused, remove.
507         * include/bits/basic_string.tcc: Remove dead code.
508         * include/bits/c++config: Remove comment.
510 2001-11-28  Benjamin Kosnik  <bkoz@redhat.com>
511             Jakub Jelinek  <jakub@redhat.com>
513         * config/locale/moneypunct_members_gnu.cc
514         (moneypunct<wchar_t>::_M_initialize_moneypunct): Correctly cast
515         for ia64, others.
516         * config/locale/numpunct_members_gnu.cc
517         (numpunct<wchar_t>::_M_initialize_numpunct): Same.
519 2001-11-27  Benjamin Kosnik  <bkoz@redhat.com>
521         * include/bits/locale_facets.tcc: Formatting tweaks.
523         * testsuite/23_containers/map_operators.cc: Don't xfail.
524         * testsuite/23_containers/set_operators.cc: Same.
525         * testsuite/backward/header_iterator_h.cc: Pass in -Wno-deprecated.
526         * testsuite/backward/header_deque_h.cc: Same.
528 2001-11-27  Loren J. Rittle  <ljrittle@acm.org>
529             Paolo Carlini  <pcarlini@unitus.it>
531         * include/bits/basic_string.tcc (basic_string::_Rep::_S_create):
532         Enforce allocation size blocking policy to reduce
533         fragmentation and enhance performance with common malloc
534         implementations.
536 2001-11-27  Benjamin Kosnik  <bkoz@redhat.com>
538         Numeric facets cleanup.
539         * include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
540         + and - signs.
541         (__num_base::_M_zero): Add
542         (__num_base::_M_e): Add.
543         (__num_base::_M_E): Add.
544         * include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
545         (num_get::_M_extract_float): New.
546         (num_get::_M_extract_int): New.
547         * src/locale.cc (num_get::_M_extract): Remove.
549         * include/bits/locale_facets.tcc (num_put::_M_insert_float):
550         Simplify, use _M_insert.
551         (num_put::do_put(bool)): Simplify, remove __pad.
552         (__pad): Remove.
553         (__pad_output): Change to __pad.
554         * include/bits/ostream.tcc: And here.
555         * src/locale-inst: Remove instantiations.
557         * include/bits/locale_facets.h: Move helper functions in to class
558         num_put.
559         (num_put::_M_insert_float): Same, for __output_integer.
560         (num_put::_M_insert_int): Same, for __output_float.
561         (num_put::_M_insert): New.
562         (__num_base): Add.
563         (__num_base::_S_format_float): Move
564         __build_float_format into class __num_base.
565         (__num_base::_S_format_int): Move __build_int_format into class
566         __num_base.
567         * include/bits/locale_facets.tcc (__group_digits): Change to
568         (__add_grouping): This.
569         * src/locale-inst.cc: And here. Tweak instantiations.
570         * src/misc-inst.cc: Remove instantiations.
572         * include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
573         for new calling conventions, move to...
574         * include/bits/locale_facets.tcc (__pad_output): Here. Adjust
575         signature to make it useful for both ostream and num_put.
576         (__pad_numeric): Remove.
577         * src/misc-inst.cc: Remove instantiations.
578         * src/locale-inst.cc: Same.
580         * include/bits/locale_facets.h (_Numeric_get): Remove.
581         (_Numeric_put): Remove.
582         (num_get::get(short)): Remove.
583         (num_get::get(int)): Remove.
584         (num_get::do_get(short)): Remove.
585         (num_get::do_get(int)): Remove.
586         * include/bits/istream.tcc (istream::operator>>(short)): Fix as
587         per DR 118.
588         (istream::operator>>(int)): Same.
590         * include/bits/locale_facets.h (_Format_cache): Remove.
591         * include/bits/locale_facets.tcc: Same.
592         * src/locale.cc: Same.
593         * src/locale-inst.cc: Same.
594         * include/bits/ostream.tcc: Same.
595         * src/ios.cc (ios_base::imbue): Remove here as well.
597         * testsuite/22_locale/num_get.cc: New file.
598         * testsuite/22_locale/num_get_members_char.cc: New file.
599         * testsuite/22_locale/num_get_members_wchar_t.cc: New.
600         * testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
601         * testsuite/22_locale/num_put.cc: New file.
602         * testsuite/22_locale/num_put_members_char.cc: New file.
603         * testsuite/22_locale/num_put_members_wchar_t.cc: New file.
604         * testsuite/27_io/ostream_inserter_arith.cc: Fix.
605         * testsuite/27_io/istream_extractor_arith.cc: Fix.
607 2001-11-27  Phil Edwards  <pme@gcc.gnu.org>
609         * docs/html/explanations.html:  New section, empty for now.
610         * docs/html/17_intro/howto.html:  Cleanup.  Move unrelated link...
611         * docs/html/23_containers/howto.html:  ...to here.  Break up and
612         rewrap threading discussion to emphasize warning.  Move malloc text...
613         * docs/html/ext/howto.html:  ...to here.  New section.  Describe
614         allocators and __USE_MALLOC effects.
615         * docs/html/ext/sgiexts.html:  Mention their code.
617 2001-11-24  Joseph S. Myers  <jsm28@cam.ac.uk>
619         * docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
620         docs/html/27_io/binary_iostreams_kuehl.txt: Revert previous
621         changes.
623 2001-11-23  Phil Edwards  <pme@gcc.gnu.org>
625         * Makefile.am (doxygen-maint):  The script isn't executable in CVS.
626         * Makefile.in:  Regenerated.
627         * docs/doxygen/TODO:  New file listing doxygen work to be done.
628         * docs/doxygen/run_doxygen:  Fix up man pages.
629         * docs/doxygen/user.cfg.in:  Insert maint-only toggles.
630         * docs/doxygen/maint.cfg.in:  Copy from user.cfg and turn toggles on.
631         * include/bits/stl_construct.h:  Use new hooks for internal functions.
633         * docs/html/17_intro/TODO:  Small updates.
634         * docs/html/faq/index.html:  Likewise.
635         * docs/html/faq/index.txt:  Regenerated.
637         * include/bits/stl_alloc.h:  Doxygenate, reindent comments, remove
638         SGI-isms and wrappers.
639         (simple_alloc, debug_alloc):  Uglify class names.
640         (__default_alloc_template):  Uglify "threads" template parameter and
641         update corresponding macros.
642         * include/backward/alloc.h:  Bring up to date.
644 2001-11-23  Jason Merrill  <jason@redhat.com>
646         * src/vterminate.cc (__verbose_terminate_handler): Add leading
647         underscores.
649 2001-11-23  Joseph S. Myers  <jsm28@cam.ac.uk>
651         * ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
652         docs/doxygen/doxygroups.cc, docs/doxygen/Intro.3,
653         docs/html/17_intro/BUGS, docs/html/17_intro/C++STYLE,
654         docs/html/17_intro/CHECKLIST, docs/html/17_intro/DESIGN,
655         docs/html/17_intro/howto.html, docs/html/17_intro/porting.html,
656         docs/html/17_intro/porting.texi, docs/html/18_support/howto.html,
657         docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
658         docs/html/21_strings/howto.html,
659         docs/html/23_containers/howto.html,
660         docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
661         docs/html/27_io/binary_iostreams_kuehl.txt,
662         docs/html/ext/sgiexts.html, docs/html/faq/index.html,
663         docs/html/faq/index.txt, testsuite/24_iterators/iterator.cc,
664         include/bits/basic_file.h, include/bits/locale_facets.h,
665         include/bits/locale_facets.tcc, include/bits/std_sstream.h,
666         include/ext/ropeimpl.h, include/ext/stl_rope.h,
667         libsupc++/tinfo.cc, libsupc++/cxxabi.h, libsupc++/typeinfo,
668         libsupc++/eh_throw.cc, acinclude.m4, aclocal.m4, configure,
669         configure.target, ChangeLog-2000: Fix spelling errors.
671         * config/locale/moneypunct_members_gnu.cc,
672         include/bits/locale_facets.h: Fix spelling errors.
674 2001-11-22  Stephen M. Webb  <stephen@bregmasoft.com>
676         * testsuite/23_containers/list_capacity.cc: New file.
677         * testsuite/23_containers/list_ctor.cc: New file.
678         * testsuite/23_containers/list_modifiers.cc: New file.
679         * testsuite/23_containers/list_operators.cc: New file.
681 2001-11-22  Stephen M. Webb  <stephen@bregmasoft.com>
683         * include/bits/stl_list.h: Reformatted according to C++STYLE rules.
684         (size): Replaced nonstandard distance() call with the standard one.
685         (transfer): Uglified to _M_transfer.
687 2001-11-21  Paolo Carlini  <pcarlini@unitus.it>
689         PR libstdc++/4548
690         * include/bits/basic_string.tcc (basic_string::reserve):  Never shrink
691         below the current size.
692         * testsuite/21_strings/capacity.cc (test02):  Add test.
694 2001-11-19  Phil Edwards  <pme@gcc.gnu.org>
696         * docs/doxygen/Intro.3:  More notes.
697         * docs/doxygen/style.css:  Update to default style from Doxygen 1.2.10.
698         * include/bits/stl_algobase.h:  Add doxygen hooks for functions.
699         * include/ext/hash_map:  Add @file hook.
700         * include/ext/hash_set:  Likewise.
701         * include/ext/rope:  Likewise.
702         * include/ext/ropeimpl.h:  Likewise.
703         * include/ext/slist:  Likewise.
704         * include/ext/stl_hash_fun.h:  Likewise.
705         * include/ext/stl_hashtable.h:  Likewise.
706         * include/ext/stl_rope.h:  Likewise.
708         * docs/html/17_intro/license.html:  Remove "experimental" sentence.
709         * docs/html/19_diagnostics/howto.html:  Document new verbose
710         terminate handler.
711         * testsuite/27_io/filebuf.cc:  Fix comment, move tweakable parameter
712         to more visible (closer to description) position.
714         * libsupc++/eh_type.cc:  Formatting tweak.
715         * libsupc++/exception:  Likewise.
716         * src/vterminate.cc:  Likewise.
718         * docs/html/17_intro/porting.html:  Regenerate.
719         * docs/html/faq/index.txt:  Regenerate.
721 2001-11-18  Jason Merrill  <jason@redhat.com>
723         * libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
724         * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
725         * libsupc++/unwind-cxx.h: Adjust.
726         * src/Makefile.am (strstream.o): Pass -Wno-deprecated.
728         * libsupc++/eh_type.cc (__cxa_current_exception_type): New file.
729         * libsupc++/cxxabi.h: Declare it.
730         * libsupc++/Makefile.am (sources): Add it.
731         * src/vterminate.cc (verbose_terminate_handler): New file.
732         * libsupc++/exception: Declare it.
733         * src/Makefile.am (sources): Add it.
735         * src/Makefile.am (VPATH): Check the src directory before the top one.
737 2001-11-16  Paolo Carlini  <pcarlini@unitus.it>
739         * include/bits/stl_deque.h (deque::erase()):  Fix memory leak.
741 2001-11-16  Loren J. Rittle  <ljrittle@acm.org>
743         * docs/html/17_intro/howto.html (Thread-safety): Rename
744         section to ``The Standard C++ library and multithreading'' and
745         update information based on recent mailing list traffic.  Move
746         all discussion of __USE_MALLOC to...
747         * docs/html/23_containers/howto.html (Containers and multithreading):
748         ...here and rework it based on recent mailing list traffic.
750 2001-11-15  Loren J. Rittle  <ljrittle@acm.org>
752         * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
753         wording.
755 2001-11-15  <bjornw@planetarion.com>
756             Loren J. Rittle  <ljrittle@acm.org>
758         libstc++/4219
759         * include/bits/stl_alloc.h (alloc): Update to use __mem_interface.
760         (single_client_alloc): Likewise.
762 2001-11-08  Danny Smith  <dannysmith@users.sourceforge.net>
764         * configure.target: Add os_include_dir for mingw32* target.
765         * docs/html/17_intro/porting.texi: Mention mingw32 as target benefiting
766         from _GLIBCPP_AVOID_FSEEK.
767         * config/os/mingw32/bits/ctype_base.h: New file.
768         * config/os/mingw32/bits/ctype_inline.h: New file.
769         * config/os/mingw32/bits/ctype_noninline.h: New file.
770         * config/os/mingw32/bits/os_defines.h: New file.
772 2001-11-07  Nathan Myers  <ncm@cantrip.org>
774         * docs/html/faq/index.html (5.8):  New entry on ABIs.
775         * docs/html/faq/index.txt:  Regenerate.
777 2001-11-07  Phil Edwards  <pme@gcc.gnu.org>
779         * docs/html/faq/index.html:  Explain libsupc++, mention 'long long'
780         bugfixes on Solaris.
781         * docs/html/faq/index.txt:  Regenerate.
783 2001-11-06  Phil Edwards  <pme@gcc.gnu.org>
785         * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG):  Run the test in
786         LANG_CPLUSPLUS mode.
787         * aclocal.m4:  Regenerate.
788         * configure:  Regenerate.
790 2001-11-05  Phil Edwards  <pme@gcc.gnu.org>
792         * porting.texi:  Move...
793         * docs/html/17_intro/porting.texi:  ...to here.
794         * docs/html/Makefile:  Add rule to rebuild...
795         * docs/html/17_intro/porting.html:  ...this.  New file.
797 2001-11-05  Felix Natter  <fnatter@gmx.net>
799         * docs/html/17_intro/porting-howto.xml:  check in v0.9.4
800         * docs/html/17_intro/porting-howto.html:  regenerate
802 2001-11-02  Loren J. Rittle  <ljrittle@acm.org>
804         * include/bits/stl_threads.h (_Atomic_swap): Only enable path
805         when platform supports __GTHREAD_MUTEX_INIT.
807 2001-11-02  Phil Edwards  <pme@gcc.gnu.org>
809         * acconfig.h:  Update comments.
810         * acinclude.m4 (GLIBCPP_ENABLE_C99):  Move strtoll, strtoull tests...
811         (GLIBCPP_ENABLE_LONG_LONG):  ...to here.  Don't check enable_c99.
812         * aclocal.m4:  Regenerate.
813         * config.h.in:  Regenerate.
814         * configure:  Regenerate.
816         * include/bits/boost_concept_check.h:  Unconditionally compile uses
817         of 'long long' which require only compiler support, not C lib support.
818         * include/bits/cpp_type_traits.h:  Likewise.
819         * include/bits/std_limits.h:  Likewise.
820         * include/bits/type_traits.h:  Likewise.
821         * src/concept-inst.cc:  Likewise.
822         * src/limits.cc:  Likewise.
823         * include/c_shadow/stdlib.h:  Compile conditionally on _GLIBCPP_USE_C99
824         instead of _GLIBCPP_USE_LONG_LONG.
825         * include/c_shadow/bits/std_cstdlib.h:  Likewise.
827 2001-11-02  Phil Edwards  <pme@gcc.gnu.org>
829         * config/io/c_io_stdio.h:  Correct grammar in comments.
830         * docs/doxygen/Intro.3:  Expand "top-level" man page.
831         * docs/doxygen/doxygroups.cc:  New module definitions (comments).
832         * docs/doxygen/mainpage.doxy:  Tweaks.
833         * docs/doxygen/run_doxygen:  Update Doxygen version, massage man pages.
835         Add @file hooks so that headers are considered to be documented.
836         * include/bits/basic_ios.h, include/bits/basic_file.h,
837         include/bits/basic_string.h, include/bits/boost_concept_check.h,
838         include/bits/char_traits.h, include/bits/codecvt.h,
839         include/bits/concept_check.h, include/bits/cpp_type_traits.h,
840         include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
841         include/bits/indirect_array.h, include/bits/ios_base.h,
842         include/bits/locale_facets.h, include/bits/localefwd.h,
843         include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
844         include/bits/slice.h, include/bits/slice_array.h,
845         include/bits/std_algorithm.h, include/bits/std_bitset.h,
846         include/bits/std_complex.h, include/bits/std_deque.h,
847         include/bits/std_fstream.h, include/bits/std_functional.h,
848         include/bits/std_iomanip.h, include/bits/std_ios.h,
849         include/bits/std_iosfwd.h, include/bits/std_iostream.h,
850         include/bits/std_istream.h, include/bits/std_iterator.h,
851         include/bits/std_limits.h, include/bits/std_list.h,
852         include/bits/std_locale.h, include/bits/std_map.h,
853         include/bits/std_memory.h, include/bits/std_numeric.h,
854         include/bits/std_ostream.h, include/bits/std_queue.h,
855         include/bits/std_set.h, include/bits/std_sstream.h,
856         include/bits/std_stack.h, include/bits/std_streambuf.h,
857         include/bits/std_string.h, include/bits/std_utility.h,
858         include/bits/std_valarray.h, include/bits/std_vector.h,
859         include/bits/stl_algo.h, include/bits/stl_alloc.h,
860         include/bits/stl_bvector.h, include/bits/stl_construct.h,
861         include/bits/stl_deque.h, include/bits/stl_heap.h,
862         include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
863         include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
864         include/bits/stl_map.h, include/bits/stl_multimap.h,
865         include/bits/stl_multiset.h, include/bits/stl_numeric.h,
866         include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
867         include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
868         include/bits/stl_relops.h, include/bits/stl_set.h,
869         include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
870         include/bits/stl_threads.h, include/bits/stl_tree.h,
871         include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
872         include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
873         include/bits/stringfwd.h, include/bits/type_traits.h,
874         include/bits/valarray_array.h, include/bits/valarray_meta.h:
875         Add hooks, tweak comments only.
877         * include/bits/stl_algobase.h (swap, min, iter_swap):  Also
878         document these functions.
879         * include/bits/stl_function.h:  Tweak link comments.
881 2001-11-01  Paolo Carlini  <pcarlini@unitus.it>
882             Benjamin Kosnik  <bkoz@redhat.com>
884         * testsuite/27_io/ios_manip_fmtflags.cc: Fix for non-interactive
885         output.
886         * include/bits/locale_facets.tcc (num_put::do_put(bool)): Fix.
888 2001-11-01  Egor Duda  <deo@logos-m.ru>
890         * config/os/newlib/bits/ctype_noninline.h
891         (ctype<char>::do_toupper(char __c)): Check for proper character class.
892         (ctype<char>::do_tolower(char __c)): Ditto.
894 2001-11-01  Phil Edwards  <pme@gcc.gnu.org>
896         * acinclude.m4:  Fix spacing.
897         (GLIBCPP_ENABLE_CONCEPT_CHECKS):  New macro.
898         * configure.in:  Call here.
899         * acconfig.h:  Add _GLIBCPP_CONCEPT_CHECKS.
900         * include/bits/boost_concept_check.h:  Fix headers.
901         (__function_requires):  Make inline.
902         * include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS):  Remove.
903         * aclocal.m4:  Regenerate.
904         * config.h.in:  Regenerate.
905         * configure:  Regenerate.
907         Move trailing ';' inside macro, PR libstdc++/3666.
908         * include/bits/concept_check.h:  Add semicolon.
909         * include/bits/stl_algo.h:  Remove semicolon.
910         * include/bits/stl_algobase.h:  Likewise.
911         * include/bits/stl_deque.h:  Likewise.
912         * include/bits/stl_heap.h:  Likewise.
913         * include/bits/stl_iterator_base_funcs.h:  Likewise.
914         * include/bits/stl_list.h:  Likewise.
915         * include/bits/stl_map.h:  Likewise.
916         * include/bits/stl_multimap.h:  Likewise.
917         * include/bits/stl_multiset.h:  Likewise.
918         * include/bits/stl_numeric.h:  Likewise.
919         * include/bits/stl_queue.h:  Likewise.
920         * include/bits/stl_set.h:  Likewise.
921         * include/bits/stl_stack.h:  Likewise.
922         * include/bits/stl_vector.h:  Likewise.
923         * include/ext/hash_map:  Likewise.
924         * include/ext/hash_set:  Likewise.
925         * include/ext/slist:  Likewise.
927         * src/concept-inst.cc:  New file with explicit instantiations.
928         * src/Makefile.am (sources):  Add here, with special build rules.
929         * src/Makefile.in:  Regenerate.
931 2001-11-01  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
933         * include/bits/std_complex.h (_Norm_helper): New class template.
934         (norm): Tweak.
935         (abs): Tweak. Fix Thinko.
937 2001-10-31  Benjamin Kosnik  <bkoz@redhat.com>
939         libstdc++/4749
940         * include/bits/codecvt.h: Add virtual member function declarations.
941         * src/codecvt.cc: Tweaks.
942         * testsuite/22_locale/codecvt.cc: Test compilation only,
943         non-required facets not required to have linkage.
945 2001-10-31  Edward E. Meyer  <edward.e.meyer@boeing.com>
947         libstdc++/4622
948         * include/bits/std_complex.h (complex::operator/=): Correct sign.
950 2001-10-30  Paolo Carlini  <pcarlini@unitus.it>
951             Benjamin Kosnik  <bkoz@redhat.com>
953         libstdc++/4354
954         * include/bits/basic_string.h: Tweaks.
955         * include/bits/basic_string.tcc (string::_M_replace(iterator,
956         iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
957         * src/string-inst.cc: Tweaks, add instantiation.
958         * testsuite/21_strings/replace.cc (test02): Add test.
959         * testsuite/21_strings/assign.cc (test01): New file.
961 2001-10-30  Jakub Jelinek  <jakub@redhat.com>
963         * include/bits/stl_deque.h (_M_new_elements_at_front): Use
964         __throw_exception_again.
965         (_M_new_elements_at_back): Likewise.
967 2001-10-29  Benjamin Kosnik  <bkoz@redhat.com>
969         libstdc++/3647
970         * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
971         * testsuite/27_io/filebuf.cc (test07): New test.
972         (test03): Modify showmanyc test.
974 2001-10-26  Benjamin Kosnik  <bkoz@redhat.com>
976         libstdc++/4503
977         * config/locale/codecvt_specializations_ieee_1003.1-200x.h
978         (__enc_traits::~__enc_traits): Fix.
979         (__enc_traits::_M_init): Add error checking.
981 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
983         libstdc++/4542
984         * include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
986 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
988         libstdc++/4545
989         * include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
990         exceptions.
991         * include/bits/istream.tcc (istream::operator>>(streambuf*): Make
992         consistent, where possible.
993         * include/bits/streambuf.tcc: Tweak.
995 2001-10-25  Brendan Kehoe  <brendan@zen.org>
997         libstdc++/4536
998         * bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
999         * bits/istream.tcc (seekg): Likewise.
1001 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
1002             Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1003             Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1005         * config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
1006         __s390x__ only.
1007         * include/bits/std_limits.h: Fix wchar_t issues.
1008         * config/os/aix/bits/os_defines.h: Fix.
1010 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
1012         * include/bits/locale_facets.tcc (collate::do_transform): Fix.
1014 2001-10-25  Phil Edwards  <pme@gcc.gnu.org>
1016         * docs/html/documentation.html:  Fix typo.
1018 2001-10-23  Benjamin Kosnik  <bkoz@redhat.com>
1020         Make -fno-exceptions work.
1021         * config/locale/c_locale_gnu.cc: Use functexcept.
1022         * include/bits/c++config (__stl_assert): Remove.
1023         (__STL_USE_EXCEPTIONS): Same.
1024         (__STL_TRY): Same.
1025         (__STL_CATCH_ALL): Same.
1026         (__STL_THROW): Same.
1027         (__STL_RETHROW): Same.
1028         (__STL_NOTHROW): Same.
1029         (__STL_UNWIND): Same.
1030         * include/bits/pthread_allocimpl.h: Fix.
1031         * include/bits/std_bitset.h: Same.
1032         * include/bits/std_list.h: Same.
1033         * include/bits/std_memory.h: Same.
1034         * include/bits/std_queue.h: Same.
1035         * include/bits/stl_alloc.h: Same.
1036         * include/bits/stl_deque.h: Same.
1037         * include/bits/stl_list.h: Same.
1038         * include/bits/stl_queue.h: Same.
1039         * include/bits/stl_tempbuf.h: Same.
1040         * include/bits/stl_tree.h: Same.
1041         * include/bits/stl_uninitialized.h: Same.
1042         * include/bits/stl_vector.h: Same.
1043         * include/ext/ropeimpl.h: Same.
1044         * include/ext/slist: Same.
1045         * include/ext/stl_hashtable.h: Same.
1046         * include/ext/stl_rope.h: Same.
1047         * libsupc++/new_op.cc: Include cstdlib.
1048         * libsupc++/eh_personality.cc: Add exception_defines include. Use
1049         __throw_exception_again, tweak.
1050         * libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
1051         * libsupc++/vec.cc: Tweak.
1052         * src/functexcept.cc: Remove unused arguments.
1053         * testsuite/23_containers/bitset_members.cc: Tweak.
1055 2001-10-22  Benjamin Kosnik  <bkoz@redhat.com>
1057         * config/cpu/i386/bits/limits.h: Move to...
1058         * config/cpu/i386/bits/cpu_limits.h: ...here.
1059         * config/cpu/cris/bits/cpu_limits.h: Same.
1060         * config/cpu/powerpc/bits/cpu_limits.h: Same.
1061         * config/cpu/x86-64/bits/cpu_limits.h: Same.
1062         * config/cpu/alpha/bits/cpu_limits.h: New.
1063         * config/cpu/m68k/bits/cpu_limits.h: New.
1064         * config/cpu/s390/bits/cpu_limits.h: New.
1065         * config/os/aix/bits/os_defines.h: Tweaks.
1066         * config/os/bsd/freebsd/bits/os_defines.h: Same.
1067         * config/os/bsd/netbsd/bits/os_defines.h: Same.
1068         * config/os/djgpp/bits/os_defines.h: Same.
1069         * config/os/generic/bits/os_defines.h: Same.
1070         * config/os/gnu-linux/bits/os_defines.h: Same.
1071         * config/os/hpux/bits/os_defines.h: Same.
1072         * config/os/irix/irix5.2/bits/os_defines.h: Same.
1073         * config/os/irix/irix6.5/bits/os_defines.h: Same.
1074         * config/os/newlib/bits/os_defines.h: Same.
1075         * config/os/solaris/solaris2.5/bits/os_defines.h: Same.
1076         * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1077         * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1079         * include/bits/c++config: Remove include.
1080         * include/bits/limits_generic.h: Remove.
1081         * include/bits/std_limits.h: Include cpu_limits.h.
1082         * include/Makefile.am: Fixup.
1083         * src/limits.cc: Tweak.
1084         * src/limits_generic.cc: Remove.
1085         * src/gen-num-limits.cc: Remove.
1086         * mknumeric_limits: Remove.
1088 2001-10-20  Brendan Kehoe  <brendan@zen.org>
1090         * bits/type_traits.h (_Bool): Removed this type.
1091         (__true_type, __false_type): Change to be plain structs.
1092         * src/string-inst.cc (__destroy_aux): Change third parm to be
1093         __false_type instead of _Bool<false>.
1094         * src/misc-inst.cc (__uninitialized_fill_n_aux,
1095         __uninitialized_copy_aux): Likewise.
1097 2001-10-19  Benjamin Kosnik  <bkoz@redhat.com>
1099         * mkcheck.in (static_fail): Remove older memory limit functionality.
1100         Disable E_TIME due to formatting issues.
1102         * README: Update.
1104 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1106         * include/bits/std_complex.h: Default initialize second argument
1107         of polar to 0, as specified in Library DR #79
1109 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1111         * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
1112         _Construct instead of construct.
1114 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1116         * include/bits/basic_string.tcc (find_first_not_of): Take out check for
1117         __n being non-zero, since the standard does not mandate that.
1118         e.g., a search for "" in "" should yield position 0, not npos.
1119         (find_last_not_of): Likewise.
1121 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1123         * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
1124         to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
1126 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1128         * include/bits/stl_iterator.h (reverse_iterator::current): Rename
1129         member from _M_current, and change all uses; thus sayeth $24.4.1.1.
1131 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1133         * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
1134         template parameter _ValueType.
1136 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1138         * include/bits/std_limits.h: Clean up extra semicolons.
1139         * include/bits/locale_facets.h: Likewise.
1140         * include/bits/type_traits.h: Likewise.
1142 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1144         * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
1145         * include/bits/locale_facets.tcc (locale::combine): Likewise.
1147 2001-10-19  Benjamin Kosnik  <bkoz@redhat.com>
1149         * include/bits/locale_facets.h (__timepunct::_M_put_helper):
1150         Declare specializations for char, wchar_t.
1152 2001-10-19  Andreas Jaeger  <aj@suse.de>
1154         * config/cpu/x86-64/bits/limits.h: New file.
1155         * config/cpu/x86-64/bits/atomicity.h: New file.
1156         * configure.target: Add x86-64.
1158 2001-10-17  Phil Edwards  <pme@gcc.gnu.org>
1160         * docs/html/17_intro/howto.html:  Remove 1999 links (and explain
1161         why).  Add link to recent message.
1162         * docs/html/faq/index.html (5.6):  Reformat text only; fixup <pre>
1163         markup.
1164         * docs/html/faq/index.txt:  Regenerate.
1166 2001-10-12  Loren J. Rittle  <ljrittle@acm.org>
1168         * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
1169         based on Nathan's review.  Use Nathan's words.
1171 2001-10-11  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
1173         * docs/html/configopts.html: Quote StyleSheet attribute values.
1174         * docs/html/documentation.html: Likewise.
1175         * docs/html/explanations.html: Likewise.
1176         * docs/html/install.html: Likewise.
1177         * docs/html/17_intro/howto.html: Likewise.
1178         * docs/html/17_intro/license.html: Likewise.
1179         * docs/html/18_support/howto.html: Likewise.
1180         * docs/html/19_diagnostics/howto.html: Likewise.
1181         * docs/html/20_util/howto.html: Likewise.
1182         * docs/html/21_strings/howto.html: Likewise.
1183         * docs/html/22_locale/howto.html: Likewise.
1184         * docs/html/23_containers/howto.html: Likewise.
1185         * docs/html/24_iterators/howto.html: Likewise.
1186         * docs/html/25_algorithms/howto.html: Likewise.
1187         * docs/html/26_numerics/howto.html: Likewise.
1188         * docs/html/27_io/howto.html: Likewise.
1189         * docs/html/ext/howto.html: Likewise.
1190         * docs/html/ext/sgiexts.html: Likewise.
1191         * docs/html/faq/index.html: Likewise.
1193 2001-10-11  Loren J. Rittle  <ljrittle@acm.org>
1195         * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
1196         * docs/html/23_containers/howto.html (Containers and multithreading):
1197         Update.
1199 2001-10-09  Phil Edwards  <pme@gcc.gnu.org>
1201         * docs/html/17_intro/howto.html:  Tweak markup and value type.
1202         * docs/html/27_io/howto.html:  Tweak markup, describe setbuf() for
1203         nonzero arguments, add new note on threading.
1204         * docs/html/faq/index.html:  Update.
1205         * docs/html/faq/index.txt:  Regenerate.
1207 2001-10-09  Phil Edwards  <pme@gcc.gnu.org>
1209         * docs/html/configopts.html:  More HTML->XHTML and lowercasing of tags.
1210         * docs/html/documentation.html:  Likewise.
1211         * docs/html/explanations.html:  Likewise.
1212         * docs/html/install.html:  Likewise.
1213         * docs/html/17_intro/howto.html:  Likewise.
1214         * docs/html/17_intro/license.html:  Likewise.  Tighten up language.
1215         * docs/html/18_support/howto.html:  Likewise.
1216         * docs/html/19_diagnostics/howto.html:  Likewise.
1217         * docs/html/20_util/howto.html:  Likewise.
1218         * docs/html/21_strings/howto.html:  Likewise.
1219         * docs/html/22_locale/howto.html:  Likewise.
1220         * docs/html/23_containers/howto.html:  Likewise.
1221         * docs/html/24_iterators/howto.html:  Likewise.
1222         * docs/html/25_algorithms/howto.html:  Likewise.
1223         * docs/html/26_numerics/howto.html:  Likewise.
1224         * docs/html/27_io/howto.html:  Likewise.
1225         * docs/html/ext/howto.html:  Likewise.
1226         * docs/html/ext/sgiexts.html:  Likewise.
1227         * docs/html/faq/index.html:  Likewise.  Not so many absolute links.
1228         * docs/html/faq/index.txt:  Regenerate.
1230 2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>
1232         * docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
1233         spelling errors of "separate" as "seperate", and corresponding
1234         spelling errors of related words.
1235         * docs/html/faq/index.txt: Regenerate.
1237 2001-10-05  Phil Edwards  <pme@gcc.gnu.org>
1239         * config/cpu/alpha/bits/atomicity.h (__compare_and_swap):  Remove
1240         unused function.
1241         * config/cpu/arm/bits/atomicity.h:  Likewise.
1242         * config/cpu/generic/bits/atomicity.h:  Likewise.
1243         * config/cpu/i486/bits/atomicity.h:  Likewise.
1244         * config/cpu/ia64/bits/atomicity.h:  Likewise.
1245         * config/cpu/mips/bits/atomicity.h:  Likewise.
1246         * config/cpu/powerpc/bits/atomicity.h:  Likewise.
1247         * config/cpu/sparc/sparc32/bits/atomicity.h:  Likewise.
1248         * config/cpu/sparc/sparc64/bits/atomicity.h:  Likewise.
1250 2001-10-04  Phil Edwards  <pme@gcc.gnu.org>
1252         * docs/html/faq/index.html:  Describe DR #22, and a workaround.
1253         * docs/html/faq/index.txt:  Regenerate.
1255 2001-10-04  Phil Edwards  <pme@gcc.gnu.org>
1257         * docs/html/17_intro/COPYING.DOC:  New file, GFDL v1.1 from the FSF.
1258         * docs/html/17_intro/license.html:  New file.  Explain the licenses
1259         in use.
1261         * docs/html/configopts.html:  Link to license.html.
1262         * docs/html/documentation.html:  Likewise.
1263         * docs/html/explanations.html:  Likewise.
1264         * docs/html/install.html:  Likewise.
1265         * docs/html/17_intro/howto.html:  Likewise.
1266         * docs/html/18_support/howto.html:  Likewise.
1267         * docs/html/19_diagnostics/howto.html:  Likewise.
1268         * docs/html/20_util/howto.html:  Likewise.
1269         * docs/html/21_strings/howto.html:  Likewise.
1270         * docs/html/22_locale/howto.html:  Likewise.
1271         * docs/html/23_containers/howto.html:  Likewise.
1272         * docs/html/24_iterators/howto.html:  Likewise.
1273         * docs/html/25_algorithms/howto.html:  Likewise.
1274         * docs/html/26_numerics/howto.html:  Likewise.
1275         * docs/html/27_io/howto.html:  Likewise.
1276         * docs/html/ext/howto.html:  Likewise.
1277         * docs/html/ext/sgiexts.html:  Likewise.
1278         * docs/html/faq/index.html:  Likewise.  New question, linking to
1279         the new license.html.
1281 2001-10-04  Phil Edwards  <pme@gcc.gnu.org>
1283         * docs/html/17_intro/howto.html:  Fix mis-sed in header from 20010917.
1284         * docs/html/18_support/howto.html:  Likewise.
1285         * docs/html/19_diagnostics/howto.html:  Likewise.
1286         * docs/html/20_util/howto.html:  Likewise.
1287         * docs/html/21_strings/howto.html:  Likewise.
1288         * docs/html/22_locale/howto.html:  Likewise.
1289         * docs/html/23_containers/howto.html:  Likewise.
1290         * docs/html/24_iterators/howto.html:  Likewise.
1291         * docs/html/25_algorithms/howto.html:  Likewise.
1292         * docs/html/26_numerics/howto.html:  Likewise.
1293         * docs/html/27_io/howto.html:  Likewise.
1294         * docs/html/ext/howto.html:  Likewise.
1295         * docs/html/faq/index.html:  Likewise.  Spacing fix.
1297 2001-10-03  Dimitris Vyzovitis  <vyzo@media.mit.edu>
1299         * include/bits/stl_threads.h (_Atomic_swap): New function.
1300         (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
1301         * testsuite/ext/rope.cc: New file.
1303 2001-10-02  Benjamin Kosnik  <bkoz@redhat.com>
1305         * config/locale/time_members_gnu.h: Remove.
1306         * config/locale/time_members_generic.h: Remove.
1307         * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
1308         * config/locale/time_members_generic.cc: Same.
1309         * include/bits/locale_facets.h: Add data members.
1310         (__timepunct::_M_put_helper): Change signature.
1311         (__timepunct::_M_date_formats): Same.
1312         (__timepunct::_M_time_formats): Same.
1313         (__timepunct::_M_ampm): Add.
1314         (__timepunct::_M_date_time_formats): Add.
1315         (time_get::_M_extract_via_format): Add.
1316         (time_get::_M_extract_time): Change to...
1317         (time_get::_M_extract_num): ... this, modify signature.
1318         * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
1319         (time_get::do_get_time): Fix.
1320         (time_get::do_get_date): Fix.
1322         * acinclude.m4: Remove CTIME_H.
1323         * aclocal.m4: Regenerate.
1324         * include/Makefile.am: Same.
1325         * include/Makefile.in: Regenerate.
1326         * configure: Regenerate.
1328         * testsuite/22_locale/time_get_members_char.cc: Fix.
1329         * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
1330         * testsuite/22_locale/time_put_members_wchar_t.cc: Add.
1332 2001-10-01  Hans-Peter Nilsson  <hp@axis.com>
1334         * config/cpu/cris/bits/atomicity.h: Correct file header.
1336 2001-09-29  Hans-Peter Nilsson  <hp@axis.com>
1338         * configure.target (LIMITSH): Set for cris.
1339         (cpu_include_dir): Set for cris-*-*.
1340         * config/cpu/cris/bits/atomicity.h: New file.
1341         * config/cpu/cris/bits/limits.h: New file.
1343 2001-09-28  Benjamin Kosnik  <bkoz@redhat.com>
1345         * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
1346         (__timepunct::_M_put_helper): Add.
1347         * config/locale/time_members_generic.h: Same.
1348         * include/bits/locale_facets.h (__match_parallel): Remove. Format.
1349         (__timepunct): Add data members.
1350         (__timepunct::_M_days): Add.
1351         (__timepunct::_M_days_abbreviated): Add.
1352         (__timepunct::_M_months): Add.
1353         (__timepunct::_M_months_abbreviated): Add.
1354         (__timepunct::_M_initialize_timepunct): Add.
1355         * include/bits/locale_facets.tcc: Same.
1356         * src/locale-inst.cc: Remove instantiations for __match_parallel.
1357         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
1358         * aclocal.m4: Regenerate.
1359         * configure: Regenerate.
1360         * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
1361         * testsuite/22_locale/time_put_members_char.cc (test01): New file.
1362         * testsuite/22_locale/time_get.cc: New file.
1364 2001-09-28  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1366         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
1367         correct multilib builddir.
1368         Properly locate libgcc_s.
1370 2001-09-27  Phil Edwards  <pme@gcc.gnu.org>
1372         * include/std/*:  Add Doxygen hooks.
1373         * docs/doxygen/Intro.3:  New file, general intro to the man pages.
1374         * docs/doxygen/mainpage.doxy:  Formatting tweaks.  List our own links
1375         rather than using a generated index.
1376         * docs/doxygen/user.cfg.in:  Disable the index, enable man pages.
1377         * docs/doxygen/run_doxygen:  Massage the generated man pages, using...
1378         * docs/doxygen/stdheader.cc:  ...this new file.
1380 2001-09-26  Stan Shebs  <shebs@apple.com>
1382         * include/Makefile.am: Remove RCS Id strings.
1383         * src/Makefile.am: Ditto.
1384         * docs/doxygen/run_doxygen: Ditto.
1385         * docs/html/configopts.html: Ditto.
1386         * docs/html/documentation.html: Ditto.
1387         * docs/html/explanations.html: Ditto.
1388         * docs/html/install.html: Ditto.
1389         * docs/html/17_intro/howto.html: Ditto.
1390         * docs/html/18_support/howto.html: Ditto.
1391         * docs/html/19_diagnostics/howto.html: Ditto.
1392         * docs/html/20_util/howto.html: Ditto.
1393         * docs/html/21_strings/howto.html: Ditto.
1394         * docs/html/22_locale/howto.html: Ditto.
1395         * docs/html/23_containers/howto.html: Ditto.
1396         * docs/html/24_iterators/howto.html: Ditto.
1397         * docs/html/25_algorithms/howto.html: Ditto.
1398         * docs/html/26_numerics/howto.html: Ditto.
1399         * docs/html/27_io/howto.html: Ditto.
1400         * docs/html/ext/howto.html: Ditto.
1401         * docs/html/ext/sgiexts.html: Ditto.
1402         * docs/html/faq/index.html: Ditto.
1403         * docs/html/faq/index.txt: Ditto.
1405 2001-09-25  Phil Edwards  <pme@gcc.gnu.org>
1407         * testsuite/21_strings/c_strings.cc (test01, test02):  Increase
1408         `carray' size.
1410 2001-09-25  Phil Edwards  <pme@gcc.gnu.org>
1412         * docs/html/20_util/howto.html:  Add anchor name.
1413         * docs/html/23_containers/howto.html:  Line wrapping, another link.
1414         * docs/html/25_algorithms/howto.html:  Another note.
1416         * docs/html/ext/howto.html:  Link to SGI extensions.  List DRs and
1417         link to them...
1418         * docs/html/ext/lwg-active.html:  ...in this new file (from R19),
1419         * docs/html/ext/lwg-defects.html:  and this new file (from R19).
1420         * docs/html/ext/sgiexts.html:  New file.  Mention SGI extensions
1421         carried over to libstdc++-v3.
1422         * docs/html/faq/index.html:  Link to SGI extensions.  Mention the
1423         "missing .." pseudobug.
1424         * docs/html/faq/index.txt:  Regenerate.
1426         * include/bits/ios_base.h:  DR-related comment cleanup.
1427         * include/bits/istream.tcc:  Likewise.
1428         * include/bits/locale_facets.h:  Likewise.
1429         * include/bits/locale_facets.tcc:  Likewise.
1430         * include/bits/ostream.tcc:  Likewise.
1431         * include/bits/std_bitset.h:  Likewise.
1432         * include/bits/std_iosfwd.h:  Likewise.
1433         * include/bits/std_istream.h:  Likewise.
1434         * include/bits/std_ostream.h:  Likewise.
1435         * include/bits/std_streambuf.h:  Likewise.
1436         * include/bits/stl_pair.h:  Likewise.
1437         * include/bits/streambuf_iterator.h:  Likewise.
1439         * include/bits/std_map.h:  Remove unused header inclusion guard
1440         _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
1441         * include/bits/std_set.h:  Likewise.
1443         * include/bits/stl_function.h:  Doxygen markup.
1444         * docs/doxygen/doxygroups.cc:  New file, specifying module grouping.
1445         * libsupc++/typeinfo:  Doxygen markup tweak.
1447 2001-09-20  Scott Johnston <scott@accom.com>
1448             Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1450         * include/backward/alloc.h: Conditionally define malloc_alloc
1451         * testsuite/backward/header_deque_h.cc: New file.
1453 2001-09-20  Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
1455         * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
1456         change variable name so that it works with -fno-for-scope.
1458 2001-09-20  Benjamin Kosnik  <bkoz@redhat.com>
1460         * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
1461         redundant sanity checks.
1462         * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
1463         (test02): Same.
1464         * testsuite/22_locale/money_put_members_char.cc (test01): Same.
1465         (test02): Same.
1466         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
1467         * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
1468         * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
1469         (test02): Same.
1470         * testsuite/22_locale/money_get_members_char.cc (test01): Same.
1471         (test02): Same.
1473 2001-09-19  Benjamin Kosnik  <bkoz@redhat.com>
1475         Implement std::time_put.
1476         * include/bits/locale_facets.h: Include time_members.h.
1477         (__timepunct): New.
1478         (time_put): Implement.
1479         * include/bits/locale_facets.tcc (do_put): Put generic versions here.
1480         * include/bits/localefwd.h: Bump number of facets.
1481         * config/locale/time_members_generic.h: New file.
1482         * config/locale/time_members_gnu.h: New file.
1483         * config/locale/c_locale_generic.h: Include clocale.
1484         * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
1485         * src/locale.cc: Add __timepunct initializations.
1486         * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
1487         * include/Makefile.am (stamp-target): Add time_members.h.
1488         * include/Makefile.in: Regenerate.
1489         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
1490         * aclocal.m4: Regenerate.
1491         * configure: Regenerate.
1492         * testsuite/22_locale/time_put.cc: New file.
1493         * testsuite/22_locale/time_put_members_char.cc: New file.
1495         * docs/html/22_locale/locale.html: Add note.
1497 2001-09-17  Phil Edwards  <pme@gcc.gnu.org>
1499         * docs/html/configopts.html:  HTML to XHTML change.  Lowercase tags.
1500         * docs/html/documentation.html:  Likewise.
1501         * docs/html/explanations.html:  Likewise.
1502         * docs/html/install.html:  Likewise.
1503         * docs/html/17_intro/howto.html:  Likewise.
1504         * docs/html/18_support/howto.html:  Likewise.
1505         * docs/html/19_diagnostics/howto.html:  Likewise.
1506         * docs/html/20_util/howto.html:  Likewise.
1507         * docs/html/21_strings/howto.html:  Likewise.
1508         * docs/html/22_locale/codecvt.html:  Likewise.
1509         * docs/html/22_locale/ctype.html:  Likewise.
1510         * docs/html/22_locale/howto.html:  Likewise.
1511         * docs/html/22_locale/locale.html:  Likewise.
1512         * docs/html/22_locale/messages.html:  Likewise.
1513         * docs/html/23_containers/howto.html:  Likewise.
1514         * docs/html/24_iterators/howto.html:  Likewise.
1515         * docs/html/25_algorithms/howto.html:  Likewise.
1516         * docs/html/26_numerics/howto.html:  Likewise.
1517         * docs/html/27_io/howto.html:  Likewise.
1518         * docs/html/ext/howto.html:  Likewise.
1519         * docs/html/faq/index.html:  Likewise.
1520         * docs/html/faq/index.txt:  Regenerated.
1522 2001-09-14  Phil Edwards  <pme@sources.redhat.com>
1524         * docs/html/17_intro/headers_cc.txt:  "Sync"/copy real file over.
1525         * docs/html/17_intro/howto.html:  Spacing and HTML markup fixes.
1526         * docs/html/18_support/howto.html:  It won't compile; it's not code.
1527         * docs/html/19_diagnostics/howto.html:  Point diagram seekers to
1528         doxygen'd pages.
1529         * docs/html/22_locale/howto.html:  Comment for future work.
1530         * docs/html/23_containers/howto.html:  More comments.
1531         * docs/html/25_algorithms/howto.html:  It's a comment, not a
1532         blunt command to the reader.  (English grammar.)
1534 2001-09-14  Benjamin Kosnik  <bkoz@redhat.com>
1536         * config/locale/moneypunct_members_gnu.cc: Fix initialization of
1537         wchar_t members.
1538         * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
1539         * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
1541 2001-09-14  Benjamin Kosnik  <bkoz@redhat.com>
1543         * include/bits/locale_facets.tcc: Conditionalize use of strtold.
1545 2001-09-13  Alexandre Petit-Bianco  <apbianco@redhat.com>
1547         * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
1548         * testsuite/22_locale/money_put_members_char.cc: Likewise.
1549         * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1551 2001-09-13  Benjamin Kosnik  <bkoz@redhat.com>
1553         Implement std::money_get.
1554         * include/bits/locale_facets.tcc (money_get::do_get): Implement.
1555         * include/bits/locale_facets.h (money_get): Correct signatures.
1556         * testsuite/22_locale/money_get.cc: New file.
1557         * testsuite/22_locale/money_get_members_char.cc: New file.
1559         * include/bits/locale_facets.tcc (__verify_grouping): New
1560         function. Consolidate num_get and money_get group checking into
1561         one function.
1562         (money_get): Use it.
1563         * src/locale.cc (num_get::_M_extract): Use it.
1564         * src/locale-inst.cc: Add instantiation.
1566 2001-09-12  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1568         * include/bits/std_limits.h (numeric_limits<float>::radix,
1569         numeric_limits<float>::epsilon:  Fix thinko.
1571 2001-09-10  Benjamin Kosnik  <bkoz@redhat.com>
1573         * configure.in: Fix cross compiling math routines. Correct
1574         comments for cross compiling and limits. Add floating point math
1575         routines found in newlib.
1576         * configure: Regenerate.
1577         * acconfig.h: Add macros.
1578         * config.h.in: Regenerate.
1580 2001-09-10  Benjamin Kosnik  <bkoz@redhat.com>
1582         * config/locale/moneypunct_members_generic.cc
1583         (money_base::_S_construct_pattern): Remove unused parameters.
1585 2001-09-10  Benjamin Kosnik  <bkoz@redhat.com>
1587         * include/Makefile.am (stamp-target): Remove link to self.
1588         * inclulde/Makefile.in: Regenerate.
1590 2001-09-09  Benjamin Kosnik  <bkoz@redhat.com>
1592         Implement std::money_put.
1593         * include/bits/locale_facets.h
1594         (moneypunct::_M_initialize_moneypunct): Split up specializations
1595         to account for _Intl.  More grody hacking to get around the
1596         ill-considered use of const bool as a template parameter.
1597         * config/locale/moneypunct_members_gnu.cc: And here.
1598         * config/locale/moneypunct_members_generic.cc: And here.
1599         * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
1600         * testsuite/22_locale/moneypunct.cc: Add tests.
1601         * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
1602         * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
1604         * src/locale.cc (money_base::_S_construct_pattern): Move into
1605         gnu-specific file.
1606         * config/locale/moneypunct_members_gnu.cc: Add here.
1607         * config/locale/moneypunct_members_generic.cc: Add generic version
1608         here.
1610         * include/bits/locale_facets.tcc (money_put::do_put): Move member
1611         function definitions here.
1612         * include/bits/locale_facets.h (money_put): Implement.
1613         * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
1614         Correct money_get, money_put instantiations.
1615         * src/locale.cc (money_base::_S_construct_pattern): Handle case
1616         where __posn == 0.
1617         * testsuite/22_locale/money_put_members_char.cc: Add tests.
1619 2001-09-05  Phil Edwards  <pme@sources.redhat.com>
1621         * testsuite_flags.in:  No longer need to search testsuite builddir.
1622         * src/stl-inst.cc (__sink_unused_warning):  Unused, remove.
1623         * Makefile.am:  The testsuite directory never needs to be made here.
1624         * Makefile.in:  Regenerate.
1625         * include/Makefile.in:  Regenerate.
1626         * libio/Makefile.in:  Regenerate.
1627         * libmath/Makefile.in:  Regenerate.
1628         * libsupc++/Makefile.in:  Regenerate.
1629         * po/Makefile.in:  Regenerate.
1630         * src/Makefile.in:  Regenerate.
1631         * testsuite/Makefile.in:  Regenerate.
1633 2001-09-04  Scott Johnston  <scott@accom.com>
1634             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1636         * include/backward/iterator.h: Include <bits/std_iterator.h>,
1637         remove reverse_bidirectional_iterator.
1638         * testsuite/backward: New directory.
1639         * testsuite/backward/header_iterator_h.cc: New file.
1641 2001-09-04  Benjamin Kosnik  <bkoz@redhat.com>
1643         * include/c_std/bits/std_c*.h: Don't use include_next.
1645 2001-09-03  Richard Sandiford  <rsandifo@redhat.com>
1647         * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
1648         tmp from _Unwind_Ptr to _Unwind_Word.
1650 2001-08-31  Jason Merrill  <jason_merrill@redhat.com>
1652         * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
1653         leb128 handling.
1655 2001-08-28  Loren J. Rittle  <ljrittle@acm.org>
1657         * include/Makefile.am: Use toplevel_srcdir to refer to src files
1658         outside this component.
1659         * include/Makefile.in: Regenerate.
1661 2001-08-27  Benjamin Kosnik  <bkoz@redhat.com>
1663         * config/locale/c_locale_gnu.cc: Move facet info to separate files...
1664         * config/locale/c_locale_generic.cc: Same.
1665         * config/locale/moneypunct_members_gnu.cc: New file.
1666         * config/locale/moneypunct_members_generic.cc: New file.
1667         * config/locale/numpunct_members_gnu.cc: New file.
1668         * config/locale/numpunct_members_generic.cc: New file.
1669         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
1670         options.
1671         * aclocal.m4: Regenerate.
1672         * configure: Regenerate.
1673         * src/Makefile.am (sources): And here.
1674         * src/Makefile.in: Regenerate.
1676         Rename for consistency with rest of testsuite.
1677         * testsuite/22_locale/codecvt.cc: New file.
1678         * testsuite/22_locale/money_put.cc: New file.
1679         * testsuite/22_locale/money_put_members_char.cc: New file.
1681 2001-08-27  Phil Edwards  <pme@sources.redhat.com>
1683         PR libstdc++/4143
1684         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO):  Handle enable/disable
1685         correctly for version-specific-runtime-libs.
1686         * aclocal.m4:  Regenerate.
1687         * configure:  Regenerate.
1689 2001-08-24  Loren J. Rittle  <ljrittle@acm.org>
1691         * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
1692         define if not already provided by per-OS file.
1693         * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
1694         Define.
1696 2001-08-24  Jan van Male <jan.vanmale@fenk.wau.nl>
1698         * docs/html/17_intro/C++STYLE:  Fix typo.
1700 2001-08-24  Phil Edwards  <pme@sources.redhat.com>
1702         * docs/html/23_containers/howto.html:  Describe implementation of
1703         insertion with hints.
1705 2001-08-24  Kenny Simpson  <kenny.simpson@gs.com>
1707         libstdc++/3740
1708         * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
1710 2001-08-24  Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
1711             Phil Edwards  <pme@sources.redhat.com>
1713         PR libstdc++/3349
1714         * include/bits/stl_tree.h (insert_unique):  Revert last change.
1715         Values inserted at begin() must be less, not greater, than *begin()'s.
1716         * testsuite/23_containers/map_insert.cc:  New file.
1718 2001-08-23  Benjamin Kosnik  <bkoz@redhat.com>
1720         * config/locale/c_locale_gnu.cc: Minor tweaks.
1721         (moneypunct<wchar_t>): Implement.
1722         * include/bits/locale_facets.h: Same.
1723         * testsuite/22_locale/moneypunct.cc: New file.
1724         * testsuite/22_locale/moneypunct_byname.cc: New file.
1725         * testsuite/22_locale/moneypunct_char_members.cc: New file.
1727 2001-08-23  David Edelsohn  <edelsohn@gnu.org>
1729         * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
1730         Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
1732 2001-08-23  Jason Merrill  <jason_merrill@redhat.com>
1734         * testsuite_flags.in (build-includes): Re-add backward.
1736 2001-08-22  Benjamin Kosnik  <bkoz@redhat.com>
1738         * testsuite/22_locale/collate_wchar_t_members.cc: Guard
1739         with _GLIBCPP_USE_WCHAR_T.
1741 2001-08-21  Benjamin Kosnik  <bkoz@redhat.com>
1743         * testsuite/22_locale/collate_byname.cc (test01): Fix.
1745 2001-08-18  Vladimir A Merzliakov  <wanderer@rsu.ru>
1747         * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
1749 2001-08-18  Benjamin Kosnik  <bkoz@redhat.com>
1751         * testsuite/22_locale/operators.cc: Add test.
1753 2001-08-17  Benjamin Kosnik  <bkoz@redhat.com>
1755         Implement std::collate.
1756         * config/locale/collate_specializations_gnu.cc: Add here, implement in
1757         MT-safe way.
1758         * config/locale/collate_specializations_generic.cc: Add here, but
1759         in a less sophisticated manner.
1760         * include/bits/locale_facets.tcc (collate): Add generic definition.
1761         * include/bits/locale_facets.h (~collate): Mark virtual.
1762         (collate::_M_compare_helper): New.
1763         (collate::_M_transform_helper): New.
1764         * src/locale.cc: Remove unnecessary specializations.
1765         * src/string-inst.cc: Tweak instantiation of ctors.
1767         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
1768         * aclocal.m4: Regenerate.
1769         * configure: Regenerate.
1770         * src/Makefile.am (sources): Add collate.cc.
1771         * src/Makefile.in: Regenerate.
1773         * testsuite/22_locale/collate_byname.cc: New.
1774         * testsuite/22_locale/collate.cc: New file.
1775         * testsuite/22_locale/collate_char_members.cc: New file.
1776         * testsuite/22_locale/collate_wchar_t_members.cc: New file.
1778 2001-08-16  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1780         * configure.target: Set LIMITSH for powerpc-*-*.
1781         * config/cpu/powerpc/bits/limits.h: New file.
1783 2001-08-16  Marc Espie <espie@openbsd.org>
1785         * configure.in:  Check for <sys/types.h>.
1786         * configure:  Rebuild.
1787         * config.h.in:  Rebuild.
1788         * libmath/mathconf.h:  Include <sys/types.h> prior to
1789         <machine/endian.h> if available.
1791 2001-08-15  Andreas Schwab  <schwab@suse.de>
1793         * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
1794         m68k and m680[246]0.
1795         * config/cpu/m68k/bits/atomicity.h: New file.
1797         * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
1798         Define appropriate long double limits for m68k extended floating
1799         point.
1800         (__glibcpp_f32_digits10): Corrected, off by one.
1801         (__glibcpp_f80_digits10): Likewise.
1802         (__glibcpp_f128_digits10): Likewise.
1803         * config/os/gnu-linux/bits/os_defines.h
1804         (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
1806 2001-08-15  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1808         * testsuite/18_support/numeric_limits.cc: Add more tests.
1809         * include/bits/std_limits.h (numeric_limits<char>::max): Fix
1810         typo.
1812 2001-08-14  Ulrich Weigand  <uweigand@de.ibm.com>
1814         * configure.target (cpu_include_dir): Set to `config/cpu/s390'
1815         for s390 and s390x.
1817         * config/cpu/s390/bits/atomicity.h: New.
1819 2001-08-14  Gabriel Dos Reis  <gdr@codesourcery.com>
1821         * include/bits/std_limits.h: Fix thinko.
1823 2001-08-14  Benjamin Kosnik  <bkoz@redhat.com>
1825         * include/Makefile.am: Consolidate target rules. Don't clean stamp
1826         files. Tweak target build directory stamp.
1827         * include/Makefile.in: Regenerate.
1829 2001-08-14  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1831         * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
1832         _GBLICPP_HAVE_LOGL with HAVE_LOGL
1834 2001-08-13  Benjamin Kosnik  <bkoz@redhat.com>
1836         * configure.in (libtool_VERSION): Add.
1837         (VERSION): Change to
1838         (release_VERSION): This.
1839         * configure: Regenerate.
1840         * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
1841         libtool_VERSION.
1842         * src/Makefile.in: Regenerate.
1844         * intl/Makefile.am: Remove.
1845         * intl/Makefile.in: Remove.
1846         * intl: Remove.
1847         * Makefile.am (SUBDIRS): Remove intl.
1848         * po/Makefile.am (DISTFILES): Add string_literals.cc
1849         (MSGFMT): Add.
1850         * po/string_literals.cc: Add.
1851         * po/POTFILES.in: Fix path.
1852         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
1853         * aclocal.m4: Regenerate.
1854         * configure.in: Remove AC_OUTPUT of intl/Makefile.
1856         * include/backward/backward_warning.h: Clarify message.
1858         * testsuite_flags.in (--cxxflags): Use same debug flags for
1859         library and testsuite.
1861         * include/Makefile.am (c_compatibility): Remove.
1862         * include/Makefile.in: Regenerate.
1864 2001-08-13  Mark Mitchell  <mark@codesourcery.com>
1866         * configure.in (LIMITS_INC_SRCDIR): New variable.
1867         * configure.target (LIMITSH): New variable.
1868         * porting.texi: Discuss numeric limits.
1869         * config/cpu/generic/bits/limits.h: New file.
1870         * config/cpu/i386/bits/limits.h: New file.
1871         * include/Makefile.am: Install bits/limits.h.
1872         * include/bits/c++config: Include bits/limits.h.
1874 2001-08-13  H.J. Lu  (hjl@gnu.org)
1876         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
1877         New. Copy files.
1878         (libstdc++-v3-init ): Use it.
1880 2001-08-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1882         * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
1883         to '__adjust' to avoid shadowing in nested scope.
1885 2001-08-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1887         * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
1888         __CHAR_UNSIGNED__.
1890         * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
1891         Likewise.
1892         * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
1893         Remove.
1895 2001-08-10  Loren J. Rittle  <ljrittle@acm.org>
1897         * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
1898         dummy default argument to the non-limit implementation.
1900         bootstrap/3963
1901         * include/Makefile.am: Use relative file path in rule to allow
1902         colon in $(objdir).
1903         * include/Makefile.in: Rebuilt.
1905 2001-08-10  Gunter Winkler  <gunter.winkler@mathematik.tu-chemnitz.de>
1907         * include/bits/std_complex.h (complex<long double>::operator*=,
1908         complex<long double>::operator/=): Fix thinko.
1910 2001-08-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1912         * include/bits/std_limits.h: New file.
1913         * include/Makefile.am (bits_headers): Add std_limits.h
1914         (all-local): std_limits.h is no longer built.
1915         (${target_builddir}/std_limits.h): Remove.
1916         * include/Makefile.in: Regenerate.
1917         * src/limits.cc: New file.
1918         * src/Makefile.am (sources): Add limits.cc in replacement of
1919         limitsMEMBERS.cc.
1920         * src/Makefile.in: Regenerate.
1922 2001-08-09  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1924         * src/gen-num-limits.cc (digits10): Fix thinko.
1926 2001-08-09  Benjamin Kosnik  <bkoz@redhat.com>
1928         * po/Makefile.am (check-no): Add.
1929         (check-yes): Same.
1930         * po/Makefile.in: Regenerate.
1932 2001-08-09  Benjamin Kosnik  <bkoz@redhat.com>
1934         * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
1935         * config.h.in: Regenerate.
1936         * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
1937         function.
1938         * aclocal.m4: Regenerate.
1939         * configure.in: Remove duplicate AM_CONFIG_HEADER.
1940         (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
1941         Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
1942         * configure: Regenerate.
1943         * testsuite_hooks.h.in: Move to...
1944         * testsuite_hooks.h: Here, include c++config.h. Use it.
1946         * Makefile.am (SUBDIRS): Move testsuite to last directory.
1947         * Makefile.in: Regenerate.
1948         * po/Makefile.am (stamp-po): Add.
1950 2001-08-09  David Edelsohn  <edelsohn@gnu.org>
1952         * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
1953         * config/os/generic/bits/os_defines.h: Likewise.
1954         * config/os/gnu-linux/bits/os_defines.h: Likewise.
1955         * config/os/hpux/bits/os_defines.h: Likewise.
1956         * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
1957         * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
1959 2001-08-08  Benjamin Kosnik  <bkoz@redhat.com>
1961         * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
1962         -version-info, use substituted VERSION info.
1963         * src/Makefile.in: Regenerate.
1965 2001-08-07  Benjamin Kosnik  <bkoz@redhat.com>
1967         Implement std::messages.
1968         Make config a fully-nested directory.
1969         * config/locale: New directory.
1970         * config/c_locale_generic.cc: Move into locale subdirectory.
1971         * config/c_locale_generic.h: Same.
1972         * config/c_locale_gnu.cc: Same.
1973         * config/c_locale_gnu.h: Same.
1974         * config/c_locale_ieee_1003.1-200x.cc: Same.
1975         * config/c_locale_ieee_1003.1-200x_.h: Same.
1976         * config/codecvt_specializations_generic.h: Same.
1977         * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
1978         * config/messages_members_gnu.h: Same.
1979         * config/messaages_members_gnu.cc: Same.
1980         * config/messages_members_generic.h: Same.
1981         * config/messaages_members_generic.cc: Same.
1982         * config/messages_members_ieee_1003.1-200x.h: Same.
1983         * config/messaages_members_ieee_1003.1-200x.cc: Same.
1984         * config/io: New directory.
1985         * config/basic_file_libio.h: Move into io subdirectory.
1986         * config/basic_file_libio.cc: Same.
1987         * config/c_io_libio.h: Same.
1988         * config/c_io_libio_codecvt.c: Same.
1989         * config/basic_file_stdio.h: Same.
1990         * config/basic_file_stdio.cc: Same.
1991         * config/c_io_stdio.h: Same.
1993         * po: New directory.
1994         * po/POTFILES.in: New file.
1995         * po/Makefile.am: New file.
1996         * po/Makefile.in: New file.
1997         * po/libstdc++.pot: Generic translation file.
1998         * po/fr.po: Preliminary French translation.
1999         * po/de.po: Preliminary German translation.
2000         * intl: New directory.
2001         * intl/Makefile.am: New file.
2002         * intl/Makefile.in: New file.
2003         * intl/string_literals.cc: New file.
2004         * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
2005         requisite setup for gettext. Re-arrange.
2006         * aclocal.m4: Regenerate.
2007         * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
2008         Output Makefile bits for po and intl.
2009         * configure: Regenerate.
2010         * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
2011         * Makefile.in: Regenerate.
2012         * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
2013         * config.h.in: Regenerate.
2015         * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
2017         * include/Makefile.am (install-data-local): Don't install Makefile.
2018         * include/Makefile.in: Regenerate.
2020         * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
2021         Add member.
2022         * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
2023         * config/locale/c_locale_generic.cc: Same.
2024         * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
2026         * include/bits/codecvt.h: Excise non-standard, non-required
2027         bits. This includes __enc_traits, and partial specializations of
2028         codecvt for __enc_traits.
2029         * src/codecvt.cc (__enc_traits::_S_max_size): Guard
2030         * config/codecvt_partials_ieee_1003.1-200x.h: New file.
2031         * config/codecvt_partials_generic.h: New file.
2032         * include/Makefile.am (allstamps): Add stamp-codecvt_model.
2033         (stamp-codecvt_model): Add.
2034         * include/Makefile.in: Regenerate.
2035         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
2036         * aclocal.m4: Regenerate.
2037         * configure: Regenerate.
2038         * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
2039         * testsuite/22_locale/codecvt_unicode_char.cc: Same.
2040         * testsuite/22_locale/ctor_copy_dtor.cc: And here.
2042         * include/bits/localefwd.h (class locale::facet): Add __enc_traits
2043         as a friend for _S_*_c_locale functions.
2044         * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
2045         argument to default constructor so that CODESET information can be
2046         deduced.
2047         * include/bits/locale_facets.h (messages_byname):
2048         Re-implement. Remove specializations.
2049         * src/locale.cc (messages_byname<char>): Remove specialization.
2050         (messages_byname<wchar_t>): Same.
2051         * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
2052         * config/locale/c_locale_ieee_1003.1-200x.h: New file.
2053         * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
2054         * config/locale/messages_members_ieee_1003.1-200x.h: New file.
2055         * config/locale/messages_members_gnu.cc: New file.
2056         * config/locale/messages_members_gnu.h: New file.
2057         * config/locale/messages_members_generic.cc: New file.
2058         * config/locale/messages_members_generic.h: New file.
2060         * docs/html/configopts.html: Add documentation for new locale
2061         model, ieee_1003.1. Adjust other flags for current defaults.
2062         * docs/html/22_locale/locale.html: Update.
2063         * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
2064         * docs/html/22_locale/messages.html: New.
2066         * src/Makefile.am (sources): Add messages_virtuals.cc.
2067         * src/Makefile.in: Regenerate.
2068         * include/Makefile.am (allstamps): Add stamp-messages_model.
2069         (stamp-messages_model): Add.
2070         * include/Makefile.in: Regenerate.
2071         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
2072         * aclocal.m4: Regenerate.
2073         * configure: Regenerate.
2075         * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
2076         * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
2077         bits for Irix.
2078         * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
2079         build directories message catalog base directory, and export.
2080         Eventually this should probably be made to deal with build and
2081         install directories. For now, punt on this as the library itself
2082         doesn't use message catalogs (yet).
2083         * testsuite/22_locale/messages.cc: New file.
2084         * testsuite/22_locale/messages_char_members.cc: New file.
2085         * testsuite/22_locale/messages_byname.cc: New file.
2087 2001-08-06  Phil Edwards  <pme@sources.redhat.com>
2089         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE):  New macro, calls...
2090         (GLIBCPP_CHECK_SETRLIMIT):  ...this new macro, which also uses...
2091         (GLIBCPP_CHECK_SETRLIMIT_ancilliary):  ...this new macro.
2092         * configure.in (AM_CONFIG_HEADER):  Also generate testsuite_hooks.h.
2093         Call GLIBCPP_CONFIGURE_TESTSUITE.
2094         * aclocal.m4:  Regenerate.
2095         * config.h.in:  Regenerate.
2096         * configure:  Regenerate.
2098         * testsuite/lib/libstdc++-v3-dg.exp:  Download new header instead
2099         of old header.
2101         * testsuite_flags.in:  Add build dir's testsuite to INCLUDES.
2102         * testsuite/debug_assert.h:  Removed; contents merged into...
2103         * testsuite/testsuite_hooks.h.in:  ...here.  New file.
2104         * testsuite/17_intro/header_ciso646.cc:  No longer include
2105         debug_assert.h, include testsuite_hooks.h instead.
2106         * testsuite/17_intro/header_fstream.cc:  Likewise.
2107         * testsuite/17_intro/header_iomanip.cc:  Likewise.
2108         * testsuite/17_intro/header_ios.cc:  Likewise.
2109         * testsuite/17_intro/header_iosfwd.cc:  Likewise.
2110         * testsuite/17_intro/header_iostream.cc:  Likewise.
2111         * testsuite/17_intro/header_istream.cc:  Likewise.
2112         * testsuite/17_intro/header_ostream.cc:  Likewise.
2113         * testsuite/17_intro/header_sstream.cc:  Likewise.
2114         * testsuite/17_intro/header_streambuf.cc:  Likewise.
2115         * testsuite/18_support/numeric_limits.cc:  Likewise.
2116         * testsuite/19_diagnostics/stdexceptions.cc:  Likewise.
2117         * testsuite/20_util/allocator_members.cc:  Likewise.
2118         * testsuite/20_util/auto_ptr.cc:  Likewise.
2119         * testsuite/20_util/pairs.cc:  Likewise.
2120         * testsuite/21_strings/append.cc:  Likewise.
2121         * testsuite/21_strings/capacity.cc:  Likewise.
2122         * testsuite/21_strings/char_traits_requirements.cc:  Likewise.
2123         * testsuite/21_strings/compare.cc:  Likewise.
2124         * testsuite/21_strings/ctor_copy_dtor.cc:  Likewise.  Also set up
2125         call to (disabled) __set_testsuite_memlimit() wrapper.
2126         * testsuite/21_strings/element_access.cc:  Likewise.
2127         * testsuite/21_strings/find.cc:  Likewise.
2128         * testsuite/21_strings/insert.cc:  Likewise.  Also set up call to
2129         (disabled) __set_testsuite_memlimit() wrapper.
2130         * testsuite/21_strings/inserters_extractors.cc:  Likewise.
2131         * testsuite/21_strings/invariants.cc:  Likewise.
2132         * testsuite/21_strings/nonmember.cc:  Likewise.
2133         * testsuite/21_strings/operations.cc:  Likewise.
2134         * testsuite/21_strings/replace.cc:  Likewise.
2135         * testsuite/21_strings/rfind.cc:  Likewise.
2136         * testsuite/21_strings/substr.cc:  Likewise.
2137         * testsuite/22_locale/codecvt_char_char.cc:  Likewise.
2138         * testsuite/22_locale/codecvt_unicode_char.cc:  Likewise.
2139         * testsuite/22_locale/codecvt_unicode_wchar_t.cc:  Likewise.
2140         * testsuite/22_locale/codecvt_wchar_t_char.cc:  Likewise.
2141         * testsuite/22_locale/ctor_copy_dtor.cc:  Likewise.
2142         * testsuite/22_locale/ctype_char_members.cc:  Likewise.
2143         * testsuite/22_locale/ctype_wchar_t_members.cc:  Likewise.
2144         * testsuite/22_locale/facet.cc:  Likewise.
2145         * testsuite/22_locale/global_templates.cc:  Likewise.
2146         * testsuite/22_locale/members.cc:  Likewise.
2147         * testsuite/22_locale/numpunct_byname.cc:  Likewise.
2148         * testsuite/22_locale/numpunct_char_members.cc:  Likewise.
2149         * testsuite/22_locale/operators.cc:  Likewise.
2150         * testsuite/22_locale/static_members.cc:  Likewise.
2151         * testsuite/23_containers/bitset_ctor.cc:  Likewise.
2152         * testsuite/23_containers/bitset_members.cc:  Likewise.
2153         * testsuite/23_containers/bitset_shift.cc:  Likewise.
2154         * testsuite/23_containers/vector_capacity.cc:  Likewise.
2155         * testsuite/23_containers/vector_ctor.cc:  Likewise.
2156         * testsuite/23_containers/vector_element_access.cc:  Likewise.
2157         * testsuite/23_containers/vector_modifiers.cc:  Likewise.
2158         * testsuite/24_iterators/istreambuf_iterator.cc:  Likewise.
2159         * testsuite/24_iterators/iterator.cc:  Likewise.
2160         * testsuite/24_iterators/ostreambuf_iterator.cc:  Likewise.
2161         * testsuite/25_algorithms/binary_search.cc:  Likewise.
2162         * testsuite/25_algorithms/copy.cc:  Likewise.
2163         * testsuite/25_algorithms/heap.cc:  Likewise.
2164         * testsuite/25_algorithms/lower_bound.cc:  Likewise.
2165         * testsuite/25_algorithms/min_max.cc:  Likewise.
2166         * testsuite/25_algorithms/partition.cc:  Likewise.
2167         * testsuite/25_algorithms/rotate.cc:  Likewise.
2168         * testsuite/25_algorithms/sort.cc:  Likewise.
2169         * testsuite/26_numerics/c_math.cc:  Likewise.
2170         * testsuite/26_numerics/complex_inserters_extractors.cc:  Likewise.
2171         * testsuite/26_numerics/complex_value.cc:  Likewise.
2172         * testsuite/27_io/filebuf.cc:  Likewise.
2173         * testsuite/27_io/filebuf_members.cc:  Likewise.
2174         * testsuite/27_io/filebuf_virtuals.cc:  Likewise.
2175         * testsuite/27_io/fpos.cc:  Likewise.
2176         * testsuite/27_io/fstream_members.cc:  Likewise.
2177         * testsuite/27_io/ifstream_members.cc:  Likewise.
2178         * testsuite/27_io/ios_base_callbacks.cc:  Likewise.
2179         * testsuite/27_io/ios_base_members_static.cc:  Likewise.
2180         * testsuite/27_io/ios_base_storage.cc:  Likewise.
2181         * testsuite/27_io/ios_ctor.cc:  Likewise.
2182         * testsuite/27_io/ios_init.cc:  Likewise.
2183         * testsuite/27_io/ios_manip_basefield.cc:  Likewise.
2184         * testsuite/27_io/ios_manip_fmtflags.cc:  Likewise.
2185         * testsuite/27_io/ios_members.cc:  Likewise.
2186         * testsuite/27_io/istream_extractor_arith.cc:  Likewise.
2187         * testsuite/27_io/istream_extractor_char.cc:  Likewise.
2188         * testsuite/27_io/istream_extractor_other.cc:  Likewise.
2189         * testsuite/27_io/istream_manip.cc:  Likewise.
2190         * testsuite/27_io/istream_seeks.cc:  Likewise.
2191         * testsuite/27_io/istream_sentry.cc:  Likewise.
2192         * testsuite/27_io/istream_unformatted.cc:  Likewise.
2193         * testsuite/27_io/istringstream_members.cc:  Likewise.
2194         * testsuite/27_io/narrow_stream_objects.cc:  Likewise.
2195         * testsuite/27_io/ofstream_members.cc:  Likewise.
2196         * testsuite/27_io/ostream_inserter_arith.cc:  Likewise.
2197         * testsuite/27_io/ostream_inserter_char.cc:  Likewise.
2198         * testsuite/27_io/ostream_inserter_other.cc:  Likewise.
2199         * testsuite/27_io/ostream_manip.cc:  Likewise.
2200         * testsuite/27_io/ostream_seeks.cc:  Likewise.
2201         * testsuite/27_io/ostream_unformatted.cc:  Likewise.
2202         * testsuite/27_io/ostringstream_members.cc:  Likewise.
2203         * testsuite/27_io/streambuf.cc:  Likewise.
2204         * testsuite/27_io/stringbuf.cc:  Likewise.
2205         * testsuite/27_io/stringbuf_virtuals.cc:  Likewise.
2206         * testsuite/27_io/stringstream.cc:  Likewise.
2207         * testsuite/27_io/stringstream_members.cc:  Likewise.
2208         * testsuite/27_io/wide_stream_objects.cc:  Likewise.
2210 2001-07-31  Loren J. Rittle  <ljrittle@acm.org>
2212         * src/gen-num-limits.cc:  Use __LONG_LONG_MAX__.
2214 2001-07-30  Benjamin Kosnik  <bkoz@redhat.com>
2216         * configure.target: Remove mips from cpu table.
2217         * config/cpu/mips/bits/atomicity.h: Remove generic
2218         versions. Comment sgidefs include.
2220 2001-07-25  H.J. Lu <hjl@gnu.org>
2222         * configure.target (cpu_include_dir): Set to `config/cpu/mips'
2223         for mips.
2225         * config/cpu/mips/bits/atomicity.h: New.
2227 2001-07-25  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2229         * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
2230         hypotl, atan2f, atan2l.  Remove from REPLACE_MATHFUNCS list.
2231         * aclocal.m4: Regenerate.
2232         * config.h.in: Likewise.
2233         * configure: Likewise.
2234         * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
2235         (EXTRA_DIST): Remove hypot.c hypotf.c.
2236         * libmath/Makefile.am: Regenerate.
2237         * libmath/hypotf.c: Remove.
2238         * libmath/hypot.c: Likewise.
2239         * libmath/hypotl.c: Likewise.
2240         * libmath/stubs.c: The macros seen here are HAVE_xxx, not
2241         _GLIBCPP_HAVE_xxx.  Add long double versions.
2243 2001-07-23  David Edelsohn  <edelsohn@gnu.org>
2245         * include/bits/limits_generic.h (int): Set digits and digits10
2246         appropriately for word size.
2247         (unsigned int,long,unsigned long): Likewise.
2249 2001-07-19  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2251         * include/bits/stl_algo.h : Fix typos.
2252         * testsuite/25_algorithms/unique.cc: New file.
2254 2001-07-19  Phil Edwards  <pme@sources.redhat.com>
2255             Mark Mitchell <mark@codesourcery.com>
2257         Merge from cp-parser-branch.
2258         * include/bits/basic_string.h:  Qualify symbols with 'template'.
2259         * include/bits/basic_string.tcc:  Likewise.
2260         * include/bits/fstream.tcc:  Likewise.
2261         * include/bits/istream.tcc:  Likewise.
2262         * include/bits/sstream.tcc:  Likewise.
2263         * include/bits/std_istream.h:  Likewise.
2264         * include/bits/stl_iterator.h:  Likewise.
2265         * include/bits/streambuf.tcc:  Likewise.
2266         * src/gen-num-limits.cc:  Add 'template<>' to specializations.
2267         * src/locale.cc:  Likewise.
2269 2001-07-19  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2270             Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
2272         * src/gen-num-limits.cc (set_signals_handler): New function.
2273         Factor out signals setting.  Set signal handler for SIGILL.
2275 2001-07-18  Phil Edwards  <pme@sources.redhat.com>
2277         * docs/html/27_io/howto.html:  Fix typo.
2278         * docs/html/faq/index.html:  Minor updates for 3.0 all around.
2279         * docs/html/faq/index.txt:  Regenerated.
2281 2001-07-18  Stephen M. Webb  <stephen@bregmasoft..com>
2282             Roman Sulzhyk  <roman_sulzhyk@yahoo.com>
2284         libstdc++/3599
2285         * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
2286         * testsuite/27_io/streambuf.cc (test07): Added new regression test.
2288 2001-07-17  Stephen M. Webb   <stephen@bregmasoft.com>r
2290         All occurrences of the __value_type() and __distance_type()
2291         functions, which were required to support the HP STL, have been
2292         removed along with all the auxiliary forwarding functions that
2293         were required to support their use.
2295         The __iterator_category() function was pretty much left alone
2296         because there was no benefit to removing it and its use made code
2297         just a little more readable.
2299         Incidences of distance() with nonstandard argument list were
2300         replaced by calls to the standard function (only in the files
2301         affected by the removal of the other HP functions).
2303         The signature of the rotate() algorithm was changed to match the
2304         standard.
2306         Headers were reformatted under C++STYLE guidelines (indentation,
2307         linebreaks, typename keyword).
2309         * include/bits/stl_algo.h: replaced __value_type() and
2310         __distance_type() with iterator_traits, eliminated auxiliary
2311         support functions required to support said function usage.
2312         Changed nonstandard distance() call to standard call.
2314         * include/bits/stl_algobase.h: Same.
2315         * include/bits/stl_heap.h: Same.
2316         * include/bits/stl_numeric.h: Same.
2317         * include/bits/stl_uninitialized.h: Same.
2318         * include/bits/stl_iterator_base_types.h (__value_type()):
2319         Removed.
2320         (__distance_type()): Removed.
2321         (value_type()): Gone.
2322         (distance_type()): Done in.
2323         (iterator_category()): Hasta la vista, baby.
2325         * include/bits/stl_iterator_base_funcs.h (iterator_category()):
2326         Replaced with __iterator_category().
2327         * include/backward/iterator.h: moved definition of value_type(),
2328         distance_type(), and iterator_category() out of std:: and into
2329         here.
2330         * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
2331         * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
2332         * testsuite/25_algorithms/rotate.cc: New testcase.
2333         * testsuite/25_algorithms/copy.cc: New testcase.
2334         * testsuite/25_algorithms/sort.cc: Same.
2335         * testsuite/25_algorithms/heap.cc: Same.
2336         * testsuite/25_algorithms/partition.cc: Same.
2337         * testsuite/25_algorithms/binary_search.cc: Same.
2338         * testsuite/26_numerics/sum_diff.cc: Ditto.
2340 001-07-17  Benjamin Kosnik  <bkoz@redhat.com>
2342         * testsuite/README: Add notes on naming test cases.
2343         * testsuite/22_locale/members.cc: Mark as xfail.
2344         * testsuite/22_locale/numpunct_char_members.cc: Same.
2346 2001-07-16  Stephen M. Webb  <stephen@bregmasoft.com>
2348         * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS):  Use glibcpp_srcdir when
2349         setting C_INCLUDE_DIR.
2350         * configure.in:  Revert yesterday's LN_S change.
2351         * aclocal.m4:  Regenerate.
2352         * configure:  Regenerate.
2354 2001-07-15  Phil Edwards  <pme@sources.redhat.com>
2356         * configure.in:  Temporarily force LN_S to copy instead of symlink.
2357         * configure:  Regenerate.
2359 2001-07-13  Phil Edwards  <pme@sources.redhat.com>
2361         * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
2362         Initialize _M_string with pointer-and-size constructor, not just
2363         pointer.  Fix some comments.
2364         * testsuite/21_strings/ctor_copy_dtor.cc (test03):  New test.
2365         * testsuite/27_io/stringbuf.cc (test02):  Remove unused variable.
2366         (test03):  Add embedded-NUL tests.
2368         * mkcheck.in:  When printing totals, match the order of the tests.
2369         * include/bits/stringfwd.h:  Use same declaration keywords.
2370         * include/bits/std_iosfwd.h:  Cosmetic spacing.
2372 2001-07-13  Stephen M. Webb  <stephen@bregmasoft.com>
2373             Loren J. Rittle  <ljrittle@acm.org>
2374             Phil Edwards  <pme@sources.redhat.com>
2376         * include/Makefile.am:  New file encapsulating header generation rules.
2377         * Makefile.am (SUBDIRS):  Prepend 'include' directory.
2378         * acinclude.m4:  Moved/removed rules for building various headers.
2379         * configure.in (AC_OUTPUT):  Add include/Makefile.
2380         * mkc++config:  Removed.
2382         * testsuite_flags.in:  Changed build-includes to match new scheme.
2383         * mknumeric_limits:  Likewise.
2384         * libio/Makefile.am:  Changed INCLUDES to maatch new header scheme.
2385         * libmath/Makefile.am:  Likewise.
2386         * libsupc++/Makefile.am:  Likewise.
2387         * src/Makefile.am:  Likewise; removed rules to build headers.
2388         * libmath/mathconf.h:  Changed #include'd header names to match.
2389         * libmath/stubs.c:  Likewise.
2390         * src/gen-num-limits.cc:  Likewise.
2392         * configure:  Regenerated.
2393         * config.h.in:  Regenerated.
2394         * aclocal.m4:  Regenerated.
2395         * Makefile.in:  Regenerated.
2396         * include/Makefile.in:  Regenerated.
2397         * libio/Makefile.in:  Regenerated.
2398         * libmath/Makefile.in:  Regenerated.
2399         * libsupc++/Makefile.in:  Regenerated.
2400         * src/Makefile.in:  Regenerated.
2401         * testsuite/Makefile.in:  Regenerated.
2403 2001-07-11   Felix Natter  <fnatter@gmx.net>
2405         * docs/html/17_intro/porting-howto.xml:  Initial checkin of
2406         master copy.
2407         * docs/html/17_intro/porting-howto.html:  check in v0.9.3
2409 2001-07-11  Phil Edwards  <pme@sources.redhat.com>
2411         * docs/doxygen/run_doxygen:  Don't keep output from previous run.
2412         * docs/doxygen/user.cfg.in:  Tweaks.
2413         * include/bits/c++config:  Documentation comments for Doxygen.
2414         * include/bits/char_traits.h:  Likewise.
2415         * include/bits/limits_generic.h:  Likewise.
2416         * include/bits/std_stdexcept.h:  Likewise.
2417         * include/bits/stl_pair.h:  Likewise.
2418         * libsupc++/exception:  Likewise.
2419         * libsupc++/new:  Likewise.
2420         * libsupc++/typeinfo:  Likewise.
2421         * libmath/Makefile.am:  Update and correct copyright.
2423 2001-07-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2425         * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
2426         * aclocal.m4: Regenerate.
2427         * configure: Same.
2429 2001-07-09  Phil Edwards  <pme@sources.redhat.com>
2431         * docs/html/configopts.html:  Fix thinko.
2432         * docs/html/27_io/howto.html:  Fix thinko and HTML markup.
2433         * include/bits/stl_iterator.h:  Fix typo.
2435 2001-07-09  Phil Edwards  <pme@sources.redhat.com>
2437         * docs/html/explanations.html:  New file.
2438         * docs/html/configopts.html:  Link to it to provide more notes
2439         on cstdio.  Minor markup and spacing fixes.
2440         * docs/html/27_io/howto.html:  Talk about sync_with_stdio.
2442 2001-07-09  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
2444         * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
2445         for _Expr template template argument.
2446         (_Expr::operator-): Likewise.
2447         (_Expr::operator~): Likewise.
2448         (_Expr::operator!): Likewise.
2449         (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
2451 2001-07-06  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2453         * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
2454         * libmath/Makefile.in: Regenerate.
2455         * libmath/expf.c: Remove.
2456         * libmath/atan2f.c: Likewise.
2458 2001-07-06  Daniel Jacobowitz  <drow@mvista.com>
2460         * configure.in: Remove NATIVE, NULL_TARGET.
2461         Set CANADIAN only for Canadian crosses.  Set xcompiling
2462         for both Canadian crosses and host-x-host crosses.
2463         * configure: Regenerated.
2465 2001-07-06  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2467         * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
2469 2001-07-05  Jason Merrill  <jason_merrill@redhat.com>
2471         * testsuite_flags.in (--build-includes): backward, not backwards.
2473 2001-07-04  Jeffrey Oldham  <oldham@codesourcery.com>
2475         * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
2476         Replace destroy by _Destroy.
2477         (_Rope_RopeRep::_S_free_string): Likewise.
2478         (rope::c_str()): Likewise.
2479         * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
2480         (_Slist_base::_M_erase_after): Likewise.
2481         (slist::_M_create_node): Replace construct by _Construct.
2482         (slist::pop_front): Replace destroy by _Destroy.
2483         * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
2484         construct by _Construct.
2485         (hashtable::_M_delete_node): Replace destroy by _Destroy.
2486         * include/ext/stl_rope.h (rope::rope): Replace construct by
2487         _Construct.
2488         (rope::copy): Replace destroy by _Destroy.
2490 2001-07-03  Benjamin Kosnik  <bkoz@redhat.com>
2492         * include/bits/localefwd.h: Format.
2493         * include/bits/locale_facts.tcc (locale::combine): Adjust.
2494         * src/locale.cc (locale::locale::(_Impl)): Don't call
2495         _M_add_reference.
2496         (locale::facet::_M_remove_reference): Simplify.
2497         * src/globals.cc (locale_impl_c): New. Format.
2498         (locale_c): New.
2499         * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
2501 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
2503         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
2504         expansion (thanks to Alexandre Oliva).
2505         * aclocal.m4: Regenerate.
2506         * configure: Regenerate.
2508 2001-07-02  Benjamin Kosnik  <bkoz@redhat.com>
2510         * src/locale.cc (locale::locale(const char*)): Make sure global
2511         locales are initialized.
2512         * include/bits/locale_facets.tcc (locale::combine): Refcout should
2513         be zero, not one as it's return-by-value.
2514         * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
2515         named locales here.
2516         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
2517         for it here.
2518         (test02): Add test.
2519         * libsupc++/eh_alloc.cc: Use climits, not limits.h.
2521 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
2523         libstdc++/3284
2524         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
2525         * aclocal.m4: Regenerate.
2526         * configure: Regenerate.
2528 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
2530         libstdc++/3243
2531         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
2532         staged/installed area to support -I-.  Document.
2533         * aclocal.m4: Regenerate.
2534         * configure: Regenerate.
2536 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
2538         libstdc++/2211
2539         * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
2540         __out_bufsize.  Add __in_bufsize, document it and use it.
2542 2001-07-01  Stephen M. Webb <stephen@bregmasoft.com>
2544         * include/bits/stl_construct.h (construct): Remove.
2545         (destroy): Remove.
2546         (__destroy): Replaced by use of iterator_traits.
2547         * include/bits/stl_deque.h: replaced HP iterator functions with
2548         iterator_traits.
2549         (construct): changed to _Construct.
2550         (destroy): changed to _Destroy.
2551         * include/bits/stl_tempbuf.h: Same.
2552         * include/bits/stl_tree.h: Same.
2553         * include/bits/stl_vector.h: Same.
2554         * include/backward/iterator.h (construct): moved definition to here.
2555         (destroy): Same.
2557 2001-06-29  Benjamin Kosnik  <bkoz@redhat.com>
2559         * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
2560         before replacing facet.
2561         * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
2562         Correct decrement.
2563         * src/localename.cc (locale::_Impl): Correct ctor initialization
2564         lists. Initialize ref count with one. Simplify.
2565         * src/locale.cc: Add comment.
2566         * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
2567         * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
2568         * testsuite/22_locale/members.cc (test02): Fix.
2570 2001-06-27  Phil Edwards  <pme@sources.redhat.com>
2572         * include/backward/algo.h:  Add "GPL plus runtime exception" comment
2573         block, this time for real.
2574         * include/backward/algobase.h:  Likewise.
2575         * include/backward/alloc.h:  Likewise.
2576         * include/backward/bvector.h:  Likewise.
2577         * include/backward/defalloc.h:  Likewise.
2578         * include/backward/deque.h:  Likewise.
2579         * include/backward/function.h:  Likewise.
2580         * include/backward/hash_map.h:  Likewise.
2581         * include/backward/hash_set.h:  Likewise.
2582         * include/backward/hashtable.h:  Likewise.
2583         * include/backward/heap.h:  Likewise.
2584         * include/backward/iterator.h:  Likewise.
2585         * include/backward/list.h:  Likewise.
2586         * include/backward/map.h:  Likewise.
2587         * include/backward/multimap.h:  Likewise.
2588         * include/backward/multiset.h:  Likewise.
2589         * include/backward/pair.h:  Likewise.
2590         * include/backward/rope.h:  Likewise.
2591         * include/backward/set.h:  Likewise.
2592         * include/backward/slist.h:  Likewise.
2593         * include/backward/stack.h:  Likewise.
2594         * include/backward/strstream:  Likewise.
2595         * include/backward/tempbuf.h:  Likewise.
2596         * include/backward/tree.h:  Likewise.
2597         * include/backward/vector.h:  Likewise.
2598         * include/bits/pthread_allocimpl.h:  Likewise.
2599         * include/bits/std_algorithm.h:  Likewise.
2600         * include/bits/std_bitset.h:  Likewise.
2601         * include/bits/std_deque.h:  Likewise.
2602         * include/bits/std_functional.h:  Likewise.
2603         * include/bits/std_iterator.h:  Likewise.
2604         * include/bits/std_list.h:  Likewise.
2605         * include/bits/std_map.h:  Likewise.
2606         * include/bits/std_memory.h:  Likewise.
2607         * include/bits/std_numeric.h:  Likewise.
2608         * include/bits/std_queue.h:  Likewise.
2609         * include/bits/std_set.h:  Likewise.
2610         * include/bits/std_stack.h:  Likewise.
2611         * include/bits/std_utility.h:  Likewise.
2612         * include/bits/std_vector.h:  Likewise.
2613         * include/bits/stl_algo.h:  Likewise.
2614         * include/bits/stl_algobase.h:  Likewise.
2615         * include/bits/stl_alloc.h:  Likewise.
2616         * include/bits/stl_bvector.h:  Likewise.
2617         * include/bits/stl_construct.h:  Likewise.
2618         * include/bits/stl_deque.h:  Likewise.
2619         * include/bits/stl_function.h:  Likewise.
2620         * include/bits/stl_heap.h:  Likewise.
2621         * include/bits/stl_iterator.h:  Likewise.
2622         * include/bits/stl_iterator_base_funcs.h:  Likewise.
2623         * include/bits/stl_iterator_base_types.h:  Likewise.
2624         * include/bits/stl_list.h:  Likewise.
2625         * include/bits/stl_map.h:  Likewise.
2626         * include/bits/stl_multimap.h:  Likewise.
2627         * include/bits/stl_multiset.h:  Likewise.
2628         * include/bits/stl_numeric.h:  Likewise.
2629         * include/bits/stl_pair.h:  Likewise.
2630         * include/bits/stl_pthread_alloc.h:  Likewise.
2631         * include/bits/stl_queue.h:  Likewise.
2632         * include/bits/stl_raw_storage_iter.h:  Likewise.
2633         * include/bits/stl_relops.h:  Likewise.
2634         * include/bits/stl_set.h:  Likewise.
2635         * include/bits/stl_stack.h:  Likewise.
2636         * include/bits/stl_tempbuf.h:  Likewise.
2637         * include/bits/stl_threads.h:  Likewise.
2638         * include/bits/stl_tree.h:  Likewise.
2639         * include/bits/stl_uninitialized.h:  Likewise.
2640         * include/bits/stl_vector.h:  Likewise.
2641         * include/bits/type_traits.h:  Likewise.
2642         * include/ext/hash_map:  Likewise.
2643         * include/ext/hash_set:  Likewise.
2644         * include/ext/rope:  Likewise.
2645         * include/ext/ropeimpl.h:  Likewise.
2646         * include/ext/slist:  Likewise.
2647         * include/ext/stl_hash_fun.h:  Likewise.
2648         * include/ext/stl_hashtable.h:  Likewise.
2649         * include/ext/stl_rope.h:  Likewise.
2650         * src/bitset.cc:  Likewise.
2651         * src/strstream.cc:  Likewise.
2653 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
2654                              <vakatov@ncbi.nlm.nih.gov>
2656         libstdc++/3272
2657         * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
2658         * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
2659         * testsuite/27_io/istream_extractor_other.cc: Fix.
2661 2001-06-26  Zoltan Hidvegi  <hzoli@austin.ibm.com>
2663         * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
2664         * aclocal.m4: Regenerate.
2665         * configure: Regenerate.
2667 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
2669         * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
2670         (ostream_iterator): Same.
2671         * include/bits/stl_iterator.h (front_insert_iterator::operator=):
2672         Change argument to const_reference.
2673         (back_insert_iterator): Same.
2675 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
2677         * include/bits/sbuf_iter.h: Change to..
2678         * include/bits/streambuf_iterator.h: This.
2679         * include/bits/stl_iterator.h: Take out of here...
2680         * include/bits/stream_iterator.h: Add.
2681         * src/Makefile.am (base_headers): Add streambuf_iterator,
2682         stream_iterator.h
2683         * src/Makefile.in: Regenerate.
2684         * include/bits/std_string.h: Adjust includes.
2685         * include/bits/basic_ios.h: Same.
2686         * include/bits/locale_facets.tcc: Same.
2687         * include/bits/std_iosfwd.h: Same.
2689         * include/bits/std_iterator.h: Add istream, ostream includes.
2690         * include/bits/stl_iterator.h: Tweak.
2691         * testsuite/24_iterators/ostream_iterator.cc: Add test.
2692         * testsuite/24_iterators/istream_iterator.cc: Same.
2693         * testsuite/23_containers/multiset.cc: Add iterator include.
2695 2001-06-26  Phil Edwards  <pme@sources.redhat.com>
2697         * acinclude.m4:  Clean extraneous tabs, rewrap 'test' lines.
2698         * aclocal.m4:  Regenerate.
2699         * configure:  Regenerate.
2701 2001-06-26  Felix Natter  <f.natter@ndh.net>
2703         * docs/html/17_intro/porting-howto.html:  Fixed some errors.
2705 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
2707         * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
2708         return values.
2709         (istream_iterator::operator*): Same.
2711 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
2712             Alexandre Petit-Bianco  <apbianco@redhat.com>
2714         * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
2715         is on 41st, not 14th.
2717 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
2719         * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
2721         * include/bits/stl_iterator.h (istream_iterator): Inherit from
2722         iterator.
2723         (ostream_iterator): Same.
2724         * testsuite/24_iterators/istream_iterator.cc: New file.
2725         * testsuite/24_iterators/ostream_iterator.cc: New file.
2727         * include/bits/sbuf_iter.h: Remove self typedef.
2728         * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
2729         * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
2731         * include/bits/stl_iterator.h (reverse_iterator): Remove
2732         extraneous typedefs. Add typename.
2733         (__normal_iterator): Remove typedefs referring to self. Add typename.
2734         (reverse_bidiretional_iterator): Remove, not longer required.
2736 2001-06-26  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2738         * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
2739         dependent names with `typename'.  Bring in various required
2740         iterator_traits members.  Can't imagine why that used to work.
2742 2001-06-25  Phil Edwards  <pme@sources.redhat.com>
2743             Kurt Garloff <garloff@suse.de>
2745         PR libstdc++/3377
2746         * src/cmath.cc:  New [version of an old] file; instantiate
2747         __cmath_power to start with.
2748         * src/Makefile.am (sources):  Add cmath.cc (and alphabetize).
2749         * Makefile.in:  Regenerate.
2750         * libio/Makefile.in:  Regenerate.
2751         * libmath/Makefile.in:  Regenerate.
2752         * libsupc++/Makefile.in:  Regenerate.
2753         * src/Makefile.in:  Regenerate.
2754         * testsuite/Makefile.in:  Regenerate.
2756 2001-06-24  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2758         * libmath/stubs.c: Fix thinko.
2760 2001-06-24  David Edelsohn <dje@watson.ibm.com>
2762         * libmath/stubs.c (sqrtf): Define.
2763         (tanf): Correct typo.
2765 2001-06-22  Benjamin Kosnik  <bkoz@redhat.com>
2767         * include/bits/stl_iterator.h (reverse_iterator): Inherit from
2768         iterator.
2769         (back_insert_iterator): Same.
2770         (front_insert_iterator): Same.
2771         (insert_iterator): Same.
2773         * testsuite/20_util/raw_storage_iterator.cc: Modify.
2774         * testsuite/24_iterators/reverse_iterator.cc: New file.
2775         * testsuite/24_iterators/back_insert_iterator.cc: New file.
2776         * testsuite/24_iterators/front_insert_iterator.cc: New file.
2777         * testsuite/24_iterators/insert_iterator.cc: New file.
2779 2001-06-22  Phil Edwards  <pme@sources.redhat.com>
2781         * include/*:  Revert comment/license change from yesterday for all
2782         except libsupc++/unwind-cxx.h.
2783         * src/bitset.cc:  Likewise.
2784         * src/strstream.cc:  Likewise.
2786 2001-06-22  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2788         * libmath/stubs.c: New file.
2789         (tanhf): Fix typo.
2790         (powf): Likewise.
2792         * libmath/Makefile.am (libmath_la_SOURCES): Add.
2793         * libmath/Makefile.in.  Regenerate.
2795 2001-06-21  Phil Edwards  <pme@sources.redhat.com>
2797         * include/backward/algo.h:  Add "GPL plus runtime exception" comment.
2798         * include/backward/algobase.h:  Likewise.
2799         * include/backward/alloc.h:  Likewise.
2800         * include/backward/bvector.h:  Likewise.
2801         * include/backward/defalloc.h:  Likewise.
2802         * include/backward/deque.h:  Likewise.
2803         * include/backward/function.h:  Likewise.
2804         * include/backward/hash_map.h:  Likewise.
2805         * include/backward/hash_set.h:  Likewise.
2806         * include/backward/hashtable.h:  Likewise.
2807         * include/backward/heap.h:  Likewise.
2808         * include/backward/iterator.h:  Likewise.
2809         * include/backward/list.h:  Likewise.
2810         * include/backward/map.h:  Likewise.
2811         * include/backward/multimap.h:  Likewise.
2812         * include/backward/multiset.h:  Likewise.
2813         * include/backward/pair.h:  Likewise.
2814         * include/backward/rope.h:  Likewise.
2815         * include/backward/set.h:  Likewise.
2816         * include/backward/slist.h:  Likewise.
2817         * include/backward/stack.h:  Likewise.
2818         * include/backward/strstream:  Likewise.
2819         * include/backward/tempbuf.h:  Likewise.
2820         * include/backward/tree.h:  Likewise.
2821         * include/backward/vector.h:  Likewise.
2822         * include/bits/pthread_allocimpl.h:  Likewise.
2823         * include/bits/std_algorithm.h:  Likewise.
2824         * include/bits/std_bitset.h:  Likewise.
2825         * include/bits/std_deque.h:  Likewise.
2826         * include/bits/std_functional.h:  Likewise.
2827         * include/bits/std_iterator.h:  Likewise.
2828         * include/bits/std_list.h:  Likewise.
2829         * include/bits/std_map.h:  Likewise.
2830         * include/bits/std_memory.h:  Likewise.
2831         * include/bits/std_numeric.h:  Likewise.
2832         * include/bits/std_queue.h:  Likewise.
2833         * include/bits/std_set.h:  Likewise.
2834         * include/bits/std_stack.h:  Likewise.
2835         * include/bits/std_utility.h:  Likewise.
2836         * include/bits/std_vector.h:  Likewise.
2837         * include/bits/stl_algo.h:  Likewise.
2838         * include/bits/stl_algobase.h:  Likewise.
2839         * include/bits/stl_alloc.h:  Likewise.
2840         * include/bits/stl_bvector.h:  Likewise.
2841         * include/bits/stl_construct.h:  Likewise.
2842         * include/bits/stl_deque.h:  Likewise.
2843         * include/bits/stl_function.h:  Likewise.
2844         * include/bits/stl_heap.h:  Likewise.
2845         * include/bits/stl_iterator.h:  Likewise.
2846         * include/bits/stl_iterator_base_funcs.h:  Likewise.
2847         * include/bits/stl_iterator_base_types.h:  Likewise.
2848         * include/bits/stl_list.h:  Likewise.
2849         * include/bits/stl_map.h:  Likewise.
2850         * include/bits/stl_multimap.h:  Likewise.
2851         * include/bits/stl_multiset.h:  Likewise.
2852         * include/bits/stl_numeric.h:  Likewise.
2853         * include/bits/stl_pair.h:  Likewise.
2854         * include/bits/stl_pthread_alloc.h:  Likewise.
2855         * include/bits/stl_queue.h:  Likewise.
2856         * include/bits/stl_raw_storage_iter.h:  Likewise.
2857         * include/bits/stl_relops.h:  Likewise.
2858         * include/bits/stl_set.h:  Likewise.
2859         * include/bits/stl_stack.h:  Likewise.
2860         * include/bits/stl_tempbuf.h:  Likewise.
2861         * include/bits/stl_threads.h:  Likewise.
2862         * include/bits/stl_tree.h:  Likewise.
2863         * include/bits/stl_uninitialized.h:  Likewise.
2864         * include/bits/stl_vector.h:  Likewise.
2865         * include/bits/type_traits.h:  Likewise.
2866         * include/ext/hash_map:  Likewise.
2867         * include/ext/hash_set:  Likewise.
2868         * include/ext/rope:  Likewise.
2869         * include/ext/ropeimpl.h:  Likewise.
2870         * include/ext/slist:  Likewise.
2871         * include/ext/stl_hash_fun.h:  Likewise.
2872         * include/ext/stl_hashtable.h:  Likewise.
2873         * include/ext/stl_rope.h:  Likewise.
2874         * libsupc++/unwind-cxx.h:  Likewise.
2875         * src/bitset.cc:  Likewise.
2876         * src/strstream.cc:  Likewise.
2878 2001-06-21  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2880         * include/bits/indirect_array.h (indirect_array<>::operator=):
2881         Make copy and assignment operator public.  Implement.  Format.
2883         * include/bits/valarray_array.h (__valarray_copy): Add overloads
2884         for copy between index arrays.  Format.
2886 2001-06-19  Benjamin Kosnik  <bkoz@redhat.com>
2888         * mknumeric_limits: Add static definitions, format.
2889         * testsuite/18_support/numeric_limits.cc (test02): Add test.
2891         * include/c_std/bits/std_cwchar.h: Include ctime.
2892         * testsuite/17_intro/header_cwchar.cc : Check.
2894         * include/c_std/bits/std_cwctype.h: Inject wctype.
2895         * testsuite/17_intro/header_cwctype.cc: Update.
2897 2001-06-18  Benjamin Kosnik  <bkoz@redhat.com>
2899         * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
2900         * testsuite/20_util/raw_storage_iterator.cc: Same.
2902         * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
2903         operator new.
2904         (__mem_interface): New typedef for switching between malloc and new.
2905         * testsuite/20_util/allocator_members.cc: New file.
2907         * testsuite/20_util/comparisons.cc: New file.
2908         * testsuite/20_util/pairs.cc: New file.
2910 2001-06-15  Phil Edwards  <pme@sources.redhat.com>
2912         * docs/html/documentation.html:  Point to new doxygen'ed collection.
2914 2001-06-14  Nathan Sidwell  <nathan@codesourcery.com>
2916         * configure.in (auxdir): Replace by ...
2917         (toprel): ... new variable.
2918         (toplevel_srcdir): Construct from $toprel.
2919         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
2920         rather than .. to locate gcc source directory.
2921         (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
2922         * aclocal.m4, configure: Rebuilt.
2924 2001-06-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2926         (Approved by Mark and Benjamin.  Applied by Loren.)
2928         * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
2929         _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
2930         and _GLIBCPP_mutex_address.
2931         * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
2932         once-only runtime initialization of _M_lock mutex when
2933         __GTHREAD_MUTEX_INIT_FUNCTION is defined.
2934         (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
2935         for __GTHREAD_MUTEX_INIT_FUNCTION case.
2937 2001-06-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2939         * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
2941         * include/bits/slice_array.h (slice_array<>::operator=): Make
2942         public and implement.
2943         (slice_array<>::slice_array): Make copy-constructor public.
2945         * include/bits/valarray_array.h (__valarray_copy): Add another
2946         overload to copy between strided arrays.
2948 2001-06-13  Benjamin Kosnik  <bkoz@redhat.com>
2950         * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
2951         * aclocal.m4: Regenerate.
2952         * configure: Regenerate.
2953         * include/bits/c++config (__GLIBCPP__): Update date.
2955 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
2957         * include/bits/fpos.h (fpos::operator-): Don't return reference,
2958         return original, non-modified version.
2959         (fpos::operator+): Same.
2960         * testsuite/27_io/fpos.cc: Add test.
2962 2001-06-12  Loren J. Rittle  <ljrittle@acm.org>
2964         libstdc++/2071
2965         * porting.texi: Add documentation about libstdc++-v3-specific
2966         macros that are currently included in os_defines.h files.
2968         * config/basic_file_stdio.h (sys_getc): New method.
2969         (sys_ungetc): New method.
2970         * include/bits/basic_file.h: (sys_getc): New method signature.
2971         (sys_ungetc): New method signature.
2973         * include/bits/fstream.tcc (underflow): Add conditional code
2974         paths which avoid using short seeks on streams (especially
2975         useful when the stream might be interactive or a pipe).  At
2976         the moment, this alternate path only avoids seeking when the
2977         ``buffer size'' of underflow() is 1 since the C standard only
2978         guarantees buffer space for one ungetc (this technique could
2979         be extended since *-*-solaris* supports buffering for 4 calls
2980         to ungetc and *-*-*bsd* supports buffering limited only by
2981         memory resources).  Also, _GLIBCPP_AVOID_FSEEK must be defined
2982         in a port's os_defines.h file for this alternate path to even
2983         be considered.  As a bonus, the idiom of using getc/ungetc
2984         requires no system calls whereas fseek maps to one or two
2985         system call(s) on many platforms.
2987         * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
2988         Define it.
2989         * config/os/solaris/solaris2.5/bits/os_defines.h
2990         (_GLIBCPP_AVOID_FSEEK): Likewise.
2991         * config/os/solaris/solaris2.6/bits/os_defines.h
2992         (_GLIBCPP_AVOID_FSEEK): Likewise.
2993         * config/os/solaris/solaris2.7/bits/os_defines.h
2994         (_GLIBCPP_AVOID_FSEEK): Likewise.
2996 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
2998         * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
2999         AC_TRY_COMPILE, so that the built compiler is checked, and
3000         bootstraps or cross compiles with an older compile still work.
3001         * aclocal.m4: Regenerate.
3002         * configure: Regenerate.
3004 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
3006         libstdc++/3142
3007         * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
3009         libstdc++/3141
3010         * include/bits/istream.tcc (getline, get): Fix as per DR 243.
3012         libstdc++/3140
3013         * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
3015         libstdc++/3139
3016         * include/bits/limits_generic.h: Fix as per DR 184.
3018 2001-06-11  Benjamin Kosnik  <bkoz@redhat.com>
3020         libstdc++/3126
3021         * include/bits/basic_string.h (string::compare): Adjust signatures
3022         as per DR 5.
3023         * include/bits/basic_string.tcc: And here.
3025         libstdc++/2346
3026         * config/c_io_stdio.h: Remove whitespace.
3027         * testsuite/27_io/istream_seeks.cc (test03): Add regression.
3028         (test02): Add regression.
3029         * testsuite/27_io/istream_seeks-3.tst: New file.
3031 2001-06-11  Phil Edwards  <pme@sources.redhat.com>
3033         * README:  Update to reflect reality.
3034         * acinclude.m4:  Update descriptions, fix typos.  Comment changes only.
3035         * configure.in:  Make certain target_alias is set and subst'd for 2.50.
3036         * aclocal.m4:  Regenerate.
3037         * configure:  Regenerate (with 2.13).
3039 2001-06-11  Benjamin Kosnik  <bkoz@redhat.com>
3041         libstdc++/3114
3042         * include/bits/ostream.tcc (ostream::seekp): Add error checking as
3043         per DR 129.
3044         * include/bits/istream.tcc (istream::seekg): Same.
3045         * testsuite/27_io/istream_seeks.cc: Fix.
3047         libstdc++/3113
3048         * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
3049         (binder1st): Same.
3050         * include/bits/std_queue.h: Add c++config.h.
3051         * testsuite/20_util/binders.cc: New test.
3053 2001-06-11  Matthias Klose  <doko@debian.org>
3054             Phil Edwards  <pme@sources.redhat.com>
3056         * docs/doxygen/run_doxygen (find_doxygen):  Tweak version check.
3057         (main script):  Echo more information.
3059 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
3061         * include/c_std/bits/std_cwchar.h: Alphabetize.
3062         * include/bits/char_traits.h: Tweak.
3063         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
3064         everything used by std_cwchar.h.
3065         * aclocal.m4: Regenerate.
3066         * configure.in: Regenerate.
3067         * config.h.in: Regenerate.
3069 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
3071         * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
3072         Add checking for strtof, _Exit in stdlib.h
3073         * aclocal.m4: Regenerate.
3074         * configure.in: Regenerate.
3075         * include/c_std/bits/std_cstdio.h: Alphabetize lists.
3076         (snprintf): Put C99 functions into __gnu_cxx namespace.
3077         (vfscanf): Same.
3078         (vscanf): Same.
3079         (vsnprintf): Same.
3080         (vsscanf): Same.
3081         * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
3082         for C99 functions within _GLIBCPP_USE_C99 guard.
3083         (_Exit): Same.
3084         (strtof): Same.
3085         (strtold): Same.
3086         * include/bits/locale_facets.tcc: Check if C99 is enabled.
3087         * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
3088         C99 guard.
3089         * include/c_std/bits/cmath.tcc: Formatting tweak.
3090         * include/c_std/bits/std_cmath.h: Same.
3092 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
3094         * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
3096 2001-06-09  Alexandre Oliva  <aoliva@redhat.com>
3097             Stephen L Moshier  <moshier@mediaone.net>
3099         * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
3100         nothing, as in autoconf 2.50.
3101         * configure: Rebuilt.
3103 2001-06-09  Benjamin Kosnik  <bkoz@redhat.com>
3105         * include/c_std/bits/std_cwchar.h: Remove size_t injection,
3106         include std_cstddef.
3107         * include/c_std/bits/std_ctime.h: Same.
3108         * include/c_std/bits/std_cstring.h: Same.
3109         * include/c_std/bits/std_cstdlib.h: Same.
3111         * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
3112         * include/c_std/bits/std_cctype.h: Remove isblank.
3114 2001-06-09  Benjamin Kosnik  <bkoz@redhat.com>
3116         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
3117         fgetws.
3118         * aclocal.m4: Regenerate.
3119         * configure: Regenerate.
3120         * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
3121         injection, guard fgetwc, fgetws.
3122         * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
3123         * include/c_std/bits/std_clocale.h: And here.
3124         * include/c_std/bits/std_cctype.h: And here.
3125         * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
3127         * config/basic_file_stdio.h: Don't include unistd.h.
3128         * config/c_io_stdio.h: Don't use compatibility headers.
3129         * libsupc++/eh_terminate.cc: Qualify abort.
3130         (__terminate): And here.
3131         * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
3133 2001-06-08  Benjamin Kosnik  <bkoz@redhat.com>
3135         * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
3137 2001-06-08  Benjamin Kosnik  <bkoz@redhat.com>
3139         libstdc++/2767
3140         libstdc++/2989
3141         libstdc++/2992
3142         * include/std/*: Add copyright notice.
3143         * include/c_std/bits/*: Use using statements instead of extern "C".
3144         * include/c_std/bits/std_cmath.h: Don't overload double versions
3145         of math functions with __buitin versions, use global version to
3146         prevent ambiguities. Remove define hacks.
3147         * include/c_std/bits/std_cwchar.h: Using declarations for "C"
3148         functions that have changed signatures and std::
3149         declarations. Remove define hacks.
3150         * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
3151         __builtins in std::. Remove define hacks.
3152         * testsuite/17_intro/headers_c.cc: Add tests.
3153         * testsuite/17_intro/headers_c++.cc: Add test.
3155 2001-06-07  Loren J. Rittle  <ljrittle@acm.org>
3156             John David Anglin  <dave@hiauly1.hia.nrc.ca>
3158         c++/3082
3159         * libsupc++/eh_alloc.cc: Ensure that required macros are
3160         defined before including gthr.h.  Ensure that we get the
3161         version of gthr.h for which we know how to provide a
3162         configuration.
3163         * libsupc++/eh_globals.cc: Likewise.  And, bring the threading
3164         code path into line with the current EH model.  Use std, where
3165         appropriate.
3167 2001-06-07  Loren J. Rittle  <ljrittle@acm.org>
3168             John David Anglin  <dave@hiauly1.hia.nrc.ca>
3170         * config/threads-no.h: Remove file.
3171         * config/threads-posix.h: Remove file.
3173         * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
3174         (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
3175         (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
3176         * config.h.in: Regenerate.
3178         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
3179         setup and use gthr*.h files.  In particular, make gthr.h files
3180         namespace-clean in the staging area (they don't have to be for
3181         libgcc.a).
3182         * aclocal.m4: Regenerate.
3183         * configure: Regenerate.
3185         * src/Makefile.am (build_headers): Remove bits/c++threads.h
3186         and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
3187         * src/Makefile.in: Regenerate.
3189         * include/bits/c++config: Cleanup threading configuration macros.
3190         In particular, define __STL_GTHREADS macro which controls...
3191         * include/bits/stl_threads.h: ...a brand new gthr.h-based
3192         configuration here.
3194         * config/c_io_stdio.h: Include staged gthr.h instead of local
3195         thread configuration file.  Always use __gthread_mutex_t
3196         instead of __mutext_type (or int).
3197         * include/bits/std_fstream.h: Likewise.
3199         * docs/html/17_intro/howto.html: Remove placeholder comment in
3200         case this configuration patch didn't make it.  Add advice that
3201         section only applies if configured with --enable-threads.
3202         * docs/html/23_containers/howto.html: Reword to make clear
3203         that _PTHREADS is no longer required for any port to be
3204         correctly using STL with threads.  Add advice that section
3205         only applies if configured with --enable-threads.
3207 2001-06-06  Benjamin Kosnik  <bkoz@redhat.com>
3209         * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
3211 2001-06-05  Benjamin Kosnik  <bkoz@redhat.com>
3213         libstdc++/3045
3214         * include/bits/basic_ios.tcc: Formatting tweaks.
3215         * include/bits/ios_base.h: Formatting tweaks.
3216         * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
3217         (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
3218         * src/globals.cc: Allocate filebufs for standard streams here.
3219         (buf_cout, buf_cin, buf_cerr): Like so.
3220         (buf_wcout, buf_wcin, buf_wcerr): And so.
3221         * testsuite/27_io/ios_init.cc: Add.
3223 2001-06-04  Brendan Kehoe  <brendan@zen.org>
3224             Benjamin Kosnik  <bkoz@redhat.com>
3226         libstdc++/3017
3227         * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
3228         for generic ctype virtuals.
3229         * src/locale.cc: Minor tweaks, naming consistency.
3230         * testsuite/22_locale/ctype.cc: Add test.
3232 2001-06-04  Kenny Simpson <theonetruekenny@yahoo.com>
3233             Phil Edwards  <pme@sources.redhat.com>
3235         PR libstdc++/3035 and PR libstdc++/3036
3236         * include/bits/stl_pair.h:  Fix pair ctor and make_pair according
3237         to LWG DR 181 and 265.
3239 2001-06-04  Phil Edwards  <pme@sources.redhat.com>
3241         PR libstdc++/3034
3242         * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
3243         equal_range):  Add const overloads as per LWG DR 214.
3244         * include/bits/stl_set.h:  Likewise.
3246 2001-06-04  Brendan Kehoe  <brendan@zen.org>
3247             Phil Edwards  <pme@sources.redhat.com>
3249         PR libstdc++/3018
3250         * include/bits/std_bitset.h (bitset::test):  Fix __pos >= _Nb
3251         comparison; all positions must be < _Nb.
3252         * testsuite/23_containers/bitset_members.cc:  New file.
3254 2001-06-04  Brendan Kehoe  <brendan@zen.org>
3256         PR libstdc++/3016
3257         * include/bits/stl_queue.h (classes queue, priority_queue):  Fix
3258         ctors to match the standard.
3260 2001-06-04  Jeffrey Oldham  <oldham@codesourcery.com>
3262         * include/bits/char_traits.h (move): Reverse qualification of
3263         memmove with std::.
3264         (copy): Reverse qualification of memcpy with std::.
3266 2001-06-04  Jeffrey Oldham  <oldham@codesourcery.com>
3268         * include/bits/char_traits.h (move): Qualify memmove with std::.
3269         (copy): Qualify memcpy with std::.
3270         * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
3271         strncmp with std::.
3272         (test02): Likewise.
3273         * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
3275 2001-06-04  Hans-Peter Nilsson  <hp@axis.com>
3277         * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
3278         uninstall-glibcppinstallHEADERS): Have explicit rules catering to
3279         SUN make VPATH peculiarities.
3280         * libsupc++/Makefile.in: Regenerate.
3282 2001-06-01  Hans-Peter Nilsson  <hp@axis.com>
3284         * src/Makefile.am (VPATH): Delimit with ":", not space.
3285         * src/Makefile.in: Regenerate.
3287         * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
3288         make isn't found.
3289         * configure: Regenerate.
3291 2001-05-31  scott snyder  <snyder@fnal.gov>
3293         libstdc++/2976
3294         * include/bits/istream.tcc: Include std_ostream.h.
3296 2001-05-31  Benjamin Kosnik  <bkoz@redhat.com>
3298         libstdc++/2997
3299         * src/bitset.cc: Qualify size_t with std::.
3301 2001-05-30  Benjamin Kosnik  <bkoz@redhat.com>
3303         * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
3304         (_GLIBCPP_BUGGY_COMPLEX): Remove.
3305         * config.h.in: Regenerate.
3306         * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
3307         * aclocal.m4: Regenerate.
3308         * configure.in: Don't call it.
3309         * configure: Regenerate.
3311         libstdc++/2970
3312         * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
3313         * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
3314         New test.
3316         libstdc++/2985
3317         * include/bits/std_complex.h: Include sstream. Put definitions for
3318         complex inserters and extractors here, and remove them from...
3319         * src/complex_io.cc: ...here.
3320         * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
3321         parameter.
3322         (basic_ios::__numget_type): Same.
3323         * include/bits/std_istream.h: Same.
3324         * include/bits/std_ostream.h: Same.
3325         * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
3326         class iterator template arguments.
3327         * src/locale-inst.cc: Add explicit has_facet instantiations.
3328         * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
3329         (_M_get_fnumput): Remove.
3330         (_M_get_fnumget): Remove.
3331         (basic_ios::_M_check_facet): New function.
3332         (basic_ios::_M_cache_facets): New function.
3333         * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
3334         (basic_ios::imbue): Call _M_cache_facets.
3335         (basic_ios::init): Same.
3336         * include/bits/istream.tcc: Format, use _M_check_facet.
3337         * include/bits/ostream.tcc: Same.
3338         * include/bits/locale_facets.tcc (__output_float): Change
3339         signature, add _Traits.
3340         * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
3341         New test.
3343 2001-05-30  Loren J. Rittle  <ljrittle@acm.org>
3345         * include/bits/c++config (__USE_MALLOC): Do not define it.
3346         Document why not and give pointers to more information.
3348         * docs/html/23_containers/howto.html: Update documentation
3349         to reflect recent understanding of problem.
3350         * docs/html/17_intro/howto.html: Likewise.
3352 2001-05-30  Phil Edwards  <pme@sources.redhat.com>
3354         * docs/doxygen/user.cfg.in:  Minor addition.
3355         * docs/html/documentation.html:  Reorganize.  Put most-looked-at
3356         stuff first.
3357         * docs/html/install.html:  Update for 3.0.  HTML fixups.
3358         * docs/html/17_intro/howto.html:  Likewise.
3359         * docs/html/18_support/howto.html:  Likewise.
3360         * docs/html/19_diagnostics/howto.html:  Likewise.
3361         * docs/html/20_util/howto.html:  Likewise.
3362         * docs/html/23_containers/howto.html:  Likewise.
3363         * docs/html/24_iterators/howto.html:  Likewise.  More notes.
3364         * docs/html/25_algorithms/howto.html:  Likewise.
3365         * docs/html/26_numerics/howto.html:  Likewise.  More notes.
3366         * docs/html/27_io/howto.html:  Likewise.
3367         * docs/html/ext/howto.html:  Likewise.
3368         * docs/html/faq/index.html:  Likewise.
3369         * docs/html/faq/index.txt:  Regenerate.
3370         * docs/html/27_io/iostreams_hierarchy.pdf:  Remove in favor of
3371         Doxygen-created documentation.
3373 2001-05-30  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3375         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
3376         get_multilibs to find gcc.
3378 2001-05-30  Phil Edwards  <pme@sources.redhat.com>
3380         * acinclude.m4 (GLIBCPP_ENABLE_C99):  Reorder output messages.
3381         * aclocal.m4:  Regenerate.
3382         * configure:  Regenerate.
3384 2001-05-29  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3386         * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
3387         * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
3389 2001-05-27  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3391         * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
3392         * include/c_std/bits/std_cstdlib.h: Same.
3393         * include/c_std/bits/std_cwchar.h: Same.
3395 2001-05-30  Loren J. Rittle  <ljrittle@acm.org>
3397         * docs/html/17_intro/howto.html: Update link.
3398         * docs/html/23_containers/howto.html: Likewise.  Add new link.
3400 2001-05-26  Gabriel Dos Reis  <gdr@codesourcery.com>
3402         * include/c_std/bits/std_cmath.h (sqrt): #undef.
3404 2001-05-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3406         * mknumeric_limits: Stop if gen-num-limits dies.
3408 2001-05-25  Benjamin Kosnik  <bkoz@redhat.com>
3410         other/2931
3411         * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
3412         * aclocal.m4: Regenerate.
3413         * configure: Same.
3415 2001-05-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3416             Phil Edwards  <pme@sources.redhat.com>
3417             Alexandre Oliva  <aoliva@redhat.com>
3419         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
3420         in an amd-safe manner. Revert glibcpp_prefixdir.
3422 2001-05-25  Gabriel Dos Reis  <gdr@codesourcery.com>
3424         * include/c_std/bits/std_cmath.h: Tweak.  #define away abs, cos,
3425         fabs, sin, sqrt.  They are now implemented in terms of __builtin_
3426         variants.
3428 2001-05-24  Benjamin Kosnik  <bkoz@redhat.com>
3430         libstdc++/2830
3431         * testsuite/21_strings/inserters_extractors.cc (test09): New test.
3432         * include/bits/ostream.tcc: Format to match istream.tcc.
3433         (operator<<(basic_ostream __out, const basic_string __s)): Fix.
3435 2001-05-24  Phil Edwards  <pme@sources.redhat.com>
3437         * libsupc++/eh_alloc.cc (__cxa_allocate_exception):  Qualify
3438         malloc with std:: .
3439         (__cxa_free_exception):  Likewise with free.
3441 2001-05-24  Mark Mitchell  <mark@codesourcery.com>
3443         * include/c_std/bin/std_cstring.h: #define away all global
3444         functions we will redeclare in namespace `std'.
3445         * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
3446         std::memset, instead of memset.
3447         * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
3448         not plain `strcmp'.
3449         * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
3450         plain `strcpy'.
3452 2001-05-24  Benjamin Kosnik  <bkoz@redhat.com>
3454         libstdc++/2832
3455         * include/bits/basic_ios.tcc: Small tweak.
3456         * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
3457         ctors and dtors, and rdbuf settings.
3458         (ofstream): Same.
3459         (fstream): Same.
3460         * include/bits/std_sstream.h: Same, but for stringstream classes.
3461         * testsuite/27_io/ostringstream_members.cc: New.
3462         * testsuite/27_io/stringstream_members.cc: New.
3463         * testsuite/27_io/fstream_members.cc: New.
3464         * testsuite/27_io/ifstream_members.cc: Add test.
3465         * testsuite/27_io/istringstream_members.cc: Add test.
3466         * testsuite/27_io/ofstream_members.cc: Add test.
3468 2001-05-24  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3470         * include/bits/c++config(__NO_MATH_INLINES): Move to...
3471         * config/os/gnu-linux/bits/os_defines.h: ...here.
3473 2001-05-24  Gabriel Dos Reis  <gdr@codesourcery.com>
3475         * include/bits/c++config (__NO_MATH_INLINES): New macro.
3476         * testsuite/26_numerics/fabs_inline.cc (main): New test.
3478 2001-05-22  Benjamin Kosnik  <bkoz@redhat.com>
3480         libstdc++/2841
3481         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
3482         ld_library_path.
3483         (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
3484         (libstdc++-v3-finish): Remove.
3485         (libstdc++-v3_exit): Remove.
3487 2001-05-22  Phil Edwards  <pme@sources.redhat.com>
3489         * docs/html/documentation.html:  Point to doxygen output.
3491 2001-05-21  Benjamin Kosnik  <bkoz@redhat.com>
3493         * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
3495         * include/bits/std_sstream.h (stringbuf::setbuf): Require both
3496         arguments to be non-null.
3497         * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
3498         try allocations if allocated size is greater than zero.
3499         (filebuf::_M_filebuf_init): Change to
3500         (filebuf::_M_allocate_file): Which is what it does now.
3501         (filebuf::_M_allocate_bufers): Change to
3502         (filebuf::_M_allocate_internal_buffer): This, and create
3503         (filebuf::_M_allocate_pback_buffer): New.
3504         (filebuf::_M_destroy_internal_buffer): New.
3505         (filebuf::_M_buf_allocated): New data member.
3506         (filebuf::setbuf): Use new logic, allow use of external buffer.
3507         * testsuite/27_io/stringbuf_virtuals.cc: New file.
3508         * testsuite/27_io/filebuf_virtuals.cc: New file.
3510 2001-05-21  Stephen M. Webb  <stephen@bregmasoft.com>
3512         * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
3513         __glibcpp_memchr.
3514         (strchr): Same, but to __glibcpp_strchr.
3515         (strpbrk): Same.
3516         (strrchr): Same.
3517         (strstr): Same.
3518         * include/c_std/bits/std_cwchar.h (wcschr): Same.
3519         (wcsbrk): Same.
3520         (wcsrchr): Same.
3521         (wcsstr): Same.
3522         (wmemchr): Same.
3524 2001-05-21  Benjamin Kosnik  <bkoz@redhat.com>
3526         * testsuite/21_strings/c_strings.cc (main): Fix.
3528 2001-05-19  Phil Edwards  <pme@sources.redhat.com>
3530         * acinclude.m4:  Fix --help spacing, correct comments.
3531         * aclocal.m4:  Regenerate.
3532         * configure:  Regenerate.
3533         * mkcheck.in:  Add usage comments.
3534         * docs/html/documentation.html:  Point to doxygen'd tarball.
3536 2001-05-18  Benjamin Kosnik  <bkoz@redhat.com>
3538         * testsuite/README: Add notes.
3540         * src/Makefile.am (libstdc++.INC): Remove.
3541         * src/Makefile.in: Regenerate.
3543         Phil Edwards <pedwards@disaster.jaj.com>
3544         * mkcheck.in: Add missing '#'.
3546 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
3548         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
3549         appropriately for remote testing and testing installed files without
3550         a build dir.
3552 2001-05-18  Benjamin Kosnik  <bkoz@redhat.com>
3554         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
3555         amd glibcpp_prefixdir with absolute paths.
3557         * include/bits/c++config (__GLIBCPP__): Bump.
3558         * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
3560 2001-05-18  Gabriel Dos Reis  <gdr@codesourcery.com>
3562         * include/bits/std_valarray.h (valarray<>::operator[] const):
3563         Return a const reference.
3564         * testsuite/26_numerics/valarray_const_bracket.cc: New test.
3566 2001-05-18  Alexandre Oliva  <aoliva@redhat.com>
3568         * configure.target (ATOMICITYH): Actually use AIX-specific code on
3569         earlier versions of AIX 4.*.
3571 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
3573         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test):  Set
3574         output_file based on the name of the testcase.
3576 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
3578         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):  Build
3579         gluefile and use it if needs_status_wrapper is set.
3581 2001-05-18  Alexandre Oliva  <aoliva@redhat.com>
3583         * configure.target (ATOMICITYH): Use cpu/generic code on earlier
3584         versions of AIX.
3586 2001-05-17  Alexandre Oliva  <aoliva@redhat.com>
3588         * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
3589         on earlier versions of AIX.
3591 2001-05-15  Benjamin Kosnik  <bkoz@redhat.com>
3593         * testsuite_flags.in (query): Add backwards, ext directories.
3595 2001-05-15  Mark Mitchell  <mark@codesourcery.com>
3597         * porting.texi: Correct documentation about handling
3598         _LARRGEFILE_SOURCE and its ilk.
3599         * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
3600         definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
3601         __EXTENSIONS__.
3602         * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
3603         * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
3605 2001-05-15  Zack Weinberg  <zackw@stanford.edu>
3607         * testsuite/21_strings/inserters_extractors.cc,
3608         testsuite/27_io/istream_unformatted.cc,
3609         testsuite/27_io/stringstream.cc:
3610         Replace multi-line string constants with C89-style
3611         concatenated string constants.
3613 2001-05-14  Richard Henderson  <rth@redhat.com>
3615         * mknumeric_limits: Build with -fno-exceptions.
3617 2001-05-13   Benjamin Kosnik  <bkoz@redhat.com>
3619         Switch over to new harness.
3620         * testsuite_flags.in: Tweaks via Gaby.
3621         * testsuite/Makefile.am: Change tool to libstdc++-v3.
3622         (EXPECT): Quote directly.
3623         (RUNTEST): Same.
3624         * configure.in: Output testsuite_flags.
3625         * acinclude.m4: Substitute src, bld, and prefix dirs.
3626         Remove glibcpp_expect, glibcpp_runtestflags.
3627         * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
3628         * mkcheck.in: Port to new interface.
3630         * aclocal.m4: Regerate.
3631         * configure: Regnerate.
3632         * Makefile.in: Regnerate.
3633         * */Makefile.in: Regenerate.
3635         * tests_flags.in: Remove.
3636         * testsuite/lib/libstdc++.exp: Remove.
3637         * testsuite/libstdc++.tests/tests.exp: Remove.
3639 2001-05-13  Alexandre Oliva  <aoliva@redhat.com>
3641         * configure.target: Remove detection of AIX pthread multilib, now
3642         obtained from `gcc -v'.
3644 2001-05-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3646         * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
3647         size.  Add hpux case for HP size.
3649 2001-05-11   Benjamin Kosnik  <bkoz@redhat.com>
3651         * testsuite_flags.in: New, simplified interface.
3652         * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
3653         * testsuite/libstdc++-v3.dg: Add.
3654         * testsuite/libstdc++-v3.dg/dg.exp: Add.
3656 2001-05-11   Benjamin Kosnik  <bkoz@redhat.com>
3658         * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
3659         * testsuite/config/default.exp: Update bugs email address.
3661 2001-05-11  Richard Henderson  <rth@redhat.com>
3663         * libsupc++/eh_personality.cc: Include unwind-pe.h.  Remove
3664         all pointer encoding logic.
3665         (struct lsda_header_info): Add ttype_base.
3666         (get_ttype_entry): Use it instead of a context.
3667         (check_exception_spec): Likewise.
3668         (PERSONALITY_FUNCTION): Initialize ttype_base.  Store it in
3669         the c++ exception header for __cxa_call_unexpected.
3670         (__cxa_call_unexpected): Use it.
3672 2001-05-09  Benjamin Kosnik  <bkoz@redhat.com>
3674         * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
3675         libgloss_link_flags to find crt0.o for targets that use libgloss
3676         instead of newlib.
3677         Change LDFLAGS to LIBS.
3678         Consistently name procedures libstdc++-XXX.
3679         * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
3681 2001-05-08  Benjamin Kosnik  <bkoz@fillmore.constant.com>
3683         * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
3684         (strchr): Same.
3685         (strpbrk): Same.
3686         (strrchr): Same.
3687         (strstr): Same.
3688         * include/c_std/bits/std_cwchar.h (wcschr): Same.
3689         (wcsbrk): Same.
3690         (wcsrchr): Same.
3691         (wcsstr): Same.
3692         (wmemchr): Same.
3693         * testsuite/21_strings/c_strings.cc: Add tests.
3695 2001-05-07  Benjamin Kosnik  <bkoz@redhat.com>
3697         libstdc++/2523
3698         * include/bits/std_fstream.h (basic_filebuf): Change signature.
3699         * include/bits/fstream.tcc (basic_filebuf): Change bool argument
3700         to int_type, pass in buffer size info.
3701         * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
3702         unbuffered situation.
3703         (underflow): Remove codecvt bits for the time being.
3704         * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
3705         * include/bits/locale_facets.tcc (_M_extract): Cache dereference
3706         values from iterators, clean.
3707         * src/locale.cc: Ditto.
3708         * include/bits/sbuf_iter.h: Format.
3709         * src/ios.cc: Explicitly pass in buffer sizes at creation time.
3710         * testsuite/27_io/narrow_stream_objects.cc: Add tests.
3711         * testsuite/27_io/filebuf.cc: Tweaks.
3712         * testsuite/27_io/filebuf_members.cc: Tweaks.
3714 2001-05-07  Mark Mitchell  <mark@codesourcery.com>
3716         * config/os/solaris/solaris2.7/bits/os_defines.h
3717         (_LARGEFILE_SOURCE): Define it.
3719 2001-05-03  Alexandre Oliva  <aoliva@redhat.com>
3721         * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
3722         -prefer-non-pic depending on whether libtool has shared libraries
3723         enabled or disabled.
3724         * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
3725         $(LIBSUPCXX_PICFLAGS).
3726         * configure, */Makefile.in: Rebuilt.
3728 2001-05-01  Benjamin Kosnik  <bkoz@redhat.com>
3730         * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
3731         * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
3733         * include/bits/std_sstream.h (stringbuf): Leak
3734         copied string.
3735         * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
3737 2001-05-01  Tom Browder  <tbrowder@home.com>
3739         * docs/html/ext/howto.html:  Fix typo.
3741 2001-05-01  Gabriel Dos Reis  <gdr@codesourcery.com>
3743         * testsuite/libstdc++.tests/tests.exp: Add comment.
3745 2001-05-01  Gabriel Dos Reis  <gdr@codesourcery.com>
3747         * testsuite/libstdc++.tests/tests.exp: Set ulimits.
3749 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
3751         * porting.texi: Use the GFDL.
3753 2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>
3755         libstdc++/2627
3756         * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
3757         * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
3758         specializations.
3760 2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>
3762         libstdc++/2964
3763         * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
3765 2001-04-28  Phil Edwards  <pme@sources.redhat.com>
3767         * docs/doxygen/run_doxygen:  Minor tweaks.
3768         * docs/doxygen/style.css:  New file.
3769         * docs/doxygen/user.cfg.in:  Update using "doxygen -u" to get the
3770         latest parameters available.  Use style.css.
3772 2001-04-27  Benjamin Kosnik  <bkoz@redhat.com>
3774         * docs/doxygen/mainpage.doxy: New.
3775         * docs/doxygen/user.cfg.in: Change default configuration. Single
3776         frame, other tweaks.
3778 2001-04-26  Mark Mitchell  <mark@codesourcery.com>
3780         * docs/html/17_intro/BADNAMES: Remove EGCS reference.
3781         Indicate obsolete nature of thelist for G++ 3.0.
3783 2001-04-26  Alexandre Oliva  <aoliva@redhat.com>
3785         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
3786         target_thread_file with `gcc -v'.
3787         * aclocal.m4, configure: Rebuilt.
3789 2001-04-25  Benjamin Kosnik  <bkoz@redhat.com>
3791         * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
3792         * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
3793         * include/c_std/bits/std_cwchar.h (std): Same.
3794         * acconfig.h (std): Remove c99 injection into std.
3795         * config.h.in: Regenerate.
3797         * testsuite/README: Fix typo.
3799         * include/bits/codecvt.h: Remove warnings.
3801 2001-04-24  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3803         * include/ext/slist: Include required header files.
3805 2001-04-23  Loren J. Rittle  <ljrittle@acm.org>
3807         * include/c_std/bits/std_cerrno.h (errno): Define macro from
3808         identifier declared with external linkage, if needed.
3809         * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
3810         * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
3812 2001-04-23  Benjamin Kosnik  <bkoz@fillmore.constant.com>
3814         * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
3815         re-configures find the build compiler.
3816         (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
3817         libstdc++/2609.
3818         * aclocal.m4: Regenerate.
3819         * configure: Regenerate.
3821 2001-04-20  Benjamin Kosnik  <bkoz@redhat.com>
3823         * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
3824         support is enabled correctly before long long is activated.
3825         * aclocal.m4: Regenerate.
3826         * configure: Regenerate.
3828         * include/backward/backward_warning.h: Format correctly.
3830         * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
3831         * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
3832         * testsuite/26_numerics/c99_macros.cc: Remove.
3834 2001-04-20  Phil Edwards  <pme@sources.redhat.com>
3836         * include/bits/stl_bvector.h:  Replace __ITERATOR_CATEGORY with
3837         __iterator_category.
3839 2001-04-19  Benjamin Kosnik  <bkoz@redhat.com>
3841         * acconfig.h (_GLIBCPP_USE_C99): Add.
3842         * config.h.in: Regenerate.
3843         * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
3844         9899: 1999 support.
3845         * aclocal.m4: Regenerate.
3846         * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
3847         * configure: Regenerate.
3848         * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
3849         * configure: Regenerate.
3850         * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
3851         into c99.
3852         * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
3853         namespace.
3854         * include/c_std/bits/std_cstdlib.h: Same.
3855         * docs/html/configopts.html: Update.
3856         * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
3857         math.h
3858         (test_c99_classify): Add.
3859         * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
3860         (_ISOC99_SOURCE): Remove.
3862         * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
3863         * include/bits/c++config (__STL_ASSERTIONS): Simplify.
3864         * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
3865         * aclocal.m4: Regenerate.
3866         * configure: Regenerate.
3868 2001-04-19  Phil Edwards  <pme@sources.redhat.com>
3870         * Makefile.am (doxygen):  Assume script is missing execute perms.
3871         * Makefile.in:  Regenerated.
3872         * docs/doxygen/user.cfg.in:  Add class diagrams and source browsing.
3874 2001-04-17  Loren J. Rittle  <ljrittle@acm.org>
3876         * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
3878 2001-04-17  Benjamin Kosnik  <bkoz@redhat.com>
3880         * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
3881         * testsuite/23_containers/set_operators.cc: Same.
3883         * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
3884         default.
3885         (__GLIBCPP__): Bump from value of last release.
3886         * include/bits/concept_check.h: Default to off, edit comments.
3887         * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
3888         * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
3889         * src/Makefile.in: Regenerate.
3891 2001-04-14  Martin Reinecke <martin@MPA-Garching.MPG.DE>
3893         * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
3894         Properly uglify member.
3896 2001-04-13  Phil Edwards  <pme@sources.redhat.com>
3898         * include/bits/stl_algobase.h (equal):  Use EqualOpConcept instead
3899         of EqualityCo
3900         mparableConcept.
3902 2001-04-13  Phil Edwards  <pme@sources.redhat.com>
3904         * include/bits/boost_concept_check.h:  Uglify, fork from Boost.
3905         * include/bits/concept_check.h:  Uglify.
3906         * include/bits/stl_algo.h:  Likewise.
3907         * include/bits/stl_algobase.h:  Likewise.
3908         * include/bits/stl_deque.h:  Likewise.
3909         * include/bits/stl_heap.h:  Likewise.
3910         * include/bits/stl_iterator_base_funcs.h:  Likewise.
3911         * include/bits/stl_list.h:  Likewise.
3912         * include/bits/stl_map.h:  Likewise.
3913         * include/bits/stl_multimap.h:  Likewise.
3914         * include/bits/stl_multiset.h:  Likewise.
3915         * include/bits/stl_numeric.h:  Likewise.
3916         * include/bits/stl_queue.h:  Likewise.
3917         * include/bits/stl_set.h:  Likewise.
3918         * include/bits/stl_stack.h:  Likewise.
3919         * include/bits/stl_vector.h:  Likewise.
3920         * include/ext/hash_map:  Likewise.
3921         * include/ext/hash_set:  Likewise.
3922         * include/ext/slist:  Likewise.
3924 2001-04-13  Gabriel Dos Reis  <gdr@codesourcery.com>
3926         * testsuite/23_containers/set_operators.cc: Just try to compile.
3927         Mark as XFAIL.
3928         * testsuite/23_containers/map_operators.cc: Same.
3930 2001-04-12  Jason Merrill  <jason_merrill@redhat.com>
3932         * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
3933         output_file.
3934         (dg-test): Revert rth's change.
3936 2001-04-12  Nathan Sidwell  <nathan@codesourcery.com>
3938         * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
3939         terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
3941 2001-04-12  Gabriel Dos Reis  <gdr@codesourcery.com>
3943         * testsuite/README: Add DejaGnu specific documentation.
3945 2001-04-11  Benjamin Kosnik  <bkoz@redhat.com>
3947         * acinclude.m4: AC_CHECK_TOOL for expect.
3948         * aclocal.m4: Regenerate.
3949         * configure: Regenerate.
3950         * testsuite/Makefile.am (RUNTEST): Use substituted.
3951         (EXPECT): Same.
3953         * configure.in: Remove xcompiling substitution.
3954         * tests_flags.in (CROSS_LIB_PATH): Remove.
3955         (xcompiling): Remove.
3956         (CXX): Use substituted CXX.
3958 2001-04-11  Richard Henderson  <rth@redhat.com>
3960         * testsuite/lib/libstdc++.exp: Specify path for output_file.
3962 2001-04-08  Gabriel Dos Reis  <gdr@codesourcery.com>
3964         * include/bits/std_valarray.h(valarray<>::operator[]): Make
3965         inline.
3967 2001-04-06  Gabriel Dos Reis  <gdr@codesourcery.com>
3969         * testsuite/25_algorithms/equal.cc: New test.
3971 2001-04-06  Joe Buck  <jbuck@welsh-buck.org>
3973         * stl_algobase.h (std::equal): avoid use of possibly-undefined
3974         operator != (one line patch).
3976 2001-04-06   Benjamin Kosnik  <bkoz@redhat.com>
3978         * include/backward/backward_warning.h: Re-enable.
3980 2001-04-06  Benjamin Kosnik  <bkoz@redhat.com>
3981             Alexandre Oliva  <aoliva@redhat.com>
3983         * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
3985 2001-04-06  Gabriel Dos Reis  <gdr@codesourcery.com>
3987         * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
3988         * testsuite/26_numerics/c99_macros.cc: Add test.
3990 2001-04-06  Phil Edwards  <pme@sources.redhat.com>
3992         * docs/html/faq/index.html:  Update for 2.92, grab from RELEASE-NOTES.
3993         * docs/html/faq/index.txt:  Regenerated.
3995 2001-04-06  Benjamin Kosnik  <bkoz@redhat.com>
3997         * include/backward/backward_warning.h: Temporarily disable until
3998         g++ testsuite changes go in.
3999         * tests_flags.in (CROSS_LIB_PATH): Add.
4001 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
4003         Warn when using backward headers.
4004         * include/backward/algo.h: Include warning file.
4005         * include/backward/vector.h: Same.
4006         * include/backward/tree.h: Same.
4007         * include/backward/tempbuf.h: Same.
4008         * include/backward/strstream: Same.
4009         * include/backward/streambuf.h: Same.
4010         * include/backward/stream.h: Same.
4011         * include/backward/stack.h: Same.
4012         * include/backward/slist.h: Same.
4013         * include/backward/set.h: Same.
4014         * include/backward/rope.h:
4015         * include/backward/queue.h: Same.
4016         * include/backward/pair.h: Same.
4017         * include/backward/ostream.h: Same.
4018         * include/backward/new.h: Same.
4019         * include/backward/multiset.h: Same.
4020         * include/backward/multimap.h: Same.
4021         * include/backward/map.h: Same.
4022         * include/backward/list.h: Same.
4023         * include/backward/iterator.h: Same.
4024         * include/backward/istream.h: Same.
4025         * include/backward/iostream.h:
4026         * include/backward/iomanip.h:
4027         * include/backward/heap.h: Same.
4028         * include/backward/hashtable.h:
4029         * include/backward/hash_set.h:
4030         * include/backward/hash_map.h:
4031         * include/backward/function.h:
4032         * include/backward/fstream.h:
4033         * include/backward/deque.h:
4034         * include/backward/defalloc.h: Same.
4035         * include/backward/complex.h: Same.
4036         * include/backward/bvector.h:
4037         * include/backward/alloc.h:
4038         * include/backward/algobase.h: Same.
4040         * include/backward/backward_warning.h: New file.
4041         * src/Makefile.am (backward_headers): Add backward_warning.h
4042         * src/Makefile.in: Regenerate.
4044 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
4046         * src/Makefile.am (myinstalldirs): Make sure backward directory is
4047         created.
4048         (myinstallheaders): Install backward headers in backward directory.
4049         * src/Makefile.in: Regenerate.
4051 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
4053         Prepare for libstdc++-2.92.
4054         * docs/html/17_intro/RELEASE-NOTES (New): Update.
4055         * docs/html/configopts.html: Fix formatting.
4056         * README (file): Updates.
4057         * include/bits/c++config (__GLIBCPP__): Update.
4059 2001-04-05  Phil Edwards  <pme@sources.redhat.com>
4061         * docs/doxygen/run_doxygen:  Check for the existence of Doxygen.
4063 2001-04-04  Phil Edwards  <pme@sources.redhat.com>
4065         * docs/doxygen/user.cfg.in:  Extract all non-private members;
4066         reduce confusing documentation output.
4068 2001-04-04  Geoffrey Keating  <geoffk@redhat.com>
4070         * include/backward/fstream.h: Add missing semicolons.
4072 2001-04-03  Benjamin Kosnik  <bkoz@redhat.com>
4074         * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
4075         * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
4076         _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
4077         (ios_base::Init::_S_ios_create): New.
4078         (ios_base::Init::_S_ios_destroy): New.
4079         * include/bits/std_fstream.h: Change ctor args.
4080         * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
4081         (ios_base::Init::~Init): Use _S_ios_destroy.
4082         (ios_base::sync_with_stdio): Use new members.
4083         * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
4084         filebuf ctor.
4086 2001-04-03  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4088         * include/backward/fstream.h:  Expose streampos to global
4089         namespace.
4091 2001-04-03  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4093         * include/bits/stl_iterator_base_types.h: Fix typo
4095 2001-04-03  Andreas Schwab  <schwab@suse.de>
4097         * include/backward/fstream.h: Define filebuf and wfilebuf.
4099 2001-04-02  Phil Edwards  <pme@sources.redhat.com>
4101         New concept checking implementation.
4102         * docs/html/19_diagnostics/howto.html:  Document.
4103         * docs/html/17_intro/concept_check.diff:  New file, for reference.
4104         * include/bits/boost_concept_check.h:  New file from Boost.
4105         * include/bits/c++config:  Update comments.
4107         * include/bits/concept_check.h:  New file.
4108         * include/bits/concept_checks.h:  Removed.
4109         * include/bits/container_concepts.h:  Removed.
4110         * include/bits/sequence_concepts.h:  Removed.
4111         * include/bits/stl_iterator_base.h:  Removed; split into...
4112         * include/bits/stl_iterator_base_funcs.h:  ...this new file...
4113         * include/bits/stl_iterator_base_types.h:  ...and this new file.
4115         * include/bits/sbuf_iter.h:  Update to use new implementation.
4116         * include/bits/std_iterator.h:  Likewise.
4117         * include/bits/std_memory.h:  Likewise.
4118         * include/bits/stl_algo.h:  Likewise.
4119         * include/bits/stl_algobase.h:  Likewise.
4120         * include/bits/stl_construct.h:  Likewise.
4121         * include/bits/stl_deque.h:  Likewise.
4122         * include/bits/stl_heap.h:  Likewise.
4123         * include/bits/stl_list.h:  Likewise.
4124         * include/bits/stl_map.h:  Likewise.
4125         * include/bits/stl_multimap.h:  Likewise.
4126         * include/bits/stl_multiset.h:  Likewise.
4127         * include/bits/stl_numeric.h:  Likewise.
4128         * include/bits/stl_queue.h:  Likewise.
4129         * include/bits/stl_set.h:  Likewise.
4130         * include/bits/stl_stack.h:  Likewise.
4131         * include/bits/stl_uninitialized.h:  Likewise.
4132         * include/bits/stl_vector.h:  Likewise.
4133         * include/ext/hash_map:  Likewise.
4134         * include/ext/hash_set:  Likewise.
4135         * include/ext/slist:  Likewise.
4136         * include/ext/stl_hashtable.h:  Likewise.
4138         * src/Makefile.am (base_headers):  Update list of headers.
4139         * Makefile.in:  Regenerated.
4140         * src/Makefile.in:  Regenerated.
4141         * libio/Makefile.in:  Regenerated.
4142         * libmath/Makefile.in:  Regenerated.
4143         * libsupc++/Makefile.in:  Regenerated.
4144         * testsuite/Makefile.in:  Regenerated.
4146         * docs/html/install.html:  Update contact information.
4147         * docs/html/17_intro/howto.html:  Ditto.
4148         * docs/html/18_support/howto.html:  Ditto.
4149         * docs/html/20_util/howto.html:  Ditto.
4150         * docs/html/21_strings/howto.html:  Ditto.
4151         * docs/html/22_locale/howto.html:  Ditto.
4152         * docs/html/23_containers/howto.html:  Ditto.
4153         * docs/html/24_iterators/howto.html:  Ditto.
4154         * docs/html/25_algorithms/howto.html:  Ditto.
4155         * docs/html/26_numerics/howto.html:  Ditto.
4156         * docs/html/27_io/howto.html:  Ditto.
4157         * docs/html/faq/index.html:  Ditto, plus info on new checking code.
4158         * docs/html/ext/howto.html:  Ditto, plus info on new checking code.
4159         * docs/html/faq/index.txt:  Regenerated.
4161 2001-04-02  Zack Weinberg  <zackw@stanford.edu>
4163         * testsuite/lib/libstdc++.exp (dg-test): Annotate result
4164         messages with $which_library as well as $tool_flags and
4165         ${dg-extra-tool-flags}.  Factor out annotation text into
4166         a single variable.
4168 2001-04-02  Stephen M. Webb  <stephen@bregmasoft.com>
4170         * include/c_std/bits/std_cstring.h: Fix for const-correctness.
4171         * include/c_std/bits/std_cwchar.h: Same.
4172         * testsuite/21_strings/c_strings.cc: Add.
4174 2001-04-01  Benjamin Kosnik  <bkoz@codesourcery.com>
4176         * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
4178 2001-04-01  Zack Weinberg  <zackw@stanford.edu>
4180         * tests_flags.in: Use test a = b, not test a == b which is not
4181         portable.
4183 2001-03-31  Benjamin Kosnik  <bkoz@redhat.com>
4185         * configure.target: Remove duplicate aix entry.
4187 2001-03-30  Benjamin Kosnik  <bkoz@redhat.com>
4189         * include/ext/stl_bvector.h: Move to...
4190         * include/bits/stl_vector.h: ...here.
4191         * include/ext/bvector: Move to...
4192         * include/backward/bvector.h: ...here.
4193         * include/bits/std_vector.h: Change stl_bvector include.
4194         * include/bits/std_queue.h: Remove bvector include.
4195         * include/ext/tree: Insert using rb_tree, move to...
4196         * include/backward/tree.h: ...here.
4197         * include/backward/hash_map.h: Include ext/hash_map.
4198         * include/backward/hash_set.h: Include ext/hash_set.
4199         * include/backward/queue.h: New file.
4200         * include/backward/stack.h: Edit.
4201         * include/backward/algo.h: Same.
4202         * include/backward/algobase.h: Same.
4203         * include/backward/alloc.h: Same.
4204         * include/backward/function.h: Same.
4205         * include/backward/iomanip.h: Same.
4206         * include/backward/istream.h: Same.
4207         * include/backward/iterator.h: Same.
4208         * include/backward/list.h: Same.
4209         * include/backward/map.h: Same.
4210         * include/backward/multimap.h: Same.
4211         * include/backward/multiset.h: Same.
4212         * include/backward/ostream.h: Same.
4213         * include/backward/pair.h: Same
4214         * include/backward/rope.h: Same.
4215         * include/backward/set.h: Same.
4216         * include/backward/stream.h: Same.
4217         * include/backward/strstream.h: Same.
4218         * include/backward/tempbuf.h: Same.
4219         * src/Makefile.am (ext_headers): Edit.
4220         * src/Makefile.in: Regenerate.
4221         * testsuite/ext/headers.cc (main): Fix.
4222         * mkcheck.in: Fix.
4224 2001-03-30  Phil Edwards  <pme@sources.redhat.com>
4226         * tests_flags.in (LIBS):  Pass correct path for installed testing.
4228 2001-03-28  Benjamin Kosnik  <bkoz@redhat.com>
4230         * mkcheck.in (LIBTOOL): Don't construct -B argument here...
4231         * tests_flags.in (CXX): Construct here.
4232         (static_fail): Don't remove compile.out. Format with spaces.
4233         (INCLUDES): Deal with xcompiling.
4234         * configure.in (xcompiling): Substitute.
4235         * testsuite/Makefile.am: Snake libjava configury.
4236         * testsuite/Makefile.in: Regenerate.
4237         * testsuite/23_containers/map_operators.cc: Tweaks.
4238         * testsuite/23_containers/set_operators.cc: Tweaks.
4240 2001-03-28  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4242         Enable dejagnu testing framework.
4243         * configure.in: Generate testsuite/Makefile.
4244         * configure: Regenerate.
4245         * Makefile.am (check-install): Change rule from this...
4246         (check-script-install): ...to this.
4247         (check): Change rule from this...
4248         (check-script):...to this.
4249         * Makefile.in: Regenerate.
4251 2001-03-28  Alexandre Oliva  <aoliva@redhat.com>
4253         * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
4254         --tag CXX.
4255         (LIBTOOL): Let automake take care of its definition.
4256         * libsupc++/Makefile.in: Rebuilt.
4258 2001-03-28  Richard Henderson  <rth@redhat.com>
4260         IA-64 ABI Exception Handling:
4261         * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
4262         * configure.in: Use it.
4263         * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
4264         * libsupc++/Makefile.am (sources): Update files list.
4265         * libsupc++/Makefile.in: Regenerate.
4266         * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
4267         * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
4268         * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
4269         * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
4270         * libsupc++/exception_support.cc: Remove.
4271         * libsupc++/exception_support.h: Remove.
4272         * libsupc++/pure.cc: Use std::terminate.
4273         * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
4274         (__is_pointer): Remove.
4275         * libsupc++/unwind-cxx.h: New file.
4276         * libsupc++/vec.cc (uncatch_exception): Update for new abi.
4278 2001-03-27  Alexandre Oliva  <aoliva@redhat.com>
4280         * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
4281         CXX tag explicitly.
4282         * src/Makefile.am (CXXLINK): Likewise.
4283         * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
4285 2001-03-27  Benjamin Kosnik  <bkoz@redhat.com>
4287         * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
4289 2001-03-26  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4291         * libstdc++-v3/tests_flags.in: Change the order of libstdc++
4292           and libc
4294 2001-03-26  Benjamin Kosnik  <bkoz@redhat.com>
4296         * include/bits/basic_file.h (get_fileno): Remove.
4297         (_M_fileno): Remove.
4298         (_M_cfile_created): Add.
4299         (basic_file::basic_file(__c_file_type*, openmode): Add.
4300         (basic_file::basic_file(int, const char*, openmode): Remove.
4301         * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
4302         const char*, ios_base::openmode): Don't allocate
4303         internal buffers. Turn off internal buffers.
4304         (basic_filebuf::overflow): Remove test for null buffer.
4305         (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
4306         * include/bits/streambuf.cc: Tweak.
4307         * include/bits/std_ostream.h: Tweak.
4308         * config/basic_file_libio.h: Same.
4309         * config/basic_file_stdio.h: Same.
4310         * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
4311         * testsuite/27_io/filebuf_members.cc: Tweaks.
4312         * testsuite/27_io/ios_base_members_static.cc: Tweaks.
4314 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
4316         * Makefile.am:  New targets, doxygen and doxygen-maint.
4317         * Makefile.in:  Regenerated.
4318         * docs/doxygen/run_doxygen:  Finally implemented.
4319         * docs/doxygen/maint.cfg.in:  New file.
4320         * docs/doxygen/user.cfg.in:  New file.
4322 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
4324         * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES):  Update comment.
4325         * src/Makefile.am:  Replace leading spaces with tabs on continuation
4326         lines.
4327         * aclocal.m4:  Regenerated.
4328         * configure:  Ditto.
4329         * Makefile.in:  Ditto.
4330         * src/Makefile.in:  Ditto.
4331         * libio/Makefile.in:  Ditto.
4332         * libmath/Makefile.in:  Ditto.
4333         * libsupc++/Makefile.in:  Ditto.
4335 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
4337         * docs/html/19_diagnostics/howto.html:  HTML fixup.  Describe
4338         concept-checking code and current status of same.
4339         * docs/html/ext/howto.html:  Ditto.
4340         * docs/html/faq/index.html:  Ditto.
4341         * docs/html/faq/index.txt:  Regenerated.
4343 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
4345         * include/bits/std_bitset.h:  Include ostream and istream headers
4346         instead of iostream.
4348 2001-03-22  Greg Bumgardner <bumgard@roguewave.com>
4350         * include/bits/ostream.tcc: Use __builtin_alloca.
4352 2001-03-22  Benjamin Kosnik  <bkoz@redhat.com>
4354         * src/misc-inst.cc (__sink_unused_warning): Move to...
4355         * src/locale-inst.cc (__sink_unused_warning): Move to...
4356         * src/stl-inst.cc: Here.
4357         * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
4358         commented it out.
4360 2001-03-21  Theodore Papadopoulo  <Theodore.Papadopoulo@sophia.inria.fr>
4362         * intclude/bits/basic_file.h: Fix typos in comments.
4364 2001-03-20  Richard Henderson  <rth@redhat.com>
4366         * src/gen-num-limits.cc: Instantiate for wchar_t.
4367         * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
4369 2001-03-20  Jason Merrill  <jason@redhat.com>
4371         * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
4372         (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
4373         * libsupc++/cxxabi.h: Declare it.
4375 2001-03-16  Alexandre Oliva  <aoliva@redhat.com>
4377         * src/gen-num-limits.cc (signal_adapter): Overloaded to match
4378         signal_func with an unspecified argument list.
4380 2001-03-15  Benjamin Kosnik  <bkoz@redhat.com>
4382         * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
4384 2001-03-15  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4386         * include/bits/basic_string.tcc (operator+): Fix thinko.
4388 2001-03-14  Benjamin Kosnik  <bkoz@redhat.com>
4390         libstdc++/2020
4391         * include/bits/std_streambuf.h: Remove cached locale facets.
4392         (basic_streambuf::_M_buf_fctype): Remove.
4393         (basic_streambuf::~basic_streambuf): Remove here.
4394         (basic_streambuf::basic_streambuf): Same.
4395         (basic_streambuf::imbue): Same.
4396         * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
4397         * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
4398         (basic_filebuf::~basic_filebuf()): Remove here.
4399         * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
4400         (basic_filebuf::imbue): Same.
4401         * include/bits/localefwd.h (_Count_ones): Remove.
4402         (locale::_S_num_categories): Just use 6, since this doesn't
4403         actually change, ever.
4404         * include/bits/locale_facets.tcc (has_facet): Simplify.
4405         (use_facet): Same.
4406         * testsuite/27_io/filebuf.cc (test06): Add tests.
4408 2001-03-13  Steve Ellcey  <sje@cup.hp.com>
4410         * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
4411         match HP-UX ctype.h header file.
4413 2001-03-13  Andris Pavenis <pavenis@latnet.lv>
4415         * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
4416         duplicate definitions of __dj_ctype_*
4418 2001-03-13  Benjamin Kosnik  <bkoz@redhat.com>
4420         * libsupc++/new: Remove pragma interface.
4421         * libsupc++/typeinfo: Same.
4422         * libsupc++/exception: Same.
4423         * libsupc++/new_handler.cc: Remove pragma implementation.
4424         (bad_alloc::~bad_alloc()): Add.
4425         * libsupc++/exception_support.cc: Same.
4426         (exception::~exception): Add.
4427         (bad_exception::~bad_exception): Add.
4428         * libsupc++/tinfo.cc: Same.
4429         (bad_cast::~bad_cast): Add.
4430         (bad_typeid::~bad_typeid): Add.
4432 2001-03-13  Phil Edwards  <pme@sources.redhat.com>
4434         * mkcheck.in:  Fix IFS regression for non-bash-2.01 hosts.
4436 2001-03-12  Felix Lee  <flee@redhat.com>
4438         * mkcheck.in: workaround for bash 2.01 IFS bug.
4440 2001-03-12  Benjamin Kosnik  <bkoz@redhat.com>
4442         Fixups for -fno-for-scope
4443         * include/bits/locale_facets.tcc (__match_parallel): Fixup.
4444         * src/valarray-inst.cc (__gslice_to_index): Same.
4446 2001-03-12  Rodney Brown  <RodneyBrown@mynd.com>
4448         * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
4449         prior to trapping signal (UnixWare 7 workaround).
4451 2001-03-12  Craig Rodrigues  <rodrigc@mediaone.net>
4453         * include/backward/hashtable.h: Same.
4454         * include/backward/rope.h: Fix include.
4456 2001-03-12  Benjamin Kosnik  <bkoz@redhat.com>
4458         * include/backward/vector.h: Include std_vector.h.
4460         * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
4461         operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
4462         Fix typo.
4464 2001-03-11  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4466         * include/ext/stl_hashtable.h: Change type of __n to size_t
4467         * include/backward/bvector.h: Include <ext/stl_bvector.h>
4469 2001-03-09  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4471         * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
4472         operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
4473         Use streamsize, not int_type.
4475 2001-03-08  Benjamin Kosnik  <bkoz@redhat.com>
4477         * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
4478         moment.
4480 2001-03-08  Andreas Schwab  <schwab@suse.de>
4482         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
4483         command.
4484         * aclocal.m4, configure: Regenerated.
4486 2001-03-07  Benjamin Kosnik  <bkoz@redhat.com>
4488         * include/bits/std_iosfwd.h: Remove string forward decls here.
4489         * include/bits/stringfwd.h: Add forward decls for char_traits
4490         specializations.
4491         * config/c_io_libio.h (wstreamoff): Delete.
4492         * config/c_io_stdio.h (wstreamoff): Same.
4493         * include/bits/char_traits.h: Use streamoff not wstreamoff for
4494         char_traits<wchar_t>::off_type.
4495         Remove duplicate typedefs.
4496         * include/bits/fpos.h: Define streampos/wstreampos here.
4497         * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
4498         values to off_type.
4499         (test05): Same.
4500         Changeup output files.
4501         * testsuite/27_io/istream_unformatted.cc: Change output files.
4502         * testsuite/27_io/istream_seeks-1.txt: Add.
4503         * testsuite/27_io/istream_seeks-2.tst: Add.
4504         * testsuite/27_io/istream_seeks-1.tst: Add.
4505         * testsuite/27_io/istream_unformatted-2.tst: Delete.
4506         * testsuite/27_io/istream_unformatted-3.tst: Delete.
4507         * testsuite/27_io/istream_unformatted-3.txt: Delete.
4509 2001-03-07  Alexandre Oliva  <aoliva@redhat.com>
4511         Add Irix 5.2, 6.3 support.
4512         * config/os/irix/bits: Renamed to...
4513         * config/os/irix/irix6.5/bits: this.
4514         * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
4515         * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
4516         _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
4517         * config/os/irix/irix5.2/bits/ctype_noninline.h
4518         (ctype<char>::ctype): Initialize _M_table with __ctype.
4519         * configure.target: Adjust.
4521 2001-03-06  Benjamin Kosnik  <bkoz@redhat.com>
4523         libstdc++/2181
4524         * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
4525         operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
4526         sentry.
4527         (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
4528         (*__pf)(__ios_type&)): Same.
4529         (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
4530         (*__pf)(ios_base&))): Same.
4531         * testsuite/27_io/istream_extractor_other.cc: Add tests.
4532         * testsuite/27_io/istream_manip.cc (test01): Fix.
4534 2001-03-06  Nathan Myers  <ncm@cantrip.org>
4535             Benjamin Kosnik  <bkoz@redhat.com>
4537         * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
4538         * testsuite/17_intro/header_cerrno.cc (test01): New file.
4539         * testsuite/17_intro/header_cassert.cc (test01): New file.
4540         * testsuite/17_intro/header_cstddef.cc (test01): New file.
4541         * testsuite/17_intro/header_csetjmp.cc (test01): New file.
4542         * testsuite/17_intro/header_cstdarg.cc (test01): New file.
4544 2001-03-05  scott snyder  <snyder@fnal.gov>
4546         libstdc++/2190
4547         * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
4548         from here...
4549         * include/c_std/bits/std_cstdlib.h: ... to here.
4550         * testsuite/17_intro/header_cstdlib.cc: Add test.
4552 2001-03-05  Stephen M. Webb  <stephen.webb@cybersafe.com>
4554         * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
4556 2001-03-05  Laurynas Biveinis  <lauras@softhome.net>
4558         * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
4559         definition. Replace enum with static const variables.
4561         * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
4562         throw specification, fix typos, use <static_cast>.
4563         (ctype<char>::scan_is): remove throw specification.
4564         (ctype<char>::scan_not): likewise.
4566         * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
4567         (ctype<char>::do_toupper(char)): use <static_cast>.
4568         (ctype<char>::do_toupper(char *, const char *)): likewise.
4569         (ctype<char>::do_tolower(char)): likewise.
4570         (ctype<char>::do_tolower(char *, const char *)): likewise.
4572 2001-03-04  Phil Edwards  <pme@sources.redhat.com>
4574         http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
4575         * include/backward/algo.h:  Use std not __STD.  Remove unneeded
4576         macros and "never happens" code.  Adjust to C++STYLE guidelines.
4577         * include/backward/algobase.h:  Likewise.
4578         * include/backward/alloc.h:  Likewise.
4579         * include/backward/bvector.h:  Likewise.
4580         * include/backward/deque.h:  Likewise.
4581         * include/backward/function.h:  Likewise.
4582         * include/backward/hash_map.h:  Likewise.
4583         * include/backward/hash_set.h:  Likewise.
4584         * include/backward/hashtable.h:  Likewise.
4585         * include/backward/heap.h:  Likewise.
4586         * include/backward/iterator.h:  Likewise.
4587         * include/backward/list.h:  Likewise.
4588         * include/backward/map.h:  Likewise.
4589         * include/backward/multimap.h:  Likewise.
4590         * include/backward/multiset.h:  Likewise.
4591         * include/backward/pair.h:  Likewise.
4592         * include/backward/rope.h:  Likewise.
4593         * include/backward/set.h:  Likewise.
4594         * include/backward/slist.h:  Likewise.
4595         * include/backward/stack.h:  Likewise.
4596         * include/backward/strstream:  Likewise.
4597         * include/backward/tempbuf.h:  Likewise.
4598         * include/backward/tree.h:  Likewise.
4599         * include/backward/vector.h:  Likewise.
4600         * include/bits/basic_ios.h:  Likewise.
4601         * include/bits/basic_ios.tcc:  Likewise.
4602         * include/bits/basic_string.h:  Likewise.
4603         * include/bits/c++config:  Likewise.
4604         * include/bits/concept_checks.h:  Likewise.
4605         * include/bits/fpos.h:  Likewise.
4606         * include/bits/fstream.tcc:  Likewise.
4607         * include/bits/functexcept.h:  Likewise.
4608         * include/bits/ios_base.h:  Likewise.
4609         * include/bits/istream.tcc:  Likewise.
4610         * include/bits/mask_array.h:  Likewise.
4611         * include/bits/ostream.tcc:  Likewise.
4612         * include/bits/pthread_allocimpl.h:  Likewise.
4613         * include/bits/sbuf_iter.h:  Likewise.
4614         * include/bits/slice.h:  Likewise.
4615         * include/bits/slice_array.h:  Likewise.
4616         * include/bits/sstream.tcc:  Likewise.
4617         * include/bits/std_bitset.h:  Likewise.
4618         * include/bits/std_fstream.h:  Likewise.
4619         * include/bits/std_iomanip.h:  Likewise.
4620         * include/bits/std_ios.h:  Likewise.
4621         * include/bits/std_istream.h:  Likewise.
4622         * include/bits/std_iterator.h:  Likewise.
4623         * include/bits/std_memory.h:  Likewise.
4624         * include/bits/std_ostream.h:  Likewise.
4625         * include/bits/std_sstream.h:  Likewise.
4626         * include/bits/std_streambuf.h:  Likewise.
4627         * include/bits/std_string.h:  Likewise.
4628         * include/bits/std_valarray.h:  Likewise.
4629         * include/bits/stl_algo.h:  Likewise.
4630         * include/bits/stl_algobase.h:  Likewise.
4631         * include/bits/stl_alloc.h:  Likewise.
4632         * include/bits/stl_construct.h:  Likewise.
4633         * include/bits/stl_deque.h:  Likewise.
4634         * include/bits/stl_function.h:  Likewise.
4635         * include/bits/stl_heap.h:  Likewise.
4636         * include/bits/stl_iterator.h:  Likewise.
4637         * include/bits/stl_iterator_base.h:  Likewise.
4638         * include/bits/stl_list.h:  Likewise.
4639         * include/bits/stl_map.h:  Likewise.
4640         * include/bits/stl_multimap.h:  Likewise.
4641         * include/bits/stl_multiset.h:  Likewise.
4642         * include/bits/stl_numeric.h:  Likewise.
4643         * include/bits/stl_pair.h:  Likewise.
4644         * include/bits/stl_pthread_alloc.h:  Likewise.
4645         * include/bits/stl_queue.h:  Likewise.
4646         * include/bits/stl_raw_storage_iter.h:  Likewise.
4647         * include/bits/stl_relops.h:  Likewise.
4648         * include/bits/stl_set.h:  Likewise.
4649         * include/bits/stl_stack.h:  Likewise.
4650         * include/bits/stl_tempbuf.h:  Likewise.
4651         * include/bits/stl_threads.h:  Likewise.
4652         * include/bits/stl_tree.h:  Likewise.
4653         * include/bits/stl_uninitialized.h:  Likewise.
4654         * include/bits/stl_vector.h:  Likewise.
4655         * include/bits/streambuf.tcc:  Likewise.
4656         * include/bits/type_traits.h:  Likewise.
4657         * include/bits/valarray_meta.h:  Likewise.
4658         * include/ext/bvector:  Likewise.
4659         * include/ext/hash_map:  Likewise.
4660         * include/ext/hash_set:  Likewise.
4661         * include/ext/ropeimpl.h:  Likewise.
4662         * include/ext/slist:  Likewise.
4663         * include/ext/stl_bvector.h:  Likewise.
4664         * include/ext/stl_hash_fun.h:  Likewise.
4665         * include/ext/stl_hashtable.h:  Likewise.
4666         * include/ext/stl_rope.h:  Likewise.
4667         * src/complex_io.cc:  Likewise.
4668         * src/ios.cc:  Likewise.
4669         * src/locale-inst.cc:  Likewise.
4670         * src/locale.cc:  Likewise.
4671         * src/localename.cc:  Likewise.
4672         * src/misc-inst.cc:  Likewise.
4673         * src/stdexcept.cc:  Likewise.
4674         * src/stl-inst.cc:  Likewise.
4675         * src/strstream.cc:  Likewise.
4676         * src/valarray-inst.cc:  Likewise.
4678 2001-03-03  Benjamin Kosnik  <bkoz@redhat.com>
4680         * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
4682 2001-03-02  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4684         * include/bits/istream.tcc: change type of __extracted to __size_type
4686 2001-03-02  Benjamin Kosnik  <bkoz@redhat.com>
4688         * src/wstring-inst.cc: New file.
4689         * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
4690         (libinst_wstring_la_SOURCES): Remove.
4691         (libstdc___la_LIBADD): Remove libinst_wstring_la.
4692         (sources): Add wstring-inst.cc
4693         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
4694         libinst_wstring_la.
4696 2001-03-02  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4698         * src/locale.cc: initialise __ret with zero
4699         * src/strstream.cc:cast gptr to int_type
4701 2001-03-01  Phil Edwards  <pme@sources.redhat.com>
4703         * docs/html/faq/index.html:  Update broken links.
4704         * docs/html/faq/index.txt:  Regenerated.
4706 2001-02-28  Benjamin Kosnik  <bkoz@redhat.com>
4708         libstdc++/2064
4709         * configure.target: Change irix* to irix6.5* in target_os table.
4711 2001-02-28  Benjamin Kosnik  <bkoz@redhat.com>
4713         libstdc++/2103
4714         * include/bits/c++config (__GLIBCPP__): Bump number in
4715         anticipation of 2.92.
4717         * include/bits/codecvt.h: Fix typo.
4718         * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
4719         stdio model.
4720         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
4721         instantiations for stdio model.
4723 2001-02-28  Phil Edwards  <pme@sources.redhat.com>
4725         * acinclude.m4 (GLIBCPP_CONFIGURE):  Remove GLIBCPP_CFLAGS
4726           and GLIBCPP_CXXFLAGS as unused variables.
4727         * configure.host:  Likewise.
4728         * configure.target:  Likewise.
4729         * aclocal.m4:  Regenerated.
4730         * configure:  Regenerated.
4731         * Makefile.in:  Regenerated.
4732         * libio/Makefile.in:  Regenerated.
4733         * libmath/Makefile.in:  Regenerated.
4734         * libsupc++/Makefile.in:  Regenerated.
4735         * src/Makefile.in:  Regenerated.
4737 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
4739         libstdc++/1886
4740         * include/bits/basic_file.h: Include basic_file_model.h.
4741         * config/c_io_libio.cc: Move to...
4742         * config/basic_file_libio.cc: Here.
4743         * config/basic_file_libio.h: New file.
4744         * config/c_io_stdio.cc: Move to...
4745         * config/basic_file_stdio.cc: Here.
4746         * config/basic_file_stdio.h: New file.
4747         * config/c_io_libio.h: Tweak.
4748         * config/c_io_stdio.h: Tweak.
4749         * src/Makefile.am (build_headers): Add basic_file_model.h.
4750         (sources): Add basic_file.cc, remove c++io.cc.
4751         * src/Makefile.in: Regenerate.
4752         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
4753         basic_file_model.h and basic_file.cc.
4754         * aclocal.m4: Regenerate.
4755         * configure: Regenerate.
4756         * testsuite/27_io/filebuf.cc (test05): Add regression.
4758 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
4760         Correct license.
4761         * config/cpu/alpha/bits/atomicity.h: Change.
4762         * config/cpu/arm/bits/atomicit3y.h
4763         * config/cpu/generic/bits/atomicity.h
4764         * config/cpu/i386/bits/atomicity.h
4765         * config/cpu/i486/bits/atomicity.h
4766         * config/cpu/ia64/bits/atomicity.h
4767         * config/cpu/powerpc/bits/atomicity.h
4768         * config/cpu/sparc/sparc32/bits/atomicity.h
4769         * config/cpu/sparc/sparc64/bits/atomicity.h
4770         * config/os/aix/bits/atomicity.h
4771         * config/os/irix/bits/atomicity.h
4773 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
4775         * include/bits/std_stdexcept.h (runtime_error): Make string
4776         member non-const.
4777         (logic_error): Same.
4778         * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
4779         (test03): Fix.
4781 2001-02-26  Benjamin Kosnik  <bkoz@redhat.com>
4783         libstdc++/1972
4784         libstdc++/2089
4785         * include/bits/std_stdexcept.h (logic_error::logic_error): Use
4786         string object, not reference.
4787         (runtime_error::runtime_error): Same.
4788         * testsuite/19_diagnostics/stdexceptions.cc: New file.
4790 2001-02-26  Phil Edwards  <pme@sources.redhat.com>
4792         * acinclude.m4 (GLIBCPP_CONFIGURE):  Update required compiler version.
4793           (GLIBCPP_CHECK_COMPILER_FEATURES):  Can safely assume new
4794           diagnostics.  Remove WFMT_FLAGS.
4795         * configure.in:  Replace WFMT_FLAGS with diagnostics options.
4796         * libsupc++/Makefile.am:  Likewise.
4797         * src/Makefile.am:  Likewise.
4798         * aclocal.m4:  Regenerated.
4799         * configure:  Regenerated.
4800         * Makefile.in:  Regenerated.
4801         * libio/Makefile.in:  Regenerated.
4802         * libmath/Makefile.in:  Regenerated.
4803         * libsupc++/Makefile.in:  Regenerated.
4804         * src/Makefile.in:  Regenerated.
4806 2001-02-26  Phil Edwards  <pme@sources.redhat.com>
4808         Fixes libstdc++/2079
4809         * include/backward/iomanip.h:  Expose <ios> manipulators to global
4810           namespace.
4811         * include/backward/iostream.h:  Also expose std::ws.
4813 2001-02-25  Greg Freemyer <freemyer@NorcrossGroup.com>
4815         * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
4817 2001-02-23  Benjamin Kosnik  <bkoz@redhat.com>
4819         * include/bits/codecvt.h: Use __builtin_alloca.
4820         * include/bits/ostream.tcc: Same.
4821         * include/bits/fstream.tcc: Same.
4823 2001-02-23  Alexandre Oliva <aoliva@redhat.com>
4825         * mknumeric_limits (CC): Use VAR=${VAR=...} form.
4827 2001-02-23  David Edelsohn <dje@watson.ibm.com>
4829         * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
4831 2001-02-23  Phil Edwards  <pme@sources.redhat.com>
4833         c++/2052
4834         * include/backward/iostream.h:  Expose std::flush in old headers.
4836 2001-02-23  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4838         * mknumeric_limits: Remove special-casing on target.  Use gcc
4839         instead of g++ to build gen-num-limits.cc
4841 2001-02-22  Benjamin Kosnik  <bkoz@redhat.com>
4843         * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
4845         * include/bits/codecvt.h: Use alloca instead of __extension__ for
4846         the time being.
4847         * include/bits/ostream.tcc: Same.
4848         * include/bits/std_ostream.h: Same.
4849         * include/bits/fstream.tcc: Same.
4850         * include/bits/locale_facets.tcc: Add typename.
4851         * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
4853 2001-02-21  Phil Edwards  <pme@sources.redhat.com>
4855         * tests_flags.in:  Remove -n flag from call to echo.
4857 2001-02-20  Benjamin Kosnik  <bkoz@redhat.com>
4859         * config/c_locale_gnu.h: Add clocale include.
4861 2001-02-20  Phil Edwards  <pme@sources.redhat.com>
4863         * include/bits/stl_config.h:  Remove file.
4864         * src/Makefile.am (base_headers):  Remove from list.
4865         * configure:  Regenerate.
4866         * Makefile.in:  Ditto.
4867         * libio/Makefile.in:  Ditto.
4868         * libmath/Makefile.in:  Ditto.
4869         * libsupc++/Makefile.in:  Ditto.
4870         * src/Makefile.in:  Ditto.
4872         * include/bits/c++config:  Move relevant macros to here.
4873         * include/backward/alloc.h:  Include c++config.h instead.
4874         * include/backward/function.h:  Ditto.
4875         * include/backward/heap.h:  Ditto.
4876         * include/backward/pair.h:  Ditto.
4877         * include/bits/pthread_allocimpl.h:  Ditto.
4878         * include/bits/std_functional.h:  Ditto.
4879         * include/bits/std_iterator.h:  Ditto.
4880         * include/bits/std_numeric.h:  Ditto.
4881         * include/bits/std_utility.h:  Ditto.
4882         * include/bits/stl_algobase.h:  Ditto.
4883         * include/bits/type_traits.h:  Ditto.
4884         * src/stl-inst.cc:  Ditto.
4886 2001-02-19  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4888         * include/bits/basic_file.h: Add #pragma system_header
4889         * include/bits/basic_ios.h: Ditto.
4890         * include/bits/basic_string.h: Ditto.
4891         * include/bits/char_traits.h: Ditto.
4892         * include/bits/codecvt.h: Ditto.
4893         * include/bits/cpp_type_traits.h:  Ditto.
4894         * include/bits/fpos.h: Ditto.
4895         * include/bits/gslice.h: Ditto.
4896         * include/bits/gslice_array.h: Ditto.
4897         * include/bits/indirect_array.h: Ditto.
4898         * include/bits/ios_base.h: Ditto.
4899         * include/bits/limits_generic.h: Ditto.
4900         * include/bits/locale_facets.h: Ditto.
4901         * include/bits/localefwd.h: Ditto.
4902         * include/bits/mask_array.h: Ditto.
4903         * include/bits/sbuf_iter.h: Ditto.
4904         * include/bits/sequence_concepts.h: Ditto.
4905         * include/bits/slice.h: Ditto.
4906         * include/bits/slice_array.h: Ditto.
4907         * include/bits/std_algorithm.h: Likewise.
4908         * include/bits/std_bitset.h: Likewise.
4909         * include/bits/std_complex.h: Likewise.
4910         * include/bits/std_deque.h: Likewise.
4911         * include/bits/std_fstream.h: Likewise.
4912         * include/bits/std_functional.h: Likewise.
4913         * include/bits/std_iomanip.h: Likewise.
4914         * include/bits/std_ios.h: Likewise.
4915         * include/bits/std_iosfwd.h: Likewise.
4916         * include/bits/std_iostream.h: Likewise.
4917         * include/bits/std_istream.h: Likewise.
4918         * include/bits/std_iterator.h: Likewise.
4919         * include/bits/std_list.h: Likewise.
4920         * include/bits/std_locale.h: Likewise.
4921         * include/bits/std_map.h: Likewise.
4922         * include/bits/std_memory.h: Likewise.
4923         * include/bits/std_numeric.h: Likewise.
4924         * include/bits/std_ostream.h: Likewise.
4925         * include/bits/std_queue.h: Likewise.
4926         * include/bits/std_set.h: Likewise.
4927         * include/bits/std_sstream.h: Likewise.
4928         * include/bits/std_stack.h: Likewise.
4929         * include/bits/std_stdexcept.h: Likewise.
4930         * include/bits/std_streambuf.h: Likewise.
4931         * include/bits/std_string.h: Likewise.
4932         * include/bits/std_utility.h: Likewise.
4933         * include/bits/std_valarray.h: Likewise.
4934         * include/bits/std_vector.h: Likewise.
4935         * include/bits/stringfwd.h: Likewise.
4936         * include/bits/type_traits.h: Likewise.
4937         * include/bits/valarray_array.h: Likewise.
4938         * include/bits/valarray_meta.h: Likewise.
4940 2001-02-19  Andreas Jaeger  <aj@suse.de>
4942         * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
4943         Fix typo.
4945 2001-02-16  Greg Bumgardner <bumgard@roguewave.com>
4947         libstdc++/1734
4948         * include/bits/std_ostream.h: Replaced usage of
4949         _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
4950         * include/bits/char_traits.h: Removed non-standard
4951         methods that cannot be used elsewhere.
4953         libstdc++/1885
4954         * include/bits/basic_ios.h: Uncommented #include of
4955         bits/basic_ios.tcc
4957         libstdc++/1897
4958         * include/bits/codecvt.h: See next...
4959         * include/bits/fstream.tcc: See next...
4960         * include/bits/ostream.tcc: Add __extension__
4961         to variable-length arrays.
4963         libstdc++/1967
4964         * include/bits/localefwd.h: Changed int counter type to size_t.
4966         libstdc++/1968
4967         * include/bits/std_fstream.h: Added typedef for __ctype_type.
4969 2001-02-16  Benjamin Kosnik  <bkoz@redhat.com>
4971         * testsuite/21_strings/char_traits.cc: Move to ...
4972         * testsuite/21_strings/char_traits_requirements.cc: ..here.
4973         * testsuite/21_strings/char_traits-int_type.cc: Move to ...
4974         * testsuite/21_strings/char_traits_typedefs.cc: ..here.
4976 2001-02-16  Gabriel Dos Reis  <gdr@codesourcery.com>
4978         * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
4979         definitions.
4981 2001-02-15  Benjamin Kosnik  <bkoz@redhat.com>
4983         * include/bits/c++config: Revert.
4985 2001-02-15  Mark Mitchell  <mark@codesourcery.com>
4987         * include/bits/istream.tcc: Use ios_base::iostate in place of
4988         iostate throughout.  Insert `typename' keyword where necessary.
4989         * include/bits/ostream.tcc: Insert `typename' keyword where
4990         necessary.
4992 2001-02-15  Jeffrey Oldham  <oldham@codesourcery.com>
4994         * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
4995         Define so library is compliant.
4997 2001-02-15  Anthony Green  <green@redhat.com>
4999         * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
5000         compilation.
5001         * aclocal.m4: Regenerate.
5002         * configure: Regenerate.
5004 2001-02-15  Rodney Brown  <RodneyBrown@mynd.com>
5006         * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
5007         Include ieeefp.h for fpclass on UnixWare{2,7}.
5008         * aclocal.m4: Regenerate.
5009         * configure: Regenerate.
5010         * mkcheck.in (size_command): Do without GNU-grep when using
5011         size from binutils.
5013 2001-02-15  Mark Mitchell  <mark@codesourcery.com>
5015         Remove old ABI support from libsupc++.
5016         * libsupc++/cxxabi.h: Remove conditionally compiled code.
5017         * libsupc++/exception_support.cc: Likewise.
5018         * libsupc++/pure.cc: Likewise.
5019         * libsupc++/tinfo.cc: Likewise.
5020         * libsupc++/tinfo.h: Likewise.
5021         * libsupc++/tinfo2.cc: Likewise.
5022         * libsupc++/typeinfo: Likewise.
5023         * libsupc++/vec.cc: Likewise.
5025 2001-02-15  Benjamin Kosnik  <bkoz@redhat.com>
5027         Add support for -fno-exceptions.
5028         * include/bits/exception_support.h: Remove.
5029         * include/bits/basic_string.h: Remove exception_support.
5030         (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
5031         (string::at): Same.
5032         (string::substr): Same.
5033         * include/bits/basic_string.tcc (string::reserve): Replace
5034         __LENGTHERROR with __throw_length_error.
5035         (string::_S_create): Same.
5036         (string::resize): Same.
5037         (string::_M_replace): Same.
5038         (string::replace): Same.
5039         (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
5040         (string::compare): Same.
5041         * include/bits/stl_vector.h: Remove exception_support.
5042         * src/Makefile.am (base_headers): Remove here.
5043         * src/Makefile.in: Regenerate.
5045         * include/bits/stl_range_errors.h: Remove.
5046         * include/bits/stl_deque.h: Use __throw_range_error.
5047         * include/bits/std_deque.h: Include functexcept.h.
5048         * include/bits/std_vector.h: Same.
5049         * src/Makefile.am (base_headers): Remove here.
5050         * src/Makefile.in: Regenerate.
5051         * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
5052         * include/ext/bvector: Remove stl_range_errors.h
5054         * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
5056         * include/bits/functexcept.h: New file.
5057         * src/functexcept.cc: New file. Definitions for function-based
5058         exception routines.
5059         * src/Makefile.am (sources): Add functexcept.cc.
5060         * src/Makefile.in: Regenerate.
5062         * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
5063         __EXCEPTIONS.
5065         * include/bits/localefwd.h: Include functexcept.h.
5066         * include/bits/std_iosfwd.h: Same.
5068         * include/bits/basic_ios.h: Use __throw_ios_failure instead of
5069         throw basic_ios::failure.
5070         * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
5071         Use __throw_exception_again.
5072         (filebuf::_M_filebuf_init): Same.
5073         * include/bits/streambuf.tcc (__copy_streambufs): Same.
5074         * include/bits/ostream.tcc (ostream::operator<<): Same.
5075         * include/bits/istream.tcc (istream::operator>>): Same.
5076         * include/bits/basic_string.tcc (string::_M_mutate): Same.
5077         (string::_S_construct): Same.
5078         (string::_M_clone): Same.
5079         * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
5080         __throw_bad_cast.
5081         (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
5082         * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
5083         __throw_exception_again.
5084         (locale::_Imp::_Imp(string, size_t): Same.
5085         (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
5086         * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
5087         (locale::locale(const char*)): Use __throw_runtime_error.
5088         (locale::classic): Use __throw_exception_again.
5089         (locale::_S_normalize_category): Use __throw_runtime_error.
5091         * src/stdexcept.cc: Remove cruft.
5093         * libsupc++/exception_defines.h: New file.
5094         * libsupc++/new_opnt.cc: Include exception_defines.h.
5095         * libsupc++/vec.cc: Same.
5096         (__cxa_vec_new2): Use __throw_exception_again.
5097         (__cxa_vec_new3): Same.
5098         (__cxa_vec_ctor): Same.
5099         (__cxa_vec_delete3): Same.
5100         (__cxa_vec_cctor): Same.
5101         (__cxa_vec_delete2): Same.
5102         (__cxa_vec_dtor): Same.
5103         * libsupc++/exception_support.cc: Include exception_defines.h. Only
5104         compile exception-handling bits if __EXCEPTIONS is defined.
5105         Remove old ABI support.
5106         * libsupc++/new_op.cc (new): Include exception_defines.h. Use
5107         std::__throw_bad_alloc() instead of throw bad_alloc.
5108         * libsupc++/Makefile.am: Add exception_defines.h.
5109         * libsupc++/Makefile.in: Reformat.
5110         * libsupc++/*: Format.
5112 2001-02-15  Phil Edwards  <pme@sources.redhat.com>
5114         * docs/html/configopts.html:  Minor updates and typo fixes.
5115         * docs/html/faq/index.html:  Updates of the "not really bugs" list.
5116         * docs/html/faq/index.txt:  Regenerated.
5118 2001-02-15  Gabriel Dos Reis  <gdr@codesourcery.com>
5120         * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
5121         dejagnu/dg.exp.  Adapt to log options used to run testcases.
5123 2001-02-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5125         * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
5126         dejagnu/dg.exp.
5128 2001-02-13  Dirk Mueller <dmuell@gmx.net>
5129             Phil Edwards  <pme@sources.redhat.com>
5131         * include/backward/function.h:  Do not use rel_ops for older
5132           headers either.
5133         * include/backward/pair.h:  Likewise.
5135 2001-02-12  Mark Mitchell  <mark@codesourcery.com>
5137         * src/locale.cc: Remove bogus locale::id definitions.
5139 2001-02-11  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5141         * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
5142         not _DEFINE_VALARRAY_OPERATOR which is not existent.
5144         * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
5145         thinko in member initialisation.
5147 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
5149         * include/bits/std_valarray.h(valarray<>::shift): Avoid
5150         comparaison between signed and unsigned integer types.
5151         (valarray<>::cshift): Reformat.
5153 2001-02-11  Alexandre Oliva  <aoliva@redhat.com>
5155         * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
5156         * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
5157         * configure.in: Test for sigsetjmp.
5158         * configure, config.h.in: Rebuilt.
5160 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
5162         * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
5163         lengths and strides.
5164         (__gslice_to_index): Document.
5166 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
5168         * include/bits/char_traits.h char_traits<char>::int_type: Change
5169         to `int' to match 21.1.3.1/2.
5171         * testsuite/21_strings/char_traits-int_type.C: New test.
5173 2001-02-10  Gabriel Dos Reis  <gdr@codesourcery.com>
5175         * testsuite/Makefile.am: New file.
5177 2001-02-09  Nathan Sidwell  <nathan@codesourcery.com>
5179         * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
5181 2001-02-08  Loren J. Rittle  <ljrittle@acm.org>
5183         * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
5185 2001-02-08  David Edelsohn  <edelsohn@gnu.org>
5187         * configure.target (aix4*): Remove extra set of brackets.
5189 2001-02-07  Benjamin Kosnik  <bkoz@redhat.com>
5191         Clean up stdexcept.
5192         * include/bits/stringfwd.h: New file.
5193         * include/bits/stl_string_fwd.h: Remove.
5194         * include/bits/localefwd.h: Remove declaration for allocator.
5195         * include/bits/std_iosfwd: Same.
5196         * include/bits/std_string.h: Include it.
5197         * include/bits/std_ios.h: Remove include.
5198         * include/bits/basic_string.h: Tweak.
5199         * libsupc++/new: Format.
5200         * src/Makefile.am (base_headers): Add stringfwd.h, remove
5201         stl_string_fwd.h
5202         * src/Makefile.in: Regenerate.
5203         * include/bits/std_stdexcept.h: Rewrite.
5204         * src/stdexcept.cc: Same.
5206 2001-02-06  Benjamin Kosnik  <bkoz@redhat.com>
5208         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
5209         install locations too.
5210         * aclocal.m4: Regenerate.
5211         * configure.in: Remove USE_LIBDIR.
5212         * configure: Regenerate.
5213         * src/Makefile.am (toolexecdir): Simplify, use
5214         glibcpp_toolexecdir, glibcpp_toolexeclibdir.
5215         * src/Makefile.in: Regenerate.
5216         * libsupc++/Makefile.am: Same.
5217         * libsupc++/Makefile.in: Regenerate.
5219         * src/Makefile.am: Just remove special rules for locale-inst.cc and
5220         misc-inst.cc as no longer necessary.
5222         Follow C++STYLE for naming non-static functions.
5223         * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
5224         __pad_char.
5225         * include/bits/streambuf.tcc: Same.
5226         * include/bits/ostream.tcc: Same.
5227         * include/bits/istream.tcc: Same.
5228         * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
5229         (_S_output_float): To __output_float.
5230         * include/bits/std_streambuf.h (_S_copy_streambufs): To
5231         __copy_streambufs.
5232         * include/bits/locale_facets.tcc (_S_build_float_format): To
5233         __build_float_format.
5234         (_S_format): To __output_integer.
5235         (_S_fill): To __pad.
5236         * src/locale.cc: Same.
5237         * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
5238         names.
5239         * include/bits/locale_facets.tcc (_S_group_digits): To
5240         __group_digits.
5241         * src/locale-inst.cc: Fixup names. Add use_facet instantiations
5242         for collate, numpunct.
5244 2001-02-06  Phil Edwards  <pme@sources.redhat.com>
5246         * docs/html/configopts.html:  Fix HTML markup.
5247         * docs/html/install.html:  Bring up to date.
5248         * docs/html/17_intro/C++STYLE:  Add global variable conventions.
5249         * docs/html/21_strings/howto.html:  More notes.
5250         * docs/html/22_locale/howto.html:  Fix HTML markup.
5251         * docs/html/27_io/howto.html:  More notes.
5252         * docs/html/27_io/binary_iostreams_kanze.txt:  New file.
5253         * docs/html/27_io/binary_iostreams_kuehl.txt:  New file.
5255 2001-02-06  Jeffrey Oldham  <oldham@codesourcery.com>
5257         * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
5258         to match header files.
5259         (_S_output_float): Likewise.
5260         (_S_copy_streambufs): Likewise.
5262 2001-02-06  Hyman Rosen  <Hyman.Rosen@kbcfp.com>
5263             Phil Edwards  <pme@sources.redhat.com>
5265         * include/bits/std_istream.h (op>> signed,unsigned char):  Must
5266           use reinterpret_cast, not static_cast.
5268 2001-02-06  Benjamin Kosnik  <bkoz@redhat.com>
5270         * acinclude.m4 (gxx_include_dir): Quote, fix regression.
5271         * aclocal.m4: Regenerate.
5272         * configure: Regenerate.
5274 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
5276         * include/bits/locale_facets.h (class moneypunct): Fix typos.
5277         * libsupc++/pure.cc: Revert.
5279 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
5281         * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
5282         (GLIBCPP_CHECK_MATH_DECL_2): New macro.
5283         (GLIBCPP_CHECK_MATH_DECL_3): New macro.
5284         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
5285         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
5286         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
5287         (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
5288         * aclocal.m4: Regenerate.
5289         * configure: Regenerate.
5291 2001-02-05  Mark Mitchell  <mark@codesourcery.com>
5293         * include/bits/locale_facets.tcc: Remove `static' keyword on
5294         function definitions.
5295         * include/bits/std_streambuf.h: Likewise.
5296         * src/Makefile.am: Remove use of -fimplicit-templates.
5297         * src/Makefile.in: Regenerated.
5298         * src/locale-inst.cc: Explicitly instantiate more functions.
5299         * src/misc-inst.cc: Likewise.
5300         * src/string-inst.cc: Likewise.
5302 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
5304         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
5305         macro. Consolidate all the bits to do with where includes might be
5306         installed.
5307         * aclocal.m4: Regenerate.
5308         * configure.in: Use it.
5309         * configure: Regenerate.
5310         * src/Makefile.am (targetincludep): Use simplified rules.
5311         (targetincludep): Rename gxx_target_include_dir.
5312         (myincludep): Rename gxx_include_dir.
5313         * src/Makefile.in: Regenerate.
5314         * libsupc++/Makefile.am: Use simplified rules.
5315         * libsupc++/Makefile.in: Regenerate.
5317 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
5319         * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
5320         * include/c_std/bits/std_cctype.h: Same.
5321         * include/c_std/bits/std_cassert.h: Same.
5322         * include/c_std/bits/std_cstdarg.h: Same.
5323         * include/c_std/bits/std_cstddef.h: Same.
5325         * include/c_std/bits/std_cstdio.h: Undefine all names brought into
5326         namespace std.
5327         * include/c_std/bits/std_ctime.h: Same.
5328         * include/c_std/bits/std_clocale.h: Same.
5329         * include/c_std/bits/std_cmath.h: Same.
5330         * include/c_std/bits/std_csetjmp.h: Same.
5331         * include/c_std/bits/std_csignal.h: Same.
5332         * include/c_std/bits/std_cstring.h: Same.
5333         * include/c_std/bits/std_cstdlib.h: Same.
5334         * include/c_std/bits/std_cwchar.h: Same.
5336 2001-02-05  Phil Edwards  <pme@sources.redhat.com>
5338         * testsuite/27_io/ios_base_members_static.cc:  Swap order of tests.
5340 2001-02-05  Mark Mitchell  <mark@codesourcery.com>
5342         * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
5343         (string::_S_construct): Likewise.
5345 2001-02-05  Gabriel Dos Reis  <gdr@codesourcery.com>
5347         * testsuite/config/default.exp: New file.
5348         * testsuite/config: New directory.
5350 2001-02-04  Mark Mitchell  <mark@codesourcery.com>
5352         * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
5353         * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
5354         whenever !__GXX_MERGED_TYPEINFO_NAMES.
5355         * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
5357 2001-02-03  Alexandre Oliva  <aoliva@redhat.com>
5358             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
5360         * Makefile.am (mkinstalldirs): Set.
5361         * src/Makefile.am (mkinstalldirs): Set.
5362         * libmath/Makefile.am (mkinstalldirs): Set.
5363         * libsup++/Makefile.am (mkinstalldirs): Set.
5364         * libio/Makefile.am (mkinstalldirs): Set.
5365         * */Makefile.in: Regenerate.
5367 2001-02-03  Benjamin Kosnik  <bkoz@redhat.com>
5369         * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
5370         * include/bits/localefwd.h: More initialization cleanups.
5372 2001-02-03  Jeffrey A Law  <law@cygnus.com>
5374         * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
5375         correctly targets with 16bit ints.
5376         (_S_ios_openmode_end): Similarly.
5377         (_S_ios_iostate_end): Similarly.
5378         (_S_ios_Seekdir_end): Similarly.
5380 2001-02-02  Phil Edwards  <pme@sources.redhat.com>
5382         * mkcheck.in:  Also limit virtual memory size, for mmap-based mallocs.
5384 2001-02-01  Alexandre Oliva  <aoliva@redhat.com>
5386         * configure.in (toplevel_srcdir, auxdir): Set.
5387         * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
5388         * aclocal.m4, configure, Makefile.in: Rebuilt.
5389         * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
5390         * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
5391         * libsupc++-v3/Makefile.in: Rebuilt.
5392         * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
5393         * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
5395 2001-01-30   Benjamin Kosnik  <bkoz@redhat.com>
5397         * config/c_locale_generic.cc: Remove langinfo include.
5399 2001-01-29  Benjamin Kosnik  <bkoz@redhat.com>
5401         Preliminary named locales.
5402         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
5403         * aclocal.m4: Regenerate.
5404         * configure.in: Use it.
5405         * configure: Regerate.
5406         * src/Makefile.am (sources): Add c++locale.cc.
5407         (build_headers): Add c++locale.h.
5408         * src/Makefile.in: Regenerate.
5409         * config/c_locale_gnu.h: New file.
5410         * config/c_locale_gnu.cc: New file. Non-inline member functions
5411         for named locales, gnu-specific.
5412         * config/c_locale_generic.h: New file.
5413         * config/c_locale_generic.cc: New file. Non-inline member
5414         functions for named locales, generic version.
5415         * docs/html/configopts.html: Add documentation on new options.
5417         * include/bits/locale_facets.h (class _Messages): Remove.
5418         (class _Moneypunct): Remove.
5419         * src/locale-inst.cc: Remove.
5421         * include/bits/locale_facets.h (class _Collate): Remove.
5422         * src/locale-inst.cc (std): Remove.
5423         * src/locale.cc: And here.
5425         * include/bits/localefwd.h (locale::_M_coalesce): New
5426         function. Correctly put together multi-name locales.
5427         (_Impl(const _Impl&, category, size_t)): Remove.
5429         * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
5430         member functions.
5431         (_M_normalize_category_names): Remove.
5432         (_M_replace_categories): Fix.
5434         * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
5435         (locale::_Impl::_M_construct_ctype): Remove.
5436         (locale::_Impl::_M_construct_monetary): Remove.
5437         (locale::_Impl::_M_construct_numeric): Remove.
5438         (locale::_Impl::_M_construct_time): Remove.
5439         (locale::_Impl::_M_construct_messages): Remove.
5441         * include/bits/locale_facets.h (_Bad_use_facet): Remove.
5442         (_Use_facet_failure_handle): Remove.
5443         * src/locale.cc: Remove definitions.
5444         * src/locale-inst.cc: And here.
5446         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
5448         * src/localename.cc (locale::facet::_S_create_c_locale): Properly
5449         create and error-check underlying locale object.
5450         (locale::facet::_S_destroy_c_locale): Add, take care of properly
5451         tearing down underlying locale object.
5452         * include/bits/localefwd.h (locale::facet): Declare.
5453         * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
5454         correctness, as glibc apparently has incorrect info in it. Test
5455         with it when it works again.....
5457         * include/bits/localefwd.h (locale::_Impl::__vec_string):
5458         Remove. Number of categories is fixed at six, so just simplify and
5459         make this an array of strings.
5460         (locale::_Impl::_M_has_name): Remove.
5461         (locale::_Impl::_M_name): Remove.
5462         (locale::_Impl::_M_category_names): Turns into...
5463         (locale::_Impl::_M_names): ...this.
5464         (locale::_Impl::_M_has_same_name()): New function.
5465         * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
5466         (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
5467         signature.
5468         * src/locale.cc (locale::name()): Construct mangled name
5469         accurately reflecting combined locale categories.
5471         * src/locale.cc (locale::classic()): Don't initialize here.
5472         * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
5473         __refs, bool __has_name, string __str): Do it here.
5475         * include/bits/localefwd.h: _S_categories_num to
5476         _S_num_categories. _S_facets_num to _S_num_facets.
5477         (locale::id::id()): Explicitly set _M_index to zero.
5478         * src/locale.cc: Same.
5480         * src/locale.cc: (locale::locale(const char*)): Construct named
5481         locales uniquely.
5483         * src/locale.cc: Remove numpunct_byname ctors.
5484         * testsuite/22_locale/numpunct_byname.cc: New file.
5485         * testsuite/22_locale/numpunct.cc: New file.
5487         * include/bits/localefwd.h (class locale): Change data members to
5488         protected, from private.
5489         (_Impl::_M_get_c_locale): Add member function.
5490         (locale::facet::_M_get_global_impl()): Add member function.
5491         * include/bits/locale_facets.h (numpunct::_M_init): Change to take
5492         a __c_locale pointer.
5493         (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
5494         named locales.
5495         * testsuite/22_locale/members.cc: New file, test name and combine.
5497         * include/bits/locale_facets.h (class numpunct): Remove class
5498         _Punct and _Numpunct. Rewrite class numpunct to be correct for
5499         named locales.
5500         * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
5501         * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
5502         (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
5503         * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
5504         * testsuite/22_locale/numpunct_char_members.cc: New file.
5506 2001-01-28  Gabriel Dos Reis  <gdr@codesourcery.com>
5508         * testsuite/README: Add more comment.
5509         * testsuite/lib/libstdc++.exp: Tweak comment.
5511 2001-01-26  Benjamin Kosnik  <bkoz@kredhat.com>
5513         * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
5515 2001-01-25  Loren J. Rittle  <ljrittle@acm.org>
5517         * testsuite/21_strings/inserters_extractors.cc: Remove
5518         explicit reference to 'testsuite/'.
5520 2001-01-25  Richard Henderson  <rth@redhat.com>
5522         * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
5523         bits. Fixes Tru64 build issues.
5525 2001-01-25  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
5527         * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
5528         (use ${MAKE-make}, not ${MAKE:-make}).
5529         * aclocal.m4, configure: Regenerate.
5531 2001-01-25  Mark Mitchell  <mark@codesourcery.com>
5533         * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
5534         checkin.
5536         * src/Makefile.am (sources): Add globals.cc.
5537         * src/Makefile.in: Regenerated.
5538         * src/globals.cc: New file.
5539         * src/ios.cc (cin): Don't define here, just declare extern.
5540         (cout): Likewise.
5541         (cerr): Likewise.
5542         (clog): Likewise.
5543         (wcin): Likewise.
5544         (wcout): Likewise.
5545         (wcerr): Likewise.
5546         (wclog): Likewise.
5548 2001-01-25  Phil Edwards  <pme@sources.redhat.com>
5550         * include/bits/std_iterator.h:  Do not include stl_relops.h.
5551         * include/bits/std_numeric.h:  Ditto.
5552         * include/bits/stl_algobase.h:  Ditto.
5553         * include/bits/stl_relops.h:  Add comment warning about problems.
5555 2001-01-25  Gabriel Dos Reis  <gdr@codesourcery.com>
5557         * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
5558         in testcases.  Prepare for the DejaGnu based framework.
5559         * mkcheck.in: Adjust call to tests_flags.  Don't mmkdir testsuite
5560         directory -- it is now mkcheck working directory.
5561         * tests_flags.in: Remove reference to $(top_srcdir).  Use
5562         ${SRC_DIR} instead.
5563         * Makefile.am (check, check-install): Change mkcheck invocation
5564         logic.
5565         * Makefile.in: Regenerate.
5567 2001-01-24  Mark Mitchell  <mark@codesourcery.com>
5569         * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
5570         (__always_swap): Likewise.
5572 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
5574         * libsupc++/exception_support.cc (__terminate_func): Remove
5575         declaration.
5576         (__terminate_func_ptr): New typedef.
5577         (__terminate, __terminate_set_func): New extern function
5578         prototypes.
5579         (std::terminate): Use __terminate function.
5580         (std::set_terminate): Use __terminate_set_func function.
5582 2001-01-23  Benjamin Kosnik  <bkoz@redhat.com>
5584         * configure.target: Just use os_include_dir always.
5585         * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
5586         Link atomicity files and ctype files here.
5587         * configure: Regenerate.
5588         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
5589         (GLIBCPP_ENABLE_ATOMICITY): Remove.
5590         * aclocal.m4: Regenerate.
5592 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
5594         * configure.in: Place definition of MULTISUBDIR in
5595         libsupc++/Makefile as is done for src/Makefile.
5596         * configure: Regenerate.
5598 2001-01-23  Phil Edwards  <pme@sources.redhat.com>
5600         * acinclude.m4:  Cosmetic changes only.
5601         * aclocal.m4:  Regenerated.
5602         * configure:  Regenerated.
5603         * configure.target:  Update documented list of changed variables.
5604         * docs/html/install.html:  Fix typo.
5605         * docs/html/20_util/howto.html:  More notes on auto_ptr.
5606         * docs/html/27_io/howto.html:  More notes on streabufs.
5607         * docs/html/faq/index.html:  Add rel_ops problem and mention the
5608           DEC as(1) .subsection difficulty.
5609         * docs/html/faq/index.txt:  Regenerated.
5611 2001-01-23  Mark Mitchell  <mark@codesourcery.com>
5613         * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
5614         (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
5615         (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
5616         its already provided in config.target.
5617         * aclocal.m4: Regenerated.
5618         * configure: Likewise.
5619         * configure.target: Set ctype_include_dir for lots of systems.
5620         * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
5621         * libsupc++/Makefile.in: Regenerated.
5623 2001-01-23  Gabriel Dos Reis  <gdr@codesourcery.com>
5625         * testsuite/lib/libstdc++.exp: Improve.  Add support for @xxx#
5626         keyword capability.
5628         * testsuite/README: Add comment.
5630 2001-01-21  Phil Edwards  <pme@sources.redhat.com>
5632         * docs/html/configopts.html:  Update for current status.  Fix HTML.
5633         * docs/html/install.html:  Update for current status.
5635 2001-01-20  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5637         * testsuite/libstdc++.tests/tests.exp: New file.
5638         * testsuite/lib/libstdc++.exp: Itou.
5639         * testsuite/README: Itou.
5641 2001-01-20  Gabriel Dos Reis  <gdr@codesourcery.com>
5643         * tests_flags.in: Just output the bare minimum to run tests.
5644         Let's the caller do its own arrangement.
5646         * mkcheck.in: Rename INC_PATH to INCLUDES.  Adjust flags
5647         computations.
5649 2001-01-19  Gabriel Dos Reis  <gdr@codesourcery.com>
5651         * testsuite/17_intro: Prepare testcases for new style DejaGnu
5652         framework.
5654 2001-01-18  Gabriel Dos Reis  <gdr@codesourcery.com>
5656         * testsuite/libstdc++.tests, testsuite/lib: New directories.
5658 2001-01-17  Loren J. Rittle  <ljrittle@acm.org>
5660         * mkcheck.in: Construct file names that match $objdir structure.
5661         * testsuite/27_io/filebuf_members-1.txt: New file.
5662         * testsuite/27_io/ifstream_members-1.txt: New file.
5663         * testsuite/27_io/ostream_inserter_char-1.txt: New file.
5665         * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
5666         * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
5668 2001-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
5670         * testsuite/27_io/istream_sentry.cc (test02): Fix.
5672 2001-01-17  Benjamin Kosnik  <bkoz@redhat.com>
5674         libstdc++/1605
5675         * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
5676         * src/ios.cc (ios_base::failure): Make definitions match.
5677         * libsupc++/typeinfo (class bad_typeid): Add throw specs.
5678         (class bad_cast): Same.
5679         * libsupc++/exception (class exception): Add throw specs.
5680         * libsupc++/exception_support.cc (set_terminate): Add throw specs.
5681         (set_unexpected): Same.
5682         (uncaught_exception): Same.
5683         (what): Same.
5685         * docs/html/17_intro/C++STYLE (classname): Fix.
5687 2001-01-16  Mark Mitchell  <mark@codesourcery.com>
5689         * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
5690         Use it do explicitly instantiate predicate<T> and value<T> for
5691         all the builtin Ts.
5693 2001-01-16  Nathan Sidwell  <nathan@codesourcery.com>
5695         * libsupc++/exception_support.cc (__cp_pop_exception): Fix
5696         uninitialized thinko in last change.
5698 2001-01-16  Mark Mitchell  <mark@codesourcery.com>
5700         * libsupc++/exception_support.cc (__cp_pop_exception): Change
5701         prototype.
5703 2001-01-16  Benjamin Kosnik  <bkoz@redhat.com>
5705         * docs/html/17_intro/C++STYLE (classname): Add more existing
5706         and stylish patterns.
5708         libstdc++/944
5709         * include/bits/istream.tcc (istream::sentry::sentry()): Set
5710         failbit if the state of the stream is not good.
5711         * testsuite/27_io/istream_sentry.cc (test02): Add test.
5712         * testsuite/27_io/istream_manip.cc (test01): Modify.
5714         libstdc++/1019
5715         reported by Paolo Carlini <pcarlini@unitus.it>
5716         * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
5717         * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
5719         libstdc++/1057
5720         * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
5721         * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
5722         (xsgetn): Same. Simplify.
5723         * testsuite/27_io/streambuf.cc (test04): Add testcases.
5725         reported by Larry Evans <jcampbell3@prodigy.net>
5726         * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
5727         equality with eof on returned value from overflow.
5729 2001-01-14  Andreas Jaeger  <aj@suse.de>
5731         * libio/libio.h: Add test for glibc 2.0.
5733 2001-01-12  Benjamin Kosnik  <bkoz@redhat.com>
5735         * config/os/djgpp/bits/*: Fix dates.
5737         * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
5738         _CharT* __end, _CharT __c): Remove.
5739         * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
5740         * include/bits/char_traits.h: Tweak.
5742 2001-01-12  Laurynas Biveinis  <lauras@softhome.net>
5744         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
5745         (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
5746         bash bug.
5747         * aclocal.m4: regenerated.
5748         * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
5749         * configure: regenerated.
5750         * config/os/djgpp, config/os/djgpp/bits: new directories.
5751         * config/os/djgpp/bits/ctype_base.h,
5752         config/os/djgpp/bits/ctype_inline.h,
5753         config/os/djgpp/bits/ctype_noninline.h,
5754         config/os/djgpp/bits/os_defines.h: new files.
5756 2001-01-11   Joseph S. Myers  <jsm28@cam.ac.uk>
5758         * include/c_std/bits/std_cstdio.h: Undef printf.
5760 2001-01-10  Benjamin Kosnik  <bkoz@redhat.com>
5762         * src/ios.cc: Fix typo: change cout->wcout.
5764         * src/Makefile.am (targetincludep): Fix for version-specific-libs.
5765         * src/Makefile.in: Regenerate.
5767 2001-01-10  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
5769          * include/bits/std_complex.h: Fix a typo.
5771 2001-01-09  Benjamin Kosnik  <bkoz@redhat.com>
5772                              <kainz@ilm.com>
5774         Fixes for libstdc++/1576
5775         * src/stdstreams.cc: Initialize with NULL filebuf. Delete
5776         file, move contents into....
5777         * src/ios.cc: ...Here. Put defines for iostreams objects and
5778         initialization routines into one file to simplify DSO interaction.
5779         * include/bits/std_iostream.h: Touch.
5780         * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
5781         * src/Makefile.am (sources): Remove stdstreams.cc.
5782         * src/Makefile.in: Regenerate.
5784 2001-01-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5786         * tests_flags.in (check_directory): Fix typo.
5788 2001-01-09  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
5790          * include/bits/std_complex.h: Fix a typo.
5792 2001-01-09  Loren J. Rittle  <ljrittle@acm.org>
5794         * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
5795         code path:) Remove magic constants and restructure to handle
5796         ctype.h bit mask layout changes more gracefully.  (Make fast
5797         code path:) Use __maskrune (), if available.
5798         (is): Remove special case for digit and xdigit masks.
5800 2001-01-09  Robert Lipe <robertlipe@usa.net>
5802         * include/c_std/bits/std_ctime.h: Undefine difftime.
5804 2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
5806         * src/gen-num-limits.cc (signal_adapter): New template function.
5807         (signal_handler): Use it, instead of signal.
5808         (traps<T>): Likewise.  Install SIGTRAP handler too.  Don't
5809         require both tests to trap to set trap_flag.
5811 2001-01-08  Benjamin Kosnik  <bkoz@redhat.com>
5813         * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
5814         initialize mbstate_t member, name offset data members *off, not pos.
5815         * include/bits/fstream.tcc (filebuf::filebuf): Same.
5817 2001-01-08  Benjamin Kosnik  <bkoz@redhat.com>
5819         reported by Chris G. Demetriou <cgd@sibyte.com>
5820         * configure.in: Change -linux-* to -linux*.
5821         * configure: Regenerate.
5823 2001-01-05  Benjamin Kosnik  <bkoz@redhat.com>
5825         Fix 27_io/filebuf_members.cc
5826         * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
5827         const string& __name, category __cat, size_t __refs): Set
5828         _M_has_name with _M_name.
5829         * include/bits/localefwd.h (locale::operator!=): Protect member
5830         function call with this->.
5831         * src/locale.cc (locale::operator==): Make fast checks first.
5832         * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
5834         * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
5835         to ios_base::Init.
5836         * src/ios.cc (ios_base::Init::Init): Initialize here.
5837         (ios_base::sync_with_stdio): Set here.
5839 2001-01-04  Loren J. Rittle  <ljrittle@acm.org>
5841         * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
5842         systems that support it, call dup() before fdopen().
5844 2001-01-03  Benjamin Kosnik  <bkoz@redhat.com>
5846         * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
5847         * testsuite/17_intro/header_cwctype.cc (main): New file.
5849         * src/Makefile.am (base_headers): Change.
5850         * include/bits/std_string.h: And here.
5851         * include/bits/string.tcc: Tweaks, move to...
5852         * include/bits/basic_string.tcc: ...Here.
5853         * src/string-inst.cc: Simplify, just instantiate the whole class,
5854         not member-by-member.
5856 2001-01-02  Benjamin Kosnik  <bkoz@redhat.com>
5858         * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
5859         * aclocal.m4: Regenerate.
5860         * configure: Regenerate.
5862         * include/bits/c++config (__GLIBCPP__): Bump version number.
5864         * ChangeLog: Start new log for year 2001
5865         * ChangeLog-2000: New file.
5867         * docs/html/configopts.html: Make sure default values are current,
5868         add commentary.
5870 2001-01-01  Benjamin Kosnik  <bkoz@fillmore.redhat.com>
5872         * include/c_std/bits/std_cwchar.h: Same.
5873         * testsuite/17_intro/header_cwchar.cc: Same.
5874         * include/c_std/bits/std_ctime.h: Same.
5875         * testsuite/17_intro/header_ctime.cc: Same.
5876         * include/c_std/bits/std_cstdlib.h: Same.
5877         Clean up undefs, make consistent with cwchar and cmath, etc.
5878         * testsuite/17_intro/header_cstdlib.cc: Same.
5879         * include/c_std/bits/std_cstdio.h: Same here.
5880         * testsuite/17_intro/header_cstring.cc: Same.
5881         * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
5882         * testsuite/17_intro/header_cstring.cc: New file. Check for
5883         size_t in namespace std.
5885         * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
5886         * acconfig.h (HAVE_MBSTATE_T): Add.
5887         * config.h.in: Regenerate.
5888         * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
5889         mbstate_t.
5890         * aclocal.m4: Regenerate.
5891         * configure: Regenerate.
5892         * testsuite/17_intro/headers_c++.cc: New file.
5893         * testsuite/17_intro/headers_c.cc: Small changes.
5895 2001-01-01  David Billinghurst <David.Billinghurst@riotinto.com>
5897         * tests_flags.in: Fix typo in usage.
5899         * tests_flags.in: Set target specific LIBS for cygwin.