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