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