* config/convex/convex.c: Fix comment formatting.
[official-gcc.git] / libstdc++-v3 / ChangeLog
blob0128c431f8b20982a9cef18db71b9e5d7c8eaaa8
1 2001-11-08  Danny Smith  <dannysmith@users.sourceforge.net>
3         * configure.target: Add os_include_dir for mingw32* target.
4         * docs/html/17_intro/porting.texi: Mention mingw32 as target benefiting
5         from _GLIBCPP_AVOID_FSEEK.
6         * config/os/mingw32/bits/ctype_base.h: New file.
7         * config/os/mingw32/bits/ctype_inline.h: New file.
8         * config/os/mingw32/bits/ctype_noninline.h: New file.
9         * config/os/mingw32/bits/os_defines.h: New file.
11 2001-11-07  Nathan Myers  <ncm@cantrip.org>
13         * docs/html/faq/index.html (5.8):  New entry on ABIs.
14         * docs/html/faq/index.txt:  Regenerate.
16 2001-11-07  Phil Edwards  <pme@gcc.gnu.org>
18         * docs/html/faq/index.html:  Explain libsupc++, mention 'long long'
19         bugfixes on Solaris.
20         * docs/html/faq/index.txt:  Regenerate.
22 2001-11-06  Phil Edwards  <pme@gcc.gnu.org>
24         * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG):  Run the test in
25         LANG_CPLUSPLUS mode.
26         * aclocal.m4:  Regenerate.
27         * configure:  Regenerate.
29 2001-11-05  Phil Edwards  <pme@gcc.gnu.org>
31         * porting.texi:  Move...
32         * docs/html/17_intro/porting.texi:  ...to here.
33         * docs/html/Makefile:  Add rule to rebuild...
34         * docs/html/17_intro/porting.html:  ...this.  New file.
36 2001-11-05  Felix Natter  <fnatter@gmx.net>
38         * docs/html/17_intro/porting-howto.xml:  check in v0.9.4
39         * docs/html/17_intro/porting-howto.html:  regenerate
41 2001-11-02  Loren J. Rittle  <ljrittle@acm.org>
43         * include/bits/stl_threads.h (_Atomic_swap): Only enable path
44         when platform supports __GTHREAD_MUTEX_INIT.
46 2001-11-02  Phil Edwards  <pme@gcc.gnu.org>
48         * acconfig.h:  Update comments.
49         * acinclude.m4 (GLIBCPP_ENABLE_C99):  Move strtoll, strtoull tests...
50         (GLIBCPP_ENABLE_LONG_LONG):  ...to here.  Don't check enable_c99.
51         * aclocal.m4:  Regenerate.
52         * config.h.in:  Regenerate.
53         * configure:  Regenerate.
55         * include/bits/boost_concept_check.h:  Unconditionally compile uses
56         of 'long long' which require only compiler support, not C lib support.
57         * include/bits/cpp_type_traits.h:  Likewise.
58         * include/bits/std_limits.h:  Likewise.
59         * include/bits/type_traits.h:  Likewise.
60         * src/concept-inst.cc:  Likewise.
61         * src/limits.cc:  Likewise.
62         * include/c_shadow/stdlib.h:  Compile conditionally on _GLIBCPP_USE_C99
63         instead of _GLIBCPP_USE_LONG_LONG.
64         * include/c_shadow/bits/std_cstdlib.h:  Likewise.
66 2001-11-02  Phil Edwards  <pme@gcc.gnu.org>
68         * config/io/c_io_stdio.h:  Correct grammar in comments.
69         * docs/doxygen/Intro.3:  Expand "top-level" man page.
70         * docs/doxygen/doxygroups.cc:  New module definitions (comments).
71         * docs/doxygen/mainpage.doxy:  Tweaks.
72         * docs/doxygen/run_doxygen:  Update Doxygen version, massage man pages.
74         Add @file hooks so that headers are considered to be documented.
75         * include/bits/basic_ios.h, include/bits/basic_file.h,
76         include/bits/basic_string.h, include/bits/boost_concept_check.h,
77         include/bits/char_traits.h, include/bits/codecvt.h,
78         include/bits/concept_check.h, include/bits/cpp_type_traits.h,
79         include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
80         include/bits/indirect_array.h, include/bits/ios_base.h,
81         include/bits/locale_facets.h, include/bits/localefwd.h,
82         include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
83         include/bits/slice.h, include/bits/slice_array.h,
84         include/bits/std_algorithm.h, include/bits/std_bitset.h,
85         include/bits/std_complex.h, include/bits/std_deque.h,
86         include/bits/std_fstream.h, include/bits/std_functional.h,
87         include/bits/std_iomanip.h, include/bits/std_ios.h,
88         include/bits/std_iosfwd.h, include/bits/std_iostream.h,
89         include/bits/std_istream.h, include/bits/std_iterator.h,
90         include/bits/std_limits.h, include/bits/std_list.h,
91         include/bits/std_locale.h, include/bits/std_map.h,
92         include/bits/std_memory.h, include/bits/std_numeric.h,
93         include/bits/std_ostream.h, include/bits/std_queue.h,
94         include/bits/std_set.h, include/bits/std_sstream.h,
95         include/bits/std_stack.h, include/bits/std_streambuf.h,
96         include/bits/std_string.h, include/bits/std_utility.h,
97         include/bits/std_valarray.h, include/bits/std_vector.h,
98         include/bits/stl_algo.h, include/bits/stl_alloc.h,
99         include/bits/stl_bvector.h, include/bits/stl_construct.h,
100         include/bits/stl_deque.h, include/bits/stl_heap.h,
101         include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
102         include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
103         include/bits/stl_map.h, include/bits/stl_multimap.h,
104         include/bits/stl_multiset.h, include/bits/stl_numeric.h,
105         include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
106         include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
107         include/bits/stl_relops.h, include/bits/stl_set.h,
108         include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
109         include/bits/stl_threads.h, include/bits/stl_tree.h,
110         include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
111         include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
112         include/bits/stringfwd.h, include/bits/type_traits.h,
113         include/bits/valarray_array.h, include/bits/valarray_meta.h:
114         Add hooks, tweak comments only.
116         * include/bits/stl_algobase.h (swap, min, iter_swap):  Also
117         document these functions.
118         * include/bits/stl_function.h:  Tweak link comments.
120 2001-11-01  Paolo Carlini  <pcarlini@unitus.it>
121             Benjamin Kosnik  <bkoz@redhat.com>
122         
123         * testsuite/27_io/ios_manip_fmtflags.cc: Fix for non-interactive
124         output.
125         * include/bits/locale_facets.tcc (num_put::do_put(bool)): Fix.
126         
127 2001-11-01  Egor Duda  <deo@logos-m.ru>
129         * config/os/newlib/bits/ctype_noninline.h
130         (ctype<char>::do_toupper(char __c)): Check for proper character class.
131         (ctype<char>::do_tolower(char __c)): Ditto.
133 2001-11-01  Phil Edwards  <pme@gcc.gnu.org>
135         * acinclude.m4:  Fix spacing.
136         (GLIBCPP_ENABLE_CONCEPT_CHECKS):  New macro.
137         * configure.in:  Call here.
138         * acconfig.h:  Add _GLIBCPP_CONCEPT_CHECKS.
139         * include/bits/boost_concept_check.h:  Fix headers.
140         (__function_requires):  Make inline.
141         * include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS):  Remove.
142         * aclocal.m4:  Regenerate.
143         * config.h.in:  Regenerate.
144         * configure:  Regenerate.
146         Move trailing ';' inside macro, PR libstdc++/3666.
147         * include/bits/concept_check.h:  Add semicolon.
148         * include/bits/stl_algo.h:  Remove semicolon.
149         * include/bits/stl_algobase.h:  Likewise.
150         * include/bits/stl_deque.h:  Likewise.
151         * include/bits/stl_heap.h:  Likewise.
152         * include/bits/stl_iterator_base_funcs.h:  Likewise.
153         * include/bits/stl_list.h:  Likewise.
154         * include/bits/stl_map.h:  Likewise.
155         * include/bits/stl_multimap.h:  Likewise.
156         * include/bits/stl_multiset.h:  Likewise.
157         * include/bits/stl_numeric.h:  Likewise.
158         * include/bits/stl_queue.h:  Likewise.
159         * include/bits/stl_set.h:  Likewise.
160         * include/bits/stl_stack.h:  Likewise.
161         * include/bits/stl_vector.h:  Likewise.
162         * include/ext/hash_map:  Likewise.
163         * include/ext/hash_set:  Likewise.
164         * include/ext/slist:  Likewise.
166         * src/concept-inst.cc:  New file with explicit instantiations.
167         * src/Makefile.am (sources):  Add here, with special build rules.
168         * src/Makefile.in:  Regenerate.
170 2001-11-01  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
172         * include/bits/std_complex.h (_Norm_helper): New class template.
173         (norm): Tweak.
174         (abs): Tweak. Fix Thinko.
176 2001-10-31  Benjamin Kosnik  <bkoz@redhat.com>
178         libstdc++/4749
179         * include/bits/codecvt.h: Add virtual member function declarations.
180         * src/codecvt.cc: Tweaks.
181         * testsuite/22_locale/codecvt.cc: Test compilation only,
182         non-required facets not required to have linkage.
183         
184 2001-10-31  Edward E. Meyer  <edward.e.meyer@boeing.com>
186         libstdc++/4622
187         * include/bits/std_complex.h (complex::operator/=): Correct sign.
189 2001-10-30  Paolo Carlini  <pcarlini@unitus.it>
190             Benjamin Kosnik  <bkoz@redhat.com>
192         libstdc++/4354
193         * include/bits/basic_string.h: Tweaks.
194         * include/bits/basic_string.tcc (string::_M_replace(iterator,
195         iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
196         * src/string-inst.cc: Tweaks, add instantiation.
197         * testsuite/21_strings/replace.cc (test02): Add test.
198         * testsuite/21_strings/assign.cc (test01): New file.
199         
200 001-10-30  Jakub Jelinek  <jakub@redhat.com>
202         * include/bits/stl_deque.h (_M_new_elements_at_front): Use
203         __throw_exception_again.
204         (_M_new_elements_at_back): Likewise.
206 2001-10-29  Benjamin Kosnik  <bkoz@redhat.com>
208         libstdc++/3647
209         * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
210         * testsuite/27_io/filebuf.cc (test07): New test.
211         (test03): Modify showmanyc test.
213 2001-10-26  Benjamin Kosnik  <bkoz@redhat.com>
215         libstdc++/4503
216         * config/locale/codecvt_specializations_ieee_1003.1-200x.h
217         (__enc_traits::~__enc_traits): Fix.
218         (__enc_traits::_M_init): Add error checking.
219         
220 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
222         libstdc++/4542
223         * include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
225 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
227         libstdc++/4545
228         * include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
229         exceptions.
230         * include/bits/istream.tcc (istream::operator>>(streambuf*): Make
231         consistent, where possible.
232         * include/bits/streambuf.tcc: Tweak.
233         
234 2001-10-25  Brendan Kehoe  <brendan@zen.org>
236         libstdc++/4536
237         * bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
238         * bits/istream.tcc (seekg): Likewise.
240 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
241             Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
242             Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
243         
244         * config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
245         __s390x__ only.
246         * include/bits/std_limits.h: Fix wchar_t issues.
247         * config/os/aix/bits/os_defines.h: Fix.
248         
249 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
251         * include/bits/locale_facets.tcc (collate::do_transform): Fix.
253 2001-10-25  Phil Edwards  <pme@gcc.gnu.org>
255         * docs/html/documentation.html:  Fix typo.
257 2001-10-23  Benjamin Kosnik  <bkoz@redhat.com>
259         Make -fno-exceptions work.
260         * config/locale/c_locale_gnu.cc: Use functexcept.
261         * include/bits/c++config (__stl_assert): Remove.
262         (__STL_USE_EXCEPTIONS): Same.
263         (__STL_TRY): Same.
264         (__STL_CATCH_ALL): Same.
265         (__STL_THROW): Same.
266         (__STL_RETHROW): Same.
267         (__STL_NOTHROW): Same.
268         (__STL_UNWIND): Same.
269         * include/bits/pthread_allocimpl.h: Fix.
270         * include/bits/std_bitset.h: Same.
271         * include/bits/std_list.h: Same.
272         * include/bits/std_memory.h: Same.
273         * include/bits/std_queue.h: Same.
274         * include/bits/stl_alloc.h: Same.
275         * include/bits/stl_deque.h: Same.
276         * include/bits/stl_list.h: Same.
277         * include/bits/stl_queue.h: Same.
278         * include/bits/stl_tempbuf.h: Same.
279         * include/bits/stl_tree.h: Same.
280         * include/bits/stl_uninitialized.h: Same.
281         * include/bits/stl_vector.h: Same.
282         * include/ext/ropeimpl.h: Same.
283         * include/ext/slist: Same.
284         * include/ext/stl_hashtable.h: Same.
285         * include/ext/stl_rope.h: Same.
286         * libsupc++/new_op.cc: Include cstdlib.
287         * libsupc++/eh_personality.cc: Add exception_defines include. Use
288         __throw_exception_again, tweak.
289         * libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
290         * libsupc++/vec.cc: Tweak.
291         * src/functexcept.cc: Remove unused arguments.
292         * testsuite/23_containers/bitset_members.cc: Tweak.
294 2001-10-22  Benjamin Kosnik  <bkoz@redhat.com>
296         * config/cpu/i386/bits/limits.h: Move to...
297         * config/cpu/i386/bits/cpu_limits.h: ...here.
298         * config/cpu/cris/bits/cpu_limits.h: Same.
299         * config/cpu/powerpc/bits/cpu_limits.h: Same.   
300         * config/cpu/x86-64/bits/cpu_limits.h: Same.            
301         * config/cpu/alpha/bits/cpu_limits.h: New.
302         * config/cpu/m68k/bits/cpu_limits.h: New.
303         * config/cpu/s390/bits/cpu_limits.h: New.
304         * config/os/aix/bits/os_defines.h: Tweaks.
305         * config/os/bsd/freebsd/bits/os_defines.h: Same.
306         * config/os/bsd/netbsd/bits/os_defines.h: Same.
307         * config/os/djgpp/bits/os_defines.h: Same.
308         * config/os/generic/bits/os_defines.h: Same.
309         * config/os/gnu-linux/bits/os_defines.h: Same.
310         * config/os/hpux/bits/os_defines.h: Same.
311         * config/os/irix/irix5.2/bits/os_defines.h: Same.
312         * config/os/irix/irix6.5/bits/os_defines.h: Same.
313         * config/os/newlib/bits/os_defines.h: Same.
314         * config/os/solaris/solaris2.5/bits/os_defines.h: Same.
315         * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
316         * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
317         
318         * include/bits/c++config: Remove include.       
319         * include/bits/limits_generic.h: Remove.
320         * include/bits/std_limits.h: Include cpu_limits.h.
321         * include/Makefile.am: Fixup.
322         * src/limits.cc: Tweak.
323         * src/limits_generic.cc: Remove.
324         * src/gen-num-limits.cc: Remove.
325         * mknumeric_limits: Remove.
326         
327 2001-10-20  Brendan Kehoe  <brendan@zen.org>
329         * bits/type_traits.h (_Bool): Removed this type.
330         (__true_type, __false_type): Change to be plain structs.
331         * src/string-inst.cc (__destroy_aux): Change third parm to be
332         __false_type instead of _Bool<false>.
333         * src/misc-inst.cc (__uninitialized_fill_n_aux,
334         __uninitialized_copy_aux): Likewise.
336 2001-10-19  Benjamin Kosnik  <bkoz@redhat.com>
338         * mkcheck.in (static_fail): Remove older memory limit functionality.
339         Disable E_TIME due to formatting issues.
341         * README: Update.
342         
343 2001-10-19  Brendan Kehoe  <brendan@zen.org>
345         * include/bits/std_complex.h: Default initialize second argument
346         of polar to 0, as specified in Library DR #79
348 2001-10-19  Brendan Kehoe  <brendan@zen.org>
350         * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
351         _Construct instead of construct.
353 2001-10-19  Brendan Kehoe  <brendan@zen.org>
355         * include/bits/basic_string.tcc (find_first_not_of): Take out check for
356         __n being non-zero, since the standard does not mandate that.
357         e.g., a search for "" in "" should yield position 0, not npos.
358         (find_last_not_of): Likewise.
360 2001-10-19  Brendan Kehoe  <brendan@zen.org>
362         * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
363         to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
365 2001-10-19  Brendan Kehoe  <brendan@zen.org>
367         * include/bits/stl_iterator.h (reverse_iterator::current): Rename
368         member from _M_current, and change all uses; thus sayeth $24.4.1.1.
370 2001-10-19  Brendan Kehoe  <brendan@zen.org>
372         * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
373         template parameter _ValueType.
375 2001-10-19  Brendan Kehoe  <brendan@zen.org>
377         * include/bits/std_limits.h: Clean up extra semicolons.
378         * include/bits/locale_facets.h: Likewise.
379         * include/bits/type_traits.h: Likewise.
381 2001-10-19  Brendan Kehoe  <brendan@zen.org>
383         * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
384         * include/bits/locale_facets.tcc (locale::combine): Likewise.
386 2001-10-19  Benjamin Kosnik  <bkoz@redhat.com>
388         * include/bits/locale_facets.h (__timepunct::_M_put_helper):
389         Declare specializations for char, wchar_t.
391 2001-10-19  Andreas Jaeger  <aj@suse.de>
393         * config/cpu/x86-64/bits/limits.h: New file.
394         * config/cpu/x86-64/bits/atomicity.h: New file.
395         * configure.target: Add x86-64.
397 2001-10-17  Phil Edwards  <pme@gcc.gnu.org>
399         * docs/html/17_intro/howto.html:  Remove 1999 links (and explain
400         why).  Add link to recent message.
401         * docs/html/faq/index.html (5.6):  Reformat text only; fixup <pre>
402         markup.
403         * docs/html/faq/index.txt:  Regenerate.
405 2001-10-12  Loren J. Rittle  <ljrittle@acm.org>
407         * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
408         based on Nathan's review.  Use Nathan's words.
410 2001-10-11  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
412         * docs/html/configopts.html: Quote StyleSheet attribute values.
413         * docs/html/documentation.html: Likewise.
414         * docs/html/explanations.html: Likewise.
415         * docs/html/install.html: Likewise.
416         * docs/html/17_intro/howto.html: Likewise.
417         * docs/html/17_intro/license.html: Likewise.
418         * docs/html/18_support/howto.html: Likewise.
419         * docs/html/19_diagnostics/howto.html: Likewise.
420         * docs/html/20_util/howto.html: Likewise.
421         * docs/html/21_strings/howto.html: Likewise.
422         * docs/html/22_locale/howto.html: Likewise.
423         * docs/html/23_containers/howto.html: Likewise.
424         * docs/html/24_iterators/howto.html: Likewise.
425         * docs/html/25_algorithms/howto.html: Likewise.
426         * docs/html/26_numerics/howto.html: Likewise.
427         * docs/html/27_io/howto.html: Likewise.
428         * docs/html/ext/howto.html: Likewise.
429         * docs/html/ext/sgiexts.html: Likewise.
430         * docs/html/faq/index.html: Likewise.
432 2001-10-11  Loren J. Rittle  <ljrittle@acm.org>
434         * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
435         * docs/html/23_containers/howto.html (Containers and multithreading):
436         Update.
438 2001-10-09  Phil Edwards  <pme@gcc.gnu.org>
440         * docs/html/17_intro/howto.html:  Tweak markup and value type.
441         * docs/html/27_io/howto.html:  Tweak markup, describe setbuf() for
442         nonzero arguments, add new note on threading.
443         * docs/html/faq/index.html:  Update.
444         * docs/html/faq/index.txt:  Regenerate.
446 2001-10-09  Phil Edwards  <pme@gcc.gnu.org>
448         * docs/html/configopts.html:  More HTML->XHTML and lowercasing of tags.
449         * docs/html/documentation.html:  Likewise.
450         * docs/html/explanations.html:  Likewise.
451         * docs/html/install.html:  Likewise.
452         * docs/html/17_intro/howto.html:  Likewise.
453         * docs/html/17_intro/license.html:  Likewise.  Tighten up language.
454         * docs/html/18_support/howto.html:  Likewise.
455         * docs/html/19_diagnostics/howto.html:  Likewise.
456         * docs/html/20_util/howto.html:  Likewise.
457         * docs/html/21_strings/howto.html:  Likewise.
458         * docs/html/22_locale/howto.html:  Likewise.
459         * docs/html/23_containers/howto.html:  Likewise.
460         * docs/html/24_iterators/howto.html:  Likewise.
461         * docs/html/25_algorithms/howto.html:  Likewise.
462         * docs/html/26_numerics/howto.html:  Likewise.
463         * docs/html/27_io/howto.html:  Likewise.
464         * docs/html/ext/howto.html:  Likewise.
465         * docs/html/ext/sgiexts.html:  Likewise.
466         * docs/html/faq/index.html:  Likewise.  Not so many absolute links.
467         * docs/html/faq/index.txt:  Regenerate.
469 2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>
471         * docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
472         spelling errors of "separate" as "seperate", and corresponding
473         spelling errors of related words.
474         * docs/html/faq/index.txt: Regenerate.
476 2001-10-05  Phil Edwards  <pme@gcc.gnu.org>
478         * config/cpu/alpha/bits/atomicity.h (__compare_and_swap):  Remove
479         unused function.
480         * config/cpu/arm/bits/atomicity.h:  Likewise.
481         * config/cpu/generic/bits/atomicity.h:  Likewise.
482         * config/cpu/i486/bits/atomicity.h:  Likewise.
483         * config/cpu/ia64/bits/atomicity.h:  Likewise.
484         * config/cpu/mips/bits/atomicity.h:  Likewise.
485         * config/cpu/powerpc/bits/atomicity.h:  Likewise.
486         * config/cpu/sparc/sparc32/bits/atomicity.h:  Likewise.
487         * config/cpu/sparc/sparc64/bits/atomicity.h:  Likewise.
489 2001-10-04  Phil Edwards  <pme@gcc.gnu.org>
491         * docs/html/faq/index.html:  Describe DR #22, and a workaround.
492         * docs/html/faq/index.txt:  Regenerate.
494 2001-10-04  Phil Edwards  <pme@gcc.gnu.org>
496         * docs/html/17_intro/COPYING.DOC:  New file, GFDL v1.1 from the FSF.
497         * docs/html/17_intro/license.html:  New file.  Explain the licenses
498         in use.
500         * docs/html/configopts.html:  Link to license.html.
501         * docs/html/documentation.html:  Likewise.
502         * docs/html/explanations.html:  Likewise.
503         * docs/html/install.html:  Likewise.
504         * docs/html/17_intro/howto.html:  Likewise.
505         * docs/html/18_support/howto.html:  Likewise.
506         * docs/html/19_diagnostics/howto.html:  Likewise.
507         * docs/html/20_util/howto.html:  Likewise.
508         * docs/html/21_strings/howto.html:  Likewise.
509         * docs/html/22_locale/howto.html:  Likewise.
510         * docs/html/23_containers/howto.html:  Likewise.
511         * docs/html/24_iterators/howto.html:  Likewise.
512         * docs/html/25_algorithms/howto.html:  Likewise.
513         * docs/html/26_numerics/howto.html:  Likewise.
514         * docs/html/27_io/howto.html:  Likewise.
515         * docs/html/ext/howto.html:  Likewise.
516         * docs/html/ext/sgiexts.html:  Likewise.
517         * docs/html/faq/index.html:  Likewise.  New question, linking to
518         the new license.html.
520 2001-10-04  Phil Edwards  <pme@gcc.gnu.org>
522         * docs/html/17_intro/howto.html:  Fix mis-sed in header from 20010917.
523         * docs/html/18_support/howto.html:  Likewise.
524         * docs/html/19_diagnostics/howto.html:  Likewise.
525         * docs/html/20_util/howto.html:  Likewise.
526         * docs/html/21_strings/howto.html:  Likewise.
527         * docs/html/22_locale/howto.html:  Likewise.
528         * docs/html/23_containers/howto.html:  Likewise.
529         * docs/html/24_iterators/howto.html:  Likewise.
530         * docs/html/25_algorithms/howto.html:  Likewise.
531         * docs/html/26_numerics/howto.html:  Likewise.
532         * docs/html/27_io/howto.html:  Likewise.
533         * docs/html/ext/howto.html:  Likewise.
534         * docs/html/faq/index.html:  Likewise.  Spacing fix.
536 2001-10-03  Dimitris Vyzovitis  <vyzo@media.mit.edu>
538         * include/bits/stl_threads.h (_Atomic_swap): New function.
539         (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
540         * testsuite/ext/rope.cc: New file.
542 2001-10-02  Benjamin Kosnik  <bkoz@redhat.com>
544         * config/locale/time_members_gnu.h: Remove.
545         * config/locale/time_members_generic.h: Remove. 
546         * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
547         * config/locale/time_members_generic.cc: Same.
548         * include/bits/locale_facets.h: Add data members.
549         (__timepunct::_M_put_helper): Change signature.
550         (__timepunct::_M_date_formats): Same.
551         (__timepunct::_M_time_formats): Same.   
552         (__timepunct::_M_ampm): Add.
553         (__timepunct::_M_date_time_formats): Add.
554         (time_get::_M_extract_via_format): Add.
555         (time_get::_M_extract_time): Change to...
556         (time_get::_M_extract_num): ... this, modify signature.
557         * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
558         (time_get::do_get_time): Fix.
559         (time_get::do_get_date): Fix.   
560         
561         * acinclude.m4: Remove CTIME_H.
562         * aclocal.m4: Regenerate.
563         * include/Makefile.am: Same.
564         * include/Makefile.in: Regenerate.
565         * configure: Regenerate.
567         * testsuite/22_locale/time_get_members_char.cc: Fix.
568         * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
569         * testsuite/22_locale/time_put_members_wchar_t.cc: Add. 
570         
571 2001-10-01  Hans-Peter Nilsson  <hp@axis.com>
573         * config/cpu/cris/bits/atomicity.h: Correct file header.
575 2001-09-29  Hans-Peter Nilsson  <hp@axis.com>
577         * configure.target (LIMITSH): Set for cris.
578         (cpu_include_dir): Set for cris-*-*.
579         * config/cpu/cris/bits/atomicity.h: New file.
580         * config/cpu/cris/bits/limits.h: New file.
582 2001-09-28  Benjamin Kosnik  <bkoz@redhat.com>
584         * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
585         (__timepunct::_M_put_helper): Add.
586         * config/locale/time_members_generic.h: Same.
587         * include/bits/locale_facets.h (__match_parallel): Remove. Format.
588         (__timepunct): Add data members.
589         (__timepunct::_M_days): Add.
590         (__timepunct::_M_days_abbreviated): Add.
591         (__timepunct::_M_months): Add.
592         (__timepunct::_M_months_abbreviated): Add.
593         (__timepunct::_M_initialize_timepunct): Add.
594         * include/bits/locale_facets.tcc: Same. 
595         * src/locale-inst.cc: Remove instantiations for __match_parallel.
596         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
597         * aclocal.m4: Regenerate.
598         * configure: Regenerate.
599         * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
600         * testsuite/22_locale/time_put_members_char.cc (test01): New file.
601         * testsuite/22_locale/time_get.cc: New file.
603 2001-09-28  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
605         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
606         correct multilib builddir.
607         Properly locate libgcc_s.
609 2001-09-27  Phil Edwards  <pme@gcc.gnu.org>
611         * include/std/*:  Add Doxygen hooks.
612         * docs/doxygen/Intro.3:  New file, general intro to the man pages.
613         * docs/doxygen/mainpage.doxy:  Formatting tweaks.  List our own links
614         rather than using a generated index.
615         * docs/doxygen/user.cfg.in:  Disable the index, enable man pages.
616         * docs/doxygen/run_doxygen:  Massage the generated man pages, using...
617         * docs/doxygen/stdheader.cc:  ...this new file.
619 2001-09-26  Stan Shebs  <shebs@apple.com>
621         * include/Makefile.am: Remove RCS Id strings.
622         * src/Makefile.am: Ditto.
623         * docs/doxygen/run_doxygen: Ditto.
624         * docs/html/configopts.html: Ditto.
625         * docs/html/documentation.html: Ditto.
626         * docs/html/explanations.html: Ditto.
627         * docs/html/install.html: Ditto.
628         * docs/html/17_intro/howto.html: Ditto.
629         * docs/html/18_support/howto.html: Ditto.
630         * docs/html/19_diagnostics/howto.html: Ditto.
631         * docs/html/20_util/howto.html: Ditto.
632         * docs/html/21_strings/howto.html: Ditto.
633         * docs/html/22_locale/howto.html: Ditto.
634         * docs/html/23_containers/howto.html: Ditto.
635         * docs/html/24_iterators/howto.html: Ditto.
636         * docs/html/25_algorithms/howto.html: Ditto.
637         * docs/html/26_numerics/howto.html: Ditto.
638         * docs/html/27_io/howto.html: Ditto.
639         * docs/html/ext/howto.html: Ditto.
640         * docs/html/ext/sgiexts.html: Ditto.
641         * docs/html/faq/index.html: Ditto.
642         * docs/html/faq/index.txt: Ditto.
643         
644 2001-09-25  Phil Edwards  <pme@gcc.gnu.org>
646         * testsuite/21_strings/c_strings.cc (test01, test02):  Increase
647         `carray' size.
649 2001-09-25  Phil Edwards  <pme@gcc.gnu.org>
651         * docs/html/20_util/howto.html:  Add anchor name.
652         * docs/html/23_containers/howto.html:  Line wrapping, another link.
653         * docs/html/25_algorithms/howto.html:  Another note.
655         * docs/html/ext/howto.html:  Link to SGI extensions.  List DRs and
656         link to them...
657         * docs/html/ext/lwg-active.html:  ...in this new file (from R19),
658         * docs/html/ext/lwg-defects.html:  and this new file (from R19).
659         * docs/html/ext/sgiexts.html:  New file.  Mention SGI extensions
660         carried over to libstdc++-v3.
661         * docs/html/faq/index.html:  Link to SGI extensions.  Mention the
662         "missing .." pseudobug.
663         * docs/html/faq/index.txt:  Regenerate.
665         * include/bits/ios_base.h:  DR-related comment cleanup.
666         * include/bits/istream.tcc:  Likewise.
667         * include/bits/locale_facets.h:  Likewise.
668         * include/bits/locale_facets.tcc:  Likewise.
669         * include/bits/ostream.tcc:  Likewise.
670         * include/bits/std_bitset.h:  Likewise.
671         * include/bits/std_iosfwd.h:  Likewise.
672         * include/bits/std_istream.h:  Likewise.
673         * include/bits/std_ostream.h:  Likewise.
674         * include/bits/std_streambuf.h:  Likewise.
675         * include/bits/stl_pair.h:  Likewise.
676         * include/bits/streambuf_iterator.h:  Likewise.
678         * include/bits/std_map.h:  Remove unused header inclusion guard
679         _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
680         * include/bits/std_set.h:  Likewise.
682         * include/bits/stl_function.h:  Doxygen markup.
683         * docs/doxygen/doxygroups.cc:  New file, specifying module grouping.
684         * libsupc++/typeinfo:  Doxygen markup tweak.
686 2001-09-20  Scott Johnston <scott@accom.com>
687             Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
689         * include/backward/alloc.h: Conditionally define malloc_alloc 
690         * testsuite/backward/header_deque_h.cc: New file.
692 2001-09-20  Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
694         * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put): 
695         change variable name so that it works with -fno-for-scope.
697 2001-09-20  Benjamin Kosnik  <bkoz@redhat.com>
699         * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
700         redundant sanity checks.
701         * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
702         (test02): Same.
703         * testsuite/22_locale/money_put_members_char.cc (test01): Same.
704         (test02): Same.
705         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
706         * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
707         * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
708         (test02): Same.
709         * testsuite/22_locale/money_get_members_char.cc (test01): Same.
710         (test02): Same.
712 2001-09-19  Benjamin Kosnik  <bkoz@redhat.com>
714         Implement std::time_put.
715         * include/bits/locale_facets.h: Include time_members.h.
716         (__timepunct): New.
717         (time_put): Implement.
718         * include/bits/locale_facets.tcc (do_put): Put generic versions here.
719         * include/bits/localefwd.h: Bump number of facets.
720         * config/locale/time_members_generic.h: New file.
721         * config/locale/time_members_gnu.h: New file.
722         * config/locale/c_locale_generic.h: Include clocale.
723         * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
724         * src/locale.cc: Add __timepunct initializations.
725         * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
726         * include/Makefile.am (stamp-target): Add time_members.h.
727         * include/Makefile.in: Regenerate.
728         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
729         * aclocal.m4: Regenerate.
730         * configure: Regenerate.
731         * testsuite/22_locale/time_put.cc: New file.
732         * testsuite/22_locale/time_put_members_char.cc: New file.
734         * docs/html/22_locale/locale.html: Add note.
736 2001-09-17  Phil Edwards  <pme@gcc.gnu.org>
738         * docs/html/configopts.html:  HTML to XHTML change.  Lowercase tags.
739         * docs/html/documentation.html:  Likewise.
740         * docs/html/explanations.html:  Likewise.
741         * docs/html/install.html:  Likewise.
742         * docs/html/17_intro/howto.html:  Likewise.
743         * docs/html/18_support/howto.html:  Likewise.
744         * docs/html/19_diagnostics/howto.html:  Likewise.
745         * docs/html/20_util/howto.html:  Likewise.
746         * docs/html/21_strings/howto.html:  Likewise.
747         * docs/html/22_locale/codecvt.html:  Likewise.
748         * docs/html/22_locale/ctype.html:  Likewise.
749         * docs/html/22_locale/howto.html:  Likewise.
750         * docs/html/22_locale/locale.html:  Likewise.
751         * docs/html/22_locale/messages.html:  Likewise.
752         * docs/html/23_containers/howto.html:  Likewise.
753         * docs/html/24_iterators/howto.html:  Likewise.
754         * docs/html/25_algorithms/howto.html:  Likewise.
755         * docs/html/26_numerics/howto.html:  Likewise.
756         * docs/html/27_io/howto.html:  Likewise.
757         * docs/html/ext/howto.html:  Likewise.
758         * docs/html/faq/index.html:  Likewise.
759         * docs/html/faq/index.txt:  Regenerated.
761 2001-09-14  Phil Edwards  <pme@sources.redhat.com>
763         * docs/html/17_intro/headers_cc.txt:  "Sync"/copy real file over.
764         * docs/html/17_intro/howto.html:  Spacing and HTML markup fixes.
765         * docs/html/18_support/howto.html:  It won't compile; it's not code.
766         * docs/html/19_diagnostics/howto.html:  Point diagram seekers to
767         doxygen'd pages.
768         * docs/html/22_locale/howto.html:  Comment for future work.
769         * docs/html/23_containers/howto.html:  More comments.
770         * docs/html/25_algorithms/howto.html:  It's a comment, not a
771         blunt command to the reader.  (English grammar.)
773 2001-09-14  Benjamin Kosnik  <bkoz@redhat.com>
775         * config/locale/moneypunct_members_gnu.cc: Fix initialization of
776         wchar_t members.
777         * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
778         * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
780 2001-09-14  Benjamin Kosnik  <bkoz@redhat.com>
782         * include/bits/locale_facets.tcc: Conditionalize use of strtold.
784 2001-09-13  Alexandre Petit-Bianco  <apbianco@redhat.com>
786         * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
787         * testsuite/22_locale/money_put_members_char.cc: Likewise.
788         * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
790 2001-09-13  Benjamin Kosnik  <bkoz@redhat.com>
792         Implement std::money_get.
793         * include/bits/locale_facets.tcc (money_get::do_get): Implement.
794         * include/bits/locale_facets.h (money_get): Correct signatures.
795         * testsuite/22_locale/money_get.cc: New file.
796         * testsuite/22_locale/money_get_members_char.cc: New file.
798         * include/bits/locale_facets.tcc (__verify_grouping): New
799         function. Consolidate num_get and money_get group checking into
800         one function.
801         (money_get): Use it.
802         * src/locale.cc (num_get::_M_extract): Use it.
803         * src/locale-inst.cc: Add instantiation.
804         
805 2001-09-12  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
807         * include/bits/std_limits.h (numeric_limits<float>::radix,
808         numeric_limits<float>::epsilon:  Fix thinko.
810 2001-09-10  Benjamin Kosnik  <bkoz@redhat.com>
812         * configure.in: Fix cross compiling math routines. Correct
813         comments for cross compiling and limits. Add floating point math
814         routines found in newlib.
815         * configure: Regenerate.
816         * acconfig.h: Add macros.
817         * config.h.in: Regenerate.
818         
819 2001-09-10  Benjamin Kosnik  <bkoz@redhat.com>
821         * config/locale/moneypunct_members_generic.cc
822         (money_base::_S_construct_pattern): Remove unused parameters.
824 2001-09-10  Benjamin Kosnik  <bkoz@redhat.com>
826         * include/Makefile.am (stamp-target): Remove link to self.
827         * inclulde/Makefile.in: Regenerate.
828         
829 2001-09-09  Benjamin Kosnik  <bkoz@redhat.com>
831         Implement std::money_put.
832         * include/bits/locale_facets.h
833         (moneypunct::_M_initialize_moneypunct): Split up specializations
834         to account for _Intl.  More grody hacking to get around the
835         ill-considered use of const bool as a template parameter.
836         * config/locale/moneypunct_members_gnu.cc: And here.
837         * config/locale/moneypunct_members_generic.cc: And here.        
838         * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
839         * testsuite/22_locale/moneypunct.cc: Add tests.
840         * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
841         * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
842         
843         * src/locale.cc (money_base::_S_construct_pattern): Move into
844         gnu-specific file.
845         * config/locale/moneypunct_members_gnu.cc: Add here.
846         * config/locale/moneypunct_members_generic.cc: Add generic version
847         here.
849         * include/bits/locale_facets.tcc (money_put::do_put): Move member
850         function definitions here.
851         * include/bits/locale_facets.h (money_put): Implement.
852         * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
853         Correct money_get, money_put instantiations.
854         * src/locale.cc (money_base::_S_construct_pattern): Handle case
855         where __posn == 0.
856         * testsuite/22_locale/money_put_members_char.cc: Add tests.
857         
858 2001-09-05  Phil Edwards  <pme@sources.redhat.com>
860         * testsuite_flags.in:  No longer need to search testsuite builddir.
861         * src/stl-inst.cc (__sink_unused_warning):  Unused, remove.
862         * Makefile.am:  The testsuite directory never needs to be made here.
863         * Makefile.in:  Regenerate.
864         * include/Makefile.in:  Regenerate.
865         * libio/Makefile.in:  Regenerate.
866         * libmath/Makefile.in:  Regenerate.
867         * libsupc++/Makefile.in:  Regenerate.
868         * po/Makefile.in:  Regenerate.
869         * src/Makefile.in:  Regenerate.
870         * testsuite/Makefile.in:  Regenerate.
872 2001-09-04  Scott Johnston  <scott@accom.com>
873             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
875         * include/backward/iterator.h: Include <bits/std_iterator.h>,
876         remove reverse_bidirectional_iterator. 
877         * testsuite/backward: New directory.
878         * testsuite/backward/header_iterator_h.cc: New file.
879         
880 2001-09-04  Benjamin Kosnik  <bkoz@redhat.com>
882         * include/c_std/bits/std_c*.h: Don't use include_next.
884 2001-09-03  Richard Sandiford  <rsandifo@redhat.com>
886         * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
887         tmp from _Unwind_Ptr to _Unwind_Word.
889 2001-08-31  Jason Merrill  <jason_merrill@redhat.com>
891         * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
892         leb128 handling.
894 2001-08-28  Loren J. Rittle  <ljrittle@acm.org>
896         * include/Makefile.am: Use toplevel_srcdir to refer to src files
897         outside this component.
898         * include/Makefile.in: Regenerate.
900 2001-08-27  Benjamin Kosnik  <bkoz@redhat.com>
902         * config/locale/c_locale_gnu.cc: Move facet info to separate files...
903         * config/locale/c_locale_generic.cc: Same.
904         * config/locale/moneypunct_members_gnu.cc: New file.
905         * config/locale/moneypunct_members_generic.cc: New file.        
906         * config/locale/numpunct_members_gnu.cc: New file.
907         * config/locale/numpunct_members_generic.cc: New file.  
908         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
909         options.
910         * aclocal.m4: Regenerate.
911         * configure: Regenerate.
912         * src/Makefile.am (sources): And here.
913         * src/Makefile.in: Regenerate.
914         
915         Rename for consistency with rest of testsuite.
916         * testsuite/22_locale/codecvt.cc: New file.
917         * testsuite/22_locale/money_put.cc: New file.
918         * testsuite/22_locale/money_put_members_char.cc: New file.
919         
920 2001-08-27  Phil Edwards  <pme@sources.redhat.com>
922         PR libstdc++/4143
923         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO):  Handle enable/disable
924         correctly for version-specific-runtime-libs.
925         * aclocal.m4:  Regenerate.
926         * configure:  Regenerate.
928 2001-08-24  Loren J. Rittle  <ljrittle@acm.org>
930         * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
931         define if not already provided by per-OS file.
932         * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
933         Define.
935 2001-08-24  Jan van Male <jan.vanmale@fenk.wau.nl>
937         * docs/html/17_intro/C++STYLE:  Fix typo.
939 2001-08-24  Phil Edwards  <pme@sources.redhat.com>
941         * docs/html/23_containers/howto.html:  Describe implementation of
942         insertion with hints.
944 2001-08-24  Kenny Simpson  <kenny.simpson@gs.com>
946         libstdc++/3740
947         * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
949 2001-08-24  Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
950             Phil Edwards  <pme@sources.redhat.com>
952         PR libstdc++/3349
953         * include/bits/stl_tree.h (insert_unique):  Revert last change.
954         Values inserted at begin() must be less, not greater, than *begin()'s.
955         * testsuite/23_containers/map_insert.cc:  New file.
957 2001-08-23  Benjamin Kosnik  <bkoz@redhat.com>
959         * config/locale/c_locale_gnu.cc: Minor tweaks.
960         (moneypunct<wchar_t>): Implement.
961         * include/bits/locale_facets.h: Same.
962         * testsuite/22_locale/moneypunct.cc: New file.
963         * testsuite/22_locale/moneypunct_byname.cc: New file.
964         * testsuite/22_locale/moneypunct_char_members.cc: New file.     
966 2001-08-23  David Edelsohn  <edelsohn@gnu.org>
968         * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
969         Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
971 2001-08-23  Jason Merrill  <jason_merrill@redhat.com>
973         * testsuite_flags.in (build-includes): Re-add backward.
975 2001-08-22  Benjamin Kosnik  <bkoz@redhat.com>
977         * testsuite/22_locale/collate_wchar_t_members.cc: Guard
978         with _GLIBCPP_USE_WCHAR_T.
980 2001-08-21  Benjamin Kosnik  <bkoz@redhat.com>
982         * testsuite/22_locale/collate_byname.cc (test01): Fix.
984 2001-08-18  Vladimir A Merzliakov  <wanderer@rsu.ru>
986         * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
988 2001-08-18  Benjamin Kosnik  <bkoz@redhat.com>
990         * testsuite/22_locale/operators.cc: Add test.
991         
992 2001-08-17  Benjamin Kosnik  <bkoz@redhat.com>
994         Implement std::collate. 
995         * config/locale/collate_specializations_gnu.cc: Add here, implement in
996         MT-safe way.
997         * config/locale/collate_specializations_generic.cc: Add here, but
998         in a less sophisticated manner.
999         * include/bits/locale_facets.tcc (collate): Add generic definition.
1000         * include/bits/locale_facets.h (~collate): Mark virtual.
1001         (collate::_M_compare_helper): New.
1002         (collate::_M_transform_helper): New.
1003         * src/locale.cc: Remove unnecessary specializations.
1004         * src/string-inst.cc: Tweak instantiation of ctors.
1005         
1006         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
1007         * aclocal.m4: Regenerate.
1008         * configure: Regenerate.
1009         * src/Makefile.am (sources): Add collate.cc.
1010         * src/Makefile.in: Regenerate.
1011         
1012         * testsuite/22_locale/collate_byname.cc: New.
1013         * testsuite/22_locale/collate.cc: New file.
1014         * testsuite/22_locale/collate_char_members.cc: New file.
1015         * testsuite/22_locale/collate_wchar_t_members.cc: New file.     
1016         
1017 2001-08-16  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1019         * configure.target: Set LIMITSH for powerpc-*-*.
1020         * config/cpu/powerpc/bits/limits.h: New file.
1022 2001-08-16  Marc Espie <espie@openbsd.org>
1024         * configure.in:  Check for <sys/types.h>.
1025         * configure:  Rebuild.
1026         * config.h.in:  Rebuild.
1027         * libmath/mathconf.h:  Include <sys/types.h> prior to
1028         <machine/endian.h> if available.
1030 2001-08-15  Andreas Schwab  <schwab@suse.de>
1032         * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
1033         m68k and m680[246]0.
1034         * config/cpu/m68k/bits/atomicity.h: New file.
1036         * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
1037         Define appropriate long double limits for m68k extended floating
1038         point.
1039         (__glibcpp_f32_digits10): Corrected, off by one.
1040         (__glibcpp_f80_digits10): Likewise.
1041         (__glibcpp_f128_digits10): Likewise.
1042         * config/os/gnu-linux/bits/os_defines.h
1043         (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
1045 2001-08-15  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1047         * testsuite/18_support/numeric_limits.cc: Add more tests.
1048         * include/bits/std_limits.h (numeric_limits<char>::max): Fix
1049         typo. 
1051 2001-08-14  Ulrich Weigand  <uweigand@de.ibm.com>
1053         * configure.target (cpu_include_dir): Set to `config/cpu/s390'
1054         for s390 and s390x.
1056         * config/cpu/s390/bits/atomicity.h: New.
1058 2001-08-14  Gabriel Dos Reis  <gdr@codesourcery.com>
1060         * include/bits/std_limits.h: Fix thinko.
1062 2001-08-14  Benjamin Kosnik  <bkoz@redhat.com>
1064         * include/Makefile.am: Consolidate target rules. Don't clean stamp
1065         files. Tweak target build directory stamp.
1066         * include/Makefile.in: Regenerate.
1067         
1068 2001-08-14  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1070         * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
1071         _GBLICPP_HAVE_LOGL with HAVE_LOGL
1073 2001-08-13  Benjamin Kosnik  <bkoz@redhat.com>
1075         * configure.in (libtool_VERSION): Add.
1076         (VERSION): Change to 
1077         (release_VERSION): This.
1078         * configure: Regenerate.        
1079         * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
1080         libtool_VERSION.
1081         * src/Makefile.in: Regenerate.
1083         * intl/Makefile.am: Remove.
1084         * intl/Makefile.in: Remove.
1085         * intl: Remove.
1086         * Makefile.am (SUBDIRS): Remove intl.
1087         * po/Makefile.am (DISTFILES): Add string_literals.cc
1088         (MSGFMT): Add.
1089         * po/string_literals.cc: Add.
1090         * po/POTFILES.in: Fix path.
1091         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT. 
1092         * aclocal.m4: Regenerate.
1093         * configure.in: Remove AC_OUTPUT of intl/Makefile.
1094         
1095         * include/backward/backward_warning.h: Clarify message.
1097         * testsuite_flags.in (--cxxflags): Use same debug flags for
1098         library and testsuite.
1100         * include/Makefile.am (c_compatibility): Remove.
1101         * include/Makefile.in: Regenerate.
1102         
1103 2001-08-13  Mark Mitchell  <mark@codesourcery.com>
1105         * configure.in (LIMITS_INC_SRCDIR): New variable.
1106         * configure.target (LIMITSH): New variable.
1107         * porting.texi: Discuss numeric limits.
1108         * config/cpu/generic/bits/limits.h: New file.
1109         * config/cpu/i386/bits/limits.h: New file.
1110         * include/Makefile.am: Install bits/limits.h.
1111         * include/bits/c++config: Include bits/limits.h.
1113 2001-08-13  H.J. Lu  (hjl@gnu.org)
1115         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
1116         New. Copy files.
1117         (libstdc++-v3-init ): Use it.
1119 2001-08-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1121         * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
1122         to '__adjust' to avoid shadowing in nested scope.
1124 2001-08-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1126         * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
1127         __CHAR_UNSIGNED__.
1129         * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
1130         Likewise. 
1131         * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed): 
1132         Remove.
1134 2001-08-10  Loren J. Rittle  <ljrittle@acm.org>
1136         * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
1137         dummy default argument to the non-limit implementation.
1139         bootstrap/3963
1140         * include/Makefile.am: Use relative file path in rule to allow
1141         colon in $(objdir).
1142         * include/Makefile.in: Rebuilt.
1144 2001-08-10  Gunter Winkler  <gunter.winkler@mathematik.tu-chemnitz.de>
1146         * include/bits/std_complex.h (complex<long double>::operator*=,
1147         complex<long double>::operator/=): Fix thinko.
1149 2001-08-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1151         * include/bits/std_limits.h: New file.
1152         * include/Makefile.am (bits_headers): Add std_limits.h
1153         (all-local): std_limits.h is no longer built.
1154         (${target_builddir}/std_limits.h): Remove.
1155         * include/Makefile.in: Regenerate.
1156         * src/limits.cc: New file.
1157         * src/Makefile.am (sources): Add limits.cc in replacement of
1158         limitsMEMBERS.cc.
1159         * src/Makefile.in: Regenerate.
1161 2001-08-09  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1163         * src/gen-num-limits.cc (digits10): Fix thinko.
1165 2001-08-09  Benjamin Kosnik  <bkoz@redhat.com>
1167         * po/Makefile.am (check-no): Add.
1168         (check-yes): Same.
1169         * po/Makefile.in: Regenerate.
1170         
1171 2001-08-09  Benjamin Kosnik  <bkoz@redhat.com>
1173         * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
1174         * config.h.in: Regenerate.
1175         * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
1176         function.
1177         * aclocal.m4: Regenerate.
1178         * configure.in: Remove duplicate AM_CONFIG_HEADER.
1179         (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
1180         Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
1181         * configure: Regenerate.
1182         * testsuite_hooks.h.in: Move to...
1183         * testsuite_hooks.h: Here, include c++config.h. Use it.
1184         
1185         * Makefile.am (SUBDIRS): Move testsuite to last directory.
1186         * Makefile.in: Regenerate.
1187         * po/Makefile.am (stamp-po): Add.
1189 2001-08-09  David Edelsohn  <edelsohn@gnu.org>
1191         * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
1192         * config/os/generic/bits/os_defines.h: Likewise.
1193         * config/os/gnu-linux/bits/os_defines.h: Likewise.
1194         * config/os/hpux/bits/os_defines.h: Likewise.
1195         * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
1196         * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
1198 2001-08-08  Benjamin Kosnik  <bkoz@redhat.com>
1200         * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
1201         -version-info, use substituted VERSION info.
1202         * src/Makefile.in: Regenerate.
1203         
1204 2001-08-07  Benjamin Kosnik  <bkoz@redhat.com>
1206         Implement std::messages.
1207         Make config a fully-nested directory.
1208         * config/locale: New directory.
1209         * config/c_locale_generic.cc: Move into locale subdirectory.
1210         * config/c_locale_generic.h: Same.
1211         * config/c_locale_gnu.cc: Same.
1212         * config/c_locale_gnu.h: Same.
1213         * config/c_locale_ieee_1003.1-200x.cc: Same.
1214         * config/c_locale_ieee_1003.1-200x_.h: Same.
1215         * config/codecvt_specializations_generic.h: Same.
1216         * config/codecvt_specializations_ieee_1003.1-200x.h: Same.      
1217         * config/messages_members_gnu.h: Same.
1218         * config/messaages_members_gnu.cc: Same.
1219         * config/messages_members_generic.h: Same.
1220         * config/messaages_members_generic.cc: Same.
1221         * config/messages_members_ieee_1003.1-200x.h: Same.
1222         * config/messaages_members_ieee_1003.1-200x.cc: Same.
1223         * config/io: New directory.
1224         * config/basic_file_libio.h: Move into io subdirectory. 
1225         * config/basic_file_libio.cc: Same.
1226         * config/c_io_libio.h: Same.
1227         * config/c_io_libio_codecvt.c: Same.    
1228         * config/basic_file_stdio.h: Same.
1229         * config/basic_file_stdio.cc: Same.
1230         * config/c_io_stdio.h: Same.
1231         
1232         * po: New directory.
1233         * po/POTFILES.in: New file.
1234         * po/Makefile.am: New file.
1235         * po/Makefile.in: New file.     
1236         * po/libstdc++.pot: Generic translation file.
1237         * po/fr.po: Preliminary French translation.
1238         * po/de.po: Preliminary German translation.
1239         * intl: New directory.
1240         * intl/Makefile.am: New file.
1241         * intl/Makefile.in: New file.   
1242         * intl/string_literals.cc: New file.
1243         * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
1244         requisite setup for gettext. Re-arrange.
1245         * aclocal.m4: Regenerate.
1246         * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
1247         Output Makefile bits for po and intl.
1248         * configure: Regenerate.
1249         * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
1250         * Makefile.in: Regenerate.
1251         * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
1252         * config.h.in: Regenerate.
1254         * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
1255         
1256         * include/Makefile.am (install-data-local): Don't install Makefile.
1257         * include/Makefile.in: Regenerate.
1258         
1259         * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
1260         Add member.
1261         * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
1262         * config/locale/c_locale_generic.cc: Same.
1263         * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
1265         * include/bits/codecvt.h: Excise non-standard, non-required
1266         bits. This includes __enc_traits, and partial specializations of
1267         codecvt for __enc_traits.
1268         * src/codecvt.cc (__enc_traits::_S_max_size): Guard 
1269         * config/codecvt_partials_ieee_1003.1-200x.h: New file. 
1270         * config/codecvt_partials_generic.h: New file.          
1271         * include/Makefile.am (allstamps): Add stamp-codecvt_model.
1272         (stamp-codecvt_model): Add.
1273         * include/Makefile.in: Regenerate.
1274         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
1275         * aclocal.m4: Regenerate.
1276         * configure: Regenerate.
1277         * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
1278         * testsuite/22_locale/codecvt_unicode_char.cc: Same.
1279         * testsuite/22_locale/ctor_copy_dtor.cc: And here.
1280         
1281         * include/bits/localefwd.h (class locale::facet): Add __enc_traits
1282         as a friend for _S_*_c_locale functions.
1283         * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
1284         argument to default constructor so that CODESET information can be
1285         deduced.
1286         * include/bits/locale_facets.h (messages_byname):
1287         Re-implement. Remove specializations.
1288         * src/locale.cc (messages_byname<char>): Remove specialization.
1289         (messages_byname<wchar_t>): Same.
1290         * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
1291         * config/locale/c_locale_ieee_1003.1-200x.h: New file.  
1292         * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
1293         * config/locale/messages_members_ieee_1003.1-200x.h: New file.  
1294         * config/locale/messages_members_gnu.cc: New file.
1295         * config/locale/messages_members_gnu.h: New file.       
1296         * config/locale/messages_members_generic.cc: New file.
1297         * config/locale/messages_members_generic.h: New file.   
1298         
1299         * docs/html/configopts.html: Add documentation for new locale
1300         model, ieee_1003.1. Adjust other flags for current defaults.
1301         * docs/html/22_locale/locale.html: Update.
1302         * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
1303         * docs/html/22_locale/messages.html: New.
1305         * src/Makefile.am (sources): Add messages_virtuals.cc.
1306         * src/Makefile.in: Regenerate.
1307         * include/Makefile.am (allstamps): Add stamp-messages_model.
1308         (stamp-messages_model): Add.
1309         * include/Makefile.in: Regenerate.
1310         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
1311         * aclocal.m4: Regenerate.
1312         * configure: Regenerate.
1314         * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
1315         * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
1316         bits for Irix. 
1317         * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
1318         build directories message catalog base directory, and export.
1319         Eventually this should probably be made to deal with build and
1320         install directories. For now, punt on this as the library itself
1321         doesn't use message catalogs (yet).
1322         * testsuite/22_locale/messages.cc: New file.
1323         * testsuite/22_locale/messages_char_members.cc: New file.
1324         * testsuite/22_locale/messages_byname.cc: New file.
1326 2001-08-06  Phil Edwards  <pme@sources.redhat.com>
1328         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE):  New macro, calls...
1329         (GLIBCPP_CHECK_SETRLIMIT):  ...this new macro, which also uses...
1330         (GLIBCPP_CHECK_SETRLIMIT_ancilliary):  ...this new macro.
1331         * configure.in (AM_CONFIG_HEADER):  Also generate testsuite_hooks.h.
1332         Call GLIBCPP_CONFIGURE_TESTSUITE.
1333         * aclocal.m4:  Regenerate.
1334         * config.h.in:  Regenerate.
1335         * configure:  Regenerate.
1337         * testsuite/lib/libstdc++-v3-dg.exp:  Download new header instead
1338         of old header.
1340         * testsuite_flags.in:  Add build dir's testsuite to INCLUDES.
1341         * testsuite/debug_assert.h:  Removed; contents merged into...
1342         * testsuite/testsuite_hooks.h.in:  ...here.  New file.
1343         * testsuite/17_intro/header_ciso646.cc:  No longer include
1344         debug_assert.h, include testsuite_hooks.h instead.
1345         * testsuite/17_intro/header_fstream.cc:  Likewise.
1346         * testsuite/17_intro/header_iomanip.cc:  Likewise.
1347         * testsuite/17_intro/header_ios.cc:  Likewise.
1348         * testsuite/17_intro/header_iosfwd.cc:  Likewise.
1349         * testsuite/17_intro/header_iostream.cc:  Likewise.
1350         * testsuite/17_intro/header_istream.cc:  Likewise.
1351         * testsuite/17_intro/header_ostream.cc:  Likewise.
1352         * testsuite/17_intro/header_sstream.cc:  Likewise.
1353         * testsuite/17_intro/header_streambuf.cc:  Likewise.
1354         * testsuite/18_support/numeric_limits.cc:  Likewise.
1355         * testsuite/19_diagnostics/stdexceptions.cc:  Likewise.
1356         * testsuite/20_util/allocator_members.cc:  Likewise.
1357         * testsuite/20_util/auto_ptr.cc:  Likewise.
1358         * testsuite/20_util/pairs.cc:  Likewise.
1359         * testsuite/21_strings/append.cc:  Likewise.
1360         * testsuite/21_strings/capacity.cc:  Likewise.
1361         * testsuite/21_strings/char_traits_requirements.cc:  Likewise.
1362         * testsuite/21_strings/compare.cc:  Likewise.
1363         * testsuite/21_strings/ctor_copy_dtor.cc:  Likewise.  Also set up
1364         call to (disabled) __set_testsuite_memlimit() wrapper.
1365         * testsuite/21_strings/element_access.cc:  Likewise.
1366         * testsuite/21_strings/find.cc:  Likewise.
1367         * testsuite/21_strings/insert.cc:  Likewise.  Also set up call to
1368         (disabled) __set_testsuite_memlimit() wrapper.
1369         * testsuite/21_strings/inserters_extractors.cc:  Likewise.
1370         * testsuite/21_strings/invariants.cc:  Likewise.
1371         * testsuite/21_strings/nonmember.cc:  Likewise.
1372         * testsuite/21_strings/operations.cc:  Likewise.
1373         * testsuite/21_strings/replace.cc:  Likewise.
1374         * testsuite/21_strings/rfind.cc:  Likewise.
1375         * testsuite/21_strings/substr.cc:  Likewise.
1376         * testsuite/22_locale/codecvt_char_char.cc:  Likewise.
1377         * testsuite/22_locale/codecvt_unicode_char.cc:  Likewise.
1378         * testsuite/22_locale/codecvt_unicode_wchar_t.cc:  Likewise.
1379         * testsuite/22_locale/codecvt_wchar_t_char.cc:  Likewise.
1380         * testsuite/22_locale/ctor_copy_dtor.cc:  Likewise.
1381         * testsuite/22_locale/ctype_char_members.cc:  Likewise.
1382         * testsuite/22_locale/ctype_wchar_t_members.cc:  Likewise.
1383         * testsuite/22_locale/facet.cc:  Likewise.
1384         * testsuite/22_locale/global_templates.cc:  Likewise.
1385         * testsuite/22_locale/members.cc:  Likewise.
1386         * testsuite/22_locale/numpunct_byname.cc:  Likewise.
1387         * testsuite/22_locale/numpunct_char_members.cc:  Likewise.
1388         * testsuite/22_locale/operators.cc:  Likewise.
1389         * testsuite/22_locale/static_members.cc:  Likewise.
1390         * testsuite/23_containers/bitset_ctor.cc:  Likewise.
1391         * testsuite/23_containers/bitset_members.cc:  Likewise.
1392         * testsuite/23_containers/bitset_shift.cc:  Likewise.
1393         * testsuite/23_containers/vector_capacity.cc:  Likewise.
1394         * testsuite/23_containers/vector_ctor.cc:  Likewise.
1395         * testsuite/23_containers/vector_element_access.cc:  Likewise.
1396         * testsuite/23_containers/vector_modifiers.cc:  Likewise.
1397         * testsuite/24_iterators/istreambuf_iterator.cc:  Likewise.
1398         * testsuite/24_iterators/iterator.cc:  Likewise.
1399         * testsuite/24_iterators/ostreambuf_iterator.cc:  Likewise.
1400         * testsuite/25_algorithms/binary_search.cc:  Likewise.
1401         * testsuite/25_algorithms/copy.cc:  Likewise.
1402         * testsuite/25_algorithms/heap.cc:  Likewise.
1403         * testsuite/25_algorithms/lower_bound.cc:  Likewise.
1404         * testsuite/25_algorithms/min_max.cc:  Likewise.
1405         * testsuite/25_algorithms/partition.cc:  Likewise.
1406         * testsuite/25_algorithms/rotate.cc:  Likewise.
1407         * testsuite/25_algorithms/sort.cc:  Likewise.
1408         * testsuite/26_numerics/c_math.cc:  Likewise.
1409         * testsuite/26_numerics/complex_inserters_extractors.cc:  Likewise.
1410         * testsuite/26_numerics/complex_value.cc:  Likewise.
1411         * testsuite/27_io/filebuf.cc:  Likewise.
1412         * testsuite/27_io/filebuf_members.cc:  Likewise.
1413         * testsuite/27_io/filebuf_virtuals.cc:  Likewise.
1414         * testsuite/27_io/fpos.cc:  Likewise.
1415         * testsuite/27_io/fstream_members.cc:  Likewise.
1416         * testsuite/27_io/ifstream_members.cc:  Likewise.
1417         * testsuite/27_io/ios_base_callbacks.cc:  Likewise.
1418         * testsuite/27_io/ios_base_members_static.cc:  Likewise.
1419         * testsuite/27_io/ios_base_storage.cc:  Likewise.
1420         * testsuite/27_io/ios_ctor.cc:  Likewise.
1421         * testsuite/27_io/ios_init.cc:  Likewise.
1422         * testsuite/27_io/ios_manip_basefield.cc:  Likewise.
1423         * testsuite/27_io/ios_manip_fmtflags.cc:  Likewise.
1424         * testsuite/27_io/ios_members.cc:  Likewise.
1425         * testsuite/27_io/istream_extractor_arith.cc:  Likewise.
1426         * testsuite/27_io/istream_extractor_char.cc:  Likewise.
1427         * testsuite/27_io/istream_extractor_other.cc:  Likewise.
1428         * testsuite/27_io/istream_manip.cc:  Likewise.
1429         * testsuite/27_io/istream_seeks.cc:  Likewise.
1430         * testsuite/27_io/istream_sentry.cc:  Likewise.
1431         * testsuite/27_io/istream_unformatted.cc:  Likewise.
1432         * testsuite/27_io/istringstream_members.cc:  Likewise.
1433         * testsuite/27_io/narrow_stream_objects.cc:  Likewise.
1434         * testsuite/27_io/ofstream_members.cc:  Likewise.
1435         * testsuite/27_io/ostream_inserter_arith.cc:  Likewise.
1436         * testsuite/27_io/ostream_inserter_char.cc:  Likewise.
1437         * testsuite/27_io/ostream_inserter_other.cc:  Likewise.
1438         * testsuite/27_io/ostream_manip.cc:  Likewise.
1439         * testsuite/27_io/ostream_seeks.cc:  Likewise.
1440         * testsuite/27_io/ostream_unformatted.cc:  Likewise.
1441         * testsuite/27_io/ostringstream_members.cc:  Likewise.
1442         * testsuite/27_io/streambuf.cc:  Likewise.
1443         * testsuite/27_io/stringbuf.cc:  Likewise.
1444         * testsuite/27_io/stringbuf_virtuals.cc:  Likewise.
1445         * testsuite/27_io/stringstream.cc:  Likewise.
1446         * testsuite/27_io/stringstream_members.cc:  Likewise.
1447         * testsuite/27_io/wide_stream_objects.cc:  Likewise.
1449 2001-07-31  Loren J. Rittle  <ljrittle@acm.org>
1451         * src/gen-num-limits.cc:  Use __LONG_LONG_MAX__.
1453 2001-07-30  Benjamin Kosnik  <bkoz@redhat.com>
1455         * configure.target: Remove mips from cpu table.
1456         * config/cpu/mips/bits/atomicity.h: Remove generic
1457         versions. Comment sgidefs include.
1458         
1459 2001-07-25  H.J. Lu <hjl@gnu.org>
1461         * configure.target (cpu_include_dir): Set to `config/cpu/mips'
1462         for mips.
1464         * config/cpu/mips/bits/atomicity.h: New.
1466 2001-07-25  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1468         * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
1469         hypotl, atan2f, atan2l.  Remove from REPLACE_MATHFUNCS list.
1470         * aclocal.m4: Regenerate.
1471         * config.h.in: Likewise.
1472         * configure: Likewise.
1473         * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
1474         (EXTRA_DIST): Remove hypot.c hypotf.c.
1475         * libmath/Makefile.am: Regenerate.
1476         * libmath/hypotf.c: Remove.
1477         * libmath/hypot.c: Likewise.
1478         * libmath/hypotl.c: Likewise.
1479         * libmath/stubs.c: The macros seen here are HAVE_xxx, not
1480         _GLIBCPP_HAVE_xxx.  Add long double versions.
1482 2001-07-23  David Edelsohn  <edelsohn@gnu.org>
1484         * include/bits/limits_generic.h (int): Set digits and digits10
1485         appropriately for word size.
1486         (unsigned int,long,unsigned long): Likewise.
1488 2001-07-19  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1490         * include/bits/stl_algo.h : Fix typos.
1491         * testsuite/25_algorithms/unique.cc: New file.
1492         
1493 2001-07-19  Phil Edwards  <pme@sources.redhat.com>
1494             Mark Mitchell <mark@codesourcery.com>
1496         Merge from cp-parser-branch.
1497         * include/bits/basic_string.h:  Qualify symbols with 'template'.
1498         * include/bits/basic_string.tcc:  Likewise.
1499         * include/bits/fstream.tcc:  Likewise.
1500         * include/bits/istream.tcc:  Likewise.
1501         * include/bits/sstream.tcc:  Likewise.
1502         * include/bits/std_istream.h:  Likewise.
1503         * include/bits/stl_iterator.h:  Likewise.
1504         * include/bits/streambuf.tcc:  Likewise.
1505         * src/gen-num-limits.cc:  Add 'template<>' to specializations.
1506         * src/locale.cc:  Likewise.
1508 2001-07-19  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1509             Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
1511         * src/gen-num-limits.cc (set_signals_handler): New function.
1512         Factor out signals setting.  Set signal handler for SIGILL.
1514 2001-07-18  Phil Edwards  <pme@sources.redhat.com>
1516         * docs/html/27_io/howto.html:  Fix typo.
1517         * docs/html/faq/index.html:  Minor updates for 3.0 all around.
1518         * docs/html/faq/index.txt:  Regenerated.
1520 2001-07-18  Stephen M. Webb  <stephen@bregmasoft..com>
1521             Roman Sulzhyk  <roman_sulzhyk@yahoo.com>
1523         libstdc++/3599
1524         * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
1525         * testsuite/27_io/streambuf.cc (test07): Added new regression test.
1527 2001-07-17  Stephen M. Webb   <stephen@bregmasoft.com>r
1529         All occurrences of the __value_type() and __distance_type()
1530         functions, which were required to support the HP STL, have been
1531         removed along with all the auxiliary forwarding functions that
1532         were required to support their use.
1534         The __iterator_category() function was pretty much left alone
1535         because there was no benefit to removing it and its use made code
1536         just a little more readable.
1538         Incidences of distance() with nonstandard argument list were
1539         replaced by calls to the standard function (only in the files
1540         affected by the removal of the other HP functions).
1542         The signature of the rotate() algorithm was changed to match the
1543         standard.
1545         Headers were reformatted under C++STYLE guidelines (indentation,
1546         linebreaks, typename keyword).
1548         * include/bits/stl_algo.h: replaced __value_type() and
1549         __distance_type() with iterator_traits, eliminated auxiliary
1550         support functions required to support said function usage.
1551         Changed nonstandard distance() call to standard call.
1553         * include/bits/stl_algobase.h: Same.
1554         * include/bits/stl_heap.h: Same.
1555         * include/bits/stl_numeric.h: Same.
1556         * include/bits/stl_uninitialized.h: Same.
1557         * include/bits/stl_iterator_base_types.h (__value_type()):
1558         Removed.
1559         (__distance_type()): Removed.
1560         (value_type()): Gone.
1561         (distance_type()): Done in.
1562         (iterator_category()): Hasta la vista, baby.
1564         * include/bits/stl_iterator_base_funcs.h (iterator_category()):
1565         Replaced with __iterator_category().
1566         * include/backward/iterator.h: moved definition of value_type(),
1567         distance_type(), and iterator_category() out of std:: and into
1568         here.
1569         * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
1570         * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
1571         * testsuite/25_algorithms/rotate.cc: New testcase.
1572         * testsuite/25_algorithms/copy.cc: New testcase.
1573         * testsuite/25_algorithms/sort.cc: Same.
1574         * testsuite/25_algorithms/heap.cc: Same.
1575         * testsuite/25_algorithms/partition.cc: Same.
1576         * testsuite/25_algorithms/binary_search.cc: Same.
1577         * testsuite/26_numerics/sum_diff.cc: Ditto.
1579 001-07-17  Benjamin Kosnik  <bkoz@redhat.com>
1581         * testsuite/README: Add notes on naming test cases.
1582         * testsuite/22_locale/members.cc: Mark as xfail.
1583         * testsuite/22_locale/numpunct_char_members.cc: Same.
1585 2001-07-16  Stephen M. Webb  <stephen@bregmasoft.com>
1587         * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS):  Use glibcpp_srcdir when
1588         setting C_INCLUDE_DIR.
1589         * configure.in:  Revert yesterday's LN_S change.
1590         * aclocal.m4:  Regenerate.
1591         * configure:  Regenerate.
1593 2001-07-15  Phil Edwards  <pme@sources.redhat.com>
1595         * configure.in:  Temporarily force LN_S to copy instead of symlink.
1596         * configure:  Regenerate.
1598 2001-07-13  Phil Edwards  <pme@sources.redhat.com>
1600         * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
1601         Initialize _M_string with pointer-and-size constructor, not just
1602         pointer.  Fix some comments.
1603         * testsuite/21_strings/ctor_copy_dtor.cc (test03):  New test.
1604         * testsuite/27_io/stringbuf.cc (test02):  Remove unused variable.
1605         (test03):  Add embedded-NUL tests.
1607         * mkcheck.in:  When printing totals, match the order of the tests.
1608         * include/bits/stringfwd.h:  Use same declaration keywords.
1609         * include/bits/std_iosfwd.h:  Cosmetic spacing.
1611 2001-07-13  Stephen M. Webb  <stephen@bregmasoft.com>
1612             Loren J. Rittle  <ljrittle@acm.org>
1613             Phil Edwards  <pme@sources.redhat.com>
1615         * include/Makefile.am:  New file encapsulating header generation rules.
1616         * Makefile.am (SUBDIRS):  Prepend 'include' directory.
1617         * acinclude.m4:  Moved/removed rules for building various headers.
1618         * configure.in (AC_OUTPUT):  Add include/Makefile.
1619         * mkc++config:  Removed.
1621         * testsuite_flags.in:  Changed build-includes to match new scheme.
1622         * mknumeric_limits:  Likewise.
1623         * libio/Makefile.am:  Changed INCLUDES to maatch new header scheme.
1624         * libmath/Makefile.am:  Likewise.
1625         * libsupc++/Makefile.am:  Likewise.
1626         * src/Makefile.am:  Likewise; removed rules to build headers.
1627         * libmath/mathconf.h:  Changed #include'd header names to match.
1628         * libmath/stubs.c:  Likewise.
1629         * src/gen-num-limits.cc:  Likewise.
1631         * configure:  Regenerated.
1632         * config.h.in:  Regenerated.
1633         * aclocal.m4:  Regenerated.
1634         * Makefile.in:  Regenerated.
1635         * include/Makefile.in:  Regenerated.
1636         * libio/Makefile.in:  Regenerated.
1637         * libmath/Makefile.in:  Regenerated.
1638         * libsupc++/Makefile.in:  Regenerated.
1639         * src/Makefile.in:  Regenerated.
1640         * testsuite/Makefile.in:  Regenerated.
1642 2001-07-11   Felix Natter  <fnatter@gmx.net>
1644         * docs/html/17_intro/porting-howto.xml:  Initial checkin of
1645         master copy.
1646         * docs/html/17_intro/porting-howto.html:  check in v0.9.3
1648 2001-07-11  Phil Edwards  <pme@sources.redhat.com>
1650         * docs/doxygen/run_doxygen:  Don't keep output from previous run.
1651         * docs/doxygen/user.cfg.in:  Tweaks.
1652         * include/bits/c++config:  Documentation comments for Doxygen.
1653         * include/bits/char_traits.h:  Likewise.
1654         * include/bits/limits_generic.h:  Likewise.
1655         * include/bits/std_stdexcept.h:  Likewise.
1656         * include/bits/stl_pair.h:  Likewise.
1657         * libsupc++/exception:  Likewise.
1658         * libsupc++/new:  Likewise.
1659         * libsupc++/typeinfo:  Likewise.
1660         * libmath/Makefile.am:  Update and correct copyright.
1662 2001-07-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1664         * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
1665         * aclocal.m4: Regenerate.
1666         * configure: Same.
1668 2001-07-09  Phil Edwards  <pme@sources.redhat.com>
1670         * docs/html/configopts.html:  Fix thinko.
1671         * docs/html/27_io/howto.html:  Fix thinko and HTML markup.
1672         * include/bits/stl_iterator.h:  Fix typo.
1674 2001-07-09  Phil Edwards  <pme@sources.redhat.com>
1676         * docs/html/explanations.html:  New file.
1677         * docs/html/configopts.html:  Link to it to provide more notes
1678         on cstdio.  Minor markup and spacing fixes.
1679         * docs/html/27_io/howto.html:  Talk about sync_with_stdio.
1681 2001-07-09  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
1683         * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
1684         for _Expr template template argument.
1685         (_Expr::operator-): Likewise.
1686         (_Expr::operator~): Likewise.
1687         (_Expr::operator!): Likewise.
1688         (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
1690 2001-07-06  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1692         * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
1693         * libmath/Makefile.in: Regenerate.
1694         * libmath/expf.c: Remove.
1695         * libmath/atan2f.c: Likewise.
1697 2001-07-06  Daniel Jacobowitz  <drow@mvista.com>
1699         * configure.in: Remove NATIVE, NULL_TARGET.
1700         Set CANADIAN only for Canadian crosses.  Set xcompiling
1701         for both Canadian crosses and host-x-host crosses.
1702         * configure: Regenerated.
1704 2001-07-06  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1706         * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
1708 2001-07-05  Jason Merrill  <jason_merrill@redhat.com>
1710         * testsuite_flags.in (--build-includes): backward, not backwards.
1712 2001-07-04  Jeffrey Oldham  <oldham@codesourcery.com>
1714         * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
1715         Replace destroy by _Destroy.
1716         (_Rope_RopeRep::_S_free_string): Likewise.
1717         (rope::c_str()): Likewise.
1718         * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
1719         (_Slist_base::_M_erase_after): Likewise.
1720         (slist::_M_create_node): Replace construct by _Construct.
1721         (slist::pop_front): Replace destroy by _Destroy.
1722         * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
1723         construct by _Construct.
1724         (hashtable::_M_delete_node): Replace destroy by _Destroy.
1725         * include/ext/stl_rope.h (rope::rope): Replace construct by
1726         _Construct.
1727         (rope::copy): Replace destroy by _Destroy.
1729 2001-07-03  Benjamin Kosnik  <bkoz@redhat.com>
1731         * include/bits/localefwd.h: Format.     
1732         * include/bits/locale_facts.tcc (locale::combine): Adjust.
1733         * src/locale.cc (locale::locale::(_Impl)): Don't call
1734         _M_add_reference.
1735         (locale::facet::_M_remove_reference): Simplify.
1736         * src/globals.cc (locale_impl_c): New. Format.
1737         (locale_c): New.
1738         * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
1740 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
1742         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
1743         expansion (thanks to Alexandre Oliva).
1744         * aclocal.m4: Regenerate.
1745         * configure: Regenerate.
1747 2001-07-02  Benjamin Kosnik  <bkoz@redhat.com>
1748         
1749         * src/locale.cc (locale::locale(const char*)): Make sure global
1750         locales are initialized.
1751         * include/bits/locale_facets.tcc (locale::combine): Refcout should
1752         be zero, not one as it's return-by-value.
1753         * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
1754         named locales here.
1755         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
1756         for it here.
1757         (test02): Add test.
1758         * libsupc++/eh_alloc.cc: Use climits, not limits.h.
1760 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
1762         libstdc++/3284
1763         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
1764         * aclocal.m4: Regenerate.
1765         * configure: Regenerate.
1766         
1767 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
1769         libstdc++/3243
1770         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
1771         staged/installed area to support -I-.  Document.
1772         * aclocal.m4: Regenerate.
1773         * configure: Regenerate.
1775 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
1777         libstdc++/2211
1778         * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
1779         __out_bufsize.  Add __in_bufsize, document it and use it.  
1781 2001-07-01  Stephen M. Webb <stephen@bregmasoft.com>
1783         * include/bits/stl_construct.h (construct): Remove.
1784         (destroy): Remove.
1785         (__destroy): Replaced by use of iterator_traits.
1786         * include/bits/stl_deque.h: replaced HP iterator functions with
1787         iterator_traits.
1788         (construct): changed to _Construct.
1789         (destroy): changed to _Destroy.
1790         * include/bits/stl_tempbuf.h: Same.
1791         * include/bits/stl_tree.h: Same.
1792         * include/bits/stl_vector.h: Same.
1793         * include/backward/iterator.h (construct): moved definition to here.
1794         (destroy): Same.
1796 2001-06-29  Benjamin Kosnik  <bkoz@redhat.com>
1798         * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
1799         before replacing facet.
1800         * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
1801         Correct decrement.
1802         * src/localename.cc (locale::_Impl): Correct ctor initialization
1803         lists. Initialize ref count with one. Simplify.
1804         * src/locale.cc: Add comment.
1805         * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
1806         * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
1807         * testsuite/22_locale/members.cc (test02): Fix.
1809 2001-06-27  Phil Edwards  <pme@sources.redhat.com>
1811         * include/backward/algo.h:  Add "GPL plus runtime exception" comment
1812         block, this time for real.
1813         * include/backward/algobase.h:  Likewise.
1814         * include/backward/alloc.h:  Likewise.
1815         * include/backward/bvector.h:  Likewise.
1816         * include/backward/defalloc.h:  Likewise.
1817         * include/backward/deque.h:  Likewise.
1818         * include/backward/function.h:  Likewise.
1819         * include/backward/hash_map.h:  Likewise.
1820         * include/backward/hash_set.h:  Likewise.
1821         * include/backward/hashtable.h:  Likewise.
1822         * include/backward/heap.h:  Likewise.
1823         * include/backward/iterator.h:  Likewise.
1824         * include/backward/list.h:  Likewise.
1825         * include/backward/map.h:  Likewise.
1826         * include/backward/multimap.h:  Likewise.
1827         * include/backward/multiset.h:  Likewise.
1828         * include/backward/pair.h:  Likewise.
1829         * include/backward/rope.h:  Likewise.
1830         * include/backward/set.h:  Likewise.
1831         * include/backward/slist.h:  Likewise.
1832         * include/backward/stack.h:  Likewise.
1833         * include/backward/strstream:  Likewise.
1834         * include/backward/tempbuf.h:  Likewise.
1835         * include/backward/tree.h:  Likewise.
1836         * include/backward/vector.h:  Likewise.
1837         * include/bits/pthread_allocimpl.h:  Likewise.
1838         * include/bits/std_algorithm.h:  Likewise.
1839         * include/bits/std_bitset.h:  Likewise.
1840         * include/bits/std_deque.h:  Likewise.
1841         * include/bits/std_functional.h:  Likewise.
1842         * include/bits/std_iterator.h:  Likewise.
1843         * include/bits/std_list.h:  Likewise.
1844         * include/bits/std_map.h:  Likewise.
1845         * include/bits/std_memory.h:  Likewise.
1846         * include/bits/std_numeric.h:  Likewise.
1847         * include/bits/std_queue.h:  Likewise.
1848         * include/bits/std_set.h:  Likewise.
1849         * include/bits/std_stack.h:  Likewise.
1850         * include/bits/std_utility.h:  Likewise.
1851         * include/bits/std_vector.h:  Likewise.
1852         * include/bits/stl_algo.h:  Likewise.
1853         * include/bits/stl_algobase.h:  Likewise.
1854         * include/bits/stl_alloc.h:  Likewise.
1855         * include/bits/stl_bvector.h:  Likewise.
1856         * include/bits/stl_construct.h:  Likewise.
1857         * include/bits/stl_deque.h:  Likewise.
1858         * include/bits/stl_function.h:  Likewise.
1859         * include/bits/stl_heap.h:  Likewise.
1860         * include/bits/stl_iterator.h:  Likewise.
1861         * include/bits/stl_iterator_base_funcs.h:  Likewise.
1862         * include/bits/stl_iterator_base_types.h:  Likewise.
1863         * include/bits/stl_list.h:  Likewise.
1864         * include/bits/stl_map.h:  Likewise.
1865         * include/bits/stl_multimap.h:  Likewise.
1866         * include/bits/stl_multiset.h:  Likewise.
1867         * include/bits/stl_numeric.h:  Likewise.
1868         * include/bits/stl_pair.h:  Likewise.
1869         * include/bits/stl_pthread_alloc.h:  Likewise.
1870         * include/bits/stl_queue.h:  Likewise.
1871         * include/bits/stl_raw_storage_iter.h:  Likewise.
1872         * include/bits/stl_relops.h:  Likewise.
1873         * include/bits/stl_set.h:  Likewise.
1874         * include/bits/stl_stack.h:  Likewise.
1875         * include/bits/stl_tempbuf.h:  Likewise.
1876         * include/bits/stl_threads.h:  Likewise.
1877         * include/bits/stl_tree.h:  Likewise.
1878         * include/bits/stl_uninitialized.h:  Likewise.
1879         * include/bits/stl_vector.h:  Likewise.
1880         * include/bits/type_traits.h:  Likewise.
1881         * include/ext/hash_map:  Likewise.
1882         * include/ext/hash_set:  Likewise.
1883         * include/ext/rope:  Likewise.
1884         * include/ext/ropeimpl.h:  Likewise.
1885         * include/ext/slist:  Likewise.
1886         * include/ext/stl_hash_fun.h:  Likewise.
1887         * include/ext/stl_hashtable.h:  Likewise.
1888         * include/ext/stl_rope.h:  Likewise.
1889         * src/bitset.cc:  Likewise.
1890         * src/strstream.cc:  Likewise.
1892 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
1893                              <vakatov@ncbi.nlm.nih.gov>
1895         libstdc++/3272
1896         * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
1897         * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
1898         * testsuite/27_io/istream_extractor_other.cc: Fix.
1899         
1900 2001-06-26  Zoltan Hidvegi  <hzoli@austin.ibm.com>
1902         * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
1903         * aclocal.m4: Regenerate.
1904         * configure: Regenerate.
1905         
1906 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
1908         * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
1909         (ostream_iterator): Same.
1910         * include/bits/stl_iterator.h (front_insert_iterator::operator=):
1911         Change argument to const_reference.
1912         (back_insert_iterator): Same.
1913         
1914 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
1916         * include/bits/sbuf_iter.h: Change to..
1917         * include/bits/streambuf_iterator.h: This.
1918         * include/bits/stl_iterator.h: Take out of here...
1919         * include/bits/stream_iterator.h: Add.
1920         * src/Makefile.am (base_headers): Add streambuf_iterator,
1921         stream_iterator.h
1922         * src/Makefile.in: Regenerate.
1923         * include/bits/std_string.h: Adjust includes.
1924         * include/bits/basic_ios.h: Same.
1925         * include/bits/locale_facets.tcc: Same.
1926         * include/bits/std_iosfwd.h: Same.      
1927         
1928         * include/bits/std_iterator.h: Add istream, ostream includes.
1929         * include/bits/stl_iterator.h: Tweak.
1930         * testsuite/24_iterators/ostream_iterator.cc: Add test.
1931         * testsuite/24_iterators/istream_iterator.cc: Same.
1932         * testsuite/23_containers/multiset.cc: Add iterator include.
1934 2001-06-26  Phil Edwards  <pme@sources.redhat.com>
1936         * acinclude.m4:  Clean extraneous tabs, rewrap 'test' lines.
1937         * aclocal.m4:  Regenerate.
1938         * configure:  Regenerate.
1940 2001-06-26  Felix Natter  <f.natter@ndh.net>
1942         * docs/html/17_intro/porting-howto.html:  Fixed some errors.
1944 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
1946         * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
1947         return values.
1948         (istream_iterator::operator*): Same.
1950 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
1951             Alexandre Petit-Bianco  <apbianco@redhat.com>
1953         * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
1954         is on 41st, not 14th.
1956 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
1958         * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
1960         * include/bits/stl_iterator.h (istream_iterator): Inherit from
1961         iterator.
1962         (ostream_iterator): Same.
1963         * testsuite/24_iterators/istream_iterator.cc: New file.
1964         * testsuite/24_iterators/ostream_iterator.cc: New file.
1965         
1966         * include/bits/sbuf_iter.h: Remove self typedef.
1967         * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
1968         * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
1969         
1970         * include/bits/stl_iterator.h (reverse_iterator): Remove
1971         extraneous typedefs. Add typename.
1972         (__normal_iterator): Remove typedefs referring to self. Add typename.
1973         (reverse_bidiretional_iterator): Remove, not longer required.
1975 2001-06-26  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1977         * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
1978         dependent names with `typename'.  Bring in various required
1979         iterator_traits members.  Can't imagine why that used to work.
1981 2001-06-25  Phil Edwards  <pme@sources.redhat.com>
1982             Kurt Garloff <garloff@suse.de>
1984         PR libstdc++/3377
1985         * src/cmath.cc:  New [version of an old] file; instantiate
1986         __cmath_power to start with.
1987         * src/Makefile.am (sources):  Add cmath.cc (and alphabetize).
1988         * Makefile.in:  Regenerate.
1989         * libio/Makefile.in:  Regenerate.
1990         * libmath/Makefile.in:  Regenerate.
1991         * libsupc++/Makefile.in:  Regenerate.
1992         * src/Makefile.in:  Regenerate.
1993         * testsuite/Makefile.in:  Regenerate.
1995 2001-06-24  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1997         * libmath/stubs.c: Fix thinko.
1999 2001-06-24  David Edelsohn <dje@watson.ibm.com>
2001         * libmath/stubs.c (sqrtf): Define.
2002         (tanf): Correct typo.
2004 2001-06-22  Benjamin Kosnik  <bkoz@redhat.com>
2006         * include/bits/stl_iterator.h (reverse_iterator): Inherit from
2007         iterator.
2008         (back_insert_iterator): Same.   
2009         (front_insert_iterator): Same.
2010         (insert_iterator): Same.
2012         * testsuite/20_util/raw_storage_iterator.cc: Modify.
2013         * testsuite/24_iterators/reverse_iterator.cc: New file.
2014         * testsuite/24_iterators/back_insert_iterator.cc: New file.
2015         * testsuite/24_iterators/front_insert_iterator.cc: New file.
2016         * testsuite/24_iterators/insert_iterator.cc: New file.
2018 2001-06-22  Phil Edwards  <pme@sources.redhat.com>
2020         * include/*:  Revert comment/license change from yesterday for all
2021         except libsupc++/unwind-cxx.h.
2022         * src/bitset.cc:  Likewise.
2023         * src/strstream.cc:  Likewise.
2025 2001-06-22  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2027         * libmath/stubs.c: New file.
2028         (tanhf): Fix typo.
2029         (powf): Likewise.
2031         * libmath/Makefile.am (libmath_la_SOURCES): Add.
2032         * libmath/Makefile.in.  Regenerate.
2034 2001-06-21  Phil Edwards  <pme@sources.redhat.com>
2036         * include/backward/algo.h:  Add "GPL plus runtime exception" comment.
2037         * include/backward/algobase.h:  Likewise.
2038         * include/backward/alloc.h:  Likewise.
2039         * include/backward/bvector.h:  Likewise.
2040         * include/backward/defalloc.h:  Likewise.
2041         * include/backward/deque.h:  Likewise.
2042         * include/backward/function.h:  Likewise.
2043         * include/backward/hash_map.h:  Likewise.
2044         * include/backward/hash_set.h:  Likewise.
2045         * include/backward/hashtable.h:  Likewise.
2046         * include/backward/heap.h:  Likewise.
2047         * include/backward/iterator.h:  Likewise.
2048         * include/backward/list.h:  Likewise.
2049         * include/backward/map.h:  Likewise.
2050         * include/backward/multimap.h:  Likewise.
2051         * include/backward/multiset.h:  Likewise.
2052         * include/backward/pair.h:  Likewise.
2053         * include/backward/rope.h:  Likewise.
2054         * include/backward/set.h:  Likewise.
2055         * include/backward/slist.h:  Likewise.
2056         * include/backward/stack.h:  Likewise.
2057         * include/backward/strstream:  Likewise.
2058         * include/backward/tempbuf.h:  Likewise.
2059         * include/backward/tree.h:  Likewise.
2060         * include/backward/vector.h:  Likewise.
2061         * include/bits/pthread_allocimpl.h:  Likewise.
2062         * include/bits/std_algorithm.h:  Likewise.
2063         * include/bits/std_bitset.h:  Likewise.
2064         * include/bits/std_deque.h:  Likewise.
2065         * include/bits/std_functional.h:  Likewise.
2066         * include/bits/std_iterator.h:  Likewise.
2067         * include/bits/std_list.h:  Likewise.
2068         * include/bits/std_map.h:  Likewise.
2069         * include/bits/std_memory.h:  Likewise.
2070         * include/bits/std_numeric.h:  Likewise.
2071         * include/bits/std_queue.h:  Likewise.
2072         * include/bits/std_set.h:  Likewise.
2073         * include/bits/std_stack.h:  Likewise.
2074         * include/bits/std_utility.h:  Likewise.
2075         * include/bits/std_vector.h:  Likewise.
2076         * include/bits/stl_algo.h:  Likewise.
2077         * include/bits/stl_algobase.h:  Likewise.
2078         * include/bits/stl_alloc.h:  Likewise.
2079         * include/bits/stl_bvector.h:  Likewise.
2080         * include/bits/stl_construct.h:  Likewise.
2081         * include/bits/stl_deque.h:  Likewise.
2082         * include/bits/stl_function.h:  Likewise.
2083         * include/bits/stl_heap.h:  Likewise.
2084         * include/bits/stl_iterator.h:  Likewise.
2085         * include/bits/stl_iterator_base_funcs.h:  Likewise.
2086         * include/bits/stl_iterator_base_types.h:  Likewise.
2087         * include/bits/stl_list.h:  Likewise.
2088         * include/bits/stl_map.h:  Likewise.
2089         * include/bits/stl_multimap.h:  Likewise.
2090         * include/bits/stl_multiset.h:  Likewise.
2091         * include/bits/stl_numeric.h:  Likewise.
2092         * include/bits/stl_pair.h:  Likewise.
2093         * include/bits/stl_pthread_alloc.h:  Likewise.
2094         * include/bits/stl_queue.h:  Likewise.
2095         * include/bits/stl_raw_storage_iter.h:  Likewise.
2096         * include/bits/stl_relops.h:  Likewise.
2097         * include/bits/stl_set.h:  Likewise.
2098         * include/bits/stl_stack.h:  Likewise.
2099         * include/bits/stl_tempbuf.h:  Likewise.
2100         * include/bits/stl_threads.h:  Likewise.
2101         * include/bits/stl_tree.h:  Likewise.
2102         * include/bits/stl_uninitialized.h:  Likewise.
2103         * include/bits/stl_vector.h:  Likewise.
2104         * include/bits/type_traits.h:  Likewise.
2105         * include/ext/hash_map:  Likewise.
2106         * include/ext/hash_set:  Likewise.
2107         * include/ext/rope:  Likewise.
2108         * include/ext/ropeimpl.h:  Likewise.
2109         * include/ext/slist:  Likewise.
2110         * include/ext/stl_hash_fun.h:  Likewise.
2111         * include/ext/stl_hashtable.h:  Likewise.
2112         * include/ext/stl_rope.h:  Likewise.
2113         * libsupc++/unwind-cxx.h:  Likewise.
2114         * src/bitset.cc:  Likewise.
2115         * src/strstream.cc:  Likewise.
2117 2001-06-21  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2119         * include/bits/indirect_array.h (indirect_array<>::operator=):
2120         Make copy and assignment operator public.  Implement.  Format.
2122         * include/bits/valarray_array.h (__valarray_copy): Add overloads
2123         for copy between index arrays.  Format.
2125 2001-06-19  Benjamin Kosnik  <bkoz@redhat.com>
2127         * mknumeric_limits: Add static definitions, format.
2128         * testsuite/18_support/numeric_limits.cc (test02): Add test.
2130         * include/c_std/bits/std_cwchar.h: Include ctime.
2131         * testsuite/17_intro/header_cwchar.cc : Check.
2133         * include/c_std/bits/std_cwctype.h: Inject wctype.
2134         * testsuite/17_intro/header_cwctype.cc: Update.
2136 2001-06-18  Benjamin Kosnik  <bkoz@redhat.com>
2138         * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
2139         * testsuite/20_util/raw_storage_iterator.cc: Same.
2140         
2141         * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
2142         operator new.
2143         (__mem_interface): New typedef for switching between malloc and new.
2144         * testsuite/20_util/allocator_members.cc: New file.     
2146         * testsuite/20_util/comparisons.cc: New file.
2147         * testsuite/20_util/pairs.cc: New file. 
2149 2001-06-15  Phil Edwards  <pme@sources.redhat.com>
2151         * docs/html/documentation.html:  Point to new doxygen'ed collection.
2153 2001-06-14  Nathan Sidwell  <nathan@codesourcery.com>
2155         * configure.in (auxdir): Replace by ...
2156         (toprel): ... new variable.
2157         (toplevel_srcdir): Construct from $toprel.
2158         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
2159         rather than .. to locate gcc source directory.
2160         (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
2161         * aclocal.m4, configure: Rebuilt.
2163 2001-06-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2165         (Approved by Mark and Benjamin.  Applied by Loren.)
2167         * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
2168         _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
2169         and _GLIBCPP_mutex_address.
2170         * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
2171         once-only runtime initialization of _M_lock mutex when
2172         __GTHREAD_MUTEX_INIT_FUNCTION is defined.
2173         (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
2174         for __GTHREAD_MUTEX_INIT_FUNCTION case.
2176 2001-06-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2178         * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
2180         * include/bits/slice_array.h (slice_array<>::operator=): Make
2181         public and implement.
2182         (slice_array<>::slice_array): Make copy-constructor public.
2184         * include/bits/valarray_array.h (__valarray_copy): Add another
2185         overload to copy between strided arrays.
2187 2001-06-13  Benjamin Kosnik  <bkoz@redhat.com>
2189         * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
2190         * aclocal.m4: Regenerate.
2191         * configure: Regenerate.
2192         * include/bits/c++config (__GLIBCPP__): Update date.
2194 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
2196         * include/bits/fpos.h (fpos::operator-): Don't return reference,
2197         return original, non-modified version.
2198         (fpos::operator+): Same.
2199         * testsuite/27_io/fpos.cc: Add test.
2200         
2201 2001-06-12  Loren J. Rittle  <ljrittle@acm.org>
2203         libstdc++/2071
2204         * porting.texi: Add documentation about libstdc++-v3-specific
2205         macros that are currently included in os_defines.h files.
2207         * config/basic_file_stdio.h (sys_getc): New method.
2208         (sys_ungetc): New method.
2209         * include/bits/basic_file.h: (sys_getc): New method signature.
2210         (sys_ungetc): New method signature.
2212         * include/bits/fstream.tcc (underflow): Add conditional code
2213         paths which avoid using short seeks on streams (especially
2214         useful when the stream might be interactive or a pipe).  At
2215         the moment, this alternate path only avoids seeking when the
2216         ``buffer size'' of underflow() is 1 since the C standard only
2217         guarantees buffer space for one ungetc (this technique could
2218         be extended since *-*-solaris* supports buffering for 4 calls
2219         to ungetc and *-*-*bsd* supports buffering limited only by
2220         memory resources).  Also, _GLIBCPP_AVOID_FSEEK must be defined
2221         in a port's os_defines.h file for this alternate path to even
2222         be considered.  As a bonus, the idiom of using getc/ungetc
2223         requires no system calls whereas fseek maps to one or two
2224         system call(s) on many platforms.
2226         * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
2227         Define it.
2228         * config/os/solaris/solaris2.5/bits/os_defines.h
2229         (_GLIBCPP_AVOID_FSEEK): Likewise.
2230         * config/os/solaris/solaris2.6/bits/os_defines.h
2231         (_GLIBCPP_AVOID_FSEEK): Likewise.
2232         * config/os/solaris/solaris2.7/bits/os_defines.h
2233         (_GLIBCPP_AVOID_FSEEK): Likewise.
2235 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
2237         * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
2238         AC_TRY_COMPILE, so that the built compiler is checked, and
2239         bootstraps or cross compiles with an older compile still work.
2240         * aclocal.m4: Regenerate.
2241         * configure: Regenerate.
2242         
2243 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
2245         libstdc++/3142
2246         * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
2248         libstdc++/3141
2249         * include/bits/istream.tcc (getline, get): Fix as per DR 243.
2251         libstdc++/3140
2252         * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
2254         libstdc++/3139
2255         * include/bits/limits_generic.h: Fix as per DR 184.
2257 2001-06-11  Benjamin Kosnik  <bkoz@redhat.com>
2259         libstdc++/3126
2260         * include/bits/basic_string.h (string::compare): Adjust signatures
2261         as per DR 5.
2262         * include/bits/basic_string.tcc: And here.
2264         libstdc++/2346
2265         * config/c_io_stdio.h: Remove whitespace.
2266         * testsuite/27_io/istream_seeks.cc (test03): Add regression.
2267         (test02): Add regression.
2268         * testsuite/27_io/istream_seeks-3.tst: New file.
2269         
2270 2001-06-11  Phil Edwards  <pme@sources.redhat.com>
2272         * README:  Update to reflect reality.
2273         * acinclude.m4:  Update descriptions, fix typos.  Comment changes only.
2274         * configure.in:  Make certain target_alias is set and subst'd for 2.50.
2275         * aclocal.m4:  Regenerate.
2276         * configure:  Regenerate (with 2.13).
2278 2001-06-11  Benjamin Kosnik  <bkoz@redhat.com>
2280         libstdc++/3114
2281         * include/bits/ostream.tcc (ostream::seekp): Add error checking as
2282         per DR 129.
2283         * include/bits/istream.tcc (istream::seekg): Same.
2284         * testsuite/27_io/istream_seeks.cc: Fix.
2285         
2286         libstdc++/3113
2287         * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
2288         (binder1st): Same.
2289         * include/bits/std_queue.h: Add c++config.h.
2290         * testsuite/20_util/binders.cc: New test.
2291         
2292 2001-06-11  Matthias Klose  <doko@debian.org>
2293             Phil Edwards  <pme@sources.redhat.com>
2295         * docs/doxygen/run_doxygen (find_doxygen):  Tweak version check.
2296         (main script):  Echo more information.
2298 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
2300         * include/c_std/bits/std_cwchar.h: Alphabetize.
2301         * include/bits/char_traits.h: Tweak.
2302         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
2303         everything used by std_cwchar.h.
2304         * aclocal.m4: Regenerate.
2305         * configure.in: Regenerate.
2306         * config.h.in: Regenerate.
2307         
2308 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
2310         * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
2311         Add checking for strtof, _Exit in stdlib.h
2312         * aclocal.m4: Regenerate.
2313         * configure.in: Regenerate.
2314         * include/c_std/bits/std_cstdio.h: Alphabetize lists. 
2315         (snprintf): Put C99 functions into __gnu_cxx namespace.
2316         (vfscanf): Same.
2317         (vscanf): Same.
2318         (vsnprintf): Same.
2319         (vsscanf): Same.
2320         * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
2321         for C99 functions within _GLIBCPP_USE_C99 guard.
2322         (_Exit): Same.
2323         (strtof): Same.
2324         (strtold): Same.
2325         * include/bits/locale_facets.tcc: Check if C99 is enabled.
2326         * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
2327         C99 guard.
2328         * include/c_std/bits/cmath.tcc: Formatting tweak.
2329         * include/c_std/bits/std_cmath.h: Same.
2330         
2331 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
2333         * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
2335 2001-06-09  Alexandre Oliva  <aoliva@redhat.com> 
2336             Stephen L Moshier  <moshier@mediaone.net>
2338         * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
2339         nothing, as in autoconf 2.50.
2340         * configure: Rebuilt.
2342 2001-06-09  Benjamin Kosnik  <bkoz@redhat.com>
2344         * include/c_std/bits/std_cwchar.h: Remove size_t injection,
2345         include std_cstddef.
2346         * include/c_std/bits/std_ctime.h: Same.
2347         * include/c_std/bits/std_cstring.h: Same.
2348         * include/c_std/bits/std_cstdlib.h: Same.
2349         
2350         * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
2351         * include/c_std/bits/std_cctype.h: Remove isblank.
2353 2001-06-09  Benjamin Kosnik  <bkoz@redhat.com>
2355         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
2356         fgetws.
2357         * aclocal.m4: Regenerate.
2358         * configure: Regenerate.
2359         * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
2360         injection, guard fgetwc, fgetws.
2361         * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
2362         * include/c_std/bits/std_clocale.h: And here.
2363         * include/c_std/bits/std_cctype.h: And here.
2364         * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
2366         * config/basic_file_stdio.h: Don't include unistd.h.
2367         * config/c_io_stdio.h: Don't use compatibility headers.
2368         * libsupc++/eh_terminate.cc: Qualify abort.
2369         (__terminate): And here.
2370         * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
2371         
2372 2001-06-08  Benjamin Kosnik  <bkoz@redhat.com>
2374         * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
2376 2001-06-08  Benjamin Kosnik  <bkoz@redhat.com>
2378         libstdc++/2767
2379         libstdc++/2989
2380         libstdc++/2992
2381         * include/std/*: Add copyright notice.
2382         * include/c_std/bits/*: Use using statements instead of extern "C".
2383         * include/c_std/bits/std_cmath.h: Don't overload double versions
2384         of math functions with __buitin versions, use global version to
2385         prevent ambiguities. Remove define hacks.
2386         * include/c_std/bits/std_cwchar.h: Using declarations for "C"
2387         functions that have changed signatures and std::
2388         declarations. Remove define hacks.
2389         * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
2390         __builtins in std::. Remove define hacks.
2391         * testsuite/17_intro/headers_c.cc: Add tests.
2392         * testsuite/17_intro/headers_c++.cc: Add test.
2394 2001-06-07  Loren J. Rittle  <ljrittle@acm.org>
2395             John David Anglin  <dave@hiauly1.hia.nrc.ca>
2397         c++/3082
2398         * libsupc++/eh_alloc.cc: Ensure that required macros are
2399         defined before including gthr.h.  Ensure that we get the
2400         version of gthr.h for which we know how to provide a
2401         configuration.
2402         * libsupc++/eh_globals.cc: Likewise.  And, bring the threading
2403         code path into line with the current EH model.  Use std, where
2404         appropriate.
2406 2001-06-07  Loren J. Rittle  <ljrittle@acm.org>
2407             John David Anglin  <dave@hiauly1.hia.nrc.ca>
2409         * config/threads-no.h: Remove file.
2410         * config/threads-posix.h: Remove file.
2412         * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
2413         (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
2414         (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
2415         * config.h.in: Regenerate.
2417         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
2418         setup and use gthr*.h files.  In particular, make gthr.h files
2419         namespace-clean in the staging area (they don't have to be for
2420         libgcc.a).
2421         * aclocal.m4: Regenerate.
2422         * configure: Regenerate.
2424         * src/Makefile.am (build_headers): Remove bits/c++threads.h
2425         and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
2426         * src/Makefile.in: Regenerate.
2428         * include/bits/c++config: Cleanup threading configuration macros.
2429         In particular, define __STL_GTHREADS macro which controls...
2430         * include/bits/stl_threads.h: ...a brand new gthr.h-based
2431         configuration here.
2433         * config/c_io_stdio.h: Include staged gthr.h instead of local
2434         thread configuration file.  Always use __gthread_mutex_t
2435         instead of __mutext_type (or int).
2436         * include/bits/std_fstream.h: Likewise.
2438         * docs/html/17_intro/howto.html: Remove placeholder comment in
2439         case this configuration patch didn't make it.  Add advice that
2440         section only applies if configured with --enable-threads.
2441         * docs/html/23_containers/howto.html: Reword to make clear
2442         that _PTHREADS is no longer required for any port to be
2443         correctly using STL with threads.  Add advice that section
2444         only applies if configured with --enable-threads.
2446 2001-06-06  Benjamin Kosnik  <bkoz@redhat.com>
2448         * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
2450 2001-06-05  Benjamin Kosnik  <bkoz@redhat.com>
2452         libstdc++/3045
2453         * include/bits/basic_ios.tcc: Formatting tweaks.
2454         * include/bits/ios_base.h: Formatting tweaks.
2455         * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
2456         (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
2457         * src/globals.cc: Allocate filebufs for standard streams here.
2458         (buf_cout, buf_cin, buf_cerr): Like so.
2459         (buf_wcout, buf_wcin, buf_wcerr): And so.
2460         * testsuite/27_io/ios_init.cc: Add.
2461         
2462 2001-06-04  Brendan Kehoe  <brendan@zen.org>
2463             Benjamin Kosnik  <bkoz@redhat.com>
2464         
2465         libstdc++/3017
2466         * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
2467         for generic ctype virtuals.
2468         * src/locale.cc: Minor tweaks, naming consistency.
2469         * testsuite/22_locale/ctype.cc: Add test.
2470         
2471 2001-06-04  Kenny Simpson <theonetruekenny@yahoo.com>
2472             Phil Edwards  <pme@sources.redhat.com>
2474         PR libstdc++/3035 and PR libstdc++/3036
2475         * include/bits/stl_pair.h:  Fix pair ctor and make_pair according
2476         to LWG DR 181 and 265.
2478 2001-06-04  Phil Edwards  <pme@sources.redhat.com>
2480         PR libstdc++/3034
2481         * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
2482         equal_range):  Add const overloads as per LWG DR 214.
2483         * include/bits/stl_set.h:  Likewise.
2485 2001-06-04  Brendan Kehoe  <brendan@zen.org>
2486             Phil Edwards  <pme@sources.redhat.com>
2488         PR libstdc++/3018
2489         * include/bits/std_bitset.h (bitset::test):  Fix __pos >= _Nb
2490         comparison; all positions must be < _Nb.
2491         * testsuite/23_containers/bitset_members.cc:  New file.
2493 2001-06-04  Brendan Kehoe  <brendan@zen.org>
2495         PR libstdc++/3016
2496         * include/bits/stl_queue.h (classes queue, priority_queue):  Fix
2497         ctors to match the standard.
2499 2001-06-04  Jeffrey Oldham  <oldham@codesourcery.com>
2501         * include/bits/char_traits.h (move): Reverse qualification of
2502         memmove with std::.
2503         (copy): Reverse qualification of memcpy with std::.
2505 2001-06-04  Jeffrey Oldham  <oldham@codesourcery.com>
2507         * include/bits/char_traits.h (move): Qualify memmove with std::.
2508         (copy): Qualify memcpy with std::.
2509         * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
2510         strncmp with std::.
2511         (test02): Likewise.
2512         * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
2514 2001-06-04  Hans-Peter Nilsson  <hp@axis.com>
2516         * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
2517         uninstall-glibcppinstallHEADERS): Have explicit rules catering to
2518         SUN make VPATH peculiarities.
2519         * libsupc++/Makefile.in: Regenerate.
2521 2001-06-01  Hans-Peter Nilsson  <hp@axis.com>
2523         * src/Makefile.am (VPATH): Delimit with ":", not space.
2524         * src/Makefile.in: Regenerate.
2526         * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
2527         make isn't found.
2528         * configure: Regenerate.
2530 2001-05-31  scott snyder  <snyder@fnal.gov>
2532         libstdc++/2976
2533         * include/bits/istream.tcc: Include std_ostream.h.
2535 2001-05-31  Benjamin Kosnik  <bkoz@redhat.com>
2537         libstdc++/2997
2538         * src/bitset.cc: Qualify size_t with std::.
2540 2001-05-30  Benjamin Kosnik  <bkoz@redhat.com>
2542         * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
2543         (_GLIBCPP_BUGGY_COMPLEX): Remove.
2544         * config.h.in: Regenerate.
2545         * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
2546         * aclocal.m4: Regenerate.
2547         * configure.in: Don't call it.
2548         * configure: Regenerate.
2550         libstdc++/2970
2551         * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
2552         * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
2553         New test.
2555         libstdc++/2985
2556         * include/bits/std_complex.h: Include sstream. Put definitions for
2557         complex inserters and extractors here, and remove them from...
2558         * src/complex_io.cc: ...here.
2559         * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
2560         parameter.
2561         (basic_ios::__numget_type): Same.
2562         * include/bits/std_istream.h: Same.
2563         * include/bits/std_ostream.h: Same.
2564         * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
2565         class iterator template arguments.
2566         * src/locale-inst.cc: Add explicit has_facet instantiations.
2567         * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
2568         (_M_get_fnumput): Remove.
2569         (_M_get_fnumget): Remove.
2570         (basic_ios::_M_check_facet): New function.
2571         (basic_ios::_M_cache_facets): New function.
2572         * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
2573         (basic_ios::imbue): Call _M_cache_facets.
2574         (basic_ios::init): Same.
2575         * include/bits/istream.tcc: Format, use _M_check_facet.
2576         * include/bits/ostream.tcc: Same.
2577         * include/bits/locale_facets.tcc (__output_float): Change
2578         signature, add _Traits.
2579         * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
2580         New test.
2582 2001-05-30  Loren J. Rittle  <ljrittle@acm.org>
2584         * include/bits/c++config (__USE_MALLOC): Do not define it.
2585         Document why not and give pointers to more information.
2587         * docs/html/23_containers/howto.html: Update documentation
2588         to reflect recent understanding of problem.
2589         * docs/html/17_intro/howto.html: Likewise.
2591 2001-05-30  Phil Edwards  <pme@sources.redhat.com>
2593         * docs/doxygen/user.cfg.in:  Minor addition.
2594         * docs/html/documentation.html:  Reorganize.  Put most-looked-at
2595         stuff first.
2596         * docs/html/install.html:  Update for 3.0.  HTML fixups.
2597         * docs/html/17_intro/howto.html:  Likewise.
2598         * docs/html/18_support/howto.html:  Likewise.
2599         * docs/html/19_diagnostics/howto.html:  Likewise.
2600         * docs/html/20_util/howto.html:  Likewise.
2601         * docs/html/23_containers/howto.html:  Likewise.
2602         * docs/html/24_iterators/howto.html:  Likewise.  More notes.
2603         * docs/html/25_algorithms/howto.html:  Likewise.
2604         * docs/html/26_numerics/howto.html:  Likewise.  More notes.
2605         * docs/html/27_io/howto.html:  Likewise.
2606         * docs/html/ext/howto.html:  Likewise.
2607         * docs/html/faq/index.html:  Likewise.
2608         * docs/html/faq/index.txt:  Regenerate.
2609         * docs/html/27_io/iostreams_hierarchy.pdf:  Remove in favor of
2610         Doxygen-created documentation.
2612 2001-05-30  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2614         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
2615         get_multilibs to find gcc.
2616         
2617 2001-05-30  Phil Edwards  <pme@sources.redhat.com>
2619         * acinclude.m4 (GLIBCPP_ENABLE_C99):  Reorder output messages.
2620         * aclocal.m4:  Regenerate.
2621         * configure:  Regenerate.
2623 2001-05-29  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2625         * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::. 
2626         * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
2628 2001-05-27  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2630         * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
2631         * include/c_std/bits/std_cstdlib.h: Same.
2632         * include/c_std/bits/std_cwchar.h: Same.
2634 2001-05-30  Loren J. Rittle  <ljrittle@acm.org>
2636         * docs/html/17_intro/howto.html: Update link.
2637         * docs/html/23_containers/howto.html: Likewise.  Add new link.
2639 2001-05-26  Gabriel Dos Reis  <gdr@codesourcery.com>
2641         * include/c_std/bits/std_cmath.h (sqrt): #undef.
2642         
2643 2001-05-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2645         * mknumeric_limits: Stop if gen-num-limits dies.
2647 2001-05-25  Benjamin Kosnik  <bkoz@redhat.com>
2649         other/2931
2650         * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
2651         * aclocal.m4: Regenerate.
2652         * configure: Same.
2653         
2654 2001-05-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2655             Phil Edwards  <pme@sources.redhat.com>
2656             Alexandre Oliva  <aoliva@redhat.com>
2658         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
2659         in an amd-safe manner. Revert glibcpp_prefixdir.
2661 2001-05-25  Gabriel Dos Reis  <gdr@codesourcery.com>
2663         * include/c_std/bits/std_cmath.h: Tweak.  #define away abs, cos,
2664         fabs, sin, sqrt.  They are now implemented in terms of __builtin_
2665         variants. 
2667 2001-05-24  Benjamin Kosnik  <bkoz@redhat.com>
2669         libstdc++/2830
2670         * testsuite/21_strings/inserters_extractors.cc (test09): New test.
2671         * include/bits/ostream.tcc: Format to match istream.tcc.
2672         (operator<<(basic_ostream __out, const basic_string __s)): Fix.
2673         
2674 2001-05-24  Phil Edwards  <pme@sources.redhat.com>
2676         * libsupc++/eh_alloc.cc (__cxa_allocate_exception):  Qualify
2677         malloc with std:: .
2678         (__cxa_free_exception):  Likewise with free.
2680 2001-05-24  Mark Mitchell  <mark@codesourcery.com>
2682         * include/c_std/bin/std_cstring.h: #define away all global
2683         functions we will redeclare in namespace `std'.
2684         * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
2685         std::memset, instead of memset.
2686         * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
2687         not plain `strcmp'.
2688         * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
2689         plain `strcpy'.
2690         
2691 2001-05-24  Benjamin Kosnik  <bkoz@redhat.com>
2693         libstdc++/2832
2694         * include/bits/basic_ios.tcc: Small tweak.
2695         * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
2696         ctors and dtors, and rdbuf settings.
2697         (ofstream): Same.
2698         (fstream): Same.
2699         * include/bits/std_sstream.h: Same, but for stringstream classes.
2700         * testsuite/27_io/ostringstream_members.cc: New.
2701         * testsuite/27_io/stringstream_members.cc: New. 
2702         * testsuite/27_io/fstream_members.cc: New.              
2703         * testsuite/27_io/ifstream_members.cc: Add test.
2704         * testsuite/27_io/istringstream_members.cc: Add test.
2705         * testsuite/27_io/ofstream_members.cc: Add test.
2707 2001-05-24  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2709         * include/bits/c++config(__NO_MATH_INLINES): Move to...
2710         * config/os/gnu-linux/bits/os_defines.h: ...here.
2712 2001-05-24  Gabriel Dos Reis  <gdr@codesourcery.com>
2714         * include/bits/c++config (__NO_MATH_INLINES): New macro.
2715         * testsuite/26_numerics/fabs_inline.cc (main): New test.
2717 2001-05-22  Benjamin Kosnik  <bkoz@redhat.com>
2719         libstdc++/2841
2720         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
2721         ld_library_path.  
2722         (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
2723         (libstdc++-v3-finish): Remove.
2724         (libstdc++-v3_exit): Remove.
2726 2001-05-22  Phil Edwards  <pme@sources.redhat.com>
2728         * docs/html/documentation.html:  Point to doxygen output.
2730 2001-05-21  Benjamin Kosnik  <bkoz@redhat.com>
2732         * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
2734         * include/bits/std_sstream.h (stringbuf::setbuf): Require both
2735         arguments to be non-null.
2736         * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
2737         try allocations if allocated size is greater than zero.
2738         (filebuf::_M_filebuf_init): Change to
2739         (filebuf::_M_allocate_file): Which is what it does now. 
2740         (filebuf::_M_allocate_bufers): Change to
2741         (filebuf::_M_allocate_internal_buffer): This, and create
2742         (filebuf::_M_allocate_pback_buffer): New.
2743         (filebuf::_M_destroy_internal_buffer): New.
2744         (filebuf::_M_buf_allocated): New data member.
2745         (filebuf::setbuf): Use new logic, allow use of external buffer.
2746         * testsuite/27_io/stringbuf_virtuals.cc: New file.
2747         * testsuite/27_io/filebuf_virtuals.cc: New file.
2749 2001-05-21  Stephen M. Webb  <stephen@bregmasoft.com>
2751         * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
2752         __glibcpp_memchr.
2753         (strchr): Same, but to __glibcpp_strchr.
2754         (strpbrk): Same.
2755         (strrchr): Same.
2756         (strstr): Same.  
2757         * include/c_std/bits/std_cwchar.h (wcschr): Same.
2758         (wcsbrk): Same.
2759         (wcsrchr): Same.
2760         (wcsstr): Same.
2761         (wmemchr): Same.
2763 2001-05-21  Benjamin Kosnik  <bkoz@redhat.com>
2765         * testsuite/21_strings/c_strings.cc (main): Fix.
2767 2001-05-19  Phil Edwards  <pme@sources.redhat.com>
2769         * acinclude.m4:  Fix --help spacing, correct comments.
2770         * aclocal.m4:  Regenerate.
2771         * configure:  Regenerate.
2772         * mkcheck.in:  Add usage comments.
2773         * docs/html/documentation.html:  Point to doxygen'd tarball.
2775 2001-05-18  Benjamin Kosnik  <bkoz@redhat.com>
2777         * testsuite/README: Add notes.
2779         * src/Makefile.am (libstdc++.INC): Remove.
2780         * src/Makefile.in: Regenerate.
2782         Phil Edwards <pedwards@disaster.jaj.com>
2783         * mkcheck.in: Add missing '#'.
2785 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
2787         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
2788         appropriately for remote testing and testing installed files without
2789         a build dir.
2791 2001-05-18  Benjamin Kosnik  <bkoz@redhat.com>
2793         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
2794         amd glibcpp_prefixdir with absolute paths.
2796         * include/bits/c++config (__GLIBCPP__): Bump.
2797         * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
2799 2001-05-18  Gabriel Dos Reis  <gdr@codesourcery.com>
2801         * include/bits/std_valarray.h (valarray<>::operator[] const):
2802         Return a const reference. 
2803         * testsuite/26_numerics/valarray_const_bracket.cc: New test.
2805 2001-05-18  Alexandre Oliva  <aoliva@redhat.com>
2807         * configure.target (ATOMICITYH): Actually use AIX-specific code on
2808         earlier versions of AIX 4.*.
2810 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
2812         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test):  Set
2813         output_file based on the name of the testcase.
2815 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
2817         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):  Build
2818         gluefile and use it if needs_status_wrapper is set.
2820 2001-05-18  Alexandre Oliva  <aoliva@redhat.com>
2822         * configure.target (ATOMICITYH): Use cpu/generic code on earlier
2823         versions of AIX.
2825 2001-05-17  Alexandre Oliva  <aoliva@redhat.com>
2827         * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
2828         on earlier versions of AIX.
2830 2001-05-15  Benjamin Kosnik  <bkoz@redhat.com>
2832         * testsuite_flags.in (query): Add backwards, ext directories.
2834 2001-05-15  Mark Mitchell  <mark@codesourcery.com>
2836         * porting.texi: Correct documentation about handling
2837         _LARRGEFILE_SOURCE and its ilk.
2838         * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
2839         definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and 
2840         __EXTENSIONS__.
2841         * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
2842         * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
2844 2001-05-15  Zack Weinberg  <zackw@stanford.edu>
2845         
2846         * testsuite/21_strings/inserters_extractors.cc,
2847         testsuite/27_io/istream_unformatted.cc,
2848         testsuite/27_io/stringstream.cc:
2849         Replace multi-line string constants with C89-style
2850         concatenated string constants.
2851         
2852 2001-05-14  Richard Henderson  <rth@redhat.com>
2854         * mknumeric_limits: Build with -fno-exceptions.
2856 2001-05-13   Benjamin Kosnik  <bkoz@redhat.com>
2858         Switch over to new harness.
2859         * testsuite_flags.in: Tweaks via Gaby.
2860         * testsuite/Makefile.am: Change tool to libstdc++-v3.
2861         (EXPECT): Quote directly.
2862         (RUNTEST): Same.
2863         * configure.in: Output testsuite_flags.
2864         * acinclude.m4: Substitute src, bld, and prefix dirs.
2865         Remove glibcpp_expect, glibcpp_runtestflags.
2866         * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
2867         * mkcheck.in: Port to new interface.
2868         
2869         * aclocal.m4: Regerate.
2870         * configure: Regnerate.
2871         * Makefile.in: Regnerate.
2872         * */Makefile.in: Regenerate.
2873         
2874         * tests_flags.in: Remove.
2875         * testsuite/lib/libstdc++.exp: Remove.
2876         * testsuite/libstdc++.tests/tests.exp: Remove.
2877         
2878 2001-05-13  Alexandre Oliva  <aoliva@redhat.com>
2880         * configure.target: Remove detection of AIX pthread multilib, now
2881         obtained from `gcc -v'.
2883 2001-05-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2885         * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
2886         size.  Add hpux case for HP size.
2888 2001-05-11   Benjamin Kosnik  <bkoz@redhat.com>
2890         * testsuite_flags.in: New, simplified interface.
2891         * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
2892         * testsuite/libstdc++-v3.dg: Add.
2893         * testsuite/libstdc++-v3.dg/dg.exp: Add.        
2895 2001-05-11   Benjamin Kosnik  <bkoz@redhat.com>
2897         * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
2898         * testsuite/config/default.exp: Update bugs email address.
2899         
2900 2001-05-11  Richard Henderson  <rth@redhat.com>
2902         * libsupc++/eh_personality.cc: Include unwind-pe.h.  Remove
2903         all pointer encoding logic.
2904         (struct lsda_header_info): Add ttype_base.
2905         (get_ttype_entry): Use it instead of a context.
2906         (check_exception_spec): Likewise.
2907         (PERSONALITY_FUNCTION): Initialize ttype_base.  Store it in
2908         the c++ exception header for __cxa_call_unexpected.
2909         (__cxa_call_unexpected): Use it.
2911 2001-05-09  Benjamin Kosnik  <bkoz@redhat.com>
2913         * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
2914         libgloss_link_flags to find crt0.o for targets that use libgloss
2915         instead of newlib.
2916         Change LDFLAGS to LIBS.
2917         Consistently name procedures libstdc++-XXX.
2918         * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
2919         
2920 2001-05-08  Benjamin Kosnik  <bkoz@fillmore.constant.com>
2922         * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
2923         (strchr): Same.
2924         (strpbrk): Same.
2925         (strrchr): Same.
2926         (strstr): Same.
2927         * include/c_std/bits/std_cwchar.h (wcschr): Same.
2928         (wcsbrk): Same.
2929         (wcsrchr): Same.
2930         (wcsstr): Same.
2931         (wmemchr): Same.
2932         * testsuite/21_strings/c_strings.cc: Add tests.
2933         
2934 2001-05-07  Benjamin Kosnik  <bkoz@redhat.com>
2936         libstdc++/2523
2937         * include/bits/std_fstream.h (basic_filebuf): Change signature.
2938         * include/bits/fstream.tcc (basic_filebuf): Change bool argument
2939         to int_type, pass in buffer size info.
2940         * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
2941         unbuffered situation.
2942         (underflow): Remove codecvt bits for the time being.
2943         * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
2944         * include/bits/locale_facets.tcc (_M_extract): Cache dereference
2945         values from iterators, clean.
2946         * src/locale.cc: Ditto.
2947         * include/bits/sbuf_iter.h: Format.
2948         * src/ios.cc: Explicitly pass in buffer sizes at creation time.
2949         * testsuite/27_io/narrow_stream_objects.cc: Add tests.
2950         * testsuite/27_io/filebuf.cc: Tweaks.
2951         * testsuite/27_io/filebuf_members.cc: Tweaks.
2952         
2953 2001-05-07  Mark Mitchell  <mark@codesourcery.com>
2955         * config/os/solaris/solaris2.7/bits/os_defines.h
2956         (_LARGEFILE_SOURCE): Define it.
2958 2001-05-03  Alexandre Oliva  <aoliva@redhat.com>
2960         * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
2961         -prefer-non-pic depending on whether libtool has shared libraries
2962         enabled or disabled.
2963         * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
2964         $(LIBSUPCXX_PICFLAGS).
2965         * configure, */Makefile.in: Rebuilt.
2967 2001-05-01  Benjamin Kosnik  <bkoz@redhat.com>
2969         * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
2970         * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
2972         * include/bits/std_sstream.h (stringbuf): Leak
2973         copied string.
2974         * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
2975         
2976 2001-05-01  Tom Browder  <tbrowder@home.com>
2978         * docs/html/ext/howto.html:  Fix typo.
2980 2001-05-01  Gabriel Dos Reis  <gdr@codesourcery.com>
2982         * testsuite/libstdc++.tests/tests.exp: Add comment.
2984 2001-05-01  Gabriel Dos Reis  <gdr@codesourcery.com>
2986         * testsuite/libstdc++.tests/tests.exp: Set ulimits.
2988 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
2990         * porting.texi: Use the GFDL.
2992 2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>
2994         libstdc++/2627 
2995         * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
2996         * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
2997         specializations.
2999 2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>
3001         libstdc++/2964
3002         * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
3004 2001-04-28  Phil Edwards  <pme@sources.redhat.com>
3006         * docs/doxygen/run_doxygen:  Minor tweaks.
3007         * docs/doxygen/style.css:  New file.
3008         * docs/doxygen/user.cfg.in:  Update using "doxygen -u" to get the
3009         latest parameters available.  Use style.css.
3011 2001-04-27  Benjamin Kosnik  <bkoz@redhat.com>
3013         * docs/doxygen/mainpage.doxy: New.
3014         * docs/doxygen/user.cfg.in: Change default configuration. Single
3015         frame, other tweaks.
3017 2001-04-26  Mark Mitchell  <mark@codesourcery.com>
3019         * docs/html/17_intro/BADNAMES: Remove EGCS reference.
3020         Indicate obsolete nature of thelist for G++ 3.0.
3022 2001-04-26  Alexandre Oliva  <aoliva@redhat.com>
3024         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
3025         target_thread_file with `gcc -v'.
3026         * aclocal.m4, configure: Rebuilt.
3028 2001-04-25  Benjamin Kosnik  <bkoz@redhat.com>
3030         * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
3031         * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
3032         * include/c_std/bits/std_cwchar.h (std): Same.
3033         * acconfig.h (std): Remove c99 injection into std.
3034         * config.h.in: Regenerate.
3035         
3036         * testsuite/README: Fix typo.
3038         * include/bits/codecvt.h: Remove warnings.
3039         
3040 2001-04-24  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3042         * include/ext/slist: Include required header files. 
3044 2001-04-23  Loren J. Rittle  <ljrittle@acm.org>
3046         * include/c_std/bits/std_cerrno.h (errno): Define macro from
3047         identifier declared with external linkage, if needed.
3048         * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
3049         * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
3051 2001-04-23  Benjamin Kosnik  <bkoz@fillmore.constant.com>
3053         * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
3054         re-configures find the build compiler.
3055         (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
3056         libstdc++/2609.
3057         * aclocal.m4: Regenerate.
3058         * configure: Regenerate.
3060 2001-04-20  Benjamin Kosnik  <bkoz@redhat.com>
3062         * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
3063         support is enabled correctly before long long is activated.
3064         * aclocal.m4: Regenerate.
3065         * configure: Regenerate.
3066         
3067         * include/backward/backward_warning.h: Format correctly.
3069         * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
3070         * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
3071         * testsuite/26_numerics/c99_macros.cc: Remove.
3072         
3073 2001-04-20  Phil Edwards  <pme@sources.redhat.com>
3075         * include/bits/stl_bvector.h:  Replace __ITERATOR_CATEGORY with
3076         __iterator_category.
3078 2001-04-19  Benjamin Kosnik  <bkoz@redhat.com>
3080         * acconfig.h (_GLIBCPP_USE_C99): Add.
3081         * config.h.in: Regenerate.
3082         * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
3083         9899: 1999 support.
3084         * aclocal.m4: Regenerate.
3085         * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
3086         * configure: Regenerate.
3087         * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
3088         * configure: Regenerate.
3089         * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
3090         into c99.
3091         * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
3092         namespace.
3093         * include/c_std/bits/std_cstdlib.h: Same.
3094         * docs/html/configopts.html: Update.
3095         * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
3096         math.h
3097         (test_c99_classify): Add.
3098         * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
3099         (_ISOC99_SOURCE): Remove.
3101         * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
3102         * include/bits/c++config (__STL_ASSERTIONS): Simplify.
3103         * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
3104         * aclocal.m4: Regenerate.
3105         * configure: Regenerate.
3106         
3107 2001-04-19  Phil Edwards  <pme@sources.redhat.com>
3109         * Makefile.am (doxygen):  Assume script is missing execute perms.
3110         * Makefile.in:  Regenerated.
3111         * docs/doxygen/user.cfg.in:  Add class diagrams and source browsing.
3113 2001-04-17  Loren J. Rittle  <ljrittle@acm.org>
3115         * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
3117 2001-04-17  Benjamin Kosnik  <bkoz@redhat.com>
3119         * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
3120         * testsuite/23_containers/set_operators.cc: Same.
3122         * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
3123         default.
3124         (__GLIBCPP__): Bump from value of last release.
3125         * include/bits/concept_check.h: Default to off, edit comments.
3126         * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
3127         * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS. 
3128         * src/Makefile.in: Regenerate.
3129         
3130 2001-04-14  Martin Reinecke <martin@MPA-Garching.MPG.DE>
3132         * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
3133         Properly uglify member.
3135 2001-04-13  Phil Edwards  <pme@sources.redhat.com>
3137         * include/bits/stl_algobase.h (equal):  Use EqualOpConcept instead
3138         of EqualityCo
3139         mparableConcept.
3141 2001-04-13  Phil Edwards  <pme@sources.redhat.com>
3143         * include/bits/boost_concept_check.h:  Uglify, fork from Boost.
3144         * include/bits/concept_check.h:  Uglify.
3145         * include/bits/stl_algo.h:  Likewise.
3146         * include/bits/stl_algobase.h:  Likewise.
3147         * include/bits/stl_deque.h:  Likewise.
3148         * include/bits/stl_heap.h:  Likewise.
3149         * include/bits/stl_iterator_base_funcs.h:  Likewise.
3150         * include/bits/stl_list.h:  Likewise.
3151         * include/bits/stl_map.h:  Likewise.
3152         * include/bits/stl_multimap.h:  Likewise.
3153         * include/bits/stl_multiset.h:  Likewise.
3154         * include/bits/stl_numeric.h:  Likewise.
3155         * include/bits/stl_queue.h:  Likewise.
3156         * include/bits/stl_set.h:  Likewise.
3157         * include/bits/stl_stack.h:  Likewise.
3158         * include/bits/stl_vector.h:  Likewise.
3159         * include/ext/hash_map:  Likewise.
3160         * include/ext/hash_set:  Likewise.
3161         * include/ext/slist:  Likewise.
3163 2001-04-13  Gabriel Dos Reis  <gdr@codesourcery.com>
3165         * testsuite/23_containers/set_operators.cc: Just try to compile.
3166         Mark as XFAIL.   
3167         * testsuite/23_containers/map_operators.cc: Same.
3169 2001-04-12  Jason Merrill  <jason_merrill@redhat.com>
3171         * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
3172         output_file.
3173         (dg-test): Revert rth's change.
3175 2001-04-12  Nathan Sidwell  <nathan@codesourcery.com>
3177         * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
3178         terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
3180 2001-04-12  Gabriel Dos Reis  <gdr@codesourcery.com>
3182         * testsuite/README: Add DejaGnu specific documentation.
3184 2001-04-11  Benjamin Kosnik  <bkoz@redhat.com>
3185         
3186         * acinclude.m4: AC_CHECK_TOOL for expect.
3187         * aclocal.m4: Regenerate.
3188         * configure: Regenerate.
3189         * testsuite/Makefile.am (RUNTEST): Use substituted.
3190         (EXPECT): Same.
3192         * configure.in: Remove xcompiling substitution.
3193         * tests_flags.in (CROSS_LIB_PATH): Remove.
3194         (xcompiling): Remove.
3195         (CXX): Use substituted CXX.
3196         
3197 2001-04-11  Richard Henderson  <rth@redhat.com>
3199         * testsuite/lib/libstdc++.exp: Specify path for output_file.
3201 2001-04-08  Gabriel Dos Reis  <gdr@codesourcery.com>
3203         * include/bits/std_valarray.h(valarray<>::operator[]): Make
3204         inline. 
3206 2001-04-06  Gabriel Dos Reis  <gdr@codesourcery.com>
3207   
3208         * testsuite/25_algorithms/equal.cc: New test.
3210 2001-04-06  Joe Buck  <jbuck@welsh-buck.org>
3212         * stl_algobase.h (std::equal): avoid use of possibly-undefined
3213         operator != (one line patch).
3215 2001-04-06   Benjamin Kosnik  <bkoz@redhat.com>
3217         * include/backward/backward_warning.h: Re-enable.
3219 2001-04-06  Benjamin Kosnik  <bkoz@redhat.com>
3220             Alexandre Oliva  <aoliva@redhat.com>
3221         
3222         * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
3224 2001-04-06  Gabriel Dos Reis  <gdr@codesourcery.com>
3226         * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
3227         * testsuite/26_numerics/c99_macros.cc: Add test.
3229 2001-04-06  Phil Edwards  <pme@sources.redhat.com>
3231         * docs/html/faq/index.html:  Update for 2.92, grab from RELEASE-NOTES.
3232         * docs/html/faq/index.txt:  Regenerated.
3234 2001-04-06  Benjamin Kosnik  <bkoz@redhat.com>
3236         * include/backward/backward_warning.h: Temporarily disable until
3237         g++ testsuite changes go in.
3238         * tests_flags.in (CROSS_LIB_PATH): Add.
3240 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
3242         Warn when using backward headers.
3243         * include/backward/algo.h: Include warning file.        
3244         * include/backward/vector.h: Same.
3245         * include/backward/tree.h: Same.
3246         * include/backward/tempbuf.h: Same.
3247         * include/backward/strstream: Same.
3248         * include/backward/streambuf.h: Same.
3249         * include/backward/stream.h: Same.
3250         * include/backward/stack.h: Same.
3251         * include/backward/slist.h: Same.
3252         * include/backward/set.h: Same.
3253         * include/backward/rope.h: 
3254         * include/backward/queue.h: Same.
3255         * include/backward/pair.h: Same.
3256         * include/backward/ostream.h: Same.
3257         * include/backward/new.h: Same.
3258         * include/backward/multiset.h: Same.
3259         * include/backward/multimap.h: Same.
3260         * include/backward/map.h: Same.
3261         * include/backward/list.h: Same.
3262         * include/backward/iterator.h: Same.
3263         * include/backward/istream.h: Same.
3264         * include/backward/iostream.h: 
3265         * include/backward/iomanip.h: 
3266         * include/backward/heap.h: Same.
3267         * include/backward/hashtable.h: 
3268         * include/backward/hash_set.h: 
3269         * include/backward/hash_map.h: 
3270         * include/backward/function.h: 
3271         * include/backward/fstream.h: 
3272         * include/backward/deque.h: 
3273         * include/backward/defalloc.h: Same.
3274         * include/backward/complex.h: Same.
3275         * include/backward/bvector.h: 
3276         * include/backward/alloc.h: 
3277         * include/backward/algobase.h: Same.
3279         * include/backward/backward_warning.h: New file.
3280         * src/Makefile.am (backward_headers): Add backward_warning.h
3281         * src/Makefile.in: Regenerate.
3283 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
3285         * src/Makefile.am (myinstalldirs): Make sure backward directory is
3286         created.
3287         (myinstallheaders): Install backward headers in backward directory.
3288         * src/Makefile.in: Regenerate.
3289         
3290 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
3292         Prepare for libstdc++-2.92.
3293         * docs/html/17_intro/RELEASE-NOTES (New): Update.
3294         * docs/html/configopts.html: Fix formatting.
3295         * README (file): Updates.
3296         * include/bits/c++config (__GLIBCPP__): Update.
3298 2001-04-05  Phil Edwards  <pme@sources.redhat.com>
3300         * docs/doxygen/run_doxygen:  Check for the existence of Doxygen.
3302 2001-04-04  Phil Edwards  <pme@sources.redhat.com>
3304         * docs/doxygen/user.cfg.in:  Extract all non-private members;
3305         reduce confusing documentation output.
3307 2001-04-04  Geoffrey Keating  <geoffk@redhat.com>
3309         * include/backward/fstream.h: Add missing semicolons.
3311 2001-04-03  Benjamin Kosnik  <bkoz@redhat.com>
3313         * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
3314         * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
3315         _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
3316         (ios_base::Init::_S_ios_create): New.
3317         (ios_base::Init::_S_ios_destroy): New.  
3318         * include/bits/std_fstream.h: Change ctor args.
3319         * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
3320         (ios_base::Init::~Init): Use _S_ios_destroy.
3321         (ios_base::sync_with_stdio): Use new members.
3322         * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
3323         filebuf ctor.
3325 2001-04-03  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3327         * include/backward/fstream.h:  Expose streampos to global
3328         namespace.
3329         
3330 2001-04-03  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3332         * include/bits/stl_iterator_base_types.h: Fix typo
3334 2001-04-03  Andreas Schwab  <schwab@suse.de>
3336         * include/backward/fstream.h: Define filebuf and wfilebuf.
3338 2001-04-02  Phil Edwards  <pme@sources.redhat.com>
3340         New concept checking implementation.
3341         * docs/html/19_diagnostics/howto.html:  Document.
3342         * docs/html/17_intro/concept_check.diff:  New file, for reference.
3343         * include/bits/boost_concept_check.h:  New file from Boost.
3344         * include/bits/c++config:  Update comments.
3346         * include/bits/concept_check.h:  New file.
3347         * include/bits/concept_checks.h:  Removed.
3348         * include/bits/container_concepts.h:  Removed.
3349         * include/bits/sequence_concepts.h:  Removed.
3350         * include/bits/stl_iterator_base.h:  Removed; split into...
3351         * include/bits/stl_iterator_base_funcs.h:  ...this new file...
3352         * include/bits/stl_iterator_base_types.h:  ...and this new file.
3354         * include/bits/sbuf_iter.h:  Update to use new implementation.
3355         * include/bits/std_iterator.h:  Likewise.
3356         * include/bits/std_memory.h:  Likewise.
3357         * include/bits/stl_algo.h:  Likewise.
3358         * include/bits/stl_algobase.h:  Likewise.
3359         * include/bits/stl_construct.h:  Likewise.
3360         * include/bits/stl_deque.h:  Likewise.
3361         * include/bits/stl_heap.h:  Likewise.
3362         * include/bits/stl_list.h:  Likewise.
3363         * include/bits/stl_map.h:  Likewise.
3364         * include/bits/stl_multimap.h:  Likewise.
3365         * include/bits/stl_multiset.h:  Likewise.
3366         * include/bits/stl_numeric.h:  Likewise.
3367         * include/bits/stl_queue.h:  Likewise.
3368         * include/bits/stl_set.h:  Likewise.
3369         * include/bits/stl_stack.h:  Likewise.
3370         * include/bits/stl_uninitialized.h:  Likewise.
3371         * include/bits/stl_vector.h:  Likewise.
3372         * include/ext/hash_map:  Likewise.
3373         * include/ext/hash_set:  Likewise.
3374         * include/ext/slist:  Likewise.
3375         * include/ext/stl_hashtable.h:  Likewise.
3377         * src/Makefile.am (base_headers):  Update list of headers.
3378         * Makefile.in:  Regenerated.
3379         * src/Makefile.in:  Regenerated.
3380         * libio/Makefile.in:  Regenerated.
3381         * libmath/Makefile.in:  Regenerated.
3382         * libsupc++/Makefile.in:  Regenerated.
3383         * testsuite/Makefile.in:  Regenerated.
3385         * docs/html/install.html:  Update contact information.
3386         * docs/html/17_intro/howto.html:  Ditto.
3387         * docs/html/18_support/howto.html:  Ditto.
3388         * docs/html/20_util/howto.html:  Ditto.
3389         * docs/html/21_strings/howto.html:  Ditto.
3390         * docs/html/22_locale/howto.html:  Ditto.
3391         * docs/html/23_containers/howto.html:  Ditto.
3392         * docs/html/24_iterators/howto.html:  Ditto.
3393         * docs/html/25_algorithms/howto.html:  Ditto.
3394         * docs/html/26_numerics/howto.html:  Ditto.
3395         * docs/html/27_io/howto.html:  Ditto.
3396         * docs/html/faq/index.html:  Ditto, plus info on new checking code.
3397         * docs/html/ext/howto.html:  Ditto, plus info on new checking code.
3398         * docs/html/faq/index.txt:  Regenerated.
3400 2001-04-02  Zack Weinberg  <zackw@stanford.edu>
3402         * testsuite/lib/libstdc++.exp (dg-test): Annotate result
3403         messages with $which_library as well as $tool_flags and
3404         ${dg-extra-tool-flags}.  Factor out annotation text into
3405         a single variable.
3407 2001-04-02  Stephen M. Webb  <stephen@bregmasoft.com>
3409         * include/c_std/bits/std_cstring.h: Fix for const-correctness.
3410         * include/c_std/bits/std_cwchar.h: Same.
3411         * testsuite/21_strings/c_strings.cc: Add.
3413 2001-04-01  Benjamin Kosnik  <bkoz@codesourcery.com>
3415         * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
3417 2001-04-01  Zack Weinberg  <zackw@stanford.edu>
3419         * tests_flags.in: Use test a = b, not test a == b which is not
3420         portable.
3422 2001-03-31  Benjamin Kosnik  <bkoz@redhat.com>
3424         * configure.target: Remove duplicate aix entry.
3426 2001-03-30  Benjamin Kosnik  <bkoz@redhat.com>
3428         * include/ext/stl_bvector.h: Move to...
3429         * include/bits/stl_vector.h: ...here.
3430         * include/ext/bvector: Move to...
3431         * include/backward/bvector.h: ...here.
3432         * include/bits/std_vector.h: Change stl_bvector include.
3433         * include/bits/std_queue.h: Remove bvector include.
3434         * include/ext/tree: Insert using rb_tree, move to...
3435         * include/backward/tree.h: ...here.
3436         * include/backward/hash_map.h: Include ext/hash_map.
3437         * include/backward/hash_set.h: Include ext/hash_set.
3438         * include/backward/queue.h: New file.
3439         * include/backward/stack.h: Edit.
3440         * include/backward/algo.h: Same.
3441         * include/backward/algobase.h: Same.
3442         * include/backward/alloc.h: Same.
3443         * include/backward/function.h: Same.
3444         * include/backward/iomanip.h: Same.
3445         * include/backward/istream.h: Same.
3446         * include/backward/iterator.h: Same.
3447         * include/backward/list.h: Same.
3448         * include/backward/map.h: Same.
3449         * include/backward/multimap.h: Same.
3450         * include/backward/multiset.h: Same.
3451         * include/backward/ostream.h: Same.
3452         * include/backward/pair.h: Same
3453         * include/backward/rope.h: Same.
3454         * include/backward/set.h: Same.
3455         * include/backward/stream.h: Same.
3456         * include/backward/strstream.h: Same.
3457         * include/backward/tempbuf.h: Same.
3458         * src/Makefile.am (ext_headers): Edit.
3459         * src/Makefile.in: Regenerate.
3460         * testsuite/ext/headers.cc (main): Fix.
3461         * mkcheck.in: Fix.
3463 2001-03-30  Phil Edwards  <pme@sources.redhat.com>
3465         * tests_flags.in (LIBS):  Pass correct path for installed testing.
3467 2001-03-28  Benjamin Kosnik  <bkoz@redhat.com>
3469         * mkcheck.in (LIBTOOL): Don't construct -B argument here...
3470         * tests_flags.in (CXX): Construct here.
3471         (static_fail): Don't remove compile.out. Format with spaces.
3472         (INCLUDES): Deal with xcompiling.
3473         * configure.in (xcompiling): Substitute.
3474         * testsuite/Makefile.am: Snake libjava configury.
3475         * testsuite/Makefile.in: Regenerate.
3476         * testsuite/23_containers/map_operators.cc: Tweaks.
3477         * testsuite/23_containers/set_operators.cc: Tweaks.
3479 2001-03-28  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3481         Enable dejagnu testing framework.
3482         * configure.in: Generate testsuite/Makefile.
3483         * configure: Regenerate.
3484         * Makefile.am (check-install): Change rule from this...
3485         (check-script-install): ...to this.
3486         (check): Change rule from this...
3487         (check-script):...to this.
3488         * Makefile.in: Regenerate.
3490 2001-03-28  Alexandre Oliva  <aoliva@redhat.com>
3492         * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
3493         --tag CXX.
3494         (LIBTOOL): Let automake take care of its definition.
3495         * libsupc++/Makefile.in: Rebuilt.
3497 2001-03-28  Richard Henderson  <rth@redhat.com>
3499         IA-64 ABI Exception Handling:
3500         * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
3501         * configure.in: Use it.
3502         * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
3503         * libsupc++/Makefile.am (sources): Update files list.
3504         * libsupc++/Makefile.in: Regenerate.
3505         * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
3506         * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
3507         * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
3508         * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
3509         * libsupc++/exception_support.cc: Remove.
3510         * libsupc++/exception_support.h: Remove.
3511         * libsupc++/pure.cc: Use std::terminate.
3512         * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
3513         (__is_pointer): Remove.
3514         * libsupc++/unwind-cxx.h: New file.
3515         * libsupc++/vec.cc (uncatch_exception): Update for new abi.
3517 2001-03-27  Alexandre Oliva  <aoliva@redhat.com>
3519         * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
3520         CXX tag explicitly.
3521         * src/Makefile.am (CXXLINK): Likewise.
3522         * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
3524 2001-03-27  Benjamin Kosnik  <bkoz@redhat.com>
3526         * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
3528 2001-03-26  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3530         * libstdc++-v3/tests_flags.in: Change the order of libstdc++
3531           and libc
3533 2001-03-26  Benjamin Kosnik  <bkoz@redhat.com>
3535         * include/bits/basic_file.h (get_fileno): Remove.
3536         (_M_fileno): Remove.
3537         (_M_cfile_created): Add.
3538         (basic_file::basic_file(__c_file_type*, openmode): Add.
3539         (basic_file::basic_file(int, const char*, openmode): Remove.
3540         * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
3541         const char*, ios_base::openmode): Don't allocate
3542         internal buffers. Turn off internal buffers.
3543         (basic_filebuf::overflow): Remove test for null buffer.
3544         (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
3545         * include/bits/streambuf.cc: Tweak.
3546         * include/bits/std_ostream.h: Tweak.
3547         * config/basic_file_libio.h: Same.
3548         * config/basic_file_stdio.h: Same.
3549         * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
3550         * testsuite/27_io/filebuf_members.cc: Tweaks.
3551         * testsuite/27_io/ios_base_members_static.cc: Tweaks.
3553 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
3555         * Makefile.am:  New targets, doxygen and doxygen-maint.
3556         * Makefile.in:  Regenerated.
3557         * docs/doxygen/run_doxygen:  Finally implemented.
3558         * docs/doxygen/maint.cfg.in:  New file.
3559         * docs/doxygen/user.cfg.in:  New file.
3561 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
3563         * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES):  Update comment.
3564         * src/Makefile.am:  Replace leading spaces with tabs on continuation
3565         lines.
3566         * aclocal.m4:  Regenerated.
3567         * configure:  Ditto.
3568         * Makefile.in:  Ditto.
3569         * src/Makefile.in:  Ditto.
3570         * libio/Makefile.in:  Ditto.
3571         * libmath/Makefile.in:  Ditto.
3572         * libsupc++/Makefile.in:  Ditto.
3574 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
3576         * docs/html/19_diagnostics/howto.html:  HTML fixup.  Describe
3577         concept-checking code and current status of same.
3578         * docs/html/ext/howto.html:  Ditto.
3579         * docs/html/faq/index.html:  Ditto.
3580         * docs/html/faq/index.txt:  Regenerated.
3582 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
3584         * include/bits/std_bitset.h:  Include ostream and istream headers
3585         instead of iostream.
3587 2001-03-22  Greg Bumgardner <bumgard@roguewave.com>
3589         * include/bits/ostream.tcc: Use __builtin_alloca.
3591 2001-03-22  Benjamin Kosnik  <bkoz@redhat.com>
3593         * src/misc-inst.cc (__sink_unused_warning): Move to...
3594         * src/locale-inst.cc (__sink_unused_warning): Move to...
3595         * src/stl-inst.cc: Here.
3596         * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
3597         commented it out.
3599 2001-03-21  Theodore Papadopoulo  <Theodore.Papadopoulo@sophia.inria.fr>
3601         * intclude/bits/basic_file.h: Fix typos in comments.
3603 2001-03-20  Richard Henderson  <rth@redhat.com>
3605         * src/gen-num-limits.cc: Instantiate for wchar_t.
3606         * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
3608 2001-03-20  Jason Merrill  <jason@redhat.com>
3610         * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
3611         (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
3612         * libsupc++/cxxabi.h: Declare it.
3614 2001-03-16  Alexandre Oliva  <aoliva@redhat.com>
3616         * src/gen-num-limits.cc (signal_adapter): Overloaded to match
3617         signal_func with an unspecified argument list.
3619 2001-03-15  Benjamin Kosnik  <bkoz@redhat.com>
3621         * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
3623 2001-03-15  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3625         * include/bits/basic_string.tcc (operator+): Fix thinko.
3627 2001-03-14  Benjamin Kosnik  <bkoz@redhat.com>
3629         libstdc++/2020
3630         * include/bits/std_streambuf.h: Remove cached locale facets.
3631         (basic_streambuf::_M_buf_fctype): Remove.
3632         (basic_streambuf::~basic_streambuf): Remove here.
3633         (basic_streambuf::basic_streambuf): Same.
3634         (basic_streambuf::imbue): Same.
3635         * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
3636         * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
3637         (basic_filebuf::~basic_filebuf()): Remove here.
3638         * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
3639         (basic_filebuf::imbue): Same.
3640         * include/bits/localefwd.h (_Count_ones): Remove.
3641         (locale::_S_num_categories): Just use 6, since this doesn't
3642         actually change, ever.
3643         * include/bits/locale_facets.tcc (has_facet): Simplify.
3644         (use_facet): Same.
3645         * testsuite/27_io/filebuf.cc (test06): Add tests.
3647 2001-03-13  Steve Ellcey  <sje@cup.hp.com>
3649         * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
3650         match HP-UX ctype.h header file.
3652 2001-03-13  Andris Pavenis <pavenis@latnet.lv>
3654         * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
3655         duplicate definitions of __dj_ctype_*
3657 2001-03-13  Benjamin Kosnik  <bkoz@redhat.com>
3659         * libsupc++/new: Remove pragma interface.
3660         * libsupc++/typeinfo: Same.
3661         * libsupc++/exception: Same.
3662         * libsupc++/new_handler.cc: Remove pragma implementation.
3663         (bad_alloc::~bad_alloc()): Add.
3664         * libsupc++/exception_support.cc: Same.
3665         (exception::~exception): Add.
3666         (bad_exception::~bad_exception): Add.
3667         * libsupc++/tinfo.cc: Same.
3668         (bad_cast::~bad_cast): Add.
3669         (bad_typeid::~bad_typeid): Add.
3671 2001-03-13  Phil Edwards  <pme@sources.redhat.com>
3673         * mkcheck.in:  Fix IFS regression for non-bash-2.01 hosts.
3675 2001-03-12  Felix Lee  <flee@redhat.com>
3677         * mkcheck.in: workaround for bash 2.01 IFS bug.
3679 2001-03-12  Benjamin Kosnik  <bkoz@redhat.com>
3681         Fixups for -fno-for-scope
3682         * include/bits/locale_facets.tcc (__match_parallel): Fixup.
3683         * src/valarray-inst.cc (__gslice_to_index): Same.
3685 2001-03-12  Rodney Brown  <RodneyBrown@mynd.com>
3687         * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
3688         prior to trapping signal (UnixWare 7 workaround).
3690 2001-03-12  Craig Rodrigues  <rodrigc@mediaone.net>
3692         * include/backward/hashtable.h: Same.
3693         * include/backward/rope.h: Fix include.
3695 2001-03-12  Benjamin Kosnik  <bkoz@redhat.com>
3697         * include/backward/vector.h: Include std_vector.h.
3699         * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
3700         operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
3701         Fix typo.
3703 2001-03-11  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3705         * include/ext/stl_hashtable.h: Change type of __n to size_t
3706         * include/backward/bvector.h: Include <ext/stl_bvector.h>
3708 2001-03-09  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3710         * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
3711         operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
3712         Use streamsize, not int_type.
3714 2001-03-08  Benjamin Kosnik  <bkoz@redhat.com>
3716         * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
3717         moment.
3719 2001-03-08  Andreas Schwab  <schwab@suse.de>
3721         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
3722         command.
3723         * aclocal.m4, configure: Regenerated.
3725 2001-03-07  Benjamin Kosnik  <bkoz@redhat.com>
3727         * include/bits/std_iosfwd.h: Remove string forward decls here.
3728         * include/bits/stringfwd.h: Add forward decls for char_traits
3729         specializations.
3730         * config/c_io_libio.h (wstreamoff): Delete.
3731         * config/c_io_stdio.h (wstreamoff): Same.
3732         * include/bits/char_traits.h: Use streamoff not wstreamoff for
3733         char_traits<wchar_t>::off_type.
3734         Remove duplicate typedefs.
3735         * include/bits/fpos.h: Define streampos/wstreampos here.
3736         * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
3737         values to off_type.
3738         (test05): Same.
3739         Changeup output files.
3740         * testsuite/27_io/istream_unformatted.cc: Change output files.
3741         * testsuite/27_io/istream_seeks-1.txt: Add.
3742         * testsuite/27_io/istream_seeks-2.tst: Add.
3743         * testsuite/27_io/istream_seeks-1.tst: Add.
3744         * testsuite/27_io/istream_unformatted-2.tst: Delete.
3745         * testsuite/27_io/istream_unformatted-3.tst: Delete.
3746         * testsuite/27_io/istream_unformatted-3.txt: Delete.
3748 2001-03-07  Alexandre Oliva  <aoliva@redhat.com>
3750         Add Irix 5.2, 6.3 support.
3751         * config/os/irix/bits: Renamed to...
3752         * config/os/irix/irix6.5/bits: this.
3753         * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
3754         * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
3755         _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
3756         * config/os/irix/irix5.2/bits/ctype_noninline.h
3757         (ctype<char>::ctype): Initialize _M_table with __ctype.
3758         * configure.target: Adjust.
3760 2001-03-06  Benjamin Kosnik  <bkoz@redhat.com>
3762         libstdc++/2181
3763         * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
3764         operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
3765         sentry.
3766         (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
3767         (*__pf)(__ios_type&)): Same.
3768         (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
3769         (*__pf)(ios_base&))): Same.
3770         * testsuite/27_io/istream_extractor_other.cc: Add tests.
3771         * testsuite/27_io/istream_manip.cc (test01): Fix.
3773 2001-03-06  Nathan Myers  <ncm@cantrip.org>
3774             Benjamin Kosnik  <bkoz@redhat.com>
3776         * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
3777         * testsuite/17_intro/header_cerrno.cc (test01): New file.
3778         * testsuite/17_intro/header_cassert.cc (test01): New file.
3779         * testsuite/17_intro/header_cstddef.cc (test01): New file.
3780         * testsuite/17_intro/header_csetjmp.cc (test01): New file.
3781         * testsuite/17_intro/header_cstdarg.cc (test01): New file.
3783 2001-03-05  scott snyder  <snyder@fnal.gov>
3785         libstdc++/2190
3786         * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
3787         from here...
3788         * include/c_std/bits/std_cstdlib.h: ... to here.
3789         * testsuite/17_intro/header_cstdlib.cc: Add test.
3791 2001-03-05  Stephen M. Webb  <stephen.webb@cybersafe.com>
3793         * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
3795 2001-03-05  Laurynas Biveinis  <lauras@softhome.net>
3797         * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
3798         definition. Replace enum with static const variables.
3800         * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
3801         throw specification, fix typos, use <static_cast>.
3802         (ctype<char>::scan_is): remove throw specification.
3803         (ctype<char>::scan_not): likewise.
3805         * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
3806         (ctype<char>::do_toupper(char)): use <static_cast>.
3807         (ctype<char>::do_toupper(char *, const char *)): likewise.
3808         (ctype<char>::do_tolower(char)): likewise.
3809         (ctype<char>::do_tolower(char *, const char *)): likewise.
3811 2001-03-04  Phil Edwards  <pme@sources.redhat.com>
3813         http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
3814         * include/backward/algo.h:  Use std not __STD.  Remove unneeded
3815         macros and "never happens" code.  Adjust to C++STYLE guidelines.
3816         * include/backward/algobase.h:  Likewise.
3817         * include/backward/alloc.h:  Likewise.
3818         * include/backward/bvector.h:  Likewise.
3819         * include/backward/deque.h:  Likewise.
3820         * include/backward/function.h:  Likewise.
3821         * include/backward/hash_map.h:  Likewise.
3822         * include/backward/hash_set.h:  Likewise.
3823         * include/backward/hashtable.h:  Likewise.
3824         * include/backward/heap.h:  Likewise.
3825         * include/backward/iterator.h:  Likewise.
3826         * include/backward/list.h:  Likewise.
3827         * include/backward/map.h:  Likewise.
3828         * include/backward/multimap.h:  Likewise.
3829         * include/backward/multiset.h:  Likewise.
3830         * include/backward/pair.h:  Likewise.
3831         * include/backward/rope.h:  Likewise.
3832         * include/backward/set.h:  Likewise.
3833         * include/backward/slist.h:  Likewise.
3834         * include/backward/stack.h:  Likewise.
3835         * include/backward/strstream:  Likewise.
3836         * include/backward/tempbuf.h:  Likewise.
3837         * include/backward/tree.h:  Likewise.
3838         * include/backward/vector.h:  Likewise.
3839         * include/bits/basic_ios.h:  Likewise.
3840         * include/bits/basic_ios.tcc:  Likewise.
3841         * include/bits/basic_string.h:  Likewise.
3842         * include/bits/c++config:  Likewise.
3843         * include/bits/concept_checks.h:  Likewise.
3844         * include/bits/fpos.h:  Likewise.
3845         * include/bits/fstream.tcc:  Likewise.
3846         * include/bits/functexcept.h:  Likewise.
3847         * include/bits/ios_base.h:  Likewise.
3848         * include/bits/istream.tcc:  Likewise.
3849         * include/bits/mask_array.h:  Likewise.
3850         * include/bits/ostream.tcc:  Likewise.
3851         * include/bits/pthread_allocimpl.h:  Likewise.
3852         * include/bits/sbuf_iter.h:  Likewise.
3853         * include/bits/slice.h:  Likewise.
3854         * include/bits/slice_array.h:  Likewise.
3855         * include/bits/sstream.tcc:  Likewise.
3856         * include/bits/std_bitset.h:  Likewise.
3857         * include/bits/std_fstream.h:  Likewise.
3858         * include/bits/std_iomanip.h:  Likewise.
3859         * include/bits/std_ios.h:  Likewise.
3860         * include/bits/std_istream.h:  Likewise.
3861         * include/bits/std_iterator.h:  Likewise.
3862         * include/bits/std_memory.h:  Likewise.
3863         * include/bits/std_ostream.h:  Likewise.
3864         * include/bits/std_sstream.h:  Likewise.
3865         * include/bits/std_streambuf.h:  Likewise.
3866         * include/bits/std_string.h:  Likewise.
3867         * include/bits/std_valarray.h:  Likewise.
3868         * include/bits/stl_algo.h:  Likewise.
3869         * include/bits/stl_algobase.h:  Likewise.
3870         * include/bits/stl_alloc.h:  Likewise.
3871         * include/bits/stl_construct.h:  Likewise.
3872         * include/bits/stl_deque.h:  Likewise.
3873         * include/bits/stl_function.h:  Likewise.
3874         * include/bits/stl_heap.h:  Likewise.
3875         * include/bits/stl_iterator.h:  Likewise.
3876         * include/bits/stl_iterator_base.h:  Likewise.
3877         * include/bits/stl_list.h:  Likewise.
3878         * include/bits/stl_map.h:  Likewise.
3879         * include/bits/stl_multimap.h:  Likewise.
3880         * include/bits/stl_multiset.h:  Likewise.
3881         * include/bits/stl_numeric.h:  Likewise.
3882         * include/bits/stl_pair.h:  Likewise.
3883         * include/bits/stl_pthread_alloc.h:  Likewise.
3884         * include/bits/stl_queue.h:  Likewise.
3885         * include/bits/stl_raw_storage_iter.h:  Likewise.
3886         * include/bits/stl_relops.h:  Likewise.
3887         * include/bits/stl_set.h:  Likewise.
3888         * include/bits/stl_stack.h:  Likewise.
3889         * include/bits/stl_tempbuf.h:  Likewise.
3890         * include/bits/stl_threads.h:  Likewise.
3891         * include/bits/stl_tree.h:  Likewise.
3892         * include/bits/stl_uninitialized.h:  Likewise.
3893         * include/bits/stl_vector.h:  Likewise.
3894         * include/bits/streambuf.tcc:  Likewise.
3895         * include/bits/type_traits.h:  Likewise.
3896         * include/bits/valarray_meta.h:  Likewise.
3897         * include/ext/bvector:  Likewise.
3898         * include/ext/hash_map:  Likewise.
3899         * include/ext/hash_set:  Likewise.
3900         * include/ext/ropeimpl.h:  Likewise.
3901         * include/ext/slist:  Likewise.
3902         * include/ext/stl_bvector.h:  Likewise.
3903         * include/ext/stl_hash_fun.h:  Likewise.
3904         * include/ext/stl_hashtable.h:  Likewise.
3905         * include/ext/stl_rope.h:  Likewise.
3906         * src/complex_io.cc:  Likewise.
3907         * src/ios.cc:  Likewise.
3908         * src/locale-inst.cc:  Likewise.
3909         * src/locale.cc:  Likewise.
3910         * src/localename.cc:  Likewise.
3911         * src/misc-inst.cc:  Likewise.
3912         * src/stdexcept.cc:  Likewise.
3913         * src/stl-inst.cc:  Likewise.
3914         * src/strstream.cc:  Likewise.
3915         * src/valarray-inst.cc:  Likewise.
3917 2001-03-03  Benjamin Kosnik  <bkoz@redhat.com>
3919         * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
3921 2001-03-02  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3923         * include/bits/istream.tcc: change type of __extracted to __size_type
3925 2001-03-02  Benjamin Kosnik  <bkoz@redhat.com>
3927         * src/wstring-inst.cc: New file.
3928         * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
3929         (libinst_wstring_la_SOURCES): Remove.
3930         (libstdc___la_LIBADD): Remove libinst_wstring_la.
3931         (sources): Add wstring-inst.cc
3932         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
3933         libinst_wstring_la.
3935 2001-03-02  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3937         * src/locale.cc: initialise __ret with zero
3938         * src/strstream.cc:cast gptr to int_type
3940 2001-03-01  Phil Edwards  <pme@sources.redhat.com>
3942         * docs/html/faq/index.html:  Update broken links.
3943         * docs/html/faq/index.txt:  Regenerated.
3945 2001-02-28  Benjamin Kosnik  <bkoz@redhat.com>
3947         libstdc++/2064
3948         * configure.target: Change irix* to irix6.5* in target_os table.
3950 2001-02-28  Benjamin Kosnik  <bkoz@redhat.com>
3952         libstdc++/2103
3953         * include/bits/c++config (__GLIBCPP__): Bump number in
3954         anticipation of 2.92.
3956         * include/bits/codecvt.h: Fix typo.
3957         * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
3958         stdio model.
3959         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
3960         instantiations for stdio model.
3962 2001-02-28  Phil Edwards  <pme@sources.redhat.com>
3964         * acinclude.m4 (GLIBCPP_CONFIGURE):  Remove GLIBCPP_CFLAGS
3965           and GLIBCPP_CXXFLAGS as unused variables.
3966         * configure.host:  Likewise.
3967         * configure.target:  Likewise.
3968         * aclocal.m4:  Regenerated.
3969         * configure:  Regenerated.
3970         * Makefile.in:  Regenerated.
3971         * libio/Makefile.in:  Regenerated.
3972         * libmath/Makefile.in:  Regenerated.
3973         * libsupc++/Makefile.in:  Regenerated.
3974         * src/Makefile.in:  Regenerated.
3976 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
3978         libstdc++/1886
3979         * include/bits/basic_file.h: Include basic_file_model.h.
3980         * config/c_io_libio.cc: Move to...
3981         * config/basic_file_libio.cc: Here.
3982         * config/basic_file_libio.h: New file.
3983         * config/c_io_stdio.cc: Move to...
3984         * config/basic_file_stdio.cc: Here.
3985         * config/basic_file_stdio.h: New file.
3986         * config/c_io_libio.h: Tweak.
3987         * config/c_io_stdio.h: Tweak.
3988         * src/Makefile.am (build_headers): Add basic_file_model.h.
3989         (sources): Add basic_file.cc, remove c++io.cc.
3990         * src/Makefile.in: Regenerate.
3991         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
3992         basic_file_model.h and basic_file.cc.
3993         * aclocal.m4: Regenerate.
3994         * configure: Regenerate.
3995         * testsuite/27_io/filebuf.cc (test05): Add regression.
3997 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
3999         Correct license.
4000         * config/cpu/alpha/bits/atomicity.h: Change.
4001         * config/cpu/arm/bits/atomicit3y.h
4002         * config/cpu/generic/bits/atomicity.h
4003         * config/cpu/i386/bits/atomicity.h
4004         * config/cpu/i486/bits/atomicity.h
4005         * config/cpu/ia64/bits/atomicity.h
4006         * config/cpu/powerpc/bits/atomicity.h
4007         * config/cpu/sparc/sparc32/bits/atomicity.h
4008         * config/cpu/sparc/sparc64/bits/atomicity.h
4009         * config/os/aix/bits/atomicity.h
4010         * config/os/irix/bits/atomicity.h
4012 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
4014         * include/bits/std_stdexcept.h (runtime_error): Make string
4015         member non-const.
4016         (logic_error): Same.
4017         * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
4018         (test03): Fix.
4020 2001-02-26  Benjamin Kosnik  <bkoz@redhat.com>
4022         libstdc++/1972
4023         libstdc++/2089
4024         * include/bits/std_stdexcept.h (logic_error::logic_error): Use
4025         string object, not reference.
4026         (runtime_error::runtime_error): Same.
4027         * testsuite/19_diagnostics/stdexceptions.cc: New file.
4029 2001-02-26  Phil Edwards  <pme@sources.redhat.com>
4031         * acinclude.m4 (GLIBCPP_CONFIGURE):  Update required compiler version.
4032           (GLIBCPP_CHECK_COMPILER_FEATURES):  Can safely assume new
4033           diagnostics.  Remove WFMT_FLAGS.
4034         * configure.in:  Replace WFMT_FLAGS with diagnostics options.
4035         * libsupc++/Makefile.am:  Likewise.
4036         * src/Makefile.am:  Likewise.
4037         * aclocal.m4:  Regenerated.
4038         * configure:  Regenerated.
4039         * Makefile.in:  Regenerated.
4040         * libio/Makefile.in:  Regenerated.
4041         * libmath/Makefile.in:  Regenerated.
4042         * libsupc++/Makefile.in:  Regenerated.
4043         * src/Makefile.in:  Regenerated.
4045 2001-02-26  Phil Edwards  <pme@sources.redhat.com>
4047         Fixes libstdc++/2079
4048         * include/backward/iomanip.h:  Expose <ios> manipulators to global
4049           namespace.
4050         * include/backward/iostream.h:  Also expose std::ws.
4052 2001-02-25  Greg Freemyer <freemyer@NorcrossGroup.com>
4054         * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
4056 2001-02-23  Benjamin Kosnik  <bkoz@redhat.com>
4058         * include/bits/codecvt.h: Use __builtin_alloca.
4059         * include/bits/ostream.tcc: Same.
4060         * include/bits/fstream.tcc: Same.
4062 2001-02-23  Alexandre Oliva <aoliva@redhat.com>
4064         * mknumeric_limits (CC): Use VAR=${VAR=...} form.
4066 2001-02-23  David Edelsohn <dje@watson.ibm.com>
4068         * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
4070 2001-02-23  Phil Edwards  <pme@sources.redhat.com>
4072         c++/2052
4073         * include/backward/iostream.h:  Expose std::flush in old headers.
4075 2001-02-23  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4077         * mknumeric_limits: Remove special-casing on target.  Use gcc
4078         instead of g++ to build gen-num-limits.cc
4080 2001-02-22  Benjamin Kosnik  <bkoz@redhat.com>
4082         * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
4084         * include/bits/codecvt.h: Use alloca instead of __extension__ for
4085         the time being.
4086         * include/bits/ostream.tcc: Same.
4087         * include/bits/std_ostream.h: Same.
4088         * include/bits/fstream.tcc: Same.
4089         * include/bits/locale_facets.tcc: Add typename.
4090         * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
4092 2001-02-21  Phil Edwards  <pme@sources.redhat.com>
4094         * tests_flags.in:  Remove -n flag from call to echo.
4096 2001-02-20  Benjamin Kosnik  <bkoz@redhat.com>
4098         * config/c_locale_gnu.h: Add clocale include.
4100 2001-02-20  Phil Edwards  <pme@sources.redhat.com>
4102         * include/bits/stl_config.h:  Remove file.
4103         * src/Makefile.am (base_headers):  Remove from list.
4104         * configure:  Regenerate.
4105         * Makefile.in:  Ditto.
4106         * libio/Makefile.in:  Ditto.
4107         * libmath/Makefile.in:  Ditto.
4108         * libsupc++/Makefile.in:  Ditto.
4109         * src/Makefile.in:  Ditto.
4111         * include/bits/c++config:  Move relevant macros to here.
4112         * include/backward/alloc.h:  Include c++config.h instead.
4113         * include/backward/function.h:  Ditto.
4114         * include/backward/heap.h:  Ditto.
4115         * include/backward/pair.h:  Ditto.
4116         * include/bits/pthread_allocimpl.h:  Ditto.
4117         * include/bits/std_functional.h:  Ditto.
4118         * include/bits/std_iterator.h:  Ditto.
4119         * include/bits/std_numeric.h:  Ditto.
4120         * include/bits/std_utility.h:  Ditto.
4121         * include/bits/stl_algobase.h:  Ditto.
4122         * include/bits/type_traits.h:  Ditto.
4123         * src/stl-inst.cc:  Ditto.
4125 2001-02-19  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4127         * include/bits/basic_file.h: Add #pragma system_header
4128         * include/bits/basic_ios.h: Ditto.
4129         * include/bits/basic_string.h: Ditto.
4130         * include/bits/char_traits.h: Ditto.
4131         * include/bits/codecvt.h: Ditto.
4132         * include/bits/cpp_type_traits.h:  Ditto.
4133         * include/bits/fpos.h: Ditto.
4134         * include/bits/gslice.h: Ditto.
4135         * include/bits/gslice_array.h: Ditto.
4136         * include/bits/indirect_array.h: Ditto.
4137         * include/bits/ios_base.h: Ditto.
4138         * include/bits/limits_generic.h: Ditto.
4139         * include/bits/locale_facets.h: Ditto.
4140         * include/bits/localefwd.h: Ditto.
4141         * include/bits/mask_array.h: Ditto.
4142         * include/bits/sbuf_iter.h: Ditto.
4143         * include/bits/sequence_concepts.h: Ditto.
4144         * include/bits/slice.h: Ditto.
4145         * include/bits/slice_array.h: Ditto.
4146         * include/bits/std_algorithm.h: Likewise.
4147         * include/bits/std_bitset.h: Likewise.
4148         * include/bits/std_complex.h: Likewise.
4149         * include/bits/std_deque.h: Likewise.
4150         * include/bits/std_fstream.h: Likewise.
4151         * include/bits/std_functional.h: Likewise.
4152         * include/bits/std_iomanip.h: Likewise.
4153         * include/bits/std_ios.h: Likewise.
4154         * include/bits/std_iosfwd.h: Likewise.
4155         * include/bits/std_iostream.h: Likewise.
4156         * include/bits/std_istream.h: Likewise.
4157         * include/bits/std_iterator.h: Likewise.
4158         * include/bits/std_list.h: Likewise.
4159         * include/bits/std_locale.h: Likewise.
4160         * include/bits/std_map.h: Likewise.
4161         * include/bits/std_memory.h: Likewise.
4162         * include/bits/std_numeric.h: Likewise.
4163         * include/bits/std_ostream.h: Likewise.
4164         * include/bits/std_queue.h: Likewise.
4165         * include/bits/std_set.h: Likewise.
4166         * include/bits/std_sstream.h: Likewise.
4167         * include/bits/std_stack.h: Likewise.
4168         * include/bits/std_stdexcept.h: Likewise.
4169         * include/bits/std_streambuf.h: Likewise.
4170         * include/bits/std_string.h: Likewise.
4171         * include/bits/std_utility.h: Likewise.
4172         * include/bits/std_valarray.h: Likewise.
4173         * include/bits/std_vector.h: Likewise.
4174         * include/bits/stringfwd.h: Likewise.
4175         * include/bits/type_traits.h: Likewise.
4176         * include/bits/valarray_array.h: Likewise.
4177         * include/bits/valarray_meta.h: Likewise.
4179 2001-02-19  Andreas Jaeger  <aj@suse.de>
4181         * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
4182         Fix typo.
4184 2001-02-16  Greg Bumgardner <bumgard@roguewave.com>
4186         libstdc++/1734
4187         * include/bits/std_ostream.h: Replaced usage of
4188         _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
4189         * include/bits/char_traits.h: Removed non-standard
4190         methods that cannot be used elsewhere.
4192         libstdc++/1885
4193         * include/bits/basic_ios.h: Uncommented #include of
4194         bits/basic_ios.tcc
4196         libstdc++/1897
4197         * include/bits/codecvt.h: See next...
4198         * include/bits/fstream.tcc: See next...
4199         * include/bits/ostream.tcc: Add __extension__
4200         to variable-length arrays.
4202         libstdc++/1967
4203         * include/bits/localefwd.h: Changed int counter type to size_t.
4205         libstdc++/1968
4206         * include/bits/std_fstream.h: Added typedef for __ctype_type.
4208 2001-02-16  Benjamin Kosnik  <bkoz@redhat.com>
4210         * testsuite/21_strings/char_traits.cc: Move to ...
4211         * testsuite/21_strings/char_traits_requirements.cc: ..here.
4212         * testsuite/21_strings/char_traits-int_type.cc: Move to ...
4213         * testsuite/21_strings/char_traits_typedefs.cc: ..here.
4215 2001-02-16  Gabriel Dos Reis  <gdr@codesourcery.com>
4217         * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
4218         definitions.
4220 2001-02-15  Benjamin Kosnik  <bkoz@redhat.com>
4222         * include/bits/c++config: Revert.
4224 2001-02-15  Mark Mitchell  <mark@codesourcery.com>
4226         * include/bits/istream.tcc: Use ios_base::iostate in place of
4227         iostate throughout.  Insert `typename' keyword where necessary.
4228         * include/bits/ostream.tcc: Insert `typename' keyword where
4229         necessary.
4231 2001-02-15  Jeffrey Oldham  <oldham@codesourcery.com>
4233         * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
4234         Define so library is compliant.
4236 2001-02-15  Anthony Green  <green@redhat.com>
4238         * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
4239         compilation.
4240         * aclocal.m4: Regenerate.
4241         * configure: Regenerate.
4243 2001-02-15  Rodney Brown  <RodneyBrown@mynd.com>
4245         * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
4246         Include ieeefp.h for fpclass on UnixWare{2,7}.
4247         * aclocal.m4: Regenerate.
4248         * configure: Regenerate.
4249         * mkcheck.in (size_command): Do without GNU-grep when using
4250         size from binutils.
4252 2001-02-15  Mark Mitchell  <mark@codesourcery.com>
4254         Remove old ABI support from libsupc++.
4255         * libsupc++/cxxabi.h: Remove conditionally compiled code.
4256         * libsupc++/exception_support.cc: Likewise.
4257         * libsupc++/pure.cc: Likewise.
4258         * libsupc++/tinfo.cc: Likewise.
4259         * libsupc++/tinfo.h: Likewise.
4260         * libsupc++/tinfo2.cc: Likewise.
4261         * libsupc++/typeinfo: Likewise.
4262         * libsupc++/vec.cc: Likewise.
4264 2001-02-15  Benjamin Kosnik  <bkoz@redhat.com>
4266         Add support for -fno-exceptions.
4267         * include/bits/exception_support.h: Remove.
4268         * include/bits/basic_string.h: Remove exception_support.
4269         (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
4270         (string::at): Same.
4271         (string::substr): Same.
4272         * include/bits/basic_string.tcc (string::reserve): Replace
4273         __LENGTHERROR with __throw_length_error.
4274         (string::_S_create): Same.
4275         (string::resize): Same.
4276         (string::_M_replace): Same.
4277         (string::replace): Same.
4278         (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
4279         (string::compare): Same.
4280         * include/bits/stl_vector.h: Remove exception_support.
4281         * src/Makefile.am (base_headers): Remove here.
4282         * src/Makefile.in: Regenerate.
4284         * include/bits/stl_range_errors.h: Remove.
4285         * include/bits/stl_deque.h: Use __throw_range_error.
4286         * include/bits/std_deque.h: Include functexcept.h.
4287         * include/bits/std_vector.h: Same.
4288         * src/Makefile.am (base_headers): Remove here.
4289         * src/Makefile.in: Regenerate.
4290         * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
4291         * include/ext/bvector: Remove stl_range_errors.h
4293         * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
4295         * include/bits/functexcept.h: New file.
4296         * src/functexcept.cc: New file. Definitions for function-based
4297         exception routines.
4298         * src/Makefile.am (sources): Add functexcept.cc.
4299         * src/Makefile.in: Regenerate.
4301         * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
4302         __EXCEPTIONS.
4304         * include/bits/localefwd.h: Include functexcept.h.
4305         * include/bits/std_iosfwd.h: Same.
4307         * include/bits/basic_ios.h: Use __throw_ios_failure instead of
4308         throw basic_ios::failure.
4309         * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
4310         Use __throw_exception_again.
4311         (filebuf::_M_filebuf_init): Same.
4312         * include/bits/streambuf.tcc (__copy_streambufs): Same.
4313         * include/bits/ostream.tcc (ostream::operator<<): Same.
4314         * include/bits/istream.tcc (istream::operator>>): Same.
4315         * include/bits/basic_string.tcc (string::_M_mutate): Same.
4316         (string::_S_construct): Same.
4317         (string::_M_clone): Same.
4318         * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
4319         __throw_bad_cast.
4320         (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
4321         * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
4322         __throw_exception_again.
4323         (locale::_Imp::_Imp(string, size_t): Same.
4324         (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
4325         * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
4326         (locale::locale(const char*)): Use __throw_runtime_error.
4327         (locale::classic): Use __throw_exception_again.
4328         (locale::_S_normalize_category): Use __throw_runtime_error.
4330         * src/stdexcept.cc: Remove cruft.
4332         * libsupc++/exception_defines.h: New file.
4333         * libsupc++/new_opnt.cc: Include exception_defines.h.
4334         * libsupc++/vec.cc: Same.
4335         (__cxa_vec_new2): Use __throw_exception_again.
4336         (__cxa_vec_new3): Same.
4337         (__cxa_vec_ctor): Same.
4338         (__cxa_vec_delete3): Same.
4339         (__cxa_vec_cctor): Same.
4340         (__cxa_vec_delete2): Same.
4341         (__cxa_vec_dtor): Same.
4342         * libsupc++/exception_support.cc: Include exception_defines.h. Only
4343         compile exception-handling bits if __EXCEPTIONS is defined.
4344         Remove old ABI support.
4345         * libsupc++/new_op.cc (new): Include exception_defines.h. Use
4346         std::__throw_bad_alloc() instead of throw bad_alloc.
4347         * libsupc++/Makefile.am: Add exception_defines.h.
4348         * libsupc++/Makefile.in: Reformat.
4349         * libsupc++/*: Format.
4351 2001-02-15  Phil Edwards  <pme@sources.redhat.com>
4353         * docs/html/configopts.html:  Minor updates and typo fixes.
4354         * docs/html/faq/index.html:  Updates of the "not really bugs" list.
4355         * docs/html/faq/index.txt:  Regenerated.
4357 2001-02-15  Gabriel Dos Reis  <gdr@codesourcery.com>
4359         * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
4360         dejagnu/dg.exp.  Adapt to log options used to run testcases.
4362 2001-02-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4364         * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
4365         dejagnu/dg.exp.
4367 2001-02-13  Dirk Mueller <dmuell@gmx.net>
4368             Phil Edwards  <pme@sources.redhat.com>
4370         * include/backward/function.h:  Do not use rel_ops for older
4371           headers either.
4372         * include/backward/pair.h:  Likewise.
4374 2001-02-12  Mark Mitchell  <mark@codesourcery.com>
4376         * src/locale.cc: Remove bogus locale::id definitions.
4378 2001-02-11  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4380         * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
4381         not _DEFINE_VALARRAY_OPERATOR which is not existent.
4383         * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
4384         thinko in member initialisation.
4386 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
4388         * include/bits/std_valarray.h(valarray<>::shift): Avoid
4389         comparaison between signed and unsigned integer types.
4390         (valarray<>::cshift): Reformat.
4392 2001-02-11  Alexandre Oliva  <aoliva@redhat.com>
4394         * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
4395         * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
4396         * configure.in: Test for sigsetjmp.
4397         * configure, config.h.in: Rebuilt.
4399 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
4401         * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
4402         lengths and strides.
4403         (__gslice_to_index): Document.
4405 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
4407         * include/bits/char_traits.h char_traits<char>::int_type: Change
4408         to `int' to match 21.1.3.1/2.
4410         * testsuite/21_strings/char_traits-int_type.C: New test.
4412 2001-02-10  Gabriel Dos Reis  <gdr@codesourcery.com>
4414         * testsuite/Makefile.am: New file.
4416 2001-02-09  Nathan Sidwell  <nathan@codesourcery.com>
4418         * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
4420 2001-02-08  Loren J. Rittle  <ljrittle@acm.org>
4422         * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
4424 2001-02-08  David Edelsohn  <edelsohn@gnu.org>
4426         * configure.target (aix4*): Remove extra set of brackets.
4428 2001-02-07  Benjamin Kosnik  <bkoz@redhat.com>
4430         Clean up stdexcept.
4431         * include/bits/stringfwd.h: New file.
4432         * include/bits/stl_string_fwd.h: Remove.
4433         * include/bits/localefwd.h: Remove declaration for allocator.
4434         * include/bits/std_iosfwd: Same.
4435         * include/bits/std_string.h: Include it.
4436         * include/bits/std_ios.h: Remove include.
4437         * include/bits/basic_string.h: Tweak.
4438         * libsupc++/new: Format.
4439         * src/Makefile.am (base_headers): Add stringfwd.h, remove
4440         stl_string_fwd.h
4441         * src/Makefile.in: Regenerate.
4442         * include/bits/std_stdexcept.h: Rewrite.
4443         * src/stdexcept.cc: Same.
4445 2001-02-06  Benjamin Kosnik  <bkoz@redhat.com>
4447         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
4448         install locations too.
4449         * aclocal.m4: Regenerate.
4450         * configure.in: Remove USE_LIBDIR.
4451         * configure: Regenerate.
4452         * src/Makefile.am (toolexecdir): Simplify, use
4453         glibcpp_toolexecdir, glibcpp_toolexeclibdir.
4454         * src/Makefile.in: Regenerate.
4455         * libsupc++/Makefile.am: Same.
4456         * libsupc++/Makefile.in: Regenerate.
4458         * src/Makefile.am: Just remove special rules for locale-inst.cc and
4459         misc-inst.cc as no longer necessary.
4461         Follow C++STYLE for naming non-static functions.
4462         * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
4463         __pad_char.
4464         * include/bits/streambuf.tcc: Same.
4465         * include/bits/ostream.tcc: Same.
4466         * include/bits/istream.tcc: Same.
4467         * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
4468         (_S_output_float): To __output_float.
4469         * include/bits/std_streambuf.h (_S_copy_streambufs): To
4470         __copy_streambufs.
4471         * include/bits/locale_facets.tcc (_S_build_float_format): To
4472         __build_float_format.
4473         (_S_format): To __output_integer.
4474         (_S_fill): To __pad.
4475         * src/locale.cc: Same.
4476         * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
4477         names.
4478         * include/bits/locale_facets.tcc (_S_group_digits): To
4479         __group_digits.
4480         * src/locale-inst.cc: Fixup names. Add use_facet instantiations
4481         for collate, numpunct.
4483 2001-02-06  Phil Edwards  <pme@sources.redhat.com>
4485         * docs/html/configopts.html:  Fix HTML markup.
4486         * docs/html/install.html:  Bring up to date.
4487         * docs/html/17_intro/C++STYLE:  Add global variable conventions.
4488         * docs/html/21_strings/howto.html:  More notes.
4489         * docs/html/22_locale/howto.html:  Fix HTML markup.
4490         * docs/html/27_io/howto.html:  More notes.
4491         * docs/html/27_io/binary_iostreams_kanze.txt:  New file.
4492         * docs/html/27_io/binary_iostreams_kuehl.txt:  New file.
4494 2001-02-06  Jeffrey Oldham  <oldham@codesourcery.com>
4496         * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
4497         to match header files.
4498         (_S_output_float): Likewise.
4499         (_S_copy_streambufs): Likewise.
4501 2001-02-06  Hyman Rosen  <Hyman.Rosen@kbcfp.com>
4502             Phil Edwards  <pme@sources.redhat.com>
4504         * include/bits/std_istream.h (op>> signed,unsigned char):  Must
4505           use reinterpret_cast, not static_cast.
4507 2001-02-06  Benjamin Kosnik  <bkoz@redhat.com>
4509         * acinclude.m4 (gxx_include_dir): Quote, fix regression.
4510         * aclocal.m4: Regenerate.
4511         * configure: Regenerate.
4513 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
4515         * include/bits/locale_facets.h (class moneypunct): Fix typos.
4516         * libsupc++/pure.cc: Revert.
4518 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
4520         * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
4521         (GLIBCPP_CHECK_MATH_DECL_2): New macro.
4522         (GLIBCPP_CHECK_MATH_DECL_3): New macro.
4523         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
4524         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
4525         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
4526         (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
4527         * aclocal.m4: Regenerate.
4528         * configure: Regenerate.
4530 2001-02-05  Mark Mitchell  <mark@codesourcery.com>
4532         * include/bits/locale_facets.tcc: Remove `static' keyword on
4533         function definitions.
4534         * include/bits/std_streambuf.h: Likewise.
4535         * src/Makefile.am: Remove use of -fimplicit-templates.
4536         * src/Makefile.in: Regenerated.
4537         * src/locale-inst.cc: Explicitly instantiate more functions.
4538         * src/misc-inst.cc: Likewise.
4539         * src/string-inst.cc: Likewise.
4541 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
4543         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
4544         macro. Consolidate all the bits to do with where includes might be
4545         installed.
4546         * aclocal.m4: Regenerate.
4547         * configure.in: Use it.
4548         * configure: Regenerate.
4549         * src/Makefile.am (targetincludep): Use simplified rules.
4550         (targetincludep): Rename gxx_target_include_dir.
4551         (myincludep): Rename gxx_include_dir.
4552         * src/Makefile.in: Regenerate.
4553         * libsupc++/Makefile.am: Use simplified rules.
4554         * libsupc++/Makefile.in: Regenerate.
4556 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
4558         * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
4559         * include/c_std/bits/std_cctype.h: Same.
4560         * include/c_std/bits/std_cassert.h: Same.
4561         * include/c_std/bits/std_cstdarg.h: Same.
4562         * include/c_std/bits/std_cstddef.h: Same.
4564         * include/c_std/bits/std_cstdio.h: Undefine all names brought into
4565         namespace std.
4566         * include/c_std/bits/std_ctime.h: Same.
4567         * include/c_std/bits/std_clocale.h: Same.
4568         * include/c_std/bits/std_cmath.h: Same.
4569         * include/c_std/bits/std_csetjmp.h: Same.
4570         * include/c_std/bits/std_csignal.h: Same.
4571         * include/c_std/bits/std_cstring.h: Same.
4572         * include/c_std/bits/std_cstdlib.h: Same.
4573         * include/c_std/bits/std_cwchar.h: Same.
4575 2001-02-05  Phil Edwards  <pme@sources.redhat.com>
4577         * testsuite/27_io/ios_base_members_static.cc:  Swap order of tests.
4579 2001-02-05  Mark Mitchell  <mark@codesourcery.com>
4581         * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
4582         (string::_S_construct): Likewise.
4584 2001-02-05  Gabriel Dos Reis  <gdr@codesourcery.com>
4586         * testsuite/config/default.exp: New file.
4587         * testsuite/config: New directory.
4589 2001-02-04  Mark Mitchell  <mark@codesourcery.com>
4591         * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
4592         * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
4593         whenever !__GXX_MERGED_TYPEINFO_NAMES.
4594         * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
4596 2001-02-03  Alexandre Oliva  <aoliva@redhat.com>
4597             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
4599         * Makefile.am (mkinstalldirs): Set.
4600         * src/Makefile.am (mkinstalldirs): Set.
4601         * libmath/Makefile.am (mkinstalldirs): Set.
4602         * libsup++/Makefile.am (mkinstalldirs): Set.
4603         * libio/Makefile.am (mkinstalldirs): Set.
4604         * */Makefile.in: Regenerate.
4606 2001-02-03  Benjamin Kosnik  <bkoz@redhat.com>
4608         * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
4609         * include/bits/localefwd.h: More initialization cleanups.
4611 2001-02-03  Jeffrey A Law  <law@cygnus.com>
4613         * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
4614         correctly targets with 16bit ints.
4615         (_S_ios_openmode_end): Similarly.
4616         (_S_ios_iostate_end): Similarly.
4617         (_S_ios_Seekdir_end): Similarly.
4619 2001-02-02  Phil Edwards  <pme@sources.redhat.com>
4621         * mkcheck.in:  Also limit virtual memory size, for mmap-based mallocs.
4623 2001-02-01  Alexandre Oliva  <aoliva@redhat.com>
4625         * configure.in (toplevel_srcdir, auxdir): Set.
4626         * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
4627         * aclocal.m4, configure, Makefile.in: Rebuilt.
4628         * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
4629         * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
4630         * libsupc++-v3/Makefile.in: Rebuilt.
4631         * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
4632         * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
4634 2001-01-30   Benjamin Kosnik  <bkoz@redhat.com>
4636         * config/c_locale_generic.cc: Remove langinfo include.
4638 2001-01-29  Benjamin Kosnik  <bkoz@redhat.com>
4640         Preliminary named locales.
4641         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
4642         * aclocal.m4: Regenerate.
4643         * configure.in: Use it.
4644         * configure: Regerate.
4645         * src/Makefile.am (sources): Add c++locale.cc.
4646         (build_headers): Add c++locale.h.
4647         * src/Makefile.in: Regenerate.
4648         * config/c_locale_gnu.h: New file.
4649         * config/c_locale_gnu.cc: New file. Non-inline member functions
4650         for named locales, gnu-specific.
4651         * config/c_locale_generic.h: New file.
4652         * config/c_locale_generic.cc: New file. Non-inline member
4653         functions for named locales, generic version.
4654         * docs/html/configopts.html: Add documentation on new options.
4656         * include/bits/locale_facets.h (class _Messages): Remove.
4657         (class _Moneypunct): Remove.
4658         * src/locale-inst.cc: Remove.
4660         * include/bits/locale_facets.h (class _Collate): Remove.
4661         * src/locale-inst.cc (std): Remove.
4662         * src/locale.cc: And here.
4664         * include/bits/localefwd.h (locale::_M_coalesce): New
4665         function. Correctly put together multi-name locales.
4666         (_Impl(const _Impl&, category, size_t)): Remove.
4668         * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
4669         member functions.
4670         (_M_normalize_category_names): Remove.
4671         (_M_replace_categories): Fix.
4673         * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
4674         (locale::_Impl::_M_construct_ctype): Remove.
4675         (locale::_Impl::_M_construct_monetary): Remove.
4676         (locale::_Impl::_M_construct_numeric): Remove.
4677         (locale::_Impl::_M_construct_time): Remove.
4678         (locale::_Impl::_M_construct_messages): Remove.
4680         * include/bits/locale_facets.h (_Bad_use_facet): Remove.
4681         (_Use_facet_failure_handle): Remove.
4682         * src/locale.cc: Remove definitions.
4683         * src/locale-inst.cc: And here.
4685         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
4687         * src/localename.cc (locale::facet::_S_create_c_locale): Properly
4688         create and error-check underlying locale object.
4689         (locale::facet::_S_destroy_c_locale): Add, take care of properly
4690         tearing down underlying locale object.
4691         * include/bits/localefwd.h (locale::facet): Declare.
4692         * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
4693         correctness, as glibc apparently has incorrect info in it. Test
4694         with it when it works again.....
4696         * include/bits/localefwd.h (locale::_Impl::__vec_string):
4697         Remove. Number of categories is fixed at six, so just simplify and
4698         make this an array of strings.
4699         (locale::_Impl::_M_has_name): Remove.
4700         (locale::_Impl::_M_name): Remove.
4701         (locale::_Impl::_M_category_names): Turns into...
4702         (locale::_Impl::_M_names): ...this.
4703         (locale::_Impl::_M_has_same_name()): New function.
4704         * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
4705         (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
4706         signature.
4707         * src/locale.cc (locale::name()): Construct mangled name
4708         accurately reflecting combined locale categories.
4710         * src/locale.cc (locale::classic()): Don't initialize here.
4711         * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
4712         __refs, bool __has_name, string __str): Do it here.
4714         * include/bits/localefwd.h: _S_categories_num to
4715         _S_num_categories. _S_facets_num to _S_num_facets.
4716         (locale::id::id()): Explicitly set _M_index to zero.
4717         * src/locale.cc: Same.
4719         * src/locale.cc: (locale::locale(const char*)): Construct named
4720         locales uniquely.
4722         * src/locale.cc: Remove numpunct_byname ctors.
4723         * testsuite/22_locale/numpunct_byname.cc: New file.
4724         * testsuite/22_locale/numpunct.cc: New file.
4726         * include/bits/localefwd.h (class locale): Change data members to
4727         protected, from private.
4728         (_Impl::_M_get_c_locale): Add member function.
4729         (locale::facet::_M_get_global_impl()): Add member function.
4730         * include/bits/locale_facets.h (numpunct::_M_init): Change to take
4731         a __c_locale pointer.
4732         (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
4733         named locales.
4734         * testsuite/22_locale/members.cc: New file, test name and combine.
4736         * include/bits/locale_facets.h (class numpunct): Remove class
4737         _Punct and _Numpunct. Rewrite class numpunct to be correct for
4738         named locales.
4739         * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
4740         * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
4741         (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
4742         * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
4743         * testsuite/22_locale/numpunct_char_members.cc: New file.
4745 2001-01-28  Gabriel Dos Reis  <gdr@codesourcery.com>
4747         * testsuite/README: Add more comment.
4748         * testsuite/lib/libstdc++.exp: Tweak comment.
4750 2001-01-26  Benjamin Kosnik  <bkoz@kredhat.com>
4752         * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
4754 2001-01-25  Loren J. Rittle  <ljrittle@acm.org>
4756         * testsuite/21_strings/inserters_extractors.cc: Remove
4757         explicit reference to 'testsuite/'.
4759 2001-01-25  Richard Henderson  <rth@redhat.com>
4761         * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
4762         bits. Fixes Tru64 build issues.
4764 2001-01-25  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
4766         * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
4767         (use ${MAKE-make}, not ${MAKE:-make}).
4768         * aclocal.m4, configure: Regenerate.
4770 2001-01-25  Mark Mitchell  <mark@codesourcery.com>
4772         * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
4773         checkin.
4775         * src/Makefile.am (sources): Add globals.cc.
4776         * src/Makefile.in: Regenerated.
4777         * src/globals.cc: New file.
4778         * src/ios.cc (cin): Don't define here, just declare extern.
4779         (cout): Likewise.
4780         (cerr): Likewise.
4781         (clog): Likewise.
4782         (wcin): Likewise.
4783         (wcout): Likewise.
4784         (wcerr): Likewise.
4785         (wclog): Likewise.
4787 2001-01-25  Phil Edwards  <pme@sources.redhat.com>
4789         * include/bits/std_iterator.h:  Do not include stl_relops.h.
4790         * include/bits/std_numeric.h:  Ditto.
4791         * include/bits/stl_algobase.h:  Ditto.
4792         * include/bits/stl_relops.h:  Add comment warning about problems.
4794 2001-01-25  Gabriel Dos Reis  <gdr@codesourcery.com>
4796         * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
4797         in testcases.  Prepare for the DejaGnu based framework.
4798         * mkcheck.in: Adjust call to tests_flags.  Don't mmkdir testsuite
4799         directory -- it is now mkcheck working directory.
4800         * tests_flags.in: Remove reference to $(top_srcdir).  Use
4801         ${SRC_DIR} instead.
4802         * Makefile.am (check, check-install): Change mkcheck invocation
4803         logic.
4804         * Makefile.in: Regenerate.
4806 2001-01-24  Mark Mitchell  <mark@codesourcery.com>
4808         * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
4809         (__always_swap): Likewise.
4811 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
4813         * libsupc++/exception_support.cc (__terminate_func): Remove
4814         declaration.
4815         (__terminate_func_ptr): New typedef.
4816         (__terminate, __terminate_set_func): New extern function
4817         prototypes.
4818         (std::terminate): Use __terminate function.
4819         (std::set_terminate): Use __terminate_set_func function.
4821 2001-01-23  Benjamin Kosnik  <bkoz@redhat.com>
4823         * configure.target: Just use os_include_dir always.
4824         * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
4825         Link atomicity files and ctype files here.
4826         * configure: Regenerate.
4827         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
4828         (GLIBCPP_ENABLE_ATOMICITY): Remove.
4829         * aclocal.m4: Regenerate.
4831 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
4833         * configure.in: Place definition of MULTISUBDIR in
4834         libsupc++/Makefile as is done for src/Makefile.
4835         * configure: Regenerate.
4837 2001-01-23  Phil Edwards  <pme@sources.redhat.com>
4839         * acinclude.m4:  Cosmetic changes only.
4840         * aclocal.m4:  Regenerated.
4841         * configure:  Regenerated.
4842         * configure.target:  Update documented list of changed variables.
4843         * docs/html/install.html:  Fix typo.
4844         * docs/html/20_util/howto.html:  More notes on auto_ptr.
4845         * docs/html/27_io/howto.html:  More notes on streabufs.
4846         * docs/html/faq/index.html:  Add rel_ops problem and mention the
4847           DEC as(1) .subsection difficulty.
4848         * docs/html/faq/index.txt:  Regenerated.
4850 2001-01-23  Mark Mitchell  <mark@codesourcery.com>
4852         * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
4853         (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
4854         (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
4855         its already provided in config.target.
4856         * aclocal.m4: Regenerated.
4857         * configure: Likewise.
4858         * configure.target: Set ctype_include_dir for lots of systems.
4859         * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
4860         * libsupc++/Makefile.in: Regenerated.
4862 2001-01-23  Gabriel Dos Reis  <gdr@codesourcery.com>
4864         * testsuite/lib/libstdc++.exp: Improve.  Add support for @xxx#
4865         keyword capability.
4867         * testsuite/README: Add comment.
4869 2001-01-21  Phil Edwards  <pme@sources.redhat.com>
4871         * docs/html/configopts.html:  Update for current status.  Fix HTML.
4872         * docs/html/install.html:  Update for current status.
4874 2001-01-20  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4876         * testsuite/libstdc++.tests/tests.exp: New file.
4877         * testsuite/lib/libstdc++.exp: Itou.
4878         * testsuite/README: Itou.
4880 2001-01-20  Gabriel Dos Reis  <gdr@codesourcery.com>
4882         * tests_flags.in: Just output the bare minimum to run tests.
4883         Let's the caller do its own arrangement.
4885         * mkcheck.in: Rename INC_PATH to INCLUDES.  Adjust flags
4886         computations.
4888 2001-01-19  Gabriel Dos Reis  <gdr@codesourcery.com>
4890         * testsuite/17_intro: Prepare testcases for new style DejaGnu
4891         framework.
4893 2001-01-18  Gabriel Dos Reis  <gdr@codesourcery.com>
4895         * testsuite/libstdc++.tests, testsuite/lib: New directories.
4897 2001-01-17  Loren J. Rittle  <ljrittle@acm.org>
4899         * mkcheck.in: Construct file names that match $objdir structure.
4900         * testsuite/27_io/filebuf_members-1.txt: New file.
4901         * testsuite/27_io/ifstream_members-1.txt: New file.
4902         * testsuite/27_io/ostream_inserter_char-1.txt: New file.
4904         * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
4905         * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
4907 2001-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4909         * testsuite/27_io/istream_sentry.cc (test02): Fix.
4911 2001-01-17  Benjamin Kosnik  <bkoz@redhat.com>
4913         libstdc++/1605
4914         * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
4915         * src/ios.cc (ios_base::failure): Make definitions match.
4916         * libsupc++/typeinfo (class bad_typeid): Add throw specs.
4917         (class bad_cast): Same.
4918         * libsupc++/exception (class exception): Add throw specs.
4919         * libsupc++/exception_support.cc (set_terminate): Add throw specs.
4920         (set_unexpected): Same.
4921         (uncaught_exception): Same.
4922         (what): Same.
4924         * docs/html/17_intro/C++STYLE (classname): Fix.
4926 2001-01-16  Mark Mitchell  <mark@codesourcery.com>
4928         * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
4929         Use it do explicitly instantiate predicate<T> and value<T> for
4930         all the builtin Ts.
4932 2001-01-16  Nathan Sidwell  <nathan@codesourcery.com>
4934         * libsupc++/exception_support.cc (__cp_pop_exception): Fix
4935         uninitialized thinko in last change.
4937 2001-01-16  Mark Mitchell  <mark@codesourcery.com>
4939         * libsupc++/exception_support.cc (__cp_pop_exception): Change
4940         prototype.
4942 2001-01-16  Benjamin Kosnik  <bkoz@redhat.com>
4944         * docs/html/17_intro/C++STYLE (classname): Add more existing
4945         and stylish patterns.
4947         libstdc++/944
4948         * include/bits/istream.tcc (istream::sentry::sentry()): Set
4949         failbit if the state of the stream is not good.
4950         * testsuite/27_io/istream_sentry.cc (test02): Add test.
4951         * testsuite/27_io/istream_manip.cc (test01): Modify.
4953         libstdc++/1019
4954         reported by Paolo Carlini <pcarlini@unitus.it>
4955         * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
4956         * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
4958         libstdc++/1057
4959         * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
4960         * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
4961         (xsgetn): Same. Simplify.
4962         * testsuite/27_io/streambuf.cc (test04): Add testcases.
4964         reported by Larry Evans <jcampbell3@prodigy.net>
4965         * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
4966         equality with eof on returned value from overflow.
4968 2001-01-14  Andreas Jaeger  <aj@suse.de>
4970         * libio/libio.h: Add test for glibc 2.0.
4972 2001-01-12  Benjamin Kosnik  <bkoz@redhat.com>
4974         * config/os/djgpp/bits/*: Fix dates.
4976         * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
4977         _CharT* __end, _CharT __c): Remove.
4978         * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
4979         * include/bits/char_traits.h: Tweak.
4981 2001-01-12  Laurynas Biveinis  <lauras@softhome.net>
4983         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
4984         (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
4985         bash bug.
4986         * aclocal.m4: regenerated.
4987         * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
4988         * configure: regenerated.
4989         * config/os/djgpp, config/os/djgpp/bits: new directories.
4990         * config/os/djgpp/bits/ctype_base.h,
4991         config/os/djgpp/bits/ctype_inline.h,
4992         config/os/djgpp/bits/ctype_noninline.h,
4993         config/os/djgpp/bits/os_defines.h: new files.
4995 2001-01-11   Joseph S. Myers  <jsm28@cam.ac.uk>
4997         * include/c_std/bits/std_cstdio.h: Undef printf.
4999 2001-01-10  Benjamin Kosnik  <bkoz@redhat.com>
5001         * src/ios.cc: Fix typo: change cout->wcout.
5003         * src/Makefile.am (targetincludep): Fix for version-specific-libs.
5004         * src/Makefile.in: Regenerate.
5006 2001-01-10  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
5008          * include/bits/std_complex.h: Fix a typo.
5010 2001-01-09  Benjamin Kosnik  <bkoz@redhat.com>
5011                              <kainz@ilm.com>
5013         Fixes for libstdc++/1576
5014         * src/stdstreams.cc: Initialize with NULL filebuf. Delete
5015         file, move contents into....
5016         * src/ios.cc: ...Here. Put defines for iostreams objects and
5017         initialization routines into one file to simplify DSO interaction.
5018         * include/bits/std_iostream.h: Touch.
5019         * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
5020         * src/Makefile.am (sources): Remove stdstreams.cc.
5021         * src/Makefile.in: Regenerate.
5023 2001-01-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5025         * tests_flags.in (check_directory): Fix typo.
5027 2001-01-09  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
5029          * include/bits/std_complex.h: Fix a typo.
5031 2001-01-09  Loren J. Rittle  <ljrittle@acm.org>
5033         * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
5034         code path:) Remove magic constants and restructure to handle
5035         ctype.h bit mask layout changes more gracefully.  (Make fast
5036         code path:) Use __maskrune (), if available.
5037         (is): Remove special case for digit and xdigit masks.
5039 2001-01-09  Robert Lipe <robertlipe@usa.net>
5041         * include/c_std/bits/std_ctime.h: Undefine difftime.
5043 2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
5045         * src/gen-num-limits.cc (signal_adapter): New template function.
5046         (signal_handler): Use it, instead of signal.
5047         (traps<T>): Likewise.  Install SIGTRAP handler too.  Don't
5048         require both tests to trap to set trap_flag.
5050 2001-01-08  Benjamin Kosnik  <bkoz@redhat.com>
5052         * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
5053         initialize mbstate_t member, name offset data members *off, not pos.
5054         * include/bits/fstream.tcc (filebuf::filebuf): Same.
5056 2001-01-08  Benjamin Kosnik  <bkoz@redhat.com>
5058         reported by Chris G. Demetriou <cgd@sibyte.com>
5059         * configure.in: Change -linux-* to -linux*.
5060         * configure: Regenerate.
5062 2001-01-05  Benjamin Kosnik  <bkoz@redhat.com>
5064         Fix 27_io/filebuf_members.cc
5065         * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
5066         const string& __name, category __cat, size_t __refs): Set
5067         _M_has_name with _M_name.
5068         * include/bits/localefwd.h (locale::operator!=): Protect member
5069         function call with this->.
5070         * src/locale.cc (locale::operator==): Make fast checks first.
5071         * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
5073         * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
5074         to ios_base::Init.
5075         * src/ios.cc (ios_base::Init::Init): Initialize here.
5076         (ios_base::sync_with_stdio): Set here.
5078 2001-01-04  Loren J. Rittle  <ljrittle@acm.org>
5080         * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
5081         systems that support it, call dup() before fdopen().
5083 2001-01-03  Benjamin Kosnik  <bkoz@redhat.com>
5085         * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
5086         * testsuite/17_intro/header_cwctype.cc (main): New file.
5088         * src/Makefile.am (base_headers): Change.
5089         * include/bits/std_string.h: And here.
5090         * include/bits/string.tcc: Tweaks, move to...
5091         * include/bits/basic_string.tcc: ...Here.
5092         * src/string-inst.cc: Simplify, just instantiate the whole class,
5093         not member-by-member.
5095 2001-01-02  Benjamin Kosnik  <bkoz@redhat.com>
5097         * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
5098         * aclocal.m4: Regenerate.
5099         * configure: Regenerate.
5101         * include/bits/c++config (__GLIBCPP__): Bump version number.
5103         * ChangeLog: Start new log for year 2001
5104         * ChangeLog-2000: New file.
5106         * docs/html/configopts.html: Make sure default values are current,
5107         add commentary.
5109 2001-01-01  Benjamin Kosnik  <bkoz@fillmore.redhat.com>
5111         * include/c_std/bits/std_cwchar.h: Same.
5112         * testsuite/17_intro/header_cwchar.cc: Same.
5113         * include/c_std/bits/std_ctime.h: Same.
5114         * testsuite/17_intro/header_ctime.cc: Same.
5115         * include/c_std/bits/std_cstdlib.h: Same.
5116         Clean up undefs, make consistent with cwchar and cmath, etc.
5117         * testsuite/17_intro/header_cstdlib.cc: Same.
5118         * include/c_std/bits/std_cstdio.h: Same here.
5119         * testsuite/17_intro/header_cstring.cc: Same.
5120         * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
5121         * testsuite/17_intro/header_cstring.cc: New file. Check for
5122         size_t in namespace std.
5124         * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
5125         * acconfig.h (HAVE_MBSTATE_T): Add.
5126         * config.h.in: Regenerate.
5127         * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
5128         mbstate_t.
5129         * aclocal.m4: Regenerate.
5130         * configure: Regenerate.
5131         * testsuite/17_intro/headers_c++.cc: New file.
5132         * testsuite/17_intro/headers_c.cc: Small changes.
5134 2001-01-01  David Billinghurst <David.Billinghurst@riotinto.com>
5136         * tests_flags.in: Fix typo in usage.
5138         * tests_flags.in: Set target specific LIBS for cygwin.