OSDN Git Service

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