1 2001-06-26 Benjamin Kosnik <bkoz@fillmore.constant.com>
2 <vakatov@ncbi.nlm.nih.gov>
5 * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
6 * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
7 * testsuite/27_io/istream_extractor_other.cc: Fix.
9 2001-06-26 Zoltan Hidvegi <hzoli@austin.ibm.com>
11 * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
12 * aclocal.m4: Regenerate.
13 * configure: Regenerate.
15 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
17 * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
18 (ostream_iterator): Same.
19 * include/bits/stl_iterator.h (front_insert_iterator::operator=):
20 Change argument to const_reference.
21 (back_insert_iterator): Same.
23 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
25 * include/bits/sbuf_iter.h: Change to..
26 * include/bits/streambuf_iterator.h: This.
27 * include/bits/stl_iterator.h: Take out of here...
28 * include/bits/stream_iterator.h: Add.
29 * src/Makefile.am (base_headers): Add streambuf_iterator,
31 * src/Makefile.in: Regenerate.
32 * include/bits/std_string.h: Adjust includes.
33 * include/bits/basic_ios.h: Same.
34 * include/bits/locale_facets.tcc: Same.
35 * include/bits/std_iosfwd.h: Same.
37 * include/bits/std_iterator.h: Add istream, ostream includes.
38 * include/bits/stl_iterator.h: Tweak.
39 * testsuite/24_iterators/ostream_iterator.cc: Add test.
40 * testsuite/24_iterators/istream_iterator.cc: Same.
41 * testsuite/23_containers/multiset.cc: Add iterator include.
43 2001-06-26 Phil Edwards <pme@sources.redhat.com>
45 * acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
46 * aclocal.m4: Regenerate.
47 * configure: Regenerate.
49 2001-06-26 Felix Natter <f.natter@ndh.net>
51 * docs/html/17_intro/porting-howto.html: Fixed some errors.
53 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
55 * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
57 (istream_iterator::operator*): Same.
59 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
60 Alexandre Petit-Bianco <apbianco@redhat.com>
62 * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
65 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
67 * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
69 * include/bits/stl_iterator.h (istream_iterator): Inherit from
71 (ostream_iterator): Same.
72 * testsuite/24_iterators/istream_iterator.cc: New file.
73 * testsuite/24_iterators/ostream_iterator.cc: New file.
75 * include/bits/sbuf_iter.h: Remove self typedef.
76 * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
77 * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
79 * include/bits/stl_iterator.h (reverse_iterator): Remove
80 extraneous typedefs. Add typename.
81 (__normal_iterator): Remove typedefs referring to self. Add typename.
82 (reverse_bidiretional_iterator): Remove, not longer required.
84 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
86 * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
87 dependent names with `typename'. Bring in various required
88 iterator_traits members. Can't imagine why that used to work.
90 2001-06-25 Phil Edwards <pme@sources.redhat.com>
91 Kurt Garloff <garloff@suse.de>
94 * src/cmath.cc: New [version of an old] file; instantiate
95 __cmath_power to start with.
96 * src/Makefile.am (sources): Add cmath.cc (and alphabetize).
97 * Makefile.in: Regenerate.
98 * libio/Makefile.in: Regenerate.
99 * libmath/Makefile.in: Regenerate.
100 * libsupc++/Makefile.in: Regenerate.
101 * src/Makefile.in: Regenerate.
102 * testsuite/Makefile.in: Regenerate.
104 2001-06-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
106 * libmath/stubs.c: Fix thinko.
108 2001-06-24 David Edelsohn <dje@watson.ibm.com>
110 * libmath/stubs.c (sqrtf): Define.
111 (tanf): Correct typo.
113 2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
115 * include/bits/stl_iterator.h (reverse_iterator): Inherit from
117 (back_insert_iterator): Same.
118 (front_insert_iterator): Same.
119 (insert_iterator): Same.
121 * testsuite/20_util/raw_storage_iterator.cc: Modify.
122 * testsuite/24_iterators/reverse_iterator.cc: New file.
123 * testsuite/24_iterators/back_insert_iterator.cc: New file.
124 * testsuite/24_iterators/front_insert_iterator.cc: New file.
125 * testsuite/24_iterators/insert_iterator.cc: New file.
127 2001-06-22 Phil Edwards <pme@sources.redhat.com>
129 * include/*: Revert comment/license change from yesterday for all
130 except libsupc++/unwind-cxx.h.
131 * src/bitset.cc: Likewise.
132 * src/strstream.cc: Likewise.
134 2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
136 * libmath/stubs.c: New file.
140 * libmath/Makefile.am (libmath_la_SOURCES): Add.
141 * libmath/Makefile.in. Regenerate.
143 2001-06-21 Phil Edwards <pme@sources.redhat.com>
145 * include/backward/algo.h: Add "GPL plus runtime exception" comment.
146 * include/backward/algobase.h: Likewise.
147 * include/backward/alloc.h: Likewise.
148 * include/backward/bvector.h: Likewise.
149 * include/backward/defalloc.h: Likewise.
150 * include/backward/deque.h: Likewise.
151 * include/backward/function.h: Likewise.
152 * include/backward/hash_map.h: Likewise.
153 * include/backward/hash_set.h: Likewise.
154 * include/backward/hashtable.h: Likewise.
155 * include/backward/heap.h: Likewise.
156 * include/backward/iterator.h: Likewise.
157 * include/backward/list.h: Likewise.
158 * include/backward/map.h: Likewise.
159 * include/backward/multimap.h: Likewise.
160 * include/backward/multiset.h: Likewise.
161 * include/backward/pair.h: Likewise.
162 * include/backward/rope.h: Likewise.
163 * include/backward/set.h: Likewise.
164 * include/backward/slist.h: Likewise.
165 * include/backward/stack.h: Likewise.
166 * include/backward/strstream: Likewise.
167 * include/backward/tempbuf.h: Likewise.
168 * include/backward/tree.h: Likewise.
169 * include/backward/vector.h: Likewise.
170 * include/bits/pthread_allocimpl.h: Likewise.
171 * include/bits/std_algorithm.h: Likewise.
172 * include/bits/std_bitset.h: Likewise.
173 * include/bits/std_deque.h: Likewise.
174 * include/bits/std_functional.h: Likewise.
175 * include/bits/std_iterator.h: Likewise.
176 * include/bits/std_list.h: Likewise.
177 * include/bits/std_map.h: Likewise.
178 * include/bits/std_memory.h: Likewise.
179 * include/bits/std_numeric.h: Likewise.
180 * include/bits/std_queue.h: Likewise.
181 * include/bits/std_set.h: Likewise.
182 * include/bits/std_stack.h: Likewise.
183 * include/bits/std_utility.h: Likewise.
184 * include/bits/std_vector.h: Likewise.
185 * include/bits/stl_algo.h: Likewise.
186 * include/bits/stl_algobase.h: Likewise.
187 * include/bits/stl_alloc.h: Likewise.
188 * include/bits/stl_bvector.h: Likewise.
189 * include/bits/stl_construct.h: Likewise.
190 * include/bits/stl_deque.h: Likewise.
191 * include/bits/stl_function.h: Likewise.
192 * include/bits/stl_heap.h: Likewise.
193 * include/bits/stl_iterator.h: Likewise.
194 * include/bits/stl_iterator_base_funcs.h: Likewise.
195 * include/bits/stl_iterator_base_types.h: Likewise.
196 * include/bits/stl_list.h: Likewise.
197 * include/bits/stl_map.h: Likewise.
198 * include/bits/stl_multimap.h: Likewise.
199 * include/bits/stl_multiset.h: Likewise.
200 * include/bits/stl_numeric.h: Likewise.
201 * include/bits/stl_pair.h: Likewise.
202 * include/bits/stl_pthread_alloc.h: Likewise.
203 * include/bits/stl_queue.h: Likewise.
204 * include/bits/stl_raw_storage_iter.h: Likewise.
205 * include/bits/stl_relops.h: Likewise.
206 * include/bits/stl_set.h: Likewise.
207 * include/bits/stl_stack.h: Likewise.
208 * include/bits/stl_tempbuf.h: Likewise.
209 * include/bits/stl_threads.h: Likewise.
210 * include/bits/stl_tree.h: Likewise.
211 * include/bits/stl_uninitialized.h: Likewise.
212 * include/bits/stl_vector.h: Likewise.
213 * include/bits/type_traits.h: Likewise.
214 * include/ext/hash_map: Likewise.
215 * include/ext/hash_set: Likewise.
216 * include/ext/rope: Likewise.
217 * include/ext/ropeimpl.h: Likewise.
218 * include/ext/slist: Likewise.
219 * include/ext/stl_hash_fun.h: Likewise.
220 * include/ext/stl_hashtable.h: Likewise.
221 * include/ext/stl_rope.h: Likewise.
222 * libsupc++/unwind-cxx.h: Likewise.
223 * src/bitset.cc: Likewise.
224 * src/strstream.cc: Likewise.
226 2001-06-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
228 * include/bits/indirect_array.h (indirect_array<>::operator=):
229 Make copy and assignment operator public. Implement. Format.
231 * include/bits/valarray_array.h (__valarray_copy): Add overloads
232 for copy between index arrays. Format.
234 2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
236 * mknumeric_limits: Add static definitions, format.
237 * testsuite/18_support/numeric_limits.cc (test02): Add test.
239 * include/c_std/bits/std_cwchar.h: Include ctime.
240 * testsuite/17_intro/header_cwchar.cc : Check.
242 * include/c_std/bits/std_cwctype.h: Inject wctype.
243 * testsuite/17_intro/header_cwctype.cc: Update.
245 2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
247 * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
248 * testsuite/20_util/raw_storage_iterator.cc: Same.
250 * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
252 (__mem_interface): New typedef for switching between malloc and new.
253 * testsuite/20_util/allocator_members.cc: New file.
255 * testsuite/20_util/comparisons.cc: New file.
256 * testsuite/20_util/pairs.cc: New file.
258 2001-06-15 Phil Edwards <pme@sources.redhat.com>
260 * docs/html/documentation.html: Point to new doxygen'ed collection.
262 2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
264 * configure.in (auxdir): Replace by ...
265 (toprel): ... new variable.
266 (toplevel_srcdir): Construct from $toprel.
267 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
268 rather than .. to locate gcc source directory.
269 (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
270 * aclocal.m4, configure: Rebuilt.
272 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
274 (Approved by Mark and Benjamin. Applied by Loren.)
276 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
277 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
278 and _GLIBCPP_mutex_address.
279 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
280 once-only runtime initialization of _M_lock mutex when
281 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
282 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
283 for __GTHREAD_MUTEX_INIT_FUNCTION case.
285 2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
287 * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
289 * include/bits/slice_array.h (slice_array<>::operator=): Make
290 public and implement.
291 (slice_array<>::slice_array): Make copy-constructor public.
293 * include/bits/valarray_array.h (__valarray_copy): Add another
294 overload to copy between strided arrays.
296 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
298 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
299 * aclocal.m4: Regenerate.
300 * configure: Regenerate.
301 * include/bits/c++config (__GLIBCPP__): Update date.
303 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
305 * include/bits/fpos.h (fpos::operator-): Don't return reference,
306 return original, non-modified version.
307 (fpos::operator+): Same.
308 * testsuite/27_io/fpos.cc: Add test.
310 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
313 * porting.texi: Add documentation about libstdc++-v3-specific
314 macros that are currently included in os_defines.h files.
316 * config/basic_file_stdio.h (sys_getc): New method.
317 (sys_ungetc): New method.
318 * include/bits/basic_file.h: (sys_getc): New method signature.
319 (sys_ungetc): New method signature.
321 * include/bits/fstream.tcc (underflow): Add conditional code
322 paths which avoid using short seeks on streams (especially
323 useful when the stream might be interactive or a pipe). At
324 the moment, this alternate path only avoids seeking when the
325 ``buffer size'' of underflow() is 1 since the C standard only
326 guarantees buffer space for one ungetc (this technique could
327 be extended since *-*-solaris* supports buffering for 4 calls
328 to ungetc and *-*-*bsd* supports buffering limited only by
329 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
330 in a port's os_defines.h file for this alternate path to even
331 be considered. As a bonus, the idiom of using getc/ungetc
332 requires no system calls whereas fseek maps to one or two
333 system call(s) on many platforms.
335 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
337 * config/os/solaris/solaris2.5/bits/os_defines.h
338 (_GLIBCPP_AVOID_FSEEK): Likewise.
339 * config/os/solaris/solaris2.6/bits/os_defines.h
340 (_GLIBCPP_AVOID_FSEEK): Likewise.
341 * config/os/solaris/solaris2.7/bits/os_defines.h
342 (_GLIBCPP_AVOID_FSEEK): Likewise.
344 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
346 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
347 AC_TRY_COMPILE, so that the built compiler is checked, and
348 bootstraps or cross compiles with an older compile still work.
349 * aclocal.m4: Regenerate.
350 * configure: Regenerate.
352 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
355 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
358 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
361 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
364 * include/bits/limits_generic.h: Fix as per DR 184.
366 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
369 * include/bits/basic_string.h (string::compare): Adjust signatures
371 * include/bits/basic_string.tcc: And here.
374 * config/c_io_stdio.h: Remove whitespace.
375 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
376 (test02): Add regression.
377 * testsuite/27_io/istream_seeks-3.tst: New file.
379 2001-06-11 Phil Edwards <pme@sources.redhat.com>
381 * README: Update to reflect reality.
382 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
383 * configure.in: Make certain target_alias is set and subst'd for 2.50.
384 * aclocal.m4: Regenerate.
385 * configure: Regenerate (with 2.13).
387 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
390 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
392 * include/bits/istream.tcc (istream::seekg): Same.
393 * testsuite/27_io/istream_seeks.cc: Fix.
396 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
398 * include/bits/std_queue.h: Add c++config.h.
399 * testsuite/20_util/binders.cc: New test.
401 2001-06-11 Matthias Klose <doko@debian.org>
402 Phil Edwards <pme@sources.redhat.com>
404 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
405 (main script): Echo more information.
407 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
409 * include/c_std/bits/std_cwchar.h: Alphabetize.
410 * include/bits/char_traits.h: Tweak.
411 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
412 everything used by std_cwchar.h.
413 * aclocal.m4: Regenerate.
414 * configure.in: Regenerate.
415 * config.h.in: Regenerate.
417 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
419 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
420 Add checking for strtof, _Exit in stdlib.h
421 * aclocal.m4: Regenerate.
422 * configure.in: Regenerate.
423 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
424 (snprintf): Put C99 functions into __gnu_cxx namespace.
429 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
430 for C99 functions within _GLIBCPP_USE_C99 guard.
434 * include/bits/locale_facets.tcc: Check if C99 is enabled.
435 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
437 * include/c_std/bits/cmath.tcc: Formatting tweak.
438 * include/c_std/bits/std_cmath.h: Same.
440 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
442 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
444 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
445 Stephen L Moshier <moshier@mediaone.net>
447 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
448 nothing, as in autoconf 2.50.
449 * configure: Rebuilt.
451 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
453 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
455 * include/c_std/bits/std_ctime.h: Same.
456 * include/c_std/bits/std_cstring.h: Same.
457 * include/c_std/bits/std_cstdlib.h: Same.
459 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
460 * include/c_std/bits/std_cctype.h: Remove isblank.
462 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
464 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
466 * aclocal.m4: Regenerate.
467 * configure: Regenerate.
468 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
469 injection, guard fgetwc, fgetws.
470 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
471 * include/c_std/bits/std_clocale.h: And here.
472 * include/c_std/bits/std_cctype.h: And here.
473 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
475 * config/basic_file_stdio.h: Don't include unistd.h.
476 * config/c_io_stdio.h: Don't use compatibility headers.
477 * libsupc++/eh_terminate.cc: Qualify abort.
478 (__terminate): And here.
479 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
481 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
483 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
485 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
490 * include/std/*: Add copyright notice.
491 * include/c_std/bits/*: Use using statements instead of extern "C".
492 * include/c_std/bits/std_cmath.h: Don't overload double versions
493 of math functions with __buitin versions, use global version to
494 prevent ambiguities. Remove define hacks.
495 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
496 functions that have changed signatures and std::
497 declarations. Remove define hacks.
498 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
499 __builtins in std::. Remove define hacks.
500 * testsuite/17_intro/headers_c.cc: Add tests.
501 * testsuite/17_intro/headers_c++.cc: Add test.
503 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
504 John David Anglin <dave@hiauly1.hia.nrc.ca>
507 * libsupc++/eh_alloc.cc: Ensure that required macros are
508 defined before including gthr.h. Ensure that we get the
509 version of gthr.h for which we know how to provide a
511 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
512 code path into line with the current EH model. Use std, where
515 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
516 John David Anglin <dave@hiauly1.hia.nrc.ca>
518 * config/threads-no.h: Remove file.
519 * config/threads-posix.h: Remove file.
521 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
522 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
523 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
524 * config.h.in: Regenerate.
526 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
527 setup and use gthr*.h files. In particular, make gthr.h files
528 namespace-clean in the staging area (they don't have to be for
530 * aclocal.m4: Regenerate.
531 * configure: Regenerate.
533 * src/Makefile.am (build_headers): Remove bits/c++threads.h
534 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
535 * src/Makefile.in: Regenerate.
537 * include/bits/c++config: Cleanup threading configuration macros.
538 In particular, define __STL_GTHREADS macro which controls...
539 * include/bits/stl_threads.h: ...a brand new gthr.h-based
542 * config/c_io_stdio.h: Include staged gthr.h instead of local
543 thread configuration file. Always use __gthread_mutex_t
544 instead of __mutext_type (or int).
545 * include/bits/std_fstream.h: Likewise.
547 * docs/html/17_intro/howto.html: Remove placeholder comment in
548 case this configuration patch didn't make it. Add advice that
549 section only applies if configured with --enable-threads.
550 * docs/html/23_containers/howto.html: Reword to make clear
551 that _PTHREADS is no longer required for any port to be
552 correctly using STL with threads. Add advice that section
553 only applies if configured with --enable-threads.
555 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
557 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
559 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
562 * include/bits/basic_ios.tcc: Formatting tweaks.
563 * include/bits/ios_base.h: Formatting tweaks.
564 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
565 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
566 * src/globals.cc: Allocate filebufs for standard streams here.
567 (buf_cout, buf_cin, buf_cerr): Like so.
568 (buf_wcout, buf_wcin, buf_wcerr): And so.
569 * testsuite/27_io/ios_init.cc: Add.
571 2001-06-04 Brendan Kehoe <brendan@zen.org>
572 Benjamin Kosnik <bkoz@redhat.com>
575 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
576 for generic ctype virtuals.
577 * src/locale.cc: Minor tweaks, naming consistency.
578 * testsuite/22_locale/ctype.cc: Add test.
580 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
581 Phil Edwards <pme@sources.redhat.com>
583 PR libstdc++/3035 and PR libstdc++/3036
584 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
585 to LWG DR 181 and 265.
587 2001-06-04 Phil Edwards <pme@sources.redhat.com>
590 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
591 equal_range): Add const overloads as per LWG DR 214.
592 * include/bits/stl_set.h: Likewise.
594 2001-06-04 Brendan Kehoe <brendan@zen.org>
595 Phil Edwards <pme@sources.redhat.com>
598 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
599 comparison; all positions must be < _Nb.
600 * testsuite/23_containers/bitset_members.cc: New file.
602 2001-06-04 Brendan Kehoe <brendan@zen.org>
605 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
606 ctors to match the standard.
608 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
610 * include/bits/char_traits.h (move): Reverse qualification of
612 (copy): Reverse qualification of memcpy with std::.
614 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
616 * include/bits/char_traits.h (move): Qualify memmove with std::.
617 (copy): Qualify memcpy with std::.
618 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
621 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
623 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
625 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
626 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
627 SUN make VPATH peculiarities.
628 * libsupc++/Makefile.in: Regenerate.
630 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
632 * src/Makefile.am (VPATH): Delimit with ":", not space.
633 * src/Makefile.in: Regenerate.
635 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
637 * configure: Regenerate.
639 2001-05-31 scott snyder <snyder@fnal.gov>
642 * include/bits/istream.tcc: Include std_ostream.h.
644 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
647 * src/bitset.cc: Qualify size_t with std::.
649 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
651 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
652 (_GLIBCPP_BUGGY_COMPLEX): Remove.
653 * config.h.in: Regenerate.
654 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
655 * aclocal.m4: Regenerate.
656 * configure.in: Don't call it.
657 * configure: Regenerate.
660 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
661 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
665 * include/bits/std_complex.h: Include sstream. Put definitions for
666 complex inserters and extractors here, and remove them from...
667 * src/complex_io.cc: ...here.
668 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
670 (basic_ios::__numget_type): Same.
671 * include/bits/std_istream.h: Same.
672 * include/bits/std_ostream.h: Same.
673 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
674 class iterator template arguments.
675 * src/locale-inst.cc: Add explicit has_facet instantiations.
676 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
677 (_M_get_fnumput): Remove.
678 (_M_get_fnumget): Remove.
679 (basic_ios::_M_check_facet): New function.
680 (basic_ios::_M_cache_facets): New function.
681 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
682 (basic_ios::imbue): Call _M_cache_facets.
683 (basic_ios::init): Same.
684 * include/bits/istream.tcc: Format, use _M_check_facet.
685 * include/bits/ostream.tcc: Same.
686 * include/bits/locale_facets.tcc (__output_float): Change
687 signature, add _Traits.
688 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
691 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
693 * include/bits/c++config (__USE_MALLOC): Do not define it.
694 Document why not and give pointers to more information.
696 * docs/html/23_containers/howto.html: Update documentation
697 to reflect recent understanding of problem.
698 * docs/html/17_intro/howto.html: Likewise.
700 2001-05-30 Phil Edwards <pme@sources.redhat.com>
702 * docs/doxygen/user.cfg.in: Minor addition.
703 * docs/html/documentation.html: Reorganize. Put most-looked-at
705 * docs/html/install.html: Update for 3.0. HTML fixups.
706 * docs/html/17_intro/howto.html: Likewise.
707 * docs/html/18_support/howto.html: Likewise.
708 * docs/html/19_diagnostics/howto.html: Likewise.
709 * docs/html/20_util/howto.html: Likewise.
710 * docs/html/23_containers/howto.html: Likewise.
711 * docs/html/24_iterators/howto.html: Likewise. More notes.
712 * docs/html/25_algorithms/howto.html: Likewise.
713 * docs/html/26_numerics/howto.html: Likewise. More notes.
714 * docs/html/27_io/howto.html: Likewise.
715 * docs/html/ext/howto.html: Likewise.
716 * docs/html/faq/index.html: Likewise.
717 * docs/html/faq/index.txt: Regenerate.
718 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
719 Doxygen-created documentation.
721 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
723 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
724 get_multilibs to find gcc.
726 2001-05-30 Phil Edwards <pme@sources.redhat.com>
728 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
729 * aclocal.m4: Regenerate.
730 * configure: Regenerate.
732 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
734 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
735 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
737 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
739 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
740 * include/c_std/bits/std_cstdlib.h: Same.
741 * include/c_std/bits/std_cwchar.h: Same.
743 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
745 * docs/html/17_intro/howto.html: Update link.
746 * docs/html/23_containers/howto.html: Likewise. Add new link.
748 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
750 * include/c_std/bits/std_cmath.h (sqrt): #undef.
752 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
754 * mknumeric_limits: Stop if gen-num-limits dies.
756 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
759 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
760 * aclocal.m4: Regenerate.
763 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
764 Phil Edwards <pme@sources.redhat.com>
765 Alexandre Oliva <aoliva@redhat.com>
767 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
768 in an amd-safe manner. Revert glibcpp_prefixdir.
770 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
772 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
773 fabs, sin, sqrt. They are now implemented in terms of __builtin_
776 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
779 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
780 * include/bits/ostream.tcc: Format to match istream.tcc.
781 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
783 2001-05-24 Phil Edwards <pme@sources.redhat.com>
785 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
787 (__cxa_free_exception): Likewise with free.
789 2001-05-24 Mark Mitchell <mark@codesourcery.com>
791 * include/c_std/bin/std_cstring.h: #define away all global
792 functions we will redeclare in namespace `std'.
793 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
794 std::memset, instead of memset.
795 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
797 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
800 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
803 * include/bits/basic_ios.tcc: Small tweak.
804 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
805 ctors and dtors, and rdbuf settings.
808 * include/bits/std_sstream.h: Same, but for stringstream classes.
809 * testsuite/27_io/ostringstream_members.cc: New.
810 * testsuite/27_io/stringstream_members.cc: New.
811 * testsuite/27_io/fstream_members.cc: New.
812 * testsuite/27_io/ifstream_members.cc: Add test.
813 * testsuite/27_io/istringstream_members.cc: Add test.
814 * testsuite/27_io/ofstream_members.cc: Add test.
816 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
818 * include/bits/c++config(__NO_MATH_INLINES): Move to...
819 * config/os/gnu-linux/bits/os_defines.h: ...here.
821 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
823 * include/bits/c++config (__NO_MATH_INLINES): New macro.
824 * testsuite/26_numerics/fabs_inline.cc (main): New test.
826 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
829 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
831 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
832 (libstdc++-v3-finish): Remove.
833 (libstdc++-v3_exit): Remove.
835 2001-05-22 Phil Edwards <pme@sources.redhat.com>
837 * docs/html/documentation.html: Point to doxygen output.
839 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
841 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
843 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
844 arguments to be non-null.
845 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
846 try allocations if allocated size is greater than zero.
847 (filebuf::_M_filebuf_init): Change to
848 (filebuf::_M_allocate_file): Which is what it does now.
849 (filebuf::_M_allocate_bufers): Change to
850 (filebuf::_M_allocate_internal_buffer): This, and create
851 (filebuf::_M_allocate_pback_buffer): New.
852 (filebuf::_M_destroy_internal_buffer): New.
853 (filebuf::_M_buf_allocated): New data member.
854 (filebuf::setbuf): Use new logic, allow use of external buffer.
855 * testsuite/27_io/stringbuf_virtuals.cc: New file.
856 * testsuite/27_io/filebuf_virtuals.cc: New file.
858 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
860 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
862 (strchr): Same, but to __glibcpp_strchr.
866 * include/c_std/bits/std_cwchar.h (wcschr): Same.
872 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
874 * testsuite/21_strings/c_strings.cc (main): Fix.
876 2001-05-19 Phil Edwards <pme@sources.redhat.com>
878 * acinclude.m4: Fix --help spacing, correct comments.
879 * aclocal.m4: Regenerate.
880 * configure: Regenerate.
881 * mkcheck.in: Add usage comments.
882 * docs/html/documentation.html: Point to doxygen'd tarball.
884 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
886 * testsuite/README: Add notes.
888 * src/Makefile.am (libstdc++.INC): Remove.
889 * src/Makefile.in: Regenerate.
891 Phil Edwards <pedwards@disaster.jaj.com>
892 * mkcheck.in: Add missing '#'.
894 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
896 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
897 appropriately for remote testing and testing installed files without
900 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
902 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
903 amd glibcpp_prefixdir with absolute paths.
905 * include/bits/c++config (__GLIBCPP__): Bump.
906 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
908 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
910 * include/bits/std_valarray.h (valarray<>::operator[] const):
911 Return a const reference.
912 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
914 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
916 * configure.target (ATOMICITYH): Actually use AIX-specific code on
917 earlier versions of AIX 4.*.
919 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
921 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
922 output_file based on the name of the testcase.
924 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
926 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
927 gluefile and use it if needs_status_wrapper is set.
929 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
931 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
934 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
936 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
937 on earlier versions of AIX.
939 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
941 * testsuite_flags.in (query): Add backwards, ext directories.
943 2001-05-15 Mark Mitchell <mark@codesourcery.com>
945 * porting.texi: Correct documentation about handling
946 _LARRGEFILE_SOURCE and its ilk.
947 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
948 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
950 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
951 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
953 2001-05-15 Zack Weinberg <zackw@stanford.edu>
955 * testsuite/21_strings/inserters_extractors.cc,
956 testsuite/27_io/istream_unformatted.cc,
957 testsuite/27_io/stringstream.cc:
958 Replace multi-line string constants with C89-style
959 concatenated string constants.
961 2001-05-14 Richard Henderson <rth@redhat.com>
963 * mknumeric_limits: Build with -fno-exceptions.
965 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
967 Switch over to new harness.
968 * testsuite_flags.in: Tweaks via Gaby.
969 * testsuite/Makefile.am: Change tool to libstdc++-v3.
970 (EXPECT): Quote directly.
972 * configure.in: Output testsuite_flags.
973 * acinclude.m4: Substitute src, bld, and prefix dirs.
974 Remove glibcpp_expect, glibcpp_runtestflags.
975 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
976 * mkcheck.in: Port to new interface.
978 * aclocal.m4: Regerate.
979 * configure: Regnerate.
980 * Makefile.in: Regnerate.
981 * */Makefile.in: Regenerate.
983 * tests_flags.in: Remove.
984 * testsuite/lib/libstdc++.exp: Remove.
985 * testsuite/libstdc++.tests/tests.exp: Remove.
987 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
989 * configure.target: Remove detection of AIX pthread multilib, now
990 obtained from `gcc -v'.
992 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
994 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
995 size. Add hpux case for HP size.
997 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
999 * testsuite_flags.in: New, simplified interface.
1000 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
1001 * testsuite/libstdc++-v3.dg: Add.
1002 * testsuite/libstdc++-v3.dg/dg.exp: Add.
1004 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
1006 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
1007 * testsuite/config/default.exp: Update bugs email address.
1009 2001-05-11 Richard Henderson <rth@redhat.com>
1011 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
1012 all pointer encoding logic.
1013 (struct lsda_header_info): Add ttype_base.
1014 (get_ttype_entry): Use it instead of a context.
1015 (check_exception_spec): Likewise.
1016 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
1017 the c++ exception header for __cxa_call_unexpected.
1018 (__cxa_call_unexpected): Use it.
1020 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
1022 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
1023 libgloss_link_flags to find crt0.o for targets that use libgloss
1025 Change LDFLAGS to LIBS.
1026 Consistently name procedures libstdc++-XXX.
1027 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
1029 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
1031 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
1036 * include/c_std/bits/std_cwchar.h (wcschr): Same.
1041 * testsuite/21_strings/c_strings.cc: Add tests.
1043 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
1046 * include/bits/std_fstream.h (basic_filebuf): Change signature.
1047 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
1048 to int_type, pass in buffer size info.
1049 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
1050 unbuffered situation.
1051 (underflow): Remove codecvt bits for the time being.
1052 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
1053 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
1054 values from iterators, clean.
1055 * src/locale.cc: Ditto.
1056 * include/bits/sbuf_iter.h: Format.
1057 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
1058 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
1059 * testsuite/27_io/filebuf.cc: Tweaks.
1060 * testsuite/27_io/filebuf_members.cc: Tweaks.
1062 2001-05-07 Mark Mitchell <mark@codesourcery.com>
1064 * config/os/solaris/solaris2.7/bits/os_defines.h
1065 (_LARGEFILE_SOURCE): Define it.
1067 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
1069 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
1070 -prefer-non-pic depending on whether libtool has shared libraries
1071 enabled or disabled.
1072 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
1073 $(LIBSUPCXX_PICFLAGS).
1074 * configure, */Makefile.in: Rebuilt.
1076 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
1078 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
1079 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
1081 * include/bits/std_sstream.h (stringbuf): Leak
1083 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
1085 2001-05-01 Tom Browder <tbrowder@home.com>
1087 * docs/html/ext/howto.html: Fix typo.
1089 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
1091 * testsuite/libstdc++.tests/tests.exp: Add comment.
1093 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
1095 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
1097 2001-04-30 Mark Mitchell <mark@codesourcery.com>
1099 * porting.texi: Use the GFDL.
1101 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
1104 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
1105 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
1108 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
1111 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
1113 2001-04-28 Phil Edwards <pme@sources.redhat.com>
1115 * docs/doxygen/run_doxygen: Minor tweaks.
1116 * docs/doxygen/style.css: New file.
1117 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
1118 latest parameters available. Use style.css.
1120 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
1122 * docs/doxygen/mainpage.doxy: New.
1123 * docs/doxygen/user.cfg.in: Change default configuration. Single
1124 frame, other tweaks.
1126 2001-04-26 Mark Mitchell <mark@codesourcery.com>
1128 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
1129 Indicate obsolete nature of thelist for G++ 3.0.
1131 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
1133 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
1134 target_thread_file with `gcc -v'.
1135 * aclocal.m4, configure: Rebuilt.
1137 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
1139 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
1140 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
1141 * include/c_std/bits/std_cwchar.h (std): Same.
1142 * acconfig.h (std): Remove c99 injection into std.
1143 * config.h.in: Regenerate.
1145 * testsuite/README: Fix typo.
1147 * include/bits/codecvt.h: Remove warnings.
1149 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1151 * include/ext/slist: Include required header files.
1153 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
1155 * include/c_std/bits/std_cerrno.h (errno): Define macro from
1156 identifier declared with external linkage, if needed.
1157 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
1158 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
1160 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
1162 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
1163 re-configures find the build compiler.
1164 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
1166 * aclocal.m4: Regenerate.
1167 * configure: Regenerate.
1169 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
1171 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
1172 support is enabled correctly before long long is activated.
1173 * aclocal.m4: Regenerate.
1174 * configure: Regenerate.
1176 * include/backward/backward_warning.h: Format correctly.
1178 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
1179 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
1180 * testsuite/26_numerics/c99_macros.cc: Remove.
1182 2001-04-20 Phil Edwards <pme@sources.redhat.com>
1184 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
1185 __iterator_category.
1187 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
1189 * acconfig.h (_GLIBCPP_USE_C99): Add.
1190 * config.h.in: Regenerate.
1191 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
1193 * aclocal.m4: Regenerate.
1194 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
1195 * configure: Regenerate.
1196 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
1197 * configure: Regenerate.
1198 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
1200 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
1202 * include/c_std/bits/std_cstdlib.h: Same.
1203 * docs/html/configopts.html: Update.
1204 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
1206 (test_c99_classify): Add.
1207 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
1208 (_ISOC99_SOURCE): Remove.
1210 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
1211 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
1212 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
1213 * aclocal.m4: Regenerate.
1214 * configure: Regenerate.
1216 2001-04-19 Phil Edwards <pme@sources.redhat.com>
1218 * Makefile.am (doxygen): Assume script is missing execute perms.
1219 * Makefile.in: Regenerated.
1220 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
1222 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
1224 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
1226 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
1228 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
1229 * testsuite/23_containers/set_operators.cc: Same.
1231 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
1233 (__GLIBCPP__): Bump from value of last release.
1234 * include/bits/concept_check.h: Default to off, edit comments.
1235 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
1236 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
1237 * src/Makefile.in: Regenerate.
1239 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
1241 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
1242 Properly uglify member.
1244 2001-04-13 Phil Edwards <pme@sources.redhat.com>
1246 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
1250 2001-04-13 Phil Edwards <pme@sources.redhat.com>
1252 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
1253 * include/bits/concept_check.h: Uglify.
1254 * include/bits/stl_algo.h: Likewise.
1255 * include/bits/stl_algobase.h: Likewise.
1256 * include/bits/stl_deque.h: Likewise.
1257 * include/bits/stl_heap.h: Likewise.
1258 * include/bits/stl_iterator_base_funcs.h: Likewise.
1259 * include/bits/stl_list.h: Likewise.
1260 * include/bits/stl_map.h: Likewise.
1261 * include/bits/stl_multimap.h: Likewise.
1262 * include/bits/stl_multiset.h: Likewise.
1263 * include/bits/stl_numeric.h: Likewise.
1264 * include/bits/stl_queue.h: Likewise.
1265 * include/bits/stl_set.h: Likewise.
1266 * include/bits/stl_stack.h: Likewise.
1267 * include/bits/stl_vector.h: Likewise.
1268 * include/ext/hash_map: Likewise.
1269 * include/ext/hash_set: Likewise.
1270 * include/ext/slist: Likewise.
1272 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
1274 * testsuite/23_containers/set_operators.cc: Just try to compile.
1276 * testsuite/23_containers/map_operators.cc: Same.
1278 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
1280 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
1282 (dg-test): Revert rth's change.
1284 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
1286 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
1287 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
1289 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
1291 * testsuite/README: Add DejaGnu specific documentation.
1293 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
1295 * acinclude.m4: AC_CHECK_TOOL for expect.
1296 * aclocal.m4: Regenerate.
1297 * configure: Regenerate.
1298 * testsuite/Makefile.am (RUNTEST): Use substituted.
1301 * configure.in: Remove xcompiling substitution.
1302 * tests_flags.in (CROSS_LIB_PATH): Remove.
1303 (xcompiling): Remove.
1304 (CXX): Use substituted CXX.
1306 2001-04-11 Richard Henderson <rth@redhat.com>
1308 * testsuite/lib/libstdc++.exp: Specify path for output_file.
1310 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
1312 * include/bits/std_valarray.h(valarray<>::operator[]): Make
1315 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
1317 * testsuite/25_algorithms/equal.cc: New test.
1319 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
1321 * stl_algobase.h (std::equal): avoid use of possibly-undefined
1322 operator != (one line patch).
1324 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
1326 * include/backward/backward_warning.h: Re-enable.
1328 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
1329 Alexandre Oliva <aoliva@redhat.com>
1331 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
1333 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
1335 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
1336 * testsuite/26_numerics/c99_macros.cc: Add test.
1338 2001-04-06 Phil Edwards <pme@sources.redhat.com>
1340 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
1341 * docs/html/faq/index.txt: Regenerated.
1343 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
1345 * include/backward/backward_warning.h: Temporarily disable until
1346 g++ testsuite changes go in.
1347 * tests_flags.in (CROSS_LIB_PATH): Add.
1349 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
1351 Warn when using backward headers.
1352 * include/backward/algo.h: Include warning file.
1353 * include/backward/vector.h: Same.
1354 * include/backward/tree.h: Same.
1355 * include/backward/tempbuf.h: Same.
1356 * include/backward/strstream: Same.
1357 * include/backward/streambuf.h: Same.
1358 * include/backward/stream.h: Same.
1359 * include/backward/stack.h: Same.
1360 * include/backward/slist.h: Same.
1361 * include/backward/set.h: Same.
1362 * include/backward/rope.h:
1363 * include/backward/queue.h: Same.
1364 * include/backward/pair.h: Same.
1365 * include/backward/ostream.h: Same.
1366 * include/backward/new.h: Same.
1367 * include/backward/multiset.h: Same.
1368 * include/backward/multimap.h: Same.
1369 * include/backward/map.h: Same.
1370 * include/backward/list.h: Same.
1371 * include/backward/iterator.h: Same.
1372 * include/backward/istream.h: Same.
1373 * include/backward/iostream.h:
1374 * include/backward/iomanip.h:
1375 * include/backward/heap.h: Same.
1376 * include/backward/hashtable.h:
1377 * include/backward/hash_set.h:
1378 * include/backward/hash_map.h:
1379 * include/backward/function.h:
1380 * include/backward/fstream.h:
1381 * include/backward/deque.h:
1382 * include/backward/defalloc.h: Same.
1383 * include/backward/complex.h: Same.
1384 * include/backward/bvector.h:
1385 * include/backward/alloc.h:
1386 * include/backward/algobase.h: Same.
1388 * include/backward/backward_warning.h: New file.
1389 * src/Makefile.am (backward_headers): Add backward_warning.h
1390 * src/Makefile.in: Regenerate.
1392 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
1394 * src/Makefile.am (myinstalldirs): Make sure backward directory is
1396 (myinstallheaders): Install backward headers in backward directory.
1397 * src/Makefile.in: Regenerate.
1399 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
1401 Prepare for libstdc++-2.92.
1402 * docs/html/17_intro/RELEASE-NOTES (New): Update.
1403 * docs/html/configopts.html: Fix formatting.
1404 * README (file): Updates.
1405 * include/bits/c++config (__GLIBCPP__): Update.
1407 2001-04-05 Phil Edwards <pme@sources.redhat.com>
1409 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
1411 2001-04-04 Phil Edwards <pme@sources.redhat.com>
1413 * docs/doxygen/user.cfg.in: Extract all non-private members;
1414 reduce confusing documentation output.
1416 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
1418 * include/backward/fstream.h: Add missing semicolons.
1420 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
1422 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
1423 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
1424 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
1425 (ios_base::Init::_S_ios_create): New.
1426 (ios_base::Init::_S_ios_destroy): New.
1427 * include/bits/std_fstream.h: Change ctor args.
1428 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
1429 (ios_base::Init::~Init): Use _S_ios_destroy.
1430 (ios_base::sync_with_stdio): Use new members.
1431 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
1434 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1436 * include/backward/fstream.h: Expose streampos to global
1439 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1441 * include/bits/stl_iterator_base_types.h: Fix typo
1443 2001-04-03 Andreas Schwab <schwab@suse.de>
1445 * include/backward/fstream.h: Define filebuf and wfilebuf.
1447 2001-04-02 Phil Edwards <pme@sources.redhat.com>
1449 New concept checking implementation.
1450 * docs/html/19_diagnostics/howto.html: Document.
1451 * docs/html/17_intro/concept_check.diff: New file, for reference.
1452 * include/bits/boost_concept_check.h: New file from Boost.
1453 * include/bits/c++config: Update comments.
1455 * include/bits/concept_check.h: New file.
1456 * include/bits/concept_checks.h: Removed.
1457 * include/bits/container_concepts.h: Removed.
1458 * include/bits/sequence_concepts.h: Removed.
1459 * include/bits/stl_iterator_base.h: Removed; split into...
1460 * include/bits/stl_iterator_base_funcs.h: ...this new file...
1461 * include/bits/stl_iterator_base_types.h: ...and this new file.
1463 * include/bits/sbuf_iter.h: Update to use new implementation.
1464 * include/bits/std_iterator.h: Likewise.
1465 * include/bits/std_memory.h: Likewise.
1466 * include/bits/stl_algo.h: Likewise.
1467 * include/bits/stl_algobase.h: Likewise.
1468 * include/bits/stl_construct.h: Likewise.
1469 * include/bits/stl_deque.h: Likewise.
1470 * include/bits/stl_heap.h: Likewise.
1471 * include/bits/stl_list.h: Likewise.
1472 * include/bits/stl_map.h: Likewise.
1473 * include/bits/stl_multimap.h: Likewise.
1474 * include/bits/stl_multiset.h: Likewise.
1475 * include/bits/stl_numeric.h: Likewise.
1476 * include/bits/stl_queue.h: Likewise.
1477 * include/bits/stl_set.h: Likewise.
1478 * include/bits/stl_stack.h: Likewise.
1479 * include/bits/stl_uninitialized.h: Likewise.
1480 * include/bits/stl_vector.h: Likewise.
1481 * include/ext/hash_map: Likewise.
1482 * include/ext/hash_set: Likewise.
1483 * include/ext/slist: Likewise.
1484 * include/ext/stl_hashtable.h: Likewise.
1486 * src/Makefile.am (base_headers): Update list of headers.
1487 * Makefile.in: Regenerated.
1488 * src/Makefile.in: Regenerated.
1489 * libio/Makefile.in: Regenerated.
1490 * libmath/Makefile.in: Regenerated.
1491 * libsupc++/Makefile.in: Regenerated.
1492 * testsuite/Makefile.in: Regenerated.
1494 * docs/html/install.html: Update contact information.
1495 * docs/html/17_intro/howto.html: Ditto.
1496 * docs/html/18_support/howto.html: Ditto.
1497 * docs/html/20_util/howto.html: Ditto.
1498 * docs/html/21_strings/howto.html: Ditto.
1499 * docs/html/22_locale/howto.html: Ditto.
1500 * docs/html/23_containers/howto.html: Ditto.
1501 * docs/html/24_iterators/howto.html: Ditto.
1502 * docs/html/25_algorithms/howto.html: Ditto.
1503 * docs/html/26_numerics/howto.html: Ditto.
1504 * docs/html/27_io/howto.html: Ditto.
1505 * docs/html/faq/index.html: Ditto, plus info on new checking code.
1506 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
1507 * docs/html/faq/index.txt: Regenerated.
1509 2001-04-02 Zack Weinberg <zackw@stanford.edu>
1511 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
1512 messages with $which_library as well as $tool_flags and
1513 ${dg-extra-tool-flags}. Factor out annotation text into
1516 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
1518 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
1519 * include/c_std/bits/std_cwchar.h: Same.
1520 * testsuite/21_strings/c_strings.cc: Add.
1522 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
1524 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
1526 2001-04-01 Zack Weinberg <zackw@stanford.edu>
1528 * tests_flags.in: Use test a = b, not test a == b which is not
1531 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
1533 * configure.target: Remove duplicate aix entry.
1535 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
1537 * include/ext/stl_bvector.h: Move to...
1538 * include/bits/stl_vector.h: ...here.
1539 * include/ext/bvector: Move to...
1540 * include/backward/bvector.h: ...here.
1541 * include/bits/std_vector.h: Change stl_bvector include.
1542 * include/bits/std_queue.h: Remove bvector include.
1543 * include/ext/tree: Insert using rb_tree, move to...
1544 * include/backward/tree.h: ...here.
1545 * include/backward/hash_map.h: Include ext/hash_map.
1546 * include/backward/hash_set.h: Include ext/hash_set.
1547 * include/backward/queue.h: New file.
1548 * include/backward/stack.h: Edit.
1549 * include/backward/algo.h: Same.
1550 * include/backward/algobase.h: Same.
1551 * include/backward/alloc.h: Same.
1552 * include/backward/function.h: Same.
1553 * include/backward/iomanip.h: Same.
1554 * include/backward/istream.h: Same.
1555 * include/backward/iterator.h: Same.
1556 * include/backward/list.h: Same.
1557 * include/backward/map.h: Same.
1558 * include/backward/multimap.h: Same.
1559 * include/backward/multiset.h: Same.
1560 * include/backward/ostream.h: Same.
1561 * include/backward/pair.h: Same
1562 * include/backward/rope.h: Same.
1563 * include/backward/set.h: Same.
1564 * include/backward/stream.h: Same.
1565 * include/backward/strstream.h: Same.
1566 * include/backward/tempbuf.h: Same.
1567 * src/Makefile.am (ext_headers): Edit.
1568 * src/Makefile.in: Regenerate.
1569 * testsuite/ext/headers.cc (main): Fix.
1572 2001-03-30 Phil Edwards <pme@sources.redhat.com>
1574 * tests_flags.in (LIBS): Pass correct path for installed testing.
1576 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
1578 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
1579 * tests_flags.in (CXX): Construct here.
1580 (static_fail): Don't remove compile.out. Format with spaces.
1581 (INCLUDES): Deal with xcompiling.
1582 * configure.in (xcompiling): Substitute.
1583 * testsuite/Makefile.am: Snake libjava configury.
1584 * testsuite/Makefile.in: Regenerate.
1585 * testsuite/23_containers/map_operators.cc: Tweaks.
1586 * testsuite/23_containers/set_operators.cc: Tweaks.
1588 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1590 Enable dejagnu testing framework.
1591 * configure.in: Generate testsuite/Makefile.
1592 * configure: Regenerate.
1593 * Makefile.am (check-install): Change rule from this...
1594 (check-script-install): ...to this.
1595 (check): Change rule from this...
1596 (check-script):...to this.
1597 * Makefile.in: Regenerate.
1599 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
1601 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
1603 (LIBTOOL): Let automake take care of its definition.
1604 * libsupc++/Makefile.in: Rebuilt.
1606 2001-03-28 Richard Henderson <rth@redhat.com>
1608 IA-64 ABI Exception Handling:
1609 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
1610 * configure.in: Use it.
1611 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
1612 * libsupc++/Makefile.am (sources): Update files list.
1613 * libsupc++/Makefile.in: Regenerate.
1614 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
1615 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
1616 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
1617 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
1618 * libsupc++/exception_support.cc: Remove.
1619 * libsupc++/exception_support.h: Remove.
1620 * libsupc++/pure.cc: Use std::terminate.
1621 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
1622 (__is_pointer): Remove.
1623 * libsupc++/unwind-cxx.h: New file.
1624 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
1626 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
1628 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
1630 * src/Makefile.am (CXXLINK): Likewise.
1631 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
1633 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
1635 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
1637 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1639 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
1642 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
1644 * include/bits/basic_file.h (get_fileno): Remove.
1645 (_M_fileno): Remove.
1646 (_M_cfile_created): Add.
1647 (basic_file::basic_file(__c_file_type*, openmode): Add.
1648 (basic_file::basic_file(int, const char*, openmode): Remove.
1649 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
1650 const char*, ios_base::openmode): Don't allocate
1651 internal buffers. Turn off internal buffers.
1652 (basic_filebuf::overflow): Remove test for null buffer.
1653 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
1654 * include/bits/streambuf.cc: Tweak.
1655 * include/bits/std_ostream.h: Tweak.
1656 * config/basic_file_libio.h: Same.
1657 * config/basic_file_stdio.h: Same.
1658 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
1659 * testsuite/27_io/filebuf_members.cc: Tweaks.
1660 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
1662 2001-03-24 Phil Edwards <pme@sources.redhat.com>
1664 * Makefile.am: New targets, doxygen and doxygen-maint.
1665 * Makefile.in: Regenerated.
1666 * docs/doxygen/run_doxygen: Finally implemented.
1667 * docs/doxygen/maint.cfg.in: New file.
1668 * docs/doxygen/user.cfg.in: New file.
1670 2001-03-24 Phil Edwards <pme@sources.redhat.com>
1672 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
1673 * src/Makefile.am: Replace leading spaces with tabs on continuation
1675 * aclocal.m4: Regenerated.
1677 * Makefile.in: Ditto.
1678 * src/Makefile.in: Ditto.
1679 * libio/Makefile.in: Ditto.
1680 * libmath/Makefile.in: Ditto.
1681 * libsupc++/Makefile.in: Ditto.
1683 2001-03-24 Phil Edwards <pme@sources.redhat.com>
1685 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
1686 concept-checking code and current status of same.
1687 * docs/html/ext/howto.html: Ditto.
1688 * docs/html/faq/index.html: Ditto.
1689 * docs/html/faq/index.txt: Regenerated.
1691 2001-03-24 Phil Edwards <pme@sources.redhat.com>
1693 * include/bits/std_bitset.h: Include ostream and istream headers
1694 instead of iostream.
1696 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
1698 * include/bits/ostream.tcc: Use __builtin_alloca.
1700 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
1702 * src/misc-inst.cc (__sink_unused_warning): Move to...
1703 * src/locale-inst.cc (__sink_unused_warning): Move to...
1704 * src/stl-inst.cc: Here.
1705 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
1708 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1710 * intclude/bits/basic_file.h: Fix typos in comments.
1712 2001-03-20 Richard Henderson <rth@redhat.com>
1714 * src/gen-num-limits.cc: Instantiate for wchar_t.
1715 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
1717 2001-03-20 Jason Merrill <jason@redhat.com>
1719 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
1720 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
1721 * libsupc++/cxxabi.h: Declare it.
1723 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
1725 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
1726 signal_func with an unspecified argument list.
1728 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
1730 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
1732 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1734 * include/bits/basic_string.tcc (operator+): Fix thinko.
1736 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
1739 * include/bits/std_streambuf.h: Remove cached locale facets.
1740 (basic_streambuf::_M_buf_fctype): Remove.
1741 (basic_streambuf::~basic_streambuf): Remove here.
1742 (basic_streambuf::basic_streambuf): Same.
1743 (basic_streambuf::imbue): Same.
1744 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
1745 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
1746 (basic_filebuf::~basic_filebuf()): Remove here.
1747 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
1748 (basic_filebuf::imbue): Same.
1749 * include/bits/localefwd.h (_Count_ones): Remove.
1750 (locale::_S_num_categories): Just use 6, since this doesn't
1751 actually change, ever.
1752 * include/bits/locale_facets.tcc (has_facet): Simplify.
1754 * testsuite/27_io/filebuf.cc (test06): Add tests.
1756 2001-03-13 Steve Ellcey <sje@cup.hp.com>
1758 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
1759 match HP-UX ctype.h header file.
1761 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
1763 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
1764 duplicate definitions of __dj_ctype_*
1766 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
1768 * libsupc++/new: Remove pragma interface.
1769 * libsupc++/typeinfo: Same.
1770 * libsupc++/exception: Same.
1771 * libsupc++/new_handler.cc: Remove pragma implementation.
1772 (bad_alloc::~bad_alloc()): Add.
1773 * libsupc++/exception_support.cc: Same.
1774 (exception::~exception): Add.
1775 (bad_exception::~bad_exception): Add.
1776 * libsupc++/tinfo.cc: Same.
1777 (bad_cast::~bad_cast): Add.
1778 (bad_typeid::~bad_typeid): Add.
1780 2001-03-13 Phil Edwards <pme@sources.redhat.com>
1782 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
1784 2001-03-12 Felix Lee <flee@redhat.com>
1786 * mkcheck.in: workaround for bash 2.01 IFS bug.
1788 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
1790 Fixups for -fno-for-scope
1791 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
1792 * src/valarray-inst.cc (__gslice_to_index): Same.
1794 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
1796 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
1797 prior to trapping signal (UnixWare 7 workaround).
1799 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
1801 * include/backward/hashtable.h: Same.
1802 * include/backward/rope.h: Fix include.
1804 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
1806 * include/backward/vector.h: Include std_vector.h.
1808 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
1809 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
1812 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1814 * include/ext/stl_hashtable.h: Change type of __n to size_t
1815 * include/backward/bvector.h: Include <ext/stl_bvector.h>
1817 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1819 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
1820 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
1821 Use streamsize, not int_type.
1823 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
1825 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
1828 2001-03-08 Andreas Schwab <schwab@suse.de>
1830 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
1832 * aclocal.m4, configure: Regenerated.
1834 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
1836 * include/bits/std_iosfwd.h: Remove string forward decls here.
1837 * include/bits/stringfwd.h: Add forward decls for char_traits
1839 * config/c_io_libio.h (wstreamoff): Delete.
1840 * config/c_io_stdio.h (wstreamoff): Same.
1841 * include/bits/char_traits.h: Use streamoff not wstreamoff for
1842 char_traits<wchar_t>::off_type.
1843 Remove duplicate typedefs.
1844 * include/bits/fpos.h: Define streampos/wstreampos here.
1845 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
1848 Changeup output files.
1849 * testsuite/27_io/istream_unformatted.cc: Change output files.
1850 * testsuite/27_io/istream_seeks-1.txt: Add.
1851 * testsuite/27_io/istream_seeks-2.tst: Add.
1852 * testsuite/27_io/istream_seeks-1.tst: Add.
1853 * testsuite/27_io/istream_unformatted-2.tst: Delete.
1854 * testsuite/27_io/istream_unformatted-3.tst: Delete.
1855 * testsuite/27_io/istream_unformatted-3.txt: Delete.
1857 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
1859 Add Irix 5.2, 6.3 support.
1860 * config/os/irix/bits: Renamed to...
1861 * config/os/irix/irix6.5/bits: this.
1862 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
1863 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
1864 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
1865 * config/os/irix/irix5.2/bits/ctype_noninline.h
1866 (ctype<char>::ctype): Initialize _M_table with __ctype.
1867 * configure.target: Adjust.
1869 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
1872 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
1873 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
1875 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
1876 (*__pf)(__ios_type&)): Same.
1877 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
1878 (*__pf)(ios_base&))): Same.
1879 * testsuite/27_io/istream_extractor_other.cc: Add tests.
1880 * testsuite/27_io/istream_manip.cc (test01): Fix.
1882 2001-03-06 Nathan Myers <ncm@cantrip.org>
1883 Benjamin Kosnik <bkoz@redhat.com>
1885 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
1886 * testsuite/17_intro/header_cerrno.cc (test01): New file.
1887 * testsuite/17_intro/header_cassert.cc (test01): New file.
1888 * testsuite/17_intro/header_cstddef.cc (test01): New file.
1889 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
1890 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
1892 2001-03-05 scott snyder <snyder@fnal.gov>
1895 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
1897 * include/c_std/bits/std_cstdlib.h: ... to here.
1898 * testsuite/17_intro/header_cstdlib.cc: Add test.
1900 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
1902 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
1904 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
1906 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
1907 definition. Replace enum with static const variables.
1909 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
1910 throw specification, fix typos, use <static_cast>.
1911 (ctype<char>::scan_is): remove throw specification.
1912 (ctype<char>::scan_not): likewise.
1914 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
1915 (ctype<char>::do_toupper(char)): use <static_cast>.
1916 (ctype<char>::do_toupper(char *, const char *)): likewise.
1917 (ctype<char>::do_tolower(char)): likewise.
1918 (ctype<char>::do_tolower(char *, const char *)): likewise.
1920 2001-03-04 Phil Edwards <pme@sources.redhat.com>
1922 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
1923 * include/backward/algo.h: Use std not __STD. Remove unneeded
1924 macros and "never happens" code. Adjust to C++STYLE guidelines.
1925 * include/backward/algobase.h: Likewise.
1926 * include/backward/alloc.h: Likewise.
1927 * include/backward/bvector.h: Likewise.
1928 * include/backward/deque.h: Likewise.
1929 * include/backward/function.h: Likewise.
1930 * include/backward/hash_map.h: Likewise.
1931 * include/backward/hash_set.h: Likewise.
1932 * include/backward/hashtable.h: Likewise.
1933 * include/backward/heap.h: Likewise.
1934 * include/backward/iterator.h: Likewise.
1935 * include/backward/list.h: Likewise.
1936 * include/backward/map.h: Likewise.
1937 * include/backward/multimap.h: Likewise.
1938 * include/backward/multiset.h: Likewise.
1939 * include/backward/pair.h: Likewise.
1940 * include/backward/rope.h: Likewise.
1941 * include/backward/set.h: Likewise.
1942 * include/backward/slist.h: Likewise.
1943 * include/backward/stack.h: Likewise.
1944 * include/backward/strstream: Likewise.
1945 * include/backward/tempbuf.h: Likewise.
1946 * include/backward/tree.h: Likewise.
1947 * include/backward/vector.h: Likewise.
1948 * include/bits/basic_ios.h: Likewise.
1949 * include/bits/basic_ios.tcc: Likewise.
1950 * include/bits/basic_string.h: Likewise.
1951 * include/bits/c++config: Likewise.
1952 * include/bits/concept_checks.h: Likewise.
1953 * include/bits/fpos.h: Likewise.
1954 * include/bits/fstream.tcc: Likewise.
1955 * include/bits/functexcept.h: Likewise.
1956 * include/bits/ios_base.h: Likewise.
1957 * include/bits/istream.tcc: Likewise.
1958 * include/bits/mask_array.h: Likewise.
1959 * include/bits/ostream.tcc: Likewise.
1960 * include/bits/pthread_allocimpl.h: Likewise.
1961 * include/bits/sbuf_iter.h: Likewise.
1962 * include/bits/slice.h: Likewise.
1963 * include/bits/slice_array.h: Likewise.
1964 * include/bits/sstream.tcc: Likewise.
1965 * include/bits/std_bitset.h: Likewise.
1966 * include/bits/std_fstream.h: Likewise.
1967 * include/bits/std_iomanip.h: Likewise.
1968 * include/bits/std_ios.h: Likewise.
1969 * include/bits/std_istream.h: Likewise.
1970 * include/bits/std_iterator.h: Likewise.
1971 * include/bits/std_memory.h: Likewise.
1972 * include/bits/std_ostream.h: Likewise.
1973 * include/bits/std_sstream.h: Likewise.
1974 * include/bits/std_streambuf.h: Likewise.
1975 * include/bits/std_string.h: Likewise.
1976 * include/bits/std_valarray.h: Likewise.
1977 * include/bits/stl_algo.h: Likewise.
1978 * include/bits/stl_algobase.h: Likewise.
1979 * include/bits/stl_alloc.h: Likewise.
1980 * include/bits/stl_construct.h: Likewise.
1981 * include/bits/stl_deque.h: Likewise.
1982 * include/bits/stl_function.h: Likewise.
1983 * include/bits/stl_heap.h: Likewise.
1984 * include/bits/stl_iterator.h: Likewise.
1985 * include/bits/stl_iterator_base.h: Likewise.
1986 * include/bits/stl_list.h: Likewise.
1987 * include/bits/stl_map.h: Likewise.
1988 * include/bits/stl_multimap.h: Likewise.
1989 * include/bits/stl_multiset.h: Likewise.
1990 * include/bits/stl_numeric.h: Likewise.
1991 * include/bits/stl_pair.h: Likewise.
1992 * include/bits/stl_pthread_alloc.h: Likewise.
1993 * include/bits/stl_queue.h: Likewise.
1994 * include/bits/stl_raw_storage_iter.h: Likewise.
1995 * include/bits/stl_relops.h: Likewise.
1996 * include/bits/stl_set.h: Likewise.
1997 * include/bits/stl_stack.h: Likewise.
1998 * include/bits/stl_tempbuf.h: Likewise.
1999 * include/bits/stl_threads.h: Likewise.
2000 * include/bits/stl_tree.h: Likewise.
2001 * include/bits/stl_uninitialized.h: Likewise.
2002 * include/bits/stl_vector.h: Likewise.
2003 * include/bits/streambuf.tcc: Likewise.
2004 * include/bits/type_traits.h: Likewise.
2005 * include/bits/valarray_meta.h: Likewise.
2006 * include/ext/bvector: Likewise.
2007 * include/ext/hash_map: Likewise.
2008 * include/ext/hash_set: Likewise.
2009 * include/ext/ropeimpl.h: Likewise.
2010 * include/ext/slist: Likewise.
2011 * include/ext/stl_bvector.h: Likewise.
2012 * include/ext/stl_hash_fun.h: Likewise.
2013 * include/ext/stl_hashtable.h: Likewise.
2014 * include/ext/stl_rope.h: Likewise.
2015 * src/complex_io.cc: Likewise.
2016 * src/ios.cc: Likewise.
2017 * src/locale-inst.cc: Likewise.
2018 * src/locale.cc: Likewise.
2019 * src/localename.cc: Likewise.
2020 * src/misc-inst.cc: Likewise.
2021 * src/stdexcept.cc: Likewise.
2022 * src/stl-inst.cc: Likewise.
2023 * src/strstream.cc: Likewise.
2024 * src/valarray-inst.cc: Likewise.
2026 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
2028 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
2030 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2032 * include/bits/istream.tcc: change type of __extracted to __size_type
2034 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
2036 * src/wstring-inst.cc: New file.
2037 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
2038 (libinst_wstring_la_SOURCES): Remove.
2039 (libstdc___la_LIBADD): Remove libinst_wstring_la.
2040 (sources): Add wstring-inst.cc
2041 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
2044 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2046 * src/locale.cc: initialise __ret with zero
2047 * src/strstream.cc:cast gptr to int_type
2049 2001-03-01 Phil Edwards <pme@sources.redhat.com>
2051 * docs/html/faq/index.html: Update broken links.
2052 * docs/html/faq/index.txt: Regenerated.
2054 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
2057 * configure.target: Change irix* to irix6.5* in target_os table.
2059 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
2062 * include/bits/c++config (__GLIBCPP__): Bump number in
2063 anticipation of 2.92.
2065 * include/bits/codecvt.h: Fix typo.
2066 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
2068 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
2069 instantiations for stdio model.
2071 2001-02-28 Phil Edwards <pme@sources.redhat.com>
2073 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
2074 and GLIBCPP_CXXFLAGS as unused variables.
2075 * configure.host: Likewise.
2076 * configure.target: Likewise.
2077 * aclocal.m4: Regenerated.
2078 * configure: Regenerated.
2079 * Makefile.in: Regenerated.
2080 * libio/Makefile.in: Regenerated.
2081 * libmath/Makefile.in: Regenerated.
2082 * libsupc++/Makefile.in: Regenerated.
2083 * src/Makefile.in: Regenerated.
2085 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
2088 * include/bits/basic_file.h: Include basic_file_model.h.
2089 * config/c_io_libio.cc: Move to...
2090 * config/basic_file_libio.cc: Here.
2091 * config/basic_file_libio.h: New file.
2092 * config/c_io_stdio.cc: Move to...
2093 * config/basic_file_stdio.cc: Here.
2094 * config/basic_file_stdio.h: New file.
2095 * config/c_io_libio.h: Tweak.
2096 * config/c_io_stdio.h: Tweak.
2097 * src/Makefile.am (build_headers): Add basic_file_model.h.
2098 (sources): Add basic_file.cc, remove c++io.cc.
2099 * src/Makefile.in: Regenerate.
2100 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
2101 basic_file_model.h and basic_file.cc.
2102 * aclocal.m4: Regenerate.
2103 * configure: Regenerate.
2104 * testsuite/27_io/filebuf.cc (test05): Add regression.
2106 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
2109 * config/cpu/alpha/bits/atomicity.h: Change.
2110 * config/cpu/arm/bits/atomicit3y.h
2111 * config/cpu/generic/bits/atomicity.h
2112 * config/cpu/i386/bits/atomicity.h
2113 * config/cpu/i486/bits/atomicity.h
2114 * config/cpu/ia64/bits/atomicity.h
2115 * config/cpu/powerpc/bits/atomicity.h
2116 * config/cpu/sparc/sparc32/bits/atomicity.h
2117 * config/cpu/sparc/sparc64/bits/atomicity.h
2118 * config/os/aix/bits/atomicity.h
2119 * config/os/irix/bits/atomicity.h
2121 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
2123 * include/bits/std_stdexcept.h (runtime_error): Make string
2125 (logic_error): Same.
2126 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
2129 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
2133 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
2134 string object, not reference.
2135 (runtime_error::runtime_error): Same.
2136 * testsuite/19_diagnostics/stdexceptions.cc: New file.
2138 2001-02-26 Phil Edwards <pme@sources.redhat.com>
2140 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
2141 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
2142 diagnostics. Remove WFMT_FLAGS.
2143 * configure.in: Replace WFMT_FLAGS with diagnostics options.
2144 * libsupc++/Makefile.am: Likewise.
2145 * src/Makefile.am: Likewise.
2146 * aclocal.m4: Regenerated.
2147 * configure: Regenerated.
2148 * Makefile.in: Regenerated.
2149 * libio/Makefile.in: Regenerated.
2150 * libmath/Makefile.in: Regenerated.
2151 * libsupc++/Makefile.in: Regenerated.
2152 * src/Makefile.in: Regenerated.
2154 2001-02-26 Phil Edwards <pme@sources.redhat.com>
2156 Fixes libstdc++/2079
2157 * include/backward/iomanip.h: Expose <ios> manipulators to global
2159 * include/backward/iostream.h: Also expose std::ws.
2161 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
2163 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
2165 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
2167 * include/bits/codecvt.h: Use __builtin_alloca.
2168 * include/bits/ostream.tcc: Same.
2169 * include/bits/fstream.tcc: Same.
2171 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
2173 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
2175 2001-02-23 David Edelsohn <dje@watson.ibm.com>
2177 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
2179 2001-02-23 Phil Edwards <pme@sources.redhat.com>
2182 * include/backward/iostream.h: Expose std::flush in old headers.
2184 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2186 * mknumeric_limits: Remove special-casing on target. Use gcc
2187 instead of g++ to build gen-num-limits.cc
2189 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
2191 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
2193 * include/bits/codecvt.h: Use alloca instead of __extension__ for
2195 * include/bits/ostream.tcc: Same.
2196 * include/bits/std_ostream.h: Same.
2197 * include/bits/fstream.tcc: Same.
2198 * include/bits/locale_facets.tcc: Add typename.
2199 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
2201 2001-02-21 Phil Edwards <pme@sources.redhat.com>
2203 * tests_flags.in: Remove -n flag from call to echo.
2205 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
2207 * config/c_locale_gnu.h: Add clocale include.
2209 2001-02-20 Phil Edwards <pme@sources.redhat.com>
2211 * include/bits/stl_config.h: Remove file.
2212 * src/Makefile.am (base_headers): Remove from list.
2213 * configure: Regenerate.
2214 * Makefile.in: Ditto.
2215 * libio/Makefile.in: Ditto.
2216 * libmath/Makefile.in: Ditto.
2217 * libsupc++/Makefile.in: Ditto.
2218 * src/Makefile.in: Ditto.
2220 * include/bits/c++config: Move relevant macros to here.
2221 * include/backward/alloc.h: Include c++config.h instead.
2222 * include/backward/function.h: Ditto.
2223 * include/backward/heap.h: Ditto.
2224 * include/backward/pair.h: Ditto.
2225 * include/bits/pthread_allocimpl.h: Ditto.
2226 * include/bits/std_functional.h: Ditto.
2227 * include/bits/std_iterator.h: Ditto.
2228 * include/bits/std_numeric.h: Ditto.
2229 * include/bits/std_utility.h: Ditto.
2230 * include/bits/stl_algobase.h: Ditto.
2231 * include/bits/type_traits.h: Ditto.
2232 * src/stl-inst.cc: Ditto.
2234 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2236 * include/bits/basic_file.h: Add #pragma system_header
2237 * include/bits/basic_ios.h: Ditto.
2238 * include/bits/basic_string.h: Ditto.
2239 * include/bits/char_traits.h: Ditto.
2240 * include/bits/codecvt.h: Ditto.
2241 * include/bits/cpp_type_traits.h: Ditto.
2242 * include/bits/fpos.h: Ditto.
2243 * include/bits/gslice.h: Ditto.
2244 * include/bits/gslice_array.h: Ditto.
2245 * include/bits/indirect_array.h: Ditto.
2246 * include/bits/ios_base.h: Ditto.
2247 * include/bits/limits_generic.h: Ditto.
2248 * include/bits/locale_facets.h: Ditto.
2249 * include/bits/localefwd.h: Ditto.
2250 * include/bits/mask_array.h: Ditto.
2251 * include/bits/sbuf_iter.h: Ditto.
2252 * include/bits/sequence_concepts.h: Ditto.
2253 * include/bits/slice.h: Ditto.
2254 * include/bits/slice_array.h: Ditto.
2255 * include/bits/std_algorithm.h: Likewise.
2256 * include/bits/std_bitset.h: Likewise.
2257 * include/bits/std_complex.h: Likewise.
2258 * include/bits/std_deque.h: Likewise.
2259 * include/bits/std_fstream.h: Likewise.
2260 * include/bits/std_functional.h: Likewise.
2261 * include/bits/std_iomanip.h: Likewise.
2262 * include/bits/std_ios.h: Likewise.
2263 * include/bits/std_iosfwd.h: Likewise.
2264 * include/bits/std_iostream.h: Likewise.
2265 * include/bits/std_istream.h: Likewise.
2266 * include/bits/std_iterator.h: Likewise.
2267 * include/bits/std_list.h: Likewise.
2268 * include/bits/std_locale.h: Likewise.
2269 * include/bits/std_map.h: Likewise.
2270 * include/bits/std_memory.h: Likewise.
2271 * include/bits/std_numeric.h: Likewise.
2272 * include/bits/std_ostream.h: Likewise.
2273 * include/bits/std_queue.h: Likewise.
2274 * include/bits/std_set.h: Likewise.
2275 * include/bits/std_sstream.h: Likewise.
2276 * include/bits/std_stack.h: Likewise.
2277 * include/bits/std_stdexcept.h: Likewise.
2278 * include/bits/std_streambuf.h: Likewise.
2279 * include/bits/std_string.h: Likewise.
2280 * include/bits/std_utility.h: Likewise.
2281 * include/bits/std_valarray.h: Likewise.
2282 * include/bits/std_vector.h: Likewise.
2283 * include/bits/stringfwd.h: Likewise.
2284 * include/bits/type_traits.h: Likewise.
2285 * include/bits/valarray_array.h: Likewise.
2286 * include/bits/valarray_meta.h: Likewise.
2288 2001-02-19 Andreas Jaeger <aj@suse.de>
2290 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
2293 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
2296 * include/bits/std_ostream.h: Replaced usage of
2297 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
2298 * include/bits/char_traits.h: Removed non-standard
2299 methods that cannot be used elsewhere.
2302 * include/bits/basic_ios.h: Uncommented #include of
2306 * include/bits/codecvt.h: See next...
2307 * include/bits/fstream.tcc: See next...
2308 * include/bits/ostream.tcc: Add __extension__
2309 to variable-length arrays.
2312 * include/bits/localefwd.h: Changed int counter type to size_t.
2315 * include/bits/std_fstream.h: Added typedef for __ctype_type.
2317 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
2319 * testsuite/21_strings/char_traits.cc: Move to ...
2320 * testsuite/21_strings/char_traits_requirements.cc: ..here.
2321 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
2322 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
2324 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
2326 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
2329 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
2331 * include/bits/c++config: Revert.
2333 2001-02-15 Mark Mitchell <mark@codesourcery.com>
2335 * include/bits/istream.tcc: Use ios_base::iostate in place of
2336 iostate throughout. Insert `typename' keyword where necessary.
2337 * include/bits/ostream.tcc: Insert `typename' keyword where
2340 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
2342 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
2343 Define so library is compliant.
2345 2001-02-15 Anthony Green <green@redhat.com>
2347 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
2349 * aclocal.m4: Regenerate.
2350 * configure: Regenerate.
2352 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
2354 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
2355 Include ieeefp.h for fpclass on UnixWare{2,7}.
2356 * aclocal.m4: Regenerate.
2357 * configure: Regenerate.
2358 * mkcheck.in (size_command): Do without GNU-grep when using
2361 2001-02-15 Mark Mitchell <mark@codesourcery.com>
2363 Remove old ABI support from libsupc++.
2364 * libsupc++/cxxabi.h: Remove conditionally compiled code.
2365 * libsupc++/exception_support.cc: Likewise.
2366 * libsupc++/pure.cc: Likewise.
2367 * libsupc++/tinfo.cc: Likewise.
2368 * libsupc++/tinfo.h: Likewise.
2369 * libsupc++/tinfo2.cc: Likewise.
2370 * libsupc++/typeinfo: Likewise.
2371 * libsupc++/vec.cc: Likewise.
2373 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
2375 Add support for -fno-exceptions.
2376 * include/bits/exception_support.h: Remove.
2377 * include/bits/basic_string.h: Remove exception_support.
2378 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
2380 (string::substr): Same.
2381 * include/bits/basic_string.tcc (string::reserve): Replace
2382 __LENGTHERROR with __throw_length_error.
2383 (string::_S_create): Same.
2384 (string::resize): Same.
2385 (string::_M_replace): Same.
2386 (string::replace): Same.
2387 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
2388 (string::compare): Same.
2389 * include/bits/stl_vector.h: Remove exception_support.
2390 * src/Makefile.am (base_headers): Remove here.
2391 * src/Makefile.in: Regenerate.
2393 * include/bits/stl_range_errors.h: Remove.
2394 * include/bits/stl_deque.h: Use __throw_range_error.
2395 * include/bits/std_deque.h: Include functexcept.h.
2396 * include/bits/std_vector.h: Same.
2397 * src/Makefile.am (base_headers): Remove here.
2398 * src/Makefile.in: Regenerate.
2399 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
2400 * include/ext/bvector: Remove stl_range_errors.h
2402 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
2404 * include/bits/functexcept.h: New file.
2405 * src/functexcept.cc: New file. Definitions for function-based
2407 * src/Makefile.am (sources): Add functexcept.cc.
2408 * src/Makefile.in: Regenerate.
2410 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
2413 * include/bits/localefwd.h: Include functexcept.h.
2414 * include/bits/std_iosfwd.h: Same.
2416 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
2417 throw basic_ios::failure.
2418 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
2419 Use __throw_exception_again.
2420 (filebuf::_M_filebuf_init): Same.
2421 * include/bits/streambuf.tcc (__copy_streambufs): Same.
2422 * include/bits/ostream.tcc (ostream::operator<<): Same.
2423 * include/bits/istream.tcc (istream::operator>>): Same.
2424 * include/bits/basic_string.tcc (string::_M_mutate): Same.
2425 (string::_S_construct): Same.
2426 (string::_M_clone): Same.
2427 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
2429 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
2430 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
2431 __throw_exception_again.
2432 (locale::_Imp::_Imp(string, size_t): Same.
2433 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
2434 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
2435 (locale::locale(const char*)): Use __throw_runtime_error.
2436 (locale::classic): Use __throw_exception_again.
2437 (locale::_S_normalize_category): Use __throw_runtime_error.
2439 * src/stdexcept.cc: Remove cruft.
2441 * libsupc++/exception_defines.h: New file.
2442 * libsupc++/new_opnt.cc: Include exception_defines.h.
2443 * libsupc++/vec.cc: Same.
2444 (__cxa_vec_new2): Use __throw_exception_again.
2445 (__cxa_vec_new3): Same.
2446 (__cxa_vec_ctor): Same.
2447 (__cxa_vec_delete3): Same.
2448 (__cxa_vec_cctor): Same.
2449 (__cxa_vec_delete2): Same.
2450 (__cxa_vec_dtor): Same.
2451 * libsupc++/exception_support.cc: Include exception_defines.h. Only
2452 compile exception-handling bits if __EXCEPTIONS is defined.
2453 Remove old ABI support.
2454 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
2455 std::__throw_bad_alloc() instead of throw bad_alloc.
2456 * libsupc++/Makefile.am: Add exception_defines.h.
2457 * libsupc++/Makefile.in: Reformat.
2458 * libsupc++/*: Format.
2460 2001-02-15 Phil Edwards <pme@sources.redhat.com>
2462 * docs/html/configopts.html: Minor updates and typo fixes.
2463 * docs/html/faq/index.html: Updates of the "not really bugs" list.
2464 * docs/html/faq/index.txt: Regenerated.
2466 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
2468 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
2469 dejagnu/dg.exp. Adapt to log options used to run testcases.
2471 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2473 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
2476 2001-02-13 Dirk Mueller <dmuell@gmx.net>
2477 Phil Edwards <pme@sources.redhat.com>
2479 * include/backward/function.h: Do not use rel_ops for older
2481 * include/backward/pair.h: Likewise.
2483 2001-02-12 Mark Mitchell <mark@codesourcery.com>
2485 * src/locale.cc: Remove bogus locale::id definitions.
2487 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2489 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
2490 not _DEFINE_VALARRAY_OPERATOR which is not existent.
2492 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
2493 thinko in member initialisation.
2495 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
2497 * include/bits/std_valarray.h(valarray<>::shift): Avoid
2498 comparaison between signed and unsigned integer types.
2499 (valarray<>::cshift): Reformat.
2501 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
2503 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
2504 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
2505 * configure.in: Test for sigsetjmp.
2506 * configure, config.h.in: Rebuilt.
2508 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
2510 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
2511 lengths and strides.
2512 (__gslice_to_index): Document.
2514 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
2516 * include/bits/char_traits.h char_traits<char>::int_type: Change
2517 to `int' to match 21.1.3.1/2.
2519 * testsuite/21_strings/char_traits-int_type.C: New test.
2521 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
2523 * testsuite/Makefile.am: New file.
2525 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
2527 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
2529 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
2531 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
2533 2001-02-08 David Edelsohn <edelsohn@gnu.org>
2535 * configure.target (aix4*): Remove extra set of brackets.
2537 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
2540 * include/bits/stringfwd.h: New file.
2541 * include/bits/stl_string_fwd.h: Remove.
2542 * include/bits/localefwd.h: Remove declaration for allocator.
2543 * include/bits/std_iosfwd: Same.
2544 * include/bits/std_string.h: Include it.
2545 * include/bits/std_ios.h: Remove include.
2546 * include/bits/basic_string.h: Tweak.
2547 * libsupc++/new: Format.
2548 * src/Makefile.am (base_headers): Add stringfwd.h, remove
2550 * src/Makefile.in: Regenerate.
2551 * include/bits/std_stdexcept.h: Rewrite.
2552 * src/stdexcept.cc: Same.
2554 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
2556 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
2557 install locations too.
2558 * aclocal.m4: Regenerate.
2559 * configure.in: Remove USE_LIBDIR.
2560 * configure: Regenerate.
2561 * src/Makefile.am (toolexecdir): Simplify, use
2562 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
2563 * src/Makefile.in: Regenerate.
2564 * libsupc++/Makefile.am: Same.
2565 * libsupc++/Makefile.in: Regenerate.
2567 * src/Makefile.am: Just remove special rules for locale-inst.cc and
2568 misc-inst.cc as no longer necessary.
2570 Follow C++STYLE for naming non-static functions.
2571 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
2573 * include/bits/streambuf.tcc: Same.
2574 * include/bits/ostream.tcc: Same.
2575 * include/bits/istream.tcc: Same.
2576 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
2577 (_S_output_float): To __output_float.
2578 * include/bits/std_streambuf.h (_S_copy_streambufs): To
2580 * include/bits/locale_facets.tcc (_S_build_float_format): To
2581 __build_float_format.
2582 (_S_format): To __output_integer.
2583 (_S_fill): To __pad.
2584 * src/locale.cc: Same.
2585 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
2587 * include/bits/locale_facets.tcc (_S_group_digits): To
2589 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
2590 for collate, numpunct.
2592 2001-02-06 Phil Edwards <pme@sources.redhat.com>
2594 * docs/html/configopts.html: Fix HTML markup.
2595 * docs/html/install.html: Bring up to date.
2596 * docs/html/17_intro/C++STYLE: Add global variable conventions.
2597 * docs/html/21_strings/howto.html: More notes.
2598 * docs/html/22_locale/howto.html: Fix HTML markup.
2599 * docs/html/27_io/howto.html: More notes.
2600 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
2601 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
2603 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
2605 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
2606 to match header files.
2607 (_S_output_float): Likewise.
2608 (_S_copy_streambufs): Likewise.
2610 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
2611 Phil Edwards <pme@sources.redhat.com>
2613 * include/bits/std_istream.h (op>> signed,unsigned char): Must
2614 use reinterpret_cast, not static_cast.
2616 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
2618 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
2619 * aclocal.m4: Regenerate.
2620 * configure: Regenerate.
2622 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2624 * include/bits/locale_facets.h (class moneypunct): Fix typos.
2625 * libsupc++/pure.cc: Revert.
2627 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2629 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
2630 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
2631 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
2632 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
2633 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
2634 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
2635 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
2636 * aclocal.m4: Regenerate.
2637 * configure: Regenerate.
2639 2001-02-05 Mark Mitchell <mark@codesourcery.com>
2641 * include/bits/locale_facets.tcc: Remove `static' keyword on
2642 function definitions.
2643 * include/bits/std_streambuf.h: Likewise.
2644 * src/Makefile.am: Remove use of -fimplicit-templates.
2645 * src/Makefile.in: Regenerated.
2646 * src/locale-inst.cc: Explicitly instantiate more functions.
2647 * src/misc-inst.cc: Likewise.
2648 * src/string-inst.cc: Likewise.
2650 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2652 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
2653 macro. Consolidate all the bits to do with where includes might be
2655 * aclocal.m4: Regenerate.
2656 * configure.in: Use it.
2657 * configure: Regenerate.
2658 * src/Makefile.am (targetincludep): Use simplified rules.
2659 (targetincludep): Rename gxx_target_include_dir.
2660 (myincludep): Rename gxx_include_dir.
2661 * src/Makefile.in: Regenerate.
2662 * libsupc++/Makefile.am: Use simplified rules.
2663 * libsupc++/Makefile.in: Regenerate.
2665 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2667 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
2668 * include/c_std/bits/std_cctype.h: Same.
2669 * include/c_std/bits/std_cassert.h: Same.
2670 * include/c_std/bits/std_cstdarg.h: Same.
2671 * include/c_std/bits/std_cstddef.h: Same.
2673 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
2675 * include/c_std/bits/std_ctime.h: Same.
2676 * include/c_std/bits/std_clocale.h: Same.
2677 * include/c_std/bits/std_cmath.h: Same.
2678 * include/c_std/bits/std_csetjmp.h: Same.
2679 * include/c_std/bits/std_csignal.h: Same.
2680 * include/c_std/bits/std_cstring.h: Same.
2681 * include/c_std/bits/std_cstdlib.h: Same.
2682 * include/c_std/bits/std_cwchar.h: Same.
2684 2001-02-05 Phil Edwards <pme@sources.redhat.com>
2686 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
2688 2001-02-05 Mark Mitchell <mark@codesourcery.com>
2690 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
2691 (string::_S_construct): Likewise.
2693 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
2695 * testsuite/config/default.exp: New file.
2696 * testsuite/config: New directory.
2698 2001-02-04 Mark Mitchell <mark@codesourcery.com>
2700 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
2701 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
2702 whenever !__GXX_MERGED_TYPEINFO_NAMES.
2703 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
2705 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
2706 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2708 * Makefile.am (mkinstalldirs): Set.
2709 * src/Makefile.am (mkinstalldirs): Set.
2710 * libmath/Makefile.am (mkinstalldirs): Set.
2711 * libsup++/Makefile.am (mkinstalldirs): Set.
2712 * libio/Makefile.am (mkinstalldirs): Set.
2713 * */Makefile.in: Regenerate.
2715 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
2717 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
2718 * include/bits/localefwd.h: More initialization cleanups.
2720 2001-02-03 Jeffrey A Law <law@cygnus.com>
2722 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
2723 correctly targets with 16bit ints.
2724 (_S_ios_openmode_end): Similarly.
2725 (_S_ios_iostate_end): Similarly.
2726 (_S_ios_Seekdir_end): Similarly.
2728 2001-02-02 Phil Edwards <pme@sources.redhat.com>
2730 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
2732 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
2734 * configure.in (toplevel_srcdir, auxdir): Set.
2735 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
2736 * aclocal.m4, configure, Makefile.in: Rebuilt.
2737 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
2738 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
2739 * libsupc++-v3/Makefile.in: Rebuilt.
2740 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
2741 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
2743 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
2745 * config/c_locale_generic.cc: Remove langinfo include.
2747 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
2749 Preliminary named locales.
2750 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
2751 * aclocal.m4: Regenerate.
2752 * configure.in: Use it.
2753 * configure: Regerate.
2754 * src/Makefile.am (sources): Add c++locale.cc.
2755 (build_headers): Add c++locale.h.
2756 * src/Makefile.in: Regenerate.
2757 * config/c_locale_gnu.h: New file.
2758 * config/c_locale_gnu.cc: New file. Non-inline member functions
2759 for named locales, gnu-specific.
2760 * config/c_locale_generic.h: New file.
2761 * config/c_locale_generic.cc: New file. Non-inline member
2762 functions for named locales, generic version.
2763 * docs/html/configopts.html: Add documentation on new options.
2765 * include/bits/locale_facets.h (class _Messages): Remove.
2766 (class _Moneypunct): Remove.
2767 * src/locale-inst.cc: Remove.
2769 * include/bits/locale_facets.h (class _Collate): Remove.
2770 * src/locale-inst.cc (std): Remove.
2771 * src/locale.cc: And here.
2773 * include/bits/localefwd.h (locale::_M_coalesce): New
2774 function. Correctly put together multi-name locales.
2775 (_Impl(const _Impl&, category, size_t)): Remove.
2777 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
2779 (_M_normalize_category_names): Remove.
2780 (_M_replace_categories): Fix.
2782 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
2783 (locale::_Impl::_M_construct_ctype): Remove.
2784 (locale::_Impl::_M_construct_monetary): Remove.
2785 (locale::_Impl::_M_construct_numeric): Remove.
2786 (locale::_Impl::_M_construct_time): Remove.
2787 (locale::_Impl::_M_construct_messages): Remove.
2789 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
2790 (_Use_facet_failure_handle): Remove.
2791 * src/locale.cc: Remove definitions.
2792 * src/locale-inst.cc: And here.
2794 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
2796 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
2797 create and error-check underlying locale object.
2798 (locale::facet::_S_destroy_c_locale): Add, take care of properly
2799 tearing down underlying locale object.
2800 * include/bits/localefwd.h (locale::facet): Declare.
2801 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
2802 correctness, as glibc apparently has incorrect info in it. Test
2803 with it when it works again.....
2805 * include/bits/localefwd.h (locale::_Impl::__vec_string):
2806 Remove. Number of categories is fixed at six, so just simplify and
2807 make this an array of strings.
2808 (locale::_Impl::_M_has_name): Remove.
2809 (locale::_Impl::_M_name): Remove.
2810 (locale::_Impl::_M_category_names): Turns into...
2811 (locale::_Impl::_M_names): ...this.
2812 (locale::_Impl::_M_has_same_name()): New function.
2813 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
2814 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
2816 * src/locale.cc (locale::name()): Construct mangled name
2817 accurately reflecting combined locale categories.
2819 * src/locale.cc (locale::classic()): Don't initialize here.
2820 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
2821 __refs, bool __has_name, string __str): Do it here.
2823 * include/bits/localefwd.h: _S_categories_num to
2824 _S_num_categories. _S_facets_num to _S_num_facets.
2825 (locale::id::id()): Explicitly set _M_index to zero.
2826 * src/locale.cc: Same.
2828 * src/locale.cc: (locale::locale(const char*)): Construct named
2831 * src/locale.cc: Remove numpunct_byname ctors.
2832 * testsuite/22_locale/numpunct_byname.cc: New file.
2833 * testsuite/22_locale/numpunct.cc: New file.
2835 * include/bits/localefwd.h (class locale): Change data members to
2836 protected, from private.
2837 (_Impl::_M_get_c_locale): Add member function.
2838 (locale::facet::_M_get_global_impl()): Add member function.
2839 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
2840 a __c_locale pointer.
2841 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
2843 * testsuite/22_locale/members.cc: New file, test name and combine.
2845 * include/bits/locale_facets.h (class numpunct): Remove class
2846 _Punct and _Numpunct. Rewrite class numpunct to be correct for
2848 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
2849 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
2850 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
2851 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
2852 * testsuite/22_locale/numpunct_char_members.cc: New file.
2854 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
2856 * testsuite/README: Add more comment.
2857 * testsuite/lib/libstdc++.exp: Tweak comment.
2859 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
2861 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
2863 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
2865 * testsuite/21_strings/inserters_extractors.cc: Remove
2866 explicit reference to 'testsuite/'.
2868 2001-01-25 Richard Henderson <rth@redhat.com>
2870 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
2871 bits. Fixes Tru64 build issues.
2873 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2875 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
2876 (use ${MAKE-make}, not ${MAKE:-make}).
2877 * aclocal.m4, configure: Regenerate.
2879 2001-01-25 Mark Mitchell <mark@codesourcery.com>
2881 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
2884 * src/Makefile.am (sources): Add globals.cc.
2885 * src/Makefile.in: Regenerated.
2886 * src/globals.cc: New file.
2887 * src/ios.cc (cin): Don't define here, just declare extern.
2896 2001-01-25 Phil Edwards <pme@sources.redhat.com>
2898 * include/bits/std_iterator.h: Do not include stl_relops.h.
2899 * include/bits/std_numeric.h: Ditto.
2900 * include/bits/stl_algobase.h: Ditto.
2901 * include/bits/stl_relops.h: Add comment warning about problems.
2903 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
2905 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
2906 in testcases. Prepare for the DejaGnu based framework.
2907 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
2908 directory -- it is now mkcheck working directory.
2909 * tests_flags.in: Remove reference to $(top_srcdir). Use
2911 * Makefile.am (check, check-install): Change mkcheck invocation
2913 * Makefile.in: Regenerate.
2915 2001-01-24 Mark Mitchell <mark@codesourcery.com>
2917 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
2918 (__always_swap): Likewise.
2920 2001-01-23 Chris Demetriou <cgd@broadcom.com>
2922 * libsupc++/exception_support.cc (__terminate_func): Remove
2924 (__terminate_func_ptr): New typedef.
2925 (__terminate, __terminate_set_func): New extern function
2927 (std::terminate): Use __terminate function.
2928 (std::set_terminate): Use __terminate_set_func function.
2930 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
2932 * configure.target: Just use os_include_dir always.
2933 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
2934 Link atomicity files and ctype files here.
2935 * configure: Regenerate.
2936 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
2937 (GLIBCPP_ENABLE_ATOMICITY): Remove.
2938 * aclocal.m4: Regenerate.
2940 2001-01-23 Chris Demetriou <cgd@broadcom.com>
2942 * configure.in: Place definition of MULTISUBDIR in
2943 libsupc++/Makefile as is done for src/Makefile.
2944 * configure: Regenerate.
2946 2001-01-23 Phil Edwards <pme@sources.redhat.com>
2948 * acinclude.m4: Cosmetic changes only.
2949 * aclocal.m4: Regenerated.
2950 * configure: Regenerated.
2951 * configure.target: Update documented list of changed variables.
2952 * docs/html/install.html: Fix typo.
2953 * docs/html/20_util/howto.html: More notes on auto_ptr.
2954 * docs/html/27_io/howto.html: More notes on streabufs.
2955 * docs/html/faq/index.html: Add rel_ops problem and mention the
2956 DEC as(1) .subsection difficulty.
2957 * docs/html/faq/index.txt: Regenerated.
2959 2001-01-23 Mark Mitchell <mark@codesourcery.com>
2961 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
2962 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
2963 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
2964 its already provided in config.target.
2965 * aclocal.m4: Regenerated.
2966 * configure: Likewise.
2967 * configure.target: Set ctype_include_dir for lots of systems.
2968 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
2969 * libsupc++/Makefile.in: Regenerated.
2971 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
2973 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
2976 * testsuite/README: Add comment.
2978 2001-01-21 Phil Edwards <pme@sources.redhat.com>
2980 * docs/html/configopts.html: Update for current status. Fix HTML.
2981 * docs/html/install.html: Update for current status.
2983 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2985 * testsuite/libstdc++.tests/tests.exp: New file.
2986 * testsuite/lib/libstdc++.exp: Itou.
2987 * testsuite/README: Itou.
2989 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
2991 * tests_flags.in: Just output the bare minimum to run tests.
2992 Let's the caller do its own arrangement.
2994 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
2997 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
2999 * testsuite/17_intro: Prepare testcases for new style DejaGnu
3002 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
3004 * testsuite/libstdc++.tests, testsuite/lib: New directories.
3006 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
3008 * mkcheck.in: Construct file names that match $objdir structure.
3009 * testsuite/27_io/filebuf_members-1.txt: New file.
3010 * testsuite/27_io/ifstream_members-1.txt: New file.
3011 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
3013 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
3014 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
3016 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3018 * testsuite/27_io/istream_sentry.cc (test02): Fix.
3020 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
3023 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
3024 * src/ios.cc (ios_base::failure): Make definitions match.
3025 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
3026 (class bad_cast): Same.
3027 * libsupc++/exception (class exception): Add throw specs.
3028 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
3029 (set_unexpected): Same.
3030 (uncaught_exception): Same.
3033 * docs/html/17_intro/C++STYLE (classname): Fix.
3035 2001-01-16 Mark Mitchell <mark@codesourcery.com>
3037 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
3038 Use it do explicitly instantiate predicate<T> and value<T> for
3041 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
3043 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
3044 uninitialized thinko in last change.
3046 2001-01-16 Mark Mitchell <mark@codesourcery.com>
3048 * libsupc++/exception_support.cc (__cp_pop_exception): Change
3051 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
3053 * docs/html/17_intro/C++STYLE (classname): Add more existing
3054 and stylish patterns.
3057 * include/bits/istream.tcc (istream::sentry::sentry()): Set
3058 failbit if the state of the stream is not good.
3059 * testsuite/27_io/istream_sentry.cc (test02): Add test.
3060 * testsuite/27_io/istream_manip.cc (test01): Modify.
3063 reported by Paolo Carlini <pcarlini@unitus.it>
3064 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
3065 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
3068 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
3069 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
3070 (xsgetn): Same. Simplify.
3071 * testsuite/27_io/streambuf.cc (test04): Add testcases.
3073 reported by Larry Evans <jcampbell3@prodigy.net>
3074 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
3075 equality with eof on returned value from overflow.
3077 2001-01-14 Andreas Jaeger <aj@suse.de>
3079 * libio/libio.h: Add test for glibc 2.0.
3081 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
3083 * config/os/djgpp/bits/*: Fix dates.
3085 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
3086 _CharT* __end, _CharT __c): Remove.
3087 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
3088 * include/bits/char_traits.h: Tweak.
3090 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
3092 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
3093 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
3095 * aclocal.m4: regenerated.
3096 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
3097 * configure: regenerated.
3098 * config/os/djgpp, config/os/djgpp/bits: new directories.
3099 * config/os/djgpp/bits/ctype_base.h,
3100 config/os/djgpp/bits/ctype_inline.h,
3101 config/os/djgpp/bits/ctype_noninline.h,
3102 config/os/djgpp/bits/os_defines.h: new files.
3104 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
3106 * include/c_std/bits/std_cstdio.h: Undef printf.
3108 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
3110 * src/ios.cc: Fix typo: change cout->wcout.
3112 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
3113 * src/Makefile.in: Regenerate.
3115 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3117 * include/bits/std_complex.h: Fix a typo.
3119 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
3122 Fixes for libstdc++/1576
3123 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
3124 file, move contents into....
3125 * src/ios.cc: ...Here. Put defines for iostreams objects and
3126 initialization routines into one file to simplify DSO interaction.
3127 * include/bits/std_iostream.h: Touch.
3128 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
3129 * src/Makefile.am (sources): Remove stdstreams.cc.
3130 * src/Makefile.in: Regenerate.
3132 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3134 * tests_flags.in (check_directory): Fix typo.
3136 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3138 * include/bits/std_complex.h: Fix a typo.
3140 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
3142 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
3143 code path:) Remove magic constants and restructure to handle
3144 ctype.h bit mask layout changes more gracefully. (Make fast
3145 code path:) Use __maskrune (), if available.
3146 (is): Remove special case for digit and xdigit masks.
3148 2001-01-09 Robert Lipe <robertlipe@usa.net>
3150 * include/c_std/bits/std_ctime.h: Undefine difftime.
3152 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
3154 * src/gen-num-limits.cc (signal_adapter): New template function.
3155 (signal_handler): Use it, instead of signal.
3156 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
3157 require both tests to trap to set trap_flag.
3159 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
3161 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
3162 initialize mbstate_t member, name offset data members *off, not pos.
3163 * include/bits/fstream.tcc (filebuf::filebuf): Same.
3165 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
3167 reported by Chris G. Demetriou <cgd@sibyte.com>
3168 * configure.in: Change -linux-* to -linux*.
3169 * configure: Regenerate.
3171 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
3173 Fix 27_io/filebuf_members.cc
3174 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
3175 const string& __name, category __cat, size_t __refs): Set
3176 _M_has_name with _M_name.
3177 * include/bits/localefwd.h (locale::operator!=): Protect member
3178 function call with this->.
3179 * src/locale.cc (locale::operator==): Make fast checks first.
3180 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
3182 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
3184 * src/ios.cc (ios_base::Init::Init): Initialize here.
3185 (ios_base::sync_with_stdio): Set here.
3187 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
3189 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
3190 systems that support it, call dup() before fdopen().
3192 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
3194 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
3195 * testsuite/17_intro/header_cwctype.cc (main): New file.
3197 * src/Makefile.am (base_headers): Change.
3198 * include/bits/std_string.h: And here.
3199 * include/bits/string.tcc: Tweaks, move to...
3200 * include/bits/basic_string.tcc: ...Here.
3201 * src/string-inst.cc: Simplify, just instantiate the whole class,
3202 not member-by-member.
3204 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
3206 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
3207 * aclocal.m4: Regenerate.
3208 * configure: Regenerate.
3210 * include/bits/c++config (__GLIBCPP__): Bump version number.
3212 * ChangeLog: Start new log for year 2001
3213 * ChangeLog-2000: New file.
3215 * docs/html/configopts.html: Make sure default values are current,
3218 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
3220 * include/c_std/bits/std_cwchar.h: Same.
3221 * testsuite/17_intro/header_cwchar.cc: Same.
3222 * include/c_std/bits/std_ctime.h: Same.
3223 * testsuite/17_intro/header_ctime.cc: Same.
3224 * include/c_std/bits/std_cstdlib.h: Same.
3225 Clean up undefs, make consistent with cwchar and cmath, etc.
3226 * testsuite/17_intro/header_cstdlib.cc: Same.
3227 * include/c_std/bits/std_cstdio.h: Same here.
3228 * testsuite/17_intro/header_cstring.cc: Same.
3229 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
3230 * testsuite/17_intro/header_cstring.cc: New file. Check for
3231 size_t in namespace std.
3233 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
3234 * acconfig.h (HAVE_MBSTATE_T): Add.
3235 * config.h.in: Regenerate.
3236 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
3238 * aclocal.m4: Regenerate.
3239 * configure: Regenerate.
3240 * testsuite/17_intro/headers_c++.cc: New file.
3241 * testsuite/17_intro/headers_c.cc: Small changes.
3243 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
3245 * tests_flags.in: Fix typo in usage.
3247 * tests_flags.in: Set target specific LIBS for cygwin.