OSDN Git Service

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