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