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