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