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