1 2002-12-16 Paolo Carlini <pcarlini@unitus.it>
4 * include/std/std_limits.h
5 (struct numeric_limits<short>,
6 struct numeric_limits<unsigned short>,
7 struct numeric_limits<int>,
8 struct numeric_limits<unsigned int>,
9 struct numeric_limits<long>,
10 struct numeric_limits<unsigned long>,
11 struct numeric_limits<long long>,
12 struct numeric_limits<unsigned long long>): According
13 to 18.2.1.2,53 and 18.2.1.5,1 is_iec559 shall be false.
14 * testsuite/18_support/numeric_limits.cc: Add test04.
16 2002-12-16 Benjamin Kosnik <bkoz@redhat.com>
18 * configure.in (GLIBCPP_ENABLE_DEBUG): Default to none.
19 Call GLIBCPP_ENABLE_DEBUG_FLAGS.
20 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): GLIBCPP_BUILD_DEBUG, new
21 conditional if --enable-debug is yes. Rework.
22 (GLIBCPP_ENABLE_DEBUG_FLAGS): New.
23 * aclocal.m4: Regenerate.
24 * libio/Makefile.am: Remove DEBUG_FLAGS.
25 * libio/Makefile.in: Regenerate.
26 * libsupc++/Makefile.am: Remove DEBUG_FLAGS.
27 * libsupc++/Makefile.in: Regenerate.
28 * docs/html/configopts.html: Add docs for --enable-debug,
31 2002-12-16 Benjamin Kosnik <bkoz@redhat.com>
33 Correct dependency tracking, build warts.
34 * configure.in: Correct repeated AC_OUTPUT thrashing by
36 * configure: Regenerate.
37 * include/Makefile.am (stamp-target): Stamp in top_builddir.
38 * include/Makefile.in: Regenerate.
39 * src/Makefile.am (codecvt_members.cc): New rule.
40 (collate_members.cc): Same.
41 (ctype_members.cc): Same.
42 (messages_members.cc): Same.
43 (monetary_members.cc): Same.
44 (numeric_members.cc): Same.
45 (time_members.cc): Same.
47 (basic_file.cc): Same.
48 * src/Makefile.in: Regenerate.
49 * acinclude.m4 (CCTYPE_CHAR_CC): Remove.
50 (CCCODECVT_CC): Don't link, AC_SUBST.
58 * aclocal.m4: Regenerate.
60 * src/Makefile.am (libstdc___la_LIBADD): Use top_builddir
61 for convenience libraries.
62 (version_arg): Rename linker.map to libstdc++.ver.
63 (libstdc___la_DEPENDENCIES): Remove linker.map, add
64 libstdc++-symbol.ver as a dependency.
65 (libstdc++-symbol.ver): Add rule.
66 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Change LINKER_MAP to
67 SYMVER_MAP. Don't link, AC_SUBST.
69 * include/Makefile.am (target_headers_noinst): New.
70 (stamp-target): Add CLOCALE_INTERNAL_H.
71 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't link
72 CLOCALE_INTERNAL_H, AC_SUBST.
73 * config/locale/gnu/c_locale.cc: Modify c++locale_internal.h
75 * config/locale/gnu/time_members.cc: Same.
76 * config/locale/gnu/numeric_members.cc: Same.
77 * config/locale/gnu/monetary_members.cc: Same.
78 * config/locale/gnu/messages_members.cc: Same.
79 * config/locale/gnu/ctype_members.cc: Same.
80 * config/locale/gnu/collate_members.cc: Same.
81 * config/locale/gnu/codecvt_members.cc: Same.
82 * config/locale/generic/codecvt_members.cc: Remove.
84 2002-12-11 Paolo Carlini <pcarlini@unitus.it>
87 * config/locale/generic/time_members.cc
88 (__timepunct<char>::_M_initialize_timepunct): Fix typos
89 in _M_date_format and _M_date_era_format string literals.
91 2002-12-10 Mark Mitchell <mark@codesourcery.com>
93 * libsupc++/cxxabi.h (__cxa_bad_cast): Declare it.
94 (__cxa_bad_typeid): Likewise.
95 (__cxa_atexit): Likewise.
96 (__cxa_finalize): Likewise.
98 2002-12-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
100 * include/bits/slice_array.h (slice_array<>::operator=): Fix typo.
102 2002-12-09 Mark Mitchell <mark@codesourcery.com>
104 * libsupc++/cxxabi.h (__cxa_pure_virtual): Declare it.
106 2002-12-05 Benjamin Kosnik <bkoz@redhat.com>
108 * testsuite/abi_check.cc: Add GLIBCPP_3.2.2.
110 2002-12-04 Paolo Carlini <pcarlini@unitus.it>
112 * config/locale/generic/codecvt_members.cc (codecvt::do_out
113 (state_type&, const intern_type*, const intern_type*,
114 const intern_type*&, extern_type*, extern_type*, extern_type*&),
115 codecvt::do_in(state_type&, const extern_type*, const extern_type*,
116 const extern_type*&, intern_type*, intern_type*, intern_type*&)):
117 Fully qualify min() with std::.
118 * config/locale/gnu/codecvt_members.cc: Ditto.
119 * locale/ieee_1003.1-2001/codecvt_specializations.h
120 (codecvt::do_length(const state_type&, const extern_type*,
121 const extern_type*, size_t): Ditto.
122 * include/bits/deque.tcc
123 (_M_range_initialize(_ForwardIterator, _ForwardIterator,
124 forward_iterator_tag), deque::_M_range_insert_aux(iterator,
125 _ForwardIterator, _ForwardIterator, forward_iterator_tag),
126 deque::_M_reallocate_map(size_type, bool)): Fully qualify
127 distance() and max() with std::.
128 * include/bits/fstream.tcc (basic_filebuf::seekoff(off_type,
129 ios_base::seekdir, ios_base::openmode)): Fully qualify max()
131 * include/bits/istream.tcc (basic_istream::ignore(streamsize,
132 int_type), basic_istream::readsome(char_type*, streamsize)):
133 Fully qualify min() with std::.
134 * include/bits/locale_facets.tcc (time_get::_M_extract_name
135 (iter_type&, iter_type&, int&, const _CharT**, size_t,
136 ios_base::iostate&)): Ditto.
137 * include/bits/sstream.tcc (basic_stringbuf::overflow(int_type)):
138 Fully qualify max() with std::.
139 * include/bits/stl_algo.h (__inplace_stable_partition(_ForwardIter
140 __first, _ForwardIter, _Predicate, _Distance),
141 __stable_partition_adaptive(_ForwardIter, _ForwardIter, _Predicate,
142 _Distance, _Pointer, _Distance), __merge_sort_loop(_RandomAccessIter1,
143 _RandomAccessIter1, _RandomAccessIter2, _Distance),
144 __merge_sort_loop(_RandomAccessIter1, _RandomAccessIter1,
145 _RandomAccessIter2, _Distance, _Compare), lower_bound(_ForwardIter,
146 _ForwardIter, const _Tp&), lower_bound(_ForwardIter, _ForwardIter,
147 const _Tp&, _Compare), upper_bound(_ForwardIter, _ForwardIter,
148 const _Tp&), upper_bound(_ForwardIter, _ForwardIter, const _Tp&,
149 _Compare), equal_range(_ForwardIter, _ForwardIter, const _Tp&),
150 equal_range(_ForwardIter, _ForwardIter, const _Tp&, _Compare),
151 __merge_without_buffer(_BidirectionalIter, _BidirectionalIter,
152 _BidirectionalIter, _Distance, _Distance), __merge_without_buffer
153 (_BidirectionalIter, _BidirectionalIter, _BidirectionalIter,
154 _Distance, _Distance, _Compare), __rotate_adaptive(_BidirectionalIter1,
155 _BidirectionalIter1, _BidirectionalIter1, _Distance, _Distance,
156 _BidirectionalIter2, _Distance), __merge_adaptive(_BidirectionalIter,
157 _BidirectionalIter, _BidirectionalIter, _Distance, _Distance,
158 _Pointer, _Distance), __merge_adaptive(_BidirectionalIter,
159 _BidirectionalIter, _BidirectionalIter, _Distance, _Distance,
160 _Pointer, _Distance, _Compare), inplace_merge(_BidirectionalIter,
161 _BidirectionalIter, _BidirectionalIter), inplace_merge
162 (_BidirectionalIter, _BidirectionalIter, _BidirectionalIter,
163 _Compare), __find_end(_BidirectionalIter1, _BidirectionalIter1,
164 _BidirectionalIter2, _BidirectionalIter2, bidirectional_iterator_tag,
165 bidirectional_iterator_tag), __find_end(_BidirectionalIter1,
166 _BidirectionalIter1, _BidirectionalIter2, _BidirectionalIter2,
167 bidirectional_iterator_tag, bidirectional_iterator_tag,
168 _BinaryPredicate)): Fully qualify distance() and min() with std::.
169 * include/bits/stl_algobase.h (lexicographical_compare
170 (const unsigned char*, const unsigned char*, const unsigned char*,
171 const unsigned char*)): Fully qualify min() with std::.
172 * include/bits/stl_bvector.h (_M_insert_range(iterator,
173 _ForwardIterator, _ForwardIterator, forward_iterator_tag),
174 _M_assign_aux(_ForwardIterator, _ForwardIterator, forward_iterator_tag),
175 _M_initialize_range(_ForwardIterator, _ForwardIterator,
176 forward_iterator_tag), _M_fill_insert(iterator, size_type, bool)):
177 Fully qualify distance() and max() with std::.
178 * include/bits/stl_deque.h (_Deque_base::_M_initialize_map(size_t),
179 _M_assign_aux(_ForwardIterator, _ForwardIterator, forward_iterator_tag)):
181 * include/bits/stl_list.h (size()): Fully qualify distance() with std::.
182 * include/bits/stl_tempbuf.h (_Temporary_buffer::_Temporary_buffer
183 (_ForwardIterator, _ForwardIterator)): Ditto.
184 * include/bits/stl_tree.h (_Rb_tree::erase(const _Key&),
185 _Rb_tree::count(const _Key&)): Ditto.
186 * include/bits/stl_vector.h (_M_range_initialize(_ForwardIterator,
187 _ForwardIterator, forward_iterator_tag)): Ditto.
188 * include/bits/streambuf.tcc (basic_streambuf::xsgetn(char_type*,
189 streamsize), basic_streambuf::xsputn(const char_type*, streamsize)):
190 Fully qualify min() with std::.
191 * include/bits/vector.tcc (_M_assign_aux(_ForwardIter, _ForwardIter,
192 forward_iterator_tag), _M_fill_insert(iterator, size_type,
193 const value_type&), _M_range_insert(iterator, _ForwardIterator,
194 _ForwardIterator, forward_iterator_tag)): Fully qualify max() and
195 distance() with std::.
196 * include/std/std_bitset.h (bitset::_M_copy_from_string
197 (const basic_string&, size_t, size_t)): Fully qualify min() with std::.
198 * include/std/std_streambuf.h (_M_pback_create()): Ditto.
199 * include/std/std_complex.h (abs(const complex<_Tp>&)):
200 Fully qualify max() with std::.
201 * include/std/std_sstream.h (str()): Ditto.
202 * src/codecvt.cc (codecvt::do_out(state_type&, const intern_type*,
203 const intern_type*, const intern_type*&, extern_type*, extern_type*,
204 extern_type*&), codecvt::do_in(state_type&, const extern_type*,
205 const extern_type*, const extern_type*&, intern_type*, intern_type*,
206 intern_type*&), codecvt::do_length(const state_type&,
207 const extern_type*, const extern_type*, size_t), do_length
208 (const state_type&, const extern_type*, const extern_type*,
209 size_t)): Fully qualify min() with std::.
210 * src/strstream.cc (strstreambuf::strstreambuf(streamsize),
211 strstreambuf::overflow(int_type)): Fully qualify max() with std::.
213 2002-12-02 Paolo Carlini <pcarlini@unitus.it>
215 * include/bits/basic_string.h (compare(const basic_string&)):
216 Fully qualify min() with std::.
218 2002-12-02 Benjamin Kosnik <bkoz@redhat.com>
220 * configure.in (libtool_VERSION): Update to 5:2:0.
221 * configure: Regenerate.
223 2002-12-02 Paolo Carlini <pcarlini@unitus.it>
225 * include/bits/basic_string.tcc
226 (basic_string::append(const basic_string&, size_type,
227 size_type), basic_string::compare(size_type, size_type,
228 const basic_string&), basic_string::compare(size_type,
229 size_type, const basic_string&, size_type, size_type),
230 basic_string::compare(const _CharT*), basic_string::
231 compare(size_type, size_type, const _CharT*),
232 basic_string::compare(size_type, size_type, const _CharT*,
233 size_type), _S_string_copy(const basic_string&, _CharT*,
234 typename _Alloc::size_type)): Fully qualify min() with std::.
236 2002-12-02 Paolo Carlini <pcarlini@unitus.it>
238 * include/bits/basic_string.tcc
239 (basic_string::_S_construct(_InIter, _InIter, const _Alloc&,
240 forward_iterator_tag)): Delay the declaration of __dnew,
241 fully qualify distance() with std::.
242 (basic_string::_M_replace_safe): Fully qualify distance()
245 2002-11-28 Phil Edwards <pme@gcc.gnu.org>
248 * testsuite/21_strings/ctor_copy_dtor.cc (test05): Also test
249 the NULL-pointer, zero-size case.
251 2002-11-28 Jonathan Wakely <redi@gcc.gnu.org>
253 * docs/html/faq/index.html: Add tip about a namespace for extensions.
255 2002-11-28 Paolo Carlini <pcarlini@unitus.it>
256 Nathan Myers <ncm@cantrip.org>
259 (locale::_Impl::_Impl(const char*, size_t)):
260 Improve previous fix for the strtok vs MT issue.
262 2002-11-28 Paolo Carlini <pcarlini@unitus.it>
264 * config/locale/gnu/c_locale.cc (locale::_S_categories):
265 Reorder the categories to match that of glibc's setlocale(LC_ALL, ""))
266 * config/locale/generic/c_locale.cc (locale::_S_categories): Ditto.
267 * testsuite/22_locale/ctor_copy_dtor.cc (test04): Tweak.
269 2002-11-25 Benjamin Kosnik <bkoz@redhat.com>
271 * testsuite/abi_check.cc: Add CXXABI_1.2.1 as compatible.
272 * config/linker-map.gnu: Version __cxa_guard_acquire,
273 __cxa_guard_release, __cxa_guard_abort in CXXABI_1.2.1.
275 2002-11-25 Paolo Carlini <pcarlini@unitus.it>
276 Nathan Myers <ncm@cantrip.org>
279 (locale::_Impl::_Impl(const char*, size_t)):
280 Avoid strtok for thread safety.
282 2002-11-25 Stephen M. Webb <stephen@bregmasoft.com>
284 * testsuite/testsuite_allocator.h: New file.
285 * testsuite/testsuite_allocator.cc: New file.
286 * testsuite/Makefile.am: Added testsuite_allocator to test library.
287 * testsuite/testsuite_hooks.h: Added more detailed tracker objects
288 gnu_copy_constructor, gnu_assignment_operator, and gnu_destructor.
289 * testsuite/testsuite_hooks.cc: Added new static objects definitions.
290 * testsuite/23_containers/vector_capacity.cc: Added reserve() tests.
291 * testsuite/23_containers/vector_ctor.cc: Added a plethora of tests.
292 * testsuite/23_containers/deque_ctor.cc: Added a slew of new tests.
294 2002-11-25 Mark Mitchell <mark@codesourcery.com>
296 * libsupc++/Makefile.am (sources): Add guard.cc.
297 * libsupc++/Makefile.in: Regenerated.
298 * libsupc++/cxxabi.h (__cxa_guard_acquire): New function.
299 (__cxa_guard_release): Likewise.
300 (__cxa_guard_abort): Likewise.
301 * libsupc++/guard.cc: New file.
303 2002-11-25 Wolfgang Bangerth <bangerth@ticam.utexas.edu>
305 * include/std/std_complex.h
306 (operator<<(basic_ostream&, const complex&)): Prefer 'x'
307 to "x" for efficiency sake.
308 * src/locale.cc (locale::locale(const char*)): Ditto.
310 2002-11-24 Paolo Carlini <pcarlini@unitus.it>
312 * src/locale.cc (locale::locale(const char*)):
313 Trivial cosmetic tweaks.
315 2002-11-22 Laszlo Ersek <erseklaszlo@chello.hu>
316 Paolo Carlini <pcarlini@unitus.it>
319 * include/bits/stl_tree.h (_Rb_tree_rebalance_for_erase):
320 Don't check that __w->_M_left != 0 and __w->_M_right != 0
321 when they can't be otherwise.
323 2002-11-21 Phil Edwards <pme@gcc.gnu.org>
325 * docs/html/documentation.html: Fix broken/thinko'd URL.
327 2002-11-21 Phil Edwards <pme@gcc.gnu.org>
329 * docs/doxygen/run_doxygen: Tighter search expression for sed.
330 * docs/doxygen/stdheader.cc: Handle the case of good headers.
332 2002-11-21 Phil Edwards <pme@gcc.gnu.org>
334 * acinclude.m4: Uniform formatting.
335 * configure.in: Warn when generic atomicity.h is used.
336 * configure.target: Fix comment.
337 * aclocal.m4, configure: Regenerate.
339 2002-11-21 Phil Edwards <pme@gcc.gnu.org>
341 * include/bits/streambuf.tcc (basic_streambuf::sputbackc): Prefix
342 "this->" to call to pbackfail.
344 2002-11-21 Phil Edwards <pme@gcc.gnu.org>
346 * docs/doxygen/style.css: Update.
347 * docs/doxygen/user.cfg.in: Update.
348 * docs/html/documentation.html: Regenerate.
349 * docs/html/17_intro/howto.html: Tweak I/O sentry entry.
350 * docs/html/27_io/howto.html: New section on headers.
351 * docs/html/faq/index.html: Add i386 threading entry.
352 * docs/html/faq/index.txt: Regenerate.
354 * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
357 2002-11-21 Phil Edwards <pme@gcc.gnu.org>
359 * docs/doxygen/TODO: Note change in clause 27 docs.
360 * include/bits/basic_ios.h, include/bits/fpos.h,
361 include/bits/ios_base.h, include/bits/stl_deque.h,
362 include/bits/stl_iterator_base_types.h, include/std/std_fstream.h,
363 include/std/std_iomanip.h, include/std/std_iosfwd.h,
364 include/std/std_iostream.h, include/std/std_istream.h,
365 include/std/std_ostream.h, include/std/std_sstream.h,
366 include/std/std_streambuf.h: Doxygenate all I/O entities.
368 2002-11-20 Benjamin Kosnik <bkoz@redhat.com>
369 Jonathan Lennox <lennox@cs.columbia.edu>
371 * include/bits/streambuf.tcc (__copy_streambufs):
372 Revert previous fix for the interactive half of
373 libstdc++/6745, use _M_buf_size_opt to set dynamically
374 the correct buffer size.
376 2002-11-20 Jonathan Wakely <redi@gcc.gnu.org>
378 * docs/html/21_strings/howto.html: Fix example code, cite Gaby's
379 explanation of "<unknown type>" error with toupper/tolower.
380 * docs/html/22_locale/howto.html: Be more consistent with
381 example in 21_strings.
383 2002-11-19 John Gustafsson <forgoil@rsn.bth.se>
385 * docs/html/20_util/howto.html: Fix typo.
387 2002-11-18 Jonathan Lennox <lennox@cs.columbia.edu>
389 * include/bits/streambuf.tcc (__copy_streambufs): verify
390 __sbin->gptr() + __bufsize < __sbin->egptr() before using.
391 * testsuite/27_io/ostream_inserter_other.cc (test_buffer_4): Add.
392 (test05): Use test_buffer_4. Delete unused ostringstream
395 2002-11-18 Paolo Carlini <pcarlini@unitus.it>
397 PR libstdc++/6745 (continued)
398 * include/bits/streambuf.tcc (__copy_streambufs):
399 Deal with interactive input by using isatty as in the
400 fix for libstdc++/8399.
402 2002-11-17 Jakub Jelinek <jakub@redhat.com>
404 * config/linker-map.gnu: Export _S_construct even if size_t is
405 unsigned long. Collapse std::codecvt<char>::codecvt(size_t)
406 and std::codecvt<wchar_t>::codecvt(size_t) into one export pattern.
408 2002-11-15 Benjamin Kosnik <bkoz@redhat.com>
409 Gabriel Dos Reis <gdr@integrable-solutions.net>
412 * include/bits/stl_alloc.h: Use builtin_expect for the most
413 obvious limit checks.
414 (__default_alloc_template::allocate): Check for null, throw
416 * include/bits/vector.tcc: Formatting tweaks.
417 * include/bits/stl_vector.h: Same.
418 * testsuite/20_util/allocator_members.cc (test02): Add.
419 * testsuite/23_containers/vector_capacity.cc (test03): Add.
421 2002-11-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
423 * src/ios.cc [_GLIBCPP_HAVE_UNISTD_H]: Include unistd.h.
425 2002-11-15 Paolo Carlini <pcarlini@unitus.it>
426 Loren J. Rittle <ljrittle@acm.org>
430 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): New macro to
431 check for unistd.h functions.
432 (GLIBCPP_CHECK_UNISTD_SUPPORT): New macro, check for isatty
434 * configure.in: Call here.
435 * src/ios.cc (ios_base::Init::_S_ios_create(bool)):
436 Use _GLIBCPP_HAVE_ISATTY: ifdef, in case of interactive
437 input __in_size = 1 even when sync_with_stdio is false;
438 otherwise fall back to __in_size = 1.
439 * aclocal.m4: Regenerate.
440 * config.h.in: Regenerate.
441 * configure: Regenerate.
443 2002-11-13 Benjamin Kosnik <bkoz@redhat.com>
445 * acconfig.h (HAVE_DRAND48): Add.
446 (HAVE_GETPAGESIZE): Add.
448 (HAVE_SIGSETJMP): Add.
449 * config.h.in: Regenerate.
450 * configure: Regenerate.
452 2002-11-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
454 * config/os/hpux/os_defines.h (_GLIBCPP_INST_ATOMICITY_LOCK): Define
455 on hppa when there is no weak support.
457 2002-11-13 Benjamin Kosnik <bkoz@redhat.com>
460 * include/bits/vector.tcc (vector::reserve): Throw length_error if
461 requested size is bigger than max_size().
462 * include/bits/stl_bvector.h (vector<bool>::reserve): Same.
463 * testsuite/23_containers/vector_capacity.cc (test02): Add.
465 2002-11-13 Benjamin Kosnik <bkoz@redhat.com>
467 * config/linker-map.gnu: Export all _S_construct.
469 2002-11-13 Loren J. Rittle <ljrittle@acm.org>
472 * src/locale.cc (std::locale::classic()): Weaken locking protocol.
474 2002-11-13 Jonathan Wakely <redi@gcc.gnu.org>
476 * docs/html/install.html, docs/html/22_locale/locale.html: HTML fix.
478 2002-11-11 Benjamin Kosnik <bkoz@redhat.com>
481 * include/bits/fstream.tcc (filebuf::open): Set input pointers.
482 * config/io/basic_file_stdio.cc (__basic_file::_M_open_mode): Set
484 (__basic_file::open): Set to non-block for input.
485 * testsuite/27_io/istream_unformatted.cc (test12): Add.
488 2002-11-11 Jonathan Wakely <redi@gcc.gnu.org>
490 * docs/html/17_intro/howto.html: Make "chapter 22 notes" a link.
491 * docs/html/faq/index.html: Mention that GCC ships with a newer
492 version of the library than the last snapshot. Make "see below" a
493 link. Add missing <html> tag.
494 * docs/html/faq/index.txt: Regenerate.
495 * docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
496 docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
497 docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
498 docs/html/27_io/howto.html, docs/html/ext/howto.html,
499 docs/html/ext/sgiexts.html: Add missing <html> tag.
501 2002-11-07 Phil Edwards <pme@gcc.gnu.org>
502 Richard Earnshaw <rearnsha@arm.com>
504 * config/cpu/generic/atomicity.h: Provide atomic __exchange_and_add
507 2002-11-08 Paolo Carlini <pcarlini@unitus.it>
509 * config/locale/gnu/monetary_members.cc
510 (moneypunct<wchar_t, true>::_M_initialize_moneypunct(__c_locale,
512 moneypunct<wchar_t, false>::_M_initialize_moneypunct(__c_locale,
513 const char*)): Tweak parameters for glibc2.3 systems, thus
514 avoiding unused parameter warnings.
516 2002-11-05 Jonathan Wakely <cow@compsoc.man.ac.uk>
518 * include/std/std_sstream.h
519 (basic_stringbuf::str(const __string_type&)):
520 Prefer data() to c_str(), thus avoiding assigning the
521 unnecessary NULL-terminator.
523 2002-11-05 Benjamin Kosnik <bkoz@redhat.com>
526 * include/bits/istream.tcc (istream::readsome): Don't set eofbit
528 (istream::operator>>(_CharT*)): Use traits_type.
530 (istream::operator>>(string)): Same.
531 * testsuite/27_io/istream_unformatted.cc (test11): Add.
533 2002-11-05 Paolo Carlini <pcarlini@unitus.it>
536 * include/std/std_sstream.h
537 (basic_stringbuf::str(const __string_type&)):
538 Cannot use simple assignment since the COW-nature of v3
539 basic_string is not taken into account in basic_stringbuf.
540 * testsuite/27_io/stringstream_members.cc: Add test04 from PR.
542 2002-11-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
544 * configure.target (hppa*): Define cpu_include_dir.
545 * config/os/hpux/os_defines.h (_GLIBCPP_INST_ATOMICITY_LOCK): Define.
546 * src/misc-inst.cc: Instantiate atomicity lock when
547 _GLIBCPP_INST_ATOMICITY_LOCK is defined.
548 * config/cpu/hppa/atomicity.h: New file.
550 2002-11-05 Benjamin Kosnik <bkoz@redhat.com>
553 * include/bits/ios_base.h (~ios_base): Make virtual.
555 2002-11-04 Benjamin Kosnik <bkoz@redhat.com>
557 * config/linker-map.gnu: Export string operator+.
558 Export __default_alloc_template::_S_force_new.
559 * testsuite/abi_check.cc: Output tweaks.
561 2002-11-01 Benjamin Kosnik <bkoz@redhat.com>
564 * src/string-inst.cc: Add instantiation.
566 2002-11-01 Benjamin Kosnik <bkoz@redhat.com>
569 * configure.target: Simplify.
570 * config/cpu/i386/atomicity.h: Remove.
571 * config/cpu/i386: Remove.
572 * config/cpu/arm/atomicity.h: Remove.
573 * config/cpu/arm: Remove.
574 * config/cpu/x86-64/atomicity.h: Remove.
575 * config/cpu/x86-64: Remove.
577 2002-11-01 Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de>
580 * config/link-map.gnu: Export math stubbs.
582 2002-11-01 Benjamin Kosnik <bkoz@redhat.com>
585 * include/std/std_iostream.h: Tweak.
586 * include/std/std_iosfwd.h: Add _GLIBCPP_USE_WCHAR_T.
587 * include/std/std_iomanip.h: Same.
588 * include/bits/stringfwd.h: Same.
589 * include/bits/basic_string.tcc: Same.
590 * include/bits/sstream.tcc: Same.
591 * include/bits/fstream.tcc: Same.
592 * include/bits/basic_ios.tcc: Same.
593 * include/bits/streambuf.tcc: Same.
594 * include/bits/locale_facets.tcc: Same.
596 2002-11-01 John Carter <john.carter@tait.co.nz>
599 * include/bits/basic_string.tcc
600 (compare(const _CharT* __s)): Don't access __s past its length.
602 2002-10-31 Zack Weinberg <zack@codesourcery.com>
604 * libsupc++/eh_globals.cc: Don't call __gthread_key_dtor.
606 2002-10-31 Benjamin Kosnik <bkoz@redhat.com>
609 * include/bits/istream.tcc (istream::tellg): Remove sentry bits.
610 (istream::seekg): Same.
611 * testsuite/27_io/istream_seeks.cc (test06): New.
613 2002-10-28 Jason Thorpe <thorpej@wasabisystems.com>
615 * testsuite/thread/pthread5.cc: Include <unistd.h>
616 if _GLIBCPP_HAVE_UNISTD_H is defined.
617 (main): Only use pthread_attr_setscope if
618 _POSIX_THREAD_PRIORITY_SCHEDULING is defined.
620 2002-10-28 Jason Thorpe <thorpej@wasabisystems.com>
622 * testsuite/thread/pthread1.cc: Enable on *-*-netbsd*.
623 * testsuite/thread/pthread2.cc: Likewise.
624 * testsuite/thread/pthread3.cc: Likewise.
625 * testsuite/thread/pthread4.cc: Likewise.
626 * testsuite/thread/pthread5.cc: Likewise.
627 * testsuite/thread/pthread6.cc: Likewise.
629 2002-10-27 Paolo Carlini <pcarlini@unitus.it>
632 * include/bits/basic_string.tcc
633 (string::_S_construct(_InIter, _InIter, const _Alloc&,
634 forward_iterator_tag)): Do not throw logic error if
635 __beg == NULL && __end == __beg.
636 (string::string(const _CharT*, const _Alloc&)): Tweak.
637 * testsuite/21_strings/ctor_copy_dtor.cc: Add test05 from PR.
639 2002-10-24 Hans-Peter Nilsson <hp@bitrange.com>
644 * testsuite/testsuite_hooks.cc (__set_testsuite_memlimit): Use
645 __typeof__ (r.rlim_cur), not rlim_t in declaration of limit.
647 2002-10-23 Jakub Jelinek <jakub@redhat.com>
649 * testsuite/22_locale/num_put_members_char.cc (test01): Swap size
650 and decimal_point arguments of find.
651 * testsuite/22_locale/num_put_members_wchar_t.cc (test01): Likewise.
653 2002-10-22 Jakub Jelinek <jakub@redhat.com>
655 * Makefile.am (check-abi, new-abi-baseline): Use @glibcpp_srcdir@
656 instead of ${top_srcdir}.
657 * Makefile.in: Rebuilt.
659 2002-10-22 Loren J. Rittle <ljrittle@acm.org>
661 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
662 Remove specialization for FreeBSD systems.
664 2002-10-18 Loren J. Rittle <ljrittle@acm.org>
666 * configure.target (freebsd*): Use abi_baseline_triplet.
667 * config/abi/i386-unknown-freebsd4/baseline_symbols.txt: New file.
668 * config/abi/i386-unknown-freebsd4.7/baseline_symbols.txt: Remove.
670 * testsuite/thread/pthread1.cc: Remove needless workaround
673 2002-10-18 Loren J. Rittle <ljrittle@acm.org>
674 Brad Spencer <spencer@infointeractive.com>
675 (provided alternate patch and improvements)
677 * docs/html/23_containers/howto.html (GLIBCPP_FORCE_NEW): Document
678 new environment variable which replaces all uses of __USE_MALLOC
680 * docs/html/ext/howto.html (GLIBCPP_FORCE_NEW): Likewise.
681 (__mem_interface): Remove all references to old internal typedef.
682 * include/backward/alloc.h (__USE_MALLOC): Remove it and all
684 * include/bits/c++config (__USE_MALLOC): Update related error
686 * include/bits/stl_alloc.h (__USE_MALLOC): Remove it and all
687 guarded code. Update all related comments.
688 (__mem_interface): Unconditionally replace it with __new_alloc.
689 However, leave the typedef around in case anyone used it.
690 (__default_alloc_template<>::_S_force_new): New class static.
691 (__default_alloc_template<>::allocate, deallocate): Add
692 run-time controlled feature similar to what __USE_MALLOC code
694 * src/stl-inst.cc (__USE_MALLOC): Remove it and all
696 * testsuite/21_strings/capacity.cc: Remove reference to __USE_MALLOC.
697 Add documentation on GLIBCPP_FORCE_NEW environment variable.
698 * testsuite/ext/allocators.cc: Likewise.
700 2002-10-18 Phil Edwards <pme@gcc.gnu.org>
702 * configure.in: Use target, not target_alias, when matching triplet
704 * configure: Regenerate.
706 2002-10-17 Momchil Velikov <velco@fadata.bg>
707 Loren J. Rittle <ljrittle@acm.org>
709 * configure.in: Add *-freebsd* to cross list.
710 * configure: Rebuilt.
712 2002-10-16 Benjamin Kosnik <bkoz@redhat.com>
714 * include/bits/locale_facets.h (__timepunct::__timepunct): Allocate
716 (__timepunct::~__timepunct): Deallocate, remove specialization
718 (messages::messages): Allocate _M_name_messages.
719 (messages::~messages): Deallocate.
720 (messages_byname): Same.
721 * config/locale/gnu/time_members.cc (__timepunct::~__timepunct):
723 * config/locale/generic/time_members.cc (__timepunct::~__timepunct):
726 * docs/html/install.html: Add es_MX, en_PH to required locales list.
728 2002-10-16 Benjamin Kosnik <bkoz@redhat.com>
730 * config/linker-map.gnu: Add exports for codecvt constructors
731 where size_t == unsigned long.
733 2002-10-14 Benjamin Kosnik <bkoz@redhat.com>
735 * src/globals.cc (__gnu_cxx::c_locale_impl_compat): Add, alias to
737 * testsuite/abi_check.cc (line_to_symbol_info): Collect size info.
738 * docs/html/abi.txt: Update.
740 2002-10-14 Benjamin Kosnik <bkoz@redhat.com>
742 * testsuite/22_locale/static_members.cc (test02): Less provincial.
744 2002-10-14 Benjamin Kosnik <bkoz@redhat.com>
746 * testsuite/22_locale/static_members.cc (test02): Disable for
747 systems without named locale support.
748 * testsuite/22_locale/ctor_copy_dtor.cc (test04): Don't assume
749 running the testsuites in "C" environment.
751 * docs/html/22_locale/locale.html: Update.
753 2002-10-13 Danny Smith <dannysmith@users.sourceforge.net>
755 * include/bits/stl_threads.h (_GLIBCPP_mutex,
756 _GLIBCPP_mutex_init,_GLIBCPP_mutex_address,
757 _GLIBCPP_mutex_address_init, _GLIBCPP_once):
758 Declare in namespace __gnu_cxx.
759 (_STL_mutex_lock::_M_initialize): Qualify __gnu_cxx
763 2002-10-12 Benjamin Kosnik <bkoz@redhat.com>
765 * testsuite/abi_check.cc (hash<string>): Specialize.
766 Simplify. Check compatible symbol versions.
767 * config/linker-map.gnu: Clarify, explicitly export
768 std::codecvt::c* symbols.
770 * testsuite/22_locale/static_members.cc (test02): Avoid null strings.
772 2002-10-12 Jonathan Wakely <jw@kayari.org>
773 Gabriel Dos Reis <gdr@integrable-solutions.net>
775 * docs/html/21_strings/howto.html#5: Correct nasting of XHTML
776 elements. Correct allocator-related text.
778 2002-10-11 Benjamin Kosnik <bkoz@redhat.com>
780 * testsuite/22_locale/static_members.cc (test02): Fix.
782 2002-10-11 Benjamin Kosnik <bkoz@redhat.com>
784 * acconfig.h (_GLIBCPP_SYMVER): Add.
785 (_GLIBCPP_ASM_SYMVER): Add.
786 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Define _GLIBCPP_SYMVER.
787 * aclocal.m4: Regenerate.
788 * config.h.in: Regenerate.
789 * configure: Regenerate.
790 * include/bits/c++config (_GLIBCPP_AT_AT): Define, as an expedient
791 hack around m4 issues with quoting '@'.
792 * src/locale.cc: Use _GLIBCPP_ASM_SYMVER.
793 * src/globals.cc: Same.
795 * testsuite/22_locale/ctor_copy_dtor.cc (test04): Fix for
798 2002-10-10 Benjamin Kosnik <bkoz@redhat.com>
800 * config/linker-map.gnu (GLIBCPP_3.2.1): Add.
801 (GLIBCPP_3.2): Don't export locale::_S_*.
802 * src/ios.cc: Move globals into __gnu_cxx. Make old exported
804 * src/locale.cc: Same.
805 * src/localename.cc: Same.
806 * src/globals.cc: Same.
808 2002-10-10 Phil Edwards <pme@gcc.gnu.org>
810 * docs/html/21_strings/howto.html: Write #5, char_traits.
811 * docs/html/17_intro/porting.texi: Expand on os_include_dir.
812 * docs/html/17_intro/porting.html: Regenerate.
814 2002-10-09 Benjamin Kosnik <bkoz@redhat.com>
816 * src/locale.cc: Fix comments, move ctors together.
817 * testsuite/22_locale/static_members.cc (test03): Add.
819 2002-10-08 Jonathan Lennox <lennox@cs.columbia.edu>
821 PR libstdc++/8071, libstdc++/8127, libstdc++/6745
822 * streambuf.tcc (__copy_streambufs): Handle cases where
823 __sbin->in_avail() returns 0, or where __sbin doesn't set gptr().
824 * testsuite/27_io/ostream_inserter_other.cc (test05): Add.
826 2002-10-08 Paolo Carlini <pcarlini@unitus.it>
827 Benjamin Kosnik <bkoz@redhat.com>
829 * include/bits/localefwd.h (class locale): Add static member
830 _S_num_extra_categories, encoding the number of additional
832 Change _S_num_categories to _S_categories_size.
833 (class locale::_Impl): Add _M_c_cats.
834 (class locale::_Impl::_M_names): Change to array of chars.
835 (class locale::_Impl::_M_check_same_name): Use
836 _S_extra_categories_size, tweak.
837 (locale::locale(const locale&, _Facet*)): Ditto.
838 * src/locale.cc (locale::locale(const char* )): Rewrite to deal
839 with the environment in a POSIX-compliant way while being thread
841 (locale::name()): Update to output POSIX environment strings.
843 (locale::_Impl::_Impl(const _Impl&, size_t): Use
844 _S_categories_size_*, tweak.
845 (locale::_Impl::_Impl(facet**, size_t, bool)): Ditto.
846 (locale::_Impl::_Impl(const char*, size_t)): Name each category
848 (locale::_Impl::_M_replace_categories): Use strcpy.
850 * include/bits/locale_facets.h (numpunct::_M_initialize_numpunct):
851 Change default argument to NULL from _S_c_locale.
852 (timepunct::_M_initialize_timepunct): Same.
853 _S_c_locale cleanups.
854 * src/codecvt.c: _S_c_locale simplification.
856 * src/globals.cc: Add fake_name.
857 * src/locale-inst.cc: Remove extra includes.
858 * src/locale.cc: Remove extra includes.
859 Add _S_extra_categories_size definition.
860 Correct "C" initialization.
861 (locale::facet::facet): Don't initialize _S_c_locale.
862 (locale::facet::_M_remove_reference): Adjust.
863 * src/localename: Use facet_vec, facet_name.
864 (locale::_Impl::_Impl(facet** __f, size_t __refs, bool)): Set
865 facet ref counts to one. Initialize _S_c_locale.
866 (locale::_Impl::_M_install_facet(id*, facet*)): Adjust facet ref
867 counts when installing unilaterally.
869 * config/locale/generic/c_locale.cc: Add _S_categories definition.
870 * config/locale/generic/c_locale.h: Add _GLIBCPP_NUM_CATEGORIES macro.
871 * config/locale/generic/time_members.cc: _S_c_locale cleanup.
873 * config/locale/gnu/c_locale.cc: Add _S_categories definition.
874 (_S_destroy_c_locale): Move checks against _S_c_locale here.
875 * config/locale/gnu/c_locale.h: Add _GLIBCPP_NUM_CATEGORIES macro.
876 * config/locale/gnu/ctype_members.cc: Simplify _S_destroy_c_locale
877 calls, _S_c_locale usage.
878 * config/locale/gnu/monetary_members.cc: Same, tweaks.
879 * config/locale/gnu/monetary_members.cc: Same.
880 * config/locale/gnu/time_members.cc: Same.
881 * config/os/gnu-linux/ctype_noninline.h: Use locale::classic().
883 * docs/html/22_locale/locale.html: Add bits about global locales
886 * testsuite/22_locale/facet.cc (test02): Add.
887 * testsuite/22_locale/static_members.cc (test02): Add.
888 * testsuite/22_locale/ctor_copy_dtor.cc (test04): Add.
890 2002-10-07 Jonathan Wakely <jw@kayari.org>
892 * docs/html/configopts.html, docs/html/documentation.html,
893 docs/html/explanations.html, docs/html/install.html,
894 docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
895 docs/html/17_intro/license.html, docs/html/18_support/howto.html,
896 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
897 docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
898 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
899 docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
900 docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
901 docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
902 docs/html/27_io/howto.html, docs/html/ext/howto.html,
903 docs/html/ext/sgiexts.html, docs/html/faq/index.html: Add DOCTYPEs.
905 2002-10-03 Richard Earnshaw <rearnsha@arm.com>
908 * config/cpu/arm/atomicity.h (__exchange_and_add): Don't try to use
909 ASM sequences that don't give us atomic addition operations. Instead
910 just add a comment explaining why it doesn't work.
911 (__atomic_add): Just use __exchange_and_add.
912 (__test_and_set, __always_swap): Delete.
914 2002-10-02 Andreas Jaeger <aj@suse.de>
916 * config/abi/x86_64-unknown-linux-gnu/baseline_symbols.txt:
919 2002-10-01 Phil Edwards <pme@gcc.gnu.org>
921 * Makefile.am (check-abi): Add @ to rule.
922 * Makefile.in: Regenerated.
924 2002-09-27 Paolo Carlini <pcarlini@unitus.it>
926 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
927 Deal correctly with grouped, showbased (oct or hex) zero.
928 * testsuite/22_locale/num_put_members_char.cc: Add test05.
929 * testsuite/22_locale/num_put_members_wchar_t.cc: Ditto.
931 2002-09-27 Richard Henderson <rth@redhat.com>
933 * config/os/hpux/cpu_limits.h: Remove.
935 * include/std/std_limits.h (numeric_limits<T>::is_iec559): False
936 if denormals are not supported.
938 2002-09-25 Benjamin Kosnik <bkoz@redhat.com>
940 * include/Makefile.am (target_headers): Remove cpu_limits.h.
941 * include/Makefile.in: Regenerate.
942 * configure.in (CPU_LIMITS_INC_SRCDIR): Remove
943 * configure: Regenerate.
944 * configure.target (CPULIMITS): Remove.
946 * include/std/std_limits.h: Remove cpu_limits.h include.
948 * config/os/solaris/solaris2.7/os_defines.h (__glibcpp_long_bits):
950 * config/os/irix/irix6.5/os_defines.h
951 (__glibcpp_long_double_bits): Remove.
952 (__glibcpp_wchar_t_bits): Remove.
953 (__glibcpp_long_bits): Remove.
954 * config/os/irix/irix5.2/os_defines.h
955 (__glibcpp_long_double_bits): Remove.
956 (__glibcpp_long_bits): Remove.
957 * config/os/hpux/os_defines.h (__glibcpp_wchar_t_is_signed): Remove.
958 * config/os/bsd/freebsd/os_defines.h:
959 (__glibcpp_long_double_bits): Remove.
960 * config/os/aix/os_defines.h (__glibcpp_wchar_t_bits): Remove.
961 (__glibcpp_wchar_t_is_signed): Remove.
962 (__glibcpp_long_bits): Remove.
963 * config/os/gnu-linux/os_defines.h (__glibcpp_long_bits): Remove.
964 (__glibcpp_long_double_bits): Remove.
966 * config/os/osf/osf5.0/cpu_limits.h: Remove.
967 * config/cpu/alpha/cpu_limits.h: Remove.
968 * config/cpu/arm/cpu_limits.h: Remove.
969 * config/cpu/cris/cpu_limits.h: Remove.
970 * config/cpu/generic/cpu_limits.h: Remove.
971 * config/cpu/generic/limits.h: Remove.
972 * config/cpu/ia64/cpu_limits.h: Remove.
973 * config/cpu/m68k/cpu_limits.h: Remove.
974 * config/cpu/mmix/cpu_limits.h: Remove.
975 * config/cpu/powerpc/cpu_limits.h: Remove.
976 * config/cpu/S390/cpu_limits.h: Remove.
978 2002-09-25 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
980 * testsuite/18_support/numeric_limits.cc: Check the maximum and
981 minimum values of the wchar_t type.
983 2002-09-25 Mark Mitchell <mark@codesourcery.com>
985 * include/std/std_limits.h (numeric_limits<unsigned char>::digits):
988 2002-09-23 Richard Henderson <rth@redhat.com>
990 * include/std/std_limits.h (__glibcpp_plain_char_is_signed,
991 __glibcpp_wchar_t_is_signed, __glibcpp_s8_max, __glibcpp_s8_min,
992 __glibcpp_s8_digits, __glibcpp_s8_digits10, __glibcpp_u8_min,
993 __glibcpp_u8_max, __glibcpp_u8_digits, __glibcpp_u8_digits10,
994 __glibcpp_s16_max, __glibcpp_s16_min, __glibcpp_s16_digits,
995 __glibcpp_s16_digits10, __glibcpp_u16_min, __glibcpp_u16_max,
996 __glibcpp_u16_digits, __glibcpp_u16_digits10, __glibcpp_s32_max,
997 __glibcpp_s32_min, __glibcpp_s32_digits, __glibcpp_s32_digits10,
998 __glibcpp_u32_min, __glibcpp_u32_max, __glibcpp_u32_digits,
999 __glibcpp_u32_digits10, __glibcpp_s64_max, __glibcpp_s64_min,
1000 __glibcpp_s64_digits, __glibcpp_s64_digits10, __glibcpp_u64_min,
1001 __glibcpp_u64_max, __glibcpp_u64_digits, __glibcpp_u64_digits10,
1002 __glibcpp_bool_digits, __glibcpp_signed_char_min,
1003 __glibcpp_signed_char_max, __glibcpp_signed_char_digits,
1004 __glibcpp_signed_char_digits10, __glibcpp_unsigned_char_min,
1005 __glibcpp_unsigned_char_max, __glibcpp_unsigned_char_digits,
1006 __glibcpp_unsigned_char_digits10, __glibcpp_char_min,
1007 __glibcpp_char_max, __glibcpp_char_digits, __glibcpp_char_digits10,
1008 __glibcpp_signed_short_min, __glibcpp_signed_short_max,
1009 __glibcpp_signed_short_digits, __glibcpp_signed_short_digits10,
1010 __glibcpp_unsigned_short_min, __glibcpp_unsigned_short_max,
1011 __glibcpp_unsigned_short_digits, __glibcpp_unsigned_short_digits10,
1012 __glibcpp_signed_int_min, __glibcpp_signed_int_max,
1013 __glibcpp_signed_int_digits, __glibcpp_signed_int_digits10,
1014 __glibcpp_unsigned_int_min, __glibcpp_unsigned_int_max,
1015 __glibcpp_unsigned_int_digits, __glibcpp_unsigned_int_digits10,
1016 __glibcpp_signed_long_min, __glibcpp_signed_long_max,
1017 __glibcpp_unsigned_long_digits, __glibcpp_unsigned_long_digits10,
1018 __glibcpp_signed_long_long_min, __glibcpp_signed_long_long_max,
1019 __glibcpp_signed_long_long_digits, __glibcpp_signed_long_long_digits10,
1020 __glibcpp_wchar_t_min, __glibcpp_wchar_t_max, __glibcpp_wchar_t_digits,
1021 __glibcpp_wchar_t_digits10): Remove.
1022 (__glibcpp_byte, __glibcpp_word_bits, __glibcpp_word): Remove.
1023 (__float_storage, __double_storage, __long_double_storage): Remove.
1024 (__glibcpp_signed, __glibcpp_min, __glibcpp_max): New.
1025 (__glibcpp_digits, __glibcpp_digits10): New.
1026 (numeric_limits<T>::min): Use __glibcpp_min or limits.h builtins.
1027 (numeric_limits<T>::max): Use __glibcpp_max or limits.h builtins.
1028 (numeric_limits<T>::is_signed, T=char,wchar_t): Use __glibcpp_signed.
1029 (numeric_limits<T>::digits): Use __glibcpp_digits.
1030 (numeric_limits<T>::digits10): Use __glibcpp_digits10.
1031 * testsuite/18_support/numeric_limits.cc (test03): Don't use
1032 __glibcpp_s8_digits10 et al; check vs the installed versions
1033 of digits10 for particular sizes.
1035 * include/std/std_limits.h (__glibcpp_float_is_modulo,
1036 __glibcpp_double_is_modulo, __glibcpp_long_double_is_modulo): Kill.
1037 (numeric_limits<T>::is_modulo, T floating): Use false.
1039 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1041 * Makefile.am (all-multi): Fix multilib parallel build.
1043 2002-09-22 Richard Henderson <rth@redhat.com>
1045 * include/std/std_limits.h (__glibcpp_f32_round_error,
1046 __glibcpp_f64_round_error, __glibcpp_f80_round_error,
1047 __glibcpp_f96_round_error, __glibcpp_f128_round_error,
1048 __glibcpp_float_round_error, __glibcpp_double_round_error,
1049 __glibcpp_long_double_round_error, __glibcpp_float_round_style,
1050 __glibcpp_double_round_style, __glibcpp_long_double_round_style): Kill.
1051 (numeric_limits<char>::epsilon, round_error): Use constant 0.
1052 (numeric_limits<float>::round_error): Use constant 0.5.
1053 (numeric_limits<float>::round_style): Use round_to_nearest.
1054 (numeric_limits<double>, numeric_limits<long double>): Similarly.
1056 * include/std/std_limits.h (__glibcpp_f32_is_iec559,
1057 __glibcpp_f64_is_iec559, __glibcpp_f80_is_iec559,
1058 __glibcpp_f96_is_iec559, __glibcpp_f128_is_iec559,
1059 __glibcpp_float_is_iec559, __glibcpp_double_is_iec559,
1060 __glibcpp_long_double_is_iec559): Remove.
1061 (numeric_limits<float>::is_iec559): Use has_infinity & has_quiet_NaN.
1062 (numeric_limits<double>, numeric_limits<long double>): Similarly.
1064 * include/std/std_limits.h (__glibcpp_integral_traps): New.
1065 (__glibcpp_char_traps, __glibcpp_short_traps, __glibcpp_int_traps,
1066 __glibcpp_long_traps, __glibcpp_wchar_t_traps,
1067 __glibcpp_long_long_traps, __glibcpp_plain_char_traps,
1068 __glibcpp_signed_char_traps, __glibcpp_unsigned_char_traps,
1069 __glibcpp_signed_short_traps, __glibcpp_unsigned_short_traps,
1070 __glibcpp_signed_int_traps, __glibcpp_unsigned_int_traps,
1071 __glibcpp_signed_long_traps, __glibcpp_unsigned_long_traps,
1072 __glibcpp_signed_long_long_traps, __glibcpp_unsigned_long_long_traps,
1073 __glibcpp_char_is_modulo, __glibcpp_signed_char_is_modulo,
1074 __glibcpp_signed_short_is_modulo, __glibcpp_signed_int_is_modulo,
1075 __glibcpp_signed_long_is_modulo, __glibcpp_signed_long_long_is_modulo,
1076 __glibcpp_wchar_t_is_modulo, __glibcpp_float_is_bounded,
1077 __glibcpp_double_is_bounded, __glibcpp_long_double_is_bounded): Kill.
1078 (numeric_limits<T>::traps, T integral): Use __glibcpp_integral_traps.
1079 (numeric_limits<T>::is_modulo, T integral): Use true.
1080 (numeric_limits<T>::is_bounded, T floating): Use true.
1082 2002-09-18 Loren J. Rittle <ljrittle@acm.org>
1084 * testsuite/18_support/numeric_limits.cc (test_epsilon): New.
1086 2002-09-18 Richard Henderson <rth@redhat.com>
1088 * testsuite/18_support/numeric_limits.cc: Add -mieee for alpha.
1090 2002-09-16 Benjamin Kosnik <bkoz@redhat.com>
1092 * include/c_shadow: Remove.
1093 * include/bits/generic_shadow.h: Remove.
1094 * include/Makefile.am: Remove generic_shadow.h.
1095 * acinclude.m4: Remove c_shadow references.
1096 * aclocal.m4: Regenerate.
1097 * configure: Regenerate.
1098 * mkcshadow: Remove.
1099 * mkinclosure: Remove.
1101 2002-09-16 Loren J. Rittle <ljrittle@acm.org>
1104 * include/ext/stl_rope.h (rope<>): Qualify dependent names
1107 2002-09-16 Richard Henderson <rth@redhat.com>
1109 * include/std/std_limits.h (__glibcpp_f32_QNaN_bytes,
1110 __glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
1111 __glibcpp_f32_has_SNaN, __glibcpp_f64_QNaN_bytes,
1112 __glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
1113 __glibcpp_f64_has_SNaN, __glibcpp_f80_QNaN_bytes,
1114 __glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
1115 __glibcpp_f80_has_SNaN, __glibcpp_f96_QNaN_bytes,
1116 __glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
1117 __glibcpp_f96_has_SNaN, __glibcpp_f128_QNaN_bytes,
1118 __glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
1119 __glibcpp_f128_has_SNaN, __glibcpp_float_QNaN_bytes,
1120 __glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
1121 __glibcpp_float_has_SNaN, __glibcpp_double_QNaN_bytes,
1122 __glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
1123 __glibcpp_double_has_SNaN, __glibcpp_long_double_QNaN_bytes,
1124 __glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
1125 __glibcpp_long_double_has_SNaN): Remove.
1126 (__glibcpp_f128_is_iec559): True if IEEE.
1127 (__glibcpp_float_QNaN, __glibcpp_float_SNaN): Remove.
1128 (__glibcpp_double_QNaN, __glibcpp_double_SNaN): Remove.
1129 (__glibcpp_long_double_QNaN, __glibcpp_long_double_SNaN): Remove.
1130 (std::numeric_limits<float>::has_quiet_NaN): Use __builtin_nanf.
1131 (std::numeric_limits<float>::has_signaling_NaN): Mirror has_quiet_NaN.
1132 (std::numeric_limits<float>::quiet_NaN): Use __builtin_nanf.
1133 (std::numeric_limits<float>::signaling_NaN): Use __builtin_nansf.
1134 (std::numeric_limits<double>): Similarly.
1135 (std::numeric_limits<long double>): Similarly.
1136 * src/limits.cc (__glibcpp_float_QNaN, __glibcpp_float_SNaN): Remove.
1137 (__glibcpp_double_QNaN, __glibcpp_double_SNaN): Remove.
1138 (__glibcpp_long_double_QNaN, __glibcpp_long_double_SNaN): Remove.
1140 * testsuite/18_support/numeric_limits.cc (test_infinity): New.
1141 (test_denorm_min, test_qnan, test_is_iec559): New.
1143 2002-09-16 Phil Edwards <pme@gcc.gnu.org>
1145 * testsuite/abi_check.cc: Pull shell fragments out into...
1146 * config/abi/extract_symvers: ...here. New file.
1147 * Makefile.am (check_abi): Change to match.
1148 (new-abi-baseline): New target.
1149 * Makefile.in: Regenerated.
1151 2002-09-16 Richard Henderson <rth@redhat.com>
1153 * include/std/std_limits.h (__glibcpp_f32_denorm_min_bytes,
1154 __glibcpp_f32_has_denorm, __glibcpp_f64_denorm_min_bytes,
1155 __glibcpp_f64_has_denorm, __glibcpp_f80_denorm_min_bytes,
1156 __glibcpp_f80_has_denorm, __glibcpp_f96_denorm_min_bytes,
1157 __glibcpp_f96_has_denorm, __glibcpp_f128_denorm_min_bytes,
1158 __glibcpp_f128_has_denorm, __glibcpp_float_denorm_min_bytes,
1159 __glibcpp_float_has_denorm, __glibcpp_double_denorm_min_bytes,
1160 __glibcpp_double_has_denorm, __glibcpp_long_double_denorm_min_bytes,
1161 __glibcpp_long_double_has_denorm): Remove.
1162 (__glibcpp_float_denorm_min, __glibcpp_double_denorm_min,
1163 __glibcpp_long_double_denorm_min): Remove.
1164 (std::numeric_limits<float>::has_denorm): Use __FLT_DENORM_MIN__.
1165 (std::numeric_limits<float>::denorm_min): Likewise.
1166 (std::numeric_limits<double>): Similarly.
1167 (std::numeric_limits<long double>): Similarly.
1168 * src/limits.cc (__glibcpp_float_denorm_min,
1169 __glibcpp_double_denorm_min, __glibcpp_long_double_denorm_min): Remove.
1171 2002-09-13 Andy Felt <afelt@uwsp.edu>
1173 * docs/html/17_intro/howto.html: Update link.
1175 2002-09-13 Phil Edwards <pme@gcc.gnu.org>
1177 * docs/doxygen/run_doxygen: Massage man page for Iterator_types.3.
1178 * docs/html/faq/index.html: Whitespace fixes.
1180 2002-09-12 Benjamin Kosnik <bkoz@redhat.com>
1182 * libmath/Makefile.am (LIBTOOL): Use --tag CC always for this
1184 * libmath/Makefile.in: Regenerate.
1185 * src/Makefile.am: Tweak comment.
1186 * src/Makefile.in: Regenerate.
1188 * config/locale/gnu/c_locale.h: Remove warnings.
1189 Inject __uselocale into __gnu_cxx.
1190 * config/locale/generic/c_locale.h: Match.
1192 2002-09-11 Benjamin Kosnik <bkoz@redhat.com>
1194 * include/bits/locale_facets.tcc (__convert_from_v): Remove.
1195 * config/locale/gnu/c_locale.h (__convert_from_v): Add.
1196 * config/locale/generic/c_locale.h (__convert_from_v): Add.
1198 2002-09-11 Paolo Carlini <pcarlini@unitus.it>
1200 * include/bits/locale_facets.tcc (__convert_from_v):
1201 Use __uselocale instead of setlocale for glibc 2.3+.
1203 2002-09-10 Benjamin Kosnik <bkoz@redhat.com>
1205 * src/Makefile.am (sources): Edit.
1206 (target_sources): New.
1207 (target_sources_extra): New.
1208 * src/Makefile.in: Regenerate.
1209 * acinclude.m4: Set CCODECVT_CC.
1210 * aclocal.m4: Regenerate.
1211 * configure: Regenerate.
1212 * src/locale.cc: Move ctype definitions...
1213 * src/ctype.cc: ...here. New file.
1214 * src/locale.cc: Move codecvt definitions...
1215 * src/codecvt.cc: ...here.
1216 * config/generic/codecvt_members.cc: ...and here.
1217 * config/gnu/codecvt_members.cc: ...and here.
1218 * include/bits/codecvt.h: Tweak.
1219 * include/bits/locale_facets: Tweak.
1221 * src/bitset.cc: Correct license text.
1222 * src/concept-inst.cc: Same.
1223 * src/strstream.cc: Same.
1224 * src/vterminate.cc: Same.
1226 2002-09-10 Gabriel Dos Reis <gdr@soliton.integrable-solutions.net>
1228 * include/bits/stl_vector.h (vector<>): Don't use a name with
1229 different meanings before and after re-evaluation in the completed
1231 * include/bits/basic_string.h (basic_string<>): Likewise.
1232 * include/bits/stl_bvector.h (vector<bool>): Likewise.
1233 * include/bits/stl_deque.h (std): Likewise.
1234 * include/bits/stl_list.h (list<>): Likewise.
1235 * include/bits/stl_tree.h (_Rb_tree<>): Likewise.
1237 2002-09-10 Paolo Carlini <pcarlini@unitus.it>
1239 * include/bits/codecvt.h (class __codecvt_abstract_base):
1240 Add __c_locale type _M_c_locale_codecvt member.
1241 (class codecvt<char, char, mbstate_t>,
1242 class codecvt<wchar_t, char, mbstate_t>): Add new
1243 codecvt(__c_locale, size_t) constructor.
1244 (codecvt_byname::codecvt_byname): Update.
1245 * src/codecvt.cc (class codecvt<char, char, mbstate_t>,
1246 class codecvt<wchar_t, char, mbstate_t>): Update codecvt(size_t)
1247 constructor and ~codecvt() destructor; define
1248 codecvt(__c_locale, size_t) constructor.
1249 (codecvt::do_out): Switch to _M_c_locale_codecvt around wcsrtombs call.
1250 (codecvt::do_in): Ditto for mbsrtowcs call.
1251 * src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
1252 Tweak construction of codecvt facets.
1254 2002-09-10 Danny Smith <dannysmith@users.sourceforge.net>
1256 * include/bits/locale_facets.tcc (__convert_from_v):
1257 Replace strdup with ISO malloc and strcpy.
1259 2002-09-09 Benjamin Kosnik <bkoz@redhat.com>
1261 * docs/html/configopts.html: Change grouping. Note ABI impacts.
1262 Update information for locale model defaults.
1263 * docs/html/install.html: Update include directory
1265 Update testing information.
1266 Update linux issues for named locales.
1267 * docs/html/abi.txt: Fix typos.
1270 * src/misc-inst.cc: Add missing instantiations.
1272 * testsuite/abi_check.cc: Make output results more verbose.
1274 * config/os/gnu-linux/ctype_base.h: Remove shadow headers injections.
1276 2002-09-07 Jakub Jelinek <jakub@redhat.com>
1278 * config/locale/generic/messages_members.cc: Add specialization for
1280 * config/locale/ieee_1003.1-20021/messages_members.cc: Likewise.
1282 2002-09-06 Benjamin Kosnik <bkoz@redhat.com>
1284 * include/bits/localefwd.h: Tweak formatting.
1285 * docs/html/abi.txt: Add.
1287 2002-09-06 Jakub Jelinek <jakub@redhat.com>
1289 * configure.target: Use cpu_include_dir="config/cpu/sparc" for all
1291 * config/cpu/sparc/atomicity.h: New file.
1292 * config/cpu/sparc/sparc32/atomicity.h: Removed.
1293 * config/cpu/sparc/sparc64/atomicity.h: Removed.
1295 2002-09-06 Jakub Jelinek <jakub@redhat.com>
1297 * config/os/gnu-linux/ctype_noninline.h
1298 [_GLIBCPP_USE_SHADOW_HEADERS]: Remove using _C_legacy::__ctype_*.
1299 (ctype<char>::classic_table): If _GLIBCPP_C_LOCALE_GNU, return
1300 _S_c_locale->__ctype_b, otherwise temporarily switch to "C" locale
1301 and return __ctype_b.
1302 (ctype<char>::ctype(__c_locale, const mask*, bool, size_t)): If not
1303 _GLIBCPP_C_LOCALE_GNU, temporarily switch to "C" locale and
1304 initialize using __ctype_{b,tolower,toupper}.
1305 (ctype<char>::ctype(const mask*, bool, size_t)): If
1306 _GLIBCPP_C_LOCALE_GNU, initialize using
1307 _S_c_locale->__ctype_{b,tolower,toupper}, otherwise temporarily
1308 switch to "C" locale and initialize using __ctype_{b,tolower,toupper}.
1310 2002-09-05 Paolo Carlini <pcarlini@unitus.it>
1311 Roland McGrath <roland@redhat.com>
1314 * src/locale.cc (locale::locale(__s)): Use getenv instead
1315 of setenv for the environment locale.
1316 * testsuite/22_locale/ctor_copy_dtor.cc (test03): New.
1318 2002-09-05 Jakub Jelinek <jakub@redhat.com>
1320 * config/abi/ia64-unknown-linux-gnu: Add.
1321 * config/abi/ia64-unknown-linux-gnu/baseline_symbols.txt: New file.
1322 * config/abi/alphaev67-unknown-linux-gnu: Add.
1323 * config/abi/alphaev67-unknown-linux-gnu/baseline_symbols.txt: New file.
1325 2002-09-05 Jonathan Wakely <jw@kayari.org>
1327 * docs/html/Makefile: Use more portable shell wildcard.
1328 * docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
1329 * docs/html/configopts.html, docs/html/documentation.html,
1330 docs/html/explanations.html, docs/html/install.html,
1331 docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
1332 docs/html/17_intro/license.html, docs/html/18_support/howto.html,
1333 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
1334 docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
1335 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
1336 docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
1337 docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
1338 docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
1339 docs/html/27_io/howto.html, docs/html/ext/howto.html,
1340 docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
1342 * docs/html/faq/index.txt: Regenerate.
1344 2002-09-05 Jakub Jelinek <jakub@redhat.com>
1346 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_widen(char)):
1347 Switch to _M_c_locale_ctype around btowc call.
1348 (ctype<wchar_t>::do_widen(const char*, const char *, wchar_t*)):
1349 Switch to _M_c_locale_ctype around mbsrtowcs call.
1350 (ctype<wchar_t>::do_narrow(char)): Switch to _M_c_locale_ctype around
1352 (ctype<wchar_t>::do_narrow(const char*, const char *, wchar_t*)):
1353 Switch to _M_c_locale_ctype around wcsrtombs call.
1355 2002-09-05 Jakub Jelinek <jakub@redhat.com>
1357 * config/locale/gnu/monetary_members.cc
1358 (moneypunct<wchar_t, true>::_M_initialize_moneypunct,
1359 moneypunct<wchar_t, false>::_M_initialize_moneypunct): Use
1360 __uselocale instead of setlocale for glibc 2.3.
1362 2002-09-05 Jakub Jelinek <jakub@redhat.com>
1364 * config/locale/generic/c++locale_internal.h: New header.
1365 * config/locale/gnu/c++locale_internal.h: New header.
1366 * config/locale/gnu/c_locale.cc: Include it.
1367 * config/locale/gnu/collate_members.cc: Include it.
1368 * config/locale/gnu/ctype_members.cc: Include it.
1369 * config/locale/gnu/messages_members.cc: Include it.
1370 * config/locale/gnu/monetary_members.cc: Include it.
1371 * config/locale/gnu/numeric_members.cc: Include it.
1372 * config/locale/gnu/time_members.cc: Include it.
1373 (_M_put): Reorder __strftime_l and __wcsftime_l arguments to match
1375 (_M_initialize_timepunct): Initialize _M_c_locale_timepunct for
1377 * acinclude.m4: Include string.h when testing strcoll_l.
1378 For glibc 2.3 provide __-prefixed prototypes.
1379 (CLOCALE_INTERNAL_H): Set, add AC_LINK_FILES line.
1380 * aclocal.m4, configure: Rebuilt.
1382 2002-09-05 Benjamin Kosnik <bkoz@redhat.com>
1384 * include/bits/locale_facets.h: Add declaration of specialization
1386 * config/locale/gnu/messages_members.cc: Add specialization for
1388 * config/locale/gnu/messages_members.h: Remove generic definition
1391 2002-09-04 Richard Henderson <rth@redhat.com>
1393 * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
1394 __glibcpp_f32_has_infinity, __glibcpp_f64_infinity_bytes,
1395 __glibcpp_f64_has_infinity, __glibcpp_f80_infinity_bytes,
1396 __glibcpp_f80_has_infinity, __glibcpp_f96_infinity_bytes,
1397 __glibcpp_f96_has_infinity, __glibcpp_f128_infinity_bytes,
1398 __glibcpp_f128_has_infinity, __glibcpp_float_infinity_bytes,
1399 __glibcpp_float_has_infinity, __glibcpp_double_infinity_bytes,
1400 __glibcpp_double_has_infinity, __glibcpp_long_double_infinity_bytes,
1401 __glibcpp_long_double_has_infinity): Remove.
1402 (std::numeric_limits<float>, std::numeric_limits<double>,
1403 std::numeric_limits<long double>): Use __builtin_huge_val
1404 to implement has_infinity and infinity().
1405 * src/limits.cc (__glibcpp_float_infinity, __glibcpp_double_infinity,
1406 __glibcpp_long_double_infinity): Remove.
1408 2002-09-03 Richard Henderson <rth@redhat.com>
1410 * include/std/std_limits.h (__glibcpp_f32_min, __glibcpp_f32_max,
1411 __glibcpp_f32_digits, __glibcpp_f32_digits10, __glibcpp_f32_radix,
1412 __glibcpp_f32_epsilon, __glibcpp_f32_min_exponent,
1413 __glibcpp_f32_min_exponent10, __glibcpp_f32_max_exponent,
1414 __glibcpp_f32_max_exponent10, __glibcpp_f64_min, __glibcpp_f64_max,
1415 __glibcpp_f64_digits, __glibcpp_f64_digits10, __glibcpp_f64_radix,
1416 __glibcpp_f64_min_exponent, __glibcpp_f64_min_exponent10,
1417 __glibcpp_f64_max_exponent, __glibcpp_f64_max_exponent10,
1418 __glibcpp_f80_min, __glibcpp_f80_max, __glibcpp_f80_digits,
1419 __glibcpp_f80_digits10, __glibcpp_f80_radix, __glibcpp_f80_epsilon,
1420 __glibcpp_f80_min_exponent, __glibcpp_f80_min_exponent10,
1421 __glibcpp_f80_max_exponent, __glibcpp_f80_max_exponent10,
1422 __glibcpp_f96_min, __glibcpp_f96_max, __glibcpp_f96_digits,
1423 __glibcpp_f96_digits10, __glibcpp_f96_radix, __glibcpp_f96_epsilon,
1424 __glibcpp_f96_min_exponent, __glibcpp_f96_min_exponent10,
1425 __glibcpp_f96_max_exponent, __glibcpp_f96_max_exponent10,
1426 __glibcpp_f128_min, __glibcpp_f128_max, __glibcpp_f128_digits,
1427 __glibcpp_f128_digits10, __glibcpp_f128_radix, __glibcpp_f128_epsilon,
1428 __glibcpp_f128_min_exponent, __glibcpp_f128_min_exponent10,
1429 __glibcpp_f128_max_exponent, __glibcpp_f128_max_exponent10,
1430 __glibcpp_float_min, __glibcpp_float_max, __glibcpp_float_digits,
1431 __glibcpp_float_digits10, __glibcpp_float_radix,
1432 __glibcpp_float_epsilon, __glibcpp_float_min_exponent,
1433 __glibcpp_float_min_exponent10, __glibcpp_float_max_exponent,
1434 __glibcpp_float_max_exponent10, __glibcpp_double_min,
1435 __glibcpp_double_max, __glibcpp_double_digits,
1436 __glibcpp_double_digits10, __glibcpp_double_radix,
1437 __glibcpp_double_epsilon, __glibcpp_double_min_exponent,
1438 __glibcpp_double_min_exponent10, __glibcpp_double_max_exponent,
1439 __glibcpp_double_max_exponent10, __glibcpp_long_double_min,
1440 __glibcpp_long_double_max, __glibcpp_long_double_digits,
1441 __glibcpp_long_double_digits10, __glibcpp_long_double_radix,
1442 __glibcpp_long_double_epsilon, __glibcpp_long_double_min_exponent,
1443 __glibcpp_long_double_min_exponent10,
1444 __glibcpp_long_double_max_exponent,
1445 __glibcpp_long_double_max_exponent10): Remove macros.
1446 (std::numeric_limits<float>, std::numeric_limits<double>,
1447 std::numeric_limits<long double>): Use protected float.h macros.
1449 2002-09-01 Phil Edwards <pme@gcc.gnu.org>
1451 * testsuite/Makefile.am: Use LD_RUN_PATH when linking abi_check.
1452 Fix spelling in comment.
1453 * testsuite/Makefile.in: Regenerate.
1454 * testsuite/abi_check.cc: Use string literals to build 'cmd' rather
1455 than 'quote' and 'bslash'.
1457 2002-08-31 Phil Edwards <pme@gcc.gnu.org>
1459 * acinclude.m4: Minor comment tweaks.
1461 * docs/html/makedoc.awk: New file...
1462 * docs/html/Makefile: ...called from here...
1463 * docs/html/documentation.html: ...to help generate this.
1465 * docs/html/21_strings/howto.html: Prepare for new entry.
1466 * include/bits/basic_string.h: Initial basic_stirng hook for
1467 doxygen. Remove trailing whitespace.
1468 * include/bits/char_traits.h: Point to onlinedocs for new entry.
1469 * include/bits/stringfwd.h: Add doxygen hooks for string and
1472 2002-08-29 Richard Earnshaw <rearnshaw@arm.com>
1474 * config/cpu/arm/cpu_limits.h: New file.
1475 * configure.target: Use config/cpu/arm for XScale and StrongARM
1478 2002-08-28 Gabriel Dos Reis <gdr@integrable-solutions.net>
1480 * include/std/std_limits.h (__glibcpp_char_bits,
1481 __glibcpp_short_bits, __glibcpp_int_bits, __glibcpp_long_bits,
1482 __glibcpp_long_long_bits, __glibcpp_float_bits,
1483 __glibcpp_double_bits, __glibcpp_long_double_bits): Remove. Use
1484 compiler predifined macros.
1485 (__glibcpp_wchar_t_is_signed): Define based on compiler predefined
1488 2002-08-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
1490 * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
1491 __glibcpp_f32_has_infinity, __glibcpp_f32_QNaN_bytes,
1492 __glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
1493 __glibcpp_f32_has_SNaN, __glibcpp_f32_denorm_min_bytes,
1494 __glibcpp_f32_has_denorm, __glibcpp_f32_is_iec559,
1495 __glibcpp_f64_infinity_bytes,
1496 __glibcpp_f64_has_infinity, __glibcpp_f64_QNaN_bytes,
1497 __glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
1498 __glibcpp_f64_has_SNaN, __glibcpp_f64_denorm_min_bytes,
1499 __glibcpp_f64_has_denorm, __glibcpp_f64_is_iec559,
1500 __glibcpp_f80_infinity_bytes,
1501 __glibcpp_f80_has_infinity, __glibcpp_f80_QNaN_bytes,
1502 __glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
1503 __glibcpp_f80_has_SNaN, __glibcpp_f80_denorm_min_bytes,
1504 __glibcpp_f80_has_denorm, __glibcpp_f80_is_iec559,
1505 __glibcpp_f96_infinity_bytes,
1506 __glibcpp_f96_has_infinity, __glibcpp_f96_QNaN_bytes,
1507 __glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
1508 __glibcpp_f96_has_SNaN, __glibcpp_f96_denorm_min_bytes,
1509 __glibcpp_f96_has_denorm, __glibcpp_f96_is_iec559,
1510 __glibcpp_f128_infinity_bytes,
1511 __glibcpp_f128_has_infinity, __glibcpp_f128_QNaN_bytes,
1512 __glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
1513 __glibcpp_f128_has_SNaN, __glibcpp_f128_denorm_min_bytes,
1514 __glibcpp_f128_has_denorm, __glibcpp_f128_is_iec559,
1515 __glibcpp_float_infinity_bytes,
1516 __glibcpp_float_has_infinity, __glibcpp_float_QNaN_bytes,
1517 __glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
1518 __glibcpp_float_has_SNaN, __glibcpp_float_denorm_min_bytes,
1519 __glibcpp_float_has_denorm, __glibcpp_float_is_iec559,
1520 __glibcpp_double_infinity_bytes,
1521 __glibcpp_double_has_infinity, __glibcpp_double_QNaN_bytes,
1522 __glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
1523 __glibcpp_double_has_SNaN, __glibcpp_double_denorm_min_bytes,
1524 __glibcpp_double_has_denorm, __glibcpp_double_is_iec559,
1525 __glibcpp_long_double_infinity_bytes,
1526 __glibcpp_long_double_has_infinity, __glibcpp_long_double_QNaN_bytes,
1527 __glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
1528 __glibcpp_long_double_has_SNaN, __glibcpp_long_double_denorm_min_bytes,
1529 __glibcpp_long_double_has_denorm, __glibcpp_long_double_is_iec559:
1531 (__glibcpp_word_bits, __glibcpp_word): Likewise.
1532 (__glibcpp_byte): New typedef.
1533 (__float_storage, __double_storage, __long_double_storage): New types.
1534 (__glibcpp_float_infinity, __glibcpp_float_QNaN,
1535 __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Now
1537 (__glibcpp_double_infinity, __glibcpp_double_QNaN,
1538 __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
1539 (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
1540 __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
1543 * src/limits.cc (__glibcpp_float_infinity, __glibcpp_float_QNaN,
1544 __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Define.
1545 (__glibcpp_double_infinity, __glibcpp_double_QNaN,
1546 __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
1547 (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
1548 __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
1551 2002-08-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
1553 * include/std/std_limits.h: Indent conditional macro definitions.
1555 2002-08-23 Phil Edwards <pme@gcc.gnu.org>
1557 * Makefile.am (check-abi): Specify current directory.
1558 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Fix shell syntax, use
1559 abi_baseline_triplet in baseline_file.
1560 * Makefile.in, aclocal.m4, configure: Regenerate.
1561 * configure.target: Add abi_baseline_triplet with default.
1562 * testsuite/abi_check.cc: More error checking.
1564 2002-08-23 Phil Edwards <pme@gcc.gnu.org>
1566 * config/linker-map.gnu: Verbose comments, clean up spacing.
1567 * include/bits/stl_alloc.h: Fix indentation of 'if' bodies, return
1569 __allocator: Change class declaration to struct.
1570 * docs/html/17_intro/C++STYLE: Fix typo.
1571 * include/bits/stl_deque.h, include/bits/stl_list.h,
1572 include/bits/stl_map.h, include/bits/stl_multimap.h,
1573 include/bits/stl_vector.h: Fix fallout from typo.
1575 2002-08-22 Benjamin Kosnik <bkoz@redhat.com>
1577 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Set
1578 GLIBCPP_BUILD_ABI_CHECK based on cross compiling, build, host
1580 * aclocal.m4: Regenerate.
1581 * testsuite/Makefile.am (noinst_PROGRAMS): Make conditional on
1583 * testsuite/Makefile.in: Regenerate.
1585 2002-08-22 Loren J. Rittle <ljrittle@acm.org>
1587 * testsuite/abi_check.cc: Enhance shell portability.
1588 Support older binutils/readelf.
1589 * config/abi/i386-unknown-freebsd4.6: Add.
1590 * config/abi/i386-unknown-freebsd4.6/baseline_symbols.txt: New file.
1592 2002-08-22 Paolo Carlini <pcarlini@unitus.it>
1594 * docs/html/faq/index.html: Add Loren James Rittle and
1595 Paolo Carlini to the list of v3 maintainers.
1596 * docs/html/faq/index.txt: Ditto.
1597 * docs/html/17_intro/RELEASE-NOTES: Ditto.
1599 2002-08-22 Benjamin Kosnik <bkoz@redhat.com>
1600 Phil Edwards <pme@gcc.gnu.org>
1601 Ulrich Drepper <drepper@redhat.com>
1603 * Makefile.am (check-abi): New rule.
1604 * Makefile.in: Regenerate.
1605 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Export baseline_file.
1606 * aclocal.m4: Regenerate.
1607 * configure: Regenerate.
1608 * testsuite/Makefile.am (noinst_PROGRAMS): Add abi_check.
1609 (abi_check_SOURCES): Add.
1610 * testsuite/Makefile.in: Regenerate.
1611 * testsuite/abi_check.cc: New file.
1613 * config/abi/i686-pc-linux-gnu: Add.
1614 * config/abi/i686-pc-linux-gnu/baseline_symbols.txt: New file.
1616 2002-08-19 Benjamin Kosnik <bkoz@redhat.com>
1618 * configure.in (libtool_VERSION): Update to 5:1:0.
1619 * configure: Regenerate.
1621 2002-08-19 Jonathan Wakely <jw@kayari.org>
1623 * docs/html/configopts.html, docs/html/documentation.html,
1624 docs/html/install.html, docs/html/22_locale/codecvt.html,
1625 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
1626 docs/html/22_locale/locale.html,
1627 docs/html/22_locale/messages.html: Conform to HTML 4.01 standard.
1629 2002-08-15 Benjamin Kosnik <bkoz@redhat.com>
1631 * include/ext/stdio_filebuf.h (stdio_filebuf): Explicitly set
1632 _M_buf_size_opt to zero when unbuffering.
1633 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
1634 Consistency checks for _M_buf_size_opt.
1636 Revert PR libstdc++/7445
1637 * src/locale.cc (locale::classic): Revert.
1639 * docs/html/17_intro/TODO: Add.
1641 2002-08-15 Phil Edwards <pme@gcc.gnu.org>
1643 * docs/html/documentation.html: Update doxygen links for 3.2.
1645 2002-08-15 Steve Ellcey <sje@cup.hp.com>
1647 * libsupc++/unwind-cxx.h (__cxa_exception): Change catchTemp
1648 type from void* to _Unwind_Ptr.
1649 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION):
1650 Do not cast landing_pad or base_of_encoded_value to (void *).
1651 * libsupc++/eh_throw.cc (__gxx_exception_cleanup):
1652 Accept _URC_NO_REASON as a valid reason code.
1654 2002-08-14 Jonathan Wakely <jw@kayari.org>
1656 * docs/html/22_locale/messages.html: Use HTML entities for
1659 2002-08-13 Jonathan Wakely <jw@kayari.org>
1660 Phil Edwards <pme@gcc.gnu.org>
1662 * docs/html/documentation.html: Use HTML entities for punctuation.
1664 2002-08-09 Phil Edwards <pme@gcc.gnu.org>
1666 * include/bits/deque.tcc, include/bits/list.tcc,
1667 include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
1668 include/bits/stl_list.h, include/bits/stl_map.h,
1669 include/bits/stl_multimap.h, include/bits/stl_queue.h,
1670 include/bits/stl_stack.h, include/bits/stl_vector.h,
1671 include/bits/vector.tcc: Re-indent contents of namespace std,
1672 re-wrap comment lines as necessary.
1674 2002-08-08 Danny Smith <dannysmith@users.sourceforge.net>
1675 Benjamin Kosnik <bkoz@redhat.com>
1677 * include/bits/istream.tcc (basic_istream::ignore): Use sbumpc,
1679 * testsuite/27_io/narrow_stream_objects.cc (test10): Add.
1681 2002-08-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
1683 * libsupc++/Makefile.am (LTCOMPILE): Add LIBSUPCXX_PICFLAGS.
1684 * libsupc++/Makefile.in: Regenerate.
1686 2002-08-05 Gabriel Dos Reis <gdr@nerim.net>
1689 * include/bits/slice_array.h(_DEFINE_VALARRAY_OPERATOR):
1690 Instantiate with new function objects.
1691 * include/bits/mask_array.h (_DEFINE_VALARRAY_OPERATOR): Likewise.
1693 * include/bits/gslice_array.h: Likewise.
1694 * include/bits/indirect_array.h: Likewise.
1696 2002-08-03 Gabriel Dos Reis <gdr@nerim.net>
1698 * testsuite/26_numerics/valarray_name_lookup.cc: Rename from
1699 testsuite/26_numerics/valarray_name_lookup.C
1701 * include/bits/valarray_array.h (_DEFINE_ARRAY_FUNCTION): Use our
1702 object function surrogates.
1703 * include/bits/valarray_meta.h (__shift_left): Fix typo.
1704 (_BinFunClos<>): Remove.
1705 (_BinFunBase<>): Likewise.
1706 (_BinFunBase1<>):Likewise.
1707 (_BinFunBase2<>): Likewise.
1708 (_DEFINE_EXPR_RELATIONAL_OPERATOR): Likewise.
1709 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
1710 (_DEFINE_EXPR_BINARY_OPERATOR): Likewise.
1711 (_DEFINE_EXPR_BINARY_FUNCTION): Likewise.
1712 * include/std/std_valarray.h: Dont #include <functional> anymore.
1713 (_Bitwise_or<>, _Bitwise_and<>, _Bitwise_xor<>, _Shift_left<>,
1714 _Shift_right<>): Remove.
1715 (_DEFINE_VALARRAY_AUGMENTED_ASSIGNMENT): Adjust instantiation.
1716 (_DEFINE_BINARY_OPERATOR): Tweak definition.
1717 (_DEFINE_LOGICAL_OPERATOR): Remove.
1718 * testsuite/26_numerics/valarray_name_lookup.C (main): Add more tests.
1720 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
1722 * include/bits/valarray_meta.h (_UnFunBase<>): Remove.
1723 (_UnFunClos<>): Same.
1724 (_UnBase<>): Reformat. Make first template-parameter non
1726 (_UnClos<>): Likewise.
1727 (_Expr<>): Reformate. Adjust unary member operator return types.
1728 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
1729 (_DEFINE_EXPR_UNARY_FUNCTION): Likewise.
1730 * include/std/std_valarray.h (_UnClos<>): Adjust declaration.
1731 (valarray<>::_UnaryOp<>): New nested traits. Adjust unary member
1732 operator return types. Reformat.
1733 (_Bitwise_not): Remove.
1734 (_DEFINE_VALARRAY_UNARY_OPERATOR): Adjust definition.
1735 * testsuite/26_numerics/valarray_name_lookup.C: New test.
1737 2002-08-02 Danny Smith <dannysmith@users.sourceforge.net>
1739 * config/os/newlib/ctype_inline.h (is): Don't offset _M_table.
1740 (scan_is): Use this->is.
1741 (scan_not): Likewise.
1743 2002-08-02 Benjamin Kosnik <bkoz@redhat.com>
1745 Revert PR libstdc++/6594
1746 * src/strstream.cc (strstreambuf): Revert.
1747 (strstreambuf::overflow): Same.
1748 (strstreambuf::~strstreambuf): Same.
1749 * testsuite/backward/strstream_members.cc (test02): Add.
1751 * docs/html/abi.txt: Update. Spell check.
1753 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add bool test.
1755 * testsuite/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
1756 * testsuite/Makefile.in: Regenerate.
1757 * testsuite/testsuite_hooks.h: Use __throw_exception_again,
1758 include functexcept.h so that -fno-exceptions will build.
1760 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
1762 * include/bits/valarray_meta.h (__unary_plus, __negate,
1763 __bitwise_not, __plus, __minus, __multiplies, __divides,
1764 __modulus, __bitwise_xor, __bitwise_or, __bitwise_and,
1765 __shift_left, __shift_right, __logical_and, __logical_or,
1766 __logical_not, __equal_to, __not_equal_to, __less, __less_equal,
1767 __greater_equal, __greater, __atan2, __pow): New function object
1769 (__fun<>): New function traits class.
1771 2002-08-01 Rick Danos <rdanos@hotmail.com>
1774 * config/os/newlib/ctype_noninline.h (classic_table): Add offset.
1775 * config/os/newlib/ctype_inline.h (is): Use static_cast.
1777 2002-08-01 Neil Booth <neil@daikokuya.co.uk>
1779 * libsupc++/Makefile.am (LT_COMPILE): Remove C++ flags.
1780 * libsupc++/Makefile.in: Regenerate.
1782 2002-08-01 Benjamin Kosnik <bkoz@redhat.com>
1783 Jakub Jelinek <jakub@redhat.com>
1785 * config/linker-map.gnu: Change CXXABI_1 to CXXABI_1.2,
1786 GLIBCPP_3.1 to GLIBCPP_3.2.
1788 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
1789 Mark Mitchell <mark@codesourcery.com>
1792 * libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit):
1793 Change to __hwm_bit.
1794 (__class_type_info): And here.
1796 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
1799 * libsupc++/cxxabi.h
1800 (__base_class_info): Change to __base_class_type_info. 2.9.5p6c
1801 (__base_class_info::__base): Change to __base_type. 2.9.5p6c
1802 (__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c
1803 (__vmi_class_type_info::__base_info): Don't make const, of type
1804 __base_class_type_info, as per 2.9.5p6c
1805 (__pbase_type_info::__qualifier_flags): Change to __flags, as per
1807 (__pbase_type_info::__qualifier_masks): Change to __masks, as per
1809 (__pointer_to_member_type_info::__context_class): Change member to
1810 __context, as per 2.9.5p9.
1811 * libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to
1813 * libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to
1815 * libsupc++/tinfo.cc (__do_find_public_src): Change __base to
1817 * libsupc++/tinfo.cc (__do_dyncast): Same.
1818 * libsupc++/tinfo.cc (__do_upcast): Same.
1820 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
1822 * src/fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.
1824 2002-07-31 Simon Whomsley <whomsley@avacadcam.com>
1826 * docs/html/22_locale/howto.html: Fix.
1828 2002-07-31 Alex Kompel <shurik@sequoiap.com>
1831 * src/locale.cc (locale::classic): Move locks inside !_S_classic
1834 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
1836 * docs/html/abi.txt: Update.
1838 2002-07-30 Benjamin Kosnik <bkoz@redhat.com>
1839 Gabriel Dos Reis <gdr@nerim.net>
1841 * include/bits/char_traits.h: Remove generic definitions.
1842 * include/bits/streambuf_iterator.h (istreambuf_iterator): Use
1844 * include/bits/istream.tcc (istream::readsome): Don't check
1845 against eof, instead use constants.
1846 (istream::sync): Same.
1847 (istream::sentry::sentry): Use eq_int_type.
1848 (istream::get): Same.
1849 * include/bits/ostream.tcc: Change __pad to
1850 __pad<_CharT, _Traits>::_S_pad.
1851 * include/bits/locale_facets.h: Add __pad_traits generic and
1852 ostreambuf_iterator specialization.
1853 * include/bits/locale_facets.tcc: Change __pad into struct __pad
1854 with a _CharT and _Traits template parameter and _S_pad static
1856 * src/locale-inst.cc: Update __pad instantiations.
1858 * include/std/std_fstream.h: Declare _M_underflow_common
1860 * src/fstream.cc: New. Add _M_underflow_common specializations.
1861 * include/bits/fstream.tcc (filebuf::close): Use traits_type.
1862 (filebuf::_M_underflow_common(bool)): Remove generic version, as
1863 sys_ungetc and custom int_types don't get along.
1864 * include/std/std_streambuf.h: Add _M_pos.
1865 * src/Makefile.am (sources): Add fstream.cc.
1866 * src/Makefile.in: Regenerate.
1868 * testsuite/21_strings/capacity.cc: Add char_traits specializations.
1869 * testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
1870 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
1871 * testsuite/22_locale/ctor_copy_dtor.cc: Same.
1872 * testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
1873 * testsuite/27_io/filebuf.cc: ...here.
1874 * testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
1875 specialization for both.
1876 * testsuite/27_io/streambuf.cc: Add instantiation test,
1877 testsuite_hooks include.
1878 * testsuite/27_io/istream.cc: Same.
1879 * testsuite/27_io/ostream.cc: Same.
1880 * testsuite/27_io/fstream.cc: Same.
1881 * testsuite/27_io/stringstream.cc: Same.
1882 * testsuite/27_io/filebuf.cc: Same.
1883 * testsuite/27_io/stringbuf.cc: Same.
1885 2002-07-29 Alan Modra <amodra@bigpond.net.au>
1887 * config/cpu/powerpc/cpu_limits.h (__glibcpp_long_bits): Define.
1888 * configure.target (cpu_include_dir): Use cpu/powerpc for powerpc64.
1889 * config/cpu/powerpc/atomicity.h (__always_swap): Remove.
1890 (__test_and_set): Remove.
1891 (_STWCX): Define and use.
1893 2002-07-26 Phil Edwards <pme@gcc.gnu.org>
1895 * libsupc++/new (placement delete): Remove unused parameter names.
1897 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
1900 * include/std/std_istream.h (basic_iostream): Add typedefs for
1901 char_type, int_type, pos_type, off_type, and traits_type.
1902 * testsuite/27_io/iostream.cc (test01): Add typedef tests.
1903 * testsuite/27_io/istream.cc: Same.
1904 * testsuite/27_io/ostream.cc: Same.
1905 * testsuite/27_io/filebuf.cc: Same.
1906 * testsuite/27_io/stringbuf.cc: Replace content, move to...
1907 * testsuite/27_io/stringbuf_members.cc: ...here.
1908 * testsuite/27_io/streambuf.cc: Replace content, move to...
1909 * testsuite/27_io/streambuf_members.cc: ...here.
1910 * testsuite/27_io/stringstream.cc: Replace content, move to...
1911 * testsuite/27_io/stringstream_members.cc: ...here.
1912 * testsuite/27_io/ios.cc: New file.
1913 * testsuite/27_io/fstream.cc: New file.
1914 * testsuite/27_io/ifstream.cc: New file.
1915 * testsuite/27_io/ofstream.cc: New file.
1916 * testsuite/27_io/istringstream.cc: New file.
1917 * testsuite/27_io/ostringstream.cc: New file.
1919 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
1922 * include/bits/istream.tcc (istream::ignore): Don't extract on
1924 * testsuite/27_io/istream_unformatted.cc (test10): Add.
1926 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
1928 * testsuite/27_io/ios_base_type.cc: Move to...
1929 * testsuite/27_io/ios_base_types.cc: ...here.
1931 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
1934 * src/locale.cc (locale::locale(const char*)): Use setlocale NULL.
1935 * testsuite/22_locale/ctor_copy_dtor.cc (test02): New.
1937 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
1940 * config/linker-map.gnu: Revert strstream patch from 2002-07-01.
1941 * include/Makefile.am (backward_headers): Use strstream, not
1943 * include/Makefile.in: Regenerate.
1944 * include/backward/strstream: Revert.
1945 * include/backward/strstream.h: Remove.
1946 * src/strstream.cc: Revert.
1947 * testsuite/backward/strstream_members.cc: Change include.
1949 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
1952 * include/bits/ios_base.h (ios_base::streampos): Add.
1953 (ios_base::streamoff): Add.
1954 * testsuite/27_io/ios_base_type.cc: New.
1956 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
1959 * libsupc++/new: Add placement delete.
1960 * testsuite/18_support/new_delete_placement.cc: New.
1962 * docs/html/abi.txt: Fix typos.
1964 2002-07-23 Benjamin Kosnik <bkoz@redhat.com>
1966 * docs/html/documentation.html: Remove libstdc++-v3.0.86 links,
1967 confusing usage of "latest."
1968 De-tangle contributor information from introductory notes.
1969 Move abi.txt link placement, activate.
1971 Move chapter info into old FAQ format.
1972 * docs/html/organization.html: Removed, obsoleted by doxygen work.
1973 * docs/html/abi.txt: Add notes on testing ABI changes.
1975 2002-07-20 Phil Edwards <pme@gcc.gnu.org>
1977 * docs/html/abi.txt: New file.
1978 * docs/html/23_containers/howto.html: Tweak vector-overhead text.
1979 * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
1980 Import from upstream, R22.
1982 * include/bits/char_traits.h, include/bits/stl_iterator.h,
1983 include/bits/stl_iterator_base_types.h, libsupc++/exception,
1984 libsupc++/new, libsupc++/typeinfo: Use @brief markup.
1986 * include/bits/deque.tcc, include/bits/stl_alloc.h,
1987 include/bits/stl_deque.h, include/bits/stl_list.h: Postpone removal
1988 of deprecated functions until 3.4. (Same timeframe, different text.)
1989 * include/bits/stl_vector.h: Ditto. Also do the same cleanups that
1990 the other sequence classes received.
1992 2002-07-18 Brendan Kehoe <brendan@zen.org>
1994 * bits/slice_array.h (_DEFINE_VALARRAY_OPERATOR): Fix typo of
1997 2002-07-19 Gabriel Dos Reis <gdr@nerim.net>
2000 * include/bits/slice_array.h
2001 (slice_array<T>::operator=(const T&)): Constify.
2002 * include/bits/gslice_array.h
2003 (gslice_array<T>::operator=(const T&)): Likewise.
2004 * include/bits/mask_array.h
2005 (mask_array<T>::operator=(const T&)): Likewise.
2006 * include/bits/indirect_array.h
2007 (indirect_array<T>::operator=(const T&): Likewise.
2009 2002-07-17 Phil Edwards <pme@gcc.gnu.org>
2011 * docs/doxygen/run_doxygen: Remove template parameter names from
2012 "Compound List" summary page. Reformat.
2013 * docs/html/documentation.html: XHTML fixes.
2015 2002-07-16 Andreas Schwab <schwab@suse.de>
2017 * libsupc++/new (set_new_handler): Declare to not throw any
2019 * libsupc++/new_handler.cc (set_new_handler): Likewise.
2021 2002-07-16 Gabriel Dos Reis <gdr@nerim.net>
2023 * include/Makefile.am (bits_headers): Remove slice.h
2024 * include/Makefile.in: Regenerate.
2025 * include/bits/slice.h (slice): move to include/bits/slice_array.h
2026 * include/bits/slice.h Remove.
2027 * include/std/std_valarray.h: Don't #include bits/slice.h anymore.
2028 * include/bits/slice_array.h: Comply to official coding styles.
2029 * testsuite/26_numerics/slice.cc: New test.
2031 2002-07-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2033 * config/os/solaris/solaris2.5/ctype_base.h (ctype_base): Fix
2034 print to match vendor <ctype.h>.
2036 2002-07-15 Phil Edwards <pme@gcc.gnu.org>
2038 * docs/html/faq/index.html: Fix download links.
2039 * docs/html/faq/index.txt: Regenerate.
2040 * docs/html/17_intro/porting.html: Regenerate from earlier changes.
2042 2002-07-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2044 * configure.target (target_os switch): Allow for irix6*o32
2047 2002-07-10 Gabriel Dos Reis <gdr@nerim.net>
2049 * include/bits/valarray_meta.h (_UnFunBase): Take a second
2050 template parameter. Remove _M_func data member.
2051 (_UnFunClos): Take a third template parameter.
2052 (__abs, __cos, __acos, __cosh, __sin, __asin, __sinh, __tan,
2053 __atan, __tanh, __exp, __log, __log10, __sqrt): New classes.
2054 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
2056 2002-07-08 Eric Christopher <echristo@redhat.com>
2058 * configure.target: Fix comment for mips atomicity. Add
2059 mips*-*-linux* target, enable atomic operations there.
2060 * config/cpu/mips/atomicity.h: Fix comments, remove
2061 #ifndef/#endif. Add push/pop mips2.
2063 2002-07-08 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2065 * include/bits/stl_deque.h (_Deque_alloc_base): Change order of
2066 member declarations to avoid compiler warnings and restore 3.1 ABI.
2068 2002-07-08 Phil Edwards <pme@gcc.gnu.org>
2070 * docs/html/23_containers/howto.html: Link to dk_std::vector paper
2073 2002-07-07 Paolo Carlini <pcarlini@unitus.it>
2076 * include/bits/stl_deque.h (_Deque_iterator::operator-):
2077 Make non-member, as already happens for the comparison
2078 operators in accord with DR179 (Ready).
2079 * testsuite/23_containers/deque_operators.cc: Add test02.
2081 2002-07-04 Benjamin Kosnik <bkoz@redhat.com>
2082 Jack Reeves <jackw_reeves@hotmail.com>
2084 * include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to
2085 size_t, from int_type.
2086 (basic_streambuf::_M_buf_size_opt): Same.
2087 (basic_streambuf::_S_pback_sizex): Same.
2088 * include/bits/streambuf.tcc: Same.
2089 * include/std/std_streambuf.h (basic_streambuf::snextc): Use
2091 (basic_streambuf::uflow): Same.
2092 * include/bits/sstream.tcc (basic_stringbuf::overflow): Use
2094 * include/bits/basic_ios.tcc (basic_ios::init): Use _CharT().
2095 * include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use
2097 (basic_streambuf::xsputn): Same.
2098 (__copy_streambufs): Same.
2100 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
2102 * include/std/std_memory.h: Fix formatting.
2103 * testsuite/20_util/auto_ptr_neg.cc: New.
2104 * testsuite/20_util/auto_ptr.cc: Tweaks.
2105 * testsuite/23_containers/map_operators.cc (test01): Split into..
2106 * testsuite/23_containers/map_operators_neg.cc (test01): ...this. New.
2107 * testsuite/23_containers/set_operators.cc: Move to...
2108 * testsuite/23_containers/set_operators_neg.cc: ...here.
2109 * testsuite/README: Add some more naming rules.
2111 2002-07-03 Steev Wilcox <steev@paradigmds.com>
2114 * include/ext/stl_hashtable.h: Fix.
2115 * testsuite/ext/hash_map.cc: New.
2117 2002-07-03 Jack Reeves <jackw_reeves@hotmail.com>
2118 Kenny Simpson <theonetruekenny@yahoo.com>
2119 Phil Edwards <pme@gcc.gnu.org>
2122 * testsuite/20_util/auto_ptr.cc (test08): New test.
2123 * include/std/std_memory.h (auto_ref_ptr): Make constructor explicit.
2124 (auto_ptr::operator auto_ptr_ref): Fix typo.
2125 General reformatting and doxygenating of the whole file.
2127 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
2130 * include/c/std_cwchar.h: Fix.
2132 2002-07-02 Benjamin Kosnik <bkoz@redhat.com>
2135 * include/bits/locale_facets.h (moneypunct::moneypunct): Add const
2136 char* name parameter.
2137 * config/locale/gnu/monetary_members.cc: Use it.
2138 * config/locale/generic/monetary_members.cc: Same.
2139 * src/localename.cc (_Impl::_Impl(const char*, size_t)): Use it.
2141 * include/backward/strstream.h: Update date.
2143 2002-07-02 Paolo Carlini <pcarlini@unitus.it>
2146 * include/bits/stl_iterator.h
2147 (__normal_iterator::operator-(const __normal_iterator&)):
2148 Make non-member, as already happens for the comparison
2149 operators in accord with DR179 (Ready).
2150 * testsuite/24_iterators/iterator.cc: Add test from the PR.
2152 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
2155 * acinclude.m4: Simplify determination of gcc_version, and move
2156 up to GLIBCPP_CONFIGURE.
2157 * configure.in (release_VERSION): Really remove.
2158 (AM_INIT_AUTOMAKE, AM_CONFIG_HEADER): Move after GLIBCPP_CONFIGURE.
2159 * aclocal.m4, configure: Regenerate.
2161 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
2163 * docs/html/configopts.html, docs/html/install.html: Tweaks.
2164 * include/ext/algorithm, include/ext/hash_map, include/ext/hash_set,
2165 include/ext/iterator, include/ext/numeric, include/ext/rb_tree,
2166 include/ext/slist, include/ext/stl_rope.h: Add doxygen hooks.
2168 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
2170 * include/backward/strstream: Remove namespace std. Transfer to...
2171 * include/backward/strstream.h: ...here. Qualify std names.
2172 * src/strstream.cc: Remove namespace std.
2173 * include/Makefile.am (backward_headers): Remove strstream.h.
2174 * include/Makefile.in: Regenerate.
2175 * config/linker-map.gnu: Export strstream bits.
2177 * src/fstream-inst.cc: Tweak.
2178 * src/io-inst.cc: Same.
2179 * src/istream-inst.cc: Same.
2180 * src/misc-inst.cc: Same.
2181 * src/ostream-inst.cc: Same.
2182 * src/sstream-inst.cc: Same.
2183 * src/valarray-inst.cc: Same.
2184 * src/misc-inst.cc: Remove unused instantiations.
2186 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
2188 * configure.in (libtool_VERSION): Bump to 5:0:0.
2189 * configure: Regenerate.
2191 2002-06-28 Phil Edwards <pme@gcc.gnu.org>
2193 PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161
2194 * include/std/std_queue.h: Include deque.tcc, vector.tcc.
2195 * include/std/std_stack.h: Include deque.tcc.
2196 * testsuite/23_containers/adaptors.cc: New file.
2198 2002-06-27 Phil Edwards <pme@gcc.gnu.org>
2200 * include/bits/stl_alloc.h: Deprecate all 'reallocate' memfns.
2201 * docs/html/ext/howto.html: Update allocator notes.
2203 2002-06-26 Benjamin Kosnik <bkoz@redhat.com>
2205 * configure.in (INTERFACE): Remove.
2206 (release_VERSION): Remove.
2207 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
2208 (libstdcxx_interface): Change. Use gcc methods to determine version.
2209 * configure: Regenerate.
2210 * aclocal.m4: Regenerate.
2212 2002-06-25 DJ Delorie <dj@redhat.com>
2214 * acinclude.m4 (GLIBCPP_CONFIGURE): Split out
2215 GLIBCPP_TOPREL_CONFIGURE.
2216 * aclocal.m4: Likewise.
2217 * configure.in: Call it before AC_CANONICAL_SYSTEM.
2218 * configure: Regenerate.
2220 2002-06-25 Jessica Han <jessica@cup.hp.com>
2222 * config/os/hpux/os_defines.h Define _GLIBCPP_VTABLE_PADDING
2223 * libsupc++/tinfo.cc Handle the 8 byte aligned vtable entries when
2224 _GLIBCPP_VTABLE_PADDING is defined.
2226 2002-06-25 Benjamin Kosnik <bkoz@redhat.com>
2228 * include/bits/stl_alloc.h: Additional formatting.
2230 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
2232 * include/bits/stl_alloc.h: Reformat as per C++STYLE.
2234 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
2236 * config/cpu/*/bits/*: Move header files up a level. Remove bits.
2237 * config/os/*/bits/*: Likewise.
2238 * configure.in: Update.
2239 * configure: Regenerate.
2240 * configure.target: Update.
2241 * docs/html/17_intro/porting.texi: Update.
2243 2002-06-21 Phil Edwards <pme@gcc.gnu.org>
2245 * include/bits/stl_map.h, include/bits/stl_multimap.h,
2246 include/bits/stl_queue.h, include/bits/stl_stack.h: Reformat and
2247 complete doxygenation.
2248 * include/bits/boost_concept_check.h: Minor comment.
2250 2002-06-21 Benjamin Kosnik <bkoz@redhat.com>
2252 * include/c_compatibility: New.
2253 * include/c_compatibility/assert.h: New.
2254 * include/c_compatibility/ctype.h: New.
2255 * include/c_compatibility/errno.h: New.
2256 * include/c_compatibility/float.h: New.
2257 * include/c_compatibility/iso646.h: New.
2258 * include/c_compatibility/limits.h: New.
2259 * include/c_compatibility/locale.h: New.
2260 * include/c_compatibility/math.h: New.
2261 * include/c_compatibility/setjmp.h: New.
2262 * include/c_compatibility/signal.h: New.
2263 * include/c_compatibility/stdarg.h: New.
2264 * include/c_compatibility/stddef.h: New.
2265 * include/c_compatibility/stdio.h: New.
2266 * include/c_compatibility/stdlib.h: New.
2267 * include/c_compatibility/string.h: New.
2268 * include/c_compatibility/time.h: New.
2269 * include/c_compatibility/wchar.h: New.
2270 * include/c_compatibility/wctype.h: New.
2272 * include/c/std_cerrno.h: Get out of the way... define errno.
2273 * include/c/std_cmath.h: Add abs, modf overloads.
2274 Undefine C99 isms. Still not sure how to deal with this sanely.
2275 * include/c/std_csetjmp.h: Tweak.
2276 * include/c/std_cwchar.h: Include cstddef for size_t.
2278 * include/c_std/std_cmath.h: Remove extra function.
2280 Pendantic std usage in testsuites.
2281 * testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
2283 * testsuite/17_intro/header_cwchar.cc: Tweak.
2284 * testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
2286 * testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
2287 * testsuite/22_locale/ctype_to_char.cc (test05): Same.
2288 * testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
2289 * testsuite/22_locale/ctype_is_char.cc (test05): Same.
2290 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
2291 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
2292 * testsuite/22_locale/time_get_members_char.cc (test08): Same.
2293 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
2294 * testsuite/22_locale/time_put_members_char.cc (test04): Same.
2295 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
2296 * testsuite/22_locale/num_put_members_char.cc (test04): Same.
2297 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
2298 * testsuite/22_locale/numpunct_members_char.cc (test03): Same.
2299 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
2300 * testsuite/22_locale/num_get_members_char.cc: Same.
2301 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
2302 * testsuite/22_locale/money_put_members_char.cc (test07): Same.
2303 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
2304 * testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
2305 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
2306 * testsuite/22_locale/money_get_members_char.cc (test08): Same.
2307 * testsuite/22_locale/messages_members_char.cc (test03): Same.
2308 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
2309 * testsuite/22_locale/collate_members_char.cc (test04): Same.
2310 * testsuite/26_numerics/fabs_inline.cc: Use std::printf.
2311 * testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
2312 * testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.
2314 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
2316 * libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
2319 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
2321 * src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
2322 Use size_type instead of unsigned long.
2324 2002-06-20 Steve Ellcey <sje@cup.hp.com>
2326 * src/ext-inst.cc (_S_fetch): Add explicit templates for char and
2328 (_S_min_len): Ditto.
2330 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
2332 * include/Makefile.am: Add rules.
2333 * include/Makefile.in: Regenerate.
2335 * acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
2336 * aclocal.m4: Regenerate.
2337 * configure: Regenerate.
2338 * configure.target (c_model, c_compatibility): Add.
2340 * libsupc++/Makefile.am (c_sources): New.
2341 (libsupc___la_SOURCES): Add c_sources.
2342 (LTCOMPILE): Remove INCLUDES.
2343 (GCC_INCLUDES): New.
2344 (C_COMPILE): New, like COMPILE but without INCLUDES.
2345 (cxa_demangle.o): Use C_COMPILE.
2346 (dyn-string.o): Use C_COMPILE.
2348 * include/c/std_cstdarg.h: Define __need___va_list.
2349 * include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
2350 need_NULL, need_offsetof.
2352 2002-06-19 Steve Ellcey <sje@cup.hp.com>
2354 * configure.in (HAVE_FINITE*, HAVE_ISINF*, HAVE_ISNAN*): Remove
2355 definitions in hpux11 cross-build because these functions do
2356 not exist on hpux11 (but some exist on hpux10); move defaults out
2357 into existing sections.
2358 * configure: Regenerate.
2360 2002-06-18 Benjamin Kosnik <bkoz@redhat.com>
2362 * include/c/std_cwchar.h: Guard. Add mbstate_t bits.
2363 * include/c/std_cwctype.h: Guard.
2365 * libsupc++/eh_alloc.cc: Tweak include order.
2366 * libsupc++/pure.cc: Use cstdio.
2367 * libsupc++/new_op.cc: Remove malloc forward declaration, as
2368 cstdlib brings it in. Use std::malloc.
2370 * src/Makefile.am (sources): Remove cmath.cc.
2371 * src/Makefile.in: Regenerate.
2372 * src/cmath.cc: Remove.
2374 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
2376 * configure.target: Force mips to use the generic cpu routines.
2378 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
2380 * configure.host: Delete file.
2381 * configure.target: More documentation. Factor out common parts of
2382 script into "intelligent" settings about defaults. Remove redundancy.
2384 * acinclude.m4: Update comments. Do not call configure.host.
2385 (GLIBCPP_ENABLE_SYMVERS): If disabled, do not bother checking for
2387 * configure.in: Slight reformatting, more comments. Factor out
2388 "config/" from all the directories.
2389 * docs/html/17_intro/porting.texi: Update and expand.
2390 * testsuite/Makefile.am (AM_RUNTESTFLAGS): Move empty setting
2391 from configure.host.
2393 * aclocal.m4, configure, docs/html/17_intro/porting.html,
2394 testsuite/Makefile.in: Regenerate.
2396 2002-06-16 Phil Edwards <pme@gcc.gnu.org>
2398 * docs/doxygen/TODO: Update.
2399 * docs/doxygen/tables.html: Uncomment magical middle column.
2400 * docs/doxygen/user.cfg.in: Kludge to ignore function-like macros.
2401 * include/bits/stl_queue.h: Doxygenate and reformat.
2402 * include/bits/ios_base.h, include/std/std_streambuf.h: Add comment
2403 for deprecated names required by the standard.
2405 2002-06-14 J.T. Conklin <jtc@acorntoolworks.com>
2407 * configure.in (target_alias): Fix.
2408 * configure: Regenerate.
2409 * aclocal.m4: Regenerate.
2411 2002-06-12 Phil Edwards <pme@gcc.gnu.org>
2413 * include/Makefile.am: Add new files.
2414 * include/Makefile.in: Regenerate.
2416 * include/bits/stl_deque.h, include/bits/stl_list.h,
2417 include/bits/stl_vector.h: Clean up, reformat. Move definitions...
2418 * include/bits/deque.tcc, include/bits/list.tcc,
2419 include/bits/vector.tcc: ...to here. New files.
2421 * include/ext/stl_hashtable.h: Inclide correct full headers.
2422 * include/std/std_deque.h: Include .tcc files for now.
2423 * include/std/std_list.h: Likewise.
2424 * include/std/std_vector.h: Likewise.
2426 2002-06-12 Daniel Jacobowitz <drow@mvista.com>
2428 * Makefile.am: Add FLAGS_TO_PASS.
2429 * Makefile.in: Regenerated.
2431 2002-06-11 J.T. Conklin <jtc@acorntoolworks.com>
2432 Benjamin Kosnik <bkoz@redhat.com>
2434 * configure.target: Set os_include_dir to config/os/qnx/qnx6.1
2436 * configure.in: Add support for *-qnx6.[12]*.
2437 * configure: Regenerate.
2439 * config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
2441 * config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
2442 ctype_noninline.h, os_defines.h: New files.
2444 2002-06-10 Loren J. Rittle <ljrittle@acm.org>
2446 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): Reorder and
2447 include all required headers for test against older POSIX standard.
2448 (GLIBCPP_CHECK_SETRLIMIT): Likewise.
2449 (ac_setrlimit): Likewise.
2450 * aclocal.m4: Regenerate.
2451 * configure: Regenerate.
2452 * testsuite/testsuite_hooks.cc: Reorder and include all
2453 required headers for use against older POSIX standard.
2455 2002-06-08 Paolo Carlini <pcarlini@unitus.it>
2457 * testsuite/backwards/strstream_members.cc: New.
2459 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
2461 * include/backwards/strstream: Format.
2462 * src/strstream.cc: Format.
2464 2002-06-08 Andreas Schwab <schwab@suse.de>
2466 * src/strstream.cc (strstreambuf::overflow): Set _M_buf,
2467 _M_buf_size and _M_buf_size_opt to the new buffer and size.
2469 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
2471 * config/os/generic/bits/ctype_noninline.h: Tweak format.
2473 2002-06-07 Steve Ellcey <sje@cup.hp.com>
2475 * src/locale-inst.cc (__codecvt_abstract_base):
2476 Put inside _GLIBCPP_USE_WCHAR_T ifdef.
2477 * include/bits/istream.tcc (basic_istream): Ditto.
2480 * include/bits/ostream.tcc (basic_ostream): Ditto.
2484 (operator<<): Ditto.
2486 2002-06-07 Phil Edwards <pme@gcc.gnu.org>
2488 * mkcheck.in: Link against local testsuite library.
2489 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Move null
2490 implementation out...
2491 * testsuite/testsuite_hooks.cc: ...to here.
2493 2002-06-06 Loren J. Rittle <ljrittle@acm.org>
2495 * src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
2496 * include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
2497 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
2498 * src/Makefile.in: Regenerate (explicitly with --cygnus option).
2499 * testsuite/Makefile.in: Likewise.
2501 2002-06-05 David Edelsohn <edelsohn@gnu.org>
2503 * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
2504 Call external symbol.
2506 2002-06-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2508 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
2509 Search correct multilib testsuite dir for libv3test.
2511 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
2512 Gaby Dos Reis <gdr@codesourcery.com>
2514 * include/bits/basic_string.tcc
2515 (basic_string::_S_construct(forward_iterator_tag):
2516 Fix typo in null pointer check.
2517 * testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
2519 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
2521 * testsuite/22_locale/money_get_members_char.cc
2522 (test02): Add decimal point to long double constants.
2523 * testsuite/22_locale/money_get_members_wchar_t.cc
2525 * testsuite/22_locale/money_put_members_char.cc
2526 (test02, test03, test06): Likewise.
2527 * testsuite/22_locale/money_put_members_wchar_t.cc:
2528 (test02, test03, test06): Likewise.
2529 * testsuite/22_locale/num_get_members_char.cc:
2530 (test02, test01): Likewise; suffix long long constants with LL.
2531 * testsuite/22_locale/num_get_members_wchar_t.cc:
2532 (test02, test01): Likewise.
2533 * testsuite/22_locale/num_put_members_char.cc:
2534 (test02, test01): Likewise.
2535 * testsuite/22_locale/num_put_members_wchar_t.cc:
2536 (test02, test01): Likewise.
2538 2002-06-03 Marc Espie <espie@openbsd.org>
2540 * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
2541 assembly for old assemblers.
2543 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
2545 * include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
2547 (vector<bool>::swap(reference,reference)): ...to this.
2549 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
2551 * docs/doxygen/TODO: Update.
2552 * docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS): Set to off, now that
2553 some class members are in 14882 order.
2554 * docs/html/ext/howto.html: 3.1 is in the past now, not the future.
2556 * include/std/std_bitset.h: Update comment.
2557 * src/bitset.cc: Update comments, clean up spacing.
2559 * src/Makefile.am (sources): Alphabetize for convenience.
2560 * src/Makefile.in: Regenerate.
2562 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
2564 * include/bits/stl_deque.h, include/bits/stl_list.h,
2565 include/bits/stl_vector.h: Reformat to (mostly) match C++STYLE.
2566 Reorder to match 14882. Doxygen blocks for all public members.
2568 2002-05-31 Marcus Meissner <meissner@suse.de>
2571 * include/bits/stl_bvector.h: Use UL suffix for unsigned longs.
2572 * testsuite/23_containers/vector_bool.cc (test02): New test.
2574 2002-05-30 Marc Espie <espie@openbsd.org>
2576 * configure.in: Always check for sys/types.h
2577 * configure: Regenerate.
2579 2002-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2581 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
2582 Rebuild the wrapper file every time this proc is called.
2584 2002-05-28 Phil Edwards <pme@gcc.gnu.org>
2586 * testsuite/Makefile.am (noinst_LIBRARIES): New target. Pull in
2588 * testsuite/Makefile.in: Regenerate.
2589 * testsuite/testsuite_hooks.h (gnu_copy_tracker): Move from
2590 list_modifiers.cc and rename from 'T'. Move code bodies...
2591 * testsuite/testsuite_hooks.cc: ...to here. New file.
2592 * testsuite/23_containers/list_modifiers.cc: Move 'T' class out.
2593 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
2594 Add libv3test.a to link options.
2596 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
2598 * src/misc-inst.cc: Define unnecessary algorithm
2599 instantiations. Break apart instantiations into groupings below.
2600 * src/fstream-inst.cc: New.
2601 * src/io-inst.cc: New.
2602 * src/istream-inst.cc: New.
2603 * src/ostream-inst.cc: New.
2604 * src/streambuf-inst.cc: New.
2605 * src/sstream-inst.cc: New.
2606 * src/Makefile.am (sources): Add files.
2607 * src/Makefile.in: Regenerate.
2609 * acinclude.m4: Work around automake 1.4-p5 bug, change
2610 AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
2612 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
2615 * config/os/solaris/solaris2.6/bits/ctype_noninline.h
2616 (classic_table): Fix.
2617 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2619 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
2621 * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
2622 _GLIBCPP_USE_WCHAR_T.
2623 * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
2624 * testsuite/22_locale/ctype_to_wchar_t.cc: Same.
2625 * testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
2627 2002-05-26 Carlo Wood <carlo@alinoe.com>
2628 Paolo Carlini <pcarlini@unitus.it>
2631 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
2632 (__enc_traits::operator=): add missing return statement.
2634 2002-05-24 Phil Edwards <pme@gcc.gnu.org>
2637 * include/std/std_bitset.h (_Base_biteset<0>): New specialization.
2638 (operator>>): If nothing was extracted, don't fail in the
2640 * testsuite/23_containers/bitset_ctor.cc (test02): New test.
2642 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
2645 * testsuite/22_locale/ctype_narrow_char.cc: New.
2646 * testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
2647 * testsuite/22_locale/ctype_widen_char.cc: New.
2648 * testsuite/22_locale/ctype_widen_wchar_t.cc: New.
2649 * testsuite/22_locale/ctype_members_char.cc: Move some bits into...
2650 * testsuite/22_locale/ctype_is_char.cc: ...this.
2651 * testsuite/22_locale/ctype_to_char.cc: ...and this.
2652 * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
2653 * testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
2654 * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
2656 * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
2658 2002-05-24 Dale Peakall <dale@peakall.net>
2661 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
2662 * config/locale/generic/ctype_members.cc: Same.
2664 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
2667 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
2668 for empty string literal.
2669 (ostream::operator<<(const _CharT*)): Same.
2670 (ostream<char>::operator<<(const char*)): Same.
2671 (ostream<char>::operator<<(streambuf*)): Same.
2672 * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
2673 * testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
2675 2002-05-23 Benjamin Kosnik <bkoz@redhat.com>
2677 * configure.in (release_VERSION): Update to 3.1.1.
2678 (libtool_VERSION): Update to 4:1:0.
2679 * configure: Regenerate.
2681 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
2683 * include/bits/stl_pair.h: Tweak comment markup.
2685 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
2687 * include/ext/stdio_filebuf.h: Add header guards. Doxygenate.
2689 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
2691 * docs/doxygen/user.cfg.in (EXCLUDE): Add 'CVS'.
2693 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
2695 * include/bits/stl_vector.h: Reformat to follow C++STYLE.
2696 Doxygenate all public members. Reorder to follow 14882.
2697 (vector::push_back(void)): Remove previously-deprecated fn.
2698 (vector::insert(iterator), vector::_M_insert_aux(iterator)):
2699 Deprecate for removal in 3.3.
2701 2002-05-20 Phil Edwards <pme@gcc.gnu.org>
2703 * docs/html/faq/index.html (5.4): Recommend against -I options for
2704 finding the ext headers.
2705 * docs/html/faq/index.txt: Regenerate.
2707 2002-05-19 Paolo Carlini <pcarlini@unitus.it>
2709 * testsuite/23_containers/deque_operators.cc (test01):
2710 Fix minor typo in last commit.
2712 2002-05-18 Paolo Carlini <pcarlini@unitus.it>
2715 * include/bits/stl_deque.h (_Deque_iterator::operator==,
2716 operator!=, operator<, operator>, operator>=, operator<=):
2717 Make non-member functions, to allow comparing const and
2718 non-const iterators in any order.
2719 * testsuite/23_containers/deque_operators.cc: New testfile.
2721 2002-05-16 Phil Edwards <pme@gcc.gnu.org>
2723 * docs/html/faq/index.html: Update not-a-bug list with basic_file.h.
2724 * docs/html/faq/index.txt: Regenerate.
2726 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2728 * Makefile.am: Allow for PWDCMD to override hardcoded pwd.
2729 * acinclude.m4: Likewise.
2730 * docs/html/Makefile: Likewise.
2731 * aclocal.m4: Regenerate.
2732 * configure: Regenerate.
2733 * Makefile.in: Regenerate.
2735 2002-05-15 Loren J. Rittle <ljrittle@acm.org>
2738 * include/bits/c++config (__USE_MALLOC): Report case where
2739 the user improperly defined it on the command line.
2741 2002-05-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2743 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
2744 Retrieve current limits before setting.
2746 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
2749 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
2751 (ostream::operator<<(const _CharT*)): Same.
2752 (ostream<char>::operator<<(const char*)): Same.
2753 * testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
2755 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
2758 * src/strstream.cc (strstreambuf): Fix leak.
2760 2002-05-15 Paolo Carlini <pcarlini@unitus.it>
2763 * include/bits/istream.tcc (istream::getline, ignore):
2764 Upon __idelim (__delim) call sbumpc() not snextc().
2765 * testsuite/27_io/narrow_stream_objects.cc:
2766 Add test08 and test09.
2768 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
2770 * testsuite/22_locale/ctype_scan_char.cc: Tweak.
2771 * testsuite/22_locale/ctype_scan_wchar_t.cc: New.
2773 * docs/html/install.html: Fix.
2775 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
2777 * include/bits/fstream.tcc
2778 (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
2780 * src/localename.cc (locale::_Impl::_M_install_facet): Same.
2782 * docs/html/install.html: Tweak, add bits about required locales
2783 for the 22_locale tests when using the gnu model.
2785 * testsuite/27_io/istream_sentry.cc: Tweak.
2787 2002-05-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2789 * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
2790 Fix typo, use this->is() rather than manually (and perhaps
2791 incorrectly) inlining it.
2792 * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
2794 * testsuite/22_locale/ctype_scan_char.cc: New file.
2796 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
2797 Jakub Jelinek <jakub@redhat.com>
2799 * testsuite/22_locale/money_get_members_char.cc
2800 (test01, test02, test04): Use the de_DE@euro named locale
2801 instead of de_DE to allow for an uniform behaviour with
2802 both old and Euro-era localedata; tweak some tests.
2803 * testsuite/22_locale/money_get_members_wchar_t.cc
2804 (test01, test02, test04): Likewise.
2805 * testsuite/22_locale/money_put_members_char.cc
2806 (test01, test02, test04): Likewise.
2807 * testsuite/22_locale/money_put_members_wchar_t.cc
2808 (test01, test02, test04): Likewise.
2810 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
2812 * testsuite/22_locale/codecvt_members_char_char.cc
2813 (test03): Robustify wrt localedata.
2814 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
2815 * testsuite/22_locale/collate_members_char.cc (test04): Likewise.
2816 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
2817 * testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
2818 * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
2819 * testsuite/22_locale/messages_members_char.cc (test03): Likewise.
2820 * testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
2821 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
2822 * testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
2823 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
2824 * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
2825 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
2826 * testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
2827 * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
2828 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
2829 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
2830 * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
2831 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
2832 * testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
2833 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
2834 * testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
2835 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
2837 2002-05-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2839 * config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
2842 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
2844 * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
2845 to 64 for hppa 64-bit port.
2846 (__glibcpp_long_double_bits): Define to 64 for all hppa ports.
2848 2002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2850 * acinclude.m4 (enable_symvers): Quote $LD.
2851 * aclocal.m4: Regenerate.
2852 * configure: Likewise.
2854 2002-05-09 Jakub Jelinek <jakub@redhat.com>
2856 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
2857 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
2860 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
2862 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
2863 script entry, and set LD to it when configuring multilibs.
2864 * configure: Rebuilt.
2866 2002-05-07 Mark Mitchell <mark@codesourcery.com>
2868 * configure.in: Add support for WindISS.
2869 * configure: Regenerated.
2870 * configure.target: Add support for WindISS.
2871 * config/os/windiss/bits/ctype_base.h: New file.
2872 * config/os/windiss/bits/ctype_inline.h: Likewise.
2873 * config/os/windiss/bits/ctype_noninline.h: Likewise.
2874 * config/os/windiss/bits/os_defines.h: Likewise.
2876 2002-05-06 Paolo Carlini <pcarlini@unitus.it>
2878 Test all the facets for the temporary "C" locale switch issue.
2879 * testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
2880 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
2881 * testsuite/22_locale/collate_members_char.cc: Add test04.
2882 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
2883 * testsuite/22_locale/ctype_members_char.cc: Add test05.
2884 * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
2885 * testsuite/22_locale/messages_members_char.cc: Add test03.
2886 * testsuite/22_locale/money_get_members_char.cc: Add test08.
2887 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
2888 * testsuite/22_locale/money_put_members_char.cc: Add test07.
2889 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
2890 * testsuite/22_locale/moneypunct_members_char.cc: Add test03.
2891 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
2892 * testsuite/22_locale/num_get_members_char.cc: Add test06.
2893 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
2894 * testsuite/22_locale/numpunct_members_char.cc: Add test03.
2895 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
2896 * testsuite/22_locale/time_get_members_char.cc: Add test08.
2897 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
2898 * testsuite/22_locale/time_put_members_char.cc: Add test04.
2899 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
2901 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
2902 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
2904 2002-05-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2906 * config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
2907 __EXTENSIONS__): Ensure they are always defined.
2909 2002-05-06 Phil Edwards <pme@gcc.gnu.org>
2911 * docs/html/documentation.html: Fix broken link.
2913 2002-05-04 Benjamin Kosnik <bkoz@redhat.com>
2914 Paolo Carlini <pcarlini@unitus.it>
2916 * testsuite/22_locale/num_put_members_char.cc: Add test04(),
2917 testing for the locale_facets.tcc entry of the previous commit.
2918 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
2920 2002-05-04 Takeshi Kobayakawa <tskoba@mte.biglobe.ne.jp>
2922 * config/locale/generic/c_locale.cc
2923 (__convert_to_v(float, double, long double)):
2924 Fix the temporary switch to the "C" locale, saving and
2925 restoring in the proper way the current locale.
2926 * config/locale/generic/time_members.cc
2927 (__timepunct<char, wchar_t>::_M_put): Likewise.
2928 * config/locale/gnu/messages_members.cc
2929 (messages<char>::do_get): Likewise.
2930 * config/locale/gnu/messages_members.h
2931 (messages<_CharT>::do_get): Likewise.
2932 * config/locale/gnu/time_members.cc
2933 (__timepunct<char, wchar_t>::_M_put): Likewise.
2934 * include/bits/locale_facets.tcc (__convert_from_v): Likewise.
2936 2002-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2938 * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
2939 * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
2941 * Makefile.in, config.h.in, configure: Regenerate.
2943 2002-05-03 Benjamin Kosnik <bkoz@redhat.com>
2946 * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
2947 * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
2949 2002-05-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2951 * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
2953 (ctype:_M_table): Initialize to classic_table(), not __ctype.
2955 2002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2957 * configure.in: Update local install.html, configopts.html paths.
2958 * configure: Regenerate.
2960 2002-05-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2962 * config/os/irix/irix5.2/bits/os_defines.h
2963 (__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
2965 * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
2968 2002-05-02 Phil Edwards <pme@gcc.gnu.org>
2970 * docs/html/faq/index.html: Update list in #4.1.
2971 * docs/html/faq/index.txt: Regenerated.
2973 2002-05-02 Benjamin Kosnik <bkoz@redhat.com>
2975 * docs/html/17_intro/RELEASE-NOTES (New): Update.
2977 2002-05-01 Phil Edwards <pme@gcc.gnu.org>
2979 * include/std/std_bitset.h: Fix doxygen comments.
2980 * docs/html/documentation.html: Minor tweaks for 3.1.
2981 * docs/html/27_io/howto.html: Likewise.
2982 * docs/html/ext/howto.html: Likewise, mention stdio_filebuf.
2983 * docs/html/faq/index.html: Likewise.
2984 * docs/html/faq/index.txt: Regenerated.
2986 2002-05-01 Benjamin Kosnik <bkoz@redhat.com>
2989 * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
2990 (istreambuf_iterator::equal): Use it.
2991 (istreambuf_iterator::operator*): Use it.
2993 2002-05-01 Paolo Carlini <pcarlini@unitus.it>
2996 * include/bits/stl_uninitialized.h
2997 (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
2998 Fix typo in 2001-07-17 commit: typedef _ValueType to
2999 iterator_traits<_ForwardIter> not <_InputIter>.
3000 * testsuite/23_containers/vector_ctor.cc: Add test04.
3002 2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
3005 * include/c_std/std_cctype.h: Include bits/c++config.h.
3006 * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
3008 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
3010 * include/ext/stdio_filebuf.h: New file.
3011 * include/ext/enc_filebuf.h: New file.
3012 * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
3013 * config/io/basic_file_stdio.cc: Same.
3014 * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
3015 Remove _M_unbuf hacks.
3016 (filebuf::_M_destroy_internal_buffer): Same.
3017 (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
3018 (filebuf::fd): Remove.
3019 * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
3020 (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
3021 (filebuf::fd): Remove.
3022 * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
3024 (ios_base::_S_ios_destroy): Same.
3025 * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
3026 * include/Makefile.am (ext_headers): Add ext_filebuf.h,
3027 stdio_filebuf.h. * include/Makefile.in: Regenerate.
3029 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
3032 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
3034 2002-04-29 Benjamin Kosnik <bkoz@redhat.com>
3037 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
3039 * include/bits/streambuf_iterator.h: Match stream_iterator.h.
3040 (istreambuf_iterator::operator++): Invalidate on eof.
3041 (istreambuf_iterator::operator++(int)): Same.
3042 (istreambuf_iterator::operator*): Same.
3044 2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3046 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
3047 of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
3050 2002-04-28 Benjamin Kosnik <bkoz@redhat.com>
3053 * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
3054 (__basic_file::sys_ungetc): Take int.
3055 * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
3056 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
3057 Use sys_getc for unbuffered input.
3058 * testsuite/27_io/narrow_stream_objects.cc (test06): New.
3060 * src/ios.cc (_M_grow_words): Adjust error checking.
3061 * testsuite/27_io/ios_base_storage.cc: Same.
3063 2002-04-28 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3065 * include/ext/stl_hashtable.h: Import __iterator_category
3067 2002-04-28 Paolo Carlini <pcarlini@unitus.it>
3068 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3070 * testsuite/ext/hash_set.cc: New testfile.
3072 2002-04-27 Benjamin Kosnik <bkoz@redhat.com>
3074 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
3076 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
3077 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
3079 2002-04-26 Paolo Carlini <pcarlini@unitus.it>
3081 * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
3082 Fix and tighten __throw_length_error check.
3083 * testsuite/21_strings/replace.cc (test05): New.
3084 * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
3086 2002-04-23 Loren J. Rittle <ljrittle@acm.org>
3088 * include/std/std_fstream.h (basic_filebuf::sync): Hoist
3089 unconditional flush on lower-layer handle to here...
3090 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
3091 ...from here. Optimize remaining _M_file.sync() call pattern.
3092 * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
3095 2002-04-23 Jason Merrill <jason@redhat.com>
3097 * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
3098 output-only filebufs.
3099 * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
3101 (basic_filebuf::_M_set_determinate): Likewise.
3104 * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
3105 value properly in the trivial case.
3106 * testsuite/27_io/istream_seeks.cc (test04): Make sure that
3107 tellg() returns the right value after a read.
3109 2002-04-23 Hans-Peter Nilsson <hp@bitrange.com>
3111 * config/cpu/mmix/bits/cpu_limits.h: New file.
3112 * configure.target (CPULIMITSH): Use it.
3114 2002-04-22 Loren J. Rittle <ljrittle@acm.org>
3116 * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
3117 * docs/html/17_intro/porting.html: Rebuilt.
3119 2002-04-20 Jason Merrill <jason@redhat.com>
3122 * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
3124 (basic_streambuf::_M_set_determinate): Likewise.
3125 (basic_streambuf::_M_is_indeterminate): Likewise.
3126 * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
3127 non-static data member.
3128 (basic_filebuf::_M_underflow_common): New non-static member function.
3129 (basic_filebuf::_M_underflow, _M_uflow): Call it.
3130 (basic_filebuf::sync): Avoid useless seeking.
3131 (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
3133 (basic_filebuf::_M_set_determinate): Likewise.
3134 (basic_filebuf::_M_is_indeterminate): Likewise.
3135 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
3136 back to _M_out_beg if necessary.
3137 (basic_filebuf::seekoff): Likewise.
3138 (basic_filebuf::_M_underflow_common): Generalization of old
3139 underflow(). Don't seek back to _M_in_beg.
3140 * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
3141 * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
3142 * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
3143 * config/os/mingw32/bits/os_defines.h: Likewise.
3144 * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
3147 2002-04-22 Benjamin Kosnik <bkoz@redhat.com>
3149 * include/bits/istream.tcc (istream::read): Fix.
3150 * testsuite/27_io/istream_unformatted.cc (main): Add.
3152 2002-04-20 Benjamin Kosnik <bkoz@redhat.com>
3155 * include/bits/istream.tcc (istream::ignore): Streamline, use
3157 * include/bits/streambuf.tcc: Use this->gptr.
3158 * testsuite/27_io/istream_unformatted.cc (test08): Add test.
3160 2002-04-18 Benjamin Kosnik <bkoz@redhat.com>
3162 * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
3163 as type safety is important, especially on solaris.
3164 * include/bits/istream.tcc (istream::read): Clean.
3165 (istream::readsome): Same.
3166 * locale.cc: Wrap lines.
3168 * testsuite/21_strings/inserters_extractors.cc: Tweaks.
3169 * testsuite/27_io/instantiations.cc (test): Add bool variable...
3170 * testsuite/21_strings/capacity.cc: Clean.
3172 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
3174 * docs/doxygen/doxygroups.cc: New group on binary searching.
3175 * include/bits/stl_algo.h: Document binary searches and merges.
3176 * include/bits/stl_deque.h: The 'map' member is not the 'map' class.
3178 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
3180 * docs/doxygen/mainpage.html: Doxygen logo is now a PNG file.
3181 * docs/doxygen/run_doxygen: Bump required version.
3182 * docs/doxygen/user.cfg.in: Revert accidental change.
3183 * docs/html/faq/index.html: Reindent a block of links.
3184 (4.4): New note on using dlsym.
3185 * docs/html/faq/index.txt: Regenerated.
3187 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
3189 * testsuite_flags.in (cxxflags): Also pass @EXTRA_CXX_FLAGS@.
3191 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
3193 * config/linker-map.gnu (__malloc_alloc_template): Add.
3194 (__default_alloc_template): Same.
3195 * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
3197 (__default_alloc_template): Same.
3199 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
3201 * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
3203 2002-04-16 Benjamin Kosnik <bkoz@redhat.com>
3205 * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
3206 * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
3207 (__malloc_alloc_template): Conditionalize.
3209 * include/bits/istream.tcc: Remove sputbackc calls.
3211 * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
3213 2002-04-16 Paolo Carlini <pcarlini@unitus.it>
3215 * testsuite/24_iterators/rel_ops.cc: New test.
3217 2002-04-16 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3219 * include/bits/type_traits.h (__normal_iterator): Declare in
3220 __gnu_cxx. Adjust use at global namespace.
3221 * include/bits/stl_iterator.h (__normal_iterator): Move definition
3222 into __gnu_cxx::. Add more operator overloads. Tidy existing ones.
3223 * include/bits/basic_string.h (basic_string): Adjust use of
3225 * include/bits/stl_vector.h (_Alloc>): Likewise.
3226 * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
3227 * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
3229 2002-04-15 Benjamin Kosnik <bkoz@redhat.com>
3233 * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
3235 (__basic_file::close): Call fflush. Correct return if fclose ok.
3236 (__basic_file::is_open): Make const.
3237 Change __c_file_type to __c_file.
3238 * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
3239 (__basic_file::is_open): Make const.
3240 * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
3241 * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
3242 (filebuf::_M_unbuf): Add.
3243 (filebuf::_M_file): Change to non-pointer.
3244 (filebuf::_M_allocate_pback_buffer): Remove.
3245 * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
3246 (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
3247 Change initialization list for _M_file change.
3248 (filebuf::_M_allocate_pback_buffer): Remove.
3249 Change _M_file usage to reflect non-pointer data member.
3251 * config/locale/generic/c_locale.cc
3252 (locale::facet::_S_create_c_locale): Add parameter.
3253 * config/locale/generic/collate_members.cc: Change
3254 _M_compare_helper to _M_compare.
3255 Change _M_transform_helper to _M_transform.
3256 * config/locale/generic/monetary_members.cc: Changeup data types.
3258 * config/locale/generic/numeric_members.cc: Add dtors.
3259 * config/locale/generic/time_members.cc: Add dtors.
3260 * config/locale/gnu/c_locale.cc: Add parameter.
3261 * config/locale/gnu/collate_members.cc:Change
3262 _M_compare_helper to _M_compare.
3263 Change _M_transform_helper to _M_transform.
3264 * config/locale/gnu/ctype_members.cc: Better error checking.
3265 * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
3266 * config/locale/gnu/messages_members.cc: Tweak comment.
3267 * config/locale/gnu/monetary_members.cc: Change data types.
3269 * config/locale/gnu/numeric_members.cc: Add dtors, better error
3271 * config/locale/gnu/time_members.cc: Same.
3272 * config/locale/ieee_1003.1-2001/c_locale.cc
3273 (locale::facet::_S_create_c_locale): Add parameter.
3274 * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
3275 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
3278 * include/bits/locale_facets.h (moneypunct): Use string literals.
3281 (__timepunct): Same.
3282 (locale::_Impl::_M_facets): Change from vector to array.
3283 (locale::_Impl::_M_names): Change from array of strings to array
3285 (locale::facet::_S_create_c_locale): Add parameter.
3286 (locale::locale::_S_num_facets): Move to...
3287 (locale::_Impl::_M_facets_size): Here.
3288 * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
3290 * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
3291 (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
3292 (locale::_Impl::_Impl(string, size_t)): Change to
3293 (locale::_Impl::_Impl(const char*, size_t)): This.
3295 * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
3296 * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
3297 (streambuf::_S_pback_size): This.
3299 * src/globals.cc: Add pre-allocations for "C" facets.
3300 * src/locale-inst.cc: Remove vector instantiations.
3301 * src/locale.cc: Remove vector include. Fixups for _M_names,
3303 * src/localename.cc: Same.
3305 * include/bits/stl_vector.h: Fix odd formatting.
3307 * include/bits/basic_string.tcc: Tweak comment.
3309 * libsupc++/new: Make sure parameters are uglified.
3310 * libsupc++/typeinfo: Same.
3312 * testsuite/22_locale/num_get_members_char.cc: Fixup.
3313 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
3314 * testsuite/27_io/filebuf_members.cc: Same.
3316 2002-04-12 Steve Ellcey <sje@cup.hp.com>
3318 * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
3319 (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
3320 does not define strtoll or strtoull, but does define strtol
3321 and strtoul which are the same since in 64 bit mode
3322 sizeof(long) == sizeof(long long).
3324 2002-04-12 Phil Edwards <pme@gcc.gnu.org>
3326 * include/std/std_bitset.h: Doxygenate std::bitset<>. Clean up
3327 trailing spaces, indentation, and macro names. Make exception
3328 messages more informative.
3330 2002-04-11 Richard Henderson <rth@redhat.com>
3332 * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
3333 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
3334 (basic_ostream<>::operator<<(long long)): Same.
3336 2002-04-11 Richard Henderson <rth@redhat.com>
3338 * config/linker-map.gnu: Add __gxx_personality_sj0.
3340 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
3343 * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
3345 Remove forward declaration of vector.
3347 * include/bits/locale_facets.tcc: Remove vector include.
3348 (use_locale): Adjust.
3349 (has_locale): Adjust.
3350 * src/locale.cc: Adjust.
3351 * src/localename.cc: Same.
3353 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
3354 Richard Henderson <rth@redhat.com>
3356 * include/bits/sstream.tcc: Clean up bit ops.
3357 * include/bits/fstream.tcc: Same.
3359 2002-04-09 Jakub Jelinek <jakub@redhat.com>
3361 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
3362 (__num_base::_S_scale_oct): Remove.
3363 * src/locale.cc (__num_base::_S_scale_hex): Remove.
3364 (__num_base::_S_scale_oct): Remove.
3366 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
3369 * testsuite/23_containers/bitset_members.cc: New test.
3370 * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
3371 (_S_bit_count): Here.
3372 (_First_one::_S_first_one): Move...
3373 (_S_first_one): Here.
3375 * src/bitset.cc: Adjust.
3376 * config/linker-map.gnu: Export.
3378 2002-04-08 Benjamin Kosnik <bkoz@redhat.com>
3381 * include/bits/fstream.tcc (filebuf::seekpos): Fix.
3382 * include/std/std_fstream.h: Clean.
3383 * include/bits/ostream.tcc: Remove extraneous variables.
3384 * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
3385 open modes and which modes.
3386 (stringbuf::seekpos): Same.
3387 * testsuite/27_io/stringbuf_virtuals.cc: New tests.
3389 2002-04-05 Jonathan Wakely <jw@kayari.org>
3391 * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
3392 random_shuffle, partition, stable_partition, sort, stable_sort,
3393 partial_sort, partial_sort_copy, nth_element): Doxygenate.
3395 2002-04-05 David S. Miller <davem@redhat.com>
3397 * config/os/gnu-linux/bits/os_defines.h
3398 (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
3400 2002-04-04 Benjamin Kosnik <bkoz@redhat.com>
3403 via gawrilow@math.tu-berlin.de
3404 * acinclude.m4 (version_specific_libs): Fix combo usage with
3405 --with-gxx-include-dir.
3406 * aclocal.m4: Regenerate.
3409 2002-04-03 Benjamin Kosnik <bkoz@redhat.com>
3411 As per DR 184, libstdc++/3139
3412 * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
3413 (numeric_limits<bool>::is_iec559): False.
3414 (numeric_limits<bool>::is_modulo): False.
3416 * testsuite/27_io/ios_init.cc: Add instantiations.
3418 2002-04-02 Benjamin Kosnik <bkoz@redhat.com>
3421 * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
3422 * testsuite/27_io/ios_init.cc (tests04): Add test.
3425 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
3426 (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
3427 * include/bits/basic_ios.tcc: Same. Remove outdated comments.
3428 * include/bits/istream.tcc: Use _M_fctype, make consistent with
3430 * testsuite/27_io/ios_init.cc (tests03): Add test.
3432 2002-04-02 Phil Edwards <pme@gcc.gnu.org>
3434 * include/Makefile.am (install-data-local): Use mkinstalldirs.
3435 * include/Makefile.in: Regenerate.
3437 2002-04-02 Paolo Carlini <pcarlini@unitus.it>
3438 Nathan Myers <ncm@cantrip.org>
3439 Philip Martin <philip@codematters.co.uk>
3441 * include/bits/basic_string.h
3442 (replace(i1, i2, _CharT* k1, _CharT* k2),
3443 replace(i2, i2, const _CharT* k1, const _CharT* k2),
3444 replace(i1, i2, iterator k1, iterator k2,
3445 replace(i1, i2, const_iterator k1, const_iterator k2):
3446 New specializations to optimize for the common cases of
3447 pointers and iterators.
3448 (replace(pos, n1, s, n2)): Tweak.
3449 * include/bits/basic_string.tcc: Tweak comments.
3450 * testsuite/21_strings/replace.cc (test04): New tests.
3452 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
3455 * acinclude: More extensive checks for msgfmt, --enable-nls.
3456 * aclocal.m4: Regenerate.
3457 * configure: Regenerate.
3459 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
3461 * libsupc++/exception (__verbose_terminate_handler): Point to docs.
3462 * docs/doxygen/doxygroups.cc: Doxygen hooks for abi::__cxa_demangle.
3463 * docs/html/18_support/howto.html: Document the demangler.
3464 * docs/html/17_intro/howto.html: And link to it.
3466 * docs/doxygen/mainpage.html: Describe user-vs-maintainer docs.
3467 * docs/doxygen/run_doxygen: Print user-vs-maintainer.
3469 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
3471 * config/linker-map.gnu: Export __verbose_terminate_handler.
3472 * libsupc++/Makefile.am (sources): Add cxa_demangle.c, dyn-string.c.
3473 Make new LTCOMPILE variable, use it in new special build rules.
3474 * libsupc++/Makefile.in: Rebuild.
3475 * src/vterminate.cc (__verbose_terminate_handler): Enable use of
3476 runtime __cxa_demangle.
3478 * docs/html/install.html: Update prereqs and instructions.
3479 * docs/html/19_diagnostics/howto.html: Bring naming for
3480 verbose_terminate_handler into line with reality.
3482 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
3485 * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
3486 (basic_ios::_M_streambuf_state): Move.
3487 * include/bits/ios_base (ios_base): To here.
3488 * include/bits/ios_base.h (ios_base::_S_local_words): To
3490 (ios_base::_M_word_array): To _M_local_word.
3491 (ios_base::_M_words_limit): To _M_word_size.
3492 (ios_base::_M_words): To _M_word.
3494 * include/bits/basic_ios.tcc: Adjust.
3495 * src/ios.cc (ios_base::_M_grow_words): Tweak.
3496 * testsuite/27_io/ios_base_storage.cc: Add tests.
3499 Kenny Simpson <theonetruekenny@yahoo.com>
3500 * include/bits/ios_base.h: Fix.
3502 Richard Henderson <rth@redhat.com>
3503 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
3506 * include/bits/basic_string.h: Tweak formatting.
3508 2002-04-01 Paolo Carlini <pcarlini@unitus.it>
3510 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
3511 (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
3512 By definition, sizeof(char) == 1.
3513 * include/bits/locale_facets.tcc (money_get::do_get,
3514 money_put::do_put): Ditto.
3515 * testsuite/21_strings/inserters_extractors.cc
3518 2002-03-30 Richard Henderson <rth@redhat.com>
3521 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
3522 data out of the exception struct before calling unexpectedHandler.
3524 2002-03-28 Roger Sayle <roger@eyesopen.com>
3526 * include/c_std/std_cmath.h: To prevent problems overloading
3527 g++ builtins, use the double variants from the global namespace
3528 before defining float and long double variants in std::.
3530 2002-03-28 Loren J. Rittle <ljrittle@acm.org>
3532 * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
3534 2002-03-28 Paolo Carlini <pcarlini@unitus.it>
3536 * testsuite/24_iterators/istream_iterator.cc
3537 (test02): New tests.
3539 2002-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3540 Paolo Carlini <pcarlini@unitus.it>
3542 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
3543 (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
3544 fix i_lit_base e_lit_base arrays, making them independent
3545 from the endianness of the platform; tweak UCS4 to UCS-4BE.
3547 2002-03-27 Benjamin Kosnik <bkoz@redhat.com>
3549 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
3550 allocate at least a byte.
3552 * testsuite/18_support/numeric_limits.cc (test_extrema): Make
3554 * testsuite/27_io/streambuf.cc (test07): Fix.
3557 2002-03-27 Phil Edwards <pme@gcc.gnu.org>
3559 * docs/doxygen/Intro.3: Date tweak.
3560 * docs/doxygen/TODO: Update.
3561 * docs/doxygen/doxygroups.cc: Point to tables.html.
3562 * docs/doxygen/mainpage.html: Date tweak.
3563 * docs/doxygen/run_doxygen: Version tweak. Copy tables.html over.
3564 * docs/doxygen/tables.html: Fill in the blanks.
3566 * docs/doxygen/user.cfg.in (ALIASES): Remove maint and endmaint.
3567 * include/bits/stl_algo.h: Likewise; use expanded form.
3568 * include/bits/stl_alloc.h: Likewise.
3569 * include/bits/stl_construct.h: Likewise.
3570 * include/bits/stl_deque.h: Likewise.
3571 * include/bits/stl_iterator_base_types.h: Likewise.
3572 * include/bits/stl_list.h: Likewise.
3573 * include/bits/stl_relops.h: Likewise.
3574 * include/bits/stl_tempbuf.h: Likewise.
3575 * include/bits/stl_vector.h: Likewise.
3576 * include/std/std_memory.h: Likewise.
3578 * include/bits/stl_deque.h: Point into tables.html and add @ingroup.
3579 * include/bits/stl_list.h: Likewise.
3580 * include/bits/stl_vector.h: Likewise.
3582 2002-03-26 Benjamin Kosnik <bkoz@redhat.com>
3584 * include/c/: Guard with _CPP_.
3585 * include/c_std/: Same.
3586 * include/Makefile.am: Fixup install, link routines for null
3587 c_base_headers_extra scenarios.
3588 * include/Makefile.in: Regerate.
3590 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
3591 Richard Henderson <rth@redhat.com>
3593 * testsuite/22_locale/codecvt_members_unicode_char.cc
3594 (test01, test02): make sure that the i_lit_base array
3595 is sufficiently aligned.
3597 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
3599 * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
3602 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
3604 * testsuite/22_locale/collate_byname.cc
3605 (test01): compare the result of collate::compare with
3606 that of collate::transform + string::compare, not with
3607 that of collate::transform + collate::compare; values
3608 returned by collate::compare are normalized, therefore
3611 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
3612 Jakub Jelinek <jakub@redhat.com>
3614 * config/locale/gnu/messages_members.h: Correct conditional.
3615 * config/locale/gnu/messages_members.cc: Same.
3616 * config/locale/gnu/time_members.cc: Same.
3618 2002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3619 Paolo Carlini <pcarlini@unitus.it>
3621 * testsuite/22_locale/codecvt_members_unicode_char.cc
3622 (test01, test02): Fix i_lit_base arrays, making them
3623 independent from the endianness of the platform.
3625 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
3627 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
3628 signbit and __signbit directly.
3629 * aclocal.m4: Regenerate.
3630 * configure: Regenerate.
3631 * config.h.in: Regenerate.
3632 * libmath/Makefile.am: Simplify.
3633 * libmath/Makefile.in: Regenerate.
3634 * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
3636 * include/Makefile.am: Clean up handling of extra "C" header files.
3637 Add hooks for "C" compatibility headers.
3638 * include/Makefile.in: Regenerate.
3640 * include/c/*: Formatting tweaks, cleanups.
3641 * include/c_std/*: Same.
3643 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
3645 * config/locale/gnu/messages_members.h: Add __uselocale bits.
3646 * config/locale/gnu/messages_members.cc: Same.
3647 * config/locale/gnu/time_members.cc: Same.
3649 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
3651 * src/vterminate.cc: Format, -fno-exceptions cleanup.
3653 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3655 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
3656 (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
3657 * aclocal.m4: Regenerate.
3658 * configure: Likewise.
3660 2002-03-19 Paolo Carlini <pcarlini@unitus.it>
3661 Ulrich Drepper <drepper@redhat.com>
3663 * src/locale-inst.cc (__convert_from_v): Add an additional
3664 __size parameter in the declarations.
3665 * include/bits/locale_facets.tcc
3666 (__convert_from_v): When available (that is,
3667 _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
3668 (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
3669 being defined or not, call and use __convert_from_v in the
3671 (num_put::_M_convert_int): Same here.
3672 (money_put::do_put(long double)): Same here.
3674 2002-03-19 Phil Edwards <pme@gcc.gnu.org>
3676 * docs/html/faq/index.html (#3.6): Rewrap and close <a href> tags.
3677 * docs/html/faq/index.txt: Regenerate.
3679 2002-03-19 Steve Ellcey <sje@cup.hp.com>
3681 * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
3682 GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
3683 --enable-libunwind-exceptions is set.
3684 * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
3685 macro to check for libunwind.
3686 * configure: Regenerate.
3687 * src/Makefile.am (libstdc___la_LDFLAGS): Add
3688 LIBUNWIND_FLAG to libstdc link line.
3689 * src/Makefile.in: Regenerate.
3691 2002-03-19 Benjamin Kosnik <bkoz@redhat.com>
3693 * docs/html/faq/index.html: Add OS X workaround.
3694 * docs/html/17_intro/TODO: Update.
3696 2002-03-18 Paolo Carlini <pcarlini@unitus.it>
3698 * include/bits/locale_facets.tcc
3699 (money_put::do_put(long double)): Fix dimensioning of
3700 temporary buffers to avoid risk of overruns.
3701 (money_put::do_put(string)): Same for the buffer used to
3702 add the grouping chars.
3703 * testsuite/22_locale/money_put_members_char.cc: Add test06.
3704 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
3706 * include/bits/locale_facets.tcc
3707 (collate::do_transform): Simplify.
3709 2002-03-18 Phil Edwards <pme@gcc.gnu.org>
3711 * acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform.
3712 * configure.in: Add comments pointing the way for autoconf 2.5x.
3713 * aclocal.m4, config.h.in, configure: Regenerate.
3715 2002-03-18 Philipp Thomas <pthomas@suse.de>
3717 * include/backward/hash_map.h: hash, hashtable, hash_map and
3718 hash_multimap are in namespace __gnu_cxx.
3719 include/backward/hash_set.h: hash, hashtable, hash_set and
3720 hash_multiset are in namespace __gnu_cxx.
3721 include/backward/hashtable.h: hash and hashtable are in
3722 namespace __gnu_cxx.
3723 include/backward/rope.h: char_producer, sequence_buffer,
3724 rope, crope and wrope are in namespace __gnu_cxx.
3725 include/backward/slist.h: slist is in namespace __gnu_cxx.
3726 * testsuite/backward/header_hash_map_h.cc
3727 testsuite/backward/header_hash_set_h.cc
3728 testsuite/backward/header_hashtable_h.cc
3729 testsuite/backward/header_rope_h.cc
3730 testsuite/backward/header_slist_h.cc
3731 testsuite/backward/header_tempbuf_h.cc: New tests for
3732 checking that we're using the correct namespace.
3734 2002-03-17 Jason Merrill <jason@redhat.com>
3737 * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
3738 (check_exception_spec): Call it. Take the thrown pointer.
3739 (__cxa_call_unexpected): Pass it.
3740 (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr.
3742 2002-03-15 Anthony Green <green@redhat.com>
3744 * configure.in: Remove useless is_mingw32.
3745 * configure: Rebuilt.
3747 2002-03-15 Paolo Carlini <pcarlini@unitus.it>
3749 * testsuite/22_locale/collate_members_char.cc
3750 (test01): compare the result of collate::compare with
3751 that of collate::transform + string::compare, not with
3752 that of collate::transform + collate::compare.
3753 (test01): values returned by collate::compare are
3754 normalized, therefore test against +-1.
3755 * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
3757 2002-03-12 Loren Rittle <ljrittle@acm.org>
3759 reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3760 * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
3762 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
3763 Per Liboriussen <liborius@stofanet.dk>
3765 * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
3767 * config/os/gnu-linux/bits/ctype_inline.h: Same.
3769 * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
3771 * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
3772 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3774 * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
3775 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3777 * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
3778 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3780 * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
3782 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
3784 * include/bits/basic_string.tcc (string::_S_construct(_InIter,
3785 _InIter, const _Alloc&, forward_iterator_tag): Check for null.
3786 (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
3787 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
3788 that memory limits are in place.
3789 (test03): Add tests.
3791 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
3793 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
3794 * aclocal.m4: Regenerate.
3795 * config.h.in: Regenerate.
3796 * configure: Regenerate.
3797 * include/c_std/std_cwctype.h: Guard.
3799 2002-03-11 Chris Demetriou <cgd@broadcom.com>
3801 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
3802 whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
3803 * aclocal.m4: Regenerate.
3804 * configure: Regenerate.
3806 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
3808 * include/bits/stl_bvector.h: Fix warning.
3810 2002-03-11 Richard Henderson <rth@redhat.com>
3812 * include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
3814 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
3816 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
3817 New function. Build the list of tests to run in testsuite_files.
3818 * testsuite/libstdc++-v3.dg/dg.exp: Use it.
3820 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
3822 * testsuite/21_strings/capacity.cc: Only explicitly instantiate on
3823 platforms with no weak support.
3824 * testsuite/27_io/ios_init.cc: Likewise.
3826 2002-03-10 Paolo Carlini <pcarlini@unitus.it>
3828 * include/bits/locale_facets.tcc (time_put::do_put):
3829 Consider sizeof(char_type) in allocating the buffer.
3831 * include/bits/locale_facets.tcc (collate::do_tranform):
3832 Remove redundant variable.
3834 2002-03-10 Ulrich Drepper <drepper@redhat.com>
3835 Paolo Carlini <pcarlini@unitus.it>
3837 * config/locale/generic/collate_members.cc
3838 (collate<char,wchar_t>::_M_compare_helper): normalize
3839 values returned by strcoll and wcscoll.
3840 * config/locale/gnu/collate_members.cc
3841 (collate<char,wchar_t>::_M_compare_helper): ditto
3842 for __strcoll_l and __wcscoll_l.
3844 2002-03-10 Anthony Green <green@redhat.com>
3846 * configure.in: Support cross builds to mingw32 target.
3847 * configure: Rebuilt.
3849 2002-03-09 Paolo Carlini <pcarlini@unitus.it>
3851 * include/bits/locale_facets.tcc (collate::do_transform):
3852 Rewrite to fix problems with long transformed strings.
3854 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
3856 * c_locale_generic.cc: Move to...
3857 * generic/c_locale.cc
3858 * c_locale_generic.h: Move to...
3859 * generic/c_locale.h
3860 * codecvt_specializations_generic.h: Move to...
3861 * generic/codecvt_specializations.h
3862 * collate_members_generic.cc: Move to...
3863 * generic/collate_members.cc
3864 * ctype_members_generic.cc: Move to...
3865 * generic/ctype_members.cc
3866 * messages_members_generic.cc: Move to...
3867 * generic/messages_members.cc
3868 * messages_members_generic.h: Move to...
3869 * generic/messages_members.h
3870 * moneypunct_members_generic.cc: Move to...
3871 * generic/monetary_members.cc
3872 * numpunct_members_generic.cc: Move to...
3873 * generic/numeric_members.cc
3874 * time_members_generic.cc: Move to...
3875 * generic/time_members.cc
3876 * c_locale_gnu.cc: Move to...
3878 * c_locale_gnu.h: Move to...
3880 * collate_members_gnu.cc: Move to...
3881 * gnu/collate_members.cc
3882 * ctype_members_gnu.cc: Move to...
3883 * gnu/ctype_members.cc
3884 * messages_members_gnu.cc: Move to...
3885 * gnu/messages_members.cc
3886 * messages_members_gnu.h: Move to...
3887 * gnu/messages_members.h
3888 * moneypunct_members_gnu.cc: Move to...
3889 * gnu/monetary_members.cc
3890 * numpunct_members_gnu.cc: Move to...
3891 * gnu/numeric_members.cc
3892 * time_members_gnu.cc: Move to...
3893 * gnu/time_members.cc
3894 * c_locale_ieee_1003.1-200x.cc: Move to...
3895 * ieee_1003.1-2001/c_locale.cc
3896 * c_locale_ieee_1003.1-200x.h: Move to...
3897 * ieee_1003.1-2001/c_locale.h
3898 * codecvt_specializations_ieee_1003.1-200x.h: Move to...
3899 * ieee_1003.1-2001/codecvt_specializations.h
3900 * messages_members_ieee_1003.1-200x.cc: Move to...
3901 * ieee_1003.1-2001/messages_members.cc
3902 * messages_members_ieee_1003.1-200x.h: Move to...
3903 * ieee_1003.1-2001/messages_members.h
3905 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
3906 * aclocal.m4: Regenerate.
3907 * configure: Regenerate.
3908 * src/Makefile.am (sources): Change to monetary and numeric.
3909 * src/Makefile.in: Regenerate.
3910 * docs/html/configopts.html: Update to ieee_1003.1-2001.
3912 2002-03-08 scott snyder <snyder@fnal.gov>
3915 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
3916 Allow one more digit of precision.
3917 * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
3918 write a double and read back in the same value.
3920 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
3922 * include/std/std_limits.h: Move static const data members out of
3923 generic template, into base class __numeric_limits_base.
3924 * src/limits.cc: Add definitions.
3925 * config/linker-map.gnu: Add __numeric_limits_base.
3926 * testsuite/18_support/numeric_limits.cc: Declare test in scope.
3928 2002-03-07 Benjamin Kosnik <bkoz@redhat.com>
3930 * include/bits/stl_alloc.h: Add extern implicit allocator
3932 * include/bits/basic_string.tcc: Tweak.
3933 * include/bits/locale_facets.tcc: Remove default args. Add
3934 has_facet, use_facet extern instantiations.
3935 * src/stl-inst.cc: Add explicit instantiation.
3936 * src/locale-inst.cc: Clean. Remove locale member template
3939 * testsuite/22_locale/operators.cc (test02): Enable.
3941 2002-03-06 Benjamin Kosnik <bkoz@redhat.com>
3942 Stephen M. Webb <stephen.webb@bregmasoft.com>
3944 * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
3945 (_S_rb_tree_black): Make enum.
3947 * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
3948 * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
3949 (__stl_threshold): _M_threshold, enum.
3950 * src/stl-inst.cc: Same.
3951 * config/linker-map.gnu: Remove.
3953 * testsuite/23_containers/vector_bool.cc: New.
3955 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
3957 * docs/doxygen/user.cfg.in: Also document deprecated entries.
3958 * docs/html/Makefile: Example rule to rebuild porting-howto.html.
3959 * docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when
3960 referring to the collection as a whole. New section on which macros
3961 can be redefined by the user.
3962 * docs/html/19_diagnostics/howto.html: Update note for concepts.
3963 * docs/html/20_util/howto.html: Update link to SGI.
3964 * docs/html/faq/index.html: Update snapshot versions. New entry
3965 on why g++ (but not gcc) must currently predefine certain macros.
3966 * docs/html/faq/index.txt: Regenerated.
3968 * include/bits/basic_string.h (basic_string::_S_construct): Fix
3969 names in declaration.
3970 (basic_string::compare): These are no longer optional.
3971 * include/bits/ostream.tcc: Tweak closing brace placement.
3972 * include/bits/stl_algo.h: Lots of initial doxygen comment hooks.
3973 * include/std/std_sstream.h: Fix typo in comment.
3974 * include/bits/locale_facets.tcc: Remove unneeded header inclusion.
3975 * src/locale.cc: Likewise.
3977 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
3980 * include/bits/stl_vector.h (vector::push_back()): Guard with
3981 _GLIBCPP_DEPRECATED.
3983 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
3985 * include/bits/c++config: Fix misplaced leading blanks on first line.
3987 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
3989 * docs/html/17_intro/RELEASE-NOTES: Fix usage.
3990 * README (libmath): Make clear.
3992 2002-03-05 Jakub Jelinek <jakub@redhat.com>
3994 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
3995 script globbing in ld.
3996 * aclocal.m4: Rebuilt.
3997 * configure: Rebuilt.
3999 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
4001 * docs/html/17_intro/RELEASE-NOTES: Update.
4002 * README: Format subdirectories.
4004 2002-03-05 Paolo Carlini <pcarlini@unitus.it>
4007 * include/bits/locale_facets.tcc
4008 (num_get::_M_extract_float): Fix the parsing of __dec, since
4009 the standard prescribes that if no grouping characters are
4010 seen, no grouping check is applied.
4011 * testsuite/22_locale/num_get_members_char.cc: Add test05
4012 distilled from the PR.
4013 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
4015 2002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
4017 * docs/html/17_intro/porting-howto.xml: Refer to
4018 http://www.oasis-open.org for docbookx.dtd.
4019 * docs/html/17_intro/porting-howto.html: Regenerated.
4021 2002-03-03 Phil Edwards <pme@gcc.gnu.org>
4024 * include/std/std_sstream.h: Remove trailing spaces.
4025 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
4026 * testsuite/27_io/stringbuf.cc (test05, test06): New tests.
4028 2002-03-02 Paolo Carlini <pcarlini@unitus.it>
4030 * testsuite/22_locale/num_get_members_char.cc (test04):
4031 Use a named locale expecting grouping (de_DE).
4032 * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
4034 * testsuite/27_io/ios_manip_basefield.cc (test01):
4035 Extend coverage, uniform treatment of hexs and octs.
4037 2002-02-28 Richard Henderson <rth@redhat.com>
4039 * config/linker-map.gnu: Export operator new with unsigned long,
4040 and with std::nothrow_t. Likewise operator delete.
4042 2002-02-28 Paolo Carlini <pcarlini@unitus.it>
4044 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
4045 Admit grouping for octals and hexadecimals too.
4046 * testsuite/22_locale/num_get_members_char.cc: Add test04.
4047 (test01): Tweak "." -> "," in void* test.
4048 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
4050 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
4051 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
4053 2002-02-27 Paolo Carlini <pcarlini@unitus.it>
4055 * testsuite/27_io/ios_manip_basefield.cc (test01):
4056 Fix for 64 bit machines.
4058 2002-02-26 Benjamin Kosnik <bkoz@redhat.com>
4061 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
4063 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
4064 (basic_ios::_M_fill_init): New.
4065 (basic_ios::fill()): Delay dealing with _M_fill.
4067 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
4068 (ios_base::_M_call_callbacks): Adjust.
4069 * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
4071 2002-02-26 Loren Rittle <ljrittle@acm.org>
4073 * include/Makefile.am (thread_target_headers): Unconditionally
4074 stage and install gthr-posix.h.
4075 (${target_builddir}/gthr-posix.h): New rule cloned off
4076 ${target_builddir}/gthr-default.h.
4077 (${target_builddir}/gthr-default.h): Support chained inclusion
4078 of gthr support headers.
4079 * include/Makefile.in: Rebuilt.
4081 2002-02-26 Paolo Carlini <pcarlini@unitus.it>
4083 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
4084 Group all the integral types, not only decs.
4085 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
4086 tests, add a few more.
4088 2002-02-25 Benjamin Kosnik <bkoz@redhat.com>
4090 * src/ios.cc (ios_base::~ios_base): Tweak.
4091 (ios_base::_M_call_callbacks): Deal with null __p.
4092 (ios_base::ios_base): Set _M_callbacks.
4093 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
4094 * testsuite/27_io/ios_init.cc (test02): Fix.
4096 * mkcheck.in (static_fail): Failed links go to output file.
4098 2002-02-25 Phil Edwards <pme@gcc.gnu.org>
4100 * docs/html/faq/index.html: Update.
4101 * docs/html/faq/index.txt: Regenerate.
4103 2002-02-22 Phil Edwards <pme@gcc.gnu.org>
4105 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
4106 * aclocal.m4: Regenerate.
4107 * docs/html/configopts.html: Document --enable-symvers.
4108 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag.
4110 2002-02-22 Philipp Thomas <pthomas@suse.de>
4112 * include/backward/tempbuf.h: get_temporary_buffer and
4113 return_temporary_buffer are in namespace std, not in __gnu_cxx.
4115 2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
4117 * configure.in (target_alias): Default to yes.
4118 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
4119 libgcc to default case.
4121 2002-02-20 Phil Edwards <pme@gcc.gnu.org>
4123 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
4124 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
4125 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
4126 * aclocal.m4: Regenerate.
4127 * configure: Regenerate.
4128 * config/linker-map.dummy: New file. Contains nothing useful.
4130 2002-02-20 Benjamin Kosnik <bkoz@redhat.com>
4132 * testsuite/22_locale/money_put_members_char.cc: Fix.
4133 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
4135 * testsuite/27_io/standard_manipulators.cc: New file.
4137 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
4138 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
4140 2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
4142 * config/os/mingw32/bits/ctype_noninline.h
4143 (ctype<char>::ctype): Remove default args from parm list.
4144 * config/os/djgpp/bits/ctype_noninline.h: Same.
4146 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
4148 * include/std/std_iomanip.h: Inline, tweaks.
4149 * config/linker-map.gnu: Remove hacks.
4151 * testsuite/21_strings/capacity.cc: Add explicit instantiations.
4152 * testsuite/27_io/ios_init.cc: Same.
4153 * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
4154 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
4156 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
4158 * config/linker-map.gnu: Export global vtable, typeinfo, guard
4159 variable, and thunk info as per CXXABI docs.
4161 2002-02-19 Loren Rittle <ljrittle@acm.org>
4163 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
4164 * include/Makefile.in: Rebuilt.
4166 2002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4168 * testsuite/22_locale/collate_byname.cc (test01): Replace size4
4169 with size3 for the string collations of str5.
4171 2002-02-18 Paolo Carlini <pcarlini@unitus.it>
4174 * include/bits/locale_facets.tcc (money_put::do_put):
4175 For the space field use __fill instead of ' ', uniformly.
4176 * testsuite/22_locale/money_put_members_char.cc:
4177 Add test05 distilled from PR.
4178 (test01-02-03): Trim some '*' to ' '.
4179 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
4181 2002-02-18 Loren Rittle <ljrittle@acm.org>
4184 * include/Makefile.am (thread_builddir): Remove (map all
4185 existing uses to target_builddir).
4186 (thread_headers): Rename to...
4187 (thread_target_headers): ...this.
4188 (stamp-thread): Remove.
4189 (stamp-target): Correctly state the position as built.
4190 Update all dependencies to match the new reality. Remove all
4191 dependency calculations on directories.
4192 * include/Makefile.in: Rebuilt.
4194 2002-02-16 Benjamin Kosnik <bkoz@redhat.com>
4196 * include/bits/locale_facets.tcc: Add pragma GCC system_header.
4197 * include/bits/fstream.tcc: Same.
4198 * include/bits/sstream.tcc: Same.
4199 * include/bits/ostream.tcc: Same.
4200 * include/bits/istream.tcc: Same.
4201 * include/bits/streambuf.tcc: Same.
4202 * include/bits/basic_ios.tcc: Same.
4203 * include/bits/basic_string.tcc: Same.
4205 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
4207 * include/std/std_iosfwd.h: Don't guard typedefs with
4208 _GLIBCPP_USE_WCHAR_T
4209 * include/bits/stringfwd.h: Same.
4211 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
4213 * src/locale.cc (moneypunct_byname): Remove definitions.
4214 * include/std/std_streambuf.h (streambuf::operator=): Return.
4216 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
4219 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
4220 explicit instantiation.
4221 (string::_Rep::_S_max_size): Same.
4222 * include/bits/basic_string.tcc: Add extern explicit
4223 instantiations for string, wstring.
4224 * include/bits/basic_ios.tcc: Add extern explicit instantiations
4226 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
4227 * include/bits/istream.tcc: Same, for istream, wistream.
4228 * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
4230 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
4231 istringstream, wistringstream, ostringstream, wostringstream,
4232 stringstream, wstringstream.
4233 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
4234 wifstream, ofstream, wofstream, fstream, wfstream.
4235 * src/misc-inst.cc: Correct comments.
4236 Add iomanip instantiations for wide streams.
4237 * include/std/std_iomanip.h: Same.
4238 * include/bits/locale_facets.tcc: Same.
4240 * include/std/std_streambuf.h: Correct
4241 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
4242 * include/std/std_sstream.h: Same.
4243 * include/std/std_ostream.h: Same.
4244 * include/std/std_istream.h: Same.
4245 * include/std/std_fstream.h: Same.
4247 * include/std/std_streambuf.h: Add definitions for private copy
4248 ctor and assignment operator.
4249 * include/std/std_istream.h: Remove declared but undefined copy
4250 ctor and assignment operator. This is taken care of in ios_base,
4251 so adding it in the derived class as well is superfluous.
4252 * include/std/std_ostream.h: Same.
4254 * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
4255 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
4257 2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
4259 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
4260 Add typeinfo bits. Smooth.
4261 * aclocal.m4: Regenerate.
4263 * src/Makefile.in: Same.
4265 2001-02-14 Joel Sherrill <joel@OARcorp.com>
4267 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
4268 which do not have a CAS instruction.
4270 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
4272 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
4273 * configure.in: Call it.
4274 * config/linker-map.gnu: New file, initial incomplete revision.
4275 * src/Makefile.am: Optionally pass version script to the linker.
4276 * aclocal.m4: Regenerate.
4277 * configure: Regenerate.
4278 * src/Makefile.in: Regenerate.
4280 2002-02-13 Benjamin Kosnik <bkoz@redhat.com>
4282 * src/localename.cc: Remove stdexcept include.
4283 * src/locale-inst.cc: Same.
4284 * src/locale.cc: Same.
4285 * src/functexcept.cc: Remove string includes.
4286 * include/std/std_bitset.h: Remove stdexcept include.
4287 * testsuite/23_containers/bitset_members.cc: Add stdexcept.
4288 * testsuite/23_containers/bitset_ctor.cc: Same.
4290 2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
4292 * include/bits/stl_algo (__stl_threshold): Declare external.
4293 (__stl_chunk_size): Same.
4294 * include/bits/stl_bvector.h (__WORD_BIT): Same.
4295 * include/bits/stl_tree.h (_S_rb_tree_red): Same.
4296 (_S_rb_tree_black): Same.
4297 * src/stl-inst.cc (__stl_threshold): Define.
4298 (__stl_chunk_size): Same.
4300 (_S_rb_tree_red): Same.
4301 (_S_rb_tree_black): Same.
4303 * config/io/basic_file_libio.h (__basic_file): Add declarations.
4304 * include/bits/basic_file.h: Remove.
4305 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
4306 Declare generic types, specialization.
4307 * config/io/basic_file_stdio.cc: Definitions.
4308 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
4309 Declare generic types.
4310 * include/Makefile.am (bits_headers): Remove basic_file.h.
4311 (extra_target_headers): Change basic_file_model.h to basic_file.h.
4312 (stamp-target): Same.
4314 * include/bits/stl_alloc.h: Tweaks.
4315 * include/bits/localefwd.h: Same.
4317 2002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
4319 * include/bits/locale_facets.tcc (collate::do_hash): Fix.
4320 * testsuite/22_locale/collate_members_char.cc (test03): New test.
4321 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
4323 2002-02-10 Phil Edwards <pme@gcc.gnu.org>
4325 * include/bits/stl_algo.h (transform (both signatures), generate_n):
4326 Use __typeof__ in concept checks.
4328 2002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
4330 * include/bits/stl_algo.h (__median, for_each, find, find_if,
4331 adjacent_find, count, count_if, search, search_n, swap_ranges,
4332 transform, replace, replace_if, replace_copy, replace_copy_if,
4333 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
4334 unique, unique_copy, reverse, reverse_copy): Doxygenate.
4336 2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
4338 * include/bits/locale_facets.h
4339 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
4340 (__timepunct<_CharT>::_M_initialize_timepunct): Same.
4341 (__timepunct<_CharT>::_M_put_helper): Same.
4342 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
4344 * include/bits/fstream.tcc (filebuf::underflow): Remove
4345 __codecvt_type typedef.
4346 (filebuf::_M_convert_to_external): Same.
4348 2002-02-08 Phil Edwards <pme@gcc.gnu.org>
4350 * docs/doxygen/TODO: Update.
4351 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
4352 * docs/doxygen/mainpage.html: Add TODO list link.
4353 * docs/doxygen/user.cfg.in: Add @doctodo hook.
4354 * docs/doxygen/tables.html: New file, emoty structure only.
4356 * include/bits/stl_iterator.h: Doxygenate just about everything.
4357 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
4358 * include/bits/stl_iterator_base_types.h: Add notes.
4360 2002-02-07 Stephan Buys <sbproxy@icon.co.za>
4362 * include/bits/stl_map.h: Tweak doxygen markup.
4363 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
4364 * include/bits/stl_vector.h: Likewise.
4366 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
4370 * include/std/std_fstream.h (filebuf::__file_type): Change to
4372 (filebuf::_M_convert_to_external): Declare.
4373 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
4374 codecvt bits for wide streams.
4375 (filebuf::_M_really_overflow): Use it.
4376 (filebuf::underflow): Use codecvt.
4377 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
4378 (codecvt<__enc_traits>::do_out): Deal with partial.
4379 (codecvt<__enc_traits>::do_encoding): Return something useful.
4380 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
4382 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
4383 Change expected encoding output.
4385 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
4388 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
4389 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
4391 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
4392 (basic_ios::widen): Same.
4394 2002-02-07 Paolo Carlini <pcarlini@unitus.it>
4396 * testsuite/22_locale/money_get_members_char.cc:
4397 Add comment, tidy up.
4398 (test01): more "en_HK" tests (without showbase).
4399 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
4401 2002-02-06 Loren Rittle <ljrittle@acm.org>
4403 * config/locale/c_locale_generic.cc: Do not trust
4404 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
4407 2002-02-06 Loren Rittle <ljrittle@acm.org>
4409 * acinclude.m4: Add C++ linkage check for strtof.
4410 * aclocal.m4: Rebuilt.
4411 * config.h.in: Rebuilt.
4412 * configure: Rebuilt.
4413 * config/locale/c_locale_generic.cc: Conditionally include
4414 <ieeefp.h>. Improve handling and error checking of float
4415 and long double input for non-C99 configurations.
4417 2002-02-06 Paolo Carlini <pcarlini@unitus.it>
4419 * include/bits/locale_facets.tcc (money_get::do_get(string)):
4420 In case money_base::symbol deal properly with multi-char sign
4421 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
4422 * testsuite/22_locale/money_get_members_char.cc: Add test07.
4423 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
4425 2002-02-05 Paolo Carlini <pcarlini@unitus.it>
4427 * include/bits/locale_facets.tcc (money_get::do_get(string)):
4428 First construct a tentative returned string, then, only if the
4429 parsing succeeds, copy it into the string passed by reference.
4430 * testsuite/22_locale/money_get_members_char.cc: Add test06.
4431 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
4433 2002-02-04 Phil Edwards <pme@gcc.gnu.org>
4435 * docs/doxygen/TODO: Impl-defined behavior now documented...
4436 * docs/html/17_intro/howto.html: ...here.
4437 * docs/doxygen/mainpage.doxy: Remove, rename...
4438 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
4439 * docs/doxygen/style.css: Add small text.
4440 * docs/doxygen/run_doxygen: Adjust for new mainpage.
4441 * docs/doxygen/user.cfg.in: Likewise.
4443 2002-02-04 Stephan Buys <sbproxy@icon.co.za>
4445 * include/bits/stl_map.h: Initial doxygen markup.
4446 * include/std/std_fstream.h: Initial doxygen markup.
4448 2002-02-04 Paolo Carlini <pcarlini@unitus.it>
4451 * include/bits/locale_facets.tcc (money_get::do_get(string)):
4452 Deal correctly with !(__io.flags() & ios_base::showbase)
4453 for case money_base::symbol.
4454 * testsuite/22_locale/money_get_members_char.cc: Add test05.
4455 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
4457 2002-02-02 Paolo Carlini <pcarlini@unitus.it>
4459 * testsuite/22_locale/operators.cc
4460 (gnu_collate::do_compare()): Add return statement to
4461 suppress "no return statement" warning.
4463 2002-02-01 Paolo Carlini <pcarlini@unitus.it>
4465 * testsuite/27_io/ostream_manip.cc: Enable test02.
4467 2002-02-01 Phil Edwards <pme@gcc.gnu.org>
4469 * docs/html/documentation.html: Update for 3.0.96.
4470 * docs/html/faq/index.html: Update for 3.0.96.
4471 * docs/html/faq/index.txt: Regenerated.
4472 * docs/doxygen/TODO: Update notes.
4473 * docs/html/17_intro/howto.html: Initial impl-specific listing.
4475 2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
4477 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
4478 Initialize all data members in copy ctor. Make ctors explicit.
4479 (__enc_traits::__enc_traits()): Default ctor does nothing.
4480 (__enc_traits::_M_init): Guard against multiple iconv_opens.
4481 * include/std/std_sstream.h (basic_stringbuf): Make data members
4483 * include/std/std_fstream.h (basic_filebuf): Same.
4484 * include/std/std_streambuf.h: Tweak.
4485 * include/bits/streambuf.tcc: Same.
4486 * include/bits/sstream.tcc: Same.
4487 * include/bits/fstream.tcc: Same.
4489 2002-01-31 Loren Rittle <ljrittle@acm.org>
4491 * testsuite/22_locale/codecvt_members_char_char.cc: Do not
4492 allow NULL argument to be passed to setenv().
4493 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
4494 * testsuite/22_locale/collate_members_char.cc: Likewise.
4495 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
4496 * testsuite/22_locale/ctype_members_char.cc: Likewise.
4497 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
4498 * testsuite/22_locale/messages_members_char.cc: Likewise.
4499 * testsuite/22_locale/money_get_members_char.cc: Likewise.
4500 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
4501 * testsuite/22_locale/money_put_members_char.cc: Likewise.
4502 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
4503 * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
4504 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
4505 * testsuite/22_locale/num_get_members_char.cc: Likewise.
4506 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
4507 * testsuite/22_locale/num_put_members_char.cc: Likewise.
4508 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
4509 * testsuite/22_locale/numpunct_members_char.cc: Likewise.
4510 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
4511 * testsuite/22_locale/time_get_members_char.cc: Likewise.
4512 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
4513 * testsuite/22_locale/time_put_members_char.cc: Likewise.
4514 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
4516 2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
4518 * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
4520 * ChangeLog-2001: Fix spelling errors...
4521 * docs/html/17_intro/RELEASE-NOTES: Update.
4522 * docs/html/17_intro/TODO: Update.
4523 * README (file): Update.
4525 2002-01-30 Loren Rittle <ljrittle@acm.org>
4527 * config/locale/c_locale_generic.cc: Check errno for ERANGE
4528 instead of non-zero to aid portability.
4530 2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4532 * docs/html/22_locale/messages.html: Fix example code.
4534 2002-01-30 Richard Henderson <rth@redhat.com>
4536 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
4537 out from test03 and templatize.
4540 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
4542 * config/locale/numpunct_members_gnu.cc
4543 (numpunct<char, wchar_t>::_M_initialize_numpunct()):
4544 Fix initialization of _M_grouping for locales which have
4545 _M_thousands_sep == '\0'(L'\0', respectively).
4546 * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
4548 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
4550 * testsuite/27_io/ostream_inserter_arith.cc (test03):
4551 Better fix for 32/64 bit architectures, avoiding the
4552 implicit assumption that CHAR_BIT == 8.
4554 2002-01-28 Phil Edwards <pme@gcc.gnu.org>
4556 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
4557 * Makefile.in: Regenerate.
4559 * docs/doxygen/run_doxygen: Update, mostly for man pages.
4560 * docs/doxygen/Intro.3: Update.
4561 * docs/doxygen/TODO: Update.
4562 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
4563 * docs/doxygen/mainpage.doxy: Update.
4564 * docs/doxygen/user.cfg.in: Update for header rename. Also
4565 regenerate comments and variables with 1.2.12.
4566 * docs/doxygen/maint.cfg.in: Remove file.
4568 * include/bits/stl_relops.h: Doxygenate.
4569 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
4571 * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
4572 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
4573 include/c_std/std_ciso646.h, include/c_std/std_climits.h,
4574 include/c_std/std_clocale.h, include/c_std/std_cmath.h,
4575 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
4576 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
4577 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
4578 include/c_std/std_cstring.h, include/c_std/std_ctime.h,
4579 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
4580 include/ext/algorithm, include/ext/functional, include/ext/hash_map,
4581 include/ext/hash_set, include/ext/iterator, include/ext/memory,
4582 include/ext/numeric, include/ext/rb_tree, include/ext/rope,
4583 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
4584 include/ext/stl_hashtable.h, include/ext/stl_rope.h,
4585 include/std/std_algorithm.h, include/std/std_bitset.h,
4586 include/std/std_complex.h, include/std/std_deque.h,
4587 include/std/std_fstream.h, include/std/std_functional.h,
4588 include/std/std_iomanip.h, include/std/std_ios.h,
4589 include/std/std_iosfwd.h, include/std/std_iostream.h,
4590 include/std/std_istream.h, include/std/std_iterator.h,
4591 include/std/std_limits.h, include/std/std_list.h,
4592 include/std/std_locale.h, include/std/std_map.h,
4593 include/std/std_memory.h, include/std/std_numeric.h,
4594 include/std/std_ostream.h, include/std/std_queue.h,
4595 include/std/std_set.h, include/std/std_sstream.h,
4596 include/std/std_stack.h, include/std/std_stdexcept.h,
4597 include/std/std_streambuf.h, include/std/std_string.h,
4598 include/std/std_utility.h, include/std/std_valarray.h,
4599 include/std/std_vector.h: Add/correct @file doxygen hook.
4601 * include/ext/memory: Doxygenate most of rest of file.
4602 * libsupc++/exception: Doxygen output formatting.
4603 * libsupc++/new: Say which header it is.
4605 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
4606 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
4607 * docs/html/23_containers/howto.html: Describe O(n) list::size().
4608 * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
4610 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
4611 Charles Leggett <CGLeggett@lbl.gov>
4613 * testsuite/27_io/filebuf_members.cc (test_05): Add test.
4615 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
4617 * testsuite/27_io/ostream_inserter_arith.cc (test03):
4618 Fix to deal correctly with both 32 bit and 64 bit architectures
4620 2002-01-25 Loren Rittle <ljrittle@acm.org>
4622 * testsuite/thread/pthread1.cc: Use one condition variable
4623 per predicate instead of tricky use of one condition variable.
4625 2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
4627 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
4629 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
4630 * testsuite/27_io/filebuf.cc: Compile only.
4631 * testsuite/27_io/filebuf_members.cc: Move tests to here.
4632 * testsuite/27_io/filebuf_virtuals.cc: And here.
4633 Revert sungetc, sync changes for expected values.
4634 * testsuite/27_io/filebuf-*: Move to...
4635 * testsuite/27_io/filebuf_virtuals-*: ...here.
4636 * testsuite/27_io/istream.cc: Compile only, activate.
4637 * testsuite/27_io/ostream.cc: Same.
4638 * testsuite/27_io/iostream.cc: New.
4639 * testsuite/27_io/iostream_members.cc: New.
4641 2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
4643 * testsuite/thread/pthread1.cc: Enable on cygwin.
4644 * testsuite/thread/pthread2.cc: Likewise.
4645 * testsuite/thread/pthread3.cc: Likewise.
4646 * testsuite/thread/pthread4.cc: Likewise.
4647 * testsuite/thread/pthread5.cc: Likewise.
4648 * testsuite/thread/pthread6.cc: Likewise.
4650 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
4652 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
4654 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
4656 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
4658 (basic_ios::fill(char_type)): Use fill().
4659 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
4660 (basic_ios::narrow): Same.
4661 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
4662 if they are invalid.
4663 (basic_ios::init): Comment.
4664 * testsuite/27_io/ios_init.cc (test02): New.
4666 2002-01-24 Phil Edwards <pme@gcc.gnu.org>
4668 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
4669 * include/bits/stl_algo.h: Include stl_tempbuf.h.
4670 * include/ext/memory: Do not include stl_tempbuf.h.
4671 (temporary_buffer): Add doxygen hook.
4672 (__get_temporary_buffer, get_temporary_buffer,
4673 return_temporary_buffer): Move back to std:: header...
4674 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
4675 * include/ext/rope: Do not include stl_tempbuf.h.
4676 * include/ext/stl_hashtable.h: Likewise.
4677 * include/std/std_algorithm.h: Likewise.
4678 * testsuite/20_util/temporary_buffer.cc: New file.
4680 2002-01-24 andrew@andypo.net
4681 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
4684 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
4685 * include/bits/localefwd.h: Likewise.
4686 Also use for std::locale::id::_S_highwater.
4687 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
4688 * src/locale.cc: Support new usage of _Atomic_word.
4689 (std::locale::classic): Guard entire function against reentry.
4690 * src/localename.cc: Support new usage of _Atomic_word.
4692 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
4694 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
4695 _GLIBCPP_HAVE_SETENV.
4696 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
4697 * testsuite/22_locale/collate_members_char.cc (test02): Same.
4698 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
4699 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
4700 * testsuite/22_locale/messages_members_char.cc (test02): Same.
4701 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
4702 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
4703 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
4704 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
4705 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
4706 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
4707 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
4708 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
4709 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
4710 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
4711 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
4712 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
4713 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
4714 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
4715 * aclocal.m4: Regenerate.
4716 * configure: Regenerate.
4717 * config.h.in: Regenerate.
4719 2002-01-23 Loren Rittle <ljrittle@acm.org>
4721 * testsuite/thread/pthread1.cc: New test.
4722 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
4723 * testsuite/thread/pthread3.cc: Likewise.
4724 * testsuite/thread/pthread4.cc: New test adapted from
4725 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
4726 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
4727 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
4729 2002-01-23 Richard Henderson <rth@redhat.com>
4732 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
4733 CAS on the cpu variants that support it. Add versions that use
4734 TAS and that disable interrupts.
4735 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
4737 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
4739 * include/bits/locale_facets.tcc: Remove old comments.
4741 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
4743 * include/bits/locale_facets.tcc (__convert_to_v): Change template
4745 (__convert_from_v): Same.
4747 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
4749 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
4751 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
4752 __max_digits checks, adjust arguments.
4753 (num_get::do_get(*)): Changeup.
4755 2002-01-23 Loren Rittle <ljrittle@acm.org>
4757 * config/locale/c_locale_generic.cc: Fix typename usage.
4759 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
4761 * config/locale/c_locale_generic.cc: Fix.
4763 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
4765 * docs/html/22_locale/messages.html: Remove angle brackets.
4766 * docs/html/17_intro/TODO: Add.
4768 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
4770 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
4771 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
4772 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
4773 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
4775 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
4777 Audit for LANG independence.
4778 * include/bits/localefwd.h: Tweaks.
4779 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
4781 (time_get::do_get_year): Same.
4782 (__convert_from_v): Add.
4783 (num_put::_M_convert_float): Use.
4784 (num_put::_M_convert_int): Same.
4785 (money_put::do_put): Same.
4787 * src/locale-inst.cc: Add instantiations for __convert_from_v.
4788 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
4789 * config/locale/time_members_generic.cc:
4790 * config/locale/messages_members_gnu.cc: Same.
4791 * config/locale/messages_members_gnu.h: Same.
4793 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
4794 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
4795 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
4796 * testsuite/22_locale/collate_members_char.cc (test02): New.
4797 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
4798 * testsuite/22_locale/ctype_members_char.cc (test03): New.
4799 * testsuite/22_locale/messages_members_char.cc (test02): New.
4800 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
4801 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
4802 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
4803 * testsuite/22_locale/money_get_members_char.cc (test04): New.
4804 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
4805 * testsuite/22_locale/money_put_members_char.cc (test04): New.
4806 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
4807 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
4808 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
4809 * testsuite/22_locale/time_put_members_char.cc (test03): New.
4810 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
4811 * testsuite/22_locale/time_get_members_char.cc (test07): New.
4812 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
4813 * testsuite/22_locale/num_get_members_char.cc (test03): New.
4814 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
4815 * testsuite/22_locale/num_put_members_char.cc (test03): New.
4817 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
4819 * testsuite/22_locale/time_get_members_char.cc: Same.
4821 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
4824 * include/bits/localefwd.h: Tweak comments.
4825 * include/bits/locale_facets.h (__convert_to_v): Add.
4826 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
4827 (num_get::do_get(float)): Same.
4828 (num_get::do_get(long double)): Same.
4829 (num_get::do_get(bool)): Same.
4830 (num_get::do_get(long)): Same.
4831 (num_get::do_get(long long)): Same.
4832 (num_get::do_get(unsigned int)): Same.
4833 (num_get::do_get(unsigned short)): Same.
4834 (num_get::do_get(unsigned long)): Same.
4835 (num_get::do_get(unsigned long long)): Same.
4836 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
4837 * config/locale/c_locale_generic.cc: Same.
4839 2002-01-22 Loren Rittle <ljrittle@acm.org>
4841 * include/Makefile.am (c_base_builddir): Remove redundant slash.
4842 (std_builddir): Likewise.
4843 (std_headers_rename): Fix cut-n-paste typo.
4844 (install-data-local): Concat path per element instead of once to
4845 first element of list.
4846 * include/Makefile.in: Rebuilt.
4848 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
4850 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
4851 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
4852 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
4854 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
4856 * include/bits/locale_facets.h (ctype<char>::classic_table):
4858 (ctype<char>::_S_ctable): Remove.
4859 * config/os/gnu-linux/bits/ctype_noninline.h
4860 (ctype<char>::_S_table): Remove definition.
4861 (ctype<char>::classic_table): Define.
4862 (ctype<char>::ctype): Replace _S_ctable with classic_table().
4863 * config/os/aix/bits/ctype_noninline.h: Same.
4864 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
4865 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
4866 * config/os/djgpp/bits/ctype_noninline.h: Same.
4867 * config/os/generic/bits/ctype_noninline.h: Same.
4868 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
4869 * config/os/hpux/bits/ctype_noninline.h: Same.
4870 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
4871 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
4872 * config/os/mingw32/bits/ctype_noninline.h: Same.
4873 * config/os/newlib/bits/ctype_noninline.h: Same.
4874 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
4875 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
4876 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
4878 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
4880 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
4881 of _pctype. Use to define _S_ctable. Add definition for alternate
4882 ctor. Initialise _M_ctable to _S_ctable in ctors.
4883 (do_toupper, do_tolower): Use inline code appropriate for C-locale
4884 rather than ::toupper, ::tolower.
4886 2002-01-18 Loren Rittle <ljrittle@acm.org>
4888 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
4889 Add specialization for FreeBSD systems only to avoid losing test
4890 only due to extra precision unmentioned in system headers.
4892 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
4894 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
4896 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
4898 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
4899 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
4901 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4903 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
4905 2002-01-17 David Edelsohn <edelsohn@gnu.org>
4907 * configure.target: Define OPT_LDFLAGS for AIX case.
4909 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4911 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
4912 __glibcpp_double_has_quiet_NaN): Correct mispelling.
4914 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
4916 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
4918 2002-01-16 David Edelsohn <dje@watson.ibm.com>
4920 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
4921 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
4922 * aclocal.m4: Regenerate.
4923 * configure: Regenerate.
4925 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
4927 * include/Makefile.am (c_base_headers_rename): New.
4928 (c_base_headers_extra): New.
4929 (stamp-c_base): Modify.
4930 (install-data-local): Use both.
4931 * include/Makefile.in: Regenerate.
4932 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
4933 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
4934 cstdio ctime cwctype]: Move to..
4935 * include/c/std_*: Here.
4936 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
4937 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
4938 cstdio ctime cwctype]: Move to..
4939 * include/c_std/std_*: Here.
4941 Alexandre Oliva <aoliva@redhat.com>
4942 * include/Makefile.am (.PRECIOUS): Add rule.
4943 * include/Makefile.in: Regenerate.
4945 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
4946 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4948 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
4949 Deuglify, should be current.
4950 (back_insert_iterator::_M_container): Deuglify, should be container.
4951 (front_insert_iterator::_M_container): Same.
4952 (insert_iterator::_M_container): Same.
4953 * testsuite/24_iterators/reverse_iterator.cc: Add check.
4954 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
4955 * testsuite/24_iterators/front_insert_iterator.cc: Same.
4956 * testsuite/24_iterators/insert_iterator.cc: Same.
4958 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
4960 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
4962 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
4963 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
4964 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
4965 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
4966 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
4967 * config/os/newlib/bits/ctype_noninline.h: Same.
4968 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
4969 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
4970 * config/os/hpux/bits/ctype_noninline.h: Same.
4971 * config/os/djgpp/bits/ctype_noninline.h: Same.
4972 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
4973 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
4974 * config/os/aix/bits/ctype_noninline.h: Same.
4976 Testcase by Dietmar Kühl via Peter Schmid
4977 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
4980 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
4982 * libmath/signbitl.c: Copyright years as list, not range.
4983 * libmath/Makefile.am: Same.
4984 * libmath/Makefie.in: Regenerate.
4985 * libmath/signbit.c: Same.
4986 * libmath/nan.c: Same.
4987 * libmath/copysignf.c: Same.
4988 * libmath/signbitf.c: Same.
4989 * testsuite/22_locale/money_get_members_char.cc: Same.
4990 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
4991 * testsuite/22_locale/money_put_members_char.cc: Same.
4992 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
4993 * testsuite/22_locale/time_get_members_char.cc: Same.
4994 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
4995 * testsuite/22_locale/time_put_members_char.cc: Same.
4996 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
4997 * testsuite/21_strings/nonmember.cc: Same.
4998 * testsuite/21_strings/compare.cc: Same.
4999 * testsuite/27_io/stringstream.cc: Same.
5000 * testsuite/27_io/stringbuf.cc: Same.
5001 * testsuite/27_io/filebuf.cc: Same.
5002 * testsuite/27_io/ios_manip_basefield.cc: Same.
5003 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
5004 * include/bits/cpp_type_traits.h: Same.
5005 * include/bits/generic_shadow.h: Same.
5006 * include/bits/gslice_array.h: Same.
5007 * include/bits/gslice.h: Same.
5008 * include/bits/indirect_array.h: Same.
5009 * include/bits/slice_array.h: Same.
5010 * include/bits/sstream.tcc: Same.
5011 * include/bits/streambuf_iterator.h: Same.
5012 * include/bits/valarray_array.tcc: Same.
5013 * include/bits/valarray_meta.h: Same.
5014 * include/bits/valarray_array.h: Same.
5015 * config/os/mingw32/bits/ctype_noninline.h: Same.
5016 * config/os/mingw32/bits/ctype_base.h: Same.
5017 * config/os/hpux/bits/ctype_noninline.h: Same.
5018 * config/os/hpux/bits/ctype_base.h: Same.
5019 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
5020 * config/os/gnu-linux/bits/ctype_base.h: Same.
5021 * config/os/generic/bits/ctype_noninline.h: Same.
5022 * config/os/generic/bits/ctype_base.h: Same.
5024 * libsupc++/tinfo.h: Tweaks.
5026 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
5028 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
5029 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
5030 * testsuite/22_locale/ctype_members_char.cc: Tweak.
5032 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
5034 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
5035 (num_put::do_put(void*)): Fix.
5036 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
5037 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
5038 * testsuite/22_locale/num_get_members_char.cc (test02): Add
5039 long double, void, bool types.
5040 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
5042 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
5043 Alexandre Oliva <aoliva@redhat.com>
5045 * libmath/Makefile.am (LINK): Add --tag CC.
5046 * libmath/Makefile.in: Regenerate.
5048 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
5050 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
5051 of character to attribute mapping table.
5053 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
5055 * testsuite/26_numerics/c99_classification_macros_c.cc
5056 Remove dg-error and dg-excess-errors comments.
5058 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
5060 * include/bits/locale_facets.tcc (time_put::put): Correct output
5062 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
5063 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
5064 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
5065 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
5067 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
5069 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
5071 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
5072 Nathan Myers <ncm@cantrip.org>
5074 * include/bits/basic_string.h
5075 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
5076 temporaries (i.e., call _M_replace_safe) when possible.
5077 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
5078 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
5079 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
5080 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
5081 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
5082 * include/bits/basic_string.tcc
5083 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
5084 replace(__pos, __n1, __s, __n2).
5085 * testsuite/21_strings/replace.cc (test03): New testcases.
5087 * include/bits/basic_string.h (insert(__pos, __s, __n)):
5088 Adjust comparison wrt overflow.
5090 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
5092 * include/Makefile.am (std_headers_rename): New variable.
5093 (install-data-local): Use it.
5094 * include/Makefile.in: Regenerate.
5096 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
5098 * include/bits/locale_facets.tcc (money_put::do_put(string):
5099 Correct output iterator value.
5100 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
5101 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
5103 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
5105 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
5108 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
5110 * include/Makefile.am (std_headers): Update list with new names.
5111 (stamp-std): Link to standardized name.
5112 * include/Makefile.in: Regenerate.
5114 * include/std/algorithm, include/std/bitset, include/std/complex,
5115 include/std/deque, include/std/fstream, include/std/functional,
5116 include/std/iomanip, include/std/ios, include/std/iosfwd,
5117 include/std/iostream, include/std/istream, include/std/iterator,
5118 include/std/limits, include/std/list, include/std/locale,
5119 include/std/map, include/std/memory, include/std/numeric,
5120 include/std/ostream, include/std/queue, include/std/set,
5121 include/std/sstream, include/std/stack, include/std/stdexcept,
5122 include/std/streambuf, include/std/string, include/std/utility,
5123 include/std/valarray, include/std/vector: Rename to...
5125 * include/std/std_algorithm.h, include/std/std_bitset.h,
5126 include/std/std_complex.h, include/std/std_deque.h,
5127 include/std/std_fstream.h, include/std/std_functional.h,
5128 include/std/std_iomanip.h, include/std/std_ios.h,
5129 include/std/std_iosfwd.h, include/std/std_iostream.h,
5130 include/std/std_istream.h, include/std/std_iterator.h,
5131 include/std/std_limits.h, include/std/std_list.h,
5132 include/std/std_locale.h, include/std/std_map.h,
5133 include/std/std_memory.h, include/std/std_numeric.h,
5134 include/std/std_ostream.h, include/std/std_queue.h,
5135 include/std/std_set.h, include/std/std_sstream.h,
5136 include/std/std_stack.h, include/std/std_stdexcept.h,
5137 include/std/std_streambuf.h, include/std/std_string.h,
5138 include/std/std_utility.h, include/std/std_valarray.h,
5139 include/std/std_vector.h: ...this.
5141 2002-01-11 Loren Rittle <ljrittle@acm.org>
5143 * include/Makefile.am (extra_target_headers): New list of all
5144 target files built with ad hoc naming rules.
5145 (stamp-*): Handle LN_S failure in manner portable across make
5147 (install-data-local): Install header files from human-maintained
5148 file lists and directory components instead of non-robust find.
5149 * include/Makefile.in: Rebuilt.
5151 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
5153 * include/bits/locale_facets.tcc (money_get::do_get(string)):
5154 Check for zero-length negative sign before adding it to output
5156 (money_get::do_get(long double)): Return beg.
5157 * testsuite/22_locale/money_get_members_char.cc (test02): Add
5159 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
5161 2002-01-10 David Seymour <seymour_dj@yahoo.com>
5164 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
5165 for _M_extract_float and _M_extract_int
5166 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
5167 (num_get<>::_M_extract_int): Likewise, all callers changed
5168 * testsuite/22_locale/num_get_members_char.cc: Testcase
5170 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
5172 * libsupc++/exception (bad_exception): Add comment.
5173 * libsupc++/new (bad_alloc): Same.
5174 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
5176 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
5178 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
5179 that the destructors should be removed from the descriptions
5180 in the standard: writing them explicitly allows the vtable
5181 heuristic to work. For additional information see:
5182 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
5183 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
5184 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
5185 * libsupc++/exception (bad_exception::~bad_exception()):
5186 Reintroduce declaration.
5187 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
5188 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
5189 (bad_typeid::~bad_typeid()): Same.
5190 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
5191 Reintroduce definition.
5192 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
5193 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
5194 (bad_typeid::~bad_typeid()): Same.
5196 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
5198 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
5199 * include/Makefile.in: Regenerate.
5201 2002-01-09 Bo Thorsen <bo@suse.co.uk>
5203 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
5206 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
5210 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
5211 return value of _M_file->sync().
5212 (filebuf::showmanyc): Check for is_open.
5213 * include/std/fstream (filebuf::sync): Tweak.
5214 * testsuite/27_io/filebuf.cc: Tweak.
5216 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
5217 Brad Garcia <garsh@attbi.com>
5219 * testsuite/27_io/filebuf_members.cc: Add test.
5221 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
5222 Craig Rodrigues <rodrigc@mediaone.net>
5225 * po/Makefile.am (mkinstalldirs): Add.
5226 * po/Makefile.in: Regenerate.
5228 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
5230 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
5231 testsuite/lib/prune.exp: Delete lines ":In function ..." from
5233 * testsuite/23_containers/map_operators.cc: Remove
5234 dg-excess-errors comment.
5235 * testsuite/23_containers/set_operators.cc: Likewise.
5237 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
5239 * include/bits/stl_function.h: Remove two lines of comments;
5240 adjust copyright years.
5242 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
5244 * include/Makefile.am (std_headers): Remove cXXX from list.
5245 (c_base_srcdir): No bits subdirectory.
5246 (c_base_builddir): Same.
5247 (c_base_headers): Adjust names, add ciso646.
5248 (bits_headers): Remove std_xxx.h headers.
5249 * include/Makefile.in: Regenerate.
5251 * include/ext/iterator: Adjust includes.
5252 * include/ext/ropeimpl.h: Same.
5253 * include/ext/stl_hash_fun.h: Same.
5254 * include/ext/algorithm: Same.
5256 * include/backward/bvector.h: Adjust includes.
5257 * include/backward/vector.h: Same.
5258 * include/backward/strstream: Same.
5259 * include/backward/streambuf.h: Same.
5260 * include/backward/stack.h: Same.
5261 * include/backward/set.h: Same.
5262 * include/backward/queue.h: Same.
5263 * include/backward/multiset.h: Same.
5264 * include/backward/multimap.h: Same.
5265 * include/backward/map.h: Same.
5266 * include/backward/list.h: Same.
5267 * include/backward/iterator.h: Same.
5268 * include/backward/iostream.h: Same.
5269 * include/backward/iomanip.h: Same.
5270 * include/backward/fstream.h: Same.
5271 * include/backward/deque.h: Same.
5272 * include/backward/complex.h: Same.
5274 * include/bits/std_algorithm.h: Move to...
5275 * include/std/algorithm: ...here.
5276 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
5277 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
5278 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
5279 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
5280 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
5281 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
5282 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
5285 * include/c_std/bits/std_cassert.h: Move to...
5286 * include/c_std/cassert: Here.
5287 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
5288 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
5289 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
5290 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
5291 std_cwctype.h: Same.
5292 * include/c_std/cmath: Adjust cmath.tcc include.
5293 * include/c_std/cstdlib: Adjust includes.
5294 * include/c_std/cwchar: Same.
5295 * include/c_std/ctime: Same.
5296 * include/c_std/cstring: Same.
5297 * include/c_std/cstdio: Same.
5298 * include/c_std/bits: Remove directory.
5300 * include/c/bits/std_cassert.h: Move to...
5301 * include/c/cassert: Here.
5302 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
5303 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
5304 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
5305 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
5306 std_cwctype.h: Same.
5307 * include/c/bits: Remove directory.
5309 * include/std/cwctype: Remove.
5310 * include/std/cwchar: Remove.
5311 * include/std/ctime: Remove.
5312 * include/std/cstring: Remove.
5313 * include/std/cstdlib: Remove.
5314 * include/std/cstdio: Remove.
5315 * include/std/cstddef: Remove.
5316 * include/std/cstdarg: Remove.
5317 * include/std/csignal: Remove.
5318 * include/std/csetjmp: Remove.
5319 * include/std/cmath: Remove.
5320 * include/std/clocale: Remove.
5321 * include/std/climits: Remove.
5322 * include/std/ciso646: Remove.
5323 * include/std/cfloat: Remove.
5324 * include/std/cerrno: Remove.
5325 * include/std/cctype: Remove.
5326 * include/std/cassert: Remove.
5328 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
5329 files and subsituting <xxx>.
5330 * include/bits/valarray_array.h: Same.
5331 * include/bits/stl_uninitialized.h: Same.
5332 * include/bits/stl_alloc.h: Same.
5333 * include/bits/stl_algobase.h: Same.
5334 * include/bits/sstream.tcc: Same.
5335 * include/bits/pthread_allocimpl.h: Same.
5336 * include/bits/ostream.tcc: Same.
5337 * include/bits/localefwd.h: Same.
5338 * include/bits/locale_facets.tcc: Same.
5339 * include/bits/locale_facets.h: Same.
5340 * include/bits/istream.tcc: Same.
5341 * include/bits/char_traits.h: Same.
5342 * include/bits/boost_concept_check.h: Same.
5343 * include/bits/basic_file.h: Same.
5344 * include/std/bitset: Same.
5345 * include/std/complex: Same.
5346 * include/std/fstream: Same.
5347 * include/std/functional: Same.
5348 * include/std/ios: Same.
5349 * include/std/iostream: Same.
5350 * include/std/ostream: Same.
5351 * include/std/sstream: Same.
5352 * include/std/streambuf: Same.
5353 * include/std/string: Same.
5354 * include/std/iterator: Same.
5355 * include/std/valarray: Same.
5357 * src/ios.cc: Adjust includes.
5358 * src/valarray-inst.cc: Same.
5359 * src/string-inst.cc: Same.
5360 * src/stl-inst.cc: Same.
5361 * src/stdexcept.cc: Same.
5362 * src/misc-inst.cc: Same.
5363 * src/localename.cc: Same.
5364 * src/locale-inst.cc: Same.
5365 * src/locale.cc: Same.
5366 * src/limits.cc: Same.
5367 * src/concept-inst.cc: Same.
5368 * src/complex_io.cc: Same.
5369 * src/codecvt.cc: Same.
5370 * src/bitset.cc: Same.
5371 * src/cmath.cc: Same.
5373 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
5375 * include/bits/stl_tree.h (rb_tree): Move to...
5376 * include/ext/rb_tree: ...here, new file.
5377 * include/Makefile.am (ext_headers): Add new file.
5378 * include/Makefile.in: Regenerate.
5379 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
5380 return_temporary_buffer, struct temporary_buffer): Move to...
5381 * include/ext/memory: ...here.
5382 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
5383 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
5384 * include/backward/tree.h: Include <ext/rb_tree), tweak.
5386 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
5388 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
5389 * include/ext/numeric: ...here, new file.
5390 * include/bits/stl_function.h (identity_element, unary_compose,
5391 binary_compose, compose1, compose2, identity, select1st,
5392 select2nd, project1st + helper, project2nd + helper,
5393 constant_void_fun + helper, constant_unary_fun + helper,
5394 costant_binary_fun + helper, constant0, constant1, constant2,
5395 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
5396 * include/ext/functional: ...here, new file.
5397 * include/Makefile.am (ext_headers): Add new files.
5398 * include/Makefile.in: Regenerate.
5399 * testsuite/ext/headers.cc: Include <ext/numeric> and
5401 * include/backward/algo.h: Include <ext/numeric>, tweak.
5402 * include/backward/function.h: Include <ext/functional>, tweak.
5403 * include/ext/ropeimpl.h: Include <ext/numeric>.
5405 2002-01-03 Jeffrey A Law <law@redhat.com>
5407 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
5408 __strtoull declarations with __extension__.
5410 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
5412 * testsuite/lib/prune.exp: Correct regular expression for
5415 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
5417 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
5418 Change concept checks, as with lower_bound and PR 2054.
5419 * testsuite/ext/concept_checks.cc: Expand test to include those.
5421 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
5423 * include/bits/boost_concept_check.h: Import some changes from
5424 upsteam (Boost) version.
5426 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
5428 * include/bits/stl_algobase.h (copy_n + helpers,
5429 lexicographical_compare_3way + helpers): Move to...
5430 * include/ext/algorithm: ...here.
5431 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
5432 helpers): Move to...
5433 * include/ext/memory: ...here, new file.
5434 * include/Makefile.am (ext_headers): Add new file.
5435 * include/Makefile.in: Regenerate.
5436 * testsuite/ext/headers.cc: Include <ext/memory>.
5437 * include/backward/algobase.h: Include <ext/memory> and
5438 <ext/algorithm>, tweak.
5439 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
5440 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
5442 2002-01-01 Roger Sayle <roger@eyesopen.com>
5444 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
5445 equivalent ___builtin__ versions.
5447 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
5448 are available in libstdc++ as the necessary stub implementations
5449 are provided by libmath/stubs.c.
5451 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
5453 * configure.in: Add support for NetBSD cross compiles.
5454 * configure: Regenerate.