OSDN Git Service

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