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