OSDN Git Service

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