1 2001-06-26 Zoltan Hidvegi <hzoli@austin.ibm.com>
3 * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
4 * aclocal.m4: Regenerate.
5 * configure: Regenerate.
7 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
9 * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
10 (ostream_iterator): Same.
11 * include/bits/stl_iterator.h (front_insert_iterator::operator=):
12 Change argument to const_reference.
13 (back_insert_iterator): Same.
15 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
17 * include/bits/sbuf_iter.h: Change to..
18 * include/bits/streambuf_iterator.h: This.
19 * include/bits/stl_iterator.h: Take out of here...
20 * include/bits/stream_iterator.h: Add.
21 * src/Makefile.am (base_headers): Add streambuf_iterator,
23 * src/Makefile.in: Regenerate.
24 * include/bits/std_string.h: Adjust includes.
25 * include/bits/basic_ios.h: Same.
26 * include/bits/locale_facets.tcc: Same.
27 * include/bits/std_iosfwd.h: Same.
29 * include/bits/std_iterator.h: Add istream, ostream includes.
30 * include/bits/stl_iterator.h: Tweak.
31 * testsuite/24_iterators/ostream_iterator.cc: Add test.
32 * testsuite/24_iterators/istream_iterator.cc: Same.
33 * testsuite/23_containers/multiset.cc: Add iterator include.
35 2001-06-26 Phil Edwards <pme@sources.redhat.com>
37 * acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
38 * aclocal.m4: Regenerate.
39 * configure: Regenerate.
41 2001-06-26 Felix Natter <f.natter@ndh.net>
43 * docs/html/17_intro/porting-howto.html: Fixed some errors.
45 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
47 * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
49 (istream_iterator::operator*): Same.
51 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
52 Alexandre Petit-Bianco <apbianco@redhat.com>
54 * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
57 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
59 * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
61 * include/bits/stl_iterator.h (istream_iterator): Inherit from
63 (ostream_iterator): Same.
64 * testsuite/24_iterators/istream_iterator.cc: New file.
65 * testsuite/24_iterators/ostream_iterator.cc: New file.
67 * include/bits/sbuf_iter.h: Remove self typedef.
68 * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
69 * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
71 * include/bits/stl_iterator.h (reverse_iterator): Remove
72 extraneous typedefs. Add typename.
73 (__normal_iterator): Remove typedefs referring to self. Add typename.
74 (reverse_bidiretional_iterator): Remove, not longer required.
76 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
78 * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
79 dependent names with `typename'. Bring in various required
80 iterator_traits members. Can't imagine why that used to work.
82 2001-06-25 Phil Edwards <pme@sources.redhat.com>
83 Kurt Garloff <garloff@suse.de>
86 * src/cmath.cc: New [version of an old] file; instantiate
87 __cmath_power to start with.
88 * src/Makefile.am (sources): Add cmath.cc (and alphabetize).
89 * Makefile.in: Regenerate.
90 * libio/Makefile.in: Regenerate.
91 * libmath/Makefile.in: Regenerate.
92 * libsupc++/Makefile.in: Regenerate.
93 * src/Makefile.in: Regenerate.
94 * testsuite/Makefile.in: Regenerate.
96 2001-06-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
98 * libmath/stubs.c: Fix thinko.
100 2001-06-24 David Edelsohn <dje@watson.ibm.com>
102 * libmath/stubs.c (sqrtf): Define.
103 (tanf): Correct typo.
105 2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
107 * include/bits/stl_iterator.h (reverse_iterator): Inherit from
109 (back_insert_iterator): Same.
110 (front_insert_iterator): Same.
111 (insert_iterator): Same.
113 * testsuite/20_util/raw_storage_iterator.cc: Modify.
114 * testsuite/24_iterators/reverse_iterator.cc: New file.
115 * testsuite/24_iterators/back_insert_iterator.cc: New file.
116 * testsuite/24_iterators/front_insert_iterator.cc: New file.
117 * testsuite/24_iterators/insert_iterator.cc: New file.
119 2001-06-22 Phil Edwards <pme@sources.redhat.com>
121 * include/*: Revert comment/license change from yesterday for all
122 except libsupc++/unwind-cxx.h.
123 * src/bitset.cc: Likewise.
124 * src/strstream.cc: Likewise.
126 2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
128 * libmath/stubs.c: New file.
132 * libmath/Makefile.am (libmath_la_SOURCES): Add.
133 * libmath/Makefile.in. Regenerate.
135 2001-06-21 Phil Edwards <pme@sources.redhat.com>
137 * include/backward/algo.h: Add "GPL plus runtime exception" comment.
138 * include/backward/algobase.h: Likewise.
139 * include/backward/alloc.h: Likewise.
140 * include/backward/bvector.h: Likewise.
141 * include/backward/defalloc.h: Likewise.
142 * include/backward/deque.h: Likewise.
143 * include/backward/function.h: Likewise.
144 * include/backward/hash_map.h: Likewise.
145 * include/backward/hash_set.h: Likewise.
146 * include/backward/hashtable.h: Likewise.
147 * include/backward/heap.h: Likewise.
148 * include/backward/iterator.h: Likewise.
149 * include/backward/list.h: Likewise.
150 * include/backward/map.h: Likewise.
151 * include/backward/multimap.h: Likewise.
152 * include/backward/multiset.h: Likewise.
153 * include/backward/pair.h: Likewise.
154 * include/backward/rope.h: Likewise.
155 * include/backward/set.h: Likewise.
156 * include/backward/slist.h: Likewise.
157 * include/backward/stack.h: Likewise.
158 * include/backward/strstream: Likewise.
159 * include/backward/tempbuf.h: Likewise.
160 * include/backward/tree.h: Likewise.
161 * include/backward/vector.h: Likewise.
162 * include/bits/pthread_allocimpl.h: Likewise.
163 * include/bits/std_algorithm.h: Likewise.
164 * include/bits/std_bitset.h: Likewise.
165 * include/bits/std_deque.h: Likewise.
166 * include/bits/std_functional.h: Likewise.
167 * include/bits/std_iterator.h: Likewise.
168 * include/bits/std_list.h: Likewise.
169 * include/bits/std_map.h: Likewise.
170 * include/bits/std_memory.h: Likewise.
171 * include/bits/std_numeric.h: Likewise.
172 * include/bits/std_queue.h: Likewise.
173 * include/bits/std_set.h: Likewise.
174 * include/bits/std_stack.h: Likewise.
175 * include/bits/std_utility.h: Likewise.
176 * include/bits/std_vector.h: Likewise.
177 * include/bits/stl_algo.h: Likewise.
178 * include/bits/stl_algobase.h: Likewise.
179 * include/bits/stl_alloc.h: Likewise.
180 * include/bits/stl_bvector.h: Likewise.
181 * include/bits/stl_construct.h: Likewise.
182 * include/bits/stl_deque.h: Likewise.
183 * include/bits/stl_function.h: Likewise.
184 * include/bits/stl_heap.h: Likewise.
185 * include/bits/stl_iterator.h: Likewise.
186 * include/bits/stl_iterator_base_funcs.h: Likewise.
187 * include/bits/stl_iterator_base_types.h: Likewise.
188 * include/bits/stl_list.h: Likewise.
189 * include/bits/stl_map.h: Likewise.
190 * include/bits/stl_multimap.h: Likewise.
191 * include/bits/stl_multiset.h: Likewise.
192 * include/bits/stl_numeric.h: Likewise.
193 * include/bits/stl_pair.h: Likewise.
194 * include/bits/stl_pthread_alloc.h: Likewise.
195 * include/bits/stl_queue.h: Likewise.
196 * include/bits/stl_raw_storage_iter.h: Likewise.
197 * include/bits/stl_relops.h: Likewise.
198 * include/bits/stl_set.h: Likewise.
199 * include/bits/stl_stack.h: Likewise.
200 * include/bits/stl_tempbuf.h: Likewise.
201 * include/bits/stl_threads.h: Likewise.
202 * include/bits/stl_tree.h: Likewise.
203 * include/bits/stl_uninitialized.h: Likewise.
204 * include/bits/stl_vector.h: Likewise.
205 * include/bits/type_traits.h: Likewise.
206 * include/ext/hash_map: Likewise.
207 * include/ext/hash_set: Likewise.
208 * include/ext/rope: Likewise.
209 * include/ext/ropeimpl.h: Likewise.
210 * include/ext/slist: Likewise.
211 * include/ext/stl_hash_fun.h: Likewise.
212 * include/ext/stl_hashtable.h: Likewise.
213 * include/ext/stl_rope.h: Likewise.
214 * libsupc++/unwind-cxx.h: Likewise.
215 * src/bitset.cc: Likewise.
216 * src/strstream.cc: Likewise.
218 2001-06-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
220 * include/bits/indirect_array.h (indirect_array<>::operator=):
221 Make copy and assignment operator public. Implement. Format.
223 * include/bits/valarray_array.h (__valarray_copy): Add overloads
224 for copy between index arrays. Format.
226 2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
228 * mknumeric_limits: Add static definitions, format.
229 * testsuite/18_support/numeric_limits.cc (test02): Add test.
231 * include/c_std/bits/std_cwchar.h: Include ctime.
232 * testsuite/17_intro/header_cwchar.cc : Check.
234 * include/c_std/bits/std_cwctype.h: Inject wctype.
235 * testsuite/17_intro/header_cwctype.cc: Update.
237 2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
239 * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
240 * testsuite/20_util/raw_storage_iterator.cc: Same.
242 * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
244 (__mem_interface): New typedef for switching between malloc and new.
245 * testsuite/20_util/allocator_members.cc: New file.
247 * testsuite/20_util/comparisons.cc: New file.
248 * testsuite/20_util/pairs.cc: New file.
250 2001-06-15 Phil Edwards <pme@sources.redhat.com>
252 * docs/html/documentation.html: Point to new doxygen'ed collection.
254 2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
256 * configure.in (auxdir): Replace by ...
257 (toprel): ... new variable.
258 (toplevel_srcdir): Construct from $toprel.
259 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
260 rather than .. to locate gcc source directory.
261 (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
262 * aclocal.m4, configure: Rebuilt.
264 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
266 (Approved by Mark and Benjamin. Applied by Loren.)
268 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
269 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
270 and _GLIBCPP_mutex_address.
271 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
272 once-only runtime initialization of _M_lock mutex when
273 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
274 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
275 for __GTHREAD_MUTEX_INIT_FUNCTION case.
277 2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
279 * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
281 * include/bits/slice_array.h (slice_array<>::operator=): Make
282 public and implement.
283 (slice_array<>::slice_array): Make copy-constructor public.
285 * include/bits/valarray_array.h (__valarray_copy): Add another
286 overload to copy between strided arrays.
288 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
290 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
291 * aclocal.m4: Regenerate.
292 * configure: Regenerate.
293 * include/bits/c++config (__GLIBCPP__): Update date.
295 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
297 * include/bits/fpos.h (fpos::operator-): Don't return reference,
298 return original, non-modified version.
299 (fpos::operator+): Same.
300 * testsuite/27_io/fpos.cc: Add test.
302 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
305 * porting.texi: Add documentation about libstdc++-v3-specific
306 macros that are currently included in os_defines.h files.
308 * config/basic_file_stdio.h (sys_getc): New method.
309 (sys_ungetc): New method.
310 * include/bits/basic_file.h: (sys_getc): New method signature.
311 (sys_ungetc): New method signature.
313 * include/bits/fstream.tcc (underflow): Add conditional code
314 paths which avoid using short seeks on streams (especially
315 useful when the stream might be interactive or a pipe). At
316 the moment, this alternate path only avoids seeking when the
317 ``buffer size'' of underflow() is 1 since the C standard only
318 guarantees buffer space for one ungetc (this technique could
319 be extended since *-*-solaris* supports buffering for 4 calls
320 to ungetc and *-*-*bsd* supports buffering limited only by
321 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
322 in a port's os_defines.h file for this alternate path to even
323 be considered. As a bonus, the idiom of using getc/ungetc
324 requires no system calls whereas fseek maps to one or two
325 system call(s) on many platforms.
327 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
329 * config/os/solaris/solaris2.5/bits/os_defines.h
330 (_GLIBCPP_AVOID_FSEEK): Likewise.
331 * config/os/solaris/solaris2.6/bits/os_defines.h
332 (_GLIBCPP_AVOID_FSEEK): Likewise.
333 * config/os/solaris/solaris2.7/bits/os_defines.h
334 (_GLIBCPP_AVOID_FSEEK): Likewise.
336 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
338 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
339 AC_TRY_COMPILE, so that the built compiler is checked, and
340 bootstraps or cross compiles with an older compile still work.
341 * aclocal.m4: Regenerate.
342 * configure: Regenerate.
344 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
347 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
350 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
353 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
356 * include/bits/limits_generic.h: Fix as per DR 184.
358 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
361 * include/bits/basic_string.h (string::compare): Adjust signatures
363 * include/bits/basic_string.tcc: And here.
366 * config/c_io_stdio.h: Remove whitespace.
367 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
368 (test02): Add regression.
369 * testsuite/27_io/istream_seeks-3.tst: New file.
371 2001-06-11 Phil Edwards <pme@sources.redhat.com>
373 * README: Update to reflect reality.
374 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
375 * configure.in: Make certain target_alias is set and subst'd for 2.50.
376 * aclocal.m4: Regenerate.
377 * configure: Regenerate (with 2.13).
379 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
382 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
384 * include/bits/istream.tcc (istream::seekg): Same.
385 * testsuite/27_io/istream_seeks.cc: Fix.
388 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
390 * include/bits/std_queue.h: Add c++config.h.
391 * testsuite/20_util/binders.cc: New test.
393 2001-06-11 Matthias Klose <doko@debian.org>
394 Phil Edwards <pme@sources.redhat.com>
396 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
397 (main script): Echo more information.
399 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
401 * include/c_std/bits/std_cwchar.h: Alphabetize.
402 * include/bits/char_traits.h: Tweak.
403 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
404 everything used by std_cwchar.h.
405 * aclocal.m4: Regenerate.
406 * configure.in: Regenerate.
407 * config.h.in: Regenerate.
409 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
411 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
412 Add checking for strtof, _Exit in stdlib.h
413 * aclocal.m4: Regenerate.
414 * configure.in: Regenerate.
415 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
416 (snprintf): Put C99 functions into __gnu_cxx namespace.
421 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
422 for C99 functions within _GLIBCPP_USE_C99 guard.
426 * include/bits/locale_facets.tcc: Check if C99 is enabled.
427 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
429 * include/c_std/bits/cmath.tcc: Formatting tweak.
430 * include/c_std/bits/std_cmath.h: Same.
432 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
434 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
436 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
437 Stephen L Moshier <moshier@mediaone.net>
439 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
440 nothing, as in autoconf 2.50.
441 * configure: Rebuilt.
443 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
445 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
447 * include/c_std/bits/std_ctime.h: Same.
448 * include/c_std/bits/std_cstring.h: Same.
449 * include/c_std/bits/std_cstdlib.h: Same.
451 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
452 * include/c_std/bits/std_cctype.h: Remove isblank.
454 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
456 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
458 * aclocal.m4: Regenerate.
459 * configure: Regenerate.
460 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
461 injection, guard fgetwc, fgetws.
462 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
463 * include/c_std/bits/std_clocale.h: And here.
464 * include/c_std/bits/std_cctype.h: And here.
465 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
467 * config/basic_file_stdio.h: Don't include unistd.h.
468 * config/c_io_stdio.h: Don't use compatibility headers.
469 * libsupc++/eh_terminate.cc: Qualify abort.
470 (__terminate): And here.
471 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
473 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
475 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
477 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
482 * include/std/*: Add copyright notice.
483 * include/c_std/bits/*: Use using statements instead of extern "C".
484 * include/c_std/bits/std_cmath.h: Don't overload double versions
485 of math functions with __buitin versions, use global version to
486 prevent ambiguities. Remove define hacks.
487 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
488 functions that have changed signatures and std::
489 declarations. Remove define hacks.
490 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
491 __builtins in std::. Remove define hacks.
492 * testsuite/17_intro/headers_c.cc: Add tests.
493 * testsuite/17_intro/headers_c++.cc: Add test.
495 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
496 John David Anglin <dave@hiauly1.hia.nrc.ca>
499 * libsupc++/eh_alloc.cc: Ensure that required macros are
500 defined before including gthr.h. Ensure that we get the
501 version of gthr.h for which we know how to provide a
503 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
504 code path into line with the current EH model. Use std, where
507 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
508 John David Anglin <dave@hiauly1.hia.nrc.ca>
510 * config/threads-no.h: Remove file.
511 * config/threads-posix.h: Remove file.
513 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
514 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
515 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
516 * config.h.in: Regenerate.
518 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
519 setup and use gthr*.h files. In particular, make gthr.h files
520 namespace-clean in the staging area (they don't have to be for
522 * aclocal.m4: Regenerate.
523 * configure: Regenerate.
525 * src/Makefile.am (build_headers): Remove bits/c++threads.h
526 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
527 * src/Makefile.in: Regenerate.
529 * include/bits/c++config: Cleanup threading configuration macros.
530 In particular, define __STL_GTHREADS macro which controls...
531 * include/bits/stl_threads.h: ...a brand new gthr.h-based
534 * config/c_io_stdio.h: Include staged gthr.h instead of local
535 thread configuration file. Always use __gthread_mutex_t
536 instead of __mutext_type (or int).
537 * include/bits/std_fstream.h: Likewise.
539 * docs/html/17_intro/howto.html: Remove placeholder comment in
540 case this configuration patch didn't make it. Add advice that
541 section only applies if configured with --enable-threads.
542 * docs/html/23_containers/howto.html: Reword to make clear
543 that _PTHREADS is no longer required for any port to be
544 correctly using STL with threads. Add advice that section
545 only applies if configured with --enable-threads.
547 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
549 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
551 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
554 * include/bits/basic_ios.tcc: Formatting tweaks.
555 * include/bits/ios_base.h: Formatting tweaks.
556 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
557 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
558 * src/globals.cc: Allocate filebufs for standard streams here.
559 (buf_cout, buf_cin, buf_cerr): Like so.
560 (buf_wcout, buf_wcin, buf_wcerr): And so.
561 * testsuite/27_io/ios_init.cc: Add.
563 2001-06-04 Brendan Kehoe <brendan@zen.org>
564 Benjamin Kosnik <bkoz@redhat.com>
567 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
568 for generic ctype virtuals.
569 * src/locale.cc: Minor tweaks, naming consistency.
570 * testsuite/22_locale/ctype.cc: Add test.
572 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
573 Phil Edwards <pme@sources.redhat.com>
575 PR libstdc++/3035 and PR libstdc++/3036
576 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
577 to LWG DR 181 and 265.
579 2001-06-04 Phil Edwards <pme@sources.redhat.com>
582 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
583 equal_range): Add const overloads as per LWG DR 214.
584 * include/bits/stl_set.h: Likewise.
586 2001-06-04 Brendan Kehoe <brendan@zen.org>
587 Phil Edwards <pme@sources.redhat.com>
590 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
591 comparison; all positions must be < _Nb.
592 * testsuite/23_containers/bitset_members.cc: New file.
594 2001-06-04 Brendan Kehoe <brendan@zen.org>
597 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
598 ctors to match the standard.
600 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
602 * include/bits/char_traits.h (move): Reverse qualification of
604 (copy): Reverse qualification of memcpy with std::.
606 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
608 * include/bits/char_traits.h (move): Qualify memmove with std::.
609 (copy): Qualify memcpy with std::.
610 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
613 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
615 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
617 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
618 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
619 SUN make VPATH peculiarities.
620 * libsupc++/Makefile.in: Regenerate.
622 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
624 * src/Makefile.am (VPATH): Delimit with ":", not space.
625 * src/Makefile.in: Regenerate.
627 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
629 * configure: Regenerate.
631 2001-05-31 scott snyder <snyder@fnal.gov>
634 * include/bits/istream.tcc: Include std_ostream.h.
636 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
639 * src/bitset.cc: Qualify size_t with std::.
641 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
643 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
644 (_GLIBCPP_BUGGY_COMPLEX): Remove.
645 * config.h.in: Regenerate.
646 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
647 * aclocal.m4: Regenerate.
648 * configure.in: Don't call it.
649 * configure: Regenerate.
652 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
653 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
657 * include/bits/std_complex.h: Include sstream. Put definitions for
658 complex inserters and extractors here, and remove them from...
659 * src/complex_io.cc: ...here.
660 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
662 (basic_ios::__numget_type): Same.
663 * include/bits/std_istream.h: Same.
664 * include/bits/std_ostream.h: Same.
665 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
666 class iterator template arguments.
667 * src/locale-inst.cc: Add explicit has_facet instantiations.
668 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
669 (_M_get_fnumput): Remove.
670 (_M_get_fnumget): Remove.
671 (basic_ios::_M_check_facet): New function.
672 (basic_ios::_M_cache_facets): New function.
673 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
674 (basic_ios::imbue): Call _M_cache_facets.
675 (basic_ios::init): Same.
676 * include/bits/istream.tcc: Format, use _M_check_facet.
677 * include/bits/ostream.tcc: Same.
678 * include/bits/locale_facets.tcc (__output_float): Change
679 signature, add _Traits.
680 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
683 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
685 * include/bits/c++config (__USE_MALLOC): Do not define it.
686 Document why not and give pointers to more information.
688 * docs/html/23_containers/howto.html: Update documentation
689 to reflect recent understanding of problem.
690 * docs/html/17_intro/howto.html: Likewise.
692 2001-05-30 Phil Edwards <pme@sources.redhat.com>
694 * docs/doxygen/user.cfg.in: Minor addition.
695 * docs/html/documentation.html: Reorganize. Put most-looked-at
697 * docs/html/install.html: Update for 3.0. HTML fixups.
698 * docs/html/17_intro/howto.html: Likewise.
699 * docs/html/18_support/howto.html: Likewise.
700 * docs/html/19_diagnostics/howto.html: Likewise.
701 * docs/html/20_util/howto.html: Likewise.
702 * docs/html/23_containers/howto.html: Likewise.
703 * docs/html/24_iterators/howto.html: Likewise. More notes.
704 * docs/html/25_algorithms/howto.html: Likewise.
705 * docs/html/26_numerics/howto.html: Likewise. More notes.
706 * docs/html/27_io/howto.html: Likewise.
707 * docs/html/ext/howto.html: Likewise.
708 * docs/html/faq/index.html: Likewise.
709 * docs/html/faq/index.txt: Regenerate.
710 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
711 Doxygen-created documentation.
713 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
715 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
716 get_multilibs to find gcc.
718 2001-05-30 Phil Edwards <pme@sources.redhat.com>
720 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
721 * aclocal.m4: Regenerate.
722 * configure: Regenerate.
724 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
726 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
727 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
729 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
731 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
732 * include/c_std/bits/std_cstdlib.h: Same.
733 * include/c_std/bits/std_cwchar.h: Same.
735 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
737 * docs/html/17_intro/howto.html: Update link.
738 * docs/html/23_containers/howto.html: Likewise. Add new link.
740 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
742 * include/c_std/bits/std_cmath.h (sqrt): #undef.
744 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
746 * mknumeric_limits: Stop if gen-num-limits dies.
748 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
751 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
752 * aclocal.m4: Regenerate.
755 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
756 Phil Edwards <pme@sources.redhat.com>
757 Alexandre Oliva <aoliva@redhat.com>
759 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
760 in an amd-safe manner. Revert glibcpp_prefixdir.
762 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
764 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
765 fabs, sin, sqrt. They are now implemented in terms of __builtin_
768 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
771 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
772 * include/bits/ostream.tcc: Format to match istream.tcc.
773 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
775 2001-05-24 Phil Edwards <pme@sources.redhat.com>
777 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
779 (__cxa_free_exception): Likewise with free.
781 2001-05-24 Mark Mitchell <mark@codesourcery.com>
783 * include/c_std/bin/std_cstring.h: #define away all global
784 functions we will redeclare in namespace `std'.
785 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
786 std::memset, instead of memset.
787 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
789 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
792 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
795 * include/bits/basic_ios.tcc: Small tweak.
796 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
797 ctors and dtors, and rdbuf settings.
800 * include/bits/std_sstream.h: Same, but for stringstream classes.
801 * testsuite/27_io/ostringstream_members.cc: New.
802 * testsuite/27_io/stringstream_members.cc: New.
803 * testsuite/27_io/fstream_members.cc: New.
804 * testsuite/27_io/ifstream_members.cc: Add test.
805 * testsuite/27_io/istringstream_members.cc: Add test.
806 * testsuite/27_io/ofstream_members.cc: Add test.
808 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
810 * include/bits/c++config(__NO_MATH_INLINES): Move to...
811 * config/os/gnu-linux/bits/os_defines.h: ...here.
813 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
815 * include/bits/c++config (__NO_MATH_INLINES): New macro.
816 * testsuite/26_numerics/fabs_inline.cc (main): New test.
818 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
821 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
823 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
824 (libstdc++-v3-finish): Remove.
825 (libstdc++-v3_exit): Remove.
827 2001-05-22 Phil Edwards <pme@sources.redhat.com>
829 * docs/html/documentation.html: Point to doxygen output.
831 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
833 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
835 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
836 arguments to be non-null.
837 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
838 try allocations if allocated size is greater than zero.
839 (filebuf::_M_filebuf_init): Change to
840 (filebuf::_M_allocate_file): Which is what it does now.
841 (filebuf::_M_allocate_bufers): Change to
842 (filebuf::_M_allocate_internal_buffer): This, and create
843 (filebuf::_M_allocate_pback_buffer): New.
844 (filebuf::_M_destroy_internal_buffer): New.
845 (filebuf::_M_buf_allocated): New data member.
846 (filebuf::setbuf): Use new logic, allow use of external buffer.
847 * testsuite/27_io/stringbuf_virtuals.cc: New file.
848 * testsuite/27_io/filebuf_virtuals.cc: New file.
850 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
852 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
854 (strchr): Same, but to __glibcpp_strchr.
858 * include/c_std/bits/std_cwchar.h (wcschr): Same.
864 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
866 * testsuite/21_strings/c_strings.cc (main): Fix.
868 2001-05-19 Phil Edwards <pme@sources.redhat.com>
870 * acinclude.m4: Fix --help spacing, correct comments.
871 * aclocal.m4: Regenerate.
872 * configure: Regenerate.
873 * mkcheck.in: Add usage comments.
874 * docs/html/documentation.html: Point to doxygen'd tarball.
876 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
878 * testsuite/README: Add notes.
880 * src/Makefile.am (libstdc++.INC): Remove.
881 * src/Makefile.in: Regenerate.
883 Phil Edwards <pedwards@disaster.jaj.com>
884 * mkcheck.in: Add missing '#'.
886 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
888 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
889 appropriately for remote testing and testing installed files without
892 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
894 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
895 amd glibcpp_prefixdir with absolute paths.
897 * include/bits/c++config (__GLIBCPP__): Bump.
898 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
900 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
902 * include/bits/std_valarray.h (valarray<>::operator[] const):
903 Return a const reference.
904 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
906 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
908 * configure.target (ATOMICITYH): Actually use AIX-specific code on
909 earlier versions of AIX 4.*.
911 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
913 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
914 output_file based on the name of the testcase.
916 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
918 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
919 gluefile and use it if needs_status_wrapper is set.
921 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
923 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
926 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
928 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
929 on earlier versions of AIX.
931 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
933 * testsuite_flags.in (query): Add backwards, ext directories.
935 2001-05-15 Mark Mitchell <mark@codesourcery.com>
937 * porting.texi: Correct documentation about handling
938 _LARRGEFILE_SOURCE and its ilk.
939 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
940 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
942 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
943 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
945 2001-05-15 Zack Weinberg <zackw@stanford.edu>
947 * testsuite/21_strings/inserters_extractors.cc,
948 testsuite/27_io/istream_unformatted.cc,
949 testsuite/27_io/stringstream.cc:
950 Replace multi-line string constants with C89-style
951 concatenated string constants.
953 2001-05-14 Richard Henderson <rth@redhat.com>
955 * mknumeric_limits: Build with -fno-exceptions.
957 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
959 Switch over to new harness.
960 * testsuite_flags.in: Tweaks via Gaby.
961 * testsuite/Makefile.am: Change tool to libstdc++-v3.
962 (EXPECT): Quote directly.
964 * configure.in: Output testsuite_flags.
965 * acinclude.m4: Substitute src, bld, and prefix dirs.
966 Remove glibcpp_expect, glibcpp_runtestflags.
967 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
968 * mkcheck.in: Port to new interface.
970 * aclocal.m4: Regerate.
971 * configure: Regnerate.
972 * Makefile.in: Regnerate.
973 * */Makefile.in: Regenerate.
975 * tests_flags.in: Remove.
976 * testsuite/lib/libstdc++.exp: Remove.
977 * testsuite/libstdc++.tests/tests.exp: Remove.
979 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
981 * configure.target: Remove detection of AIX pthread multilib, now
982 obtained from `gcc -v'.
984 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
986 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
987 size. Add hpux case for HP size.
989 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
991 * testsuite_flags.in: New, simplified interface.
992 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
993 * testsuite/libstdc++-v3.dg: Add.
994 * testsuite/libstdc++-v3.dg/dg.exp: Add.
996 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
998 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
999 * testsuite/config/default.exp: Update bugs email address.
1001 2001-05-11 Richard Henderson <rth@redhat.com>
1003 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
1004 all pointer encoding logic.
1005 (struct lsda_header_info): Add ttype_base.
1006 (get_ttype_entry): Use it instead of a context.
1007 (check_exception_spec): Likewise.
1008 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
1009 the c++ exception header for __cxa_call_unexpected.
1010 (__cxa_call_unexpected): Use it.
1012 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
1014 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
1015 libgloss_link_flags to find crt0.o for targets that use libgloss
1017 Change LDFLAGS to LIBS.
1018 Consistently name procedures libstdc++-XXX.
1019 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
1021 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
1023 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
1028 * include/c_std/bits/std_cwchar.h (wcschr): Same.
1033 * testsuite/21_strings/c_strings.cc: Add tests.
1035 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
1038 * include/bits/std_fstream.h (basic_filebuf): Change signature.
1039 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
1040 to int_type, pass in buffer size info.
1041 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
1042 unbuffered situation.
1043 (underflow): Remove codecvt bits for the time being.
1044 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
1045 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
1046 values from iterators, clean.
1047 * src/locale.cc: Ditto.
1048 * include/bits/sbuf_iter.h: Format.
1049 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
1050 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
1051 * testsuite/27_io/filebuf.cc: Tweaks.
1052 * testsuite/27_io/filebuf_members.cc: Tweaks.
1054 2001-05-07 Mark Mitchell <mark@codesourcery.com>
1056 * config/os/solaris/solaris2.7/bits/os_defines.h
1057 (_LARGEFILE_SOURCE): Define it.
1059 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
1061 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
1062 -prefer-non-pic depending on whether libtool has shared libraries
1063 enabled or disabled.
1064 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
1065 $(LIBSUPCXX_PICFLAGS).
1066 * configure, */Makefile.in: Rebuilt.
1068 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
1070 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
1071 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
1073 * include/bits/std_sstream.h (stringbuf): Leak
1075 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
1077 2001-05-01 Tom Browder <tbrowder@home.com>
1079 * docs/html/ext/howto.html: Fix typo.
1081 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
1083 * testsuite/libstdc++.tests/tests.exp: Add comment.
1085 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
1087 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
1089 2001-04-30 Mark Mitchell <mark@codesourcery.com>
1091 * porting.texi: Use the GFDL.
1093 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
1096 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
1097 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
1100 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
1103 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
1105 2001-04-28 Phil Edwards <pme@sources.redhat.com>
1107 * docs/doxygen/run_doxygen: Minor tweaks.
1108 * docs/doxygen/style.css: New file.
1109 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
1110 latest parameters available. Use style.css.
1112 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
1114 * docs/doxygen/mainpage.doxy: New.
1115 * docs/doxygen/user.cfg.in: Change default configuration. Single
1116 frame, other tweaks.
1118 2001-04-26 Mark Mitchell <mark@codesourcery.com>
1120 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
1121 Indicate obsolete nature of thelist for G++ 3.0.
1123 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
1125 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
1126 target_thread_file with `gcc -v'.
1127 * aclocal.m4, configure: Rebuilt.
1129 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
1131 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
1132 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
1133 * include/c_std/bits/std_cwchar.h (std): Same.
1134 * acconfig.h (std): Remove c99 injection into std.
1135 * config.h.in: Regenerate.
1137 * testsuite/README: Fix typo.
1139 * include/bits/codecvt.h: Remove warnings.
1141 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1143 * include/ext/slist: Include required header files.
1145 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
1147 * include/c_std/bits/std_cerrno.h (errno): Define macro from
1148 identifier declared with external linkage, if needed.
1149 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
1150 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
1152 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
1154 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
1155 re-configures find the build compiler.
1156 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
1158 * aclocal.m4: Regenerate.
1159 * configure: Regenerate.
1161 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
1163 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
1164 support is enabled correctly before long long is activated.
1165 * aclocal.m4: Regenerate.
1166 * configure: Regenerate.
1168 * include/backward/backward_warning.h: Format correctly.
1170 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
1171 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
1172 * testsuite/26_numerics/c99_macros.cc: Remove.
1174 2001-04-20 Phil Edwards <pme@sources.redhat.com>
1176 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
1177 __iterator_category.
1179 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
1181 * acconfig.h (_GLIBCPP_USE_C99): Add.
1182 * config.h.in: Regenerate.
1183 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
1185 * aclocal.m4: Regenerate.
1186 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
1187 * configure: Regenerate.
1188 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
1189 * configure: Regenerate.
1190 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
1192 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
1194 * include/c_std/bits/std_cstdlib.h: Same.
1195 * docs/html/configopts.html: Update.
1196 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
1198 (test_c99_classify): Add.
1199 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
1200 (_ISOC99_SOURCE): Remove.
1202 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
1203 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
1204 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
1205 * aclocal.m4: Regenerate.
1206 * configure: Regenerate.
1208 2001-04-19 Phil Edwards <pme@sources.redhat.com>
1210 * Makefile.am (doxygen): Assume script is missing execute perms.
1211 * Makefile.in: Regenerated.
1212 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
1214 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
1216 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
1218 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
1220 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
1221 * testsuite/23_containers/set_operators.cc: Same.
1223 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
1225 (__GLIBCPP__): Bump from value of last release.
1226 * include/bits/concept_check.h: Default to off, edit comments.
1227 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
1228 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
1229 * src/Makefile.in: Regenerate.
1231 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
1233 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
1234 Properly uglify member.
1236 2001-04-13 Phil Edwards <pme@sources.redhat.com>
1238 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
1242 2001-04-13 Phil Edwards <pme@sources.redhat.com>
1244 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
1245 * include/bits/concept_check.h: Uglify.
1246 * include/bits/stl_algo.h: Likewise.
1247 * include/bits/stl_algobase.h: Likewise.
1248 * include/bits/stl_deque.h: Likewise.
1249 * include/bits/stl_heap.h: Likewise.
1250 * include/bits/stl_iterator_base_funcs.h: Likewise.
1251 * include/bits/stl_list.h: Likewise.
1252 * include/bits/stl_map.h: Likewise.
1253 * include/bits/stl_multimap.h: Likewise.
1254 * include/bits/stl_multiset.h: Likewise.
1255 * include/bits/stl_numeric.h: Likewise.
1256 * include/bits/stl_queue.h: Likewise.
1257 * include/bits/stl_set.h: Likewise.
1258 * include/bits/stl_stack.h: Likewise.
1259 * include/bits/stl_vector.h: Likewise.
1260 * include/ext/hash_map: Likewise.
1261 * include/ext/hash_set: Likewise.
1262 * include/ext/slist: Likewise.
1264 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
1266 * testsuite/23_containers/set_operators.cc: Just try to compile.
1268 * testsuite/23_containers/map_operators.cc: Same.
1270 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
1272 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
1274 (dg-test): Revert rth's change.
1276 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
1278 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
1279 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
1281 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
1283 * testsuite/README: Add DejaGnu specific documentation.
1285 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
1287 * acinclude.m4: AC_CHECK_TOOL for expect.
1288 * aclocal.m4: Regenerate.
1289 * configure: Regenerate.
1290 * testsuite/Makefile.am (RUNTEST): Use substituted.
1293 * configure.in: Remove xcompiling substitution.
1294 * tests_flags.in (CROSS_LIB_PATH): Remove.
1295 (xcompiling): Remove.
1296 (CXX): Use substituted CXX.
1298 2001-04-11 Richard Henderson <rth@redhat.com>
1300 * testsuite/lib/libstdc++.exp: Specify path for output_file.
1302 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
1304 * include/bits/std_valarray.h(valarray<>::operator[]): Make
1307 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
1309 * testsuite/25_algorithms/equal.cc: New test.
1311 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
1313 * stl_algobase.h (std::equal): avoid use of possibly-undefined
1314 operator != (one line patch).
1316 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
1318 * include/backward/backward_warning.h: Re-enable.
1320 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
1321 Alexandre Oliva <aoliva@redhat.com>
1323 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
1325 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
1327 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
1328 * testsuite/26_numerics/c99_macros.cc: Add test.
1330 2001-04-06 Phil Edwards <pme@sources.redhat.com>
1332 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
1333 * docs/html/faq/index.txt: Regenerated.
1335 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
1337 * include/backward/backward_warning.h: Temporarily disable until
1338 g++ testsuite changes go in.
1339 * tests_flags.in (CROSS_LIB_PATH): Add.
1341 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
1343 Warn when using backward headers.
1344 * include/backward/algo.h: Include warning file.
1345 * include/backward/vector.h: Same.
1346 * include/backward/tree.h: Same.
1347 * include/backward/tempbuf.h: Same.
1348 * include/backward/strstream: Same.
1349 * include/backward/streambuf.h: Same.
1350 * include/backward/stream.h: Same.
1351 * include/backward/stack.h: Same.
1352 * include/backward/slist.h: Same.
1353 * include/backward/set.h: Same.
1354 * include/backward/rope.h:
1355 * include/backward/queue.h: Same.
1356 * include/backward/pair.h: Same.
1357 * include/backward/ostream.h: Same.
1358 * include/backward/new.h: Same.
1359 * include/backward/multiset.h: Same.
1360 * include/backward/multimap.h: Same.
1361 * include/backward/map.h: Same.
1362 * include/backward/list.h: Same.
1363 * include/backward/iterator.h: Same.
1364 * include/backward/istream.h: Same.
1365 * include/backward/iostream.h:
1366 * include/backward/iomanip.h:
1367 * include/backward/heap.h: Same.
1368 * include/backward/hashtable.h:
1369 * include/backward/hash_set.h:
1370 * include/backward/hash_map.h:
1371 * include/backward/function.h:
1372 * include/backward/fstream.h:
1373 * include/backward/deque.h:
1374 * include/backward/defalloc.h: Same.
1375 * include/backward/complex.h: Same.
1376 * include/backward/bvector.h:
1377 * include/backward/alloc.h:
1378 * include/backward/algobase.h: Same.
1380 * include/backward/backward_warning.h: New file.
1381 * src/Makefile.am (backward_headers): Add backward_warning.h
1382 * src/Makefile.in: Regenerate.
1384 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
1386 * src/Makefile.am (myinstalldirs): Make sure backward directory is
1388 (myinstallheaders): Install backward headers in backward directory.
1389 * src/Makefile.in: Regenerate.
1391 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
1393 Prepare for libstdc++-2.92.
1394 * docs/html/17_intro/RELEASE-NOTES (New): Update.
1395 * docs/html/configopts.html: Fix formatting.
1396 * README (file): Updates.
1397 * include/bits/c++config (__GLIBCPP__): Update.
1399 2001-04-05 Phil Edwards <pme@sources.redhat.com>
1401 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
1403 2001-04-04 Phil Edwards <pme@sources.redhat.com>
1405 * docs/doxygen/user.cfg.in: Extract all non-private members;
1406 reduce confusing documentation output.
1408 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
1410 * include/backward/fstream.h: Add missing semicolons.
1412 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
1414 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
1415 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
1416 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
1417 (ios_base::Init::_S_ios_create): New.
1418 (ios_base::Init::_S_ios_destroy): New.
1419 * include/bits/std_fstream.h: Change ctor args.
1420 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
1421 (ios_base::Init::~Init): Use _S_ios_destroy.
1422 (ios_base::sync_with_stdio): Use new members.
1423 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
1426 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1428 * include/backward/fstream.h: Expose streampos to global
1431 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1433 * include/bits/stl_iterator_base_types.h: Fix typo
1435 2001-04-03 Andreas Schwab <schwab@suse.de>
1437 * include/backward/fstream.h: Define filebuf and wfilebuf.
1439 2001-04-02 Phil Edwards <pme@sources.redhat.com>
1441 New concept checking implementation.
1442 * docs/html/19_diagnostics/howto.html: Document.
1443 * docs/html/17_intro/concept_check.diff: New file, for reference.
1444 * include/bits/boost_concept_check.h: New file from Boost.
1445 * include/bits/c++config: Update comments.
1447 * include/bits/concept_check.h: New file.
1448 * include/bits/concept_checks.h: Removed.
1449 * include/bits/container_concepts.h: Removed.
1450 * include/bits/sequence_concepts.h: Removed.
1451 * include/bits/stl_iterator_base.h: Removed; split into...
1452 * include/bits/stl_iterator_base_funcs.h: ...this new file...
1453 * include/bits/stl_iterator_base_types.h: ...and this new file.
1455 * include/bits/sbuf_iter.h: Update to use new implementation.
1456 * include/bits/std_iterator.h: Likewise.
1457 * include/bits/std_memory.h: Likewise.
1458 * include/bits/stl_algo.h: Likewise.
1459 * include/bits/stl_algobase.h: Likewise.
1460 * include/bits/stl_construct.h: Likewise.
1461 * include/bits/stl_deque.h: Likewise.
1462 * include/bits/stl_heap.h: Likewise.
1463 * include/bits/stl_list.h: Likewise.
1464 * include/bits/stl_map.h: Likewise.
1465 * include/bits/stl_multimap.h: Likewise.
1466 * include/bits/stl_multiset.h: Likewise.
1467 * include/bits/stl_numeric.h: Likewise.
1468 * include/bits/stl_queue.h: Likewise.
1469 * include/bits/stl_set.h: Likewise.
1470 * include/bits/stl_stack.h: Likewise.
1471 * include/bits/stl_uninitialized.h: Likewise.
1472 * include/bits/stl_vector.h: Likewise.
1473 * include/ext/hash_map: Likewise.
1474 * include/ext/hash_set: Likewise.
1475 * include/ext/slist: Likewise.
1476 * include/ext/stl_hashtable.h: Likewise.
1478 * src/Makefile.am (base_headers): Update list of headers.
1479 * Makefile.in: Regenerated.
1480 * src/Makefile.in: Regenerated.
1481 * libio/Makefile.in: Regenerated.
1482 * libmath/Makefile.in: Regenerated.
1483 * libsupc++/Makefile.in: Regenerated.
1484 * testsuite/Makefile.in: Regenerated.
1486 * docs/html/install.html: Update contact information.
1487 * docs/html/17_intro/howto.html: Ditto.
1488 * docs/html/18_support/howto.html: Ditto.
1489 * docs/html/20_util/howto.html: Ditto.
1490 * docs/html/21_strings/howto.html: Ditto.
1491 * docs/html/22_locale/howto.html: Ditto.
1492 * docs/html/23_containers/howto.html: Ditto.
1493 * docs/html/24_iterators/howto.html: Ditto.
1494 * docs/html/25_algorithms/howto.html: Ditto.
1495 * docs/html/26_numerics/howto.html: Ditto.
1496 * docs/html/27_io/howto.html: Ditto.
1497 * docs/html/faq/index.html: Ditto, plus info on new checking code.
1498 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
1499 * docs/html/faq/index.txt: Regenerated.
1501 2001-04-02 Zack Weinberg <zackw@stanford.edu>
1503 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
1504 messages with $which_library as well as $tool_flags and
1505 ${dg-extra-tool-flags}. Factor out annotation text into
1508 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
1510 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
1511 * include/c_std/bits/std_cwchar.h: Same.
1512 * testsuite/21_strings/c_strings.cc: Add.
1514 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
1516 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
1518 2001-04-01 Zack Weinberg <zackw@stanford.edu>
1520 * tests_flags.in: Use test a = b, not test a == b which is not
1523 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
1525 * configure.target: Remove duplicate aix entry.
1527 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
1529 * include/ext/stl_bvector.h: Move to...
1530 * include/bits/stl_vector.h: ...here.
1531 * include/ext/bvector: Move to...
1532 * include/backward/bvector.h: ...here.
1533 * include/bits/std_vector.h: Change stl_bvector include.
1534 * include/bits/std_queue.h: Remove bvector include.
1535 * include/ext/tree: Insert using rb_tree, move to...
1536 * include/backward/tree.h: ...here.
1537 * include/backward/hash_map.h: Include ext/hash_map.
1538 * include/backward/hash_set.h: Include ext/hash_set.
1539 * include/backward/queue.h: New file.
1540 * include/backward/stack.h: Edit.
1541 * include/backward/algo.h: Same.
1542 * include/backward/algobase.h: Same.
1543 * include/backward/alloc.h: Same.
1544 * include/backward/function.h: Same.
1545 * include/backward/iomanip.h: Same.
1546 * include/backward/istream.h: Same.
1547 * include/backward/iterator.h: Same.
1548 * include/backward/list.h: Same.
1549 * include/backward/map.h: Same.
1550 * include/backward/multimap.h: Same.
1551 * include/backward/multiset.h: Same.
1552 * include/backward/ostream.h: Same.
1553 * include/backward/pair.h: Same
1554 * include/backward/rope.h: Same.
1555 * include/backward/set.h: Same.
1556 * include/backward/stream.h: Same.
1557 * include/backward/strstream.h: Same.
1558 * include/backward/tempbuf.h: Same.
1559 * src/Makefile.am (ext_headers): Edit.
1560 * src/Makefile.in: Regenerate.
1561 * testsuite/ext/headers.cc (main): Fix.
1564 2001-03-30 Phil Edwards <pme@sources.redhat.com>
1566 * tests_flags.in (LIBS): Pass correct path for installed testing.
1568 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
1570 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
1571 * tests_flags.in (CXX): Construct here.
1572 (static_fail): Don't remove compile.out. Format with spaces.
1573 (INCLUDES): Deal with xcompiling.
1574 * configure.in (xcompiling): Substitute.
1575 * testsuite/Makefile.am: Snake libjava configury.
1576 * testsuite/Makefile.in: Regenerate.
1577 * testsuite/23_containers/map_operators.cc: Tweaks.
1578 * testsuite/23_containers/set_operators.cc: Tweaks.
1580 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1582 Enable dejagnu testing framework.
1583 * configure.in: Generate testsuite/Makefile.
1584 * configure: Regenerate.
1585 * Makefile.am (check-install): Change rule from this...
1586 (check-script-install): ...to this.
1587 (check): Change rule from this...
1588 (check-script):...to this.
1589 * Makefile.in: Regenerate.
1591 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
1593 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
1595 (LIBTOOL): Let automake take care of its definition.
1596 * libsupc++/Makefile.in: Rebuilt.
1598 2001-03-28 Richard Henderson <rth@redhat.com>
1600 IA-64 ABI Exception Handling:
1601 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
1602 * configure.in: Use it.
1603 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
1604 * libsupc++/Makefile.am (sources): Update files list.
1605 * libsupc++/Makefile.in: Regenerate.
1606 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
1607 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
1608 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
1609 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
1610 * libsupc++/exception_support.cc: Remove.
1611 * libsupc++/exception_support.h: Remove.
1612 * libsupc++/pure.cc: Use std::terminate.
1613 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
1614 (__is_pointer): Remove.
1615 * libsupc++/unwind-cxx.h: New file.
1616 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
1618 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
1620 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
1622 * src/Makefile.am (CXXLINK): Likewise.
1623 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
1625 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
1627 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
1629 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1631 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
1634 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
1636 * include/bits/basic_file.h (get_fileno): Remove.
1637 (_M_fileno): Remove.
1638 (_M_cfile_created): Add.
1639 (basic_file::basic_file(__c_file_type*, openmode): Add.
1640 (basic_file::basic_file(int, const char*, openmode): Remove.
1641 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
1642 const char*, ios_base::openmode): Don't allocate
1643 internal buffers. Turn off internal buffers.
1644 (basic_filebuf::overflow): Remove test for null buffer.
1645 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
1646 * include/bits/streambuf.cc: Tweak.
1647 * include/bits/std_ostream.h: Tweak.
1648 * config/basic_file_libio.h: Same.
1649 * config/basic_file_stdio.h: Same.
1650 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
1651 * testsuite/27_io/filebuf_members.cc: Tweaks.
1652 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
1654 2001-03-24 Phil Edwards <pme@sources.redhat.com>
1656 * Makefile.am: New targets, doxygen and doxygen-maint.
1657 * Makefile.in: Regenerated.
1658 * docs/doxygen/run_doxygen: Finally implemented.
1659 * docs/doxygen/maint.cfg.in: New file.
1660 * docs/doxygen/user.cfg.in: New file.
1662 2001-03-24 Phil Edwards <pme@sources.redhat.com>
1664 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
1665 * src/Makefile.am: Replace leading spaces with tabs on continuation
1667 * aclocal.m4: Regenerated.
1669 * Makefile.in: Ditto.
1670 * src/Makefile.in: Ditto.
1671 * libio/Makefile.in: Ditto.
1672 * libmath/Makefile.in: Ditto.
1673 * libsupc++/Makefile.in: Ditto.
1675 2001-03-24 Phil Edwards <pme@sources.redhat.com>
1677 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
1678 concept-checking code and current status of same.
1679 * docs/html/ext/howto.html: Ditto.
1680 * docs/html/faq/index.html: Ditto.
1681 * docs/html/faq/index.txt: Regenerated.
1683 2001-03-24 Phil Edwards <pme@sources.redhat.com>
1685 * include/bits/std_bitset.h: Include ostream and istream headers
1686 instead of iostream.
1688 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
1690 * include/bits/ostream.tcc: Use __builtin_alloca.
1692 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
1694 * src/misc-inst.cc (__sink_unused_warning): Move to...
1695 * src/locale-inst.cc (__sink_unused_warning): Move to...
1696 * src/stl-inst.cc: Here.
1697 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
1700 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1702 * intclude/bits/basic_file.h: Fix typos in comments.
1704 2001-03-20 Richard Henderson <rth@redhat.com>
1706 * src/gen-num-limits.cc: Instantiate for wchar_t.
1707 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
1709 2001-03-20 Jason Merrill <jason@redhat.com>
1711 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
1712 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
1713 * libsupc++/cxxabi.h: Declare it.
1715 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
1717 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
1718 signal_func with an unspecified argument list.
1720 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
1722 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
1724 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1726 * include/bits/basic_string.tcc (operator+): Fix thinko.
1728 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
1731 * include/bits/std_streambuf.h: Remove cached locale facets.
1732 (basic_streambuf::_M_buf_fctype): Remove.
1733 (basic_streambuf::~basic_streambuf): Remove here.
1734 (basic_streambuf::basic_streambuf): Same.
1735 (basic_streambuf::imbue): Same.
1736 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
1737 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
1738 (basic_filebuf::~basic_filebuf()): Remove here.
1739 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
1740 (basic_filebuf::imbue): Same.
1741 * include/bits/localefwd.h (_Count_ones): Remove.
1742 (locale::_S_num_categories): Just use 6, since this doesn't
1743 actually change, ever.
1744 * include/bits/locale_facets.tcc (has_facet): Simplify.
1746 * testsuite/27_io/filebuf.cc (test06): Add tests.
1748 2001-03-13 Steve Ellcey <sje@cup.hp.com>
1750 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
1751 match HP-UX ctype.h header file.
1753 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
1755 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
1756 duplicate definitions of __dj_ctype_*
1758 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
1760 * libsupc++/new: Remove pragma interface.
1761 * libsupc++/typeinfo: Same.
1762 * libsupc++/exception: Same.
1763 * libsupc++/new_handler.cc: Remove pragma implementation.
1764 (bad_alloc::~bad_alloc()): Add.
1765 * libsupc++/exception_support.cc: Same.
1766 (exception::~exception): Add.
1767 (bad_exception::~bad_exception): Add.
1768 * libsupc++/tinfo.cc: Same.
1769 (bad_cast::~bad_cast): Add.
1770 (bad_typeid::~bad_typeid): Add.
1772 2001-03-13 Phil Edwards <pme@sources.redhat.com>
1774 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
1776 2001-03-12 Felix Lee <flee@redhat.com>
1778 * mkcheck.in: workaround for bash 2.01 IFS bug.
1780 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
1782 Fixups for -fno-for-scope
1783 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
1784 * src/valarray-inst.cc (__gslice_to_index): Same.
1786 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
1788 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
1789 prior to trapping signal (UnixWare 7 workaround).
1791 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
1793 * include/backward/hashtable.h: Same.
1794 * include/backward/rope.h: Fix include.
1796 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
1798 * include/backward/vector.h: Include std_vector.h.
1800 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
1801 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
1804 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1806 * include/ext/stl_hashtable.h: Change type of __n to size_t
1807 * include/backward/bvector.h: Include <ext/stl_bvector.h>
1809 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1811 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
1812 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
1813 Use streamsize, not int_type.
1815 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
1817 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
1820 2001-03-08 Andreas Schwab <schwab@suse.de>
1822 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
1824 * aclocal.m4, configure: Regenerated.
1826 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
1828 * include/bits/std_iosfwd.h: Remove string forward decls here.
1829 * include/bits/stringfwd.h: Add forward decls for char_traits
1831 * config/c_io_libio.h (wstreamoff): Delete.
1832 * config/c_io_stdio.h (wstreamoff): Same.
1833 * include/bits/char_traits.h: Use streamoff not wstreamoff for
1834 char_traits<wchar_t>::off_type.
1835 Remove duplicate typedefs.
1836 * include/bits/fpos.h: Define streampos/wstreampos here.
1837 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
1840 Changeup output files.
1841 * testsuite/27_io/istream_unformatted.cc: Change output files.
1842 * testsuite/27_io/istream_seeks-1.txt: Add.
1843 * testsuite/27_io/istream_seeks-2.tst: Add.
1844 * testsuite/27_io/istream_seeks-1.tst: Add.
1845 * testsuite/27_io/istream_unformatted-2.tst: Delete.
1846 * testsuite/27_io/istream_unformatted-3.tst: Delete.
1847 * testsuite/27_io/istream_unformatted-3.txt: Delete.
1849 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
1851 Add Irix 5.2, 6.3 support.
1852 * config/os/irix/bits: Renamed to...
1853 * config/os/irix/irix6.5/bits: this.
1854 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
1855 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
1856 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
1857 * config/os/irix/irix5.2/bits/ctype_noninline.h
1858 (ctype<char>::ctype): Initialize _M_table with __ctype.
1859 * configure.target: Adjust.
1861 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
1864 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
1865 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
1867 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
1868 (*__pf)(__ios_type&)): Same.
1869 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
1870 (*__pf)(ios_base&))): Same.
1871 * testsuite/27_io/istream_extractor_other.cc: Add tests.
1872 * testsuite/27_io/istream_manip.cc (test01): Fix.
1874 2001-03-06 Nathan Myers <ncm@cantrip.org>
1875 Benjamin Kosnik <bkoz@redhat.com>
1877 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
1878 * testsuite/17_intro/header_cerrno.cc (test01): New file.
1879 * testsuite/17_intro/header_cassert.cc (test01): New file.
1880 * testsuite/17_intro/header_cstddef.cc (test01): New file.
1881 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
1882 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
1884 2001-03-05 scott snyder <snyder@fnal.gov>
1887 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
1889 * include/c_std/bits/std_cstdlib.h: ... to here.
1890 * testsuite/17_intro/header_cstdlib.cc: Add test.
1892 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
1894 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
1896 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
1898 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
1899 definition. Replace enum with static const variables.
1901 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
1902 throw specification, fix typos, use <static_cast>.
1903 (ctype<char>::scan_is): remove throw specification.
1904 (ctype<char>::scan_not): likewise.
1906 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
1907 (ctype<char>::do_toupper(char)): use <static_cast>.
1908 (ctype<char>::do_toupper(char *, const char *)): likewise.
1909 (ctype<char>::do_tolower(char)): likewise.
1910 (ctype<char>::do_tolower(char *, const char *)): likewise.
1912 2001-03-04 Phil Edwards <pme@sources.redhat.com>
1914 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
1915 * include/backward/algo.h: Use std not __STD. Remove unneeded
1916 macros and "never happens" code. Adjust to C++STYLE guidelines.
1917 * include/backward/algobase.h: Likewise.
1918 * include/backward/alloc.h: Likewise.
1919 * include/backward/bvector.h: Likewise.
1920 * include/backward/deque.h: Likewise.
1921 * include/backward/function.h: Likewise.
1922 * include/backward/hash_map.h: Likewise.
1923 * include/backward/hash_set.h: Likewise.
1924 * include/backward/hashtable.h: Likewise.
1925 * include/backward/heap.h: Likewise.
1926 * include/backward/iterator.h: Likewise.
1927 * include/backward/list.h: Likewise.
1928 * include/backward/map.h: Likewise.
1929 * include/backward/multimap.h: Likewise.
1930 * include/backward/multiset.h: Likewise.
1931 * include/backward/pair.h: Likewise.
1932 * include/backward/rope.h: Likewise.
1933 * include/backward/set.h: Likewise.
1934 * include/backward/slist.h: Likewise.
1935 * include/backward/stack.h: Likewise.
1936 * include/backward/strstream: Likewise.
1937 * include/backward/tempbuf.h: Likewise.
1938 * include/backward/tree.h: Likewise.
1939 * include/backward/vector.h: Likewise.
1940 * include/bits/basic_ios.h: Likewise.
1941 * include/bits/basic_ios.tcc: Likewise.
1942 * include/bits/basic_string.h: Likewise.
1943 * include/bits/c++config: Likewise.
1944 * include/bits/concept_checks.h: Likewise.
1945 * include/bits/fpos.h: Likewise.
1946 * include/bits/fstream.tcc: Likewise.
1947 * include/bits/functexcept.h: Likewise.
1948 * include/bits/ios_base.h: Likewise.
1949 * include/bits/istream.tcc: Likewise.
1950 * include/bits/mask_array.h: Likewise.
1951 * include/bits/ostream.tcc: Likewise.
1952 * include/bits/pthread_allocimpl.h: Likewise.
1953 * include/bits/sbuf_iter.h: Likewise.
1954 * include/bits/slice.h: Likewise.
1955 * include/bits/slice_array.h: Likewise.
1956 * include/bits/sstream.tcc: Likewise.
1957 * include/bits/std_bitset.h: Likewise.
1958 * include/bits/std_fstream.h: Likewise.
1959 * include/bits/std_iomanip.h: Likewise.
1960 * include/bits/std_ios.h: Likewise.
1961 * include/bits/std_istream.h: Likewise.
1962 * include/bits/std_iterator.h: Likewise.
1963 * include/bits/std_memory.h: Likewise.
1964 * include/bits/std_ostream.h: Likewise.
1965 * include/bits/std_sstream.h: Likewise.
1966 * include/bits/std_streambuf.h: Likewise.
1967 * include/bits/std_string.h: Likewise.
1968 * include/bits/std_valarray.h: Likewise.
1969 * include/bits/stl_algo.h: Likewise.
1970 * include/bits/stl_algobase.h: Likewise.
1971 * include/bits/stl_alloc.h: Likewise.
1972 * include/bits/stl_construct.h: Likewise.
1973 * include/bits/stl_deque.h: Likewise.
1974 * include/bits/stl_function.h: Likewise.
1975 * include/bits/stl_heap.h: Likewise.
1976 * include/bits/stl_iterator.h: Likewise.
1977 * include/bits/stl_iterator_base.h: Likewise.
1978 * include/bits/stl_list.h: Likewise.
1979 * include/bits/stl_map.h: Likewise.
1980 * include/bits/stl_multimap.h: Likewise.
1981 * include/bits/stl_multiset.h: Likewise.
1982 * include/bits/stl_numeric.h: Likewise.
1983 * include/bits/stl_pair.h: Likewise.
1984 * include/bits/stl_pthread_alloc.h: Likewise.
1985 * include/bits/stl_queue.h: Likewise.
1986 * include/bits/stl_raw_storage_iter.h: Likewise.
1987 * include/bits/stl_relops.h: Likewise.
1988 * include/bits/stl_set.h: Likewise.
1989 * include/bits/stl_stack.h: Likewise.
1990 * include/bits/stl_tempbuf.h: Likewise.
1991 * include/bits/stl_threads.h: Likewise.
1992 * include/bits/stl_tree.h: Likewise.
1993 * include/bits/stl_uninitialized.h: Likewise.
1994 * include/bits/stl_vector.h: Likewise.
1995 * include/bits/streambuf.tcc: Likewise.
1996 * include/bits/type_traits.h: Likewise.
1997 * include/bits/valarray_meta.h: Likewise.
1998 * include/ext/bvector: Likewise.
1999 * include/ext/hash_map: Likewise.
2000 * include/ext/hash_set: Likewise.
2001 * include/ext/ropeimpl.h: Likewise.
2002 * include/ext/slist: Likewise.
2003 * include/ext/stl_bvector.h: Likewise.
2004 * include/ext/stl_hash_fun.h: Likewise.
2005 * include/ext/stl_hashtable.h: Likewise.
2006 * include/ext/stl_rope.h: Likewise.
2007 * src/complex_io.cc: Likewise.
2008 * src/ios.cc: Likewise.
2009 * src/locale-inst.cc: Likewise.
2010 * src/locale.cc: Likewise.
2011 * src/localename.cc: Likewise.
2012 * src/misc-inst.cc: Likewise.
2013 * src/stdexcept.cc: Likewise.
2014 * src/stl-inst.cc: Likewise.
2015 * src/strstream.cc: Likewise.
2016 * src/valarray-inst.cc: Likewise.
2018 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
2020 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
2022 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2024 * include/bits/istream.tcc: change type of __extracted to __size_type
2026 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
2028 * src/wstring-inst.cc: New file.
2029 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
2030 (libinst_wstring_la_SOURCES): Remove.
2031 (libstdc___la_LIBADD): Remove libinst_wstring_la.
2032 (sources): Add wstring-inst.cc
2033 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
2036 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2038 * src/locale.cc: initialise __ret with zero
2039 * src/strstream.cc:cast gptr to int_type
2041 2001-03-01 Phil Edwards <pme@sources.redhat.com>
2043 * docs/html/faq/index.html: Update broken links.
2044 * docs/html/faq/index.txt: Regenerated.
2046 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
2049 * configure.target: Change irix* to irix6.5* in target_os table.
2051 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
2054 * include/bits/c++config (__GLIBCPP__): Bump number in
2055 anticipation of 2.92.
2057 * include/bits/codecvt.h: Fix typo.
2058 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
2060 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
2061 instantiations for stdio model.
2063 2001-02-28 Phil Edwards <pme@sources.redhat.com>
2065 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
2066 and GLIBCPP_CXXFLAGS as unused variables.
2067 * configure.host: Likewise.
2068 * configure.target: Likewise.
2069 * aclocal.m4: Regenerated.
2070 * configure: Regenerated.
2071 * Makefile.in: Regenerated.
2072 * libio/Makefile.in: Regenerated.
2073 * libmath/Makefile.in: Regenerated.
2074 * libsupc++/Makefile.in: Regenerated.
2075 * src/Makefile.in: Regenerated.
2077 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
2080 * include/bits/basic_file.h: Include basic_file_model.h.
2081 * config/c_io_libio.cc: Move to...
2082 * config/basic_file_libio.cc: Here.
2083 * config/basic_file_libio.h: New file.
2084 * config/c_io_stdio.cc: Move to...
2085 * config/basic_file_stdio.cc: Here.
2086 * config/basic_file_stdio.h: New file.
2087 * config/c_io_libio.h: Tweak.
2088 * config/c_io_stdio.h: Tweak.
2089 * src/Makefile.am (build_headers): Add basic_file_model.h.
2090 (sources): Add basic_file.cc, remove c++io.cc.
2091 * src/Makefile.in: Regenerate.
2092 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
2093 basic_file_model.h and basic_file.cc.
2094 * aclocal.m4: Regenerate.
2095 * configure: Regenerate.
2096 * testsuite/27_io/filebuf.cc (test05): Add regression.
2098 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
2101 * config/cpu/alpha/bits/atomicity.h: Change.
2102 * config/cpu/arm/bits/atomicit3y.h
2103 * config/cpu/generic/bits/atomicity.h
2104 * config/cpu/i386/bits/atomicity.h
2105 * config/cpu/i486/bits/atomicity.h
2106 * config/cpu/ia64/bits/atomicity.h
2107 * config/cpu/powerpc/bits/atomicity.h
2108 * config/cpu/sparc/sparc32/bits/atomicity.h
2109 * config/cpu/sparc/sparc64/bits/atomicity.h
2110 * config/os/aix/bits/atomicity.h
2111 * config/os/irix/bits/atomicity.h
2113 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
2115 * include/bits/std_stdexcept.h (runtime_error): Make string
2117 (logic_error): Same.
2118 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
2121 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
2125 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
2126 string object, not reference.
2127 (runtime_error::runtime_error): Same.
2128 * testsuite/19_diagnostics/stdexceptions.cc: New file.
2130 2001-02-26 Phil Edwards <pme@sources.redhat.com>
2132 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
2133 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
2134 diagnostics. Remove WFMT_FLAGS.
2135 * configure.in: Replace WFMT_FLAGS with diagnostics options.
2136 * libsupc++/Makefile.am: Likewise.
2137 * src/Makefile.am: Likewise.
2138 * aclocal.m4: Regenerated.
2139 * configure: Regenerated.
2140 * Makefile.in: Regenerated.
2141 * libio/Makefile.in: Regenerated.
2142 * libmath/Makefile.in: Regenerated.
2143 * libsupc++/Makefile.in: Regenerated.
2144 * src/Makefile.in: Regenerated.
2146 2001-02-26 Phil Edwards <pme@sources.redhat.com>
2148 Fixes libstdc++/2079
2149 * include/backward/iomanip.h: Expose <ios> manipulators to global
2151 * include/backward/iostream.h: Also expose std::ws.
2153 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
2155 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
2157 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
2159 * include/bits/codecvt.h: Use __builtin_alloca.
2160 * include/bits/ostream.tcc: Same.
2161 * include/bits/fstream.tcc: Same.
2163 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
2165 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
2167 2001-02-23 David Edelsohn <dje@watson.ibm.com>
2169 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
2171 2001-02-23 Phil Edwards <pme@sources.redhat.com>
2174 * include/backward/iostream.h: Expose std::flush in old headers.
2176 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2178 * mknumeric_limits: Remove special-casing on target. Use gcc
2179 instead of g++ to build gen-num-limits.cc
2181 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
2183 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
2185 * include/bits/codecvt.h: Use alloca instead of __extension__ for
2187 * include/bits/ostream.tcc: Same.
2188 * include/bits/std_ostream.h: Same.
2189 * include/bits/fstream.tcc: Same.
2190 * include/bits/locale_facets.tcc: Add typename.
2191 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
2193 2001-02-21 Phil Edwards <pme@sources.redhat.com>
2195 * tests_flags.in: Remove -n flag from call to echo.
2197 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
2199 * config/c_locale_gnu.h: Add clocale include.
2201 2001-02-20 Phil Edwards <pme@sources.redhat.com>
2203 * include/bits/stl_config.h: Remove file.
2204 * src/Makefile.am (base_headers): Remove from list.
2205 * configure: Regenerate.
2206 * Makefile.in: Ditto.
2207 * libio/Makefile.in: Ditto.
2208 * libmath/Makefile.in: Ditto.
2209 * libsupc++/Makefile.in: Ditto.
2210 * src/Makefile.in: Ditto.
2212 * include/bits/c++config: Move relevant macros to here.
2213 * include/backward/alloc.h: Include c++config.h instead.
2214 * include/backward/function.h: Ditto.
2215 * include/backward/heap.h: Ditto.
2216 * include/backward/pair.h: Ditto.
2217 * include/bits/pthread_allocimpl.h: Ditto.
2218 * include/bits/std_functional.h: Ditto.
2219 * include/bits/std_iterator.h: Ditto.
2220 * include/bits/std_numeric.h: Ditto.
2221 * include/bits/std_utility.h: Ditto.
2222 * include/bits/stl_algobase.h: Ditto.
2223 * include/bits/type_traits.h: Ditto.
2224 * src/stl-inst.cc: Ditto.
2226 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2228 * include/bits/basic_file.h: Add #pragma system_header
2229 * include/bits/basic_ios.h: Ditto.
2230 * include/bits/basic_string.h: Ditto.
2231 * include/bits/char_traits.h: Ditto.
2232 * include/bits/codecvt.h: Ditto.
2233 * include/bits/cpp_type_traits.h: Ditto.
2234 * include/bits/fpos.h: Ditto.
2235 * include/bits/gslice.h: Ditto.
2236 * include/bits/gslice_array.h: Ditto.
2237 * include/bits/indirect_array.h: Ditto.
2238 * include/bits/ios_base.h: Ditto.
2239 * include/bits/limits_generic.h: Ditto.
2240 * include/bits/locale_facets.h: Ditto.
2241 * include/bits/localefwd.h: Ditto.
2242 * include/bits/mask_array.h: Ditto.
2243 * include/bits/sbuf_iter.h: Ditto.
2244 * include/bits/sequence_concepts.h: Ditto.
2245 * include/bits/slice.h: Ditto.
2246 * include/bits/slice_array.h: Ditto.
2247 * include/bits/std_algorithm.h: Likewise.
2248 * include/bits/std_bitset.h: Likewise.
2249 * include/bits/std_complex.h: Likewise.
2250 * include/bits/std_deque.h: Likewise.
2251 * include/bits/std_fstream.h: Likewise.
2252 * include/bits/std_functional.h: Likewise.
2253 * include/bits/std_iomanip.h: Likewise.
2254 * include/bits/std_ios.h: Likewise.
2255 * include/bits/std_iosfwd.h: Likewise.
2256 * include/bits/std_iostream.h: Likewise.
2257 * include/bits/std_istream.h: Likewise.
2258 * include/bits/std_iterator.h: Likewise.
2259 * include/bits/std_list.h: Likewise.
2260 * include/bits/std_locale.h: Likewise.
2261 * include/bits/std_map.h: Likewise.
2262 * include/bits/std_memory.h: Likewise.
2263 * include/bits/std_numeric.h: Likewise.
2264 * include/bits/std_ostream.h: Likewise.
2265 * include/bits/std_queue.h: Likewise.
2266 * include/bits/std_set.h: Likewise.
2267 * include/bits/std_sstream.h: Likewise.
2268 * include/bits/std_stack.h: Likewise.
2269 * include/bits/std_stdexcept.h: Likewise.
2270 * include/bits/std_streambuf.h: Likewise.
2271 * include/bits/std_string.h: Likewise.
2272 * include/bits/std_utility.h: Likewise.
2273 * include/bits/std_valarray.h: Likewise.
2274 * include/bits/std_vector.h: Likewise.
2275 * include/bits/stringfwd.h: Likewise.
2276 * include/bits/type_traits.h: Likewise.
2277 * include/bits/valarray_array.h: Likewise.
2278 * include/bits/valarray_meta.h: Likewise.
2280 2001-02-19 Andreas Jaeger <aj@suse.de>
2282 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
2285 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
2288 * include/bits/std_ostream.h: Replaced usage of
2289 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
2290 * include/bits/char_traits.h: Removed non-standard
2291 methods that cannot be used elsewhere.
2294 * include/bits/basic_ios.h: Uncommented #include of
2298 * include/bits/codecvt.h: See next...
2299 * include/bits/fstream.tcc: See next...
2300 * include/bits/ostream.tcc: Add __extension__
2301 to variable-length arrays.
2304 * include/bits/localefwd.h: Changed int counter type to size_t.
2307 * include/bits/std_fstream.h: Added typedef for __ctype_type.
2309 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
2311 * testsuite/21_strings/char_traits.cc: Move to ...
2312 * testsuite/21_strings/char_traits_requirements.cc: ..here.
2313 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
2314 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
2316 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
2318 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
2321 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
2323 * include/bits/c++config: Revert.
2325 2001-02-15 Mark Mitchell <mark@codesourcery.com>
2327 * include/bits/istream.tcc: Use ios_base::iostate in place of
2328 iostate throughout. Insert `typename' keyword where necessary.
2329 * include/bits/ostream.tcc: Insert `typename' keyword where
2332 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
2334 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
2335 Define so library is compliant.
2337 2001-02-15 Anthony Green <green@redhat.com>
2339 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
2341 * aclocal.m4: Regenerate.
2342 * configure: Regenerate.
2344 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
2346 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
2347 Include ieeefp.h for fpclass on UnixWare{2,7}.
2348 * aclocal.m4: Regenerate.
2349 * configure: Regenerate.
2350 * mkcheck.in (size_command): Do without GNU-grep when using
2353 2001-02-15 Mark Mitchell <mark@codesourcery.com>
2355 Remove old ABI support from libsupc++.
2356 * libsupc++/cxxabi.h: Remove conditionally compiled code.
2357 * libsupc++/exception_support.cc: Likewise.
2358 * libsupc++/pure.cc: Likewise.
2359 * libsupc++/tinfo.cc: Likewise.
2360 * libsupc++/tinfo.h: Likewise.
2361 * libsupc++/tinfo2.cc: Likewise.
2362 * libsupc++/typeinfo: Likewise.
2363 * libsupc++/vec.cc: Likewise.
2365 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
2367 Add support for -fno-exceptions.
2368 * include/bits/exception_support.h: Remove.
2369 * include/bits/basic_string.h: Remove exception_support.
2370 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
2372 (string::substr): Same.
2373 * include/bits/basic_string.tcc (string::reserve): Replace
2374 __LENGTHERROR with __throw_length_error.
2375 (string::_S_create): Same.
2376 (string::resize): Same.
2377 (string::_M_replace): Same.
2378 (string::replace): Same.
2379 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
2380 (string::compare): Same.
2381 * include/bits/stl_vector.h: Remove exception_support.
2382 * src/Makefile.am (base_headers): Remove here.
2383 * src/Makefile.in: Regenerate.
2385 * include/bits/stl_range_errors.h: Remove.
2386 * include/bits/stl_deque.h: Use __throw_range_error.
2387 * include/bits/std_deque.h: Include functexcept.h.
2388 * include/bits/std_vector.h: Same.
2389 * src/Makefile.am (base_headers): Remove here.
2390 * src/Makefile.in: Regenerate.
2391 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
2392 * include/ext/bvector: Remove stl_range_errors.h
2394 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
2396 * include/bits/functexcept.h: New file.
2397 * src/functexcept.cc: New file. Definitions for function-based
2399 * src/Makefile.am (sources): Add functexcept.cc.
2400 * src/Makefile.in: Regenerate.
2402 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
2405 * include/bits/localefwd.h: Include functexcept.h.
2406 * include/bits/std_iosfwd.h: Same.
2408 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
2409 throw basic_ios::failure.
2410 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
2411 Use __throw_exception_again.
2412 (filebuf::_M_filebuf_init): Same.
2413 * include/bits/streambuf.tcc (__copy_streambufs): Same.
2414 * include/bits/ostream.tcc (ostream::operator<<): Same.
2415 * include/bits/istream.tcc (istream::operator>>): Same.
2416 * include/bits/basic_string.tcc (string::_M_mutate): Same.
2417 (string::_S_construct): Same.
2418 (string::_M_clone): Same.
2419 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
2421 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
2422 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
2423 __throw_exception_again.
2424 (locale::_Imp::_Imp(string, size_t): Same.
2425 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
2426 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
2427 (locale::locale(const char*)): Use __throw_runtime_error.
2428 (locale::classic): Use __throw_exception_again.
2429 (locale::_S_normalize_category): Use __throw_runtime_error.
2431 * src/stdexcept.cc: Remove cruft.
2433 * libsupc++/exception_defines.h: New file.
2434 * libsupc++/new_opnt.cc: Include exception_defines.h.
2435 * libsupc++/vec.cc: Same.
2436 (__cxa_vec_new2): Use __throw_exception_again.
2437 (__cxa_vec_new3): Same.
2438 (__cxa_vec_ctor): Same.
2439 (__cxa_vec_delete3): Same.
2440 (__cxa_vec_cctor): Same.
2441 (__cxa_vec_delete2): Same.
2442 (__cxa_vec_dtor): Same.
2443 * libsupc++/exception_support.cc: Include exception_defines.h. Only
2444 compile exception-handling bits if __EXCEPTIONS is defined.
2445 Remove old ABI support.
2446 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
2447 std::__throw_bad_alloc() instead of throw bad_alloc.
2448 * libsupc++/Makefile.am: Add exception_defines.h.
2449 * libsupc++/Makefile.in: Reformat.
2450 * libsupc++/*: Format.
2452 2001-02-15 Phil Edwards <pme@sources.redhat.com>
2454 * docs/html/configopts.html: Minor updates and typo fixes.
2455 * docs/html/faq/index.html: Updates of the "not really bugs" list.
2456 * docs/html/faq/index.txt: Regenerated.
2458 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
2460 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
2461 dejagnu/dg.exp. Adapt to log options used to run testcases.
2463 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2465 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
2468 2001-02-13 Dirk Mueller <dmuell@gmx.net>
2469 Phil Edwards <pme@sources.redhat.com>
2471 * include/backward/function.h: Do not use rel_ops for older
2473 * include/backward/pair.h: Likewise.
2475 2001-02-12 Mark Mitchell <mark@codesourcery.com>
2477 * src/locale.cc: Remove bogus locale::id definitions.
2479 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2481 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
2482 not _DEFINE_VALARRAY_OPERATOR which is not existent.
2484 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
2485 thinko in member initialisation.
2487 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
2489 * include/bits/std_valarray.h(valarray<>::shift): Avoid
2490 comparaison between signed and unsigned integer types.
2491 (valarray<>::cshift): Reformat.
2493 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
2495 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
2496 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
2497 * configure.in: Test for sigsetjmp.
2498 * configure, config.h.in: Rebuilt.
2500 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
2502 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
2503 lengths and strides.
2504 (__gslice_to_index): Document.
2506 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
2508 * include/bits/char_traits.h char_traits<char>::int_type: Change
2509 to `int' to match 21.1.3.1/2.
2511 * testsuite/21_strings/char_traits-int_type.C: New test.
2513 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
2515 * testsuite/Makefile.am: New file.
2517 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
2519 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
2521 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
2523 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
2525 2001-02-08 David Edelsohn <edelsohn@gnu.org>
2527 * configure.target (aix4*): Remove extra set of brackets.
2529 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
2532 * include/bits/stringfwd.h: New file.
2533 * include/bits/stl_string_fwd.h: Remove.
2534 * include/bits/localefwd.h: Remove declaration for allocator.
2535 * include/bits/std_iosfwd: Same.
2536 * include/bits/std_string.h: Include it.
2537 * include/bits/std_ios.h: Remove include.
2538 * include/bits/basic_string.h: Tweak.
2539 * libsupc++/new: Format.
2540 * src/Makefile.am (base_headers): Add stringfwd.h, remove
2542 * src/Makefile.in: Regenerate.
2543 * include/bits/std_stdexcept.h: Rewrite.
2544 * src/stdexcept.cc: Same.
2546 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
2548 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
2549 install locations too.
2550 * aclocal.m4: Regenerate.
2551 * configure.in: Remove USE_LIBDIR.
2552 * configure: Regenerate.
2553 * src/Makefile.am (toolexecdir): Simplify, use
2554 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
2555 * src/Makefile.in: Regenerate.
2556 * libsupc++/Makefile.am: Same.
2557 * libsupc++/Makefile.in: Regenerate.
2559 * src/Makefile.am: Just remove special rules for locale-inst.cc and
2560 misc-inst.cc as no longer necessary.
2562 Follow C++STYLE for naming non-static functions.
2563 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
2565 * include/bits/streambuf.tcc: Same.
2566 * include/bits/ostream.tcc: Same.
2567 * include/bits/istream.tcc: Same.
2568 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
2569 (_S_output_float): To __output_float.
2570 * include/bits/std_streambuf.h (_S_copy_streambufs): To
2572 * include/bits/locale_facets.tcc (_S_build_float_format): To
2573 __build_float_format.
2574 (_S_format): To __output_integer.
2575 (_S_fill): To __pad.
2576 * src/locale.cc: Same.
2577 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
2579 * include/bits/locale_facets.tcc (_S_group_digits): To
2581 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
2582 for collate, numpunct.
2584 2001-02-06 Phil Edwards <pme@sources.redhat.com>
2586 * docs/html/configopts.html: Fix HTML markup.
2587 * docs/html/install.html: Bring up to date.
2588 * docs/html/17_intro/C++STYLE: Add global variable conventions.
2589 * docs/html/21_strings/howto.html: More notes.
2590 * docs/html/22_locale/howto.html: Fix HTML markup.
2591 * docs/html/27_io/howto.html: More notes.
2592 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
2593 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
2595 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
2597 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
2598 to match header files.
2599 (_S_output_float): Likewise.
2600 (_S_copy_streambufs): Likewise.
2602 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
2603 Phil Edwards <pme@sources.redhat.com>
2605 * include/bits/std_istream.h (op>> signed,unsigned char): Must
2606 use reinterpret_cast, not static_cast.
2608 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
2610 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
2611 * aclocal.m4: Regenerate.
2612 * configure: Regenerate.
2614 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2616 * include/bits/locale_facets.h (class moneypunct): Fix typos.
2617 * libsupc++/pure.cc: Revert.
2619 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2621 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
2622 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
2623 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
2624 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
2625 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
2626 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
2627 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
2628 * aclocal.m4: Regenerate.
2629 * configure: Regenerate.
2631 2001-02-05 Mark Mitchell <mark@codesourcery.com>
2633 * include/bits/locale_facets.tcc: Remove `static' keyword on
2634 function definitions.
2635 * include/bits/std_streambuf.h: Likewise.
2636 * src/Makefile.am: Remove use of -fimplicit-templates.
2637 * src/Makefile.in: Regenerated.
2638 * src/locale-inst.cc: Explicitly instantiate more functions.
2639 * src/misc-inst.cc: Likewise.
2640 * src/string-inst.cc: Likewise.
2642 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2644 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
2645 macro. Consolidate all the bits to do with where includes might be
2647 * aclocal.m4: Regenerate.
2648 * configure.in: Use it.
2649 * configure: Regenerate.
2650 * src/Makefile.am (targetincludep): Use simplified rules.
2651 (targetincludep): Rename gxx_target_include_dir.
2652 (myincludep): Rename gxx_include_dir.
2653 * src/Makefile.in: Regenerate.
2654 * libsupc++/Makefile.am: Use simplified rules.
2655 * libsupc++/Makefile.in: Regenerate.
2657 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2659 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
2660 * include/c_std/bits/std_cctype.h: Same.
2661 * include/c_std/bits/std_cassert.h: Same.
2662 * include/c_std/bits/std_cstdarg.h: Same.
2663 * include/c_std/bits/std_cstddef.h: Same.
2665 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
2667 * include/c_std/bits/std_ctime.h: Same.
2668 * include/c_std/bits/std_clocale.h: Same.
2669 * include/c_std/bits/std_cmath.h: Same.
2670 * include/c_std/bits/std_csetjmp.h: Same.
2671 * include/c_std/bits/std_csignal.h: Same.
2672 * include/c_std/bits/std_cstring.h: Same.
2673 * include/c_std/bits/std_cstdlib.h: Same.
2674 * include/c_std/bits/std_cwchar.h: Same.
2676 2001-02-05 Phil Edwards <pme@sources.redhat.com>
2678 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
2680 2001-02-05 Mark Mitchell <mark@codesourcery.com>
2682 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
2683 (string::_S_construct): Likewise.
2685 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
2687 * testsuite/config/default.exp: New file.
2688 * testsuite/config: New directory.
2690 2001-02-04 Mark Mitchell <mark@codesourcery.com>
2692 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
2693 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
2694 whenever !__GXX_MERGED_TYPEINFO_NAMES.
2695 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
2697 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
2698 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2700 * Makefile.am (mkinstalldirs): Set.
2701 * src/Makefile.am (mkinstalldirs): Set.
2702 * libmath/Makefile.am (mkinstalldirs): Set.
2703 * libsup++/Makefile.am (mkinstalldirs): Set.
2704 * libio/Makefile.am (mkinstalldirs): Set.
2705 * */Makefile.in: Regenerate.
2707 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
2709 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
2710 * include/bits/localefwd.h: More initialization cleanups.
2712 2001-02-03 Jeffrey A Law <law@cygnus.com>
2714 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
2715 correctly targets with 16bit ints.
2716 (_S_ios_openmode_end): Similarly.
2717 (_S_ios_iostate_end): Similarly.
2718 (_S_ios_Seekdir_end): Similarly.
2720 2001-02-02 Phil Edwards <pme@sources.redhat.com>
2722 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
2724 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
2726 * configure.in (toplevel_srcdir, auxdir): Set.
2727 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
2728 * aclocal.m4, configure, Makefile.in: Rebuilt.
2729 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
2730 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
2731 * libsupc++-v3/Makefile.in: Rebuilt.
2732 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
2733 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
2735 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
2737 * config/c_locale_generic.cc: Remove langinfo include.
2739 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
2741 Preliminary named locales.
2742 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
2743 * aclocal.m4: Regenerate.
2744 * configure.in: Use it.
2745 * configure: Regerate.
2746 * src/Makefile.am (sources): Add c++locale.cc.
2747 (build_headers): Add c++locale.h.
2748 * src/Makefile.in: Regenerate.
2749 * config/c_locale_gnu.h: New file.
2750 * config/c_locale_gnu.cc: New file. Non-inline member functions
2751 for named locales, gnu-specific.
2752 * config/c_locale_generic.h: New file.
2753 * config/c_locale_generic.cc: New file. Non-inline member
2754 functions for named locales, generic version.
2755 * docs/html/configopts.html: Add documentation on new options.
2757 * include/bits/locale_facets.h (class _Messages): Remove.
2758 (class _Moneypunct): Remove.
2759 * src/locale-inst.cc: Remove.
2761 * include/bits/locale_facets.h (class _Collate): Remove.
2762 * src/locale-inst.cc (std): Remove.
2763 * src/locale.cc: And here.
2765 * include/bits/localefwd.h (locale::_M_coalesce): New
2766 function. Correctly put together multi-name locales.
2767 (_Impl(const _Impl&, category, size_t)): Remove.
2769 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
2771 (_M_normalize_category_names): Remove.
2772 (_M_replace_categories): Fix.
2774 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
2775 (locale::_Impl::_M_construct_ctype): Remove.
2776 (locale::_Impl::_M_construct_monetary): Remove.
2777 (locale::_Impl::_M_construct_numeric): Remove.
2778 (locale::_Impl::_M_construct_time): Remove.
2779 (locale::_Impl::_M_construct_messages): Remove.
2781 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
2782 (_Use_facet_failure_handle): Remove.
2783 * src/locale.cc: Remove definitions.
2784 * src/locale-inst.cc: And here.
2786 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
2788 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
2789 create and error-check underlying locale object.
2790 (locale::facet::_S_destroy_c_locale): Add, take care of properly
2791 tearing down underlying locale object.
2792 * include/bits/localefwd.h (locale::facet): Declare.
2793 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
2794 correctness, as glibc apparently has incorrect info in it. Test
2795 with it when it works again.....
2797 * include/bits/localefwd.h (locale::_Impl::__vec_string):
2798 Remove. Number of categories is fixed at six, so just simplify and
2799 make this an array of strings.
2800 (locale::_Impl::_M_has_name): Remove.
2801 (locale::_Impl::_M_name): Remove.
2802 (locale::_Impl::_M_category_names): Turns into...
2803 (locale::_Impl::_M_names): ...this.
2804 (locale::_Impl::_M_has_same_name()): New function.
2805 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
2806 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
2808 * src/locale.cc (locale::name()): Construct mangled name
2809 accurately reflecting combined locale categories.
2811 * src/locale.cc (locale::classic()): Don't initialize here.
2812 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
2813 __refs, bool __has_name, string __str): Do it here.
2815 * include/bits/localefwd.h: _S_categories_num to
2816 _S_num_categories. _S_facets_num to _S_num_facets.
2817 (locale::id::id()): Explicitly set _M_index to zero.
2818 * src/locale.cc: Same.
2820 * src/locale.cc: (locale::locale(const char*)): Construct named
2823 * src/locale.cc: Remove numpunct_byname ctors.
2824 * testsuite/22_locale/numpunct_byname.cc: New file.
2825 * testsuite/22_locale/numpunct.cc: New file.
2827 * include/bits/localefwd.h (class locale): Change data members to
2828 protected, from private.
2829 (_Impl::_M_get_c_locale): Add member function.
2830 (locale::facet::_M_get_global_impl()): Add member function.
2831 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
2832 a __c_locale pointer.
2833 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
2835 * testsuite/22_locale/members.cc: New file, test name and combine.
2837 * include/bits/locale_facets.h (class numpunct): Remove class
2838 _Punct and _Numpunct. Rewrite class numpunct to be correct for
2840 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
2841 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
2842 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
2843 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
2844 * testsuite/22_locale/numpunct_char_members.cc: New file.
2846 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
2848 * testsuite/README: Add more comment.
2849 * testsuite/lib/libstdc++.exp: Tweak comment.
2851 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
2853 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
2855 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
2857 * testsuite/21_strings/inserters_extractors.cc: Remove
2858 explicit reference to 'testsuite/'.
2860 2001-01-25 Richard Henderson <rth@redhat.com>
2862 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
2863 bits. Fixes Tru64 build issues.
2865 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2867 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
2868 (use ${MAKE-make}, not ${MAKE:-make}).
2869 * aclocal.m4, configure: Regenerate.
2871 2001-01-25 Mark Mitchell <mark@codesourcery.com>
2873 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
2876 * src/Makefile.am (sources): Add globals.cc.
2877 * src/Makefile.in: Regenerated.
2878 * src/globals.cc: New file.
2879 * src/ios.cc (cin): Don't define here, just declare extern.
2888 2001-01-25 Phil Edwards <pme@sources.redhat.com>
2890 * include/bits/std_iterator.h: Do not include stl_relops.h.
2891 * include/bits/std_numeric.h: Ditto.
2892 * include/bits/stl_algobase.h: Ditto.
2893 * include/bits/stl_relops.h: Add comment warning about problems.
2895 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
2897 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
2898 in testcases. Prepare for the DejaGnu based framework.
2899 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
2900 directory -- it is now mkcheck working directory.
2901 * tests_flags.in: Remove reference to $(top_srcdir). Use
2903 * Makefile.am (check, check-install): Change mkcheck invocation
2905 * Makefile.in: Regenerate.
2907 2001-01-24 Mark Mitchell <mark@codesourcery.com>
2909 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
2910 (__always_swap): Likewise.
2912 2001-01-23 Chris Demetriou <cgd@broadcom.com>
2914 * libsupc++/exception_support.cc (__terminate_func): Remove
2916 (__terminate_func_ptr): New typedef.
2917 (__terminate, __terminate_set_func): New extern function
2919 (std::terminate): Use __terminate function.
2920 (std::set_terminate): Use __terminate_set_func function.
2922 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
2924 * configure.target: Just use os_include_dir always.
2925 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
2926 Link atomicity files and ctype files here.
2927 * configure: Regenerate.
2928 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
2929 (GLIBCPP_ENABLE_ATOMICITY): Remove.
2930 * aclocal.m4: Regenerate.
2932 2001-01-23 Chris Demetriou <cgd@broadcom.com>
2934 * configure.in: Place definition of MULTISUBDIR in
2935 libsupc++/Makefile as is done for src/Makefile.
2936 * configure: Regenerate.
2938 2001-01-23 Phil Edwards <pme@sources.redhat.com>
2940 * acinclude.m4: Cosmetic changes only.
2941 * aclocal.m4: Regenerated.
2942 * configure: Regenerated.
2943 * configure.target: Update documented list of changed variables.
2944 * docs/html/install.html: Fix typo.
2945 * docs/html/20_util/howto.html: More notes on auto_ptr.
2946 * docs/html/27_io/howto.html: More notes on streabufs.
2947 * docs/html/faq/index.html: Add rel_ops problem and mention the
2948 DEC as(1) .subsection difficulty.
2949 * docs/html/faq/index.txt: Regenerated.
2951 2001-01-23 Mark Mitchell <mark@codesourcery.com>
2953 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
2954 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
2955 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
2956 its already provided in config.target.
2957 * aclocal.m4: Regenerated.
2958 * configure: Likewise.
2959 * configure.target: Set ctype_include_dir for lots of systems.
2960 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
2961 * libsupc++/Makefile.in: Regenerated.
2963 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
2965 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
2968 * testsuite/README: Add comment.
2970 2001-01-21 Phil Edwards <pme@sources.redhat.com>
2972 * docs/html/configopts.html: Update for current status. Fix HTML.
2973 * docs/html/install.html: Update for current status.
2975 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2977 * testsuite/libstdc++.tests/tests.exp: New file.
2978 * testsuite/lib/libstdc++.exp: Itou.
2979 * testsuite/README: Itou.
2981 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
2983 * tests_flags.in: Just output the bare minimum to run tests.
2984 Let's the caller do its own arrangement.
2986 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
2989 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
2991 * testsuite/17_intro: Prepare testcases for new style DejaGnu
2994 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
2996 * testsuite/libstdc++.tests, testsuite/lib: New directories.
2998 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
3000 * mkcheck.in: Construct file names that match $objdir structure.
3001 * testsuite/27_io/filebuf_members-1.txt: New file.
3002 * testsuite/27_io/ifstream_members-1.txt: New file.
3003 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
3005 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
3006 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
3008 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3010 * testsuite/27_io/istream_sentry.cc (test02): Fix.
3012 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
3015 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
3016 * src/ios.cc (ios_base::failure): Make definitions match.
3017 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
3018 (class bad_cast): Same.
3019 * libsupc++/exception (class exception): Add throw specs.
3020 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
3021 (set_unexpected): Same.
3022 (uncaught_exception): Same.
3025 * docs/html/17_intro/C++STYLE (classname): Fix.
3027 2001-01-16 Mark Mitchell <mark@codesourcery.com>
3029 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
3030 Use it do explicitly instantiate predicate<T> and value<T> for
3033 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
3035 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
3036 uninitialized thinko in last change.
3038 2001-01-16 Mark Mitchell <mark@codesourcery.com>
3040 * libsupc++/exception_support.cc (__cp_pop_exception): Change
3043 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
3045 * docs/html/17_intro/C++STYLE (classname): Add more existing
3046 and stylish patterns.
3049 * include/bits/istream.tcc (istream::sentry::sentry()): Set
3050 failbit if the state of the stream is not good.
3051 * testsuite/27_io/istream_sentry.cc (test02): Add test.
3052 * testsuite/27_io/istream_manip.cc (test01): Modify.
3055 reported by Paolo Carlini <pcarlini@unitus.it>
3056 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
3057 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
3060 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
3061 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
3062 (xsgetn): Same. Simplify.
3063 * testsuite/27_io/streambuf.cc (test04): Add testcases.
3065 reported by Larry Evans <jcampbell3@prodigy.net>
3066 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
3067 equality with eof on returned value from overflow.
3069 2001-01-14 Andreas Jaeger <aj@suse.de>
3071 * libio/libio.h: Add test for glibc 2.0.
3073 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
3075 * config/os/djgpp/bits/*: Fix dates.
3077 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
3078 _CharT* __end, _CharT __c): Remove.
3079 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
3080 * include/bits/char_traits.h: Tweak.
3082 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
3084 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
3085 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
3087 * aclocal.m4: regenerated.
3088 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
3089 * configure: regenerated.
3090 * config/os/djgpp, config/os/djgpp/bits: new directories.
3091 * config/os/djgpp/bits/ctype_base.h,
3092 config/os/djgpp/bits/ctype_inline.h,
3093 config/os/djgpp/bits/ctype_noninline.h,
3094 config/os/djgpp/bits/os_defines.h: new files.
3096 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
3098 * include/c_std/bits/std_cstdio.h: Undef printf.
3100 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
3102 * src/ios.cc: Fix typo: change cout->wcout.
3104 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
3105 * src/Makefile.in: Regenerate.
3107 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3109 * include/bits/std_complex.h: Fix a typo.
3111 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
3114 Fixes for libstdc++/1576
3115 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
3116 file, move contents into....
3117 * src/ios.cc: ...Here. Put defines for iostreams objects and
3118 initialization routines into one file to simplify DSO interaction.
3119 * include/bits/std_iostream.h: Touch.
3120 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
3121 * src/Makefile.am (sources): Remove stdstreams.cc.
3122 * src/Makefile.in: Regenerate.
3124 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3126 * tests_flags.in (check_directory): Fix typo.
3128 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3130 * include/bits/std_complex.h: Fix a typo.
3132 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
3134 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
3135 code path:) Remove magic constants and restructure to handle
3136 ctype.h bit mask layout changes more gracefully. (Make fast
3137 code path:) Use __maskrune (), if available.
3138 (is): Remove special case for digit and xdigit masks.
3140 2001-01-09 Robert Lipe <robertlipe@usa.net>
3142 * include/c_std/bits/std_ctime.h: Undefine difftime.
3144 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
3146 * src/gen-num-limits.cc (signal_adapter): New template function.
3147 (signal_handler): Use it, instead of signal.
3148 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
3149 require both tests to trap to set trap_flag.
3151 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
3153 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
3154 initialize mbstate_t member, name offset data members *off, not pos.
3155 * include/bits/fstream.tcc (filebuf::filebuf): Same.
3157 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
3159 reported by Chris G. Demetriou <cgd@sibyte.com>
3160 * configure.in: Change -linux-* to -linux*.
3161 * configure: Regenerate.
3163 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
3165 Fix 27_io/filebuf_members.cc
3166 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
3167 const string& __name, category __cat, size_t __refs): Set
3168 _M_has_name with _M_name.
3169 * include/bits/localefwd.h (locale::operator!=): Protect member
3170 function call with this->.
3171 * src/locale.cc (locale::operator==): Make fast checks first.
3172 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
3174 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
3176 * src/ios.cc (ios_base::Init::Init): Initialize here.
3177 (ios_base::sync_with_stdio): Set here.
3179 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
3181 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
3182 systems that support it, call dup() before fdopen().
3184 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
3186 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
3187 * testsuite/17_intro/header_cwctype.cc (main): New file.
3189 * src/Makefile.am (base_headers): Change.
3190 * include/bits/std_string.h: And here.
3191 * include/bits/string.tcc: Tweaks, move to...
3192 * include/bits/basic_string.tcc: ...Here.
3193 * src/string-inst.cc: Simplify, just instantiate the whole class,
3194 not member-by-member.
3196 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
3198 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
3199 * aclocal.m4: Regenerate.
3200 * configure: Regenerate.
3202 * include/bits/c++config (__GLIBCPP__): Bump version number.
3204 * ChangeLog: Start new log for year 2001
3205 * ChangeLog-2000: New file.
3207 * docs/html/configopts.html: Make sure default values are current,
3210 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
3212 * include/c_std/bits/std_cwchar.h: Same.
3213 * testsuite/17_intro/header_cwchar.cc: Same.
3214 * include/c_std/bits/std_ctime.h: Same.
3215 * testsuite/17_intro/header_ctime.cc: Same.
3216 * include/c_std/bits/std_cstdlib.h: Same.
3217 Clean up undefs, make consistent with cwchar and cmath, etc.
3218 * testsuite/17_intro/header_cstdlib.cc: Same.
3219 * include/c_std/bits/std_cstdio.h: Same here.
3220 * testsuite/17_intro/header_cstring.cc: Same.
3221 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
3222 * testsuite/17_intro/header_cstring.cc: New file. Check for
3223 size_t in namespace std.
3225 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
3226 * acconfig.h (HAVE_MBSTATE_T): Add.
3227 * config.h.in: Regenerate.
3228 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
3230 * aclocal.m4: Regenerate.
3231 * configure: Regenerate.
3232 * testsuite/17_intro/headers_c++.cc: New file.
3233 * testsuite/17_intro/headers_c.cc: Small changes.
3235 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
3237 * tests_flags.in: Fix typo in usage.
3239 * tests_flags.in: Set target specific LIBS for cygwin.