ChangeLog revision 103447
12002-09-12 Benjamin Kosnik <bkoz@redhat.com> 2 3 * libmath/Makefile.am (LIBTOOL): Use --tag CC always for this 4 directory. 5 * libmath/Makefile.in: Regenerate. 6 * src/Makefile.am: Tweak comment. 7 * src/Makefile.in: Regenerate. 8 9 * config/locale/gnu/c_locale.h: Remove warnings. 10 Inject __uselocale into __gnu_cxx. 11 * config/locale/generic/c_locale.h: Match. 12 132002-09-12 Benjamin Kosnik <bkoz@redhat.com> 14 15 * include/bits/locale_facets.tcc (__convert_from_v): Remove. 16 * config/locale/gnu/c_locale.h (__convert_from_v): Add. 17 * config/locale/generic/c_locale.h (__convert_from_v): Add. 18 192002-09-12 Paolo Carlini <pcarlini@unitus.it> 20 21 * include/bits/locale_facets.tcc (__convert_from_v): 22 Use __uselocale instead of setlocale for glibc 2.3+. 23 242002-09-12 Benjamin Kosnik <bkoz@redhat.com> 25 26 * src/Makefile.am (sources): Edit. 27 (target_sources): New. 28 (target_sources_extra): New. 29 * src/Makefile.in: Regenerate. 30 * acinclude.m4: Set CCODECVT_CC. 31 * aclocal.m4: Regenerate. 32 * configure: Regenerate. 33 * src/locale.cc: Move ctype definitions... 34 * src/ctype.cc: ...here. New file. 35 * src/locale.cc: Move codecvt definitions... 36 * src/codecvt.cc: ...here. 37 * config/generic/codecvt_members.cc: ...and here. 38 * config/gnu/codecvt_members.cc: ...and here. 39 * include/bits/codecvt.h: Tweak. 40 * include/bits/locale_facets: Tweak. 41 42 * src/bitset.cc: Correct license text. 43 * src/concept-inst.cc: Same. 44 * src/strstream.cc: Same. 45 * src/vterminate.cc: Same. 46 472002-09-10 Danny Smith <dannysmith@users.sourceforge.net> 48 49 * include/bits/locale_facets.tcc (__convert_from_v): 50 Replace strdup with ISO malloc and strcpy. 51 522002-09-09 Benjamin Kosnik <bkoz@redhat.com> 53 54 * src/misc-inst.cc: Remove some instantiations. 55 56 * testsuite/abi_check.cc: Make output results more verbose. 57 58 * config/os/gnu-linux/ctype_base.h: Remove shadow headers injections. 59 602002-09-07 Jakub Jelinek <jakub@redhat.com> 61 62 * config/locale/generic/messages_members.cc: Add specialization for 63 messages<wchar_t>. 64 * config/locale/ieee_1003.1-20021/messages_members.cc: Likewise. 65 662002-09-06 Jakub Jelinek <jakub@redhat.com> 67 68 * configure.target: Use cpu_include_dir="config/cpu/sparc" for all 69 sparc targets. 70 * config/cpu/sparc/bits/atomicity.h: New file. 71 * config/cpu/sparc/sparc32/bits/atomicity.h: Removed. 72 * config/cpu/sparc/sparc64/bits/atomicity.h: Removed. 73 742002-09-06 Jakub Jelinek <jakub@redhat.com> 75 76 * config/os/gnu-linux/bits/ctype_noninline.h 77 [_GLIBCPP_USE_SHADOW_HEADERS]: Remove using _C_legacy::__ctype_*. 78 (ctype<char>::classic_table): If _GLIBCPP_C_LOCALE_GNU, return 79 _S_c_locale->__ctype_b, otherwise temporarily switch to "C" locale 80 and return __ctype_b. 81 (ctype<char>::ctype(__c_locale, const mask*, bool, size_t)): If not 82 _GLIBCPP_C_LOCALE_GNU, temporarily switch to "C" locale and 83 initialize using __ctype_{b,tolower,toupper}. 84 (ctype<char>::ctype(const mask*, bool, size_t)): If 85 _GLIBCPP_C_LOCALE_GNU, initialize using 86 _S_c_locale->__ctype_{b,tolower,toupper}, otherwise temporarily 87 switch to "C" locale and initialize using __ctype_{b,tolower,toupper}. 88 892002-09-05 Loren J. Rittle <ljrittle@acm.org> 90 91 Move from mainline. 92 * src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation. 93 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise. 94 * src/Makefile.in: Regenerate (explicitly with --cygnus option). 95 * testsuite/Makefile.in: Likewise. 96 972002-09-05 Paolo Carlini <pcarlini@unitus.it> 98 Roland McGrath <roland@redhat.com> 99 100 PR libstdc++/7811 101 * src/locale.cc (locale::locale(__s)): Use getenv instead 102 of setenv for the environment locale. 103 * testsuite/22_locale/ctor_copy_dtor.cc (test03): New. 104 1052002-09-05 Jakub Jelinek <jakub@redhat.com> 106 107 * config/abi/ia64-unknown-linux-gnu: Add. 108 * config/abi/ia64-unknown-linux-gnu/baseline_symbols.txt: New file. 109 * config/abi/alphaev67-unknown-linux-gnu: Add. 110 * config/abi/alphaev67-unknown-linux-gnu/baseline_symbols.txt: New file. 111 1122002-09-05 Phil Edwards <pme@gcc.gnu.org> 113 114 * testsuite/Makefile.am: Use LD_RUN_PATH when linking abi_check. 115 Fix spelling in comment. 116 * testsuite/Makefile.in: Regenerate. 117 * testsuite/abi_check.cc: Use string literals to build 'cmd' rather 118 than 'quote' and 'bslash'. 119 1202002-09-05 Jakub Jelinek <jakub@redhat.com> 121 122 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_widen(char)): 123 Switch to _M_c_locale_ctype around btowc call. 124 (ctype<wchar_t>::do_widen(const char*, const char *, wchar_t*)): 125 Switch to _M_c_locale_ctype around mbsrtowcs call. 126 (ctype<wchar_t>::do_narrow(char)): Switch to _M_c_locale_ctype around 127 wctob call. 128 (ctype<wchar_t>::do_narrow(const char*, const char *, wchar_t*)): 129 Switch to _M_c_locale_ctype around wcsrtombs call. 130 1312002-09-05 Jakub Jelinek <jakub@redhat.com> 132 133 * config/locale/gnu/monetary_members.cc 134 (moneypunct<wchar_t, true>::_M_initialize_moneypunct, 135 moneypunct<wchar_t, false>::_M_initialize_moneypunct): Use 136 __uselocale instead of setlocale for glibc 2.3. 137 1382002-09-05 Jakub Jelinek <jakub@redhat.com> 139 140 * config/locale/generic/c++locale_internal.h: New header. 141 * config/locale/gnu/c++locale_internal.h: New header. 142 * config/locale/gnu/c_locale.cc: Include it. 143 * config/locale/gnu/collate_members.cc: Include it. 144 * config/locale/gnu/ctype_members.cc: Include it. 145 * config/locale/gnu/messages_members.cc: Include it. 146 * config/locale/gnu/monetary_members.cc: Include it. 147 * config/locale/gnu/numeric_members.cc: Include it. 148 * config/locale/gnu/time_members.cc: Include it. 149 (_M_put): Reorder __strftime_l and __wcsftime_l arguments to match 150 glibc. 151 (_M_initialize_timepunct): Initialize _M_c_locale_timepunct for 152 C locale. 153 * acinclude.m4: Include string.h when testing strcoll_l. 154 For glibc 2.3 provide __-prefixed prototypes. 155 (CLOCALE_INTERNAL_H): Set, add AC_LINK_FILES line. 156 * aclocal.m4, configure: Rebuilt. 157 1582002-09-05 Benjamin Kosnik <bkoz@redhat.com> 159 160 * include/bits/locale_facets.h: Add declaration of specialization 161 here. 162 * config/locale/gnu/messages_members.cc: Add specialization for 163 messages<wchar_t>. 164 * config/locale/gnu/messages_members.h: Remove generic definition 165 of do_get. 166 1672002-08-26 Phil Edwards <pme@gcc.gnu.org> 168 169 * Makefile.am (check-abi): Specify current directory. 170 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Fix shell syntax, use 171 abi_baseline_triplet in baseline_file. 172 * Makefile.in, aclocal.m4, configure: Regenerate. 173 * configure.target: Add abi_baseline_triplet with default. 174 * testsuite/abi_check.cc: More error checking. 175 1762002-08-25 Benjamin Kosnik <bkoz@redhat.com> 177 178 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Set 179 GLIBCPP_BUILD_ABI_CHECK based on cross compiling, build, host 180 variables. 181 * aclocal.m4: Regenerate. 182 * testsuite/Makefile.am (noinst_PROGRAMS): Make conditional on 183 native compiling. 184 * testsuite/Makefile.in: Regenerate. 185 1862002-08-22 Benjamin Kosnik <bkoz@redhat.com> 187 Phil Edwards <pme@gcc.gnu.org> 188 Ulrich Drepper <drepper@redhat.com> 189 190 * Makefile.am (check-abi): New rule. 191 * Makefile.in: Regenerate. 192 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Export baseline_file. 193 * aclocal.m4: Regenerate. 194 * configure: Regenerate. 195 * testsuite/Makefile.am (noinst_PROGRAMS): Add abi_check. 196 (abi_check_SOURCES): Add. 197 * testsuite/Makefile.in: Regenerate. 198 * testsuite/abi_check.cc: New file. 199 * config/abi: Add. 200 * config/abi/i686-pc-linux-gnu: Add. 201 * config/abi/i686-pc-linux-gnu/baseline_symbols.txt: New file. 202 2032002-08-19 Benjamin Kosnik <bkoz@redhat.com> 204 205 * configure.in (libtool_VERSION): Update to 5:1:0. 206 * configure: Regenerate. 207 2082002-08-15 Benjamin Kosnik <bkoz@redhat.com> 209 210 * include/ext/stdio_filebuf.h (stdio_filebuf): Explicitly set 211 _M_buf_size_opt to zero when unbuffering. 212 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify. 213 Consistency checks for _M_buf_size_opt. 214 215 Revert PR libstdc++/7445 216 * src/locale.cc (locale::classic): Revert. 217 218 * docs/html/17_intro/TODO: Add. 219 2202002-08-15 Danny Smith <dannysmith@users.sourceforge.net> 221 Benjamin Kosnik <bkoz@redhat.com> 222 223 * include/bits/istream.tcc (basic_istream::ignore): Use sbumpc, 224 not snextc. 225 * testsuite/27_io/narrow_stream_objects.cc (test10): Add. 226 2272002-08-15 Danny Smith <dannysmith@users.sourceforge.net> 228 229 * config/os/newlib/ctype_inline.h (is): Don't offset _M_table. 230 (scan_is): Use this->is. 231 (scan_not): Likewise. 232 2332002-08-15 Rick Danos <rdanos@hotmail.com> 234 235 PR libstdc++/7461 236 * config/os/newlib/ctype_noninline.h (classic_table): Add offset. 237 * config/os/newlib/ctype_inline.h (is): Use static_cast. 238 2392002-08-14 Release Manager 240 241 * GCC 3.2 Released. 242 2432002-08-06 Benjamin Kosnik <bkoz@redhat.com> 244 245 Revert PR libstdc++/6594 246 * src/strstream.cc (strstreambuf): Revert. 247 (strstreambuf::overflow): Same. 248 (strstreambuf::~strstreambuf): Same. 249 * testsuite/backward/strstream_members.cc (test02): Add. 250 251 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add bool test. 252 2532002-08-01 Benjamin Kosnik <bkoz@redhat.com> 254 Jakub Jelinek <jakub@redhat.com> 255 256 * config/linker-map.gnu: Change CXXABI_1 to CXXABI_1.2, 257 GLIBCPP_3.1 to GLIBCPP_3.2. 258 2592002-07-31 Benjamin Kosnik <bkoz@redhat.com> 260 Mark Mitchell <mark@codesourcery.com> 261 262 PR libstdc++/7442 263 * libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit): 264 Change to __hwm_bit. 265 (__class_type_info): And here. 266 2672002-07-31 Benjamin Kosnik <bkoz@redhat.com> 268 269 PR libstdc++/7442 270 * libsupc++/cxxabi.h 271 (__base_class_info): Change to __base_class_type_info. 2.9.5p6c 272 (__base_class_info::__base): Change to __base_type. 2.9.5p6c 273 (__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c 274 (__vmi_class_type_info::__base_info): Don't make const, of type 275 __base_class_type_info, as per 2.9.5p6c 276 (__pbase_type_info::__qualifier_flags): Change to __flags, as per 277 2.9.5p7. 278 (__pbase_type_info::__qualifier_masks): Change to __masks, as per 279 2.9.5p7. 280 (__pointer_to_member_type_info::__context_class): Change member to 281 __context, as per 2.9.5p9. 282 * libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to 283 __context. 284 * libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to 285 __flags. 286 * libsupc++/tinfo.cc (__do_find_public_src): Change __base to 287 __base_type. 288 * libsupc++/tinfo.cc (__do_dyncast): Same. 289 * libsupc++/tinfo.cc (__do_upcast): Same. 290 2912002-07-31 Simon Whomsley <whomsley@avacadcam.com> 292 293 * docs/html/22_locale/howto.html: Fix. 294 2952002-07-31 Alex Kompel <shurik@sequoiap.com> 296 297 PR libstdc++/7445 298 * src/locale.cc (locale::classic): Move locks inside !_S_classic 299 block. 300 3012002-07-30 Benjamin Kosnik <bkoz@redhat.com> 302 Gabriel Dos Reis <gdr@nerim.net> 303 304 * include/bits/char_traits.h: Remove generic definitions. 305 * include/bits/streambuf_iterator.h (istreambuf_iterator): Use 306 eof, not -2. 307 * include/bits/istream.tcc (istream::readsome): Don't check 308 against eof, instead use constants. 309 (istream::sync): Same. 310 (istream::sentry::sentry): Use eq_int_type. 311 (istream::get): Same. 312 * include/bits/ostream.tcc: Change __pad to 313 __pad<_CharT, _Traits>::_S_pad. 314 * include/bits/locale_facets.h: Add __pad_traits generic and 315 ostreambuf_iterator specialization. 316 * include/bits/locale_facets.tcc: Change __pad into struct __pad 317 with a _CharT and _Traits template parameter and _S_pad static 318 member function. 319 * src/locale-inst.cc: Update __pad instantiations. 320 321 * include/std/std_fstream.h: Declare _M_underflow_common 322 specializations. 323 * src/fstream.cc: New. Add _M_underflow_common specializations. 324 * include/bits/fstream.tcc (filebuf::close): Use traits_type. 325 (filebuf::_M_underflow_common(bool)): Remove generic version, as 326 sys_ungetc and custom int_types don't get along. 327 * include/std/std_streambuf.h: Add _M_pos. 328 * src/Makefile.am (sources): Add fstream.cc. 329 * src/Makefile.in: Regenerate. 330 331 * testsuite/21_strings/capacity.cc: Add char_traits specializations. 332 * testsuite/22_locale/codecvt_members_unicode_char.cc: Same. 333 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same. 334 * testsuite/22_locale/ctor_copy_dtor.cc: Same. 335 * testsuite/27_io/filebuf_virtuals.cc (test07): Move to... 336 * testsuite/27_io/filebuf.cc: ...here. 337 * testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits 338 specialization for both. 339 * testsuite/27_io/streambuf.cc: Add instantiation test, 340 testsuite_hooks include. 341 * testsuite/27_io/istream.cc: Same. 342 * testsuite/27_io/ostream.cc: Same. 343 * testsuite/27_io/fstream.cc: Same. 344 * testsuite/27_io/stringstream.cc: Same. 345 * testsuite/27_io/filebuf.cc: Same. 346 * testsuite/27_io/stringbuf.cc: Same. 347 3482002-07-26 Phil Edwards <pme@gcc.gnu.org> 349 350 * libsupc++/new (placement delete): Remove unused paramater names. 351 3522002-07-25 Benjamin Kosnik <bkoz@redhat.com> 353 354 PR libstdc++/7216 355 * include/std/std_istream.h (basic_iostream): Add typedefs for 356 char_type, int_type, pos_type, off_type, and traits_type. 357 * testsuite/27_io/iostream.cc (test01): Add typedef tests. 358 * testsuite/27_io/istream.cc: Same. 359 * testsuite/27_io/ostream.cc: Same. 360 * testsuite/27_io/filebuf.cc: Same. 361 * testsuite/27_io/stringbuf.cc: Replace content, move to... 362 * testsuite/27_io/stringbuf_members.cc: ...here. 363 * testsuite/27_io/streambuf.cc: Replace content, move to... 364 * testsuite/27_io/streambuf_members.cc: ...here. 365 * testsuite/27_io/stringstream.cc: Replace content, move to... 366 * testsuite/27_io/stringstream_members.cc: ...here. 367 * testsuite/27_io/ios.cc: New file. 368 * testsuite/27_io/fstream.cc: New file. 369 * testsuite/27_io/ifstream.cc: New file. 370 * testsuite/27_io/ofstream.cc: New file. 371 * testsuite/27_io/istringstream.cc: New file. 372 * testsuite/27_io/ostringstream.cc: New file. 373 3742002-07-25 Benjamin Kosnik <bkoz@redhat.com> 375 376 PR libstdc++/7220 377 * include/bits/istream.tcc (istream::ignore): Don't extract on 378 zero. 379 * testsuite/27_io/istream_unformatted.cc (test10): Add. 380 3812002-07-24 Benjamin Kosnik <bkoz@redhat.com> 382 383 PR libstdc++/7222 384 * src/locale.cc (locale::locale(const char*)): Use setlocale NULL. 385 * testsuite/22_locale/ctor_copy_dtor.cc (test02): New. 386 3872002-07-24 Benjamin Kosnik <bkoz@redhat.com> 388 389 PR libstdc++/7286 390 * libsupc++/new: Add placement delete. 391 * testsuite/18_support/new_delete_placement.cc: New. 392 3932002-07-07 Paolo Carlini <pcarlini@unitus.it> 394 395 PR libstdc++/7186 396 * include/bits/stl_deque.h (_Deque_iterator::operator-): 397 Make non-member, as already happens for the comparison 398 operators in accord with DR179 (Ready). 399 * testsuite/23_containers/deque_operators.cc: Add test02. 400 4012002-07-04 Benjamin Kosnik <bkoz@redhat.com> 402 Jack Reeves <jackw_reeves@hotmail.com> 403 404 * include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to 405 size_t, from int_type. 406 (basic_streambuf::_M_buf_size_opt): Same. 407 (basic_streambuf::_S_pback_sizex): Same. 408 * include/bits/streambuf.tcc: Same. 409 * include/std/std_streambuf.h (basic_streambuf::snextc): Use 410 eq_int_type. 411 (basic_streambuf::uflow): Same. 412 * include/bits/sstream.tcc (basic_stringbuf::overflow): Use 413 to_char_type. 414 * include/bits/basic_ios.tcc (basic_ios::init): Use _CharT(). 415 * include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use 416 eq_int_type. 417 (basic_streambuf::xsputn): Same. 418 (__copy_streambufs): Same. 419 4202002-07-02 Paolo Carlini <pcarlini@unitus.it> 421 422 PR libstdc++/6642 423 * include/bits/stl_iterator.h 424 (__normal_iterator::operator-(const __normal_iterator&)): 425 Make non-member, as already happens for the comparison 426 operators in accord with DR179 (Ready). 427 * testsuite/24_iterators/iterator.cc: Add test from the PR. 428 4292002-07-02 Benjamin Kosnik <bkoz@redhat.com> 430 431 PR libstdc++/6410 432 * include/bits/locale_facets.h (moneypunct::moneypunct): Add const 433 char* name parameter. 434 * config/locale/gnu/monetary_members.cc: Use it. 435 * config/locale/generic/monetary_members.cc: Same. 436 * src/localename.cc (_Impl::_Impl(const char*, size_t)): Use it. 437 4382002-07-01 Benjamin Kosnik <bkoz@redhat.com> 439 440 * configure.in (libtool_VERSION): Bump to 5:0:0. 441 * configure: Regenerate. 442 4432002-05-19 Paolo Carlini <pcarlini@unitus.it> 444 445 * testsuite/23_containers/deque_operators.cc (test01): 446 Fix minor typo in last commit. 447 4482002-05-18 Paolo Carlini <pcarlini@unitus.it> 449 450 PR libstdc++/6503 451 * include/bits/stl_deque.h (_Deque_iterator::operator==, 452 operator!=, operator<, operator>, operator>=, operator<=): 453 Make non-member functions, to allow comparing const and 454 non-const iterators in any order. 455 * testsuite/23_containers/deque_operators.cc: New testfile. 456 4572002-07-25 Release Manager 458 459 * GCC 3.1.1 Released. 460 4612002-07-20 Phil Edwards <pme@gcc.gnu.org> 462 463 Bulk documentation merge (copy) from trunk. 464 * docs/doxygen/TODO, docs/doxygen/run_doxygen, docs/doxygen/tables.html, 465 docs/doxygen/user.cfg.in, docs/html/Makefile, 466 docs/html/documentation.html, docs/html/17_intro/porting.html, 467 docs/html/17_intro/porting.texi, docs/html/23_containers/howto.html, 468 docs/html/ext/howto.html, docs/html/ext/lwg-active.html, 469 docs/html/ext/lwg-defects.html, docs/html/faq/index.html, 470 docs/html/faq/index.txt: Merge from trunk. 471 4722002-07-16 Andreas Schwab <schwab@suse.de> 473 474 * libsupc++/new (set_new_handler): Declare to not throw any 475 exceptions. 476 * libsupc++/new_handler.cc (set_new_handler): Likewise. 477 4782002-07-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 479 480 * config/os/solaris/solaris2.5/bits/ctype_base.h (ctype_base): Fix 481 print to match vendor <ctype.h>. 482 4832002-07-03 Steev Wilcox <steev@paradigmds.com> 484 485 PR libstdc++/7057 486 * include/ext/stl_hashtable.h: Fix. 487 * testsuite/ext/hash_map.cc: New. 488 4892002-07-03 Benjamin Kosnik <bkoz@redhat.com> 490 491 PR libstdc++/7097 492 * include/c/std_cwchar.h: Fix. 493 4942002-07-03 Jack Reeves <jackw_reeves@hotmail.com> 495 Kenny Simpson <theonetruekenny@yahoo.com> 496 Phil Edwards <pme@gcc.gnu.org> 497 498 PR libstdc++/3946 499 * testsuite/20_util/auto_ptr.cc (test08): New test. 500 * include/std/std_memory.h (auto_ref_ptr): Make constructor explicit. 501 (auto_ptr::operator auto_ptr_ref): Fix typo. 502 General reformatting and doxygenating of the whole file. 503 5042002-07-03 Phil Edwards <pme@gcc.gnu.org> 505 506 PR libstdc++/7173 507 * acinclude.m4: Simplify determination of gcc_version, and move 508 up to GLIBCPP_CONFIGURE. 509 * configure.in (release_VERSION): Really remove. 510 (AM_INIT_AUTOMAKE, AM_CONFIG_HEADER): Move after GLIBCPP_CONFIGURE. 511 * aclocal.m4, configure: Regenerate. 512 5132002-07-02 Phil Edwards <pme@gcc.gnu.org> 514 515 * docs/html/configopts.html, docs/html/install.html: Tweaks. 516 * include/ext/algorithm, include/ext/hash_map, include/ext/hash_set, 517 include/ext/iterator, include/ext/numeric, include/ext/rb_tree, 518 include/ext/slist, include/ext/stl_rope.h: Add doxygen hooks. 519 5202002-06-28 Benjamin Kosnik <bkoz@redhat.com> 521 522 * include/c_compatibility: New. 523 * include/c_compatibility/assert.h: New. 524 * include/c_compatibility/ctype.h: New. 525 * include/c_compatibility/errno.h: New. 526 * include/c_compatibility/float.h: New. 527 * include/c_compatibility/iso646.h: New. 528 * include/c_compatibility/limits.h: New. 529 * include/c_compatibility/locale.h: New. 530 * include/c_compatibility/math.h: New. 531 * include/c_compatibility/setjmp.h: New. 532 * include/c_compatibility/signal.h: New. 533 * include/c_compatibility/stdarg.h: New. 534 * include/c_compatibility/stddef.h: New. 535 * include/c_compatibility/stdio.h: New. 536 * include/c_compatibility/stdlib.h: New. 537 * include/c_compatibility/string.h: New. 538 * include/c_compatibility/time.h: New. 539 * include/c_compatibility/wchar.h: New. 540 * include/c_compatibility/wctype.h: New. 541 542 * include/c/std_cerrno.h: Get out of the way... define errno. 543 * include/c/std_cmath.h: Add abs, modf overloads. 544 Undefine C99 isms. Still not sure how to deal with this sanely. 545 * include/c/std_csetjmp.h: Tweak. 546 * include/c/std_cwchar.h: Include cstddef for size_t. 547 548 * include/c_std/std_cmath.h: Remove extra function. 549 550 Pendantic std usage in testsuites. 551 * testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t 552 with std. 553 * testsuite/17_intro/header_cwchar.cc: Tweak. 554 * testsuite/22_locale/codecvt_members_char_char.cc (test03): Use 555 std::setlocale. 556 * testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same. 557 * testsuite/22_locale/ctype_to_char.cc (test05): Same. 558 * testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same. 559 * testsuite/22_locale/ctype_is_char.cc (test05): Same. 560 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same. 561 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same. 562 * testsuite/22_locale/time_get_members_char.cc (test08): Same. 563 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same. 564 * testsuite/22_locale/time_put_members_char.cc (test04): Same. 565 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same. 566 * testsuite/22_locale/num_put_members_char.cc (test04): Same. 567 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same. 568 * testsuite/22_locale/numpunct_members_char.cc (test03): Same. 569 * testsuite/22_locale/num_get_members_wchar_t.cc: Same. 570 * testsuite/22_locale/num_get_members_char.cc: Same. 571 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same. 572 * testsuite/22_locale/money_put_members_char.cc (test07): Same. 573 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same. 574 * testsuite/22_locale/moneypunct_members_char.cc (test03): Same. 575 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same. 576 * testsuite/22_locale/money_get_members_char.cc (test08): Same. 577 * testsuite/22_locale/messages_members_char.cc (test03): Same. 578 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Same. 579 * testsuite/22_locale/collate_members_char.cc (test04): Same. 580 * testsuite/26_numerics/fabs_inline.cc: Use std::printf. 581 * testsuite/27_io/istream_seeks.cc (test02): Qualify abort. 582 * testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol. 583 5842002-06-28 Benjamin Kosnik <bkoz@redhat.com> 585 586 * libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add 587 c_sources. 588 5892002-06-28 Benjamin Kosnik <bkoz@redhat.com> 590 591 * src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions. 592 Use size_type instead of unsigned long. 593 5942002-06-28 Steve Ellcey <sje@cup.hp.com> 595 596 * src/ext-inst.cc (_S_fetch): Add explicit templates for char and 597 wchar types. 598 (_S_min_len): Ditto. 599 6002002-06-28 Benjamin Kosnik <bkoz@redhat.com> 601 602 * include/Makefile.am: Add rules. 603 * include/Makefile.in: Regenerate. 604 605 * acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY. 606 * aclocal.m4: Regenerate. 607 * configure: Regenerate. 608 * configure.target (c_model, c_compatibility): Add. 609 610 * libsupc++/Makefile.am (c_sources): New. 611 (libsupc___la_SOURCES): Add c_sources. 612 (LTCOMPILE): Remove INCLUDES. 613 (GCC_INCLUDES): New. 614 (C_COMPILE): New, like COMPILE but without INCLUDES. 615 (cxa_demangle.o): Use C_COMPILE. 616 (dyn-string.o): Use C_COMPILE. 617 618 * include/c/std_cstdarg.h: Define __need___va_list. 619 * include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t, 620 need_NULL, need_offsetof. 621 6222002-06-28 Benjamin Kosnik <bkoz@redhat.com> 623 624 * include/c/std_cwchar.h: Guard. Add mbstate_t bits. 625 * include/c/std_cwctype.h: Guard. 626 627 * libsupc++/eh_alloc.cc: Tweak include order. 628 * libsupc++/pure.cc: Use cstdio. 629 * libsupc++/new_op.cc: Remove malloc forward declaration, as 630 cstdlib brings it in. Use std::malloc. 631 632 * src/Makefile.am (sources): Remove cmath.cc. 633 * src/Makefile.in: Regenerate. 634 * src/cmath.cc: Remove. 635 6362002-06-27 Benjamin Kosnik <bkoz@redhat.com> 637 638 * configure.in (INTERFACE): Remove. 639 (release_VERSION): Remove. 640 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement. 641 (libstdcxx_interface): Change. Use gcc methods to determine version. 642 * configure: Regenerate. 643 * aclocal.m4: Regenerate. 644 6452002-06-27 Benjamin Kosnik <bkoz@redhat.com> 646 647 * acinclude.m4: Fix last checkin. 648 * aclocal.m4: Regenerate. 649 * configure: Regenerate. 650 6512002-06-25 DJ Delorie <dj@redhat.com> 652 653 * acinclude.m4 (GLIBCPP_CONFIGURE): Split out 654 GLIBCPP_TOPREL_CONFIGURE. 655 * aclocal.m4: Likewise. 656 * configure.in: Call it before AC_CANONICAL_SYSTEM. 657 * configure: Regenerate. 658 6592002-06-20 David Edelsohn <edelsohn@gnu.org> 660 661 * configure.target (CPULIMITSH): Use powerpc directory for rs6000. 662 6632002-06-14 J.T. Conklin <jtc@acorntoolworks.com> 664 665 * configure.in (target_alias): Fix. 666 * configure: Regenerate. 667 * aclocal.m4: Regenerate. 668 6692002-06-11 J.T. Conklin <jtc@acorntoolworks.com> 670 Benjamin Kosnik <bkoz@redhat.com> 671 672 * configure.target: Set os_include_dir to config/os/qnx/qnx6.1 673 under *-qnx6.[12]*. 674 * configure.in: Add support for *-qnx6.[12]*. 675 * configure: Regenerate. 676 677 * config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits: 678 New directories. 679 * config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h, 680 ctype_noninline.h, os_defines.h: New files. 681 6822002-06-10 Steve Ellcey <sje@cup.hp.com> 683 684 * src/locale-inst.cc (__codecvt_abstract_base): 685 Put inside _GLIBCPP_USE_WCHAR_T ifdef. 686 * include/bits/istream.tcc (basic_istream): Ditto. 687 (ws) Ditto. 688 (operator>>) Ditto. 689 * include/bits/ostream.tcc (basic_ostream): Ditto. 690 (endl): Ditto. 691 (ends): Ditto. 692 (flush): Ditto. 693 (operator<<): Ditto. 694 6952002-06-08 Paolo Carlini <pcarlini@unitus.it> 696 697 * testsuite/backwards/strstream_members.cc: New. 698 6992002-06-08 Benjamin Kosnik <bkoz@redhat.com> 700 701 * include/backwards/strstream: Format. 702 * src/strstream.cc: Format. 703 7042002-06-08 Andreas Schwab <schwab@suse.de> 705 706 * src/strstream.cc (strstreambuf::overflow): Set _M_buf, 707 _M_buf_size and _M_buf_size_opt to the new buffer and size. 708 7092002-06-08 Benjamin Kosnik <bkoz@redhat.com> 710 711 * config/os/generic/bits/ctype_noninline.h: Tweak format. 712 7132002-06-05 David Edelsohn <edelsohn@gnu.org> 714 715 * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower): 716 Call external symbol. 717 7182002-06-05 Paolo Carlini <pcarlini@unitus.it> 719 720 * testsuite/22_locale/money_get_members_char.cc 721 (test02): Add decimal point to long double constants. 722 * testsuite/22_locale/money_get_members_wchar_t.cc 723 (test02): Likewise. 724 * testsuite/22_locale/money_put_members_char.cc 725 (test02, test03, test06): Likewise. 726 * testsuite/22_locale/money_put_members_wchar_t.cc: 727 (test02, test03, test06): Likewise. 728 * testsuite/22_locale/num_get_members_char.cc: 729 (test02, test01): Likewise; suffix long long constants with LL. 730 * testsuite/22_locale/num_get_members_wchar_t.cc: 731 (test02, test01): Likewise. 732 * testsuite/22_locale/num_put_members_char.cc: 733 (test02, test01): Likewise. 734 * testsuite/22_locale/num_put_members_wchar_t.cc: 735 (test02, test01): Likewise. 736 7372002-06-04 Paolo Carlini <pcarlini@unitus.it> 738 Gaby Dos Reis <gdr@codesourcery.com> 739 740 * include/bits/basic_string.tcc 741 (basic_string::_S_construct(forward_iterator_tag): 742 Fix typo in null pointer check. 743 * testsuite/21_strings/ctor_copy_dtor.cc: Add test04. 744 7452002-06-03 Marc Espie <espie@openbsd.org> 746 747 * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline 748 assembly for old assemblers. 749 7502002-05-31 Marcus Meissner <meissner@suse.de> 751 752 PR libstdc++/6886 753 * include/bits/stl_bvector.h: Use UL suffix for unsigned longs. 754 * testsuite/23_containers/vector_bool.cc (test02): New test. 755 7562002-05-31 John David Anglin <dave@hiauly1.hia.nrc.ca> 757 758 * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define 759 to 64 for hppa 64-bit port. 760 (__glibcpp_long_double_bits): Define to 64 for all hppa ports. 761 7622002-05-30 Marc Espie <espie@openbsd.org> 763 764 * configure.in: Always check for sys/types.h. 765 * configure: Regenerate. 766 7672002-05-28 Nick Clifton <nickc@cambridge.redhat.com> 768 769 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): 770 Rebuild the wrapper file every time this proc is called. 771 7722002-05-28 Loren J. Rittle <ljrittle@acm.org> 773 774 libstdc++/6641 775 * include/bits/c++config (__USE_MALLOC): Report case where 776 the user improperly defined it on the command line. 777 7782002-05-27 Benjamin Kosnik <bkoz@redhat.com> 779 780 * src/misc-inst.cc: Define unnecessary algorithm 781 instantiations. Break apart instantiations into groupings below. 782 * src/fstream-inst.cc: New. 783 * src/io-inst.cc: New. 784 * src/istream-inst.cc: New. 785 * src/ostream-inst.cc: New. 786 * src/streambuf-inst.cc: New. 787 * src/sstream-inst.cc: New. 788 * src/Makefile.am (sources): Add files. 789 * src/Makefile.in: Regenerate. 790 791 * acinclude.m4: Work around automake 1.4-p5 bug, change 792 AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT. 793 7942002-05-27 Benjamin Kosnik <bkoz@redhat.com> 795 796 PR libstdc++/6795. 797 * config/os/solaris/solaris2.6/bits/ctype_noninline.h 798 (classic_table): Fix. 799 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same. 800 8012002-05-27 Benjamin Kosnik <bkoz@redhat.com> 802 803 * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with 804 _GLIBCPP_USE_WCHAR_T. 805 * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same. 806 * testsuite/22_locale/ctype_to_wchar_t.cc: Same. 807 * testsuite/22_locale/ctype_widen_wchar_t.cc: Same. 808 8092002-05-26 Carlo Wood <carlo@alinoe.com> 810 Paolo Carlini <pcarlini@unitus.it> 811 812 PR libstdc++/6811 813 * config/locale/ieee_1003.1-2001/codecvt_specializations.h 814 (__enc_traits::operator=): add missing return statement. 815 8162002-05-24 Phil Edwards <pme@gcc.gnu.org> 817 818 PR libstdc++/6282 819 * include/std/std_bitset.h (_Base_biteset<0>): New specialization. 820 (operator>>): If nothing was extracted, don't fail in the 821 zero-length case. 822 * testsuite/23_containers/bitset_ctor.cc (test02): New test. 823 8242002-05-24 Benjamin Kosnik <bkoz@redhat.com> 825 826 PR libstdc++/6701 827 * testsuite/22_locale/ctype_narrow_char.cc: New. 828 * testsuite/22_locale/ctype_narrow_wchar_t.cc: New. 829 * testsuite/22_locale/ctype_widen_char.cc: New. 830 * testsuite/22_locale/ctype_widen_wchar_t.cc: New. 831 * testsuite/22_locale/ctype_members_char.cc: Move some bits into... 832 * testsuite/22_locale/ctype_is_char.cc: ...this. 833 * testsuite/22_locale/ctype_to_char.cc: ...and this. 834 * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into... 835 * testsuite/22_locale/ctype_is_wchar_t.cc: ...this. 836 * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this. 837 838 * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass. 839 8402002-05-24 Dale Peakall <dale@peakall.net> 841 842 PR libstdc++/6701 843 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix. 844 * config/locale/generic/ctype_members.cc: Same. 845 8462002-05-24 Benjamin Kosnik <bkoz@redhat.com> 847 848 PR libstdc++/6750 849 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix 850 for empty string literal. 851 (ostream::operator<<(const _CharT*)): Same. 852 (ostream<char>::operator<<(const char*)): Same. 853 (ostream<char>::operator<<(streambuf*)): Same. 854 * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests. 855 * testsuite/27_io/ostream_inserter_other.cc (test02): Modify. 856 8572002-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 858 859 * configure.in: Update local install.html, configopts.html paths. 860 * configure: Regenerate. 861 862 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Retrieve 863 current limits before setting. 864 865 * acinclude.m4 (enable_symvers): Quote $LD. 866 * aclocal.m4: Regenerate. 867 * configure: Likewise. 868 Fixes PR target/6755. 869 8702002-05-23 Benjamin Kosnik <bkoz@redhat.com> 871 872 * configure.in (release_VERSION): Update to 3.1.1. 873 (libtool_VERSION): Update to 4:1:0. 874 * configure: Regenerate. 875 8762002-05-21 Phil Edwards <pme@gcc.gnu.org> 877 878 * include/bits/stl_pair.h: Tweak comment markup. 879 8802002-05-21 Phil Edwards <pme@gcc.gnu.org> 881 882 * include/ext/stdio_filebuf.h: Add header guards. Doxygenate. 883 8842002-05-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 885 886 * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h. 887 * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS). 888 * Makefile.in, config.h.in, configure: Regenerate. 889 890 * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table): 891 Return __ctype + 1. 892 (ctype:_M_table): Initialize to classic_table(), not __ctype. 893 894 * config/os/irix/irix5.2/bits/os_defines.h 895 (__glibcpp_long_double_bits, __glibcpp_long_bits): Define. 896 8972002-05-19 Paolo Carlini <pcarlini@unitus.it> 898 Jakub Jelinek <jakub@redhat.com> 899 900 * testsuite/22_locale/money_get_members_char.cc 901 (test01, test02, test04): Use the de_DE@euro named locale 902 instead of de_DE to allow for an uniform behaviour with 903 both old and Euro-era localedata; tweak some tests. 904 * testsuite/22_locale/money_get_members_wchar_t.cc 905 (test01, test02, test04): Likewise. 906 * testsuite/22_locale/money_put_members_char.cc 907 (test01, test02, test04): Likewise. 908 * testsuite/22_locale/money_put_members_wchar_t.cc 909 (test01, test02, test04): Likewise. 910 9112002-05-19 Paolo Carlini <pcarlini@unitus.it> 912 913 * testsuite/22_locale/codecvt_members_char_char.cc 914 (test03): Robustify wrt localedata. 915 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise. 916 * testsuite/22_locale/collate_members_char.cc (test04): Likewise. 917 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise. 918 * testsuite/22_locale/ctype_members_char.cc (test05): Likewise. 919 * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise. 920 * testsuite/22_locale/messages_members_char.cc (test03): Likewise. 921 * testsuite/22_locale/money_get_members_char.cc (test08): Likewise. 922 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise. 923 * testsuite/22_locale/money_put_members_char.cc (test07): Likewise. 924 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise. 925 * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise. 926 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise. 927 * testsuite/22_locale/num_get_members_char.cc (test06): Likewise. 928 * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise. 929 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment. 930 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise. 931 * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise. 932 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise. 933 * testsuite/22_locale/time_get_members_char.cc (test08): Likewise. 934 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise. 935 * testsuite/22_locale/time_put_members_char.cc (test04): Likewise. 936 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise. 937 9382002-05-19 Paolo Carlini <pcarlini@unitus.it> 939 940 Test all the facets for the temporary "C" locale switch issue. 941 * testsuite/22_locale/codecvt_members_char_char.cc: Add test03. 942 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise. 943 * testsuite/22_locale/collate_members_char.cc: Add test04. 944 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise. 945 * testsuite/22_locale/ctype_members_char.cc: Add test05. 946 * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04. 947 * testsuite/22_locale/messages_members_char.cc: Add test03. 948 * testsuite/22_locale/money_get_members_char.cc: Add test08. 949 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise. 950 * testsuite/22_locale/money_put_members_char.cc: Add test07. 951 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise. 952 * testsuite/22_locale/moneypunct_members_char.cc: Add test03. 953 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise. 954 * testsuite/22_locale/num_get_members_char.cc: Add test06. 955 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise. 956 * testsuite/22_locale/numpunct_members_char.cc: Add test03. 957 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise. 958 * testsuite/22_locale/time_get_members_char.cc: Add test08. 959 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise. 960 * testsuite/22_locale/time_put_members_char.cc: Add test04. 961 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise. 962 963 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment. 964 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise. 965 9662002-05-19 Benjamin Kosnik <bkoz@redhat.com> 967 Paolo Carlini <pcarlini@unitus.it> 968 969 * testsuite/22_locale/num_put_members_char.cc: Add test04(), 970 testing for the locale_facets.tcc entry of the previous commit. 971 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise. 972 9732002-05-18 Takeshi Kobayakawa <tskoba@mte.biglobe.ne.jp> 974 975 * config/locale/generic/c_locale.cc 976 (__convert_to_v(float, double, long double)): 977 Fix the temporary switch to the "C" locale, saving and 978 restoring in the proper way the current locale. 979 * config/locale/generic/time_members.cc 980 (__timepunct<char, wchar_t>::_M_put): Likewise. 981 * config/locale/gnu/messages_members.cc 982 (messages<char>::do_get): Likewise. 983 * config/locale/gnu/messages_members.h 984 (messages<_CharT>::do_get): Likewise. 985 * config/locale/gnu/time_members.cc 986 (__timepunct<char, wchar_t>::_M_put): Likewise. 987 * include/bits/locale_facets.tcc (__convert_from_v): Likewise. 988 9892002-05-18 Paolo Carlini <pcarlini@unitus.it> 990 Nathan Myers <ncm@cantrip.org> 991 Philip Martin <philip@codematters.co.uk> 992 993 * include/bits/basic_string.h 994 (replace(i1, i2, _CharT* k1, _CharT* k2), 995 replace(i2, i2, const _CharT* k1, const _CharT* k2), 996 replace(i1, i2, iterator k1, iterator k2, 997 replace(i1, i2, const_iterator k1, const_iterator k2): 998 New specializations to optimize for the common cases of 999 pointers and iterators. 1000 (replace(pos, n1, s, n2)): Tweak. 1001 * include/bits/basic_string.tcc: Tweak comments. 1002 * testsuite/21_strings/replace.cc (test05): New tests. 1003 10042002-05-18 Benjamin Kosnik <bkoz@redhat.com> 1005 1006 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove 1007 _G_USING_THUNKS. 1008 * config/os/solaris/solaris2.6/bits/os_defines.h: Same. 1009 * config/os/solaris/solaris2.7/bits/os_defines.h: Same. 1010 10112002-05-18 Benjamin Kosnik <bkoz@redhat.com> 1012 1013 * docs/html/17_intro/RELEASE-NOTES (New): Update. 1014 10152002-05-18 Benjamin Kosnik <bkoz@redhat.com> 1016 1017 PR libstdc++/6518 1018 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix 1019 for null case. 1020 (ostream::operator<<(const _CharT*)): Same. 1021 (ostream<char>::operator<<(const char*)): Same. 1022 * testsuite/27_io/ostream_inserter_char.cc (test07): Add test. 1023 10242002-05-18 Benjamin Kosnik <bkoz@redhat.com> 1025 1026 PR libstdc++/6594 1027 * src/strstream.cc (strstreambuf): Fix leak. 1028 10292002-05-18 Benjamin Kosnik <bkoz@redhat.com> 1030 1031 * testsuite/22_locale/ctype_scan_char.cc: Tweak. 1032 * testsuite/22_locale/ctype_scan_wchar_t.cc: New. 1033 1034 * docs/html/install.html: Fix. 1035 10362002-05-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 1037 1038 * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned 1039 char. 1040 1041 * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not): 1042 Fix typo, use this->is() rather than manually (and perhaps 1043 incorrectly) inlining it. 1044 * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not): 1045 Likewise. 1046 * testsuite/22_locale/ctype_scan_char.cc: New file. 1047 10482002-05-18 Benjamin Kosnik <bkoz@redhat.com> 1049 1050 * include/bits/fstream.tcc 1051 (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous 1052 try/catch blocks. 1053 * src/localename.cc (locale::_Impl::_M_install_facet): Same. 1054 1055 * docs/html/install.html: Tweak, add bits about required locales 1056 for the 22_locale tests when using the gnu model. 1057 1058 * testsuite/27_io/istream_sentry.cc: Tweak. 1059 10602002-05-16 Phil Edwards <pme@gcc.gnu.org> 1061 1062 * docs/html/faq/index.html: Update not-a-bug list with basic_file.h. 1063 * docs/html/faq/index.txt: Regenerate. 1064 10652002-05-15 Paolo Carlini <pcarlini@unitus.it> 1066 1067 PR libstdc++/6648 1068 * include/bits/istream.tcc (istream::getline, ignore): 1069 Upon __idelim (__delim) call sbumpc() not snextc(). 1070 * testsuite/27_io/narrow_stream_objects.cc: 1071 Add test08 and test09. 1072 10732002-05-14 Release Manager 1074 1075 * GCC 3.1 Released. 1076 10772002-05-09 Jakub Jelinek <jakub@redhat.com> 1078 1079 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all 1080 multilib dirs containing libgcc_s*.so.1 below gcc object dir to 1081 LD_LIBRARY_PATH. 1082 10832002-05-08 Alexandre Oliva <aoliva@redhat.com> 1084 1085 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at 1086 script entry, and set LD to it when configuring multilibs. 1087 * configure: Rebuilt. 1088 10892002-05-06 Phil Edwards <pme@gcc.gnu.org> 1090 1091 * docs/html/documentation.html: Fix broken link. 1092 10932002-05-03 Benjamin Kosnik <bkoz@redhat.com> 1094 1095 PR libstdc++/6549. 1096 * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert. 1097 * testsuite/27_io/narrow_stream_objects.cc (test07): Add. 1098 10992002-05-02 Phil Edwards <pme@gcc.gnu.org> 1100 1101 * docs/html/faq/index.html: Update list in #4.1. 1102 * docs/html/faq/index.txt: Regenerated. 1103 11042002-05-01 Phil Edwards <pme@gcc.gnu.org> 1105 1106 * include/std/std_bitset.h: Fix doxygen comments. 1107 * docs/html/documentation.html: Minor tweaks for 3.1. 1108 * docs/html/27_io/howto.html: Likewise. 1109 * docs/html/ext/howto.html: Likewise, mention stdio_filebuf. 1110 * docs/html/faq/index.html: Likewise. 1111 * docs/html/faq/index.txt: Regenerated. 1112 11132002-05-01 Benjamin Kosnik <bkoz@redhat.com> 1114 1115 PR libstdc++/6533 1116 * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New. 1117 (istreambuf_iterator::equal): Use it. 1118 (istreambuf_iterator::operator*): Use it. 1119 11202002-05-01 Paolo Carlini <pcarlini@unitus.it> 1121 1122 PR libstdc++/6513 1123 * include/bits/stl_uninitialized.h 1124 (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)): 1125 Fix typo in 2001-07-17 commit: typedef _ValueType to 1126 iterator_traits<_ForwardIter> not <_InputIter>. 1127 * testsuite/23_containers/vector_ctor.cc: Add test04. 1128 11292002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca> 1130 1131 PR libstdc++/6501 1132 * include/c_std/std_cctype.h: Include bits/c++config.h. 1133 * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define. 1134 11352002-04-30 Benjamin Kosnik <bkoz@redhat.com> 1136 1137 * include/ext/stdio_filebuf.h: New file. 1138 * include/ext/enc_filebuf.h: New file. 1139 * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor. 1140 * config/io/basic_file_stdio.cc: Same. 1141 * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer): 1142 Remove _M_unbuf hacks. 1143 (filebuf::_M_destroy_internal_buffer): Same. 1144 (filebuf::filebuf(cfile, openmode, int_type): Remove definition. 1145 (filebuf::fd): Remove. 1146 * include/std/std_fstream.h (filebuf::_M_unbuf): Remove. 1147 (filebuf::filebuf(__c_file*, openmode, int_type)): Remove. 1148 (filebuf::fd): Remove. 1149 * src/ios.cc (ios_base::_S_ios_create): Change to use specialized 1150 filebufs. 1151 (ios_base::_S_ios_destroy): Same. 1152 * src/misc-inst.cc (file_filebuf<char>): Add instantiation. 1153 * include/Makefile.am (ext_headers): Add ext_filebuf.h, 1154 stdio_filebuf.h. * include/Makefile.in: Regenerate. 1155 11562002-04-30 Benjamin Kosnik <bkoz@redhat.com> 1157 1158 PR libstdc++/6511 1159 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo. 1160 11612002-04-29 Benjamin Kosnik <bkoz@redhat.com> 1162 1163 PR libstdc++/5820 1164 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common): 1165 Check for eof. 1166 * include/bits/streambuf_iterator.h: Match stream_iterator.h. 1167 (istreambuf_iterator::operator++): Invalidate on eof. 1168 (istreambuf_iterator::operator++(int)): Same. 1169 (istreambuf_iterator::operator*): Same. 1170 11712002-04-29 Benjamin Kosnik <bkoz@redhat.com> 1172 1173 PR libstdc++/5820 1174 * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int. 1175 (__basic_file::sys_ungetc): Take int. 1176 * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same. 1177 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common): 1178 Use sys_getc for unbuffered input. 1179 * testsuite/27_io/narrow_stream_objects.cc (test06): New. 1180 1181 * src/ios.cc (_M_grow_words): Adjust error checking. 1182 * testsuite/27_io/ios_base_storage.cc: Same. 1183 11842002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 1185 1186 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all 1187 of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH, 1188 LD_LIBRARY64_PATH. 1189 11902002-04-28 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de> 1191 1192 * include/ext/stl_hashtable.h: Import __iterator_category 1193 11942002-04-28 Paolo Carlini <pcarlini@unitus.it> 1195 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de> 1196 1197 * testsuite/ext/hash_set.cc: New testfile. 1198 11992002-04-26 Paolo Carlini <pcarlini@unitus.it> 1200 1201 * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2): 1202 Fix and tighten __throw_length_error check. 1203 * testsuite/21_strings/replace.cc (test04): New. 1204 * testsuite/21_strings/replace.cc (test02, test03): Tweak. 1205 12062002-04-23 Loren J. Rittle <ljrittle@acm.org> 1207 1208 * include/std/std_fstream.h (basic_filebuf::sync): Hoist 1209 unconditional flush on lower-layer handle to here... 1210 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): 1211 ...from here. Optimize remaining _M_file.sync() call pattern. 1212 * testsuite/27_io/narrow_stream_objects.cc (test04): New test. 1213 (test05): Likewise. 1214 12152002-04-23 Jason Merrill <jason@redhat.com> 1216 1217 * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for 1218 output-only filebufs. 1219 * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate): 1220 Likewise. 1221 (basic_filebuf::_M_set_determinate): Likewise. 1222 1223 PR libstdc++/6414 1224 * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return 1225 value properly in the trivial case. 1226 * testsuite/27_io/istream_seeks.cc (test04): Make sure that 1227 tellg() returns the right value after a read. 1228 12292002-04-23 Hans-Peter Nilsson <hp@bitrange.com> 1230 1231 * config/cpu/mmix/bits/cpu_limits.h: New file. 1232 * configure.target (CPULIMITSH): Use it. 1233 12342002-04-20 Jason Merrill <jason@redhat.com> 1235 1236 PR libstdc++/4150 1237 * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate): 1238 Move to filebuf. 1239 (basic_streambuf::_M_set_determinate): Likewise. 1240 (basic_streambuf::_M_is_indeterminate): Likewise. 1241 * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New 1242 non-static data member. 1243 (basic_filebuf::_M_underflow_common): New non-static member function. 1244 (basic_filebuf::_M_underflow, _M_uflow): Call it. 1245 (basic_filebuf::sync): Avoid useless seeking. 1246 (basic_filebuf::_M_set_indeterminate): Move here from streambuf. 1247 Set _M_filepos. 1248 (basic_filebuf::_M_set_determinate): Likewise. 1249 (basic_filebuf::_M_is_indeterminate): Likewise. 1250 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek 1251 back to _M_out_beg if necessary. 1252 (basic_filebuf::seekoff): Likewise. 1253 (basic_filebuf::_M_underflow_common): Generalization of old 1254 underflow(). Don't seek back to _M_in_beg. 1255 * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff. 1256 * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise. 1257 * config/os/bsd/freebsd/bits/os_defines.h: Likewise. 1258 * config/os/mingw32/bits/os_defines.h: Likewise. 1259 * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify 1260 ungetc test. 1261 12622002-04-22 Benjamin Kosnik <bkoz@redhat.com> 1263 1264 * include/bits/istream.tcc (istream::read): Fix. 1265 * testsuite/27_io/istream_unformatted.cc (main): Add. 1266 12672002-04-20 Benjamin Kosnik <bkoz@redhat.com> 1268 1269 PR libstdc++/6360 1270 * include/bits/istream.tcc (istream::ignore): Streamline, use 1271 delimiter as is. 1272 * include/bits/streambuf.tcc: Use this->gptr. 1273 * testsuite/27_io/istream_unformatted.cc (test08): Add test. 1274 12752002-04-19 Benjamin Kosnik <bkoz@redhat.com> 1276 1277 * include/bits/localefwd.h (locale::id::_M_id): Do this correctly, 1278 as type safety is important, especially on solaris. 1279 * include/bits/istream.tcc (istream::read): Clean. 1280 (istream::readsome): Same. 1281 * locale.cc: Wrap lines. 1282 1283 * testsuite/21_strings/inserters_extractors.cc: Tweaks. 1284 * testsuite/27_io/instantiations.cc (test): Add bool variable... 1285 * testsuite/21_strings/capacity.cc: Clean. 1286 12872002-04-19 Benjamin Kosnik <bkoz@redhat.com> 1288 1289 * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation. 1290 12912002-04-19 Benjamin Kosnik <bkoz@redhat.com> 1292 1293 * config/linker-map.gnu (__malloc_alloc_template): Add. 1294 (__default_alloc_template): Same. 1295 * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern 1296 template. 1297 (__default_alloc_template): Same. 1298 12992002-04-19 Benjamin Kosnik <bkoz@redhat.com> 1300 1301 * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations. 1302 * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation. 1303 (__malloc_alloc_template): Conditionalize. 1304 1305 * include/bits/istream.tcc: Remove sputbackc calls. 1306 1307 * testsuite/19_diagnostics/stdexceptions.cc: Fix comment. 1308 13092002-04-19 Benjamin Kosnik <bkoz@redhat.com> 1310 1311 PR libstdc++/4164 1312 Valgrind fixes. 1313 * config/io/basic_file_stdio.cc (__basic_file::~__basic_file): 1314 Call close. 1315 (__basic_file::close): Call fflush. Correct return if fclose ok. 1316 (__basic_file::is_open): Make const. 1317 Change __c_file_type to __c_file. 1318 * config/io/basic_file_stdio.h: Change __c_file_type to __c_file. 1319 (__basic_file::is_open): Make const. 1320 * config/io/c_io_stdio.h: Change __c_file_type to __c_file. 1321 * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove. 1322 (filebuf::_M_unbuf): Add. 1323 (filebuf::_M_file): Change to non-pointer. 1324 (filebuf::_M_allocate_pback_buffer): Remove. 1325 * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove. 1326 (filebuf::_M_allocate_internal_buffer): Use _M_unbuf. 1327 Change initialization list for _M_file change. 1328 (filebuf::_M_allocate_pback_buffer): Remove. 1329 Change _M_file usage to reflect non-pointer data member. 1330 1331 * config/locale/generic/c_locale.cc 1332 (locale::facet::_S_create_c_locale): Add parameter. 1333 * config/locale/generic/collate_members.cc: Change 1334 _M_compare_helper to _M_compare. 1335 Change _M_transform_helper to _M_transform. 1336 * config/locale/generic/monetary_members.cc: Changeup data types. 1337 Add dtors. 1338 * config/locale/generic/numeric_members.cc: Add dtors. 1339 * config/locale/generic/time_members.cc: Add dtors. 1340 * config/locale/gnu/c_locale.cc: Add parameter. 1341 * config/locale/gnu/collate_members.cc:Change 1342 _M_compare_helper to _M_compare. 1343 Change _M_transform_helper to _M_transform. 1344 * config/locale/gnu/ctype_members.cc: Better error checking. 1345 * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking. 1346 * config/locale/gnu/messages_members.cc: Tweak comment. 1347 * config/locale/gnu/monetary_members.cc: Change data types. 1348 Add dtors. 1349 * config/locale/gnu/numeric_members.cc: Add dtors, better error 1350 checking. 1351 * config/locale/gnu/time_members.cc: Same. 1352 * config/locale/ieee_1003.1-2001/c_locale.cc 1353 (locale::facet::_S_create_c_locale): Add parameter. 1354 * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef. 1355 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove 1356 bogus ctor. 1357 1358 * include/bits/locale_facets.h (moneypunct): Use string literals. 1359 Don't define dtor. 1360 (numpunct): Same. 1361 (__timepunct): Same. 1362 (locale::_Impl::_M_facets): Change from vector to array. 1363 (locale::_Impl::_M_names): Change from array of strings to array 1364 of string literals. 1365 (locale::facet::_S_create_c_locale): Add parameter. 1366 (locale::locale::_S_num_facets): Move to... 1367 (locale::_Impl::_M_facets_size): Here. 1368 * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name 1369 changes. 1370 * include/bits/localefwd.h: (locale::id::_M_id): Add member function. 1371 (locale::_Impl::_Impl(facet**, size_t, bool)): Add. 1372 (locale::_Impl::_Impl(string, size_t)): Change to 1373 (locale::_Impl::_Impl(const char*, size_t)): This. 1374 1375 * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define. 1376 * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to 1377 (streambuf::_S_pback_size): This. 1378 1379 * src/globals.cc: Add pre-allocations for "C" facets. 1380 * src/locale-inst.cc: Remove vector instantiations. 1381 * src/locale.cc: Remove vector include. Fixups for _M_names, 1382 _M_facets changes. 1383 * src/localename.cc: Same. 1384 1385 * include/bits/stl_vector.h: Fix odd formatting. 1386 1387 * include/bits/basic_string.tcc: Tweak comment. 1388 1389 * libsupc++/new: Make sure parameters are uglified. 1390 * libsupc++/typeinfo: Same. 1391 1392 * testsuite/22_locale/num_get_members_char.cc: Fixup. 1393 * testsuite/22_locale/num_get_members_wchar_t.cc: Same. 1394 * testsuite/27_io/filebuf_members.cc: Same. 1395 13962002-04-17 Phil Edwards <pme@gcc.gnu.org> 1397 1398 * docs/doxygen/doxygroups.cc: New group on binary searching. 1399 * include/bits/stl_algo.h: Document binary searches and merges. 1400 * include/bits/stl_deque.h: The 'map' member is not the 'map' class. 1401 14022002-04-17 Phil Edwards <pme@gcc.gnu.org> 1403 1404 * docs/doxygen/mainpage.html: Doxygen logo is now a PNG file. 1405 * docs/doxygen/run_doxygen: Bump required version. 1406 * docs/doxygen/user.cfg.in: Revert accidental change. 1407 * docs/html/faq/index.html: Reindent a block of links. 1408 (4.4): New note on using dlsym. 1409 * docs/html/faq/index.txt: Regenerated. 1410 14112002-04-16 Paolo Carlini <pcarlini@unitus.it> 1412 1413 * testsuite/24_iterators/rel_ops.cc: New test. 1414 14152002-04-16 Gabriel Dos Reis <gdr@merlin.codesourcery.com> 1416 1417 * include/bits/type_traits.h (__normal_iterator): Declare in 1418 __gnu_cxx. Adjust use at global namespace. 1419 * include/bits/stl_iterator.h (__normal_iterator): Move definition 1420 into __gnu_cxx::. Add more operator overloads. Tidy existing ones. 1421 * include/bits/basic_string.h (basic_string): Adjust use of 1422 __normal_iterator. 1423 * include/bits/stl_vector.h (_Alloc>): Likewise. 1424 * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here. 1425 * src/locale-inst.cc (__gnu_cxx): Likewise. 1426 * src/string-inst.cc (operator==): Instantiate in __gnu_cxx. 1427 14282002-04-15 Steve Ellcey <sje@cup.hp.com> 1429 1430 * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h 1431 (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA) 1432 does not define strtoll or strtoull, but does define strtol 1433 and strtoul which are the same since in 64 bit mode 1434 sizeof(long) == sizeof(long long). 1435 14362002-04-12 Phil Edwards <pme@gcc.gnu.org> 1437 1438 * include/std/std_bitset.h: Doxygenate std::bitset<>. Clean up 1439 trailing spaces, indentation, and macro names. Make exception 1440 messages more informative. 1441 14422002-04-11 Richard Henderson <rth@redhat.com> 1443 1444 * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering. 1445 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same. 1446 (basic_ostream<>::operator<<(long long)): Same. 1447 14482002-04-11 Richard Henderson <rth@redhat.com> 1449 1450 * config/linker-map.gnu: Add __gxx_personality_sj0. 1451 14522002-04-09 Benjamin Kosnik <bkoz@redhat.com> 1453 1454 libstdc++/1072 1455 * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from 1456 pointer to vector. 1457 Remove forward declaration of vector. 1458 Include vector. 1459 * include/bits/locale_facets.tcc: Remove vector include. 1460 (use_locale): Adjust. 1461 (has_locale): Adjust. 1462 * src/locale.cc: Adjust. 1463 * src/localename.cc: Same. 1464 14652002-04-09 Benjamin Kosnik <bkoz@redhat.com> 1466 Richard Henderson <rth@redhat.com> 1467 1468 * include/bits/sstream.tcc: Clean up bit ops. 1469 * include/bits/fstream.tcc: Same. 1470 14712002-04-09 Jakub Jelinek <jakub@redhat.com> 1472 1473 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove. 1474 (__num_base::_S_scale_oct): Remove. 1475 * src/locale.cc (__num_base::_S_scale_hex): Remove. 1476 (__num_base::_S_scale_oct): Remove. 1477 14782002-04-09 Benjamin Kosnik <bkoz@redhat.com> 1479 1480 libstdc++/6124 1481 * testsuite/23_containers/bitset_members.cc: New test. 1482 * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move.. 1483 (_S_bit_count): Here. 1484 (_First_one::_S_first_one): Move... 1485 (_S_first_one): Here. 1486 Format. 1487 * src/bitset.cc: Adjust. 1488 * config/linker-map.gnu: Export. 1489 14902002-04-08 Benjamin Kosnik <bkoz@redhat.com> 1491 1492 libstdc++/5180 1493 * include/bits/fstream.tcc (filebuf::seekpos): Fix. 1494 * include/std/std_fstream.h: Clean. 1495 * include/bits/ostream.tcc: Remove extraneous variables. 1496 * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about 1497 open modes and which modes. 1498 (stringbuf::seekpos): Same. 1499 * testsuite/27_io/stringbuf_virtuals.cc: New tests. 1500 15012002-04-05 Jonathan Wakely <jw@kayari.org> 1502 1503 * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy, 1504 random_shuffle, partition, stable_partition, sort, stable_sort, 1505 partial_sort, partial_sort_copy, nth_element): Doxygenate. 1506 15072002-04-05 David S. Miller <davem@redhat.com> 1508 1509 * config/os/gnu-linux/bits/os_defines.h 1510 (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc. 1511 15122002-04-04 Benjamin Kosnik <bkoz@redhat.com> 1513 1514 libstdc++/3457 1515 via gawrilow@math.tu-berlin.de 1516 * acinclude.m4 (version_specific_libs): Fix combo usage with 1517 --with-gxx-include-dir. 1518 * aclocal.m4: Regenerate. 1519 * configure: Same. 1520 15212002-04-03 Benjamin Kosnik <bkoz@redhat.com> 1522 1523 As per DR 184, libstdc++/3139 1524 * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1. 1525 (numeric_limits<bool>::is_iec559): False. 1526 (numeric_limits<bool>::is_modulo): False. 1527 1528 * testsuite/27_io/ios_init.cc: Add instantiations. 1529 15302002-04-02 Benjamin Kosnik <bkoz@redhat.com> 1531 1532 libstdc++/5268 1533 * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls. 1534 * testsuite/27_io/ios_init.cc (tests04): Add test. 1535 1536 libstdc++/3983 1537 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove. 1538 (basic_ios::_M_ios_fctype): Consistently name to _M_fctype. 1539 * include/bits/basic_ios.tcc: Same. Remove outdated comments. 1540 * include/bits/istream.tcc: Use _M_fctype, make consistent with 1541 ostream. 1542 * testsuite/27_io/ios_init.cc (tests03): Add test. 1543 15442002-04-02 Phil Edwards <pme@gcc.gnu.org> 1545 1546 * include/Makefile.am (install-data-local): Use mkinstalldirs. 1547 * include/Makefile.in: Regenerate. 1548 15492002-04-01 Benjamin Kosnik <bkoz@redhat.com> 1550 1551 libstdc++/5542 1552 * acinclude: More extensive checks for msgfmt, --enable-nls. 1553 * aclocal.m4: Regenerate. 1554 * configure: Regenerate. 1555 15562002-04-01 Phil Edwards <pme@gcc.gnu.org> 1557 1558 * libsupc++/exception (__verbose_terminate_handler): Point to docs. 1559 * docs/doxygen/doxygroups.cc: Doxygen hooks for abi::__cxa_demangle. 1560 * docs/html/18_support/howto.html: Document the demangler. 1561 * docs/html/17_intro/howto.html: And link to it. 1562 1563 * docs/doxygen/mainpage.html: Describe user-vs-maintainer docs. 1564 * docs/doxygen/run_doxygen: Print user-vs-maintainer. 1565 15662002-04-01 Phil Edwards <pme@gcc.gnu.org> 1567 1568 * include/bits/c++config: Fix misplaced leading blanks on first line. 1569 15702002-04-01 Phil Edwards <pme@gcc.gnu.org> 1571 1572 * config/linker-map.gnu: Export __verbose_terminate_handler. 1573 * libsupc++/Makefile.am (sources): Add cxa_demangle.c, dyn-string.c. 1574 Make new LTCOMPILE variable, use it in new special build rules. 1575 * libsupc++/Makefile.in: Rebuild. 1576 * src/vterminate.cc (__verbose_terminate_handler): Enable use of 1577 runtime __cxa_demangle. 1578 1579 * docs/html/install.html: Update prereqs and instructions. 1580 * docs/html/19_diagnostics/howto.html: Bring naming for 1581 verbose_terminate_handler into line with reality. 1582 15832002-04-01 Benjamin Kosnik <bkoz@redhat.com> 1584 1585 libstdc++/3129 1586 * include/bits/basic_ios.h (basic_ios::_M_exception): Move. 1587 (basic_ios::_M_streambuf_state): Move. 1588 * include/bits/ios_base (ios_base): To here. 1589 * include/bits/ios_base.h (ios_base::_S_local_words): To 1590 _S_local_word_size. 1591 (ios_base::_M_word_array): To _M_local_word. 1592 (ios_base::_M_words_limit): To _M_word_size. 1593 (ios_base::_M_words): To _M_word. 1594 Comment. 1595 * include/bits/basic_ios.tcc: Adjust. 1596 * src/ios.cc (ios_base::_M_grow_words): Tweak. 1597 * testsuite/27_io/ios_base_storage.cc: Add tests. 1598 1599 libstdc++/5207 1600 Kenny Simpson <theonetruekenny@yahoo.com> 1601 * include/bits/ios_base.h: Fix. 1602 1603 Richard Henderson <rth@redhat.com> 1604 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct 1605 last change. 1606 1607 * include/bits/basic_string.h: Tweak formatting. 1608 16092002-04-01 Paolo Carlini <pcarlini@unitus.it> 1610 1611 * config/locale/ieee_1003.1-2001/codecvt_specializations.h 1612 (codecvt::do_out, codecvt::do_unshift, codecvt::do_in): 1613 By definition, sizeof(char) == 1. 1614 * include/bits/locale_facets.tcc (money_get::do_get, 1615 money_put::do_put): Ditto. 1616 * testsuite/21_strings/inserters_extractors.cc 1617 (test04): Ditto. 1618 16192002-03-30 Richard Henderson <rth@redhat.com> 1620 1621 PR c++/3719 1622 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler 1623 data out of the exception struct before calling unexpectedHandler. 1624 16252002-03-28 Roger Sayle <roger@eyesopen.com> 1626 1627 * include/c_std/std_cmath.h: To prevent problems overloading 1628 g++ builtins, use the double variants from the global namespace 1629 before defining float and long double variants in std::. 1630 16312002-03-28 Loren J. Rittle <ljrittle@acm.org> 1632 1633 * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo. 1634 16352002-03-28 Paolo Carlini <pcarlini@unitus.it> 1636 1637 * testsuite/24_iterators/istream_iterator.cc 1638 (test02): New tests. 1639 16402002-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> 1641 Paolo Carlini <pcarlini@unitus.it> 1642 1643 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc 1644 (test01): Protect the test with _GLIBCPP_USE_WCHAR_T; 1645 fix i_lit_base e_lit_base arrays, making them independent 1646 from the endianness of the platform; tweak UCS4 to UCS-4BE. 1647 16482002-03-27 Benjamin Kosnik <bkoz@redhat.com> 1649 1650 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always 1651 allocate at least a byte. 1652 1653 * testsuite/18_support/numeric_limits.cc (test_extrema): Make 1654 debugger-friendly. 1655 * testsuite/27_io/streambuf.cc (test07): Fix. 1656 (test06): Enable. 1657 16582002-03-27 Phil Edwards <pme@gcc.gnu.org> 1659 1660 Bulk documentation merge (copy) from trunk. 1661 * docs/doxygen/Intro.3, docs/doxygen/TODO, docs/doxygen/doxygroups.cc, 1662 docs/doxygen/mainpage.html, docs/doxygen/run_doxygen, 1663 docs/doxygen/tables.html, docs/doxygen/user.cfg.in, 1664 docs/html/Makefile, docs/html/17_intro/howto.html, 1665 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html: 1666 Merge from trunk. 1667 16682002-03-27 Phil Edwards <pme@gcc.gnu.org> 1669 1670 * include/bits/stl_algo.h: Remove @maint and @endmaint. 1671 * include/bits/stl_alloc.h: Likewise. 1672 * include/bits/stl_construct.h: Likewise. 1673 * include/bits/stl_deque.h: Likewise. 1674 * include/bits/stl_iterator_base_types.h: Likewise. 1675 * include/bits/stl_list.h: Likewise. 1676 * include/bits/stl_relops.h: Likewise. 1677 * include/bits/stl_tempbuf.h: Likewise. 1678 * include/bits/stl_vector.h: Likewise. 1679 * include/std/std_memory.h: Likewise. 1680 1681 * include/bits/stl_deque.h: Point into tables.html and add @ingroup. 1682 * include/bits/stl_list.h: Likewise. 1683 * include/bits/stl_vector.h: Likewise. 1684 16852002-03-26 Benjamin Kosnik <bkoz@redhat.com> 1686 1687 * include/c/: Guard with _CPP_. 1688 * include/c_std/: Same. 1689 * include/Makefile.am: Fixup install, link routines for null 1690 c_base_headers_extra scenarios. 1691 * include/Makefile.in: Regerate. 1692 16932002-03-25 Paolo Carlini <pcarlini@unitus.it> 1694 Richard Henderson <rth@redhat.com> 1695 1696 * testsuite/22_locale/codecvt_members_unicode_char.cc 1697 (test01, test02): make sure that the i_lit_base array 1698 is sufficiently aligned. 1699 17002002-03-25 Benjamin Kosnik <bkoz@redhat.com> 1701 1702 * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to 1703 _ctype_. 1704 17052002-03-25 Paolo Carlini <pcarlini@unitus.it> 1706 1707 * testsuite/22_locale/collate_byname.cc 1708 (test01): compare the result of collate::compare with 1709 that of collate::transform + string::compare, not with 1710 that of collate::transform + collate::compare; values 1711 returned by collate::compare are normalized, therefore 1712 test against +-1. 1713 17142002-03-25 Jakub Jelinek <jakub@redhat.com> 1715 1716 PR target/5676 1717 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): Pass -fexceptions 1718 explicitly. 1719 * aclocal.m4: Rebuilt. 1720 * configure: Rebuilt. 1721 * configure.target (mcore-*-pe*): Add -frtti -fno-exceptions 1722 by default to c++ flags. 1723 17242002-03-25 Benjamin Kosnik <bkoz@redhat.com> 1725 Jakub Jelinek <jakub@redhat.com> 1726 1727 * config/locale/gnu/messages_members.h: Correct conditional. 1728 * config/locale/gnu/messages_members.cc: Same. 1729 * config/locale/gnu/time_members.cc: Same. 1730 17312002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> 1732 Paolo Carlini <pcarlini@unitus.it> 1733 1734 * testsuite/22_locale/codecvt_members_unicode_char.cc 1735 (test01, test02): Fix i_lit_base arrays, making them 1736 independent from the endianness of the platform. 1737 17382002-03-22 Benjamin Kosnik <bkoz@redhat.com> 1739 1740 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for 1741 signbit and __signbit directly. 1742 * aclocal.m4: Regenerate. 1743 * configure: Regenerate. 1744 * config.h.in: Regenerate. 1745 * libmath/Makefile.am: Simplify. 1746 * libmath/Makefile.in: Regenerate. 1747 * include/c_std/std_cmath.h: Update paths for include of cmath.tcc. 1748 1749 * include/Makefile.am: Clean up handling of extra "C" header files. 1750 Add hooks for "C" compatibility headers. 1751 * include/Makefile.in: Regenerate. 1752 1753 * include/c/*: Formatting tweaks, cleanups. 1754 * include/c_std/*: Same. 1755 17562002-03-22 Benjamin Kosnik <bkoz@redhat.com> 1757 1758 * config/locale/gnu/messages_members.h: Add __uselocale bits. 1759 * config/locale/gnu/messages_members.cc: Same. 1760 * config/locale/gnu/time_members.cc: Same. 1761 17622002-03-22 Benjamin Kosnik <bkoz@redhat.com> 1763 1764 * src/vterminate.cc: Format, -fno-exceptions cleanup. 1765 17662002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 1767 1768 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New. 1769 (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv. 1770 * aclocal.m4: Regenerate. 1771 * configure: Likewise. 1772 17732002-03-19 Paolo Carlini <pcarlini@unitus.it> 1774 Ulrich Drepper <drepper@redhat.com> 1775 1776 * src/locale-inst.cc (__convert_from_v): Add an additional 1777 __size parameter in the declarations. 1778 * include/bits/locale_facets.tcc 1779 (__convert_from_v): When available (that is, 1780 _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf. 1781 (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99 1782 being defined or not, call and use __convert_from_v in the 1783 appropriate way. 1784 (num_put::_M_convert_int): Same here. 1785 (money_put::do_put(long double)): Same here. 1786 17872002-03-19 Phil Edwards <pme@gcc.gnu.org> 1788 1789 * docs/html/faq/index.html (#3.6): Rewrap and close <a href> tags. 1790 * docs/html/faq/index.txt: Regenerate. 1791 17922002-03-19 Steve Ellcey <sje@cup.hp.com> 1793 1794 * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define 1795 GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if 1796 --enable-libunwind-exceptions is set. 1797 * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new 1798 macro to check for libunwind. 1799 * configure: Regenerate. 1800 * src/Makefile.am (libstdc___la_LDFLAGS): Add 1801 LIBUNWIND_FLAG to libstdc link line. 1802 * src/Makefile.in: Regenerate. 1803 18042002-03-19 Benjamin Kosnik <bkoz@redhat.com> 1805 1806 * docs/html/faq/index.html: Add OS X workaround. 1807 * docs/html/17_intro/TODO: Update. 1808 18092002-03-18 Paolo Carlini <pcarlini@unitus.it> 1810 1811 * include/bits/locale_facets.tcc 1812 (money_put::do_put(long double)): Fix dimensioning of 1813 temporary buffers to avoid risk of overruns. 1814 (money_put::do_put(string)): Same for the buffer used to 1815 add the grouping chars. 1816 * testsuite/22_locale/money_put_members_char.cc: Add test06. 1817 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto. 1818 1819 * include/bits/locale_facets.tcc 1820 (collate::do_transform): Simplify. 1821 18222002-03-18 Phil Edwards <pme@gcc.gnu.org> 1823 1824 * acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform. 1825 * configure.in: Add comments pointing the way for autoconf 2.5x. 1826 * aclocal.m4, config.h.in, configure: Regenerate. 1827 18282002-03-18 Philipp Thomas <pthomas@suse.de> 1829 1830 * include/backward/hash_map.h: hash, hashtable, hash_map and 1831 hash_multimap are in namespace __gnu_cxx. 1832 include/backward/hash_set.h: hash, hashtable, hash_set and 1833 hash_multiset are in namespace __gnu_cxx. 1834 include/backward/hashtable.h: hash and hashtable are in 1835 namespace __gnu_cxx. 1836 include/backward/rope.h: char_producer, sequence_buffer, 1837 rope, crope and wrope are in namespace __gnu_cxx. 1838 include/backward/slist.h: slist is in namespace __gnu_cxx. 1839 * testsuite/backward/header_hash_map_h.cc 1840 testsuite/backward/header_hash_set_h.cc 1841 testsuite/backward/header_hashtable_h.cc 1842 testsuite/backward/header_rope_h.cc 1843 testsuite/backward/header_slist_h.cc 1844 testsuite/backward/header_tempbuf_h.cc: New tests for 1845 checking that we're using the correct namespace. 1846 18472002-03-17 Jason Merrill <jason@redhat.com> 1848 1849 PR c++/4381 1850 * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn. 1851 (check_exception_spec): Call it. Take the thrown pointer. 1852 (__cxa_call_unexpected): Pass it. 1853 (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr. 1854 18552002-03-15 Anthony Green <green@redhat.com> 1856 1857 * configure.in: Remove useless is_mingw32. 1858 * configure: Rebuilt. 1859 18602002-03-15 Paolo Carlini <pcarlini@unitus.it> 1861 1862 * testsuite/22_locale/collate_members_char.cc 1863 (test01): compare the result of collate::compare with 1864 that of collate::transform + string::compare, not with 1865 that of collate::transform + collate::compare. 1866 (test01): values returned by collate::compare are 1867 normalized, therefore test against +-1. 1868 * testsuite/22_locale/collate_members_wchar_t.cc: Ditto. 1869 18702002-03-12 Loren Rittle <ljrittle@acm.org> 1871 1872 reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de> 1873 * testsuite/thread/pthread4.cc: Lower nominal iteration counter. 1874 18752002-03-12 Benjamin Kosnik <bkoz@redhat.com> 1876 Per Liboriussen <liborius@stofanet.dk> 1877 1878 * config/os/gnu-linux/bits/ctype_noninline.h: Cast to 1879 unsigned char. 1880 * config/os/gnu-linux/bits/ctype_inline.h: Same. 1881 1882 * config/os/irix/irix6.5/bits/ctype_inline.h: Same. 1883 1884 * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same. 1885 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same. 1886 1887 * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same. 1888 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same. 1889 1890 * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same. 1891 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same. 1892 1893 * testsuite/22_locale/ctype_members_char.cc (main): Add tests. 1894 18952002-03-12 Benjamin Kosnik <bkoz@redhat.com> 1896 1897 * include/bits/basic_string.tcc (string::_S_construct(_InIter, 1898 _InIter, const _Alloc&, forward_iterator_tag): Check for null. 1899 (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same. 1900 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now 1901 that memory limits are in place. 1902 (test03): Add tests. 1903 19042002-03-11 Benjamin Kosnik <bkoz@redhat.com> 1905 1906 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h. 1907 * aclocal.m4: Regenerate. 1908 * config.h.in: Regenerate. 1909 * configure: Regenerate. 1910 * include/c_std/std_cwctype.h: Guard. 1911 19122002-03-11 Chris Demetriou <cgd@broadcom.com> 1913 1914 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for 1915 whether GLIBCPP_CHECK_LINKER_FEATURES has been used. 1916 * aclocal.m4: Regenerate. 1917 * configure: Regenerate. 1918 19192002-03-11 Benjamin Kosnik <bkoz@redhat.com> 1920 1921 * include/bits/stl_bvector.h: Fix warning. 1922 19232002-03-11 Richard Henderson <rth@redhat.com> 1924 1925 * include/bits/stl_bvector.h (_Bit_type): New. Use throughout. 1926 19272002-03-11 Paolo Carlini <pcarlini@unitus.it> 1928 1929 * include/bits/locale_facets.tcc (collate::do_transform): 1930 Rewrite to fix problems with long transformed strings. 1931 1932 * include/bits/locale_facets.tcc (time_put::do_put): 1933 Consider sizeof(char_type) in allocating the buffer. 1934 19352002-03-10 Anthony Green <green@redhat.com> 1936 1937 * configure.in: Support cross builds to mingw32 target. 1938 * configure: Rebuilt. 1939 19402002-03-08 Benjamin Kosnik <bkoz@redhat.com> 1941 1942 * c_locale_generic.cc: Move to... 1943 * generic/c_locale.cc 1944 * c_locale_generic.h: Move to... 1945 * generic/c_locale.h 1946 * codecvt_specializations_generic.h: Move to... 1947 * generic/codecvt_specializations.h 1948 * collate_members_generic.cc: Move to... 1949 * generic/collate_members.cc 1950 * ctype_members_generic.cc: Move to... 1951 * generic/ctype_members.cc 1952 * messages_members_generic.cc: Move to... 1953 * generic/messages_members.cc 1954 * messages_members_generic.h: Move to... 1955 * generic/messages_members.h 1956 * moneypunct_members_generic.cc: Move to... 1957 * generic/monetary_members.cc 1958 * numpunct_members_generic.cc: Move to... 1959 * generic/numeric_members.cc 1960 * time_members_generic.cc: Move to... 1961 * generic/time_members.cc 1962 * c_locale_gnu.cc: Move to... 1963 * gnu/c_locale.cc 1964 * c_locale_gnu.h: Move to... 1965 * gnu/c_locale.h 1966 * collate_members_gnu.cc: Move to... 1967 * gnu/collate_members.cc 1968 * ctype_members_gnu.cc: Move to... 1969 * gnu/ctype_members.cc 1970 * messages_members_gnu.cc: Move to... 1971 * gnu/messages_members.cc 1972 * messages_members_gnu.h: Move to... 1973 * gnu/messages_members.h 1974 * moneypunct_members_gnu.cc: Move to... 1975 * gnu/monetary_members.cc 1976 * numpunct_members_gnu.cc: Move to... 1977 * gnu/numeric_members.cc 1978 * time_members_gnu.cc: Move to... 1979 * gnu/time_members.cc 1980 * c_locale_ieee_1003.1-200x.cc: Move to... 1981 * ieee_1003.1-2001/c_locale.cc 1982 * c_locale_ieee_1003.1-200x.h: Move to... 1983 * ieee_1003.1-2001/c_locale.h 1984 * codecvt_specializations_ieee_1003.1-200x.h: Move to... 1985 * ieee_1003.1-2001/codecvt_specializations.h 1986 * messages_members_ieee_1003.1-200x.cc: Move to... 1987 * ieee_1003.1-2001/messages_members.cc 1988 * messages_members_ieee_1003.1-200x.h: Move to... 1989 * ieee_1003.1-2001/messages_members.h 1990 1991 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent. 1992 * aclocal.m4: Regenerate. 1993 * configure: Regenerate. 1994 * src/Makefile.am (sources): Change to monetary and numeric. 1995 * src/Makefile.in: Regenerate. 1996 * docs/html/configopts.html: Update to ieee_1003.1-2001. 1997 19982002-03-08 scott snyder <snyder@fnal.gov> 1999 2000 libstdc++/5875 2001 * include/bits/locale_facets.tcc (num_put::_M_convert_float): 2002 Allow one more digit of precision. 2003 * testsuite/27_io/ostream_inserter_arith.cc: Test that we can 2004 write a double and read back in the same value. 2005 20062002-03-08 Benjamin Kosnik <bkoz@redhat.com> 2007 2008 * include/std/std_limits.h: Move static const data members out of 2009 generic template, into base class __numeric_limits_base. 2010 * src/limits.cc: Add definitions. 2011 * config/linker-map.gnu: Add __numeric_limits_base. 2012 * testsuite/18_support/numeric_limits.cc: Declare test in scope. 2013 20142002-03-07 Benjamin Kosnik <bkoz@redhat.com> 2015 2016 * include/bits/stl_alloc.h: Add extern implicit allocator 2017 instantiations. 2018 * include/bits/basic_string.tcc: Tweak. 2019 * include/bits/loqcale_facets.tcc: Remove default args. Add 2020 has_facet, use_facet extern instantiations. 2021 * src/stl-inst.cc: Add explicit instantiation. 2022 * src/locale-inst.cc: Clean. Remove locale member template 2023 instantiations. 2024 2025 * testsuite/22_locale/operators.cc (test02): Enable. 2026 20272002-03-06 Benjamin Kosnik <bkoz@redhat.com> 2028 Stephen M. Webb <stephen.webb@bregmasoft.com> 2029 2030 * include/bits/stl_tree.h (_S_rb_tree_red): Make enum. 2031 (_S_rb_tree_black): Make enum. 2032 Clean. Format. 2033 * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum. 2034 * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum. 2035 (__stl_threshold): _M_threshold, enum. 2036 * src/stl-inst.cc: Same. 2037 * config/linker-map.gnu: Remove. 2038 2039 * testsuite/23_containers/vector_bool.cc: New. 2040 20412002-03-08 Phil Edwards <pme@gcc.gnu.org> 2042 2043 * include/bits/basic_string.h (basic_string::_S_construct): Fix 2044 names in declaration. 2045 (basic_string::compare): These are no longer optional. 2046 * include/bits/ostream.tcc: Tweak closing brace placement. 2047 * include/bits/stl_algo.h: Lots of initial doxygen comment hooks. 2048 * include/std/std_sstream.h: Fix typo in comment. 2049 * include/bits/locale_facets.tcc: Remove unneeded header inclusion. 2050 * src/locale.cc: Likewise. 2051 20522002-03-08 Phil Edwards <pme@gcc.gnu.org> 2053 2054 PR libstdc++/5734 2055 * include/bits/stl_vector.h (vector::push_back()): Guard with 2056 _GLIBCPP_DEPRECATED. 2057 20582002-03-05 Benjamin Kosnik <bkoz@redhat.com> 2059 2060 * docs/html/17_intro/RELEASE-NOTES: Fix usage. 2061 * README (libmath): Make clear. 2062 20632002-03-05 Jakub Jelinek <jakub@redhat.com> 2064 2065 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version 2066 script globbing in ld. 2067 * aclocal.m4: Rebuilt. 2068 * configure: Rebuilt. 2069 20702002-03-05 Benjamin Kosnik <bkoz@redhat.com> 2071 2072 * docs/html/17_intro/RELEASE-NOTES: Update. 2073 * README: Format subdirectories. 2074 20752002-03-05 Paolo Carlini <pcarlini@unitus.it> 2076 2077 libstdc++/5816 2078 * include/bits/locale_facets.tcc 2079 (num_get::_M_extract_float): Fix the parsing of __dec, since 2080 the standard prescribes that if no grouping characters are 2081 seen, no grouping check is applied. 2082 * testsuite/22_locale/num_get_members_char.cc: Add test05 2083 distilled from the PR. 2084 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto. 2085 20862002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org> 2087 2088 * docs/html/17_intro/porting-howto.xml: Refer to 2089 http://www.oasis-open.org for docbookx.dtd. 2090 * docs/html/17_intro/porting-howto.html: Regenerated. 2091 20922002-03-03 Phil Edwards <pme@gcc.gnu.org> 2093 2094 PR libstdc++/2955 2095 * include/std/std_sstream.h: Remove trailing spaces. 2096 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app. 2097 * testsuite/27_io/stringbuf.cc (test05, test06): New tests. 2098 20992002-03-03 Paolo Carlini <pcarlini@unitus.it> 2100 2101 * testsuite/22_locale/num_get_members_char.cc (test04): 2102 Use a named locale expecting grouping (de_DE). 2103 * testsuite/22_locale/num_get_members_wchar_t.cc (test04): 2104 Ditto. 2105 * testsuite/27_io/ios_manip_basefield.cc (test01): 2106 Extend coverage, uniform treatment of hexs and octs. 2107 21082002-03-01 Paolo Carlini <pcarlini@unitus.it> 2109 2110 * include/bits/locale_facets.tcc (num_get::_M_extract_int): 2111 Admit grouping for octals and hexadecimals too. 2112 * testsuite/22_locale/num_get_members_char.cc: Add test04. 2113 (test01): Tweak "." -> "," in void* test. 2114 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto. 2115 2116 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword. 2117 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them. 2118 2119 * testsuite/27_io/ios_manip_basefield.cc (test01): 2120 Fix for 64 bit machines. 2121 21222002-02-28 Richard Henderson <rth@redhat.com> 2123 2124 * config/linker-map.gnu: Export operator new with unsigned long, 2125 and with std::nothrow_t. Likewise operator delete. 2126 21272002-02-26 Benjamin Kosnik <bkoz@redhat.com> 2128 2129 libstdc++/3983 2130 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero. 2131 Adjust comment. 2132 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable. 2133 (basic_ios::_M_fill_init): New. 2134 (basic_ios::fill()): Delay dealing with _M_fill. 2135 Adjust comment. 2136 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words. 2137 (ios_base::_M_call_callbacks): Adjust. 2138 * testsuite/27_io/ios_init.cc (test02): Adjust testcase. 2139 21402002-02-28 Loren Rittle <ljrittle@acm.org> 2141 2142 * include/Makefile.am (thread_target_headers): Unconditionally 2143 stage and install gthr-posix.h. 2144 (${target_builddir}/gthr-posix.h): New rule cloned off 2145 ${target_builddir}/gthr-default.h. 2146 (${target_builddir}/gthr-default.h): Support chained inclusion 2147 of gthr support headers. 2148 * include/Makefile.in: Rebuilt. 2149 21502002-02-26 Paolo Carlini <pcarlini@unitus.it> 2151 2152 * include/bits/locale_facets.tcc (num_put::_M_widen_int): 2153 Group all the integral types, not only decs. 2154 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing 2155 tests, add a few more. 2156 21572002-02-25 Benjamin Kosnik <bkoz@redhat.com> 2158 2159 * src/ios.cc (ios_base::~ios_base): Tweak. 2160 (ios_base::_M_call_callbacks): Deal with null __p. 2161 (ios_base::ios_base): Set _M_callbacks. 2162 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment. 2163 * testsuite/27_io/ios_init.cc (test02): Fix. 2164 2165 * mkcheck.in (static_fail): Failed links go to output file. 2166 21672002-02-25 Phil Edwards <pme@gcc.gnu.org> 2168 2169 * docs/html/faq/index.html: Update. 2170 * docs/html/faq/index.txt: Regenerate. 2171 21722002-02-22 Phil Edwards <pme@gcc.gnu.org> 2173 2174 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment. 2175 * aclocal.m4: Regenerate. 2176 * docs/html/configopts.html: Document --enable-symvers. 2177 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag. 2178 21792002-02-22 Philipp Thomas <pthomas@suse.de> 2180 2181 * include/backward/tempbuf.h: get_temporary_buffer and 2182 return_temporary_buffer are in namespace std, not in __gnu_cxx. 2183 21842002-02-21 Benjamin Kosnik <bkoz@redhat.com> 2185 2186 * configure.in (target_alias): Default to yes. 2187 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared 2188 libgcc to default case. 2189 21902002-02-20 Phil Edwards <pme@gcc.gnu.org> 2191 2192 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version. 2193 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version. 2194 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script. 2195 * aclocal.m4: Regenerate. 2196 * configure: Regenerate. 2197 * config/linker-map.dummy: New file. Contains nothing useful. 2198 21992002-02-20 Benjamin Kosnik <bkoz@redhat.com> 2200 2201 * testsuite/22_locale/money_put_members_char.cc: Fix. 2202 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix. 2203 2204 * testsuite/27_io/standard_manipulators.cc: New file. 2205 2206 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing. 2207 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic(). 2208 22092002-02-20 Danny Smith <dannysmith@users.sourceforge.net> 2210 2211 * config/os/mingw32/bits/ctype_noninline.h 2212 (ctype<char>::ctype): Remove default args from parm list. 2213 * config/os/djgpp/bits/ctype_noninline.h: Same. 2214 22152002-02-19 Benjamin Kosnik <bkoz@redhat.com> 2216 2217 * include/std/std_iomanip.h: Inline, tweaks. 2218 * config/linker-map.gnu: Remove hacks. 2219 2220 * testsuite/21_strings/capacity.cc: Add explicit instantiations. 2221 * testsuite/27_io/ios_init.cc: Same. 2222 * testsuite/22_locale/money_get_members_char.cc (test07): Fix. 2223 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same. 2224 22252002-02-19 Benjamin Kosnik <bkoz@redhat.com> 2226 2227 * config/linker-map.gnu: Export global vtable, typeinfo, guard 2228 variable, and thunk info as per CXXABI docs. 2229 22302002-02-19 Loren Rittle <ljrittle@acm.org> 2231 2232 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names. 2233 * include/Makefile.in: Rebuilt. 2234 22352002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de> 2236 2237 * testsuite/22_locale/collate_byname.cc (test01): Replace size4 2238 with size3 for the string collations of str5. 2239 22402002-02-18 Paolo Carlini <pcarlini@unitus.it> 2241 2242 libstdc++/5708 2243 * include/bits/locale_facets.tcc (money_put::do_put): 2244 For the space field use __fill instead of ' ', uniformly. 2245 * testsuite/22_locale/money_put_members_char.cc: 2246 Add test05 distilled from PR. 2247 (test01-02-03): Trim some '*' to ' '. 2248 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto. 2249 22502002-02-18 Loren Rittle <ljrittle@acm.org> 2251 2252 libstdc++/5697 2253 * include/Makefile.am (thread_builddir): Remove (map all 2254 existing uses to target_builddir). 2255 (thread_headers): Rename to... 2256 (thread_target_headers): ...this. 2257 (stamp-thread): Remove. 2258 (stamp-target): Correctly state the position as built. 2259 Update all dependencies to match the new reality. Remove all 2260 dependency calculations on directories. 2261 * include/Makefile.in: Rebuilt. 2262 22632002-02-16 Benjamin Kosnik <bkoz@redhat.com> 2264 2265 * include/bits/locale_facets.tcc: Add pragma GCC system_header. 2266 * include/bits/fstream.tcc: Same. 2267 * include/bits/sstream.tcc: Same. 2268 * include/bits/ostream.tcc: Same. 2269 * include/bits/istream.tcc: Same. 2270 * include/bits/streambuf.tcc: Same. 2271 * include/bits/basic_ios.tcc: Same. 2272 * include/bits/basic_string.tcc: Same. 2273 22742002-02-15 Benjamin Kosnik <bkoz@redhat.com> 2275 2276 * include/std/std_iosfwd.h: Don't guard typedefs with 2277 _GLIBCPP_USE_WCHAR_T 2278 * include/bits/stringfwd.h: Same. 2279 22802002-02-15 Benjamin Kosnik <bkoz@redhat.com> 2281 2282 * src/locale.cc (moneypunct_byname): Remove definitions. 2283 * include/std/std_streambuf.h (streambuf::operator=): Return. 2284 22852002-02-15 Benjamin Kosnik <bkoz@redhat.com> 2286 2287 Tune for size. 2288 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant 2289 explicit instantiation. 2290 (string::_Rep::_S_max_size): Same. 2291 * include/bits/basic_string.tcc: Add extern explicit 2292 instantiations for string, wstring. 2293 * include/bits/basic_ios.tcc: Add extern explicit instantiations 2294 for ios, wios. 2295 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf. 2296 * include/bits/istream.tcc: Same, for istream, wistream. 2297 * include/bits/ostream.tcc: Same for ostream, wostream, iostream, 2298 wiostream. 2299 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf, 2300 istringstream, wistringstream, ostringstream, wostringstream, 2301 stringstream, wstringstream. 2302 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream, 2303 wifstream, ofstream, wofstream, fstream, wfstream. 2304 * src/misc-inst.cc: Correct comments. 2305 Add iomanip instantiations for wide streams. 2306 * include/std/std_iomanip.h: Same. 2307 * include/bits/locale_facets.tcc: Same. 2308 2309 * include/std/std_streambuf.h: Correct 2310 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard. 2311 * include/std/std_sstream.h: Same. 2312 * include/std/std_ostream.h: Same. 2313 * include/std/std_istream.h: Same. 2314 * include/std/std_fstream.h: Same. 2315 2316 * include/std/std_streambuf.h: Add definitions for private copy 2317 ctor and assignment operator. 2318 * include/std/std_istream.h: Remove declared but undefined copy 2319 ctor and assignment operator. This is taken care of in ios_base, 2320 so adding it in the derived class as well is superfluous. 2321 * include/std/std_ostream.h: Same. 2322 2323 * include/bits/basic_ios.h (basic_ios::clear): Don't inline. 2324 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here. 2325 23262002-02-14 Benjamin Kosnik <bkoz@redhat.com> 2327 2328 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1. 2329 Add typeinfo bits. Smooth. 2330 * aclocal.m4: Regenerate. 2331 * configure: Same. 2332 * src/Makefile.in: Same. 2333 23342001-02-14 Joel Sherrill <joel@OARcorp.com> 2335 2336 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets 2337 which do not have a CAS instruction. 2338 23392002-02-14 Phil Edwards <pme@gcc.gnu.org> 2340 2341 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision. 2342 * configure.in: Call it. 2343 * config/linker-map.gnu: New file, initial incomplete revision. 2344 * src/Makefile.am: Optionally pass version script to the linker. 2345 * aclocal.m4: Regenerate. 2346 * configure: Regenerate. 2347 * src/Makefile.in: Regenerate. 2348 23492002-02-13 Benjamin Kosnik <bkoz@redhat.com> 2350 2351 * src/localename.cc: Remove stdexcept include. 2352 * src/locale-inst.cc: Same. 2353 * src/locale.cc: Same. 2354 * src/functexcept.cc: Remove string includes. 2355 * include/std/std_bitset.h: Remove stdexcept include. 2356 * testsuite/23_containers/bitset_members.cc: Add stdexcept. 2357 * testsuite/23_containers/bitset_ctor.cc: Same. 2358 23592002-02-11 Benjamin Kosnik <bkoz@redhat.com> 2360 2361 * include/bits/stl_algo (__stl_threshold): Declare external. 2362 (__stl_chunk_size): Same. 2363 * include/bits/stl_bvector.h (__WORD_BIT): Same. 2364 * include/bits/stl_tree.h (_S_rb_tree_red): Same. 2365 (_S_rb_tree_black): Same. 2366 * src/stl-inst.cc (__stl_threshold): Define. 2367 (__stl_chunk_size): Same. 2368 (__WORD_BIT): Same. 2369 (_S_rb_tree_red): Same. 2370 (_S_rb_tree_black): Same. 2371 2372 * config/io/basic_file_libio.h (__basic_file): Add declarations. 2373 * include/bits/basic_file.h: Remove. 2374 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION 2375 Declare generic types, specialization. 2376 * config/io/basic_file_stdio.cc: Definitions. 2377 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE. 2378 Declare generic types. 2379 * include/Makefile.am (bits_headers): Remove basic_file.h. 2380 (extra_target_headers): Change basic_file_model.h to basic_file.h. 2381 (stamp-target): Same. 2382 2383 * include/bits/stl_alloc.h: Tweaks. 2384 * include/bits/localefwd.h: Same. 2385 23862002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com> 2387 2388 * include/bits/locale_facets.tcc (collate::do_hash): Fix. 2389 * testsuite/22_locale/collate_members_char.cc (test03): New test. 2390 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same. 2391 23922002-02-10 Phil Edwards <pme@gcc.gnu.org> 2393 2394 * include/bits/stl_algo.h (transform (both signatures), generate_n): 2395 Use __typeof__ in concept checks. 2396 23972002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk> 2398 2399 * include/bits/stl_algo.h (__median, for_each, find, find_if, 2400 adjacent_find, count, count_if, search, search_n, swap_ranges, 2401 transform, replace, replace_if, replace_copy, replace_copy_if, 2402 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if, 2403 unique, unique_copy, reverse, reverse_copy): Doxygenate. 2404 24052002-02-08 Benjamin Kosnik <bkoz@redhat.com> 2406 2407 * include/bits/locale_facets.h 2408 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition. 2409 (__timepunct<_CharT>::_M_initialize_timepunct): Same. 2410 (__timepunct<_CharT>::_M_put_helper): Same. 2411 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same. 2412 2413 * include/bits/fstream.tcc (filebuf::underflow): Remove 2414 __codecvt_type typedef. 2415 (filebuf::_M_convert_to_external): Same. 2416 24172002-02-08 Phil Edwards <pme@gcc.gnu.org> 2418 2419 * docs/doxygen/TODO: Update. 2420 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description. 2421 * docs/doxygen/mainpage.html: Add TODO list link. 2422 * docs/doxygen/user.cfg.in: Add @doctodo hook. 2423 * docs/doxygen/tables.html: New file, emoty structure only. 2424 2425 * include/bits/stl_iterator.h: Doxygenate just about everything. 2426 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces. 2427 * include/bits/stl_iterator_base_types.h: Add notes. 2428 24292002-02-07 Stephan Buys <sbproxy@icon.co.za> 2430 2431 * include/bits/stl_map.h: Tweak doxygen markup. 2432 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces. 2433 * include/bits/stl_vector.h: Likewise. 2434 24352002-02-07 Benjamin Kosnik <bkoz@redhat.com> 2436 2437 libstdc++/5286 2438 libstdc++/3860 2439 * include/std/std_fstream.h (filebuf::__file_type): Change to 2440 __basic_file<char>. 2441 (filebuf::_M_convert_to_external): Declare. 2442 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define 2443 codecvt bits for wide streams. 2444 (filebuf::_M_really_overflow): Use it. 2445 (filebuf::underflow): Use codecvt. 2446 * config/locale/codecvt_specializations_ieee_1003.1-200x.h: 2447 (codecvt<__enc_traits>::do_out): Deal with partial. 2448 (codecvt<__enc_traits>::do_encoding): Return something useful. 2449 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof 2450 wchar_t. 2451 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01): 2452 Change expected encoding output. 2453 (test02): Same. 2454 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same. 2455 (test02): Same. 2456 24572002-02-07 Benjamin Kosnik <bkoz@redhat.com> 2458 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de> 2459 2460 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value. 2461 (basic_ios::widen): Same. 2462 24632002-02-07 Paolo Carlini <pcarlini@unitus.it> 2464 2465 * testsuite/22_locale/money_get_members_char.cc: 2466 Add comment, tidy up. 2467 (test01): more "en_HK" tests (without showbase). 2468 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto. 2469 24702002-02-06 Loren Rittle <ljrittle@acm.org> 2471 2472 * config/locale/c_locale_generic.cc: Do not trust 2473 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as 2474 set by configure. 2475 24762002-02-06 Loren Rittle <ljrittle@acm.org> 2477 2478 * acinclude.m4: Add C++ linkage check for strtof. 2479 * aclocal.m4: Rebuilt. 2480 * config.h.in: Rebuilt. 2481 * configure: Rebuilt. 2482 * config/locale/c_locale_generic.cc: Conditionally include 2483 <ieeefp.h>. Improve handling and error checking of float 2484 and long double input for non-C99 configurations. 2485 24862002-02-06 Paolo Carlini <pcarlini@unitus.it> 2487 2488 * include/bits/locale_facets.tcc (money_get::do_get(string)): 2489 In case money_base::symbol deal properly with multi-char sign 2490 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}. 2491 * testsuite/22_locale/money_get_members_char.cc: Add test07. 2492 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07. 2493 24942002-02-05 Paolo Carlini <pcarlini@unitus.it> 2495 2496 * include/bits/locale_facets.tcc (money_get::do_get(string)): 2497 First construct a tentative returned string, then, only if the 2498 parsing succeeds, copy it into the string passed by reference. 2499 * testsuite/22_locale/money_get_members_char.cc: Add test06. 2500 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06. 2501 25022002-02-04 Phil Edwards <pme@gcc.gnu.org> 2503 2504 * docs/doxygen/TODO: Impl-defined behavior now documented... 2505 * docs/html/17_intro/howto.html: ...here. 2506 * docs/doxygen/mainpage.doxy: Remove, rename... 2507 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license. 2508 * docs/doxygen/style.css: Add small text. 2509 * docs/doxygen/run_doxygen: Adjust for new mainpage. 2510 * docs/doxygen/user.cfg.in: Likewise. 2511 25122002-02-04 Stephan Buys <sbproxy@icon.co.za> 2513 2514 * include/bits/stl_map.h: Initial doxygen markup. 2515 * include/std/std_fstream.h: Initial doxygen markup. 2516 25172002-02-04 Paolo Carlini <pcarlini@unitus.it> 2518 2519 libstdc++/5579 2520 * include/bits/locale_facets.tcc (money_get::do_get(string)): 2521 Deal correctly with !(__io.flags() & ios_base::showbase) 2522 for case money_base::symbol. 2523 * testsuite/22_locale/money_get_members_char.cc: Add test05. 2524 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05. 2525 25262002-02-02 Paolo Carlini <pcarlini@unitus.it> 2527 2528 * testsuite/22_locale/operators.cc 2529 (gnu_collate::do_compare()): Add return statement to 2530 suppress "no return statement" warning. 2531 25322002-02-01 Paolo Carlini <pcarlini@unitus.it> 2533 2534 * testsuite/27_io/ostream_manip.cc: Enable test02. 2535 25362002-02-01 Phil Edwards <pme@gcc.gnu.org> 2537 2538 * docs/html/documentation.html: Update for 3.0.96. 2539 * docs/html/faq/index.html: Update for 3.0.96. 2540 * docs/html/faq/index.txt: Regenerated. 2541 * docs/doxygen/TODO: Update notes. 2542 * docs/html/17_intro/howto.html: Initial impl-specific listing. 2543 25442002-01-31 Benjamin Kosnik <bkoz@redhat.com> 2545 2546 * config/locale/codecvt_specializations_ieee_1003.1-200x.h: 2547 Initialize all data members in copy ctor. Make ctors explicit. 2548 (__enc_traits::__enc_traits()): Default ctor does nothing. 2549 (__enc_traits::_M_init): Guard against multiple iconv_opens. 2550 * include/std/std_sstream.h (basic_stringbuf): Make data members 2551 protected. 2552 * include/std/std_fstream.h (basic_filebuf): Same. 2553 * include/std/std_streambuf.h: Tweak. 2554 * include/bits/streambuf.tcc: Same. 2555 * include/bits/sstream.tcc: Same. 2556 * include/bits/fstream.tcc: Same. 2557 25582002-01-31 Loren Rittle <ljrittle@acm.org> 2559 2560 * testsuite/22_locale/codecvt_members_char_char.cc: Do not 2561 allow NULL argument to be passed to setenv(). 2562 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise. 2563 * testsuite/22_locale/collate_members_char.cc: Likewise. 2564 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise. 2565 * testsuite/22_locale/ctype_members_char.cc: Likewise. 2566 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise. 2567 * testsuite/22_locale/messages_members_char.cc: Likewise. 2568 * testsuite/22_locale/money_get_members_char.cc: Likewise. 2569 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise. 2570 * testsuite/22_locale/money_put_members_char.cc: Likewise. 2571 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise. 2572 * testsuite/22_locale/moneypunct_members_char.cc: Likewise. 2573 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise. 2574 * testsuite/22_locale/num_get_members_char.cc: Likewise. 2575 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise. 2576 * testsuite/22_locale/num_put_members_char.cc: Likewise. 2577 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise. 2578 * testsuite/22_locale/numpunct_members_char.cc: Likewise. 2579 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise. 2580 * testsuite/22_locale/time_get_members_char.cc: Likewise. 2581 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise. 2582 * testsuite/22_locale/time_put_members_char.cc: Likewise. 2583 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise. 2584 25852002-01-30 Benjamin Kosnik <bkoz@redhat.com> 2586 2587 * config/locale/c_locale_gnu.cc: Same errno fixes as generic. 2588 2589 * ChangeLog-2001: Fix spelling errors... 2590 * docs/html/17_intro/RELEASE-NOTES: Update. 2591 * docs/html/17_intro/TODO: Update. 2592 * README (file): Update. 2593 25942002-01-30 Loren Rittle <ljrittle@acm.org> 2595 2596 * config/locale/c_locale_generic.cc: Check errno for ERANGE 2597 instead of non-zero to aid portability. 2598 25992002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de> 2600 2601 * docs/html/22_locale/messages.html: Fix example code. 2602 26032002-01-30 Richard Henderson <rth@redhat.com> 2604 2605 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break 2606 out from test03 and templatize. 2607 (test03): Use it. 2608 26092002-01-30 Paolo Carlini <pcarlini@unitus.it> 2610 2611 * config/locale/numpunct_members_gnu.cc 2612 (numpunct<char, wchar_t>::_M_initialize_numpunct()): 2613 Fix initialization of _M_grouping for locales which have 2614 _M_thousands_sep == '\0'(L'\0', respectively). 2615 * testsuite/22_locale/numpunct_byname.cc (test02): Add test. 2616 26172002-01-30 Paolo Carlini <pcarlini@unitus.it> 2618 2619 * testsuite/27_io/ostream_inserter_arith.cc (test03): 2620 Better fix for 32/64 bit architectures, avoiding the 2621 implicit assumption that CHAR_BIT == 8. 2622 26232002-01-28 Phil Edwards <pme@gcc.gnu.org> 2624 2625 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets. 2626 * Makefile.in: Regenerate. 2627 2628 * docs/doxygen/run_doxygen: Update, mostly for man pages. 2629 * docs/doxygen/Intro.3: Update. 2630 * docs/doxygen/TODO: Update. 2631 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx. 2632 * docs/doxygen/mainpage.doxy: Update. 2633 * docs/doxygen/user.cfg.in: Update for header rename. Also 2634 regenerate comments and variables with 1.2.12. 2635 * docs/doxygen/maint.cfg.in: Remove file. 2636 2637 * include/bits/stl_relops.h: Doxygenate. 2638 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise. 2639 2640 * include/c_std/std_cassert.h, include/c_std/std_cctype.h, 2641 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h, 2642 include/c_std/std_ciso646.h, include/c_std/std_climits.h, 2643 include/c_std/std_clocale.h, include/c_std/std_cmath.h, 2644 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h, 2645 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h, 2646 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h, 2647 include/c_std/std_cstring.h, include/c_std/std_ctime.h, 2648 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h, 2649 include/ext/algorithm, include/ext/functional, include/ext/hash_map, 2650 include/ext/hash_set, include/ext/iterator, include/ext/memory, 2651 include/ext/numeric, include/ext/rb_tree, include/ext/rope, 2652 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h, 2653 include/ext/stl_hashtable.h, include/ext/stl_rope.h, 2654 include/std/std_algorithm.h, include/std/std_bitset.h, 2655 include/std/std_complex.h, include/std/std_deque.h, 2656 include/std/std_fstream.h, include/std/std_functional.h, 2657 include/std/std_iomanip.h, include/std/std_ios.h, 2658 include/std/std_iosfwd.h, include/std/std_iostream.h, 2659 include/std/std_istream.h, include/std/std_iterator.h, 2660 include/std/std_limits.h, include/std/std_list.h, 2661 include/std/std_locale.h, include/std/std_map.h, 2662 include/std/std_memory.h, include/std/std_numeric.h, 2663 include/std/std_ostream.h, include/std/std_queue.h, 2664 include/std/std_set.h, include/std/std_sstream.h, 2665 include/std/std_stack.h, include/std/std_stdexcept.h, 2666 include/std/std_streambuf.h, include/std/std_string.h, 2667 include/std/std_utility.h, include/std/std_valarray.h, 2668 include/std/std_vector.h: Add/correct @file doxygen hook. 2669 2670 * include/ext/memory: Doxygenate most of rest of file. 2671 * libsupc++/exception: Doxygen output formatting. 2672 * libsupc++/new: Say which header it is. 2673 2674 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing. 2675 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch. 2676 * docs/html/23_containers/howto.html: Describe O(n) list::size(). 2677 * docs/html/27_io/howto.html: Also link to Langer and Kreft text. 2678 26792002-01-28 Paolo Carlini <pcarlini@unitus.it> 2680 Charles Leggett <CGLeggett@lbl.gov> 2681 2682 * testsuite/27_io/filebuf_members.cc (test_05): Add test. 2683 26842002-01-28 Paolo Carlini <pcarlini@unitus.it> 2685 2686 * testsuite/27_io/ostream_inserter_arith.cc (test03): 2687 Fix to deal correctly with both 32 bit and 64 bit architectures 2688 26892002-01-25 Loren Rittle <ljrittle@acm.org> 2690 2691 * testsuite/thread/pthread1.cc: Use one condition variable 2692 per predicate instead of tricky use of one condition variable. 2693 26942002-01-25 Benjamin Kosnik <bkoz@redhat.com> 2695 2696 * include/bits/fstream.tcc (filebuf::close()): Fix close for input 2697 streams. 2698 (filebuf::_M_really_overflow): Match indeterminate and sync calls. 2699 * testsuite/27_io/filebuf.cc: Compile only. 2700 * testsuite/27_io/filebuf_members.cc: Move tests to here. 2701 * testsuite/27_io/filebuf_virtuals.cc: And here. 2702 Revert sungetc, sync changes for expected values. 2703 * testsuite/27_io/filebuf-*: Move to... 2704 * testsuite/27_io/filebuf_virtuals-*: ...here. 2705 * testsuite/27_io/istream.cc: Compile only, activate. 2706 * testsuite/27_io/ostream.cc: Same. 2707 * testsuite/27_io/iostream.cc: New. 2708 * testsuite/27_io/iostream_members.cc: New. 2709 27102002-01-25 David Billinghurst <David.Billinghurst@riotinto.com> 2711 2712 * testsuite/thread/pthread1.cc: Enable on cygwin. 2713 * testsuite/thread/pthread2.cc: Likewise. 2714 * testsuite/thread/pthread3.cc: Likewise. 2715 * testsuite/thread/pthread4.cc: Likewise. 2716 * testsuite/thread/pthread5.cc: Likewise. 2717 * testsuite/thread/pthread6.cc: Likewise. 2718 27192002-01-24 Benjamin Kosnik <bkoz@redhat.com> 2720 2721 * testsuite/27_io/ostream_inserter_char.cc (test07): New. 2722 27232002-01-24 Benjamin Kosnik <bkoz@redhat.com> 2724 2725 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make 2726 const, tweak. 2727 (basic_ios::fill(char_type)): Use fill(). 2728 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet. 2729 (basic_ios::narrow): Same. 2730 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero 2731 if they are invalid. 2732 (basic_ios::init): Comment. 2733 * testsuite/27_io/ios_init.cc (test02): New. 2734 27352002-01-24 Phil Edwards <pme@gcc.gnu.org> 2736 2737 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook. 2738 * include/bits/stl_algo.h: Include stl_tempbuf.h. 2739 * include/ext/memory: Do not include stl_tempbuf.h. 2740 (temporary_buffer): Add doxygen hook. 2741 (__get_temporary_buffer, get_temporary_buffer, 2742 return_temporary_buffer): Move back to std:: header... 2743 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h. 2744 * include/ext/rope: Do not include stl_tempbuf.h. 2745 * include/ext/stl_hashtable.h: Likewise. 2746 * include/std/std_algorithm.h: Likewise. 2747 * testsuite/20_util/temporary_buffer.cc: New file. 2748 27492002-01-24 andrew@andypo.net 2750 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>) 2751 2752 libstdc++/5432 2753 * include/bits/ios_base.h: Use _Atomic_word for reference counts. 2754 * include/bits/localefwd.h: Likewise. 2755 Also use for std::locale::id::_S_highwater. 2756 * src/ios.cc (ios_base::xalloc): Use _Atomic_word. 2757 * src/locale.cc: Support new usage of _Atomic_word. 2758 (std::locale::classic): Guard entire function against reentry. 2759 * src/localename.cc: Support new usage of _Atomic_word. 2760 27612002-01-24 Benjamin Kosnik <bkoz@redhat.com> 2762 2763 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use 2764 _GLIBCPP_HAVE_SETENV. 2765 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same. 2766 * testsuite/22_locale/collate_members_char.cc (test02): Same. 2767 * testsuite/22_locale/ctype_members_char.cc (test03): Same. 2768 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same. 2769 * testsuite/22_locale/messages_members_char.cc (test02): Same. 2770 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same. 2771 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same. 2772 * testsuite/22_locale/money_put_members_char.cc (test04): Same. 2773 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same. 2774 * testsuite/22_locale/num_get_members_char.cc (test03): Same. 2775 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same. 2776 * testsuite/22_locale/numpunct_members_char.cc (test02): Same. 2777 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same. 2778 * testsuite/22_locale/time_get_members_char.cc (test07): Same. 2779 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same. 2780 * testsuite/22_locale/time_put_members_char.cc (test03): Same. 2781 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same. 2782 * testsuite/22_locale/num_put_members_char.cc (test03): Same. 2783 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv. 2784 * aclocal.m4: Regenerate. 2785 * configure: Regenerate. 2786 * config.h.in: Regenerate. 2787 27882002-01-23 Loren Rittle <ljrittle@acm.org> 2789 2790 * testsuite/thread/pthread1.cc: New test. 2791 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347. 2792 * testsuite/thread/pthread3.cc: Likewise. 2793 * testsuite/thread/pthread4.cc: New test adapted from 2794 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html 2795 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464. 2796 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444. 2797 27982002-01-23 Richard Henderson <rth@redhat.com> 2799 2800 PR libstdc++/5198 2801 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use 2802 CAS on the cpu variants that support it. Add versions that use 2803 TAS and that disable interrupts. 2804 (__atomic_add): Use __exchange_and_add to guarantee atomicity. 2805 28062002-01-23 Matt Kraai <kraai@alumni.cmu.edu> 2807 2808 * include/bits/locale_facets.tcc: Remove old comments. 2809 28102002-01-23 Andreas Tobler <toa@pop.agri.ch> 2811 2812 * include/bits/locale_facets.tcc (__convert_to_v): Change template 2813 parameter to _Tv. 2814 (__convert_from_v): Same. 2815 28162002-01-23 Benjamin Kosnik <bkoz@redhat.com> 2817 2818 * include/bits/locale_facets.h (num_get::_M_extract_int): Change 2819 prototype. 2820 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove 2821 __max_digits checks, adjust arguments. 2822 (num_get::do_get(*)): Changeup. 2823 28242002-01-23 Loren Rittle <ljrittle@acm.org> 2825 2826 * config/locale/c_locale_generic.cc: Fix typename usage. 2827 28282002-01-22 Benjamin Kosnik <bkoz@redhat.com> 2829 2830 * config/locale/c_locale_generic.cc: Fix. 2831 28322002-01-22 Benjamin Kosnik <bkoz@redhat.com> 2833 2834 * docs/html/22_locale/messages.html: Remove angle brackets. 2835 * docs/html/17_intro/TODO: Add. 2836 28372002-01-22 Paolo Carlini <pcarlini@unitus.it> 2838 2839 * testsuite/27_io/ios_manip_basefield.cc: Enable test02. 2840 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03. 2841 * testsuite/27_io/ostream_inserter_char.cc: Enable test01. 2842 * testsuite/27_io/ostream_inserter_other.cc: Enable test04. 2843 28442002-01-22 Benjamin Kosnik <bkoz@redhat.com> 2845 2846 Audit for LANG independence. 2847 * include/bits/localefwd.h: Tweaks. 2848 * include/bits/locale_facets.tcc (money_get::do_get(long double)): 2849 Use __convert_to_v. 2850 (time_get::do_get_year): Same. 2851 (__convert_from_v): Add. 2852 (num_put::_M_convert_float): Use. 2853 (num_put::_M_convert_int): Same. 2854 (money_put::do_put): Same. 2855 2856 * src/locale-inst.cc: Add instantiations for __convert_from_v. 2857 * config/locale/time_members_gnu.cc: Cleanup setlocale usage. 2858 * config/locale/time_members_generic.cc: 2859 * config/locale/messages_members_gnu.cc: Same. 2860 * config/locale/messages_members_gnu.h: Same. 2861 2862 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New. 2863 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New. 2864 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New. 2865 * testsuite/22_locale/collate_members_char.cc (test02): New. 2866 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New. 2867 * testsuite/22_locale/ctype_members_char.cc (test03): New. 2868 * testsuite/22_locale/messages_members_char.cc (test02): New. 2869 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New. 2870 * testsuite/22_locale/moneypunct_members_char.cc (test02): New. 2871 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New. 2872 * testsuite/22_locale/money_get_members_char.cc (test04): New. 2873 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New. 2874 * testsuite/22_locale/money_put_members_char.cc (test04): New. 2875 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New. 2876 * testsuite/22_locale/numpunct_members_char.cc (test02): New. 2877 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New. 2878 * testsuite/22_locale/time_put_members_char.cc (test03): New. 2879 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New. 2880 * testsuite/22_locale/time_get_members_char.cc (test07): New. 2881 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New. 2882 * testsuite/22_locale/num_get_members_char.cc (test03): New. 2883 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New. 2884 * testsuite/22_locale/num_put_members_char.cc (test03): New. 2885 2886 * testsuite/22_locale/time_get_members_char.cc: Fixups for global 2887 locale issues. 2888 * testsuite/22_locale/time_get_members_char.cc: Same. 2889 28902002-01-22 Benjamin Kosnik <bkoz@redhat.com> 2891 2892 libstdc++/5280 2893 * include/bits/localefwd.h: Tweak comments. 2894 * include/bits/locale_facets.h (__convert_to_v): Add. 2895 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it. 2896 (num_get::do_get(float)): Same. 2897 (num_get::do_get(long double)): Same. 2898 (num_get::do_get(bool)): Same. 2899 (num_get::do_get(long)): Same. 2900 (num_get::do_get(long long)): Same. 2901 (num_get::do_get(unsigned int)): Same. 2902 (num_get::do_get(unsigned short)): Same. 2903 (num_get::do_get(unsigned long)): Same. 2904 (num_get::do_get(unsigned long long)): Same. 2905 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize. 2906 * config/locale/c_locale_generic.cc: Same. 2907 29082002-01-22 Loren Rittle <ljrittle@acm.org> 2909 2910 * include/Makefile.am (c_base_builddir): Remove redundant slash. 2911 (std_builddir): Likewise. 2912 (std_headers_rename): Fix cut-n-paste typo. 2913 (install-data-local): Concat path per element instead of once to 2914 first element of list. 2915 * include/Makefile.in: Rebuilt. 2916 29172002-01-22 Benjamin Kosnik <bkoz@redhat.com> 2918 2919 * config/os/aix/bits/ctype_noninline.h: Fix formatting. 2920 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo. 2921 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting. 2922 29232002-01-20 Benjamin Kosnik <bkoz@redhat.com> 2924 2925 * include/bits/locale_facets.h (ctype<char>::classic_table): 2926 Remove definition. 2927 (ctype<char>::_S_ctable): Remove. 2928 * config/os/gnu-linux/bits/ctype_noninline.h 2929 (ctype<char>::_S_table): Remove definition. 2930 (ctype<char>::classic_table): Define. 2931 (ctype<char>::ctype): Replace _S_ctable with classic_table(). 2932 * config/os/aix/bits/ctype_noninline.h: Same. 2933 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same. 2934 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same. 2935 * config/os/djgpp/bits/ctype_noninline.h: Same. 2936 * config/os/generic/bits/ctype_noninline.h: Same. 2937 * config/os/gnu-linux/bits/ctype_noninline.h: Same. 2938 * config/os/hpux/bits/ctype_noninline.h: Same. 2939 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same. 2940 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same. 2941 * config/os/mingw32/bits/ctype_noninline.h: Same. 2942 * config/os/newlib/bits/ctype_noninline.h: Same. 2943 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same. 2944 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same. 2945 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same. 2946 29472002-01-20 Danny Smith <dannysmith@users.sourceforge.net> 2948 2949 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead 2950 of _pctype. Use to define _S_ctable. Add definition for alternate 2951 ctor. Initialise _M_ctable to _S_ctable in ctors. 2952 (do_toupper, do_tolower): Use inline code appropriate for C-locale 2953 rather than ::toupper, ::tolower. 2954 29552002-01-18 Loren Rittle <ljrittle@acm.org> 2956 2957 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>): 2958 Add specialization for FreeBSD systems only to avoid losing test 2959 only due to extra precision unmentioned in system headers. 2960 29612002-01-18 David Billinghurst <David.Billinghurst@riotinto.com> 2962 2963 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo 2964 29652002-01-17 Nick Clifton <nickc@cambridge.redhat.com> 2966 2967 * testsuite/testsuite_hooks.h: Fix comment typo. Memory 2968 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined. 2969 29702002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de> 2971 2972 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check. 2973 29742002-01-17 David Edelsohn <edelsohn@gnu.org> 2975 2976 * configure.target: Define OPT_LDFLAGS for AIX case. 2977 29782002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com> 2979 2980 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN, 2981 __glibcpp_double_has_quiet_NaN): Correct mispelling. 2982 29832002-01-17 Andreas Tobler <toa@pop.agri.ch> 2984 2985 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix. 2986 29872002-01-16 David Edelsohn <dje@watson.ibm.com> 2988 2989 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear 2990 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type. 2991 * aclocal.m4: Regenerate. 2992 * configure: Regenerate. 2993 29942002-01-16 Benjamin Kosnik <bkoz@redhat.com> 2995 2996 * include/Makefile.am (c_base_headers_rename): New. 2997 (c_base_headers_extra): New. 2998 (stamp-c_base): Modify. 2999 (install-data-local): Use both. 3000 * include/Makefile.in: Regenerate. 3001 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits 3002 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal 3003 cstdio ctime cwctype]: Move to.. 3004 * include/c/std_*: Here. 3005 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits 3006 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal 3007 cstdio ctime cwctype]: Move to.. 3008 * include/c_std/std_*: Here. 3009 3010 Alexandre Oliva <aoliva@redhat.com> 3011 * include/Makefile.am (.PRECIOUS): Add rule. 3012 * include/Makefile.in: Regenerate. 3013 30142002-01-16 Benjamin Kosnik <bkoz@redhat.com> 3015 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de> 3016 3017 * include/bits/stl_iterator.h (reverse_iterator::_M_current): 3018 Deuglify, should be current. 3019 (back_insert_iterator::_M_container): Deuglify, should be container. 3020 (front_insert_iterator::_M_container): Same. 3021 (insert_iterator::_M_container): Same. 3022 * testsuite/24_iterators/reverse_iterator.cc: Add check. 3023 * testsuite/24_iterators/back_insert_iterator.cc: Add check. 3024 * testsuite/24_iterators/front_insert_iterator.cc: Same. 3025 * testsuite/24_iterators/insert_iterator.cc: Same. 3026 30272002-01-16 Benjamin Kosnik <bkoz@redhat.com> 3028 3029 * include/bits/locale_facets.h (ctype<char>::classic_table): Make 3030 static. 3031 (ctype<char>::_M_ctable): Make static, change name to _S_ctable. 3032 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable. 3033 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same. 3034 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same. 3035 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same. 3036 * config/os/newlib/bits/ctype_noninline.h: Same. 3037 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same. 3038 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same. 3039 * config/os/hpux/bits/ctype_noninline.h: Same. 3040 * config/os/djgpp/bits/ctype_noninline.h: Same. 3041 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same. 3042 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same. 3043 * config/os/aix/bits/ctype_noninline.h: Same. 3044 3045 Testcase by Dietmar K�hl via Peter Schmid 3046 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for 3047 classic_table(). 3048 30492002-01-16 Benjamin Kosnik <bkoz@redhat.com> 3050 3051 * libmath/signbitl.c: Copyright years as list, not range. 3052 * libmath/Makefile.am: Same. 3053 * libmath/Makefie.in: Regenerate. 3054 * libmath/signbit.c: Same. 3055 * libmath/nan.c: Same. 3056 * libmath/copysignf.c: Same. 3057 * libmath/signbitf.c: Same. 3058 * testsuite/22_locale/money_get_members_char.cc: Same. 3059 * testsuite/22_locale/money_get_members_wchar_t.cc: Same. 3060 * testsuite/22_locale/money_put_members_char.cc: Same. 3061 * testsuite/22_locale/money_put_members_wchar_t.cc: Same. 3062 * testsuite/22_locale/time_get_members_char.cc: Same. 3063 * testsuite/22_locale/time_get_members_wchar_t.cc: Same. 3064 * testsuite/22_locale/time_put_members_char.cc: Same. 3065 * testsuite/22_locale/time_put_members_wchar_t.cc: Same. 3066 * testsuite/21_strings/nonmember.cc: Same. 3067 * testsuite/21_strings/compare.cc: Same. 3068 * testsuite/27_io/stringstream.cc: Same. 3069 * testsuite/27_io/stringbuf.cc: Same. 3070 * testsuite/27_io/filebuf.cc: Same. 3071 * testsuite/27_io/ios_manip_basefield.cc: Same. 3072 * testsuite/27_io/ios_manip_fmtflags.cc: Same. 3073 * include/bits/cpp_type_traits.h: Same. 3074 * include/bits/generic_shadow.h: Same. 3075 * include/bits/gslice_array.h: Same. 3076 * include/bits/gslice.h: Same. 3077 * include/bits/indirect_array.h: Same. 3078 * include/bits/slice_array.h: Same. 3079 * include/bits/sstream.tcc: Same. 3080 * include/bits/streambuf_iterator.h: Same. 3081 * include/bits/valarray_array.tcc: Same. 3082 * include/bits/valarray_meta.h: Same. 3083 * include/bits/valarray_array.h: Same. 3084 * config/os/mingw32/bits/ctype_noninline.h: Same. 3085 * config/os/mingw32/bits/ctype_base.h: Same. 3086 * config/os/hpux/bits/ctype_noninline.h: Same. 3087 * config/os/hpux/bits/ctype_base.h: Same. 3088 * config/os/gnu-linux/bits/ctype_noninline.h: Same. 3089 * config/os/gnu-linux/bits/ctype_base.h: Same. 3090 * config/os/generic/bits/ctype_noninline.h: Same. 3091 * config/os/generic/bits/ctype_base.h: Same. 3092 3093 * libsupc++/tinfo.h: Tweaks. 3094 30952002-01-15 Benjamin Kosnik <bkoz@redhat.com> 3096 3097 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same. 3098 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak. 3099 * testsuite/22_locale/ctype_members_char.cc: Tweak. 3100 31012002-01-15 Benjamin Kosnik <bkoz@redhat.com> 3102 3103 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix. 3104 (num_put::do_put(void*)): Fix. 3105 * testsuite/22_locale/num_put_members_char.cc (test02): Add. 3106 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add. 3107 * testsuite/22_locale/num_get_members_char.cc (test02): Add 3108 long double, void, bool types. 3109 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add. 3110 31112002-01-15 Benjamin Kosnik <bkoz@redhat.com> 3112 Alexandre Oliva <aoliva@redhat.com> 3113 3114 * libmath/Makefile.am (LINK): Add --tag CC. 3115 * libmath/Makefile.in: Regenerate. 3116 31172002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca> 3118 3119 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address 3120 of character to attribute mapping table. 3121 31222002-01-15 David Billinghurst <David.Billinghurst@riotinto.com> 3123 3124 * testsuite/26_numerics/c99_classification_macros_c.cc 3125 Remove dg-error and dg-excess-errors comments. 3126 31272002-01-14 Benjamin Kosnik <bkoz@redhat.com> 3128 3129 * include/bits/locale_facets.tcc (time_put::put): Correct output 3130 iterator positions. 3131 * testsuite/22_locale/time_put_members_char.cc (test02): Add. 3132 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add. 3133 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add. 3134 * testsuite/22_locale/time_get_members_char.cc (test06): Add. 3135 31362002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org> 3137 3138 * docs/html/17_intro/porting-howto.xml: Update filebuf section. 3139 31402002-01-14 Paolo Carlini <pcarlini@unitus.it> 3141 Nathan Myers <ncm@cantrip.org> 3142 3143 * include/bits/basic_string.h 3144 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding 3145 temporaries (i.e., call _M_replace_safe) when possible. 3146 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2). 3147 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2). 3148 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n). 3149 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n). 3150 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2). 3151 * include/bits/basic_string.tcc 3152 (replace(__pos1, __n1, __str, __pos2, __n2)): Call 3153 replace(__pos, __n1, __s, __n2). 3154 * testsuite/21_strings/replace.cc (test03): New testcases. 3155 3156 * include/bits/basic_string.h (insert(__pos, __s, __n)): 3157 Adjust comparison wrt overflow. 3158 31592002-01-12 Benjamin Kosnik <bkoz@redhat.com> 3160 3161 * include/Makefile.am (std_headers_rename): New variable. 3162 (install-data-local): Use it. 3163 * include/Makefile.in: Regenerate. 3164 31652002-01-12 Benjamin Kosnik <bkoz@redhat.com> 3166 3167 * include/bits/locale_facets.tcc (money_put::do_put(string): 3168 Correct output iterator value. 3169 * testsuite/22_locale/money_put_members_char.cc (test03): Add. 3170 * testsuite/22_locale/money_put_members_wchar_t.cc: Same. 3171 31722002-01-11 Phil Edwards <pme@gcc.gnu.org> 3173 3174 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from 3175 previous commit. 3176 31772002-01-11 Phil Edwards <pme@gcc.gnu.org> 3178 3179 * include/Makefile.am (std_headers): Update list with new names. 3180 (stamp-std): Link to standardized name. 3181 * include/Makefile.in: Regenerate. 3182 3183 * include/std/algorithm, include/std/bitset, include/std/complex, 3184 include/std/deque, include/std/fstream, include/std/functional, 3185 include/std/iomanip, include/std/ios, include/std/iosfwd, 3186 include/std/iostream, include/std/istream, include/std/iterator, 3187 include/std/limits, include/std/list, include/std/locale, 3188 include/std/map, include/std/memory, include/std/numeric, 3189 include/std/ostream, include/std/queue, include/std/set, 3190 include/std/sstream, include/std/stack, include/std/stdexcept, 3191 include/std/streambuf, include/std/string, include/std/utility, 3192 include/std/valarray, include/std/vector: Rename to... 3193 3194 * include/std/std_algorithm.h, include/std/std_bitset.h, 3195 include/std/std_complex.h, include/std/std_deque.h, 3196 include/std/std_fstream.h, include/std/std_functional.h, 3197 include/std/std_iomanip.h, include/std/std_ios.h, 3198 include/std/std_iosfwd.h, include/std/std_iostream.h, 3199 include/std/std_istream.h, include/std/std_iterator.h, 3200 include/std/std_limits.h, include/std/std_list.h, 3201 include/std/std_locale.h, include/std/std_map.h, 3202 include/std/std_memory.h, include/std/std_numeric.h, 3203 include/std/std_ostream.h, include/std/std_queue.h, 3204 include/std/std_set.h, include/std/std_sstream.h, 3205 include/std/std_stack.h, include/std/std_stdexcept.h, 3206 include/std/std_streambuf.h, include/std/std_string.h, 3207 include/std/std_utility.h, include/std/std_valarray.h, 3208 include/std/std_vector.h: ...this. 3209 32102002-01-11 Loren Rittle <ljrittle@acm.org> 3211 3212 * include/Makefile.am (extra_target_headers): New list of all 3213 target files built with ad hoc naming rules. 3214 (stamp-*): Handle LN_S failure in manner portable across make 3215 implementations. 3216 (install-data-local): Install header files from human-maintained 3217 file lists and directory components instead of non-robust find. 3218 * include/Makefile.in: Rebuilt. 3219 32202002-01-11 Benjamin Kosnik <bkoz@redhat.com> 3221 3222 * include/bits/locale_facets.tcc (money_get::do_get(string)): 3223 Check for zero-length negative sign before adding it to output 3224 string. 3225 (money_get::do_get(long double)): Return beg. 3226 * testsuite/22_locale/money_get_members_char.cc (test02): Add 3227 iterator checks. 3228 * testsuite/22_locale/money_get_members_wchar_t.cc: Same. 3229 32302002-01-10 David Seymour <seymour_dj@yahoo.com> 3231 3232 libstdc++/5331 3233 * include/bits/locale_facets.h (num_get<>): Return advanced iterator 3234 for _M_extract_float and _M_extract_int 3235 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float) 3236 (num_get<>::_M_extract_int): Likewise, all callers changed 3237 * testsuite/22_locale/num_get_members_char.cc: Testcase 3238 32392002-01-09 Paolo Carlini <pcarlini@unitus.it> 3240 3241 * libsupc++/exception (bad_exception): Add comment. 3242 * libsupc++/new (bad_alloc): Same. 3243 * libsupc++/typeinfo (bad_cast, bad_typeid): Same. 3244 32452002-01-09 Paolo Carlini <pcarlini@unitus.it> 3246 3247 libstdc++/3150: revert 2001-11-30 commit. DR266 only means 3248 that the destructors should be removed from the descriptions 3249 in the standard: writing them explicitly allows the vtable 3250 heuristic to work. For additional information see: 3251 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html 3252 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html 3253 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html 3254 * libsupc++/exception (bad_exception::~bad_exception()): 3255 Reintroduce declaration. 3256 * libsupc++/new (bad_alloc::~bad_alloc()): Same. 3257 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same. 3258 (bad_typeid::~bad_typeid()): Same. 3259 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()): 3260 Reintroduce definition. 3261 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same. 3262 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same. 3263 (bad_typeid::~bad_typeid()): Same. 3264 32652002-01-09 Benjamin Kosnik <bkoz@redhat.com> 3266 3267 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'. 3268 * include/Makefile.in: Regenerate. 3269 32702002-01-09 Bo Thorsen <bo@suse.co.uk> 3271 3272 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add 3273 definition. 3274 32752002-01-08 Benjamin Kosnik <bkoz@redhat.com> 3276 3277 libstdc++/2913 3278 libstdc++/4879 3279 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test 3280 return value of _M_file->sync(). 3281 (filebuf::showmanyc): Check for is_open. 3282 * include/std/fstream (filebuf::sync): Tweak. 3283 * testsuite/27_io/filebuf.cc: Tweak. 3284 32852002-01-08 John Fardo <jfardo@laurelnetworks.com> 3286 Brad Garcia <garsh@attbi.com> 3287 3288 * testsuite/27_io/filebuf_members.cc: Add test. 3289 32902002-01-07 Benjamin Kosnik <bkoz@redhat.com> 3291 Craig Rodrigues <rodrigc@mediaone.net> 3292 3293 libstdc++/5174 3294 * po/Makefile.am (mkinstalldirs): Add. 3295 * po/Makefile.in: Regenerate. 3296 32972002-01-07 David Billinghurst <David.Billinghurst@riotinto.com> 3298 3299 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS * 3300 testsuite/lib/prune.exp: Delete lines ":In function ..." from 3301 compiler output. 3302 * testsuite/23_containers/map_operators.cc: Remove 3303 dg-excess-errors comment. 3304 * testsuite/23_containers/set_operators.cc: Likewise. 3305 33062002-01-06 Paolo Carlini <pcarlini@unitus.it> 3307 3308 * include/bits/stl_function.h: Remove two lines of comments; 3309 adjust copyright years. 3310 33112002-01-04 Benjamin Kosnik <bkoz@redhat.com> 3312 3313 * include/Makefile.am (std_headers): Remove cXXX from list. 3314 (c_base_srcdir): No bits subdirectory. 3315 (c_base_builddir): Same. 3316 (c_base_headers): Adjust names, add ciso646. 3317 (bits_headers): Remove std_xxx.h headers. 3318 * include/Makefile.in: Regenerate. 3319 3320 * include/ext/iterator: Adjust includes. 3321 * include/ext/ropeimpl.h: Same. 3322 * include/ext/stl_hash_fun.h: Same. 3323 * include/ext/algorithm: Same. 3324 3325 * include/backward/bvector.h: Adjust includes. 3326 * include/backward/vector.h: Same. 3327 * include/backward/strstream: Same. 3328 * include/backward/streambuf.h: Same. 3329 * include/backward/stack.h: Same. 3330 * include/backward/set.h: Same. 3331 * include/backward/queue.h: Same. 3332 * include/backward/multiset.h: Same. 3333 * include/backward/multimap.h: Same. 3334 * include/backward/map.h: Same. 3335 * include/backward/list.h: Same. 3336 * include/backward/iterator.h: Same. 3337 * include/backward/iostream.h: Same. 3338 * include/backward/iomanip.h: Same. 3339 * include/backward/fstream.h: Same. 3340 * include/backward/deque.h: Same. 3341 * include/backward/complex.h: Same. 3342 3343 * include/bits/std_algorithm.h: Move to... 3344 * include/std/algorithm: ...here. 3345 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h, 3346 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h, 3347 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h, 3348 std_deque.h, std_istream.h, std_numeric.h, std_string.h, 3349 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h, 3350 std_queue.h, std_valarray.h, std_functional.h, std_limits.h, 3351 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h: 3352 Same. 3353 3354 * include/c_std/bits/std_cassert.h: Move to... 3355 * include/c_std/cassert: Here. 3356 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h, 3357 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h, 3358 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h, 3359 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h, 3360 std_cwctype.h: Same. 3361 * include/c_std/cmath: Adjust cmath.tcc include. 3362 * include/c_std/cstdlib: Adjust includes. 3363 * include/c_std/cwchar: Same. 3364 * include/c_std/ctime: Same. 3365 * include/c_std/cstring: Same. 3366 * include/c_std/cstdio: Same. 3367 * include/c_std/bits: Remove directory. 3368 3369 * include/c/bits/std_cassert.h: Move to... 3370 * include/c/cassert: Here. 3371 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h, 3372 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h, 3373 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h, 3374 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h, 3375 std_cwctype.h: Same. 3376 * include/c/bits: Remove directory. 3377 3378 * include/std/cwctype: Remove. 3379 * include/std/cwchar: Remove. 3380 * include/std/ctime: Remove. 3381 * include/std/cstring: Remove. 3382 * include/std/cstdlib: Remove. 3383 * include/std/cstdio: Remove. 3384 * include/std/cstddef: Remove. 3385 * include/std/cstdarg: Remove. 3386 * include/std/csignal: Remove. 3387 * include/std/csetjmp: Remove. 3388 * include/std/cmath: Remove. 3389 * include/std/clocale: Remove. 3390 * include/std/climits: Remove. 3391 * include/std/ciso646: Remove. 3392 * include/std/cfloat: Remove. 3393 * include/std/cerrno: Remove. 3394 * include/std/cctype: Remove. 3395 * include/std/cassert: Remove. 3396 3397 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h> 3398 files and subsituting <xxx>. 3399 * include/bits/valarray_array.h: Same. 3400 * include/bits/stl_uninitialized.h: Same. 3401 * include/bits/stl_alloc.h: Same. 3402 * include/bits/stl_algobase.h: Same. 3403 * include/bits/sstream.tcc: Same. 3404 * include/bits/pthread_allocimpl.h: Same. 3405 * include/bits/ostream.tcc: Same. 3406 * include/bits/localefwd.h: Same. 3407 * include/bits/locale_facets.tcc: Same. 3408 * include/bits/locale_facets.h: Same. 3409 * include/bits/istream.tcc: Same. 3410 * include/bits/char_traits.h: Same. 3411 * include/bits/boost_concept_check.h: Same. 3412 * include/bits/basic_file.h: Same. 3413 * include/std/bitset: Same. 3414 * include/std/complex: Same. 3415 * include/std/fstream: Same. 3416 * include/std/functional: Same. 3417 * include/std/ios: Same. 3418 * include/std/iostream: Same. 3419 * include/std/ostream: Same. 3420 * include/std/sstream: Same. 3421 * include/std/streambuf: Same. 3422 * include/std/string: Same. 3423 * include/std/iterator: Same. 3424 * include/std/valarray: Same. 3425 3426 * src/ios.cc: Adjust includes. 3427 * src/valarray-inst.cc: Same. 3428 * src/string-inst.cc: Same. 3429 * src/stl-inst.cc: Same. 3430 * src/stdexcept.cc: Same. 3431 * src/misc-inst.cc: Same. 3432 * src/localename.cc: Same. 3433 * src/locale-inst.cc: Same. 3434 * src/locale.cc: Same. 3435 * src/limits.cc: Same. 3436 * src/concept-inst.cc: Same. 3437 * src/complex_io.cc: Same. 3438 * src/codecvt.cc: Same. 3439 * src/bitset.cc: Same. 3440 * src/cmath.cc: Same. 3441 34422002-01-04 Paolo Carlini <pcarlini@unitus.it> 3443 3444 * include/bits/stl_tree.h (rb_tree): Move to... 3445 * include/ext/rb_tree: ...here, new file. 3446 * include/Makefile.am (ext_headers): Add new file. 3447 * include/Makefile.in: Regenerate. 3448 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper, 3449 return_temporary_buffer, struct temporary_buffer): Move to... 3450 * include/ext/memory: ...here. 3451 * testsuite/ext/headers.cc: Include <ext/rb_tree>. 3452 * include/backward/tempbuf.h: Include <ext/memory>, tweak. 3453 * include/backward/tree.h: Include <ext/rb_tree), tweak. 3454 34552002-01-03 Paolo Carlini <pcarlini@unitus.it> 3456 3457 * include/bits/stl_numeric.h (power + helpers, iota): Move to... 3458 * include/ext/numeric: ...here, new file. 3459 * include/bits/stl_function.h (identity_element, unary_compose, 3460 binary_compose, compose1, compose2, identity, select1st, 3461 select2nd, project1st + helper, project2nd + helper, 3462 constant_void_fun + helper, constant_unary_fun + helper, 3463 costant_binary_fun + helper, constant0, constant1, constant2, 3464 subtractive_rng, mem_fun1, mem_fun1_ref): Move to... 3465 * include/ext/functional: ...here, new file. 3466 * include/Makefile.am (ext_headers): Add new files. 3467 * include/Makefile.in: Regenerate. 3468 * testsuite/ext/headers.cc: Include <ext/numeric> and 3469 <ext/functional>. 3470 * include/backward/algo.h: Include <ext/numeric>, tweak. 3471 * include/backward/function.h: Include <ext/functional>, tweak. 3472 * include/ext/ropeimpl.h: Include <ext/numeric>. 3473 34742002-01-03 Jeffrey A Law <law@redhat.com> 3475 3476 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and 3477 __strtoull declarations with __extension__. 3478 34792002-01-03 David Billinghurst <David.Billinghurst@riotinto.com> 3480 3481 * testsuite/lib/prune.exp: Correct regular expression for 3482 -ffunction-sections 3483 34842002-01-02 Phil Edwards <pme@gcc.gnu.org> 3485 3486 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search): 3487 Change concept checks, as with lower_bound and PR 2054. 3488 * testsuite/ext/concept_checks.cc: Expand test to include those. 3489 34902002-01-02 Phil Edwards <pme@gcc.gnu.org> 3491 3492 * include/bits/boost_concept_check.h: Import some changes from 3493 upsteam (Boost) version. 3494 34952002-01-02 Paolo Carlini <pcarlini@unitus.it> 3496 3497 * include/bits/stl_algobase.h (copy_n + helpers, 3498 lexicographical_compare_3way + helpers): Move to... 3499 * include/ext/algorithm: ...here. 3500 * include/bits/stl_uninitialized.h (uninitialized_copy_n + 3501 helpers): Move to... 3502 * include/ext/memory: ...here, new file. 3503 * include/Makefile.am (ext_headers): Add new file. 3504 * include/Makefile.in: Regenerate. 3505 * testsuite/ext/headers.cc: Include <ext/memory>. 3506 * include/backward/algobase.h: Include <ext/memory> and 3507 <ext/algorithm>, tweak. 3508 * include/ext/ropeimpl.h: Include <ext/memory>, tweak. 3509 * include/ext/stl_rope.h: Include <ext/memory>, tweak. 3510 35112002-01-01 Roger Sayle <roger@eyesopen.com> 3512 3513 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the 3514 equivalent ___builtin__ versions. 3515 3516 * include/c_shadow/bits/std_cmath.h: All __builtin math functions 3517 are available in libstdc++ as the necessary stub implementations 3518 are provided by libmath/stubs.c. 3519 35202002-01-01 Jason Thorpe <thorpej@wasabisystems.com> 3521 3522 * configure.in: Add support for NetBSD cross compiles. 3523 * configure: Regenerate. 3524