1 2001-04-05 Phil Edwards <pme@sources.redhat.com>
3 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
5 2001-04-04 Phil Edwards <pme@sources.redhat.com>
7 * docs/doxygen/user.cfg.in: Extract all non-private members;
8 reduce confusing documentation output.
10 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
12 * include/backward/fstream.h: Add missing semicolons.
14 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
16 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
17 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
18 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
19 (ios_base::Init::_S_ios_create): New.
20 (ios_base::Init::_S_ios_destroy): New.
21 * include/bits/std_fstream.h: Change ctor args.
22 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
23 (ios_base::Init::~Init): Use _S_ios_destroy.
24 (ios_base::sync_with_stdio): Use new members.
25 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
28 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
30 * include/backward/fstream.h: Expose streampos to global
33 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
35 * include/bits/stl_iterator_base_types.h: Fix typo
37 2001-04-03 Andreas Schwab <schwab@suse.de>
39 * include/backward/fstream.h: Define filebuf and wfilebuf.
41 2001-04-02 Phil Edwards <pme@sources.redhat.com>
43 New concept checking implementation.
44 * docs/html/19_diagnostics/howto.html: Document.
45 * docs/html/17_intro/concept_check.diff: New file, for reference.
46 * include/bits/boost_concept_check.h: New file from Boost.
47 * include/bits/c++config: Update comments.
49 * include/bits/concept_check.h: New file.
50 * include/bits/concept_checks.h: Removed.
51 * include/bits/container_concepts.h: Removed.
52 * include/bits/sequence_concepts.h: Removed.
53 * include/bits/stl_iterator_base.h: Removed; split into...
54 * include/bits/stl_iterator_base_funcs.h: ...this new file...
55 * include/bits/stl_iterator_base_types.h: ...and this new file.
57 * include/bits/sbuf_iter.h: Update to use new implementation.
58 * include/bits/std_iterator.h: Likewise.
59 * include/bits/std_memory.h: Likewise.
60 * include/bits/stl_algo.h: Likewise.
61 * include/bits/stl_algobase.h: Likewise.
62 * include/bits/stl_construct.h: Likewise.
63 * include/bits/stl_deque.h: Likewise.
64 * include/bits/stl_heap.h: Likewise.
65 * include/bits/stl_list.h: Likewise.
66 * include/bits/stl_map.h: Likewise.
67 * include/bits/stl_multimap.h: Likewise.
68 * include/bits/stl_multiset.h: Likewise.
69 * include/bits/stl_numeric.h: Likewise.
70 * include/bits/stl_queue.h: Likewise.
71 * include/bits/stl_set.h: Likewise.
72 * include/bits/stl_stack.h: Likewise.
73 * include/bits/stl_uninitialized.h: Likewise.
74 * include/bits/stl_vector.h: Likewise.
75 * include/ext/hash_map: Likewise.
76 * include/ext/hash_set: Likewise.
77 * include/ext/slist: Likewise.
78 * include/ext/stl_hashtable.h: Likewise.
80 * src/Makefile.am (base_headers): Update list of headers.
81 * Makefile.in: Regenerated.
82 * src/Makefile.in: Regenerated.
83 * libio/Makefile.in: Regenerated.
84 * libmath/Makefile.in: Regenerated.
85 * libsupc++/Makefile.in: Regenerated.
86 * testsuite/Makefile.in: Regenerated.
88 * docs/html/install.html: Update contact information.
89 * docs/html/17_intro/howto.html: Ditto.
90 * docs/html/18_support/howto.html: Ditto.
91 * docs/html/20_util/howto.html: Ditto.
92 * docs/html/21_strings/howto.html: Ditto.
93 * docs/html/22_locale/howto.html: Ditto.
94 * docs/html/23_containers/howto.html: Ditto.
95 * docs/html/24_iterators/howto.html: Ditto.
96 * docs/html/25_algorithms/howto.html: Ditto.
97 * docs/html/26_numerics/howto.html: Ditto.
98 * docs/html/27_io/howto.html: Ditto.
99 * docs/html/faq/index.html: Ditto, plus info on new checking code.
100 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
101 * docs/html/faq/index.txt: Regenerated.
103 2001-04-02 Zack Weinberg <zackw@stanford.edu>
105 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
106 messages with $which_library as well as $tool_flags and
107 ${dg-extra-tool-flags}. Factor out annotation text into
110 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
112 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
113 * include/c_std/bits/std_cwchar.h: Same.
114 * testsuite/21_strings/c_strings.cc: Add.
116 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
118 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
120 2001-04-01 Zack Weinberg <zackw@stanford.edu>
122 * tests_flags.in: Use test a = b, not test a == b which is not
125 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
127 * configure.target: Remove duplicate aix entry.
129 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
131 * include/ext/stl_bvector.h: Move to...
132 * include/bits/stl_vector.h: ...here.
133 * include/ext/bvector: Move to...
134 * include/backward/bvector.h: ...here.
135 * include/bits/std_vector.h: Change stl_bvector include.
136 * include/bits/std_queue.h: Remove bvector include.
137 * include/ext/tree: Insert using rb_tree, move to...
138 * include/backward/tree.h: ...here.
139 * include/backward/hash_map.h: Include ext/hash_map.
140 * include/backward/hash_set.h: Include ext/hash_set.
141 * include/backward/queue.h: New file.
142 * include/backward/stack.h: Edit.
143 * include/backward/algo.h: Same.
144 * include/backward/algobase.h: Same.
145 * include/backward/alloc.h: Same.
146 * include/backward/function.h: Same.
147 * include/backward/iomanip.h: Same.
148 * include/backward/istream.h: Same.
149 * include/backward/iterator.h: Same.
150 * include/backward/list.h: Same.
151 * include/backward/map.h: Same.
152 * include/backward/multimap.h: Same.
153 * include/backward/multiset.h: Same.
154 * include/backward/ostream.h: Same.
155 * include/backward/pair.h: Same
156 * include/backward/rope.h: Same.
157 * include/backward/set.h: Same.
158 * include/backward/stream.h: Same.
159 * include/backward/strstream.h: Same.
160 * include/backward/tempbuf.h: Same.
161 * src/Makefile.am (ext_headers): Edit.
162 * src/Makefile.in: Regenerate.
163 * testsuite/ext/headers.cc (main): Fix.
166 2001-03-30 Phil Edwards <pme@sources.redhat.com>
168 * tests_flags.in (LIBS): Pass correct path for installed testing.
170 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
172 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
173 * tests_flags.in (CXX): Construct here.
174 (static_fail): Don't remove compile.out. Format with spaces.
175 (INCLUDES): Deal with xcompiling.
176 * configure.in (xcompiling): Substitute.
177 * testsuite/Makefile.am: Snake libjava configury.
178 * testsuite/Makefile.in: Regenerate.
179 * testsuite/23_containers/map_operators.cc: Tweaks.
180 * testsuite/23_containers/set_operators.cc: Tweaks.
182 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
184 Enable dejagnu testing framework.
185 * configure.in: Generate testsuite/Makefile.
186 * configure: Regenerate.
187 * Makefile.am (check-install): Change rule from this...
188 (check-script-install): ...to this.
189 (check): Change rule from this...
190 (check-script):...to this.
191 * Makefile.in: Regenerate.
193 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
195 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
197 (LIBTOOL): Let automake take care of its definition.
198 * libsupc++/Makefile.in: Rebuilt.
200 2001-03-28 Richard Henderson <rth@redhat.com>
202 IA-64 ABI Exception Handling:
203 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
204 * configure.in: Use it.
205 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
206 * libsupc++/Makefile.am (sources): Update files list.
207 * libsupc++/Makefile.in: Regenerate.
208 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
209 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
210 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
211 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
212 * libsupc++/exception_support.cc: Remove.
213 * libsupc++/exception_support.h: Remove.
214 * libsupc++/pure.cc: Use std::terminate.
215 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
216 (__is_pointer): Remove.
217 * libsupc++/unwind-cxx.h: New file.
218 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
220 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
222 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
224 * src/Makefile.am (CXXLINK): Likewise.
225 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
227 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
229 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
231 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
233 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
236 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
238 * include/bits/basic_file.h (get_fileno): Remove.
240 (_M_cfile_created): Add.
241 (basic_file::basic_file(__c_file_type*, openmode): Add.
242 (basic_file::basic_file(int, const char*, openmode): Remove.
243 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
244 const char*, ios_base::openmode): Don't allocate
245 internal buffers. Turn off internal buffers.
246 (basic_filebuf::overflow): Remove test for null buffer.
247 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
248 * include/bits/streambuf.cc: Tweak.
249 * include/bits/std_ostream.h: Tweak.
250 * config/basic_file_libio.h: Same.
251 * config/basic_file_stdio.h: Same.
252 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
253 * testsuite/27_io/filebuf_members.cc: Tweaks.
254 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
256 2001-03-24 Phil Edwards <pme@sources.redhat.com>
258 * Makefile.am: New targets, doxygen and doxygen-maint.
259 * Makefile.in: Regenerated.
260 * docs/doxygen/run_doxygen: Finally implemented.
261 * docs/doxygen/maint.cfg.in: New file.
262 * docs/doxygen/user.cfg.in: New file.
264 2001-03-24 Phil Edwards <pme@sources.redhat.com>
266 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
267 * src/Makefile.am: Replace leading spaces with tabs on continuation
269 * aclocal.m4: Regenerated.
271 * Makefile.in: Ditto.
272 * src/Makefile.in: Ditto.
273 * libio/Makefile.in: Ditto.
274 * libmath/Makefile.in: Ditto.
275 * libsupc++/Makefile.in: Ditto.
277 2001-03-24 Phil Edwards <pme@sources.redhat.com>
279 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
280 concept-checking code and current status of same.
281 * docs/html/ext/howto.html: Ditto.
282 * docs/html/faq/index.html: Ditto.
283 * docs/html/faq/index.txt: Regenerated.
285 2001-03-24 Phil Edwards <pme@sources.redhat.com>
287 * include/bits/std_bitset.h: Include ostream and istream headers
290 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
292 * include/bits/ostream.tcc: Use __builtin_alloca.
294 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
296 * src/misc-inst.cc (__sink_unused_warning): Move to...
297 * src/locale-inst.cc (__sink_unused_warning): Move to...
298 * src/stl-inst.cc: Here.
299 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
302 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
304 * intclude/bits/basic_file.h: Fix typos in comments.
306 2001-03-20 Richard Henderson <rth@redhat.com>
308 * src/gen-num-limits.cc: Instantiate for wchar_t.
309 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
311 2001-03-20 Jason Merrill <jason@redhat.com>
313 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
314 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
315 * libsupc++/cxxabi.h: Declare it.
317 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
319 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
320 signal_func with an unspecified argument list.
322 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
324 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
326 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
328 * include/bits/basic_string.tcc (operator+): Fix thinko.
330 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
333 * include/bits/std_streambuf.h: Remove cached locale facets.
334 (basic_streambuf::_M_buf_fctype): Remove.
335 (basic_streambuf::~basic_streambuf): Remove here.
336 (basic_streambuf::basic_streambuf): Same.
337 (basic_streambuf::imbue): Same.
338 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
339 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
340 (basic_filebuf::~basic_filebuf()): Remove here.
341 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
342 (basic_filebuf::imbue): Same.
343 * include/bits/localefwd.h (_Count_ones): Remove.
344 (locale::_S_num_categories): Just use 6, since this doesn't
345 actually change, ever.
346 * include/bits/locale_facets.tcc (has_facet): Simplify.
348 * testsuite/27_io/filebuf.cc (test06): Add tests.
350 2001-03-13 Steve Ellcey <sje@cup.hp.com>
352 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
353 match HP-UX ctype.h header file.
355 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
357 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
358 duplicate definitions of __dj_ctype_*
360 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
362 * libsupc++/new: Remove pragma interface.
363 * libsupc++/typeinfo: Same.
364 * libsupc++/exception: Same.
365 * libsupc++/new_handler.cc: Remove pragma implementation.
366 (bad_alloc::~bad_alloc()): Add.
367 * libsupc++/exception_support.cc: Same.
368 (exception::~exception): Add.
369 (bad_exception::~bad_exception): Add.
370 * libsupc++/tinfo.cc: Same.
371 (bad_cast::~bad_cast): Add.
372 (bad_typeid::~bad_typeid): Add.
374 2001-03-13 Phil Edwards <pme@sources.redhat.com>
376 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
378 2001-03-12 Felix Lee <flee@redhat.com>
380 * mkcheck.in: workaround for bash 2.01 IFS bug.
382 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
384 Fixups for -fno-for-scope
385 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
386 * src/valarray-inst.cc (__gslice_to_index): Same.
388 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
390 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
391 prior to trapping signal (UnixWare 7 workaround).
393 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
395 * include/backward/hashtable.h: Same.
396 * include/backward/rope.h: Fix include.
398 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
400 * include/backward/vector.h: Include std_vector.h.
402 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
403 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
406 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
408 * include/ext/stl_hashtable.h: Change type of __n to size_t
409 * include/backward/bvector.h: Include <ext/stl_bvector.h>
411 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
413 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
414 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
415 Use streamsize, not int_type.
417 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
419 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
422 2001-03-08 Andreas Schwab <schwab@suse.de>
424 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
426 * aclocal.m4, configure: Regenerated.
428 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
430 * include/bits/std_iosfwd.h: Remove string forward decls here.
431 * include/bits/stringfwd.h: Add forward decls for char_traits
433 * config/c_io_libio.h (wstreamoff): Delete.
434 * config/c_io_stdio.h (wstreamoff): Same.
435 * include/bits/char_traits.h: Use streamoff not wstreamoff for
436 char_traits<wchar_t>::off_type.
437 Remove duplicate typedefs.
438 * include/bits/fpos.h: Define streampos/wstreampos here.
439 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
442 Changeup output files.
443 * testsuite/27_io/istream_unformatted.cc: Change output files.
444 * testsuite/27_io/istream_seeks-1.txt: Add.
445 * testsuite/27_io/istream_seeks-2.tst: Add.
446 * testsuite/27_io/istream_seeks-1.tst: Add.
447 * testsuite/27_io/istream_unformatted-2.tst: Delete.
448 * testsuite/27_io/istream_unformatted-3.tst: Delete.
449 * testsuite/27_io/istream_unformatted-3.txt: Delete.
451 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
453 Add Irix 5.2, 6.3 support.
454 * config/os/irix/bits: Renamed to...
455 * config/os/irix/irix6.5/bits: this.
456 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
457 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
458 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
459 * config/os/irix/irix5.2/bits/ctype_noninline.h
460 (ctype<char>::ctype): Initialize _M_table with __ctype.
461 * configure.target: Adjust.
463 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
466 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
467 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
469 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
470 (*__pf)(__ios_type&)): Same.
471 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
472 (*__pf)(ios_base&))): Same.
473 * testsuite/27_io/istream_extractor_other.cc: Add tests.
474 * testsuite/27_io/istream_manip.cc (test01): Fix.
476 2001-03-06 Nathan Myers <ncm@cantrip.org>
477 Benjamin Kosnik <bkoz@redhat.com>
479 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
480 * testsuite/17_intro/header_cerrno.cc (test01): New file.
481 * testsuite/17_intro/header_cassert.cc (test01): New file.
482 * testsuite/17_intro/header_cstddef.cc (test01): New file.
483 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
484 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
486 2001-03-05 scott snyder <snyder@fnal.gov>
489 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
491 * include/c_std/bits/std_cstdlib.h: ... to here.
492 * testsuite/17_intro/header_cstdlib.cc: Add test.
494 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
496 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
498 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
500 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
501 definition. Replace enum with static const variables.
503 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
504 throw specification, fix typos, use <static_cast>.
505 (ctype<char>::scan_is): remove throw specification.
506 (ctype<char>::scan_not): likewise.
508 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
509 (ctype<char>::do_toupper(char)): use <static_cast>.
510 (ctype<char>::do_toupper(char *, const char *)): likewise.
511 (ctype<char>::do_tolower(char)): likewise.
512 (ctype<char>::do_tolower(char *, const char *)): likewise.
514 2001-03-04 Phil Edwards <pme@sources.redhat.com>
516 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
517 * include/backward/algo.h: Use std not __STD. Remove unneeded
518 macros and "never happens" code. Adjust to C++STYLE guidelines.
519 * include/backward/algobase.h: Likewise.
520 * include/backward/alloc.h: Likewise.
521 * include/backward/bvector.h: Likewise.
522 * include/backward/deque.h: Likewise.
523 * include/backward/function.h: Likewise.
524 * include/backward/hash_map.h: Likewise.
525 * include/backward/hash_set.h: Likewise.
526 * include/backward/hashtable.h: Likewise.
527 * include/backward/heap.h: Likewise.
528 * include/backward/iterator.h: Likewise.
529 * include/backward/list.h: Likewise.
530 * include/backward/map.h: Likewise.
531 * include/backward/multimap.h: Likewise.
532 * include/backward/multiset.h: Likewise.
533 * include/backward/pair.h: Likewise.
534 * include/backward/rope.h: Likewise.
535 * include/backward/set.h: Likewise.
536 * include/backward/slist.h: Likewise.
537 * include/backward/stack.h: Likewise.
538 * include/backward/strstream: Likewise.
539 * include/backward/tempbuf.h: Likewise.
540 * include/backward/tree.h: Likewise.
541 * include/backward/vector.h: Likewise.
542 * include/bits/basic_ios.h: Likewise.
543 * include/bits/basic_ios.tcc: Likewise.
544 * include/bits/basic_string.h: Likewise.
545 * include/bits/c++config: Likewise.
546 * include/bits/concept_checks.h: Likewise.
547 * include/bits/fpos.h: Likewise.
548 * include/bits/fstream.tcc: Likewise.
549 * include/bits/functexcept.h: Likewise.
550 * include/bits/ios_base.h: Likewise.
551 * include/bits/istream.tcc: Likewise.
552 * include/bits/mask_array.h: Likewise.
553 * include/bits/ostream.tcc: Likewise.
554 * include/bits/pthread_allocimpl.h: Likewise.
555 * include/bits/sbuf_iter.h: Likewise.
556 * include/bits/slice.h: Likewise.
557 * include/bits/slice_array.h: Likewise.
558 * include/bits/sstream.tcc: Likewise.
559 * include/bits/std_bitset.h: Likewise.
560 * include/bits/std_fstream.h: Likewise.
561 * include/bits/std_iomanip.h: Likewise.
562 * include/bits/std_ios.h: Likewise.
563 * include/bits/std_istream.h: Likewise.
564 * include/bits/std_iterator.h: Likewise.
565 * include/bits/std_memory.h: Likewise.
566 * include/bits/std_ostream.h: Likewise.
567 * include/bits/std_sstream.h: Likewise.
568 * include/bits/std_streambuf.h: Likewise.
569 * include/bits/std_string.h: Likewise.
570 * include/bits/std_valarray.h: Likewise.
571 * include/bits/stl_algo.h: Likewise.
572 * include/bits/stl_algobase.h: Likewise.
573 * include/bits/stl_alloc.h: Likewise.
574 * include/bits/stl_construct.h: Likewise.
575 * include/bits/stl_deque.h: Likewise.
576 * include/bits/stl_function.h: Likewise.
577 * include/bits/stl_heap.h: Likewise.
578 * include/bits/stl_iterator.h: Likewise.
579 * include/bits/stl_iterator_base.h: Likewise.
580 * include/bits/stl_list.h: Likewise.
581 * include/bits/stl_map.h: Likewise.
582 * include/bits/stl_multimap.h: Likewise.
583 * include/bits/stl_multiset.h: Likewise.
584 * include/bits/stl_numeric.h: Likewise.
585 * include/bits/stl_pair.h: Likewise.
586 * include/bits/stl_pthread_alloc.h: Likewise.
587 * include/bits/stl_queue.h: Likewise.
588 * include/bits/stl_raw_storage_iter.h: Likewise.
589 * include/bits/stl_relops.h: Likewise.
590 * include/bits/stl_set.h: Likewise.
591 * include/bits/stl_stack.h: Likewise.
592 * include/bits/stl_tempbuf.h: Likewise.
593 * include/bits/stl_threads.h: Likewise.
594 * include/bits/stl_tree.h: Likewise.
595 * include/bits/stl_uninitialized.h: Likewise.
596 * include/bits/stl_vector.h: Likewise.
597 * include/bits/streambuf.tcc: Likewise.
598 * include/bits/type_traits.h: Likewise.
599 * include/bits/valarray_meta.h: Likewise.
600 * include/ext/bvector: Likewise.
601 * include/ext/hash_map: Likewise.
602 * include/ext/hash_set: Likewise.
603 * include/ext/ropeimpl.h: Likewise.
604 * include/ext/slist: Likewise.
605 * include/ext/stl_bvector.h: Likewise.
606 * include/ext/stl_hash_fun.h: Likewise.
607 * include/ext/stl_hashtable.h: Likewise.
608 * include/ext/stl_rope.h: Likewise.
609 * src/complex_io.cc: Likewise.
610 * src/ios.cc: Likewise.
611 * src/locale-inst.cc: Likewise.
612 * src/locale.cc: Likewise.
613 * src/localename.cc: Likewise.
614 * src/misc-inst.cc: Likewise.
615 * src/stdexcept.cc: Likewise.
616 * src/stl-inst.cc: Likewise.
617 * src/strstream.cc: Likewise.
618 * src/valarray-inst.cc: Likewise.
620 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
622 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
624 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
626 * include/bits/istream.tcc: change type of __extracted to __size_type
628 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
630 * src/wstring-inst.cc: New file.
631 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
632 (libinst_wstring_la_SOURCES): Remove.
633 (libstdc___la_LIBADD): Remove libinst_wstring_la.
634 (sources): Add wstring-inst.cc
635 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
638 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
640 * src/locale.cc: initialise __ret with zero
641 * src/strstream.cc:cast gptr to int_type
643 2001-03-01 Phil Edwards <pme@sources.redhat.com>
645 * docs/html/faq/index.html: Update broken links.
646 * docs/html/faq/index.txt: Regenerated.
648 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
651 * configure.target: Change irix* to irix6.5* in target_os table.
653 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
656 * include/bits/c++config (__GLIBCPP__): Bump number in
657 anticipation of 2.92.
659 * include/bits/codecvt.h: Fix typo.
660 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
662 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
663 instantiations for stdio model.
665 2001-02-28 Phil Edwards <pme@sources.redhat.com>
667 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
668 and GLIBCPP_CXXFLAGS as unused variables.
669 * configure.host: Likewise.
670 * configure.target: Likewise.
671 * aclocal.m4: Regenerated.
672 * configure: Regenerated.
673 * Makefile.in: Regenerated.
674 * libio/Makefile.in: Regenerated.
675 * libmath/Makefile.in: Regenerated.
676 * libsupc++/Makefile.in: Regenerated.
677 * src/Makefile.in: Regenerated.
679 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
682 * include/bits/basic_file.h: Include basic_file_model.h.
683 * config/c_io_libio.cc: Move to...
684 * config/basic_file_libio.cc: Here.
685 * config/basic_file_libio.h: New file.
686 * config/c_io_stdio.cc: Move to...
687 * config/basic_file_stdio.cc: Here.
688 * config/basic_file_stdio.h: New file.
689 * config/c_io_libio.h: Tweak.
690 * config/c_io_stdio.h: Tweak.
691 * src/Makefile.am (build_headers): Add basic_file_model.h.
692 (sources): Add basic_file.cc, remove c++io.cc.
693 * src/Makefile.in: Regenerate.
694 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
695 basic_file_model.h and basic_file.cc.
696 * aclocal.m4: Regenerate.
697 * configure: Regenerate.
698 * testsuite/27_io/filebuf.cc (test05): Add regression.
700 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
703 * config/cpu/alpha/bits/atomicity.h: Change.
704 * config/cpu/arm/bits/atomicit3y.h
705 * config/cpu/generic/bits/atomicity.h
706 * config/cpu/i386/bits/atomicity.h
707 * config/cpu/i486/bits/atomicity.h
708 * config/cpu/ia64/bits/atomicity.h
709 * config/cpu/powerpc/bits/atomicity.h
710 * config/cpu/sparc/sparc32/bits/atomicity.h
711 * config/cpu/sparc/sparc64/bits/atomicity.h
712 * config/os/aix/bits/atomicity.h
713 * config/os/irix/bits/atomicity.h
715 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
717 * include/bits/std_stdexcept.h (runtime_error): Make string
720 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
723 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
727 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
728 string object, not reference.
729 (runtime_error::runtime_error): Same.
730 * testsuite/19_diagnostics/stdexceptions.cc: New file.
732 2001-02-26 Phil Edwards <pme@sources.redhat.com>
734 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
735 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
736 diagnostics. Remove WFMT_FLAGS.
737 * configure.in: Replace WFMT_FLAGS with diagnostics options.
738 * libsupc++/Makefile.am: Likewise.
739 * src/Makefile.am: Likewise.
740 * aclocal.m4: Regenerated.
741 * configure: Regenerated.
742 * Makefile.in: Regenerated.
743 * libio/Makefile.in: Regenerated.
744 * libmath/Makefile.in: Regenerated.
745 * libsupc++/Makefile.in: Regenerated.
746 * src/Makefile.in: Regenerated.
748 2001-02-26 Phil Edwards <pme@sources.redhat.com>
751 * include/backward/iomanip.h: Expose <ios> manipulators to global
753 * include/backward/iostream.h: Also expose std::ws.
755 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
757 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
759 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
761 * include/bits/codecvt.h: Use __builtin_alloca.
762 * include/bits/ostream.tcc: Same.
763 * include/bits/fstream.tcc: Same.
765 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
767 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
769 2001-02-23 David Edelsohn <dje@watson.ibm.com>
771 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
773 2001-02-23 Phil Edwards <pme@sources.redhat.com>
776 * include/backward/iostream.h: Expose std::flush in old headers.
778 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
780 * mknumeric_limits: Remove special-casing on target. Use gcc
781 instead of g++ to build gen-num-limits.cc
783 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
785 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
787 * include/bits/codecvt.h: Use alloca instead of __extension__ for
789 * include/bits/ostream.tcc: Same.
790 * include/bits/std_ostream.h: Same.
791 * include/bits/fstream.tcc: Same.
792 * include/bits/locale_facets.tcc: Add typename.
793 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
795 2001-02-21 Phil Edwards <pme@sources.redhat.com>
797 * tests_flags.in: Remove -n flag from call to echo.
799 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
801 * config/c_locale_gnu.h: Add clocale include.
803 2001-02-20 Phil Edwards <pme@sources.redhat.com>
805 * include/bits/stl_config.h: Remove file.
806 * src/Makefile.am (base_headers): Remove from list.
807 * configure: Regenerate.
808 * Makefile.in: Ditto.
809 * libio/Makefile.in: Ditto.
810 * libmath/Makefile.in: Ditto.
811 * libsupc++/Makefile.in: Ditto.
812 * src/Makefile.in: Ditto.
814 * include/bits/c++config: Move relevant macros to here.
815 * include/backward/alloc.h: Include c++config.h instead.
816 * include/backward/function.h: Ditto.
817 * include/backward/heap.h: Ditto.
818 * include/backward/pair.h: Ditto.
819 * include/bits/pthread_allocimpl.h: Ditto.
820 * include/bits/std_functional.h: Ditto.
821 * include/bits/std_iterator.h: Ditto.
822 * include/bits/std_numeric.h: Ditto.
823 * include/bits/std_utility.h: Ditto.
824 * include/bits/stl_algobase.h: Ditto.
825 * include/bits/type_traits.h: Ditto.
826 * src/stl-inst.cc: Ditto.
828 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
830 * include/bits/basic_file.h: Add #pragma system_header
831 * include/bits/basic_ios.h: Ditto.
832 * include/bits/basic_string.h: Ditto.
833 * include/bits/char_traits.h: Ditto.
834 * include/bits/codecvt.h: Ditto.
835 * include/bits/cpp_type_traits.h: Ditto.
836 * include/bits/fpos.h: Ditto.
837 * include/bits/gslice.h: Ditto.
838 * include/bits/gslice_array.h: Ditto.
839 * include/bits/indirect_array.h: Ditto.
840 * include/bits/ios_base.h: Ditto.
841 * include/bits/limits_generic.h: Ditto.
842 * include/bits/locale_facets.h: Ditto.
843 * include/bits/localefwd.h: Ditto.
844 * include/bits/mask_array.h: Ditto.
845 * include/bits/sbuf_iter.h: Ditto.
846 * include/bits/sequence_concepts.h: Ditto.
847 * include/bits/slice.h: Ditto.
848 * include/bits/slice_array.h: Ditto.
849 * include/bits/std_algorithm.h: Likewise.
850 * include/bits/std_bitset.h: Likewise.
851 * include/bits/std_complex.h: Likewise.
852 * include/bits/std_deque.h: Likewise.
853 * include/bits/std_fstream.h: Likewise.
854 * include/bits/std_functional.h: Likewise.
855 * include/bits/std_iomanip.h: Likewise.
856 * include/bits/std_ios.h: Likewise.
857 * include/bits/std_iosfwd.h: Likewise.
858 * include/bits/std_iostream.h: Likewise.
859 * include/bits/std_istream.h: Likewise.
860 * include/bits/std_iterator.h: Likewise.
861 * include/bits/std_list.h: Likewise.
862 * include/bits/std_locale.h: Likewise.
863 * include/bits/std_map.h: Likewise.
864 * include/bits/std_memory.h: Likewise.
865 * include/bits/std_numeric.h: Likewise.
866 * include/bits/std_ostream.h: Likewise.
867 * include/bits/std_queue.h: Likewise.
868 * include/bits/std_set.h: Likewise.
869 * include/bits/std_sstream.h: Likewise.
870 * include/bits/std_stack.h: Likewise.
871 * include/bits/std_stdexcept.h: Likewise.
872 * include/bits/std_streambuf.h: Likewise.
873 * include/bits/std_string.h: Likewise.
874 * include/bits/std_utility.h: Likewise.
875 * include/bits/std_valarray.h: Likewise.
876 * include/bits/std_vector.h: Likewise.
877 * include/bits/stringfwd.h: Likewise.
878 * include/bits/type_traits.h: Likewise.
879 * include/bits/valarray_array.h: Likewise.
880 * include/bits/valarray_meta.h: Likewise.
882 2001-02-19 Andreas Jaeger <aj@suse.de>
884 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
887 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
890 * include/bits/std_ostream.h: Replaced usage of
891 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
892 * include/bits/char_traits.h: Removed non-standard
893 methods that cannot be used elsewhere.
896 * include/bits/basic_ios.h: Uncommented #include of
900 * include/bits/codecvt.h: See next...
901 * include/bits/fstream.tcc: See next...
902 * include/bits/ostream.tcc: Add __extension__
903 to variable-length arrays.
906 * include/bits/localefwd.h: Changed int counter type to size_t.
909 * include/bits/std_fstream.h: Added typedef for __ctype_type.
911 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
913 * testsuite/21_strings/char_traits.cc: Move to ...
914 * testsuite/21_strings/char_traits_requirements.cc: ..here.
915 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
916 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
918 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
920 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
923 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
925 * include/bits/c++config: Revert.
927 2001-02-15 Mark Mitchell <mark@codesourcery.com>
929 * include/bits/istream.tcc: Use ios_base::iostate in place of
930 iostate throughout. Insert `typename' keyword where necessary.
931 * include/bits/ostream.tcc: Insert `typename' keyword where
934 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
936 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
937 Define so library is compliant.
939 2001-02-15 Anthony Green <green@redhat.com>
941 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
943 * aclocal.m4: Regenerate.
944 * configure: Regenerate.
946 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
948 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
949 Include ieeefp.h for fpclass on UnixWare{2,7}.
950 * aclocal.m4: Regenerate.
951 * configure: Regenerate.
952 * mkcheck.in (size_command): Do without GNU-grep when using
955 2001-02-15 Mark Mitchell <mark@codesourcery.com>
957 Remove old ABI support from libsupc++.
958 * libsupc++/cxxabi.h: Remove conditionally compiled code.
959 * libsupc++/exception_support.cc: Likewise.
960 * libsupc++/pure.cc: Likewise.
961 * libsupc++/tinfo.cc: Likewise.
962 * libsupc++/tinfo.h: Likewise.
963 * libsupc++/tinfo2.cc: Likewise.
964 * libsupc++/typeinfo: Likewise.
965 * libsupc++/vec.cc: Likewise.
967 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
969 Add support for -fno-exceptions.
970 * include/bits/exception_support.h: Remove.
971 * include/bits/basic_string.h: Remove exception_support.
972 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
974 (string::substr): Same.
975 * include/bits/basic_string.tcc (string::reserve): Replace
976 __LENGTHERROR with __throw_length_error.
977 (string::_S_create): Same.
978 (string::resize): Same.
979 (string::_M_replace): Same.
980 (string::replace): Same.
981 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
982 (string::compare): Same.
983 * include/bits/stl_vector.h: Remove exception_support.
984 * src/Makefile.am (base_headers): Remove here.
985 * src/Makefile.in: Regenerate.
987 * include/bits/stl_range_errors.h: Remove.
988 * include/bits/stl_deque.h: Use __throw_range_error.
989 * include/bits/std_deque.h: Include functexcept.h.
990 * include/bits/std_vector.h: Same.
991 * src/Makefile.am (base_headers): Remove here.
992 * src/Makefile.in: Regenerate.
993 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
994 * include/ext/bvector: Remove stl_range_errors.h
996 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
998 * include/bits/functexcept.h: New file.
999 * src/functexcept.cc: New file. Definitions for function-based
1001 * src/Makefile.am (sources): Add functexcept.cc.
1002 * src/Makefile.in: Regenerate.
1004 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
1007 * include/bits/localefwd.h: Include functexcept.h.
1008 * include/bits/std_iosfwd.h: Same.
1010 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
1011 throw basic_ios::failure.
1012 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
1013 Use __throw_exception_again.
1014 (filebuf::_M_filebuf_init): Same.
1015 * include/bits/streambuf.tcc (__copy_streambufs): Same.
1016 * include/bits/ostream.tcc (ostream::operator<<): Same.
1017 * include/bits/istream.tcc (istream::operator>>): Same.
1018 * include/bits/basic_string.tcc (string::_M_mutate): Same.
1019 (string::_S_construct): Same.
1020 (string::_M_clone): Same.
1021 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
1023 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
1024 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
1025 __throw_exception_again.
1026 (locale::_Imp::_Imp(string, size_t): Same.
1027 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
1028 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
1029 (locale::locale(const char*)): Use __throw_runtime_error.
1030 (locale::classic): Use __throw_exception_again.
1031 (locale::_S_normalize_category): Use __throw_runtime_error.
1033 * src/stdexcept.cc: Remove cruft.
1035 * libsupc++/exception_defines.h: New file.
1036 * libsupc++/new_opnt.cc: Include exception_defines.h.
1037 * libsupc++/vec.cc: Same.
1038 (__cxa_vec_new2): Use __throw_exception_again.
1039 (__cxa_vec_new3): Same.
1040 (__cxa_vec_ctor): Same.
1041 (__cxa_vec_delete3): Same.
1042 (__cxa_vec_cctor): Same.
1043 (__cxa_vec_delete2): Same.
1044 (__cxa_vec_dtor): Same.
1045 * libsupc++/exception_support.cc: Include exception_defines.h. Only
1046 compile exception-handling bits if __EXCEPTIONS is defined.
1047 Remove old ABI support.
1048 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
1049 std::__throw_bad_alloc() instead of throw bad_alloc.
1050 * libsupc++/Makefile.am: Add exception_defines.h.
1051 * libsupc++/Makefile.in: Reformat.
1052 * libsupc++/*: Format.
1054 2001-02-15 Phil Edwards <pme@sources.redhat.com>
1056 * docs/html/configopts.html: Minor updates and typo fixes.
1057 * docs/html/faq/index.html: Updates of the "not really bugs" list.
1058 * docs/html/faq/index.txt: Regenerated.
1060 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
1062 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
1063 dejagnu/dg.exp. Adapt to log options used to run testcases.
1065 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1067 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
1070 2001-02-13 Dirk Mueller <dmuell@gmx.net>
1071 Phil Edwards <pme@sources.redhat.com>
1073 * include/backward/function.h: Do not use rel_ops for older
1075 * include/backward/pair.h: Likewise.
1077 2001-02-12 Mark Mitchell <mark@codesourcery.com>
1079 * src/locale.cc: Remove bogus locale::id definitions.
1081 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1083 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
1084 not _DEFINE_VALARRAY_OPERATOR which is not existent.
1086 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
1087 thinko in member initialisation.
1089 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1091 * include/bits/std_valarray.h(valarray<>::shift): Avoid
1092 comparaison between signed and unsigned integer types.
1093 (valarray<>::cshift): Reformat.
1095 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
1097 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
1098 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
1099 * configure.in: Test for sigsetjmp.
1100 * configure, config.h.in: Rebuilt.
1102 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1104 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
1105 lengths and strides.
1106 (__gslice_to_index): Document.
1108 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1110 * include/bits/char_traits.h char_traits<char>::int_type: Change
1111 to `int' to match 21.1.3.1/2.
1113 * testsuite/21_strings/char_traits-int_type.C: New test.
1115 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
1117 * testsuite/Makefile.am: New file.
1119 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
1121 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
1123 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
1125 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
1127 2001-02-08 David Edelsohn <edelsohn@gnu.org>
1129 * configure.target (aix4*): Remove extra set of brackets.
1131 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
1134 * include/bits/stringfwd.h: New file.
1135 * include/bits/stl_string_fwd.h: Remove.
1136 * include/bits/localefwd.h: Remove declaration for allocator.
1137 * include/bits/std_iosfwd: Same.
1138 * include/bits/std_string.h: Include it.
1139 * include/bits/std_ios.h: Remove include.
1140 * include/bits/basic_string.h: Tweak.
1141 * libsupc++/new: Format.
1142 * src/Makefile.am (base_headers): Add stringfwd.h, remove
1144 * src/Makefile.in: Regenerate.
1145 * include/bits/std_stdexcept.h: Rewrite.
1146 * src/stdexcept.cc: Same.
1148 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
1150 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
1151 install locations too.
1152 * aclocal.m4: Regenerate.
1153 * configure.in: Remove USE_LIBDIR.
1154 * configure: Regenerate.
1155 * src/Makefile.am (toolexecdir): Simplify, use
1156 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
1157 * src/Makefile.in: Regenerate.
1158 * libsupc++/Makefile.am: Same.
1159 * libsupc++/Makefile.in: Regenerate.
1161 * src/Makefile.am: Just remove special rules for locale-inst.cc and
1162 misc-inst.cc as no longer necessary.
1164 Follow C++STYLE for naming non-static functions.
1165 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
1167 * include/bits/streambuf.tcc: Same.
1168 * include/bits/ostream.tcc: Same.
1169 * include/bits/istream.tcc: Same.
1170 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
1171 (_S_output_float): To __output_float.
1172 * include/bits/std_streambuf.h (_S_copy_streambufs): To
1174 * include/bits/locale_facets.tcc (_S_build_float_format): To
1175 __build_float_format.
1176 (_S_format): To __output_integer.
1177 (_S_fill): To __pad.
1178 * src/locale.cc: Same.
1179 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
1181 * include/bits/locale_facets.tcc (_S_group_digits): To
1183 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
1184 for collate, numpunct.
1186 2001-02-06 Phil Edwards <pme@sources.redhat.com>
1188 * docs/html/configopts.html: Fix HTML markup.
1189 * docs/html/install.html: Bring up to date.
1190 * docs/html/17_intro/C++STYLE: Add global variable conventions.
1191 * docs/html/21_strings/howto.html: More notes.
1192 * docs/html/22_locale/howto.html: Fix HTML markup.
1193 * docs/html/27_io/howto.html: More notes.
1194 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
1195 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
1197 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
1199 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
1200 to match header files.
1201 (_S_output_float): Likewise.
1202 (_S_copy_streambufs): Likewise.
1204 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
1205 Phil Edwards <pme@sources.redhat.com>
1207 * include/bits/std_istream.h (op>> signed,unsigned char): Must
1208 use reinterpret_cast, not static_cast.
1210 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
1212 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
1213 * aclocal.m4: Regenerate.
1214 * configure: Regenerate.
1216 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1218 * include/bits/locale_facets.h (class moneypunct): Fix typos.
1219 * libsupc++/pure.cc: Revert.
1221 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1223 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
1224 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
1225 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
1226 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
1227 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
1228 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
1229 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
1230 * aclocal.m4: Regenerate.
1231 * configure: Regenerate.
1233 2001-02-05 Mark Mitchell <mark@codesourcery.com>
1235 * include/bits/locale_facets.tcc: Remove `static' keyword on
1236 function definitions.
1237 * include/bits/std_streambuf.h: Likewise.
1238 * src/Makefile.am: Remove use of -fimplicit-templates.
1239 * src/Makefile.in: Regenerated.
1240 * src/locale-inst.cc: Explicitly instantiate more functions.
1241 * src/misc-inst.cc: Likewise.
1242 * src/string-inst.cc: Likewise.
1244 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1246 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
1247 macro. Consolidate all the bits to do with where includes might be
1249 * aclocal.m4: Regenerate.
1250 * configure.in: Use it.
1251 * configure: Regenerate.
1252 * src/Makefile.am (targetincludep): Use simplified rules.
1253 (targetincludep): Rename gxx_target_include_dir.
1254 (myincludep): Rename gxx_include_dir.
1255 * src/Makefile.in: Regenerate.
1256 * libsupc++/Makefile.am: Use simplified rules.
1257 * libsupc++/Makefile.in: Regenerate.
1259 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1261 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
1262 * include/c_std/bits/std_cctype.h: Same.
1263 * include/c_std/bits/std_cassert.h: Same.
1264 * include/c_std/bits/std_cstdarg.h: Same.
1265 * include/c_std/bits/std_cstddef.h: Same.
1267 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
1269 * include/c_std/bits/std_ctime.h: Same.
1270 * include/c_std/bits/std_clocale.h: Same.
1271 * include/c_std/bits/std_cmath.h: Same.
1272 * include/c_std/bits/std_csetjmp.h: Same.
1273 * include/c_std/bits/std_csignal.h: Same.
1274 * include/c_std/bits/std_cstring.h: Same.
1275 * include/c_std/bits/std_cstdlib.h: Same.
1276 * include/c_std/bits/std_cwchar.h: Same.
1278 2001-02-05 Phil Edwards <pme@sources.redhat.com>
1280 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
1282 2001-02-05 Mark Mitchell <mark@codesourcery.com>
1284 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
1285 (string::_S_construct): Likewise.
1287 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
1289 * testsuite/config/default.exp: New file.
1290 * testsuite/config: New directory.
1292 2001-02-04 Mark Mitchell <mark@codesourcery.com>
1294 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
1295 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
1296 whenever !__GXX_MERGED_TYPEINFO_NAMES.
1297 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
1299 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
1300 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1302 * Makefile.am (mkinstalldirs): Set.
1303 * src/Makefile.am (mkinstalldirs): Set.
1304 * libmath/Makefile.am (mkinstalldirs): Set.
1305 * libsup++/Makefile.am (mkinstalldirs): Set.
1306 * libio/Makefile.am (mkinstalldirs): Set.
1307 * */Makefile.in: Regenerate.
1309 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
1311 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
1312 * include/bits/localefwd.h: More initialization cleanups.
1314 2001-02-03 Jeffrey A Law <law@cygnus.com>
1316 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
1317 correctly targets with 16bit ints.
1318 (_S_ios_openmode_end): Similarly.
1319 (_S_ios_iostate_end): Similarly.
1320 (_S_ios_Seekdir_end): Similarly.
1322 2001-02-02 Phil Edwards <pme@sources.redhat.com>
1324 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
1326 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
1328 * configure.in (toplevel_srcdir, auxdir): Set.
1329 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
1330 * aclocal.m4, configure, Makefile.in: Rebuilt.
1331 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
1332 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
1333 * libsupc++-v3/Makefile.in: Rebuilt.
1334 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
1335 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
1337 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
1339 * config/c_locale_generic.cc: Remove langinfo include.
1341 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
1343 Preliminary named locales.
1344 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
1345 * aclocal.m4: Regenerate.
1346 * configure.in: Use it.
1347 * configure: Regerate.
1348 * src/Makefile.am (sources): Add c++locale.cc.
1349 (build_headers): Add c++locale.h.
1350 * src/Makefile.in: Regenerate.
1351 * config/c_locale_gnu.h: New file.
1352 * config/c_locale_gnu.cc: New file. Non-inline member functions
1353 for named locales, gnu-specific.
1354 * config/c_locale_generic.h: New file.
1355 * config/c_locale_generic.cc: New file. Non-inline member
1356 functions for named locales, generic version.
1357 * docs/html/configopts.html: Add documentation on new options.
1359 * include/bits/locale_facets.h (class _Messages): Remove.
1360 (class _Moneypunct): Remove.
1361 * src/locale-inst.cc: Remove.
1363 * include/bits/locale_facets.h (class _Collate): Remove.
1364 * src/locale-inst.cc (std): Remove.
1365 * src/locale.cc: And here.
1367 * include/bits/localefwd.h (locale::_M_coalesce): New
1368 function. Correctly put together multi-name locales.
1369 (_Impl(const _Impl&, category, size_t)): Remove.
1371 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
1373 (_M_normalize_category_names): Remove.
1374 (_M_replace_categories): Fix.
1376 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
1377 (locale::_Impl::_M_construct_ctype): Remove.
1378 (locale::_Impl::_M_construct_monetary): Remove.
1379 (locale::_Impl::_M_construct_numeric): Remove.
1380 (locale::_Impl::_M_construct_time): Remove.
1381 (locale::_Impl::_M_construct_messages): Remove.
1383 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
1384 (_Use_facet_failure_handle): Remove.
1385 * src/locale.cc: Remove definitions.
1386 * src/locale-inst.cc: And here.
1388 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
1390 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
1391 create and error-check underlying locale object.
1392 (locale::facet::_S_destroy_c_locale): Add, take care of properly
1393 tearing down underlying locale object.
1394 * include/bits/localefwd.h (locale::facet): Declare.
1395 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
1396 correctness, as glibc apparently has incorrect info in it. Test
1397 with it when it works again.....
1399 * include/bits/localefwd.h (locale::_Impl::__vec_string):
1400 Remove. Number of categories is fixed at six, so just simplify and
1401 make this an array of strings.
1402 (locale::_Impl::_M_has_name): Remove.
1403 (locale::_Impl::_M_name): Remove.
1404 (locale::_Impl::_M_category_names): Turns into...
1405 (locale::_Impl::_M_names): ...this.
1406 (locale::_Impl::_M_has_same_name()): New function.
1407 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
1408 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
1410 * src/locale.cc (locale::name()): Construct mangled name
1411 accurately reflecting combined locale categories.
1413 * src/locale.cc (locale::classic()): Don't initialize here.
1414 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
1415 __refs, bool __has_name, string __str): Do it here.
1417 * include/bits/localefwd.h: _S_categories_num to
1418 _S_num_categories. _S_facets_num to _S_num_facets.
1419 (locale::id::id()): Explicitly set _M_index to zero.
1420 * src/locale.cc: Same.
1422 * src/locale.cc: (locale::locale(const char*)): Construct named
1425 * src/locale.cc: Remove numpunct_byname ctors.
1426 * testsuite/22_locale/numpunct_byname.cc: New file.
1427 * testsuite/22_locale/numpunct.cc: New file.
1429 * include/bits/localefwd.h (class locale): Change data members to
1430 protected, from private.
1431 (_Impl::_M_get_c_locale): Add member function.
1432 (locale::facet::_M_get_global_impl()): Add member function.
1433 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
1434 a __c_locale pointer.
1435 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
1437 * testsuite/22_locale/members.cc: New file, test name and combine.
1439 * include/bits/locale_facets.h (class numpunct): Remove class
1440 _Punct and _Numpunct. Rewrite class numpunct to be correct for
1442 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
1443 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
1444 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
1445 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
1446 * testsuite/22_locale/numpunct_char_members.cc: New file.
1448 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
1450 * testsuite/README: Add more comment.
1451 * testsuite/lib/libstdc++.exp: Tweak comment.
1453 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
1455 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
1457 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
1459 * testsuite/21_strings/inserters_extractors.cc: Remove
1460 explicit reference to 'testsuite/'.
1462 2001-01-25 Richard Henderson <rth@redhat.com>
1464 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
1465 bits. Fixes Tru64 build issues.
1467 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1469 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
1470 (use ${MAKE-make}, not ${MAKE:-make}).
1471 * aclocal.m4, configure: Regenerate.
1473 2001-01-25 Mark Mitchell <mark@codesourcery.com>
1475 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
1478 * src/Makefile.am (sources): Add globals.cc.
1479 * src/Makefile.in: Regenerated.
1480 * src/globals.cc: New file.
1481 * src/ios.cc (cin): Don't define here, just declare extern.
1490 2001-01-25 Phil Edwards <pme@sources.redhat.com>
1492 * include/bits/std_iterator.h: Do not include stl_relops.h.
1493 * include/bits/std_numeric.h: Ditto.
1494 * include/bits/stl_algobase.h: Ditto.
1495 * include/bits/stl_relops.h: Add comment warning about problems.
1497 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
1499 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
1500 in testcases. Prepare for the DejaGnu based framework.
1501 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
1502 directory -- it is now mkcheck working directory.
1503 * tests_flags.in: Remove reference to $(top_srcdir). Use
1505 * Makefile.am (check, check-install): Change mkcheck invocation
1507 * Makefile.in: Regenerate.
1509 2001-01-24 Mark Mitchell <mark@codesourcery.com>
1511 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
1512 (__always_swap): Likewise.
1514 2001-01-23 Chris Demetriou <cgd@broadcom.com>
1516 * libsupc++/exception_support.cc (__terminate_func): Remove
1518 (__terminate_func_ptr): New typedef.
1519 (__terminate, __terminate_set_func): New extern function
1521 (std::terminate): Use __terminate function.
1522 (std::set_terminate): Use __terminate_set_func function.
1524 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
1526 * configure.target: Just use os_include_dir always.
1527 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
1528 Link atomicity files and ctype files here.
1529 * configure: Regenerate.
1530 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
1531 (GLIBCPP_ENABLE_ATOMICITY): Remove.
1532 * aclocal.m4: Regenerate.
1534 2001-01-23 Chris Demetriou <cgd@broadcom.com>
1536 * configure.in: Place definition of MULTISUBDIR in
1537 libsupc++/Makefile as is done for src/Makefile.
1538 * configure: Regenerate.
1540 2001-01-23 Phil Edwards <pme@sources.redhat.com>
1542 * acinclude.m4: Cosmetic changes only.
1543 * aclocal.m4: Regenerated.
1544 * configure: Regenerated.
1545 * configure.target: Update documented list of changed variables.
1546 * docs/html/install.html: Fix typo.
1547 * docs/html/20_util/howto.html: More notes on auto_ptr.
1548 * docs/html/27_io/howto.html: More notes on streabufs.
1549 * docs/html/faq/index.html: Add rel_ops problem and mention the
1550 DEC as(1) .subsection difficulty.
1551 * docs/html/faq/index.txt: Regenerated.
1553 2001-01-23 Mark Mitchell <mark@codesourcery.com>
1555 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
1556 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
1557 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
1558 its already provided in config.target.
1559 * aclocal.m4: Regenerated.
1560 * configure: Likewise.
1561 * configure.target: Set ctype_include_dir for lots of systems.
1562 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
1563 * libsupc++/Makefile.in: Regenerated.
1565 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
1567 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
1570 * testsuite/README: Add comment.
1572 2001-01-21 Phil Edwards <pme@sources.redhat.com>
1574 * docs/html/configopts.html: Update for current status. Fix HTML.
1575 * docs/html/install.html: Update for current status.
1577 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1579 * testsuite/libstdc++.tests/tests.exp: New file.
1580 * testsuite/lib/libstdc++.exp: Itou.
1581 * testsuite/README: Itou.
1583 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
1585 * tests_flags.in: Just output the bare minimum to run tests.
1586 Let's the caller do its own arrangement.
1588 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
1591 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
1593 * testsuite/17_intro: Prepare testcases for new style DejaGnu
1596 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
1598 * testsuite/libstdc++.tests, testsuite/lib: New directories.
1600 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
1602 * mkcheck.in: Construct file names that match $objdir structure.
1603 * testsuite/27_io/filebuf_members-1.txt: New file.
1604 * testsuite/27_io/ifstream_members-1.txt: New file.
1605 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
1607 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
1608 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
1610 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1612 * testsuite/27_io/istream_sentry.cc (test02): Fix.
1614 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
1617 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
1618 * src/ios.cc (ios_base::failure): Make definitions match.
1619 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
1620 (class bad_cast): Same.
1621 * libsupc++/exception (class exception): Add throw specs.
1622 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
1623 (set_unexpected): Same.
1624 (uncaught_exception): Same.
1627 * docs/html/17_intro/C++STYLE (classname): Fix.
1629 2001-01-16 Mark Mitchell <mark@codesourcery.com>
1631 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
1632 Use it do explicitly instantiate predicate<T> and value<T> for
1635 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
1637 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
1638 uninitialized thinko in last change.
1640 2001-01-16 Mark Mitchell <mark@codesourcery.com>
1642 * libsupc++/exception_support.cc (__cp_pop_exception): Change
1645 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
1647 * docs/html/17_intro/C++STYLE (classname): Add more existing
1648 and stylish patterns.
1651 * include/bits/istream.tcc (istream::sentry::sentry()): Set
1652 failbit if the state of the stream is not good.
1653 * testsuite/27_io/istream_sentry.cc (test02): Add test.
1654 * testsuite/27_io/istream_manip.cc (test01): Modify.
1657 reported by Paolo Carlini <pcarlini@unitus.it>
1658 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
1659 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
1662 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
1663 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
1664 (xsgetn): Same. Simplify.
1665 * testsuite/27_io/streambuf.cc (test04): Add testcases.
1667 reported by Larry Evans <jcampbell3@prodigy.net>
1668 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
1669 equality with eof on returned value from overflow.
1671 2001-01-14 Andreas Jaeger <aj@suse.de>
1673 * libio/libio.h: Add test for glibc 2.0.
1675 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
1677 * config/os/djgpp/bits/*: Fix dates.
1679 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
1680 _CharT* __end, _CharT __c): Remove.
1681 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
1682 * include/bits/char_traits.h: Tweak.
1684 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
1686 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
1687 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
1689 * aclocal.m4: regenerated.
1690 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
1691 * configure: regenerated.
1692 * config/os/djgpp, config/os/djgpp/bits: new directories.
1693 * config/os/djgpp/bits/ctype_base.h,
1694 config/os/djgpp/bits/ctype_inline.h,
1695 config/os/djgpp/bits/ctype_noninline.h,
1696 config/os/djgpp/bits/os_defines.h: new files.
1698 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
1700 * include/c_std/bits/std_cstdio.h: Undef printf.
1702 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
1704 * src/ios.cc: Fix typo: change cout->wcout.
1706 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
1707 * src/Makefile.in: Regenerate.
1709 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1711 * include/bits/std_complex.h: Fix a typo.
1713 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
1716 Fixes for libstdc++/1576
1717 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
1718 file, move contents into....
1719 * src/ios.cc: ...Here. Put defines for iostreams objects and
1720 initialization routines into one file to simplify DSO interaction.
1721 * include/bits/std_iostream.h: Touch.
1722 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
1723 * src/Makefile.am (sources): Remove stdstreams.cc.
1724 * src/Makefile.in: Regenerate.
1726 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1728 * tests_flags.in (check_directory): Fix typo.
1730 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1732 * include/bits/std_complex.h: Fix a typo.
1734 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
1736 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
1737 code path:) Remove magic constants and restructure to handle
1738 ctype.h bit mask layout changes more gracefully. (Make fast
1739 code path:) Use __maskrune (), if available.
1740 (is): Remove special case for digit and xdigit masks.
1742 2001-01-09 Robert Lipe <robertlipe@usa.net>
1744 * include/c_std/bits/std_ctime.h: Undefine difftime.
1746 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
1748 * src/gen-num-limits.cc (signal_adapter): New template function.
1749 (signal_handler): Use it, instead of signal.
1750 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
1751 require both tests to trap to set trap_flag.
1753 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
1755 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
1756 initialize mbstate_t member, name offset data members *off, not pos.
1757 * include/bits/fstream.tcc (filebuf::filebuf): Same.
1759 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
1761 reported by Chris G. Demetriou <cgd@sibyte.com>
1762 * configure.in: Change -linux-* to -linux*.
1763 * configure: Regenerate.
1765 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
1767 Fix 27_io/filebuf_members.cc
1768 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
1769 const string& __name, category __cat, size_t __refs): Set
1770 _M_has_name with _M_name.
1771 * include/bits/localefwd.h (locale::operator!=): Protect member
1772 function call with this->.
1773 * src/locale.cc (locale::operator==): Make fast checks first.
1774 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
1776 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
1778 * src/ios.cc (ios_base::Init::Init): Initialize here.
1779 (ios_base::sync_with_stdio): Set here.
1781 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
1783 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
1784 systems that support it, call dup() before fdopen().
1786 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
1788 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
1789 * testsuite/17_intro/header_cwctype.cc (main): New file.
1791 * src/Makefile.am (base_headers): Change.
1792 * include/bits/std_string.h: And here.
1793 * include/bits/string.tcc: Tweaks, move to...
1794 * include/bits/basic_string.tcc: ...Here.
1795 * src/string-inst.cc: Simplify, just instantiate the whole class,
1796 not member-by-member.
1798 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
1800 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
1801 * aclocal.m4: Regenerate.
1802 * configure: Regenerate.
1804 * include/bits/c++config (__GLIBCPP__): Bump version number.
1806 * ChangeLog: Start new log for year 2001
1807 * ChangeLog-2000: New file.
1809 * docs/html/configopts.html: Make sure default values are current,
1812 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
1814 * include/c_std/bits/std_cwchar.h: Same.
1815 * testsuite/17_intro/header_cwchar.cc: Same.
1816 * include/c_std/bits/std_ctime.h: Same.
1817 * testsuite/17_intro/header_ctime.cc: Same.
1818 * include/c_std/bits/std_cstdlib.h: Same.
1819 Clean up undefs, make consistent with cwchar and cmath, etc.
1820 * testsuite/17_intro/header_cstdlib.cc: Same.
1821 * include/c_std/bits/std_cstdio.h: Same here.
1822 * testsuite/17_intro/header_cstring.cc: Same.
1823 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
1824 * testsuite/17_intro/header_cstring.cc: New file. Check for
1825 size_t in namespace std.
1827 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
1828 * acconfig.h (HAVE_MBSTATE_T): Add.
1829 * config.h.in: Regenerate.
1830 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
1832 * aclocal.m4: Regenerate.
1833 * configure: Regenerate.
1834 * testsuite/17_intro/headers_c++.cc: New file.
1835 * testsuite/17_intro/headers_c.cc: Small changes.
1837 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
1839 * tests_flags.in: Fix typo in usage.
1841 * tests_flags.in: Set target specific LIBS for cygwin.