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