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