1 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
3 * acinclude.m4: AC_CHECK_TOOL for expect.
4 * aclocal.m4: Regenerate.
5 * configure: Regenerate.
6 * testsuite/Makefile.am (RUNTEST): Use substituted.
9 * configure.in: Remove xcompiling substitution.
10 * tests_flags.in (CROSS_LIB_PATH): Remove.
12 (CXX): Use substituted CXX.
14 2001-04-11 Richard Henderson <rth@redhat.com>
16 * testsuite/lib/libstdc++.exp: Specify path for output_file.
18 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
20 * include/bits/std_valarray.h(valarray<>::operator[]): Make
23 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
25 * testsuite/25_algorithms/equal.cc: New test.
27 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
29 * stl_algobase.h (std::equal): avoid use of possibly-undefined
30 operator != (one line patch).
32 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
34 * include/backward/backward_warning.h: Re-enable.
36 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
37 Alexandre Oliva <aoliva@redhat.com>
39 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
41 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
43 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
44 * testsuite/26_numerics/c99_macros.cc: Add test.
46 2001-04-06 Phil Edwards <pme@sources.redhat.com>
48 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
49 * docs/html/faq/index.txt: Regenerated.
51 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
53 * include/backward/backward_warning.h: Temporarily disable until
54 g++ testsuite changes go in.
55 * tests_flags.in (CROSS_LIB_PATH): Add.
57 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
59 Warn when using backward headers.
60 * include/backward/algo.h: Include warning file.
61 * include/backward/vector.h: Same.
62 * include/backward/tree.h: Same.
63 * include/backward/tempbuf.h: Same.
64 * include/backward/strstream: Same.
65 * include/backward/streambuf.h: Same.
66 * include/backward/stream.h: Same.
67 * include/backward/stack.h: Same.
68 * include/backward/slist.h: Same.
69 * include/backward/set.h: Same.
70 * include/backward/rope.h:
71 * include/backward/queue.h: Same.
72 * include/backward/pair.h: Same.
73 * include/backward/ostream.h: Same.
74 * include/backward/new.h: Same.
75 * include/backward/multiset.h: Same.
76 * include/backward/multimap.h: Same.
77 * include/backward/map.h: Same.
78 * include/backward/list.h: Same.
79 * include/backward/iterator.h: Same.
80 * include/backward/istream.h: Same.
81 * include/backward/iostream.h:
82 * include/backward/iomanip.h:
83 * include/backward/heap.h: Same.
84 * include/backward/hashtable.h:
85 * include/backward/hash_set.h:
86 * include/backward/hash_map.h:
87 * include/backward/function.h:
88 * include/backward/fstream.h:
89 * include/backward/deque.h:
90 * include/backward/defalloc.h: Same.
91 * include/backward/complex.h: Same.
92 * include/backward/bvector.h:
93 * include/backward/alloc.h:
94 * include/backward/algobase.h: Same.
96 * include/backward/backward_warning.h: New file.
97 * src/Makefile.am (backward_headers): Add backward_warning.h
98 * src/Makefile.in: Regenerate.
100 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
102 * src/Makefile.am (myinstalldirs): Make sure backward directory is
104 (myinstallheaders): Install backward headers in backward directory.
105 * src/Makefile.in: Regenerate.
107 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
109 Prepare for libstdc++-2.92.
110 * docs/html/17_intro/RELEASE-NOTES (New): Update.
111 * docs/html/configopts.html: Fix formatting.
112 * README (file): Updates.
113 * include/bits/c++config (__GLIBCPP__): Update.
115 2001-04-05 Phil Edwards <pme@sources.redhat.com>
117 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
119 2001-04-04 Phil Edwards <pme@sources.redhat.com>
121 * docs/doxygen/user.cfg.in: Extract all non-private members;
122 reduce confusing documentation output.
124 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
126 * include/backward/fstream.h: Add missing semicolons.
128 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
130 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
131 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
132 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
133 (ios_base::Init::_S_ios_create): New.
134 (ios_base::Init::_S_ios_destroy): New.
135 * include/bits/std_fstream.h: Change ctor args.
136 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
137 (ios_base::Init::~Init): Use _S_ios_destroy.
138 (ios_base::sync_with_stdio): Use new members.
139 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
142 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
144 * include/backward/fstream.h: Expose streampos to global
147 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
149 * include/bits/stl_iterator_base_types.h: Fix typo
151 2001-04-03 Andreas Schwab <schwab@suse.de>
153 * include/backward/fstream.h: Define filebuf and wfilebuf.
155 2001-04-02 Phil Edwards <pme@sources.redhat.com>
157 New concept checking implementation.
158 * docs/html/19_diagnostics/howto.html: Document.
159 * docs/html/17_intro/concept_check.diff: New file, for reference.
160 * include/bits/boost_concept_check.h: New file from Boost.
161 * include/bits/c++config: Update comments.
163 * include/bits/concept_check.h: New file.
164 * include/bits/concept_checks.h: Removed.
165 * include/bits/container_concepts.h: Removed.
166 * include/bits/sequence_concepts.h: Removed.
167 * include/bits/stl_iterator_base.h: Removed; split into...
168 * include/bits/stl_iterator_base_funcs.h: ...this new file...
169 * include/bits/stl_iterator_base_types.h: ...and this new file.
171 * include/bits/sbuf_iter.h: Update to use new implementation.
172 * include/bits/std_iterator.h: Likewise.
173 * include/bits/std_memory.h: Likewise.
174 * include/bits/stl_algo.h: Likewise.
175 * include/bits/stl_algobase.h: Likewise.
176 * include/bits/stl_construct.h: Likewise.
177 * include/bits/stl_deque.h: Likewise.
178 * include/bits/stl_heap.h: Likewise.
179 * include/bits/stl_list.h: Likewise.
180 * include/bits/stl_map.h: Likewise.
181 * include/bits/stl_multimap.h: Likewise.
182 * include/bits/stl_multiset.h: Likewise.
183 * include/bits/stl_numeric.h: Likewise.
184 * include/bits/stl_queue.h: Likewise.
185 * include/bits/stl_set.h: Likewise.
186 * include/bits/stl_stack.h: Likewise.
187 * include/bits/stl_uninitialized.h: Likewise.
188 * include/bits/stl_vector.h: Likewise.
189 * include/ext/hash_map: Likewise.
190 * include/ext/hash_set: Likewise.
191 * include/ext/slist: Likewise.
192 * include/ext/stl_hashtable.h: Likewise.
194 * src/Makefile.am (base_headers): Update list of headers.
195 * Makefile.in: Regenerated.
196 * src/Makefile.in: Regenerated.
197 * libio/Makefile.in: Regenerated.
198 * libmath/Makefile.in: Regenerated.
199 * libsupc++/Makefile.in: Regenerated.
200 * testsuite/Makefile.in: Regenerated.
202 * docs/html/install.html: Update contact information.
203 * docs/html/17_intro/howto.html: Ditto.
204 * docs/html/18_support/howto.html: Ditto.
205 * docs/html/20_util/howto.html: Ditto.
206 * docs/html/21_strings/howto.html: Ditto.
207 * docs/html/22_locale/howto.html: Ditto.
208 * docs/html/23_containers/howto.html: Ditto.
209 * docs/html/24_iterators/howto.html: Ditto.
210 * docs/html/25_algorithms/howto.html: Ditto.
211 * docs/html/26_numerics/howto.html: Ditto.
212 * docs/html/27_io/howto.html: Ditto.
213 * docs/html/faq/index.html: Ditto, plus info on new checking code.
214 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
215 * docs/html/faq/index.txt: Regenerated.
217 2001-04-02 Zack Weinberg <zackw@stanford.edu>
219 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
220 messages with $which_library as well as $tool_flags and
221 ${dg-extra-tool-flags}. Factor out annotation text into
224 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
226 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
227 * include/c_std/bits/std_cwchar.h: Same.
228 * testsuite/21_strings/c_strings.cc: Add.
230 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
232 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
234 2001-04-01 Zack Weinberg <zackw@stanford.edu>
236 * tests_flags.in: Use test a = b, not test a == b which is not
239 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
241 * configure.target: Remove duplicate aix entry.
243 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
245 * include/ext/stl_bvector.h: Move to...
246 * include/bits/stl_vector.h: ...here.
247 * include/ext/bvector: Move to...
248 * include/backward/bvector.h: ...here.
249 * include/bits/std_vector.h: Change stl_bvector include.
250 * include/bits/std_queue.h: Remove bvector include.
251 * include/ext/tree: Insert using rb_tree, move to...
252 * include/backward/tree.h: ...here.
253 * include/backward/hash_map.h: Include ext/hash_map.
254 * include/backward/hash_set.h: Include ext/hash_set.
255 * include/backward/queue.h: New file.
256 * include/backward/stack.h: Edit.
257 * include/backward/algo.h: Same.
258 * include/backward/algobase.h: Same.
259 * include/backward/alloc.h: Same.
260 * include/backward/function.h: Same.
261 * include/backward/iomanip.h: Same.
262 * include/backward/istream.h: Same.
263 * include/backward/iterator.h: Same.
264 * include/backward/list.h: Same.
265 * include/backward/map.h: Same.
266 * include/backward/multimap.h: Same.
267 * include/backward/multiset.h: Same.
268 * include/backward/ostream.h: Same.
269 * include/backward/pair.h: Same
270 * include/backward/rope.h: Same.
271 * include/backward/set.h: Same.
272 * include/backward/stream.h: Same.
273 * include/backward/strstream.h: Same.
274 * include/backward/tempbuf.h: Same.
275 * src/Makefile.am (ext_headers): Edit.
276 * src/Makefile.in: Regenerate.
277 * testsuite/ext/headers.cc (main): Fix.
280 2001-03-30 Phil Edwards <pme@sources.redhat.com>
282 * tests_flags.in (LIBS): Pass correct path for installed testing.
284 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
286 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
287 * tests_flags.in (CXX): Construct here.
288 (static_fail): Don't remove compile.out. Format with spaces.
289 (INCLUDES): Deal with xcompiling.
290 * configure.in (xcompiling): Substitute.
291 * testsuite/Makefile.am: Snake libjava configury.
292 * testsuite/Makefile.in: Regenerate.
293 * testsuite/23_containers/map_operators.cc: Tweaks.
294 * testsuite/23_containers/set_operators.cc: Tweaks.
296 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
298 Enable dejagnu testing framework.
299 * configure.in: Generate testsuite/Makefile.
300 * configure: Regenerate.
301 * Makefile.am (check-install): Change rule from this...
302 (check-script-install): ...to this.
303 (check): Change rule from this...
304 (check-script):...to this.
305 * Makefile.in: Regenerate.
307 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
309 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
311 (LIBTOOL): Let automake take care of its definition.
312 * libsupc++/Makefile.in: Rebuilt.
314 2001-03-28 Richard Henderson <rth@redhat.com>
316 IA-64 ABI Exception Handling:
317 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
318 * configure.in: Use it.
319 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
320 * libsupc++/Makefile.am (sources): Update files list.
321 * libsupc++/Makefile.in: Regenerate.
322 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
323 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
324 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
325 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
326 * libsupc++/exception_support.cc: Remove.
327 * libsupc++/exception_support.h: Remove.
328 * libsupc++/pure.cc: Use std::terminate.
329 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
330 (__is_pointer): Remove.
331 * libsupc++/unwind-cxx.h: New file.
332 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
334 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
336 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
338 * src/Makefile.am (CXXLINK): Likewise.
339 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
341 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
343 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
345 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
347 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
350 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
352 * include/bits/basic_file.h (get_fileno): Remove.
354 (_M_cfile_created): Add.
355 (basic_file::basic_file(__c_file_type*, openmode): Add.
356 (basic_file::basic_file(int, const char*, openmode): Remove.
357 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
358 const char*, ios_base::openmode): Don't allocate
359 internal buffers. Turn off internal buffers.
360 (basic_filebuf::overflow): Remove test for null buffer.
361 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
362 * include/bits/streambuf.cc: Tweak.
363 * include/bits/std_ostream.h: Tweak.
364 * config/basic_file_libio.h: Same.
365 * config/basic_file_stdio.h: Same.
366 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
367 * testsuite/27_io/filebuf_members.cc: Tweaks.
368 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
370 2001-03-24 Phil Edwards <pme@sources.redhat.com>
372 * Makefile.am: New targets, doxygen and doxygen-maint.
373 * Makefile.in: Regenerated.
374 * docs/doxygen/run_doxygen: Finally implemented.
375 * docs/doxygen/maint.cfg.in: New file.
376 * docs/doxygen/user.cfg.in: New file.
378 2001-03-24 Phil Edwards <pme@sources.redhat.com>
380 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
381 * src/Makefile.am: Replace leading spaces with tabs on continuation
383 * aclocal.m4: Regenerated.
385 * Makefile.in: Ditto.
386 * src/Makefile.in: Ditto.
387 * libio/Makefile.in: Ditto.
388 * libmath/Makefile.in: Ditto.
389 * libsupc++/Makefile.in: Ditto.
391 2001-03-24 Phil Edwards <pme@sources.redhat.com>
393 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
394 concept-checking code and current status of same.
395 * docs/html/ext/howto.html: Ditto.
396 * docs/html/faq/index.html: Ditto.
397 * docs/html/faq/index.txt: Regenerated.
399 2001-03-24 Phil Edwards <pme@sources.redhat.com>
401 * include/bits/std_bitset.h: Include ostream and istream headers
404 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
406 * include/bits/ostream.tcc: Use __builtin_alloca.
408 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
410 * src/misc-inst.cc (__sink_unused_warning): Move to...
411 * src/locale-inst.cc (__sink_unused_warning): Move to...
412 * src/stl-inst.cc: Here.
413 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
416 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
418 * intclude/bits/basic_file.h: Fix typos in comments.
420 2001-03-20 Richard Henderson <rth@redhat.com>
422 * src/gen-num-limits.cc: Instantiate for wchar_t.
423 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
425 2001-03-20 Jason Merrill <jason@redhat.com>
427 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
428 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
429 * libsupc++/cxxabi.h: Declare it.
431 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
433 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
434 signal_func with an unspecified argument list.
436 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
438 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
440 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
442 * include/bits/basic_string.tcc (operator+): Fix thinko.
444 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
447 * include/bits/std_streambuf.h: Remove cached locale facets.
448 (basic_streambuf::_M_buf_fctype): Remove.
449 (basic_streambuf::~basic_streambuf): Remove here.
450 (basic_streambuf::basic_streambuf): Same.
451 (basic_streambuf::imbue): Same.
452 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
453 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
454 (basic_filebuf::~basic_filebuf()): Remove here.
455 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
456 (basic_filebuf::imbue): Same.
457 * include/bits/localefwd.h (_Count_ones): Remove.
458 (locale::_S_num_categories): Just use 6, since this doesn't
459 actually change, ever.
460 * include/bits/locale_facets.tcc (has_facet): Simplify.
462 * testsuite/27_io/filebuf.cc (test06): Add tests.
464 2001-03-13 Steve Ellcey <sje@cup.hp.com>
466 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
467 match HP-UX ctype.h header file.
469 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
471 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
472 duplicate definitions of __dj_ctype_*
474 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
476 * libsupc++/new: Remove pragma interface.
477 * libsupc++/typeinfo: Same.
478 * libsupc++/exception: Same.
479 * libsupc++/new_handler.cc: Remove pragma implementation.
480 (bad_alloc::~bad_alloc()): Add.
481 * libsupc++/exception_support.cc: Same.
482 (exception::~exception): Add.
483 (bad_exception::~bad_exception): Add.
484 * libsupc++/tinfo.cc: Same.
485 (bad_cast::~bad_cast): Add.
486 (bad_typeid::~bad_typeid): Add.
488 2001-03-13 Phil Edwards <pme@sources.redhat.com>
490 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
492 2001-03-12 Felix Lee <flee@redhat.com>
494 * mkcheck.in: workaround for bash 2.01 IFS bug.
496 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
498 Fixups for -fno-for-scope
499 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
500 * src/valarray-inst.cc (__gslice_to_index): Same.
502 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
504 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
505 prior to trapping signal (UnixWare 7 workaround).
507 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
509 * include/backward/hashtable.h: Same.
510 * include/backward/rope.h: Fix include.
512 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
514 * include/backward/vector.h: Include std_vector.h.
516 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
517 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
520 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
522 * include/ext/stl_hashtable.h: Change type of __n to size_t
523 * include/backward/bvector.h: Include <ext/stl_bvector.h>
525 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
527 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
528 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
529 Use streamsize, not int_type.
531 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
533 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
536 2001-03-08 Andreas Schwab <schwab@suse.de>
538 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
540 * aclocal.m4, configure: Regenerated.
542 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
544 * include/bits/std_iosfwd.h: Remove string forward decls here.
545 * include/bits/stringfwd.h: Add forward decls for char_traits
547 * config/c_io_libio.h (wstreamoff): Delete.
548 * config/c_io_stdio.h (wstreamoff): Same.
549 * include/bits/char_traits.h: Use streamoff not wstreamoff for
550 char_traits<wchar_t>::off_type.
551 Remove duplicate typedefs.
552 * include/bits/fpos.h: Define streampos/wstreampos here.
553 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
556 Changeup output files.
557 * testsuite/27_io/istream_unformatted.cc: Change output files.
558 * testsuite/27_io/istream_seeks-1.txt: Add.
559 * testsuite/27_io/istream_seeks-2.tst: Add.
560 * testsuite/27_io/istream_seeks-1.tst: Add.
561 * testsuite/27_io/istream_unformatted-2.tst: Delete.
562 * testsuite/27_io/istream_unformatted-3.tst: Delete.
563 * testsuite/27_io/istream_unformatted-3.txt: Delete.
565 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
567 Add Irix 5.2, 6.3 support.
568 * config/os/irix/bits: Renamed to...
569 * config/os/irix/irix6.5/bits: this.
570 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
571 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
572 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
573 * config/os/irix/irix5.2/bits/ctype_noninline.h
574 (ctype<char>::ctype): Initialize _M_table with __ctype.
575 * configure.target: Adjust.
577 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
580 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
581 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
583 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
584 (*__pf)(__ios_type&)): Same.
585 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
586 (*__pf)(ios_base&))): Same.
587 * testsuite/27_io/istream_extractor_other.cc: Add tests.
588 * testsuite/27_io/istream_manip.cc (test01): Fix.
590 2001-03-06 Nathan Myers <ncm@cantrip.org>
591 Benjamin Kosnik <bkoz@redhat.com>
593 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
594 * testsuite/17_intro/header_cerrno.cc (test01): New file.
595 * testsuite/17_intro/header_cassert.cc (test01): New file.
596 * testsuite/17_intro/header_cstddef.cc (test01): New file.
597 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
598 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
600 2001-03-05 scott snyder <snyder@fnal.gov>
603 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
605 * include/c_std/bits/std_cstdlib.h: ... to here.
606 * testsuite/17_intro/header_cstdlib.cc: Add test.
608 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
610 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
612 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
614 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
615 definition. Replace enum with static const variables.
617 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
618 throw specification, fix typos, use <static_cast>.
619 (ctype<char>::scan_is): remove throw specification.
620 (ctype<char>::scan_not): likewise.
622 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
623 (ctype<char>::do_toupper(char)): use <static_cast>.
624 (ctype<char>::do_toupper(char *, const char *)): likewise.
625 (ctype<char>::do_tolower(char)): likewise.
626 (ctype<char>::do_tolower(char *, const char *)): likewise.
628 2001-03-04 Phil Edwards <pme@sources.redhat.com>
630 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
631 * include/backward/algo.h: Use std not __STD. Remove unneeded
632 macros and "never happens" code. Adjust to C++STYLE guidelines.
633 * include/backward/algobase.h: Likewise.
634 * include/backward/alloc.h: Likewise.
635 * include/backward/bvector.h: Likewise.
636 * include/backward/deque.h: Likewise.
637 * include/backward/function.h: Likewise.
638 * include/backward/hash_map.h: Likewise.
639 * include/backward/hash_set.h: Likewise.
640 * include/backward/hashtable.h: Likewise.
641 * include/backward/heap.h: Likewise.
642 * include/backward/iterator.h: Likewise.
643 * include/backward/list.h: Likewise.
644 * include/backward/map.h: Likewise.
645 * include/backward/multimap.h: Likewise.
646 * include/backward/multiset.h: Likewise.
647 * include/backward/pair.h: Likewise.
648 * include/backward/rope.h: Likewise.
649 * include/backward/set.h: Likewise.
650 * include/backward/slist.h: Likewise.
651 * include/backward/stack.h: Likewise.
652 * include/backward/strstream: Likewise.
653 * include/backward/tempbuf.h: Likewise.
654 * include/backward/tree.h: Likewise.
655 * include/backward/vector.h: Likewise.
656 * include/bits/basic_ios.h: Likewise.
657 * include/bits/basic_ios.tcc: Likewise.
658 * include/bits/basic_string.h: Likewise.
659 * include/bits/c++config: Likewise.
660 * include/bits/concept_checks.h: Likewise.
661 * include/bits/fpos.h: Likewise.
662 * include/bits/fstream.tcc: Likewise.
663 * include/bits/functexcept.h: Likewise.
664 * include/bits/ios_base.h: Likewise.
665 * include/bits/istream.tcc: Likewise.
666 * include/bits/mask_array.h: Likewise.
667 * include/bits/ostream.tcc: Likewise.
668 * include/bits/pthread_allocimpl.h: Likewise.
669 * include/bits/sbuf_iter.h: Likewise.
670 * include/bits/slice.h: Likewise.
671 * include/bits/slice_array.h: Likewise.
672 * include/bits/sstream.tcc: Likewise.
673 * include/bits/std_bitset.h: Likewise.
674 * include/bits/std_fstream.h: Likewise.
675 * include/bits/std_iomanip.h: Likewise.
676 * include/bits/std_ios.h: Likewise.
677 * include/bits/std_istream.h: Likewise.
678 * include/bits/std_iterator.h: Likewise.
679 * include/bits/std_memory.h: Likewise.
680 * include/bits/std_ostream.h: Likewise.
681 * include/bits/std_sstream.h: Likewise.
682 * include/bits/std_streambuf.h: Likewise.
683 * include/bits/std_string.h: Likewise.
684 * include/bits/std_valarray.h: Likewise.
685 * include/bits/stl_algo.h: Likewise.
686 * include/bits/stl_algobase.h: Likewise.
687 * include/bits/stl_alloc.h: Likewise.
688 * include/bits/stl_construct.h: Likewise.
689 * include/bits/stl_deque.h: Likewise.
690 * include/bits/stl_function.h: Likewise.
691 * include/bits/stl_heap.h: Likewise.
692 * include/bits/stl_iterator.h: Likewise.
693 * include/bits/stl_iterator_base.h: Likewise.
694 * include/bits/stl_list.h: Likewise.
695 * include/bits/stl_map.h: Likewise.
696 * include/bits/stl_multimap.h: Likewise.
697 * include/bits/stl_multiset.h: Likewise.
698 * include/bits/stl_numeric.h: Likewise.
699 * include/bits/stl_pair.h: Likewise.
700 * include/bits/stl_pthread_alloc.h: Likewise.
701 * include/bits/stl_queue.h: Likewise.
702 * include/bits/stl_raw_storage_iter.h: Likewise.
703 * include/bits/stl_relops.h: Likewise.
704 * include/bits/stl_set.h: Likewise.
705 * include/bits/stl_stack.h: Likewise.
706 * include/bits/stl_tempbuf.h: Likewise.
707 * include/bits/stl_threads.h: Likewise.
708 * include/bits/stl_tree.h: Likewise.
709 * include/bits/stl_uninitialized.h: Likewise.
710 * include/bits/stl_vector.h: Likewise.
711 * include/bits/streambuf.tcc: Likewise.
712 * include/bits/type_traits.h: Likewise.
713 * include/bits/valarray_meta.h: Likewise.
714 * include/ext/bvector: Likewise.
715 * include/ext/hash_map: Likewise.
716 * include/ext/hash_set: Likewise.
717 * include/ext/ropeimpl.h: Likewise.
718 * include/ext/slist: Likewise.
719 * include/ext/stl_bvector.h: Likewise.
720 * include/ext/stl_hash_fun.h: Likewise.
721 * include/ext/stl_hashtable.h: Likewise.
722 * include/ext/stl_rope.h: Likewise.
723 * src/complex_io.cc: Likewise.
724 * src/ios.cc: Likewise.
725 * src/locale-inst.cc: Likewise.
726 * src/locale.cc: Likewise.
727 * src/localename.cc: Likewise.
728 * src/misc-inst.cc: Likewise.
729 * src/stdexcept.cc: Likewise.
730 * src/stl-inst.cc: Likewise.
731 * src/strstream.cc: Likewise.
732 * src/valarray-inst.cc: Likewise.
734 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
736 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
738 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
740 * include/bits/istream.tcc: change type of __extracted to __size_type
742 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
744 * src/wstring-inst.cc: New file.
745 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
746 (libinst_wstring_la_SOURCES): Remove.
747 (libstdc___la_LIBADD): Remove libinst_wstring_la.
748 (sources): Add wstring-inst.cc
749 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
752 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
754 * src/locale.cc: initialise __ret with zero
755 * src/strstream.cc:cast gptr to int_type
757 2001-03-01 Phil Edwards <pme@sources.redhat.com>
759 * docs/html/faq/index.html: Update broken links.
760 * docs/html/faq/index.txt: Regenerated.
762 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
765 * configure.target: Change irix* to irix6.5* in target_os table.
767 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
770 * include/bits/c++config (__GLIBCPP__): Bump number in
771 anticipation of 2.92.
773 * include/bits/codecvt.h: Fix typo.
774 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
776 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
777 instantiations for stdio model.
779 2001-02-28 Phil Edwards <pme@sources.redhat.com>
781 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
782 and GLIBCPP_CXXFLAGS as unused variables.
783 * configure.host: Likewise.
784 * configure.target: Likewise.
785 * aclocal.m4: Regenerated.
786 * configure: Regenerated.
787 * Makefile.in: Regenerated.
788 * libio/Makefile.in: Regenerated.
789 * libmath/Makefile.in: Regenerated.
790 * libsupc++/Makefile.in: Regenerated.
791 * src/Makefile.in: Regenerated.
793 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
796 * include/bits/basic_file.h: Include basic_file_model.h.
797 * config/c_io_libio.cc: Move to...
798 * config/basic_file_libio.cc: Here.
799 * config/basic_file_libio.h: New file.
800 * config/c_io_stdio.cc: Move to...
801 * config/basic_file_stdio.cc: Here.
802 * config/basic_file_stdio.h: New file.
803 * config/c_io_libio.h: Tweak.
804 * config/c_io_stdio.h: Tweak.
805 * src/Makefile.am (build_headers): Add basic_file_model.h.
806 (sources): Add basic_file.cc, remove c++io.cc.
807 * src/Makefile.in: Regenerate.
808 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
809 basic_file_model.h and basic_file.cc.
810 * aclocal.m4: Regenerate.
811 * configure: Regenerate.
812 * testsuite/27_io/filebuf.cc (test05): Add regression.
814 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
817 * config/cpu/alpha/bits/atomicity.h: Change.
818 * config/cpu/arm/bits/atomicit3y.h
819 * config/cpu/generic/bits/atomicity.h
820 * config/cpu/i386/bits/atomicity.h
821 * config/cpu/i486/bits/atomicity.h
822 * config/cpu/ia64/bits/atomicity.h
823 * config/cpu/powerpc/bits/atomicity.h
824 * config/cpu/sparc/sparc32/bits/atomicity.h
825 * config/cpu/sparc/sparc64/bits/atomicity.h
826 * config/os/aix/bits/atomicity.h
827 * config/os/irix/bits/atomicity.h
829 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
831 * include/bits/std_stdexcept.h (runtime_error): Make string
834 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
837 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
841 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
842 string object, not reference.
843 (runtime_error::runtime_error): Same.
844 * testsuite/19_diagnostics/stdexceptions.cc: New file.
846 2001-02-26 Phil Edwards <pme@sources.redhat.com>
848 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
849 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
850 diagnostics. Remove WFMT_FLAGS.
851 * configure.in: Replace WFMT_FLAGS with diagnostics options.
852 * libsupc++/Makefile.am: Likewise.
853 * src/Makefile.am: Likewise.
854 * aclocal.m4: Regenerated.
855 * configure: Regenerated.
856 * Makefile.in: Regenerated.
857 * libio/Makefile.in: Regenerated.
858 * libmath/Makefile.in: Regenerated.
859 * libsupc++/Makefile.in: Regenerated.
860 * src/Makefile.in: Regenerated.
862 2001-02-26 Phil Edwards <pme@sources.redhat.com>
865 * include/backward/iomanip.h: Expose <ios> manipulators to global
867 * include/backward/iostream.h: Also expose std::ws.
869 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
871 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
873 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
875 * include/bits/codecvt.h: Use __builtin_alloca.
876 * include/bits/ostream.tcc: Same.
877 * include/bits/fstream.tcc: Same.
879 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
881 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
883 2001-02-23 David Edelsohn <dje@watson.ibm.com>
885 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
887 2001-02-23 Phil Edwards <pme@sources.redhat.com>
890 * include/backward/iostream.h: Expose std::flush in old headers.
892 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
894 * mknumeric_limits: Remove special-casing on target. Use gcc
895 instead of g++ to build gen-num-limits.cc
897 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
899 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
901 * include/bits/codecvt.h: Use alloca instead of __extension__ for
903 * include/bits/ostream.tcc: Same.
904 * include/bits/std_ostream.h: Same.
905 * include/bits/fstream.tcc: Same.
906 * include/bits/locale_facets.tcc: Add typename.
907 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
909 2001-02-21 Phil Edwards <pme@sources.redhat.com>
911 * tests_flags.in: Remove -n flag from call to echo.
913 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
915 * config/c_locale_gnu.h: Add clocale include.
917 2001-02-20 Phil Edwards <pme@sources.redhat.com>
919 * include/bits/stl_config.h: Remove file.
920 * src/Makefile.am (base_headers): Remove from list.
921 * configure: Regenerate.
922 * Makefile.in: Ditto.
923 * libio/Makefile.in: Ditto.
924 * libmath/Makefile.in: Ditto.
925 * libsupc++/Makefile.in: Ditto.
926 * src/Makefile.in: Ditto.
928 * include/bits/c++config: Move relevant macros to here.
929 * include/backward/alloc.h: Include c++config.h instead.
930 * include/backward/function.h: Ditto.
931 * include/backward/heap.h: Ditto.
932 * include/backward/pair.h: Ditto.
933 * include/bits/pthread_allocimpl.h: Ditto.
934 * include/bits/std_functional.h: Ditto.
935 * include/bits/std_iterator.h: Ditto.
936 * include/bits/std_numeric.h: Ditto.
937 * include/bits/std_utility.h: Ditto.
938 * include/bits/stl_algobase.h: Ditto.
939 * include/bits/type_traits.h: Ditto.
940 * src/stl-inst.cc: Ditto.
942 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
944 * include/bits/basic_file.h: Add #pragma system_header
945 * include/bits/basic_ios.h: Ditto.
946 * include/bits/basic_string.h: Ditto.
947 * include/bits/char_traits.h: Ditto.
948 * include/bits/codecvt.h: Ditto.
949 * include/bits/cpp_type_traits.h: Ditto.
950 * include/bits/fpos.h: Ditto.
951 * include/bits/gslice.h: Ditto.
952 * include/bits/gslice_array.h: Ditto.
953 * include/bits/indirect_array.h: Ditto.
954 * include/bits/ios_base.h: Ditto.
955 * include/bits/limits_generic.h: Ditto.
956 * include/bits/locale_facets.h: Ditto.
957 * include/bits/localefwd.h: Ditto.
958 * include/bits/mask_array.h: Ditto.
959 * include/bits/sbuf_iter.h: Ditto.
960 * include/bits/sequence_concepts.h: Ditto.
961 * include/bits/slice.h: Ditto.
962 * include/bits/slice_array.h: Ditto.
963 * include/bits/std_algorithm.h: Likewise.
964 * include/bits/std_bitset.h: Likewise.
965 * include/bits/std_complex.h: Likewise.
966 * include/bits/std_deque.h: Likewise.
967 * include/bits/std_fstream.h: Likewise.
968 * include/bits/std_functional.h: Likewise.
969 * include/bits/std_iomanip.h: Likewise.
970 * include/bits/std_ios.h: Likewise.
971 * include/bits/std_iosfwd.h: Likewise.
972 * include/bits/std_iostream.h: Likewise.
973 * include/bits/std_istream.h: Likewise.
974 * include/bits/std_iterator.h: Likewise.
975 * include/bits/std_list.h: Likewise.
976 * include/bits/std_locale.h: Likewise.
977 * include/bits/std_map.h: Likewise.
978 * include/bits/std_memory.h: Likewise.
979 * include/bits/std_numeric.h: Likewise.
980 * include/bits/std_ostream.h: Likewise.
981 * include/bits/std_queue.h: Likewise.
982 * include/bits/std_set.h: Likewise.
983 * include/bits/std_sstream.h: Likewise.
984 * include/bits/std_stack.h: Likewise.
985 * include/bits/std_stdexcept.h: Likewise.
986 * include/bits/std_streambuf.h: Likewise.
987 * include/bits/std_string.h: Likewise.
988 * include/bits/std_utility.h: Likewise.
989 * include/bits/std_valarray.h: Likewise.
990 * include/bits/std_vector.h: Likewise.
991 * include/bits/stringfwd.h: Likewise.
992 * include/bits/type_traits.h: Likewise.
993 * include/bits/valarray_array.h: Likewise.
994 * include/bits/valarray_meta.h: Likewise.
996 2001-02-19 Andreas Jaeger <aj@suse.de>
998 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
1001 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
1004 * include/bits/std_ostream.h: Replaced usage of
1005 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
1006 * include/bits/char_traits.h: Removed non-standard
1007 methods that cannot be used elsewhere.
1010 * include/bits/basic_ios.h: Uncommented #include of
1014 * include/bits/codecvt.h: See next...
1015 * include/bits/fstream.tcc: See next...
1016 * include/bits/ostream.tcc: Add __extension__
1017 to variable-length arrays.
1020 * include/bits/localefwd.h: Changed int counter type to size_t.
1023 * include/bits/std_fstream.h: Added typedef for __ctype_type.
1025 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
1027 * testsuite/21_strings/char_traits.cc: Move to ...
1028 * testsuite/21_strings/char_traits_requirements.cc: ..here.
1029 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
1030 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
1032 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
1034 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
1037 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
1039 * include/bits/c++config: Revert.
1041 2001-02-15 Mark Mitchell <mark@codesourcery.com>
1043 * include/bits/istream.tcc: Use ios_base::iostate in place of
1044 iostate throughout. Insert `typename' keyword where necessary.
1045 * include/bits/ostream.tcc: Insert `typename' keyword where
1048 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
1050 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
1051 Define so library is compliant.
1053 2001-02-15 Anthony Green <green@redhat.com>
1055 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
1057 * aclocal.m4: Regenerate.
1058 * configure: Regenerate.
1060 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
1062 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
1063 Include ieeefp.h for fpclass on UnixWare{2,7}.
1064 * aclocal.m4: Regenerate.
1065 * configure: Regenerate.
1066 * mkcheck.in (size_command): Do without GNU-grep when using
1069 2001-02-15 Mark Mitchell <mark@codesourcery.com>
1071 Remove old ABI support from libsupc++.
1072 * libsupc++/cxxabi.h: Remove conditionally compiled code.
1073 * libsupc++/exception_support.cc: Likewise.
1074 * libsupc++/pure.cc: Likewise.
1075 * libsupc++/tinfo.cc: Likewise.
1076 * libsupc++/tinfo.h: Likewise.
1077 * libsupc++/tinfo2.cc: Likewise.
1078 * libsupc++/typeinfo: Likewise.
1079 * libsupc++/vec.cc: Likewise.
1081 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
1083 Add support for -fno-exceptions.
1084 * include/bits/exception_support.h: Remove.
1085 * include/bits/basic_string.h: Remove exception_support.
1086 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
1088 (string::substr): Same.
1089 * include/bits/basic_string.tcc (string::reserve): Replace
1090 __LENGTHERROR with __throw_length_error.
1091 (string::_S_create): Same.
1092 (string::resize): Same.
1093 (string::_M_replace): Same.
1094 (string::replace): Same.
1095 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
1096 (string::compare): Same.
1097 * include/bits/stl_vector.h: Remove exception_support.
1098 * src/Makefile.am (base_headers): Remove here.
1099 * src/Makefile.in: Regenerate.
1101 * include/bits/stl_range_errors.h: Remove.
1102 * include/bits/stl_deque.h: Use __throw_range_error.
1103 * include/bits/std_deque.h: Include functexcept.h.
1104 * include/bits/std_vector.h: Same.
1105 * src/Makefile.am (base_headers): Remove here.
1106 * src/Makefile.in: Regenerate.
1107 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
1108 * include/ext/bvector: Remove stl_range_errors.h
1110 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
1112 * include/bits/functexcept.h: New file.
1113 * src/functexcept.cc: New file. Definitions for function-based
1115 * src/Makefile.am (sources): Add functexcept.cc.
1116 * src/Makefile.in: Regenerate.
1118 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
1121 * include/bits/localefwd.h: Include functexcept.h.
1122 * include/bits/std_iosfwd.h: Same.
1124 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
1125 throw basic_ios::failure.
1126 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
1127 Use __throw_exception_again.
1128 (filebuf::_M_filebuf_init): Same.
1129 * include/bits/streambuf.tcc (__copy_streambufs): Same.
1130 * include/bits/ostream.tcc (ostream::operator<<): Same.
1131 * include/bits/istream.tcc (istream::operator>>): Same.
1132 * include/bits/basic_string.tcc (string::_M_mutate): Same.
1133 (string::_S_construct): Same.
1134 (string::_M_clone): Same.
1135 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
1137 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
1138 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
1139 __throw_exception_again.
1140 (locale::_Imp::_Imp(string, size_t): Same.
1141 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
1142 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
1143 (locale::locale(const char*)): Use __throw_runtime_error.
1144 (locale::classic): Use __throw_exception_again.
1145 (locale::_S_normalize_category): Use __throw_runtime_error.
1147 * src/stdexcept.cc: Remove cruft.
1149 * libsupc++/exception_defines.h: New file.
1150 * libsupc++/new_opnt.cc: Include exception_defines.h.
1151 * libsupc++/vec.cc: Same.
1152 (__cxa_vec_new2): Use __throw_exception_again.
1153 (__cxa_vec_new3): Same.
1154 (__cxa_vec_ctor): Same.
1155 (__cxa_vec_delete3): Same.
1156 (__cxa_vec_cctor): Same.
1157 (__cxa_vec_delete2): Same.
1158 (__cxa_vec_dtor): Same.
1159 * libsupc++/exception_support.cc: Include exception_defines.h. Only
1160 compile exception-handling bits if __EXCEPTIONS is defined.
1161 Remove old ABI support.
1162 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
1163 std::__throw_bad_alloc() instead of throw bad_alloc.
1164 * libsupc++/Makefile.am: Add exception_defines.h.
1165 * libsupc++/Makefile.in: Reformat.
1166 * libsupc++/*: Format.
1168 2001-02-15 Phil Edwards <pme@sources.redhat.com>
1170 * docs/html/configopts.html: Minor updates and typo fixes.
1171 * docs/html/faq/index.html: Updates of the "not really bugs" list.
1172 * docs/html/faq/index.txt: Regenerated.
1174 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
1176 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
1177 dejagnu/dg.exp. Adapt to log options used to run testcases.
1179 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1181 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
1184 2001-02-13 Dirk Mueller <dmuell@gmx.net>
1185 Phil Edwards <pme@sources.redhat.com>
1187 * include/backward/function.h: Do not use rel_ops for older
1189 * include/backward/pair.h: Likewise.
1191 2001-02-12 Mark Mitchell <mark@codesourcery.com>
1193 * src/locale.cc: Remove bogus locale::id definitions.
1195 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1197 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
1198 not _DEFINE_VALARRAY_OPERATOR which is not existent.
1200 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
1201 thinko in member initialisation.
1203 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1205 * include/bits/std_valarray.h(valarray<>::shift): Avoid
1206 comparaison between signed and unsigned integer types.
1207 (valarray<>::cshift): Reformat.
1209 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
1211 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
1212 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
1213 * configure.in: Test for sigsetjmp.
1214 * configure, config.h.in: Rebuilt.
1216 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1218 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
1219 lengths and strides.
1220 (__gslice_to_index): Document.
1222 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1224 * include/bits/char_traits.h char_traits<char>::int_type: Change
1225 to `int' to match 21.1.3.1/2.
1227 * testsuite/21_strings/char_traits-int_type.C: New test.
1229 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
1231 * testsuite/Makefile.am: New file.
1233 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
1235 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
1237 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
1239 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
1241 2001-02-08 David Edelsohn <edelsohn@gnu.org>
1243 * configure.target (aix4*): Remove extra set of brackets.
1245 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
1248 * include/bits/stringfwd.h: New file.
1249 * include/bits/stl_string_fwd.h: Remove.
1250 * include/bits/localefwd.h: Remove declaration for allocator.
1251 * include/bits/std_iosfwd: Same.
1252 * include/bits/std_string.h: Include it.
1253 * include/bits/std_ios.h: Remove include.
1254 * include/bits/basic_string.h: Tweak.
1255 * libsupc++/new: Format.
1256 * src/Makefile.am (base_headers): Add stringfwd.h, remove
1258 * src/Makefile.in: Regenerate.
1259 * include/bits/std_stdexcept.h: Rewrite.
1260 * src/stdexcept.cc: Same.
1262 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
1264 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
1265 install locations too.
1266 * aclocal.m4: Regenerate.
1267 * configure.in: Remove USE_LIBDIR.
1268 * configure: Regenerate.
1269 * src/Makefile.am (toolexecdir): Simplify, use
1270 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
1271 * src/Makefile.in: Regenerate.
1272 * libsupc++/Makefile.am: Same.
1273 * libsupc++/Makefile.in: Regenerate.
1275 * src/Makefile.am: Just remove special rules for locale-inst.cc and
1276 misc-inst.cc as no longer necessary.
1278 Follow C++STYLE for naming non-static functions.
1279 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
1281 * include/bits/streambuf.tcc: Same.
1282 * include/bits/ostream.tcc: Same.
1283 * include/bits/istream.tcc: Same.
1284 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
1285 (_S_output_float): To __output_float.
1286 * include/bits/std_streambuf.h (_S_copy_streambufs): To
1288 * include/bits/locale_facets.tcc (_S_build_float_format): To
1289 __build_float_format.
1290 (_S_format): To __output_integer.
1291 (_S_fill): To __pad.
1292 * src/locale.cc: Same.
1293 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
1295 * include/bits/locale_facets.tcc (_S_group_digits): To
1297 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
1298 for collate, numpunct.
1300 2001-02-06 Phil Edwards <pme@sources.redhat.com>
1302 * docs/html/configopts.html: Fix HTML markup.
1303 * docs/html/install.html: Bring up to date.
1304 * docs/html/17_intro/C++STYLE: Add global variable conventions.
1305 * docs/html/21_strings/howto.html: More notes.
1306 * docs/html/22_locale/howto.html: Fix HTML markup.
1307 * docs/html/27_io/howto.html: More notes.
1308 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
1309 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
1311 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
1313 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
1314 to match header files.
1315 (_S_output_float): Likewise.
1316 (_S_copy_streambufs): Likewise.
1318 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
1319 Phil Edwards <pme@sources.redhat.com>
1321 * include/bits/std_istream.h (op>> signed,unsigned char): Must
1322 use reinterpret_cast, not static_cast.
1324 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
1326 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
1327 * aclocal.m4: Regenerate.
1328 * configure: Regenerate.
1330 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1332 * include/bits/locale_facets.h (class moneypunct): Fix typos.
1333 * libsupc++/pure.cc: Revert.
1335 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1337 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
1338 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
1339 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
1340 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
1341 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
1342 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
1343 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
1344 * aclocal.m4: Regenerate.
1345 * configure: Regenerate.
1347 2001-02-05 Mark Mitchell <mark@codesourcery.com>
1349 * include/bits/locale_facets.tcc: Remove `static' keyword on
1350 function definitions.
1351 * include/bits/std_streambuf.h: Likewise.
1352 * src/Makefile.am: Remove use of -fimplicit-templates.
1353 * src/Makefile.in: Regenerated.
1354 * src/locale-inst.cc: Explicitly instantiate more functions.
1355 * src/misc-inst.cc: Likewise.
1356 * src/string-inst.cc: Likewise.
1358 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1360 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
1361 macro. Consolidate all the bits to do with where includes might be
1363 * aclocal.m4: Regenerate.
1364 * configure.in: Use it.
1365 * configure: Regenerate.
1366 * src/Makefile.am (targetincludep): Use simplified rules.
1367 (targetincludep): Rename gxx_target_include_dir.
1368 (myincludep): Rename gxx_include_dir.
1369 * src/Makefile.in: Regenerate.
1370 * libsupc++/Makefile.am: Use simplified rules.
1371 * libsupc++/Makefile.in: Regenerate.
1373 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1375 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
1376 * include/c_std/bits/std_cctype.h: Same.
1377 * include/c_std/bits/std_cassert.h: Same.
1378 * include/c_std/bits/std_cstdarg.h: Same.
1379 * include/c_std/bits/std_cstddef.h: Same.
1381 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
1383 * include/c_std/bits/std_ctime.h: Same.
1384 * include/c_std/bits/std_clocale.h: Same.
1385 * include/c_std/bits/std_cmath.h: Same.
1386 * include/c_std/bits/std_csetjmp.h: Same.
1387 * include/c_std/bits/std_csignal.h: Same.
1388 * include/c_std/bits/std_cstring.h: Same.
1389 * include/c_std/bits/std_cstdlib.h: Same.
1390 * include/c_std/bits/std_cwchar.h: Same.
1392 2001-02-05 Phil Edwards <pme@sources.redhat.com>
1394 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
1396 2001-02-05 Mark Mitchell <mark@codesourcery.com>
1398 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
1399 (string::_S_construct): Likewise.
1401 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
1403 * testsuite/config/default.exp: New file.
1404 * testsuite/config: New directory.
1406 2001-02-04 Mark Mitchell <mark@codesourcery.com>
1408 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
1409 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
1410 whenever !__GXX_MERGED_TYPEINFO_NAMES.
1411 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
1413 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
1414 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1416 * Makefile.am (mkinstalldirs): Set.
1417 * src/Makefile.am (mkinstalldirs): Set.
1418 * libmath/Makefile.am (mkinstalldirs): Set.
1419 * libsup++/Makefile.am (mkinstalldirs): Set.
1420 * libio/Makefile.am (mkinstalldirs): Set.
1421 * */Makefile.in: Regenerate.
1423 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
1425 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
1426 * include/bits/localefwd.h: More initialization cleanups.
1428 2001-02-03 Jeffrey A Law <law@cygnus.com>
1430 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
1431 correctly targets with 16bit ints.
1432 (_S_ios_openmode_end): Similarly.
1433 (_S_ios_iostate_end): Similarly.
1434 (_S_ios_Seekdir_end): Similarly.
1436 2001-02-02 Phil Edwards <pme@sources.redhat.com>
1438 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
1440 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
1442 * configure.in (toplevel_srcdir, auxdir): Set.
1443 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
1444 * aclocal.m4, configure, Makefile.in: Rebuilt.
1445 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
1446 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
1447 * libsupc++-v3/Makefile.in: Rebuilt.
1448 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
1449 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
1451 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
1453 * config/c_locale_generic.cc: Remove langinfo include.
1455 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
1457 Preliminary named locales.
1458 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
1459 * aclocal.m4: Regenerate.
1460 * configure.in: Use it.
1461 * configure: Regerate.
1462 * src/Makefile.am (sources): Add c++locale.cc.
1463 (build_headers): Add c++locale.h.
1464 * src/Makefile.in: Regenerate.
1465 * config/c_locale_gnu.h: New file.
1466 * config/c_locale_gnu.cc: New file. Non-inline member functions
1467 for named locales, gnu-specific.
1468 * config/c_locale_generic.h: New file.
1469 * config/c_locale_generic.cc: New file. Non-inline member
1470 functions for named locales, generic version.
1471 * docs/html/configopts.html: Add documentation on new options.
1473 * include/bits/locale_facets.h (class _Messages): Remove.
1474 (class _Moneypunct): Remove.
1475 * src/locale-inst.cc: Remove.
1477 * include/bits/locale_facets.h (class _Collate): Remove.
1478 * src/locale-inst.cc (std): Remove.
1479 * src/locale.cc: And here.
1481 * include/bits/localefwd.h (locale::_M_coalesce): New
1482 function. Correctly put together multi-name locales.
1483 (_Impl(const _Impl&, category, size_t)): Remove.
1485 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
1487 (_M_normalize_category_names): Remove.
1488 (_M_replace_categories): Fix.
1490 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
1491 (locale::_Impl::_M_construct_ctype): Remove.
1492 (locale::_Impl::_M_construct_monetary): Remove.
1493 (locale::_Impl::_M_construct_numeric): Remove.
1494 (locale::_Impl::_M_construct_time): Remove.
1495 (locale::_Impl::_M_construct_messages): Remove.
1497 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
1498 (_Use_facet_failure_handle): Remove.
1499 * src/locale.cc: Remove definitions.
1500 * src/locale-inst.cc: And here.
1502 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
1504 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
1505 create and error-check underlying locale object.
1506 (locale::facet::_S_destroy_c_locale): Add, take care of properly
1507 tearing down underlying locale object.
1508 * include/bits/localefwd.h (locale::facet): Declare.
1509 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
1510 correctness, as glibc apparently has incorrect info in it. Test
1511 with it when it works again.....
1513 * include/bits/localefwd.h (locale::_Impl::__vec_string):
1514 Remove. Number of categories is fixed at six, so just simplify and
1515 make this an array of strings.
1516 (locale::_Impl::_M_has_name): Remove.
1517 (locale::_Impl::_M_name): Remove.
1518 (locale::_Impl::_M_category_names): Turns into...
1519 (locale::_Impl::_M_names): ...this.
1520 (locale::_Impl::_M_has_same_name()): New function.
1521 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
1522 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
1524 * src/locale.cc (locale::name()): Construct mangled name
1525 accurately reflecting combined locale categories.
1527 * src/locale.cc (locale::classic()): Don't initialize here.
1528 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
1529 __refs, bool __has_name, string __str): Do it here.
1531 * include/bits/localefwd.h: _S_categories_num to
1532 _S_num_categories. _S_facets_num to _S_num_facets.
1533 (locale::id::id()): Explicitly set _M_index to zero.
1534 * src/locale.cc: Same.
1536 * src/locale.cc: (locale::locale(const char*)): Construct named
1539 * src/locale.cc: Remove numpunct_byname ctors.
1540 * testsuite/22_locale/numpunct_byname.cc: New file.
1541 * testsuite/22_locale/numpunct.cc: New file.
1543 * include/bits/localefwd.h (class locale): Change data members to
1544 protected, from private.
1545 (_Impl::_M_get_c_locale): Add member function.
1546 (locale::facet::_M_get_global_impl()): Add member function.
1547 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
1548 a __c_locale pointer.
1549 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
1551 * testsuite/22_locale/members.cc: New file, test name and combine.
1553 * include/bits/locale_facets.h (class numpunct): Remove class
1554 _Punct and _Numpunct. Rewrite class numpunct to be correct for
1556 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
1557 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
1558 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
1559 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
1560 * testsuite/22_locale/numpunct_char_members.cc: New file.
1562 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
1564 * testsuite/README: Add more comment.
1565 * testsuite/lib/libstdc++.exp: Tweak comment.
1567 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
1569 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
1571 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
1573 * testsuite/21_strings/inserters_extractors.cc: Remove
1574 explicit reference to 'testsuite/'.
1576 2001-01-25 Richard Henderson <rth@redhat.com>
1578 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
1579 bits. Fixes Tru64 build issues.
1581 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1583 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
1584 (use ${MAKE-make}, not ${MAKE:-make}).
1585 * aclocal.m4, configure: Regenerate.
1587 2001-01-25 Mark Mitchell <mark@codesourcery.com>
1589 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
1592 * src/Makefile.am (sources): Add globals.cc.
1593 * src/Makefile.in: Regenerated.
1594 * src/globals.cc: New file.
1595 * src/ios.cc (cin): Don't define here, just declare extern.
1604 2001-01-25 Phil Edwards <pme@sources.redhat.com>
1606 * include/bits/std_iterator.h: Do not include stl_relops.h.
1607 * include/bits/std_numeric.h: Ditto.
1608 * include/bits/stl_algobase.h: Ditto.
1609 * include/bits/stl_relops.h: Add comment warning about problems.
1611 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
1613 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
1614 in testcases. Prepare for the DejaGnu based framework.
1615 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
1616 directory -- it is now mkcheck working directory.
1617 * tests_flags.in: Remove reference to $(top_srcdir). Use
1619 * Makefile.am (check, check-install): Change mkcheck invocation
1621 * Makefile.in: Regenerate.
1623 2001-01-24 Mark Mitchell <mark@codesourcery.com>
1625 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
1626 (__always_swap): Likewise.
1628 2001-01-23 Chris Demetriou <cgd@broadcom.com>
1630 * libsupc++/exception_support.cc (__terminate_func): Remove
1632 (__terminate_func_ptr): New typedef.
1633 (__terminate, __terminate_set_func): New extern function
1635 (std::terminate): Use __terminate function.
1636 (std::set_terminate): Use __terminate_set_func function.
1638 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
1640 * configure.target: Just use os_include_dir always.
1641 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
1642 Link atomicity files and ctype files here.
1643 * configure: Regenerate.
1644 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
1645 (GLIBCPP_ENABLE_ATOMICITY): Remove.
1646 * aclocal.m4: Regenerate.
1648 2001-01-23 Chris Demetriou <cgd@broadcom.com>
1650 * configure.in: Place definition of MULTISUBDIR in
1651 libsupc++/Makefile as is done for src/Makefile.
1652 * configure: Regenerate.
1654 2001-01-23 Phil Edwards <pme@sources.redhat.com>
1656 * acinclude.m4: Cosmetic changes only.
1657 * aclocal.m4: Regenerated.
1658 * configure: Regenerated.
1659 * configure.target: Update documented list of changed variables.
1660 * docs/html/install.html: Fix typo.
1661 * docs/html/20_util/howto.html: More notes on auto_ptr.
1662 * docs/html/27_io/howto.html: More notes on streabufs.
1663 * docs/html/faq/index.html: Add rel_ops problem and mention the
1664 DEC as(1) .subsection difficulty.
1665 * docs/html/faq/index.txt: Regenerated.
1667 2001-01-23 Mark Mitchell <mark@codesourcery.com>
1669 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
1670 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
1671 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
1672 its already provided in config.target.
1673 * aclocal.m4: Regenerated.
1674 * configure: Likewise.
1675 * configure.target: Set ctype_include_dir for lots of systems.
1676 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
1677 * libsupc++/Makefile.in: Regenerated.
1679 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
1681 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
1684 * testsuite/README: Add comment.
1686 2001-01-21 Phil Edwards <pme@sources.redhat.com>
1688 * docs/html/configopts.html: Update for current status. Fix HTML.
1689 * docs/html/install.html: Update for current status.
1691 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1693 * testsuite/libstdc++.tests/tests.exp: New file.
1694 * testsuite/lib/libstdc++.exp: Itou.
1695 * testsuite/README: Itou.
1697 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
1699 * tests_flags.in: Just output the bare minimum to run tests.
1700 Let's the caller do its own arrangement.
1702 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
1705 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
1707 * testsuite/17_intro: Prepare testcases for new style DejaGnu
1710 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
1712 * testsuite/libstdc++.tests, testsuite/lib: New directories.
1714 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
1716 * mkcheck.in: Construct file names that match $objdir structure.
1717 * testsuite/27_io/filebuf_members-1.txt: New file.
1718 * testsuite/27_io/ifstream_members-1.txt: New file.
1719 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
1721 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
1722 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
1724 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1726 * testsuite/27_io/istream_sentry.cc (test02): Fix.
1728 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
1731 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
1732 * src/ios.cc (ios_base::failure): Make definitions match.
1733 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
1734 (class bad_cast): Same.
1735 * libsupc++/exception (class exception): Add throw specs.
1736 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
1737 (set_unexpected): Same.
1738 (uncaught_exception): Same.
1741 * docs/html/17_intro/C++STYLE (classname): Fix.
1743 2001-01-16 Mark Mitchell <mark@codesourcery.com>
1745 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
1746 Use it do explicitly instantiate predicate<T> and value<T> for
1749 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
1751 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
1752 uninitialized thinko in last change.
1754 2001-01-16 Mark Mitchell <mark@codesourcery.com>
1756 * libsupc++/exception_support.cc (__cp_pop_exception): Change
1759 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
1761 * docs/html/17_intro/C++STYLE (classname): Add more existing
1762 and stylish patterns.
1765 * include/bits/istream.tcc (istream::sentry::sentry()): Set
1766 failbit if the state of the stream is not good.
1767 * testsuite/27_io/istream_sentry.cc (test02): Add test.
1768 * testsuite/27_io/istream_manip.cc (test01): Modify.
1771 reported by Paolo Carlini <pcarlini@unitus.it>
1772 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
1773 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
1776 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
1777 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
1778 (xsgetn): Same. Simplify.
1779 * testsuite/27_io/streambuf.cc (test04): Add testcases.
1781 reported by Larry Evans <jcampbell3@prodigy.net>
1782 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
1783 equality with eof on returned value from overflow.
1785 2001-01-14 Andreas Jaeger <aj@suse.de>
1787 * libio/libio.h: Add test for glibc 2.0.
1789 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
1791 * config/os/djgpp/bits/*: Fix dates.
1793 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
1794 _CharT* __end, _CharT __c): Remove.
1795 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
1796 * include/bits/char_traits.h: Tweak.
1798 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
1800 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
1801 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
1803 * aclocal.m4: regenerated.
1804 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
1805 * configure: regenerated.
1806 * config/os/djgpp, config/os/djgpp/bits: new directories.
1807 * config/os/djgpp/bits/ctype_base.h,
1808 config/os/djgpp/bits/ctype_inline.h,
1809 config/os/djgpp/bits/ctype_noninline.h,
1810 config/os/djgpp/bits/os_defines.h: new files.
1812 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
1814 * include/c_std/bits/std_cstdio.h: Undef printf.
1816 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
1818 * src/ios.cc: Fix typo: change cout->wcout.
1820 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
1821 * src/Makefile.in: Regenerate.
1823 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1825 * include/bits/std_complex.h: Fix a typo.
1827 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
1830 Fixes for libstdc++/1576
1831 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
1832 file, move contents into....
1833 * src/ios.cc: ...Here. Put defines for iostreams objects and
1834 initialization routines into one file to simplify DSO interaction.
1835 * include/bits/std_iostream.h: Touch.
1836 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
1837 * src/Makefile.am (sources): Remove stdstreams.cc.
1838 * src/Makefile.in: Regenerate.
1840 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1842 * tests_flags.in (check_directory): Fix typo.
1844 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1846 * include/bits/std_complex.h: Fix a typo.
1848 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
1850 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
1851 code path:) Remove magic constants and restructure to handle
1852 ctype.h bit mask layout changes more gracefully. (Make fast
1853 code path:) Use __maskrune (), if available.
1854 (is): Remove special case for digit and xdigit masks.
1856 2001-01-09 Robert Lipe <robertlipe@usa.net>
1858 * include/c_std/bits/std_ctime.h: Undefine difftime.
1860 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
1862 * src/gen-num-limits.cc (signal_adapter): New template function.
1863 (signal_handler): Use it, instead of signal.
1864 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
1865 require both tests to trap to set trap_flag.
1867 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
1869 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
1870 initialize mbstate_t member, name offset data members *off, not pos.
1871 * include/bits/fstream.tcc (filebuf::filebuf): Same.
1873 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
1875 reported by Chris G. Demetriou <cgd@sibyte.com>
1876 * configure.in: Change -linux-* to -linux*.
1877 * configure: Regenerate.
1879 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
1881 Fix 27_io/filebuf_members.cc
1882 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
1883 const string& __name, category __cat, size_t __refs): Set
1884 _M_has_name with _M_name.
1885 * include/bits/localefwd.h (locale::operator!=): Protect member
1886 function call with this->.
1887 * src/locale.cc (locale::operator==): Make fast checks first.
1888 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
1890 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
1892 * src/ios.cc (ios_base::Init::Init): Initialize here.
1893 (ios_base::sync_with_stdio): Set here.
1895 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
1897 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
1898 systems that support it, call dup() before fdopen().
1900 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
1902 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
1903 * testsuite/17_intro/header_cwctype.cc (main): New file.
1905 * src/Makefile.am (base_headers): Change.
1906 * include/bits/std_string.h: And here.
1907 * include/bits/string.tcc: Tweaks, move to...
1908 * include/bits/basic_string.tcc: ...Here.
1909 * src/string-inst.cc: Simplify, just instantiate the whole class,
1910 not member-by-member.
1912 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
1914 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
1915 * aclocal.m4: Regenerate.
1916 * configure: Regenerate.
1918 * include/bits/c++config (__GLIBCPP__): Bump version number.
1920 * ChangeLog: Start new log for year 2001
1921 * ChangeLog-2000: New file.
1923 * docs/html/configopts.html: Make sure default values are current,
1926 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
1928 * include/c_std/bits/std_cwchar.h: Same.
1929 * testsuite/17_intro/header_cwchar.cc: Same.
1930 * include/c_std/bits/std_ctime.h: Same.
1931 * testsuite/17_intro/header_ctime.cc: Same.
1932 * include/c_std/bits/std_cstdlib.h: Same.
1933 Clean up undefs, make consistent with cwchar and cmath, etc.
1934 * testsuite/17_intro/header_cstdlib.cc: Same.
1935 * include/c_std/bits/std_cstdio.h: Same here.
1936 * testsuite/17_intro/header_cstring.cc: Same.
1937 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
1938 * testsuite/17_intro/header_cstring.cc: New file. Check for
1939 size_t in namespace std.
1941 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
1942 * acconfig.h (HAVE_MBSTATE_T): Add.
1943 * config.h.in: Regenerate.
1944 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
1946 * aclocal.m4: Regenerate.
1947 * configure: Regenerate.
1948 * testsuite/17_intro/headers_c++.cc: New file.
1949 * testsuite/17_intro/headers_c.cc: Small changes.
1951 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
1953 * tests_flags.in: Fix typo in usage.
1955 * tests_flags.in: Set target specific LIBS for cygwin.