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