1 2003-01-08 Benjamin Kosnik <bkoz@redhat.com>
3 * include/Makefile.am (stamp-*): Add checks for existing stamps.
4 * include/Makefile.in: Regenerate.
6 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Correct comment.
7 * aclocal.m4: Regenerate.
9 * configure.in: Don't add new multi-do rules every time the
10 directory is reconfigured.
11 * configure: Regenerate.
13 2003-01-08 Brad Spencer <spencer@infointeractive.com>
14 Nathan Myers <ncm@cantrip.org>
16 * src/Makefile.am (stamp-debug): Clean.
17 * src/Makefile.in: Regenerate.
19 2003-01-07 Benjamin Kosnik <bkoz@redhat.com>
22 * Makefile.am (distclean-multi): Fix.
23 * Makefile.in: Regenerate.
25 2003-01-06 Benjamin Kosnik <bkoz@redhat.com>
27 * include/bits/locale_facets.h (messages): Move ctor, dtor
30 * config/locale/gnu/messages_members.h (messages): Add dtor, ctor
31 definitions. Conditionalize for GNU systems.
32 * config/locale/generic/messages_members.h (messages): Add dtor, ctor
34 * config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
35 definitions. Conditionalize for GNU systems.
36 * config/locale/generic/time_members.h (messages): New. Add dtor, ctor
38 * include/bits/localefwd.h (locale::facet::_S_c_name): Add.
39 * src/locale.cc: Define.
40 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
42 * config/locale/gnu/time_members.h: Use it.
43 * config/locale/gnu/messages_members.h: Use it.
44 * config/linker-map.gnu: Add locale::facets details.
45 * include/Makefile.am (target_headers_extra): Add time_members.h.
46 * include/Makefile.in: Regenerate.
47 * acinclude.m4: Export CTIME_H.
48 * aclocal.m4: Regenerate.
49 * configure: Regnerate.
51 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
54 (codecvt<char, char, mbstate_t>::do_in, do_out):
55 Tweak parameters to avoid unused parameter warnings.
57 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
60 * include/bits/locale_facets.cc (num_put::_M_convert_float):
61 Limit __prec to digits10 + 2, not digits10 + 1, taking into
62 account the possibility of %{g,G} conversion specifiers
63 inside _S_format_float.
64 * testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
66 2003-01-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
68 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init,
69 libstdc++-v3-list-sourcefiles): Additionally handle files one
70 level deeper in glob patterns.
72 * testsuite/27_io/istream_extractor_arith.cc: Delete, split...
73 * testsuite/27_io/istream_extractor_arith/01.cc,
74 testsuite/27_io/istream_extractor_arith/02.cc,
75 testsuite/27_io/istream_extractor_arith/03.cc,
76 testsuite/27_io/istream_extractor_arith/06.cc,
77 testsuite/27_io/istream_extractor_arith/07.cc,
78 testsuite/27_io/istream_extractor_arith/08.cc,
79 testsuite/27_io/istream_extractor_arith/09.cc,
80 testsuite/27_io/istream_extractor_arith/10.cc,
81 testsuite/27_io/istream_extractor_arith/11.cc,
82 testsuite/27_io/istream_extractor_arith/12.cc,
83 testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
84 * testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
87 2003-01-05 Paolo Carlini <pcarlini@unitus.it>
91 (codecvt<char, char, mbstate_t>::do_in, do_out):
92 Implement the resolution of DR19 (TC).
93 * testsuite/22_locale/codecvt_members_char_char.cc
96 2003-01-02 Jason Merrill <jason@redhat.com>
98 * config/cpu/i486/atomicity.h (__exchange_and_add, __atomic_add):
99 *__mem is also an output.
100 * config/cpu/m68k/atomicity.h (__exchange_and_add): Likewise.
102 2002-12-30 Loren J. Rittle <ljrittle@acm.org>
104 * src/Makefile.am: Resolve non-portable use of $<.
105 * src/Makefile.in: Rebuilt.
107 2002-12-30 Phil Edwards <pme@gcc.gnu.org>
109 * configure.in (GLIBCPP_ENABLE_CXX_FLAGS): Do not pass arguments,
110 let the defaults work.
111 * configure: Regenerate.
113 2002-12-30 Phil Edwards <pme@gcc.gnu.org>
115 * acinclude.m4: Remove trailing whitespace.
116 (GLIBCPP_ENABLE_CXX_FLAGS): Fix.
117 * aclocal.m4, configure: Regenerate.
119 2002-12-29 Phil Edwards <pme@gcc.gnu.org>
121 * include/std/std_bitset.h: Better comments.
123 2002-12-28 Joseph S. Myers <jsm@polyomino.org.uk>
125 * docs/html/17_intro/porting.texi: Use @copying.
126 * docs/html/17_intro/porting.html: Regenerate.
128 2002-12-27 Mark Mitchell <mark@codesourcery.com>
130 * config/locale/gnu/ctype_members.cc
131 (ctype<wchar_t>::_M_convert_to_wmask): Remove stray semicolon.
132 * config/locale/gnu/monetary_members.cc
133 (moneypunct<wchar_t, true>::_M_initialize_moneypunct): Avoid
134 defining classes in static_cast.
135 (moneypunct<wchar_t, false>::_M_initialize_moneypunct): Likewise.
136 * config/locale/gnu/numeric_members.cc
137 (numpunct<wchar_t, false>::_M_initialize_numpunct): Likewise.
138 * include/bits/stl_deque.h (operator-): Insert typename where
140 * include/bits/stl_multiset.h (multiset): Remove stray semicolon.
141 * include/bits/stl_set.h (set): Likewise.
142 * include/bits/valarray_meta.h (bits/slice_array.h): Include it.
143 * include/std/std_fstream.h (basic_fstream::open): Use this-> to
145 (basic_fstream::close): Likewise.
146 * libsupc++/new (operator delete): Remove stray semicolon.
147 * libsupc++/new (operator delete[]): Likewise.
148 * libsupc++/tinfo.cc: Likewise.
149 * src/stdexcept.c (logic_error::~logic_error): Likewise.
150 (runtime_error::~runtime_error): Likewise.
152 2002-12-26 Phil Edwards <pme@gcc.gnu.org>
154 * libsupc++/exception: Add comment (mistakenly skipped).
156 2002-12-26 Phil Edwards <pme@gcc.gnu.org>
158 * include/std/std_bitset.h (_Base_bitset::_M_do_left_shift,
159 _Base_bitset::_M_do_right_shift): Expect a non-zero shift.
160 (bitset::operator<<=, bitset::operator>>=): When shifting more bits
161 than are in the bitset, zero memory rather than segfault.
162 (operator>>(basic_istream,bitset): Only call setstate once, after
163 all work has been done.
165 * testsuite/23_containers/bitset_members.cc (test03): New test.
166 * testsuite/23_containers/bitset_shift.cc (test02): New test.
168 2002-12-26 Phil Edwards <pme@gcc.gnu.org>
170 * libsupc++/vterminate.cc (writestr): Use __builtin_strlen.
172 2002-12-26 Phil Edwards <pme@gcc.gnu.org>
174 * libsupc++/eh_term_handler.cc: Add comment about embedded systems.
175 * docs/html/debug.html: Cosmetic and HTML changes. Point to
177 * docs/html/documentation.html: Link to the FAQ.
178 * docs/html/17_intro/howto.html: Mention use of isatty(3).
179 * docs/html/19_diagnostics/howto.html: Update verb-term description.
181 2002-12-25 Phil Edwards <pme@gcc.gnu.org>
183 * src/vterminate.cc: Move to...
184 * libsupc++/vterminate.cc: ...here. New file. Replace fprintf with
185 writestr macro. Slight reword to explanatory text.
186 * libsupc++/eh_terminate.cc (__cxxabiv1::__terminate_handler,
187 __cxxabiv1::__unexpected_handler): Break definitions out to...
188 * libsupc++/eh_unex_handler.cc: ...here (new file), and...
189 * libsupc++/eh_term_handler.cc: ...here (new file). Initialize
190 __terminate_handler with __gnu_cxx::__verbose_terminate_handler
191 instead of std::abort.
193 * libsupc++/Makefile.am (sources), src/Makefile.am (sources): Update.
194 * libsupc++/Makefile.in, src/Makefile.in: Regenerate.
196 2002-12-23 Danny Smith <dannysmith@users.sourceforge.net>
198 * config/io/basic_file_stdio.cc (__basic_file::_M_open_mode):
199 Don't use O_NONBLOCK if it is not defined.
200 (__basic_file::open): Don't use fcntl either.
202 2002-12-20 Sylvain Pion <Sylvain.Pion@mpi-sb.mpg.de>
204 * include/bits/stl_deque.h: Fix typo.
205 * include/bits/stl_list.h: Same.
206 * include/bits/stl_map.h: Same.
207 * include/bits/stl_multimap.h: Same.
208 * include/bits/stl_queue.h: Same.
209 * include/bits/stl_stack.h: Same.
210 * include/bits/stl_vector.h: Same.
212 2002-12-18 Benjamin Kosnik <bkoz@redhat.com>
214 * docs/html/documentation.html: Add link for debug.html.
215 * docs/html/debug.html: New.
217 2002-12-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
219 * testsuite/23_containers/vector_capacity.cc (test03): Move ...
220 * testsuite/23_containers/vector_resize.cc: ...here as a new file.
221 Pass in -lmalloc for irix6.
222 * testsuite/27_io/ios_base_storage.cc: Pass in -lmalloc for irix6.
224 2002-12-18 Jason Merrill <jason@redhat.com>
226 * src/vterminate.cc (__verbose_terminate_handler): Send
227 diagnostics to stderr.
229 2002-12-18 Ulrich Weigand <uweigand@de.ibm.com>
231 * configure.in: Define with_target_subdir and with_build_subdir
232 variables in config-ml.in AC_OUTPUT call.
233 * configure: Regenerate.
235 2002-12-16 Paolo Carlini <pcarlini@unitus.it>
238 * include/std/std_limits.h
239 (struct numeric_limits<short>,
240 struct numeric_limits<unsigned short>,
241 struct numeric_limits<int>,
242 struct numeric_limits<unsigned int>,
243 struct numeric_limits<long>,
244 struct numeric_limits<unsigned long>,
245 struct numeric_limits<long long>,
246 struct numeric_limits<unsigned long long>): According
247 to 18.2.1.2,53 and 18.2.1.5,1 is_iec559 shall be false.
248 * testsuite/18_support/numeric_limits.cc: Add test04.
250 2002-12-16 Benjamin Kosnik <bkoz@redhat.com>
252 * configure.in (GLIBCPP_ENABLE_DEBUG): Default to none.
253 Call GLIBCPP_ENABLE_DEBUG_FLAGS.
254 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): GLIBCPP_BUILD_DEBUG, new
255 conditional if --enable-debug is yes. Rework.
256 (GLIBCPP_ENABLE_DEBUG_FLAGS): New.
257 * aclocal.m4: Regenerate.
258 * libio/Makefile.am: Remove DEBUG_FLAGS.
259 * libio/Makefile.in: Regenerate.
260 * libsupc++/Makefile.am: Remove DEBUG_FLAGS.
261 * libsupc++/Makefile.in: Regenerate.
262 * docs/html/configopts.html: Add docs for --enable-debug,
263 --enable-debug-flags.
265 2002-12-16 Benjamin Kosnik <bkoz@redhat.com>
267 Correct dependency tracking, build warts.
268 * configure.in: Correct repeated AC_OUTPUT thrashing by
270 * configure: Regenerate.
271 * include/Makefile.am (stamp-target): Stamp in top_builddir.
272 * include/Makefile.in: Regenerate.
273 * src/Makefile.am (codecvt_members.cc): New rule.
274 (collate_members.cc): Same.
275 (ctype_members.cc): Same.
276 (messages_members.cc): Same.
277 (monetary_members.cc): Same.
278 (numeric_members.cc): Same.
279 (time_members.cc): Same.
280 (c++locale.cc): Same.
281 (basic_file.cc): Same.
282 * src/Makefile.in: Regenerate.
283 * acinclude.m4 (CCTYPE_CHAR_CC): Remove.
284 (CCCODECVT_CC): Don't link, AC_SUBST.
287 (CMESSAGES_CC): Same.
292 * aclocal.m4: Regenerate.
294 * src/Makefile.am (libstdc___la_LIBADD): Use top_builddir
295 for convenience libraries.
296 (version_arg): Rename linker.map to libstdc++.ver.
297 (libstdc___la_DEPENDENCIES): Remove linker.map, add
298 libstdc++-symbol.ver as a dependency.
299 (libstdc++-symbol.ver): Add rule.
300 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Change LINKER_MAP to
301 SYMVER_MAP. Don't link, AC_SUBST.
303 * include/Makefile.am (target_headers_noinst): New.
304 (stamp-target): Add CLOCALE_INTERNAL_H.
305 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't link
306 CLOCALE_INTERNAL_H, AC_SUBST.
307 * config/locale/gnu/c_locale.cc: Modify c++locale_internal.h
309 * config/locale/gnu/time_members.cc: Same.
310 * config/locale/gnu/numeric_members.cc: Same.
311 * config/locale/gnu/monetary_members.cc: Same.
312 * config/locale/gnu/messages_members.cc: Same.
313 * config/locale/gnu/ctype_members.cc: Same.
314 * config/locale/gnu/collate_members.cc: Same.
315 * config/locale/gnu/codecvt_members.cc: Same.
316 * config/locale/generic/codecvt_members.cc: Remove.
318 2002-12-11 Paolo Carlini <pcarlini@unitus.it>
321 * config/locale/generic/time_members.cc
322 (__timepunct<char>::_M_initialize_timepunct): Fix typos
323 in _M_date_format and _M_date_era_format string literals.
325 2002-12-10 Mark Mitchell <mark@codesourcery.com>
327 * libsupc++/cxxabi.h (__cxa_bad_cast): Declare it.
328 (__cxa_bad_typeid): Likewise.
329 (__cxa_atexit): Likewise.
330 (__cxa_finalize): Likewise.
332 2002-12-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
334 * include/bits/slice_array.h (slice_array<>::operator=): Fix typo.
336 2002-12-09 Mark Mitchell <mark@codesourcery.com>
338 * libsupc++/cxxabi.h (__cxa_pure_virtual): Declare it.
340 2002-12-05 Benjamin Kosnik <bkoz@redhat.com>
342 * testsuite/abi_check.cc: Add GLIBCPP_3.2.2.
344 2002-12-04 Paolo Carlini <pcarlini@unitus.it>
346 * config/locale/generic/codecvt_members.cc (codecvt::do_out
347 (state_type&, const intern_type*, const intern_type*,
348 const intern_type*&, extern_type*, extern_type*, extern_type*&),
349 codecvt::do_in(state_type&, const extern_type*, const extern_type*,
350 const extern_type*&, intern_type*, intern_type*, intern_type*&)):
351 Fully qualify min() with std::.
352 * config/locale/gnu/codecvt_members.cc: Ditto.
353 * locale/ieee_1003.1-2001/codecvt_specializations.h
354 (codecvt::do_length(const state_type&, const extern_type*,
355 const extern_type*, size_t): Ditto.
356 * include/bits/deque.tcc
357 (_M_range_initialize(_ForwardIterator, _ForwardIterator,
358 forward_iterator_tag), deque::_M_range_insert_aux(iterator,
359 _ForwardIterator, _ForwardIterator, forward_iterator_tag),
360 deque::_M_reallocate_map(size_type, bool)): Fully qualify
361 distance() and max() with std::.
362 * include/bits/fstream.tcc (basic_filebuf::seekoff(off_type,
363 ios_base::seekdir, ios_base::openmode)): Fully qualify max()
365 * include/bits/istream.tcc (basic_istream::ignore(streamsize,
366 int_type), basic_istream::readsome(char_type*, streamsize)):
367 Fully qualify min() with std::.
368 * include/bits/locale_facets.tcc (time_get::_M_extract_name
369 (iter_type&, iter_type&, int&, const _CharT**, size_t,
370 ios_base::iostate&)): Ditto.
371 * include/bits/sstream.tcc (basic_stringbuf::overflow(int_type)):
372 Fully qualify max() with std::.
373 * include/bits/stl_algo.h (__inplace_stable_partition(_ForwardIter
374 __first, _ForwardIter, _Predicate, _Distance),
375 __stable_partition_adaptive(_ForwardIter, _ForwardIter, _Predicate,
376 _Distance, _Pointer, _Distance), __merge_sort_loop(_RandomAccessIter1,
377 _RandomAccessIter1, _RandomAccessIter2, _Distance),
378 __merge_sort_loop(_RandomAccessIter1, _RandomAccessIter1,
379 _RandomAccessIter2, _Distance, _Compare), lower_bound(_ForwardIter,
380 _ForwardIter, const _Tp&), lower_bound(_ForwardIter, _ForwardIter,
381 const _Tp&, _Compare), upper_bound(_ForwardIter, _ForwardIter,
382 const _Tp&), upper_bound(_ForwardIter, _ForwardIter, const _Tp&,
383 _Compare), equal_range(_ForwardIter, _ForwardIter, const _Tp&),
384 equal_range(_ForwardIter, _ForwardIter, const _Tp&, _Compare),
385 __merge_without_buffer(_BidirectionalIter, _BidirectionalIter,
386 _BidirectionalIter, _Distance, _Distance), __merge_without_buffer
387 (_BidirectionalIter, _BidirectionalIter, _BidirectionalIter,
388 _Distance, _Distance, _Compare), __rotate_adaptive(_BidirectionalIter1,
389 _BidirectionalIter1, _BidirectionalIter1, _Distance, _Distance,
390 _BidirectionalIter2, _Distance), __merge_adaptive(_BidirectionalIter,
391 _BidirectionalIter, _BidirectionalIter, _Distance, _Distance,
392 _Pointer, _Distance), __merge_adaptive(_BidirectionalIter,
393 _BidirectionalIter, _BidirectionalIter, _Distance, _Distance,
394 _Pointer, _Distance, _Compare), inplace_merge(_BidirectionalIter,
395 _BidirectionalIter, _BidirectionalIter), inplace_merge
396 (_BidirectionalIter, _BidirectionalIter, _BidirectionalIter,
397 _Compare), __find_end(_BidirectionalIter1, _BidirectionalIter1,
398 _BidirectionalIter2, _BidirectionalIter2, bidirectional_iterator_tag,
399 bidirectional_iterator_tag), __find_end(_BidirectionalIter1,
400 _BidirectionalIter1, _BidirectionalIter2, _BidirectionalIter2,
401 bidirectional_iterator_tag, bidirectional_iterator_tag,
402 _BinaryPredicate)): Fully qualify distance() and min() with std::.
403 * include/bits/stl_algobase.h (lexicographical_compare
404 (const unsigned char*, const unsigned char*, const unsigned char*,
405 const unsigned char*)): Fully qualify min() with std::.
406 * include/bits/stl_bvector.h (_M_insert_range(iterator,
407 _ForwardIterator, _ForwardIterator, forward_iterator_tag),
408 _M_assign_aux(_ForwardIterator, _ForwardIterator,
409 forward_iterator_tag),
410 _M_initialize_range(_ForwardIterator, _ForwardIterator,
411 forward_iterator_tag), _M_fill_insert(iterator, size_type, bool)):
412 Fully qualify distance() and max() with std::.
413 * include/bits/stl_deque.h
414 (_Deque_base::_M_initialize_map(size_t),
415 _M_assign_aux(_ForwardIterator, _ForwardIterator,
416 forward_iterator_tag)):
417 Ditto. * include/bits/stl_list.h (size()): Fully qualify
418 distance() with std::.
419 * include/bits/stl_tempbuf.h (_Temporary_buffer::_Temporary_buffer
420 (_ForwardIterator, _ForwardIterator)): Ditto.
421 * include/bits/stl_tree.h (_Rb_tree::erase(const _Key&),
422 _Rb_tree::count(const _Key&)): Ditto.
423 * include/bits/stl_vector.h (_M_range_initialize(_ForwardIterator,
424 _ForwardIterator, forward_iterator_tag)): Ditto.
425 * include/bits/streambuf.tcc (basic_streambuf::xsgetn(char_type*,
426 streamsize), basic_streambuf::xsputn(const char_type*, streamsize)):
427 Fully qualify min() with std::.
428 * include/bits/vector.tcc (_M_assign_aux(_ForwardIter, _ForwardIter,
429 forward_iterator_tag), _M_fill_insert(iterator, size_type,
430 const value_type&), _M_range_insert(iterator, _ForwardIterator,
431 _ForwardIterator, forward_iterator_tag)): Fully qualify max() and
432 distance() with std::.
433 * include/std/std_bitset.h (bitset::_M_copy_from_string
434 (const basic_string&, size_t, size_t)): Fully qualify min() with std::.
435 * include/std/std_streambuf.h (_M_pback_create()): Ditto.
436 * include/std/std_complex.h (abs(const complex<_Tp>&)):
437 Fully qualify max() with std::.
438 * include/std/std_sstream.h (str()): Ditto.
439 * src/codecvt.cc (codecvt::do_out(state_type&, const intern_type*,
440 const intern_type*, const intern_type*&, extern_type*, extern_type*,
441 extern_type*&), codecvt::do_in(state_type&, const extern_type*,
442 const extern_type*, const extern_type*&, intern_type*, intern_type*,
443 intern_type*&), codecvt::do_length(const state_type&,
444 const extern_type*, const extern_type*, size_t), do_length
445 (const state_type&, const extern_type*, const extern_type*,
446 size_t)): Fully qualify min() with std::.
447 * src/strstream.cc (strstreambuf::strstreambuf(streamsize),
448 strstreambuf::overflow(int_type)): Fully qualify max() with std::.
450 2002-12-02 Paolo Carlini <pcarlini@unitus.it>
452 * include/bits/basic_string.h (compare(const basic_string&)):
453 Fully qualify min() with std::.
455 2002-12-02 Benjamin Kosnik <bkoz@redhat.com>
457 * configure.in (libtool_VERSION): Update to 5:2:0.
458 * configure: Regenerate.
460 2002-12-02 Paolo Carlini <pcarlini@unitus.it>
462 * include/bits/basic_string.tcc
463 (basic_string::append(const basic_string&, size_type,
464 size_type), basic_string::compare(size_type, size_type,
465 const basic_string&), basic_string::compare(size_type,
466 size_type, const basic_string&, size_type, size_type),
467 basic_string::compare(const _CharT*), basic_string::
468 compare(size_type, size_type, const _CharT*),
469 basic_string::compare(size_type, size_type, const _CharT*,
470 size_type), _S_string_copy(const basic_string&, _CharT*,
471 typename _Alloc::size_type)): Fully qualify min() with std::.
473 2002-12-02 Paolo Carlini <pcarlini@unitus.it>
475 * include/bits/basic_string.tcc
476 (basic_string::_S_construct(_InIter, _InIter, const _Alloc&,
477 forward_iterator_tag)): Delay the declaration of __dnew,
478 fully qualify distance() with std::.
479 (basic_string::_M_replace_safe): Fully qualify distance()
482 2002-11-28 Phil Edwards <pme@gcc.gnu.org>
485 * testsuite/21_strings/ctor_copy_dtor.cc (test05): Also test
486 the NULL-pointer, zero-size case.
488 2002-11-28 Jonathan Wakely <redi@gcc.gnu.org>
490 * docs/html/faq/index.html: Add tip about a namespace for extensions.
492 2002-11-28 Paolo Carlini <pcarlini@unitus.it>
493 Nathan Myers <ncm@cantrip.org>
496 (locale::_Impl::_Impl(const char*, size_t)):
497 Improve previous fix for the strtok vs MT issue.
499 2002-11-28 Paolo Carlini <pcarlini@unitus.it>
501 * config/locale/gnu/c_locale.cc (locale::_S_categories):
502 Reorder the categories to match that of glibc's setlocale(LC_ALL, ""))
503 * config/locale/generic/c_locale.cc (locale::_S_categories): Ditto.
504 * testsuite/22_locale/ctor_copy_dtor.cc (test04): Tweak.
506 2002-11-25 Benjamin Kosnik <bkoz@redhat.com>
508 * testsuite/abi_check.cc: Add CXXABI_1.2.1 as compatible.
509 * config/linker-map.gnu: Version __cxa_guard_acquire,
510 __cxa_guard_release, __cxa_guard_abort in CXXABI_1.2.1.
512 2002-11-25 Paolo Carlini <pcarlini@unitus.it>
513 Nathan Myers <ncm@cantrip.org>
516 (locale::_Impl::_Impl(const char*, size_t)):
517 Avoid strtok for thread safety.
519 2002-11-25 Stephen M. Webb <stephen@bregmasoft.com>
521 * testsuite/testsuite_allocator.h: New file.
522 * testsuite/testsuite_allocator.cc: New file.
523 * testsuite/Makefile.am: Added testsuite_allocator to test library.
524 * testsuite/testsuite_hooks.h: Added more detailed tracker objects
525 gnu_copy_constructor, gnu_assignment_operator, and gnu_destructor.
526 * testsuite/testsuite_hooks.cc: Added new static objects definitions.
527 * testsuite/23_containers/vector_capacity.cc: Added reserve() tests.
528 * testsuite/23_containers/vector_ctor.cc: Added a plethora of tests.
529 * testsuite/23_containers/deque_ctor.cc: Added a slew of new tests.
531 2002-11-25 Mark Mitchell <mark@codesourcery.com>
533 * libsupc++/Makefile.am (sources): Add guard.cc.
534 * libsupc++/Makefile.in: Regenerated.
535 * libsupc++/cxxabi.h (__cxa_guard_acquire): New function.
536 (__cxa_guard_release): Likewise.
537 (__cxa_guard_abort): Likewise.
538 * libsupc++/guard.cc: New file.
540 2002-11-25 Wolfgang Bangerth <bangerth@ticam.utexas.edu>
542 * include/std/std_complex.h
543 (operator<<(basic_ostream&, const complex&)): Prefer 'x'
544 to "x" for efficiency sake.
545 * src/locale.cc (locale::locale(const char*)): Ditto.
547 2002-11-24 Paolo Carlini <pcarlini@unitus.it>
549 * src/locale.cc (locale::locale(const char*)):
550 Trivial cosmetic tweaks.
552 2002-11-22 Laszlo Ersek <erseklaszlo@chello.hu>
553 Paolo Carlini <pcarlini@unitus.it>
556 * include/bits/stl_tree.h (_Rb_tree_rebalance_for_erase):
557 Don't check that __w->_M_left != 0 and __w->_M_right != 0
558 when they can't be otherwise.
560 2002-11-21 Phil Edwards <pme@gcc.gnu.org>
562 * docs/html/documentation.html: Fix broken/thinko'd URL.
564 2002-11-21 Phil Edwards <pme@gcc.gnu.org>
566 * docs/doxygen/run_doxygen: Tighter search expression for sed.
567 * docs/doxygen/stdheader.cc: Handle the case of good headers.
569 2002-11-21 Phil Edwards <pme@gcc.gnu.org>
571 * acinclude.m4: Uniform formatting.
572 * configure.in: Warn when generic atomicity.h is used.
573 * configure.target: Fix comment.
574 * aclocal.m4, configure: Regenerate.
576 2002-11-21 Phil Edwards <pme@gcc.gnu.org>
578 * include/bits/streambuf.tcc (basic_streambuf::sputbackc): Prefix
579 "this->" to call to pbackfail.
581 2002-11-21 Phil Edwards <pme@gcc.gnu.org>
583 * docs/doxygen/style.css: Update.
584 * docs/doxygen/user.cfg.in: Update.
585 * docs/html/documentation.html: Regenerate.
586 * docs/html/17_intro/howto.html: Tweak I/O sentry entry.
587 * docs/html/27_io/howto.html: New section on headers.
588 * docs/html/faq/index.html: Add i386 threading entry.
589 * docs/html/faq/index.txt: Regenerate.
591 * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
594 2002-11-21 Phil Edwards <pme@gcc.gnu.org>
596 * docs/doxygen/TODO: Note change in clause 27 docs.
597 * include/bits/basic_ios.h, include/bits/fpos.h,
598 include/bits/ios_base.h, include/bits/stl_deque.h,
599 include/bits/stl_iterator_base_types.h, include/std/std_fstream.h,
600 include/std/std_iomanip.h, include/std/std_iosfwd.h,
601 include/std/std_iostream.h, include/std/std_istream.h,
602 include/std/std_ostream.h, include/std/std_sstream.h,
603 include/std/std_streambuf.h: Doxygenate all I/O entities.
605 2002-11-20 Benjamin Kosnik <bkoz@redhat.com>
606 Jonathan Lennox <lennox@cs.columbia.edu>
608 * include/bits/streambuf.tcc (__copy_streambufs):
609 Revert previous fix for the interactive half of
610 libstdc++/6745, use _M_buf_size_opt to set dynamically
611 the correct buffer size.
613 2002-11-20 Jonathan Wakely <redi@gcc.gnu.org>
615 * docs/html/21_strings/howto.html: Fix example code, cite Gaby's
616 explanation of "<unknown type>" error with toupper/tolower.
617 * docs/html/22_locale/howto.html: Be more consistent with
618 example in 21_strings.
620 2002-11-19 John Gustafsson <forgoil@rsn.bth.se>
622 * docs/html/20_util/howto.html: Fix typo.
624 2002-11-18 Jonathan Lennox <lennox@cs.columbia.edu>
626 * include/bits/streambuf.tcc (__copy_streambufs): verify
627 __sbin->gptr() + __bufsize < __sbin->egptr() before using.
628 * testsuite/27_io/ostream_inserter_other.cc (test_buffer_4): Add.
629 (test05): Use test_buffer_4. Delete unused ostringstream
632 2002-11-18 Paolo Carlini <pcarlini@unitus.it>
634 PR libstdc++/6745 (continued)
635 * include/bits/streambuf.tcc (__copy_streambufs):
636 Deal with interactive input by using isatty as in the
637 fix for libstdc++/8399.
639 2002-11-17 Jakub Jelinek <jakub@redhat.com>
641 * config/linker-map.gnu: Export _S_construct even if size_t is
642 unsigned long. Collapse std::codecvt<char>::codecvt(size_t)
643 and std::codecvt<wchar_t>::codecvt(size_t) into one export pattern.
645 2002-11-15 Benjamin Kosnik <bkoz@redhat.com>
646 Gabriel Dos Reis <gdr@integrable-solutions.net>
649 * include/bits/stl_alloc.h: Use builtin_expect for the most
650 obvious limit checks.
651 (__default_alloc_template::allocate): Check for null, throw
653 * include/bits/vector.tcc: Formatting tweaks.
654 * include/bits/stl_vector.h: Same.
655 * testsuite/20_util/allocator_members.cc (test02): Add.
656 * testsuite/23_containers/vector_capacity.cc (test03): Add.
658 2002-11-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
660 * src/ios.cc [_GLIBCPP_HAVE_UNISTD_H]: Include unistd.h.
662 2002-11-15 Paolo Carlini <pcarlini@unitus.it>
663 Loren J. Rittle <ljrittle@acm.org>
667 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): New macro to
668 check for unistd.h functions.
669 (GLIBCPP_CHECK_UNISTD_SUPPORT): New macro, check for isatty
671 * configure.in: Call here.
672 * src/ios.cc (ios_base::Init::_S_ios_create(bool)):
673 Use _GLIBCPP_HAVE_ISATTY: ifdef, in case of interactive
674 input __in_size = 1 even when sync_with_stdio is false;
675 otherwise fall back to __in_size = 1.
676 * aclocal.m4: Regenerate.
677 * config.h.in: Regenerate.
678 * configure: Regenerate.
680 2002-11-13 Benjamin Kosnik <bkoz@redhat.com>
682 * acconfig.h (HAVE_DRAND48): Add.
683 (HAVE_GETPAGESIZE): Add.
685 (HAVE_SIGSETJMP): Add.
686 * config.h.in: Regenerate.
687 * configure: Regenerate.
689 2002-11-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
691 * config/os/hpux/os_defines.h (_GLIBCPP_INST_ATOMICITY_LOCK): Define
692 on hppa when there is no weak support.
694 2002-11-13 Benjamin Kosnik <bkoz@redhat.com>
697 * include/bits/vector.tcc (vector::reserve): Throw length_error if
698 requested size is bigger than max_size().
699 * include/bits/stl_bvector.h (vector<bool>::reserve): Same.
700 * testsuite/23_containers/vector_capacity.cc (test02): Add.
702 2002-11-13 Benjamin Kosnik <bkoz@redhat.com>
704 * config/linker-map.gnu: Export all _S_construct.
706 2002-11-13 Loren J. Rittle <ljrittle@acm.org>
709 * src/locale.cc (std::locale::classic()): Weaken locking protocol.
711 2002-11-13 Jonathan Wakely <redi@gcc.gnu.org>
713 * docs/html/install.html, docs/html/22_locale/locale.html: HTML fix.
715 2002-11-11 Benjamin Kosnik <bkoz@redhat.com>
718 * include/bits/fstream.tcc (filebuf::open): Set input pointers.
719 * config/io/basic_file_stdio.cc (__basic_file::_M_open_mode): Set
721 (__basic_file::open): Set to non-block for input.
722 * testsuite/27_io/istream_unformatted.cc (test12): Add.
725 2002-11-11 Jonathan Wakely <redi@gcc.gnu.org>
727 * docs/html/17_intro/howto.html: Make "chapter 22 notes" a link.
728 * docs/html/faq/index.html: Mention that GCC ships with a newer
729 version of the library than the last snapshot. Make "see below" a
730 link. Add missing <html> tag.
731 * docs/html/faq/index.txt: Regenerate.
732 * docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
733 docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
734 docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
735 docs/html/27_io/howto.html, docs/html/ext/howto.html,
736 docs/html/ext/sgiexts.html: Add missing <html> tag.
738 2002-11-07 Phil Edwards <pme@gcc.gnu.org>
739 Richard Earnshaw <rearnsha@arm.com>
741 * config/cpu/generic/atomicity.h: Provide atomic __exchange_and_add
744 2002-11-08 Paolo Carlini <pcarlini@unitus.it>
746 * config/locale/gnu/monetary_members.cc
747 (moneypunct<wchar_t, true>::_M_initialize_moneypunct(__c_locale,
749 moneypunct<wchar_t, false>::_M_initialize_moneypunct(__c_locale,
750 const char*)): Tweak parameters for glibc2.3 systems, thus
751 avoiding unused parameter warnings.
753 2002-11-05 Jonathan Wakely <cow@compsoc.man.ac.uk>
755 * include/std/std_sstream.h
756 (basic_stringbuf::str(const __string_type&)):
757 Prefer data() to c_str(), thus avoiding assigning the
758 unnecessary NULL-terminator.
760 2002-11-05 Benjamin Kosnik <bkoz@redhat.com>
763 * include/bits/istream.tcc (istream::readsome): Don't set eofbit
765 (istream::operator>>(_CharT*)): Use traits_type.
767 (istream::operator>>(string)): Same.
768 * testsuite/27_io/istream_unformatted.cc (test11): Add.
770 2002-11-05 Paolo Carlini <pcarlini@unitus.it>
773 * include/std/std_sstream.h
774 (basic_stringbuf::str(const __string_type&)):
775 Cannot use simple assignment since the COW-nature of v3
776 basic_string is not taken into account in basic_stringbuf.
777 * testsuite/27_io/stringstream_members.cc: Add test04 from PR.
779 2002-11-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
781 * configure.target (hppa*): Define cpu_include_dir.
782 * config/os/hpux/os_defines.h (_GLIBCPP_INST_ATOMICITY_LOCK): Define.
783 * src/misc-inst.cc: Instantiate atomicity lock when
784 _GLIBCPP_INST_ATOMICITY_LOCK is defined.
785 * config/cpu/hppa/atomicity.h: New file.
787 2002-11-05 Benjamin Kosnik <bkoz@redhat.com>
790 * include/bits/ios_base.h (~ios_base): Make virtual.
792 2002-11-04 Benjamin Kosnik <bkoz@redhat.com>
794 * config/linker-map.gnu: Export string operator+.
795 Export __default_alloc_template::_S_force_new.
796 * testsuite/abi_check.cc: Output tweaks.
798 2002-11-01 Benjamin Kosnik <bkoz@redhat.com>
801 * src/string-inst.cc: Add instantiation.
803 2002-11-01 Benjamin Kosnik <bkoz@redhat.com>
806 * configure.target: Simplify.
807 * config/cpu/i386/atomicity.h: Remove.
808 * config/cpu/i386: Remove.
809 * config/cpu/arm/atomicity.h: Remove.
810 * config/cpu/arm: Remove.
811 * config/cpu/x86-64/atomicity.h: Remove.
812 * config/cpu/x86-64: Remove.
814 2002-11-01 Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de>
817 * config/link-map.gnu: Export math stubbs.
819 2002-11-01 Benjamin Kosnik <bkoz@redhat.com>
822 * include/std/std_iostream.h: Tweak.
823 * include/std/std_iosfwd.h: Add _GLIBCPP_USE_WCHAR_T.
824 * include/std/std_iomanip.h: Same.
825 * include/bits/stringfwd.h: Same.
826 * include/bits/basic_string.tcc: Same.
827 * include/bits/sstream.tcc: Same.
828 * include/bits/fstream.tcc: Same.
829 * include/bits/basic_ios.tcc: Same.
830 * include/bits/streambuf.tcc: Same.
831 * include/bits/locale_facets.tcc: Same.
833 2002-11-01 John Carter <john.carter@tait.co.nz>
836 * include/bits/basic_string.tcc
837 (compare(const _CharT* __s)): Don't access __s past its length.
839 2002-10-31 Zack Weinberg <zack@codesourcery.com>
841 * libsupc++/eh_globals.cc: Don't call __gthread_key_dtor.
843 2002-10-31 Benjamin Kosnik <bkoz@redhat.com>
846 * include/bits/istream.tcc (istream::tellg): Remove sentry bits.
847 (istream::seekg): Same.
848 * testsuite/27_io/istream_seeks.cc (test06): New.
850 2002-10-28 Jason Thorpe <thorpej@wasabisystems.com>
852 * testsuite/thread/pthread5.cc: Include <unistd.h>
853 if _GLIBCPP_HAVE_UNISTD_H is defined.
854 (main): Only use pthread_attr_setscope if
855 _POSIX_THREAD_PRIORITY_SCHEDULING is defined.
857 2002-10-28 Jason Thorpe <thorpej@wasabisystems.com>
859 * testsuite/thread/pthread1.cc: Enable on *-*-netbsd*.
860 * testsuite/thread/pthread2.cc: Likewise.
861 * testsuite/thread/pthread3.cc: Likewise.
862 * testsuite/thread/pthread4.cc: Likewise.
863 * testsuite/thread/pthread5.cc: Likewise.
864 * testsuite/thread/pthread6.cc: Likewise.
866 2002-10-27 Paolo Carlini <pcarlini@unitus.it>
869 * include/bits/basic_string.tcc
870 (string::_S_construct(_InIter, _InIter, const _Alloc&,
871 forward_iterator_tag)): Do not throw logic error if
872 __beg == NULL && __end == __beg.
873 (string::string(const _CharT*, const _Alloc&)): Tweak.
874 * testsuite/21_strings/ctor_copy_dtor.cc: Add test05 from PR.
876 2002-10-24 Hans-Peter Nilsson <hp@bitrange.com>
881 * testsuite/testsuite_hooks.cc (__set_testsuite_memlimit): Use
882 __typeof__ (r.rlim_cur), not rlim_t in declaration of limit.
884 2002-10-23 Jakub Jelinek <jakub@redhat.com>
886 * testsuite/22_locale/num_put_members_char.cc (test01): Swap size
887 and decimal_point arguments of find.
888 * testsuite/22_locale/num_put_members_wchar_t.cc (test01): Likewise.
890 2002-10-22 Jakub Jelinek <jakub@redhat.com>
892 * Makefile.am (check-abi, new-abi-baseline): Use @glibcpp_srcdir@
893 instead of ${top_srcdir}.
894 * Makefile.in: Rebuilt.
896 2002-10-22 Loren J. Rittle <ljrittle@acm.org>
898 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
899 Remove specialization for FreeBSD systems.
901 2002-10-18 Loren J. Rittle <ljrittle@acm.org>
903 * configure.target (freebsd*): Use abi_baseline_triplet.
904 * config/abi/i386-unknown-freebsd4/baseline_symbols.txt: New file.
905 * config/abi/i386-unknown-freebsd4.7/baseline_symbols.txt: Remove.
907 * testsuite/thread/pthread1.cc: Remove needless workaround
910 2002-10-18 Loren J. Rittle <ljrittle@acm.org>
911 Brad Spencer <spencer@infointeractive.com>
912 (provided alternate patch and improvements)
914 * docs/html/23_containers/howto.html (GLIBCPP_FORCE_NEW): Document
915 new environment variable which replaces all uses of __USE_MALLOC
917 * docs/html/ext/howto.html (GLIBCPP_FORCE_NEW): Likewise.
918 (__mem_interface): Remove all references to old internal typedef.
919 * include/backward/alloc.h (__USE_MALLOC): Remove it and all
921 * include/bits/c++config (__USE_MALLOC): Update related error
923 * include/bits/stl_alloc.h (__USE_MALLOC): Remove it and all
924 guarded code. Update all related comments.
925 (__mem_interface): Unconditionally replace it with __new_alloc.
926 However, leave the typedef around in case anyone used it.
927 (__default_alloc_template<>::_S_force_new): New class static.
928 (__default_alloc_template<>::allocate, deallocate): Add
929 run-time controlled feature similar to what __USE_MALLOC code
931 * src/stl-inst.cc (__USE_MALLOC): Remove it and all
933 * testsuite/21_strings/capacity.cc: Remove reference to __USE_MALLOC.
934 Add documentation on GLIBCPP_FORCE_NEW environment variable.
935 * testsuite/ext/allocators.cc: Likewise.
937 2002-10-18 Phil Edwards <pme@gcc.gnu.org>
939 * configure.in: Use target, not target_alias, when matching triplet
941 * configure: Regenerate.
943 2002-10-17 Momchil Velikov <velco@fadata.bg>
944 Loren J. Rittle <ljrittle@acm.org>
946 * configure.in: Add *-freebsd* to cross list.
947 * configure: Rebuilt.
949 2002-10-16 Benjamin Kosnik <bkoz@redhat.com>
951 * include/bits/locale_facets.h (__timepunct::__timepunct): Allocate
953 (__timepunct::~__timepunct): Deallocate, remove specialization
955 (messages::messages): Allocate _M_name_messages.
956 (messages::~messages): Deallocate.
957 (messages_byname): Same.
958 * config/locale/gnu/time_members.cc (__timepunct::~__timepunct):
960 * config/locale/generic/time_members.cc (__timepunct::~__timepunct):
963 * docs/html/install.html: Add es_MX, en_PH to required locales list.
965 2002-10-16 Benjamin Kosnik <bkoz@redhat.com>
967 * config/linker-map.gnu: Add exports for codecvt constructors
968 where size_t == unsigned long.
970 2002-10-14 Benjamin Kosnik <bkoz@redhat.com>
972 * src/globals.cc (__gnu_cxx::c_locale_impl_compat): Add, alias to
974 * testsuite/abi_check.cc (line_to_symbol_info): Collect size info.
975 * docs/html/abi.txt: Update.
977 2002-10-14 Benjamin Kosnik <bkoz@redhat.com>
979 * testsuite/22_locale/static_members.cc (test02): Less provincial.
981 2002-10-14 Benjamin Kosnik <bkoz@redhat.com>
983 * testsuite/22_locale/static_members.cc (test02): Disable for
984 systems without named locale support.
985 * testsuite/22_locale/ctor_copy_dtor.cc (test04): Don't assume
986 running the testsuites in "C" environment.
988 * docs/html/22_locale/locale.html: Update.
990 2002-10-13 Danny Smith <dannysmith@users.sourceforge.net>
992 * include/bits/stl_threads.h (_GLIBCPP_mutex,
993 _GLIBCPP_mutex_init,_GLIBCPP_mutex_address,
994 _GLIBCPP_mutex_address_init, _GLIBCPP_once):
995 Declare in namespace __gnu_cxx.
996 (_STL_mutex_lock::_M_initialize): Qualify __gnu_cxx
1000 2002-10-12 Benjamin Kosnik <bkoz@redhat.com>
1002 * testsuite/abi_check.cc (hash<string>): Specialize.
1003 Simplify. Check compatible symbol versions.
1004 * config/linker-map.gnu: Clarify, explicitly export
1005 std::codecvt::c* symbols.
1007 * testsuite/22_locale/static_members.cc (test02): Avoid null strings.
1009 2002-10-12 Jonathan Wakely <jw@kayari.org>
1010 Gabriel Dos Reis <gdr@integrable-solutions.net>
1012 * docs/html/21_strings/howto.html#5: Correct nasting of XHTML
1013 elements. Correct allocator-related text.
1015 2002-10-11 Benjamin Kosnik <bkoz@redhat.com>
1017 * testsuite/22_locale/static_members.cc (test02): Fix.
1019 2002-10-11 Benjamin Kosnik <bkoz@redhat.com>
1021 * acconfig.h (_GLIBCPP_SYMVER): Add.
1022 (_GLIBCPP_ASM_SYMVER): Add.
1023 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Define _GLIBCPP_SYMVER.
1024 * aclocal.m4: Regenerate.
1025 * config.h.in: Regenerate.
1026 * configure: Regenerate.
1027 * include/bits/c++config (_GLIBCPP_AT_AT): Define, as an expedient
1028 hack around m4 issues with quoting '@'.
1029 * src/locale.cc: Use _GLIBCPP_ASM_SYMVER.
1030 * src/globals.cc: Same.
1032 * testsuite/22_locale/ctor_copy_dtor.cc (test04): Fix for
1035 2002-10-10 Benjamin Kosnik <bkoz@redhat.com>
1037 * config/linker-map.gnu (GLIBCPP_3.2.1): Add.
1038 (GLIBCPP_3.2): Don't export locale::_S_*.
1039 * src/ios.cc: Move globals into __gnu_cxx. Make old exported
1041 * src/locale.cc: Same.
1042 * src/localename.cc: Same.
1043 * src/globals.cc: Same.
1045 2002-10-10 Phil Edwards <pme@gcc.gnu.org>
1047 * docs/html/21_strings/howto.html: Write #5, char_traits.
1048 * docs/html/17_intro/porting.texi: Expand on os_include_dir.
1049 * docs/html/17_intro/porting.html: Regenerate.
1051 2002-10-09 Benjamin Kosnik <bkoz@redhat.com>
1053 * src/locale.cc: Fix comments, move ctors together.
1054 * testsuite/22_locale/static_members.cc (test03): Add.
1056 2002-10-08 Jonathan Lennox <lennox@cs.columbia.edu>
1058 PR libstdc++/8071, libstdc++/8127, libstdc++/6745
1059 * streambuf.tcc (__copy_streambufs): Handle cases where
1060 __sbin->in_avail() returns 0, or where __sbin doesn't set gptr().
1061 * testsuite/27_io/ostream_inserter_other.cc (test05): Add.
1063 2002-10-08 Paolo Carlini <pcarlini@unitus.it>
1064 Benjamin Kosnik <bkoz@redhat.com>
1066 * include/bits/localefwd.h (class locale): Add static member
1067 _S_num_extra_categories, encoding the number of additional
1069 Change _S_num_categories to _S_categories_size.
1070 (class locale::_Impl): Add _M_c_cats.
1071 (class locale::_Impl::_M_names): Change to array of chars.
1072 (class locale::_Impl::_M_check_same_name): Use
1073 _S_extra_categories_size, tweak.
1074 (locale::locale(const locale&, _Facet*)): Ditto.
1075 * src/locale.cc (locale::locale(const char* )): Rewrite to deal
1076 with the environment in a POSIX-compliant way while being thread
1078 (locale::name()): Update to output POSIX environment strings.
1080 (locale::_Impl::_Impl(const _Impl&, size_t): Use
1081 _S_categories_size_*, tweak.
1082 (locale::_Impl::_Impl(facet**, size_t, bool)): Ditto.
1083 (locale::_Impl::_Impl(const char*, size_t)): Name each category
1085 (locale::_Impl::_M_replace_categories): Use strcpy.
1087 * include/bits/locale_facets.h (numpunct::_M_initialize_numpunct):
1088 Change default argument to NULL from _S_c_locale.
1089 (timepunct::_M_initialize_timepunct): Same.
1090 _S_c_locale cleanups.
1091 * src/codecvt.c: _S_c_locale simplification.
1092 * src/ctype.c: Same.
1093 * src/globals.cc: Add fake_name.
1094 * src/locale-inst.cc: Remove extra includes.
1095 * src/locale.cc: Remove extra includes.
1096 Add _S_extra_categories_size definition.
1097 Correct "C" initialization.
1098 (locale::facet::facet): Don't initialize _S_c_locale.
1099 (locale::facet::_M_remove_reference): Adjust.
1100 * src/localename: Use facet_vec, facet_name.
1101 (locale::_Impl::_Impl(facet** __f, size_t __refs, bool)): Set
1102 facet ref counts to one. Initialize _S_c_locale.
1103 (locale::_Impl::_M_install_facet(id*, facet*)): Adjust facet ref
1104 counts when installing unilaterally.
1106 * config/locale/generic/c_locale.cc: Add _S_categories definition.
1107 * config/locale/generic/c_locale.h: Add _GLIBCPP_NUM_CATEGORIES macro.
1108 * config/locale/generic/time_members.cc: _S_c_locale cleanup.
1110 * config/locale/gnu/c_locale.cc: Add _S_categories definition.
1111 (_S_destroy_c_locale): Move checks against _S_c_locale here.
1112 * config/locale/gnu/c_locale.h: Add _GLIBCPP_NUM_CATEGORIES macro.
1113 * config/locale/gnu/ctype_members.cc: Simplify _S_destroy_c_locale
1114 calls, _S_c_locale usage.
1115 * config/locale/gnu/monetary_members.cc: Same, tweaks.
1116 * config/locale/gnu/monetary_members.cc: Same.
1117 * config/locale/gnu/time_members.cc: Same.
1118 * config/os/gnu-linux/ctype_noninline.h: Use locale::classic().
1120 * docs/html/22_locale/locale.html: Add bits about global locales
1123 * testsuite/22_locale/facet.cc (test02): Add.
1124 * testsuite/22_locale/static_members.cc (test02): Add.
1125 * testsuite/22_locale/ctor_copy_dtor.cc (test04): Add.
1127 2002-10-07 Jonathan Wakely <jw@kayari.org>
1129 * docs/html/configopts.html, docs/html/documentation.html,
1130 docs/html/explanations.html, docs/html/install.html,
1131 docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
1132 docs/html/17_intro/license.html, docs/html/18_support/howto.html,
1133 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
1134 docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
1135 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
1136 docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
1137 docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
1138 docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
1139 docs/html/27_io/howto.html, docs/html/ext/howto.html,
1140 docs/html/ext/sgiexts.html, docs/html/faq/index.html: Add DOCTYPEs.
1142 2002-10-03 Richard Earnshaw <rearnsha@arm.com>
1145 * config/cpu/arm/atomicity.h (__exchange_and_add): Don't try to use
1146 ASM sequences that don't give us atomic addition operations. Instead
1147 just add a comment explaining why it doesn't work.
1148 (__atomic_add): Just use __exchange_and_add.
1149 (__test_and_set, __always_swap): Delete.
1151 2002-10-02 Andreas Jaeger <aj@suse.de>
1153 * config/abi/x86_64-unknown-linux-gnu/baseline_symbols.txt:
1156 2002-10-01 Phil Edwards <pme@gcc.gnu.org>
1158 * Makefile.am (check-abi): Add @ to rule.
1159 * Makefile.in: Regenerated.
1161 2002-09-27 Paolo Carlini <pcarlini@unitus.it>
1163 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
1164 Deal correctly with grouped, showbased (oct or hex) zero.
1165 * testsuite/22_locale/num_put_members_char.cc: Add test05.
1166 * testsuite/22_locale/num_put_members_wchar_t.cc: Ditto.
1168 2002-09-27 Richard Henderson <rth@redhat.com>
1170 * config/os/hpux/cpu_limits.h: Remove.
1172 * include/std/std_limits.h (numeric_limits<T>::is_iec559): False
1173 if denormals are not supported.
1175 2002-09-25 Benjamin Kosnik <bkoz@redhat.com>
1177 * include/Makefile.am (target_headers): Remove cpu_limits.h.
1178 * include/Makefile.in: Regenerate.
1179 * configure.in (CPU_LIMITS_INC_SRCDIR): Remove
1180 * configure: Regenerate.
1181 * configure.target (CPULIMITS): Remove.
1183 * include/std/std_limits.h: Remove cpu_limits.h include.
1185 * config/os/solaris/solaris2.7/os_defines.h (__glibcpp_long_bits):
1187 * config/os/irix/irix6.5/os_defines.h
1188 (__glibcpp_long_double_bits): Remove.
1189 (__glibcpp_wchar_t_bits): Remove.
1190 (__glibcpp_long_bits): Remove.
1191 * config/os/irix/irix5.2/os_defines.h
1192 (__glibcpp_long_double_bits): Remove.
1193 (__glibcpp_long_bits): Remove.
1194 * config/os/hpux/os_defines.h (__glibcpp_wchar_t_is_signed): Remove.
1195 * config/os/bsd/freebsd/os_defines.h:
1196 (__glibcpp_long_double_bits): Remove.
1197 * config/os/aix/os_defines.h (__glibcpp_wchar_t_bits): Remove.
1198 (__glibcpp_wchar_t_is_signed): Remove.
1199 (__glibcpp_long_bits): Remove.
1200 * config/os/gnu-linux/os_defines.h (__glibcpp_long_bits): Remove.
1201 (__glibcpp_long_double_bits): Remove.
1203 * config/os/osf/osf5.0/cpu_limits.h: Remove.
1204 * config/cpu/alpha/cpu_limits.h: Remove.
1205 * config/cpu/arm/cpu_limits.h: Remove.
1206 * config/cpu/cris/cpu_limits.h: Remove.
1207 * config/cpu/generic/cpu_limits.h: Remove.
1208 * config/cpu/generic/limits.h: Remove.
1209 * config/cpu/ia64/cpu_limits.h: Remove.
1210 * config/cpu/m68k/cpu_limits.h: Remove.
1211 * config/cpu/mmix/cpu_limits.h: Remove.
1212 * config/cpu/powerpc/cpu_limits.h: Remove.
1213 * config/cpu/S390/cpu_limits.h: Remove.
1215 2002-09-25 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1217 * testsuite/18_support/numeric_limits.cc: Check the maximum and
1218 minimum values of the wchar_t type.
1220 2002-09-25 Mark Mitchell <mark@codesourcery.com>
1222 * include/std/std_limits.h (numeric_limits<unsigned char>::digits):
1225 2002-09-23 Richard Henderson <rth@redhat.com>
1227 * include/std/std_limits.h (__glibcpp_plain_char_is_signed,
1228 __glibcpp_wchar_t_is_signed, __glibcpp_s8_max, __glibcpp_s8_min,
1229 __glibcpp_s8_digits, __glibcpp_s8_digits10, __glibcpp_u8_min,
1230 __glibcpp_u8_max, __glibcpp_u8_digits, __glibcpp_u8_digits10,
1231 __glibcpp_s16_max, __glibcpp_s16_min, __glibcpp_s16_digits,
1232 __glibcpp_s16_digits10, __glibcpp_u16_min, __glibcpp_u16_max,
1233 __glibcpp_u16_digits, __glibcpp_u16_digits10, __glibcpp_s32_max,
1234 __glibcpp_s32_min, __glibcpp_s32_digits, __glibcpp_s32_digits10,
1235 __glibcpp_u32_min, __glibcpp_u32_max, __glibcpp_u32_digits,
1236 __glibcpp_u32_digits10, __glibcpp_s64_max, __glibcpp_s64_min,
1237 __glibcpp_s64_digits, __glibcpp_s64_digits10, __glibcpp_u64_min,
1238 __glibcpp_u64_max, __glibcpp_u64_digits, __glibcpp_u64_digits10,
1239 __glibcpp_bool_digits, __glibcpp_signed_char_min,
1240 __glibcpp_signed_char_max, __glibcpp_signed_char_digits,
1241 __glibcpp_signed_char_digits10, __glibcpp_unsigned_char_min,
1242 __glibcpp_unsigned_char_max, __glibcpp_unsigned_char_digits,
1243 __glibcpp_unsigned_char_digits10, __glibcpp_char_min,
1244 __glibcpp_char_max, __glibcpp_char_digits, __glibcpp_char_digits10,
1245 __glibcpp_signed_short_min, __glibcpp_signed_short_max,
1246 __glibcpp_signed_short_digits, __glibcpp_signed_short_digits10,
1247 __glibcpp_unsigned_short_min, __glibcpp_unsigned_short_max,
1248 __glibcpp_unsigned_short_digits, __glibcpp_unsigned_short_digits10,
1249 __glibcpp_signed_int_min, __glibcpp_signed_int_max,
1250 __glibcpp_signed_int_digits, __glibcpp_signed_int_digits10,
1251 __glibcpp_unsigned_int_min, __glibcpp_unsigned_int_max,
1252 __glibcpp_unsigned_int_digits, __glibcpp_unsigned_int_digits10,
1253 __glibcpp_signed_long_min, __glibcpp_signed_long_max,
1254 __glibcpp_unsigned_long_digits, __glibcpp_unsigned_long_digits10,
1255 __glibcpp_signed_long_long_min, __glibcpp_signed_long_long_max,
1256 __glibcpp_signed_long_long_digits, __glibcpp_signed_long_long_digits10,
1257 __glibcpp_wchar_t_min, __glibcpp_wchar_t_max, __glibcpp_wchar_t_digits,
1258 __glibcpp_wchar_t_digits10): Remove.
1259 (__glibcpp_byte, __glibcpp_word_bits, __glibcpp_word): Remove.
1260 (__float_storage, __double_storage, __long_double_storage): Remove.
1261 (__glibcpp_signed, __glibcpp_min, __glibcpp_max): New.
1262 (__glibcpp_digits, __glibcpp_digits10): New.
1263 (numeric_limits<T>::min): Use __glibcpp_min or limits.h builtins.
1264 (numeric_limits<T>::max): Use __glibcpp_max or limits.h builtins.
1265 (numeric_limits<T>::is_signed, T=char,wchar_t): Use __glibcpp_signed.
1266 (numeric_limits<T>::digits): Use __glibcpp_digits.
1267 (numeric_limits<T>::digits10): Use __glibcpp_digits10.
1268 * testsuite/18_support/numeric_limits.cc (test03): Don't use
1269 __glibcpp_s8_digits10 et al; check vs the installed versions
1270 of digits10 for particular sizes.
1272 * include/std/std_limits.h (__glibcpp_float_is_modulo,
1273 __glibcpp_double_is_modulo, __glibcpp_long_double_is_modulo): Kill.
1274 (numeric_limits<T>::is_modulo, T floating): Use false.
1276 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1278 * Makefile.am (all-multi): Fix multilib parallel build.
1280 2002-09-22 Richard Henderson <rth@redhat.com>
1282 * include/std/std_limits.h (__glibcpp_f32_round_error,
1283 __glibcpp_f64_round_error, __glibcpp_f80_round_error,
1284 __glibcpp_f96_round_error, __glibcpp_f128_round_error,
1285 __glibcpp_float_round_error, __glibcpp_double_round_error,
1286 __glibcpp_long_double_round_error, __glibcpp_float_round_style,
1287 __glibcpp_double_round_style, __glibcpp_long_double_round_style): Kill.
1288 (numeric_limits<char>::epsilon, round_error): Use constant 0.
1289 (numeric_limits<float>::round_error): Use constant 0.5.
1290 (numeric_limits<float>::round_style): Use round_to_nearest.
1291 (numeric_limits<double>, numeric_limits<long double>): Similarly.
1293 * include/std/std_limits.h (__glibcpp_f32_is_iec559,
1294 __glibcpp_f64_is_iec559, __glibcpp_f80_is_iec559,
1295 __glibcpp_f96_is_iec559, __glibcpp_f128_is_iec559,
1296 __glibcpp_float_is_iec559, __glibcpp_double_is_iec559,
1297 __glibcpp_long_double_is_iec559): Remove.
1298 (numeric_limits<float>::is_iec559): Use has_infinity & has_quiet_NaN.
1299 (numeric_limits<double>, numeric_limits<long double>): Similarly.
1301 * include/std/std_limits.h (__glibcpp_integral_traps): New.
1302 (__glibcpp_char_traps, __glibcpp_short_traps, __glibcpp_int_traps,
1303 __glibcpp_long_traps, __glibcpp_wchar_t_traps,
1304 __glibcpp_long_long_traps, __glibcpp_plain_char_traps,
1305 __glibcpp_signed_char_traps, __glibcpp_unsigned_char_traps,
1306 __glibcpp_signed_short_traps, __glibcpp_unsigned_short_traps,
1307 __glibcpp_signed_int_traps, __glibcpp_unsigned_int_traps,
1308 __glibcpp_signed_long_traps, __glibcpp_unsigned_long_traps,
1309 __glibcpp_signed_long_long_traps, __glibcpp_unsigned_long_long_traps,
1310 __glibcpp_char_is_modulo, __glibcpp_signed_char_is_modulo,
1311 __glibcpp_signed_short_is_modulo, __glibcpp_signed_int_is_modulo,
1312 __glibcpp_signed_long_is_modulo, __glibcpp_signed_long_long_is_modulo,
1313 __glibcpp_wchar_t_is_modulo, __glibcpp_float_is_bounded,
1314 __glibcpp_double_is_bounded, __glibcpp_long_double_is_bounded): Kill.
1315 (numeric_limits<T>::traps, T integral): Use __glibcpp_integral_traps.
1316 (numeric_limits<T>::is_modulo, T integral): Use true.
1317 (numeric_limits<T>::is_bounded, T floating): Use true.
1319 2002-09-18 Loren J. Rittle <ljrittle@acm.org>
1321 * testsuite/18_support/numeric_limits.cc (test_epsilon): New.
1323 2002-09-18 Richard Henderson <rth@redhat.com>
1325 * testsuite/18_support/numeric_limits.cc: Add -mieee for alpha.
1327 2002-09-16 Benjamin Kosnik <bkoz@redhat.com>
1329 * include/c_shadow: Remove.
1330 * include/bits/generic_shadow.h: Remove.
1331 * include/Makefile.am: Remove generic_shadow.h.
1332 * acinclude.m4: Remove c_shadow references.
1333 * aclocal.m4: Regenerate.
1334 * configure: Regenerate.
1335 * mkcshadow: Remove.
1336 * mkinclosure: Remove.
1338 2002-09-16 Loren J. Rittle <ljrittle@acm.org>
1341 * include/ext/stl_rope.h (rope<>): Qualify dependent names
1344 2002-09-16 Richard Henderson <rth@redhat.com>
1346 * include/std/std_limits.h (__glibcpp_f32_QNaN_bytes,
1347 __glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
1348 __glibcpp_f32_has_SNaN, __glibcpp_f64_QNaN_bytes,
1349 __glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
1350 __glibcpp_f64_has_SNaN, __glibcpp_f80_QNaN_bytes,
1351 __glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
1352 __glibcpp_f80_has_SNaN, __glibcpp_f96_QNaN_bytes,
1353 __glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
1354 __glibcpp_f96_has_SNaN, __glibcpp_f128_QNaN_bytes,
1355 __glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
1356 __glibcpp_f128_has_SNaN, __glibcpp_float_QNaN_bytes,
1357 __glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
1358 __glibcpp_float_has_SNaN, __glibcpp_double_QNaN_bytes,
1359 __glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
1360 __glibcpp_double_has_SNaN, __glibcpp_long_double_QNaN_bytes,
1361 __glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
1362 __glibcpp_long_double_has_SNaN): Remove.
1363 (__glibcpp_f128_is_iec559): True if IEEE.
1364 (__glibcpp_float_QNaN, __glibcpp_float_SNaN): Remove.
1365 (__glibcpp_double_QNaN, __glibcpp_double_SNaN): Remove.
1366 (__glibcpp_long_double_QNaN, __glibcpp_long_double_SNaN): Remove.
1367 (std::numeric_limits<float>::has_quiet_NaN): Use __builtin_nanf.
1368 (std::numeric_limits<float>::has_signaling_NaN): Mirror has_quiet_NaN.
1369 (std::numeric_limits<float>::quiet_NaN): Use __builtin_nanf.
1370 (std::numeric_limits<float>::signaling_NaN): Use __builtin_nansf.
1371 (std::numeric_limits<double>): Similarly.
1372 (std::numeric_limits<long double>): Similarly.
1373 * src/limits.cc (__glibcpp_float_QNaN, __glibcpp_float_SNaN): Remove.
1374 (__glibcpp_double_QNaN, __glibcpp_double_SNaN): Remove.
1375 (__glibcpp_long_double_QNaN, __glibcpp_long_double_SNaN): Remove.
1377 * testsuite/18_support/numeric_limits.cc (test_infinity): New.
1378 (test_denorm_min, test_qnan, test_is_iec559): New.
1380 2002-09-16 Phil Edwards <pme@gcc.gnu.org>
1382 * testsuite/abi_check.cc: Pull shell fragments out into...
1383 * config/abi/extract_symvers: ...here. New file.
1384 * Makefile.am (check_abi): Change to match.
1385 (new-abi-baseline): New target.
1386 * Makefile.in: Regenerated.
1388 2002-09-16 Richard Henderson <rth@redhat.com>
1390 * include/std/std_limits.h (__glibcpp_f32_denorm_min_bytes,
1391 __glibcpp_f32_has_denorm, __glibcpp_f64_denorm_min_bytes,
1392 __glibcpp_f64_has_denorm, __glibcpp_f80_denorm_min_bytes,
1393 __glibcpp_f80_has_denorm, __glibcpp_f96_denorm_min_bytes,
1394 __glibcpp_f96_has_denorm, __glibcpp_f128_denorm_min_bytes,
1395 __glibcpp_f128_has_denorm, __glibcpp_float_denorm_min_bytes,
1396 __glibcpp_float_has_denorm, __glibcpp_double_denorm_min_bytes,
1397 __glibcpp_double_has_denorm, __glibcpp_long_double_denorm_min_bytes,
1398 __glibcpp_long_double_has_denorm): Remove.
1399 (__glibcpp_float_denorm_min, __glibcpp_double_denorm_min,
1400 __glibcpp_long_double_denorm_min): Remove.
1401 (std::numeric_limits<float>::has_denorm): Use __FLT_DENORM_MIN__.
1402 (std::numeric_limits<float>::denorm_min): Likewise.
1403 (std::numeric_limits<double>): Similarly.
1404 (std::numeric_limits<long double>): Similarly.
1405 * src/limits.cc (__glibcpp_float_denorm_min,
1406 __glibcpp_double_denorm_min, __glibcpp_long_double_denorm_min): Remove.
1408 2002-09-13 Andy Felt <afelt@uwsp.edu>
1410 * docs/html/17_intro/howto.html: Update link.
1412 2002-09-13 Phil Edwards <pme@gcc.gnu.org>
1414 * docs/doxygen/run_doxygen: Massage man page for Iterator_types.3.
1415 * docs/html/faq/index.html: Whitespace fixes.
1417 2002-09-12 Benjamin Kosnik <bkoz@redhat.com>
1419 * libmath/Makefile.am (LIBTOOL): Use --tag CC always for this
1421 * libmath/Makefile.in: Regenerate.
1422 * src/Makefile.am: Tweak comment.
1423 * src/Makefile.in: Regenerate.
1425 * config/locale/gnu/c_locale.h: Remove warnings.
1426 Inject __uselocale into __gnu_cxx.
1427 * config/locale/generic/c_locale.h: Match.
1429 2002-09-11 Benjamin Kosnik <bkoz@redhat.com>
1431 * include/bits/locale_facets.tcc (__convert_from_v): Remove.
1432 * config/locale/gnu/c_locale.h (__convert_from_v): Add.
1433 * config/locale/generic/c_locale.h (__convert_from_v): Add.
1435 2002-09-11 Paolo Carlini <pcarlini@unitus.it>
1437 * include/bits/locale_facets.tcc (__convert_from_v):
1438 Use __uselocale instead of setlocale for glibc 2.3+.
1440 2002-09-10 Benjamin Kosnik <bkoz@redhat.com>
1442 * src/Makefile.am (sources): Edit.
1443 (target_sources): New.
1444 (target_sources_extra): New.
1445 * src/Makefile.in: Regenerate.
1446 * acinclude.m4: Set CCODECVT_CC.
1447 * aclocal.m4: Regenerate.
1448 * configure: Regenerate.
1449 * src/locale.cc: Move ctype definitions...
1450 * src/ctype.cc: ...here. New file.
1451 * src/locale.cc: Move codecvt definitions...
1452 * src/codecvt.cc: ...here.
1453 * config/generic/codecvt_members.cc: ...and here.
1454 * config/gnu/codecvt_members.cc: ...and here.
1455 * include/bits/codecvt.h: Tweak.
1456 * include/bits/locale_facets: Tweak.
1458 * src/bitset.cc: Correct license text.
1459 * src/concept-inst.cc: Same.
1460 * src/strstream.cc: Same.
1461 * src/vterminate.cc: Same.
1463 2002-09-10 Gabriel Dos Reis <gdr@soliton.integrable-solutions.net>
1465 * include/bits/stl_vector.h (vector<>): Don't use a name with
1466 different meanings before and after re-evaluation in the completed
1468 * include/bits/basic_string.h (basic_string<>): Likewise.
1469 * include/bits/stl_bvector.h (vector<bool>): Likewise.
1470 * include/bits/stl_deque.h (std): Likewise.
1471 * include/bits/stl_list.h (list<>): Likewise.
1472 * include/bits/stl_tree.h (_Rb_tree<>): Likewise.
1474 2002-09-10 Paolo Carlini <pcarlini@unitus.it>
1476 * include/bits/codecvt.h (class __codecvt_abstract_base):
1477 Add __c_locale type _M_c_locale_codecvt member.
1478 (class codecvt<char, char, mbstate_t>,
1479 class codecvt<wchar_t, char, mbstate_t>): Add new
1480 codecvt(__c_locale, size_t) constructor.
1481 (codecvt_byname::codecvt_byname): Update.
1482 * src/codecvt.cc (class codecvt<char, char, mbstate_t>,
1483 class codecvt<wchar_t, char, mbstate_t>): Update codecvt(size_t)
1484 constructor and ~codecvt() destructor; define
1485 codecvt(__c_locale, size_t) constructor.
1486 (codecvt::do_out): Switch to _M_c_locale_codecvt around wcsrtombs call.
1487 (codecvt::do_in): Ditto for mbsrtowcs call.
1488 * src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
1489 Tweak construction of codecvt facets.
1491 2002-09-10 Danny Smith <dannysmith@users.sourceforge.net>
1493 * include/bits/locale_facets.tcc (__convert_from_v):
1494 Replace strdup with ISO malloc and strcpy.
1496 2002-09-09 Benjamin Kosnik <bkoz@redhat.com>
1498 * docs/html/configopts.html: Change grouping. Note ABI impacts.
1499 Update information for locale model defaults.
1500 * docs/html/install.html: Update include directory
1502 Update testing information.
1503 Update linux issues for named locales.
1504 * docs/html/abi.txt: Fix typos.
1507 * src/misc-inst.cc: Add missing instantiations.
1509 * testsuite/abi_check.cc: Make output results more verbose.
1511 * config/os/gnu-linux/ctype_base.h: Remove shadow headers injections.
1513 2002-09-07 Jakub Jelinek <jakub@redhat.com>
1515 * config/locale/generic/messages_members.cc: Add specialization for
1517 * config/locale/ieee_1003.1-20021/messages_members.cc: Likewise.
1519 2002-09-06 Benjamin Kosnik <bkoz@redhat.com>
1521 * include/bits/localefwd.h: Tweak formatting.
1522 * docs/html/abi.txt: Add.
1524 2002-09-06 Jakub Jelinek <jakub@redhat.com>
1526 * configure.target: Use cpu_include_dir="config/cpu/sparc" for all
1528 * config/cpu/sparc/atomicity.h: New file.
1529 * config/cpu/sparc/sparc32/atomicity.h: Removed.
1530 * config/cpu/sparc/sparc64/atomicity.h: Removed.
1532 2002-09-06 Jakub Jelinek <jakub@redhat.com>
1534 * config/os/gnu-linux/ctype_noninline.h
1535 [_GLIBCPP_USE_SHADOW_HEADERS]: Remove using _C_legacy::__ctype_*.
1536 (ctype<char>::classic_table): If _GLIBCPP_C_LOCALE_GNU, return
1537 _S_c_locale->__ctype_b, otherwise temporarily switch to "C" locale
1538 and return __ctype_b.
1539 (ctype<char>::ctype(__c_locale, const mask*, bool, size_t)): If not
1540 _GLIBCPP_C_LOCALE_GNU, temporarily switch to "C" locale and
1541 initialize using __ctype_{b,tolower,toupper}.
1542 (ctype<char>::ctype(const mask*, bool, size_t)): If
1543 _GLIBCPP_C_LOCALE_GNU, initialize using
1544 _S_c_locale->__ctype_{b,tolower,toupper}, otherwise temporarily
1545 switch to "C" locale and initialize using __ctype_{b,tolower,toupper}.
1547 2002-09-05 Paolo Carlini <pcarlini@unitus.it>
1548 Roland McGrath <roland@redhat.com>
1551 * src/locale.cc (locale::locale(__s)): Use getenv instead
1552 of setenv for the environment locale.
1553 * testsuite/22_locale/ctor_copy_dtor.cc (test03): New.
1555 2002-09-05 Jakub Jelinek <jakub@redhat.com>
1557 * config/abi/ia64-unknown-linux-gnu: Add.
1558 * config/abi/ia64-unknown-linux-gnu/baseline_symbols.txt: New file.
1559 * config/abi/alphaev67-unknown-linux-gnu: Add.
1560 * config/abi/alphaev67-unknown-linux-gnu/baseline_symbols.txt: New file.
1562 2002-09-05 Jonathan Wakely <jw@kayari.org>
1564 * docs/html/Makefile: Use more portable shell wildcard.
1565 * docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
1566 * docs/html/configopts.html, docs/html/documentation.html,
1567 docs/html/explanations.html, docs/html/install.html,
1568 docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
1569 docs/html/17_intro/license.html, docs/html/18_support/howto.html,
1570 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
1571 docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
1572 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
1573 docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
1574 docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
1575 docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
1576 docs/html/27_io/howto.html, docs/html/ext/howto.html,
1577 docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
1579 * docs/html/faq/index.txt: Regenerate.
1581 2002-09-05 Jakub Jelinek <jakub@redhat.com>
1583 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_widen(char)):
1584 Switch to _M_c_locale_ctype around btowc call.
1585 (ctype<wchar_t>::do_widen(const char*, const char *, wchar_t*)):
1586 Switch to _M_c_locale_ctype around mbsrtowcs call.
1587 (ctype<wchar_t>::do_narrow(char)): Switch to _M_c_locale_ctype around
1589 (ctype<wchar_t>::do_narrow(const char*, const char *, wchar_t*)):
1590 Switch to _M_c_locale_ctype around wcsrtombs call.
1592 2002-09-05 Jakub Jelinek <jakub@redhat.com>
1594 * config/locale/gnu/monetary_members.cc
1595 (moneypunct<wchar_t, true>::_M_initialize_moneypunct,
1596 moneypunct<wchar_t, false>::_M_initialize_moneypunct): Use
1597 __uselocale instead of setlocale for glibc 2.3.
1599 2002-09-05 Jakub Jelinek <jakub@redhat.com>
1601 * config/locale/generic/c++locale_internal.h: New header.
1602 * config/locale/gnu/c++locale_internal.h: New header.
1603 * config/locale/gnu/c_locale.cc: Include it.
1604 * config/locale/gnu/collate_members.cc: Include it.
1605 * config/locale/gnu/ctype_members.cc: Include it.
1606 * config/locale/gnu/messages_members.cc: Include it.
1607 * config/locale/gnu/monetary_members.cc: Include it.
1608 * config/locale/gnu/numeric_members.cc: Include it.
1609 * config/locale/gnu/time_members.cc: Include it.
1610 (_M_put): Reorder __strftime_l and __wcsftime_l arguments to match
1612 (_M_initialize_timepunct): Initialize _M_c_locale_timepunct for
1614 * acinclude.m4: Include string.h when testing strcoll_l.
1615 For glibc 2.3 provide __-prefixed prototypes.
1616 (CLOCALE_INTERNAL_H): Set, add AC_LINK_FILES line.
1617 * aclocal.m4, configure: Rebuilt.
1619 2002-09-05 Benjamin Kosnik <bkoz@redhat.com>
1621 * include/bits/locale_facets.h: Add declaration of specialization
1623 * config/locale/gnu/messages_members.cc: Add specialization for
1625 * config/locale/gnu/messages_members.h: Remove generic definition
1628 2002-09-04 Richard Henderson <rth@redhat.com>
1630 * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
1631 __glibcpp_f32_has_infinity, __glibcpp_f64_infinity_bytes,
1632 __glibcpp_f64_has_infinity, __glibcpp_f80_infinity_bytes,
1633 __glibcpp_f80_has_infinity, __glibcpp_f96_infinity_bytes,
1634 __glibcpp_f96_has_infinity, __glibcpp_f128_infinity_bytes,
1635 __glibcpp_f128_has_infinity, __glibcpp_float_infinity_bytes,
1636 __glibcpp_float_has_infinity, __glibcpp_double_infinity_bytes,
1637 __glibcpp_double_has_infinity, __glibcpp_long_double_infinity_bytes,
1638 __glibcpp_long_double_has_infinity): Remove.
1639 (std::numeric_limits<float>, std::numeric_limits<double>,
1640 std::numeric_limits<long double>): Use __builtin_huge_val
1641 to implement has_infinity and infinity().
1642 * src/limits.cc (__glibcpp_float_infinity, __glibcpp_double_infinity,
1643 __glibcpp_long_double_infinity): Remove.
1645 2002-09-03 Richard Henderson <rth@redhat.com>
1647 * include/std/std_limits.h (__glibcpp_f32_min, __glibcpp_f32_max,
1648 __glibcpp_f32_digits, __glibcpp_f32_digits10, __glibcpp_f32_radix,
1649 __glibcpp_f32_epsilon, __glibcpp_f32_min_exponent,
1650 __glibcpp_f32_min_exponent10, __glibcpp_f32_max_exponent,
1651 __glibcpp_f32_max_exponent10, __glibcpp_f64_min, __glibcpp_f64_max,
1652 __glibcpp_f64_digits, __glibcpp_f64_digits10, __glibcpp_f64_radix,
1653 __glibcpp_f64_min_exponent, __glibcpp_f64_min_exponent10,
1654 __glibcpp_f64_max_exponent, __glibcpp_f64_max_exponent10,
1655 __glibcpp_f80_min, __glibcpp_f80_max, __glibcpp_f80_digits,
1656 __glibcpp_f80_digits10, __glibcpp_f80_radix, __glibcpp_f80_epsilon,
1657 __glibcpp_f80_min_exponent, __glibcpp_f80_min_exponent10,
1658 __glibcpp_f80_max_exponent, __glibcpp_f80_max_exponent10,
1659 __glibcpp_f96_min, __glibcpp_f96_max, __glibcpp_f96_digits,
1660 __glibcpp_f96_digits10, __glibcpp_f96_radix, __glibcpp_f96_epsilon,
1661 __glibcpp_f96_min_exponent, __glibcpp_f96_min_exponent10,
1662 __glibcpp_f96_max_exponent, __glibcpp_f96_max_exponent10,
1663 __glibcpp_f128_min, __glibcpp_f128_max, __glibcpp_f128_digits,
1664 __glibcpp_f128_digits10, __glibcpp_f128_radix, __glibcpp_f128_epsilon,
1665 __glibcpp_f128_min_exponent, __glibcpp_f128_min_exponent10,
1666 __glibcpp_f128_max_exponent, __glibcpp_f128_max_exponent10,
1667 __glibcpp_float_min, __glibcpp_float_max, __glibcpp_float_digits,
1668 __glibcpp_float_digits10, __glibcpp_float_radix,
1669 __glibcpp_float_epsilon, __glibcpp_float_min_exponent,
1670 __glibcpp_float_min_exponent10, __glibcpp_float_max_exponent,
1671 __glibcpp_float_max_exponent10, __glibcpp_double_min,
1672 __glibcpp_double_max, __glibcpp_double_digits,
1673 __glibcpp_double_digits10, __glibcpp_double_radix,
1674 __glibcpp_double_epsilon, __glibcpp_double_min_exponent,
1675 __glibcpp_double_min_exponent10, __glibcpp_double_max_exponent,
1676 __glibcpp_double_max_exponent10, __glibcpp_long_double_min,
1677 __glibcpp_long_double_max, __glibcpp_long_double_digits,
1678 __glibcpp_long_double_digits10, __glibcpp_long_double_radix,
1679 __glibcpp_long_double_epsilon, __glibcpp_long_double_min_exponent,
1680 __glibcpp_long_double_min_exponent10,
1681 __glibcpp_long_double_max_exponent,
1682 __glibcpp_long_double_max_exponent10): Remove macros.
1683 (std::numeric_limits<float>, std::numeric_limits<double>,
1684 std::numeric_limits<long double>): Use protected float.h macros.
1686 2002-09-01 Phil Edwards <pme@gcc.gnu.org>
1688 * testsuite/Makefile.am: Use LD_RUN_PATH when linking abi_check.
1689 Fix spelling in comment.
1690 * testsuite/Makefile.in: Regenerate.
1691 * testsuite/abi_check.cc: Use string literals to build 'cmd' rather
1692 than 'quote' and 'bslash'.
1694 2002-08-31 Phil Edwards <pme@gcc.gnu.org>
1696 * acinclude.m4: Minor comment tweaks.
1698 * docs/html/makedoc.awk: New file...
1699 * docs/html/Makefile: ...called from here...
1700 * docs/html/documentation.html: ...to help generate this.
1702 * docs/html/21_strings/howto.html: Prepare for new entry.
1703 * include/bits/basic_string.h: Initial basic_stirng hook for
1704 doxygen. Remove trailing whitespace.
1705 * include/bits/char_traits.h: Point to onlinedocs for new entry.
1706 * include/bits/stringfwd.h: Add doxygen hooks for string and
1709 2002-08-29 Richard Earnshaw <rearnshaw@arm.com>
1711 * config/cpu/arm/cpu_limits.h: New file.
1712 * configure.target: Use config/cpu/arm for XScale and StrongARM
1715 2002-08-28 Gabriel Dos Reis <gdr@integrable-solutions.net>
1717 * include/std/std_limits.h (__glibcpp_char_bits,
1718 __glibcpp_short_bits, __glibcpp_int_bits, __glibcpp_long_bits,
1719 __glibcpp_long_long_bits, __glibcpp_float_bits,
1720 __glibcpp_double_bits, __glibcpp_long_double_bits): Remove. Use
1721 compiler predifined macros.
1722 (__glibcpp_wchar_t_is_signed): Define based on compiler predefined
1725 2002-08-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
1727 * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
1728 __glibcpp_f32_has_infinity, __glibcpp_f32_QNaN_bytes,
1729 __glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
1730 __glibcpp_f32_has_SNaN, __glibcpp_f32_denorm_min_bytes,
1731 __glibcpp_f32_has_denorm, __glibcpp_f32_is_iec559,
1732 __glibcpp_f64_infinity_bytes,
1733 __glibcpp_f64_has_infinity, __glibcpp_f64_QNaN_bytes,
1734 __glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
1735 __glibcpp_f64_has_SNaN, __glibcpp_f64_denorm_min_bytes,
1736 __glibcpp_f64_has_denorm, __glibcpp_f64_is_iec559,
1737 __glibcpp_f80_infinity_bytes,
1738 __glibcpp_f80_has_infinity, __glibcpp_f80_QNaN_bytes,
1739 __glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
1740 __glibcpp_f80_has_SNaN, __glibcpp_f80_denorm_min_bytes,
1741 __glibcpp_f80_has_denorm, __glibcpp_f80_is_iec559,
1742 __glibcpp_f96_infinity_bytes,
1743 __glibcpp_f96_has_infinity, __glibcpp_f96_QNaN_bytes,
1744 __glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
1745 __glibcpp_f96_has_SNaN, __glibcpp_f96_denorm_min_bytes,
1746 __glibcpp_f96_has_denorm, __glibcpp_f96_is_iec559,
1747 __glibcpp_f128_infinity_bytes,
1748 __glibcpp_f128_has_infinity, __glibcpp_f128_QNaN_bytes,
1749 __glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
1750 __glibcpp_f128_has_SNaN, __glibcpp_f128_denorm_min_bytes,
1751 __glibcpp_f128_has_denorm, __glibcpp_f128_is_iec559,
1752 __glibcpp_float_infinity_bytes,
1753 __glibcpp_float_has_infinity, __glibcpp_float_QNaN_bytes,
1754 __glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
1755 __glibcpp_float_has_SNaN, __glibcpp_float_denorm_min_bytes,
1756 __glibcpp_float_has_denorm, __glibcpp_float_is_iec559,
1757 __glibcpp_double_infinity_bytes,
1758 __glibcpp_double_has_infinity, __glibcpp_double_QNaN_bytes,
1759 __glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
1760 __glibcpp_double_has_SNaN, __glibcpp_double_denorm_min_bytes,
1761 __glibcpp_double_has_denorm, __glibcpp_double_is_iec559,
1762 __glibcpp_long_double_infinity_bytes,
1763 __glibcpp_long_double_has_infinity, __glibcpp_long_double_QNaN_bytes,
1764 __glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
1765 __glibcpp_long_double_has_SNaN, __glibcpp_long_double_denorm_min_bytes,
1766 __glibcpp_long_double_has_denorm, __glibcpp_long_double_is_iec559:
1768 (__glibcpp_word_bits, __glibcpp_word): Likewise.
1769 (__glibcpp_byte): New typedef.
1770 (__float_storage, __double_storage, __long_double_storage): New types.
1771 (__glibcpp_float_infinity, __glibcpp_float_QNaN,
1772 __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Now
1774 (__glibcpp_double_infinity, __glibcpp_double_QNaN,
1775 __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
1776 (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
1777 __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
1780 * src/limits.cc (__glibcpp_float_infinity, __glibcpp_float_QNaN,
1781 __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Define.
1782 (__glibcpp_double_infinity, __glibcpp_double_QNaN,
1783 __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
1784 (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
1785 __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
1788 2002-08-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
1790 * include/std/std_limits.h: Indent conditional macro definitions.
1792 2002-08-23 Phil Edwards <pme@gcc.gnu.org>
1794 * Makefile.am (check-abi): Specify current directory.
1795 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Fix shell syntax, use
1796 abi_baseline_triplet in baseline_file.
1797 * Makefile.in, aclocal.m4, configure: Regenerate.
1798 * configure.target: Add abi_baseline_triplet with default.
1799 * testsuite/abi_check.cc: More error checking.
1801 2002-08-23 Phil Edwards <pme@gcc.gnu.org>
1803 * config/linker-map.gnu: Verbose comments, clean up spacing.
1804 * include/bits/stl_alloc.h: Fix indentation of 'if' bodies, return
1806 __allocator: Change class declaration to struct.
1807 * docs/html/17_intro/C++STYLE: Fix typo.
1808 * include/bits/stl_deque.h, include/bits/stl_list.h,
1809 include/bits/stl_map.h, include/bits/stl_multimap.h,
1810 include/bits/stl_vector.h: Fix fallout from typo.
1812 2002-08-22 Benjamin Kosnik <bkoz@redhat.com>
1814 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Set
1815 GLIBCPP_BUILD_ABI_CHECK based on cross compiling, build, host
1817 * aclocal.m4: Regenerate.
1818 * testsuite/Makefile.am (noinst_PROGRAMS): Make conditional on
1820 * testsuite/Makefile.in: Regenerate.
1822 2002-08-22 Loren J. Rittle <ljrittle@acm.org>
1824 * testsuite/abi_check.cc: Enhance shell portability.
1825 Support older binutils/readelf.
1826 * config/abi/i386-unknown-freebsd4.6: Add.
1827 * config/abi/i386-unknown-freebsd4.6/baseline_symbols.txt: New file.
1829 2002-08-22 Paolo Carlini <pcarlini@unitus.it>
1831 * docs/html/faq/index.html: Add Loren James Rittle and
1832 Paolo Carlini to the list of v3 maintainers.
1833 * docs/html/faq/index.txt: Ditto.
1834 * docs/html/17_intro/RELEASE-NOTES: Ditto.
1836 2002-08-22 Benjamin Kosnik <bkoz@redhat.com>
1837 Phil Edwards <pme@gcc.gnu.org>
1838 Ulrich Drepper <drepper@redhat.com>
1840 * Makefile.am (check-abi): New rule.
1841 * Makefile.in: Regenerate.
1842 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Export baseline_file.
1843 * aclocal.m4: Regenerate.
1844 * configure: Regenerate.
1845 * testsuite/Makefile.am (noinst_PROGRAMS): Add abi_check.
1846 (abi_check_SOURCES): Add.
1847 * testsuite/Makefile.in: Regenerate.
1848 * testsuite/abi_check.cc: New file.
1850 * config/abi/i686-pc-linux-gnu: Add.
1851 * config/abi/i686-pc-linux-gnu/baseline_symbols.txt: New file.
1853 2002-08-19 Benjamin Kosnik <bkoz@redhat.com>
1855 * configure.in (libtool_VERSION): Update to 5:1:0.
1856 * configure: Regenerate.
1858 2002-08-19 Jonathan Wakely <jw@kayari.org>
1860 * docs/html/configopts.html, docs/html/documentation.html,
1861 docs/html/install.html, docs/html/22_locale/codecvt.html,
1862 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
1863 docs/html/22_locale/locale.html,
1864 docs/html/22_locale/messages.html: Conform to HTML 4.01 standard.
1866 2002-08-15 Benjamin Kosnik <bkoz@redhat.com>
1868 * include/ext/stdio_filebuf.h (stdio_filebuf): Explicitly set
1869 _M_buf_size_opt to zero when unbuffering.
1870 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
1871 Consistency checks for _M_buf_size_opt.
1873 Revert PR libstdc++/7445
1874 * src/locale.cc (locale::classic): Revert.
1876 * docs/html/17_intro/TODO: Add.
1878 2002-08-15 Phil Edwards <pme@gcc.gnu.org>
1880 * docs/html/documentation.html: Update doxygen links for 3.2.
1882 2002-08-15 Steve Ellcey <sje@cup.hp.com>
1884 * libsupc++/unwind-cxx.h (__cxa_exception): Change catchTemp
1885 type from void* to _Unwind_Ptr.
1886 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION):
1887 Do not cast landing_pad or base_of_encoded_value to (void *).
1888 * libsupc++/eh_throw.cc (__gxx_exception_cleanup):
1889 Accept _URC_NO_REASON as a valid reason code.
1891 2002-08-14 Jonathan Wakely <jw@kayari.org>
1893 * docs/html/22_locale/messages.html: Use HTML entities for
1896 2002-08-13 Jonathan Wakely <jw@kayari.org>
1897 Phil Edwards <pme@gcc.gnu.org>
1899 * docs/html/documentation.html: Use HTML entities for punctuation.
1901 2002-08-09 Phil Edwards <pme@gcc.gnu.org>
1903 * include/bits/deque.tcc, include/bits/list.tcc,
1904 include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
1905 include/bits/stl_list.h, include/bits/stl_map.h,
1906 include/bits/stl_multimap.h, include/bits/stl_queue.h,
1907 include/bits/stl_stack.h, include/bits/stl_vector.h,
1908 include/bits/vector.tcc: Re-indent contents of namespace std,
1909 re-wrap comment lines as necessary.
1911 2002-08-08 Danny Smith <dannysmith@users.sourceforge.net>
1912 Benjamin Kosnik <bkoz@redhat.com>
1914 * include/bits/istream.tcc (basic_istream::ignore): Use sbumpc,
1916 * testsuite/27_io/narrow_stream_objects.cc (test10): Add.
1918 2002-08-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
1920 * libsupc++/Makefile.am (LTCOMPILE): Add LIBSUPCXX_PICFLAGS.
1921 * libsupc++/Makefile.in: Regenerate.
1923 2002-08-05 Gabriel Dos Reis <gdr@nerim.net>
1926 * include/bits/slice_array.h(_DEFINE_VALARRAY_OPERATOR):
1927 Instantiate with new function objects.
1928 * include/bits/mask_array.h (_DEFINE_VALARRAY_OPERATOR): Likewise.
1930 * include/bits/gslice_array.h: Likewise.
1931 * include/bits/indirect_array.h: Likewise.
1933 2002-08-03 Gabriel Dos Reis <gdr@nerim.net>
1935 * testsuite/26_numerics/valarray_name_lookup.cc: Rename from
1936 testsuite/26_numerics/valarray_name_lookup.C
1938 * include/bits/valarray_array.h (_DEFINE_ARRAY_FUNCTION): Use our
1939 object function surrogates.
1940 * include/bits/valarray_meta.h (__shift_left): Fix typo.
1941 (_BinFunClos<>): Remove.
1942 (_BinFunBase<>): Likewise.
1943 (_BinFunBase1<>):Likewise.
1944 (_BinFunBase2<>): Likewise.
1945 (_DEFINE_EXPR_RELATIONAL_OPERATOR): Likewise.
1946 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
1947 (_DEFINE_EXPR_BINARY_OPERATOR): Likewise.
1948 (_DEFINE_EXPR_BINARY_FUNCTION): Likewise.
1949 * include/std/std_valarray.h: Dont #include <functional> anymore.
1950 (_Bitwise_or<>, _Bitwise_and<>, _Bitwise_xor<>, _Shift_left<>,
1951 _Shift_right<>): Remove.
1952 (_DEFINE_VALARRAY_AUGMENTED_ASSIGNMENT): Adjust instantiation.
1953 (_DEFINE_BINARY_OPERATOR): Tweak definition.
1954 (_DEFINE_LOGICAL_OPERATOR): Remove.
1955 * testsuite/26_numerics/valarray_name_lookup.C (main): Add more tests.
1957 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
1959 * include/bits/valarray_meta.h (_UnFunBase<>): Remove.
1960 (_UnFunClos<>): Same.
1961 (_UnBase<>): Reformat. Make first template-parameter non
1963 (_UnClos<>): Likewise.
1964 (_Expr<>): Reformate. Adjust unary member operator return types.
1965 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
1966 (_DEFINE_EXPR_UNARY_FUNCTION): Likewise.
1967 * include/std/std_valarray.h (_UnClos<>): Adjust declaration.
1968 (valarray<>::_UnaryOp<>): New nested traits. Adjust unary member
1969 operator return types. Reformat.
1970 (_Bitwise_not): Remove.
1971 (_DEFINE_VALARRAY_UNARY_OPERATOR): Adjust definition.
1972 * testsuite/26_numerics/valarray_name_lookup.C: New test.
1974 2002-08-02 Danny Smith <dannysmith@users.sourceforge.net>
1976 * config/os/newlib/ctype_inline.h (is): Don't offset _M_table.
1977 (scan_is): Use this->is.
1978 (scan_not): Likewise.
1980 2002-08-02 Benjamin Kosnik <bkoz@redhat.com>
1982 Revert PR libstdc++/6594
1983 * src/strstream.cc (strstreambuf): Revert.
1984 (strstreambuf::overflow): Same.
1985 (strstreambuf::~strstreambuf): Same.
1986 * testsuite/backward/strstream_members.cc (test02): Add.
1988 * docs/html/abi.txt: Update. Spell check.
1990 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add bool test.
1992 * testsuite/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
1993 * testsuite/Makefile.in: Regenerate.
1994 * testsuite/testsuite_hooks.h: Use __throw_exception_again,
1995 include functexcept.h so that -fno-exceptions will build.
1997 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
1999 * include/bits/valarray_meta.h (__unary_plus, __negate,
2000 __bitwise_not, __plus, __minus, __multiplies, __divides,
2001 __modulus, __bitwise_xor, __bitwise_or, __bitwise_and,
2002 __shift_left, __shift_right, __logical_and, __logical_or,
2003 __logical_not, __equal_to, __not_equal_to, __less, __less_equal,
2004 __greater_equal, __greater, __atan2, __pow): New function object
2006 (__fun<>): New function traits class.
2008 2002-08-01 Rick Danos <rdanos@hotmail.com>
2011 * config/os/newlib/ctype_noninline.h (classic_table): Add offset.
2012 * config/os/newlib/ctype_inline.h (is): Use static_cast.
2014 2002-08-01 Neil Booth <neil@daikokuya.co.uk>
2016 * libsupc++/Makefile.am (LT_COMPILE): Remove C++ flags.
2017 * libsupc++/Makefile.in: Regenerate.
2019 2002-08-01 Benjamin Kosnik <bkoz@redhat.com>
2020 Jakub Jelinek <jakub@redhat.com>
2022 * config/linker-map.gnu: Change CXXABI_1 to CXXABI_1.2,
2023 GLIBCPP_3.1 to GLIBCPP_3.2.
2025 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
2026 Mark Mitchell <mark@codesourcery.com>
2029 * libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit):
2030 Change to __hwm_bit.
2031 (__class_type_info): And here.
2033 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
2036 * libsupc++/cxxabi.h
2037 (__base_class_info): Change to __base_class_type_info. 2.9.5p6c
2038 (__base_class_info::__base): Change to __base_type. 2.9.5p6c
2039 (__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c
2040 (__vmi_class_type_info::__base_info): Don't make const, of type
2041 __base_class_type_info, as per 2.9.5p6c
2042 (__pbase_type_info::__qualifier_flags): Change to __flags, as per
2044 (__pbase_type_info::__qualifier_masks): Change to __masks, as per
2046 (__pointer_to_member_type_info::__context_class): Change member to
2047 __context, as per 2.9.5p9.
2048 * libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to
2050 * libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to
2052 * libsupc++/tinfo.cc (__do_find_public_src): Change __base to
2054 * libsupc++/tinfo.cc (__do_dyncast): Same.
2055 * libsupc++/tinfo.cc (__do_upcast): Same.
2057 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
2059 * src/fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.
2061 2002-07-31 Simon Whomsley <whomsley@avacadcam.com>
2063 * docs/html/22_locale/howto.html: Fix.
2065 2002-07-31 Alex Kompel <shurik@sequoiap.com>
2068 * src/locale.cc (locale::classic): Move locks inside !_S_classic
2071 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
2073 * docs/html/abi.txt: Update.
2075 2002-07-30 Benjamin Kosnik <bkoz@redhat.com>
2076 Gabriel Dos Reis <gdr@nerim.net>
2078 * include/bits/char_traits.h: Remove generic definitions.
2079 * include/bits/streambuf_iterator.h (istreambuf_iterator): Use
2081 * include/bits/istream.tcc (istream::readsome): Don't check
2082 against eof, instead use constants.
2083 (istream::sync): Same.
2084 (istream::sentry::sentry): Use eq_int_type.
2085 (istream::get): Same.
2086 * include/bits/ostream.tcc: Change __pad to
2087 __pad<_CharT, _Traits>::_S_pad.
2088 * include/bits/locale_facets.h: Add __pad_traits generic and
2089 ostreambuf_iterator specialization.
2090 * include/bits/locale_facets.tcc: Change __pad into struct __pad
2091 with a _CharT and _Traits template parameter and _S_pad static
2093 * src/locale-inst.cc: Update __pad instantiations.
2095 * include/std/std_fstream.h: Declare _M_underflow_common
2097 * src/fstream.cc: New. Add _M_underflow_common specializations.
2098 * include/bits/fstream.tcc (filebuf::close): Use traits_type.
2099 (filebuf::_M_underflow_common(bool)): Remove generic version, as
2100 sys_ungetc and custom int_types don't get along.
2101 * include/std/std_streambuf.h: Add _M_pos.
2102 * src/Makefile.am (sources): Add fstream.cc.
2103 * src/Makefile.in: Regenerate.
2105 * testsuite/21_strings/capacity.cc: Add char_traits specializations.
2106 * testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
2107 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
2108 * testsuite/22_locale/ctor_copy_dtor.cc: Same.
2109 * testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
2110 * testsuite/27_io/filebuf.cc: ...here.
2111 * testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
2112 specialization for both.
2113 * testsuite/27_io/streambuf.cc: Add instantiation test,
2114 testsuite_hooks include.
2115 * testsuite/27_io/istream.cc: Same.
2116 * testsuite/27_io/ostream.cc: Same.
2117 * testsuite/27_io/fstream.cc: Same.
2118 * testsuite/27_io/stringstream.cc: Same.
2119 * testsuite/27_io/filebuf.cc: Same.
2120 * testsuite/27_io/stringbuf.cc: Same.
2122 2002-07-29 Alan Modra <amodra@bigpond.net.au>
2124 * config/cpu/powerpc/cpu_limits.h (__glibcpp_long_bits): Define.
2125 * configure.target (cpu_include_dir): Use cpu/powerpc for powerpc64.
2126 * config/cpu/powerpc/atomicity.h (__always_swap): Remove.
2127 (__test_and_set): Remove.
2128 (_STWCX): Define and use.
2130 2002-07-26 Phil Edwards <pme@gcc.gnu.org>
2132 * libsupc++/new (placement delete): Remove unused parameter names.
2134 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
2137 * include/std/std_istream.h (basic_iostream): Add typedefs for
2138 char_type, int_type, pos_type, off_type, and traits_type.
2139 * testsuite/27_io/iostream.cc (test01): Add typedef tests.
2140 * testsuite/27_io/istream.cc: Same.
2141 * testsuite/27_io/ostream.cc: Same.
2142 * testsuite/27_io/filebuf.cc: Same.
2143 * testsuite/27_io/stringbuf.cc: Replace content, move to...
2144 * testsuite/27_io/stringbuf_members.cc: ...here.
2145 * testsuite/27_io/streambuf.cc: Replace content, move to...
2146 * testsuite/27_io/streambuf_members.cc: ...here.
2147 * testsuite/27_io/stringstream.cc: Replace content, move to...
2148 * testsuite/27_io/stringstream_members.cc: ...here.
2149 * testsuite/27_io/ios.cc: New file.
2150 * testsuite/27_io/fstream.cc: New file.
2151 * testsuite/27_io/ifstream.cc: New file.
2152 * testsuite/27_io/ofstream.cc: New file.
2153 * testsuite/27_io/istringstream.cc: New file.
2154 * testsuite/27_io/ostringstream.cc: New file.
2156 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
2159 * include/bits/istream.tcc (istream::ignore): Don't extract on
2161 * testsuite/27_io/istream_unformatted.cc (test10): Add.
2163 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
2165 * testsuite/27_io/ios_base_type.cc: Move to...
2166 * testsuite/27_io/ios_base_types.cc: ...here.
2168 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
2171 * src/locale.cc (locale::locale(const char*)): Use setlocale NULL.
2172 * testsuite/22_locale/ctor_copy_dtor.cc (test02): New.
2174 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
2177 * config/linker-map.gnu: Revert strstream patch from 2002-07-01.
2178 * include/Makefile.am (backward_headers): Use strstream, not
2180 * include/Makefile.in: Regenerate.
2181 * include/backward/strstream: Revert.
2182 * include/backward/strstream.h: Remove.
2183 * src/strstream.cc: Revert.
2184 * testsuite/backward/strstream_members.cc: Change include.
2186 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
2189 * include/bits/ios_base.h (ios_base::streampos): Add.
2190 (ios_base::streamoff): Add.
2191 * testsuite/27_io/ios_base_type.cc: New.
2193 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
2196 * libsupc++/new: Add placement delete.
2197 * testsuite/18_support/new_delete_placement.cc: New.
2199 * docs/html/abi.txt: Fix typos.
2201 2002-07-23 Benjamin Kosnik <bkoz@redhat.com>
2203 * docs/html/documentation.html: Remove libstdc++-v3.0.86 links,
2204 confusing usage of "latest."
2205 De-tangle contributor information from introductory notes.
2206 Move abi.txt link placement, activate.
2208 Move chapter info into old FAQ format.
2209 * docs/html/organization.html: Removed, obsoleted by doxygen work.
2210 * docs/html/abi.txt: Add notes on testing ABI changes.
2212 2002-07-20 Phil Edwards <pme@gcc.gnu.org>
2214 * docs/html/abi.txt: New file.
2215 * docs/html/23_containers/howto.html: Tweak vector-overhead text.
2216 * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
2217 Import from upstream, R22.
2219 * include/bits/char_traits.h, include/bits/stl_iterator.h,
2220 include/bits/stl_iterator_base_types.h, libsupc++/exception,
2221 libsupc++/new, libsupc++/typeinfo: Use @brief markup.
2223 * include/bits/deque.tcc, include/bits/stl_alloc.h,
2224 include/bits/stl_deque.h, include/bits/stl_list.h: Postpone removal
2225 of deprecated functions until 3.4. (Same timeframe, different text.)
2226 * include/bits/stl_vector.h: Ditto. Also do the same cleanups that
2227 the other sequence classes received.
2229 2002-07-18 Brendan Kehoe <brendan@zen.org>
2231 * bits/slice_array.h (_DEFINE_VALARRAY_OPERATOR): Fix typo of
2234 2002-07-19 Gabriel Dos Reis <gdr@nerim.net>
2237 * include/bits/slice_array.h
2238 (slice_array<T>::operator=(const T&)): Constify.
2239 * include/bits/gslice_array.h
2240 (gslice_array<T>::operator=(const T&)): Likewise.
2241 * include/bits/mask_array.h
2242 (mask_array<T>::operator=(const T&)): Likewise.
2243 * include/bits/indirect_array.h
2244 (indirect_array<T>::operator=(const T&): Likewise.
2246 2002-07-17 Phil Edwards <pme@gcc.gnu.org>
2248 * docs/doxygen/run_doxygen: Remove template parameter names from
2249 "Compound List" summary page. Reformat.
2250 * docs/html/documentation.html: XHTML fixes.
2252 2002-07-16 Andreas Schwab <schwab@suse.de>
2254 * libsupc++/new (set_new_handler): Declare to not throw any
2256 * libsupc++/new_handler.cc (set_new_handler): Likewise.
2258 2002-07-16 Gabriel Dos Reis <gdr@nerim.net>
2260 * include/Makefile.am (bits_headers): Remove slice.h
2261 * include/Makefile.in: Regenerate.
2262 * include/bits/slice.h (slice): move to include/bits/slice_array.h
2263 * include/bits/slice.h Remove.
2264 * include/std/std_valarray.h: Don't #include bits/slice.h anymore.
2265 * include/bits/slice_array.h: Comply to official coding styles.
2266 * testsuite/26_numerics/slice.cc: New test.
2268 2002-07-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2270 * config/os/solaris/solaris2.5/ctype_base.h (ctype_base): Fix
2271 print to match vendor <ctype.h>.
2273 2002-07-15 Phil Edwards <pme@gcc.gnu.org>
2275 * docs/html/faq/index.html: Fix download links.
2276 * docs/html/faq/index.txt: Regenerate.
2277 * docs/html/17_intro/porting.html: Regenerate from earlier changes.
2279 2002-07-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2281 * configure.target (target_os switch): Allow for irix6*o32
2284 2002-07-10 Gabriel Dos Reis <gdr@nerim.net>
2286 * include/bits/valarray_meta.h (_UnFunBase): Take a second
2287 template parameter. Remove _M_func data member.
2288 (_UnFunClos): Take a third template parameter.
2289 (__abs, __cos, __acos, __cosh, __sin, __asin, __sinh, __tan,
2290 __atan, __tanh, __exp, __log, __log10, __sqrt): New classes.
2291 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
2293 2002-07-08 Eric Christopher <echristo@redhat.com>
2295 * configure.target: Fix comment for mips atomicity. Add
2296 mips*-*-linux* target, enable atomic operations there.
2297 * config/cpu/mips/atomicity.h: Fix comments, remove
2298 #ifndef/#endif. Add push/pop mips2.
2300 2002-07-08 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2302 * include/bits/stl_deque.h (_Deque_alloc_base): Change order of
2303 member declarations to avoid compiler warnings and restore 3.1 ABI.
2305 2002-07-08 Phil Edwards <pme@gcc.gnu.org>
2307 * docs/html/23_containers/howto.html: Link to dk_std::vector paper
2310 2002-07-07 Paolo Carlini <pcarlini@unitus.it>
2313 * include/bits/stl_deque.h (_Deque_iterator::operator-):
2314 Make non-member, as already happens for the comparison
2315 operators in accord with DR179 (Ready).
2316 * testsuite/23_containers/deque_operators.cc: Add test02.
2318 2002-07-04 Benjamin Kosnik <bkoz@redhat.com>
2319 Jack Reeves <jackw_reeves@hotmail.com>
2321 * include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to
2322 size_t, from int_type.
2323 (basic_streambuf::_M_buf_size_opt): Same.
2324 (basic_streambuf::_S_pback_sizex): Same.
2325 * include/bits/streambuf.tcc: Same.
2326 * include/std/std_streambuf.h (basic_streambuf::snextc): Use
2328 (basic_streambuf::uflow): Same.
2329 * include/bits/sstream.tcc (basic_stringbuf::overflow): Use
2331 * include/bits/basic_ios.tcc (basic_ios::init): Use _CharT().
2332 * include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use
2334 (basic_streambuf::xsputn): Same.
2335 (__copy_streambufs): Same.
2337 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
2339 * include/std/std_memory.h: Fix formatting.
2340 * testsuite/20_util/auto_ptr_neg.cc: New.
2341 * testsuite/20_util/auto_ptr.cc: Tweaks.
2342 * testsuite/23_containers/map_operators.cc (test01): Split into..
2343 * testsuite/23_containers/map_operators_neg.cc (test01): ...this. New.
2344 * testsuite/23_containers/set_operators.cc: Move to...
2345 * testsuite/23_containers/set_operators_neg.cc: ...here.
2346 * testsuite/README: Add some more naming rules.
2348 2002-07-03 Steev Wilcox <steev@paradigmds.com>
2351 * include/ext/stl_hashtable.h: Fix.
2352 * testsuite/ext/hash_map.cc: New.
2354 2002-07-03 Jack Reeves <jackw_reeves@hotmail.com>
2355 Kenny Simpson <theonetruekenny@yahoo.com>
2356 Phil Edwards <pme@gcc.gnu.org>
2359 * testsuite/20_util/auto_ptr.cc (test08): New test.
2360 * include/std/std_memory.h (auto_ref_ptr): Make constructor explicit.
2361 (auto_ptr::operator auto_ptr_ref): Fix typo.
2362 General reformatting and doxygenating of the whole file.
2364 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
2367 * include/c/std_cwchar.h: Fix.
2369 2002-07-02 Benjamin Kosnik <bkoz@redhat.com>
2372 * include/bits/locale_facets.h (moneypunct::moneypunct): Add const
2373 char* name parameter.
2374 * config/locale/gnu/monetary_members.cc: Use it.
2375 * config/locale/generic/monetary_members.cc: Same.
2376 * src/localename.cc (_Impl::_Impl(const char*, size_t)): Use it.
2378 * include/backward/strstream.h: Update date.
2380 2002-07-02 Paolo Carlini <pcarlini@unitus.it>
2383 * include/bits/stl_iterator.h
2384 (__normal_iterator::operator-(const __normal_iterator&)):
2385 Make non-member, as already happens for the comparison
2386 operators in accord with DR179 (Ready).
2387 * testsuite/24_iterators/iterator.cc: Add test from the PR.
2389 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
2392 * acinclude.m4: Simplify determination of gcc_version, and move
2393 up to GLIBCPP_CONFIGURE.
2394 * configure.in (release_VERSION): Really remove.
2395 (AM_INIT_AUTOMAKE, AM_CONFIG_HEADER): Move after GLIBCPP_CONFIGURE.
2396 * aclocal.m4, configure: Regenerate.
2398 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
2400 * docs/html/configopts.html, docs/html/install.html: Tweaks.
2401 * include/ext/algorithm, include/ext/hash_map, include/ext/hash_set,
2402 include/ext/iterator, include/ext/numeric, include/ext/rb_tree,
2403 include/ext/slist, include/ext/stl_rope.h: Add doxygen hooks.
2405 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
2407 * include/backward/strstream: Remove namespace std. Transfer to...
2408 * include/backward/strstream.h: ...here. Qualify std names.
2409 * src/strstream.cc: Remove namespace std.
2410 * include/Makefile.am (backward_headers): Remove strstream.h.
2411 * include/Makefile.in: Regenerate.
2412 * config/linker-map.gnu: Export strstream bits.
2414 * src/fstream-inst.cc: Tweak.
2415 * src/io-inst.cc: Same.
2416 * src/istream-inst.cc: Same.
2417 * src/misc-inst.cc: Same.
2418 * src/ostream-inst.cc: Same.
2419 * src/sstream-inst.cc: Same.
2420 * src/valarray-inst.cc: Same.
2421 * src/misc-inst.cc: Remove unused instantiations.
2423 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
2425 * configure.in (libtool_VERSION): Bump to 5:0:0.
2426 * configure: Regenerate.
2428 2002-06-28 Phil Edwards <pme@gcc.gnu.org>
2430 PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161
2431 * include/std/std_queue.h: Include deque.tcc, vector.tcc.
2432 * include/std/std_stack.h: Include deque.tcc.
2433 * testsuite/23_containers/adaptors.cc: New file.
2435 2002-06-27 Phil Edwards <pme@gcc.gnu.org>
2437 * include/bits/stl_alloc.h: Deprecate all 'reallocate' memfns.
2438 * docs/html/ext/howto.html: Update allocator notes.
2440 2002-06-26 Benjamin Kosnik <bkoz@redhat.com>
2442 * configure.in (INTERFACE): Remove.
2443 (release_VERSION): Remove.
2444 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
2445 (libstdcxx_interface): Change. Use gcc methods to determine version.
2446 * configure: Regenerate.
2447 * aclocal.m4: Regenerate.
2449 2002-06-25 DJ Delorie <dj@redhat.com>
2451 * acinclude.m4 (GLIBCPP_CONFIGURE): Split out
2452 GLIBCPP_TOPREL_CONFIGURE.
2453 * aclocal.m4: Likewise.
2454 * configure.in: Call it before AC_CANONICAL_SYSTEM.
2455 * configure: Regenerate.
2457 2002-06-25 Jessica Han <jessica@cup.hp.com>
2459 * config/os/hpux/os_defines.h Define _GLIBCPP_VTABLE_PADDING
2460 * libsupc++/tinfo.cc Handle the 8 byte aligned vtable entries when
2461 _GLIBCPP_VTABLE_PADDING is defined.
2463 2002-06-25 Benjamin Kosnik <bkoz@redhat.com>
2465 * include/bits/stl_alloc.h: Additional formatting.
2467 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
2469 * include/bits/stl_alloc.h: Reformat as per C++STYLE.
2471 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
2473 * config/cpu/*/bits/*: Move header files up a level. Remove bits.
2474 * config/os/*/bits/*: Likewise.
2475 * configure.in: Update.
2476 * configure: Regenerate.
2477 * configure.target: Update.
2478 * docs/html/17_intro/porting.texi: Update.
2480 2002-06-21 Phil Edwards <pme@gcc.gnu.org>
2482 * include/bits/stl_map.h, include/bits/stl_multimap.h,
2483 include/bits/stl_queue.h, include/bits/stl_stack.h: Reformat and
2484 complete doxygenation.
2485 * include/bits/boost_concept_check.h: Minor comment.
2487 2002-06-21 Benjamin Kosnik <bkoz@redhat.com>
2489 * include/c_compatibility: New.
2490 * include/c_compatibility/assert.h: New.
2491 * include/c_compatibility/ctype.h: New.
2492 * include/c_compatibility/errno.h: New.
2493 * include/c_compatibility/float.h: New.
2494 * include/c_compatibility/iso646.h: New.
2495 * include/c_compatibility/limits.h: New.
2496 * include/c_compatibility/locale.h: New.
2497 * include/c_compatibility/math.h: New.
2498 * include/c_compatibility/setjmp.h: New.
2499 * include/c_compatibility/signal.h: New.
2500 * include/c_compatibility/stdarg.h: New.
2501 * include/c_compatibility/stddef.h: New.
2502 * include/c_compatibility/stdio.h: New.
2503 * include/c_compatibility/stdlib.h: New.
2504 * include/c_compatibility/string.h: New.
2505 * include/c_compatibility/time.h: New.
2506 * include/c_compatibility/wchar.h: New.
2507 * include/c_compatibility/wctype.h: New.
2509 * include/c/std_cerrno.h: Get out of the way... define errno.
2510 * include/c/std_cmath.h: Add abs, modf overloads.
2511 Undefine C99 isms. Still not sure how to deal with this sanely.
2512 * include/c/std_csetjmp.h: Tweak.
2513 * include/c/std_cwchar.h: Include cstddef for size_t.
2515 * include/c_std/std_cmath.h: Remove extra function.
2517 Pendantic std usage in testsuites.
2518 * testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
2520 * testsuite/17_intro/header_cwchar.cc: Tweak.
2521 * testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
2523 * testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
2524 * testsuite/22_locale/ctype_to_char.cc (test05): Same.
2525 * testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
2526 * testsuite/22_locale/ctype_is_char.cc (test05): Same.
2527 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
2528 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
2529 * testsuite/22_locale/time_get_members_char.cc (test08): Same.
2530 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
2531 * testsuite/22_locale/time_put_members_char.cc (test04): Same.
2532 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
2533 * testsuite/22_locale/num_put_members_char.cc (test04): Same.
2534 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
2535 * testsuite/22_locale/numpunct_members_char.cc (test03): Same.
2536 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
2537 * testsuite/22_locale/num_get_members_char.cc: Same.
2538 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
2539 * testsuite/22_locale/money_put_members_char.cc (test07): Same.
2540 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
2541 * testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
2542 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
2543 * testsuite/22_locale/money_get_members_char.cc (test08): Same.
2544 * testsuite/22_locale/messages_members_char.cc (test03): Same.
2545 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
2546 * testsuite/22_locale/collate_members_char.cc (test04): Same.
2547 * testsuite/26_numerics/fabs_inline.cc: Use std::printf.
2548 * testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
2549 * testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.
2551 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
2553 * libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
2556 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
2558 * src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
2559 Use size_type instead of unsigned long.
2561 2002-06-20 Steve Ellcey <sje@cup.hp.com>
2563 * src/ext-inst.cc (_S_fetch): Add explicit templates for char and
2565 (_S_min_len): Ditto.
2567 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
2569 * include/Makefile.am: Add rules.
2570 * include/Makefile.in: Regenerate.
2572 * acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
2573 * aclocal.m4: Regenerate.
2574 * configure: Regenerate.
2575 * configure.target (c_model, c_compatibility): Add.
2577 * libsupc++/Makefile.am (c_sources): New.
2578 (libsupc___la_SOURCES): Add c_sources.
2579 (LTCOMPILE): Remove INCLUDES.
2580 (GCC_INCLUDES): New.
2581 (C_COMPILE): New, like COMPILE but without INCLUDES.
2582 (cxa_demangle.o): Use C_COMPILE.
2583 (dyn-string.o): Use C_COMPILE.
2585 * include/c/std_cstdarg.h: Define __need___va_list.
2586 * include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
2587 need_NULL, need_offsetof.
2589 2002-06-19 Steve Ellcey <sje@cup.hp.com>
2591 * configure.in (HAVE_FINITE*, HAVE_ISINF*, HAVE_ISNAN*): Remove
2592 definitions in hpux11 cross-build because these functions do
2593 not exist on hpux11 (but some exist on hpux10); move defaults out
2594 into existing sections.
2595 * configure: Regenerate.
2597 2002-06-18 Benjamin Kosnik <bkoz@redhat.com>
2599 * include/c/std_cwchar.h: Guard. Add mbstate_t bits.
2600 * include/c/std_cwctype.h: Guard.
2602 * libsupc++/eh_alloc.cc: Tweak include order.
2603 * libsupc++/pure.cc: Use cstdio.
2604 * libsupc++/new_op.cc: Remove malloc forward declaration, as
2605 cstdlib brings it in. Use std::malloc.
2607 * src/Makefile.am (sources): Remove cmath.cc.
2608 * src/Makefile.in: Regenerate.
2609 * src/cmath.cc: Remove.
2611 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
2613 * configure.target: Force mips to use the generic cpu routines.
2615 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
2617 * configure.host: Delete file.
2618 * configure.target: More documentation. Factor out common parts of
2619 script into "intelligent" settings about defaults. Remove redundancy.
2621 * acinclude.m4: Update comments. Do not call configure.host.
2622 (GLIBCPP_ENABLE_SYMVERS): If disabled, do not bother checking for
2624 * configure.in: Slight reformatting, more comments. Factor out
2625 "config/" from all the directories.
2626 * docs/html/17_intro/porting.texi: Update and expand.
2627 * testsuite/Makefile.am (AM_RUNTESTFLAGS): Move empty setting
2628 from configure.host.
2630 * aclocal.m4, configure, docs/html/17_intro/porting.html,
2631 testsuite/Makefile.in: Regenerate.
2633 2002-06-16 Phil Edwards <pme@gcc.gnu.org>
2635 * docs/doxygen/TODO: Update.
2636 * docs/doxygen/tables.html: Uncomment magical middle column.
2637 * docs/doxygen/user.cfg.in: Kludge to ignore function-like macros.
2638 * include/bits/stl_queue.h: Doxygenate and reformat.
2639 * include/bits/ios_base.h, include/std/std_streambuf.h: Add comment
2640 for deprecated names required by the standard.
2642 2002-06-14 J.T. Conklin <jtc@acorntoolworks.com>
2644 * configure.in (target_alias): Fix.
2645 * configure: Regenerate.
2646 * aclocal.m4: Regenerate.
2648 2002-06-12 Phil Edwards <pme@gcc.gnu.org>
2650 * include/Makefile.am: Add new files.
2651 * include/Makefile.in: Regenerate.
2653 * include/bits/stl_deque.h, include/bits/stl_list.h,
2654 include/bits/stl_vector.h: Clean up, reformat. Move definitions...
2655 * include/bits/deque.tcc, include/bits/list.tcc,
2656 include/bits/vector.tcc: ...to here. New files.
2658 * include/ext/stl_hashtable.h: Inclide correct full headers.
2659 * include/std/std_deque.h: Include .tcc files for now.
2660 * include/std/std_list.h: Likewise.
2661 * include/std/std_vector.h: Likewise.
2663 2002-06-12 Daniel Jacobowitz <drow@mvista.com>
2665 * Makefile.am: Add FLAGS_TO_PASS.
2666 * Makefile.in: Regenerated.
2668 2002-06-11 J.T. Conklin <jtc@acorntoolworks.com>
2669 Benjamin Kosnik <bkoz@redhat.com>
2671 * configure.target: Set os_include_dir to config/os/qnx/qnx6.1
2673 * configure.in: Add support for *-qnx6.[12]*.
2674 * configure: Regenerate.
2676 * config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
2678 * config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
2679 ctype_noninline.h, os_defines.h: New files.
2681 2002-06-10 Loren J. Rittle <ljrittle@acm.org>
2683 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): Reorder and
2684 include all required headers for test against older POSIX standard.
2685 (GLIBCPP_CHECK_SETRLIMIT): Likewise.
2686 (ac_setrlimit): Likewise.
2687 * aclocal.m4: Regenerate.
2688 * configure: Regenerate.
2689 * testsuite/testsuite_hooks.cc: Reorder and include all
2690 required headers for use against older POSIX standard.
2692 2002-06-08 Paolo Carlini <pcarlini@unitus.it>
2694 * testsuite/backwards/strstream_members.cc: New.
2696 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
2698 * include/backwards/strstream: Format.
2699 * src/strstream.cc: Format.
2701 2002-06-08 Andreas Schwab <schwab@suse.de>
2703 * src/strstream.cc (strstreambuf::overflow): Set _M_buf,
2704 _M_buf_size and _M_buf_size_opt to the new buffer and size.
2706 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
2708 * config/os/generic/bits/ctype_noninline.h: Tweak format.
2710 2002-06-07 Steve Ellcey <sje@cup.hp.com>
2712 * src/locale-inst.cc (__codecvt_abstract_base):
2713 Put inside _GLIBCPP_USE_WCHAR_T ifdef.
2714 * include/bits/istream.tcc (basic_istream): Ditto.
2717 * include/bits/ostream.tcc (basic_ostream): Ditto.
2721 (operator<<): Ditto.
2723 2002-06-07 Phil Edwards <pme@gcc.gnu.org>
2725 * mkcheck.in: Link against local testsuite library.
2726 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Move null
2727 implementation out...
2728 * testsuite/testsuite_hooks.cc: ...to here.
2730 2002-06-06 Loren J. Rittle <ljrittle@acm.org>
2732 * src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
2733 * include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
2734 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
2735 * src/Makefile.in: Regenerate (explicitly with --cygnus option).
2736 * testsuite/Makefile.in: Likewise.
2738 2002-06-05 David Edelsohn <edelsohn@gnu.org>
2740 * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
2741 Call external symbol.
2743 2002-06-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2745 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
2746 Search correct multilib testsuite dir for libv3test.
2748 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
2749 Gaby Dos Reis <gdr@codesourcery.com>
2751 * include/bits/basic_string.tcc
2752 (basic_string::_S_construct(forward_iterator_tag):
2753 Fix typo in null pointer check.
2754 * testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
2756 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
2758 * testsuite/22_locale/money_get_members_char.cc
2759 (test02): Add decimal point to long double constants.
2760 * testsuite/22_locale/money_get_members_wchar_t.cc
2762 * testsuite/22_locale/money_put_members_char.cc
2763 (test02, test03, test06): Likewise.
2764 * testsuite/22_locale/money_put_members_wchar_t.cc:
2765 (test02, test03, test06): Likewise.
2766 * testsuite/22_locale/num_get_members_char.cc:
2767 (test02, test01): Likewise; suffix long long constants with LL.
2768 * testsuite/22_locale/num_get_members_wchar_t.cc:
2769 (test02, test01): Likewise.
2770 * testsuite/22_locale/num_put_members_char.cc:
2771 (test02, test01): Likewise.
2772 * testsuite/22_locale/num_put_members_wchar_t.cc:
2773 (test02, test01): Likewise.
2775 2002-06-03 Marc Espie <espie@openbsd.org>
2777 * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
2778 assembly for old assemblers.
2780 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
2782 * include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
2784 (vector<bool>::swap(reference,reference)): ...to this.
2786 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
2788 * docs/doxygen/TODO: Update.
2789 * docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS): Set to off, now that
2790 some class members are in 14882 order.
2791 * docs/html/ext/howto.html: 3.1 is in the past now, not the future.
2793 * include/std/std_bitset.h: Update comment.
2794 * src/bitset.cc: Update comments, clean up spacing.
2796 * src/Makefile.am (sources): Alphabetize for convenience.
2797 * src/Makefile.in: Regenerate.
2799 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
2801 * include/bits/stl_deque.h, include/bits/stl_list.h,
2802 include/bits/stl_vector.h: Reformat to (mostly) match C++STYLE.
2803 Reorder to match 14882. Doxygen blocks for all public members.
2805 2002-05-31 Marcus Meissner <meissner@suse.de>
2808 * include/bits/stl_bvector.h: Use UL suffix for unsigned longs.
2809 * testsuite/23_containers/vector_bool.cc (test02): New test.
2811 2002-05-30 Marc Espie <espie@openbsd.org>
2813 * configure.in: Always check for sys/types.h
2814 * configure: Regenerate.
2816 2002-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2818 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
2819 Rebuild the wrapper file every time this proc is called.
2821 2002-05-28 Phil Edwards <pme@gcc.gnu.org>
2823 * testsuite/Makefile.am (noinst_LIBRARIES): New target. Pull in
2825 * testsuite/Makefile.in: Regenerate.
2826 * testsuite/testsuite_hooks.h (gnu_copy_tracker): Move from
2827 list_modifiers.cc and rename from 'T'. Move code bodies...
2828 * testsuite/testsuite_hooks.cc: ...to here. New file.
2829 * testsuite/23_containers/list_modifiers.cc: Move 'T' class out.
2830 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
2831 Add libv3test.a to link options.
2833 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
2835 * src/misc-inst.cc: Define unnecessary algorithm
2836 instantiations. Break apart instantiations into groupings below.
2837 * src/fstream-inst.cc: New.
2838 * src/io-inst.cc: New.
2839 * src/istream-inst.cc: New.
2840 * src/ostream-inst.cc: New.
2841 * src/streambuf-inst.cc: New.
2842 * src/sstream-inst.cc: New.
2843 * src/Makefile.am (sources): Add files.
2844 * src/Makefile.in: Regenerate.
2846 * acinclude.m4: Work around automake 1.4-p5 bug, change
2847 AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
2849 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
2852 * config/os/solaris/solaris2.6/bits/ctype_noninline.h
2853 (classic_table): Fix.
2854 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2856 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
2858 * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
2859 _GLIBCPP_USE_WCHAR_T.
2860 * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
2861 * testsuite/22_locale/ctype_to_wchar_t.cc: Same.
2862 * testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
2864 2002-05-26 Carlo Wood <carlo@alinoe.com>
2865 Paolo Carlini <pcarlini@unitus.it>
2868 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
2869 (__enc_traits::operator=): add missing return statement.
2871 2002-05-24 Phil Edwards <pme@gcc.gnu.org>
2874 * include/std/std_bitset.h (_Base_biteset<0>): New specialization.
2875 (operator>>): If nothing was extracted, don't fail in the
2877 * testsuite/23_containers/bitset_ctor.cc (test02): New test.
2879 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
2882 * testsuite/22_locale/ctype_narrow_char.cc: New.
2883 * testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
2884 * testsuite/22_locale/ctype_widen_char.cc: New.
2885 * testsuite/22_locale/ctype_widen_wchar_t.cc: New.
2886 * testsuite/22_locale/ctype_members_char.cc: Move some bits into...
2887 * testsuite/22_locale/ctype_is_char.cc: ...this.
2888 * testsuite/22_locale/ctype_to_char.cc: ...and this.
2889 * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
2890 * testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
2891 * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
2893 * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
2895 2002-05-24 Dale Peakall <dale@peakall.net>
2898 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
2899 * config/locale/generic/ctype_members.cc: Same.
2901 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
2904 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
2905 for empty string literal.
2906 (ostream::operator<<(const _CharT*)): Same.
2907 (ostream<char>::operator<<(const char*)): Same.
2908 (ostream<char>::operator<<(streambuf*)): Same.
2909 * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
2910 * testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
2912 2002-05-23 Benjamin Kosnik <bkoz@redhat.com>
2914 * configure.in (release_VERSION): Update to 3.1.1.
2915 (libtool_VERSION): Update to 4:1:0.
2916 * configure: Regenerate.
2918 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
2920 * include/bits/stl_pair.h: Tweak comment markup.
2922 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
2924 * include/ext/stdio_filebuf.h: Add header guards. Doxygenate.
2926 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
2928 * docs/doxygen/user.cfg.in (EXCLUDE): Add 'CVS'.
2930 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
2932 * include/bits/stl_vector.h: Reformat to follow C++STYLE.
2933 Doxygenate all public members. Reorder to follow 14882.
2934 (vector::push_back(void)): Remove previously-deprecated fn.
2935 (vector::insert(iterator), vector::_M_insert_aux(iterator)):
2936 Deprecate for removal in 3.3.
2938 2002-05-20 Phil Edwards <pme@gcc.gnu.org>
2940 * docs/html/faq/index.html (5.4): Recommend against -I options for
2941 finding the ext headers.
2942 * docs/html/faq/index.txt: Regenerate.
2944 2002-05-19 Paolo Carlini <pcarlini@unitus.it>
2946 * testsuite/23_containers/deque_operators.cc (test01):
2947 Fix minor typo in last commit.
2949 2002-05-18 Paolo Carlini <pcarlini@unitus.it>
2952 * include/bits/stl_deque.h (_Deque_iterator::operator==,
2953 operator!=, operator<, operator>, operator>=, operator<=):
2954 Make non-member functions, to allow comparing const and
2955 non-const iterators in any order.
2956 * testsuite/23_containers/deque_operators.cc: New testfile.
2958 2002-05-16 Phil Edwards <pme@gcc.gnu.org>
2960 * docs/html/faq/index.html: Update not-a-bug list with basic_file.h.
2961 * docs/html/faq/index.txt: Regenerate.
2963 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2965 * Makefile.am: Allow for PWDCMD to override hardcoded pwd.
2966 * acinclude.m4: Likewise.
2967 * docs/html/Makefile: Likewise.
2968 * aclocal.m4: Regenerate.
2969 * configure: Regenerate.
2970 * Makefile.in: Regenerate.
2972 2002-05-15 Loren J. Rittle <ljrittle@acm.org>
2975 * include/bits/c++config (__USE_MALLOC): Report case where
2976 the user improperly defined it on the command line.
2978 2002-05-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2980 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
2981 Retrieve current limits before setting.
2983 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
2986 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
2988 (ostream::operator<<(const _CharT*)): Same.
2989 (ostream<char>::operator<<(const char*)): Same.
2990 * testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
2992 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
2995 * src/strstream.cc (strstreambuf): Fix leak.
2997 2002-05-15 Paolo Carlini <pcarlini@unitus.it>
3000 * include/bits/istream.tcc (istream::getline, ignore):
3001 Upon __idelim (__delim) call sbumpc() not snextc().
3002 * testsuite/27_io/narrow_stream_objects.cc:
3003 Add test08 and test09.
3005 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
3007 * testsuite/22_locale/ctype_scan_char.cc: Tweak.
3008 * testsuite/22_locale/ctype_scan_wchar_t.cc: New.
3010 * docs/html/install.html: Fix.
3012 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
3014 * include/bits/fstream.tcc
3015 (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
3017 * src/localename.cc (locale::_Impl::_M_install_facet): Same.
3019 * docs/html/install.html: Tweak, add bits about required locales
3020 for the 22_locale tests when using the gnu model.
3022 * testsuite/27_io/istream_sentry.cc: Tweak.
3024 2002-05-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3026 * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
3027 Fix typo, use this->is() rather than manually (and perhaps
3028 incorrectly) inlining it.
3029 * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
3031 * testsuite/22_locale/ctype_scan_char.cc: New file.
3033 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
3034 Jakub Jelinek <jakub@redhat.com>
3036 * testsuite/22_locale/money_get_members_char.cc
3037 (test01, test02, test04): Use the de_DE@euro named locale
3038 instead of de_DE to allow for an uniform behaviour with
3039 both old and Euro-era localedata; tweak some tests.
3040 * testsuite/22_locale/money_get_members_wchar_t.cc
3041 (test01, test02, test04): Likewise.
3042 * testsuite/22_locale/money_put_members_char.cc
3043 (test01, test02, test04): Likewise.
3044 * testsuite/22_locale/money_put_members_wchar_t.cc
3045 (test01, test02, test04): Likewise.
3047 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
3049 * testsuite/22_locale/codecvt_members_char_char.cc
3050 (test03): Robustify wrt localedata.
3051 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
3052 * testsuite/22_locale/collate_members_char.cc (test04): Likewise.
3053 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
3054 * testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
3055 * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
3056 * testsuite/22_locale/messages_members_char.cc (test03): Likewise.
3057 * testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
3058 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
3059 * testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
3060 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
3061 * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
3062 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
3063 * testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
3064 * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
3065 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
3066 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
3067 * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
3068 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
3069 * testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
3070 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
3071 * testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
3072 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
3074 2002-05-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3076 * config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
3079 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
3081 * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
3082 to 64 for hppa 64-bit port.
3083 (__glibcpp_long_double_bits): Define to 64 for all hppa ports.
3085 2002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3087 * acinclude.m4 (enable_symvers): Quote $LD.
3088 * aclocal.m4: Regenerate.
3089 * configure: Likewise.
3091 2002-05-09 Jakub Jelinek <jakub@redhat.com>
3093 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
3094 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
3097 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
3099 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
3100 script entry, and set LD to it when configuring multilibs.
3101 * configure: Rebuilt.
3103 2002-05-07 Mark Mitchell <mark@codesourcery.com>
3105 * configure.in: Add support for WindISS.
3106 * configure: Regenerated.
3107 * configure.target: Add support for WindISS.
3108 * config/os/windiss/bits/ctype_base.h: New file.
3109 * config/os/windiss/bits/ctype_inline.h: Likewise.
3110 * config/os/windiss/bits/ctype_noninline.h: Likewise.
3111 * config/os/windiss/bits/os_defines.h: Likewise.
3113 2002-05-06 Paolo Carlini <pcarlini@unitus.it>
3115 Test all the facets for the temporary "C" locale switch issue.
3116 * testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
3117 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
3118 * testsuite/22_locale/collate_members_char.cc: Add test04.
3119 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
3120 * testsuite/22_locale/ctype_members_char.cc: Add test05.
3121 * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
3122 * testsuite/22_locale/messages_members_char.cc: Add test03.
3123 * testsuite/22_locale/money_get_members_char.cc: Add test08.
3124 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
3125 * testsuite/22_locale/money_put_members_char.cc: Add test07.
3126 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
3127 * testsuite/22_locale/moneypunct_members_char.cc: Add test03.
3128 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
3129 * testsuite/22_locale/num_get_members_char.cc: Add test06.
3130 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
3131 * testsuite/22_locale/numpunct_members_char.cc: Add test03.
3132 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
3133 * testsuite/22_locale/time_get_members_char.cc: Add test08.
3134 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
3135 * testsuite/22_locale/time_put_members_char.cc: Add test04.
3136 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
3138 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
3139 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
3141 2002-05-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3143 * config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
3144 __EXTENSIONS__): Ensure they are always defined.
3146 2002-05-06 Phil Edwards <pme@gcc.gnu.org>
3148 * docs/html/documentation.html: Fix broken link.
3150 2002-05-04 Benjamin Kosnik <bkoz@redhat.com>
3151 Paolo Carlini <pcarlini@unitus.it>
3153 * testsuite/22_locale/num_put_members_char.cc: Add test04(),
3154 testing for the locale_facets.tcc entry of the previous commit.
3155 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
3157 2002-05-04 Takeshi Kobayakawa <tskoba@mte.biglobe.ne.jp>
3159 * config/locale/generic/c_locale.cc
3160 (__convert_to_v(float, double, long double)):
3161 Fix the temporary switch to the "C" locale, saving and
3162 restoring in the proper way the current locale.
3163 * config/locale/generic/time_members.cc
3164 (__timepunct<char, wchar_t>::_M_put): Likewise.
3165 * config/locale/gnu/messages_members.cc
3166 (messages<char>::do_get): Likewise.
3167 * config/locale/gnu/messages_members.h
3168 (messages<_CharT>::do_get): Likewise.
3169 * config/locale/gnu/time_members.cc
3170 (__timepunct<char, wchar_t>::_M_put): Likewise.
3171 * include/bits/locale_facets.tcc (__convert_from_v): Likewise.
3173 2002-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3175 * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
3176 * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
3178 * Makefile.in, config.h.in, configure: Regenerate.
3180 2002-05-03 Benjamin Kosnik <bkoz@redhat.com>
3183 * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
3184 * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
3186 2002-05-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3188 * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
3190 (ctype:_M_table): Initialize to classic_table(), not __ctype.
3192 2002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3194 * configure.in: Update local install.html, configopts.html paths.
3195 * configure: Regenerate.
3197 2002-05-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3199 * config/os/irix/irix5.2/bits/os_defines.h
3200 (__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
3202 * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
3205 2002-05-02 Phil Edwards <pme@gcc.gnu.org>
3207 * docs/html/faq/index.html: Update list in #4.1.
3208 * docs/html/faq/index.txt: Regenerated.
3210 2002-05-02 Benjamin Kosnik <bkoz@redhat.com>
3212 * docs/html/17_intro/RELEASE-NOTES (New): Update.
3214 2002-05-01 Phil Edwards <pme@gcc.gnu.org>
3216 * include/std/std_bitset.h: Fix doxygen comments.
3217 * docs/html/documentation.html: Minor tweaks for 3.1.
3218 * docs/html/27_io/howto.html: Likewise.
3219 * docs/html/ext/howto.html: Likewise, mention stdio_filebuf.
3220 * docs/html/faq/index.html: Likewise.
3221 * docs/html/faq/index.txt: Regenerated.
3223 2002-05-01 Benjamin Kosnik <bkoz@redhat.com>
3226 * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
3227 (istreambuf_iterator::equal): Use it.
3228 (istreambuf_iterator::operator*): Use it.
3230 2002-05-01 Paolo Carlini <pcarlini@unitus.it>
3233 * include/bits/stl_uninitialized.h
3234 (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
3235 Fix typo in 2001-07-17 commit: typedef _ValueType to
3236 iterator_traits<_ForwardIter> not <_InputIter>.
3237 * testsuite/23_containers/vector_ctor.cc: Add test04.
3239 2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
3242 * include/c_std/std_cctype.h: Include bits/c++config.h.
3243 * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
3245 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
3247 * include/ext/stdio_filebuf.h: New file.
3248 * include/ext/enc_filebuf.h: New file.
3249 * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
3250 * config/io/basic_file_stdio.cc: Same.
3251 * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
3252 Remove _M_unbuf hacks.
3253 (filebuf::_M_destroy_internal_buffer): Same.
3254 (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
3255 (filebuf::fd): Remove.
3256 * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
3257 (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
3258 (filebuf::fd): Remove.
3259 * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
3261 (ios_base::_S_ios_destroy): Same.
3262 * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
3263 * include/Makefile.am (ext_headers): Add ext_filebuf.h,
3264 stdio_filebuf.h. * include/Makefile.in: Regenerate.
3266 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
3269 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
3271 2002-04-29 Benjamin Kosnik <bkoz@redhat.com>
3274 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
3276 * include/bits/streambuf_iterator.h: Match stream_iterator.h.
3277 (istreambuf_iterator::operator++): Invalidate on eof.
3278 (istreambuf_iterator::operator++(int)): Same.
3279 (istreambuf_iterator::operator*): Same.
3281 2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3283 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
3284 of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
3287 2002-04-28 Benjamin Kosnik <bkoz@redhat.com>
3290 * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
3291 (__basic_file::sys_ungetc): Take int.
3292 * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
3293 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
3294 Use sys_getc for unbuffered input.
3295 * testsuite/27_io/narrow_stream_objects.cc (test06): New.
3297 * src/ios.cc (_M_grow_words): Adjust error checking.
3298 * testsuite/27_io/ios_base_storage.cc: Same.
3300 2002-04-28 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3302 * include/ext/stl_hashtable.h: Import __iterator_category
3304 2002-04-28 Paolo Carlini <pcarlini@unitus.it>
3305 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3307 * testsuite/ext/hash_set.cc: New testfile.
3309 2002-04-27 Benjamin Kosnik <bkoz@redhat.com>
3311 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
3313 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
3314 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
3316 2002-04-26 Paolo Carlini <pcarlini@unitus.it>
3318 * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
3319 Fix and tighten __throw_length_error check.
3320 * testsuite/21_strings/replace.cc (test05): New.
3321 * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
3323 2002-04-23 Loren J. Rittle <ljrittle@acm.org>
3325 * include/std/std_fstream.h (basic_filebuf::sync): Hoist
3326 unconditional flush on lower-layer handle to here...
3327 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
3328 ...from here. Optimize remaining _M_file.sync() call pattern.
3329 * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
3332 2002-04-23 Jason Merrill <jason@redhat.com>
3334 * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
3335 output-only filebufs.
3336 * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
3338 (basic_filebuf::_M_set_determinate): Likewise.
3341 * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
3342 value properly in the trivial case.
3343 * testsuite/27_io/istream_seeks.cc (test04): Make sure that
3344 tellg() returns the right value after a read.
3346 2002-04-23 Hans-Peter Nilsson <hp@bitrange.com>
3348 * config/cpu/mmix/bits/cpu_limits.h: New file.
3349 * configure.target (CPULIMITSH): Use it.
3351 2002-04-22 Loren J. Rittle <ljrittle@acm.org>
3353 * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
3354 * docs/html/17_intro/porting.html: Rebuilt.
3356 2002-04-20 Jason Merrill <jason@redhat.com>
3359 * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
3361 (basic_streambuf::_M_set_determinate): Likewise.
3362 (basic_streambuf::_M_is_indeterminate): Likewise.
3363 * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
3364 non-static data member.
3365 (basic_filebuf::_M_underflow_common): New non-static member function.
3366 (basic_filebuf::_M_underflow, _M_uflow): Call it.
3367 (basic_filebuf::sync): Avoid useless seeking.
3368 (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
3370 (basic_filebuf::_M_set_determinate): Likewise.
3371 (basic_filebuf::_M_is_indeterminate): Likewise.
3372 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
3373 back to _M_out_beg if necessary.
3374 (basic_filebuf::seekoff): Likewise.
3375 (basic_filebuf::_M_underflow_common): Generalization of old
3376 underflow(). Don't seek back to _M_in_beg.
3377 * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
3378 * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
3379 * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
3380 * config/os/mingw32/bits/os_defines.h: Likewise.
3381 * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
3384 2002-04-22 Benjamin Kosnik <bkoz@redhat.com>
3386 * include/bits/istream.tcc (istream::read): Fix.
3387 * testsuite/27_io/istream_unformatted.cc (main): Add.
3389 2002-04-20 Benjamin Kosnik <bkoz@redhat.com>
3392 * include/bits/istream.tcc (istream::ignore): Streamline, use
3394 * include/bits/streambuf.tcc: Use this->gptr.
3395 * testsuite/27_io/istream_unformatted.cc (test08): Add test.
3397 2002-04-18 Benjamin Kosnik <bkoz@redhat.com>
3399 * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
3400 as type safety is important, especially on solaris.
3401 * include/bits/istream.tcc (istream::read): Clean.
3402 (istream::readsome): Same.
3403 * locale.cc: Wrap lines.
3405 * testsuite/21_strings/inserters_extractors.cc: Tweaks.
3406 * testsuite/27_io/instantiations.cc (test): Add bool variable...
3407 * testsuite/21_strings/capacity.cc: Clean.
3409 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
3411 * docs/doxygen/doxygroups.cc: New group on binary searching.
3412 * include/bits/stl_algo.h: Document binary searches and merges.
3413 * include/bits/stl_deque.h: The 'map' member is not the 'map' class.
3415 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
3417 * docs/doxygen/mainpage.html: Doxygen logo is now a PNG file.
3418 * docs/doxygen/run_doxygen: Bump required version.
3419 * docs/doxygen/user.cfg.in: Revert accidental change.
3420 * docs/html/faq/index.html: Reindent a block of links.
3421 (4.4): New note on using dlsym.
3422 * docs/html/faq/index.txt: Regenerated.
3424 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
3426 * testsuite_flags.in (cxxflags): Also pass @EXTRA_CXX_FLAGS@.
3428 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
3430 * config/linker-map.gnu (__malloc_alloc_template): Add.
3431 (__default_alloc_template): Same.
3432 * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
3434 (__default_alloc_template): Same.
3436 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
3438 * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
3440 2002-04-16 Benjamin Kosnik <bkoz@redhat.com>
3442 * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
3443 * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
3444 (__malloc_alloc_template): Conditionalize.
3446 * include/bits/istream.tcc: Remove sputbackc calls.
3448 * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
3450 2002-04-16 Paolo Carlini <pcarlini@unitus.it>
3452 * testsuite/24_iterators/rel_ops.cc: New test.
3454 2002-04-16 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3456 * include/bits/type_traits.h (__normal_iterator): Declare in
3457 __gnu_cxx. Adjust use at global namespace.
3458 * include/bits/stl_iterator.h (__normal_iterator): Move definition
3459 into __gnu_cxx::. Add more operator overloads. Tidy existing ones.
3460 * include/bits/basic_string.h (basic_string): Adjust use of
3462 * include/bits/stl_vector.h (_Alloc>): Likewise.
3463 * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
3464 * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
3466 2002-04-15 Benjamin Kosnik <bkoz@redhat.com>
3470 * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
3472 (__basic_file::close): Call fflush. Correct return if fclose ok.
3473 (__basic_file::is_open): Make const.
3474 Change __c_file_type to __c_file.
3475 * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
3476 (__basic_file::is_open): Make const.
3477 * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
3478 * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
3479 (filebuf::_M_unbuf): Add.
3480 (filebuf::_M_file): Change to non-pointer.
3481 (filebuf::_M_allocate_pback_buffer): Remove.
3482 * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
3483 (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
3484 Change initialization list for _M_file change.
3485 (filebuf::_M_allocate_pback_buffer): Remove.
3486 Change _M_file usage to reflect non-pointer data member.
3488 * config/locale/generic/c_locale.cc
3489 (locale::facet::_S_create_c_locale): Add parameter.
3490 * config/locale/generic/collate_members.cc: Change
3491 _M_compare_helper to _M_compare.
3492 Change _M_transform_helper to _M_transform.
3493 * config/locale/generic/monetary_members.cc: Changeup data types.
3495 * config/locale/generic/numeric_members.cc: Add dtors.
3496 * config/locale/generic/time_members.cc: Add dtors.
3497 * config/locale/gnu/c_locale.cc: Add parameter.
3498 * config/locale/gnu/collate_members.cc:Change
3499 _M_compare_helper to _M_compare.
3500 Change _M_transform_helper to _M_transform.
3501 * config/locale/gnu/ctype_members.cc: Better error checking.
3502 * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
3503 * config/locale/gnu/messages_members.cc: Tweak comment.
3504 * config/locale/gnu/monetary_members.cc: Change data types.
3506 * config/locale/gnu/numeric_members.cc: Add dtors, better error
3508 * config/locale/gnu/time_members.cc: Same.
3509 * config/locale/ieee_1003.1-2001/c_locale.cc
3510 (locale::facet::_S_create_c_locale): Add parameter.
3511 * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
3512 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
3515 * include/bits/locale_facets.h (moneypunct): Use string literals.
3518 (__timepunct): Same.
3519 (locale::_Impl::_M_facets): Change from vector to array.
3520 (locale::_Impl::_M_names): Change from array of strings to array
3522 (locale::facet::_S_create_c_locale): Add parameter.
3523 (locale::locale::_S_num_facets): Move to...
3524 (locale::_Impl::_M_facets_size): Here.
3525 * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
3527 * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
3528 (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
3529 (locale::_Impl::_Impl(string, size_t)): Change to
3530 (locale::_Impl::_Impl(const char*, size_t)): This.
3532 * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
3533 * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
3534 (streambuf::_S_pback_size): This.
3536 * src/globals.cc: Add pre-allocations for "C" facets.
3537 * src/locale-inst.cc: Remove vector instantiations.
3538 * src/locale.cc: Remove vector include. Fixups for _M_names,
3540 * src/localename.cc: Same.
3542 * include/bits/stl_vector.h: Fix odd formatting.
3544 * include/bits/basic_string.tcc: Tweak comment.
3546 * libsupc++/new: Make sure parameters are uglified.
3547 * libsupc++/typeinfo: Same.
3549 * testsuite/22_locale/num_get_members_char.cc: Fixup.
3550 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
3551 * testsuite/27_io/filebuf_members.cc: Same.
3553 2002-04-12 Steve Ellcey <sje@cup.hp.com>
3555 * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
3556 (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
3557 does not define strtoll or strtoull, but does define strtol
3558 and strtoul which are the same since in 64 bit mode
3559 sizeof(long) == sizeof(long long).
3561 2002-04-12 Phil Edwards <pme@gcc.gnu.org>
3563 * include/std/std_bitset.h: Doxygenate std::bitset<>. Clean up
3564 trailing spaces, indentation, and macro names. Make exception
3565 messages more informative.
3567 2002-04-11 Richard Henderson <rth@redhat.com>
3569 * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
3570 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
3571 (basic_ostream<>::operator<<(long long)): Same.
3573 2002-04-11 Richard Henderson <rth@redhat.com>
3575 * config/linker-map.gnu: Add __gxx_personality_sj0.
3577 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
3580 * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
3582 Remove forward declaration of vector.
3584 * include/bits/locale_facets.tcc: Remove vector include.
3585 (use_locale): Adjust.
3586 (has_locale): Adjust.
3587 * src/locale.cc: Adjust.
3588 * src/localename.cc: Same.
3590 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
3591 Richard Henderson <rth@redhat.com>
3593 * include/bits/sstream.tcc: Clean up bit ops.
3594 * include/bits/fstream.tcc: Same.
3596 2002-04-09 Jakub Jelinek <jakub@redhat.com>
3598 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
3599 (__num_base::_S_scale_oct): Remove.
3600 * src/locale.cc (__num_base::_S_scale_hex): Remove.
3601 (__num_base::_S_scale_oct): Remove.
3603 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
3606 * testsuite/23_containers/bitset_members.cc: New test.
3607 * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
3608 (_S_bit_count): Here.
3609 (_First_one::_S_first_one): Move...
3610 (_S_first_one): Here.
3612 * src/bitset.cc: Adjust.
3613 * config/linker-map.gnu: Export.
3615 2002-04-08 Benjamin Kosnik <bkoz@redhat.com>
3618 * include/bits/fstream.tcc (filebuf::seekpos): Fix.
3619 * include/std/std_fstream.h: Clean.
3620 * include/bits/ostream.tcc: Remove extraneous variables.
3621 * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
3622 open modes and which modes.
3623 (stringbuf::seekpos): Same.
3624 * testsuite/27_io/stringbuf_virtuals.cc: New tests.
3626 2002-04-05 Jonathan Wakely <jw@kayari.org>
3628 * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
3629 random_shuffle, partition, stable_partition, sort, stable_sort,
3630 partial_sort, partial_sort_copy, nth_element): Doxygenate.
3632 2002-04-05 David S. Miller <davem@redhat.com>
3634 * config/os/gnu-linux/bits/os_defines.h
3635 (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
3637 2002-04-04 Benjamin Kosnik <bkoz@redhat.com>
3640 via gawrilow@math.tu-berlin.de
3641 * acinclude.m4 (version_specific_libs): Fix combo usage with
3642 --with-gxx-include-dir.
3643 * aclocal.m4: Regenerate.
3646 2002-04-03 Benjamin Kosnik <bkoz@redhat.com>
3648 As per DR 184, libstdc++/3139
3649 * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
3650 (numeric_limits<bool>::is_iec559): False.
3651 (numeric_limits<bool>::is_modulo): False.
3653 * testsuite/27_io/ios_init.cc: Add instantiations.
3655 2002-04-02 Benjamin Kosnik <bkoz@redhat.com>
3658 * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
3659 * testsuite/27_io/ios_init.cc (tests04): Add test.
3662 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
3663 (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
3664 * include/bits/basic_ios.tcc: Same. Remove outdated comments.
3665 * include/bits/istream.tcc: Use _M_fctype, make consistent with
3667 * testsuite/27_io/ios_init.cc (tests03): Add test.
3669 2002-04-02 Phil Edwards <pme@gcc.gnu.org>
3671 * include/Makefile.am (install-data-local): Use mkinstalldirs.
3672 * include/Makefile.in: Regenerate.
3674 2002-04-02 Paolo Carlini <pcarlini@unitus.it>
3675 Nathan Myers <ncm@cantrip.org>
3676 Philip Martin <philip@codematters.co.uk>
3678 * include/bits/basic_string.h
3679 (replace(i1, i2, _CharT* k1, _CharT* k2),
3680 replace(i2, i2, const _CharT* k1, const _CharT* k2),
3681 replace(i1, i2, iterator k1, iterator k2,
3682 replace(i1, i2, const_iterator k1, const_iterator k2):
3683 New specializations to optimize for the common cases of
3684 pointers and iterators.
3685 (replace(pos, n1, s, n2)): Tweak.
3686 * include/bits/basic_string.tcc: Tweak comments.
3687 * testsuite/21_strings/replace.cc (test04): New tests.
3689 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
3692 * acinclude: More extensive checks for msgfmt, --enable-nls.
3693 * aclocal.m4: Regenerate.
3694 * configure: Regenerate.
3696 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
3698 * libsupc++/exception (__verbose_terminate_handler): Point to docs.
3699 * docs/doxygen/doxygroups.cc: Doxygen hooks for abi::__cxa_demangle.
3700 * docs/html/18_support/howto.html: Document the demangler.
3701 * docs/html/17_intro/howto.html: And link to it.
3703 * docs/doxygen/mainpage.html: Describe user-vs-maintainer docs.
3704 * docs/doxygen/run_doxygen: Print user-vs-maintainer.
3706 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
3708 * config/linker-map.gnu: Export __verbose_terminate_handler.
3709 * libsupc++/Makefile.am (sources): Add cxa_demangle.c, dyn-string.c.
3710 Make new LTCOMPILE variable, use it in new special build rules.
3711 * libsupc++/Makefile.in: Rebuild.
3712 * src/vterminate.cc (__verbose_terminate_handler): Enable use of
3713 runtime __cxa_demangle.
3715 * docs/html/install.html: Update prereqs and instructions.
3716 * docs/html/19_diagnostics/howto.html: Bring naming for
3717 verbose_terminate_handler into line with reality.
3719 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
3722 * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
3723 (basic_ios::_M_streambuf_state): Move.
3724 * include/bits/ios_base (ios_base): To here.
3725 * include/bits/ios_base.h (ios_base::_S_local_words): To
3727 (ios_base::_M_word_array): To _M_local_word.
3728 (ios_base::_M_words_limit): To _M_word_size.
3729 (ios_base::_M_words): To _M_word.
3731 * include/bits/basic_ios.tcc: Adjust.
3732 * src/ios.cc (ios_base::_M_grow_words): Tweak.
3733 * testsuite/27_io/ios_base_storage.cc: Add tests.
3736 Kenny Simpson <theonetruekenny@yahoo.com>
3737 * include/bits/ios_base.h: Fix.
3739 Richard Henderson <rth@redhat.com>
3740 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
3743 * include/bits/basic_string.h: Tweak formatting.
3745 2002-04-01 Paolo Carlini <pcarlini@unitus.it>
3747 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
3748 (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
3749 By definition, sizeof(char) == 1.
3750 * include/bits/locale_facets.tcc (money_get::do_get,
3751 money_put::do_put): Ditto.
3752 * testsuite/21_strings/inserters_extractors.cc
3755 2002-03-30 Richard Henderson <rth@redhat.com>
3758 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
3759 data out of the exception struct before calling unexpectedHandler.
3761 2002-03-28 Roger Sayle <roger@eyesopen.com>
3763 * include/c_std/std_cmath.h: To prevent problems overloading
3764 g++ builtins, use the double variants from the global namespace
3765 before defining float and long double variants in std::.
3767 2002-03-28 Loren J. Rittle <ljrittle@acm.org>
3769 * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
3771 2002-03-28 Paolo Carlini <pcarlini@unitus.it>
3773 * testsuite/24_iterators/istream_iterator.cc
3774 (test02): New tests.
3776 2002-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3777 Paolo Carlini <pcarlini@unitus.it>
3779 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
3780 (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
3781 fix i_lit_base e_lit_base arrays, making them independent
3782 from the endianness of the platform; tweak UCS4 to UCS-4BE.
3784 2002-03-27 Benjamin Kosnik <bkoz@redhat.com>
3786 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
3787 allocate at least a byte.
3789 * testsuite/18_support/numeric_limits.cc (test_extrema): Make
3791 * testsuite/27_io/streambuf.cc (test07): Fix.
3794 2002-03-27 Phil Edwards <pme@gcc.gnu.org>
3796 * docs/doxygen/Intro.3: Date tweak.
3797 * docs/doxygen/TODO: Update.
3798 * docs/doxygen/doxygroups.cc: Point to tables.html.
3799 * docs/doxygen/mainpage.html: Date tweak.
3800 * docs/doxygen/run_doxygen: Version tweak. Copy tables.html over.
3801 * docs/doxygen/tables.html: Fill in the blanks.
3803 * docs/doxygen/user.cfg.in (ALIASES): Remove maint and endmaint.
3804 * include/bits/stl_algo.h: Likewise; use expanded form.
3805 * include/bits/stl_alloc.h: Likewise.
3806 * include/bits/stl_construct.h: Likewise.
3807 * include/bits/stl_deque.h: Likewise.
3808 * include/bits/stl_iterator_base_types.h: Likewise.
3809 * include/bits/stl_list.h: Likewise.
3810 * include/bits/stl_relops.h: Likewise.
3811 * include/bits/stl_tempbuf.h: Likewise.
3812 * include/bits/stl_vector.h: Likewise.
3813 * include/std/std_memory.h: Likewise.
3815 * include/bits/stl_deque.h: Point into tables.html and add @ingroup.
3816 * include/bits/stl_list.h: Likewise.
3817 * include/bits/stl_vector.h: Likewise.
3819 2002-03-26 Benjamin Kosnik <bkoz@redhat.com>
3821 * include/c/: Guard with _CPP_.
3822 * include/c_std/: Same.
3823 * include/Makefile.am: Fixup install, link routines for null
3824 c_base_headers_extra scenarios.
3825 * include/Makefile.in: Regerate.
3827 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
3828 Richard Henderson <rth@redhat.com>
3830 * testsuite/22_locale/codecvt_members_unicode_char.cc
3831 (test01, test02): make sure that the i_lit_base array
3832 is sufficiently aligned.
3834 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
3836 * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
3839 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
3841 * testsuite/22_locale/collate_byname.cc
3842 (test01): compare the result of collate::compare with
3843 that of collate::transform + string::compare, not with
3844 that of collate::transform + collate::compare; values
3845 returned by collate::compare are normalized, therefore
3848 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
3849 Jakub Jelinek <jakub@redhat.com>
3851 * config/locale/gnu/messages_members.h: Correct conditional.
3852 * config/locale/gnu/messages_members.cc: Same.
3853 * config/locale/gnu/time_members.cc: Same.
3855 2002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3856 Paolo Carlini <pcarlini@unitus.it>
3858 * testsuite/22_locale/codecvt_members_unicode_char.cc
3859 (test01, test02): Fix i_lit_base arrays, making them
3860 independent from the endianness of the platform.
3862 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
3864 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
3865 signbit and __signbit directly.
3866 * aclocal.m4: Regenerate.
3867 * configure: Regenerate.
3868 * config.h.in: Regenerate.
3869 * libmath/Makefile.am: Simplify.
3870 * libmath/Makefile.in: Regenerate.
3871 * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
3873 * include/Makefile.am: Clean up handling of extra "C" header files.
3874 Add hooks for "C" compatibility headers.
3875 * include/Makefile.in: Regenerate.
3877 * include/c/*: Formatting tweaks, cleanups.
3878 * include/c_std/*: Same.
3880 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
3882 * config/locale/gnu/messages_members.h: Add __uselocale bits.
3883 * config/locale/gnu/messages_members.cc: Same.
3884 * config/locale/gnu/time_members.cc: Same.
3886 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
3888 * src/vterminate.cc: Format, -fno-exceptions cleanup.
3890 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3892 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
3893 (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
3894 * aclocal.m4: Regenerate.
3895 * configure: Likewise.
3897 2002-03-19 Paolo Carlini <pcarlini@unitus.it>
3898 Ulrich Drepper <drepper@redhat.com>
3900 * src/locale-inst.cc (__convert_from_v): Add an additional
3901 __size parameter in the declarations.
3902 * include/bits/locale_facets.tcc
3903 (__convert_from_v): When available (that is,
3904 _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
3905 (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
3906 being defined or not, call and use __convert_from_v in the
3908 (num_put::_M_convert_int): Same here.
3909 (money_put::do_put(long double)): Same here.
3911 2002-03-19 Phil Edwards <pme@gcc.gnu.org>
3913 * docs/html/faq/index.html (#3.6): Rewrap and close <a href> tags.
3914 * docs/html/faq/index.txt: Regenerate.
3916 2002-03-19 Steve Ellcey <sje@cup.hp.com>
3918 * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
3919 GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
3920 --enable-libunwind-exceptions is set.
3921 * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
3922 macro to check for libunwind.
3923 * configure: Regenerate.
3924 * src/Makefile.am (libstdc___la_LDFLAGS): Add
3925 LIBUNWIND_FLAG to libstdc link line.
3926 * src/Makefile.in: Regenerate.
3928 2002-03-19 Benjamin Kosnik <bkoz@redhat.com>
3930 * docs/html/faq/index.html: Add OS X workaround.
3931 * docs/html/17_intro/TODO: Update.
3933 2002-03-18 Paolo Carlini <pcarlini@unitus.it>
3935 * include/bits/locale_facets.tcc
3936 (money_put::do_put(long double)): Fix dimensioning of
3937 temporary buffers to avoid risk of overruns.
3938 (money_put::do_put(string)): Same for the buffer used to
3939 add the grouping chars.
3940 * testsuite/22_locale/money_put_members_char.cc: Add test06.
3941 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
3943 * include/bits/locale_facets.tcc
3944 (collate::do_transform): Simplify.
3946 2002-03-18 Phil Edwards <pme@gcc.gnu.org>
3948 * acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform.
3949 * configure.in: Add comments pointing the way for autoconf 2.5x.
3950 * aclocal.m4, config.h.in, configure: Regenerate.
3952 2002-03-18 Philipp Thomas <pthomas@suse.de>
3954 * include/backward/hash_map.h: hash, hashtable, hash_map and
3955 hash_multimap are in namespace __gnu_cxx.
3956 include/backward/hash_set.h: hash, hashtable, hash_set and
3957 hash_multiset are in namespace __gnu_cxx.
3958 include/backward/hashtable.h: hash and hashtable are in
3959 namespace __gnu_cxx.
3960 include/backward/rope.h: char_producer, sequence_buffer,
3961 rope, crope and wrope are in namespace __gnu_cxx.
3962 include/backward/slist.h: slist is in namespace __gnu_cxx.
3963 * testsuite/backward/header_hash_map_h.cc
3964 testsuite/backward/header_hash_set_h.cc
3965 testsuite/backward/header_hashtable_h.cc
3966 testsuite/backward/header_rope_h.cc
3967 testsuite/backward/header_slist_h.cc
3968 testsuite/backward/header_tempbuf_h.cc: New tests for
3969 checking that we're using the correct namespace.
3971 2002-03-17 Jason Merrill <jason@redhat.com>
3974 * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
3975 (check_exception_spec): Call it. Take the thrown pointer.
3976 (__cxa_call_unexpected): Pass it.
3977 (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr.
3979 2002-03-15 Anthony Green <green@redhat.com>
3981 * configure.in: Remove useless is_mingw32.
3982 * configure: Rebuilt.
3984 2002-03-15 Paolo Carlini <pcarlini@unitus.it>
3986 * testsuite/22_locale/collate_members_char.cc
3987 (test01): compare the result of collate::compare with
3988 that of collate::transform + string::compare, not with
3989 that of collate::transform + collate::compare.
3990 (test01): values returned by collate::compare are
3991 normalized, therefore test against +-1.
3992 * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
3994 2002-03-12 Loren Rittle <ljrittle@acm.org>
3996 reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3997 * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
3999 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
4000 Per Liboriussen <liborius@stofanet.dk>
4002 * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
4004 * config/os/gnu-linux/bits/ctype_inline.h: Same.
4006 * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
4008 * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
4009 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
4011 * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
4012 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
4014 * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
4015 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
4017 * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
4019 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
4021 * include/bits/basic_string.tcc (string::_S_construct(_InIter,
4022 _InIter, const _Alloc&, forward_iterator_tag): Check for null.
4023 (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
4024 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
4025 that memory limits are in place.
4026 (test03): Add tests.
4028 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
4030 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
4031 * aclocal.m4: Regenerate.
4032 * config.h.in: Regenerate.
4033 * configure: Regenerate.
4034 * include/c_std/std_cwctype.h: Guard.
4036 2002-03-11 Chris Demetriou <cgd@broadcom.com>
4038 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
4039 whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
4040 * aclocal.m4: Regenerate.
4041 * configure: Regenerate.
4043 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
4045 * include/bits/stl_bvector.h: Fix warning.
4047 2002-03-11 Richard Henderson <rth@redhat.com>
4049 * include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
4051 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
4053 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
4054 New function. Build the list of tests to run in testsuite_files.
4055 * testsuite/libstdc++-v3.dg/dg.exp: Use it.
4057 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
4059 * testsuite/21_strings/capacity.cc: Only explicitly instantiate on
4060 platforms with no weak support.
4061 * testsuite/27_io/ios_init.cc: Likewise.
4063 2002-03-10 Paolo Carlini <pcarlini@unitus.it>
4065 * include/bits/locale_facets.tcc (time_put::do_put):
4066 Consider sizeof(char_type) in allocating the buffer.
4068 * include/bits/locale_facets.tcc (collate::do_tranform):
4069 Remove redundant variable.
4071 2002-03-10 Ulrich Drepper <drepper@redhat.com>
4072 Paolo Carlini <pcarlini@unitus.it>
4074 * config/locale/generic/collate_members.cc
4075 (collate<char,wchar_t>::_M_compare_helper): normalize
4076 values returned by strcoll and wcscoll.
4077 * config/locale/gnu/collate_members.cc
4078 (collate<char,wchar_t>::_M_compare_helper): ditto
4079 for __strcoll_l and __wcscoll_l.
4081 2002-03-10 Anthony Green <green@redhat.com>
4083 * configure.in: Support cross builds to mingw32 target.
4084 * configure: Rebuilt.
4086 2002-03-09 Paolo Carlini <pcarlini@unitus.it>
4088 * include/bits/locale_facets.tcc (collate::do_transform):
4089 Rewrite to fix problems with long transformed strings.
4091 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
4093 * c_locale_generic.cc: Move to...
4094 * generic/c_locale.cc
4095 * c_locale_generic.h: Move to...
4096 * generic/c_locale.h
4097 * codecvt_specializations_generic.h: Move to...
4098 * generic/codecvt_specializations.h
4099 * collate_members_generic.cc: Move to...
4100 * generic/collate_members.cc
4101 * ctype_members_generic.cc: Move to...
4102 * generic/ctype_members.cc
4103 * messages_members_generic.cc: Move to...
4104 * generic/messages_members.cc
4105 * messages_members_generic.h: Move to...
4106 * generic/messages_members.h
4107 * moneypunct_members_generic.cc: Move to...
4108 * generic/monetary_members.cc
4109 * numpunct_members_generic.cc: Move to...
4110 * generic/numeric_members.cc
4111 * time_members_generic.cc: Move to...
4112 * generic/time_members.cc
4113 * c_locale_gnu.cc: Move to...
4115 * c_locale_gnu.h: Move to...
4117 * collate_members_gnu.cc: Move to...
4118 * gnu/collate_members.cc
4119 * ctype_members_gnu.cc: Move to...
4120 * gnu/ctype_members.cc
4121 * messages_members_gnu.cc: Move to...
4122 * gnu/messages_members.cc
4123 * messages_members_gnu.h: Move to...
4124 * gnu/messages_members.h
4125 * moneypunct_members_gnu.cc: Move to...
4126 * gnu/monetary_members.cc
4127 * numpunct_members_gnu.cc: Move to...
4128 * gnu/numeric_members.cc
4129 * time_members_gnu.cc: Move to...
4130 * gnu/time_members.cc
4131 * c_locale_ieee_1003.1-200x.cc: Move to...
4132 * ieee_1003.1-2001/c_locale.cc
4133 * c_locale_ieee_1003.1-200x.h: Move to...
4134 * ieee_1003.1-2001/c_locale.h
4135 * codecvt_specializations_ieee_1003.1-200x.h: Move to...
4136 * ieee_1003.1-2001/codecvt_specializations.h
4137 * messages_members_ieee_1003.1-200x.cc: Move to...
4138 * ieee_1003.1-2001/messages_members.cc
4139 * messages_members_ieee_1003.1-200x.h: Move to...
4140 * ieee_1003.1-2001/messages_members.h
4142 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
4143 * aclocal.m4: Regenerate.
4144 * configure: Regenerate.
4145 * src/Makefile.am (sources): Change to monetary and numeric.
4146 * src/Makefile.in: Regenerate.
4147 * docs/html/configopts.html: Update to ieee_1003.1-2001.
4149 2002-03-08 scott snyder <snyder@fnal.gov>
4152 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
4153 Allow one more digit of precision.
4154 * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
4155 write a double and read back in the same value.
4157 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
4159 * include/std/std_limits.h: Move static const data members out of
4160 generic template, into base class __numeric_limits_base.
4161 * src/limits.cc: Add definitions.
4162 * config/linker-map.gnu: Add __numeric_limits_base.
4163 * testsuite/18_support/numeric_limits.cc: Declare test in scope.
4165 2002-03-07 Benjamin Kosnik <bkoz@redhat.com>
4167 * include/bits/stl_alloc.h: Add extern implicit allocator
4169 * include/bits/basic_string.tcc: Tweak.
4170 * include/bits/locale_facets.tcc: Remove default args. Add
4171 has_facet, use_facet extern instantiations.
4172 * src/stl-inst.cc: Add explicit instantiation.
4173 * src/locale-inst.cc: Clean. Remove locale member template
4176 * testsuite/22_locale/operators.cc (test02): Enable.
4178 2002-03-06 Benjamin Kosnik <bkoz@redhat.com>
4179 Stephen M. Webb <stephen.webb@bregmasoft.com>
4181 * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
4182 (_S_rb_tree_black): Make enum.
4184 * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
4185 * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
4186 (__stl_threshold): _M_threshold, enum.
4187 * src/stl-inst.cc: Same.
4188 * config/linker-map.gnu: Remove.
4190 * testsuite/23_containers/vector_bool.cc: New.
4192 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
4194 * docs/doxygen/user.cfg.in: Also document deprecated entries.
4195 * docs/html/Makefile: Example rule to rebuild porting-howto.html.
4196 * docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when
4197 referring to the collection as a whole. New section on which macros
4198 can be redefined by the user.
4199 * docs/html/19_diagnostics/howto.html: Update note for concepts.
4200 * docs/html/20_util/howto.html: Update link to SGI.
4201 * docs/html/faq/index.html: Update snapshot versions. New entry
4202 on why g++ (but not gcc) must currently predefine certain macros.
4203 * docs/html/faq/index.txt: Regenerated.
4205 * include/bits/basic_string.h (basic_string::_S_construct): Fix
4206 names in declaration.
4207 (basic_string::compare): These are no longer optional.
4208 * include/bits/ostream.tcc: Tweak closing brace placement.
4209 * include/bits/stl_algo.h: Lots of initial doxygen comment hooks.
4210 * include/std/std_sstream.h: Fix typo in comment.
4211 * include/bits/locale_facets.tcc: Remove unneeded header inclusion.
4212 * src/locale.cc: Likewise.
4214 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
4217 * include/bits/stl_vector.h (vector::push_back()): Guard with
4218 _GLIBCPP_DEPRECATED.
4220 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
4222 * include/bits/c++config: Fix misplaced leading blanks on first line.
4224 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
4226 * docs/html/17_intro/RELEASE-NOTES: Fix usage.
4227 * README (libmath): Make clear.
4229 2002-03-05 Jakub Jelinek <jakub@redhat.com>
4231 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
4232 script globbing in ld.
4233 * aclocal.m4: Rebuilt.
4234 * configure: Rebuilt.
4236 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
4238 * docs/html/17_intro/RELEASE-NOTES: Update.
4239 * README: Format subdirectories.
4241 2002-03-05 Paolo Carlini <pcarlini@unitus.it>
4244 * include/bits/locale_facets.tcc
4245 (num_get::_M_extract_float): Fix the parsing of __dec, since
4246 the standard prescribes that if no grouping characters are
4247 seen, no grouping check is applied.
4248 * testsuite/22_locale/num_get_members_char.cc: Add test05
4249 distilled from the PR.
4250 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
4252 2002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
4254 * docs/html/17_intro/porting-howto.xml: Refer to
4255 http://www.oasis-open.org for docbookx.dtd.
4256 * docs/html/17_intro/porting-howto.html: Regenerated.
4258 2002-03-03 Phil Edwards <pme@gcc.gnu.org>
4261 * include/std/std_sstream.h: Remove trailing spaces.
4262 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
4263 * testsuite/27_io/stringbuf.cc (test05, test06): New tests.
4265 2002-03-02 Paolo Carlini <pcarlini@unitus.it>
4267 * testsuite/22_locale/num_get_members_char.cc (test04):
4268 Use a named locale expecting grouping (de_DE).
4269 * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
4271 * testsuite/27_io/ios_manip_basefield.cc (test01):
4272 Extend coverage, uniform treatment of hexs and octs.
4274 2002-02-28 Richard Henderson <rth@redhat.com>
4276 * config/linker-map.gnu: Export operator new with unsigned long,
4277 and with std::nothrow_t. Likewise operator delete.
4279 2002-02-28 Paolo Carlini <pcarlini@unitus.it>
4281 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
4282 Admit grouping for octals and hexadecimals too.
4283 * testsuite/22_locale/num_get_members_char.cc: Add test04.
4284 (test01): Tweak "." -> "," in void* test.
4285 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
4287 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
4288 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
4290 2002-02-27 Paolo Carlini <pcarlini@unitus.it>
4292 * testsuite/27_io/ios_manip_basefield.cc (test01):
4293 Fix for 64 bit machines.
4295 2002-02-26 Benjamin Kosnik <bkoz@redhat.com>
4298 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
4300 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
4301 (basic_ios::_M_fill_init): New.
4302 (basic_ios::fill()): Delay dealing with _M_fill.
4304 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
4305 (ios_base::_M_call_callbacks): Adjust.
4306 * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
4308 2002-02-26 Loren Rittle <ljrittle@acm.org>
4310 * include/Makefile.am (thread_target_headers): Unconditionally
4311 stage and install gthr-posix.h.
4312 (${target_builddir}/gthr-posix.h): New rule cloned off
4313 ${target_builddir}/gthr-default.h.
4314 (${target_builddir}/gthr-default.h): Support chained inclusion
4315 of gthr support headers.
4316 * include/Makefile.in: Rebuilt.
4318 2002-02-26 Paolo Carlini <pcarlini@unitus.it>
4320 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
4321 Group all the integral types, not only decs.
4322 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
4323 tests, add a few more.
4325 2002-02-25 Benjamin Kosnik <bkoz@redhat.com>
4327 * src/ios.cc (ios_base::~ios_base): Tweak.
4328 (ios_base::_M_call_callbacks): Deal with null __p.
4329 (ios_base::ios_base): Set _M_callbacks.
4330 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
4331 * testsuite/27_io/ios_init.cc (test02): Fix.
4333 * mkcheck.in (static_fail): Failed links go to output file.
4335 2002-02-25 Phil Edwards <pme@gcc.gnu.org>
4337 * docs/html/faq/index.html: Update.
4338 * docs/html/faq/index.txt: Regenerate.
4340 2002-02-22 Phil Edwards <pme@gcc.gnu.org>
4342 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
4343 * aclocal.m4: Regenerate.
4344 * docs/html/configopts.html: Document --enable-symvers.
4345 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag.
4347 2002-02-22 Philipp Thomas <pthomas@suse.de>
4349 * include/backward/tempbuf.h: get_temporary_buffer and
4350 return_temporary_buffer are in namespace std, not in __gnu_cxx.
4352 2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
4354 * configure.in (target_alias): Default to yes.
4355 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
4356 libgcc to default case.
4358 2002-02-20 Phil Edwards <pme@gcc.gnu.org>
4360 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
4361 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
4362 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
4363 * aclocal.m4: Regenerate.
4364 * configure: Regenerate.
4365 * config/linker-map.dummy: New file. Contains nothing useful.
4367 2002-02-20 Benjamin Kosnik <bkoz@redhat.com>
4369 * testsuite/22_locale/money_put_members_char.cc: Fix.
4370 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
4372 * testsuite/27_io/standard_manipulators.cc: New file.
4374 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
4375 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
4377 2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
4379 * config/os/mingw32/bits/ctype_noninline.h
4380 (ctype<char>::ctype): Remove default args from parm list.
4381 * config/os/djgpp/bits/ctype_noninline.h: Same.
4383 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
4385 * include/std/std_iomanip.h: Inline, tweaks.
4386 * config/linker-map.gnu: Remove hacks.
4388 * testsuite/21_strings/capacity.cc: Add explicit instantiations.
4389 * testsuite/27_io/ios_init.cc: Same.
4390 * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
4391 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
4393 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
4395 * config/linker-map.gnu: Export global vtable, typeinfo, guard
4396 variable, and thunk info as per CXXABI docs.
4398 2002-02-19 Loren Rittle <ljrittle@acm.org>
4400 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
4401 * include/Makefile.in: Rebuilt.
4403 2002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4405 * testsuite/22_locale/collate_byname.cc (test01): Replace size4
4406 with size3 for the string collations of str5.
4408 2002-02-18 Paolo Carlini <pcarlini@unitus.it>
4411 * include/bits/locale_facets.tcc (money_put::do_put):
4412 For the space field use __fill instead of ' ', uniformly.
4413 * testsuite/22_locale/money_put_members_char.cc:
4414 Add test05 distilled from PR.
4415 (test01-02-03): Trim some '*' to ' '.
4416 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
4418 2002-02-18 Loren Rittle <ljrittle@acm.org>
4421 * include/Makefile.am (thread_builddir): Remove (map all
4422 existing uses to target_builddir).
4423 (thread_headers): Rename to...
4424 (thread_target_headers): ...this.
4425 (stamp-thread): Remove.
4426 (stamp-target): Correctly state the position as built.
4427 Update all dependencies to match the new reality. Remove all
4428 dependency calculations on directories.
4429 * include/Makefile.in: Rebuilt.
4431 2002-02-16 Benjamin Kosnik <bkoz@redhat.com>
4433 * include/bits/locale_facets.tcc: Add pragma GCC system_header.
4434 * include/bits/fstream.tcc: Same.
4435 * include/bits/sstream.tcc: Same.
4436 * include/bits/ostream.tcc: Same.
4437 * include/bits/istream.tcc: Same.
4438 * include/bits/streambuf.tcc: Same.
4439 * include/bits/basic_ios.tcc: Same.
4440 * include/bits/basic_string.tcc: Same.
4442 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
4444 * include/std/std_iosfwd.h: Don't guard typedefs with
4445 _GLIBCPP_USE_WCHAR_T
4446 * include/bits/stringfwd.h: Same.
4448 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
4450 * src/locale.cc (moneypunct_byname): Remove definitions.
4451 * include/std/std_streambuf.h (streambuf::operator=): Return.
4453 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
4456 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
4457 explicit instantiation.
4458 (string::_Rep::_S_max_size): Same.
4459 * include/bits/basic_string.tcc: Add extern explicit
4460 instantiations for string, wstring.
4461 * include/bits/basic_ios.tcc: Add extern explicit instantiations
4463 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
4464 * include/bits/istream.tcc: Same, for istream, wistream.
4465 * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
4467 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
4468 istringstream, wistringstream, ostringstream, wostringstream,
4469 stringstream, wstringstream.
4470 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
4471 wifstream, ofstream, wofstream, fstream, wfstream.
4472 * src/misc-inst.cc: Correct comments.
4473 Add iomanip instantiations for wide streams.
4474 * include/std/std_iomanip.h: Same.
4475 * include/bits/locale_facets.tcc: Same.
4477 * include/std/std_streambuf.h: Correct
4478 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
4479 * include/std/std_sstream.h: Same.
4480 * include/std/std_ostream.h: Same.
4481 * include/std/std_istream.h: Same.
4482 * include/std/std_fstream.h: Same.
4484 * include/std/std_streambuf.h: Add definitions for private copy
4485 ctor and assignment operator.
4486 * include/std/std_istream.h: Remove declared but undefined copy
4487 ctor and assignment operator. This is taken care of in ios_base,
4488 so adding it in the derived class as well is superfluous.
4489 * include/std/std_ostream.h: Same.
4491 * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
4492 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
4494 2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
4496 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
4497 Add typeinfo bits. Smooth.
4498 * aclocal.m4: Regenerate.
4500 * src/Makefile.in: Same.
4502 2001-02-14 Joel Sherrill <joel@OARcorp.com>
4504 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
4505 which do not have a CAS instruction.
4507 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
4509 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
4510 * configure.in: Call it.
4511 * config/linker-map.gnu: New file, initial incomplete revision.
4512 * src/Makefile.am: Optionally pass version script to the linker.
4513 * aclocal.m4: Regenerate.
4514 * configure: Regenerate.
4515 * src/Makefile.in: Regenerate.
4517 2002-02-13 Benjamin Kosnik <bkoz@redhat.com>
4519 * src/localename.cc: Remove stdexcept include.
4520 * src/locale-inst.cc: Same.
4521 * src/locale.cc: Same.
4522 * src/functexcept.cc: Remove string includes.
4523 * include/std/std_bitset.h: Remove stdexcept include.
4524 * testsuite/23_containers/bitset_members.cc: Add stdexcept.
4525 * testsuite/23_containers/bitset_ctor.cc: Same.
4527 2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
4529 * include/bits/stl_algo (__stl_threshold): Declare external.
4530 (__stl_chunk_size): Same.
4531 * include/bits/stl_bvector.h (__WORD_BIT): Same.
4532 * include/bits/stl_tree.h (_S_rb_tree_red): Same.
4533 (_S_rb_tree_black): Same.
4534 * src/stl-inst.cc (__stl_threshold): Define.
4535 (__stl_chunk_size): Same.
4537 (_S_rb_tree_red): Same.
4538 (_S_rb_tree_black): Same.
4540 * config/io/basic_file_libio.h (__basic_file): Add declarations.
4541 * include/bits/basic_file.h: Remove.
4542 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
4543 Declare generic types, specialization.
4544 * config/io/basic_file_stdio.cc: Definitions.
4545 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
4546 Declare generic types.
4547 * include/Makefile.am (bits_headers): Remove basic_file.h.
4548 (extra_target_headers): Change basic_file_model.h to basic_file.h.
4549 (stamp-target): Same.
4551 * include/bits/stl_alloc.h: Tweaks.
4552 * include/bits/localefwd.h: Same.
4554 2002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
4556 * include/bits/locale_facets.tcc (collate::do_hash): Fix.
4557 * testsuite/22_locale/collate_members_char.cc (test03): New test.
4558 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
4560 2002-02-10 Phil Edwards <pme@gcc.gnu.org>
4562 * include/bits/stl_algo.h (transform (both signatures), generate_n):
4563 Use __typeof__ in concept checks.
4565 2002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
4567 * include/bits/stl_algo.h (__median, for_each, find, find_if,
4568 adjacent_find, count, count_if, search, search_n, swap_ranges,
4569 transform, replace, replace_if, replace_copy, replace_copy_if,
4570 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
4571 unique, unique_copy, reverse, reverse_copy): Doxygenate.
4573 2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
4575 * include/bits/locale_facets.h
4576 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
4577 (__timepunct<_CharT>::_M_initialize_timepunct): Same.
4578 (__timepunct<_CharT>::_M_put_helper): Same.
4579 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
4581 * include/bits/fstream.tcc (filebuf::underflow): Remove
4582 __codecvt_type typedef.
4583 (filebuf::_M_convert_to_external): Same.
4585 2002-02-08 Phil Edwards <pme@gcc.gnu.org>
4587 * docs/doxygen/TODO: Update.
4588 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
4589 * docs/doxygen/mainpage.html: Add TODO list link.
4590 * docs/doxygen/user.cfg.in: Add @doctodo hook.
4591 * docs/doxygen/tables.html: New file, emoty structure only.
4593 * include/bits/stl_iterator.h: Doxygenate just about everything.
4594 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
4595 * include/bits/stl_iterator_base_types.h: Add notes.
4597 2002-02-07 Stephan Buys <sbproxy@icon.co.za>
4599 * include/bits/stl_map.h: Tweak doxygen markup.
4600 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
4601 * include/bits/stl_vector.h: Likewise.
4603 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
4607 * include/std/std_fstream.h (filebuf::__file_type): Change to
4609 (filebuf::_M_convert_to_external): Declare.
4610 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
4611 codecvt bits for wide streams.
4612 (filebuf::_M_really_overflow): Use it.
4613 (filebuf::underflow): Use codecvt.
4614 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
4615 (codecvt<__enc_traits>::do_out): Deal with partial.
4616 (codecvt<__enc_traits>::do_encoding): Return something useful.
4617 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
4619 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
4620 Change expected encoding output.
4622 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
4625 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
4626 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
4628 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
4629 (basic_ios::widen): Same.
4631 2002-02-07 Paolo Carlini <pcarlini@unitus.it>
4633 * testsuite/22_locale/money_get_members_char.cc:
4634 Add comment, tidy up.
4635 (test01): more "en_HK" tests (without showbase).
4636 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
4638 2002-02-06 Loren Rittle <ljrittle@acm.org>
4640 * config/locale/c_locale_generic.cc: Do not trust
4641 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
4644 2002-02-06 Loren Rittle <ljrittle@acm.org>
4646 * acinclude.m4: Add C++ linkage check for strtof.
4647 * aclocal.m4: Rebuilt.
4648 * config.h.in: Rebuilt.
4649 * configure: Rebuilt.
4650 * config/locale/c_locale_generic.cc: Conditionally include
4651 <ieeefp.h>. Improve handling and error checking of float
4652 and long double input for non-C99 configurations.
4654 2002-02-06 Paolo Carlini <pcarlini@unitus.it>
4656 * include/bits/locale_facets.tcc (money_get::do_get(string)):
4657 In case money_base::symbol deal properly with multi-char sign
4658 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
4659 * testsuite/22_locale/money_get_members_char.cc: Add test07.
4660 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
4662 2002-02-05 Paolo Carlini <pcarlini@unitus.it>
4664 * include/bits/locale_facets.tcc (money_get::do_get(string)):
4665 First construct a tentative returned string, then, only if the
4666 parsing succeeds, copy it into the string passed by reference.
4667 * testsuite/22_locale/money_get_members_char.cc: Add test06.
4668 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
4670 2002-02-04 Phil Edwards <pme@gcc.gnu.org>
4672 * docs/doxygen/TODO: Impl-defined behavior now documented...
4673 * docs/html/17_intro/howto.html: ...here.
4674 * docs/doxygen/mainpage.doxy: Remove, rename...
4675 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
4676 * docs/doxygen/style.css: Add small text.
4677 * docs/doxygen/run_doxygen: Adjust for new mainpage.
4678 * docs/doxygen/user.cfg.in: Likewise.
4680 2002-02-04 Stephan Buys <sbproxy@icon.co.za>
4682 * include/bits/stl_map.h: Initial doxygen markup.
4683 * include/std/std_fstream.h: Initial doxygen markup.
4685 2002-02-04 Paolo Carlini <pcarlini@unitus.it>
4688 * include/bits/locale_facets.tcc (money_get::do_get(string)):
4689 Deal correctly with !(__io.flags() & ios_base::showbase)
4690 for case money_base::symbol.
4691 * testsuite/22_locale/money_get_members_char.cc: Add test05.
4692 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
4694 2002-02-02 Paolo Carlini <pcarlini@unitus.it>
4696 * testsuite/22_locale/operators.cc
4697 (gnu_collate::do_compare()): Add return statement to
4698 suppress "no return statement" warning.
4700 2002-02-01 Paolo Carlini <pcarlini@unitus.it>
4702 * testsuite/27_io/ostream_manip.cc: Enable test02.
4704 2002-02-01 Phil Edwards <pme@gcc.gnu.org>
4706 * docs/html/documentation.html: Update for 3.0.96.
4707 * docs/html/faq/index.html: Update for 3.0.96.
4708 * docs/html/faq/index.txt: Regenerated.
4709 * docs/doxygen/TODO: Update notes.
4710 * docs/html/17_intro/howto.html: Initial impl-specific listing.
4712 2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
4714 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
4715 Initialize all data members in copy ctor. Make ctors explicit.
4716 (__enc_traits::__enc_traits()): Default ctor does nothing.
4717 (__enc_traits::_M_init): Guard against multiple iconv_opens.
4718 * include/std/std_sstream.h (basic_stringbuf): Make data members
4720 * include/std/std_fstream.h (basic_filebuf): Same.
4721 * include/std/std_streambuf.h: Tweak.
4722 * include/bits/streambuf.tcc: Same.
4723 * include/bits/sstream.tcc: Same.
4724 * include/bits/fstream.tcc: Same.
4726 2002-01-31 Loren Rittle <ljrittle@acm.org>
4728 * testsuite/22_locale/codecvt_members_char_char.cc: Do not
4729 allow NULL argument to be passed to setenv().
4730 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
4731 * testsuite/22_locale/collate_members_char.cc: Likewise.
4732 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
4733 * testsuite/22_locale/ctype_members_char.cc: Likewise.
4734 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
4735 * testsuite/22_locale/messages_members_char.cc: Likewise.
4736 * testsuite/22_locale/money_get_members_char.cc: Likewise.
4737 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
4738 * testsuite/22_locale/money_put_members_char.cc: Likewise.
4739 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
4740 * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
4741 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
4742 * testsuite/22_locale/num_get_members_char.cc: Likewise.
4743 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
4744 * testsuite/22_locale/num_put_members_char.cc: Likewise.
4745 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
4746 * testsuite/22_locale/numpunct_members_char.cc: Likewise.
4747 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
4748 * testsuite/22_locale/time_get_members_char.cc: Likewise.
4749 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
4750 * testsuite/22_locale/time_put_members_char.cc: Likewise.
4751 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
4753 2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
4755 * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
4757 * ChangeLog-2001: Fix spelling errors...
4758 * docs/html/17_intro/RELEASE-NOTES: Update.
4759 * docs/html/17_intro/TODO: Update.
4760 * README (file): Update.
4762 2002-01-30 Loren Rittle <ljrittle@acm.org>
4764 * config/locale/c_locale_generic.cc: Check errno for ERANGE
4765 instead of non-zero to aid portability.
4767 2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4769 * docs/html/22_locale/messages.html: Fix example code.
4771 2002-01-30 Richard Henderson <rth@redhat.com>
4773 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
4774 out from test03 and templatize.
4777 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
4779 * config/locale/numpunct_members_gnu.cc
4780 (numpunct<char, wchar_t>::_M_initialize_numpunct()):
4781 Fix initialization of _M_grouping for locales which have
4782 _M_thousands_sep == '\0'(L'\0', respectively).
4783 * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
4785 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
4787 * testsuite/27_io/ostream_inserter_arith.cc (test03):
4788 Better fix for 32/64 bit architectures, avoiding the
4789 implicit assumption that CHAR_BIT == 8.
4791 2002-01-28 Phil Edwards <pme@gcc.gnu.org>
4793 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
4794 * Makefile.in: Regenerate.
4796 * docs/doxygen/run_doxygen: Update, mostly for man pages.
4797 * docs/doxygen/Intro.3: Update.
4798 * docs/doxygen/TODO: Update.
4799 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
4800 * docs/doxygen/mainpage.doxy: Update.
4801 * docs/doxygen/user.cfg.in: Update for header rename. Also
4802 regenerate comments and variables with 1.2.12.
4803 * docs/doxygen/maint.cfg.in: Remove file.
4805 * include/bits/stl_relops.h: Doxygenate.
4806 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
4808 * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
4809 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
4810 include/c_std/std_ciso646.h, include/c_std/std_climits.h,
4811 include/c_std/std_clocale.h, include/c_std/std_cmath.h,
4812 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
4813 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
4814 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
4815 include/c_std/std_cstring.h, include/c_std/std_ctime.h,
4816 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
4817 include/ext/algorithm, include/ext/functional, include/ext/hash_map,
4818 include/ext/hash_set, include/ext/iterator, include/ext/memory,
4819 include/ext/numeric, include/ext/rb_tree, include/ext/rope,
4820 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
4821 include/ext/stl_hashtable.h, include/ext/stl_rope.h,
4822 include/std/std_algorithm.h, include/std/std_bitset.h,
4823 include/std/std_complex.h, include/std/std_deque.h,
4824 include/std/std_fstream.h, include/std/std_functional.h,
4825 include/std/std_iomanip.h, include/std/std_ios.h,
4826 include/std/std_iosfwd.h, include/std/std_iostream.h,
4827 include/std/std_istream.h, include/std/std_iterator.h,
4828 include/std/std_limits.h, include/std/std_list.h,
4829 include/std/std_locale.h, include/std/std_map.h,
4830 include/std/std_memory.h, include/std/std_numeric.h,
4831 include/std/std_ostream.h, include/std/std_queue.h,
4832 include/std/std_set.h, include/std/std_sstream.h,
4833 include/std/std_stack.h, include/std/std_stdexcept.h,
4834 include/std/std_streambuf.h, include/std/std_string.h,
4835 include/std/std_utility.h, include/std/std_valarray.h,
4836 include/std/std_vector.h: Add/correct @file doxygen hook.
4838 * include/ext/memory: Doxygenate most of rest of file.
4839 * libsupc++/exception: Doxygen output formatting.
4840 * libsupc++/new: Say which header it is.
4842 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
4843 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
4844 * docs/html/23_containers/howto.html: Describe O(n) list::size().
4845 * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
4847 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
4848 Charles Leggett <CGLeggett@lbl.gov>
4850 * testsuite/27_io/filebuf_members.cc (test_05): Add test.
4852 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
4854 * testsuite/27_io/ostream_inserter_arith.cc (test03):
4855 Fix to deal correctly with both 32 bit and 64 bit architectures
4857 2002-01-25 Loren Rittle <ljrittle@acm.org>
4859 * testsuite/thread/pthread1.cc: Use one condition variable
4860 per predicate instead of tricky use of one condition variable.
4862 2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
4864 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
4866 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
4867 * testsuite/27_io/filebuf.cc: Compile only.
4868 * testsuite/27_io/filebuf_members.cc: Move tests to here.
4869 * testsuite/27_io/filebuf_virtuals.cc: And here.
4870 Revert sungetc, sync changes for expected values.
4871 * testsuite/27_io/filebuf-*: Move to...
4872 * testsuite/27_io/filebuf_virtuals-*: ...here.
4873 * testsuite/27_io/istream.cc: Compile only, activate.
4874 * testsuite/27_io/ostream.cc: Same.
4875 * testsuite/27_io/iostream.cc: New.
4876 * testsuite/27_io/iostream_members.cc: New.
4878 2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
4880 * testsuite/thread/pthread1.cc: Enable on cygwin.
4881 * testsuite/thread/pthread2.cc: Likewise.
4882 * testsuite/thread/pthread3.cc: Likewise.
4883 * testsuite/thread/pthread4.cc: Likewise.
4884 * testsuite/thread/pthread5.cc: Likewise.
4885 * testsuite/thread/pthread6.cc: Likewise.
4887 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
4889 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
4891 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
4893 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
4895 (basic_ios::fill(char_type)): Use fill().
4896 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
4897 (basic_ios::narrow): Same.
4898 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
4899 if they are invalid.
4900 (basic_ios::init): Comment.
4901 * testsuite/27_io/ios_init.cc (test02): New.
4903 2002-01-24 Phil Edwards <pme@gcc.gnu.org>
4905 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
4906 * include/bits/stl_algo.h: Include stl_tempbuf.h.
4907 * include/ext/memory: Do not include stl_tempbuf.h.
4908 (temporary_buffer): Add doxygen hook.
4909 (__get_temporary_buffer, get_temporary_buffer,
4910 return_temporary_buffer): Move back to std:: header...
4911 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
4912 * include/ext/rope: Do not include stl_tempbuf.h.
4913 * include/ext/stl_hashtable.h: Likewise.
4914 * include/std/std_algorithm.h: Likewise.
4915 * testsuite/20_util/temporary_buffer.cc: New file.
4917 2002-01-24 andrew@andypo.net
4918 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
4921 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
4922 * include/bits/localefwd.h: Likewise.
4923 Also use for std::locale::id::_S_highwater.
4924 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
4925 * src/locale.cc: Support new usage of _Atomic_word.
4926 (std::locale::classic): Guard entire function against reentry.
4927 * src/localename.cc: Support new usage of _Atomic_word.
4929 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
4931 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
4932 _GLIBCPP_HAVE_SETENV.
4933 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
4934 * testsuite/22_locale/collate_members_char.cc (test02): Same.
4935 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
4936 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
4937 * testsuite/22_locale/messages_members_char.cc (test02): Same.
4938 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
4939 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
4940 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
4941 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
4942 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
4943 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
4944 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
4945 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
4946 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
4947 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
4948 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
4949 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
4950 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
4951 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
4952 * aclocal.m4: Regenerate.
4953 * configure: Regenerate.
4954 * config.h.in: Regenerate.
4956 2002-01-23 Loren Rittle <ljrittle@acm.org>
4958 * testsuite/thread/pthread1.cc: New test.
4959 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
4960 * testsuite/thread/pthread3.cc: Likewise.
4961 * testsuite/thread/pthread4.cc: New test adapted from
4962 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
4963 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
4964 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
4966 2002-01-23 Richard Henderson <rth@redhat.com>
4969 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
4970 CAS on the cpu variants that support it. Add versions that use
4971 TAS and that disable interrupts.
4972 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
4974 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
4976 * include/bits/locale_facets.tcc: Remove old comments.
4978 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
4980 * include/bits/locale_facets.tcc (__convert_to_v): Change template
4982 (__convert_from_v): Same.
4984 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
4986 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
4988 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
4989 __max_digits checks, adjust arguments.
4990 (num_get::do_get(*)): Changeup.
4992 2002-01-23 Loren Rittle <ljrittle@acm.org>
4994 * config/locale/c_locale_generic.cc: Fix typename usage.
4996 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
4998 * config/locale/c_locale_generic.cc: Fix.
5000 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
5002 * docs/html/22_locale/messages.html: Remove angle brackets.
5003 * docs/html/17_intro/TODO: Add.
5005 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
5007 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
5008 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
5009 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
5010 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
5012 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
5014 Audit for LANG independence.
5015 * include/bits/localefwd.h: Tweaks.
5016 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
5018 (time_get::do_get_year): Same.
5019 (__convert_from_v): Add.
5020 (num_put::_M_convert_float): Use.
5021 (num_put::_M_convert_int): Same.
5022 (money_put::do_put): Same.
5024 * src/locale-inst.cc: Add instantiations for __convert_from_v.
5025 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
5026 * config/locale/time_members_generic.cc:
5027 * config/locale/messages_members_gnu.cc: Same.
5028 * config/locale/messages_members_gnu.h: Same.
5030 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
5031 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
5032 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
5033 * testsuite/22_locale/collate_members_char.cc (test02): New.
5034 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
5035 * testsuite/22_locale/ctype_members_char.cc (test03): New.
5036 * testsuite/22_locale/messages_members_char.cc (test02): New.
5037 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
5038 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
5039 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
5040 * testsuite/22_locale/money_get_members_char.cc (test04): New.
5041 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
5042 * testsuite/22_locale/money_put_members_char.cc (test04): New.
5043 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
5044 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
5045 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
5046 * testsuite/22_locale/time_put_members_char.cc (test03): New.
5047 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
5048 * testsuite/22_locale/time_get_members_char.cc (test07): New.
5049 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
5050 * testsuite/22_locale/num_get_members_char.cc (test03): New.
5051 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
5052 * testsuite/22_locale/num_put_members_char.cc (test03): New.
5054 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
5056 * testsuite/22_locale/time_get_members_char.cc: Same.
5058 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
5061 * include/bits/localefwd.h: Tweak comments.
5062 * include/bits/locale_facets.h (__convert_to_v): Add.
5063 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
5064 (num_get::do_get(float)): Same.
5065 (num_get::do_get(long double)): Same.
5066 (num_get::do_get(bool)): Same.
5067 (num_get::do_get(long)): Same.
5068 (num_get::do_get(long long)): Same.
5069 (num_get::do_get(unsigned int)): Same.
5070 (num_get::do_get(unsigned short)): Same.
5071 (num_get::do_get(unsigned long)): Same.
5072 (num_get::do_get(unsigned long long)): Same.
5073 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
5074 * config/locale/c_locale_generic.cc: Same.
5076 2002-01-22 Loren Rittle <ljrittle@acm.org>
5078 * include/Makefile.am (c_base_builddir): Remove redundant slash.
5079 (std_builddir): Likewise.
5080 (std_headers_rename): Fix cut-n-paste typo.
5081 (install-data-local): Concat path per element instead of once to
5082 first element of list.
5083 * include/Makefile.in: Rebuilt.
5085 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
5087 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
5088 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
5089 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
5091 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
5093 * include/bits/locale_facets.h (ctype<char>::classic_table):
5095 (ctype<char>::_S_ctable): Remove.
5096 * config/os/gnu-linux/bits/ctype_noninline.h
5097 (ctype<char>::_S_table): Remove definition.
5098 (ctype<char>::classic_table): Define.
5099 (ctype<char>::ctype): Replace _S_ctable with classic_table().
5100 * config/os/aix/bits/ctype_noninline.h: Same.
5101 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
5102 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
5103 * config/os/djgpp/bits/ctype_noninline.h: Same.
5104 * config/os/generic/bits/ctype_noninline.h: Same.
5105 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
5106 * config/os/hpux/bits/ctype_noninline.h: Same.
5107 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
5108 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
5109 * config/os/mingw32/bits/ctype_noninline.h: Same.
5110 * config/os/newlib/bits/ctype_noninline.h: Same.
5111 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
5112 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
5113 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
5115 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
5117 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
5118 of _pctype. Use to define _S_ctable. Add definition for alternate
5119 ctor. Initialise _M_ctable to _S_ctable in ctors.
5120 (do_toupper, do_tolower): Use inline code appropriate for C-locale
5121 rather than ::toupper, ::tolower.
5123 2002-01-18 Loren Rittle <ljrittle@acm.org>
5125 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
5126 Add specialization for FreeBSD systems only to avoid losing test
5127 only due to extra precision unmentioned in system headers.
5129 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
5131 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
5133 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
5135 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
5136 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
5138 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5140 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
5142 2002-01-17 David Edelsohn <edelsohn@gnu.org>
5144 * configure.target: Define OPT_LDFLAGS for AIX case.
5146 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5148 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
5149 __glibcpp_double_has_quiet_NaN): Correct mispelling.
5151 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
5153 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
5155 2002-01-16 David Edelsohn <dje@watson.ibm.com>
5157 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
5158 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
5159 * aclocal.m4: Regenerate.
5160 * configure: Regenerate.
5162 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
5164 * include/Makefile.am (c_base_headers_rename): New.
5165 (c_base_headers_extra): New.
5166 (stamp-c_base): Modify.
5167 (install-data-local): Use both.
5168 * include/Makefile.in: Regenerate.
5169 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
5170 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
5171 cstdio ctime cwctype]: Move to..
5172 * include/c/std_*: Here.
5173 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
5174 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
5175 cstdio ctime cwctype]: Move to..
5176 * include/c_std/std_*: Here.
5178 Alexandre Oliva <aoliva@redhat.com>
5179 * include/Makefile.am (.PRECIOUS): Add rule.
5180 * include/Makefile.in: Regenerate.
5182 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
5183 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5185 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
5186 Deuglify, should be current.
5187 (back_insert_iterator::_M_container): Deuglify, should be container.
5188 (front_insert_iterator::_M_container): Same.
5189 (insert_iterator::_M_container): Same.
5190 * testsuite/24_iterators/reverse_iterator.cc: Add check.
5191 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
5192 * testsuite/24_iterators/front_insert_iterator.cc: Same.
5193 * testsuite/24_iterators/insert_iterator.cc: Same.
5195 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
5197 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
5199 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
5200 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
5201 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
5202 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
5203 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
5204 * config/os/newlib/bits/ctype_noninline.h: Same.
5205 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
5206 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
5207 * config/os/hpux/bits/ctype_noninline.h: Same.
5208 * config/os/djgpp/bits/ctype_noninline.h: Same.
5209 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
5210 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
5211 * config/os/aix/bits/ctype_noninline.h: Same.
5213 Testcase by Dietmar Kühl via Peter Schmid
5214 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
5217 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
5219 * libmath/signbitl.c: Copyright years as list, not range.
5220 * libmath/Makefile.am: Same.
5221 * libmath/Makefie.in: Regenerate.
5222 * libmath/signbit.c: Same.
5223 * libmath/nan.c: Same.
5224 * libmath/copysignf.c: Same.
5225 * libmath/signbitf.c: Same.
5226 * testsuite/22_locale/money_get_members_char.cc: Same.
5227 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
5228 * testsuite/22_locale/money_put_members_char.cc: Same.
5229 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
5230 * testsuite/22_locale/time_get_members_char.cc: Same.
5231 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
5232 * testsuite/22_locale/time_put_members_char.cc: Same.
5233 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
5234 * testsuite/21_strings/nonmember.cc: Same.
5235 * testsuite/21_strings/compare.cc: Same.
5236 * testsuite/27_io/stringstream.cc: Same.
5237 * testsuite/27_io/stringbuf.cc: Same.
5238 * testsuite/27_io/filebuf.cc: Same.
5239 * testsuite/27_io/ios_manip_basefield.cc: Same.
5240 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
5241 * include/bits/cpp_type_traits.h: Same.
5242 * include/bits/generic_shadow.h: Same.
5243 * include/bits/gslice_array.h: Same.
5244 * include/bits/gslice.h: Same.
5245 * include/bits/indirect_array.h: Same.
5246 * include/bits/slice_array.h: Same.
5247 * include/bits/sstream.tcc: Same.
5248 * include/bits/streambuf_iterator.h: Same.
5249 * include/bits/valarray_array.tcc: Same.
5250 * include/bits/valarray_meta.h: Same.
5251 * include/bits/valarray_array.h: Same.
5252 * config/os/mingw32/bits/ctype_noninline.h: Same.
5253 * config/os/mingw32/bits/ctype_base.h: Same.
5254 * config/os/hpux/bits/ctype_noninline.h: Same.
5255 * config/os/hpux/bits/ctype_base.h: Same.
5256 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
5257 * config/os/gnu-linux/bits/ctype_base.h: Same.
5258 * config/os/generic/bits/ctype_noninline.h: Same.
5259 * config/os/generic/bits/ctype_base.h: Same.
5261 * libsupc++/tinfo.h: Tweaks.
5263 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
5265 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
5266 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
5267 * testsuite/22_locale/ctype_members_char.cc: Tweak.
5269 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
5271 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
5272 (num_put::do_put(void*)): Fix.
5273 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
5274 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
5275 * testsuite/22_locale/num_get_members_char.cc (test02): Add
5276 long double, void, bool types.
5277 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
5279 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
5280 Alexandre Oliva <aoliva@redhat.com>
5282 * libmath/Makefile.am (LINK): Add --tag CC.
5283 * libmath/Makefile.in: Regenerate.
5285 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
5287 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
5288 of character to attribute mapping table.
5290 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
5292 * testsuite/26_numerics/c99_classification_macros_c.cc
5293 Remove dg-error and dg-excess-errors comments.
5295 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
5297 * include/bits/locale_facets.tcc (time_put::put): Correct output
5299 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
5300 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
5301 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
5302 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
5304 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
5306 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
5308 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
5309 Nathan Myers <ncm@cantrip.org>
5311 * include/bits/basic_string.h
5312 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
5313 temporaries (i.e., call _M_replace_safe) when possible.
5314 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
5315 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
5316 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
5317 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
5318 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
5319 * include/bits/basic_string.tcc
5320 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
5321 replace(__pos, __n1, __s, __n2).
5322 * testsuite/21_strings/replace.cc (test03): New testcases.
5324 * include/bits/basic_string.h (insert(__pos, __s, __n)):
5325 Adjust comparison wrt overflow.
5327 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
5329 * include/Makefile.am (std_headers_rename): New variable.
5330 (install-data-local): Use it.
5331 * include/Makefile.in: Regenerate.
5333 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
5335 * include/bits/locale_facets.tcc (money_put::do_put(string):
5336 Correct output iterator value.
5337 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
5338 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
5340 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
5342 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
5345 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
5347 * include/Makefile.am (std_headers): Update list with new names.
5348 (stamp-std): Link to standardized name.
5349 * include/Makefile.in: Regenerate.
5351 * include/std/algorithm, include/std/bitset, include/std/complex,
5352 include/std/deque, include/std/fstream, include/std/functional,
5353 include/std/iomanip, include/std/ios, include/std/iosfwd,
5354 include/std/iostream, include/std/istream, include/std/iterator,
5355 include/std/limits, include/std/list, include/std/locale,
5356 include/std/map, include/std/memory, include/std/numeric,
5357 include/std/ostream, include/std/queue, include/std/set,
5358 include/std/sstream, include/std/stack, include/std/stdexcept,
5359 include/std/streambuf, include/std/string, include/std/utility,
5360 include/std/valarray, include/std/vector: Rename to...
5362 * include/std/std_algorithm.h, include/std/std_bitset.h,
5363 include/std/std_complex.h, include/std/std_deque.h,
5364 include/std/std_fstream.h, include/std/std_functional.h,
5365 include/std/std_iomanip.h, include/std/std_ios.h,
5366 include/std/std_iosfwd.h, include/std/std_iostream.h,
5367 include/std/std_istream.h, include/std/std_iterator.h,
5368 include/std/std_limits.h, include/std/std_list.h,
5369 include/std/std_locale.h, include/std/std_map.h,
5370 include/std/std_memory.h, include/std/std_numeric.h,
5371 include/std/std_ostream.h, include/std/std_queue.h,
5372 include/std/std_set.h, include/std/std_sstream.h,
5373 include/std/std_stack.h, include/std/std_stdexcept.h,
5374 include/std/std_streambuf.h, include/std/std_string.h,
5375 include/std/std_utility.h, include/std/std_valarray.h,
5376 include/std/std_vector.h: ...this.
5378 2002-01-11 Loren Rittle <ljrittle@acm.org>
5380 * include/Makefile.am (extra_target_headers): New list of all
5381 target files built with ad hoc naming rules.
5382 (stamp-*): Handle LN_S failure in manner portable across make
5384 (install-data-local): Install header files from human-maintained
5385 file lists and directory components instead of non-robust find.
5386 * include/Makefile.in: Rebuilt.
5388 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
5390 * include/bits/locale_facets.tcc (money_get::do_get(string)):
5391 Check for zero-length negative sign before adding it to output
5393 (money_get::do_get(long double)): Return beg.
5394 * testsuite/22_locale/money_get_members_char.cc (test02): Add
5396 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
5398 2002-01-10 David Seymour <seymour_dj@yahoo.com>
5401 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
5402 for _M_extract_float and _M_extract_int
5403 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
5404 (num_get<>::_M_extract_int): Likewise, all callers changed
5405 * testsuite/22_locale/num_get_members_char.cc: Testcase
5407 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
5409 * libsupc++/exception (bad_exception): Add comment.
5410 * libsupc++/new (bad_alloc): Same.
5411 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
5413 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
5415 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
5416 that the destructors should be removed from the descriptions
5417 in the standard: writing them explicitly allows the vtable
5418 heuristic to work. For additional information see:
5419 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
5420 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
5421 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
5422 * libsupc++/exception (bad_exception::~bad_exception()):
5423 Reintroduce declaration.
5424 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
5425 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
5426 (bad_typeid::~bad_typeid()): Same.
5427 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
5428 Reintroduce definition.
5429 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
5430 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
5431 (bad_typeid::~bad_typeid()): Same.
5433 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
5435 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
5436 * include/Makefile.in: Regenerate.
5438 2002-01-09 Bo Thorsen <bo@suse.co.uk>
5440 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
5443 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
5447 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
5448 return value of _M_file->sync().
5449 (filebuf::showmanyc): Check for is_open.
5450 * include/std/fstream (filebuf::sync): Tweak.
5451 * testsuite/27_io/filebuf.cc: Tweak.
5453 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
5454 Brad Garcia <garsh@attbi.com>
5456 * testsuite/27_io/filebuf_members.cc: Add test.
5458 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
5459 Craig Rodrigues <rodrigc@mediaone.net>
5462 * po/Makefile.am (mkinstalldirs): Add.
5463 * po/Makefile.in: Regenerate.
5465 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
5467 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
5468 testsuite/lib/prune.exp: Delete lines ":In function ..." from
5470 * testsuite/23_containers/map_operators.cc: Remove
5471 dg-excess-errors comment.
5472 * testsuite/23_containers/set_operators.cc: Likewise.
5474 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
5476 * include/bits/stl_function.h: Remove two lines of comments;
5477 adjust copyright years.
5479 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
5481 * include/Makefile.am (std_headers): Remove cXXX from list.
5482 (c_base_srcdir): No bits subdirectory.
5483 (c_base_builddir): Same.
5484 (c_base_headers): Adjust names, add ciso646.
5485 (bits_headers): Remove std_xxx.h headers.
5486 * include/Makefile.in: Regenerate.
5488 * include/ext/iterator: Adjust includes.
5489 * include/ext/ropeimpl.h: Same.
5490 * include/ext/stl_hash_fun.h: Same.
5491 * include/ext/algorithm: Same.
5493 * include/backward/bvector.h: Adjust includes.
5494 * include/backward/vector.h: Same.
5495 * include/backward/strstream: Same.
5496 * include/backward/streambuf.h: Same.
5497 * include/backward/stack.h: Same.
5498 * include/backward/set.h: Same.
5499 * include/backward/queue.h: Same.
5500 * include/backward/multiset.h: Same.
5501 * include/backward/multimap.h: Same.
5502 * include/backward/map.h: Same.
5503 * include/backward/list.h: Same.
5504 * include/backward/iterator.h: Same.
5505 * include/backward/iostream.h: Same.
5506 * include/backward/iomanip.h: Same.
5507 * include/backward/fstream.h: Same.
5508 * include/backward/deque.h: Same.
5509 * include/backward/complex.h: Same.
5511 * include/bits/std_algorithm.h: Move to...
5512 * include/std/algorithm: ...here.
5513 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
5514 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
5515 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
5516 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
5517 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
5518 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
5519 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
5522 * include/c_std/bits/std_cassert.h: Move to...
5523 * include/c_std/cassert: Here.
5524 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
5525 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
5526 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
5527 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
5528 std_cwctype.h: Same.
5529 * include/c_std/cmath: Adjust cmath.tcc include.
5530 * include/c_std/cstdlib: Adjust includes.
5531 * include/c_std/cwchar: Same.
5532 * include/c_std/ctime: Same.
5533 * include/c_std/cstring: Same.
5534 * include/c_std/cstdio: Same.
5535 * include/c_std/bits: Remove directory.
5537 * include/c/bits/std_cassert.h: Move to...
5538 * include/c/cassert: Here.
5539 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
5540 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
5541 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
5542 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
5543 std_cwctype.h: Same.
5544 * include/c/bits: Remove directory.
5546 * include/std/cwctype: Remove.
5547 * include/std/cwchar: Remove.
5548 * include/std/ctime: Remove.
5549 * include/std/cstring: Remove.
5550 * include/std/cstdlib: Remove.
5551 * include/std/cstdio: Remove.
5552 * include/std/cstddef: Remove.
5553 * include/std/cstdarg: Remove.
5554 * include/std/csignal: Remove.
5555 * include/std/csetjmp: Remove.
5556 * include/std/cmath: Remove.
5557 * include/std/clocale: Remove.
5558 * include/std/climits: Remove.
5559 * include/std/ciso646: Remove.
5560 * include/std/cfloat: Remove.
5561 * include/std/cerrno: Remove.
5562 * include/std/cctype: Remove.
5563 * include/std/cassert: Remove.
5565 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
5566 files and subsituting <xxx>.
5567 * include/bits/valarray_array.h: Same.
5568 * include/bits/stl_uninitialized.h: Same.
5569 * include/bits/stl_alloc.h: Same.
5570 * include/bits/stl_algobase.h: Same.
5571 * include/bits/sstream.tcc: Same.
5572 * include/bits/pthread_allocimpl.h: Same.
5573 * include/bits/ostream.tcc: Same.
5574 * include/bits/localefwd.h: Same.
5575 * include/bits/locale_facets.tcc: Same.
5576 * include/bits/locale_facets.h: Same.
5577 * include/bits/istream.tcc: Same.
5578 * include/bits/char_traits.h: Same.
5579 * include/bits/boost_concept_check.h: Same.
5580 * include/bits/basic_file.h: Same.
5581 * include/std/bitset: Same.
5582 * include/std/complex: Same.
5583 * include/std/fstream: Same.
5584 * include/std/functional: Same.
5585 * include/std/ios: Same.
5586 * include/std/iostream: Same.
5587 * include/std/ostream: Same.
5588 * include/std/sstream: Same.
5589 * include/std/streambuf: Same.
5590 * include/std/string: Same.
5591 * include/std/iterator: Same.
5592 * include/std/valarray: Same.
5594 * src/ios.cc: Adjust includes.
5595 * src/valarray-inst.cc: Same.
5596 * src/string-inst.cc: Same.
5597 * src/stl-inst.cc: Same.
5598 * src/stdexcept.cc: Same.
5599 * src/misc-inst.cc: Same.
5600 * src/localename.cc: Same.
5601 * src/locale-inst.cc: Same.
5602 * src/locale.cc: Same.
5603 * src/limits.cc: Same.
5604 * src/concept-inst.cc: Same.
5605 * src/complex_io.cc: Same.
5606 * src/codecvt.cc: Same.
5607 * src/bitset.cc: Same.
5608 * src/cmath.cc: Same.
5610 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
5612 * include/bits/stl_tree.h (rb_tree): Move to...
5613 * include/ext/rb_tree: ...here, new file.
5614 * include/Makefile.am (ext_headers): Add new file.
5615 * include/Makefile.in: Regenerate.
5616 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
5617 return_temporary_buffer, struct temporary_buffer): Move to...
5618 * include/ext/memory: ...here.
5619 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
5620 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
5621 * include/backward/tree.h: Include <ext/rb_tree), tweak.
5623 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
5625 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
5626 * include/ext/numeric: ...here, new file.
5627 * include/bits/stl_function.h (identity_element, unary_compose,
5628 binary_compose, compose1, compose2, identity, select1st,
5629 select2nd, project1st + helper, project2nd + helper,
5630 constant_void_fun + helper, constant_unary_fun + helper,
5631 costant_binary_fun + helper, constant0, constant1, constant2,
5632 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
5633 * include/ext/functional: ...here, new file.
5634 * include/Makefile.am (ext_headers): Add new files.
5635 * include/Makefile.in: Regenerate.
5636 * testsuite/ext/headers.cc: Include <ext/numeric> and
5638 * include/backward/algo.h: Include <ext/numeric>, tweak.
5639 * include/backward/function.h: Include <ext/functional>, tweak.
5640 * include/ext/ropeimpl.h: Include <ext/numeric>.
5642 2002-01-03 Jeffrey A Law <law@redhat.com>
5644 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
5645 __strtoull declarations with __extension__.
5647 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
5649 * testsuite/lib/prune.exp: Correct regular expression for
5652 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
5654 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
5655 Change concept checks, as with lower_bound and PR 2054.
5656 * testsuite/ext/concept_checks.cc: Expand test to include those.
5658 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
5660 * include/bits/boost_concept_check.h: Import some changes from
5661 upsteam (Boost) version.
5663 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
5665 * include/bits/stl_algobase.h (copy_n + helpers,
5666 lexicographical_compare_3way + helpers): Move to...
5667 * include/ext/algorithm: ...here.
5668 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
5669 helpers): Move to...
5670 * include/ext/memory: ...here, new file.
5671 * include/Makefile.am (ext_headers): Add new file.
5672 * include/Makefile.in: Regenerate.
5673 * testsuite/ext/headers.cc: Include <ext/memory>.
5674 * include/backward/algobase.h: Include <ext/memory> and
5675 <ext/algorithm>, tweak.
5676 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
5677 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
5679 2002-01-01 Roger Sayle <roger@eyesopen.com>
5681 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
5682 equivalent ___builtin__ versions.
5684 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
5685 are available in libstdc++ as the necessary stub implementations
5686 are provided by libmath/stubs.c.
5688 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
5690 * configure.in: Add support for NetBSD cross compiles.
5691 * configure: Regenerate.