OSDN Git Service

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