1 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
2 John David Anglin <dave@hiauly1.hia.nrc.ca>
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
8 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
9 code path into line with the current EH model. Use std, where
12 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
13 John David Anglin <dave@hiauly1.hia.nrc.ca>
15 * config/threads-no.h: Remove file.
16 * config/threads-posix.h: Remove file.
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.
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
27 * aclocal.m4: Regenerate.
28 * configure: Regenerate.
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.
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
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.
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.
52 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
54 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
56 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
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.
68 2001-06-04 Brendan Kehoe <brendan@zen.org>
69 Benjamin Kosnik <bkoz@redhat.com>
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.
77 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
78 Phil Edwards <pme@sources.redhat.com>
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.
84 2001-06-04 Phil Edwards <pme@sources.redhat.com>
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.
91 2001-06-04 Brendan Kehoe <brendan@zen.org>
92 Phil Edwards <pme@sources.redhat.com>
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.
99 2001-06-04 Brendan Kehoe <brendan@zen.org>
102 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
103 ctors to match the standard.
105 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
107 * include/bits/char_traits.h (move): Reverse qualification of
109 (copy): Reverse qualification of memcpy with std::.
111 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
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
118 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
120 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
122 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
123 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
124 SUN make VPATH peculiarities.
125 * libsupc++/Makefile.in: Regenerate.
127 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
129 * src/Makefile.am (VPATH): Delimit with ":", not space.
130 * src/Makefile.in: Regenerate.
132 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
134 * configure: Regenerate.
136 2001-05-31 scott snyder <snyder@fnal.gov>
139 * include/bits/istream.tcc: Include std_ostream.h.
141 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
144 * src/bitset.cc: Qualify size_t with std::.
146 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
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.
157 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
158 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
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
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):
188 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
190 * include/bits/c++config (__USE_MALLOC): Do not define it.
191 Document why not and give pointers to more information.
193 * docs/html/23_containers/howto.html: Update documentation
194 to reflect recent understanding of problem.
195 * docs/html/17_intro/howto.html: Likewise.
197 2001-05-30 Phil Edwards <pme@sources.redhat.com>
199 * docs/doxygen/user.cfg.in: Minor addition.
200 * docs/html/documentation.html: Reorganize. Put most-looked-at
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.
218 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
220 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
221 get_multilibs to find gcc.
223 2001-05-30 Phil Edwards <pme@sources.redhat.com>
225 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
226 * aclocal.m4: Regenerate.
227 * configure: Regenerate.
229 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
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.
234 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
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.
240 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
242 * docs/html/17_intro/howto.html: Update link.
243 * docs/html/23_containers/howto.html: Likewise. Add new link.
245 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
247 * include/c_std/bits/std_cmath.h (sqrt): #undef.
249 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
251 * mknumeric_limits: Stop if gen-num-limits dies.
253 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
256 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
257 * aclocal.m4: Regenerate.
260 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
261 Phil Edwards <pme@sources.redhat.com>
262 Alexandre Oliva <aoliva@redhat.com>
264 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
265 in an amd-safe manner. Revert glibcpp_prefixdir.
267 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
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_
273 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
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.
280 2001-05-24 Phil Edwards <pme@sources.redhat.com>
282 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
284 (__cxa_free_exception): Likewise with free.
286 2001-05-24 Mark Mitchell <mark@codesourcery.com>
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',
294 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
297 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
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.
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.
313 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
315 * include/bits/c++config(__NO_MATH_INLINES): Move to...
316 * config/os/gnu-linux/bits/os_defines.h: ...here.
318 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
320 * include/bits/c++config (__NO_MATH_INLINES): New macro.
321 * testsuite/26_numerics/fabs_inline.cc (main): New test.
323 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
326 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
328 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
329 (libstdc++-v3-finish): Remove.
330 (libstdc++-v3_exit): Remove.
332 2001-05-22 Phil Edwards <pme@sources.redhat.com>
334 * docs/html/documentation.html: Point to doxygen output.
336 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
338 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
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.
355 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
357 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
359 (strchr): Same, but to __glibcpp_strchr.
363 * include/c_std/bits/std_cwchar.h (wcschr): Same.
369 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
371 * testsuite/21_strings/c_strings.cc (main): Fix.
373 2001-05-19 Phil Edwards <pme@sources.redhat.com>
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.
381 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
383 * testsuite/README: Add notes.
385 * src/Makefile.am (libstdc++.INC): Remove.
386 * src/Makefile.in: Regenerate.
388 Phil Edwards <pedwards@disaster.jaj.com>
389 * mkcheck.in: Add missing '#'.
391 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
393 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
394 appropriately for remote testing and testing installed files without
397 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
399 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
400 amd glibcpp_prefixdir with absolute paths.
402 * include/bits/c++config (__GLIBCPP__): Bump.
403 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
405 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
407 * include/bits/std_valarray.h (valarray<>::operator[] const):
408 Return a const reference.
409 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
411 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
413 * configure.target (ATOMICITYH): Actually use AIX-specific code on
414 earlier versions of AIX 4.*.
416 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
418 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
419 output_file based on the name of the testcase.
421 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
423 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
424 gluefile and use it if needs_status_wrapper is set.
426 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
428 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
431 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
433 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
434 on earlier versions of AIX.
436 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
438 * testsuite_flags.in (query): Add backwards, ext directories.
440 2001-05-15 Mark Mitchell <mark@codesourcery.com>
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
447 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
448 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
450 2001-05-15 Zack Weinberg <zackw@stanford.edu>
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.
458 2001-05-14 Richard Henderson <rth@redhat.com>
460 * mknumeric_limits: Build with -fno-exceptions.
462 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
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.
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.
475 * aclocal.m4: Regerate.
476 * configure: Regnerate.
477 * Makefile.in: Regnerate.
478 * */Makefile.in: Regenerate.
480 * tests_flags.in: Remove.
481 * testsuite/lib/libstdc++.exp: Remove.
482 * testsuite/libstdc++.tests/tests.exp: Remove.
484 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
486 * configure.target: Remove detection of AIX pthread multilib, now
487 obtained from `gcc -v'.
489 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
491 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
492 size. Add hpux case for HP size.
494 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
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.
501 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
503 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
504 * testsuite/config/default.exp: Update bugs email address.
506 2001-05-11 Richard Henderson <rth@redhat.com>
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.
517 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
519 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
520 libgloss_link_flags to find crt0.o for targets that use libgloss
522 Change LDFLAGS to LIBS.
523 Consistently name procedures libstdc++-XXX.
524 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
526 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
528 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
533 * include/c_std/bits/std_cwchar.h (wcschr): Same.
538 * testsuite/21_strings/c_strings.cc: Add tests.
540 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
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.
559 2001-05-07 Mark Mitchell <mark@codesourcery.com>
561 * config/os/solaris/solaris2.7/bits/os_defines.h
562 (_LARGEFILE_SOURCE): Define it.
564 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
566 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
567 -prefer-non-pic depending on whether libtool has shared libraries
569 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
570 $(LIBSUPCXX_PICFLAGS).
571 * configure, */Makefile.in: Rebuilt.
573 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
575 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
576 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
578 * include/bits/std_sstream.h (stringbuf): Leak
580 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
582 2001-05-01 Tom Browder <tbrowder@home.com>
584 * docs/html/ext/howto.html: Fix typo.
586 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
588 * testsuite/libstdc++.tests/tests.exp: Add comment.
590 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
592 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
594 2001-04-30 Mark Mitchell <mark@codesourcery.com>
596 * porting.texi: Use the GFDL.
598 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
601 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
602 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
605 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
608 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
610 2001-04-28 Phil Edwards <pme@sources.redhat.com>
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.
617 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
619 * docs/doxygen/mainpage.doxy: New.
620 * docs/doxygen/user.cfg.in: Change default configuration. Single
623 2001-04-26 Mark Mitchell <mark@codesourcery.com>
625 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
626 Indicate obsolete nature of thelist for G++ 3.0.
628 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
630 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
631 target_thread_file with `gcc -v'.
632 * aclocal.m4, configure: Rebuilt.
634 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
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.
642 * testsuite/README: Fix typo.
644 * include/bits/codecvt.h: Remove warnings.
646 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
648 * include/ext/slist: Include required header files.
650 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
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.
657 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
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
663 * aclocal.m4: Regenerate.
664 * configure: Regenerate.
666 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
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.
673 * include/backward/backward_warning.h: Format correctly.
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.
679 2001-04-20 Phil Edwards <pme@sources.redhat.com>
681 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
684 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
686 * acconfig.h (_GLIBCPP_USE_C99): Add.
687 * config.h.in: Regenerate.
688 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
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
697 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
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
703 (test_c99_classify): Add.
704 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
705 (_ISOC99_SOURCE): Remove.
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.
713 2001-04-19 Phil Edwards <pme@sources.redhat.com>
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.
719 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
721 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
723 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
725 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
726 * testsuite/23_containers/set_operators.cc: Same.
728 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
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.
736 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
738 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
739 Properly uglify member.
741 2001-04-13 Phil Edwards <pme@sources.redhat.com>
743 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
747 2001-04-13 Phil Edwards <pme@sources.redhat.com>
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.
769 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
771 * testsuite/23_containers/set_operators.cc: Just try to compile.
773 * testsuite/23_containers/map_operators.cc: Same.
775 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
777 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
779 (dg-test): Revert rth's change.
781 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
783 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
784 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
786 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
788 * testsuite/README: Add DejaGnu specific documentation.
790 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
792 * acinclude.m4: AC_CHECK_TOOL for expect.
793 * aclocal.m4: Regenerate.
794 * configure: Regenerate.
795 * testsuite/Makefile.am (RUNTEST): Use substituted.
798 * configure.in: Remove xcompiling substitution.
799 * tests_flags.in (CROSS_LIB_PATH): Remove.
800 (xcompiling): Remove.
801 (CXX): Use substituted CXX.
803 2001-04-11 Richard Henderson <rth@redhat.com>
805 * testsuite/lib/libstdc++.exp: Specify path for output_file.
807 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
809 * include/bits/std_valarray.h(valarray<>::operator[]): Make
812 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
814 * testsuite/25_algorithms/equal.cc: New test.
816 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
818 * stl_algobase.h (std::equal): avoid use of possibly-undefined
819 operator != (one line patch).
821 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
823 * include/backward/backward_warning.h: Re-enable.
825 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
826 Alexandre Oliva <aoliva@redhat.com>
828 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
830 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
832 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
833 * testsuite/26_numerics/c99_macros.cc: Add test.
835 2001-04-06 Phil Edwards <pme@sources.redhat.com>
837 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
838 * docs/html/faq/index.txt: Regenerated.
840 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
842 * include/backward/backward_warning.h: Temporarily disable until
843 g++ testsuite changes go in.
844 * tests_flags.in (CROSS_LIB_PATH): Add.
846 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
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.
885 * include/backward/backward_warning.h: New file.
886 * src/Makefile.am (backward_headers): Add backward_warning.h
887 * src/Makefile.in: Regenerate.
889 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
891 * src/Makefile.am (myinstalldirs): Make sure backward directory is
893 (myinstallheaders): Install backward headers in backward directory.
894 * src/Makefile.in: Regenerate.
896 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
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.
904 2001-04-05 Phil Edwards <pme@sources.redhat.com>
906 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
908 2001-04-04 Phil Edwards <pme@sources.redhat.com>
910 * docs/doxygen/user.cfg.in: Extract all non-private members;
911 reduce confusing documentation output.
913 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
915 * include/backward/fstream.h: Add missing semicolons.
917 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
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
931 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
933 * include/backward/fstream.h: Expose streampos to global
936 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
938 * include/bits/stl_iterator_base_types.h: Fix typo
940 2001-04-03 Andreas Schwab <schwab@suse.de>
942 * include/backward/fstream.h: Define filebuf and wfilebuf.
944 2001-04-02 Phil Edwards <pme@sources.redhat.com>
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.
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.
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.
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.
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.
1006 2001-04-02 Zack Weinberg <zackw@stanford.edu>
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
1013 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
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.
1019 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
1021 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
1023 2001-04-01 Zack Weinberg <zackw@stanford.edu>
1025 * tests_flags.in: Use test a = b, not test a == b which is not
1028 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
1030 * configure.target: Remove duplicate aix entry.
1032 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
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.
1069 2001-03-30 Phil Edwards <pme@sources.redhat.com>
1071 * tests_flags.in (LIBS): Pass correct path for installed testing.
1073 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
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.
1085 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
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.
1096 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
1098 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
1100 (LIBTOOL): Let automake take care of its definition.
1101 * libsupc++/Makefile.in: Rebuilt.
1103 2001-03-28 Richard Henderson <rth@redhat.com>
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.
1123 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
1125 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
1127 * src/Makefile.am (CXXLINK): Likewise.
1128 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
1130 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
1132 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
1134 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1136 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
1139 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
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.
1159 2001-03-24 Phil Edwards <pme@sources.redhat.com>
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.
1167 2001-03-24 Phil Edwards <pme@sources.redhat.com>
1169 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
1170 * src/Makefile.am: Replace leading spaces with tabs on continuation
1172 * aclocal.m4: Regenerated.
1174 * Makefile.in: Ditto.
1175 * src/Makefile.in: Ditto.
1176 * libio/Makefile.in: Ditto.
1177 * libmath/Makefile.in: Ditto.
1178 * libsupc++/Makefile.in: Ditto.
1180 2001-03-24 Phil Edwards <pme@sources.redhat.com>
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.
1188 2001-03-24 Phil Edwards <pme@sources.redhat.com>
1190 * include/bits/std_bitset.h: Include ostream and istream headers
1191 instead of iostream.
1193 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
1195 * include/bits/ostream.tcc: Use __builtin_alloca.
1197 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
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,
1205 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1207 * intclude/bits/basic_file.h: Fix typos in comments.
1209 2001-03-20 Richard Henderson <rth@redhat.com>
1211 * src/gen-num-limits.cc: Instantiate for wchar_t.
1212 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
1214 2001-03-20 Jason Merrill <jason@redhat.com>
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.
1220 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
1222 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
1223 signal_func with an unspecified argument list.
1225 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
1227 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
1229 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1231 * include/bits/basic_string.tcc (operator+): Fix thinko.
1233 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
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.
1251 * testsuite/27_io/filebuf.cc (test06): Add tests.
1253 2001-03-13 Steve Ellcey <sje@cup.hp.com>
1255 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
1256 match HP-UX ctype.h header file.
1258 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
1260 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
1261 duplicate definitions of __dj_ctype_*
1263 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
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.
1277 2001-03-13 Phil Edwards <pme@sources.redhat.com>
1279 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
1281 2001-03-12 Felix Lee <flee@redhat.com>
1283 * mkcheck.in: workaround for bash 2.01 IFS bug.
1285 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
1287 Fixups for -fno-for-scope
1288 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
1289 * src/valarray-inst.cc (__gslice_to_index): Same.
1291 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
1293 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
1294 prior to trapping signal (UnixWare 7 workaround).
1296 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
1298 * include/backward/hashtable.h: Same.
1299 * include/backward/rope.h: Fix include.
1301 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
1303 * include/backward/vector.h: Include std_vector.h.
1305 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
1306 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
1309 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1311 * include/ext/stl_hashtable.h: Change type of __n to size_t
1312 * include/backward/bvector.h: Include <ext/stl_bvector.h>
1314 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1316 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
1317 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
1318 Use streamsize, not int_type.
1320 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
1322 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
1325 2001-03-08 Andreas Schwab <schwab@suse.de>
1327 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
1329 * aclocal.m4, configure: Regenerated.
1331 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
1333 * include/bits/std_iosfwd.h: Remove string forward decls here.
1334 * include/bits/stringfwd.h: Add forward decls for char_traits
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
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.
1354 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
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.
1366 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
1369 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
1370 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
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.
1379 2001-03-06 Nathan Myers <ncm@cantrip.org>
1380 Benjamin Kosnik <bkoz@redhat.com>
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.
1389 2001-03-05 scott snyder <snyder@fnal.gov>
1392 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
1394 * include/c_std/bits/std_cstdlib.h: ... to here.
1395 * testsuite/17_intro/header_cstdlib.cc: Add test.
1397 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
1399 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
1401 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
1403 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
1404 definition. Replace enum with static const variables.
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.
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.
1417 2001-03-04 Phil Edwards <pme@sources.redhat.com>
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.
1523 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
1525 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
1527 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1529 * include/bits/istream.tcc: change type of __extracted to __size_type
1531 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
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
1541 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1543 * src/locale.cc: initialise __ret with zero
1544 * src/strstream.cc:cast gptr to int_type
1546 2001-03-01 Phil Edwards <pme@sources.redhat.com>
1548 * docs/html/faq/index.html: Update broken links.
1549 * docs/html/faq/index.txt: Regenerated.
1551 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
1554 * configure.target: Change irix* to irix6.5* in target_os table.
1556 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
1559 * include/bits/c++config (__GLIBCPP__): Bump number in
1560 anticipation of 2.92.
1562 * include/bits/codecvt.h: Fix typo.
1563 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
1565 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
1566 instantiations for stdio model.
1568 2001-02-28 Phil Edwards <pme@sources.redhat.com>
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.
1582 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
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.
1603 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
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
1618 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
1620 * include/bits/std_stdexcept.h (runtime_error): Make string
1622 (logic_error): Same.
1623 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
1626 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
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.
1635 2001-02-26 Phil Edwards <pme@sources.redhat.com>
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.
1651 2001-02-26 Phil Edwards <pme@sources.redhat.com>
1653 Fixes libstdc++/2079
1654 * include/backward/iomanip.h: Expose <ios> manipulators to global
1656 * include/backward/iostream.h: Also expose std::ws.
1658 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
1660 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
1662 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
1664 * include/bits/codecvt.h: Use __builtin_alloca.
1665 * include/bits/ostream.tcc: Same.
1666 * include/bits/fstream.tcc: Same.
1668 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
1670 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
1672 2001-02-23 David Edelsohn <dje@watson.ibm.com>
1674 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
1676 2001-02-23 Phil Edwards <pme@sources.redhat.com>
1679 * include/backward/iostream.h: Expose std::flush in old headers.
1681 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1683 * mknumeric_limits: Remove special-casing on target. Use gcc
1684 instead of g++ to build gen-num-limits.cc
1686 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
1688 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
1690 * include/bits/codecvt.h: Use alloca instead of __extension__ for
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.
1698 2001-02-21 Phil Edwards <pme@sources.redhat.com>
1700 * tests_flags.in: Remove -n flag from call to echo.
1702 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
1704 * config/c_locale_gnu.h: Add clocale include.
1706 2001-02-20 Phil Edwards <pme@sources.redhat.com>
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.
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.
1731 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
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.
1785 2001-02-19 Andreas Jaeger <aj@suse.de>
1787 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
1790 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
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.
1799 * include/bits/basic_ios.h: Uncommented #include of
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.
1809 * include/bits/localefwd.h: Changed int counter type to size_t.
1812 * include/bits/std_fstream.h: Added typedef for __ctype_type.
1814 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
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.
1821 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
1823 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
1826 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
1828 * include/bits/c++config: Revert.
1830 2001-02-15 Mark Mitchell <mark@codesourcery.com>
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
1837 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
1839 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
1840 Define so library is compliant.
1842 2001-02-15 Anthony Green <green@redhat.com>
1844 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
1846 * aclocal.m4: Regenerate.
1847 * configure: Regenerate.
1849 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
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
1858 2001-02-15 Mark Mitchell <mark@codesourcery.com>
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.
1870 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
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.
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.
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
1899 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
1901 * include/bits/functexcept.h: New file.
1902 * src/functexcept.cc: New file. Definitions for function-based
1904 * src/Makefile.am (sources): Add functexcept.cc.
1905 * src/Makefile.in: Regenerate.
1907 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
1910 * include/bits/localefwd.h: Include functexcept.h.
1911 * include/bits/std_iosfwd.h: Same.
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
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.
1936 * src/stdexcept.cc: Remove cruft.
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.
1957 2001-02-15 Phil Edwards <pme@sources.redhat.com>
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.
1963 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
1965 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
1966 dejagnu/dg.exp. Adapt to log options used to run testcases.
1968 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1970 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
1973 2001-02-13 Dirk Mueller <dmuell@gmx.net>
1974 Phil Edwards <pme@sources.redhat.com>
1976 * include/backward/function.h: Do not use rel_ops for older
1978 * include/backward/pair.h: Likewise.
1980 2001-02-12 Mark Mitchell <mark@codesourcery.com>
1982 * src/locale.cc: Remove bogus locale::id definitions.
1984 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1986 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
1987 not _DEFINE_VALARRAY_OPERATOR which is not existent.
1989 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
1990 thinko in member initialisation.
1992 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1994 * include/bits/std_valarray.h(valarray<>::shift): Avoid
1995 comparaison between signed and unsigned integer types.
1996 (valarray<>::cshift): Reformat.
1998 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
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.
2005 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
2007 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
2008 lengths and strides.
2009 (__gslice_to_index): Document.
2011 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
2013 * include/bits/char_traits.h char_traits<char>::int_type: Change
2014 to `int' to match 21.1.3.1/2.
2016 * testsuite/21_strings/char_traits-int_type.C: New test.
2018 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
2020 * testsuite/Makefile.am: New file.
2022 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
2024 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
2026 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
2028 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
2030 2001-02-08 David Edelsohn <edelsohn@gnu.org>
2032 * configure.target (aix4*): Remove extra set of brackets.
2034 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
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
2047 * src/Makefile.in: Regenerate.
2048 * include/bits/std_stdexcept.h: Rewrite.
2049 * src/stdexcept.cc: Same.
2051 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
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.
2064 * src/Makefile.am: Just remove special rules for locale-inst.cc and
2065 misc-inst.cc as no longer necessary.
2067 Follow C++STYLE for naming non-static functions.
2068 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
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
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
2084 * include/bits/locale_facets.tcc (_S_group_digits): To
2086 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
2087 for collate, numpunct.
2089 2001-02-06 Phil Edwards <pme@sources.redhat.com>
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.
2100 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
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.
2107 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
2108 Phil Edwards <pme@sources.redhat.com>
2110 * include/bits/std_istream.h (op>> signed,unsigned char): Must
2111 use reinterpret_cast, not static_cast.
2113 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
2115 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
2116 * aclocal.m4: Regenerate.
2117 * configure: Regenerate.
2119 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2121 * include/bits/locale_facets.h (class moneypunct): Fix typos.
2122 * libsupc++/pure.cc: Revert.
2124 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
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.
2136 2001-02-05 Mark Mitchell <mark@codesourcery.com>
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.
2147 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2149 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
2150 macro. Consolidate all the bits to do with where includes might be
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.
2162 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
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.
2170 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
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.
2181 2001-02-05 Phil Edwards <pme@sources.redhat.com>
2183 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
2185 2001-02-05 Mark Mitchell <mark@codesourcery.com>
2187 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
2188 (string::_S_construct): Likewise.
2190 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
2192 * testsuite/config/default.exp: New file.
2193 * testsuite/config: New directory.
2195 2001-02-04 Mark Mitchell <mark@codesourcery.com>
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.
2202 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
2203 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
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.
2212 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
2214 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
2215 * include/bits/localefwd.h: More initialization cleanups.
2217 2001-02-03 Jeffrey A Law <law@cygnus.com>
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.
2225 2001-02-02 Phil Edwards <pme@sources.redhat.com>
2227 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
2229 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
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.
2240 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
2242 * config/c_locale_generic.cc: Remove langinfo include.
2244 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
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.
2262 * include/bits/locale_facets.h (class _Messages): Remove.
2263 (class _Moneypunct): Remove.
2264 * src/locale-inst.cc: Remove.
2266 * include/bits/locale_facets.h (class _Collate): Remove.
2267 * src/locale-inst.cc (std): Remove.
2268 * src/locale.cc: And here.
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.
2274 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
2276 (_M_normalize_category_names): Remove.
2277 (_M_replace_categories): Fix.
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.
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.
2291 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
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.....
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
2313 * src/locale.cc (locale::name()): Construct mangled name
2314 accurately reflecting combined locale categories.
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.
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.
2325 * src/locale.cc: (locale::locale(const char*)): Construct named
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.
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
2340 * testsuite/22_locale/members.cc: New file, test name and combine.
2342 * include/bits/locale_facets.h (class numpunct): Remove class
2343 _Punct and _Numpunct. Rewrite class numpunct to be correct for
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.
2351 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
2353 * testsuite/README: Add more comment.
2354 * testsuite/lib/libstdc++.exp: Tweak comment.
2356 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
2358 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
2360 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
2362 * testsuite/21_strings/inserters_extractors.cc: Remove
2363 explicit reference to 'testsuite/'.
2365 2001-01-25 Richard Henderson <rth@redhat.com>
2367 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
2368 bits. Fixes Tru64 build issues.
2370 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2372 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
2373 (use ${MAKE-make}, not ${MAKE:-make}).
2374 * aclocal.m4, configure: Regenerate.
2376 2001-01-25 Mark Mitchell <mark@codesourcery.com>
2378 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
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.
2393 2001-01-25 Phil Edwards <pme@sources.redhat.com>
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.
2400 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
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
2408 * Makefile.am (check, check-install): Change mkcheck invocation
2410 * Makefile.in: Regenerate.
2412 2001-01-24 Mark Mitchell <mark@codesourcery.com>
2414 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
2415 (__always_swap): Likewise.
2417 2001-01-23 Chris Demetriou <cgd@broadcom.com>
2419 * libsupc++/exception_support.cc (__terminate_func): Remove
2421 (__terminate_func_ptr): New typedef.
2422 (__terminate, __terminate_set_func): New extern function
2424 (std::terminate): Use __terminate function.
2425 (std::set_terminate): Use __terminate_set_func function.
2427 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
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.
2437 2001-01-23 Chris Demetriou <cgd@broadcom.com>
2439 * configure.in: Place definition of MULTISUBDIR in
2440 libsupc++/Makefile as is done for src/Makefile.
2441 * configure: Regenerate.
2443 2001-01-23 Phil Edwards <pme@sources.redhat.com>
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.
2456 2001-01-23 Mark Mitchell <mark@codesourcery.com>
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.
2468 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
2470 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
2473 * testsuite/README: Add comment.
2475 2001-01-21 Phil Edwards <pme@sources.redhat.com>
2477 * docs/html/configopts.html: Update for current status. Fix HTML.
2478 * docs/html/install.html: Update for current status.
2480 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2482 * testsuite/libstdc++.tests/tests.exp: New file.
2483 * testsuite/lib/libstdc++.exp: Itou.
2484 * testsuite/README: Itou.
2486 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
2488 * tests_flags.in: Just output the bare minimum to run tests.
2489 Let's the caller do its own arrangement.
2491 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
2494 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
2496 * testsuite/17_intro: Prepare testcases for new style DejaGnu
2499 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
2501 * testsuite/libstdc++.tests, testsuite/lib: New directories.
2503 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
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.
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.
2513 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2515 * testsuite/27_io/istream_sentry.cc (test02): Fix.
2517 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
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.
2530 * docs/html/17_intro/C++STYLE (classname): Fix.
2532 2001-01-16 Mark Mitchell <mark@codesourcery.com>
2534 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
2535 Use it do explicitly instantiate predicate<T> and value<T> for
2538 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
2540 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
2541 uninitialized thinko in last change.
2543 2001-01-16 Mark Mitchell <mark@codesourcery.com>
2545 * libsupc++/exception_support.cc (__cp_pop_exception): Change
2548 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
2550 * docs/html/17_intro/C++STYLE (classname): Add more existing
2551 and stylish patterns.
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.
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.
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.
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.
2574 2001-01-14 Andreas Jaeger <aj@suse.de>
2576 * libio/libio.h: Add test for glibc 2.0.
2578 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
2580 * config/os/djgpp/bits/*: Fix dates.
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.
2587 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
2589 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
2590 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
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.
2601 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
2603 * include/c_std/bits/std_cstdio.h: Undef printf.
2605 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
2607 * src/ios.cc: Fix typo: change cout->wcout.
2609 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
2610 * src/Makefile.in: Regenerate.
2612 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2614 * include/bits/std_complex.h: Fix a typo.
2616 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
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.
2629 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2631 * tests_flags.in (check_directory): Fix typo.
2633 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2635 * include/bits/std_complex.h: Fix a typo.
2637 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
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.
2645 2001-01-09 Robert Lipe <robertlipe@usa.net>
2647 * include/c_std/bits/std_ctime.h: Undefine difftime.
2649 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
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.
2656 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
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.
2662 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
2664 reported by Chris G. Demetriou <cgd@sibyte.com>
2665 * configure.in: Change -linux-* to -linux*.
2666 * configure: Regenerate.
2668 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
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.
2679 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
2681 * src/ios.cc (ios_base::Init::Init): Initialize here.
2682 (ios_base::sync_with_stdio): Set here.
2684 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
2686 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
2687 systems that support it, call dup() before fdopen().
2689 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
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.
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.
2701 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
2703 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
2704 * aclocal.m4: Regenerate.
2705 * configure: Regenerate.
2707 * include/bits/c++config (__GLIBCPP__): Bump version number.
2709 * ChangeLog: Start new log for year 2001
2710 * ChangeLog-2000: New file.
2712 * docs/html/configopts.html: Make sure default values are current,
2715 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
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.
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
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.
2740 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
2742 * tests_flags.in: Fix typo in usage.
2744 * tests_flags.in: Set target specific LIBS for cygwin.