1 2002-04-28 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3 * include/ext/stl_hashtable.h: Import __iterator_category
5 2002-04-28 Paolo Carlini <pcarlini@unitus.it>
6 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
8 * testsuite/ext/hash_set.cc: New testfile.
10 2002-04-27 Benjamin Kosnik <bkoz@redhat.com>
12 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
14 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
15 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
17 2002-04-26 Paolo Carlini <pcarlini@unitus.it>
19 * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
20 Fix and tighten __throw_length_error check.
21 * testsuite/21_strings/replace.cc (test05): New.
22 * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
24 2002-04-23 Loren J. Rittle <ljrittle@acm.org>
26 * include/std/std_fstream.h (basic_filebuf::sync): Hoist
27 unconditional flush on lower-layer handle to here...
28 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
29 ...from here. Optimize remaining _M_file.sync() call pattern.
30 * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
33 2002-04-23 Jason Merrill <jason@redhat.com>
35 * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
37 * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
39 (basic_filebuf::_M_set_determinate): Likewise.
42 * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
43 value properly in the trivial case.
44 * testsuite/27_io/istream_seeks.cc (test04): Make sure that
45 tellg() returns the right value after a read.
47 2002-04-23 Hans-Peter Nilsson <hp@bitrange.com>
49 * config/cpu/mmix/bits/cpu_limits.h: New file.
50 * configure.target (CPULIMITSH): Use it.
52 2002-04-22 Loren J. Rittle <ljrittle@acm.org>
54 * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
55 * docs/html/17_intro/porting.html: Rebuilt.
57 2002-04-20 Jason Merrill <jason@redhat.com>
60 * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
62 (basic_streambuf::_M_set_determinate): Likewise.
63 (basic_streambuf::_M_is_indeterminate): Likewise.
64 * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
65 non-static data member.
66 (basic_filebuf::_M_underflow_common): New non-static member function.
67 (basic_filebuf::_M_underflow, _M_uflow): Call it.
68 (basic_filebuf::sync): Avoid useless seeking.
69 (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
71 (basic_filebuf::_M_set_determinate): Likewise.
72 (basic_filebuf::_M_is_indeterminate): Likewise.
73 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
74 back to _M_out_beg if necessary.
75 (basic_filebuf::seekoff): Likewise.
76 (basic_filebuf::_M_underflow_common): Generalization of old
77 underflow(). Don't seek back to _M_in_beg.
78 * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
79 * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
80 * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
81 * config/os/mingw32/bits/os_defines.h: Likewise.
82 * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
85 2002-04-22 Benjamin Kosnik <bkoz@redhat.com>
87 * include/bits/istream.tcc (istream::read): Fix.
88 * testsuite/27_io/istream_unformatted.cc (main): Add.
90 2002-04-20 Benjamin Kosnik <bkoz@redhat.com>
93 * include/bits/istream.tcc (istream::ignore): Streamline, use
95 * include/bits/streambuf.tcc: Use this->gptr.
96 * testsuite/27_io/istream_unformatted.cc (test08): Add test.
98 2002-04-18 Benjamin Kosnik <bkoz@redhat.com>
100 * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
101 as type safety is important, especially on solaris.
102 * include/bits/istream.tcc (istream::read): Clean.
103 (istream::readsome): Same.
104 * locale.cc: Wrap lines.
106 * testsuite/21_strings/inserters_extractors.cc: Tweaks.
107 * testsuite/27_io/instantiations.cc (test): Add bool variable...
108 * testsuite/21_strings/capacity.cc: Clean.
110 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
112 * docs/doxygen/doxygroups.cc: New group on binary searching.
113 * include/bits/stl_algo.h: Document binary searches and merges.
114 * include/bits/stl_deque.h: The 'map' member is not the 'map' class.
116 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
118 * docs/doxygen/mainpage.html: Doxygen logo is now a PNG file.
119 * docs/doxygen/run_doxygen: Bump required version.
120 * docs/doxygen/user.cfg.in: Revert accidental change.
121 * docs/html/faq/index.html: Reindent a block of links.
122 (4.4): New note on using dlsym.
123 * docs/html/faq/index.txt: Regenerated.
125 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
127 * testsuite_flags.in (cxxflags): Also pass @EXTRA_CXX_FLAGS@.
129 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
131 * config/linker-map.gnu (__malloc_alloc_template): Add.
132 (__default_alloc_template): Same.
133 * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
135 (__default_alloc_template): Same.
137 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
139 * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
141 2002-04-16 Benjamin Kosnik <bkoz@redhat.com>
143 * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
144 * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
145 (__malloc_alloc_template): Conditionalize.
147 * include/bits/istream.tcc: Remove sputbackc calls.
149 * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
151 2002-04-16 Paolo Carlini <pcarlini@unitus.it>
153 * testsuite/24_iterators/rel_ops.cc: New test.
155 2002-04-16 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
157 * include/bits/type_traits.h (__normal_iterator): Declare in
158 __gnu_cxx. Adjust use at global namespace.
159 * include/bits/stl_iterator.h (__normal_iterator): Move definition
160 into __gnu_cxx::. Add more operator overloads. Tidy existing ones.
161 * include/bits/basic_string.h (basic_string): Adjust use of
163 * include/bits/stl_vector.h (_Alloc>): Likewise.
164 * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
165 * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
167 2002-04-15 Benjamin Kosnik <bkoz@redhat.com>
171 * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
173 (__basic_file::close): Call fflush. Correct return if fclose ok.
174 (__basic_file::is_open): Make const.
175 Change __c_file_type to __c_file.
176 * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
177 (__basic_file::is_open): Make const.
178 * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
179 * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
180 (filebuf::_M_unbuf): Add.
181 (filebuf::_M_file): Change to non-pointer.
182 (filebuf::_M_allocate_pback_buffer): Remove.
183 * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
184 (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
185 Change initialization list for _M_file change.
186 (filebuf::_M_allocate_pback_buffer): Remove.
187 Change _M_file usage to reflect non-pointer data member.
189 * config/locale/generic/c_locale.cc
190 (locale::facet::_S_create_c_locale): Add parameter.
191 * config/locale/generic/collate_members.cc: Change
192 _M_compare_helper to _M_compare.
193 Change _M_transform_helper to _M_transform.
194 * config/locale/generic/monetary_members.cc: Changeup data types.
196 * config/locale/generic/numeric_members.cc: Add dtors.
197 * config/locale/generic/time_members.cc: Add dtors.
198 * config/locale/gnu/c_locale.cc: Add parameter.
199 * config/locale/gnu/collate_members.cc:Change
200 _M_compare_helper to _M_compare.
201 Change _M_transform_helper to _M_transform.
202 * config/locale/gnu/ctype_members.cc: Better error checking.
203 * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
204 * config/locale/gnu/messages_members.cc: Tweak comment.
205 * config/locale/gnu/monetary_members.cc: Change data types.
207 * config/locale/gnu/numeric_members.cc: Add dtors, better error
209 * config/locale/gnu/time_members.cc: Same.
210 * config/locale/ieee_1003.1-2001/c_locale.cc
211 (locale::facet::_S_create_c_locale): Add parameter.
212 * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
213 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
216 * include/bits/locale_facets.h (moneypunct): Use string literals.
220 (locale::_Impl::_M_facets): Change from vector to array.
221 (locale::_Impl::_M_names): Change from array of strings to array
223 (locale::facet::_S_create_c_locale): Add parameter.
224 (locale::locale::_S_num_facets): Move to...
225 (locale::_Impl::_M_facets_size): Here.
226 * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
228 * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
229 (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
230 (locale::_Impl::_Impl(string, size_t)): Change to
231 (locale::_Impl::_Impl(const char*, size_t)): This.
233 * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
234 * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
235 (streambuf::_S_pback_size): This.
237 * src/globals.cc: Add pre-allocations for "C" facets.
238 * src/locale-inst.cc: Remove vector instantiations.
239 * src/locale.cc: Remove vector include. Fixups for _M_names,
241 * src/localename.cc: Same.
243 * include/bits/stl_vector.h: Fix odd formatting.
245 * include/bits/basic_string.tcc: Tweak comment.
247 * libsupc++/new: Make sure parameters are uglified.
248 * libsupc++/typeinfo: Same.
250 * testsuite/22_locale/num_get_members_char.cc: Fixup.
251 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
252 * testsuite/27_io/filebuf_members.cc: Same.
254 2002-04-12 Steve Ellcey <sje@cup.hp.com>
256 * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
257 (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
258 does not define strtoll or strtoull, but does define strtol
259 and strtoul which are the same since in 64 bit mode
260 sizeof(long) == sizeof(long long).
262 2002-04-12 Phil Edwards <pme@gcc.gnu.org>
264 * include/std/std_bitset.h: Doxygenate std::bitset<>. Clean up
265 trailing spaces, indentation, and macro names. Make exception
266 messages more informative.
268 2002-04-11 Richard Henderson <rth@redhat.com>
270 * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
271 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
272 (basic_ostream<>::operator<<(long long)): Same.
274 2002-04-11 Richard Henderson <rth@redhat.com>
276 * config/linker-map.gnu: Add __gxx_personality_sj0.
278 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
281 * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
283 Remove forward declaration of vector.
285 * include/bits/locale_facets.tcc: Remove vector include.
286 (use_locale): Adjust.
287 (has_locale): Adjust.
288 * src/locale.cc: Adjust.
289 * src/localename.cc: Same.
291 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
292 Richard Henderson <rth@redhat.com>
294 * include/bits/sstream.tcc: Clean up bit ops.
295 * include/bits/fstream.tcc: Same.
297 2002-04-09 Jakub Jelinek <jakub@redhat.com>
299 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
300 (__num_base::_S_scale_oct): Remove.
301 * src/locale.cc (__num_base::_S_scale_hex): Remove.
302 (__num_base::_S_scale_oct): Remove.
304 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
307 * testsuite/23_containers/bitset_members.cc: New test.
308 * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
309 (_S_bit_count): Here.
310 (_First_one::_S_first_one): Move...
311 (_S_first_one): Here.
313 * src/bitset.cc: Adjust.
314 * config/linker-map.gnu: Export.
316 2002-04-08 Benjamin Kosnik <bkoz@redhat.com>
319 * include/bits/fstream.tcc (filebuf::seekpos): Fix.
320 * include/std/std_fstream.h: Clean.
321 * include/bits/ostream.tcc: Remove extraneous variables.
322 * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
323 open modes and which modes.
324 (stringbuf::seekpos): Same.
325 * testsuite/27_io/stringbuf_virtuals.cc: New tests.
327 2002-04-05 Jonathan Wakely <jw@kayari.org>
329 * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
330 random_shuffle, partition, stable_partition, sort, stable_sort,
331 partial_sort, partial_sort_copy, nth_element): Doxygenate.
333 2002-04-05 David S. Miller <davem@redhat.com>
335 * config/os/gnu-linux/bits/os_defines.h
336 (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
338 2002-04-04 Benjamin Kosnik <bkoz@redhat.com>
341 via gawrilow@math.tu-berlin.de
342 * acinclude.m4 (version_specific_libs): Fix combo usage with
343 --with-gxx-include-dir.
344 * aclocal.m4: Regenerate.
347 2002-04-03 Benjamin Kosnik <bkoz@redhat.com>
349 As per DR 184, libstdc++/3139
350 * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
351 (numeric_limits<bool>::is_iec559): False.
352 (numeric_limits<bool>::is_modulo): False.
354 * testsuite/27_io/ios_init.cc: Add instantiations.
356 2002-04-02 Benjamin Kosnik <bkoz@redhat.com>
359 * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
360 * testsuite/27_io/ios_init.cc (tests04): Add test.
363 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
364 (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
365 * include/bits/basic_ios.tcc: Same. Remove outdated comments.
366 * include/bits/istream.tcc: Use _M_fctype, make consistent with
368 * testsuite/27_io/ios_init.cc (tests03): Add test.
370 2002-04-02 Phil Edwards <pme@gcc.gnu.org>
372 * include/Makefile.am (install-data-local): Use mkinstalldirs.
373 * include/Makefile.in: Regenerate.
375 2002-04-02 Paolo Carlini <pcarlini@unitus.it>
376 Nathan Myers <ncm@cantrip.org>
377 Philip Martin <philip@codematters.co.uk>
379 * include/bits/basic_string.h
380 (replace(i1, i2, _CharT* k1, _CharT* k2),
381 replace(i2, i2, const _CharT* k1, const _CharT* k2),
382 replace(i1, i2, iterator k1, iterator k2,
383 replace(i1, i2, const_iterator k1, const_iterator k2):
384 New specializations to optimize for the common cases of
385 pointers and iterators.
386 (replace(pos, n1, s, n2)): Tweak.
387 * include/bits/basic_string.tcc: Tweak comments.
388 * testsuite/21_strings/replace.cc (test04): New tests.
390 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
393 * acinclude: More extensive checks for msgfmt, --enable-nls.
394 * aclocal.m4: Regenerate.
395 * configure: Regenerate.
397 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
399 * libsupc++/exception (__verbose_terminate_handler): Point to docs.
400 * docs/doxygen/doxygroups.cc: Doxygen hooks for abi::__cxa_demangle.
401 * docs/html/18_support/howto.html: Document the demangler.
402 * docs/html/17_intro/howto.html: And link to it.
404 * docs/doxygen/mainpage.html: Describe user-vs-maintainer docs.
405 * docs/doxygen/run_doxygen: Print user-vs-maintainer.
407 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
409 * config/linker-map.gnu: Export __verbose_terminate_handler.
410 * libsupc++/Makefile.am (sources): Add cxa_demangle.c, dyn-string.c.
411 Make new LTCOMPILE variable, use it in new special build rules.
412 * libsupc++/Makefile.in: Rebuild.
413 * src/vterminate.cc (__verbose_terminate_handler): Enable use of
414 runtime __cxa_demangle.
416 * docs/html/install.html: Update prereqs and instructions.
417 * docs/html/19_diagnostics/howto.html: Bring naming for
418 verbose_terminate_handler into line with reality.
420 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
423 * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
424 (basic_ios::_M_streambuf_state): Move.
425 * include/bits/ios_base (ios_base): To here.
426 * include/bits/ios_base.h (ios_base::_S_local_words): To
428 (ios_base::_M_word_array): To _M_local_word.
429 (ios_base::_M_words_limit): To _M_word_size.
430 (ios_base::_M_words): To _M_word.
432 * include/bits/basic_ios.tcc: Adjust.
433 * src/ios.cc (ios_base::_M_grow_words): Tweak.
434 * testsuite/27_io/ios_base_storage.cc: Add tests.
437 Kenny Simpson <theonetruekenny@yahoo.com>
438 * include/bits/ios_base.h: Fix.
440 Richard Henderson <rth@redhat.com>
441 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
444 * include/bits/basic_string.h: Tweak formatting.
446 2002-04-01 Paolo Carlini <pcarlini@unitus.it>
448 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
449 (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
450 By definition, sizeof(char) == 1.
451 * include/bits/locale_facets.tcc (money_get::do_get,
452 money_put::do_put): Ditto.
453 * testsuite/21_strings/inserters_extractors.cc
456 2002-03-30 Richard Henderson <rth@redhat.com>
459 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
460 data out of the exception struct before calling unexpectedHandler.
462 2002-03-28 Roger Sayle <roger@eyesopen.com>
464 * include/c_std/std_cmath.h: To prevent problems overloading
465 g++ builtins, use the double variants from the global namespace
466 before defining float and long double variants in std::.
468 2002-03-28 Loren J. Rittle <ljrittle@acm.org>
470 * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
472 2002-03-28 Paolo Carlini <pcarlini@unitus.it>
474 * testsuite/24_iterators/istream_iterator.cc
477 2002-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
478 Paolo Carlini <pcarlini@unitus.it>
480 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
481 (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
482 fix i_lit_base e_lit_base arrays, making them independent
483 from the endianness of the platform; tweak UCS4 to UCS-4BE.
485 2002-03-27 Benjamin Kosnik <bkoz@redhat.com>
487 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
488 allocate at least a byte.
490 * testsuite/18_support/numeric_limits.cc (test_extrema): Make
492 * testsuite/27_io/streambuf.cc (test07): Fix.
495 2002-03-27 Phil Edwards <pme@gcc.gnu.org>
497 * docs/doxygen/Intro.3: Date tweak.
498 * docs/doxygen/TODO: Update.
499 * docs/doxygen/doxygroups.cc: Point to tables.html.
500 * docs/doxygen/mainpage.html: Date tweak.
501 * docs/doxygen/run_doxygen: Version tweak. Copy tables.html over.
502 * docs/doxygen/tables.html: Fill in the blanks.
504 * docs/doxygen/user.cfg.in (ALIASES): Remove maint and endmaint.
505 * include/bits/stl_algo.h: Likewise; use expanded form.
506 * include/bits/stl_alloc.h: Likewise.
507 * include/bits/stl_construct.h: Likewise.
508 * include/bits/stl_deque.h: Likewise.
509 * include/bits/stl_iterator_base_types.h: Likewise.
510 * include/bits/stl_list.h: Likewise.
511 * include/bits/stl_relops.h: Likewise.
512 * include/bits/stl_tempbuf.h: Likewise.
513 * include/bits/stl_vector.h: Likewise.
514 * include/std/std_memory.h: Likewise.
516 * include/bits/stl_deque.h: Point into tables.html and add @ingroup.
517 * include/bits/stl_list.h: Likewise.
518 * include/bits/stl_vector.h: Likewise.
520 2002-03-26 Benjamin Kosnik <bkoz@redhat.com>
522 * include/c/: Guard with _CPP_.
523 * include/c_std/: Same.
524 * include/Makefile.am: Fixup install, link routines for null
525 c_base_headers_extra scenarios.
526 * include/Makefile.in: Regerate.
528 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
529 Richard Henderson <rth@redhat.com>
531 * testsuite/22_locale/codecvt_members_unicode_char.cc
532 (test01, test02): make sure that the i_lit_base array
533 is sufficiently aligned.
535 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
537 * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
540 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
542 * testsuite/22_locale/collate_byname.cc
543 (test01): compare the result of collate::compare with
544 that of collate::transform + string::compare, not with
545 that of collate::transform + collate::compare; values
546 returned by collate::compare are normalized, therefore
549 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
550 Jakub Jelinek <jakub@redhat.com>
552 * config/locale/gnu/messages_members.h: Correct conditional.
553 * config/locale/gnu/messages_members.cc: Same.
554 * config/locale/gnu/time_members.cc: Same.
556 2002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
557 Paolo Carlini <pcarlini@unitus.it>
559 * testsuite/22_locale/codecvt_members_unicode_char.cc
560 (test01, test02): Fix i_lit_base arrays, making them
561 independent from the endianness of the platform.
563 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
565 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
566 signbit and __signbit directly.
567 * aclocal.m4: Regenerate.
568 * configure: Regenerate.
569 * config.h.in: Regenerate.
570 * libmath/Makefile.am: Simplify.
571 * libmath/Makefile.in: Regenerate.
572 * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
574 * include/Makefile.am: Clean up handling of extra "C" header files.
575 Add hooks for "C" compatibility headers.
576 * include/Makefile.in: Regenerate.
578 * include/c/*: Formatting tweaks, cleanups.
579 * include/c_std/*: Same.
581 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
583 * config/locale/gnu/messages_members.h: Add __uselocale bits.
584 * config/locale/gnu/messages_members.cc: Same.
585 * config/locale/gnu/time_members.cc: Same.
587 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
589 * src/vterminate.cc: Format, -fno-exceptions cleanup.
591 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
593 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
594 (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
595 * aclocal.m4: Regenerate.
596 * configure: Likewise.
598 2002-03-19 Paolo Carlini <pcarlini@unitus.it>
599 Ulrich Drepper <drepper@redhat.com>
601 * src/locale-inst.cc (__convert_from_v): Add an additional
602 __size parameter in the declarations.
603 * include/bits/locale_facets.tcc
604 (__convert_from_v): When available (that is,
605 _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
606 (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
607 being defined or not, call and use __convert_from_v in the
609 (num_put::_M_convert_int): Same here.
610 (money_put::do_put(long double)): Same here.
612 2002-03-19 Phil Edwards <pme@gcc.gnu.org>
614 * docs/html/faq/index.html (#3.6): Rewrap and close <a href> tags.
615 * docs/html/faq/index.txt: Regenerate.
617 2002-03-19 Steve Ellcey <sje@cup.hp.com>
619 * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
620 GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
621 --enable-libunwind-exceptions is set.
622 * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
623 macro to check for libunwind.
624 * configure: Regenerate.
625 * src/Makefile.am (libstdc___la_LDFLAGS): Add
626 LIBUNWIND_FLAG to libstdc link line.
627 * src/Makefile.in: Regenerate.
629 2002-03-19 Benjamin Kosnik <bkoz@redhat.com>
631 * docs/html/faq/index.html: Add OS X workaround.
632 * docs/html/17_intro/TODO: Update.
634 2002-03-18 Paolo Carlini <pcarlini@unitus.it>
636 * include/bits/locale_facets.tcc
637 (money_put::do_put(long double)): Fix dimensioning of
638 temporary buffers to avoid risk of overruns.
639 (money_put::do_put(string)): Same for the buffer used to
640 add the grouping chars.
641 * testsuite/22_locale/money_put_members_char.cc: Add test06.
642 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
644 * include/bits/locale_facets.tcc
645 (collate::do_transform): Simplify.
647 2002-03-18 Phil Edwards <pme@gcc.gnu.org>
649 * acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform.
650 * configure.in: Add comments pointing the way for autoconf 2.5x.
651 * aclocal.m4, config.h.in, configure: Regenerate.
653 2002-03-18 Philipp Thomas <pthomas@suse.de>
655 * include/backward/hash_map.h: hash, hashtable, hash_map and
656 hash_multimap are in namespace __gnu_cxx.
657 include/backward/hash_set.h: hash, hashtable, hash_set and
658 hash_multiset are in namespace __gnu_cxx.
659 include/backward/hashtable.h: hash and hashtable are in
661 include/backward/rope.h: char_producer, sequence_buffer,
662 rope, crope and wrope are in namespace __gnu_cxx.
663 include/backward/slist.h: slist is in namespace __gnu_cxx.
664 * testsuite/backward/header_hash_map_h.cc
665 testsuite/backward/header_hash_set_h.cc
666 testsuite/backward/header_hashtable_h.cc
667 testsuite/backward/header_rope_h.cc
668 testsuite/backward/header_slist_h.cc
669 testsuite/backward/header_tempbuf_h.cc: New tests for
670 checking that we're using the correct namespace.
672 2002-03-17 Jason Merrill <jason@redhat.com>
675 * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
676 (check_exception_spec): Call it. Take the thrown pointer.
677 (__cxa_call_unexpected): Pass it.
678 (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr.
680 2002-03-15 Anthony Green <green@redhat.com>
682 * configure.in: Remove useless is_mingw32.
683 * configure: Rebuilt.
685 2002-03-15 Paolo Carlini <pcarlini@unitus.it>
687 * testsuite/22_locale/collate_members_char.cc
688 (test01): compare the result of collate::compare with
689 that of collate::transform + string::compare, not with
690 that of collate::transform + collate::compare.
691 (test01): values returned by collate::compare are
692 normalized, therefore test against +-1.
693 * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
695 2002-03-12 Loren Rittle <ljrittle@acm.org>
697 reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
698 * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
700 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
701 Per Liboriussen <liborius@stofanet.dk>
703 * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
705 * config/os/gnu-linux/bits/ctype_inline.h: Same.
707 * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
709 * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
710 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
712 * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
713 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
715 * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
716 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
718 * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
720 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
722 * include/bits/basic_string.tcc (string::_S_construct(_InIter,
723 _InIter, const _Alloc&, forward_iterator_tag): Check for null.
724 (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
725 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
726 that memory limits are in place.
729 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
731 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
732 * aclocal.m4: Regenerate.
733 * config.h.in: Regenerate.
734 * configure: Regenerate.
735 * include/c_std/std_cwctype.h: Guard.
737 2002-03-11 Chris Demetriou <cgd@broadcom.com>
739 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
740 whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
741 * aclocal.m4: Regenerate.
742 * configure: Regenerate.
744 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
746 * include/bits/stl_bvector.h: Fix warning.
748 2002-03-11 Richard Henderson <rth@redhat.com>
750 * include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
752 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
754 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
755 New function. Build the list of tests to run in testsuite_files.
756 * testsuite/libstdc++-v3.dg/dg.exp: Use it.
758 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
760 * testsuite/21_strings/capacity.cc: Only explicitly instantiate on
761 platforms with no weak support.
762 * testsuite/27_io/ios_init.cc: Likewise.
764 2002-03-10 Paolo Carlini <pcarlini@unitus.it>
766 * include/bits/locale_facets.tcc (time_put::do_put):
767 Consider sizeof(char_type) in allocating the buffer.
769 * include/bits/locale_facets.tcc (collate::do_tranform):
770 Remove redundant variable.
772 2002-03-10 Ulrich Drepper <drepper@redhat.com>
773 Paolo Carlini <pcarlini@unitus.it>
775 * config/locale/generic/collate_members.cc
776 (collate<char,wchar_t>::_M_compare_helper): normalize
777 values returned by strcoll and wcscoll.
778 * config/locale/gnu/collate_members.cc
779 (collate<char,wchar_t>::_M_compare_helper): ditto
780 for __strcoll_l and __wcscoll_l.
782 2002-03-10 Anthony Green <green@redhat.com>
784 * configure.in: Support cross builds to mingw32 target.
785 * configure: Rebuilt.
787 2002-03-09 Paolo Carlini <pcarlini@unitus.it>
789 * include/bits/locale_facets.tcc (collate::do_transform):
790 Rewrite to fix problems with long transformed strings.
792 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
794 * c_locale_generic.cc: Move to...
795 * generic/c_locale.cc
796 * c_locale_generic.h: Move to...
798 * codecvt_specializations_generic.h: Move to...
799 * generic/codecvt_specializations.h
800 * collate_members_generic.cc: Move to...
801 * generic/collate_members.cc
802 * ctype_members_generic.cc: Move to...
803 * generic/ctype_members.cc
804 * messages_members_generic.cc: Move to...
805 * generic/messages_members.cc
806 * messages_members_generic.h: Move to...
807 * generic/messages_members.h
808 * moneypunct_members_generic.cc: Move to...
809 * generic/monetary_members.cc
810 * numpunct_members_generic.cc: Move to...
811 * generic/numeric_members.cc
812 * time_members_generic.cc: Move to...
813 * generic/time_members.cc
814 * c_locale_gnu.cc: Move to...
816 * c_locale_gnu.h: Move to...
818 * collate_members_gnu.cc: Move to...
819 * gnu/collate_members.cc
820 * ctype_members_gnu.cc: Move to...
821 * gnu/ctype_members.cc
822 * messages_members_gnu.cc: Move to...
823 * gnu/messages_members.cc
824 * messages_members_gnu.h: Move to...
825 * gnu/messages_members.h
826 * moneypunct_members_gnu.cc: Move to...
827 * gnu/monetary_members.cc
828 * numpunct_members_gnu.cc: Move to...
829 * gnu/numeric_members.cc
830 * time_members_gnu.cc: Move to...
831 * gnu/time_members.cc
832 * c_locale_ieee_1003.1-200x.cc: Move to...
833 * ieee_1003.1-2001/c_locale.cc
834 * c_locale_ieee_1003.1-200x.h: Move to...
835 * ieee_1003.1-2001/c_locale.h
836 * codecvt_specializations_ieee_1003.1-200x.h: Move to...
837 * ieee_1003.1-2001/codecvt_specializations.h
838 * messages_members_ieee_1003.1-200x.cc: Move to...
839 * ieee_1003.1-2001/messages_members.cc
840 * messages_members_ieee_1003.1-200x.h: Move to...
841 * ieee_1003.1-2001/messages_members.h
843 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
844 * aclocal.m4: Regenerate.
845 * configure: Regenerate.
846 * src/Makefile.am (sources): Change to monetary and numeric.
847 * src/Makefile.in: Regenerate.
848 * docs/html/configopts.html: Update to ieee_1003.1-2001.
850 2002-03-08 scott snyder <snyder@fnal.gov>
853 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
854 Allow one more digit of precision.
855 * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
856 write a double and read back in the same value.
858 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
860 * include/std/std_limits.h: Move static const data members out of
861 generic template, into base class __numeric_limits_base.
862 * src/limits.cc: Add definitions.
863 * config/linker-map.gnu: Add __numeric_limits_base.
864 * testsuite/18_support/numeric_limits.cc: Declare test in scope.
866 2002-03-07 Benjamin Kosnik <bkoz@redhat.com>
868 * include/bits/stl_alloc.h: Add extern implicit allocator
870 * include/bits/basic_string.tcc: Tweak.
871 * include/bits/locale_facets.tcc: Remove default args. Add
872 has_facet, use_facet extern instantiations.
873 * src/stl-inst.cc: Add explicit instantiation.
874 * src/locale-inst.cc: Clean. Remove locale member template
877 * testsuite/22_locale/operators.cc (test02): Enable.
879 2002-03-06 Benjamin Kosnik <bkoz@redhat.com>
880 Stephen M. Webb <stephen.webb@bregmasoft.com>
882 * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
883 (_S_rb_tree_black): Make enum.
885 * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
886 * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
887 (__stl_threshold): _M_threshold, enum.
888 * src/stl-inst.cc: Same.
889 * config/linker-map.gnu: Remove.
891 * testsuite/23_containers/vector_bool.cc: New.
893 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
895 * docs/doxygen/user.cfg.in: Also document deprecated entries.
896 * docs/html/Makefile: Example rule to rebuild porting-howto.html.
897 * docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when
898 referring to the collection as a whole. New section on which macros
899 can be redefined by the user.
900 * docs/html/19_diagnostics/howto.html: Update note for concepts.
901 * docs/html/20_util/howto.html: Update link to SGI.
902 * docs/html/faq/index.html: Update snapshot versions. New entry
903 on why g++ (but not gcc) must currently predefine certain macros.
904 * docs/html/faq/index.txt: Regenerated.
906 * include/bits/basic_string.h (basic_string::_S_construct): Fix
907 names in declaration.
908 (basic_string::compare): These are no longer optional.
909 * include/bits/ostream.tcc: Tweak closing brace placement.
910 * include/bits/stl_algo.h: Lots of initial doxygen comment hooks.
911 * include/std/std_sstream.h: Fix typo in comment.
912 * include/bits/locale_facets.tcc: Remove unneeded header inclusion.
913 * src/locale.cc: Likewise.
915 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
918 * include/bits/stl_vector.h (vector::push_back()): Guard with
921 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
923 * include/bits/c++config: Fix misplaced leading blanks on first line.
925 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
927 * docs/html/17_intro/RELEASE-NOTES: Fix usage.
928 * README (libmath): Make clear.
930 2002-03-05 Jakub Jelinek <jakub@redhat.com>
932 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
933 script globbing in ld.
934 * aclocal.m4: Rebuilt.
935 * configure: Rebuilt.
937 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
939 * docs/html/17_intro/RELEASE-NOTES: Update.
940 * README: Format subdirectories.
942 2002-03-05 Paolo Carlini <pcarlini@unitus.it>
945 * include/bits/locale_facets.tcc
946 (num_get::_M_extract_float): Fix the parsing of __dec, since
947 the standard prescribes that if no grouping characters are
948 seen, no grouping check is applied.
949 * testsuite/22_locale/num_get_members_char.cc: Add test05
950 distilled from the PR.
951 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
953 2002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
955 * docs/html/17_intro/porting-howto.xml: Refer to
956 http://www.oasis-open.org for docbookx.dtd.
957 * docs/html/17_intro/porting-howto.html: Regenerated.
959 2002-03-03 Phil Edwards <pme@gcc.gnu.org>
962 * include/std/std_sstream.h: Remove trailing spaces.
963 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
964 * testsuite/27_io/stringbuf.cc (test05, test06): New tests.
966 2002-03-02 Paolo Carlini <pcarlini@unitus.it>
968 * testsuite/22_locale/num_get_members_char.cc (test04):
969 Use a named locale expecting grouping (de_DE).
970 * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
972 * testsuite/27_io/ios_manip_basefield.cc (test01):
973 Extend coverage, uniform treatment of hexs and octs.
975 2002-02-28 Richard Henderson <rth@redhat.com>
977 * config/linker-map.gnu: Export operator new with unsigned long,
978 and with std::nothrow_t. Likewise operator delete.
980 2002-02-28 Paolo Carlini <pcarlini@unitus.it>
982 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
983 Admit grouping for octals and hexadecimals too.
984 * testsuite/22_locale/num_get_members_char.cc: Add test04.
985 (test01): Tweak "." -> "," in void* test.
986 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
988 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
989 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
991 2002-02-27 Paolo Carlini <pcarlini@unitus.it>
993 * testsuite/27_io/ios_manip_basefield.cc (test01):
994 Fix for 64 bit machines.
996 2002-02-26 Benjamin Kosnik <bkoz@redhat.com>
999 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
1001 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
1002 (basic_ios::_M_fill_init): New.
1003 (basic_ios::fill()): Delay dealing with _M_fill.
1005 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
1006 (ios_base::_M_call_callbacks): Adjust.
1007 * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
1009 2002-02-26 Loren Rittle <ljrittle@acm.org>
1011 * include/Makefile.am (thread_target_headers): Unconditionally
1012 stage and install gthr-posix.h.
1013 (${target_builddir}/gthr-posix.h): New rule cloned off
1014 ${target_builddir}/gthr-default.h.
1015 (${target_builddir}/gthr-default.h): Support chained inclusion
1016 of gthr support headers.
1017 * include/Makefile.in: Rebuilt.
1019 2002-02-26 Paolo Carlini <pcarlini@unitus.it>
1021 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
1022 Group all the integral types, not only decs.
1023 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
1024 tests, add a few more.
1026 2002-02-25 Benjamin Kosnik <bkoz@redhat.com>
1028 * src/ios.cc (ios_base::~ios_base): Tweak.
1029 (ios_base::_M_call_callbacks): Deal with null __p.
1030 (ios_base::ios_base): Set _M_callbacks.
1031 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
1032 * testsuite/27_io/ios_init.cc (test02): Fix.
1034 * mkcheck.in (static_fail): Failed links go to output file.
1036 2002-02-25 Phil Edwards <pme@gcc.gnu.org>
1038 * docs/html/faq/index.html: Update.
1039 * docs/html/faq/index.txt: Regenerate.
1041 2002-02-22 Phil Edwards <pme@gcc.gnu.org>
1043 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
1044 * aclocal.m4: Regenerate.
1045 * docs/html/configopts.html: Document --enable-symvers.
1046 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag.
1048 2002-02-22 Philipp Thomas <pthomas@suse.de>
1050 * include/backward/tempbuf.h: get_temporary_buffer and
1051 return_temporary_buffer are in namespace std, not in __gnu_cxx.
1053 2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
1055 * configure.in (target_alias): Default to yes.
1056 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
1057 libgcc to default case.
1059 2002-02-20 Phil Edwards <pme@gcc.gnu.org>
1061 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
1062 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
1063 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
1064 * aclocal.m4: Regenerate.
1065 * configure: Regenerate.
1066 * config/linker-map.dummy: New file. Contains nothing useful.
1068 2002-02-20 Benjamin Kosnik <bkoz@redhat.com>
1070 * testsuite/22_locale/money_put_members_char.cc: Fix.
1071 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
1073 * testsuite/27_io/standard_manipulators.cc: New file.
1075 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
1076 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
1078 2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
1080 * config/os/mingw32/bits/ctype_noninline.h
1081 (ctype<char>::ctype): Remove default args from parm list.
1082 * config/os/djgpp/bits/ctype_noninline.h: Same.
1084 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
1086 * include/std/std_iomanip.h: Inline, tweaks.
1087 * config/linker-map.gnu: Remove hacks.
1089 * testsuite/21_strings/capacity.cc: Add explicit instantiations.
1090 * testsuite/27_io/ios_init.cc: Same.
1091 * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
1092 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
1094 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
1096 * config/linker-map.gnu: Export global vtable, typeinfo, guard
1097 variable, and thunk info as per CXXABI docs.
1099 2002-02-19 Loren Rittle <ljrittle@acm.org>
1101 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
1102 * include/Makefile.in: Rebuilt.
1104 2002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1106 * testsuite/22_locale/collate_byname.cc (test01): Replace size4
1107 with size3 for the string collations of str5.
1109 2002-02-18 Paolo Carlini <pcarlini@unitus.it>
1112 * include/bits/locale_facets.tcc (money_put::do_put):
1113 For the space field use __fill instead of ' ', uniformly.
1114 * testsuite/22_locale/money_put_members_char.cc:
1115 Add test05 distilled from PR.
1116 (test01-02-03): Trim some '*' to ' '.
1117 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
1119 2002-02-18 Loren Rittle <ljrittle@acm.org>
1122 * include/Makefile.am (thread_builddir): Remove (map all
1123 existing uses to target_builddir).
1124 (thread_headers): Rename to...
1125 (thread_target_headers): ...this.
1126 (stamp-thread): Remove.
1127 (stamp-target): Correctly state the position as built.
1128 Update all dependencies to match the new reality. Remove all
1129 dependency calculations on directories.
1130 * include/Makefile.in: Rebuilt.
1132 2002-02-16 Benjamin Kosnik <bkoz@redhat.com>
1134 * include/bits/locale_facets.tcc: Add pragma GCC system_header.
1135 * include/bits/fstream.tcc: Same.
1136 * include/bits/sstream.tcc: Same.
1137 * include/bits/ostream.tcc: Same.
1138 * include/bits/istream.tcc: Same.
1139 * include/bits/streambuf.tcc: Same.
1140 * include/bits/basic_ios.tcc: Same.
1141 * include/bits/basic_string.tcc: Same.
1143 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
1145 * include/std/std_iosfwd.h: Don't guard typedefs with
1146 _GLIBCPP_USE_WCHAR_T
1147 * include/bits/stringfwd.h: Same.
1149 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
1151 * src/locale.cc (moneypunct_byname): Remove definitions.
1152 * include/std/std_streambuf.h (streambuf::operator=): Return.
1154 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
1157 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
1158 explicit instantiation.
1159 (string::_Rep::_S_max_size): Same.
1160 * include/bits/basic_string.tcc: Add extern explicit
1161 instantiations for string, wstring.
1162 * include/bits/basic_ios.tcc: Add extern explicit instantiations
1164 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
1165 * include/bits/istream.tcc: Same, for istream, wistream.
1166 * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
1168 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
1169 istringstream, wistringstream, ostringstream, wostringstream,
1170 stringstream, wstringstream.
1171 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
1172 wifstream, ofstream, wofstream, fstream, wfstream.
1173 * src/misc-inst.cc: Correct comments.
1174 Add iomanip instantiations for wide streams.
1175 * include/std/std_iomanip.h: Same.
1176 * include/bits/locale_facets.tcc: Same.
1178 * include/std/std_streambuf.h: Correct
1179 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
1180 * include/std/std_sstream.h: Same.
1181 * include/std/std_ostream.h: Same.
1182 * include/std/std_istream.h: Same.
1183 * include/std/std_fstream.h: Same.
1185 * include/std/std_streambuf.h: Add definitions for private copy
1186 ctor and assignment operator.
1187 * include/std/std_istream.h: Remove declared but undefined copy
1188 ctor and assignment operator. This is taken care of in ios_base,
1189 so adding it in the derived class as well is superfluous.
1190 * include/std/std_ostream.h: Same.
1192 * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
1193 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
1195 2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
1197 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
1198 Add typeinfo bits. Smooth.
1199 * aclocal.m4: Regenerate.
1201 * src/Makefile.in: Same.
1203 2001-02-14 Joel Sherrill <joel@OARcorp.com>
1205 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
1206 which do not have a CAS instruction.
1208 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
1210 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
1211 * configure.in: Call it.
1212 * config/linker-map.gnu: New file, initial incomplete revision.
1213 * src/Makefile.am: Optionally pass version script to the linker.
1214 * aclocal.m4: Regenerate.
1215 * configure: Regenerate.
1216 * src/Makefile.in: Regenerate.
1218 2002-02-13 Benjamin Kosnik <bkoz@redhat.com>
1220 * src/localename.cc: Remove stdexcept include.
1221 * src/locale-inst.cc: Same.
1222 * src/locale.cc: Same.
1223 * src/functexcept.cc: Remove string includes.
1224 * include/std/std_bitset.h: Remove stdexcept include.
1225 * testsuite/23_containers/bitset_members.cc: Add stdexcept.
1226 * testsuite/23_containers/bitset_ctor.cc: Same.
1228 2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
1230 * include/bits/stl_algo (__stl_threshold): Declare external.
1231 (__stl_chunk_size): Same.
1232 * include/bits/stl_bvector.h (__WORD_BIT): Same.
1233 * include/bits/stl_tree.h (_S_rb_tree_red): Same.
1234 (_S_rb_tree_black): Same.
1235 * src/stl-inst.cc (__stl_threshold): Define.
1236 (__stl_chunk_size): Same.
1238 (_S_rb_tree_red): Same.
1239 (_S_rb_tree_black): Same.
1241 * config/io/basic_file_libio.h (__basic_file): Add declarations.
1242 * include/bits/basic_file.h: Remove.
1243 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
1244 Declare generic types, specialization.
1245 * config/io/basic_file_stdio.cc: Definitions.
1246 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
1247 Declare generic types.
1248 * include/Makefile.am (bits_headers): Remove basic_file.h.
1249 (extra_target_headers): Change basic_file_model.h to basic_file.h.
1250 (stamp-target): Same.
1252 * include/bits/stl_alloc.h: Tweaks.
1253 * include/bits/localefwd.h: Same.
1255 2002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
1257 * include/bits/locale_facets.tcc (collate::do_hash): Fix.
1258 * testsuite/22_locale/collate_members_char.cc (test03): New test.
1259 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
1261 2002-02-10 Phil Edwards <pme@gcc.gnu.org>
1263 * include/bits/stl_algo.h (transform (both signatures), generate_n):
1264 Use __typeof__ in concept checks.
1266 2002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
1268 * include/bits/stl_algo.h (__median, for_each, find, find_if,
1269 adjacent_find, count, count_if, search, search_n, swap_ranges,
1270 transform, replace, replace_if, replace_copy, replace_copy_if,
1271 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
1272 unique, unique_copy, reverse, reverse_copy): Doxygenate.
1274 2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
1276 * include/bits/locale_facets.h
1277 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
1278 (__timepunct<_CharT>::_M_initialize_timepunct): Same.
1279 (__timepunct<_CharT>::_M_put_helper): Same.
1280 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
1282 * include/bits/fstream.tcc (filebuf::underflow): Remove
1283 __codecvt_type typedef.
1284 (filebuf::_M_convert_to_external): Same.
1286 2002-02-08 Phil Edwards <pme@gcc.gnu.org>
1288 * docs/doxygen/TODO: Update.
1289 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
1290 * docs/doxygen/mainpage.html: Add TODO list link.
1291 * docs/doxygen/user.cfg.in: Add @doctodo hook.
1292 * docs/doxygen/tables.html: New file, emoty structure only.
1294 * include/bits/stl_iterator.h: Doxygenate just about everything.
1295 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
1296 * include/bits/stl_iterator_base_types.h: Add notes.
1298 2002-02-07 Stephan Buys <sbproxy@icon.co.za>
1300 * include/bits/stl_map.h: Tweak doxygen markup.
1301 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
1302 * include/bits/stl_vector.h: Likewise.
1304 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
1308 * include/std/std_fstream.h (filebuf::__file_type): Change to
1310 (filebuf::_M_convert_to_external): Declare.
1311 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
1312 codecvt bits for wide streams.
1313 (filebuf::_M_really_overflow): Use it.
1314 (filebuf::underflow): Use codecvt.
1315 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
1316 (codecvt<__enc_traits>::do_out): Deal with partial.
1317 (codecvt<__enc_traits>::do_encoding): Return something useful.
1318 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
1320 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
1321 Change expected encoding output.
1323 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
1326 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
1327 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
1329 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
1330 (basic_ios::widen): Same.
1332 2002-02-07 Paolo Carlini <pcarlini@unitus.it>
1334 * testsuite/22_locale/money_get_members_char.cc:
1335 Add comment, tidy up.
1336 (test01): more "en_HK" tests (without showbase).
1337 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
1339 2002-02-06 Loren Rittle <ljrittle@acm.org>
1341 * config/locale/c_locale_generic.cc: Do not trust
1342 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
1345 2002-02-06 Loren Rittle <ljrittle@acm.org>
1347 * acinclude.m4: Add C++ linkage check for strtof.
1348 * aclocal.m4: Rebuilt.
1349 * config.h.in: Rebuilt.
1350 * configure: Rebuilt.
1351 * config/locale/c_locale_generic.cc: Conditionally include
1352 <ieeefp.h>. Improve handling and error checking of float
1353 and long double input for non-C99 configurations.
1355 2002-02-06 Paolo Carlini <pcarlini@unitus.it>
1357 * include/bits/locale_facets.tcc (money_get::do_get(string)):
1358 In case money_base::symbol deal properly with multi-char sign
1359 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
1360 * testsuite/22_locale/money_get_members_char.cc: Add test07.
1361 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
1363 2002-02-05 Paolo Carlini <pcarlini@unitus.it>
1365 * include/bits/locale_facets.tcc (money_get::do_get(string)):
1366 First construct a tentative returned string, then, only if the
1367 parsing succeeds, copy it into the string passed by reference.
1368 * testsuite/22_locale/money_get_members_char.cc: Add test06.
1369 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
1371 2002-02-04 Phil Edwards <pme@gcc.gnu.org>
1373 * docs/doxygen/TODO: Impl-defined behavior now documented...
1374 * docs/html/17_intro/howto.html: ...here.
1375 * docs/doxygen/mainpage.doxy: Remove, rename...
1376 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
1377 * docs/doxygen/style.css: Add small text.
1378 * docs/doxygen/run_doxygen: Adjust for new mainpage.
1379 * docs/doxygen/user.cfg.in: Likewise.
1381 2002-02-04 Stephan Buys <sbproxy@icon.co.za>
1383 * include/bits/stl_map.h: Initial doxygen markup.
1384 * include/std/std_fstream.h: Initial doxygen markup.
1386 2002-02-04 Paolo Carlini <pcarlini@unitus.it>
1389 * include/bits/locale_facets.tcc (money_get::do_get(string)):
1390 Deal correctly with !(__io.flags() & ios_base::showbase)
1391 for case money_base::symbol.
1392 * testsuite/22_locale/money_get_members_char.cc: Add test05.
1393 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
1395 2002-02-02 Paolo Carlini <pcarlini@unitus.it>
1397 * testsuite/22_locale/operators.cc
1398 (gnu_collate::do_compare()): Add return statement to
1399 suppress "no return statement" warning.
1401 2002-02-01 Paolo Carlini <pcarlini@unitus.it>
1403 * testsuite/27_io/ostream_manip.cc: Enable test02.
1405 2002-02-01 Phil Edwards <pme@gcc.gnu.org>
1407 * docs/html/documentation.html: Update for 3.0.96.
1408 * docs/html/faq/index.html: Update for 3.0.96.
1409 * docs/html/faq/index.txt: Regenerated.
1410 * docs/doxygen/TODO: Update notes.
1411 * docs/html/17_intro/howto.html: Initial impl-specific listing.
1413 2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
1415 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
1416 Initialize all data members in copy ctor. Make ctors explicit.
1417 (__enc_traits::__enc_traits()): Default ctor does nothing.
1418 (__enc_traits::_M_init): Guard against multiple iconv_opens.
1419 * include/std/std_sstream.h (basic_stringbuf): Make data members
1421 * include/std/std_fstream.h (basic_filebuf): Same.
1422 * include/std/std_streambuf.h: Tweak.
1423 * include/bits/streambuf.tcc: Same.
1424 * include/bits/sstream.tcc: Same.
1425 * include/bits/fstream.tcc: Same.
1427 2002-01-31 Loren Rittle <ljrittle@acm.org>
1429 * testsuite/22_locale/codecvt_members_char_char.cc: Do not
1430 allow NULL argument to be passed to setenv().
1431 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
1432 * testsuite/22_locale/collate_members_char.cc: Likewise.
1433 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
1434 * testsuite/22_locale/ctype_members_char.cc: Likewise.
1435 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
1436 * testsuite/22_locale/messages_members_char.cc: Likewise.
1437 * testsuite/22_locale/money_get_members_char.cc: Likewise.
1438 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
1439 * testsuite/22_locale/money_put_members_char.cc: Likewise.
1440 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1441 * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
1442 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
1443 * testsuite/22_locale/num_get_members_char.cc: Likewise.
1444 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
1445 * testsuite/22_locale/num_put_members_char.cc: Likewise.
1446 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
1447 * testsuite/22_locale/numpunct_members_char.cc: Likewise.
1448 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
1449 * testsuite/22_locale/time_get_members_char.cc: Likewise.
1450 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
1451 * testsuite/22_locale/time_put_members_char.cc: Likewise.
1452 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
1454 2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
1456 * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
1458 * ChangeLog-2001: Fix spelling errors...
1459 * docs/html/17_intro/RELEASE-NOTES: Update.
1460 * docs/html/17_intro/TODO: Update.
1461 * README (file): Update.
1463 2002-01-30 Loren Rittle <ljrittle@acm.org>
1465 * config/locale/c_locale_generic.cc: Check errno for ERANGE
1466 instead of non-zero to aid portability.
1468 2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1470 * docs/html/22_locale/messages.html: Fix example code.
1472 2002-01-30 Richard Henderson <rth@redhat.com>
1474 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
1475 out from test03 and templatize.
1478 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
1480 * config/locale/numpunct_members_gnu.cc
1481 (numpunct<char, wchar_t>::_M_initialize_numpunct()):
1482 Fix initialization of _M_grouping for locales which have
1483 _M_thousands_sep == '\0'(L'\0', respectively).
1484 * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
1486 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
1488 * testsuite/27_io/ostream_inserter_arith.cc (test03):
1489 Better fix for 32/64 bit architectures, avoiding the
1490 implicit assumption that CHAR_BIT == 8.
1492 2002-01-28 Phil Edwards <pme@gcc.gnu.org>
1494 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
1495 * Makefile.in: Regenerate.
1497 * docs/doxygen/run_doxygen: Update, mostly for man pages.
1498 * docs/doxygen/Intro.3: Update.
1499 * docs/doxygen/TODO: Update.
1500 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
1501 * docs/doxygen/mainpage.doxy: Update.
1502 * docs/doxygen/user.cfg.in: Update for header rename. Also
1503 regenerate comments and variables with 1.2.12.
1504 * docs/doxygen/maint.cfg.in: Remove file.
1506 * include/bits/stl_relops.h: Doxygenate.
1507 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
1509 * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
1510 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
1511 include/c_std/std_ciso646.h, include/c_std/std_climits.h,
1512 include/c_std/std_clocale.h, include/c_std/std_cmath.h,
1513 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
1514 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
1515 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
1516 include/c_std/std_cstring.h, include/c_std/std_ctime.h,
1517 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
1518 include/ext/algorithm, include/ext/functional, include/ext/hash_map,
1519 include/ext/hash_set, include/ext/iterator, include/ext/memory,
1520 include/ext/numeric, include/ext/rb_tree, include/ext/rope,
1521 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
1522 include/ext/stl_hashtable.h, include/ext/stl_rope.h,
1523 include/std/std_algorithm.h, include/std/std_bitset.h,
1524 include/std/std_complex.h, include/std/std_deque.h,
1525 include/std/std_fstream.h, include/std/std_functional.h,
1526 include/std/std_iomanip.h, include/std/std_ios.h,
1527 include/std/std_iosfwd.h, include/std/std_iostream.h,
1528 include/std/std_istream.h, include/std/std_iterator.h,
1529 include/std/std_limits.h, include/std/std_list.h,
1530 include/std/std_locale.h, include/std/std_map.h,
1531 include/std/std_memory.h, include/std/std_numeric.h,
1532 include/std/std_ostream.h, include/std/std_queue.h,
1533 include/std/std_set.h, include/std/std_sstream.h,
1534 include/std/std_stack.h, include/std/std_stdexcept.h,
1535 include/std/std_streambuf.h, include/std/std_string.h,
1536 include/std/std_utility.h, include/std/std_valarray.h,
1537 include/std/std_vector.h: Add/correct @file doxygen hook.
1539 * include/ext/memory: Doxygenate most of rest of file.
1540 * libsupc++/exception: Doxygen output formatting.
1541 * libsupc++/new: Say which header it is.
1543 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
1544 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
1545 * docs/html/23_containers/howto.html: Describe O(n) list::size().
1546 * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
1548 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
1549 Charles Leggett <CGLeggett@lbl.gov>
1551 * testsuite/27_io/filebuf_members.cc (test_05): Add test.
1553 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
1555 * testsuite/27_io/ostream_inserter_arith.cc (test03):
1556 Fix to deal correctly with both 32 bit and 64 bit architectures
1558 2002-01-25 Loren Rittle <ljrittle@acm.org>
1560 * testsuite/thread/pthread1.cc: Use one condition variable
1561 per predicate instead of tricky use of one condition variable.
1563 2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
1565 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
1567 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
1568 * testsuite/27_io/filebuf.cc: Compile only.
1569 * testsuite/27_io/filebuf_members.cc: Move tests to here.
1570 * testsuite/27_io/filebuf_virtuals.cc: And here.
1571 Revert sungetc, sync changes for expected values.
1572 * testsuite/27_io/filebuf-*: Move to...
1573 * testsuite/27_io/filebuf_virtuals-*: ...here.
1574 * testsuite/27_io/istream.cc: Compile only, activate.
1575 * testsuite/27_io/ostream.cc: Same.
1576 * testsuite/27_io/iostream.cc: New.
1577 * testsuite/27_io/iostream_members.cc: New.
1579 2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
1581 * testsuite/thread/pthread1.cc: Enable on cygwin.
1582 * testsuite/thread/pthread2.cc: Likewise.
1583 * testsuite/thread/pthread3.cc: Likewise.
1584 * testsuite/thread/pthread4.cc: Likewise.
1585 * testsuite/thread/pthread5.cc: Likewise.
1586 * testsuite/thread/pthread6.cc: Likewise.
1588 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
1590 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
1592 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
1594 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
1596 (basic_ios::fill(char_type)): Use fill().
1597 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
1598 (basic_ios::narrow): Same.
1599 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
1600 if they are invalid.
1601 (basic_ios::init): Comment.
1602 * testsuite/27_io/ios_init.cc (test02): New.
1604 2002-01-24 Phil Edwards <pme@gcc.gnu.org>
1606 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
1607 * include/bits/stl_algo.h: Include stl_tempbuf.h.
1608 * include/ext/memory: Do not include stl_tempbuf.h.
1609 (temporary_buffer): Add doxygen hook.
1610 (__get_temporary_buffer, get_temporary_buffer,
1611 return_temporary_buffer): Move back to std:: header...
1612 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
1613 * include/ext/rope: Do not include stl_tempbuf.h.
1614 * include/ext/stl_hashtable.h: Likewise.
1615 * include/std/std_algorithm.h: Likewise.
1616 * testsuite/20_util/temporary_buffer.cc: New file.
1618 2002-01-24 andrew@andypo.net
1619 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
1622 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
1623 * include/bits/localefwd.h: Likewise.
1624 Also use for std::locale::id::_S_highwater.
1625 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
1626 * src/locale.cc: Support new usage of _Atomic_word.
1627 (std::locale::classic): Guard entire function against reentry.
1628 * src/localename.cc: Support new usage of _Atomic_word.
1630 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
1632 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
1633 _GLIBCPP_HAVE_SETENV.
1634 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
1635 * testsuite/22_locale/collate_members_char.cc (test02): Same.
1636 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
1637 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
1638 * testsuite/22_locale/messages_members_char.cc (test02): Same.
1639 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
1640 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
1641 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
1642 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
1643 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
1644 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
1645 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
1646 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
1647 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
1648 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
1649 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
1650 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
1651 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
1652 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
1653 * aclocal.m4: Regenerate.
1654 * configure: Regenerate.
1655 * config.h.in: Regenerate.
1657 2002-01-23 Loren Rittle <ljrittle@acm.org>
1659 * testsuite/thread/pthread1.cc: New test.
1660 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
1661 * testsuite/thread/pthread3.cc: Likewise.
1662 * testsuite/thread/pthread4.cc: New test adapted from
1663 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
1664 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
1665 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
1667 2002-01-23 Richard Henderson <rth@redhat.com>
1670 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
1671 CAS on the cpu variants that support it. Add versions that use
1672 TAS and that disable interrupts.
1673 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
1675 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
1677 * include/bits/locale_facets.tcc: Remove old comments.
1679 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
1681 * include/bits/locale_facets.tcc (__convert_to_v): Change template
1683 (__convert_from_v): Same.
1685 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
1687 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
1689 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
1690 __max_digits checks, adjust arguments.
1691 (num_get::do_get(*)): Changeup.
1693 2002-01-23 Loren Rittle <ljrittle@acm.org>
1695 * config/locale/c_locale_generic.cc: Fix typename usage.
1697 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1699 * config/locale/c_locale_generic.cc: Fix.
1701 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1703 * docs/html/22_locale/messages.html: Remove angle brackets.
1704 * docs/html/17_intro/TODO: Add.
1706 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
1708 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
1709 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
1710 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
1711 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
1713 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1715 Audit for LANG independence.
1716 * include/bits/localefwd.h: Tweaks.
1717 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
1719 (time_get::do_get_year): Same.
1720 (__convert_from_v): Add.
1721 (num_put::_M_convert_float): Use.
1722 (num_put::_M_convert_int): Same.
1723 (money_put::do_put): Same.
1725 * src/locale-inst.cc: Add instantiations for __convert_from_v.
1726 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
1727 * config/locale/time_members_generic.cc:
1728 * config/locale/messages_members_gnu.cc: Same.
1729 * config/locale/messages_members_gnu.h: Same.
1731 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
1732 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
1733 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
1734 * testsuite/22_locale/collate_members_char.cc (test02): New.
1735 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
1736 * testsuite/22_locale/ctype_members_char.cc (test03): New.
1737 * testsuite/22_locale/messages_members_char.cc (test02): New.
1738 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
1739 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
1740 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
1741 * testsuite/22_locale/money_get_members_char.cc (test04): New.
1742 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
1743 * testsuite/22_locale/money_put_members_char.cc (test04): New.
1744 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
1745 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
1746 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
1747 * testsuite/22_locale/time_put_members_char.cc (test03): New.
1748 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
1749 * testsuite/22_locale/time_get_members_char.cc (test07): New.
1750 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
1751 * testsuite/22_locale/num_get_members_char.cc (test03): New.
1752 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
1753 * testsuite/22_locale/num_put_members_char.cc (test03): New.
1755 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
1757 * testsuite/22_locale/time_get_members_char.cc: Same.
1759 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1762 * include/bits/localefwd.h: Tweak comments.
1763 * include/bits/locale_facets.h (__convert_to_v): Add.
1764 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
1765 (num_get::do_get(float)): Same.
1766 (num_get::do_get(long double)): Same.
1767 (num_get::do_get(bool)): Same.
1768 (num_get::do_get(long)): Same.
1769 (num_get::do_get(long long)): Same.
1770 (num_get::do_get(unsigned int)): Same.
1771 (num_get::do_get(unsigned short)): Same.
1772 (num_get::do_get(unsigned long)): Same.
1773 (num_get::do_get(unsigned long long)): Same.
1774 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
1775 * config/locale/c_locale_generic.cc: Same.
1777 2002-01-22 Loren Rittle <ljrittle@acm.org>
1779 * include/Makefile.am (c_base_builddir): Remove redundant slash.
1780 (std_builddir): Likewise.
1781 (std_headers_rename): Fix cut-n-paste typo.
1782 (install-data-local): Concat path per element instead of once to
1783 first element of list.
1784 * include/Makefile.in: Rebuilt.
1786 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1788 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
1789 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
1790 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
1792 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
1794 * include/bits/locale_facets.h (ctype<char>::classic_table):
1796 (ctype<char>::_S_ctable): Remove.
1797 * config/os/gnu-linux/bits/ctype_noninline.h
1798 (ctype<char>::_S_table): Remove definition.
1799 (ctype<char>::classic_table): Define.
1800 (ctype<char>::ctype): Replace _S_ctable with classic_table().
1801 * config/os/aix/bits/ctype_noninline.h: Same.
1802 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
1803 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
1804 * config/os/djgpp/bits/ctype_noninline.h: Same.
1805 * config/os/generic/bits/ctype_noninline.h: Same.
1806 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
1807 * config/os/hpux/bits/ctype_noninline.h: Same.
1808 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
1809 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
1810 * config/os/mingw32/bits/ctype_noninline.h: Same.
1811 * config/os/newlib/bits/ctype_noninline.h: Same.
1812 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1813 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
1814 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
1816 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
1818 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
1819 of _pctype. Use to define _S_ctable. Add definition for alternate
1820 ctor. Initialise _M_ctable to _S_ctable in ctors.
1821 (do_toupper, do_tolower): Use inline code appropriate for C-locale
1822 rather than ::toupper, ::tolower.
1824 2002-01-18 Loren Rittle <ljrittle@acm.org>
1826 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
1827 Add specialization for FreeBSD systems only to avoid losing test
1828 only due to extra precision unmentioned in system headers.
1830 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
1832 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
1834 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1836 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
1837 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
1839 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1841 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
1843 2002-01-17 David Edelsohn <edelsohn@gnu.org>
1845 * configure.target: Define OPT_LDFLAGS for AIX case.
1847 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1849 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
1850 __glibcpp_double_has_quiet_NaN): Correct mispelling.
1852 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
1854 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
1856 2002-01-16 David Edelsohn <dje@watson.ibm.com>
1858 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
1859 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
1860 * aclocal.m4: Regenerate.
1861 * configure: Regenerate.
1863 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
1865 * include/Makefile.am (c_base_headers_rename): New.
1866 (c_base_headers_extra): New.
1867 (stamp-c_base): Modify.
1868 (install-data-local): Use both.
1869 * include/Makefile.in: Regenerate.
1870 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
1871 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
1872 cstdio ctime cwctype]: Move to..
1873 * include/c/std_*: Here.
1874 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
1875 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
1876 cstdio ctime cwctype]: Move to..
1877 * include/c_std/std_*: Here.
1879 Alexandre Oliva <aoliva@redhat.com>
1880 * include/Makefile.am (.PRECIOUS): Add rule.
1881 * include/Makefile.in: Regenerate.
1883 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
1884 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1886 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
1887 Deuglify, should be current.
1888 (back_insert_iterator::_M_container): Deuglify, should be container.
1889 (front_insert_iterator::_M_container): Same.
1890 (insert_iterator::_M_container): Same.
1891 * testsuite/24_iterators/reverse_iterator.cc: Add check.
1892 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
1893 * testsuite/24_iterators/front_insert_iterator.cc: Same.
1894 * testsuite/24_iterators/insert_iterator.cc: Same.
1896 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
1898 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
1900 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
1901 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
1902 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
1903 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
1904 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1905 * config/os/newlib/bits/ctype_noninline.h: Same.
1906 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
1907 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
1908 * config/os/hpux/bits/ctype_noninline.h: Same.
1909 * config/os/djgpp/bits/ctype_noninline.h: Same.
1910 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
1911 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
1912 * config/os/aix/bits/ctype_noninline.h: Same.
1914 Testcase by Dietmar Kühl via Peter Schmid
1915 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
1918 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
1920 * libmath/signbitl.c: Copyright years as list, not range.
1921 * libmath/Makefile.am: Same.
1922 * libmath/Makefie.in: Regenerate.
1923 * libmath/signbit.c: Same.
1924 * libmath/nan.c: Same.
1925 * libmath/copysignf.c: Same.
1926 * libmath/signbitf.c: Same.
1927 * testsuite/22_locale/money_get_members_char.cc: Same.
1928 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
1929 * testsuite/22_locale/money_put_members_char.cc: Same.
1930 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
1931 * testsuite/22_locale/time_get_members_char.cc: Same.
1932 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
1933 * testsuite/22_locale/time_put_members_char.cc: Same.
1934 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
1935 * testsuite/21_strings/nonmember.cc: Same.
1936 * testsuite/21_strings/compare.cc: Same.
1937 * testsuite/27_io/stringstream.cc: Same.
1938 * testsuite/27_io/stringbuf.cc: Same.
1939 * testsuite/27_io/filebuf.cc: Same.
1940 * testsuite/27_io/ios_manip_basefield.cc: Same.
1941 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
1942 * include/bits/cpp_type_traits.h: Same.
1943 * include/bits/generic_shadow.h: Same.
1944 * include/bits/gslice_array.h: Same.
1945 * include/bits/gslice.h: Same.
1946 * include/bits/indirect_array.h: Same.
1947 * include/bits/slice_array.h: Same.
1948 * include/bits/sstream.tcc: Same.
1949 * include/bits/streambuf_iterator.h: Same.
1950 * include/bits/valarray_array.tcc: Same.
1951 * include/bits/valarray_meta.h: Same.
1952 * include/bits/valarray_array.h: Same.
1953 * config/os/mingw32/bits/ctype_noninline.h: Same.
1954 * config/os/mingw32/bits/ctype_base.h: Same.
1955 * config/os/hpux/bits/ctype_noninline.h: Same.
1956 * config/os/hpux/bits/ctype_base.h: Same.
1957 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
1958 * config/os/gnu-linux/bits/ctype_base.h: Same.
1959 * config/os/generic/bits/ctype_noninline.h: Same.
1960 * config/os/generic/bits/ctype_base.h: Same.
1962 * libsupc++/tinfo.h: Tweaks.
1964 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
1966 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
1967 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
1968 * testsuite/22_locale/ctype_members_char.cc: Tweak.
1970 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
1972 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
1973 (num_put::do_put(void*)): Fix.
1974 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
1975 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
1976 * testsuite/22_locale/num_get_members_char.cc (test02): Add
1977 long double, void, bool types.
1978 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
1980 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
1981 Alexandre Oliva <aoliva@redhat.com>
1983 * libmath/Makefile.am (LINK): Add --tag CC.
1984 * libmath/Makefile.in: Regenerate.
1986 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
1988 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
1989 of character to attribute mapping table.
1991 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
1993 * testsuite/26_numerics/c99_classification_macros_c.cc
1994 Remove dg-error and dg-excess-errors comments.
1996 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
1998 * include/bits/locale_facets.tcc (time_put::put): Correct output
2000 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
2001 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
2002 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
2003 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
2005 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
2007 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
2009 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
2010 Nathan Myers <ncm@cantrip.org>
2012 * include/bits/basic_string.h
2013 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
2014 temporaries (i.e., call _M_replace_safe) when possible.
2015 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
2016 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
2017 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
2018 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
2019 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
2020 * include/bits/basic_string.tcc
2021 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
2022 replace(__pos, __n1, __s, __n2).
2023 * testsuite/21_strings/replace.cc (test03): New testcases.
2025 * include/bits/basic_string.h (insert(__pos, __s, __n)):
2026 Adjust comparison wrt overflow.
2028 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
2030 * include/Makefile.am (std_headers_rename): New variable.
2031 (install-data-local): Use it.
2032 * include/Makefile.in: Regenerate.
2034 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
2036 * include/bits/locale_facets.tcc (money_put::do_put(string):
2037 Correct output iterator value.
2038 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
2039 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
2041 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
2043 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
2046 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
2048 * include/Makefile.am (std_headers): Update list with new names.
2049 (stamp-std): Link to standardized name.
2050 * include/Makefile.in: Regenerate.
2052 * include/std/algorithm, include/std/bitset, include/std/complex,
2053 include/std/deque, include/std/fstream, include/std/functional,
2054 include/std/iomanip, include/std/ios, include/std/iosfwd,
2055 include/std/iostream, include/std/istream, include/std/iterator,
2056 include/std/limits, include/std/list, include/std/locale,
2057 include/std/map, include/std/memory, include/std/numeric,
2058 include/std/ostream, include/std/queue, include/std/set,
2059 include/std/sstream, include/std/stack, include/std/stdexcept,
2060 include/std/streambuf, include/std/string, include/std/utility,
2061 include/std/valarray, include/std/vector: Rename to...
2063 * include/std/std_algorithm.h, include/std/std_bitset.h,
2064 include/std/std_complex.h, include/std/std_deque.h,
2065 include/std/std_fstream.h, include/std/std_functional.h,
2066 include/std/std_iomanip.h, include/std/std_ios.h,
2067 include/std/std_iosfwd.h, include/std/std_iostream.h,
2068 include/std/std_istream.h, include/std/std_iterator.h,
2069 include/std/std_limits.h, include/std/std_list.h,
2070 include/std/std_locale.h, include/std/std_map.h,
2071 include/std/std_memory.h, include/std/std_numeric.h,
2072 include/std/std_ostream.h, include/std/std_queue.h,
2073 include/std/std_set.h, include/std/std_sstream.h,
2074 include/std/std_stack.h, include/std/std_stdexcept.h,
2075 include/std/std_streambuf.h, include/std/std_string.h,
2076 include/std/std_utility.h, include/std/std_valarray.h,
2077 include/std/std_vector.h: ...this.
2079 2002-01-11 Loren Rittle <ljrittle@acm.org>
2081 * include/Makefile.am (extra_target_headers): New list of all
2082 target files built with ad hoc naming rules.
2083 (stamp-*): Handle LN_S failure in manner portable across make
2085 (install-data-local): Install header files from human-maintained
2086 file lists and directory components instead of non-robust find.
2087 * include/Makefile.in: Rebuilt.
2089 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
2091 * include/bits/locale_facets.tcc (money_get::do_get(string)):
2092 Check for zero-length negative sign before adding it to output
2094 (money_get::do_get(long double)): Return beg.
2095 * testsuite/22_locale/money_get_members_char.cc (test02): Add
2097 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
2099 2002-01-10 David Seymour <seymour_dj@yahoo.com>
2102 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
2103 for _M_extract_float and _M_extract_int
2104 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
2105 (num_get<>::_M_extract_int): Likewise, all callers changed
2106 * testsuite/22_locale/num_get_members_char.cc: Testcase
2108 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
2110 * libsupc++/exception (bad_exception): Add comment.
2111 * libsupc++/new (bad_alloc): Same.
2112 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
2114 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
2116 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
2117 that the destructors should be removed from the descriptions
2118 in the standard: writing them explicitly allows the vtable
2119 heuristic to work. For additional information see:
2120 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
2121 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
2122 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
2123 * libsupc++/exception (bad_exception::~bad_exception()):
2124 Reintroduce declaration.
2125 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
2126 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
2127 (bad_typeid::~bad_typeid()): Same.
2128 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
2129 Reintroduce definition.
2130 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
2131 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
2132 (bad_typeid::~bad_typeid()): Same.
2134 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
2136 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
2137 * include/Makefile.in: Regenerate.
2139 2002-01-09 Bo Thorsen <bo@suse.co.uk>
2141 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
2144 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
2148 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
2149 return value of _M_file->sync().
2150 (filebuf::showmanyc): Check for is_open.
2151 * include/std/fstream (filebuf::sync): Tweak.
2152 * testsuite/27_io/filebuf.cc: Tweak.
2154 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
2155 Brad Garcia <garsh@attbi.com>
2157 * testsuite/27_io/filebuf_members.cc: Add test.
2159 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
2160 Craig Rodrigues <rodrigc@mediaone.net>
2163 * po/Makefile.am (mkinstalldirs): Add.
2164 * po/Makefile.in: Regenerate.
2166 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
2168 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
2169 testsuite/lib/prune.exp: Delete lines ":In function ..." from
2171 * testsuite/23_containers/map_operators.cc: Remove
2172 dg-excess-errors comment.
2173 * testsuite/23_containers/set_operators.cc: Likewise.
2175 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
2177 * include/bits/stl_function.h: Remove two lines of comments;
2178 adjust copyright years.
2180 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
2182 * include/Makefile.am (std_headers): Remove cXXX from list.
2183 (c_base_srcdir): No bits subdirectory.
2184 (c_base_builddir): Same.
2185 (c_base_headers): Adjust names, add ciso646.
2186 (bits_headers): Remove std_xxx.h headers.
2187 * include/Makefile.in: Regenerate.
2189 * include/ext/iterator: Adjust includes.
2190 * include/ext/ropeimpl.h: Same.
2191 * include/ext/stl_hash_fun.h: Same.
2192 * include/ext/algorithm: Same.
2194 * include/backward/bvector.h: Adjust includes.
2195 * include/backward/vector.h: Same.
2196 * include/backward/strstream: Same.
2197 * include/backward/streambuf.h: Same.
2198 * include/backward/stack.h: Same.
2199 * include/backward/set.h: Same.
2200 * include/backward/queue.h: Same.
2201 * include/backward/multiset.h: Same.
2202 * include/backward/multimap.h: Same.
2203 * include/backward/map.h: Same.
2204 * include/backward/list.h: Same.
2205 * include/backward/iterator.h: Same.
2206 * include/backward/iostream.h: Same.
2207 * include/backward/iomanip.h: Same.
2208 * include/backward/fstream.h: Same.
2209 * include/backward/deque.h: Same.
2210 * include/backward/complex.h: Same.
2212 * include/bits/std_algorithm.h: Move to...
2213 * include/std/algorithm: ...here.
2214 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
2215 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
2216 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
2217 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
2218 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
2219 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
2220 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
2223 * include/c_std/bits/std_cassert.h: Move to...
2224 * include/c_std/cassert: Here.
2225 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
2226 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
2227 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
2228 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
2229 std_cwctype.h: Same.
2230 * include/c_std/cmath: Adjust cmath.tcc include.
2231 * include/c_std/cstdlib: Adjust includes.
2232 * include/c_std/cwchar: Same.
2233 * include/c_std/ctime: Same.
2234 * include/c_std/cstring: Same.
2235 * include/c_std/cstdio: Same.
2236 * include/c_std/bits: Remove directory.
2238 * include/c/bits/std_cassert.h: Move to...
2239 * include/c/cassert: Here.
2240 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
2241 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
2242 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
2243 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
2244 std_cwctype.h: Same.
2245 * include/c/bits: Remove directory.
2247 * include/std/cwctype: Remove.
2248 * include/std/cwchar: Remove.
2249 * include/std/ctime: Remove.
2250 * include/std/cstring: Remove.
2251 * include/std/cstdlib: Remove.
2252 * include/std/cstdio: Remove.
2253 * include/std/cstddef: Remove.
2254 * include/std/cstdarg: Remove.
2255 * include/std/csignal: Remove.
2256 * include/std/csetjmp: Remove.
2257 * include/std/cmath: Remove.
2258 * include/std/clocale: Remove.
2259 * include/std/climits: Remove.
2260 * include/std/ciso646: Remove.
2261 * include/std/cfloat: Remove.
2262 * include/std/cerrno: Remove.
2263 * include/std/cctype: Remove.
2264 * include/std/cassert: Remove.
2266 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
2267 files and subsituting <xxx>.
2268 * include/bits/valarray_array.h: Same.
2269 * include/bits/stl_uninitialized.h: Same.
2270 * include/bits/stl_alloc.h: Same.
2271 * include/bits/stl_algobase.h: Same.
2272 * include/bits/sstream.tcc: Same.
2273 * include/bits/pthread_allocimpl.h: Same.
2274 * include/bits/ostream.tcc: Same.
2275 * include/bits/localefwd.h: Same.
2276 * include/bits/locale_facets.tcc: Same.
2277 * include/bits/locale_facets.h: Same.
2278 * include/bits/istream.tcc: Same.
2279 * include/bits/char_traits.h: Same.
2280 * include/bits/boost_concept_check.h: Same.
2281 * include/bits/basic_file.h: Same.
2282 * include/std/bitset: Same.
2283 * include/std/complex: Same.
2284 * include/std/fstream: Same.
2285 * include/std/functional: Same.
2286 * include/std/ios: Same.
2287 * include/std/iostream: Same.
2288 * include/std/ostream: Same.
2289 * include/std/sstream: Same.
2290 * include/std/streambuf: Same.
2291 * include/std/string: Same.
2292 * include/std/iterator: Same.
2293 * include/std/valarray: Same.
2295 * src/ios.cc: Adjust includes.
2296 * src/valarray-inst.cc: Same.
2297 * src/string-inst.cc: Same.
2298 * src/stl-inst.cc: Same.
2299 * src/stdexcept.cc: Same.
2300 * src/misc-inst.cc: Same.
2301 * src/localename.cc: Same.
2302 * src/locale-inst.cc: Same.
2303 * src/locale.cc: Same.
2304 * src/limits.cc: Same.
2305 * src/concept-inst.cc: Same.
2306 * src/complex_io.cc: Same.
2307 * src/codecvt.cc: Same.
2308 * src/bitset.cc: Same.
2309 * src/cmath.cc: Same.
2311 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
2313 * include/bits/stl_tree.h (rb_tree): Move to...
2314 * include/ext/rb_tree: ...here, new file.
2315 * include/Makefile.am (ext_headers): Add new file.
2316 * include/Makefile.in: Regenerate.
2317 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
2318 return_temporary_buffer, struct temporary_buffer): Move to...
2319 * include/ext/memory: ...here.
2320 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
2321 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
2322 * include/backward/tree.h: Include <ext/rb_tree), tweak.
2324 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
2326 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
2327 * include/ext/numeric: ...here, new file.
2328 * include/bits/stl_function.h (identity_element, unary_compose,
2329 binary_compose, compose1, compose2, identity, select1st,
2330 select2nd, project1st + helper, project2nd + helper,
2331 constant_void_fun + helper, constant_unary_fun + helper,
2332 costant_binary_fun + helper, constant0, constant1, constant2,
2333 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
2334 * include/ext/functional: ...here, new file.
2335 * include/Makefile.am (ext_headers): Add new files.
2336 * include/Makefile.in: Regenerate.
2337 * testsuite/ext/headers.cc: Include <ext/numeric> and
2339 * include/backward/algo.h: Include <ext/numeric>, tweak.
2340 * include/backward/function.h: Include <ext/functional>, tweak.
2341 * include/ext/ropeimpl.h: Include <ext/numeric>.
2343 2002-01-03 Jeffrey A Law <law@redhat.com>
2345 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
2346 __strtoull declarations with __extension__.
2348 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
2350 * testsuite/lib/prune.exp: Correct regular expression for
2353 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
2355 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
2356 Change concept checks, as with lower_bound and PR 2054.
2357 * testsuite/ext/concept_checks.cc: Expand test to include those.
2359 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
2361 * include/bits/boost_concept_check.h: Import some changes from
2362 upsteam (Boost) version.
2364 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
2366 * include/bits/stl_algobase.h (copy_n + helpers,
2367 lexicographical_compare_3way + helpers): Move to...
2368 * include/ext/algorithm: ...here.
2369 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
2370 helpers): Move to...
2371 * include/ext/memory: ...here, new file.
2372 * include/Makefile.am (ext_headers): Add new file.
2373 * include/Makefile.in: Regenerate.
2374 * testsuite/ext/headers.cc: Include <ext/memory>.
2375 * include/backward/algobase.h: Include <ext/memory> and
2376 <ext/algorithm>, tweak.
2377 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
2378 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
2380 2002-01-01 Roger Sayle <roger@eyesopen.com>
2382 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
2383 equivalent ___builtin__ versions.
2385 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
2386 are available in libstdc++ as the necessary stub implementations
2387 are provided by libmath/stubs.c.
2389 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
2391 * configure.in: Add support for NetBSD cross compiles.
2392 * configure: Regenerate.