1 2001-06-11 Phil Edwards <pme@sources.redhat.com>
3 * README: Update to reflect reality.
4 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
5 * configure.in: Make certain target_alias is set and subst'd for 2.50.
6 * aclocal.m4: Regenerate.
7 * configure: Regenerate (with 2.13).
9 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
12 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
14 * include/bits/istream.tcc (istream::seekg): Same.
15 * testsuite/27_io/istream_seeks.cc: Fix.
18 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
20 * include/bits/std_queue.h: Add c++config.h.
21 * testsuite/20_util/binders.cc: New test.
23 2001-06-11 Matthias Klose <doko@debian.org>
24 Phil Edwards <pme@sources.redhat.com>
26 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
27 (main script): Echo more information.
29 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
31 * include/c_std/bits/std_cwchar.h: Alphabetize.
32 * include/bits/char_traits.h: Tweak.
33 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
34 everything used by std_cwchar.h.
35 * aclocal.m4: Regenerate.
36 * configure.in: Regenerate.
37 * config.h.in: Regenerate.
39 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
41 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
42 Add checking for strtof, _Exit in stdlib.h
43 * aclocal.m4: Regenerate.
44 * configure.in: Regenerate.
45 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
46 (snprintf): Put C99 functions into __gnu_cxx namespace.
51 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
52 for C99 functions within _GLIBCPP_USE_C99 guard.
56 * include/bits/locale_facets.tcc: Check if C99 is enabled.
57 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
59 * include/c_std/bits/cmath.tcc: Formatting tweak.
60 * include/c_std/bits/std_cmath.h: Same.
62 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
64 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
66 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
67 Stephen L Moshier <moshier@mediaone.net>
69 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
70 nothing, as in autoconf 2.50.
73 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
75 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
77 * include/c_std/bits/std_ctime.h: Same.
78 * include/c_std/bits/std_cstring.h: Same.
79 * include/c_std/bits/std_cstdlib.h: Same.
81 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
82 * include/c_std/bits/std_cctype.h: Remove isblank.
84 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
86 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
88 * aclocal.m4: Regenerate.
89 * configure: Regenerate.
90 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
91 injection, guard fgetwc, fgetws.
92 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
93 * include/c_std/bits/std_clocale.h: And here.
94 * include/c_std/bits/std_cctype.h: And here.
95 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
97 * config/basic_file_stdio.h: Don't include unistd.h.
98 * config/c_io_stdio.h: Don't use compatibility headers.
99 * libsupc++/eh_terminate.cc: Qualify abort.
100 (__terminate): And here.
101 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
103 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
105 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
107 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
112 * include/std/*: Add copyright notice.
113 * include/c_std/bits/*: Use using statements instead of extern "C".
114 * include/c_std/bits/std_cmath.h: Don't overload double versions
115 of math functions with __buitin versions, use global version to
116 prevent ambiguities. Remove define hacks.
117 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
118 functions that have changed signatures and std::
119 declarations. Remove define hacks.
120 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
121 __builtins in std::. Remove define hacks.
122 * testsuite/17_intro/headers_c.cc: Add tests.
123 * testsuite/17_intro/headers_c++.cc: Add test.
125 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
126 John David Anglin <dave@hiauly1.hia.nrc.ca>
129 * libsupc++/eh_alloc.cc: Ensure that required macros are
130 defined before including gthr.h. Ensure that we get the
131 version of gthr.h for which we know how to provide a
133 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
134 code path into line with the current EH model. Use std, where
137 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
138 John David Anglin <dave@hiauly1.hia.nrc.ca>
140 * config/threads-no.h: Remove file.
141 * config/threads-posix.h: Remove file.
143 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
144 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
145 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
146 * config.h.in: Regenerate.
148 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
149 setup and use gthr*.h files. In particular, make gthr.h files
150 namespace-clean in the staging area (they don't have to be for
152 * aclocal.m4: Regenerate.
153 * configure: Regenerate.
155 * src/Makefile.am (build_headers): Remove bits/c++threads.h
156 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
157 * src/Makefile.in: Regenerate.
159 * include/bits/c++config: Cleanup threading configuration macros.
160 In particular, define __STL_GTHREADS macro which controls...
161 * include/bits/stl_threads.h: ...a brand new gthr.h-based
164 * config/c_io_stdio.h: Include staged gthr.h instead of local
165 thread configuration file. Always use __gthread_mutex_t
166 instead of __mutext_type (or int).
167 * include/bits/std_fstream.h: Likewise.
169 * docs/html/17_intro/howto.html: Remove placeholder comment in
170 case this configuration patch didn't make it. Add advice that
171 section only applies if configured with --enable-threads.
172 * docs/html/23_containers/howto.html: Reword to make clear
173 that _PTHREADS is no longer required for any port to be
174 correctly using STL with threads. Add advice that section
175 only applies if configured with --enable-threads.
177 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
179 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
181 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
184 * include/bits/basic_ios.tcc: Formatting tweaks.
185 * include/bits/ios_base.h: Formatting tweaks.
186 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
187 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
188 * src/globals.cc: Allocate filebufs for standard streams here.
189 (buf_cout, buf_cin, buf_cerr): Like so.
190 (buf_wcout, buf_wcin, buf_wcerr): And so.
191 * testsuite/27_io/ios_init.cc: Add.
193 2001-06-04 Brendan Kehoe <brendan@zen.org>
194 Benjamin Kosnik <bkoz@redhat.com>
197 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
198 for generic ctype virtuals.
199 * src/locale.cc: Minor tweaks, naming consistency.
200 * testsuite/22_locale/ctype.cc: Add test.
202 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
203 Phil Edwards <pme@sources.redhat.com>
205 PR libstdc++/3035 and PR libstdc++/3036
206 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
207 to LWG DR 181 and 265.
209 2001-06-04 Phil Edwards <pme@sources.redhat.com>
212 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
213 equal_range): Add const overloads as per LWG DR 214.
214 * include/bits/stl_set.h: Likewise.
216 2001-06-04 Brendan Kehoe <brendan@zen.org>
217 Phil Edwards <pme@sources.redhat.com>
220 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
221 comparison; all positions must be < _Nb.
222 * testsuite/23_containers/bitset_members.cc: New file.
224 2001-06-04 Brendan Kehoe <brendan@zen.org>
227 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
228 ctors to match the standard.
230 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
232 * include/bits/char_traits.h (move): Reverse qualification of
234 (copy): Reverse qualification of memcpy with std::.
236 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
238 * include/bits/char_traits.h (move): Qualify memmove with std::.
239 (copy): Qualify memcpy with std::.
240 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
243 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
245 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
247 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
248 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
249 SUN make VPATH peculiarities.
250 * libsupc++/Makefile.in: Regenerate.
252 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
254 * src/Makefile.am (VPATH): Delimit with ":", not space.
255 * src/Makefile.in: Regenerate.
257 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
259 * configure: Regenerate.
261 2001-05-31 scott snyder <snyder@fnal.gov>
264 * include/bits/istream.tcc: Include std_ostream.h.
266 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
269 * src/bitset.cc: Qualify size_t with std::.
271 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
273 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
274 (_GLIBCPP_BUGGY_COMPLEX): Remove.
275 * config.h.in: Regenerate.
276 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
277 * aclocal.m4: Regenerate.
278 * configure.in: Don't call it.
279 * configure: Regenerate.
282 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
283 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
287 * include/bits/std_complex.h: Include sstream. Put definitions for
288 complex inserters and extractors here, and remove them from...
289 * src/complex_io.cc: ...here.
290 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
292 (basic_ios::__numget_type): Same.
293 * include/bits/std_istream.h: Same.
294 * include/bits/std_ostream.h: Same.
295 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
296 class iterator template arguments.
297 * src/locale-inst.cc: Add explicit has_facet instantiations.
298 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
299 (_M_get_fnumput): Remove.
300 (_M_get_fnumget): Remove.
301 (basic_ios::_M_check_facet): New function.
302 (basic_ios::_M_cache_facets): New function.
303 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
304 (basic_ios::imbue): Call _M_cache_facets.
305 (basic_ios::init): Same.
306 * include/bits/istream.tcc: Format, use _M_check_facet.
307 * include/bits/ostream.tcc: Same.
308 * include/bits/locale_facets.tcc (__output_float): Change
309 signature, add _Traits.
310 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
313 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
315 * include/bits/c++config (__USE_MALLOC): Do not define it.
316 Document why not and give pointers to more information.
318 * docs/html/23_containers/howto.html: Update documentation
319 to reflect recent understanding of problem.
320 * docs/html/17_intro/howto.html: Likewise.
322 2001-05-30 Phil Edwards <pme@sources.redhat.com>
324 * docs/doxygen/user.cfg.in: Minor addition.
325 * docs/html/documentation.html: Reorganize. Put most-looked-at
327 * docs/html/install.html: Update for 3.0. HTML fixups.
328 * docs/html/17_intro/howto.html: Likewise.
329 * docs/html/18_support/howto.html: Likewise.
330 * docs/html/19_diagnostics/howto.html: Likewise.
331 * docs/html/20_util/howto.html: Likewise.
332 * docs/html/23_containers/howto.html: Likewise.
333 * docs/html/24_iterators/howto.html: Likewise. More notes.
334 * docs/html/25_algorithms/howto.html: Likewise.
335 * docs/html/26_numerics/howto.html: Likewise. More notes.
336 * docs/html/27_io/howto.html: Likewise.
337 * docs/html/ext/howto.html: Likewise.
338 * docs/html/faq/index.html: Likewise.
339 * docs/html/faq/index.txt: Regenerate.
340 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
341 Doxygen-created documentation.
343 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
345 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
346 get_multilibs to find gcc.
348 2001-05-30 Phil Edwards <pme@sources.redhat.com>
350 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
351 * aclocal.m4: Regenerate.
352 * configure: Regenerate.
354 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
356 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
357 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
359 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
361 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
362 * include/c_std/bits/std_cstdlib.h: Same.
363 * include/c_std/bits/std_cwchar.h: Same.
365 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
367 * docs/html/17_intro/howto.html: Update link.
368 * docs/html/23_containers/howto.html: Likewise. Add new link.
370 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
372 * include/c_std/bits/std_cmath.h (sqrt): #undef.
374 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
376 * mknumeric_limits: Stop if gen-num-limits dies.
378 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
381 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
382 * aclocal.m4: Regenerate.
385 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
386 Phil Edwards <pme@sources.redhat.com>
387 Alexandre Oliva <aoliva@redhat.com>
389 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
390 in an amd-safe manner. Revert glibcpp_prefixdir.
392 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
394 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
395 fabs, sin, sqrt. They are now implemented in terms of __builtin_
398 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
401 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
402 * include/bits/ostream.tcc: Format to match istream.tcc.
403 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
405 2001-05-24 Phil Edwards <pme@sources.redhat.com>
407 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
409 (__cxa_free_exception): Likewise with free.
411 2001-05-24 Mark Mitchell <mark@codesourcery.com>
413 * include/c_std/bin/std_cstring.h: #define away all global
414 functions we will redeclare in namespace `std'.
415 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
416 std::memset, instead of memset.
417 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
419 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
422 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
425 * include/bits/basic_ios.tcc: Small tweak.
426 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
427 ctors and dtors, and rdbuf settings.
430 * include/bits/std_sstream.h: Same, but for stringstream classes.
431 * testsuite/27_io/ostringstream_members.cc: New.
432 * testsuite/27_io/stringstream_members.cc: New.
433 * testsuite/27_io/fstream_members.cc: New.
434 * testsuite/27_io/ifstream_members.cc: Add test.
435 * testsuite/27_io/istringstream_members.cc: Add test.
436 * testsuite/27_io/ofstream_members.cc: Add test.
438 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
440 * include/bits/c++config(__NO_MATH_INLINES): Move to...
441 * config/os/gnu-linux/bits/os_defines.h: ...here.
443 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
445 * include/bits/c++config (__NO_MATH_INLINES): New macro.
446 * testsuite/26_numerics/fabs_inline.cc (main): New test.
448 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
451 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
453 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
454 (libstdc++-v3-finish): Remove.
455 (libstdc++-v3_exit): Remove.
457 2001-05-22 Phil Edwards <pme@sources.redhat.com>
459 * docs/html/documentation.html: Point to doxygen output.
461 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
463 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
465 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
466 arguments to be non-null.
467 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
468 try allocations if allocated size is greater than zero.
469 (filebuf::_M_filebuf_init): Change to
470 (filebuf::_M_allocate_file): Which is what it does now.
471 (filebuf::_M_allocate_bufers): Change to
472 (filebuf::_M_allocate_internal_buffer): This, and create
473 (filebuf::_M_allocate_pback_buffer): New.
474 (filebuf::_M_destroy_internal_buffer): New.
475 (filebuf::_M_buf_allocated): New data member.
476 (filebuf::setbuf): Use new logic, allow use of external buffer.
477 * testsuite/27_io/stringbuf_virtuals.cc: New file.
478 * testsuite/27_io/filebuf_virtuals.cc: New file.
480 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
482 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
484 (strchr): Same, but to __glibcpp_strchr.
488 * include/c_std/bits/std_cwchar.h (wcschr): Same.
494 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
496 * testsuite/21_strings/c_strings.cc (main): Fix.
498 2001-05-19 Phil Edwards <pme@sources.redhat.com>
500 * acinclude.m4: Fix --help spacing, correct comments.
501 * aclocal.m4: Regenerate.
502 * configure: Regenerate.
503 * mkcheck.in: Add usage comments.
504 * docs/html/documentation.html: Point to doxygen'd tarball.
506 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
508 * testsuite/README: Add notes.
510 * src/Makefile.am (libstdc++.INC): Remove.
511 * src/Makefile.in: Regenerate.
513 Phil Edwards <pedwards@disaster.jaj.com>
514 * mkcheck.in: Add missing '#'.
516 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
518 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
519 appropriately for remote testing and testing installed files without
522 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
524 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
525 amd glibcpp_prefixdir with absolute paths.
527 * include/bits/c++config (__GLIBCPP__): Bump.
528 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
530 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
532 * include/bits/std_valarray.h (valarray<>::operator[] const):
533 Return a const reference.
534 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
536 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
538 * configure.target (ATOMICITYH): Actually use AIX-specific code on
539 earlier versions of AIX 4.*.
541 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
543 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
544 output_file based on the name of the testcase.
546 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
548 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
549 gluefile and use it if needs_status_wrapper is set.
551 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
553 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
556 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
558 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
559 on earlier versions of AIX.
561 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
563 * testsuite_flags.in (query): Add backwards, ext directories.
565 2001-05-15 Mark Mitchell <mark@codesourcery.com>
567 * porting.texi: Correct documentation about handling
568 _LARRGEFILE_SOURCE and its ilk.
569 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
570 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
572 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
573 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
575 2001-05-15 Zack Weinberg <zackw@stanford.edu>
577 * testsuite/21_strings/inserters_extractors.cc,
578 testsuite/27_io/istream_unformatted.cc,
579 testsuite/27_io/stringstream.cc:
580 Replace multi-line string constants with C89-style
581 concatenated string constants.
583 2001-05-14 Richard Henderson <rth@redhat.com>
585 * mknumeric_limits: Build with -fno-exceptions.
587 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
589 Switch over to new harness.
590 * testsuite_flags.in: Tweaks via Gaby.
591 * testsuite/Makefile.am: Change tool to libstdc++-v3.
592 (EXPECT): Quote directly.
594 * configure.in: Output testsuite_flags.
595 * acinclude.m4: Substitute src, bld, and prefix dirs.
596 Remove glibcpp_expect, glibcpp_runtestflags.
597 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
598 * mkcheck.in: Port to new interface.
600 * aclocal.m4: Regerate.
601 * configure: Regnerate.
602 * Makefile.in: Regnerate.
603 * */Makefile.in: Regenerate.
605 * tests_flags.in: Remove.
606 * testsuite/lib/libstdc++.exp: Remove.
607 * testsuite/libstdc++.tests/tests.exp: Remove.
609 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
611 * configure.target: Remove detection of AIX pthread multilib, now
612 obtained from `gcc -v'.
614 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
616 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
617 size. Add hpux case for HP size.
619 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
621 * testsuite_flags.in: New, simplified interface.
622 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
623 * testsuite/libstdc++-v3.dg: Add.
624 * testsuite/libstdc++-v3.dg/dg.exp: Add.
626 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
628 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
629 * testsuite/config/default.exp: Update bugs email address.
631 2001-05-11 Richard Henderson <rth@redhat.com>
633 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
634 all pointer encoding logic.
635 (struct lsda_header_info): Add ttype_base.
636 (get_ttype_entry): Use it instead of a context.
637 (check_exception_spec): Likewise.
638 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
639 the c++ exception header for __cxa_call_unexpected.
640 (__cxa_call_unexpected): Use it.
642 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
644 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
645 libgloss_link_flags to find crt0.o for targets that use libgloss
647 Change LDFLAGS to LIBS.
648 Consistently name procedures libstdc++-XXX.
649 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
651 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
653 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
658 * include/c_std/bits/std_cwchar.h (wcschr): Same.
663 * testsuite/21_strings/c_strings.cc: Add tests.
665 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
668 * include/bits/std_fstream.h (basic_filebuf): Change signature.
669 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
670 to int_type, pass in buffer size info.
671 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
672 unbuffered situation.
673 (underflow): Remove codecvt bits for the time being.
674 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
675 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
676 values from iterators, clean.
677 * src/locale.cc: Ditto.
678 * include/bits/sbuf_iter.h: Format.
679 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
680 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
681 * testsuite/27_io/filebuf.cc: Tweaks.
682 * testsuite/27_io/filebuf_members.cc: Tweaks.
684 2001-05-07 Mark Mitchell <mark@codesourcery.com>
686 * config/os/solaris/solaris2.7/bits/os_defines.h
687 (_LARGEFILE_SOURCE): Define it.
689 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
691 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
692 -prefer-non-pic depending on whether libtool has shared libraries
694 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
695 $(LIBSUPCXX_PICFLAGS).
696 * configure, */Makefile.in: Rebuilt.
698 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
700 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
701 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
703 * include/bits/std_sstream.h (stringbuf): Leak
705 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
707 2001-05-01 Tom Browder <tbrowder@home.com>
709 * docs/html/ext/howto.html: Fix typo.
711 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
713 * testsuite/libstdc++.tests/tests.exp: Add comment.
715 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
717 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
719 2001-04-30 Mark Mitchell <mark@codesourcery.com>
721 * porting.texi: Use the GFDL.
723 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
726 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
727 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
730 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
733 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
735 2001-04-28 Phil Edwards <pme@sources.redhat.com>
737 * docs/doxygen/run_doxygen: Minor tweaks.
738 * docs/doxygen/style.css: New file.
739 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
740 latest parameters available. Use style.css.
742 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
744 * docs/doxygen/mainpage.doxy: New.
745 * docs/doxygen/user.cfg.in: Change default configuration. Single
748 2001-04-26 Mark Mitchell <mark@codesourcery.com>
750 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
751 Indicate obsolete nature of thelist for G++ 3.0.
753 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
755 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
756 target_thread_file with `gcc -v'.
757 * aclocal.m4, configure: Rebuilt.
759 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
761 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
762 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
763 * include/c_std/bits/std_cwchar.h (std): Same.
764 * acconfig.h (std): Remove c99 injection into std.
765 * config.h.in: Regenerate.
767 * testsuite/README: Fix typo.
769 * include/bits/codecvt.h: Remove warnings.
771 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
773 * include/ext/slist: Include required header files.
775 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
777 * include/c_std/bits/std_cerrno.h (errno): Define macro from
778 identifier declared with external linkage, if needed.
779 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
780 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
782 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
784 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
785 re-configures find the build compiler.
786 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
788 * aclocal.m4: Regenerate.
789 * configure: Regenerate.
791 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
793 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
794 support is enabled correctly before long long is activated.
795 * aclocal.m4: Regenerate.
796 * configure: Regenerate.
798 * include/backward/backward_warning.h: Format correctly.
800 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
801 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
802 * testsuite/26_numerics/c99_macros.cc: Remove.
804 2001-04-20 Phil Edwards <pme@sources.redhat.com>
806 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
809 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
811 * acconfig.h (_GLIBCPP_USE_C99): Add.
812 * config.h.in: Regenerate.
813 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
815 * aclocal.m4: Regenerate.
816 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
817 * configure: Regenerate.
818 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
819 * configure: Regenerate.
820 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
822 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
824 * include/c_std/bits/std_cstdlib.h: Same.
825 * docs/html/configopts.html: Update.
826 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
828 (test_c99_classify): Add.
829 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
830 (_ISOC99_SOURCE): Remove.
832 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
833 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
834 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
835 * aclocal.m4: Regenerate.
836 * configure: Regenerate.
838 2001-04-19 Phil Edwards <pme@sources.redhat.com>
840 * Makefile.am (doxygen): Assume script is missing execute perms.
841 * Makefile.in: Regenerated.
842 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
844 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
846 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
848 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
850 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
851 * testsuite/23_containers/set_operators.cc: Same.
853 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
855 (__GLIBCPP__): Bump from value of last release.
856 * include/bits/concept_check.h: Default to off, edit comments.
857 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
858 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
859 * src/Makefile.in: Regenerate.
861 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
863 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
864 Properly uglify member.
866 2001-04-13 Phil Edwards <pme@sources.redhat.com>
868 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
872 2001-04-13 Phil Edwards <pme@sources.redhat.com>
874 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
875 * include/bits/concept_check.h: Uglify.
876 * include/bits/stl_algo.h: Likewise.
877 * include/bits/stl_algobase.h: Likewise.
878 * include/bits/stl_deque.h: Likewise.
879 * include/bits/stl_heap.h: Likewise.
880 * include/bits/stl_iterator_base_funcs.h: Likewise.
881 * include/bits/stl_list.h: Likewise.
882 * include/bits/stl_map.h: Likewise.
883 * include/bits/stl_multimap.h: Likewise.
884 * include/bits/stl_multiset.h: Likewise.
885 * include/bits/stl_numeric.h: Likewise.
886 * include/bits/stl_queue.h: Likewise.
887 * include/bits/stl_set.h: Likewise.
888 * include/bits/stl_stack.h: Likewise.
889 * include/bits/stl_vector.h: Likewise.
890 * include/ext/hash_map: Likewise.
891 * include/ext/hash_set: Likewise.
892 * include/ext/slist: Likewise.
894 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
896 * testsuite/23_containers/set_operators.cc: Just try to compile.
898 * testsuite/23_containers/map_operators.cc: Same.
900 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
902 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
904 (dg-test): Revert rth's change.
906 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
908 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
909 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
911 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
913 * testsuite/README: Add DejaGnu specific documentation.
915 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
917 * acinclude.m4: AC_CHECK_TOOL for expect.
918 * aclocal.m4: Regenerate.
919 * configure: Regenerate.
920 * testsuite/Makefile.am (RUNTEST): Use substituted.
923 * configure.in: Remove xcompiling substitution.
924 * tests_flags.in (CROSS_LIB_PATH): Remove.
925 (xcompiling): Remove.
926 (CXX): Use substituted CXX.
928 2001-04-11 Richard Henderson <rth@redhat.com>
930 * testsuite/lib/libstdc++.exp: Specify path for output_file.
932 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
934 * include/bits/std_valarray.h(valarray<>::operator[]): Make
937 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
939 * testsuite/25_algorithms/equal.cc: New test.
941 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
943 * stl_algobase.h (std::equal): avoid use of possibly-undefined
944 operator != (one line patch).
946 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
948 * include/backward/backward_warning.h: Re-enable.
950 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
951 Alexandre Oliva <aoliva@redhat.com>
953 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
955 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
957 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
958 * testsuite/26_numerics/c99_macros.cc: Add test.
960 2001-04-06 Phil Edwards <pme@sources.redhat.com>
962 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
963 * docs/html/faq/index.txt: Regenerated.
965 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
967 * include/backward/backward_warning.h: Temporarily disable until
968 g++ testsuite changes go in.
969 * tests_flags.in (CROSS_LIB_PATH): Add.
971 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
973 Warn when using backward headers.
974 * include/backward/algo.h: Include warning file.
975 * include/backward/vector.h: Same.
976 * include/backward/tree.h: Same.
977 * include/backward/tempbuf.h: Same.
978 * include/backward/strstream: Same.
979 * include/backward/streambuf.h: Same.
980 * include/backward/stream.h: Same.
981 * include/backward/stack.h: Same.
982 * include/backward/slist.h: Same.
983 * include/backward/set.h: Same.
984 * include/backward/rope.h:
985 * include/backward/queue.h: Same.
986 * include/backward/pair.h: Same.
987 * include/backward/ostream.h: Same.
988 * include/backward/new.h: Same.
989 * include/backward/multiset.h: Same.
990 * include/backward/multimap.h: Same.
991 * include/backward/map.h: Same.
992 * include/backward/list.h: Same.
993 * include/backward/iterator.h: Same.
994 * include/backward/istream.h: Same.
995 * include/backward/iostream.h:
996 * include/backward/iomanip.h:
997 * include/backward/heap.h: Same.
998 * include/backward/hashtable.h:
999 * include/backward/hash_set.h:
1000 * include/backward/hash_map.h:
1001 * include/backward/function.h:
1002 * include/backward/fstream.h:
1003 * include/backward/deque.h:
1004 * include/backward/defalloc.h: Same.
1005 * include/backward/complex.h: Same.
1006 * include/backward/bvector.h:
1007 * include/backward/alloc.h:
1008 * include/backward/algobase.h: Same.
1010 * include/backward/backward_warning.h: New file.
1011 * src/Makefile.am (backward_headers): Add backward_warning.h
1012 * src/Makefile.in: Regenerate.
1014 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
1016 * src/Makefile.am (myinstalldirs): Make sure backward directory is
1018 (myinstallheaders): Install backward headers in backward directory.
1019 * src/Makefile.in: Regenerate.
1021 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
1023 Prepare for libstdc++-2.92.
1024 * docs/html/17_intro/RELEASE-NOTES (New): Update.
1025 * docs/html/configopts.html: Fix formatting.
1026 * README (file): Updates.
1027 * include/bits/c++config (__GLIBCPP__): Update.
1029 2001-04-05 Phil Edwards <pme@sources.redhat.com>
1031 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
1033 2001-04-04 Phil Edwards <pme@sources.redhat.com>
1035 * docs/doxygen/user.cfg.in: Extract all non-private members;
1036 reduce confusing documentation output.
1038 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
1040 * include/backward/fstream.h: Add missing semicolons.
1042 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
1044 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
1045 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
1046 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
1047 (ios_base::Init::_S_ios_create): New.
1048 (ios_base::Init::_S_ios_destroy): New.
1049 * include/bits/std_fstream.h: Change ctor args.
1050 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
1051 (ios_base::Init::~Init): Use _S_ios_destroy.
1052 (ios_base::sync_with_stdio): Use new members.
1053 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
1056 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1058 * include/backward/fstream.h: Expose streampos to global
1061 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1063 * include/bits/stl_iterator_base_types.h: Fix typo
1065 2001-04-03 Andreas Schwab <schwab@suse.de>
1067 * include/backward/fstream.h: Define filebuf and wfilebuf.
1069 2001-04-02 Phil Edwards <pme@sources.redhat.com>
1071 New concept checking implementation.
1072 * docs/html/19_diagnostics/howto.html: Document.
1073 * docs/html/17_intro/concept_check.diff: New file, for reference.
1074 * include/bits/boost_concept_check.h: New file from Boost.
1075 * include/bits/c++config: Update comments.
1077 * include/bits/concept_check.h: New file.
1078 * include/bits/concept_checks.h: Removed.
1079 * include/bits/container_concepts.h: Removed.
1080 * include/bits/sequence_concepts.h: Removed.
1081 * include/bits/stl_iterator_base.h: Removed; split into...
1082 * include/bits/stl_iterator_base_funcs.h: ...this new file...
1083 * include/bits/stl_iterator_base_types.h: ...and this new file.
1085 * include/bits/sbuf_iter.h: Update to use new implementation.
1086 * include/bits/std_iterator.h: Likewise.
1087 * include/bits/std_memory.h: Likewise.
1088 * include/bits/stl_algo.h: Likewise.
1089 * include/bits/stl_algobase.h: Likewise.
1090 * include/bits/stl_construct.h: Likewise.
1091 * include/bits/stl_deque.h: Likewise.
1092 * include/bits/stl_heap.h: Likewise.
1093 * include/bits/stl_list.h: Likewise.
1094 * include/bits/stl_map.h: Likewise.
1095 * include/bits/stl_multimap.h: Likewise.
1096 * include/bits/stl_multiset.h: Likewise.
1097 * include/bits/stl_numeric.h: Likewise.
1098 * include/bits/stl_queue.h: Likewise.
1099 * include/bits/stl_set.h: Likewise.
1100 * include/bits/stl_stack.h: Likewise.
1101 * include/bits/stl_uninitialized.h: Likewise.
1102 * include/bits/stl_vector.h: Likewise.
1103 * include/ext/hash_map: Likewise.
1104 * include/ext/hash_set: Likewise.
1105 * include/ext/slist: Likewise.
1106 * include/ext/stl_hashtable.h: Likewise.
1108 * src/Makefile.am (base_headers): Update list of headers.
1109 * Makefile.in: Regenerated.
1110 * src/Makefile.in: Regenerated.
1111 * libio/Makefile.in: Regenerated.
1112 * libmath/Makefile.in: Regenerated.
1113 * libsupc++/Makefile.in: Regenerated.
1114 * testsuite/Makefile.in: Regenerated.
1116 * docs/html/install.html: Update contact information.
1117 * docs/html/17_intro/howto.html: Ditto.
1118 * docs/html/18_support/howto.html: Ditto.
1119 * docs/html/20_util/howto.html: Ditto.
1120 * docs/html/21_strings/howto.html: Ditto.
1121 * docs/html/22_locale/howto.html: Ditto.
1122 * docs/html/23_containers/howto.html: Ditto.
1123 * docs/html/24_iterators/howto.html: Ditto.
1124 * docs/html/25_algorithms/howto.html: Ditto.
1125 * docs/html/26_numerics/howto.html: Ditto.
1126 * docs/html/27_io/howto.html: Ditto.
1127 * docs/html/faq/index.html: Ditto, plus info on new checking code.
1128 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
1129 * docs/html/faq/index.txt: Regenerated.
1131 2001-04-02 Zack Weinberg <zackw@stanford.edu>
1133 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
1134 messages with $which_library as well as $tool_flags and
1135 ${dg-extra-tool-flags}. Factor out annotation text into
1138 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
1140 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
1141 * include/c_std/bits/std_cwchar.h: Same.
1142 * testsuite/21_strings/c_strings.cc: Add.
1144 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
1146 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
1148 2001-04-01 Zack Weinberg <zackw@stanford.edu>
1150 * tests_flags.in: Use test a = b, not test a == b which is not
1153 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
1155 * configure.target: Remove duplicate aix entry.
1157 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
1159 * include/ext/stl_bvector.h: Move to...
1160 * include/bits/stl_vector.h: ...here.
1161 * include/ext/bvector: Move to...
1162 * include/backward/bvector.h: ...here.
1163 * include/bits/std_vector.h: Change stl_bvector include.
1164 * include/bits/std_queue.h: Remove bvector include.
1165 * include/ext/tree: Insert using rb_tree, move to...
1166 * include/backward/tree.h: ...here.
1167 * include/backward/hash_map.h: Include ext/hash_map.
1168 * include/backward/hash_set.h: Include ext/hash_set.
1169 * include/backward/queue.h: New file.
1170 * include/backward/stack.h: Edit.
1171 * include/backward/algo.h: Same.
1172 * include/backward/algobase.h: Same.
1173 * include/backward/alloc.h: Same.
1174 * include/backward/function.h: Same.
1175 * include/backward/iomanip.h: Same.
1176 * include/backward/istream.h: Same.
1177 * include/backward/iterator.h: Same.
1178 * include/backward/list.h: Same.
1179 * include/backward/map.h: Same.
1180 * include/backward/multimap.h: Same.
1181 * include/backward/multiset.h: Same.
1182 * include/backward/ostream.h: Same.
1183 * include/backward/pair.h: Same
1184 * include/backward/rope.h: Same.
1185 * include/backward/set.h: Same.
1186 * include/backward/stream.h: Same.
1187 * include/backward/strstream.h: Same.
1188 * include/backward/tempbuf.h: Same.
1189 * src/Makefile.am (ext_headers): Edit.
1190 * src/Makefile.in: Regenerate.
1191 * testsuite/ext/headers.cc (main): Fix.
1194 2001-03-30 Phil Edwards <pme@sources.redhat.com>
1196 * tests_flags.in (LIBS): Pass correct path for installed testing.
1198 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
1200 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
1201 * tests_flags.in (CXX): Construct here.
1202 (static_fail): Don't remove compile.out. Format with spaces.
1203 (INCLUDES): Deal with xcompiling.
1204 * configure.in (xcompiling): Substitute.
1205 * testsuite/Makefile.am: Snake libjava configury.
1206 * testsuite/Makefile.in: Regenerate.
1207 * testsuite/23_containers/map_operators.cc: Tweaks.
1208 * testsuite/23_containers/set_operators.cc: Tweaks.
1210 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1212 Enable dejagnu testing framework.
1213 * configure.in: Generate testsuite/Makefile.
1214 * configure: Regenerate.
1215 * Makefile.am (check-install): Change rule from this...
1216 (check-script-install): ...to this.
1217 (check): Change rule from this...
1218 (check-script):...to this.
1219 * Makefile.in: Regenerate.
1221 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
1223 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
1225 (LIBTOOL): Let automake take care of its definition.
1226 * libsupc++/Makefile.in: Rebuilt.
1228 2001-03-28 Richard Henderson <rth@redhat.com>
1230 IA-64 ABI Exception Handling:
1231 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
1232 * configure.in: Use it.
1233 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
1234 * libsupc++/Makefile.am (sources): Update files list.
1235 * libsupc++/Makefile.in: Regenerate.
1236 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
1237 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
1238 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
1239 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
1240 * libsupc++/exception_support.cc: Remove.
1241 * libsupc++/exception_support.h: Remove.
1242 * libsupc++/pure.cc: Use std::terminate.
1243 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
1244 (__is_pointer): Remove.
1245 * libsupc++/unwind-cxx.h: New file.
1246 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
1248 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
1250 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
1252 * src/Makefile.am (CXXLINK): Likewise.
1253 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
1255 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
1257 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
1259 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1261 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
1264 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
1266 * include/bits/basic_file.h (get_fileno): Remove.
1267 (_M_fileno): Remove.
1268 (_M_cfile_created): Add.
1269 (basic_file::basic_file(__c_file_type*, openmode): Add.
1270 (basic_file::basic_file(int, const char*, openmode): Remove.
1271 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
1272 const char*, ios_base::openmode): Don't allocate
1273 internal buffers. Turn off internal buffers.
1274 (basic_filebuf::overflow): Remove test for null buffer.
1275 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
1276 * include/bits/streambuf.cc: Tweak.
1277 * include/bits/std_ostream.h: Tweak.
1278 * config/basic_file_libio.h: Same.
1279 * config/basic_file_stdio.h: Same.
1280 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
1281 * testsuite/27_io/filebuf_members.cc: Tweaks.
1282 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
1284 2001-03-24 Phil Edwards <pme@sources.redhat.com>
1286 * Makefile.am: New targets, doxygen and doxygen-maint.
1287 * Makefile.in: Regenerated.
1288 * docs/doxygen/run_doxygen: Finally implemented.
1289 * docs/doxygen/maint.cfg.in: New file.
1290 * docs/doxygen/user.cfg.in: New file.
1292 2001-03-24 Phil Edwards <pme@sources.redhat.com>
1294 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
1295 * src/Makefile.am: Replace leading spaces with tabs on continuation
1297 * aclocal.m4: Regenerated.
1299 * Makefile.in: Ditto.
1300 * src/Makefile.in: Ditto.
1301 * libio/Makefile.in: Ditto.
1302 * libmath/Makefile.in: Ditto.
1303 * libsupc++/Makefile.in: Ditto.
1305 2001-03-24 Phil Edwards <pme@sources.redhat.com>
1307 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
1308 concept-checking code and current status of same.
1309 * docs/html/ext/howto.html: Ditto.
1310 * docs/html/faq/index.html: Ditto.
1311 * docs/html/faq/index.txt: Regenerated.
1313 2001-03-24 Phil Edwards <pme@sources.redhat.com>
1315 * include/bits/std_bitset.h: Include ostream and istream headers
1316 instead of iostream.
1318 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
1320 * include/bits/ostream.tcc: Use __builtin_alloca.
1322 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
1324 * src/misc-inst.cc (__sink_unused_warning): Move to...
1325 * src/locale-inst.cc (__sink_unused_warning): Move to...
1326 * src/stl-inst.cc: Here.
1327 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
1330 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1332 * intclude/bits/basic_file.h: Fix typos in comments.
1334 2001-03-20 Richard Henderson <rth@redhat.com>
1336 * src/gen-num-limits.cc: Instantiate for wchar_t.
1337 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
1339 2001-03-20 Jason Merrill <jason@redhat.com>
1341 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
1342 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
1343 * libsupc++/cxxabi.h: Declare it.
1345 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
1347 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
1348 signal_func with an unspecified argument list.
1350 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
1352 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
1354 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1356 * include/bits/basic_string.tcc (operator+): Fix thinko.
1358 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
1361 * include/bits/std_streambuf.h: Remove cached locale facets.
1362 (basic_streambuf::_M_buf_fctype): Remove.
1363 (basic_streambuf::~basic_streambuf): Remove here.
1364 (basic_streambuf::basic_streambuf): Same.
1365 (basic_streambuf::imbue): Same.
1366 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
1367 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
1368 (basic_filebuf::~basic_filebuf()): Remove here.
1369 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
1370 (basic_filebuf::imbue): Same.
1371 * include/bits/localefwd.h (_Count_ones): Remove.
1372 (locale::_S_num_categories): Just use 6, since this doesn't
1373 actually change, ever.
1374 * include/bits/locale_facets.tcc (has_facet): Simplify.
1376 * testsuite/27_io/filebuf.cc (test06): Add tests.
1378 2001-03-13 Steve Ellcey <sje@cup.hp.com>
1380 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
1381 match HP-UX ctype.h header file.
1383 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
1385 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
1386 duplicate definitions of __dj_ctype_*
1388 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
1390 * libsupc++/new: Remove pragma interface.
1391 * libsupc++/typeinfo: Same.
1392 * libsupc++/exception: Same.
1393 * libsupc++/new_handler.cc: Remove pragma implementation.
1394 (bad_alloc::~bad_alloc()): Add.
1395 * libsupc++/exception_support.cc: Same.
1396 (exception::~exception): Add.
1397 (bad_exception::~bad_exception): Add.
1398 * libsupc++/tinfo.cc: Same.
1399 (bad_cast::~bad_cast): Add.
1400 (bad_typeid::~bad_typeid): Add.
1402 2001-03-13 Phil Edwards <pme@sources.redhat.com>
1404 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
1406 2001-03-12 Felix Lee <flee@redhat.com>
1408 * mkcheck.in: workaround for bash 2.01 IFS bug.
1410 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
1412 Fixups for -fno-for-scope
1413 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
1414 * src/valarray-inst.cc (__gslice_to_index): Same.
1416 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
1418 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
1419 prior to trapping signal (UnixWare 7 workaround).
1421 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
1423 * include/backward/hashtable.h: Same.
1424 * include/backward/rope.h: Fix include.
1426 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
1428 * include/backward/vector.h: Include std_vector.h.
1430 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
1431 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
1434 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1436 * include/ext/stl_hashtable.h: Change type of __n to size_t
1437 * include/backward/bvector.h: Include <ext/stl_bvector.h>
1439 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1441 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
1442 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
1443 Use streamsize, not int_type.
1445 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
1447 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
1450 2001-03-08 Andreas Schwab <schwab@suse.de>
1452 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
1454 * aclocal.m4, configure: Regenerated.
1456 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
1458 * include/bits/std_iosfwd.h: Remove string forward decls here.
1459 * include/bits/stringfwd.h: Add forward decls for char_traits
1461 * config/c_io_libio.h (wstreamoff): Delete.
1462 * config/c_io_stdio.h (wstreamoff): Same.
1463 * include/bits/char_traits.h: Use streamoff not wstreamoff for
1464 char_traits<wchar_t>::off_type.
1465 Remove duplicate typedefs.
1466 * include/bits/fpos.h: Define streampos/wstreampos here.
1467 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
1470 Changeup output files.
1471 * testsuite/27_io/istream_unformatted.cc: Change output files.
1472 * testsuite/27_io/istream_seeks-1.txt: Add.
1473 * testsuite/27_io/istream_seeks-2.tst: Add.
1474 * testsuite/27_io/istream_seeks-1.tst: Add.
1475 * testsuite/27_io/istream_unformatted-2.tst: Delete.
1476 * testsuite/27_io/istream_unformatted-3.tst: Delete.
1477 * testsuite/27_io/istream_unformatted-3.txt: Delete.
1479 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
1481 Add Irix 5.2, 6.3 support.
1482 * config/os/irix/bits: Renamed to...
1483 * config/os/irix/irix6.5/bits: this.
1484 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
1485 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
1486 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
1487 * config/os/irix/irix5.2/bits/ctype_noninline.h
1488 (ctype<char>::ctype): Initialize _M_table with __ctype.
1489 * configure.target: Adjust.
1491 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
1494 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
1495 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
1497 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
1498 (*__pf)(__ios_type&)): Same.
1499 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
1500 (*__pf)(ios_base&))): Same.
1501 * testsuite/27_io/istream_extractor_other.cc: Add tests.
1502 * testsuite/27_io/istream_manip.cc (test01): Fix.
1504 2001-03-06 Nathan Myers <ncm@cantrip.org>
1505 Benjamin Kosnik <bkoz@redhat.com>
1507 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
1508 * testsuite/17_intro/header_cerrno.cc (test01): New file.
1509 * testsuite/17_intro/header_cassert.cc (test01): New file.
1510 * testsuite/17_intro/header_cstddef.cc (test01): New file.
1511 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
1512 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
1514 2001-03-05 scott snyder <snyder@fnal.gov>
1517 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
1519 * include/c_std/bits/std_cstdlib.h: ... to here.
1520 * testsuite/17_intro/header_cstdlib.cc: Add test.
1522 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
1524 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
1526 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
1528 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
1529 definition. Replace enum with static const variables.
1531 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
1532 throw specification, fix typos, use <static_cast>.
1533 (ctype<char>::scan_is): remove throw specification.
1534 (ctype<char>::scan_not): likewise.
1536 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
1537 (ctype<char>::do_toupper(char)): use <static_cast>.
1538 (ctype<char>::do_toupper(char *, const char *)): likewise.
1539 (ctype<char>::do_tolower(char)): likewise.
1540 (ctype<char>::do_tolower(char *, const char *)): likewise.
1542 2001-03-04 Phil Edwards <pme@sources.redhat.com>
1544 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
1545 * include/backward/algo.h: Use std not __STD. Remove unneeded
1546 macros and "never happens" code. Adjust to C++STYLE guidelines.
1547 * include/backward/algobase.h: Likewise.
1548 * include/backward/alloc.h: Likewise.
1549 * include/backward/bvector.h: Likewise.
1550 * include/backward/deque.h: Likewise.
1551 * include/backward/function.h: Likewise.
1552 * include/backward/hash_map.h: Likewise.
1553 * include/backward/hash_set.h: Likewise.
1554 * include/backward/hashtable.h: Likewise.
1555 * include/backward/heap.h: Likewise.
1556 * include/backward/iterator.h: Likewise.
1557 * include/backward/list.h: Likewise.
1558 * include/backward/map.h: Likewise.
1559 * include/backward/multimap.h: Likewise.
1560 * include/backward/multiset.h: Likewise.
1561 * include/backward/pair.h: Likewise.
1562 * include/backward/rope.h: Likewise.
1563 * include/backward/set.h: Likewise.
1564 * include/backward/slist.h: Likewise.
1565 * include/backward/stack.h: Likewise.
1566 * include/backward/strstream: Likewise.
1567 * include/backward/tempbuf.h: Likewise.
1568 * include/backward/tree.h: Likewise.
1569 * include/backward/vector.h: Likewise.
1570 * include/bits/basic_ios.h: Likewise.
1571 * include/bits/basic_ios.tcc: Likewise.
1572 * include/bits/basic_string.h: Likewise.
1573 * include/bits/c++config: Likewise.
1574 * include/bits/concept_checks.h: Likewise.
1575 * include/bits/fpos.h: Likewise.
1576 * include/bits/fstream.tcc: Likewise.
1577 * include/bits/functexcept.h: Likewise.
1578 * include/bits/ios_base.h: Likewise.
1579 * include/bits/istream.tcc: Likewise.
1580 * include/bits/mask_array.h: Likewise.
1581 * include/bits/ostream.tcc: Likewise.
1582 * include/bits/pthread_allocimpl.h: Likewise.
1583 * include/bits/sbuf_iter.h: Likewise.
1584 * include/bits/slice.h: Likewise.
1585 * include/bits/slice_array.h: Likewise.
1586 * include/bits/sstream.tcc: Likewise.
1587 * include/bits/std_bitset.h: Likewise.
1588 * include/bits/std_fstream.h: Likewise.
1589 * include/bits/std_iomanip.h: Likewise.
1590 * include/bits/std_ios.h: Likewise.
1591 * include/bits/std_istream.h: Likewise.
1592 * include/bits/std_iterator.h: Likewise.
1593 * include/bits/std_memory.h: Likewise.
1594 * include/bits/std_ostream.h: Likewise.
1595 * include/bits/std_sstream.h: Likewise.
1596 * include/bits/std_streambuf.h: Likewise.
1597 * include/bits/std_string.h: Likewise.
1598 * include/bits/std_valarray.h: Likewise.
1599 * include/bits/stl_algo.h: Likewise.
1600 * include/bits/stl_algobase.h: Likewise.
1601 * include/bits/stl_alloc.h: Likewise.
1602 * include/bits/stl_construct.h: Likewise.
1603 * include/bits/stl_deque.h: Likewise.
1604 * include/bits/stl_function.h: Likewise.
1605 * include/bits/stl_heap.h: Likewise.
1606 * include/bits/stl_iterator.h: Likewise.
1607 * include/bits/stl_iterator_base.h: Likewise.
1608 * include/bits/stl_list.h: Likewise.
1609 * include/bits/stl_map.h: Likewise.
1610 * include/bits/stl_multimap.h: Likewise.
1611 * include/bits/stl_multiset.h: Likewise.
1612 * include/bits/stl_numeric.h: Likewise.
1613 * include/bits/stl_pair.h: Likewise.
1614 * include/bits/stl_pthread_alloc.h: Likewise.
1615 * include/bits/stl_queue.h: Likewise.
1616 * include/bits/stl_raw_storage_iter.h: Likewise.
1617 * include/bits/stl_relops.h: Likewise.
1618 * include/bits/stl_set.h: Likewise.
1619 * include/bits/stl_stack.h: Likewise.
1620 * include/bits/stl_tempbuf.h: Likewise.
1621 * include/bits/stl_threads.h: Likewise.
1622 * include/bits/stl_tree.h: Likewise.
1623 * include/bits/stl_uninitialized.h: Likewise.
1624 * include/bits/stl_vector.h: Likewise.
1625 * include/bits/streambuf.tcc: Likewise.
1626 * include/bits/type_traits.h: Likewise.
1627 * include/bits/valarray_meta.h: Likewise.
1628 * include/ext/bvector: Likewise.
1629 * include/ext/hash_map: Likewise.
1630 * include/ext/hash_set: Likewise.
1631 * include/ext/ropeimpl.h: Likewise.
1632 * include/ext/slist: Likewise.
1633 * include/ext/stl_bvector.h: Likewise.
1634 * include/ext/stl_hash_fun.h: Likewise.
1635 * include/ext/stl_hashtable.h: Likewise.
1636 * include/ext/stl_rope.h: Likewise.
1637 * src/complex_io.cc: Likewise.
1638 * src/ios.cc: Likewise.
1639 * src/locale-inst.cc: Likewise.
1640 * src/locale.cc: Likewise.
1641 * src/localename.cc: Likewise.
1642 * src/misc-inst.cc: Likewise.
1643 * src/stdexcept.cc: Likewise.
1644 * src/stl-inst.cc: Likewise.
1645 * src/strstream.cc: Likewise.
1646 * src/valarray-inst.cc: Likewise.
1648 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
1650 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
1652 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1654 * include/bits/istream.tcc: change type of __extracted to __size_type
1656 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
1658 * src/wstring-inst.cc: New file.
1659 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
1660 (libinst_wstring_la_SOURCES): Remove.
1661 (libstdc___la_LIBADD): Remove libinst_wstring_la.
1662 (sources): Add wstring-inst.cc
1663 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
1666 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1668 * src/locale.cc: initialise __ret with zero
1669 * src/strstream.cc:cast gptr to int_type
1671 2001-03-01 Phil Edwards <pme@sources.redhat.com>
1673 * docs/html/faq/index.html: Update broken links.
1674 * docs/html/faq/index.txt: Regenerated.
1676 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
1679 * configure.target: Change irix* to irix6.5* in target_os table.
1681 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
1684 * include/bits/c++config (__GLIBCPP__): Bump number in
1685 anticipation of 2.92.
1687 * include/bits/codecvt.h: Fix typo.
1688 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
1690 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
1691 instantiations for stdio model.
1693 2001-02-28 Phil Edwards <pme@sources.redhat.com>
1695 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
1696 and GLIBCPP_CXXFLAGS as unused variables.
1697 * configure.host: Likewise.
1698 * configure.target: Likewise.
1699 * aclocal.m4: Regenerated.
1700 * configure: Regenerated.
1701 * Makefile.in: Regenerated.
1702 * libio/Makefile.in: Regenerated.
1703 * libmath/Makefile.in: Regenerated.
1704 * libsupc++/Makefile.in: Regenerated.
1705 * src/Makefile.in: Regenerated.
1707 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
1710 * include/bits/basic_file.h: Include basic_file_model.h.
1711 * config/c_io_libio.cc: Move to...
1712 * config/basic_file_libio.cc: Here.
1713 * config/basic_file_libio.h: New file.
1714 * config/c_io_stdio.cc: Move to...
1715 * config/basic_file_stdio.cc: Here.
1716 * config/basic_file_stdio.h: New file.
1717 * config/c_io_libio.h: Tweak.
1718 * config/c_io_stdio.h: Tweak.
1719 * src/Makefile.am (build_headers): Add basic_file_model.h.
1720 (sources): Add basic_file.cc, remove c++io.cc.
1721 * src/Makefile.in: Regenerate.
1722 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
1723 basic_file_model.h and basic_file.cc.
1724 * aclocal.m4: Regenerate.
1725 * configure: Regenerate.
1726 * testsuite/27_io/filebuf.cc (test05): Add regression.
1728 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
1731 * config/cpu/alpha/bits/atomicity.h: Change.
1732 * config/cpu/arm/bits/atomicit3y.h
1733 * config/cpu/generic/bits/atomicity.h
1734 * config/cpu/i386/bits/atomicity.h
1735 * config/cpu/i486/bits/atomicity.h
1736 * config/cpu/ia64/bits/atomicity.h
1737 * config/cpu/powerpc/bits/atomicity.h
1738 * config/cpu/sparc/sparc32/bits/atomicity.h
1739 * config/cpu/sparc/sparc64/bits/atomicity.h
1740 * config/os/aix/bits/atomicity.h
1741 * config/os/irix/bits/atomicity.h
1743 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
1745 * include/bits/std_stdexcept.h (runtime_error): Make string
1747 (logic_error): Same.
1748 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
1751 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
1755 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
1756 string object, not reference.
1757 (runtime_error::runtime_error): Same.
1758 * testsuite/19_diagnostics/stdexceptions.cc: New file.
1760 2001-02-26 Phil Edwards <pme@sources.redhat.com>
1762 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
1763 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
1764 diagnostics. Remove WFMT_FLAGS.
1765 * configure.in: Replace WFMT_FLAGS with diagnostics options.
1766 * libsupc++/Makefile.am: Likewise.
1767 * src/Makefile.am: Likewise.
1768 * aclocal.m4: Regenerated.
1769 * configure: Regenerated.
1770 * Makefile.in: Regenerated.
1771 * libio/Makefile.in: Regenerated.
1772 * libmath/Makefile.in: Regenerated.
1773 * libsupc++/Makefile.in: Regenerated.
1774 * src/Makefile.in: Regenerated.
1776 2001-02-26 Phil Edwards <pme@sources.redhat.com>
1778 Fixes libstdc++/2079
1779 * include/backward/iomanip.h: Expose <ios> manipulators to global
1781 * include/backward/iostream.h: Also expose std::ws.
1783 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
1785 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
1787 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
1789 * include/bits/codecvt.h: Use __builtin_alloca.
1790 * include/bits/ostream.tcc: Same.
1791 * include/bits/fstream.tcc: Same.
1793 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
1795 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
1797 2001-02-23 David Edelsohn <dje@watson.ibm.com>
1799 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
1801 2001-02-23 Phil Edwards <pme@sources.redhat.com>
1804 * include/backward/iostream.h: Expose std::flush in old headers.
1806 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1808 * mknumeric_limits: Remove special-casing on target. Use gcc
1809 instead of g++ to build gen-num-limits.cc
1811 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
1813 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
1815 * include/bits/codecvt.h: Use alloca instead of __extension__ for
1817 * include/bits/ostream.tcc: Same.
1818 * include/bits/std_ostream.h: Same.
1819 * include/bits/fstream.tcc: Same.
1820 * include/bits/locale_facets.tcc: Add typename.
1821 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
1823 2001-02-21 Phil Edwards <pme@sources.redhat.com>
1825 * tests_flags.in: Remove -n flag from call to echo.
1827 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
1829 * config/c_locale_gnu.h: Add clocale include.
1831 2001-02-20 Phil Edwards <pme@sources.redhat.com>
1833 * include/bits/stl_config.h: Remove file.
1834 * src/Makefile.am (base_headers): Remove from list.
1835 * configure: Regenerate.
1836 * Makefile.in: Ditto.
1837 * libio/Makefile.in: Ditto.
1838 * libmath/Makefile.in: Ditto.
1839 * libsupc++/Makefile.in: Ditto.
1840 * src/Makefile.in: Ditto.
1842 * include/bits/c++config: Move relevant macros to here.
1843 * include/backward/alloc.h: Include c++config.h instead.
1844 * include/backward/function.h: Ditto.
1845 * include/backward/heap.h: Ditto.
1846 * include/backward/pair.h: Ditto.
1847 * include/bits/pthread_allocimpl.h: Ditto.
1848 * include/bits/std_functional.h: Ditto.
1849 * include/bits/std_iterator.h: Ditto.
1850 * include/bits/std_numeric.h: Ditto.
1851 * include/bits/std_utility.h: Ditto.
1852 * include/bits/stl_algobase.h: Ditto.
1853 * include/bits/type_traits.h: Ditto.
1854 * src/stl-inst.cc: Ditto.
1856 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1858 * include/bits/basic_file.h: Add #pragma system_header
1859 * include/bits/basic_ios.h: Ditto.
1860 * include/bits/basic_string.h: Ditto.
1861 * include/bits/char_traits.h: Ditto.
1862 * include/bits/codecvt.h: Ditto.
1863 * include/bits/cpp_type_traits.h: Ditto.
1864 * include/bits/fpos.h: Ditto.
1865 * include/bits/gslice.h: Ditto.
1866 * include/bits/gslice_array.h: Ditto.
1867 * include/bits/indirect_array.h: Ditto.
1868 * include/bits/ios_base.h: Ditto.
1869 * include/bits/limits_generic.h: Ditto.
1870 * include/bits/locale_facets.h: Ditto.
1871 * include/bits/localefwd.h: Ditto.
1872 * include/bits/mask_array.h: Ditto.
1873 * include/bits/sbuf_iter.h: Ditto.
1874 * include/bits/sequence_concepts.h: Ditto.
1875 * include/bits/slice.h: Ditto.
1876 * include/bits/slice_array.h: Ditto.
1877 * include/bits/std_algorithm.h: Likewise.
1878 * include/bits/std_bitset.h: Likewise.
1879 * include/bits/std_complex.h: Likewise.
1880 * include/bits/std_deque.h: Likewise.
1881 * include/bits/std_fstream.h: Likewise.
1882 * include/bits/std_functional.h: Likewise.
1883 * include/bits/std_iomanip.h: Likewise.
1884 * include/bits/std_ios.h: Likewise.
1885 * include/bits/std_iosfwd.h: Likewise.
1886 * include/bits/std_iostream.h: Likewise.
1887 * include/bits/std_istream.h: Likewise.
1888 * include/bits/std_iterator.h: Likewise.
1889 * include/bits/std_list.h: Likewise.
1890 * include/bits/std_locale.h: Likewise.
1891 * include/bits/std_map.h: Likewise.
1892 * include/bits/std_memory.h: Likewise.
1893 * include/bits/std_numeric.h: Likewise.
1894 * include/bits/std_ostream.h: Likewise.
1895 * include/bits/std_queue.h: Likewise.
1896 * include/bits/std_set.h: Likewise.
1897 * include/bits/std_sstream.h: Likewise.
1898 * include/bits/std_stack.h: Likewise.
1899 * include/bits/std_stdexcept.h: Likewise.
1900 * include/bits/std_streambuf.h: Likewise.
1901 * include/bits/std_string.h: Likewise.
1902 * include/bits/std_utility.h: Likewise.
1903 * include/bits/std_valarray.h: Likewise.
1904 * include/bits/std_vector.h: Likewise.
1905 * include/bits/stringfwd.h: Likewise.
1906 * include/bits/type_traits.h: Likewise.
1907 * include/bits/valarray_array.h: Likewise.
1908 * include/bits/valarray_meta.h: Likewise.
1910 2001-02-19 Andreas Jaeger <aj@suse.de>
1912 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
1915 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
1918 * include/bits/std_ostream.h: Replaced usage of
1919 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
1920 * include/bits/char_traits.h: Removed non-standard
1921 methods that cannot be used elsewhere.
1924 * include/bits/basic_ios.h: Uncommented #include of
1928 * include/bits/codecvt.h: See next...
1929 * include/bits/fstream.tcc: See next...
1930 * include/bits/ostream.tcc: Add __extension__
1931 to variable-length arrays.
1934 * include/bits/localefwd.h: Changed int counter type to size_t.
1937 * include/bits/std_fstream.h: Added typedef for __ctype_type.
1939 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
1941 * testsuite/21_strings/char_traits.cc: Move to ...
1942 * testsuite/21_strings/char_traits_requirements.cc: ..here.
1943 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
1944 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
1946 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
1948 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
1951 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
1953 * include/bits/c++config: Revert.
1955 2001-02-15 Mark Mitchell <mark@codesourcery.com>
1957 * include/bits/istream.tcc: Use ios_base::iostate in place of
1958 iostate throughout. Insert `typename' keyword where necessary.
1959 * include/bits/ostream.tcc: Insert `typename' keyword where
1962 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
1964 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
1965 Define so library is compliant.
1967 2001-02-15 Anthony Green <green@redhat.com>
1969 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
1971 * aclocal.m4: Regenerate.
1972 * configure: Regenerate.
1974 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
1976 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
1977 Include ieeefp.h for fpclass on UnixWare{2,7}.
1978 * aclocal.m4: Regenerate.
1979 * configure: Regenerate.
1980 * mkcheck.in (size_command): Do without GNU-grep when using
1983 2001-02-15 Mark Mitchell <mark@codesourcery.com>
1985 Remove old ABI support from libsupc++.
1986 * libsupc++/cxxabi.h: Remove conditionally compiled code.
1987 * libsupc++/exception_support.cc: Likewise.
1988 * libsupc++/pure.cc: Likewise.
1989 * libsupc++/tinfo.cc: Likewise.
1990 * libsupc++/tinfo.h: Likewise.
1991 * libsupc++/tinfo2.cc: Likewise.
1992 * libsupc++/typeinfo: Likewise.
1993 * libsupc++/vec.cc: Likewise.
1995 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
1997 Add support for -fno-exceptions.
1998 * include/bits/exception_support.h: Remove.
1999 * include/bits/basic_string.h: Remove exception_support.
2000 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
2002 (string::substr): Same.
2003 * include/bits/basic_string.tcc (string::reserve): Replace
2004 __LENGTHERROR with __throw_length_error.
2005 (string::_S_create): Same.
2006 (string::resize): Same.
2007 (string::_M_replace): Same.
2008 (string::replace): Same.
2009 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
2010 (string::compare): Same.
2011 * include/bits/stl_vector.h: Remove exception_support.
2012 * src/Makefile.am (base_headers): Remove here.
2013 * src/Makefile.in: Regenerate.
2015 * include/bits/stl_range_errors.h: Remove.
2016 * include/bits/stl_deque.h: Use __throw_range_error.
2017 * include/bits/std_deque.h: Include functexcept.h.
2018 * include/bits/std_vector.h: Same.
2019 * src/Makefile.am (base_headers): Remove here.
2020 * src/Makefile.in: Regenerate.
2021 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
2022 * include/ext/bvector: Remove stl_range_errors.h
2024 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
2026 * include/bits/functexcept.h: New file.
2027 * src/functexcept.cc: New file. Definitions for function-based
2029 * src/Makefile.am (sources): Add functexcept.cc.
2030 * src/Makefile.in: Regenerate.
2032 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
2035 * include/bits/localefwd.h: Include functexcept.h.
2036 * include/bits/std_iosfwd.h: Same.
2038 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
2039 throw basic_ios::failure.
2040 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
2041 Use __throw_exception_again.
2042 (filebuf::_M_filebuf_init): Same.
2043 * include/bits/streambuf.tcc (__copy_streambufs): Same.
2044 * include/bits/ostream.tcc (ostream::operator<<): Same.
2045 * include/bits/istream.tcc (istream::operator>>): Same.
2046 * include/bits/basic_string.tcc (string::_M_mutate): Same.
2047 (string::_S_construct): Same.
2048 (string::_M_clone): Same.
2049 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
2051 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
2052 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
2053 __throw_exception_again.
2054 (locale::_Imp::_Imp(string, size_t): Same.
2055 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
2056 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
2057 (locale::locale(const char*)): Use __throw_runtime_error.
2058 (locale::classic): Use __throw_exception_again.
2059 (locale::_S_normalize_category): Use __throw_runtime_error.
2061 * src/stdexcept.cc: Remove cruft.
2063 * libsupc++/exception_defines.h: New file.
2064 * libsupc++/new_opnt.cc: Include exception_defines.h.
2065 * libsupc++/vec.cc: Same.
2066 (__cxa_vec_new2): Use __throw_exception_again.
2067 (__cxa_vec_new3): Same.
2068 (__cxa_vec_ctor): Same.
2069 (__cxa_vec_delete3): Same.
2070 (__cxa_vec_cctor): Same.
2071 (__cxa_vec_delete2): Same.
2072 (__cxa_vec_dtor): Same.
2073 * libsupc++/exception_support.cc: Include exception_defines.h. Only
2074 compile exception-handling bits if __EXCEPTIONS is defined.
2075 Remove old ABI support.
2076 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
2077 std::__throw_bad_alloc() instead of throw bad_alloc.
2078 * libsupc++/Makefile.am: Add exception_defines.h.
2079 * libsupc++/Makefile.in: Reformat.
2080 * libsupc++/*: Format.
2082 2001-02-15 Phil Edwards <pme@sources.redhat.com>
2084 * docs/html/configopts.html: Minor updates and typo fixes.
2085 * docs/html/faq/index.html: Updates of the "not really bugs" list.
2086 * docs/html/faq/index.txt: Regenerated.
2088 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
2090 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
2091 dejagnu/dg.exp. Adapt to log options used to run testcases.
2093 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2095 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
2098 2001-02-13 Dirk Mueller <dmuell@gmx.net>
2099 Phil Edwards <pme@sources.redhat.com>
2101 * include/backward/function.h: Do not use rel_ops for older
2103 * include/backward/pair.h: Likewise.
2105 2001-02-12 Mark Mitchell <mark@codesourcery.com>
2107 * src/locale.cc: Remove bogus locale::id definitions.
2109 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2111 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
2112 not _DEFINE_VALARRAY_OPERATOR which is not existent.
2114 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
2115 thinko in member initialisation.
2117 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
2119 * include/bits/std_valarray.h(valarray<>::shift): Avoid
2120 comparaison between signed and unsigned integer types.
2121 (valarray<>::cshift): Reformat.
2123 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
2125 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
2126 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
2127 * configure.in: Test for sigsetjmp.
2128 * configure, config.h.in: Rebuilt.
2130 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
2132 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
2133 lengths and strides.
2134 (__gslice_to_index): Document.
2136 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
2138 * include/bits/char_traits.h char_traits<char>::int_type: Change
2139 to `int' to match 21.1.3.1/2.
2141 * testsuite/21_strings/char_traits-int_type.C: New test.
2143 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
2145 * testsuite/Makefile.am: New file.
2147 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
2149 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
2151 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
2153 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
2155 2001-02-08 David Edelsohn <edelsohn@gnu.org>
2157 * configure.target (aix4*): Remove extra set of brackets.
2159 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
2162 * include/bits/stringfwd.h: New file.
2163 * include/bits/stl_string_fwd.h: Remove.
2164 * include/bits/localefwd.h: Remove declaration for allocator.
2165 * include/bits/std_iosfwd: Same.
2166 * include/bits/std_string.h: Include it.
2167 * include/bits/std_ios.h: Remove include.
2168 * include/bits/basic_string.h: Tweak.
2169 * libsupc++/new: Format.
2170 * src/Makefile.am (base_headers): Add stringfwd.h, remove
2172 * src/Makefile.in: Regenerate.
2173 * include/bits/std_stdexcept.h: Rewrite.
2174 * src/stdexcept.cc: Same.
2176 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
2178 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
2179 install locations too.
2180 * aclocal.m4: Regenerate.
2181 * configure.in: Remove USE_LIBDIR.
2182 * configure: Regenerate.
2183 * src/Makefile.am (toolexecdir): Simplify, use
2184 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
2185 * src/Makefile.in: Regenerate.
2186 * libsupc++/Makefile.am: Same.
2187 * libsupc++/Makefile.in: Regenerate.
2189 * src/Makefile.am: Just remove special rules for locale-inst.cc and
2190 misc-inst.cc as no longer necessary.
2192 Follow C++STYLE for naming non-static functions.
2193 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
2195 * include/bits/streambuf.tcc: Same.
2196 * include/bits/ostream.tcc: Same.
2197 * include/bits/istream.tcc: Same.
2198 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
2199 (_S_output_float): To __output_float.
2200 * include/bits/std_streambuf.h (_S_copy_streambufs): To
2202 * include/bits/locale_facets.tcc (_S_build_float_format): To
2203 __build_float_format.
2204 (_S_format): To __output_integer.
2205 (_S_fill): To __pad.
2206 * src/locale.cc: Same.
2207 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
2209 * include/bits/locale_facets.tcc (_S_group_digits): To
2211 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
2212 for collate, numpunct.
2214 2001-02-06 Phil Edwards <pme@sources.redhat.com>
2216 * docs/html/configopts.html: Fix HTML markup.
2217 * docs/html/install.html: Bring up to date.
2218 * docs/html/17_intro/C++STYLE: Add global variable conventions.
2219 * docs/html/21_strings/howto.html: More notes.
2220 * docs/html/22_locale/howto.html: Fix HTML markup.
2221 * docs/html/27_io/howto.html: More notes.
2222 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
2223 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
2225 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
2227 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
2228 to match header files.
2229 (_S_output_float): Likewise.
2230 (_S_copy_streambufs): Likewise.
2232 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
2233 Phil Edwards <pme@sources.redhat.com>
2235 * include/bits/std_istream.h (op>> signed,unsigned char): Must
2236 use reinterpret_cast, not static_cast.
2238 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
2240 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
2241 * aclocal.m4: Regenerate.
2242 * configure: Regenerate.
2244 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2246 * include/bits/locale_facets.h (class moneypunct): Fix typos.
2247 * libsupc++/pure.cc: Revert.
2249 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2251 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
2252 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
2253 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
2254 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
2255 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
2256 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
2257 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
2258 * aclocal.m4: Regenerate.
2259 * configure: Regenerate.
2261 2001-02-05 Mark Mitchell <mark@codesourcery.com>
2263 * include/bits/locale_facets.tcc: Remove `static' keyword on
2264 function definitions.
2265 * include/bits/std_streambuf.h: Likewise.
2266 * src/Makefile.am: Remove use of -fimplicit-templates.
2267 * src/Makefile.in: Regenerated.
2268 * src/locale-inst.cc: Explicitly instantiate more functions.
2269 * src/misc-inst.cc: Likewise.
2270 * src/string-inst.cc: Likewise.
2272 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2274 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
2275 macro. Consolidate all the bits to do with where includes might be
2277 * aclocal.m4: Regenerate.
2278 * configure.in: Use it.
2279 * configure: Regenerate.
2280 * src/Makefile.am (targetincludep): Use simplified rules.
2281 (targetincludep): Rename gxx_target_include_dir.
2282 (myincludep): Rename gxx_include_dir.
2283 * src/Makefile.in: Regenerate.
2284 * libsupc++/Makefile.am: Use simplified rules.
2285 * libsupc++/Makefile.in: Regenerate.
2287 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2289 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
2290 * include/c_std/bits/std_cctype.h: Same.
2291 * include/c_std/bits/std_cassert.h: Same.
2292 * include/c_std/bits/std_cstdarg.h: Same.
2293 * include/c_std/bits/std_cstddef.h: Same.
2295 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
2297 * include/c_std/bits/std_ctime.h: Same.
2298 * include/c_std/bits/std_clocale.h: Same.
2299 * include/c_std/bits/std_cmath.h: Same.
2300 * include/c_std/bits/std_csetjmp.h: Same.
2301 * include/c_std/bits/std_csignal.h: Same.
2302 * include/c_std/bits/std_cstring.h: Same.
2303 * include/c_std/bits/std_cstdlib.h: Same.
2304 * include/c_std/bits/std_cwchar.h: Same.
2306 2001-02-05 Phil Edwards <pme@sources.redhat.com>
2308 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
2310 2001-02-05 Mark Mitchell <mark@codesourcery.com>
2312 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
2313 (string::_S_construct): Likewise.
2315 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
2317 * testsuite/config/default.exp: New file.
2318 * testsuite/config: New directory.
2320 2001-02-04 Mark Mitchell <mark@codesourcery.com>
2322 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
2323 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
2324 whenever !__GXX_MERGED_TYPEINFO_NAMES.
2325 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
2327 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
2328 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2330 * Makefile.am (mkinstalldirs): Set.
2331 * src/Makefile.am (mkinstalldirs): Set.
2332 * libmath/Makefile.am (mkinstalldirs): Set.
2333 * libsup++/Makefile.am (mkinstalldirs): Set.
2334 * libio/Makefile.am (mkinstalldirs): Set.
2335 * */Makefile.in: Regenerate.
2337 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
2339 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
2340 * include/bits/localefwd.h: More initialization cleanups.
2342 2001-02-03 Jeffrey A Law <law@cygnus.com>
2344 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
2345 correctly targets with 16bit ints.
2346 (_S_ios_openmode_end): Similarly.
2347 (_S_ios_iostate_end): Similarly.
2348 (_S_ios_Seekdir_end): Similarly.
2350 2001-02-02 Phil Edwards <pme@sources.redhat.com>
2352 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
2354 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
2356 * configure.in (toplevel_srcdir, auxdir): Set.
2357 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
2358 * aclocal.m4, configure, Makefile.in: Rebuilt.
2359 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
2360 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
2361 * libsupc++-v3/Makefile.in: Rebuilt.
2362 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
2363 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
2365 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
2367 * config/c_locale_generic.cc: Remove langinfo include.
2369 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
2371 Preliminary named locales.
2372 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
2373 * aclocal.m4: Regenerate.
2374 * configure.in: Use it.
2375 * configure: Regerate.
2376 * src/Makefile.am (sources): Add c++locale.cc.
2377 (build_headers): Add c++locale.h.
2378 * src/Makefile.in: Regenerate.
2379 * config/c_locale_gnu.h: New file.
2380 * config/c_locale_gnu.cc: New file. Non-inline member functions
2381 for named locales, gnu-specific.
2382 * config/c_locale_generic.h: New file.
2383 * config/c_locale_generic.cc: New file. Non-inline member
2384 functions for named locales, generic version.
2385 * docs/html/configopts.html: Add documentation on new options.
2387 * include/bits/locale_facets.h (class _Messages): Remove.
2388 (class _Moneypunct): Remove.
2389 * src/locale-inst.cc: Remove.
2391 * include/bits/locale_facets.h (class _Collate): Remove.
2392 * src/locale-inst.cc (std): Remove.
2393 * src/locale.cc: And here.
2395 * include/bits/localefwd.h (locale::_M_coalesce): New
2396 function. Correctly put together multi-name locales.
2397 (_Impl(const _Impl&, category, size_t)): Remove.
2399 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
2401 (_M_normalize_category_names): Remove.
2402 (_M_replace_categories): Fix.
2404 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
2405 (locale::_Impl::_M_construct_ctype): Remove.
2406 (locale::_Impl::_M_construct_monetary): Remove.
2407 (locale::_Impl::_M_construct_numeric): Remove.
2408 (locale::_Impl::_M_construct_time): Remove.
2409 (locale::_Impl::_M_construct_messages): Remove.
2411 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
2412 (_Use_facet_failure_handle): Remove.
2413 * src/locale.cc: Remove definitions.
2414 * src/locale-inst.cc: And here.
2416 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
2418 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
2419 create and error-check underlying locale object.
2420 (locale::facet::_S_destroy_c_locale): Add, take care of properly
2421 tearing down underlying locale object.
2422 * include/bits/localefwd.h (locale::facet): Declare.
2423 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
2424 correctness, as glibc apparently has incorrect info in it. Test
2425 with it when it works again.....
2427 * include/bits/localefwd.h (locale::_Impl::__vec_string):
2428 Remove. Number of categories is fixed at six, so just simplify and
2429 make this an array of strings.
2430 (locale::_Impl::_M_has_name): Remove.
2431 (locale::_Impl::_M_name): Remove.
2432 (locale::_Impl::_M_category_names): Turns into...
2433 (locale::_Impl::_M_names): ...this.
2434 (locale::_Impl::_M_has_same_name()): New function.
2435 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
2436 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
2438 * src/locale.cc (locale::name()): Construct mangled name
2439 accurately reflecting combined locale categories.
2441 * src/locale.cc (locale::classic()): Don't initialize here.
2442 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
2443 __refs, bool __has_name, string __str): Do it here.
2445 * include/bits/localefwd.h: _S_categories_num to
2446 _S_num_categories. _S_facets_num to _S_num_facets.
2447 (locale::id::id()): Explicitly set _M_index to zero.
2448 * src/locale.cc: Same.
2450 * src/locale.cc: (locale::locale(const char*)): Construct named
2453 * src/locale.cc: Remove numpunct_byname ctors.
2454 * testsuite/22_locale/numpunct_byname.cc: New file.
2455 * testsuite/22_locale/numpunct.cc: New file.
2457 * include/bits/localefwd.h (class locale): Change data members to
2458 protected, from private.
2459 (_Impl::_M_get_c_locale): Add member function.
2460 (locale::facet::_M_get_global_impl()): Add member function.
2461 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
2462 a __c_locale pointer.
2463 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
2465 * testsuite/22_locale/members.cc: New file, test name and combine.
2467 * include/bits/locale_facets.h (class numpunct): Remove class
2468 _Punct and _Numpunct. Rewrite class numpunct to be correct for
2470 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
2471 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
2472 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
2473 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
2474 * testsuite/22_locale/numpunct_char_members.cc: New file.
2476 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
2478 * testsuite/README: Add more comment.
2479 * testsuite/lib/libstdc++.exp: Tweak comment.
2481 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
2483 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
2485 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
2487 * testsuite/21_strings/inserters_extractors.cc: Remove
2488 explicit reference to 'testsuite/'.
2490 2001-01-25 Richard Henderson <rth@redhat.com>
2492 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
2493 bits. Fixes Tru64 build issues.
2495 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2497 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
2498 (use ${MAKE-make}, not ${MAKE:-make}).
2499 * aclocal.m4, configure: Regenerate.
2501 2001-01-25 Mark Mitchell <mark@codesourcery.com>
2503 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
2506 * src/Makefile.am (sources): Add globals.cc.
2507 * src/Makefile.in: Regenerated.
2508 * src/globals.cc: New file.
2509 * src/ios.cc (cin): Don't define here, just declare extern.
2518 2001-01-25 Phil Edwards <pme@sources.redhat.com>
2520 * include/bits/std_iterator.h: Do not include stl_relops.h.
2521 * include/bits/std_numeric.h: Ditto.
2522 * include/bits/stl_algobase.h: Ditto.
2523 * include/bits/stl_relops.h: Add comment warning about problems.
2525 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
2527 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
2528 in testcases. Prepare for the DejaGnu based framework.
2529 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
2530 directory -- it is now mkcheck working directory.
2531 * tests_flags.in: Remove reference to $(top_srcdir). Use
2533 * Makefile.am (check, check-install): Change mkcheck invocation
2535 * Makefile.in: Regenerate.
2537 2001-01-24 Mark Mitchell <mark@codesourcery.com>
2539 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
2540 (__always_swap): Likewise.
2542 2001-01-23 Chris Demetriou <cgd@broadcom.com>
2544 * libsupc++/exception_support.cc (__terminate_func): Remove
2546 (__terminate_func_ptr): New typedef.
2547 (__terminate, __terminate_set_func): New extern function
2549 (std::terminate): Use __terminate function.
2550 (std::set_terminate): Use __terminate_set_func function.
2552 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
2554 * configure.target: Just use os_include_dir always.
2555 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
2556 Link atomicity files and ctype files here.
2557 * configure: Regenerate.
2558 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
2559 (GLIBCPP_ENABLE_ATOMICITY): Remove.
2560 * aclocal.m4: Regenerate.
2562 2001-01-23 Chris Demetriou <cgd@broadcom.com>
2564 * configure.in: Place definition of MULTISUBDIR in
2565 libsupc++/Makefile as is done for src/Makefile.
2566 * configure: Regenerate.
2568 2001-01-23 Phil Edwards <pme@sources.redhat.com>
2570 * acinclude.m4: Cosmetic changes only.
2571 * aclocal.m4: Regenerated.
2572 * configure: Regenerated.
2573 * configure.target: Update documented list of changed variables.
2574 * docs/html/install.html: Fix typo.
2575 * docs/html/20_util/howto.html: More notes on auto_ptr.
2576 * docs/html/27_io/howto.html: More notes on streabufs.
2577 * docs/html/faq/index.html: Add rel_ops problem and mention the
2578 DEC as(1) .subsection difficulty.
2579 * docs/html/faq/index.txt: Regenerated.
2581 2001-01-23 Mark Mitchell <mark@codesourcery.com>
2583 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
2584 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
2585 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
2586 its already provided in config.target.
2587 * aclocal.m4: Regenerated.
2588 * configure: Likewise.
2589 * configure.target: Set ctype_include_dir for lots of systems.
2590 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
2591 * libsupc++/Makefile.in: Regenerated.
2593 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
2595 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
2598 * testsuite/README: Add comment.
2600 2001-01-21 Phil Edwards <pme@sources.redhat.com>
2602 * docs/html/configopts.html: Update for current status. Fix HTML.
2603 * docs/html/install.html: Update for current status.
2605 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2607 * testsuite/libstdc++.tests/tests.exp: New file.
2608 * testsuite/lib/libstdc++.exp: Itou.
2609 * testsuite/README: Itou.
2611 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
2613 * tests_flags.in: Just output the bare minimum to run tests.
2614 Let's the caller do its own arrangement.
2616 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
2619 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
2621 * testsuite/17_intro: Prepare testcases for new style DejaGnu
2624 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
2626 * testsuite/libstdc++.tests, testsuite/lib: New directories.
2628 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
2630 * mkcheck.in: Construct file names that match $objdir structure.
2631 * testsuite/27_io/filebuf_members-1.txt: New file.
2632 * testsuite/27_io/ifstream_members-1.txt: New file.
2633 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
2635 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
2636 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
2638 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2640 * testsuite/27_io/istream_sentry.cc (test02): Fix.
2642 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
2645 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
2646 * src/ios.cc (ios_base::failure): Make definitions match.
2647 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
2648 (class bad_cast): Same.
2649 * libsupc++/exception (class exception): Add throw specs.
2650 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
2651 (set_unexpected): Same.
2652 (uncaught_exception): Same.
2655 * docs/html/17_intro/C++STYLE (classname): Fix.
2657 2001-01-16 Mark Mitchell <mark@codesourcery.com>
2659 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
2660 Use it do explicitly instantiate predicate<T> and value<T> for
2663 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
2665 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
2666 uninitialized thinko in last change.
2668 2001-01-16 Mark Mitchell <mark@codesourcery.com>
2670 * libsupc++/exception_support.cc (__cp_pop_exception): Change
2673 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
2675 * docs/html/17_intro/C++STYLE (classname): Add more existing
2676 and stylish patterns.
2679 * include/bits/istream.tcc (istream::sentry::sentry()): Set
2680 failbit if the state of the stream is not good.
2681 * testsuite/27_io/istream_sentry.cc (test02): Add test.
2682 * testsuite/27_io/istream_manip.cc (test01): Modify.
2685 reported by Paolo Carlini <pcarlini@unitus.it>
2686 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
2687 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
2690 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
2691 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
2692 (xsgetn): Same. Simplify.
2693 * testsuite/27_io/streambuf.cc (test04): Add testcases.
2695 reported by Larry Evans <jcampbell3@prodigy.net>
2696 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
2697 equality with eof on returned value from overflow.
2699 2001-01-14 Andreas Jaeger <aj@suse.de>
2701 * libio/libio.h: Add test for glibc 2.0.
2703 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
2705 * config/os/djgpp/bits/*: Fix dates.
2707 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
2708 _CharT* __end, _CharT __c): Remove.
2709 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
2710 * include/bits/char_traits.h: Tweak.
2712 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
2714 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
2715 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
2717 * aclocal.m4: regenerated.
2718 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
2719 * configure: regenerated.
2720 * config/os/djgpp, config/os/djgpp/bits: new directories.
2721 * config/os/djgpp/bits/ctype_base.h,
2722 config/os/djgpp/bits/ctype_inline.h,
2723 config/os/djgpp/bits/ctype_noninline.h,
2724 config/os/djgpp/bits/os_defines.h: new files.
2726 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
2728 * include/c_std/bits/std_cstdio.h: Undef printf.
2730 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
2732 * src/ios.cc: Fix typo: change cout->wcout.
2734 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
2735 * src/Makefile.in: Regenerate.
2737 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2739 * include/bits/std_complex.h: Fix a typo.
2741 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
2744 Fixes for libstdc++/1576
2745 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
2746 file, move contents into....
2747 * src/ios.cc: ...Here. Put defines for iostreams objects and
2748 initialization routines into one file to simplify DSO interaction.
2749 * include/bits/std_iostream.h: Touch.
2750 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
2751 * src/Makefile.am (sources): Remove stdstreams.cc.
2752 * src/Makefile.in: Regenerate.
2754 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2756 * tests_flags.in (check_directory): Fix typo.
2758 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2760 * include/bits/std_complex.h: Fix a typo.
2762 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
2764 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
2765 code path:) Remove magic constants and restructure to handle
2766 ctype.h bit mask layout changes more gracefully. (Make fast
2767 code path:) Use __maskrune (), if available.
2768 (is): Remove special case for digit and xdigit masks.
2770 2001-01-09 Robert Lipe <robertlipe@usa.net>
2772 * include/c_std/bits/std_ctime.h: Undefine difftime.
2774 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
2776 * src/gen-num-limits.cc (signal_adapter): New template function.
2777 (signal_handler): Use it, instead of signal.
2778 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
2779 require both tests to trap to set trap_flag.
2781 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
2783 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
2784 initialize mbstate_t member, name offset data members *off, not pos.
2785 * include/bits/fstream.tcc (filebuf::filebuf): Same.
2787 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
2789 reported by Chris G. Demetriou <cgd@sibyte.com>
2790 * configure.in: Change -linux-* to -linux*.
2791 * configure: Regenerate.
2793 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
2795 Fix 27_io/filebuf_members.cc
2796 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
2797 const string& __name, category __cat, size_t __refs): Set
2798 _M_has_name with _M_name.
2799 * include/bits/localefwd.h (locale::operator!=): Protect member
2800 function call with this->.
2801 * src/locale.cc (locale::operator==): Make fast checks first.
2802 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
2804 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
2806 * src/ios.cc (ios_base::Init::Init): Initialize here.
2807 (ios_base::sync_with_stdio): Set here.
2809 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
2811 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
2812 systems that support it, call dup() before fdopen().
2814 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
2816 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
2817 * testsuite/17_intro/header_cwctype.cc (main): New file.
2819 * src/Makefile.am (base_headers): Change.
2820 * include/bits/std_string.h: And here.
2821 * include/bits/string.tcc: Tweaks, move to...
2822 * include/bits/basic_string.tcc: ...Here.
2823 * src/string-inst.cc: Simplify, just instantiate the whole class,
2824 not member-by-member.
2826 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
2828 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
2829 * aclocal.m4: Regenerate.
2830 * configure: Regenerate.
2832 * include/bits/c++config (__GLIBCPP__): Bump version number.
2834 * ChangeLog: Start new log for year 2001
2835 * ChangeLog-2000: New file.
2837 * docs/html/configopts.html: Make sure default values are current,
2840 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
2842 * include/c_std/bits/std_cwchar.h: Same.
2843 * testsuite/17_intro/header_cwchar.cc: Same.
2844 * include/c_std/bits/std_ctime.h: Same.
2845 * testsuite/17_intro/header_ctime.cc: Same.
2846 * include/c_std/bits/std_cstdlib.h: Same.
2847 Clean up undefs, make consistent with cwchar and cmath, etc.
2848 * testsuite/17_intro/header_cstdlib.cc: Same.
2849 * include/c_std/bits/std_cstdio.h: Same here.
2850 * testsuite/17_intro/header_cstring.cc: Same.
2851 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
2852 * testsuite/17_intro/header_cstring.cc: New file. Check for
2853 size_t in namespace std.
2855 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
2856 * acconfig.h (HAVE_MBSTATE_T): Add.
2857 * config.h.in: Regenerate.
2858 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
2860 * aclocal.m4: Regenerate.
2861 * configure: Regenerate.
2862 * testsuite/17_intro/headers_c++.cc: New file.
2863 * testsuite/17_intro/headers_c.cc: Small changes.
2865 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
2867 * tests_flags.in: Fix typo in usage.
2869 * tests_flags.in: Set target specific LIBS for cygwin.