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