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