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