OSDN Git Service

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