OSDN Git Service

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