1 2002-11-21 Phil Edwards <pme@gcc.gnu.org>
3 * acinclude.m4: Uniform formatting.
6 * aclocal.m4, configure: Regenerate.
8 2002-11-21 Phil Edwards <pme@gcc.gnu.org>
10 * include/bits/streambuf.tcc (basic_streambuf::sputbackc): Prefix
11 "this->" to call to pbackfail.
13 2002-11-21 Phil Edwards <pme@gcc.gnu.org>
15 * docs/doxygen/style.css: Update.
16 * docs/doxygen/user.cfg.in: Update.
17 * docs/html/documentation.html: Regenerate.
18 * docs/html/17_intro/howto.html: Tweak I/O sentry entry.
19 * docs/html/27_io/howto.html: New section on headers.
20 * docs/html/faq/index.html: Add i386 threading entry.
21 * docs/html/faq/index.txt: Regenerate.
23 * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
26 2002-11-21 Phil Edwards <pme@gcc.gnu.org>
28 * docs/doxygen/TODO: Note change in clause 27 docs.
29 * include/bits/basic_ios.h, include/bits/fpos.h,
30 include/bits/ios_base.h, include/bits/stl_deque.h,
31 include/bits/stl_iterator_base_types.h, include/std/std_fstream.h,
32 include/std/std_iomanip.h, include/std/std_iosfwd.h,
33 include/std/std_iostream.h, include/std/std_istream.h,
34 include/std/std_ostream.h, include/std/std_sstream.h,
35 include/std/std_streambuf.h: Doxygenate all I/O entities.
37 2002-11-20 Benjamin Kosnik <bkoz@redhat.com>
38 Jonathan Lennox <lennox@cs.columbia.edu>
40 * include/bits/streambuf.tcc (__copy_streambufs):
41 Revert previous fix for the interactive half of
42 libstdc++/6745, use _M_buf_size_opt to set dynamically
43 the correct buffer size.
45 2002-11-20 Jonathan Wakely <redi@gcc.gnu.org>
47 * docs/html/21_strings/howto.html: Fix example code, cite Gaby's
48 explanation of "<unknown type>" error with toupper/tolower.
49 * docs/html/22_locale/howto.html: Be more consistent with
50 example in 21_strings.
52 2002-11-19 John Gustafsson <forgoil@rsn.bth.se>
54 * docs/html/20_util/howto.html: Fix typo.
56 2002-11-18 Jonathan Lennox <lennox@cs.columbia.edu>
58 * include/bits/streambuf.tcc (__copy_streambufs): verify
59 __sbin->gptr() + __bufsize < __sbin->egptr() before using.
60 * testsuite/27_io/ostream_inserter_other.cc (test_buffer_4): Add.
61 (test05): Use test_buffer_4. Delete unused ostringstream
64 2002-11-18 Paolo Carlini <pcarlini@unitus.it>
66 PR libstdc++/6745 (continued)
67 * include/bits/streambuf.tcc (__copy_streambufs):
68 Deal with interactive input by using isatty as in the
69 fix for libstdc++/8399.
71 2002-11-17 Jakub Jelinek <jakub@redhat.com>
73 * config/linker-map.gnu: Export _S_construct even if size_t is
74 unsigned long. Collapse std::codecvt<char>::codecvt(size_t)
75 and std::codecvt<wchar_t>::codecvt(size_t) into one export pattern.
77 2002-11-15 Benjamin Kosnik <bkoz@redhat.com>
78 Gabriel Dos Reis <gdr@integrable-solutions.net>
81 * include/bits/stl_alloc.h: Use builtin_expect for the most
83 (__default_alloc_template::allocate): Check for null, throw
85 * include/bits/vector.tcc: Formatting tweaks.
86 * include/bits/stl_vector.h: Same.
87 * testsuite/20_util/allocator_members.cc (test02): Add.
88 * testsuite/23_containers/vector_capacity.cc (test03): Add.
90 2002-11-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
92 * src/ios.cc [_GLIBCPP_HAVE_UNISTD_H]: Include unistd.h.
94 2002-11-15 Paolo Carlini <pcarlini@unitus.it>
95 Loren J. Rittle <ljrittle@acm.org>
99 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): New macro to
100 check for unistd.h functions.
101 (GLIBCPP_CHECK_UNISTD_SUPPORT): New macro, check for isatty
103 * configure.in: Call here.
104 * src/ios.cc (ios_base::Init::_S_ios_create(bool)):
105 Use _GLIBCPP_HAVE_ISATTY: ifdef, in case of interactive
106 input __in_size = 1 even when sync_with_stdio is false;
107 otherwise fall back to __in_size = 1.
108 * aclocal.m4: Regenerate.
109 * config.h.in: Regenerate.
110 * configure: Regenerate.
112 2002-11-13 Benjamin Kosnik <bkoz@redhat.com>
114 * acconfig.h (HAVE_DRAND48): Add.
115 (HAVE_GETPAGESIZE): Add.
117 (HAVE_SIGSETJMP): Add.
118 * config.h.in: Regenerate.
119 * configure: Regenerate.
121 2002-11-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
123 * config/os/hpux/os_defines.h (_GLIBCPP_INST_ATOMICITY_LOCK): Define
124 on hppa when there is no weak support.
126 2002-11-13 Benjamin Kosnik <bkoz@redhat.com>
129 * include/bits/vector.tcc (vector::reserve): Throw length_error if
130 requested size is bigger than max_size().
131 * include/bits/stl_bvector.h (vector<bool>::reserve): Same.
132 * testsuite/23_containers/vector_capacity.cc (test02): Add.
134 2002-11-13 Benjamin Kosnik <bkoz@redhat.com>
136 * config/linker-map.gnu: Export all _S_construct.
138 2002-11-13 Loren J. Rittle <ljrittle@acm.org>
141 * src/locale.cc (std::locale::classic()): Weaken locking protocol.
143 2002-11-13 Jonathan Wakely <redi@gcc.gnu.org>
145 * docs/html/install.html, docs/html/22_locale/locale.html: HTML fix.
147 2002-11-11 Benjamin Kosnik <bkoz@redhat.com>
150 * include/bits/fstream.tcc (filebuf::open): Set input pointers.
151 * config/io/basic_file_stdio.cc (__basic_file::_M_open_mode): Set
153 (__basic_file::open): Set to non-block for input.
154 * testsuite/27_io/istream_unformatted.cc (test12): Add.
157 2002-11-11 Jonathan Wakely <redi@gcc.gnu.org>
159 * docs/html/17_intro/howto.html: Make "chapter 22 notes" a link.
160 * docs/html/faq/index.html: Mention that GCC ships with a newer
161 version of the library than the last snapshot. Make "see below" a
162 link. Add missing <html> tag.
163 * docs/html/faq/index.txt: Regenerate.
164 * docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
165 docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
166 docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
167 docs/html/27_io/howto.html, docs/html/ext/howto.html,
168 docs/html/ext/sgiexts.html: Add missing <html> tag.
170 2002-11-07 Phil Edwards <pme@gcc.gnu.org>
171 Richard Earnshaw <rearnsha@arm.com>
173 * config/cpu/generic/atomicity.h: Provide atomic __exchange_and_add
176 2002-11-08 Paolo Carlini <pcarlini@unitus.it>
178 * config/locale/gnu/monetary_members.cc
179 (moneypunct<wchar_t, true>::_M_initialize_moneypunct(__c_locale,
181 moneypunct<wchar_t, false>::_M_initialize_moneypunct(__c_locale,
182 const char*)): Tweak parameters for glibc2.3 systems, thus
183 avoiding unused parameter warnings.
185 2002-11-05 Jonathan Wakely <cow@compsoc.man.ac.uk>
187 * include/std/std_sstream.h
188 (basic_stringbuf::str(const __string_type&)):
189 Prefer data() to c_str(), thus avoiding assigning the
190 unnecessary NULL-terminator.
192 2002-11-05 Benjamin Kosnik <bkoz@redhat.com>
195 * include/bits/istream.tcc (istream::readsome): Don't set eofbit
197 (istream::operator>>(_CharT*)): Use traits_type.
199 (istream::operator>>(string)): Same.
200 * testsuite/27_io/istream_unformatted.cc (test11): Add.
202 2002-11-05 Paolo Carlini <pcarlini@unitus.it>
205 * include/std/std_sstream.h
206 (basic_stringbuf::str(const __string_type&)):
207 Cannot use simple assignment since the COW-nature of v3
208 basic_string is not taken into account in basic_stringbuf.
209 * testsuite/27_io/stringstream_members.cc: Add test04 from PR.
211 2002-11-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
213 * configure.target (hppa*): Define cpu_include_dir.
214 * config/os/hpux/os_defines.h (_GLIBCPP_INST_ATOMICITY_LOCK): Define.
215 * src/misc-inst.cc: Instantiate atomicity lock when
216 _GLIBCPP_INST_ATOMICITY_LOCK is defined.
217 * config/cpu/hppa/atomicity.h: New file.
219 2002-11-05 Benjamin Kosnik <bkoz@redhat.com>
222 * include/bits/ios_base.h (~ios_base): Make virtual.
224 2002-11-04 Benjamin Kosnik <bkoz@redhat.com>
226 * config/linker-map.gnu: Export string operator+.
227 Export __default_alloc_template::_S_force_new.
228 * testsuite/abi_check.cc: Output tweaks.
230 2002-11-01 Benjamin Kosnik <bkoz@redhat.com>
233 * src/string-inst.cc: Add instantiation.
235 2002-11-01 Benjamin Kosnik <bkoz@redhat.com>
238 * configure.target: Simplify.
239 * config/cpu/i386/atomicity.h: Remove.
240 * config/cpu/i386: Remove.
241 * config/cpu/arm/atomicity.h: Remove.
242 * config/cpu/arm: Remove.
243 * config/cpu/x86-64/atomicity.h: Remove.
244 * config/cpu/x86-64: Remove.
246 2002-11-01 Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de>
249 * config/link-map.gnu: Export math stubbs.
251 2002-11-01 Benjamin Kosnik <bkoz@redhat.com>
254 * include/std/std_iostream.h: Tweak.
255 * include/std/std_iosfwd.h: Add _GLIBCPP_USE_WCHAR_T.
256 * include/std/std_iomanip.h: Same.
257 * include/bits/stringfwd.h: Same.
258 * include/bits/basic_string.tcc: Same.
259 * include/bits/sstream.tcc: Same.
260 * include/bits/fstream.tcc: Same.
261 * include/bits/basic_ios.tcc: Same.
262 * include/bits/streambuf.tcc: Same.
263 * include/bits/locale_facets.tcc: Same.
265 2002-11-01 John Carter <john.carter@tait.co.nz>
268 * include/bits/basic_string.tcc
269 (compare(const _CharT* __s)): Don't access __s past its length.
271 2002-10-31 Benjamin Kosnik <bkoz@redhat.com>
274 * include/bits/istream.tcc (istream::tellg): Remove sentry bits.
275 (istream::seekg): Same.
276 * testsuite/27_io/istream_seeks.cc (test06): New.
278 2002-10-28 Jason Thorpe <thorpej@wasabisystems.com>
280 * testsuite/thread/pthread5.cc: Include <unistd.h>
281 if _GLIBCPP_HAVE_UNISTD_H is defined.
282 (main): Only use pthread_attr_setscope if
283 _POSIX_THREAD_PRIORITY_SCHEDULING is defined.
285 2002-10-28 Jason Thorpe <thorpej@wasabisystems.com>
287 * testsuite/thread/pthread1.cc: Enable on *-*-netbsd*.
288 * testsuite/thread/pthread2.cc: Likewise.
289 * testsuite/thread/pthread3.cc: Likewise.
290 * testsuite/thread/pthread4.cc: Likewise.
291 * testsuite/thread/pthread5.cc: Likewise.
292 * testsuite/thread/pthread6.cc: Likewise.
294 2002-10-27 Paolo Carlini <pcarlini@unitus.it>
297 * include/bits/basic_string.tcc
298 (string::_S_construct(_InIter, _InIter, const _Alloc&,
299 forward_iterator_tag)): Do not throw logic error if
300 __beg == NULL && __end == __beg.
301 (string::string(const _CharT*, const _Alloc&)): Tweak.
302 * testsuite/21_strings/ctor_copy_dtor.cc: Add test05 from PR.
304 2002-10-24 Hans-Peter Nilsson <hp@bitrange.com>
309 * testsuite/testsuite_hooks.cc (__set_testsuite_memlimit): Use
310 __typeof__ (r.rlim_cur), not rlim_t in declaration of limit.
312 2002-10-23 Jakub Jelinek <jakub@redhat.com>
314 * testsuite/22_locale/num_put_members_char.cc (test01): Swap size
315 and decimal_point arguments of find.
316 * testsuite/22_locale/num_put_members_wchar_t.cc (test01): Likewise.
318 2002-10-22 Jakub Jelinek <jakub@redhat.com>
320 * Makefile.am (check-abi, new-abi-baseline): Use @glibcpp_srcdir@
321 instead of ${top_srcdir}.
322 * Makefile.in: Rebuilt.
324 2002-10-22 Loren J. Rittle <ljrittle@acm.org>
326 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
327 Remove specialization for FreeBSD systems.
329 2002-10-18 Loren J. Rittle <ljrittle@acm.org>
331 * configure.target (freebsd*): Use abi_baseline_triplet.
332 * config/abi/i386-unknown-freebsd4/baseline_symbols.txt: New file.
333 * config/abi/i386-unknown-freebsd4.7/baseline_symbols.txt: Remove.
335 * testsuite/thread/pthread1.cc: Remove needless workaround
338 2002-10-18 Loren J. Rittle <ljrittle@acm.org>
339 Brad Spencer <spencer@infointeractive.com> (provided alternate
340 patch and improvements)
342 * docs/html/23_containers/howto.html (GLIBCPP_FORCE_NEW): Document
343 new environment variable which replaces all uses of __USE_MALLOC
345 * docs/html/ext/howto.html (GLIBCPP_FORCE_NEW): Likewise.
346 (__mem_interface): Remove all references to old internal typedef.
347 * include/backward/alloc.h (__USE_MALLOC): Remove it and all
349 * include/bits/c++config (__USE_MALLOC): Update related error
351 * include/bits/stl_alloc.h (__USE_MALLOC): Remove it and all
352 guarded code. Update all related comments.
353 (__mem_interface): Unconditionally replace it with __new_alloc.
354 However, leave the typedef around in case anyone used it.
355 (__default_alloc_template<>::_S_force_new): New class static.
356 (__default_alloc_template<>::allocate, deallocate): Add
357 run-time controlled feature similar to what __USE_MALLOC code
359 * src/stl-inst.cc (__USE_MALLOC): Remove it and all
361 * testsuite/21_strings/capacity.cc: Remove reference to __USE_MALLOC.
362 Add documentation on GLIBCPP_FORCE_NEW environment variable.
363 * testsuite/ext/allocators.cc: Likewise.
365 2002-10-18 Phil Edwards <pme@gcc.gnu.org>
367 * configure.in: Use target, not target_alias, when matching triplet
369 * configure: Regenerate.
371 2002-10-17 Momchil Velikov <velco@fadata.bg>
372 Loren J. Rittle <ljrittle@acm.org>
374 * configure.in: Add *-freebsd* to cross list.
375 * configure: Rebuilt.
377 2002-10-16 Benjamin Kosnik <bkoz@redhat.com>
379 * include/bits/locale_facets.h (__timepunct::__timepunct): Allocate
381 (__timepunct::~__timepunct): Deallocate, remove specialization
383 (messages::messages): Allocate _M_name_messages.
384 (messages::~messages): Deallocate.
385 (messages_byname): Same.
386 * config/locale/gnu/time_members.cc (__timepunct::~__timepunct):
388 * config/locale/generic/time_members.cc (__timepunct::~__timepunct):
391 * docs/html/install.html: Add es_MX, en_PH to required locales list.
393 2002-10-16 Benjamin Kosnik <bkoz@redhat.com>
395 * config/linker-map.gnu: Add exports for codecvt constructors
396 where size_t == unsigned long.
398 2002-10-14 Benjamin Kosnik <bkoz@redhat.com>
400 * src/globals.cc (__gnu_cxx::c_locale_impl_compat): Add, alias to
402 * testsuite/abi_check.cc (line_to_symbol_info): Collect size info.
403 * docs/html/abi.txt: Update.
405 2002-10-14 Benjamin Kosnik <bkoz@redhat.com>
407 * testsuite/22_locale/static_members.cc (test02): Less provincial.
409 2002-10-14 Benjamin Kosnik <bkoz@redhat.com>
411 * testsuite/22_locale/static_members.cc (test02): Disable for
412 systems without named locale support.
413 * testsuite/22_locale/ctor_copy_dtor.cc (test04): Don't assume
414 running the testsuites in "C" environment.
416 * docs/html/22_locale/locale.html: Update.
418 2002-10-13 Danny Smith <dannysmith@users.sourceforge.net>
420 * include/bits/stl_threads.h (_GLIBCPP_mutex,
421 _GLIBCPP_mutex_init,_GLIBCPP_mutex_address,
422 _GLIBCPP_mutex_address_init, _GLIBCPP_once):
423 Declare in namespace __gnu_cxx.
424 (_STL_mutex_lock::_M_initialize): Qualify __gnu_cxx
428 2002-10-12 Benjamin Kosnik <bkoz@redhat.com>
430 * testsuite/abi_check.cc (hash<string>): Specialize.
431 Simplify. Check compatible symbol versions.
432 * config/linker-map.gnu: Clarify, explicitly export
433 std::codecvt::c* symbols.
435 * testsuite/22_locale/static_members.cc (test02): Avoid null strings.
437 2002-10-12 Jonathan Wakely <jw@kayari.org>
438 Gabriel Dos Reis <gdr@integrable-solutions.net>
440 * docs/html/21_strings/howto.html#5: Correct nasting of XHTML
441 elements. Correct allocator-related text.
443 2002-10-11 Benjamin Kosnik <bkoz@redhat.com>
445 * testsuite/22_locale/static_members.cc (test02): Fix.
447 2002-10-11 Benjamin Kosnik <bkoz@redhat.com>
449 * acconfig.h (_GLIBCPP_SYMVER): Add.
450 (_GLIBCPP_ASM_SYMVER): Add.
451 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Define _GLIBCPP_SYMVER.
452 * aclocal.m4: Regenerate.
453 * config.h.in: Regenerate.
454 * configure: Regenerate.
455 * include/bits/c++config (_GLIBCPP_AT_AT): Define, as an expedient
456 hack around m4 issues with quoting '@'.
457 * src/locale.cc: Use _GLIBCPP_ASM_SYMVER.
458 * src/globals.cc: Same.
460 * testsuite/22_locale/ctor_copy_dtor.cc (test04): Fix for
463 2002-10-10 Benjamin Kosnik <bkoz@redhat.com>
465 * config/linker-map.gnu (GLIBCPP_3.2.1): Add.
466 (GLIBCPP_3.2): Don't export locale::_S_*.
467 * src/ios.cc: Move globals into __gnu_cxx. Make old exported
469 * src/locale.cc: Same.
470 * src/localename.cc: Same.
471 * src/globals.cc: Same.
473 2002-10-10 Phil Edwards <pme@gcc.gnu.org>
475 * docs/html/21_strings/howto.html: Write #5, char_traits.
476 * docs/html/17_intro/porting.texi: Expand on os_include_dir.
477 * docs/html/17_intro/porting.html: Regenerate.
479 2002-10-09 Benjamin Kosnik <bkoz@redhat.com>
481 * src/locale.cc: Fix comments, move ctors together.
482 * testsuite/22_locale/static_members.cc (test03): Add.
484 2002-10-08 Jonathan Lennox <lennox@cs.columbia.edu>
486 PR libstdc++/8071, libstdc++/8127, libstdc++/6745
487 * streambuf.tcc (__copy_streambufs): Handle cases where
488 __sbin->in_avail() returns 0, or where __sbin doesn't set gptr().
489 * testsuite/27_io/ostream_inserter_other.cc (test05): Add.
491 2002-10-08 Paolo Carlini <pcarlini@unitus.it>
492 Benjamin Kosnik <bkoz@redhat.com>
494 * include/bits/localefwd.h (class locale): Add static member
495 _S_num_extra_categories, encoding the number of additional
497 Change _S_num_categories to _S_categories_size.
498 (class locale::_Impl): Add _M_c_cats.
499 (class locale::_Impl::_M_names): Change to array of chars.
500 (class locale::_Impl::_M_check_same_name): Use
501 _S_extra_categories_size, tweak.
502 (locale::locale(const locale&, _Facet*)): Ditto.
503 * src/locale.cc (locale::locale(const char* )): Rewrite to deal
504 with the environment in a POSIX-compliant way while being thread
506 (locale::name()): Update to output POSIX environment strings.
508 (locale::_Impl::_Impl(const _Impl&, size_t): Use
509 _S_categories_size_*, tweak.
510 (locale::_Impl::_Impl(facet**, size_t, bool)): Ditto.
511 (locale::_Impl::_Impl(const char*, size_t)): Name each category
513 (locale::_Impl::_M_replace_categories): Use strcpy.
515 * include/bits/locale_facets.h (numpunct::_M_initialize_numpunct):
516 Change default argument to NULL from _S_c_locale.
517 (timepunct::_M_initialize_timepunct): Same.
518 _S_c_locale cleanups.
519 * src/codecvt.c: _S_c_locale simplification.
521 * src/globals.cc: Add fake_name.
522 * src/locale-inst.cc: Remove extra includes.
523 * src/locale.cc: Remove extra includes.
524 Add _S_extra_categories_size definition.
525 Correct "C" initialization.
526 (locale::facet::facet): Don't initialize _S_c_locale.
527 (locale::facet::_M_remove_reference): Adjust.
528 * src/localename: Use facet_vec, facet_name.
529 (locale::_Impl::_Impl(facet** __f, size_t __refs, bool)): Set
530 facet ref counts to one. Initialize _S_c_locale.
531 (locale::_Impl::_M_install_facet(id*, facet*)): Adjust facet ref
532 counts when installing unilaterally.
534 * config/locale/generic/c_locale.cc: Add _S_categories definition.
535 * config/locale/generic/c_locale.h: Add _GLIBCPP_NUM_CATEGORIES macro.
536 * config/locale/generic/time_members.cc: _S_c_locale cleanup.
538 * config/locale/gnu/c_locale.cc: Add _S_categories definition.
539 (_S_destroy_c_locale): Move checks against _S_c_locale here.
540 * config/locale/gnu/c_locale.h: Add _GLIBCPP_NUM_CATEGORIES macro.
541 * config/locale/gnu/ctype_members.cc: Simplify _S_destroy_c_locale
542 calls, _S_c_locale usage.
543 * config/locale/gnu/monetary_members.cc: Same, tweaks.
544 * config/locale/gnu/monetary_members.cc: Same.
545 * config/locale/gnu/time_members.cc: Same.
546 * config/os/gnu-linux/ctype_noninline.h: Use locale::classic().
548 * docs/html/22_locale/locale.html: Add bits about global locales
551 * testsuite/22_locale/facet.cc (test02): Add.
552 * testsuite/22_locale/static_members.cc (test02): Add.
553 * testsuite/22_locale/ctor_copy_dtor.cc (test04): Add.
555 2002-10-07 Jonathan Wakely <jw@kayari.org>
557 * docs/html/configopts.html, docs/html/documentation.html,
558 docs/html/explanations.html, docs/html/install.html,
559 docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
560 docs/html/17_intro/license.html, docs/html/18_support/howto.html,
561 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
562 docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
563 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
564 docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
565 docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
566 docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
567 docs/html/27_io/howto.html, docs/html/ext/howto.html,
568 docs/html/ext/sgiexts.html, docs/html/faq/index.html: Add DOCTYPEs.
570 2002-10-03 Richard Earnshaw <rearnsha@arm.com>
573 * config/cpu/arm/atomicity.h (__exchange_and_add): Don't try to use
574 ASM sequences that don't give us atomic addition operations. Instead
575 just add a comment explaining why it doesn't work.
576 (__atomic_add): Just use __exchange_and_add.
577 (__test_and_set, __always_swap): Delete.
579 2002-10-02 Andreas Jaeger <aj@suse.de>
581 * config/abi/x86_64-unknown-linux-gnu/baseline_symbols.txt:
584 2002-10-01 Phil Edwards <pme@gcc.gnu.org>
586 * Makefile.am (check-abi): Add @ to rule.
587 * Makefile.in: Regenerated.
589 2002-09-27 Paolo Carlini <pcarlini@unitus.it>
591 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
592 Deal correctly with grouped, showbased (oct or hex) zero.
593 * testsuite/22_locale/num_put_members_char.cc: Add test05.
594 * testsuite/22_locale/num_put_members_wchar_t.cc: Ditto.
596 2002-09-27 Richard Henderson <rth@redhat.com>
598 * config/os/hpux/cpu_limits.h: Remove.
600 * include/std/std_limits.h (numeric_limits<T>::is_iec559): False
601 if denormals are not supported.
603 2002-09-25 Benjamin Kosnik <bkoz@redhat.com>
605 * include/Makefile.am (target_headers): Remove cpu_limits.h.
606 * include/Makefile.in: Regenerate.
607 * configure.in (CPU_LIMITS_INC_SRCDIR): Remove
608 * configure: Regenerate.
609 * configure.target (CPULIMITS): Remove.
611 * include/std/std_limits.h: Remove cpu_limits.h include.
613 * config/os/solaris/solaris2.7/os_defines.h (__glibcpp_long_bits):
615 * config/os/irix/irix6.5/os_defines.h
616 (__glibcpp_long_double_bits): Remove.
617 (__glibcpp_wchar_t_bits): Remove.
618 (__glibcpp_long_bits): Remove.
619 * config/os/irix/irix5.2/os_defines.h
620 (__glibcpp_long_double_bits): Remove.
621 (__glibcpp_long_bits): Remove.
622 * config/os/hpux/os_defines.h (__glibcpp_wchar_t_is_signed): Remove.
623 * config/os/bsd/freebsd/os_defines.h:
624 (__glibcpp_long_double_bits): Remove.
625 * config/os/aix/os_defines.h (__glibcpp_wchar_t_bits): Remove.
626 (__glibcpp_wchar_t_is_signed): Remove.
627 (__glibcpp_long_bits): Remove.
628 * config/os/gnu-linux/os_defines.h (__glibcpp_long_bits): Remove.
629 (__glibcpp_long_double_bits): Remove.
631 * config/os/osf/osf5.0/cpu_limits.h: Remove.
632 * config/cpu/alpha/cpu_limits.h: Remove.
633 * config/cpu/arm/cpu_limits.h: Remove.
634 * config/cpu/cris/cpu_limits.h: Remove.
635 * config/cpu/generic/cpu_limits.h: Remove.
636 * config/cpu/generic/limits.h: Remove.
637 * config/cpu/ia64/cpu_limits.h: Remove.
638 * config/cpu/m68k/cpu_limits.h: Remove.
639 * config/cpu/mmix/cpu_limits.h: Remove.
640 * config/cpu/powerpc/cpu_limits.h: Remove.
641 * config/cpu/S390/cpu_limits.h: Remove.
643 2002-09-25 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
645 * testsuite/18_support/numeric_limits.cc: Check the maximum and
646 minimum values of the wchar_t type.
648 2002-09-25 Mark Mitchell <mark@codesourcery.com>
650 * include/std/std_limits.h (numeric_limits<unsigned char>::digits):
653 2002-09-23 Richard Henderson <rth@redhat.com>
655 * include/std/std_limits.h (__glibcpp_plain_char_is_signed,
656 __glibcpp_wchar_t_is_signed, __glibcpp_s8_max, __glibcpp_s8_min,
657 __glibcpp_s8_digits, __glibcpp_s8_digits10, __glibcpp_u8_min,
658 __glibcpp_u8_max, __glibcpp_u8_digits, __glibcpp_u8_digits10,
659 __glibcpp_s16_max, __glibcpp_s16_min, __glibcpp_s16_digits,
660 __glibcpp_s16_digits10, __glibcpp_u16_min, __glibcpp_u16_max,
661 __glibcpp_u16_digits, __glibcpp_u16_digits10, __glibcpp_s32_max,
662 __glibcpp_s32_min, __glibcpp_s32_digits, __glibcpp_s32_digits10,
663 __glibcpp_u32_min, __glibcpp_u32_max, __glibcpp_u32_digits,
664 __glibcpp_u32_digits10, __glibcpp_s64_max, __glibcpp_s64_min,
665 __glibcpp_s64_digits, __glibcpp_s64_digits10, __glibcpp_u64_min,
666 __glibcpp_u64_max, __glibcpp_u64_digits, __glibcpp_u64_digits10,
667 __glibcpp_bool_digits, __glibcpp_signed_char_min,
668 __glibcpp_signed_char_max, __glibcpp_signed_char_digits,
669 __glibcpp_signed_char_digits10, __glibcpp_unsigned_char_min,
670 __glibcpp_unsigned_char_max, __glibcpp_unsigned_char_digits,
671 __glibcpp_unsigned_char_digits10, __glibcpp_char_min,
672 __glibcpp_char_max, __glibcpp_char_digits, __glibcpp_char_digits10,
673 __glibcpp_signed_short_min, __glibcpp_signed_short_max,
674 __glibcpp_signed_short_digits, __glibcpp_signed_short_digits10,
675 __glibcpp_unsigned_short_min, __glibcpp_unsigned_short_max,
676 __glibcpp_unsigned_short_digits, __glibcpp_unsigned_short_digits10,
677 __glibcpp_signed_int_min, __glibcpp_signed_int_max,
678 __glibcpp_signed_int_digits, __glibcpp_signed_int_digits10,
679 __glibcpp_unsigned_int_min, __glibcpp_unsigned_int_max,
680 __glibcpp_unsigned_int_digits, __glibcpp_unsigned_int_digits10,
681 __glibcpp_signed_long_min, __glibcpp_signed_long_max,
682 __glibcpp_unsigned_long_digits, __glibcpp_unsigned_long_digits10,
683 __glibcpp_signed_long_long_min, __glibcpp_signed_long_long_max,
684 __glibcpp_signed_long_long_digits, __glibcpp_signed_long_long_digits10,
685 __glibcpp_wchar_t_min, __glibcpp_wchar_t_max, __glibcpp_wchar_t_digits,
686 __glibcpp_wchar_t_digits10): Remove.
687 (__glibcpp_byte, __glibcpp_word_bits, __glibcpp_word): Remove.
688 (__float_storage, __double_storage, __long_double_storage): Remove.
689 (__glibcpp_signed, __glibcpp_min, __glibcpp_max): New.
690 (__glibcpp_digits, __glibcpp_digits10): New.
691 (numeric_limits<T>::min): Use __glibcpp_min or limits.h builtins.
692 (numeric_limits<T>::max): Use __glibcpp_max or limits.h builtins.
693 (numeric_limits<T>::is_signed, T=char,wchar_t): Use __glibcpp_signed.
694 (numeric_limits<T>::digits): Use __glibcpp_digits.
695 (numeric_limits<T>::digits10): Use __glibcpp_digits10.
696 * testsuite/18_support/numeric_limits.cc (test03): Don't use
697 __glibcpp_s8_digits10 et al; check vs the installed versions
698 of digits10 for particular sizes.
700 * include/std/std_limits.h (__glibcpp_float_is_modulo,
701 __glibcpp_double_is_modulo, __glibcpp_long_double_is_modulo): Kill.
702 (numeric_limits<T>::is_modulo, T floating): Use false.
704 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
706 * Makefile.am (all-multi): Fix multilib parallel build.
708 2002-09-22 Richard Henderson <rth@redhat.com>
710 * include/std/std_limits.h (__glibcpp_f32_round_error,
711 __glibcpp_f64_round_error, __glibcpp_f80_round_error,
712 __glibcpp_f96_round_error, __glibcpp_f128_round_error,
713 __glibcpp_float_round_error, __glibcpp_double_round_error,
714 __glibcpp_long_double_round_error, __glibcpp_float_round_style,
715 __glibcpp_double_round_style, __glibcpp_long_double_round_style): Kill.
716 (numeric_limits<char>::epsilon, round_error): Use constant 0.
717 (numeric_limits<float>::round_error): Use constant 0.5.
718 (numeric_limits<float>::round_style): Use round_to_nearest.
719 (numeric_limits<double>, numeric_limits<long double>): Similarly.
721 * include/std/std_limits.h (__glibcpp_f32_is_iec559,
722 __glibcpp_f64_is_iec559, __glibcpp_f80_is_iec559,
723 __glibcpp_f96_is_iec559, __glibcpp_f128_is_iec559,
724 __glibcpp_float_is_iec559, __glibcpp_double_is_iec559,
725 __glibcpp_long_double_is_iec559): Remove.
726 (numeric_limits<float>::is_iec559): Use has_infinity & has_quiet_NaN.
727 (numeric_limits<double>, numeric_limits<long double>): Similarly.
729 * include/std/std_limits.h (__glibcpp_integral_traps): New.
730 (__glibcpp_char_traps, __glibcpp_short_traps, __glibcpp_int_traps,
731 __glibcpp_long_traps, __glibcpp_wchar_t_traps,
732 __glibcpp_long_long_traps, __glibcpp_plain_char_traps,
733 __glibcpp_signed_char_traps, __glibcpp_unsigned_char_traps,
734 __glibcpp_signed_short_traps, __glibcpp_unsigned_short_traps,
735 __glibcpp_signed_int_traps, __glibcpp_unsigned_int_traps,
736 __glibcpp_signed_long_traps, __glibcpp_unsigned_long_traps,
737 __glibcpp_signed_long_long_traps, __glibcpp_unsigned_long_long_traps,
738 __glibcpp_char_is_modulo, __glibcpp_signed_char_is_modulo,
739 __glibcpp_signed_short_is_modulo, __glibcpp_signed_int_is_modulo,
740 __glibcpp_signed_long_is_modulo, __glibcpp_signed_long_long_is_modulo,
741 __glibcpp_wchar_t_is_modulo, __glibcpp_float_is_bounded,
742 __glibcpp_double_is_bounded, __glibcpp_long_double_is_bounded): Kill.
743 (numeric_limits<T>::traps, T integral): Use __glibcpp_integral_traps.
744 (numeric_limits<T>::is_modulo, T integral): Use true.
745 (numeric_limits<T>::is_bounded, T floating): Use true.
747 2002-09-18 Loren J. Rittle <ljrittle@acm.org>
749 * testsuite/18_support/numeric_limits.cc (test_epsilon): New.
751 2002-09-18 Richard Henderson <rth@redhat.com>
753 * testsuite/18_support/numeric_limits.cc: Add -mieee for alpha.
755 2002-09-16 Benjamin Kosnik <bkoz@redhat.com>
757 * include/c_shadow: Remove.
758 * include/bits/generic_shadow.h: Remove.
759 * include/Makefile.am: Remove generic_shadow.h.
760 * acinclude.m4: Remove c_shadow references.
761 * aclocal.m4: Regenerate.
762 * configure: Regenerate.
764 * mkinclosure: Remove.
766 2002-09-16 Loren J. Rittle <ljrittle@acm.org>
769 * include/ext/stl_rope.h (rope<>): Qualify dependent names
772 2002-09-16 Richard Henderson <rth@redhat.com>
774 * include/std/std_limits.h (__glibcpp_f32_QNaN_bytes,
775 __glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
776 __glibcpp_f32_has_SNaN, __glibcpp_f64_QNaN_bytes,
777 __glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
778 __glibcpp_f64_has_SNaN, __glibcpp_f80_QNaN_bytes,
779 __glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
780 __glibcpp_f80_has_SNaN, __glibcpp_f96_QNaN_bytes,
781 __glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
782 __glibcpp_f96_has_SNaN, __glibcpp_f128_QNaN_bytes,
783 __glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
784 __glibcpp_f128_has_SNaN, __glibcpp_float_QNaN_bytes,
785 __glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
786 __glibcpp_float_has_SNaN, __glibcpp_double_QNaN_bytes,
787 __glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
788 __glibcpp_double_has_SNaN, __glibcpp_long_double_QNaN_bytes,
789 __glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
790 __glibcpp_long_double_has_SNaN): Remove.
791 (__glibcpp_f128_is_iec559): True if IEEE.
792 (__glibcpp_float_QNaN, __glibcpp_float_SNaN): Remove.
793 (__glibcpp_double_QNaN, __glibcpp_double_SNaN): Remove.
794 (__glibcpp_long_double_QNaN, __glibcpp_long_double_SNaN): Remove.
795 (std::numeric_limits<float>::has_quiet_NaN): Use __builtin_nanf.
796 (std::numeric_limits<float>::has_signaling_NaN): Mirror has_quiet_NaN.
797 (std::numeric_limits<float>::quiet_NaN): Use __builtin_nanf.
798 (std::numeric_limits<float>::signaling_NaN): Use __builtin_nansf.
799 (std::numeric_limits<double>): Similarly.
800 (std::numeric_limits<long double>): Similarly.
801 * src/limits.cc (__glibcpp_float_QNaN, __glibcpp_float_SNaN): Remove.
802 (__glibcpp_double_QNaN, __glibcpp_double_SNaN): Remove.
803 (__glibcpp_long_double_QNaN, __glibcpp_long_double_SNaN): Remove.
805 * testsuite/18_support/numeric_limits.cc (test_infinity): New.
806 (test_denorm_min, test_qnan, test_is_iec559): New.
808 2002-09-16 Phil Edwards <pme@gcc.gnu.org>
810 * testsuite/abi_check.cc: Pull shell fragments out into...
811 * config/abi/extract_symvers: ...here. New file.
812 * Makefile.am (check_abi): Change to match.
813 (new-abi-baseline): New target.
814 * Makefile.in: Regenerated.
816 2002-09-16 Richard Henderson <rth@redhat.com>
818 * include/std/std_limits.h (__glibcpp_f32_denorm_min_bytes,
819 __glibcpp_f32_has_denorm, __glibcpp_f64_denorm_min_bytes,
820 __glibcpp_f64_has_denorm, __glibcpp_f80_denorm_min_bytes,
821 __glibcpp_f80_has_denorm, __glibcpp_f96_denorm_min_bytes,
822 __glibcpp_f96_has_denorm, __glibcpp_f128_denorm_min_bytes,
823 __glibcpp_f128_has_denorm, __glibcpp_float_denorm_min_bytes,
824 __glibcpp_float_has_denorm, __glibcpp_double_denorm_min_bytes,
825 __glibcpp_double_has_denorm, __glibcpp_long_double_denorm_min_bytes,
826 __glibcpp_long_double_has_denorm): Remove.
827 (__glibcpp_float_denorm_min, __glibcpp_double_denorm_min,
828 __glibcpp_long_double_denorm_min): Remove.
829 (std::numeric_limits<float>::has_denorm): Use __FLT_DENORM_MIN__.
830 (std::numeric_limits<float>::denorm_min): Likewise.
831 (std::numeric_limits<double>): Similarly.
832 (std::numeric_limits<long double>): Similarly.
833 * src/limits.cc (__glibcpp_float_denorm_min,
834 __glibcpp_double_denorm_min, __glibcpp_long_double_denorm_min): Remove.
836 2002-09-13 Andy Felt <afelt@uwsp.edu>
838 * docs/html/17_intro/howto.html: Update link.
840 2002-09-13 Phil Edwards <pme@gcc.gnu.org>
842 * docs/doxygen/run_doxygen: Massage man page for Iterator_types.3.
843 * docs/html/faq/index.html: Whitespace fixes.
845 2002-09-12 Benjamin Kosnik <bkoz@redhat.com>
847 * libmath/Makefile.am (LIBTOOL): Use --tag CC always for this
849 * libmath/Makefile.in: Regenerate.
850 * src/Makefile.am: Tweak comment.
851 * src/Makefile.in: Regenerate.
853 * config/locale/gnu/c_locale.h: Remove warnings.
854 Inject __uselocale into __gnu_cxx.
855 * config/locale/generic/c_locale.h: Match.
857 2002-09-11 Benjamin Kosnik <bkoz@redhat.com>
859 * include/bits/locale_facets.tcc (__convert_from_v): Remove.
860 * config/locale/gnu/c_locale.h (__convert_from_v): Add.
861 * config/locale/generic/c_locale.h (__convert_from_v): Add.
863 2002-09-11 Paolo Carlini <pcarlini@unitus.it>
865 * include/bits/locale_facets.tcc (__convert_from_v):
866 Use __uselocale instead of setlocale for glibc 2.3+.
868 2002-09-10 Benjamin Kosnik <bkoz@redhat.com>
870 * src/Makefile.am (sources): Edit.
871 (target_sources): New.
872 (target_sources_extra): New.
873 * src/Makefile.in: Regenerate.
874 * acinclude.m4: Set CCODECVT_CC.
875 * aclocal.m4: Regenerate.
876 * configure: Regenerate.
877 * src/locale.cc: Move ctype definitions...
878 * src/ctype.cc: ...here. New file.
879 * src/locale.cc: Move codecvt definitions...
880 * src/codecvt.cc: ...here.
881 * config/generic/codecvt_members.cc: ...and here.
882 * config/gnu/codecvt_members.cc: ...and here.
883 * include/bits/codecvt.h: Tweak.
884 * include/bits/locale_facets: Tweak.
886 * src/bitset.cc: Correct license text.
887 * src/concept-inst.cc: Same.
888 * src/strstream.cc: Same.
889 * src/vterminate.cc: Same.
891 2002-09-10 Gabriel Dos Reis <gdr@soliton.integrable-solutions.net>
893 * include/bits/stl_vector.h (vector<>): Don't use a name with
894 different meanings before and after re-evaluation in the completed
896 * include/bits/basic_string.h (basic_string<>): Likewise.
897 * include/bits/stl_bvector.h (vector<bool>): Likewise.
898 * include/bits/stl_deque.h (std): Likewise.
899 * include/bits/stl_list.h (list<>): Likewise.
900 * include/bits/stl_tree.h (_Rb_tree<>): Likewise.
902 2002-09-10 Paolo Carlini <pcarlini@unitus.it>
904 * include/bits/codecvt.h (class __codecvt_abstract_base):
905 Add __c_locale type _M_c_locale_codecvt member.
906 (class codecvt<char, char, mbstate_t>,
907 class codecvt<wchar_t, char, mbstate_t>): Add new
908 codecvt(__c_locale, size_t) constructor.
909 (codecvt_byname::codecvt_byname): Update.
910 * src/codecvt.cc (class codecvt<char, char, mbstate_t>,
911 class codecvt<wchar_t, char, mbstate_t>): Update codecvt(size_t)
912 constructor and ~codecvt() destructor; define
913 codecvt(__c_locale, size_t) constructor.
914 (codecvt::do_out): Switch to _M_c_locale_codecvt around wcsrtombs call.
915 (codecvt::do_in): Ditto for mbsrtowcs call.
916 * src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
917 Tweak construction of codecvt facets.
919 2002-09-10 Danny Smith <dannysmith@users.sourceforge.net>
921 * include/bits/locale_facets.tcc (__convert_from_v):
922 Replace strdup with ISO malloc and strcpy.
924 2002-09-09 Benjamin Kosnik <bkoz@redhat.com>
926 * docs/html/configopts.html: Change grouping. Note ABI impacts.
927 Update information for locale model defaults.
928 * docs/html/install.html: Update include directory
930 Update testing information.
931 Update linux issues for named locales.
932 * docs/html/abi.txt: Fix typos.
935 * src/misc-inst.cc: Add missing instantiations.
937 * testsuite/abi_check.cc: Make output results more verbose.
939 * config/os/gnu-linux/ctype_base.h: Remove shadow headers injections.
941 2002-09-07 Jakub Jelinek <jakub@redhat.com>
943 * config/locale/generic/messages_members.cc: Add specialization for
945 * config/locale/ieee_1003.1-20021/messages_members.cc: Likewise.
947 2002-09-06 Benjamin Kosnik <bkoz@redhat.com>
949 * include/bits/localefwd.h: Tweak formatting.
950 * docs/html/abi.txt: Add.
952 2002-09-06 Jakub Jelinek <jakub@redhat.com>
954 * configure.target: Use cpu_include_dir="config/cpu/sparc" for all
956 * config/cpu/sparc/atomicity.h: New file.
957 * config/cpu/sparc/sparc32/atomicity.h: Removed.
958 * config/cpu/sparc/sparc64/atomicity.h: Removed.
960 2002-09-06 Jakub Jelinek <jakub@redhat.com>
962 * config/os/gnu-linux/ctype_noninline.h
963 [_GLIBCPP_USE_SHADOW_HEADERS]: Remove using _C_legacy::__ctype_*.
964 (ctype<char>::classic_table): If _GLIBCPP_C_LOCALE_GNU, return
965 _S_c_locale->__ctype_b, otherwise temporarily switch to "C" locale
966 and return __ctype_b.
967 (ctype<char>::ctype(__c_locale, const mask*, bool, size_t)): If not
968 _GLIBCPP_C_LOCALE_GNU, temporarily switch to "C" locale and
969 initialize using __ctype_{b,tolower,toupper}.
970 (ctype<char>::ctype(const mask*, bool, size_t)): If
971 _GLIBCPP_C_LOCALE_GNU, initialize using
972 _S_c_locale->__ctype_{b,tolower,toupper}, otherwise temporarily
973 switch to "C" locale and initialize using __ctype_{b,tolower,toupper}.
975 2002-09-05 Paolo Carlini <pcarlini@unitus.it>
976 Roland McGrath <roland@redhat.com>
979 * src/locale.cc (locale::locale(__s)): Use getenv instead
980 of setenv for the environment locale.
981 * testsuite/22_locale/ctor_copy_dtor.cc (test03): New.
983 2002-09-05 Jakub Jelinek <jakub@redhat.com>
985 * config/abi/ia64-unknown-linux-gnu: Add.
986 * config/abi/ia64-unknown-linux-gnu/baseline_symbols.txt: New file.
987 * config/abi/alphaev67-unknown-linux-gnu: Add.
988 * config/abi/alphaev67-unknown-linux-gnu/baseline_symbols.txt: New file.
990 2002-09-05 Jonathan Wakely <jw@kayari.org>
992 * docs/html/Makefile: Use more portable shell wildcard.
993 * docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
994 * docs/html/configopts.html, docs/html/documentation.html,
995 docs/html/explanations.html, docs/html/install.html,
996 docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
997 docs/html/17_intro/license.html, docs/html/18_support/howto.html,
998 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
999 docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
1000 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
1001 docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
1002 docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
1003 docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
1004 docs/html/27_io/howto.html, docs/html/ext/howto.html,
1005 docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
1007 * docs/html/faq/index.txt: Regenerate.
1009 2002-09-05 Jakub Jelinek <jakub@redhat.com>
1011 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_widen(char)):
1012 Switch to _M_c_locale_ctype around btowc call.
1013 (ctype<wchar_t>::do_widen(const char*, const char *, wchar_t*)):
1014 Switch to _M_c_locale_ctype around mbsrtowcs call.
1015 (ctype<wchar_t>::do_narrow(char)): Switch to _M_c_locale_ctype around
1017 (ctype<wchar_t>::do_narrow(const char*, const char *, wchar_t*)):
1018 Switch to _M_c_locale_ctype around wcsrtombs call.
1020 2002-09-05 Jakub Jelinek <jakub@redhat.com>
1022 * config/locale/gnu/monetary_members.cc
1023 (moneypunct<wchar_t, true>::_M_initialize_moneypunct,
1024 moneypunct<wchar_t, false>::_M_initialize_moneypunct): Use
1025 __uselocale instead of setlocale for glibc 2.3.
1027 2002-09-05 Jakub Jelinek <jakub@redhat.com>
1029 * config/locale/generic/c++locale_internal.h: New header.
1030 * config/locale/gnu/c++locale_internal.h: New header.
1031 * config/locale/gnu/c_locale.cc: Include it.
1032 * config/locale/gnu/collate_members.cc: Include it.
1033 * config/locale/gnu/ctype_members.cc: Include it.
1034 * config/locale/gnu/messages_members.cc: Include it.
1035 * config/locale/gnu/monetary_members.cc: Include it.
1036 * config/locale/gnu/numeric_members.cc: Include it.
1037 * config/locale/gnu/time_members.cc: Include it.
1038 (_M_put): Reorder __strftime_l and __wcsftime_l arguments to match
1040 (_M_initialize_timepunct): Initialize _M_c_locale_timepunct for
1042 * acinclude.m4: Include string.h when testing strcoll_l.
1043 For glibc 2.3 provide __-prefixed prototypes.
1044 (CLOCALE_INTERNAL_H): Set, add AC_LINK_FILES line.
1045 * aclocal.m4, configure: Rebuilt.
1047 2002-09-05 Benjamin Kosnik <bkoz@redhat.com>
1049 * include/bits/locale_facets.h: Add declaration of specialization
1051 * config/locale/gnu/messages_members.cc: Add specialization for
1053 * config/locale/gnu/messages_members.h: Remove generic definition
1056 2002-09-04 Richard Henderson <rth@redhat.com>
1058 * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
1059 __glibcpp_f32_has_infinity, __glibcpp_f64_infinity_bytes,
1060 __glibcpp_f64_has_infinity, __glibcpp_f80_infinity_bytes,
1061 __glibcpp_f80_has_infinity, __glibcpp_f96_infinity_bytes,
1062 __glibcpp_f96_has_infinity, __glibcpp_f128_infinity_bytes,
1063 __glibcpp_f128_has_infinity, __glibcpp_float_infinity_bytes,
1064 __glibcpp_float_has_infinity, __glibcpp_double_infinity_bytes,
1065 __glibcpp_double_has_infinity, __glibcpp_long_double_infinity_bytes,
1066 __glibcpp_long_double_has_infinity): Remove.
1067 (std::numeric_limits<float>, std::numeric_limits<double>,
1068 std::numeric_limits<long double>): Use __builtin_huge_val
1069 to implement has_infinity and infinity().
1070 * src/limits.cc (__glibcpp_float_infinity, __glibcpp_double_infinity,
1071 __glibcpp_long_double_infinity): Remove.
1073 2002-09-03 Richard Henderson <rth@redhat.com>
1075 * include/std/std_limits.h (__glibcpp_f32_min, __glibcpp_f32_max,
1076 __glibcpp_f32_digits, __glibcpp_f32_digits10, __glibcpp_f32_radix,
1077 __glibcpp_f32_epsilon, __glibcpp_f32_min_exponent,
1078 __glibcpp_f32_min_exponent10, __glibcpp_f32_max_exponent,
1079 __glibcpp_f32_max_exponent10, __glibcpp_f64_min, __glibcpp_f64_max,
1080 __glibcpp_f64_digits, __glibcpp_f64_digits10, __glibcpp_f64_radix,
1081 __glibcpp_f64_min_exponent, __glibcpp_f64_min_exponent10,
1082 __glibcpp_f64_max_exponent, __glibcpp_f64_max_exponent10,
1083 __glibcpp_f80_min, __glibcpp_f80_max, __glibcpp_f80_digits,
1084 __glibcpp_f80_digits10, __glibcpp_f80_radix, __glibcpp_f80_epsilon,
1085 __glibcpp_f80_min_exponent, __glibcpp_f80_min_exponent10,
1086 __glibcpp_f80_max_exponent, __glibcpp_f80_max_exponent10,
1087 __glibcpp_f96_min, __glibcpp_f96_max, __glibcpp_f96_digits,
1088 __glibcpp_f96_digits10, __glibcpp_f96_radix, __glibcpp_f96_epsilon,
1089 __glibcpp_f96_min_exponent, __glibcpp_f96_min_exponent10,
1090 __glibcpp_f96_max_exponent, __glibcpp_f96_max_exponent10,
1091 __glibcpp_f128_min, __glibcpp_f128_max, __glibcpp_f128_digits,
1092 __glibcpp_f128_digits10, __glibcpp_f128_radix, __glibcpp_f128_epsilon,
1093 __glibcpp_f128_min_exponent, __glibcpp_f128_min_exponent10,
1094 __glibcpp_f128_max_exponent, __glibcpp_f128_max_exponent10,
1095 __glibcpp_float_min, __glibcpp_float_max, __glibcpp_float_digits,
1096 __glibcpp_float_digits10, __glibcpp_float_radix,
1097 __glibcpp_float_epsilon, __glibcpp_float_min_exponent,
1098 __glibcpp_float_min_exponent10, __glibcpp_float_max_exponent,
1099 __glibcpp_float_max_exponent10, __glibcpp_double_min,
1100 __glibcpp_double_max, __glibcpp_double_digits,
1101 __glibcpp_double_digits10, __glibcpp_double_radix,
1102 __glibcpp_double_epsilon, __glibcpp_double_min_exponent,
1103 __glibcpp_double_min_exponent10, __glibcpp_double_max_exponent,
1104 __glibcpp_double_max_exponent10, __glibcpp_long_double_min,
1105 __glibcpp_long_double_max, __glibcpp_long_double_digits,
1106 __glibcpp_long_double_digits10, __glibcpp_long_double_radix,
1107 __glibcpp_long_double_epsilon, __glibcpp_long_double_min_exponent,
1108 __glibcpp_long_double_min_exponent10,
1109 __glibcpp_long_double_max_exponent,
1110 __glibcpp_long_double_max_exponent10): Remove macros.
1111 (std::numeric_limits<float>, std::numeric_limits<double>,
1112 std::numeric_limits<long double>): Use protected float.h macros.
1114 2002-09-01 Phil Edwards <pme@gcc.gnu.org>
1116 * testsuite/Makefile.am: Use LD_RUN_PATH when linking abi_check.
1117 Fix spelling in comment.
1118 * testsuite/Makefile.in: Regenerate.
1119 * testsuite/abi_check.cc: Use string literals to build 'cmd' rather
1120 than 'quote' and 'bslash'.
1122 2002-08-31 Phil Edwards <pme@gcc.gnu.org>
1124 * acinclude.m4: Minor comment tweaks.
1126 * docs/html/makedoc.awk: New file...
1127 * docs/html/Makefile: ...called from here...
1128 * docs/html/documentation.html: ...to help generate this.
1130 * docs/html/21_strings/howto.html: Prepare for new entry.
1131 * include/bits/basic_string.h: Initial basic_stirng hook for
1132 doxygen. Remove trailing whitespace.
1133 * include/bits/char_traits.h: Point to onlinedocs for new entry.
1134 * include/bits/stringfwd.h: Add doxygen hooks for string and
1137 2002-08-29 Richard Earnshaw <rearnshaw@arm.com>
1139 * config/cpu/arm/cpu_limits.h: New file.
1140 * configure.target: Use config/cpu/arm for XScale and StrongARM
1143 2002-08-28 Gabriel Dos Reis <gdr@integrable-solutions.net>
1145 * include/std/std_limits.h (__glibcpp_char_bits,
1146 __glibcpp_short_bits, __glibcpp_int_bits, __glibcpp_long_bits,
1147 __glibcpp_long_long_bits, __glibcpp_float_bits,
1148 __glibcpp_double_bits, __glibcpp_long_double_bits): Remove. Use
1149 compiler predifined macros.
1150 (__glibcpp_wchar_t_is_signed): Define based on compiler predefined
1153 2002-08-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
1155 * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
1156 __glibcpp_f32_has_infinity, __glibcpp_f32_QNaN_bytes,
1157 __glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
1158 __glibcpp_f32_has_SNaN, __glibcpp_f32_denorm_min_bytes,
1159 __glibcpp_f32_has_denorm, __glibcpp_f32_is_iec559,
1160 __glibcpp_f64_infinity_bytes,
1161 __glibcpp_f64_has_infinity, __glibcpp_f64_QNaN_bytes,
1162 __glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
1163 __glibcpp_f64_has_SNaN, __glibcpp_f64_denorm_min_bytes,
1164 __glibcpp_f64_has_denorm, __glibcpp_f64_is_iec559,
1165 __glibcpp_f80_infinity_bytes,
1166 __glibcpp_f80_has_infinity, __glibcpp_f80_QNaN_bytes,
1167 __glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
1168 __glibcpp_f80_has_SNaN, __glibcpp_f80_denorm_min_bytes,
1169 __glibcpp_f80_has_denorm, __glibcpp_f80_is_iec559,
1170 __glibcpp_f96_infinity_bytes,
1171 __glibcpp_f96_has_infinity, __glibcpp_f96_QNaN_bytes,
1172 __glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
1173 __glibcpp_f96_has_SNaN, __glibcpp_f96_denorm_min_bytes,
1174 __glibcpp_f96_has_denorm, __glibcpp_f96_is_iec559,
1175 __glibcpp_f128_infinity_bytes,
1176 __glibcpp_f128_has_infinity, __glibcpp_f128_QNaN_bytes,
1177 __glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
1178 __glibcpp_f128_has_SNaN, __glibcpp_f128_denorm_min_bytes,
1179 __glibcpp_f128_has_denorm, __glibcpp_f128_is_iec559,
1180 __glibcpp_float_infinity_bytes,
1181 __glibcpp_float_has_infinity, __glibcpp_float_QNaN_bytes,
1182 __glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
1183 __glibcpp_float_has_SNaN, __glibcpp_float_denorm_min_bytes,
1184 __glibcpp_float_has_denorm, __glibcpp_float_is_iec559,
1185 __glibcpp_double_infinity_bytes,
1186 __glibcpp_double_has_infinity, __glibcpp_double_QNaN_bytes,
1187 __glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
1188 __glibcpp_double_has_SNaN, __glibcpp_double_denorm_min_bytes,
1189 __glibcpp_double_has_denorm, __glibcpp_double_is_iec559,
1190 __glibcpp_long_double_infinity_bytes,
1191 __glibcpp_long_double_has_infinity, __glibcpp_long_double_QNaN_bytes,
1192 __glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
1193 __glibcpp_long_double_has_SNaN, __glibcpp_long_double_denorm_min_bytes,
1194 __glibcpp_long_double_has_denorm, __glibcpp_long_double_is_iec559:
1196 (__glibcpp_word_bits, __glibcpp_word): Likewise.
1197 (__glibcpp_byte): New typedef.
1198 (__float_storage, __double_storage, __long_double_storage): New types.
1199 (__glibcpp_float_infinity, __glibcpp_float_QNaN,
1200 __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Now
1202 (__glibcpp_double_infinity, __glibcpp_double_QNaN,
1203 __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
1204 (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
1205 __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
1208 * src/limits.cc (__glibcpp_float_infinity, __glibcpp_float_QNaN,
1209 __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Define.
1210 (__glibcpp_double_infinity, __glibcpp_double_QNaN,
1211 __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
1212 (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
1213 __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
1216 2002-08-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
1218 * include/std/std_limits.h: Indent conditional macro definitions.
1220 2002-08-23 Phil Edwards <pme@gcc.gnu.org>
1222 * Makefile.am (check-abi): Specify current directory.
1223 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Fix shell syntax, use
1224 abi_baseline_triplet in baseline_file.
1225 * Makefile.in, aclocal.m4, configure: Regenerate.
1226 * configure.target: Add abi_baseline_triplet with default.
1227 * testsuite/abi_check.cc: More error checking.
1229 2002-08-23 Phil Edwards <pme@gcc.gnu.org>
1231 * config/linker-map.gnu: Verbose comments, clean up spacing.
1232 * include/bits/stl_alloc.h: Fix indentation of 'if' bodies, return
1234 __allocator: Change class declaration to struct.
1235 * docs/html/17_intro/C++STYLE: Fix typo.
1236 * include/bits/stl_deque.h, include/bits/stl_list.h,
1237 include/bits/stl_map.h, include/bits/stl_multimap.h,
1238 include/bits/stl_vector.h: Fix fallout from typo.
1240 2002-08-22 Benjamin Kosnik <bkoz@redhat.com>
1242 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Set
1243 GLIBCPP_BUILD_ABI_CHECK based on cross compiling, build, host
1245 * aclocal.m4: Regenerate.
1246 * testsuite/Makefile.am (noinst_PROGRAMS): Make conditional on
1248 * testsuite/Makefile.in: Regenerate.
1250 2002-08-22 Loren J. Rittle <ljrittle@acm.org>
1252 * testsuite/abi_check.cc: Enhance shell portability.
1253 Support older binutils/readelf.
1254 * config/abi/i386-unknown-freebsd4.6: Add.
1255 * config/abi/i386-unknown-freebsd4.6/baseline_symbols.txt: New file.
1257 2002-08-22 Paolo Carlini <pcarlini@unitus.it>
1259 * docs/html/faq/index.html: Add Loren James Rittle and
1260 Paolo Carlini to the list of v3 maintainers.
1261 * docs/html/faq/index.txt: Ditto.
1262 * docs/html/17_intro/RELEASE-NOTES: Ditto.
1264 2002-08-22 Benjamin Kosnik <bkoz@redhat.com>
1265 Phil Edwards <pme@gcc.gnu.org>
1266 Ulrich Drepper <drepper@redhat.com>
1268 * Makefile.am (check-abi): New rule.
1269 * Makefile.in: Regenerate.
1270 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Export baseline_file.
1271 * aclocal.m4: Regenerate.
1272 * configure: Regenerate.
1273 * testsuite/Makefile.am (noinst_PROGRAMS): Add abi_check.
1274 (abi_check_SOURCES): Add.
1275 * testsuite/Makefile.in: Regenerate.
1276 * testsuite/abi_check.cc: New file.
1278 * config/abi/i686-pc-linux-gnu: Add.
1279 * config/abi/i686-pc-linux-gnu/baseline_symbols.txt: New file.
1281 2002-08-19 Benjamin Kosnik <bkoz@redhat.com>
1283 * configure.in (libtool_VERSION): Update to 5:1:0.
1284 * configure: Regenerate.
1286 2002-08-19 Jonathan Wakely <jw@kayari.org>
1288 * docs/html/configopts.html, docs/html/documentation.html,
1289 docs/html/install.html, docs/html/22_locale/codecvt.html,
1290 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
1291 docs/html/22_locale/locale.html,
1292 docs/html/22_locale/messages.html: Conform to HTML 4.01 standard.
1294 2002-08-15 Benjamin Kosnik <bkoz@redhat.com>
1296 * include/ext/stdio_filebuf.h (stdio_filebuf): Explicitly set
1297 _M_buf_size_opt to zero when unbuffering.
1298 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
1299 Consistency checks for _M_buf_size_opt.
1301 Revert PR libstdc++/7445
1302 * src/locale.cc (locale::classic): Revert.
1304 * docs/html/17_intro/TODO: Add.
1306 2002-08-15 Phil Edwards <pme@gcc.gnu.org>
1308 * docs/html/documentation.html: Update doxygen links for 3.2.
1310 2002-08-15 Steve Ellcey <sje@cup.hp.com>
1312 * libsupc++/unwind-cxx.h (__cxa_exception): Change catchTemp
1313 type from void* to _Unwind_Ptr.
1314 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION):
1315 Do not cast landing_pad or base_of_encoded_value to (void *).
1316 * libsupc++/eh_throw.cc (__gxx_exception_cleanup):
1317 Accept _URC_NO_REASON as a valid reason code.
1319 2002-08-14 Jonathan Wakely <jw@kayari.org>
1321 * docs/html/22_locale/messages.html: Use HTML entities for
1324 2002-08-13 Jonathan Wakely <jw@kayari.org>
1325 Phil Edwards <pme@gcc.gnu.org>
1327 * docs/html/documentation.html: Use HTML entities for punctuation.
1329 2002-08-09 Phil Edwards <pme@gcc.gnu.org>
1331 * include/bits/deque.tcc, include/bits/list.tcc,
1332 include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
1333 include/bits/stl_list.h, include/bits/stl_map.h,
1334 include/bits/stl_multimap.h, include/bits/stl_queue.h,
1335 include/bits/stl_stack.h, include/bits/stl_vector.h,
1336 include/bits/vector.tcc: Re-indent contents of namespace std,
1337 re-wrap comment lines as necessary.
1339 2002-08-08 Danny Smith <dannysmith@users.sourceforge.net>
1340 Benjamin Kosnik <bkoz@redhat.com>
1342 * include/bits/istream.tcc (basic_istream::ignore): Use sbumpc,
1344 * testsuite/27_io/narrow_stream_objects.cc (test10): Add.
1346 2002-08-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
1348 * libsupc++/Makefile.am (LTCOMPILE): Add LIBSUPCXX_PICFLAGS.
1349 * libsupc++/Makefile.in: Regenerate.
1351 2002-08-05 Gabriel Dos Reis <gdr@nerim.net>
1354 * include/bits/slice_array.h(_DEFINE_VALARRAY_OPERATOR):
1355 Instantiate with new function objects.
1356 * include/bits/mask_array.h (_DEFINE_VALARRAY_OPERATOR): Likewise.
1358 * include/bits/gslice_array.h: Likewise.
1359 * include/bits/indirect_array.h: Likewise.
1361 2002-08-03 Gabriel Dos Reis <gdr@nerim.net>
1363 * testsuite/26_numerics/valarray_name_lookup.cc: Rename from
1364 testsuite/26_numerics/valarray_name_lookup.C
1366 * include/bits/valarray_array.h (_DEFINE_ARRAY_FUNCTION): Use our
1367 object function surrogates.
1368 * include/bits/valarray_meta.h (__shift_left): Fix typo.
1369 (_BinFunClos<>): Remove.
1370 (_BinFunBase<>): Likewise.
1371 (_BinFunBase1<>):Likewise.
1372 (_BinFunBase2<>): Likewise.
1373 (_DEFINE_EXPR_RELATIONAL_OPERATOR): Likewise.
1374 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
1375 (_DEFINE_EXPR_BINARY_OPERATOR): Likewise.
1376 (_DEFINE_EXPR_BINARY_FUNCTION): Likewise.
1377 * include/std/std_valarray.h: Dont #include <functional> anymore.
1378 (_Bitwise_or<>, _Bitwise_and<>, _Bitwise_xor<>, _Shift_left<>,
1379 _Shift_right<>): Remove.
1380 (_DEFINE_VALARRAY_AUGMENTED_ASSIGNMENT): Adjust instantiation.
1381 (_DEFINE_BINARY_OPERATOR): Tweak definition.
1382 (_DEFINE_LOGICAL_OPERATOR): Remove.
1383 * testsuite/26_numerics/valarray_name_lookup.C (main): Add more tests.
1385 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
1387 * include/bits/valarray_meta.h (_UnFunBase<>): Remove.
1388 (_UnFunClos<>): Same.
1389 (_UnBase<>): Reformat. Make first template-parameter non
1391 (_UnClos<>): Likewise.
1392 (_Expr<>): Reformate. Adjust unary member operator return types.
1393 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
1394 (_DEFINE_EXPR_UNARY_FUNCTION): Likewise.
1395 * include/std/std_valarray.h (_UnClos<>): Adjust declaration.
1396 (valarray<>::_UnaryOp<>): New nested traits. Adjust unary member
1397 operator return types. Reformat.
1398 (_Bitwise_not): Remove.
1399 (_DEFINE_VALARRAY_UNARY_OPERATOR): Adjust definition.
1400 * testsuite/26_numerics/valarray_name_lookup.C: New test.
1402 2002-08-02 Danny Smith <dannysmith@users.sourceforge.net>
1404 * config/os/newlib/ctype_inline.h (is): Don't offset _M_table.
1405 (scan_is): Use this->is.
1406 (scan_not): Likewise.
1408 2002-08-02 Benjamin Kosnik <bkoz@redhat.com>
1410 Revert PR libstdc++/6594
1411 * src/strstream.cc (strstreambuf): Revert.
1412 (strstreambuf::overflow): Same.
1413 (strstreambuf::~strstreambuf): Same.
1414 * testsuite/backward/strstream_members.cc (test02): Add.
1416 * docs/html/abi.txt: Update. Spell check.
1418 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add bool test.
1420 * testsuite/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
1421 * testsuite/Makefile.in: Regenerate.
1422 * testsuite/testsuite_hooks.h: Use __throw_exception_again,
1423 include functexcept.h so that -fno-exceptions will build.
1425 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
1427 * include/bits/valarray_meta.h (__unary_plus, __negate,
1428 __bitwise_not, __plus, __minus, __multiplies, __divides,
1429 __modulus, __bitwise_xor, __bitwise_or, __bitwise_and,
1430 __shift_left, __shift_right, __logical_and, __logical_or,
1431 __logical_not, __equal_to, __not_equal_to, __less, __less_equal,
1432 __greater_equal, __greater, __atan2, __pow): New function object
1434 (__fun<>): New function traits class.
1436 2002-08-01 Rick Danos <rdanos@hotmail.com>
1439 * config/os/newlib/ctype_noninline.h (classic_table): Add offset.
1440 * config/os/newlib/ctype_inline.h (is): Use static_cast.
1442 2002-08-01 Neil Booth <neil@daikokuya.co.uk>
1444 * libsupc++/Makefile.am (LT_COMPILE): Remove C++ flags.
1445 * libsupc++/Makefile.in: Regenerate.
1447 2002-08-01 Benjamin Kosnik <bkoz@redhat.com>
1448 Jakub Jelinek <jakub@redhat.com>
1450 * config/linker-map.gnu: Change CXXABI_1 to CXXABI_1.2,
1451 GLIBCPP_3.1 to GLIBCPP_3.2.
1453 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
1454 Mark Mitchell <mark@codesourcery.com>
1457 * libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit):
1458 Change to __hwm_bit.
1459 (__class_type_info): And here.
1461 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
1464 * libsupc++/cxxabi.h
1465 (__base_class_info): Change to __base_class_type_info. 2.9.5p6c
1466 (__base_class_info::__base): Change to __base_type. 2.9.5p6c
1467 (__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c
1468 (__vmi_class_type_info::__base_info): Don't make const, of type
1469 __base_class_type_info, as per 2.9.5p6c
1470 (__pbase_type_info::__qualifier_flags): Change to __flags, as per
1472 (__pbase_type_info::__qualifier_masks): Change to __masks, as per
1474 (__pointer_to_member_type_info::__context_class): Change member to
1475 __context, as per 2.9.5p9.
1476 * libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to
1478 * libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to
1480 * libsupc++/tinfo.cc (__do_find_public_src): Change __base to
1482 * libsupc++/tinfo.cc (__do_dyncast): Same.
1483 * libsupc++/tinfo.cc (__do_upcast): Same.
1485 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
1487 * src/fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.
1489 2002-07-31 Simon Whomsley <whomsley@avacadcam.com>
1491 * docs/html/22_locale/howto.html: Fix.
1493 2002-07-31 Alex Kompel <shurik@sequoiap.com>
1496 * src/locale.cc (locale::classic): Move locks inside !_S_classic
1499 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
1501 * docs/html/abi.txt: Update.
1503 2002-07-30 Benjamin Kosnik <bkoz@redhat.com>
1504 Gabriel Dos Reis <gdr@nerim.net>
1506 * include/bits/char_traits.h: Remove generic definitions.
1507 * include/bits/streambuf_iterator.h (istreambuf_iterator): Use
1509 * include/bits/istream.tcc (istream::readsome): Don't check
1510 against eof, instead use constants.
1511 (istream::sync): Same.
1512 (istream::sentry::sentry): Use eq_int_type.
1513 (istream::get): Same.
1514 * include/bits/ostream.tcc: Change __pad to
1515 __pad<_CharT, _Traits>::_S_pad.
1516 * include/bits/locale_facets.h: Add __pad_traits generic and
1517 ostreambuf_iterator specialization.
1518 * include/bits/locale_facets.tcc: Change __pad into struct __pad
1519 with a _CharT and _Traits template parameter and _S_pad static
1521 * src/locale-inst.cc: Update __pad instantiations.
1523 * include/std/std_fstream.h: Declare _M_underflow_common
1525 * src/fstream.cc: New. Add _M_underflow_common specializations.
1526 * include/bits/fstream.tcc (filebuf::close): Use traits_type.
1527 (filebuf::_M_underflow_common(bool)): Remove generic version, as
1528 sys_ungetc and custom int_types don't get along.
1529 * include/std/std_streambuf.h: Add _M_pos.
1530 * src/Makefile.am (sources): Add fstream.cc.
1531 * src/Makefile.in: Regenerate.
1533 * testsuite/21_strings/capacity.cc: Add char_traits specializations.
1534 * testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
1535 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
1536 * testsuite/22_locale/ctor_copy_dtor.cc: Same.
1537 * testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
1538 * testsuite/27_io/filebuf.cc: ...here.
1539 * testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
1540 specialization for both.
1541 * testsuite/27_io/streambuf.cc: Add instantiation test,
1542 testsuite_hooks include.
1543 * testsuite/27_io/istream.cc: Same.
1544 * testsuite/27_io/ostream.cc: Same.
1545 * testsuite/27_io/fstream.cc: Same.
1546 * testsuite/27_io/stringstream.cc: Same.
1547 * testsuite/27_io/filebuf.cc: Same.
1548 * testsuite/27_io/stringbuf.cc: Same.
1550 2002-07-29 Alan Modra <amodra@bigpond.net.au>
1552 * config/cpu/powerpc/cpu_limits.h (__glibcpp_long_bits): Define.
1553 * configure.target (cpu_include_dir): Use cpu/powerpc for powerpc64.
1554 * config/cpu/powerpc/atomicity.h (__always_swap): Remove.
1555 (__test_and_set): Remove.
1556 (_STWCX): Define and use.
1558 2002-07-26 Phil Edwards <pme@gcc.gnu.org>
1560 * libsupc++/new (placement delete): Remove unused parameter names.
1562 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
1565 * include/std/std_istream.h (basic_iostream): Add typedefs for
1566 char_type, int_type, pos_type, off_type, and traits_type.
1567 * testsuite/27_io/iostream.cc (test01): Add typedef tests.
1568 * testsuite/27_io/istream.cc: Same.
1569 * testsuite/27_io/ostream.cc: Same.
1570 * testsuite/27_io/filebuf.cc: Same.
1571 * testsuite/27_io/stringbuf.cc: Replace content, move to...
1572 * testsuite/27_io/stringbuf_members.cc: ...here.
1573 * testsuite/27_io/streambuf.cc: Replace content, move to...
1574 * testsuite/27_io/streambuf_members.cc: ...here.
1575 * testsuite/27_io/stringstream.cc: Replace content, move to...
1576 * testsuite/27_io/stringstream_members.cc: ...here.
1577 * testsuite/27_io/ios.cc: New file.
1578 * testsuite/27_io/fstream.cc: New file.
1579 * testsuite/27_io/ifstream.cc: New file.
1580 * testsuite/27_io/ofstream.cc: New file.
1581 * testsuite/27_io/istringstream.cc: New file.
1582 * testsuite/27_io/ostringstream.cc: New file.
1584 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
1587 * include/bits/istream.tcc (istream::ignore): Don't extract on
1589 * testsuite/27_io/istream_unformatted.cc (test10): Add.
1591 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
1593 * testsuite/27_io/ios_base_type.cc: Move to...
1594 * testsuite/27_io/ios_base_types.cc: ...here.
1596 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
1599 * src/locale.cc (locale::locale(const char*)): Use setlocale NULL.
1600 * testsuite/22_locale/ctor_copy_dtor.cc (test02): New.
1602 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
1605 * config/linker-map.gnu: Revert strstream patch from 2002-07-01.
1606 * include/Makefile.am (backward_headers): Use strstream, not
1608 * include/Makefile.in: Regenerate.
1609 * include/backward/strstream: Revert.
1610 * include/backward/strstream.h: Remove.
1611 * src/strstream.cc: Revert.
1612 * testsuite/backward/strstream_members.cc: Change include.
1614 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
1617 * include/bits/ios_base.h (ios_base::streampos): Add.
1618 (ios_base::streamoff): Add.
1619 * testsuite/27_io/ios_base_type.cc: New.
1621 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
1624 * libsupc++/new: Add placement delete.
1625 * testsuite/18_support/new_delete_placement.cc: New.
1627 * docs/html/abi.txt: Fix typos.
1629 2002-07-23 Benjamin Kosnik <bkoz@redhat.com>
1631 * docs/html/documentation.html: Remove libstdc++-v3.0.86 links,
1632 confusing usage of "latest."
1633 De-tangle contributor information from introductory notes.
1634 Move abi.txt link placement, activate.
1636 Move chapter info into old FAQ format.
1637 * docs/html/organization.html: Removed, obsoleted by doxygen work.
1638 * docs/html/abi.txt: Add notes on testing ABI changes.
1640 2002-07-20 Phil Edwards <pme@gcc.gnu.org>
1642 * docs/html/abi.txt: New file.
1643 * docs/html/23_containers/howto.html: Tweak vector-overhead text.
1644 * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
1645 Import from upstream, R22.
1647 * include/bits/char_traits.h, include/bits/stl_iterator.h,
1648 include/bits/stl_iterator_base_types.h, libsupc++/exception,
1649 libsupc++/new, libsupc++/typeinfo: Use @brief markup.
1651 * include/bits/deque.tcc, include/bits/stl_alloc.h,
1652 include/bits/stl_deque.h, include/bits/stl_list.h: Postpone removal
1653 of deprecated functions until 3.4. (Same timeframe, different text.)
1654 * include/bits/stl_vector.h: Ditto. Also do the same cleanups that
1655 the other sequence classes received.
1657 2002-07-18 Brendan Kehoe <brendan@zen.org>
1659 * bits/slice_array.h (_DEFINE_VALARRAY_OPERATOR): Fix typo of
1662 2002-07-19 Gabriel Dos Reis <gdr@nerim.net>
1665 * include/bits/slice_array.h
1666 (slice_array<T>::operator=(const T&)): Constify.
1667 * include/bits/gslice_array.h
1668 (gslice_array<T>::operator=(const T&)): Likewise.
1669 * include/bits/mask_array.h
1670 (mask_array<T>::operator=(const T&)): Likewise.
1671 * include/bits/indirect_array.h
1672 (indirect_array<T>::operator=(const T&): Likewise.
1674 2002-07-17 Phil Edwards <pme@gcc.gnu.org>
1676 * docs/doxygen/run_doxygen: Remove template parameter names from
1677 "Compound List" summary page. Reformat.
1678 * docs/html/documentation.html: XHTML fixes.
1680 2002-07-16 Andreas Schwab <schwab@suse.de>
1682 * libsupc++/new (set_new_handler): Declare to not throw any
1684 * libsupc++/new_handler.cc (set_new_handler): Likewise.
1686 2002-07-16 Gabriel Dos Reis <gdr@nerim.net>
1688 * include/Makefile.am (bits_headers): Remove slice.h
1689 * include/Makefile.in: Regenerate.
1690 * include/bits/slice.h (slice): move to include/bits/slice_array.h
1691 * include/bits/slice.h Remove.
1692 * include/std/std_valarray.h: Don't #include bits/slice.h anymore.
1693 * include/bits/slice_array.h: Comply to official coding styles.
1694 * testsuite/26_numerics/slice.cc: New test.
1696 2002-07-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1698 * config/os/solaris/solaris2.5/ctype_base.h (ctype_base): Fix
1699 print to match vendor <ctype.h>.
1701 2002-07-15 Phil Edwards <pme@gcc.gnu.org>
1703 * docs/html/faq/index.html: Fix download links.
1704 * docs/html/faq/index.txt: Regenerate.
1705 * docs/html/17_intro/porting.html: Regenerate from earlier changes.
1707 2002-07-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1709 * configure.target (target_os switch): Allow for irix6*o32
1712 2002-07-10 Gabriel Dos Reis <gdr@nerim.net>
1714 * include/bits/valarray_meta.h (_UnFunBase): Take a second
1715 template parameter. Remove _M_func data member.
1716 (_UnFunClos): Take a third template parameter.
1717 (__abs, __cos, __acos, __cosh, __sin, __asin, __sinh, __tan,
1718 __atan, __tanh, __exp, __log, __log10, __sqrt): New classes.
1719 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
1721 2002-07-08 Eric Christopher <echristo@redhat.com>
1723 * configure.target: Fix comment for mips atomicity. Add
1724 mips*-*-linux* target, enable atomic operations there.
1725 * config/cpu/mips/atomicity.h: Fix comments, remove
1726 #ifndef/#endif. Add push/pop mips2.
1728 2002-07-08 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1730 * include/bits/stl_deque.h (_Deque_alloc_base): Change order of
1731 member declarations to avoid compiler warnings and restore 3.1 ABI.
1733 2002-07-08 Phil Edwards <pme@gcc.gnu.org>
1735 * docs/html/23_containers/howto.html: Link to dk_std::vector paper
1738 2002-07-07 Paolo Carlini <pcarlini@unitus.it>
1741 * include/bits/stl_deque.h (_Deque_iterator::operator-):
1742 Make non-member, as already happens for the comparison
1743 operators in accord with DR179 (Ready).
1744 * testsuite/23_containers/deque_operators.cc: Add test02.
1746 2002-07-04 Benjamin Kosnik <bkoz@redhat.com>
1747 Jack Reeves <jackw_reeves@hotmail.com>
1749 * include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to
1750 size_t, from int_type.
1751 (basic_streambuf::_M_buf_size_opt): Same.
1752 (basic_streambuf::_S_pback_sizex): Same.
1753 * include/bits/streambuf.tcc: Same.
1754 * include/std/std_streambuf.h (basic_streambuf::snextc): Use
1756 (basic_streambuf::uflow): Same.
1757 * include/bits/sstream.tcc (basic_stringbuf::overflow): Use
1759 * include/bits/basic_ios.tcc (basic_ios::init): Use _CharT().
1760 * include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use
1762 (basic_streambuf::xsputn): Same.
1763 (__copy_streambufs): Same.
1765 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
1767 * include/std/std_memory.h: Fix formatting.
1768 * testsuite/20_util/auto_ptr_neg.cc: New.
1769 * testsuite/20_util/auto_ptr.cc: Tweaks.
1770 * testsuite/23_containers/map_operators.cc (test01): Split into..
1771 * testsuite/23_containers/map_operators_neg.cc (test01): ...this. New.
1772 * testsuite/23_containers/set_operators.cc: Move to...
1773 * testsuite/23_containers/set_operators_neg.cc: ...here.
1774 * testsuite/README: Add some more naming rules.
1776 2002-07-03 Steev Wilcox <steev@paradigmds.com>
1779 * include/ext/stl_hashtable.h: Fix.
1780 * testsuite/ext/hash_map.cc: New.
1782 2002-07-03 Jack Reeves <jackw_reeves@hotmail.com>
1783 Kenny Simpson <theonetruekenny@yahoo.com>
1784 Phil Edwards <pme@gcc.gnu.org>
1787 * testsuite/20_util/auto_ptr.cc (test08): New test.
1788 * include/std/std_memory.h (auto_ref_ptr): Make constructor explicit.
1789 (auto_ptr::operator auto_ptr_ref): Fix typo.
1790 General reformatting and doxygenating of the whole file.
1792 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
1795 * include/c/std_cwchar.h: Fix.
1797 2002-07-02 Benjamin Kosnik <bkoz@redhat.com>
1800 * include/bits/locale_facets.h (moneypunct::moneypunct): Add const
1801 char* name parameter.
1802 * config/locale/gnu/monetary_members.cc: Use it.
1803 * config/locale/generic/monetary_members.cc: Same.
1804 * src/localename.cc (_Impl::_Impl(const char*, size_t)): Use it.
1806 * include/backward/strstream.h: Update date.
1808 2002-07-02 Paolo Carlini <pcarlini@unitus.it>
1811 * include/bits/stl_iterator.h
1812 (__normal_iterator::operator-(const __normal_iterator&)):
1813 Make non-member, as already happens for the comparison
1814 operators in accord with DR179 (Ready).
1815 * testsuite/24_iterators/iterator.cc: Add test from the PR.
1817 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
1820 * acinclude.m4: Simplify determination of gcc_version, and move
1821 up to GLIBCPP_CONFIGURE.
1822 * configure.in (release_VERSION): Really remove.
1823 (AM_INIT_AUTOMAKE, AM_CONFIG_HEADER): Move after GLIBCPP_CONFIGURE.
1824 * aclocal.m4, configure: Regenerate.
1826 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
1828 * docs/html/configopts.html, docs/html/install.html: Tweaks.
1829 * include/ext/algorithm, include/ext/hash_map, include/ext/hash_set,
1830 include/ext/iterator, include/ext/numeric, include/ext/rb_tree,
1831 include/ext/slist, include/ext/stl_rope.h: Add doxygen hooks.
1833 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
1835 * include/backward/strstream: Remove namespace std. Transfer to...
1836 * include/backward/strstream.h: ...here. Qualify std names.
1837 * src/strstream.cc: Remove namespace std.
1838 * include/Makefile.am (backward_headers): Remove strstream.h.
1839 * include/Makefile.in: Regenerate.
1840 * config/linker-map.gnu: Export strstream bits.
1842 * src/fstream-inst.cc: Tweak.
1843 * src/io-inst.cc: Same.
1844 * src/istream-inst.cc: Same.
1845 * src/misc-inst.cc: Same.
1846 * src/ostream-inst.cc: Same.
1847 * src/sstream-inst.cc: Same.
1848 * src/valarray-inst.cc: Same.
1849 * src/misc-inst.cc: Remove unused instantiations.
1851 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
1853 * configure.in (libtool_VERSION): Bump to 5:0:0.
1854 * configure: Regenerate.
1856 2002-06-28 Phil Edwards <pme@gcc.gnu.org>
1858 PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161
1859 * include/std/std_queue.h: Include deque.tcc, vector.tcc.
1860 * include/std/std_stack.h: Include deque.tcc.
1861 * testsuite/23_containers/adaptors.cc: New file.
1863 2002-06-27 Phil Edwards <pme@gcc.gnu.org>
1865 * include/bits/stl_alloc.h: Deprecate all 'reallocate' memfns.
1866 * docs/html/ext/howto.html: Update allocator notes.
1868 2002-06-26 Benjamin Kosnik <bkoz@redhat.com>
1870 * configure.in (INTERFACE): Remove.
1871 (release_VERSION): Remove.
1872 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
1873 (libstdcxx_interface): Change. Use gcc methods to determine version.
1874 * configure: Regenerate.
1875 * aclocal.m4: Regenerate.
1877 2002-06-25 DJ Delorie <dj@redhat.com>
1879 * acinclude.m4 (GLIBCPP_CONFIGURE): Split out
1880 GLIBCPP_TOPREL_CONFIGURE.
1881 * aclocal.m4: Likewise.
1882 * configure.in: Call it before AC_CANONICAL_SYSTEM.
1883 * configure: Regenerate.
1885 2002-06-25 Jessica Han <jessica@cup.hp.com>
1887 * config/os/hpux/os_defines.h Define _GLIBCPP_VTABLE_PADDING
1888 * libsupc++/tinfo.cc Handle the 8 byte aligned vtable entries when
1889 _GLIBCPP_VTABLE_PADDING is defined.
1891 2002-06-25 Benjamin Kosnik <bkoz@redhat.com>
1893 * include/bits/stl_alloc.h: Additional formatting.
1895 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
1897 * include/bits/stl_alloc.h: Reformat as per C++STYLE.
1899 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
1901 * config/cpu/*/bits/*: Move header files up a level. Remove bits.
1902 * config/os/*/bits/*: Likewise.
1903 * configure.in: Update.
1904 * configure: Regenerate.
1905 * configure.target: Update.
1906 * docs/html/17_intro/porting.texi: Update.
1908 2002-06-21 Phil Edwards <pme@gcc.gnu.org>
1910 * include/bits/stl_map.h, include/bits/stl_multimap.h,
1911 include/bits/stl_queue.h, include/bits/stl_stack.h: Reformat and
1912 complete doxygenation.
1913 * include/bits/boost_concept_check.h: Minor comment.
1915 2002-06-21 Benjamin Kosnik <bkoz@redhat.com>
1917 * include/c_compatibility: New.
1918 * include/c_compatibility/assert.h: New.
1919 * include/c_compatibility/ctype.h: New.
1920 * include/c_compatibility/errno.h: New.
1921 * include/c_compatibility/float.h: New.
1922 * include/c_compatibility/iso646.h: New.
1923 * include/c_compatibility/limits.h: New.
1924 * include/c_compatibility/locale.h: New.
1925 * include/c_compatibility/math.h: New.
1926 * include/c_compatibility/setjmp.h: New.
1927 * include/c_compatibility/signal.h: New.
1928 * include/c_compatibility/stdarg.h: New.
1929 * include/c_compatibility/stddef.h: New.
1930 * include/c_compatibility/stdio.h: New.
1931 * include/c_compatibility/stdlib.h: New.
1932 * include/c_compatibility/string.h: New.
1933 * include/c_compatibility/time.h: New.
1934 * include/c_compatibility/wchar.h: New.
1935 * include/c_compatibility/wctype.h: New.
1937 * include/c/std_cerrno.h: Get out of the way... define errno.
1938 * include/c/std_cmath.h: Add abs, modf overloads.
1939 Undefine C99 isms. Still not sure how to deal with this sanely.
1940 * include/c/std_csetjmp.h: Tweak.
1941 * include/c/std_cwchar.h: Include cstddef for size_t.
1943 * include/c_std/std_cmath.h: Remove extra function.
1945 Pendantic std usage in testsuites.
1946 * testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
1948 * testsuite/17_intro/header_cwchar.cc: Tweak.
1949 * testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
1951 * testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
1952 * testsuite/22_locale/ctype_to_char.cc (test05): Same.
1953 * testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
1954 * testsuite/22_locale/ctype_is_char.cc (test05): Same.
1955 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
1956 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
1957 * testsuite/22_locale/time_get_members_char.cc (test08): Same.
1958 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
1959 * testsuite/22_locale/time_put_members_char.cc (test04): Same.
1960 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
1961 * testsuite/22_locale/num_put_members_char.cc (test04): Same.
1962 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
1963 * testsuite/22_locale/numpunct_members_char.cc (test03): Same.
1964 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
1965 * testsuite/22_locale/num_get_members_char.cc: Same.
1966 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
1967 * testsuite/22_locale/money_put_members_char.cc (test07): Same.
1968 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
1969 * testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
1970 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
1971 * testsuite/22_locale/money_get_members_char.cc (test08): Same.
1972 * testsuite/22_locale/messages_members_char.cc (test03): Same.
1973 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
1974 * testsuite/22_locale/collate_members_char.cc (test04): Same.
1975 * testsuite/26_numerics/fabs_inline.cc: Use std::printf.
1976 * testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
1977 * testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.
1979 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
1981 * libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
1984 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
1986 * src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
1987 Use size_type instead of unsigned long.
1989 2002-06-20 Steve Ellcey <sje@cup.hp.com>
1991 * src/ext-inst.cc (_S_fetch): Add explicit templates for char and
1993 (_S_min_len): Ditto.
1995 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
1997 * include/Makefile.am: Add rules.
1998 * include/Makefile.in: Regenerate.
2000 * acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
2001 * aclocal.m4: Regenerate.
2002 * configure: Regenerate.
2003 * configure.target (c_model, c_compatibility): Add.
2005 * libsupc++/Makefile.am (c_sources): New.
2006 (libsupc___la_SOURCES): Add c_sources.
2007 (LTCOMPILE): Remove INCLUDES.
2008 (GCC_INCLUDES): New.
2009 (C_COMPILE): New, like COMPILE but without INCLUDES.
2010 (cxa_demangle.o): Use C_COMPILE.
2011 (dyn-string.o): Use C_COMPILE.
2013 * include/c/std_cstdarg.h: Define __need___va_list.
2014 * include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
2015 need_NULL, need_offsetof.
2017 2002-06-19 Steve Ellcey <sje@cup.hp.com>
2019 * configure.in (HAVE_FINITE*, HAVE_ISINF*, HAVE_ISNAN*): Remove
2020 definitions in hpux11 cross-build because these functions do
2021 not exist on hpux11 (but some exist on hpux10); move defaults out
2022 into existing sections.
2023 * configure: Regenerate.
2025 2002-06-18 Benjamin Kosnik <bkoz@redhat.com>
2027 * include/c/std_cwchar.h: Guard. Add mbstate_t bits.
2028 * include/c/std_cwctype.h: Guard.
2030 * libsupc++/eh_alloc.cc: Tweak include order.
2031 * libsupc++/pure.cc: Use cstdio.
2032 * libsupc++/new_op.cc: Remove malloc forward declaration, as
2033 cstdlib brings it in. Use std::malloc.
2035 * src/Makefile.am (sources): Remove cmath.cc.
2036 * src/Makefile.in: Regenerate.
2037 * src/cmath.cc: Remove.
2039 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
2041 * configure.target: Force mips to use the generic cpu routines.
2043 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
2045 * configure.host: Delete file.
2046 * configure.target: More documentation. Factor out common parts of
2047 script into "intelligent" settings about defaults. Remove redundancy.
2049 * acinclude.m4: Update comments. Do not call configure.host.
2050 (GLIBCPP_ENABLE_SYMVERS): If disabled, do not bother checking for
2052 * configure.in: Slight reformatting, more comments. Factor out
2053 "config/" from all the directories.
2054 * docs/html/17_intro/porting.texi: Update and expand.
2055 * testsuite/Makefile.am (AM_RUNTESTFLAGS): Move empty setting
2056 from configure.host.
2058 * aclocal.m4, configure, docs/html/17_intro/porting.html,
2059 testsuite/Makefile.in: Regenerate.
2061 2002-06-16 Phil Edwards <pme@gcc.gnu.org>
2063 * docs/doxygen/TODO: Update.
2064 * docs/doxygen/tables.html: Uncomment magical middle column.
2065 * docs/doxygen/user.cfg.in: Kludge to ignore function-like macros.
2066 * include/bits/stl_queue.h: Doxygenate and reformat.
2067 * include/bits/ios_base.h, include/std/std_streambuf.h: Add comment
2068 for deprecated names required by the standard.
2070 2002-06-14 J.T. Conklin <jtc@acorntoolworks.com>
2072 * configure.in (target_alias): Fix.
2073 * configure: Regenerate.
2074 * aclocal.m4: Regenerate.
2076 2002-06-12 Phil Edwards <pme@gcc.gnu.org>
2078 * include/Makefile.am: Add new files.
2079 * include/Makefile.in: Regenerate.
2081 * include/bits/stl_deque.h, include/bits/stl_list.h,
2082 include/bits/stl_vector.h: Clean up, reformat. Move definitions...
2083 * include/bits/deque.tcc, include/bits/list.tcc,
2084 include/bits/vector.tcc: ...to here. New files.
2086 * include/ext/stl_hashtable.h: Inclide correct full headers.
2087 * include/std/std_deque.h: Include .tcc files for now.
2088 * include/std/std_list.h: Likewise.
2089 * include/std/std_vector.h: Likewise.
2091 2002-06-12 Daniel Jacobowitz <drow@mvista.com>
2093 * Makefile.am: Add FLAGS_TO_PASS.
2094 * Makefile.in: Regenerated.
2096 2002-06-11 J.T. Conklin <jtc@acorntoolworks.com>
2097 Benjamin Kosnik <bkoz@redhat.com>
2099 * configure.target: Set os_include_dir to config/os/qnx/qnx6.1
2101 * configure.in: Add support for *-qnx6.[12]*.
2102 * configure: Regenerate.
2104 * config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
2106 * config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
2107 ctype_noninline.h, os_defines.h: New files.
2109 2002-06-10 Loren J. Rittle <ljrittle@acm.org>
2111 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): Reorder and
2112 include all required headers for test against older POSIX standard.
2113 (GLIBCPP_CHECK_SETRLIMIT): Likewise.
2114 (ac_setrlimit): Likewise.
2115 * aclocal.m4: Regenerate.
2116 * configure: Regenerate.
2117 * testsuite/testsuite_hooks.cc: Reorder and include all
2118 required headers for use against older POSIX standard.
2120 2002-06-08 Paolo Carlini <pcarlini@unitus.it>
2122 * testsuite/backwards/strstream_members.cc: New.
2124 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
2126 * include/backwards/strstream: Format.
2127 * src/strstream.cc: Format.
2129 2002-06-08 Andreas Schwab <schwab@suse.de>
2131 * src/strstream.cc (strstreambuf::overflow): Set _M_buf,
2132 _M_buf_size and _M_buf_size_opt to the new buffer and size.
2134 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
2136 * config/os/generic/bits/ctype_noninline.h: Tweak format.
2138 2002-06-07 Steve Ellcey <sje@cup.hp.com>
2140 * src/locale-inst.cc (__codecvt_abstract_base):
2141 Put inside _GLIBCPP_USE_WCHAR_T ifdef.
2142 * include/bits/istream.tcc (basic_istream): Ditto.
2145 * include/bits/ostream.tcc (basic_ostream): Ditto.
2149 (operator<<): Ditto.
2151 2002-06-07 Phil Edwards <pme@gcc.gnu.org>
2153 * mkcheck.in: Link against local testsuite library.
2154 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Move null
2155 implementation out...
2156 * testsuite/testsuite_hooks.cc: ...to here.
2158 2002-06-06 Loren J. Rittle <ljrittle@acm.org>
2160 * src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
2161 * include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
2162 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
2163 * src/Makefile.in: Regenerate (explicitly with --cygnus option).
2164 * testsuite/Makefile.in: Likewise.
2166 2002-06-05 David Edelsohn <edelsohn@gnu.org>
2168 * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
2169 Call external symbol.
2171 2002-06-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2173 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
2174 Search correct multilib testsuite dir for libv3test.
2176 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
2177 Gaby Dos Reis <gdr@codesourcery.com>
2179 * include/bits/basic_string.tcc
2180 (basic_string::_S_construct(forward_iterator_tag):
2181 Fix typo in null pointer check.
2182 * testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
2184 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
2186 * testsuite/22_locale/money_get_members_char.cc
2187 (test02): Add decimal point to long double constants.
2188 * testsuite/22_locale/money_get_members_wchar_t.cc
2190 * testsuite/22_locale/money_put_members_char.cc
2191 (test02, test03, test06): Likewise.
2192 * testsuite/22_locale/money_put_members_wchar_t.cc:
2193 (test02, test03, test06): Likewise.
2194 * testsuite/22_locale/num_get_members_char.cc:
2195 (test02, test01): Likewise; suffix long long constants with LL.
2196 * testsuite/22_locale/num_get_members_wchar_t.cc:
2197 (test02, test01): Likewise.
2198 * testsuite/22_locale/num_put_members_char.cc:
2199 (test02, test01): Likewise.
2200 * testsuite/22_locale/num_put_members_wchar_t.cc:
2201 (test02, test01): Likewise.
2203 2002-06-03 Marc Espie <espie@openbsd.org>
2205 * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
2206 assembly for old assemblers.
2208 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
2210 * include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
2212 (vector<bool>::swap(reference,reference)): ...to this.
2214 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
2216 * docs/doxygen/TODO: Update.
2217 * docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS): Set to off, now that
2218 some class members are in 14882 order.
2219 * docs/html/ext/howto.html: 3.1 is in the past now, not the future.
2221 * include/std/std_bitset.h: Update comment.
2222 * src/bitset.cc: Update comments, clean up spacing.
2224 * src/Makefile.am (sources): Alphabetize for convenience.
2225 * src/Makefile.in: Regenerate.
2227 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
2229 * include/bits/stl_deque.h, include/bits/stl_list.h,
2230 include/bits/stl_vector.h: Reformat to (mostly) match C++STYLE.
2231 Reorder to match 14882. Doxygen blocks for all public members.
2233 2002-05-31 Marcus Meissner <meissner@suse.de>
2236 * include/bits/stl_bvector.h: Use UL suffix for unsigned longs.
2237 * testsuite/23_containers/vector_bool.cc (test02): New test.
2239 2002-05-30 Marc Espie <espie@openbsd.org>
2241 * configure.in: Always check for sys/types.h
2242 * configure: Regenerate.
2244 2002-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2246 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
2247 Rebuild the wrapper file every time this proc is called.
2249 2002-05-28 Phil Edwards <pme@gcc.gnu.org>
2251 * testsuite/Makefile.am (noinst_LIBRARIES): New target. Pull in
2253 * testsuite/Makefile.in: Regenerate.
2254 * testsuite/testsuite_hooks.h (gnu_copy_tracker): Move from
2255 list_modifiers.cc and rename from 'T'. Move code bodies...
2256 * testsuite/testsuite_hooks.cc: ...to here. New file.
2257 * testsuite/23_containers/list_modifiers.cc: Move 'T' class out.
2258 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
2259 Add libv3test.a to link options.
2261 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
2263 * src/misc-inst.cc: Define unnecessary algorithm
2264 instantiations. Break apart instantiations into groupings below.
2265 * src/fstream-inst.cc: New.
2266 * src/io-inst.cc: New.
2267 * src/istream-inst.cc: New.
2268 * src/ostream-inst.cc: New.
2269 * src/streambuf-inst.cc: New.
2270 * src/sstream-inst.cc: New.
2271 * src/Makefile.am (sources): Add files.
2272 * src/Makefile.in: Regenerate.
2274 * acinclude.m4: Work around automake 1.4-p5 bug, change
2275 AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
2277 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
2280 * config/os/solaris/solaris2.6/bits/ctype_noninline.h
2281 (classic_table): Fix.
2282 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2284 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
2286 * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
2287 _GLIBCPP_USE_WCHAR_T.
2288 * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
2289 * testsuite/22_locale/ctype_to_wchar_t.cc: Same.
2290 * testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
2292 2002-05-26 Carlo Wood <carlo@alinoe.com>
2293 Paolo Carlini <pcarlini@unitus.it>
2296 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
2297 (__enc_traits::operator=): add missing return statement.
2299 2002-05-24 Phil Edwards <pme@gcc.gnu.org>
2302 * include/std/std_bitset.h (_Base_biteset<0>): New specialization.
2303 (operator>>): If nothing was extracted, don't fail in the
2305 * testsuite/23_containers/bitset_ctor.cc (test02): New test.
2307 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
2310 * testsuite/22_locale/ctype_narrow_char.cc: New.
2311 * testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
2312 * testsuite/22_locale/ctype_widen_char.cc: New.
2313 * testsuite/22_locale/ctype_widen_wchar_t.cc: New.
2314 * testsuite/22_locale/ctype_members_char.cc: Move some bits into...
2315 * testsuite/22_locale/ctype_is_char.cc: ...this.
2316 * testsuite/22_locale/ctype_to_char.cc: ...and this.
2317 * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
2318 * testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
2319 * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
2321 * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
2323 2002-05-24 Dale Peakall <dale@peakall.net>
2326 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
2327 * config/locale/generic/ctype_members.cc: Same.
2329 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
2332 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
2333 for empty string literal.
2334 (ostream::operator<<(const _CharT*)): Same.
2335 (ostream<char>::operator<<(const char*)): Same.
2336 (ostream<char>::operator<<(streambuf*)): Same.
2337 * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
2338 * testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
2340 2002-05-23 Benjamin Kosnik <bkoz@redhat.com>
2342 * configure.in (release_VERSION): Update to 3.1.1.
2343 (libtool_VERSION): Update to 4:1:0.
2344 * configure: Regenerate.
2346 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
2348 * include/bits/stl_pair.h: Tweak comment markup.
2350 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
2352 * include/ext/stdio_filebuf.h: Add header guards. Doxygenate.
2354 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
2356 * docs/doxygen/user.cfg.in (EXCLUDE): Add 'CVS'.
2358 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
2360 * include/bits/stl_vector.h: Reformat to follow C++STYLE.
2361 Doxygenate all public members. Reorder to follow 14882.
2362 (vector::push_back(void)): Remove previously-deprecated fn.
2363 (vector::insert(iterator), vector::_M_insert_aux(iterator)):
2364 Deprecate for removal in 3.3.
2366 2002-05-20 Phil Edwards <pme@gcc.gnu.org>
2368 * docs/html/faq/index.html (5.4): Recommend against -I options for
2369 finding the ext headers.
2370 * docs/html/faq/index.txt: Regenerate.
2372 2002-05-19 Paolo Carlini <pcarlini@unitus.it>
2374 * testsuite/23_containers/deque_operators.cc (test01):
2375 Fix minor typo in last commit.
2377 2002-05-18 Paolo Carlini <pcarlini@unitus.it>
2380 * include/bits/stl_deque.h (_Deque_iterator::operator==,
2381 operator!=, operator<, operator>, operator>=, operator<=):
2382 Make non-member functions, to allow comparing const and
2383 non-const iterators in any order.
2384 * testsuite/23_containers/deque_operators.cc: New testfile.
2386 2002-05-16 Phil Edwards <pme@gcc.gnu.org>
2388 * docs/html/faq/index.html: Update not-a-bug list with basic_file.h.
2389 * docs/html/faq/index.txt: Regenerate.
2391 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2393 * Makefile.am: Allow for PWDCMD to override hardcoded pwd.
2394 * acinclude.m4: Likewise.
2395 * docs/html/Makefile: Likewise.
2396 * aclocal.m4: Regenerate.
2397 * configure: Regenerate.
2398 * Makefile.in: Regenerate.
2400 2002-05-15 Loren J. Rittle <ljrittle@acm.org>
2403 * include/bits/c++config (__USE_MALLOC): Report case where
2404 the user improperly defined it on the command line.
2406 2002-05-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2408 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
2409 Retrieve current limits before setting.
2411 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
2414 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
2416 (ostream::operator<<(const _CharT*)): Same.
2417 (ostream<char>::operator<<(const char*)): Same.
2418 * testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
2420 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
2423 * src/strstream.cc (strstreambuf): Fix leak.
2425 2002-05-15 Paolo Carlini <pcarlini@unitus.it>
2428 * include/bits/istream.tcc (istream::getline, ignore):
2429 Upon __idelim (__delim) call sbumpc() not snextc().
2430 * testsuite/27_io/narrow_stream_objects.cc:
2431 Add test08 and test09.
2433 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
2435 * testsuite/22_locale/ctype_scan_char.cc: Tweak.
2436 * testsuite/22_locale/ctype_scan_wchar_t.cc: New.
2438 * docs/html/install.html: Fix.
2440 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
2442 * include/bits/fstream.tcc
2443 (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
2445 * src/localename.cc (locale::_Impl::_M_install_facet): Same.
2447 * docs/html/install.html: Tweak, add bits about required locales
2448 for the 22_locale tests when using the gnu model.
2450 * testsuite/27_io/istream_sentry.cc: Tweak.
2452 2002-05-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2454 * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
2455 Fix typo, use this->is() rather than manually (and perhaps
2456 incorrectly) inlining it.
2457 * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
2459 * testsuite/22_locale/ctype_scan_char.cc: New file.
2461 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
2462 Jakub Jelinek <jakub@redhat.com>
2464 * testsuite/22_locale/money_get_members_char.cc
2465 (test01, test02, test04): Use the de_DE@euro named locale
2466 instead of de_DE to allow for an uniform behaviour with
2467 both old and Euro-era localedata; tweak some tests.
2468 * testsuite/22_locale/money_get_members_wchar_t.cc
2469 (test01, test02, test04): Likewise.
2470 * testsuite/22_locale/money_put_members_char.cc
2471 (test01, test02, test04): Likewise.
2472 * testsuite/22_locale/money_put_members_wchar_t.cc
2473 (test01, test02, test04): Likewise.
2475 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
2477 * testsuite/22_locale/codecvt_members_char_char.cc
2478 (test03): Robustify wrt localedata.
2479 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
2480 * testsuite/22_locale/collate_members_char.cc (test04): Likewise.
2481 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
2482 * testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
2483 * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
2484 * testsuite/22_locale/messages_members_char.cc (test03): Likewise.
2485 * testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
2486 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
2487 * testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
2488 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
2489 * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
2490 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
2491 * testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
2492 * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
2493 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
2494 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
2495 * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
2496 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
2497 * testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
2498 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
2499 * testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
2500 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
2502 2002-05-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2504 * config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
2507 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
2509 * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
2510 to 64 for hppa 64-bit port.
2511 (__glibcpp_long_double_bits): Define to 64 for all hppa ports.
2513 2002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2515 * acinclude.m4 (enable_symvers): Quote $LD.
2516 * aclocal.m4: Regenerate.
2517 * configure: Likewise.
2519 2002-05-09 Jakub Jelinek <jakub@redhat.com>
2521 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
2522 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
2525 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
2527 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
2528 script entry, and set LD to it when configuring multilibs.
2529 * configure: Rebuilt.
2531 2002-05-07 Mark Mitchell <mark@codesourcery.com>
2533 * configure.in: Add support for WindISS.
2534 * configure: Regenerated.
2535 * configure.target: Add support for WindISS.
2536 * config/os/windiss/bits/ctype_base.h: New file.
2537 * config/os/windiss/bits/ctype_inline.h: Likewise.
2538 * config/os/windiss/bits/ctype_noninline.h: Likewise.
2539 * config/os/windiss/bits/os_defines.h: Likewise.
2541 2002-05-06 Paolo Carlini <pcarlini@unitus.it>
2543 Test all the facets for the temporary "C" locale switch issue.
2544 * testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
2545 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
2546 * testsuite/22_locale/collate_members_char.cc: Add test04.
2547 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
2548 * testsuite/22_locale/ctype_members_char.cc: Add test05.
2549 * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
2550 * testsuite/22_locale/messages_members_char.cc: Add test03.
2551 * testsuite/22_locale/money_get_members_char.cc: Add test08.
2552 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
2553 * testsuite/22_locale/money_put_members_char.cc: Add test07.
2554 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
2555 * testsuite/22_locale/moneypunct_members_char.cc: Add test03.
2556 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
2557 * testsuite/22_locale/num_get_members_char.cc: Add test06.
2558 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
2559 * testsuite/22_locale/numpunct_members_char.cc: Add test03.
2560 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
2561 * testsuite/22_locale/time_get_members_char.cc: Add test08.
2562 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
2563 * testsuite/22_locale/time_put_members_char.cc: Add test04.
2564 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
2566 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
2567 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
2569 2002-05-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2571 * config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
2572 __EXTENSIONS__): Ensure they are always defined.
2574 2002-05-06 Phil Edwards <pme@gcc.gnu.org>
2576 * docs/html/documentation.html: Fix broken link.
2578 2002-05-04 Benjamin Kosnik <bkoz@redhat.com>
2579 Paolo Carlini <pcarlini@unitus.it>
2581 * testsuite/22_locale/num_put_members_char.cc: Add test04(),
2582 testing for the locale_facets.tcc entry of the previous commit.
2583 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
2585 2002-05-04 Takeshi Kobayakawa <tskoba@mte.biglobe.ne.jp>
2587 * config/locale/generic/c_locale.cc
2588 (__convert_to_v(float, double, long double)):
2589 Fix the temporary switch to the "C" locale, saving and
2590 restoring in the proper way the current locale.
2591 * config/locale/generic/time_members.cc
2592 (__timepunct<char, wchar_t>::_M_put): Likewise.
2593 * config/locale/gnu/messages_members.cc
2594 (messages<char>::do_get): Likewise.
2595 * config/locale/gnu/messages_members.h
2596 (messages<_CharT>::do_get): Likewise.
2597 * config/locale/gnu/time_members.cc
2598 (__timepunct<char, wchar_t>::_M_put): Likewise.
2599 * include/bits/locale_facets.tcc (__convert_from_v): Likewise.
2601 2002-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2603 * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
2604 * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
2606 * Makefile.in, config.h.in, configure: Regenerate.
2608 2002-05-03 Benjamin Kosnik <bkoz@redhat.com>
2611 * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
2612 * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
2614 2002-05-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2616 * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
2618 (ctype:_M_table): Initialize to classic_table(), not __ctype.
2620 2002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2622 * configure.in: Update local install.html, configopts.html paths.
2623 * configure: Regenerate.
2625 2002-05-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2627 * config/os/irix/irix5.2/bits/os_defines.h
2628 (__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
2630 * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
2633 2002-05-02 Phil Edwards <pme@gcc.gnu.org>
2635 * docs/html/faq/index.html: Update list in #4.1.
2636 * docs/html/faq/index.txt: Regenerated.
2638 2002-05-02 Benjamin Kosnik <bkoz@redhat.com>
2640 * docs/html/17_intro/RELEASE-NOTES (New): Update.
2642 2002-05-01 Phil Edwards <pme@gcc.gnu.org>
2644 * include/std/std_bitset.h: Fix doxygen comments.
2645 * docs/html/documentation.html: Minor tweaks for 3.1.
2646 * docs/html/27_io/howto.html: Likewise.
2647 * docs/html/ext/howto.html: Likewise, mention stdio_filebuf.
2648 * docs/html/faq/index.html: Likewise.
2649 * docs/html/faq/index.txt: Regenerated.
2651 2002-05-01 Benjamin Kosnik <bkoz@redhat.com>
2654 * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
2655 (istreambuf_iterator::equal): Use it.
2656 (istreambuf_iterator::operator*): Use it.
2658 2002-05-01 Paolo Carlini <pcarlini@unitus.it>
2661 * include/bits/stl_uninitialized.h
2662 (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
2663 Fix typo in 2001-07-17 commit: typedef _ValueType to
2664 iterator_traits<_ForwardIter> not <_InputIter>.
2665 * testsuite/23_containers/vector_ctor.cc: Add test04.
2667 2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
2670 * include/c_std/std_cctype.h: Include bits/c++config.h.
2671 * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
2673 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
2675 * include/ext/stdio_filebuf.h: New file.
2676 * include/ext/enc_filebuf.h: New file.
2677 * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
2678 * config/io/basic_file_stdio.cc: Same.
2679 * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
2680 Remove _M_unbuf hacks.
2681 (filebuf::_M_destroy_internal_buffer): Same.
2682 (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
2683 (filebuf::fd): Remove.
2684 * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
2685 (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
2686 (filebuf::fd): Remove.
2687 * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
2689 (ios_base::_S_ios_destroy): Same.
2690 * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
2691 * include/Makefile.am (ext_headers): Add ext_filebuf.h,
2692 stdio_filebuf.h. * include/Makefile.in: Regenerate.
2694 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
2697 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
2699 2002-04-29 Benjamin Kosnik <bkoz@redhat.com>
2702 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
2704 * include/bits/streambuf_iterator.h: Match stream_iterator.h.
2705 (istreambuf_iterator::operator++): Invalidate on eof.
2706 (istreambuf_iterator::operator++(int)): Same.
2707 (istreambuf_iterator::operator*): Same.
2709 2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2711 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
2712 of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
2715 2002-04-28 Benjamin Kosnik <bkoz@redhat.com>
2718 * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
2719 (__basic_file::sys_ungetc): Take int.
2720 * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
2721 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
2722 Use sys_getc for unbuffered input.
2723 * testsuite/27_io/narrow_stream_objects.cc (test06): New.
2725 * src/ios.cc (_M_grow_words): Adjust error checking.
2726 * testsuite/27_io/ios_base_storage.cc: Same.
2728 2002-04-28 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2730 * include/ext/stl_hashtable.h: Import __iterator_category
2732 2002-04-28 Paolo Carlini <pcarlini@unitus.it>
2733 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2735 * testsuite/ext/hash_set.cc: New testfile.
2737 2002-04-27 Benjamin Kosnik <bkoz@redhat.com>
2739 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
2741 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
2742 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
2744 2002-04-26 Paolo Carlini <pcarlini@unitus.it>
2746 * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
2747 Fix and tighten __throw_length_error check.
2748 * testsuite/21_strings/replace.cc (test05): New.
2749 * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
2751 2002-04-23 Loren J. Rittle <ljrittle@acm.org>
2753 * include/std/std_fstream.h (basic_filebuf::sync): Hoist
2754 unconditional flush on lower-layer handle to here...
2755 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
2756 ...from here. Optimize remaining _M_file.sync() call pattern.
2757 * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
2760 2002-04-23 Jason Merrill <jason@redhat.com>
2762 * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
2763 output-only filebufs.
2764 * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
2766 (basic_filebuf::_M_set_determinate): Likewise.
2769 * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
2770 value properly in the trivial case.
2771 * testsuite/27_io/istream_seeks.cc (test04): Make sure that
2772 tellg() returns the right value after a read.
2774 2002-04-23 Hans-Peter Nilsson <hp@bitrange.com>
2776 * config/cpu/mmix/bits/cpu_limits.h: New file.
2777 * configure.target (CPULIMITSH): Use it.
2779 2002-04-22 Loren J. Rittle <ljrittle@acm.org>
2781 * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
2782 * docs/html/17_intro/porting.html: Rebuilt.
2784 2002-04-20 Jason Merrill <jason@redhat.com>
2787 * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
2789 (basic_streambuf::_M_set_determinate): Likewise.
2790 (basic_streambuf::_M_is_indeterminate): Likewise.
2791 * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
2792 non-static data member.
2793 (basic_filebuf::_M_underflow_common): New non-static member function.
2794 (basic_filebuf::_M_underflow, _M_uflow): Call it.
2795 (basic_filebuf::sync): Avoid useless seeking.
2796 (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
2798 (basic_filebuf::_M_set_determinate): Likewise.
2799 (basic_filebuf::_M_is_indeterminate): Likewise.
2800 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
2801 back to _M_out_beg if necessary.
2802 (basic_filebuf::seekoff): Likewise.
2803 (basic_filebuf::_M_underflow_common): Generalization of old
2804 underflow(). Don't seek back to _M_in_beg.
2805 * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
2806 * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
2807 * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
2808 * config/os/mingw32/bits/os_defines.h: Likewise.
2809 * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
2812 2002-04-22 Benjamin Kosnik <bkoz@redhat.com>
2814 * include/bits/istream.tcc (istream::read): Fix.
2815 * testsuite/27_io/istream_unformatted.cc (main): Add.
2817 2002-04-20 Benjamin Kosnik <bkoz@redhat.com>
2820 * include/bits/istream.tcc (istream::ignore): Streamline, use
2822 * include/bits/streambuf.tcc: Use this->gptr.
2823 * testsuite/27_io/istream_unformatted.cc (test08): Add test.
2825 2002-04-18 Benjamin Kosnik <bkoz@redhat.com>
2827 * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
2828 as type safety is important, especially on solaris.
2829 * include/bits/istream.tcc (istream::read): Clean.
2830 (istream::readsome): Same.
2831 * locale.cc: Wrap lines.
2833 * testsuite/21_strings/inserters_extractors.cc: Tweaks.
2834 * testsuite/27_io/instantiations.cc (test): Add bool variable...
2835 * testsuite/21_strings/capacity.cc: Clean.
2837 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
2839 * docs/doxygen/doxygroups.cc: New group on binary searching.
2840 * include/bits/stl_algo.h: Document binary searches and merges.
2841 * include/bits/stl_deque.h: The 'map' member is not the 'map' class.
2843 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
2845 * docs/doxygen/mainpage.html: Doxygen logo is now a PNG file.
2846 * docs/doxygen/run_doxygen: Bump required version.
2847 * docs/doxygen/user.cfg.in: Revert accidental change.
2848 * docs/html/faq/index.html: Reindent a block of links.
2849 (4.4): New note on using dlsym.
2850 * docs/html/faq/index.txt: Regenerated.
2852 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
2854 * testsuite_flags.in (cxxflags): Also pass @EXTRA_CXX_FLAGS@.
2856 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
2858 * config/linker-map.gnu (__malloc_alloc_template): Add.
2859 (__default_alloc_template): Same.
2860 * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
2862 (__default_alloc_template): Same.
2864 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
2866 * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
2868 2002-04-16 Benjamin Kosnik <bkoz@redhat.com>
2870 * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
2871 * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
2872 (__malloc_alloc_template): Conditionalize.
2874 * include/bits/istream.tcc: Remove sputbackc calls.
2876 * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
2878 2002-04-16 Paolo Carlini <pcarlini@unitus.it>
2880 * testsuite/24_iterators/rel_ops.cc: New test.
2882 2002-04-16 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2884 * include/bits/type_traits.h (__normal_iterator): Declare in
2885 __gnu_cxx. Adjust use at global namespace.
2886 * include/bits/stl_iterator.h (__normal_iterator): Move definition
2887 into __gnu_cxx::. Add more operator overloads. Tidy existing ones.
2888 * include/bits/basic_string.h (basic_string): Adjust use of
2890 * include/bits/stl_vector.h (_Alloc>): Likewise.
2891 * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
2892 * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
2894 2002-04-15 Benjamin Kosnik <bkoz@redhat.com>
2898 * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
2900 (__basic_file::close): Call fflush. Correct return if fclose ok.
2901 (__basic_file::is_open): Make const.
2902 Change __c_file_type to __c_file.
2903 * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
2904 (__basic_file::is_open): Make const.
2905 * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
2906 * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
2907 (filebuf::_M_unbuf): Add.
2908 (filebuf::_M_file): Change to non-pointer.
2909 (filebuf::_M_allocate_pback_buffer): Remove.
2910 * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
2911 (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
2912 Change initialization list for _M_file change.
2913 (filebuf::_M_allocate_pback_buffer): Remove.
2914 Change _M_file usage to reflect non-pointer data member.
2916 * config/locale/generic/c_locale.cc
2917 (locale::facet::_S_create_c_locale): Add parameter.
2918 * config/locale/generic/collate_members.cc: Change
2919 _M_compare_helper to _M_compare.
2920 Change _M_transform_helper to _M_transform.
2921 * config/locale/generic/monetary_members.cc: Changeup data types.
2923 * config/locale/generic/numeric_members.cc: Add dtors.
2924 * config/locale/generic/time_members.cc: Add dtors.
2925 * config/locale/gnu/c_locale.cc: Add parameter.
2926 * config/locale/gnu/collate_members.cc:Change
2927 _M_compare_helper to _M_compare.
2928 Change _M_transform_helper to _M_transform.
2929 * config/locale/gnu/ctype_members.cc: Better error checking.
2930 * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
2931 * config/locale/gnu/messages_members.cc: Tweak comment.
2932 * config/locale/gnu/monetary_members.cc: Change data types.
2934 * config/locale/gnu/numeric_members.cc: Add dtors, better error
2936 * config/locale/gnu/time_members.cc: Same.
2937 * config/locale/ieee_1003.1-2001/c_locale.cc
2938 (locale::facet::_S_create_c_locale): Add parameter.
2939 * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
2940 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
2943 * include/bits/locale_facets.h (moneypunct): Use string literals.
2946 (__timepunct): Same.
2947 (locale::_Impl::_M_facets): Change from vector to array.
2948 (locale::_Impl::_M_names): Change from array of strings to array
2950 (locale::facet::_S_create_c_locale): Add parameter.
2951 (locale::locale::_S_num_facets): Move to...
2952 (locale::_Impl::_M_facets_size): Here.
2953 * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
2955 * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
2956 (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
2957 (locale::_Impl::_Impl(string, size_t)): Change to
2958 (locale::_Impl::_Impl(const char*, size_t)): This.
2960 * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
2961 * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
2962 (streambuf::_S_pback_size): This.
2964 * src/globals.cc: Add pre-allocations for "C" facets.
2965 * src/locale-inst.cc: Remove vector instantiations.
2966 * src/locale.cc: Remove vector include. Fixups for _M_names,
2968 * src/localename.cc: Same.
2970 * include/bits/stl_vector.h: Fix odd formatting.
2972 * include/bits/basic_string.tcc: Tweak comment.
2974 * libsupc++/new: Make sure parameters are uglified.
2975 * libsupc++/typeinfo: Same.
2977 * testsuite/22_locale/num_get_members_char.cc: Fixup.
2978 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
2979 * testsuite/27_io/filebuf_members.cc: Same.
2981 2002-04-12 Steve Ellcey <sje@cup.hp.com>
2983 * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
2984 (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
2985 does not define strtoll or strtoull, but does define strtol
2986 and strtoul which are the same since in 64 bit mode
2987 sizeof(long) == sizeof(long long).
2989 2002-04-12 Phil Edwards <pme@gcc.gnu.org>
2991 * include/std/std_bitset.h: Doxygenate std::bitset<>. Clean up
2992 trailing spaces, indentation, and macro names. Make exception
2993 messages more informative.
2995 2002-04-11 Richard Henderson <rth@redhat.com>
2997 * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
2998 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
2999 (basic_ostream<>::operator<<(long long)): Same.
3001 2002-04-11 Richard Henderson <rth@redhat.com>
3003 * config/linker-map.gnu: Add __gxx_personality_sj0.
3005 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
3008 * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
3010 Remove forward declaration of vector.
3012 * include/bits/locale_facets.tcc: Remove vector include.
3013 (use_locale): Adjust.
3014 (has_locale): Adjust.
3015 * src/locale.cc: Adjust.
3016 * src/localename.cc: Same.
3018 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
3019 Richard Henderson <rth@redhat.com>
3021 * include/bits/sstream.tcc: Clean up bit ops.
3022 * include/bits/fstream.tcc: Same.
3024 2002-04-09 Jakub Jelinek <jakub@redhat.com>
3026 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
3027 (__num_base::_S_scale_oct): Remove.
3028 * src/locale.cc (__num_base::_S_scale_hex): Remove.
3029 (__num_base::_S_scale_oct): Remove.
3031 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
3034 * testsuite/23_containers/bitset_members.cc: New test.
3035 * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
3036 (_S_bit_count): Here.
3037 (_First_one::_S_first_one): Move...
3038 (_S_first_one): Here.
3040 * src/bitset.cc: Adjust.
3041 * config/linker-map.gnu: Export.
3043 2002-04-08 Benjamin Kosnik <bkoz@redhat.com>
3046 * include/bits/fstream.tcc (filebuf::seekpos): Fix.
3047 * include/std/std_fstream.h: Clean.
3048 * include/bits/ostream.tcc: Remove extraneous variables.
3049 * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
3050 open modes and which modes.
3051 (stringbuf::seekpos): Same.
3052 * testsuite/27_io/stringbuf_virtuals.cc: New tests.
3054 2002-04-05 Jonathan Wakely <jw@kayari.org>
3056 * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
3057 random_shuffle, partition, stable_partition, sort, stable_sort,
3058 partial_sort, partial_sort_copy, nth_element): Doxygenate.
3060 2002-04-05 David S. Miller <davem@redhat.com>
3062 * config/os/gnu-linux/bits/os_defines.h
3063 (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
3065 2002-04-04 Benjamin Kosnik <bkoz@redhat.com>
3068 via gawrilow@math.tu-berlin.de
3069 * acinclude.m4 (version_specific_libs): Fix combo usage with
3070 --with-gxx-include-dir.
3071 * aclocal.m4: Regenerate.
3074 2002-04-03 Benjamin Kosnik <bkoz@redhat.com>
3076 As per DR 184, libstdc++/3139
3077 * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
3078 (numeric_limits<bool>::is_iec559): False.
3079 (numeric_limits<bool>::is_modulo): False.
3081 * testsuite/27_io/ios_init.cc: Add instantiations.
3083 2002-04-02 Benjamin Kosnik <bkoz@redhat.com>
3086 * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
3087 * testsuite/27_io/ios_init.cc (tests04): Add test.
3090 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
3091 (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
3092 * include/bits/basic_ios.tcc: Same. Remove outdated comments.
3093 * include/bits/istream.tcc: Use _M_fctype, make consistent with
3095 * testsuite/27_io/ios_init.cc (tests03): Add test.
3097 2002-04-02 Phil Edwards <pme@gcc.gnu.org>
3099 * include/Makefile.am (install-data-local): Use mkinstalldirs.
3100 * include/Makefile.in: Regenerate.
3102 2002-04-02 Paolo Carlini <pcarlini@unitus.it>
3103 Nathan Myers <ncm@cantrip.org>
3104 Philip Martin <philip@codematters.co.uk>
3106 * include/bits/basic_string.h
3107 (replace(i1, i2, _CharT* k1, _CharT* k2),
3108 replace(i2, i2, const _CharT* k1, const _CharT* k2),
3109 replace(i1, i2, iterator k1, iterator k2,
3110 replace(i1, i2, const_iterator k1, const_iterator k2):
3111 New specializations to optimize for the common cases of
3112 pointers and iterators.
3113 (replace(pos, n1, s, n2)): Tweak.
3114 * include/bits/basic_string.tcc: Tweak comments.
3115 * testsuite/21_strings/replace.cc (test04): New tests.
3117 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
3120 * acinclude: More extensive checks for msgfmt, --enable-nls.
3121 * aclocal.m4: Regenerate.
3122 * configure: Regenerate.
3124 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
3126 * libsupc++/exception (__verbose_terminate_handler): Point to docs.
3127 * docs/doxygen/doxygroups.cc: Doxygen hooks for abi::__cxa_demangle.
3128 * docs/html/18_support/howto.html: Document the demangler.
3129 * docs/html/17_intro/howto.html: And link to it.
3131 * docs/doxygen/mainpage.html: Describe user-vs-maintainer docs.
3132 * docs/doxygen/run_doxygen: Print user-vs-maintainer.
3134 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
3136 * config/linker-map.gnu: Export __verbose_terminate_handler.
3137 * libsupc++/Makefile.am (sources): Add cxa_demangle.c, dyn-string.c.
3138 Make new LTCOMPILE variable, use it in new special build rules.
3139 * libsupc++/Makefile.in: Rebuild.
3140 * src/vterminate.cc (__verbose_terminate_handler): Enable use of
3141 runtime __cxa_demangle.
3143 * docs/html/install.html: Update prereqs and instructions.
3144 * docs/html/19_diagnostics/howto.html: Bring naming for
3145 verbose_terminate_handler into line with reality.
3147 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
3150 * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
3151 (basic_ios::_M_streambuf_state): Move.
3152 * include/bits/ios_base (ios_base): To here.
3153 * include/bits/ios_base.h (ios_base::_S_local_words): To
3155 (ios_base::_M_word_array): To _M_local_word.
3156 (ios_base::_M_words_limit): To _M_word_size.
3157 (ios_base::_M_words): To _M_word.
3159 * include/bits/basic_ios.tcc: Adjust.
3160 * src/ios.cc (ios_base::_M_grow_words): Tweak.
3161 * testsuite/27_io/ios_base_storage.cc: Add tests.
3164 Kenny Simpson <theonetruekenny@yahoo.com>
3165 * include/bits/ios_base.h: Fix.
3167 Richard Henderson <rth@redhat.com>
3168 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
3171 * include/bits/basic_string.h: Tweak formatting.
3173 2002-04-01 Paolo Carlini <pcarlini@unitus.it>
3175 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
3176 (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
3177 By definition, sizeof(char) == 1.
3178 * include/bits/locale_facets.tcc (money_get::do_get,
3179 money_put::do_put): Ditto.
3180 * testsuite/21_strings/inserters_extractors.cc
3183 2002-03-30 Richard Henderson <rth@redhat.com>
3186 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
3187 data out of the exception struct before calling unexpectedHandler.
3189 2002-03-28 Roger Sayle <roger@eyesopen.com>
3191 * include/c_std/std_cmath.h: To prevent problems overloading
3192 g++ builtins, use the double variants from the global namespace
3193 before defining float and long double variants in std::.
3195 2002-03-28 Loren J. Rittle <ljrittle@acm.org>
3197 * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
3199 2002-03-28 Paolo Carlini <pcarlini@unitus.it>
3201 * testsuite/24_iterators/istream_iterator.cc
3202 (test02): New tests.
3204 2002-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3205 Paolo Carlini <pcarlini@unitus.it>
3207 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
3208 (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
3209 fix i_lit_base e_lit_base arrays, making them independent
3210 from the endianness of the platform; tweak UCS4 to UCS-4BE.
3212 2002-03-27 Benjamin Kosnik <bkoz@redhat.com>
3214 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
3215 allocate at least a byte.
3217 * testsuite/18_support/numeric_limits.cc (test_extrema): Make
3219 * testsuite/27_io/streambuf.cc (test07): Fix.
3222 2002-03-27 Phil Edwards <pme@gcc.gnu.org>
3224 * docs/doxygen/Intro.3: Date tweak.
3225 * docs/doxygen/TODO: Update.
3226 * docs/doxygen/doxygroups.cc: Point to tables.html.
3227 * docs/doxygen/mainpage.html: Date tweak.
3228 * docs/doxygen/run_doxygen: Version tweak. Copy tables.html over.
3229 * docs/doxygen/tables.html: Fill in the blanks.
3231 * docs/doxygen/user.cfg.in (ALIASES): Remove maint and endmaint.
3232 * include/bits/stl_algo.h: Likewise; use expanded form.
3233 * include/bits/stl_alloc.h: Likewise.
3234 * include/bits/stl_construct.h: Likewise.
3235 * include/bits/stl_deque.h: Likewise.
3236 * include/bits/stl_iterator_base_types.h: Likewise.
3237 * include/bits/stl_list.h: Likewise.
3238 * include/bits/stl_relops.h: Likewise.
3239 * include/bits/stl_tempbuf.h: Likewise.
3240 * include/bits/stl_vector.h: Likewise.
3241 * include/std/std_memory.h: Likewise.
3243 * include/bits/stl_deque.h: Point into tables.html and add @ingroup.
3244 * include/bits/stl_list.h: Likewise.
3245 * include/bits/stl_vector.h: Likewise.
3247 2002-03-26 Benjamin Kosnik <bkoz@redhat.com>
3249 * include/c/: Guard with _CPP_.
3250 * include/c_std/: Same.
3251 * include/Makefile.am: Fixup install, link routines for null
3252 c_base_headers_extra scenarios.
3253 * include/Makefile.in: Regerate.
3255 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
3256 Richard Henderson <rth@redhat.com>
3258 * testsuite/22_locale/codecvt_members_unicode_char.cc
3259 (test01, test02): make sure that the i_lit_base array
3260 is sufficiently aligned.
3262 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
3264 * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
3267 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
3269 * testsuite/22_locale/collate_byname.cc
3270 (test01): compare the result of collate::compare with
3271 that of collate::transform + string::compare, not with
3272 that of collate::transform + collate::compare; values
3273 returned by collate::compare are normalized, therefore
3276 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
3277 Jakub Jelinek <jakub@redhat.com>
3279 * config/locale/gnu/messages_members.h: Correct conditional.
3280 * config/locale/gnu/messages_members.cc: Same.
3281 * config/locale/gnu/time_members.cc: Same.
3283 2002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3284 Paolo Carlini <pcarlini@unitus.it>
3286 * testsuite/22_locale/codecvt_members_unicode_char.cc
3287 (test01, test02): Fix i_lit_base arrays, making them
3288 independent from the endianness of the platform.
3290 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
3292 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
3293 signbit and __signbit directly.
3294 * aclocal.m4: Regenerate.
3295 * configure: Regenerate.
3296 * config.h.in: Regenerate.
3297 * libmath/Makefile.am: Simplify.
3298 * libmath/Makefile.in: Regenerate.
3299 * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
3301 * include/Makefile.am: Clean up handling of extra "C" header files.
3302 Add hooks for "C" compatibility headers.
3303 * include/Makefile.in: Regenerate.
3305 * include/c/*: Formatting tweaks, cleanups.
3306 * include/c_std/*: Same.
3308 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
3310 * config/locale/gnu/messages_members.h: Add __uselocale bits.
3311 * config/locale/gnu/messages_members.cc: Same.
3312 * config/locale/gnu/time_members.cc: Same.
3314 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
3316 * src/vterminate.cc: Format, -fno-exceptions cleanup.
3318 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3320 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
3321 (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
3322 * aclocal.m4: Regenerate.
3323 * configure: Likewise.
3325 2002-03-19 Paolo Carlini <pcarlini@unitus.it>
3326 Ulrich Drepper <drepper@redhat.com>
3328 * src/locale-inst.cc (__convert_from_v): Add an additional
3329 __size parameter in the declarations.
3330 * include/bits/locale_facets.tcc
3331 (__convert_from_v): When available (that is,
3332 _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
3333 (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
3334 being defined or not, call and use __convert_from_v in the
3336 (num_put::_M_convert_int): Same here.
3337 (money_put::do_put(long double)): Same here.
3339 2002-03-19 Phil Edwards <pme@gcc.gnu.org>
3341 * docs/html/faq/index.html (#3.6): Rewrap and close <a href> tags.
3342 * docs/html/faq/index.txt: Regenerate.
3344 2002-03-19 Steve Ellcey <sje@cup.hp.com>
3346 * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
3347 GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
3348 --enable-libunwind-exceptions is set.
3349 * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
3350 macro to check for libunwind.
3351 * configure: Regenerate.
3352 * src/Makefile.am (libstdc___la_LDFLAGS): Add
3353 LIBUNWIND_FLAG to libstdc link line.
3354 * src/Makefile.in: Regenerate.
3356 2002-03-19 Benjamin Kosnik <bkoz@redhat.com>
3358 * docs/html/faq/index.html: Add OS X workaround.
3359 * docs/html/17_intro/TODO: Update.
3361 2002-03-18 Paolo Carlini <pcarlini@unitus.it>
3363 * include/bits/locale_facets.tcc
3364 (money_put::do_put(long double)): Fix dimensioning of
3365 temporary buffers to avoid risk of overruns.
3366 (money_put::do_put(string)): Same for the buffer used to
3367 add the grouping chars.
3368 * testsuite/22_locale/money_put_members_char.cc: Add test06.
3369 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
3371 * include/bits/locale_facets.tcc
3372 (collate::do_transform): Simplify.
3374 2002-03-18 Phil Edwards <pme@gcc.gnu.org>
3376 * acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform.
3377 * configure.in: Add comments pointing the way for autoconf 2.5x.
3378 * aclocal.m4, config.h.in, configure: Regenerate.
3380 2002-03-18 Philipp Thomas <pthomas@suse.de>
3382 * include/backward/hash_map.h: hash, hashtable, hash_map and
3383 hash_multimap are in namespace __gnu_cxx.
3384 include/backward/hash_set.h: hash, hashtable, hash_set and
3385 hash_multiset are in namespace __gnu_cxx.
3386 include/backward/hashtable.h: hash and hashtable are in
3387 namespace __gnu_cxx.
3388 include/backward/rope.h: char_producer, sequence_buffer,
3389 rope, crope and wrope are in namespace __gnu_cxx.
3390 include/backward/slist.h: slist is in namespace __gnu_cxx.
3391 * testsuite/backward/header_hash_map_h.cc
3392 testsuite/backward/header_hash_set_h.cc
3393 testsuite/backward/header_hashtable_h.cc
3394 testsuite/backward/header_rope_h.cc
3395 testsuite/backward/header_slist_h.cc
3396 testsuite/backward/header_tempbuf_h.cc: New tests for
3397 checking that we're using the correct namespace.
3399 2002-03-17 Jason Merrill <jason@redhat.com>
3402 * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
3403 (check_exception_spec): Call it. Take the thrown pointer.
3404 (__cxa_call_unexpected): Pass it.
3405 (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr.
3407 2002-03-15 Anthony Green <green@redhat.com>
3409 * configure.in: Remove useless is_mingw32.
3410 * configure: Rebuilt.
3412 2002-03-15 Paolo Carlini <pcarlini@unitus.it>
3414 * testsuite/22_locale/collate_members_char.cc
3415 (test01): compare the result of collate::compare with
3416 that of collate::transform + string::compare, not with
3417 that of collate::transform + collate::compare.
3418 (test01): values returned by collate::compare are
3419 normalized, therefore test against +-1.
3420 * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
3422 2002-03-12 Loren Rittle <ljrittle@acm.org>
3424 reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3425 * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
3427 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
3428 Per Liboriussen <liborius@stofanet.dk>
3430 * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
3432 * config/os/gnu-linux/bits/ctype_inline.h: Same.
3434 * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
3436 * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
3437 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3439 * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
3440 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3442 * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
3443 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3445 * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
3447 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
3449 * include/bits/basic_string.tcc (string::_S_construct(_InIter,
3450 _InIter, const _Alloc&, forward_iterator_tag): Check for null.
3451 (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
3452 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
3453 that memory limits are in place.
3454 (test03): Add tests.
3456 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
3458 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
3459 * aclocal.m4: Regenerate.
3460 * config.h.in: Regenerate.
3461 * configure: Regenerate.
3462 * include/c_std/std_cwctype.h: Guard.
3464 2002-03-11 Chris Demetriou <cgd@broadcom.com>
3466 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
3467 whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
3468 * aclocal.m4: Regenerate.
3469 * configure: Regenerate.
3471 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
3473 * include/bits/stl_bvector.h: Fix warning.
3475 2002-03-11 Richard Henderson <rth@redhat.com>
3477 * include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
3479 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
3481 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
3482 New function. Build the list of tests to run in testsuite_files.
3483 * testsuite/libstdc++-v3.dg/dg.exp: Use it.
3485 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
3487 * testsuite/21_strings/capacity.cc: Only explicitly instantiate on
3488 platforms with no weak support.
3489 * testsuite/27_io/ios_init.cc: Likewise.
3491 2002-03-10 Paolo Carlini <pcarlini@unitus.it>
3493 * include/bits/locale_facets.tcc (time_put::do_put):
3494 Consider sizeof(char_type) in allocating the buffer.
3496 * include/bits/locale_facets.tcc (collate::do_tranform):
3497 Remove redundant variable.
3499 2002-03-10 Ulrich Drepper <drepper@redhat.com>
3500 Paolo Carlini <pcarlini@unitus.it>
3502 * config/locale/generic/collate_members.cc
3503 (collate<char,wchar_t>::_M_compare_helper): normalize
3504 values returned by strcoll and wcscoll.
3505 * config/locale/gnu/collate_members.cc
3506 (collate<char,wchar_t>::_M_compare_helper): ditto
3507 for __strcoll_l and __wcscoll_l.
3509 2002-03-10 Anthony Green <green@redhat.com>
3511 * configure.in: Support cross builds to mingw32 target.
3512 * configure: Rebuilt.
3514 2002-03-09 Paolo Carlini <pcarlini@unitus.it>
3516 * include/bits/locale_facets.tcc (collate::do_transform):
3517 Rewrite to fix problems with long transformed strings.
3519 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
3521 * c_locale_generic.cc: Move to...
3522 * generic/c_locale.cc
3523 * c_locale_generic.h: Move to...
3524 * generic/c_locale.h
3525 * codecvt_specializations_generic.h: Move to...
3526 * generic/codecvt_specializations.h
3527 * collate_members_generic.cc: Move to...
3528 * generic/collate_members.cc
3529 * ctype_members_generic.cc: Move to...
3530 * generic/ctype_members.cc
3531 * messages_members_generic.cc: Move to...
3532 * generic/messages_members.cc
3533 * messages_members_generic.h: Move to...
3534 * generic/messages_members.h
3535 * moneypunct_members_generic.cc: Move to...
3536 * generic/monetary_members.cc
3537 * numpunct_members_generic.cc: Move to...
3538 * generic/numeric_members.cc
3539 * time_members_generic.cc: Move to...
3540 * generic/time_members.cc
3541 * c_locale_gnu.cc: Move to...
3543 * c_locale_gnu.h: Move to...
3545 * collate_members_gnu.cc: Move to...
3546 * gnu/collate_members.cc
3547 * ctype_members_gnu.cc: Move to...
3548 * gnu/ctype_members.cc
3549 * messages_members_gnu.cc: Move to...
3550 * gnu/messages_members.cc
3551 * messages_members_gnu.h: Move to...
3552 * gnu/messages_members.h
3553 * moneypunct_members_gnu.cc: Move to...
3554 * gnu/monetary_members.cc
3555 * numpunct_members_gnu.cc: Move to...
3556 * gnu/numeric_members.cc
3557 * time_members_gnu.cc: Move to...
3558 * gnu/time_members.cc
3559 * c_locale_ieee_1003.1-200x.cc: Move to...
3560 * ieee_1003.1-2001/c_locale.cc
3561 * c_locale_ieee_1003.1-200x.h: Move to...
3562 * ieee_1003.1-2001/c_locale.h
3563 * codecvt_specializations_ieee_1003.1-200x.h: Move to...
3564 * ieee_1003.1-2001/codecvt_specializations.h
3565 * messages_members_ieee_1003.1-200x.cc: Move to...
3566 * ieee_1003.1-2001/messages_members.cc
3567 * messages_members_ieee_1003.1-200x.h: Move to...
3568 * ieee_1003.1-2001/messages_members.h
3570 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
3571 * aclocal.m4: Regenerate.
3572 * configure: Regenerate.
3573 * src/Makefile.am (sources): Change to monetary and numeric.
3574 * src/Makefile.in: Regenerate.
3575 * docs/html/configopts.html: Update to ieee_1003.1-2001.
3577 2002-03-08 scott snyder <snyder@fnal.gov>
3580 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
3581 Allow one more digit of precision.
3582 * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
3583 write a double and read back in the same value.
3585 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
3587 * include/std/std_limits.h: Move static const data members out of
3588 generic template, into base class __numeric_limits_base.
3589 * src/limits.cc: Add definitions.
3590 * config/linker-map.gnu: Add __numeric_limits_base.
3591 * testsuite/18_support/numeric_limits.cc: Declare test in scope.
3593 2002-03-07 Benjamin Kosnik <bkoz@redhat.com>
3595 * include/bits/stl_alloc.h: Add extern implicit allocator
3597 * include/bits/basic_string.tcc: Tweak.
3598 * include/bits/locale_facets.tcc: Remove default args. Add
3599 has_facet, use_facet extern instantiations.
3600 * src/stl-inst.cc: Add explicit instantiation.
3601 * src/locale-inst.cc: Clean. Remove locale member template
3604 * testsuite/22_locale/operators.cc (test02): Enable.
3606 2002-03-06 Benjamin Kosnik <bkoz@redhat.com>
3607 Stephen M. Webb <stephen.webb@bregmasoft.com>
3609 * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
3610 (_S_rb_tree_black): Make enum.
3612 * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
3613 * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
3614 (__stl_threshold): _M_threshold, enum.
3615 * src/stl-inst.cc: Same.
3616 * config/linker-map.gnu: Remove.
3618 * testsuite/23_containers/vector_bool.cc: New.
3620 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
3622 * docs/doxygen/user.cfg.in: Also document deprecated entries.
3623 * docs/html/Makefile: Example rule to rebuild porting-howto.html.
3624 * docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when
3625 referring to the collection as a whole. New section on which macros
3626 can be redefined by the user.
3627 * docs/html/19_diagnostics/howto.html: Update note for concepts.
3628 * docs/html/20_util/howto.html: Update link to SGI.
3629 * docs/html/faq/index.html: Update snapshot versions. New entry
3630 on why g++ (but not gcc) must currently predefine certain macros.
3631 * docs/html/faq/index.txt: Regenerated.
3633 * include/bits/basic_string.h (basic_string::_S_construct): Fix
3634 names in declaration.
3635 (basic_string::compare): These are no longer optional.
3636 * include/bits/ostream.tcc: Tweak closing brace placement.
3637 * include/bits/stl_algo.h: Lots of initial doxygen comment hooks.
3638 * include/std/std_sstream.h: Fix typo in comment.
3639 * include/bits/locale_facets.tcc: Remove unneeded header inclusion.
3640 * src/locale.cc: Likewise.
3642 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
3645 * include/bits/stl_vector.h (vector::push_back()): Guard with
3646 _GLIBCPP_DEPRECATED.
3648 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
3650 * include/bits/c++config: Fix misplaced leading blanks on first line.
3652 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
3654 * docs/html/17_intro/RELEASE-NOTES: Fix usage.
3655 * README (libmath): Make clear.
3657 2002-03-05 Jakub Jelinek <jakub@redhat.com>
3659 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
3660 script globbing in ld.
3661 * aclocal.m4: Rebuilt.
3662 * configure: Rebuilt.
3664 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
3666 * docs/html/17_intro/RELEASE-NOTES: Update.
3667 * README: Format subdirectories.
3669 2002-03-05 Paolo Carlini <pcarlini@unitus.it>
3672 * include/bits/locale_facets.tcc
3673 (num_get::_M_extract_float): Fix the parsing of __dec, since
3674 the standard prescribes that if no grouping characters are
3675 seen, no grouping check is applied.
3676 * testsuite/22_locale/num_get_members_char.cc: Add test05
3677 distilled from the PR.
3678 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
3680 2002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
3682 * docs/html/17_intro/porting-howto.xml: Refer to
3683 http://www.oasis-open.org for docbookx.dtd.
3684 * docs/html/17_intro/porting-howto.html: Regenerated.
3686 2002-03-03 Phil Edwards <pme@gcc.gnu.org>
3689 * include/std/std_sstream.h: Remove trailing spaces.
3690 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
3691 * testsuite/27_io/stringbuf.cc (test05, test06): New tests.
3693 2002-03-02 Paolo Carlini <pcarlini@unitus.it>
3695 * testsuite/22_locale/num_get_members_char.cc (test04):
3696 Use a named locale expecting grouping (de_DE).
3697 * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
3699 * testsuite/27_io/ios_manip_basefield.cc (test01):
3700 Extend coverage, uniform treatment of hexs and octs.
3702 2002-02-28 Richard Henderson <rth@redhat.com>
3704 * config/linker-map.gnu: Export operator new with unsigned long,
3705 and with std::nothrow_t. Likewise operator delete.
3707 2002-02-28 Paolo Carlini <pcarlini@unitus.it>
3709 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
3710 Admit grouping for octals and hexadecimals too.
3711 * testsuite/22_locale/num_get_members_char.cc: Add test04.
3712 (test01): Tweak "." -> "," in void* test.
3713 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
3715 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
3716 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
3718 2002-02-27 Paolo Carlini <pcarlini@unitus.it>
3720 * testsuite/27_io/ios_manip_basefield.cc (test01):
3721 Fix for 64 bit machines.
3723 2002-02-26 Benjamin Kosnik <bkoz@redhat.com>
3726 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
3728 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
3729 (basic_ios::_M_fill_init): New.
3730 (basic_ios::fill()): Delay dealing with _M_fill.
3732 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
3733 (ios_base::_M_call_callbacks): Adjust.
3734 * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
3736 2002-02-26 Loren Rittle <ljrittle@acm.org>
3738 * include/Makefile.am (thread_target_headers): Unconditionally
3739 stage and install gthr-posix.h.
3740 (${target_builddir}/gthr-posix.h): New rule cloned off
3741 ${target_builddir}/gthr-default.h.
3742 (${target_builddir}/gthr-default.h): Support chained inclusion
3743 of gthr support headers.
3744 * include/Makefile.in: Rebuilt.
3746 2002-02-26 Paolo Carlini <pcarlini@unitus.it>
3748 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
3749 Group all the integral types, not only decs.
3750 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
3751 tests, add a few more.
3753 2002-02-25 Benjamin Kosnik <bkoz@redhat.com>
3755 * src/ios.cc (ios_base::~ios_base): Tweak.
3756 (ios_base::_M_call_callbacks): Deal with null __p.
3757 (ios_base::ios_base): Set _M_callbacks.
3758 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
3759 * testsuite/27_io/ios_init.cc (test02): Fix.
3761 * mkcheck.in (static_fail): Failed links go to output file.
3763 2002-02-25 Phil Edwards <pme@gcc.gnu.org>
3765 * docs/html/faq/index.html: Update.
3766 * docs/html/faq/index.txt: Regenerate.
3768 2002-02-22 Phil Edwards <pme@gcc.gnu.org>
3770 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
3771 * aclocal.m4: Regenerate.
3772 * docs/html/configopts.html: Document --enable-symvers.
3773 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag.
3775 2002-02-22 Philipp Thomas <pthomas@suse.de>
3777 * include/backward/tempbuf.h: get_temporary_buffer and
3778 return_temporary_buffer are in namespace std, not in __gnu_cxx.
3780 2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
3782 * configure.in (target_alias): Default to yes.
3783 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
3784 libgcc to default case.
3786 2002-02-20 Phil Edwards <pme@gcc.gnu.org>
3788 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
3789 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
3790 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
3791 * aclocal.m4: Regenerate.
3792 * configure: Regenerate.
3793 * config/linker-map.dummy: New file. Contains nothing useful.
3795 2002-02-20 Benjamin Kosnik <bkoz@redhat.com>
3797 * testsuite/22_locale/money_put_members_char.cc: Fix.
3798 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
3800 * testsuite/27_io/standard_manipulators.cc: New file.
3802 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
3803 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
3805 2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
3807 * config/os/mingw32/bits/ctype_noninline.h
3808 (ctype<char>::ctype): Remove default args from parm list.
3809 * config/os/djgpp/bits/ctype_noninline.h: Same.
3811 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
3813 * include/std/std_iomanip.h: Inline, tweaks.
3814 * config/linker-map.gnu: Remove hacks.
3816 * testsuite/21_strings/capacity.cc: Add explicit instantiations.
3817 * testsuite/27_io/ios_init.cc: Same.
3818 * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
3819 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
3821 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
3823 * config/linker-map.gnu: Export global vtable, typeinfo, guard
3824 variable, and thunk info as per CXXABI docs.
3826 2002-02-19 Loren Rittle <ljrittle@acm.org>
3828 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
3829 * include/Makefile.in: Rebuilt.
3831 2002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3833 * testsuite/22_locale/collate_byname.cc (test01): Replace size4
3834 with size3 for the string collations of str5.
3836 2002-02-18 Paolo Carlini <pcarlini@unitus.it>
3839 * include/bits/locale_facets.tcc (money_put::do_put):
3840 For the space field use __fill instead of ' ', uniformly.
3841 * testsuite/22_locale/money_put_members_char.cc:
3842 Add test05 distilled from PR.
3843 (test01-02-03): Trim some '*' to ' '.
3844 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
3846 2002-02-18 Loren Rittle <ljrittle@acm.org>
3849 * include/Makefile.am (thread_builddir): Remove (map all
3850 existing uses to target_builddir).
3851 (thread_headers): Rename to...
3852 (thread_target_headers): ...this.
3853 (stamp-thread): Remove.
3854 (stamp-target): Correctly state the position as built.
3855 Update all dependencies to match the new reality. Remove all
3856 dependency calculations on directories.
3857 * include/Makefile.in: Rebuilt.
3859 2002-02-16 Benjamin Kosnik <bkoz@redhat.com>
3861 * include/bits/locale_facets.tcc: Add pragma GCC system_header.
3862 * include/bits/fstream.tcc: Same.
3863 * include/bits/sstream.tcc: Same.
3864 * include/bits/ostream.tcc: Same.
3865 * include/bits/istream.tcc: Same.
3866 * include/bits/streambuf.tcc: Same.
3867 * include/bits/basic_ios.tcc: Same.
3868 * include/bits/basic_string.tcc: Same.
3870 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
3872 * include/std/std_iosfwd.h: Don't guard typedefs with
3873 _GLIBCPP_USE_WCHAR_T
3874 * include/bits/stringfwd.h: Same.
3876 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
3878 * src/locale.cc (moneypunct_byname): Remove definitions.
3879 * include/std/std_streambuf.h (streambuf::operator=): Return.
3881 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
3884 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
3885 explicit instantiation.
3886 (string::_Rep::_S_max_size): Same.
3887 * include/bits/basic_string.tcc: Add extern explicit
3888 instantiations for string, wstring.
3889 * include/bits/basic_ios.tcc: Add extern explicit instantiations
3891 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
3892 * include/bits/istream.tcc: Same, for istream, wistream.
3893 * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
3895 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
3896 istringstream, wistringstream, ostringstream, wostringstream,
3897 stringstream, wstringstream.
3898 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
3899 wifstream, ofstream, wofstream, fstream, wfstream.
3900 * src/misc-inst.cc: Correct comments.
3901 Add iomanip instantiations for wide streams.
3902 * include/std/std_iomanip.h: Same.
3903 * include/bits/locale_facets.tcc: Same.
3905 * include/std/std_streambuf.h: Correct
3906 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
3907 * include/std/std_sstream.h: Same.
3908 * include/std/std_ostream.h: Same.
3909 * include/std/std_istream.h: Same.
3910 * include/std/std_fstream.h: Same.
3912 * include/std/std_streambuf.h: Add definitions for private copy
3913 ctor and assignment operator.
3914 * include/std/std_istream.h: Remove declared but undefined copy
3915 ctor and assignment operator. This is taken care of in ios_base,
3916 so adding it in the derived class as well is superfluous.
3917 * include/std/std_ostream.h: Same.
3919 * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
3920 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
3922 2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
3924 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
3925 Add typeinfo bits. Smooth.
3926 * aclocal.m4: Regenerate.
3928 * src/Makefile.in: Same.
3930 2001-02-14 Joel Sherrill <joel@OARcorp.com>
3932 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
3933 which do not have a CAS instruction.
3935 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
3937 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
3938 * configure.in: Call it.
3939 * config/linker-map.gnu: New file, initial incomplete revision.
3940 * src/Makefile.am: Optionally pass version script to the linker.
3941 * aclocal.m4: Regenerate.
3942 * configure: Regenerate.
3943 * src/Makefile.in: Regenerate.
3945 2002-02-13 Benjamin Kosnik <bkoz@redhat.com>
3947 * src/localename.cc: Remove stdexcept include.
3948 * src/locale-inst.cc: Same.
3949 * src/locale.cc: Same.
3950 * src/functexcept.cc: Remove string includes.
3951 * include/std/std_bitset.h: Remove stdexcept include.
3952 * testsuite/23_containers/bitset_members.cc: Add stdexcept.
3953 * testsuite/23_containers/bitset_ctor.cc: Same.
3955 2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
3957 * include/bits/stl_algo (__stl_threshold): Declare external.
3958 (__stl_chunk_size): Same.
3959 * include/bits/stl_bvector.h (__WORD_BIT): Same.
3960 * include/bits/stl_tree.h (_S_rb_tree_red): Same.
3961 (_S_rb_tree_black): Same.
3962 * src/stl-inst.cc (__stl_threshold): Define.
3963 (__stl_chunk_size): Same.
3965 (_S_rb_tree_red): Same.
3966 (_S_rb_tree_black): Same.
3968 * config/io/basic_file_libio.h (__basic_file): Add declarations.
3969 * include/bits/basic_file.h: Remove.
3970 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
3971 Declare generic types, specialization.
3972 * config/io/basic_file_stdio.cc: Definitions.
3973 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
3974 Declare generic types.
3975 * include/Makefile.am (bits_headers): Remove basic_file.h.
3976 (extra_target_headers): Change basic_file_model.h to basic_file.h.
3977 (stamp-target): Same.
3979 * include/bits/stl_alloc.h: Tweaks.
3980 * include/bits/localefwd.h: Same.
3982 2002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
3984 * include/bits/locale_facets.tcc (collate::do_hash): Fix.
3985 * testsuite/22_locale/collate_members_char.cc (test03): New test.
3986 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
3988 2002-02-10 Phil Edwards <pme@gcc.gnu.org>
3990 * include/bits/stl_algo.h (transform (both signatures), generate_n):
3991 Use __typeof__ in concept checks.
3993 2002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
3995 * include/bits/stl_algo.h (__median, for_each, find, find_if,
3996 adjacent_find, count, count_if, search, search_n, swap_ranges,
3997 transform, replace, replace_if, replace_copy, replace_copy_if,
3998 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
3999 unique, unique_copy, reverse, reverse_copy): Doxygenate.
4001 2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
4003 * include/bits/locale_facets.h
4004 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
4005 (__timepunct<_CharT>::_M_initialize_timepunct): Same.
4006 (__timepunct<_CharT>::_M_put_helper): Same.
4007 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
4009 * include/bits/fstream.tcc (filebuf::underflow): Remove
4010 __codecvt_type typedef.
4011 (filebuf::_M_convert_to_external): Same.
4013 2002-02-08 Phil Edwards <pme@gcc.gnu.org>
4015 * docs/doxygen/TODO: Update.
4016 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
4017 * docs/doxygen/mainpage.html: Add TODO list link.
4018 * docs/doxygen/user.cfg.in: Add @doctodo hook.
4019 * docs/doxygen/tables.html: New file, emoty structure only.
4021 * include/bits/stl_iterator.h: Doxygenate just about everything.
4022 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
4023 * include/bits/stl_iterator_base_types.h: Add notes.
4025 2002-02-07 Stephan Buys <sbproxy@icon.co.za>
4027 * include/bits/stl_map.h: Tweak doxygen markup.
4028 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
4029 * include/bits/stl_vector.h: Likewise.
4031 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
4035 * include/std/std_fstream.h (filebuf::__file_type): Change to
4037 (filebuf::_M_convert_to_external): Declare.
4038 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
4039 codecvt bits for wide streams.
4040 (filebuf::_M_really_overflow): Use it.
4041 (filebuf::underflow): Use codecvt.
4042 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
4043 (codecvt<__enc_traits>::do_out): Deal with partial.
4044 (codecvt<__enc_traits>::do_encoding): Return something useful.
4045 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
4047 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
4048 Change expected encoding output.
4050 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
4053 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
4054 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
4056 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
4057 (basic_ios::widen): Same.
4059 2002-02-07 Paolo Carlini <pcarlini@unitus.it>
4061 * testsuite/22_locale/money_get_members_char.cc:
4062 Add comment, tidy up.
4063 (test01): more "en_HK" tests (without showbase).
4064 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
4066 2002-02-06 Loren Rittle <ljrittle@acm.org>
4068 * config/locale/c_locale_generic.cc: Do not trust
4069 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
4072 2002-02-06 Loren Rittle <ljrittle@acm.org>
4074 * acinclude.m4: Add C++ linkage check for strtof.
4075 * aclocal.m4: Rebuilt.
4076 * config.h.in: Rebuilt.
4077 * configure: Rebuilt.
4078 * config/locale/c_locale_generic.cc: Conditionally include
4079 <ieeefp.h>. Improve handling and error checking of float
4080 and long double input for non-C99 configurations.
4082 2002-02-06 Paolo Carlini <pcarlini@unitus.it>
4084 * include/bits/locale_facets.tcc (money_get::do_get(string)):
4085 In case money_base::symbol deal properly with multi-char sign
4086 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
4087 * testsuite/22_locale/money_get_members_char.cc: Add test07.
4088 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
4090 2002-02-05 Paolo Carlini <pcarlini@unitus.it>
4092 * include/bits/locale_facets.tcc (money_get::do_get(string)):
4093 First construct a tentative returned string, then, only if the
4094 parsing succeeds, copy it into the string passed by reference.
4095 * testsuite/22_locale/money_get_members_char.cc: Add test06.
4096 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
4098 2002-02-04 Phil Edwards <pme@gcc.gnu.org>
4100 * docs/doxygen/TODO: Impl-defined behavior now documented...
4101 * docs/html/17_intro/howto.html: ...here.
4102 * docs/doxygen/mainpage.doxy: Remove, rename...
4103 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
4104 * docs/doxygen/style.css: Add small text.
4105 * docs/doxygen/run_doxygen: Adjust for new mainpage.
4106 * docs/doxygen/user.cfg.in: Likewise.
4108 2002-02-04 Stephan Buys <sbproxy@icon.co.za>
4110 * include/bits/stl_map.h: Initial doxygen markup.
4111 * include/std/std_fstream.h: Initial doxygen markup.
4113 2002-02-04 Paolo Carlini <pcarlini@unitus.it>
4116 * include/bits/locale_facets.tcc (money_get::do_get(string)):
4117 Deal correctly with !(__io.flags() & ios_base::showbase)
4118 for case money_base::symbol.
4119 * testsuite/22_locale/money_get_members_char.cc: Add test05.
4120 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
4122 2002-02-02 Paolo Carlini <pcarlini@unitus.it>
4124 * testsuite/22_locale/operators.cc
4125 (gnu_collate::do_compare()): Add return statement to
4126 suppress "no return statement" warning.
4128 2002-02-01 Paolo Carlini <pcarlini@unitus.it>
4130 * testsuite/27_io/ostream_manip.cc: Enable test02.
4132 2002-02-01 Phil Edwards <pme@gcc.gnu.org>
4134 * docs/html/documentation.html: Update for 3.0.96.
4135 * docs/html/faq/index.html: Update for 3.0.96.
4136 * docs/html/faq/index.txt: Regenerated.
4137 * docs/doxygen/TODO: Update notes.
4138 * docs/html/17_intro/howto.html: Initial impl-specific listing.
4140 2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
4142 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
4143 Initialize all data members in copy ctor. Make ctors explicit.
4144 (__enc_traits::__enc_traits()): Default ctor does nothing.
4145 (__enc_traits::_M_init): Guard against multiple iconv_opens.
4146 * include/std/std_sstream.h (basic_stringbuf): Make data members
4148 * include/std/std_fstream.h (basic_filebuf): Same.
4149 * include/std/std_streambuf.h: Tweak.
4150 * include/bits/streambuf.tcc: Same.
4151 * include/bits/sstream.tcc: Same.
4152 * include/bits/fstream.tcc: Same.
4154 2002-01-31 Loren Rittle <ljrittle@acm.org>
4156 * testsuite/22_locale/codecvt_members_char_char.cc: Do not
4157 allow NULL argument to be passed to setenv().
4158 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
4159 * testsuite/22_locale/collate_members_char.cc: Likewise.
4160 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
4161 * testsuite/22_locale/ctype_members_char.cc: Likewise.
4162 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
4163 * testsuite/22_locale/messages_members_char.cc: Likewise.
4164 * testsuite/22_locale/money_get_members_char.cc: Likewise.
4165 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
4166 * testsuite/22_locale/money_put_members_char.cc: Likewise.
4167 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
4168 * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
4169 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
4170 * testsuite/22_locale/num_get_members_char.cc: Likewise.
4171 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
4172 * testsuite/22_locale/num_put_members_char.cc: Likewise.
4173 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
4174 * testsuite/22_locale/numpunct_members_char.cc: Likewise.
4175 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
4176 * testsuite/22_locale/time_get_members_char.cc: Likewise.
4177 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
4178 * testsuite/22_locale/time_put_members_char.cc: Likewise.
4179 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
4181 2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
4183 * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
4185 * ChangeLog-2001: Fix spelling errors...
4186 * docs/html/17_intro/RELEASE-NOTES: Update.
4187 * docs/html/17_intro/TODO: Update.
4188 * README (file): Update.
4190 2002-01-30 Loren Rittle <ljrittle@acm.org>
4192 * config/locale/c_locale_generic.cc: Check errno for ERANGE
4193 instead of non-zero to aid portability.
4195 2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4197 * docs/html/22_locale/messages.html: Fix example code.
4199 2002-01-30 Richard Henderson <rth@redhat.com>
4201 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
4202 out from test03 and templatize.
4205 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
4207 * config/locale/numpunct_members_gnu.cc
4208 (numpunct<char, wchar_t>::_M_initialize_numpunct()):
4209 Fix initialization of _M_grouping for locales which have
4210 _M_thousands_sep == '\0'(L'\0', respectively).
4211 * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
4213 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
4215 * testsuite/27_io/ostream_inserter_arith.cc (test03):
4216 Better fix for 32/64 bit architectures, avoiding the
4217 implicit assumption that CHAR_BIT == 8.
4219 2002-01-28 Phil Edwards <pme@gcc.gnu.org>
4221 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
4222 * Makefile.in: Regenerate.
4224 * docs/doxygen/run_doxygen: Update, mostly for man pages.
4225 * docs/doxygen/Intro.3: Update.
4226 * docs/doxygen/TODO: Update.
4227 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
4228 * docs/doxygen/mainpage.doxy: Update.
4229 * docs/doxygen/user.cfg.in: Update for header rename. Also
4230 regenerate comments and variables with 1.2.12.
4231 * docs/doxygen/maint.cfg.in: Remove file.
4233 * include/bits/stl_relops.h: Doxygenate.
4234 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
4236 * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
4237 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
4238 include/c_std/std_ciso646.h, include/c_std/std_climits.h,
4239 include/c_std/std_clocale.h, include/c_std/std_cmath.h,
4240 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
4241 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
4242 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
4243 include/c_std/std_cstring.h, include/c_std/std_ctime.h,
4244 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
4245 include/ext/algorithm, include/ext/functional, include/ext/hash_map,
4246 include/ext/hash_set, include/ext/iterator, include/ext/memory,
4247 include/ext/numeric, include/ext/rb_tree, include/ext/rope,
4248 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
4249 include/ext/stl_hashtable.h, include/ext/stl_rope.h,
4250 include/std/std_algorithm.h, include/std/std_bitset.h,
4251 include/std/std_complex.h, include/std/std_deque.h,
4252 include/std/std_fstream.h, include/std/std_functional.h,
4253 include/std/std_iomanip.h, include/std/std_ios.h,
4254 include/std/std_iosfwd.h, include/std/std_iostream.h,
4255 include/std/std_istream.h, include/std/std_iterator.h,
4256 include/std/std_limits.h, include/std/std_list.h,
4257 include/std/std_locale.h, include/std/std_map.h,
4258 include/std/std_memory.h, include/std/std_numeric.h,
4259 include/std/std_ostream.h, include/std/std_queue.h,
4260 include/std/std_set.h, include/std/std_sstream.h,
4261 include/std/std_stack.h, include/std/std_stdexcept.h,
4262 include/std/std_streambuf.h, include/std/std_string.h,
4263 include/std/std_utility.h, include/std/std_valarray.h,
4264 include/std/std_vector.h: Add/correct @file doxygen hook.
4266 * include/ext/memory: Doxygenate most of rest of file.
4267 * libsupc++/exception: Doxygen output formatting.
4268 * libsupc++/new: Say which header it is.
4270 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
4271 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
4272 * docs/html/23_containers/howto.html: Describe O(n) list::size().
4273 * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
4275 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
4276 Charles Leggett <CGLeggett@lbl.gov>
4278 * testsuite/27_io/filebuf_members.cc (test_05): Add test.
4280 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
4282 * testsuite/27_io/ostream_inserter_arith.cc (test03):
4283 Fix to deal correctly with both 32 bit and 64 bit architectures
4285 2002-01-25 Loren Rittle <ljrittle@acm.org>
4287 * testsuite/thread/pthread1.cc: Use one condition variable
4288 per predicate instead of tricky use of one condition variable.
4290 2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
4292 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
4294 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
4295 * testsuite/27_io/filebuf.cc: Compile only.
4296 * testsuite/27_io/filebuf_members.cc: Move tests to here.
4297 * testsuite/27_io/filebuf_virtuals.cc: And here.
4298 Revert sungetc, sync changes for expected values.
4299 * testsuite/27_io/filebuf-*: Move to...
4300 * testsuite/27_io/filebuf_virtuals-*: ...here.
4301 * testsuite/27_io/istream.cc: Compile only, activate.
4302 * testsuite/27_io/ostream.cc: Same.
4303 * testsuite/27_io/iostream.cc: New.
4304 * testsuite/27_io/iostream_members.cc: New.
4306 2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
4308 * testsuite/thread/pthread1.cc: Enable on cygwin.
4309 * testsuite/thread/pthread2.cc: Likewise.
4310 * testsuite/thread/pthread3.cc: Likewise.
4311 * testsuite/thread/pthread4.cc: Likewise.
4312 * testsuite/thread/pthread5.cc: Likewise.
4313 * testsuite/thread/pthread6.cc: Likewise.
4315 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
4317 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
4319 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
4321 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
4323 (basic_ios::fill(char_type)): Use fill().
4324 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
4325 (basic_ios::narrow): Same.
4326 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
4327 if they are invalid.
4328 (basic_ios::init): Comment.
4329 * testsuite/27_io/ios_init.cc (test02): New.
4331 2002-01-24 Phil Edwards <pme@gcc.gnu.org>
4333 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
4334 * include/bits/stl_algo.h: Include stl_tempbuf.h.
4335 * include/ext/memory: Do not include stl_tempbuf.h.
4336 (temporary_buffer): Add doxygen hook.
4337 (__get_temporary_buffer, get_temporary_buffer,
4338 return_temporary_buffer): Move back to std:: header...
4339 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
4340 * include/ext/rope: Do not include stl_tempbuf.h.
4341 * include/ext/stl_hashtable.h: Likewise.
4342 * include/std/std_algorithm.h: Likewise.
4343 * testsuite/20_util/temporary_buffer.cc: New file.
4345 2002-01-24 andrew@andypo.net
4346 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
4349 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
4350 * include/bits/localefwd.h: Likewise.
4351 Also use for std::locale::id::_S_highwater.
4352 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
4353 * src/locale.cc: Support new usage of _Atomic_word.
4354 (std::locale::classic): Guard entire function against reentry.
4355 * src/localename.cc: Support new usage of _Atomic_word.
4357 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
4359 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
4360 _GLIBCPP_HAVE_SETENV.
4361 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
4362 * testsuite/22_locale/collate_members_char.cc (test02): Same.
4363 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
4364 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
4365 * testsuite/22_locale/messages_members_char.cc (test02): Same.
4366 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
4367 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
4368 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
4369 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
4370 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
4371 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
4372 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
4373 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
4374 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
4375 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
4376 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
4377 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
4378 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
4379 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
4380 * aclocal.m4: Regenerate.
4381 * configure: Regenerate.
4382 * config.h.in: Regenerate.
4384 2002-01-23 Loren Rittle <ljrittle@acm.org>
4386 * testsuite/thread/pthread1.cc: New test.
4387 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
4388 * testsuite/thread/pthread3.cc: Likewise.
4389 * testsuite/thread/pthread4.cc: New test adapted from
4390 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
4391 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
4392 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
4394 2002-01-23 Richard Henderson <rth@redhat.com>
4397 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
4398 CAS on the cpu variants that support it. Add versions that use
4399 TAS and that disable interrupts.
4400 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
4402 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
4404 * include/bits/locale_facets.tcc: Remove old comments.
4406 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
4408 * include/bits/locale_facets.tcc (__convert_to_v): Change template
4410 (__convert_from_v): Same.
4412 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
4414 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
4416 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
4417 __max_digits checks, adjust arguments.
4418 (num_get::do_get(*)): Changeup.
4420 2002-01-23 Loren Rittle <ljrittle@acm.org>
4422 * config/locale/c_locale_generic.cc: Fix typename usage.
4424 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
4426 * config/locale/c_locale_generic.cc: Fix.
4428 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
4430 * docs/html/22_locale/messages.html: Remove angle brackets.
4431 * docs/html/17_intro/TODO: Add.
4433 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
4435 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
4436 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
4437 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
4438 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
4440 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
4442 Audit for LANG independence.
4443 * include/bits/localefwd.h: Tweaks.
4444 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
4446 (time_get::do_get_year): Same.
4447 (__convert_from_v): Add.
4448 (num_put::_M_convert_float): Use.
4449 (num_put::_M_convert_int): Same.
4450 (money_put::do_put): Same.
4452 * src/locale-inst.cc: Add instantiations for __convert_from_v.
4453 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
4454 * config/locale/time_members_generic.cc:
4455 * config/locale/messages_members_gnu.cc: Same.
4456 * config/locale/messages_members_gnu.h: Same.
4458 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
4459 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
4460 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
4461 * testsuite/22_locale/collate_members_char.cc (test02): New.
4462 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
4463 * testsuite/22_locale/ctype_members_char.cc (test03): New.
4464 * testsuite/22_locale/messages_members_char.cc (test02): New.
4465 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
4466 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
4467 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
4468 * testsuite/22_locale/money_get_members_char.cc (test04): New.
4469 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
4470 * testsuite/22_locale/money_put_members_char.cc (test04): New.
4471 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
4472 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
4473 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
4474 * testsuite/22_locale/time_put_members_char.cc (test03): New.
4475 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
4476 * testsuite/22_locale/time_get_members_char.cc (test07): New.
4477 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
4478 * testsuite/22_locale/num_get_members_char.cc (test03): New.
4479 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
4480 * testsuite/22_locale/num_put_members_char.cc (test03): New.
4482 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
4484 * testsuite/22_locale/time_get_members_char.cc: Same.
4486 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
4489 * include/bits/localefwd.h: Tweak comments.
4490 * include/bits/locale_facets.h (__convert_to_v): Add.
4491 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
4492 (num_get::do_get(float)): Same.
4493 (num_get::do_get(long double)): Same.
4494 (num_get::do_get(bool)): Same.
4495 (num_get::do_get(long)): Same.
4496 (num_get::do_get(long long)): Same.
4497 (num_get::do_get(unsigned int)): Same.
4498 (num_get::do_get(unsigned short)): Same.
4499 (num_get::do_get(unsigned long)): Same.
4500 (num_get::do_get(unsigned long long)): Same.
4501 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
4502 * config/locale/c_locale_generic.cc: Same.
4504 2002-01-22 Loren Rittle <ljrittle@acm.org>
4506 * include/Makefile.am (c_base_builddir): Remove redundant slash.
4507 (std_builddir): Likewise.
4508 (std_headers_rename): Fix cut-n-paste typo.
4509 (install-data-local): Concat path per element instead of once to
4510 first element of list.
4511 * include/Makefile.in: Rebuilt.
4513 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
4515 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
4516 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
4517 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
4519 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
4521 * include/bits/locale_facets.h (ctype<char>::classic_table):
4523 (ctype<char>::_S_ctable): Remove.
4524 * config/os/gnu-linux/bits/ctype_noninline.h
4525 (ctype<char>::_S_table): Remove definition.
4526 (ctype<char>::classic_table): Define.
4527 (ctype<char>::ctype): Replace _S_ctable with classic_table().
4528 * config/os/aix/bits/ctype_noninline.h: Same.
4529 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
4530 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
4531 * config/os/djgpp/bits/ctype_noninline.h: Same.
4532 * config/os/generic/bits/ctype_noninline.h: Same.
4533 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
4534 * config/os/hpux/bits/ctype_noninline.h: Same.
4535 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
4536 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
4537 * config/os/mingw32/bits/ctype_noninline.h: Same.
4538 * config/os/newlib/bits/ctype_noninline.h: Same.
4539 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
4540 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
4541 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
4543 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
4545 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
4546 of _pctype. Use to define _S_ctable. Add definition for alternate
4547 ctor. Initialise _M_ctable to _S_ctable in ctors.
4548 (do_toupper, do_tolower): Use inline code appropriate for C-locale
4549 rather than ::toupper, ::tolower.
4551 2002-01-18 Loren Rittle <ljrittle@acm.org>
4553 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
4554 Add specialization for FreeBSD systems only to avoid losing test
4555 only due to extra precision unmentioned in system headers.
4557 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
4559 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
4561 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
4563 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
4564 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
4566 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4568 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
4570 2002-01-17 David Edelsohn <edelsohn@gnu.org>
4572 * configure.target: Define OPT_LDFLAGS for AIX case.
4574 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4576 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
4577 __glibcpp_double_has_quiet_NaN): Correct mispelling.
4579 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
4581 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
4583 2002-01-16 David Edelsohn <dje@watson.ibm.com>
4585 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
4586 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
4587 * aclocal.m4: Regenerate.
4588 * configure: Regenerate.
4590 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
4592 * include/Makefile.am (c_base_headers_rename): New.
4593 (c_base_headers_extra): New.
4594 (stamp-c_base): Modify.
4595 (install-data-local): Use both.
4596 * include/Makefile.in: Regenerate.
4597 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
4598 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
4599 cstdio ctime cwctype]: Move to..
4600 * include/c/std_*: Here.
4601 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
4602 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
4603 cstdio ctime cwctype]: Move to..
4604 * include/c_std/std_*: Here.
4606 Alexandre Oliva <aoliva@redhat.com>
4607 * include/Makefile.am (.PRECIOUS): Add rule.
4608 * include/Makefile.in: Regenerate.
4610 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
4611 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4613 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
4614 Deuglify, should be current.
4615 (back_insert_iterator::_M_container): Deuglify, should be container.
4616 (front_insert_iterator::_M_container): Same.
4617 (insert_iterator::_M_container): Same.
4618 * testsuite/24_iterators/reverse_iterator.cc: Add check.
4619 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
4620 * testsuite/24_iterators/front_insert_iterator.cc: Same.
4621 * testsuite/24_iterators/insert_iterator.cc: Same.
4623 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
4625 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
4627 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
4628 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
4629 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
4630 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
4631 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
4632 * config/os/newlib/bits/ctype_noninline.h: Same.
4633 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
4634 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
4635 * config/os/hpux/bits/ctype_noninline.h: Same.
4636 * config/os/djgpp/bits/ctype_noninline.h: Same.
4637 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
4638 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
4639 * config/os/aix/bits/ctype_noninline.h: Same.
4641 Testcase by Dietmar Kühl via Peter Schmid
4642 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
4645 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
4647 * libmath/signbitl.c: Copyright years as list, not range.
4648 * libmath/Makefile.am: Same.
4649 * libmath/Makefie.in: Regenerate.
4650 * libmath/signbit.c: Same.
4651 * libmath/nan.c: Same.
4652 * libmath/copysignf.c: Same.
4653 * libmath/signbitf.c: Same.
4654 * testsuite/22_locale/money_get_members_char.cc: Same.
4655 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
4656 * testsuite/22_locale/money_put_members_char.cc: Same.
4657 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
4658 * testsuite/22_locale/time_get_members_char.cc: Same.
4659 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
4660 * testsuite/22_locale/time_put_members_char.cc: Same.
4661 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
4662 * testsuite/21_strings/nonmember.cc: Same.
4663 * testsuite/21_strings/compare.cc: Same.
4664 * testsuite/27_io/stringstream.cc: Same.
4665 * testsuite/27_io/stringbuf.cc: Same.
4666 * testsuite/27_io/filebuf.cc: Same.
4667 * testsuite/27_io/ios_manip_basefield.cc: Same.
4668 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
4669 * include/bits/cpp_type_traits.h: Same.
4670 * include/bits/generic_shadow.h: Same.
4671 * include/bits/gslice_array.h: Same.
4672 * include/bits/gslice.h: Same.
4673 * include/bits/indirect_array.h: Same.
4674 * include/bits/slice_array.h: Same.
4675 * include/bits/sstream.tcc: Same.
4676 * include/bits/streambuf_iterator.h: Same.
4677 * include/bits/valarray_array.tcc: Same.
4678 * include/bits/valarray_meta.h: Same.
4679 * include/bits/valarray_array.h: Same.
4680 * config/os/mingw32/bits/ctype_noninline.h: Same.
4681 * config/os/mingw32/bits/ctype_base.h: Same.
4682 * config/os/hpux/bits/ctype_noninline.h: Same.
4683 * config/os/hpux/bits/ctype_base.h: Same.
4684 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
4685 * config/os/gnu-linux/bits/ctype_base.h: Same.
4686 * config/os/generic/bits/ctype_noninline.h: Same.
4687 * config/os/generic/bits/ctype_base.h: Same.
4689 * libsupc++/tinfo.h: Tweaks.
4691 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
4693 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
4694 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
4695 * testsuite/22_locale/ctype_members_char.cc: Tweak.
4697 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
4699 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
4700 (num_put::do_put(void*)): Fix.
4701 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
4702 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
4703 * testsuite/22_locale/num_get_members_char.cc (test02): Add
4704 long double, void, bool types.
4705 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
4707 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
4708 Alexandre Oliva <aoliva@redhat.com>
4710 * libmath/Makefile.am (LINK): Add --tag CC.
4711 * libmath/Makefile.in: Regenerate.
4713 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
4715 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
4716 of character to attribute mapping table.
4718 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
4720 * testsuite/26_numerics/c99_classification_macros_c.cc
4721 Remove dg-error and dg-excess-errors comments.
4723 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
4725 * include/bits/locale_facets.tcc (time_put::put): Correct output
4727 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
4728 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
4729 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
4730 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
4732 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
4734 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
4736 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
4737 Nathan Myers <ncm@cantrip.org>
4739 * include/bits/basic_string.h
4740 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
4741 temporaries (i.e., call _M_replace_safe) when possible.
4742 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
4743 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
4744 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
4745 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
4746 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
4747 * include/bits/basic_string.tcc
4748 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
4749 replace(__pos, __n1, __s, __n2).
4750 * testsuite/21_strings/replace.cc (test03): New testcases.
4752 * include/bits/basic_string.h (insert(__pos, __s, __n)):
4753 Adjust comparison wrt overflow.
4755 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
4757 * include/Makefile.am (std_headers_rename): New variable.
4758 (install-data-local): Use it.
4759 * include/Makefile.in: Regenerate.
4761 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
4763 * include/bits/locale_facets.tcc (money_put::do_put(string):
4764 Correct output iterator value.
4765 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
4766 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
4768 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
4770 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
4773 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
4775 * include/Makefile.am (std_headers): Update list with new names.
4776 (stamp-std): Link to standardized name.
4777 * include/Makefile.in: Regenerate.
4779 * include/std/algorithm, include/std/bitset, include/std/complex,
4780 include/std/deque, include/std/fstream, include/std/functional,
4781 include/std/iomanip, include/std/ios, include/std/iosfwd,
4782 include/std/iostream, include/std/istream, include/std/iterator,
4783 include/std/limits, include/std/list, include/std/locale,
4784 include/std/map, include/std/memory, include/std/numeric,
4785 include/std/ostream, include/std/queue, include/std/set,
4786 include/std/sstream, include/std/stack, include/std/stdexcept,
4787 include/std/streambuf, include/std/string, include/std/utility,
4788 include/std/valarray, include/std/vector: Rename to...
4790 * include/std/std_algorithm.h, include/std/std_bitset.h,
4791 include/std/std_complex.h, include/std/std_deque.h,
4792 include/std/std_fstream.h, include/std/std_functional.h,
4793 include/std/std_iomanip.h, include/std/std_ios.h,
4794 include/std/std_iosfwd.h, include/std/std_iostream.h,
4795 include/std/std_istream.h, include/std/std_iterator.h,
4796 include/std/std_limits.h, include/std/std_list.h,
4797 include/std/std_locale.h, include/std/std_map.h,
4798 include/std/std_memory.h, include/std/std_numeric.h,
4799 include/std/std_ostream.h, include/std/std_queue.h,
4800 include/std/std_set.h, include/std/std_sstream.h,
4801 include/std/std_stack.h, include/std/std_stdexcept.h,
4802 include/std/std_streambuf.h, include/std/std_string.h,
4803 include/std/std_utility.h, include/std/std_valarray.h,
4804 include/std/std_vector.h: ...this.
4806 2002-01-11 Loren Rittle <ljrittle@acm.org>
4808 * include/Makefile.am (extra_target_headers): New list of all
4809 target files built with ad hoc naming rules.
4810 (stamp-*): Handle LN_S failure in manner portable across make
4812 (install-data-local): Install header files from human-maintained
4813 file lists and directory components instead of non-robust find.
4814 * include/Makefile.in: Rebuilt.
4816 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
4818 * include/bits/locale_facets.tcc (money_get::do_get(string)):
4819 Check for zero-length negative sign before adding it to output
4821 (money_get::do_get(long double)): Return beg.
4822 * testsuite/22_locale/money_get_members_char.cc (test02): Add
4824 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
4826 2002-01-10 David Seymour <seymour_dj@yahoo.com>
4829 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
4830 for _M_extract_float and _M_extract_int
4831 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
4832 (num_get<>::_M_extract_int): Likewise, all callers changed
4833 * testsuite/22_locale/num_get_members_char.cc: Testcase
4835 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
4837 * libsupc++/exception (bad_exception): Add comment.
4838 * libsupc++/new (bad_alloc): Same.
4839 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
4841 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
4843 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
4844 that the destructors should be removed from the descriptions
4845 in the standard: writing them explicitly allows the vtable
4846 heuristic to work. For additional information see:
4847 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
4848 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
4849 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
4850 * libsupc++/exception (bad_exception::~bad_exception()):
4851 Reintroduce declaration.
4852 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
4853 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
4854 (bad_typeid::~bad_typeid()): Same.
4855 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
4856 Reintroduce definition.
4857 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
4858 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
4859 (bad_typeid::~bad_typeid()): Same.
4861 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
4863 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
4864 * include/Makefile.in: Regenerate.
4866 2002-01-09 Bo Thorsen <bo@suse.co.uk>
4868 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
4871 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
4875 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
4876 return value of _M_file->sync().
4877 (filebuf::showmanyc): Check for is_open.
4878 * include/std/fstream (filebuf::sync): Tweak.
4879 * testsuite/27_io/filebuf.cc: Tweak.
4881 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
4882 Brad Garcia <garsh@attbi.com>
4884 * testsuite/27_io/filebuf_members.cc: Add test.
4886 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
4887 Craig Rodrigues <rodrigc@mediaone.net>
4890 * po/Makefile.am (mkinstalldirs): Add.
4891 * po/Makefile.in: Regenerate.
4893 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
4895 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
4896 testsuite/lib/prune.exp: Delete lines ":In function ..." from
4898 * testsuite/23_containers/map_operators.cc: Remove
4899 dg-excess-errors comment.
4900 * testsuite/23_containers/set_operators.cc: Likewise.
4902 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
4904 * include/bits/stl_function.h: Remove two lines of comments;
4905 adjust copyright years.
4907 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
4909 * include/Makefile.am (std_headers): Remove cXXX from list.
4910 (c_base_srcdir): No bits subdirectory.
4911 (c_base_builddir): Same.
4912 (c_base_headers): Adjust names, add ciso646.
4913 (bits_headers): Remove std_xxx.h headers.
4914 * include/Makefile.in: Regenerate.
4916 * include/ext/iterator: Adjust includes.
4917 * include/ext/ropeimpl.h: Same.
4918 * include/ext/stl_hash_fun.h: Same.
4919 * include/ext/algorithm: Same.
4921 * include/backward/bvector.h: Adjust includes.
4922 * include/backward/vector.h: Same.
4923 * include/backward/strstream: Same.
4924 * include/backward/streambuf.h: Same.
4925 * include/backward/stack.h: Same.
4926 * include/backward/set.h: Same.
4927 * include/backward/queue.h: Same.
4928 * include/backward/multiset.h: Same.
4929 * include/backward/multimap.h: Same.
4930 * include/backward/map.h: Same.
4931 * include/backward/list.h: Same.
4932 * include/backward/iterator.h: Same.
4933 * include/backward/iostream.h: Same.
4934 * include/backward/iomanip.h: Same.
4935 * include/backward/fstream.h: Same.
4936 * include/backward/deque.h: Same.
4937 * include/backward/complex.h: Same.
4939 * include/bits/std_algorithm.h: Move to...
4940 * include/std/algorithm: ...here.
4941 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
4942 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
4943 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
4944 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
4945 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
4946 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
4947 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
4950 * include/c_std/bits/std_cassert.h: Move to...
4951 * include/c_std/cassert: Here.
4952 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
4953 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
4954 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
4955 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
4956 std_cwctype.h: Same.
4957 * include/c_std/cmath: Adjust cmath.tcc include.
4958 * include/c_std/cstdlib: Adjust includes.
4959 * include/c_std/cwchar: Same.
4960 * include/c_std/ctime: Same.
4961 * include/c_std/cstring: Same.
4962 * include/c_std/cstdio: Same.
4963 * include/c_std/bits: Remove directory.
4965 * include/c/bits/std_cassert.h: Move to...
4966 * include/c/cassert: Here.
4967 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
4968 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
4969 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
4970 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
4971 std_cwctype.h: Same.
4972 * include/c/bits: Remove directory.
4974 * include/std/cwctype: Remove.
4975 * include/std/cwchar: Remove.
4976 * include/std/ctime: Remove.
4977 * include/std/cstring: Remove.
4978 * include/std/cstdlib: Remove.
4979 * include/std/cstdio: Remove.
4980 * include/std/cstddef: Remove.
4981 * include/std/cstdarg: Remove.
4982 * include/std/csignal: Remove.
4983 * include/std/csetjmp: Remove.
4984 * include/std/cmath: Remove.
4985 * include/std/clocale: Remove.
4986 * include/std/climits: Remove.
4987 * include/std/ciso646: Remove.
4988 * include/std/cfloat: Remove.
4989 * include/std/cerrno: Remove.
4990 * include/std/cctype: Remove.
4991 * include/std/cassert: Remove.
4993 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
4994 files and subsituting <xxx>.
4995 * include/bits/valarray_array.h: Same.
4996 * include/bits/stl_uninitialized.h: Same.
4997 * include/bits/stl_alloc.h: Same.
4998 * include/bits/stl_algobase.h: Same.
4999 * include/bits/sstream.tcc: Same.
5000 * include/bits/pthread_allocimpl.h: Same.
5001 * include/bits/ostream.tcc: Same.
5002 * include/bits/localefwd.h: Same.
5003 * include/bits/locale_facets.tcc: Same.
5004 * include/bits/locale_facets.h: Same.
5005 * include/bits/istream.tcc: Same.
5006 * include/bits/char_traits.h: Same.
5007 * include/bits/boost_concept_check.h: Same.
5008 * include/bits/basic_file.h: Same.
5009 * include/std/bitset: Same.
5010 * include/std/complex: Same.
5011 * include/std/fstream: Same.
5012 * include/std/functional: Same.
5013 * include/std/ios: Same.
5014 * include/std/iostream: Same.
5015 * include/std/ostream: Same.
5016 * include/std/sstream: Same.
5017 * include/std/streambuf: Same.
5018 * include/std/string: Same.
5019 * include/std/iterator: Same.
5020 * include/std/valarray: Same.
5022 * src/ios.cc: Adjust includes.
5023 * src/valarray-inst.cc: Same.
5024 * src/string-inst.cc: Same.
5025 * src/stl-inst.cc: Same.
5026 * src/stdexcept.cc: Same.
5027 * src/misc-inst.cc: Same.
5028 * src/localename.cc: Same.
5029 * src/locale-inst.cc: Same.
5030 * src/locale.cc: Same.
5031 * src/limits.cc: Same.
5032 * src/concept-inst.cc: Same.
5033 * src/complex_io.cc: Same.
5034 * src/codecvt.cc: Same.
5035 * src/bitset.cc: Same.
5036 * src/cmath.cc: Same.
5038 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
5040 * include/bits/stl_tree.h (rb_tree): Move to...
5041 * include/ext/rb_tree: ...here, new file.
5042 * include/Makefile.am (ext_headers): Add new file.
5043 * include/Makefile.in: Regenerate.
5044 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
5045 return_temporary_buffer, struct temporary_buffer): Move to...
5046 * include/ext/memory: ...here.
5047 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
5048 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
5049 * include/backward/tree.h: Include <ext/rb_tree), tweak.
5051 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
5053 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
5054 * include/ext/numeric: ...here, new file.
5055 * include/bits/stl_function.h (identity_element, unary_compose,
5056 binary_compose, compose1, compose2, identity, select1st,
5057 select2nd, project1st + helper, project2nd + helper,
5058 constant_void_fun + helper, constant_unary_fun + helper,
5059 costant_binary_fun + helper, constant0, constant1, constant2,
5060 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
5061 * include/ext/functional: ...here, new file.
5062 * include/Makefile.am (ext_headers): Add new files.
5063 * include/Makefile.in: Regenerate.
5064 * testsuite/ext/headers.cc: Include <ext/numeric> and
5066 * include/backward/algo.h: Include <ext/numeric>, tweak.
5067 * include/backward/function.h: Include <ext/functional>, tweak.
5068 * include/ext/ropeimpl.h: Include <ext/numeric>.
5070 2002-01-03 Jeffrey A Law <law@redhat.com>
5072 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
5073 __strtoull declarations with __extension__.
5075 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
5077 * testsuite/lib/prune.exp: Correct regular expression for
5080 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
5082 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
5083 Change concept checks, as with lower_bound and PR 2054.
5084 * testsuite/ext/concept_checks.cc: Expand test to include those.
5086 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
5088 * include/bits/boost_concept_check.h: Import some changes from
5089 upsteam (Boost) version.
5091 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
5093 * include/bits/stl_algobase.h (copy_n + helpers,
5094 lexicographical_compare_3way + helpers): Move to...
5095 * include/ext/algorithm: ...here.
5096 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
5097 helpers): Move to...
5098 * include/ext/memory: ...here, new file.
5099 * include/Makefile.am (ext_headers): Add new file.
5100 * include/Makefile.in: Regenerate.
5101 * testsuite/ext/headers.cc: Include <ext/memory>.
5102 * include/backward/algobase.h: Include <ext/memory> and
5103 <ext/algorithm>, tweak.
5104 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
5105 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
5107 2002-01-01 Roger Sayle <roger@eyesopen.com>
5109 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
5110 equivalent ___builtin__ versions.
5112 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
5113 are available in libstdc++ as the necessary stub implementations
5114 are provided by libmath/stubs.c.
5116 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
5118 * configure.in: Add support for NetBSD cross compiles.
5119 * configure: Regenerate.