OSDN Git Service

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