OSDN Git Service

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