1 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
3 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
4 Properly uglify member.
6 2001-04-13 Phil Edwards <pme@sources.redhat.com>
8 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
9 of EqualityComparableConcept.
11 2001-04-13 Phil Edwards <pme@sources.redhat.com>
13 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
14 * include/bits/concept_check.h: Uglify.
15 * include/bits/stl_algo.h: Likewise.
16 * include/bits/stl_algobase.h: Likewise.
17 * include/bits/stl_deque.h: Likewise.
18 * include/bits/stl_heap.h: Likewise.
19 * include/bits/stl_iterator_base_funcs.h: Likewise.
20 * include/bits/stl_list.h: Likewise.
21 * include/bits/stl_map.h: Likewise.
22 * include/bits/stl_multimap.h: Likewise.
23 * include/bits/stl_multiset.h: Likewise.
24 * include/bits/stl_numeric.h: Likewise.
25 * include/bits/stl_queue.h: Likewise.
26 * include/bits/stl_set.h: Likewise.
27 * include/bits/stl_stack.h: Likewise.
28 * include/bits/stl_vector.h: Likewise.
29 * include/ext/hash_map: Likewise.
30 * include/ext/hash_set: Likewise.
31 * include/ext/slist: Likewise.
33 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
35 * testsuite/23_containers/set_operators.cc: Just try to compile.
37 * testsuite/23_containers/map_operators.cc: Same.
39 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
41 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
43 (dg-test): Revert rth's change.
45 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
47 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
48 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
50 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
52 * testsuite/README: Add DejaGnu specific documentation.
54 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
56 * acinclude.m4: AC_CHECK_TOOL for expect.
57 * aclocal.m4: Regenerate.
58 * configure: Regenerate.
59 * testsuite/Makefile.am (RUNTEST): Use substituted.
62 * configure.in: Remove xcompiling substitution.
63 * tests_flags.in (CROSS_LIB_PATH): Remove.
65 (CXX): Use substituted CXX.
67 2001-04-11 Richard Henderson <rth@redhat.com>
69 * testsuite/lib/libstdc++.exp: Specify path for output_file.
71 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
73 * include/bits/std_valarray.h(valarray<>::operator[]): Make
76 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
78 * testsuite/25_algorithms/equal.cc: New test.
80 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
82 * stl_algobase.h (std::equal): avoid use of possibly-undefined
83 operator != (one line patch).
85 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
87 * include/backward/backward_warning.h: Re-enable.
89 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
90 Alexandre Oliva <aoliva@redhat.com>
92 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
94 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
96 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
97 * testsuite/26_numerics/c99_macros.cc: Add test.
99 2001-04-06 Phil Edwards <pme@sources.redhat.com>
101 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
102 * docs/html/faq/index.txt: Regenerated.
104 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
106 * include/backward/backward_warning.h: Temporarily disable until
107 g++ testsuite changes go in.
108 * tests_flags.in (CROSS_LIB_PATH): Add.
110 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
112 Warn when using backward headers.
113 * include/backward/algo.h: Include warning file.
114 * include/backward/vector.h: Same.
115 * include/backward/tree.h: Same.
116 * include/backward/tempbuf.h: Same.
117 * include/backward/strstream: Same.
118 * include/backward/streambuf.h: Same.
119 * include/backward/stream.h: Same.
120 * include/backward/stack.h: Same.
121 * include/backward/slist.h: Same.
122 * include/backward/set.h: Same.
123 * include/backward/rope.h:
124 * include/backward/queue.h: Same.
125 * include/backward/pair.h: Same.
126 * include/backward/ostream.h: Same.
127 * include/backward/new.h: Same.
128 * include/backward/multiset.h: Same.
129 * include/backward/multimap.h: Same.
130 * include/backward/map.h: Same.
131 * include/backward/list.h: Same.
132 * include/backward/iterator.h: Same.
133 * include/backward/istream.h: Same.
134 * include/backward/iostream.h:
135 * include/backward/iomanip.h:
136 * include/backward/heap.h: Same.
137 * include/backward/hashtable.h:
138 * include/backward/hash_set.h:
139 * include/backward/hash_map.h:
140 * include/backward/function.h:
141 * include/backward/fstream.h:
142 * include/backward/deque.h:
143 * include/backward/defalloc.h: Same.
144 * include/backward/complex.h: Same.
145 * include/backward/bvector.h:
146 * include/backward/alloc.h:
147 * include/backward/algobase.h: Same.
149 * include/backward/backward_warning.h: New file.
150 * src/Makefile.am (backward_headers): Add backward_warning.h
151 * src/Makefile.in: Regenerate.
153 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
155 * src/Makefile.am (myinstalldirs): Make sure backward directory is
157 (myinstallheaders): Install backward headers in backward directory.
158 * src/Makefile.in: Regenerate.
160 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
162 Prepare for libstdc++-2.92.
163 * docs/html/17_intro/RELEASE-NOTES (New): Update.
164 * docs/html/configopts.html: Fix formatting.
165 * README (file): Updates.
166 * include/bits/c++config (__GLIBCPP__): Update.
168 2001-04-05 Phil Edwards <pme@sources.redhat.com>
170 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
172 2001-04-04 Phil Edwards <pme@sources.redhat.com>
174 * docs/doxygen/user.cfg.in: Extract all non-private members;
175 reduce confusing documentation output.
177 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
179 * include/backward/fstream.h: Add missing semicolons.
181 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
183 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
184 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
185 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
186 (ios_base::Init::_S_ios_create): New.
187 (ios_base::Init::_S_ios_destroy): New.
188 * include/bits/std_fstream.h: Change ctor args.
189 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
190 (ios_base::Init::~Init): Use _S_ios_destroy.
191 (ios_base::sync_with_stdio): Use new members.
192 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
195 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
197 * include/backward/fstream.h: Expose streampos to global
200 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
202 * include/bits/stl_iterator_base_types.h: Fix typo
204 2001-04-03 Andreas Schwab <schwab@suse.de>
206 * include/backward/fstream.h: Define filebuf and wfilebuf.
208 2001-04-02 Phil Edwards <pme@sources.redhat.com>
210 New concept checking implementation.
211 * docs/html/19_diagnostics/howto.html: Document.
212 * docs/html/17_intro/concept_check.diff: New file, for reference.
213 * include/bits/boost_concept_check.h: New file from Boost.
214 * include/bits/c++config: Update comments.
216 * include/bits/concept_check.h: New file.
217 * include/bits/concept_checks.h: Removed.
218 * include/bits/container_concepts.h: Removed.
219 * include/bits/sequence_concepts.h: Removed.
220 * include/bits/stl_iterator_base.h: Removed; split into...
221 * include/bits/stl_iterator_base_funcs.h: ...this new file...
222 * include/bits/stl_iterator_base_types.h: ...and this new file.
224 * include/bits/sbuf_iter.h: Update to use new implementation.
225 * include/bits/std_iterator.h: Likewise.
226 * include/bits/std_memory.h: Likewise.
227 * include/bits/stl_algo.h: Likewise.
228 * include/bits/stl_algobase.h: Likewise.
229 * include/bits/stl_construct.h: Likewise.
230 * include/bits/stl_deque.h: Likewise.
231 * include/bits/stl_heap.h: Likewise.
232 * include/bits/stl_list.h: Likewise.
233 * include/bits/stl_map.h: Likewise.
234 * include/bits/stl_multimap.h: Likewise.
235 * include/bits/stl_multiset.h: Likewise.
236 * include/bits/stl_numeric.h: Likewise.
237 * include/bits/stl_queue.h: Likewise.
238 * include/bits/stl_set.h: Likewise.
239 * include/bits/stl_stack.h: Likewise.
240 * include/bits/stl_uninitialized.h: Likewise.
241 * include/bits/stl_vector.h: Likewise.
242 * include/ext/hash_map: Likewise.
243 * include/ext/hash_set: Likewise.
244 * include/ext/slist: Likewise.
245 * include/ext/stl_hashtable.h: Likewise.
247 * src/Makefile.am (base_headers): Update list of headers.
248 * Makefile.in: Regenerated.
249 * src/Makefile.in: Regenerated.
250 * libio/Makefile.in: Regenerated.
251 * libmath/Makefile.in: Regenerated.
252 * libsupc++/Makefile.in: Regenerated.
253 * testsuite/Makefile.in: Regenerated.
255 * docs/html/install.html: Update contact information.
256 * docs/html/17_intro/howto.html: Ditto.
257 * docs/html/18_support/howto.html: Ditto.
258 * docs/html/20_util/howto.html: Ditto.
259 * docs/html/21_strings/howto.html: Ditto.
260 * docs/html/22_locale/howto.html: Ditto.
261 * docs/html/23_containers/howto.html: Ditto.
262 * docs/html/24_iterators/howto.html: Ditto.
263 * docs/html/25_algorithms/howto.html: Ditto.
264 * docs/html/26_numerics/howto.html: Ditto.
265 * docs/html/27_io/howto.html: Ditto.
266 * docs/html/faq/index.html: Ditto, plus info on new checking code.
267 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
268 * docs/html/faq/index.txt: Regenerated.
270 2001-04-02 Zack Weinberg <zackw@stanford.edu>
272 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
273 messages with $which_library as well as $tool_flags and
274 ${dg-extra-tool-flags}. Factor out annotation text into
277 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
279 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
280 * include/c_std/bits/std_cwchar.h: Same.
281 * testsuite/21_strings/c_strings.cc: Add.
283 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
285 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
287 2001-04-01 Zack Weinberg <zackw@stanford.edu>
289 * tests_flags.in: Use test a = b, not test a == b which is not
292 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
294 * configure.target: Remove duplicate aix entry.
296 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
298 * include/ext/stl_bvector.h: Move to...
299 * include/bits/stl_vector.h: ...here.
300 * include/ext/bvector: Move to...
301 * include/backward/bvector.h: ...here.
302 * include/bits/std_vector.h: Change stl_bvector include.
303 * include/bits/std_queue.h: Remove bvector include.
304 * include/ext/tree: Insert using rb_tree, move to...
305 * include/backward/tree.h: ...here.
306 * include/backward/hash_map.h: Include ext/hash_map.
307 * include/backward/hash_set.h: Include ext/hash_set.
308 * include/backward/queue.h: New file.
309 * include/backward/stack.h: Edit.
310 * include/backward/algo.h: Same.
311 * include/backward/algobase.h: Same.
312 * include/backward/alloc.h: Same.
313 * include/backward/function.h: Same.
314 * include/backward/iomanip.h: Same.
315 * include/backward/istream.h: Same.
316 * include/backward/iterator.h: Same.
317 * include/backward/list.h: Same.
318 * include/backward/map.h: Same.
319 * include/backward/multimap.h: Same.
320 * include/backward/multiset.h: Same.
321 * include/backward/ostream.h: Same.
322 * include/backward/pair.h: Same
323 * include/backward/rope.h: Same.
324 * include/backward/set.h: Same.
325 * include/backward/stream.h: Same.
326 * include/backward/strstream.h: Same.
327 * include/backward/tempbuf.h: Same.
328 * src/Makefile.am (ext_headers): Edit.
329 * src/Makefile.in: Regenerate.
330 * testsuite/ext/headers.cc (main): Fix.
333 2001-03-30 Phil Edwards <pme@sources.redhat.com>
335 * tests_flags.in (LIBS): Pass correct path for installed testing.
337 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
339 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
340 * tests_flags.in (CXX): Construct here.
341 (static_fail): Don't remove compile.out. Format with spaces.
342 (INCLUDES): Deal with xcompiling.
343 * configure.in (xcompiling): Substitute.
344 * testsuite/Makefile.am: Snake libjava configury.
345 * testsuite/Makefile.in: Regenerate.
346 * testsuite/23_containers/map_operators.cc: Tweaks.
347 * testsuite/23_containers/set_operators.cc: Tweaks.
349 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
351 Enable dejagnu testing framework.
352 * configure.in: Generate testsuite/Makefile.
353 * configure: Regenerate.
354 * Makefile.am (check-install): Change rule from this...
355 (check-script-install): ...to this.
356 (check): Change rule from this...
357 (check-script):...to this.
358 * Makefile.in: Regenerate.
360 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
362 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
364 (LIBTOOL): Let automake take care of its definition.
365 * libsupc++/Makefile.in: Rebuilt.
367 2001-03-28 Richard Henderson <rth@redhat.com>
369 IA-64 ABI Exception Handling:
370 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
371 * configure.in: Use it.
372 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
373 * libsupc++/Makefile.am (sources): Update files list.
374 * libsupc++/Makefile.in: Regenerate.
375 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
376 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
377 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
378 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
379 * libsupc++/exception_support.cc: Remove.
380 * libsupc++/exception_support.h: Remove.
381 * libsupc++/pure.cc: Use std::terminate.
382 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
383 (__is_pointer): Remove.
384 * libsupc++/unwind-cxx.h: New file.
385 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
387 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
389 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
391 * src/Makefile.am (CXXLINK): Likewise.
392 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
394 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
396 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
398 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
400 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
403 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
405 * include/bits/basic_file.h (get_fileno): Remove.
407 (_M_cfile_created): Add.
408 (basic_file::basic_file(__c_file_type*, openmode): Add.
409 (basic_file::basic_file(int, const char*, openmode): Remove.
410 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
411 const char*, ios_base::openmode): Don't allocate
412 internal buffers. Turn off internal buffers.
413 (basic_filebuf::overflow): Remove test for null buffer.
414 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
415 * include/bits/streambuf.cc: Tweak.
416 * include/bits/std_ostream.h: Tweak.
417 * config/basic_file_libio.h: Same.
418 * config/basic_file_stdio.h: Same.
419 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
420 * testsuite/27_io/filebuf_members.cc: Tweaks.
421 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
423 2001-03-24 Phil Edwards <pme@sources.redhat.com>
425 * Makefile.am: New targets, doxygen and doxygen-maint.
426 * Makefile.in: Regenerated.
427 * docs/doxygen/run_doxygen: Finally implemented.
428 * docs/doxygen/maint.cfg.in: New file.
429 * docs/doxygen/user.cfg.in: New file.
431 2001-03-24 Phil Edwards <pme@sources.redhat.com>
433 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
434 * src/Makefile.am: Replace leading spaces with tabs on continuation
436 * aclocal.m4: Regenerated.
438 * Makefile.in: Ditto.
439 * src/Makefile.in: Ditto.
440 * libio/Makefile.in: Ditto.
441 * libmath/Makefile.in: Ditto.
442 * libsupc++/Makefile.in: Ditto.
444 2001-03-24 Phil Edwards <pme@sources.redhat.com>
446 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
447 concept-checking code and current status of same.
448 * docs/html/ext/howto.html: Ditto.
449 * docs/html/faq/index.html: Ditto.
450 * docs/html/faq/index.txt: Regenerated.
452 2001-03-24 Phil Edwards <pme@sources.redhat.com>
454 * include/bits/std_bitset.h: Include ostream and istream headers
457 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
459 * include/bits/ostream.tcc: Use __builtin_alloca.
461 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
463 * src/misc-inst.cc (__sink_unused_warning): Move to...
464 * src/locale-inst.cc (__sink_unused_warning): Move to...
465 * src/stl-inst.cc: Here.
466 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
469 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
471 * intclude/bits/basic_file.h: Fix typos in comments.
473 2001-03-20 Richard Henderson <rth@redhat.com>
475 * src/gen-num-limits.cc: Instantiate for wchar_t.
476 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
478 2001-03-20 Jason Merrill <jason@redhat.com>
480 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
481 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
482 * libsupc++/cxxabi.h: Declare it.
484 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
486 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
487 signal_func with an unspecified argument list.
489 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
491 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
493 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
495 * include/bits/basic_string.tcc (operator+): Fix thinko.
497 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
500 * include/bits/std_streambuf.h: Remove cached locale facets.
501 (basic_streambuf::_M_buf_fctype): Remove.
502 (basic_streambuf::~basic_streambuf): Remove here.
503 (basic_streambuf::basic_streambuf): Same.
504 (basic_streambuf::imbue): Same.
505 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
506 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
507 (basic_filebuf::~basic_filebuf()): Remove here.
508 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
509 (basic_filebuf::imbue): Same.
510 * include/bits/localefwd.h (_Count_ones): Remove.
511 (locale::_S_num_categories): Just use 6, since this doesn't
512 actually change, ever.
513 * include/bits/locale_facets.tcc (has_facet): Simplify.
515 * testsuite/27_io/filebuf.cc (test06): Add tests.
517 2001-03-13 Steve Ellcey <sje@cup.hp.com>
519 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
520 match HP-UX ctype.h header file.
522 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
524 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
525 duplicate definitions of __dj_ctype_*
527 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
529 * libsupc++/new: Remove pragma interface.
530 * libsupc++/typeinfo: Same.
531 * libsupc++/exception: Same.
532 * libsupc++/new_handler.cc: Remove pragma implementation.
533 (bad_alloc::~bad_alloc()): Add.
534 * libsupc++/exception_support.cc: Same.
535 (exception::~exception): Add.
536 (bad_exception::~bad_exception): Add.
537 * libsupc++/tinfo.cc: Same.
538 (bad_cast::~bad_cast): Add.
539 (bad_typeid::~bad_typeid): Add.
541 2001-03-13 Phil Edwards <pme@sources.redhat.com>
543 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
545 2001-03-12 Felix Lee <flee@redhat.com>
547 * mkcheck.in: workaround for bash 2.01 IFS bug.
549 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
551 Fixups for -fno-for-scope
552 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
553 * src/valarray-inst.cc (__gslice_to_index): Same.
555 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
557 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
558 prior to trapping signal (UnixWare 7 workaround).
560 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
562 * include/backward/hashtable.h: Same.
563 * include/backward/rope.h: Fix include.
565 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
567 * include/backward/vector.h: Include std_vector.h.
569 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
570 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
573 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
575 * include/ext/stl_hashtable.h: Change type of __n to size_t
576 * include/backward/bvector.h: Include <ext/stl_bvector.h>
578 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
580 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
581 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
582 Use streamsize, not int_type.
584 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
586 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
589 2001-03-08 Andreas Schwab <schwab@suse.de>
591 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
593 * aclocal.m4, configure: Regenerated.
595 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
597 * include/bits/std_iosfwd.h: Remove string forward decls here.
598 * include/bits/stringfwd.h: Add forward decls for char_traits
600 * config/c_io_libio.h (wstreamoff): Delete.
601 * config/c_io_stdio.h (wstreamoff): Same.
602 * include/bits/char_traits.h: Use streamoff not wstreamoff for
603 char_traits<wchar_t>::off_type.
604 Remove duplicate typedefs.
605 * include/bits/fpos.h: Define streampos/wstreampos here.
606 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
609 Changeup output files.
610 * testsuite/27_io/istream_unformatted.cc: Change output files.
611 * testsuite/27_io/istream_seeks-1.txt: Add.
612 * testsuite/27_io/istream_seeks-2.tst: Add.
613 * testsuite/27_io/istream_seeks-1.tst: Add.
614 * testsuite/27_io/istream_unformatted-2.tst: Delete.
615 * testsuite/27_io/istream_unformatted-3.tst: Delete.
616 * testsuite/27_io/istream_unformatted-3.txt: Delete.
618 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
620 Add Irix 5.2, 6.3 support.
621 * config/os/irix/bits: Renamed to...
622 * config/os/irix/irix6.5/bits: this.
623 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
624 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
625 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
626 * config/os/irix/irix5.2/bits/ctype_noninline.h
627 (ctype<char>::ctype): Initialize _M_table with __ctype.
628 * configure.target: Adjust.
630 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
633 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
634 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
636 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
637 (*__pf)(__ios_type&)): Same.
638 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
639 (*__pf)(ios_base&))): Same.
640 * testsuite/27_io/istream_extractor_other.cc: Add tests.
641 * testsuite/27_io/istream_manip.cc (test01): Fix.
643 2001-03-06 Nathan Myers <ncm@cantrip.org>
644 Benjamin Kosnik <bkoz@redhat.com>
646 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
647 * testsuite/17_intro/header_cerrno.cc (test01): New file.
648 * testsuite/17_intro/header_cassert.cc (test01): New file.
649 * testsuite/17_intro/header_cstddef.cc (test01): New file.
650 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
651 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
653 2001-03-05 scott snyder <snyder@fnal.gov>
656 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
658 * include/c_std/bits/std_cstdlib.h: ... to here.
659 * testsuite/17_intro/header_cstdlib.cc: Add test.
661 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
663 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
665 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
667 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
668 definition. Replace enum with static const variables.
670 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
671 throw specification, fix typos, use <static_cast>.
672 (ctype<char>::scan_is): remove throw specification.
673 (ctype<char>::scan_not): likewise.
675 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
676 (ctype<char>::do_toupper(char)): use <static_cast>.
677 (ctype<char>::do_toupper(char *, const char *)): likewise.
678 (ctype<char>::do_tolower(char)): likewise.
679 (ctype<char>::do_tolower(char *, const char *)): likewise.
681 2001-03-04 Phil Edwards <pme@sources.redhat.com>
683 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
684 * include/backward/algo.h: Use std not __STD. Remove unneeded
685 macros and "never happens" code. Adjust to C++STYLE guidelines.
686 * include/backward/algobase.h: Likewise.
687 * include/backward/alloc.h: Likewise.
688 * include/backward/bvector.h: Likewise.
689 * include/backward/deque.h: Likewise.
690 * include/backward/function.h: Likewise.
691 * include/backward/hash_map.h: Likewise.
692 * include/backward/hash_set.h: Likewise.
693 * include/backward/hashtable.h: Likewise.
694 * include/backward/heap.h: Likewise.
695 * include/backward/iterator.h: Likewise.
696 * include/backward/list.h: Likewise.
697 * include/backward/map.h: Likewise.
698 * include/backward/multimap.h: Likewise.
699 * include/backward/multiset.h: Likewise.
700 * include/backward/pair.h: Likewise.
701 * include/backward/rope.h: Likewise.
702 * include/backward/set.h: Likewise.
703 * include/backward/slist.h: Likewise.
704 * include/backward/stack.h: Likewise.
705 * include/backward/strstream: Likewise.
706 * include/backward/tempbuf.h: Likewise.
707 * include/backward/tree.h: Likewise.
708 * include/backward/vector.h: Likewise.
709 * include/bits/basic_ios.h: Likewise.
710 * include/bits/basic_ios.tcc: Likewise.
711 * include/bits/basic_string.h: Likewise.
712 * include/bits/c++config: Likewise.
713 * include/bits/concept_checks.h: Likewise.
714 * include/bits/fpos.h: Likewise.
715 * include/bits/fstream.tcc: Likewise.
716 * include/bits/functexcept.h: Likewise.
717 * include/bits/ios_base.h: Likewise.
718 * include/bits/istream.tcc: Likewise.
719 * include/bits/mask_array.h: Likewise.
720 * include/bits/ostream.tcc: Likewise.
721 * include/bits/pthread_allocimpl.h: Likewise.
722 * include/bits/sbuf_iter.h: Likewise.
723 * include/bits/slice.h: Likewise.
724 * include/bits/slice_array.h: Likewise.
725 * include/bits/sstream.tcc: Likewise.
726 * include/bits/std_bitset.h: Likewise.
727 * include/bits/std_fstream.h: Likewise.
728 * include/bits/std_iomanip.h: Likewise.
729 * include/bits/std_ios.h: Likewise.
730 * include/bits/std_istream.h: Likewise.
731 * include/bits/std_iterator.h: Likewise.
732 * include/bits/std_memory.h: Likewise.
733 * include/bits/std_ostream.h: Likewise.
734 * include/bits/std_sstream.h: Likewise.
735 * include/bits/std_streambuf.h: Likewise.
736 * include/bits/std_string.h: Likewise.
737 * include/bits/std_valarray.h: Likewise.
738 * include/bits/stl_algo.h: Likewise.
739 * include/bits/stl_algobase.h: Likewise.
740 * include/bits/stl_alloc.h: Likewise.
741 * include/bits/stl_construct.h: Likewise.
742 * include/bits/stl_deque.h: Likewise.
743 * include/bits/stl_function.h: Likewise.
744 * include/bits/stl_heap.h: Likewise.
745 * include/bits/stl_iterator.h: Likewise.
746 * include/bits/stl_iterator_base.h: Likewise.
747 * include/bits/stl_list.h: Likewise.
748 * include/bits/stl_map.h: Likewise.
749 * include/bits/stl_multimap.h: Likewise.
750 * include/bits/stl_multiset.h: Likewise.
751 * include/bits/stl_numeric.h: Likewise.
752 * include/bits/stl_pair.h: Likewise.
753 * include/bits/stl_pthread_alloc.h: Likewise.
754 * include/bits/stl_queue.h: Likewise.
755 * include/bits/stl_raw_storage_iter.h: Likewise.
756 * include/bits/stl_relops.h: Likewise.
757 * include/bits/stl_set.h: Likewise.
758 * include/bits/stl_stack.h: Likewise.
759 * include/bits/stl_tempbuf.h: Likewise.
760 * include/bits/stl_threads.h: Likewise.
761 * include/bits/stl_tree.h: Likewise.
762 * include/bits/stl_uninitialized.h: Likewise.
763 * include/bits/stl_vector.h: Likewise.
764 * include/bits/streambuf.tcc: Likewise.
765 * include/bits/type_traits.h: Likewise.
766 * include/bits/valarray_meta.h: Likewise.
767 * include/ext/bvector: Likewise.
768 * include/ext/hash_map: Likewise.
769 * include/ext/hash_set: Likewise.
770 * include/ext/ropeimpl.h: Likewise.
771 * include/ext/slist: Likewise.
772 * include/ext/stl_bvector.h: Likewise.
773 * include/ext/stl_hash_fun.h: Likewise.
774 * include/ext/stl_hashtable.h: Likewise.
775 * include/ext/stl_rope.h: Likewise.
776 * src/complex_io.cc: Likewise.
777 * src/ios.cc: Likewise.
778 * src/locale-inst.cc: Likewise.
779 * src/locale.cc: Likewise.
780 * src/localename.cc: Likewise.
781 * src/misc-inst.cc: Likewise.
782 * src/stdexcept.cc: Likewise.
783 * src/stl-inst.cc: Likewise.
784 * src/strstream.cc: Likewise.
785 * src/valarray-inst.cc: Likewise.
787 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
789 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
791 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
793 * include/bits/istream.tcc: change type of __extracted to __size_type
795 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
797 * src/wstring-inst.cc: New file.
798 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
799 (libinst_wstring_la_SOURCES): Remove.
800 (libstdc___la_LIBADD): Remove libinst_wstring_la.
801 (sources): Add wstring-inst.cc
802 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
805 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
807 * src/locale.cc: initialise __ret with zero
808 * src/strstream.cc:cast gptr to int_type
810 2001-03-01 Phil Edwards <pme@sources.redhat.com>
812 * docs/html/faq/index.html: Update broken links.
813 * docs/html/faq/index.txt: Regenerated.
815 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
818 * configure.target: Change irix* to irix6.5* in target_os table.
820 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
823 * include/bits/c++config (__GLIBCPP__): Bump number in
824 anticipation of 2.92.
826 * include/bits/codecvt.h: Fix typo.
827 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
829 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
830 instantiations for stdio model.
832 2001-02-28 Phil Edwards <pme@sources.redhat.com>
834 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
835 and GLIBCPP_CXXFLAGS as unused variables.
836 * configure.host: Likewise.
837 * configure.target: Likewise.
838 * aclocal.m4: Regenerated.
839 * configure: Regenerated.
840 * Makefile.in: Regenerated.
841 * libio/Makefile.in: Regenerated.
842 * libmath/Makefile.in: Regenerated.
843 * libsupc++/Makefile.in: Regenerated.
844 * src/Makefile.in: Regenerated.
846 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
849 * include/bits/basic_file.h: Include basic_file_model.h.
850 * config/c_io_libio.cc: Move to...
851 * config/basic_file_libio.cc: Here.
852 * config/basic_file_libio.h: New file.
853 * config/c_io_stdio.cc: Move to...
854 * config/basic_file_stdio.cc: Here.
855 * config/basic_file_stdio.h: New file.
856 * config/c_io_libio.h: Tweak.
857 * config/c_io_stdio.h: Tweak.
858 * src/Makefile.am (build_headers): Add basic_file_model.h.
859 (sources): Add basic_file.cc, remove c++io.cc.
860 * src/Makefile.in: Regenerate.
861 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
862 basic_file_model.h and basic_file.cc.
863 * aclocal.m4: Regenerate.
864 * configure: Regenerate.
865 * testsuite/27_io/filebuf.cc (test05): Add regression.
867 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
870 * config/cpu/alpha/bits/atomicity.h: Change.
871 * config/cpu/arm/bits/atomicit3y.h
872 * config/cpu/generic/bits/atomicity.h
873 * config/cpu/i386/bits/atomicity.h
874 * config/cpu/i486/bits/atomicity.h
875 * config/cpu/ia64/bits/atomicity.h
876 * config/cpu/powerpc/bits/atomicity.h
877 * config/cpu/sparc/sparc32/bits/atomicity.h
878 * config/cpu/sparc/sparc64/bits/atomicity.h
879 * config/os/aix/bits/atomicity.h
880 * config/os/irix/bits/atomicity.h
882 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
884 * include/bits/std_stdexcept.h (runtime_error): Make string
887 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
890 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
894 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
895 string object, not reference.
896 (runtime_error::runtime_error): Same.
897 * testsuite/19_diagnostics/stdexceptions.cc: New file.
899 2001-02-26 Phil Edwards <pme@sources.redhat.com>
901 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
902 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
903 diagnostics. Remove WFMT_FLAGS.
904 * configure.in: Replace WFMT_FLAGS with diagnostics options.
905 * libsupc++/Makefile.am: Likewise.
906 * src/Makefile.am: Likewise.
907 * aclocal.m4: Regenerated.
908 * configure: Regenerated.
909 * Makefile.in: Regenerated.
910 * libio/Makefile.in: Regenerated.
911 * libmath/Makefile.in: Regenerated.
912 * libsupc++/Makefile.in: Regenerated.
913 * src/Makefile.in: Regenerated.
915 2001-02-26 Phil Edwards <pme@sources.redhat.com>
918 * include/backward/iomanip.h: Expose <ios> manipulators to global
920 * include/backward/iostream.h: Also expose std::ws.
922 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
924 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
926 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
928 * include/bits/codecvt.h: Use __builtin_alloca.
929 * include/bits/ostream.tcc: Same.
930 * include/bits/fstream.tcc: Same.
932 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
934 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
936 2001-02-23 David Edelsohn <dje@watson.ibm.com>
938 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
940 2001-02-23 Phil Edwards <pme@sources.redhat.com>
943 * include/backward/iostream.h: Expose std::flush in old headers.
945 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
947 * mknumeric_limits: Remove special-casing on target. Use gcc
948 instead of g++ to build gen-num-limits.cc
950 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
952 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
954 * include/bits/codecvt.h: Use alloca instead of __extension__ for
956 * include/bits/ostream.tcc: Same.
957 * include/bits/std_ostream.h: Same.
958 * include/bits/fstream.tcc: Same.
959 * include/bits/locale_facets.tcc: Add typename.
960 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
962 2001-02-21 Phil Edwards <pme@sources.redhat.com>
964 * tests_flags.in: Remove -n flag from call to echo.
966 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
968 * config/c_locale_gnu.h: Add clocale include.
970 2001-02-20 Phil Edwards <pme@sources.redhat.com>
972 * include/bits/stl_config.h: Remove file.
973 * src/Makefile.am (base_headers): Remove from list.
974 * configure: Regenerate.
975 * Makefile.in: Ditto.
976 * libio/Makefile.in: Ditto.
977 * libmath/Makefile.in: Ditto.
978 * libsupc++/Makefile.in: Ditto.
979 * src/Makefile.in: Ditto.
981 * include/bits/c++config: Move relevant macros to here.
982 * include/backward/alloc.h: Include c++config.h instead.
983 * include/backward/function.h: Ditto.
984 * include/backward/heap.h: Ditto.
985 * include/backward/pair.h: Ditto.
986 * include/bits/pthread_allocimpl.h: Ditto.
987 * include/bits/std_functional.h: Ditto.
988 * include/bits/std_iterator.h: Ditto.
989 * include/bits/std_numeric.h: Ditto.
990 * include/bits/std_utility.h: Ditto.
991 * include/bits/stl_algobase.h: Ditto.
992 * include/bits/type_traits.h: Ditto.
993 * src/stl-inst.cc: Ditto.
995 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
997 * include/bits/basic_file.h: Add #pragma system_header
998 * include/bits/basic_ios.h: Ditto.
999 * include/bits/basic_string.h: Ditto.
1000 * include/bits/char_traits.h: Ditto.
1001 * include/bits/codecvt.h: Ditto.
1002 * include/bits/cpp_type_traits.h: Ditto.
1003 * include/bits/fpos.h: Ditto.
1004 * include/bits/gslice.h: Ditto.
1005 * include/bits/gslice_array.h: Ditto.
1006 * include/bits/indirect_array.h: Ditto.
1007 * include/bits/ios_base.h: Ditto.
1008 * include/bits/limits_generic.h: Ditto.
1009 * include/bits/locale_facets.h: Ditto.
1010 * include/bits/localefwd.h: Ditto.
1011 * include/bits/mask_array.h: Ditto.
1012 * include/bits/sbuf_iter.h: Ditto.
1013 * include/bits/sequence_concepts.h: Ditto.
1014 * include/bits/slice.h: Ditto.
1015 * include/bits/slice_array.h: Ditto.
1016 * include/bits/std_algorithm.h: Likewise.
1017 * include/bits/std_bitset.h: Likewise.
1018 * include/bits/std_complex.h: Likewise.
1019 * include/bits/std_deque.h: Likewise.
1020 * include/bits/std_fstream.h: Likewise.
1021 * include/bits/std_functional.h: Likewise.
1022 * include/bits/std_iomanip.h: Likewise.
1023 * include/bits/std_ios.h: Likewise.
1024 * include/bits/std_iosfwd.h: Likewise.
1025 * include/bits/std_iostream.h: Likewise.
1026 * include/bits/std_istream.h: Likewise.
1027 * include/bits/std_iterator.h: Likewise.
1028 * include/bits/std_list.h: Likewise.
1029 * include/bits/std_locale.h: Likewise.
1030 * include/bits/std_map.h: Likewise.
1031 * include/bits/std_memory.h: Likewise.
1032 * include/bits/std_numeric.h: Likewise.
1033 * include/bits/std_ostream.h: Likewise.
1034 * include/bits/std_queue.h: Likewise.
1035 * include/bits/std_set.h: Likewise.
1036 * include/bits/std_sstream.h: Likewise.
1037 * include/bits/std_stack.h: Likewise.
1038 * include/bits/std_stdexcept.h: Likewise.
1039 * include/bits/std_streambuf.h: Likewise.
1040 * include/bits/std_string.h: Likewise.
1041 * include/bits/std_utility.h: Likewise.
1042 * include/bits/std_valarray.h: Likewise.
1043 * include/bits/std_vector.h: Likewise.
1044 * include/bits/stringfwd.h: Likewise.
1045 * include/bits/type_traits.h: Likewise.
1046 * include/bits/valarray_array.h: Likewise.
1047 * include/bits/valarray_meta.h: Likewise.
1049 2001-02-19 Andreas Jaeger <aj@suse.de>
1051 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
1054 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
1057 * include/bits/std_ostream.h: Replaced usage of
1058 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
1059 * include/bits/char_traits.h: Removed non-standard
1060 methods that cannot be used elsewhere.
1063 * include/bits/basic_ios.h: Uncommented #include of
1067 * include/bits/codecvt.h: See next...
1068 * include/bits/fstream.tcc: See next...
1069 * include/bits/ostream.tcc: Add __extension__
1070 to variable-length arrays.
1073 * include/bits/localefwd.h: Changed int counter type to size_t.
1076 * include/bits/std_fstream.h: Added typedef for __ctype_type.
1078 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
1080 * testsuite/21_strings/char_traits.cc: Move to ...
1081 * testsuite/21_strings/char_traits_requirements.cc: ..here.
1082 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
1083 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
1085 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
1087 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
1090 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
1092 * include/bits/c++config: Revert.
1094 2001-02-15 Mark Mitchell <mark@codesourcery.com>
1096 * include/bits/istream.tcc: Use ios_base::iostate in place of
1097 iostate throughout. Insert `typename' keyword where necessary.
1098 * include/bits/ostream.tcc: Insert `typename' keyword where
1101 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
1103 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
1104 Define so library is compliant.
1106 2001-02-15 Anthony Green <green@redhat.com>
1108 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
1110 * aclocal.m4: Regenerate.
1111 * configure: Regenerate.
1113 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
1115 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
1116 Include ieeefp.h for fpclass on UnixWare{2,7}.
1117 * aclocal.m4: Regenerate.
1118 * configure: Regenerate.
1119 * mkcheck.in (size_command): Do without GNU-grep when using
1122 2001-02-15 Mark Mitchell <mark@codesourcery.com>
1124 Remove old ABI support from libsupc++.
1125 * libsupc++/cxxabi.h: Remove conditionally compiled code.
1126 * libsupc++/exception_support.cc: Likewise.
1127 * libsupc++/pure.cc: Likewise.
1128 * libsupc++/tinfo.cc: Likewise.
1129 * libsupc++/tinfo.h: Likewise.
1130 * libsupc++/tinfo2.cc: Likewise.
1131 * libsupc++/typeinfo: Likewise.
1132 * libsupc++/vec.cc: Likewise.
1134 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
1136 Add support for -fno-exceptions.
1137 * include/bits/exception_support.h: Remove.
1138 * include/bits/basic_string.h: Remove exception_support.
1139 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
1141 (string::substr): Same.
1142 * include/bits/basic_string.tcc (string::reserve): Replace
1143 __LENGTHERROR with __throw_length_error.
1144 (string::_S_create): Same.
1145 (string::resize): Same.
1146 (string::_M_replace): Same.
1147 (string::replace): Same.
1148 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
1149 (string::compare): Same.
1150 * include/bits/stl_vector.h: Remove exception_support.
1151 * src/Makefile.am (base_headers): Remove here.
1152 * src/Makefile.in: Regenerate.
1154 * include/bits/stl_range_errors.h: Remove.
1155 * include/bits/stl_deque.h: Use __throw_range_error.
1156 * include/bits/std_deque.h: Include functexcept.h.
1157 * include/bits/std_vector.h: Same.
1158 * src/Makefile.am (base_headers): Remove here.
1159 * src/Makefile.in: Regenerate.
1160 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
1161 * include/ext/bvector: Remove stl_range_errors.h
1163 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
1165 * include/bits/functexcept.h: New file.
1166 * src/functexcept.cc: New file. Definitions for function-based
1168 * src/Makefile.am (sources): Add functexcept.cc.
1169 * src/Makefile.in: Regenerate.
1171 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
1174 * include/bits/localefwd.h: Include functexcept.h.
1175 * include/bits/std_iosfwd.h: Same.
1177 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
1178 throw basic_ios::failure.
1179 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
1180 Use __throw_exception_again.
1181 (filebuf::_M_filebuf_init): Same.
1182 * include/bits/streambuf.tcc (__copy_streambufs): Same.
1183 * include/bits/ostream.tcc (ostream::operator<<): Same.
1184 * include/bits/istream.tcc (istream::operator>>): Same.
1185 * include/bits/basic_string.tcc (string::_M_mutate): Same.
1186 (string::_S_construct): Same.
1187 (string::_M_clone): Same.
1188 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
1190 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
1191 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
1192 __throw_exception_again.
1193 (locale::_Imp::_Imp(string, size_t): Same.
1194 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
1195 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
1196 (locale::locale(const char*)): Use __throw_runtime_error.
1197 (locale::classic): Use __throw_exception_again.
1198 (locale::_S_normalize_category): Use __throw_runtime_error.
1200 * src/stdexcept.cc: Remove cruft.
1202 * libsupc++/exception_defines.h: New file.
1203 * libsupc++/new_opnt.cc: Include exception_defines.h.
1204 * libsupc++/vec.cc: Same.
1205 (__cxa_vec_new2): Use __throw_exception_again.
1206 (__cxa_vec_new3): Same.
1207 (__cxa_vec_ctor): Same.
1208 (__cxa_vec_delete3): Same.
1209 (__cxa_vec_cctor): Same.
1210 (__cxa_vec_delete2): Same.
1211 (__cxa_vec_dtor): Same.
1212 * libsupc++/exception_support.cc: Include exception_defines.h. Only
1213 compile exception-handling bits if __EXCEPTIONS is defined.
1214 Remove old ABI support.
1215 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
1216 std::__throw_bad_alloc() instead of throw bad_alloc.
1217 * libsupc++/Makefile.am: Add exception_defines.h.
1218 * libsupc++/Makefile.in: Reformat.
1219 * libsupc++/*: Format.
1221 2001-02-15 Phil Edwards <pme@sources.redhat.com>
1223 * docs/html/configopts.html: Minor updates and typo fixes.
1224 * docs/html/faq/index.html: Updates of the "not really bugs" list.
1225 * docs/html/faq/index.txt: Regenerated.
1227 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
1229 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
1230 dejagnu/dg.exp. Adapt to log options used to run testcases.
1232 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1234 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
1237 2001-02-13 Dirk Mueller <dmuell@gmx.net>
1238 Phil Edwards <pme@sources.redhat.com>
1240 * include/backward/function.h: Do not use rel_ops for older
1242 * include/backward/pair.h: Likewise.
1244 2001-02-12 Mark Mitchell <mark@codesourcery.com>
1246 * src/locale.cc: Remove bogus locale::id definitions.
1248 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1250 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
1251 not _DEFINE_VALARRAY_OPERATOR which is not existent.
1253 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
1254 thinko in member initialisation.
1256 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1258 * include/bits/std_valarray.h(valarray<>::shift): Avoid
1259 comparaison between signed and unsigned integer types.
1260 (valarray<>::cshift): Reformat.
1262 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
1264 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
1265 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
1266 * configure.in: Test for sigsetjmp.
1267 * configure, config.h.in: Rebuilt.
1269 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1271 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
1272 lengths and strides.
1273 (__gslice_to_index): Document.
1275 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1277 * include/bits/char_traits.h char_traits<char>::int_type: Change
1278 to `int' to match 21.1.3.1/2.
1280 * testsuite/21_strings/char_traits-int_type.C: New test.
1282 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
1284 * testsuite/Makefile.am: New file.
1286 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
1288 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
1290 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
1292 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
1294 2001-02-08 David Edelsohn <edelsohn@gnu.org>
1296 * configure.target (aix4*): Remove extra set of brackets.
1298 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
1301 * include/bits/stringfwd.h: New file.
1302 * include/bits/stl_string_fwd.h: Remove.
1303 * include/bits/localefwd.h: Remove declaration for allocator.
1304 * include/bits/std_iosfwd: Same.
1305 * include/bits/std_string.h: Include it.
1306 * include/bits/std_ios.h: Remove include.
1307 * include/bits/basic_string.h: Tweak.
1308 * libsupc++/new: Format.
1309 * src/Makefile.am (base_headers): Add stringfwd.h, remove
1311 * src/Makefile.in: Regenerate.
1312 * include/bits/std_stdexcept.h: Rewrite.
1313 * src/stdexcept.cc: Same.
1315 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
1317 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
1318 install locations too.
1319 * aclocal.m4: Regenerate.
1320 * configure.in: Remove USE_LIBDIR.
1321 * configure: Regenerate.
1322 * src/Makefile.am (toolexecdir): Simplify, use
1323 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
1324 * src/Makefile.in: Regenerate.
1325 * libsupc++/Makefile.am: Same.
1326 * libsupc++/Makefile.in: Regenerate.
1328 * src/Makefile.am: Just remove special rules for locale-inst.cc and
1329 misc-inst.cc as no longer necessary.
1331 Follow C++STYLE for naming non-static functions.
1332 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
1334 * include/bits/streambuf.tcc: Same.
1335 * include/bits/ostream.tcc: Same.
1336 * include/bits/istream.tcc: Same.
1337 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
1338 (_S_output_float): To __output_float.
1339 * include/bits/std_streambuf.h (_S_copy_streambufs): To
1341 * include/bits/locale_facets.tcc (_S_build_float_format): To
1342 __build_float_format.
1343 (_S_format): To __output_integer.
1344 (_S_fill): To __pad.
1345 * src/locale.cc: Same.
1346 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
1348 * include/bits/locale_facets.tcc (_S_group_digits): To
1350 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
1351 for collate, numpunct.
1353 2001-02-06 Phil Edwards <pme@sources.redhat.com>
1355 * docs/html/configopts.html: Fix HTML markup.
1356 * docs/html/install.html: Bring up to date.
1357 * docs/html/17_intro/C++STYLE: Add global variable conventions.
1358 * docs/html/21_strings/howto.html: More notes.
1359 * docs/html/22_locale/howto.html: Fix HTML markup.
1360 * docs/html/27_io/howto.html: More notes.
1361 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
1362 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
1364 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
1366 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
1367 to match header files.
1368 (_S_output_float): Likewise.
1369 (_S_copy_streambufs): Likewise.
1371 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
1372 Phil Edwards <pme@sources.redhat.com>
1374 * include/bits/std_istream.h (op>> signed,unsigned char): Must
1375 use reinterpret_cast, not static_cast.
1377 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
1379 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
1380 * aclocal.m4: Regenerate.
1381 * configure: Regenerate.
1383 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1385 * include/bits/locale_facets.h (class moneypunct): Fix typos.
1386 * libsupc++/pure.cc: Revert.
1388 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1390 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
1391 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
1392 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
1393 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
1394 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
1395 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
1396 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
1397 * aclocal.m4: Regenerate.
1398 * configure: Regenerate.
1400 2001-02-05 Mark Mitchell <mark@codesourcery.com>
1402 * include/bits/locale_facets.tcc: Remove `static' keyword on
1403 function definitions.
1404 * include/bits/std_streambuf.h: Likewise.
1405 * src/Makefile.am: Remove use of -fimplicit-templates.
1406 * src/Makefile.in: Regenerated.
1407 * src/locale-inst.cc: Explicitly instantiate more functions.
1408 * src/misc-inst.cc: Likewise.
1409 * src/string-inst.cc: Likewise.
1411 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1413 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
1414 macro. Consolidate all the bits to do with where includes might be
1416 * aclocal.m4: Regenerate.
1417 * configure.in: Use it.
1418 * configure: Regenerate.
1419 * src/Makefile.am (targetincludep): Use simplified rules.
1420 (targetincludep): Rename gxx_target_include_dir.
1421 (myincludep): Rename gxx_include_dir.
1422 * src/Makefile.in: Regenerate.
1423 * libsupc++/Makefile.am: Use simplified rules.
1424 * libsupc++/Makefile.in: Regenerate.
1426 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1428 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
1429 * include/c_std/bits/std_cctype.h: Same.
1430 * include/c_std/bits/std_cassert.h: Same.
1431 * include/c_std/bits/std_cstdarg.h: Same.
1432 * include/c_std/bits/std_cstddef.h: Same.
1434 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
1436 * include/c_std/bits/std_ctime.h: Same.
1437 * include/c_std/bits/std_clocale.h: Same.
1438 * include/c_std/bits/std_cmath.h: Same.
1439 * include/c_std/bits/std_csetjmp.h: Same.
1440 * include/c_std/bits/std_csignal.h: Same.
1441 * include/c_std/bits/std_cstring.h: Same.
1442 * include/c_std/bits/std_cstdlib.h: Same.
1443 * include/c_std/bits/std_cwchar.h: Same.
1445 2001-02-05 Phil Edwards <pme@sources.redhat.com>
1447 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
1449 2001-02-05 Mark Mitchell <mark@codesourcery.com>
1451 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
1452 (string::_S_construct): Likewise.
1454 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
1456 * testsuite/config/default.exp: New file.
1457 * testsuite/config: New directory.
1459 2001-02-04 Mark Mitchell <mark@codesourcery.com>
1461 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
1462 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
1463 whenever !__GXX_MERGED_TYPEINFO_NAMES.
1464 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
1466 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
1467 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1469 * Makefile.am (mkinstalldirs): Set.
1470 * src/Makefile.am (mkinstalldirs): Set.
1471 * libmath/Makefile.am (mkinstalldirs): Set.
1472 * libsup++/Makefile.am (mkinstalldirs): Set.
1473 * libio/Makefile.am (mkinstalldirs): Set.
1474 * */Makefile.in: Regenerate.
1476 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
1478 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
1479 * include/bits/localefwd.h: More initialization cleanups.
1481 2001-02-03 Jeffrey A Law <law@cygnus.com>
1483 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
1484 correctly targets with 16bit ints.
1485 (_S_ios_openmode_end): Similarly.
1486 (_S_ios_iostate_end): Similarly.
1487 (_S_ios_Seekdir_end): Similarly.
1489 2001-02-02 Phil Edwards <pme@sources.redhat.com>
1491 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
1493 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
1495 * configure.in (toplevel_srcdir, auxdir): Set.
1496 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
1497 * aclocal.m4, configure, Makefile.in: Rebuilt.
1498 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
1499 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
1500 * libsupc++-v3/Makefile.in: Rebuilt.
1501 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
1502 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
1504 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
1506 * config/c_locale_generic.cc: Remove langinfo include.
1508 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
1510 Preliminary named locales.
1511 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
1512 * aclocal.m4: Regenerate.
1513 * configure.in: Use it.
1514 * configure: Regerate.
1515 * src/Makefile.am (sources): Add c++locale.cc.
1516 (build_headers): Add c++locale.h.
1517 * src/Makefile.in: Regenerate.
1518 * config/c_locale_gnu.h: New file.
1519 * config/c_locale_gnu.cc: New file. Non-inline member functions
1520 for named locales, gnu-specific.
1521 * config/c_locale_generic.h: New file.
1522 * config/c_locale_generic.cc: New file. Non-inline member
1523 functions for named locales, generic version.
1524 * docs/html/configopts.html: Add documentation on new options.
1526 * include/bits/locale_facets.h (class _Messages): Remove.
1527 (class _Moneypunct): Remove.
1528 * src/locale-inst.cc: Remove.
1530 * include/bits/locale_facets.h (class _Collate): Remove.
1531 * src/locale-inst.cc (std): Remove.
1532 * src/locale.cc: And here.
1534 * include/bits/localefwd.h (locale::_M_coalesce): New
1535 function. Correctly put together multi-name locales.
1536 (_Impl(const _Impl&, category, size_t)): Remove.
1538 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
1540 (_M_normalize_category_names): Remove.
1541 (_M_replace_categories): Fix.
1543 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
1544 (locale::_Impl::_M_construct_ctype): Remove.
1545 (locale::_Impl::_M_construct_monetary): Remove.
1546 (locale::_Impl::_M_construct_numeric): Remove.
1547 (locale::_Impl::_M_construct_time): Remove.
1548 (locale::_Impl::_M_construct_messages): Remove.
1550 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
1551 (_Use_facet_failure_handle): Remove.
1552 * src/locale.cc: Remove definitions.
1553 * src/locale-inst.cc: And here.
1555 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
1557 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
1558 create and error-check underlying locale object.
1559 (locale::facet::_S_destroy_c_locale): Add, take care of properly
1560 tearing down underlying locale object.
1561 * include/bits/localefwd.h (locale::facet): Declare.
1562 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
1563 correctness, as glibc apparently has incorrect info in it. Test
1564 with it when it works again.....
1566 * include/bits/localefwd.h (locale::_Impl::__vec_string):
1567 Remove. Number of categories is fixed at six, so just simplify and
1568 make this an array of strings.
1569 (locale::_Impl::_M_has_name): Remove.
1570 (locale::_Impl::_M_name): Remove.
1571 (locale::_Impl::_M_category_names): Turns into...
1572 (locale::_Impl::_M_names): ...this.
1573 (locale::_Impl::_M_has_same_name()): New function.
1574 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
1575 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
1577 * src/locale.cc (locale::name()): Construct mangled name
1578 accurately reflecting combined locale categories.
1580 * src/locale.cc (locale::classic()): Don't initialize here.
1581 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
1582 __refs, bool __has_name, string __str): Do it here.
1584 * include/bits/localefwd.h: _S_categories_num to
1585 _S_num_categories. _S_facets_num to _S_num_facets.
1586 (locale::id::id()): Explicitly set _M_index to zero.
1587 * src/locale.cc: Same.
1589 * src/locale.cc: (locale::locale(const char*)): Construct named
1592 * src/locale.cc: Remove numpunct_byname ctors.
1593 * testsuite/22_locale/numpunct_byname.cc: New file.
1594 * testsuite/22_locale/numpunct.cc: New file.
1596 * include/bits/localefwd.h (class locale): Change data members to
1597 protected, from private.
1598 (_Impl::_M_get_c_locale): Add member function.
1599 (locale::facet::_M_get_global_impl()): Add member function.
1600 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
1601 a __c_locale pointer.
1602 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
1604 * testsuite/22_locale/members.cc: New file, test name and combine.
1606 * include/bits/locale_facets.h (class numpunct): Remove class
1607 _Punct and _Numpunct. Rewrite class numpunct to be correct for
1609 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
1610 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
1611 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
1612 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
1613 * testsuite/22_locale/numpunct_char_members.cc: New file.
1615 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
1617 * testsuite/README: Add more comment.
1618 * testsuite/lib/libstdc++.exp: Tweak comment.
1620 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
1622 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
1624 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
1626 * testsuite/21_strings/inserters_extractors.cc: Remove
1627 explicit reference to 'testsuite/'.
1629 2001-01-25 Richard Henderson <rth@redhat.com>
1631 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
1632 bits. Fixes Tru64 build issues.
1634 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1636 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
1637 (use ${MAKE-make}, not ${MAKE:-make}).
1638 * aclocal.m4, configure: Regenerate.
1640 2001-01-25 Mark Mitchell <mark@codesourcery.com>
1642 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
1645 * src/Makefile.am (sources): Add globals.cc.
1646 * src/Makefile.in: Regenerated.
1647 * src/globals.cc: New file.
1648 * src/ios.cc (cin): Don't define here, just declare extern.
1657 2001-01-25 Phil Edwards <pme@sources.redhat.com>
1659 * include/bits/std_iterator.h: Do not include stl_relops.h.
1660 * include/bits/std_numeric.h: Ditto.
1661 * include/bits/stl_algobase.h: Ditto.
1662 * include/bits/stl_relops.h: Add comment warning about problems.
1664 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
1666 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
1667 in testcases. Prepare for the DejaGnu based framework.
1668 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
1669 directory -- it is now mkcheck working directory.
1670 * tests_flags.in: Remove reference to $(top_srcdir). Use
1672 * Makefile.am (check, check-install): Change mkcheck invocation
1674 * Makefile.in: Regenerate.
1676 2001-01-24 Mark Mitchell <mark@codesourcery.com>
1678 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
1679 (__always_swap): Likewise.
1681 2001-01-23 Chris Demetriou <cgd@broadcom.com>
1683 * libsupc++/exception_support.cc (__terminate_func): Remove
1685 (__terminate_func_ptr): New typedef.
1686 (__terminate, __terminate_set_func): New extern function
1688 (std::terminate): Use __terminate function.
1689 (std::set_terminate): Use __terminate_set_func function.
1691 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
1693 * configure.target: Just use os_include_dir always.
1694 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
1695 Link atomicity files and ctype files here.
1696 * configure: Regenerate.
1697 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
1698 (GLIBCPP_ENABLE_ATOMICITY): Remove.
1699 * aclocal.m4: Regenerate.
1701 2001-01-23 Chris Demetriou <cgd@broadcom.com>
1703 * configure.in: Place definition of MULTISUBDIR in
1704 libsupc++/Makefile as is done for src/Makefile.
1705 * configure: Regenerate.
1707 2001-01-23 Phil Edwards <pme@sources.redhat.com>
1709 * acinclude.m4: Cosmetic changes only.
1710 * aclocal.m4: Regenerated.
1711 * configure: Regenerated.
1712 * configure.target: Update documented list of changed variables.
1713 * docs/html/install.html: Fix typo.
1714 * docs/html/20_util/howto.html: More notes on auto_ptr.
1715 * docs/html/27_io/howto.html: More notes on streabufs.
1716 * docs/html/faq/index.html: Add rel_ops problem and mention the
1717 DEC as(1) .subsection difficulty.
1718 * docs/html/faq/index.txt: Regenerated.
1720 2001-01-23 Mark Mitchell <mark@codesourcery.com>
1722 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
1723 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
1724 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
1725 its already provided in config.target.
1726 * aclocal.m4: Regenerated.
1727 * configure: Likewise.
1728 * configure.target: Set ctype_include_dir for lots of systems.
1729 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
1730 * libsupc++/Makefile.in: Regenerated.
1732 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
1734 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
1737 * testsuite/README: Add comment.
1739 2001-01-21 Phil Edwards <pme@sources.redhat.com>
1741 * docs/html/configopts.html: Update for current status. Fix HTML.
1742 * docs/html/install.html: Update for current status.
1744 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1746 * testsuite/libstdc++.tests/tests.exp: New file.
1747 * testsuite/lib/libstdc++.exp: Itou.
1748 * testsuite/README: Itou.
1750 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
1752 * tests_flags.in: Just output the bare minimum to run tests.
1753 Let's the caller do its own arrangement.
1755 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
1758 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
1760 * testsuite/17_intro: Prepare testcases for new style DejaGnu
1763 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
1765 * testsuite/libstdc++.tests, testsuite/lib: New directories.
1767 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
1769 * mkcheck.in: Construct file names that match $objdir structure.
1770 * testsuite/27_io/filebuf_members-1.txt: New file.
1771 * testsuite/27_io/ifstream_members-1.txt: New file.
1772 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
1774 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
1775 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
1777 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1779 * testsuite/27_io/istream_sentry.cc (test02): Fix.
1781 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
1784 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
1785 * src/ios.cc (ios_base::failure): Make definitions match.
1786 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
1787 (class bad_cast): Same.
1788 * libsupc++/exception (class exception): Add throw specs.
1789 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
1790 (set_unexpected): Same.
1791 (uncaught_exception): Same.
1794 * docs/html/17_intro/C++STYLE (classname): Fix.
1796 2001-01-16 Mark Mitchell <mark@codesourcery.com>
1798 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
1799 Use it do explicitly instantiate predicate<T> and value<T> for
1802 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
1804 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
1805 uninitialized thinko in last change.
1807 2001-01-16 Mark Mitchell <mark@codesourcery.com>
1809 * libsupc++/exception_support.cc (__cp_pop_exception): Change
1812 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
1814 * docs/html/17_intro/C++STYLE (classname): Add more existing
1815 and stylish patterns.
1818 * include/bits/istream.tcc (istream::sentry::sentry()): Set
1819 failbit if the state of the stream is not good.
1820 * testsuite/27_io/istream_sentry.cc (test02): Add test.
1821 * testsuite/27_io/istream_manip.cc (test01): Modify.
1824 reported by Paolo Carlini <pcarlini@unitus.it>
1825 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
1826 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
1829 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
1830 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
1831 (xsgetn): Same. Simplify.
1832 * testsuite/27_io/streambuf.cc (test04): Add testcases.
1834 reported by Larry Evans <jcampbell3@prodigy.net>
1835 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
1836 equality with eof on returned value from overflow.
1838 2001-01-14 Andreas Jaeger <aj@suse.de>
1840 * libio/libio.h: Add test for glibc 2.0.
1842 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
1844 * config/os/djgpp/bits/*: Fix dates.
1846 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
1847 _CharT* __end, _CharT __c): Remove.
1848 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
1849 * include/bits/char_traits.h: Tweak.
1851 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
1853 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
1854 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
1856 * aclocal.m4: regenerated.
1857 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
1858 * configure: regenerated.
1859 * config/os/djgpp, config/os/djgpp/bits: new directories.
1860 * config/os/djgpp/bits/ctype_base.h,
1861 config/os/djgpp/bits/ctype_inline.h,
1862 config/os/djgpp/bits/ctype_noninline.h,
1863 config/os/djgpp/bits/os_defines.h: new files.
1865 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
1867 * include/c_std/bits/std_cstdio.h: Undef printf.
1869 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
1871 * src/ios.cc: Fix typo: change cout->wcout.
1873 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
1874 * src/Makefile.in: Regenerate.
1876 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1878 * include/bits/std_complex.h: Fix a typo.
1880 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
1883 Fixes for libstdc++/1576
1884 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
1885 file, move contents into....
1886 * src/ios.cc: ...Here. Put defines for iostreams objects and
1887 initialization routines into one file to simplify DSO interaction.
1888 * include/bits/std_iostream.h: Touch.
1889 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
1890 * src/Makefile.am (sources): Remove stdstreams.cc.
1891 * src/Makefile.in: Regenerate.
1893 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1895 * tests_flags.in (check_directory): Fix typo.
1897 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1899 * include/bits/std_complex.h: Fix a typo.
1901 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
1903 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
1904 code path:) Remove magic constants and restructure to handle
1905 ctype.h bit mask layout changes more gracefully. (Make fast
1906 code path:) Use __maskrune (), if available.
1907 (is): Remove special case for digit and xdigit masks.
1909 2001-01-09 Robert Lipe <robertlipe@usa.net>
1911 * include/c_std/bits/std_ctime.h: Undefine difftime.
1913 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
1915 * src/gen-num-limits.cc (signal_adapter): New template function.
1916 (signal_handler): Use it, instead of signal.
1917 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
1918 require both tests to trap to set trap_flag.
1920 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
1922 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
1923 initialize mbstate_t member, name offset data members *off, not pos.
1924 * include/bits/fstream.tcc (filebuf::filebuf): Same.
1926 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
1928 reported by Chris G. Demetriou <cgd@sibyte.com>
1929 * configure.in: Change -linux-* to -linux*.
1930 * configure: Regenerate.
1932 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
1934 Fix 27_io/filebuf_members.cc
1935 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
1936 const string& __name, category __cat, size_t __refs): Set
1937 _M_has_name with _M_name.
1938 * include/bits/localefwd.h (locale::operator!=): Protect member
1939 function call with this->.
1940 * src/locale.cc (locale::operator==): Make fast checks first.
1941 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
1943 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
1945 * src/ios.cc (ios_base::Init::Init): Initialize here.
1946 (ios_base::sync_with_stdio): Set here.
1948 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
1950 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
1951 systems that support it, call dup() before fdopen().
1953 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
1955 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
1956 * testsuite/17_intro/header_cwctype.cc (main): New file.
1958 * src/Makefile.am (base_headers): Change.
1959 * include/bits/std_string.h: And here.
1960 * include/bits/string.tcc: Tweaks, move to...
1961 * include/bits/basic_string.tcc: ...Here.
1962 * src/string-inst.cc: Simplify, just instantiate the whole class,
1963 not member-by-member.
1965 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
1967 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
1968 * aclocal.m4: Regenerate.
1969 * configure: Regenerate.
1971 * include/bits/c++config (__GLIBCPP__): Bump version number.
1973 * ChangeLog: Start new log for year 2001
1974 * ChangeLog-2000: New file.
1976 * docs/html/configopts.html: Make sure default values are current,
1979 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
1981 * include/c_std/bits/std_cwchar.h: Same.
1982 * testsuite/17_intro/header_cwchar.cc: Same.
1983 * include/c_std/bits/std_ctime.h: Same.
1984 * testsuite/17_intro/header_ctime.cc: Same.
1985 * include/c_std/bits/std_cstdlib.h: Same.
1986 Clean up undefs, make consistent with cwchar and cmath, etc.
1987 * testsuite/17_intro/header_cstdlib.cc: Same.
1988 * include/c_std/bits/std_cstdio.h: Same here.
1989 * testsuite/17_intro/header_cstring.cc: Same.
1990 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
1991 * testsuite/17_intro/header_cstring.cc: New file. Check for
1992 size_t in namespace std.
1994 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
1995 * acconfig.h (HAVE_MBSTATE_T): Add.
1996 * config.h.in: Regenerate.
1997 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
1999 * aclocal.m4: Regenerate.
2000 * configure: Regenerate.
2001 * testsuite/17_intro/headers_c++.cc: New file.
2002 * testsuite/17_intro/headers_c.cc: Small changes.
2004 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
2006 * tests_flags.in: Fix typo in usage.
2008 * tests_flags.in: Set target specific LIBS for cygwin.