1 2002-12-26 Phil Edwards <pme@gcc.gnu.org>
3 * libsupc++/exception: Add comment (mistakenly skipped).
5 2002-12-26 Phil Edwards <pme@gcc.gnu.org>
7 * include/std/std_bitset.h (_Base_bitset::_M_do_left_shift,
8 _Base_bitset::_M_do_right_shift): Expect a non-zero shift.
9 (bitset::operator<<=, bitset::operator>>=): When shifting more bits
10 than are in the bitset, zero memory rather than segfault.
11 (operator>>(basic_istream,bitset): Only call setstate once, after
12 all work has been done.
14 * testsuite/23_containers/bitset_members.cc (test03): New test.
15 * testsuite/23_containers/bitset_shift.cc (test02): New test.
17 2002-12-26 Phil Edwards <pme@gcc.gnu.org>
19 * libsupc++/vterminate.cc (writestr): Use __builtin_strlen.
21 2002-12-26 Phil Edwards <pme@gcc.gnu.org>
23 * libsupc++/eh_term_handler.cc: Add comment about embedded systems.
24 * docs/html/debug.html: Cosmetic and HTML changes. Point to
26 * docs/html/documentation.html: Link to the FAQ.
27 * docs/html/17_intro/howto.html: Mention use of isatty(3).
28 * docs/html/19_diagnostics/howto.html: Update verb-term description.
30 2002-12-25 Phil Edwards <pme@gcc.gnu.org>
32 * src/vterminate.cc: Move to...
33 * libsupc++/vterminate.cc: ...here. New file. Replace fprintf with
34 writestr macro. Slight reword to explanatory text.
35 * libsupc++/eh_terminate.cc (__cxxabiv1::__terminate_handler,
36 __cxxabiv1::__unexpected_handler): Break definitions out to...
37 * libsupc++/eh_unex_handler.cc: ...here (new file), and...
38 * libsupc++/eh_term_handler.cc: ...here (new file). Initialize
39 __terminate_handler with __gnu_cxx::__verbose_terminate_handler
40 instead of std::abort.
42 * libsupc++/Makefile.am (sources), src/Makefile.am (sources): Update.
43 * libsupc++/Makefile.in, src/Makefile.in: Regenerate.
45 2002-12-23 Danny Smith <dannysmith@users.sourceforge.net>
47 * config/io/basic_file_stdio.cc (__basic_file::_M_open_mode):
48 Don't use O_NONBLOCK if it is not defined.
49 (__basic_file::open): Don't use fcntl either.
51 2002-12-20 Sylvain Pion <Sylvain.Pion@mpi-sb.mpg.de>
53 * include/bits/stl_deque.h: Fix typo.
54 * include/bits/stl_list.h: Same.
55 * include/bits/stl_map.h: Same.
56 * include/bits/stl_multimap.h: Same.
57 * include/bits/stl_queue.h: Same.
58 * include/bits/stl_stack.h: Same.
59 * include/bits/stl_vector.h: Same.
61 2002-12-18 Benjamin Kosnik <bkoz@redhat.com>
63 * docs/html/documentation.html: Add link for debug.html.
64 * docs/html/debug.html: New.
66 2002-12-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
68 * testsuite/23_containers/vector_capacity.cc (test03): Move ...
69 * testsuite/23_containers/vector_resize.cc: ...here as a new file.
70 Pass in -lmalloc for irix6.
71 * testsuite/27_io/ios_base_storage.cc: Pass in -lmalloc for irix6.
73 2002-12-18 Jason Merrill <jason@redhat.com>
75 * src/vterminate.cc (__verbose_terminate_handler): Send
76 diagnostics to stderr.
78 2002-12-18 Ulrich Weigand <uweigand@de.ibm.com>
80 * configure.in: Define with_target_subdir and with_build_subdir
81 variables in config-ml.in AC_OUTPUT call.
82 * configure: Regenerate.
84 2002-12-16 Paolo Carlini <pcarlini@unitus.it>
87 * include/std/std_limits.h
88 (struct numeric_limits<short>,
89 struct numeric_limits<unsigned short>,
90 struct numeric_limits<int>,
91 struct numeric_limits<unsigned int>,
92 struct numeric_limits<long>,
93 struct numeric_limits<unsigned long>,
94 struct numeric_limits<long long>,
95 struct numeric_limits<unsigned long long>): According
96 to 18.2.1.2,53 and 18.2.1.5,1 is_iec559 shall be false.
97 * testsuite/18_support/numeric_limits.cc: Add test04.
99 2002-12-16 Benjamin Kosnik <bkoz@redhat.com>
101 * configure.in (GLIBCPP_ENABLE_DEBUG): Default to none.
102 Call GLIBCPP_ENABLE_DEBUG_FLAGS.
103 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): GLIBCPP_BUILD_DEBUG, new
104 conditional if --enable-debug is yes. Rework.
105 (GLIBCPP_ENABLE_DEBUG_FLAGS): New.
106 * aclocal.m4: Regenerate.
107 * libio/Makefile.am: Remove DEBUG_FLAGS.
108 * libio/Makefile.in: Regenerate.
109 * libsupc++/Makefile.am: Remove DEBUG_FLAGS.
110 * libsupc++/Makefile.in: Regenerate.
111 * docs/html/configopts.html: Add docs for --enable-debug,
112 --enable-debug-flags.
114 2002-12-16 Benjamin Kosnik <bkoz@redhat.com>
116 Correct dependency tracking, build warts.
117 * configure.in: Correct repeated AC_OUTPUT thrashing by
119 * configure: Regenerate.
120 * include/Makefile.am (stamp-target): Stamp in top_builddir.
121 * include/Makefile.in: Regenerate.
122 * src/Makefile.am (codecvt_members.cc): New rule.
123 (collate_members.cc): Same.
124 (ctype_members.cc): Same.
125 (messages_members.cc): Same.
126 (monetary_members.cc): Same.
127 (numeric_members.cc): Same.
128 (time_members.cc): Same.
129 (c++locale.cc): Same.
130 (basic_file.cc): Same.
131 * src/Makefile.in: Regenerate.
132 * acinclude.m4 (CCTYPE_CHAR_CC): Remove.
133 (CCCODECVT_CC): Don't link, AC_SUBST.
136 (CMESSAGES_CC): Same.
141 * aclocal.m4: Regenerate.
143 * src/Makefile.am (libstdc___la_LIBADD): Use top_builddir
144 for convenience libraries.
145 (version_arg): Rename linker.map to libstdc++.ver.
146 (libstdc___la_DEPENDENCIES): Remove linker.map, add
147 libstdc++-symbol.ver as a dependency.
148 (libstdc++-symbol.ver): Add rule.
149 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Change LINKER_MAP to
150 SYMVER_MAP. Don't link, AC_SUBST.
152 * include/Makefile.am (target_headers_noinst): New.
153 (stamp-target): Add CLOCALE_INTERNAL_H.
154 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't link
155 CLOCALE_INTERNAL_H, AC_SUBST.
156 * config/locale/gnu/c_locale.cc: Modify c++locale_internal.h
158 * config/locale/gnu/time_members.cc: Same.
159 * config/locale/gnu/numeric_members.cc: Same.
160 * config/locale/gnu/monetary_members.cc: Same.
161 * config/locale/gnu/messages_members.cc: Same.
162 * config/locale/gnu/ctype_members.cc: Same.
163 * config/locale/gnu/collate_members.cc: Same.
164 * config/locale/gnu/codecvt_members.cc: Same.
165 * config/locale/generic/codecvt_members.cc: Remove.
167 2002-12-11 Paolo Carlini <pcarlini@unitus.it>
170 * config/locale/generic/time_members.cc
171 (__timepunct<char>::_M_initialize_timepunct): Fix typos
172 in _M_date_format and _M_date_era_format string literals.
174 2002-12-10 Mark Mitchell <mark@codesourcery.com>
176 * libsupc++/cxxabi.h (__cxa_bad_cast): Declare it.
177 (__cxa_bad_typeid): Likewise.
178 (__cxa_atexit): Likewise.
179 (__cxa_finalize): Likewise.
181 2002-12-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
183 * include/bits/slice_array.h (slice_array<>::operator=): Fix typo.
185 2002-12-09 Mark Mitchell <mark@codesourcery.com>
187 * libsupc++/cxxabi.h (__cxa_pure_virtual): Declare it.
189 2002-12-05 Benjamin Kosnik <bkoz@redhat.com>
191 * testsuite/abi_check.cc: Add GLIBCPP_3.2.2.
193 2002-12-04 Paolo Carlini <pcarlini@unitus.it>
195 * config/locale/generic/codecvt_members.cc (codecvt::do_out
196 (state_type&, const intern_type*, const intern_type*,
197 const intern_type*&, extern_type*, extern_type*, extern_type*&),
198 codecvt::do_in(state_type&, const extern_type*, const extern_type*,
199 const extern_type*&, intern_type*, intern_type*, intern_type*&)):
200 Fully qualify min() with std::.
201 * config/locale/gnu/codecvt_members.cc: Ditto.
202 * locale/ieee_1003.1-2001/codecvt_specializations.h
203 (codecvt::do_length(const state_type&, const extern_type*,
204 const extern_type*, size_t): Ditto.
205 * include/bits/deque.tcc
206 (_M_range_initialize(_ForwardIterator, _ForwardIterator,
207 forward_iterator_tag), deque::_M_range_insert_aux(iterator,
208 _ForwardIterator, _ForwardIterator, forward_iterator_tag),
209 deque::_M_reallocate_map(size_type, bool)): Fully qualify
210 distance() and max() with std::.
211 * include/bits/fstream.tcc (basic_filebuf::seekoff(off_type,
212 ios_base::seekdir, ios_base::openmode)): Fully qualify max()
214 * include/bits/istream.tcc (basic_istream::ignore(streamsize,
215 int_type), basic_istream::readsome(char_type*, streamsize)):
216 Fully qualify min() with std::.
217 * include/bits/locale_facets.tcc (time_get::_M_extract_name
218 (iter_type&, iter_type&, int&, const _CharT**, size_t,
219 ios_base::iostate&)): Ditto.
220 * include/bits/sstream.tcc (basic_stringbuf::overflow(int_type)):
221 Fully qualify max() with std::.
222 * include/bits/stl_algo.h (__inplace_stable_partition(_ForwardIter
223 __first, _ForwardIter, _Predicate, _Distance),
224 __stable_partition_adaptive(_ForwardIter, _ForwardIter, _Predicate,
225 _Distance, _Pointer, _Distance), __merge_sort_loop(_RandomAccessIter1,
226 _RandomAccessIter1, _RandomAccessIter2, _Distance),
227 __merge_sort_loop(_RandomAccessIter1, _RandomAccessIter1,
228 _RandomAccessIter2, _Distance, _Compare), lower_bound(_ForwardIter,
229 _ForwardIter, const _Tp&), lower_bound(_ForwardIter, _ForwardIter,
230 const _Tp&, _Compare), upper_bound(_ForwardIter, _ForwardIter,
231 const _Tp&), upper_bound(_ForwardIter, _ForwardIter, const _Tp&,
232 _Compare), equal_range(_ForwardIter, _ForwardIter, const _Tp&),
233 equal_range(_ForwardIter, _ForwardIter, const _Tp&, _Compare),
234 __merge_without_buffer(_BidirectionalIter, _BidirectionalIter,
235 _BidirectionalIter, _Distance, _Distance), __merge_without_buffer
236 (_BidirectionalIter, _BidirectionalIter, _BidirectionalIter,
237 _Distance, _Distance, _Compare), __rotate_adaptive(_BidirectionalIter1,
238 _BidirectionalIter1, _BidirectionalIter1, _Distance, _Distance,
239 _BidirectionalIter2, _Distance), __merge_adaptive(_BidirectionalIter,
240 _BidirectionalIter, _BidirectionalIter, _Distance, _Distance,
241 _Pointer, _Distance), __merge_adaptive(_BidirectionalIter,
242 _BidirectionalIter, _BidirectionalIter, _Distance, _Distance,
243 _Pointer, _Distance, _Compare), inplace_merge(_BidirectionalIter,
244 _BidirectionalIter, _BidirectionalIter), inplace_merge
245 (_BidirectionalIter, _BidirectionalIter, _BidirectionalIter,
246 _Compare), __find_end(_BidirectionalIter1, _BidirectionalIter1,
247 _BidirectionalIter2, _BidirectionalIter2, bidirectional_iterator_tag,
248 bidirectional_iterator_tag), __find_end(_BidirectionalIter1,
249 _BidirectionalIter1, _BidirectionalIter2, _BidirectionalIter2,
250 bidirectional_iterator_tag, bidirectional_iterator_tag,
251 _BinaryPredicate)): Fully qualify distance() and min() with std::.
252 * include/bits/stl_algobase.h (lexicographical_compare
253 (const unsigned char*, const unsigned char*, const unsigned char*,
254 const unsigned char*)): Fully qualify min() with std::.
255 * include/bits/stl_bvector.h (_M_insert_range(iterator,
256 _ForwardIterator, _ForwardIterator, forward_iterator_tag),
257 _M_assign_aux(_ForwardIterator, _ForwardIterator,
258 forward_iterator_tag),
259 _M_initialize_range(_ForwardIterator, _ForwardIterator,
260 forward_iterator_tag), _M_fill_insert(iterator, size_type, bool)):
261 Fully qualify distance() and max() with std::.
262 * include/bits/stl_deque.h
263 (_Deque_base::_M_initialize_map(size_t),
264 _M_assign_aux(_ForwardIterator, _ForwardIterator,
265 forward_iterator_tag)):
266 Ditto. * include/bits/stl_list.h (size()): Fully qualify
267 distance() with std::.
268 * include/bits/stl_tempbuf.h (_Temporary_buffer::_Temporary_buffer
269 (_ForwardIterator, _ForwardIterator)): Ditto.
270 * include/bits/stl_tree.h (_Rb_tree::erase(const _Key&),
271 _Rb_tree::count(const _Key&)): Ditto.
272 * include/bits/stl_vector.h (_M_range_initialize(_ForwardIterator,
273 _ForwardIterator, forward_iterator_tag)): Ditto.
274 * include/bits/streambuf.tcc (basic_streambuf::xsgetn(char_type*,
275 streamsize), basic_streambuf::xsputn(const char_type*, streamsize)):
276 Fully qualify min() with std::.
277 * include/bits/vector.tcc (_M_assign_aux(_ForwardIter, _ForwardIter,
278 forward_iterator_tag), _M_fill_insert(iterator, size_type,
279 const value_type&), _M_range_insert(iterator, _ForwardIterator,
280 _ForwardIterator, forward_iterator_tag)): Fully qualify max() and
281 distance() with std::.
282 * include/std/std_bitset.h (bitset::_M_copy_from_string
283 (const basic_string&, size_t, size_t)): Fully qualify min() with std::.
284 * include/std/std_streambuf.h (_M_pback_create()): Ditto.
285 * include/std/std_complex.h (abs(const complex<_Tp>&)):
286 Fully qualify max() with std::.
287 * include/std/std_sstream.h (str()): Ditto.
288 * src/codecvt.cc (codecvt::do_out(state_type&, const intern_type*,
289 const intern_type*, const intern_type*&, extern_type*, extern_type*,
290 extern_type*&), codecvt::do_in(state_type&, const extern_type*,
291 const extern_type*, const extern_type*&, intern_type*, intern_type*,
292 intern_type*&), codecvt::do_length(const state_type&,
293 const extern_type*, const extern_type*, size_t), do_length
294 (const state_type&, const extern_type*, const extern_type*,
295 size_t)): Fully qualify min() with std::.
296 * src/strstream.cc (strstreambuf::strstreambuf(streamsize),
297 strstreambuf::overflow(int_type)): Fully qualify max() with std::.
299 2002-12-02 Paolo Carlini <pcarlini@unitus.it>
301 * include/bits/basic_string.h (compare(const basic_string&)):
302 Fully qualify min() with std::.
304 2002-12-02 Benjamin Kosnik <bkoz@redhat.com>
306 * configure.in (libtool_VERSION): Update to 5:2:0.
307 * configure: Regenerate.
309 2002-12-02 Paolo Carlini <pcarlini@unitus.it>
311 * include/bits/basic_string.tcc
312 (basic_string::append(const basic_string&, size_type,
313 size_type), basic_string::compare(size_type, size_type,
314 const basic_string&), basic_string::compare(size_type,
315 size_type, const basic_string&, size_type, size_type),
316 basic_string::compare(const _CharT*), basic_string::
317 compare(size_type, size_type, const _CharT*),
318 basic_string::compare(size_type, size_type, const _CharT*,
319 size_type), _S_string_copy(const basic_string&, _CharT*,
320 typename _Alloc::size_type)): Fully qualify min() with std::.
322 2002-12-02 Paolo Carlini <pcarlini@unitus.it>
324 * include/bits/basic_string.tcc
325 (basic_string::_S_construct(_InIter, _InIter, const _Alloc&,
326 forward_iterator_tag)): Delay the declaration of __dnew,
327 fully qualify distance() with std::.
328 (basic_string::_M_replace_safe): Fully qualify distance()
331 2002-11-28 Phil Edwards <pme@gcc.gnu.org>
334 * testsuite/21_strings/ctor_copy_dtor.cc (test05): Also test
335 the NULL-pointer, zero-size case.
337 2002-11-28 Jonathan Wakely <redi@gcc.gnu.org>
339 * docs/html/faq/index.html: Add tip about a namespace for extensions.
341 2002-11-28 Paolo Carlini <pcarlini@unitus.it>
342 Nathan Myers <ncm@cantrip.org>
345 (locale::_Impl::_Impl(const char*, size_t)):
346 Improve previous fix for the strtok vs MT issue.
348 2002-11-28 Paolo Carlini <pcarlini@unitus.it>
350 * config/locale/gnu/c_locale.cc (locale::_S_categories):
351 Reorder the categories to match that of glibc's setlocale(LC_ALL, ""))
352 * config/locale/generic/c_locale.cc (locale::_S_categories): Ditto.
353 * testsuite/22_locale/ctor_copy_dtor.cc (test04): Tweak.
355 2002-11-25 Benjamin Kosnik <bkoz@redhat.com>
357 * testsuite/abi_check.cc: Add CXXABI_1.2.1 as compatible.
358 * config/linker-map.gnu: Version __cxa_guard_acquire,
359 __cxa_guard_release, __cxa_guard_abort in CXXABI_1.2.1.
361 2002-11-25 Paolo Carlini <pcarlini@unitus.it>
362 Nathan Myers <ncm@cantrip.org>
365 (locale::_Impl::_Impl(const char*, size_t)):
366 Avoid strtok for thread safety.
368 2002-11-25 Stephen M. Webb <stephen@bregmasoft.com>
370 * testsuite/testsuite_allocator.h: New file.
371 * testsuite/testsuite_allocator.cc: New file.
372 * testsuite/Makefile.am: Added testsuite_allocator to test library.
373 * testsuite/testsuite_hooks.h: Added more detailed tracker objects
374 gnu_copy_constructor, gnu_assignment_operator, and gnu_destructor.
375 * testsuite/testsuite_hooks.cc: Added new static objects definitions.
376 * testsuite/23_containers/vector_capacity.cc: Added reserve() tests.
377 * testsuite/23_containers/vector_ctor.cc: Added a plethora of tests.
378 * testsuite/23_containers/deque_ctor.cc: Added a slew of new tests.
380 2002-11-25 Mark Mitchell <mark@codesourcery.com>
382 * libsupc++/Makefile.am (sources): Add guard.cc.
383 * libsupc++/Makefile.in: Regenerated.
384 * libsupc++/cxxabi.h (__cxa_guard_acquire): New function.
385 (__cxa_guard_release): Likewise.
386 (__cxa_guard_abort): Likewise.
387 * libsupc++/guard.cc: New file.
389 2002-11-25 Wolfgang Bangerth <bangerth@ticam.utexas.edu>
391 * include/std/std_complex.h
392 (operator<<(basic_ostream&, const complex&)): Prefer 'x'
393 to "x" for efficiency sake.
394 * src/locale.cc (locale::locale(const char*)): Ditto.
396 2002-11-24 Paolo Carlini <pcarlini@unitus.it>
398 * src/locale.cc (locale::locale(const char*)):
399 Trivial cosmetic tweaks.
401 2002-11-22 Laszlo Ersek <erseklaszlo@chello.hu>
402 Paolo Carlini <pcarlini@unitus.it>
405 * include/bits/stl_tree.h (_Rb_tree_rebalance_for_erase):
406 Don't check that __w->_M_left != 0 and __w->_M_right != 0
407 when they can't be otherwise.
409 2002-11-21 Phil Edwards <pme@gcc.gnu.org>
411 * docs/html/documentation.html: Fix broken/thinko'd URL.
413 2002-11-21 Phil Edwards <pme@gcc.gnu.org>
415 * docs/doxygen/run_doxygen: Tighter search expression for sed.
416 * docs/doxygen/stdheader.cc: Handle the case of good headers.
418 2002-11-21 Phil Edwards <pme@gcc.gnu.org>
420 * acinclude.m4: Uniform formatting.
421 * configure.in: Warn when generic atomicity.h is used.
422 * configure.target: Fix comment.
423 * aclocal.m4, configure: Regenerate.
425 2002-11-21 Phil Edwards <pme@gcc.gnu.org>
427 * include/bits/streambuf.tcc (basic_streambuf::sputbackc): Prefix
428 "this->" to call to pbackfail.
430 2002-11-21 Phil Edwards <pme@gcc.gnu.org>
432 * docs/doxygen/style.css: Update.
433 * docs/doxygen/user.cfg.in: Update.
434 * docs/html/documentation.html: Regenerate.
435 * docs/html/17_intro/howto.html: Tweak I/O sentry entry.
436 * docs/html/27_io/howto.html: New section on headers.
437 * docs/html/faq/index.html: Add i386 threading entry.
438 * docs/html/faq/index.txt: Regenerate.
440 * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
443 2002-11-21 Phil Edwards <pme@gcc.gnu.org>
445 * docs/doxygen/TODO: Note change in clause 27 docs.
446 * include/bits/basic_ios.h, include/bits/fpos.h,
447 include/bits/ios_base.h, include/bits/stl_deque.h,
448 include/bits/stl_iterator_base_types.h, include/std/std_fstream.h,
449 include/std/std_iomanip.h, include/std/std_iosfwd.h,
450 include/std/std_iostream.h, include/std/std_istream.h,
451 include/std/std_ostream.h, include/std/std_sstream.h,
452 include/std/std_streambuf.h: Doxygenate all I/O entities.
454 2002-11-20 Benjamin Kosnik <bkoz@redhat.com>
455 Jonathan Lennox <lennox@cs.columbia.edu>
457 * include/bits/streambuf.tcc (__copy_streambufs):
458 Revert previous fix for the interactive half of
459 libstdc++/6745, use _M_buf_size_opt to set dynamically
460 the correct buffer size.
462 2002-11-20 Jonathan Wakely <redi@gcc.gnu.org>
464 * docs/html/21_strings/howto.html: Fix example code, cite Gaby's
465 explanation of "<unknown type>" error with toupper/tolower.
466 * docs/html/22_locale/howto.html: Be more consistent with
467 example in 21_strings.
469 2002-11-19 John Gustafsson <forgoil@rsn.bth.se>
471 * docs/html/20_util/howto.html: Fix typo.
473 2002-11-18 Jonathan Lennox <lennox@cs.columbia.edu>
475 * include/bits/streambuf.tcc (__copy_streambufs): verify
476 __sbin->gptr() + __bufsize < __sbin->egptr() before using.
477 * testsuite/27_io/ostream_inserter_other.cc (test_buffer_4): Add.
478 (test05): Use test_buffer_4. Delete unused ostringstream
481 2002-11-18 Paolo Carlini <pcarlini@unitus.it>
483 PR libstdc++/6745 (continued)
484 * include/bits/streambuf.tcc (__copy_streambufs):
485 Deal with interactive input by using isatty as in the
486 fix for libstdc++/8399.
488 2002-11-17 Jakub Jelinek <jakub@redhat.com>
490 * config/linker-map.gnu: Export _S_construct even if size_t is
491 unsigned long. Collapse std::codecvt<char>::codecvt(size_t)
492 and std::codecvt<wchar_t>::codecvt(size_t) into one export pattern.
494 2002-11-15 Benjamin Kosnik <bkoz@redhat.com>
495 Gabriel Dos Reis <gdr@integrable-solutions.net>
498 * include/bits/stl_alloc.h: Use builtin_expect for the most
499 obvious limit checks.
500 (__default_alloc_template::allocate): Check for null, throw
502 * include/bits/vector.tcc: Formatting tweaks.
503 * include/bits/stl_vector.h: Same.
504 * testsuite/20_util/allocator_members.cc (test02): Add.
505 * testsuite/23_containers/vector_capacity.cc (test03): Add.
507 2002-11-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
509 * src/ios.cc [_GLIBCPP_HAVE_UNISTD_H]: Include unistd.h.
511 2002-11-15 Paolo Carlini <pcarlini@unitus.it>
512 Loren J. Rittle <ljrittle@acm.org>
516 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): New macro to
517 check for unistd.h functions.
518 (GLIBCPP_CHECK_UNISTD_SUPPORT): New macro, check for isatty
520 * configure.in: Call here.
521 * src/ios.cc (ios_base::Init::_S_ios_create(bool)):
522 Use _GLIBCPP_HAVE_ISATTY: ifdef, in case of interactive
523 input __in_size = 1 even when sync_with_stdio is false;
524 otherwise fall back to __in_size = 1.
525 * aclocal.m4: Regenerate.
526 * config.h.in: Regenerate.
527 * configure: Regenerate.
529 2002-11-13 Benjamin Kosnik <bkoz@redhat.com>
531 * acconfig.h (HAVE_DRAND48): Add.
532 (HAVE_GETPAGESIZE): Add.
534 (HAVE_SIGSETJMP): Add.
535 * config.h.in: Regenerate.
536 * configure: Regenerate.
538 2002-11-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
540 * config/os/hpux/os_defines.h (_GLIBCPP_INST_ATOMICITY_LOCK): Define
541 on hppa when there is no weak support.
543 2002-11-13 Benjamin Kosnik <bkoz@redhat.com>
546 * include/bits/vector.tcc (vector::reserve): Throw length_error if
547 requested size is bigger than max_size().
548 * include/bits/stl_bvector.h (vector<bool>::reserve): Same.
549 * testsuite/23_containers/vector_capacity.cc (test02): Add.
551 2002-11-13 Benjamin Kosnik <bkoz@redhat.com>
553 * config/linker-map.gnu: Export all _S_construct.
555 2002-11-13 Loren J. Rittle <ljrittle@acm.org>
558 * src/locale.cc (std::locale::classic()): Weaken locking protocol.
560 2002-11-13 Jonathan Wakely <redi@gcc.gnu.org>
562 * docs/html/install.html, docs/html/22_locale/locale.html: HTML fix.
564 2002-11-11 Benjamin Kosnik <bkoz@redhat.com>
567 * include/bits/fstream.tcc (filebuf::open): Set input pointers.
568 * config/io/basic_file_stdio.cc (__basic_file::_M_open_mode): Set
570 (__basic_file::open): Set to non-block for input.
571 * testsuite/27_io/istream_unformatted.cc (test12): Add.
574 2002-11-11 Jonathan Wakely <redi@gcc.gnu.org>
576 * docs/html/17_intro/howto.html: Make "chapter 22 notes" a link.
577 * docs/html/faq/index.html: Mention that GCC ships with a newer
578 version of the library than the last snapshot. Make "see below" a
579 link. Add missing <html> tag.
580 * docs/html/faq/index.txt: Regenerate.
581 * docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
582 docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
583 docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
584 docs/html/27_io/howto.html, docs/html/ext/howto.html,
585 docs/html/ext/sgiexts.html: Add missing <html> tag.
587 2002-11-07 Phil Edwards <pme@gcc.gnu.org>
588 Richard Earnshaw <rearnsha@arm.com>
590 * config/cpu/generic/atomicity.h: Provide atomic __exchange_and_add
593 2002-11-08 Paolo Carlini <pcarlini@unitus.it>
595 * config/locale/gnu/monetary_members.cc
596 (moneypunct<wchar_t, true>::_M_initialize_moneypunct(__c_locale,
598 moneypunct<wchar_t, false>::_M_initialize_moneypunct(__c_locale,
599 const char*)): Tweak parameters for glibc2.3 systems, thus
600 avoiding unused parameter warnings.
602 2002-11-05 Jonathan Wakely <cow@compsoc.man.ac.uk>
604 * include/std/std_sstream.h
605 (basic_stringbuf::str(const __string_type&)):
606 Prefer data() to c_str(), thus avoiding assigning the
607 unnecessary NULL-terminator.
609 2002-11-05 Benjamin Kosnik <bkoz@redhat.com>
612 * include/bits/istream.tcc (istream::readsome): Don't set eofbit
614 (istream::operator>>(_CharT*)): Use traits_type.
616 (istream::operator>>(string)): Same.
617 * testsuite/27_io/istream_unformatted.cc (test11): Add.
619 2002-11-05 Paolo Carlini <pcarlini@unitus.it>
622 * include/std/std_sstream.h
623 (basic_stringbuf::str(const __string_type&)):
624 Cannot use simple assignment since the COW-nature of v3
625 basic_string is not taken into account in basic_stringbuf.
626 * testsuite/27_io/stringstream_members.cc: Add test04 from PR.
628 2002-11-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
630 * configure.target (hppa*): Define cpu_include_dir.
631 * config/os/hpux/os_defines.h (_GLIBCPP_INST_ATOMICITY_LOCK): Define.
632 * src/misc-inst.cc: Instantiate atomicity lock when
633 _GLIBCPP_INST_ATOMICITY_LOCK is defined.
634 * config/cpu/hppa/atomicity.h: New file.
636 2002-11-05 Benjamin Kosnik <bkoz@redhat.com>
639 * include/bits/ios_base.h (~ios_base): Make virtual.
641 2002-11-04 Benjamin Kosnik <bkoz@redhat.com>
643 * config/linker-map.gnu: Export string operator+.
644 Export __default_alloc_template::_S_force_new.
645 * testsuite/abi_check.cc: Output tweaks.
647 2002-11-01 Benjamin Kosnik <bkoz@redhat.com>
650 * src/string-inst.cc: Add instantiation.
652 2002-11-01 Benjamin Kosnik <bkoz@redhat.com>
655 * configure.target: Simplify.
656 * config/cpu/i386/atomicity.h: Remove.
657 * config/cpu/i386: Remove.
658 * config/cpu/arm/atomicity.h: Remove.
659 * config/cpu/arm: Remove.
660 * config/cpu/x86-64/atomicity.h: Remove.
661 * config/cpu/x86-64: Remove.
663 2002-11-01 Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de>
666 * config/link-map.gnu: Export math stubbs.
668 2002-11-01 Benjamin Kosnik <bkoz@redhat.com>
671 * include/std/std_iostream.h: Tweak.
672 * include/std/std_iosfwd.h: Add _GLIBCPP_USE_WCHAR_T.
673 * include/std/std_iomanip.h: Same.
674 * include/bits/stringfwd.h: Same.
675 * include/bits/basic_string.tcc: Same.
676 * include/bits/sstream.tcc: Same.
677 * include/bits/fstream.tcc: Same.
678 * include/bits/basic_ios.tcc: Same.
679 * include/bits/streambuf.tcc: Same.
680 * include/bits/locale_facets.tcc: Same.
682 2002-11-01 John Carter <john.carter@tait.co.nz>
685 * include/bits/basic_string.tcc
686 (compare(const _CharT* __s)): Don't access __s past its length.
688 2002-10-31 Zack Weinberg <zack@codesourcery.com>
690 * libsupc++/eh_globals.cc: Don't call __gthread_key_dtor.
692 2002-10-31 Benjamin Kosnik <bkoz@redhat.com>
695 * include/bits/istream.tcc (istream::tellg): Remove sentry bits.
696 (istream::seekg): Same.
697 * testsuite/27_io/istream_seeks.cc (test06): New.
699 2002-10-28 Jason Thorpe <thorpej@wasabisystems.com>
701 * testsuite/thread/pthread5.cc: Include <unistd.h>
702 if _GLIBCPP_HAVE_UNISTD_H is defined.
703 (main): Only use pthread_attr_setscope if
704 _POSIX_THREAD_PRIORITY_SCHEDULING is defined.
706 2002-10-28 Jason Thorpe <thorpej@wasabisystems.com>
708 * testsuite/thread/pthread1.cc: Enable on *-*-netbsd*.
709 * testsuite/thread/pthread2.cc: Likewise.
710 * testsuite/thread/pthread3.cc: Likewise.
711 * testsuite/thread/pthread4.cc: Likewise.
712 * testsuite/thread/pthread5.cc: Likewise.
713 * testsuite/thread/pthread6.cc: Likewise.
715 2002-10-27 Paolo Carlini <pcarlini@unitus.it>
718 * include/bits/basic_string.tcc
719 (string::_S_construct(_InIter, _InIter, const _Alloc&,
720 forward_iterator_tag)): Do not throw logic error if
721 __beg == NULL && __end == __beg.
722 (string::string(const _CharT*, const _Alloc&)): Tweak.
723 * testsuite/21_strings/ctor_copy_dtor.cc: Add test05 from PR.
725 2002-10-24 Hans-Peter Nilsson <hp@bitrange.com>
730 * testsuite/testsuite_hooks.cc (__set_testsuite_memlimit): Use
731 __typeof__ (r.rlim_cur), not rlim_t in declaration of limit.
733 2002-10-23 Jakub Jelinek <jakub@redhat.com>
735 * testsuite/22_locale/num_put_members_char.cc (test01): Swap size
736 and decimal_point arguments of find.
737 * testsuite/22_locale/num_put_members_wchar_t.cc (test01): Likewise.
739 2002-10-22 Jakub Jelinek <jakub@redhat.com>
741 * Makefile.am (check-abi, new-abi-baseline): Use @glibcpp_srcdir@
742 instead of ${top_srcdir}.
743 * Makefile.in: Rebuilt.
745 2002-10-22 Loren J. Rittle <ljrittle@acm.org>
747 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
748 Remove specialization for FreeBSD systems.
750 2002-10-18 Loren J. Rittle <ljrittle@acm.org>
752 * configure.target (freebsd*): Use abi_baseline_triplet.
753 * config/abi/i386-unknown-freebsd4/baseline_symbols.txt: New file.
754 * config/abi/i386-unknown-freebsd4.7/baseline_symbols.txt: Remove.
756 * testsuite/thread/pthread1.cc: Remove needless workaround
759 2002-10-18 Loren J. Rittle <ljrittle@acm.org>
760 Brad Spencer <spencer@infointeractive.com>
761 (provided alternate patch and improvements)
763 * docs/html/23_containers/howto.html (GLIBCPP_FORCE_NEW): Document
764 new environment variable which replaces all uses of __USE_MALLOC
766 * docs/html/ext/howto.html (GLIBCPP_FORCE_NEW): Likewise.
767 (__mem_interface): Remove all references to old internal typedef.
768 * include/backward/alloc.h (__USE_MALLOC): Remove it and all
770 * include/bits/c++config (__USE_MALLOC): Update related error
772 * include/bits/stl_alloc.h (__USE_MALLOC): Remove it and all
773 guarded code. Update all related comments.
774 (__mem_interface): Unconditionally replace it with __new_alloc.
775 However, leave the typedef around in case anyone used it.
776 (__default_alloc_template<>::_S_force_new): New class static.
777 (__default_alloc_template<>::allocate, deallocate): Add
778 run-time controlled feature similar to what __USE_MALLOC code
780 * src/stl-inst.cc (__USE_MALLOC): Remove it and all
782 * testsuite/21_strings/capacity.cc: Remove reference to __USE_MALLOC.
783 Add documentation on GLIBCPP_FORCE_NEW environment variable.
784 * testsuite/ext/allocators.cc: Likewise.
786 2002-10-18 Phil Edwards <pme@gcc.gnu.org>
788 * configure.in: Use target, not target_alias, when matching triplet
790 * configure: Regenerate.
792 2002-10-17 Momchil Velikov <velco@fadata.bg>
793 Loren J. Rittle <ljrittle@acm.org>
795 * configure.in: Add *-freebsd* to cross list.
796 * configure: Rebuilt.
798 2002-10-16 Benjamin Kosnik <bkoz@redhat.com>
800 * include/bits/locale_facets.h (__timepunct::__timepunct): Allocate
802 (__timepunct::~__timepunct): Deallocate, remove specialization
804 (messages::messages): Allocate _M_name_messages.
805 (messages::~messages): Deallocate.
806 (messages_byname): Same.
807 * config/locale/gnu/time_members.cc (__timepunct::~__timepunct):
809 * config/locale/generic/time_members.cc (__timepunct::~__timepunct):
812 * docs/html/install.html: Add es_MX, en_PH to required locales list.
814 2002-10-16 Benjamin Kosnik <bkoz@redhat.com>
816 * config/linker-map.gnu: Add exports for codecvt constructors
817 where size_t == unsigned long.
819 2002-10-14 Benjamin Kosnik <bkoz@redhat.com>
821 * src/globals.cc (__gnu_cxx::c_locale_impl_compat): Add, alias to
823 * testsuite/abi_check.cc (line_to_symbol_info): Collect size info.
824 * docs/html/abi.txt: Update.
826 2002-10-14 Benjamin Kosnik <bkoz@redhat.com>
828 * testsuite/22_locale/static_members.cc (test02): Less provincial.
830 2002-10-14 Benjamin Kosnik <bkoz@redhat.com>
832 * testsuite/22_locale/static_members.cc (test02): Disable for
833 systems without named locale support.
834 * testsuite/22_locale/ctor_copy_dtor.cc (test04): Don't assume
835 running the testsuites in "C" environment.
837 * docs/html/22_locale/locale.html: Update.
839 2002-10-13 Danny Smith <dannysmith@users.sourceforge.net>
841 * include/bits/stl_threads.h (_GLIBCPP_mutex,
842 _GLIBCPP_mutex_init,_GLIBCPP_mutex_address,
843 _GLIBCPP_mutex_address_init, _GLIBCPP_once):
844 Declare in namespace __gnu_cxx.
845 (_STL_mutex_lock::_M_initialize): Qualify __gnu_cxx
849 2002-10-12 Benjamin Kosnik <bkoz@redhat.com>
851 * testsuite/abi_check.cc (hash<string>): Specialize.
852 Simplify. Check compatible symbol versions.
853 * config/linker-map.gnu: Clarify, explicitly export
854 std::codecvt::c* symbols.
856 * testsuite/22_locale/static_members.cc (test02): Avoid null strings.
858 2002-10-12 Jonathan Wakely <jw@kayari.org>
859 Gabriel Dos Reis <gdr@integrable-solutions.net>
861 * docs/html/21_strings/howto.html#5: Correct nasting of XHTML
862 elements. Correct allocator-related text.
864 2002-10-11 Benjamin Kosnik <bkoz@redhat.com>
866 * testsuite/22_locale/static_members.cc (test02): Fix.
868 2002-10-11 Benjamin Kosnik <bkoz@redhat.com>
870 * acconfig.h (_GLIBCPP_SYMVER): Add.
871 (_GLIBCPP_ASM_SYMVER): Add.
872 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Define _GLIBCPP_SYMVER.
873 * aclocal.m4: Regenerate.
874 * config.h.in: Regenerate.
875 * configure: Regenerate.
876 * include/bits/c++config (_GLIBCPP_AT_AT): Define, as an expedient
877 hack around m4 issues with quoting '@'.
878 * src/locale.cc: Use _GLIBCPP_ASM_SYMVER.
879 * src/globals.cc: Same.
881 * testsuite/22_locale/ctor_copy_dtor.cc (test04): Fix for
884 2002-10-10 Benjamin Kosnik <bkoz@redhat.com>
886 * config/linker-map.gnu (GLIBCPP_3.2.1): Add.
887 (GLIBCPP_3.2): Don't export locale::_S_*.
888 * src/ios.cc: Move globals into __gnu_cxx. Make old exported
890 * src/locale.cc: Same.
891 * src/localename.cc: Same.
892 * src/globals.cc: Same.
894 2002-10-10 Phil Edwards <pme@gcc.gnu.org>
896 * docs/html/21_strings/howto.html: Write #5, char_traits.
897 * docs/html/17_intro/porting.texi: Expand on os_include_dir.
898 * docs/html/17_intro/porting.html: Regenerate.
900 2002-10-09 Benjamin Kosnik <bkoz@redhat.com>
902 * src/locale.cc: Fix comments, move ctors together.
903 * testsuite/22_locale/static_members.cc (test03): Add.
905 2002-10-08 Jonathan Lennox <lennox@cs.columbia.edu>
907 PR libstdc++/8071, libstdc++/8127, libstdc++/6745
908 * streambuf.tcc (__copy_streambufs): Handle cases where
909 __sbin->in_avail() returns 0, or where __sbin doesn't set gptr().
910 * testsuite/27_io/ostream_inserter_other.cc (test05): Add.
912 2002-10-08 Paolo Carlini <pcarlini@unitus.it>
913 Benjamin Kosnik <bkoz@redhat.com>
915 * include/bits/localefwd.h (class locale): Add static member
916 _S_num_extra_categories, encoding the number of additional
918 Change _S_num_categories to _S_categories_size.
919 (class locale::_Impl): Add _M_c_cats.
920 (class locale::_Impl::_M_names): Change to array of chars.
921 (class locale::_Impl::_M_check_same_name): Use
922 _S_extra_categories_size, tweak.
923 (locale::locale(const locale&, _Facet*)): Ditto.
924 * src/locale.cc (locale::locale(const char* )): Rewrite to deal
925 with the environment in a POSIX-compliant way while being thread
927 (locale::name()): Update to output POSIX environment strings.
929 (locale::_Impl::_Impl(const _Impl&, size_t): Use
930 _S_categories_size_*, tweak.
931 (locale::_Impl::_Impl(facet**, size_t, bool)): Ditto.
932 (locale::_Impl::_Impl(const char*, size_t)): Name each category
934 (locale::_Impl::_M_replace_categories): Use strcpy.
936 * include/bits/locale_facets.h (numpunct::_M_initialize_numpunct):
937 Change default argument to NULL from _S_c_locale.
938 (timepunct::_M_initialize_timepunct): Same.
939 _S_c_locale cleanups.
940 * src/codecvt.c: _S_c_locale simplification.
942 * src/globals.cc: Add fake_name.
943 * src/locale-inst.cc: Remove extra includes.
944 * src/locale.cc: Remove extra includes.
945 Add _S_extra_categories_size definition.
946 Correct "C" initialization.
947 (locale::facet::facet): Don't initialize _S_c_locale.
948 (locale::facet::_M_remove_reference): Adjust.
949 * src/localename: Use facet_vec, facet_name.
950 (locale::_Impl::_Impl(facet** __f, size_t __refs, bool)): Set
951 facet ref counts to one. Initialize _S_c_locale.
952 (locale::_Impl::_M_install_facet(id*, facet*)): Adjust facet ref
953 counts when installing unilaterally.
955 * config/locale/generic/c_locale.cc: Add _S_categories definition.
956 * config/locale/generic/c_locale.h: Add _GLIBCPP_NUM_CATEGORIES macro.
957 * config/locale/generic/time_members.cc: _S_c_locale cleanup.
959 * config/locale/gnu/c_locale.cc: Add _S_categories definition.
960 (_S_destroy_c_locale): Move checks against _S_c_locale here.
961 * config/locale/gnu/c_locale.h: Add _GLIBCPP_NUM_CATEGORIES macro.
962 * config/locale/gnu/ctype_members.cc: Simplify _S_destroy_c_locale
963 calls, _S_c_locale usage.
964 * config/locale/gnu/monetary_members.cc: Same, tweaks.
965 * config/locale/gnu/monetary_members.cc: Same.
966 * config/locale/gnu/time_members.cc: Same.
967 * config/os/gnu-linux/ctype_noninline.h: Use locale::classic().
969 * docs/html/22_locale/locale.html: Add bits about global locales
972 * testsuite/22_locale/facet.cc (test02): Add.
973 * testsuite/22_locale/static_members.cc (test02): Add.
974 * testsuite/22_locale/ctor_copy_dtor.cc (test04): Add.
976 2002-10-07 Jonathan Wakely <jw@kayari.org>
978 * docs/html/configopts.html, docs/html/documentation.html,
979 docs/html/explanations.html, docs/html/install.html,
980 docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
981 docs/html/17_intro/license.html, docs/html/18_support/howto.html,
982 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
983 docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
984 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
985 docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
986 docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
987 docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
988 docs/html/27_io/howto.html, docs/html/ext/howto.html,
989 docs/html/ext/sgiexts.html, docs/html/faq/index.html: Add DOCTYPEs.
991 2002-10-03 Richard Earnshaw <rearnsha@arm.com>
994 * config/cpu/arm/atomicity.h (__exchange_and_add): Don't try to use
995 ASM sequences that don't give us atomic addition operations. Instead
996 just add a comment explaining why it doesn't work.
997 (__atomic_add): Just use __exchange_and_add.
998 (__test_and_set, __always_swap): Delete.
1000 2002-10-02 Andreas Jaeger <aj@suse.de>
1002 * config/abi/x86_64-unknown-linux-gnu/baseline_symbols.txt:
1005 2002-10-01 Phil Edwards <pme@gcc.gnu.org>
1007 * Makefile.am (check-abi): Add @ to rule.
1008 * Makefile.in: Regenerated.
1010 2002-09-27 Paolo Carlini <pcarlini@unitus.it>
1012 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
1013 Deal correctly with grouped, showbased (oct or hex) zero.
1014 * testsuite/22_locale/num_put_members_char.cc: Add test05.
1015 * testsuite/22_locale/num_put_members_wchar_t.cc: Ditto.
1017 2002-09-27 Richard Henderson <rth@redhat.com>
1019 * config/os/hpux/cpu_limits.h: Remove.
1021 * include/std/std_limits.h (numeric_limits<T>::is_iec559): False
1022 if denormals are not supported.
1024 2002-09-25 Benjamin Kosnik <bkoz@redhat.com>
1026 * include/Makefile.am (target_headers): Remove cpu_limits.h.
1027 * include/Makefile.in: Regenerate.
1028 * configure.in (CPU_LIMITS_INC_SRCDIR): Remove
1029 * configure: Regenerate.
1030 * configure.target (CPULIMITS): Remove.
1032 * include/std/std_limits.h: Remove cpu_limits.h include.
1034 * config/os/solaris/solaris2.7/os_defines.h (__glibcpp_long_bits):
1036 * config/os/irix/irix6.5/os_defines.h
1037 (__glibcpp_long_double_bits): Remove.
1038 (__glibcpp_wchar_t_bits): Remove.
1039 (__glibcpp_long_bits): Remove.
1040 * config/os/irix/irix5.2/os_defines.h
1041 (__glibcpp_long_double_bits): Remove.
1042 (__glibcpp_long_bits): Remove.
1043 * config/os/hpux/os_defines.h (__glibcpp_wchar_t_is_signed): Remove.
1044 * config/os/bsd/freebsd/os_defines.h:
1045 (__glibcpp_long_double_bits): Remove.
1046 * config/os/aix/os_defines.h (__glibcpp_wchar_t_bits): Remove.
1047 (__glibcpp_wchar_t_is_signed): Remove.
1048 (__glibcpp_long_bits): Remove.
1049 * config/os/gnu-linux/os_defines.h (__glibcpp_long_bits): Remove.
1050 (__glibcpp_long_double_bits): Remove.
1052 * config/os/osf/osf5.0/cpu_limits.h: Remove.
1053 * config/cpu/alpha/cpu_limits.h: Remove.
1054 * config/cpu/arm/cpu_limits.h: Remove.
1055 * config/cpu/cris/cpu_limits.h: Remove.
1056 * config/cpu/generic/cpu_limits.h: Remove.
1057 * config/cpu/generic/limits.h: Remove.
1058 * config/cpu/ia64/cpu_limits.h: Remove.
1059 * config/cpu/m68k/cpu_limits.h: Remove.
1060 * config/cpu/mmix/cpu_limits.h: Remove.
1061 * config/cpu/powerpc/cpu_limits.h: Remove.
1062 * config/cpu/S390/cpu_limits.h: Remove.
1064 2002-09-25 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1066 * testsuite/18_support/numeric_limits.cc: Check the maximum and
1067 minimum values of the wchar_t type.
1069 2002-09-25 Mark Mitchell <mark@codesourcery.com>
1071 * include/std/std_limits.h (numeric_limits<unsigned char>::digits):
1074 2002-09-23 Richard Henderson <rth@redhat.com>
1076 * include/std/std_limits.h (__glibcpp_plain_char_is_signed,
1077 __glibcpp_wchar_t_is_signed, __glibcpp_s8_max, __glibcpp_s8_min,
1078 __glibcpp_s8_digits, __glibcpp_s8_digits10, __glibcpp_u8_min,
1079 __glibcpp_u8_max, __glibcpp_u8_digits, __glibcpp_u8_digits10,
1080 __glibcpp_s16_max, __glibcpp_s16_min, __glibcpp_s16_digits,
1081 __glibcpp_s16_digits10, __glibcpp_u16_min, __glibcpp_u16_max,
1082 __glibcpp_u16_digits, __glibcpp_u16_digits10, __glibcpp_s32_max,
1083 __glibcpp_s32_min, __glibcpp_s32_digits, __glibcpp_s32_digits10,
1084 __glibcpp_u32_min, __glibcpp_u32_max, __glibcpp_u32_digits,
1085 __glibcpp_u32_digits10, __glibcpp_s64_max, __glibcpp_s64_min,
1086 __glibcpp_s64_digits, __glibcpp_s64_digits10, __glibcpp_u64_min,
1087 __glibcpp_u64_max, __glibcpp_u64_digits, __glibcpp_u64_digits10,
1088 __glibcpp_bool_digits, __glibcpp_signed_char_min,
1089 __glibcpp_signed_char_max, __glibcpp_signed_char_digits,
1090 __glibcpp_signed_char_digits10, __glibcpp_unsigned_char_min,
1091 __glibcpp_unsigned_char_max, __glibcpp_unsigned_char_digits,
1092 __glibcpp_unsigned_char_digits10, __glibcpp_char_min,
1093 __glibcpp_char_max, __glibcpp_char_digits, __glibcpp_char_digits10,
1094 __glibcpp_signed_short_min, __glibcpp_signed_short_max,
1095 __glibcpp_signed_short_digits, __glibcpp_signed_short_digits10,
1096 __glibcpp_unsigned_short_min, __glibcpp_unsigned_short_max,
1097 __glibcpp_unsigned_short_digits, __glibcpp_unsigned_short_digits10,
1098 __glibcpp_signed_int_min, __glibcpp_signed_int_max,
1099 __glibcpp_signed_int_digits, __glibcpp_signed_int_digits10,
1100 __glibcpp_unsigned_int_min, __glibcpp_unsigned_int_max,
1101 __glibcpp_unsigned_int_digits, __glibcpp_unsigned_int_digits10,
1102 __glibcpp_signed_long_min, __glibcpp_signed_long_max,
1103 __glibcpp_unsigned_long_digits, __glibcpp_unsigned_long_digits10,
1104 __glibcpp_signed_long_long_min, __glibcpp_signed_long_long_max,
1105 __glibcpp_signed_long_long_digits, __glibcpp_signed_long_long_digits10,
1106 __glibcpp_wchar_t_min, __glibcpp_wchar_t_max, __glibcpp_wchar_t_digits,
1107 __glibcpp_wchar_t_digits10): Remove.
1108 (__glibcpp_byte, __glibcpp_word_bits, __glibcpp_word): Remove.
1109 (__float_storage, __double_storage, __long_double_storage): Remove.
1110 (__glibcpp_signed, __glibcpp_min, __glibcpp_max): New.
1111 (__glibcpp_digits, __glibcpp_digits10): New.
1112 (numeric_limits<T>::min): Use __glibcpp_min or limits.h builtins.
1113 (numeric_limits<T>::max): Use __glibcpp_max or limits.h builtins.
1114 (numeric_limits<T>::is_signed, T=char,wchar_t): Use __glibcpp_signed.
1115 (numeric_limits<T>::digits): Use __glibcpp_digits.
1116 (numeric_limits<T>::digits10): Use __glibcpp_digits10.
1117 * testsuite/18_support/numeric_limits.cc (test03): Don't use
1118 __glibcpp_s8_digits10 et al; check vs the installed versions
1119 of digits10 for particular sizes.
1121 * include/std/std_limits.h (__glibcpp_float_is_modulo,
1122 __glibcpp_double_is_modulo, __glibcpp_long_double_is_modulo): Kill.
1123 (numeric_limits<T>::is_modulo, T floating): Use false.
1125 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1127 * Makefile.am (all-multi): Fix multilib parallel build.
1129 2002-09-22 Richard Henderson <rth@redhat.com>
1131 * include/std/std_limits.h (__glibcpp_f32_round_error,
1132 __glibcpp_f64_round_error, __glibcpp_f80_round_error,
1133 __glibcpp_f96_round_error, __glibcpp_f128_round_error,
1134 __glibcpp_float_round_error, __glibcpp_double_round_error,
1135 __glibcpp_long_double_round_error, __glibcpp_float_round_style,
1136 __glibcpp_double_round_style, __glibcpp_long_double_round_style): Kill.
1137 (numeric_limits<char>::epsilon, round_error): Use constant 0.
1138 (numeric_limits<float>::round_error): Use constant 0.5.
1139 (numeric_limits<float>::round_style): Use round_to_nearest.
1140 (numeric_limits<double>, numeric_limits<long double>): Similarly.
1142 * include/std/std_limits.h (__glibcpp_f32_is_iec559,
1143 __glibcpp_f64_is_iec559, __glibcpp_f80_is_iec559,
1144 __glibcpp_f96_is_iec559, __glibcpp_f128_is_iec559,
1145 __glibcpp_float_is_iec559, __glibcpp_double_is_iec559,
1146 __glibcpp_long_double_is_iec559): Remove.
1147 (numeric_limits<float>::is_iec559): Use has_infinity & has_quiet_NaN.
1148 (numeric_limits<double>, numeric_limits<long double>): Similarly.
1150 * include/std/std_limits.h (__glibcpp_integral_traps): New.
1151 (__glibcpp_char_traps, __glibcpp_short_traps, __glibcpp_int_traps,
1152 __glibcpp_long_traps, __glibcpp_wchar_t_traps,
1153 __glibcpp_long_long_traps, __glibcpp_plain_char_traps,
1154 __glibcpp_signed_char_traps, __glibcpp_unsigned_char_traps,
1155 __glibcpp_signed_short_traps, __glibcpp_unsigned_short_traps,
1156 __glibcpp_signed_int_traps, __glibcpp_unsigned_int_traps,
1157 __glibcpp_signed_long_traps, __glibcpp_unsigned_long_traps,
1158 __glibcpp_signed_long_long_traps, __glibcpp_unsigned_long_long_traps,
1159 __glibcpp_char_is_modulo, __glibcpp_signed_char_is_modulo,
1160 __glibcpp_signed_short_is_modulo, __glibcpp_signed_int_is_modulo,
1161 __glibcpp_signed_long_is_modulo, __glibcpp_signed_long_long_is_modulo,
1162 __glibcpp_wchar_t_is_modulo, __glibcpp_float_is_bounded,
1163 __glibcpp_double_is_bounded, __glibcpp_long_double_is_bounded): Kill.
1164 (numeric_limits<T>::traps, T integral): Use __glibcpp_integral_traps.
1165 (numeric_limits<T>::is_modulo, T integral): Use true.
1166 (numeric_limits<T>::is_bounded, T floating): Use true.
1168 2002-09-18 Loren J. Rittle <ljrittle@acm.org>
1170 * testsuite/18_support/numeric_limits.cc (test_epsilon): New.
1172 2002-09-18 Richard Henderson <rth@redhat.com>
1174 * testsuite/18_support/numeric_limits.cc: Add -mieee for alpha.
1176 2002-09-16 Benjamin Kosnik <bkoz@redhat.com>
1178 * include/c_shadow: Remove.
1179 * include/bits/generic_shadow.h: Remove.
1180 * include/Makefile.am: Remove generic_shadow.h.
1181 * acinclude.m4: Remove c_shadow references.
1182 * aclocal.m4: Regenerate.
1183 * configure: Regenerate.
1184 * mkcshadow: Remove.
1185 * mkinclosure: Remove.
1187 2002-09-16 Loren J. Rittle <ljrittle@acm.org>
1190 * include/ext/stl_rope.h (rope<>): Qualify dependent names
1193 2002-09-16 Richard Henderson <rth@redhat.com>
1195 * include/std/std_limits.h (__glibcpp_f32_QNaN_bytes,
1196 __glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
1197 __glibcpp_f32_has_SNaN, __glibcpp_f64_QNaN_bytes,
1198 __glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
1199 __glibcpp_f64_has_SNaN, __glibcpp_f80_QNaN_bytes,
1200 __glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
1201 __glibcpp_f80_has_SNaN, __glibcpp_f96_QNaN_bytes,
1202 __glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
1203 __glibcpp_f96_has_SNaN, __glibcpp_f128_QNaN_bytes,
1204 __glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
1205 __glibcpp_f128_has_SNaN, __glibcpp_float_QNaN_bytes,
1206 __glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
1207 __glibcpp_float_has_SNaN, __glibcpp_double_QNaN_bytes,
1208 __glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
1209 __glibcpp_double_has_SNaN, __glibcpp_long_double_QNaN_bytes,
1210 __glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
1211 __glibcpp_long_double_has_SNaN): Remove.
1212 (__glibcpp_f128_is_iec559): True if IEEE.
1213 (__glibcpp_float_QNaN, __glibcpp_float_SNaN): Remove.
1214 (__glibcpp_double_QNaN, __glibcpp_double_SNaN): Remove.
1215 (__glibcpp_long_double_QNaN, __glibcpp_long_double_SNaN): Remove.
1216 (std::numeric_limits<float>::has_quiet_NaN): Use __builtin_nanf.
1217 (std::numeric_limits<float>::has_signaling_NaN): Mirror has_quiet_NaN.
1218 (std::numeric_limits<float>::quiet_NaN): Use __builtin_nanf.
1219 (std::numeric_limits<float>::signaling_NaN): Use __builtin_nansf.
1220 (std::numeric_limits<double>): Similarly.
1221 (std::numeric_limits<long double>): Similarly.
1222 * src/limits.cc (__glibcpp_float_QNaN, __glibcpp_float_SNaN): Remove.
1223 (__glibcpp_double_QNaN, __glibcpp_double_SNaN): Remove.
1224 (__glibcpp_long_double_QNaN, __glibcpp_long_double_SNaN): Remove.
1226 * testsuite/18_support/numeric_limits.cc (test_infinity): New.
1227 (test_denorm_min, test_qnan, test_is_iec559): New.
1229 2002-09-16 Phil Edwards <pme@gcc.gnu.org>
1231 * testsuite/abi_check.cc: Pull shell fragments out into...
1232 * config/abi/extract_symvers: ...here. New file.
1233 * Makefile.am (check_abi): Change to match.
1234 (new-abi-baseline): New target.
1235 * Makefile.in: Regenerated.
1237 2002-09-16 Richard Henderson <rth@redhat.com>
1239 * include/std/std_limits.h (__glibcpp_f32_denorm_min_bytes,
1240 __glibcpp_f32_has_denorm, __glibcpp_f64_denorm_min_bytes,
1241 __glibcpp_f64_has_denorm, __glibcpp_f80_denorm_min_bytes,
1242 __glibcpp_f80_has_denorm, __glibcpp_f96_denorm_min_bytes,
1243 __glibcpp_f96_has_denorm, __glibcpp_f128_denorm_min_bytes,
1244 __glibcpp_f128_has_denorm, __glibcpp_float_denorm_min_bytes,
1245 __glibcpp_float_has_denorm, __glibcpp_double_denorm_min_bytes,
1246 __glibcpp_double_has_denorm, __glibcpp_long_double_denorm_min_bytes,
1247 __glibcpp_long_double_has_denorm): Remove.
1248 (__glibcpp_float_denorm_min, __glibcpp_double_denorm_min,
1249 __glibcpp_long_double_denorm_min): Remove.
1250 (std::numeric_limits<float>::has_denorm): Use __FLT_DENORM_MIN__.
1251 (std::numeric_limits<float>::denorm_min): Likewise.
1252 (std::numeric_limits<double>): Similarly.
1253 (std::numeric_limits<long double>): Similarly.
1254 * src/limits.cc (__glibcpp_float_denorm_min,
1255 __glibcpp_double_denorm_min, __glibcpp_long_double_denorm_min): Remove.
1257 2002-09-13 Andy Felt <afelt@uwsp.edu>
1259 * docs/html/17_intro/howto.html: Update link.
1261 2002-09-13 Phil Edwards <pme@gcc.gnu.org>
1263 * docs/doxygen/run_doxygen: Massage man page for Iterator_types.3.
1264 * docs/html/faq/index.html: Whitespace fixes.
1266 2002-09-12 Benjamin Kosnik <bkoz@redhat.com>
1268 * libmath/Makefile.am (LIBTOOL): Use --tag CC always for this
1270 * libmath/Makefile.in: Regenerate.
1271 * src/Makefile.am: Tweak comment.
1272 * src/Makefile.in: Regenerate.
1274 * config/locale/gnu/c_locale.h: Remove warnings.
1275 Inject __uselocale into __gnu_cxx.
1276 * config/locale/generic/c_locale.h: Match.
1278 2002-09-11 Benjamin Kosnik <bkoz@redhat.com>
1280 * include/bits/locale_facets.tcc (__convert_from_v): Remove.
1281 * config/locale/gnu/c_locale.h (__convert_from_v): Add.
1282 * config/locale/generic/c_locale.h (__convert_from_v): Add.
1284 2002-09-11 Paolo Carlini <pcarlini@unitus.it>
1286 * include/bits/locale_facets.tcc (__convert_from_v):
1287 Use __uselocale instead of setlocale for glibc 2.3+.
1289 2002-09-10 Benjamin Kosnik <bkoz@redhat.com>
1291 * src/Makefile.am (sources): Edit.
1292 (target_sources): New.
1293 (target_sources_extra): New.
1294 * src/Makefile.in: Regenerate.
1295 * acinclude.m4: Set CCODECVT_CC.
1296 * aclocal.m4: Regenerate.
1297 * configure: Regenerate.
1298 * src/locale.cc: Move ctype definitions...
1299 * src/ctype.cc: ...here. New file.
1300 * src/locale.cc: Move codecvt definitions...
1301 * src/codecvt.cc: ...here.
1302 * config/generic/codecvt_members.cc: ...and here.
1303 * config/gnu/codecvt_members.cc: ...and here.
1304 * include/bits/codecvt.h: Tweak.
1305 * include/bits/locale_facets: Tweak.
1307 * src/bitset.cc: Correct license text.
1308 * src/concept-inst.cc: Same.
1309 * src/strstream.cc: Same.
1310 * src/vterminate.cc: Same.
1312 2002-09-10 Gabriel Dos Reis <gdr@soliton.integrable-solutions.net>
1314 * include/bits/stl_vector.h (vector<>): Don't use a name with
1315 different meanings before and after re-evaluation in the completed
1317 * include/bits/basic_string.h (basic_string<>): Likewise.
1318 * include/bits/stl_bvector.h (vector<bool>): Likewise.
1319 * include/bits/stl_deque.h (std): Likewise.
1320 * include/bits/stl_list.h (list<>): Likewise.
1321 * include/bits/stl_tree.h (_Rb_tree<>): Likewise.
1323 2002-09-10 Paolo Carlini <pcarlini@unitus.it>
1325 * include/bits/codecvt.h (class __codecvt_abstract_base):
1326 Add __c_locale type _M_c_locale_codecvt member.
1327 (class codecvt<char, char, mbstate_t>,
1328 class codecvt<wchar_t, char, mbstate_t>): Add new
1329 codecvt(__c_locale, size_t) constructor.
1330 (codecvt_byname::codecvt_byname): Update.
1331 * src/codecvt.cc (class codecvt<char, char, mbstate_t>,
1332 class codecvt<wchar_t, char, mbstate_t>): Update codecvt(size_t)
1333 constructor and ~codecvt() destructor; define
1334 codecvt(__c_locale, size_t) constructor.
1335 (codecvt::do_out): Switch to _M_c_locale_codecvt around wcsrtombs call.
1336 (codecvt::do_in): Ditto for mbsrtowcs call.
1337 * src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
1338 Tweak construction of codecvt facets.
1340 2002-09-10 Danny Smith <dannysmith@users.sourceforge.net>
1342 * include/bits/locale_facets.tcc (__convert_from_v):
1343 Replace strdup with ISO malloc and strcpy.
1345 2002-09-09 Benjamin Kosnik <bkoz@redhat.com>
1347 * docs/html/configopts.html: Change grouping. Note ABI impacts.
1348 Update information for locale model defaults.
1349 * docs/html/install.html: Update include directory
1351 Update testing information.
1352 Update linux issues for named locales.
1353 * docs/html/abi.txt: Fix typos.
1356 * src/misc-inst.cc: Add missing instantiations.
1358 * testsuite/abi_check.cc: Make output results more verbose.
1360 * config/os/gnu-linux/ctype_base.h: Remove shadow headers injections.
1362 2002-09-07 Jakub Jelinek <jakub@redhat.com>
1364 * config/locale/generic/messages_members.cc: Add specialization for
1366 * config/locale/ieee_1003.1-20021/messages_members.cc: Likewise.
1368 2002-09-06 Benjamin Kosnik <bkoz@redhat.com>
1370 * include/bits/localefwd.h: Tweak formatting.
1371 * docs/html/abi.txt: Add.
1373 2002-09-06 Jakub Jelinek <jakub@redhat.com>
1375 * configure.target: Use cpu_include_dir="config/cpu/sparc" for all
1377 * config/cpu/sparc/atomicity.h: New file.
1378 * config/cpu/sparc/sparc32/atomicity.h: Removed.
1379 * config/cpu/sparc/sparc64/atomicity.h: Removed.
1381 2002-09-06 Jakub Jelinek <jakub@redhat.com>
1383 * config/os/gnu-linux/ctype_noninline.h
1384 [_GLIBCPP_USE_SHADOW_HEADERS]: Remove using _C_legacy::__ctype_*.
1385 (ctype<char>::classic_table): If _GLIBCPP_C_LOCALE_GNU, return
1386 _S_c_locale->__ctype_b, otherwise temporarily switch to "C" locale
1387 and return __ctype_b.
1388 (ctype<char>::ctype(__c_locale, const mask*, bool, size_t)): If not
1389 _GLIBCPP_C_LOCALE_GNU, temporarily switch to "C" locale and
1390 initialize using __ctype_{b,tolower,toupper}.
1391 (ctype<char>::ctype(const mask*, bool, size_t)): If
1392 _GLIBCPP_C_LOCALE_GNU, initialize using
1393 _S_c_locale->__ctype_{b,tolower,toupper}, otherwise temporarily
1394 switch to "C" locale and initialize using __ctype_{b,tolower,toupper}.
1396 2002-09-05 Paolo Carlini <pcarlini@unitus.it>
1397 Roland McGrath <roland@redhat.com>
1400 * src/locale.cc (locale::locale(__s)): Use getenv instead
1401 of setenv for the environment locale.
1402 * testsuite/22_locale/ctor_copy_dtor.cc (test03): New.
1404 2002-09-05 Jakub Jelinek <jakub@redhat.com>
1406 * config/abi/ia64-unknown-linux-gnu: Add.
1407 * config/abi/ia64-unknown-linux-gnu/baseline_symbols.txt: New file.
1408 * config/abi/alphaev67-unknown-linux-gnu: Add.
1409 * config/abi/alphaev67-unknown-linux-gnu/baseline_symbols.txt: New file.
1411 2002-09-05 Jonathan Wakely <jw@kayari.org>
1413 * docs/html/Makefile: Use more portable shell wildcard.
1414 * docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
1415 * docs/html/configopts.html, docs/html/documentation.html,
1416 docs/html/explanations.html, docs/html/install.html,
1417 docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
1418 docs/html/17_intro/license.html, docs/html/18_support/howto.html,
1419 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
1420 docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
1421 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
1422 docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
1423 docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
1424 docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
1425 docs/html/27_io/howto.html, docs/html/ext/howto.html,
1426 docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
1428 * docs/html/faq/index.txt: Regenerate.
1430 2002-09-05 Jakub Jelinek <jakub@redhat.com>
1432 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_widen(char)):
1433 Switch to _M_c_locale_ctype around btowc call.
1434 (ctype<wchar_t>::do_widen(const char*, const char *, wchar_t*)):
1435 Switch to _M_c_locale_ctype around mbsrtowcs call.
1436 (ctype<wchar_t>::do_narrow(char)): Switch to _M_c_locale_ctype around
1438 (ctype<wchar_t>::do_narrow(const char*, const char *, wchar_t*)):
1439 Switch to _M_c_locale_ctype around wcsrtombs call.
1441 2002-09-05 Jakub Jelinek <jakub@redhat.com>
1443 * config/locale/gnu/monetary_members.cc
1444 (moneypunct<wchar_t, true>::_M_initialize_moneypunct,
1445 moneypunct<wchar_t, false>::_M_initialize_moneypunct): Use
1446 __uselocale instead of setlocale for glibc 2.3.
1448 2002-09-05 Jakub Jelinek <jakub@redhat.com>
1450 * config/locale/generic/c++locale_internal.h: New header.
1451 * config/locale/gnu/c++locale_internal.h: New header.
1452 * config/locale/gnu/c_locale.cc: Include it.
1453 * config/locale/gnu/collate_members.cc: Include it.
1454 * config/locale/gnu/ctype_members.cc: Include it.
1455 * config/locale/gnu/messages_members.cc: Include it.
1456 * config/locale/gnu/monetary_members.cc: Include it.
1457 * config/locale/gnu/numeric_members.cc: Include it.
1458 * config/locale/gnu/time_members.cc: Include it.
1459 (_M_put): Reorder __strftime_l and __wcsftime_l arguments to match
1461 (_M_initialize_timepunct): Initialize _M_c_locale_timepunct for
1463 * acinclude.m4: Include string.h when testing strcoll_l.
1464 For glibc 2.3 provide __-prefixed prototypes.
1465 (CLOCALE_INTERNAL_H): Set, add AC_LINK_FILES line.
1466 * aclocal.m4, configure: Rebuilt.
1468 2002-09-05 Benjamin Kosnik <bkoz@redhat.com>
1470 * include/bits/locale_facets.h: Add declaration of specialization
1472 * config/locale/gnu/messages_members.cc: Add specialization for
1474 * config/locale/gnu/messages_members.h: Remove generic definition
1477 2002-09-04 Richard Henderson <rth@redhat.com>
1479 * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
1480 __glibcpp_f32_has_infinity, __glibcpp_f64_infinity_bytes,
1481 __glibcpp_f64_has_infinity, __glibcpp_f80_infinity_bytes,
1482 __glibcpp_f80_has_infinity, __glibcpp_f96_infinity_bytes,
1483 __glibcpp_f96_has_infinity, __glibcpp_f128_infinity_bytes,
1484 __glibcpp_f128_has_infinity, __glibcpp_float_infinity_bytes,
1485 __glibcpp_float_has_infinity, __glibcpp_double_infinity_bytes,
1486 __glibcpp_double_has_infinity, __glibcpp_long_double_infinity_bytes,
1487 __glibcpp_long_double_has_infinity): Remove.
1488 (std::numeric_limits<float>, std::numeric_limits<double>,
1489 std::numeric_limits<long double>): Use __builtin_huge_val
1490 to implement has_infinity and infinity().
1491 * src/limits.cc (__glibcpp_float_infinity, __glibcpp_double_infinity,
1492 __glibcpp_long_double_infinity): Remove.
1494 2002-09-03 Richard Henderson <rth@redhat.com>
1496 * include/std/std_limits.h (__glibcpp_f32_min, __glibcpp_f32_max,
1497 __glibcpp_f32_digits, __glibcpp_f32_digits10, __glibcpp_f32_radix,
1498 __glibcpp_f32_epsilon, __glibcpp_f32_min_exponent,
1499 __glibcpp_f32_min_exponent10, __glibcpp_f32_max_exponent,
1500 __glibcpp_f32_max_exponent10, __glibcpp_f64_min, __glibcpp_f64_max,
1501 __glibcpp_f64_digits, __glibcpp_f64_digits10, __glibcpp_f64_radix,
1502 __glibcpp_f64_min_exponent, __glibcpp_f64_min_exponent10,
1503 __glibcpp_f64_max_exponent, __glibcpp_f64_max_exponent10,
1504 __glibcpp_f80_min, __glibcpp_f80_max, __glibcpp_f80_digits,
1505 __glibcpp_f80_digits10, __glibcpp_f80_radix, __glibcpp_f80_epsilon,
1506 __glibcpp_f80_min_exponent, __glibcpp_f80_min_exponent10,
1507 __glibcpp_f80_max_exponent, __glibcpp_f80_max_exponent10,
1508 __glibcpp_f96_min, __glibcpp_f96_max, __glibcpp_f96_digits,
1509 __glibcpp_f96_digits10, __glibcpp_f96_radix, __glibcpp_f96_epsilon,
1510 __glibcpp_f96_min_exponent, __glibcpp_f96_min_exponent10,
1511 __glibcpp_f96_max_exponent, __glibcpp_f96_max_exponent10,
1512 __glibcpp_f128_min, __glibcpp_f128_max, __glibcpp_f128_digits,
1513 __glibcpp_f128_digits10, __glibcpp_f128_radix, __glibcpp_f128_epsilon,
1514 __glibcpp_f128_min_exponent, __glibcpp_f128_min_exponent10,
1515 __glibcpp_f128_max_exponent, __glibcpp_f128_max_exponent10,
1516 __glibcpp_float_min, __glibcpp_float_max, __glibcpp_float_digits,
1517 __glibcpp_float_digits10, __glibcpp_float_radix,
1518 __glibcpp_float_epsilon, __glibcpp_float_min_exponent,
1519 __glibcpp_float_min_exponent10, __glibcpp_float_max_exponent,
1520 __glibcpp_float_max_exponent10, __glibcpp_double_min,
1521 __glibcpp_double_max, __glibcpp_double_digits,
1522 __glibcpp_double_digits10, __glibcpp_double_radix,
1523 __glibcpp_double_epsilon, __glibcpp_double_min_exponent,
1524 __glibcpp_double_min_exponent10, __glibcpp_double_max_exponent,
1525 __glibcpp_double_max_exponent10, __glibcpp_long_double_min,
1526 __glibcpp_long_double_max, __glibcpp_long_double_digits,
1527 __glibcpp_long_double_digits10, __glibcpp_long_double_radix,
1528 __glibcpp_long_double_epsilon, __glibcpp_long_double_min_exponent,
1529 __glibcpp_long_double_min_exponent10,
1530 __glibcpp_long_double_max_exponent,
1531 __glibcpp_long_double_max_exponent10): Remove macros.
1532 (std::numeric_limits<float>, std::numeric_limits<double>,
1533 std::numeric_limits<long double>): Use protected float.h macros.
1535 2002-09-01 Phil Edwards <pme@gcc.gnu.org>
1537 * testsuite/Makefile.am: Use LD_RUN_PATH when linking abi_check.
1538 Fix spelling in comment.
1539 * testsuite/Makefile.in: Regenerate.
1540 * testsuite/abi_check.cc: Use string literals to build 'cmd' rather
1541 than 'quote' and 'bslash'.
1543 2002-08-31 Phil Edwards <pme@gcc.gnu.org>
1545 * acinclude.m4: Minor comment tweaks.
1547 * docs/html/makedoc.awk: New file...
1548 * docs/html/Makefile: ...called from here...
1549 * docs/html/documentation.html: ...to help generate this.
1551 * docs/html/21_strings/howto.html: Prepare for new entry.
1552 * include/bits/basic_string.h: Initial basic_stirng hook for
1553 doxygen. Remove trailing whitespace.
1554 * include/bits/char_traits.h: Point to onlinedocs for new entry.
1555 * include/bits/stringfwd.h: Add doxygen hooks for string and
1558 2002-08-29 Richard Earnshaw <rearnshaw@arm.com>
1560 * config/cpu/arm/cpu_limits.h: New file.
1561 * configure.target: Use config/cpu/arm for XScale and StrongARM
1564 2002-08-28 Gabriel Dos Reis <gdr@integrable-solutions.net>
1566 * include/std/std_limits.h (__glibcpp_char_bits,
1567 __glibcpp_short_bits, __glibcpp_int_bits, __glibcpp_long_bits,
1568 __glibcpp_long_long_bits, __glibcpp_float_bits,
1569 __glibcpp_double_bits, __glibcpp_long_double_bits): Remove. Use
1570 compiler predifined macros.
1571 (__glibcpp_wchar_t_is_signed): Define based on compiler predefined
1574 2002-08-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
1576 * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
1577 __glibcpp_f32_has_infinity, __glibcpp_f32_QNaN_bytes,
1578 __glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
1579 __glibcpp_f32_has_SNaN, __glibcpp_f32_denorm_min_bytes,
1580 __glibcpp_f32_has_denorm, __glibcpp_f32_is_iec559,
1581 __glibcpp_f64_infinity_bytes,
1582 __glibcpp_f64_has_infinity, __glibcpp_f64_QNaN_bytes,
1583 __glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
1584 __glibcpp_f64_has_SNaN, __glibcpp_f64_denorm_min_bytes,
1585 __glibcpp_f64_has_denorm, __glibcpp_f64_is_iec559,
1586 __glibcpp_f80_infinity_bytes,
1587 __glibcpp_f80_has_infinity, __glibcpp_f80_QNaN_bytes,
1588 __glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
1589 __glibcpp_f80_has_SNaN, __glibcpp_f80_denorm_min_bytes,
1590 __glibcpp_f80_has_denorm, __glibcpp_f80_is_iec559,
1591 __glibcpp_f96_infinity_bytes,
1592 __glibcpp_f96_has_infinity, __glibcpp_f96_QNaN_bytes,
1593 __glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
1594 __glibcpp_f96_has_SNaN, __glibcpp_f96_denorm_min_bytes,
1595 __glibcpp_f96_has_denorm, __glibcpp_f96_is_iec559,
1596 __glibcpp_f128_infinity_bytes,
1597 __glibcpp_f128_has_infinity, __glibcpp_f128_QNaN_bytes,
1598 __glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
1599 __glibcpp_f128_has_SNaN, __glibcpp_f128_denorm_min_bytes,
1600 __glibcpp_f128_has_denorm, __glibcpp_f128_is_iec559,
1601 __glibcpp_float_infinity_bytes,
1602 __glibcpp_float_has_infinity, __glibcpp_float_QNaN_bytes,
1603 __glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
1604 __glibcpp_float_has_SNaN, __glibcpp_float_denorm_min_bytes,
1605 __glibcpp_float_has_denorm, __glibcpp_float_is_iec559,
1606 __glibcpp_double_infinity_bytes,
1607 __glibcpp_double_has_infinity, __glibcpp_double_QNaN_bytes,
1608 __glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
1609 __glibcpp_double_has_SNaN, __glibcpp_double_denorm_min_bytes,
1610 __glibcpp_double_has_denorm, __glibcpp_double_is_iec559,
1611 __glibcpp_long_double_infinity_bytes,
1612 __glibcpp_long_double_has_infinity, __glibcpp_long_double_QNaN_bytes,
1613 __glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
1614 __glibcpp_long_double_has_SNaN, __glibcpp_long_double_denorm_min_bytes,
1615 __glibcpp_long_double_has_denorm, __glibcpp_long_double_is_iec559:
1617 (__glibcpp_word_bits, __glibcpp_word): Likewise.
1618 (__glibcpp_byte): New typedef.
1619 (__float_storage, __double_storage, __long_double_storage): New types.
1620 (__glibcpp_float_infinity, __glibcpp_float_QNaN,
1621 __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Now
1623 (__glibcpp_double_infinity, __glibcpp_double_QNaN,
1624 __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
1625 (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
1626 __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
1629 * src/limits.cc (__glibcpp_float_infinity, __glibcpp_float_QNaN,
1630 __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Define.
1631 (__glibcpp_double_infinity, __glibcpp_double_QNaN,
1632 __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
1633 (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
1634 __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
1637 2002-08-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
1639 * include/std/std_limits.h: Indent conditional macro definitions.
1641 2002-08-23 Phil Edwards <pme@gcc.gnu.org>
1643 * Makefile.am (check-abi): Specify current directory.
1644 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Fix shell syntax, use
1645 abi_baseline_triplet in baseline_file.
1646 * Makefile.in, aclocal.m4, configure: Regenerate.
1647 * configure.target: Add abi_baseline_triplet with default.
1648 * testsuite/abi_check.cc: More error checking.
1650 2002-08-23 Phil Edwards <pme@gcc.gnu.org>
1652 * config/linker-map.gnu: Verbose comments, clean up spacing.
1653 * include/bits/stl_alloc.h: Fix indentation of 'if' bodies, return
1655 __allocator: Change class declaration to struct.
1656 * docs/html/17_intro/C++STYLE: Fix typo.
1657 * include/bits/stl_deque.h, include/bits/stl_list.h,
1658 include/bits/stl_map.h, include/bits/stl_multimap.h,
1659 include/bits/stl_vector.h: Fix fallout from typo.
1661 2002-08-22 Benjamin Kosnik <bkoz@redhat.com>
1663 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Set
1664 GLIBCPP_BUILD_ABI_CHECK based on cross compiling, build, host
1666 * aclocal.m4: Regenerate.
1667 * testsuite/Makefile.am (noinst_PROGRAMS): Make conditional on
1669 * testsuite/Makefile.in: Regenerate.
1671 2002-08-22 Loren J. Rittle <ljrittle@acm.org>
1673 * testsuite/abi_check.cc: Enhance shell portability.
1674 Support older binutils/readelf.
1675 * config/abi/i386-unknown-freebsd4.6: Add.
1676 * config/abi/i386-unknown-freebsd4.6/baseline_symbols.txt: New file.
1678 2002-08-22 Paolo Carlini <pcarlini@unitus.it>
1680 * docs/html/faq/index.html: Add Loren James Rittle and
1681 Paolo Carlini to the list of v3 maintainers.
1682 * docs/html/faq/index.txt: Ditto.
1683 * docs/html/17_intro/RELEASE-NOTES: Ditto.
1685 2002-08-22 Benjamin Kosnik <bkoz@redhat.com>
1686 Phil Edwards <pme@gcc.gnu.org>
1687 Ulrich Drepper <drepper@redhat.com>
1689 * Makefile.am (check-abi): New rule.
1690 * Makefile.in: Regenerate.
1691 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Export baseline_file.
1692 * aclocal.m4: Regenerate.
1693 * configure: Regenerate.
1694 * testsuite/Makefile.am (noinst_PROGRAMS): Add abi_check.
1695 (abi_check_SOURCES): Add.
1696 * testsuite/Makefile.in: Regenerate.
1697 * testsuite/abi_check.cc: New file.
1699 * config/abi/i686-pc-linux-gnu: Add.
1700 * config/abi/i686-pc-linux-gnu/baseline_symbols.txt: New file.
1702 2002-08-19 Benjamin Kosnik <bkoz@redhat.com>
1704 * configure.in (libtool_VERSION): Update to 5:1:0.
1705 * configure: Regenerate.
1707 2002-08-19 Jonathan Wakely <jw@kayari.org>
1709 * docs/html/configopts.html, docs/html/documentation.html,
1710 docs/html/install.html, docs/html/22_locale/codecvt.html,
1711 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
1712 docs/html/22_locale/locale.html,
1713 docs/html/22_locale/messages.html: Conform to HTML 4.01 standard.
1715 2002-08-15 Benjamin Kosnik <bkoz@redhat.com>
1717 * include/ext/stdio_filebuf.h (stdio_filebuf): Explicitly set
1718 _M_buf_size_opt to zero when unbuffering.
1719 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
1720 Consistency checks for _M_buf_size_opt.
1722 Revert PR libstdc++/7445
1723 * src/locale.cc (locale::classic): Revert.
1725 * docs/html/17_intro/TODO: Add.
1727 2002-08-15 Phil Edwards <pme@gcc.gnu.org>
1729 * docs/html/documentation.html: Update doxygen links for 3.2.
1731 2002-08-15 Steve Ellcey <sje@cup.hp.com>
1733 * libsupc++/unwind-cxx.h (__cxa_exception): Change catchTemp
1734 type from void* to _Unwind_Ptr.
1735 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION):
1736 Do not cast landing_pad or base_of_encoded_value to (void *).
1737 * libsupc++/eh_throw.cc (__gxx_exception_cleanup):
1738 Accept _URC_NO_REASON as a valid reason code.
1740 2002-08-14 Jonathan Wakely <jw@kayari.org>
1742 * docs/html/22_locale/messages.html: Use HTML entities for
1745 2002-08-13 Jonathan Wakely <jw@kayari.org>
1746 Phil Edwards <pme@gcc.gnu.org>
1748 * docs/html/documentation.html: Use HTML entities for punctuation.
1750 2002-08-09 Phil Edwards <pme@gcc.gnu.org>
1752 * include/bits/deque.tcc, include/bits/list.tcc,
1753 include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
1754 include/bits/stl_list.h, include/bits/stl_map.h,
1755 include/bits/stl_multimap.h, include/bits/stl_queue.h,
1756 include/bits/stl_stack.h, include/bits/stl_vector.h,
1757 include/bits/vector.tcc: Re-indent contents of namespace std,
1758 re-wrap comment lines as necessary.
1760 2002-08-08 Danny Smith <dannysmith@users.sourceforge.net>
1761 Benjamin Kosnik <bkoz@redhat.com>
1763 * include/bits/istream.tcc (basic_istream::ignore): Use sbumpc,
1765 * testsuite/27_io/narrow_stream_objects.cc (test10): Add.
1767 2002-08-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
1769 * libsupc++/Makefile.am (LTCOMPILE): Add LIBSUPCXX_PICFLAGS.
1770 * libsupc++/Makefile.in: Regenerate.
1772 2002-08-05 Gabriel Dos Reis <gdr@nerim.net>
1775 * include/bits/slice_array.h(_DEFINE_VALARRAY_OPERATOR):
1776 Instantiate with new function objects.
1777 * include/bits/mask_array.h (_DEFINE_VALARRAY_OPERATOR): Likewise.
1779 * include/bits/gslice_array.h: Likewise.
1780 * include/bits/indirect_array.h: Likewise.
1782 2002-08-03 Gabriel Dos Reis <gdr@nerim.net>
1784 * testsuite/26_numerics/valarray_name_lookup.cc: Rename from
1785 testsuite/26_numerics/valarray_name_lookup.C
1787 * include/bits/valarray_array.h (_DEFINE_ARRAY_FUNCTION): Use our
1788 object function surrogates.
1789 * include/bits/valarray_meta.h (__shift_left): Fix typo.
1790 (_BinFunClos<>): Remove.
1791 (_BinFunBase<>): Likewise.
1792 (_BinFunBase1<>):Likewise.
1793 (_BinFunBase2<>): Likewise.
1794 (_DEFINE_EXPR_RELATIONAL_OPERATOR): Likewise.
1795 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
1796 (_DEFINE_EXPR_BINARY_OPERATOR): Likewise.
1797 (_DEFINE_EXPR_BINARY_FUNCTION): Likewise.
1798 * include/std/std_valarray.h: Dont #include <functional> anymore.
1799 (_Bitwise_or<>, _Bitwise_and<>, _Bitwise_xor<>, _Shift_left<>,
1800 _Shift_right<>): Remove.
1801 (_DEFINE_VALARRAY_AUGMENTED_ASSIGNMENT): Adjust instantiation.
1802 (_DEFINE_BINARY_OPERATOR): Tweak definition.
1803 (_DEFINE_LOGICAL_OPERATOR): Remove.
1804 * testsuite/26_numerics/valarray_name_lookup.C (main): Add more tests.
1806 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
1808 * include/bits/valarray_meta.h (_UnFunBase<>): Remove.
1809 (_UnFunClos<>): Same.
1810 (_UnBase<>): Reformat. Make first template-parameter non
1812 (_UnClos<>): Likewise.
1813 (_Expr<>): Reformate. Adjust unary member operator return types.
1814 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
1815 (_DEFINE_EXPR_UNARY_FUNCTION): Likewise.
1816 * include/std/std_valarray.h (_UnClos<>): Adjust declaration.
1817 (valarray<>::_UnaryOp<>): New nested traits. Adjust unary member
1818 operator return types. Reformat.
1819 (_Bitwise_not): Remove.
1820 (_DEFINE_VALARRAY_UNARY_OPERATOR): Adjust definition.
1821 * testsuite/26_numerics/valarray_name_lookup.C: New test.
1823 2002-08-02 Danny Smith <dannysmith@users.sourceforge.net>
1825 * config/os/newlib/ctype_inline.h (is): Don't offset _M_table.
1826 (scan_is): Use this->is.
1827 (scan_not): Likewise.
1829 2002-08-02 Benjamin Kosnik <bkoz@redhat.com>
1831 Revert PR libstdc++/6594
1832 * src/strstream.cc (strstreambuf): Revert.
1833 (strstreambuf::overflow): Same.
1834 (strstreambuf::~strstreambuf): Same.
1835 * testsuite/backward/strstream_members.cc (test02): Add.
1837 * docs/html/abi.txt: Update. Spell check.
1839 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add bool test.
1841 * testsuite/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
1842 * testsuite/Makefile.in: Regenerate.
1843 * testsuite/testsuite_hooks.h: Use __throw_exception_again,
1844 include functexcept.h so that -fno-exceptions will build.
1846 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
1848 * include/bits/valarray_meta.h (__unary_plus, __negate,
1849 __bitwise_not, __plus, __minus, __multiplies, __divides,
1850 __modulus, __bitwise_xor, __bitwise_or, __bitwise_and,
1851 __shift_left, __shift_right, __logical_and, __logical_or,
1852 __logical_not, __equal_to, __not_equal_to, __less, __less_equal,
1853 __greater_equal, __greater, __atan2, __pow): New function object
1855 (__fun<>): New function traits class.
1857 2002-08-01 Rick Danos <rdanos@hotmail.com>
1860 * config/os/newlib/ctype_noninline.h (classic_table): Add offset.
1861 * config/os/newlib/ctype_inline.h (is): Use static_cast.
1863 2002-08-01 Neil Booth <neil@daikokuya.co.uk>
1865 * libsupc++/Makefile.am (LT_COMPILE): Remove C++ flags.
1866 * libsupc++/Makefile.in: Regenerate.
1868 2002-08-01 Benjamin Kosnik <bkoz@redhat.com>
1869 Jakub Jelinek <jakub@redhat.com>
1871 * config/linker-map.gnu: Change CXXABI_1 to CXXABI_1.2,
1872 GLIBCPP_3.1 to GLIBCPP_3.2.
1874 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
1875 Mark Mitchell <mark@codesourcery.com>
1878 * libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit):
1879 Change to __hwm_bit.
1880 (__class_type_info): And here.
1882 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
1885 * libsupc++/cxxabi.h
1886 (__base_class_info): Change to __base_class_type_info. 2.9.5p6c
1887 (__base_class_info::__base): Change to __base_type. 2.9.5p6c
1888 (__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c
1889 (__vmi_class_type_info::__base_info): Don't make const, of type
1890 __base_class_type_info, as per 2.9.5p6c
1891 (__pbase_type_info::__qualifier_flags): Change to __flags, as per
1893 (__pbase_type_info::__qualifier_masks): Change to __masks, as per
1895 (__pointer_to_member_type_info::__context_class): Change member to
1896 __context, as per 2.9.5p9.
1897 * libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to
1899 * libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to
1901 * libsupc++/tinfo.cc (__do_find_public_src): Change __base to
1903 * libsupc++/tinfo.cc (__do_dyncast): Same.
1904 * libsupc++/tinfo.cc (__do_upcast): Same.
1906 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
1908 * src/fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.
1910 2002-07-31 Simon Whomsley <whomsley@avacadcam.com>
1912 * docs/html/22_locale/howto.html: Fix.
1914 2002-07-31 Alex Kompel <shurik@sequoiap.com>
1917 * src/locale.cc (locale::classic): Move locks inside !_S_classic
1920 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
1922 * docs/html/abi.txt: Update.
1924 2002-07-30 Benjamin Kosnik <bkoz@redhat.com>
1925 Gabriel Dos Reis <gdr@nerim.net>
1927 * include/bits/char_traits.h: Remove generic definitions.
1928 * include/bits/streambuf_iterator.h (istreambuf_iterator): Use
1930 * include/bits/istream.tcc (istream::readsome): Don't check
1931 against eof, instead use constants.
1932 (istream::sync): Same.
1933 (istream::sentry::sentry): Use eq_int_type.
1934 (istream::get): Same.
1935 * include/bits/ostream.tcc: Change __pad to
1936 __pad<_CharT, _Traits>::_S_pad.
1937 * include/bits/locale_facets.h: Add __pad_traits generic and
1938 ostreambuf_iterator specialization.
1939 * include/bits/locale_facets.tcc: Change __pad into struct __pad
1940 with a _CharT and _Traits template parameter and _S_pad static
1942 * src/locale-inst.cc: Update __pad instantiations.
1944 * include/std/std_fstream.h: Declare _M_underflow_common
1946 * src/fstream.cc: New. Add _M_underflow_common specializations.
1947 * include/bits/fstream.tcc (filebuf::close): Use traits_type.
1948 (filebuf::_M_underflow_common(bool)): Remove generic version, as
1949 sys_ungetc and custom int_types don't get along.
1950 * include/std/std_streambuf.h: Add _M_pos.
1951 * src/Makefile.am (sources): Add fstream.cc.
1952 * src/Makefile.in: Regenerate.
1954 * testsuite/21_strings/capacity.cc: Add char_traits specializations.
1955 * testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
1956 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
1957 * testsuite/22_locale/ctor_copy_dtor.cc: Same.
1958 * testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
1959 * testsuite/27_io/filebuf.cc: ...here.
1960 * testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
1961 specialization for both.
1962 * testsuite/27_io/streambuf.cc: Add instantiation test,
1963 testsuite_hooks include.
1964 * testsuite/27_io/istream.cc: Same.
1965 * testsuite/27_io/ostream.cc: Same.
1966 * testsuite/27_io/fstream.cc: Same.
1967 * testsuite/27_io/stringstream.cc: Same.
1968 * testsuite/27_io/filebuf.cc: Same.
1969 * testsuite/27_io/stringbuf.cc: Same.
1971 2002-07-29 Alan Modra <amodra@bigpond.net.au>
1973 * config/cpu/powerpc/cpu_limits.h (__glibcpp_long_bits): Define.
1974 * configure.target (cpu_include_dir): Use cpu/powerpc for powerpc64.
1975 * config/cpu/powerpc/atomicity.h (__always_swap): Remove.
1976 (__test_and_set): Remove.
1977 (_STWCX): Define and use.
1979 2002-07-26 Phil Edwards <pme@gcc.gnu.org>
1981 * libsupc++/new (placement delete): Remove unused parameter names.
1983 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
1986 * include/std/std_istream.h (basic_iostream): Add typedefs for
1987 char_type, int_type, pos_type, off_type, and traits_type.
1988 * testsuite/27_io/iostream.cc (test01): Add typedef tests.
1989 * testsuite/27_io/istream.cc: Same.
1990 * testsuite/27_io/ostream.cc: Same.
1991 * testsuite/27_io/filebuf.cc: Same.
1992 * testsuite/27_io/stringbuf.cc: Replace content, move to...
1993 * testsuite/27_io/stringbuf_members.cc: ...here.
1994 * testsuite/27_io/streambuf.cc: Replace content, move to...
1995 * testsuite/27_io/streambuf_members.cc: ...here.
1996 * testsuite/27_io/stringstream.cc: Replace content, move to...
1997 * testsuite/27_io/stringstream_members.cc: ...here.
1998 * testsuite/27_io/ios.cc: New file.
1999 * testsuite/27_io/fstream.cc: New file.
2000 * testsuite/27_io/ifstream.cc: New file.
2001 * testsuite/27_io/ofstream.cc: New file.
2002 * testsuite/27_io/istringstream.cc: New file.
2003 * testsuite/27_io/ostringstream.cc: New file.
2005 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
2008 * include/bits/istream.tcc (istream::ignore): Don't extract on
2010 * testsuite/27_io/istream_unformatted.cc (test10): Add.
2012 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
2014 * testsuite/27_io/ios_base_type.cc: Move to...
2015 * testsuite/27_io/ios_base_types.cc: ...here.
2017 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
2020 * src/locale.cc (locale::locale(const char*)): Use setlocale NULL.
2021 * testsuite/22_locale/ctor_copy_dtor.cc (test02): New.
2023 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
2026 * config/linker-map.gnu: Revert strstream patch from 2002-07-01.
2027 * include/Makefile.am (backward_headers): Use strstream, not
2029 * include/Makefile.in: Regenerate.
2030 * include/backward/strstream: Revert.
2031 * include/backward/strstream.h: Remove.
2032 * src/strstream.cc: Revert.
2033 * testsuite/backward/strstream_members.cc: Change include.
2035 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
2038 * include/bits/ios_base.h (ios_base::streampos): Add.
2039 (ios_base::streamoff): Add.
2040 * testsuite/27_io/ios_base_type.cc: New.
2042 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
2045 * libsupc++/new: Add placement delete.
2046 * testsuite/18_support/new_delete_placement.cc: New.
2048 * docs/html/abi.txt: Fix typos.
2050 2002-07-23 Benjamin Kosnik <bkoz@redhat.com>
2052 * docs/html/documentation.html: Remove libstdc++-v3.0.86 links,
2053 confusing usage of "latest."
2054 De-tangle contributor information from introductory notes.
2055 Move abi.txt link placement, activate.
2057 Move chapter info into old FAQ format.
2058 * docs/html/organization.html: Removed, obsoleted by doxygen work.
2059 * docs/html/abi.txt: Add notes on testing ABI changes.
2061 2002-07-20 Phil Edwards <pme@gcc.gnu.org>
2063 * docs/html/abi.txt: New file.
2064 * docs/html/23_containers/howto.html: Tweak vector-overhead text.
2065 * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
2066 Import from upstream, R22.
2068 * include/bits/char_traits.h, include/bits/stl_iterator.h,
2069 include/bits/stl_iterator_base_types.h, libsupc++/exception,
2070 libsupc++/new, libsupc++/typeinfo: Use @brief markup.
2072 * include/bits/deque.tcc, include/bits/stl_alloc.h,
2073 include/bits/stl_deque.h, include/bits/stl_list.h: Postpone removal
2074 of deprecated functions until 3.4. (Same timeframe, different text.)
2075 * include/bits/stl_vector.h: Ditto. Also do the same cleanups that
2076 the other sequence classes received.
2078 2002-07-18 Brendan Kehoe <brendan@zen.org>
2080 * bits/slice_array.h (_DEFINE_VALARRAY_OPERATOR): Fix typo of
2083 2002-07-19 Gabriel Dos Reis <gdr@nerim.net>
2086 * include/bits/slice_array.h
2087 (slice_array<T>::operator=(const T&)): Constify.
2088 * include/bits/gslice_array.h
2089 (gslice_array<T>::operator=(const T&)): Likewise.
2090 * include/bits/mask_array.h
2091 (mask_array<T>::operator=(const T&)): Likewise.
2092 * include/bits/indirect_array.h
2093 (indirect_array<T>::operator=(const T&): Likewise.
2095 2002-07-17 Phil Edwards <pme@gcc.gnu.org>
2097 * docs/doxygen/run_doxygen: Remove template parameter names from
2098 "Compound List" summary page. Reformat.
2099 * docs/html/documentation.html: XHTML fixes.
2101 2002-07-16 Andreas Schwab <schwab@suse.de>
2103 * libsupc++/new (set_new_handler): Declare to not throw any
2105 * libsupc++/new_handler.cc (set_new_handler): Likewise.
2107 2002-07-16 Gabriel Dos Reis <gdr@nerim.net>
2109 * include/Makefile.am (bits_headers): Remove slice.h
2110 * include/Makefile.in: Regenerate.
2111 * include/bits/slice.h (slice): move to include/bits/slice_array.h
2112 * include/bits/slice.h Remove.
2113 * include/std/std_valarray.h: Don't #include bits/slice.h anymore.
2114 * include/bits/slice_array.h: Comply to official coding styles.
2115 * testsuite/26_numerics/slice.cc: New test.
2117 2002-07-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2119 * config/os/solaris/solaris2.5/ctype_base.h (ctype_base): Fix
2120 print to match vendor <ctype.h>.
2122 2002-07-15 Phil Edwards <pme@gcc.gnu.org>
2124 * docs/html/faq/index.html: Fix download links.
2125 * docs/html/faq/index.txt: Regenerate.
2126 * docs/html/17_intro/porting.html: Regenerate from earlier changes.
2128 2002-07-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2130 * configure.target (target_os switch): Allow for irix6*o32
2133 2002-07-10 Gabriel Dos Reis <gdr@nerim.net>
2135 * include/bits/valarray_meta.h (_UnFunBase): Take a second
2136 template parameter. Remove _M_func data member.
2137 (_UnFunClos): Take a third template parameter.
2138 (__abs, __cos, __acos, __cosh, __sin, __asin, __sinh, __tan,
2139 __atan, __tanh, __exp, __log, __log10, __sqrt): New classes.
2140 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
2142 2002-07-08 Eric Christopher <echristo@redhat.com>
2144 * configure.target: Fix comment for mips atomicity. Add
2145 mips*-*-linux* target, enable atomic operations there.
2146 * config/cpu/mips/atomicity.h: Fix comments, remove
2147 #ifndef/#endif. Add push/pop mips2.
2149 2002-07-08 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2151 * include/bits/stl_deque.h (_Deque_alloc_base): Change order of
2152 member declarations to avoid compiler warnings and restore 3.1 ABI.
2154 2002-07-08 Phil Edwards <pme@gcc.gnu.org>
2156 * docs/html/23_containers/howto.html: Link to dk_std::vector paper
2159 2002-07-07 Paolo Carlini <pcarlini@unitus.it>
2162 * include/bits/stl_deque.h (_Deque_iterator::operator-):
2163 Make non-member, as already happens for the comparison
2164 operators in accord with DR179 (Ready).
2165 * testsuite/23_containers/deque_operators.cc: Add test02.
2167 2002-07-04 Benjamin Kosnik <bkoz@redhat.com>
2168 Jack Reeves <jackw_reeves@hotmail.com>
2170 * include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to
2171 size_t, from int_type.
2172 (basic_streambuf::_M_buf_size_opt): Same.
2173 (basic_streambuf::_S_pback_sizex): Same.
2174 * include/bits/streambuf.tcc: Same.
2175 * include/std/std_streambuf.h (basic_streambuf::snextc): Use
2177 (basic_streambuf::uflow): Same.
2178 * include/bits/sstream.tcc (basic_stringbuf::overflow): Use
2180 * include/bits/basic_ios.tcc (basic_ios::init): Use _CharT().
2181 * include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use
2183 (basic_streambuf::xsputn): Same.
2184 (__copy_streambufs): Same.
2186 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
2188 * include/std/std_memory.h: Fix formatting.
2189 * testsuite/20_util/auto_ptr_neg.cc: New.
2190 * testsuite/20_util/auto_ptr.cc: Tweaks.
2191 * testsuite/23_containers/map_operators.cc (test01): Split into..
2192 * testsuite/23_containers/map_operators_neg.cc (test01): ...this. New.
2193 * testsuite/23_containers/set_operators.cc: Move to...
2194 * testsuite/23_containers/set_operators_neg.cc: ...here.
2195 * testsuite/README: Add some more naming rules.
2197 2002-07-03 Steev Wilcox <steev@paradigmds.com>
2200 * include/ext/stl_hashtable.h: Fix.
2201 * testsuite/ext/hash_map.cc: New.
2203 2002-07-03 Jack Reeves <jackw_reeves@hotmail.com>
2204 Kenny Simpson <theonetruekenny@yahoo.com>
2205 Phil Edwards <pme@gcc.gnu.org>
2208 * testsuite/20_util/auto_ptr.cc (test08): New test.
2209 * include/std/std_memory.h (auto_ref_ptr): Make constructor explicit.
2210 (auto_ptr::operator auto_ptr_ref): Fix typo.
2211 General reformatting and doxygenating of the whole file.
2213 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
2216 * include/c/std_cwchar.h: Fix.
2218 2002-07-02 Benjamin Kosnik <bkoz@redhat.com>
2221 * include/bits/locale_facets.h (moneypunct::moneypunct): Add const
2222 char* name parameter.
2223 * config/locale/gnu/monetary_members.cc: Use it.
2224 * config/locale/generic/monetary_members.cc: Same.
2225 * src/localename.cc (_Impl::_Impl(const char*, size_t)): Use it.
2227 * include/backward/strstream.h: Update date.
2229 2002-07-02 Paolo Carlini <pcarlini@unitus.it>
2232 * include/bits/stl_iterator.h
2233 (__normal_iterator::operator-(const __normal_iterator&)):
2234 Make non-member, as already happens for the comparison
2235 operators in accord with DR179 (Ready).
2236 * testsuite/24_iterators/iterator.cc: Add test from the PR.
2238 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
2241 * acinclude.m4: Simplify determination of gcc_version, and move
2242 up to GLIBCPP_CONFIGURE.
2243 * configure.in (release_VERSION): Really remove.
2244 (AM_INIT_AUTOMAKE, AM_CONFIG_HEADER): Move after GLIBCPP_CONFIGURE.
2245 * aclocal.m4, configure: Regenerate.
2247 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
2249 * docs/html/configopts.html, docs/html/install.html: Tweaks.
2250 * include/ext/algorithm, include/ext/hash_map, include/ext/hash_set,
2251 include/ext/iterator, include/ext/numeric, include/ext/rb_tree,
2252 include/ext/slist, include/ext/stl_rope.h: Add doxygen hooks.
2254 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
2256 * include/backward/strstream: Remove namespace std. Transfer to...
2257 * include/backward/strstream.h: ...here. Qualify std names.
2258 * src/strstream.cc: Remove namespace std.
2259 * include/Makefile.am (backward_headers): Remove strstream.h.
2260 * include/Makefile.in: Regenerate.
2261 * config/linker-map.gnu: Export strstream bits.
2263 * src/fstream-inst.cc: Tweak.
2264 * src/io-inst.cc: Same.
2265 * src/istream-inst.cc: Same.
2266 * src/misc-inst.cc: Same.
2267 * src/ostream-inst.cc: Same.
2268 * src/sstream-inst.cc: Same.
2269 * src/valarray-inst.cc: Same.
2270 * src/misc-inst.cc: Remove unused instantiations.
2272 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
2274 * configure.in (libtool_VERSION): Bump to 5:0:0.
2275 * configure: Regenerate.
2277 2002-06-28 Phil Edwards <pme@gcc.gnu.org>
2279 PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161
2280 * include/std/std_queue.h: Include deque.tcc, vector.tcc.
2281 * include/std/std_stack.h: Include deque.tcc.
2282 * testsuite/23_containers/adaptors.cc: New file.
2284 2002-06-27 Phil Edwards <pme@gcc.gnu.org>
2286 * include/bits/stl_alloc.h: Deprecate all 'reallocate' memfns.
2287 * docs/html/ext/howto.html: Update allocator notes.
2289 2002-06-26 Benjamin Kosnik <bkoz@redhat.com>
2291 * configure.in (INTERFACE): Remove.
2292 (release_VERSION): Remove.
2293 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
2294 (libstdcxx_interface): Change. Use gcc methods to determine version.
2295 * configure: Regenerate.
2296 * aclocal.m4: Regenerate.
2298 2002-06-25 DJ Delorie <dj@redhat.com>
2300 * acinclude.m4 (GLIBCPP_CONFIGURE): Split out
2301 GLIBCPP_TOPREL_CONFIGURE.
2302 * aclocal.m4: Likewise.
2303 * configure.in: Call it before AC_CANONICAL_SYSTEM.
2304 * configure: Regenerate.
2306 2002-06-25 Jessica Han <jessica@cup.hp.com>
2308 * config/os/hpux/os_defines.h Define _GLIBCPP_VTABLE_PADDING
2309 * libsupc++/tinfo.cc Handle the 8 byte aligned vtable entries when
2310 _GLIBCPP_VTABLE_PADDING is defined.
2312 2002-06-25 Benjamin Kosnik <bkoz@redhat.com>
2314 * include/bits/stl_alloc.h: Additional formatting.
2316 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
2318 * include/bits/stl_alloc.h: Reformat as per C++STYLE.
2320 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
2322 * config/cpu/*/bits/*: Move header files up a level. Remove bits.
2323 * config/os/*/bits/*: Likewise.
2324 * configure.in: Update.
2325 * configure: Regenerate.
2326 * configure.target: Update.
2327 * docs/html/17_intro/porting.texi: Update.
2329 2002-06-21 Phil Edwards <pme@gcc.gnu.org>
2331 * include/bits/stl_map.h, include/bits/stl_multimap.h,
2332 include/bits/stl_queue.h, include/bits/stl_stack.h: Reformat and
2333 complete doxygenation.
2334 * include/bits/boost_concept_check.h: Minor comment.
2336 2002-06-21 Benjamin Kosnik <bkoz@redhat.com>
2338 * include/c_compatibility: New.
2339 * include/c_compatibility/assert.h: New.
2340 * include/c_compatibility/ctype.h: New.
2341 * include/c_compatibility/errno.h: New.
2342 * include/c_compatibility/float.h: New.
2343 * include/c_compatibility/iso646.h: New.
2344 * include/c_compatibility/limits.h: New.
2345 * include/c_compatibility/locale.h: New.
2346 * include/c_compatibility/math.h: New.
2347 * include/c_compatibility/setjmp.h: New.
2348 * include/c_compatibility/signal.h: New.
2349 * include/c_compatibility/stdarg.h: New.
2350 * include/c_compatibility/stddef.h: New.
2351 * include/c_compatibility/stdio.h: New.
2352 * include/c_compatibility/stdlib.h: New.
2353 * include/c_compatibility/string.h: New.
2354 * include/c_compatibility/time.h: New.
2355 * include/c_compatibility/wchar.h: New.
2356 * include/c_compatibility/wctype.h: New.
2358 * include/c/std_cerrno.h: Get out of the way... define errno.
2359 * include/c/std_cmath.h: Add abs, modf overloads.
2360 Undefine C99 isms. Still not sure how to deal with this sanely.
2361 * include/c/std_csetjmp.h: Tweak.
2362 * include/c/std_cwchar.h: Include cstddef for size_t.
2364 * include/c_std/std_cmath.h: Remove extra function.
2366 Pendantic std usage in testsuites.
2367 * testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
2369 * testsuite/17_intro/header_cwchar.cc: Tweak.
2370 * testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
2372 * testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
2373 * testsuite/22_locale/ctype_to_char.cc (test05): Same.
2374 * testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
2375 * testsuite/22_locale/ctype_is_char.cc (test05): Same.
2376 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
2377 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
2378 * testsuite/22_locale/time_get_members_char.cc (test08): Same.
2379 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
2380 * testsuite/22_locale/time_put_members_char.cc (test04): Same.
2381 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
2382 * testsuite/22_locale/num_put_members_char.cc (test04): Same.
2383 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
2384 * testsuite/22_locale/numpunct_members_char.cc (test03): Same.
2385 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
2386 * testsuite/22_locale/num_get_members_char.cc: Same.
2387 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
2388 * testsuite/22_locale/money_put_members_char.cc (test07): Same.
2389 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
2390 * testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
2391 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
2392 * testsuite/22_locale/money_get_members_char.cc (test08): Same.
2393 * testsuite/22_locale/messages_members_char.cc (test03): Same.
2394 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
2395 * testsuite/22_locale/collate_members_char.cc (test04): Same.
2396 * testsuite/26_numerics/fabs_inline.cc: Use std::printf.
2397 * testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
2398 * testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.
2400 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
2402 * libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
2405 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
2407 * src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
2408 Use size_type instead of unsigned long.
2410 2002-06-20 Steve Ellcey <sje@cup.hp.com>
2412 * src/ext-inst.cc (_S_fetch): Add explicit templates for char and
2414 (_S_min_len): Ditto.
2416 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
2418 * include/Makefile.am: Add rules.
2419 * include/Makefile.in: Regenerate.
2421 * acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
2422 * aclocal.m4: Regenerate.
2423 * configure: Regenerate.
2424 * configure.target (c_model, c_compatibility): Add.
2426 * libsupc++/Makefile.am (c_sources): New.
2427 (libsupc___la_SOURCES): Add c_sources.
2428 (LTCOMPILE): Remove INCLUDES.
2429 (GCC_INCLUDES): New.
2430 (C_COMPILE): New, like COMPILE but without INCLUDES.
2431 (cxa_demangle.o): Use C_COMPILE.
2432 (dyn-string.o): Use C_COMPILE.
2434 * include/c/std_cstdarg.h: Define __need___va_list.
2435 * include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
2436 need_NULL, need_offsetof.
2438 2002-06-19 Steve Ellcey <sje@cup.hp.com>
2440 * configure.in (HAVE_FINITE*, HAVE_ISINF*, HAVE_ISNAN*): Remove
2441 definitions in hpux11 cross-build because these functions do
2442 not exist on hpux11 (but some exist on hpux10); move defaults out
2443 into existing sections.
2444 * configure: Regenerate.
2446 2002-06-18 Benjamin Kosnik <bkoz@redhat.com>
2448 * include/c/std_cwchar.h: Guard. Add mbstate_t bits.
2449 * include/c/std_cwctype.h: Guard.
2451 * libsupc++/eh_alloc.cc: Tweak include order.
2452 * libsupc++/pure.cc: Use cstdio.
2453 * libsupc++/new_op.cc: Remove malloc forward declaration, as
2454 cstdlib brings it in. Use std::malloc.
2456 * src/Makefile.am (sources): Remove cmath.cc.
2457 * src/Makefile.in: Regenerate.
2458 * src/cmath.cc: Remove.
2460 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
2462 * configure.target: Force mips to use the generic cpu routines.
2464 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
2466 * configure.host: Delete file.
2467 * configure.target: More documentation. Factor out common parts of
2468 script into "intelligent" settings about defaults. Remove redundancy.
2470 * acinclude.m4: Update comments. Do not call configure.host.
2471 (GLIBCPP_ENABLE_SYMVERS): If disabled, do not bother checking for
2473 * configure.in: Slight reformatting, more comments. Factor out
2474 "config/" from all the directories.
2475 * docs/html/17_intro/porting.texi: Update and expand.
2476 * testsuite/Makefile.am (AM_RUNTESTFLAGS): Move empty setting
2477 from configure.host.
2479 * aclocal.m4, configure, docs/html/17_intro/porting.html,
2480 testsuite/Makefile.in: Regenerate.
2482 2002-06-16 Phil Edwards <pme@gcc.gnu.org>
2484 * docs/doxygen/TODO: Update.
2485 * docs/doxygen/tables.html: Uncomment magical middle column.
2486 * docs/doxygen/user.cfg.in: Kludge to ignore function-like macros.
2487 * include/bits/stl_queue.h: Doxygenate and reformat.
2488 * include/bits/ios_base.h, include/std/std_streambuf.h: Add comment
2489 for deprecated names required by the standard.
2491 2002-06-14 J.T. Conklin <jtc@acorntoolworks.com>
2493 * configure.in (target_alias): Fix.
2494 * configure: Regenerate.
2495 * aclocal.m4: Regenerate.
2497 2002-06-12 Phil Edwards <pme@gcc.gnu.org>
2499 * include/Makefile.am: Add new files.
2500 * include/Makefile.in: Regenerate.
2502 * include/bits/stl_deque.h, include/bits/stl_list.h,
2503 include/bits/stl_vector.h: Clean up, reformat. Move definitions...
2504 * include/bits/deque.tcc, include/bits/list.tcc,
2505 include/bits/vector.tcc: ...to here. New files.
2507 * include/ext/stl_hashtable.h: Inclide correct full headers.
2508 * include/std/std_deque.h: Include .tcc files for now.
2509 * include/std/std_list.h: Likewise.
2510 * include/std/std_vector.h: Likewise.
2512 2002-06-12 Daniel Jacobowitz <drow@mvista.com>
2514 * Makefile.am: Add FLAGS_TO_PASS.
2515 * Makefile.in: Regenerated.
2517 2002-06-11 J.T. Conklin <jtc@acorntoolworks.com>
2518 Benjamin Kosnik <bkoz@redhat.com>
2520 * configure.target: Set os_include_dir to config/os/qnx/qnx6.1
2522 * configure.in: Add support for *-qnx6.[12]*.
2523 * configure: Regenerate.
2525 * config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
2527 * config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
2528 ctype_noninline.h, os_defines.h: New files.
2530 2002-06-10 Loren J. Rittle <ljrittle@acm.org>
2532 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): Reorder and
2533 include all required headers for test against older POSIX standard.
2534 (GLIBCPP_CHECK_SETRLIMIT): Likewise.
2535 (ac_setrlimit): Likewise.
2536 * aclocal.m4: Regenerate.
2537 * configure: Regenerate.
2538 * testsuite/testsuite_hooks.cc: Reorder and include all
2539 required headers for use against older POSIX standard.
2541 2002-06-08 Paolo Carlini <pcarlini@unitus.it>
2543 * testsuite/backwards/strstream_members.cc: New.
2545 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
2547 * include/backwards/strstream: Format.
2548 * src/strstream.cc: Format.
2550 2002-06-08 Andreas Schwab <schwab@suse.de>
2552 * src/strstream.cc (strstreambuf::overflow): Set _M_buf,
2553 _M_buf_size and _M_buf_size_opt to the new buffer and size.
2555 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
2557 * config/os/generic/bits/ctype_noninline.h: Tweak format.
2559 2002-06-07 Steve Ellcey <sje@cup.hp.com>
2561 * src/locale-inst.cc (__codecvt_abstract_base):
2562 Put inside _GLIBCPP_USE_WCHAR_T ifdef.
2563 * include/bits/istream.tcc (basic_istream): Ditto.
2566 * include/bits/ostream.tcc (basic_ostream): Ditto.
2570 (operator<<): Ditto.
2572 2002-06-07 Phil Edwards <pme@gcc.gnu.org>
2574 * mkcheck.in: Link against local testsuite library.
2575 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Move null
2576 implementation out...
2577 * testsuite/testsuite_hooks.cc: ...to here.
2579 2002-06-06 Loren J. Rittle <ljrittle@acm.org>
2581 * src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
2582 * include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
2583 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
2584 * src/Makefile.in: Regenerate (explicitly with --cygnus option).
2585 * testsuite/Makefile.in: Likewise.
2587 2002-06-05 David Edelsohn <edelsohn@gnu.org>
2589 * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
2590 Call external symbol.
2592 2002-06-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2594 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
2595 Search correct multilib testsuite dir for libv3test.
2597 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
2598 Gaby Dos Reis <gdr@codesourcery.com>
2600 * include/bits/basic_string.tcc
2601 (basic_string::_S_construct(forward_iterator_tag):
2602 Fix typo in null pointer check.
2603 * testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
2605 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
2607 * testsuite/22_locale/money_get_members_char.cc
2608 (test02): Add decimal point to long double constants.
2609 * testsuite/22_locale/money_get_members_wchar_t.cc
2611 * testsuite/22_locale/money_put_members_char.cc
2612 (test02, test03, test06): Likewise.
2613 * testsuite/22_locale/money_put_members_wchar_t.cc:
2614 (test02, test03, test06): Likewise.
2615 * testsuite/22_locale/num_get_members_char.cc:
2616 (test02, test01): Likewise; suffix long long constants with LL.
2617 * testsuite/22_locale/num_get_members_wchar_t.cc:
2618 (test02, test01): Likewise.
2619 * testsuite/22_locale/num_put_members_char.cc:
2620 (test02, test01): Likewise.
2621 * testsuite/22_locale/num_put_members_wchar_t.cc:
2622 (test02, test01): Likewise.
2624 2002-06-03 Marc Espie <espie@openbsd.org>
2626 * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
2627 assembly for old assemblers.
2629 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
2631 * include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
2633 (vector<bool>::swap(reference,reference)): ...to this.
2635 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
2637 * docs/doxygen/TODO: Update.
2638 * docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS): Set to off, now that
2639 some class members are in 14882 order.
2640 * docs/html/ext/howto.html: 3.1 is in the past now, not the future.
2642 * include/std/std_bitset.h: Update comment.
2643 * src/bitset.cc: Update comments, clean up spacing.
2645 * src/Makefile.am (sources): Alphabetize for convenience.
2646 * src/Makefile.in: Regenerate.
2648 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
2650 * include/bits/stl_deque.h, include/bits/stl_list.h,
2651 include/bits/stl_vector.h: Reformat to (mostly) match C++STYLE.
2652 Reorder to match 14882. Doxygen blocks for all public members.
2654 2002-05-31 Marcus Meissner <meissner@suse.de>
2657 * include/bits/stl_bvector.h: Use UL suffix for unsigned longs.
2658 * testsuite/23_containers/vector_bool.cc (test02): New test.
2660 2002-05-30 Marc Espie <espie@openbsd.org>
2662 * configure.in: Always check for sys/types.h
2663 * configure: Regenerate.
2665 2002-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2667 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
2668 Rebuild the wrapper file every time this proc is called.
2670 2002-05-28 Phil Edwards <pme@gcc.gnu.org>
2672 * testsuite/Makefile.am (noinst_LIBRARIES): New target. Pull in
2674 * testsuite/Makefile.in: Regenerate.
2675 * testsuite/testsuite_hooks.h (gnu_copy_tracker): Move from
2676 list_modifiers.cc and rename from 'T'. Move code bodies...
2677 * testsuite/testsuite_hooks.cc: ...to here. New file.
2678 * testsuite/23_containers/list_modifiers.cc: Move 'T' class out.
2679 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
2680 Add libv3test.a to link options.
2682 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
2684 * src/misc-inst.cc: Define unnecessary algorithm
2685 instantiations. Break apart instantiations into groupings below.
2686 * src/fstream-inst.cc: New.
2687 * src/io-inst.cc: New.
2688 * src/istream-inst.cc: New.
2689 * src/ostream-inst.cc: New.
2690 * src/streambuf-inst.cc: New.
2691 * src/sstream-inst.cc: New.
2692 * src/Makefile.am (sources): Add files.
2693 * src/Makefile.in: Regenerate.
2695 * acinclude.m4: Work around automake 1.4-p5 bug, change
2696 AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
2698 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
2701 * config/os/solaris/solaris2.6/bits/ctype_noninline.h
2702 (classic_table): Fix.
2703 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2705 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
2707 * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
2708 _GLIBCPP_USE_WCHAR_T.
2709 * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
2710 * testsuite/22_locale/ctype_to_wchar_t.cc: Same.
2711 * testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
2713 2002-05-26 Carlo Wood <carlo@alinoe.com>
2714 Paolo Carlini <pcarlini@unitus.it>
2717 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
2718 (__enc_traits::operator=): add missing return statement.
2720 2002-05-24 Phil Edwards <pme@gcc.gnu.org>
2723 * include/std/std_bitset.h (_Base_biteset<0>): New specialization.
2724 (operator>>): If nothing was extracted, don't fail in the
2726 * testsuite/23_containers/bitset_ctor.cc (test02): New test.
2728 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
2731 * testsuite/22_locale/ctype_narrow_char.cc: New.
2732 * testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
2733 * testsuite/22_locale/ctype_widen_char.cc: New.
2734 * testsuite/22_locale/ctype_widen_wchar_t.cc: New.
2735 * testsuite/22_locale/ctype_members_char.cc: Move some bits into...
2736 * testsuite/22_locale/ctype_is_char.cc: ...this.
2737 * testsuite/22_locale/ctype_to_char.cc: ...and this.
2738 * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
2739 * testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
2740 * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
2742 * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
2744 2002-05-24 Dale Peakall <dale@peakall.net>
2747 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
2748 * config/locale/generic/ctype_members.cc: Same.
2750 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
2753 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
2754 for empty string literal.
2755 (ostream::operator<<(const _CharT*)): Same.
2756 (ostream<char>::operator<<(const char*)): Same.
2757 (ostream<char>::operator<<(streambuf*)): Same.
2758 * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
2759 * testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
2761 2002-05-23 Benjamin Kosnik <bkoz@redhat.com>
2763 * configure.in (release_VERSION): Update to 3.1.1.
2764 (libtool_VERSION): Update to 4:1:0.
2765 * configure: Regenerate.
2767 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
2769 * include/bits/stl_pair.h: Tweak comment markup.
2771 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
2773 * include/ext/stdio_filebuf.h: Add header guards. Doxygenate.
2775 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
2777 * docs/doxygen/user.cfg.in (EXCLUDE): Add 'CVS'.
2779 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
2781 * include/bits/stl_vector.h: Reformat to follow C++STYLE.
2782 Doxygenate all public members. Reorder to follow 14882.
2783 (vector::push_back(void)): Remove previously-deprecated fn.
2784 (vector::insert(iterator), vector::_M_insert_aux(iterator)):
2785 Deprecate for removal in 3.3.
2787 2002-05-20 Phil Edwards <pme@gcc.gnu.org>
2789 * docs/html/faq/index.html (5.4): Recommend against -I options for
2790 finding the ext headers.
2791 * docs/html/faq/index.txt: Regenerate.
2793 2002-05-19 Paolo Carlini <pcarlini@unitus.it>
2795 * testsuite/23_containers/deque_operators.cc (test01):
2796 Fix minor typo in last commit.
2798 2002-05-18 Paolo Carlini <pcarlini@unitus.it>
2801 * include/bits/stl_deque.h (_Deque_iterator::operator==,
2802 operator!=, operator<, operator>, operator>=, operator<=):
2803 Make non-member functions, to allow comparing const and
2804 non-const iterators in any order.
2805 * testsuite/23_containers/deque_operators.cc: New testfile.
2807 2002-05-16 Phil Edwards <pme@gcc.gnu.org>
2809 * docs/html/faq/index.html: Update not-a-bug list with basic_file.h.
2810 * docs/html/faq/index.txt: Regenerate.
2812 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2814 * Makefile.am: Allow for PWDCMD to override hardcoded pwd.
2815 * acinclude.m4: Likewise.
2816 * docs/html/Makefile: Likewise.
2817 * aclocal.m4: Regenerate.
2818 * configure: Regenerate.
2819 * Makefile.in: Regenerate.
2821 2002-05-15 Loren J. Rittle <ljrittle@acm.org>
2824 * include/bits/c++config (__USE_MALLOC): Report case where
2825 the user improperly defined it on the command line.
2827 2002-05-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2829 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
2830 Retrieve current limits before setting.
2832 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
2835 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
2837 (ostream::operator<<(const _CharT*)): Same.
2838 (ostream<char>::operator<<(const char*)): Same.
2839 * testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
2841 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
2844 * src/strstream.cc (strstreambuf): Fix leak.
2846 2002-05-15 Paolo Carlini <pcarlini@unitus.it>
2849 * include/bits/istream.tcc (istream::getline, ignore):
2850 Upon __idelim (__delim) call sbumpc() not snextc().
2851 * testsuite/27_io/narrow_stream_objects.cc:
2852 Add test08 and test09.
2854 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
2856 * testsuite/22_locale/ctype_scan_char.cc: Tweak.
2857 * testsuite/22_locale/ctype_scan_wchar_t.cc: New.
2859 * docs/html/install.html: Fix.
2861 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
2863 * include/bits/fstream.tcc
2864 (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
2866 * src/localename.cc (locale::_Impl::_M_install_facet): Same.
2868 * docs/html/install.html: Tweak, add bits about required locales
2869 for the 22_locale tests when using the gnu model.
2871 * testsuite/27_io/istream_sentry.cc: Tweak.
2873 2002-05-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2875 * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
2876 Fix typo, use this->is() rather than manually (and perhaps
2877 incorrectly) inlining it.
2878 * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
2880 * testsuite/22_locale/ctype_scan_char.cc: New file.
2882 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
2883 Jakub Jelinek <jakub@redhat.com>
2885 * testsuite/22_locale/money_get_members_char.cc
2886 (test01, test02, test04): Use the de_DE@euro named locale
2887 instead of de_DE to allow for an uniform behaviour with
2888 both old and Euro-era localedata; tweak some tests.
2889 * testsuite/22_locale/money_get_members_wchar_t.cc
2890 (test01, test02, test04): Likewise.
2891 * testsuite/22_locale/money_put_members_char.cc
2892 (test01, test02, test04): Likewise.
2893 * testsuite/22_locale/money_put_members_wchar_t.cc
2894 (test01, test02, test04): Likewise.
2896 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
2898 * testsuite/22_locale/codecvt_members_char_char.cc
2899 (test03): Robustify wrt localedata.
2900 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
2901 * testsuite/22_locale/collate_members_char.cc (test04): Likewise.
2902 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
2903 * testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
2904 * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
2905 * testsuite/22_locale/messages_members_char.cc (test03): Likewise.
2906 * testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
2907 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
2908 * testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
2909 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
2910 * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
2911 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
2912 * testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
2913 * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
2914 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
2915 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
2916 * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
2917 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
2918 * testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
2919 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
2920 * testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
2921 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
2923 2002-05-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2925 * config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
2928 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
2930 * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
2931 to 64 for hppa 64-bit port.
2932 (__glibcpp_long_double_bits): Define to 64 for all hppa ports.
2934 2002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2936 * acinclude.m4 (enable_symvers): Quote $LD.
2937 * aclocal.m4: Regenerate.
2938 * configure: Likewise.
2940 2002-05-09 Jakub Jelinek <jakub@redhat.com>
2942 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
2943 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
2946 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
2948 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
2949 script entry, and set LD to it when configuring multilibs.
2950 * configure: Rebuilt.
2952 2002-05-07 Mark Mitchell <mark@codesourcery.com>
2954 * configure.in: Add support for WindISS.
2955 * configure: Regenerated.
2956 * configure.target: Add support for WindISS.
2957 * config/os/windiss/bits/ctype_base.h: New file.
2958 * config/os/windiss/bits/ctype_inline.h: Likewise.
2959 * config/os/windiss/bits/ctype_noninline.h: Likewise.
2960 * config/os/windiss/bits/os_defines.h: Likewise.
2962 2002-05-06 Paolo Carlini <pcarlini@unitus.it>
2964 Test all the facets for the temporary "C" locale switch issue.
2965 * testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
2966 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
2967 * testsuite/22_locale/collate_members_char.cc: Add test04.
2968 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
2969 * testsuite/22_locale/ctype_members_char.cc: Add test05.
2970 * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
2971 * testsuite/22_locale/messages_members_char.cc: Add test03.
2972 * testsuite/22_locale/money_get_members_char.cc: Add test08.
2973 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
2974 * testsuite/22_locale/money_put_members_char.cc: Add test07.
2975 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
2976 * testsuite/22_locale/moneypunct_members_char.cc: Add test03.
2977 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
2978 * testsuite/22_locale/num_get_members_char.cc: Add test06.
2979 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
2980 * testsuite/22_locale/numpunct_members_char.cc: Add test03.
2981 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
2982 * testsuite/22_locale/time_get_members_char.cc: Add test08.
2983 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
2984 * testsuite/22_locale/time_put_members_char.cc: Add test04.
2985 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
2987 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
2988 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
2990 2002-05-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2992 * config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
2993 __EXTENSIONS__): Ensure they are always defined.
2995 2002-05-06 Phil Edwards <pme@gcc.gnu.org>
2997 * docs/html/documentation.html: Fix broken link.
2999 2002-05-04 Benjamin Kosnik <bkoz@redhat.com>
3000 Paolo Carlini <pcarlini@unitus.it>
3002 * testsuite/22_locale/num_put_members_char.cc: Add test04(),
3003 testing for the locale_facets.tcc entry of the previous commit.
3004 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
3006 2002-05-04 Takeshi Kobayakawa <tskoba@mte.biglobe.ne.jp>
3008 * config/locale/generic/c_locale.cc
3009 (__convert_to_v(float, double, long double)):
3010 Fix the temporary switch to the "C" locale, saving and
3011 restoring in the proper way the current locale.
3012 * config/locale/generic/time_members.cc
3013 (__timepunct<char, wchar_t>::_M_put): Likewise.
3014 * config/locale/gnu/messages_members.cc
3015 (messages<char>::do_get): Likewise.
3016 * config/locale/gnu/messages_members.h
3017 (messages<_CharT>::do_get): Likewise.
3018 * config/locale/gnu/time_members.cc
3019 (__timepunct<char, wchar_t>::_M_put): Likewise.
3020 * include/bits/locale_facets.tcc (__convert_from_v): Likewise.
3022 2002-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3024 * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
3025 * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
3027 * Makefile.in, config.h.in, configure: Regenerate.
3029 2002-05-03 Benjamin Kosnik <bkoz@redhat.com>
3032 * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
3033 * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
3035 2002-05-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3037 * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
3039 (ctype:_M_table): Initialize to classic_table(), not __ctype.
3041 2002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3043 * configure.in: Update local install.html, configopts.html paths.
3044 * configure: Regenerate.
3046 2002-05-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3048 * config/os/irix/irix5.2/bits/os_defines.h
3049 (__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
3051 * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
3054 2002-05-02 Phil Edwards <pme@gcc.gnu.org>
3056 * docs/html/faq/index.html: Update list in #4.1.
3057 * docs/html/faq/index.txt: Regenerated.
3059 2002-05-02 Benjamin Kosnik <bkoz@redhat.com>
3061 * docs/html/17_intro/RELEASE-NOTES (New): Update.
3063 2002-05-01 Phil Edwards <pme@gcc.gnu.org>
3065 * include/std/std_bitset.h: Fix doxygen comments.
3066 * docs/html/documentation.html: Minor tweaks for 3.1.
3067 * docs/html/27_io/howto.html: Likewise.
3068 * docs/html/ext/howto.html: Likewise, mention stdio_filebuf.
3069 * docs/html/faq/index.html: Likewise.
3070 * docs/html/faq/index.txt: Regenerated.
3072 2002-05-01 Benjamin Kosnik <bkoz@redhat.com>
3075 * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
3076 (istreambuf_iterator::equal): Use it.
3077 (istreambuf_iterator::operator*): Use it.
3079 2002-05-01 Paolo Carlini <pcarlini@unitus.it>
3082 * include/bits/stl_uninitialized.h
3083 (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
3084 Fix typo in 2001-07-17 commit: typedef _ValueType to
3085 iterator_traits<_ForwardIter> not <_InputIter>.
3086 * testsuite/23_containers/vector_ctor.cc: Add test04.
3088 2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
3091 * include/c_std/std_cctype.h: Include bits/c++config.h.
3092 * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
3094 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
3096 * include/ext/stdio_filebuf.h: New file.
3097 * include/ext/enc_filebuf.h: New file.
3098 * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
3099 * config/io/basic_file_stdio.cc: Same.
3100 * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
3101 Remove _M_unbuf hacks.
3102 (filebuf::_M_destroy_internal_buffer): Same.
3103 (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
3104 (filebuf::fd): Remove.
3105 * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
3106 (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
3107 (filebuf::fd): Remove.
3108 * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
3110 (ios_base::_S_ios_destroy): Same.
3111 * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
3112 * include/Makefile.am (ext_headers): Add ext_filebuf.h,
3113 stdio_filebuf.h. * include/Makefile.in: Regenerate.
3115 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
3118 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
3120 2002-04-29 Benjamin Kosnik <bkoz@redhat.com>
3123 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
3125 * include/bits/streambuf_iterator.h: Match stream_iterator.h.
3126 (istreambuf_iterator::operator++): Invalidate on eof.
3127 (istreambuf_iterator::operator++(int)): Same.
3128 (istreambuf_iterator::operator*): Same.
3130 2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3132 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
3133 of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
3136 2002-04-28 Benjamin Kosnik <bkoz@redhat.com>
3139 * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
3140 (__basic_file::sys_ungetc): Take int.
3141 * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
3142 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
3143 Use sys_getc for unbuffered input.
3144 * testsuite/27_io/narrow_stream_objects.cc (test06): New.
3146 * src/ios.cc (_M_grow_words): Adjust error checking.
3147 * testsuite/27_io/ios_base_storage.cc: Same.
3149 2002-04-28 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3151 * include/ext/stl_hashtable.h: Import __iterator_category
3153 2002-04-28 Paolo Carlini <pcarlini@unitus.it>
3154 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3156 * testsuite/ext/hash_set.cc: New testfile.
3158 2002-04-27 Benjamin Kosnik <bkoz@redhat.com>
3160 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
3162 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
3163 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
3165 2002-04-26 Paolo Carlini <pcarlini@unitus.it>
3167 * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
3168 Fix and tighten __throw_length_error check.
3169 * testsuite/21_strings/replace.cc (test05): New.
3170 * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
3172 2002-04-23 Loren J. Rittle <ljrittle@acm.org>
3174 * include/std/std_fstream.h (basic_filebuf::sync): Hoist
3175 unconditional flush on lower-layer handle to here...
3176 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
3177 ...from here. Optimize remaining _M_file.sync() call pattern.
3178 * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
3181 2002-04-23 Jason Merrill <jason@redhat.com>
3183 * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
3184 output-only filebufs.
3185 * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
3187 (basic_filebuf::_M_set_determinate): Likewise.
3190 * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
3191 value properly in the trivial case.
3192 * testsuite/27_io/istream_seeks.cc (test04): Make sure that
3193 tellg() returns the right value after a read.
3195 2002-04-23 Hans-Peter Nilsson <hp@bitrange.com>
3197 * config/cpu/mmix/bits/cpu_limits.h: New file.
3198 * configure.target (CPULIMITSH): Use it.
3200 2002-04-22 Loren J. Rittle <ljrittle@acm.org>
3202 * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
3203 * docs/html/17_intro/porting.html: Rebuilt.
3205 2002-04-20 Jason Merrill <jason@redhat.com>
3208 * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
3210 (basic_streambuf::_M_set_determinate): Likewise.
3211 (basic_streambuf::_M_is_indeterminate): Likewise.
3212 * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
3213 non-static data member.
3214 (basic_filebuf::_M_underflow_common): New non-static member function.
3215 (basic_filebuf::_M_underflow, _M_uflow): Call it.
3216 (basic_filebuf::sync): Avoid useless seeking.
3217 (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
3219 (basic_filebuf::_M_set_determinate): Likewise.
3220 (basic_filebuf::_M_is_indeterminate): Likewise.
3221 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
3222 back to _M_out_beg if necessary.
3223 (basic_filebuf::seekoff): Likewise.
3224 (basic_filebuf::_M_underflow_common): Generalization of old
3225 underflow(). Don't seek back to _M_in_beg.
3226 * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
3227 * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
3228 * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
3229 * config/os/mingw32/bits/os_defines.h: Likewise.
3230 * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
3233 2002-04-22 Benjamin Kosnik <bkoz@redhat.com>
3235 * include/bits/istream.tcc (istream::read): Fix.
3236 * testsuite/27_io/istream_unformatted.cc (main): Add.
3238 2002-04-20 Benjamin Kosnik <bkoz@redhat.com>
3241 * include/bits/istream.tcc (istream::ignore): Streamline, use
3243 * include/bits/streambuf.tcc: Use this->gptr.
3244 * testsuite/27_io/istream_unformatted.cc (test08): Add test.
3246 2002-04-18 Benjamin Kosnik <bkoz@redhat.com>
3248 * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
3249 as type safety is important, especially on solaris.
3250 * include/bits/istream.tcc (istream::read): Clean.
3251 (istream::readsome): Same.
3252 * locale.cc: Wrap lines.
3254 * testsuite/21_strings/inserters_extractors.cc: Tweaks.
3255 * testsuite/27_io/instantiations.cc (test): Add bool variable...
3256 * testsuite/21_strings/capacity.cc: Clean.
3258 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
3260 * docs/doxygen/doxygroups.cc: New group on binary searching.
3261 * include/bits/stl_algo.h: Document binary searches and merges.
3262 * include/bits/stl_deque.h: The 'map' member is not the 'map' class.
3264 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
3266 * docs/doxygen/mainpage.html: Doxygen logo is now a PNG file.
3267 * docs/doxygen/run_doxygen: Bump required version.
3268 * docs/doxygen/user.cfg.in: Revert accidental change.
3269 * docs/html/faq/index.html: Reindent a block of links.
3270 (4.4): New note on using dlsym.
3271 * docs/html/faq/index.txt: Regenerated.
3273 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
3275 * testsuite_flags.in (cxxflags): Also pass @EXTRA_CXX_FLAGS@.
3277 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
3279 * config/linker-map.gnu (__malloc_alloc_template): Add.
3280 (__default_alloc_template): Same.
3281 * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
3283 (__default_alloc_template): Same.
3285 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
3287 * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
3289 2002-04-16 Benjamin Kosnik <bkoz@redhat.com>
3291 * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
3292 * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
3293 (__malloc_alloc_template): Conditionalize.
3295 * include/bits/istream.tcc: Remove sputbackc calls.
3297 * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
3299 2002-04-16 Paolo Carlini <pcarlini@unitus.it>
3301 * testsuite/24_iterators/rel_ops.cc: New test.
3303 2002-04-16 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3305 * include/bits/type_traits.h (__normal_iterator): Declare in
3306 __gnu_cxx. Adjust use at global namespace.
3307 * include/bits/stl_iterator.h (__normal_iterator): Move definition
3308 into __gnu_cxx::. Add more operator overloads. Tidy existing ones.
3309 * include/bits/basic_string.h (basic_string): Adjust use of
3311 * include/bits/stl_vector.h (_Alloc>): Likewise.
3312 * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
3313 * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
3315 2002-04-15 Benjamin Kosnik <bkoz@redhat.com>
3319 * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
3321 (__basic_file::close): Call fflush. Correct return if fclose ok.
3322 (__basic_file::is_open): Make const.
3323 Change __c_file_type to __c_file.
3324 * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
3325 (__basic_file::is_open): Make const.
3326 * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
3327 * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
3328 (filebuf::_M_unbuf): Add.
3329 (filebuf::_M_file): Change to non-pointer.
3330 (filebuf::_M_allocate_pback_buffer): Remove.
3331 * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
3332 (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
3333 Change initialization list for _M_file change.
3334 (filebuf::_M_allocate_pback_buffer): Remove.
3335 Change _M_file usage to reflect non-pointer data member.
3337 * config/locale/generic/c_locale.cc
3338 (locale::facet::_S_create_c_locale): Add parameter.
3339 * config/locale/generic/collate_members.cc: Change
3340 _M_compare_helper to _M_compare.
3341 Change _M_transform_helper to _M_transform.
3342 * config/locale/generic/monetary_members.cc: Changeup data types.
3344 * config/locale/generic/numeric_members.cc: Add dtors.
3345 * config/locale/generic/time_members.cc: Add dtors.
3346 * config/locale/gnu/c_locale.cc: Add parameter.
3347 * config/locale/gnu/collate_members.cc:Change
3348 _M_compare_helper to _M_compare.
3349 Change _M_transform_helper to _M_transform.
3350 * config/locale/gnu/ctype_members.cc: Better error checking.
3351 * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
3352 * config/locale/gnu/messages_members.cc: Tweak comment.
3353 * config/locale/gnu/monetary_members.cc: Change data types.
3355 * config/locale/gnu/numeric_members.cc: Add dtors, better error
3357 * config/locale/gnu/time_members.cc: Same.
3358 * config/locale/ieee_1003.1-2001/c_locale.cc
3359 (locale::facet::_S_create_c_locale): Add parameter.
3360 * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
3361 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
3364 * include/bits/locale_facets.h (moneypunct): Use string literals.
3367 (__timepunct): Same.
3368 (locale::_Impl::_M_facets): Change from vector to array.
3369 (locale::_Impl::_M_names): Change from array of strings to array
3371 (locale::facet::_S_create_c_locale): Add parameter.
3372 (locale::locale::_S_num_facets): Move to...
3373 (locale::_Impl::_M_facets_size): Here.
3374 * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
3376 * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
3377 (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
3378 (locale::_Impl::_Impl(string, size_t)): Change to
3379 (locale::_Impl::_Impl(const char*, size_t)): This.
3381 * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
3382 * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
3383 (streambuf::_S_pback_size): This.
3385 * src/globals.cc: Add pre-allocations for "C" facets.
3386 * src/locale-inst.cc: Remove vector instantiations.
3387 * src/locale.cc: Remove vector include. Fixups for _M_names,
3389 * src/localename.cc: Same.
3391 * include/bits/stl_vector.h: Fix odd formatting.
3393 * include/bits/basic_string.tcc: Tweak comment.
3395 * libsupc++/new: Make sure parameters are uglified.
3396 * libsupc++/typeinfo: Same.
3398 * testsuite/22_locale/num_get_members_char.cc: Fixup.
3399 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
3400 * testsuite/27_io/filebuf_members.cc: Same.
3402 2002-04-12 Steve Ellcey <sje@cup.hp.com>
3404 * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
3405 (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
3406 does not define strtoll or strtoull, but does define strtol
3407 and strtoul which are the same since in 64 bit mode
3408 sizeof(long) == sizeof(long long).
3410 2002-04-12 Phil Edwards <pme@gcc.gnu.org>
3412 * include/std/std_bitset.h: Doxygenate std::bitset<>. Clean up
3413 trailing spaces, indentation, and macro names. Make exception
3414 messages more informative.
3416 2002-04-11 Richard Henderson <rth@redhat.com>
3418 * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
3419 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
3420 (basic_ostream<>::operator<<(long long)): Same.
3422 2002-04-11 Richard Henderson <rth@redhat.com>
3424 * config/linker-map.gnu: Add __gxx_personality_sj0.
3426 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
3429 * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
3431 Remove forward declaration of vector.
3433 * include/bits/locale_facets.tcc: Remove vector include.
3434 (use_locale): Adjust.
3435 (has_locale): Adjust.
3436 * src/locale.cc: Adjust.
3437 * src/localename.cc: Same.
3439 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
3440 Richard Henderson <rth@redhat.com>
3442 * include/bits/sstream.tcc: Clean up bit ops.
3443 * include/bits/fstream.tcc: Same.
3445 2002-04-09 Jakub Jelinek <jakub@redhat.com>
3447 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
3448 (__num_base::_S_scale_oct): Remove.
3449 * src/locale.cc (__num_base::_S_scale_hex): Remove.
3450 (__num_base::_S_scale_oct): Remove.
3452 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
3455 * testsuite/23_containers/bitset_members.cc: New test.
3456 * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
3457 (_S_bit_count): Here.
3458 (_First_one::_S_first_one): Move...
3459 (_S_first_one): Here.
3461 * src/bitset.cc: Adjust.
3462 * config/linker-map.gnu: Export.
3464 2002-04-08 Benjamin Kosnik <bkoz@redhat.com>
3467 * include/bits/fstream.tcc (filebuf::seekpos): Fix.
3468 * include/std/std_fstream.h: Clean.
3469 * include/bits/ostream.tcc: Remove extraneous variables.
3470 * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
3471 open modes and which modes.
3472 (stringbuf::seekpos): Same.
3473 * testsuite/27_io/stringbuf_virtuals.cc: New tests.
3475 2002-04-05 Jonathan Wakely <jw@kayari.org>
3477 * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
3478 random_shuffle, partition, stable_partition, sort, stable_sort,
3479 partial_sort, partial_sort_copy, nth_element): Doxygenate.
3481 2002-04-05 David S. Miller <davem@redhat.com>
3483 * config/os/gnu-linux/bits/os_defines.h
3484 (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
3486 2002-04-04 Benjamin Kosnik <bkoz@redhat.com>
3489 via gawrilow@math.tu-berlin.de
3490 * acinclude.m4 (version_specific_libs): Fix combo usage with
3491 --with-gxx-include-dir.
3492 * aclocal.m4: Regenerate.
3495 2002-04-03 Benjamin Kosnik <bkoz@redhat.com>
3497 As per DR 184, libstdc++/3139
3498 * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
3499 (numeric_limits<bool>::is_iec559): False.
3500 (numeric_limits<bool>::is_modulo): False.
3502 * testsuite/27_io/ios_init.cc: Add instantiations.
3504 2002-04-02 Benjamin Kosnik <bkoz@redhat.com>
3507 * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
3508 * testsuite/27_io/ios_init.cc (tests04): Add test.
3511 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
3512 (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
3513 * include/bits/basic_ios.tcc: Same. Remove outdated comments.
3514 * include/bits/istream.tcc: Use _M_fctype, make consistent with
3516 * testsuite/27_io/ios_init.cc (tests03): Add test.
3518 2002-04-02 Phil Edwards <pme@gcc.gnu.org>
3520 * include/Makefile.am (install-data-local): Use mkinstalldirs.
3521 * include/Makefile.in: Regenerate.
3523 2002-04-02 Paolo Carlini <pcarlini@unitus.it>
3524 Nathan Myers <ncm@cantrip.org>
3525 Philip Martin <philip@codematters.co.uk>
3527 * include/bits/basic_string.h
3528 (replace(i1, i2, _CharT* k1, _CharT* k2),
3529 replace(i2, i2, const _CharT* k1, const _CharT* k2),
3530 replace(i1, i2, iterator k1, iterator k2,
3531 replace(i1, i2, const_iterator k1, const_iterator k2):
3532 New specializations to optimize for the common cases of
3533 pointers and iterators.
3534 (replace(pos, n1, s, n2)): Tweak.
3535 * include/bits/basic_string.tcc: Tweak comments.
3536 * testsuite/21_strings/replace.cc (test04): New tests.
3538 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
3541 * acinclude: More extensive checks for msgfmt, --enable-nls.
3542 * aclocal.m4: Regenerate.
3543 * configure: Regenerate.
3545 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
3547 * libsupc++/exception (__verbose_terminate_handler): Point to docs.
3548 * docs/doxygen/doxygroups.cc: Doxygen hooks for abi::__cxa_demangle.
3549 * docs/html/18_support/howto.html: Document the demangler.
3550 * docs/html/17_intro/howto.html: And link to it.
3552 * docs/doxygen/mainpage.html: Describe user-vs-maintainer docs.
3553 * docs/doxygen/run_doxygen: Print user-vs-maintainer.
3555 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
3557 * config/linker-map.gnu: Export __verbose_terminate_handler.
3558 * libsupc++/Makefile.am (sources): Add cxa_demangle.c, dyn-string.c.
3559 Make new LTCOMPILE variable, use it in new special build rules.
3560 * libsupc++/Makefile.in: Rebuild.
3561 * src/vterminate.cc (__verbose_terminate_handler): Enable use of
3562 runtime __cxa_demangle.
3564 * docs/html/install.html: Update prereqs and instructions.
3565 * docs/html/19_diagnostics/howto.html: Bring naming for
3566 verbose_terminate_handler into line with reality.
3568 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
3571 * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
3572 (basic_ios::_M_streambuf_state): Move.
3573 * include/bits/ios_base (ios_base): To here.
3574 * include/bits/ios_base.h (ios_base::_S_local_words): To
3576 (ios_base::_M_word_array): To _M_local_word.
3577 (ios_base::_M_words_limit): To _M_word_size.
3578 (ios_base::_M_words): To _M_word.
3580 * include/bits/basic_ios.tcc: Adjust.
3581 * src/ios.cc (ios_base::_M_grow_words): Tweak.
3582 * testsuite/27_io/ios_base_storage.cc: Add tests.
3585 Kenny Simpson <theonetruekenny@yahoo.com>
3586 * include/bits/ios_base.h: Fix.
3588 Richard Henderson <rth@redhat.com>
3589 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
3592 * include/bits/basic_string.h: Tweak formatting.
3594 2002-04-01 Paolo Carlini <pcarlini@unitus.it>
3596 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
3597 (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
3598 By definition, sizeof(char) == 1.
3599 * include/bits/locale_facets.tcc (money_get::do_get,
3600 money_put::do_put): Ditto.
3601 * testsuite/21_strings/inserters_extractors.cc
3604 2002-03-30 Richard Henderson <rth@redhat.com>
3607 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
3608 data out of the exception struct before calling unexpectedHandler.
3610 2002-03-28 Roger Sayle <roger@eyesopen.com>
3612 * include/c_std/std_cmath.h: To prevent problems overloading
3613 g++ builtins, use the double variants from the global namespace
3614 before defining float and long double variants in std::.
3616 2002-03-28 Loren J. Rittle <ljrittle@acm.org>
3618 * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
3620 2002-03-28 Paolo Carlini <pcarlini@unitus.it>
3622 * testsuite/24_iterators/istream_iterator.cc
3623 (test02): New tests.
3625 2002-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3626 Paolo Carlini <pcarlini@unitus.it>
3628 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
3629 (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
3630 fix i_lit_base e_lit_base arrays, making them independent
3631 from the endianness of the platform; tweak UCS4 to UCS-4BE.
3633 2002-03-27 Benjamin Kosnik <bkoz@redhat.com>
3635 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
3636 allocate at least a byte.
3638 * testsuite/18_support/numeric_limits.cc (test_extrema): Make
3640 * testsuite/27_io/streambuf.cc (test07): Fix.
3643 2002-03-27 Phil Edwards <pme@gcc.gnu.org>
3645 * docs/doxygen/Intro.3: Date tweak.
3646 * docs/doxygen/TODO: Update.
3647 * docs/doxygen/doxygroups.cc: Point to tables.html.
3648 * docs/doxygen/mainpage.html: Date tweak.
3649 * docs/doxygen/run_doxygen: Version tweak. Copy tables.html over.
3650 * docs/doxygen/tables.html: Fill in the blanks.
3652 * docs/doxygen/user.cfg.in (ALIASES): Remove maint and endmaint.
3653 * include/bits/stl_algo.h: Likewise; use expanded form.
3654 * include/bits/stl_alloc.h: Likewise.
3655 * include/bits/stl_construct.h: Likewise.
3656 * include/bits/stl_deque.h: Likewise.
3657 * include/bits/stl_iterator_base_types.h: Likewise.
3658 * include/bits/stl_list.h: Likewise.
3659 * include/bits/stl_relops.h: Likewise.
3660 * include/bits/stl_tempbuf.h: Likewise.
3661 * include/bits/stl_vector.h: Likewise.
3662 * include/std/std_memory.h: Likewise.
3664 * include/bits/stl_deque.h: Point into tables.html and add @ingroup.
3665 * include/bits/stl_list.h: Likewise.
3666 * include/bits/stl_vector.h: Likewise.
3668 2002-03-26 Benjamin Kosnik <bkoz@redhat.com>
3670 * include/c/: Guard with _CPP_.
3671 * include/c_std/: Same.
3672 * include/Makefile.am: Fixup install, link routines for null
3673 c_base_headers_extra scenarios.
3674 * include/Makefile.in: Regerate.
3676 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
3677 Richard Henderson <rth@redhat.com>
3679 * testsuite/22_locale/codecvt_members_unicode_char.cc
3680 (test01, test02): make sure that the i_lit_base array
3681 is sufficiently aligned.
3683 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
3685 * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
3688 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
3690 * testsuite/22_locale/collate_byname.cc
3691 (test01): compare the result of collate::compare with
3692 that of collate::transform + string::compare, not with
3693 that of collate::transform + collate::compare; values
3694 returned by collate::compare are normalized, therefore
3697 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
3698 Jakub Jelinek <jakub@redhat.com>
3700 * config/locale/gnu/messages_members.h: Correct conditional.
3701 * config/locale/gnu/messages_members.cc: Same.
3702 * config/locale/gnu/time_members.cc: Same.
3704 2002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3705 Paolo Carlini <pcarlini@unitus.it>
3707 * testsuite/22_locale/codecvt_members_unicode_char.cc
3708 (test01, test02): Fix i_lit_base arrays, making them
3709 independent from the endianness of the platform.
3711 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
3713 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
3714 signbit and __signbit directly.
3715 * aclocal.m4: Regenerate.
3716 * configure: Regenerate.
3717 * config.h.in: Regenerate.
3718 * libmath/Makefile.am: Simplify.
3719 * libmath/Makefile.in: Regenerate.
3720 * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
3722 * include/Makefile.am: Clean up handling of extra "C" header files.
3723 Add hooks for "C" compatibility headers.
3724 * include/Makefile.in: Regenerate.
3726 * include/c/*: Formatting tweaks, cleanups.
3727 * include/c_std/*: Same.
3729 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
3731 * config/locale/gnu/messages_members.h: Add __uselocale bits.
3732 * config/locale/gnu/messages_members.cc: Same.
3733 * config/locale/gnu/time_members.cc: Same.
3735 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
3737 * src/vterminate.cc: Format, -fno-exceptions cleanup.
3739 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3741 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
3742 (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
3743 * aclocal.m4: Regenerate.
3744 * configure: Likewise.
3746 2002-03-19 Paolo Carlini <pcarlini@unitus.it>
3747 Ulrich Drepper <drepper@redhat.com>
3749 * src/locale-inst.cc (__convert_from_v): Add an additional
3750 __size parameter in the declarations.
3751 * include/bits/locale_facets.tcc
3752 (__convert_from_v): When available (that is,
3753 _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
3754 (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
3755 being defined or not, call and use __convert_from_v in the
3757 (num_put::_M_convert_int): Same here.
3758 (money_put::do_put(long double)): Same here.
3760 2002-03-19 Phil Edwards <pme@gcc.gnu.org>
3762 * docs/html/faq/index.html (#3.6): Rewrap and close <a href> tags.
3763 * docs/html/faq/index.txt: Regenerate.
3765 2002-03-19 Steve Ellcey <sje@cup.hp.com>
3767 * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
3768 GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
3769 --enable-libunwind-exceptions is set.
3770 * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
3771 macro to check for libunwind.
3772 * configure: Regenerate.
3773 * src/Makefile.am (libstdc___la_LDFLAGS): Add
3774 LIBUNWIND_FLAG to libstdc link line.
3775 * src/Makefile.in: Regenerate.
3777 2002-03-19 Benjamin Kosnik <bkoz@redhat.com>
3779 * docs/html/faq/index.html: Add OS X workaround.
3780 * docs/html/17_intro/TODO: Update.
3782 2002-03-18 Paolo Carlini <pcarlini@unitus.it>
3784 * include/bits/locale_facets.tcc
3785 (money_put::do_put(long double)): Fix dimensioning of
3786 temporary buffers to avoid risk of overruns.
3787 (money_put::do_put(string)): Same for the buffer used to
3788 add the grouping chars.
3789 * testsuite/22_locale/money_put_members_char.cc: Add test06.
3790 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
3792 * include/bits/locale_facets.tcc
3793 (collate::do_transform): Simplify.
3795 2002-03-18 Phil Edwards <pme@gcc.gnu.org>
3797 * acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform.
3798 * configure.in: Add comments pointing the way for autoconf 2.5x.
3799 * aclocal.m4, config.h.in, configure: Regenerate.
3801 2002-03-18 Philipp Thomas <pthomas@suse.de>
3803 * include/backward/hash_map.h: hash, hashtable, hash_map and
3804 hash_multimap are in namespace __gnu_cxx.
3805 include/backward/hash_set.h: hash, hashtable, hash_set and
3806 hash_multiset are in namespace __gnu_cxx.
3807 include/backward/hashtable.h: hash and hashtable are in
3808 namespace __gnu_cxx.
3809 include/backward/rope.h: char_producer, sequence_buffer,
3810 rope, crope and wrope are in namespace __gnu_cxx.
3811 include/backward/slist.h: slist is in namespace __gnu_cxx.
3812 * testsuite/backward/header_hash_map_h.cc
3813 testsuite/backward/header_hash_set_h.cc
3814 testsuite/backward/header_hashtable_h.cc
3815 testsuite/backward/header_rope_h.cc
3816 testsuite/backward/header_slist_h.cc
3817 testsuite/backward/header_tempbuf_h.cc: New tests for
3818 checking that we're using the correct namespace.
3820 2002-03-17 Jason Merrill <jason@redhat.com>
3823 * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
3824 (check_exception_spec): Call it. Take the thrown pointer.
3825 (__cxa_call_unexpected): Pass it.
3826 (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr.
3828 2002-03-15 Anthony Green <green@redhat.com>
3830 * configure.in: Remove useless is_mingw32.
3831 * configure: Rebuilt.
3833 2002-03-15 Paolo Carlini <pcarlini@unitus.it>
3835 * testsuite/22_locale/collate_members_char.cc
3836 (test01): compare the result of collate::compare with
3837 that of collate::transform + string::compare, not with
3838 that of collate::transform + collate::compare.
3839 (test01): values returned by collate::compare are
3840 normalized, therefore test against +-1.
3841 * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
3843 2002-03-12 Loren Rittle <ljrittle@acm.org>
3845 reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3846 * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
3848 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
3849 Per Liboriussen <liborius@stofanet.dk>
3851 * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
3853 * config/os/gnu-linux/bits/ctype_inline.h: Same.
3855 * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
3857 * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
3858 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3860 * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
3861 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3863 * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
3864 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3866 * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
3868 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
3870 * include/bits/basic_string.tcc (string::_S_construct(_InIter,
3871 _InIter, const _Alloc&, forward_iterator_tag): Check for null.
3872 (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
3873 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
3874 that memory limits are in place.
3875 (test03): Add tests.
3877 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
3879 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
3880 * aclocal.m4: Regenerate.
3881 * config.h.in: Regenerate.
3882 * configure: Regenerate.
3883 * include/c_std/std_cwctype.h: Guard.
3885 2002-03-11 Chris Demetriou <cgd@broadcom.com>
3887 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
3888 whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
3889 * aclocal.m4: Regenerate.
3890 * configure: Regenerate.
3892 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
3894 * include/bits/stl_bvector.h: Fix warning.
3896 2002-03-11 Richard Henderson <rth@redhat.com>
3898 * include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
3900 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
3902 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
3903 New function. Build the list of tests to run in testsuite_files.
3904 * testsuite/libstdc++-v3.dg/dg.exp: Use it.
3906 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
3908 * testsuite/21_strings/capacity.cc: Only explicitly instantiate on
3909 platforms with no weak support.
3910 * testsuite/27_io/ios_init.cc: Likewise.
3912 2002-03-10 Paolo Carlini <pcarlini@unitus.it>
3914 * include/bits/locale_facets.tcc (time_put::do_put):
3915 Consider sizeof(char_type) in allocating the buffer.
3917 * include/bits/locale_facets.tcc (collate::do_tranform):
3918 Remove redundant variable.
3920 2002-03-10 Ulrich Drepper <drepper@redhat.com>
3921 Paolo Carlini <pcarlini@unitus.it>
3923 * config/locale/generic/collate_members.cc
3924 (collate<char,wchar_t>::_M_compare_helper): normalize
3925 values returned by strcoll and wcscoll.
3926 * config/locale/gnu/collate_members.cc
3927 (collate<char,wchar_t>::_M_compare_helper): ditto
3928 for __strcoll_l and __wcscoll_l.
3930 2002-03-10 Anthony Green <green@redhat.com>
3932 * configure.in: Support cross builds to mingw32 target.
3933 * configure: Rebuilt.
3935 2002-03-09 Paolo Carlini <pcarlini@unitus.it>
3937 * include/bits/locale_facets.tcc (collate::do_transform):
3938 Rewrite to fix problems with long transformed strings.
3940 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
3942 * c_locale_generic.cc: Move to...
3943 * generic/c_locale.cc
3944 * c_locale_generic.h: Move to...
3945 * generic/c_locale.h
3946 * codecvt_specializations_generic.h: Move to...
3947 * generic/codecvt_specializations.h
3948 * collate_members_generic.cc: Move to...
3949 * generic/collate_members.cc
3950 * ctype_members_generic.cc: Move to...
3951 * generic/ctype_members.cc
3952 * messages_members_generic.cc: Move to...
3953 * generic/messages_members.cc
3954 * messages_members_generic.h: Move to...
3955 * generic/messages_members.h
3956 * moneypunct_members_generic.cc: Move to...
3957 * generic/monetary_members.cc
3958 * numpunct_members_generic.cc: Move to...
3959 * generic/numeric_members.cc
3960 * time_members_generic.cc: Move to...
3961 * generic/time_members.cc
3962 * c_locale_gnu.cc: Move to...
3964 * c_locale_gnu.h: Move to...
3966 * collate_members_gnu.cc: Move to...
3967 * gnu/collate_members.cc
3968 * ctype_members_gnu.cc: Move to...
3969 * gnu/ctype_members.cc
3970 * messages_members_gnu.cc: Move to...
3971 * gnu/messages_members.cc
3972 * messages_members_gnu.h: Move to...
3973 * gnu/messages_members.h
3974 * moneypunct_members_gnu.cc: Move to...
3975 * gnu/monetary_members.cc
3976 * numpunct_members_gnu.cc: Move to...
3977 * gnu/numeric_members.cc
3978 * time_members_gnu.cc: Move to...
3979 * gnu/time_members.cc
3980 * c_locale_ieee_1003.1-200x.cc: Move to...
3981 * ieee_1003.1-2001/c_locale.cc
3982 * c_locale_ieee_1003.1-200x.h: Move to...
3983 * ieee_1003.1-2001/c_locale.h
3984 * codecvt_specializations_ieee_1003.1-200x.h: Move to...
3985 * ieee_1003.1-2001/codecvt_specializations.h
3986 * messages_members_ieee_1003.1-200x.cc: Move to...
3987 * ieee_1003.1-2001/messages_members.cc
3988 * messages_members_ieee_1003.1-200x.h: Move to...
3989 * ieee_1003.1-2001/messages_members.h
3991 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
3992 * aclocal.m4: Regenerate.
3993 * configure: Regenerate.
3994 * src/Makefile.am (sources): Change to monetary and numeric.
3995 * src/Makefile.in: Regenerate.
3996 * docs/html/configopts.html: Update to ieee_1003.1-2001.
3998 2002-03-08 scott snyder <snyder@fnal.gov>
4001 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
4002 Allow one more digit of precision.
4003 * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
4004 write a double and read back in the same value.
4006 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
4008 * include/std/std_limits.h: Move static const data members out of
4009 generic template, into base class __numeric_limits_base.
4010 * src/limits.cc: Add definitions.
4011 * config/linker-map.gnu: Add __numeric_limits_base.
4012 * testsuite/18_support/numeric_limits.cc: Declare test in scope.
4014 2002-03-07 Benjamin Kosnik <bkoz@redhat.com>
4016 * include/bits/stl_alloc.h: Add extern implicit allocator
4018 * include/bits/basic_string.tcc: Tweak.
4019 * include/bits/locale_facets.tcc: Remove default args. Add
4020 has_facet, use_facet extern instantiations.
4021 * src/stl-inst.cc: Add explicit instantiation.
4022 * src/locale-inst.cc: Clean. Remove locale member template
4025 * testsuite/22_locale/operators.cc (test02): Enable.
4027 2002-03-06 Benjamin Kosnik <bkoz@redhat.com>
4028 Stephen M. Webb <stephen.webb@bregmasoft.com>
4030 * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
4031 (_S_rb_tree_black): Make enum.
4033 * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
4034 * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
4035 (__stl_threshold): _M_threshold, enum.
4036 * src/stl-inst.cc: Same.
4037 * config/linker-map.gnu: Remove.
4039 * testsuite/23_containers/vector_bool.cc: New.
4041 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
4043 * docs/doxygen/user.cfg.in: Also document deprecated entries.
4044 * docs/html/Makefile: Example rule to rebuild porting-howto.html.
4045 * docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when
4046 referring to the collection as a whole. New section on which macros
4047 can be redefined by the user.
4048 * docs/html/19_diagnostics/howto.html: Update note for concepts.
4049 * docs/html/20_util/howto.html: Update link to SGI.
4050 * docs/html/faq/index.html: Update snapshot versions. New entry
4051 on why g++ (but not gcc) must currently predefine certain macros.
4052 * docs/html/faq/index.txt: Regenerated.
4054 * include/bits/basic_string.h (basic_string::_S_construct): Fix
4055 names in declaration.
4056 (basic_string::compare): These are no longer optional.
4057 * include/bits/ostream.tcc: Tweak closing brace placement.
4058 * include/bits/stl_algo.h: Lots of initial doxygen comment hooks.
4059 * include/std/std_sstream.h: Fix typo in comment.
4060 * include/bits/locale_facets.tcc: Remove unneeded header inclusion.
4061 * src/locale.cc: Likewise.
4063 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
4066 * include/bits/stl_vector.h (vector::push_back()): Guard with
4067 _GLIBCPP_DEPRECATED.
4069 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
4071 * include/bits/c++config: Fix misplaced leading blanks on first line.
4073 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
4075 * docs/html/17_intro/RELEASE-NOTES: Fix usage.
4076 * README (libmath): Make clear.
4078 2002-03-05 Jakub Jelinek <jakub@redhat.com>
4080 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
4081 script globbing in ld.
4082 * aclocal.m4: Rebuilt.
4083 * configure: Rebuilt.
4085 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
4087 * docs/html/17_intro/RELEASE-NOTES: Update.
4088 * README: Format subdirectories.
4090 2002-03-05 Paolo Carlini <pcarlini@unitus.it>
4093 * include/bits/locale_facets.tcc
4094 (num_get::_M_extract_float): Fix the parsing of __dec, since
4095 the standard prescribes that if no grouping characters are
4096 seen, no grouping check is applied.
4097 * testsuite/22_locale/num_get_members_char.cc: Add test05
4098 distilled from the PR.
4099 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
4101 2002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
4103 * docs/html/17_intro/porting-howto.xml: Refer to
4104 http://www.oasis-open.org for docbookx.dtd.
4105 * docs/html/17_intro/porting-howto.html: Regenerated.
4107 2002-03-03 Phil Edwards <pme@gcc.gnu.org>
4110 * include/std/std_sstream.h: Remove trailing spaces.
4111 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
4112 * testsuite/27_io/stringbuf.cc (test05, test06): New tests.
4114 2002-03-02 Paolo Carlini <pcarlini@unitus.it>
4116 * testsuite/22_locale/num_get_members_char.cc (test04):
4117 Use a named locale expecting grouping (de_DE).
4118 * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
4120 * testsuite/27_io/ios_manip_basefield.cc (test01):
4121 Extend coverage, uniform treatment of hexs and octs.
4123 2002-02-28 Richard Henderson <rth@redhat.com>
4125 * config/linker-map.gnu: Export operator new with unsigned long,
4126 and with std::nothrow_t. Likewise operator delete.
4128 2002-02-28 Paolo Carlini <pcarlini@unitus.it>
4130 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
4131 Admit grouping for octals and hexadecimals too.
4132 * testsuite/22_locale/num_get_members_char.cc: Add test04.
4133 (test01): Tweak "." -> "," in void* test.
4134 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
4136 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
4137 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
4139 2002-02-27 Paolo Carlini <pcarlini@unitus.it>
4141 * testsuite/27_io/ios_manip_basefield.cc (test01):
4142 Fix for 64 bit machines.
4144 2002-02-26 Benjamin Kosnik <bkoz@redhat.com>
4147 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
4149 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
4150 (basic_ios::_M_fill_init): New.
4151 (basic_ios::fill()): Delay dealing with _M_fill.
4153 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
4154 (ios_base::_M_call_callbacks): Adjust.
4155 * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
4157 2002-02-26 Loren Rittle <ljrittle@acm.org>
4159 * include/Makefile.am (thread_target_headers): Unconditionally
4160 stage and install gthr-posix.h.
4161 (${target_builddir}/gthr-posix.h): New rule cloned off
4162 ${target_builddir}/gthr-default.h.
4163 (${target_builddir}/gthr-default.h): Support chained inclusion
4164 of gthr support headers.
4165 * include/Makefile.in: Rebuilt.
4167 2002-02-26 Paolo Carlini <pcarlini@unitus.it>
4169 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
4170 Group all the integral types, not only decs.
4171 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
4172 tests, add a few more.
4174 2002-02-25 Benjamin Kosnik <bkoz@redhat.com>
4176 * src/ios.cc (ios_base::~ios_base): Tweak.
4177 (ios_base::_M_call_callbacks): Deal with null __p.
4178 (ios_base::ios_base): Set _M_callbacks.
4179 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
4180 * testsuite/27_io/ios_init.cc (test02): Fix.
4182 * mkcheck.in (static_fail): Failed links go to output file.
4184 2002-02-25 Phil Edwards <pme@gcc.gnu.org>
4186 * docs/html/faq/index.html: Update.
4187 * docs/html/faq/index.txt: Regenerate.
4189 2002-02-22 Phil Edwards <pme@gcc.gnu.org>
4191 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
4192 * aclocal.m4: Regenerate.
4193 * docs/html/configopts.html: Document --enable-symvers.
4194 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag.
4196 2002-02-22 Philipp Thomas <pthomas@suse.de>
4198 * include/backward/tempbuf.h: get_temporary_buffer and
4199 return_temporary_buffer are in namespace std, not in __gnu_cxx.
4201 2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
4203 * configure.in (target_alias): Default to yes.
4204 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
4205 libgcc to default case.
4207 2002-02-20 Phil Edwards <pme@gcc.gnu.org>
4209 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
4210 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
4211 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
4212 * aclocal.m4: Regenerate.
4213 * configure: Regenerate.
4214 * config/linker-map.dummy: New file. Contains nothing useful.
4216 2002-02-20 Benjamin Kosnik <bkoz@redhat.com>
4218 * testsuite/22_locale/money_put_members_char.cc: Fix.
4219 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
4221 * testsuite/27_io/standard_manipulators.cc: New file.
4223 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
4224 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
4226 2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
4228 * config/os/mingw32/bits/ctype_noninline.h
4229 (ctype<char>::ctype): Remove default args from parm list.
4230 * config/os/djgpp/bits/ctype_noninline.h: Same.
4232 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
4234 * include/std/std_iomanip.h: Inline, tweaks.
4235 * config/linker-map.gnu: Remove hacks.
4237 * testsuite/21_strings/capacity.cc: Add explicit instantiations.
4238 * testsuite/27_io/ios_init.cc: Same.
4239 * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
4240 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
4242 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
4244 * config/linker-map.gnu: Export global vtable, typeinfo, guard
4245 variable, and thunk info as per CXXABI docs.
4247 2002-02-19 Loren Rittle <ljrittle@acm.org>
4249 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
4250 * include/Makefile.in: Rebuilt.
4252 2002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4254 * testsuite/22_locale/collate_byname.cc (test01): Replace size4
4255 with size3 for the string collations of str5.
4257 2002-02-18 Paolo Carlini <pcarlini@unitus.it>
4260 * include/bits/locale_facets.tcc (money_put::do_put):
4261 For the space field use __fill instead of ' ', uniformly.
4262 * testsuite/22_locale/money_put_members_char.cc:
4263 Add test05 distilled from PR.
4264 (test01-02-03): Trim some '*' to ' '.
4265 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
4267 2002-02-18 Loren Rittle <ljrittle@acm.org>
4270 * include/Makefile.am (thread_builddir): Remove (map all
4271 existing uses to target_builddir).
4272 (thread_headers): Rename to...
4273 (thread_target_headers): ...this.
4274 (stamp-thread): Remove.
4275 (stamp-target): Correctly state the position as built.
4276 Update all dependencies to match the new reality. Remove all
4277 dependency calculations on directories.
4278 * include/Makefile.in: Rebuilt.
4280 2002-02-16 Benjamin Kosnik <bkoz@redhat.com>
4282 * include/bits/locale_facets.tcc: Add pragma GCC system_header.
4283 * include/bits/fstream.tcc: Same.
4284 * include/bits/sstream.tcc: Same.
4285 * include/bits/ostream.tcc: Same.
4286 * include/bits/istream.tcc: Same.
4287 * include/bits/streambuf.tcc: Same.
4288 * include/bits/basic_ios.tcc: Same.
4289 * include/bits/basic_string.tcc: Same.
4291 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
4293 * include/std/std_iosfwd.h: Don't guard typedefs with
4294 _GLIBCPP_USE_WCHAR_T
4295 * include/bits/stringfwd.h: Same.
4297 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
4299 * src/locale.cc (moneypunct_byname): Remove definitions.
4300 * include/std/std_streambuf.h (streambuf::operator=): Return.
4302 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
4305 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
4306 explicit instantiation.
4307 (string::_Rep::_S_max_size): Same.
4308 * include/bits/basic_string.tcc: Add extern explicit
4309 instantiations for string, wstring.
4310 * include/bits/basic_ios.tcc: Add extern explicit instantiations
4312 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
4313 * include/bits/istream.tcc: Same, for istream, wistream.
4314 * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
4316 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
4317 istringstream, wistringstream, ostringstream, wostringstream,
4318 stringstream, wstringstream.
4319 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
4320 wifstream, ofstream, wofstream, fstream, wfstream.
4321 * src/misc-inst.cc: Correct comments.
4322 Add iomanip instantiations for wide streams.
4323 * include/std/std_iomanip.h: Same.
4324 * include/bits/locale_facets.tcc: Same.
4326 * include/std/std_streambuf.h: Correct
4327 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
4328 * include/std/std_sstream.h: Same.
4329 * include/std/std_ostream.h: Same.
4330 * include/std/std_istream.h: Same.
4331 * include/std/std_fstream.h: Same.
4333 * include/std/std_streambuf.h: Add definitions for private copy
4334 ctor and assignment operator.
4335 * include/std/std_istream.h: Remove declared but undefined copy
4336 ctor and assignment operator. This is taken care of in ios_base,
4337 so adding it in the derived class as well is superfluous.
4338 * include/std/std_ostream.h: Same.
4340 * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
4341 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
4343 2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
4345 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
4346 Add typeinfo bits. Smooth.
4347 * aclocal.m4: Regenerate.
4349 * src/Makefile.in: Same.
4351 2001-02-14 Joel Sherrill <joel@OARcorp.com>
4353 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
4354 which do not have a CAS instruction.
4356 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
4358 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
4359 * configure.in: Call it.
4360 * config/linker-map.gnu: New file, initial incomplete revision.
4361 * src/Makefile.am: Optionally pass version script to the linker.
4362 * aclocal.m4: Regenerate.
4363 * configure: Regenerate.
4364 * src/Makefile.in: Regenerate.
4366 2002-02-13 Benjamin Kosnik <bkoz@redhat.com>
4368 * src/localename.cc: Remove stdexcept include.
4369 * src/locale-inst.cc: Same.
4370 * src/locale.cc: Same.
4371 * src/functexcept.cc: Remove string includes.
4372 * include/std/std_bitset.h: Remove stdexcept include.
4373 * testsuite/23_containers/bitset_members.cc: Add stdexcept.
4374 * testsuite/23_containers/bitset_ctor.cc: Same.
4376 2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
4378 * include/bits/stl_algo (__stl_threshold): Declare external.
4379 (__stl_chunk_size): Same.
4380 * include/bits/stl_bvector.h (__WORD_BIT): Same.
4381 * include/bits/stl_tree.h (_S_rb_tree_red): Same.
4382 (_S_rb_tree_black): Same.
4383 * src/stl-inst.cc (__stl_threshold): Define.
4384 (__stl_chunk_size): Same.
4386 (_S_rb_tree_red): Same.
4387 (_S_rb_tree_black): Same.
4389 * config/io/basic_file_libio.h (__basic_file): Add declarations.
4390 * include/bits/basic_file.h: Remove.
4391 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
4392 Declare generic types, specialization.
4393 * config/io/basic_file_stdio.cc: Definitions.
4394 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
4395 Declare generic types.
4396 * include/Makefile.am (bits_headers): Remove basic_file.h.
4397 (extra_target_headers): Change basic_file_model.h to basic_file.h.
4398 (stamp-target): Same.
4400 * include/bits/stl_alloc.h: Tweaks.
4401 * include/bits/localefwd.h: Same.
4403 2002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
4405 * include/bits/locale_facets.tcc (collate::do_hash): Fix.
4406 * testsuite/22_locale/collate_members_char.cc (test03): New test.
4407 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
4409 2002-02-10 Phil Edwards <pme@gcc.gnu.org>
4411 * include/bits/stl_algo.h (transform (both signatures), generate_n):
4412 Use __typeof__ in concept checks.
4414 2002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
4416 * include/bits/stl_algo.h (__median, for_each, find, find_if,
4417 adjacent_find, count, count_if, search, search_n, swap_ranges,
4418 transform, replace, replace_if, replace_copy, replace_copy_if,
4419 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
4420 unique, unique_copy, reverse, reverse_copy): Doxygenate.
4422 2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
4424 * include/bits/locale_facets.h
4425 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
4426 (__timepunct<_CharT>::_M_initialize_timepunct): Same.
4427 (__timepunct<_CharT>::_M_put_helper): Same.
4428 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
4430 * include/bits/fstream.tcc (filebuf::underflow): Remove
4431 __codecvt_type typedef.
4432 (filebuf::_M_convert_to_external): Same.
4434 2002-02-08 Phil Edwards <pme@gcc.gnu.org>
4436 * docs/doxygen/TODO: Update.
4437 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
4438 * docs/doxygen/mainpage.html: Add TODO list link.
4439 * docs/doxygen/user.cfg.in: Add @doctodo hook.
4440 * docs/doxygen/tables.html: New file, emoty structure only.
4442 * include/bits/stl_iterator.h: Doxygenate just about everything.
4443 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
4444 * include/bits/stl_iterator_base_types.h: Add notes.
4446 2002-02-07 Stephan Buys <sbproxy@icon.co.za>
4448 * include/bits/stl_map.h: Tweak doxygen markup.
4449 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
4450 * include/bits/stl_vector.h: Likewise.
4452 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
4456 * include/std/std_fstream.h (filebuf::__file_type): Change to
4458 (filebuf::_M_convert_to_external): Declare.
4459 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
4460 codecvt bits for wide streams.
4461 (filebuf::_M_really_overflow): Use it.
4462 (filebuf::underflow): Use codecvt.
4463 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
4464 (codecvt<__enc_traits>::do_out): Deal with partial.
4465 (codecvt<__enc_traits>::do_encoding): Return something useful.
4466 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
4468 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
4469 Change expected encoding output.
4471 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
4474 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
4475 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
4477 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
4478 (basic_ios::widen): Same.
4480 2002-02-07 Paolo Carlini <pcarlini@unitus.it>
4482 * testsuite/22_locale/money_get_members_char.cc:
4483 Add comment, tidy up.
4484 (test01): more "en_HK" tests (without showbase).
4485 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
4487 2002-02-06 Loren Rittle <ljrittle@acm.org>
4489 * config/locale/c_locale_generic.cc: Do not trust
4490 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
4493 2002-02-06 Loren Rittle <ljrittle@acm.org>
4495 * acinclude.m4: Add C++ linkage check for strtof.
4496 * aclocal.m4: Rebuilt.
4497 * config.h.in: Rebuilt.
4498 * configure: Rebuilt.
4499 * config/locale/c_locale_generic.cc: Conditionally include
4500 <ieeefp.h>. Improve handling and error checking of float
4501 and long double input for non-C99 configurations.
4503 2002-02-06 Paolo Carlini <pcarlini@unitus.it>
4505 * include/bits/locale_facets.tcc (money_get::do_get(string)):
4506 In case money_base::symbol deal properly with multi-char sign
4507 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
4508 * testsuite/22_locale/money_get_members_char.cc: Add test07.
4509 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
4511 2002-02-05 Paolo Carlini <pcarlini@unitus.it>
4513 * include/bits/locale_facets.tcc (money_get::do_get(string)):
4514 First construct a tentative returned string, then, only if the
4515 parsing succeeds, copy it into the string passed by reference.
4516 * testsuite/22_locale/money_get_members_char.cc: Add test06.
4517 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
4519 2002-02-04 Phil Edwards <pme@gcc.gnu.org>
4521 * docs/doxygen/TODO: Impl-defined behavior now documented...
4522 * docs/html/17_intro/howto.html: ...here.
4523 * docs/doxygen/mainpage.doxy: Remove, rename...
4524 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
4525 * docs/doxygen/style.css: Add small text.
4526 * docs/doxygen/run_doxygen: Adjust for new mainpage.
4527 * docs/doxygen/user.cfg.in: Likewise.
4529 2002-02-04 Stephan Buys <sbproxy@icon.co.za>
4531 * include/bits/stl_map.h: Initial doxygen markup.
4532 * include/std/std_fstream.h: Initial doxygen markup.
4534 2002-02-04 Paolo Carlini <pcarlini@unitus.it>
4537 * include/bits/locale_facets.tcc (money_get::do_get(string)):
4538 Deal correctly with !(__io.flags() & ios_base::showbase)
4539 for case money_base::symbol.
4540 * testsuite/22_locale/money_get_members_char.cc: Add test05.
4541 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
4543 2002-02-02 Paolo Carlini <pcarlini@unitus.it>
4545 * testsuite/22_locale/operators.cc
4546 (gnu_collate::do_compare()): Add return statement to
4547 suppress "no return statement" warning.
4549 2002-02-01 Paolo Carlini <pcarlini@unitus.it>
4551 * testsuite/27_io/ostream_manip.cc: Enable test02.
4553 2002-02-01 Phil Edwards <pme@gcc.gnu.org>
4555 * docs/html/documentation.html: Update for 3.0.96.
4556 * docs/html/faq/index.html: Update for 3.0.96.
4557 * docs/html/faq/index.txt: Regenerated.
4558 * docs/doxygen/TODO: Update notes.
4559 * docs/html/17_intro/howto.html: Initial impl-specific listing.
4561 2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
4563 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
4564 Initialize all data members in copy ctor. Make ctors explicit.
4565 (__enc_traits::__enc_traits()): Default ctor does nothing.
4566 (__enc_traits::_M_init): Guard against multiple iconv_opens.
4567 * include/std/std_sstream.h (basic_stringbuf): Make data members
4569 * include/std/std_fstream.h (basic_filebuf): Same.
4570 * include/std/std_streambuf.h: Tweak.
4571 * include/bits/streambuf.tcc: Same.
4572 * include/bits/sstream.tcc: Same.
4573 * include/bits/fstream.tcc: Same.
4575 2002-01-31 Loren Rittle <ljrittle@acm.org>
4577 * testsuite/22_locale/codecvt_members_char_char.cc: Do not
4578 allow NULL argument to be passed to setenv().
4579 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
4580 * testsuite/22_locale/collate_members_char.cc: Likewise.
4581 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
4582 * testsuite/22_locale/ctype_members_char.cc: Likewise.
4583 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
4584 * testsuite/22_locale/messages_members_char.cc: Likewise.
4585 * testsuite/22_locale/money_get_members_char.cc: Likewise.
4586 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
4587 * testsuite/22_locale/money_put_members_char.cc: Likewise.
4588 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
4589 * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
4590 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
4591 * testsuite/22_locale/num_get_members_char.cc: Likewise.
4592 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
4593 * testsuite/22_locale/num_put_members_char.cc: Likewise.
4594 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
4595 * testsuite/22_locale/numpunct_members_char.cc: Likewise.
4596 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
4597 * testsuite/22_locale/time_get_members_char.cc: Likewise.
4598 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
4599 * testsuite/22_locale/time_put_members_char.cc: Likewise.
4600 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
4602 2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
4604 * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
4606 * ChangeLog-2001: Fix spelling errors...
4607 * docs/html/17_intro/RELEASE-NOTES: Update.
4608 * docs/html/17_intro/TODO: Update.
4609 * README (file): Update.
4611 2002-01-30 Loren Rittle <ljrittle@acm.org>
4613 * config/locale/c_locale_generic.cc: Check errno for ERANGE
4614 instead of non-zero to aid portability.
4616 2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4618 * docs/html/22_locale/messages.html: Fix example code.
4620 2002-01-30 Richard Henderson <rth@redhat.com>
4622 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
4623 out from test03 and templatize.
4626 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
4628 * config/locale/numpunct_members_gnu.cc
4629 (numpunct<char, wchar_t>::_M_initialize_numpunct()):
4630 Fix initialization of _M_grouping for locales which have
4631 _M_thousands_sep == '\0'(L'\0', respectively).
4632 * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
4634 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
4636 * testsuite/27_io/ostream_inserter_arith.cc (test03):
4637 Better fix for 32/64 bit architectures, avoiding the
4638 implicit assumption that CHAR_BIT == 8.
4640 2002-01-28 Phil Edwards <pme@gcc.gnu.org>
4642 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
4643 * Makefile.in: Regenerate.
4645 * docs/doxygen/run_doxygen: Update, mostly for man pages.
4646 * docs/doxygen/Intro.3: Update.
4647 * docs/doxygen/TODO: Update.
4648 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
4649 * docs/doxygen/mainpage.doxy: Update.
4650 * docs/doxygen/user.cfg.in: Update for header rename. Also
4651 regenerate comments and variables with 1.2.12.
4652 * docs/doxygen/maint.cfg.in: Remove file.
4654 * include/bits/stl_relops.h: Doxygenate.
4655 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
4657 * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
4658 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
4659 include/c_std/std_ciso646.h, include/c_std/std_climits.h,
4660 include/c_std/std_clocale.h, include/c_std/std_cmath.h,
4661 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
4662 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
4663 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
4664 include/c_std/std_cstring.h, include/c_std/std_ctime.h,
4665 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
4666 include/ext/algorithm, include/ext/functional, include/ext/hash_map,
4667 include/ext/hash_set, include/ext/iterator, include/ext/memory,
4668 include/ext/numeric, include/ext/rb_tree, include/ext/rope,
4669 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
4670 include/ext/stl_hashtable.h, include/ext/stl_rope.h,
4671 include/std/std_algorithm.h, include/std/std_bitset.h,
4672 include/std/std_complex.h, include/std/std_deque.h,
4673 include/std/std_fstream.h, include/std/std_functional.h,
4674 include/std/std_iomanip.h, include/std/std_ios.h,
4675 include/std/std_iosfwd.h, include/std/std_iostream.h,
4676 include/std/std_istream.h, include/std/std_iterator.h,
4677 include/std/std_limits.h, include/std/std_list.h,
4678 include/std/std_locale.h, include/std/std_map.h,
4679 include/std/std_memory.h, include/std/std_numeric.h,
4680 include/std/std_ostream.h, include/std/std_queue.h,
4681 include/std/std_set.h, include/std/std_sstream.h,
4682 include/std/std_stack.h, include/std/std_stdexcept.h,
4683 include/std/std_streambuf.h, include/std/std_string.h,
4684 include/std/std_utility.h, include/std/std_valarray.h,
4685 include/std/std_vector.h: Add/correct @file doxygen hook.
4687 * include/ext/memory: Doxygenate most of rest of file.
4688 * libsupc++/exception: Doxygen output formatting.
4689 * libsupc++/new: Say which header it is.
4691 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
4692 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
4693 * docs/html/23_containers/howto.html: Describe O(n) list::size().
4694 * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
4696 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
4697 Charles Leggett <CGLeggett@lbl.gov>
4699 * testsuite/27_io/filebuf_members.cc (test_05): Add test.
4701 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
4703 * testsuite/27_io/ostream_inserter_arith.cc (test03):
4704 Fix to deal correctly with both 32 bit and 64 bit architectures
4706 2002-01-25 Loren Rittle <ljrittle@acm.org>
4708 * testsuite/thread/pthread1.cc: Use one condition variable
4709 per predicate instead of tricky use of one condition variable.
4711 2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
4713 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
4715 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
4716 * testsuite/27_io/filebuf.cc: Compile only.
4717 * testsuite/27_io/filebuf_members.cc: Move tests to here.
4718 * testsuite/27_io/filebuf_virtuals.cc: And here.
4719 Revert sungetc, sync changes for expected values.
4720 * testsuite/27_io/filebuf-*: Move to...
4721 * testsuite/27_io/filebuf_virtuals-*: ...here.
4722 * testsuite/27_io/istream.cc: Compile only, activate.
4723 * testsuite/27_io/ostream.cc: Same.
4724 * testsuite/27_io/iostream.cc: New.
4725 * testsuite/27_io/iostream_members.cc: New.
4727 2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
4729 * testsuite/thread/pthread1.cc: Enable on cygwin.
4730 * testsuite/thread/pthread2.cc: Likewise.
4731 * testsuite/thread/pthread3.cc: Likewise.
4732 * testsuite/thread/pthread4.cc: Likewise.
4733 * testsuite/thread/pthread5.cc: Likewise.
4734 * testsuite/thread/pthread6.cc: Likewise.
4736 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
4738 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
4740 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
4742 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
4744 (basic_ios::fill(char_type)): Use fill().
4745 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
4746 (basic_ios::narrow): Same.
4747 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
4748 if they are invalid.
4749 (basic_ios::init): Comment.
4750 * testsuite/27_io/ios_init.cc (test02): New.
4752 2002-01-24 Phil Edwards <pme@gcc.gnu.org>
4754 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
4755 * include/bits/stl_algo.h: Include stl_tempbuf.h.
4756 * include/ext/memory: Do not include stl_tempbuf.h.
4757 (temporary_buffer): Add doxygen hook.
4758 (__get_temporary_buffer, get_temporary_buffer,
4759 return_temporary_buffer): Move back to std:: header...
4760 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
4761 * include/ext/rope: Do not include stl_tempbuf.h.
4762 * include/ext/stl_hashtable.h: Likewise.
4763 * include/std/std_algorithm.h: Likewise.
4764 * testsuite/20_util/temporary_buffer.cc: New file.
4766 2002-01-24 andrew@andypo.net
4767 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
4770 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
4771 * include/bits/localefwd.h: Likewise.
4772 Also use for std::locale::id::_S_highwater.
4773 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
4774 * src/locale.cc: Support new usage of _Atomic_word.
4775 (std::locale::classic): Guard entire function against reentry.
4776 * src/localename.cc: Support new usage of _Atomic_word.
4778 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
4780 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
4781 _GLIBCPP_HAVE_SETENV.
4782 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
4783 * testsuite/22_locale/collate_members_char.cc (test02): Same.
4784 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
4785 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
4786 * testsuite/22_locale/messages_members_char.cc (test02): Same.
4787 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
4788 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
4789 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
4790 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
4791 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
4792 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
4793 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
4794 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
4795 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
4796 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
4797 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
4798 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
4799 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
4800 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
4801 * aclocal.m4: Regenerate.
4802 * configure: Regenerate.
4803 * config.h.in: Regenerate.
4805 2002-01-23 Loren Rittle <ljrittle@acm.org>
4807 * testsuite/thread/pthread1.cc: New test.
4808 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
4809 * testsuite/thread/pthread3.cc: Likewise.
4810 * testsuite/thread/pthread4.cc: New test adapted from
4811 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
4812 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
4813 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
4815 2002-01-23 Richard Henderson <rth@redhat.com>
4818 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
4819 CAS on the cpu variants that support it. Add versions that use
4820 TAS and that disable interrupts.
4821 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
4823 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
4825 * include/bits/locale_facets.tcc: Remove old comments.
4827 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
4829 * include/bits/locale_facets.tcc (__convert_to_v): Change template
4831 (__convert_from_v): Same.
4833 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
4835 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
4837 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
4838 __max_digits checks, adjust arguments.
4839 (num_get::do_get(*)): Changeup.
4841 2002-01-23 Loren Rittle <ljrittle@acm.org>
4843 * config/locale/c_locale_generic.cc: Fix typename usage.
4845 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
4847 * config/locale/c_locale_generic.cc: Fix.
4849 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
4851 * docs/html/22_locale/messages.html: Remove angle brackets.
4852 * docs/html/17_intro/TODO: Add.
4854 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
4856 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
4857 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
4858 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
4859 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
4861 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
4863 Audit for LANG independence.
4864 * include/bits/localefwd.h: Tweaks.
4865 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
4867 (time_get::do_get_year): Same.
4868 (__convert_from_v): Add.
4869 (num_put::_M_convert_float): Use.
4870 (num_put::_M_convert_int): Same.
4871 (money_put::do_put): Same.
4873 * src/locale-inst.cc: Add instantiations for __convert_from_v.
4874 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
4875 * config/locale/time_members_generic.cc:
4876 * config/locale/messages_members_gnu.cc: Same.
4877 * config/locale/messages_members_gnu.h: Same.
4879 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
4880 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
4881 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
4882 * testsuite/22_locale/collate_members_char.cc (test02): New.
4883 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
4884 * testsuite/22_locale/ctype_members_char.cc (test03): New.
4885 * testsuite/22_locale/messages_members_char.cc (test02): New.
4886 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
4887 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
4888 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
4889 * testsuite/22_locale/money_get_members_char.cc (test04): New.
4890 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
4891 * testsuite/22_locale/money_put_members_char.cc (test04): New.
4892 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
4893 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
4894 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
4895 * testsuite/22_locale/time_put_members_char.cc (test03): New.
4896 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
4897 * testsuite/22_locale/time_get_members_char.cc (test07): New.
4898 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
4899 * testsuite/22_locale/num_get_members_char.cc (test03): New.
4900 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
4901 * testsuite/22_locale/num_put_members_char.cc (test03): New.
4903 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
4905 * testsuite/22_locale/time_get_members_char.cc: Same.
4907 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
4910 * include/bits/localefwd.h: Tweak comments.
4911 * include/bits/locale_facets.h (__convert_to_v): Add.
4912 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
4913 (num_get::do_get(float)): Same.
4914 (num_get::do_get(long double)): Same.
4915 (num_get::do_get(bool)): Same.
4916 (num_get::do_get(long)): Same.
4917 (num_get::do_get(long long)): Same.
4918 (num_get::do_get(unsigned int)): Same.
4919 (num_get::do_get(unsigned short)): Same.
4920 (num_get::do_get(unsigned long)): Same.
4921 (num_get::do_get(unsigned long long)): Same.
4922 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
4923 * config/locale/c_locale_generic.cc: Same.
4925 2002-01-22 Loren Rittle <ljrittle@acm.org>
4927 * include/Makefile.am (c_base_builddir): Remove redundant slash.
4928 (std_builddir): Likewise.
4929 (std_headers_rename): Fix cut-n-paste typo.
4930 (install-data-local): Concat path per element instead of once to
4931 first element of list.
4932 * include/Makefile.in: Rebuilt.
4934 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
4936 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
4937 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
4938 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
4940 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
4942 * include/bits/locale_facets.h (ctype<char>::classic_table):
4944 (ctype<char>::_S_ctable): Remove.
4945 * config/os/gnu-linux/bits/ctype_noninline.h
4946 (ctype<char>::_S_table): Remove definition.
4947 (ctype<char>::classic_table): Define.
4948 (ctype<char>::ctype): Replace _S_ctable with classic_table().
4949 * config/os/aix/bits/ctype_noninline.h: Same.
4950 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
4951 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
4952 * config/os/djgpp/bits/ctype_noninline.h: Same.
4953 * config/os/generic/bits/ctype_noninline.h: Same.
4954 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
4955 * config/os/hpux/bits/ctype_noninline.h: Same.
4956 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
4957 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
4958 * config/os/mingw32/bits/ctype_noninline.h: Same.
4959 * config/os/newlib/bits/ctype_noninline.h: Same.
4960 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
4961 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
4962 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
4964 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
4966 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
4967 of _pctype. Use to define _S_ctable. Add definition for alternate
4968 ctor. Initialise _M_ctable to _S_ctable in ctors.
4969 (do_toupper, do_tolower): Use inline code appropriate for C-locale
4970 rather than ::toupper, ::tolower.
4972 2002-01-18 Loren Rittle <ljrittle@acm.org>
4974 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
4975 Add specialization for FreeBSD systems only to avoid losing test
4976 only due to extra precision unmentioned in system headers.
4978 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
4980 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
4982 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
4984 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
4985 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
4987 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4989 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
4991 2002-01-17 David Edelsohn <edelsohn@gnu.org>
4993 * configure.target: Define OPT_LDFLAGS for AIX case.
4995 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4997 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
4998 __glibcpp_double_has_quiet_NaN): Correct mispelling.
5000 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
5002 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
5004 2002-01-16 David Edelsohn <dje@watson.ibm.com>
5006 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
5007 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
5008 * aclocal.m4: Regenerate.
5009 * configure: Regenerate.
5011 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
5013 * include/Makefile.am (c_base_headers_rename): New.
5014 (c_base_headers_extra): New.
5015 (stamp-c_base): Modify.
5016 (install-data-local): Use both.
5017 * include/Makefile.in: Regenerate.
5018 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
5019 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
5020 cstdio ctime cwctype]: Move to..
5021 * include/c/std_*: Here.
5022 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
5023 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
5024 cstdio ctime cwctype]: Move to..
5025 * include/c_std/std_*: Here.
5027 Alexandre Oliva <aoliva@redhat.com>
5028 * include/Makefile.am (.PRECIOUS): Add rule.
5029 * include/Makefile.in: Regenerate.
5031 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
5032 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5034 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
5035 Deuglify, should be current.
5036 (back_insert_iterator::_M_container): Deuglify, should be container.
5037 (front_insert_iterator::_M_container): Same.
5038 (insert_iterator::_M_container): Same.
5039 * testsuite/24_iterators/reverse_iterator.cc: Add check.
5040 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
5041 * testsuite/24_iterators/front_insert_iterator.cc: Same.
5042 * testsuite/24_iterators/insert_iterator.cc: Same.
5044 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
5046 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
5048 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
5049 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
5050 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
5051 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
5052 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
5053 * config/os/newlib/bits/ctype_noninline.h: Same.
5054 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
5055 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
5056 * config/os/hpux/bits/ctype_noninline.h: Same.
5057 * config/os/djgpp/bits/ctype_noninline.h: Same.
5058 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
5059 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
5060 * config/os/aix/bits/ctype_noninline.h: Same.
5062 Testcase by Dietmar Kühl via Peter Schmid
5063 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
5066 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
5068 * libmath/signbitl.c: Copyright years as list, not range.
5069 * libmath/Makefile.am: Same.
5070 * libmath/Makefie.in: Regenerate.
5071 * libmath/signbit.c: Same.
5072 * libmath/nan.c: Same.
5073 * libmath/copysignf.c: Same.
5074 * libmath/signbitf.c: Same.
5075 * testsuite/22_locale/money_get_members_char.cc: Same.
5076 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
5077 * testsuite/22_locale/money_put_members_char.cc: Same.
5078 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
5079 * testsuite/22_locale/time_get_members_char.cc: Same.
5080 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
5081 * testsuite/22_locale/time_put_members_char.cc: Same.
5082 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
5083 * testsuite/21_strings/nonmember.cc: Same.
5084 * testsuite/21_strings/compare.cc: Same.
5085 * testsuite/27_io/stringstream.cc: Same.
5086 * testsuite/27_io/stringbuf.cc: Same.
5087 * testsuite/27_io/filebuf.cc: Same.
5088 * testsuite/27_io/ios_manip_basefield.cc: Same.
5089 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
5090 * include/bits/cpp_type_traits.h: Same.
5091 * include/bits/generic_shadow.h: Same.
5092 * include/bits/gslice_array.h: Same.
5093 * include/bits/gslice.h: Same.
5094 * include/bits/indirect_array.h: Same.
5095 * include/bits/slice_array.h: Same.
5096 * include/bits/sstream.tcc: Same.
5097 * include/bits/streambuf_iterator.h: Same.
5098 * include/bits/valarray_array.tcc: Same.
5099 * include/bits/valarray_meta.h: Same.
5100 * include/bits/valarray_array.h: Same.
5101 * config/os/mingw32/bits/ctype_noninline.h: Same.
5102 * config/os/mingw32/bits/ctype_base.h: Same.
5103 * config/os/hpux/bits/ctype_noninline.h: Same.
5104 * config/os/hpux/bits/ctype_base.h: Same.
5105 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
5106 * config/os/gnu-linux/bits/ctype_base.h: Same.
5107 * config/os/generic/bits/ctype_noninline.h: Same.
5108 * config/os/generic/bits/ctype_base.h: Same.
5110 * libsupc++/tinfo.h: Tweaks.
5112 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
5114 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
5115 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
5116 * testsuite/22_locale/ctype_members_char.cc: Tweak.
5118 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
5120 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
5121 (num_put::do_put(void*)): Fix.
5122 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
5123 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
5124 * testsuite/22_locale/num_get_members_char.cc (test02): Add
5125 long double, void, bool types.
5126 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
5128 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
5129 Alexandre Oliva <aoliva@redhat.com>
5131 * libmath/Makefile.am (LINK): Add --tag CC.
5132 * libmath/Makefile.in: Regenerate.
5134 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
5136 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
5137 of character to attribute mapping table.
5139 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
5141 * testsuite/26_numerics/c99_classification_macros_c.cc
5142 Remove dg-error and dg-excess-errors comments.
5144 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
5146 * include/bits/locale_facets.tcc (time_put::put): Correct output
5148 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
5149 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
5150 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
5151 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
5153 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
5155 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
5157 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
5158 Nathan Myers <ncm@cantrip.org>
5160 * include/bits/basic_string.h
5161 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
5162 temporaries (i.e., call _M_replace_safe) when possible.
5163 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
5164 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
5165 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
5166 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
5167 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
5168 * include/bits/basic_string.tcc
5169 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
5170 replace(__pos, __n1, __s, __n2).
5171 * testsuite/21_strings/replace.cc (test03): New testcases.
5173 * include/bits/basic_string.h (insert(__pos, __s, __n)):
5174 Adjust comparison wrt overflow.
5176 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
5178 * include/Makefile.am (std_headers_rename): New variable.
5179 (install-data-local): Use it.
5180 * include/Makefile.in: Regenerate.
5182 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
5184 * include/bits/locale_facets.tcc (money_put::do_put(string):
5185 Correct output iterator value.
5186 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
5187 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
5189 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
5191 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
5194 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
5196 * include/Makefile.am (std_headers): Update list with new names.
5197 (stamp-std): Link to standardized name.
5198 * include/Makefile.in: Regenerate.
5200 * include/std/algorithm, include/std/bitset, include/std/complex,
5201 include/std/deque, include/std/fstream, include/std/functional,
5202 include/std/iomanip, include/std/ios, include/std/iosfwd,
5203 include/std/iostream, include/std/istream, include/std/iterator,
5204 include/std/limits, include/std/list, include/std/locale,
5205 include/std/map, include/std/memory, include/std/numeric,
5206 include/std/ostream, include/std/queue, include/std/set,
5207 include/std/sstream, include/std/stack, include/std/stdexcept,
5208 include/std/streambuf, include/std/string, include/std/utility,
5209 include/std/valarray, include/std/vector: Rename to...
5211 * include/std/std_algorithm.h, include/std/std_bitset.h,
5212 include/std/std_complex.h, include/std/std_deque.h,
5213 include/std/std_fstream.h, include/std/std_functional.h,
5214 include/std/std_iomanip.h, include/std/std_ios.h,
5215 include/std/std_iosfwd.h, include/std/std_iostream.h,
5216 include/std/std_istream.h, include/std/std_iterator.h,
5217 include/std/std_limits.h, include/std/std_list.h,
5218 include/std/std_locale.h, include/std/std_map.h,
5219 include/std/std_memory.h, include/std/std_numeric.h,
5220 include/std/std_ostream.h, include/std/std_queue.h,
5221 include/std/std_set.h, include/std/std_sstream.h,
5222 include/std/std_stack.h, include/std/std_stdexcept.h,
5223 include/std/std_streambuf.h, include/std/std_string.h,
5224 include/std/std_utility.h, include/std/std_valarray.h,
5225 include/std/std_vector.h: ...this.
5227 2002-01-11 Loren Rittle <ljrittle@acm.org>
5229 * include/Makefile.am (extra_target_headers): New list of all
5230 target files built with ad hoc naming rules.
5231 (stamp-*): Handle LN_S failure in manner portable across make
5233 (install-data-local): Install header files from human-maintained
5234 file lists and directory components instead of non-robust find.
5235 * include/Makefile.in: Rebuilt.
5237 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
5239 * include/bits/locale_facets.tcc (money_get::do_get(string)):
5240 Check for zero-length negative sign before adding it to output
5242 (money_get::do_get(long double)): Return beg.
5243 * testsuite/22_locale/money_get_members_char.cc (test02): Add
5245 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
5247 2002-01-10 David Seymour <seymour_dj@yahoo.com>
5250 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
5251 for _M_extract_float and _M_extract_int
5252 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
5253 (num_get<>::_M_extract_int): Likewise, all callers changed
5254 * testsuite/22_locale/num_get_members_char.cc: Testcase
5256 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
5258 * libsupc++/exception (bad_exception): Add comment.
5259 * libsupc++/new (bad_alloc): Same.
5260 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
5262 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
5264 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
5265 that the destructors should be removed from the descriptions
5266 in the standard: writing them explicitly allows the vtable
5267 heuristic to work. For additional information see:
5268 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
5269 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
5270 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
5271 * libsupc++/exception (bad_exception::~bad_exception()):
5272 Reintroduce declaration.
5273 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
5274 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
5275 (bad_typeid::~bad_typeid()): Same.
5276 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
5277 Reintroduce definition.
5278 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
5279 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
5280 (bad_typeid::~bad_typeid()): Same.
5282 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
5284 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
5285 * include/Makefile.in: Regenerate.
5287 2002-01-09 Bo Thorsen <bo@suse.co.uk>
5289 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
5292 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
5296 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
5297 return value of _M_file->sync().
5298 (filebuf::showmanyc): Check for is_open.
5299 * include/std/fstream (filebuf::sync): Tweak.
5300 * testsuite/27_io/filebuf.cc: Tweak.
5302 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
5303 Brad Garcia <garsh@attbi.com>
5305 * testsuite/27_io/filebuf_members.cc: Add test.
5307 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
5308 Craig Rodrigues <rodrigc@mediaone.net>
5311 * po/Makefile.am (mkinstalldirs): Add.
5312 * po/Makefile.in: Regenerate.
5314 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
5316 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
5317 testsuite/lib/prune.exp: Delete lines ":In function ..." from
5319 * testsuite/23_containers/map_operators.cc: Remove
5320 dg-excess-errors comment.
5321 * testsuite/23_containers/set_operators.cc: Likewise.
5323 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
5325 * include/bits/stl_function.h: Remove two lines of comments;
5326 adjust copyright years.
5328 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
5330 * include/Makefile.am (std_headers): Remove cXXX from list.
5331 (c_base_srcdir): No bits subdirectory.
5332 (c_base_builddir): Same.
5333 (c_base_headers): Adjust names, add ciso646.
5334 (bits_headers): Remove std_xxx.h headers.
5335 * include/Makefile.in: Regenerate.
5337 * include/ext/iterator: Adjust includes.
5338 * include/ext/ropeimpl.h: Same.
5339 * include/ext/stl_hash_fun.h: Same.
5340 * include/ext/algorithm: Same.
5342 * include/backward/bvector.h: Adjust includes.
5343 * include/backward/vector.h: Same.
5344 * include/backward/strstream: Same.
5345 * include/backward/streambuf.h: Same.
5346 * include/backward/stack.h: Same.
5347 * include/backward/set.h: Same.
5348 * include/backward/queue.h: Same.
5349 * include/backward/multiset.h: Same.
5350 * include/backward/multimap.h: Same.
5351 * include/backward/map.h: Same.
5352 * include/backward/list.h: Same.
5353 * include/backward/iterator.h: Same.
5354 * include/backward/iostream.h: Same.
5355 * include/backward/iomanip.h: Same.
5356 * include/backward/fstream.h: Same.
5357 * include/backward/deque.h: Same.
5358 * include/backward/complex.h: Same.
5360 * include/bits/std_algorithm.h: Move to...
5361 * include/std/algorithm: ...here.
5362 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
5363 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
5364 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
5365 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
5366 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
5367 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
5368 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
5371 * include/c_std/bits/std_cassert.h: Move to...
5372 * include/c_std/cassert: Here.
5373 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
5374 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
5375 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
5376 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
5377 std_cwctype.h: Same.
5378 * include/c_std/cmath: Adjust cmath.tcc include.
5379 * include/c_std/cstdlib: Adjust includes.
5380 * include/c_std/cwchar: Same.
5381 * include/c_std/ctime: Same.
5382 * include/c_std/cstring: Same.
5383 * include/c_std/cstdio: Same.
5384 * include/c_std/bits: Remove directory.
5386 * include/c/bits/std_cassert.h: Move to...
5387 * include/c/cassert: Here.
5388 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
5389 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
5390 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
5391 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
5392 std_cwctype.h: Same.
5393 * include/c/bits: Remove directory.
5395 * include/std/cwctype: Remove.
5396 * include/std/cwchar: Remove.
5397 * include/std/ctime: Remove.
5398 * include/std/cstring: Remove.
5399 * include/std/cstdlib: Remove.
5400 * include/std/cstdio: Remove.
5401 * include/std/cstddef: Remove.
5402 * include/std/cstdarg: Remove.
5403 * include/std/csignal: Remove.
5404 * include/std/csetjmp: Remove.
5405 * include/std/cmath: Remove.
5406 * include/std/clocale: Remove.
5407 * include/std/climits: Remove.
5408 * include/std/ciso646: Remove.
5409 * include/std/cfloat: Remove.
5410 * include/std/cerrno: Remove.
5411 * include/std/cctype: Remove.
5412 * include/std/cassert: Remove.
5414 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
5415 files and subsituting <xxx>.
5416 * include/bits/valarray_array.h: Same.
5417 * include/bits/stl_uninitialized.h: Same.
5418 * include/bits/stl_alloc.h: Same.
5419 * include/bits/stl_algobase.h: Same.
5420 * include/bits/sstream.tcc: Same.
5421 * include/bits/pthread_allocimpl.h: Same.
5422 * include/bits/ostream.tcc: Same.
5423 * include/bits/localefwd.h: Same.
5424 * include/bits/locale_facets.tcc: Same.
5425 * include/bits/locale_facets.h: Same.
5426 * include/bits/istream.tcc: Same.
5427 * include/bits/char_traits.h: Same.
5428 * include/bits/boost_concept_check.h: Same.
5429 * include/bits/basic_file.h: Same.
5430 * include/std/bitset: Same.
5431 * include/std/complex: Same.
5432 * include/std/fstream: Same.
5433 * include/std/functional: Same.
5434 * include/std/ios: Same.
5435 * include/std/iostream: Same.
5436 * include/std/ostream: Same.
5437 * include/std/sstream: Same.
5438 * include/std/streambuf: Same.
5439 * include/std/string: Same.
5440 * include/std/iterator: Same.
5441 * include/std/valarray: Same.
5443 * src/ios.cc: Adjust includes.
5444 * src/valarray-inst.cc: Same.
5445 * src/string-inst.cc: Same.
5446 * src/stl-inst.cc: Same.
5447 * src/stdexcept.cc: Same.
5448 * src/misc-inst.cc: Same.
5449 * src/localename.cc: Same.
5450 * src/locale-inst.cc: Same.
5451 * src/locale.cc: Same.
5452 * src/limits.cc: Same.
5453 * src/concept-inst.cc: Same.
5454 * src/complex_io.cc: Same.
5455 * src/codecvt.cc: Same.
5456 * src/bitset.cc: Same.
5457 * src/cmath.cc: Same.
5459 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
5461 * include/bits/stl_tree.h (rb_tree): Move to...
5462 * include/ext/rb_tree: ...here, new file.
5463 * include/Makefile.am (ext_headers): Add new file.
5464 * include/Makefile.in: Regenerate.
5465 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
5466 return_temporary_buffer, struct temporary_buffer): Move to...
5467 * include/ext/memory: ...here.
5468 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
5469 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
5470 * include/backward/tree.h: Include <ext/rb_tree), tweak.
5472 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
5474 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
5475 * include/ext/numeric: ...here, new file.
5476 * include/bits/stl_function.h (identity_element, unary_compose,
5477 binary_compose, compose1, compose2, identity, select1st,
5478 select2nd, project1st + helper, project2nd + helper,
5479 constant_void_fun + helper, constant_unary_fun + helper,
5480 costant_binary_fun + helper, constant0, constant1, constant2,
5481 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
5482 * include/ext/functional: ...here, new file.
5483 * include/Makefile.am (ext_headers): Add new files.
5484 * include/Makefile.in: Regenerate.
5485 * testsuite/ext/headers.cc: Include <ext/numeric> and
5487 * include/backward/algo.h: Include <ext/numeric>, tweak.
5488 * include/backward/function.h: Include <ext/functional>, tweak.
5489 * include/ext/ropeimpl.h: Include <ext/numeric>.
5491 2002-01-03 Jeffrey A Law <law@redhat.com>
5493 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
5494 __strtoull declarations with __extension__.
5496 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
5498 * testsuite/lib/prune.exp: Correct regular expression for
5501 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
5503 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
5504 Change concept checks, as with lower_bound and PR 2054.
5505 * testsuite/ext/concept_checks.cc: Expand test to include those.
5507 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
5509 * include/bits/boost_concept_check.h: Import some changes from
5510 upsteam (Boost) version.
5512 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
5514 * include/bits/stl_algobase.h (copy_n + helpers,
5515 lexicographical_compare_3way + helpers): Move to...
5516 * include/ext/algorithm: ...here.
5517 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
5518 helpers): Move to...
5519 * include/ext/memory: ...here, new file.
5520 * include/Makefile.am (ext_headers): Add new file.
5521 * include/Makefile.in: Regenerate.
5522 * testsuite/ext/headers.cc: Include <ext/memory>.
5523 * include/backward/algobase.h: Include <ext/memory> and
5524 <ext/algorithm>, tweak.
5525 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
5526 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
5528 2002-01-01 Roger Sayle <roger@eyesopen.com>
5530 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
5531 equivalent ___builtin__ versions.
5533 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
5534 are available in libstdc++ as the necessary stub implementations
5535 are provided by libmath/stubs.c.
5537 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
5539 * configure.in: Add support for NetBSD cross compiles.
5540 * configure: Regenerate.