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