1 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
3 Warn when using backward headers.
4 * include/backward/algo.h: Include warning file.
5 * include/backward/vector.h: Same.
6 * include/backward/tree.h: Same.
7 * include/backward/tempbuf.h: Same.
8 * include/backward/strstream: Same.
9 * include/backward/streambuf.h: Same.
10 * include/backward/stream.h: Same.
11 * include/backward/stack.h: Same.
12 * include/backward/slist.h: Same.
13 * include/backward/set.h: Same.
14 * include/backward/rope.h:
15 * include/backward/queue.h: Same.
16 * include/backward/pair.h: Same.
17 * include/backward/ostream.h: Same.
18 * include/backward/new.h: Same.
19 * include/backward/multiset.h: Same.
20 * include/backward/multimap.h: Same.
21 * include/backward/map.h: Same.
22 * include/backward/list.h: Same.
23 * include/backward/iterator.h: Same.
24 * include/backward/istream.h: Same.
25 * include/backward/iostream.h:
26 * include/backward/iomanip.h:
27 * include/backward/heap.h: Same.
28 * include/backward/hashtable.h:
29 * include/backward/hash_set.h:
30 * include/backward/hash_map.h:
31 * include/backward/function.h:
32 * include/backward/fstream.h:
33 * include/backward/deque.h:
34 * include/backward/defalloc.h: Same.
35 * include/backward/complex.h: Same.
36 * include/backward/bvector.h:
37 * include/backward/alloc.h:
38 * include/backward/algobase.h: Same.
40 * include/backward/backward_warning.h: New file.
41 * src/Makefile.am (backward_headers): Add backward_warning.h
42 * src/Makefile.in: Regenerate.
44 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
46 * src/Makefile.am (myinstalldirs): Make sure backward directory is
48 (myinstallheaders): Install backward headers in backward directory.
49 * src/Makefile.in: Regenerate.
51 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
53 Prepare for libstdc++-2.92.
54 * docs/html/17_intro/RELEASE-NOTES (New): Update.
55 * docs/html/configopts.html: Fix formatting.
56 * README (file): Updates.
57 * include/bits/c++config (__GLIBCPP__): Update.
59 2001-04-05 Phil Edwards <pme@sources.redhat.com>
61 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
63 2001-04-04 Phil Edwards <pme@sources.redhat.com>
65 * docs/doxygen/user.cfg.in: Extract all non-private members;
66 reduce confusing documentation output.
68 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
70 * include/backward/fstream.h: Add missing semicolons.
72 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
74 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
75 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
76 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
77 (ios_base::Init::_S_ios_create): New.
78 (ios_base::Init::_S_ios_destroy): New.
79 * include/bits/std_fstream.h: Change ctor args.
80 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
81 (ios_base::Init::~Init): Use _S_ios_destroy.
82 (ios_base::sync_with_stdio): Use new members.
83 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
86 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
88 * include/backward/fstream.h: Expose streampos to global
91 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
93 * include/bits/stl_iterator_base_types.h: Fix typo
95 2001-04-03 Andreas Schwab <schwab@suse.de>
97 * include/backward/fstream.h: Define filebuf and wfilebuf.
99 2001-04-02 Phil Edwards <pme@sources.redhat.com>
101 New concept checking implementation.
102 * docs/html/19_diagnostics/howto.html: Document.
103 * docs/html/17_intro/concept_check.diff: New file, for reference.
104 * include/bits/boost_concept_check.h: New file from Boost.
105 * include/bits/c++config: Update comments.
107 * include/bits/concept_check.h: New file.
108 * include/bits/concept_checks.h: Removed.
109 * include/bits/container_concepts.h: Removed.
110 * include/bits/sequence_concepts.h: Removed.
111 * include/bits/stl_iterator_base.h: Removed; split into...
112 * include/bits/stl_iterator_base_funcs.h: ...this new file...
113 * include/bits/stl_iterator_base_types.h: ...and this new file.
115 * include/bits/sbuf_iter.h: Update to use new implementation.
116 * include/bits/std_iterator.h: Likewise.
117 * include/bits/std_memory.h: Likewise.
118 * include/bits/stl_algo.h: Likewise.
119 * include/bits/stl_algobase.h: Likewise.
120 * include/bits/stl_construct.h: Likewise.
121 * include/bits/stl_deque.h: Likewise.
122 * include/bits/stl_heap.h: Likewise.
123 * include/bits/stl_list.h: Likewise.
124 * include/bits/stl_map.h: Likewise.
125 * include/bits/stl_multimap.h: Likewise.
126 * include/bits/stl_multiset.h: Likewise.
127 * include/bits/stl_numeric.h: Likewise.
128 * include/bits/stl_queue.h: Likewise.
129 * include/bits/stl_set.h: Likewise.
130 * include/bits/stl_stack.h: Likewise.
131 * include/bits/stl_uninitialized.h: Likewise.
132 * include/bits/stl_vector.h: Likewise.
133 * include/ext/hash_map: Likewise.
134 * include/ext/hash_set: Likewise.
135 * include/ext/slist: Likewise.
136 * include/ext/stl_hashtable.h: Likewise.
138 * src/Makefile.am (base_headers): Update list of headers.
139 * Makefile.in: Regenerated.
140 * src/Makefile.in: Regenerated.
141 * libio/Makefile.in: Regenerated.
142 * libmath/Makefile.in: Regenerated.
143 * libsupc++/Makefile.in: Regenerated.
144 * testsuite/Makefile.in: Regenerated.
146 * docs/html/install.html: Update contact information.
147 * docs/html/17_intro/howto.html: Ditto.
148 * docs/html/18_support/howto.html: Ditto.
149 * docs/html/20_util/howto.html: Ditto.
150 * docs/html/21_strings/howto.html: Ditto.
151 * docs/html/22_locale/howto.html: Ditto.
152 * docs/html/23_containers/howto.html: Ditto.
153 * docs/html/24_iterators/howto.html: Ditto.
154 * docs/html/25_algorithms/howto.html: Ditto.
155 * docs/html/26_numerics/howto.html: Ditto.
156 * docs/html/27_io/howto.html: Ditto.
157 * docs/html/faq/index.html: Ditto, plus info on new checking code.
158 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
159 * docs/html/faq/index.txt: Regenerated.
161 2001-04-02 Zack Weinberg <zackw@stanford.edu>
163 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
164 messages with $which_library as well as $tool_flags and
165 ${dg-extra-tool-flags}. Factor out annotation text into
168 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
170 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
171 * include/c_std/bits/std_cwchar.h: Same.
172 * testsuite/21_strings/c_strings.cc: Add.
174 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
176 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
178 2001-04-01 Zack Weinberg <zackw@stanford.edu>
180 * tests_flags.in: Use test a = b, not test a == b which is not
183 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
185 * configure.target: Remove duplicate aix entry.
187 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
189 * include/ext/stl_bvector.h: Move to...
190 * include/bits/stl_vector.h: ...here.
191 * include/ext/bvector: Move to...
192 * include/backward/bvector.h: ...here.
193 * include/bits/std_vector.h: Change stl_bvector include.
194 * include/bits/std_queue.h: Remove bvector include.
195 * include/ext/tree: Insert using rb_tree, move to...
196 * include/backward/tree.h: ...here.
197 * include/backward/hash_map.h: Include ext/hash_map.
198 * include/backward/hash_set.h: Include ext/hash_set.
199 * include/backward/queue.h: New file.
200 * include/backward/stack.h: Edit.
201 * include/backward/algo.h: Same.
202 * include/backward/algobase.h: Same.
203 * include/backward/alloc.h: Same.
204 * include/backward/function.h: Same.
205 * include/backward/iomanip.h: Same.
206 * include/backward/istream.h: Same.
207 * include/backward/iterator.h: Same.
208 * include/backward/list.h: Same.
209 * include/backward/map.h: Same.
210 * include/backward/multimap.h: Same.
211 * include/backward/multiset.h: Same.
212 * include/backward/ostream.h: Same.
213 * include/backward/pair.h: Same
214 * include/backward/rope.h: Same.
215 * include/backward/set.h: Same.
216 * include/backward/stream.h: Same.
217 * include/backward/strstream.h: Same.
218 * include/backward/tempbuf.h: Same.
219 * src/Makefile.am (ext_headers): Edit.
220 * src/Makefile.in: Regenerate.
221 * testsuite/ext/headers.cc (main): Fix.
224 2001-03-30 Phil Edwards <pme@sources.redhat.com>
226 * tests_flags.in (LIBS): Pass correct path for installed testing.
228 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
230 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
231 * tests_flags.in (CXX): Construct here.
232 (static_fail): Don't remove compile.out. Format with spaces.
233 (INCLUDES): Deal with xcompiling.
234 * configure.in (xcompiling): Substitute.
235 * testsuite/Makefile.am: Snake libjava configury.
236 * testsuite/Makefile.in: Regenerate.
237 * testsuite/23_containers/map_operators.cc: Tweaks.
238 * testsuite/23_containers/set_operators.cc: Tweaks.
240 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
242 Enable dejagnu testing framework.
243 * configure.in: Generate testsuite/Makefile.
244 * configure: Regenerate.
245 * Makefile.am (check-install): Change rule from this...
246 (check-script-install): ...to this.
247 (check): Change rule from this...
248 (check-script):...to this.
249 * Makefile.in: Regenerate.
251 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
253 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
255 (LIBTOOL): Let automake take care of its definition.
256 * libsupc++/Makefile.in: Rebuilt.
258 2001-03-28 Richard Henderson <rth@redhat.com>
260 IA-64 ABI Exception Handling:
261 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
262 * configure.in: Use it.
263 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
264 * libsupc++/Makefile.am (sources): Update files list.
265 * libsupc++/Makefile.in: Regenerate.
266 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
267 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
268 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
269 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
270 * libsupc++/exception_support.cc: Remove.
271 * libsupc++/exception_support.h: Remove.
272 * libsupc++/pure.cc: Use std::terminate.
273 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
274 (__is_pointer): Remove.
275 * libsupc++/unwind-cxx.h: New file.
276 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
278 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
280 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
282 * src/Makefile.am (CXXLINK): Likewise.
283 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
285 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
287 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
289 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
291 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
294 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
296 * include/bits/basic_file.h (get_fileno): Remove.
298 (_M_cfile_created): Add.
299 (basic_file::basic_file(__c_file_type*, openmode): Add.
300 (basic_file::basic_file(int, const char*, openmode): Remove.
301 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
302 const char*, ios_base::openmode): Don't allocate
303 internal buffers. Turn off internal buffers.
304 (basic_filebuf::overflow): Remove test for null buffer.
305 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
306 * include/bits/streambuf.cc: Tweak.
307 * include/bits/std_ostream.h: Tweak.
308 * config/basic_file_libio.h: Same.
309 * config/basic_file_stdio.h: Same.
310 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
311 * testsuite/27_io/filebuf_members.cc: Tweaks.
312 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
314 2001-03-24 Phil Edwards <pme@sources.redhat.com>
316 * Makefile.am: New targets, doxygen and doxygen-maint.
317 * Makefile.in: Regenerated.
318 * docs/doxygen/run_doxygen: Finally implemented.
319 * docs/doxygen/maint.cfg.in: New file.
320 * docs/doxygen/user.cfg.in: New file.
322 2001-03-24 Phil Edwards <pme@sources.redhat.com>
324 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
325 * src/Makefile.am: Replace leading spaces with tabs on continuation
327 * aclocal.m4: Regenerated.
329 * Makefile.in: Ditto.
330 * src/Makefile.in: Ditto.
331 * libio/Makefile.in: Ditto.
332 * libmath/Makefile.in: Ditto.
333 * libsupc++/Makefile.in: Ditto.
335 2001-03-24 Phil Edwards <pme@sources.redhat.com>
337 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
338 concept-checking code and current status of same.
339 * docs/html/ext/howto.html: Ditto.
340 * docs/html/faq/index.html: Ditto.
341 * docs/html/faq/index.txt: Regenerated.
343 2001-03-24 Phil Edwards <pme@sources.redhat.com>
345 * include/bits/std_bitset.h: Include ostream and istream headers
348 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
350 * include/bits/ostream.tcc: Use __builtin_alloca.
352 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
354 * src/misc-inst.cc (__sink_unused_warning): Move to...
355 * src/locale-inst.cc (__sink_unused_warning): Move to...
356 * src/stl-inst.cc: Here.
357 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
360 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
362 * intclude/bits/basic_file.h: Fix typos in comments.
364 2001-03-20 Richard Henderson <rth@redhat.com>
366 * src/gen-num-limits.cc: Instantiate for wchar_t.
367 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
369 2001-03-20 Jason Merrill <jason@redhat.com>
371 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
372 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
373 * libsupc++/cxxabi.h: Declare it.
375 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
377 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
378 signal_func with an unspecified argument list.
380 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
382 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
384 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
386 * include/bits/basic_string.tcc (operator+): Fix thinko.
388 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
391 * include/bits/std_streambuf.h: Remove cached locale facets.
392 (basic_streambuf::_M_buf_fctype): Remove.
393 (basic_streambuf::~basic_streambuf): Remove here.
394 (basic_streambuf::basic_streambuf): Same.
395 (basic_streambuf::imbue): Same.
396 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
397 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
398 (basic_filebuf::~basic_filebuf()): Remove here.
399 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
400 (basic_filebuf::imbue): Same.
401 * include/bits/localefwd.h (_Count_ones): Remove.
402 (locale::_S_num_categories): Just use 6, since this doesn't
403 actually change, ever.
404 * include/bits/locale_facets.tcc (has_facet): Simplify.
406 * testsuite/27_io/filebuf.cc (test06): Add tests.
408 2001-03-13 Steve Ellcey <sje@cup.hp.com>
410 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
411 match HP-UX ctype.h header file.
413 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
415 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
416 duplicate definitions of __dj_ctype_*
418 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
420 * libsupc++/new: Remove pragma interface.
421 * libsupc++/typeinfo: Same.
422 * libsupc++/exception: Same.
423 * libsupc++/new_handler.cc: Remove pragma implementation.
424 (bad_alloc::~bad_alloc()): Add.
425 * libsupc++/exception_support.cc: Same.
426 (exception::~exception): Add.
427 (bad_exception::~bad_exception): Add.
428 * libsupc++/tinfo.cc: Same.
429 (bad_cast::~bad_cast): Add.
430 (bad_typeid::~bad_typeid): Add.
432 2001-03-13 Phil Edwards <pme@sources.redhat.com>
434 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
436 2001-03-12 Felix Lee <flee@redhat.com>
438 * mkcheck.in: workaround for bash 2.01 IFS bug.
440 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
442 Fixups for -fno-for-scope
443 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
444 * src/valarray-inst.cc (__gslice_to_index): Same.
446 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
448 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
449 prior to trapping signal (UnixWare 7 workaround).
451 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
453 * include/backward/hashtable.h: Same.
454 * include/backward/rope.h: Fix include.
456 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
458 * include/backward/vector.h: Include std_vector.h.
460 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
461 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
464 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
466 * include/ext/stl_hashtable.h: Change type of __n to size_t
467 * include/backward/bvector.h: Include <ext/stl_bvector.h>
469 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
471 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
472 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
473 Use streamsize, not int_type.
475 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
477 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
480 2001-03-08 Andreas Schwab <schwab@suse.de>
482 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
484 * aclocal.m4, configure: Regenerated.
486 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
488 * include/bits/std_iosfwd.h: Remove string forward decls here.
489 * include/bits/stringfwd.h: Add forward decls for char_traits
491 * config/c_io_libio.h (wstreamoff): Delete.
492 * config/c_io_stdio.h (wstreamoff): Same.
493 * include/bits/char_traits.h: Use streamoff not wstreamoff for
494 char_traits<wchar_t>::off_type.
495 Remove duplicate typedefs.
496 * include/bits/fpos.h: Define streampos/wstreampos here.
497 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
500 Changeup output files.
501 * testsuite/27_io/istream_unformatted.cc: Change output files.
502 * testsuite/27_io/istream_seeks-1.txt: Add.
503 * testsuite/27_io/istream_seeks-2.tst: Add.
504 * testsuite/27_io/istream_seeks-1.tst: Add.
505 * testsuite/27_io/istream_unformatted-2.tst: Delete.
506 * testsuite/27_io/istream_unformatted-3.tst: Delete.
507 * testsuite/27_io/istream_unformatted-3.txt: Delete.
509 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
511 Add Irix 5.2, 6.3 support.
512 * config/os/irix/bits: Renamed to...
513 * config/os/irix/irix6.5/bits: this.
514 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
515 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
516 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
517 * config/os/irix/irix5.2/bits/ctype_noninline.h
518 (ctype<char>::ctype): Initialize _M_table with __ctype.
519 * configure.target: Adjust.
521 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
524 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
525 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
527 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
528 (*__pf)(__ios_type&)): Same.
529 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
530 (*__pf)(ios_base&))): Same.
531 * testsuite/27_io/istream_extractor_other.cc: Add tests.
532 * testsuite/27_io/istream_manip.cc (test01): Fix.
534 2001-03-06 Nathan Myers <ncm@cantrip.org>
535 Benjamin Kosnik <bkoz@redhat.com>
537 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
538 * testsuite/17_intro/header_cerrno.cc (test01): New file.
539 * testsuite/17_intro/header_cassert.cc (test01): New file.
540 * testsuite/17_intro/header_cstddef.cc (test01): New file.
541 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
542 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
544 2001-03-05 scott snyder <snyder@fnal.gov>
547 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
549 * include/c_std/bits/std_cstdlib.h: ... to here.
550 * testsuite/17_intro/header_cstdlib.cc: Add test.
552 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
554 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
556 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
558 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
559 definition. Replace enum with static const variables.
561 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
562 throw specification, fix typos, use <static_cast>.
563 (ctype<char>::scan_is): remove throw specification.
564 (ctype<char>::scan_not): likewise.
566 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
567 (ctype<char>::do_toupper(char)): use <static_cast>.
568 (ctype<char>::do_toupper(char *, const char *)): likewise.
569 (ctype<char>::do_tolower(char)): likewise.
570 (ctype<char>::do_tolower(char *, const char *)): likewise.
572 2001-03-04 Phil Edwards <pme@sources.redhat.com>
574 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
575 * include/backward/algo.h: Use std not __STD. Remove unneeded
576 macros and "never happens" code. Adjust to C++STYLE guidelines.
577 * include/backward/algobase.h: Likewise.
578 * include/backward/alloc.h: Likewise.
579 * include/backward/bvector.h: Likewise.
580 * include/backward/deque.h: Likewise.
581 * include/backward/function.h: Likewise.
582 * include/backward/hash_map.h: Likewise.
583 * include/backward/hash_set.h: Likewise.
584 * include/backward/hashtable.h: Likewise.
585 * include/backward/heap.h: Likewise.
586 * include/backward/iterator.h: Likewise.
587 * include/backward/list.h: Likewise.
588 * include/backward/map.h: Likewise.
589 * include/backward/multimap.h: Likewise.
590 * include/backward/multiset.h: Likewise.
591 * include/backward/pair.h: Likewise.
592 * include/backward/rope.h: Likewise.
593 * include/backward/set.h: Likewise.
594 * include/backward/slist.h: Likewise.
595 * include/backward/stack.h: Likewise.
596 * include/backward/strstream: Likewise.
597 * include/backward/tempbuf.h: Likewise.
598 * include/backward/tree.h: Likewise.
599 * include/backward/vector.h: Likewise.
600 * include/bits/basic_ios.h: Likewise.
601 * include/bits/basic_ios.tcc: Likewise.
602 * include/bits/basic_string.h: Likewise.
603 * include/bits/c++config: Likewise.
604 * include/bits/concept_checks.h: Likewise.
605 * include/bits/fpos.h: Likewise.
606 * include/bits/fstream.tcc: Likewise.
607 * include/bits/functexcept.h: Likewise.
608 * include/bits/ios_base.h: Likewise.
609 * include/bits/istream.tcc: Likewise.
610 * include/bits/mask_array.h: Likewise.
611 * include/bits/ostream.tcc: Likewise.
612 * include/bits/pthread_allocimpl.h: Likewise.
613 * include/bits/sbuf_iter.h: Likewise.
614 * include/bits/slice.h: Likewise.
615 * include/bits/slice_array.h: Likewise.
616 * include/bits/sstream.tcc: Likewise.
617 * include/bits/std_bitset.h: Likewise.
618 * include/bits/std_fstream.h: Likewise.
619 * include/bits/std_iomanip.h: Likewise.
620 * include/bits/std_ios.h: Likewise.
621 * include/bits/std_istream.h: Likewise.
622 * include/bits/std_iterator.h: Likewise.
623 * include/bits/std_memory.h: Likewise.
624 * include/bits/std_ostream.h: Likewise.
625 * include/bits/std_sstream.h: Likewise.
626 * include/bits/std_streambuf.h: Likewise.
627 * include/bits/std_string.h: Likewise.
628 * include/bits/std_valarray.h: Likewise.
629 * include/bits/stl_algo.h: Likewise.
630 * include/bits/stl_algobase.h: Likewise.
631 * include/bits/stl_alloc.h: Likewise.
632 * include/bits/stl_construct.h: Likewise.
633 * include/bits/stl_deque.h: Likewise.
634 * include/bits/stl_function.h: Likewise.
635 * include/bits/stl_heap.h: Likewise.
636 * include/bits/stl_iterator.h: Likewise.
637 * include/bits/stl_iterator_base.h: Likewise.
638 * include/bits/stl_list.h: Likewise.
639 * include/bits/stl_map.h: Likewise.
640 * include/bits/stl_multimap.h: Likewise.
641 * include/bits/stl_multiset.h: Likewise.
642 * include/bits/stl_numeric.h: Likewise.
643 * include/bits/stl_pair.h: Likewise.
644 * include/bits/stl_pthread_alloc.h: Likewise.
645 * include/bits/stl_queue.h: Likewise.
646 * include/bits/stl_raw_storage_iter.h: Likewise.
647 * include/bits/stl_relops.h: Likewise.
648 * include/bits/stl_set.h: Likewise.
649 * include/bits/stl_stack.h: Likewise.
650 * include/bits/stl_tempbuf.h: Likewise.
651 * include/bits/stl_threads.h: Likewise.
652 * include/bits/stl_tree.h: Likewise.
653 * include/bits/stl_uninitialized.h: Likewise.
654 * include/bits/stl_vector.h: Likewise.
655 * include/bits/streambuf.tcc: Likewise.
656 * include/bits/type_traits.h: Likewise.
657 * include/bits/valarray_meta.h: Likewise.
658 * include/ext/bvector: Likewise.
659 * include/ext/hash_map: Likewise.
660 * include/ext/hash_set: Likewise.
661 * include/ext/ropeimpl.h: Likewise.
662 * include/ext/slist: Likewise.
663 * include/ext/stl_bvector.h: Likewise.
664 * include/ext/stl_hash_fun.h: Likewise.
665 * include/ext/stl_hashtable.h: Likewise.
666 * include/ext/stl_rope.h: Likewise.
667 * src/complex_io.cc: Likewise.
668 * src/ios.cc: Likewise.
669 * src/locale-inst.cc: Likewise.
670 * src/locale.cc: Likewise.
671 * src/localename.cc: Likewise.
672 * src/misc-inst.cc: Likewise.
673 * src/stdexcept.cc: Likewise.
674 * src/stl-inst.cc: Likewise.
675 * src/strstream.cc: Likewise.
676 * src/valarray-inst.cc: Likewise.
678 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
680 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
682 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
684 * include/bits/istream.tcc: change type of __extracted to __size_type
686 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
688 * src/wstring-inst.cc: New file.
689 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
690 (libinst_wstring_la_SOURCES): Remove.
691 (libstdc___la_LIBADD): Remove libinst_wstring_la.
692 (sources): Add wstring-inst.cc
693 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
696 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
698 * src/locale.cc: initialise __ret with zero
699 * src/strstream.cc:cast gptr to int_type
701 2001-03-01 Phil Edwards <pme@sources.redhat.com>
703 * docs/html/faq/index.html: Update broken links.
704 * docs/html/faq/index.txt: Regenerated.
706 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
709 * configure.target: Change irix* to irix6.5* in target_os table.
711 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
714 * include/bits/c++config (__GLIBCPP__): Bump number in
715 anticipation of 2.92.
717 * include/bits/codecvt.h: Fix typo.
718 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
720 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
721 instantiations for stdio model.
723 2001-02-28 Phil Edwards <pme@sources.redhat.com>
725 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
726 and GLIBCPP_CXXFLAGS as unused variables.
727 * configure.host: Likewise.
728 * configure.target: Likewise.
729 * aclocal.m4: Regenerated.
730 * configure: Regenerated.
731 * Makefile.in: Regenerated.
732 * libio/Makefile.in: Regenerated.
733 * libmath/Makefile.in: Regenerated.
734 * libsupc++/Makefile.in: Regenerated.
735 * src/Makefile.in: Regenerated.
737 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
740 * include/bits/basic_file.h: Include basic_file_model.h.
741 * config/c_io_libio.cc: Move to...
742 * config/basic_file_libio.cc: Here.
743 * config/basic_file_libio.h: New file.
744 * config/c_io_stdio.cc: Move to...
745 * config/basic_file_stdio.cc: Here.
746 * config/basic_file_stdio.h: New file.
747 * config/c_io_libio.h: Tweak.
748 * config/c_io_stdio.h: Tweak.
749 * src/Makefile.am (build_headers): Add basic_file_model.h.
750 (sources): Add basic_file.cc, remove c++io.cc.
751 * src/Makefile.in: Regenerate.
752 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
753 basic_file_model.h and basic_file.cc.
754 * aclocal.m4: Regenerate.
755 * configure: Regenerate.
756 * testsuite/27_io/filebuf.cc (test05): Add regression.
758 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
761 * config/cpu/alpha/bits/atomicity.h: Change.
762 * config/cpu/arm/bits/atomicit3y.h
763 * config/cpu/generic/bits/atomicity.h
764 * config/cpu/i386/bits/atomicity.h
765 * config/cpu/i486/bits/atomicity.h
766 * config/cpu/ia64/bits/atomicity.h
767 * config/cpu/powerpc/bits/atomicity.h
768 * config/cpu/sparc/sparc32/bits/atomicity.h
769 * config/cpu/sparc/sparc64/bits/atomicity.h
770 * config/os/aix/bits/atomicity.h
771 * config/os/irix/bits/atomicity.h
773 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
775 * include/bits/std_stdexcept.h (runtime_error): Make string
778 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
781 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
785 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
786 string object, not reference.
787 (runtime_error::runtime_error): Same.
788 * testsuite/19_diagnostics/stdexceptions.cc: New file.
790 2001-02-26 Phil Edwards <pme@sources.redhat.com>
792 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
793 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
794 diagnostics. Remove WFMT_FLAGS.
795 * configure.in: Replace WFMT_FLAGS with diagnostics options.
796 * libsupc++/Makefile.am: Likewise.
797 * src/Makefile.am: Likewise.
798 * aclocal.m4: Regenerated.
799 * configure: Regenerated.
800 * Makefile.in: Regenerated.
801 * libio/Makefile.in: Regenerated.
802 * libmath/Makefile.in: Regenerated.
803 * libsupc++/Makefile.in: Regenerated.
804 * src/Makefile.in: Regenerated.
806 2001-02-26 Phil Edwards <pme@sources.redhat.com>
809 * include/backward/iomanip.h: Expose <ios> manipulators to global
811 * include/backward/iostream.h: Also expose std::ws.
813 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
815 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
817 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
819 * include/bits/codecvt.h: Use __builtin_alloca.
820 * include/bits/ostream.tcc: Same.
821 * include/bits/fstream.tcc: Same.
823 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
825 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
827 2001-02-23 David Edelsohn <dje@watson.ibm.com>
829 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
831 2001-02-23 Phil Edwards <pme@sources.redhat.com>
834 * include/backward/iostream.h: Expose std::flush in old headers.
836 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
838 * mknumeric_limits: Remove special-casing on target. Use gcc
839 instead of g++ to build gen-num-limits.cc
841 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
843 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
845 * include/bits/codecvt.h: Use alloca instead of __extension__ for
847 * include/bits/ostream.tcc: Same.
848 * include/bits/std_ostream.h: Same.
849 * include/bits/fstream.tcc: Same.
850 * include/bits/locale_facets.tcc: Add typename.
851 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
853 2001-02-21 Phil Edwards <pme@sources.redhat.com>
855 * tests_flags.in: Remove -n flag from call to echo.
857 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
859 * config/c_locale_gnu.h: Add clocale include.
861 2001-02-20 Phil Edwards <pme@sources.redhat.com>
863 * include/bits/stl_config.h: Remove file.
864 * src/Makefile.am (base_headers): Remove from list.
865 * configure: Regenerate.
866 * Makefile.in: Ditto.
867 * libio/Makefile.in: Ditto.
868 * libmath/Makefile.in: Ditto.
869 * libsupc++/Makefile.in: Ditto.
870 * src/Makefile.in: Ditto.
872 * include/bits/c++config: Move relevant macros to here.
873 * include/backward/alloc.h: Include c++config.h instead.
874 * include/backward/function.h: Ditto.
875 * include/backward/heap.h: Ditto.
876 * include/backward/pair.h: Ditto.
877 * include/bits/pthread_allocimpl.h: Ditto.
878 * include/bits/std_functional.h: Ditto.
879 * include/bits/std_iterator.h: Ditto.
880 * include/bits/std_numeric.h: Ditto.
881 * include/bits/std_utility.h: Ditto.
882 * include/bits/stl_algobase.h: Ditto.
883 * include/bits/type_traits.h: Ditto.
884 * src/stl-inst.cc: Ditto.
886 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
888 * include/bits/basic_file.h: Add #pragma system_header
889 * include/bits/basic_ios.h: Ditto.
890 * include/bits/basic_string.h: Ditto.
891 * include/bits/char_traits.h: Ditto.
892 * include/bits/codecvt.h: Ditto.
893 * include/bits/cpp_type_traits.h: Ditto.
894 * include/bits/fpos.h: Ditto.
895 * include/bits/gslice.h: Ditto.
896 * include/bits/gslice_array.h: Ditto.
897 * include/bits/indirect_array.h: Ditto.
898 * include/bits/ios_base.h: Ditto.
899 * include/bits/limits_generic.h: Ditto.
900 * include/bits/locale_facets.h: Ditto.
901 * include/bits/localefwd.h: Ditto.
902 * include/bits/mask_array.h: Ditto.
903 * include/bits/sbuf_iter.h: Ditto.
904 * include/bits/sequence_concepts.h: Ditto.
905 * include/bits/slice.h: Ditto.
906 * include/bits/slice_array.h: Ditto.
907 * include/bits/std_algorithm.h: Likewise.
908 * include/bits/std_bitset.h: Likewise.
909 * include/bits/std_complex.h: Likewise.
910 * include/bits/std_deque.h: Likewise.
911 * include/bits/std_fstream.h: Likewise.
912 * include/bits/std_functional.h: Likewise.
913 * include/bits/std_iomanip.h: Likewise.
914 * include/bits/std_ios.h: Likewise.
915 * include/bits/std_iosfwd.h: Likewise.
916 * include/bits/std_iostream.h: Likewise.
917 * include/bits/std_istream.h: Likewise.
918 * include/bits/std_iterator.h: Likewise.
919 * include/bits/std_list.h: Likewise.
920 * include/bits/std_locale.h: Likewise.
921 * include/bits/std_map.h: Likewise.
922 * include/bits/std_memory.h: Likewise.
923 * include/bits/std_numeric.h: Likewise.
924 * include/bits/std_ostream.h: Likewise.
925 * include/bits/std_queue.h: Likewise.
926 * include/bits/std_set.h: Likewise.
927 * include/bits/std_sstream.h: Likewise.
928 * include/bits/std_stack.h: Likewise.
929 * include/bits/std_stdexcept.h: Likewise.
930 * include/bits/std_streambuf.h: Likewise.
931 * include/bits/std_string.h: Likewise.
932 * include/bits/std_utility.h: Likewise.
933 * include/bits/std_valarray.h: Likewise.
934 * include/bits/std_vector.h: Likewise.
935 * include/bits/stringfwd.h: Likewise.
936 * include/bits/type_traits.h: Likewise.
937 * include/bits/valarray_array.h: Likewise.
938 * include/bits/valarray_meta.h: Likewise.
940 2001-02-19 Andreas Jaeger <aj@suse.de>
942 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
945 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
948 * include/bits/std_ostream.h: Replaced usage of
949 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
950 * include/bits/char_traits.h: Removed non-standard
951 methods that cannot be used elsewhere.
954 * include/bits/basic_ios.h: Uncommented #include of
958 * include/bits/codecvt.h: See next...
959 * include/bits/fstream.tcc: See next...
960 * include/bits/ostream.tcc: Add __extension__
961 to variable-length arrays.
964 * include/bits/localefwd.h: Changed int counter type to size_t.
967 * include/bits/std_fstream.h: Added typedef for __ctype_type.
969 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
971 * testsuite/21_strings/char_traits.cc: Move to ...
972 * testsuite/21_strings/char_traits_requirements.cc: ..here.
973 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
974 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
976 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
978 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
981 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
983 * include/bits/c++config: Revert.
985 2001-02-15 Mark Mitchell <mark@codesourcery.com>
987 * include/bits/istream.tcc: Use ios_base::iostate in place of
988 iostate throughout. Insert `typename' keyword where necessary.
989 * include/bits/ostream.tcc: Insert `typename' keyword where
992 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
994 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
995 Define so library is compliant.
997 2001-02-15 Anthony Green <green@redhat.com>
999 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
1001 * aclocal.m4: Regenerate.
1002 * configure: Regenerate.
1004 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
1006 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
1007 Include ieeefp.h for fpclass on UnixWare{2,7}.
1008 * aclocal.m4: Regenerate.
1009 * configure: Regenerate.
1010 * mkcheck.in (size_command): Do without GNU-grep when using
1013 2001-02-15 Mark Mitchell <mark@codesourcery.com>
1015 Remove old ABI support from libsupc++.
1016 * libsupc++/cxxabi.h: Remove conditionally compiled code.
1017 * libsupc++/exception_support.cc: Likewise.
1018 * libsupc++/pure.cc: Likewise.
1019 * libsupc++/tinfo.cc: Likewise.
1020 * libsupc++/tinfo.h: Likewise.
1021 * libsupc++/tinfo2.cc: Likewise.
1022 * libsupc++/typeinfo: Likewise.
1023 * libsupc++/vec.cc: Likewise.
1025 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
1027 Add support for -fno-exceptions.
1028 * include/bits/exception_support.h: Remove.
1029 * include/bits/basic_string.h: Remove exception_support.
1030 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
1032 (string::substr): Same.
1033 * include/bits/basic_string.tcc (string::reserve): Replace
1034 __LENGTHERROR with __throw_length_error.
1035 (string::_S_create): Same.
1036 (string::resize): Same.
1037 (string::_M_replace): Same.
1038 (string::replace): Same.
1039 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
1040 (string::compare): Same.
1041 * include/bits/stl_vector.h: Remove exception_support.
1042 * src/Makefile.am (base_headers): Remove here.
1043 * src/Makefile.in: Regenerate.
1045 * include/bits/stl_range_errors.h: Remove.
1046 * include/bits/stl_deque.h: Use __throw_range_error.
1047 * include/bits/std_deque.h: Include functexcept.h.
1048 * include/bits/std_vector.h: Same.
1049 * src/Makefile.am (base_headers): Remove here.
1050 * src/Makefile.in: Regenerate.
1051 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
1052 * include/ext/bvector: Remove stl_range_errors.h
1054 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
1056 * include/bits/functexcept.h: New file.
1057 * src/functexcept.cc: New file. Definitions for function-based
1059 * src/Makefile.am (sources): Add functexcept.cc.
1060 * src/Makefile.in: Regenerate.
1062 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
1065 * include/bits/localefwd.h: Include functexcept.h.
1066 * include/bits/std_iosfwd.h: Same.
1068 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
1069 throw basic_ios::failure.
1070 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
1071 Use __throw_exception_again.
1072 (filebuf::_M_filebuf_init): Same.
1073 * include/bits/streambuf.tcc (__copy_streambufs): Same.
1074 * include/bits/ostream.tcc (ostream::operator<<): Same.
1075 * include/bits/istream.tcc (istream::operator>>): Same.
1076 * include/bits/basic_string.tcc (string::_M_mutate): Same.
1077 (string::_S_construct): Same.
1078 (string::_M_clone): Same.
1079 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
1081 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
1082 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
1083 __throw_exception_again.
1084 (locale::_Imp::_Imp(string, size_t): Same.
1085 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
1086 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
1087 (locale::locale(const char*)): Use __throw_runtime_error.
1088 (locale::classic): Use __throw_exception_again.
1089 (locale::_S_normalize_category): Use __throw_runtime_error.
1091 * src/stdexcept.cc: Remove cruft.
1093 * libsupc++/exception_defines.h: New file.
1094 * libsupc++/new_opnt.cc: Include exception_defines.h.
1095 * libsupc++/vec.cc: Same.
1096 (__cxa_vec_new2): Use __throw_exception_again.
1097 (__cxa_vec_new3): Same.
1098 (__cxa_vec_ctor): Same.
1099 (__cxa_vec_delete3): Same.
1100 (__cxa_vec_cctor): Same.
1101 (__cxa_vec_delete2): Same.
1102 (__cxa_vec_dtor): Same.
1103 * libsupc++/exception_support.cc: Include exception_defines.h. Only
1104 compile exception-handling bits if __EXCEPTIONS is defined.
1105 Remove old ABI support.
1106 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
1107 std::__throw_bad_alloc() instead of throw bad_alloc.
1108 * libsupc++/Makefile.am: Add exception_defines.h.
1109 * libsupc++/Makefile.in: Reformat.
1110 * libsupc++/*: Format.
1112 2001-02-15 Phil Edwards <pme@sources.redhat.com>
1114 * docs/html/configopts.html: Minor updates and typo fixes.
1115 * docs/html/faq/index.html: Updates of the "not really bugs" list.
1116 * docs/html/faq/index.txt: Regenerated.
1118 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
1120 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
1121 dejagnu/dg.exp. Adapt to log options used to run testcases.
1123 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1125 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
1128 2001-02-13 Dirk Mueller <dmuell@gmx.net>
1129 Phil Edwards <pme@sources.redhat.com>
1131 * include/backward/function.h: Do not use rel_ops for older
1133 * include/backward/pair.h: Likewise.
1135 2001-02-12 Mark Mitchell <mark@codesourcery.com>
1137 * src/locale.cc: Remove bogus locale::id definitions.
1139 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1141 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
1142 not _DEFINE_VALARRAY_OPERATOR which is not existent.
1144 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
1145 thinko in member initialisation.
1147 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1149 * include/bits/std_valarray.h(valarray<>::shift): Avoid
1150 comparaison between signed and unsigned integer types.
1151 (valarray<>::cshift): Reformat.
1153 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
1155 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
1156 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
1157 * configure.in: Test for sigsetjmp.
1158 * configure, config.h.in: Rebuilt.
1160 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1162 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
1163 lengths and strides.
1164 (__gslice_to_index): Document.
1166 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1168 * include/bits/char_traits.h char_traits<char>::int_type: Change
1169 to `int' to match 21.1.3.1/2.
1171 * testsuite/21_strings/char_traits-int_type.C: New test.
1173 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
1175 * testsuite/Makefile.am: New file.
1177 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
1179 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
1181 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
1183 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
1185 2001-02-08 David Edelsohn <edelsohn@gnu.org>
1187 * configure.target (aix4*): Remove extra set of brackets.
1189 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
1192 * include/bits/stringfwd.h: New file.
1193 * include/bits/stl_string_fwd.h: Remove.
1194 * include/bits/localefwd.h: Remove declaration for allocator.
1195 * include/bits/std_iosfwd: Same.
1196 * include/bits/std_string.h: Include it.
1197 * include/bits/std_ios.h: Remove include.
1198 * include/bits/basic_string.h: Tweak.
1199 * libsupc++/new: Format.
1200 * src/Makefile.am (base_headers): Add stringfwd.h, remove
1202 * src/Makefile.in: Regenerate.
1203 * include/bits/std_stdexcept.h: Rewrite.
1204 * src/stdexcept.cc: Same.
1206 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
1208 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
1209 install locations too.
1210 * aclocal.m4: Regenerate.
1211 * configure.in: Remove USE_LIBDIR.
1212 * configure: Regenerate.
1213 * src/Makefile.am (toolexecdir): Simplify, use
1214 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
1215 * src/Makefile.in: Regenerate.
1216 * libsupc++/Makefile.am: Same.
1217 * libsupc++/Makefile.in: Regenerate.
1219 * src/Makefile.am: Just remove special rules for locale-inst.cc and
1220 misc-inst.cc as no longer necessary.
1222 Follow C++STYLE for naming non-static functions.
1223 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
1225 * include/bits/streambuf.tcc: Same.
1226 * include/bits/ostream.tcc: Same.
1227 * include/bits/istream.tcc: Same.
1228 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
1229 (_S_output_float): To __output_float.
1230 * include/bits/std_streambuf.h (_S_copy_streambufs): To
1232 * include/bits/locale_facets.tcc (_S_build_float_format): To
1233 __build_float_format.
1234 (_S_format): To __output_integer.
1235 (_S_fill): To __pad.
1236 * src/locale.cc: Same.
1237 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
1239 * include/bits/locale_facets.tcc (_S_group_digits): To
1241 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
1242 for collate, numpunct.
1244 2001-02-06 Phil Edwards <pme@sources.redhat.com>
1246 * docs/html/configopts.html: Fix HTML markup.
1247 * docs/html/install.html: Bring up to date.
1248 * docs/html/17_intro/C++STYLE: Add global variable conventions.
1249 * docs/html/21_strings/howto.html: More notes.
1250 * docs/html/22_locale/howto.html: Fix HTML markup.
1251 * docs/html/27_io/howto.html: More notes.
1252 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
1253 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
1255 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
1257 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
1258 to match header files.
1259 (_S_output_float): Likewise.
1260 (_S_copy_streambufs): Likewise.
1262 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
1263 Phil Edwards <pme@sources.redhat.com>
1265 * include/bits/std_istream.h (op>> signed,unsigned char): Must
1266 use reinterpret_cast, not static_cast.
1268 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
1270 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
1271 * aclocal.m4: Regenerate.
1272 * configure: Regenerate.
1274 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1276 * include/bits/locale_facets.h (class moneypunct): Fix typos.
1277 * libsupc++/pure.cc: Revert.
1279 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1281 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
1282 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
1283 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
1284 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
1285 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
1286 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
1287 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
1288 * aclocal.m4: Regenerate.
1289 * configure: Regenerate.
1291 2001-02-05 Mark Mitchell <mark@codesourcery.com>
1293 * include/bits/locale_facets.tcc: Remove `static' keyword on
1294 function definitions.
1295 * include/bits/std_streambuf.h: Likewise.
1296 * src/Makefile.am: Remove use of -fimplicit-templates.
1297 * src/Makefile.in: Regenerated.
1298 * src/locale-inst.cc: Explicitly instantiate more functions.
1299 * src/misc-inst.cc: Likewise.
1300 * src/string-inst.cc: Likewise.
1302 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1304 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
1305 macro. Consolidate all the bits to do with where includes might be
1307 * aclocal.m4: Regenerate.
1308 * configure.in: Use it.
1309 * configure: Regenerate.
1310 * src/Makefile.am (targetincludep): Use simplified rules.
1311 (targetincludep): Rename gxx_target_include_dir.
1312 (myincludep): Rename gxx_include_dir.
1313 * src/Makefile.in: Regenerate.
1314 * libsupc++/Makefile.am: Use simplified rules.
1315 * libsupc++/Makefile.in: Regenerate.
1317 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1319 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
1320 * include/c_std/bits/std_cctype.h: Same.
1321 * include/c_std/bits/std_cassert.h: Same.
1322 * include/c_std/bits/std_cstdarg.h: Same.
1323 * include/c_std/bits/std_cstddef.h: Same.
1325 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
1327 * include/c_std/bits/std_ctime.h: Same.
1328 * include/c_std/bits/std_clocale.h: Same.
1329 * include/c_std/bits/std_cmath.h: Same.
1330 * include/c_std/bits/std_csetjmp.h: Same.
1331 * include/c_std/bits/std_csignal.h: Same.
1332 * include/c_std/bits/std_cstring.h: Same.
1333 * include/c_std/bits/std_cstdlib.h: Same.
1334 * include/c_std/bits/std_cwchar.h: Same.
1336 2001-02-05 Phil Edwards <pme@sources.redhat.com>
1338 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
1340 2001-02-05 Mark Mitchell <mark@codesourcery.com>
1342 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
1343 (string::_S_construct): Likewise.
1345 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
1347 * testsuite/config/default.exp: New file.
1348 * testsuite/config: New directory.
1350 2001-02-04 Mark Mitchell <mark@codesourcery.com>
1352 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
1353 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
1354 whenever !__GXX_MERGED_TYPEINFO_NAMES.
1355 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
1357 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
1358 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1360 * Makefile.am (mkinstalldirs): Set.
1361 * src/Makefile.am (mkinstalldirs): Set.
1362 * libmath/Makefile.am (mkinstalldirs): Set.
1363 * libsup++/Makefile.am (mkinstalldirs): Set.
1364 * libio/Makefile.am (mkinstalldirs): Set.
1365 * */Makefile.in: Regenerate.
1367 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
1369 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
1370 * include/bits/localefwd.h: More initialization cleanups.
1372 2001-02-03 Jeffrey A Law <law@cygnus.com>
1374 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
1375 correctly targets with 16bit ints.
1376 (_S_ios_openmode_end): Similarly.
1377 (_S_ios_iostate_end): Similarly.
1378 (_S_ios_Seekdir_end): Similarly.
1380 2001-02-02 Phil Edwards <pme@sources.redhat.com>
1382 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
1384 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
1386 * configure.in (toplevel_srcdir, auxdir): Set.
1387 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
1388 * aclocal.m4, configure, Makefile.in: Rebuilt.
1389 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
1390 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
1391 * libsupc++-v3/Makefile.in: Rebuilt.
1392 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
1393 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
1395 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
1397 * config/c_locale_generic.cc: Remove langinfo include.
1399 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
1401 Preliminary named locales.
1402 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
1403 * aclocal.m4: Regenerate.
1404 * configure.in: Use it.
1405 * configure: Regerate.
1406 * src/Makefile.am (sources): Add c++locale.cc.
1407 (build_headers): Add c++locale.h.
1408 * src/Makefile.in: Regenerate.
1409 * config/c_locale_gnu.h: New file.
1410 * config/c_locale_gnu.cc: New file. Non-inline member functions
1411 for named locales, gnu-specific.
1412 * config/c_locale_generic.h: New file.
1413 * config/c_locale_generic.cc: New file. Non-inline member
1414 functions for named locales, generic version.
1415 * docs/html/configopts.html: Add documentation on new options.
1417 * include/bits/locale_facets.h (class _Messages): Remove.
1418 (class _Moneypunct): Remove.
1419 * src/locale-inst.cc: Remove.
1421 * include/bits/locale_facets.h (class _Collate): Remove.
1422 * src/locale-inst.cc (std): Remove.
1423 * src/locale.cc: And here.
1425 * include/bits/localefwd.h (locale::_M_coalesce): New
1426 function. Correctly put together multi-name locales.
1427 (_Impl(const _Impl&, category, size_t)): Remove.
1429 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
1431 (_M_normalize_category_names): Remove.
1432 (_M_replace_categories): Fix.
1434 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
1435 (locale::_Impl::_M_construct_ctype): Remove.
1436 (locale::_Impl::_M_construct_monetary): Remove.
1437 (locale::_Impl::_M_construct_numeric): Remove.
1438 (locale::_Impl::_M_construct_time): Remove.
1439 (locale::_Impl::_M_construct_messages): Remove.
1441 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
1442 (_Use_facet_failure_handle): Remove.
1443 * src/locale.cc: Remove definitions.
1444 * src/locale-inst.cc: And here.
1446 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
1448 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
1449 create and error-check underlying locale object.
1450 (locale::facet::_S_destroy_c_locale): Add, take care of properly
1451 tearing down underlying locale object.
1452 * include/bits/localefwd.h (locale::facet): Declare.
1453 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
1454 correctness, as glibc apparently has incorrect info in it. Test
1455 with it when it works again.....
1457 * include/bits/localefwd.h (locale::_Impl::__vec_string):
1458 Remove. Number of categories is fixed at six, so just simplify and
1459 make this an array of strings.
1460 (locale::_Impl::_M_has_name): Remove.
1461 (locale::_Impl::_M_name): Remove.
1462 (locale::_Impl::_M_category_names): Turns into...
1463 (locale::_Impl::_M_names): ...this.
1464 (locale::_Impl::_M_has_same_name()): New function.
1465 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
1466 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
1468 * src/locale.cc (locale::name()): Construct mangled name
1469 accurately reflecting combined locale categories.
1471 * src/locale.cc (locale::classic()): Don't initialize here.
1472 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
1473 __refs, bool __has_name, string __str): Do it here.
1475 * include/bits/localefwd.h: _S_categories_num to
1476 _S_num_categories. _S_facets_num to _S_num_facets.
1477 (locale::id::id()): Explicitly set _M_index to zero.
1478 * src/locale.cc: Same.
1480 * src/locale.cc: (locale::locale(const char*)): Construct named
1483 * src/locale.cc: Remove numpunct_byname ctors.
1484 * testsuite/22_locale/numpunct_byname.cc: New file.
1485 * testsuite/22_locale/numpunct.cc: New file.
1487 * include/bits/localefwd.h (class locale): Change data members to
1488 protected, from private.
1489 (_Impl::_M_get_c_locale): Add member function.
1490 (locale::facet::_M_get_global_impl()): Add member function.
1491 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
1492 a __c_locale pointer.
1493 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
1495 * testsuite/22_locale/members.cc: New file, test name and combine.
1497 * include/bits/locale_facets.h (class numpunct): Remove class
1498 _Punct and _Numpunct. Rewrite class numpunct to be correct for
1500 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
1501 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
1502 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
1503 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
1504 * testsuite/22_locale/numpunct_char_members.cc: New file.
1506 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
1508 * testsuite/README: Add more comment.
1509 * testsuite/lib/libstdc++.exp: Tweak comment.
1511 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
1513 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
1515 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
1517 * testsuite/21_strings/inserters_extractors.cc: Remove
1518 explicit reference to 'testsuite/'.
1520 2001-01-25 Richard Henderson <rth@redhat.com>
1522 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
1523 bits. Fixes Tru64 build issues.
1525 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1527 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
1528 (use ${MAKE-make}, not ${MAKE:-make}).
1529 * aclocal.m4, configure: Regenerate.
1531 2001-01-25 Mark Mitchell <mark@codesourcery.com>
1533 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
1536 * src/Makefile.am (sources): Add globals.cc.
1537 * src/Makefile.in: Regenerated.
1538 * src/globals.cc: New file.
1539 * src/ios.cc (cin): Don't define here, just declare extern.
1548 2001-01-25 Phil Edwards <pme@sources.redhat.com>
1550 * include/bits/std_iterator.h: Do not include stl_relops.h.
1551 * include/bits/std_numeric.h: Ditto.
1552 * include/bits/stl_algobase.h: Ditto.
1553 * include/bits/stl_relops.h: Add comment warning about problems.
1555 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
1557 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
1558 in testcases. Prepare for the DejaGnu based framework.
1559 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
1560 directory -- it is now mkcheck working directory.
1561 * tests_flags.in: Remove reference to $(top_srcdir). Use
1563 * Makefile.am (check, check-install): Change mkcheck invocation
1565 * Makefile.in: Regenerate.
1567 2001-01-24 Mark Mitchell <mark@codesourcery.com>
1569 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
1570 (__always_swap): Likewise.
1572 2001-01-23 Chris Demetriou <cgd@broadcom.com>
1574 * libsupc++/exception_support.cc (__terminate_func): Remove
1576 (__terminate_func_ptr): New typedef.
1577 (__terminate, __terminate_set_func): New extern function
1579 (std::terminate): Use __terminate function.
1580 (std::set_terminate): Use __terminate_set_func function.
1582 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
1584 * configure.target: Just use os_include_dir always.
1585 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
1586 Link atomicity files and ctype files here.
1587 * configure: Regenerate.
1588 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
1589 (GLIBCPP_ENABLE_ATOMICITY): Remove.
1590 * aclocal.m4: Regenerate.
1592 2001-01-23 Chris Demetriou <cgd@broadcom.com>
1594 * configure.in: Place definition of MULTISUBDIR in
1595 libsupc++/Makefile as is done for src/Makefile.
1596 * configure: Regenerate.
1598 2001-01-23 Phil Edwards <pme@sources.redhat.com>
1600 * acinclude.m4: Cosmetic changes only.
1601 * aclocal.m4: Regenerated.
1602 * configure: Regenerated.
1603 * configure.target: Update documented list of changed variables.
1604 * docs/html/install.html: Fix typo.
1605 * docs/html/20_util/howto.html: More notes on auto_ptr.
1606 * docs/html/27_io/howto.html: More notes on streabufs.
1607 * docs/html/faq/index.html: Add rel_ops problem and mention the
1608 DEC as(1) .subsection difficulty.
1609 * docs/html/faq/index.txt: Regenerated.
1611 2001-01-23 Mark Mitchell <mark@codesourcery.com>
1613 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
1614 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
1615 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
1616 its already provided in config.target.
1617 * aclocal.m4: Regenerated.
1618 * configure: Likewise.
1619 * configure.target: Set ctype_include_dir for lots of systems.
1620 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
1621 * libsupc++/Makefile.in: Regenerated.
1623 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
1625 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
1628 * testsuite/README: Add comment.
1630 2001-01-21 Phil Edwards <pme@sources.redhat.com>
1632 * docs/html/configopts.html: Update for current status. Fix HTML.
1633 * docs/html/install.html: Update for current status.
1635 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1637 * testsuite/libstdc++.tests/tests.exp: New file.
1638 * testsuite/lib/libstdc++.exp: Itou.
1639 * testsuite/README: Itou.
1641 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
1643 * tests_flags.in: Just output the bare minimum to run tests.
1644 Let's the caller do its own arrangement.
1646 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
1649 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
1651 * testsuite/17_intro: Prepare testcases for new style DejaGnu
1654 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
1656 * testsuite/libstdc++.tests, testsuite/lib: New directories.
1658 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
1660 * mkcheck.in: Construct file names that match $objdir structure.
1661 * testsuite/27_io/filebuf_members-1.txt: New file.
1662 * testsuite/27_io/ifstream_members-1.txt: New file.
1663 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
1665 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
1666 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
1668 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1670 * testsuite/27_io/istream_sentry.cc (test02): Fix.
1672 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
1675 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
1676 * src/ios.cc (ios_base::failure): Make definitions match.
1677 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
1678 (class bad_cast): Same.
1679 * libsupc++/exception (class exception): Add throw specs.
1680 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
1681 (set_unexpected): Same.
1682 (uncaught_exception): Same.
1685 * docs/html/17_intro/C++STYLE (classname): Fix.
1687 2001-01-16 Mark Mitchell <mark@codesourcery.com>
1689 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
1690 Use it do explicitly instantiate predicate<T> and value<T> for
1693 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
1695 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
1696 uninitialized thinko in last change.
1698 2001-01-16 Mark Mitchell <mark@codesourcery.com>
1700 * libsupc++/exception_support.cc (__cp_pop_exception): Change
1703 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
1705 * docs/html/17_intro/C++STYLE (classname): Add more existing
1706 and stylish patterns.
1709 * include/bits/istream.tcc (istream::sentry::sentry()): Set
1710 failbit if the state of the stream is not good.
1711 * testsuite/27_io/istream_sentry.cc (test02): Add test.
1712 * testsuite/27_io/istream_manip.cc (test01): Modify.
1715 reported by Paolo Carlini <pcarlini@unitus.it>
1716 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
1717 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
1720 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
1721 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
1722 (xsgetn): Same. Simplify.
1723 * testsuite/27_io/streambuf.cc (test04): Add testcases.
1725 reported by Larry Evans <jcampbell3@prodigy.net>
1726 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
1727 equality with eof on returned value from overflow.
1729 2001-01-14 Andreas Jaeger <aj@suse.de>
1731 * libio/libio.h: Add test for glibc 2.0.
1733 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
1735 * config/os/djgpp/bits/*: Fix dates.
1737 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
1738 _CharT* __end, _CharT __c): Remove.
1739 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
1740 * include/bits/char_traits.h: Tweak.
1742 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
1744 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
1745 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
1747 * aclocal.m4: regenerated.
1748 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
1749 * configure: regenerated.
1750 * config/os/djgpp, config/os/djgpp/bits: new directories.
1751 * config/os/djgpp/bits/ctype_base.h,
1752 config/os/djgpp/bits/ctype_inline.h,
1753 config/os/djgpp/bits/ctype_noninline.h,
1754 config/os/djgpp/bits/os_defines.h: new files.
1756 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
1758 * include/c_std/bits/std_cstdio.h: Undef printf.
1760 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
1762 * src/ios.cc: Fix typo: change cout->wcout.
1764 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
1765 * src/Makefile.in: Regenerate.
1767 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1769 * include/bits/std_complex.h: Fix a typo.
1771 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
1774 Fixes for libstdc++/1576
1775 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
1776 file, move contents into....
1777 * src/ios.cc: ...Here. Put defines for iostreams objects and
1778 initialization routines into one file to simplify DSO interaction.
1779 * include/bits/std_iostream.h: Touch.
1780 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
1781 * src/Makefile.am (sources): Remove stdstreams.cc.
1782 * src/Makefile.in: Regenerate.
1784 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1786 * tests_flags.in (check_directory): Fix typo.
1788 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1790 * include/bits/std_complex.h: Fix a typo.
1792 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
1794 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
1795 code path:) Remove magic constants and restructure to handle
1796 ctype.h bit mask layout changes more gracefully. (Make fast
1797 code path:) Use __maskrune (), if available.
1798 (is): Remove special case for digit and xdigit masks.
1800 2001-01-09 Robert Lipe <robertlipe@usa.net>
1802 * include/c_std/bits/std_ctime.h: Undefine difftime.
1804 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
1806 * src/gen-num-limits.cc (signal_adapter): New template function.
1807 (signal_handler): Use it, instead of signal.
1808 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
1809 require both tests to trap to set trap_flag.
1811 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
1813 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
1814 initialize mbstate_t member, name offset data members *off, not pos.
1815 * include/bits/fstream.tcc (filebuf::filebuf): Same.
1817 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
1819 reported by Chris G. Demetriou <cgd@sibyte.com>
1820 * configure.in: Change -linux-* to -linux*.
1821 * configure: Regenerate.
1823 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
1825 Fix 27_io/filebuf_members.cc
1826 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
1827 const string& __name, category __cat, size_t __refs): Set
1828 _M_has_name with _M_name.
1829 * include/bits/localefwd.h (locale::operator!=): Protect member
1830 function call with this->.
1831 * src/locale.cc (locale::operator==): Make fast checks first.
1832 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
1834 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
1836 * src/ios.cc (ios_base::Init::Init): Initialize here.
1837 (ios_base::sync_with_stdio): Set here.
1839 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
1841 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
1842 systems that support it, call dup() before fdopen().
1844 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
1846 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
1847 * testsuite/17_intro/header_cwctype.cc (main): New file.
1849 * src/Makefile.am (base_headers): Change.
1850 * include/bits/std_string.h: And here.
1851 * include/bits/string.tcc: Tweaks, move to...
1852 * include/bits/basic_string.tcc: ...Here.
1853 * src/string-inst.cc: Simplify, just instantiate the whole class,
1854 not member-by-member.
1856 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
1858 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
1859 * aclocal.m4: Regenerate.
1860 * configure: Regenerate.
1862 * include/bits/c++config (__GLIBCPP__): Bump version number.
1864 * ChangeLog: Start new log for year 2001
1865 * ChangeLog-2000: New file.
1867 * docs/html/configopts.html: Make sure default values are current,
1870 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
1872 * include/c_std/bits/std_cwchar.h: Same.
1873 * testsuite/17_intro/header_cwchar.cc: Same.
1874 * include/c_std/bits/std_ctime.h: Same.
1875 * testsuite/17_intro/header_ctime.cc: Same.
1876 * include/c_std/bits/std_cstdlib.h: Same.
1877 Clean up undefs, make consistent with cwchar and cmath, etc.
1878 * testsuite/17_intro/header_cstdlib.cc: Same.
1879 * include/c_std/bits/std_cstdio.h: Same here.
1880 * testsuite/17_intro/header_cstring.cc: Same.
1881 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
1882 * testsuite/17_intro/header_cstring.cc: New file. Check for
1883 size_t in namespace std.
1885 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
1886 * acconfig.h (HAVE_MBSTATE_T): Add.
1887 * config.h.in: Regenerate.
1888 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
1890 * aclocal.m4: Regenerate.
1891 * configure: Regenerate.
1892 * testsuite/17_intro/headers_c++.cc: New file.
1893 * testsuite/17_intro/headers_c.cc: Small changes.
1895 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
1897 * tests_flags.in: Fix typo in usage.
1899 * tests_flags.in: Set target specific LIBS for cygwin.