OSDN Git Service

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