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