1 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
3 (Approved by Mark and Benjamin. Applied by Loren.)
5 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
6 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
7 and _GLIBCPP_mutex_address.
8 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
9 once-only runtime initialization of _M_lock mutex when
10 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
11 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
12 for __GTHREAD_MUTEX_INIT_FUNCTION case.
14 2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
16 * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
18 * include/bits/slice_array.h (slice_array<>::operator=): Make
20 (slice_array<>::slice_array): Make copy-constructor public.
22 * include/bits/valarray_array.h (__valarray_copy): Add another
23 overload to copy between strided arrays.
25 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
27 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
28 * aclocal.m4: Regenerate.
29 * configure: Regenerate.
30 * include/bits/c++config (__GLIBCPP__): Update date.
32 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
34 * include/bits/fpos.h (fpos::operator-): Don't return reference,
35 return original, non-modified version.
36 (fpos::operator+): Same.
37 * testsuite/27_io/fpos.cc: Add test.
39 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
42 * porting.texi: Add documentation about libstdc++-v3-specific
43 macros that are currently included in os_defines.h files.
45 * config/basic_file_stdio.h (sys_getc): New method.
46 (sys_ungetc): New method.
47 * include/bits/basic_file.h: (sys_getc): New method signature.
48 (sys_ungetc): New method signature.
50 * include/bits/fstream.tcc (underflow): Add conditional code
51 paths which avoid using short seeks on streams (especially
52 useful when the stream might be interactive or a pipe). At
53 the moment, this alternate path only avoids seeking when the
54 ``buffer size'' of underflow() is 1 since the C standard only
55 guarantees buffer space for one ungetc (this technique could
56 be extended since *-*-solaris* supports buffering for 4 calls
57 to ungetc and *-*-*bsd* supports buffering limited only by
58 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
59 in a port's os_defines.h file for this alternate path to even
60 be considered. As a bonus, the idiom of using getc/ungetc
61 requires no system calls whereas fseek maps to one or two
62 system call(s) on many platforms.
64 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
66 * config/os/solaris/solaris2.5/bits/os_defines.h
67 (_GLIBCPP_AVOID_FSEEK): Likewise.
68 * config/os/solaris/solaris2.6/bits/os_defines.h
69 (_GLIBCPP_AVOID_FSEEK): Likewise.
70 * config/os/solaris/solaris2.7/bits/os_defines.h
71 (_GLIBCPP_AVOID_FSEEK): Likewise.
73 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
75 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
76 AC_TRY_COMPILE, so that the built compiler is checked, and
77 bootstraps or cross compiles with an older compile still work.
78 * aclocal.m4: Regenerate.
79 * configure: Regenerate.
81 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
84 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
87 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
90 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
93 * include/bits/limits_generic.h: Fix as per DR 184.
95 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
98 * include/bits/basic_string.h (string::compare): Adjust signatures
100 * include/bits/basic_string.tcc: And here.
103 * config/c_io_stdio.h: Remove whitespace.
104 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
105 (test02): Add regression.
106 * testsuite/27_io/istream_seeks-3.tst: New file.
108 2001-06-11 Phil Edwards <pme@sources.redhat.com>
110 * README: Update to reflect reality.
111 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
112 * configure.in: Make certain target_alias is set and subst'd for 2.50.
113 * aclocal.m4: Regenerate.
114 * configure: Regenerate (with 2.13).
116 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
119 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
121 * include/bits/istream.tcc (istream::seekg): Same.
122 * testsuite/27_io/istream_seeks.cc: Fix.
125 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
127 * include/bits/std_queue.h: Add c++config.h.
128 * testsuite/20_util/binders.cc: New test.
130 2001-06-11 Matthias Klose <doko@debian.org>
131 Phil Edwards <pme@sources.redhat.com>
133 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
134 (main script): Echo more information.
136 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
138 * include/c_std/bits/std_cwchar.h: Alphabetize.
139 * include/bits/char_traits.h: Tweak.
140 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
141 everything used by std_cwchar.h.
142 * aclocal.m4: Regenerate.
143 * configure.in: Regenerate.
144 * config.h.in: Regenerate.
146 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
148 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
149 Add checking for strtof, _Exit in stdlib.h
150 * aclocal.m4: Regenerate.
151 * configure.in: Regenerate.
152 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
153 (snprintf): Put C99 functions into __gnu_cxx namespace.
158 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
159 for C99 functions within _GLIBCPP_USE_C99 guard.
163 * include/bits/locale_facets.tcc: Check if C99 is enabled.
164 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
166 * include/c_std/bits/cmath.tcc: Formatting tweak.
167 * include/c_std/bits/std_cmath.h: Same.
169 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
171 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
173 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
174 Stephen L Moshier <moshier@mediaone.net>
176 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
177 nothing, as in autoconf 2.50.
178 * configure: Rebuilt.
180 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
182 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
184 * include/c_std/bits/std_ctime.h: Same.
185 * include/c_std/bits/std_cstring.h: Same.
186 * include/c_std/bits/std_cstdlib.h: Same.
188 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
189 * include/c_std/bits/std_cctype.h: Remove isblank.
191 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
193 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
195 * aclocal.m4: Regenerate.
196 * configure: Regenerate.
197 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
198 injection, guard fgetwc, fgetws.
199 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
200 * include/c_std/bits/std_clocale.h: And here.
201 * include/c_std/bits/std_cctype.h: And here.
202 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
204 * config/basic_file_stdio.h: Don't include unistd.h.
205 * config/c_io_stdio.h: Don't use compatibility headers.
206 * libsupc++/eh_terminate.cc: Qualify abort.
207 (__terminate): And here.
208 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
210 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
212 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
214 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
219 * include/std/*: Add copyright notice.
220 * include/c_std/bits/*: Use using statements instead of extern "C".
221 * include/c_std/bits/std_cmath.h: Don't overload double versions
222 of math functions with __buitin versions, use global version to
223 prevent ambiguities. Remove define hacks.
224 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
225 functions that have changed signatures and std::
226 declarations. Remove define hacks.
227 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
228 __builtins in std::. Remove define hacks.
229 * testsuite/17_intro/headers_c.cc: Add tests.
230 * testsuite/17_intro/headers_c++.cc: Add test.
232 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
233 John David Anglin <dave@hiauly1.hia.nrc.ca>
236 * libsupc++/eh_alloc.cc: Ensure that required macros are
237 defined before including gthr.h. Ensure that we get the
238 version of gthr.h for which we know how to provide a
240 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
241 code path into line with the current EH model. Use std, where
244 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
245 John David Anglin <dave@hiauly1.hia.nrc.ca>
247 * config/threads-no.h: Remove file.
248 * config/threads-posix.h: Remove file.
250 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
251 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
252 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
253 * config.h.in: Regenerate.
255 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
256 setup and use gthr*.h files. In particular, make gthr.h files
257 namespace-clean in the staging area (they don't have to be for
259 * aclocal.m4: Regenerate.
260 * configure: Regenerate.
262 * src/Makefile.am (build_headers): Remove bits/c++threads.h
263 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
264 * src/Makefile.in: Regenerate.
266 * include/bits/c++config: Cleanup threading configuration macros.
267 In particular, define __STL_GTHREADS macro which controls...
268 * include/bits/stl_threads.h: ...a brand new gthr.h-based
271 * config/c_io_stdio.h: Include staged gthr.h instead of local
272 thread configuration file. Always use __gthread_mutex_t
273 instead of __mutext_type (or int).
274 * include/bits/std_fstream.h: Likewise.
276 * docs/html/17_intro/howto.html: Remove placeholder comment in
277 case this configuration patch didn't make it. Add advice that
278 section only applies if configured with --enable-threads.
279 * docs/html/23_containers/howto.html: Reword to make clear
280 that _PTHREADS is no longer required for any port to be
281 correctly using STL with threads. Add advice that section
282 only applies if configured with --enable-threads.
284 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
286 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
288 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
291 * include/bits/basic_ios.tcc: Formatting tweaks.
292 * include/bits/ios_base.h: Formatting tweaks.
293 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
294 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
295 * src/globals.cc: Allocate filebufs for standard streams here.
296 (buf_cout, buf_cin, buf_cerr): Like so.
297 (buf_wcout, buf_wcin, buf_wcerr): And so.
298 * testsuite/27_io/ios_init.cc: Add.
300 2001-06-04 Brendan Kehoe <brendan@zen.org>
301 Benjamin Kosnik <bkoz@redhat.com>
304 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
305 for generic ctype virtuals.
306 * src/locale.cc: Minor tweaks, naming consistency.
307 * testsuite/22_locale/ctype.cc: Add test.
309 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
310 Phil Edwards <pme@sources.redhat.com>
312 PR libstdc++/3035 and PR libstdc++/3036
313 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
314 to LWG DR 181 and 265.
316 2001-06-04 Phil Edwards <pme@sources.redhat.com>
319 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
320 equal_range): Add const overloads as per LWG DR 214.
321 * include/bits/stl_set.h: Likewise.
323 2001-06-04 Brendan Kehoe <brendan@zen.org>
324 Phil Edwards <pme@sources.redhat.com>
327 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
328 comparison; all positions must be < _Nb.
329 * testsuite/23_containers/bitset_members.cc: New file.
331 2001-06-04 Brendan Kehoe <brendan@zen.org>
334 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
335 ctors to match the standard.
337 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
339 * include/bits/char_traits.h (move): Reverse qualification of
341 (copy): Reverse qualification of memcpy with std::.
343 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
345 * include/bits/char_traits.h (move): Qualify memmove with std::.
346 (copy): Qualify memcpy with std::.
347 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
350 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
352 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
354 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
355 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
356 SUN make VPATH peculiarities.
357 * libsupc++/Makefile.in: Regenerate.
359 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
361 * src/Makefile.am (VPATH): Delimit with ":", not space.
362 * src/Makefile.in: Regenerate.
364 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
366 * configure: Regenerate.
368 2001-05-31 scott snyder <snyder@fnal.gov>
371 * include/bits/istream.tcc: Include std_ostream.h.
373 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
376 * src/bitset.cc: Qualify size_t with std::.
378 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
380 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
381 (_GLIBCPP_BUGGY_COMPLEX): Remove.
382 * config.h.in: Regenerate.
383 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
384 * aclocal.m4: Regenerate.
385 * configure.in: Don't call it.
386 * configure: Regenerate.
389 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
390 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
394 * include/bits/std_complex.h: Include sstream. Put definitions for
395 complex inserters and extractors here, and remove them from...
396 * src/complex_io.cc: ...here.
397 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
399 (basic_ios::__numget_type): Same.
400 * include/bits/std_istream.h: Same.
401 * include/bits/std_ostream.h: Same.
402 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
403 class iterator template arguments.
404 * src/locale-inst.cc: Add explicit has_facet instantiations.
405 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
406 (_M_get_fnumput): Remove.
407 (_M_get_fnumget): Remove.
408 (basic_ios::_M_check_facet): New function.
409 (basic_ios::_M_cache_facets): New function.
410 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
411 (basic_ios::imbue): Call _M_cache_facets.
412 (basic_ios::init): Same.
413 * include/bits/istream.tcc: Format, use _M_check_facet.
414 * include/bits/ostream.tcc: Same.
415 * include/bits/locale_facets.tcc (__output_float): Change
416 signature, add _Traits.
417 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
420 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
422 * include/bits/c++config (__USE_MALLOC): Do not define it.
423 Document why not and give pointers to more information.
425 * docs/html/23_containers/howto.html: Update documentation
426 to reflect recent understanding of problem.
427 * docs/html/17_intro/howto.html: Likewise.
429 2001-05-30 Phil Edwards <pme@sources.redhat.com>
431 * docs/doxygen/user.cfg.in: Minor addition.
432 * docs/html/documentation.html: Reorganize. Put most-looked-at
434 * docs/html/install.html: Update for 3.0. HTML fixups.
435 * docs/html/17_intro/howto.html: Likewise.
436 * docs/html/18_support/howto.html: Likewise.
437 * docs/html/19_diagnostics/howto.html: Likewise.
438 * docs/html/20_util/howto.html: Likewise.
439 * docs/html/23_containers/howto.html: Likewise.
440 * docs/html/24_iterators/howto.html: Likewise. More notes.
441 * docs/html/25_algorithms/howto.html: Likewise.
442 * docs/html/26_numerics/howto.html: Likewise. More notes.
443 * docs/html/27_io/howto.html: Likewise.
444 * docs/html/ext/howto.html: Likewise.
445 * docs/html/faq/index.html: Likewise.
446 * docs/html/faq/index.txt: Regenerate.
447 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
448 Doxygen-created documentation.
450 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
452 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
453 get_multilibs to find gcc.
455 2001-05-30 Phil Edwards <pme@sources.redhat.com>
457 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
458 * aclocal.m4: Regenerate.
459 * configure: Regenerate.
461 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
463 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
464 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
466 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
468 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
469 * include/c_std/bits/std_cstdlib.h: Same.
470 * include/c_std/bits/std_cwchar.h: Same.
472 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
474 * docs/html/17_intro/howto.html: Update link.
475 * docs/html/23_containers/howto.html: Likewise. Add new link.
477 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
479 * include/c_std/bits/std_cmath.h (sqrt): #undef.
481 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
483 * mknumeric_limits: Stop if gen-num-limits dies.
485 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
488 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
489 * aclocal.m4: Regenerate.
492 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
493 Phil Edwards <pme@sources.redhat.com>
494 Alexandre Oliva <aoliva@redhat.com>
496 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
497 in an amd-safe manner. Revert glibcpp_prefixdir.
499 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
501 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
502 fabs, sin, sqrt. They are now implemented in terms of __builtin_
505 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
508 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
509 * include/bits/ostream.tcc: Format to match istream.tcc.
510 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
512 2001-05-24 Phil Edwards <pme@sources.redhat.com>
514 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
516 (__cxa_free_exception): Likewise with free.
518 2001-05-24 Mark Mitchell <mark@codesourcery.com>
520 * include/c_std/bin/std_cstring.h: #define away all global
521 functions we will redeclare in namespace `std'.
522 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
523 std::memset, instead of memset.
524 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
526 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
529 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
532 * include/bits/basic_ios.tcc: Small tweak.
533 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
534 ctors and dtors, and rdbuf settings.
537 * include/bits/std_sstream.h: Same, but for stringstream classes.
538 * testsuite/27_io/ostringstream_members.cc: New.
539 * testsuite/27_io/stringstream_members.cc: New.
540 * testsuite/27_io/fstream_members.cc: New.
541 * testsuite/27_io/ifstream_members.cc: Add test.
542 * testsuite/27_io/istringstream_members.cc: Add test.
543 * testsuite/27_io/ofstream_members.cc: Add test.
545 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
547 * include/bits/c++config(__NO_MATH_INLINES): Move to...
548 * config/os/gnu-linux/bits/os_defines.h: ...here.
550 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
552 * include/bits/c++config (__NO_MATH_INLINES): New macro.
553 * testsuite/26_numerics/fabs_inline.cc (main): New test.
555 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
558 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
560 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
561 (libstdc++-v3-finish): Remove.
562 (libstdc++-v3_exit): Remove.
564 2001-05-22 Phil Edwards <pme@sources.redhat.com>
566 * docs/html/documentation.html: Point to doxygen output.
568 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
570 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
572 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
573 arguments to be non-null.
574 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
575 try allocations if allocated size is greater than zero.
576 (filebuf::_M_filebuf_init): Change to
577 (filebuf::_M_allocate_file): Which is what it does now.
578 (filebuf::_M_allocate_bufers): Change to
579 (filebuf::_M_allocate_internal_buffer): This, and create
580 (filebuf::_M_allocate_pback_buffer): New.
581 (filebuf::_M_destroy_internal_buffer): New.
582 (filebuf::_M_buf_allocated): New data member.
583 (filebuf::setbuf): Use new logic, allow use of external buffer.
584 * testsuite/27_io/stringbuf_virtuals.cc: New file.
585 * testsuite/27_io/filebuf_virtuals.cc: New file.
587 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
589 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
591 (strchr): Same, but to __glibcpp_strchr.
595 * include/c_std/bits/std_cwchar.h (wcschr): Same.
601 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
603 * testsuite/21_strings/c_strings.cc (main): Fix.
605 2001-05-19 Phil Edwards <pme@sources.redhat.com>
607 * acinclude.m4: Fix --help spacing, correct comments.
608 * aclocal.m4: Regenerate.
609 * configure: Regenerate.
610 * mkcheck.in: Add usage comments.
611 * docs/html/documentation.html: Point to doxygen'd tarball.
613 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
615 * testsuite/README: Add notes.
617 * src/Makefile.am (libstdc++.INC): Remove.
618 * src/Makefile.in: Regenerate.
620 Phil Edwards <pedwards@disaster.jaj.com>
621 * mkcheck.in: Add missing '#'.
623 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
625 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
626 appropriately for remote testing and testing installed files without
629 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
631 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
632 amd glibcpp_prefixdir with absolute paths.
634 * include/bits/c++config (__GLIBCPP__): Bump.
635 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
637 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
639 * include/bits/std_valarray.h (valarray<>::operator[] const):
640 Return a const reference.
641 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
643 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
645 * configure.target (ATOMICITYH): Actually use AIX-specific code on
646 earlier versions of AIX 4.*.
648 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
650 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
651 output_file based on the name of the testcase.
653 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
655 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
656 gluefile and use it if needs_status_wrapper is set.
658 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
660 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
663 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
665 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
666 on earlier versions of AIX.
668 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
670 * testsuite_flags.in (query): Add backwards, ext directories.
672 2001-05-15 Mark Mitchell <mark@codesourcery.com>
674 * porting.texi: Correct documentation about handling
675 _LARRGEFILE_SOURCE and its ilk.
676 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
677 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
679 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
680 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
682 2001-05-15 Zack Weinberg <zackw@stanford.edu>
684 * testsuite/21_strings/inserters_extractors.cc,
685 testsuite/27_io/istream_unformatted.cc,
686 testsuite/27_io/stringstream.cc:
687 Replace multi-line string constants with C89-style
688 concatenated string constants.
690 2001-05-14 Richard Henderson <rth@redhat.com>
692 * mknumeric_limits: Build with -fno-exceptions.
694 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
696 Switch over to new harness.
697 * testsuite_flags.in: Tweaks via Gaby.
698 * testsuite/Makefile.am: Change tool to libstdc++-v3.
699 (EXPECT): Quote directly.
701 * configure.in: Output testsuite_flags.
702 * acinclude.m4: Substitute src, bld, and prefix dirs.
703 Remove glibcpp_expect, glibcpp_runtestflags.
704 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
705 * mkcheck.in: Port to new interface.
707 * aclocal.m4: Regerate.
708 * configure: Regnerate.
709 * Makefile.in: Regnerate.
710 * */Makefile.in: Regenerate.
712 * tests_flags.in: Remove.
713 * testsuite/lib/libstdc++.exp: Remove.
714 * testsuite/libstdc++.tests/tests.exp: Remove.
716 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
718 * configure.target: Remove detection of AIX pthread multilib, now
719 obtained from `gcc -v'.
721 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
723 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
724 size. Add hpux case for HP size.
726 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
728 * testsuite_flags.in: New, simplified interface.
729 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
730 * testsuite/libstdc++-v3.dg: Add.
731 * testsuite/libstdc++-v3.dg/dg.exp: Add.
733 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
735 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
736 * testsuite/config/default.exp: Update bugs email address.
738 2001-05-11 Richard Henderson <rth@redhat.com>
740 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
741 all pointer encoding logic.
742 (struct lsda_header_info): Add ttype_base.
743 (get_ttype_entry): Use it instead of a context.
744 (check_exception_spec): Likewise.
745 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
746 the c++ exception header for __cxa_call_unexpected.
747 (__cxa_call_unexpected): Use it.
749 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
751 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
752 libgloss_link_flags to find crt0.o for targets that use libgloss
754 Change LDFLAGS to LIBS.
755 Consistently name procedures libstdc++-XXX.
756 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
758 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
760 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
765 * include/c_std/bits/std_cwchar.h (wcschr): Same.
770 * testsuite/21_strings/c_strings.cc: Add tests.
772 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
775 * include/bits/std_fstream.h (basic_filebuf): Change signature.
776 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
777 to int_type, pass in buffer size info.
778 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
779 unbuffered situation.
780 (underflow): Remove codecvt bits for the time being.
781 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
782 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
783 values from iterators, clean.
784 * src/locale.cc: Ditto.
785 * include/bits/sbuf_iter.h: Format.
786 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
787 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
788 * testsuite/27_io/filebuf.cc: Tweaks.
789 * testsuite/27_io/filebuf_members.cc: Tweaks.
791 2001-05-07 Mark Mitchell <mark@codesourcery.com>
793 * config/os/solaris/solaris2.7/bits/os_defines.h
794 (_LARGEFILE_SOURCE): Define it.
796 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
798 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
799 -prefer-non-pic depending on whether libtool has shared libraries
801 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
802 $(LIBSUPCXX_PICFLAGS).
803 * configure, */Makefile.in: Rebuilt.
805 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
807 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
808 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
810 * include/bits/std_sstream.h (stringbuf): Leak
812 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
814 2001-05-01 Tom Browder <tbrowder@home.com>
816 * docs/html/ext/howto.html: Fix typo.
818 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
820 * testsuite/libstdc++.tests/tests.exp: Add comment.
822 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
824 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
826 2001-04-30 Mark Mitchell <mark@codesourcery.com>
828 * porting.texi: Use the GFDL.
830 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
833 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
834 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
837 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
840 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
842 2001-04-28 Phil Edwards <pme@sources.redhat.com>
844 * docs/doxygen/run_doxygen: Minor tweaks.
845 * docs/doxygen/style.css: New file.
846 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
847 latest parameters available. Use style.css.
849 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
851 * docs/doxygen/mainpage.doxy: New.
852 * docs/doxygen/user.cfg.in: Change default configuration. Single
855 2001-04-26 Mark Mitchell <mark@codesourcery.com>
857 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
858 Indicate obsolete nature of thelist for G++ 3.0.
860 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
862 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
863 target_thread_file with `gcc -v'.
864 * aclocal.m4, configure: Rebuilt.
866 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
868 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
869 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
870 * include/c_std/bits/std_cwchar.h (std): Same.
871 * acconfig.h (std): Remove c99 injection into std.
872 * config.h.in: Regenerate.
874 * testsuite/README: Fix typo.
876 * include/bits/codecvt.h: Remove warnings.
878 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
880 * include/ext/slist: Include required header files.
882 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
884 * include/c_std/bits/std_cerrno.h (errno): Define macro from
885 identifier declared with external linkage, if needed.
886 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
887 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
889 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
891 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
892 re-configures find the build compiler.
893 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
895 * aclocal.m4: Regenerate.
896 * configure: Regenerate.
898 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
900 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
901 support is enabled correctly before long long is activated.
902 * aclocal.m4: Regenerate.
903 * configure: Regenerate.
905 * include/backward/backward_warning.h: Format correctly.
907 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
908 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
909 * testsuite/26_numerics/c99_macros.cc: Remove.
911 2001-04-20 Phil Edwards <pme@sources.redhat.com>
913 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
916 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
918 * acconfig.h (_GLIBCPP_USE_C99): Add.
919 * config.h.in: Regenerate.
920 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
922 * aclocal.m4: Regenerate.
923 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
924 * configure: Regenerate.
925 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
926 * configure: Regenerate.
927 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
929 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
931 * include/c_std/bits/std_cstdlib.h: Same.
932 * docs/html/configopts.html: Update.
933 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
935 (test_c99_classify): Add.
936 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
937 (_ISOC99_SOURCE): Remove.
939 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
940 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
941 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
942 * aclocal.m4: Regenerate.
943 * configure: Regenerate.
945 2001-04-19 Phil Edwards <pme@sources.redhat.com>
947 * Makefile.am (doxygen): Assume script is missing execute perms.
948 * Makefile.in: Regenerated.
949 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
951 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
953 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
955 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
957 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
958 * testsuite/23_containers/set_operators.cc: Same.
960 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
962 (__GLIBCPP__): Bump from value of last release.
963 * include/bits/concept_check.h: Default to off, edit comments.
964 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
965 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
966 * src/Makefile.in: Regenerate.
968 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
970 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
971 Properly uglify member.
973 2001-04-13 Phil Edwards <pme@sources.redhat.com>
975 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
979 2001-04-13 Phil Edwards <pme@sources.redhat.com>
981 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
982 * include/bits/concept_check.h: Uglify.
983 * include/bits/stl_algo.h: Likewise.
984 * include/bits/stl_algobase.h: Likewise.
985 * include/bits/stl_deque.h: Likewise.
986 * include/bits/stl_heap.h: Likewise.
987 * include/bits/stl_iterator_base_funcs.h: Likewise.
988 * include/bits/stl_list.h: Likewise.
989 * include/bits/stl_map.h: Likewise.
990 * include/bits/stl_multimap.h: Likewise.
991 * include/bits/stl_multiset.h: Likewise.
992 * include/bits/stl_numeric.h: Likewise.
993 * include/bits/stl_queue.h: Likewise.
994 * include/bits/stl_set.h: Likewise.
995 * include/bits/stl_stack.h: Likewise.
996 * include/bits/stl_vector.h: Likewise.
997 * include/ext/hash_map: Likewise.
998 * include/ext/hash_set: Likewise.
999 * include/ext/slist: Likewise.
1001 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
1003 * testsuite/23_containers/set_operators.cc: Just try to compile.
1005 * testsuite/23_containers/map_operators.cc: Same.
1007 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
1009 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
1011 (dg-test): Revert rth's change.
1013 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
1015 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
1016 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
1018 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
1020 * testsuite/README: Add DejaGnu specific documentation.
1022 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
1024 * acinclude.m4: AC_CHECK_TOOL for expect.
1025 * aclocal.m4: Regenerate.
1026 * configure: Regenerate.
1027 * testsuite/Makefile.am (RUNTEST): Use substituted.
1030 * configure.in: Remove xcompiling substitution.
1031 * tests_flags.in (CROSS_LIB_PATH): Remove.
1032 (xcompiling): Remove.
1033 (CXX): Use substituted CXX.
1035 2001-04-11 Richard Henderson <rth@redhat.com>
1037 * testsuite/lib/libstdc++.exp: Specify path for output_file.
1039 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
1041 * include/bits/std_valarray.h(valarray<>::operator[]): Make
1044 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
1046 * testsuite/25_algorithms/equal.cc: New test.
1048 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
1050 * stl_algobase.h (std::equal): avoid use of possibly-undefined
1051 operator != (one line patch).
1053 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
1055 * include/backward/backward_warning.h: Re-enable.
1057 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
1058 Alexandre Oliva <aoliva@redhat.com>
1060 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
1062 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
1064 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
1065 * testsuite/26_numerics/c99_macros.cc: Add test.
1067 2001-04-06 Phil Edwards <pme@sources.redhat.com>
1069 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
1070 * docs/html/faq/index.txt: Regenerated.
1072 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
1074 * include/backward/backward_warning.h: Temporarily disable until
1075 g++ testsuite changes go in.
1076 * tests_flags.in (CROSS_LIB_PATH): Add.
1078 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
1080 Warn when using backward headers.
1081 * include/backward/algo.h: Include warning file.
1082 * include/backward/vector.h: Same.
1083 * include/backward/tree.h: Same.
1084 * include/backward/tempbuf.h: Same.
1085 * include/backward/strstream: Same.
1086 * include/backward/streambuf.h: Same.
1087 * include/backward/stream.h: Same.
1088 * include/backward/stack.h: Same.
1089 * include/backward/slist.h: Same.
1090 * include/backward/set.h: Same.
1091 * include/backward/rope.h:
1092 * include/backward/queue.h: Same.
1093 * include/backward/pair.h: Same.
1094 * include/backward/ostream.h: Same.
1095 * include/backward/new.h: Same.
1096 * include/backward/multiset.h: Same.
1097 * include/backward/multimap.h: Same.
1098 * include/backward/map.h: Same.
1099 * include/backward/list.h: Same.
1100 * include/backward/iterator.h: Same.
1101 * include/backward/istream.h: Same.
1102 * include/backward/iostream.h:
1103 * include/backward/iomanip.h:
1104 * include/backward/heap.h: Same.
1105 * include/backward/hashtable.h:
1106 * include/backward/hash_set.h:
1107 * include/backward/hash_map.h:
1108 * include/backward/function.h:
1109 * include/backward/fstream.h:
1110 * include/backward/deque.h:
1111 * include/backward/defalloc.h: Same.
1112 * include/backward/complex.h: Same.
1113 * include/backward/bvector.h:
1114 * include/backward/alloc.h:
1115 * include/backward/algobase.h: Same.
1117 * include/backward/backward_warning.h: New file.
1118 * src/Makefile.am (backward_headers): Add backward_warning.h
1119 * src/Makefile.in: Regenerate.
1121 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
1123 * src/Makefile.am (myinstalldirs): Make sure backward directory is
1125 (myinstallheaders): Install backward headers in backward directory.
1126 * src/Makefile.in: Regenerate.
1128 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
1130 Prepare for libstdc++-2.92.
1131 * docs/html/17_intro/RELEASE-NOTES (New): Update.
1132 * docs/html/configopts.html: Fix formatting.
1133 * README (file): Updates.
1134 * include/bits/c++config (__GLIBCPP__): Update.
1136 2001-04-05 Phil Edwards <pme@sources.redhat.com>
1138 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
1140 2001-04-04 Phil Edwards <pme@sources.redhat.com>
1142 * docs/doxygen/user.cfg.in: Extract all non-private members;
1143 reduce confusing documentation output.
1145 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
1147 * include/backward/fstream.h: Add missing semicolons.
1149 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
1151 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
1152 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
1153 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
1154 (ios_base::Init::_S_ios_create): New.
1155 (ios_base::Init::_S_ios_destroy): New.
1156 * include/bits/std_fstream.h: Change ctor args.
1157 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
1158 (ios_base::Init::~Init): Use _S_ios_destroy.
1159 (ios_base::sync_with_stdio): Use new members.
1160 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
1163 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1165 * include/backward/fstream.h: Expose streampos to global
1168 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1170 * include/bits/stl_iterator_base_types.h: Fix typo
1172 2001-04-03 Andreas Schwab <schwab@suse.de>
1174 * include/backward/fstream.h: Define filebuf and wfilebuf.
1176 2001-04-02 Phil Edwards <pme@sources.redhat.com>
1178 New concept checking implementation.
1179 * docs/html/19_diagnostics/howto.html: Document.
1180 * docs/html/17_intro/concept_check.diff: New file, for reference.
1181 * include/bits/boost_concept_check.h: New file from Boost.
1182 * include/bits/c++config: Update comments.
1184 * include/bits/concept_check.h: New file.
1185 * include/bits/concept_checks.h: Removed.
1186 * include/bits/container_concepts.h: Removed.
1187 * include/bits/sequence_concepts.h: Removed.
1188 * include/bits/stl_iterator_base.h: Removed; split into...
1189 * include/bits/stl_iterator_base_funcs.h: ...this new file...
1190 * include/bits/stl_iterator_base_types.h: ...and this new file.
1192 * include/bits/sbuf_iter.h: Update to use new implementation.
1193 * include/bits/std_iterator.h: Likewise.
1194 * include/bits/std_memory.h: Likewise.
1195 * include/bits/stl_algo.h: Likewise.
1196 * include/bits/stl_algobase.h: Likewise.
1197 * include/bits/stl_construct.h: Likewise.
1198 * include/bits/stl_deque.h: Likewise.
1199 * include/bits/stl_heap.h: Likewise.
1200 * include/bits/stl_list.h: Likewise.
1201 * include/bits/stl_map.h: Likewise.
1202 * include/bits/stl_multimap.h: Likewise.
1203 * include/bits/stl_multiset.h: Likewise.
1204 * include/bits/stl_numeric.h: Likewise.
1205 * include/bits/stl_queue.h: Likewise.
1206 * include/bits/stl_set.h: Likewise.
1207 * include/bits/stl_stack.h: Likewise.
1208 * include/bits/stl_uninitialized.h: Likewise.
1209 * include/bits/stl_vector.h: Likewise.
1210 * include/ext/hash_map: Likewise.
1211 * include/ext/hash_set: Likewise.
1212 * include/ext/slist: Likewise.
1213 * include/ext/stl_hashtable.h: Likewise.
1215 * src/Makefile.am (base_headers): Update list of headers.
1216 * Makefile.in: Regenerated.
1217 * src/Makefile.in: Regenerated.
1218 * libio/Makefile.in: Regenerated.
1219 * libmath/Makefile.in: Regenerated.
1220 * libsupc++/Makefile.in: Regenerated.
1221 * testsuite/Makefile.in: Regenerated.
1223 * docs/html/install.html: Update contact information.
1224 * docs/html/17_intro/howto.html: Ditto.
1225 * docs/html/18_support/howto.html: Ditto.
1226 * docs/html/20_util/howto.html: Ditto.
1227 * docs/html/21_strings/howto.html: Ditto.
1228 * docs/html/22_locale/howto.html: Ditto.
1229 * docs/html/23_containers/howto.html: Ditto.
1230 * docs/html/24_iterators/howto.html: Ditto.
1231 * docs/html/25_algorithms/howto.html: Ditto.
1232 * docs/html/26_numerics/howto.html: Ditto.
1233 * docs/html/27_io/howto.html: Ditto.
1234 * docs/html/faq/index.html: Ditto, plus info on new checking code.
1235 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
1236 * docs/html/faq/index.txt: Regenerated.
1238 2001-04-02 Zack Weinberg <zackw@stanford.edu>
1240 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
1241 messages with $which_library as well as $tool_flags and
1242 ${dg-extra-tool-flags}. Factor out annotation text into
1245 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
1247 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
1248 * include/c_std/bits/std_cwchar.h: Same.
1249 * testsuite/21_strings/c_strings.cc: Add.
1251 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
1253 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
1255 2001-04-01 Zack Weinberg <zackw@stanford.edu>
1257 * tests_flags.in: Use test a = b, not test a == b which is not
1260 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
1262 * configure.target: Remove duplicate aix entry.
1264 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
1266 * include/ext/stl_bvector.h: Move to...
1267 * include/bits/stl_vector.h: ...here.
1268 * include/ext/bvector: Move to...
1269 * include/backward/bvector.h: ...here.
1270 * include/bits/std_vector.h: Change stl_bvector include.
1271 * include/bits/std_queue.h: Remove bvector include.
1272 * include/ext/tree: Insert using rb_tree, move to...
1273 * include/backward/tree.h: ...here.
1274 * include/backward/hash_map.h: Include ext/hash_map.
1275 * include/backward/hash_set.h: Include ext/hash_set.
1276 * include/backward/queue.h: New file.
1277 * include/backward/stack.h: Edit.
1278 * include/backward/algo.h: Same.
1279 * include/backward/algobase.h: Same.
1280 * include/backward/alloc.h: Same.
1281 * include/backward/function.h: Same.
1282 * include/backward/iomanip.h: Same.
1283 * include/backward/istream.h: Same.
1284 * include/backward/iterator.h: Same.
1285 * include/backward/list.h: Same.
1286 * include/backward/map.h: Same.
1287 * include/backward/multimap.h: Same.
1288 * include/backward/multiset.h: Same.
1289 * include/backward/ostream.h: Same.
1290 * include/backward/pair.h: Same
1291 * include/backward/rope.h: Same.
1292 * include/backward/set.h: Same.
1293 * include/backward/stream.h: Same.
1294 * include/backward/strstream.h: Same.
1295 * include/backward/tempbuf.h: Same.
1296 * src/Makefile.am (ext_headers): Edit.
1297 * src/Makefile.in: Regenerate.
1298 * testsuite/ext/headers.cc (main): Fix.
1301 2001-03-30 Phil Edwards <pme@sources.redhat.com>
1303 * tests_flags.in (LIBS): Pass correct path for installed testing.
1305 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
1307 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
1308 * tests_flags.in (CXX): Construct here.
1309 (static_fail): Don't remove compile.out. Format with spaces.
1310 (INCLUDES): Deal with xcompiling.
1311 * configure.in (xcompiling): Substitute.
1312 * testsuite/Makefile.am: Snake libjava configury.
1313 * testsuite/Makefile.in: Regenerate.
1314 * testsuite/23_containers/map_operators.cc: Tweaks.
1315 * testsuite/23_containers/set_operators.cc: Tweaks.
1317 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1319 Enable dejagnu testing framework.
1320 * configure.in: Generate testsuite/Makefile.
1321 * configure: Regenerate.
1322 * Makefile.am (check-install): Change rule from this...
1323 (check-script-install): ...to this.
1324 (check): Change rule from this...
1325 (check-script):...to this.
1326 * Makefile.in: Regenerate.
1328 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
1330 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
1332 (LIBTOOL): Let automake take care of its definition.
1333 * libsupc++/Makefile.in: Rebuilt.
1335 2001-03-28 Richard Henderson <rth@redhat.com>
1337 IA-64 ABI Exception Handling:
1338 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
1339 * configure.in: Use it.
1340 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
1341 * libsupc++/Makefile.am (sources): Update files list.
1342 * libsupc++/Makefile.in: Regenerate.
1343 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
1344 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
1345 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
1346 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
1347 * libsupc++/exception_support.cc: Remove.
1348 * libsupc++/exception_support.h: Remove.
1349 * libsupc++/pure.cc: Use std::terminate.
1350 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
1351 (__is_pointer): Remove.
1352 * libsupc++/unwind-cxx.h: New file.
1353 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
1355 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
1357 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
1359 * src/Makefile.am (CXXLINK): Likewise.
1360 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
1362 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
1364 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
1366 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1368 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
1371 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
1373 * include/bits/basic_file.h (get_fileno): Remove.
1374 (_M_fileno): Remove.
1375 (_M_cfile_created): Add.
1376 (basic_file::basic_file(__c_file_type*, openmode): Add.
1377 (basic_file::basic_file(int, const char*, openmode): Remove.
1378 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
1379 const char*, ios_base::openmode): Don't allocate
1380 internal buffers. Turn off internal buffers.
1381 (basic_filebuf::overflow): Remove test for null buffer.
1382 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
1383 * include/bits/streambuf.cc: Tweak.
1384 * include/bits/std_ostream.h: Tweak.
1385 * config/basic_file_libio.h: Same.
1386 * config/basic_file_stdio.h: Same.
1387 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
1388 * testsuite/27_io/filebuf_members.cc: Tweaks.
1389 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
1391 2001-03-24 Phil Edwards <pme@sources.redhat.com>
1393 * Makefile.am: New targets, doxygen and doxygen-maint.
1394 * Makefile.in: Regenerated.
1395 * docs/doxygen/run_doxygen: Finally implemented.
1396 * docs/doxygen/maint.cfg.in: New file.
1397 * docs/doxygen/user.cfg.in: New file.
1399 2001-03-24 Phil Edwards <pme@sources.redhat.com>
1401 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
1402 * src/Makefile.am: Replace leading spaces with tabs on continuation
1404 * aclocal.m4: Regenerated.
1406 * Makefile.in: Ditto.
1407 * src/Makefile.in: Ditto.
1408 * libio/Makefile.in: Ditto.
1409 * libmath/Makefile.in: Ditto.
1410 * libsupc++/Makefile.in: Ditto.
1412 2001-03-24 Phil Edwards <pme@sources.redhat.com>
1414 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
1415 concept-checking code and current status of same.
1416 * docs/html/ext/howto.html: Ditto.
1417 * docs/html/faq/index.html: Ditto.
1418 * docs/html/faq/index.txt: Regenerated.
1420 2001-03-24 Phil Edwards <pme@sources.redhat.com>
1422 * include/bits/std_bitset.h: Include ostream and istream headers
1423 instead of iostream.
1425 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
1427 * include/bits/ostream.tcc: Use __builtin_alloca.
1429 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
1431 * src/misc-inst.cc (__sink_unused_warning): Move to...
1432 * src/locale-inst.cc (__sink_unused_warning): Move to...
1433 * src/stl-inst.cc: Here.
1434 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
1437 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1439 * intclude/bits/basic_file.h: Fix typos in comments.
1441 2001-03-20 Richard Henderson <rth@redhat.com>
1443 * src/gen-num-limits.cc: Instantiate for wchar_t.
1444 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
1446 2001-03-20 Jason Merrill <jason@redhat.com>
1448 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
1449 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
1450 * libsupc++/cxxabi.h: Declare it.
1452 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
1454 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
1455 signal_func with an unspecified argument list.
1457 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
1459 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
1461 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1463 * include/bits/basic_string.tcc (operator+): Fix thinko.
1465 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
1468 * include/bits/std_streambuf.h: Remove cached locale facets.
1469 (basic_streambuf::_M_buf_fctype): Remove.
1470 (basic_streambuf::~basic_streambuf): Remove here.
1471 (basic_streambuf::basic_streambuf): Same.
1472 (basic_streambuf::imbue): Same.
1473 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
1474 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
1475 (basic_filebuf::~basic_filebuf()): Remove here.
1476 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
1477 (basic_filebuf::imbue): Same.
1478 * include/bits/localefwd.h (_Count_ones): Remove.
1479 (locale::_S_num_categories): Just use 6, since this doesn't
1480 actually change, ever.
1481 * include/bits/locale_facets.tcc (has_facet): Simplify.
1483 * testsuite/27_io/filebuf.cc (test06): Add tests.
1485 2001-03-13 Steve Ellcey <sje@cup.hp.com>
1487 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
1488 match HP-UX ctype.h header file.
1490 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
1492 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
1493 duplicate definitions of __dj_ctype_*
1495 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
1497 * libsupc++/new: Remove pragma interface.
1498 * libsupc++/typeinfo: Same.
1499 * libsupc++/exception: Same.
1500 * libsupc++/new_handler.cc: Remove pragma implementation.
1501 (bad_alloc::~bad_alloc()): Add.
1502 * libsupc++/exception_support.cc: Same.
1503 (exception::~exception): Add.
1504 (bad_exception::~bad_exception): Add.
1505 * libsupc++/tinfo.cc: Same.
1506 (bad_cast::~bad_cast): Add.
1507 (bad_typeid::~bad_typeid): Add.
1509 2001-03-13 Phil Edwards <pme@sources.redhat.com>
1511 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
1513 2001-03-12 Felix Lee <flee@redhat.com>
1515 * mkcheck.in: workaround for bash 2.01 IFS bug.
1517 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
1519 Fixups for -fno-for-scope
1520 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
1521 * src/valarray-inst.cc (__gslice_to_index): Same.
1523 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
1525 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
1526 prior to trapping signal (UnixWare 7 workaround).
1528 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
1530 * include/backward/hashtable.h: Same.
1531 * include/backward/rope.h: Fix include.
1533 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
1535 * include/backward/vector.h: Include std_vector.h.
1537 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
1538 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
1541 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1543 * include/ext/stl_hashtable.h: Change type of __n to size_t
1544 * include/backward/bvector.h: Include <ext/stl_bvector.h>
1546 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1548 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
1549 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
1550 Use streamsize, not int_type.
1552 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
1554 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
1557 2001-03-08 Andreas Schwab <schwab@suse.de>
1559 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
1561 * aclocal.m4, configure: Regenerated.
1563 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
1565 * include/bits/std_iosfwd.h: Remove string forward decls here.
1566 * include/bits/stringfwd.h: Add forward decls for char_traits
1568 * config/c_io_libio.h (wstreamoff): Delete.
1569 * config/c_io_stdio.h (wstreamoff): Same.
1570 * include/bits/char_traits.h: Use streamoff not wstreamoff for
1571 char_traits<wchar_t>::off_type.
1572 Remove duplicate typedefs.
1573 * include/bits/fpos.h: Define streampos/wstreampos here.
1574 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
1577 Changeup output files.
1578 * testsuite/27_io/istream_unformatted.cc: Change output files.
1579 * testsuite/27_io/istream_seeks-1.txt: Add.
1580 * testsuite/27_io/istream_seeks-2.tst: Add.
1581 * testsuite/27_io/istream_seeks-1.tst: Add.
1582 * testsuite/27_io/istream_unformatted-2.tst: Delete.
1583 * testsuite/27_io/istream_unformatted-3.tst: Delete.
1584 * testsuite/27_io/istream_unformatted-3.txt: Delete.
1586 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
1588 Add Irix 5.2, 6.3 support.
1589 * config/os/irix/bits: Renamed to...
1590 * config/os/irix/irix6.5/bits: this.
1591 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
1592 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
1593 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
1594 * config/os/irix/irix5.2/bits/ctype_noninline.h
1595 (ctype<char>::ctype): Initialize _M_table with __ctype.
1596 * configure.target: Adjust.
1598 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
1601 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
1602 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
1604 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
1605 (*__pf)(__ios_type&)): Same.
1606 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
1607 (*__pf)(ios_base&))): Same.
1608 * testsuite/27_io/istream_extractor_other.cc: Add tests.
1609 * testsuite/27_io/istream_manip.cc (test01): Fix.
1611 2001-03-06 Nathan Myers <ncm@cantrip.org>
1612 Benjamin Kosnik <bkoz@redhat.com>
1614 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
1615 * testsuite/17_intro/header_cerrno.cc (test01): New file.
1616 * testsuite/17_intro/header_cassert.cc (test01): New file.
1617 * testsuite/17_intro/header_cstddef.cc (test01): New file.
1618 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
1619 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
1621 2001-03-05 scott snyder <snyder@fnal.gov>
1624 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
1626 * include/c_std/bits/std_cstdlib.h: ... to here.
1627 * testsuite/17_intro/header_cstdlib.cc: Add test.
1629 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
1631 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
1633 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
1635 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
1636 definition. Replace enum with static const variables.
1638 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
1639 throw specification, fix typos, use <static_cast>.
1640 (ctype<char>::scan_is): remove throw specification.
1641 (ctype<char>::scan_not): likewise.
1643 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
1644 (ctype<char>::do_toupper(char)): use <static_cast>.
1645 (ctype<char>::do_toupper(char *, const char *)): likewise.
1646 (ctype<char>::do_tolower(char)): likewise.
1647 (ctype<char>::do_tolower(char *, const char *)): likewise.
1649 2001-03-04 Phil Edwards <pme@sources.redhat.com>
1651 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
1652 * include/backward/algo.h: Use std not __STD. Remove unneeded
1653 macros and "never happens" code. Adjust to C++STYLE guidelines.
1654 * include/backward/algobase.h: Likewise.
1655 * include/backward/alloc.h: Likewise.
1656 * include/backward/bvector.h: Likewise.
1657 * include/backward/deque.h: Likewise.
1658 * include/backward/function.h: Likewise.
1659 * include/backward/hash_map.h: Likewise.
1660 * include/backward/hash_set.h: Likewise.
1661 * include/backward/hashtable.h: Likewise.
1662 * include/backward/heap.h: Likewise.
1663 * include/backward/iterator.h: Likewise.
1664 * include/backward/list.h: Likewise.
1665 * include/backward/map.h: Likewise.
1666 * include/backward/multimap.h: Likewise.
1667 * include/backward/multiset.h: Likewise.
1668 * include/backward/pair.h: Likewise.
1669 * include/backward/rope.h: Likewise.
1670 * include/backward/set.h: Likewise.
1671 * include/backward/slist.h: Likewise.
1672 * include/backward/stack.h: Likewise.
1673 * include/backward/strstream: Likewise.
1674 * include/backward/tempbuf.h: Likewise.
1675 * include/backward/tree.h: Likewise.
1676 * include/backward/vector.h: Likewise.
1677 * include/bits/basic_ios.h: Likewise.
1678 * include/bits/basic_ios.tcc: Likewise.
1679 * include/bits/basic_string.h: Likewise.
1680 * include/bits/c++config: Likewise.
1681 * include/bits/concept_checks.h: Likewise.
1682 * include/bits/fpos.h: Likewise.
1683 * include/bits/fstream.tcc: Likewise.
1684 * include/bits/functexcept.h: Likewise.
1685 * include/bits/ios_base.h: Likewise.
1686 * include/bits/istream.tcc: Likewise.
1687 * include/bits/mask_array.h: Likewise.
1688 * include/bits/ostream.tcc: Likewise.
1689 * include/bits/pthread_allocimpl.h: Likewise.
1690 * include/bits/sbuf_iter.h: Likewise.
1691 * include/bits/slice.h: Likewise.
1692 * include/bits/slice_array.h: Likewise.
1693 * include/bits/sstream.tcc: Likewise.
1694 * include/bits/std_bitset.h: Likewise.
1695 * include/bits/std_fstream.h: Likewise.
1696 * include/bits/std_iomanip.h: Likewise.
1697 * include/bits/std_ios.h: Likewise.
1698 * include/bits/std_istream.h: Likewise.
1699 * include/bits/std_iterator.h: Likewise.
1700 * include/bits/std_memory.h: Likewise.
1701 * include/bits/std_ostream.h: Likewise.
1702 * include/bits/std_sstream.h: Likewise.
1703 * include/bits/std_streambuf.h: Likewise.
1704 * include/bits/std_string.h: Likewise.
1705 * include/bits/std_valarray.h: Likewise.
1706 * include/bits/stl_algo.h: Likewise.
1707 * include/bits/stl_algobase.h: Likewise.
1708 * include/bits/stl_alloc.h: Likewise.
1709 * include/bits/stl_construct.h: Likewise.
1710 * include/bits/stl_deque.h: Likewise.
1711 * include/bits/stl_function.h: Likewise.
1712 * include/bits/stl_heap.h: Likewise.
1713 * include/bits/stl_iterator.h: Likewise.
1714 * include/bits/stl_iterator_base.h: Likewise.
1715 * include/bits/stl_list.h: Likewise.
1716 * include/bits/stl_map.h: Likewise.
1717 * include/bits/stl_multimap.h: Likewise.
1718 * include/bits/stl_multiset.h: Likewise.
1719 * include/bits/stl_numeric.h: Likewise.
1720 * include/bits/stl_pair.h: Likewise.
1721 * include/bits/stl_pthread_alloc.h: Likewise.
1722 * include/bits/stl_queue.h: Likewise.
1723 * include/bits/stl_raw_storage_iter.h: Likewise.
1724 * include/bits/stl_relops.h: Likewise.
1725 * include/bits/stl_set.h: Likewise.
1726 * include/bits/stl_stack.h: Likewise.
1727 * include/bits/stl_tempbuf.h: Likewise.
1728 * include/bits/stl_threads.h: Likewise.
1729 * include/bits/stl_tree.h: Likewise.
1730 * include/bits/stl_uninitialized.h: Likewise.
1731 * include/bits/stl_vector.h: Likewise.
1732 * include/bits/streambuf.tcc: Likewise.
1733 * include/bits/type_traits.h: Likewise.
1734 * include/bits/valarray_meta.h: Likewise.
1735 * include/ext/bvector: Likewise.
1736 * include/ext/hash_map: Likewise.
1737 * include/ext/hash_set: Likewise.
1738 * include/ext/ropeimpl.h: Likewise.
1739 * include/ext/slist: Likewise.
1740 * include/ext/stl_bvector.h: Likewise.
1741 * include/ext/stl_hash_fun.h: Likewise.
1742 * include/ext/stl_hashtable.h: Likewise.
1743 * include/ext/stl_rope.h: Likewise.
1744 * src/complex_io.cc: Likewise.
1745 * src/ios.cc: Likewise.
1746 * src/locale-inst.cc: Likewise.
1747 * src/locale.cc: Likewise.
1748 * src/localename.cc: Likewise.
1749 * src/misc-inst.cc: Likewise.
1750 * src/stdexcept.cc: Likewise.
1751 * src/stl-inst.cc: Likewise.
1752 * src/strstream.cc: Likewise.
1753 * src/valarray-inst.cc: Likewise.
1755 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
1757 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
1759 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1761 * include/bits/istream.tcc: change type of __extracted to __size_type
1763 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
1765 * src/wstring-inst.cc: New file.
1766 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
1767 (libinst_wstring_la_SOURCES): Remove.
1768 (libstdc___la_LIBADD): Remove libinst_wstring_la.
1769 (sources): Add wstring-inst.cc
1770 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
1773 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1775 * src/locale.cc: initialise __ret with zero
1776 * src/strstream.cc:cast gptr to int_type
1778 2001-03-01 Phil Edwards <pme@sources.redhat.com>
1780 * docs/html/faq/index.html: Update broken links.
1781 * docs/html/faq/index.txt: Regenerated.
1783 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
1786 * configure.target: Change irix* to irix6.5* in target_os table.
1788 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
1791 * include/bits/c++config (__GLIBCPP__): Bump number in
1792 anticipation of 2.92.
1794 * include/bits/codecvt.h: Fix typo.
1795 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
1797 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
1798 instantiations for stdio model.
1800 2001-02-28 Phil Edwards <pme@sources.redhat.com>
1802 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
1803 and GLIBCPP_CXXFLAGS as unused variables.
1804 * configure.host: Likewise.
1805 * configure.target: Likewise.
1806 * aclocal.m4: Regenerated.
1807 * configure: Regenerated.
1808 * Makefile.in: Regenerated.
1809 * libio/Makefile.in: Regenerated.
1810 * libmath/Makefile.in: Regenerated.
1811 * libsupc++/Makefile.in: Regenerated.
1812 * src/Makefile.in: Regenerated.
1814 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
1817 * include/bits/basic_file.h: Include basic_file_model.h.
1818 * config/c_io_libio.cc: Move to...
1819 * config/basic_file_libio.cc: Here.
1820 * config/basic_file_libio.h: New file.
1821 * config/c_io_stdio.cc: Move to...
1822 * config/basic_file_stdio.cc: Here.
1823 * config/basic_file_stdio.h: New file.
1824 * config/c_io_libio.h: Tweak.
1825 * config/c_io_stdio.h: Tweak.
1826 * src/Makefile.am (build_headers): Add basic_file_model.h.
1827 (sources): Add basic_file.cc, remove c++io.cc.
1828 * src/Makefile.in: Regenerate.
1829 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
1830 basic_file_model.h and basic_file.cc.
1831 * aclocal.m4: Regenerate.
1832 * configure: Regenerate.
1833 * testsuite/27_io/filebuf.cc (test05): Add regression.
1835 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
1838 * config/cpu/alpha/bits/atomicity.h: Change.
1839 * config/cpu/arm/bits/atomicit3y.h
1840 * config/cpu/generic/bits/atomicity.h
1841 * config/cpu/i386/bits/atomicity.h
1842 * config/cpu/i486/bits/atomicity.h
1843 * config/cpu/ia64/bits/atomicity.h
1844 * config/cpu/powerpc/bits/atomicity.h
1845 * config/cpu/sparc/sparc32/bits/atomicity.h
1846 * config/cpu/sparc/sparc64/bits/atomicity.h
1847 * config/os/aix/bits/atomicity.h
1848 * config/os/irix/bits/atomicity.h
1850 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
1852 * include/bits/std_stdexcept.h (runtime_error): Make string
1854 (logic_error): Same.
1855 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
1858 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
1862 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
1863 string object, not reference.
1864 (runtime_error::runtime_error): Same.
1865 * testsuite/19_diagnostics/stdexceptions.cc: New file.
1867 2001-02-26 Phil Edwards <pme@sources.redhat.com>
1869 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
1870 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
1871 diagnostics. Remove WFMT_FLAGS.
1872 * configure.in: Replace WFMT_FLAGS with diagnostics options.
1873 * libsupc++/Makefile.am: Likewise.
1874 * src/Makefile.am: Likewise.
1875 * aclocal.m4: Regenerated.
1876 * configure: Regenerated.
1877 * Makefile.in: Regenerated.
1878 * libio/Makefile.in: Regenerated.
1879 * libmath/Makefile.in: Regenerated.
1880 * libsupc++/Makefile.in: Regenerated.
1881 * src/Makefile.in: Regenerated.
1883 2001-02-26 Phil Edwards <pme@sources.redhat.com>
1885 Fixes libstdc++/2079
1886 * include/backward/iomanip.h: Expose <ios> manipulators to global
1888 * include/backward/iostream.h: Also expose std::ws.
1890 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
1892 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
1894 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
1896 * include/bits/codecvt.h: Use __builtin_alloca.
1897 * include/bits/ostream.tcc: Same.
1898 * include/bits/fstream.tcc: Same.
1900 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
1902 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
1904 2001-02-23 David Edelsohn <dje@watson.ibm.com>
1906 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
1908 2001-02-23 Phil Edwards <pme@sources.redhat.com>
1911 * include/backward/iostream.h: Expose std::flush in old headers.
1913 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1915 * mknumeric_limits: Remove special-casing on target. Use gcc
1916 instead of g++ to build gen-num-limits.cc
1918 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
1920 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
1922 * include/bits/codecvt.h: Use alloca instead of __extension__ for
1924 * include/bits/ostream.tcc: Same.
1925 * include/bits/std_ostream.h: Same.
1926 * include/bits/fstream.tcc: Same.
1927 * include/bits/locale_facets.tcc: Add typename.
1928 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
1930 2001-02-21 Phil Edwards <pme@sources.redhat.com>
1932 * tests_flags.in: Remove -n flag from call to echo.
1934 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
1936 * config/c_locale_gnu.h: Add clocale include.
1938 2001-02-20 Phil Edwards <pme@sources.redhat.com>
1940 * include/bits/stl_config.h: Remove file.
1941 * src/Makefile.am (base_headers): Remove from list.
1942 * configure: Regenerate.
1943 * Makefile.in: Ditto.
1944 * libio/Makefile.in: Ditto.
1945 * libmath/Makefile.in: Ditto.
1946 * libsupc++/Makefile.in: Ditto.
1947 * src/Makefile.in: Ditto.
1949 * include/bits/c++config: Move relevant macros to here.
1950 * include/backward/alloc.h: Include c++config.h instead.
1951 * include/backward/function.h: Ditto.
1952 * include/backward/heap.h: Ditto.
1953 * include/backward/pair.h: Ditto.
1954 * include/bits/pthread_allocimpl.h: Ditto.
1955 * include/bits/std_functional.h: Ditto.
1956 * include/bits/std_iterator.h: Ditto.
1957 * include/bits/std_numeric.h: Ditto.
1958 * include/bits/std_utility.h: Ditto.
1959 * include/bits/stl_algobase.h: Ditto.
1960 * include/bits/type_traits.h: Ditto.
1961 * src/stl-inst.cc: Ditto.
1963 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1965 * include/bits/basic_file.h: Add #pragma system_header
1966 * include/bits/basic_ios.h: Ditto.
1967 * include/bits/basic_string.h: Ditto.
1968 * include/bits/char_traits.h: Ditto.
1969 * include/bits/codecvt.h: Ditto.
1970 * include/bits/cpp_type_traits.h: Ditto.
1971 * include/bits/fpos.h: Ditto.
1972 * include/bits/gslice.h: Ditto.
1973 * include/bits/gslice_array.h: Ditto.
1974 * include/bits/indirect_array.h: Ditto.
1975 * include/bits/ios_base.h: Ditto.
1976 * include/bits/limits_generic.h: Ditto.
1977 * include/bits/locale_facets.h: Ditto.
1978 * include/bits/localefwd.h: Ditto.
1979 * include/bits/mask_array.h: Ditto.
1980 * include/bits/sbuf_iter.h: Ditto.
1981 * include/bits/sequence_concepts.h: Ditto.
1982 * include/bits/slice.h: Ditto.
1983 * include/bits/slice_array.h: Ditto.
1984 * include/bits/std_algorithm.h: Likewise.
1985 * include/bits/std_bitset.h: Likewise.
1986 * include/bits/std_complex.h: Likewise.
1987 * include/bits/std_deque.h: Likewise.
1988 * include/bits/std_fstream.h: Likewise.
1989 * include/bits/std_functional.h: Likewise.
1990 * include/bits/std_iomanip.h: Likewise.
1991 * include/bits/std_ios.h: Likewise.
1992 * include/bits/std_iosfwd.h: Likewise.
1993 * include/bits/std_iostream.h: Likewise.
1994 * include/bits/std_istream.h: Likewise.
1995 * include/bits/std_iterator.h: Likewise.
1996 * include/bits/std_list.h: Likewise.
1997 * include/bits/std_locale.h: Likewise.
1998 * include/bits/std_map.h: Likewise.
1999 * include/bits/std_memory.h: Likewise.
2000 * include/bits/std_numeric.h: Likewise.
2001 * include/bits/std_ostream.h: Likewise.
2002 * include/bits/std_queue.h: Likewise.
2003 * include/bits/std_set.h: Likewise.
2004 * include/bits/std_sstream.h: Likewise.
2005 * include/bits/std_stack.h: Likewise.
2006 * include/bits/std_stdexcept.h: Likewise.
2007 * include/bits/std_streambuf.h: Likewise.
2008 * include/bits/std_string.h: Likewise.
2009 * include/bits/std_utility.h: Likewise.
2010 * include/bits/std_valarray.h: Likewise.
2011 * include/bits/std_vector.h: Likewise.
2012 * include/bits/stringfwd.h: Likewise.
2013 * include/bits/type_traits.h: Likewise.
2014 * include/bits/valarray_array.h: Likewise.
2015 * include/bits/valarray_meta.h: Likewise.
2017 2001-02-19 Andreas Jaeger <aj@suse.de>
2019 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
2022 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
2025 * include/bits/std_ostream.h: Replaced usage of
2026 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
2027 * include/bits/char_traits.h: Removed non-standard
2028 methods that cannot be used elsewhere.
2031 * include/bits/basic_ios.h: Uncommented #include of
2035 * include/bits/codecvt.h: See next...
2036 * include/bits/fstream.tcc: See next...
2037 * include/bits/ostream.tcc: Add __extension__
2038 to variable-length arrays.
2041 * include/bits/localefwd.h: Changed int counter type to size_t.
2044 * include/bits/std_fstream.h: Added typedef for __ctype_type.
2046 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
2048 * testsuite/21_strings/char_traits.cc: Move to ...
2049 * testsuite/21_strings/char_traits_requirements.cc: ..here.
2050 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
2051 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
2053 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
2055 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
2058 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
2060 * include/bits/c++config: Revert.
2062 2001-02-15 Mark Mitchell <mark@codesourcery.com>
2064 * include/bits/istream.tcc: Use ios_base::iostate in place of
2065 iostate throughout. Insert `typename' keyword where necessary.
2066 * include/bits/ostream.tcc: Insert `typename' keyword where
2069 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
2071 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
2072 Define so library is compliant.
2074 2001-02-15 Anthony Green <green@redhat.com>
2076 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
2078 * aclocal.m4: Regenerate.
2079 * configure: Regenerate.
2081 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
2083 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
2084 Include ieeefp.h for fpclass on UnixWare{2,7}.
2085 * aclocal.m4: Regenerate.
2086 * configure: Regenerate.
2087 * mkcheck.in (size_command): Do without GNU-grep when using
2090 2001-02-15 Mark Mitchell <mark@codesourcery.com>
2092 Remove old ABI support from libsupc++.
2093 * libsupc++/cxxabi.h: Remove conditionally compiled code.
2094 * libsupc++/exception_support.cc: Likewise.
2095 * libsupc++/pure.cc: Likewise.
2096 * libsupc++/tinfo.cc: Likewise.
2097 * libsupc++/tinfo.h: Likewise.
2098 * libsupc++/tinfo2.cc: Likewise.
2099 * libsupc++/typeinfo: Likewise.
2100 * libsupc++/vec.cc: Likewise.
2102 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
2104 Add support for -fno-exceptions.
2105 * include/bits/exception_support.h: Remove.
2106 * include/bits/basic_string.h: Remove exception_support.
2107 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
2109 (string::substr): Same.
2110 * include/bits/basic_string.tcc (string::reserve): Replace
2111 __LENGTHERROR with __throw_length_error.
2112 (string::_S_create): Same.
2113 (string::resize): Same.
2114 (string::_M_replace): Same.
2115 (string::replace): Same.
2116 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
2117 (string::compare): Same.
2118 * include/bits/stl_vector.h: Remove exception_support.
2119 * src/Makefile.am (base_headers): Remove here.
2120 * src/Makefile.in: Regenerate.
2122 * include/bits/stl_range_errors.h: Remove.
2123 * include/bits/stl_deque.h: Use __throw_range_error.
2124 * include/bits/std_deque.h: Include functexcept.h.
2125 * include/bits/std_vector.h: Same.
2126 * src/Makefile.am (base_headers): Remove here.
2127 * src/Makefile.in: Regenerate.
2128 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
2129 * include/ext/bvector: Remove stl_range_errors.h
2131 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
2133 * include/bits/functexcept.h: New file.
2134 * src/functexcept.cc: New file. Definitions for function-based
2136 * src/Makefile.am (sources): Add functexcept.cc.
2137 * src/Makefile.in: Regenerate.
2139 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
2142 * include/bits/localefwd.h: Include functexcept.h.
2143 * include/bits/std_iosfwd.h: Same.
2145 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
2146 throw basic_ios::failure.
2147 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
2148 Use __throw_exception_again.
2149 (filebuf::_M_filebuf_init): Same.
2150 * include/bits/streambuf.tcc (__copy_streambufs): Same.
2151 * include/bits/ostream.tcc (ostream::operator<<): Same.
2152 * include/bits/istream.tcc (istream::operator>>): Same.
2153 * include/bits/basic_string.tcc (string::_M_mutate): Same.
2154 (string::_S_construct): Same.
2155 (string::_M_clone): Same.
2156 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
2158 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
2159 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
2160 __throw_exception_again.
2161 (locale::_Imp::_Imp(string, size_t): Same.
2162 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
2163 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
2164 (locale::locale(const char*)): Use __throw_runtime_error.
2165 (locale::classic): Use __throw_exception_again.
2166 (locale::_S_normalize_category): Use __throw_runtime_error.
2168 * src/stdexcept.cc: Remove cruft.
2170 * libsupc++/exception_defines.h: New file.
2171 * libsupc++/new_opnt.cc: Include exception_defines.h.
2172 * libsupc++/vec.cc: Same.
2173 (__cxa_vec_new2): Use __throw_exception_again.
2174 (__cxa_vec_new3): Same.
2175 (__cxa_vec_ctor): Same.
2176 (__cxa_vec_delete3): Same.
2177 (__cxa_vec_cctor): Same.
2178 (__cxa_vec_delete2): Same.
2179 (__cxa_vec_dtor): Same.
2180 * libsupc++/exception_support.cc: Include exception_defines.h. Only
2181 compile exception-handling bits if __EXCEPTIONS is defined.
2182 Remove old ABI support.
2183 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
2184 std::__throw_bad_alloc() instead of throw bad_alloc.
2185 * libsupc++/Makefile.am: Add exception_defines.h.
2186 * libsupc++/Makefile.in: Reformat.
2187 * libsupc++/*: Format.
2189 2001-02-15 Phil Edwards <pme@sources.redhat.com>
2191 * docs/html/configopts.html: Minor updates and typo fixes.
2192 * docs/html/faq/index.html: Updates of the "not really bugs" list.
2193 * docs/html/faq/index.txt: Regenerated.
2195 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
2197 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
2198 dejagnu/dg.exp. Adapt to log options used to run testcases.
2200 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2202 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
2205 2001-02-13 Dirk Mueller <dmuell@gmx.net>
2206 Phil Edwards <pme@sources.redhat.com>
2208 * include/backward/function.h: Do not use rel_ops for older
2210 * include/backward/pair.h: Likewise.
2212 2001-02-12 Mark Mitchell <mark@codesourcery.com>
2214 * src/locale.cc: Remove bogus locale::id definitions.
2216 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2218 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
2219 not _DEFINE_VALARRAY_OPERATOR which is not existent.
2221 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
2222 thinko in member initialisation.
2224 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
2226 * include/bits/std_valarray.h(valarray<>::shift): Avoid
2227 comparaison between signed and unsigned integer types.
2228 (valarray<>::cshift): Reformat.
2230 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
2232 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
2233 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
2234 * configure.in: Test for sigsetjmp.
2235 * configure, config.h.in: Rebuilt.
2237 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
2239 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
2240 lengths and strides.
2241 (__gslice_to_index): Document.
2243 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
2245 * include/bits/char_traits.h char_traits<char>::int_type: Change
2246 to `int' to match 21.1.3.1/2.
2248 * testsuite/21_strings/char_traits-int_type.C: New test.
2250 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
2252 * testsuite/Makefile.am: New file.
2254 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
2256 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
2258 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
2260 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
2262 2001-02-08 David Edelsohn <edelsohn@gnu.org>
2264 * configure.target (aix4*): Remove extra set of brackets.
2266 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
2269 * include/bits/stringfwd.h: New file.
2270 * include/bits/stl_string_fwd.h: Remove.
2271 * include/bits/localefwd.h: Remove declaration for allocator.
2272 * include/bits/std_iosfwd: Same.
2273 * include/bits/std_string.h: Include it.
2274 * include/bits/std_ios.h: Remove include.
2275 * include/bits/basic_string.h: Tweak.
2276 * libsupc++/new: Format.
2277 * src/Makefile.am (base_headers): Add stringfwd.h, remove
2279 * src/Makefile.in: Regenerate.
2280 * include/bits/std_stdexcept.h: Rewrite.
2281 * src/stdexcept.cc: Same.
2283 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
2285 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
2286 install locations too.
2287 * aclocal.m4: Regenerate.
2288 * configure.in: Remove USE_LIBDIR.
2289 * configure: Regenerate.
2290 * src/Makefile.am (toolexecdir): Simplify, use
2291 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
2292 * src/Makefile.in: Regenerate.
2293 * libsupc++/Makefile.am: Same.
2294 * libsupc++/Makefile.in: Regenerate.
2296 * src/Makefile.am: Just remove special rules for locale-inst.cc and
2297 misc-inst.cc as no longer necessary.
2299 Follow C++STYLE for naming non-static functions.
2300 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
2302 * include/bits/streambuf.tcc: Same.
2303 * include/bits/ostream.tcc: Same.
2304 * include/bits/istream.tcc: Same.
2305 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
2306 (_S_output_float): To __output_float.
2307 * include/bits/std_streambuf.h (_S_copy_streambufs): To
2309 * include/bits/locale_facets.tcc (_S_build_float_format): To
2310 __build_float_format.
2311 (_S_format): To __output_integer.
2312 (_S_fill): To __pad.
2313 * src/locale.cc: Same.
2314 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
2316 * include/bits/locale_facets.tcc (_S_group_digits): To
2318 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
2319 for collate, numpunct.
2321 2001-02-06 Phil Edwards <pme@sources.redhat.com>
2323 * docs/html/configopts.html: Fix HTML markup.
2324 * docs/html/install.html: Bring up to date.
2325 * docs/html/17_intro/C++STYLE: Add global variable conventions.
2326 * docs/html/21_strings/howto.html: More notes.
2327 * docs/html/22_locale/howto.html: Fix HTML markup.
2328 * docs/html/27_io/howto.html: More notes.
2329 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
2330 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
2332 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
2334 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
2335 to match header files.
2336 (_S_output_float): Likewise.
2337 (_S_copy_streambufs): Likewise.
2339 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
2340 Phil Edwards <pme@sources.redhat.com>
2342 * include/bits/std_istream.h (op>> signed,unsigned char): Must
2343 use reinterpret_cast, not static_cast.
2345 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
2347 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
2348 * aclocal.m4: Regenerate.
2349 * configure: Regenerate.
2351 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2353 * include/bits/locale_facets.h (class moneypunct): Fix typos.
2354 * libsupc++/pure.cc: Revert.
2356 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2358 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
2359 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
2360 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
2361 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
2362 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
2363 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
2364 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
2365 * aclocal.m4: Regenerate.
2366 * configure: Regenerate.
2368 2001-02-05 Mark Mitchell <mark@codesourcery.com>
2370 * include/bits/locale_facets.tcc: Remove `static' keyword on
2371 function definitions.
2372 * include/bits/std_streambuf.h: Likewise.
2373 * src/Makefile.am: Remove use of -fimplicit-templates.
2374 * src/Makefile.in: Regenerated.
2375 * src/locale-inst.cc: Explicitly instantiate more functions.
2376 * src/misc-inst.cc: Likewise.
2377 * src/string-inst.cc: Likewise.
2379 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2381 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
2382 macro. Consolidate all the bits to do with where includes might be
2384 * aclocal.m4: Regenerate.
2385 * configure.in: Use it.
2386 * configure: Regenerate.
2387 * src/Makefile.am (targetincludep): Use simplified rules.
2388 (targetincludep): Rename gxx_target_include_dir.
2389 (myincludep): Rename gxx_include_dir.
2390 * src/Makefile.in: Regenerate.
2391 * libsupc++/Makefile.am: Use simplified rules.
2392 * libsupc++/Makefile.in: Regenerate.
2394 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2396 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
2397 * include/c_std/bits/std_cctype.h: Same.
2398 * include/c_std/bits/std_cassert.h: Same.
2399 * include/c_std/bits/std_cstdarg.h: Same.
2400 * include/c_std/bits/std_cstddef.h: Same.
2402 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
2404 * include/c_std/bits/std_ctime.h: Same.
2405 * include/c_std/bits/std_clocale.h: Same.
2406 * include/c_std/bits/std_cmath.h: Same.
2407 * include/c_std/bits/std_csetjmp.h: Same.
2408 * include/c_std/bits/std_csignal.h: Same.
2409 * include/c_std/bits/std_cstring.h: Same.
2410 * include/c_std/bits/std_cstdlib.h: Same.
2411 * include/c_std/bits/std_cwchar.h: Same.
2413 2001-02-05 Phil Edwards <pme@sources.redhat.com>
2415 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
2417 2001-02-05 Mark Mitchell <mark@codesourcery.com>
2419 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
2420 (string::_S_construct): Likewise.
2422 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
2424 * testsuite/config/default.exp: New file.
2425 * testsuite/config: New directory.
2427 2001-02-04 Mark Mitchell <mark@codesourcery.com>
2429 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
2430 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
2431 whenever !__GXX_MERGED_TYPEINFO_NAMES.
2432 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
2434 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
2435 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2437 * Makefile.am (mkinstalldirs): Set.
2438 * src/Makefile.am (mkinstalldirs): Set.
2439 * libmath/Makefile.am (mkinstalldirs): Set.
2440 * libsup++/Makefile.am (mkinstalldirs): Set.
2441 * libio/Makefile.am (mkinstalldirs): Set.
2442 * */Makefile.in: Regenerate.
2444 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
2446 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
2447 * include/bits/localefwd.h: More initialization cleanups.
2449 2001-02-03 Jeffrey A Law <law@cygnus.com>
2451 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
2452 correctly targets with 16bit ints.
2453 (_S_ios_openmode_end): Similarly.
2454 (_S_ios_iostate_end): Similarly.
2455 (_S_ios_Seekdir_end): Similarly.
2457 2001-02-02 Phil Edwards <pme@sources.redhat.com>
2459 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
2461 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
2463 * configure.in (toplevel_srcdir, auxdir): Set.
2464 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
2465 * aclocal.m4, configure, Makefile.in: Rebuilt.
2466 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
2467 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
2468 * libsupc++-v3/Makefile.in: Rebuilt.
2469 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
2470 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
2472 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
2474 * config/c_locale_generic.cc: Remove langinfo include.
2476 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
2478 Preliminary named locales.
2479 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
2480 * aclocal.m4: Regenerate.
2481 * configure.in: Use it.
2482 * configure: Regerate.
2483 * src/Makefile.am (sources): Add c++locale.cc.
2484 (build_headers): Add c++locale.h.
2485 * src/Makefile.in: Regenerate.
2486 * config/c_locale_gnu.h: New file.
2487 * config/c_locale_gnu.cc: New file. Non-inline member functions
2488 for named locales, gnu-specific.
2489 * config/c_locale_generic.h: New file.
2490 * config/c_locale_generic.cc: New file. Non-inline member
2491 functions for named locales, generic version.
2492 * docs/html/configopts.html: Add documentation on new options.
2494 * include/bits/locale_facets.h (class _Messages): Remove.
2495 (class _Moneypunct): Remove.
2496 * src/locale-inst.cc: Remove.
2498 * include/bits/locale_facets.h (class _Collate): Remove.
2499 * src/locale-inst.cc (std): Remove.
2500 * src/locale.cc: And here.
2502 * include/bits/localefwd.h (locale::_M_coalesce): New
2503 function. Correctly put together multi-name locales.
2504 (_Impl(const _Impl&, category, size_t)): Remove.
2506 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
2508 (_M_normalize_category_names): Remove.
2509 (_M_replace_categories): Fix.
2511 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
2512 (locale::_Impl::_M_construct_ctype): Remove.
2513 (locale::_Impl::_M_construct_monetary): Remove.
2514 (locale::_Impl::_M_construct_numeric): Remove.
2515 (locale::_Impl::_M_construct_time): Remove.
2516 (locale::_Impl::_M_construct_messages): Remove.
2518 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
2519 (_Use_facet_failure_handle): Remove.
2520 * src/locale.cc: Remove definitions.
2521 * src/locale-inst.cc: And here.
2523 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
2525 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
2526 create and error-check underlying locale object.
2527 (locale::facet::_S_destroy_c_locale): Add, take care of properly
2528 tearing down underlying locale object.
2529 * include/bits/localefwd.h (locale::facet): Declare.
2530 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
2531 correctness, as glibc apparently has incorrect info in it. Test
2532 with it when it works again.....
2534 * include/bits/localefwd.h (locale::_Impl::__vec_string):
2535 Remove. Number of categories is fixed at six, so just simplify and
2536 make this an array of strings.
2537 (locale::_Impl::_M_has_name): Remove.
2538 (locale::_Impl::_M_name): Remove.
2539 (locale::_Impl::_M_category_names): Turns into...
2540 (locale::_Impl::_M_names): ...this.
2541 (locale::_Impl::_M_has_same_name()): New function.
2542 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
2543 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
2545 * src/locale.cc (locale::name()): Construct mangled name
2546 accurately reflecting combined locale categories.
2548 * src/locale.cc (locale::classic()): Don't initialize here.
2549 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
2550 __refs, bool __has_name, string __str): Do it here.
2552 * include/bits/localefwd.h: _S_categories_num to
2553 _S_num_categories. _S_facets_num to _S_num_facets.
2554 (locale::id::id()): Explicitly set _M_index to zero.
2555 * src/locale.cc: Same.
2557 * src/locale.cc: (locale::locale(const char*)): Construct named
2560 * src/locale.cc: Remove numpunct_byname ctors.
2561 * testsuite/22_locale/numpunct_byname.cc: New file.
2562 * testsuite/22_locale/numpunct.cc: New file.
2564 * include/bits/localefwd.h (class locale): Change data members to
2565 protected, from private.
2566 (_Impl::_M_get_c_locale): Add member function.
2567 (locale::facet::_M_get_global_impl()): Add member function.
2568 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
2569 a __c_locale pointer.
2570 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
2572 * testsuite/22_locale/members.cc: New file, test name and combine.
2574 * include/bits/locale_facets.h (class numpunct): Remove class
2575 _Punct and _Numpunct. Rewrite class numpunct to be correct for
2577 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
2578 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
2579 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
2580 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
2581 * testsuite/22_locale/numpunct_char_members.cc: New file.
2583 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
2585 * testsuite/README: Add more comment.
2586 * testsuite/lib/libstdc++.exp: Tweak comment.
2588 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
2590 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
2592 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
2594 * testsuite/21_strings/inserters_extractors.cc: Remove
2595 explicit reference to 'testsuite/'.
2597 2001-01-25 Richard Henderson <rth@redhat.com>
2599 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
2600 bits. Fixes Tru64 build issues.
2602 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2604 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
2605 (use ${MAKE-make}, not ${MAKE:-make}).
2606 * aclocal.m4, configure: Regenerate.
2608 2001-01-25 Mark Mitchell <mark@codesourcery.com>
2610 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
2613 * src/Makefile.am (sources): Add globals.cc.
2614 * src/Makefile.in: Regenerated.
2615 * src/globals.cc: New file.
2616 * src/ios.cc (cin): Don't define here, just declare extern.
2625 2001-01-25 Phil Edwards <pme@sources.redhat.com>
2627 * include/bits/std_iterator.h: Do not include stl_relops.h.
2628 * include/bits/std_numeric.h: Ditto.
2629 * include/bits/stl_algobase.h: Ditto.
2630 * include/bits/stl_relops.h: Add comment warning about problems.
2632 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
2634 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
2635 in testcases. Prepare for the DejaGnu based framework.
2636 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
2637 directory -- it is now mkcheck working directory.
2638 * tests_flags.in: Remove reference to $(top_srcdir). Use
2640 * Makefile.am (check, check-install): Change mkcheck invocation
2642 * Makefile.in: Regenerate.
2644 2001-01-24 Mark Mitchell <mark@codesourcery.com>
2646 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
2647 (__always_swap): Likewise.
2649 2001-01-23 Chris Demetriou <cgd@broadcom.com>
2651 * libsupc++/exception_support.cc (__terminate_func): Remove
2653 (__terminate_func_ptr): New typedef.
2654 (__terminate, __terminate_set_func): New extern function
2656 (std::terminate): Use __terminate function.
2657 (std::set_terminate): Use __terminate_set_func function.
2659 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
2661 * configure.target: Just use os_include_dir always.
2662 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
2663 Link atomicity files and ctype files here.
2664 * configure: Regenerate.
2665 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
2666 (GLIBCPP_ENABLE_ATOMICITY): Remove.
2667 * aclocal.m4: Regenerate.
2669 2001-01-23 Chris Demetriou <cgd@broadcom.com>
2671 * configure.in: Place definition of MULTISUBDIR in
2672 libsupc++/Makefile as is done for src/Makefile.
2673 * configure: Regenerate.
2675 2001-01-23 Phil Edwards <pme@sources.redhat.com>
2677 * acinclude.m4: Cosmetic changes only.
2678 * aclocal.m4: Regenerated.
2679 * configure: Regenerated.
2680 * configure.target: Update documented list of changed variables.
2681 * docs/html/install.html: Fix typo.
2682 * docs/html/20_util/howto.html: More notes on auto_ptr.
2683 * docs/html/27_io/howto.html: More notes on streabufs.
2684 * docs/html/faq/index.html: Add rel_ops problem and mention the
2685 DEC as(1) .subsection difficulty.
2686 * docs/html/faq/index.txt: Regenerated.
2688 2001-01-23 Mark Mitchell <mark@codesourcery.com>
2690 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
2691 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
2692 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
2693 its already provided in config.target.
2694 * aclocal.m4: Regenerated.
2695 * configure: Likewise.
2696 * configure.target: Set ctype_include_dir for lots of systems.
2697 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
2698 * libsupc++/Makefile.in: Regenerated.
2700 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
2702 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
2705 * testsuite/README: Add comment.
2707 2001-01-21 Phil Edwards <pme@sources.redhat.com>
2709 * docs/html/configopts.html: Update for current status. Fix HTML.
2710 * docs/html/install.html: Update for current status.
2712 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2714 * testsuite/libstdc++.tests/tests.exp: New file.
2715 * testsuite/lib/libstdc++.exp: Itou.
2716 * testsuite/README: Itou.
2718 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
2720 * tests_flags.in: Just output the bare minimum to run tests.
2721 Let's the caller do its own arrangement.
2723 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
2726 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
2728 * testsuite/17_intro: Prepare testcases for new style DejaGnu
2731 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
2733 * testsuite/libstdc++.tests, testsuite/lib: New directories.
2735 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
2737 * mkcheck.in: Construct file names that match $objdir structure.
2738 * testsuite/27_io/filebuf_members-1.txt: New file.
2739 * testsuite/27_io/ifstream_members-1.txt: New file.
2740 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
2742 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
2743 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
2745 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2747 * testsuite/27_io/istream_sentry.cc (test02): Fix.
2749 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
2752 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
2753 * src/ios.cc (ios_base::failure): Make definitions match.
2754 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
2755 (class bad_cast): Same.
2756 * libsupc++/exception (class exception): Add throw specs.
2757 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
2758 (set_unexpected): Same.
2759 (uncaught_exception): Same.
2762 * docs/html/17_intro/C++STYLE (classname): Fix.
2764 2001-01-16 Mark Mitchell <mark@codesourcery.com>
2766 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
2767 Use it do explicitly instantiate predicate<T> and value<T> for
2770 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
2772 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
2773 uninitialized thinko in last change.
2775 2001-01-16 Mark Mitchell <mark@codesourcery.com>
2777 * libsupc++/exception_support.cc (__cp_pop_exception): Change
2780 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
2782 * docs/html/17_intro/C++STYLE (classname): Add more existing
2783 and stylish patterns.
2786 * include/bits/istream.tcc (istream::sentry::sentry()): Set
2787 failbit if the state of the stream is not good.
2788 * testsuite/27_io/istream_sentry.cc (test02): Add test.
2789 * testsuite/27_io/istream_manip.cc (test01): Modify.
2792 reported by Paolo Carlini <pcarlini@unitus.it>
2793 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
2794 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
2797 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
2798 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
2799 (xsgetn): Same. Simplify.
2800 * testsuite/27_io/streambuf.cc (test04): Add testcases.
2802 reported by Larry Evans <jcampbell3@prodigy.net>
2803 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
2804 equality with eof on returned value from overflow.
2806 2001-01-14 Andreas Jaeger <aj@suse.de>
2808 * libio/libio.h: Add test for glibc 2.0.
2810 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
2812 * config/os/djgpp/bits/*: Fix dates.
2814 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
2815 _CharT* __end, _CharT __c): Remove.
2816 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
2817 * include/bits/char_traits.h: Tweak.
2819 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
2821 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
2822 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
2824 * aclocal.m4: regenerated.
2825 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
2826 * configure: regenerated.
2827 * config/os/djgpp, config/os/djgpp/bits: new directories.
2828 * config/os/djgpp/bits/ctype_base.h,
2829 config/os/djgpp/bits/ctype_inline.h,
2830 config/os/djgpp/bits/ctype_noninline.h,
2831 config/os/djgpp/bits/os_defines.h: new files.
2833 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
2835 * include/c_std/bits/std_cstdio.h: Undef printf.
2837 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
2839 * src/ios.cc: Fix typo: change cout->wcout.
2841 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
2842 * src/Makefile.in: Regenerate.
2844 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2846 * include/bits/std_complex.h: Fix a typo.
2848 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
2851 Fixes for libstdc++/1576
2852 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
2853 file, move contents into....
2854 * src/ios.cc: ...Here. Put defines for iostreams objects and
2855 initialization routines into one file to simplify DSO interaction.
2856 * include/bits/std_iostream.h: Touch.
2857 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
2858 * src/Makefile.am (sources): Remove stdstreams.cc.
2859 * src/Makefile.in: Regenerate.
2861 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2863 * tests_flags.in (check_directory): Fix typo.
2865 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2867 * include/bits/std_complex.h: Fix a typo.
2869 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
2871 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
2872 code path:) Remove magic constants and restructure to handle
2873 ctype.h bit mask layout changes more gracefully. (Make fast
2874 code path:) Use __maskrune (), if available.
2875 (is): Remove special case for digit and xdigit masks.
2877 2001-01-09 Robert Lipe <robertlipe@usa.net>
2879 * include/c_std/bits/std_ctime.h: Undefine difftime.
2881 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
2883 * src/gen-num-limits.cc (signal_adapter): New template function.
2884 (signal_handler): Use it, instead of signal.
2885 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
2886 require both tests to trap to set trap_flag.
2888 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
2890 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
2891 initialize mbstate_t member, name offset data members *off, not pos.
2892 * include/bits/fstream.tcc (filebuf::filebuf): Same.
2894 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
2896 reported by Chris G. Demetriou <cgd@sibyte.com>
2897 * configure.in: Change -linux-* to -linux*.
2898 * configure: Regenerate.
2900 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
2902 Fix 27_io/filebuf_members.cc
2903 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
2904 const string& __name, category __cat, size_t __refs): Set
2905 _M_has_name with _M_name.
2906 * include/bits/localefwd.h (locale::operator!=): Protect member
2907 function call with this->.
2908 * src/locale.cc (locale::operator==): Make fast checks first.
2909 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
2911 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
2913 * src/ios.cc (ios_base::Init::Init): Initialize here.
2914 (ios_base::sync_with_stdio): Set here.
2916 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
2918 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
2919 systems that support it, call dup() before fdopen().
2921 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
2923 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
2924 * testsuite/17_intro/header_cwctype.cc (main): New file.
2926 * src/Makefile.am (base_headers): Change.
2927 * include/bits/std_string.h: And here.
2928 * include/bits/string.tcc: Tweaks, move to...
2929 * include/bits/basic_string.tcc: ...Here.
2930 * src/string-inst.cc: Simplify, just instantiate the whole class,
2931 not member-by-member.
2933 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
2935 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
2936 * aclocal.m4: Regenerate.
2937 * configure: Regenerate.
2939 * include/bits/c++config (__GLIBCPP__): Bump version number.
2941 * ChangeLog: Start new log for year 2001
2942 * ChangeLog-2000: New file.
2944 * docs/html/configopts.html: Make sure default values are current,
2947 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
2949 * include/c_std/bits/std_cwchar.h: Same.
2950 * testsuite/17_intro/header_cwchar.cc: Same.
2951 * include/c_std/bits/std_ctime.h: Same.
2952 * testsuite/17_intro/header_ctime.cc: Same.
2953 * include/c_std/bits/std_cstdlib.h: Same.
2954 Clean up undefs, make consistent with cwchar and cmath, etc.
2955 * testsuite/17_intro/header_cstdlib.cc: Same.
2956 * include/c_std/bits/std_cstdio.h: Same here.
2957 * testsuite/17_intro/header_cstring.cc: Same.
2958 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
2959 * testsuite/17_intro/header_cstring.cc: New file. Check for
2960 size_t in namespace std.
2962 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
2963 * acconfig.h (HAVE_MBSTATE_T): Add.
2964 * config.h.in: Regenerate.
2965 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
2967 * aclocal.m4: Regenerate.
2968 * configure: Regenerate.
2969 * testsuite/17_intro/headers_c++.cc: New file.
2970 * testsuite/17_intro/headers_c.cc: Small changes.
2972 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
2974 * tests_flags.in: Fix typo in usage.
2976 * tests_flags.in: Set target specific LIBS for cygwin.