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