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