1 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
3 * include/c_std/bits/std_cerrno.h (errno): Define macro from
4 identifier declared with external linkage, if needed.
5 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
6 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
8 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
10 * acinclude.m4 (CXX): Set to CXX so that in-directory
11 re-configures find the build compiler.
12 (GLIBCPP_ENABLE_C99): Do all tests with 0.0, not 0. Fixes
14 * aclocal.m4: Regenerate.
15 * configure: Regenerate.
17 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
19 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
20 support is enabled correctly before long long is activated.
21 * aclocal.m4: Regenerate.
22 * configure: Regenerate.
24 * include/backward/backward_warning.h: Format correctly.
26 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
27 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
28 * testsuite/26_numerics/c99_macros.cc: Remove.
30 2001-04-20 Phil Edwards <pme@sources.redhat.com>
32 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
35 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
37 * acconfig.h (_GLIBCPP_USE_C99): Add.
38 * config.h.in: Regenerate.
39 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
41 * aclocal.m4: Regenerate.
42 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
43 * configure: Regenerate.
44 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
45 * configure: Regenerate.
46 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
48 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
50 * include/c_std/bits/std_cstdlib.h: Same.
51 * docs/html/configopts.html: Update.
52 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
54 (test_c99_classify): Add.
55 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
56 (_ISOC99_SOURCE): Remove.
58 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
59 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
60 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
61 * aclocal.m4: Regenerate.
62 * configure: Regenerate.
64 2001-04-19 Phil Edwards <pme@sources.redhat.com>
66 * Makefile.am (doxygen): Assume script is missing execute perms.
67 * Makefile.in: Regenerated.
68 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
70 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
72 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
74 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
76 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
77 * testsuite/23_containers/set_operators.cc: Same.
79 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
81 (__GLIBCPP__): Bump from value of last release.
82 * include/bits/concept_check.h: Default to off, edit comments.
83 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
84 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
85 * src/Makefile.in: Regenerate.
87 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
89 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
90 Properly uglify member.
92 2001-04-13 Phil Edwards <pme@sources.redhat.com>
94 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
98 2001-04-13 Phil Edwards <pme@sources.redhat.com>
100 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
101 * include/bits/concept_check.h: Uglify.
102 * include/bits/stl_algo.h: Likewise.
103 * include/bits/stl_algobase.h: Likewise.
104 * include/bits/stl_deque.h: Likewise.
105 * include/bits/stl_heap.h: Likewise.
106 * include/bits/stl_iterator_base_funcs.h: Likewise.
107 * include/bits/stl_list.h: Likewise.
108 * include/bits/stl_map.h: Likewise.
109 * include/bits/stl_multimap.h: Likewise.
110 * include/bits/stl_multiset.h: Likewise.
111 * include/bits/stl_numeric.h: Likewise.
112 * include/bits/stl_queue.h: Likewise.
113 * include/bits/stl_set.h: Likewise.
114 * include/bits/stl_stack.h: Likewise.
115 * include/bits/stl_vector.h: Likewise.
116 * include/ext/hash_map: Likewise.
117 * include/ext/hash_set: Likewise.
118 * include/ext/slist: Likewise.
120 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
122 * testsuite/23_containers/set_operators.cc: Just try to compile.
124 * testsuite/23_containers/map_operators.cc: Same.
126 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
128 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
130 (dg-test): Revert rth's change.
132 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
134 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
135 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
137 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
139 * testsuite/README: Add DejaGnu specific documentation.
141 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
143 * acinclude.m4: AC_CHECK_TOOL for expect.
144 * aclocal.m4: Regenerate.
145 * configure: Regenerate.
146 * testsuite/Makefile.am (RUNTEST): Use substituted.
149 * configure.in: Remove xcompiling substitution.
150 * tests_flags.in (CROSS_LIB_PATH): Remove.
151 (xcompiling): Remove.
152 (CXX): Use substituted CXX.
154 2001-04-11 Richard Henderson <rth@redhat.com>
156 * testsuite/lib/libstdc++.exp: Specify path for output_file.
158 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
160 * include/bits/std_valarray.h(valarray<>::operator[]): Make
163 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
165 * testsuite/25_algorithms/equal.cc: New test.
167 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
169 * stl_algobase.h (std::equal): avoid use of possibly-undefined
170 operator != (one line patch).
172 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
174 * include/backward/backward_warning.h: Re-enable.
176 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
177 Alexandre Oliva <aoliva@redhat.com>
179 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
181 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
183 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
184 * testsuite/26_numerics/c99_macros.cc: Add test.
186 2001-04-06 Phil Edwards <pme@sources.redhat.com>
188 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
189 * docs/html/faq/index.txt: Regenerated.
191 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
193 * include/backward/backward_warning.h: Temporarily disable until
194 g++ testsuite changes go in.
195 * tests_flags.in (CROSS_LIB_PATH): Add.
197 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
199 Warn when using backward headers.
200 * include/backward/algo.h: Include warning file.
201 * include/backward/vector.h: Same.
202 * include/backward/tree.h: Same.
203 * include/backward/tempbuf.h: Same.
204 * include/backward/strstream: Same.
205 * include/backward/streambuf.h: Same.
206 * include/backward/stream.h: Same.
207 * include/backward/stack.h: Same.
208 * include/backward/slist.h: Same.
209 * include/backward/set.h: Same.
210 * include/backward/rope.h:
211 * include/backward/queue.h: Same.
212 * include/backward/pair.h: Same.
213 * include/backward/ostream.h: Same.
214 * include/backward/new.h: Same.
215 * include/backward/multiset.h: Same.
216 * include/backward/multimap.h: Same.
217 * include/backward/map.h: Same.
218 * include/backward/list.h: Same.
219 * include/backward/iterator.h: Same.
220 * include/backward/istream.h: Same.
221 * include/backward/iostream.h:
222 * include/backward/iomanip.h:
223 * include/backward/heap.h: Same.
224 * include/backward/hashtable.h:
225 * include/backward/hash_set.h:
226 * include/backward/hash_map.h:
227 * include/backward/function.h:
228 * include/backward/fstream.h:
229 * include/backward/deque.h:
230 * include/backward/defalloc.h: Same.
231 * include/backward/complex.h: Same.
232 * include/backward/bvector.h:
233 * include/backward/alloc.h:
234 * include/backward/algobase.h: Same.
236 * include/backward/backward_warning.h: New file.
237 * src/Makefile.am (backward_headers): Add backward_warning.h
238 * src/Makefile.in: Regenerate.
240 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
242 * src/Makefile.am (myinstalldirs): Make sure backward directory is
244 (myinstallheaders): Install backward headers in backward directory.
245 * src/Makefile.in: Regenerate.
247 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
249 Prepare for libstdc++-2.92.
250 * docs/html/17_intro/RELEASE-NOTES (New): Update.
251 * docs/html/configopts.html: Fix formatting.
252 * README (file): Updates.
253 * include/bits/c++config (__GLIBCPP__): Update.
255 2001-04-05 Phil Edwards <pme@sources.redhat.com>
257 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
259 2001-04-04 Phil Edwards <pme@sources.redhat.com>
261 * docs/doxygen/user.cfg.in: Extract all non-private members;
262 reduce confusing documentation output.
264 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
266 * include/backward/fstream.h: Add missing semicolons.
268 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
270 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
271 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
272 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
273 (ios_base::Init::_S_ios_create): New.
274 (ios_base::Init::_S_ios_destroy): New.
275 * include/bits/std_fstream.h: Change ctor args.
276 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
277 (ios_base::Init::~Init): Use _S_ios_destroy.
278 (ios_base::sync_with_stdio): Use new members.
279 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
282 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
284 * include/backward/fstream.h: Expose streampos to global
287 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
289 * include/bits/stl_iterator_base_types.h: Fix typo
291 2001-04-03 Andreas Schwab <schwab@suse.de>
293 * include/backward/fstream.h: Define filebuf and wfilebuf.
295 2001-04-02 Phil Edwards <pme@sources.redhat.com>
297 New concept checking implementation.
298 * docs/html/19_diagnostics/howto.html: Document.
299 * docs/html/17_intro/concept_check.diff: New file, for reference.
300 * include/bits/boost_concept_check.h: New file from Boost.
301 * include/bits/c++config: Update comments.
303 * include/bits/concept_check.h: New file.
304 * include/bits/concept_checks.h: Removed.
305 * include/bits/container_concepts.h: Removed.
306 * include/bits/sequence_concepts.h: Removed.
307 * include/bits/stl_iterator_base.h: Removed; split into...
308 * include/bits/stl_iterator_base_funcs.h: ...this new file...
309 * include/bits/stl_iterator_base_types.h: ...and this new file.
311 * include/bits/sbuf_iter.h: Update to use new implementation.
312 * include/bits/std_iterator.h: Likewise.
313 * include/bits/std_memory.h: Likewise.
314 * include/bits/stl_algo.h: Likewise.
315 * include/bits/stl_algobase.h: Likewise.
316 * include/bits/stl_construct.h: Likewise.
317 * include/bits/stl_deque.h: Likewise.
318 * include/bits/stl_heap.h: Likewise.
319 * include/bits/stl_list.h: Likewise.
320 * include/bits/stl_map.h: Likewise.
321 * include/bits/stl_multimap.h: Likewise.
322 * include/bits/stl_multiset.h: Likewise.
323 * include/bits/stl_numeric.h: Likewise.
324 * include/bits/stl_queue.h: Likewise.
325 * include/bits/stl_set.h: Likewise.
326 * include/bits/stl_stack.h: Likewise.
327 * include/bits/stl_uninitialized.h: Likewise.
328 * include/bits/stl_vector.h: Likewise.
329 * include/ext/hash_map: Likewise.
330 * include/ext/hash_set: Likewise.
331 * include/ext/slist: Likewise.
332 * include/ext/stl_hashtable.h: Likewise.
334 * src/Makefile.am (base_headers): Update list of headers.
335 * Makefile.in: Regenerated.
336 * src/Makefile.in: Regenerated.
337 * libio/Makefile.in: Regenerated.
338 * libmath/Makefile.in: Regenerated.
339 * libsupc++/Makefile.in: Regenerated.
340 * testsuite/Makefile.in: Regenerated.
342 * docs/html/install.html: Update contact information.
343 * docs/html/17_intro/howto.html: Ditto.
344 * docs/html/18_support/howto.html: Ditto.
345 * docs/html/20_util/howto.html: Ditto.
346 * docs/html/21_strings/howto.html: Ditto.
347 * docs/html/22_locale/howto.html: Ditto.
348 * docs/html/23_containers/howto.html: Ditto.
349 * docs/html/24_iterators/howto.html: Ditto.
350 * docs/html/25_algorithms/howto.html: Ditto.
351 * docs/html/26_numerics/howto.html: Ditto.
352 * docs/html/27_io/howto.html: Ditto.
353 * docs/html/faq/index.html: Ditto, plus info on new checking code.
354 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
355 * docs/html/faq/index.txt: Regenerated.
357 2001-04-02 Zack Weinberg <zackw@stanford.edu>
359 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
360 messages with $which_library as well as $tool_flags and
361 ${dg-extra-tool-flags}. Factor out annotation text into
364 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
366 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
367 * include/c_std/bits/std_cwchar.h: Same.
368 * testsuite/21_strings/c_strings.cc: Add.
370 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
372 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
374 2001-04-01 Zack Weinberg <zackw@stanford.edu>
376 * tests_flags.in: Use test a = b, not test a == b which is not
379 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
381 * configure.target: Remove duplicate aix entry.
383 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
385 * include/ext/stl_bvector.h: Move to...
386 * include/bits/stl_vector.h: ...here.
387 * include/ext/bvector: Move to...
388 * include/backward/bvector.h: ...here.
389 * include/bits/std_vector.h: Change stl_bvector include.
390 * include/bits/std_queue.h: Remove bvector include.
391 * include/ext/tree: Insert using rb_tree, move to...
392 * include/backward/tree.h: ...here.
393 * include/backward/hash_map.h: Include ext/hash_map.
394 * include/backward/hash_set.h: Include ext/hash_set.
395 * include/backward/queue.h: New file.
396 * include/backward/stack.h: Edit.
397 * include/backward/algo.h: Same.
398 * include/backward/algobase.h: Same.
399 * include/backward/alloc.h: Same.
400 * include/backward/function.h: Same.
401 * include/backward/iomanip.h: Same.
402 * include/backward/istream.h: Same.
403 * include/backward/iterator.h: Same.
404 * include/backward/list.h: Same.
405 * include/backward/map.h: Same.
406 * include/backward/multimap.h: Same.
407 * include/backward/multiset.h: Same.
408 * include/backward/ostream.h: Same.
409 * include/backward/pair.h: Same
410 * include/backward/rope.h: Same.
411 * include/backward/set.h: Same.
412 * include/backward/stream.h: Same.
413 * include/backward/strstream.h: Same.
414 * include/backward/tempbuf.h: Same.
415 * src/Makefile.am (ext_headers): Edit.
416 * src/Makefile.in: Regenerate.
417 * testsuite/ext/headers.cc (main): Fix.
420 2001-03-30 Phil Edwards <pme@sources.redhat.com>
422 * tests_flags.in (LIBS): Pass correct path for installed testing.
424 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
426 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
427 * tests_flags.in (CXX): Construct here.
428 (static_fail): Don't remove compile.out. Format with spaces.
429 (INCLUDES): Deal with xcompiling.
430 * configure.in (xcompiling): Substitute.
431 * testsuite/Makefile.am: Snake libjava configury.
432 * testsuite/Makefile.in: Regenerate.
433 * testsuite/23_containers/map_operators.cc: Tweaks.
434 * testsuite/23_containers/set_operators.cc: Tweaks.
436 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
438 Enable dejagnu testing framework.
439 * configure.in: Generate testsuite/Makefile.
440 * configure: Regenerate.
441 * Makefile.am (check-install): Change rule from this...
442 (check-script-install): ...to this.
443 (check): Change rule from this...
444 (check-script):...to this.
445 * Makefile.in: Regenerate.
447 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
449 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
451 (LIBTOOL): Let automake take care of its definition.
452 * libsupc++/Makefile.in: Rebuilt.
454 2001-03-28 Richard Henderson <rth@redhat.com>
456 IA-64 ABI Exception Handling:
457 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
458 * configure.in: Use it.
459 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
460 * libsupc++/Makefile.am (sources): Update files list.
461 * libsupc++/Makefile.in: Regenerate.
462 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
463 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
464 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
465 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
466 * libsupc++/exception_support.cc: Remove.
467 * libsupc++/exception_support.h: Remove.
468 * libsupc++/pure.cc: Use std::terminate.
469 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
470 (__is_pointer): Remove.
471 * libsupc++/unwind-cxx.h: New file.
472 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
474 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
476 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
478 * src/Makefile.am (CXXLINK): Likewise.
479 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
481 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
483 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
485 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
487 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
490 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
492 * include/bits/basic_file.h (get_fileno): Remove.
494 (_M_cfile_created): Add.
495 (basic_file::basic_file(__c_file_type*, openmode): Add.
496 (basic_file::basic_file(int, const char*, openmode): Remove.
497 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
498 const char*, ios_base::openmode): Don't allocate
499 internal buffers. Turn off internal buffers.
500 (basic_filebuf::overflow): Remove test for null buffer.
501 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
502 * include/bits/streambuf.cc: Tweak.
503 * include/bits/std_ostream.h: Tweak.
504 * config/basic_file_libio.h: Same.
505 * config/basic_file_stdio.h: Same.
506 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
507 * testsuite/27_io/filebuf_members.cc: Tweaks.
508 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
510 2001-03-24 Phil Edwards <pme@sources.redhat.com>
512 * Makefile.am: New targets, doxygen and doxygen-maint.
513 * Makefile.in: Regenerated.
514 * docs/doxygen/run_doxygen: Finally implemented.
515 * docs/doxygen/maint.cfg.in: New file.
516 * docs/doxygen/user.cfg.in: New file.
518 2001-03-24 Phil Edwards <pme@sources.redhat.com>
520 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
521 * src/Makefile.am: Replace leading spaces with tabs on continuation
523 * aclocal.m4: Regenerated.
525 * Makefile.in: Ditto.
526 * src/Makefile.in: Ditto.
527 * libio/Makefile.in: Ditto.
528 * libmath/Makefile.in: Ditto.
529 * libsupc++/Makefile.in: Ditto.
531 2001-03-24 Phil Edwards <pme@sources.redhat.com>
533 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
534 concept-checking code and current status of same.
535 * docs/html/ext/howto.html: Ditto.
536 * docs/html/faq/index.html: Ditto.
537 * docs/html/faq/index.txt: Regenerated.
539 2001-03-24 Phil Edwards <pme@sources.redhat.com>
541 * include/bits/std_bitset.h: Include ostream and istream headers
544 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
546 * include/bits/ostream.tcc: Use __builtin_alloca.
548 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
550 * src/misc-inst.cc (__sink_unused_warning): Move to...
551 * src/locale-inst.cc (__sink_unused_warning): Move to...
552 * src/stl-inst.cc: Here.
553 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
556 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
558 * intclude/bits/basic_file.h: Fix typos in comments.
560 2001-03-20 Richard Henderson <rth@redhat.com>
562 * src/gen-num-limits.cc: Instantiate for wchar_t.
563 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
565 2001-03-20 Jason Merrill <jason@redhat.com>
567 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
568 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
569 * libsupc++/cxxabi.h: Declare it.
571 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
573 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
574 signal_func with an unspecified argument list.
576 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
578 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
580 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
582 * include/bits/basic_string.tcc (operator+): Fix thinko.
584 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
587 * include/bits/std_streambuf.h: Remove cached locale facets.
588 (basic_streambuf::_M_buf_fctype): Remove.
589 (basic_streambuf::~basic_streambuf): Remove here.
590 (basic_streambuf::basic_streambuf): Same.
591 (basic_streambuf::imbue): Same.
592 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
593 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
594 (basic_filebuf::~basic_filebuf()): Remove here.
595 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
596 (basic_filebuf::imbue): Same.
597 * include/bits/localefwd.h (_Count_ones): Remove.
598 (locale::_S_num_categories): Just use 6, since this doesn't
599 actually change, ever.
600 * include/bits/locale_facets.tcc (has_facet): Simplify.
602 * testsuite/27_io/filebuf.cc (test06): Add tests.
604 2001-03-13 Steve Ellcey <sje@cup.hp.com>
606 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
607 match HP-UX ctype.h header file.
609 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
611 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
612 duplicate definitions of __dj_ctype_*
614 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
616 * libsupc++/new: Remove pragma interface.
617 * libsupc++/typeinfo: Same.
618 * libsupc++/exception: Same.
619 * libsupc++/new_handler.cc: Remove pragma implementation.
620 (bad_alloc::~bad_alloc()): Add.
621 * libsupc++/exception_support.cc: Same.
622 (exception::~exception): Add.
623 (bad_exception::~bad_exception): Add.
624 * libsupc++/tinfo.cc: Same.
625 (bad_cast::~bad_cast): Add.
626 (bad_typeid::~bad_typeid): Add.
628 2001-03-13 Phil Edwards <pme@sources.redhat.com>
630 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
632 2001-03-12 Felix Lee <flee@redhat.com>
634 * mkcheck.in: workaround for bash 2.01 IFS bug.
636 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
638 Fixups for -fno-for-scope
639 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
640 * src/valarray-inst.cc (__gslice_to_index): Same.
642 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
644 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
645 prior to trapping signal (UnixWare 7 workaround).
647 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
649 * include/backward/hashtable.h: Same.
650 * include/backward/rope.h: Fix include.
652 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
654 * include/backward/vector.h: Include std_vector.h.
656 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
657 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
660 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
662 * include/ext/stl_hashtable.h: Change type of __n to size_t
663 * include/backward/bvector.h: Include <ext/stl_bvector.h>
665 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
667 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
668 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
669 Use streamsize, not int_type.
671 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
673 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
676 2001-03-08 Andreas Schwab <schwab@suse.de>
678 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
680 * aclocal.m4, configure: Regenerated.
682 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
684 * include/bits/std_iosfwd.h: Remove string forward decls here.
685 * include/bits/stringfwd.h: Add forward decls for char_traits
687 * config/c_io_libio.h (wstreamoff): Delete.
688 * config/c_io_stdio.h (wstreamoff): Same.
689 * include/bits/char_traits.h: Use streamoff not wstreamoff for
690 char_traits<wchar_t>::off_type.
691 Remove duplicate typedefs.
692 * include/bits/fpos.h: Define streampos/wstreampos here.
693 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
696 Changeup output files.
697 * testsuite/27_io/istream_unformatted.cc: Change output files.
698 * testsuite/27_io/istream_seeks-1.txt: Add.
699 * testsuite/27_io/istream_seeks-2.tst: Add.
700 * testsuite/27_io/istream_seeks-1.tst: Add.
701 * testsuite/27_io/istream_unformatted-2.tst: Delete.
702 * testsuite/27_io/istream_unformatted-3.tst: Delete.
703 * testsuite/27_io/istream_unformatted-3.txt: Delete.
705 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
707 Add Irix 5.2, 6.3 support.
708 * config/os/irix/bits: Renamed to...
709 * config/os/irix/irix6.5/bits: this.
710 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
711 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
712 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
713 * config/os/irix/irix5.2/bits/ctype_noninline.h
714 (ctype<char>::ctype): Initialize _M_table with __ctype.
715 * configure.target: Adjust.
717 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
720 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
721 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
723 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
724 (*__pf)(__ios_type&)): Same.
725 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
726 (*__pf)(ios_base&))): Same.
727 * testsuite/27_io/istream_extractor_other.cc: Add tests.
728 * testsuite/27_io/istream_manip.cc (test01): Fix.
730 2001-03-06 Nathan Myers <ncm@cantrip.org>
731 Benjamin Kosnik <bkoz@redhat.com>
733 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
734 * testsuite/17_intro/header_cerrno.cc (test01): New file.
735 * testsuite/17_intro/header_cassert.cc (test01): New file.
736 * testsuite/17_intro/header_cstddef.cc (test01): New file.
737 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
738 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
740 2001-03-05 scott snyder <snyder@fnal.gov>
743 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
745 * include/c_std/bits/std_cstdlib.h: ... to here.
746 * testsuite/17_intro/header_cstdlib.cc: Add test.
748 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
750 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
752 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
754 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
755 definition. Replace enum with static const variables.
757 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
758 throw specification, fix typos, use <static_cast>.
759 (ctype<char>::scan_is): remove throw specification.
760 (ctype<char>::scan_not): likewise.
762 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
763 (ctype<char>::do_toupper(char)): use <static_cast>.
764 (ctype<char>::do_toupper(char *, const char *)): likewise.
765 (ctype<char>::do_tolower(char)): likewise.
766 (ctype<char>::do_tolower(char *, const char *)): likewise.
768 2001-03-04 Phil Edwards <pme@sources.redhat.com>
770 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
771 * include/backward/algo.h: Use std not __STD. Remove unneeded
772 macros and "never happens" code. Adjust to C++STYLE guidelines.
773 * include/backward/algobase.h: Likewise.
774 * include/backward/alloc.h: Likewise.
775 * include/backward/bvector.h: Likewise.
776 * include/backward/deque.h: Likewise.
777 * include/backward/function.h: Likewise.
778 * include/backward/hash_map.h: Likewise.
779 * include/backward/hash_set.h: Likewise.
780 * include/backward/hashtable.h: Likewise.
781 * include/backward/heap.h: Likewise.
782 * include/backward/iterator.h: Likewise.
783 * include/backward/list.h: Likewise.
784 * include/backward/map.h: Likewise.
785 * include/backward/multimap.h: Likewise.
786 * include/backward/multiset.h: Likewise.
787 * include/backward/pair.h: Likewise.
788 * include/backward/rope.h: Likewise.
789 * include/backward/set.h: Likewise.
790 * include/backward/slist.h: Likewise.
791 * include/backward/stack.h: Likewise.
792 * include/backward/strstream: Likewise.
793 * include/backward/tempbuf.h: Likewise.
794 * include/backward/tree.h: Likewise.
795 * include/backward/vector.h: Likewise.
796 * include/bits/basic_ios.h: Likewise.
797 * include/bits/basic_ios.tcc: Likewise.
798 * include/bits/basic_string.h: Likewise.
799 * include/bits/c++config: Likewise.
800 * include/bits/concept_checks.h: Likewise.
801 * include/bits/fpos.h: Likewise.
802 * include/bits/fstream.tcc: Likewise.
803 * include/bits/functexcept.h: Likewise.
804 * include/bits/ios_base.h: Likewise.
805 * include/bits/istream.tcc: Likewise.
806 * include/bits/mask_array.h: Likewise.
807 * include/bits/ostream.tcc: Likewise.
808 * include/bits/pthread_allocimpl.h: Likewise.
809 * include/bits/sbuf_iter.h: Likewise.
810 * include/bits/slice.h: Likewise.
811 * include/bits/slice_array.h: Likewise.
812 * include/bits/sstream.tcc: Likewise.
813 * include/bits/std_bitset.h: Likewise.
814 * include/bits/std_fstream.h: Likewise.
815 * include/bits/std_iomanip.h: Likewise.
816 * include/bits/std_ios.h: Likewise.
817 * include/bits/std_istream.h: Likewise.
818 * include/bits/std_iterator.h: Likewise.
819 * include/bits/std_memory.h: Likewise.
820 * include/bits/std_ostream.h: Likewise.
821 * include/bits/std_sstream.h: Likewise.
822 * include/bits/std_streambuf.h: Likewise.
823 * include/bits/std_string.h: Likewise.
824 * include/bits/std_valarray.h: Likewise.
825 * include/bits/stl_algo.h: Likewise.
826 * include/bits/stl_algobase.h: Likewise.
827 * include/bits/stl_alloc.h: Likewise.
828 * include/bits/stl_construct.h: Likewise.
829 * include/bits/stl_deque.h: Likewise.
830 * include/bits/stl_function.h: Likewise.
831 * include/bits/stl_heap.h: Likewise.
832 * include/bits/stl_iterator.h: Likewise.
833 * include/bits/stl_iterator_base.h: Likewise.
834 * include/bits/stl_list.h: Likewise.
835 * include/bits/stl_map.h: Likewise.
836 * include/bits/stl_multimap.h: Likewise.
837 * include/bits/stl_multiset.h: Likewise.
838 * include/bits/stl_numeric.h: Likewise.
839 * include/bits/stl_pair.h: Likewise.
840 * include/bits/stl_pthread_alloc.h: Likewise.
841 * include/bits/stl_queue.h: Likewise.
842 * include/bits/stl_raw_storage_iter.h: Likewise.
843 * include/bits/stl_relops.h: Likewise.
844 * include/bits/stl_set.h: Likewise.
845 * include/bits/stl_stack.h: Likewise.
846 * include/bits/stl_tempbuf.h: Likewise.
847 * include/bits/stl_threads.h: Likewise.
848 * include/bits/stl_tree.h: Likewise.
849 * include/bits/stl_uninitialized.h: Likewise.
850 * include/bits/stl_vector.h: Likewise.
851 * include/bits/streambuf.tcc: Likewise.
852 * include/bits/type_traits.h: Likewise.
853 * include/bits/valarray_meta.h: Likewise.
854 * include/ext/bvector: Likewise.
855 * include/ext/hash_map: Likewise.
856 * include/ext/hash_set: Likewise.
857 * include/ext/ropeimpl.h: Likewise.
858 * include/ext/slist: Likewise.
859 * include/ext/stl_bvector.h: Likewise.
860 * include/ext/stl_hash_fun.h: Likewise.
861 * include/ext/stl_hashtable.h: Likewise.
862 * include/ext/stl_rope.h: Likewise.
863 * src/complex_io.cc: Likewise.
864 * src/ios.cc: Likewise.
865 * src/locale-inst.cc: Likewise.
866 * src/locale.cc: Likewise.
867 * src/localename.cc: Likewise.
868 * src/misc-inst.cc: Likewise.
869 * src/stdexcept.cc: Likewise.
870 * src/stl-inst.cc: Likewise.
871 * src/strstream.cc: Likewise.
872 * src/valarray-inst.cc: Likewise.
874 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
876 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
878 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
880 * include/bits/istream.tcc: change type of __extracted to __size_type
882 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
884 * src/wstring-inst.cc: New file.
885 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
886 (libinst_wstring_la_SOURCES): Remove.
887 (libstdc___la_LIBADD): Remove libinst_wstring_la.
888 (sources): Add wstring-inst.cc
889 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
892 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
894 * src/locale.cc: initialise __ret with zero
895 * src/strstream.cc:cast gptr to int_type
897 2001-03-01 Phil Edwards <pme@sources.redhat.com>
899 * docs/html/faq/index.html: Update broken links.
900 * docs/html/faq/index.txt: Regenerated.
902 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
905 * configure.target: Change irix* to irix6.5* in target_os table.
907 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
910 * include/bits/c++config (__GLIBCPP__): Bump number in
911 anticipation of 2.92.
913 * include/bits/codecvt.h: Fix typo.
914 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
916 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
917 instantiations for stdio model.
919 2001-02-28 Phil Edwards <pme@sources.redhat.com>
921 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
922 and GLIBCPP_CXXFLAGS as unused variables.
923 * configure.host: Likewise.
924 * configure.target: Likewise.
925 * aclocal.m4: Regenerated.
926 * configure: Regenerated.
927 * Makefile.in: Regenerated.
928 * libio/Makefile.in: Regenerated.
929 * libmath/Makefile.in: Regenerated.
930 * libsupc++/Makefile.in: Regenerated.
931 * src/Makefile.in: Regenerated.
933 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
936 * include/bits/basic_file.h: Include basic_file_model.h.
937 * config/c_io_libio.cc: Move to...
938 * config/basic_file_libio.cc: Here.
939 * config/basic_file_libio.h: New file.
940 * config/c_io_stdio.cc: Move to...
941 * config/basic_file_stdio.cc: Here.
942 * config/basic_file_stdio.h: New file.
943 * config/c_io_libio.h: Tweak.
944 * config/c_io_stdio.h: Tweak.
945 * src/Makefile.am (build_headers): Add basic_file_model.h.
946 (sources): Add basic_file.cc, remove c++io.cc.
947 * src/Makefile.in: Regenerate.
948 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
949 basic_file_model.h and basic_file.cc.
950 * aclocal.m4: Regenerate.
951 * configure: Regenerate.
952 * testsuite/27_io/filebuf.cc (test05): Add regression.
954 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
957 * config/cpu/alpha/bits/atomicity.h: Change.
958 * config/cpu/arm/bits/atomicit3y.h
959 * config/cpu/generic/bits/atomicity.h
960 * config/cpu/i386/bits/atomicity.h
961 * config/cpu/i486/bits/atomicity.h
962 * config/cpu/ia64/bits/atomicity.h
963 * config/cpu/powerpc/bits/atomicity.h
964 * config/cpu/sparc/sparc32/bits/atomicity.h
965 * config/cpu/sparc/sparc64/bits/atomicity.h
966 * config/os/aix/bits/atomicity.h
967 * config/os/irix/bits/atomicity.h
969 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
971 * include/bits/std_stdexcept.h (runtime_error): Make string
974 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
977 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
981 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
982 string object, not reference.
983 (runtime_error::runtime_error): Same.
984 * testsuite/19_diagnostics/stdexceptions.cc: New file.
986 2001-02-26 Phil Edwards <pme@sources.redhat.com>
988 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
989 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
990 diagnostics. Remove WFMT_FLAGS.
991 * configure.in: Replace WFMT_FLAGS with diagnostics options.
992 * libsupc++/Makefile.am: Likewise.
993 * src/Makefile.am: Likewise.
994 * aclocal.m4: Regenerated.
995 * configure: Regenerated.
996 * Makefile.in: Regenerated.
997 * libio/Makefile.in: Regenerated.
998 * libmath/Makefile.in: Regenerated.
999 * libsupc++/Makefile.in: Regenerated.
1000 * src/Makefile.in: Regenerated.
1002 2001-02-26 Phil Edwards <pme@sources.redhat.com>
1004 Fixes libstdc++/2079
1005 * include/backward/iomanip.h: Expose <ios> manipulators to global
1007 * include/backward/iostream.h: Also expose std::ws.
1009 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
1011 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
1013 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
1015 * include/bits/codecvt.h: Use __builtin_alloca.
1016 * include/bits/ostream.tcc: Same.
1017 * include/bits/fstream.tcc: Same.
1019 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
1021 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
1023 2001-02-23 David Edelsohn <dje@watson.ibm.com>
1025 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
1027 2001-02-23 Phil Edwards <pme@sources.redhat.com>
1030 * include/backward/iostream.h: Expose std::flush in old headers.
1032 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1034 * mknumeric_limits: Remove special-casing on target. Use gcc
1035 instead of g++ to build gen-num-limits.cc
1037 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
1039 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
1041 * include/bits/codecvt.h: Use alloca instead of __extension__ for
1043 * include/bits/ostream.tcc: Same.
1044 * include/bits/std_ostream.h: Same.
1045 * include/bits/fstream.tcc: Same.
1046 * include/bits/locale_facets.tcc: Add typename.
1047 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
1049 2001-02-21 Phil Edwards <pme@sources.redhat.com>
1051 * tests_flags.in: Remove -n flag from call to echo.
1053 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
1055 * config/c_locale_gnu.h: Add clocale include.
1057 2001-02-20 Phil Edwards <pme@sources.redhat.com>
1059 * include/bits/stl_config.h: Remove file.
1060 * src/Makefile.am (base_headers): Remove from list.
1061 * configure: Regenerate.
1062 * Makefile.in: Ditto.
1063 * libio/Makefile.in: Ditto.
1064 * libmath/Makefile.in: Ditto.
1065 * libsupc++/Makefile.in: Ditto.
1066 * src/Makefile.in: Ditto.
1068 * include/bits/c++config: Move relevant macros to here.
1069 * include/backward/alloc.h: Include c++config.h instead.
1070 * include/backward/function.h: Ditto.
1071 * include/backward/heap.h: Ditto.
1072 * include/backward/pair.h: Ditto.
1073 * include/bits/pthread_allocimpl.h: Ditto.
1074 * include/bits/std_functional.h: Ditto.
1075 * include/bits/std_iterator.h: Ditto.
1076 * include/bits/std_numeric.h: Ditto.
1077 * include/bits/std_utility.h: Ditto.
1078 * include/bits/stl_algobase.h: Ditto.
1079 * include/bits/type_traits.h: Ditto.
1080 * src/stl-inst.cc: Ditto.
1082 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1084 * include/bits/basic_file.h: Add #pragma system_header
1085 * include/bits/basic_ios.h: Ditto.
1086 * include/bits/basic_string.h: Ditto.
1087 * include/bits/char_traits.h: Ditto.
1088 * include/bits/codecvt.h: Ditto.
1089 * include/bits/cpp_type_traits.h: Ditto.
1090 * include/bits/fpos.h: Ditto.
1091 * include/bits/gslice.h: Ditto.
1092 * include/bits/gslice_array.h: Ditto.
1093 * include/bits/indirect_array.h: Ditto.
1094 * include/bits/ios_base.h: Ditto.
1095 * include/bits/limits_generic.h: Ditto.
1096 * include/bits/locale_facets.h: Ditto.
1097 * include/bits/localefwd.h: Ditto.
1098 * include/bits/mask_array.h: Ditto.
1099 * include/bits/sbuf_iter.h: Ditto.
1100 * include/bits/sequence_concepts.h: Ditto.
1101 * include/bits/slice.h: Ditto.
1102 * include/bits/slice_array.h: Ditto.
1103 * include/bits/std_algorithm.h: Likewise.
1104 * include/bits/std_bitset.h: Likewise.
1105 * include/bits/std_complex.h: Likewise.
1106 * include/bits/std_deque.h: Likewise.
1107 * include/bits/std_fstream.h: Likewise.
1108 * include/bits/std_functional.h: Likewise.
1109 * include/bits/std_iomanip.h: Likewise.
1110 * include/bits/std_ios.h: Likewise.
1111 * include/bits/std_iosfwd.h: Likewise.
1112 * include/bits/std_iostream.h: Likewise.
1113 * include/bits/std_istream.h: Likewise.
1114 * include/bits/std_iterator.h: Likewise.
1115 * include/bits/std_list.h: Likewise.
1116 * include/bits/std_locale.h: Likewise.
1117 * include/bits/std_map.h: Likewise.
1118 * include/bits/std_memory.h: Likewise.
1119 * include/bits/std_numeric.h: Likewise.
1120 * include/bits/std_ostream.h: Likewise.
1121 * include/bits/std_queue.h: Likewise.
1122 * include/bits/std_set.h: Likewise.
1123 * include/bits/std_sstream.h: Likewise.
1124 * include/bits/std_stack.h: Likewise.
1125 * include/bits/std_stdexcept.h: Likewise.
1126 * include/bits/std_streambuf.h: Likewise.
1127 * include/bits/std_string.h: Likewise.
1128 * include/bits/std_utility.h: Likewise.
1129 * include/bits/std_valarray.h: Likewise.
1130 * include/bits/std_vector.h: Likewise.
1131 * include/bits/stringfwd.h: Likewise.
1132 * include/bits/type_traits.h: Likewise.
1133 * include/bits/valarray_array.h: Likewise.
1134 * include/bits/valarray_meta.h: Likewise.
1136 2001-02-19 Andreas Jaeger <aj@suse.de>
1138 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
1141 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
1144 * include/bits/std_ostream.h: Replaced usage of
1145 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
1146 * include/bits/char_traits.h: Removed non-standard
1147 methods that cannot be used elsewhere.
1150 * include/bits/basic_ios.h: Uncommented #include of
1154 * include/bits/codecvt.h: See next...
1155 * include/bits/fstream.tcc: See next...
1156 * include/bits/ostream.tcc: Add __extension__
1157 to variable-length arrays.
1160 * include/bits/localefwd.h: Changed int counter type to size_t.
1163 * include/bits/std_fstream.h: Added typedef for __ctype_type.
1165 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
1167 * testsuite/21_strings/char_traits.cc: Move to ...
1168 * testsuite/21_strings/char_traits_requirements.cc: ..here.
1169 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
1170 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
1172 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
1174 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
1177 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
1179 * include/bits/c++config: Revert.
1181 2001-02-15 Mark Mitchell <mark@codesourcery.com>
1183 * include/bits/istream.tcc: Use ios_base::iostate in place of
1184 iostate throughout. Insert `typename' keyword where necessary.
1185 * include/bits/ostream.tcc: Insert `typename' keyword where
1188 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
1190 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
1191 Define so library is compliant.
1193 2001-02-15 Anthony Green <green@redhat.com>
1195 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
1197 * aclocal.m4: Regenerate.
1198 * configure: Regenerate.
1200 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
1202 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
1203 Include ieeefp.h for fpclass on UnixWare{2,7}.
1204 * aclocal.m4: Regenerate.
1205 * configure: Regenerate.
1206 * mkcheck.in (size_command): Do without GNU-grep when using
1209 2001-02-15 Mark Mitchell <mark@codesourcery.com>
1211 Remove old ABI support from libsupc++.
1212 * libsupc++/cxxabi.h: Remove conditionally compiled code.
1213 * libsupc++/exception_support.cc: Likewise.
1214 * libsupc++/pure.cc: Likewise.
1215 * libsupc++/tinfo.cc: Likewise.
1216 * libsupc++/tinfo.h: Likewise.
1217 * libsupc++/tinfo2.cc: Likewise.
1218 * libsupc++/typeinfo: Likewise.
1219 * libsupc++/vec.cc: Likewise.
1221 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
1223 Add support for -fno-exceptions.
1224 * include/bits/exception_support.h: Remove.
1225 * include/bits/basic_string.h: Remove exception_support.
1226 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
1228 (string::substr): Same.
1229 * include/bits/basic_string.tcc (string::reserve): Replace
1230 __LENGTHERROR with __throw_length_error.
1231 (string::_S_create): Same.
1232 (string::resize): Same.
1233 (string::_M_replace): Same.
1234 (string::replace): Same.
1235 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
1236 (string::compare): Same.
1237 * include/bits/stl_vector.h: Remove exception_support.
1238 * src/Makefile.am (base_headers): Remove here.
1239 * src/Makefile.in: Regenerate.
1241 * include/bits/stl_range_errors.h: Remove.
1242 * include/bits/stl_deque.h: Use __throw_range_error.
1243 * include/bits/std_deque.h: Include functexcept.h.
1244 * include/bits/std_vector.h: Same.
1245 * src/Makefile.am (base_headers): Remove here.
1246 * src/Makefile.in: Regenerate.
1247 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
1248 * include/ext/bvector: Remove stl_range_errors.h
1250 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
1252 * include/bits/functexcept.h: New file.
1253 * src/functexcept.cc: New file. Definitions for function-based
1255 * src/Makefile.am (sources): Add functexcept.cc.
1256 * src/Makefile.in: Regenerate.
1258 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
1261 * include/bits/localefwd.h: Include functexcept.h.
1262 * include/bits/std_iosfwd.h: Same.
1264 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
1265 throw basic_ios::failure.
1266 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
1267 Use __throw_exception_again.
1268 (filebuf::_M_filebuf_init): Same.
1269 * include/bits/streambuf.tcc (__copy_streambufs): Same.
1270 * include/bits/ostream.tcc (ostream::operator<<): Same.
1271 * include/bits/istream.tcc (istream::operator>>): Same.
1272 * include/bits/basic_string.tcc (string::_M_mutate): Same.
1273 (string::_S_construct): Same.
1274 (string::_M_clone): Same.
1275 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
1277 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
1278 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
1279 __throw_exception_again.
1280 (locale::_Imp::_Imp(string, size_t): Same.
1281 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
1282 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
1283 (locale::locale(const char*)): Use __throw_runtime_error.
1284 (locale::classic): Use __throw_exception_again.
1285 (locale::_S_normalize_category): Use __throw_runtime_error.
1287 * src/stdexcept.cc: Remove cruft.
1289 * libsupc++/exception_defines.h: New file.
1290 * libsupc++/new_opnt.cc: Include exception_defines.h.
1291 * libsupc++/vec.cc: Same.
1292 (__cxa_vec_new2): Use __throw_exception_again.
1293 (__cxa_vec_new3): Same.
1294 (__cxa_vec_ctor): Same.
1295 (__cxa_vec_delete3): Same.
1296 (__cxa_vec_cctor): Same.
1297 (__cxa_vec_delete2): Same.
1298 (__cxa_vec_dtor): Same.
1299 * libsupc++/exception_support.cc: Include exception_defines.h. Only
1300 compile exception-handling bits if __EXCEPTIONS is defined.
1301 Remove old ABI support.
1302 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
1303 std::__throw_bad_alloc() instead of throw bad_alloc.
1304 * libsupc++/Makefile.am: Add exception_defines.h.
1305 * libsupc++/Makefile.in: Reformat.
1306 * libsupc++/*: Format.
1308 2001-02-15 Phil Edwards <pme@sources.redhat.com>
1310 * docs/html/configopts.html: Minor updates and typo fixes.
1311 * docs/html/faq/index.html: Updates of the "not really bugs" list.
1312 * docs/html/faq/index.txt: Regenerated.
1314 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
1316 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
1317 dejagnu/dg.exp. Adapt to log options used to run testcases.
1319 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1321 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
1324 2001-02-13 Dirk Mueller <dmuell@gmx.net>
1325 Phil Edwards <pme@sources.redhat.com>
1327 * include/backward/function.h: Do not use rel_ops for older
1329 * include/backward/pair.h: Likewise.
1331 2001-02-12 Mark Mitchell <mark@codesourcery.com>
1333 * src/locale.cc: Remove bogus locale::id definitions.
1335 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1337 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
1338 not _DEFINE_VALARRAY_OPERATOR which is not existent.
1340 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
1341 thinko in member initialisation.
1343 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1345 * include/bits/std_valarray.h(valarray<>::shift): Avoid
1346 comparaison between signed and unsigned integer types.
1347 (valarray<>::cshift): Reformat.
1349 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
1351 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
1352 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
1353 * configure.in: Test for sigsetjmp.
1354 * configure, config.h.in: Rebuilt.
1356 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1358 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
1359 lengths and strides.
1360 (__gslice_to_index): Document.
1362 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1364 * include/bits/char_traits.h char_traits<char>::int_type: Change
1365 to `int' to match 21.1.3.1/2.
1367 * testsuite/21_strings/char_traits-int_type.C: New test.
1369 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
1371 * testsuite/Makefile.am: New file.
1373 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
1375 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
1377 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
1379 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
1381 2001-02-08 David Edelsohn <edelsohn@gnu.org>
1383 * configure.target (aix4*): Remove extra set of brackets.
1385 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
1388 * include/bits/stringfwd.h: New file.
1389 * include/bits/stl_string_fwd.h: Remove.
1390 * include/bits/localefwd.h: Remove declaration for allocator.
1391 * include/bits/std_iosfwd: Same.
1392 * include/bits/std_string.h: Include it.
1393 * include/bits/std_ios.h: Remove include.
1394 * include/bits/basic_string.h: Tweak.
1395 * libsupc++/new: Format.
1396 * src/Makefile.am (base_headers): Add stringfwd.h, remove
1398 * src/Makefile.in: Regenerate.
1399 * include/bits/std_stdexcept.h: Rewrite.
1400 * src/stdexcept.cc: Same.
1402 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
1404 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
1405 install locations too.
1406 * aclocal.m4: Regenerate.
1407 * configure.in: Remove USE_LIBDIR.
1408 * configure: Regenerate.
1409 * src/Makefile.am (toolexecdir): Simplify, use
1410 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
1411 * src/Makefile.in: Regenerate.
1412 * libsupc++/Makefile.am: Same.
1413 * libsupc++/Makefile.in: Regenerate.
1415 * src/Makefile.am: Just remove special rules for locale-inst.cc and
1416 misc-inst.cc as no longer necessary.
1418 Follow C++STYLE for naming non-static functions.
1419 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
1421 * include/bits/streambuf.tcc: Same.
1422 * include/bits/ostream.tcc: Same.
1423 * include/bits/istream.tcc: Same.
1424 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
1425 (_S_output_float): To __output_float.
1426 * include/bits/std_streambuf.h (_S_copy_streambufs): To
1428 * include/bits/locale_facets.tcc (_S_build_float_format): To
1429 __build_float_format.
1430 (_S_format): To __output_integer.
1431 (_S_fill): To __pad.
1432 * src/locale.cc: Same.
1433 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
1435 * include/bits/locale_facets.tcc (_S_group_digits): To
1437 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
1438 for collate, numpunct.
1440 2001-02-06 Phil Edwards <pme@sources.redhat.com>
1442 * docs/html/configopts.html: Fix HTML markup.
1443 * docs/html/install.html: Bring up to date.
1444 * docs/html/17_intro/C++STYLE: Add global variable conventions.
1445 * docs/html/21_strings/howto.html: More notes.
1446 * docs/html/22_locale/howto.html: Fix HTML markup.
1447 * docs/html/27_io/howto.html: More notes.
1448 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
1449 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
1451 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
1453 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
1454 to match header files.
1455 (_S_output_float): Likewise.
1456 (_S_copy_streambufs): Likewise.
1458 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
1459 Phil Edwards <pme@sources.redhat.com>
1461 * include/bits/std_istream.h (op>> signed,unsigned char): Must
1462 use reinterpret_cast, not static_cast.
1464 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
1466 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
1467 * aclocal.m4: Regenerate.
1468 * configure: Regenerate.
1470 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1472 * include/bits/locale_facets.h (class moneypunct): Fix typos.
1473 * libsupc++/pure.cc: Revert.
1475 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1477 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
1478 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
1479 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
1480 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
1481 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
1482 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
1483 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
1484 * aclocal.m4: Regenerate.
1485 * configure: Regenerate.
1487 2001-02-05 Mark Mitchell <mark@codesourcery.com>
1489 * include/bits/locale_facets.tcc: Remove `static' keyword on
1490 function definitions.
1491 * include/bits/std_streambuf.h: Likewise.
1492 * src/Makefile.am: Remove use of -fimplicit-templates.
1493 * src/Makefile.in: Regenerated.
1494 * src/locale-inst.cc: Explicitly instantiate more functions.
1495 * src/misc-inst.cc: Likewise.
1496 * src/string-inst.cc: Likewise.
1498 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1500 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
1501 macro. Consolidate all the bits to do with where includes might be
1503 * aclocal.m4: Regenerate.
1504 * configure.in: Use it.
1505 * configure: Regenerate.
1506 * src/Makefile.am (targetincludep): Use simplified rules.
1507 (targetincludep): Rename gxx_target_include_dir.
1508 (myincludep): Rename gxx_include_dir.
1509 * src/Makefile.in: Regenerate.
1510 * libsupc++/Makefile.am: Use simplified rules.
1511 * libsupc++/Makefile.in: Regenerate.
1513 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1515 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
1516 * include/c_std/bits/std_cctype.h: Same.
1517 * include/c_std/bits/std_cassert.h: Same.
1518 * include/c_std/bits/std_cstdarg.h: Same.
1519 * include/c_std/bits/std_cstddef.h: Same.
1521 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
1523 * include/c_std/bits/std_ctime.h: Same.
1524 * include/c_std/bits/std_clocale.h: Same.
1525 * include/c_std/bits/std_cmath.h: Same.
1526 * include/c_std/bits/std_csetjmp.h: Same.
1527 * include/c_std/bits/std_csignal.h: Same.
1528 * include/c_std/bits/std_cstring.h: Same.
1529 * include/c_std/bits/std_cstdlib.h: Same.
1530 * include/c_std/bits/std_cwchar.h: Same.
1532 2001-02-05 Phil Edwards <pme@sources.redhat.com>
1534 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
1536 2001-02-05 Mark Mitchell <mark@codesourcery.com>
1538 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
1539 (string::_S_construct): Likewise.
1541 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
1543 * testsuite/config/default.exp: New file.
1544 * testsuite/config: New directory.
1546 2001-02-04 Mark Mitchell <mark@codesourcery.com>
1548 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
1549 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
1550 whenever !__GXX_MERGED_TYPEINFO_NAMES.
1551 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
1553 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
1554 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1556 * Makefile.am (mkinstalldirs): Set.
1557 * src/Makefile.am (mkinstalldirs): Set.
1558 * libmath/Makefile.am (mkinstalldirs): Set.
1559 * libsup++/Makefile.am (mkinstalldirs): Set.
1560 * libio/Makefile.am (mkinstalldirs): Set.
1561 * */Makefile.in: Regenerate.
1563 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
1565 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
1566 * include/bits/localefwd.h: More initialization cleanups.
1568 2001-02-03 Jeffrey A Law <law@cygnus.com>
1570 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
1571 correctly targets with 16bit ints.
1572 (_S_ios_openmode_end): Similarly.
1573 (_S_ios_iostate_end): Similarly.
1574 (_S_ios_Seekdir_end): Similarly.
1576 2001-02-02 Phil Edwards <pme@sources.redhat.com>
1578 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
1580 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
1582 * configure.in (toplevel_srcdir, auxdir): Set.
1583 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
1584 * aclocal.m4, configure, Makefile.in: Rebuilt.
1585 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
1586 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
1587 * libsupc++-v3/Makefile.in: Rebuilt.
1588 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
1589 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
1591 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
1593 * config/c_locale_generic.cc: Remove langinfo include.
1595 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
1597 Preliminary named locales.
1598 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
1599 * aclocal.m4: Regenerate.
1600 * configure.in: Use it.
1601 * configure: Regerate.
1602 * src/Makefile.am (sources): Add c++locale.cc.
1603 (build_headers): Add c++locale.h.
1604 * src/Makefile.in: Regenerate.
1605 * config/c_locale_gnu.h: New file.
1606 * config/c_locale_gnu.cc: New file. Non-inline member functions
1607 for named locales, gnu-specific.
1608 * config/c_locale_generic.h: New file.
1609 * config/c_locale_generic.cc: New file. Non-inline member
1610 functions for named locales, generic version.
1611 * docs/html/configopts.html: Add documentation on new options.
1613 * include/bits/locale_facets.h (class _Messages): Remove.
1614 (class _Moneypunct): Remove.
1615 * src/locale-inst.cc: Remove.
1617 * include/bits/locale_facets.h (class _Collate): Remove.
1618 * src/locale-inst.cc (std): Remove.
1619 * src/locale.cc: And here.
1621 * include/bits/localefwd.h (locale::_M_coalesce): New
1622 function. Correctly put together multi-name locales.
1623 (_Impl(const _Impl&, category, size_t)): Remove.
1625 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
1627 (_M_normalize_category_names): Remove.
1628 (_M_replace_categories): Fix.
1630 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
1631 (locale::_Impl::_M_construct_ctype): Remove.
1632 (locale::_Impl::_M_construct_monetary): Remove.
1633 (locale::_Impl::_M_construct_numeric): Remove.
1634 (locale::_Impl::_M_construct_time): Remove.
1635 (locale::_Impl::_M_construct_messages): Remove.
1637 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
1638 (_Use_facet_failure_handle): Remove.
1639 * src/locale.cc: Remove definitions.
1640 * src/locale-inst.cc: And here.
1642 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
1644 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
1645 create and error-check underlying locale object.
1646 (locale::facet::_S_destroy_c_locale): Add, take care of properly
1647 tearing down underlying locale object.
1648 * include/bits/localefwd.h (locale::facet): Declare.
1649 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
1650 correctness, as glibc apparently has incorrect info in it. Test
1651 with it when it works again.....
1653 * include/bits/localefwd.h (locale::_Impl::__vec_string):
1654 Remove. Number of categories is fixed at six, so just simplify and
1655 make this an array of strings.
1656 (locale::_Impl::_M_has_name): Remove.
1657 (locale::_Impl::_M_name): Remove.
1658 (locale::_Impl::_M_category_names): Turns into...
1659 (locale::_Impl::_M_names): ...this.
1660 (locale::_Impl::_M_has_same_name()): New function.
1661 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
1662 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
1664 * src/locale.cc (locale::name()): Construct mangled name
1665 accurately reflecting combined locale categories.
1667 * src/locale.cc (locale::classic()): Don't initialize here.
1668 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
1669 __refs, bool __has_name, string __str): Do it here.
1671 * include/bits/localefwd.h: _S_categories_num to
1672 _S_num_categories. _S_facets_num to _S_num_facets.
1673 (locale::id::id()): Explicitly set _M_index to zero.
1674 * src/locale.cc: Same.
1676 * src/locale.cc: (locale::locale(const char*)): Construct named
1679 * src/locale.cc: Remove numpunct_byname ctors.
1680 * testsuite/22_locale/numpunct_byname.cc: New file.
1681 * testsuite/22_locale/numpunct.cc: New file.
1683 * include/bits/localefwd.h (class locale): Change data members to
1684 protected, from private.
1685 (_Impl::_M_get_c_locale): Add member function.
1686 (locale::facet::_M_get_global_impl()): Add member function.
1687 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
1688 a __c_locale pointer.
1689 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
1691 * testsuite/22_locale/members.cc: New file, test name and combine.
1693 * include/bits/locale_facets.h (class numpunct): Remove class
1694 _Punct and _Numpunct. Rewrite class numpunct to be correct for
1696 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
1697 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
1698 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
1699 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
1700 * testsuite/22_locale/numpunct_char_members.cc: New file.
1702 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
1704 * testsuite/README: Add more comment.
1705 * testsuite/lib/libstdc++.exp: Tweak comment.
1707 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
1709 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
1711 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
1713 * testsuite/21_strings/inserters_extractors.cc: Remove
1714 explicit reference to 'testsuite/'.
1716 2001-01-25 Richard Henderson <rth@redhat.com>
1718 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
1719 bits. Fixes Tru64 build issues.
1721 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1723 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
1724 (use ${MAKE-make}, not ${MAKE:-make}).
1725 * aclocal.m4, configure: Regenerate.
1727 2001-01-25 Mark Mitchell <mark@codesourcery.com>
1729 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
1732 * src/Makefile.am (sources): Add globals.cc.
1733 * src/Makefile.in: Regenerated.
1734 * src/globals.cc: New file.
1735 * src/ios.cc (cin): Don't define here, just declare extern.
1744 2001-01-25 Phil Edwards <pme@sources.redhat.com>
1746 * include/bits/std_iterator.h: Do not include stl_relops.h.
1747 * include/bits/std_numeric.h: Ditto.
1748 * include/bits/stl_algobase.h: Ditto.
1749 * include/bits/stl_relops.h: Add comment warning about problems.
1751 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
1753 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
1754 in testcases. Prepare for the DejaGnu based framework.
1755 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
1756 directory -- it is now mkcheck working directory.
1757 * tests_flags.in: Remove reference to $(top_srcdir). Use
1759 * Makefile.am (check, check-install): Change mkcheck invocation
1761 * Makefile.in: Regenerate.
1763 2001-01-24 Mark Mitchell <mark@codesourcery.com>
1765 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
1766 (__always_swap): Likewise.
1768 2001-01-23 Chris Demetriou <cgd@broadcom.com>
1770 * libsupc++/exception_support.cc (__terminate_func): Remove
1772 (__terminate_func_ptr): New typedef.
1773 (__terminate, __terminate_set_func): New extern function
1775 (std::terminate): Use __terminate function.
1776 (std::set_terminate): Use __terminate_set_func function.
1778 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
1780 * configure.target: Just use os_include_dir always.
1781 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
1782 Link atomicity files and ctype files here.
1783 * configure: Regenerate.
1784 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
1785 (GLIBCPP_ENABLE_ATOMICITY): Remove.
1786 * aclocal.m4: Regenerate.
1788 2001-01-23 Chris Demetriou <cgd@broadcom.com>
1790 * configure.in: Place definition of MULTISUBDIR in
1791 libsupc++/Makefile as is done for src/Makefile.
1792 * configure: Regenerate.
1794 2001-01-23 Phil Edwards <pme@sources.redhat.com>
1796 * acinclude.m4: Cosmetic changes only.
1797 * aclocal.m4: Regenerated.
1798 * configure: Regenerated.
1799 * configure.target: Update documented list of changed variables.
1800 * docs/html/install.html: Fix typo.
1801 * docs/html/20_util/howto.html: More notes on auto_ptr.
1802 * docs/html/27_io/howto.html: More notes on streabufs.
1803 * docs/html/faq/index.html: Add rel_ops problem and mention the
1804 DEC as(1) .subsection difficulty.
1805 * docs/html/faq/index.txt: Regenerated.
1807 2001-01-23 Mark Mitchell <mark@codesourcery.com>
1809 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
1810 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
1811 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
1812 its already provided in config.target.
1813 * aclocal.m4: Regenerated.
1814 * configure: Likewise.
1815 * configure.target: Set ctype_include_dir for lots of systems.
1816 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
1817 * libsupc++/Makefile.in: Regenerated.
1819 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
1821 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
1824 * testsuite/README: Add comment.
1826 2001-01-21 Phil Edwards <pme@sources.redhat.com>
1828 * docs/html/configopts.html: Update for current status. Fix HTML.
1829 * docs/html/install.html: Update for current status.
1831 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1833 * testsuite/libstdc++.tests/tests.exp: New file.
1834 * testsuite/lib/libstdc++.exp: Itou.
1835 * testsuite/README: Itou.
1837 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
1839 * tests_flags.in: Just output the bare minimum to run tests.
1840 Let's the caller do its own arrangement.
1842 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
1845 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
1847 * testsuite/17_intro: Prepare testcases for new style DejaGnu
1850 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
1852 * testsuite/libstdc++.tests, testsuite/lib: New directories.
1854 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
1856 * mkcheck.in: Construct file names that match $objdir structure.
1857 * testsuite/27_io/filebuf_members-1.txt: New file.
1858 * testsuite/27_io/ifstream_members-1.txt: New file.
1859 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
1861 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
1862 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
1864 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1866 * testsuite/27_io/istream_sentry.cc (test02): Fix.
1868 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
1871 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
1872 * src/ios.cc (ios_base::failure): Make definitions match.
1873 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
1874 (class bad_cast): Same.
1875 * libsupc++/exception (class exception): Add throw specs.
1876 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
1877 (set_unexpected): Same.
1878 (uncaught_exception): Same.
1881 * docs/html/17_intro/C++STYLE (classname): Fix.
1883 2001-01-16 Mark Mitchell <mark@codesourcery.com>
1885 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
1886 Use it do explicitly instantiate predicate<T> and value<T> for
1889 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
1891 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
1892 uninitialized thinko in last change.
1894 2001-01-16 Mark Mitchell <mark@codesourcery.com>
1896 * libsupc++/exception_support.cc (__cp_pop_exception): Change
1899 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
1901 * docs/html/17_intro/C++STYLE (classname): Add more existing
1902 and stylish patterns.
1905 * include/bits/istream.tcc (istream::sentry::sentry()): Set
1906 failbit if the state of the stream is not good.
1907 * testsuite/27_io/istream_sentry.cc (test02): Add test.
1908 * testsuite/27_io/istream_manip.cc (test01): Modify.
1911 reported by Paolo Carlini <pcarlini@unitus.it>
1912 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
1913 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
1916 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
1917 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
1918 (xsgetn): Same. Simplify.
1919 * testsuite/27_io/streambuf.cc (test04): Add testcases.
1921 reported by Larry Evans <jcampbell3@prodigy.net>
1922 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
1923 equality with eof on returned value from overflow.
1925 2001-01-14 Andreas Jaeger <aj@suse.de>
1927 * libio/libio.h: Add test for glibc 2.0.
1929 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
1931 * config/os/djgpp/bits/*: Fix dates.
1933 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
1934 _CharT* __end, _CharT __c): Remove.
1935 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
1936 * include/bits/char_traits.h: Tweak.
1938 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
1940 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
1941 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
1943 * aclocal.m4: regenerated.
1944 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
1945 * configure: regenerated.
1946 * config/os/djgpp, config/os/djgpp/bits: new directories.
1947 * config/os/djgpp/bits/ctype_base.h,
1948 config/os/djgpp/bits/ctype_inline.h,
1949 config/os/djgpp/bits/ctype_noninline.h,
1950 config/os/djgpp/bits/os_defines.h: new files.
1952 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
1954 * include/c_std/bits/std_cstdio.h: Undef printf.
1956 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
1958 * src/ios.cc: Fix typo: change cout->wcout.
1960 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
1961 * src/Makefile.in: Regenerate.
1963 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1965 * include/bits/std_complex.h: Fix a typo.
1967 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
1970 Fixes for libstdc++/1576
1971 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
1972 file, move contents into....
1973 * src/ios.cc: ...Here. Put defines for iostreams objects and
1974 initialization routines into one file to simplify DSO interaction.
1975 * include/bits/std_iostream.h: Touch.
1976 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
1977 * src/Makefile.am (sources): Remove stdstreams.cc.
1978 * src/Makefile.in: Regenerate.
1980 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1982 * tests_flags.in (check_directory): Fix typo.
1984 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1986 * include/bits/std_complex.h: Fix a typo.
1988 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
1990 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
1991 code path:) Remove magic constants and restructure to handle
1992 ctype.h bit mask layout changes more gracefully. (Make fast
1993 code path:) Use __maskrune (), if available.
1994 (is): Remove special case for digit and xdigit masks.
1996 2001-01-09 Robert Lipe <robertlipe@usa.net>
1998 * include/c_std/bits/std_ctime.h: Undefine difftime.
2000 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
2002 * src/gen-num-limits.cc (signal_adapter): New template function.
2003 (signal_handler): Use it, instead of signal.
2004 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
2005 require both tests to trap to set trap_flag.
2007 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
2009 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
2010 initialize mbstate_t member, name offset data members *off, not pos.
2011 * include/bits/fstream.tcc (filebuf::filebuf): Same.
2013 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
2015 reported by Chris G. Demetriou <cgd@sibyte.com>
2016 * configure.in: Change -linux-* to -linux*.
2017 * configure: Regenerate.
2019 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
2021 Fix 27_io/filebuf_members.cc
2022 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
2023 const string& __name, category __cat, size_t __refs): Set
2024 _M_has_name with _M_name.
2025 * include/bits/localefwd.h (locale::operator!=): Protect member
2026 function call with this->.
2027 * src/locale.cc (locale::operator==): Make fast checks first.
2028 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
2030 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
2032 * src/ios.cc (ios_base::Init::Init): Initialize here.
2033 (ios_base::sync_with_stdio): Set here.
2035 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
2037 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
2038 systems that support it, call dup() before fdopen().
2040 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
2042 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
2043 * testsuite/17_intro/header_cwctype.cc (main): New file.
2045 * src/Makefile.am (base_headers): Change.
2046 * include/bits/std_string.h: And here.
2047 * include/bits/string.tcc: Tweaks, move to...
2048 * include/bits/basic_string.tcc: ...Here.
2049 * src/string-inst.cc: Simplify, just instantiate the whole class,
2050 not member-by-member.
2052 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
2054 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
2055 * aclocal.m4: Regenerate.
2056 * configure: Regenerate.
2058 * include/bits/c++config (__GLIBCPP__): Bump version number.
2060 * ChangeLog: Start new log for year 2001
2061 * ChangeLog-2000: New file.
2063 * docs/html/configopts.html: Make sure default values are current,
2066 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
2068 * include/c_std/bits/std_cwchar.h: Same.
2069 * testsuite/17_intro/header_cwchar.cc: Same.
2070 * include/c_std/bits/std_ctime.h: Same.
2071 * testsuite/17_intro/header_ctime.cc: Same.
2072 * include/c_std/bits/std_cstdlib.h: Same.
2073 Clean up undefs, make consistent with cwchar and cmath, etc.
2074 * testsuite/17_intro/header_cstdlib.cc: Same.
2075 * include/c_std/bits/std_cstdio.h: Same here.
2076 * testsuite/17_intro/header_cstring.cc: Same.
2077 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
2078 * testsuite/17_intro/header_cstring.cc: New file. Check for
2079 size_t in namespace std.
2081 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
2082 * acconfig.h (HAVE_MBSTATE_T): Add.
2083 * config.h.in: Regenerate.
2084 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
2086 * aclocal.m4: Regenerate.
2087 * configure: Regenerate.
2088 * testsuite/17_intro/headers_c++.cc: New file.
2089 * testsuite/17_intro/headers_c.cc: Small changes.
2091 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
2093 * tests_flags.in: Fix typo in usage.
2095 * tests_flags.in: Set target specific LIBS for cygwin.