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