1 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
3 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
4 support is enabled correctly before long long is activated.
5 * aclocal.m4: Regenerate.
6 * configure: Regenerate.
8 * include/backward/backward_warning.h: Format correctly.
10 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
11 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
12 * testsuite/26_numerics/c99_macros.cc: Remove.
14 2001-04-20 Phil Edwards <pme@sources.redhat.com>
16 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
19 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
21 * acconfig.h (_GLIBCPP_USE_C99): Add.
22 * config.h.in: Regenerate.
23 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
25 * aclocal.m4: Regenerate.
26 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
27 * configure: Regenerate.
28 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
29 * configure: Regenerate.
30 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
32 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
34 * include/c_std/bits/std_cstdlib.h: Same.
35 * docs/html/configopts.html: Update.
36 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
38 (test_c99_classify): Add.
39 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
40 (_ISOC99_SOURCE): Remove.
42 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
43 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
44 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
45 * aclocal.m4: Regenerate.
46 * configure: Regenerate.
48 2001-04-19 Phil Edwards <pme@sources.redhat.com>
50 * Makefile.am (doxygen): Assume script is missing execute perms.
51 * Makefile.in: Regenerated.
52 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
54 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
56 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
58 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
60 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
61 * testsuite/23_containers/set_operators.cc: Same.
63 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
65 (__GLIBCPP__): Bump from value of last release.
66 * include/bits/concept_check.h: Default to off, edit comments.
67 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
68 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
69 * src/Makefile.in: Regenerate.
71 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
73 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
74 Properly uglify member.
76 2001-04-13 Phil Edwards <pme@sources.redhat.com>
78 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
82 2001-04-13 Phil Edwards <pme@sources.redhat.com>
84 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
85 * include/bits/concept_check.h: Uglify.
86 * include/bits/stl_algo.h: Likewise.
87 * include/bits/stl_algobase.h: Likewise.
88 * include/bits/stl_deque.h: Likewise.
89 * include/bits/stl_heap.h: Likewise.
90 * include/bits/stl_iterator_base_funcs.h: Likewise.
91 * include/bits/stl_list.h: Likewise.
92 * include/bits/stl_map.h: Likewise.
93 * include/bits/stl_multimap.h: Likewise.
94 * include/bits/stl_multiset.h: Likewise.
95 * include/bits/stl_numeric.h: Likewise.
96 * include/bits/stl_queue.h: Likewise.
97 * include/bits/stl_set.h: Likewise.
98 * include/bits/stl_stack.h: Likewise.
99 * include/bits/stl_vector.h: Likewise.
100 * include/ext/hash_map: Likewise.
101 * include/ext/hash_set: Likewise.
102 * include/ext/slist: Likewise.
104 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
106 * testsuite/23_containers/set_operators.cc: Just try to compile.
108 * testsuite/23_containers/map_operators.cc: Same.
110 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
112 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
114 (dg-test): Revert rth's change.
116 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
118 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
119 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
121 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
123 * testsuite/README: Add DejaGnu specific documentation.
125 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
127 * acinclude.m4: AC_CHECK_TOOL for expect.
128 * aclocal.m4: Regenerate.
129 * configure: Regenerate.
130 * testsuite/Makefile.am (RUNTEST): Use substituted.
133 * configure.in: Remove xcompiling substitution.
134 * tests_flags.in (CROSS_LIB_PATH): Remove.
135 (xcompiling): Remove.
136 (CXX): Use substituted CXX.
138 2001-04-11 Richard Henderson <rth@redhat.com>
140 * testsuite/lib/libstdc++.exp: Specify path for output_file.
142 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
144 * include/bits/std_valarray.h(valarray<>::operator[]): Make
147 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
149 * testsuite/25_algorithms/equal.cc: New test.
151 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
153 * stl_algobase.h (std::equal): avoid use of possibly-undefined
154 operator != (one line patch).
156 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
158 * include/backward/backward_warning.h: Re-enable.
160 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
161 Alexandre Oliva <aoliva@redhat.com>
163 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
165 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
167 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
168 * testsuite/26_numerics/c99_macros.cc: Add test.
170 2001-04-06 Phil Edwards <pme@sources.redhat.com>
172 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
173 * docs/html/faq/index.txt: Regenerated.
175 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
177 * include/backward/backward_warning.h: Temporarily disable until
178 g++ testsuite changes go in.
179 * tests_flags.in (CROSS_LIB_PATH): Add.
181 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
183 Warn when using backward headers.
184 * include/backward/algo.h: Include warning file.
185 * include/backward/vector.h: Same.
186 * include/backward/tree.h: Same.
187 * include/backward/tempbuf.h: Same.
188 * include/backward/strstream: Same.
189 * include/backward/streambuf.h: Same.
190 * include/backward/stream.h: Same.
191 * include/backward/stack.h: Same.
192 * include/backward/slist.h: Same.
193 * include/backward/set.h: Same.
194 * include/backward/rope.h:
195 * include/backward/queue.h: Same.
196 * include/backward/pair.h: Same.
197 * include/backward/ostream.h: Same.
198 * include/backward/new.h: Same.
199 * include/backward/multiset.h: Same.
200 * include/backward/multimap.h: Same.
201 * include/backward/map.h: Same.
202 * include/backward/list.h: Same.
203 * include/backward/iterator.h: Same.
204 * include/backward/istream.h: Same.
205 * include/backward/iostream.h:
206 * include/backward/iomanip.h:
207 * include/backward/heap.h: Same.
208 * include/backward/hashtable.h:
209 * include/backward/hash_set.h:
210 * include/backward/hash_map.h:
211 * include/backward/function.h:
212 * include/backward/fstream.h:
213 * include/backward/deque.h:
214 * include/backward/defalloc.h: Same.
215 * include/backward/complex.h: Same.
216 * include/backward/bvector.h:
217 * include/backward/alloc.h:
218 * include/backward/algobase.h: Same.
220 * include/backward/backward_warning.h: New file.
221 * src/Makefile.am (backward_headers): Add backward_warning.h
222 * src/Makefile.in: Regenerate.
224 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
226 * src/Makefile.am (myinstalldirs): Make sure backward directory is
228 (myinstallheaders): Install backward headers in backward directory.
229 * src/Makefile.in: Regenerate.
231 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
233 Prepare for libstdc++-2.92.
234 * docs/html/17_intro/RELEASE-NOTES (New): Update.
235 * docs/html/configopts.html: Fix formatting.
236 * README (file): Updates.
237 * include/bits/c++config (__GLIBCPP__): Update.
239 2001-04-05 Phil Edwards <pme@sources.redhat.com>
241 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
243 2001-04-04 Phil Edwards <pme@sources.redhat.com>
245 * docs/doxygen/user.cfg.in: Extract all non-private members;
246 reduce confusing documentation output.
248 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
250 * include/backward/fstream.h: Add missing semicolons.
252 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
254 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
255 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
256 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
257 (ios_base::Init::_S_ios_create): New.
258 (ios_base::Init::_S_ios_destroy): New.
259 * include/bits/std_fstream.h: Change ctor args.
260 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
261 (ios_base::Init::~Init): Use _S_ios_destroy.
262 (ios_base::sync_with_stdio): Use new members.
263 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
266 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
268 * include/backward/fstream.h: Expose streampos to global
271 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
273 * include/bits/stl_iterator_base_types.h: Fix typo
275 2001-04-03 Andreas Schwab <schwab@suse.de>
277 * include/backward/fstream.h: Define filebuf and wfilebuf.
279 2001-04-02 Phil Edwards <pme@sources.redhat.com>
281 New concept checking implementation.
282 * docs/html/19_diagnostics/howto.html: Document.
283 * docs/html/17_intro/concept_check.diff: New file, for reference.
284 * include/bits/boost_concept_check.h: New file from Boost.
285 * include/bits/c++config: Update comments.
287 * include/bits/concept_check.h: New file.
288 * include/bits/concept_checks.h: Removed.
289 * include/bits/container_concepts.h: Removed.
290 * include/bits/sequence_concepts.h: Removed.
291 * include/bits/stl_iterator_base.h: Removed; split into...
292 * include/bits/stl_iterator_base_funcs.h: ...this new file...
293 * include/bits/stl_iterator_base_types.h: ...and this new file.
295 * include/bits/sbuf_iter.h: Update to use new implementation.
296 * include/bits/std_iterator.h: Likewise.
297 * include/bits/std_memory.h: Likewise.
298 * include/bits/stl_algo.h: Likewise.
299 * include/bits/stl_algobase.h: Likewise.
300 * include/bits/stl_construct.h: Likewise.
301 * include/bits/stl_deque.h: Likewise.
302 * include/bits/stl_heap.h: Likewise.
303 * include/bits/stl_list.h: Likewise.
304 * include/bits/stl_map.h: Likewise.
305 * include/bits/stl_multimap.h: Likewise.
306 * include/bits/stl_multiset.h: Likewise.
307 * include/bits/stl_numeric.h: Likewise.
308 * include/bits/stl_queue.h: Likewise.
309 * include/bits/stl_set.h: Likewise.
310 * include/bits/stl_stack.h: Likewise.
311 * include/bits/stl_uninitialized.h: Likewise.
312 * include/bits/stl_vector.h: Likewise.
313 * include/ext/hash_map: Likewise.
314 * include/ext/hash_set: Likewise.
315 * include/ext/slist: Likewise.
316 * include/ext/stl_hashtable.h: Likewise.
318 * src/Makefile.am (base_headers): Update list of headers.
319 * Makefile.in: Regenerated.
320 * src/Makefile.in: Regenerated.
321 * libio/Makefile.in: Regenerated.
322 * libmath/Makefile.in: Regenerated.
323 * libsupc++/Makefile.in: Regenerated.
324 * testsuite/Makefile.in: Regenerated.
326 * docs/html/install.html: Update contact information.
327 * docs/html/17_intro/howto.html: Ditto.
328 * docs/html/18_support/howto.html: Ditto.
329 * docs/html/20_util/howto.html: Ditto.
330 * docs/html/21_strings/howto.html: Ditto.
331 * docs/html/22_locale/howto.html: Ditto.
332 * docs/html/23_containers/howto.html: Ditto.
333 * docs/html/24_iterators/howto.html: Ditto.
334 * docs/html/25_algorithms/howto.html: Ditto.
335 * docs/html/26_numerics/howto.html: Ditto.
336 * docs/html/27_io/howto.html: Ditto.
337 * docs/html/faq/index.html: Ditto, plus info on new checking code.
338 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
339 * docs/html/faq/index.txt: Regenerated.
341 2001-04-02 Zack Weinberg <zackw@stanford.edu>
343 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
344 messages with $which_library as well as $tool_flags and
345 ${dg-extra-tool-flags}. Factor out annotation text into
348 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
350 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
351 * include/c_std/bits/std_cwchar.h: Same.
352 * testsuite/21_strings/c_strings.cc: Add.
354 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
356 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
358 2001-04-01 Zack Weinberg <zackw@stanford.edu>
360 * tests_flags.in: Use test a = b, not test a == b which is not
363 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
365 * configure.target: Remove duplicate aix entry.
367 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
369 * include/ext/stl_bvector.h: Move to...
370 * include/bits/stl_vector.h: ...here.
371 * include/ext/bvector: Move to...
372 * include/backward/bvector.h: ...here.
373 * include/bits/std_vector.h: Change stl_bvector include.
374 * include/bits/std_queue.h: Remove bvector include.
375 * include/ext/tree: Insert using rb_tree, move to...
376 * include/backward/tree.h: ...here.
377 * include/backward/hash_map.h: Include ext/hash_map.
378 * include/backward/hash_set.h: Include ext/hash_set.
379 * include/backward/queue.h: New file.
380 * include/backward/stack.h: Edit.
381 * include/backward/algo.h: Same.
382 * include/backward/algobase.h: Same.
383 * include/backward/alloc.h: Same.
384 * include/backward/function.h: Same.
385 * include/backward/iomanip.h: Same.
386 * include/backward/istream.h: Same.
387 * include/backward/iterator.h: Same.
388 * include/backward/list.h: Same.
389 * include/backward/map.h: Same.
390 * include/backward/multimap.h: Same.
391 * include/backward/multiset.h: Same.
392 * include/backward/ostream.h: Same.
393 * include/backward/pair.h: Same
394 * include/backward/rope.h: Same.
395 * include/backward/set.h: Same.
396 * include/backward/stream.h: Same.
397 * include/backward/strstream.h: Same.
398 * include/backward/tempbuf.h: Same.
399 * src/Makefile.am (ext_headers): Edit.
400 * src/Makefile.in: Regenerate.
401 * testsuite/ext/headers.cc (main): Fix.
404 2001-03-30 Phil Edwards <pme@sources.redhat.com>
406 * tests_flags.in (LIBS): Pass correct path for installed testing.
408 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
410 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
411 * tests_flags.in (CXX): Construct here.
412 (static_fail): Don't remove compile.out. Format with spaces.
413 (INCLUDES): Deal with xcompiling.
414 * configure.in (xcompiling): Substitute.
415 * testsuite/Makefile.am: Snake libjava configury.
416 * testsuite/Makefile.in: Regenerate.
417 * testsuite/23_containers/map_operators.cc: Tweaks.
418 * testsuite/23_containers/set_operators.cc: Tweaks.
420 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
422 Enable dejagnu testing framework.
423 * configure.in: Generate testsuite/Makefile.
424 * configure: Regenerate.
425 * Makefile.am (check-install): Change rule from this...
426 (check-script-install): ...to this.
427 (check): Change rule from this...
428 (check-script):...to this.
429 * Makefile.in: Regenerate.
431 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
433 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
435 (LIBTOOL): Let automake take care of its definition.
436 * libsupc++/Makefile.in: Rebuilt.
438 2001-03-28 Richard Henderson <rth@redhat.com>
440 IA-64 ABI Exception Handling:
441 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
442 * configure.in: Use it.
443 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
444 * libsupc++/Makefile.am (sources): Update files list.
445 * libsupc++/Makefile.in: Regenerate.
446 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
447 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
448 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
449 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
450 * libsupc++/exception_support.cc: Remove.
451 * libsupc++/exception_support.h: Remove.
452 * libsupc++/pure.cc: Use std::terminate.
453 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
454 (__is_pointer): Remove.
455 * libsupc++/unwind-cxx.h: New file.
456 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
458 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
460 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
462 * src/Makefile.am (CXXLINK): Likewise.
463 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
465 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
467 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
469 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
471 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
474 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
476 * include/bits/basic_file.h (get_fileno): Remove.
478 (_M_cfile_created): Add.
479 (basic_file::basic_file(__c_file_type*, openmode): Add.
480 (basic_file::basic_file(int, const char*, openmode): Remove.
481 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
482 const char*, ios_base::openmode): Don't allocate
483 internal buffers. Turn off internal buffers.
484 (basic_filebuf::overflow): Remove test for null buffer.
485 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
486 * include/bits/streambuf.cc: Tweak.
487 * include/bits/std_ostream.h: Tweak.
488 * config/basic_file_libio.h: Same.
489 * config/basic_file_stdio.h: Same.
490 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
491 * testsuite/27_io/filebuf_members.cc: Tweaks.
492 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
494 2001-03-24 Phil Edwards <pme@sources.redhat.com>
496 * Makefile.am: New targets, doxygen and doxygen-maint.
497 * Makefile.in: Regenerated.
498 * docs/doxygen/run_doxygen: Finally implemented.
499 * docs/doxygen/maint.cfg.in: New file.
500 * docs/doxygen/user.cfg.in: New file.
502 2001-03-24 Phil Edwards <pme@sources.redhat.com>
504 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
505 * src/Makefile.am: Replace leading spaces with tabs on continuation
507 * aclocal.m4: Regenerated.
509 * Makefile.in: Ditto.
510 * src/Makefile.in: Ditto.
511 * libio/Makefile.in: Ditto.
512 * libmath/Makefile.in: Ditto.
513 * libsupc++/Makefile.in: Ditto.
515 2001-03-24 Phil Edwards <pme@sources.redhat.com>
517 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
518 concept-checking code and current status of same.
519 * docs/html/ext/howto.html: Ditto.
520 * docs/html/faq/index.html: Ditto.
521 * docs/html/faq/index.txt: Regenerated.
523 2001-03-24 Phil Edwards <pme@sources.redhat.com>
525 * include/bits/std_bitset.h: Include ostream and istream headers
528 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
530 * include/bits/ostream.tcc: Use __builtin_alloca.
532 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
534 * src/misc-inst.cc (__sink_unused_warning): Move to...
535 * src/locale-inst.cc (__sink_unused_warning): Move to...
536 * src/stl-inst.cc: Here.
537 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
540 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
542 * intclude/bits/basic_file.h: Fix typos in comments.
544 2001-03-20 Richard Henderson <rth@redhat.com>
546 * src/gen-num-limits.cc: Instantiate for wchar_t.
547 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
549 2001-03-20 Jason Merrill <jason@redhat.com>
551 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
552 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
553 * libsupc++/cxxabi.h: Declare it.
555 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
557 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
558 signal_func with an unspecified argument list.
560 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
562 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
564 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
566 * include/bits/basic_string.tcc (operator+): Fix thinko.
568 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
571 * include/bits/std_streambuf.h: Remove cached locale facets.
572 (basic_streambuf::_M_buf_fctype): Remove.
573 (basic_streambuf::~basic_streambuf): Remove here.
574 (basic_streambuf::basic_streambuf): Same.
575 (basic_streambuf::imbue): Same.
576 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
577 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
578 (basic_filebuf::~basic_filebuf()): Remove here.
579 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
580 (basic_filebuf::imbue): Same.
581 * include/bits/localefwd.h (_Count_ones): Remove.
582 (locale::_S_num_categories): Just use 6, since this doesn't
583 actually change, ever.
584 * include/bits/locale_facets.tcc (has_facet): Simplify.
586 * testsuite/27_io/filebuf.cc (test06): Add tests.
588 2001-03-13 Steve Ellcey <sje@cup.hp.com>
590 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
591 match HP-UX ctype.h header file.
593 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
595 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
596 duplicate definitions of __dj_ctype_*
598 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
600 * libsupc++/new: Remove pragma interface.
601 * libsupc++/typeinfo: Same.
602 * libsupc++/exception: Same.
603 * libsupc++/new_handler.cc: Remove pragma implementation.
604 (bad_alloc::~bad_alloc()): Add.
605 * libsupc++/exception_support.cc: Same.
606 (exception::~exception): Add.
607 (bad_exception::~bad_exception): Add.
608 * libsupc++/tinfo.cc: Same.
609 (bad_cast::~bad_cast): Add.
610 (bad_typeid::~bad_typeid): Add.
612 2001-03-13 Phil Edwards <pme@sources.redhat.com>
614 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
616 2001-03-12 Felix Lee <flee@redhat.com>
618 * mkcheck.in: workaround for bash 2.01 IFS bug.
620 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
622 Fixups for -fno-for-scope
623 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
624 * src/valarray-inst.cc (__gslice_to_index): Same.
626 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
628 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
629 prior to trapping signal (UnixWare 7 workaround).
631 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
633 * include/backward/hashtable.h: Same.
634 * include/backward/rope.h: Fix include.
636 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
638 * include/backward/vector.h: Include std_vector.h.
640 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
641 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
644 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
646 * include/ext/stl_hashtable.h: Change type of __n to size_t
647 * include/backward/bvector.h: Include <ext/stl_bvector.h>
649 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
651 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
652 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
653 Use streamsize, not int_type.
655 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
657 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
660 2001-03-08 Andreas Schwab <schwab@suse.de>
662 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
664 * aclocal.m4, configure: Regenerated.
666 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
668 * include/bits/std_iosfwd.h: Remove string forward decls here.
669 * include/bits/stringfwd.h: Add forward decls for char_traits
671 * config/c_io_libio.h (wstreamoff): Delete.
672 * config/c_io_stdio.h (wstreamoff): Same.
673 * include/bits/char_traits.h: Use streamoff not wstreamoff for
674 char_traits<wchar_t>::off_type.
675 Remove duplicate typedefs.
676 * include/bits/fpos.h: Define streampos/wstreampos here.
677 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
680 Changeup output files.
681 * testsuite/27_io/istream_unformatted.cc: Change output files.
682 * testsuite/27_io/istream_seeks-1.txt: Add.
683 * testsuite/27_io/istream_seeks-2.tst: Add.
684 * testsuite/27_io/istream_seeks-1.tst: Add.
685 * testsuite/27_io/istream_unformatted-2.tst: Delete.
686 * testsuite/27_io/istream_unformatted-3.tst: Delete.
687 * testsuite/27_io/istream_unformatted-3.txt: Delete.
689 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
691 Add Irix 5.2, 6.3 support.
692 * config/os/irix/bits: Renamed to...
693 * config/os/irix/irix6.5/bits: this.
694 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
695 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
696 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
697 * config/os/irix/irix5.2/bits/ctype_noninline.h
698 (ctype<char>::ctype): Initialize _M_table with __ctype.
699 * configure.target: Adjust.
701 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
704 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
705 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
707 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
708 (*__pf)(__ios_type&)): Same.
709 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
710 (*__pf)(ios_base&))): Same.
711 * testsuite/27_io/istream_extractor_other.cc: Add tests.
712 * testsuite/27_io/istream_manip.cc (test01): Fix.
714 2001-03-06 Nathan Myers <ncm@cantrip.org>
715 Benjamin Kosnik <bkoz@redhat.com>
717 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
718 * testsuite/17_intro/header_cerrno.cc (test01): New file.
719 * testsuite/17_intro/header_cassert.cc (test01): New file.
720 * testsuite/17_intro/header_cstddef.cc (test01): New file.
721 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
722 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
724 2001-03-05 scott snyder <snyder@fnal.gov>
727 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
729 * include/c_std/bits/std_cstdlib.h: ... to here.
730 * testsuite/17_intro/header_cstdlib.cc: Add test.
732 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
734 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
736 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
738 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
739 definition. Replace enum with static const variables.
741 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
742 throw specification, fix typos, use <static_cast>.
743 (ctype<char>::scan_is): remove throw specification.
744 (ctype<char>::scan_not): likewise.
746 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
747 (ctype<char>::do_toupper(char)): use <static_cast>.
748 (ctype<char>::do_toupper(char *, const char *)): likewise.
749 (ctype<char>::do_tolower(char)): likewise.
750 (ctype<char>::do_tolower(char *, const char *)): likewise.
752 2001-03-04 Phil Edwards <pme@sources.redhat.com>
754 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
755 * include/backward/algo.h: Use std not __STD. Remove unneeded
756 macros and "never happens" code. Adjust to C++STYLE guidelines.
757 * include/backward/algobase.h: Likewise.
758 * include/backward/alloc.h: Likewise.
759 * include/backward/bvector.h: Likewise.
760 * include/backward/deque.h: Likewise.
761 * include/backward/function.h: Likewise.
762 * include/backward/hash_map.h: Likewise.
763 * include/backward/hash_set.h: Likewise.
764 * include/backward/hashtable.h: Likewise.
765 * include/backward/heap.h: Likewise.
766 * include/backward/iterator.h: Likewise.
767 * include/backward/list.h: Likewise.
768 * include/backward/map.h: Likewise.
769 * include/backward/multimap.h: Likewise.
770 * include/backward/multiset.h: Likewise.
771 * include/backward/pair.h: Likewise.
772 * include/backward/rope.h: Likewise.
773 * include/backward/set.h: Likewise.
774 * include/backward/slist.h: Likewise.
775 * include/backward/stack.h: Likewise.
776 * include/backward/strstream: Likewise.
777 * include/backward/tempbuf.h: Likewise.
778 * include/backward/tree.h: Likewise.
779 * include/backward/vector.h: Likewise.
780 * include/bits/basic_ios.h: Likewise.
781 * include/bits/basic_ios.tcc: Likewise.
782 * include/bits/basic_string.h: Likewise.
783 * include/bits/c++config: Likewise.
784 * include/bits/concept_checks.h: Likewise.
785 * include/bits/fpos.h: Likewise.
786 * include/bits/fstream.tcc: Likewise.
787 * include/bits/functexcept.h: Likewise.
788 * include/bits/ios_base.h: Likewise.
789 * include/bits/istream.tcc: Likewise.
790 * include/bits/mask_array.h: Likewise.
791 * include/bits/ostream.tcc: Likewise.
792 * include/bits/pthread_allocimpl.h: Likewise.
793 * include/bits/sbuf_iter.h: Likewise.
794 * include/bits/slice.h: Likewise.
795 * include/bits/slice_array.h: Likewise.
796 * include/bits/sstream.tcc: Likewise.
797 * include/bits/std_bitset.h: Likewise.
798 * include/bits/std_fstream.h: Likewise.
799 * include/bits/std_iomanip.h: Likewise.
800 * include/bits/std_ios.h: Likewise.
801 * include/bits/std_istream.h: Likewise.
802 * include/bits/std_iterator.h: Likewise.
803 * include/bits/std_memory.h: Likewise.
804 * include/bits/std_ostream.h: Likewise.
805 * include/bits/std_sstream.h: Likewise.
806 * include/bits/std_streambuf.h: Likewise.
807 * include/bits/std_string.h: Likewise.
808 * include/bits/std_valarray.h: Likewise.
809 * include/bits/stl_algo.h: Likewise.
810 * include/bits/stl_algobase.h: Likewise.
811 * include/bits/stl_alloc.h: Likewise.
812 * include/bits/stl_construct.h: Likewise.
813 * include/bits/stl_deque.h: Likewise.
814 * include/bits/stl_function.h: Likewise.
815 * include/bits/stl_heap.h: Likewise.
816 * include/bits/stl_iterator.h: Likewise.
817 * include/bits/stl_iterator_base.h: Likewise.
818 * include/bits/stl_list.h: Likewise.
819 * include/bits/stl_map.h: Likewise.
820 * include/bits/stl_multimap.h: Likewise.
821 * include/bits/stl_multiset.h: Likewise.
822 * include/bits/stl_numeric.h: Likewise.
823 * include/bits/stl_pair.h: Likewise.
824 * include/bits/stl_pthread_alloc.h: Likewise.
825 * include/bits/stl_queue.h: Likewise.
826 * include/bits/stl_raw_storage_iter.h: Likewise.
827 * include/bits/stl_relops.h: Likewise.
828 * include/bits/stl_set.h: Likewise.
829 * include/bits/stl_stack.h: Likewise.
830 * include/bits/stl_tempbuf.h: Likewise.
831 * include/bits/stl_threads.h: Likewise.
832 * include/bits/stl_tree.h: Likewise.
833 * include/bits/stl_uninitialized.h: Likewise.
834 * include/bits/stl_vector.h: Likewise.
835 * include/bits/streambuf.tcc: Likewise.
836 * include/bits/type_traits.h: Likewise.
837 * include/bits/valarray_meta.h: Likewise.
838 * include/ext/bvector: Likewise.
839 * include/ext/hash_map: Likewise.
840 * include/ext/hash_set: Likewise.
841 * include/ext/ropeimpl.h: Likewise.
842 * include/ext/slist: Likewise.
843 * include/ext/stl_bvector.h: Likewise.
844 * include/ext/stl_hash_fun.h: Likewise.
845 * include/ext/stl_hashtable.h: Likewise.
846 * include/ext/stl_rope.h: Likewise.
847 * src/complex_io.cc: Likewise.
848 * src/ios.cc: Likewise.
849 * src/locale-inst.cc: Likewise.
850 * src/locale.cc: Likewise.
851 * src/localename.cc: Likewise.
852 * src/misc-inst.cc: Likewise.
853 * src/stdexcept.cc: Likewise.
854 * src/stl-inst.cc: Likewise.
855 * src/strstream.cc: Likewise.
856 * src/valarray-inst.cc: Likewise.
858 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
860 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
862 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
864 * include/bits/istream.tcc: change type of __extracted to __size_type
866 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
868 * src/wstring-inst.cc: New file.
869 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
870 (libinst_wstring_la_SOURCES): Remove.
871 (libstdc___la_LIBADD): Remove libinst_wstring_la.
872 (sources): Add wstring-inst.cc
873 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
876 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
878 * src/locale.cc: initialise __ret with zero
879 * src/strstream.cc:cast gptr to int_type
881 2001-03-01 Phil Edwards <pme@sources.redhat.com>
883 * docs/html/faq/index.html: Update broken links.
884 * docs/html/faq/index.txt: Regenerated.
886 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
889 * configure.target: Change irix* to irix6.5* in target_os table.
891 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
894 * include/bits/c++config (__GLIBCPP__): Bump number in
895 anticipation of 2.92.
897 * include/bits/codecvt.h: Fix typo.
898 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
900 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
901 instantiations for stdio model.
903 2001-02-28 Phil Edwards <pme@sources.redhat.com>
905 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
906 and GLIBCPP_CXXFLAGS as unused variables.
907 * configure.host: Likewise.
908 * configure.target: Likewise.
909 * aclocal.m4: Regenerated.
910 * configure: Regenerated.
911 * Makefile.in: Regenerated.
912 * libio/Makefile.in: Regenerated.
913 * libmath/Makefile.in: Regenerated.
914 * libsupc++/Makefile.in: Regenerated.
915 * src/Makefile.in: Regenerated.
917 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
920 * include/bits/basic_file.h: Include basic_file_model.h.
921 * config/c_io_libio.cc: Move to...
922 * config/basic_file_libio.cc: Here.
923 * config/basic_file_libio.h: New file.
924 * config/c_io_stdio.cc: Move to...
925 * config/basic_file_stdio.cc: Here.
926 * config/basic_file_stdio.h: New file.
927 * config/c_io_libio.h: Tweak.
928 * config/c_io_stdio.h: Tweak.
929 * src/Makefile.am (build_headers): Add basic_file_model.h.
930 (sources): Add basic_file.cc, remove c++io.cc.
931 * src/Makefile.in: Regenerate.
932 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
933 basic_file_model.h and basic_file.cc.
934 * aclocal.m4: Regenerate.
935 * configure: Regenerate.
936 * testsuite/27_io/filebuf.cc (test05): Add regression.
938 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
941 * config/cpu/alpha/bits/atomicity.h: Change.
942 * config/cpu/arm/bits/atomicit3y.h
943 * config/cpu/generic/bits/atomicity.h
944 * config/cpu/i386/bits/atomicity.h
945 * config/cpu/i486/bits/atomicity.h
946 * config/cpu/ia64/bits/atomicity.h
947 * config/cpu/powerpc/bits/atomicity.h
948 * config/cpu/sparc/sparc32/bits/atomicity.h
949 * config/cpu/sparc/sparc64/bits/atomicity.h
950 * config/os/aix/bits/atomicity.h
951 * config/os/irix/bits/atomicity.h
953 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
955 * include/bits/std_stdexcept.h (runtime_error): Make string
958 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
961 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
965 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
966 string object, not reference.
967 (runtime_error::runtime_error): Same.
968 * testsuite/19_diagnostics/stdexceptions.cc: New file.
970 2001-02-26 Phil Edwards <pme@sources.redhat.com>
972 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
973 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
974 diagnostics. Remove WFMT_FLAGS.
975 * configure.in: Replace WFMT_FLAGS with diagnostics options.
976 * libsupc++/Makefile.am: Likewise.
977 * src/Makefile.am: Likewise.
978 * aclocal.m4: Regenerated.
979 * configure: Regenerated.
980 * Makefile.in: Regenerated.
981 * libio/Makefile.in: Regenerated.
982 * libmath/Makefile.in: Regenerated.
983 * libsupc++/Makefile.in: Regenerated.
984 * src/Makefile.in: Regenerated.
986 2001-02-26 Phil Edwards <pme@sources.redhat.com>
989 * include/backward/iomanip.h: Expose <ios> manipulators to global
991 * include/backward/iostream.h: Also expose std::ws.
993 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
995 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
997 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
999 * include/bits/codecvt.h: Use __builtin_alloca.
1000 * include/bits/ostream.tcc: Same.
1001 * include/bits/fstream.tcc: Same.
1003 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
1005 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
1007 2001-02-23 David Edelsohn <dje@watson.ibm.com>
1009 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
1011 2001-02-23 Phil Edwards <pme@sources.redhat.com>
1014 * include/backward/iostream.h: Expose std::flush in old headers.
1016 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1018 * mknumeric_limits: Remove special-casing on target. Use gcc
1019 instead of g++ to build gen-num-limits.cc
1021 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
1023 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
1025 * include/bits/codecvt.h: Use alloca instead of __extension__ for
1027 * include/bits/ostream.tcc: Same.
1028 * include/bits/std_ostream.h: Same.
1029 * include/bits/fstream.tcc: Same.
1030 * include/bits/locale_facets.tcc: Add typename.
1031 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
1033 2001-02-21 Phil Edwards <pme@sources.redhat.com>
1035 * tests_flags.in: Remove -n flag from call to echo.
1037 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
1039 * config/c_locale_gnu.h: Add clocale include.
1041 2001-02-20 Phil Edwards <pme@sources.redhat.com>
1043 * include/bits/stl_config.h: Remove file.
1044 * src/Makefile.am (base_headers): Remove from list.
1045 * configure: Regenerate.
1046 * Makefile.in: Ditto.
1047 * libio/Makefile.in: Ditto.
1048 * libmath/Makefile.in: Ditto.
1049 * libsupc++/Makefile.in: Ditto.
1050 * src/Makefile.in: Ditto.
1052 * include/bits/c++config: Move relevant macros to here.
1053 * include/backward/alloc.h: Include c++config.h instead.
1054 * include/backward/function.h: Ditto.
1055 * include/backward/heap.h: Ditto.
1056 * include/backward/pair.h: Ditto.
1057 * include/bits/pthread_allocimpl.h: Ditto.
1058 * include/bits/std_functional.h: Ditto.
1059 * include/bits/std_iterator.h: Ditto.
1060 * include/bits/std_numeric.h: Ditto.
1061 * include/bits/std_utility.h: Ditto.
1062 * include/bits/stl_algobase.h: Ditto.
1063 * include/bits/type_traits.h: Ditto.
1064 * src/stl-inst.cc: Ditto.
1066 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1068 * include/bits/basic_file.h: Add #pragma system_header
1069 * include/bits/basic_ios.h: Ditto.
1070 * include/bits/basic_string.h: Ditto.
1071 * include/bits/char_traits.h: Ditto.
1072 * include/bits/codecvt.h: Ditto.
1073 * include/bits/cpp_type_traits.h: Ditto.
1074 * include/bits/fpos.h: Ditto.
1075 * include/bits/gslice.h: Ditto.
1076 * include/bits/gslice_array.h: Ditto.
1077 * include/bits/indirect_array.h: Ditto.
1078 * include/bits/ios_base.h: Ditto.
1079 * include/bits/limits_generic.h: Ditto.
1080 * include/bits/locale_facets.h: Ditto.
1081 * include/bits/localefwd.h: Ditto.
1082 * include/bits/mask_array.h: Ditto.
1083 * include/bits/sbuf_iter.h: Ditto.
1084 * include/bits/sequence_concepts.h: Ditto.
1085 * include/bits/slice.h: Ditto.
1086 * include/bits/slice_array.h: Ditto.
1087 * include/bits/std_algorithm.h: Likewise.
1088 * include/bits/std_bitset.h: Likewise.
1089 * include/bits/std_complex.h: Likewise.
1090 * include/bits/std_deque.h: Likewise.
1091 * include/bits/std_fstream.h: Likewise.
1092 * include/bits/std_functional.h: Likewise.
1093 * include/bits/std_iomanip.h: Likewise.
1094 * include/bits/std_ios.h: Likewise.
1095 * include/bits/std_iosfwd.h: Likewise.
1096 * include/bits/std_iostream.h: Likewise.
1097 * include/bits/std_istream.h: Likewise.
1098 * include/bits/std_iterator.h: Likewise.
1099 * include/bits/std_list.h: Likewise.
1100 * include/bits/std_locale.h: Likewise.
1101 * include/bits/std_map.h: Likewise.
1102 * include/bits/std_memory.h: Likewise.
1103 * include/bits/std_numeric.h: Likewise.
1104 * include/bits/std_ostream.h: Likewise.
1105 * include/bits/std_queue.h: Likewise.
1106 * include/bits/std_set.h: Likewise.
1107 * include/bits/std_sstream.h: Likewise.
1108 * include/bits/std_stack.h: Likewise.
1109 * include/bits/std_stdexcept.h: Likewise.
1110 * include/bits/std_streambuf.h: Likewise.
1111 * include/bits/std_string.h: Likewise.
1112 * include/bits/std_utility.h: Likewise.
1113 * include/bits/std_valarray.h: Likewise.
1114 * include/bits/std_vector.h: Likewise.
1115 * include/bits/stringfwd.h: Likewise.
1116 * include/bits/type_traits.h: Likewise.
1117 * include/bits/valarray_array.h: Likewise.
1118 * include/bits/valarray_meta.h: Likewise.
1120 2001-02-19 Andreas Jaeger <aj@suse.de>
1122 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
1125 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
1128 * include/bits/std_ostream.h: Replaced usage of
1129 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
1130 * include/bits/char_traits.h: Removed non-standard
1131 methods that cannot be used elsewhere.
1134 * include/bits/basic_ios.h: Uncommented #include of
1138 * include/bits/codecvt.h: See next...
1139 * include/bits/fstream.tcc: See next...
1140 * include/bits/ostream.tcc: Add __extension__
1141 to variable-length arrays.
1144 * include/bits/localefwd.h: Changed int counter type to size_t.
1147 * include/bits/std_fstream.h: Added typedef for __ctype_type.
1149 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
1151 * testsuite/21_strings/char_traits.cc: Move to ...
1152 * testsuite/21_strings/char_traits_requirements.cc: ..here.
1153 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
1154 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
1156 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
1158 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
1161 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
1163 * include/bits/c++config: Revert.
1165 2001-02-15 Mark Mitchell <mark@codesourcery.com>
1167 * include/bits/istream.tcc: Use ios_base::iostate in place of
1168 iostate throughout. Insert `typename' keyword where necessary.
1169 * include/bits/ostream.tcc: Insert `typename' keyword where
1172 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
1174 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
1175 Define so library is compliant.
1177 2001-02-15 Anthony Green <green@redhat.com>
1179 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
1181 * aclocal.m4: Regenerate.
1182 * configure: Regenerate.
1184 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
1186 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
1187 Include ieeefp.h for fpclass on UnixWare{2,7}.
1188 * aclocal.m4: Regenerate.
1189 * configure: Regenerate.
1190 * mkcheck.in (size_command): Do without GNU-grep when using
1193 2001-02-15 Mark Mitchell <mark@codesourcery.com>
1195 Remove old ABI support from libsupc++.
1196 * libsupc++/cxxabi.h: Remove conditionally compiled code.
1197 * libsupc++/exception_support.cc: Likewise.
1198 * libsupc++/pure.cc: Likewise.
1199 * libsupc++/tinfo.cc: Likewise.
1200 * libsupc++/tinfo.h: Likewise.
1201 * libsupc++/tinfo2.cc: Likewise.
1202 * libsupc++/typeinfo: Likewise.
1203 * libsupc++/vec.cc: Likewise.
1205 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
1207 Add support for -fno-exceptions.
1208 * include/bits/exception_support.h: Remove.
1209 * include/bits/basic_string.h: Remove exception_support.
1210 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
1212 (string::substr): Same.
1213 * include/bits/basic_string.tcc (string::reserve): Replace
1214 __LENGTHERROR with __throw_length_error.
1215 (string::_S_create): Same.
1216 (string::resize): Same.
1217 (string::_M_replace): Same.
1218 (string::replace): Same.
1219 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
1220 (string::compare): Same.
1221 * include/bits/stl_vector.h: Remove exception_support.
1222 * src/Makefile.am (base_headers): Remove here.
1223 * src/Makefile.in: Regenerate.
1225 * include/bits/stl_range_errors.h: Remove.
1226 * include/bits/stl_deque.h: Use __throw_range_error.
1227 * include/bits/std_deque.h: Include functexcept.h.
1228 * include/bits/std_vector.h: Same.
1229 * src/Makefile.am (base_headers): Remove here.
1230 * src/Makefile.in: Regenerate.
1231 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
1232 * include/ext/bvector: Remove stl_range_errors.h
1234 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
1236 * include/bits/functexcept.h: New file.
1237 * src/functexcept.cc: New file. Definitions for function-based
1239 * src/Makefile.am (sources): Add functexcept.cc.
1240 * src/Makefile.in: Regenerate.
1242 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
1245 * include/bits/localefwd.h: Include functexcept.h.
1246 * include/bits/std_iosfwd.h: Same.
1248 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
1249 throw basic_ios::failure.
1250 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
1251 Use __throw_exception_again.
1252 (filebuf::_M_filebuf_init): Same.
1253 * include/bits/streambuf.tcc (__copy_streambufs): Same.
1254 * include/bits/ostream.tcc (ostream::operator<<): Same.
1255 * include/bits/istream.tcc (istream::operator>>): Same.
1256 * include/bits/basic_string.tcc (string::_M_mutate): Same.
1257 (string::_S_construct): Same.
1258 (string::_M_clone): Same.
1259 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
1261 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
1262 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
1263 __throw_exception_again.
1264 (locale::_Imp::_Imp(string, size_t): Same.
1265 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
1266 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
1267 (locale::locale(const char*)): Use __throw_runtime_error.
1268 (locale::classic): Use __throw_exception_again.
1269 (locale::_S_normalize_category): Use __throw_runtime_error.
1271 * src/stdexcept.cc: Remove cruft.
1273 * libsupc++/exception_defines.h: New file.
1274 * libsupc++/new_opnt.cc: Include exception_defines.h.
1275 * libsupc++/vec.cc: Same.
1276 (__cxa_vec_new2): Use __throw_exception_again.
1277 (__cxa_vec_new3): Same.
1278 (__cxa_vec_ctor): Same.
1279 (__cxa_vec_delete3): Same.
1280 (__cxa_vec_cctor): Same.
1281 (__cxa_vec_delete2): Same.
1282 (__cxa_vec_dtor): Same.
1283 * libsupc++/exception_support.cc: Include exception_defines.h. Only
1284 compile exception-handling bits if __EXCEPTIONS is defined.
1285 Remove old ABI support.
1286 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
1287 std::__throw_bad_alloc() instead of throw bad_alloc.
1288 * libsupc++/Makefile.am: Add exception_defines.h.
1289 * libsupc++/Makefile.in: Reformat.
1290 * libsupc++/*: Format.
1292 2001-02-15 Phil Edwards <pme@sources.redhat.com>
1294 * docs/html/configopts.html: Minor updates and typo fixes.
1295 * docs/html/faq/index.html: Updates of the "not really bugs" list.
1296 * docs/html/faq/index.txt: Regenerated.
1298 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
1300 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
1301 dejagnu/dg.exp. Adapt to log options used to run testcases.
1303 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1305 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
1308 2001-02-13 Dirk Mueller <dmuell@gmx.net>
1309 Phil Edwards <pme@sources.redhat.com>
1311 * include/backward/function.h: Do not use rel_ops for older
1313 * include/backward/pair.h: Likewise.
1315 2001-02-12 Mark Mitchell <mark@codesourcery.com>
1317 * src/locale.cc: Remove bogus locale::id definitions.
1319 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1321 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
1322 not _DEFINE_VALARRAY_OPERATOR which is not existent.
1324 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
1325 thinko in member initialisation.
1327 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1329 * include/bits/std_valarray.h(valarray<>::shift): Avoid
1330 comparaison between signed and unsigned integer types.
1331 (valarray<>::cshift): Reformat.
1333 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
1335 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
1336 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
1337 * configure.in: Test for sigsetjmp.
1338 * configure, config.h.in: Rebuilt.
1340 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1342 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
1343 lengths and strides.
1344 (__gslice_to_index): Document.
1346 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1348 * include/bits/char_traits.h char_traits<char>::int_type: Change
1349 to `int' to match 21.1.3.1/2.
1351 * testsuite/21_strings/char_traits-int_type.C: New test.
1353 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
1355 * testsuite/Makefile.am: New file.
1357 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
1359 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
1361 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
1363 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
1365 2001-02-08 David Edelsohn <edelsohn@gnu.org>
1367 * configure.target (aix4*): Remove extra set of brackets.
1369 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
1372 * include/bits/stringfwd.h: New file.
1373 * include/bits/stl_string_fwd.h: Remove.
1374 * include/bits/localefwd.h: Remove declaration for allocator.
1375 * include/bits/std_iosfwd: Same.
1376 * include/bits/std_string.h: Include it.
1377 * include/bits/std_ios.h: Remove include.
1378 * include/bits/basic_string.h: Tweak.
1379 * libsupc++/new: Format.
1380 * src/Makefile.am (base_headers): Add stringfwd.h, remove
1382 * src/Makefile.in: Regenerate.
1383 * include/bits/std_stdexcept.h: Rewrite.
1384 * src/stdexcept.cc: Same.
1386 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
1388 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
1389 install locations too.
1390 * aclocal.m4: Regenerate.
1391 * configure.in: Remove USE_LIBDIR.
1392 * configure: Regenerate.
1393 * src/Makefile.am (toolexecdir): Simplify, use
1394 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
1395 * src/Makefile.in: Regenerate.
1396 * libsupc++/Makefile.am: Same.
1397 * libsupc++/Makefile.in: Regenerate.
1399 * src/Makefile.am: Just remove special rules for locale-inst.cc and
1400 misc-inst.cc as no longer necessary.
1402 Follow C++STYLE for naming non-static functions.
1403 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
1405 * include/bits/streambuf.tcc: Same.
1406 * include/bits/ostream.tcc: Same.
1407 * include/bits/istream.tcc: Same.
1408 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
1409 (_S_output_float): To __output_float.
1410 * include/bits/std_streambuf.h (_S_copy_streambufs): To
1412 * include/bits/locale_facets.tcc (_S_build_float_format): To
1413 __build_float_format.
1414 (_S_format): To __output_integer.
1415 (_S_fill): To __pad.
1416 * src/locale.cc: Same.
1417 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
1419 * include/bits/locale_facets.tcc (_S_group_digits): To
1421 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
1422 for collate, numpunct.
1424 2001-02-06 Phil Edwards <pme@sources.redhat.com>
1426 * docs/html/configopts.html: Fix HTML markup.
1427 * docs/html/install.html: Bring up to date.
1428 * docs/html/17_intro/C++STYLE: Add global variable conventions.
1429 * docs/html/21_strings/howto.html: More notes.
1430 * docs/html/22_locale/howto.html: Fix HTML markup.
1431 * docs/html/27_io/howto.html: More notes.
1432 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
1433 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
1435 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
1437 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
1438 to match header files.
1439 (_S_output_float): Likewise.
1440 (_S_copy_streambufs): Likewise.
1442 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
1443 Phil Edwards <pme@sources.redhat.com>
1445 * include/bits/std_istream.h (op>> signed,unsigned char): Must
1446 use reinterpret_cast, not static_cast.
1448 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
1450 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
1451 * aclocal.m4: Regenerate.
1452 * configure: Regenerate.
1454 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1456 * include/bits/locale_facets.h (class moneypunct): Fix typos.
1457 * libsupc++/pure.cc: Revert.
1459 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1461 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
1462 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
1463 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
1464 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
1465 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
1466 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
1467 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
1468 * aclocal.m4: Regenerate.
1469 * configure: Regenerate.
1471 2001-02-05 Mark Mitchell <mark@codesourcery.com>
1473 * include/bits/locale_facets.tcc: Remove `static' keyword on
1474 function definitions.
1475 * include/bits/std_streambuf.h: Likewise.
1476 * src/Makefile.am: Remove use of -fimplicit-templates.
1477 * src/Makefile.in: Regenerated.
1478 * src/locale-inst.cc: Explicitly instantiate more functions.
1479 * src/misc-inst.cc: Likewise.
1480 * src/string-inst.cc: Likewise.
1482 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1484 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
1485 macro. Consolidate all the bits to do with where includes might be
1487 * aclocal.m4: Regenerate.
1488 * configure.in: Use it.
1489 * configure: Regenerate.
1490 * src/Makefile.am (targetincludep): Use simplified rules.
1491 (targetincludep): Rename gxx_target_include_dir.
1492 (myincludep): Rename gxx_include_dir.
1493 * src/Makefile.in: Regenerate.
1494 * libsupc++/Makefile.am: Use simplified rules.
1495 * libsupc++/Makefile.in: Regenerate.
1497 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1499 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
1500 * include/c_std/bits/std_cctype.h: Same.
1501 * include/c_std/bits/std_cassert.h: Same.
1502 * include/c_std/bits/std_cstdarg.h: Same.
1503 * include/c_std/bits/std_cstddef.h: Same.
1505 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
1507 * include/c_std/bits/std_ctime.h: Same.
1508 * include/c_std/bits/std_clocale.h: Same.
1509 * include/c_std/bits/std_cmath.h: Same.
1510 * include/c_std/bits/std_csetjmp.h: Same.
1511 * include/c_std/bits/std_csignal.h: Same.
1512 * include/c_std/bits/std_cstring.h: Same.
1513 * include/c_std/bits/std_cstdlib.h: Same.
1514 * include/c_std/bits/std_cwchar.h: Same.
1516 2001-02-05 Phil Edwards <pme@sources.redhat.com>
1518 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
1520 2001-02-05 Mark Mitchell <mark@codesourcery.com>
1522 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
1523 (string::_S_construct): Likewise.
1525 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
1527 * testsuite/config/default.exp: New file.
1528 * testsuite/config: New directory.
1530 2001-02-04 Mark Mitchell <mark@codesourcery.com>
1532 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
1533 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
1534 whenever !__GXX_MERGED_TYPEINFO_NAMES.
1535 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
1537 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
1538 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1540 * Makefile.am (mkinstalldirs): Set.
1541 * src/Makefile.am (mkinstalldirs): Set.
1542 * libmath/Makefile.am (mkinstalldirs): Set.
1543 * libsup++/Makefile.am (mkinstalldirs): Set.
1544 * libio/Makefile.am (mkinstalldirs): Set.
1545 * */Makefile.in: Regenerate.
1547 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
1549 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
1550 * include/bits/localefwd.h: More initialization cleanups.
1552 2001-02-03 Jeffrey A Law <law@cygnus.com>
1554 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
1555 correctly targets with 16bit ints.
1556 (_S_ios_openmode_end): Similarly.
1557 (_S_ios_iostate_end): Similarly.
1558 (_S_ios_Seekdir_end): Similarly.
1560 2001-02-02 Phil Edwards <pme@sources.redhat.com>
1562 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
1564 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
1566 * configure.in (toplevel_srcdir, auxdir): Set.
1567 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
1568 * aclocal.m4, configure, Makefile.in: Rebuilt.
1569 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
1570 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
1571 * libsupc++-v3/Makefile.in: Rebuilt.
1572 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
1573 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
1575 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
1577 * config/c_locale_generic.cc: Remove langinfo include.
1579 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
1581 Preliminary named locales.
1582 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
1583 * aclocal.m4: Regenerate.
1584 * configure.in: Use it.
1585 * configure: Regerate.
1586 * src/Makefile.am (sources): Add c++locale.cc.
1587 (build_headers): Add c++locale.h.
1588 * src/Makefile.in: Regenerate.
1589 * config/c_locale_gnu.h: New file.
1590 * config/c_locale_gnu.cc: New file. Non-inline member functions
1591 for named locales, gnu-specific.
1592 * config/c_locale_generic.h: New file.
1593 * config/c_locale_generic.cc: New file. Non-inline member
1594 functions for named locales, generic version.
1595 * docs/html/configopts.html: Add documentation on new options.
1597 * include/bits/locale_facets.h (class _Messages): Remove.
1598 (class _Moneypunct): Remove.
1599 * src/locale-inst.cc: Remove.
1601 * include/bits/locale_facets.h (class _Collate): Remove.
1602 * src/locale-inst.cc (std): Remove.
1603 * src/locale.cc: And here.
1605 * include/bits/localefwd.h (locale::_M_coalesce): New
1606 function. Correctly put together multi-name locales.
1607 (_Impl(const _Impl&, category, size_t)): Remove.
1609 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
1611 (_M_normalize_category_names): Remove.
1612 (_M_replace_categories): Fix.
1614 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
1615 (locale::_Impl::_M_construct_ctype): Remove.
1616 (locale::_Impl::_M_construct_monetary): Remove.
1617 (locale::_Impl::_M_construct_numeric): Remove.
1618 (locale::_Impl::_M_construct_time): Remove.
1619 (locale::_Impl::_M_construct_messages): Remove.
1621 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
1622 (_Use_facet_failure_handle): Remove.
1623 * src/locale.cc: Remove definitions.
1624 * src/locale-inst.cc: And here.
1626 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
1628 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
1629 create and error-check underlying locale object.
1630 (locale::facet::_S_destroy_c_locale): Add, take care of properly
1631 tearing down underlying locale object.
1632 * include/bits/localefwd.h (locale::facet): Declare.
1633 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
1634 correctness, as glibc apparently has incorrect info in it. Test
1635 with it when it works again.....
1637 * include/bits/localefwd.h (locale::_Impl::__vec_string):
1638 Remove. Number of categories is fixed at six, so just simplify and
1639 make this an array of strings.
1640 (locale::_Impl::_M_has_name): Remove.
1641 (locale::_Impl::_M_name): Remove.
1642 (locale::_Impl::_M_category_names): Turns into...
1643 (locale::_Impl::_M_names): ...this.
1644 (locale::_Impl::_M_has_same_name()): New function.
1645 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
1646 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
1648 * src/locale.cc (locale::name()): Construct mangled name
1649 accurately reflecting combined locale categories.
1651 * src/locale.cc (locale::classic()): Don't initialize here.
1652 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
1653 __refs, bool __has_name, string __str): Do it here.
1655 * include/bits/localefwd.h: _S_categories_num to
1656 _S_num_categories. _S_facets_num to _S_num_facets.
1657 (locale::id::id()): Explicitly set _M_index to zero.
1658 * src/locale.cc: Same.
1660 * src/locale.cc: (locale::locale(const char*)): Construct named
1663 * src/locale.cc: Remove numpunct_byname ctors.
1664 * testsuite/22_locale/numpunct_byname.cc: New file.
1665 * testsuite/22_locale/numpunct.cc: New file.
1667 * include/bits/localefwd.h (class locale): Change data members to
1668 protected, from private.
1669 (_Impl::_M_get_c_locale): Add member function.
1670 (locale::facet::_M_get_global_impl()): Add member function.
1671 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
1672 a __c_locale pointer.
1673 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
1675 * testsuite/22_locale/members.cc: New file, test name and combine.
1677 * include/bits/locale_facets.h (class numpunct): Remove class
1678 _Punct and _Numpunct. Rewrite class numpunct to be correct for
1680 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
1681 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
1682 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
1683 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
1684 * testsuite/22_locale/numpunct_char_members.cc: New file.
1686 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
1688 * testsuite/README: Add more comment.
1689 * testsuite/lib/libstdc++.exp: Tweak comment.
1691 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
1693 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
1695 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
1697 * testsuite/21_strings/inserters_extractors.cc: Remove
1698 explicit reference to 'testsuite/'.
1700 2001-01-25 Richard Henderson <rth@redhat.com>
1702 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
1703 bits. Fixes Tru64 build issues.
1705 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1707 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
1708 (use ${MAKE-make}, not ${MAKE:-make}).
1709 * aclocal.m4, configure: Regenerate.
1711 2001-01-25 Mark Mitchell <mark@codesourcery.com>
1713 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
1716 * src/Makefile.am (sources): Add globals.cc.
1717 * src/Makefile.in: Regenerated.
1718 * src/globals.cc: New file.
1719 * src/ios.cc (cin): Don't define here, just declare extern.
1728 2001-01-25 Phil Edwards <pme@sources.redhat.com>
1730 * include/bits/std_iterator.h: Do not include stl_relops.h.
1731 * include/bits/std_numeric.h: Ditto.
1732 * include/bits/stl_algobase.h: Ditto.
1733 * include/bits/stl_relops.h: Add comment warning about problems.
1735 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
1737 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
1738 in testcases. Prepare for the DejaGnu based framework.
1739 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
1740 directory -- it is now mkcheck working directory.
1741 * tests_flags.in: Remove reference to $(top_srcdir). Use
1743 * Makefile.am (check, check-install): Change mkcheck invocation
1745 * Makefile.in: Regenerate.
1747 2001-01-24 Mark Mitchell <mark@codesourcery.com>
1749 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
1750 (__always_swap): Likewise.
1752 2001-01-23 Chris Demetriou <cgd@broadcom.com>
1754 * libsupc++/exception_support.cc (__terminate_func): Remove
1756 (__terminate_func_ptr): New typedef.
1757 (__terminate, __terminate_set_func): New extern function
1759 (std::terminate): Use __terminate function.
1760 (std::set_terminate): Use __terminate_set_func function.
1762 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
1764 * configure.target: Just use os_include_dir always.
1765 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
1766 Link atomicity files and ctype files here.
1767 * configure: Regenerate.
1768 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
1769 (GLIBCPP_ENABLE_ATOMICITY): Remove.
1770 * aclocal.m4: Regenerate.
1772 2001-01-23 Chris Demetriou <cgd@broadcom.com>
1774 * configure.in: Place definition of MULTISUBDIR in
1775 libsupc++/Makefile as is done for src/Makefile.
1776 * configure: Regenerate.
1778 2001-01-23 Phil Edwards <pme@sources.redhat.com>
1780 * acinclude.m4: Cosmetic changes only.
1781 * aclocal.m4: Regenerated.
1782 * configure: Regenerated.
1783 * configure.target: Update documented list of changed variables.
1784 * docs/html/install.html: Fix typo.
1785 * docs/html/20_util/howto.html: More notes on auto_ptr.
1786 * docs/html/27_io/howto.html: More notes on streabufs.
1787 * docs/html/faq/index.html: Add rel_ops problem and mention the
1788 DEC as(1) .subsection difficulty.
1789 * docs/html/faq/index.txt: Regenerated.
1791 2001-01-23 Mark Mitchell <mark@codesourcery.com>
1793 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
1794 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
1795 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
1796 its already provided in config.target.
1797 * aclocal.m4: Regenerated.
1798 * configure: Likewise.
1799 * configure.target: Set ctype_include_dir for lots of systems.
1800 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
1801 * libsupc++/Makefile.in: Regenerated.
1803 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
1805 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
1808 * testsuite/README: Add comment.
1810 2001-01-21 Phil Edwards <pme@sources.redhat.com>
1812 * docs/html/configopts.html: Update for current status. Fix HTML.
1813 * docs/html/install.html: Update for current status.
1815 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1817 * testsuite/libstdc++.tests/tests.exp: New file.
1818 * testsuite/lib/libstdc++.exp: Itou.
1819 * testsuite/README: Itou.
1821 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
1823 * tests_flags.in: Just output the bare minimum to run tests.
1824 Let's the caller do its own arrangement.
1826 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
1829 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
1831 * testsuite/17_intro: Prepare testcases for new style DejaGnu
1834 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
1836 * testsuite/libstdc++.tests, testsuite/lib: New directories.
1838 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
1840 * mkcheck.in: Construct file names that match $objdir structure.
1841 * testsuite/27_io/filebuf_members-1.txt: New file.
1842 * testsuite/27_io/ifstream_members-1.txt: New file.
1843 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
1845 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
1846 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
1848 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1850 * testsuite/27_io/istream_sentry.cc (test02): Fix.
1852 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
1855 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
1856 * src/ios.cc (ios_base::failure): Make definitions match.
1857 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
1858 (class bad_cast): Same.
1859 * libsupc++/exception (class exception): Add throw specs.
1860 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
1861 (set_unexpected): Same.
1862 (uncaught_exception): Same.
1865 * docs/html/17_intro/C++STYLE (classname): Fix.
1867 2001-01-16 Mark Mitchell <mark@codesourcery.com>
1869 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
1870 Use it do explicitly instantiate predicate<T> and value<T> for
1873 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
1875 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
1876 uninitialized thinko in last change.
1878 2001-01-16 Mark Mitchell <mark@codesourcery.com>
1880 * libsupc++/exception_support.cc (__cp_pop_exception): Change
1883 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
1885 * docs/html/17_intro/C++STYLE (classname): Add more existing
1886 and stylish patterns.
1889 * include/bits/istream.tcc (istream::sentry::sentry()): Set
1890 failbit if the state of the stream is not good.
1891 * testsuite/27_io/istream_sentry.cc (test02): Add test.
1892 * testsuite/27_io/istream_manip.cc (test01): Modify.
1895 reported by Paolo Carlini <pcarlini@unitus.it>
1896 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
1897 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
1900 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
1901 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
1902 (xsgetn): Same. Simplify.
1903 * testsuite/27_io/streambuf.cc (test04): Add testcases.
1905 reported by Larry Evans <jcampbell3@prodigy.net>
1906 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
1907 equality with eof on returned value from overflow.
1909 2001-01-14 Andreas Jaeger <aj@suse.de>
1911 * libio/libio.h: Add test for glibc 2.0.
1913 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
1915 * config/os/djgpp/bits/*: Fix dates.
1917 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
1918 _CharT* __end, _CharT __c): Remove.
1919 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
1920 * include/bits/char_traits.h: Tweak.
1922 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
1924 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
1925 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
1927 * aclocal.m4: regenerated.
1928 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
1929 * configure: regenerated.
1930 * config/os/djgpp, config/os/djgpp/bits: new directories.
1931 * config/os/djgpp/bits/ctype_base.h,
1932 config/os/djgpp/bits/ctype_inline.h,
1933 config/os/djgpp/bits/ctype_noninline.h,
1934 config/os/djgpp/bits/os_defines.h: new files.
1936 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
1938 * include/c_std/bits/std_cstdio.h: Undef printf.
1940 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
1942 * src/ios.cc: Fix typo: change cout->wcout.
1944 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
1945 * src/Makefile.in: Regenerate.
1947 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1949 * include/bits/std_complex.h: Fix a typo.
1951 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
1954 Fixes for libstdc++/1576
1955 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
1956 file, move contents into....
1957 * src/ios.cc: ...Here. Put defines for iostreams objects and
1958 initialization routines into one file to simplify DSO interaction.
1959 * include/bits/std_iostream.h: Touch.
1960 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
1961 * src/Makefile.am (sources): Remove stdstreams.cc.
1962 * src/Makefile.in: Regenerate.
1964 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1966 * tests_flags.in (check_directory): Fix typo.
1968 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1970 * include/bits/std_complex.h: Fix a typo.
1972 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
1974 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
1975 code path:) Remove magic constants and restructure to handle
1976 ctype.h bit mask layout changes more gracefully. (Make fast
1977 code path:) Use __maskrune (), if available.
1978 (is): Remove special case for digit and xdigit masks.
1980 2001-01-09 Robert Lipe <robertlipe@usa.net>
1982 * include/c_std/bits/std_ctime.h: Undefine difftime.
1984 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
1986 * src/gen-num-limits.cc (signal_adapter): New template function.
1987 (signal_handler): Use it, instead of signal.
1988 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
1989 require both tests to trap to set trap_flag.
1991 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
1993 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
1994 initialize mbstate_t member, name offset data members *off, not pos.
1995 * include/bits/fstream.tcc (filebuf::filebuf): Same.
1997 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
1999 reported by Chris G. Demetriou <cgd@sibyte.com>
2000 * configure.in: Change -linux-* to -linux*.
2001 * configure: Regenerate.
2003 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
2005 Fix 27_io/filebuf_members.cc
2006 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
2007 const string& __name, category __cat, size_t __refs): Set
2008 _M_has_name with _M_name.
2009 * include/bits/localefwd.h (locale::operator!=): Protect member
2010 function call with this->.
2011 * src/locale.cc (locale::operator==): Make fast checks first.
2012 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
2014 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
2016 * src/ios.cc (ios_base::Init::Init): Initialize here.
2017 (ios_base::sync_with_stdio): Set here.
2019 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
2021 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
2022 systems that support it, call dup() before fdopen().
2024 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
2026 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
2027 * testsuite/17_intro/header_cwctype.cc (main): New file.
2029 * src/Makefile.am (base_headers): Change.
2030 * include/bits/std_string.h: And here.
2031 * include/bits/string.tcc: Tweaks, move to...
2032 * include/bits/basic_string.tcc: ...Here.
2033 * src/string-inst.cc: Simplify, just instantiate the whole class,
2034 not member-by-member.
2036 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
2038 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
2039 * aclocal.m4: Regenerate.
2040 * configure: Regenerate.
2042 * include/bits/c++config (__GLIBCPP__): Bump version number.
2044 * ChangeLog: Start new log for year 2001
2045 * ChangeLog-2000: New file.
2047 * docs/html/configopts.html: Make sure default values are current,
2050 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
2052 * include/c_std/bits/std_cwchar.h: Same.
2053 * testsuite/17_intro/header_cwchar.cc: Same.
2054 * include/c_std/bits/std_ctime.h: Same.
2055 * testsuite/17_intro/header_ctime.cc: Same.
2056 * include/c_std/bits/std_cstdlib.h: Same.
2057 Clean up undefs, make consistent with cwchar and cmath, etc.
2058 * testsuite/17_intro/header_cstdlib.cc: Same.
2059 * include/c_std/bits/std_cstdio.h: Same here.
2060 * testsuite/17_intro/header_cstring.cc: Same.
2061 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
2062 * testsuite/17_intro/header_cstring.cc: New file. Check for
2063 size_t in namespace std.
2065 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
2066 * acconfig.h (HAVE_MBSTATE_T): Add.
2067 * config.h.in: Regenerate.
2068 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
2070 * aclocal.m4: Regenerate.
2071 * configure: Regenerate.
2072 * testsuite/17_intro/headers_c++.cc: New file.
2073 * testsuite/17_intro/headers_c.cc: Small changes.
2075 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
2077 * tests_flags.in: Fix typo in usage.
2079 * tests_flags.in: Set target specific LIBS for cygwin.