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