1 2002-06-11 J.T. Conklin <jtc@acorntoolworks.com>
2 Benjamin Kosnik <bkoz@redhat.com>
4 * configure.target: Set os_include_dir to config/os/qnx/qnx6.1
6 * configure.in: Add support for *-qnx6.[12]*.
7 * configure: Regenerate.
9 * config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
11 * config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
12 ctype_noninline.h, os_defines.h: New files.
14 2002-06-10 Loren J. Rittle <ljrittle@acm.org>
16 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): Reorder and
17 include all required headers for test against older POSIX standard.
18 (GLIBCPP_CHECK_SETRLIMIT): Likewise.
19 (ac_setrlimit): Likewise.
20 * aclocal.m4: Regenerate.
21 * configure: Regenerate.
22 * testsuite/testsuite_hooks.cc: Reorder and include all
23 required headers for use against older POSIX standard.
25 2002-06-08 Paolo Carlini <pcarlini@unitus.it>
27 * testsuite/backwards/strstream_members.cc: New.
29 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
31 * include/backwards/strstream: Format.
32 * src/strstream.cc: Format.
34 2002-06-08 Andreas Schwab <schwab@suse.de>
36 * src/strstream.cc (strstreambuf::overflow): Set _M_buf,
37 _M_buf_size and _M_buf_size_opt to the new buffer and size.
39 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
41 * config/os/generic/bits/ctype_noninline.h: Tweak format.
43 2002-06-07 Steve Ellcey <sje@cup.hp.com>
45 * src/locale-inst.cc (__codecvt_abstract_base):
46 Put inside _GLIBCPP_USE_WCHAR_T ifdef.
47 * include/bits/istream.tcc (basic_istream): Ditto.
50 * include/bits/ostream.tcc (basic_ostream): Ditto.
56 2002-06-07 Phil Edwards <pme@gcc.gnu.org>
58 * mkcheck.in: Link against local testsuite library.
59 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Move null
61 * testsuite/testsuite_hooks.cc: ...to here.
63 2002-06-06 Loren J. Rittle <ljrittle@acm.org>
65 * src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
66 * include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
67 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
68 * src/Makefile.in: Regenerate (explicitly with --cygnus option).
69 * testsuite/Makefile.in: Likewise.
71 2002-06-05 David Edelsohn <edelsohn@gnu.org>
73 * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
76 2002-06-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
78 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
79 Search correct multilib testsuite dir for libv3test.
81 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
82 Gaby Dos Reis <gdr@codesourcery.com>
84 * include/bits/basic_string.tcc
85 (basic_string::_S_construct(forward_iterator_tag):
86 Fix typo in null pointer check.
87 * testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
89 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
91 * testsuite/22_locale/money_get_members_char.cc
92 (test02): Add decimal point to long double constants.
93 * testsuite/22_locale/money_get_members_wchar_t.cc
95 * testsuite/22_locale/money_put_members_char.cc
96 (test02, test03, test06): Likewise.
97 * testsuite/22_locale/money_put_members_wchar_t.cc:
98 (test02, test03, test06): Likewise.
99 * testsuite/22_locale/num_get_members_char.cc:
100 (test02, test01): Likewise; suffix long long constants with LL.
101 * testsuite/22_locale/num_get_members_wchar_t.cc:
102 (test02, test01): Likewise.
103 * testsuite/22_locale/num_put_members_char.cc:
104 (test02, test01): Likewise.
105 * testsuite/22_locale/num_put_members_wchar_t.cc:
106 (test02, test01): Likewise.
108 2002-06-03 Marc Espie <espie@openbsd.org>
110 * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
111 assembly for old assemblers.
113 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
115 * include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
117 (vector<bool>::swap(reference,reference)): ...to this.
119 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
121 * docs/doxygen/TODO: Update.
122 * docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS): Set to off, now that
123 some class members are in 14882 order.
124 * docs/html/ext/howto.html: 3.1 is in the past now, not the future.
126 * include/std/std_bitset.h: Update comment.
127 * src/bitset.cc: Update comments, clean up spacing.
129 * src/Makefile.am (sources): Alphabetize for convenience.
130 * src/Makefile.in: Regenerate.
132 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
134 * include/bits/stl_deque.h, include/bits/stl_list.h,
135 include/bits/stl_vector.h: Reformat to (mostly) match C++STYLE.
136 Reorder to match 14882. Doxygen blocks for all public members.
138 2002-05-31 Marcus Meissner <meissner@suse.de>
141 * include/bits/stl_bvector.h: Use UL suffix for unsigned longs.
142 * testsuite/23_containers/vector_bool.cc (test02): New test.
144 2002-05-30 Marc Espie <espie@openbsd.org>
146 * configure.in: Always check for sys/types.h
147 * configure: Regenerate.
149 2002-05-28 Nick Clifton <nickc@cambridge.redhat.com>
151 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
152 Rebuild the wrapper file every time this proc is called.
154 2002-05-28 Phil Edwards <pme@gcc.gnu.org>
156 * testsuite/Makefile.am (noinst_LIBRARIES): New target. Pull in
158 * testsuite/Makefile.in: Regenerate.
159 * testsuite/testsuite_hooks.h (gnu_copy_tracker): Move from
160 list_modifiers.cc and rename from 'T'. Move code bodies...
161 * testsuite/testsuite_hooks.cc: ...to here. New file.
162 * testsuite/23_containers/list_modifiers.cc: Move 'T' class out.
163 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
164 Add libv3test.a to link options.
166 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
168 * src/misc-inst.cc: Define unnecessary algorithm
169 instantiations. Break apart instantiations into groupings below.
170 * src/fstream-inst.cc: New.
171 * src/io-inst.cc: New.
172 * src/istream-inst.cc: New.
173 * src/ostream-inst.cc: New.
174 * src/streambuf-inst.cc: New.
175 * src/sstream-inst.cc: New.
176 * src/Makefile.am (sources): Add files.
177 * src/Makefile.in: Regenerate.
179 * acinclude.m4: Work around automake 1.4-p5 bug, change
180 AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
182 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
185 * config/os/solaris/solaris2.6/bits/ctype_noninline.h
186 (classic_table): Fix.
187 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
189 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
191 * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
192 _GLIBCPP_USE_WCHAR_T.
193 * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
194 * testsuite/22_locale/ctype_to_wchar_t.cc: Same.
195 * testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
197 2002-05-26 Carlo Wood <carlo@alinoe.com>
198 Paolo Carlini <pcarlini@unitus.it>
201 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
202 (__enc_traits::operator=): add missing return statement.
204 2002-05-24 Phil Edwards <pme@gcc.gnu.org>
207 * include/std/std_bitset.h (_Base_biteset<0>): New specialization.
208 (operator>>): If nothing was extracted, don't fail in the
210 * testsuite/23_containers/bitset_ctor.cc (test02): New test.
212 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
215 * testsuite/22_locale/ctype_narrow_char.cc: New.
216 * testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
217 * testsuite/22_locale/ctype_widen_char.cc: New.
218 * testsuite/22_locale/ctype_widen_wchar_t.cc: New.
219 * testsuite/22_locale/ctype_members_char.cc: Move some bits into...
220 * testsuite/22_locale/ctype_is_char.cc: ...this.
221 * testsuite/22_locale/ctype_to_char.cc: ...and this.
222 * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
223 * testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
224 * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
226 * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
228 2002-05-24 Dale Peakall <dale@peakall.net>
231 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
232 * config/locale/generic/ctype_members.cc: Same.
234 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
237 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
238 for empty string literal.
239 (ostream::operator<<(const _CharT*)): Same.
240 (ostream<char>::operator<<(const char*)): Same.
241 (ostream<char>::operator<<(streambuf*)): Same.
242 * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
243 * testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
245 2002-05-23 Benjamin Kosnik <bkoz@redhat.com>
247 * configure.in (release_VERSION): Update to 3.1.1.
248 (libtool_VERSION): Update to 4:1:0.
249 * configure: Regenerate.
251 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
253 * include/bits/stl_pair.h: Tweak comment markup.
255 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
257 * include/ext/stdio_filebuf.h: Add header guards. Doxygenate.
259 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
261 * docs/doxygen/user.cfg.in (EXCLUDE): Add 'CVS'.
263 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
265 * include/bits/stl_vector.h: Reformat to follow C++STYLE.
266 Doxygenate all public members. Reorder to follow 14882.
267 (vector::push_back(void)): Remove previously-deprecated fn.
268 (vector::insert(iterator), vector::_M_insert_aux(iterator)):
269 Deprecate for removal in 3.3.
271 2002-05-20 Phil Edwards <pme@gcc.gnu.org>
273 * docs/html/faq/index.html (5.4): Recommend against -I options for
274 finding the ext headers.
275 * docs/html/faq/index.txt: Regenerate.
277 2002-05-19 Paolo Carlini <pcarlini@unitus.it>
279 * testsuite/23_containers/deque_operators.cc (test01):
280 Fix minor typo in last commit.
282 2002-05-18 Paolo Carlini <pcarlini@unitus.it>
285 * include/bits/stl_deque.h (_Deque_iterator::operator==,
286 operator!=, operator<, operator>, operator>=, operator<=):
287 Make non-member functions, to allow comparing const and
288 non-const iterators in any order.
289 * testsuite/23_containers/deque_operators.cc: New testfile.
291 2002-05-16 Phil Edwards <pme@gcc.gnu.org>
293 * docs/html/faq/index.html: Update not-a-bug list with basic_file.h.
294 * docs/html/faq/index.txt: Regenerate.
296 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
298 * Makefile.am: Allow for PWDCMD to override hardcoded pwd.
299 * acinclude.m4: Likewise.
300 * docs/html/Makefile: Likewise.
301 * aclocal.m4: Regenerate.
302 * configure: Regenerate.
303 * Makefile.in: Regenerate.
305 2002-05-15 Loren J. Rittle <ljrittle@acm.org>
308 * include/bits/c++config (__USE_MALLOC): Report case where
309 the user improperly defined it on the command line.
311 2002-05-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
313 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
314 Retrieve current limits before setting.
316 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
319 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
321 (ostream::operator<<(const _CharT*)): Same.
322 (ostream<char>::operator<<(const char*)): Same.
323 * testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
325 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
328 * src/strstream.cc (strstreambuf): Fix leak.
330 2002-05-15 Paolo Carlini <pcarlini@unitus.it>
333 * include/bits/istream.tcc (istream::getline, ignore):
334 Upon __idelim (__delim) call sbumpc() not snextc().
335 * testsuite/27_io/narrow_stream_objects.cc:
336 Add test08 and test09.
338 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
340 * testsuite/22_locale/ctype_scan_char.cc: Tweak.
341 * testsuite/22_locale/ctype_scan_wchar_t.cc: New.
343 * docs/html/install.html: Fix.
345 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
347 * include/bits/fstream.tcc
348 (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
350 * src/localename.cc (locale::_Impl::_M_install_facet): Same.
352 * docs/html/install.html: Tweak, add bits about required locales
353 for the 22_locale tests when using the gnu model.
355 * testsuite/27_io/istream_sentry.cc: Tweak.
357 2002-05-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
359 * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
360 Fix typo, use this->is() rather than manually (and perhaps
361 incorrectly) inlining it.
362 * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
364 * testsuite/22_locale/ctype_scan_char.cc: New file.
366 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
367 Jakub Jelinek <jakub@redhat.com>
369 * testsuite/22_locale/money_get_members_char.cc
370 (test01, test02, test04): Use the de_DE@euro named locale
371 instead of de_DE to allow for an uniform behaviour with
372 both old and Euro-era localedata; tweak some tests.
373 * testsuite/22_locale/money_get_members_wchar_t.cc
374 (test01, test02, test04): Likewise.
375 * testsuite/22_locale/money_put_members_char.cc
376 (test01, test02, test04): Likewise.
377 * testsuite/22_locale/money_put_members_wchar_t.cc
378 (test01, test02, test04): Likewise.
380 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
382 * testsuite/22_locale/codecvt_members_char_char.cc
383 (test03): Robustify wrt localedata.
384 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
385 * testsuite/22_locale/collate_members_char.cc (test04): Likewise.
386 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
387 * testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
388 * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
389 * testsuite/22_locale/messages_members_char.cc (test03): Likewise.
390 * testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
391 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
392 * testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
393 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
394 * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
395 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
396 * testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
397 * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
398 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
399 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
400 * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
401 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
402 * testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
403 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
404 * testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
405 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
407 2002-05-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
409 * config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
412 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
414 * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
415 to 64 for hppa 64-bit port.
416 (__glibcpp_long_double_bits): Define to 64 for all hppa ports.
418 2002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
420 * acinclude.m4 (enable_symvers): Quote $LD.
421 * aclocal.m4: Regenerate.
422 * configure: Likewise.
424 2002-05-09 Jakub Jelinek <jakub@redhat.com>
426 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
427 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
430 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
432 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
433 script entry, and set LD to it when configuring multilibs.
434 * configure: Rebuilt.
436 2002-05-07 Mark Mitchell <mark@codesourcery.com>
438 * configure.in: Add support for WindISS.
439 * configure: Regenerated.
440 * configure.target: Add support for WindISS.
441 * config/os/windiss/bits/ctype_base.h: New file.
442 * config/os/windiss/bits/ctype_inline.h: Likewise.
443 * config/os/windiss/bits/ctype_noninline.h: Likewise.
444 * config/os/windiss/bits/os_defines.h: Likewise.
446 2002-05-06 Paolo Carlini <pcarlini@unitus.it>
448 Test all the facets for the temporary "C" locale switch issue.
449 * testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
450 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
451 * testsuite/22_locale/collate_members_char.cc: Add test04.
452 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
453 * testsuite/22_locale/ctype_members_char.cc: Add test05.
454 * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
455 * testsuite/22_locale/messages_members_char.cc: Add test03.
456 * testsuite/22_locale/money_get_members_char.cc: Add test08.
457 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
458 * testsuite/22_locale/money_put_members_char.cc: Add test07.
459 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
460 * testsuite/22_locale/moneypunct_members_char.cc: Add test03.
461 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
462 * testsuite/22_locale/num_get_members_char.cc: Add test06.
463 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
464 * testsuite/22_locale/numpunct_members_char.cc: Add test03.
465 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
466 * testsuite/22_locale/time_get_members_char.cc: Add test08.
467 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
468 * testsuite/22_locale/time_put_members_char.cc: Add test04.
469 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
471 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
472 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
474 2002-05-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
476 * config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
477 __EXTENSIONS__): Ensure they are always defined.
479 2002-05-06 Phil Edwards <pme@gcc.gnu.org>
481 * docs/html/documentation.html: Fix broken link.
483 2002-05-04 Benjamin Kosnik <bkoz@redhat.com>
484 Paolo Carlini <pcarlini@unitus.it>
486 * testsuite/22_locale/num_put_members_char.cc: Add test04(),
487 testing for the locale_facets.tcc entry of the previous commit.
488 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
490 2002-05-04 Takeshi Kobayakawa <tskoba@mte.biglobe.ne.jp>
492 * config/locale/generic/c_locale.cc
493 (__convert_to_v(float, double, long double)):
494 Fix the temporary switch to the "C" locale, saving and
495 restoring in the proper way the current locale.
496 * config/locale/generic/time_members.cc
497 (__timepunct<char, wchar_t>::_M_put): Likewise.
498 * config/locale/gnu/messages_members.cc
499 (messages<char>::do_get): Likewise.
500 * config/locale/gnu/messages_members.h
501 (messages<_CharT>::do_get): Likewise.
502 * config/locale/gnu/time_members.cc
503 (__timepunct<char, wchar_t>::_M_put): Likewise.
504 * include/bits/locale_facets.tcc (__convert_from_v): Likewise.
506 2002-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
508 * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
509 * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
511 * Makefile.in, config.h.in, configure: Regenerate.
513 2002-05-03 Benjamin Kosnik <bkoz@redhat.com>
516 * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
517 * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
519 2002-05-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
521 * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
523 (ctype:_M_table): Initialize to classic_table(), not __ctype.
525 2002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
527 * configure.in: Update local install.html, configopts.html paths.
528 * configure: Regenerate.
530 2002-05-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
532 * config/os/irix/irix5.2/bits/os_defines.h
533 (__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
535 * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
538 2002-05-02 Phil Edwards <pme@gcc.gnu.org>
540 * docs/html/faq/index.html: Update list in #4.1.
541 * docs/html/faq/index.txt: Regenerated.
543 2002-05-02 Benjamin Kosnik <bkoz@redhat.com>
545 * docs/html/17_intro/RELEASE-NOTES (New): Update.
547 2002-05-01 Phil Edwards <pme@gcc.gnu.org>
549 * include/std/std_bitset.h: Fix doxygen comments.
550 * docs/html/documentation.html: Minor tweaks for 3.1.
551 * docs/html/27_io/howto.html: Likewise.
552 * docs/html/ext/howto.html: Likewise, mention stdio_filebuf.
553 * docs/html/faq/index.html: Likewise.
554 * docs/html/faq/index.txt: Regenerated.
556 2002-05-01 Benjamin Kosnik <bkoz@redhat.com>
559 * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
560 (istreambuf_iterator::equal): Use it.
561 (istreambuf_iterator::operator*): Use it.
563 2002-05-01 Paolo Carlini <pcarlini@unitus.it>
566 * include/bits/stl_uninitialized.h
567 (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
568 Fix typo in 2001-07-17 commit: typedef _ValueType to
569 iterator_traits<_ForwardIter> not <_InputIter>.
570 * testsuite/23_containers/vector_ctor.cc: Add test04.
572 2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
575 * include/c_std/std_cctype.h: Include bits/c++config.h.
576 * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
578 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
580 * include/ext/stdio_filebuf.h: New file.
581 * include/ext/enc_filebuf.h: New file.
582 * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
583 * config/io/basic_file_stdio.cc: Same.
584 * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
585 Remove _M_unbuf hacks.
586 (filebuf::_M_destroy_internal_buffer): Same.
587 (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
588 (filebuf::fd): Remove.
589 * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
590 (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
591 (filebuf::fd): Remove.
592 * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
594 (ios_base::_S_ios_destroy): Same.
595 * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
596 * include/Makefile.am (ext_headers): Add ext_filebuf.h,
597 stdio_filebuf.h. * include/Makefile.in: Regenerate.
599 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
602 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
604 2002-04-29 Benjamin Kosnik <bkoz@redhat.com>
607 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
609 * include/bits/streambuf_iterator.h: Match stream_iterator.h.
610 (istreambuf_iterator::operator++): Invalidate on eof.
611 (istreambuf_iterator::operator++(int)): Same.
612 (istreambuf_iterator::operator*): Same.
614 2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
616 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
617 of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
620 2002-04-28 Benjamin Kosnik <bkoz@redhat.com>
623 * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
624 (__basic_file::sys_ungetc): Take int.
625 * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
626 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
627 Use sys_getc for unbuffered input.
628 * testsuite/27_io/narrow_stream_objects.cc (test06): New.
630 * src/ios.cc (_M_grow_words): Adjust error checking.
631 * testsuite/27_io/ios_base_storage.cc: Same.
633 2002-04-28 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
635 * include/ext/stl_hashtable.h: Import __iterator_category
637 2002-04-28 Paolo Carlini <pcarlini@unitus.it>
638 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
640 * testsuite/ext/hash_set.cc: New testfile.
642 2002-04-27 Benjamin Kosnik <bkoz@redhat.com>
644 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
646 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
647 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
649 2002-04-26 Paolo Carlini <pcarlini@unitus.it>
651 * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
652 Fix and tighten __throw_length_error check.
653 * testsuite/21_strings/replace.cc (test05): New.
654 * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
656 2002-04-23 Loren J. Rittle <ljrittle@acm.org>
658 * include/std/std_fstream.h (basic_filebuf::sync): Hoist
659 unconditional flush on lower-layer handle to here...
660 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
661 ...from here. Optimize remaining _M_file.sync() call pattern.
662 * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
665 2002-04-23 Jason Merrill <jason@redhat.com>
667 * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
668 output-only filebufs.
669 * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
671 (basic_filebuf::_M_set_determinate): Likewise.
674 * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
675 value properly in the trivial case.
676 * testsuite/27_io/istream_seeks.cc (test04): Make sure that
677 tellg() returns the right value after a read.
679 2002-04-23 Hans-Peter Nilsson <hp@bitrange.com>
681 * config/cpu/mmix/bits/cpu_limits.h: New file.
682 * configure.target (CPULIMITSH): Use it.
684 2002-04-22 Loren J. Rittle <ljrittle@acm.org>
686 * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
687 * docs/html/17_intro/porting.html: Rebuilt.
689 2002-04-20 Jason Merrill <jason@redhat.com>
692 * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
694 (basic_streambuf::_M_set_determinate): Likewise.
695 (basic_streambuf::_M_is_indeterminate): Likewise.
696 * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
697 non-static data member.
698 (basic_filebuf::_M_underflow_common): New non-static member function.
699 (basic_filebuf::_M_underflow, _M_uflow): Call it.
700 (basic_filebuf::sync): Avoid useless seeking.
701 (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
703 (basic_filebuf::_M_set_determinate): Likewise.
704 (basic_filebuf::_M_is_indeterminate): Likewise.
705 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
706 back to _M_out_beg if necessary.
707 (basic_filebuf::seekoff): Likewise.
708 (basic_filebuf::_M_underflow_common): Generalization of old
709 underflow(). Don't seek back to _M_in_beg.
710 * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
711 * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
712 * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
713 * config/os/mingw32/bits/os_defines.h: Likewise.
714 * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
717 2002-04-22 Benjamin Kosnik <bkoz@redhat.com>
719 * include/bits/istream.tcc (istream::read): Fix.
720 * testsuite/27_io/istream_unformatted.cc (main): Add.
722 2002-04-20 Benjamin Kosnik <bkoz@redhat.com>
725 * include/bits/istream.tcc (istream::ignore): Streamline, use
727 * include/bits/streambuf.tcc: Use this->gptr.
728 * testsuite/27_io/istream_unformatted.cc (test08): Add test.
730 2002-04-18 Benjamin Kosnik <bkoz@redhat.com>
732 * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
733 as type safety is important, especially on solaris.
734 * include/bits/istream.tcc (istream::read): Clean.
735 (istream::readsome): Same.
736 * locale.cc: Wrap lines.
738 * testsuite/21_strings/inserters_extractors.cc: Tweaks.
739 * testsuite/27_io/instantiations.cc (test): Add bool variable...
740 * testsuite/21_strings/capacity.cc: Clean.
742 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
744 * docs/doxygen/doxygroups.cc: New group on binary searching.
745 * include/bits/stl_algo.h: Document binary searches and merges.
746 * include/bits/stl_deque.h: The 'map' member is not the 'map' class.
748 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
750 * docs/doxygen/mainpage.html: Doxygen logo is now a PNG file.
751 * docs/doxygen/run_doxygen: Bump required version.
752 * docs/doxygen/user.cfg.in: Revert accidental change.
753 * docs/html/faq/index.html: Reindent a block of links.
754 (4.4): New note on using dlsym.
755 * docs/html/faq/index.txt: Regenerated.
757 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
759 * testsuite_flags.in (cxxflags): Also pass @EXTRA_CXX_FLAGS@.
761 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
763 * config/linker-map.gnu (__malloc_alloc_template): Add.
764 (__default_alloc_template): Same.
765 * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
767 (__default_alloc_template): Same.
769 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
771 * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
773 2002-04-16 Benjamin Kosnik <bkoz@redhat.com>
775 * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
776 * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
777 (__malloc_alloc_template): Conditionalize.
779 * include/bits/istream.tcc: Remove sputbackc calls.
781 * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
783 2002-04-16 Paolo Carlini <pcarlini@unitus.it>
785 * testsuite/24_iterators/rel_ops.cc: New test.
787 2002-04-16 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
789 * include/bits/type_traits.h (__normal_iterator): Declare in
790 __gnu_cxx. Adjust use at global namespace.
791 * include/bits/stl_iterator.h (__normal_iterator): Move definition
792 into __gnu_cxx::. Add more operator overloads. Tidy existing ones.
793 * include/bits/basic_string.h (basic_string): Adjust use of
795 * include/bits/stl_vector.h (_Alloc>): Likewise.
796 * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
797 * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
799 2002-04-15 Benjamin Kosnik <bkoz@redhat.com>
803 * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
805 (__basic_file::close): Call fflush. Correct return if fclose ok.
806 (__basic_file::is_open): Make const.
807 Change __c_file_type to __c_file.
808 * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
809 (__basic_file::is_open): Make const.
810 * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
811 * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
812 (filebuf::_M_unbuf): Add.
813 (filebuf::_M_file): Change to non-pointer.
814 (filebuf::_M_allocate_pback_buffer): Remove.
815 * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
816 (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
817 Change initialization list for _M_file change.
818 (filebuf::_M_allocate_pback_buffer): Remove.
819 Change _M_file usage to reflect non-pointer data member.
821 * config/locale/generic/c_locale.cc
822 (locale::facet::_S_create_c_locale): Add parameter.
823 * config/locale/generic/collate_members.cc: Change
824 _M_compare_helper to _M_compare.
825 Change _M_transform_helper to _M_transform.
826 * config/locale/generic/monetary_members.cc: Changeup data types.
828 * config/locale/generic/numeric_members.cc: Add dtors.
829 * config/locale/generic/time_members.cc: Add dtors.
830 * config/locale/gnu/c_locale.cc: Add parameter.
831 * config/locale/gnu/collate_members.cc:Change
832 _M_compare_helper to _M_compare.
833 Change _M_transform_helper to _M_transform.
834 * config/locale/gnu/ctype_members.cc: Better error checking.
835 * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
836 * config/locale/gnu/messages_members.cc: Tweak comment.
837 * config/locale/gnu/monetary_members.cc: Change data types.
839 * config/locale/gnu/numeric_members.cc: Add dtors, better error
841 * config/locale/gnu/time_members.cc: Same.
842 * config/locale/ieee_1003.1-2001/c_locale.cc
843 (locale::facet::_S_create_c_locale): Add parameter.
844 * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
845 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
848 * include/bits/locale_facets.h (moneypunct): Use string literals.
852 (locale::_Impl::_M_facets): Change from vector to array.
853 (locale::_Impl::_M_names): Change from array of strings to array
855 (locale::facet::_S_create_c_locale): Add parameter.
856 (locale::locale::_S_num_facets): Move to...
857 (locale::_Impl::_M_facets_size): Here.
858 * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
860 * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
861 (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
862 (locale::_Impl::_Impl(string, size_t)): Change to
863 (locale::_Impl::_Impl(const char*, size_t)): This.
865 * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
866 * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
867 (streambuf::_S_pback_size): This.
869 * src/globals.cc: Add pre-allocations for "C" facets.
870 * src/locale-inst.cc: Remove vector instantiations.
871 * src/locale.cc: Remove vector include. Fixups for _M_names,
873 * src/localename.cc: Same.
875 * include/bits/stl_vector.h: Fix odd formatting.
877 * include/bits/basic_string.tcc: Tweak comment.
879 * libsupc++/new: Make sure parameters are uglified.
880 * libsupc++/typeinfo: Same.
882 * testsuite/22_locale/num_get_members_char.cc: Fixup.
883 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
884 * testsuite/27_io/filebuf_members.cc: Same.
886 2002-04-12 Steve Ellcey <sje@cup.hp.com>
888 * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
889 (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
890 does not define strtoll or strtoull, but does define strtol
891 and strtoul which are the same since in 64 bit mode
892 sizeof(long) == sizeof(long long).
894 2002-04-12 Phil Edwards <pme@gcc.gnu.org>
896 * include/std/std_bitset.h: Doxygenate std::bitset<>. Clean up
897 trailing spaces, indentation, and macro names. Make exception
898 messages more informative.
900 2002-04-11 Richard Henderson <rth@redhat.com>
902 * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
903 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
904 (basic_ostream<>::operator<<(long long)): Same.
906 2002-04-11 Richard Henderson <rth@redhat.com>
908 * config/linker-map.gnu: Add __gxx_personality_sj0.
910 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
913 * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
915 Remove forward declaration of vector.
917 * include/bits/locale_facets.tcc: Remove vector include.
918 (use_locale): Adjust.
919 (has_locale): Adjust.
920 * src/locale.cc: Adjust.
921 * src/localename.cc: Same.
923 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
924 Richard Henderson <rth@redhat.com>
926 * include/bits/sstream.tcc: Clean up bit ops.
927 * include/bits/fstream.tcc: Same.
929 2002-04-09 Jakub Jelinek <jakub@redhat.com>
931 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
932 (__num_base::_S_scale_oct): Remove.
933 * src/locale.cc (__num_base::_S_scale_hex): Remove.
934 (__num_base::_S_scale_oct): Remove.
936 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
939 * testsuite/23_containers/bitset_members.cc: New test.
940 * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
941 (_S_bit_count): Here.
942 (_First_one::_S_first_one): Move...
943 (_S_first_one): Here.
945 * src/bitset.cc: Adjust.
946 * config/linker-map.gnu: Export.
948 2002-04-08 Benjamin Kosnik <bkoz@redhat.com>
951 * include/bits/fstream.tcc (filebuf::seekpos): Fix.
952 * include/std/std_fstream.h: Clean.
953 * include/bits/ostream.tcc: Remove extraneous variables.
954 * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
955 open modes and which modes.
956 (stringbuf::seekpos): Same.
957 * testsuite/27_io/stringbuf_virtuals.cc: New tests.
959 2002-04-05 Jonathan Wakely <jw@kayari.org>
961 * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
962 random_shuffle, partition, stable_partition, sort, stable_sort,
963 partial_sort, partial_sort_copy, nth_element): Doxygenate.
965 2002-04-05 David S. Miller <davem@redhat.com>
967 * config/os/gnu-linux/bits/os_defines.h
968 (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
970 2002-04-04 Benjamin Kosnik <bkoz@redhat.com>
973 via gawrilow@math.tu-berlin.de
974 * acinclude.m4 (version_specific_libs): Fix combo usage with
975 --with-gxx-include-dir.
976 * aclocal.m4: Regenerate.
979 2002-04-03 Benjamin Kosnik <bkoz@redhat.com>
981 As per DR 184, libstdc++/3139
982 * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
983 (numeric_limits<bool>::is_iec559): False.
984 (numeric_limits<bool>::is_modulo): False.
986 * testsuite/27_io/ios_init.cc: Add instantiations.
988 2002-04-02 Benjamin Kosnik <bkoz@redhat.com>
991 * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
992 * testsuite/27_io/ios_init.cc (tests04): Add test.
995 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
996 (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
997 * include/bits/basic_ios.tcc: Same. Remove outdated comments.
998 * include/bits/istream.tcc: Use _M_fctype, make consistent with
1000 * testsuite/27_io/ios_init.cc (tests03): Add test.
1002 2002-04-02 Phil Edwards <pme@gcc.gnu.org>
1004 * include/Makefile.am (install-data-local): Use mkinstalldirs.
1005 * include/Makefile.in: Regenerate.
1007 2002-04-02 Paolo Carlini <pcarlini@unitus.it>
1008 Nathan Myers <ncm@cantrip.org>
1009 Philip Martin <philip@codematters.co.uk>
1011 * include/bits/basic_string.h
1012 (replace(i1, i2, _CharT* k1, _CharT* k2),
1013 replace(i2, i2, const _CharT* k1, const _CharT* k2),
1014 replace(i1, i2, iterator k1, iterator k2,
1015 replace(i1, i2, const_iterator k1, const_iterator k2):
1016 New specializations to optimize for the common cases of
1017 pointers and iterators.
1018 (replace(pos, n1, s, n2)): Tweak.
1019 * include/bits/basic_string.tcc: Tweak comments.
1020 * testsuite/21_strings/replace.cc (test04): New tests.
1022 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
1025 * acinclude: More extensive checks for msgfmt, --enable-nls.
1026 * aclocal.m4: Regenerate.
1027 * configure: Regenerate.
1029 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
1031 * libsupc++/exception (__verbose_terminate_handler): Point to docs.
1032 * docs/doxygen/doxygroups.cc: Doxygen hooks for abi::__cxa_demangle.
1033 * docs/html/18_support/howto.html: Document the demangler.
1034 * docs/html/17_intro/howto.html: And link to it.
1036 * docs/doxygen/mainpage.html: Describe user-vs-maintainer docs.
1037 * docs/doxygen/run_doxygen: Print user-vs-maintainer.
1039 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
1041 * config/linker-map.gnu: Export __verbose_terminate_handler.
1042 * libsupc++/Makefile.am (sources): Add cxa_demangle.c, dyn-string.c.
1043 Make new LTCOMPILE variable, use it in new special build rules.
1044 * libsupc++/Makefile.in: Rebuild.
1045 * src/vterminate.cc (__verbose_terminate_handler): Enable use of
1046 runtime __cxa_demangle.
1048 * docs/html/install.html: Update prereqs and instructions.
1049 * docs/html/19_diagnostics/howto.html: Bring naming for
1050 verbose_terminate_handler into line with reality.
1052 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
1055 * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
1056 (basic_ios::_M_streambuf_state): Move.
1057 * include/bits/ios_base (ios_base): To here.
1058 * include/bits/ios_base.h (ios_base::_S_local_words): To
1060 (ios_base::_M_word_array): To _M_local_word.
1061 (ios_base::_M_words_limit): To _M_word_size.
1062 (ios_base::_M_words): To _M_word.
1064 * include/bits/basic_ios.tcc: Adjust.
1065 * src/ios.cc (ios_base::_M_grow_words): Tweak.
1066 * testsuite/27_io/ios_base_storage.cc: Add tests.
1069 Kenny Simpson <theonetruekenny@yahoo.com>
1070 * include/bits/ios_base.h: Fix.
1072 Richard Henderson <rth@redhat.com>
1073 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
1076 * include/bits/basic_string.h: Tweak formatting.
1078 2002-04-01 Paolo Carlini <pcarlini@unitus.it>
1080 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
1081 (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
1082 By definition, sizeof(char) == 1.
1083 * include/bits/locale_facets.tcc (money_get::do_get,
1084 money_put::do_put): Ditto.
1085 * testsuite/21_strings/inserters_extractors.cc
1088 2002-03-30 Richard Henderson <rth@redhat.com>
1091 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
1092 data out of the exception struct before calling unexpectedHandler.
1094 2002-03-28 Roger Sayle <roger@eyesopen.com>
1096 * include/c_std/std_cmath.h: To prevent problems overloading
1097 g++ builtins, use the double variants from the global namespace
1098 before defining float and long double variants in std::.
1100 2002-03-28 Loren J. Rittle <ljrittle@acm.org>
1102 * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
1104 2002-03-28 Paolo Carlini <pcarlini@unitus.it>
1106 * testsuite/24_iterators/istream_iterator.cc
1107 (test02): New tests.
1109 2002-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1110 Paolo Carlini <pcarlini@unitus.it>
1112 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
1113 (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
1114 fix i_lit_base e_lit_base arrays, making them independent
1115 from the endianness of the platform; tweak UCS4 to UCS-4BE.
1117 2002-03-27 Benjamin Kosnik <bkoz@redhat.com>
1119 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
1120 allocate at least a byte.
1122 * testsuite/18_support/numeric_limits.cc (test_extrema): Make
1124 * testsuite/27_io/streambuf.cc (test07): Fix.
1127 2002-03-27 Phil Edwards <pme@gcc.gnu.org>
1129 * docs/doxygen/Intro.3: Date tweak.
1130 * docs/doxygen/TODO: Update.
1131 * docs/doxygen/doxygroups.cc: Point to tables.html.
1132 * docs/doxygen/mainpage.html: Date tweak.
1133 * docs/doxygen/run_doxygen: Version tweak. Copy tables.html over.
1134 * docs/doxygen/tables.html: Fill in the blanks.
1136 * docs/doxygen/user.cfg.in (ALIASES): Remove maint and endmaint.
1137 * include/bits/stl_algo.h: Likewise; use expanded form.
1138 * include/bits/stl_alloc.h: Likewise.
1139 * include/bits/stl_construct.h: Likewise.
1140 * include/bits/stl_deque.h: Likewise.
1141 * include/bits/stl_iterator_base_types.h: Likewise.
1142 * include/bits/stl_list.h: Likewise.
1143 * include/bits/stl_relops.h: Likewise.
1144 * include/bits/stl_tempbuf.h: Likewise.
1145 * include/bits/stl_vector.h: Likewise.
1146 * include/std/std_memory.h: Likewise.
1148 * include/bits/stl_deque.h: Point into tables.html and add @ingroup.
1149 * include/bits/stl_list.h: Likewise.
1150 * include/bits/stl_vector.h: Likewise.
1152 2002-03-26 Benjamin Kosnik <bkoz@redhat.com>
1154 * include/c/: Guard with _CPP_.
1155 * include/c_std/: Same.
1156 * include/Makefile.am: Fixup install, link routines for null
1157 c_base_headers_extra scenarios.
1158 * include/Makefile.in: Regerate.
1160 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
1161 Richard Henderson <rth@redhat.com>
1163 * testsuite/22_locale/codecvt_members_unicode_char.cc
1164 (test01, test02): make sure that the i_lit_base array
1165 is sufficiently aligned.
1167 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
1169 * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
1172 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
1174 * testsuite/22_locale/collate_byname.cc
1175 (test01): compare the result of collate::compare with
1176 that of collate::transform + string::compare, not with
1177 that of collate::transform + collate::compare; values
1178 returned by collate::compare are normalized, therefore
1181 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
1182 Jakub Jelinek <jakub@redhat.com>
1184 * config/locale/gnu/messages_members.h: Correct conditional.
1185 * config/locale/gnu/messages_members.cc: Same.
1186 * config/locale/gnu/time_members.cc: Same.
1188 2002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1189 Paolo Carlini <pcarlini@unitus.it>
1191 * testsuite/22_locale/codecvt_members_unicode_char.cc
1192 (test01, test02): Fix i_lit_base arrays, making them
1193 independent from the endianness of the platform.
1195 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
1197 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
1198 signbit and __signbit directly.
1199 * aclocal.m4: Regenerate.
1200 * configure: Regenerate.
1201 * config.h.in: Regenerate.
1202 * libmath/Makefile.am: Simplify.
1203 * libmath/Makefile.in: Regenerate.
1204 * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
1206 * include/Makefile.am: Clean up handling of extra "C" header files.
1207 Add hooks for "C" compatibility headers.
1208 * include/Makefile.in: Regenerate.
1210 * include/c/*: Formatting tweaks, cleanups.
1211 * include/c_std/*: Same.
1213 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
1215 * config/locale/gnu/messages_members.h: Add __uselocale bits.
1216 * config/locale/gnu/messages_members.cc: Same.
1217 * config/locale/gnu/time_members.cc: Same.
1219 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
1221 * src/vterminate.cc: Format, -fno-exceptions cleanup.
1223 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1225 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
1226 (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
1227 * aclocal.m4: Regenerate.
1228 * configure: Likewise.
1230 2002-03-19 Paolo Carlini <pcarlini@unitus.it>
1231 Ulrich Drepper <drepper@redhat.com>
1233 * src/locale-inst.cc (__convert_from_v): Add an additional
1234 __size parameter in the declarations.
1235 * include/bits/locale_facets.tcc
1236 (__convert_from_v): When available (that is,
1237 _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
1238 (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
1239 being defined or not, call and use __convert_from_v in the
1241 (num_put::_M_convert_int): Same here.
1242 (money_put::do_put(long double)): Same here.
1244 2002-03-19 Phil Edwards <pme@gcc.gnu.org>
1246 * docs/html/faq/index.html (#3.6): Rewrap and close <a href> tags.
1247 * docs/html/faq/index.txt: Regenerate.
1249 2002-03-19 Steve Ellcey <sje@cup.hp.com>
1251 * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
1252 GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
1253 --enable-libunwind-exceptions is set.
1254 * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
1255 macro to check for libunwind.
1256 * configure: Regenerate.
1257 * src/Makefile.am (libstdc___la_LDFLAGS): Add
1258 LIBUNWIND_FLAG to libstdc link line.
1259 * src/Makefile.in: Regenerate.
1261 2002-03-19 Benjamin Kosnik <bkoz@redhat.com>
1263 * docs/html/faq/index.html: Add OS X workaround.
1264 * docs/html/17_intro/TODO: Update.
1266 2002-03-18 Paolo Carlini <pcarlini@unitus.it>
1268 * include/bits/locale_facets.tcc
1269 (money_put::do_put(long double)): Fix dimensioning of
1270 temporary buffers to avoid risk of overruns.
1271 (money_put::do_put(string)): Same for the buffer used to
1272 add the grouping chars.
1273 * testsuite/22_locale/money_put_members_char.cc: Add test06.
1274 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
1276 * include/bits/locale_facets.tcc
1277 (collate::do_transform): Simplify.
1279 2002-03-18 Phil Edwards <pme@gcc.gnu.org>
1281 * acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform.
1282 * configure.in: Add comments pointing the way for autoconf 2.5x.
1283 * aclocal.m4, config.h.in, configure: Regenerate.
1285 2002-03-18 Philipp Thomas <pthomas@suse.de>
1287 * include/backward/hash_map.h: hash, hashtable, hash_map and
1288 hash_multimap are in namespace __gnu_cxx.
1289 include/backward/hash_set.h: hash, hashtable, hash_set and
1290 hash_multiset are in namespace __gnu_cxx.
1291 include/backward/hashtable.h: hash and hashtable are in
1292 namespace __gnu_cxx.
1293 include/backward/rope.h: char_producer, sequence_buffer,
1294 rope, crope and wrope are in namespace __gnu_cxx.
1295 include/backward/slist.h: slist is in namespace __gnu_cxx.
1296 * testsuite/backward/header_hash_map_h.cc
1297 testsuite/backward/header_hash_set_h.cc
1298 testsuite/backward/header_hashtable_h.cc
1299 testsuite/backward/header_rope_h.cc
1300 testsuite/backward/header_slist_h.cc
1301 testsuite/backward/header_tempbuf_h.cc: New tests for
1302 checking that we're using the correct namespace.
1304 2002-03-17 Jason Merrill <jason@redhat.com>
1307 * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
1308 (check_exception_spec): Call it. Take the thrown pointer.
1309 (__cxa_call_unexpected): Pass it.
1310 (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr.
1312 2002-03-15 Anthony Green <green@redhat.com>
1314 * configure.in: Remove useless is_mingw32.
1315 * configure: Rebuilt.
1317 2002-03-15 Paolo Carlini <pcarlini@unitus.it>
1319 * testsuite/22_locale/collate_members_char.cc
1320 (test01): compare the result of collate::compare with
1321 that of collate::transform + string::compare, not with
1322 that of collate::transform + collate::compare.
1323 (test01): values returned by collate::compare are
1324 normalized, therefore test against +-1.
1325 * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
1327 2002-03-12 Loren Rittle <ljrittle@acm.org>
1329 reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1330 * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
1332 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
1333 Per Liboriussen <liborius@stofanet.dk>
1335 * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
1337 * config/os/gnu-linux/bits/ctype_inline.h: Same.
1339 * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
1341 * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
1342 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1344 * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
1345 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
1347 * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
1348 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
1350 * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
1352 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
1354 * include/bits/basic_string.tcc (string::_S_construct(_InIter,
1355 _InIter, const _Alloc&, forward_iterator_tag): Check for null.
1356 (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
1357 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
1358 that memory limits are in place.
1359 (test03): Add tests.
1361 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
1363 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
1364 * aclocal.m4: Regenerate.
1365 * config.h.in: Regenerate.
1366 * configure: Regenerate.
1367 * include/c_std/std_cwctype.h: Guard.
1369 2002-03-11 Chris Demetriou <cgd@broadcom.com>
1371 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
1372 whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
1373 * aclocal.m4: Regenerate.
1374 * configure: Regenerate.
1376 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
1378 * include/bits/stl_bvector.h: Fix warning.
1380 2002-03-11 Richard Henderson <rth@redhat.com>
1382 * include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
1384 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
1386 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
1387 New function. Build the list of tests to run in testsuite_files.
1388 * testsuite/libstdc++-v3.dg/dg.exp: Use it.
1390 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
1392 * testsuite/21_strings/capacity.cc: Only explicitly instantiate on
1393 platforms with no weak support.
1394 * testsuite/27_io/ios_init.cc: Likewise.
1396 2002-03-10 Paolo Carlini <pcarlini@unitus.it>
1398 * include/bits/locale_facets.tcc (time_put::do_put):
1399 Consider sizeof(char_type) in allocating the buffer.
1401 * include/bits/locale_facets.tcc (collate::do_tranform):
1402 Remove redundant variable.
1404 2002-03-10 Ulrich Drepper <drepper@redhat.com>
1405 Paolo Carlini <pcarlini@unitus.it>
1407 * config/locale/generic/collate_members.cc
1408 (collate<char,wchar_t>::_M_compare_helper): normalize
1409 values returned by strcoll and wcscoll.
1410 * config/locale/gnu/collate_members.cc
1411 (collate<char,wchar_t>::_M_compare_helper): ditto
1412 for __strcoll_l and __wcscoll_l.
1414 2002-03-10 Anthony Green <green@redhat.com>
1416 * configure.in: Support cross builds to mingw32 target.
1417 * configure: Rebuilt.
1419 2002-03-09 Paolo Carlini <pcarlini@unitus.it>
1421 * include/bits/locale_facets.tcc (collate::do_transform):
1422 Rewrite to fix problems with long transformed strings.
1424 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
1426 * c_locale_generic.cc: Move to...
1427 * generic/c_locale.cc
1428 * c_locale_generic.h: Move to...
1429 * generic/c_locale.h
1430 * codecvt_specializations_generic.h: Move to...
1431 * generic/codecvt_specializations.h
1432 * collate_members_generic.cc: Move to...
1433 * generic/collate_members.cc
1434 * ctype_members_generic.cc: Move to...
1435 * generic/ctype_members.cc
1436 * messages_members_generic.cc: Move to...
1437 * generic/messages_members.cc
1438 * messages_members_generic.h: Move to...
1439 * generic/messages_members.h
1440 * moneypunct_members_generic.cc: Move to...
1441 * generic/monetary_members.cc
1442 * numpunct_members_generic.cc: Move to...
1443 * generic/numeric_members.cc
1444 * time_members_generic.cc: Move to...
1445 * generic/time_members.cc
1446 * c_locale_gnu.cc: Move to...
1448 * c_locale_gnu.h: Move to...
1450 * collate_members_gnu.cc: Move to...
1451 * gnu/collate_members.cc
1452 * ctype_members_gnu.cc: Move to...
1453 * gnu/ctype_members.cc
1454 * messages_members_gnu.cc: Move to...
1455 * gnu/messages_members.cc
1456 * messages_members_gnu.h: Move to...
1457 * gnu/messages_members.h
1458 * moneypunct_members_gnu.cc: Move to...
1459 * gnu/monetary_members.cc
1460 * numpunct_members_gnu.cc: Move to...
1461 * gnu/numeric_members.cc
1462 * time_members_gnu.cc: Move to...
1463 * gnu/time_members.cc
1464 * c_locale_ieee_1003.1-200x.cc: Move to...
1465 * ieee_1003.1-2001/c_locale.cc
1466 * c_locale_ieee_1003.1-200x.h: Move to...
1467 * ieee_1003.1-2001/c_locale.h
1468 * codecvt_specializations_ieee_1003.1-200x.h: Move to...
1469 * ieee_1003.1-2001/codecvt_specializations.h
1470 * messages_members_ieee_1003.1-200x.cc: Move to...
1471 * ieee_1003.1-2001/messages_members.cc
1472 * messages_members_ieee_1003.1-200x.h: Move to...
1473 * ieee_1003.1-2001/messages_members.h
1475 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
1476 * aclocal.m4: Regenerate.
1477 * configure: Regenerate.
1478 * src/Makefile.am (sources): Change to monetary and numeric.
1479 * src/Makefile.in: Regenerate.
1480 * docs/html/configopts.html: Update to ieee_1003.1-2001.
1482 2002-03-08 scott snyder <snyder@fnal.gov>
1485 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1486 Allow one more digit of precision.
1487 * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
1488 write a double and read back in the same value.
1490 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
1492 * include/std/std_limits.h: Move static const data members out of
1493 generic template, into base class __numeric_limits_base.
1494 * src/limits.cc: Add definitions.
1495 * config/linker-map.gnu: Add __numeric_limits_base.
1496 * testsuite/18_support/numeric_limits.cc: Declare test in scope.
1498 2002-03-07 Benjamin Kosnik <bkoz@redhat.com>
1500 * include/bits/stl_alloc.h: Add extern implicit allocator
1502 * include/bits/basic_string.tcc: Tweak.
1503 * include/bits/locale_facets.tcc: Remove default args. Add
1504 has_facet, use_facet extern instantiations.
1505 * src/stl-inst.cc: Add explicit instantiation.
1506 * src/locale-inst.cc: Clean. Remove locale member template
1509 * testsuite/22_locale/operators.cc (test02): Enable.
1511 2002-03-06 Benjamin Kosnik <bkoz@redhat.com>
1512 Stephen M. Webb <stephen.webb@bregmasoft.com>
1514 * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
1515 (_S_rb_tree_black): Make enum.
1517 * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
1518 * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
1519 (__stl_threshold): _M_threshold, enum.
1520 * src/stl-inst.cc: Same.
1521 * config/linker-map.gnu: Remove.
1523 * testsuite/23_containers/vector_bool.cc: New.
1525 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
1527 * docs/doxygen/user.cfg.in: Also document deprecated entries.
1528 * docs/html/Makefile: Example rule to rebuild porting-howto.html.
1529 * docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when
1530 referring to the collection as a whole. New section on which macros
1531 can be redefined by the user.
1532 * docs/html/19_diagnostics/howto.html: Update note for concepts.
1533 * docs/html/20_util/howto.html: Update link to SGI.
1534 * docs/html/faq/index.html: Update snapshot versions. New entry
1535 on why g++ (but not gcc) must currently predefine certain macros.
1536 * docs/html/faq/index.txt: Regenerated.
1538 * include/bits/basic_string.h (basic_string::_S_construct): Fix
1539 names in declaration.
1540 (basic_string::compare): These are no longer optional.
1541 * include/bits/ostream.tcc: Tweak closing brace placement.
1542 * include/bits/stl_algo.h: Lots of initial doxygen comment hooks.
1543 * include/std/std_sstream.h: Fix typo in comment.
1544 * include/bits/locale_facets.tcc: Remove unneeded header inclusion.
1545 * src/locale.cc: Likewise.
1547 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
1550 * include/bits/stl_vector.h (vector::push_back()): Guard with
1551 _GLIBCPP_DEPRECATED.
1553 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
1555 * include/bits/c++config: Fix misplaced leading blanks on first line.
1557 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
1559 * docs/html/17_intro/RELEASE-NOTES: Fix usage.
1560 * README (libmath): Make clear.
1562 2002-03-05 Jakub Jelinek <jakub@redhat.com>
1564 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
1565 script globbing in ld.
1566 * aclocal.m4: Rebuilt.
1567 * configure: Rebuilt.
1569 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
1571 * docs/html/17_intro/RELEASE-NOTES: Update.
1572 * README: Format subdirectories.
1574 2002-03-05 Paolo Carlini <pcarlini@unitus.it>
1577 * include/bits/locale_facets.tcc
1578 (num_get::_M_extract_float): Fix the parsing of __dec, since
1579 the standard prescribes that if no grouping characters are
1580 seen, no grouping check is applied.
1581 * testsuite/22_locale/num_get_members_char.cc: Add test05
1582 distilled from the PR.
1583 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
1585 2002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
1587 * docs/html/17_intro/porting-howto.xml: Refer to
1588 http://www.oasis-open.org for docbookx.dtd.
1589 * docs/html/17_intro/porting-howto.html: Regenerated.
1591 2002-03-03 Phil Edwards <pme@gcc.gnu.org>
1594 * include/std/std_sstream.h: Remove trailing spaces.
1595 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
1596 * testsuite/27_io/stringbuf.cc (test05, test06): New tests.
1598 2002-03-02 Paolo Carlini <pcarlini@unitus.it>
1600 * testsuite/22_locale/num_get_members_char.cc (test04):
1601 Use a named locale expecting grouping (de_DE).
1602 * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
1604 * testsuite/27_io/ios_manip_basefield.cc (test01):
1605 Extend coverage, uniform treatment of hexs and octs.
1607 2002-02-28 Richard Henderson <rth@redhat.com>
1609 * config/linker-map.gnu: Export operator new with unsigned long,
1610 and with std::nothrow_t. Likewise operator delete.
1612 2002-02-28 Paolo Carlini <pcarlini@unitus.it>
1614 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
1615 Admit grouping for octals and hexadecimals too.
1616 * testsuite/22_locale/num_get_members_char.cc: Add test04.
1617 (test01): Tweak "." -> "," in void* test.
1618 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
1620 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
1621 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
1623 2002-02-27 Paolo Carlini <pcarlini@unitus.it>
1625 * testsuite/27_io/ios_manip_basefield.cc (test01):
1626 Fix for 64 bit machines.
1628 2002-02-26 Benjamin Kosnik <bkoz@redhat.com>
1631 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
1633 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
1634 (basic_ios::_M_fill_init): New.
1635 (basic_ios::fill()): Delay dealing with _M_fill.
1637 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
1638 (ios_base::_M_call_callbacks): Adjust.
1639 * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
1641 2002-02-26 Loren Rittle <ljrittle@acm.org>
1643 * include/Makefile.am (thread_target_headers): Unconditionally
1644 stage and install gthr-posix.h.
1645 (${target_builddir}/gthr-posix.h): New rule cloned off
1646 ${target_builddir}/gthr-default.h.
1647 (${target_builddir}/gthr-default.h): Support chained inclusion
1648 of gthr support headers.
1649 * include/Makefile.in: Rebuilt.
1651 2002-02-26 Paolo Carlini <pcarlini@unitus.it>
1653 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
1654 Group all the integral types, not only decs.
1655 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
1656 tests, add a few more.
1658 2002-02-25 Benjamin Kosnik <bkoz@redhat.com>
1660 * src/ios.cc (ios_base::~ios_base): Tweak.
1661 (ios_base::_M_call_callbacks): Deal with null __p.
1662 (ios_base::ios_base): Set _M_callbacks.
1663 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
1664 * testsuite/27_io/ios_init.cc (test02): Fix.
1666 * mkcheck.in (static_fail): Failed links go to output file.
1668 2002-02-25 Phil Edwards <pme@gcc.gnu.org>
1670 * docs/html/faq/index.html: Update.
1671 * docs/html/faq/index.txt: Regenerate.
1673 2002-02-22 Phil Edwards <pme@gcc.gnu.org>
1675 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
1676 * aclocal.m4: Regenerate.
1677 * docs/html/configopts.html: Document --enable-symvers.
1678 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag.
1680 2002-02-22 Philipp Thomas <pthomas@suse.de>
1682 * include/backward/tempbuf.h: get_temporary_buffer and
1683 return_temporary_buffer are in namespace std, not in __gnu_cxx.
1685 2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
1687 * configure.in (target_alias): Default to yes.
1688 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
1689 libgcc to default case.
1691 2002-02-20 Phil Edwards <pme@gcc.gnu.org>
1693 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
1694 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
1695 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
1696 * aclocal.m4: Regenerate.
1697 * configure: Regenerate.
1698 * config/linker-map.dummy: New file. Contains nothing useful.
1700 2002-02-20 Benjamin Kosnik <bkoz@redhat.com>
1702 * testsuite/22_locale/money_put_members_char.cc: Fix.
1703 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
1705 * testsuite/27_io/standard_manipulators.cc: New file.
1707 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
1708 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
1710 2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
1712 * config/os/mingw32/bits/ctype_noninline.h
1713 (ctype<char>::ctype): Remove default args from parm list.
1714 * config/os/djgpp/bits/ctype_noninline.h: Same.
1716 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
1718 * include/std/std_iomanip.h: Inline, tweaks.
1719 * config/linker-map.gnu: Remove hacks.
1721 * testsuite/21_strings/capacity.cc: Add explicit instantiations.
1722 * testsuite/27_io/ios_init.cc: Same.
1723 * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
1724 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
1726 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
1728 * config/linker-map.gnu: Export global vtable, typeinfo, guard
1729 variable, and thunk info as per CXXABI docs.
1731 2002-02-19 Loren Rittle <ljrittle@acm.org>
1733 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
1734 * include/Makefile.in: Rebuilt.
1736 2002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1738 * testsuite/22_locale/collate_byname.cc (test01): Replace size4
1739 with size3 for the string collations of str5.
1741 2002-02-18 Paolo Carlini <pcarlini@unitus.it>
1744 * include/bits/locale_facets.tcc (money_put::do_put):
1745 For the space field use __fill instead of ' ', uniformly.
1746 * testsuite/22_locale/money_put_members_char.cc:
1747 Add test05 distilled from PR.
1748 (test01-02-03): Trim some '*' to ' '.
1749 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
1751 2002-02-18 Loren Rittle <ljrittle@acm.org>
1754 * include/Makefile.am (thread_builddir): Remove (map all
1755 existing uses to target_builddir).
1756 (thread_headers): Rename to...
1757 (thread_target_headers): ...this.
1758 (stamp-thread): Remove.
1759 (stamp-target): Correctly state the position as built.
1760 Update all dependencies to match the new reality. Remove all
1761 dependency calculations on directories.
1762 * include/Makefile.in: Rebuilt.
1764 2002-02-16 Benjamin Kosnik <bkoz@redhat.com>
1766 * include/bits/locale_facets.tcc: Add pragma GCC system_header.
1767 * include/bits/fstream.tcc: Same.
1768 * include/bits/sstream.tcc: Same.
1769 * include/bits/ostream.tcc: Same.
1770 * include/bits/istream.tcc: Same.
1771 * include/bits/streambuf.tcc: Same.
1772 * include/bits/basic_ios.tcc: Same.
1773 * include/bits/basic_string.tcc: Same.
1775 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
1777 * include/std/std_iosfwd.h: Don't guard typedefs with
1778 _GLIBCPP_USE_WCHAR_T
1779 * include/bits/stringfwd.h: Same.
1781 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
1783 * src/locale.cc (moneypunct_byname): Remove definitions.
1784 * include/std/std_streambuf.h (streambuf::operator=): Return.
1786 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
1789 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
1790 explicit instantiation.
1791 (string::_Rep::_S_max_size): Same.
1792 * include/bits/basic_string.tcc: Add extern explicit
1793 instantiations for string, wstring.
1794 * include/bits/basic_ios.tcc: Add extern explicit instantiations
1796 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
1797 * include/bits/istream.tcc: Same, for istream, wistream.
1798 * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
1800 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
1801 istringstream, wistringstream, ostringstream, wostringstream,
1802 stringstream, wstringstream.
1803 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
1804 wifstream, ofstream, wofstream, fstream, wfstream.
1805 * src/misc-inst.cc: Correct comments.
1806 Add iomanip instantiations for wide streams.
1807 * include/std/std_iomanip.h: Same.
1808 * include/bits/locale_facets.tcc: Same.
1810 * include/std/std_streambuf.h: Correct
1811 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
1812 * include/std/std_sstream.h: Same.
1813 * include/std/std_ostream.h: Same.
1814 * include/std/std_istream.h: Same.
1815 * include/std/std_fstream.h: Same.
1817 * include/std/std_streambuf.h: Add definitions for private copy
1818 ctor and assignment operator.
1819 * include/std/std_istream.h: Remove declared but undefined copy
1820 ctor and assignment operator. This is taken care of in ios_base,
1821 so adding it in the derived class as well is superfluous.
1822 * include/std/std_ostream.h: Same.
1824 * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
1825 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
1827 2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
1829 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
1830 Add typeinfo bits. Smooth.
1831 * aclocal.m4: Regenerate.
1833 * src/Makefile.in: Same.
1835 2001-02-14 Joel Sherrill <joel@OARcorp.com>
1837 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
1838 which do not have a CAS instruction.
1840 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
1842 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
1843 * configure.in: Call it.
1844 * config/linker-map.gnu: New file, initial incomplete revision.
1845 * src/Makefile.am: Optionally pass version script to the linker.
1846 * aclocal.m4: Regenerate.
1847 * configure: Regenerate.
1848 * src/Makefile.in: Regenerate.
1850 2002-02-13 Benjamin Kosnik <bkoz@redhat.com>
1852 * src/localename.cc: Remove stdexcept include.
1853 * src/locale-inst.cc: Same.
1854 * src/locale.cc: Same.
1855 * src/functexcept.cc: Remove string includes.
1856 * include/std/std_bitset.h: Remove stdexcept include.
1857 * testsuite/23_containers/bitset_members.cc: Add stdexcept.
1858 * testsuite/23_containers/bitset_ctor.cc: Same.
1860 2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
1862 * include/bits/stl_algo (__stl_threshold): Declare external.
1863 (__stl_chunk_size): Same.
1864 * include/bits/stl_bvector.h (__WORD_BIT): Same.
1865 * include/bits/stl_tree.h (_S_rb_tree_red): Same.
1866 (_S_rb_tree_black): Same.
1867 * src/stl-inst.cc (__stl_threshold): Define.
1868 (__stl_chunk_size): Same.
1870 (_S_rb_tree_red): Same.
1871 (_S_rb_tree_black): Same.
1873 * config/io/basic_file_libio.h (__basic_file): Add declarations.
1874 * include/bits/basic_file.h: Remove.
1875 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
1876 Declare generic types, specialization.
1877 * config/io/basic_file_stdio.cc: Definitions.
1878 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
1879 Declare generic types.
1880 * include/Makefile.am (bits_headers): Remove basic_file.h.
1881 (extra_target_headers): Change basic_file_model.h to basic_file.h.
1882 (stamp-target): Same.
1884 * include/bits/stl_alloc.h: Tweaks.
1885 * include/bits/localefwd.h: Same.
1887 2002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
1889 * include/bits/locale_facets.tcc (collate::do_hash): Fix.
1890 * testsuite/22_locale/collate_members_char.cc (test03): New test.
1891 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
1893 2002-02-10 Phil Edwards <pme@gcc.gnu.org>
1895 * include/bits/stl_algo.h (transform (both signatures), generate_n):
1896 Use __typeof__ in concept checks.
1898 2002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
1900 * include/bits/stl_algo.h (__median, for_each, find, find_if,
1901 adjacent_find, count, count_if, search, search_n, swap_ranges,
1902 transform, replace, replace_if, replace_copy, replace_copy_if,
1903 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
1904 unique, unique_copy, reverse, reverse_copy): Doxygenate.
1906 2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
1908 * include/bits/locale_facets.h
1909 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
1910 (__timepunct<_CharT>::_M_initialize_timepunct): Same.
1911 (__timepunct<_CharT>::_M_put_helper): Same.
1912 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
1914 * include/bits/fstream.tcc (filebuf::underflow): Remove
1915 __codecvt_type typedef.
1916 (filebuf::_M_convert_to_external): Same.
1918 2002-02-08 Phil Edwards <pme@gcc.gnu.org>
1920 * docs/doxygen/TODO: Update.
1921 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
1922 * docs/doxygen/mainpage.html: Add TODO list link.
1923 * docs/doxygen/user.cfg.in: Add @doctodo hook.
1924 * docs/doxygen/tables.html: New file, emoty structure only.
1926 * include/bits/stl_iterator.h: Doxygenate just about everything.
1927 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
1928 * include/bits/stl_iterator_base_types.h: Add notes.
1930 2002-02-07 Stephan Buys <sbproxy@icon.co.za>
1932 * include/bits/stl_map.h: Tweak doxygen markup.
1933 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
1934 * include/bits/stl_vector.h: Likewise.
1936 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
1940 * include/std/std_fstream.h (filebuf::__file_type): Change to
1942 (filebuf::_M_convert_to_external): Declare.
1943 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
1944 codecvt bits for wide streams.
1945 (filebuf::_M_really_overflow): Use it.
1946 (filebuf::underflow): Use codecvt.
1947 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
1948 (codecvt<__enc_traits>::do_out): Deal with partial.
1949 (codecvt<__enc_traits>::do_encoding): Return something useful.
1950 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
1952 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
1953 Change expected encoding output.
1955 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
1958 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
1959 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
1961 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
1962 (basic_ios::widen): Same.
1964 2002-02-07 Paolo Carlini <pcarlini@unitus.it>
1966 * testsuite/22_locale/money_get_members_char.cc:
1967 Add comment, tidy up.
1968 (test01): more "en_HK" tests (without showbase).
1969 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
1971 2002-02-06 Loren Rittle <ljrittle@acm.org>
1973 * config/locale/c_locale_generic.cc: Do not trust
1974 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
1977 2002-02-06 Loren Rittle <ljrittle@acm.org>
1979 * acinclude.m4: Add C++ linkage check for strtof.
1980 * aclocal.m4: Rebuilt.
1981 * config.h.in: Rebuilt.
1982 * configure: Rebuilt.
1983 * config/locale/c_locale_generic.cc: Conditionally include
1984 <ieeefp.h>. Improve handling and error checking of float
1985 and long double input for non-C99 configurations.
1987 2002-02-06 Paolo Carlini <pcarlini@unitus.it>
1989 * include/bits/locale_facets.tcc (money_get::do_get(string)):
1990 In case money_base::symbol deal properly with multi-char sign
1991 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
1992 * testsuite/22_locale/money_get_members_char.cc: Add test07.
1993 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
1995 2002-02-05 Paolo Carlini <pcarlini@unitus.it>
1997 * include/bits/locale_facets.tcc (money_get::do_get(string)):
1998 First construct a tentative returned string, then, only if the
1999 parsing succeeds, copy it into the string passed by reference.
2000 * testsuite/22_locale/money_get_members_char.cc: Add test06.
2001 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
2003 2002-02-04 Phil Edwards <pme@gcc.gnu.org>
2005 * docs/doxygen/TODO: Impl-defined behavior now documented...
2006 * docs/html/17_intro/howto.html: ...here.
2007 * docs/doxygen/mainpage.doxy: Remove, rename...
2008 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
2009 * docs/doxygen/style.css: Add small text.
2010 * docs/doxygen/run_doxygen: Adjust for new mainpage.
2011 * docs/doxygen/user.cfg.in: Likewise.
2013 2002-02-04 Stephan Buys <sbproxy@icon.co.za>
2015 * include/bits/stl_map.h: Initial doxygen markup.
2016 * include/std/std_fstream.h: Initial doxygen markup.
2018 2002-02-04 Paolo Carlini <pcarlini@unitus.it>
2021 * include/bits/locale_facets.tcc (money_get::do_get(string)):
2022 Deal correctly with !(__io.flags() & ios_base::showbase)
2023 for case money_base::symbol.
2024 * testsuite/22_locale/money_get_members_char.cc: Add test05.
2025 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
2027 2002-02-02 Paolo Carlini <pcarlini@unitus.it>
2029 * testsuite/22_locale/operators.cc
2030 (gnu_collate::do_compare()): Add return statement to
2031 suppress "no return statement" warning.
2033 2002-02-01 Paolo Carlini <pcarlini@unitus.it>
2035 * testsuite/27_io/ostream_manip.cc: Enable test02.
2037 2002-02-01 Phil Edwards <pme@gcc.gnu.org>
2039 * docs/html/documentation.html: Update for 3.0.96.
2040 * docs/html/faq/index.html: Update for 3.0.96.
2041 * docs/html/faq/index.txt: Regenerated.
2042 * docs/doxygen/TODO: Update notes.
2043 * docs/html/17_intro/howto.html: Initial impl-specific listing.
2045 2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
2047 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
2048 Initialize all data members in copy ctor. Make ctors explicit.
2049 (__enc_traits::__enc_traits()): Default ctor does nothing.
2050 (__enc_traits::_M_init): Guard against multiple iconv_opens.
2051 * include/std/std_sstream.h (basic_stringbuf): Make data members
2053 * include/std/std_fstream.h (basic_filebuf): Same.
2054 * include/std/std_streambuf.h: Tweak.
2055 * include/bits/streambuf.tcc: Same.
2056 * include/bits/sstream.tcc: Same.
2057 * include/bits/fstream.tcc: Same.
2059 2002-01-31 Loren Rittle <ljrittle@acm.org>
2061 * testsuite/22_locale/codecvt_members_char_char.cc: Do not
2062 allow NULL argument to be passed to setenv().
2063 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
2064 * testsuite/22_locale/collate_members_char.cc: Likewise.
2065 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
2066 * testsuite/22_locale/ctype_members_char.cc: Likewise.
2067 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
2068 * testsuite/22_locale/messages_members_char.cc: Likewise.
2069 * testsuite/22_locale/money_get_members_char.cc: Likewise.
2070 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
2071 * testsuite/22_locale/money_put_members_char.cc: Likewise.
2072 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
2073 * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
2074 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
2075 * testsuite/22_locale/num_get_members_char.cc: Likewise.
2076 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
2077 * testsuite/22_locale/num_put_members_char.cc: Likewise.
2078 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
2079 * testsuite/22_locale/numpunct_members_char.cc: Likewise.
2080 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
2081 * testsuite/22_locale/time_get_members_char.cc: Likewise.
2082 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
2083 * testsuite/22_locale/time_put_members_char.cc: Likewise.
2084 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
2086 2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
2088 * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
2090 * ChangeLog-2001: Fix spelling errors...
2091 * docs/html/17_intro/RELEASE-NOTES: Update.
2092 * docs/html/17_intro/TODO: Update.
2093 * README (file): Update.
2095 2002-01-30 Loren Rittle <ljrittle@acm.org>
2097 * config/locale/c_locale_generic.cc: Check errno for ERANGE
2098 instead of non-zero to aid portability.
2100 2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2102 * docs/html/22_locale/messages.html: Fix example code.
2104 2002-01-30 Richard Henderson <rth@redhat.com>
2106 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
2107 out from test03 and templatize.
2110 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
2112 * config/locale/numpunct_members_gnu.cc
2113 (numpunct<char, wchar_t>::_M_initialize_numpunct()):
2114 Fix initialization of _M_grouping for locales which have
2115 _M_thousands_sep == '\0'(L'\0', respectively).
2116 * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
2118 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
2120 * testsuite/27_io/ostream_inserter_arith.cc (test03):
2121 Better fix for 32/64 bit architectures, avoiding the
2122 implicit assumption that CHAR_BIT == 8.
2124 2002-01-28 Phil Edwards <pme@gcc.gnu.org>
2126 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
2127 * Makefile.in: Regenerate.
2129 * docs/doxygen/run_doxygen: Update, mostly for man pages.
2130 * docs/doxygen/Intro.3: Update.
2131 * docs/doxygen/TODO: Update.
2132 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
2133 * docs/doxygen/mainpage.doxy: Update.
2134 * docs/doxygen/user.cfg.in: Update for header rename. Also
2135 regenerate comments and variables with 1.2.12.
2136 * docs/doxygen/maint.cfg.in: Remove file.
2138 * include/bits/stl_relops.h: Doxygenate.
2139 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
2141 * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
2142 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
2143 include/c_std/std_ciso646.h, include/c_std/std_climits.h,
2144 include/c_std/std_clocale.h, include/c_std/std_cmath.h,
2145 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
2146 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
2147 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
2148 include/c_std/std_cstring.h, include/c_std/std_ctime.h,
2149 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
2150 include/ext/algorithm, include/ext/functional, include/ext/hash_map,
2151 include/ext/hash_set, include/ext/iterator, include/ext/memory,
2152 include/ext/numeric, include/ext/rb_tree, include/ext/rope,
2153 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
2154 include/ext/stl_hashtable.h, include/ext/stl_rope.h,
2155 include/std/std_algorithm.h, include/std/std_bitset.h,
2156 include/std/std_complex.h, include/std/std_deque.h,
2157 include/std/std_fstream.h, include/std/std_functional.h,
2158 include/std/std_iomanip.h, include/std/std_ios.h,
2159 include/std/std_iosfwd.h, include/std/std_iostream.h,
2160 include/std/std_istream.h, include/std/std_iterator.h,
2161 include/std/std_limits.h, include/std/std_list.h,
2162 include/std/std_locale.h, include/std/std_map.h,
2163 include/std/std_memory.h, include/std/std_numeric.h,
2164 include/std/std_ostream.h, include/std/std_queue.h,
2165 include/std/std_set.h, include/std/std_sstream.h,
2166 include/std/std_stack.h, include/std/std_stdexcept.h,
2167 include/std/std_streambuf.h, include/std/std_string.h,
2168 include/std/std_utility.h, include/std/std_valarray.h,
2169 include/std/std_vector.h: Add/correct @file doxygen hook.
2171 * include/ext/memory: Doxygenate most of rest of file.
2172 * libsupc++/exception: Doxygen output formatting.
2173 * libsupc++/new: Say which header it is.
2175 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
2176 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
2177 * docs/html/23_containers/howto.html: Describe O(n) list::size().
2178 * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
2180 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
2181 Charles Leggett <CGLeggett@lbl.gov>
2183 * testsuite/27_io/filebuf_members.cc (test_05): Add test.
2185 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
2187 * testsuite/27_io/ostream_inserter_arith.cc (test03):
2188 Fix to deal correctly with both 32 bit and 64 bit architectures
2190 2002-01-25 Loren Rittle <ljrittle@acm.org>
2192 * testsuite/thread/pthread1.cc: Use one condition variable
2193 per predicate instead of tricky use of one condition variable.
2195 2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
2197 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
2199 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
2200 * testsuite/27_io/filebuf.cc: Compile only.
2201 * testsuite/27_io/filebuf_members.cc: Move tests to here.
2202 * testsuite/27_io/filebuf_virtuals.cc: And here.
2203 Revert sungetc, sync changes for expected values.
2204 * testsuite/27_io/filebuf-*: Move to...
2205 * testsuite/27_io/filebuf_virtuals-*: ...here.
2206 * testsuite/27_io/istream.cc: Compile only, activate.
2207 * testsuite/27_io/ostream.cc: Same.
2208 * testsuite/27_io/iostream.cc: New.
2209 * testsuite/27_io/iostream_members.cc: New.
2211 2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
2213 * testsuite/thread/pthread1.cc: Enable on cygwin.
2214 * testsuite/thread/pthread2.cc: Likewise.
2215 * testsuite/thread/pthread3.cc: Likewise.
2216 * testsuite/thread/pthread4.cc: Likewise.
2217 * testsuite/thread/pthread5.cc: Likewise.
2218 * testsuite/thread/pthread6.cc: Likewise.
2220 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
2222 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
2224 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
2226 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
2228 (basic_ios::fill(char_type)): Use fill().
2229 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
2230 (basic_ios::narrow): Same.
2231 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
2232 if they are invalid.
2233 (basic_ios::init): Comment.
2234 * testsuite/27_io/ios_init.cc (test02): New.
2236 2002-01-24 Phil Edwards <pme@gcc.gnu.org>
2238 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
2239 * include/bits/stl_algo.h: Include stl_tempbuf.h.
2240 * include/ext/memory: Do not include stl_tempbuf.h.
2241 (temporary_buffer): Add doxygen hook.
2242 (__get_temporary_buffer, get_temporary_buffer,
2243 return_temporary_buffer): Move back to std:: header...
2244 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
2245 * include/ext/rope: Do not include stl_tempbuf.h.
2246 * include/ext/stl_hashtable.h: Likewise.
2247 * include/std/std_algorithm.h: Likewise.
2248 * testsuite/20_util/temporary_buffer.cc: New file.
2250 2002-01-24 andrew@andypo.net
2251 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
2254 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
2255 * include/bits/localefwd.h: Likewise.
2256 Also use for std::locale::id::_S_highwater.
2257 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
2258 * src/locale.cc: Support new usage of _Atomic_word.
2259 (std::locale::classic): Guard entire function against reentry.
2260 * src/localename.cc: Support new usage of _Atomic_word.
2262 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
2264 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
2265 _GLIBCPP_HAVE_SETENV.
2266 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
2267 * testsuite/22_locale/collate_members_char.cc (test02): Same.
2268 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
2269 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
2270 * testsuite/22_locale/messages_members_char.cc (test02): Same.
2271 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
2272 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
2273 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
2274 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
2275 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
2276 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
2277 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
2278 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
2279 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
2280 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
2281 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
2282 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
2283 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
2284 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
2285 * aclocal.m4: Regenerate.
2286 * configure: Regenerate.
2287 * config.h.in: Regenerate.
2289 2002-01-23 Loren Rittle <ljrittle@acm.org>
2291 * testsuite/thread/pthread1.cc: New test.
2292 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
2293 * testsuite/thread/pthread3.cc: Likewise.
2294 * testsuite/thread/pthread4.cc: New test adapted from
2295 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
2296 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
2297 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
2299 2002-01-23 Richard Henderson <rth@redhat.com>
2302 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
2303 CAS on the cpu variants that support it. Add versions that use
2304 TAS and that disable interrupts.
2305 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
2307 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
2309 * include/bits/locale_facets.tcc: Remove old comments.
2311 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
2313 * include/bits/locale_facets.tcc (__convert_to_v): Change template
2315 (__convert_from_v): Same.
2317 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
2319 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
2321 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
2322 __max_digits checks, adjust arguments.
2323 (num_get::do_get(*)): Changeup.
2325 2002-01-23 Loren Rittle <ljrittle@acm.org>
2327 * config/locale/c_locale_generic.cc: Fix typename usage.
2329 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
2331 * config/locale/c_locale_generic.cc: Fix.
2333 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
2335 * docs/html/22_locale/messages.html: Remove angle brackets.
2336 * docs/html/17_intro/TODO: Add.
2338 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
2340 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
2341 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
2342 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
2343 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
2345 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
2347 Audit for LANG independence.
2348 * include/bits/localefwd.h: Tweaks.
2349 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
2351 (time_get::do_get_year): Same.
2352 (__convert_from_v): Add.
2353 (num_put::_M_convert_float): Use.
2354 (num_put::_M_convert_int): Same.
2355 (money_put::do_put): Same.
2357 * src/locale-inst.cc: Add instantiations for __convert_from_v.
2358 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
2359 * config/locale/time_members_generic.cc:
2360 * config/locale/messages_members_gnu.cc: Same.
2361 * config/locale/messages_members_gnu.h: Same.
2363 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
2364 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
2365 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
2366 * testsuite/22_locale/collate_members_char.cc (test02): New.
2367 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
2368 * testsuite/22_locale/ctype_members_char.cc (test03): New.
2369 * testsuite/22_locale/messages_members_char.cc (test02): New.
2370 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
2371 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
2372 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
2373 * testsuite/22_locale/money_get_members_char.cc (test04): New.
2374 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
2375 * testsuite/22_locale/money_put_members_char.cc (test04): New.
2376 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
2377 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
2378 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
2379 * testsuite/22_locale/time_put_members_char.cc (test03): New.
2380 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
2381 * testsuite/22_locale/time_get_members_char.cc (test07): New.
2382 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
2383 * testsuite/22_locale/num_get_members_char.cc (test03): New.
2384 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
2385 * testsuite/22_locale/num_put_members_char.cc (test03): New.
2387 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
2389 * testsuite/22_locale/time_get_members_char.cc: Same.
2391 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
2394 * include/bits/localefwd.h: Tweak comments.
2395 * include/bits/locale_facets.h (__convert_to_v): Add.
2396 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
2397 (num_get::do_get(float)): Same.
2398 (num_get::do_get(long double)): Same.
2399 (num_get::do_get(bool)): Same.
2400 (num_get::do_get(long)): Same.
2401 (num_get::do_get(long long)): Same.
2402 (num_get::do_get(unsigned int)): Same.
2403 (num_get::do_get(unsigned short)): Same.
2404 (num_get::do_get(unsigned long)): Same.
2405 (num_get::do_get(unsigned long long)): Same.
2406 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
2407 * config/locale/c_locale_generic.cc: Same.
2409 2002-01-22 Loren Rittle <ljrittle@acm.org>
2411 * include/Makefile.am (c_base_builddir): Remove redundant slash.
2412 (std_builddir): Likewise.
2413 (std_headers_rename): Fix cut-n-paste typo.
2414 (install-data-local): Concat path per element instead of once to
2415 first element of list.
2416 * include/Makefile.in: Rebuilt.
2418 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
2420 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
2421 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
2422 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
2424 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
2426 * include/bits/locale_facets.h (ctype<char>::classic_table):
2428 (ctype<char>::_S_ctable): Remove.
2429 * config/os/gnu-linux/bits/ctype_noninline.h
2430 (ctype<char>::_S_table): Remove definition.
2431 (ctype<char>::classic_table): Define.
2432 (ctype<char>::ctype): Replace _S_ctable with classic_table().
2433 * config/os/aix/bits/ctype_noninline.h: Same.
2434 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
2435 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
2436 * config/os/djgpp/bits/ctype_noninline.h: Same.
2437 * config/os/generic/bits/ctype_noninline.h: Same.
2438 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
2439 * config/os/hpux/bits/ctype_noninline.h: Same.
2440 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
2441 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
2442 * config/os/mingw32/bits/ctype_noninline.h: Same.
2443 * config/os/newlib/bits/ctype_noninline.h: Same.
2444 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2445 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
2446 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2448 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
2450 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
2451 of _pctype. Use to define _S_ctable. Add definition for alternate
2452 ctor. Initialise _M_ctable to _S_ctable in ctors.
2453 (do_toupper, do_tolower): Use inline code appropriate for C-locale
2454 rather than ::toupper, ::tolower.
2456 2002-01-18 Loren Rittle <ljrittle@acm.org>
2458 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
2459 Add specialization for FreeBSD systems only to avoid losing test
2460 only due to extra precision unmentioned in system headers.
2462 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
2464 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
2466 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
2468 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
2469 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
2471 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2473 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
2475 2002-01-17 David Edelsohn <edelsohn@gnu.org>
2477 * configure.target: Define OPT_LDFLAGS for AIX case.
2479 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2481 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
2482 __glibcpp_double_has_quiet_NaN): Correct mispelling.
2484 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
2486 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
2488 2002-01-16 David Edelsohn <dje@watson.ibm.com>
2490 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
2491 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
2492 * aclocal.m4: Regenerate.
2493 * configure: Regenerate.
2495 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
2497 * include/Makefile.am (c_base_headers_rename): New.
2498 (c_base_headers_extra): New.
2499 (stamp-c_base): Modify.
2500 (install-data-local): Use both.
2501 * include/Makefile.in: Regenerate.
2502 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
2503 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
2504 cstdio ctime cwctype]: Move to..
2505 * include/c/std_*: Here.
2506 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
2507 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
2508 cstdio ctime cwctype]: Move to..
2509 * include/c_std/std_*: Here.
2511 Alexandre Oliva <aoliva@redhat.com>
2512 * include/Makefile.am (.PRECIOUS): Add rule.
2513 * include/Makefile.in: Regenerate.
2515 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
2516 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2518 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
2519 Deuglify, should be current.
2520 (back_insert_iterator::_M_container): Deuglify, should be container.
2521 (front_insert_iterator::_M_container): Same.
2522 (insert_iterator::_M_container): Same.
2523 * testsuite/24_iterators/reverse_iterator.cc: Add check.
2524 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
2525 * testsuite/24_iterators/front_insert_iterator.cc: Same.
2526 * testsuite/24_iterators/insert_iterator.cc: Same.
2528 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
2530 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
2532 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
2533 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
2534 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2535 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
2536 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2537 * config/os/newlib/bits/ctype_noninline.h: Same.
2538 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
2539 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
2540 * config/os/hpux/bits/ctype_noninline.h: Same.
2541 * config/os/djgpp/bits/ctype_noninline.h: Same.
2542 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
2543 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
2544 * config/os/aix/bits/ctype_noninline.h: Same.
2546 Testcase by Dietmar Kühl via Peter Schmid
2547 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
2550 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
2552 * libmath/signbitl.c: Copyright years as list, not range.
2553 * libmath/Makefile.am: Same.
2554 * libmath/Makefie.in: Regenerate.
2555 * libmath/signbit.c: Same.
2556 * libmath/nan.c: Same.
2557 * libmath/copysignf.c: Same.
2558 * libmath/signbitf.c: Same.
2559 * testsuite/22_locale/money_get_members_char.cc: Same.
2560 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
2561 * testsuite/22_locale/money_put_members_char.cc: Same.
2562 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
2563 * testsuite/22_locale/time_get_members_char.cc: Same.
2564 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
2565 * testsuite/22_locale/time_put_members_char.cc: Same.
2566 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
2567 * testsuite/21_strings/nonmember.cc: Same.
2568 * testsuite/21_strings/compare.cc: Same.
2569 * testsuite/27_io/stringstream.cc: Same.
2570 * testsuite/27_io/stringbuf.cc: Same.
2571 * testsuite/27_io/filebuf.cc: Same.
2572 * testsuite/27_io/ios_manip_basefield.cc: Same.
2573 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
2574 * include/bits/cpp_type_traits.h: Same.
2575 * include/bits/generic_shadow.h: Same.
2576 * include/bits/gslice_array.h: Same.
2577 * include/bits/gslice.h: Same.
2578 * include/bits/indirect_array.h: Same.
2579 * include/bits/slice_array.h: Same.
2580 * include/bits/sstream.tcc: Same.
2581 * include/bits/streambuf_iterator.h: Same.
2582 * include/bits/valarray_array.tcc: Same.
2583 * include/bits/valarray_meta.h: Same.
2584 * include/bits/valarray_array.h: Same.
2585 * config/os/mingw32/bits/ctype_noninline.h: Same.
2586 * config/os/mingw32/bits/ctype_base.h: Same.
2587 * config/os/hpux/bits/ctype_noninline.h: Same.
2588 * config/os/hpux/bits/ctype_base.h: Same.
2589 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
2590 * config/os/gnu-linux/bits/ctype_base.h: Same.
2591 * config/os/generic/bits/ctype_noninline.h: Same.
2592 * config/os/generic/bits/ctype_base.h: Same.
2594 * libsupc++/tinfo.h: Tweaks.
2596 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
2598 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
2599 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
2600 * testsuite/22_locale/ctype_members_char.cc: Tweak.
2602 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
2604 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
2605 (num_put::do_put(void*)): Fix.
2606 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
2607 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
2608 * testsuite/22_locale/num_get_members_char.cc (test02): Add
2609 long double, void, bool types.
2610 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
2612 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
2613 Alexandre Oliva <aoliva@redhat.com>
2615 * libmath/Makefile.am (LINK): Add --tag CC.
2616 * libmath/Makefile.in: Regenerate.
2618 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
2620 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
2621 of character to attribute mapping table.
2623 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
2625 * testsuite/26_numerics/c99_classification_macros_c.cc
2626 Remove dg-error and dg-excess-errors comments.
2628 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
2630 * include/bits/locale_facets.tcc (time_put::put): Correct output
2632 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
2633 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
2634 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
2635 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
2637 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
2639 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
2641 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
2642 Nathan Myers <ncm@cantrip.org>
2644 * include/bits/basic_string.h
2645 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
2646 temporaries (i.e., call _M_replace_safe) when possible.
2647 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
2648 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
2649 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
2650 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
2651 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
2652 * include/bits/basic_string.tcc
2653 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
2654 replace(__pos, __n1, __s, __n2).
2655 * testsuite/21_strings/replace.cc (test03): New testcases.
2657 * include/bits/basic_string.h (insert(__pos, __s, __n)):
2658 Adjust comparison wrt overflow.
2660 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
2662 * include/Makefile.am (std_headers_rename): New variable.
2663 (install-data-local): Use it.
2664 * include/Makefile.in: Regenerate.
2666 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
2668 * include/bits/locale_facets.tcc (money_put::do_put(string):
2669 Correct output iterator value.
2670 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
2671 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
2673 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
2675 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
2678 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
2680 * include/Makefile.am (std_headers): Update list with new names.
2681 (stamp-std): Link to standardized name.
2682 * include/Makefile.in: Regenerate.
2684 * include/std/algorithm, include/std/bitset, include/std/complex,
2685 include/std/deque, include/std/fstream, include/std/functional,
2686 include/std/iomanip, include/std/ios, include/std/iosfwd,
2687 include/std/iostream, include/std/istream, include/std/iterator,
2688 include/std/limits, include/std/list, include/std/locale,
2689 include/std/map, include/std/memory, include/std/numeric,
2690 include/std/ostream, include/std/queue, include/std/set,
2691 include/std/sstream, include/std/stack, include/std/stdexcept,
2692 include/std/streambuf, include/std/string, include/std/utility,
2693 include/std/valarray, include/std/vector: Rename to...
2695 * include/std/std_algorithm.h, include/std/std_bitset.h,
2696 include/std/std_complex.h, include/std/std_deque.h,
2697 include/std/std_fstream.h, include/std/std_functional.h,
2698 include/std/std_iomanip.h, include/std/std_ios.h,
2699 include/std/std_iosfwd.h, include/std/std_iostream.h,
2700 include/std/std_istream.h, include/std/std_iterator.h,
2701 include/std/std_limits.h, include/std/std_list.h,
2702 include/std/std_locale.h, include/std/std_map.h,
2703 include/std/std_memory.h, include/std/std_numeric.h,
2704 include/std/std_ostream.h, include/std/std_queue.h,
2705 include/std/std_set.h, include/std/std_sstream.h,
2706 include/std/std_stack.h, include/std/std_stdexcept.h,
2707 include/std/std_streambuf.h, include/std/std_string.h,
2708 include/std/std_utility.h, include/std/std_valarray.h,
2709 include/std/std_vector.h: ...this.
2711 2002-01-11 Loren Rittle <ljrittle@acm.org>
2713 * include/Makefile.am (extra_target_headers): New list of all
2714 target files built with ad hoc naming rules.
2715 (stamp-*): Handle LN_S failure in manner portable across make
2717 (install-data-local): Install header files from human-maintained
2718 file lists and directory components instead of non-robust find.
2719 * include/Makefile.in: Rebuilt.
2721 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
2723 * include/bits/locale_facets.tcc (money_get::do_get(string)):
2724 Check for zero-length negative sign before adding it to output
2726 (money_get::do_get(long double)): Return beg.
2727 * testsuite/22_locale/money_get_members_char.cc (test02): Add
2729 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
2731 2002-01-10 David Seymour <seymour_dj@yahoo.com>
2734 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
2735 for _M_extract_float and _M_extract_int
2736 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
2737 (num_get<>::_M_extract_int): Likewise, all callers changed
2738 * testsuite/22_locale/num_get_members_char.cc: Testcase
2740 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
2742 * libsupc++/exception (bad_exception): Add comment.
2743 * libsupc++/new (bad_alloc): Same.
2744 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
2746 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
2748 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
2749 that the destructors should be removed from the descriptions
2750 in the standard: writing them explicitly allows the vtable
2751 heuristic to work. For additional information see:
2752 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
2753 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
2754 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
2755 * libsupc++/exception (bad_exception::~bad_exception()):
2756 Reintroduce declaration.
2757 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
2758 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
2759 (bad_typeid::~bad_typeid()): Same.
2760 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
2761 Reintroduce definition.
2762 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
2763 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
2764 (bad_typeid::~bad_typeid()): Same.
2766 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
2768 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
2769 * include/Makefile.in: Regenerate.
2771 2002-01-09 Bo Thorsen <bo@suse.co.uk>
2773 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
2776 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
2780 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
2781 return value of _M_file->sync().
2782 (filebuf::showmanyc): Check for is_open.
2783 * include/std/fstream (filebuf::sync): Tweak.
2784 * testsuite/27_io/filebuf.cc: Tweak.
2786 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
2787 Brad Garcia <garsh@attbi.com>
2789 * testsuite/27_io/filebuf_members.cc: Add test.
2791 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
2792 Craig Rodrigues <rodrigc@mediaone.net>
2795 * po/Makefile.am (mkinstalldirs): Add.
2796 * po/Makefile.in: Regenerate.
2798 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
2800 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
2801 testsuite/lib/prune.exp: Delete lines ":In function ..." from
2803 * testsuite/23_containers/map_operators.cc: Remove
2804 dg-excess-errors comment.
2805 * testsuite/23_containers/set_operators.cc: Likewise.
2807 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
2809 * include/bits/stl_function.h: Remove two lines of comments;
2810 adjust copyright years.
2812 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
2814 * include/Makefile.am (std_headers): Remove cXXX from list.
2815 (c_base_srcdir): No bits subdirectory.
2816 (c_base_builddir): Same.
2817 (c_base_headers): Adjust names, add ciso646.
2818 (bits_headers): Remove std_xxx.h headers.
2819 * include/Makefile.in: Regenerate.
2821 * include/ext/iterator: Adjust includes.
2822 * include/ext/ropeimpl.h: Same.
2823 * include/ext/stl_hash_fun.h: Same.
2824 * include/ext/algorithm: Same.
2826 * include/backward/bvector.h: Adjust includes.
2827 * include/backward/vector.h: Same.
2828 * include/backward/strstream: Same.
2829 * include/backward/streambuf.h: Same.
2830 * include/backward/stack.h: Same.
2831 * include/backward/set.h: Same.
2832 * include/backward/queue.h: Same.
2833 * include/backward/multiset.h: Same.
2834 * include/backward/multimap.h: Same.
2835 * include/backward/map.h: Same.
2836 * include/backward/list.h: Same.
2837 * include/backward/iterator.h: Same.
2838 * include/backward/iostream.h: Same.
2839 * include/backward/iomanip.h: Same.
2840 * include/backward/fstream.h: Same.
2841 * include/backward/deque.h: Same.
2842 * include/backward/complex.h: Same.
2844 * include/bits/std_algorithm.h: Move to...
2845 * include/std/algorithm: ...here.
2846 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
2847 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
2848 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
2849 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
2850 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
2851 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
2852 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
2855 * include/c_std/bits/std_cassert.h: Move to...
2856 * include/c_std/cassert: Here.
2857 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
2858 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
2859 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
2860 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
2861 std_cwctype.h: Same.
2862 * include/c_std/cmath: Adjust cmath.tcc include.
2863 * include/c_std/cstdlib: Adjust includes.
2864 * include/c_std/cwchar: Same.
2865 * include/c_std/ctime: Same.
2866 * include/c_std/cstring: Same.
2867 * include/c_std/cstdio: Same.
2868 * include/c_std/bits: Remove directory.
2870 * include/c/bits/std_cassert.h: Move to...
2871 * include/c/cassert: Here.
2872 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
2873 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
2874 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
2875 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
2876 std_cwctype.h: Same.
2877 * include/c/bits: Remove directory.
2879 * include/std/cwctype: Remove.
2880 * include/std/cwchar: Remove.
2881 * include/std/ctime: Remove.
2882 * include/std/cstring: Remove.
2883 * include/std/cstdlib: Remove.
2884 * include/std/cstdio: Remove.
2885 * include/std/cstddef: Remove.
2886 * include/std/cstdarg: Remove.
2887 * include/std/csignal: Remove.
2888 * include/std/csetjmp: Remove.
2889 * include/std/cmath: Remove.
2890 * include/std/clocale: Remove.
2891 * include/std/climits: Remove.
2892 * include/std/ciso646: Remove.
2893 * include/std/cfloat: Remove.
2894 * include/std/cerrno: Remove.
2895 * include/std/cctype: Remove.
2896 * include/std/cassert: Remove.
2898 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
2899 files and subsituting <xxx>.
2900 * include/bits/valarray_array.h: Same.
2901 * include/bits/stl_uninitialized.h: Same.
2902 * include/bits/stl_alloc.h: Same.
2903 * include/bits/stl_algobase.h: Same.
2904 * include/bits/sstream.tcc: Same.
2905 * include/bits/pthread_allocimpl.h: Same.
2906 * include/bits/ostream.tcc: Same.
2907 * include/bits/localefwd.h: Same.
2908 * include/bits/locale_facets.tcc: Same.
2909 * include/bits/locale_facets.h: Same.
2910 * include/bits/istream.tcc: Same.
2911 * include/bits/char_traits.h: Same.
2912 * include/bits/boost_concept_check.h: Same.
2913 * include/bits/basic_file.h: Same.
2914 * include/std/bitset: Same.
2915 * include/std/complex: Same.
2916 * include/std/fstream: Same.
2917 * include/std/functional: Same.
2918 * include/std/ios: Same.
2919 * include/std/iostream: Same.
2920 * include/std/ostream: Same.
2921 * include/std/sstream: Same.
2922 * include/std/streambuf: Same.
2923 * include/std/string: Same.
2924 * include/std/iterator: Same.
2925 * include/std/valarray: Same.
2927 * src/ios.cc: Adjust includes.
2928 * src/valarray-inst.cc: Same.
2929 * src/string-inst.cc: Same.
2930 * src/stl-inst.cc: Same.
2931 * src/stdexcept.cc: Same.
2932 * src/misc-inst.cc: Same.
2933 * src/localename.cc: Same.
2934 * src/locale-inst.cc: Same.
2935 * src/locale.cc: Same.
2936 * src/limits.cc: Same.
2937 * src/concept-inst.cc: Same.
2938 * src/complex_io.cc: Same.
2939 * src/codecvt.cc: Same.
2940 * src/bitset.cc: Same.
2941 * src/cmath.cc: Same.
2943 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
2945 * include/bits/stl_tree.h (rb_tree): Move to...
2946 * include/ext/rb_tree: ...here, new file.
2947 * include/Makefile.am (ext_headers): Add new file.
2948 * include/Makefile.in: Regenerate.
2949 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
2950 return_temporary_buffer, struct temporary_buffer): Move to...
2951 * include/ext/memory: ...here.
2952 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
2953 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
2954 * include/backward/tree.h: Include <ext/rb_tree), tweak.
2956 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
2958 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
2959 * include/ext/numeric: ...here, new file.
2960 * include/bits/stl_function.h (identity_element, unary_compose,
2961 binary_compose, compose1, compose2, identity, select1st,
2962 select2nd, project1st + helper, project2nd + helper,
2963 constant_void_fun + helper, constant_unary_fun + helper,
2964 costant_binary_fun + helper, constant0, constant1, constant2,
2965 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
2966 * include/ext/functional: ...here, new file.
2967 * include/Makefile.am (ext_headers): Add new files.
2968 * include/Makefile.in: Regenerate.
2969 * testsuite/ext/headers.cc: Include <ext/numeric> and
2971 * include/backward/algo.h: Include <ext/numeric>, tweak.
2972 * include/backward/function.h: Include <ext/functional>, tweak.
2973 * include/ext/ropeimpl.h: Include <ext/numeric>.
2975 2002-01-03 Jeffrey A Law <law@redhat.com>
2977 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
2978 __strtoull declarations with __extension__.
2980 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
2982 * testsuite/lib/prune.exp: Correct regular expression for
2985 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
2987 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
2988 Change concept checks, as with lower_bound and PR 2054.
2989 * testsuite/ext/concept_checks.cc: Expand test to include those.
2991 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
2993 * include/bits/boost_concept_check.h: Import some changes from
2994 upsteam (Boost) version.
2996 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
2998 * include/bits/stl_algobase.h (copy_n + helpers,
2999 lexicographical_compare_3way + helpers): Move to...
3000 * include/ext/algorithm: ...here.
3001 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
3002 helpers): Move to...
3003 * include/ext/memory: ...here, new file.
3004 * include/Makefile.am (ext_headers): Add new file.
3005 * include/Makefile.in: Regenerate.
3006 * testsuite/ext/headers.cc: Include <ext/memory>.
3007 * include/backward/algobase.h: Include <ext/memory> and
3008 <ext/algorithm>, tweak.
3009 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
3010 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
3012 2002-01-01 Roger Sayle <roger@eyesopen.com>
3014 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
3015 equivalent ___builtin__ versions.
3017 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
3018 are available in libstdc++ as the necessary stub implementations
3019 are provided by libmath/stubs.c.
3021 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
3023 * configure.in: Add support for NetBSD cross compiles.
3024 * configure: Regenerate.