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