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