OSDN Git Service

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