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