1 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3 * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
5 (istream_iterator::operator*): Same.
7 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
8 Alexandre Petit-Bianco <apbianco@redhat.com>
10 * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
13 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
15 * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
17 * include/bits/stl_iterator.h (istream_iterator): Inherit from
19 (ostream_iterator): Same.
20 * testsuite/24_iterators/istream_iterator.cc: New file.
21 * testsuite/24_iterators/ostream_iterator.cc: New file.
23 * include/bits/sbuf_iter.h: Remove self typedef.
24 * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
25 * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
27 * include/bits/stl_iterator.h (reverse_iterator): Remove
28 extraneous typedefs. Add typename.
29 (__normal_iterator): Remove typedefs referring to self. Add typename.
30 (reverse_bidiretional_iterator): Remove, not longer required.
32 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
34 * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
35 dependent names with `typename'. Bring in various required
36 iterator_traits members. Can't imagine why that used to work.
38 2001-06-25 Phil Edwards <pme@sources.redhat.com>
39 Kurt Garloff <garloff@suse.de>
42 * src/cmath.cc: New [version of an old] file; instantiate
43 __cmath_power to start with.
44 * src/Makefile.am (sources): Add cmath.cc (and alphabetize).
45 * Makefile.in: Regenerate.
46 * libio/Makefile.in: Regenerate.
47 * libmath/Makefile.in: Regenerate.
48 * libsupc++/Makefile.in: Regenerate.
49 * src/Makefile.in: Regenerate.
50 * testsuite/Makefile.in: Regenerate.
52 2001-06-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
54 * libmath/stubs.c: Fix thinko.
56 2001-06-24 David Edelsohn <dje@watson.ibm.com>
58 * libmath/stubs.c (sqrtf): Define.
61 2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
63 * include/bits/stl_iterator.h (reverse_iterator): Inherit from
65 (back_insert_iterator): Same.
66 (front_insert_iterator): Same.
67 (insert_iterator): Same.
69 * testsuite/20_util/raw_storage_iterator.cc: Modify.
70 * testsuite/24_iterators/reverse_iterator.cc: New file.
71 * testsuite/24_iterators/back_insert_iterator.cc: New file.
72 * testsuite/24_iterators/front_insert_iterator.cc: New file.
73 * testsuite/24_iterators/insert_iterator.cc: New file.
75 2001-06-22 Phil Edwards <pme@sources.redhat.com>
77 * include/*: Revert comment/license change from yesterday for all
78 except libsupc++/unwind-cxx.h.
79 * src/bitset.cc: Likewise.
80 * src/strstream.cc: Likewise.
82 2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
84 * libmath/stubs.c: New file.
88 * libmath/Makefile.am (libmath_la_SOURCES): Add.
89 * libmath/Makefile.in. Regenerate.
91 2001-06-21 Phil Edwards <pme@sources.redhat.com>
93 * include/backward/algo.h: Add "GPL plus runtime exception" comment.
94 * include/backward/algobase.h: Likewise.
95 * include/backward/alloc.h: Likewise.
96 * include/backward/bvector.h: Likewise.
97 * include/backward/defalloc.h: Likewise.
98 * include/backward/deque.h: Likewise.
99 * include/backward/function.h: Likewise.
100 * include/backward/hash_map.h: Likewise.
101 * include/backward/hash_set.h: Likewise.
102 * include/backward/hashtable.h: Likewise.
103 * include/backward/heap.h: Likewise.
104 * include/backward/iterator.h: Likewise.
105 * include/backward/list.h: Likewise.
106 * include/backward/map.h: Likewise.
107 * include/backward/multimap.h: Likewise.
108 * include/backward/multiset.h: Likewise.
109 * include/backward/pair.h: Likewise.
110 * include/backward/rope.h: Likewise.
111 * include/backward/set.h: Likewise.
112 * include/backward/slist.h: Likewise.
113 * include/backward/stack.h: Likewise.
114 * include/backward/strstream: Likewise.
115 * include/backward/tempbuf.h: Likewise.
116 * include/backward/tree.h: Likewise.
117 * include/backward/vector.h: Likewise.
118 * include/bits/pthread_allocimpl.h: Likewise.
119 * include/bits/std_algorithm.h: Likewise.
120 * include/bits/std_bitset.h: Likewise.
121 * include/bits/std_deque.h: Likewise.
122 * include/bits/std_functional.h: Likewise.
123 * include/bits/std_iterator.h: Likewise.
124 * include/bits/std_list.h: Likewise.
125 * include/bits/std_map.h: Likewise.
126 * include/bits/std_memory.h: Likewise.
127 * include/bits/std_numeric.h: Likewise.
128 * include/bits/std_queue.h: Likewise.
129 * include/bits/std_set.h: Likewise.
130 * include/bits/std_stack.h: Likewise.
131 * include/bits/std_utility.h: Likewise.
132 * include/bits/std_vector.h: Likewise.
133 * include/bits/stl_algo.h: Likewise.
134 * include/bits/stl_algobase.h: Likewise.
135 * include/bits/stl_alloc.h: Likewise.
136 * include/bits/stl_bvector.h: Likewise.
137 * include/bits/stl_construct.h: Likewise.
138 * include/bits/stl_deque.h: Likewise.
139 * include/bits/stl_function.h: Likewise.
140 * include/bits/stl_heap.h: Likewise.
141 * include/bits/stl_iterator.h: Likewise.
142 * include/bits/stl_iterator_base_funcs.h: Likewise.
143 * include/bits/stl_iterator_base_types.h: Likewise.
144 * include/bits/stl_list.h: Likewise.
145 * include/bits/stl_map.h: Likewise.
146 * include/bits/stl_multimap.h: Likewise.
147 * include/bits/stl_multiset.h: Likewise.
148 * include/bits/stl_numeric.h: Likewise.
149 * include/bits/stl_pair.h: Likewise.
150 * include/bits/stl_pthread_alloc.h: Likewise.
151 * include/bits/stl_queue.h: Likewise.
152 * include/bits/stl_raw_storage_iter.h: Likewise.
153 * include/bits/stl_relops.h: Likewise.
154 * include/bits/stl_set.h: Likewise.
155 * include/bits/stl_stack.h: Likewise.
156 * include/bits/stl_tempbuf.h: Likewise.
157 * include/bits/stl_threads.h: Likewise.
158 * include/bits/stl_tree.h: Likewise.
159 * include/bits/stl_uninitialized.h: Likewise.
160 * include/bits/stl_vector.h: Likewise.
161 * include/bits/type_traits.h: Likewise.
162 * include/ext/hash_map: Likewise.
163 * include/ext/hash_set: Likewise.
164 * include/ext/rope: Likewise.
165 * include/ext/ropeimpl.h: Likewise.
166 * include/ext/slist: Likewise.
167 * include/ext/stl_hash_fun.h: Likewise.
168 * include/ext/stl_hashtable.h: Likewise.
169 * include/ext/stl_rope.h: Likewise.
170 * libsupc++/unwind-cxx.h: Likewise.
171 * src/bitset.cc: Likewise.
172 * src/strstream.cc: Likewise.
174 2001-06-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
176 * include/bits/indirect_array.h (indirect_array<>::operator=):
177 Make copy and assignment operator public. Implement. Format.
179 * include/bits/valarray_array.h (__valarray_copy): Add overloads
180 for copy between index arrays. Format.
182 2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
184 * mknumeric_limits: Add static definitions, format.
185 * testsuite/18_support/numeric_limits.cc (test02): Add test.
187 * include/c_std/bits/std_cwchar.h: Include ctime.
188 * testsuite/17_intro/header_cwchar.cc : Check.
190 * include/c_std/bits/std_cwctype.h: Inject wctype.
191 * testsuite/17_intro/header_cwctype.cc: Update.
193 2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
195 * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
196 * testsuite/20_util/raw_storage_iterator.cc: Same.
198 * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
200 (__mem_interface): New typedef for switching between malloc and new.
201 * testsuite/20_util/allocator_members.cc: New file.
203 * testsuite/20_util/comparisons.cc: New file.
204 * testsuite/20_util/pairs.cc: New file.
206 2001-06-15 Phil Edwards <pme@sources.redhat.com>
208 * docs/html/documentation.html: Point to new doxygen'ed collection.
210 2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
212 * configure.in (auxdir): Replace by ...
213 (toprel): ... new variable.
214 (toplevel_srcdir): Construct from $toprel.
215 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
216 rather than .. to locate gcc source directory.
217 (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
218 * aclocal.m4, configure: Rebuilt.
220 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
222 (Approved by Mark and Benjamin. Applied by Loren.)
224 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
225 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
226 and _GLIBCPP_mutex_address.
227 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
228 once-only runtime initialization of _M_lock mutex when
229 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
230 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
231 for __GTHREAD_MUTEX_INIT_FUNCTION case.
233 2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
235 * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
237 * include/bits/slice_array.h (slice_array<>::operator=): Make
238 public and implement.
239 (slice_array<>::slice_array): Make copy-constructor public.
241 * include/bits/valarray_array.h (__valarray_copy): Add another
242 overload to copy between strided arrays.
244 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
246 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
247 * aclocal.m4: Regenerate.
248 * configure: Regenerate.
249 * include/bits/c++config (__GLIBCPP__): Update date.
251 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
253 * include/bits/fpos.h (fpos::operator-): Don't return reference,
254 return original, non-modified version.
255 (fpos::operator+): Same.
256 * testsuite/27_io/fpos.cc: Add test.
258 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
261 * porting.texi: Add documentation about libstdc++-v3-specific
262 macros that are currently included in os_defines.h files.
264 * config/basic_file_stdio.h (sys_getc): New method.
265 (sys_ungetc): New method.
266 * include/bits/basic_file.h: (sys_getc): New method signature.
267 (sys_ungetc): New method signature.
269 * include/bits/fstream.tcc (underflow): Add conditional code
270 paths which avoid using short seeks on streams (especially
271 useful when the stream might be interactive or a pipe). At
272 the moment, this alternate path only avoids seeking when the
273 ``buffer size'' of underflow() is 1 since the C standard only
274 guarantees buffer space for one ungetc (this technique could
275 be extended since *-*-solaris* supports buffering for 4 calls
276 to ungetc and *-*-*bsd* supports buffering limited only by
277 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
278 in a port's os_defines.h file for this alternate path to even
279 be considered. As a bonus, the idiom of using getc/ungetc
280 requires no system calls whereas fseek maps to one or two
281 system call(s) on many platforms.
283 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
285 * config/os/solaris/solaris2.5/bits/os_defines.h
286 (_GLIBCPP_AVOID_FSEEK): Likewise.
287 * config/os/solaris/solaris2.6/bits/os_defines.h
288 (_GLIBCPP_AVOID_FSEEK): Likewise.
289 * config/os/solaris/solaris2.7/bits/os_defines.h
290 (_GLIBCPP_AVOID_FSEEK): Likewise.
292 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
294 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
295 AC_TRY_COMPILE, so that the built compiler is checked, and
296 bootstraps or cross compiles with an older compile still work.
297 * aclocal.m4: Regenerate.
298 * configure: Regenerate.
300 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
303 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
306 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
309 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
312 * include/bits/limits_generic.h: Fix as per DR 184.
314 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
317 * include/bits/basic_string.h (string::compare): Adjust signatures
319 * include/bits/basic_string.tcc: And here.
322 * config/c_io_stdio.h: Remove whitespace.
323 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
324 (test02): Add regression.
325 * testsuite/27_io/istream_seeks-3.tst: New file.
327 2001-06-11 Phil Edwards <pme@sources.redhat.com>
329 * README: Update to reflect reality.
330 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
331 * configure.in: Make certain target_alias is set and subst'd for 2.50.
332 * aclocal.m4: Regenerate.
333 * configure: Regenerate (with 2.13).
335 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
338 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
340 * include/bits/istream.tcc (istream::seekg): Same.
341 * testsuite/27_io/istream_seeks.cc: Fix.
344 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
346 * include/bits/std_queue.h: Add c++config.h.
347 * testsuite/20_util/binders.cc: New test.
349 2001-06-11 Matthias Klose <doko@debian.org>
350 Phil Edwards <pme@sources.redhat.com>
352 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
353 (main script): Echo more information.
355 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
357 * include/c_std/bits/std_cwchar.h: Alphabetize.
358 * include/bits/char_traits.h: Tweak.
359 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
360 everything used by std_cwchar.h.
361 * aclocal.m4: Regenerate.
362 * configure.in: Regenerate.
363 * config.h.in: Regenerate.
365 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
367 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
368 Add checking for strtof, _Exit in stdlib.h
369 * aclocal.m4: Regenerate.
370 * configure.in: Regenerate.
371 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
372 (snprintf): Put C99 functions into __gnu_cxx namespace.
377 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
378 for C99 functions within _GLIBCPP_USE_C99 guard.
382 * include/bits/locale_facets.tcc: Check if C99 is enabled.
383 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
385 * include/c_std/bits/cmath.tcc: Formatting tweak.
386 * include/c_std/bits/std_cmath.h: Same.
388 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
390 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
392 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
393 Stephen L Moshier <moshier@mediaone.net>
395 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
396 nothing, as in autoconf 2.50.
397 * configure: Rebuilt.
399 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
401 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
403 * include/c_std/bits/std_ctime.h: Same.
404 * include/c_std/bits/std_cstring.h: Same.
405 * include/c_std/bits/std_cstdlib.h: Same.
407 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
408 * include/c_std/bits/std_cctype.h: Remove isblank.
410 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
412 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
414 * aclocal.m4: Regenerate.
415 * configure: Regenerate.
416 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
417 injection, guard fgetwc, fgetws.
418 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
419 * include/c_std/bits/std_clocale.h: And here.
420 * include/c_std/bits/std_cctype.h: And here.
421 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
423 * config/basic_file_stdio.h: Don't include unistd.h.
424 * config/c_io_stdio.h: Don't use compatibility headers.
425 * libsupc++/eh_terminate.cc: Qualify abort.
426 (__terminate): And here.
427 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
429 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
431 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
433 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
438 * include/std/*: Add copyright notice.
439 * include/c_std/bits/*: Use using statements instead of extern "C".
440 * include/c_std/bits/std_cmath.h: Don't overload double versions
441 of math functions with __buitin versions, use global version to
442 prevent ambiguities. Remove define hacks.
443 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
444 functions that have changed signatures and std::
445 declarations. Remove define hacks.
446 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
447 __builtins in std::. Remove define hacks.
448 * testsuite/17_intro/headers_c.cc: Add tests.
449 * testsuite/17_intro/headers_c++.cc: Add test.
451 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
452 John David Anglin <dave@hiauly1.hia.nrc.ca>
455 * libsupc++/eh_alloc.cc: Ensure that required macros are
456 defined before including gthr.h. Ensure that we get the
457 version of gthr.h for which we know how to provide a
459 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
460 code path into line with the current EH model. Use std, where
463 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
464 John David Anglin <dave@hiauly1.hia.nrc.ca>
466 * config/threads-no.h: Remove file.
467 * config/threads-posix.h: Remove file.
469 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
470 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
471 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
472 * config.h.in: Regenerate.
474 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
475 setup and use gthr*.h files. In particular, make gthr.h files
476 namespace-clean in the staging area (they don't have to be for
478 * aclocal.m4: Regenerate.
479 * configure: Regenerate.
481 * src/Makefile.am (build_headers): Remove bits/c++threads.h
482 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
483 * src/Makefile.in: Regenerate.
485 * include/bits/c++config: Cleanup threading configuration macros.
486 In particular, define __STL_GTHREADS macro which controls...
487 * include/bits/stl_threads.h: ...a brand new gthr.h-based
490 * config/c_io_stdio.h: Include staged gthr.h instead of local
491 thread configuration file. Always use __gthread_mutex_t
492 instead of __mutext_type (or int).
493 * include/bits/std_fstream.h: Likewise.
495 * docs/html/17_intro/howto.html: Remove placeholder comment in
496 case this configuration patch didn't make it. Add advice that
497 section only applies if configured with --enable-threads.
498 * docs/html/23_containers/howto.html: Reword to make clear
499 that _PTHREADS is no longer required for any port to be
500 correctly using STL with threads. Add advice that section
501 only applies if configured with --enable-threads.
503 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
505 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
507 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
510 * include/bits/basic_ios.tcc: Formatting tweaks.
511 * include/bits/ios_base.h: Formatting tweaks.
512 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
513 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
514 * src/globals.cc: Allocate filebufs for standard streams here.
515 (buf_cout, buf_cin, buf_cerr): Like so.
516 (buf_wcout, buf_wcin, buf_wcerr): And so.
517 * testsuite/27_io/ios_init.cc: Add.
519 2001-06-04 Brendan Kehoe <brendan@zen.org>
520 Benjamin Kosnik <bkoz@redhat.com>
523 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
524 for generic ctype virtuals.
525 * src/locale.cc: Minor tweaks, naming consistency.
526 * testsuite/22_locale/ctype.cc: Add test.
528 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
529 Phil Edwards <pme@sources.redhat.com>
531 PR libstdc++/3035 and PR libstdc++/3036
532 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
533 to LWG DR 181 and 265.
535 2001-06-04 Phil Edwards <pme@sources.redhat.com>
538 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
539 equal_range): Add const overloads as per LWG DR 214.
540 * include/bits/stl_set.h: Likewise.
542 2001-06-04 Brendan Kehoe <brendan@zen.org>
543 Phil Edwards <pme@sources.redhat.com>
546 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
547 comparison; all positions must be < _Nb.
548 * testsuite/23_containers/bitset_members.cc: New file.
550 2001-06-04 Brendan Kehoe <brendan@zen.org>
553 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
554 ctors to match the standard.
556 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
558 * include/bits/char_traits.h (move): Reverse qualification of
560 (copy): Reverse qualification of memcpy with std::.
562 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
564 * include/bits/char_traits.h (move): Qualify memmove with std::.
565 (copy): Qualify memcpy with std::.
566 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
569 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
571 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
573 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
574 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
575 SUN make VPATH peculiarities.
576 * libsupc++/Makefile.in: Regenerate.
578 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
580 * src/Makefile.am (VPATH): Delimit with ":", not space.
581 * src/Makefile.in: Regenerate.
583 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
585 * configure: Regenerate.
587 2001-05-31 scott snyder <snyder@fnal.gov>
590 * include/bits/istream.tcc: Include std_ostream.h.
592 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
595 * src/bitset.cc: Qualify size_t with std::.
597 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
599 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
600 (_GLIBCPP_BUGGY_COMPLEX): Remove.
601 * config.h.in: Regenerate.
602 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
603 * aclocal.m4: Regenerate.
604 * configure.in: Don't call it.
605 * configure: Regenerate.
608 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
609 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
613 * include/bits/std_complex.h: Include sstream. Put definitions for
614 complex inserters and extractors here, and remove them from...
615 * src/complex_io.cc: ...here.
616 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
618 (basic_ios::__numget_type): Same.
619 * include/bits/std_istream.h: Same.
620 * include/bits/std_ostream.h: Same.
621 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
622 class iterator template arguments.
623 * src/locale-inst.cc: Add explicit has_facet instantiations.
624 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
625 (_M_get_fnumput): Remove.
626 (_M_get_fnumget): Remove.
627 (basic_ios::_M_check_facet): New function.
628 (basic_ios::_M_cache_facets): New function.
629 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
630 (basic_ios::imbue): Call _M_cache_facets.
631 (basic_ios::init): Same.
632 * include/bits/istream.tcc: Format, use _M_check_facet.
633 * include/bits/ostream.tcc: Same.
634 * include/bits/locale_facets.tcc (__output_float): Change
635 signature, add _Traits.
636 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
639 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
641 * include/bits/c++config (__USE_MALLOC): Do not define it.
642 Document why not and give pointers to more information.
644 * docs/html/23_containers/howto.html: Update documentation
645 to reflect recent understanding of problem.
646 * docs/html/17_intro/howto.html: Likewise.
648 2001-05-30 Phil Edwards <pme@sources.redhat.com>
650 * docs/doxygen/user.cfg.in: Minor addition.
651 * docs/html/documentation.html: Reorganize. Put most-looked-at
653 * docs/html/install.html: Update for 3.0. HTML fixups.
654 * docs/html/17_intro/howto.html: Likewise.
655 * docs/html/18_support/howto.html: Likewise.
656 * docs/html/19_diagnostics/howto.html: Likewise.
657 * docs/html/20_util/howto.html: Likewise.
658 * docs/html/23_containers/howto.html: Likewise.
659 * docs/html/24_iterators/howto.html: Likewise. More notes.
660 * docs/html/25_algorithms/howto.html: Likewise.
661 * docs/html/26_numerics/howto.html: Likewise. More notes.
662 * docs/html/27_io/howto.html: Likewise.
663 * docs/html/ext/howto.html: Likewise.
664 * docs/html/faq/index.html: Likewise.
665 * docs/html/faq/index.txt: Regenerate.
666 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
667 Doxygen-created documentation.
669 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
671 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
672 get_multilibs to find gcc.
674 2001-05-30 Phil Edwards <pme@sources.redhat.com>
676 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
677 * aclocal.m4: Regenerate.
678 * configure: Regenerate.
680 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
682 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
683 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
685 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
687 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
688 * include/c_std/bits/std_cstdlib.h: Same.
689 * include/c_std/bits/std_cwchar.h: Same.
691 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
693 * docs/html/17_intro/howto.html: Update link.
694 * docs/html/23_containers/howto.html: Likewise. Add new link.
696 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
698 * include/c_std/bits/std_cmath.h (sqrt): #undef.
700 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
702 * mknumeric_limits: Stop if gen-num-limits dies.
704 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
707 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
708 * aclocal.m4: Regenerate.
711 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
712 Phil Edwards <pme@sources.redhat.com>
713 Alexandre Oliva <aoliva@redhat.com>
715 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
716 in an amd-safe manner. Revert glibcpp_prefixdir.
718 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
720 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
721 fabs, sin, sqrt. They are now implemented in terms of __builtin_
724 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
727 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
728 * include/bits/ostream.tcc: Format to match istream.tcc.
729 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
731 2001-05-24 Phil Edwards <pme@sources.redhat.com>
733 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
735 (__cxa_free_exception): Likewise with free.
737 2001-05-24 Mark Mitchell <mark@codesourcery.com>
739 * include/c_std/bin/std_cstring.h: #define away all global
740 functions we will redeclare in namespace `std'.
741 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
742 std::memset, instead of memset.
743 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
745 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
748 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
751 * include/bits/basic_ios.tcc: Small tweak.
752 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
753 ctors and dtors, and rdbuf settings.
756 * include/bits/std_sstream.h: Same, but for stringstream classes.
757 * testsuite/27_io/ostringstream_members.cc: New.
758 * testsuite/27_io/stringstream_members.cc: New.
759 * testsuite/27_io/fstream_members.cc: New.
760 * testsuite/27_io/ifstream_members.cc: Add test.
761 * testsuite/27_io/istringstream_members.cc: Add test.
762 * testsuite/27_io/ofstream_members.cc: Add test.
764 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
766 * include/bits/c++config(__NO_MATH_INLINES): Move to...
767 * config/os/gnu-linux/bits/os_defines.h: ...here.
769 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
771 * include/bits/c++config (__NO_MATH_INLINES): New macro.
772 * testsuite/26_numerics/fabs_inline.cc (main): New test.
774 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
777 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
779 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
780 (libstdc++-v3-finish): Remove.
781 (libstdc++-v3_exit): Remove.
783 2001-05-22 Phil Edwards <pme@sources.redhat.com>
785 * docs/html/documentation.html: Point to doxygen output.
787 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
789 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
791 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
792 arguments to be non-null.
793 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
794 try allocations if allocated size is greater than zero.
795 (filebuf::_M_filebuf_init): Change to
796 (filebuf::_M_allocate_file): Which is what it does now.
797 (filebuf::_M_allocate_bufers): Change to
798 (filebuf::_M_allocate_internal_buffer): This, and create
799 (filebuf::_M_allocate_pback_buffer): New.
800 (filebuf::_M_destroy_internal_buffer): New.
801 (filebuf::_M_buf_allocated): New data member.
802 (filebuf::setbuf): Use new logic, allow use of external buffer.
803 * testsuite/27_io/stringbuf_virtuals.cc: New file.
804 * testsuite/27_io/filebuf_virtuals.cc: New file.
806 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
808 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
810 (strchr): Same, but to __glibcpp_strchr.
814 * include/c_std/bits/std_cwchar.h (wcschr): Same.
820 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
822 * testsuite/21_strings/c_strings.cc (main): Fix.
824 2001-05-19 Phil Edwards <pme@sources.redhat.com>
826 * acinclude.m4: Fix --help spacing, correct comments.
827 * aclocal.m4: Regenerate.
828 * configure: Regenerate.
829 * mkcheck.in: Add usage comments.
830 * docs/html/documentation.html: Point to doxygen'd tarball.
832 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
834 * testsuite/README: Add notes.
836 * src/Makefile.am (libstdc++.INC): Remove.
837 * src/Makefile.in: Regenerate.
839 Phil Edwards <pedwards@disaster.jaj.com>
840 * mkcheck.in: Add missing '#'.
842 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
844 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
845 appropriately for remote testing and testing installed files without
848 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
850 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
851 amd glibcpp_prefixdir with absolute paths.
853 * include/bits/c++config (__GLIBCPP__): Bump.
854 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
856 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
858 * include/bits/std_valarray.h (valarray<>::operator[] const):
859 Return a const reference.
860 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
862 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
864 * configure.target (ATOMICITYH): Actually use AIX-specific code on
865 earlier versions of AIX 4.*.
867 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
869 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
870 output_file based on the name of the testcase.
872 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
874 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
875 gluefile and use it if needs_status_wrapper is set.
877 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
879 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
882 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
884 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
885 on earlier versions of AIX.
887 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
889 * testsuite_flags.in (query): Add backwards, ext directories.
891 2001-05-15 Mark Mitchell <mark@codesourcery.com>
893 * porting.texi: Correct documentation about handling
894 _LARRGEFILE_SOURCE and its ilk.
895 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
896 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
898 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
899 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
901 2001-05-15 Zack Weinberg <zackw@stanford.edu>
903 * testsuite/21_strings/inserters_extractors.cc,
904 testsuite/27_io/istream_unformatted.cc,
905 testsuite/27_io/stringstream.cc:
906 Replace multi-line string constants with C89-style
907 concatenated string constants.
909 2001-05-14 Richard Henderson <rth@redhat.com>
911 * mknumeric_limits: Build with -fno-exceptions.
913 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
915 Switch over to new harness.
916 * testsuite_flags.in: Tweaks via Gaby.
917 * testsuite/Makefile.am: Change tool to libstdc++-v3.
918 (EXPECT): Quote directly.
920 * configure.in: Output testsuite_flags.
921 * acinclude.m4: Substitute src, bld, and prefix dirs.
922 Remove glibcpp_expect, glibcpp_runtestflags.
923 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
924 * mkcheck.in: Port to new interface.
926 * aclocal.m4: Regerate.
927 * configure: Regnerate.
928 * Makefile.in: Regnerate.
929 * */Makefile.in: Regenerate.
931 * tests_flags.in: Remove.
932 * testsuite/lib/libstdc++.exp: Remove.
933 * testsuite/libstdc++.tests/tests.exp: Remove.
935 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
937 * configure.target: Remove detection of AIX pthread multilib, now
938 obtained from `gcc -v'.
940 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
942 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
943 size. Add hpux case for HP size.
945 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
947 * testsuite_flags.in: New, simplified interface.
948 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
949 * testsuite/libstdc++-v3.dg: Add.
950 * testsuite/libstdc++-v3.dg/dg.exp: Add.
952 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
954 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
955 * testsuite/config/default.exp: Update bugs email address.
957 2001-05-11 Richard Henderson <rth@redhat.com>
959 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
960 all pointer encoding logic.
961 (struct lsda_header_info): Add ttype_base.
962 (get_ttype_entry): Use it instead of a context.
963 (check_exception_spec): Likewise.
964 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
965 the c++ exception header for __cxa_call_unexpected.
966 (__cxa_call_unexpected): Use it.
968 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
970 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
971 libgloss_link_flags to find crt0.o for targets that use libgloss
973 Change LDFLAGS to LIBS.
974 Consistently name procedures libstdc++-XXX.
975 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
977 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
979 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
984 * include/c_std/bits/std_cwchar.h (wcschr): Same.
989 * testsuite/21_strings/c_strings.cc: Add tests.
991 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
994 * include/bits/std_fstream.h (basic_filebuf): Change signature.
995 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
996 to int_type, pass in buffer size info.
997 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
998 unbuffered situation.
999 (underflow): Remove codecvt bits for the time being.
1000 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
1001 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
1002 values from iterators, clean.
1003 * src/locale.cc: Ditto.
1004 * include/bits/sbuf_iter.h: Format.
1005 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
1006 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
1007 * testsuite/27_io/filebuf.cc: Tweaks.
1008 * testsuite/27_io/filebuf_members.cc: Tweaks.
1010 2001-05-07 Mark Mitchell <mark@codesourcery.com>
1012 * config/os/solaris/solaris2.7/bits/os_defines.h
1013 (_LARGEFILE_SOURCE): Define it.
1015 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
1017 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
1018 -prefer-non-pic depending on whether libtool has shared libraries
1019 enabled or disabled.
1020 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
1021 $(LIBSUPCXX_PICFLAGS).
1022 * configure, */Makefile.in: Rebuilt.
1024 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
1026 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
1027 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
1029 * include/bits/std_sstream.h (stringbuf): Leak
1031 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
1033 2001-05-01 Tom Browder <tbrowder@home.com>
1035 * docs/html/ext/howto.html: Fix typo.
1037 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
1039 * testsuite/libstdc++.tests/tests.exp: Add comment.
1041 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
1043 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
1045 2001-04-30 Mark Mitchell <mark@codesourcery.com>
1047 * porting.texi: Use the GFDL.
1049 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
1052 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
1053 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
1056 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
1059 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
1061 2001-04-28 Phil Edwards <pme@sources.redhat.com>
1063 * docs/doxygen/run_doxygen: Minor tweaks.
1064 * docs/doxygen/style.css: New file.
1065 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
1066 latest parameters available. Use style.css.
1068 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
1070 * docs/doxygen/mainpage.doxy: New.
1071 * docs/doxygen/user.cfg.in: Change default configuration. Single
1072 frame, other tweaks.
1074 2001-04-26 Mark Mitchell <mark@codesourcery.com>
1076 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
1077 Indicate obsolete nature of thelist for G++ 3.0.
1079 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
1081 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
1082 target_thread_file with `gcc -v'.
1083 * aclocal.m4, configure: Rebuilt.
1085 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
1087 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
1088 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
1089 * include/c_std/bits/std_cwchar.h (std): Same.
1090 * acconfig.h (std): Remove c99 injection into std.
1091 * config.h.in: Regenerate.
1093 * testsuite/README: Fix typo.
1095 * include/bits/codecvt.h: Remove warnings.
1097 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1099 * include/ext/slist: Include required header files.
1101 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
1103 * include/c_std/bits/std_cerrno.h (errno): Define macro from
1104 identifier declared with external linkage, if needed.
1105 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
1106 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
1108 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
1110 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
1111 re-configures find the build compiler.
1112 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
1114 * aclocal.m4: Regenerate.
1115 * configure: Regenerate.
1117 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
1119 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
1120 support is enabled correctly before long long is activated.
1121 * aclocal.m4: Regenerate.
1122 * configure: Regenerate.
1124 * include/backward/backward_warning.h: Format correctly.
1126 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
1127 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
1128 * testsuite/26_numerics/c99_macros.cc: Remove.
1130 2001-04-20 Phil Edwards <pme@sources.redhat.com>
1132 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
1133 __iterator_category.
1135 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
1137 * acconfig.h (_GLIBCPP_USE_C99): Add.
1138 * config.h.in: Regenerate.
1139 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
1141 * aclocal.m4: Regenerate.
1142 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
1143 * configure: Regenerate.
1144 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
1145 * configure: Regenerate.
1146 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
1148 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
1150 * include/c_std/bits/std_cstdlib.h: Same.
1151 * docs/html/configopts.html: Update.
1152 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
1154 (test_c99_classify): Add.
1155 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
1156 (_ISOC99_SOURCE): Remove.
1158 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
1159 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
1160 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
1161 * aclocal.m4: Regenerate.
1162 * configure: Regenerate.
1164 2001-04-19 Phil Edwards <pme@sources.redhat.com>
1166 * Makefile.am (doxygen): Assume script is missing execute perms.
1167 * Makefile.in: Regenerated.
1168 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
1170 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
1172 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
1174 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
1176 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
1177 * testsuite/23_containers/set_operators.cc: Same.
1179 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
1181 (__GLIBCPP__): Bump from value of last release.
1182 * include/bits/concept_check.h: Default to off, edit comments.
1183 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
1184 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
1185 * src/Makefile.in: Regenerate.
1187 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
1189 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
1190 Properly uglify member.
1192 2001-04-13 Phil Edwards <pme@sources.redhat.com>
1194 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
1198 2001-04-13 Phil Edwards <pme@sources.redhat.com>
1200 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
1201 * include/bits/concept_check.h: Uglify.
1202 * include/bits/stl_algo.h: Likewise.
1203 * include/bits/stl_algobase.h: Likewise.
1204 * include/bits/stl_deque.h: Likewise.
1205 * include/bits/stl_heap.h: Likewise.
1206 * include/bits/stl_iterator_base_funcs.h: Likewise.
1207 * include/bits/stl_list.h: Likewise.
1208 * include/bits/stl_map.h: Likewise.
1209 * include/bits/stl_multimap.h: Likewise.
1210 * include/bits/stl_multiset.h: Likewise.
1211 * include/bits/stl_numeric.h: Likewise.
1212 * include/bits/stl_queue.h: Likewise.
1213 * include/bits/stl_set.h: Likewise.
1214 * include/bits/stl_stack.h: Likewise.
1215 * include/bits/stl_vector.h: Likewise.
1216 * include/ext/hash_map: Likewise.
1217 * include/ext/hash_set: Likewise.
1218 * include/ext/slist: Likewise.
1220 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
1222 * testsuite/23_containers/set_operators.cc: Just try to compile.
1224 * testsuite/23_containers/map_operators.cc: Same.
1226 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
1228 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
1230 (dg-test): Revert rth's change.
1232 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
1234 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
1235 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
1237 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
1239 * testsuite/README: Add DejaGnu specific documentation.
1241 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
1243 * acinclude.m4: AC_CHECK_TOOL for expect.
1244 * aclocal.m4: Regenerate.
1245 * configure: Regenerate.
1246 * testsuite/Makefile.am (RUNTEST): Use substituted.
1249 * configure.in: Remove xcompiling substitution.
1250 * tests_flags.in (CROSS_LIB_PATH): Remove.
1251 (xcompiling): Remove.
1252 (CXX): Use substituted CXX.
1254 2001-04-11 Richard Henderson <rth@redhat.com>
1256 * testsuite/lib/libstdc++.exp: Specify path for output_file.
1258 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
1260 * include/bits/std_valarray.h(valarray<>::operator[]): Make
1263 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
1265 * testsuite/25_algorithms/equal.cc: New test.
1267 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
1269 * stl_algobase.h (std::equal): avoid use of possibly-undefined
1270 operator != (one line patch).
1272 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
1274 * include/backward/backward_warning.h: Re-enable.
1276 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
1277 Alexandre Oliva <aoliva@redhat.com>
1279 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
1281 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
1283 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
1284 * testsuite/26_numerics/c99_macros.cc: Add test.
1286 2001-04-06 Phil Edwards <pme@sources.redhat.com>
1288 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
1289 * docs/html/faq/index.txt: Regenerated.
1291 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
1293 * include/backward/backward_warning.h: Temporarily disable until
1294 g++ testsuite changes go in.
1295 * tests_flags.in (CROSS_LIB_PATH): Add.
1297 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
1299 Warn when using backward headers.
1300 * include/backward/algo.h: Include warning file.
1301 * include/backward/vector.h: Same.
1302 * include/backward/tree.h: Same.
1303 * include/backward/tempbuf.h: Same.
1304 * include/backward/strstream: Same.
1305 * include/backward/streambuf.h: Same.
1306 * include/backward/stream.h: Same.
1307 * include/backward/stack.h: Same.
1308 * include/backward/slist.h: Same.
1309 * include/backward/set.h: Same.
1310 * include/backward/rope.h:
1311 * include/backward/queue.h: Same.
1312 * include/backward/pair.h: Same.
1313 * include/backward/ostream.h: Same.
1314 * include/backward/new.h: Same.
1315 * include/backward/multiset.h: Same.
1316 * include/backward/multimap.h: Same.
1317 * include/backward/map.h: Same.
1318 * include/backward/list.h: Same.
1319 * include/backward/iterator.h: Same.
1320 * include/backward/istream.h: Same.
1321 * include/backward/iostream.h:
1322 * include/backward/iomanip.h:
1323 * include/backward/heap.h: Same.
1324 * include/backward/hashtable.h:
1325 * include/backward/hash_set.h:
1326 * include/backward/hash_map.h:
1327 * include/backward/function.h:
1328 * include/backward/fstream.h:
1329 * include/backward/deque.h:
1330 * include/backward/defalloc.h: Same.
1331 * include/backward/complex.h: Same.
1332 * include/backward/bvector.h:
1333 * include/backward/alloc.h:
1334 * include/backward/algobase.h: Same.
1336 * include/backward/backward_warning.h: New file.
1337 * src/Makefile.am (backward_headers): Add backward_warning.h
1338 * src/Makefile.in: Regenerate.
1340 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
1342 * src/Makefile.am (myinstalldirs): Make sure backward directory is
1344 (myinstallheaders): Install backward headers in backward directory.
1345 * src/Makefile.in: Regenerate.
1347 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
1349 Prepare for libstdc++-2.92.
1350 * docs/html/17_intro/RELEASE-NOTES (New): Update.
1351 * docs/html/configopts.html: Fix formatting.
1352 * README (file): Updates.
1353 * include/bits/c++config (__GLIBCPP__): Update.
1355 2001-04-05 Phil Edwards <pme@sources.redhat.com>
1357 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
1359 2001-04-04 Phil Edwards <pme@sources.redhat.com>
1361 * docs/doxygen/user.cfg.in: Extract all non-private members;
1362 reduce confusing documentation output.
1364 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
1366 * include/backward/fstream.h: Add missing semicolons.
1368 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
1370 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
1371 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
1372 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
1373 (ios_base::Init::_S_ios_create): New.
1374 (ios_base::Init::_S_ios_destroy): New.
1375 * include/bits/std_fstream.h: Change ctor args.
1376 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
1377 (ios_base::Init::~Init): Use _S_ios_destroy.
1378 (ios_base::sync_with_stdio): Use new members.
1379 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
1382 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1384 * include/backward/fstream.h: Expose streampos to global
1387 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1389 * include/bits/stl_iterator_base_types.h: Fix typo
1391 2001-04-03 Andreas Schwab <schwab@suse.de>
1393 * include/backward/fstream.h: Define filebuf and wfilebuf.
1395 2001-04-02 Phil Edwards <pme@sources.redhat.com>
1397 New concept checking implementation.
1398 * docs/html/19_diagnostics/howto.html: Document.
1399 * docs/html/17_intro/concept_check.diff: New file, for reference.
1400 * include/bits/boost_concept_check.h: New file from Boost.
1401 * include/bits/c++config: Update comments.
1403 * include/bits/concept_check.h: New file.
1404 * include/bits/concept_checks.h: Removed.
1405 * include/bits/container_concepts.h: Removed.
1406 * include/bits/sequence_concepts.h: Removed.
1407 * include/bits/stl_iterator_base.h: Removed; split into...
1408 * include/bits/stl_iterator_base_funcs.h: ...this new file...
1409 * include/bits/stl_iterator_base_types.h: ...and this new file.
1411 * include/bits/sbuf_iter.h: Update to use new implementation.
1412 * include/bits/std_iterator.h: Likewise.
1413 * include/bits/std_memory.h: Likewise.
1414 * include/bits/stl_algo.h: Likewise.
1415 * include/bits/stl_algobase.h: Likewise.
1416 * include/bits/stl_construct.h: Likewise.
1417 * include/bits/stl_deque.h: Likewise.
1418 * include/bits/stl_heap.h: Likewise.
1419 * include/bits/stl_list.h: Likewise.
1420 * include/bits/stl_map.h: Likewise.
1421 * include/bits/stl_multimap.h: Likewise.
1422 * include/bits/stl_multiset.h: Likewise.
1423 * include/bits/stl_numeric.h: Likewise.
1424 * include/bits/stl_queue.h: Likewise.
1425 * include/bits/stl_set.h: Likewise.
1426 * include/bits/stl_stack.h: Likewise.
1427 * include/bits/stl_uninitialized.h: Likewise.
1428 * include/bits/stl_vector.h: Likewise.
1429 * include/ext/hash_map: Likewise.
1430 * include/ext/hash_set: Likewise.
1431 * include/ext/slist: Likewise.
1432 * include/ext/stl_hashtable.h: Likewise.
1434 * src/Makefile.am (base_headers): Update list of headers.
1435 * Makefile.in: Regenerated.
1436 * src/Makefile.in: Regenerated.
1437 * libio/Makefile.in: Regenerated.
1438 * libmath/Makefile.in: Regenerated.
1439 * libsupc++/Makefile.in: Regenerated.
1440 * testsuite/Makefile.in: Regenerated.
1442 * docs/html/install.html: Update contact information.
1443 * docs/html/17_intro/howto.html: Ditto.
1444 * docs/html/18_support/howto.html: Ditto.
1445 * docs/html/20_util/howto.html: Ditto.
1446 * docs/html/21_strings/howto.html: Ditto.
1447 * docs/html/22_locale/howto.html: Ditto.
1448 * docs/html/23_containers/howto.html: Ditto.
1449 * docs/html/24_iterators/howto.html: Ditto.
1450 * docs/html/25_algorithms/howto.html: Ditto.
1451 * docs/html/26_numerics/howto.html: Ditto.
1452 * docs/html/27_io/howto.html: Ditto.
1453 * docs/html/faq/index.html: Ditto, plus info on new checking code.
1454 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
1455 * docs/html/faq/index.txt: Regenerated.
1457 2001-04-02 Zack Weinberg <zackw@stanford.edu>
1459 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
1460 messages with $which_library as well as $tool_flags and
1461 ${dg-extra-tool-flags}. Factor out annotation text into
1464 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
1466 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
1467 * include/c_std/bits/std_cwchar.h: Same.
1468 * testsuite/21_strings/c_strings.cc: Add.
1470 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
1472 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
1474 2001-04-01 Zack Weinberg <zackw@stanford.edu>
1476 * tests_flags.in: Use test a = b, not test a == b which is not
1479 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
1481 * configure.target: Remove duplicate aix entry.
1483 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
1485 * include/ext/stl_bvector.h: Move to...
1486 * include/bits/stl_vector.h: ...here.
1487 * include/ext/bvector: Move to...
1488 * include/backward/bvector.h: ...here.
1489 * include/bits/std_vector.h: Change stl_bvector include.
1490 * include/bits/std_queue.h: Remove bvector include.
1491 * include/ext/tree: Insert using rb_tree, move to...
1492 * include/backward/tree.h: ...here.
1493 * include/backward/hash_map.h: Include ext/hash_map.
1494 * include/backward/hash_set.h: Include ext/hash_set.
1495 * include/backward/queue.h: New file.
1496 * include/backward/stack.h: Edit.
1497 * include/backward/algo.h: Same.
1498 * include/backward/algobase.h: Same.
1499 * include/backward/alloc.h: Same.
1500 * include/backward/function.h: Same.
1501 * include/backward/iomanip.h: Same.
1502 * include/backward/istream.h: Same.
1503 * include/backward/iterator.h: Same.
1504 * include/backward/list.h: Same.
1505 * include/backward/map.h: Same.
1506 * include/backward/multimap.h: Same.
1507 * include/backward/multiset.h: Same.
1508 * include/backward/ostream.h: Same.
1509 * include/backward/pair.h: Same
1510 * include/backward/rope.h: Same.
1511 * include/backward/set.h: Same.
1512 * include/backward/stream.h: Same.
1513 * include/backward/strstream.h: Same.
1514 * include/backward/tempbuf.h: Same.
1515 * src/Makefile.am (ext_headers): Edit.
1516 * src/Makefile.in: Regenerate.
1517 * testsuite/ext/headers.cc (main): Fix.
1520 2001-03-30 Phil Edwards <pme@sources.redhat.com>
1522 * tests_flags.in (LIBS): Pass correct path for installed testing.
1524 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
1526 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
1527 * tests_flags.in (CXX): Construct here.
1528 (static_fail): Don't remove compile.out. Format with spaces.
1529 (INCLUDES): Deal with xcompiling.
1530 * configure.in (xcompiling): Substitute.
1531 * testsuite/Makefile.am: Snake libjava configury.
1532 * testsuite/Makefile.in: Regenerate.
1533 * testsuite/23_containers/map_operators.cc: Tweaks.
1534 * testsuite/23_containers/set_operators.cc: Tweaks.
1536 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1538 Enable dejagnu testing framework.
1539 * configure.in: Generate testsuite/Makefile.
1540 * configure: Regenerate.
1541 * Makefile.am (check-install): Change rule from this...
1542 (check-script-install): ...to this.
1543 (check): Change rule from this...
1544 (check-script):...to this.
1545 * Makefile.in: Regenerate.
1547 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
1549 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
1551 (LIBTOOL): Let automake take care of its definition.
1552 * libsupc++/Makefile.in: Rebuilt.
1554 2001-03-28 Richard Henderson <rth@redhat.com>
1556 IA-64 ABI Exception Handling:
1557 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
1558 * configure.in: Use it.
1559 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
1560 * libsupc++/Makefile.am (sources): Update files list.
1561 * libsupc++/Makefile.in: Regenerate.
1562 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
1563 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
1564 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
1565 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
1566 * libsupc++/exception_support.cc: Remove.
1567 * libsupc++/exception_support.h: Remove.
1568 * libsupc++/pure.cc: Use std::terminate.
1569 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
1570 (__is_pointer): Remove.
1571 * libsupc++/unwind-cxx.h: New file.
1572 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
1574 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
1576 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
1578 * src/Makefile.am (CXXLINK): Likewise.
1579 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
1581 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
1583 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
1585 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1587 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
1590 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
1592 * include/bits/basic_file.h (get_fileno): Remove.
1593 (_M_fileno): Remove.
1594 (_M_cfile_created): Add.
1595 (basic_file::basic_file(__c_file_type*, openmode): Add.
1596 (basic_file::basic_file(int, const char*, openmode): Remove.
1597 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
1598 const char*, ios_base::openmode): Don't allocate
1599 internal buffers. Turn off internal buffers.
1600 (basic_filebuf::overflow): Remove test for null buffer.
1601 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
1602 * include/bits/streambuf.cc: Tweak.
1603 * include/bits/std_ostream.h: Tweak.
1604 * config/basic_file_libio.h: Same.
1605 * config/basic_file_stdio.h: Same.
1606 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
1607 * testsuite/27_io/filebuf_members.cc: Tweaks.
1608 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
1610 2001-03-24 Phil Edwards <pme@sources.redhat.com>
1612 * Makefile.am: New targets, doxygen and doxygen-maint.
1613 * Makefile.in: Regenerated.
1614 * docs/doxygen/run_doxygen: Finally implemented.
1615 * docs/doxygen/maint.cfg.in: New file.
1616 * docs/doxygen/user.cfg.in: New file.
1618 2001-03-24 Phil Edwards <pme@sources.redhat.com>
1620 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
1621 * src/Makefile.am: Replace leading spaces with tabs on continuation
1623 * aclocal.m4: Regenerated.
1625 * Makefile.in: Ditto.
1626 * src/Makefile.in: Ditto.
1627 * libio/Makefile.in: Ditto.
1628 * libmath/Makefile.in: Ditto.
1629 * libsupc++/Makefile.in: Ditto.
1631 2001-03-24 Phil Edwards <pme@sources.redhat.com>
1633 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
1634 concept-checking code and current status of same.
1635 * docs/html/ext/howto.html: Ditto.
1636 * docs/html/faq/index.html: Ditto.
1637 * docs/html/faq/index.txt: Regenerated.
1639 2001-03-24 Phil Edwards <pme@sources.redhat.com>
1641 * include/bits/std_bitset.h: Include ostream and istream headers
1642 instead of iostream.
1644 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
1646 * include/bits/ostream.tcc: Use __builtin_alloca.
1648 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
1650 * src/misc-inst.cc (__sink_unused_warning): Move to...
1651 * src/locale-inst.cc (__sink_unused_warning): Move to...
1652 * src/stl-inst.cc: Here.
1653 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
1656 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1658 * intclude/bits/basic_file.h: Fix typos in comments.
1660 2001-03-20 Richard Henderson <rth@redhat.com>
1662 * src/gen-num-limits.cc: Instantiate for wchar_t.
1663 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
1665 2001-03-20 Jason Merrill <jason@redhat.com>
1667 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
1668 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
1669 * libsupc++/cxxabi.h: Declare it.
1671 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
1673 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
1674 signal_func with an unspecified argument list.
1676 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
1678 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
1680 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1682 * include/bits/basic_string.tcc (operator+): Fix thinko.
1684 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
1687 * include/bits/std_streambuf.h: Remove cached locale facets.
1688 (basic_streambuf::_M_buf_fctype): Remove.
1689 (basic_streambuf::~basic_streambuf): Remove here.
1690 (basic_streambuf::basic_streambuf): Same.
1691 (basic_streambuf::imbue): Same.
1692 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
1693 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
1694 (basic_filebuf::~basic_filebuf()): Remove here.
1695 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
1696 (basic_filebuf::imbue): Same.
1697 * include/bits/localefwd.h (_Count_ones): Remove.
1698 (locale::_S_num_categories): Just use 6, since this doesn't
1699 actually change, ever.
1700 * include/bits/locale_facets.tcc (has_facet): Simplify.
1702 * testsuite/27_io/filebuf.cc (test06): Add tests.
1704 2001-03-13 Steve Ellcey <sje@cup.hp.com>
1706 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
1707 match HP-UX ctype.h header file.
1709 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
1711 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
1712 duplicate definitions of __dj_ctype_*
1714 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
1716 * libsupc++/new: Remove pragma interface.
1717 * libsupc++/typeinfo: Same.
1718 * libsupc++/exception: Same.
1719 * libsupc++/new_handler.cc: Remove pragma implementation.
1720 (bad_alloc::~bad_alloc()): Add.
1721 * libsupc++/exception_support.cc: Same.
1722 (exception::~exception): Add.
1723 (bad_exception::~bad_exception): Add.
1724 * libsupc++/tinfo.cc: Same.
1725 (bad_cast::~bad_cast): Add.
1726 (bad_typeid::~bad_typeid): Add.
1728 2001-03-13 Phil Edwards <pme@sources.redhat.com>
1730 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
1732 2001-03-12 Felix Lee <flee@redhat.com>
1734 * mkcheck.in: workaround for bash 2.01 IFS bug.
1736 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
1738 Fixups for -fno-for-scope
1739 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
1740 * src/valarray-inst.cc (__gslice_to_index): Same.
1742 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
1744 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
1745 prior to trapping signal (UnixWare 7 workaround).
1747 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
1749 * include/backward/hashtable.h: Same.
1750 * include/backward/rope.h: Fix include.
1752 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
1754 * include/backward/vector.h: Include std_vector.h.
1756 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
1757 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
1760 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1762 * include/ext/stl_hashtable.h: Change type of __n to size_t
1763 * include/backward/bvector.h: Include <ext/stl_bvector.h>
1765 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1767 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
1768 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
1769 Use streamsize, not int_type.
1771 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
1773 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
1776 2001-03-08 Andreas Schwab <schwab@suse.de>
1778 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
1780 * aclocal.m4, configure: Regenerated.
1782 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
1784 * include/bits/std_iosfwd.h: Remove string forward decls here.
1785 * include/bits/stringfwd.h: Add forward decls for char_traits
1787 * config/c_io_libio.h (wstreamoff): Delete.
1788 * config/c_io_stdio.h (wstreamoff): Same.
1789 * include/bits/char_traits.h: Use streamoff not wstreamoff for
1790 char_traits<wchar_t>::off_type.
1791 Remove duplicate typedefs.
1792 * include/bits/fpos.h: Define streampos/wstreampos here.
1793 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
1796 Changeup output files.
1797 * testsuite/27_io/istream_unformatted.cc: Change output files.
1798 * testsuite/27_io/istream_seeks-1.txt: Add.
1799 * testsuite/27_io/istream_seeks-2.tst: Add.
1800 * testsuite/27_io/istream_seeks-1.tst: Add.
1801 * testsuite/27_io/istream_unformatted-2.tst: Delete.
1802 * testsuite/27_io/istream_unformatted-3.tst: Delete.
1803 * testsuite/27_io/istream_unformatted-3.txt: Delete.
1805 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
1807 Add Irix 5.2, 6.3 support.
1808 * config/os/irix/bits: Renamed to...
1809 * config/os/irix/irix6.5/bits: this.
1810 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
1811 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
1812 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
1813 * config/os/irix/irix5.2/bits/ctype_noninline.h
1814 (ctype<char>::ctype): Initialize _M_table with __ctype.
1815 * configure.target: Adjust.
1817 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
1820 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
1821 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
1823 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
1824 (*__pf)(__ios_type&)): Same.
1825 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
1826 (*__pf)(ios_base&))): Same.
1827 * testsuite/27_io/istream_extractor_other.cc: Add tests.
1828 * testsuite/27_io/istream_manip.cc (test01): Fix.
1830 2001-03-06 Nathan Myers <ncm@cantrip.org>
1831 Benjamin Kosnik <bkoz@redhat.com>
1833 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
1834 * testsuite/17_intro/header_cerrno.cc (test01): New file.
1835 * testsuite/17_intro/header_cassert.cc (test01): New file.
1836 * testsuite/17_intro/header_cstddef.cc (test01): New file.
1837 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
1838 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
1840 2001-03-05 scott snyder <snyder@fnal.gov>
1843 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
1845 * include/c_std/bits/std_cstdlib.h: ... to here.
1846 * testsuite/17_intro/header_cstdlib.cc: Add test.
1848 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
1850 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
1852 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
1854 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
1855 definition. Replace enum with static const variables.
1857 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
1858 throw specification, fix typos, use <static_cast>.
1859 (ctype<char>::scan_is): remove throw specification.
1860 (ctype<char>::scan_not): likewise.
1862 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
1863 (ctype<char>::do_toupper(char)): use <static_cast>.
1864 (ctype<char>::do_toupper(char *, const char *)): likewise.
1865 (ctype<char>::do_tolower(char)): likewise.
1866 (ctype<char>::do_tolower(char *, const char *)): likewise.
1868 2001-03-04 Phil Edwards <pme@sources.redhat.com>
1870 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
1871 * include/backward/algo.h: Use std not __STD. Remove unneeded
1872 macros and "never happens" code. Adjust to C++STYLE guidelines.
1873 * include/backward/algobase.h: Likewise.
1874 * include/backward/alloc.h: Likewise.
1875 * include/backward/bvector.h: Likewise.
1876 * include/backward/deque.h: Likewise.
1877 * include/backward/function.h: Likewise.
1878 * include/backward/hash_map.h: Likewise.
1879 * include/backward/hash_set.h: Likewise.
1880 * include/backward/hashtable.h: Likewise.
1881 * include/backward/heap.h: Likewise.
1882 * include/backward/iterator.h: Likewise.
1883 * include/backward/list.h: Likewise.
1884 * include/backward/map.h: Likewise.
1885 * include/backward/multimap.h: Likewise.
1886 * include/backward/multiset.h: Likewise.
1887 * include/backward/pair.h: Likewise.
1888 * include/backward/rope.h: Likewise.
1889 * include/backward/set.h: Likewise.
1890 * include/backward/slist.h: Likewise.
1891 * include/backward/stack.h: Likewise.
1892 * include/backward/strstream: Likewise.
1893 * include/backward/tempbuf.h: Likewise.
1894 * include/backward/tree.h: Likewise.
1895 * include/backward/vector.h: Likewise.
1896 * include/bits/basic_ios.h: Likewise.
1897 * include/bits/basic_ios.tcc: Likewise.
1898 * include/bits/basic_string.h: Likewise.
1899 * include/bits/c++config: Likewise.
1900 * include/bits/concept_checks.h: Likewise.
1901 * include/bits/fpos.h: Likewise.
1902 * include/bits/fstream.tcc: Likewise.
1903 * include/bits/functexcept.h: Likewise.
1904 * include/bits/ios_base.h: Likewise.
1905 * include/bits/istream.tcc: Likewise.
1906 * include/bits/mask_array.h: Likewise.
1907 * include/bits/ostream.tcc: Likewise.
1908 * include/bits/pthread_allocimpl.h: Likewise.
1909 * include/bits/sbuf_iter.h: Likewise.
1910 * include/bits/slice.h: Likewise.
1911 * include/bits/slice_array.h: Likewise.
1912 * include/bits/sstream.tcc: Likewise.
1913 * include/bits/std_bitset.h: Likewise.
1914 * include/bits/std_fstream.h: Likewise.
1915 * include/bits/std_iomanip.h: Likewise.
1916 * include/bits/std_ios.h: Likewise.
1917 * include/bits/std_istream.h: Likewise.
1918 * include/bits/std_iterator.h: Likewise.
1919 * include/bits/std_memory.h: Likewise.
1920 * include/bits/std_ostream.h: Likewise.
1921 * include/bits/std_sstream.h: Likewise.
1922 * include/bits/std_streambuf.h: Likewise.
1923 * include/bits/std_string.h: Likewise.
1924 * include/bits/std_valarray.h: Likewise.
1925 * include/bits/stl_algo.h: Likewise.
1926 * include/bits/stl_algobase.h: Likewise.
1927 * include/bits/stl_alloc.h: Likewise.
1928 * include/bits/stl_construct.h: Likewise.
1929 * include/bits/stl_deque.h: Likewise.
1930 * include/bits/stl_function.h: Likewise.
1931 * include/bits/stl_heap.h: Likewise.
1932 * include/bits/stl_iterator.h: Likewise.
1933 * include/bits/stl_iterator_base.h: Likewise.
1934 * include/bits/stl_list.h: Likewise.
1935 * include/bits/stl_map.h: Likewise.
1936 * include/bits/stl_multimap.h: Likewise.
1937 * include/bits/stl_multiset.h: Likewise.
1938 * include/bits/stl_numeric.h: Likewise.
1939 * include/bits/stl_pair.h: Likewise.
1940 * include/bits/stl_pthread_alloc.h: Likewise.
1941 * include/bits/stl_queue.h: Likewise.
1942 * include/bits/stl_raw_storage_iter.h: Likewise.
1943 * include/bits/stl_relops.h: Likewise.
1944 * include/bits/stl_set.h: Likewise.
1945 * include/bits/stl_stack.h: Likewise.
1946 * include/bits/stl_tempbuf.h: Likewise.
1947 * include/bits/stl_threads.h: Likewise.
1948 * include/bits/stl_tree.h: Likewise.
1949 * include/bits/stl_uninitialized.h: Likewise.
1950 * include/bits/stl_vector.h: Likewise.
1951 * include/bits/streambuf.tcc: Likewise.
1952 * include/bits/type_traits.h: Likewise.
1953 * include/bits/valarray_meta.h: Likewise.
1954 * include/ext/bvector: Likewise.
1955 * include/ext/hash_map: Likewise.
1956 * include/ext/hash_set: Likewise.
1957 * include/ext/ropeimpl.h: Likewise.
1958 * include/ext/slist: Likewise.
1959 * include/ext/stl_bvector.h: Likewise.
1960 * include/ext/stl_hash_fun.h: Likewise.
1961 * include/ext/stl_hashtable.h: Likewise.
1962 * include/ext/stl_rope.h: Likewise.
1963 * src/complex_io.cc: Likewise.
1964 * src/ios.cc: Likewise.
1965 * src/locale-inst.cc: Likewise.
1966 * src/locale.cc: Likewise.
1967 * src/localename.cc: Likewise.
1968 * src/misc-inst.cc: Likewise.
1969 * src/stdexcept.cc: Likewise.
1970 * src/stl-inst.cc: Likewise.
1971 * src/strstream.cc: Likewise.
1972 * src/valarray-inst.cc: Likewise.
1974 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
1976 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
1978 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1980 * include/bits/istream.tcc: change type of __extracted to __size_type
1982 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
1984 * src/wstring-inst.cc: New file.
1985 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
1986 (libinst_wstring_la_SOURCES): Remove.
1987 (libstdc___la_LIBADD): Remove libinst_wstring_la.
1988 (sources): Add wstring-inst.cc
1989 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
1992 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1994 * src/locale.cc: initialise __ret with zero
1995 * src/strstream.cc:cast gptr to int_type
1997 2001-03-01 Phil Edwards <pme@sources.redhat.com>
1999 * docs/html/faq/index.html: Update broken links.
2000 * docs/html/faq/index.txt: Regenerated.
2002 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
2005 * configure.target: Change irix* to irix6.5* in target_os table.
2007 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
2010 * include/bits/c++config (__GLIBCPP__): Bump number in
2011 anticipation of 2.92.
2013 * include/bits/codecvt.h: Fix typo.
2014 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
2016 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
2017 instantiations for stdio model.
2019 2001-02-28 Phil Edwards <pme@sources.redhat.com>
2021 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
2022 and GLIBCPP_CXXFLAGS as unused variables.
2023 * configure.host: Likewise.
2024 * configure.target: Likewise.
2025 * aclocal.m4: Regenerated.
2026 * configure: Regenerated.
2027 * Makefile.in: Regenerated.
2028 * libio/Makefile.in: Regenerated.
2029 * libmath/Makefile.in: Regenerated.
2030 * libsupc++/Makefile.in: Regenerated.
2031 * src/Makefile.in: Regenerated.
2033 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
2036 * include/bits/basic_file.h: Include basic_file_model.h.
2037 * config/c_io_libio.cc: Move to...
2038 * config/basic_file_libio.cc: Here.
2039 * config/basic_file_libio.h: New file.
2040 * config/c_io_stdio.cc: Move to...
2041 * config/basic_file_stdio.cc: Here.
2042 * config/basic_file_stdio.h: New file.
2043 * config/c_io_libio.h: Tweak.
2044 * config/c_io_stdio.h: Tweak.
2045 * src/Makefile.am (build_headers): Add basic_file_model.h.
2046 (sources): Add basic_file.cc, remove c++io.cc.
2047 * src/Makefile.in: Regenerate.
2048 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
2049 basic_file_model.h and basic_file.cc.
2050 * aclocal.m4: Regenerate.
2051 * configure: Regenerate.
2052 * testsuite/27_io/filebuf.cc (test05): Add regression.
2054 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
2057 * config/cpu/alpha/bits/atomicity.h: Change.
2058 * config/cpu/arm/bits/atomicit3y.h
2059 * config/cpu/generic/bits/atomicity.h
2060 * config/cpu/i386/bits/atomicity.h
2061 * config/cpu/i486/bits/atomicity.h
2062 * config/cpu/ia64/bits/atomicity.h
2063 * config/cpu/powerpc/bits/atomicity.h
2064 * config/cpu/sparc/sparc32/bits/atomicity.h
2065 * config/cpu/sparc/sparc64/bits/atomicity.h
2066 * config/os/aix/bits/atomicity.h
2067 * config/os/irix/bits/atomicity.h
2069 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
2071 * include/bits/std_stdexcept.h (runtime_error): Make string
2073 (logic_error): Same.
2074 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
2077 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
2081 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
2082 string object, not reference.
2083 (runtime_error::runtime_error): Same.
2084 * testsuite/19_diagnostics/stdexceptions.cc: New file.
2086 2001-02-26 Phil Edwards <pme@sources.redhat.com>
2088 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
2089 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
2090 diagnostics. Remove WFMT_FLAGS.
2091 * configure.in: Replace WFMT_FLAGS with diagnostics options.
2092 * libsupc++/Makefile.am: Likewise.
2093 * src/Makefile.am: Likewise.
2094 * aclocal.m4: Regenerated.
2095 * configure: Regenerated.
2096 * Makefile.in: Regenerated.
2097 * libio/Makefile.in: Regenerated.
2098 * libmath/Makefile.in: Regenerated.
2099 * libsupc++/Makefile.in: Regenerated.
2100 * src/Makefile.in: Regenerated.
2102 2001-02-26 Phil Edwards <pme@sources.redhat.com>
2104 Fixes libstdc++/2079
2105 * include/backward/iomanip.h: Expose <ios> manipulators to global
2107 * include/backward/iostream.h: Also expose std::ws.
2109 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
2111 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
2113 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
2115 * include/bits/codecvt.h: Use __builtin_alloca.
2116 * include/bits/ostream.tcc: Same.
2117 * include/bits/fstream.tcc: Same.
2119 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
2121 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
2123 2001-02-23 David Edelsohn <dje@watson.ibm.com>
2125 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
2127 2001-02-23 Phil Edwards <pme@sources.redhat.com>
2130 * include/backward/iostream.h: Expose std::flush in old headers.
2132 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2134 * mknumeric_limits: Remove special-casing on target. Use gcc
2135 instead of g++ to build gen-num-limits.cc
2137 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
2139 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
2141 * include/bits/codecvt.h: Use alloca instead of __extension__ for
2143 * include/bits/ostream.tcc: Same.
2144 * include/bits/std_ostream.h: Same.
2145 * include/bits/fstream.tcc: Same.
2146 * include/bits/locale_facets.tcc: Add typename.
2147 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
2149 2001-02-21 Phil Edwards <pme@sources.redhat.com>
2151 * tests_flags.in: Remove -n flag from call to echo.
2153 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
2155 * config/c_locale_gnu.h: Add clocale include.
2157 2001-02-20 Phil Edwards <pme@sources.redhat.com>
2159 * include/bits/stl_config.h: Remove file.
2160 * src/Makefile.am (base_headers): Remove from list.
2161 * configure: Regenerate.
2162 * Makefile.in: Ditto.
2163 * libio/Makefile.in: Ditto.
2164 * libmath/Makefile.in: Ditto.
2165 * libsupc++/Makefile.in: Ditto.
2166 * src/Makefile.in: Ditto.
2168 * include/bits/c++config: Move relevant macros to here.
2169 * include/backward/alloc.h: Include c++config.h instead.
2170 * include/backward/function.h: Ditto.
2171 * include/backward/heap.h: Ditto.
2172 * include/backward/pair.h: Ditto.
2173 * include/bits/pthread_allocimpl.h: Ditto.
2174 * include/bits/std_functional.h: Ditto.
2175 * include/bits/std_iterator.h: Ditto.
2176 * include/bits/std_numeric.h: Ditto.
2177 * include/bits/std_utility.h: Ditto.
2178 * include/bits/stl_algobase.h: Ditto.
2179 * include/bits/type_traits.h: Ditto.
2180 * src/stl-inst.cc: Ditto.
2182 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2184 * include/bits/basic_file.h: Add #pragma system_header
2185 * include/bits/basic_ios.h: Ditto.
2186 * include/bits/basic_string.h: Ditto.
2187 * include/bits/char_traits.h: Ditto.
2188 * include/bits/codecvt.h: Ditto.
2189 * include/bits/cpp_type_traits.h: Ditto.
2190 * include/bits/fpos.h: Ditto.
2191 * include/bits/gslice.h: Ditto.
2192 * include/bits/gslice_array.h: Ditto.
2193 * include/bits/indirect_array.h: Ditto.
2194 * include/bits/ios_base.h: Ditto.
2195 * include/bits/limits_generic.h: Ditto.
2196 * include/bits/locale_facets.h: Ditto.
2197 * include/bits/localefwd.h: Ditto.
2198 * include/bits/mask_array.h: Ditto.
2199 * include/bits/sbuf_iter.h: Ditto.
2200 * include/bits/sequence_concepts.h: Ditto.
2201 * include/bits/slice.h: Ditto.
2202 * include/bits/slice_array.h: Ditto.
2203 * include/bits/std_algorithm.h: Likewise.
2204 * include/bits/std_bitset.h: Likewise.
2205 * include/bits/std_complex.h: Likewise.
2206 * include/bits/std_deque.h: Likewise.
2207 * include/bits/std_fstream.h: Likewise.
2208 * include/bits/std_functional.h: Likewise.
2209 * include/bits/std_iomanip.h: Likewise.
2210 * include/bits/std_ios.h: Likewise.
2211 * include/bits/std_iosfwd.h: Likewise.
2212 * include/bits/std_iostream.h: Likewise.
2213 * include/bits/std_istream.h: Likewise.
2214 * include/bits/std_iterator.h: Likewise.
2215 * include/bits/std_list.h: Likewise.
2216 * include/bits/std_locale.h: Likewise.
2217 * include/bits/std_map.h: Likewise.
2218 * include/bits/std_memory.h: Likewise.
2219 * include/bits/std_numeric.h: Likewise.
2220 * include/bits/std_ostream.h: Likewise.
2221 * include/bits/std_queue.h: Likewise.
2222 * include/bits/std_set.h: Likewise.
2223 * include/bits/std_sstream.h: Likewise.
2224 * include/bits/std_stack.h: Likewise.
2225 * include/bits/std_stdexcept.h: Likewise.
2226 * include/bits/std_streambuf.h: Likewise.
2227 * include/bits/std_string.h: Likewise.
2228 * include/bits/std_utility.h: Likewise.
2229 * include/bits/std_valarray.h: Likewise.
2230 * include/bits/std_vector.h: Likewise.
2231 * include/bits/stringfwd.h: Likewise.
2232 * include/bits/type_traits.h: Likewise.
2233 * include/bits/valarray_array.h: Likewise.
2234 * include/bits/valarray_meta.h: Likewise.
2236 2001-02-19 Andreas Jaeger <aj@suse.de>
2238 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
2241 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
2244 * include/bits/std_ostream.h: Replaced usage of
2245 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
2246 * include/bits/char_traits.h: Removed non-standard
2247 methods that cannot be used elsewhere.
2250 * include/bits/basic_ios.h: Uncommented #include of
2254 * include/bits/codecvt.h: See next...
2255 * include/bits/fstream.tcc: See next...
2256 * include/bits/ostream.tcc: Add __extension__
2257 to variable-length arrays.
2260 * include/bits/localefwd.h: Changed int counter type to size_t.
2263 * include/bits/std_fstream.h: Added typedef for __ctype_type.
2265 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
2267 * testsuite/21_strings/char_traits.cc: Move to ...
2268 * testsuite/21_strings/char_traits_requirements.cc: ..here.
2269 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
2270 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
2272 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
2274 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
2277 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
2279 * include/bits/c++config: Revert.
2281 2001-02-15 Mark Mitchell <mark@codesourcery.com>
2283 * include/bits/istream.tcc: Use ios_base::iostate in place of
2284 iostate throughout. Insert `typename' keyword where necessary.
2285 * include/bits/ostream.tcc: Insert `typename' keyword where
2288 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
2290 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
2291 Define so library is compliant.
2293 2001-02-15 Anthony Green <green@redhat.com>
2295 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
2297 * aclocal.m4: Regenerate.
2298 * configure: Regenerate.
2300 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
2302 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
2303 Include ieeefp.h for fpclass on UnixWare{2,7}.
2304 * aclocal.m4: Regenerate.
2305 * configure: Regenerate.
2306 * mkcheck.in (size_command): Do without GNU-grep when using
2309 2001-02-15 Mark Mitchell <mark@codesourcery.com>
2311 Remove old ABI support from libsupc++.
2312 * libsupc++/cxxabi.h: Remove conditionally compiled code.
2313 * libsupc++/exception_support.cc: Likewise.
2314 * libsupc++/pure.cc: Likewise.
2315 * libsupc++/tinfo.cc: Likewise.
2316 * libsupc++/tinfo.h: Likewise.
2317 * libsupc++/tinfo2.cc: Likewise.
2318 * libsupc++/typeinfo: Likewise.
2319 * libsupc++/vec.cc: Likewise.
2321 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
2323 Add support for -fno-exceptions.
2324 * include/bits/exception_support.h: Remove.
2325 * include/bits/basic_string.h: Remove exception_support.
2326 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
2328 (string::substr): Same.
2329 * include/bits/basic_string.tcc (string::reserve): Replace
2330 __LENGTHERROR with __throw_length_error.
2331 (string::_S_create): Same.
2332 (string::resize): Same.
2333 (string::_M_replace): Same.
2334 (string::replace): Same.
2335 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
2336 (string::compare): Same.
2337 * include/bits/stl_vector.h: Remove exception_support.
2338 * src/Makefile.am (base_headers): Remove here.
2339 * src/Makefile.in: Regenerate.
2341 * include/bits/stl_range_errors.h: Remove.
2342 * include/bits/stl_deque.h: Use __throw_range_error.
2343 * include/bits/std_deque.h: Include functexcept.h.
2344 * include/bits/std_vector.h: Same.
2345 * src/Makefile.am (base_headers): Remove here.
2346 * src/Makefile.in: Regenerate.
2347 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
2348 * include/ext/bvector: Remove stl_range_errors.h
2350 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
2352 * include/bits/functexcept.h: New file.
2353 * src/functexcept.cc: New file. Definitions for function-based
2355 * src/Makefile.am (sources): Add functexcept.cc.
2356 * src/Makefile.in: Regenerate.
2358 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
2361 * include/bits/localefwd.h: Include functexcept.h.
2362 * include/bits/std_iosfwd.h: Same.
2364 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
2365 throw basic_ios::failure.
2366 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
2367 Use __throw_exception_again.
2368 (filebuf::_M_filebuf_init): Same.
2369 * include/bits/streambuf.tcc (__copy_streambufs): Same.
2370 * include/bits/ostream.tcc (ostream::operator<<): Same.
2371 * include/bits/istream.tcc (istream::operator>>): Same.
2372 * include/bits/basic_string.tcc (string::_M_mutate): Same.
2373 (string::_S_construct): Same.
2374 (string::_M_clone): Same.
2375 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
2377 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
2378 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
2379 __throw_exception_again.
2380 (locale::_Imp::_Imp(string, size_t): Same.
2381 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
2382 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
2383 (locale::locale(const char*)): Use __throw_runtime_error.
2384 (locale::classic): Use __throw_exception_again.
2385 (locale::_S_normalize_category): Use __throw_runtime_error.
2387 * src/stdexcept.cc: Remove cruft.
2389 * libsupc++/exception_defines.h: New file.
2390 * libsupc++/new_opnt.cc: Include exception_defines.h.
2391 * libsupc++/vec.cc: Same.
2392 (__cxa_vec_new2): Use __throw_exception_again.
2393 (__cxa_vec_new3): Same.
2394 (__cxa_vec_ctor): Same.
2395 (__cxa_vec_delete3): Same.
2396 (__cxa_vec_cctor): Same.
2397 (__cxa_vec_delete2): Same.
2398 (__cxa_vec_dtor): Same.
2399 * libsupc++/exception_support.cc: Include exception_defines.h. Only
2400 compile exception-handling bits if __EXCEPTIONS is defined.
2401 Remove old ABI support.
2402 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
2403 std::__throw_bad_alloc() instead of throw bad_alloc.
2404 * libsupc++/Makefile.am: Add exception_defines.h.
2405 * libsupc++/Makefile.in: Reformat.
2406 * libsupc++/*: Format.
2408 2001-02-15 Phil Edwards <pme@sources.redhat.com>
2410 * docs/html/configopts.html: Minor updates and typo fixes.
2411 * docs/html/faq/index.html: Updates of the "not really bugs" list.
2412 * docs/html/faq/index.txt: Regenerated.
2414 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
2416 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
2417 dejagnu/dg.exp. Adapt to log options used to run testcases.
2419 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2421 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
2424 2001-02-13 Dirk Mueller <dmuell@gmx.net>
2425 Phil Edwards <pme@sources.redhat.com>
2427 * include/backward/function.h: Do not use rel_ops for older
2429 * include/backward/pair.h: Likewise.
2431 2001-02-12 Mark Mitchell <mark@codesourcery.com>
2433 * src/locale.cc: Remove bogus locale::id definitions.
2435 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2437 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
2438 not _DEFINE_VALARRAY_OPERATOR which is not existent.
2440 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
2441 thinko in member initialisation.
2443 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
2445 * include/bits/std_valarray.h(valarray<>::shift): Avoid
2446 comparaison between signed and unsigned integer types.
2447 (valarray<>::cshift): Reformat.
2449 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
2451 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
2452 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
2453 * configure.in: Test for sigsetjmp.
2454 * configure, config.h.in: Rebuilt.
2456 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
2458 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
2459 lengths and strides.
2460 (__gslice_to_index): Document.
2462 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
2464 * include/bits/char_traits.h char_traits<char>::int_type: Change
2465 to `int' to match 21.1.3.1/2.
2467 * testsuite/21_strings/char_traits-int_type.C: New test.
2469 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
2471 * testsuite/Makefile.am: New file.
2473 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
2475 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
2477 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
2479 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
2481 2001-02-08 David Edelsohn <edelsohn@gnu.org>
2483 * configure.target (aix4*): Remove extra set of brackets.
2485 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
2488 * include/bits/stringfwd.h: New file.
2489 * include/bits/stl_string_fwd.h: Remove.
2490 * include/bits/localefwd.h: Remove declaration for allocator.
2491 * include/bits/std_iosfwd: Same.
2492 * include/bits/std_string.h: Include it.
2493 * include/bits/std_ios.h: Remove include.
2494 * include/bits/basic_string.h: Tweak.
2495 * libsupc++/new: Format.
2496 * src/Makefile.am (base_headers): Add stringfwd.h, remove
2498 * src/Makefile.in: Regenerate.
2499 * include/bits/std_stdexcept.h: Rewrite.
2500 * src/stdexcept.cc: Same.
2502 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
2504 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
2505 install locations too.
2506 * aclocal.m4: Regenerate.
2507 * configure.in: Remove USE_LIBDIR.
2508 * configure: Regenerate.
2509 * src/Makefile.am (toolexecdir): Simplify, use
2510 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
2511 * src/Makefile.in: Regenerate.
2512 * libsupc++/Makefile.am: Same.
2513 * libsupc++/Makefile.in: Regenerate.
2515 * src/Makefile.am: Just remove special rules for locale-inst.cc and
2516 misc-inst.cc as no longer necessary.
2518 Follow C++STYLE for naming non-static functions.
2519 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
2521 * include/bits/streambuf.tcc: Same.
2522 * include/bits/ostream.tcc: Same.
2523 * include/bits/istream.tcc: Same.
2524 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
2525 (_S_output_float): To __output_float.
2526 * include/bits/std_streambuf.h (_S_copy_streambufs): To
2528 * include/bits/locale_facets.tcc (_S_build_float_format): To
2529 __build_float_format.
2530 (_S_format): To __output_integer.
2531 (_S_fill): To __pad.
2532 * src/locale.cc: Same.
2533 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
2535 * include/bits/locale_facets.tcc (_S_group_digits): To
2537 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
2538 for collate, numpunct.
2540 2001-02-06 Phil Edwards <pme@sources.redhat.com>
2542 * docs/html/configopts.html: Fix HTML markup.
2543 * docs/html/install.html: Bring up to date.
2544 * docs/html/17_intro/C++STYLE: Add global variable conventions.
2545 * docs/html/21_strings/howto.html: More notes.
2546 * docs/html/22_locale/howto.html: Fix HTML markup.
2547 * docs/html/27_io/howto.html: More notes.
2548 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
2549 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
2551 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
2553 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
2554 to match header files.
2555 (_S_output_float): Likewise.
2556 (_S_copy_streambufs): Likewise.
2558 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
2559 Phil Edwards <pme@sources.redhat.com>
2561 * include/bits/std_istream.h (op>> signed,unsigned char): Must
2562 use reinterpret_cast, not static_cast.
2564 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
2566 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
2567 * aclocal.m4: Regenerate.
2568 * configure: Regenerate.
2570 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2572 * include/bits/locale_facets.h (class moneypunct): Fix typos.
2573 * libsupc++/pure.cc: Revert.
2575 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2577 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
2578 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
2579 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
2580 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
2581 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
2582 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
2583 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
2584 * aclocal.m4: Regenerate.
2585 * configure: Regenerate.
2587 2001-02-05 Mark Mitchell <mark@codesourcery.com>
2589 * include/bits/locale_facets.tcc: Remove `static' keyword on
2590 function definitions.
2591 * include/bits/std_streambuf.h: Likewise.
2592 * src/Makefile.am: Remove use of -fimplicit-templates.
2593 * src/Makefile.in: Regenerated.
2594 * src/locale-inst.cc: Explicitly instantiate more functions.
2595 * src/misc-inst.cc: Likewise.
2596 * src/string-inst.cc: Likewise.
2598 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2600 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
2601 macro. Consolidate all the bits to do with where includes might be
2603 * aclocal.m4: Regenerate.
2604 * configure.in: Use it.
2605 * configure: Regenerate.
2606 * src/Makefile.am (targetincludep): Use simplified rules.
2607 (targetincludep): Rename gxx_target_include_dir.
2608 (myincludep): Rename gxx_include_dir.
2609 * src/Makefile.in: Regenerate.
2610 * libsupc++/Makefile.am: Use simplified rules.
2611 * libsupc++/Makefile.in: Regenerate.
2613 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2615 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
2616 * include/c_std/bits/std_cctype.h: Same.
2617 * include/c_std/bits/std_cassert.h: Same.
2618 * include/c_std/bits/std_cstdarg.h: Same.
2619 * include/c_std/bits/std_cstddef.h: Same.
2621 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
2623 * include/c_std/bits/std_ctime.h: Same.
2624 * include/c_std/bits/std_clocale.h: Same.
2625 * include/c_std/bits/std_cmath.h: Same.
2626 * include/c_std/bits/std_csetjmp.h: Same.
2627 * include/c_std/bits/std_csignal.h: Same.
2628 * include/c_std/bits/std_cstring.h: Same.
2629 * include/c_std/bits/std_cstdlib.h: Same.
2630 * include/c_std/bits/std_cwchar.h: Same.
2632 2001-02-05 Phil Edwards <pme@sources.redhat.com>
2634 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
2636 2001-02-05 Mark Mitchell <mark@codesourcery.com>
2638 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
2639 (string::_S_construct): Likewise.
2641 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
2643 * testsuite/config/default.exp: New file.
2644 * testsuite/config: New directory.
2646 2001-02-04 Mark Mitchell <mark@codesourcery.com>
2648 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
2649 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
2650 whenever !__GXX_MERGED_TYPEINFO_NAMES.
2651 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
2653 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
2654 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2656 * Makefile.am (mkinstalldirs): Set.
2657 * src/Makefile.am (mkinstalldirs): Set.
2658 * libmath/Makefile.am (mkinstalldirs): Set.
2659 * libsup++/Makefile.am (mkinstalldirs): Set.
2660 * libio/Makefile.am (mkinstalldirs): Set.
2661 * */Makefile.in: Regenerate.
2663 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
2665 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
2666 * include/bits/localefwd.h: More initialization cleanups.
2668 2001-02-03 Jeffrey A Law <law@cygnus.com>
2670 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
2671 correctly targets with 16bit ints.
2672 (_S_ios_openmode_end): Similarly.
2673 (_S_ios_iostate_end): Similarly.
2674 (_S_ios_Seekdir_end): Similarly.
2676 2001-02-02 Phil Edwards <pme@sources.redhat.com>
2678 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
2680 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
2682 * configure.in (toplevel_srcdir, auxdir): Set.
2683 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
2684 * aclocal.m4, configure, Makefile.in: Rebuilt.
2685 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
2686 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
2687 * libsupc++-v3/Makefile.in: Rebuilt.
2688 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
2689 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
2691 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
2693 * config/c_locale_generic.cc: Remove langinfo include.
2695 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
2697 Preliminary named locales.
2698 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
2699 * aclocal.m4: Regenerate.
2700 * configure.in: Use it.
2701 * configure: Regerate.
2702 * src/Makefile.am (sources): Add c++locale.cc.
2703 (build_headers): Add c++locale.h.
2704 * src/Makefile.in: Regenerate.
2705 * config/c_locale_gnu.h: New file.
2706 * config/c_locale_gnu.cc: New file. Non-inline member functions
2707 for named locales, gnu-specific.
2708 * config/c_locale_generic.h: New file.
2709 * config/c_locale_generic.cc: New file. Non-inline member
2710 functions for named locales, generic version.
2711 * docs/html/configopts.html: Add documentation on new options.
2713 * include/bits/locale_facets.h (class _Messages): Remove.
2714 (class _Moneypunct): Remove.
2715 * src/locale-inst.cc: Remove.
2717 * include/bits/locale_facets.h (class _Collate): Remove.
2718 * src/locale-inst.cc (std): Remove.
2719 * src/locale.cc: And here.
2721 * include/bits/localefwd.h (locale::_M_coalesce): New
2722 function. Correctly put together multi-name locales.
2723 (_Impl(const _Impl&, category, size_t)): Remove.
2725 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
2727 (_M_normalize_category_names): Remove.
2728 (_M_replace_categories): Fix.
2730 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
2731 (locale::_Impl::_M_construct_ctype): Remove.
2732 (locale::_Impl::_M_construct_monetary): Remove.
2733 (locale::_Impl::_M_construct_numeric): Remove.
2734 (locale::_Impl::_M_construct_time): Remove.
2735 (locale::_Impl::_M_construct_messages): Remove.
2737 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
2738 (_Use_facet_failure_handle): Remove.
2739 * src/locale.cc: Remove definitions.
2740 * src/locale-inst.cc: And here.
2742 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
2744 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
2745 create and error-check underlying locale object.
2746 (locale::facet::_S_destroy_c_locale): Add, take care of properly
2747 tearing down underlying locale object.
2748 * include/bits/localefwd.h (locale::facet): Declare.
2749 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
2750 correctness, as glibc apparently has incorrect info in it. Test
2751 with it when it works again.....
2753 * include/bits/localefwd.h (locale::_Impl::__vec_string):
2754 Remove. Number of categories is fixed at six, so just simplify and
2755 make this an array of strings.
2756 (locale::_Impl::_M_has_name): Remove.
2757 (locale::_Impl::_M_name): Remove.
2758 (locale::_Impl::_M_category_names): Turns into...
2759 (locale::_Impl::_M_names): ...this.
2760 (locale::_Impl::_M_has_same_name()): New function.
2761 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
2762 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
2764 * src/locale.cc (locale::name()): Construct mangled name
2765 accurately reflecting combined locale categories.
2767 * src/locale.cc (locale::classic()): Don't initialize here.
2768 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
2769 __refs, bool __has_name, string __str): Do it here.
2771 * include/bits/localefwd.h: _S_categories_num to
2772 _S_num_categories. _S_facets_num to _S_num_facets.
2773 (locale::id::id()): Explicitly set _M_index to zero.
2774 * src/locale.cc: Same.
2776 * src/locale.cc: (locale::locale(const char*)): Construct named
2779 * src/locale.cc: Remove numpunct_byname ctors.
2780 * testsuite/22_locale/numpunct_byname.cc: New file.
2781 * testsuite/22_locale/numpunct.cc: New file.
2783 * include/bits/localefwd.h (class locale): Change data members to
2784 protected, from private.
2785 (_Impl::_M_get_c_locale): Add member function.
2786 (locale::facet::_M_get_global_impl()): Add member function.
2787 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
2788 a __c_locale pointer.
2789 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
2791 * testsuite/22_locale/members.cc: New file, test name and combine.
2793 * include/bits/locale_facets.h (class numpunct): Remove class
2794 _Punct and _Numpunct. Rewrite class numpunct to be correct for
2796 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
2797 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
2798 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
2799 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
2800 * testsuite/22_locale/numpunct_char_members.cc: New file.
2802 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
2804 * testsuite/README: Add more comment.
2805 * testsuite/lib/libstdc++.exp: Tweak comment.
2807 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
2809 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
2811 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
2813 * testsuite/21_strings/inserters_extractors.cc: Remove
2814 explicit reference to 'testsuite/'.
2816 2001-01-25 Richard Henderson <rth@redhat.com>
2818 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
2819 bits. Fixes Tru64 build issues.
2821 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2823 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
2824 (use ${MAKE-make}, not ${MAKE:-make}).
2825 * aclocal.m4, configure: Regenerate.
2827 2001-01-25 Mark Mitchell <mark@codesourcery.com>
2829 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
2832 * src/Makefile.am (sources): Add globals.cc.
2833 * src/Makefile.in: Regenerated.
2834 * src/globals.cc: New file.
2835 * src/ios.cc (cin): Don't define here, just declare extern.
2844 2001-01-25 Phil Edwards <pme@sources.redhat.com>
2846 * include/bits/std_iterator.h: Do not include stl_relops.h.
2847 * include/bits/std_numeric.h: Ditto.
2848 * include/bits/stl_algobase.h: Ditto.
2849 * include/bits/stl_relops.h: Add comment warning about problems.
2851 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
2853 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
2854 in testcases. Prepare for the DejaGnu based framework.
2855 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
2856 directory -- it is now mkcheck working directory.
2857 * tests_flags.in: Remove reference to $(top_srcdir). Use
2859 * Makefile.am (check, check-install): Change mkcheck invocation
2861 * Makefile.in: Regenerate.
2863 2001-01-24 Mark Mitchell <mark@codesourcery.com>
2865 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
2866 (__always_swap): Likewise.
2868 2001-01-23 Chris Demetriou <cgd@broadcom.com>
2870 * libsupc++/exception_support.cc (__terminate_func): Remove
2872 (__terminate_func_ptr): New typedef.
2873 (__terminate, __terminate_set_func): New extern function
2875 (std::terminate): Use __terminate function.
2876 (std::set_terminate): Use __terminate_set_func function.
2878 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
2880 * configure.target: Just use os_include_dir always.
2881 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
2882 Link atomicity files and ctype files here.
2883 * configure: Regenerate.
2884 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
2885 (GLIBCPP_ENABLE_ATOMICITY): Remove.
2886 * aclocal.m4: Regenerate.
2888 2001-01-23 Chris Demetriou <cgd@broadcom.com>
2890 * configure.in: Place definition of MULTISUBDIR in
2891 libsupc++/Makefile as is done for src/Makefile.
2892 * configure: Regenerate.
2894 2001-01-23 Phil Edwards <pme@sources.redhat.com>
2896 * acinclude.m4: Cosmetic changes only.
2897 * aclocal.m4: Regenerated.
2898 * configure: Regenerated.
2899 * configure.target: Update documented list of changed variables.
2900 * docs/html/install.html: Fix typo.
2901 * docs/html/20_util/howto.html: More notes on auto_ptr.
2902 * docs/html/27_io/howto.html: More notes on streabufs.
2903 * docs/html/faq/index.html: Add rel_ops problem and mention the
2904 DEC as(1) .subsection difficulty.
2905 * docs/html/faq/index.txt: Regenerated.
2907 2001-01-23 Mark Mitchell <mark@codesourcery.com>
2909 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
2910 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
2911 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
2912 its already provided in config.target.
2913 * aclocal.m4: Regenerated.
2914 * configure: Likewise.
2915 * configure.target: Set ctype_include_dir for lots of systems.
2916 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
2917 * libsupc++/Makefile.in: Regenerated.
2919 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
2921 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
2924 * testsuite/README: Add comment.
2926 2001-01-21 Phil Edwards <pme@sources.redhat.com>
2928 * docs/html/configopts.html: Update for current status. Fix HTML.
2929 * docs/html/install.html: Update for current status.
2931 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2933 * testsuite/libstdc++.tests/tests.exp: New file.
2934 * testsuite/lib/libstdc++.exp: Itou.
2935 * testsuite/README: Itou.
2937 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
2939 * tests_flags.in: Just output the bare minimum to run tests.
2940 Let's the caller do its own arrangement.
2942 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
2945 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
2947 * testsuite/17_intro: Prepare testcases for new style DejaGnu
2950 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
2952 * testsuite/libstdc++.tests, testsuite/lib: New directories.
2954 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
2956 * mkcheck.in: Construct file names that match $objdir structure.
2957 * testsuite/27_io/filebuf_members-1.txt: New file.
2958 * testsuite/27_io/ifstream_members-1.txt: New file.
2959 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
2961 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
2962 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
2964 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2966 * testsuite/27_io/istream_sentry.cc (test02): Fix.
2968 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
2971 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
2972 * src/ios.cc (ios_base::failure): Make definitions match.
2973 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
2974 (class bad_cast): Same.
2975 * libsupc++/exception (class exception): Add throw specs.
2976 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
2977 (set_unexpected): Same.
2978 (uncaught_exception): Same.
2981 * docs/html/17_intro/C++STYLE (classname): Fix.
2983 2001-01-16 Mark Mitchell <mark@codesourcery.com>
2985 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
2986 Use it do explicitly instantiate predicate<T> and value<T> for
2989 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
2991 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
2992 uninitialized thinko in last change.
2994 2001-01-16 Mark Mitchell <mark@codesourcery.com>
2996 * libsupc++/exception_support.cc (__cp_pop_exception): Change
2999 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
3001 * docs/html/17_intro/C++STYLE (classname): Add more existing
3002 and stylish patterns.
3005 * include/bits/istream.tcc (istream::sentry::sentry()): Set
3006 failbit if the state of the stream is not good.
3007 * testsuite/27_io/istream_sentry.cc (test02): Add test.
3008 * testsuite/27_io/istream_manip.cc (test01): Modify.
3011 reported by Paolo Carlini <pcarlini@unitus.it>
3012 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
3013 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
3016 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
3017 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
3018 (xsgetn): Same. Simplify.
3019 * testsuite/27_io/streambuf.cc (test04): Add testcases.
3021 reported by Larry Evans <jcampbell3@prodigy.net>
3022 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
3023 equality with eof on returned value from overflow.
3025 2001-01-14 Andreas Jaeger <aj@suse.de>
3027 * libio/libio.h: Add test for glibc 2.0.
3029 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
3031 * config/os/djgpp/bits/*: Fix dates.
3033 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
3034 _CharT* __end, _CharT __c): Remove.
3035 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
3036 * include/bits/char_traits.h: Tweak.
3038 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
3040 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
3041 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
3043 * aclocal.m4: regenerated.
3044 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
3045 * configure: regenerated.
3046 * config/os/djgpp, config/os/djgpp/bits: new directories.
3047 * config/os/djgpp/bits/ctype_base.h,
3048 config/os/djgpp/bits/ctype_inline.h,
3049 config/os/djgpp/bits/ctype_noninline.h,
3050 config/os/djgpp/bits/os_defines.h: new files.
3052 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
3054 * include/c_std/bits/std_cstdio.h: Undef printf.
3056 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
3058 * src/ios.cc: Fix typo: change cout->wcout.
3060 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
3061 * src/Makefile.in: Regenerate.
3063 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3065 * include/bits/std_complex.h: Fix a typo.
3067 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
3070 Fixes for libstdc++/1576
3071 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
3072 file, move contents into....
3073 * src/ios.cc: ...Here. Put defines for iostreams objects and
3074 initialization routines into one file to simplify DSO interaction.
3075 * include/bits/std_iostream.h: Touch.
3076 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
3077 * src/Makefile.am (sources): Remove stdstreams.cc.
3078 * src/Makefile.in: Regenerate.
3080 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3082 * tests_flags.in (check_directory): Fix typo.
3084 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3086 * include/bits/std_complex.h: Fix a typo.
3088 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
3090 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
3091 code path:) Remove magic constants and restructure to handle
3092 ctype.h bit mask layout changes more gracefully. (Make fast
3093 code path:) Use __maskrune (), if available.
3094 (is): Remove special case for digit and xdigit masks.
3096 2001-01-09 Robert Lipe <robertlipe@usa.net>
3098 * include/c_std/bits/std_ctime.h: Undefine difftime.
3100 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
3102 * src/gen-num-limits.cc (signal_adapter): New template function.
3103 (signal_handler): Use it, instead of signal.
3104 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
3105 require both tests to trap to set trap_flag.
3107 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
3109 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
3110 initialize mbstate_t member, name offset data members *off, not pos.
3111 * include/bits/fstream.tcc (filebuf::filebuf): Same.
3113 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
3115 reported by Chris G. Demetriou <cgd@sibyte.com>
3116 * configure.in: Change -linux-* to -linux*.
3117 * configure: Regenerate.
3119 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
3121 Fix 27_io/filebuf_members.cc
3122 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
3123 const string& __name, category __cat, size_t __refs): Set
3124 _M_has_name with _M_name.
3125 * include/bits/localefwd.h (locale::operator!=): Protect member
3126 function call with this->.
3127 * src/locale.cc (locale::operator==): Make fast checks first.
3128 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
3130 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
3132 * src/ios.cc (ios_base::Init::Init): Initialize here.
3133 (ios_base::sync_with_stdio): Set here.
3135 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
3137 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
3138 systems that support it, call dup() before fdopen().
3140 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
3142 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
3143 * testsuite/17_intro/header_cwctype.cc (main): New file.
3145 * src/Makefile.am (base_headers): Change.
3146 * include/bits/std_string.h: And here.
3147 * include/bits/string.tcc: Tweaks, move to...
3148 * include/bits/basic_string.tcc: ...Here.
3149 * src/string-inst.cc: Simplify, just instantiate the whole class,
3150 not member-by-member.
3152 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
3154 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
3155 * aclocal.m4: Regenerate.
3156 * configure: Regenerate.
3158 * include/bits/c++config (__GLIBCPP__): Bump version number.
3160 * ChangeLog: Start new log for year 2001
3161 * ChangeLog-2000: New file.
3163 * docs/html/configopts.html: Make sure default values are current,
3166 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
3168 * include/c_std/bits/std_cwchar.h: Same.
3169 * testsuite/17_intro/header_cwchar.cc: Same.
3170 * include/c_std/bits/std_ctime.h: Same.
3171 * testsuite/17_intro/header_ctime.cc: Same.
3172 * include/c_std/bits/std_cstdlib.h: Same.
3173 Clean up undefs, make consistent with cwchar and cmath, etc.
3174 * testsuite/17_intro/header_cstdlib.cc: Same.
3175 * include/c_std/bits/std_cstdio.h: Same here.
3176 * testsuite/17_intro/header_cstring.cc: Same.
3177 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
3178 * testsuite/17_intro/header_cstring.cc: New file. Check for
3179 size_t in namespace std.
3181 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
3182 * acconfig.h (HAVE_MBSTATE_T): Add.
3183 * config.h.in: Regenerate.
3184 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
3186 * aclocal.m4: Regenerate.
3187 * configure: Regenerate.
3188 * testsuite/17_intro/headers_c++.cc: New file.
3189 * testsuite/17_intro/headers_c.cc: Small changes.
3191 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
3193 * tests_flags.in: Fix typo in usage.
3195 * tests_flags.in: Set target specific LIBS for cygwin.