1 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
3 * include/bits/char_traits.h (move): Qualify memmove with std::.
4 (copy): Qualify memcpy with std::.
5 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
8 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
10 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
12 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
13 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
14 SUN make VPATH peculiarities.
15 * libsupc++/Makefile.in: Regenerate.
17 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
19 * src/Makefile.am (VPATH): Delimit with ":", not space.
20 * src/Makefile.in: Regenerate.
22 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
24 * configure: Regenerate.
26 2001-05-27 scott snyder <snyder@fnal.gov>
29 * include/bits/istream.tcc: Include std_ostream.h.
31 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
34 * src/bitset.cc: Qualify size_t with std::.
36 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
38 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
39 (_GLIBCPP_BUGGY_COMPLEX): Remove.
40 * config.h.in: Regenerate.
41 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
42 * aclocal.m4: Regenerate.
43 * configure.in: Don't call it.
44 * configure: Regenerate.
47 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
48 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
52 * include/bits/std_complex.h: Include sstream. Put definitions for
53 complex inserters and extractors here, and remove them from...
54 * src/complex_io.cc: ...here.
55 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
57 (basic_ios::__numget_type): Same.
58 * include/bits/std_istream.h: Same.
59 * include/bits/std_ostream.h: Same.
60 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
61 class iterator template arguments.
62 * src/locale-inst.cc: Add explicit has_facet instantiations.
63 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
64 (_M_get_fnumput): Remove.
65 (_M_get_fnumget): Remove.
66 (basic_ios::_M_check_facet): New function.
67 (basic_ios::_M_cache_facets): New function.
68 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
69 (basic_ios::imbue): Call _M_cache_facets.
70 (basic_ios::init): Same.
71 * include/bits/istream.tcc: Format, use _M_check_facet.
72 * include/bits/ostream.tcc: Same.
73 * include/bits/locale_facets.tcc (__output_float): Change
74 signature, add _Traits.
75 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
78 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
80 * include/bits/c++config (__USE_MALLOC): Do not define it.
81 Document why not and give pointers to more information.
83 * docs/html/23_containers/howto.html: Update documentation
84 to reflect recent understanding of problem.
85 * docs/html/17_intro/howto.html: Likewise.
87 2001-05-30 Phil Edwards <pme@sources.redhat.com>
89 * docs/doxygen/user.cfg.in: Minor addition.
90 * docs/html/documentation.html: Reorganize. Put most-looked-at
92 * docs/html/install.html: Update for 3.0. HTML fixups.
93 * docs/html/17_intro/howto.html: Likewise.
94 * docs/html/18_support/howto.html: Likewise.
95 * docs/html/19_diagnostics/howto.html: Likewise.
96 * docs/html/20_util/howto.html: Likewise.
97 * docs/html/23_containers/howto.html: Likewise.
98 * docs/html/24_iterators/howto.html: Likewise. More notes.
99 * docs/html/25_algorithms/howto.html: Likewise.
100 * docs/html/26_numerics/howto.html: Likewise. More notes.
101 * docs/html/27_io/howto.html: Likewise.
102 * docs/html/ext/howto.html: Likewise.
103 * docs/html/faq/index.html: Likewise.
104 * docs/html/faq/index.txt: Regenerate.
105 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
106 Doxygen-created documentation.
108 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
110 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
111 get_multilibs to find gcc.
113 2001-05-30 Phil Edwards <pme@sources.redhat.com>
115 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
116 * aclocal.m4: Regenerate.
117 * configure: Regenerate.
119 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
121 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
122 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
124 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
126 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
127 * include/c_std/bits/std_cstdlib.h: Same.
128 * include/c_std/bits/std_cwchar.h: Same.
130 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
132 * docs/html/17_intro/howto.html: Update link.
133 * docs/html/23_containers/howto.html: Likewise. Add new link.
135 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
137 * include/c_std/bits/std_cmath.h (sqrt): #undef.
139 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
141 * mknumeric_limits: Stop if gen-num-limits dies.
143 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
146 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
147 * aclocal.m4: Regenerate.
150 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
151 Phil Edwards <pme@sources.redhat.com>
152 Alexandre Oliva <aoliva@redhat.com>
154 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
155 in an amd-safe manner. Revert glibcpp_prefixdir.
157 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
159 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
160 fabs, sin, sqrt. They are now implemented in terms of __builtin_
163 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
166 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
167 * include/bits/ostream.tcc: Format to match istream.tcc.
168 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
170 2001-05-24 Phil Edwards <pme@sources.redhat.com>
172 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
174 (__cxa_free_exception): Likewise with free.
176 2001-05-24 Mark Mitchell <mark@codesourcery.com>
178 * include/c_std/bin/std_cstring.h: #define away all global
179 functions we will redeclare in namespace `std'.
180 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
181 std::memset, instead of memset.
182 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
184 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
187 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
190 * include/bits/basic_ios.tcc: Small tweak.
191 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
192 ctors and dtors, and rdbuf settings.
195 * include/bits/std_sstream.h: Same, but for stringstream classes.
196 * testsuite/27_io/ostringstream_members.cc: New.
197 * testsuite/27_io/stringstream_members.cc: New.
198 * testsuite/27_io/fstream_members.cc: New.
199 * testsuite/27_io/ifstream_members.cc: Add test.
200 * testsuite/27_io/istringstream_members.cc: Add test.
201 * testsuite/27_io/ofstream_members.cc: Add test.
203 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
205 * include/bits/c++config(__NO_MATH_INLINES): Move to...
206 * config/os/gnu-linux/bits/os_defines.h: ...here.
208 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
210 * include/bits/c++config (__NO_MATH_INLINES): New macro.
211 * testsuite/26_numerics/fabs_inline.cc (main): New test.
213 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
216 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
218 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
219 (libstdc++-v3-finish): Remove.
220 (libstdc++-v3_exit): Remove.
222 2001-05-22 Phil Edwards <pme@sources.redhat.com>
224 * docs/html/documentation.html: Point to doxygen output.
226 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
228 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
230 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
231 arguments to be non-null.
232 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
233 try allocations if allocated size is greater than zero.
234 (filebuf::_M_filebuf_init): Change to
235 (filebuf::_M_allocate_file): Which is what it does now.
236 (filebuf::_M_allocate_bufers): Change to
237 (filebuf::_M_allocate_internal_buffer): This, and create
238 (filebuf::_M_allocate_pback_buffer): New.
239 (filebuf::_M_destroy_internal_buffer): New.
240 (filebuf::_M_buf_allocated): New data member.
241 (filebuf::setbuf): Use new logic, allow use of external buffer.
242 * testsuite/27_io/stringbuf_virtuals.cc: New file.
243 * testsuite/27_io/filebuf_virtuals.cc: New file.
245 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
247 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
249 (strchr): Same, but to __glibcpp_strchr.
253 * include/c_std/bits/std_cwchar.h (wcschr): Same.
259 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
261 * testsuite/21_strings/c_strings.cc (main): Fix.
263 2001-05-19 Phil Edwards <pme@sources.redhat.com>
265 * acinclude.m4: Fix --help spacing, correct comments.
266 * aclocal.m4: Regenerate.
267 * configure: Regenerate.
268 * mkcheck.in: Add usage comments.
269 * docs/html/documentation.html: Point to doxygen'd tarball.
271 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
273 * testsuite/README: Add notes.
275 * src/Makefile.am (libstdc++.INC): Remove.
276 * src/Makefile.in: Regenerate.
278 Phil Edwards <pedwards@disaster.jaj.com>
279 * mkcheck.in: Add missing '#'.
281 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
283 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
284 appropriately for remote testing and testing installed files without
287 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
289 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
290 amd glibcpp_prefixdir with absolute paths.
292 * include/bits/c++config (__GLIBCPP__): Bump.
293 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
295 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
297 * include/bits/std_valarray.h (valarray<>::operator[] const):
298 Return a const reference.
299 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
301 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
303 * configure.target (ATOMICITYH): Actually use AIX-specific code on
304 earlier versions of AIX 4.*.
306 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
308 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
309 output_file based on the name of the testcase.
311 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
313 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
314 gluefile and use it if needs_status_wrapper is set.
316 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
318 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
321 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
323 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
324 on earlier versions of AIX.
326 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
328 * testsuite_flags.in (query): Add backwards, ext directories.
330 2001-05-15 Mark Mitchell <mark@codesourcery.com>
332 * porting.texi: Correct documentation about handling
333 _LARRGEFILE_SOURCE and its ilk.
334 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
335 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
337 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
338 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
340 2001-05-15 Zack Weinberg <zackw@stanford.edu>
342 * testsuite/21_strings/inserters_extractors.cc,
343 testsuite/27_io/istream_unformatted.cc,
344 testsuite/27_io/stringstream.cc:
345 Replace multi-line string constants with C89-style
346 concatenated string constants.
348 2001-05-14 Richard Henderson <rth@redhat.com>
350 * mknumeric_limits: Build with -fno-exceptions.
352 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
354 Switch over to new harness.
355 * testsuite_flags.in: Tweaks via Gaby.
356 * testsuite/Makefile.am: Change tool to libstdc++-v3.
357 (EXPECT): Quote directly.
359 * configure.in: Output testsuite_flags.
360 * acinclude.m4: Substitute src, bld, and prefix dirs.
361 Remove glibcpp_expect, glibcpp_runtestflags.
362 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
363 * mkcheck.in: Port to new interface.
365 * aclocal.m4: Regerate.
366 * configure: Regnerate.
367 * Makefile.in: Regnerate.
368 * */Makefile.in: Regenerate.
370 * tests_flags.in: Remove.
371 * testsuite/lib/libstdc++.exp: Remove.
372 * testsuite/libstdc++.tests/tests.exp: Remove.
374 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
376 * configure.target: Remove detection of AIX pthread multilib, now
377 obtained from `gcc -v'.
379 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
381 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
382 size. Add hpux case for HP size.
384 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
386 * testsuite_flags.in: New, simplified interface.
387 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
388 * testsuite/libstdc++-v3.dg: Add.
389 * testsuite/libstdc++-v3.dg/dg.exp: Add.
391 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
393 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
394 * testsuite/config/default.exp: Update bugs email address.
396 2001-05-11 Richard Henderson <rth@redhat.com>
398 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
399 all pointer encoding logic.
400 (struct lsda_header_info): Add ttype_base.
401 (get_ttype_entry): Use it instead of a context.
402 (check_exception_spec): Likewise.
403 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
404 the c++ exception header for __cxa_call_unexpected.
405 (__cxa_call_unexpected): Use it.
407 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
409 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
410 libgloss_link_flags to find crt0.o for targets that use libgloss
412 Change LDFLAGS to LIBS.
413 Consistently name procedures libstdc++-XXX.
414 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
416 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
418 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
423 * include/c_std/bits/std_cwchar.h (wcschr): Same.
428 * testsuite/21_strings/c_strings.cc: Add tests.
430 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
433 * include/bits/std_fstream.h (basic_filebuf): Change signature.
434 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
435 to int_type, pass in buffer size info.
436 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
437 unbuffered situation.
438 (underflow): Remove codecvt bits for the time being.
439 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
440 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
441 values from iterators, clean.
442 * src/locale.cc: Ditto.
443 * include/bits/sbuf_iter.h: Format.
444 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
445 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
446 * testsuite/27_io/filebuf.cc: Tweaks.
447 * testsuite/27_io/filebuf_members.cc: Tweaks.
449 2001-05-07 Mark Mitchell <mark@codesourcery.com>
451 * config/os/solaris/solaris2.7/bits/os_defines.h
452 (_LARGEFILE_SOURCE): Define it.
454 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
456 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
457 -prefer-non-pic depending on whether libtool has shared libraries
459 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
460 $(LIBSUPCXX_PICFLAGS).
461 * configure, */Makefile.in: Rebuilt.
463 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
465 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
466 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
468 * include/bits/std_sstream.h (stringbuf): Leak
470 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
472 2001-05-01 Tom Browder <tbrowder@home.com>
474 * docs/html/ext/howto.html: Fix typo.
476 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
478 * testsuite/libstdc++.tests/tests.exp: Add comment.
480 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
482 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
484 2001-04-30 Mark Mitchell <mark@codesourcery.com>
486 * porting.texi: Use the GFDL.
488 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
491 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
492 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
495 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
498 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
500 2001-04-28 Phil Edwards <pme@sources.redhat.com>
502 * docs/doxygen/run_doxygen: Minor tweaks.
503 * docs/doxygen/style.css: New file.
504 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
505 latest parameters available. Use style.css.
507 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
509 * docs/doxygen/mainpage.doxy: New.
510 * docs/doxygen/user.cfg.in: Change default configuration. Single
513 2001-04-26 Mark Mitchell <mark@codesourcery.com>
515 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
516 Indicate obsolete nature of thelist for G++ 3.0.
518 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
520 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
521 target_thread_file with `gcc -v'.
522 * aclocal.m4, configure: Rebuilt.
524 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
526 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
527 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
528 * include/c_std/bits/std_cwchar.h (std): Same.
529 * acconfig.h (std): Remove c99 injection into std.
530 * config.h.in: Regenerate.
532 * testsuite/README: Fix typo.
534 * include/bits/codecvt.h: Remove warnings.
536 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
538 * include/ext/slist: Include required header files.
540 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
542 * include/c_std/bits/std_cerrno.h (errno): Define macro from
543 identifier declared with external linkage, if needed.
544 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
545 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
547 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
549 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
550 re-configures find the build compiler.
551 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
553 * aclocal.m4: Regenerate.
554 * configure: Regenerate.
556 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
558 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
559 support is enabled correctly before long long is activated.
560 * aclocal.m4: Regenerate.
561 * configure: Regenerate.
563 * include/backward/backward_warning.h: Format correctly.
565 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
566 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
567 * testsuite/26_numerics/c99_macros.cc: Remove.
569 2001-04-20 Phil Edwards <pme@sources.redhat.com>
571 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
574 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
576 * acconfig.h (_GLIBCPP_USE_C99): Add.
577 * config.h.in: Regenerate.
578 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
580 * aclocal.m4: Regenerate.
581 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
582 * configure: Regenerate.
583 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
584 * configure: Regenerate.
585 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
587 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
589 * include/c_std/bits/std_cstdlib.h: Same.
590 * docs/html/configopts.html: Update.
591 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
593 (test_c99_classify): Add.
594 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
595 (_ISOC99_SOURCE): Remove.
597 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
598 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
599 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
600 * aclocal.m4: Regenerate.
601 * configure: Regenerate.
603 2001-04-19 Phil Edwards <pme@sources.redhat.com>
605 * Makefile.am (doxygen): Assume script is missing execute perms.
606 * Makefile.in: Regenerated.
607 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
609 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
611 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
613 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
615 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
616 * testsuite/23_containers/set_operators.cc: Same.
618 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
620 (__GLIBCPP__): Bump from value of last release.
621 * include/bits/concept_check.h: Default to off, edit comments.
622 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
623 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
624 * src/Makefile.in: Regenerate.
626 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
628 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
629 Properly uglify member.
631 2001-04-13 Phil Edwards <pme@sources.redhat.com>
633 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
637 2001-04-13 Phil Edwards <pme@sources.redhat.com>
639 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
640 * include/bits/concept_check.h: Uglify.
641 * include/bits/stl_algo.h: Likewise.
642 * include/bits/stl_algobase.h: Likewise.
643 * include/bits/stl_deque.h: Likewise.
644 * include/bits/stl_heap.h: Likewise.
645 * include/bits/stl_iterator_base_funcs.h: Likewise.
646 * include/bits/stl_list.h: Likewise.
647 * include/bits/stl_map.h: Likewise.
648 * include/bits/stl_multimap.h: Likewise.
649 * include/bits/stl_multiset.h: Likewise.
650 * include/bits/stl_numeric.h: Likewise.
651 * include/bits/stl_queue.h: Likewise.
652 * include/bits/stl_set.h: Likewise.
653 * include/bits/stl_stack.h: Likewise.
654 * include/bits/stl_vector.h: Likewise.
655 * include/ext/hash_map: Likewise.
656 * include/ext/hash_set: Likewise.
657 * include/ext/slist: Likewise.
659 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
661 * testsuite/23_containers/set_operators.cc: Just try to compile.
663 * testsuite/23_containers/map_operators.cc: Same.
665 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
667 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
669 (dg-test): Revert rth's change.
671 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
673 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
674 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
676 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
678 * testsuite/README: Add DejaGnu specific documentation.
680 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
682 * acinclude.m4: AC_CHECK_TOOL for expect.
683 * aclocal.m4: Regenerate.
684 * configure: Regenerate.
685 * testsuite/Makefile.am (RUNTEST): Use substituted.
688 * configure.in: Remove xcompiling substitution.
689 * tests_flags.in (CROSS_LIB_PATH): Remove.
690 (xcompiling): Remove.
691 (CXX): Use substituted CXX.
693 2001-04-11 Richard Henderson <rth@redhat.com>
695 * testsuite/lib/libstdc++.exp: Specify path for output_file.
697 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
699 * include/bits/std_valarray.h(valarray<>::operator[]): Make
702 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
704 * testsuite/25_algorithms/equal.cc: New test.
706 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
708 * stl_algobase.h (std::equal): avoid use of possibly-undefined
709 operator != (one line patch).
711 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
713 * include/backward/backward_warning.h: Re-enable.
715 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
716 Alexandre Oliva <aoliva@redhat.com>
718 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
720 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
722 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
723 * testsuite/26_numerics/c99_macros.cc: Add test.
725 2001-04-06 Phil Edwards <pme@sources.redhat.com>
727 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
728 * docs/html/faq/index.txt: Regenerated.
730 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
732 * include/backward/backward_warning.h: Temporarily disable until
733 g++ testsuite changes go in.
734 * tests_flags.in (CROSS_LIB_PATH): Add.
736 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
738 Warn when using backward headers.
739 * include/backward/algo.h: Include warning file.
740 * include/backward/vector.h: Same.
741 * include/backward/tree.h: Same.
742 * include/backward/tempbuf.h: Same.
743 * include/backward/strstream: Same.
744 * include/backward/streambuf.h: Same.
745 * include/backward/stream.h: Same.
746 * include/backward/stack.h: Same.
747 * include/backward/slist.h: Same.
748 * include/backward/set.h: Same.
749 * include/backward/rope.h:
750 * include/backward/queue.h: Same.
751 * include/backward/pair.h: Same.
752 * include/backward/ostream.h: Same.
753 * include/backward/new.h: Same.
754 * include/backward/multiset.h: Same.
755 * include/backward/multimap.h: Same.
756 * include/backward/map.h: Same.
757 * include/backward/list.h: Same.
758 * include/backward/iterator.h: Same.
759 * include/backward/istream.h: Same.
760 * include/backward/iostream.h:
761 * include/backward/iomanip.h:
762 * include/backward/heap.h: Same.
763 * include/backward/hashtable.h:
764 * include/backward/hash_set.h:
765 * include/backward/hash_map.h:
766 * include/backward/function.h:
767 * include/backward/fstream.h:
768 * include/backward/deque.h:
769 * include/backward/defalloc.h: Same.
770 * include/backward/complex.h: Same.
771 * include/backward/bvector.h:
772 * include/backward/alloc.h:
773 * include/backward/algobase.h: Same.
775 * include/backward/backward_warning.h: New file.
776 * src/Makefile.am (backward_headers): Add backward_warning.h
777 * src/Makefile.in: Regenerate.
779 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
781 * src/Makefile.am (myinstalldirs): Make sure backward directory is
783 (myinstallheaders): Install backward headers in backward directory.
784 * src/Makefile.in: Regenerate.
786 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
788 Prepare for libstdc++-2.92.
789 * docs/html/17_intro/RELEASE-NOTES (New): Update.
790 * docs/html/configopts.html: Fix formatting.
791 * README (file): Updates.
792 * include/bits/c++config (__GLIBCPP__): Update.
794 2001-04-05 Phil Edwards <pme@sources.redhat.com>
796 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
798 2001-04-04 Phil Edwards <pme@sources.redhat.com>
800 * docs/doxygen/user.cfg.in: Extract all non-private members;
801 reduce confusing documentation output.
803 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
805 * include/backward/fstream.h: Add missing semicolons.
807 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
809 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
810 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
811 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
812 (ios_base::Init::_S_ios_create): New.
813 (ios_base::Init::_S_ios_destroy): New.
814 * include/bits/std_fstream.h: Change ctor args.
815 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
816 (ios_base::Init::~Init): Use _S_ios_destroy.
817 (ios_base::sync_with_stdio): Use new members.
818 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
821 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
823 * include/backward/fstream.h: Expose streampos to global
826 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
828 * include/bits/stl_iterator_base_types.h: Fix typo
830 2001-04-03 Andreas Schwab <schwab@suse.de>
832 * include/backward/fstream.h: Define filebuf and wfilebuf.
834 2001-04-02 Phil Edwards <pme@sources.redhat.com>
836 New concept checking implementation.
837 * docs/html/19_diagnostics/howto.html: Document.
838 * docs/html/17_intro/concept_check.diff: New file, for reference.
839 * include/bits/boost_concept_check.h: New file from Boost.
840 * include/bits/c++config: Update comments.
842 * include/bits/concept_check.h: New file.
843 * include/bits/concept_checks.h: Removed.
844 * include/bits/container_concepts.h: Removed.
845 * include/bits/sequence_concepts.h: Removed.
846 * include/bits/stl_iterator_base.h: Removed; split into...
847 * include/bits/stl_iterator_base_funcs.h: ...this new file...
848 * include/bits/stl_iterator_base_types.h: ...and this new file.
850 * include/bits/sbuf_iter.h: Update to use new implementation.
851 * include/bits/std_iterator.h: Likewise.
852 * include/bits/std_memory.h: Likewise.
853 * include/bits/stl_algo.h: Likewise.
854 * include/bits/stl_algobase.h: Likewise.
855 * include/bits/stl_construct.h: Likewise.
856 * include/bits/stl_deque.h: Likewise.
857 * include/bits/stl_heap.h: Likewise.
858 * include/bits/stl_list.h: Likewise.
859 * include/bits/stl_map.h: Likewise.
860 * include/bits/stl_multimap.h: Likewise.
861 * include/bits/stl_multiset.h: Likewise.
862 * include/bits/stl_numeric.h: Likewise.
863 * include/bits/stl_queue.h: Likewise.
864 * include/bits/stl_set.h: Likewise.
865 * include/bits/stl_stack.h: Likewise.
866 * include/bits/stl_uninitialized.h: Likewise.
867 * include/bits/stl_vector.h: Likewise.
868 * include/ext/hash_map: Likewise.
869 * include/ext/hash_set: Likewise.
870 * include/ext/slist: Likewise.
871 * include/ext/stl_hashtable.h: Likewise.
873 * src/Makefile.am (base_headers): Update list of headers.
874 * Makefile.in: Regenerated.
875 * src/Makefile.in: Regenerated.
876 * libio/Makefile.in: Regenerated.
877 * libmath/Makefile.in: Regenerated.
878 * libsupc++/Makefile.in: Regenerated.
879 * testsuite/Makefile.in: Regenerated.
881 * docs/html/install.html: Update contact information.
882 * docs/html/17_intro/howto.html: Ditto.
883 * docs/html/18_support/howto.html: Ditto.
884 * docs/html/20_util/howto.html: Ditto.
885 * docs/html/21_strings/howto.html: Ditto.
886 * docs/html/22_locale/howto.html: Ditto.
887 * docs/html/23_containers/howto.html: Ditto.
888 * docs/html/24_iterators/howto.html: Ditto.
889 * docs/html/25_algorithms/howto.html: Ditto.
890 * docs/html/26_numerics/howto.html: Ditto.
891 * docs/html/27_io/howto.html: Ditto.
892 * docs/html/faq/index.html: Ditto, plus info on new checking code.
893 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
894 * docs/html/faq/index.txt: Regenerated.
896 2001-04-02 Zack Weinberg <zackw@stanford.edu>
898 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
899 messages with $which_library as well as $tool_flags and
900 ${dg-extra-tool-flags}. Factor out annotation text into
903 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
905 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
906 * include/c_std/bits/std_cwchar.h: Same.
907 * testsuite/21_strings/c_strings.cc: Add.
909 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
911 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
913 2001-04-01 Zack Weinberg <zackw@stanford.edu>
915 * tests_flags.in: Use test a = b, not test a == b which is not
918 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
920 * configure.target: Remove duplicate aix entry.
922 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
924 * include/ext/stl_bvector.h: Move to...
925 * include/bits/stl_vector.h: ...here.
926 * include/ext/bvector: Move to...
927 * include/backward/bvector.h: ...here.
928 * include/bits/std_vector.h: Change stl_bvector include.
929 * include/bits/std_queue.h: Remove bvector include.
930 * include/ext/tree: Insert using rb_tree, move to...
931 * include/backward/tree.h: ...here.
932 * include/backward/hash_map.h: Include ext/hash_map.
933 * include/backward/hash_set.h: Include ext/hash_set.
934 * include/backward/queue.h: New file.
935 * include/backward/stack.h: Edit.
936 * include/backward/algo.h: Same.
937 * include/backward/algobase.h: Same.
938 * include/backward/alloc.h: Same.
939 * include/backward/function.h: Same.
940 * include/backward/iomanip.h: Same.
941 * include/backward/istream.h: Same.
942 * include/backward/iterator.h: Same.
943 * include/backward/list.h: Same.
944 * include/backward/map.h: Same.
945 * include/backward/multimap.h: Same.
946 * include/backward/multiset.h: Same.
947 * include/backward/ostream.h: Same.
948 * include/backward/pair.h: Same
949 * include/backward/rope.h: Same.
950 * include/backward/set.h: Same.
951 * include/backward/stream.h: Same.
952 * include/backward/strstream.h: Same.
953 * include/backward/tempbuf.h: Same.
954 * src/Makefile.am (ext_headers): Edit.
955 * src/Makefile.in: Regenerate.
956 * testsuite/ext/headers.cc (main): Fix.
959 2001-03-30 Phil Edwards <pme@sources.redhat.com>
961 * tests_flags.in (LIBS): Pass correct path for installed testing.
963 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
965 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
966 * tests_flags.in (CXX): Construct here.
967 (static_fail): Don't remove compile.out. Format with spaces.
968 (INCLUDES): Deal with xcompiling.
969 * configure.in (xcompiling): Substitute.
970 * testsuite/Makefile.am: Snake libjava configury.
971 * testsuite/Makefile.in: Regenerate.
972 * testsuite/23_containers/map_operators.cc: Tweaks.
973 * testsuite/23_containers/set_operators.cc: Tweaks.
975 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
977 Enable dejagnu testing framework.
978 * configure.in: Generate testsuite/Makefile.
979 * configure: Regenerate.
980 * Makefile.am (check-install): Change rule from this...
981 (check-script-install): ...to this.
982 (check): Change rule from this...
983 (check-script):...to this.
984 * Makefile.in: Regenerate.
986 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
988 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
990 (LIBTOOL): Let automake take care of its definition.
991 * libsupc++/Makefile.in: Rebuilt.
993 2001-03-28 Richard Henderson <rth@redhat.com>
995 IA-64 ABI Exception Handling:
996 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
997 * configure.in: Use it.
998 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
999 * libsupc++/Makefile.am (sources): Update files list.
1000 * libsupc++/Makefile.in: Regenerate.
1001 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
1002 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
1003 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
1004 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
1005 * libsupc++/exception_support.cc: Remove.
1006 * libsupc++/exception_support.h: Remove.
1007 * libsupc++/pure.cc: Use std::terminate.
1008 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
1009 (__is_pointer): Remove.
1010 * libsupc++/unwind-cxx.h: New file.
1011 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
1013 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
1015 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
1017 * src/Makefile.am (CXXLINK): Likewise.
1018 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
1020 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
1022 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
1024 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1026 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
1029 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
1031 * include/bits/basic_file.h (get_fileno): Remove.
1032 (_M_fileno): Remove.
1033 (_M_cfile_created): Add.
1034 (basic_file::basic_file(__c_file_type*, openmode): Add.
1035 (basic_file::basic_file(int, const char*, openmode): Remove.
1036 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
1037 const char*, ios_base::openmode): Don't allocate
1038 internal buffers. Turn off internal buffers.
1039 (basic_filebuf::overflow): Remove test for null buffer.
1040 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
1041 * include/bits/streambuf.cc: Tweak.
1042 * include/bits/std_ostream.h: Tweak.
1043 * config/basic_file_libio.h: Same.
1044 * config/basic_file_stdio.h: Same.
1045 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
1046 * testsuite/27_io/filebuf_members.cc: Tweaks.
1047 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
1049 2001-03-24 Phil Edwards <pme@sources.redhat.com>
1051 * Makefile.am: New targets, doxygen and doxygen-maint.
1052 * Makefile.in: Regenerated.
1053 * docs/doxygen/run_doxygen: Finally implemented.
1054 * docs/doxygen/maint.cfg.in: New file.
1055 * docs/doxygen/user.cfg.in: New file.
1057 2001-03-24 Phil Edwards <pme@sources.redhat.com>
1059 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
1060 * src/Makefile.am: Replace leading spaces with tabs on continuation
1062 * aclocal.m4: Regenerated.
1064 * Makefile.in: Ditto.
1065 * src/Makefile.in: Ditto.
1066 * libio/Makefile.in: Ditto.
1067 * libmath/Makefile.in: Ditto.
1068 * libsupc++/Makefile.in: Ditto.
1070 2001-03-24 Phil Edwards <pme@sources.redhat.com>
1072 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
1073 concept-checking code and current status of same.
1074 * docs/html/ext/howto.html: Ditto.
1075 * docs/html/faq/index.html: Ditto.
1076 * docs/html/faq/index.txt: Regenerated.
1078 2001-03-24 Phil Edwards <pme@sources.redhat.com>
1080 * include/bits/std_bitset.h: Include ostream and istream headers
1081 instead of iostream.
1083 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
1085 * include/bits/ostream.tcc: Use __builtin_alloca.
1087 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
1089 * src/misc-inst.cc (__sink_unused_warning): Move to...
1090 * src/locale-inst.cc (__sink_unused_warning): Move to...
1091 * src/stl-inst.cc: Here.
1092 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
1095 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1097 * intclude/bits/basic_file.h: Fix typos in comments.
1099 2001-03-20 Richard Henderson <rth@redhat.com>
1101 * src/gen-num-limits.cc: Instantiate for wchar_t.
1102 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
1104 2001-03-20 Jason Merrill <jason@redhat.com>
1106 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
1107 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
1108 * libsupc++/cxxabi.h: Declare it.
1110 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
1112 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
1113 signal_func with an unspecified argument list.
1115 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
1117 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
1119 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1121 * include/bits/basic_string.tcc (operator+): Fix thinko.
1123 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
1126 * include/bits/std_streambuf.h: Remove cached locale facets.
1127 (basic_streambuf::_M_buf_fctype): Remove.
1128 (basic_streambuf::~basic_streambuf): Remove here.
1129 (basic_streambuf::basic_streambuf): Same.
1130 (basic_streambuf::imbue): Same.
1131 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
1132 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
1133 (basic_filebuf::~basic_filebuf()): Remove here.
1134 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
1135 (basic_filebuf::imbue): Same.
1136 * include/bits/localefwd.h (_Count_ones): Remove.
1137 (locale::_S_num_categories): Just use 6, since this doesn't
1138 actually change, ever.
1139 * include/bits/locale_facets.tcc (has_facet): Simplify.
1141 * testsuite/27_io/filebuf.cc (test06): Add tests.
1143 2001-03-13 Steve Ellcey <sje@cup.hp.com>
1145 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
1146 match HP-UX ctype.h header file.
1148 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
1150 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
1151 duplicate definitions of __dj_ctype_*
1153 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
1155 * libsupc++/new: Remove pragma interface.
1156 * libsupc++/typeinfo: Same.
1157 * libsupc++/exception: Same.
1158 * libsupc++/new_handler.cc: Remove pragma implementation.
1159 (bad_alloc::~bad_alloc()): Add.
1160 * libsupc++/exception_support.cc: Same.
1161 (exception::~exception): Add.
1162 (bad_exception::~bad_exception): Add.
1163 * libsupc++/tinfo.cc: Same.
1164 (bad_cast::~bad_cast): Add.
1165 (bad_typeid::~bad_typeid): Add.
1167 2001-03-13 Phil Edwards <pme@sources.redhat.com>
1169 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
1171 2001-03-12 Felix Lee <flee@redhat.com>
1173 * mkcheck.in: workaround for bash 2.01 IFS bug.
1175 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
1177 Fixups for -fno-for-scope
1178 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
1179 * src/valarray-inst.cc (__gslice_to_index): Same.
1181 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
1183 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
1184 prior to trapping signal (UnixWare 7 workaround).
1186 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
1188 * include/backward/hashtable.h: Same.
1189 * include/backward/rope.h: Fix include.
1191 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
1193 * include/backward/vector.h: Include std_vector.h.
1195 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
1196 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
1199 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1201 * include/ext/stl_hashtable.h: Change type of __n to size_t
1202 * include/backward/bvector.h: Include <ext/stl_bvector.h>
1204 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1206 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
1207 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
1208 Use streamsize, not int_type.
1210 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
1212 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
1215 2001-03-08 Andreas Schwab <schwab@suse.de>
1217 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
1219 * aclocal.m4, configure: Regenerated.
1221 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
1223 * include/bits/std_iosfwd.h: Remove string forward decls here.
1224 * include/bits/stringfwd.h: Add forward decls for char_traits
1226 * config/c_io_libio.h (wstreamoff): Delete.
1227 * config/c_io_stdio.h (wstreamoff): Same.
1228 * include/bits/char_traits.h: Use streamoff not wstreamoff for
1229 char_traits<wchar_t>::off_type.
1230 Remove duplicate typedefs.
1231 * include/bits/fpos.h: Define streampos/wstreampos here.
1232 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
1235 Changeup output files.
1236 * testsuite/27_io/istream_unformatted.cc: Change output files.
1237 * testsuite/27_io/istream_seeks-1.txt: Add.
1238 * testsuite/27_io/istream_seeks-2.tst: Add.
1239 * testsuite/27_io/istream_seeks-1.tst: Add.
1240 * testsuite/27_io/istream_unformatted-2.tst: Delete.
1241 * testsuite/27_io/istream_unformatted-3.tst: Delete.
1242 * testsuite/27_io/istream_unformatted-3.txt: Delete.
1244 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
1246 Add Irix 5.2, 6.3 support.
1247 * config/os/irix/bits: Renamed to...
1248 * config/os/irix/irix6.5/bits: this.
1249 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
1250 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
1251 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
1252 * config/os/irix/irix5.2/bits/ctype_noninline.h
1253 (ctype<char>::ctype): Initialize _M_table with __ctype.
1254 * configure.target: Adjust.
1256 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
1259 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
1260 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
1262 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
1263 (*__pf)(__ios_type&)): Same.
1264 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
1265 (*__pf)(ios_base&))): Same.
1266 * testsuite/27_io/istream_extractor_other.cc: Add tests.
1267 * testsuite/27_io/istream_manip.cc (test01): Fix.
1269 2001-03-06 Nathan Myers <ncm@cantrip.org>
1270 Benjamin Kosnik <bkoz@redhat.com>
1272 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
1273 * testsuite/17_intro/header_cerrno.cc (test01): New file.
1274 * testsuite/17_intro/header_cassert.cc (test01): New file.
1275 * testsuite/17_intro/header_cstddef.cc (test01): New file.
1276 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
1277 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
1279 2001-03-05 scott snyder <snyder@fnal.gov>
1282 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
1284 * include/c_std/bits/std_cstdlib.h: ... to here.
1285 * testsuite/17_intro/header_cstdlib.cc: Add test.
1287 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
1289 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
1291 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
1293 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
1294 definition. Replace enum with static const variables.
1296 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
1297 throw specification, fix typos, use <static_cast>.
1298 (ctype<char>::scan_is): remove throw specification.
1299 (ctype<char>::scan_not): likewise.
1301 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
1302 (ctype<char>::do_toupper(char)): use <static_cast>.
1303 (ctype<char>::do_toupper(char *, const char *)): likewise.
1304 (ctype<char>::do_tolower(char)): likewise.
1305 (ctype<char>::do_tolower(char *, const char *)): likewise.
1307 2001-03-04 Phil Edwards <pme@sources.redhat.com>
1309 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
1310 * include/backward/algo.h: Use std not __STD. Remove unneeded
1311 macros and "never happens" code. Adjust to C++STYLE guidelines.
1312 * include/backward/algobase.h: Likewise.
1313 * include/backward/alloc.h: Likewise.
1314 * include/backward/bvector.h: Likewise.
1315 * include/backward/deque.h: Likewise.
1316 * include/backward/function.h: Likewise.
1317 * include/backward/hash_map.h: Likewise.
1318 * include/backward/hash_set.h: Likewise.
1319 * include/backward/hashtable.h: Likewise.
1320 * include/backward/heap.h: Likewise.
1321 * include/backward/iterator.h: Likewise.
1322 * include/backward/list.h: Likewise.
1323 * include/backward/map.h: Likewise.
1324 * include/backward/multimap.h: Likewise.
1325 * include/backward/multiset.h: Likewise.
1326 * include/backward/pair.h: Likewise.
1327 * include/backward/rope.h: Likewise.
1328 * include/backward/set.h: Likewise.
1329 * include/backward/slist.h: Likewise.
1330 * include/backward/stack.h: Likewise.
1331 * include/backward/strstream: Likewise.
1332 * include/backward/tempbuf.h: Likewise.
1333 * include/backward/tree.h: Likewise.
1334 * include/backward/vector.h: Likewise.
1335 * include/bits/basic_ios.h: Likewise.
1336 * include/bits/basic_ios.tcc: Likewise.
1337 * include/bits/basic_string.h: Likewise.
1338 * include/bits/c++config: Likewise.
1339 * include/bits/concept_checks.h: Likewise.
1340 * include/bits/fpos.h: Likewise.
1341 * include/bits/fstream.tcc: Likewise.
1342 * include/bits/functexcept.h: Likewise.
1343 * include/bits/ios_base.h: Likewise.
1344 * include/bits/istream.tcc: Likewise.
1345 * include/bits/mask_array.h: Likewise.
1346 * include/bits/ostream.tcc: Likewise.
1347 * include/bits/pthread_allocimpl.h: Likewise.
1348 * include/bits/sbuf_iter.h: Likewise.
1349 * include/bits/slice.h: Likewise.
1350 * include/bits/slice_array.h: Likewise.
1351 * include/bits/sstream.tcc: Likewise.
1352 * include/bits/std_bitset.h: Likewise.
1353 * include/bits/std_fstream.h: Likewise.
1354 * include/bits/std_iomanip.h: Likewise.
1355 * include/bits/std_ios.h: Likewise.
1356 * include/bits/std_istream.h: Likewise.
1357 * include/bits/std_iterator.h: Likewise.
1358 * include/bits/std_memory.h: Likewise.
1359 * include/bits/std_ostream.h: Likewise.
1360 * include/bits/std_sstream.h: Likewise.
1361 * include/bits/std_streambuf.h: Likewise.
1362 * include/bits/std_string.h: Likewise.
1363 * include/bits/std_valarray.h: Likewise.
1364 * include/bits/stl_algo.h: Likewise.
1365 * include/bits/stl_algobase.h: Likewise.
1366 * include/bits/stl_alloc.h: Likewise.
1367 * include/bits/stl_construct.h: Likewise.
1368 * include/bits/stl_deque.h: Likewise.
1369 * include/bits/stl_function.h: Likewise.
1370 * include/bits/stl_heap.h: Likewise.
1371 * include/bits/stl_iterator.h: Likewise.
1372 * include/bits/stl_iterator_base.h: Likewise.
1373 * include/bits/stl_list.h: Likewise.
1374 * include/bits/stl_map.h: Likewise.
1375 * include/bits/stl_multimap.h: Likewise.
1376 * include/bits/stl_multiset.h: Likewise.
1377 * include/bits/stl_numeric.h: Likewise.
1378 * include/bits/stl_pair.h: Likewise.
1379 * include/bits/stl_pthread_alloc.h: Likewise.
1380 * include/bits/stl_queue.h: Likewise.
1381 * include/bits/stl_raw_storage_iter.h: Likewise.
1382 * include/bits/stl_relops.h: Likewise.
1383 * include/bits/stl_set.h: Likewise.
1384 * include/bits/stl_stack.h: Likewise.
1385 * include/bits/stl_tempbuf.h: Likewise.
1386 * include/bits/stl_threads.h: Likewise.
1387 * include/bits/stl_tree.h: Likewise.
1388 * include/bits/stl_uninitialized.h: Likewise.
1389 * include/bits/stl_vector.h: Likewise.
1390 * include/bits/streambuf.tcc: Likewise.
1391 * include/bits/type_traits.h: Likewise.
1392 * include/bits/valarray_meta.h: Likewise.
1393 * include/ext/bvector: Likewise.
1394 * include/ext/hash_map: Likewise.
1395 * include/ext/hash_set: Likewise.
1396 * include/ext/ropeimpl.h: Likewise.
1397 * include/ext/slist: Likewise.
1398 * include/ext/stl_bvector.h: Likewise.
1399 * include/ext/stl_hash_fun.h: Likewise.
1400 * include/ext/stl_hashtable.h: Likewise.
1401 * include/ext/stl_rope.h: Likewise.
1402 * src/complex_io.cc: Likewise.
1403 * src/ios.cc: Likewise.
1404 * src/locale-inst.cc: Likewise.
1405 * src/locale.cc: Likewise.
1406 * src/localename.cc: Likewise.
1407 * src/misc-inst.cc: Likewise.
1408 * src/stdexcept.cc: Likewise.
1409 * src/stl-inst.cc: Likewise.
1410 * src/strstream.cc: Likewise.
1411 * src/valarray-inst.cc: Likewise.
1413 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
1415 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
1417 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1419 * include/bits/istream.tcc: change type of __extracted to __size_type
1421 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
1423 * src/wstring-inst.cc: New file.
1424 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
1425 (libinst_wstring_la_SOURCES): Remove.
1426 (libstdc___la_LIBADD): Remove libinst_wstring_la.
1427 (sources): Add wstring-inst.cc
1428 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
1431 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1433 * src/locale.cc: initialise __ret with zero
1434 * src/strstream.cc:cast gptr to int_type
1436 2001-03-01 Phil Edwards <pme@sources.redhat.com>
1438 * docs/html/faq/index.html: Update broken links.
1439 * docs/html/faq/index.txt: Regenerated.
1441 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
1444 * configure.target: Change irix* to irix6.5* in target_os table.
1446 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
1449 * include/bits/c++config (__GLIBCPP__): Bump number in
1450 anticipation of 2.92.
1452 * include/bits/codecvt.h: Fix typo.
1453 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
1455 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
1456 instantiations for stdio model.
1458 2001-02-28 Phil Edwards <pme@sources.redhat.com>
1460 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
1461 and GLIBCPP_CXXFLAGS as unused variables.
1462 * configure.host: Likewise.
1463 * configure.target: Likewise.
1464 * aclocal.m4: Regenerated.
1465 * configure: Regenerated.
1466 * Makefile.in: Regenerated.
1467 * libio/Makefile.in: Regenerated.
1468 * libmath/Makefile.in: Regenerated.
1469 * libsupc++/Makefile.in: Regenerated.
1470 * src/Makefile.in: Regenerated.
1472 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
1475 * include/bits/basic_file.h: Include basic_file_model.h.
1476 * config/c_io_libio.cc: Move to...
1477 * config/basic_file_libio.cc: Here.
1478 * config/basic_file_libio.h: New file.
1479 * config/c_io_stdio.cc: Move to...
1480 * config/basic_file_stdio.cc: Here.
1481 * config/basic_file_stdio.h: New file.
1482 * config/c_io_libio.h: Tweak.
1483 * config/c_io_stdio.h: Tweak.
1484 * src/Makefile.am (build_headers): Add basic_file_model.h.
1485 (sources): Add basic_file.cc, remove c++io.cc.
1486 * src/Makefile.in: Regenerate.
1487 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
1488 basic_file_model.h and basic_file.cc.
1489 * aclocal.m4: Regenerate.
1490 * configure: Regenerate.
1491 * testsuite/27_io/filebuf.cc (test05): Add regression.
1493 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
1496 * config/cpu/alpha/bits/atomicity.h: Change.
1497 * config/cpu/arm/bits/atomicit3y.h
1498 * config/cpu/generic/bits/atomicity.h
1499 * config/cpu/i386/bits/atomicity.h
1500 * config/cpu/i486/bits/atomicity.h
1501 * config/cpu/ia64/bits/atomicity.h
1502 * config/cpu/powerpc/bits/atomicity.h
1503 * config/cpu/sparc/sparc32/bits/atomicity.h
1504 * config/cpu/sparc/sparc64/bits/atomicity.h
1505 * config/os/aix/bits/atomicity.h
1506 * config/os/irix/bits/atomicity.h
1508 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
1510 * include/bits/std_stdexcept.h (runtime_error): Make string
1512 (logic_error): Same.
1513 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
1516 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
1520 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
1521 string object, not reference.
1522 (runtime_error::runtime_error): Same.
1523 * testsuite/19_diagnostics/stdexceptions.cc: New file.
1525 2001-02-26 Phil Edwards <pme@sources.redhat.com>
1527 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
1528 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
1529 diagnostics. Remove WFMT_FLAGS.
1530 * configure.in: Replace WFMT_FLAGS with diagnostics options.
1531 * libsupc++/Makefile.am: Likewise.
1532 * src/Makefile.am: Likewise.
1533 * aclocal.m4: Regenerated.
1534 * configure: Regenerated.
1535 * Makefile.in: Regenerated.
1536 * libio/Makefile.in: Regenerated.
1537 * libmath/Makefile.in: Regenerated.
1538 * libsupc++/Makefile.in: Regenerated.
1539 * src/Makefile.in: Regenerated.
1541 2001-02-26 Phil Edwards <pme@sources.redhat.com>
1543 Fixes libstdc++/2079
1544 * include/backward/iomanip.h: Expose <ios> manipulators to global
1546 * include/backward/iostream.h: Also expose std::ws.
1548 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
1550 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
1552 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
1554 * include/bits/codecvt.h: Use __builtin_alloca.
1555 * include/bits/ostream.tcc: Same.
1556 * include/bits/fstream.tcc: Same.
1558 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
1560 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
1562 2001-02-23 David Edelsohn <dje@watson.ibm.com>
1564 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
1566 2001-02-23 Phil Edwards <pme@sources.redhat.com>
1569 * include/backward/iostream.h: Expose std::flush in old headers.
1571 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1573 * mknumeric_limits: Remove special-casing on target. Use gcc
1574 instead of g++ to build gen-num-limits.cc
1576 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
1578 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
1580 * include/bits/codecvt.h: Use alloca instead of __extension__ for
1582 * include/bits/ostream.tcc: Same.
1583 * include/bits/std_ostream.h: Same.
1584 * include/bits/fstream.tcc: Same.
1585 * include/bits/locale_facets.tcc: Add typename.
1586 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
1588 2001-02-21 Phil Edwards <pme@sources.redhat.com>
1590 * tests_flags.in: Remove -n flag from call to echo.
1592 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
1594 * config/c_locale_gnu.h: Add clocale include.
1596 2001-02-20 Phil Edwards <pme@sources.redhat.com>
1598 * include/bits/stl_config.h: Remove file.
1599 * src/Makefile.am (base_headers): Remove from list.
1600 * configure: Regenerate.
1601 * Makefile.in: Ditto.
1602 * libio/Makefile.in: Ditto.
1603 * libmath/Makefile.in: Ditto.
1604 * libsupc++/Makefile.in: Ditto.
1605 * src/Makefile.in: Ditto.
1607 * include/bits/c++config: Move relevant macros to here.
1608 * include/backward/alloc.h: Include c++config.h instead.
1609 * include/backward/function.h: Ditto.
1610 * include/backward/heap.h: Ditto.
1611 * include/backward/pair.h: Ditto.
1612 * include/bits/pthread_allocimpl.h: Ditto.
1613 * include/bits/std_functional.h: Ditto.
1614 * include/bits/std_iterator.h: Ditto.
1615 * include/bits/std_numeric.h: Ditto.
1616 * include/bits/std_utility.h: Ditto.
1617 * include/bits/stl_algobase.h: Ditto.
1618 * include/bits/type_traits.h: Ditto.
1619 * src/stl-inst.cc: Ditto.
1621 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1623 * include/bits/basic_file.h: Add #pragma system_header
1624 * include/bits/basic_ios.h: Ditto.
1625 * include/bits/basic_string.h: Ditto.
1626 * include/bits/char_traits.h: Ditto.
1627 * include/bits/codecvt.h: Ditto.
1628 * include/bits/cpp_type_traits.h: Ditto.
1629 * include/bits/fpos.h: Ditto.
1630 * include/bits/gslice.h: Ditto.
1631 * include/bits/gslice_array.h: Ditto.
1632 * include/bits/indirect_array.h: Ditto.
1633 * include/bits/ios_base.h: Ditto.
1634 * include/bits/limits_generic.h: Ditto.
1635 * include/bits/locale_facets.h: Ditto.
1636 * include/bits/localefwd.h: Ditto.
1637 * include/bits/mask_array.h: Ditto.
1638 * include/bits/sbuf_iter.h: Ditto.
1639 * include/bits/sequence_concepts.h: Ditto.
1640 * include/bits/slice.h: Ditto.
1641 * include/bits/slice_array.h: Ditto.
1642 * include/bits/std_algorithm.h: Likewise.
1643 * include/bits/std_bitset.h: Likewise.
1644 * include/bits/std_complex.h: Likewise.
1645 * include/bits/std_deque.h: Likewise.
1646 * include/bits/std_fstream.h: Likewise.
1647 * include/bits/std_functional.h: Likewise.
1648 * include/bits/std_iomanip.h: Likewise.
1649 * include/bits/std_ios.h: Likewise.
1650 * include/bits/std_iosfwd.h: Likewise.
1651 * include/bits/std_iostream.h: Likewise.
1652 * include/bits/std_istream.h: Likewise.
1653 * include/bits/std_iterator.h: Likewise.
1654 * include/bits/std_list.h: Likewise.
1655 * include/bits/std_locale.h: Likewise.
1656 * include/bits/std_map.h: Likewise.
1657 * include/bits/std_memory.h: Likewise.
1658 * include/bits/std_numeric.h: Likewise.
1659 * include/bits/std_ostream.h: Likewise.
1660 * include/bits/std_queue.h: Likewise.
1661 * include/bits/std_set.h: Likewise.
1662 * include/bits/std_sstream.h: Likewise.
1663 * include/bits/std_stack.h: Likewise.
1664 * include/bits/std_stdexcept.h: Likewise.
1665 * include/bits/std_streambuf.h: Likewise.
1666 * include/bits/std_string.h: Likewise.
1667 * include/bits/std_utility.h: Likewise.
1668 * include/bits/std_valarray.h: Likewise.
1669 * include/bits/std_vector.h: Likewise.
1670 * include/bits/stringfwd.h: Likewise.
1671 * include/bits/type_traits.h: Likewise.
1672 * include/bits/valarray_array.h: Likewise.
1673 * include/bits/valarray_meta.h: Likewise.
1675 2001-02-19 Andreas Jaeger <aj@suse.de>
1677 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
1680 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
1683 * include/bits/std_ostream.h: Replaced usage of
1684 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
1685 * include/bits/char_traits.h: Removed non-standard
1686 methods that cannot be used elsewhere.
1689 * include/bits/basic_ios.h: Uncommented #include of
1693 * include/bits/codecvt.h: See next...
1694 * include/bits/fstream.tcc: See next...
1695 * include/bits/ostream.tcc: Add __extension__
1696 to variable-length arrays.
1699 * include/bits/localefwd.h: Changed int counter type to size_t.
1702 * include/bits/std_fstream.h: Added typedef for __ctype_type.
1704 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
1706 * testsuite/21_strings/char_traits.cc: Move to ...
1707 * testsuite/21_strings/char_traits_requirements.cc: ..here.
1708 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
1709 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
1711 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
1713 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
1716 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
1718 * include/bits/c++config: Revert.
1720 2001-02-15 Mark Mitchell <mark@codesourcery.com>
1722 * include/bits/istream.tcc: Use ios_base::iostate in place of
1723 iostate throughout. Insert `typename' keyword where necessary.
1724 * include/bits/ostream.tcc: Insert `typename' keyword where
1727 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
1729 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
1730 Define so library is compliant.
1732 2001-02-15 Anthony Green <green@redhat.com>
1734 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
1736 * aclocal.m4: Regenerate.
1737 * configure: Regenerate.
1739 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
1741 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
1742 Include ieeefp.h for fpclass on UnixWare{2,7}.
1743 * aclocal.m4: Regenerate.
1744 * configure: Regenerate.
1745 * mkcheck.in (size_command): Do without GNU-grep when using
1748 2001-02-15 Mark Mitchell <mark@codesourcery.com>
1750 Remove old ABI support from libsupc++.
1751 * libsupc++/cxxabi.h: Remove conditionally compiled code.
1752 * libsupc++/exception_support.cc: Likewise.
1753 * libsupc++/pure.cc: Likewise.
1754 * libsupc++/tinfo.cc: Likewise.
1755 * libsupc++/tinfo.h: Likewise.
1756 * libsupc++/tinfo2.cc: Likewise.
1757 * libsupc++/typeinfo: Likewise.
1758 * libsupc++/vec.cc: Likewise.
1760 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
1762 Add support for -fno-exceptions.
1763 * include/bits/exception_support.h: Remove.
1764 * include/bits/basic_string.h: Remove exception_support.
1765 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
1767 (string::substr): Same.
1768 * include/bits/basic_string.tcc (string::reserve): Replace
1769 __LENGTHERROR with __throw_length_error.
1770 (string::_S_create): Same.
1771 (string::resize): Same.
1772 (string::_M_replace): Same.
1773 (string::replace): Same.
1774 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
1775 (string::compare): Same.
1776 * include/bits/stl_vector.h: Remove exception_support.
1777 * src/Makefile.am (base_headers): Remove here.
1778 * src/Makefile.in: Regenerate.
1780 * include/bits/stl_range_errors.h: Remove.
1781 * include/bits/stl_deque.h: Use __throw_range_error.
1782 * include/bits/std_deque.h: Include functexcept.h.
1783 * include/bits/std_vector.h: Same.
1784 * src/Makefile.am (base_headers): Remove here.
1785 * src/Makefile.in: Regenerate.
1786 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
1787 * include/ext/bvector: Remove stl_range_errors.h
1789 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
1791 * include/bits/functexcept.h: New file.
1792 * src/functexcept.cc: New file. Definitions for function-based
1794 * src/Makefile.am (sources): Add functexcept.cc.
1795 * src/Makefile.in: Regenerate.
1797 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
1800 * include/bits/localefwd.h: Include functexcept.h.
1801 * include/bits/std_iosfwd.h: Same.
1803 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
1804 throw basic_ios::failure.
1805 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
1806 Use __throw_exception_again.
1807 (filebuf::_M_filebuf_init): Same.
1808 * include/bits/streambuf.tcc (__copy_streambufs): Same.
1809 * include/bits/ostream.tcc (ostream::operator<<): Same.
1810 * include/bits/istream.tcc (istream::operator>>): Same.
1811 * include/bits/basic_string.tcc (string::_M_mutate): Same.
1812 (string::_S_construct): Same.
1813 (string::_M_clone): Same.
1814 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
1816 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
1817 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
1818 __throw_exception_again.
1819 (locale::_Imp::_Imp(string, size_t): Same.
1820 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
1821 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
1822 (locale::locale(const char*)): Use __throw_runtime_error.
1823 (locale::classic): Use __throw_exception_again.
1824 (locale::_S_normalize_category): Use __throw_runtime_error.
1826 * src/stdexcept.cc: Remove cruft.
1828 * libsupc++/exception_defines.h: New file.
1829 * libsupc++/new_opnt.cc: Include exception_defines.h.
1830 * libsupc++/vec.cc: Same.
1831 (__cxa_vec_new2): Use __throw_exception_again.
1832 (__cxa_vec_new3): Same.
1833 (__cxa_vec_ctor): Same.
1834 (__cxa_vec_delete3): Same.
1835 (__cxa_vec_cctor): Same.
1836 (__cxa_vec_delete2): Same.
1837 (__cxa_vec_dtor): Same.
1838 * libsupc++/exception_support.cc: Include exception_defines.h. Only
1839 compile exception-handling bits if __EXCEPTIONS is defined.
1840 Remove old ABI support.
1841 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
1842 std::__throw_bad_alloc() instead of throw bad_alloc.
1843 * libsupc++/Makefile.am: Add exception_defines.h.
1844 * libsupc++/Makefile.in: Reformat.
1845 * libsupc++/*: Format.
1847 2001-02-15 Phil Edwards <pme@sources.redhat.com>
1849 * docs/html/configopts.html: Minor updates and typo fixes.
1850 * docs/html/faq/index.html: Updates of the "not really bugs" list.
1851 * docs/html/faq/index.txt: Regenerated.
1853 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
1855 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
1856 dejagnu/dg.exp. Adapt to log options used to run testcases.
1858 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1860 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
1863 2001-02-13 Dirk Mueller <dmuell@gmx.net>
1864 Phil Edwards <pme@sources.redhat.com>
1866 * include/backward/function.h: Do not use rel_ops for older
1868 * include/backward/pair.h: Likewise.
1870 2001-02-12 Mark Mitchell <mark@codesourcery.com>
1872 * src/locale.cc: Remove bogus locale::id definitions.
1874 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1876 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
1877 not _DEFINE_VALARRAY_OPERATOR which is not existent.
1879 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
1880 thinko in member initialisation.
1882 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1884 * include/bits/std_valarray.h(valarray<>::shift): Avoid
1885 comparaison between signed and unsigned integer types.
1886 (valarray<>::cshift): Reformat.
1888 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
1890 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
1891 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
1892 * configure.in: Test for sigsetjmp.
1893 * configure, config.h.in: Rebuilt.
1895 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1897 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
1898 lengths and strides.
1899 (__gslice_to_index): Document.
1901 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1903 * include/bits/char_traits.h char_traits<char>::int_type: Change
1904 to `int' to match 21.1.3.1/2.
1906 * testsuite/21_strings/char_traits-int_type.C: New test.
1908 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
1910 * testsuite/Makefile.am: New file.
1912 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
1914 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
1916 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
1918 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
1920 2001-02-08 David Edelsohn <edelsohn@gnu.org>
1922 * configure.target (aix4*): Remove extra set of brackets.
1924 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
1927 * include/bits/stringfwd.h: New file.
1928 * include/bits/stl_string_fwd.h: Remove.
1929 * include/bits/localefwd.h: Remove declaration for allocator.
1930 * include/bits/std_iosfwd: Same.
1931 * include/bits/std_string.h: Include it.
1932 * include/bits/std_ios.h: Remove include.
1933 * include/bits/basic_string.h: Tweak.
1934 * libsupc++/new: Format.
1935 * src/Makefile.am (base_headers): Add stringfwd.h, remove
1937 * src/Makefile.in: Regenerate.
1938 * include/bits/std_stdexcept.h: Rewrite.
1939 * src/stdexcept.cc: Same.
1941 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
1943 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
1944 install locations too.
1945 * aclocal.m4: Regenerate.
1946 * configure.in: Remove USE_LIBDIR.
1947 * configure: Regenerate.
1948 * src/Makefile.am (toolexecdir): Simplify, use
1949 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
1950 * src/Makefile.in: Regenerate.
1951 * libsupc++/Makefile.am: Same.
1952 * libsupc++/Makefile.in: Regenerate.
1954 * src/Makefile.am: Just remove special rules for locale-inst.cc and
1955 misc-inst.cc as no longer necessary.
1957 Follow C++STYLE for naming non-static functions.
1958 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
1960 * include/bits/streambuf.tcc: Same.
1961 * include/bits/ostream.tcc: Same.
1962 * include/bits/istream.tcc: Same.
1963 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
1964 (_S_output_float): To __output_float.
1965 * include/bits/std_streambuf.h (_S_copy_streambufs): To
1967 * include/bits/locale_facets.tcc (_S_build_float_format): To
1968 __build_float_format.
1969 (_S_format): To __output_integer.
1970 (_S_fill): To __pad.
1971 * src/locale.cc: Same.
1972 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
1974 * include/bits/locale_facets.tcc (_S_group_digits): To
1976 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
1977 for collate, numpunct.
1979 2001-02-06 Phil Edwards <pme@sources.redhat.com>
1981 * docs/html/configopts.html: Fix HTML markup.
1982 * docs/html/install.html: Bring up to date.
1983 * docs/html/17_intro/C++STYLE: Add global variable conventions.
1984 * docs/html/21_strings/howto.html: More notes.
1985 * docs/html/22_locale/howto.html: Fix HTML markup.
1986 * docs/html/27_io/howto.html: More notes.
1987 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
1988 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
1990 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
1992 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
1993 to match header files.
1994 (_S_output_float): Likewise.
1995 (_S_copy_streambufs): Likewise.
1997 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
1998 Phil Edwards <pme@sources.redhat.com>
2000 * include/bits/std_istream.h (op>> signed,unsigned char): Must
2001 use reinterpret_cast, not static_cast.
2003 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
2005 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
2006 * aclocal.m4: Regenerate.
2007 * configure: Regenerate.
2009 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2011 * include/bits/locale_facets.h (class moneypunct): Fix typos.
2012 * libsupc++/pure.cc: Revert.
2014 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2016 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
2017 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
2018 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
2019 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
2020 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
2021 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
2022 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
2023 * aclocal.m4: Regenerate.
2024 * configure: Regenerate.
2026 2001-02-05 Mark Mitchell <mark@codesourcery.com>
2028 * include/bits/locale_facets.tcc: Remove `static' keyword on
2029 function definitions.
2030 * include/bits/std_streambuf.h: Likewise.
2031 * src/Makefile.am: Remove use of -fimplicit-templates.
2032 * src/Makefile.in: Regenerated.
2033 * src/locale-inst.cc: Explicitly instantiate more functions.
2034 * src/misc-inst.cc: Likewise.
2035 * src/string-inst.cc: Likewise.
2037 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2039 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
2040 macro. Consolidate all the bits to do with where includes might be
2042 * aclocal.m4: Regenerate.
2043 * configure.in: Use it.
2044 * configure: Regenerate.
2045 * src/Makefile.am (targetincludep): Use simplified rules.
2046 (targetincludep): Rename gxx_target_include_dir.
2047 (myincludep): Rename gxx_include_dir.
2048 * src/Makefile.in: Regenerate.
2049 * libsupc++/Makefile.am: Use simplified rules.
2050 * libsupc++/Makefile.in: Regenerate.
2052 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2054 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
2055 * include/c_std/bits/std_cctype.h: Same.
2056 * include/c_std/bits/std_cassert.h: Same.
2057 * include/c_std/bits/std_cstdarg.h: Same.
2058 * include/c_std/bits/std_cstddef.h: Same.
2060 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
2062 * include/c_std/bits/std_ctime.h: Same.
2063 * include/c_std/bits/std_clocale.h: Same.
2064 * include/c_std/bits/std_cmath.h: Same.
2065 * include/c_std/bits/std_csetjmp.h: Same.
2066 * include/c_std/bits/std_csignal.h: Same.
2067 * include/c_std/bits/std_cstring.h: Same.
2068 * include/c_std/bits/std_cstdlib.h: Same.
2069 * include/c_std/bits/std_cwchar.h: Same.
2071 2001-02-05 Phil Edwards <pme@sources.redhat.com>
2073 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
2075 2001-02-05 Mark Mitchell <mark@codesourcery.com>
2077 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
2078 (string::_S_construct): Likewise.
2080 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
2082 * testsuite/config/default.exp: New file.
2083 * testsuite/config: New directory.
2085 2001-02-04 Mark Mitchell <mark@codesourcery.com>
2087 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
2088 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
2089 whenever !__GXX_MERGED_TYPEINFO_NAMES.
2090 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
2092 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
2093 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2095 * Makefile.am (mkinstalldirs): Set.
2096 * src/Makefile.am (mkinstalldirs): Set.
2097 * libmath/Makefile.am (mkinstalldirs): Set.
2098 * libsup++/Makefile.am (mkinstalldirs): Set.
2099 * libio/Makefile.am (mkinstalldirs): Set.
2100 * */Makefile.in: Regenerate.
2102 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
2104 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
2105 * include/bits/localefwd.h: More initialization cleanups.
2107 2001-02-03 Jeffrey A Law <law@cygnus.com>
2109 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
2110 correctly targets with 16bit ints.
2111 (_S_ios_openmode_end): Similarly.
2112 (_S_ios_iostate_end): Similarly.
2113 (_S_ios_Seekdir_end): Similarly.
2115 2001-02-02 Phil Edwards <pme@sources.redhat.com>
2117 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
2119 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
2121 * configure.in (toplevel_srcdir, auxdir): Set.
2122 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
2123 * aclocal.m4, configure, Makefile.in: Rebuilt.
2124 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
2125 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
2126 * libsupc++-v3/Makefile.in: Rebuilt.
2127 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
2128 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
2130 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
2132 * config/c_locale_generic.cc: Remove langinfo include.
2134 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
2136 Preliminary named locales.
2137 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
2138 * aclocal.m4: Regenerate.
2139 * configure.in: Use it.
2140 * configure: Regerate.
2141 * src/Makefile.am (sources): Add c++locale.cc.
2142 (build_headers): Add c++locale.h.
2143 * src/Makefile.in: Regenerate.
2144 * config/c_locale_gnu.h: New file.
2145 * config/c_locale_gnu.cc: New file. Non-inline member functions
2146 for named locales, gnu-specific.
2147 * config/c_locale_generic.h: New file.
2148 * config/c_locale_generic.cc: New file. Non-inline member
2149 functions for named locales, generic version.
2150 * docs/html/configopts.html: Add documentation on new options.
2152 * include/bits/locale_facets.h (class _Messages): Remove.
2153 (class _Moneypunct): Remove.
2154 * src/locale-inst.cc: Remove.
2156 * include/bits/locale_facets.h (class _Collate): Remove.
2157 * src/locale-inst.cc (std): Remove.
2158 * src/locale.cc: And here.
2160 * include/bits/localefwd.h (locale::_M_coalesce): New
2161 function. Correctly put together multi-name locales.
2162 (_Impl(const _Impl&, category, size_t)): Remove.
2164 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
2166 (_M_normalize_category_names): Remove.
2167 (_M_replace_categories): Fix.
2169 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
2170 (locale::_Impl::_M_construct_ctype): Remove.
2171 (locale::_Impl::_M_construct_monetary): Remove.
2172 (locale::_Impl::_M_construct_numeric): Remove.
2173 (locale::_Impl::_M_construct_time): Remove.
2174 (locale::_Impl::_M_construct_messages): Remove.
2176 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
2177 (_Use_facet_failure_handle): Remove.
2178 * src/locale.cc: Remove definitions.
2179 * src/locale-inst.cc: And here.
2181 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
2183 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
2184 create and error-check underlying locale object.
2185 (locale::facet::_S_destroy_c_locale): Add, take care of properly
2186 tearing down underlying locale object.
2187 * include/bits/localefwd.h (locale::facet): Declare.
2188 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
2189 correctness, as glibc apparently has incorrect info in it. Test
2190 with it when it works again.....
2192 * include/bits/localefwd.h (locale::_Impl::__vec_string):
2193 Remove. Number of categories is fixed at six, so just simplify and
2194 make this an array of strings.
2195 (locale::_Impl::_M_has_name): Remove.
2196 (locale::_Impl::_M_name): Remove.
2197 (locale::_Impl::_M_category_names): Turns into...
2198 (locale::_Impl::_M_names): ...this.
2199 (locale::_Impl::_M_has_same_name()): New function.
2200 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
2201 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
2203 * src/locale.cc (locale::name()): Construct mangled name
2204 accurately reflecting combined locale categories.
2206 * src/locale.cc (locale::classic()): Don't initialize here.
2207 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
2208 __refs, bool __has_name, string __str): Do it here.
2210 * include/bits/localefwd.h: _S_categories_num to
2211 _S_num_categories. _S_facets_num to _S_num_facets.
2212 (locale::id::id()): Explicitly set _M_index to zero.
2213 * src/locale.cc: Same.
2215 * src/locale.cc: (locale::locale(const char*)): Construct named
2218 * src/locale.cc: Remove numpunct_byname ctors.
2219 * testsuite/22_locale/numpunct_byname.cc: New file.
2220 * testsuite/22_locale/numpunct.cc: New file.
2222 * include/bits/localefwd.h (class locale): Change data members to
2223 protected, from private.
2224 (_Impl::_M_get_c_locale): Add member function.
2225 (locale::facet::_M_get_global_impl()): Add member function.
2226 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
2227 a __c_locale pointer.
2228 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
2230 * testsuite/22_locale/members.cc: New file, test name and combine.
2232 * include/bits/locale_facets.h (class numpunct): Remove class
2233 _Punct and _Numpunct. Rewrite class numpunct to be correct for
2235 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
2236 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
2237 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
2238 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
2239 * testsuite/22_locale/numpunct_char_members.cc: New file.
2241 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
2243 * testsuite/README: Add more comment.
2244 * testsuite/lib/libstdc++.exp: Tweak comment.
2246 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
2248 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
2250 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
2252 * testsuite/21_strings/inserters_extractors.cc: Remove
2253 explicit reference to 'testsuite/'.
2255 2001-01-25 Richard Henderson <rth@redhat.com>
2257 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
2258 bits. Fixes Tru64 build issues.
2260 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2262 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
2263 (use ${MAKE-make}, not ${MAKE:-make}).
2264 * aclocal.m4, configure: Regenerate.
2266 2001-01-25 Mark Mitchell <mark@codesourcery.com>
2268 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
2271 * src/Makefile.am (sources): Add globals.cc.
2272 * src/Makefile.in: Regenerated.
2273 * src/globals.cc: New file.
2274 * src/ios.cc (cin): Don't define here, just declare extern.
2283 2001-01-25 Phil Edwards <pme@sources.redhat.com>
2285 * include/bits/std_iterator.h: Do not include stl_relops.h.
2286 * include/bits/std_numeric.h: Ditto.
2287 * include/bits/stl_algobase.h: Ditto.
2288 * include/bits/stl_relops.h: Add comment warning about problems.
2290 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
2292 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
2293 in testcases. Prepare for the DejaGnu based framework.
2294 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
2295 directory -- it is now mkcheck working directory.
2296 * tests_flags.in: Remove reference to $(top_srcdir). Use
2298 * Makefile.am (check, check-install): Change mkcheck invocation
2300 * Makefile.in: Regenerate.
2302 2001-01-24 Mark Mitchell <mark@codesourcery.com>
2304 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
2305 (__always_swap): Likewise.
2307 2001-01-23 Chris Demetriou <cgd@broadcom.com>
2309 * libsupc++/exception_support.cc (__terminate_func): Remove
2311 (__terminate_func_ptr): New typedef.
2312 (__terminate, __terminate_set_func): New extern function
2314 (std::terminate): Use __terminate function.
2315 (std::set_terminate): Use __terminate_set_func function.
2317 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
2319 * configure.target: Just use os_include_dir always.
2320 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
2321 Link atomicity files and ctype files here.
2322 * configure: Regenerate.
2323 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
2324 (GLIBCPP_ENABLE_ATOMICITY): Remove.
2325 * aclocal.m4: Regenerate.
2327 2001-01-23 Chris Demetriou <cgd@broadcom.com>
2329 * configure.in: Place definition of MULTISUBDIR in
2330 libsupc++/Makefile as is done for src/Makefile.
2331 * configure: Regenerate.
2333 2001-01-23 Phil Edwards <pme@sources.redhat.com>
2335 * acinclude.m4: Cosmetic changes only.
2336 * aclocal.m4: Regenerated.
2337 * configure: Regenerated.
2338 * configure.target: Update documented list of changed variables.
2339 * docs/html/install.html: Fix typo.
2340 * docs/html/20_util/howto.html: More notes on auto_ptr.
2341 * docs/html/27_io/howto.html: More notes on streabufs.
2342 * docs/html/faq/index.html: Add rel_ops problem and mention the
2343 DEC as(1) .subsection difficulty.
2344 * docs/html/faq/index.txt: Regenerated.
2346 2001-01-23 Mark Mitchell <mark@codesourcery.com>
2348 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
2349 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
2350 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
2351 its already provided in config.target.
2352 * aclocal.m4: Regenerated.
2353 * configure: Likewise.
2354 * configure.target: Set ctype_include_dir for lots of systems.
2355 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
2356 * libsupc++/Makefile.in: Regenerated.
2358 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
2360 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
2363 * testsuite/README: Add comment.
2365 2001-01-21 Phil Edwards <pme@sources.redhat.com>
2367 * docs/html/configopts.html: Update for current status. Fix HTML.
2368 * docs/html/install.html: Update for current status.
2370 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2372 * testsuite/libstdc++.tests/tests.exp: New file.
2373 * testsuite/lib/libstdc++.exp: Itou.
2374 * testsuite/README: Itou.
2376 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
2378 * tests_flags.in: Just output the bare minimum to run tests.
2379 Let's the caller do its own arrangement.
2381 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
2384 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
2386 * testsuite/17_intro: Prepare testcases for new style DejaGnu
2389 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
2391 * testsuite/libstdc++.tests, testsuite/lib: New directories.
2393 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
2395 * mkcheck.in: Construct file names that match $objdir structure.
2396 * testsuite/27_io/filebuf_members-1.txt: New file.
2397 * testsuite/27_io/ifstream_members-1.txt: New file.
2398 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
2400 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
2401 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
2403 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2405 * testsuite/27_io/istream_sentry.cc (test02): Fix.
2407 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
2410 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
2411 * src/ios.cc (ios_base::failure): Make definitions match.
2412 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
2413 (class bad_cast): Same.
2414 * libsupc++/exception (class exception): Add throw specs.
2415 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
2416 (set_unexpected): Same.
2417 (uncaught_exception): Same.
2420 * docs/html/17_intro/C++STYLE (classname): Fix.
2422 2001-01-16 Mark Mitchell <mark@codesourcery.com>
2424 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
2425 Use it do explicitly instantiate predicate<T> and value<T> for
2428 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
2430 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
2431 uninitialized thinko in last change.
2433 2001-01-16 Mark Mitchell <mark@codesourcery.com>
2435 * libsupc++/exception_support.cc (__cp_pop_exception): Change
2438 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
2440 * docs/html/17_intro/C++STYLE (classname): Add more existing
2441 and stylish patterns.
2444 * include/bits/istream.tcc (istream::sentry::sentry()): Set
2445 failbit if the state of the stream is not good.
2446 * testsuite/27_io/istream_sentry.cc (test02): Add test.
2447 * testsuite/27_io/istream_manip.cc (test01): Modify.
2450 reported by Paolo Carlini <pcarlini@unitus.it>
2451 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
2452 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
2455 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
2456 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
2457 (xsgetn): Same. Simplify.
2458 * testsuite/27_io/streambuf.cc (test04): Add testcases.
2460 reported by Larry Evans <jcampbell3@prodigy.net>
2461 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
2462 equality with eof on returned value from overflow.
2464 2001-01-14 Andreas Jaeger <aj@suse.de>
2466 * libio/libio.h: Add test for glibc 2.0.
2468 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
2470 * config/os/djgpp/bits/*: Fix dates.
2472 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
2473 _CharT* __end, _CharT __c): Remove.
2474 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
2475 * include/bits/char_traits.h: Tweak.
2477 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
2479 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
2480 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
2482 * aclocal.m4: regenerated.
2483 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
2484 * configure: regenerated.
2485 * config/os/djgpp, config/os/djgpp/bits: new directories.
2486 * config/os/djgpp/bits/ctype_base.h,
2487 config/os/djgpp/bits/ctype_inline.h,
2488 config/os/djgpp/bits/ctype_noninline.h,
2489 config/os/djgpp/bits/os_defines.h: new files.
2491 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
2493 * include/c_std/bits/std_cstdio.h: Undef printf.
2495 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
2497 * src/ios.cc: Fix typo: change cout->wcout.
2499 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
2500 * src/Makefile.in: Regenerate.
2502 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2504 * include/bits/std_complex.h: Fix a typo.
2506 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
2509 Fixes for libstdc++/1576
2510 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
2511 file, move contents into....
2512 * src/ios.cc: ...Here. Put defines for iostreams objects and
2513 initialization routines into one file to simplify DSO interaction.
2514 * include/bits/std_iostream.h: Touch.
2515 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
2516 * src/Makefile.am (sources): Remove stdstreams.cc.
2517 * src/Makefile.in: Regenerate.
2519 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2521 * tests_flags.in (check_directory): Fix typo.
2523 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2525 * include/bits/std_complex.h: Fix a typo.
2527 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
2529 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
2530 code path:) Remove magic constants and restructure to handle
2531 ctype.h bit mask layout changes more gracefully. (Make fast
2532 code path:) Use __maskrune (), if available.
2533 (is): Remove special case for digit and xdigit masks.
2535 2001-01-09 Robert Lipe <robertlipe@usa.net>
2537 * include/c_std/bits/std_ctime.h: Undefine difftime.
2539 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
2541 * src/gen-num-limits.cc (signal_adapter): New template function.
2542 (signal_handler): Use it, instead of signal.
2543 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
2544 require both tests to trap to set trap_flag.
2546 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
2548 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
2549 initialize mbstate_t member, name offset data members *off, not pos.
2550 * include/bits/fstream.tcc (filebuf::filebuf): Same.
2552 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
2554 reported by Chris G. Demetriou <cgd@sibyte.com>
2555 * configure.in: Change -linux-* to -linux*.
2556 * configure: Regenerate.
2558 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
2560 Fix 27_io/filebuf_members.cc
2561 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
2562 const string& __name, category __cat, size_t __refs): Set
2563 _M_has_name with _M_name.
2564 * include/bits/localefwd.h (locale::operator!=): Protect member
2565 function call with this->.
2566 * src/locale.cc (locale::operator==): Make fast checks first.
2567 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
2569 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
2571 * src/ios.cc (ios_base::Init::Init): Initialize here.
2572 (ios_base::sync_with_stdio): Set here.
2574 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
2576 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
2577 systems that support it, call dup() before fdopen().
2579 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
2581 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
2582 * testsuite/17_intro/header_cwctype.cc (main): New file.
2584 * src/Makefile.am (base_headers): Change.
2585 * include/bits/std_string.h: And here.
2586 * include/bits/string.tcc: Tweaks, move to...
2587 * include/bits/basic_string.tcc: ...Here.
2588 * src/string-inst.cc: Simplify, just instantiate the whole class,
2589 not member-by-member.
2591 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
2593 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
2594 * aclocal.m4: Regenerate.
2595 * configure: Regenerate.
2597 * include/bits/c++config (__GLIBCPP__): Bump version number.
2599 * ChangeLog: Start new log for year 2001
2600 * ChangeLog-2000: New file.
2602 * docs/html/configopts.html: Make sure default values are current,
2605 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
2607 * include/c_std/bits/std_cwchar.h: Same.
2608 * testsuite/17_intro/header_cwchar.cc: Same.
2609 * include/c_std/bits/std_ctime.h: Same.
2610 * testsuite/17_intro/header_ctime.cc: Same.
2611 * include/c_std/bits/std_cstdlib.h: Same.
2612 Clean up undefs, make consistent with cwchar and cmath, etc.
2613 * testsuite/17_intro/header_cstdlib.cc: Same.
2614 * include/c_std/bits/std_cstdio.h: Same here.
2615 * testsuite/17_intro/header_cstring.cc: Same.
2616 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
2617 * testsuite/17_intro/header_cstring.cc: New file. Check for
2618 size_t in namespace std.
2620 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
2621 * acconfig.h (HAVE_MBSTATE_T): Add.
2622 * config.h.in: Regenerate.
2623 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
2625 * aclocal.m4: Regenerate.
2626 * configure: Regenerate.
2627 * testsuite/17_intro/headers_c++.cc: New file.
2628 * testsuite/17_intro/headers_c.cc: Small changes.
2630 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
2632 * tests_flags.in: Fix typo in usage.
2634 * tests_flags.in: Set target specific LIBS for cygwin.