OSDN Git Service

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