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