OSDN Git Service

5c35fb68a2d406a4418d3b24dab661058f7a526c
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2001-11-02  Phil Edwards  <pme@gcc.gnu.org>
2
3         * acconfig.h:  Update comments.
4         * acinclude.m4 (GLIBCPP_ENABLE_C99):  Move strtoll, strtoull tests...
5         (GLIBCPP_ENABLE_LONG_LONG):  ...to here.  Don't check enable_c99.
6         * aclocal.m4:  Regenerate.
7         * config.h.in:  Regenerate.
8         * configure:  Regenerate.
9
10         * include/bits/boost_concept_check.h:  Unconditionally compile uses
11         of 'long long' which require only compiler support, not C lib support.
12         * include/bits/cpp_type_traits.h:  Likewise.
13         * include/bits/std_limits.h:  Likewise.
14         * include/bits/type_traits.h:  Likewise.
15         * src/concept-inst.cc:  Likewise.
16         * src/limits.cc:  Likewise.
17         * include/c_shadow/stdlib.h:  Compile conditionally on _GLIBCPP_USE_C99
18         instead of _GLIBCPP_USE_LONG_LONG.
19         * include/c_shadow/bits/std_cstdlib.h:  Likewise.
20
21 2001-11-02  Phil Edwards  <pme@gcc.gnu.org>
22
23         * config/io/c_io_stdio.h:  Correct grammar in comments.
24         * docs/doxygen/Intro.3:  Expand "top-level" man page.
25         * docs/doxygen/doxygroups.cc:  New module definitions (comments).
26         * docs/doxygen/mainpage.doxy:  Tweaks.
27         * docs/doxygen/run_doxygen:  Update Doxygen version, massage man pages.
28
29         Add @file hooks so that headers are considered to be documented.
30         * include/bits/basic_ios.h, include/bits/basic_file.h,
31         include/bits/basic_string.h, include/bits/boost_concept_check.h,
32         include/bits/char_traits.h, include/bits/codecvt.h,
33         include/bits/concept_check.h, include/bits/cpp_type_traits.h,
34         include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
35         include/bits/indirect_array.h, include/bits/ios_base.h,
36         include/bits/locale_facets.h, include/bits/localefwd.h,
37         include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
38         include/bits/slice.h, include/bits/slice_array.h,
39         include/bits/std_algorithm.h, include/bits/std_bitset.h,
40         include/bits/std_complex.h, include/bits/std_deque.h,
41         include/bits/std_fstream.h, include/bits/std_functional.h,
42         include/bits/std_iomanip.h, include/bits/std_ios.h,
43         include/bits/std_iosfwd.h, include/bits/std_iostream.h,
44         include/bits/std_istream.h, include/bits/std_iterator.h,
45         include/bits/std_limits.h, include/bits/std_list.h,
46         include/bits/std_locale.h, include/bits/std_map.h,
47         include/bits/std_memory.h, include/bits/std_numeric.h,
48         include/bits/std_ostream.h, include/bits/std_queue.h,
49         include/bits/std_set.h, include/bits/std_sstream.h,
50         include/bits/std_stack.h, include/bits/std_streambuf.h,
51         include/bits/std_string.h, include/bits/std_utility.h,
52         include/bits/std_valarray.h, include/bits/std_vector.h,
53         include/bits/stl_algo.h, include/bits/stl_alloc.h,
54         include/bits/stl_bvector.h, include/bits/stl_construct.h,
55         include/bits/stl_deque.h, include/bits/stl_heap.h,
56         include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
57         include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
58         include/bits/stl_map.h, include/bits/stl_multimap.h,
59         include/bits/stl_multiset.h, include/bits/stl_numeric.h,
60         include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
61         include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
62         include/bits/stl_relops.h, include/bits/stl_set.h,
63         include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
64         include/bits/stl_threads.h, include/bits/stl_tree.h,
65         include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
66         include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
67         include/bits/stringfwd.h, include/bits/type_traits.h,
68         include/bits/valarray_array.h, include/bits/valarray_meta.h:
69         Add hooks, tweak comments only.
70
71         * include/bits/stl_algobase.h (swap, min, iter_swap):  Also
72         document these functions.
73         * include/bits/stl_function.h:  Tweak link comments.
74
75 2001-11-01  Paolo Carlini  <pcarlini@unitus.it>
76             Benjamin Kosnik  <bkoz@redhat.com>
77         
78         * testsuite/27_io/ios_manip_fmtflags.cc: Fix for non-interactive
79         output.
80         * include/bits/locale_facets.tcc (num_put::do_put(bool)): Fix.
81         
82 2001-11-01  Egor Duda  <deo@logos-m.ru>
83
84         * config/os/newlib/bits/ctype_noninline.h
85         (ctype<char>::do_toupper(char __c)): Check for proper character class.
86         (ctype<char>::do_tolower(char __c)): Ditto.
87
88 2001-11-01  Phil Edwards  <pme@gcc.gnu.org>
89
90         * acinclude.m4:  Fix spacing.
91         (GLIBCPP_ENABLE_CONCEPT_CHECKS):  New macro.
92         * configure.in:  Call here.
93         * acconfig.h:  Add _GLIBCPP_CONCEPT_CHECKS.
94         * include/bits/boost_concept_check.h:  Fix headers.
95         (__function_requires):  Make inline.
96         * include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS):  Remove.
97         * aclocal.m4:  Regenerate.
98         * config.h.in:  Regenerate.
99         * configure:  Regenerate.
100
101         Move trailing ';' inside macro, PR libstdc++/3666.
102         * include/bits/concept_check.h:  Add semicolon.
103         * include/bits/stl_algo.h:  Remove semicolon.
104         * include/bits/stl_algobase.h:  Likewise.
105         * include/bits/stl_deque.h:  Likewise.
106         * include/bits/stl_heap.h:  Likewise.
107         * include/bits/stl_iterator_base_funcs.h:  Likewise.
108         * include/bits/stl_list.h:  Likewise.
109         * include/bits/stl_map.h:  Likewise.
110         * include/bits/stl_multimap.h:  Likewise.
111         * include/bits/stl_multiset.h:  Likewise.
112         * include/bits/stl_numeric.h:  Likewise.
113         * include/bits/stl_queue.h:  Likewise.
114         * include/bits/stl_set.h:  Likewise.
115         * include/bits/stl_stack.h:  Likewise.
116         * include/bits/stl_vector.h:  Likewise.
117         * include/ext/hash_map:  Likewise.
118         * include/ext/hash_set:  Likewise.
119         * include/ext/slist:  Likewise.
120
121         * src/concept-inst.cc:  New file with explicit instantiations.
122         * src/Makefile.am (sources):  Add here, with special build rules.
123         * src/Makefile.in:  Regenerate.
124
125 2001-11-01  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
126
127         * include/bits/std_complex.h (_Norm_helper): New class template.
128         (norm): Tweak.
129         (abs): Tweak. Fix Thinko.
130
131 2001-10-31  Benjamin Kosnik  <bkoz@redhat.com>
132
133         libstdc++/4749
134         * include/bits/codecvt.h: Add virtual member function declarations.
135         * src/codecvt.cc: Tweaks.
136         * testsuite/22_locale/codecvt.cc: Test compilation only,
137         non-required facets not required to have linkage.
138         
139 2001-10-31  Edward E. Meyer  <edward.e.meyer@boeing.com>
140
141         libstdc++/4622
142         * include/bits/std_complex.h (complex::operator/=): Correct sign.
143
144 2001-10-30  Paolo Carlini  <pcarlini@unitus.it>
145             Benjamin Kosnik  <bkoz@redhat.com>
146
147         libstdc++/4354
148         * include/bits/basic_string.h: Tweaks.
149         * include/bits/basic_string.tcc (string::_M_replace(iterator,
150         iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
151         * src/string-inst.cc: Tweaks, add instantiation.
152         * testsuite/21_strings/replace.cc (test02): Add test.
153         * testsuite/21_strings/assign.cc (test01): New file.
154         
155 001-10-30  Jakub Jelinek  <jakub@redhat.com>
156
157         * include/bits/stl_deque.h (_M_new_elements_at_front): Use
158         __throw_exception_again.
159         (_M_new_elements_at_back): Likewise.
160
161 2001-10-29  Benjamin Kosnik  <bkoz@redhat.com>
162
163         libstdc++/3647
164         * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
165         * testsuite/27_io/filebuf.cc (test07): New test.
166         (test03): Modify showmanyc test.
167
168 2001-10-26  Benjamin Kosnik  <bkoz@redhat.com>
169
170         libstdc++/4503
171         * config/locale/codecvt_specializations_ieee_1003.1-200x.h
172         (__enc_traits::~__enc_traits): Fix.
173         (__enc_traits::_M_init): Add error checking.
174         
175 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
176
177         libstdc++/4542
178         * include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
179
180 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
181
182         libstdc++/4545
183         * include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
184         exceptions.
185         * include/bits/istream.tcc (istream::operator>>(streambuf*): Make
186         consistent, where possible.
187         * include/bits/streambuf.tcc: Tweak.
188         
189 2001-10-25  Brendan Kehoe  <brendan@zen.org>
190
191         libstdc++/4536
192         * bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
193         * bits/istream.tcc (seekg): Likewise.
194
195 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
196             Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
197             Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
198         
199         * config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
200         __s390x__ only.
201         * include/bits/std_limits.h: Fix wchar_t issues.
202         * config/os/aix/bits/os_defines.h: Fix.
203         
204 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
205
206         * include/bits/locale_facets.tcc (collate::do_transform): Fix.
207
208 2001-10-25  Phil Edwards  <pme@gcc.gnu.org>
209
210         * docs/html/documentation.html:  Fix typo.
211
212 2001-10-23  Benjamin Kosnik  <bkoz@redhat.com>
213
214         Make -fno-exceptions work.
215         * config/locale/c_locale_gnu.cc: Use functexcept.
216         * include/bits/c++config (__stl_assert): Remove.
217         (__STL_USE_EXCEPTIONS): Same.
218         (__STL_TRY): Same.
219         (__STL_CATCH_ALL): Same.
220         (__STL_THROW): Same.
221         (__STL_RETHROW): Same.
222         (__STL_NOTHROW): Same.
223         (__STL_UNWIND): Same.
224         * include/bits/pthread_allocimpl.h: Fix.
225         * include/bits/std_bitset.h: Same.
226         * include/bits/std_list.h: Same.
227         * include/bits/std_memory.h: Same.
228         * include/bits/std_queue.h: Same.
229         * include/bits/stl_alloc.h: Same.
230         * include/bits/stl_deque.h: Same.
231         * include/bits/stl_list.h: Same.
232         * include/bits/stl_queue.h: Same.
233         * include/bits/stl_tempbuf.h: Same.
234         * include/bits/stl_tree.h: Same.
235         * include/bits/stl_uninitialized.h: Same.
236         * include/bits/stl_vector.h: Same.
237         * include/ext/ropeimpl.h: Same.
238         * include/ext/slist: Same.
239         * include/ext/stl_hashtable.h: Same.
240         * include/ext/stl_rope.h: Same.
241         * libsupc++/new_op.cc: Include cstdlib.
242         * libsupc++/eh_personality.cc: Add exception_defines include. Use
243         __throw_exception_again, tweak.
244         * libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
245         * libsupc++/vec.cc: Tweak.
246         * src/functexcept.cc: Remove unused arguments.
247         * testsuite/23_containers/bitset_members.cc: Tweak.
248
249 2001-10-22  Benjamin Kosnik  <bkoz@redhat.com>
250
251         * config/cpu/i386/bits/limits.h: Move to...
252         * config/cpu/i386/bits/cpu_limits.h: ...here.
253         * config/cpu/cris/bits/cpu_limits.h: Same.
254         * config/cpu/powerpc/bits/cpu_limits.h: Same.   
255         * config/cpu/x86-64/bits/cpu_limits.h: Same.            
256         * config/cpu/alpha/bits/cpu_limits.h: New.
257         * config/cpu/m68k/bits/cpu_limits.h: New.
258         * config/cpu/s390/bits/cpu_limits.h: New.
259         * config/os/aix/bits/os_defines.h: Tweaks.
260         * config/os/bsd/freebsd/bits/os_defines.h: Same.
261         * config/os/bsd/netbsd/bits/os_defines.h: Same.
262         * config/os/djgpp/bits/os_defines.h: Same.
263         * config/os/generic/bits/os_defines.h: Same.
264         * config/os/gnu-linux/bits/os_defines.h: Same.
265         * config/os/hpux/bits/os_defines.h: Same.
266         * config/os/irix/irix5.2/bits/os_defines.h: Same.
267         * config/os/irix/irix6.5/bits/os_defines.h: Same.
268         * config/os/newlib/bits/os_defines.h: Same.
269         * config/os/solaris/solaris2.5/bits/os_defines.h: Same.
270         * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
271         * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
272         
273         * include/bits/c++config: Remove include.       
274         * include/bits/limits_generic.h: Remove.
275         * include/bits/std_limits.h: Include cpu_limits.h.
276         * include/Makefile.am: Fixup.
277         * src/limits.cc: Tweak.
278         * src/limits_generic.cc: Remove.
279         * src/gen-num-limits.cc: Remove.
280         * mknumeric_limits: Remove.
281         
282 2001-10-20  Brendan Kehoe  <brendan@zen.org>
283
284         * bits/type_traits.h (_Bool): Removed this type.
285         (__true_type, __false_type): Change to be plain structs.
286         * src/string-inst.cc (__destroy_aux): Change third parm to be
287         __false_type instead of _Bool<false>.
288         * src/misc-inst.cc (__uninitialized_fill_n_aux,
289         __uninitialized_copy_aux): Likewise.
290
291 2001-10-19  Benjamin Kosnik  <bkoz@redhat.com>
292
293         * mkcheck.in (static_fail): Remove older memory limit functionality.
294         Disable E_TIME due to formatting issues.
295
296         * README: Update.
297         
298 2001-10-19  Brendan Kehoe  <brendan@zen.org>
299
300         * include/bits/std_complex.h: Default initialize second argument
301         of polar to 0, as specified in Library DR #79
302
303 2001-10-19  Brendan Kehoe  <brendan@zen.org>
304
305         * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
306         _Construct instead of construct.
307
308 2001-10-19  Brendan Kehoe  <brendan@zen.org>
309
310         * include/bits/basic_string.tcc (find_first_not_of): Take out check for
311         __n being non-zero, since the standard does not mandate that.
312         e.g., a search for "" in "" should yield position 0, not npos.
313         (find_last_not_of): Likewise.
314
315 2001-10-19  Brendan Kehoe  <brendan@zen.org>
316
317         * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
318         to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
319
320 2001-10-19  Brendan Kehoe  <brendan@zen.org>
321
322         * include/bits/stl_iterator.h (reverse_iterator::current): Rename
323         member from _M_current, and change all uses; thus sayeth $24.4.1.1.
324
325 2001-10-19  Brendan Kehoe  <brendan@zen.org>
326  
327         * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
328         template parameter _ValueType.
329
330 2001-10-19  Brendan Kehoe  <brendan@zen.org>
331
332         * include/bits/std_limits.h: Clean up extra semicolons.
333         * include/bits/locale_facets.h: Likewise.
334         * include/bits/type_traits.h: Likewise.
335
336 2001-10-19  Brendan Kehoe  <brendan@zen.org>
337
338         * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
339         * include/bits/locale_facets.tcc (locale::combine): Likewise.
340
341 2001-10-19  Benjamin Kosnik  <bkoz@redhat.com>
342
343         * include/bits/locale_facets.h (__timepunct::_M_put_helper):
344         Declare specializations for char, wchar_t.
345
346 2001-10-19  Andreas Jaeger  <aj@suse.de>
347
348         * config/cpu/x86-64/bits/limits.h: New file.
349         * config/cpu/x86-64/bits/atomicity.h: New file.
350         * configure.target: Add x86-64.
351
352 2001-10-17  Phil Edwards  <pme@gcc.gnu.org>
353
354         * docs/html/17_intro/howto.html:  Remove 1999 links (and explain
355         why).  Add link to recent message.
356         * docs/html/faq/index.html (5.6):  Reformat text only; fixup <pre>
357         markup.
358         * docs/html/faq/index.txt:  Regenerate.
359
360 2001-10-12  Loren J. Rittle  <ljrittle@acm.org>
361
362         * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
363         based on Nathan's review.  Use Nathan's words.
364
365 2001-10-11  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
366
367         * docs/html/configopts.html: Quote StyleSheet attribute values.
368         * docs/html/documentation.html: Likewise.
369         * docs/html/explanations.html: Likewise.
370         * docs/html/install.html: Likewise.
371         * docs/html/17_intro/howto.html: Likewise.
372         * docs/html/17_intro/license.html: Likewise.
373         * docs/html/18_support/howto.html: Likewise.
374         * docs/html/19_diagnostics/howto.html: Likewise.
375         * docs/html/20_util/howto.html: Likewise.
376         * docs/html/21_strings/howto.html: Likewise.
377         * docs/html/22_locale/howto.html: Likewise.
378         * docs/html/23_containers/howto.html: Likewise.
379         * docs/html/24_iterators/howto.html: Likewise.
380         * docs/html/25_algorithms/howto.html: Likewise.
381         * docs/html/26_numerics/howto.html: Likewise.
382         * docs/html/27_io/howto.html: Likewise.
383         * docs/html/ext/howto.html: Likewise.
384         * docs/html/ext/sgiexts.html: Likewise.
385         * docs/html/faq/index.html: Likewise.
386
387 2001-10-11  Loren J. Rittle  <ljrittle@acm.org>
388
389         * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
390         * docs/html/23_containers/howto.html (Containers and multithreading):
391         Update.
392
393 2001-10-09  Phil Edwards  <pme@gcc.gnu.org>
394
395         * docs/html/17_intro/howto.html:  Tweak markup and value type.
396         * docs/html/27_io/howto.html:  Tweak markup, describe setbuf() for
397         nonzero arguments, add new note on threading.
398         * docs/html/faq/index.html:  Update.
399         * docs/html/faq/index.txt:  Regenerate.
400
401 2001-10-09  Phil Edwards  <pme@gcc.gnu.org>
402
403         * docs/html/configopts.html:  More HTML->XHTML and lowercasing of tags.
404         * docs/html/documentation.html:  Likewise.
405         * docs/html/explanations.html:  Likewise.
406         * docs/html/install.html:  Likewise.
407         * docs/html/17_intro/howto.html:  Likewise.
408         * docs/html/17_intro/license.html:  Likewise.  Tighten up language.
409         * docs/html/18_support/howto.html:  Likewise.
410         * docs/html/19_diagnostics/howto.html:  Likewise.
411         * docs/html/20_util/howto.html:  Likewise.
412         * docs/html/21_strings/howto.html:  Likewise.
413         * docs/html/22_locale/howto.html:  Likewise.
414         * docs/html/23_containers/howto.html:  Likewise.
415         * docs/html/24_iterators/howto.html:  Likewise.
416         * docs/html/25_algorithms/howto.html:  Likewise.
417         * docs/html/26_numerics/howto.html:  Likewise.
418         * docs/html/27_io/howto.html:  Likewise.
419         * docs/html/ext/howto.html:  Likewise.
420         * docs/html/ext/sgiexts.html:  Likewise.
421         * docs/html/faq/index.html:  Likewise.  Not so many absolute links.
422         * docs/html/faq/index.txt:  Regenerate.
423
424 2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>
425
426         * docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
427         spelling errors of "separate" as "seperate", and corresponding
428         spelling errors of related words.
429         * docs/html/faq/index.txt: Regenerate.
430
431 2001-10-05  Phil Edwards  <pme@gcc.gnu.org>
432
433         * config/cpu/alpha/bits/atomicity.h (__compare_and_swap):  Remove
434         unused function.
435         * config/cpu/arm/bits/atomicity.h:  Likewise.
436         * config/cpu/generic/bits/atomicity.h:  Likewise.
437         * config/cpu/i486/bits/atomicity.h:  Likewise.
438         * config/cpu/ia64/bits/atomicity.h:  Likewise.
439         * config/cpu/mips/bits/atomicity.h:  Likewise.
440         * config/cpu/powerpc/bits/atomicity.h:  Likewise.
441         * config/cpu/sparc/sparc32/bits/atomicity.h:  Likewise.
442         * config/cpu/sparc/sparc64/bits/atomicity.h:  Likewise.
443
444 2001-10-04  Phil Edwards  <pme@gcc.gnu.org>
445
446         * docs/html/faq/index.html:  Describe DR #22, and a workaround.
447         * docs/html/faq/index.txt:  Regenerate.
448
449 2001-10-04  Phil Edwards  <pme@gcc.gnu.org>
450
451         * docs/html/17_intro/COPYING.DOC:  New file, GFDL v1.1 from the FSF.
452         * docs/html/17_intro/license.html:  New file.  Explain the licenses
453         in use.
454
455         * docs/html/configopts.html:  Link to license.html.
456         * docs/html/documentation.html:  Likewise.
457         * docs/html/explanations.html:  Likewise.
458         * docs/html/install.html:  Likewise.
459         * docs/html/17_intro/howto.html:  Likewise.
460         * docs/html/18_support/howto.html:  Likewise.
461         * docs/html/19_diagnostics/howto.html:  Likewise.
462         * docs/html/20_util/howto.html:  Likewise.
463         * docs/html/21_strings/howto.html:  Likewise.
464         * docs/html/22_locale/howto.html:  Likewise.
465         * docs/html/23_containers/howto.html:  Likewise.
466         * docs/html/24_iterators/howto.html:  Likewise.
467         * docs/html/25_algorithms/howto.html:  Likewise.
468         * docs/html/26_numerics/howto.html:  Likewise.
469         * docs/html/27_io/howto.html:  Likewise.
470         * docs/html/ext/howto.html:  Likewise.
471         * docs/html/ext/sgiexts.html:  Likewise.
472         * docs/html/faq/index.html:  Likewise.  New question, linking to
473         the new license.html.
474
475 2001-10-04  Phil Edwards  <pme@gcc.gnu.org>
476
477         * docs/html/17_intro/howto.html:  Fix mis-sed in header from 20010917.
478         * docs/html/18_support/howto.html:  Likewise.
479         * docs/html/19_diagnostics/howto.html:  Likewise.
480         * docs/html/20_util/howto.html:  Likewise.
481         * docs/html/21_strings/howto.html:  Likewise.
482         * docs/html/22_locale/howto.html:  Likewise.
483         * docs/html/23_containers/howto.html:  Likewise.
484         * docs/html/24_iterators/howto.html:  Likewise.
485         * docs/html/25_algorithms/howto.html:  Likewise.
486         * docs/html/26_numerics/howto.html:  Likewise.
487         * docs/html/27_io/howto.html:  Likewise.
488         * docs/html/ext/howto.html:  Likewise.
489         * docs/html/faq/index.html:  Likewise.  Spacing fix.
490
491 2001-10-03  Dimitris Vyzovitis  <vyzo@media.mit.edu>
492
493         * include/bits/stl_threads.h (_Atomic_swap): New function.
494         (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
495         * testsuite/ext/rope.cc: New file.
496
497 2001-10-02  Benjamin Kosnik  <bkoz@redhat.com>
498
499         * config/locale/time_members_gnu.h: Remove.
500         * config/locale/time_members_generic.h: Remove. 
501         * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
502         * config/locale/time_members_generic.cc: Same.
503         * include/bits/locale_facets.h: Add data members.
504         (__timepunct::_M_put_helper): Change signature.
505         (__timepunct::_M_date_formats): Same.
506         (__timepunct::_M_time_formats): Same.   
507         (__timepunct::_M_ampm): Add.
508         (__timepunct::_M_date_time_formats): Add.
509         (time_get::_M_extract_via_format): Add.
510         (time_get::_M_extract_time): Change to...
511         (time_get::_M_extract_num): ... this, modify signature.
512         * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
513         (time_get::do_get_time): Fix.
514         (time_get::do_get_date): Fix.   
515         
516         * acinclude.m4: Remove CTIME_H.
517         * aclocal.m4: Regenerate.
518         * include/Makefile.am: Same.
519         * include/Makefile.in: Regenerate.
520         * configure: Regenerate.
521
522         * testsuite/22_locale/time_get_members_char.cc: Fix.
523         * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
524         * testsuite/22_locale/time_put_members_wchar_t.cc: Add. 
525         
526 2001-10-01  Hans-Peter Nilsson  <hp@axis.com>
527
528         * config/cpu/cris/bits/atomicity.h: Correct file header.
529
530 2001-09-29  Hans-Peter Nilsson  <hp@axis.com>
531
532         * configure.target (LIMITSH): Set for cris.
533         (cpu_include_dir): Set for cris-*-*.
534         * config/cpu/cris/bits/atomicity.h: New file.
535         * config/cpu/cris/bits/limits.h: New file.
536
537 2001-09-28  Benjamin Kosnik  <bkoz@redhat.com>
538
539         * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
540         (__timepunct::_M_put_helper): Add.
541         * config/locale/time_members_generic.h: Same.
542         * include/bits/locale_facets.h (__match_parallel): Remove. Format.
543         (__timepunct): Add data members.
544         (__timepunct::_M_days): Add.
545         (__timepunct::_M_days_abbreviated): Add.
546         (__timepunct::_M_months): Add.
547         (__timepunct::_M_months_abbreviated): Add.
548         (__timepunct::_M_initialize_timepunct): Add.
549         * include/bits/locale_facets.tcc: Same. 
550         * src/locale-inst.cc: Remove instantiations for __match_parallel.
551         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
552         * aclocal.m4: Regenerate.
553         * configure: Regenerate.
554         * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
555         * testsuite/22_locale/time_put_members_char.cc (test01): New file.
556         * testsuite/22_locale/time_get.cc: New file.
557
558 2001-09-28  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
559
560         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
561         correct multilib builddir.
562         Properly locate libgcc_s.
563
564 2001-09-27  Phil Edwards  <pme@gcc.gnu.org>
565
566         * include/std/*:  Add Doxygen hooks.
567         * docs/doxygen/Intro.3:  New file, general intro to the man pages.
568         * docs/doxygen/mainpage.doxy:  Formatting tweaks.  List our own links
569         rather than using a generated index.
570         * docs/doxygen/user.cfg.in:  Disable the index, enable man pages.
571         * docs/doxygen/run_doxygen:  Massage the generated man pages, using...
572         * docs/doxygen/stdheader.cc:  ...this new file.
573
574 2001-09-26  Stan Shebs  <shebs@apple.com>
575
576         * include/Makefile.am: Remove RCS Id strings.
577         * src/Makefile.am: Ditto.
578         * docs/doxygen/run_doxygen: Ditto.
579         * docs/html/configopts.html: Ditto.
580         * docs/html/documentation.html: Ditto.
581         * docs/html/explanations.html: Ditto.
582         * docs/html/install.html: Ditto.
583         * docs/html/17_intro/howto.html: Ditto.
584         * docs/html/18_support/howto.html: Ditto.
585         * docs/html/19_diagnostics/howto.html: Ditto.
586         * docs/html/20_util/howto.html: Ditto.
587         * docs/html/21_strings/howto.html: Ditto.
588         * docs/html/22_locale/howto.html: Ditto.
589         * docs/html/23_containers/howto.html: Ditto.
590         * docs/html/24_iterators/howto.html: Ditto.
591         * docs/html/25_algorithms/howto.html: Ditto.
592         * docs/html/26_numerics/howto.html: Ditto.
593         * docs/html/27_io/howto.html: Ditto.
594         * docs/html/ext/howto.html: Ditto.
595         * docs/html/ext/sgiexts.html: Ditto.
596         * docs/html/faq/index.html: Ditto.
597         * docs/html/faq/index.txt: Ditto.
598         
599 2001-09-25  Phil Edwards  <pme@gcc.gnu.org>
600
601         * testsuite/21_strings/c_strings.cc (test01, test02):  Increase
602         `carray' size.
603
604 2001-09-25  Phil Edwards  <pme@gcc.gnu.org>
605
606         * docs/html/20_util/howto.html:  Add anchor name.
607         * docs/html/23_containers/howto.html:  Line wrapping, another link.
608         * docs/html/25_algorithms/howto.html:  Another note.
609
610         * docs/html/ext/howto.html:  Link to SGI extensions.  List DRs and
611         link to them...
612         * docs/html/ext/lwg-active.html:  ...in this new file (from R19),
613         * docs/html/ext/lwg-defects.html:  and this new file (from R19).
614         * docs/html/ext/sgiexts.html:  New file.  Mention SGI extensions
615         carried over to libstdc++-v3.
616         * docs/html/faq/index.html:  Link to SGI extensions.  Mention the
617         "missing .." pseudobug.
618         * docs/html/faq/index.txt:  Regenerate.
619
620         * include/bits/ios_base.h:  DR-related comment cleanup.
621         * include/bits/istream.tcc:  Likewise.
622         * include/bits/locale_facets.h:  Likewise.
623         * include/bits/locale_facets.tcc:  Likewise.
624         * include/bits/ostream.tcc:  Likewise.
625         * include/bits/std_bitset.h:  Likewise.
626         * include/bits/std_iosfwd.h:  Likewise.
627         * include/bits/std_istream.h:  Likewise.
628         * include/bits/std_ostream.h:  Likewise.
629         * include/bits/std_streambuf.h:  Likewise.
630         * include/bits/stl_pair.h:  Likewise.
631         * include/bits/streambuf_iterator.h:  Likewise.
632
633         * include/bits/std_map.h:  Remove unused header inclusion guard
634         _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
635         * include/bits/std_set.h:  Likewise.
636
637         * include/bits/stl_function.h:  Doxygen markup.
638         * docs/doxygen/doxygroups.cc:  New file, specifying module grouping.
639         * libsupc++/typeinfo:  Doxygen markup tweak.
640
641 2001-09-20  Scott Johnston <scott@accom.com>
642             Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
643
644         * include/backward/alloc.h: Conditionally define malloc_alloc 
645         * testsuite/backward/header_deque_h.cc: New file.
646
647 2001-09-20  Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
648
649         * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put): 
650         change variable name so that it works with -fno-for-scope.
651
652 2001-09-20  Benjamin Kosnik  <bkoz@redhat.com>
653
654         * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
655         redundant sanity checks.
656         * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
657         (test02): Same.
658         * testsuite/22_locale/money_put_members_char.cc (test01): Same.
659         (test02): Same.
660         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
661         * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
662         * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
663         (test02): Same.
664         * testsuite/22_locale/money_get_members_char.cc (test01): Same.
665         (test02): Same.
666
667 2001-09-19  Benjamin Kosnik  <bkoz@redhat.com>
668
669         Implement std::time_put.
670         * include/bits/locale_facets.h: Include time_members.h.
671         (__timepunct): New.
672         (time_put): Implement.
673         * include/bits/locale_facets.tcc (do_put): Put generic versions here.
674         * include/bits/localefwd.h: Bump number of facets.
675         * config/locale/time_members_generic.h: New file.
676         * config/locale/time_members_gnu.h: New file.
677         * config/locale/c_locale_generic.h: Include clocale.
678         * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
679         * src/locale.cc: Add __timepunct initializations.
680         * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
681         * include/Makefile.am (stamp-target): Add time_members.h.
682         * include/Makefile.in: Regenerate.
683         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
684         * aclocal.m4: Regenerate.
685         * configure: Regenerate.
686         * testsuite/22_locale/time_put.cc: New file.
687         * testsuite/22_locale/time_put_members_char.cc: New file.
688
689         * docs/html/22_locale/locale.html: Add note.
690
691 2001-09-17  Phil Edwards  <pme@gcc.gnu.org>
692
693         * docs/html/configopts.html:  HTML to XHTML change.  Lowercase tags.
694         * docs/html/documentation.html:  Likewise.
695         * docs/html/explanations.html:  Likewise.
696         * docs/html/install.html:  Likewise.
697         * docs/html/17_intro/howto.html:  Likewise.
698         * docs/html/18_support/howto.html:  Likewise.
699         * docs/html/19_diagnostics/howto.html:  Likewise.
700         * docs/html/20_util/howto.html:  Likewise.
701         * docs/html/21_strings/howto.html:  Likewise.
702         * docs/html/22_locale/codecvt.html:  Likewise.
703         * docs/html/22_locale/ctype.html:  Likewise.
704         * docs/html/22_locale/howto.html:  Likewise.
705         * docs/html/22_locale/locale.html:  Likewise.
706         * docs/html/22_locale/messages.html:  Likewise.
707         * docs/html/23_containers/howto.html:  Likewise.
708         * docs/html/24_iterators/howto.html:  Likewise.
709         * docs/html/25_algorithms/howto.html:  Likewise.
710         * docs/html/26_numerics/howto.html:  Likewise.
711         * docs/html/27_io/howto.html:  Likewise.
712         * docs/html/ext/howto.html:  Likewise.
713         * docs/html/faq/index.html:  Likewise.
714         * docs/html/faq/index.txt:  Regenerated.
715
716 2001-09-14  Phil Edwards  <pme@sources.redhat.com>
717
718         * docs/html/17_intro/headers_cc.txt:  "Sync"/copy real file over.
719         * docs/html/17_intro/howto.html:  Spacing and HTML markup fixes.
720         * docs/html/18_support/howto.html:  It won't compile; it's not code.
721         * docs/html/19_diagnostics/howto.html:  Point diagram seekers to
722         doxygen'd pages.
723         * docs/html/22_locale/howto.html:  Comment for future work.
724         * docs/html/23_containers/howto.html:  More comments.
725         * docs/html/25_algorithms/howto.html:  It's a comment, not a
726         blunt command to the reader.  (English grammar.)
727
728 2001-09-14  Benjamin Kosnik  <bkoz@redhat.com>
729
730         * config/locale/moneypunct_members_gnu.cc: Fix initialization of
731         wchar_t members.
732         * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
733         * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
734
735 2001-09-14  Benjamin Kosnik  <bkoz@redhat.com>
736
737         * include/bits/locale_facets.tcc: Conditionalize use of strtold.
738
739 2001-09-13  Alexandre Petit-Bianco  <apbianco@redhat.com>
740
741         * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
742         * testsuite/22_locale/money_put_members_char.cc: Likewise.
743         * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
744
745 2001-09-13  Benjamin Kosnik  <bkoz@redhat.com>
746
747         Implement std::money_get.
748         * include/bits/locale_facets.tcc (money_get::do_get): Implement.
749         * include/bits/locale_facets.h (money_get): Correct signatures.
750         * testsuite/22_locale/money_get.cc: New file.
751         * testsuite/22_locale/money_get_members_char.cc: New file.
752
753         * include/bits/locale_facets.tcc (__verify_grouping): New
754         function. Consolidate num_get and money_get group checking into
755         one function.
756         (money_get): Use it.
757         * src/locale.cc (num_get::_M_extract): Use it.
758         * src/locale-inst.cc: Add instantiation.
759         
760 2001-09-12  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
761
762         * include/bits/std_limits.h (numeric_limits<float>::radix,
763         numeric_limits<float>::epsilon:  Fix thinko.
764
765 2001-09-10  Benjamin Kosnik  <bkoz@redhat.com>
766
767         * configure.in: Fix cross compiling math routines. Correct
768         comments for cross compiling and limits. Add floating point math
769         routines found in newlib.
770         * configure: Regenerate.
771         * acconfig.h: Add macros.
772         * config.h.in: Regenerate.
773         
774 2001-09-10  Benjamin Kosnik  <bkoz@redhat.com>
775
776         * config/locale/moneypunct_members_generic.cc
777         (money_base::_S_construct_pattern): Remove unused parameters.
778
779 2001-09-10  Benjamin Kosnik  <bkoz@redhat.com>
780
781         * include/Makefile.am (stamp-target): Remove link to self.
782         * inclulde/Makefile.in: Regenerate.
783         
784 2001-09-09  Benjamin Kosnik  <bkoz@redhat.com>
785
786         Implement std::money_put.
787         * include/bits/locale_facets.h
788         (moneypunct::_M_initialize_moneypunct): Split up specializations
789         to account for _Intl.  More grody hacking to get around the
790         ill-considered use of const bool as a template parameter.
791         * config/locale/moneypunct_members_gnu.cc: And here.
792         * config/locale/moneypunct_members_generic.cc: And here.        
793         * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
794         * testsuite/22_locale/moneypunct.cc: Add tests.
795         * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
796         * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
797         
798         * src/locale.cc (money_base::_S_construct_pattern): Move into
799         gnu-specific file.
800         * config/locale/moneypunct_members_gnu.cc: Add here.
801         * config/locale/moneypunct_members_generic.cc: Add generic version
802         here.
803
804         * include/bits/locale_facets.tcc (money_put::do_put): Move member
805         function definitions here.
806         * include/bits/locale_facets.h (money_put): Implement.
807         * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
808         Correct money_get, money_put instantiations.
809         * src/locale.cc (money_base::_S_construct_pattern): Handle case
810         where __posn == 0.
811         * testsuite/22_locale/money_put_members_char.cc: Add tests.
812         
813 2001-09-05  Phil Edwards  <pme@sources.redhat.com>
814
815         * testsuite_flags.in:  No longer need to search testsuite builddir.
816         * src/stl-inst.cc (__sink_unused_warning):  Unused, remove.
817         * Makefile.am:  The testsuite directory never needs to be made here.
818         * Makefile.in:  Regenerate.
819         * include/Makefile.in:  Regenerate.
820         * libio/Makefile.in:  Regenerate.
821         * libmath/Makefile.in:  Regenerate.
822         * libsupc++/Makefile.in:  Regenerate.
823         * po/Makefile.in:  Regenerate.
824         * src/Makefile.in:  Regenerate.
825         * testsuite/Makefile.in:  Regenerate.
826
827 2001-09-04  Scott Johnston  <scott@accom.com>
828             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
829
830         * include/backward/iterator.h: Include <bits/std_iterator.h>,
831         remove reverse_bidirectional_iterator. 
832         * testsuite/backward: New directory.
833         * testsuite/backward/header_iterator_h.cc: New file.
834         
835 2001-09-04  Benjamin Kosnik  <bkoz@redhat.com>
836
837         * include/c_std/bits/std_c*.h: Don't use include_next.
838
839 2001-09-03  Richard Sandiford  <rsandifo@redhat.com>
840
841         * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
842         tmp from _Unwind_Ptr to _Unwind_Word.
843
844 2001-08-31  Jason Merrill  <jason_merrill@redhat.com>
845
846         * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
847         leb128 handling.
848
849 2001-08-28  Loren J. Rittle  <ljrittle@acm.org>
850
851         * include/Makefile.am: Use toplevel_srcdir to refer to src files
852         outside this component.
853         * include/Makefile.in: Regenerate.
854
855 2001-08-27  Benjamin Kosnik  <bkoz@redhat.com>
856
857         * config/locale/c_locale_gnu.cc: Move facet info to separate files...
858         * config/locale/c_locale_generic.cc: Same.
859         * config/locale/moneypunct_members_gnu.cc: New file.
860         * config/locale/moneypunct_members_generic.cc: New file.        
861         * config/locale/numpunct_members_gnu.cc: New file.
862         * config/locale/numpunct_members_generic.cc: New file.  
863         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
864         options.
865         * aclocal.m4: Regenerate.
866         * configure: Regenerate.
867         * src/Makefile.am (sources): And here.
868         * src/Makefile.in: Regenerate.
869         
870         Rename for consistency with rest of testsuite.
871         * testsuite/22_locale/codecvt.cc: New file.
872         * testsuite/22_locale/money_put.cc: New file.
873         * testsuite/22_locale/money_put_members_char.cc: New file.
874         
875 2001-08-27  Phil Edwards  <pme@sources.redhat.com>
876
877         PR libstdc++/4143
878         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO):  Handle enable/disable
879         correctly for version-specific-runtime-libs.
880         * aclocal.m4:  Regenerate.
881         * configure:  Regenerate.
882
883 2001-08-24  Loren J. Rittle  <ljrittle@acm.org>
884
885         * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
886         define if not already provided by per-OS file.
887         * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
888         Define.
889
890 2001-08-24  Jan van Male <jan.vanmale@fenk.wau.nl>
891
892         * docs/html/17_intro/C++STYLE:  Fix typo.
893
894 2001-08-24  Phil Edwards  <pme@sources.redhat.com>
895
896         * docs/html/23_containers/howto.html:  Describe implementation of
897         insertion with hints.
898
899 2001-08-24  Kenny Simpson  <kenny.simpson@gs.com>
900
901         libstdc++/3740
902         * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
903
904 2001-08-24  Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
905             Phil Edwards  <pme@sources.redhat.com>
906
907         PR libstdc++/3349
908         * include/bits/stl_tree.h (insert_unique):  Revert last change.
909         Values inserted at begin() must be less, not greater, than *begin()'s.
910         * testsuite/23_containers/map_insert.cc:  New file.
911
912 2001-08-23  Benjamin Kosnik  <bkoz@redhat.com>
913
914         * config/locale/c_locale_gnu.cc: Minor tweaks.
915         (moneypunct<wchar_t>): Implement.
916         * include/bits/locale_facets.h: Same.
917         * testsuite/22_locale/moneypunct.cc: New file.
918         * testsuite/22_locale/moneypunct_byname.cc: New file.
919         * testsuite/22_locale/moneypunct_char_members.cc: New file.     
920
921 2001-08-23  David Edelsohn  <edelsohn@gnu.org>
922
923         * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
924         Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
925
926 2001-08-23  Jason Merrill  <jason_merrill@redhat.com>
927
928         * testsuite_flags.in (build-includes): Re-add backward.
929
930 2001-08-22  Benjamin Kosnik  <bkoz@redhat.com>
931
932         * testsuite/22_locale/collate_wchar_t_members.cc: Guard
933         with _GLIBCPP_USE_WCHAR_T.
934
935 2001-08-21  Benjamin Kosnik  <bkoz@redhat.com>
936
937         * testsuite/22_locale/collate_byname.cc (test01): Fix.
938
939 2001-08-18  Vladimir A Merzliakov  <wanderer@rsu.ru>
940
941         * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
942
943 2001-08-18  Benjamin Kosnik  <bkoz@redhat.com>
944
945         * testsuite/22_locale/operators.cc: Add test.
946         
947 2001-08-17  Benjamin Kosnik  <bkoz@redhat.com>
948
949         Implement std::collate. 
950         * config/locale/collate_specializations_gnu.cc: Add here, implement in
951         MT-safe way.
952         * config/locale/collate_specializations_generic.cc: Add here, but
953         in a less sophisticated manner.
954         * include/bits/locale_facets.tcc (collate): Add generic definition.
955         * include/bits/locale_facets.h (~collate): Mark virtual.
956         (collate::_M_compare_helper): New.
957         (collate::_M_transform_helper): New.
958         * src/locale.cc: Remove unnecessary specializations.
959         * src/string-inst.cc: Tweak instantiation of ctors.
960         
961         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
962         * aclocal.m4: Regenerate.
963         * configure: Regenerate.
964         * src/Makefile.am (sources): Add collate.cc.
965         * src/Makefile.in: Regenerate.
966         
967         * testsuite/22_locale/collate_byname.cc: New.
968         * testsuite/22_locale/collate.cc: New file.
969         * testsuite/22_locale/collate_char_members.cc: New file.
970         * testsuite/22_locale/collate_wchar_t_members.cc: New file.     
971         
972 2001-08-16  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
973
974         * configure.target: Set LIMITSH for powerpc-*-*.
975         * config/cpu/powerpc/bits/limits.h: New file.
976
977 2001-08-16  Marc Espie <espie@openbsd.org>
978
979         * configure.in:  Check for <sys/types.h>.
980         * configure:  Rebuild.
981         * config.h.in:  Rebuild.
982         * libmath/mathconf.h:  Include <sys/types.h> prior to
983         <machine/endian.h> if available.
984
985 2001-08-15  Andreas Schwab  <schwab@suse.de>
986
987         * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
988         m68k and m680[246]0.
989         * config/cpu/m68k/bits/atomicity.h: New file.
990
991         * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
992         Define appropriate long double limits for m68k extended floating
993         point.
994         (__glibcpp_f32_digits10): Corrected, off by one.
995         (__glibcpp_f80_digits10): Likewise.
996         (__glibcpp_f128_digits10): Likewise.
997         * config/os/gnu-linux/bits/os_defines.h
998         (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
999
1000 2001-08-15  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1001
1002         * testsuite/18_support/numeric_limits.cc: Add more tests.
1003         * include/bits/std_limits.h (numeric_limits<char>::max): Fix
1004         typo. 
1005
1006 2001-08-14  Ulrich Weigand  <uweigand@de.ibm.com>
1007  
1008         * configure.target (cpu_include_dir): Set to `config/cpu/s390'
1009         for s390 and s390x.
1010  
1011         * config/cpu/s390/bits/atomicity.h: New.
1012
1013 2001-08-14  Gabriel Dos Reis  <gdr@codesourcery.com>
1014
1015         * include/bits/std_limits.h: Fix thinko.
1016
1017 2001-08-14  Benjamin Kosnik  <bkoz@redhat.com>
1018
1019         * include/Makefile.am: Consolidate target rules. Don't clean stamp
1020         files. Tweak target build directory stamp.
1021         * include/Makefile.in: Regenerate.
1022         
1023 2001-08-14  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1024
1025         * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
1026         _GBLICPP_HAVE_LOGL with HAVE_LOGL
1027
1028 2001-08-13  Benjamin Kosnik  <bkoz@redhat.com>
1029
1030         * configure.in (libtool_VERSION): Add.
1031         (VERSION): Change to 
1032         (release_VERSION): This.
1033         * configure: Regenerate.        
1034         * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
1035         libtool_VERSION.
1036         * src/Makefile.in: Regenerate.
1037
1038         * intl/Makefile.am: Remove.
1039         * intl/Makefile.in: Remove.
1040         * intl: Remove.
1041         * Makefile.am (SUBDIRS): Remove intl.
1042         * po/Makefile.am (DISTFILES): Add string_literals.cc
1043         (MSGFMT): Add.
1044         * po/string_literals.cc: Add.
1045         * po/POTFILES.in: Fix path.
1046         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT. 
1047         * aclocal.m4: Regenerate.
1048         * configure.in: Remove AC_OUTPUT of intl/Makefile.
1049         
1050         * include/backward/backward_warning.h: Clarify message.
1051
1052         * testsuite_flags.in (--cxxflags): Use same debug flags for
1053         library and testsuite.
1054
1055         * include/Makefile.am (c_compatibility): Remove.
1056         * include/Makefile.in: Regenerate.
1057         
1058 2001-08-13  Mark Mitchell  <mark@codesourcery.com>
1059
1060         * configure.in (LIMITS_INC_SRCDIR): New variable.
1061         * configure.target (LIMITSH): New variable.
1062         * porting.texi: Discuss numeric limits.
1063         * config/cpu/generic/bits/limits.h: New file.
1064         * config/cpu/i386/bits/limits.h: New file.
1065         * include/Makefile.am: Install bits/limits.h.
1066         * include/bits/c++config: Include bits/limits.h.
1067
1068 2001-08-13  H.J. Lu  (hjl@gnu.org)
1069
1070         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
1071         New. Copy files.
1072         (libstdc++-v3-init ): Use it.
1073
1074 2001-08-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1075
1076         * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
1077         to '__adjust' to avoid shadowing in nested scope.
1078
1079 2001-08-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1080
1081         * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
1082         __CHAR_UNSIGNED__.
1083
1084         * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
1085         Likewise. 
1086         * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed): 
1087         Remove.
1088
1089 2001-08-10  Loren J. Rittle  <ljrittle@acm.org>
1090
1091         * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
1092         dummy default argument to the non-limit implementation.
1093
1094         bootstrap/3963
1095         * include/Makefile.am: Use relative file path in rule to allow
1096         colon in $(objdir).
1097         * include/Makefile.in: Rebuilt.
1098
1099 2001-08-10  Gunter Winkler  <gunter.winkler@mathematik.tu-chemnitz.de>
1100
1101         * include/bits/std_complex.h (complex<long double>::operator*=,
1102         complex<long double>::operator/=): Fix thinko.
1103
1104 2001-08-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1105
1106         * include/bits/std_limits.h: New file.
1107         * include/Makefile.am (bits_headers): Add std_limits.h
1108         (all-local): std_limits.h is no longer built.
1109         (${target_builddir}/std_limits.h): Remove.
1110         * include/Makefile.in: Regenerate.
1111         * src/limits.cc: New file.
1112         * src/Makefile.am (sources): Add limits.cc in replacement of
1113         limitsMEMBERS.cc.
1114         * src/Makefile.in: Regenerate.
1115
1116 2001-08-09  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1117
1118         * src/gen-num-limits.cc (digits10): Fix thinko.
1119
1120 2001-08-09  Benjamin Kosnik  <bkoz@redhat.com>
1121
1122         * po/Makefile.am (check-no): Add.
1123         (check-yes): Same.
1124         * po/Makefile.in: Regenerate.
1125         
1126 2001-08-09  Benjamin Kosnik  <bkoz@redhat.com>
1127
1128         * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
1129         * config.h.in: Regenerate.
1130         * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
1131         function.
1132         * aclocal.m4: Regenerate.
1133         * configure.in: Remove duplicate AM_CONFIG_HEADER.
1134         (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
1135         Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
1136         * configure: Regenerate.
1137         * testsuite_hooks.h.in: Move to...
1138         * testsuite_hooks.h: Here, include c++config.h. Use it.
1139         
1140         * Makefile.am (SUBDIRS): Move testsuite to last directory.
1141         * Makefile.in: Regenerate.
1142         * po/Makefile.am (stamp-po): Add.
1143
1144 2001-08-09  David Edelsohn  <edelsohn@gnu.org>
1145
1146         * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
1147         * config/os/generic/bits/os_defines.h: Likewise.
1148         * config/os/gnu-linux/bits/os_defines.h: Likewise.
1149         * config/os/hpux/bits/os_defines.h: Likewise.
1150         * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
1151         * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
1152
1153 2001-08-08  Benjamin Kosnik  <bkoz@redhat.com>
1154
1155         * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
1156         -version-info, use substituted VERSION info.
1157         * src/Makefile.in: Regenerate.
1158         
1159 2001-08-07  Benjamin Kosnik  <bkoz@redhat.com>
1160
1161         Implement std::messages.
1162         Make config a fully-nested directory.
1163         * config/locale: New directory.
1164         * config/c_locale_generic.cc: Move into locale subdirectory.
1165         * config/c_locale_generic.h: Same.
1166         * config/c_locale_gnu.cc: Same.
1167         * config/c_locale_gnu.h: Same.
1168         * config/c_locale_ieee_1003.1-200x.cc: Same.
1169         * config/c_locale_ieee_1003.1-200x_.h: Same.
1170         * config/codecvt_specializations_generic.h: Same.
1171         * config/codecvt_specializations_ieee_1003.1-200x.h: Same.      
1172         * config/messages_members_gnu.h: Same.
1173         * config/messaages_members_gnu.cc: Same.
1174         * config/messages_members_generic.h: Same.
1175         * config/messaages_members_generic.cc: Same.
1176         * config/messages_members_ieee_1003.1-200x.h: Same.
1177         * config/messaages_members_ieee_1003.1-200x.cc: Same.
1178         * config/io: New directory.
1179         * config/basic_file_libio.h: Move into io subdirectory. 
1180         * config/basic_file_libio.cc: Same.
1181         * config/c_io_libio.h: Same.
1182         * config/c_io_libio_codecvt.c: Same.    
1183         * config/basic_file_stdio.h: Same.
1184         * config/basic_file_stdio.cc: Same.
1185         * config/c_io_stdio.h: Same.
1186         
1187         * po: New directory.
1188         * po/POTFILES.in: New file.
1189         * po/Makefile.am: New file.
1190         * po/Makefile.in: New file.     
1191         * po/libstdc++.pot: Generic translation file.
1192         * po/fr.po: Preliminary French translation.
1193         * po/de.po: Preliminary German translation.
1194         * intl: New directory.
1195         * intl/Makefile.am: New file.
1196         * intl/Makefile.in: New file.   
1197         * intl/string_literals.cc: New file.
1198         * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
1199         requisite setup for gettext. Re-arrange.
1200         * aclocal.m4: Regenerate.
1201         * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
1202         Output Makefile bits for po and intl.
1203         * configure: Regenerate.
1204         * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
1205         * Makefile.in: Regenerate.
1206         * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
1207         * config.h.in: Regenerate.
1208
1209         * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
1210         
1211         * include/Makefile.am (install-data-local): Don't install Makefile.
1212         * include/Makefile.in: Regenerate.
1213         
1214         * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
1215         Add member.
1216         * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
1217         * config/locale/c_locale_generic.cc: Same.
1218         * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
1219
1220         * include/bits/codecvt.h: Excise non-standard, non-required
1221         bits. This includes __enc_traits, and partial specializations of
1222         codecvt for __enc_traits.
1223         * src/codecvt.cc (__enc_traits::_S_max_size): Guard 
1224         * config/codecvt_partials_ieee_1003.1-200x.h: New file. 
1225         * config/codecvt_partials_generic.h: New file.          
1226         * include/Makefile.am (allstamps): Add stamp-codecvt_model.
1227         (stamp-codecvt_model): Add.
1228         * include/Makefile.in: Regenerate.
1229         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
1230         * aclocal.m4: Regenerate.
1231         * configure: Regenerate.
1232         * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
1233         * testsuite/22_locale/codecvt_unicode_char.cc: Same.
1234         * testsuite/22_locale/ctor_copy_dtor.cc: And here.
1235         
1236         * include/bits/localefwd.h (class locale::facet): Add __enc_traits
1237         as a friend for _S_*_c_locale functions.
1238         * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
1239         argument to default constructor so that CODESET information can be
1240         deduced.
1241         * include/bits/locale_facets.h (messages_byname):
1242         Re-implement. Remove specializations.
1243         * src/locale.cc (messages_byname<char>): Remove specialization.
1244         (messages_byname<wchar_t>): Same.
1245         * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
1246         * config/locale/c_locale_ieee_1003.1-200x.h: New file.  
1247         * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
1248         * config/locale/messages_members_ieee_1003.1-200x.h: New file.  
1249         * config/locale/messages_members_gnu.cc: New file.
1250         * config/locale/messages_members_gnu.h: New file.       
1251         * config/locale/messages_members_generic.cc: New file.
1252         * config/locale/messages_members_generic.h: New file.   
1253         
1254         * docs/html/configopts.html: Add documentation for new locale
1255         model, ieee_1003.1. Adjust other flags for current defaults.
1256         * docs/html/22_locale/locale.html: Update.
1257         * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
1258         * docs/html/22_locale/messages.html: New.
1259
1260         * src/Makefile.am (sources): Add messages_virtuals.cc.
1261         * src/Makefile.in: Regenerate.
1262         * include/Makefile.am (allstamps): Add stamp-messages_model.
1263         (stamp-messages_model): Add.
1264         * include/Makefile.in: Regenerate.
1265         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
1266         * aclocal.m4: Regenerate.
1267         * configure: Regenerate.
1268
1269         * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
1270         * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
1271         bits for Irix. 
1272         * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
1273         build directories message catalog base directory, and export.
1274         Eventually this should probably be made to deal with build and
1275         install directories. For now, punt on this as the library itself
1276         doesn't use message catalogs (yet).
1277         * testsuite/22_locale/messages.cc: New file.
1278         * testsuite/22_locale/messages_char_members.cc: New file.
1279         * testsuite/22_locale/messages_byname.cc: New file.
1280
1281 2001-08-06  Phil Edwards  <pme@sources.redhat.com>
1282
1283         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE):  New macro, calls...
1284         (GLIBCPP_CHECK_SETRLIMIT):  ...this new macro, which also uses...
1285         (GLIBCPP_CHECK_SETRLIMIT_ancilliary):  ...this new macro.
1286         * configure.in (AM_CONFIG_HEADER):  Also generate testsuite_hooks.h.
1287         Call GLIBCPP_CONFIGURE_TESTSUITE.
1288         * aclocal.m4:  Regenerate.
1289         * config.h.in:  Regenerate.
1290         * configure:  Regenerate.
1291
1292         * testsuite/lib/libstdc++-v3-dg.exp:  Download new header instead
1293         of old header.
1294
1295         * testsuite_flags.in:  Add build dir's testsuite to INCLUDES.
1296         * testsuite/debug_assert.h:  Removed; contents merged into...
1297         * testsuite/testsuite_hooks.h.in:  ...here.  New file.
1298         * testsuite/17_intro/header_ciso646.cc:  No longer include
1299         debug_assert.h, include testsuite_hooks.h instead.
1300         * testsuite/17_intro/header_fstream.cc:  Likewise.
1301         * testsuite/17_intro/header_iomanip.cc:  Likewise.
1302         * testsuite/17_intro/header_ios.cc:  Likewise.
1303         * testsuite/17_intro/header_iosfwd.cc:  Likewise.
1304         * testsuite/17_intro/header_iostream.cc:  Likewise.
1305         * testsuite/17_intro/header_istream.cc:  Likewise.
1306         * testsuite/17_intro/header_ostream.cc:  Likewise.
1307         * testsuite/17_intro/header_sstream.cc:  Likewise.
1308         * testsuite/17_intro/header_streambuf.cc:  Likewise.
1309         * testsuite/18_support/numeric_limits.cc:  Likewise.
1310         * testsuite/19_diagnostics/stdexceptions.cc:  Likewise.
1311         * testsuite/20_util/allocator_members.cc:  Likewise.
1312         * testsuite/20_util/auto_ptr.cc:  Likewise.
1313         * testsuite/20_util/pairs.cc:  Likewise.
1314         * testsuite/21_strings/append.cc:  Likewise.
1315         * testsuite/21_strings/capacity.cc:  Likewise.
1316         * testsuite/21_strings/char_traits_requirements.cc:  Likewise.
1317         * testsuite/21_strings/compare.cc:  Likewise.
1318         * testsuite/21_strings/ctor_copy_dtor.cc:  Likewise.  Also set up
1319         call to (disabled) __set_testsuite_memlimit() wrapper.
1320         * testsuite/21_strings/element_access.cc:  Likewise.
1321         * testsuite/21_strings/find.cc:  Likewise.
1322         * testsuite/21_strings/insert.cc:  Likewise.  Also set up call to
1323         (disabled) __set_testsuite_memlimit() wrapper.
1324         * testsuite/21_strings/inserters_extractors.cc:  Likewise.
1325         * testsuite/21_strings/invariants.cc:  Likewise.
1326         * testsuite/21_strings/nonmember.cc:  Likewise.
1327         * testsuite/21_strings/operations.cc:  Likewise.
1328         * testsuite/21_strings/replace.cc:  Likewise.
1329         * testsuite/21_strings/rfind.cc:  Likewise.
1330         * testsuite/21_strings/substr.cc:  Likewise.
1331         * testsuite/22_locale/codecvt_char_char.cc:  Likewise.
1332         * testsuite/22_locale/codecvt_unicode_char.cc:  Likewise.
1333         * testsuite/22_locale/codecvt_unicode_wchar_t.cc:  Likewise.
1334         * testsuite/22_locale/codecvt_wchar_t_char.cc:  Likewise.
1335         * testsuite/22_locale/ctor_copy_dtor.cc:  Likewise.
1336         * testsuite/22_locale/ctype_char_members.cc:  Likewise.
1337         * testsuite/22_locale/ctype_wchar_t_members.cc:  Likewise.
1338         * testsuite/22_locale/facet.cc:  Likewise.
1339         * testsuite/22_locale/global_templates.cc:  Likewise.
1340         * testsuite/22_locale/members.cc:  Likewise.
1341         * testsuite/22_locale/numpunct_byname.cc:  Likewise.
1342         * testsuite/22_locale/numpunct_char_members.cc:  Likewise.
1343         * testsuite/22_locale/operators.cc:  Likewise.
1344         * testsuite/22_locale/static_members.cc:  Likewise.
1345         * testsuite/23_containers/bitset_ctor.cc:  Likewise.
1346         * testsuite/23_containers/bitset_members.cc:  Likewise.
1347         * testsuite/23_containers/bitset_shift.cc:  Likewise.
1348         * testsuite/23_containers/vector_capacity.cc:  Likewise.
1349         * testsuite/23_containers/vector_ctor.cc:  Likewise.
1350         * testsuite/23_containers/vector_element_access.cc:  Likewise.
1351         * testsuite/23_containers/vector_modifiers.cc:  Likewise.
1352         * testsuite/24_iterators/istreambuf_iterator.cc:  Likewise.
1353         * testsuite/24_iterators/iterator.cc:  Likewise.
1354         * testsuite/24_iterators/ostreambuf_iterator.cc:  Likewise.
1355         * testsuite/25_algorithms/binary_search.cc:  Likewise.
1356         * testsuite/25_algorithms/copy.cc:  Likewise.
1357         * testsuite/25_algorithms/heap.cc:  Likewise.
1358         * testsuite/25_algorithms/lower_bound.cc:  Likewise.
1359         * testsuite/25_algorithms/min_max.cc:  Likewise.
1360         * testsuite/25_algorithms/partition.cc:  Likewise.
1361         * testsuite/25_algorithms/rotate.cc:  Likewise.
1362         * testsuite/25_algorithms/sort.cc:  Likewise.
1363         * testsuite/26_numerics/c_math.cc:  Likewise.
1364         * testsuite/26_numerics/complex_inserters_extractors.cc:  Likewise.
1365         * testsuite/26_numerics/complex_value.cc:  Likewise.
1366         * testsuite/27_io/filebuf.cc:  Likewise.
1367         * testsuite/27_io/filebuf_members.cc:  Likewise.
1368         * testsuite/27_io/filebuf_virtuals.cc:  Likewise.
1369         * testsuite/27_io/fpos.cc:  Likewise.
1370         * testsuite/27_io/fstream_members.cc:  Likewise.
1371         * testsuite/27_io/ifstream_members.cc:  Likewise.
1372         * testsuite/27_io/ios_base_callbacks.cc:  Likewise.
1373         * testsuite/27_io/ios_base_members_static.cc:  Likewise.
1374         * testsuite/27_io/ios_base_storage.cc:  Likewise.
1375         * testsuite/27_io/ios_ctor.cc:  Likewise.
1376         * testsuite/27_io/ios_init.cc:  Likewise.
1377         * testsuite/27_io/ios_manip_basefield.cc:  Likewise.
1378         * testsuite/27_io/ios_manip_fmtflags.cc:  Likewise.
1379         * testsuite/27_io/ios_members.cc:  Likewise.
1380         * testsuite/27_io/istream_extractor_arith.cc:  Likewise.
1381         * testsuite/27_io/istream_extractor_char.cc:  Likewise.
1382         * testsuite/27_io/istream_extractor_other.cc:  Likewise.
1383         * testsuite/27_io/istream_manip.cc:  Likewise.
1384         * testsuite/27_io/istream_seeks.cc:  Likewise.
1385         * testsuite/27_io/istream_sentry.cc:  Likewise.
1386         * testsuite/27_io/istream_unformatted.cc:  Likewise.
1387         * testsuite/27_io/istringstream_members.cc:  Likewise.
1388         * testsuite/27_io/narrow_stream_objects.cc:  Likewise.
1389         * testsuite/27_io/ofstream_members.cc:  Likewise.
1390         * testsuite/27_io/ostream_inserter_arith.cc:  Likewise.
1391         * testsuite/27_io/ostream_inserter_char.cc:  Likewise.
1392         * testsuite/27_io/ostream_inserter_other.cc:  Likewise.
1393         * testsuite/27_io/ostream_manip.cc:  Likewise.
1394         * testsuite/27_io/ostream_seeks.cc:  Likewise.
1395         * testsuite/27_io/ostream_unformatted.cc:  Likewise.
1396         * testsuite/27_io/ostringstream_members.cc:  Likewise.
1397         * testsuite/27_io/streambuf.cc:  Likewise.
1398         * testsuite/27_io/stringbuf.cc:  Likewise.
1399         * testsuite/27_io/stringbuf_virtuals.cc:  Likewise.
1400         * testsuite/27_io/stringstream.cc:  Likewise.
1401         * testsuite/27_io/stringstream_members.cc:  Likewise.
1402         * testsuite/27_io/wide_stream_objects.cc:  Likewise.
1403
1404 2001-07-31  Loren J. Rittle  <ljrittle@acm.org>
1405
1406         * src/gen-num-limits.cc:  Use __LONG_LONG_MAX__.
1407
1408 2001-07-30  Benjamin Kosnik  <bkoz@redhat.com>
1409
1410         * configure.target: Remove mips from cpu table.
1411         * config/cpu/mips/bits/atomicity.h: Remove generic
1412         versions. Comment sgidefs include.
1413         
1414 2001-07-25  H.J. Lu <hjl@gnu.org>
1415
1416         * configure.target (cpu_include_dir): Set to `config/cpu/mips'
1417         for mips.
1418
1419         * config/cpu/mips/bits/atomicity.h: New.
1420
1421 2001-07-25  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1422
1423         * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
1424         hypotl, atan2f, atan2l.  Remove from REPLACE_MATHFUNCS list.
1425         * aclocal.m4: Regenerate.
1426         * config.h.in: Likewise.
1427         * configure: Likewise.
1428         * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
1429         (EXTRA_DIST): Remove hypot.c hypotf.c.
1430         * libmath/Makefile.am: Regenerate.
1431         * libmath/hypotf.c: Remove.
1432         * libmath/hypot.c: Likewise.
1433         * libmath/hypotl.c: Likewise.
1434         * libmath/stubs.c: The macros seen here are HAVE_xxx, not
1435         _GLIBCPP_HAVE_xxx.  Add long double versions.
1436
1437 2001-07-23  David Edelsohn  <edelsohn@gnu.org>
1438
1439         * include/bits/limits_generic.h (int): Set digits and digits10
1440         appropriately for word size.
1441         (unsigned int,long,unsigned long): Likewise.
1442
1443 2001-07-19  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1444
1445         * include/bits/stl_algo.h : Fix typos.
1446         * testsuite/25_algorithms/unique.cc: New file.
1447         
1448 2001-07-19  Phil Edwards  <pme@sources.redhat.com>
1449             Mark Mitchell <mark@codesourcery.com>
1450
1451         Merge from cp-parser-branch.
1452         * include/bits/basic_string.h:  Qualify symbols with 'template'.
1453         * include/bits/basic_string.tcc:  Likewise.
1454         * include/bits/fstream.tcc:  Likewise.
1455         * include/bits/istream.tcc:  Likewise.
1456         * include/bits/sstream.tcc:  Likewise.
1457         * include/bits/std_istream.h:  Likewise.
1458         * include/bits/stl_iterator.h:  Likewise.
1459         * include/bits/streambuf.tcc:  Likewise.
1460         * src/gen-num-limits.cc:  Add 'template<>' to specializations.
1461         * src/locale.cc:  Likewise.
1462
1463 2001-07-19  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1464             Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
1465
1466         * src/gen-num-limits.cc (set_signals_handler): New function.
1467         Factor out signals setting.  Set signal handler for SIGILL.
1468
1469 2001-07-18  Phil Edwards  <pme@sources.redhat.com>
1470
1471         * docs/html/27_io/howto.html:  Fix typo.
1472         * docs/html/faq/index.html:  Minor updates for 3.0 all around.
1473         * docs/html/faq/index.txt:  Regenerated.
1474
1475 2001-07-18  Stephen M. Webb  <stephen@bregmasoft..com>
1476             Roman Sulzhyk  <roman_sulzhyk@yahoo.com>
1477
1478         libstdc++/3599
1479         * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
1480         * testsuite/27_io/streambuf.cc (test07): Added new regression test.
1481
1482 2001-07-17  Stephen M. Webb   <stephen@bregmasoft.com>r
1483
1484         All occurrences of the __value_type() and __distance_type()
1485         functions, which were required to support the HP STL, have been
1486         removed along with all the auxiliary forwarding functions that
1487         were required to support their use.
1488
1489         The __iterator_category() function was pretty much left alone
1490         because there was no benefit to removing it and its use made code
1491         just a little more readable.
1492
1493         Incidences of distance() with nonstandard argument list were
1494         replaced by calls to the standard function (only in the files
1495         affected by the removal of the other HP functions).
1496
1497         The signature of the rotate() algorithm was changed to match the
1498         standard.
1499
1500         Headers were reformatted under C++STYLE guidelines (indentation,
1501         linebreaks, typename keyword).
1502
1503         * include/bits/stl_algo.h: replaced __value_type() and
1504         __distance_type() with iterator_traits, eliminated auxiliary
1505         support functions required to support said function usage.
1506         Changed nonstandard distance() call to standard call.
1507
1508         * include/bits/stl_algobase.h: Same.
1509         * include/bits/stl_heap.h: Same.
1510         * include/bits/stl_numeric.h: Same.
1511         * include/bits/stl_uninitialized.h: Same.
1512         * include/bits/stl_iterator_base_types.h (__value_type()):
1513         Removed.
1514         (__distance_type()): Removed.
1515         (value_type()): Gone.
1516         (distance_type()): Done in.
1517         (iterator_category()): Hasta la vista, baby.
1518
1519         * include/bits/stl_iterator_base_funcs.h (iterator_category()):
1520         Replaced with __iterator_category().
1521         * include/backward/iterator.h: moved definition of value_type(),
1522         distance_type(), and iterator_category() out of std:: and into
1523         here.
1524         * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
1525         * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
1526         * testsuite/25_algorithms/rotate.cc: New testcase.
1527         * testsuite/25_algorithms/copy.cc: New testcase.
1528         * testsuite/25_algorithms/sort.cc: Same.
1529         * testsuite/25_algorithms/heap.cc: Same.
1530         * testsuite/25_algorithms/partition.cc: Same.
1531         * testsuite/25_algorithms/binary_search.cc: Same.
1532         * testsuite/26_numerics/sum_diff.cc: Ditto.
1533
1534 001-07-17  Benjamin Kosnik  <bkoz@redhat.com>
1535
1536         * testsuite/README: Add notes on naming test cases.
1537         * testsuite/22_locale/members.cc: Mark as xfail.
1538         * testsuite/22_locale/numpunct_char_members.cc: Same.
1539
1540 2001-07-16  Stephen M. Webb  <stephen@bregmasoft.com>
1541
1542         * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS):  Use glibcpp_srcdir when
1543         setting C_INCLUDE_DIR.
1544         * configure.in:  Revert yesterday's LN_S change.
1545         * aclocal.m4:  Regenerate.
1546         * configure:  Regenerate.
1547
1548 2001-07-15  Phil Edwards  <pme@sources.redhat.com>
1549
1550         * configure.in:  Temporarily force LN_S to copy instead of symlink.
1551         * configure:  Regenerate.
1552
1553 2001-07-13  Phil Edwards  <pme@sources.redhat.com>
1554
1555         * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
1556         Initialize _M_string with pointer-and-size constructor, not just
1557         pointer.  Fix some comments.
1558         * testsuite/21_strings/ctor_copy_dtor.cc (test03):  New test.
1559         * testsuite/27_io/stringbuf.cc (test02):  Remove unused variable.
1560         (test03):  Add embedded-NUL tests.
1561
1562         * mkcheck.in:  When printing totals, match the order of the tests.
1563         * include/bits/stringfwd.h:  Use same declaration keywords.
1564         * include/bits/std_iosfwd.h:  Cosmetic spacing.
1565
1566 2001-07-13  Stephen M. Webb  <stephen@bregmasoft.com>
1567             Loren J. Rittle  <ljrittle@acm.org>
1568             Phil Edwards  <pme@sources.redhat.com>
1569
1570         * include/Makefile.am:  New file encapsulating header generation rules.
1571         * Makefile.am (SUBDIRS):  Prepend 'include' directory.
1572         * acinclude.m4:  Moved/removed rules for building various headers.
1573         * configure.in (AC_OUTPUT):  Add include/Makefile.
1574         * mkc++config:  Removed.
1575
1576         * testsuite_flags.in:  Changed build-includes to match new scheme.
1577         * mknumeric_limits:  Likewise.
1578         * libio/Makefile.am:  Changed INCLUDES to maatch new header scheme.
1579         * libmath/Makefile.am:  Likewise.
1580         * libsupc++/Makefile.am:  Likewise.
1581         * src/Makefile.am:  Likewise; removed rules to build headers.
1582         * libmath/mathconf.h:  Changed #include'd header names to match.
1583         * libmath/stubs.c:  Likewise.
1584         * src/gen-num-limits.cc:  Likewise.
1585
1586         * configure:  Regenerated.
1587         * config.h.in:  Regenerated.
1588         * aclocal.m4:  Regenerated.
1589         * Makefile.in:  Regenerated.
1590         * include/Makefile.in:  Regenerated.
1591         * libio/Makefile.in:  Regenerated.
1592         * libmath/Makefile.in:  Regenerated.
1593         * libsupc++/Makefile.in:  Regenerated.
1594         * src/Makefile.in:  Regenerated.
1595         * testsuite/Makefile.in:  Regenerated.
1596
1597 2001-07-11   Felix Natter  <fnatter@gmx.net>
1598
1599         * docs/html/17_intro/porting-howto.xml:  Initial checkin of
1600         master copy.
1601         * docs/html/17_intro/porting-howto.html:  check in v0.9.3
1602
1603 2001-07-11  Phil Edwards  <pme@sources.redhat.com>
1604
1605         * docs/doxygen/run_doxygen:  Don't keep output from previous run.
1606         * docs/doxygen/user.cfg.in:  Tweaks.
1607         * include/bits/c++config:  Documentation comments for Doxygen.
1608         * include/bits/char_traits.h:  Likewise.
1609         * include/bits/limits_generic.h:  Likewise.
1610         * include/bits/std_stdexcept.h:  Likewise.
1611         * include/bits/stl_pair.h:  Likewise.
1612         * libsupc++/exception:  Likewise.
1613         * libsupc++/new:  Likewise.
1614         * libsupc++/typeinfo:  Likewise.
1615         * libmath/Makefile.am:  Update and correct copyright.
1616
1617 2001-07-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1618
1619         * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
1620         * aclocal.m4: Regenerate.
1621         * configure: Same.
1622
1623 2001-07-09  Phil Edwards  <pme@sources.redhat.com>
1624
1625         * docs/html/configopts.html:  Fix thinko.
1626         * docs/html/27_io/howto.html:  Fix thinko and HTML markup.
1627         * include/bits/stl_iterator.h:  Fix typo.
1628
1629 2001-07-09  Phil Edwards  <pme@sources.redhat.com>
1630
1631         * docs/html/explanations.html:  New file.
1632         * docs/html/configopts.html:  Link to it to provide more notes
1633         on cstdio.  Minor markup and spacing fixes.
1634         * docs/html/27_io/howto.html:  Talk about sync_with_stdio.
1635
1636 2001-07-09  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
1637
1638         * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
1639         for _Expr template template argument.
1640         (_Expr::operator-): Likewise.
1641         (_Expr::operator~): Likewise.
1642         (_Expr::operator!): Likewise.
1643         (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
1644
1645 2001-07-06  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1646
1647         * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
1648         * libmath/Makefile.in: Regenerate.
1649         * libmath/expf.c: Remove.
1650         * libmath/atan2f.c: Likewise.
1651
1652 2001-07-06  Daniel Jacobowitz  <drow@mvista.com>
1653
1654         * configure.in: Remove NATIVE, NULL_TARGET.
1655         Set CANADIAN only for Canadian crosses.  Set xcompiling
1656         for both Canadian crosses and host-x-host crosses.
1657         * configure: Regenerated.
1658
1659 2001-07-06  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1660
1661         * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
1662
1663 2001-07-05  Jason Merrill  <jason_merrill@redhat.com>
1664
1665         * testsuite_flags.in (--build-includes): backward, not backwards.
1666
1667 2001-07-04  Jeffrey Oldham  <oldham@codesourcery.com>
1668
1669         * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
1670         Replace destroy by _Destroy.
1671         (_Rope_RopeRep::_S_free_string): Likewise.
1672         (rope::c_str()): Likewise.
1673         * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
1674         (_Slist_base::_M_erase_after): Likewise.
1675         (slist::_M_create_node): Replace construct by _Construct.
1676         (slist::pop_front): Replace destroy by _Destroy.
1677         * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
1678         construct by _Construct.
1679         (hashtable::_M_delete_node): Replace destroy by _Destroy.
1680         * include/ext/stl_rope.h (rope::rope): Replace construct by
1681         _Construct.
1682         (rope::copy): Replace destroy by _Destroy.
1683
1684 2001-07-03  Benjamin Kosnik  <bkoz@redhat.com>
1685
1686         * include/bits/localefwd.h: Format.     
1687         * include/bits/locale_facts.tcc (locale::combine): Adjust.
1688         * src/locale.cc (locale::locale::(_Impl)): Don't call
1689         _M_add_reference.
1690         (locale::facet::_M_remove_reference): Simplify.
1691         * src/globals.cc (locale_impl_c): New. Format.
1692         (locale_c): New.
1693         * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
1694
1695 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
1696
1697         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
1698         expansion (thanks to Alexandre Oliva).
1699         * aclocal.m4: Regenerate.
1700         * configure: Regenerate.
1701
1702 2001-07-02  Benjamin Kosnik  <bkoz@redhat.com>
1703         
1704         * src/locale.cc (locale::locale(const char*)): Make sure global
1705         locales are initialized.
1706         * include/bits/locale_facets.tcc (locale::combine): Refcout should
1707         be zero, not one as it's return-by-value.
1708         * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
1709         named locales here.
1710         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
1711         for it here.
1712         (test02): Add test.
1713         * libsupc++/eh_alloc.cc: Use climits, not limits.h.
1714
1715 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
1716
1717         libstdc++/3284
1718         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
1719         * aclocal.m4: Regenerate.
1720         * configure: Regenerate.
1721         
1722 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
1723
1724         libstdc++/3243
1725         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
1726         staged/installed area to support -I-.  Document.
1727         * aclocal.m4: Regenerate.
1728         * configure: Regenerate.
1729
1730 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
1731
1732         libstdc++/2211
1733         * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
1734         __out_bufsize.  Add __in_bufsize, document it and use it.  
1735
1736 2001-07-01  Stephen M. Webb <stephen@bregmasoft.com>
1737
1738         * include/bits/stl_construct.h (construct): Remove.
1739         (destroy): Remove.
1740         (__destroy): Replaced by use of iterator_traits.
1741         * include/bits/stl_deque.h: replaced HP iterator functions with
1742         iterator_traits.
1743         (construct): changed to _Construct.
1744         (destroy): changed to _Destroy.
1745         * include/bits/stl_tempbuf.h: Same.
1746         * include/bits/stl_tree.h: Same.
1747         * include/bits/stl_vector.h: Same.
1748         * include/backward/iterator.h (construct): moved definition to here.
1749         (destroy): Same.
1750
1751 2001-06-29  Benjamin Kosnik  <bkoz@redhat.com>
1752
1753         * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
1754         before replacing facet.
1755         * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
1756         Correct decrement.
1757         * src/localename.cc (locale::_Impl): Correct ctor initialization
1758         lists. Initialize ref count with one. Simplify.
1759         * src/locale.cc: Add comment.
1760         * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
1761         * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
1762         * testsuite/22_locale/members.cc (test02): Fix.
1763
1764 2001-06-27  Phil Edwards  <pme@sources.redhat.com>
1765
1766         * include/backward/algo.h:  Add "GPL plus runtime exception" comment
1767         block, this time for real.
1768         * include/backward/algobase.h:  Likewise.
1769         * include/backward/alloc.h:  Likewise.
1770         * include/backward/bvector.h:  Likewise.
1771         * include/backward/defalloc.h:  Likewise.
1772         * include/backward/deque.h:  Likewise.
1773         * include/backward/function.h:  Likewise.
1774         * include/backward/hash_map.h:  Likewise.
1775         * include/backward/hash_set.h:  Likewise.
1776         * include/backward/hashtable.h:  Likewise.
1777         * include/backward/heap.h:  Likewise.
1778         * include/backward/iterator.h:  Likewise.
1779         * include/backward/list.h:  Likewise.
1780         * include/backward/map.h:  Likewise.
1781         * include/backward/multimap.h:  Likewise.
1782         * include/backward/multiset.h:  Likewise.
1783         * include/backward/pair.h:  Likewise.
1784         * include/backward/rope.h:  Likewise.
1785         * include/backward/set.h:  Likewise.
1786         * include/backward/slist.h:  Likewise.
1787         * include/backward/stack.h:  Likewise.
1788         * include/backward/strstream:  Likewise.
1789         * include/backward/tempbuf.h:  Likewise.
1790         * include/backward/tree.h:  Likewise.
1791         * include/backward/vector.h:  Likewise.
1792         * include/bits/pthread_allocimpl.h:  Likewise.
1793         * include/bits/std_algorithm.h:  Likewise.
1794         * include/bits/std_bitset.h:  Likewise.
1795         * include/bits/std_deque.h:  Likewise.
1796         * include/bits/std_functional.h:  Likewise.
1797         * include/bits/std_iterator.h:  Likewise.
1798         * include/bits/std_list.h:  Likewise.
1799         * include/bits/std_map.h:  Likewise.
1800         * include/bits/std_memory.h:  Likewise.
1801         * include/bits/std_numeric.h:  Likewise.
1802         * include/bits/std_queue.h:  Likewise.
1803         * include/bits/std_set.h:  Likewise.
1804         * include/bits/std_stack.h:  Likewise.
1805         * include/bits/std_utility.h:  Likewise.
1806         * include/bits/std_vector.h:  Likewise.
1807         * include/bits/stl_algo.h:  Likewise.
1808         * include/bits/stl_algobase.h:  Likewise.
1809         * include/bits/stl_alloc.h:  Likewise.
1810         * include/bits/stl_bvector.h:  Likewise.
1811         * include/bits/stl_construct.h:  Likewise.
1812         * include/bits/stl_deque.h:  Likewise.
1813         * include/bits/stl_function.h:  Likewise.
1814         * include/bits/stl_heap.h:  Likewise.
1815         * include/bits/stl_iterator.h:  Likewise.
1816         * include/bits/stl_iterator_base_funcs.h:  Likewise.
1817         * include/bits/stl_iterator_base_types.h:  Likewise.
1818         * include/bits/stl_list.h:  Likewise.
1819         * include/bits/stl_map.h:  Likewise.
1820         * include/bits/stl_multimap.h:  Likewise.
1821         * include/bits/stl_multiset.h:  Likewise.
1822         * include/bits/stl_numeric.h:  Likewise.
1823         * include/bits/stl_pair.h:  Likewise.
1824         * include/bits/stl_pthread_alloc.h:  Likewise.
1825         * include/bits/stl_queue.h:  Likewise.
1826         * include/bits/stl_raw_storage_iter.h:  Likewise.
1827         * include/bits/stl_relops.h:  Likewise.
1828         * include/bits/stl_set.h:  Likewise.
1829         * include/bits/stl_stack.h:  Likewise.
1830         * include/bits/stl_tempbuf.h:  Likewise.
1831         * include/bits/stl_threads.h:  Likewise.
1832         * include/bits/stl_tree.h:  Likewise.
1833         * include/bits/stl_uninitialized.h:  Likewise.
1834         * include/bits/stl_vector.h:  Likewise.
1835         * include/bits/type_traits.h:  Likewise.
1836         * include/ext/hash_map:  Likewise.
1837         * include/ext/hash_set:  Likewise.
1838         * include/ext/rope:  Likewise.
1839         * include/ext/ropeimpl.h:  Likewise.
1840         * include/ext/slist:  Likewise.
1841         * include/ext/stl_hash_fun.h:  Likewise.
1842         * include/ext/stl_hashtable.h:  Likewise.
1843         * include/ext/stl_rope.h:  Likewise.
1844         * src/bitset.cc:  Likewise.
1845         * src/strstream.cc:  Likewise.
1846
1847 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
1848                              <vakatov@ncbi.nlm.nih.gov>
1849
1850         libstdc++/3272
1851         * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
1852         * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
1853         * testsuite/27_io/istream_extractor_other.cc: Fix.
1854         
1855 2001-06-26  Zoltan Hidvegi  <hzoli@austin.ibm.com>
1856
1857         * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
1858         * aclocal.m4: Regenerate.
1859         * configure: Regenerate.
1860         
1861 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
1862
1863         * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
1864         (ostream_iterator): Same.
1865         * include/bits/stl_iterator.h (front_insert_iterator::operator=):
1866         Change argument to const_reference.
1867         (back_insert_iterator): Same.
1868         
1869 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
1870
1871         * include/bits/sbuf_iter.h: Change to..
1872         * include/bits/streambuf_iterator.h: This.
1873         * include/bits/stl_iterator.h: Take out of here...
1874         * include/bits/stream_iterator.h: Add.
1875         * src/Makefile.am (base_headers): Add streambuf_iterator,
1876         stream_iterator.h
1877         * src/Makefile.in: Regenerate.
1878         * include/bits/std_string.h: Adjust includes.
1879         * include/bits/basic_ios.h: Same.
1880         * include/bits/locale_facets.tcc: Same.
1881         * include/bits/std_iosfwd.h: Same.      
1882         
1883         * include/bits/std_iterator.h: Add istream, ostream includes.
1884         * include/bits/stl_iterator.h: Tweak.
1885         * testsuite/24_iterators/ostream_iterator.cc: Add test.
1886         * testsuite/24_iterators/istream_iterator.cc: Same.
1887         * testsuite/23_containers/multiset.cc: Add iterator include.
1888
1889 2001-06-26  Phil Edwards  <pme@sources.redhat.com>
1890
1891         * acinclude.m4:  Clean extraneous tabs, rewrap 'test' lines.
1892         * aclocal.m4:  Regenerate.
1893         * configure:  Regenerate.
1894
1895 2001-06-26  Felix Natter  <f.natter@ndh.net>
1896
1897         * docs/html/17_intro/porting-howto.html:  Fixed some errors.
1898
1899 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
1900
1901         * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
1902         return values.
1903         (istream_iterator::operator*): Same.
1904
1905 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
1906             Alexandre Petit-Bianco  <apbianco@redhat.com>
1907
1908         * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
1909         is on 41st, not 14th.
1910
1911 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
1912
1913         * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
1914
1915         * include/bits/stl_iterator.h (istream_iterator): Inherit from
1916         iterator.
1917         (ostream_iterator): Same.
1918         * testsuite/24_iterators/istream_iterator.cc: New file.
1919         * testsuite/24_iterators/ostream_iterator.cc: New file.
1920         
1921         * include/bits/sbuf_iter.h: Remove self typedef.
1922         * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
1923         * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
1924         
1925         * include/bits/stl_iterator.h (reverse_iterator): Remove
1926         extraneous typedefs. Add typename.
1927         (__normal_iterator): Remove typedefs referring to self. Add typename.
1928         (reverse_bidiretional_iterator): Remove, not longer required.
1929
1930 2001-06-26  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1931
1932         * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
1933         dependent names with `typename'.  Bring in various required
1934         iterator_traits members.  Can't imagine why that used to work.
1935
1936 2001-06-25  Phil Edwards  <pme@sources.redhat.com>
1937             Kurt Garloff <garloff@suse.de>
1938
1939         PR libstdc++/3377
1940         * src/cmath.cc:  New [version of an old] file; instantiate
1941         __cmath_power to start with.
1942         * src/Makefile.am (sources):  Add cmath.cc (and alphabetize).
1943         * Makefile.in:  Regenerate.
1944         * libio/Makefile.in:  Regenerate.
1945         * libmath/Makefile.in:  Regenerate.
1946         * libsupc++/Makefile.in:  Regenerate.
1947         * src/Makefile.in:  Regenerate.
1948         * testsuite/Makefile.in:  Regenerate.
1949
1950 2001-06-24  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1951
1952         * libmath/stubs.c: Fix thinko.
1953
1954 2001-06-24  David Edelsohn <dje@watson.ibm.com>
1955
1956         * libmath/stubs.c (sqrtf): Define.
1957         (tanf): Correct typo.
1958
1959 2001-06-22  Benjamin Kosnik  <bkoz@redhat.com>
1960
1961         * include/bits/stl_iterator.h (reverse_iterator): Inherit from
1962         iterator.
1963         (back_insert_iterator): Same.   
1964         (front_insert_iterator): Same.
1965         (insert_iterator): Same.
1966
1967         * testsuite/20_util/raw_storage_iterator.cc: Modify.
1968         * testsuite/24_iterators/reverse_iterator.cc: New file.
1969         * testsuite/24_iterators/back_insert_iterator.cc: New file.
1970         * testsuite/24_iterators/front_insert_iterator.cc: New file.
1971         * testsuite/24_iterators/insert_iterator.cc: New file.
1972
1973 2001-06-22  Phil Edwards  <pme@sources.redhat.com>
1974
1975         * include/*:  Revert comment/license change from yesterday for all
1976         except libsupc++/unwind-cxx.h.
1977         * src/bitset.cc:  Likewise.
1978         * src/strstream.cc:  Likewise.
1979
1980 2001-06-22  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1981
1982         * libmath/stubs.c: New file.
1983         (tanhf): Fix typo.
1984         (powf): Likewise.
1985
1986         * libmath/Makefile.am (libmath_la_SOURCES): Add.
1987         * libmath/Makefile.in.  Regenerate.
1988
1989 2001-06-21  Phil Edwards  <pme@sources.redhat.com>
1990
1991         * include/backward/algo.h:  Add "GPL plus runtime exception" comment.
1992         * include/backward/algobase.h:  Likewise.
1993         * include/backward/alloc.h:  Likewise.
1994         * include/backward/bvector.h:  Likewise.
1995         * include/backward/defalloc.h:  Likewise.
1996         * include/backward/deque.h:  Likewise.
1997         * include/backward/function.h:  Likewise.
1998         * include/backward/hash_map.h:  Likewise.
1999         * include/backward/hash_set.h:  Likewise.
2000         * include/backward/hashtable.h:  Likewise.
2001         * include/backward/heap.h:  Likewise.
2002         * include/backward/iterator.h:  Likewise.
2003         * include/backward/list.h:  Likewise.
2004         * include/backward/map.h:  Likewise.
2005         * include/backward/multimap.h:  Likewise.
2006         * include/backward/multiset.h:  Likewise.
2007         * include/backward/pair.h:  Likewise.
2008         * include/backward/rope.h:  Likewise.
2009         * include/backward/set.h:  Likewise.
2010         * include/backward/slist.h:  Likewise.
2011         * include/backward/stack.h:  Likewise.
2012         * include/backward/strstream:  Likewise.
2013         * include/backward/tempbuf.h:  Likewise.
2014         * include/backward/tree.h:  Likewise.
2015         * include/backward/vector.h:  Likewise.
2016         * include/bits/pthread_allocimpl.h:  Likewise.
2017         * include/bits/std_algorithm.h:  Likewise.
2018         * include/bits/std_bitset.h:  Likewise.
2019         * include/bits/std_deque.h:  Likewise.
2020         * include/bits/std_functional.h:  Likewise.
2021         * include/bits/std_iterator.h:  Likewise.
2022         * include/bits/std_list.h:  Likewise.
2023         * include/bits/std_map.h:  Likewise.
2024         * include/bits/std_memory.h:  Likewise.
2025         * include/bits/std_numeric.h:  Likewise.
2026         * include/bits/std_queue.h:  Likewise.
2027         * include/bits/std_set.h:  Likewise.
2028         * include/bits/std_stack.h:  Likewise.
2029         * include/bits/std_utility.h:  Likewise.
2030         * include/bits/std_vector.h:  Likewise.
2031         * include/bits/stl_algo.h:  Likewise.
2032         * include/bits/stl_algobase.h:  Likewise.
2033         * include/bits/stl_alloc.h:  Likewise.
2034         * include/bits/stl_bvector.h:  Likewise.
2035         * include/bits/stl_construct.h:  Likewise.
2036         * include/bits/stl_deque.h:  Likewise.
2037         * include/bits/stl_function.h:  Likewise.
2038         * include/bits/stl_heap.h:  Likewise.
2039         * include/bits/stl_iterator.h:  Likewise.
2040         * include/bits/stl_iterator_base_funcs.h:  Likewise.
2041         * include/bits/stl_iterator_base_types.h:  Likewise.
2042         * include/bits/stl_list.h:  Likewise.
2043         * include/bits/stl_map.h:  Likewise.
2044         * include/bits/stl_multimap.h:  Likewise.
2045         * include/bits/stl_multiset.h:  Likewise.
2046         * include/bits/stl_numeric.h:  Likewise.
2047         * include/bits/stl_pair.h:  Likewise.
2048         * include/bits/stl_pthread_alloc.h:  Likewise.
2049         * include/bits/stl_queue.h:  Likewise.
2050         * include/bits/stl_raw_storage_iter.h:  Likewise.
2051         * include/bits/stl_relops.h:  Likewise.
2052         * include/bits/stl_set.h:  Likewise.
2053         * include/bits/stl_stack.h:  Likewise.
2054         * include/bits/stl_tempbuf.h:  Likewise.
2055         * include/bits/stl_threads.h:  Likewise.
2056         * include/bits/stl_tree.h:  Likewise.
2057         * include/bits/stl_uninitialized.h:  Likewise.
2058         * include/bits/stl_vector.h:  Likewise.
2059         * include/bits/type_traits.h:  Likewise.
2060         * include/ext/hash_map:  Likewise.
2061         * include/ext/hash_set:  Likewise.
2062         * include/ext/rope:  Likewise.
2063         * include/ext/ropeimpl.h:  Likewise.
2064         * include/ext/slist:  Likewise.
2065         * include/ext/stl_hash_fun.h:  Likewise.
2066         * include/ext/stl_hashtable.h:  Likewise.
2067         * include/ext/stl_rope.h:  Likewise.
2068         * libsupc++/unwind-cxx.h:  Likewise.
2069         * src/bitset.cc:  Likewise.
2070         * src/strstream.cc:  Likewise.
2071
2072 2001-06-21  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2073
2074         * include/bits/indirect_array.h (indirect_array<>::operator=):
2075         Make copy and assignment operator public.  Implement.  Format.
2076
2077         * include/bits/valarray_array.h (__valarray_copy): Add overloads
2078         for copy between index arrays.  Format.
2079
2080 2001-06-19  Benjamin Kosnik  <bkoz@redhat.com>
2081
2082         * mknumeric_limits: Add static definitions, format.
2083         * testsuite/18_support/numeric_limits.cc (test02): Add test.
2084
2085         * include/c_std/bits/std_cwchar.h: Include ctime.
2086         * testsuite/17_intro/header_cwchar.cc : Check.
2087
2088         * include/c_std/bits/std_cwctype.h: Inject wctype.
2089         * testsuite/17_intro/header_cwctype.cc: Update.
2090
2091 2001-06-18  Benjamin Kosnik  <bkoz@redhat.com>
2092
2093         * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
2094         * testsuite/20_util/raw_storage_iterator.cc: Same.
2095         
2096         * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
2097         operator new.
2098         (__mem_interface): New typedef for switching between malloc and new.
2099         * testsuite/20_util/allocator_members.cc: New file.     
2100
2101         * testsuite/20_util/comparisons.cc: New file.
2102         * testsuite/20_util/pairs.cc: New file. 
2103
2104 2001-06-15  Phil Edwards  <pme@sources.redhat.com>
2105
2106         * docs/html/documentation.html:  Point to new doxygen'ed collection.
2107
2108 2001-06-14  Nathan Sidwell  <nathan@codesourcery.com>
2109
2110         * configure.in (auxdir): Replace by ...
2111         (toprel): ... new variable.
2112         (toplevel_srcdir): Construct from $toprel.
2113         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
2114         rather than .. to locate gcc source directory.
2115         (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
2116         * aclocal.m4, configure: Rebuilt.
2117
2118 2001-06-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2119
2120         (Approved by Mark and Benjamin.  Applied by Loren.)
2121
2122         * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
2123         _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
2124         and _GLIBCPP_mutex_address.
2125         * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
2126         once-only runtime initialization of _M_lock mutex when
2127         __GTHREAD_MUTEX_INIT_FUNCTION is defined.
2128         (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
2129         for __GTHREAD_MUTEX_INIT_FUNCTION case.
2130
2131 2001-06-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2132
2133         * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
2134
2135         * include/bits/slice_array.h (slice_array<>::operator=): Make
2136         public and implement.
2137         (slice_array<>::slice_array): Make copy-constructor public.
2138
2139         * include/bits/valarray_array.h (__valarray_copy): Add another
2140         overload to copy between strided arrays.
2141
2142 2001-06-13  Benjamin Kosnik  <bkoz@redhat.com>
2143
2144         * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
2145         * aclocal.m4: Regenerate.
2146         * configure: Regenerate.
2147         * include/bits/c++config (__GLIBCPP__): Update date.
2148
2149 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
2150
2151         * include/bits/fpos.h (fpos::operator-): Don't return reference,
2152         return original, non-modified version.
2153         (fpos::operator+): Same.
2154         * testsuite/27_io/fpos.cc: Add test.
2155         
2156 2001-06-12  Loren J. Rittle  <ljrittle@acm.org>
2157
2158         libstdc++/2071
2159         * porting.texi: Add documentation about libstdc++-v3-specific
2160         macros that are currently included in os_defines.h files.
2161
2162         * config/basic_file_stdio.h (sys_getc): New method.
2163         (sys_ungetc): New method.
2164         * include/bits/basic_file.h: (sys_getc): New method signature.
2165         (sys_ungetc): New method signature.
2166
2167         * include/bits/fstream.tcc (underflow): Add conditional code
2168         paths which avoid using short seeks on streams (especially
2169         useful when the stream might be interactive or a pipe).  At
2170         the moment, this alternate path only avoids seeking when the
2171         ``buffer size'' of underflow() is 1 since the C standard only
2172         guarantees buffer space for one ungetc (this technique could
2173         be extended since *-*-solaris* supports buffering for 4 calls
2174         to ungetc and *-*-*bsd* supports buffering limited only by
2175         memory resources).  Also, _GLIBCPP_AVOID_FSEEK must be defined
2176         in a port's os_defines.h file for this alternate path to even
2177         be considered.  As a bonus, the idiom of using getc/ungetc
2178         requires no system calls whereas fseek maps to one or two
2179         system call(s) on many platforms.
2180
2181         * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
2182         Define it.
2183         * config/os/solaris/solaris2.5/bits/os_defines.h
2184         (_GLIBCPP_AVOID_FSEEK): Likewise.
2185         * config/os/solaris/solaris2.6/bits/os_defines.h
2186         (_GLIBCPP_AVOID_FSEEK): Likewise.
2187         * config/os/solaris/solaris2.7/bits/os_defines.h
2188         (_GLIBCPP_AVOID_FSEEK): Likewise.
2189
2190 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
2191
2192         * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
2193         AC_TRY_COMPILE, so that the built compiler is checked, and
2194         bootstraps or cross compiles with an older compile still work.
2195         * aclocal.m4: Regenerate.
2196         * configure: Regenerate.
2197         
2198 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
2199
2200         libstdc++/3142
2201         * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
2202
2203         libstdc++/3141
2204         * include/bits/istream.tcc (getline, get): Fix as per DR 243.
2205
2206         libstdc++/3140
2207         * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
2208
2209         libstdc++/3139
2210         * include/bits/limits_generic.h: Fix as per DR 184.
2211
2212 2001-06-11  Benjamin Kosnik  <bkoz@redhat.com>
2213
2214         libstdc++/3126
2215         * include/bits/basic_string.h (string::compare): Adjust signatures
2216         as per DR 5.
2217         * include/bits/basic_string.tcc: And here.
2218
2219         libstdc++/2346
2220         * config/c_io_stdio.h: Remove whitespace.
2221         * testsuite/27_io/istream_seeks.cc (test03): Add regression.
2222         (test02): Add regression.
2223         * testsuite/27_io/istream_seeks-3.tst: New file.
2224         
2225 2001-06-11  Phil Edwards  <pme@sources.redhat.com>
2226
2227         * README:  Update to reflect reality.
2228         * acinclude.m4:  Update descriptions, fix typos.  Comment changes only.
2229         * configure.in:  Make certain target_alias is set and subst'd for 2.50.
2230         * aclocal.m4:  Regenerate.
2231         * configure:  Regenerate (with 2.13).
2232
2233 2001-06-11  Benjamin Kosnik  <bkoz@redhat.com>
2234
2235         libstdc++/3114
2236         * include/bits/ostream.tcc (ostream::seekp): Add error checking as
2237         per DR 129.
2238         * include/bits/istream.tcc (istream::seekg): Same.
2239         * testsuite/27_io/istream_seeks.cc: Fix.
2240         
2241         libstdc++/3113
2242         * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
2243         (binder1st): Same.
2244         * include/bits/std_queue.h: Add c++config.h.
2245         * testsuite/20_util/binders.cc: New test.
2246         
2247 2001-06-11  Matthias Klose  <doko@debian.org>
2248             Phil Edwards  <pme@sources.redhat.com>
2249
2250         * docs/doxygen/run_doxygen (find_doxygen):  Tweak version check.
2251         (main script):  Echo more information.
2252
2253 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
2254
2255         * include/c_std/bits/std_cwchar.h: Alphabetize.
2256         * include/bits/char_traits.h: Tweak.
2257         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
2258         everything used by std_cwchar.h.
2259         * aclocal.m4: Regenerate.
2260         * configure.in: Regenerate.
2261         * config.h.in: Regenerate.
2262         
2263 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
2264
2265         * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
2266         Add checking for strtof, _Exit in stdlib.h
2267         * aclocal.m4: Regenerate.
2268         * configure.in: Regenerate.
2269         * include/c_std/bits/std_cstdio.h: Alphabetize lists. 
2270         (snprintf): Put C99 functions into __gnu_cxx namespace.
2271         (vfscanf): Same.
2272         (vscanf): Same.
2273         (vsnprintf): Same.
2274         (vsscanf): Same.
2275         * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
2276         for C99 functions within _GLIBCPP_USE_C99 guard.
2277         (_Exit): Same.
2278         (strtof): Same.
2279         (strtold): Same.
2280         * include/bits/locale_facets.tcc: Check if C99 is enabled.
2281         * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
2282         C99 guard.
2283         * include/c_std/bits/cmath.tcc: Formatting tweak.
2284         * include/c_std/bits/std_cmath.h: Same.
2285         
2286 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
2287
2288         * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
2289
2290 2001-06-09  Alexandre Oliva  <aoliva@redhat.com> 
2291             Stephen L Moshier  <moshier@mediaone.net>
2292
2293         * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
2294         nothing, as in autoconf 2.50.
2295         * configure: Rebuilt.
2296
2297 2001-06-09  Benjamin Kosnik  <bkoz@redhat.com>
2298
2299         * include/c_std/bits/std_cwchar.h: Remove size_t injection,
2300         include std_cstddef.
2301         * include/c_std/bits/std_ctime.h: Same.
2302         * include/c_std/bits/std_cstring.h: Same.
2303         * include/c_std/bits/std_cstdlib.h: Same.
2304         
2305         * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
2306         * include/c_std/bits/std_cctype.h: Remove isblank.
2307
2308 2001-06-09  Benjamin Kosnik  <bkoz@redhat.com>
2309
2310         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
2311         fgetws.
2312         * aclocal.m4: Regenerate.
2313         * configure: Regenerate.
2314         * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
2315         injection, guard fgetwc, fgetws.
2316         * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
2317         * include/c_std/bits/std_clocale.h: And here.
2318         * include/c_std/bits/std_cctype.h: And here.
2319         * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
2320
2321         * config/basic_file_stdio.h: Don't include unistd.h.
2322         * config/c_io_stdio.h: Don't use compatibility headers.
2323         * libsupc++/eh_terminate.cc: Qualify abort.
2324         (__terminate): And here.
2325         * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
2326         
2327 2001-06-08  Benjamin Kosnik  <bkoz@redhat.com>
2328
2329         * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
2330
2331 2001-06-08  Benjamin Kosnik  <bkoz@redhat.com>
2332
2333         libstdc++/2767
2334         libstdc++/2989
2335         libstdc++/2992
2336         * include/std/*: Add copyright notice.
2337         * include/c_std/bits/*: Use using statements instead of extern "C".
2338         * include/c_std/bits/std_cmath.h: Don't overload double versions
2339         of math functions with __buitin versions, use global version to
2340         prevent ambiguities. Remove define hacks.
2341         * include/c_std/bits/std_cwchar.h: Using declarations for "C"
2342         functions that have changed signatures and std::
2343         declarations. Remove define hacks.
2344         * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
2345         __builtins in std::. Remove define hacks.
2346         * testsuite/17_intro/headers_c.cc: Add tests.
2347         * testsuite/17_intro/headers_c++.cc: Add test.
2348
2349 2001-06-07  Loren J. Rittle  <ljrittle@acm.org>
2350             John David Anglin  <dave@hiauly1.hia.nrc.ca>
2351
2352         c++/3082
2353         * libsupc++/eh_alloc.cc: Ensure that required macros are
2354         defined before including gthr.h.  Ensure that we get the
2355         version of gthr.h for which we know how to provide a
2356         configuration.
2357         * libsupc++/eh_globals.cc: Likewise.  And, bring the threading
2358         code path into line with the current EH model.  Use std, where
2359         appropriate.
2360
2361 2001-06-07  Loren J. Rittle  <ljrittle@acm.org>
2362             John David Anglin  <dave@hiauly1.hia.nrc.ca>
2363
2364         * config/threads-no.h: Remove file.
2365         * config/threads-posix.h: Remove file.
2366
2367         * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
2368         (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
2369         (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
2370         * config.h.in: Regenerate.
2371
2372         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
2373         setup and use gthr*.h files.  In particular, make gthr.h files
2374         namespace-clean in the staging area (they don't have to be for
2375         libgcc.a).
2376         * aclocal.m4: Regenerate.
2377         * configure: Regenerate.
2378
2379         * src/Makefile.am (build_headers): Remove bits/c++threads.h
2380         and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
2381         * src/Makefile.in: Regenerate.
2382
2383         * include/bits/c++config: Cleanup threading configuration macros.
2384         In particular, define __STL_GTHREADS macro which controls...
2385         * include/bits/stl_threads.h: ...a brand new gthr.h-based
2386         configuration here.
2387
2388         * config/c_io_stdio.h: Include staged gthr.h instead of local
2389         thread configuration file.  Always use __gthread_mutex_t
2390         instead of __mutext_type (or int).
2391         * include/bits/std_fstream.h: Likewise.
2392
2393         * docs/html/17_intro/howto.html: Remove placeholder comment in
2394         case this configuration patch didn't make it.  Add advice that
2395         section only applies if configured with --enable-threads.
2396         * docs/html/23_containers/howto.html: Reword to make clear
2397         that _PTHREADS is no longer required for any port to be
2398         correctly using STL with threads.  Add advice that section
2399         only applies if configured with --enable-threads.
2400
2401 2001-06-06  Benjamin Kosnik  <bkoz@redhat.com>
2402
2403         * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
2404
2405 2001-06-05  Benjamin Kosnik  <bkoz@redhat.com>
2406
2407         libstdc++/3045
2408         * include/bits/basic_ios.tcc: Formatting tweaks.
2409         * include/bits/ios_base.h: Formatting tweaks.
2410         * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
2411         (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
2412         * src/globals.cc: Allocate filebufs for standard streams here.
2413         (buf_cout, buf_cin, buf_cerr): Like so.
2414         (buf_wcout, buf_wcin, buf_wcerr): And so.
2415         * testsuite/27_io/ios_init.cc: Add.
2416         
2417 2001-06-04  Brendan Kehoe  <brendan@zen.org>
2418             Benjamin Kosnik  <bkoz@redhat.com>
2419         
2420         libstdc++/3017
2421         * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
2422         for generic ctype virtuals.
2423         * src/locale.cc: Minor tweaks, naming consistency.
2424         * testsuite/22_locale/ctype.cc: Add test.
2425         
2426 2001-06-04  Kenny Simpson <theonetruekenny@yahoo.com>
2427             Phil Edwards  <pme@sources.redhat.com>
2428
2429         PR libstdc++/3035 and PR libstdc++/3036
2430         * include/bits/stl_pair.h:  Fix pair ctor and make_pair according
2431         to LWG DR 181 and 265.
2432
2433 2001-06-04  Phil Edwards  <pme@sources.redhat.com>
2434
2435         PR libstdc++/3034
2436         * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
2437         equal_range):  Add const overloads as per LWG DR 214.
2438         * include/bits/stl_set.h:  Likewise.
2439
2440 2001-06-04  Brendan Kehoe  <brendan@zen.org>
2441             Phil Edwards  <pme@sources.redhat.com>
2442
2443         PR libstdc++/3018
2444         * include/bits/std_bitset.h (bitset::test):  Fix __pos >= _Nb
2445         comparison; all positions must be < _Nb.
2446         * testsuite/23_containers/bitset_members.cc:  New file.
2447
2448 2001-06-04  Brendan Kehoe  <brendan@zen.org>
2449
2450         PR libstdc++/3016
2451         * include/bits/stl_queue.h (classes queue, priority_queue):  Fix
2452         ctors to match the standard.
2453
2454 2001-06-04  Jeffrey Oldham  <oldham@codesourcery.com>
2455
2456         * include/bits/char_traits.h (move): Reverse qualification of
2457         memmove with std::.
2458         (copy): Reverse qualification of memcpy with std::.
2459
2460 2001-06-04  Jeffrey Oldham  <oldham@codesourcery.com>
2461
2462         * include/bits/char_traits.h (move): Qualify memmove with std::.
2463         (copy): Qualify memcpy with std::.
2464         * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
2465         strncmp with std::.
2466         (test02): Likewise.
2467         * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
2468
2469 2001-06-04  Hans-Peter Nilsson  <hp@axis.com>
2470
2471         * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
2472         uninstall-glibcppinstallHEADERS): Have explicit rules catering to
2473         SUN make VPATH peculiarities.
2474         * libsupc++/Makefile.in: Regenerate.
2475
2476 2001-06-01  Hans-Peter Nilsson  <hp@axis.com>
2477
2478         * src/Makefile.am (VPATH): Delimit with ":", not space.
2479         * src/Makefile.in: Regenerate.
2480
2481         * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
2482         make isn't found.
2483         * configure: Regenerate.
2484
2485 2001-05-31  scott snyder  <snyder@fnal.gov>
2486
2487         libstdc++/2976
2488         * include/bits/istream.tcc: Include std_ostream.h.
2489
2490 2001-05-31  Benjamin Kosnik  <bkoz@redhat.com>
2491
2492         libstdc++/2997
2493         * src/bitset.cc: Qualify size_t with std::.
2494
2495 2001-05-30  Benjamin Kosnik  <bkoz@redhat.com>
2496
2497         * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
2498         (_GLIBCPP_BUGGY_COMPLEX): Remove.
2499         * config.h.in: Regenerate.
2500         * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
2501         * aclocal.m4: Regenerate.
2502         * configure.in: Don't call it.
2503         * configure: Regenerate.
2504
2505         libstdc++/2970
2506         * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
2507         * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
2508         New test.
2509
2510         libstdc++/2985
2511         * include/bits/std_complex.h: Include sstream. Put definitions for
2512         complex inserters and extractors here, and remove them from...
2513         * src/complex_io.cc: ...here.
2514         * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
2515         parameter.
2516         (basic_ios::__numget_type): Same.
2517         * include/bits/std_istream.h: Same.
2518         * include/bits/std_ostream.h: Same.
2519         * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
2520         class iterator template arguments.
2521         * src/locale-inst.cc: Add explicit has_facet instantiations.
2522         * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
2523         (_M_get_fnumput): Remove.
2524         (_M_get_fnumget): Remove.
2525         (basic_ios::_M_check_facet): New function.
2526         (basic_ios::_M_cache_facets): New function.
2527         * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
2528         (basic_ios::imbue): Call _M_cache_facets.
2529         (basic_ios::init): Same.
2530         * include/bits/istream.tcc: Format, use _M_check_facet.
2531         * include/bits/ostream.tcc: Same.
2532         * include/bits/locale_facets.tcc (__output_float): Change
2533         signature, add _Traits.
2534         * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
2535         New test.
2536
2537 2001-05-30  Loren J. Rittle  <ljrittle@acm.org>
2538
2539         * include/bits/c++config (__USE_MALLOC): Do not define it.
2540         Document why not and give pointers to more information.
2541
2542         * docs/html/23_containers/howto.html: Update documentation
2543         to reflect recent understanding of problem.
2544         * docs/html/17_intro/howto.html: Likewise.
2545
2546 2001-05-30  Phil Edwards  <pme@sources.redhat.com>
2547
2548         * docs/doxygen/user.cfg.in:  Minor addition.
2549         * docs/html/documentation.html:  Reorganize.  Put most-looked-at
2550         stuff first.
2551         * docs/html/install.html:  Update for 3.0.  HTML fixups.
2552         * docs/html/17_intro/howto.html:  Likewise.
2553         * docs/html/18_support/howto.html:  Likewise.
2554         * docs/html/19_diagnostics/howto.html:  Likewise.
2555         * docs/html/20_util/howto.html:  Likewise.
2556         * docs/html/23_containers/howto.html:  Likewise.
2557         * docs/html/24_iterators/howto.html:  Likewise.  More notes.
2558         * docs/html/25_algorithms/howto.html:  Likewise.
2559         * docs/html/26_numerics/howto.html:  Likewise.  More notes.
2560         * docs/html/27_io/howto.html:  Likewise.
2561         * docs/html/ext/howto.html:  Likewise.
2562         * docs/html/faq/index.html:  Likewise.
2563         * docs/html/faq/index.txt:  Regenerate.
2564         * docs/html/27_io/iostreams_hierarchy.pdf:  Remove in favor of
2565         Doxygen-created documentation.
2566
2567 2001-05-30  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2568
2569         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
2570         get_multilibs to find gcc.
2571         
2572 2001-05-30  Phil Edwards  <pme@sources.redhat.com>
2573
2574         * acinclude.m4 (GLIBCPP_ENABLE_C99):  Reorder output messages.
2575         * aclocal.m4:  Regenerate.
2576         * configure:  Regenerate.
2577
2578 2001-05-29  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2579  
2580         * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::. 
2581         * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
2582  
2583 2001-05-27  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2584
2585         * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
2586         * include/c_std/bits/std_cstdlib.h: Same.
2587         * include/c_std/bits/std_cwchar.h: Same.
2588
2589 2001-05-30  Loren J. Rittle  <ljrittle@acm.org>
2590
2591         * docs/html/17_intro/howto.html: Update link.
2592         * docs/html/23_containers/howto.html: Likewise.  Add new link.
2593
2594 2001-05-26  Gabriel Dos Reis  <gdr@codesourcery.com>
2595
2596         * include/c_std/bits/std_cmath.h (sqrt): #undef.
2597         
2598 2001-05-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2599
2600         * mknumeric_limits: Stop if gen-num-limits dies.
2601
2602 2001-05-25  Benjamin Kosnik  <bkoz@redhat.com>
2603
2604         other/2931
2605         * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
2606         * aclocal.m4: Regenerate.
2607         * configure: Same.
2608         
2609 2001-05-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2610             Phil Edwards  <pme@sources.redhat.com>
2611             Alexandre Oliva  <aoliva@redhat.com>
2612
2613         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
2614         in an amd-safe manner. Revert glibcpp_prefixdir.
2615
2616 2001-05-25  Gabriel Dos Reis  <gdr@codesourcery.com>
2617
2618         * include/c_std/bits/std_cmath.h: Tweak.  #define away abs, cos,
2619         fabs, sin, sqrt.  They are now implemented in terms of __builtin_
2620         variants. 
2621
2622 2001-05-24  Benjamin Kosnik  <bkoz@redhat.com>
2623
2624         libstdc++/2830
2625         * testsuite/21_strings/inserters_extractors.cc (test09): New test.
2626         * include/bits/ostream.tcc: Format to match istream.tcc.
2627         (operator<<(basic_ostream __out, const basic_string __s)): Fix.
2628         
2629 2001-05-24  Phil Edwards  <pme@sources.redhat.com>
2630
2631         * libsupc++/eh_alloc.cc (__cxa_allocate_exception):  Qualify
2632         malloc with std:: .
2633         (__cxa_free_exception):  Likewise with free.
2634
2635 2001-05-24  Mark Mitchell  <mark@codesourcery.com>
2636
2637         * include/c_std/bin/std_cstring.h: #define away all global
2638         functions we will redeclare in namespace `std'.
2639         * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
2640         std::memset, instead of memset.
2641         * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
2642         not plain `strcmp'.
2643         * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
2644         plain `strcpy'.
2645         
2646 2001-05-24  Benjamin Kosnik  <bkoz@redhat.com>
2647
2648         libstdc++/2832
2649         * include/bits/basic_ios.tcc: Small tweak.
2650         * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
2651         ctors and dtors, and rdbuf settings.
2652         (ofstream): Same.
2653         (fstream): Same.
2654         * include/bits/std_sstream.h: Same, but for stringstream classes.
2655         * testsuite/27_io/ostringstream_members.cc: New.
2656         * testsuite/27_io/stringstream_members.cc: New. 
2657         * testsuite/27_io/fstream_members.cc: New.              
2658         * testsuite/27_io/ifstream_members.cc: Add test.
2659         * testsuite/27_io/istringstream_members.cc: Add test.
2660         * testsuite/27_io/ofstream_members.cc: Add test.
2661
2662 2001-05-24  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2663
2664         * include/bits/c++config(__NO_MATH_INLINES): Move to...
2665         * config/os/gnu-linux/bits/os_defines.h: ...here.
2666
2667 2001-05-24  Gabriel Dos Reis  <gdr@codesourcery.com>
2668
2669         * include/bits/c++config (__NO_MATH_INLINES): New macro.
2670         * testsuite/26_numerics/fabs_inline.cc (main): New test.
2671
2672 2001-05-22  Benjamin Kosnik  <bkoz@redhat.com>
2673
2674         libstdc++/2841
2675         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
2676         ld_library_path.  
2677         (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
2678         (libstdc++-v3-finish): Remove.
2679         (libstdc++-v3_exit): Remove.
2680
2681 2001-05-22  Phil Edwards  <pme@sources.redhat.com>
2682
2683         * docs/html/documentation.html:  Point to doxygen output.
2684
2685 2001-05-21  Benjamin Kosnik  <bkoz@redhat.com>
2686
2687         * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
2688
2689         * include/bits/std_sstream.h (stringbuf::setbuf): Require both
2690         arguments to be non-null.
2691         * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
2692         try allocations if allocated size is greater than zero.
2693         (filebuf::_M_filebuf_init): Change to
2694         (filebuf::_M_allocate_file): Which is what it does now. 
2695         (filebuf::_M_allocate_bufers): Change to
2696         (filebuf::_M_allocate_internal_buffer): This, and create
2697         (filebuf::_M_allocate_pback_buffer): New.
2698         (filebuf::_M_destroy_internal_buffer): New.
2699         (filebuf::_M_buf_allocated): New data member.
2700         (filebuf::setbuf): Use new logic, allow use of external buffer.
2701         * testsuite/27_io/stringbuf_virtuals.cc: New file.
2702         * testsuite/27_io/filebuf_virtuals.cc: New file.
2703
2704 2001-05-21  Stephen M. Webb  <stephen@bregmasoft.com>
2705
2706         * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
2707         __glibcpp_memchr.
2708         (strchr): Same, but to __glibcpp_strchr.
2709         (strpbrk): Same.
2710         (strrchr): Same.
2711         (strstr): Same.  
2712         * include/c_std/bits/std_cwchar.h (wcschr): Same.
2713         (wcsbrk): Same.
2714         (wcsrchr): Same.
2715         (wcsstr): Same.
2716         (wmemchr): Same.
2717
2718 2001-05-21  Benjamin Kosnik  <bkoz@redhat.com>
2719
2720         * testsuite/21_strings/c_strings.cc (main): Fix.
2721
2722 2001-05-19  Phil Edwards  <pme@sources.redhat.com>
2723
2724         * acinclude.m4:  Fix --help spacing, correct comments.
2725         * aclocal.m4:  Regenerate.
2726         * configure:  Regenerate.
2727         * mkcheck.in:  Add usage comments.
2728         * docs/html/documentation.html:  Point to doxygen'd tarball.
2729
2730 2001-05-18  Benjamin Kosnik  <bkoz@redhat.com>
2731
2732         * testsuite/README: Add notes.
2733
2734         * src/Makefile.am (libstdc++.INC): Remove.
2735         * src/Makefile.in: Regenerate.
2736
2737         Phil Edwards <pedwards@disaster.jaj.com>
2738         * mkcheck.in: Add missing '#'.
2739
2740 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
2741
2742         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
2743         appropriately for remote testing and testing installed files without
2744         a build dir.
2745
2746 2001-05-18  Benjamin Kosnik  <bkoz@redhat.com>
2747
2748         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
2749         amd glibcpp_prefixdir with absolute paths.
2750
2751         * include/bits/c++config (__GLIBCPP__): Bump.
2752         * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
2753
2754 2001-05-18  Gabriel Dos Reis  <gdr@codesourcery.com>
2755
2756         * include/bits/std_valarray.h (valarray<>::operator[] const):
2757         Return a const reference. 
2758         * testsuite/26_numerics/valarray_const_bracket.cc: New test.
2759
2760 2001-05-18  Alexandre Oliva  <aoliva@redhat.com>
2761
2762         * configure.target (ATOMICITYH): Actually use AIX-specific code on
2763         earlier versions of AIX 4.*.
2764
2765 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
2766
2767         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test):  Set
2768         output_file based on the name of the testcase.
2769
2770 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
2771
2772         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):  Build
2773         gluefile and use it if needs_status_wrapper is set.
2774
2775 2001-05-18  Alexandre Oliva  <aoliva@redhat.com>
2776
2777         * configure.target (ATOMICITYH): Use cpu/generic code on earlier
2778         versions of AIX.
2779
2780 2001-05-17  Alexandre Oliva  <aoliva@redhat.com>
2781
2782         * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
2783         on earlier versions of AIX.
2784
2785 2001-05-15  Benjamin Kosnik  <bkoz@redhat.com>
2786
2787         * testsuite_flags.in (query): Add backwards, ext directories.
2788
2789 2001-05-15  Mark Mitchell  <mark@codesourcery.com>
2790
2791         * porting.texi: Correct documentation about handling
2792         _LARRGEFILE_SOURCE and its ilk.
2793         * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
2794         definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and 
2795         __EXTENSIONS__.
2796         * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
2797         * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
2798
2799 2001-05-15  Zack Weinberg  <zackw@stanford.edu>
2800         
2801         * testsuite/21_strings/inserters_extractors.cc,
2802         testsuite/27_io/istream_unformatted.cc,
2803         testsuite/27_io/stringstream.cc:
2804         Replace multi-line string constants with C89-style
2805         concatenated string constants.
2806         
2807 2001-05-14  Richard Henderson  <rth@redhat.com>
2808
2809         * mknumeric_limits: Build with -fno-exceptions.
2810
2811 2001-05-13   Benjamin Kosnik  <bkoz@redhat.com>
2812
2813         Switch over to new harness.
2814         * testsuite_flags.in: Tweaks via Gaby.
2815         * testsuite/Makefile.am: Change tool to libstdc++-v3.
2816         (EXPECT): Quote directly.
2817         (RUNTEST): Same.
2818         * configure.in: Output testsuite_flags.
2819         * acinclude.m4: Substitute src, bld, and prefix dirs.
2820         Remove glibcpp_expect, glibcpp_runtestflags.
2821         * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
2822         * mkcheck.in: Port to new interface.
2823         
2824         * aclocal.m4: Regerate.
2825         * configure: Regnerate.
2826         * Makefile.in: Regnerate.
2827         * */Makefile.in: Regenerate.
2828         
2829         * tests_flags.in: Remove.
2830         * testsuite/lib/libstdc++.exp: Remove.
2831         * testsuite/libstdc++.tests/tests.exp: Remove.
2832         
2833 2001-05-13  Alexandre Oliva  <aoliva@redhat.com>
2834
2835         * configure.target: Remove detection of AIX pthread multilib, now
2836         obtained from `gcc -v'.
2837
2838 2001-05-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2839
2840         * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
2841         size.  Add hpux case for HP size.
2842
2843 2001-05-11   Benjamin Kosnik  <bkoz@redhat.com>
2844
2845         * testsuite_flags.in: New, simplified interface.
2846         * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
2847         * testsuite/libstdc++-v3.dg: Add.
2848         * testsuite/libstdc++-v3.dg/dg.exp: Add.        
2849
2850 2001-05-11   Benjamin Kosnik  <bkoz@redhat.com>
2851
2852         * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
2853         * testsuite/config/default.exp: Update bugs email address.
2854         
2855 2001-05-11  Richard Henderson  <rth@redhat.com>
2856
2857         * libsupc++/eh_personality.cc: Include unwind-pe.h.  Remove
2858         all pointer encoding logic.
2859         (struct lsda_header_info): Add ttype_base.
2860         (get_ttype_entry): Use it instead of a context.
2861         (check_exception_spec): Likewise.
2862         (PERSONALITY_FUNCTION): Initialize ttype_base.  Store it in
2863         the c++ exception header for __cxa_call_unexpected.
2864         (__cxa_call_unexpected): Use it.
2865
2866 2001-05-09  Benjamin Kosnik  <bkoz@redhat.com>
2867
2868         * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
2869         libgloss_link_flags to find crt0.o for targets that use libgloss
2870         instead of newlib.
2871         Change LDFLAGS to LIBS.
2872         Consistently name procedures libstdc++-XXX.
2873         * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
2874         
2875 2001-05-08  Benjamin Kosnik  <bkoz@fillmore.constant.com>
2876
2877         * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
2878         (strchr): Same.
2879         (strpbrk): Same.
2880         (strrchr): Same.
2881         (strstr): Same.
2882         * include/c_std/bits/std_cwchar.h (wcschr): Same.
2883         (wcsbrk): Same.
2884         (wcsrchr): Same.
2885         (wcsstr): Same.
2886         (wmemchr): Same.
2887         * testsuite/21_strings/c_strings.cc: Add tests.
2888         
2889 2001-05-07  Benjamin Kosnik  <bkoz@redhat.com>
2890
2891         libstdc++/2523
2892         * include/bits/std_fstream.h (basic_filebuf): Change signature.
2893         * include/bits/fstream.tcc (basic_filebuf): Change bool argument
2894         to int_type, pass in buffer size info.
2895         * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
2896         unbuffered situation.
2897         (underflow): Remove codecvt bits for the time being.
2898         * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
2899         * include/bits/locale_facets.tcc (_M_extract): Cache dereference
2900         values from iterators, clean.
2901         * src/locale.cc: Ditto.
2902         * include/bits/sbuf_iter.h: Format.
2903         * src/ios.cc: Explicitly pass in buffer sizes at creation time.
2904         * testsuite/27_io/narrow_stream_objects.cc: Add tests.
2905         * testsuite/27_io/filebuf.cc: Tweaks.
2906         * testsuite/27_io/filebuf_members.cc: Tweaks.
2907         
2908 2001-05-07  Mark Mitchell  <mark@codesourcery.com>
2909
2910         * config/os/solaris/solaris2.7/bits/os_defines.h
2911         (_LARGEFILE_SOURCE): Define it.
2912
2913 2001-05-03  Alexandre Oliva  <aoliva@redhat.com>
2914
2915         * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
2916         -prefer-non-pic depending on whether libtool has shared libraries
2917         enabled or disabled.
2918         * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
2919         $(LIBSUPCXX_PICFLAGS).
2920         * configure, */Makefile.in: Rebuilt.
2921
2922 2001-05-01  Benjamin Kosnik  <bkoz@redhat.com>
2923
2924         * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
2925         * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
2926
2927         * include/bits/std_sstream.h (stringbuf): Leak
2928         copied string.
2929         * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
2930         
2931 2001-05-01  Tom Browder  <tbrowder@home.com>
2932
2933         * docs/html/ext/howto.html:  Fix typo.
2934
2935 2001-05-01  Gabriel Dos Reis  <gdr@codesourcery.com>
2936
2937         * testsuite/libstdc++.tests/tests.exp: Add comment.
2938
2939 2001-05-01  Gabriel Dos Reis  <gdr@codesourcery.com>
2940
2941         * testsuite/libstdc++.tests/tests.exp: Set ulimits.
2942
2943 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
2944
2945         * porting.texi: Use the GFDL.
2946
2947 2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>
2948
2949         libstdc++/2627 
2950         * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
2951         * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
2952         specializations.
2953
2954 2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>
2955
2956         libstdc++/2964
2957         * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
2958
2959 2001-04-28  Phil Edwards  <pme@sources.redhat.com>
2960
2961         * docs/doxygen/run_doxygen:  Minor tweaks.
2962         * docs/doxygen/style.css:  New file.
2963         * docs/doxygen/user.cfg.in:  Update using "doxygen -u" to get the
2964         latest parameters available.  Use style.css.
2965
2966 2001-04-27  Benjamin Kosnik  <bkoz@redhat.com>
2967
2968         * docs/doxygen/mainpage.doxy: New.
2969         * docs/doxygen/user.cfg.in: Change default configuration. Single
2970         frame, other tweaks.
2971
2972 2001-04-26  Mark Mitchell  <mark@codesourcery.com>
2973
2974         * docs/html/17_intro/BADNAMES: Remove EGCS reference.
2975         Indicate obsolete nature of thelist for G++ 3.0.
2976
2977 2001-04-26  Alexandre Oliva  <aoliva@redhat.com>
2978
2979         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
2980         target_thread_file with `gcc -v'.
2981         * aclocal.m4, configure: Rebuilt.
2982
2983 2001-04-25  Benjamin Kosnik  <bkoz@redhat.com>
2984
2985         * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
2986         * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
2987         * include/c_std/bits/std_cwchar.h (std): Same.
2988         * acconfig.h (std): Remove c99 injection into std.
2989         * config.h.in: Regenerate.
2990         
2991         * testsuite/README: Fix typo.
2992
2993         * include/bits/codecvt.h: Remove warnings.
2994         
2995 2001-04-24  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2996
2997         * include/ext/slist: Include required header files. 
2998
2999 2001-04-23  Loren J. Rittle  <ljrittle@acm.org>
3000
3001         * include/c_std/bits/std_cerrno.h (errno): Define macro from
3002         identifier declared with external linkage, if needed.
3003         * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
3004         * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
3005
3006 2001-04-23  Benjamin Kosnik  <bkoz@fillmore.constant.com>
3007
3008         * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
3009         re-configures find the build compiler.
3010         (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
3011         libstdc++/2609.
3012         * aclocal.m4: Regenerate.
3013         * configure: Regenerate.
3014
3015 2001-04-20  Benjamin Kosnik  <bkoz@redhat.com>
3016
3017         * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
3018         support is enabled correctly before long long is activated.
3019         * aclocal.m4: Regenerate.
3020         * configure: Regenerate.
3021         
3022         * include/backward/backward_warning.h: Format correctly.
3023
3024         * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
3025         * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
3026         * testsuite/26_numerics/c99_macros.cc: Remove.
3027         
3028 2001-04-20  Phil Edwards  <pme@sources.redhat.com>
3029
3030         * include/bits/stl_bvector.h:  Replace __ITERATOR_CATEGORY with
3031         __iterator_category.
3032
3033 2001-04-19  Benjamin Kosnik  <bkoz@redhat.com>
3034
3035         * acconfig.h (_GLIBCPP_USE_C99): Add.
3036         * config.h.in: Regenerate.
3037         * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
3038         9899: 1999 support.
3039         * aclocal.m4: Regenerate.
3040         * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
3041         * configure: Regenerate.
3042         * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
3043         * configure: Regenerate.
3044         * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
3045         into c99.
3046         * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
3047         namespace.
3048         * include/c_std/bits/std_cstdlib.h: Same.
3049         * docs/html/configopts.html: Update.
3050         * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
3051         math.h
3052         (test_c99_classify): Add.
3053         * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
3054         (_ISOC99_SOURCE): Remove.
3055
3056         * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
3057         * include/bits/c++config (__STL_ASSERTIONS): Simplify.
3058         * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
3059         * aclocal.m4: Regenerate.
3060         * configure: Regenerate.
3061         
3062 2001-04-19  Phil Edwards  <pme@sources.redhat.com>
3063
3064         * Makefile.am (doxygen):  Assume script is missing execute perms.
3065         * Makefile.in:  Regenerated.
3066         * docs/doxygen/user.cfg.in:  Add class diagrams and source browsing.
3067
3068 2001-04-17  Loren J. Rittle  <ljrittle@acm.org>
3069
3070         * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
3071
3072 2001-04-17  Benjamin Kosnik  <bkoz@redhat.com>
3073
3074         * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
3075         * testsuite/23_containers/set_operators.cc: Same.
3076
3077         * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
3078         default.
3079         (__GLIBCPP__): Bump from value of last release.
3080         * include/bits/concept_check.h: Default to off, edit comments.
3081         * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
3082         * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS. 
3083         * src/Makefile.in: Regenerate.
3084         
3085 2001-04-14  Martin Reinecke <martin@MPA-Garching.MPG.DE>
3086
3087         * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
3088         Properly uglify member.
3089
3090 2001-04-13  Phil Edwards  <pme@sources.redhat.com>
3091
3092         * include/bits/stl_algobase.h (equal):  Use EqualOpConcept instead
3093         of EqualityCo
3094         mparableConcept.
3095
3096 2001-04-13  Phil Edwards  <pme@sources.redhat.com>
3097
3098         * include/bits/boost_concept_check.h:  Uglify, fork from Boost.
3099         * include/bits/concept_check.h:  Uglify.
3100         * include/bits/stl_algo.h:  Likewise.
3101         * include/bits/stl_algobase.h:  Likewise.
3102         * include/bits/stl_deque.h:  Likewise.
3103         * include/bits/stl_heap.h:  Likewise.
3104         * include/bits/stl_iterator_base_funcs.h:  Likewise.
3105         * include/bits/stl_list.h:  Likewise.
3106         * include/bits/stl_map.h:  Likewise.
3107         * include/bits/stl_multimap.h:  Likewise.
3108         * include/bits/stl_multiset.h:  Likewise.
3109         * include/bits/stl_numeric.h:  Likewise.
3110         * include/bits/stl_queue.h:  Likewise.
3111         * include/bits/stl_set.h:  Likewise.
3112         * include/bits/stl_stack.h:  Likewise.
3113         * include/bits/stl_vector.h:  Likewise.
3114         * include/ext/hash_map:  Likewise.
3115         * include/ext/hash_set:  Likewise.
3116         * include/ext/slist:  Likewise.
3117
3118 2001-04-13  Gabriel Dos Reis  <gdr@codesourcery.com>
3119
3120         * testsuite/23_containers/set_operators.cc: Just try to compile.
3121         Mark as XFAIL.   
3122         * testsuite/23_containers/map_operators.cc: Same.
3123
3124 2001-04-12  Jason Merrill  <jason_merrill@redhat.com>
3125
3126         * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
3127         output_file.
3128         (dg-test): Revert rth's change.
3129
3130 2001-04-12  Nathan Sidwell  <nathan@codesourcery.com>
3131
3132         * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
3133         terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
3134
3135 2001-04-12  Gabriel Dos Reis  <gdr@codesourcery.com>
3136
3137         * testsuite/README: Add DejaGnu specific documentation.
3138
3139 2001-04-11  Benjamin Kosnik  <bkoz@redhat.com>
3140         
3141         * acinclude.m4: AC_CHECK_TOOL for expect.
3142         * aclocal.m4: Regenerate.
3143         * configure: Regenerate.
3144         * testsuite/Makefile.am (RUNTEST): Use substituted.
3145         (EXPECT): Same.
3146
3147         * configure.in: Remove xcompiling substitution.
3148         * tests_flags.in (CROSS_LIB_PATH): Remove.
3149         (xcompiling): Remove.
3150         (CXX): Use substituted CXX.
3151         
3152 2001-04-11  Richard Henderson  <rth@redhat.com>
3153
3154         * testsuite/lib/libstdc++.exp: Specify path for output_file.
3155
3156 2001-04-08  Gabriel Dos Reis  <gdr@codesourcery.com>
3157
3158         * include/bits/std_valarray.h(valarray<>::operator[]): Make
3159         inline. 
3160
3161 2001-04-06  Gabriel Dos Reis  <gdr@codesourcery.com>
3162   
3163         * testsuite/25_algorithms/equal.cc: New test.
3164
3165 2001-04-06  Joe Buck  <jbuck@welsh-buck.org>
3166
3167         * stl_algobase.h (std::equal): avoid use of possibly-undefined
3168         operator != (one line patch).
3169
3170 2001-04-06   Benjamin Kosnik  <bkoz@redhat.com>
3171
3172         * include/backward/backward_warning.h: Re-enable.
3173
3174 2001-04-06  Benjamin Kosnik  <bkoz@redhat.com>
3175             Alexandre Oliva  <aoliva@redhat.com>
3176         
3177         * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
3178
3179 2001-04-06  Gabriel Dos Reis  <gdr@codesourcery.com>
3180
3181         * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
3182         * testsuite/26_numerics/c99_macros.cc: Add test.
3183
3184 2001-04-06  Phil Edwards  <pme@sources.redhat.com>
3185
3186         * docs/html/faq/index.html:  Update for 2.92, grab from RELEASE-NOTES.
3187         * docs/html/faq/index.txt:  Regenerated.
3188
3189 2001-04-06  Benjamin Kosnik  <bkoz@redhat.com>
3190
3191         * include/backward/backward_warning.h: Temporarily disable until
3192         g++ testsuite changes go in.
3193         * tests_flags.in (CROSS_LIB_PATH): Add.
3194
3195 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
3196
3197         Warn when using backward headers.
3198         * include/backward/algo.h: Include warning file.        
3199         * include/backward/vector.h: Same.
3200         * include/backward/tree.h: Same.
3201         * include/backward/tempbuf.h: Same.
3202         * include/backward/strstream: Same.
3203         * include/backward/streambuf.h: Same.
3204         * include/backward/stream.h: Same.
3205         * include/backward/stack.h: Same.
3206         * include/backward/slist.h: Same.
3207         * include/backward/set.h: Same.
3208         * include/backward/rope.h: 
3209         * include/backward/queue.h: Same.
3210         * include/backward/pair.h: Same.
3211         * include/backward/ostream.h: Same.
3212         * include/backward/new.h: Same.
3213         * include/backward/multiset.h: Same.
3214         * include/backward/multimap.h: Same.
3215         * include/backward/map.h: Same.
3216         * include/backward/list.h: Same.
3217         * include/backward/iterator.h: Same.
3218         * include/backward/istream.h: Same.
3219         * include/backward/iostream.h: 
3220         * include/backward/iomanip.h: 
3221         * include/backward/heap.h: Same.
3222         * include/backward/hashtable.h: 
3223         * include/backward/hash_set.h: 
3224         * include/backward/hash_map.h: 
3225         * include/backward/function.h: 
3226         * include/backward/fstream.h: 
3227         * include/backward/deque.h: 
3228         * include/backward/defalloc.h: Same.
3229         * include/backward/complex.h: Same.
3230         * include/backward/bvector.h: 
3231         * include/backward/alloc.h: 
3232         * include/backward/algobase.h: Same.
3233
3234         * include/backward/backward_warning.h: New file.
3235         * src/Makefile.am (backward_headers): Add backward_warning.h
3236         * src/Makefile.in: Regenerate.
3237
3238 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
3239
3240         * src/Makefile.am (myinstalldirs): Make sure backward directory is
3241         created.
3242         (myinstallheaders): Install backward headers in backward directory.
3243         * src/Makefile.in: Regenerate.
3244         
3245 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
3246
3247         Prepare for libstdc++-2.92.
3248         * docs/html/17_intro/RELEASE-NOTES (New): Update.
3249         * docs/html/configopts.html: Fix formatting.
3250         * README (file): Updates.
3251         * include/bits/c++config (__GLIBCPP__): Update.
3252
3253 2001-04-05  Phil Edwards  <pme@sources.redhat.com>
3254
3255         * docs/doxygen/run_doxygen:  Check for the existence of Doxygen.
3256
3257 2001-04-04  Phil Edwards  <pme@sources.redhat.com>
3258
3259         * docs/doxygen/user.cfg.in:  Extract all non-private members;
3260         reduce confusing documentation output.
3261
3262 2001-04-04  Geoffrey Keating  <geoffk@redhat.com>
3263
3264         * include/backward/fstream.h: Add missing semicolons.
3265
3266 2001-04-03  Benjamin Kosnik  <bkoz@redhat.com>
3267
3268         * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
3269         * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
3270         _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
3271         (ios_base::Init::_S_ios_create): New.
3272         (ios_base::Init::_S_ios_destroy): New.  
3273         * include/bits/std_fstream.h: Change ctor args.
3274         * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
3275         (ios_base::Init::~Init): Use _S_ios_destroy.
3276         (ios_base::sync_with_stdio): Use new members.
3277         * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
3278         filebuf ctor.
3279
3280 2001-04-03  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3281
3282         * include/backward/fstream.h:  Expose streampos to global
3283         namespace.
3284         
3285 2001-04-03  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3286
3287         * include/bits/stl_iterator_base_types.h: Fix typo
3288
3289 2001-04-03  Andreas Schwab  <schwab@suse.de>
3290
3291         * include/backward/fstream.h: Define filebuf and wfilebuf.
3292
3293 2001-04-02  Phil Edwards  <pme@sources.redhat.com>
3294
3295         New concept checking implementation.
3296         * docs/html/19_diagnostics/howto.html:  Document.
3297         * docs/html/17_intro/concept_check.diff:  New file, for reference.
3298         * include/bits/boost_concept_check.h:  New file from Boost.
3299         * include/bits/c++config:  Update comments.
3300
3301         * include/bits/concept_check.h:  New file.
3302         * include/bits/concept_checks.h:  Removed.
3303         * include/bits/container_concepts.h:  Removed.
3304         * include/bits/sequence_concepts.h:  Removed.
3305         * include/bits/stl_iterator_base.h:  Removed; split into...
3306         * include/bits/stl_iterator_base_funcs.h:  ...this new file...
3307         * include/bits/stl_iterator_base_types.h:  ...and this new file.
3308
3309         * include/bits/sbuf_iter.h:  Update to use new implementation.
3310         * include/bits/std_iterator.h:  Likewise.
3311         * include/bits/std_memory.h:  Likewise.
3312         * include/bits/stl_algo.h:  Likewise.
3313         * include/bits/stl_algobase.h:  Likewise.
3314         * include/bits/stl_construct.h:  Likewise.
3315         * include/bits/stl_deque.h:  Likewise.
3316         * include/bits/stl_heap.h:  Likewise.
3317         * include/bits/stl_list.h:  Likewise.
3318         * include/bits/stl_map.h:  Likewise.
3319         * include/bits/stl_multimap.h:  Likewise.
3320         * include/bits/stl_multiset.h:  Likewise.
3321         * include/bits/stl_numeric.h:  Likewise.
3322         * include/bits/stl_queue.h:  Likewise.
3323         * include/bits/stl_set.h:  Likewise.
3324         * include/bits/stl_stack.h:  Likewise.
3325         * include/bits/stl_uninitialized.h:  Likewise.
3326         * include/bits/stl_vector.h:  Likewise.
3327         * include/ext/hash_map:  Likewise.
3328         * include/ext/hash_set:  Likewise.
3329         * include/ext/slist:  Likewise.
3330         * include/ext/stl_hashtable.h:  Likewise.
3331
3332         * src/Makefile.am (base_headers):  Update list of headers.
3333         * Makefile.in:  Regenerated.
3334         * src/Makefile.in:  Regenerated.
3335         * libio/Makefile.in:  Regenerated.
3336         * libmath/Makefile.in:  Regenerated.
3337         * libsupc++/Makefile.in:  Regenerated.
3338         * testsuite/Makefile.in:  Regenerated.
3339
3340         * docs/html/install.html:  Update contact information.
3341         * docs/html/17_intro/howto.html:  Ditto.
3342         * docs/html/18_support/howto.html:  Ditto.
3343         * docs/html/20_util/howto.html:  Ditto.
3344         * docs/html/21_strings/howto.html:  Ditto.
3345         * docs/html/22_locale/howto.html:  Ditto.
3346         * docs/html/23_containers/howto.html:  Ditto.
3347         * docs/html/24_iterators/howto.html:  Ditto.
3348         * docs/html/25_algorithms/howto.html:  Ditto.
3349         * docs/html/26_numerics/howto.html:  Ditto.
3350         * docs/html/27_io/howto.html:  Ditto.
3351         * docs/html/faq/index.html:  Ditto, plus info on new checking code.
3352         * docs/html/ext/howto.html:  Ditto, plus info on new checking code.
3353         * docs/html/faq/index.txt:  Regenerated.
3354
3355 2001-04-02  Zack Weinberg  <zackw@stanford.edu>
3356
3357         * testsuite/lib/libstdc++.exp (dg-test): Annotate result
3358         messages with $which_library as well as $tool_flags and
3359         ${dg-extra-tool-flags}.  Factor out annotation text into
3360         a single variable.
3361
3362 2001-04-02  Stephen M. Webb  <stephen@bregmasoft.com>
3363
3364         * include/c_std/bits/std_cstring.h: Fix for const-correctness.
3365         * include/c_std/bits/std_cwchar.h: Same.
3366         * testsuite/21_strings/c_strings.cc: Add.
3367
3368 2001-04-01  Benjamin Kosnik  <bkoz@codesourcery.com>
3369
3370         * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
3371
3372 2001-04-01  Zack Weinberg  <zackw@stanford.edu>
3373
3374         * tests_flags.in: Use test a = b, not test a == b which is not
3375         portable.
3376
3377 2001-03-31  Benjamin Kosnik  <bkoz@redhat.com>
3378
3379         * configure.target: Remove duplicate aix entry.
3380
3381 2001-03-30  Benjamin Kosnik  <bkoz@redhat.com>
3382
3383         * include/ext/stl_bvector.h: Move to...
3384         * include/bits/stl_vector.h: ...here.
3385         * include/ext/bvector: Move to...
3386         * include/backward/bvector.h: ...here.
3387         * include/bits/std_vector.h: Change stl_bvector include.
3388         * include/bits/std_queue.h: Remove bvector include.
3389         * include/ext/tree: Insert using rb_tree, move to...
3390         * include/backward/tree.h: ...here.
3391         * include/backward/hash_map.h: Include ext/hash_map.
3392         * include/backward/hash_set.h: Include ext/hash_set.
3393         * include/backward/queue.h: New file.
3394         * include/backward/stack.h: Edit.
3395         * include/backward/algo.h: Same.
3396         * include/backward/algobase.h: Same.
3397         * include/backward/alloc.h: Same.
3398         * include/backward/function.h: Same.
3399         * include/backward/iomanip.h: Same.
3400         * include/backward/istream.h: Same.
3401         * include/backward/iterator.h: Same.
3402         * include/backward/list.h: Same.
3403         * include/backward/map.h: Same.
3404         * include/backward/multimap.h: Same.
3405         * include/backward/multiset.h: Same.
3406         * include/backward/ostream.h: Same.
3407         * include/backward/pair.h: Same
3408         * include/backward/rope.h: Same.
3409         * include/backward/set.h: Same.
3410         * include/backward/stream.h: Same.
3411         * include/backward/strstream.h: Same.
3412         * include/backward/tempbuf.h: Same.
3413         * src/Makefile.am (ext_headers): Edit.
3414         * src/Makefile.in: Regenerate.
3415         * testsuite/ext/headers.cc (main): Fix.
3416         * mkcheck.in: Fix.
3417
3418 2001-03-30  Phil Edwards  <pme@sources.redhat.com>
3419
3420         * tests_flags.in (LIBS):  Pass correct path for installed testing.
3421
3422 2001-03-28  Benjamin Kosnik  <bkoz@redhat.com>
3423
3424         * mkcheck.in (LIBTOOL): Don't construct -B argument here...
3425         * tests_flags.in (CXX): Construct here.
3426         (static_fail): Don't remove compile.out. Format with spaces.
3427         (INCLUDES): Deal with xcompiling.
3428         * configure.in (xcompiling): Substitute.
3429         * testsuite/Makefile.am: Snake libjava configury.
3430         * testsuite/Makefile.in: Regenerate.
3431         * testsuite/23_containers/map_operators.cc: Tweaks.
3432         * testsuite/23_containers/set_operators.cc: Tweaks.
3433
3434 2001-03-28  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3435
3436         Enable dejagnu testing framework.
3437         * configure.in: Generate testsuite/Makefile.
3438         * configure: Regenerate.
3439         * Makefile.am (check-install): Change rule from this...
3440         (check-script-install): ...to this.
3441         (check): Change rule from this...
3442         (check-script):...to this.
3443         * Makefile.in: Regenerate.
3444
3445 2001-03-28  Alexandre Oliva  <aoliva@redhat.com>
3446
3447         * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
3448         --tag CXX.
3449         (LIBTOOL): Let automake take care of its definition.
3450         * libsupc++/Makefile.in: Rebuilt.
3451
3452 2001-03-28  Richard Henderson  <rth@redhat.com>
3453
3454         IA-64 ABI Exception Handling:
3455         * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
3456         * configure.in: Use it.
3457         * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
3458         * libsupc++/Makefile.am (sources): Update files list.
3459         * libsupc++/Makefile.in: Regenerate.
3460         * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
3461         * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
3462         * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
3463         * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
3464         * libsupc++/exception_support.cc: Remove.
3465         * libsupc++/exception_support.h: Remove.
3466         * libsupc++/pure.cc: Use std::terminate.
3467         * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
3468         (__is_pointer): Remove.
3469         * libsupc++/unwind-cxx.h: New file.
3470         * libsupc++/vec.cc (uncatch_exception): Update for new abi.
3471
3472 2001-03-27  Alexandre Oliva  <aoliva@redhat.com>
3473
3474         * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
3475         CXX tag explicitly.
3476         * src/Makefile.am (CXXLINK): Likewise.
3477         * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
3478
3479 2001-03-27  Benjamin Kosnik  <bkoz@redhat.com>
3480
3481         * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
3482
3483 2001-03-26  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3484
3485         * libstdc++-v3/tests_flags.in: Change the order of libstdc++
3486           and libc
3487
3488 2001-03-26  Benjamin Kosnik  <bkoz@redhat.com>
3489
3490         * include/bits/basic_file.h (get_fileno): Remove.
3491         (_M_fileno): Remove.
3492         (_M_cfile_created): Add.
3493         (basic_file::basic_file(__c_file_type*, openmode): Add.
3494         (basic_file::basic_file(int, const char*, openmode): Remove.
3495         * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
3496         const char*, ios_base::openmode): Don't allocate
3497         internal buffers. Turn off internal buffers.
3498         (basic_filebuf::overflow): Remove test for null buffer.
3499         (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
3500         * include/bits/streambuf.cc: Tweak.
3501         * include/bits/std_ostream.h: Tweak.
3502         * config/basic_file_libio.h: Same.
3503         * config/basic_file_stdio.h: Same.
3504         * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
3505         * testsuite/27_io/filebuf_members.cc: Tweaks.
3506         * testsuite/27_io/ios_base_members_static.cc: Tweaks.
3507
3508 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
3509
3510         * Makefile.am:  New targets, doxygen and doxygen-maint.
3511         * Makefile.in:  Regenerated.
3512         * docs/doxygen/run_doxygen:  Finally implemented.
3513         * docs/doxygen/maint.cfg.in:  New file.
3514         * docs/doxygen/user.cfg.in:  New file.
3515
3516 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
3517
3518         * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES):  Update comment.
3519         * src/Makefile.am:  Replace leading spaces with tabs on continuation
3520         lines.
3521         * aclocal.m4:  Regenerated.
3522         * configure:  Ditto.
3523         * Makefile.in:  Ditto.
3524         * src/Makefile.in:  Ditto.
3525         * libio/Makefile.in:  Ditto.
3526         * libmath/Makefile.in:  Ditto.
3527         * libsupc++/Makefile.in:  Ditto.
3528
3529 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
3530
3531         * docs/html/19_diagnostics/howto.html:  HTML fixup.  Describe
3532         concept-checking code and current status of same.
3533         * docs/html/ext/howto.html:  Ditto.
3534         * docs/html/faq/index.html:  Ditto.
3535         * docs/html/faq/index.txt:  Regenerated.
3536
3537 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
3538
3539         * include/bits/std_bitset.h:  Include ostream and istream headers
3540         instead of iostream.
3541
3542 2001-03-22  Greg Bumgardner <bumgard@roguewave.com>
3543
3544         * include/bits/ostream.tcc: Use __builtin_alloca.
3545
3546 2001-03-22  Benjamin Kosnik  <bkoz@redhat.com>
3547
3548         * src/misc-inst.cc (__sink_unused_warning): Move to...
3549         * src/locale-inst.cc (__sink_unused_warning): Move to...
3550         * src/stl-inst.cc: Here.
3551         * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
3552         commented it out.
3553
3554 2001-03-21  Theodore Papadopoulo  <Theodore.Papadopoulo@sophia.inria.fr>
3555
3556         * intclude/bits/basic_file.h: Fix typos in comments.
3557
3558 2001-03-20  Richard Henderson  <rth@redhat.com>
3559
3560         * src/gen-num-limits.cc: Instantiate for wchar_t.
3561         * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
3562
3563 2001-03-20  Jason Merrill  <jason@redhat.com>
3564
3565         * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
3566         (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
3567         * libsupc++/cxxabi.h: Declare it.
3568
3569 2001-03-16  Alexandre Oliva  <aoliva@redhat.com>
3570
3571         * src/gen-num-limits.cc (signal_adapter): Overloaded to match
3572         signal_func with an unspecified argument list.
3573
3574 2001-03-15  Benjamin Kosnik  <bkoz@redhat.com>
3575
3576         * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
3577
3578 2001-03-15  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3579
3580         * include/bits/basic_string.tcc (operator+): Fix thinko.
3581
3582 2001-03-14  Benjamin Kosnik  <bkoz@redhat.com>
3583
3584         libstdc++/2020
3585         * include/bits/std_streambuf.h: Remove cached locale facets.
3586         (basic_streambuf::_M_buf_fctype): Remove.
3587         (basic_streambuf::~basic_streambuf): Remove here.
3588         (basic_streambuf::basic_streambuf): Same.
3589         (basic_streambuf::imbue): Same.
3590         * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
3591         * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
3592         (basic_filebuf::~basic_filebuf()): Remove here.
3593         * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
3594         (basic_filebuf::imbue): Same.
3595         * include/bits/localefwd.h (_Count_ones): Remove.
3596         (locale::_S_num_categories): Just use 6, since this doesn't
3597         actually change, ever.
3598         * include/bits/locale_facets.tcc (has_facet): Simplify.
3599         (use_facet): Same.
3600         * testsuite/27_io/filebuf.cc (test06): Add tests.
3601
3602 2001-03-13  Steve Ellcey  <sje@cup.hp.com>
3603
3604         * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
3605         match HP-UX ctype.h header file.
3606
3607 2001-03-13  Andris Pavenis <pavenis@latnet.lv>
3608
3609         * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
3610         duplicate definitions of __dj_ctype_*
3611
3612 2001-03-13  Benjamin Kosnik  <bkoz@redhat.com>
3613
3614         * libsupc++/new: Remove pragma interface.
3615         * libsupc++/typeinfo: Same.
3616         * libsupc++/exception: Same.
3617         * libsupc++/new_handler.cc: Remove pragma implementation.
3618         (bad_alloc::~bad_alloc()): Add.
3619         * libsupc++/exception_support.cc: Same.
3620         (exception::~exception): Add.
3621         (bad_exception::~bad_exception): Add.
3622         * libsupc++/tinfo.cc: Same.
3623         (bad_cast::~bad_cast): Add.
3624         (bad_typeid::~bad_typeid): Add.
3625
3626 2001-03-13  Phil Edwards  <pme@sources.redhat.com>
3627
3628         * mkcheck.in:  Fix IFS regression for non-bash-2.01 hosts.
3629
3630 2001-03-12  Felix Lee  <flee@redhat.com>
3631
3632         * mkcheck.in: workaround for bash 2.01 IFS bug.
3633
3634 2001-03-12  Benjamin Kosnik  <bkoz@redhat.com>
3635
3636         Fixups for -fno-for-scope
3637         * include/bits/locale_facets.tcc (__match_parallel): Fixup.
3638         * src/valarray-inst.cc (__gslice_to_index): Same.
3639
3640 2001-03-12  Rodney Brown  <RodneyBrown@mynd.com>
3641
3642         * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
3643         prior to trapping signal (UnixWare 7 workaround).
3644
3645 2001-03-12  Craig Rodrigues  <rodrigc@mediaone.net>
3646
3647         * include/backward/hashtable.h: Same.
3648         * include/backward/rope.h: Fix include.
3649
3650 2001-03-12  Benjamin Kosnik  <bkoz@redhat.com>
3651
3652         * include/backward/vector.h: Include std_vector.h.
3653
3654         * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
3655         operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
3656         Fix typo.
3657
3658 2001-03-11  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3659
3660         * include/ext/stl_hashtable.h: Change type of __n to size_t
3661         * include/backward/bvector.h: Include <ext/stl_bvector.h>
3662
3663 2001-03-09  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3664
3665         * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
3666         operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
3667         Use streamsize, not int_type.
3668
3669 2001-03-08  Benjamin Kosnik  <bkoz@redhat.com>
3670
3671         * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
3672         moment.
3673
3674 2001-03-08  Andreas Schwab  <schwab@suse.de>
3675
3676         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
3677         command.
3678         * aclocal.m4, configure: Regenerated.
3679
3680 2001-03-07  Benjamin Kosnik  <bkoz@redhat.com>
3681
3682         * include/bits/std_iosfwd.h: Remove string forward decls here.
3683         * include/bits/stringfwd.h: Add forward decls for char_traits
3684         specializations.
3685         * config/c_io_libio.h (wstreamoff): Delete.
3686         * config/c_io_stdio.h (wstreamoff): Same.
3687         * include/bits/char_traits.h: Use streamoff not wstreamoff for
3688         char_traits<wchar_t>::off_type.
3689         Remove duplicate typedefs.
3690         * include/bits/fpos.h: Define streampos/wstreampos here.
3691         * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
3692         values to off_type.
3693         (test05): Same.
3694         Changeup output files.
3695         * testsuite/27_io/istream_unformatted.cc: Change output files.
3696         * testsuite/27_io/istream_seeks-1.txt: Add.
3697         * testsuite/27_io/istream_seeks-2.tst: Add.
3698         * testsuite/27_io/istream_seeks-1.tst: Add.
3699         * testsuite/27_io/istream_unformatted-2.tst: Delete.
3700         * testsuite/27_io/istream_unformatted-3.tst: Delete.
3701         * testsuite/27_io/istream_unformatted-3.txt: Delete.
3702
3703 2001-03-07  Alexandre Oliva  <aoliva@redhat.com>
3704
3705         Add Irix 5.2, 6.3 support.
3706         * config/os/irix/bits: Renamed to...
3707         * config/os/irix/irix6.5/bits: this.
3708         * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
3709         * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
3710         _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
3711         * config/os/irix/irix5.2/bits/ctype_noninline.h
3712         (ctype<char>::ctype): Initialize _M_table with __ctype.
3713         * configure.target: Adjust.
3714
3715 2001-03-06  Benjamin Kosnik  <bkoz@redhat.com>
3716
3717         libstdc++/2181
3718         * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
3719         operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
3720         sentry.
3721         (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
3722         (*__pf)(__ios_type&)): Same.
3723         (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
3724         (*__pf)(ios_base&))): Same.
3725         * testsuite/27_io/istream_extractor_other.cc: Add tests.
3726         * testsuite/27_io/istream_manip.cc (test01): Fix.
3727
3728 2001-03-06  Nathan Myers  <ncm@cantrip.org>
3729             Benjamin Kosnik  <bkoz@redhat.com>
3730
3731         * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
3732         * testsuite/17_intro/header_cerrno.cc (test01): New file.
3733         * testsuite/17_intro/header_cassert.cc (test01): New file.
3734         * testsuite/17_intro/header_cstddef.cc (test01): New file.
3735         * testsuite/17_intro/header_csetjmp.cc (test01): New file.
3736         * testsuite/17_intro/header_cstdarg.cc (test01): New file.
3737
3738 2001-03-05  scott snyder  <snyder@fnal.gov>
3739
3740         libstdc++/2190
3741         * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
3742         from here...
3743         * include/c_std/bits/std_cstdlib.h: ... to here.
3744         * testsuite/17_intro/header_cstdlib.cc: Add test.
3745
3746 2001-03-05  Stephen M. Webb  <stephen.webb@cybersafe.com>
3747
3748         * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
3749
3750 2001-03-05  Laurynas Biveinis  <lauras@softhome.net>
3751
3752         * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
3753         definition. Replace enum with static const variables.
3754
3755         * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
3756         throw specification, fix typos, use <static_cast>.
3757         (ctype<char>::scan_is): remove throw specification.
3758         (ctype<char>::scan_not): likewise.
3759
3760         * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
3761         (ctype<char>::do_toupper(char)): use <static_cast>.
3762         (ctype<char>::do_toupper(char *, const char *)): likewise.
3763         (ctype<char>::do_tolower(char)): likewise.
3764         (ctype<char>::do_tolower(char *, const char *)): likewise.
3765
3766 2001-03-04  Phil Edwards  <pme@sources.redhat.com>
3767
3768         http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
3769         * include/backward/algo.h:  Use std not __STD.  Remove unneeded
3770         macros and "never happens" code.  Adjust to C++STYLE guidelines.
3771         * include/backward/algobase.h:  Likewise.
3772         * include/backward/alloc.h:  Likewise.
3773         * include/backward/bvector.h:  Likewise.
3774         * include/backward/deque.h:  Likewise.
3775         * include/backward/function.h:  Likewise.
3776         * include/backward/hash_map.h:  Likewise.
3777         * include/backward/hash_set.h:  Likewise.
3778         * include/backward/hashtable.h:  Likewise.
3779         * include/backward/heap.h:  Likewise.
3780         * include/backward/iterator.h:  Likewise.
3781         * include/backward/list.h:  Likewise.
3782         * include/backward/map.h:  Likewise.
3783         * include/backward/multimap.h:  Likewise.
3784         * include/backward/multiset.h:  Likewise.
3785         * include/backward/pair.h:  Likewise.
3786         * include/backward/rope.h:  Likewise.
3787         * include/backward/set.h:  Likewise.
3788         * include/backward/slist.h:  Likewise.
3789         * include/backward/stack.h:  Likewise.
3790         * include/backward/strstream:  Likewise.
3791         * include/backward/tempbuf.h:  Likewise.
3792         * include/backward/tree.h:  Likewise.
3793         * include/backward/vector.h:  Likewise.
3794         * include/bits/basic_ios.h:  Likewise.
3795         * include/bits/basic_ios.tcc:  Likewise.
3796         * include/bits/basic_string.h:  Likewise.
3797         * include/bits/c++config:  Likewise.
3798         * include/bits/concept_checks.h:  Likewise.
3799         * include/bits/fpos.h:  Likewise.
3800         * include/bits/fstream.tcc:  Likewise.
3801         * include/bits/functexcept.h:  Likewise.
3802         * include/bits/ios_base.h:  Likewise.
3803         * include/bits/istream.tcc:  Likewise.
3804         * include/bits/mask_array.h:  Likewise.
3805         * include/bits/ostream.tcc:  Likewise.
3806         * include/bits/pthread_allocimpl.h:  Likewise.
3807         * include/bits/sbuf_iter.h:  Likewise.
3808         * include/bits/slice.h:  Likewise.
3809         * include/bits/slice_array.h:  Likewise.
3810         * include/bits/sstream.tcc:  Likewise.
3811         * include/bits/std_bitset.h:  Likewise.
3812         * include/bits/std_fstream.h:  Likewise.
3813         * include/bits/std_iomanip.h:  Likewise.
3814         * include/bits/std_ios.h:  Likewise.
3815         * include/bits/std_istream.h:  Likewise.
3816         * include/bits/std_iterator.h:  Likewise.
3817         * include/bits/std_memory.h:  Likewise.
3818         * include/bits/std_ostream.h:  Likewise.
3819         * include/bits/std_sstream.h:  Likewise.
3820         * include/bits/std_streambuf.h:  Likewise.
3821         * include/bits/std_string.h:  Likewise.
3822         * include/bits/std_valarray.h:  Likewise.
3823         * include/bits/stl_algo.h:  Likewise.
3824         * include/bits/stl_algobase.h:  Likewise.
3825         * include/bits/stl_alloc.h:  Likewise.
3826         * include/bits/stl_construct.h:  Likewise.
3827         * include/bits/stl_deque.h:  Likewise.
3828         * include/bits/stl_function.h:  Likewise.
3829         * include/bits/stl_heap.h:  Likewise.
3830         * include/bits/stl_iterator.h:  Likewise.
3831         * include/bits/stl_iterator_base.h:  Likewise.
3832         * include/bits/stl_list.h:  Likewise.
3833         * include/bits/stl_map.h:  Likewise.
3834         * include/bits/stl_multimap.h:  Likewise.
3835         * include/bits/stl_multiset.h:  Likewise.
3836         * include/bits/stl_numeric.h:  Likewise.
3837         * include/bits/stl_pair.h:  Likewise.
3838         * include/bits/stl_pthread_alloc.h:  Likewise.