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