1 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
3 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
6 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
8 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
9 on earlier versions of AIX.
11 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
13 * testsuite_flags.in (query): Add backwards, ext directories.
15 2001-05-15 Mark Mitchell <mark@codesourcery.com>
17 * porting.texi: Correct documentation about handling
18 _LARRGEFILE_SOURCE and its ilk.
19 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
20 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
22 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
23 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
25 2001-05-15 Zack Weinberg <zackw@stanford.edu>
27 * testsuite/21_strings/inserters_extractors.cc,
28 testsuite/27_io/istream_unformatted.cc,
29 testsuite/27_io/stringstream.cc:
30 Replace multi-line string constants with C89-style
31 concatenated string constants.
33 2001-05-14 Richard Henderson <rth@redhat.com>
35 * mknumeric_limits: Build with -fno-exceptions.
37 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
39 Switch over to new harness.
40 * testsuite_flags.in: Tweaks via Gaby.
41 * testsuite/Makefile.am: Change tool to libstdc++-v3.
42 (EXPECT): Quote directly.
44 * configure.in: Output testsuite_flags.
45 * acinclude.m4: Substitute src, bld, and prefix dirs.
46 Remove glibcpp_expect, glibcpp_runtestflags.
47 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
48 * mkcheck.in: Port to new interface.
50 * aclocal.m4: Regerate.
51 * configure: Regnerate.
52 * Makefile.in: Regnerate.
53 * */Makefile.in: Regenerate.
55 * tests_flags.in: Remove.
56 * testsuite/lib/libstdc++.exp: Remove.
57 * testsuite/libstdc++.tests/tests.exp: Remove.
59 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
61 * configure.target: Remove detection of AIX pthread multilib, now
62 obtained from `gcc -v'.
64 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
66 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
67 size. Add hpux case for HP size.
69 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
71 * testsuite_flags.in: New, simplified interface.
72 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
73 * testsuite/libstdc++-v3.dg: Add.
74 * testsuite/libstdc++-v3.dg/dg.exp: Add.
76 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
78 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
79 * testsuite/config/default.exp: Update bugs email address.
81 2001-05-11 Richard Henderson <rth@redhat.com>
83 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
84 all pointer encoding logic.
85 (struct lsda_header_info): Add ttype_base.
86 (get_ttype_entry): Use it instead of a context.
87 (check_exception_spec): Likewise.
88 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
89 the c++ exception header for __cxa_call_unexpected.
90 (__cxa_call_unexpected): Use it.
92 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
94 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
95 libgloss_link_flags to find crt0.o for targets that use libgloss
97 Change LDFLAGS to LIBS.
98 Consistently name procedures libstdc++-XXX.
99 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
101 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
103 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
108 * include/c_std/bits/std_cwchar.h (wcschr): Same.
113 * testsuite/21_strings/c_strings.cc: Add tests.
115 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
118 * include/bits/std_fstream.h (basic_filebuf): Change signature.
119 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
120 to int_type, pass in buffer size info.
121 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
122 unbuffered situation.
123 (underflow): Remove codecvt bits for the time being.
124 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
125 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
126 values from iterators, clean.
127 * src/locale.cc: Ditto.
128 * include/bits/sbuf_iter.h: Format.
129 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
130 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
131 * testsuite/27_io/filebuf.cc: Tweaks.
132 * testsuite/27_io/filebuf_members.cc: Tweaks.
134 2001-05-07 Mark Mitchell <mark@codesourcery.com>
136 * config/os/solaris/solaris2.7/bits/os_defines.h
137 (_LARGEFILE_SOURCE): Define it.
139 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
141 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
142 -prefer-non-pic depending on whether libtool has shared libraries
144 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
145 $(LIBSUPCXX_PICFLAGS).
146 * configure, */Makefile.in: Rebuilt.
148 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
150 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
151 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
153 * include/bits/std_sstream.h (stringbuf): Leak
155 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
157 2001-05-01 Tom Browder <tbrowder@home.com>
159 * docs/html/ext/howto.html: Fix typo.
161 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
163 * testsuite/libstdc++.tests/tests.exp: Add comment.
165 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
167 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
169 2001-04-30 Mark Mitchell <mark@codesourcery.com>
171 * porting.texi: Use the GFDL.
173 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
176 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
177 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
180 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
183 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
185 2001-04-28 Phil Edwards <pme@sources.redhat.com>
187 * docs/doxygen/run_doxygen: Minor tweaks.
188 * docs/doxygen/style.css: New file.
189 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
190 latest parameters available. Use style.css.
192 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
194 * docs/doxygen/mainpage.doxy: New.
195 * docs/doxygen/user.cfg.in: Change default configuration. Single
198 2001-04-26 Mark Mitchell <mark@codesourcery.com>
200 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
201 Indicate obsolete nature of thelist for G++ 3.0.
203 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
205 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
206 target_thread_file with `gcc -v'.
207 * aclocal.m4, configure: Rebuilt.
209 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
211 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
212 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
213 * include/c_std/bits/std_cwchar.h (std): Same.
214 * acconfig.h (std): Remove c99 injection into std.
215 * config.h.in: Regenerate.
217 * testsuite/README: Fix typo.
219 * include/bits/codecvt.h: Remove warnings.
221 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
223 * include/ext/slist: Include required header files.
225 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
227 * include/c_std/bits/std_cerrno.h (errno): Define macro from
228 identifier declared with external linkage, if needed.
229 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
230 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
232 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
234 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
235 re-configures find the build compiler.
236 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
238 * aclocal.m4: Regenerate.
239 * configure: Regenerate.
241 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
243 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
244 support is enabled correctly before long long is activated.
245 * aclocal.m4: Regenerate.
246 * configure: Regenerate.
248 * include/backward/backward_warning.h: Format correctly.
250 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
251 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
252 * testsuite/26_numerics/c99_macros.cc: Remove.
254 2001-04-20 Phil Edwards <pme@sources.redhat.com>
256 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
259 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
261 * acconfig.h (_GLIBCPP_USE_C99): Add.
262 * config.h.in: Regenerate.
263 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
265 * aclocal.m4: Regenerate.
266 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
267 * configure: Regenerate.
268 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
269 * configure: Regenerate.
270 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
272 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
274 * include/c_std/bits/std_cstdlib.h: Same.
275 * docs/html/configopts.html: Update.
276 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
278 (test_c99_classify): Add.
279 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
280 (_ISOC99_SOURCE): Remove.
282 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
283 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
284 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
285 * aclocal.m4: Regenerate.
286 * configure: Regenerate.
288 2001-04-19 Phil Edwards <pme@sources.redhat.com>
290 * Makefile.am (doxygen): Assume script is missing execute perms.
291 * Makefile.in: Regenerated.
292 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
294 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
296 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
298 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
300 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
301 * testsuite/23_containers/set_operators.cc: Same.
303 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
305 (__GLIBCPP__): Bump from value of last release.
306 * include/bits/concept_check.h: Default to off, edit comments.
307 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
308 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
309 * src/Makefile.in: Regenerate.
311 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
313 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
314 Properly uglify member.
316 2001-04-13 Phil Edwards <pme@sources.redhat.com>
318 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
322 2001-04-13 Phil Edwards <pme@sources.redhat.com>
324 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
325 * include/bits/concept_check.h: Uglify.
326 * include/bits/stl_algo.h: Likewise.
327 * include/bits/stl_algobase.h: Likewise.
328 * include/bits/stl_deque.h: Likewise.
329 * include/bits/stl_heap.h: Likewise.
330 * include/bits/stl_iterator_base_funcs.h: Likewise.
331 * include/bits/stl_list.h: Likewise.
332 * include/bits/stl_map.h: Likewise.
333 * include/bits/stl_multimap.h: Likewise.
334 * include/bits/stl_multiset.h: Likewise.
335 * include/bits/stl_numeric.h: Likewise.
336 * include/bits/stl_queue.h: Likewise.
337 * include/bits/stl_set.h: Likewise.
338 * include/bits/stl_stack.h: Likewise.
339 * include/bits/stl_vector.h: Likewise.
340 * include/ext/hash_map: Likewise.
341 * include/ext/hash_set: Likewise.
342 * include/ext/slist: Likewise.
344 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
346 * testsuite/23_containers/set_operators.cc: Just try to compile.
348 * testsuite/23_containers/map_operators.cc: Same.
350 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
352 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
354 (dg-test): Revert rth's change.
356 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
358 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
359 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
361 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
363 * testsuite/README: Add DejaGnu specific documentation.
365 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
367 * acinclude.m4: AC_CHECK_TOOL for expect.
368 * aclocal.m4: Regenerate.
369 * configure: Regenerate.
370 * testsuite/Makefile.am (RUNTEST): Use substituted.
373 * configure.in: Remove xcompiling substitution.
374 * tests_flags.in (CROSS_LIB_PATH): Remove.
375 (xcompiling): Remove.
376 (CXX): Use substituted CXX.
378 2001-04-11 Richard Henderson <rth@redhat.com>
380 * testsuite/lib/libstdc++.exp: Specify path for output_file.
382 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
384 * include/bits/std_valarray.h(valarray<>::operator[]): Make
387 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
389 * testsuite/25_algorithms/equal.cc: New test.
391 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
393 * stl_algobase.h (std::equal): avoid use of possibly-undefined
394 operator != (one line patch).
396 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
398 * include/backward/backward_warning.h: Re-enable.
400 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
401 Alexandre Oliva <aoliva@redhat.com>
403 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
405 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
407 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
408 * testsuite/26_numerics/c99_macros.cc: Add test.
410 2001-04-06 Phil Edwards <pme@sources.redhat.com>
412 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
413 * docs/html/faq/index.txt: Regenerated.
415 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
417 * include/backward/backward_warning.h: Temporarily disable until
418 g++ testsuite changes go in.
419 * tests_flags.in (CROSS_LIB_PATH): Add.
421 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
423 Warn when using backward headers.
424 * include/backward/algo.h: Include warning file.
425 * include/backward/vector.h: Same.
426 * include/backward/tree.h: Same.
427 * include/backward/tempbuf.h: Same.
428 * include/backward/strstream: Same.
429 * include/backward/streambuf.h: Same.
430 * include/backward/stream.h: Same.
431 * include/backward/stack.h: Same.
432 * include/backward/slist.h: Same.
433 * include/backward/set.h: Same.
434 * include/backward/rope.h:
435 * include/backward/queue.h: Same.
436 * include/backward/pair.h: Same.
437 * include/backward/ostream.h: Same.
438 * include/backward/new.h: Same.
439 * include/backward/multiset.h: Same.
440 * include/backward/multimap.h: Same.
441 * include/backward/map.h: Same.
442 * include/backward/list.h: Same.
443 * include/backward/iterator.h: Same.
444 * include/backward/istream.h: Same.
445 * include/backward/iostream.h:
446 * include/backward/iomanip.h:
447 * include/backward/heap.h: Same.
448 * include/backward/hashtable.h:
449 * include/backward/hash_set.h:
450 * include/backward/hash_map.h:
451 * include/backward/function.h:
452 * include/backward/fstream.h:
453 * include/backward/deque.h:
454 * include/backward/defalloc.h: Same.
455 * include/backward/complex.h: Same.
456 * include/backward/bvector.h:
457 * include/backward/alloc.h:
458 * include/backward/algobase.h: Same.
460 * include/backward/backward_warning.h: New file.
461 * src/Makefile.am (backward_headers): Add backward_warning.h
462 * src/Makefile.in: Regenerate.
464 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
466 * src/Makefile.am (myinstalldirs): Make sure backward directory is
468 (myinstallheaders): Install backward headers in backward directory.
469 * src/Makefile.in: Regenerate.
471 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
473 Prepare for libstdc++-2.92.
474 * docs/html/17_intro/RELEASE-NOTES (New): Update.
475 * docs/html/configopts.html: Fix formatting.
476 * README (file): Updates.
477 * include/bits/c++config (__GLIBCPP__): Update.
479 2001-04-05 Phil Edwards <pme@sources.redhat.com>
481 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
483 2001-04-04 Phil Edwards <pme@sources.redhat.com>
485 * docs/doxygen/user.cfg.in: Extract all non-private members;
486 reduce confusing documentation output.
488 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
490 * include/backward/fstream.h: Add missing semicolons.
492 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
494 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
495 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
496 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
497 (ios_base::Init::_S_ios_create): New.
498 (ios_base::Init::_S_ios_destroy): New.
499 * include/bits/std_fstream.h: Change ctor args.
500 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
501 (ios_base::Init::~Init): Use _S_ios_destroy.
502 (ios_base::sync_with_stdio): Use new members.
503 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
506 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
508 * include/backward/fstream.h: Expose streampos to global
511 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
513 * include/bits/stl_iterator_base_types.h: Fix typo
515 2001-04-03 Andreas Schwab <schwab@suse.de>
517 * include/backward/fstream.h: Define filebuf and wfilebuf.
519 2001-04-02 Phil Edwards <pme@sources.redhat.com>
521 New concept checking implementation.
522 * docs/html/19_diagnostics/howto.html: Document.
523 * docs/html/17_intro/concept_check.diff: New file, for reference.
524 * include/bits/boost_concept_check.h: New file from Boost.
525 * include/bits/c++config: Update comments.
527 * include/bits/concept_check.h: New file.
528 * include/bits/concept_checks.h: Removed.
529 * include/bits/container_concepts.h: Removed.
530 * include/bits/sequence_concepts.h: Removed.
531 * include/bits/stl_iterator_base.h: Removed; split into...
532 * include/bits/stl_iterator_base_funcs.h: ...this new file...
533 * include/bits/stl_iterator_base_types.h: ...and this new file.
535 * include/bits/sbuf_iter.h: Update to use new implementation.
536 * include/bits/std_iterator.h: Likewise.
537 * include/bits/std_memory.h: Likewise.
538 * include/bits/stl_algo.h: Likewise.
539 * include/bits/stl_algobase.h: Likewise.
540 * include/bits/stl_construct.h: Likewise.
541 * include/bits/stl_deque.h: Likewise.
542 * include/bits/stl_heap.h: Likewise.
543 * include/bits/stl_list.h: Likewise.
544 * include/bits/stl_map.h: Likewise.
545 * include/bits/stl_multimap.h: Likewise.
546 * include/bits/stl_multiset.h: Likewise.
547 * include/bits/stl_numeric.h: Likewise.
548 * include/bits/stl_queue.h: Likewise.
549 * include/bits/stl_set.h: Likewise.
550 * include/bits/stl_stack.h: Likewise.
551 * include/bits/stl_uninitialized.h: Likewise.
552 * include/bits/stl_vector.h: Likewise.
553 * include/ext/hash_map: Likewise.
554 * include/ext/hash_set: Likewise.
555 * include/ext/slist: Likewise.
556 * include/ext/stl_hashtable.h: Likewise.
558 * src/Makefile.am (base_headers): Update list of headers.
559 * Makefile.in: Regenerated.
560 * src/Makefile.in: Regenerated.
561 * libio/Makefile.in: Regenerated.
562 * libmath/Makefile.in: Regenerated.
563 * libsupc++/Makefile.in: Regenerated.
564 * testsuite/Makefile.in: Regenerated.
566 * docs/html/install.html: Update contact information.
567 * docs/html/17_intro/howto.html: Ditto.
568 * docs/html/18_support/howto.html: Ditto.
569 * docs/html/20_util/howto.html: Ditto.
570 * docs/html/21_strings/howto.html: Ditto.
571 * docs/html/22_locale/howto.html: Ditto.
572 * docs/html/23_containers/howto.html: Ditto.
573 * docs/html/24_iterators/howto.html: Ditto.
574 * docs/html/25_algorithms/howto.html: Ditto.
575 * docs/html/26_numerics/howto.html: Ditto.
576 * docs/html/27_io/howto.html: Ditto.
577 * docs/html/faq/index.html: Ditto, plus info on new checking code.
578 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
579 * docs/html/faq/index.txt: Regenerated.
581 2001-04-02 Zack Weinberg <zackw@stanford.edu>
583 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
584 messages with $which_library as well as $tool_flags and
585 ${dg-extra-tool-flags}. Factor out annotation text into
588 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
590 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
591 * include/c_std/bits/std_cwchar.h: Same.
592 * testsuite/21_strings/c_strings.cc: Add.
594 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
596 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
598 2001-04-01 Zack Weinberg <zackw@stanford.edu>
600 * tests_flags.in: Use test a = b, not test a == b which is not
603 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
605 * configure.target: Remove duplicate aix entry.
607 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
609 * include/ext/stl_bvector.h: Move to...
610 * include/bits/stl_vector.h: ...here.
611 * include/ext/bvector: Move to...
612 * include/backward/bvector.h: ...here.
613 * include/bits/std_vector.h: Change stl_bvector include.
614 * include/bits/std_queue.h: Remove bvector include.
615 * include/ext/tree: Insert using rb_tree, move to...
616 * include/backward/tree.h: ...here.
617 * include/backward/hash_map.h: Include ext/hash_map.
618 * include/backward/hash_set.h: Include ext/hash_set.
619 * include/backward/queue.h: New file.
620 * include/backward/stack.h: Edit.
621 * include/backward/algo.h: Same.
622 * include/backward/algobase.h: Same.
623 * include/backward/alloc.h: Same.
624 * include/backward/function.h: Same.
625 * include/backward/iomanip.h: Same.
626 * include/backward/istream.h: Same.
627 * include/backward/iterator.h: Same.
628 * include/backward/list.h: Same.
629 * include/backward/map.h: Same.
630 * include/backward/multimap.h: Same.
631 * include/backward/multiset.h: Same.
632 * include/backward/ostream.h: Same.
633 * include/backward/pair.h: Same
634 * include/backward/rope.h: Same.
635 * include/backward/set.h: Same.
636 * include/backward/stream.h: Same.
637 * include/backward/strstream.h: Same.
638 * include/backward/tempbuf.h: Same.
639 * src/Makefile.am (ext_headers): Edit.
640 * src/Makefile.in: Regenerate.
641 * testsuite/ext/headers.cc (main): Fix.
644 2001-03-30 Phil Edwards <pme@sources.redhat.com>
646 * tests_flags.in (LIBS): Pass correct path for installed testing.
648 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
650 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
651 * tests_flags.in (CXX): Construct here.
652 (static_fail): Don't remove compile.out. Format with spaces.
653 (INCLUDES): Deal with xcompiling.
654 * configure.in (xcompiling): Substitute.
655 * testsuite/Makefile.am: Snake libjava configury.
656 * testsuite/Makefile.in: Regenerate.
657 * testsuite/23_containers/map_operators.cc: Tweaks.
658 * testsuite/23_containers/set_operators.cc: Tweaks.
660 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
662 Enable dejagnu testing framework.
663 * configure.in: Generate testsuite/Makefile.
664 * configure: Regenerate.
665 * Makefile.am (check-install): Change rule from this...
666 (check-script-install): ...to this.
667 (check): Change rule from this...
668 (check-script):...to this.
669 * Makefile.in: Regenerate.
671 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
673 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
675 (LIBTOOL): Let automake take care of its definition.
676 * libsupc++/Makefile.in: Rebuilt.
678 2001-03-28 Richard Henderson <rth@redhat.com>
680 IA-64 ABI Exception Handling:
681 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
682 * configure.in: Use it.
683 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
684 * libsupc++/Makefile.am (sources): Update files list.
685 * libsupc++/Makefile.in: Regenerate.
686 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
687 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
688 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
689 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
690 * libsupc++/exception_support.cc: Remove.
691 * libsupc++/exception_support.h: Remove.
692 * libsupc++/pure.cc: Use std::terminate.
693 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
694 (__is_pointer): Remove.
695 * libsupc++/unwind-cxx.h: New file.
696 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
698 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
700 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
702 * src/Makefile.am (CXXLINK): Likewise.
703 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
705 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
707 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
709 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
711 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
714 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
716 * include/bits/basic_file.h (get_fileno): Remove.
718 (_M_cfile_created): Add.
719 (basic_file::basic_file(__c_file_type*, openmode): Add.
720 (basic_file::basic_file(int, const char*, openmode): Remove.
721 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
722 const char*, ios_base::openmode): Don't allocate
723 internal buffers. Turn off internal buffers.
724 (basic_filebuf::overflow): Remove test for null buffer.
725 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
726 * include/bits/streambuf.cc: Tweak.
727 * include/bits/std_ostream.h: Tweak.
728 * config/basic_file_libio.h: Same.
729 * config/basic_file_stdio.h: Same.
730 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
731 * testsuite/27_io/filebuf_members.cc: Tweaks.
732 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
734 2001-03-24 Phil Edwards <pme@sources.redhat.com>
736 * Makefile.am: New targets, doxygen and doxygen-maint.
737 * Makefile.in: Regenerated.
738 * docs/doxygen/run_doxygen: Finally implemented.
739 * docs/doxygen/maint.cfg.in: New file.
740 * docs/doxygen/user.cfg.in: New file.
742 2001-03-24 Phil Edwards <pme@sources.redhat.com>
744 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
745 * src/Makefile.am: Replace leading spaces with tabs on continuation
747 * aclocal.m4: Regenerated.
749 * Makefile.in: Ditto.
750 * src/Makefile.in: Ditto.
751 * libio/Makefile.in: Ditto.
752 * libmath/Makefile.in: Ditto.
753 * libsupc++/Makefile.in: Ditto.
755 2001-03-24 Phil Edwards <pme@sources.redhat.com>
757 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
758 concept-checking code and current status of same.
759 * docs/html/ext/howto.html: Ditto.
760 * docs/html/faq/index.html: Ditto.
761 * docs/html/faq/index.txt: Regenerated.
763 2001-03-24 Phil Edwards <pme@sources.redhat.com>
765 * include/bits/std_bitset.h: Include ostream and istream headers
768 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
770 * include/bits/ostream.tcc: Use __builtin_alloca.
772 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
774 * src/misc-inst.cc (__sink_unused_warning): Move to...
775 * src/locale-inst.cc (__sink_unused_warning): Move to...
776 * src/stl-inst.cc: Here.
777 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
780 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
782 * intclude/bits/basic_file.h: Fix typos in comments.
784 2001-03-20 Richard Henderson <rth@redhat.com>
786 * src/gen-num-limits.cc: Instantiate for wchar_t.
787 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
789 2001-03-20 Jason Merrill <jason@redhat.com>
791 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
792 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
793 * libsupc++/cxxabi.h: Declare it.
795 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
797 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
798 signal_func with an unspecified argument list.
800 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
802 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
804 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
806 * include/bits/basic_string.tcc (operator+): Fix thinko.
808 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
811 * include/bits/std_streambuf.h: Remove cached locale facets.
812 (basic_streambuf::_M_buf_fctype): Remove.
813 (basic_streambuf::~basic_streambuf): Remove here.
814 (basic_streambuf::basic_streambuf): Same.
815 (basic_streambuf::imbue): Same.
816 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
817 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
818 (basic_filebuf::~basic_filebuf()): Remove here.
819 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
820 (basic_filebuf::imbue): Same.
821 * include/bits/localefwd.h (_Count_ones): Remove.
822 (locale::_S_num_categories): Just use 6, since this doesn't
823 actually change, ever.
824 * include/bits/locale_facets.tcc (has_facet): Simplify.
826 * testsuite/27_io/filebuf.cc (test06): Add tests.
828 2001-03-13 Steve Ellcey <sje@cup.hp.com>
830 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
831 match HP-UX ctype.h header file.
833 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
835 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
836 duplicate definitions of __dj_ctype_*
838 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
840 * libsupc++/new: Remove pragma interface.
841 * libsupc++/typeinfo: Same.
842 * libsupc++/exception: Same.
843 * libsupc++/new_handler.cc: Remove pragma implementation.
844 (bad_alloc::~bad_alloc()): Add.
845 * libsupc++/exception_support.cc: Same.
846 (exception::~exception): Add.
847 (bad_exception::~bad_exception): Add.
848 * libsupc++/tinfo.cc: Same.
849 (bad_cast::~bad_cast): Add.
850 (bad_typeid::~bad_typeid): Add.
852 2001-03-13 Phil Edwards <pme@sources.redhat.com>
854 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
856 2001-03-12 Felix Lee <flee@redhat.com>
858 * mkcheck.in: workaround for bash 2.01 IFS bug.
860 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
862 Fixups for -fno-for-scope
863 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
864 * src/valarray-inst.cc (__gslice_to_index): Same.
866 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
868 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
869 prior to trapping signal (UnixWare 7 workaround).
871 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
873 * include/backward/hashtable.h: Same.
874 * include/backward/rope.h: Fix include.
876 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
878 * include/backward/vector.h: Include std_vector.h.
880 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
881 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
884 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
886 * include/ext/stl_hashtable.h: Change type of __n to size_t
887 * include/backward/bvector.h: Include <ext/stl_bvector.h>
889 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
891 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
892 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
893 Use streamsize, not int_type.
895 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
897 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
900 2001-03-08 Andreas Schwab <schwab@suse.de>
902 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
904 * aclocal.m4, configure: Regenerated.
906 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
908 * include/bits/std_iosfwd.h: Remove string forward decls here.
909 * include/bits/stringfwd.h: Add forward decls for char_traits
911 * config/c_io_libio.h (wstreamoff): Delete.
912 * config/c_io_stdio.h (wstreamoff): Same.
913 * include/bits/char_traits.h: Use streamoff not wstreamoff for
914 char_traits<wchar_t>::off_type.
915 Remove duplicate typedefs.
916 * include/bits/fpos.h: Define streampos/wstreampos here.
917 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
920 Changeup output files.
921 * testsuite/27_io/istream_unformatted.cc: Change output files.
922 * testsuite/27_io/istream_seeks-1.txt: Add.
923 * testsuite/27_io/istream_seeks-2.tst: Add.
924 * testsuite/27_io/istream_seeks-1.tst: Add.
925 * testsuite/27_io/istream_unformatted-2.tst: Delete.
926 * testsuite/27_io/istream_unformatted-3.tst: Delete.
927 * testsuite/27_io/istream_unformatted-3.txt: Delete.
929 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
931 Add Irix 5.2, 6.3 support.
932 * config/os/irix/bits: Renamed to...
933 * config/os/irix/irix6.5/bits: this.
934 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
935 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
936 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
937 * config/os/irix/irix5.2/bits/ctype_noninline.h
938 (ctype<char>::ctype): Initialize _M_table with __ctype.
939 * configure.target: Adjust.
941 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
944 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
945 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
947 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
948 (*__pf)(__ios_type&)): Same.
949 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
950 (*__pf)(ios_base&))): Same.
951 * testsuite/27_io/istream_extractor_other.cc: Add tests.
952 * testsuite/27_io/istream_manip.cc (test01): Fix.
954 2001-03-06 Nathan Myers <ncm@cantrip.org>
955 Benjamin Kosnik <bkoz@redhat.com>
957 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
958 * testsuite/17_intro/header_cerrno.cc (test01): New file.
959 * testsuite/17_intro/header_cassert.cc (test01): New file.
960 * testsuite/17_intro/header_cstddef.cc (test01): New file.
961 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
962 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
964 2001-03-05 scott snyder <snyder@fnal.gov>
967 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
969 * include/c_std/bits/std_cstdlib.h: ... to here.
970 * testsuite/17_intro/header_cstdlib.cc: Add test.
972 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
974 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
976 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
978 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
979 definition. Replace enum with static const variables.
981 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
982 throw specification, fix typos, use <static_cast>.
983 (ctype<char>::scan_is): remove throw specification.
984 (ctype<char>::scan_not): likewise.
986 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
987 (ctype<char>::do_toupper(char)): use <static_cast>.
988 (ctype<char>::do_toupper(char *, const char *)): likewise.
989 (ctype<char>::do_tolower(char)): likewise.
990 (ctype<char>::do_tolower(char *, const char *)): likewise.
992 2001-03-04 Phil Edwards <pme@sources.redhat.com>
994 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
995 * include/backward/algo.h: Use std not __STD. Remove unneeded
996 macros and "never happens" code. Adjust to C++STYLE guidelines.
997 * include/backward/algobase.h: Likewise.
998 * include/backward/alloc.h: Likewise.
999 * include/backward/bvector.h: Likewise.
1000 * include/backward/deque.h: Likewise.
1001 * include/backward/function.h: Likewise.
1002 * include/backward/hash_map.h: Likewise.
1003 * include/backward/hash_set.h: Likewise.
1004 * include/backward/hashtable.h: Likewise.
1005 * include/backward/heap.h: Likewise.
1006 * include/backward/iterator.h: Likewise.
1007 * include/backward/list.h: Likewise.
1008 * include/backward/map.h: Likewise.
1009 * include/backward/multimap.h: Likewise.
1010 * include/backward/multiset.h: Likewise.
1011 * include/backward/pair.h: Likewise.
1012 * include/backward/rope.h: Likewise.
1013 * include/backward/set.h: Likewise.
1014 * include/backward/slist.h: Likewise.
1015 * include/backward/stack.h: Likewise.
1016 * include/backward/strstream: Likewise.
1017 * include/backward/tempbuf.h: Likewise.
1018 * include/backward/tree.h: Likewise.
1019 * include/backward/vector.h: Likewise.
1020 * include/bits/basic_ios.h: Likewise.
1021 * include/bits/basic_ios.tcc: Likewise.
1022 * include/bits/basic_string.h: Likewise.
1023 * include/bits/c++config: Likewise.
1024 * include/bits/concept_checks.h: Likewise.
1025 * include/bits/fpos.h: Likewise.
1026 * include/bits/fstream.tcc: Likewise.
1027 * include/bits/functexcept.h: Likewise.
1028 * include/bits/ios_base.h: Likewise.
1029 * include/bits/istream.tcc: Likewise.
1030 * include/bits/mask_array.h: Likewise.
1031 * include/bits/ostream.tcc: Likewise.
1032 * include/bits/pthread_allocimpl.h: Likewise.
1033 * include/bits/sbuf_iter.h: Likewise.
1034 * include/bits/slice.h: Likewise.
1035 * include/bits/slice_array.h: Likewise.
1036 * include/bits/sstream.tcc: Likewise.
1037 * include/bits/std_bitset.h: Likewise.
1038 * include/bits/std_fstream.h: Likewise.
1039 * include/bits/std_iomanip.h: Likewise.
1040 * include/bits/std_ios.h: Likewise.
1041 * include/bits/std_istream.h: Likewise.
1042 * include/bits/std_iterator.h: Likewise.
1043 * include/bits/std_memory.h: Likewise.
1044 * include/bits/std_ostream.h: Likewise.
1045 * include/bits/std_sstream.h: Likewise.
1046 * include/bits/std_streambuf.h: Likewise.
1047 * include/bits/std_string.h: Likewise.
1048 * include/bits/std_valarray.h: Likewise.
1049 * include/bits/stl_algo.h: Likewise.
1050 * include/bits/stl_algobase.h: Likewise.
1051 * include/bits/stl_alloc.h: Likewise.
1052 * include/bits/stl_construct.h: Likewise.
1053 * include/bits/stl_deque.h: Likewise.
1054 * include/bits/stl_function.h: Likewise.
1055 * include/bits/stl_heap.h: Likewise.
1056 * include/bits/stl_iterator.h: Likewise.
1057 * include/bits/stl_iterator_base.h: Likewise.
1058 * include/bits/stl_list.h: Likewise.
1059 * include/bits/stl_map.h: Likewise.
1060 * include/bits/stl_multimap.h: Likewise.
1061 * include/bits/stl_multiset.h: Likewise.
1062 * include/bits/stl_numeric.h: Likewise.
1063 * include/bits/stl_pair.h: Likewise.
1064 * include/bits/stl_pthread_alloc.h: Likewise.
1065 * include/bits/stl_queue.h: Likewise.
1066 * include/bits/stl_raw_storage_iter.h: Likewise.
1067 * include/bits/stl_relops.h: Likewise.
1068 * include/bits/stl_set.h: Likewise.
1069 * include/bits/stl_stack.h: Likewise.
1070 * include/bits/stl_tempbuf.h: Likewise.
1071 * include/bits/stl_threads.h: Likewise.
1072 * include/bits/stl_tree.h: Likewise.
1073 * include/bits/stl_uninitialized.h: Likewise.
1074 * include/bits/stl_vector.h: Likewise.
1075 * include/bits/streambuf.tcc: Likewise.
1076 * include/bits/type_traits.h: Likewise.
1077 * include/bits/valarray_meta.h: Likewise.
1078 * include/ext/bvector: Likewise.
1079 * include/ext/hash_map: Likewise.
1080 * include/ext/hash_set: Likewise.
1081 * include/ext/ropeimpl.h: Likewise.
1082 * include/ext/slist: Likewise.
1083 * include/ext/stl_bvector.h: Likewise.
1084 * include/ext/stl_hash_fun.h: Likewise.
1085 * include/ext/stl_hashtable.h: Likewise.
1086 * include/ext/stl_rope.h: Likewise.
1087 * src/complex_io.cc: Likewise.
1088 * src/ios.cc: Likewise.
1089 * src/locale-inst.cc: Likewise.
1090 * src/locale.cc: Likewise.
1091 * src/localename.cc: Likewise.
1092 * src/misc-inst.cc: Likewise.
1093 * src/stdexcept.cc: Likewise.
1094 * src/stl-inst.cc: Likewise.
1095 * src/strstream.cc: Likewise.
1096 * src/valarray-inst.cc: Likewise.
1098 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
1100 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
1102 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1104 * include/bits/istream.tcc: change type of __extracted to __size_type
1106 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
1108 * src/wstring-inst.cc: New file.
1109 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
1110 (libinst_wstring_la_SOURCES): Remove.
1111 (libstdc___la_LIBADD): Remove libinst_wstring_la.
1112 (sources): Add wstring-inst.cc
1113 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
1116 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1118 * src/locale.cc: initialise __ret with zero
1119 * src/strstream.cc:cast gptr to int_type
1121 2001-03-01 Phil Edwards <pme@sources.redhat.com>
1123 * docs/html/faq/index.html: Update broken links.
1124 * docs/html/faq/index.txt: Regenerated.
1126 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
1129 * configure.target: Change irix* to irix6.5* in target_os table.
1131 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
1134 * include/bits/c++config (__GLIBCPP__): Bump number in
1135 anticipation of 2.92.
1137 * include/bits/codecvt.h: Fix typo.
1138 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
1140 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
1141 instantiations for stdio model.
1143 2001-02-28 Phil Edwards <pme@sources.redhat.com>
1145 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
1146 and GLIBCPP_CXXFLAGS as unused variables.
1147 * configure.host: Likewise.
1148 * configure.target: Likewise.
1149 * aclocal.m4: Regenerated.
1150 * configure: Regenerated.
1151 * Makefile.in: Regenerated.
1152 * libio/Makefile.in: Regenerated.
1153 * libmath/Makefile.in: Regenerated.
1154 * libsupc++/Makefile.in: Regenerated.
1155 * src/Makefile.in: Regenerated.
1157 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
1160 * include/bits/basic_file.h: Include basic_file_model.h.
1161 * config/c_io_libio.cc: Move to...
1162 * config/basic_file_libio.cc: Here.
1163 * config/basic_file_libio.h: New file.
1164 * config/c_io_stdio.cc: Move to...
1165 * config/basic_file_stdio.cc: Here.
1166 * config/basic_file_stdio.h: New file.
1167 * config/c_io_libio.h: Tweak.
1168 * config/c_io_stdio.h: Tweak.
1169 * src/Makefile.am (build_headers): Add basic_file_model.h.
1170 (sources): Add basic_file.cc, remove c++io.cc.
1171 * src/Makefile.in: Regenerate.
1172 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
1173 basic_file_model.h and basic_file.cc.
1174 * aclocal.m4: Regenerate.
1175 * configure: Regenerate.
1176 * testsuite/27_io/filebuf.cc (test05): Add regression.
1178 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
1181 * config/cpu/alpha/bits/atomicity.h: Change.
1182 * config/cpu/arm/bits/atomicit3y.h
1183 * config/cpu/generic/bits/atomicity.h
1184 * config/cpu/i386/bits/atomicity.h
1185 * config/cpu/i486/bits/atomicity.h
1186 * config/cpu/ia64/bits/atomicity.h
1187 * config/cpu/powerpc/bits/atomicity.h
1188 * config/cpu/sparc/sparc32/bits/atomicity.h
1189 * config/cpu/sparc/sparc64/bits/atomicity.h
1190 * config/os/aix/bits/atomicity.h
1191 * config/os/irix/bits/atomicity.h
1193 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
1195 * include/bits/std_stdexcept.h (runtime_error): Make string
1197 (logic_error): Same.
1198 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
1201 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
1205 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
1206 string object, not reference.
1207 (runtime_error::runtime_error): Same.
1208 * testsuite/19_diagnostics/stdexceptions.cc: New file.
1210 2001-02-26 Phil Edwards <pme@sources.redhat.com>
1212 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
1213 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
1214 diagnostics. Remove WFMT_FLAGS.
1215 * configure.in: Replace WFMT_FLAGS with diagnostics options.
1216 * libsupc++/Makefile.am: Likewise.
1217 * src/Makefile.am: Likewise.
1218 * aclocal.m4: Regenerated.
1219 * configure: Regenerated.
1220 * Makefile.in: Regenerated.
1221 * libio/Makefile.in: Regenerated.
1222 * libmath/Makefile.in: Regenerated.
1223 * libsupc++/Makefile.in: Regenerated.
1224 * src/Makefile.in: Regenerated.
1226 2001-02-26 Phil Edwards <pme@sources.redhat.com>
1228 Fixes libstdc++/2079
1229 * include/backward/iomanip.h: Expose <ios> manipulators to global
1231 * include/backward/iostream.h: Also expose std::ws.
1233 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
1235 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
1237 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
1239 * include/bits/codecvt.h: Use __builtin_alloca.
1240 * include/bits/ostream.tcc: Same.
1241 * include/bits/fstream.tcc: Same.
1243 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
1245 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
1247 2001-02-23 David Edelsohn <dje@watson.ibm.com>
1249 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
1251 2001-02-23 Phil Edwards <pme@sources.redhat.com>
1254 * include/backward/iostream.h: Expose std::flush in old headers.
1256 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1258 * mknumeric_limits: Remove special-casing on target. Use gcc
1259 instead of g++ to build gen-num-limits.cc
1261 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
1263 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
1265 * include/bits/codecvt.h: Use alloca instead of __extension__ for
1267 * include/bits/ostream.tcc: Same.
1268 * include/bits/std_ostream.h: Same.
1269 * include/bits/fstream.tcc: Same.
1270 * include/bits/locale_facets.tcc: Add typename.
1271 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
1273 2001-02-21 Phil Edwards <pme@sources.redhat.com>
1275 * tests_flags.in: Remove -n flag from call to echo.
1277 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
1279 * config/c_locale_gnu.h: Add clocale include.
1281 2001-02-20 Phil Edwards <pme@sources.redhat.com>
1283 * include/bits/stl_config.h: Remove file.
1284 * src/Makefile.am (base_headers): Remove from list.
1285 * configure: Regenerate.
1286 * Makefile.in: Ditto.
1287 * libio/Makefile.in: Ditto.
1288 * libmath/Makefile.in: Ditto.
1289 * libsupc++/Makefile.in: Ditto.
1290 * src/Makefile.in: Ditto.
1292 * include/bits/c++config: Move relevant macros to here.
1293 * include/backward/alloc.h: Include c++config.h instead.
1294 * include/backward/function.h: Ditto.
1295 * include/backward/heap.h: Ditto.
1296 * include/backward/pair.h: Ditto.
1297 * include/bits/pthread_allocimpl.h: Ditto.
1298 * include/bits/std_functional.h: Ditto.
1299 * include/bits/std_iterator.h: Ditto.
1300 * include/bits/std_numeric.h: Ditto.
1301 * include/bits/std_utility.h: Ditto.
1302 * include/bits/stl_algobase.h: Ditto.
1303 * include/bits/type_traits.h: Ditto.
1304 * src/stl-inst.cc: Ditto.
1306 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1308 * include/bits/basic_file.h: Add #pragma system_header
1309 * include/bits/basic_ios.h: Ditto.
1310 * include/bits/basic_string.h: Ditto.
1311 * include/bits/char_traits.h: Ditto.
1312 * include/bits/codecvt.h: Ditto.
1313 * include/bits/cpp_type_traits.h: Ditto.
1314 * include/bits/fpos.h: Ditto.
1315 * include/bits/gslice.h: Ditto.
1316 * include/bits/gslice_array.h: Ditto.
1317 * include/bits/indirect_array.h: Ditto.
1318 * include/bits/ios_base.h: Ditto.
1319 * include/bits/limits_generic.h: Ditto.
1320 * include/bits/locale_facets.h: Ditto.
1321 * include/bits/localefwd.h: Ditto.
1322 * include/bits/mask_array.h: Ditto.
1323 * include/bits/sbuf_iter.h: Ditto.
1324 * include/bits/sequence_concepts.h: Ditto.
1325 * include/bits/slice.h: Ditto.
1326 * include/bits/slice_array.h: Ditto.
1327 * include/bits/std_algorithm.h: Likewise.
1328 * include/bits/std_bitset.h: Likewise.
1329 * include/bits/std_complex.h: Likewise.
1330 * include/bits/std_deque.h: Likewise.
1331 * include/bits/std_fstream.h: Likewise.
1332 * include/bits/std_functional.h: Likewise.
1333 * include/bits/std_iomanip.h: Likewise.
1334 * include/bits/std_ios.h: Likewise.
1335 * include/bits/std_iosfwd.h: Likewise.
1336 * include/bits/std_iostream.h: Likewise.
1337 * include/bits/std_istream.h: Likewise.
1338 * include/bits/std_iterator.h: Likewise.
1339 * include/bits/std_list.h: Likewise.
1340 * include/bits/std_locale.h: Likewise.
1341 * include/bits/std_map.h: Likewise.
1342 * include/bits/std_memory.h: Likewise.
1343 * include/bits/std_numeric.h: Likewise.
1344 * include/bits/std_ostream.h: Likewise.
1345 * include/bits/std_queue.h: Likewise.
1346 * include/bits/std_set.h: Likewise.
1347 * include/bits/std_sstream.h: Likewise.
1348 * include/bits/std_stack.h: Likewise.
1349 * include/bits/std_stdexcept.h: Likewise.
1350 * include/bits/std_streambuf.h: Likewise.
1351 * include/bits/std_string.h: Likewise.
1352 * include/bits/std_utility.h: Likewise.
1353 * include/bits/std_valarray.h: Likewise.
1354 * include/bits/std_vector.h: Likewise.
1355 * include/bits/stringfwd.h: Likewise.
1356 * include/bits/type_traits.h: Likewise.
1357 * include/bits/valarray_array.h: Likewise.
1358 * include/bits/valarray_meta.h: Likewise.
1360 2001-02-19 Andreas Jaeger <aj@suse.de>
1362 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
1365 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
1368 * include/bits/std_ostream.h: Replaced usage of
1369 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
1370 * include/bits/char_traits.h: Removed non-standard
1371 methods that cannot be used elsewhere.
1374 * include/bits/basic_ios.h: Uncommented #include of
1378 * include/bits/codecvt.h: See next...
1379 * include/bits/fstream.tcc: See next...
1380 * include/bits/ostream.tcc: Add __extension__
1381 to variable-length arrays.
1384 * include/bits/localefwd.h: Changed int counter type to size_t.
1387 * include/bits/std_fstream.h: Added typedef for __ctype_type.
1389 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
1391 * testsuite/21_strings/char_traits.cc: Move to ...
1392 * testsuite/21_strings/char_traits_requirements.cc: ..here.
1393 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
1394 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
1396 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
1398 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
1401 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
1403 * include/bits/c++config: Revert.
1405 2001-02-15 Mark Mitchell <mark@codesourcery.com>
1407 * include/bits/istream.tcc: Use ios_base::iostate in place of
1408 iostate throughout. Insert `typename' keyword where necessary.
1409 * include/bits/ostream.tcc: Insert `typename' keyword where
1412 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
1414 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
1415 Define so library is compliant.
1417 2001-02-15 Anthony Green <green@redhat.com>
1419 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
1421 * aclocal.m4: Regenerate.
1422 * configure: Regenerate.
1424 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
1426 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
1427 Include ieeefp.h for fpclass on UnixWare{2,7}.
1428 * aclocal.m4: Regenerate.
1429 * configure: Regenerate.
1430 * mkcheck.in (size_command): Do without GNU-grep when using
1433 2001-02-15 Mark Mitchell <mark@codesourcery.com>
1435 Remove old ABI support from libsupc++.
1436 * libsupc++/cxxabi.h: Remove conditionally compiled code.
1437 * libsupc++/exception_support.cc: Likewise.
1438 * libsupc++/pure.cc: Likewise.
1439 * libsupc++/tinfo.cc: Likewise.
1440 * libsupc++/tinfo.h: Likewise.
1441 * libsupc++/tinfo2.cc: Likewise.
1442 * libsupc++/typeinfo: Likewise.
1443 * libsupc++/vec.cc: Likewise.
1445 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
1447 Add support for -fno-exceptions.
1448 * include/bits/exception_support.h: Remove.
1449 * include/bits/basic_string.h: Remove exception_support.
1450 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
1452 (string::substr): Same.
1453 * include/bits/basic_string.tcc (string::reserve): Replace
1454 __LENGTHERROR with __throw_length_error.
1455 (string::_S_create): Same.
1456 (string::resize): Same.
1457 (string::_M_replace): Same.
1458 (string::replace): Same.
1459 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
1460 (string::compare): Same.
1461 * include/bits/stl_vector.h: Remove exception_support.
1462 * src/Makefile.am (base_headers): Remove here.
1463 * src/Makefile.in: Regenerate.
1465 * include/bits/stl_range_errors.h: Remove.
1466 * include/bits/stl_deque.h: Use __throw_range_error.
1467 * include/bits/std_deque.h: Include functexcept.h.
1468 * include/bits/std_vector.h: Same.
1469 * src/Makefile.am (base_headers): Remove here.
1470 * src/Makefile.in: Regenerate.
1471 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
1472 * include/ext/bvector: Remove stl_range_errors.h
1474 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
1476 * include/bits/functexcept.h: New file.
1477 * src/functexcept.cc: New file. Definitions for function-based
1479 * src/Makefile.am (sources): Add functexcept.cc.
1480 * src/Makefile.in: Regenerate.
1482 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
1485 * include/bits/localefwd.h: Include functexcept.h.
1486 * include/bits/std_iosfwd.h: Same.
1488 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
1489 throw basic_ios::failure.
1490 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
1491 Use __throw_exception_again.
1492 (filebuf::_M_filebuf_init): Same.
1493 * include/bits/streambuf.tcc (__copy_streambufs): Same.
1494 * include/bits/ostream.tcc (ostream::operator<<): Same.
1495 * include/bits/istream.tcc (istream::operator>>): Same.
1496 * include/bits/basic_string.tcc (string::_M_mutate): Same.
1497 (string::_S_construct): Same.
1498 (string::_M_clone): Same.
1499 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
1501 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
1502 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
1503 __throw_exception_again.
1504 (locale::_Imp::_Imp(string, size_t): Same.
1505 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
1506 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
1507 (locale::locale(const char*)): Use __throw_runtime_error.
1508 (locale::classic): Use __throw_exception_again.
1509 (locale::_S_normalize_category): Use __throw_runtime_error.
1511 * src/stdexcept.cc: Remove cruft.
1513 * libsupc++/exception_defines.h: New file.
1514 * libsupc++/new_opnt.cc: Include exception_defines.h.
1515 * libsupc++/vec.cc: Same.
1516 (__cxa_vec_new2): Use __throw_exception_again.
1517 (__cxa_vec_new3): Same.
1518 (__cxa_vec_ctor): Same.
1519 (__cxa_vec_delete3): Same.
1520 (__cxa_vec_cctor): Same.
1521 (__cxa_vec_delete2): Same.
1522 (__cxa_vec_dtor): Same.
1523 * libsupc++/exception_support.cc: Include exception_defines.h. Only
1524 compile exception-handling bits if __EXCEPTIONS is defined.
1525 Remove old ABI support.
1526 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
1527 std::__throw_bad_alloc() instead of throw bad_alloc.
1528 * libsupc++/Makefile.am: Add exception_defines.h.
1529 * libsupc++/Makefile.in: Reformat.
1530 * libsupc++/*: Format.
1532 2001-02-15 Phil Edwards <pme@sources.redhat.com>
1534 * docs/html/configopts.html: Minor updates and typo fixes.
1535 * docs/html/faq/index.html: Updates of the "not really bugs" list.
1536 * docs/html/faq/index.txt: Regenerated.
1538 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
1540 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
1541 dejagnu/dg.exp. Adapt to log options used to run testcases.
1543 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1545 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
1548 2001-02-13 Dirk Mueller <dmuell@gmx.net>
1549 Phil Edwards <pme@sources.redhat.com>
1551 * include/backward/function.h: Do not use rel_ops for older
1553 * include/backward/pair.h: Likewise.
1555 2001-02-12 Mark Mitchell <mark@codesourcery.com>
1557 * src/locale.cc: Remove bogus locale::id definitions.
1559 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1561 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
1562 not _DEFINE_VALARRAY_OPERATOR which is not existent.
1564 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
1565 thinko in member initialisation.
1567 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1569 * include/bits/std_valarray.h(valarray<>::shift): Avoid
1570 comparaison between signed and unsigned integer types.
1571 (valarray<>::cshift): Reformat.
1573 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
1575 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
1576 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
1577 * configure.in: Test for sigsetjmp.
1578 * configure, config.h.in: Rebuilt.
1580 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1582 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
1583 lengths and strides.
1584 (__gslice_to_index): Document.
1586 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1588 * include/bits/char_traits.h char_traits<char>::int_type: Change
1589 to `int' to match 21.1.3.1/2.
1591 * testsuite/21_strings/char_traits-int_type.C: New test.
1593 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
1595 * testsuite/Makefile.am: New file.
1597 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
1599 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
1601 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
1603 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
1605 2001-02-08 David Edelsohn <edelsohn@gnu.org>
1607 * configure.target (aix4*): Remove extra set of brackets.
1609 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
1612 * include/bits/stringfwd.h: New file.
1613 * include/bits/stl_string_fwd.h: Remove.
1614 * include/bits/localefwd.h: Remove declaration for allocator.
1615 * include/bits/std_iosfwd: Same.
1616 * include/bits/std_string.h: Include it.
1617 * include/bits/std_ios.h: Remove include.
1618 * include/bits/basic_string.h: Tweak.
1619 * libsupc++/new: Format.
1620 * src/Makefile.am (base_headers): Add stringfwd.h, remove
1622 * src/Makefile.in: Regenerate.
1623 * include/bits/std_stdexcept.h: Rewrite.
1624 * src/stdexcept.cc: Same.
1626 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
1628 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
1629 install locations too.
1630 * aclocal.m4: Regenerate.
1631 * configure.in: Remove USE_LIBDIR.
1632 * configure: Regenerate.
1633 * src/Makefile.am (toolexecdir): Simplify, use
1634 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
1635 * src/Makefile.in: Regenerate.
1636 * libsupc++/Makefile.am: Same.
1637 * libsupc++/Makefile.in: Regenerate.
1639 * src/Makefile.am: Just remove special rules for locale-inst.cc and
1640 misc-inst.cc as no longer necessary.
1642 Follow C++STYLE for naming non-static functions.
1643 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
1645 * include/bits/streambuf.tcc: Same.
1646 * include/bits/ostream.tcc: Same.
1647 * include/bits/istream.tcc: Same.
1648 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
1649 (_S_output_float): To __output_float.
1650 * include/bits/std_streambuf.h (_S_copy_streambufs): To
1652 * include/bits/locale_facets.tcc (_S_build_float_format): To
1653 __build_float_format.
1654 (_S_format): To __output_integer.
1655 (_S_fill): To __pad.
1656 * src/locale.cc: Same.
1657 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
1659 * include/bits/locale_facets.tcc (_S_group_digits): To
1661 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
1662 for collate, numpunct.
1664 2001-02-06 Phil Edwards <pme@sources.redhat.com>
1666 * docs/html/configopts.html: Fix HTML markup.
1667 * docs/html/install.html: Bring up to date.
1668 * docs/html/17_intro/C++STYLE: Add global variable conventions.
1669 * docs/html/21_strings/howto.html: More notes.
1670 * docs/html/22_locale/howto.html: Fix HTML markup.
1671 * docs/html/27_io/howto.html: More notes.
1672 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
1673 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
1675 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
1677 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
1678 to match header files.
1679 (_S_output_float): Likewise.
1680 (_S_copy_streambufs): Likewise.
1682 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
1683 Phil Edwards <pme@sources.redhat.com>
1685 * include/bits/std_istream.h (op>> signed,unsigned char): Must
1686 use reinterpret_cast, not static_cast.
1688 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
1690 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
1691 * aclocal.m4: Regenerate.
1692 * configure: Regenerate.
1694 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1696 * include/bits/locale_facets.h (class moneypunct): Fix typos.
1697 * libsupc++/pure.cc: Revert.
1699 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1701 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
1702 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
1703 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
1704 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
1705 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
1706 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
1707 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
1708 * aclocal.m4: Regenerate.
1709 * configure: Regenerate.
1711 2001-02-05 Mark Mitchell <mark@codesourcery.com>
1713 * include/bits/locale_facets.tcc: Remove `static' keyword on
1714 function definitions.
1715 * include/bits/std_streambuf.h: Likewise.
1716 * src/Makefile.am: Remove use of -fimplicit-templates.
1717 * src/Makefile.in: Regenerated.
1718 * src/locale-inst.cc: Explicitly instantiate more functions.
1719 * src/misc-inst.cc: Likewise.
1720 * src/string-inst.cc: Likewise.
1722 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1724 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
1725 macro. Consolidate all the bits to do with where includes might be
1727 * aclocal.m4: Regenerate.
1728 * configure.in: Use it.
1729 * configure: Regenerate.
1730 * src/Makefile.am (targetincludep): Use simplified rules.
1731 (targetincludep): Rename gxx_target_include_dir.
1732 (myincludep): Rename gxx_include_dir.
1733 * src/Makefile.in: Regenerate.
1734 * libsupc++/Makefile.am: Use simplified rules.
1735 * libsupc++/Makefile.in: Regenerate.
1737 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1739 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
1740 * include/c_std/bits/std_cctype.h: Same.
1741 * include/c_std/bits/std_cassert.h: Same.
1742 * include/c_std/bits/std_cstdarg.h: Same.
1743 * include/c_std/bits/std_cstddef.h: Same.
1745 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
1747 * include/c_std/bits/std_ctime.h: Same.
1748 * include/c_std/bits/std_clocale.h: Same.
1749 * include/c_std/bits/std_cmath.h: Same.
1750 * include/c_std/bits/std_csetjmp.h: Same.
1751 * include/c_std/bits/std_csignal.h: Same.
1752 * include/c_std/bits/std_cstring.h: Same.
1753 * include/c_std/bits/std_cstdlib.h: Same.
1754 * include/c_std/bits/std_cwchar.h: Same.
1756 2001-02-05 Phil Edwards <pme@sources.redhat.com>
1758 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
1760 2001-02-05 Mark Mitchell <mark@codesourcery.com>
1762 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
1763 (string::_S_construct): Likewise.
1765 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
1767 * testsuite/config/default.exp: New file.
1768 * testsuite/config: New directory.
1770 2001-02-04 Mark Mitchell <mark@codesourcery.com>
1772 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
1773 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
1774 whenever !__GXX_MERGED_TYPEINFO_NAMES.
1775 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
1777 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
1778 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1780 * Makefile.am (mkinstalldirs): Set.
1781 * src/Makefile.am (mkinstalldirs): Set.
1782 * libmath/Makefile.am (mkinstalldirs): Set.
1783 * libsup++/Makefile.am (mkinstalldirs): Set.
1784 * libio/Makefile.am (mkinstalldirs): Set.
1785 * */Makefile.in: Regenerate.
1787 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
1789 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
1790 * include/bits/localefwd.h: More initialization cleanups.
1792 2001-02-03 Jeffrey A Law <law@cygnus.com>
1794 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
1795 correctly targets with 16bit ints.
1796 (_S_ios_openmode_end): Similarly.
1797 (_S_ios_iostate_end): Similarly.
1798 (_S_ios_Seekdir_end): Similarly.
1800 2001-02-02 Phil Edwards <pme@sources.redhat.com>
1802 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
1804 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
1806 * configure.in (toplevel_srcdir, auxdir): Set.
1807 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
1808 * aclocal.m4, configure, Makefile.in: Rebuilt.
1809 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
1810 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
1811 * libsupc++-v3/Makefile.in: Rebuilt.
1812 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
1813 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
1815 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
1817 * config/c_locale_generic.cc: Remove langinfo include.
1819 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
1821 Preliminary named locales.
1822 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
1823 * aclocal.m4: Regenerate.
1824 * configure.in: Use it.
1825 * configure: Regerate.
1826 * src/Makefile.am (sources): Add c++locale.cc.
1827 (build_headers): Add c++locale.h.
1828 * src/Makefile.in: Regenerate.
1829 * config/c_locale_gnu.h: New file.
1830 * config/c_locale_gnu.cc: New file. Non-inline member functions
1831 for named locales, gnu-specific.
1832 * config/c_locale_generic.h: New file.
1833 * config/c_locale_generic.cc: New file. Non-inline member
1834 functions for named locales, generic version.
1835 * docs/html/configopts.html: Add documentation on new options.
1837 * include/bits/locale_facets.h (class _Messages): Remove.
1838 (class _Moneypunct): Remove.
1839 * src/locale-inst.cc: Remove.
1841 * include/bits/locale_facets.h (class _Collate): Remove.
1842 * src/locale-inst.cc (std): Remove.
1843 * src/locale.cc: And here.
1845 * include/bits/localefwd.h (locale::_M_coalesce): New
1846 function. Correctly put together multi-name locales.
1847 (_Impl(const _Impl&, category, size_t)): Remove.
1849 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
1851 (_M_normalize_category_names): Remove.
1852 (_M_replace_categories): Fix.
1854 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
1855 (locale::_Impl::_M_construct_ctype): Remove.
1856 (locale::_Impl::_M_construct_monetary): Remove.
1857 (locale::_Impl::_M_construct_numeric): Remove.
1858 (locale::_Impl::_M_construct_time): Remove.
1859 (locale::_Impl::_M_construct_messages): Remove.
1861 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
1862 (_Use_facet_failure_handle): Remove.
1863 * src/locale.cc: Remove definitions.
1864 * src/locale-inst.cc: And here.
1866 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
1868 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
1869 create and error-check underlying locale object.
1870 (locale::facet::_S_destroy_c_locale): Add, take care of properly
1871 tearing down underlying locale object.
1872 * include/bits/localefwd.h (locale::facet): Declare.
1873 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
1874 correctness, as glibc apparently has incorrect info in it. Test
1875 with it when it works again.....
1877 * include/bits/localefwd.h (locale::_Impl::__vec_string):
1878 Remove. Number of categories is fixed at six, so just simplify and
1879 make this an array of strings.
1880 (locale::_Impl::_M_has_name): Remove.
1881 (locale::_Impl::_M_name): Remove.
1882 (locale::_Impl::_M_category_names): Turns into...
1883 (locale::_Impl::_M_names): ...this.
1884 (locale::_Impl::_M_has_same_name()): New function.
1885 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
1886 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
1888 * src/locale.cc (locale::name()): Construct mangled name
1889 accurately reflecting combined locale categories.
1891 * src/locale.cc (locale::classic()): Don't initialize here.
1892 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
1893 __refs, bool __has_name, string __str): Do it here.
1895 * include/bits/localefwd.h: _S_categories_num to
1896 _S_num_categories. _S_facets_num to _S_num_facets.
1897 (locale::id::id()): Explicitly set _M_index to zero.
1898 * src/locale.cc: Same.
1900 * src/locale.cc: (locale::locale(const char*)): Construct named
1903 * src/locale.cc: Remove numpunct_byname ctors.
1904 * testsuite/22_locale/numpunct_byname.cc: New file.
1905 * testsuite/22_locale/numpunct.cc: New file.
1907 * include/bits/localefwd.h (class locale): Change data members to
1908 protected, from private.
1909 (_Impl::_M_get_c_locale): Add member function.
1910 (locale::facet::_M_get_global_impl()): Add member function.
1911 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
1912 a __c_locale pointer.
1913 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
1915 * testsuite/22_locale/members.cc: New file, test name and combine.
1917 * include/bits/locale_facets.h (class numpunct): Remove class
1918 _Punct and _Numpunct. Rewrite class numpunct to be correct for
1920 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
1921 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
1922 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
1923 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
1924 * testsuite/22_locale/numpunct_char_members.cc: New file.
1926 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
1928 * testsuite/README: Add more comment.
1929 * testsuite/lib/libstdc++.exp: Tweak comment.
1931 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
1933 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
1935 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
1937 * testsuite/21_strings/inserters_extractors.cc: Remove
1938 explicit reference to 'testsuite/'.
1940 2001-01-25 Richard Henderson <rth@redhat.com>
1942 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
1943 bits. Fixes Tru64 build issues.
1945 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1947 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
1948 (use ${MAKE-make}, not ${MAKE:-make}).
1949 * aclocal.m4, configure: Regenerate.
1951 2001-01-25 Mark Mitchell <mark@codesourcery.com>
1953 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
1956 * src/Makefile.am (sources): Add globals.cc.
1957 * src/Makefile.in: Regenerated.
1958 * src/globals.cc: New file.
1959 * src/ios.cc (cin): Don't define here, just declare extern.
1968 2001-01-25 Phil Edwards <pme@sources.redhat.com>
1970 * include/bits/std_iterator.h: Do not include stl_relops.h.
1971 * include/bits/std_numeric.h: Ditto.
1972 * include/bits/stl_algobase.h: Ditto.
1973 * include/bits/stl_relops.h: Add comment warning about problems.
1975 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
1977 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
1978 in testcases. Prepare for the DejaGnu based framework.
1979 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
1980 directory -- it is now mkcheck working directory.
1981 * tests_flags.in: Remove reference to $(top_srcdir). Use
1983 * Makefile.am (check, check-install): Change mkcheck invocation
1985 * Makefile.in: Regenerate.
1987 2001-01-24 Mark Mitchell <mark@codesourcery.com>
1989 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
1990 (__always_swap): Likewise.
1992 2001-01-23 Chris Demetriou <cgd@broadcom.com>
1994 * libsupc++/exception_support.cc (__terminate_func): Remove
1996 (__terminate_func_ptr): New typedef.
1997 (__terminate, __terminate_set_func): New extern function
1999 (std::terminate): Use __terminate function.
2000 (std::set_terminate): Use __terminate_set_func function.
2002 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
2004 * configure.target: Just use os_include_dir always.
2005 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
2006 Link atomicity files and ctype files here.
2007 * configure: Regenerate.
2008 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
2009 (GLIBCPP_ENABLE_ATOMICITY): Remove.
2010 * aclocal.m4: Regenerate.
2012 2001-01-23 Chris Demetriou <cgd@broadcom.com>
2014 * configure.in: Place definition of MULTISUBDIR in
2015 libsupc++/Makefile as is done for src/Makefile.
2016 * configure: Regenerate.
2018 2001-01-23 Phil Edwards <pme@sources.redhat.com>
2020 * acinclude.m4: Cosmetic changes only.
2021 * aclocal.m4: Regenerated.
2022 * configure: Regenerated.
2023 * configure.target: Update documented list of changed variables.
2024 * docs/html/install.html: Fix typo.
2025 * docs/html/20_util/howto.html: More notes on auto_ptr.
2026 * docs/html/27_io/howto.html: More notes on streabufs.
2027 * docs/html/faq/index.html: Add rel_ops problem and mention the
2028 DEC as(1) .subsection difficulty.
2029 * docs/html/faq/index.txt: Regenerated.
2031 2001-01-23 Mark Mitchell <mark@codesourcery.com>
2033 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
2034 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
2035 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
2036 its already provided in config.target.
2037 * aclocal.m4: Regenerated.
2038 * configure: Likewise.
2039 * configure.target: Set ctype_include_dir for lots of systems.
2040 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
2041 * libsupc++/Makefile.in: Regenerated.
2043 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
2045 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
2048 * testsuite/README: Add comment.
2050 2001-01-21 Phil Edwards <pme@sources.redhat.com>
2052 * docs/html/configopts.html: Update for current status. Fix HTML.
2053 * docs/html/install.html: Update for current status.
2055 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2057 * testsuite/libstdc++.tests/tests.exp: New file.
2058 * testsuite/lib/libstdc++.exp: Itou.
2059 * testsuite/README: Itou.
2061 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
2063 * tests_flags.in: Just output the bare minimum to run tests.
2064 Let's the caller do its own arrangement.
2066 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
2069 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
2071 * testsuite/17_intro: Prepare testcases for new style DejaGnu
2074 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
2076 * testsuite/libstdc++.tests, testsuite/lib: New directories.
2078 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
2080 * mkcheck.in: Construct file names that match $objdir structure.
2081 * testsuite/27_io/filebuf_members-1.txt: New file.
2082 * testsuite/27_io/ifstream_members-1.txt: New file.
2083 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
2085 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
2086 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
2088 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2090 * testsuite/27_io/istream_sentry.cc (test02): Fix.
2092 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
2095 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
2096 * src/ios.cc (ios_base::failure): Make definitions match.
2097 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
2098 (class bad_cast): Same.
2099 * libsupc++/exception (class exception): Add throw specs.
2100 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
2101 (set_unexpected): Same.
2102 (uncaught_exception): Same.
2105 * docs/html/17_intro/C++STYLE (classname): Fix.
2107 2001-01-16 Mark Mitchell <mark@codesourcery.com>
2109 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
2110 Use it do explicitly instantiate predicate<T> and value<T> for
2113 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
2115 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
2116 uninitialized thinko in last change.
2118 2001-01-16 Mark Mitchell <mark@codesourcery.com>
2120 * libsupc++/exception_support.cc (__cp_pop_exception): Change
2123 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
2125 * docs/html/17_intro/C++STYLE (classname): Add more existing
2126 and stylish patterns.
2129 * include/bits/istream.tcc (istream::sentry::sentry()): Set
2130 failbit if the state of the stream is not good.
2131 * testsuite/27_io/istream_sentry.cc (test02): Add test.
2132 * testsuite/27_io/istream_manip.cc (test01): Modify.
2135 reported by Paolo Carlini <pcarlini@unitus.it>
2136 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
2137 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
2140 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
2141 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
2142 (xsgetn): Same. Simplify.
2143 * testsuite/27_io/streambuf.cc (test04): Add testcases.
2145 reported by Larry Evans <jcampbell3@prodigy.net>
2146 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
2147 equality with eof on returned value from overflow.
2149 2001-01-14 Andreas Jaeger <aj@suse.de>
2151 * libio/libio.h: Add test for glibc 2.0.
2153 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
2155 * config/os/djgpp/bits/*: Fix dates.
2157 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
2158 _CharT* __end, _CharT __c): Remove.
2159 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
2160 * include/bits/char_traits.h: Tweak.
2162 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
2164 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
2165 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
2167 * aclocal.m4: regenerated.
2168 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
2169 * configure: regenerated.
2170 * config/os/djgpp, config/os/djgpp/bits: new directories.
2171 * config/os/djgpp/bits/ctype_base.h,
2172 config/os/djgpp/bits/ctype_inline.h,
2173 config/os/djgpp/bits/ctype_noninline.h,
2174 config/os/djgpp/bits/os_defines.h: new files.
2176 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
2178 * include/c_std/bits/std_cstdio.h: Undef printf.
2180 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
2182 * src/ios.cc: Fix typo: change cout->wcout.
2184 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
2185 * src/Makefile.in: Regenerate.
2187 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2189 * include/bits/std_complex.h: Fix a typo.
2191 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
2194 Fixes for libstdc++/1576
2195 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
2196 file, move contents into....
2197 * src/ios.cc: ...Here. Put defines for iostreams objects and
2198 initialization routines into one file to simplify DSO interaction.
2199 * include/bits/std_iostream.h: Touch.
2200 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
2201 * src/Makefile.am (sources): Remove stdstreams.cc.
2202 * src/Makefile.in: Regenerate.
2204 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2206 * tests_flags.in (check_directory): Fix typo.
2208 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2210 * include/bits/std_complex.h: Fix a typo.
2212 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
2214 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
2215 code path:) Remove magic constants and restructure to handle
2216 ctype.h bit mask layout changes more gracefully. (Make fast
2217 code path:) Use __maskrune (), if available.
2218 (is): Remove special case for digit and xdigit masks.
2220 2001-01-09 Robert Lipe <robertlipe@usa.net>
2222 * include/c_std/bits/std_ctime.h: Undefine difftime.
2224 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
2226 * src/gen-num-limits.cc (signal_adapter): New template function.
2227 (signal_handler): Use it, instead of signal.
2228 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
2229 require both tests to trap to set trap_flag.
2231 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
2233 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
2234 initialize mbstate_t member, name offset data members *off, not pos.
2235 * include/bits/fstream.tcc (filebuf::filebuf): Same.
2237 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
2239 reported by Chris G. Demetriou <cgd@sibyte.com>
2240 * configure.in: Change -linux-* to -linux*.
2241 * configure: Regenerate.
2243 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
2245 Fix 27_io/filebuf_members.cc
2246 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
2247 const string& __name, category __cat, size_t __refs): Set
2248 _M_has_name with _M_name.
2249 * include/bits/localefwd.h (locale::operator!=): Protect member
2250 function call with this->.
2251 * src/locale.cc (locale::operator==): Make fast checks first.
2252 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
2254 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
2256 * src/ios.cc (ios_base::Init::Init): Initialize here.
2257 (ios_base::sync_with_stdio): Set here.
2259 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
2261 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
2262 systems that support it, call dup() before fdopen().
2264 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
2266 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
2267 * testsuite/17_intro/header_cwctype.cc (main): New file.
2269 * src/Makefile.am (base_headers): Change.
2270 * include/bits/std_string.h: And here.
2271 * include/bits/string.tcc: Tweaks, move to...
2272 * include/bits/basic_string.tcc: ...Here.
2273 * src/string-inst.cc: Simplify, just instantiate the whole class,
2274 not member-by-member.
2276 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
2278 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
2279 * aclocal.m4: Regenerate.
2280 * configure: Regenerate.
2282 * include/bits/c++config (__GLIBCPP__): Bump version number.
2284 * ChangeLog: Start new log for year 2001
2285 * ChangeLog-2000: New file.
2287 * docs/html/configopts.html: Make sure default values are current,
2290 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
2292 * include/c_std/bits/std_cwchar.h: Same.
2293 * testsuite/17_intro/header_cwchar.cc: Same.
2294 * include/c_std/bits/std_ctime.h: Same.
2295 * testsuite/17_intro/header_ctime.cc: Same.
2296 * include/c_std/bits/std_cstdlib.h: Same.
2297 Clean up undefs, make consistent with cwchar and cmath, etc.
2298 * testsuite/17_intro/header_cstdlib.cc: Same.
2299 * include/c_std/bits/std_cstdio.h: Same here.
2300 * testsuite/17_intro/header_cstring.cc: Same.
2301 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
2302 * testsuite/17_intro/header_cstring.cc: New file. Check for
2303 size_t in namespace std.
2305 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
2306 * acconfig.h (HAVE_MBSTATE_T): Add.
2307 * config.h.in: Regenerate.
2308 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
2310 * aclocal.m4: Regenerate.
2311 * configure: Regenerate.
2312 * testsuite/17_intro/headers_c++.cc: New file.
2313 * testsuite/17_intro/headers_c.cc: Small changes.
2315 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
2317 * tests_flags.in: Fix typo in usage.
2319 * tests_flags.in: Set target specific LIBS for cygwin.