OSDN Git Service

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