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