1 2002-11-28 Phil Edwards <pme@gcc.gnu.org>
4 * testsuite/21_strings/ctor_copy_dtor.cc (test05): Also test
5 the NULL-pointer, zero-size case.
7 2002-11-28 Jonathan Wakely <redi@gcc.gnu.org>
8 * docs/html/faq/index.html: Add tip about a namespace for extensions.
10 2002-11-28 Paolo Carlini <pcarlini@unitus.it>
11 Nathan Myers <ncm@cantrip.org>
14 (locale::_Impl::_Impl(const char*, size_t)):
15 Improve previous fix for the strtok vs MT issue.
17 2002-11-28 Paolo Carlini <pcarlini@unitus.it>
19 * config/locale/gnu/c_locale.cc (locale::_S_categories):
20 Reorder the categories to match that of glibc's setlocale(LC_ALL, ""))
21 * config/locale/generic/c_locale.cc (locale::_S_categories): Ditto.
22 * testsuite/22_locale/ctor_copy_dtor.cc (test04): Tweak.
24 2002-11-25 Benjamin Kosnik <bkoz@redhat.com>
26 * testsuite/abi_check.cc: Add CXXABI_1.2.1 as compatible.
27 * config/linker-map.gnu: Version __cxa_guard_acquire,
28 __cxa_guard_release, __cxa_guard_abort in CXXABI_1.2.1.
30 2002-11-25 Paolo Carlini <pcarlini@unitus.it>
31 Nathan Myers <ncm@cantrip.org>
34 (locale::_Impl::_Impl(const char*, size_t)):
35 Avoid strtok for thread safety.
37 2002-11-25 Stephen M. Webb <stephen@bregmasoft.com>
39 * testsuite/testsuite_allocator.h: New file.
40 * testsuite/testsuite_allocator.cc: New file.
41 * testsuite/Makefile.am: Added testsuite_allocator to test library.
42 * testsuite/testsuite_hooks.h: Added more detailed tracker objects
43 gnu_copy_constructor, gnu_assignment_operator, and gnu_destructor.
44 * testsuite/testsuite_hooks.cc: Added new static objects definitions.
45 * testsuite/23_containers/vector_capacity.cc: Added reserve() tests.
46 * testsuite/23_containers/vector_ctor.cc: Added a plethora of tests.
47 * testsuite/23_containers/deque_ctor.cc: Added a slew of new tests.
49 2002-11-25 Mark Mitchell <mark@codesourcery.com>
51 * libsupc++/Makefile.am (sources): Add guard.cc.
52 * libsupc++/Makefile.in: Regenerated.
53 * libsupc++/cxxabi.h (__cxa_guard_acquire): New function.
54 (__cxa_guard_release): Likewise.
55 (__cxa_guard_abort): Likewise.
56 * libsupc++/guard.cc: New file.
58 2002-11-25 Wolfgang Bangerth <bangerth@ticam.utexas.edu>
60 * include/std/std_complex.h
61 (operator<<(basic_ostream&, const complex&)): Prefer 'x'
62 to "x" for efficiency sake.
63 * src/locale.cc (locale::locale(const char*)): Ditto.
65 2002-11-24 Paolo Carlini <pcarlini@unitus.it>
67 * src/locale.cc (locale::locale(const char*)):
68 Trivial cosmetic tweaks.
70 2002-11-22 Laszlo Ersek <erseklaszlo@chello.hu>
71 Paolo Carlini <pcarlini@unitus.it>
74 * include/bits/stl_tree.h (_Rb_tree_rebalance_for_erase):
75 Don't check that __w->_M_left != 0 and __w->_M_right != 0
76 when they can't be otherwise.
78 2002-11-21 Phil Edwards <pme@gcc.gnu.org>
80 * docs/html/documentation.html: Fix broken/thinko'd URL.
82 2002-11-21 Phil Edwards <pme@gcc.gnu.org>
84 * docs/doxygen/run_doxygen: Tighter search expression for sed.
85 * docs/doxygen/stdheader.cc: Handle the case of good headers.
87 2002-11-21 Phil Edwards <pme@gcc.gnu.org>
89 * acinclude.m4: Uniform formatting.
90 * configure.in: Warn when generic atomicity.h is used.
91 * configure.target: Fix comment.
92 * aclocal.m4, configure: Regenerate.
94 2002-11-21 Phil Edwards <pme@gcc.gnu.org>
96 * include/bits/streambuf.tcc (basic_streambuf::sputbackc): Prefix
97 "this->" to call to pbackfail.
99 2002-11-21 Phil Edwards <pme@gcc.gnu.org>
101 * docs/doxygen/style.css: Update.
102 * docs/doxygen/user.cfg.in: Update.
103 * docs/html/documentation.html: Regenerate.
104 * docs/html/17_intro/howto.html: Tweak I/O sentry entry.
105 * docs/html/27_io/howto.html: New section on headers.
106 * docs/html/faq/index.html: Add i386 threading entry.
107 * docs/html/faq/index.txt: Regenerate.
109 * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
112 2002-11-21 Phil Edwards <pme@gcc.gnu.org>
114 * docs/doxygen/TODO: Note change in clause 27 docs.
115 * include/bits/basic_ios.h, include/bits/fpos.h,
116 include/bits/ios_base.h, include/bits/stl_deque.h,
117 include/bits/stl_iterator_base_types.h, include/std/std_fstream.h,
118 include/std/std_iomanip.h, include/std/std_iosfwd.h,
119 include/std/std_iostream.h, include/std/std_istream.h,
120 include/std/std_ostream.h, include/std/std_sstream.h,
121 include/std/std_streambuf.h: Doxygenate all I/O entities.
123 2002-11-20 Benjamin Kosnik <bkoz@redhat.com>
124 Jonathan Lennox <lennox@cs.columbia.edu>
126 * include/bits/streambuf.tcc (__copy_streambufs):
127 Revert previous fix for the interactive half of
128 libstdc++/6745, use _M_buf_size_opt to set dynamically
129 the correct buffer size.
131 2002-11-20 Jonathan Wakely <redi@gcc.gnu.org>
133 * docs/html/21_strings/howto.html: Fix example code, cite Gaby's
134 explanation of "<unknown type>" error with toupper/tolower.
135 * docs/html/22_locale/howto.html: Be more consistent with
136 example in 21_strings.
138 2002-11-19 John Gustafsson <forgoil@rsn.bth.se>
140 * docs/html/20_util/howto.html: Fix typo.
142 2002-11-18 Jonathan Lennox <lennox@cs.columbia.edu>
144 * include/bits/streambuf.tcc (__copy_streambufs): verify
145 __sbin->gptr() + __bufsize < __sbin->egptr() before using.
146 * testsuite/27_io/ostream_inserter_other.cc (test_buffer_4): Add.
147 (test05): Use test_buffer_4. Delete unused ostringstream
150 2002-11-18 Paolo Carlini <pcarlini@unitus.it>
152 PR libstdc++/6745 (continued)
153 * include/bits/streambuf.tcc (__copy_streambufs):
154 Deal with interactive input by using isatty as in the
155 fix for libstdc++/8399.
157 2002-11-17 Jakub Jelinek <jakub@redhat.com>
159 * config/linker-map.gnu: Export _S_construct even if size_t is
160 unsigned long. Collapse std::codecvt<char>::codecvt(size_t)
161 and std::codecvt<wchar_t>::codecvt(size_t) into one export pattern.
163 2002-11-15 Benjamin Kosnik <bkoz@redhat.com>
164 Gabriel Dos Reis <gdr@integrable-solutions.net>
167 * include/bits/stl_alloc.h: Use builtin_expect for the most
168 obvious limit checks.
169 (__default_alloc_template::allocate): Check for null, throw
171 * include/bits/vector.tcc: Formatting tweaks.
172 * include/bits/stl_vector.h: Same.
173 * testsuite/20_util/allocator_members.cc (test02): Add.
174 * testsuite/23_containers/vector_capacity.cc (test03): Add.
176 2002-11-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
178 * src/ios.cc [_GLIBCPP_HAVE_UNISTD_H]: Include unistd.h.
180 2002-11-15 Paolo Carlini <pcarlini@unitus.it>
181 Loren J. Rittle <ljrittle@acm.org>
185 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): New macro to
186 check for unistd.h functions.
187 (GLIBCPP_CHECK_UNISTD_SUPPORT): New macro, check for isatty
189 * configure.in: Call here.
190 * src/ios.cc (ios_base::Init::_S_ios_create(bool)):
191 Use _GLIBCPP_HAVE_ISATTY: ifdef, in case of interactive
192 input __in_size = 1 even when sync_with_stdio is false;
193 otherwise fall back to __in_size = 1.
194 * aclocal.m4: Regenerate.
195 * config.h.in: Regenerate.
196 * configure: Regenerate.
198 2002-11-13 Benjamin Kosnik <bkoz@redhat.com>
200 * acconfig.h (HAVE_DRAND48): Add.
201 (HAVE_GETPAGESIZE): Add.
203 (HAVE_SIGSETJMP): Add.
204 * config.h.in: Regenerate.
205 * configure: Regenerate.
207 2002-11-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
209 * config/os/hpux/os_defines.h (_GLIBCPP_INST_ATOMICITY_LOCK): Define
210 on hppa when there is no weak support.
212 2002-11-13 Benjamin Kosnik <bkoz@redhat.com>
215 * include/bits/vector.tcc (vector::reserve): Throw length_error if
216 requested size is bigger than max_size().
217 * include/bits/stl_bvector.h (vector<bool>::reserve): Same.
218 * testsuite/23_containers/vector_capacity.cc (test02): Add.
220 2002-11-13 Benjamin Kosnik <bkoz@redhat.com>
222 * config/linker-map.gnu: Export all _S_construct.
224 2002-11-13 Loren J. Rittle <ljrittle@acm.org>
227 * src/locale.cc (std::locale::classic()): Weaken locking protocol.
229 2002-11-13 Jonathan Wakely <redi@gcc.gnu.org>
231 * docs/html/install.html, docs/html/22_locale/locale.html: HTML fix.
233 2002-11-11 Benjamin Kosnik <bkoz@redhat.com>
236 * include/bits/fstream.tcc (filebuf::open): Set input pointers.
237 * config/io/basic_file_stdio.cc (__basic_file::_M_open_mode): Set
239 (__basic_file::open): Set to non-block for input.
240 * testsuite/27_io/istream_unformatted.cc (test12): Add.
243 2002-11-11 Jonathan Wakely <redi@gcc.gnu.org>
245 * docs/html/17_intro/howto.html: Make "chapter 22 notes" a link.
246 * docs/html/faq/index.html: Mention that GCC ships with a newer
247 version of the library than the last snapshot. Make "see below" a
248 link. Add missing <html> tag.
249 * docs/html/faq/index.txt: Regenerate.
250 * docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
251 docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
252 docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
253 docs/html/27_io/howto.html, docs/html/ext/howto.html,
254 docs/html/ext/sgiexts.html: Add missing <html> tag.
256 2002-11-07 Phil Edwards <pme@gcc.gnu.org>
257 Richard Earnshaw <rearnsha@arm.com>
259 * config/cpu/generic/atomicity.h: Provide atomic __exchange_and_add
262 2002-11-08 Paolo Carlini <pcarlini@unitus.it>
264 * config/locale/gnu/monetary_members.cc
265 (moneypunct<wchar_t, true>::_M_initialize_moneypunct(__c_locale,
267 moneypunct<wchar_t, false>::_M_initialize_moneypunct(__c_locale,
268 const char*)): Tweak parameters for glibc2.3 systems, thus
269 avoiding unused parameter warnings.
271 2002-11-05 Jonathan Wakely <cow@compsoc.man.ac.uk>
273 * include/std/std_sstream.h
274 (basic_stringbuf::str(const __string_type&)):
275 Prefer data() to c_str(), thus avoiding assigning the
276 unnecessary NULL-terminator.
278 2002-11-05 Benjamin Kosnik <bkoz@redhat.com>
281 * include/bits/istream.tcc (istream::readsome): Don't set eofbit
283 (istream::operator>>(_CharT*)): Use traits_type.
285 (istream::operator>>(string)): Same.
286 * testsuite/27_io/istream_unformatted.cc (test11): Add.
288 2002-11-05 Paolo Carlini <pcarlini@unitus.it>
291 * include/std/std_sstream.h
292 (basic_stringbuf::str(const __string_type&)):
293 Cannot use simple assignment since the COW-nature of v3
294 basic_string is not taken into account in basic_stringbuf.
295 * testsuite/27_io/stringstream_members.cc: Add test04 from PR.
297 2002-11-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
299 * configure.target (hppa*): Define cpu_include_dir.
300 * config/os/hpux/os_defines.h (_GLIBCPP_INST_ATOMICITY_LOCK): Define.
301 * src/misc-inst.cc: Instantiate atomicity lock when
302 _GLIBCPP_INST_ATOMICITY_LOCK is defined.
303 * config/cpu/hppa/atomicity.h: New file.
305 2002-11-05 Benjamin Kosnik <bkoz@redhat.com>
308 * include/bits/ios_base.h (~ios_base): Make virtual.
310 2002-11-04 Benjamin Kosnik <bkoz@redhat.com>
312 * config/linker-map.gnu: Export string operator+.
313 Export __default_alloc_template::_S_force_new.
314 * testsuite/abi_check.cc: Output tweaks.
316 2002-11-01 Benjamin Kosnik <bkoz@redhat.com>
319 * src/string-inst.cc: Add instantiation.
321 2002-11-01 Benjamin Kosnik <bkoz@redhat.com>
324 * configure.target: Simplify.
325 * config/cpu/i386/atomicity.h: Remove.
326 * config/cpu/i386: Remove.
327 * config/cpu/arm/atomicity.h: Remove.
328 * config/cpu/arm: Remove.
329 * config/cpu/x86-64/atomicity.h: Remove.
330 * config/cpu/x86-64: Remove.
332 2002-11-01 Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de>
335 * config/link-map.gnu: Export math stubbs.
337 2002-11-01 Benjamin Kosnik <bkoz@redhat.com>
340 * include/std/std_iostream.h: Tweak.
341 * include/std/std_iosfwd.h: Add _GLIBCPP_USE_WCHAR_T.
342 * include/std/std_iomanip.h: Same.
343 * include/bits/stringfwd.h: Same.
344 * include/bits/basic_string.tcc: Same.
345 * include/bits/sstream.tcc: Same.
346 * include/bits/fstream.tcc: Same.
347 * include/bits/basic_ios.tcc: Same.
348 * include/bits/streambuf.tcc: Same.
349 * include/bits/locale_facets.tcc: Same.
351 2002-11-01 John Carter <john.carter@tait.co.nz>
354 * include/bits/basic_string.tcc
355 (compare(const _CharT* __s)): Don't access __s past its length.
357 2002-10-31 Benjamin Kosnik <bkoz@redhat.com>
360 * include/bits/istream.tcc (istream::tellg): Remove sentry bits.
361 (istream::seekg): Same.
362 * testsuite/27_io/istream_seeks.cc (test06): New.
364 2002-10-28 Jason Thorpe <thorpej@wasabisystems.com>
366 * testsuite/thread/pthread5.cc: Include <unistd.h>
367 if _GLIBCPP_HAVE_UNISTD_H is defined.
368 (main): Only use pthread_attr_setscope if
369 _POSIX_THREAD_PRIORITY_SCHEDULING is defined.
371 2002-10-28 Jason Thorpe <thorpej@wasabisystems.com>
373 * testsuite/thread/pthread1.cc: Enable on *-*-netbsd*.
374 * testsuite/thread/pthread2.cc: Likewise.
375 * testsuite/thread/pthread3.cc: Likewise.
376 * testsuite/thread/pthread4.cc: Likewise.
377 * testsuite/thread/pthread5.cc: Likewise.
378 * testsuite/thread/pthread6.cc: Likewise.
380 2002-10-27 Paolo Carlini <pcarlini@unitus.it>
383 * include/bits/basic_string.tcc
384 (string::_S_construct(_InIter, _InIter, const _Alloc&,
385 forward_iterator_tag)): Do not throw logic error if
386 __beg == NULL && __end == __beg.
387 (string::string(const _CharT*, const _Alloc&)): Tweak.
388 * testsuite/21_strings/ctor_copy_dtor.cc: Add test05 from PR.
390 2002-10-24 Hans-Peter Nilsson <hp@bitrange.com>
395 * testsuite/testsuite_hooks.cc (__set_testsuite_memlimit): Use
396 __typeof__ (r.rlim_cur), not rlim_t in declaration of limit.
398 2002-10-23 Jakub Jelinek <jakub@redhat.com>
400 * testsuite/22_locale/num_put_members_char.cc (test01): Swap size
401 and decimal_point arguments of find.
402 * testsuite/22_locale/num_put_members_wchar_t.cc (test01): Likewise.
404 2002-10-22 Jakub Jelinek <jakub@redhat.com>
406 * Makefile.am (check-abi, new-abi-baseline): Use @glibcpp_srcdir@
407 instead of ${top_srcdir}.
408 * Makefile.in: Rebuilt.
410 2002-10-22 Loren J. Rittle <ljrittle@acm.org>
412 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
413 Remove specialization for FreeBSD systems.
415 2002-10-18 Loren J. Rittle <ljrittle@acm.org>
417 * configure.target (freebsd*): Use abi_baseline_triplet.
418 * config/abi/i386-unknown-freebsd4/baseline_symbols.txt: New file.
419 * config/abi/i386-unknown-freebsd4.7/baseline_symbols.txt: Remove.
421 * testsuite/thread/pthread1.cc: Remove needless workaround
424 2002-10-18 Loren J. Rittle <ljrittle@acm.org>
425 Brad Spencer <spencer@infointeractive.com> (provided alternate
426 patch and improvements)
428 * docs/html/23_containers/howto.html (GLIBCPP_FORCE_NEW): Document
429 new environment variable which replaces all uses of __USE_MALLOC
431 * docs/html/ext/howto.html (GLIBCPP_FORCE_NEW): Likewise.
432 (__mem_interface): Remove all references to old internal typedef.
433 * include/backward/alloc.h (__USE_MALLOC): Remove it and all
435 * include/bits/c++config (__USE_MALLOC): Update related error
437 * include/bits/stl_alloc.h (__USE_MALLOC): Remove it and all
438 guarded code. Update all related comments.
439 (__mem_interface): Unconditionally replace it with __new_alloc.
440 However, leave the typedef around in case anyone used it.
441 (__default_alloc_template<>::_S_force_new): New class static.
442 (__default_alloc_template<>::allocate, deallocate): Add
443 run-time controlled feature similar to what __USE_MALLOC code
445 * src/stl-inst.cc (__USE_MALLOC): Remove it and all
447 * testsuite/21_strings/capacity.cc: Remove reference to __USE_MALLOC.
448 Add documentation on GLIBCPP_FORCE_NEW environment variable.
449 * testsuite/ext/allocators.cc: Likewise.
451 2002-10-18 Phil Edwards <pme@gcc.gnu.org>
453 * configure.in: Use target, not target_alias, when matching triplet
455 * configure: Regenerate.
457 2002-10-17 Momchil Velikov <velco@fadata.bg>
458 Loren J. Rittle <ljrittle@acm.org>
460 * configure.in: Add *-freebsd* to cross list.
461 * configure: Rebuilt.
463 2002-10-16 Benjamin Kosnik <bkoz@redhat.com>
465 * include/bits/locale_facets.h (__timepunct::__timepunct): Allocate
467 (__timepunct::~__timepunct): Deallocate, remove specialization
469 (messages::messages): Allocate _M_name_messages.
470 (messages::~messages): Deallocate.
471 (messages_byname): Same.
472 * config/locale/gnu/time_members.cc (__timepunct::~__timepunct):
474 * config/locale/generic/time_members.cc (__timepunct::~__timepunct):
477 * docs/html/install.html: Add es_MX, en_PH to required locales list.
479 2002-10-16 Benjamin Kosnik <bkoz@redhat.com>
481 * config/linker-map.gnu: Add exports for codecvt constructors
482 where size_t == unsigned long.
484 2002-10-14 Benjamin Kosnik <bkoz@redhat.com>
486 * src/globals.cc (__gnu_cxx::c_locale_impl_compat): Add, alias to
488 * testsuite/abi_check.cc (line_to_symbol_info): Collect size info.
489 * docs/html/abi.txt: Update.
491 2002-10-14 Benjamin Kosnik <bkoz@redhat.com>
493 * testsuite/22_locale/static_members.cc (test02): Less provincial.
495 2002-10-14 Benjamin Kosnik <bkoz@redhat.com>
497 * testsuite/22_locale/static_members.cc (test02): Disable for
498 systems without named locale support.
499 * testsuite/22_locale/ctor_copy_dtor.cc (test04): Don't assume
500 running the testsuites in "C" environment.
502 * docs/html/22_locale/locale.html: Update.
504 2002-10-13 Danny Smith <dannysmith@users.sourceforge.net>
506 * include/bits/stl_threads.h (_GLIBCPP_mutex,
507 _GLIBCPP_mutex_init,_GLIBCPP_mutex_address,
508 _GLIBCPP_mutex_address_init, _GLIBCPP_once):
509 Declare in namespace __gnu_cxx.
510 (_STL_mutex_lock::_M_initialize): Qualify __gnu_cxx
514 2002-10-12 Benjamin Kosnik <bkoz@redhat.com>
516 * testsuite/abi_check.cc (hash<string>): Specialize.
517 Simplify. Check compatible symbol versions.
518 * config/linker-map.gnu: Clarify, explicitly export
519 std::codecvt::c* symbols.
521 * testsuite/22_locale/static_members.cc (test02): Avoid null strings.
523 2002-10-12 Jonathan Wakely <jw@kayari.org>
524 Gabriel Dos Reis <gdr@integrable-solutions.net>
526 * docs/html/21_strings/howto.html#5: Correct nasting of XHTML
527 elements. Correct allocator-related text.
529 2002-10-11 Benjamin Kosnik <bkoz@redhat.com>
531 * testsuite/22_locale/static_members.cc (test02): Fix.
533 2002-10-11 Benjamin Kosnik <bkoz@redhat.com>
535 * acconfig.h (_GLIBCPP_SYMVER): Add.
536 (_GLIBCPP_ASM_SYMVER): Add.
537 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Define _GLIBCPP_SYMVER.
538 * aclocal.m4: Regenerate.
539 * config.h.in: Regenerate.
540 * configure: Regenerate.
541 * include/bits/c++config (_GLIBCPP_AT_AT): Define, as an expedient
542 hack around m4 issues with quoting '@'.
543 * src/locale.cc: Use _GLIBCPP_ASM_SYMVER.
544 * src/globals.cc: Same.
546 * testsuite/22_locale/ctor_copy_dtor.cc (test04): Fix for
549 2002-10-10 Benjamin Kosnik <bkoz@redhat.com>
551 * config/linker-map.gnu (GLIBCPP_3.2.1): Add.
552 (GLIBCPP_3.2): Don't export locale::_S_*.
553 * src/ios.cc: Move globals into __gnu_cxx. Make old exported
555 * src/locale.cc: Same.
556 * src/localename.cc: Same.
557 * src/globals.cc: Same.
559 2002-10-10 Phil Edwards <pme@gcc.gnu.org>
561 * docs/html/21_strings/howto.html: Write #5, char_traits.
562 * docs/html/17_intro/porting.texi: Expand on os_include_dir.
563 * docs/html/17_intro/porting.html: Regenerate.
565 2002-10-09 Benjamin Kosnik <bkoz@redhat.com>
567 * src/locale.cc: Fix comments, move ctors together.
568 * testsuite/22_locale/static_members.cc (test03): Add.
570 2002-10-08 Jonathan Lennox <lennox@cs.columbia.edu>
572 PR libstdc++/8071, libstdc++/8127, libstdc++/6745
573 * streambuf.tcc (__copy_streambufs): Handle cases where
574 __sbin->in_avail() returns 0, or where __sbin doesn't set gptr().
575 * testsuite/27_io/ostream_inserter_other.cc (test05): Add.
577 2002-10-08 Paolo Carlini <pcarlini@unitus.it>
578 Benjamin Kosnik <bkoz@redhat.com>
580 * include/bits/localefwd.h (class locale): Add static member
581 _S_num_extra_categories, encoding the number of additional
583 Change _S_num_categories to _S_categories_size.
584 (class locale::_Impl): Add _M_c_cats.
585 (class locale::_Impl::_M_names): Change to array of chars.
586 (class locale::_Impl::_M_check_same_name): Use
587 _S_extra_categories_size, tweak.
588 (locale::locale(const locale&, _Facet*)): Ditto.
589 * src/locale.cc (locale::locale(const char* )): Rewrite to deal
590 with the environment in a POSIX-compliant way while being thread
592 (locale::name()): Update to output POSIX environment strings.
594 (locale::_Impl::_Impl(const _Impl&, size_t): Use
595 _S_categories_size_*, tweak.
596 (locale::_Impl::_Impl(facet**, size_t, bool)): Ditto.
597 (locale::_Impl::_Impl(const char*, size_t)): Name each category
599 (locale::_Impl::_M_replace_categories): Use strcpy.
601 * include/bits/locale_facets.h (numpunct::_M_initialize_numpunct):
602 Change default argument to NULL from _S_c_locale.
603 (timepunct::_M_initialize_timepunct): Same.
604 _S_c_locale cleanups.
605 * src/codecvt.c: _S_c_locale simplification.
607 * src/globals.cc: Add fake_name.
608 * src/locale-inst.cc: Remove extra includes.
609 * src/locale.cc: Remove extra includes.
610 Add _S_extra_categories_size definition.
611 Correct "C" initialization.
612 (locale::facet::facet): Don't initialize _S_c_locale.
613 (locale::facet::_M_remove_reference): Adjust.
614 * src/localename: Use facet_vec, facet_name.
615 (locale::_Impl::_Impl(facet** __f, size_t __refs, bool)): Set
616 facet ref counts to one. Initialize _S_c_locale.
617 (locale::_Impl::_M_install_facet(id*, facet*)): Adjust facet ref
618 counts when installing unilaterally.
620 * config/locale/generic/c_locale.cc: Add _S_categories definition.
621 * config/locale/generic/c_locale.h: Add _GLIBCPP_NUM_CATEGORIES macro.
622 * config/locale/generic/time_members.cc: _S_c_locale cleanup.
624 * config/locale/gnu/c_locale.cc: Add _S_categories definition.
625 (_S_destroy_c_locale): Move checks against _S_c_locale here.
626 * config/locale/gnu/c_locale.h: Add _GLIBCPP_NUM_CATEGORIES macro.
627 * config/locale/gnu/ctype_members.cc: Simplify _S_destroy_c_locale
628 calls, _S_c_locale usage.
629 * config/locale/gnu/monetary_members.cc: Same, tweaks.
630 * config/locale/gnu/monetary_members.cc: Same.
631 * config/locale/gnu/time_members.cc: Same.
632 * config/os/gnu-linux/ctype_noninline.h: Use locale::classic().
634 * docs/html/22_locale/locale.html: Add bits about global locales
637 * testsuite/22_locale/facet.cc (test02): Add.
638 * testsuite/22_locale/static_members.cc (test02): Add.
639 * testsuite/22_locale/ctor_copy_dtor.cc (test04): Add.
641 2002-10-07 Jonathan Wakely <jw@kayari.org>
643 * docs/html/configopts.html, docs/html/documentation.html,
644 docs/html/explanations.html, docs/html/install.html,
645 docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
646 docs/html/17_intro/license.html, docs/html/18_support/howto.html,
647 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
648 docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
649 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
650 docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
651 docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
652 docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
653 docs/html/27_io/howto.html, docs/html/ext/howto.html,
654 docs/html/ext/sgiexts.html, docs/html/faq/index.html: Add DOCTYPEs.
656 2002-10-03 Richard Earnshaw <rearnsha@arm.com>
659 * config/cpu/arm/atomicity.h (__exchange_and_add): Don't try to use
660 ASM sequences that don't give us atomic addition operations. Instead
661 just add a comment explaining why it doesn't work.
662 (__atomic_add): Just use __exchange_and_add.
663 (__test_and_set, __always_swap): Delete.
665 2002-10-02 Andreas Jaeger <aj@suse.de>
667 * config/abi/x86_64-unknown-linux-gnu/baseline_symbols.txt:
670 2002-10-01 Phil Edwards <pme@gcc.gnu.org>
672 * Makefile.am (check-abi): Add @ to rule.
673 * Makefile.in: Regenerated.
675 2002-09-27 Paolo Carlini <pcarlini@unitus.it>
677 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
678 Deal correctly with grouped, showbased (oct or hex) zero.
679 * testsuite/22_locale/num_put_members_char.cc: Add test05.
680 * testsuite/22_locale/num_put_members_wchar_t.cc: Ditto.
682 2002-09-27 Richard Henderson <rth@redhat.com>
684 * config/os/hpux/cpu_limits.h: Remove.
686 * include/std/std_limits.h (numeric_limits<T>::is_iec559): False
687 if denormals are not supported.
689 2002-09-25 Benjamin Kosnik <bkoz@redhat.com>
691 * include/Makefile.am (target_headers): Remove cpu_limits.h.
692 * include/Makefile.in: Regenerate.
693 * configure.in (CPU_LIMITS_INC_SRCDIR): Remove
694 * configure: Regenerate.
695 * configure.target (CPULIMITS): Remove.
697 * include/std/std_limits.h: Remove cpu_limits.h include.
699 * config/os/solaris/solaris2.7/os_defines.h (__glibcpp_long_bits):
701 * config/os/irix/irix6.5/os_defines.h
702 (__glibcpp_long_double_bits): Remove.
703 (__glibcpp_wchar_t_bits): Remove.
704 (__glibcpp_long_bits): Remove.
705 * config/os/irix/irix5.2/os_defines.h
706 (__glibcpp_long_double_bits): Remove.
707 (__glibcpp_long_bits): Remove.
708 * config/os/hpux/os_defines.h (__glibcpp_wchar_t_is_signed): Remove.
709 * config/os/bsd/freebsd/os_defines.h:
710 (__glibcpp_long_double_bits): Remove.
711 * config/os/aix/os_defines.h (__glibcpp_wchar_t_bits): Remove.
712 (__glibcpp_wchar_t_is_signed): Remove.
713 (__glibcpp_long_bits): Remove.
714 * config/os/gnu-linux/os_defines.h (__glibcpp_long_bits): Remove.
715 (__glibcpp_long_double_bits): Remove.
717 * config/os/osf/osf5.0/cpu_limits.h: Remove.
718 * config/cpu/alpha/cpu_limits.h: Remove.
719 * config/cpu/arm/cpu_limits.h: Remove.
720 * config/cpu/cris/cpu_limits.h: Remove.
721 * config/cpu/generic/cpu_limits.h: Remove.
722 * config/cpu/generic/limits.h: Remove.
723 * config/cpu/ia64/cpu_limits.h: Remove.
724 * config/cpu/m68k/cpu_limits.h: Remove.
725 * config/cpu/mmix/cpu_limits.h: Remove.
726 * config/cpu/powerpc/cpu_limits.h: Remove.
727 * config/cpu/S390/cpu_limits.h: Remove.
729 2002-09-25 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
731 * testsuite/18_support/numeric_limits.cc: Check the maximum and
732 minimum values of the wchar_t type.
734 2002-09-25 Mark Mitchell <mark@codesourcery.com>
736 * include/std/std_limits.h (numeric_limits<unsigned char>::digits):
739 2002-09-23 Richard Henderson <rth@redhat.com>
741 * include/std/std_limits.h (__glibcpp_plain_char_is_signed,
742 __glibcpp_wchar_t_is_signed, __glibcpp_s8_max, __glibcpp_s8_min,
743 __glibcpp_s8_digits, __glibcpp_s8_digits10, __glibcpp_u8_min,
744 __glibcpp_u8_max, __glibcpp_u8_digits, __glibcpp_u8_digits10,
745 __glibcpp_s16_max, __glibcpp_s16_min, __glibcpp_s16_digits,
746 __glibcpp_s16_digits10, __glibcpp_u16_min, __glibcpp_u16_max,
747 __glibcpp_u16_digits, __glibcpp_u16_digits10, __glibcpp_s32_max,
748 __glibcpp_s32_min, __glibcpp_s32_digits, __glibcpp_s32_digits10,
749 __glibcpp_u32_min, __glibcpp_u32_max, __glibcpp_u32_digits,
750 __glibcpp_u32_digits10, __glibcpp_s64_max, __glibcpp_s64_min,
751 __glibcpp_s64_digits, __glibcpp_s64_digits10, __glibcpp_u64_min,
752 __glibcpp_u64_max, __glibcpp_u64_digits, __glibcpp_u64_digits10,
753 __glibcpp_bool_digits, __glibcpp_signed_char_min,
754 __glibcpp_signed_char_max, __glibcpp_signed_char_digits,
755 __glibcpp_signed_char_digits10, __glibcpp_unsigned_char_min,
756 __glibcpp_unsigned_char_max, __glibcpp_unsigned_char_digits,
757 __glibcpp_unsigned_char_digits10, __glibcpp_char_min,
758 __glibcpp_char_max, __glibcpp_char_digits, __glibcpp_char_digits10,
759 __glibcpp_signed_short_min, __glibcpp_signed_short_max,
760 __glibcpp_signed_short_digits, __glibcpp_signed_short_digits10,
761 __glibcpp_unsigned_short_min, __glibcpp_unsigned_short_max,
762 __glibcpp_unsigned_short_digits, __glibcpp_unsigned_short_digits10,
763 __glibcpp_signed_int_min, __glibcpp_signed_int_max,
764 __glibcpp_signed_int_digits, __glibcpp_signed_int_digits10,
765 __glibcpp_unsigned_int_min, __glibcpp_unsigned_int_max,
766 __glibcpp_unsigned_int_digits, __glibcpp_unsigned_int_digits10,
767 __glibcpp_signed_long_min, __glibcpp_signed_long_max,
768 __glibcpp_unsigned_long_digits, __glibcpp_unsigned_long_digits10,
769 __glibcpp_signed_long_long_min, __glibcpp_signed_long_long_max,
770 __glibcpp_signed_long_long_digits, __glibcpp_signed_long_long_digits10,
771 __glibcpp_wchar_t_min, __glibcpp_wchar_t_max, __glibcpp_wchar_t_digits,
772 __glibcpp_wchar_t_digits10): Remove.
773 (__glibcpp_byte, __glibcpp_word_bits, __glibcpp_word): Remove.
774 (__float_storage, __double_storage, __long_double_storage): Remove.
775 (__glibcpp_signed, __glibcpp_min, __glibcpp_max): New.
776 (__glibcpp_digits, __glibcpp_digits10): New.
777 (numeric_limits<T>::min): Use __glibcpp_min or limits.h builtins.
778 (numeric_limits<T>::max): Use __glibcpp_max or limits.h builtins.
779 (numeric_limits<T>::is_signed, T=char,wchar_t): Use __glibcpp_signed.
780 (numeric_limits<T>::digits): Use __glibcpp_digits.
781 (numeric_limits<T>::digits10): Use __glibcpp_digits10.
782 * testsuite/18_support/numeric_limits.cc (test03): Don't use
783 __glibcpp_s8_digits10 et al; check vs the installed versions
784 of digits10 for particular sizes.
786 * include/std/std_limits.h (__glibcpp_float_is_modulo,
787 __glibcpp_double_is_modulo, __glibcpp_long_double_is_modulo): Kill.
788 (numeric_limits<T>::is_modulo, T floating): Use false.
790 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
792 * Makefile.am (all-multi): Fix multilib parallel build.
794 2002-09-22 Richard Henderson <rth@redhat.com>
796 * include/std/std_limits.h (__glibcpp_f32_round_error,
797 __glibcpp_f64_round_error, __glibcpp_f80_round_error,
798 __glibcpp_f96_round_error, __glibcpp_f128_round_error,
799 __glibcpp_float_round_error, __glibcpp_double_round_error,
800 __glibcpp_long_double_round_error, __glibcpp_float_round_style,
801 __glibcpp_double_round_style, __glibcpp_long_double_round_style): Kill.
802 (numeric_limits<char>::epsilon, round_error): Use constant 0.
803 (numeric_limits<float>::round_error): Use constant 0.5.
804 (numeric_limits<float>::round_style): Use round_to_nearest.
805 (numeric_limits<double>, numeric_limits<long double>): Similarly.
807 * include/std/std_limits.h (__glibcpp_f32_is_iec559,
808 __glibcpp_f64_is_iec559, __glibcpp_f80_is_iec559,
809 __glibcpp_f96_is_iec559, __glibcpp_f128_is_iec559,
810 __glibcpp_float_is_iec559, __glibcpp_double_is_iec559,
811 __glibcpp_long_double_is_iec559): Remove.
812 (numeric_limits<float>::is_iec559): Use has_infinity & has_quiet_NaN.
813 (numeric_limits<double>, numeric_limits<long double>): Similarly.
815 * include/std/std_limits.h (__glibcpp_integral_traps): New.
816 (__glibcpp_char_traps, __glibcpp_short_traps, __glibcpp_int_traps,
817 __glibcpp_long_traps, __glibcpp_wchar_t_traps,
818 __glibcpp_long_long_traps, __glibcpp_plain_char_traps,
819 __glibcpp_signed_char_traps, __glibcpp_unsigned_char_traps,
820 __glibcpp_signed_short_traps, __glibcpp_unsigned_short_traps,
821 __glibcpp_signed_int_traps, __glibcpp_unsigned_int_traps,
822 __glibcpp_signed_long_traps, __glibcpp_unsigned_long_traps,
823 __glibcpp_signed_long_long_traps, __glibcpp_unsigned_long_long_traps,
824 __glibcpp_char_is_modulo, __glibcpp_signed_char_is_modulo,
825 __glibcpp_signed_short_is_modulo, __glibcpp_signed_int_is_modulo,
826 __glibcpp_signed_long_is_modulo, __glibcpp_signed_long_long_is_modulo,
827 __glibcpp_wchar_t_is_modulo, __glibcpp_float_is_bounded,
828 __glibcpp_double_is_bounded, __glibcpp_long_double_is_bounded): Kill.
829 (numeric_limits<T>::traps, T integral): Use __glibcpp_integral_traps.
830 (numeric_limits<T>::is_modulo, T integral): Use true.
831 (numeric_limits<T>::is_bounded, T floating): Use true.
833 2002-09-18 Loren J. Rittle <ljrittle@acm.org>
835 * testsuite/18_support/numeric_limits.cc (test_epsilon): New.
837 2002-09-18 Richard Henderson <rth@redhat.com>
839 * testsuite/18_support/numeric_limits.cc: Add -mieee for alpha.
841 2002-09-16 Benjamin Kosnik <bkoz@redhat.com>
843 * include/c_shadow: Remove.
844 * include/bits/generic_shadow.h: Remove.
845 * include/Makefile.am: Remove generic_shadow.h.
846 * acinclude.m4: Remove c_shadow references.
847 * aclocal.m4: Regenerate.
848 * configure: Regenerate.
850 * mkinclosure: Remove.
852 2002-09-16 Loren J. Rittle <ljrittle@acm.org>
855 * include/ext/stl_rope.h (rope<>): Qualify dependent names
858 2002-09-16 Richard Henderson <rth@redhat.com>
860 * include/std/std_limits.h (__glibcpp_f32_QNaN_bytes,
861 __glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
862 __glibcpp_f32_has_SNaN, __glibcpp_f64_QNaN_bytes,
863 __glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
864 __glibcpp_f64_has_SNaN, __glibcpp_f80_QNaN_bytes,
865 __glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
866 __glibcpp_f80_has_SNaN, __glibcpp_f96_QNaN_bytes,
867 __glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
868 __glibcpp_f96_has_SNaN, __glibcpp_f128_QNaN_bytes,
869 __glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
870 __glibcpp_f128_has_SNaN, __glibcpp_float_QNaN_bytes,
871 __glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
872 __glibcpp_float_has_SNaN, __glibcpp_double_QNaN_bytes,
873 __glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
874 __glibcpp_double_has_SNaN, __glibcpp_long_double_QNaN_bytes,
875 __glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
876 __glibcpp_long_double_has_SNaN): Remove.
877 (__glibcpp_f128_is_iec559): True if IEEE.
878 (__glibcpp_float_QNaN, __glibcpp_float_SNaN): Remove.
879 (__glibcpp_double_QNaN, __glibcpp_double_SNaN): Remove.
880 (__glibcpp_long_double_QNaN, __glibcpp_long_double_SNaN): Remove.
881 (std::numeric_limits<float>::has_quiet_NaN): Use __builtin_nanf.
882 (std::numeric_limits<float>::has_signaling_NaN): Mirror has_quiet_NaN.
883 (std::numeric_limits<float>::quiet_NaN): Use __builtin_nanf.
884 (std::numeric_limits<float>::signaling_NaN): Use __builtin_nansf.
885 (std::numeric_limits<double>): Similarly.
886 (std::numeric_limits<long double>): Similarly.
887 * src/limits.cc (__glibcpp_float_QNaN, __glibcpp_float_SNaN): Remove.
888 (__glibcpp_double_QNaN, __glibcpp_double_SNaN): Remove.
889 (__glibcpp_long_double_QNaN, __glibcpp_long_double_SNaN): Remove.
891 * testsuite/18_support/numeric_limits.cc (test_infinity): New.
892 (test_denorm_min, test_qnan, test_is_iec559): New.
894 2002-09-16 Phil Edwards <pme@gcc.gnu.org>
896 * testsuite/abi_check.cc: Pull shell fragments out into...
897 * config/abi/extract_symvers: ...here. New file.
898 * Makefile.am (check_abi): Change to match.
899 (new-abi-baseline): New target.
900 * Makefile.in: Regenerated.
902 2002-09-16 Richard Henderson <rth@redhat.com>
904 * include/std/std_limits.h (__glibcpp_f32_denorm_min_bytes,
905 __glibcpp_f32_has_denorm, __glibcpp_f64_denorm_min_bytes,
906 __glibcpp_f64_has_denorm, __glibcpp_f80_denorm_min_bytes,
907 __glibcpp_f80_has_denorm, __glibcpp_f96_denorm_min_bytes,
908 __glibcpp_f96_has_denorm, __glibcpp_f128_denorm_min_bytes,
909 __glibcpp_f128_has_denorm, __glibcpp_float_denorm_min_bytes,
910 __glibcpp_float_has_denorm, __glibcpp_double_denorm_min_bytes,
911 __glibcpp_double_has_denorm, __glibcpp_long_double_denorm_min_bytes,
912 __glibcpp_long_double_has_denorm): Remove.
913 (__glibcpp_float_denorm_min, __glibcpp_double_denorm_min,
914 __glibcpp_long_double_denorm_min): Remove.
915 (std::numeric_limits<float>::has_denorm): Use __FLT_DENORM_MIN__.
916 (std::numeric_limits<float>::denorm_min): Likewise.
917 (std::numeric_limits<double>): Similarly.
918 (std::numeric_limits<long double>): Similarly.
919 * src/limits.cc (__glibcpp_float_denorm_min,
920 __glibcpp_double_denorm_min, __glibcpp_long_double_denorm_min): Remove.
922 2002-09-13 Andy Felt <afelt@uwsp.edu>
924 * docs/html/17_intro/howto.html: Update link.
926 2002-09-13 Phil Edwards <pme@gcc.gnu.org>
928 * docs/doxygen/run_doxygen: Massage man page for Iterator_types.3.
929 * docs/html/faq/index.html: Whitespace fixes.
931 2002-09-12 Benjamin Kosnik <bkoz@redhat.com>
933 * libmath/Makefile.am (LIBTOOL): Use --tag CC always for this
935 * libmath/Makefile.in: Regenerate.
936 * src/Makefile.am: Tweak comment.
937 * src/Makefile.in: Regenerate.
939 * config/locale/gnu/c_locale.h: Remove warnings.
940 Inject __uselocale into __gnu_cxx.
941 * config/locale/generic/c_locale.h: Match.
943 2002-09-11 Benjamin Kosnik <bkoz@redhat.com>
945 * include/bits/locale_facets.tcc (__convert_from_v): Remove.
946 * config/locale/gnu/c_locale.h (__convert_from_v): Add.
947 * config/locale/generic/c_locale.h (__convert_from_v): Add.
949 2002-09-11 Paolo Carlini <pcarlini@unitus.it>
951 * include/bits/locale_facets.tcc (__convert_from_v):
952 Use __uselocale instead of setlocale for glibc 2.3+.
954 2002-09-10 Benjamin Kosnik <bkoz@redhat.com>
956 * src/Makefile.am (sources): Edit.
957 (target_sources): New.
958 (target_sources_extra): New.
959 * src/Makefile.in: Regenerate.
960 * acinclude.m4: Set CCODECVT_CC.
961 * aclocal.m4: Regenerate.
962 * configure: Regenerate.
963 * src/locale.cc: Move ctype definitions...
964 * src/ctype.cc: ...here. New file.
965 * src/locale.cc: Move codecvt definitions...
966 * src/codecvt.cc: ...here.
967 * config/generic/codecvt_members.cc: ...and here.
968 * config/gnu/codecvt_members.cc: ...and here.
969 * include/bits/codecvt.h: Tweak.
970 * include/bits/locale_facets: Tweak.
972 * src/bitset.cc: Correct license text.
973 * src/concept-inst.cc: Same.
974 * src/strstream.cc: Same.
975 * src/vterminate.cc: Same.
977 2002-09-10 Gabriel Dos Reis <gdr@soliton.integrable-solutions.net>
979 * include/bits/stl_vector.h (vector<>): Don't use a name with
980 different meanings before and after re-evaluation in the completed
982 * include/bits/basic_string.h (basic_string<>): Likewise.
983 * include/bits/stl_bvector.h (vector<bool>): Likewise.
984 * include/bits/stl_deque.h (std): Likewise.
985 * include/bits/stl_list.h (list<>): Likewise.
986 * include/bits/stl_tree.h (_Rb_tree<>): Likewise.
988 2002-09-10 Paolo Carlini <pcarlini@unitus.it>
990 * include/bits/codecvt.h (class __codecvt_abstract_base):
991 Add __c_locale type _M_c_locale_codecvt member.
992 (class codecvt<char, char, mbstate_t>,
993 class codecvt<wchar_t, char, mbstate_t>): Add new
994 codecvt(__c_locale, size_t) constructor.
995 (codecvt_byname::codecvt_byname): Update.
996 * src/codecvt.cc (class codecvt<char, char, mbstate_t>,
997 class codecvt<wchar_t, char, mbstate_t>): Update codecvt(size_t)
998 constructor and ~codecvt() destructor; define
999 codecvt(__c_locale, size_t) constructor.
1000 (codecvt::do_out): Switch to _M_c_locale_codecvt around wcsrtombs call.
1001 (codecvt::do_in): Ditto for mbsrtowcs call.
1002 * src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
1003 Tweak construction of codecvt facets.
1005 2002-09-10 Danny Smith <dannysmith@users.sourceforge.net>
1007 * include/bits/locale_facets.tcc (__convert_from_v):
1008 Replace strdup with ISO malloc and strcpy.
1010 2002-09-09 Benjamin Kosnik <bkoz@redhat.com>
1012 * docs/html/configopts.html: Change grouping. Note ABI impacts.
1013 Update information for locale model defaults.
1014 * docs/html/install.html: Update include directory
1016 Update testing information.
1017 Update linux issues for named locales.
1018 * docs/html/abi.txt: Fix typos.
1021 * src/misc-inst.cc: Add missing instantiations.
1023 * testsuite/abi_check.cc: Make output results more verbose.
1025 * config/os/gnu-linux/ctype_base.h: Remove shadow headers injections.
1027 2002-09-07 Jakub Jelinek <jakub@redhat.com>
1029 * config/locale/generic/messages_members.cc: Add specialization for
1031 * config/locale/ieee_1003.1-20021/messages_members.cc: Likewise.
1033 2002-09-06 Benjamin Kosnik <bkoz@redhat.com>
1035 * include/bits/localefwd.h: Tweak formatting.
1036 * docs/html/abi.txt: Add.
1038 2002-09-06 Jakub Jelinek <jakub@redhat.com>
1040 * configure.target: Use cpu_include_dir="config/cpu/sparc" for all
1042 * config/cpu/sparc/atomicity.h: New file.
1043 * config/cpu/sparc/sparc32/atomicity.h: Removed.
1044 * config/cpu/sparc/sparc64/atomicity.h: Removed.
1046 2002-09-06 Jakub Jelinek <jakub@redhat.com>
1048 * config/os/gnu-linux/ctype_noninline.h
1049 [_GLIBCPP_USE_SHADOW_HEADERS]: Remove using _C_legacy::__ctype_*.
1050 (ctype<char>::classic_table): If _GLIBCPP_C_LOCALE_GNU, return
1051 _S_c_locale->__ctype_b, otherwise temporarily switch to "C" locale
1052 and return __ctype_b.
1053 (ctype<char>::ctype(__c_locale, const mask*, bool, size_t)): If not
1054 _GLIBCPP_C_LOCALE_GNU, temporarily switch to "C" locale and
1055 initialize using __ctype_{b,tolower,toupper}.
1056 (ctype<char>::ctype(const mask*, bool, size_t)): If
1057 _GLIBCPP_C_LOCALE_GNU, initialize using
1058 _S_c_locale->__ctype_{b,tolower,toupper}, otherwise temporarily
1059 switch to "C" locale and initialize using __ctype_{b,tolower,toupper}.
1061 2002-09-05 Paolo Carlini <pcarlini@unitus.it>
1062 Roland McGrath <roland@redhat.com>
1065 * src/locale.cc (locale::locale(__s)): Use getenv instead
1066 of setenv for the environment locale.
1067 * testsuite/22_locale/ctor_copy_dtor.cc (test03): New.
1069 2002-09-05 Jakub Jelinek <jakub@redhat.com>
1071 * config/abi/ia64-unknown-linux-gnu: Add.
1072 * config/abi/ia64-unknown-linux-gnu/baseline_symbols.txt: New file.
1073 * config/abi/alphaev67-unknown-linux-gnu: Add.
1074 * config/abi/alphaev67-unknown-linux-gnu/baseline_symbols.txt: New file.
1076 2002-09-05 Jonathan Wakely <jw@kayari.org>
1078 * docs/html/Makefile: Use more portable shell wildcard.
1079 * docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
1080 * docs/html/configopts.html, docs/html/documentation.html,
1081 docs/html/explanations.html, docs/html/install.html,
1082 docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
1083 docs/html/17_intro/license.html, docs/html/18_support/howto.html,
1084 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
1085 docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
1086 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
1087 docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
1088 docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
1089 docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
1090 docs/html/27_io/howto.html, docs/html/ext/howto.html,
1091 docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
1093 * docs/html/faq/index.txt: Regenerate.
1095 2002-09-05 Jakub Jelinek <jakub@redhat.com>
1097 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_widen(char)):
1098 Switch to _M_c_locale_ctype around btowc call.
1099 (ctype<wchar_t>::do_widen(const char*, const char *, wchar_t*)):
1100 Switch to _M_c_locale_ctype around mbsrtowcs call.
1101 (ctype<wchar_t>::do_narrow(char)): Switch to _M_c_locale_ctype around
1103 (ctype<wchar_t>::do_narrow(const char*, const char *, wchar_t*)):
1104 Switch to _M_c_locale_ctype around wcsrtombs call.
1106 2002-09-05 Jakub Jelinek <jakub@redhat.com>
1108 * config/locale/gnu/monetary_members.cc
1109 (moneypunct<wchar_t, true>::_M_initialize_moneypunct,
1110 moneypunct<wchar_t, false>::_M_initialize_moneypunct): Use
1111 __uselocale instead of setlocale for glibc 2.3.
1113 2002-09-05 Jakub Jelinek <jakub@redhat.com>
1115 * config/locale/generic/c++locale_internal.h: New header.
1116 * config/locale/gnu/c++locale_internal.h: New header.
1117 * config/locale/gnu/c_locale.cc: Include it.
1118 * config/locale/gnu/collate_members.cc: Include it.
1119 * config/locale/gnu/ctype_members.cc: Include it.
1120 * config/locale/gnu/messages_members.cc: Include it.
1121 * config/locale/gnu/monetary_members.cc: Include it.
1122 * config/locale/gnu/numeric_members.cc: Include it.
1123 * config/locale/gnu/time_members.cc: Include it.
1124 (_M_put): Reorder __strftime_l and __wcsftime_l arguments to match
1126 (_M_initialize_timepunct): Initialize _M_c_locale_timepunct for
1128 * acinclude.m4: Include string.h when testing strcoll_l.
1129 For glibc 2.3 provide __-prefixed prototypes.
1130 (CLOCALE_INTERNAL_H): Set, add AC_LINK_FILES line.
1131 * aclocal.m4, configure: Rebuilt.
1133 2002-09-05 Benjamin Kosnik <bkoz@redhat.com>
1135 * include/bits/locale_facets.h: Add declaration of specialization
1137 * config/locale/gnu/messages_members.cc: Add specialization for
1139 * config/locale/gnu/messages_members.h: Remove generic definition
1142 2002-09-04 Richard Henderson <rth@redhat.com>
1144 * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
1145 __glibcpp_f32_has_infinity, __glibcpp_f64_infinity_bytes,
1146 __glibcpp_f64_has_infinity, __glibcpp_f80_infinity_bytes,
1147 __glibcpp_f80_has_infinity, __glibcpp_f96_infinity_bytes,
1148 __glibcpp_f96_has_infinity, __glibcpp_f128_infinity_bytes,
1149 __glibcpp_f128_has_infinity, __glibcpp_float_infinity_bytes,
1150 __glibcpp_float_has_infinity, __glibcpp_double_infinity_bytes,
1151 __glibcpp_double_has_infinity, __glibcpp_long_double_infinity_bytes,
1152 __glibcpp_long_double_has_infinity): Remove.
1153 (std::numeric_limits<float>, std::numeric_limits<double>,
1154 std::numeric_limits<long double>): Use __builtin_huge_val
1155 to implement has_infinity and infinity().
1156 * src/limits.cc (__glibcpp_float_infinity, __glibcpp_double_infinity,
1157 __glibcpp_long_double_infinity): Remove.
1159 2002-09-03 Richard Henderson <rth@redhat.com>
1161 * include/std/std_limits.h (__glibcpp_f32_min, __glibcpp_f32_max,
1162 __glibcpp_f32_digits, __glibcpp_f32_digits10, __glibcpp_f32_radix,
1163 __glibcpp_f32_epsilon, __glibcpp_f32_min_exponent,
1164 __glibcpp_f32_min_exponent10, __glibcpp_f32_max_exponent,
1165 __glibcpp_f32_max_exponent10, __glibcpp_f64_min, __glibcpp_f64_max,
1166 __glibcpp_f64_digits, __glibcpp_f64_digits10, __glibcpp_f64_radix,
1167 __glibcpp_f64_min_exponent, __glibcpp_f64_min_exponent10,
1168 __glibcpp_f64_max_exponent, __glibcpp_f64_max_exponent10,
1169 __glibcpp_f80_min, __glibcpp_f80_max, __glibcpp_f80_digits,
1170 __glibcpp_f80_digits10, __glibcpp_f80_radix, __glibcpp_f80_epsilon,
1171 __glibcpp_f80_min_exponent, __glibcpp_f80_min_exponent10,
1172 __glibcpp_f80_max_exponent, __glibcpp_f80_max_exponent10,
1173 __glibcpp_f96_min, __glibcpp_f96_max, __glibcpp_f96_digits,
1174 __glibcpp_f96_digits10, __glibcpp_f96_radix, __glibcpp_f96_epsilon,
1175 __glibcpp_f96_min_exponent, __glibcpp_f96_min_exponent10,
1176 __glibcpp_f96_max_exponent, __glibcpp_f96_max_exponent10,
1177 __glibcpp_f128_min, __glibcpp_f128_max, __glibcpp_f128_digits,
1178 __glibcpp_f128_digits10, __glibcpp_f128_radix, __glibcpp_f128_epsilon,
1179 __glibcpp_f128_min_exponent, __glibcpp_f128_min_exponent10,
1180 __glibcpp_f128_max_exponent, __glibcpp_f128_max_exponent10,
1181 __glibcpp_float_min, __glibcpp_float_max, __glibcpp_float_digits,
1182 __glibcpp_float_digits10, __glibcpp_float_radix,
1183 __glibcpp_float_epsilon, __glibcpp_float_min_exponent,
1184 __glibcpp_float_min_exponent10, __glibcpp_float_max_exponent,
1185 __glibcpp_float_max_exponent10, __glibcpp_double_min,
1186 __glibcpp_double_max, __glibcpp_double_digits,
1187 __glibcpp_double_digits10, __glibcpp_double_radix,
1188 __glibcpp_double_epsilon, __glibcpp_double_min_exponent,
1189 __glibcpp_double_min_exponent10, __glibcpp_double_max_exponent,
1190 __glibcpp_double_max_exponent10, __glibcpp_long_double_min,
1191 __glibcpp_long_double_max, __glibcpp_long_double_digits,
1192 __glibcpp_long_double_digits10, __glibcpp_long_double_radix,
1193 __glibcpp_long_double_epsilon, __glibcpp_long_double_min_exponent,
1194 __glibcpp_long_double_min_exponent10,
1195 __glibcpp_long_double_max_exponent,
1196 __glibcpp_long_double_max_exponent10): Remove macros.
1197 (std::numeric_limits<float>, std::numeric_limits<double>,
1198 std::numeric_limits<long double>): Use protected float.h macros.
1200 2002-09-01 Phil Edwards <pme@gcc.gnu.org>
1202 * testsuite/Makefile.am: Use LD_RUN_PATH when linking abi_check.
1203 Fix spelling in comment.
1204 * testsuite/Makefile.in: Regenerate.
1205 * testsuite/abi_check.cc: Use string literals to build 'cmd' rather
1206 than 'quote' and 'bslash'.
1208 2002-08-31 Phil Edwards <pme@gcc.gnu.org>
1210 * acinclude.m4: Minor comment tweaks.
1212 * docs/html/makedoc.awk: New file...
1213 * docs/html/Makefile: ...called from here...
1214 * docs/html/documentation.html: ...to help generate this.
1216 * docs/html/21_strings/howto.html: Prepare for new entry.
1217 * include/bits/basic_string.h: Initial basic_stirng hook for
1218 doxygen. Remove trailing whitespace.
1219 * include/bits/char_traits.h: Point to onlinedocs for new entry.
1220 * include/bits/stringfwd.h: Add doxygen hooks for string and
1223 2002-08-29 Richard Earnshaw <rearnshaw@arm.com>
1225 * config/cpu/arm/cpu_limits.h: New file.
1226 * configure.target: Use config/cpu/arm for XScale and StrongARM
1229 2002-08-28 Gabriel Dos Reis <gdr@integrable-solutions.net>
1231 * include/std/std_limits.h (__glibcpp_char_bits,
1232 __glibcpp_short_bits, __glibcpp_int_bits, __glibcpp_long_bits,
1233 __glibcpp_long_long_bits, __glibcpp_float_bits,
1234 __glibcpp_double_bits, __glibcpp_long_double_bits): Remove. Use
1235 compiler predifined macros.
1236 (__glibcpp_wchar_t_is_signed): Define based on compiler predefined
1239 2002-08-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
1241 * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
1242 __glibcpp_f32_has_infinity, __glibcpp_f32_QNaN_bytes,
1243 __glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
1244 __glibcpp_f32_has_SNaN, __glibcpp_f32_denorm_min_bytes,
1245 __glibcpp_f32_has_denorm, __glibcpp_f32_is_iec559,
1246 __glibcpp_f64_infinity_bytes,
1247 __glibcpp_f64_has_infinity, __glibcpp_f64_QNaN_bytes,
1248 __glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
1249 __glibcpp_f64_has_SNaN, __glibcpp_f64_denorm_min_bytes,
1250 __glibcpp_f64_has_denorm, __glibcpp_f64_is_iec559,
1251 __glibcpp_f80_infinity_bytes,
1252 __glibcpp_f80_has_infinity, __glibcpp_f80_QNaN_bytes,
1253 __glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
1254 __glibcpp_f80_has_SNaN, __glibcpp_f80_denorm_min_bytes,
1255 __glibcpp_f80_has_denorm, __glibcpp_f80_is_iec559,
1256 __glibcpp_f96_infinity_bytes,
1257 __glibcpp_f96_has_infinity, __glibcpp_f96_QNaN_bytes,
1258 __glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
1259 __glibcpp_f96_has_SNaN, __glibcpp_f96_denorm_min_bytes,
1260 __glibcpp_f96_has_denorm, __glibcpp_f96_is_iec559,
1261 __glibcpp_f128_infinity_bytes,
1262 __glibcpp_f128_has_infinity, __glibcpp_f128_QNaN_bytes,
1263 __glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
1264 __glibcpp_f128_has_SNaN, __glibcpp_f128_denorm_min_bytes,
1265 __glibcpp_f128_has_denorm, __glibcpp_f128_is_iec559,
1266 __glibcpp_float_infinity_bytes,
1267 __glibcpp_float_has_infinity, __glibcpp_float_QNaN_bytes,
1268 __glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
1269 __glibcpp_float_has_SNaN, __glibcpp_float_denorm_min_bytes,
1270 __glibcpp_float_has_denorm, __glibcpp_float_is_iec559,
1271 __glibcpp_double_infinity_bytes,
1272 __glibcpp_double_has_infinity, __glibcpp_double_QNaN_bytes,
1273 __glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
1274 __glibcpp_double_has_SNaN, __glibcpp_double_denorm_min_bytes,
1275 __glibcpp_double_has_denorm, __glibcpp_double_is_iec559,
1276 __glibcpp_long_double_infinity_bytes,
1277 __glibcpp_long_double_has_infinity, __glibcpp_long_double_QNaN_bytes,
1278 __glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
1279 __glibcpp_long_double_has_SNaN, __glibcpp_long_double_denorm_min_bytes,
1280 __glibcpp_long_double_has_denorm, __glibcpp_long_double_is_iec559:
1282 (__glibcpp_word_bits, __glibcpp_word): Likewise.
1283 (__glibcpp_byte): New typedef.
1284 (__float_storage, __double_storage, __long_double_storage): New types.
1285 (__glibcpp_float_infinity, __glibcpp_float_QNaN,
1286 __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Now
1288 (__glibcpp_double_infinity, __glibcpp_double_QNaN,
1289 __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
1290 (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
1291 __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
1294 * src/limits.cc (__glibcpp_float_infinity, __glibcpp_float_QNaN,
1295 __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Define.
1296 (__glibcpp_double_infinity, __glibcpp_double_QNaN,
1297 __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
1298 (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
1299 __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
1302 2002-08-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
1304 * include/std/std_limits.h: Indent conditional macro definitions.
1306 2002-08-23 Phil Edwards <pme@gcc.gnu.org>
1308 * Makefile.am (check-abi): Specify current directory.
1309 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Fix shell syntax, use
1310 abi_baseline_triplet in baseline_file.
1311 * Makefile.in, aclocal.m4, configure: Regenerate.
1312 * configure.target: Add abi_baseline_triplet with default.
1313 * testsuite/abi_check.cc: More error checking.
1315 2002-08-23 Phil Edwards <pme@gcc.gnu.org>
1317 * config/linker-map.gnu: Verbose comments, clean up spacing.
1318 * include/bits/stl_alloc.h: Fix indentation of 'if' bodies, return
1320 __allocator: Change class declaration to struct.
1321 * docs/html/17_intro/C++STYLE: Fix typo.
1322 * include/bits/stl_deque.h, include/bits/stl_list.h,
1323 include/bits/stl_map.h, include/bits/stl_multimap.h,
1324 include/bits/stl_vector.h: Fix fallout from typo.
1326 2002-08-22 Benjamin Kosnik <bkoz@redhat.com>
1328 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Set
1329 GLIBCPP_BUILD_ABI_CHECK based on cross compiling, build, host
1331 * aclocal.m4: Regenerate.
1332 * testsuite/Makefile.am (noinst_PROGRAMS): Make conditional on
1334 * testsuite/Makefile.in: Regenerate.
1336 2002-08-22 Loren J. Rittle <ljrittle@acm.org>
1338 * testsuite/abi_check.cc: Enhance shell portability.
1339 Support older binutils/readelf.
1340 * config/abi/i386-unknown-freebsd4.6: Add.
1341 * config/abi/i386-unknown-freebsd4.6/baseline_symbols.txt: New file.
1343 2002-08-22 Paolo Carlini <pcarlini@unitus.it>
1345 * docs/html/faq/index.html: Add Loren James Rittle and
1346 Paolo Carlini to the list of v3 maintainers.
1347 * docs/html/faq/index.txt: Ditto.
1348 * docs/html/17_intro/RELEASE-NOTES: Ditto.
1350 2002-08-22 Benjamin Kosnik <bkoz@redhat.com>
1351 Phil Edwards <pme@gcc.gnu.org>
1352 Ulrich Drepper <drepper@redhat.com>
1354 * Makefile.am (check-abi): New rule.
1355 * Makefile.in: Regenerate.
1356 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Export baseline_file.
1357 * aclocal.m4: Regenerate.
1358 * configure: Regenerate.
1359 * testsuite/Makefile.am (noinst_PROGRAMS): Add abi_check.
1360 (abi_check_SOURCES): Add.
1361 * testsuite/Makefile.in: Regenerate.
1362 * testsuite/abi_check.cc: New file.
1364 * config/abi/i686-pc-linux-gnu: Add.
1365 * config/abi/i686-pc-linux-gnu/baseline_symbols.txt: New file.
1367 2002-08-19 Benjamin Kosnik <bkoz@redhat.com>
1369 * configure.in (libtool_VERSION): Update to 5:1:0.
1370 * configure: Regenerate.
1372 2002-08-19 Jonathan Wakely <jw@kayari.org>
1374 * docs/html/configopts.html, docs/html/documentation.html,
1375 docs/html/install.html, docs/html/22_locale/codecvt.html,
1376 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
1377 docs/html/22_locale/locale.html,
1378 docs/html/22_locale/messages.html: Conform to HTML 4.01 standard.
1380 2002-08-15 Benjamin Kosnik <bkoz@redhat.com>
1382 * include/ext/stdio_filebuf.h (stdio_filebuf): Explicitly set
1383 _M_buf_size_opt to zero when unbuffering.
1384 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
1385 Consistency checks for _M_buf_size_opt.
1387 Revert PR libstdc++/7445
1388 * src/locale.cc (locale::classic): Revert.
1390 * docs/html/17_intro/TODO: Add.
1392 2002-08-15 Phil Edwards <pme@gcc.gnu.org>
1394 * docs/html/documentation.html: Update doxygen links for 3.2.
1396 2002-08-15 Steve Ellcey <sje@cup.hp.com>
1398 * libsupc++/unwind-cxx.h (__cxa_exception): Change catchTemp
1399 type from void* to _Unwind_Ptr.
1400 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION):
1401 Do not cast landing_pad or base_of_encoded_value to (void *).
1402 * libsupc++/eh_throw.cc (__gxx_exception_cleanup):
1403 Accept _URC_NO_REASON as a valid reason code.
1405 2002-08-14 Jonathan Wakely <jw@kayari.org>
1407 * docs/html/22_locale/messages.html: Use HTML entities for
1410 2002-08-13 Jonathan Wakely <jw@kayari.org>
1411 Phil Edwards <pme@gcc.gnu.org>
1413 * docs/html/documentation.html: Use HTML entities for punctuation.
1415 2002-08-09 Phil Edwards <pme@gcc.gnu.org>
1417 * include/bits/deque.tcc, include/bits/list.tcc,
1418 include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
1419 include/bits/stl_list.h, include/bits/stl_map.h,
1420 include/bits/stl_multimap.h, include/bits/stl_queue.h,
1421 include/bits/stl_stack.h, include/bits/stl_vector.h,
1422 include/bits/vector.tcc: Re-indent contents of namespace std,
1423 re-wrap comment lines as necessary.
1425 2002-08-08 Danny Smith <dannysmith@users.sourceforge.net>
1426 Benjamin Kosnik <bkoz@redhat.com>
1428 * include/bits/istream.tcc (basic_istream::ignore): Use sbumpc,
1430 * testsuite/27_io/narrow_stream_objects.cc (test10): Add.
1432 2002-08-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
1434 * libsupc++/Makefile.am (LTCOMPILE): Add LIBSUPCXX_PICFLAGS.
1435 * libsupc++/Makefile.in: Regenerate.
1437 2002-08-05 Gabriel Dos Reis <gdr@nerim.net>
1440 * include/bits/slice_array.h(_DEFINE_VALARRAY_OPERATOR):
1441 Instantiate with new function objects.
1442 * include/bits/mask_array.h (_DEFINE_VALARRAY_OPERATOR): Likewise.
1444 * include/bits/gslice_array.h: Likewise.
1445 * include/bits/indirect_array.h: Likewise.
1447 2002-08-03 Gabriel Dos Reis <gdr@nerim.net>
1449 * testsuite/26_numerics/valarray_name_lookup.cc: Rename from
1450 testsuite/26_numerics/valarray_name_lookup.C
1452 * include/bits/valarray_array.h (_DEFINE_ARRAY_FUNCTION): Use our
1453 object function surrogates.
1454 * include/bits/valarray_meta.h (__shift_left): Fix typo.
1455 (_BinFunClos<>): Remove.
1456 (_BinFunBase<>): Likewise.
1457 (_BinFunBase1<>):Likewise.
1458 (_BinFunBase2<>): Likewise.
1459 (_DEFINE_EXPR_RELATIONAL_OPERATOR): Likewise.
1460 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
1461 (_DEFINE_EXPR_BINARY_OPERATOR): Likewise.
1462 (_DEFINE_EXPR_BINARY_FUNCTION): Likewise.
1463 * include/std/std_valarray.h: Dont #include <functional> anymore.
1464 (_Bitwise_or<>, _Bitwise_and<>, _Bitwise_xor<>, _Shift_left<>,
1465 _Shift_right<>): Remove.
1466 (_DEFINE_VALARRAY_AUGMENTED_ASSIGNMENT): Adjust instantiation.
1467 (_DEFINE_BINARY_OPERATOR): Tweak definition.
1468 (_DEFINE_LOGICAL_OPERATOR): Remove.
1469 * testsuite/26_numerics/valarray_name_lookup.C (main): Add more tests.
1471 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
1473 * include/bits/valarray_meta.h (_UnFunBase<>): Remove.
1474 (_UnFunClos<>): Same.
1475 (_UnBase<>): Reformat. Make first template-parameter non
1477 (_UnClos<>): Likewise.
1478 (_Expr<>): Reformate. Adjust unary member operator return types.
1479 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
1480 (_DEFINE_EXPR_UNARY_FUNCTION): Likewise.
1481 * include/std/std_valarray.h (_UnClos<>): Adjust declaration.
1482 (valarray<>::_UnaryOp<>): New nested traits. Adjust unary member
1483 operator return types. Reformat.
1484 (_Bitwise_not): Remove.
1485 (_DEFINE_VALARRAY_UNARY_OPERATOR): Adjust definition.
1486 * testsuite/26_numerics/valarray_name_lookup.C: New test.
1488 2002-08-02 Danny Smith <dannysmith@users.sourceforge.net>
1490 * config/os/newlib/ctype_inline.h (is): Don't offset _M_table.
1491 (scan_is): Use this->is.
1492 (scan_not): Likewise.
1494 2002-08-02 Benjamin Kosnik <bkoz@redhat.com>
1496 Revert PR libstdc++/6594
1497 * src/strstream.cc (strstreambuf): Revert.
1498 (strstreambuf::overflow): Same.
1499 (strstreambuf::~strstreambuf): Same.
1500 * testsuite/backward/strstream_members.cc (test02): Add.
1502 * docs/html/abi.txt: Update. Spell check.
1504 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add bool test.
1506 * testsuite/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
1507 * testsuite/Makefile.in: Regenerate.
1508 * testsuite/testsuite_hooks.h: Use __throw_exception_again,
1509 include functexcept.h so that -fno-exceptions will build.
1511 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
1513 * include/bits/valarray_meta.h (__unary_plus, __negate,
1514 __bitwise_not, __plus, __minus, __multiplies, __divides,
1515 __modulus, __bitwise_xor, __bitwise_or, __bitwise_and,
1516 __shift_left, __shift_right, __logical_and, __logical_or,
1517 __logical_not, __equal_to, __not_equal_to, __less, __less_equal,
1518 __greater_equal, __greater, __atan2, __pow): New function object
1520 (__fun<>): New function traits class.
1522 2002-08-01 Rick Danos <rdanos@hotmail.com>
1525 * config/os/newlib/ctype_noninline.h (classic_table): Add offset.
1526 * config/os/newlib/ctype_inline.h (is): Use static_cast.
1528 2002-08-01 Neil Booth <neil@daikokuya.co.uk>
1530 * libsupc++/Makefile.am (LT_COMPILE): Remove C++ flags.
1531 * libsupc++/Makefile.in: Regenerate.
1533 2002-08-01 Benjamin Kosnik <bkoz@redhat.com>
1534 Jakub Jelinek <jakub@redhat.com>
1536 * config/linker-map.gnu: Change CXXABI_1 to CXXABI_1.2,
1537 GLIBCPP_3.1 to GLIBCPP_3.2.
1539 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
1540 Mark Mitchell <mark@codesourcery.com>
1543 * libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit):
1544 Change to __hwm_bit.
1545 (__class_type_info): And here.
1547 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
1550 * libsupc++/cxxabi.h
1551 (__base_class_info): Change to __base_class_type_info. 2.9.5p6c
1552 (__base_class_info::__base): Change to __base_type. 2.9.5p6c
1553 (__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c
1554 (__vmi_class_type_info::__base_info): Don't make const, of type
1555 __base_class_type_info, as per 2.9.5p6c
1556 (__pbase_type_info::__qualifier_flags): Change to __flags, as per
1558 (__pbase_type_info::__qualifier_masks): Change to __masks, as per
1560 (__pointer_to_member_type_info::__context_class): Change member to
1561 __context, as per 2.9.5p9.
1562 * libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to
1564 * libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to
1566 * libsupc++/tinfo.cc (__do_find_public_src): Change __base to
1568 * libsupc++/tinfo.cc (__do_dyncast): Same.
1569 * libsupc++/tinfo.cc (__do_upcast): Same.
1571 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
1573 * src/fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.
1575 2002-07-31 Simon Whomsley <whomsley@avacadcam.com>
1577 * docs/html/22_locale/howto.html: Fix.
1579 2002-07-31 Alex Kompel <shurik@sequoiap.com>
1582 * src/locale.cc (locale::classic): Move locks inside !_S_classic
1585 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
1587 * docs/html/abi.txt: Update.
1589 2002-07-30 Benjamin Kosnik <bkoz@redhat.com>
1590 Gabriel Dos Reis <gdr@nerim.net>
1592 * include/bits/char_traits.h: Remove generic definitions.
1593 * include/bits/streambuf_iterator.h (istreambuf_iterator): Use
1595 * include/bits/istream.tcc (istream::readsome): Don't check
1596 against eof, instead use constants.
1597 (istream::sync): Same.
1598 (istream::sentry::sentry): Use eq_int_type.
1599 (istream::get): Same.
1600 * include/bits/ostream.tcc: Change __pad to
1601 __pad<_CharT, _Traits>::_S_pad.
1602 * include/bits/locale_facets.h: Add __pad_traits generic and
1603 ostreambuf_iterator specialization.
1604 * include/bits/locale_facets.tcc: Change __pad into struct __pad
1605 with a _CharT and _Traits template parameter and _S_pad static
1607 * src/locale-inst.cc: Update __pad instantiations.
1609 * include/std/std_fstream.h: Declare _M_underflow_common
1611 * src/fstream.cc: New. Add _M_underflow_common specializations.
1612 * include/bits/fstream.tcc (filebuf::close): Use traits_type.
1613 (filebuf::_M_underflow_common(bool)): Remove generic version, as
1614 sys_ungetc and custom int_types don't get along.
1615 * include/std/std_streambuf.h: Add _M_pos.
1616 * src/Makefile.am (sources): Add fstream.cc.
1617 * src/Makefile.in: Regenerate.
1619 * testsuite/21_strings/capacity.cc: Add char_traits specializations.
1620 * testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
1621 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
1622 * testsuite/22_locale/ctor_copy_dtor.cc: Same.
1623 * testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
1624 * testsuite/27_io/filebuf.cc: ...here.
1625 * testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
1626 specialization for both.
1627 * testsuite/27_io/streambuf.cc: Add instantiation test,
1628 testsuite_hooks include.
1629 * testsuite/27_io/istream.cc: Same.
1630 * testsuite/27_io/ostream.cc: Same.
1631 * testsuite/27_io/fstream.cc: Same.
1632 * testsuite/27_io/stringstream.cc: Same.
1633 * testsuite/27_io/filebuf.cc: Same.
1634 * testsuite/27_io/stringbuf.cc: Same.
1636 2002-07-29 Alan Modra <amodra@bigpond.net.au>
1638 * config/cpu/powerpc/cpu_limits.h (__glibcpp_long_bits): Define.
1639 * configure.target (cpu_include_dir): Use cpu/powerpc for powerpc64.
1640 * config/cpu/powerpc/atomicity.h (__always_swap): Remove.
1641 (__test_and_set): Remove.
1642 (_STWCX): Define and use.
1644 2002-07-26 Phil Edwards <pme@gcc.gnu.org>
1646 * libsupc++/new (placement delete): Remove unused parameter names.
1648 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
1651 * include/std/std_istream.h (basic_iostream): Add typedefs for
1652 char_type, int_type, pos_type, off_type, and traits_type.
1653 * testsuite/27_io/iostream.cc (test01): Add typedef tests.
1654 * testsuite/27_io/istream.cc: Same.
1655 * testsuite/27_io/ostream.cc: Same.
1656 * testsuite/27_io/filebuf.cc: Same.
1657 * testsuite/27_io/stringbuf.cc: Replace content, move to...
1658 * testsuite/27_io/stringbuf_members.cc: ...here.
1659 * testsuite/27_io/streambuf.cc: Replace content, move to...
1660 * testsuite/27_io/streambuf_members.cc: ...here.
1661 * testsuite/27_io/stringstream.cc: Replace content, move to...
1662 * testsuite/27_io/stringstream_members.cc: ...here.
1663 * testsuite/27_io/ios.cc: New file.
1664 * testsuite/27_io/fstream.cc: New file.
1665 * testsuite/27_io/ifstream.cc: New file.
1666 * testsuite/27_io/ofstream.cc: New file.
1667 * testsuite/27_io/istringstream.cc: New file.
1668 * testsuite/27_io/ostringstream.cc: New file.
1670 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
1673 * include/bits/istream.tcc (istream::ignore): Don't extract on
1675 * testsuite/27_io/istream_unformatted.cc (test10): Add.
1677 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
1679 * testsuite/27_io/ios_base_type.cc: Move to...
1680 * testsuite/27_io/ios_base_types.cc: ...here.
1682 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
1685 * src/locale.cc (locale::locale(const char*)): Use setlocale NULL.
1686 * testsuite/22_locale/ctor_copy_dtor.cc (test02): New.
1688 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
1691 * config/linker-map.gnu: Revert strstream patch from 2002-07-01.
1692 * include/Makefile.am (backward_headers): Use strstream, not
1694 * include/Makefile.in: Regenerate.
1695 * include/backward/strstream: Revert.
1696 * include/backward/strstream.h: Remove.
1697 * src/strstream.cc: Revert.
1698 * testsuite/backward/strstream_members.cc: Change include.
1700 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
1703 * include/bits/ios_base.h (ios_base::streampos): Add.
1704 (ios_base::streamoff): Add.
1705 * testsuite/27_io/ios_base_type.cc: New.
1707 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
1710 * libsupc++/new: Add placement delete.
1711 * testsuite/18_support/new_delete_placement.cc: New.
1713 * docs/html/abi.txt: Fix typos.
1715 2002-07-23 Benjamin Kosnik <bkoz@redhat.com>
1717 * docs/html/documentation.html: Remove libstdc++-v3.0.86 links,
1718 confusing usage of "latest."
1719 De-tangle contributor information from introductory notes.
1720 Move abi.txt link placement, activate.
1722 Move chapter info into old FAQ format.
1723 * docs/html/organization.html: Removed, obsoleted by doxygen work.
1724 * docs/html/abi.txt: Add notes on testing ABI changes.
1726 2002-07-20 Phil Edwards <pme@gcc.gnu.org>
1728 * docs/html/abi.txt: New file.
1729 * docs/html/23_containers/howto.html: Tweak vector-overhead text.
1730 * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
1731 Import from upstream, R22.
1733 * include/bits/char_traits.h, include/bits/stl_iterator.h,
1734 include/bits/stl_iterator_base_types.h, libsupc++/exception,
1735 libsupc++/new, libsupc++/typeinfo: Use @brief markup.
1737 * include/bits/deque.tcc, include/bits/stl_alloc.h,
1738 include/bits/stl_deque.h, include/bits/stl_list.h: Postpone removal
1739 of deprecated functions until 3.4. (Same timeframe, different text.)
1740 * include/bits/stl_vector.h: Ditto. Also do the same cleanups that
1741 the other sequence classes received.
1743 2002-07-18 Brendan Kehoe <brendan@zen.org>
1745 * bits/slice_array.h (_DEFINE_VALARRAY_OPERATOR): Fix typo of
1748 2002-07-19 Gabriel Dos Reis <gdr@nerim.net>
1751 * include/bits/slice_array.h
1752 (slice_array<T>::operator=(const T&)): Constify.
1753 * include/bits/gslice_array.h
1754 (gslice_array<T>::operator=(const T&)): Likewise.
1755 * include/bits/mask_array.h
1756 (mask_array<T>::operator=(const T&)): Likewise.
1757 * include/bits/indirect_array.h
1758 (indirect_array<T>::operator=(const T&): Likewise.
1760 2002-07-17 Phil Edwards <pme@gcc.gnu.org>
1762 * docs/doxygen/run_doxygen: Remove template parameter names from
1763 "Compound List" summary page. Reformat.
1764 * docs/html/documentation.html: XHTML fixes.
1766 2002-07-16 Andreas Schwab <schwab@suse.de>
1768 * libsupc++/new (set_new_handler): Declare to not throw any
1770 * libsupc++/new_handler.cc (set_new_handler): Likewise.
1772 2002-07-16 Gabriel Dos Reis <gdr@nerim.net>
1774 * include/Makefile.am (bits_headers): Remove slice.h
1775 * include/Makefile.in: Regenerate.
1776 * include/bits/slice.h (slice): move to include/bits/slice_array.h
1777 * include/bits/slice.h Remove.
1778 * include/std/std_valarray.h: Don't #include bits/slice.h anymore.
1779 * include/bits/slice_array.h: Comply to official coding styles.
1780 * testsuite/26_numerics/slice.cc: New test.
1782 2002-07-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1784 * config/os/solaris/solaris2.5/ctype_base.h (ctype_base): Fix
1785 print to match vendor <ctype.h>.
1787 2002-07-15 Phil Edwards <pme@gcc.gnu.org>
1789 * docs/html/faq/index.html: Fix download links.
1790 * docs/html/faq/index.txt: Regenerate.
1791 * docs/html/17_intro/porting.html: Regenerate from earlier changes.
1793 2002-07-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1795 * configure.target (target_os switch): Allow for irix6*o32
1798 2002-07-10 Gabriel Dos Reis <gdr@nerim.net>
1800 * include/bits/valarray_meta.h (_UnFunBase): Take a second
1801 template parameter. Remove _M_func data member.
1802 (_UnFunClos): Take a third template parameter.
1803 (__abs, __cos, __acos, __cosh, __sin, __asin, __sinh, __tan,
1804 __atan, __tanh, __exp, __log, __log10, __sqrt): New classes.
1805 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
1807 2002-07-08 Eric Christopher <echristo@redhat.com>
1809 * configure.target: Fix comment for mips atomicity. Add
1810 mips*-*-linux* target, enable atomic operations there.
1811 * config/cpu/mips/atomicity.h: Fix comments, remove
1812 #ifndef/#endif. Add push/pop mips2.
1814 2002-07-08 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1816 * include/bits/stl_deque.h (_Deque_alloc_base): Change order of
1817 member declarations to avoid compiler warnings and restore 3.1 ABI.
1819 2002-07-08 Phil Edwards <pme@gcc.gnu.org>
1821 * docs/html/23_containers/howto.html: Link to dk_std::vector paper
1824 2002-07-07 Paolo Carlini <pcarlini@unitus.it>
1827 * include/bits/stl_deque.h (_Deque_iterator::operator-):
1828 Make non-member, as already happens for the comparison
1829 operators in accord with DR179 (Ready).
1830 * testsuite/23_containers/deque_operators.cc: Add test02.
1832 2002-07-04 Benjamin Kosnik <bkoz@redhat.com>
1833 Jack Reeves <jackw_reeves@hotmail.com>
1835 * include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to
1836 size_t, from int_type.
1837 (basic_streambuf::_M_buf_size_opt): Same.
1838 (basic_streambuf::_S_pback_sizex): Same.
1839 * include/bits/streambuf.tcc: Same.
1840 * include/std/std_streambuf.h (basic_streambuf::snextc): Use
1842 (basic_streambuf::uflow): Same.
1843 * include/bits/sstream.tcc (basic_stringbuf::overflow): Use
1845 * include/bits/basic_ios.tcc (basic_ios::init): Use _CharT().
1846 * include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use
1848 (basic_streambuf::xsputn): Same.
1849 (__copy_streambufs): Same.
1851 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
1853 * include/std/std_memory.h: Fix formatting.
1854 * testsuite/20_util/auto_ptr_neg.cc: New.
1855 * testsuite/20_util/auto_ptr.cc: Tweaks.
1856 * testsuite/23_containers/map_operators.cc (test01): Split into..
1857 * testsuite/23_containers/map_operators_neg.cc (test01): ...this. New.
1858 * testsuite/23_containers/set_operators.cc: Move to...
1859 * testsuite/23_containers/set_operators_neg.cc: ...here.
1860 * testsuite/README: Add some more naming rules.
1862 2002-07-03 Steev Wilcox <steev@paradigmds.com>
1865 * include/ext/stl_hashtable.h: Fix.
1866 * testsuite/ext/hash_map.cc: New.
1868 2002-07-03 Jack Reeves <jackw_reeves@hotmail.com>
1869 Kenny Simpson <theonetruekenny@yahoo.com>
1870 Phil Edwards <pme@gcc.gnu.org>
1873 * testsuite/20_util/auto_ptr.cc (test08): New test.
1874 * include/std/std_memory.h (auto_ref_ptr): Make constructor explicit.
1875 (auto_ptr::operator auto_ptr_ref): Fix typo.
1876 General reformatting and doxygenating of the whole file.
1878 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
1881 * include/c/std_cwchar.h: Fix.
1883 2002-07-02 Benjamin Kosnik <bkoz@redhat.com>
1886 * include/bits/locale_facets.h (moneypunct::moneypunct): Add const
1887 char* name parameter.
1888 * config/locale/gnu/monetary_members.cc: Use it.
1889 * config/locale/generic/monetary_members.cc: Same.
1890 * src/localename.cc (_Impl::_Impl(const char*, size_t)): Use it.
1892 * include/backward/strstream.h: Update date.
1894 2002-07-02 Paolo Carlini <pcarlini@unitus.it>
1897 * include/bits/stl_iterator.h
1898 (__normal_iterator::operator-(const __normal_iterator&)):
1899 Make non-member, as already happens for the comparison
1900 operators in accord with DR179 (Ready).
1901 * testsuite/24_iterators/iterator.cc: Add test from the PR.
1903 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
1906 * acinclude.m4: Simplify determination of gcc_version, and move
1907 up to GLIBCPP_CONFIGURE.
1908 * configure.in (release_VERSION): Really remove.
1909 (AM_INIT_AUTOMAKE, AM_CONFIG_HEADER): Move after GLIBCPP_CONFIGURE.
1910 * aclocal.m4, configure: Regenerate.
1912 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
1914 * docs/html/configopts.html, docs/html/install.html: Tweaks.
1915 * include/ext/algorithm, include/ext/hash_map, include/ext/hash_set,
1916 include/ext/iterator, include/ext/numeric, include/ext/rb_tree,
1917 include/ext/slist, include/ext/stl_rope.h: Add doxygen hooks.
1919 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
1921 * include/backward/strstream: Remove namespace std. Transfer to...
1922 * include/backward/strstream.h: ...here. Qualify std names.
1923 * src/strstream.cc: Remove namespace std.
1924 * include/Makefile.am (backward_headers): Remove strstream.h.
1925 * include/Makefile.in: Regenerate.
1926 * config/linker-map.gnu: Export strstream bits.
1928 * src/fstream-inst.cc: Tweak.
1929 * src/io-inst.cc: Same.
1930 * src/istream-inst.cc: Same.
1931 * src/misc-inst.cc: Same.
1932 * src/ostream-inst.cc: Same.
1933 * src/sstream-inst.cc: Same.
1934 * src/valarray-inst.cc: Same.
1935 * src/misc-inst.cc: Remove unused instantiations.
1937 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
1939 * configure.in (libtool_VERSION): Bump to 5:0:0.
1940 * configure: Regenerate.
1942 2002-06-28 Phil Edwards <pme@gcc.gnu.org>
1944 PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161
1945 * include/std/std_queue.h: Include deque.tcc, vector.tcc.
1946 * include/std/std_stack.h: Include deque.tcc.
1947 * testsuite/23_containers/adaptors.cc: New file.
1949 2002-06-27 Phil Edwards <pme@gcc.gnu.org>
1951 * include/bits/stl_alloc.h: Deprecate all 'reallocate' memfns.
1952 * docs/html/ext/howto.html: Update allocator notes.
1954 2002-06-26 Benjamin Kosnik <bkoz@redhat.com>
1956 * configure.in (INTERFACE): Remove.
1957 (release_VERSION): Remove.
1958 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
1959 (libstdcxx_interface): Change. Use gcc methods to determine version.
1960 * configure: Regenerate.
1961 * aclocal.m4: Regenerate.
1963 2002-06-25 DJ Delorie <dj@redhat.com>
1965 * acinclude.m4 (GLIBCPP_CONFIGURE): Split out
1966 GLIBCPP_TOPREL_CONFIGURE.
1967 * aclocal.m4: Likewise.
1968 * configure.in: Call it before AC_CANONICAL_SYSTEM.
1969 * configure: Regenerate.
1971 2002-06-25 Jessica Han <jessica@cup.hp.com>
1973 * config/os/hpux/os_defines.h Define _GLIBCPP_VTABLE_PADDING
1974 * libsupc++/tinfo.cc Handle the 8 byte aligned vtable entries when
1975 _GLIBCPP_VTABLE_PADDING is defined.
1977 2002-06-25 Benjamin Kosnik <bkoz@redhat.com>
1979 * include/bits/stl_alloc.h: Additional formatting.
1981 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
1983 * include/bits/stl_alloc.h: Reformat as per C++STYLE.
1985 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
1987 * config/cpu/*/bits/*: Move header files up a level. Remove bits.
1988 * config/os/*/bits/*: Likewise.
1989 * configure.in: Update.
1990 * configure: Regenerate.
1991 * configure.target: Update.
1992 * docs/html/17_intro/porting.texi: Update.
1994 2002-06-21 Phil Edwards <pme@gcc.gnu.org>
1996 * include/bits/stl_map.h, include/bits/stl_multimap.h,
1997 include/bits/stl_queue.h, include/bits/stl_stack.h: Reformat and
1998 complete doxygenation.
1999 * include/bits/boost_concept_check.h: Minor comment.
2001 2002-06-21 Benjamin Kosnik <bkoz@redhat.com>
2003 * include/c_compatibility: New.
2004 * include/c_compatibility/assert.h: New.
2005 * include/c_compatibility/ctype.h: New.
2006 * include/c_compatibility/errno.h: New.
2007 * include/c_compatibility/float.h: New.
2008 * include/c_compatibility/iso646.h: New.
2009 * include/c_compatibility/limits.h: New.
2010 * include/c_compatibility/locale.h: New.
2011 * include/c_compatibility/math.h: New.
2012 * include/c_compatibility/setjmp.h: New.
2013 * include/c_compatibility/signal.h: New.
2014 * include/c_compatibility/stdarg.h: New.
2015 * include/c_compatibility/stddef.h: New.
2016 * include/c_compatibility/stdio.h: New.
2017 * include/c_compatibility/stdlib.h: New.
2018 * include/c_compatibility/string.h: New.
2019 * include/c_compatibility/time.h: New.
2020 * include/c_compatibility/wchar.h: New.
2021 * include/c_compatibility/wctype.h: New.
2023 * include/c/std_cerrno.h: Get out of the way... define errno.
2024 * include/c/std_cmath.h: Add abs, modf overloads.
2025 Undefine C99 isms. Still not sure how to deal with this sanely.
2026 * include/c/std_csetjmp.h: Tweak.
2027 * include/c/std_cwchar.h: Include cstddef for size_t.
2029 * include/c_std/std_cmath.h: Remove extra function.
2031 Pendantic std usage in testsuites.
2032 * testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
2034 * testsuite/17_intro/header_cwchar.cc: Tweak.
2035 * testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
2037 * testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
2038 * testsuite/22_locale/ctype_to_char.cc (test05): Same.
2039 * testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
2040 * testsuite/22_locale/ctype_is_char.cc (test05): Same.
2041 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
2042 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
2043 * testsuite/22_locale/time_get_members_char.cc (test08): Same.
2044 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
2045 * testsuite/22_locale/time_put_members_char.cc (test04): Same.
2046 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
2047 * testsuite/22_locale/num_put_members_char.cc (test04): Same.
2048 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
2049 * testsuite/22_locale/numpunct_members_char.cc (test03): Same.
2050 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
2051 * testsuite/22_locale/num_get_members_char.cc: Same.
2052 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
2053 * testsuite/22_locale/money_put_members_char.cc (test07): Same.
2054 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
2055 * testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
2056 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
2057 * testsuite/22_locale/money_get_members_char.cc (test08): Same.
2058 * testsuite/22_locale/messages_members_char.cc (test03): Same.
2059 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
2060 * testsuite/22_locale/collate_members_char.cc (test04): Same.
2061 * testsuite/26_numerics/fabs_inline.cc: Use std::printf.
2062 * testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
2063 * testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.
2065 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
2067 * libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
2070 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
2072 * src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
2073 Use size_type instead of unsigned long.
2075 2002-06-20 Steve Ellcey <sje@cup.hp.com>
2077 * src/ext-inst.cc (_S_fetch): Add explicit templates for char and
2079 (_S_min_len): Ditto.
2081 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
2083 * include/Makefile.am: Add rules.
2084 * include/Makefile.in: Regenerate.
2086 * acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
2087 * aclocal.m4: Regenerate.
2088 * configure: Regenerate.
2089 * configure.target (c_model, c_compatibility): Add.
2091 * libsupc++/Makefile.am (c_sources): New.
2092 (libsupc___la_SOURCES): Add c_sources.
2093 (LTCOMPILE): Remove INCLUDES.
2094 (GCC_INCLUDES): New.
2095 (C_COMPILE): New, like COMPILE but without INCLUDES.
2096 (cxa_demangle.o): Use C_COMPILE.
2097 (dyn-string.o): Use C_COMPILE.
2099 * include/c/std_cstdarg.h: Define __need___va_list.
2100 * include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
2101 need_NULL, need_offsetof.
2103 2002-06-19 Steve Ellcey <sje@cup.hp.com>
2105 * configure.in (HAVE_FINITE*, HAVE_ISINF*, HAVE_ISNAN*): Remove
2106 definitions in hpux11 cross-build because these functions do
2107 not exist on hpux11 (but some exist on hpux10); move defaults out
2108 into existing sections.
2109 * configure: Regenerate.
2111 2002-06-18 Benjamin Kosnik <bkoz@redhat.com>
2113 * include/c/std_cwchar.h: Guard. Add mbstate_t bits.
2114 * include/c/std_cwctype.h: Guard.
2116 * libsupc++/eh_alloc.cc: Tweak include order.
2117 * libsupc++/pure.cc: Use cstdio.
2118 * libsupc++/new_op.cc: Remove malloc forward declaration, as
2119 cstdlib brings it in. Use std::malloc.
2121 * src/Makefile.am (sources): Remove cmath.cc.
2122 * src/Makefile.in: Regenerate.
2123 * src/cmath.cc: Remove.
2125 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
2127 * configure.target: Force mips to use the generic cpu routines.
2129 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
2131 * configure.host: Delete file.
2132 * configure.target: More documentation. Factor out common parts of
2133 script into "intelligent" settings about defaults. Remove redundancy.
2135 * acinclude.m4: Update comments. Do not call configure.host.
2136 (GLIBCPP_ENABLE_SYMVERS): If disabled, do not bother checking for
2138 * configure.in: Slight reformatting, more comments. Factor out
2139 "config/" from all the directories.
2140 * docs/html/17_intro/porting.texi: Update and expand.
2141 * testsuite/Makefile.am (AM_RUNTESTFLAGS): Move empty setting
2142 from configure.host.
2144 * aclocal.m4, configure, docs/html/17_intro/porting.html,
2145 testsuite/Makefile.in: Regenerate.
2147 2002-06-16 Phil Edwards <pme@gcc.gnu.org>
2149 * docs/doxygen/TODO: Update.
2150 * docs/doxygen/tables.html: Uncomment magical middle column.
2151 * docs/doxygen/user.cfg.in: Kludge to ignore function-like macros.
2152 * include/bits/stl_queue.h: Doxygenate and reformat.
2153 * include/bits/ios_base.h, include/std/std_streambuf.h: Add comment
2154 for deprecated names required by the standard.
2156 2002-06-14 J.T. Conklin <jtc@acorntoolworks.com>
2158 * configure.in (target_alias): Fix.
2159 * configure: Regenerate.
2160 * aclocal.m4: Regenerate.
2162 2002-06-12 Phil Edwards <pme@gcc.gnu.org>
2164 * include/Makefile.am: Add new files.
2165 * include/Makefile.in: Regenerate.
2167 * include/bits/stl_deque.h, include/bits/stl_list.h,
2168 include/bits/stl_vector.h: Clean up, reformat. Move definitions...
2169 * include/bits/deque.tcc, include/bits/list.tcc,
2170 include/bits/vector.tcc: ...to here. New files.
2172 * include/ext/stl_hashtable.h: Inclide correct full headers.
2173 * include/std/std_deque.h: Include .tcc files for now.
2174 * include/std/std_list.h: Likewise.
2175 * include/std/std_vector.h: Likewise.
2177 2002-06-12 Daniel Jacobowitz <drow@mvista.com>
2179 * Makefile.am: Add FLAGS_TO_PASS.
2180 * Makefile.in: Regenerated.
2182 2002-06-11 J.T. Conklin <jtc@acorntoolworks.com>
2183 Benjamin Kosnik <bkoz@redhat.com>
2185 * configure.target: Set os_include_dir to config/os/qnx/qnx6.1
2187 * configure.in: Add support for *-qnx6.[12]*.
2188 * configure: Regenerate.
2190 * config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
2192 * config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
2193 ctype_noninline.h, os_defines.h: New files.
2195 2002-06-10 Loren J. Rittle <ljrittle@acm.org>
2197 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): Reorder and
2198 include all required headers for test against older POSIX standard.
2199 (GLIBCPP_CHECK_SETRLIMIT): Likewise.
2200 (ac_setrlimit): Likewise.
2201 * aclocal.m4: Regenerate.
2202 * configure: Regenerate.
2203 * testsuite/testsuite_hooks.cc: Reorder and include all
2204 required headers for use against older POSIX standard.
2206 2002-06-08 Paolo Carlini <pcarlini@unitus.it>
2208 * testsuite/backwards/strstream_members.cc: New.
2210 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
2212 * include/backwards/strstream: Format.
2213 * src/strstream.cc: Format.
2215 2002-06-08 Andreas Schwab <schwab@suse.de>
2217 * src/strstream.cc (strstreambuf::overflow): Set _M_buf,
2218 _M_buf_size and _M_buf_size_opt to the new buffer and size.
2220 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
2222 * config/os/generic/bits/ctype_noninline.h: Tweak format.
2224 2002-06-07 Steve Ellcey <sje@cup.hp.com>
2226 * src/locale-inst.cc (__codecvt_abstract_base):
2227 Put inside _GLIBCPP_USE_WCHAR_T ifdef.
2228 * include/bits/istream.tcc (basic_istream): Ditto.
2231 * include/bits/ostream.tcc (basic_ostream): Ditto.
2235 (operator<<): Ditto.
2237 2002-06-07 Phil Edwards <pme@gcc.gnu.org>
2239 * mkcheck.in: Link against local testsuite library.
2240 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Move null
2241 implementation out...
2242 * testsuite/testsuite_hooks.cc: ...to here.
2244 2002-06-06 Loren J. Rittle <ljrittle@acm.org>
2246 * src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
2247 * include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
2248 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
2249 * src/Makefile.in: Regenerate (explicitly with --cygnus option).
2250 * testsuite/Makefile.in: Likewise.
2252 2002-06-05 David Edelsohn <edelsohn@gnu.org>
2254 * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
2255 Call external symbol.
2257 2002-06-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2259 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
2260 Search correct multilib testsuite dir for libv3test.
2262 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
2263 Gaby Dos Reis <gdr@codesourcery.com>
2265 * include/bits/basic_string.tcc
2266 (basic_string::_S_construct(forward_iterator_tag):
2267 Fix typo in null pointer check.
2268 * testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
2270 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
2272 * testsuite/22_locale/money_get_members_char.cc
2273 (test02): Add decimal point to long double constants.
2274 * testsuite/22_locale/money_get_members_wchar_t.cc
2276 * testsuite/22_locale/money_put_members_char.cc
2277 (test02, test03, test06): Likewise.
2278 * testsuite/22_locale/money_put_members_wchar_t.cc:
2279 (test02, test03, test06): Likewise.
2280 * testsuite/22_locale/num_get_members_char.cc:
2281 (test02, test01): Likewise; suffix long long constants with LL.
2282 * testsuite/22_locale/num_get_members_wchar_t.cc:
2283 (test02, test01): Likewise.
2284 * testsuite/22_locale/num_put_members_char.cc:
2285 (test02, test01): Likewise.
2286 * testsuite/22_locale/num_put_members_wchar_t.cc:
2287 (test02, test01): Likewise.
2289 2002-06-03 Marc Espie <espie@openbsd.org>
2291 * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
2292 assembly for old assemblers.
2294 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
2296 * include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
2298 (vector<bool>::swap(reference,reference)): ...to this.
2300 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
2302 * docs/doxygen/TODO: Update.
2303 * docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS): Set to off, now that
2304 some class members are in 14882 order.
2305 * docs/html/ext/howto.html: 3.1 is in the past now, not the future.
2307 * include/std/std_bitset.h: Update comment.
2308 * src/bitset.cc: Update comments, clean up spacing.
2310 * src/Makefile.am (sources): Alphabetize for convenience.
2311 * src/Makefile.in: Regenerate.
2313 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
2315 * include/bits/stl_deque.h, include/bits/stl_list.h,
2316 include/bits/stl_vector.h: Reformat to (mostly) match C++STYLE.
2317 Reorder to match 14882. Doxygen blocks for all public members.
2319 2002-05-31 Marcus Meissner <meissner@suse.de>
2322 * include/bits/stl_bvector.h: Use UL suffix for unsigned longs.
2323 * testsuite/23_containers/vector_bool.cc (test02): New test.
2325 2002-05-30 Marc Espie <espie@openbsd.org>
2327 * configure.in: Always check for sys/types.h
2328 * configure: Regenerate.
2330 2002-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2332 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
2333 Rebuild the wrapper file every time this proc is called.
2335 2002-05-28 Phil Edwards <pme@gcc.gnu.org>
2337 * testsuite/Makefile.am (noinst_LIBRARIES): New target. Pull in
2339 * testsuite/Makefile.in: Regenerate.
2340 * testsuite/testsuite_hooks.h (gnu_copy_tracker): Move from
2341 list_modifiers.cc and rename from 'T'. Move code bodies...
2342 * testsuite/testsuite_hooks.cc: ...to here. New file.
2343 * testsuite/23_containers/list_modifiers.cc: Move 'T' class out.
2344 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
2345 Add libv3test.a to link options.
2347 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
2349 * src/misc-inst.cc: Define unnecessary algorithm
2350 instantiations. Break apart instantiations into groupings below.
2351 * src/fstream-inst.cc: New.
2352 * src/io-inst.cc: New.
2353 * src/istream-inst.cc: New.
2354 * src/ostream-inst.cc: New.
2355 * src/streambuf-inst.cc: New.
2356 * src/sstream-inst.cc: New.
2357 * src/Makefile.am (sources): Add files.
2358 * src/Makefile.in: Regenerate.
2360 * acinclude.m4: Work around automake 1.4-p5 bug, change
2361 AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
2363 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
2366 * config/os/solaris/solaris2.6/bits/ctype_noninline.h
2367 (classic_table): Fix.
2368 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2370 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
2372 * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
2373 _GLIBCPP_USE_WCHAR_T.
2374 * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
2375 * testsuite/22_locale/ctype_to_wchar_t.cc: Same.
2376 * testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
2378 2002-05-26 Carlo Wood <carlo@alinoe.com>
2379 Paolo Carlini <pcarlini@unitus.it>
2382 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
2383 (__enc_traits::operator=): add missing return statement.
2385 2002-05-24 Phil Edwards <pme@gcc.gnu.org>
2388 * include/std/std_bitset.h (_Base_biteset<0>): New specialization.
2389 (operator>>): If nothing was extracted, don't fail in the
2391 * testsuite/23_containers/bitset_ctor.cc (test02): New test.
2393 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
2396 * testsuite/22_locale/ctype_narrow_char.cc: New.
2397 * testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
2398 * testsuite/22_locale/ctype_widen_char.cc: New.
2399 * testsuite/22_locale/ctype_widen_wchar_t.cc: New.
2400 * testsuite/22_locale/ctype_members_char.cc: Move some bits into...
2401 * testsuite/22_locale/ctype_is_char.cc: ...this.
2402 * testsuite/22_locale/ctype_to_char.cc: ...and this.
2403 * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
2404 * testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
2405 * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
2407 * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
2409 2002-05-24 Dale Peakall <dale@peakall.net>
2412 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
2413 * config/locale/generic/ctype_members.cc: Same.
2415 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
2418 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
2419 for empty string literal.
2420 (ostream::operator<<(const _CharT*)): Same.
2421 (ostream<char>::operator<<(const char*)): Same.
2422 (ostream<char>::operator<<(streambuf*)): Same.
2423 * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
2424 * testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
2426 2002-05-23 Benjamin Kosnik <bkoz@redhat.com>
2428 * configure.in (release_VERSION): Update to 3.1.1.
2429 (libtool_VERSION): Update to 4:1:0.
2430 * configure: Regenerate.
2432 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
2434 * include/bits/stl_pair.h: Tweak comment markup.
2436 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
2438 * include/ext/stdio_filebuf.h: Add header guards. Doxygenate.
2440 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
2442 * docs/doxygen/user.cfg.in (EXCLUDE): Add 'CVS'.
2444 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
2446 * include/bits/stl_vector.h: Reformat to follow C++STYLE.
2447 Doxygenate all public members. Reorder to follow 14882.
2448 (vector::push_back(void)): Remove previously-deprecated fn.
2449 (vector::insert(iterator), vector::_M_insert_aux(iterator)):
2450 Deprecate for removal in 3.3.
2452 2002-05-20 Phil Edwards <pme@gcc.gnu.org>
2454 * docs/html/faq/index.html (5.4): Recommend against -I options for
2455 finding the ext headers.
2456 * docs/html/faq/index.txt: Regenerate.
2458 2002-05-19 Paolo Carlini <pcarlini@unitus.it>
2460 * testsuite/23_containers/deque_operators.cc (test01):
2461 Fix minor typo in last commit.
2463 2002-05-18 Paolo Carlini <pcarlini@unitus.it>
2466 * include/bits/stl_deque.h (_Deque_iterator::operator==,
2467 operator!=, operator<, operator>, operator>=, operator<=):
2468 Make non-member functions, to allow comparing const and
2469 non-const iterators in any order.
2470 * testsuite/23_containers/deque_operators.cc: New testfile.
2472 2002-05-16 Phil Edwards <pme@gcc.gnu.org>
2474 * docs/html/faq/index.html: Update not-a-bug list with basic_file.h.
2475 * docs/html/faq/index.txt: Regenerate.
2477 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2479 * Makefile.am: Allow for PWDCMD to override hardcoded pwd.
2480 * acinclude.m4: Likewise.
2481 * docs/html/Makefile: Likewise.
2482 * aclocal.m4: Regenerate.
2483 * configure: Regenerate.
2484 * Makefile.in: Regenerate.
2486 2002-05-15 Loren J. Rittle <ljrittle@acm.org>
2489 * include/bits/c++config (__USE_MALLOC): Report case where
2490 the user improperly defined it on the command line.
2492 2002-05-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2494 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
2495 Retrieve current limits before setting.
2497 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
2500 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
2502 (ostream::operator<<(const _CharT*)): Same.
2503 (ostream<char>::operator<<(const char*)): Same.
2504 * testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
2506 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
2509 * src/strstream.cc (strstreambuf): Fix leak.
2511 2002-05-15 Paolo Carlini <pcarlini@unitus.it>
2514 * include/bits/istream.tcc (istream::getline, ignore):
2515 Upon __idelim (__delim) call sbumpc() not snextc().
2516 * testsuite/27_io/narrow_stream_objects.cc:
2517 Add test08 and test09.
2519 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
2521 * testsuite/22_locale/ctype_scan_char.cc: Tweak.
2522 * testsuite/22_locale/ctype_scan_wchar_t.cc: New.
2524 * docs/html/install.html: Fix.
2526 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
2528 * include/bits/fstream.tcc
2529 (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
2531 * src/localename.cc (locale::_Impl::_M_install_facet): Same.
2533 * docs/html/install.html: Tweak, add bits about required locales
2534 for the 22_locale tests when using the gnu model.
2536 * testsuite/27_io/istream_sentry.cc: Tweak.
2538 2002-05-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2540 * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
2541 Fix typo, use this->is() rather than manually (and perhaps
2542 incorrectly) inlining it.
2543 * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
2545 * testsuite/22_locale/ctype_scan_char.cc: New file.
2547 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
2548 Jakub Jelinek <jakub@redhat.com>
2550 * testsuite/22_locale/money_get_members_char.cc
2551 (test01, test02, test04): Use the de_DE@euro named locale
2552 instead of de_DE to allow for an uniform behaviour with
2553 both old and Euro-era localedata; tweak some tests.
2554 * testsuite/22_locale/money_get_members_wchar_t.cc
2555 (test01, test02, test04): Likewise.
2556 * testsuite/22_locale/money_put_members_char.cc
2557 (test01, test02, test04): Likewise.
2558 * testsuite/22_locale/money_put_members_wchar_t.cc
2559 (test01, test02, test04): Likewise.
2561 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
2563 * testsuite/22_locale/codecvt_members_char_char.cc
2564 (test03): Robustify wrt localedata.
2565 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
2566 * testsuite/22_locale/collate_members_char.cc (test04): Likewise.
2567 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
2568 * testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
2569 * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
2570 * testsuite/22_locale/messages_members_char.cc (test03): Likewise.
2571 * testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
2572 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
2573 * testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
2574 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
2575 * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
2576 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
2577 * testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
2578 * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
2579 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
2580 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
2581 * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
2582 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
2583 * testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
2584 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
2585 * testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
2586 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
2588 2002-05-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2590 * config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
2593 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
2595 * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
2596 to 64 for hppa 64-bit port.
2597 (__glibcpp_long_double_bits): Define to 64 for all hppa ports.
2599 2002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2601 * acinclude.m4 (enable_symvers): Quote $LD.
2602 * aclocal.m4: Regenerate.
2603 * configure: Likewise.
2605 2002-05-09 Jakub Jelinek <jakub@redhat.com>
2607 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
2608 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
2611 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
2613 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
2614 script entry, and set LD to it when configuring multilibs.
2615 * configure: Rebuilt.
2617 2002-05-07 Mark Mitchell <mark@codesourcery.com>
2619 * configure.in: Add support for WindISS.
2620 * configure: Regenerated.
2621 * configure.target: Add support for WindISS.
2622 * config/os/windiss/bits/ctype_base.h: New file.
2623 * config/os/windiss/bits/ctype_inline.h: Likewise.
2624 * config/os/windiss/bits/ctype_noninline.h: Likewise.
2625 * config/os/windiss/bits/os_defines.h: Likewise.
2627 2002-05-06 Paolo Carlini <pcarlini@unitus.it>
2629 Test all the facets for the temporary "C" locale switch issue.
2630 * testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
2631 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
2632 * testsuite/22_locale/collate_members_char.cc: Add test04.
2633 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
2634 * testsuite/22_locale/ctype_members_char.cc: Add test05.
2635 * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
2636 * testsuite/22_locale/messages_members_char.cc: Add test03.
2637 * testsuite/22_locale/money_get_members_char.cc: Add test08.
2638 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
2639 * testsuite/22_locale/money_put_members_char.cc: Add test07.
2640 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
2641 * testsuite/22_locale/moneypunct_members_char.cc: Add test03.
2642 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
2643 * testsuite/22_locale/num_get_members_char.cc: Add test06.
2644 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
2645 * testsuite/22_locale/numpunct_members_char.cc: Add test03.
2646 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
2647 * testsuite/22_locale/time_get_members_char.cc: Add test08.
2648 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
2649 * testsuite/22_locale/time_put_members_char.cc: Add test04.
2650 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
2652 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
2653 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
2655 2002-05-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2657 * config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
2658 __EXTENSIONS__): Ensure they are always defined.
2660 2002-05-06 Phil Edwards <pme@gcc.gnu.org>
2662 * docs/html/documentation.html: Fix broken link.
2664 2002-05-04 Benjamin Kosnik <bkoz@redhat.com>
2665 Paolo Carlini <pcarlini@unitus.it>
2667 * testsuite/22_locale/num_put_members_char.cc: Add test04(),
2668 testing for the locale_facets.tcc entry of the previous commit.
2669 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
2671 2002-05-04 Takeshi Kobayakawa <tskoba@mte.biglobe.ne.jp>
2673 * config/locale/generic/c_locale.cc
2674 (__convert_to_v(float, double, long double)):
2675 Fix the temporary switch to the "C" locale, saving and
2676 restoring in the proper way the current locale.
2677 * config/locale/generic/time_members.cc
2678 (__timepunct<char, wchar_t>::_M_put): Likewise.
2679 * config/locale/gnu/messages_members.cc
2680 (messages<char>::do_get): Likewise.
2681 * config/locale/gnu/messages_members.h
2682 (messages<_CharT>::do_get): Likewise.
2683 * config/locale/gnu/time_members.cc
2684 (__timepunct<char, wchar_t>::_M_put): Likewise.
2685 * include/bits/locale_facets.tcc (__convert_from_v): Likewise.
2687 2002-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2689 * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
2690 * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
2692 * Makefile.in, config.h.in, configure: Regenerate.
2694 2002-05-03 Benjamin Kosnik <bkoz@redhat.com>
2697 * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
2698 * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
2700 2002-05-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2702 * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
2704 (ctype:_M_table): Initialize to classic_table(), not __ctype.
2706 2002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2708 * configure.in: Update local install.html, configopts.html paths.
2709 * configure: Regenerate.
2711 2002-05-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2713 * config/os/irix/irix5.2/bits/os_defines.h
2714 (__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
2716 * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
2719 2002-05-02 Phil Edwards <pme@gcc.gnu.org>
2721 * docs/html/faq/index.html: Update list in #4.1.
2722 * docs/html/faq/index.txt: Regenerated.
2724 2002-05-02 Benjamin Kosnik <bkoz@redhat.com>
2726 * docs/html/17_intro/RELEASE-NOTES (New): Update.
2728 2002-05-01 Phil Edwards <pme@gcc.gnu.org>
2730 * include/std/std_bitset.h: Fix doxygen comments.
2731 * docs/html/documentation.html: Minor tweaks for 3.1.
2732 * docs/html/27_io/howto.html: Likewise.
2733 * docs/html/ext/howto.html: Likewise, mention stdio_filebuf.
2734 * docs/html/faq/index.html: Likewise.
2735 * docs/html/faq/index.txt: Regenerated.
2737 2002-05-01 Benjamin Kosnik <bkoz@redhat.com>
2740 * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
2741 (istreambuf_iterator::equal): Use it.
2742 (istreambuf_iterator::operator*): Use it.
2744 2002-05-01 Paolo Carlini <pcarlini@unitus.it>
2747 * include/bits/stl_uninitialized.h
2748 (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
2749 Fix typo in 2001-07-17 commit: typedef _ValueType to
2750 iterator_traits<_ForwardIter> not <_InputIter>.
2751 * testsuite/23_containers/vector_ctor.cc: Add test04.
2753 2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
2756 * include/c_std/std_cctype.h: Include bits/c++config.h.
2757 * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
2759 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
2761 * include/ext/stdio_filebuf.h: New file.
2762 * include/ext/enc_filebuf.h: New file.
2763 * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
2764 * config/io/basic_file_stdio.cc: Same.
2765 * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
2766 Remove _M_unbuf hacks.
2767 (filebuf::_M_destroy_internal_buffer): Same.
2768 (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
2769 (filebuf::fd): Remove.
2770 * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
2771 (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
2772 (filebuf::fd): Remove.
2773 * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
2775 (ios_base::_S_ios_destroy): Same.
2776 * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
2777 * include/Makefile.am (ext_headers): Add ext_filebuf.h,
2778 stdio_filebuf.h. * include/Makefile.in: Regenerate.
2780 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
2783 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
2785 2002-04-29 Benjamin Kosnik <bkoz@redhat.com>
2788 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
2790 * include/bits/streambuf_iterator.h: Match stream_iterator.h.
2791 (istreambuf_iterator::operator++): Invalidate on eof.
2792 (istreambuf_iterator::operator++(int)): Same.
2793 (istreambuf_iterator::operator*): Same.
2795 2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2797 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
2798 of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
2801 2002-04-28 Benjamin Kosnik <bkoz@redhat.com>
2804 * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
2805 (__basic_file::sys_ungetc): Take int.
2806 * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
2807 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
2808 Use sys_getc for unbuffered input.
2809 * testsuite/27_io/narrow_stream_objects.cc (test06): New.
2811 * src/ios.cc (_M_grow_words): Adjust error checking.
2812 * testsuite/27_io/ios_base_storage.cc: Same.
2814 2002-04-28 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2816 * include/ext/stl_hashtable.h: Import __iterator_category
2818 2002-04-28 Paolo Carlini <pcarlini@unitus.it>
2819 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2821 * testsuite/ext/hash_set.cc: New testfile.
2823 2002-04-27 Benjamin Kosnik <bkoz@redhat.com>
2825 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
2827 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
2828 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
2830 2002-04-26 Paolo Carlini <pcarlini@unitus.it>
2832 * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
2833 Fix and tighten __throw_length_error check.
2834 * testsuite/21_strings/replace.cc (test05): New.
2835 * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
2837 2002-04-23 Loren J. Rittle <ljrittle@acm.org>
2839 * include/std/std_fstream.h (basic_filebuf::sync): Hoist
2840 unconditional flush on lower-layer handle to here...
2841 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
2842 ...from here. Optimize remaining _M_file.sync() call pattern.
2843 * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
2846 2002-04-23 Jason Merrill <jason@redhat.com>
2848 * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
2849 output-only filebufs.
2850 * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
2852 (basic_filebuf::_M_set_determinate): Likewise.
2855 * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
2856 value properly in the trivial case.
2857 * testsuite/27_io/istream_seeks.cc (test04): Make sure that
2858 tellg() returns the right value after a read.
2860 2002-04-23 Hans-Peter Nilsson <hp@bitrange.com>
2862 * config/cpu/mmix/bits/cpu_limits.h: New file.
2863 * configure.target (CPULIMITSH): Use it.
2865 2002-04-22 Loren J. Rittle <ljrittle@acm.org>
2867 * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
2868 * docs/html/17_intro/porting.html: Rebuilt.
2870 2002-04-20 Jason Merrill <jason@redhat.com>
2873 * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
2875 (basic_streambuf::_M_set_determinate): Likewise.
2876 (basic_streambuf::_M_is_indeterminate): Likewise.
2877 * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
2878 non-static data member.
2879 (basic_filebuf::_M_underflow_common): New non-static member function.
2880 (basic_filebuf::_M_underflow, _M_uflow): Call it.
2881 (basic_filebuf::sync): Avoid useless seeking.
2882 (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
2884 (basic_filebuf::_M_set_determinate): Likewise.
2885 (basic_filebuf::_M_is_indeterminate): Likewise.
2886 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
2887 back to _M_out_beg if necessary.
2888 (basic_filebuf::seekoff): Likewise.
2889 (basic_filebuf::_M_underflow_common): Generalization of old
2890 underflow(). Don't seek back to _M_in_beg.
2891 * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
2892 * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
2893 * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
2894 * config/os/mingw32/bits/os_defines.h: Likewise.
2895 * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
2898 2002-04-22 Benjamin Kosnik <bkoz@redhat.com>
2900 * include/bits/istream.tcc (istream::read): Fix.
2901 * testsuite/27_io/istream_unformatted.cc (main): Add.
2903 2002-04-20 Benjamin Kosnik <bkoz@redhat.com>
2906 * include/bits/istream.tcc (istream::ignore): Streamline, use
2908 * include/bits/streambuf.tcc: Use this->gptr.
2909 * testsuite/27_io/istream_unformatted.cc (test08): Add test.
2911 2002-04-18 Benjamin Kosnik <bkoz@redhat.com>
2913 * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
2914 as type safety is important, especially on solaris.
2915 * include/bits/istream.tcc (istream::read): Clean.
2916 (istream::readsome): Same.
2917 * locale.cc: Wrap lines.
2919 * testsuite/21_strings/inserters_extractors.cc: Tweaks.
2920 * testsuite/27_io/instantiations.cc (test): Add bool variable...
2921 * testsuite/21_strings/capacity.cc: Clean.
2923 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
2925 * docs/doxygen/doxygroups.cc: New group on binary searching.
2926 * include/bits/stl_algo.h: Document binary searches and merges.
2927 * include/bits/stl_deque.h: The 'map' member is not the 'map' class.
2929 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
2931 * docs/doxygen/mainpage.html: Doxygen logo is now a PNG file.
2932 * docs/doxygen/run_doxygen: Bump required version.
2933 * docs/doxygen/user.cfg.in: Revert accidental change.
2934 * docs/html/faq/index.html: Reindent a block of links.
2935 (4.4): New note on using dlsym.
2936 * docs/html/faq/index.txt: Regenerated.
2938 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
2940 * testsuite_flags.in (cxxflags): Also pass @EXTRA_CXX_FLAGS@.
2942 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
2944 * config/linker-map.gnu (__malloc_alloc_template): Add.
2945 (__default_alloc_template): Same.
2946 * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
2948 (__default_alloc_template): Same.
2950 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
2952 * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
2954 2002-04-16 Benjamin Kosnik <bkoz@redhat.com>
2956 * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
2957 * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
2958 (__malloc_alloc_template): Conditionalize.
2960 * include/bits/istream.tcc: Remove sputbackc calls.
2962 * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
2964 2002-04-16 Paolo Carlini <pcarlini@unitus.it>
2966 * testsuite/24_iterators/rel_ops.cc: New test.
2968 2002-04-16 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2970 * include/bits/type_traits.h (__normal_iterator): Declare in
2971 __gnu_cxx. Adjust use at global namespace.
2972 * include/bits/stl_iterator.h (__normal_iterator): Move definition
2973 into __gnu_cxx::. Add more operator overloads. Tidy existing ones.
2974 * include/bits/basic_string.h (basic_string): Adjust use of
2976 * include/bits/stl_vector.h (_Alloc>): Likewise.
2977 * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
2978 * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
2980 2002-04-15 Benjamin Kosnik <bkoz@redhat.com>
2984 * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
2986 (__basic_file::close): Call fflush. Correct return if fclose ok.
2987 (__basic_file::is_open): Make const.
2988 Change __c_file_type to __c_file.
2989 * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
2990 (__basic_file::is_open): Make const.
2991 * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
2992 * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
2993 (filebuf::_M_unbuf): Add.
2994 (filebuf::_M_file): Change to non-pointer.
2995 (filebuf::_M_allocate_pback_buffer): Remove.
2996 * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
2997 (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
2998 Change initialization list for _M_file change.
2999 (filebuf::_M_allocate_pback_buffer): Remove.
3000 Change _M_file usage to reflect non-pointer data member.
3002 * config/locale/generic/c_locale.cc
3003 (locale::facet::_S_create_c_locale): Add parameter.
3004 * config/locale/generic/collate_members.cc: Change
3005 _M_compare_helper to _M_compare.
3006 Change _M_transform_helper to _M_transform.
3007 * config/locale/generic/monetary_members.cc: Changeup data types.
3009 * config/locale/generic/numeric_members.cc: Add dtors.
3010 * config/locale/generic/time_members.cc: Add dtors.
3011 * config/locale/gnu/c_locale.cc: Add parameter.
3012 * config/locale/gnu/collate_members.cc:Change
3013 _M_compare_helper to _M_compare.
3014 Change _M_transform_helper to _M_transform.
3015 * config/locale/gnu/ctype_members.cc: Better error checking.
3016 * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
3017 * config/locale/gnu/messages_members.cc: Tweak comment.
3018 * config/locale/gnu/monetary_members.cc: Change data types.
3020 * config/locale/gnu/numeric_members.cc: Add dtors, better error
3022 * config/locale/gnu/time_members.cc: Same.
3023 * config/locale/ieee_1003.1-2001/c_locale.cc
3024 (locale::facet::_S_create_c_locale): Add parameter.
3025 * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
3026 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
3029 * include/bits/locale_facets.h (moneypunct): Use string literals.
3032 (__timepunct): Same.
3033 (locale::_Impl::_M_facets): Change from vector to array.
3034 (locale::_Impl::_M_names): Change from array of strings to array
3036 (locale::facet::_S_create_c_locale): Add parameter.
3037 (locale::locale::_S_num_facets): Move to...
3038 (locale::_Impl::_M_facets_size): Here.
3039 * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
3041 * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
3042 (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
3043 (locale::_Impl::_Impl(string, size_t)): Change to
3044 (locale::_Impl::_Impl(const char*, size_t)): This.
3046 * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
3047 * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
3048 (streambuf::_S_pback_size): This.
3050 * src/globals.cc: Add pre-allocations for "C" facets.
3051 * src/locale-inst.cc: Remove vector instantiations.
3052 * src/locale.cc: Remove vector include. Fixups for _M_names,
3054 * src/localename.cc: Same.
3056 * include/bits/stl_vector.h: Fix odd formatting.
3058 * include/bits/basic_string.tcc: Tweak comment.
3060 * libsupc++/new: Make sure parameters are uglified.
3061 * libsupc++/typeinfo: Same.
3063 * testsuite/22_locale/num_get_members_char.cc: Fixup.
3064 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
3065 * testsuite/27_io/filebuf_members.cc: Same.
3067 2002-04-12 Steve Ellcey <sje@cup.hp.com>
3069 * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
3070 (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
3071 does not define strtoll or strtoull, but does define strtol
3072 and strtoul which are the same since in 64 bit mode
3073 sizeof(long) == sizeof(long long).
3075 2002-04-12 Phil Edwards <pme@gcc.gnu.org>
3077 * include/std/std_bitset.h: Doxygenate std::bitset<>. Clean up
3078 trailing spaces, indentation, and macro names. Make exception
3079 messages more informative.
3081 2002-04-11 Richard Henderson <rth@redhat.com>
3083 * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
3084 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
3085 (basic_ostream<>::operator<<(long long)): Same.
3087 2002-04-11 Richard Henderson <rth@redhat.com>
3089 * config/linker-map.gnu: Add __gxx_personality_sj0.
3091 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
3094 * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
3096 Remove forward declaration of vector.
3098 * include/bits/locale_facets.tcc: Remove vector include.
3099 (use_locale): Adjust.
3100 (has_locale): Adjust.
3101 * src/locale.cc: Adjust.
3102 * src/localename.cc: Same.
3104 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
3105 Richard Henderson <rth@redhat.com>
3107 * include/bits/sstream.tcc: Clean up bit ops.
3108 * include/bits/fstream.tcc: Same.
3110 2002-04-09 Jakub Jelinek <jakub@redhat.com>
3112 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
3113 (__num_base::_S_scale_oct): Remove.
3114 * src/locale.cc (__num_base::_S_scale_hex): Remove.
3115 (__num_base::_S_scale_oct): Remove.
3117 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
3120 * testsuite/23_containers/bitset_members.cc: New test.
3121 * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
3122 (_S_bit_count): Here.
3123 (_First_one::_S_first_one): Move...
3124 (_S_first_one): Here.
3126 * src/bitset.cc: Adjust.
3127 * config/linker-map.gnu: Export.
3129 2002-04-08 Benjamin Kosnik <bkoz@redhat.com>
3132 * include/bits/fstream.tcc (filebuf::seekpos): Fix.
3133 * include/std/std_fstream.h: Clean.
3134 * include/bits/ostream.tcc: Remove extraneous variables.
3135 * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
3136 open modes and which modes.
3137 (stringbuf::seekpos): Same.
3138 * testsuite/27_io/stringbuf_virtuals.cc: New tests.
3140 2002-04-05 Jonathan Wakely <jw@kayari.org>
3142 * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
3143 random_shuffle, partition, stable_partition, sort, stable_sort,
3144 partial_sort, partial_sort_copy, nth_element): Doxygenate.
3146 2002-04-05 David S. Miller <davem@redhat.com>
3148 * config/os/gnu-linux/bits/os_defines.h
3149 (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
3151 2002-04-04 Benjamin Kosnik <bkoz@redhat.com>
3154 via gawrilow@math.tu-berlin.de
3155 * acinclude.m4 (version_specific_libs): Fix combo usage with
3156 --with-gxx-include-dir.
3157 * aclocal.m4: Regenerate.
3160 2002-04-03 Benjamin Kosnik <bkoz@redhat.com>
3162 As per DR 184, libstdc++/3139
3163 * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
3164 (numeric_limits<bool>::is_iec559): False.
3165 (numeric_limits<bool>::is_modulo): False.
3167 * testsuite/27_io/ios_init.cc: Add instantiations.
3169 2002-04-02 Benjamin Kosnik <bkoz@redhat.com>
3172 * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
3173 * testsuite/27_io/ios_init.cc (tests04): Add test.
3176 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
3177 (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
3178 * include/bits/basic_ios.tcc: Same. Remove outdated comments.
3179 * include/bits/istream.tcc: Use _M_fctype, make consistent with
3181 * testsuite/27_io/ios_init.cc (tests03): Add test.
3183 2002-04-02 Phil Edwards <pme@gcc.gnu.org>
3185 * include/Makefile.am (install-data-local): Use mkinstalldirs.
3186 * include/Makefile.in: Regenerate.
3188 2002-04-02 Paolo Carlini <pcarlini@unitus.it>
3189 Nathan Myers <ncm@cantrip.org>
3190 Philip Martin <philip@codematters.co.uk>
3192 * include/bits/basic_string.h
3193 (replace(i1, i2, _CharT* k1, _CharT* k2),
3194 replace(i2, i2, const _CharT* k1, const _CharT* k2),
3195 replace(i1, i2, iterator k1, iterator k2,
3196 replace(i1, i2, const_iterator k1, const_iterator k2):
3197 New specializations to optimize for the common cases of
3198 pointers and iterators.
3199 (replace(pos, n1, s, n2)): Tweak.
3200 * include/bits/basic_string.tcc: Tweak comments.
3201 * testsuite/21_strings/replace.cc (test04): New tests.
3203 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
3206 * acinclude: More extensive checks for msgfmt, --enable-nls.
3207 * aclocal.m4: Regenerate.
3208 * configure: Regenerate.
3210 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
3212 * libsupc++/exception (__verbose_terminate_handler): Point to docs.
3213 * docs/doxygen/doxygroups.cc: Doxygen hooks for abi::__cxa_demangle.
3214 * docs/html/18_support/howto.html: Document the demangler.
3215 * docs/html/17_intro/howto.html: And link to it.
3217 * docs/doxygen/mainpage.html: Describe user-vs-maintainer docs.
3218 * docs/doxygen/run_doxygen: Print user-vs-maintainer.
3220 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
3222 * config/linker-map.gnu: Export __verbose_terminate_handler.
3223 * libsupc++/Makefile.am (sources): Add cxa_demangle.c, dyn-string.c.
3224 Make new LTCOMPILE variable, use it in new special build rules.
3225 * libsupc++/Makefile.in: Rebuild.
3226 * src/vterminate.cc (__verbose_terminate_handler): Enable use of
3227 runtime __cxa_demangle.
3229 * docs/html/install.html: Update prereqs and instructions.
3230 * docs/html/19_diagnostics/howto.html: Bring naming for
3231 verbose_terminate_handler into line with reality.
3233 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
3236 * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
3237 (basic_ios::_M_streambuf_state): Move.
3238 * include/bits/ios_base (ios_base): To here.
3239 * include/bits/ios_base.h (ios_base::_S_local_words): To
3241 (ios_base::_M_word_array): To _M_local_word.
3242 (ios_base::_M_words_limit): To _M_word_size.
3243 (ios_base::_M_words): To _M_word.
3245 * include/bits/basic_ios.tcc: Adjust.
3246 * src/ios.cc (ios_base::_M_grow_words): Tweak.
3247 * testsuite/27_io/ios_base_storage.cc: Add tests.
3250 Kenny Simpson <theonetruekenny@yahoo.com>
3251 * include/bits/ios_base.h: Fix.
3253 Richard Henderson <rth@redhat.com>
3254 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
3257 * include/bits/basic_string.h: Tweak formatting.
3259 2002-04-01 Paolo Carlini <pcarlini@unitus.it>
3261 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
3262 (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
3263 By definition, sizeof(char) == 1.
3264 * include/bits/locale_facets.tcc (money_get::do_get,
3265 money_put::do_put): Ditto.
3266 * testsuite/21_strings/inserters_extractors.cc
3269 2002-03-30 Richard Henderson <rth@redhat.com>
3272 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
3273 data out of the exception struct before calling unexpectedHandler.
3275 2002-03-28 Roger Sayle <roger@eyesopen.com>
3277 * include/c_std/std_cmath.h: To prevent problems overloading
3278 g++ builtins, use the double variants from the global namespace
3279 before defining float and long double variants in std::.
3281 2002-03-28 Loren J. Rittle <ljrittle@acm.org>
3283 * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
3285 2002-03-28 Paolo Carlini <pcarlini@unitus.it>
3287 * testsuite/24_iterators/istream_iterator.cc
3288 (test02): New tests.
3290 2002-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3291 Paolo Carlini <pcarlini@unitus.it>
3293 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
3294 (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
3295 fix i_lit_base e_lit_base arrays, making them independent
3296 from the endianness of the platform; tweak UCS4 to UCS-4BE.
3298 2002-03-27 Benjamin Kosnik <bkoz@redhat.com>
3300 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
3301 allocate at least a byte.
3303 * testsuite/18_support/numeric_limits.cc (test_extrema): Make
3305 * testsuite/27_io/streambuf.cc (test07): Fix.
3308 2002-03-27 Phil Edwards <pme@gcc.gnu.org>
3310 * docs/doxygen/Intro.3: Date tweak.
3311 * docs/doxygen/TODO: Update.
3312 * docs/doxygen/doxygroups.cc: Point to tables.html.
3313 * docs/doxygen/mainpage.html: Date tweak.
3314 * docs/doxygen/run_doxygen: Version tweak. Copy tables.html over.
3315 * docs/doxygen/tables.html: Fill in the blanks.
3317 * docs/doxygen/user.cfg.in (ALIASES): Remove maint and endmaint.
3318 * include/bits/stl_algo.h: Likewise; use expanded form.
3319 * include/bits/stl_alloc.h: Likewise.
3320 * include/bits/stl_construct.h: Likewise.
3321 * include/bits/stl_deque.h: Likewise.
3322 * include/bits/stl_iterator_base_types.h: Likewise.
3323 * include/bits/stl_list.h: Likewise.
3324 * include/bits/stl_relops.h: Likewise.
3325 * include/bits/stl_tempbuf.h: Likewise.
3326 * include/bits/stl_vector.h: Likewise.
3327 * include/std/std_memory.h: Likewise.
3329 * include/bits/stl_deque.h: Point into tables.html and add @ingroup.
3330 * include/bits/stl_list.h: Likewise.
3331 * include/bits/stl_vector.h: Likewise.
3333 2002-03-26 Benjamin Kosnik <bkoz@redhat.com>
3335 * include/c/: Guard with _CPP_.
3336 * include/c_std/: Same.
3337 * include/Makefile.am: Fixup install, link routines for null
3338 c_base_headers_extra scenarios.
3339 * include/Makefile.in: Regerate.
3341 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
3342 Richard Henderson <rth@redhat.com>
3344 * testsuite/22_locale/codecvt_members_unicode_char.cc
3345 (test01, test02): make sure that the i_lit_base array
3346 is sufficiently aligned.
3348 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
3350 * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
3353 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
3355 * testsuite/22_locale/collate_byname.cc
3356 (test01): compare the result of collate::compare with
3357 that of collate::transform + string::compare, not with
3358 that of collate::transform + collate::compare; values
3359 returned by collate::compare are normalized, therefore
3362 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
3363 Jakub Jelinek <jakub@redhat.com>
3365 * config/locale/gnu/messages_members.h: Correct conditional.
3366 * config/locale/gnu/messages_members.cc: Same.
3367 * config/locale/gnu/time_members.cc: Same.
3369 2002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3370 Paolo Carlini <pcarlini@unitus.it>
3372 * testsuite/22_locale/codecvt_members_unicode_char.cc
3373 (test01, test02): Fix i_lit_base arrays, making them
3374 independent from the endianness of the platform.
3376 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
3378 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
3379 signbit and __signbit directly.
3380 * aclocal.m4: Regenerate.
3381 * configure: Regenerate.
3382 * config.h.in: Regenerate.
3383 * libmath/Makefile.am: Simplify.
3384 * libmath/Makefile.in: Regenerate.
3385 * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
3387 * include/Makefile.am: Clean up handling of extra "C" header files.
3388 Add hooks for "C" compatibility headers.
3389 * include/Makefile.in: Regenerate.
3391 * include/c/*: Formatting tweaks, cleanups.
3392 * include/c_std/*: Same.
3394 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
3396 * config/locale/gnu/messages_members.h: Add __uselocale bits.
3397 * config/locale/gnu/messages_members.cc: Same.
3398 * config/locale/gnu/time_members.cc: Same.
3400 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
3402 * src/vterminate.cc: Format, -fno-exceptions cleanup.
3404 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3406 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
3407 (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
3408 * aclocal.m4: Regenerate.
3409 * configure: Likewise.
3411 2002-03-19 Paolo Carlini <pcarlini@unitus.it>
3412 Ulrich Drepper <drepper@redhat.com>
3414 * src/locale-inst.cc (__convert_from_v): Add an additional
3415 __size parameter in the declarations.
3416 * include/bits/locale_facets.tcc
3417 (__convert_from_v): When available (that is,
3418 _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
3419 (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
3420 being defined or not, call and use __convert_from_v in the
3422 (num_put::_M_convert_int): Same here.
3423 (money_put::do_put(long double)): Same here.
3425 2002-03-19 Phil Edwards <pme@gcc.gnu.org>
3427 * docs/html/faq/index.html (#3.6): Rewrap and close <a href> tags.
3428 * docs/html/faq/index.txt: Regenerate.
3430 2002-03-19 Steve Ellcey <sje@cup.hp.com>
3432 * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
3433 GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
3434 --enable-libunwind-exceptions is set.
3435 * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
3436 macro to check for libunwind.
3437 * configure: Regenerate.
3438 * src/Makefile.am (libstdc___la_LDFLAGS): Add
3439 LIBUNWIND_FLAG to libstdc link line.
3440 * src/Makefile.in: Regenerate.
3442 2002-03-19 Benjamin Kosnik <bkoz@redhat.com>
3444 * docs/html/faq/index.html: Add OS X workaround.
3445 * docs/html/17_intro/TODO: Update.
3447 2002-03-18 Paolo Carlini <pcarlini@unitus.it>
3449 * include/bits/locale_facets.tcc
3450 (money_put::do_put(long double)): Fix dimensioning of
3451 temporary buffers to avoid risk of overruns.
3452 (money_put::do_put(string)): Same for the buffer used to
3453 add the grouping chars.
3454 * testsuite/22_locale/money_put_members_char.cc: Add test06.
3455 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
3457 * include/bits/locale_facets.tcc
3458 (collate::do_transform): Simplify.
3460 2002-03-18 Phil Edwards <pme@gcc.gnu.org>
3462 * acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform.
3463 * configure.in: Add comments pointing the way for autoconf 2.5x.
3464 * aclocal.m4, config.h.in, configure: Regenerate.
3466 2002-03-18 Philipp Thomas <pthomas@suse.de>
3468 * include/backward/hash_map.h: hash, hashtable, hash_map and
3469 hash_multimap are in namespace __gnu_cxx.
3470 include/backward/hash_set.h: hash, hashtable, hash_set and
3471 hash_multiset are in namespace __gnu_cxx.
3472 include/backward/hashtable.h: hash and hashtable are in
3473 namespace __gnu_cxx.
3474 include/backward/rope.h: char_producer, sequence_buffer,
3475 rope, crope and wrope are in namespace __gnu_cxx.
3476 include/backward/slist.h: slist is in namespace __gnu_cxx.
3477 * testsuite/backward/header_hash_map_h.cc
3478 testsuite/backward/header_hash_set_h.cc
3479 testsuite/backward/header_hashtable_h.cc
3480 testsuite/backward/header_rope_h.cc
3481 testsuite/backward/header_slist_h.cc
3482 testsuite/backward/header_tempbuf_h.cc: New tests for
3483 checking that we're using the correct namespace.
3485 2002-03-17 Jason Merrill <jason@redhat.com>
3488 * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
3489 (check_exception_spec): Call it. Take the thrown pointer.
3490 (__cxa_call_unexpected): Pass it.
3491 (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr.
3493 2002-03-15 Anthony Green <green@redhat.com>
3495 * configure.in: Remove useless is_mingw32.
3496 * configure: Rebuilt.
3498 2002-03-15 Paolo Carlini <pcarlini@unitus.it>
3500 * testsuite/22_locale/collate_members_char.cc
3501 (test01): compare the result of collate::compare with
3502 that of collate::transform + string::compare, not with
3503 that of collate::transform + collate::compare.
3504 (test01): values returned by collate::compare are
3505 normalized, therefore test against +-1.
3506 * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
3508 2002-03-12 Loren Rittle <ljrittle@acm.org>
3510 reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3511 * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
3513 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
3514 Per Liboriussen <liborius@stofanet.dk>
3516 * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
3518 * config/os/gnu-linux/bits/ctype_inline.h: Same.
3520 * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
3522 * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
3523 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3525 * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
3526 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3528 * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
3529 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3531 * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
3533 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
3535 * include/bits/basic_string.tcc (string::_S_construct(_InIter,
3536 _InIter, const _Alloc&, forward_iterator_tag): Check for null.
3537 (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
3538 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
3539 that memory limits are in place.
3540 (test03): Add tests.
3542 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
3544 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
3545 * aclocal.m4: Regenerate.
3546 * config.h.in: Regenerate.
3547 * configure: Regenerate.
3548 * include/c_std/std_cwctype.h: Guard.
3550 2002-03-11 Chris Demetriou <cgd@broadcom.com>
3552 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
3553 whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
3554 * aclocal.m4: Regenerate.
3555 * configure: Regenerate.
3557 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
3559 * include/bits/stl_bvector.h: Fix warning.
3561 2002-03-11 Richard Henderson <rth@redhat.com>
3563 * include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
3565 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
3567 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
3568 New function. Build the list of tests to run in testsuite_files.
3569 * testsuite/libstdc++-v3.dg/dg.exp: Use it.
3571 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
3573 * testsuite/21_strings/capacity.cc: Only explicitly instantiate on
3574 platforms with no weak support.
3575 * testsuite/27_io/ios_init.cc: Likewise.
3577 2002-03-10 Paolo Carlini <pcarlini@unitus.it>
3579 * include/bits/locale_facets.tcc (time_put::do_put):
3580 Consider sizeof(char_type) in allocating the buffer.
3582 * include/bits/locale_facets.tcc (collate::do_tranform):
3583 Remove redundant variable.
3585 2002-03-10 Ulrich Drepper <drepper@redhat.com>
3586 Paolo Carlini <pcarlini@unitus.it>
3588 * config/locale/generic/collate_members.cc
3589 (collate<char,wchar_t>::_M_compare_helper): normalize
3590 values returned by strcoll and wcscoll.
3591 * config/locale/gnu/collate_members.cc
3592 (collate<char,wchar_t>::_M_compare_helper): ditto
3593 for __strcoll_l and __wcscoll_l.
3595 2002-03-10 Anthony Green <green@redhat.com>
3597 * configure.in: Support cross builds to mingw32 target.
3598 * configure: Rebuilt.
3600 2002-03-09 Paolo Carlini <pcarlini@unitus.it>
3602 * include/bits/locale_facets.tcc (collate::do_transform):
3603 Rewrite to fix problems with long transformed strings.
3605 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
3607 * c_locale_generic.cc: Move to...
3608 * generic/c_locale.cc
3609 * c_locale_generic.h: Move to...
3610 * generic/c_locale.h
3611 * codecvt_specializations_generic.h: Move to...
3612 * generic/codecvt_specializations.h
3613 * collate_members_generic.cc: Move to...
3614 * generic/collate_members.cc
3615 * ctype_members_generic.cc: Move to...
3616 * generic/ctype_members.cc
3617 * messages_members_generic.cc: Move to...
3618 * generic/messages_members.cc
3619 * messages_members_generic.h: Move to...
3620 * generic/messages_members.h
3621 * moneypunct_members_generic.cc: Move to...
3622 * generic/monetary_members.cc
3623 * numpunct_members_generic.cc: Move to...
3624 * generic/numeric_members.cc
3625 * time_members_generic.cc: Move to...
3626 * generic/time_members.cc
3627 * c_locale_gnu.cc: Move to...
3629 * c_locale_gnu.h: Move to...
3631 * collate_members_gnu.cc: Move to...
3632 * gnu/collate_members.cc
3633 * ctype_members_gnu.cc: Move to...
3634 * gnu/ctype_members.cc
3635 * messages_members_gnu.cc: Move to...
3636 * gnu/messages_members.cc
3637 * messages_members_gnu.h: Move to...
3638 * gnu/messages_members.h
3639 * moneypunct_members_gnu.cc: Move to...
3640 * gnu/monetary_members.cc
3641 * numpunct_members_gnu.cc: Move to...
3642 * gnu/numeric_members.cc
3643 * time_members_gnu.cc: Move to...
3644 * gnu/time_members.cc
3645 * c_locale_ieee_1003.1-200x.cc: Move to...
3646 * ieee_1003.1-2001/c_locale.cc
3647 * c_locale_ieee_1003.1-200x.h: Move to...
3648 * ieee_1003.1-2001/c_locale.h
3649 * codecvt_specializations_ieee_1003.1-200x.h: Move to...
3650 * ieee_1003.1-2001/codecvt_specializations.h
3651 * messages_members_ieee_1003.1-200x.cc: Move to...
3652 * ieee_1003.1-2001/messages_members.cc
3653 * messages_members_ieee_1003.1-200x.h: Move to...
3654 * ieee_1003.1-2001/messages_members.h
3656 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
3657 * aclocal.m4: Regenerate.
3658 * configure: Regenerate.
3659 * src/Makefile.am (sources): Change to monetary and numeric.
3660 * src/Makefile.in: Regenerate.
3661 * docs/html/configopts.html: Update to ieee_1003.1-2001.
3663 2002-03-08 scott snyder <snyder@fnal.gov>
3666 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
3667 Allow one more digit of precision.
3668 * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
3669 write a double and read back in the same value.
3671 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
3673 * include/std/std_limits.h: Move static const data members out of
3674 generic template, into base class __numeric_limits_base.
3675 * src/limits.cc: Add definitions.
3676 * config/linker-map.gnu: Add __numeric_limits_base.
3677 * testsuite/18_support/numeric_limits.cc: Declare test in scope.
3679 2002-03-07 Benjamin Kosnik <bkoz@redhat.com>
3681 * include/bits/stl_alloc.h: Add extern implicit allocator
3683 * include/bits/basic_string.tcc: Tweak.
3684 * include/bits/locale_facets.tcc: Remove default args. Add
3685 has_facet, use_facet extern instantiations.
3686 * src/stl-inst.cc: Add explicit instantiation.
3687 * src/locale-inst.cc: Clean. Remove locale member template
3690 * testsuite/22_locale/operators.cc (test02): Enable.
3692 2002-03-06 Benjamin Kosnik <bkoz@redhat.com>
3693 Stephen M. Webb <stephen.webb@bregmasoft.com>
3695 * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
3696 (_S_rb_tree_black): Make enum.
3698 * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
3699 * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
3700 (__stl_threshold): _M_threshold, enum.
3701 * src/stl-inst.cc: Same.
3702 * config/linker-map.gnu: Remove.
3704 * testsuite/23_containers/vector_bool.cc: New.
3706 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
3708 * docs/doxygen/user.cfg.in: Also document deprecated entries.
3709 * docs/html/Makefile: Example rule to rebuild porting-howto.html.
3710 * docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when
3711 referring to the collection as a whole. New section on which macros
3712 can be redefined by the user.
3713 * docs/html/19_diagnostics/howto.html: Update note for concepts.
3714 * docs/html/20_util/howto.html: Update link to SGI.
3715 * docs/html/faq/index.html: Update snapshot versions. New entry
3716 on why g++ (but not gcc) must currently predefine certain macros.
3717 * docs/html/faq/index.txt: Regenerated.
3719 * include/bits/basic_string.h (basic_string::_S_construct): Fix
3720 names in declaration.
3721 (basic_string::compare): These are no longer optional.
3722 * include/bits/ostream.tcc: Tweak closing brace placement.
3723 * include/bits/stl_algo.h: Lots of initial doxygen comment hooks.
3724 * include/std/std_sstream.h: Fix typo in comment.
3725 * include/bits/locale_facets.tcc: Remove unneeded header inclusion.
3726 * src/locale.cc: Likewise.
3728 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
3731 * include/bits/stl_vector.h (vector::push_back()): Guard with
3732 _GLIBCPP_DEPRECATED.
3734 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
3736 * include/bits/c++config: Fix misplaced leading blanks on first line.
3738 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
3740 * docs/html/17_intro/RELEASE-NOTES: Fix usage.
3741 * README (libmath): Make clear.
3743 2002-03-05 Jakub Jelinek <jakub@redhat.com>
3745 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
3746 script globbing in ld.
3747 * aclocal.m4: Rebuilt.
3748 * configure: Rebuilt.
3750 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
3752 * docs/html/17_intro/RELEASE-NOTES: Update.
3753 * README: Format subdirectories.
3755 2002-03-05 Paolo Carlini <pcarlini@unitus.it>
3758 * include/bits/locale_facets.tcc
3759 (num_get::_M_extract_float): Fix the parsing of __dec, since
3760 the standard prescribes that if no grouping characters are
3761 seen, no grouping check is applied.
3762 * testsuite/22_locale/num_get_members_char.cc: Add test05
3763 distilled from the PR.
3764 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
3766 2002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
3768 * docs/html/17_intro/porting-howto.xml: Refer to
3769 http://www.oasis-open.org for docbookx.dtd.
3770 * docs/html/17_intro/porting-howto.html: Regenerated.
3772 2002-03-03 Phil Edwards <pme@gcc.gnu.org>
3775 * include/std/std_sstream.h: Remove trailing spaces.
3776 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
3777 * testsuite/27_io/stringbuf.cc (test05, test06): New tests.
3779 2002-03-02 Paolo Carlini <pcarlini@unitus.it>
3781 * testsuite/22_locale/num_get_members_char.cc (test04):
3782 Use a named locale expecting grouping (de_DE).
3783 * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
3785 * testsuite/27_io/ios_manip_basefield.cc (test01):
3786 Extend coverage, uniform treatment of hexs and octs.
3788 2002-02-28 Richard Henderson <rth@redhat.com>
3790 * config/linker-map.gnu: Export operator new with unsigned long,
3791 and with std::nothrow_t. Likewise operator delete.
3793 2002-02-28 Paolo Carlini <pcarlini@unitus.it>
3795 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
3796 Admit grouping for octals and hexadecimals too.
3797 * testsuite/22_locale/num_get_members_char.cc: Add test04.
3798 (test01): Tweak "." -> "," in void* test.
3799 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
3801 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
3802 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
3804 2002-02-27 Paolo Carlini <pcarlini@unitus.it>
3806 * testsuite/27_io/ios_manip_basefield.cc (test01):
3807 Fix for 64 bit machines.
3809 2002-02-26 Benjamin Kosnik <bkoz@redhat.com>
3812 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
3814 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
3815 (basic_ios::_M_fill_init): New.
3816 (basic_ios::fill()): Delay dealing with _M_fill.
3818 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
3819 (ios_base::_M_call_callbacks): Adjust.
3820 * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
3822 2002-02-26 Loren Rittle <ljrittle@acm.org>
3824 * include/Makefile.am (thread_target_headers): Unconditionally
3825 stage and install gthr-posix.h.
3826 (${target_builddir}/gthr-posix.h): New rule cloned off
3827 ${target_builddir}/gthr-default.h.
3828 (${target_builddir}/gthr-default.h): Support chained inclusion
3829 of gthr support headers.
3830 * include/Makefile.in: Rebuilt.
3832 2002-02-26 Paolo Carlini <pcarlini@unitus.it>
3834 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
3835 Group all the integral types, not only decs.
3836 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
3837 tests, add a few more.
3839 2002-02-25 Benjamin Kosnik <bkoz@redhat.com>
3841 * src/ios.cc (ios_base::~ios_base): Tweak.
3842 (ios_base::_M_call_callbacks): Deal with null __p.
3843 (ios_base::ios_base): Set _M_callbacks.
3844 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
3845 * testsuite/27_io/ios_init.cc (test02): Fix.
3847 * mkcheck.in (static_fail): Failed links go to output file.
3849 2002-02-25 Phil Edwards <pme@gcc.gnu.org>
3851 * docs/html/faq/index.html: Update.
3852 * docs/html/faq/index.txt: Regenerate.
3854 2002-02-22 Phil Edwards <pme@gcc.gnu.org>
3856 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
3857 * aclocal.m4: Regenerate.
3858 * docs/html/configopts.html: Document --enable-symvers.
3859 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag.
3861 2002-02-22 Philipp Thomas <pthomas@suse.de>
3863 * include/backward/tempbuf.h: get_temporary_buffer and
3864 return_temporary_buffer are in namespace std, not in __gnu_cxx.
3866 2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
3868 * configure.in (target_alias): Default to yes.
3869 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
3870 libgcc to default case.
3872 2002-02-20 Phil Edwards <pme@gcc.gnu.org>
3874 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
3875 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
3876 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
3877 * aclocal.m4: Regenerate.
3878 * configure: Regenerate.
3879 * config/linker-map.dummy: New file. Contains nothing useful.
3881 2002-02-20 Benjamin Kosnik <bkoz@redhat.com>
3883 * testsuite/22_locale/money_put_members_char.cc: Fix.
3884 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
3886 * testsuite/27_io/standard_manipulators.cc: New file.
3888 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
3889 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
3891 2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
3893 * config/os/mingw32/bits/ctype_noninline.h
3894 (ctype<char>::ctype): Remove default args from parm list.
3895 * config/os/djgpp/bits/ctype_noninline.h: Same.
3897 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
3899 * include/std/std_iomanip.h: Inline, tweaks.
3900 * config/linker-map.gnu: Remove hacks.
3902 * testsuite/21_strings/capacity.cc: Add explicit instantiations.
3903 * testsuite/27_io/ios_init.cc: Same.
3904 * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
3905 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
3907 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
3909 * config/linker-map.gnu: Export global vtable, typeinfo, guard
3910 variable, and thunk info as per CXXABI docs.
3912 2002-02-19 Loren Rittle <ljrittle@acm.org>
3914 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
3915 * include/Makefile.in: Rebuilt.
3917 2002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3919 * testsuite/22_locale/collate_byname.cc (test01): Replace size4
3920 with size3 for the string collations of str5.
3922 2002-02-18 Paolo Carlini <pcarlini@unitus.it>
3925 * include/bits/locale_facets.tcc (money_put::do_put):
3926 For the space field use __fill instead of ' ', uniformly.
3927 * testsuite/22_locale/money_put_members_char.cc:
3928 Add test05 distilled from PR.
3929 (test01-02-03): Trim some '*' to ' '.
3930 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
3932 2002-02-18 Loren Rittle <ljrittle@acm.org>
3935 * include/Makefile.am (thread_builddir): Remove (map all
3936 existing uses to target_builddir).
3937 (thread_headers): Rename to...
3938 (thread_target_headers): ...this.
3939 (stamp-thread): Remove.
3940 (stamp-target): Correctly state the position as built.
3941 Update all dependencies to match the new reality. Remove all
3942 dependency calculations on directories.
3943 * include/Makefile.in: Rebuilt.
3945 2002-02-16 Benjamin Kosnik <bkoz@redhat.com>
3947 * include/bits/locale_facets.tcc: Add pragma GCC system_header.
3948 * include/bits/fstream.tcc: Same.
3949 * include/bits/sstream.tcc: Same.
3950 * include/bits/ostream.tcc: Same.
3951 * include/bits/istream.tcc: Same.
3952 * include/bits/streambuf.tcc: Same.
3953 * include/bits/basic_ios.tcc: Same.
3954 * include/bits/basic_string.tcc: Same.
3956 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
3958 * include/std/std_iosfwd.h: Don't guard typedefs with
3959 _GLIBCPP_USE_WCHAR_T
3960 * include/bits/stringfwd.h: Same.
3962 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
3964 * src/locale.cc (moneypunct_byname): Remove definitions.
3965 * include/std/std_streambuf.h (streambuf::operator=): Return.
3967 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
3970 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
3971 explicit instantiation.
3972 (string::_Rep::_S_max_size): Same.
3973 * include/bits/basic_string.tcc: Add extern explicit
3974 instantiations for string, wstring.
3975 * include/bits/basic_ios.tcc: Add extern explicit instantiations
3977 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
3978 * include/bits/istream.tcc: Same, for istream, wistream.
3979 * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
3981 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
3982 istringstream, wistringstream, ostringstream, wostringstream,
3983 stringstream, wstringstream.
3984 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
3985 wifstream, ofstream, wofstream, fstream, wfstream.
3986 * src/misc-inst.cc: Correct comments.
3987 Add iomanip instantiations for wide streams.
3988 * include/std/std_iomanip.h: Same.
3989 * include/bits/locale_facets.tcc: Same.
3991 * include/std/std_streambuf.h: Correct
3992 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
3993 * include/std/std_sstream.h: Same.
3994 * include/std/std_ostream.h: Same.
3995 * include/std/std_istream.h: Same.
3996 * include/std/std_fstream.h: Same.
3998 * include/std/std_streambuf.h: Add definitions for private copy
3999 ctor and assignment operator.
4000 * include/std/std_istream.h: Remove declared but undefined copy
4001 ctor and assignment operator. This is taken care of in ios_base,
4002 so adding it in the derived class as well is superfluous.
4003 * include/std/std_ostream.h: Same.
4005 * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
4006 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
4008 2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
4010 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
4011 Add typeinfo bits. Smooth.
4012 * aclocal.m4: Regenerate.
4014 * src/Makefile.in: Same.
4016 2001-02-14 Joel Sherrill <joel@OARcorp.com>
4018 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
4019 which do not have a CAS instruction.
4021 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
4023 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
4024 * configure.in: Call it.
4025 * config/linker-map.gnu: New file, initial incomplete revision.
4026 * src/Makefile.am: Optionally pass version script to the linker.
4027 * aclocal.m4: Regenerate.
4028 * configure: Regenerate.
4029 * src/Makefile.in: Regenerate.
4031 2002-02-13 Benjamin Kosnik <bkoz@redhat.com>
4033 * src/localename.cc: Remove stdexcept include.
4034 * src/locale-inst.cc: Same.
4035 * src/locale.cc: Same.
4036 * src/functexcept.cc: Remove string includes.
4037 * include/std/std_bitset.h: Remove stdexcept include.
4038 * testsuite/23_containers/bitset_members.cc: Add stdexcept.
4039 * testsuite/23_containers/bitset_ctor.cc: Same.
4041 2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
4043 * include/bits/stl_algo (__stl_threshold): Declare external.
4044 (__stl_chunk_size): Same.
4045 * include/bits/stl_bvector.h (__WORD_BIT): Same.
4046 * include/bits/stl_tree.h (_S_rb_tree_red): Same.
4047 (_S_rb_tree_black): Same.
4048 * src/stl-inst.cc (__stl_threshold): Define.
4049 (__stl_chunk_size): Same.
4051 (_S_rb_tree_red): Same.
4052 (_S_rb_tree_black): Same.
4054 * config/io/basic_file_libio.h (__basic_file): Add declarations.
4055 * include/bits/basic_file.h: Remove.
4056 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
4057 Declare generic types, specialization.
4058 * config/io/basic_file_stdio.cc: Definitions.
4059 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
4060 Declare generic types.
4061 * include/Makefile.am (bits_headers): Remove basic_file.h.
4062 (extra_target_headers): Change basic_file_model.h to basic_file.h.
4063 (stamp-target): Same.
4065 * include/bits/stl_alloc.h: Tweaks.
4066 * include/bits/localefwd.h: Same.
4068 2002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
4070 * include/bits/locale_facets.tcc (collate::do_hash): Fix.
4071 * testsuite/22_locale/collate_members_char.cc (test03): New test.
4072 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
4074 2002-02-10 Phil Edwards <pme@gcc.gnu.org>
4076 * include/bits/stl_algo.h (transform (both signatures), generate_n):
4077 Use __typeof__ in concept checks.
4079 2002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
4081 * include/bits/stl_algo.h (__median, for_each, find, find_if,
4082 adjacent_find, count, count_if, search, search_n, swap_ranges,
4083 transform, replace, replace_if, replace_copy, replace_copy_if,
4084 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
4085 unique, unique_copy, reverse, reverse_copy): Doxygenate.
4087 2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
4089 * include/bits/locale_facets.h
4090 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
4091 (__timepunct<_CharT>::_M_initialize_timepunct): Same.
4092 (__timepunct<_CharT>::_M_put_helper): Same.
4093 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
4095 * include/bits/fstream.tcc (filebuf::underflow): Remove
4096 __codecvt_type typedef.
4097 (filebuf::_M_convert_to_external): Same.
4099 2002-02-08 Phil Edwards <pme@gcc.gnu.org>
4101 * docs/doxygen/TODO: Update.
4102 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
4103 * docs/doxygen/mainpage.html: Add TODO list link.
4104 * docs/doxygen/user.cfg.in: Add @doctodo hook.
4105 * docs/doxygen/tables.html: New file, emoty structure only.
4107 * include/bits/stl_iterator.h: Doxygenate just about everything.
4108 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
4109 * include/bits/stl_iterator_base_types.h: Add notes.
4111 2002-02-07 Stephan Buys <sbproxy@icon.co.za>
4113 * include/bits/stl_map.h: Tweak doxygen markup.
4114 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
4115 * include/bits/stl_vector.h: Likewise.
4117 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
4121 * include/std/std_fstream.h (filebuf::__file_type): Change to
4123 (filebuf::_M_convert_to_external): Declare.
4124 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
4125 codecvt bits for wide streams.
4126 (filebuf::_M_really_overflow): Use it.
4127 (filebuf::underflow): Use codecvt.
4128 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
4129 (codecvt<__enc_traits>::do_out): Deal with partial.
4130 (codecvt<__enc_traits>::do_encoding): Return something useful.
4131 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
4133 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
4134 Change expected encoding output.
4136 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
4139 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
4140 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
4142 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
4143 (basic_ios::widen): Same.
4145 2002-02-07 Paolo Carlini <pcarlini@unitus.it>
4147 * testsuite/22_locale/money_get_members_char.cc:
4148 Add comment, tidy up.
4149 (test01): more "en_HK" tests (without showbase).
4150 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
4152 2002-02-06 Loren Rittle <ljrittle@acm.org>
4154 * config/locale/c_locale_generic.cc: Do not trust
4155 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
4158 2002-02-06 Loren Rittle <ljrittle@acm.org>
4160 * acinclude.m4: Add C++ linkage check for strtof.
4161 * aclocal.m4: Rebuilt.
4162 * config.h.in: Rebuilt.
4163 * configure: Rebuilt.
4164 * config/locale/c_locale_generic.cc: Conditionally include
4165 <ieeefp.h>. Improve handling and error checking of float
4166 and long double input for non-C99 configurations.
4168 2002-02-06 Paolo Carlini <pcarlini@unitus.it>
4170 * include/bits/locale_facets.tcc (money_get::do_get(string)):
4171 In case money_base::symbol deal properly with multi-char sign
4172 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
4173 * testsuite/22_locale/money_get_members_char.cc: Add test07.
4174 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
4176 2002-02-05 Paolo Carlini <pcarlini@unitus.it>
4178 * include/bits/locale_facets.tcc (money_get::do_get(string)):
4179 First construct a tentative returned string, then, only if the
4180 parsing succeeds, copy it into the string passed by reference.
4181 * testsuite/22_locale/money_get_members_char.cc: Add test06.
4182 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
4184 2002-02-04 Phil Edwards <pme@gcc.gnu.org>
4186 * docs/doxygen/TODO: Impl-defined behavior now documented...
4187 * docs/html/17_intro/howto.html: ...here.
4188 * docs/doxygen/mainpage.doxy: Remove, rename...
4189 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
4190 * docs/doxygen/style.css: Add small text.
4191 * docs/doxygen/run_doxygen: Adjust for new mainpage.
4192 * docs/doxygen/user.cfg.in: Likewise.
4194 2002-02-04 Stephan Buys <sbproxy@icon.co.za>
4196 * include/bits/stl_map.h: Initial doxygen markup.
4197 * include/std/std_fstream.h: Initial doxygen markup.
4199 2002-02-04 Paolo Carlini <pcarlini@unitus.it>
4202 * include/bits/locale_facets.tcc (money_get::do_get(string)):
4203 Deal correctly with !(__io.flags() & ios_base::showbase)
4204 for case money_base::symbol.
4205 * testsuite/22_locale/money_get_members_char.cc: Add test05.
4206 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
4208 2002-02-02 Paolo Carlini <pcarlini@unitus.it>
4210 * testsuite/22_locale/operators.cc
4211 (gnu_collate::do_compare()): Add return statement to
4212 suppress "no return statement" warning.
4214 2002-02-01 Paolo Carlini <pcarlini@unitus.it>
4216 * testsuite/27_io/ostream_manip.cc: Enable test02.
4218 2002-02-01 Phil Edwards <pme@gcc.gnu.org>
4220 * docs/html/documentation.html: Update for 3.0.96.
4221 * docs/html/faq/index.html: Update for 3.0.96.
4222 * docs/html/faq/index.txt: Regenerated.
4223 * docs/doxygen/TODO: Update notes.
4224 * docs/html/17_intro/howto.html: Initial impl-specific listing.
4226 2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
4228 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
4229 Initialize all data members in copy ctor. Make ctors explicit.
4230 (__enc_traits::__enc_traits()): Default ctor does nothing.
4231 (__enc_traits::_M_init): Guard against multiple iconv_opens.
4232 * include/std/std_sstream.h (basic_stringbuf): Make data members
4234 * include/std/std_fstream.h (basic_filebuf): Same.
4235 * include/std/std_streambuf.h: Tweak.
4236 * include/bits/streambuf.tcc: Same.
4237 * include/bits/sstream.tcc: Same.
4238 * include/bits/fstream.tcc: Same.
4240 2002-01-31 Loren Rittle <ljrittle@acm.org>
4242 * testsuite/22_locale/codecvt_members_char_char.cc: Do not
4243 allow NULL argument to be passed to setenv().
4244 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
4245 * testsuite/22_locale/collate_members_char.cc: Likewise.
4246 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
4247 * testsuite/22_locale/ctype_members_char.cc: Likewise.
4248 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
4249 * testsuite/22_locale/messages_members_char.cc: Likewise.
4250 * testsuite/22_locale/money_get_members_char.cc: Likewise.
4251 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
4252 * testsuite/22_locale/money_put_members_char.cc: Likewise.
4253 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
4254 * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
4255 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
4256 * testsuite/22_locale/num_get_members_char.cc: Likewise.
4257 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
4258 * testsuite/22_locale/num_put_members_char.cc: Likewise.
4259 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
4260 * testsuite/22_locale/numpunct_members_char.cc: Likewise.
4261 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
4262 * testsuite/22_locale/time_get_members_char.cc: Likewise.
4263 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
4264 * testsuite/22_locale/time_put_members_char.cc: Likewise.
4265 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
4267 2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
4269 * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
4271 * ChangeLog-2001: Fix spelling errors...
4272 * docs/html/17_intro/RELEASE-NOTES: Update.
4273 * docs/html/17_intro/TODO: Update.
4274 * README (file): Update.
4276 2002-01-30 Loren Rittle <ljrittle@acm.org>
4278 * config/locale/c_locale_generic.cc: Check errno for ERANGE
4279 instead of non-zero to aid portability.
4281 2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4283 * docs/html/22_locale/messages.html: Fix example code.
4285 2002-01-30 Richard Henderson <rth@redhat.com>
4287 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
4288 out from test03 and templatize.
4291 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
4293 * config/locale/numpunct_members_gnu.cc
4294 (numpunct<char, wchar_t>::_M_initialize_numpunct()):
4295 Fix initialization of _M_grouping for locales which have
4296 _M_thousands_sep == '\0'(L'\0', respectively).
4297 * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
4299 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
4301 * testsuite/27_io/ostream_inserter_arith.cc (test03):
4302 Better fix for 32/64 bit architectures, avoiding the
4303 implicit assumption that CHAR_BIT == 8.
4305 2002-01-28 Phil Edwards <pme@gcc.gnu.org>
4307 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
4308 * Makefile.in: Regenerate.
4310 * docs/doxygen/run_doxygen: Update, mostly for man pages.
4311 * docs/doxygen/Intro.3: Update.
4312 * docs/doxygen/TODO: Update.
4313 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
4314 * docs/doxygen/mainpage.doxy: Update.
4315 * docs/doxygen/user.cfg.in: Update for header rename. Also
4316 regenerate comments and variables with 1.2.12.
4317 * docs/doxygen/maint.cfg.in: Remove file.
4319 * include/bits/stl_relops.h: Doxygenate.
4320 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
4322 * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
4323 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
4324 include/c_std/std_ciso646.h, include/c_std/std_climits.h,
4325 include/c_std/std_clocale.h, include/c_std/std_cmath.h,
4326 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
4327 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
4328 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
4329 include/c_std/std_cstring.h, include/c_std/std_ctime.h,
4330 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
4331 include/ext/algorithm, include/ext/functional, include/ext/hash_map,
4332 include/ext/hash_set, include/ext/iterator, include/ext/memory,
4333 include/ext/numeric, include/ext/rb_tree, include/ext/rope,
4334 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
4335 include/ext/stl_hashtable.h, include/ext/stl_rope.h,
4336 include/std/std_algorithm.h, include/std/std_bitset.h,
4337 include/std/std_complex.h, include/std/std_deque.h,
4338 include/std/std_fstream.h, include/std/std_functional.h,
4339 include/std/std_iomanip.h, include/std/std_ios.h,
4340 include/std/std_iosfwd.h, include/std/std_iostream.h,
4341 include/std/std_istream.h, include/std/std_iterator.h,
4342 include/std/std_limits.h, include/std/std_list.h,
4343 include/std/std_locale.h, include/std/std_map.h,
4344 include/std/std_memory.h, include/std/std_numeric.h,
4345 include/std/std_ostream.h, include/std/std_queue.h,
4346 include/std/std_set.h, include/std/std_sstream.h,
4347 include/std/std_stack.h, include/std/std_stdexcept.h,
4348 include/std/std_streambuf.h, include/std/std_string.h,
4349 include/std/std_utility.h, include/std/std_valarray.h,
4350 include/std/std_vector.h: Add/correct @file doxygen hook.
4352 * include/ext/memory: Doxygenate most of rest of file.
4353 * libsupc++/exception: Doxygen output formatting.
4354 * libsupc++/new: Say which header it is.
4356 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
4357 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
4358 * docs/html/23_containers/howto.html: Describe O(n) list::size().
4359 * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
4361 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
4362 Charles Leggett <CGLeggett@lbl.gov>
4364 * testsuite/27_io/filebuf_members.cc (test_05): Add test.
4366 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
4368 * testsuite/27_io/ostream_inserter_arith.cc (test03):
4369 Fix to deal correctly with both 32 bit and 64 bit architectures
4371 2002-01-25 Loren Rittle <ljrittle@acm.org>
4373 * testsuite/thread/pthread1.cc: Use one condition variable
4374 per predicate instead of tricky use of one condition variable.
4376 2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
4378 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
4380 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
4381 * testsuite/27_io/filebuf.cc: Compile only.
4382 * testsuite/27_io/filebuf_members.cc: Move tests to here.
4383 * testsuite/27_io/filebuf_virtuals.cc: And here.
4384 Revert sungetc, sync changes for expected values.
4385 * testsuite/27_io/filebuf-*: Move to...
4386 * testsuite/27_io/filebuf_virtuals-*: ...here.
4387 * testsuite/27_io/istream.cc: Compile only, activate.
4388 * testsuite/27_io/ostream.cc: Same.
4389 * testsuite/27_io/iostream.cc: New.
4390 * testsuite/27_io/iostream_members.cc: New.
4392 2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
4394 * testsuite/thread/pthread1.cc: Enable on cygwin.
4395 * testsuite/thread/pthread2.cc: Likewise.
4396 * testsuite/thread/pthread3.cc: Likewise.
4397 * testsuite/thread/pthread4.cc: Likewise.
4398 * testsuite/thread/pthread5.cc: Likewise.
4399 * testsuite/thread/pthread6.cc: Likewise.
4401 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
4403 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
4405 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
4407 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
4409 (basic_ios::fill(char_type)): Use fill().
4410 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
4411 (basic_ios::narrow): Same.
4412 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
4413 if they are invalid.
4414 (basic_ios::init): Comment.
4415 * testsuite/27_io/ios_init.cc (test02): New.
4417 2002-01-24 Phil Edwards <pme@gcc.gnu.org>
4419 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
4420 * include/bits/stl_algo.h: Include stl_tempbuf.h.
4421 * include/ext/memory: Do not include stl_tempbuf.h.
4422 (temporary_buffer): Add doxygen hook.
4423 (__get_temporary_buffer, get_temporary_buffer,
4424 return_temporary_buffer): Move back to std:: header...
4425 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
4426 * include/ext/rope: Do not include stl_tempbuf.h.
4427 * include/ext/stl_hashtable.h: Likewise.
4428 * include/std/std_algorithm.h: Likewise.
4429 * testsuite/20_util/temporary_buffer.cc: New file.
4431 2002-01-24 andrew@andypo.net
4432 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
4435 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
4436 * include/bits/localefwd.h: Likewise.
4437 Also use for std::locale::id::_S_highwater.
4438 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
4439 * src/locale.cc: Support new usage of _Atomic_word.
4440 (std::locale::classic): Guard entire function against reentry.
4441 * src/localename.cc: Support new usage of _Atomic_word.
4443 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
4445 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
4446 _GLIBCPP_HAVE_SETENV.
4447 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
4448 * testsuite/22_locale/collate_members_char.cc (test02): Same.
4449 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
4450 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
4451 * testsuite/22_locale/messages_members_char.cc (test02): Same.
4452 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
4453 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
4454 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
4455 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
4456 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
4457 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
4458 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
4459 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
4460 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
4461 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
4462 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
4463 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
4464 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
4465 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
4466 * aclocal.m4: Regenerate.
4467 * configure: Regenerate.
4468 * config.h.in: Regenerate.
4470 2002-01-23 Loren Rittle <ljrittle@acm.org>
4472 * testsuite/thread/pthread1.cc: New test.
4473 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
4474 * testsuite/thread/pthread3.cc: Likewise.
4475 * testsuite/thread/pthread4.cc: New test adapted from
4476 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
4477 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
4478 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
4480 2002-01-23 Richard Henderson <rth@redhat.com>
4483 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
4484 CAS on the cpu variants that support it. Add versions that use
4485 TAS and that disable interrupts.
4486 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
4488 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
4490 * include/bits/locale_facets.tcc: Remove old comments.
4492 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
4494 * include/bits/locale_facets.tcc (__convert_to_v): Change template
4496 (__convert_from_v): Same.
4498 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
4500 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
4502 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
4503 __max_digits checks, adjust arguments.
4504 (num_get::do_get(*)): Changeup.
4506 2002-01-23 Loren Rittle <ljrittle@acm.org>
4508 * config/locale/c_locale_generic.cc: Fix typename usage.
4510 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
4512 * config/locale/c_locale_generic.cc: Fix.
4514 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
4516 * docs/html/22_locale/messages.html: Remove angle brackets.
4517 * docs/html/17_intro/TODO: Add.
4519 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
4521 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
4522 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
4523 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
4524 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
4526 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
4528 Audit for LANG independence.
4529 * include/bits/localefwd.h: Tweaks.
4530 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
4532 (time_get::do_get_year): Same.
4533 (__convert_from_v): Add.
4534 (num_put::_M_convert_float): Use.
4535 (num_put::_M_convert_int): Same.
4536 (money_put::do_put): Same.
4538 * src/locale-inst.cc: Add instantiations for __convert_from_v.
4539 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
4540 * config/locale/time_members_generic.cc:
4541 * config/locale/messages_members_gnu.cc: Same.
4542 * config/locale/messages_members_gnu.h: Same.
4544 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
4545 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
4546 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
4547 * testsuite/22_locale/collate_members_char.cc (test02): New.
4548 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
4549 * testsuite/22_locale/ctype_members_char.cc (test03): New.
4550 * testsuite/22_locale/messages_members_char.cc (test02): New.
4551 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
4552 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
4553 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
4554 * testsuite/22_locale/money_get_members_char.cc (test04): New.
4555 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
4556 * testsuite/22_locale/money_put_members_char.cc (test04): New.
4557 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
4558 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
4559 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
4560 * testsuite/22_locale/time_put_members_char.cc (test03): New.
4561 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
4562 * testsuite/22_locale/time_get_members_char.cc (test07): New.
4563 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
4564 * testsuite/22_locale/num_get_members_char.cc (test03): New.
4565 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
4566 * testsuite/22_locale/num_put_members_char.cc (test03): New.
4568 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
4570 * testsuite/22_locale/time_get_members_char.cc: Same.
4572 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
4575 * include/bits/localefwd.h: Tweak comments.
4576 * include/bits/locale_facets.h (__convert_to_v): Add.
4577 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
4578 (num_get::do_get(float)): Same.
4579 (num_get::do_get(long double)): Same.
4580 (num_get::do_get(bool)): Same.
4581 (num_get::do_get(long)): Same.
4582 (num_get::do_get(long long)): Same.
4583 (num_get::do_get(unsigned int)): Same.
4584 (num_get::do_get(unsigned short)): Same.
4585 (num_get::do_get(unsigned long)): Same.
4586 (num_get::do_get(unsigned long long)): Same.
4587 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
4588 * config/locale/c_locale_generic.cc: Same.
4590 2002-01-22 Loren Rittle <ljrittle@acm.org>
4592 * include/Makefile.am (c_base_builddir): Remove redundant slash.
4593 (std_builddir): Likewise.
4594 (std_headers_rename): Fix cut-n-paste typo.
4595 (install-data-local): Concat path per element instead of once to
4596 first element of list.
4597 * include/Makefile.in: Rebuilt.
4599 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
4601 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
4602 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
4603 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
4605 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
4607 * include/bits/locale_facets.h (ctype<char>::classic_table):
4609 (ctype<char>::_S_ctable): Remove.
4610 * config/os/gnu-linux/bits/ctype_noninline.h
4611 (ctype<char>::_S_table): Remove definition.
4612 (ctype<char>::classic_table): Define.
4613 (ctype<char>::ctype): Replace _S_ctable with classic_table().
4614 * config/os/aix/bits/ctype_noninline.h: Same.
4615 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
4616 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
4617 * config/os/djgpp/bits/ctype_noninline.h: Same.
4618 * config/os/generic/bits/ctype_noninline.h: Same.
4619 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
4620 * config/os/hpux/bits/ctype_noninline.h: Same.
4621 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
4622 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
4623 * config/os/mingw32/bits/ctype_noninline.h: Same.
4624 * config/os/newlib/bits/ctype_noninline.h: Same.
4625 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
4626 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
4627 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
4629 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
4631 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
4632 of _pctype. Use to define _S_ctable. Add definition for alternate
4633 ctor. Initialise _M_ctable to _S_ctable in ctors.
4634 (do_toupper, do_tolower): Use inline code appropriate for C-locale
4635 rather than ::toupper, ::tolower.
4637 2002-01-18 Loren Rittle <ljrittle@acm.org>
4639 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
4640 Add specialization for FreeBSD systems only to avoid losing test
4641 only due to extra precision unmentioned in system headers.
4643 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
4645 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
4647 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
4649 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
4650 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
4652 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4654 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
4656 2002-01-17 David Edelsohn <edelsohn@gnu.org>
4658 * configure.target: Define OPT_LDFLAGS for AIX case.
4660 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4662 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
4663 __glibcpp_double_has_quiet_NaN): Correct mispelling.
4665 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
4667 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
4669 2002-01-16 David Edelsohn <dje@watson.ibm.com>
4671 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
4672 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
4673 * aclocal.m4: Regenerate.
4674 * configure: Regenerate.
4676 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
4678 * include/Makefile.am (c_base_headers_rename): New.
4679 (c_base_headers_extra): New.
4680 (stamp-c_base): Modify.
4681 (install-data-local): Use both.
4682 * include/Makefile.in: Regenerate.
4683 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
4684 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
4685 cstdio ctime cwctype]: Move to..
4686 * include/c/std_*: Here.
4687 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
4688 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
4689 cstdio ctime cwctype]: Move to..
4690 * include/c_std/std_*: Here.
4692 Alexandre Oliva <aoliva@redhat.com>
4693 * include/Makefile.am (.PRECIOUS): Add rule.
4694 * include/Makefile.in: Regenerate.
4696 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
4697 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4699 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
4700 Deuglify, should be current.
4701 (back_insert_iterator::_M_container): Deuglify, should be container.
4702 (front_insert_iterator::_M_container): Same.
4703 (insert_iterator::_M_container): Same.
4704 * testsuite/24_iterators/reverse_iterator.cc: Add check.
4705 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
4706 * testsuite/24_iterators/front_insert_iterator.cc: Same.
4707 * testsuite/24_iterators/insert_iterator.cc: Same.
4709 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
4711 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
4713 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
4714 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
4715 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
4716 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
4717 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
4718 * config/os/newlib/bits/ctype_noninline.h: Same.
4719 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
4720 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
4721 * config/os/hpux/bits/ctype_noninline.h: Same.
4722 * config/os/djgpp/bits/ctype_noninline.h: Same.
4723 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
4724 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
4725 * config/os/aix/bits/ctype_noninline.h: Same.
4727 Testcase by Dietmar Kühl via Peter Schmid
4728 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
4731 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
4733 * libmath/signbitl.c: Copyright years as list, not range.
4734 * libmath/Makefile.am: Same.
4735 * libmath/Makefie.in: Regenerate.
4736 * libmath/signbit.c: Same.
4737 * libmath/nan.c: Same.
4738 * libmath/copysignf.c: Same.
4739 * libmath/signbitf.c: Same.
4740 * testsuite/22_locale/money_get_members_char.cc: Same.
4741 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
4742 * testsuite/22_locale/money_put_members_char.cc: Same.
4743 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
4744 * testsuite/22_locale/time_get_members_char.cc: Same.
4745 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
4746 * testsuite/22_locale/time_put_members_char.cc: Same.
4747 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
4748 * testsuite/21_strings/nonmember.cc: Same.
4749 * testsuite/21_strings/compare.cc: Same.
4750 * testsuite/27_io/stringstream.cc: Same.
4751 * testsuite/27_io/stringbuf.cc: Same.
4752 * testsuite/27_io/filebuf.cc: Same.
4753 * testsuite/27_io/ios_manip_basefield.cc: Same.
4754 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
4755 * include/bits/cpp_type_traits.h: Same.
4756 * include/bits/generic_shadow.h: Same.
4757 * include/bits/gslice_array.h: Same.
4758 * include/bits/gslice.h: Same.
4759 * include/bits/indirect_array.h: Same.
4760 * include/bits/slice_array.h: Same.
4761 * include/bits/sstream.tcc: Same.
4762 * include/bits/streambuf_iterator.h: Same.
4763 * include/bits/valarray_array.tcc: Same.
4764 * include/bits/valarray_meta.h: Same.
4765 * include/bits/valarray_array.h: Same.
4766 * config/os/mingw32/bits/ctype_noninline.h: Same.
4767 * config/os/mingw32/bits/ctype_base.h: Same.
4768 * config/os/hpux/bits/ctype_noninline.h: Same.
4769 * config/os/hpux/bits/ctype_base.h: Same.
4770 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
4771 * config/os/gnu-linux/bits/ctype_base.h: Same.
4772 * config/os/generic/bits/ctype_noninline.h: Same.
4773 * config/os/generic/bits/ctype_base.h: Same.
4775 * libsupc++/tinfo.h: Tweaks.
4777 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
4779 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
4780 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
4781 * testsuite/22_locale/ctype_members_char.cc: Tweak.
4783 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
4785 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
4786 (num_put::do_put(void*)): Fix.
4787 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
4788 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
4789 * testsuite/22_locale/num_get_members_char.cc (test02): Add
4790 long double, void, bool types.
4791 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
4793 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
4794 Alexandre Oliva <aoliva@redhat.com>
4796 * libmath/Makefile.am (LINK): Add --tag CC.
4797 * libmath/Makefile.in: Regenerate.
4799 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
4801 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
4802 of character to attribute mapping table.
4804 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
4806 * testsuite/26_numerics/c99_classification_macros_c.cc
4807 Remove dg-error and dg-excess-errors comments.
4809 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
4811 * include/bits/locale_facets.tcc (time_put::put): Correct output
4813 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
4814 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
4815 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
4816 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
4818 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
4820 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
4822 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
4823 Nathan Myers <ncm@cantrip.org>
4825 * include/bits/basic_string.h
4826 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
4827 temporaries (i.e., call _M_replace_safe) when possible.
4828 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
4829 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
4830 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
4831 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
4832 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
4833 * include/bits/basic_string.tcc
4834 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
4835 replace(__pos, __n1, __s, __n2).
4836 * testsuite/21_strings/replace.cc (test03): New testcases.
4838 * include/bits/basic_string.h (insert(__pos, __s, __n)):
4839 Adjust comparison wrt overflow.
4841 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
4843 * include/Makefile.am (std_headers_rename): New variable.
4844 (install-data-local): Use it.
4845 * include/Makefile.in: Regenerate.
4847 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
4849 * include/bits/locale_facets.tcc (money_put::do_put(string):
4850 Correct output iterator value.
4851 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
4852 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
4854 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
4856 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
4859 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
4861 * include/Makefile.am (std_headers): Update list with new names.
4862 (stamp-std): Link to standardized name.
4863 * include/Makefile.in: Regenerate.
4865 * include/std/algorithm, include/std/bitset, include/std/complex,
4866 include/std/deque, include/std/fstream, include/std/functional,
4867 include/std/iomanip, include/std/ios, include/std/iosfwd,
4868 include/std/iostream, include/std/istream, include/std/iterator,
4869 include/std/limits, include/std/list, include/std/locale,
4870 include/std/map, include/std/memory, include/std/numeric,
4871 include/std/ostream, include/std/queue, include/std/set,
4872 include/std/sstream, include/std/stack, include/std/stdexcept,
4873 include/std/streambuf, include/std/string, include/std/utility,
4874 include/std/valarray, include/std/vector: Rename to...
4876 * include/std/std_algorithm.h, include/std/std_bitset.h,
4877 include/std/std_complex.h, include/std/std_deque.h,
4878 include/std/std_fstream.h, include/std/std_functional.h,
4879 include/std/std_iomanip.h, include/std/std_ios.h,
4880 include/std/std_iosfwd.h, include/std/std_iostream.h,
4881 include/std/std_istream.h, include/std/std_iterator.h,
4882 include/std/std_limits.h, include/std/std_list.h,
4883 include/std/std_locale.h, include/std/std_map.h,
4884 include/std/std_memory.h, include/std/std_numeric.h,
4885 include/std/std_ostream.h, include/std/std_queue.h,
4886 include/std/std_set.h, include/std/std_sstream.h,
4887 include/std/std_stack.h, include/std/std_stdexcept.h,
4888 include/std/std_streambuf.h, include/std/std_string.h,
4889 include/std/std_utility.h, include/std/std_valarray.h,
4890 include/std/std_vector.h: ...this.
4892 2002-01-11 Loren Rittle <ljrittle@acm.org>
4894 * include/Makefile.am (extra_target_headers): New list of all
4895 target files built with ad hoc naming rules.
4896 (stamp-*): Handle LN_S failure in manner portable across make
4898 (install-data-local): Install header files from human-maintained
4899 file lists and directory components instead of non-robust find.
4900 * include/Makefile.in: Rebuilt.
4902 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
4904 * include/bits/locale_facets.tcc (money_get::do_get(string)):
4905 Check for zero-length negative sign before adding it to output
4907 (money_get::do_get(long double)): Return beg.
4908 * testsuite/22_locale/money_get_members_char.cc (test02): Add
4910 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
4912 2002-01-10 David Seymour <seymour_dj@yahoo.com>
4915 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
4916 for _M_extract_float and _M_extract_int
4917 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
4918 (num_get<>::_M_extract_int): Likewise, all callers changed
4919 * testsuite/22_locale/num_get_members_char.cc: Testcase
4921 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
4923 * libsupc++/exception (bad_exception): Add comment.
4924 * libsupc++/new (bad_alloc): Same.
4925 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
4927 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
4929 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
4930 that the destructors should be removed from the descriptions
4931 in the standard: writing them explicitly allows the vtable
4932 heuristic to work. For additional information see:
4933 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
4934 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
4935 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
4936 * libsupc++/exception (bad_exception::~bad_exception()):
4937 Reintroduce declaration.
4938 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
4939 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
4940 (bad_typeid::~bad_typeid()): Same.
4941 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
4942 Reintroduce definition.
4943 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
4944 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
4945 (bad_typeid::~bad_typeid()): Same.
4947 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
4949 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
4950 * include/Makefile.in: Regenerate.
4952 2002-01-09 Bo Thorsen <bo@suse.co.uk>
4954 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
4957 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
4961 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
4962 return value of _M_file->sync().
4963 (filebuf::showmanyc): Check for is_open.
4964 * include/std/fstream (filebuf::sync): Tweak.
4965 * testsuite/27_io/filebuf.cc: Tweak.
4967 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
4968 Brad Garcia <garsh@attbi.com>
4970 * testsuite/27_io/filebuf_members.cc: Add test.
4972 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
4973 Craig Rodrigues <rodrigc@mediaone.net>
4976 * po/Makefile.am (mkinstalldirs): Add.
4977 * po/Makefile.in: Regenerate.
4979 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
4981 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
4982 testsuite/lib/prune.exp: Delete lines ":In function ..." from
4984 * testsuite/23_containers/map_operators.cc: Remove
4985 dg-excess-errors comment.
4986 * testsuite/23_containers/set_operators.cc: Likewise.
4988 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
4990 * include/bits/stl_function.h: Remove two lines of comments;
4991 adjust copyright years.
4993 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
4995 * include/Makefile.am (std_headers): Remove cXXX from list.
4996 (c_base_srcdir): No bits subdirectory.
4997 (c_base_builddir): Same.
4998 (c_base_headers): Adjust names, add ciso646.
4999 (bits_headers): Remove std_xxx.h headers.
5000 * include/Makefile.in: Regenerate.
5002 * include/ext/iterator: Adjust includes.
5003 * include/ext/ropeimpl.h: Same.
5004 * include/ext/stl_hash_fun.h: Same.
5005 * include/ext/algorithm: Same.
5007 * include/backward/bvector.h: Adjust includes.
5008 * include/backward/vector.h: Same.
5009 * include/backward/strstream: Same.
5010 * include/backward/streambuf.h: Same.
5011 * include/backward/stack.h: Same.
5012 * include/backward/set.h: Same.
5013 * include/backward/queue.h: Same.
5014 * include/backward/multiset.h: Same.
5015 * include/backward/multimap.h: Same.
5016 * include/backward/map.h: Same.
5017 * include/backward/list.h: Same.
5018 * include/backward/iterator.h: Same.
5019 * include/backward/iostream.h: Same.
5020 * include/backward/iomanip.h: Same.
5021 * include/backward/fstream.h: Same.
5022 * include/backward/deque.h: Same.
5023 * include/backward/complex.h: Same.
5025 * include/bits/std_algorithm.h: Move to...
5026 * include/std/algorithm: ...here.
5027 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
5028 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
5029 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
5030 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
5031 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
5032 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
5033 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
5036 * include/c_std/bits/std_cassert.h: Move to...
5037 * include/c_std/cassert: Here.
5038 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
5039 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
5040 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
5041 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
5042 std_cwctype.h: Same.
5043 * include/c_std/cmath: Adjust cmath.tcc include.
5044 * include/c_std/cstdlib: Adjust includes.
5045 * include/c_std/cwchar: Same.
5046 * include/c_std/ctime: Same.
5047 * include/c_std/cstring: Same.
5048 * include/c_std/cstdio: Same.
5049 * include/c_std/bits: Remove directory.
5051 * include/c/bits/std_cassert.h: Move to...
5052 * include/c/cassert: Here.
5053 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
5054 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
5055 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
5056 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
5057 std_cwctype.h: Same.
5058 * include/c/bits: Remove directory.
5060 * include/std/cwctype: Remove.
5061 * include/std/cwchar: Remove.
5062 * include/std/ctime: Remove.
5063 * include/std/cstring: Remove.
5064 * include/std/cstdlib: Remove.
5065 * include/std/cstdio: Remove.
5066 * include/std/cstddef: Remove.
5067 * include/std/cstdarg: Remove.
5068 * include/std/csignal: Remove.
5069 * include/std/csetjmp: Remove.
5070 * include/std/cmath: Remove.
5071 * include/std/clocale: Remove.
5072 * include/std/climits: Remove.
5073 * include/std/ciso646: Remove.
5074 * include/std/cfloat: Remove.
5075 * include/std/cerrno: Remove.
5076 * include/std/cctype: Remove.
5077 * include/std/cassert: Remove.
5079 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
5080 files and subsituting <xxx>.
5081 * include/bits/valarray_array.h: Same.
5082 * include/bits/stl_uninitialized.h: Same.
5083 * include/bits/stl_alloc.h: Same.
5084 * include/bits/stl_algobase.h: Same.
5085 * include/bits/sstream.tcc: Same.
5086 * include/bits/pthread_allocimpl.h: Same.
5087 * include/bits/ostream.tcc: Same.
5088 * include/bits/localefwd.h: Same.
5089 * include/bits/locale_facets.tcc: Same.
5090 * include/bits/locale_facets.h: Same.
5091 * include/bits/istream.tcc: Same.
5092 * include/bits/char_traits.h: Same.
5093 * include/bits/boost_concept_check.h: Same.
5094 * include/bits/basic_file.h: Same.
5095 * include/std/bitset: Same.
5096 * include/std/complex: Same.
5097 * include/std/fstream: Same.
5098 * include/std/functional: Same.
5099 * include/std/ios: Same.
5100 * include/std/iostream: Same.
5101 * include/std/ostream: Same.
5102 * include/std/sstream: Same.
5103 * include/std/streambuf: Same.
5104 * include/std/string: Same.
5105 * include/std/iterator: Same.
5106 * include/std/valarray: Same.
5108 * src/ios.cc: Adjust includes.
5109 * src/valarray-inst.cc: Same.
5110 * src/string-inst.cc: Same.
5111 * src/stl-inst.cc: Same.
5112 * src/stdexcept.cc: Same.
5113 * src/misc-inst.cc: Same.
5114 * src/localename.cc: Same.
5115 * src/locale-inst.cc: Same.
5116 * src/locale.cc: Same.
5117 * src/limits.cc: Same.
5118 * src/concept-inst.cc: Same.
5119 * src/complex_io.cc: Same.
5120 * src/codecvt.cc: Same.
5121 * src/bitset.cc: Same.
5122 * src/cmath.cc: Same.
5124 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
5126 * include/bits/stl_tree.h (rb_tree): Move to...
5127 * include/ext/rb_tree: ...here, new file.
5128 * include/Makefile.am (ext_headers): Add new file.
5129 * include/Makefile.in: Regenerate.
5130 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
5131 return_temporary_buffer, struct temporary_buffer): Move to...
5132 * include/ext/memory: ...here.
5133 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
5134 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
5135 * include/backward/tree.h: Include <ext/rb_tree), tweak.
5137 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
5139 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
5140 * include/ext/numeric: ...here, new file.
5141 * include/bits/stl_function.h (identity_element, unary_compose,
5142 binary_compose, compose1, compose2, identity, select1st,
5143 select2nd, project1st + helper, project2nd + helper,
5144 constant_void_fun + helper, constant_unary_fun + helper,
5145 costant_binary_fun + helper, constant0, constant1, constant2,
5146 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
5147 * include/ext/functional: ...here, new file.
5148 * include/Makefile.am (ext_headers): Add new files.
5149 * include/Makefile.in: Regenerate.
5150 * testsuite/ext/headers.cc: Include <ext/numeric> and
5152 * include/backward/algo.h: Include <ext/numeric>, tweak.
5153 * include/backward/function.h: Include <ext/functional>, tweak.
5154 * include/ext/ropeimpl.h: Include <ext/numeric>.
5156 2002-01-03 Jeffrey A Law <law@redhat.com>
5158 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
5159 __strtoull declarations with __extension__.
5161 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
5163 * testsuite/lib/prune.exp: Correct regular expression for
5166 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
5168 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
5169 Change concept checks, as with lower_bound and PR 2054.
5170 * testsuite/ext/concept_checks.cc: Expand test to include those.
5172 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
5174 * include/bits/boost_concept_check.h: Import some changes from
5175 upsteam (Boost) version.
5177 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
5179 * include/bits/stl_algobase.h (copy_n + helpers,
5180 lexicographical_compare_3way + helpers): Move to...
5181 * include/ext/algorithm: ...here.
5182 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
5183 helpers): Move to...
5184 * include/ext/memory: ...here, new file.
5185 * include/Makefile.am (ext_headers): Add new file.
5186 * include/Makefile.in: Regenerate.
5187 * testsuite/ext/headers.cc: Include <ext/memory>.
5188 * include/backward/algobase.h: Include <ext/memory> and
5189 <ext/algorithm>, tweak.
5190 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
5191 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
5193 2002-01-01 Roger Sayle <roger@eyesopen.com>
5195 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
5196 equivalent ___builtin__ versions.
5198 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
5199 are available in libstdc++ as the necessary stub implementations
5200 are provided by libmath/stubs.c.
5202 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
5204 * configure.in: Add support for NetBSD cross compiles.
5205 * configure: Regenerate.