OSDN Git Service

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