12002-08-26 Phil Edwards <[email protected]> 2 3 * Makefile.am (check-abi): Specify current directory. 4 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Fix shell syntax, use 5 abi_baseline_triplet in baseline_file. 6 * Makefile.in, aclocal.m4, configure: Regenerate. 7 * configure.target: Add abi_baseline_triplet with default. 8 * testsuite/abi_check.cc: More error checking. 9 102002-08-25 Benjamin Kosnik <[email protected]> 11 12 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Set 13 GLIBCPP_BUILD_ABI_CHECK based on cross compiling, build, host 14 variables. 15 * aclocal.m4: Regenerate. 16 * testsuite/Makefile.am (noinst_PROGRAMS): Make conditional on 17 native compiling. 18 * testsuite/Makefile.in: Regenerate. 19 202002-08-22 Benjamin Kosnik <[email protected]> 21 Phil Edwards <[email protected]> 22 Ulrich Drepper <[email protected]> 23 24 * Makefile.am (check-abi): New rule. 25 * Makefile.in: Regenerate. 26 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Export baseline_file. 27 * aclocal.m4: Regenerate. 28 * configure: Regenerate. 29 * testsuite/Makefile.am (noinst_PROGRAMS): Add abi_check. 30 (abi_check_SOURCES): Add. 31 * testsuite/Makefile.in: Regenerate. 32 * testsuite/abi_check.cc: New file. 33 * config/abi: Add. 34 * config/abi/i686-pc-linux-gnu: Add. 35 * config/abi/i686-pc-linux-gnu/baseline_symbols.txt: New file. 36 372002-08-19 Benjamin Kosnik <[email protected]> 38 39 * configure.in (libtool_VERSION): Update to 5:1:0. 40 * configure: Regenerate. 41 422002-08-15 Benjamin Kosnik <[email protected]> 43 44 * include/ext/stdio_filebuf.h (stdio_filebuf): Explicitly set 45 _M_buf_size_opt to zero when unbuffering. 46 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify. 47 Consistency checks for _M_buf_size_opt. 48 49 Revert PR libstdc++/7445 50 * src/locale.cc (locale::classic): Revert. 51 52 * docs/html/17_intro/TODO: Add. 53 542002-08-15 Danny Smith <[email protected]> 55 Benjamin Kosnik <[email protected]> 56 57 * include/bits/istream.tcc (basic_istream::ignore): Use sbumpc, 58 not snextc. 59 * testsuite/27_io/narrow_stream_objects.cc (test10): Add. 60 612002-08-15 Danny Smith <[email protected]> 62 63 * config/os/newlib/ctype_inline.h (is): Don't offset _M_table. 64 (scan_is): Use this->is. 65 (scan_not): Likewise. 66 672002-08-15 Rick Danos <[email protected]> 68 69 PR libstdc++/7461 70 * config/os/newlib/ctype_noninline.h (classic_table): Add offset. 71 * config/os/newlib/ctype_inline.h (is): Use static_cast. 72 732002-08-14 Release Manager 74 75 * GCC 3.2 Released. 76 772002-08-06 Benjamin Kosnik <[email protected]> 78 79 Revert PR libstdc++/6594 80 * src/strstream.cc (strstreambuf): Revert. 81 (strstreambuf::overflow): Same. 82 (strstreambuf::~strstreambuf): Same. 83 * testsuite/backward/strstream_members.cc (test02): Add. 84 85 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add bool test. 86 872002-08-01 Benjamin Kosnik <[email protected]> 88 Jakub Jelinek <[email protected]> 89 90 * config/linker-map.gnu: Change CXXABI_1 to CXXABI_1.2, 91 GLIBCPP_3.1 to GLIBCPP_3.2. 92 932002-07-31 Benjamin Kosnik <[email protected]> 94 Mark Mitchell <[email protected]> 95 96 PR libstdc++/7442 97 * libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit): 98 Change to __hwm_bit. 99 (__class_type_info): And here. 100 1012002-07-31 Benjamin Kosnik <[email protected]> 102 103 PR libstdc++/7442 104 * libsupc++/cxxabi.h 105 (__base_class_info): Change to __base_class_type_info. 2.9.5p6c 106 (__base_class_info::__base): Change to __base_type. 2.9.5p6c 107 (__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c 108 (__vmi_class_type_info::__base_info): Don't make const, of type 109 __base_class_type_info, as per 2.9.5p6c 110 (__pbase_type_info::__qualifier_flags): Change to __flags, as per 111 2.9.5p7. 112 (__pbase_type_info::__qualifier_masks): Change to __masks, as per 113 2.9.5p7. 114 (__pointer_to_member_type_info::__context_class): Change member to 115 __context, as per 2.9.5p9. 116 * libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to 117 __context. 118 * libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to 119 __flags. 120 * libsupc++/tinfo.cc (__do_find_public_src): Change __base to 121 __base_type. 122 * libsupc++/tinfo.cc (__do_dyncast): Same. 123 * libsupc++/tinfo.cc (__do_upcast): Same. 124 1252002-07-31 Simon Whomsley <[email protected]> 126 127 * docs/html/22_locale/howto.html: Fix. 128 1292002-07-31 Alex Kompel <[email protected]> 130 131 PR libstdc++/7445 132 * src/locale.cc (locale::classic): Move locks inside !_S_classic 133 block. 134 1352002-07-30 Benjamin Kosnik <[email protected]> 136 Gabriel Dos Reis <[email protected]> 137 138 * include/bits/char_traits.h: Remove generic definitions. 139 * include/bits/streambuf_iterator.h (istreambuf_iterator): Use 140 eof, not -2. 141 * include/bits/istream.tcc (istream::readsome): Don't check 142 against eof, instead use constants. 143 (istream::sync): Same. 144 (istream::sentry::sentry): Use eq_int_type. 145 (istream::get): Same. 146 * include/bits/ostream.tcc: Change __pad to 147 __pad<_CharT, _Traits>::_S_pad. 148 * include/bits/locale_facets.h: Add __pad_traits generic and 149 ostreambuf_iterator specialization. 150 * include/bits/locale_facets.tcc: Change __pad into struct __pad 151 with a _CharT and _Traits template parameter and _S_pad static 152 member function. 153 * src/locale-inst.cc: Update __pad instantiations. 154 155 * include/std/std_fstream.h: Declare _M_underflow_common 156 specializations. 157 * src/fstream.cc: New. Add _M_underflow_common specializations. 158 * include/bits/fstream.tcc (filebuf::close): Use traits_type. 159 (filebuf::_M_underflow_common(bool)): Remove generic version, as 160 sys_ungetc and custom int_types don't get along. 161 * include/std/std_streambuf.h: Add _M_pos. 162 * src/Makefile.am (sources): Add fstream.cc. 163 * src/Makefile.in: Regenerate. 164 165 * testsuite/21_strings/capacity.cc: Add char_traits specializations. 166 * testsuite/22_locale/codecvt_members_unicode_char.cc: Same. 167 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same. 168 * testsuite/22_locale/ctor_copy_dtor.cc: Same. 169 * testsuite/27_io/filebuf_virtuals.cc (test07): Move to... 170 * testsuite/27_io/filebuf.cc: ...here. 171 * testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits 172 specialization for both. 173 * testsuite/27_io/streambuf.cc: Add instantiation test, 174 testsuite_hooks include. 175 * testsuite/27_io/istream.cc: Same. 176 * testsuite/27_io/ostream.cc: Same. 177 * testsuite/27_io/fstream.cc: Same. 178 * testsuite/27_io/stringstream.cc: Same. 179 * testsuite/27_io/filebuf.cc: Same. 180 * testsuite/27_io/stringbuf.cc: Same. 181 1822002-07-26 Phil Edwards <[email protected]> 183 184 * libsupc++/new (placement delete): Remove unused paramater names. 185 1862002-07-25 Benjamin Kosnik <[email protected]> 187 188 PR libstdc++/7216 189 * include/std/std_istream.h (basic_iostream): Add typedefs for 190 char_type, int_type, pos_type, off_type, and traits_type. 191 * testsuite/27_io/iostream.cc (test01): Add typedef tests. 192 * testsuite/27_io/istream.cc: Same. 193 * testsuite/27_io/ostream.cc: Same. 194 * testsuite/27_io/filebuf.cc: Same. 195 * testsuite/27_io/stringbuf.cc: Replace content, move to... 196 * testsuite/27_io/stringbuf_members.cc: ...here. 197 * testsuite/27_io/streambuf.cc: Replace content, move to... 198 * testsuite/27_io/streambuf_members.cc: ...here. 199 * testsuite/27_io/stringstream.cc: Replace content, move to... 200 * testsuite/27_io/stringstream_members.cc: ...here. 201 * testsuite/27_io/ios.cc: New file. 202 * testsuite/27_io/fstream.cc: New file. 203 * testsuite/27_io/ifstream.cc: New file. 204 * testsuite/27_io/ofstream.cc: New file. 205 * testsuite/27_io/istringstream.cc: New file. 206 * testsuite/27_io/ostringstream.cc: New file. 207 2082002-07-25 Benjamin Kosnik <[email protected]> 209 210 PR libstdc++/7220 211 * include/bits/istream.tcc (istream::ignore): Don't extract on 212 zero. 213 * testsuite/27_io/istream_unformatted.cc (test10): Add. 214 2152002-07-24 Benjamin Kosnik <[email protected]> 216 217 PR libstdc++/7222 218 * src/locale.cc (locale::locale(const char*)): Use setlocale NULL. 219 * testsuite/22_locale/ctor_copy_dtor.cc (test02): New. 220 2212002-07-24 Benjamin Kosnik <[email protected]> 222 223 PR libstdc++/7286 224 * libsupc++/new: Add placement delete. 225 * testsuite/18_support/new_delete_placement.cc: New. 226 2272002-07-07 Paolo Carlini <[email protected]> 228 229 PR libstdc++/7186 230 * include/bits/stl_deque.h (_Deque_iterator::operator-): 231 Make non-member, as already happens for the comparison 232 operators in accord with DR179 (Ready). 233 * testsuite/23_containers/deque_operators.cc: Add test02. 234 2352002-07-04 Benjamin Kosnik <[email protected]> 236 Jack Reeves <[email protected]> 237 238 * include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to 239 size_t, from int_type. 240 (basic_streambuf::_M_buf_size_opt): Same. 241 (basic_streambuf::_S_pback_sizex): Same. 242 * include/bits/streambuf.tcc: Same. 243 * include/std/std_streambuf.h (basic_streambuf::snextc): Use 244 eq_int_type. 245 (basic_streambuf::uflow): Same. 246 * include/bits/sstream.tcc (basic_stringbuf::overflow): Use 247 to_char_type. 248 * include/bits/basic_ios.tcc (basic_ios::init): Use _CharT(). 249 * include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use 250 eq_int_type. 251 (basic_streambuf::xsputn): Same. 252 (__copy_streambufs): Same. 253 2542002-07-02 Paolo Carlini <[email protected]> 255 256 PR libstdc++/6642 257 * include/bits/stl_iterator.h 258 (__normal_iterator::operator-(const __normal_iterator&)): 259 Make non-member, as already happens for the comparison 260 operators in accord with DR179 (Ready). 261 * testsuite/24_iterators/iterator.cc: Add test from the PR. 262 2632002-07-02 Benjamin Kosnik <[email protected]> 264 265 PR libstdc++/6410 266 * include/bits/locale_facets.h (moneypunct::moneypunct): Add const 267 char* name parameter. 268 * config/locale/gnu/monetary_members.cc: Use it. 269 * config/locale/generic/monetary_members.cc: Same. 270 * src/localename.cc (_Impl::_Impl(const char*, size_t)): Use it. 271 2722002-07-01 Benjamin Kosnik <[email protected]> 273 274 * configure.in (libtool_VERSION): Bump to 5:0:0. 275 * configure: Regenerate. 276 2772002-05-19 Paolo Carlini <[email protected]> 278 279 * testsuite/23_containers/deque_operators.cc (test01): 280 Fix minor typo in last commit. 281 2822002-05-18 Paolo Carlini <[email protected]> 283 284 PR libstdc++/6503 285 * include/bits/stl_deque.h (_Deque_iterator::operator==, 286 operator!=, operator<, operator>, operator>=, operator<=): 287 Make non-member functions, to allow comparing const and 288 non-const iterators in any order. 289 * testsuite/23_containers/deque_operators.cc: New testfile. 290 2912002-07-25 Release Manager 292 293 * GCC 3.1.1 Released. 294 2952002-07-20 Phil Edwards <[email protected]> 296 297 Bulk documentation merge (copy) from trunk. 298 * docs/doxygen/TODO, docs/doxygen/run_doxygen, docs/doxygen/tables.html, 299 docs/doxygen/user.cfg.in, docs/html/Makefile, 300 docs/html/documentation.html, docs/html/17_intro/porting.html, 301 docs/html/17_intro/porting.texi, docs/html/23_containers/howto.html, 302 docs/html/ext/howto.html, docs/html/ext/lwg-active.html, 303 docs/html/ext/lwg-defects.html, docs/html/faq/index.html, 304 docs/html/faq/index.txt: Merge from trunk. 305 3062002-07-16 Andreas Schwab <[email protected]> 307 308 * libsupc++/new (set_new_handler): Declare to not throw any 309 exceptions. 310 * libsupc++/new_handler.cc (set_new_handler): Likewise. 311 3122002-07-15 Rainer Orth <[email protected]> 313 314 * config/os/solaris/solaris2.5/bits/ctype_base.h (ctype_base): Fix 315 print to match vendor <ctype.h>. 316 3172002-07-03 Steev Wilcox <[email protected]> 318 319 PR libstdc++/7057 320 * include/ext/stl_hashtable.h: Fix. 321 * testsuite/ext/hash_map.cc: New. 322 3232002-07-03 Benjamin Kosnik <[email protected]> 324 325 PR libstdc++/7097 326 * include/c/std_cwchar.h: Fix. 327 3282002-07-03 Jack Reeves <[email protected]> 329 Kenny Simpson <[email protected]> 330 Phil Edwards <[email protected]> 331 332 PR libstdc++/3946 333 * testsuite/20_util/auto_ptr.cc (test08): New test. 334 * include/std/std_memory.h (auto_ref_ptr): Make constructor explicit. 335 (auto_ptr::operator auto_ptr_ref): Fix typo. 336 General reformatting and doxygenating of the whole file. 337 3382002-07-03 Phil Edwards <[email protected]> 339 340 PR libstdc++/7173 341 * acinclude.m4: Simplify determination of gcc_version, and move 342 up to GLIBCPP_CONFIGURE. 343 * configure.in (release_VERSION): Really remove. 344 (AM_INIT_AUTOMAKE, AM_CONFIG_HEADER): Move after GLIBCPP_CONFIGURE. 345 * aclocal.m4, configure: Regenerate. 346 3472002-07-02 Phil Edwards <[email protected]> 348 349 * docs/html/configopts.html, docs/html/install.html: Tweaks. 350 * include/ext/algorithm, include/ext/hash_map, include/ext/hash_set, 351 include/ext/iterator, include/ext/numeric, include/ext/rb_tree, 352 include/ext/slist, include/ext/stl_rope.h: Add doxygen hooks. 353 3542002-06-28 Benjamin Kosnik <[email protected]> 355 356 * include/c_compatibility: New. 357 * include/c_compatibility/assert.h: New. 358 * include/c_compatibility/ctype.h: New. 359 * include/c_compatibility/errno.h: New. 360 * include/c_compatibility/float.h: New. 361 * include/c_compatibility/iso646.h: New. 362 * include/c_compatibility/limits.h: New. 363 * include/c_compatibility/locale.h: New. 364 * include/c_compatibility/math.h: New. 365 * include/c_compatibility/setjmp.h: New. 366 * include/c_compatibility/signal.h: New. 367 * include/c_compatibility/stdarg.h: New. 368 * include/c_compatibility/stddef.h: New. 369 * include/c_compatibility/stdio.h: New. 370 * include/c_compatibility/stdlib.h: New. 371 * include/c_compatibility/string.h: New. 372 * include/c_compatibility/time.h: New. 373 * include/c_compatibility/wchar.h: New. 374 * include/c_compatibility/wctype.h: New. 375 376 * include/c/std_cerrno.h: Get out of the way... define errno. 377 * include/c/std_cmath.h: Add abs, modf overloads. 378 Undefine C99 isms. Still not sure how to deal with this sanely. 379 * include/c/std_csetjmp.h: Tweak. 380 * include/c/std_cwchar.h: Include cstddef for size_t. 381 382 * include/c_std/std_cmath.h: Remove extra function. 383 384 Pendantic std usage in testsuites. 385 * testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t 386 with std. 387 * testsuite/17_intro/header_cwchar.cc: Tweak. 388 * testsuite/22_locale/codecvt_members_char_char.cc (test03): Use 389 std::setlocale. 390 * testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same. 391 * testsuite/22_locale/ctype_to_char.cc (test05): Same. 392 * testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same. 393 * testsuite/22_locale/ctype_is_char.cc (test05): Same. 394 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same. 395 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same. 396 * testsuite/22_locale/time_get_members_char.cc (test08): Same. 397 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same. 398 * testsuite/22_locale/time_put_members_char.cc (test04): Same. 399 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same. 400 * testsuite/22_locale/num_put_members_char.cc (test04): Same. 401 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same. 402 * testsuite/22_locale/numpunct_members_char.cc (test03): Same. 403 * testsuite/22_locale/num_get_members_wchar_t.cc: Same. 404 * testsuite/22_locale/num_get_members_char.cc: Same. 405 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same. 406 * testsuite/22_locale/money_put_members_char.cc (test07): Same. 407 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same. 408 * testsuite/22_locale/moneypunct_members_char.cc (test03): Same. 409 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same. 410 * testsuite/22_locale/money_get_members_char.cc (test08): Same. 411 * testsuite/22_locale/messages_members_char.cc (test03): Same. 412 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Same. 413 * testsuite/22_locale/collate_members_char.cc (test04): Same. 414 * testsuite/26_numerics/fabs_inline.cc: Use std::printf. 415 * testsuite/27_io/istream_seeks.cc (test02): Qualify abort. 416 * testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol. 417 4182002-06-28 Benjamin Kosnik <[email protected]> 419 420 * libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add 421 c_sources. 422 4232002-06-28 Benjamin Kosnik <[email protected]> 424 425 * src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions. 426 Use size_type instead of unsigned long. 427 4282002-06-28 Steve Ellcey <[email protected]> 429 430 * src/ext-inst.cc (_S_fetch): Add explicit templates for char and 431 wchar types. 432 (_S_min_len): Ditto. 433 4342002-06-28 Benjamin Kosnik <[email protected]> 435 436 * include/Makefile.am: Add rules. 437 * include/Makefile.in: Regenerate. 438 439 * acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY. 440 * aclocal.m4: Regenerate. 441 * configure: Regenerate. 442 * configure.target (c_model, c_compatibility): Add. 443 444 * libsupc++/Makefile.am (c_sources): New. 445 (libsupc___la_SOURCES): Add c_sources. 446 (LTCOMPILE): Remove INCLUDES. 447 (GCC_INCLUDES): New. 448 (C_COMPILE): New, like COMPILE but without INCLUDES. 449 (cxa_demangle.o): Use C_COMPILE. 450 (dyn-string.o): Use C_COMPILE. 451 452 * include/c/std_cstdarg.h: Define __need___va_list. 453 * include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t, 454 need_NULL, need_offsetof. 455 4562002-06-28 Benjamin Kosnik <[email protected]> 457 458 * include/c/std_cwchar.h: Guard. Add mbstate_t bits. 459 * include/c/std_cwctype.h: Guard. 460 461 * libsupc++/eh_alloc.cc: Tweak include order. 462 * libsupc++/pure.cc: Use cstdio. 463 * libsupc++/new_op.cc: Remove malloc forward declaration, as 464 cstdlib brings it in. Use std::malloc. 465 466 * src/Makefile.am (sources): Remove cmath.cc. 467 * src/Makefile.in: Regenerate. 468 * src/cmath.cc: Remove. 469 4702002-06-27 Benjamin Kosnik <[email protected]> 471 472 * configure.in (INTERFACE): Remove. 473 (release_VERSION): Remove. 474 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement. 475 (libstdcxx_interface): Change. Use gcc methods to determine version. 476 * configure: Regenerate. 477 * aclocal.m4: Regenerate. 478 4792002-06-27 Benjamin Kosnik <[email protected]> 480 481 * acinclude.m4: Fix last checkin. 482 * aclocal.m4: Regenerate. 483 * configure: Regenerate. 484 4852002-06-25 DJ Delorie <[email protected]> 486 487 * acinclude.m4 (GLIBCPP_CONFIGURE): Split out 488 GLIBCPP_TOPREL_CONFIGURE. 489 * aclocal.m4: Likewise. 490 * configure.in: Call it before AC_CANONICAL_SYSTEM. 491 * configure: Regenerate. 492 4932002-06-20 David Edelsohn <[email protected]> 494 495 * configure.target (CPULIMITSH): Use powerpc directory for rs6000. 496 4972002-06-14 J.T. Conklin <[email protected]> 498 499 * configure.in (target_alias): Fix. 500 * configure: Regenerate. 501 * aclocal.m4: Regenerate. 502 5032002-06-11 J.T. Conklin <[email protected]> 504 Benjamin Kosnik <[email protected]> 505 506 * configure.target: Set os_include_dir to config/os/qnx/qnx6.1 507 under *-qnx6.[12]*. 508 * configure.in: Add support for *-qnx6.[12]*. 509 * configure: Regenerate. 510 511 * config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits: 512 New directories. 513 * config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h, 514 ctype_noninline.h, os_defines.h: New files. 515 5162002-06-10 Steve Ellcey <[email protected]> 517 518 * src/locale-inst.cc (__codecvt_abstract_base): 519 Put inside _GLIBCPP_USE_WCHAR_T ifdef. 520 * include/bits/istream.tcc (basic_istream): Ditto. 521 (ws) Ditto. 522 (operator>>) Ditto. 523 * include/bits/ostream.tcc (basic_ostream): Ditto. 524 (endl): Ditto. 525 (ends): Ditto. 526 (flush): Ditto. 527 (operator<<): Ditto. 528 5292002-06-08 Paolo Carlini <[email protected]> 530 531 * testsuite/backwards/strstream_members.cc: New. 532 5332002-06-08 Benjamin Kosnik <[email protected]> 534 535 * include/backwards/strstream: Format. 536 * src/strstream.cc: Format. 537 5382002-06-08 Andreas Schwab <[email protected]> 539 540 * src/strstream.cc (strstreambuf::overflow): Set _M_buf, 541 _M_buf_size and _M_buf_size_opt to the new buffer and size. 542 5432002-06-08 Benjamin Kosnik <[email protected]> 544 545 * config/os/generic/bits/ctype_noninline.h: Tweak format. 546 5472002-06-05 David Edelsohn <[email protected]> 548 549 * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower): 550 Call external symbol. 551 5522002-06-05 Paolo Carlini <[email protected]> 553 554 * testsuite/22_locale/money_get_members_char.cc 555 (test02): Add decimal point to long double constants. 556 * testsuite/22_locale/money_get_members_wchar_t.cc 557 (test02): Likewise. 558 * testsuite/22_locale/money_put_members_char.cc 559 (test02, test03, test06): Likewise. 560 * testsuite/22_locale/money_put_members_wchar_t.cc: 561 (test02, test03, test06): Likewise. 562 * testsuite/22_locale/num_get_members_char.cc: 563 (test02, test01): Likewise; suffix long long constants with LL. 564 * testsuite/22_locale/num_get_members_wchar_t.cc: 565 (test02, test01): Likewise. 566 * testsuite/22_locale/num_put_members_char.cc: 567 (test02, test01): Likewise. 568 * testsuite/22_locale/num_put_members_wchar_t.cc: 569 (test02, test01): Likewise. 570 5712002-06-04 Paolo Carlini <[email protected]> 572 Gaby Dos Reis <[email protected]> 573 574 * include/bits/basic_string.tcc 575 (basic_string::_S_construct(forward_iterator_tag): 576 Fix typo in null pointer check. 577 * testsuite/21_strings/ctor_copy_dtor.cc: Add test04. 578 5792002-06-03 Marc Espie <[email protected]> 580 581 * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline 582 assembly for old assemblers. 583 5842002-05-31 Marcus Meissner <[email protected]> 585 586 PR libstdc++/6886 587 * include/bits/stl_bvector.h: Use UL suffix for unsigned longs. 588 * testsuite/23_containers/vector_bool.cc (test02): New test. 589 5902002-05-31 John David Anglin <[email protected]> 591 592 * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define 593 to 64 for hppa 64-bit port. 594 (__glibcpp_long_double_bits): Define to 64 for all hppa ports. 595 5962002-05-30 Marc Espie <[email protected]> 597 598 * configure.in: Always check for sys/types.h. 599 * configure: Regenerate. 600 6012002-05-28 Nick Clifton <[email protected]> 602 603 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): 604 Rebuild the wrapper file every time this proc is called. 605 6062002-05-28 Loren J. Rittle <[email protected]> 607 608 libstdc++/6641 609 * include/bits/c++config (__USE_MALLOC): Report case where 610 the user improperly defined it on the command line. 611 6122002-05-27 Benjamin Kosnik <[email protected]> 613 614 * src/misc-inst.cc: Define unnecessary algorithm 615 instantiations. Break apart instantiations into groupings below. 616 * src/fstream-inst.cc: New. 617 * src/io-inst.cc: New. 618 * src/istream-inst.cc: New. 619 * src/ostream-inst.cc: New. 620 * src/streambuf-inst.cc: New. 621 * src/sstream-inst.cc: New. 622 * src/Makefile.am (sources): Add files. 623 * src/Makefile.in: Regenerate. 624 625 * acinclude.m4: Work around automake 1.4-p5 bug, change 626 AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT. 627 6282002-05-27 Benjamin Kosnik <[email protected]> 629 630 PR libstdc++/6795. 631 * config/os/solaris/solaris2.6/bits/ctype_noninline.h 632 (classic_table): Fix. 633 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same. 634 6352002-05-27 Benjamin Kosnik <[email protected]> 636 637 * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with 638 _GLIBCPP_USE_WCHAR_T. 639 * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same. 640 * testsuite/22_locale/ctype_to_wchar_t.cc: Same. 641 * testsuite/22_locale/ctype_widen_wchar_t.cc: Same. 642 6432002-05-26 Carlo Wood <[email protected]> 644 Paolo Carlini <[email protected]> 645 646 PR libstdc++/6811 647 * config/locale/ieee_1003.1-2001/codecvt_specializations.h 648 (__enc_traits::operator=): add missing return statement. 649 6502002-05-24 Phil Edwards <[email protected]> 651 652 PR libstdc++/6282 653 * include/std/std_bitset.h (_Base_biteset<0>): New specialization. 654 (operator>>): If nothing was extracted, don't fail in the 655 zero-length case. 656 * testsuite/23_containers/bitset_ctor.cc (test02): New test. 657 6582002-05-24 Benjamin Kosnik <[email protected]> 659 660 PR libstdc++/6701 661 * testsuite/22_locale/ctype_narrow_char.cc: New. 662 * testsuite/22_locale/ctype_narrow_wchar_t.cc: New. 663 * testsuite/22_locale/ctype_widen_char.cc: New. 664 * testsuite/22_locale/ctype_widen_wchar_t.cc: New. 665 * testsuite/22_locale/ctype_members_char.cc: Move some bits into... 666 * testsuite/22_locale/ctype_is_char.cc: ...this. 667 * testsuite/22_locale/ctype_to_char.cc: ...and this. 668 * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into... 669 * testsuite/22_locale/ctype_is_wchar_t.cc: ...this. 670 * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this. 671 672 * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass. 673 6742002-05-24 Dale Peakall <[email protected]> 675 676 PR libstdc++/6701 677 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix. 678 * config/locale/generic/ctype_members.cc: Same. 679 6802002-05-24 Benjamin Kosnik <[email protected]> 681 682 PR libstdc++/6750 683 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix 684 for empty string literal. 685 (ostream::operator<<(const _CharT*)): Same. 686 (ostream<char>::operator<<(const char*)): Same. 687 (ostream<char>::operator<<(streambuf*)): Same. 688 * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests. 689 * testsuite/27_io/ostream_inserter_other.cc (test02): Modify. 690 6912002-05-23 Rainer Orth <[email protected]> 692 693 * configure.in: Update local install.html, configopts.html paths. 694 * configure: Regenerate. 695 696 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Retrieve 697 current limits before setting. 698 699 * acinclude.m4 (enable_symvers): Quote $LD. 700 * aclocal.m4: Regenerate. 701 * configure: Likewise. 702 Fixes PR target/6755. 703 7042002-05-23 Benjamin Kosnik <[email protected]> 705 706 * configure.in (release_VERSION): Update to 3.1.1. 707 (libtool_VERSION): Update to 4:1:0. 708 * configure: Regenerate. 709 7102002-05-21 Phil Edwards <[email protected]> 711 712 * include/bits/stl_pair.h: Tweak comment markup. 713 7142002-05-21 Phil Edwards <[email protected]> 715 716 * include/ext/stdio_filebuf.h: Add header guards. Doxygenate. 717 7182002-05-19 Kaveh R. Ghazi <[email protected]> 719 720 * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h. 721 * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS). 722 * Makefile.in, config.h.in, configure: Regenerate. 723 724 * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table): 725 Return __ctype + 1. 726 (ctype:_M_table): Initialize to classic_table(), not __ctype. 727 728 * config/os/irix/irix5.2/bits/os_defines.h 729 (__glibcpp_long_double_bits, __glibcpp_long_bits): Define. 730 7312002-05-19 Paolo Carlini <[email protected]> 732 Jakub Jelinek <[email protected]> 733 734 * testsuite/22_locale/money_get_members_char.cc 735 (test01, test02, test04): Use the de_DE@euro named locale 736 instead of de_DE to allow for an uniform behaviour with 737 both old and Euro-era localedata; tweak some tests. 738 * testsuite/22_locale/money_get_members_wchar_t.cc 739 (test01, test02, test04): Likewise. 740 * testsuite/22_locale/money_put_members_char.cc 741 (test01, test02, test04): Likewise. 742 * testsuite/22_locale/money_put_members_wchar_t.cc 743 (test01, test02, test04): Likewise. 744 7452002-05-19 Paolo Carlini <[email protected]> 746 747 * testsuite/22_locale/codecvt_members_char_char.cc 748 (test03): Robustify wrt localedata. 749 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise. 750 * testsuite/22_locale/collate_members_char.cc (test04): Likewise. 751 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise. 752 * testsuite/22_locale/ctype_members_char.cc (test05): Likewise. 753 * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise. 754 * testsuite/22_locale/messages_members_char.cc (test03): Likewise. 755 * testsuite/22_locale/money_get_members_char.cc (test08): Likewise. 756 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise. 757 * testsuite/22_locale/money_put_members_char.cc (test07): Likewise. 758 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise. 759 * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise. 760 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise. 761 * testsuite/22_locale/num_get_members_char.cc (test06): Likewise. 762 * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise. 763 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment. 764 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise. 765 * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise. 766 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise. 767 * testsuite/22_locale/time_get_members_char.cc (test08): Likewise. 768 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise. 769 * testsuite/22_locale/time_put_members_char.cc (test04): Likewise. 770 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise. 771 7722002-05-19 Paolo Carlini <[email protected]> 773 774 Test all the facets for the temporary "C" locale switch issue. 775 * testsuite/22_locale/codecvt_members_char_char.cc: Add test03. 776 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise. 777 * testsuite/22_locale/collate_members_char.cc: Add test04. 778 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise. 779 * testsuite/22_locale/ctype_members_char.cc: Add test05. 780 * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04. 781 * testsuite/22_locale/messages_members_char.cc: Add test03. 782 * testsuite/22_locale/money_get_members_char.cc: Add test08. 783 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise. 784 * testsuite/22_locale/money_put_members_char.cc: Add test07. 785 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise. 786 * testsuite/22_locale/moneypunct_members_char.cc: Add test03. 787 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise. 788 * testsuite/22_locale/num_get_members_char.cc: Add test06. 789 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise. 790 * testsuite/22_locale/numpunct_members_char.cc: Add test03. 791 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise. 792 * testsuite/22_locale/time_get_members_char.cc: Add test08. 793 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise. 794 * testsuite/22_locale/time_put_members_char.cc: Add test04. 795 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise. 796 797 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment. 798 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise. 799 8002002-05-19 Benjamin Kosnik <[email protected]> 801 Paolo Carlini <[email protected]> 802 803 * testsuite/22_locale/num_put_members_char.cc: Add test04(), 804 testing for the locale_facets.tcc entry of the previous commit. 805 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise. 806 8072002-05-18 Takeshi Kobayakawa <[email protected]> 808 809 * config/locale/generic/c_locale.cc 810 (__convert_to_v(float, double, long double)): 811 Fix the temporary switch to the "C" locale, saving and 812 restoring in the proper way the current locale. 813 * config/locale/generic/time_members.cc 814 (__timepunct<char, wchar_t>::_M_put): Likewise. 815 * config/locale/gnu/messages_members.cc 816 (messages<char>::do_get): Likewise. 817 * config/locale/gnu/messages_members.h 818 (messages<_CharT>::do_get): Likewise. 819 * config/locale/gnu/time_members.cc 820 (__timepunct<char, wchar_t>::_M_put): Likewise. 821 * include/bits/locale_facets.tcc (__convert_from_v): Likewise. 822 8232002-05-18 Paolo Carlini <[email protected]> 824 Nathan Myers <[email protected]> 825 Philip Martin <[email protected]> 826 827 * include/bits/basic_string.h 828 (replace(i1, i2, _CharT* k1, _CharT* k2), 829 replace(i2, i2, const _CharT* k1, const _CharT* k2), 830 replace(i1, i2, iterator k1, iterator k2, 831 replace(i1, i2, const_iterator k1, const_iterator k2): 832 New specializations to optimize for the common cases of 833 pointers and iterators. 834 (replace(pos, n1, s, n2)): Tweak. 835 * include/bits/basic_string.tcc: Tweak comments. 836 * testsuite/21_strings/replace.cc (test05): New tests. 837 8382002-05-18 Benjamin Kosnik <[email protected]> 839 840 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove 841 _G_USING_THUNKS. 842 * config/os/solaris/solaris2.6/bits/os_defines.h: Same. 843 * config/os/solaris/solaris2.7/bits/os_defines.h: Same. 844 8452002-05-18 Benjamin Kosnik <[email protected]> 846 847 * docs/html/17_intro/RELEASE-NOTES (New): Update. 848 8492002-05-18 Benjamin Kosnik <[email protected]> 850 851 PR libstdc++/6518 852 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix 853 for null case. 854 (ostream::operator<<(const _CharT*)): Same. 855 (ostream<char>::operator<<(const char*)): Same. 856 * testsuite/27_io/ostream_inserter_char.cc (test07): Add test. 857 8582002-05-18 Benjamin Kosnik <[email protected]> 859 860 PR libstdc++/6594 861 * src/strstream.cc (strstreambuf): Fix leak. 862 8632002-05-18 Benjamin Kosnik <[email protected]> 864 865 * testsuite/22_locale/ctype_scan_char.cc: Tweak. 866 * testsuite/22_locale/ctype_scan_wchar_t.cc: New. 867 868 * docs/html/install.html: Fix. 869 8702002-05-18 Kaveh R. Ghazi <[email protected]> 871 872 * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned 873 char. 874 875 * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not): 876 Fix typo, use this->is() rather than manually (and perhaps 877 incorrectly) inlining it. 878 * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not): 879 Likewise. 880 * testsuite/22_locale/ctype_scan_char.cc: New file. 881 8822002-05-18 Benjamin Kosnik <[email protected]> 883 884 * include/bits/fstream.tcc 885 (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous 886 try/catch blocks. 887 * src/localename.cc (locale::_Impl::_M_install_facet): Same. 888 889 * docs/html/install.html: Tweak, add bits about required locales 890 for the 22_locale tests when using the gnu model. 891 892 * testsuite/27_io/istream_sentry.cc: Tweak. 893 8942002-05-16 Phil Edwards <[email protected]> 895 896 * docs/html/faq/index.html: Update not-a-bug list with basic_file.h. 897 * docs/html/faq/index.txt: Regenerate. 898 8992002-05-15 Paolo Carlini <[email protected]> 900 901 PR libstdc++/6648 902 * include/bits/istream.tcc (istream::getline, ignore): 903 Upon __idelim (__delim) call sbumpc() not snextc(). 904 * testsuite/27_io/narrow_stream_objects.cc: 905 Add test08 and test09. 906 9072002-05-14 Release Manager 908 909 * GCC 3.1 Released. 910 9112002-05-09 Jakub Jelinek <[email protected]> 912 913 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all 914 multilib dirs containing libgcc_s*.so.1 below gcc object dir to 915 LD_LIBRARY_PATH. 916 9172002-05-08 Alexandre Oliva <[email protected]> 918 919 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at 920 script entry, and set LD to it when configuring multilibs. 921 * configure: Rebuilt. 922 9232002-05-06 Phil Edwards <[email protected]> 924 925 * docs/html/documentation.html: Fix broken link. 926 9272002-05-03 Benjamin Kosnik <[email protected]> 928 929 PR libstdc++/6549. 930 * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert. 931 * testsuite/27_io/narrow_stream_objects.cc (test07): Add. 932 9332002-05-02 Phil Edwards <[email protected]> 934 935 * docs/html/faq/index.html: Update list in #4.1. 936 * docs/html/faq/index.txt: Regenerated. 937 9382002-05-01 Phil Edwards <[email protected]> 939 940 * include/std/std_bitset.h: Fix doxygen comments. 941 * docs/html/documentation.html: Minor tweaks for 3.1. 942 * docs/html/27_io/howto.html: Likewise. 943 * docs/html/ext/howto.html: Likewise, mention stdio_filebuf. 944 * docs/html/faq/index.html: Likewise. 945 * docs/html/faq/index.txt: Regenerated. 946 9472002-05-01 Benjamin Kosnik <[email protected]> 948 949 PR libstdc++/6533 950 * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New. 951 (istreambuf_iterator::equal): Use it. 952 (istreambuf_iterator::operator*): Use it. 953 9542002-05-01 Paolo Carlini <[email protected]> 955 956 PR libstdc++/6513 957 * include/bits/stl_uninitialized.h 958 (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)): 959 Fix typo in 2001-07-17 commit: typedef _ValueType to 960 iterator_traits<_ForwardIter> not <_InputIter>. 961 * testsuite/23_containers/vector_ctor.cc: Add test04. 962 9632002-04-30 John David Anglin <[email protected]> 964 965 PR libstdc++/6501 966 * include/c_std/std_cctype.h: Include bits/c++config.h. 967 * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define. 968 9692002-04-30 Benjamin Kosnik <[email protected]> 970 971 * include/ext/stdio_filebuf.h: New file. 972 * include/ext/enc_filebuf.h: New file. 973 * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor. 974 * config/io/basic_file_stdio.cc: Same. 975 * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer): 976 Remove _M_unbuf hacks. 977 (filebuf::_M_destroy_internal_buffer): Same. 978 (filebuf::filebuf(cfile, openmode, int_type): Remove definition. 979 (filebuf::fd): Remove. 980 * include/std/std_fstream.h (filebuf::_M_unbuf): Remove. 981 (filebuf::filebuf(__c_file*, openmode, int_type)): Remove. 982 (filebuf::fd): Remove. 983 * src/ios.cc (ios_base::_S_ios_create): Change to use specialized 984 filebufs. 985 (ios_base::_S_ios_destroy): Same. 986 * src/misc-inst.cc (file_filebuf<char>): Add instantiation. 987 * include/Makefile.am (ext_headers): Add ext_filebuf.h, 988 stdio_filebuf.h. * include/Makefile.in: Regenerate. 989 9902002-04-30 Benjamin Kosnik <[email protected]> 991 992 PR libstdc++/6511 993 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo. 994 9952002-04-29 Benjamin Kosnik <[email protected]> 996 997 PR libstdc++/5820 998 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common): 999 Check for eof. 1000 * include/bits/streambuf_iterator.h: Match stream_iterator.h. 1001 (istreambuf_iterator::operator++): Invalidate on eof. 1002 (istreambuf_iterator::operator++(int)): Same. 1003 (istreambuf_iterator::operator*): Same. 1004 10052002-04-29 Benjamin Kosnik <[email protected]> 1006 1007 PR libstdc++/5820 1008 * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int. 1009 (__basic_file::sys_ungetc): Take int. 1010 * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same. 1011 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common): 1012 Use sys_getc for unbuffered input. 1013 * testsuite/27_io/narrow_stream_objects.cc (test06): New. 1014 1015 * src/ios.cc (_M_grow_words): Adjust error checking. 1016 * testsuite/27_io/ios_base_storage.cc: Same. 1017 10182002-04-29 Rainer Orth <[email protected]> 1019 1020 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all 1021 of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH, 1022 LD_LIBRARY64_PATH. 1023 10242002-04-28 Peter Schmid <[email protected]> 1025 1026 * include/ext/stl_hashtable.h: Import __iterator_category 1027 10282002-04-28 Paolo Carlini <[email protected]> 1029 Peter Schmid <[email protected]> 1030 1031 * testsuite/ext/hash_set.cc: New testfile. 1032 10332002-04-26 Paolo Carlini <[email protected]> 1034 1035 * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2): 1036 Fix and tighten __throw_length_error check. 1037 * testsuite/21_strings/replace.cc (test04): New. 1038 * testsuite/21_strings/replace.cc (test02, test03): Tweak. 1039 10402002-04-23 Loren J. Rittle <[email protected]> 1041 1042 * include/std/std_fstream.h (basic_filebuf::sync): Hoist 1043 unconditional flush on lower-layer handle to here... 1044 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): 1045 ...from here. Optimize remaining _M_file.sync() call pattern. 1046 * testsuite/27_io/narrow_stream_objects.cc (test04): New test. 1047 (test05): Likewise. 1048 10492002-04-23 Jason Merrill <[email protected]> 1050 1051 * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for 1052 output-only filebufs. 1053 * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate): 1054 Likewise. 1055 (basic_filebuf::_M_set_determinate): Likewise. 1056 1057 PR libstdc++/6414 1058 * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return 1059 value properly in the trivial case. 1060 * testsuite/27_io/istream_seeks.cc (test04): Make sure that 1061 tellg() returns the right value after a read. 1062 10632002-04-23 Hans-Peter Nilsson <[email protected]> 1064 1065 * config/cpu/mmix/bits/cpu_limits.h: New file. 1066 * configure.target (CPULIMITSH): Use it. 1067 10682002-04-20 Jason Merrill <[email protected]> 1069 1070 PR libstdc++/4150 1071 * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate): 1072 Move to filebuf. 1073 (basic_streambuf::_M_set_determinate): Likewise. 1074 (basic_streambuf::_M_is_indeterminate): Likewise. 1075 * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New 1076 non-static data member. 1077 (basic_filebuf::_M_underflow_common): New non-static member function. 1078 (basic_filebuf::_M_underflow, _M_uflow): Call it. 1079 (basic_filebuf::sync): Avoid useless seeking. 1080 (basic_filebuf::_M_set_indeterminate): Move here from streambuf. 1081 Set _M_filepos. 1082 (basic_filebuf::_M_set_determinate): Likewise. 1083 (basic_filebuf::_M_is_indeterminate): Likewise. 1084 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek 1085 back to _M_out_beg if necessary. 1086 (basic_filebuf::seekoff): Likewise. 1087 (basic_filebuf::_M_underflow_common): Generalization of old 1088 underflow(). Don't seek back to _M_in_beg. 1089 * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff. 1090 * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise. 1091 * config/os/bsd/freebsd/bits/os_defines.h: Likewise. 1092 * config/os/mingw32/bits/os_defines.h: Likewise. 1093 * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify 1094 ungetc test. 1095 10962002-04-22 Benjamin Kosnik <[email protected]> 1097 1098 * include/bits/istream.tcc (istream::read): Fix. 1099 * testsuite/27_io/istream_unformatted.cc (main): Add. 1100 11012002-04-20 Benjamin Kosnik <[email protected]> 1102 1103 PR libstdc++/6360 1104 * include/bits/istream.tcc (istream::ignore): Streamline, use 1105 delimiter as is. 1106 * include/bits/streambuf.tcc: Use this->gptr. 1107 * testsuite/27_io/istream_unformatted.cc (test08): Add test. 1108 11092002-04-19 Benjamin Kosnik <[email protected]> 1110 1111 * include/bits/localefwd.h (locale::id::_M_id): Do this correctly, 1112 as type safety is important, especially on solaris. 1113 * include/bits/istream.tcc (istream::read): Clean. 1114 (istream::readsome): Same. 1115 * locale.cc: Wrap lines. 1116 1117 * testsuite/21_strings/inserters_extractors.cc: Tweaks. 1118 * testsuite/27_io/instantiations.cc (test): Add bool variable... 1119 * testsuite/21_strings/capacity.cc: Clean. 1120 11212002-04-19 Benjamin Kosnik <[email protected]> 1122 1123 * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation. 1124 11252002-04-19 Benjamin Kosnik <[email protected]> 1126 1127 * config/linker-map.gnu (__malloc_alloc_template): Add. 1128 (__default_alloc_template): Same. 1129 * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern 1130 template. 1131 (__default_alloc_template): Same. 1132 11332002-04-19 Benjamin Kosnik <[email protected]> 1134 1135 * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations. 1136 * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation. 1137 (__malloc_alloc_template): Conditionalize. 1138 1139 * include/bits/istream.tcc: Remove sputbackc calls. 1140 1141 * testsuite/19_diagnostics/stdexceptions.cc: Fix comment. 1142 11432002-04-19 Benjamin Kosnik <[email protected]> 1144 1145 PR libstdc++/4164 1146 Valgrind fixes. 1147 * config/io/basic_file_stdio.cc (__basic_file::~__basic_file): 1148 Call close. 1149 (__basic_file::close): Call fflush. Correct return if fclose ok. 1150 (__basic_file::is_open): Make const. 1151 Change __c_file_type to __c_file. 1152 * config/io/basic_file_stdio.h: Change __c_file_type to __c_file. 1153 (__basic_file::is_open): Make const. 1154 * config/io/c_io_stdio.h: Change __c_file_type to __c_file. 1155 * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove. 1156 (filebuf::_M_unbuf): Add. 1157 (filebuf::_M_file): Change to non-pointer. 1158 (filebuf::_M_allocate_pback_buffer): Remove. 1159 * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove. 1160 (filebuf::_M_allocate_internal_buffer): Use _M_unbuf. 1161 Change initialization list for _M_file change. 1162 (filebuf::_M_allocate_pback_buffer): Remove. 1163 Change _M_file usage to reflect non-pointer data member. 1164 1165 * config/locale/generic/c_locale.cc 1166 (locale::facet::_S_create_c_locale): Add parameter. 1167 * config/locale/generic/collate_members.cc: Change 1168 _M_compare_helper to _M_compare. 1169 Change _M_transform_helper to _M_transform. 1170 * config/locale/generic/monetary_members.cc: Changeup data types. 1171 Add dtors. 1172 * config/locale/generic/numeric_members.cc: Add dtors. 1173 * config/locale/generic/time_members.cc: Add dtors. 1174 * config/locale/gnu/c_locale.cc: Add parameter. 1175 * config/locale/gnu/collate_members.cc:Change 1176 _M_compare_helper to _M_compare. 1177 Change _M_transform_helper to _M_transform. 1178 * config/locale/gnu/ctype_members.cc: Better error checking. 1179 * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking. 1180 * config/locale/gnu/messages_members.cc: Tweak comment. 1181 * config/locale/gnu/monetary_members.cc: Change data types. 1182 Add dtors. 1183 * config/locale/gnu/numeric_members.cc: Add dtors, better error 1184 checking. 1185 * config/locale/gnu/time_members.cc: Same. 1186 * config/locale/ieee_1003.1-2001/c_locale.cc 1187 (locale::facet::_S_create_c_locale): Add parameter. 1188 * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef. 1189 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove 1190 bogus ctor. 1191 1192 * include/bits/locale_facets.h (moneypunct): Use string literals. 1193 Don't define dtor. 1194 (numpunct): Same. 1195 (__timepunct): Same. 1196 (locale::_Impl::_M_facets): Change from vector to array. 1197 (locale::_Impl::_M_names): Change from array of strings to array 1198 of string literals. 1199 (locale::facet::_S_create_c_locale): Add parameter. 1200 (locale::locale::_S_num_facets): Move to... 1201 (locale::_Impl::_M_facets_size): Here. 1202 * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name 1203 changes. 1204 * include/bits/localefwd.h: (locale::id::_M_id): Add member function. 1205 (locale::_Impl::_Impl(facet**, size_t, bool)): Add. 1206 (locale::_Impl::_Impl(string, size_t)): Change to 1207 (locale::_Impl::_Impl(const char*, size_t)): This. 1208 1209 * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define. 1210 * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to 1211 (streambuf::_S_pback_size): This. 1212 1213 * src/globals.cc: Add pre-allocations for "C" facets. 1214 * src/locale-inst.cc: Remove vector instantiations. 1215 * src/locale.cc: Remove vector include. Fixups for _M_names, 1216 _M_facets changes. 1217 * src/localename.cc: Same. 1218 1219 * include/bits/stl_vector.h: Fix odd formatting. 1220 1221 * include/bits/basic_string.tcc: Tweak comment. 1222 1223 * libsupc++/new: Make sure parameters are uglified. 1224 * libsupc++/typeinfo: Same. 1225 1226 * testsuite/22_locale/num_get_members_char.cc: Fixup. 1227 * testsuite/22_locale/num_get_members_wchar_t.cc: Same. 1228 * testsuite/27_io/filebuf_members.cc: Same. 1229 12302002-04-17 Phil Edwards <[email protected]> 1231 1232 * docs/doxygen/doxygroups.cc: New group on binary searching. 1233 * include/bits/stl_algo.h: Document binary searches and merges. 1234 * include/bits/stl_deque.h: The 'map' member is not the 'map' class. 1235 12362002-04-17 Phil Edwards <[email protected]> 1237 1238 * docs/doxygen/mainpage.html: Doxygen logo is now a PNG file. 1239 * docs/doxygen/run_doxygen: Bump required version. 1240 * docs/doxygen/user.cfg.in: Revert accidental change. 1241 * docs/html/faq/index.html: Reindent a block of links. 1242 (4.4): New note on using dlsym. 1243 * docs/html/faq/index.txt: Regenerated. 1244 12452002-04-16 Paolo Carlini <[email protected]> 1246 1247 * testsuite/24_iterators/rel_ops.cc: New test. 1248 12492002-04-16 Gabriel Dos Reis <[email protected]> 1250 1251 * include/bits/type_traits.h (__normal_iterator): Declare in 1252 __gnu_cxx. Adjust use at global namespace. 1253 * include/bits/stl_iterator.h (__normal_iterator): Move definition 1254 into __gnu_cxx::. Add more operator overloads. Tidy existing ones. 1255 * include/bits/basic_string.h (basic_string): Adjust use of 1256 __normal_iterator. 1257 * include/bits/stl_vector.h (_Alloc>): Likewise. 1258 * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here. 1259 * src/locale-inst.cc (__gnu_cxx): Likewise. 1260 * src/string-inst.cc (operator==): Instantiate in __gnu_cxx. 1261 12622002-04-15 Steve Ellcey <[email protected]> 1263 1264 * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h 1265 (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA) 1266 does not define strtoll or strtoull, but does define strtol 1267 and strtoul which are the same since in 64 bit mode 1268 sizeof(long) == sizeof(long long). 1269 12702002-04-12 Phil Edwards <[email protected]> 1271 1272 * include/std/std_bitset.h: Doxygenate std::bitset<>. Clean up 1273 trailing spaces, indentation, and macro names. Make exception 1274 messages more informative. 1275 12762002-04-11 Richard Henderson <[email protected]> 1277 1278 * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering. 1279 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same. 1280 (basic_ostream<>::operator<<(long long)): Same. 1281 12822002-04-11 Richard Henderson <[email protected]> 1283 1284 * config/linker-map.gnu: Add __gxx_personality_sj0. 1285 12862002-04-09 Benjamin Kosnik <[email protected]> 1287 1288 libstdc++/1072 1289 * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from 1290 pointer to vector. 1291 Remove forward declaration of vector. 1292 Include vector. 1293 * include/bits/locale_facets.tcc: Remove vector include. 1294 (use_locale): Adjust. 1295 (has_locale): Adjust. 1296 * src/locale.cc: Adjust. 1297 * src/localename.cc: Same. 1298 12992002-04-09 Benjamin Kosnik <[email protected]> 1300 Richard Henderson <[email protected]> 1301 1302 * include/bits/sstream.tcc: Clean up bit ops. 1303 * include/bits/fstream.tcc: Same. 1304 13052002-04-09 Jakub Jelinek <[email protected]> 1306 1307 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove. 1308 (__num_base::_S_scale_oct): Remove. 1309 * src/locale.cc (__num_base::_S_scale_hex): Remove. 1310 (__num_base::_S_scale_oct): Remove. 1311 13122002-04-09 Benjamin Kosnik <[email protected]> 1313 1314 libstdc++/6124 1315 * testsuite/23_containers/bitset_members.cc: New test. 1316 * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move.. 1317 (_S_bit_count): Here. 1318 (_First_one::_S_first_one): Move... 1319 (_S_first_one): Here. 1320 Format. 1321 * src/bitset.cc: Adjust. 1322 * config/linker-map.gnu: Export. 1323 13242002-04-08 Benjamin Kosnik <[email protected]> 1325 1326 libstdc++/5180 1327 * include/bits/fstream.tcc (filebuf::seekpos): Fix. 1328 * include/std/std_fstream.h: Clean. 1329 * include/bits/ostream.tcc: Remove extraneous variables. 1330 * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about 1331 open modes and which modes. 1332 (stringbuf::seekpos): Same. 1333 * testsuite/27_io/stringbuf_virtuals.cc: New tests. 1334 13352002-04-05 Jonathan Wakely <[email protected]> 1336 1337 * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy, 1338 random_shuffle, partition, stable_partition, sort, stable_sort, 1339 partial_sort, partial_sort_copy, nth_element): Doxygenate. 1340 13412002-04-05 David S. Miller <[email protected]> 1342 1343 * config/os/gnu-linux/bits/os_defines.h 1344 (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc. 1345 13462002-04-04 Benjamin Kosnik <[email protected]> 1347 1348 libstdc++/3457 1349 via [email protected] 1350 * acinclude.m4 (version_specific_libs): Fix combo usage with 1351 --with-gxx-include-dir. 1352 * aclocal.m4: Regenerate. 1353 * configure: Same. 1354 13552002-04-03 Benjamin Kosnik <[email protected]> 1356 1357 As per DR 184, libstdc++/3139 1358 * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1. 1359 (numeric_limits<bool>::is_iec559): False. 1360 (numeric_limits<bool>::is_modulo): False. 1361 1362 * testsuite/27_io/ios_init.cc: Add instantiations. 1363 13642002-04-02 Benjamin Kosnik <[email protected]> 1365 1366 libstdc++/5268 1367 * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls. 1368 * testsuite/27_io/ios_init.cc (tests04): Add test. 1369 1370 libstdc++/3983 1371 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove. 1372 (basic_ios::_M_ios_fctype): Consistently name to _M_fctype. 1373 * include/bits/basic_ios.tcc: Same. Remove outdated comments. 1374 * include/bits/istream.tcc: Use _M_fctype, make consistent with 1375 ostream. 1376 * testsuite/27_io/ios_init.cc (tests03): Add test. 1377 13782002-04-02 Phil Edwards <[email protected]> 1379 1380 * include/Makefile.am (install-data-local): Use mkinstalldirs. 1381 * include/Makefile.in: Regenerate. 1382 13832002-04-01 Benjamin Kosnik <[email protected]> 1384 1385 libstdc++/5542 1386 * acinclude: More extensive checks for msgfmt, --enable-nls. 1387 * aclocal.m4: Regenerate. 1388 * configure: Regenerate. 1389 13902002-04-01 Phil Edwards <[email protected]> 1391 1392 * libsupc++/exception (__verbose_terminate_handler): Point to docs. 1393 * docs/doxygen/doxygroups.cc: Doxygen hooks for abi::__cxa_demangle. 1394 * docs/html/18_support/howto.html: Document the demangler. 1395 * docs/html/17_intro/howto.html: And link to it. 1396 1397 * docs/doxygen/mainpage.html: Describe user-vs-maintainer docs. 1398 * docs/doxygen/run_doxygen: Print user-vs-maintainer. 1399 14002002-04-01 Phil Edwards <[email protected]> 1401 1402 * include/bits/c++config: Fix misplaced leading blanks on first line. 1403 14042002-04-01 Phil Edwards <[email protected]> 1405 1406 * config/linker-map.gnu: Export __verbose_terminate_handler. 1407 * libsupc++/Makefile.am (sources): Add cxa_demangle.c, dyn-string.c. 1408 Make new LTCOMPILE variable, use it in new special build rules. 1409 * libsupc++/Makefile.in: Rebuild. 1410 * src/vterminate.cc (__verbose_terminate_handler): Enable use of 1411 runtime __cxa_demangle. 1412 1413 * docs/html/install.html: Update prereqs and instructions. 1414 * docs/html/19_diagnostics/howto.html: Bring naming for 1415 verbose_terminate_handler into line with reality. 1416 14172002-04-01 Benjamin Kosnik <[email protected]> 1418 1419 libstdc++/3129 1420 * include/bits/basic_ios.h (basic_ios::_M_exception): Move. 1421 (basic_ios::_M_streambuf_state): Move. 1422 * include/bits/ios_base (ios_base): To here. 1423 * include/bits/ios_base.h (ios_base::_S_local_words): To 1424 _S_local_word_size. 1425 (ios_base::_M_word_array): To _M_local_word. 1426 (ios_base::_M_words_limit): To _M_word_size. 1427 (ios_base::_M_words): To _M_word. 1428 Comment. 1429 * include/bits/basic_ios.tcc: Adjust. 1430 * src/ios.cc (ios_base::_M_grow_words): Tweak. 1431 * testsuite/27_io/ios_base_storage.cc: Add tests. 1432 1433 libstdc++/5207 1434 Kenny Simpson <[email protected]> 1435 * include/bits/ios_base.h: Fix. 1436 1437 Richard Henderson <[email protected]> 1438 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct 1439 last change. 1440 1441 * include/bits/basic_string.h: Tweak formatting. 1442 14432002-04-01 Paolo Carlini <[email protected]> 1444 1445 * config/locale/ieee_1003.1-2001/codecvt_specializations.h 1446 (codecvt::do_out, codecvt::do_unshift, codecvt::do_in): 1447 By definition, sizeof(char) == 1. 1448 * include/bits/locale_facets.tcc (money_get::do_get, 1449 money_put::do_put): Ditto. 1450 * testsuite/21_strings/inserters_extractors.cc 1451 (test04): Ditto. 1452 14532002-03-30 Richard Henderson <[email protected]> 1454 1455 PR c++/3719 1456 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler 1457 data out of the exception struct before calling unexpectedHandler. 1458 14592002-03-28 Roger Sayle <[email protected]> 1460 1461 * include/c_std/std_cmath.h: To prevent problems overloading 1462 g++ builtins, use the double variants from the global namespace 1463 before defining float and long double variants in std::. 1464 14652002-03-28 Loren J. Rittle <[email protected]> 1466 1467 * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo. 1468 14692002-03-28 Paolo Carlini <[email protected]> 1470 1471 * testsuite/24_iterators/istream_iterator.cc 1472 (test02): New tests. 1473 14742002-03-28 Ulrich Weigand <[email protected]> 1475 Paolo Carlini <[email protected]> 1476 1477 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc 1478 (test01): Protect the test with _GLIBCPP_USE_WCHAR_T; 1479 fix i_lit_base e_lit_base arrays, making them independent 1480 from the endianness of the platform; tweak UCS4 to UCS-4BE. 1481 14822002-03-27 Benjamin Kosnik <[email protected]> 1483 1484 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always 1485 allocate at least a byte. 1486 1487 * testsuite/18_support/numeric_limits.cc (test_extrema): Make 1488 debugger-friendly. 1489 * testsuite/27_io/streambuf.cc (test07): Fix. 1490 (test06): Enable. 1491 14922002-03-27 Phil Edwards <[email protected]> 1493 1494 Bulk documentation merge (copy) from trunk. 1495 * docs/doxygen/Intro.3, docs/doxygen/TODO, docs/doxygen/doxygroups.cc, 1496 docs/doxygen/mainpage.html, docs/doxygen/run_doxygen, 1497 docs/doxygen/tables.html, docs/doxygen/user.cfg.in, 1498 docs/html/Makefile, docs/html/17_intro/howto.html, 1499 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html: 1500 Merge from trunk. 1501 15022002-03-27 Phil Edwards <[email protected]> 1503 1504 * include/bits/stl_algo.h: Remove @maint and @endmaint. 1505 * include/bits/stl_alloc.h: Likewise. 1506 * include/bits/stl_construct.h: Likewise. 1507 * include/bits/stl_deque.h: Likewise. 1508 * include/bits/stl_iterator_base_types.h: Likewise. 1509 * include/bits/stl_list.h: Likewise. 1510 * include/bits/stl_relops.h: Likewise. 1511 * include/bits/stl_tempbuf.h: Likewise. 1512 * include/bits/stl_vector.h: Likewise. 1513 * include/std/std_memory.h: Likewise. 1514 1515 * include/bits/stl_deque.h: Point into tables.html and add @ingroup. 1516 * include/bits/stl_list.h: Likewise. 1517 * include/bits/stl_vector.h: Likewise. 1518 15192002-03-26 Benjamin Kosnik <[email protected]> 1520 1521 * include/c/: Guard with _CPP_. 1522 * include/c_std/: Same. 1523 * include/Makefile.am: Fixup install, link routines for null 1524 c_base_headers_extra scenarios. 1525 * include/Makefile.in: Regerate. 1526 15272002-03-25 Paolo Carlini <[email protected]> 1528 Richard Henderson <[email protected]> 1529 1530 * testsuite/22_locale/codecvt_members_unicode_char.cc 1531 (test01, test02): make sure that the i_lit_base array 1532 is sufficiently aligned. 1533 15342002-03-25 Benjamin Kosnik <[email protected]> 1535 1536 * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to 1537 _ctype_. 1538 15392002-03-25 Paolo Carlini <[email protected]> 1540 1541 * testsuite/22_locale/collate_byname.cc 1542 (test01): compare the result of collate::compare with 1543 that of collate::transform + string::compare, not with 1544 that of collate::transform + collate::compare; values 1545 returned by collate::compare are normalized, therefore 1546 test against +-1. 1547 15482002-03-25 Jakub Jelinek <[email protected]> 1549 1550 PR target/5676 1551 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): Pass -fexceptions 1552 explicitly. 1553 * aclocal.m4: Rebuilt. 1554 * configure: Rebuilt. 1555 * configure.target (mcore-*-pe*): Add -frtti -fno-exceptions 1556 by default to c++ flags. 1557 15582002-03-25 Benjamin Kosnik <[email protected]> 1559 Jakub Jelinek <[email protected]> 1560 1561 * config/locale/gnu/messages_members.h: Correct conditional. 1562 * config/locale/gnu/messages_members.cc: Same. 1563 * config/locale/gnu/time_members.cc: Same. 1564 15652002-03-25 Ulrich Weigand <[email protected]> 1566 Paolo Carlini <[email protected]> 1567 1568 * testsuite/22_locale/codecvt_members_unicode_char.cc 1569 (test01, test02): Fix i_lit_base arrays, making them 1570 independent from the endianness of the platform. 1571 15722002-03-22 Benjamin Kosnik <[email protected]> 1573 1574 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for 1575 signbit and __signbit directly. 1576 * aclocal.m4: Regenerate. 1577 * configure: Regenerate. 1578 * config.h.in: Regenerate. 1579 * libmath/Makefile.am: Simplify. 1580 * libmath/Makefile.in: Regenerate. 1581 * include/c_std/std_cmath.h: Update paths for include of cmath.tcc. 1582 1583 * include/Makefile.am: Clean up handling of extra "C" header files. 1584 Add hooks for "C" compatibility headers. 1585 * include/Makefile.in: Regenerate. 1586 1587 * include/c/*: Formatting tweaks, cleanups. 1588 * include/c_std/*: Same. 1589 15902002-03-22 Benjamin Kosnik <[email protected]> 1591 1592 * config/locale/gnu/messages_members.h: Add __uselocale bits. 1593 * config/locale/gnu/messages_members.cc: Same. 1594 * config/locale/gnu/time_members.cc: Same. 1595 15962002-03-22 Benjamin Kosnik <[email protected]> 1597 1598 * src/vterminate.cc: Format, -fno-exceptions cleanup. 1599 16002002-03-21 Rainer Orth <[email protected]> 1601 1602 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New. 1603 (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv. 1604 * aclocal.m4: Regenerate. 1605 * configure: Likewise. 1606 16072002-03-19 Paolo Carlini <[email protected]> 1608 Ulrich Drepper <[email protected]> 1609 1610 * src/locale-inst.cc (__convert_from_v): Add an additional 1611 __size parameter in the declarations. 1612 * include/bits/locale_facets.tcc 1613 (__convert_from_v): When available (that is, 1614 _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf. 1615 (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99 1616 being defined or not, call and use __convert_from_v in the 1617 appropriate way. 1618 (num_put::_M_convert_int): Same here. 1619 (money_put::do_put(long double)): Same here. 1620 16212002-03-19 Phil Edwards <[email protected]> 1622 1623 * docs/html/faq/index.html (#3.6): Rewrap and close <a href> tags. 1624 * docs/html/faq/index.txt: Regenerate. 1625 16262002-03-19 Steve Ellcey <[email protected]> 1627 1628 * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define 1629 GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if 1630 --enable-libunwind-exceptions is set. 1631 * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new 1632 macro to check for libunwind. 1633 * configure: Regenerate. 1634 * src/Makefile.am (libstdc___la_LDFLAGS): Add 1635 LIBUNWIND_FLAG to libstdc link line. 1636 * src/Makefile.in: Regenerate. 1637 16382002-03-19 Benjamin Kosnik <[email protected]> 1639 1640 * docs/html/faq/index.html: Add OS X workaround. 1641 * docs/html/17_intro/TODO: Update. 1642 16432002-03-18 Paolo Carlini <[email protected]> 1644 1645 * include/bits/locale_facets.tcc 1646 (money_put::do_put(long double)): Fix dimensioning of 1647 temporary buffers to avoid risk of overruns. 1648 (money_put::do_put(string)): Same for the buffer used to 1649 add the grouping chars. 1650 * testsuite/22_locale/money_put_members_char.cc: Add test06. 1651 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto. 1652 1653 * include/bits/locale_facets.tcc 1654 (collate::do_transform): Simplify. 1655 16562002-03-18 Phil Edwards <[email protected]> 1657 1658 * acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform. 1659 * configure.in: Add comments pointing the way for autoconf 2.5x. 1660 * aclocal.m4, config.h.in, configure: Regenerate. 1661 16622002-03-18 Philipp Thomas <[email protected]> 1663 1664 * include/backward/hash_map.h: hash, hashtable, hash_map and 1665 hash_multimap are in namespace __gnu_cxx. 1666 include/backward/hash_set.h: hash, hashtable, hash_set and 1667 hash_multiset are in namespace __gnu_cxx. 1668 include/backward/hashtable.h: hash and hashtable are in 1669 namespace __gnu_cxx. 1670 include/backward/rope.h: char_producer, sequence_buffer, 1671 rope, crope and wrope are in namespace __gnu_cxx. 1672 include/backward/slist.h: slist is in namespace __gnu_cxx. 1673 * testsuite/backward/header_hash_map_h.cc 1674 testsuite/backward/header_hash_set_h.cc 1675 testsuite/backward/header_hashtable_h.cc 1676 testsuite/backward/header_rope_h.cc 1677 testsuite/backward/header_slist_h.cc 1678 testsuite/backward/header_tempbuf_h.cc: New tests for 1679 checking that we're using the correct namespace. 1680 16812002-03-17 Jason Merrill <[email protected]> 1682 1683 PR c++/4381 1684 * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn. 1685 (check_exception_spec): Call it. Take the thrown pointer. 1686 (__cxa_call_unexpected): Pass it. 1687 (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr. 1688 16892002-03-15 Anthony Green <[email protected]> 1690 1691 * configure.in: Remove useless is_mingw32. 1692 * configure: Rebuilt. 1693 16942002-03-15 Paolo Carlini <[email protected]> 1695 1696 * testsuite/22_locale/collate_members_char.cc 1697 (test01): compare the result of collate::compare with 1698 that of collate::transform + string::compare, not with 1699 that of collate::transform + collate::compare. 1700 (test01): values returned by collate::compare are 1701 normalized, therefore test against +-1. 1702 * testsuite/22_locale/collate_members_wchar_t.cc: Ditto. 1703 17042002-03-12 Loren Rittle <[email protected]> 1705 1706 reported by Peter Schmid <[email protected]> 1707 * testsuite/thread/pthread4.cc: Lower nominal iteration counter. 1708 17092002-03-12 Benjamin Kosnik <[email protected]> 1710 Per Liboriussen <[email protected]> 1711 1712 * config/os/gnu-linux/bits/ctype_noninline.h: Cast to 1713 unsigned char. 1714 * config/os/gnu-linux/bits/ctype_inline.h: Same. 1715 1716 * config/os/irix/irix6.5/bits/ctype_inline.h: Same. 1717 1718 * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same. 1719 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same. 1720 1721 * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same. 1722 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same. 1723 1724 * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same. 1725 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same. 1726 1727 * testsuite/22_locale/ctype_members_char.cc (main): Add tests. 1728 17292002-03-12 Benjamin Kosnik <[email protected]> 1730 1731 * include/bits/basic_string.tcc (string::_S_construct(_InIter, 1732 _InIter, const _Alloc&, forward_iterator_tag): Check for null. 1733 (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same. 1734 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now 1735 that memory limits are in place. 1736 (test03): Add tests. 1737 17382002-03-11 Benjamin Kosnik <[email protected]> 1739 1740 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h. 1741 * aclocal.m4: Regenerate. 1742 * config.h.in: Regenerate. 1743 * configure: Regenerate. 1744 * include/c_std/std_cwctype.h: Guard. 1745 17462002-03-11 Chris Demetriou <[email protected]> 1747 1748 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for 1749 whether GLIBCPP_CHECK_LINKER_FEATURES has been used. 1750 * aclocal.m4: Regenerate. 1751 * configure: Regenerate. 1752 17532002-03-11 Benjamin Kosnik <[email protected]> 1754 1755 * include/bits/stl_bvector.h: Fix warning. 1756 17572002-03-11 Richard Henderson <[email protected]> 1758 1759 * include/bits/stl_bvector.h (_Bit_type): New. Use throughout. 1760 17612002-03-11 Paolo Carlini <[email protected]> 1762 1763 * include/bits/locale_facets.tcc (collate::do_transform): 1764 Rewrite to fix problems with long transformed strings. 1765 1766 * include/bits/locale_facets.tcc (time_put::do_put): 1767 Consider sizeof(char_type) in allocating the buffer. 1768 17692002-03-10 Anthony Green <[email protected]> 1770 1771 * configure.in: Support cross builds to mingw32 target. 1772 * configure: Rebuilt. 1773 17742002-03-08 Benjamin Kosnik <[email protected]> 1775 1776 * c_locale_generic.cc: Move to... 1777 * generic/c_locale.cc 1778 * c_locale_generic.h: Move to... 1779 * generic/c_locale.h 1780 * codecvt_specializations_generic.h: Move to... 1781 * generic/codecvt_specializations.h 1782 * collate_members_generic.cc: Move to... 1783 * generic/collate_members.cc 1784 * ctype_members_generic.cc: Move to... 1785 * generic/ctype_members.cc 1786 * messages_members_generic.cc: Move to... 1787 * generic/messages_members.cc 1788 * messages_members_generic.h: Move to... 1789 * generic/messages_members.h 1790 * moneypunct_members_generic.cc: Move to... 1791 * generic/monetary_members.cc 1792 * numpunct_members_generic.cc: Move to... 1793 * generic/numeric_members.cc 1794 * time_members_generic.cc: Move to... 1795 * generic/time_members.cc 1796 * c_locale_gnu.cc: Move to... 1797 * gnu/c_locale.cc 1798 * c_locale_gnu.h: Move to... 1799 * gnu/c_locale.h 1800 * collate_members_gnu.cc: Move to... 1801 * gnu/collate_members.cc 1802 * ctype_members_gnu.cc: Move to... 1803 * gnu/ctype_members.cc 1804 * messages_members_gnu.cc: Move to... 1805 * gnu/messages_members.cc 1806 * messages_members_gnu.h: Move to... 1807 * gnu/messages_members.h 1808 * moneypunct_members_gnu.cc: Move to... 1809 * gnu/monetary_members.cc 1810 * numpunct_members_gnu.cc: Move to... 1811 * gnu/numeric_members.cc 1812 * time_members_gnu.cc: Move to... 1813 * gnu/time_members.cc 1814 * c_locale_ieee_1003.1-200x.cc: Move to... 1815 * ieee_1003.1-2001/c_locale.cc 1816 * c_locale_ieee_1003.1-200x.h: Move to... 1817 * ieee_1003.1-2001/c_locale.h 1818 * codecvt_specializations_ieee_1003.1-200x.h: Move to... 1819 * ieee_1003.1-2001/codecvt_specializations.h 1820 * messages_members_ieee_1003.1-200x.cc: Move to... 1821 * ieee_1003.1-2001/messages_members.cc 1822 * messages_members_ieee_1003.1-200x.h: Move to... 1823 * ieee_1003.1-2001/messages_members.h 1824 1825 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent. 1826 * aclocal.m4: Regenerate. 1827 * configure: Regenerate. 1828 * src/Makefile.am (sources): Change to monetary and numeric. 1829 * src/Makefile.in: Regenerate. 1830 * docs/html/configopts.html: Update to ieee_1003.1-2001. 1831 18322002-03-08 scott snyder <[email protected]> 1833 1834 libstdc++/5875 1835 * include/bits/locale_facets.tcc (num_put::_M_convert_float): 1836 Allow one more digit of precision. 1837 * testsuite/27_io/ostream_inserter_arith.cc: Test that we can 1838 write a double and read back in the same value. 1839 18402002-03-08 Benjamin Kosnik <[email protected]> 1841 1842 * include/std/std_limits.h: Move static const data members out of 1843 generic template, into base class __numeric_limits_base. 1844 * src/limits.cc: Add definitions. 1845 * config/linker-map.gnu: Add __numeric_limits_base. 1846 * testsuite/18_support/numeric_limits.cc: Declare test in scope. 1847 18482002-03-07 Benjamin Kosnik <[email protected]> 1849 1850 * include/bits/stl_alloc.h: Add extern implicit allocator 1851 instantiations. 1852 * include/bits/basic_string.tcc: Tweak. 1853 * include/bits/loqcale_facets.tcc: Remove default args. Add 1854 has_facet, use_facet extern instantiations. 1855 * src/stl-inst.cc: Add explicit instantiation. 1856 * src/locale-inst.cc: Clean. Remove locale member template 1857 instantiations. 1858 1859 * testsuite/22_locale/operators.cc (test02): Enable. 1860 18612002-03-06 Benjamin Kosnik <[email protected]> 1862 Stephen M. Webb <[email protected]> 1863 1864 * include/bits/stl_tree.h (_S_rb_tree_red): Make enum. 1865 (_S_rb_tree_black): Make enum. 1866 Clean. Format. 1867 * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum. 1868 * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum. 1869 (__stl_threshold): _M_threshold, enum. 1870 * src/stl-inst.cc: Same. 1871 * config/linker-map.gnu: Remove. 1872 1873 * testsuite/23_containers/vector_bool.cc: New. 1874 18752002-03-08 Phil Edwards <[email protected]> 1876 1877 * include/bits/basic_string.h (basic_string::_S_construct): Fix 1878 names in declaration. 1879 (basic_string::compare): These are no longer optional. 1880 * include/bits/ostream.tcc: Tweak closing brace placement. 1881 * include/bits/stl_algo.h: Lots of initial doxygen comment hooks. 1882 * include/std/std_sstream.h: Fix typo in comment. 1883 * include/bits/locale_facets.tcc: Remove unneeded header inclusion. 1884 * src/locale.cc: Likewise. 1885 18862002-03-08 Phil Edwards <[email protected]> 1887 1888 PR libstdc++/5734 1889 * include/bits/stl_vector.h (vector::push_back()): Guard with 1890 _GLIBCPP_DEPRECATED. 1891 18922002-03-05 Benjamin Kosnik <[email protected]> 1893 1894 * docs/html/17_intro/RELEASE-NOTES: Fix usage. 1895 * README (libmath): Make clear. 1896 18972002-03-05 Jakub Jelinek <[email protected]> 1898 1899 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version 1900 script globbing in ld. 1901 * aclocal.m4: Rebuilt. 1902 * configure: Rebuilt. 1903 19042002-03-05 Benjamin Kosnik <[email protected]> 1905 1906 * docs/html/17_intro/RELEASE-NOTES: Update. 1907 * README: Format subdirectories. 1908 19092002-03-05 Paolo Carlini <[email protected]> 1910 1911 libstdc++/5816 1912 * include/bits/locale_facets.tcc 1913 (num_get::_M_extract_float): Fix the parsing of __dec, since 1914 the standard prescribes that if no grouping characters are 1915 seen, no grouping check is applied. 1916 * testsuite/22_locale/num_get_members_char.cc: Add test05 1917 distilled from the PR. 1918 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto. 1919 19202002-03-04 Craig Rodrigues <[email protected]> 1921 1922 * docs/html/17_intro/porting-howto.xml: Refer to 1923 http://www.oasis-open.org for docbookx.dtd. 1924 * docs/html/17_intro/porting-howto.html: Regenerated. 1925 19262002-03-03 Phil Edwards <[email protected]> 1927 1928 PR libstdc++/2955 1929 * include/std/std_sstream.h: Remove trailing spaces. 1930 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app. 1931 * testsuite/27_io/stringbuf.cc (test05, test06): New tests. 1932 19332002-03-03 Paolo Carlini <[email protected]> 1934 1935 * testsuite/22_locale/num_get_members_char.cc (test04): 1936 Use a named locale expecting grouping (de_DE). 1937 * testsuite/22_locale/num_get_members_wchar_t.cc (test04): 1938 Ditto. 1939 * testsuite/27_io/ios_manip_basefield.cc (test01): 1940 Extend coverage, uniform treatment of hexs and octs. 1941 19422002-03-01 Paolo Carlini <[email protected]> 1943 1944 * include/bits/locale_facets.tcc (num_get::_M_extract_int): 1945 Admit grouping for octals and hexadecimals too. 1946 * testsuite/22_locale/num_get_members_char.cc: Add test04. 1947 (test01): Tweak "." -> "," in void* test. 1948 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto. 1949 1950 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword. 1951 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them. 1952 1953 * testsuite/27_io/ios_manip_basefield.cc (test01): 1954 Fix for 64 bit machines. 1955 19562002-02-28 Richard Henderson <[email protected]> 1957 1958 * config/linker-map.gnu: Export operator new with unsigned long, 1959 and with std::nothrow_t. Likewise operator delete. 1960 19612002-02-26 Benjamin Kosnik <[email protected]> 1962 1963 libstdc++/3983 1964 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero. 1965 Adjust comment. 1966 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable. 1967 (basic_ios::_M_fill_init): New. 1968 (basic_ios::fill()): Delay dealing with _M_fill. 1969 Adjust comment. 1970 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words. 1971 (ios_base::_M_call_callbacks): Adjust. 1972 * testsuite/27_io/ios_init.cc (test02): Adjust testcase. 1973 19742002-02-28 Loren Rittle <[email protected]> 1975 1976 * include/Makefile.am (thread_target_headers): Unconditionally 1977 stage and install gthr-posix.h. 1978 (${target_builddir}/gthr-posix.h): New rule cloned off 1979 ${target_builddir}/gthr-default.h. 1980 (${target_builddir}/gthr-default.h): Support chained inclusion 1981 of gthr support headers. 1982 * include/Makefile.in: Rebuilt. 1983 19842002-02-26 Paolo Carlini <[email protected]> 1985 1986 * include/bits/locale_facets.tcc (num_put::_M_widen_int): 1987 Group all the integral types, not only decs. 1988 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing 1989 tests, add a few more. 1990 19912002-02-25 Benjamin Kosnik <[email protected]> 1992 1993 * src/ios.cc (ios_base::~ios_base): Tweak. 1994 (ios_base::_M_call_callbacks): Deal with null __p. 1995 (ios_base::ios_base): Set _M_callbacks. 1996 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment. 1997 * testsuite/27_io/ios_init.cc (test02): Fix. 1998 1999 * mkcheck.in (static_fail): Failed links go to output file. 2000 20012002-02-25 Phil Edwards <[email protected]> 2002 2003 * docs/html/faq/index.html: Update. 2004 * docs/html/faq/index.txt: Regenerate. 2005 20062002-02-22 Phil Edwards <[email protected]> 2007 2008 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment. 2009 * aclocal.m4: Regenerate. 2010 * docs/html/configopts.html: Document --enable-symvers. 2011 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag. 2012 20132002-02-22 Philipp Thomas <[email protected]> 2014 2015 * include/backward/tempbuf.h: get_temporary_buffer and 2016 return_temporary_buffer are in namespace std, not in __gnu_cxx. 2017 20182002-02-21 Benjamin Kosnik <[email protected]> 2019 2020 * configure.in (target_alias): Default to yes. 2021 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared 2022 libgcc to default case. 2023 20242002-02-20 Phil Edwards <[email protected]> 2025 2026 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version. 2027 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version. 2028 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script. 2029 * aclocal.m4: Regenerate. 2030 * configure: Regenerate. 2031 * config/linker-map.dummy: New file. Contains nothing useful. 2032 20332002-02-20 Benjamin Kosnik <[email protected]> 2034 2035 * testsuite/22_locale/money_put_members_char.cc: Fix. 2036 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix. 2037 2038 * testsuite/27_io/standard_manipulators.cc: New file. 2039 2040 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing. 2041 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic(). 2042 20432002-02-20 Danny Smith <[email protected]> 2044 2045 * config/os/mingw32/bits/ctype_noninline.h 2046 (ctype<char>::ctype): Remove default args from parm list. 2047 * config/os/djgpp/bits/ctype_noninline.h: Same. 2048 20492002-02-19 Benjamin Kosnik <[email protected]> 2050 2051 * include/std/std_iomanip.h: Inline, tweaks. 2052 * config/linker-map.gnu: Remove hacks. 2053 2054 * testsuite/21_strings/capacity.cc: Add explicit instantiations. 2055 * testsuite/27_io/ios_init.cc: Same. 2056 * testsuite/22_locale/money_get_members_char.cc (test07): Fix. 2057 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same. 2058 20592002-02-19 Benjamin Kosnik <[email protected]> 2060 2061 * config/linker-map.gnu: Export global vtable, typeinfo, guard 2062 variable, and thunk info as per CXXABI docs. 2063 20642002-02-19 Loren Rittle <[email protected]> 2065 2066 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names. 2067 * include/Makefile.in: Rebuilt. 2068 20692002-02-18 Peter Schmid <[email protected]> 2070 2071 * testsuite/22_locale/collate_byname.cc (test01): Replace size4 2072 with size3 for the string collations of str5. 2073 20742002-02-18 Paolo Carlini <[email protected]> 2075 2076 libstdc++/5708 2077 * include/bits/locale_facets.tcc (money_put::do_put): 2078 For the space field use __fill instead of ' ', uniformly. 2079 * testsuite/22_locale/money_put_members_char.cc: 2080 Add test05 distilled from PR. 2081 (test01-02-03): Trim some '*' to ' '. 2082 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto. 2083 20842002-02-18 Loren Rittle <[email protected]> 2085 2086 libstdc++/5697 2087 * include/Makefile.am (thread_builddir): Remove (map all 2088 existing uses to target_builddir). 2089 (thread_headers): Rename to... 2090 (thread_target_headers): ...this. 2091 (stamp-thread): Remove. 2092 (stamp-target): Correctly state the position as built. 2093 Update all dependencies to match the new reality. Remove all 2094 dependency calculations on directories. 2095 * include/Makefile.in: Rebuilt. 2096 20972002-02-16 Benjamin Kosnik <[email protected]> 2098 2099 * include/bits/locale_facets.tcc: Add pragma GCC system_header. 2100 * include/bits/fstream.tcc: Same. 2101 * include/bits/sstream.tcc: Same. 2102 * include/bits/ostream.tcc: Same. 2103 * include/bits/istream.tcc: Same. 2104 * include/bits/streambuf.tcc: Same. 2105 * include/bits/basic_ios.tcc: Same. 2106 * include/bits/basic_string.tcc: Same. 2107 21082002-02-15 Benjamin Kosnik <[email protected]> 2109 2110 * include/std/std_iosfwd.h: Don't guard typedefs with 2111 _GLIBCPP_USE_WCHAR_T 2112 * include/bits/stringfwd.h: Same. 2113 21142002-02-15 Benjamin Kosnik <[email protected]> 2115 2116 * src/locale.cc (moneypunct_byname): Remove definitions. 2117 * include/std/std_streambuf.h (streambuf::operator=): Return. 2118 21192002-02-15 Benjamin Kosnik <[email protected]> 2120 2121 Tune for size. 2122 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant 2123 explicit instantiation. 2124 (string::_Rep::_S_max_size): Same. 2125 * include/bits/basic_string.tcc: Add extern explicit 2126 instantiations for string, wstring. 2127 * include/bits/basic_ios.tcc: Add extern explicit instantiations 2128 for ios, wios. 2129 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf. 2130 * include/bits/istream.tcc: Same, for istream, wistream. 2131 * include/bits/ostream.tcc: Same for ostream, wostream, iostream, 2132 wiostream. 2133 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf, 2134 istringstream, wistringstream, ostringstream, wostringstream, 2135 stringstream, wstringstream. 2136 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream, 2137 wifstream, ofstream, wofstream, fstream, wfstream. 2138 * src/misc-inst.cc: Correct comments. 2139 Add iomanip instantiations for wide streams. 2140 * include/std/std_iomanip.h: Same. 2141 * include/bits/locale_facets.tcc: Same. 2142 2143 * include/std/std_streambuf.h: Correct 2144 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard. 2145 * include/std/std_sstream.h: Same. 2146 * include/std/std_ostream.h: Same. 2147 * include/std/std_istream.h: Same. 2148 * include/std/std_fstream.h: Same. 2149 2150 * include/std/std_streambuf.h: Add definitions for private copy 2151 ctor and assignment operator. 2152 * include/std/std_istream.h: Remove declared but undefined copy 2153 ctor and assignment operator. This is taken care of in ios_base, 2154 so adding it in the derived class as well is superfluous. 2155 * include/std/std_ostream.h: Same. 2156 2157 * include/bits/basic_ios.h (basic_ios::clear): Don't inline. 2158 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here. 2159 21602002-02-14 Benjamin Kosnik <[email protected]> 2161 2162 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1. 2163 Add typeinfo bits. Smooth. 2164 * aclocal.m4: Regenerate. 2165 * configure: Same. 2166 * src/Makefile.in: Same. 2167 21682001-02-14 Joel Sherrill <[email protected]> 2169 2170 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets 2171 which do not have a CAS instruction. 2172 21732002-02-14 Phil Edwards <[email protected]> 2174 2175 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision. 2176 * configure.in: Call it. 2177 * config/linker-map.gnu: New file, initial incomplete revision. 2178 * src/Makefile.am: Optionally pass version script to the linker. 2179 * aclocal.m4: Regenerate. 2180 * configure: Regenerate. 2181 * src/Makefile.in: Regenerate. 2182 21832002-02-13 Benjamin Kosnik <[email protected]> 2184 2185 * src/localename.cc: Remove stdexcept include. 2186 * src/locale-inst.cc: Same. 2187 * src/locale.cc: Same. 2188 * src/functexcept.cc: Remove string includes. 2189 * include/std/std_bitset.h: Remove stdexcept include. 2190 * testsuite/23_containers/bitset_members.cc: Add stdexcept. 2191 * testsuite/23_containers/bitset_ctor.cc: Same. 2192 21932002-02-11 Benjamin Kosnik <[email protected]> 2194 2195 * include/bits/stl_algo (__stl_threshold): Declare external. 2196 (__stl_chunk_size): Same. 2197 * include/bits/stl_bvector.h (__WORD_BIT): Same. 2198 * include/bits/stl_tree.h (_S_rb_tree_red): Same. 2199 (_S_rb_tree_black): Same. 2200 * src/stl-inst.cc (__stl_threshold): Define. 2201 (__stl_chunk_size): Same. 2202 (__WORD_BIT): Same. 2203 (_S_rb_tree_red): Same. 2204 (_S_rb_tree_black): Same. 2205 2206 * config/io/basic_file_libio.h (__basic_file): Add declarations. 2207 * include/bits/basic_file.h: Remove. 2208 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION 2209 Declare generic types, specialization. 2210 * config/io/basic_file_stdio.cc: Definitions. 2211 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE. 2212 Declare generic types. 2213 * include/Makefile.am (bits_headers): Remove basic_file.h. 2214 (extra_target_headers): Change basic_file_model.h to basic_file.h. 2215 (stamp-target): Same. 2216 2217 * include/bits/stl_alloc.h: Tweaks. 2218 * include/bits/localefwd.h: Same. 2219 22202002-02-11 Aaron W LaFramboise <[email protected]> 2221 2222 * include/bits/locale_facets.tcc (collate::do_hash): Fix. 2223 * testsuite/22_locale/collate_members_char.cc (test03): New test. 2224 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same. 2225 22262002-02-10 Phil Edwards <[email protected]> 2227 2228 * include/bits/stl_algo.h (transform (both signatures), generate_n): 2229 Use __typeof__ in concept checks. 2230 22312002-02-10 Jonathan Wakely <[email protected]> 2232 2233 * include/bits/stl_algo.h (__median, for_each, find, find_if, 2234 adjacent_find, count, count_if, search, search_n, swap_ranges, 2235 transform, replace, replace_if, replace_copy, replace_copy_if, 2236 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if, 2237 unique, unique_copy, reverse, reverse_copy): Doxygenate. 2238 22392002-02-08 Benjamin Kosnik <[email protected]> 2240 2241 * include/bits/locale_facets.h 2242 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition. 2243 (__timepunct<_CharT>::_M_initialize_timepunct): Same. 2244 (__timepunct<_CharT>::_M_put_helper): Same. 2245 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same. 2246 2247 * include/bits/fstream.tcc (filebuf::underflow): Remove 2248 __codecvt_type typedef. 2249 (filebuf::_M_convert_to_external): Same. 2250 22512002-02-08 Phil Edwards <[email protected]> 2252 2253 * docs/doxygen/TODO: Update. 2254 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description. 2255 * docs/doxygen/mainpage.html: Add TODO list link. 2256 * docs/doxygen/user.cfg.in: Add @doctodo hook. 2257 * docs/doxygen/tables.html: New file, emoty structure only. 2258 2259 * include/bits/stl_iterator.h: Doxygenate just about everything. 2260 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces. 2261 * include/bits/stl_iterator_base_types.h: Add notes. 2262 22632002-02-07 Stephan Buys <[email protected]> 2264 2265 * include/bits/stl_map.h: Tweak doxygen markup. 2266 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces. 2267 * include/bits/stl_vector.h: Likewise. 2268 22692002-02-07 Benjamin Kosnik <[email protected]> 2270 2271 libstdc++/5286 2272 libstdc++/3860 2273 * include/std/std_fstream.h (filebuf::__file_type): Change to 2274 __basic_file<char>. 2275 (filebuf::_M_convert_to_external): Declare. 2276 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define 2277 codecvt bits for wide streams. 2278 (filebuf::_M_really_overflow): Use it. 2279 (filebuf::underflow): Use codecvt. 2280 * config/locale/codecvt_specializations_ieee_1003.1-200x.h: 2281 (codecvt<__enc_traits>::do_out): Deal with partial. 2282 (codecvt<__enc_traits>::do_encoding): Return something useful. 2283 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof 2284 wchar_t. 2285 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01): 2286 Change expected encoding output. 2287 (test02): Same. 2288 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same. 2289 (test02): Same. 2290 22912002-02-07 Benjamin Kosnik <[email protected]> 2292 Wolfgang Bangerth <[email protected]> 2293 2294 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value. 2295 (basic_ios::widen): Same. 2296 22972002-02-07 Paolo Carlini <[email protected]> 2298 2299 * testsuite/22_locale/money_get_members_char.cc: 2300 Add comment, tidy up. 2301 (test01): more "en_HK" tests (without showbase). 2302 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto. 2303 23042002-02-06 Loren Rittle <[email protected]> 2305 2306 * config/locale/c_locale_generic.cc: Do not trust 2307 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as 2308 set by configure. 2309 23102002-02-06 Loren Rittle <[email protected]> 2311 2312 * acinclude.m4: Add C++ linkage check for strtof. 2313 * aclocal.m4: Rebuilt. 2314 * config.h.in: Rebuilt. 2315 * configure: Rebuilt. 2316 * config/locale/c_locale_generic.cc: Conditionally include 2317 <ieeefp.h>. Improve handling and error checking of float 2318 and long double input for non-C99 configurations. 2319 23202002-02-06 Paolo Carlini <[email protected]> 2321 2322 * include/bits/locale_facets.tcc (money_get::do_get(string)): 2323 In case money_base::symbol deal properly with multi-char sign 2324 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}. 2325 * testsuite/22_locale/money_get_members_char.cc: Add test07. 2326 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07. 2327 23282002-02-05 Paolo Carlini <[email protected]> 2329 2330 * include/bits/locale_facets.tcc (money_get::do_get(string)): 2331 First construct a tentative returned string, then, only if the 2332 parsing succeeds, copy it into the string passed by reference. 2333 * testsuite/22_locale/money_get_members_char.cc: Add test06. 2334 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06. 2335 23362002-02-04 Phil Edwards <[email protected]> 2337 2338 * docs/doxygen/TODO: Impl-defined behavior now documented... 2339 * docs/html/17_intro/howto.html: ...here. 2340 * docs/doxygen/mainpage.doxy: Remove, rename... 2341 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license. 2342 * docs/doxygen/style.css: Add small text. 2343 * docs/doxygen/run_doxygen: Adjust for new mainpage. 2344 * docs/doxygen/user.cfg.in: Likewise. 2345 23462002-02-04 Stephan Buys <[email protected]> 2347 2348 * include/bits/stl_map.h: Initial doxygen markup. 2349 * include/std/std_fstream.h: Initial doxygen markup. 2350 23512002-02-04 Paolo Carlini <[email protected]> 2352 2353 libstdc++/5579 2354 * include/bits/locale_facets.tcc (money_get::do_get(string)): 2355 Deal correctly with !(__io.flags() & ios_base::showbase) 2356 for case money_base::symbol. 2357 * testsuite/22_locale/money_get_members_char.cc: Add test05. 2358 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05. 2359 23602002-02-02 Paolo Carlini <[email protected]> 2361 2362 * testsuite/22_locale/operators.cc 2363 (gnu_collate::do_compare()): Add return statement to 2364 suppress "no return statement" warning. 2365 23662002-02-01 Paolo Carlini <[email protected]> 2367 2368 * testsuite/27_io/ostream_manip.cc: Enable test02. 2369 23702002-02-01 Phil Edwards <[email protected]> 2371 2372 * docs/html/documentation.html: Update for 3.0.96. 2373 * docs/html/faq/index.html: Update for 3.0.96. 2374 * docs/html/faq/index.txt: Regenerated. 2375 * docs/doxygen/TODO: Update notes. 2376 * docs/html/17_intro/howto.html: Initial impl-specific listing. 2377 23782002-01-31 Benjamin Kosnik <[email protected]> 2379 2380 * config/locale/codecvt_specializations_ieee_1003.1-200x.h: 2381 Initialize all data members in copy ctor. Make ctors explicit. 2382 (__enc_traits::__enc_traits()): Default ctor does nothing. 2383 (__enc_traits::_M_init): Guard against multiple iconv_opens. 2384 * include/std/std_sstream.h (basic_stringbuf): Make data members 2385 protected. 2386 * include/std/std_fstream.h (basic_filebuf): Same. 2387 * include/std/std_streambuf.h: Tweak. 2388 * include/bits/streambuf.tcc: Same. 2389 * include/bits/sstream.tcc: Same. 2390 * include/bits/fstream.tcc: Same. 2391 23922002-01-31 Loren Rittle <[email protected]> 2393 2394 * testsuite/22_locale/codecvt_members_char_char.cc: Do not 2395 allow NULL argument to be passed to setenv(). 2396 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise. 2397 * testsuite/22_locale/collate_members_char.cc: Likewise. 2398 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise. 2399 * testsuite/22_locale/ctype_members_char.cc: Likewise. 2400 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise. 2401 * testsuite/22_locale/messages_members_char.cc: Likewise. 2402 * testsuite/22_locale/money_get_members_char.cc: Likewise. 2403 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise. 2404 * testsuite/22_locale/money_put_members_char.cc: Likewise. 2405 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise. 2406 * testsuite/22_locale/moneypunct_members_char.cc: Likewise. 2407 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise. 2408 * testsuite/22_locale/num_get_members_char.cc: Likewise. 2409 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise. 2410 * testsuite/22_locale/num_put_members_char.cc: Likewise. 2411 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise. 2412 * testsuite/22_locale/numpunct_members_char.cc: Likewise. 2413 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise. 2414 * testsuite/22_locale/time_get_members_char.cc: Likewise. 2415 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise. 2416 * testsuite/22_locale/time_put_members_char.cc: Likewise. 2417 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise. 2418 24192002-01-30 Benjamin Kosnik <[email protected]> 2420 2421 * config/locale/c_locale_gnu.cc: Same errno fixes as generic. 2422 2423 * ChangeLog-2001: Fix spelling errors... 2424 * docs/html/17_intro/RELEASE-NOTES: Update. 2425 * docs/html/17_intro/TODO: Update. 2426 * README (file): Update. 2427 24282002-01-30 Loren Rittle <[email protected]> 2429 2430 * config/locale/c_locale_generic.cc: Check errno for ERANGE 2431 instead of non-zero to aid portability. 2432 24332002-01-30 Peter Schmid <[email protected]> 2434 2435 * docs/html/22_locale/messages.html: Fix example code. 2436 24372002-01-30 Richard Henderson <[email protected]> 2438 2439 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break 2440 out from test03 and templatize. 2441 (test03): Use it. 2442 24432002-01-30 Paolo Carlini <[email protected]> 2444 2445 * config/locale/numpunct_members_gnu.cc 2446 (numpunct<char, wchar_t>::_M_initialize_numpunct()): 2447 Fix initialization of _M_grouping for locales which have 2448 _M_thousands_sep == '\0'(L'\0', respectively). 2449 * testsuite/22_locale/numpunct_byname.cc (test02): Add test. 2450 24512002-01-30 Paolo Carlini <[email protected]> 2452 2453 * testsuite/27_io/ostream_inserter_arith.cc (test03): 2454 Better fix for 32/64 bit architectures, avoiding the 2455 implicit assumption that CHAR_BIT == 8. 2456 24572002-01-28 Phil Edwards <[email protected]> 2458 2459 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets. 2460 * Makefile.in: Regenerate. 2461 2462 * docs/doxygen/run_doxygen: Update, mostly for man pages. 2463 * docs/doxygen/Intro.3: Update. 2464 * docs/doxygen/TODO: Update. 2465 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx. 2466 * docs/doxygen/mainpage.doxy: Update. 2467 * docs/doxygen/user.cfg.in: Update for header rename. Also 2468 regenerate comments and variables with 1.2.12. 2469 * docs/doxygen/maint.cfg.in: Remove file. 2470 2471 * include/bits/stl_relops.h: Doxygenate. 2472 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise. 2473 2474 * include/c_std/std_cassert.h, include/c_std/std_cctype.h, 2475 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h, 2476 include/c_std/std_ciso646.h, include/c_std/std_climits.h, 2477 include/c_std/std_clocale.h, include/c_std/std_cmath.h, 2478 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h, 2479 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h, 2480 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h, 2481 include/c_std/std_cstring.h, include/c_std/std_ctime.h, 2482 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h, 2483 include/ext/algorithm, include/ext/functional, include/ext/hash_map, 2484 include/ext/hash_set, include/ext/iterator, include/ext/memory, 2485 include/ext/numeric, include/ext/rb_tree, include/ext/rope, 2486 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h, 2487 include/ext/stl_hashtable.h, include/ext/stl_rope.h, 2488 include/std/std_algorithm.h, include/std/std_bitset.h, 2489 include/std/std_complex.h, include/std/std_deque.h, 2490 include/std/std_fstream.h, include/std/std_functional.h, 2491 include/std/std_iomanip.h, include/std/std_ios.h, 2492 include/std/std_iosfwd.h, include/std/std_iostream.h, 2493 include/std/std_istream.h, include/std/std_iterator.h, 2494 include/std/std_limits.h, include/std/std_list.h, 2495 include/std/std_locale.h, include/std/std_map.h, 2496 include/std/std_memory.h, include/std/std_numeric.h, 2497 include/std/std_ostream.h, include/std/std_queue.h, 2498 include/std/std_set.h, include/std/std_sstream.h, 2499 include/std/std_stack.h, include/std/std_stdexcept.h, 2500 include/std/std_streambuf.h, include/std/std_string.h, 2501 include/std/std_utility.h, include/std/std_valarray.h, 2502 include/std/std_vector.h: Add/correct @file doxygen hook. 2503 2504 * include/ext/memory: Doxygenate most of rest of file. 2505 * libsupc++/exception: Doxygen output formatting. 2506 * libsupc++/new: Say which header it is. 2507 2508 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing. 2509 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch. 2510 * docs/html/23_containers/howto.html: Describe O(n) list::size(). 2511 * docs/html/27_io/howto.html: Also link to Langer and Kreft text. 2512 25132002-01-28 Paolo Carlini <[email protected]> 2514 Charles Leggett <[email protected]> 2515 2516 * testsuite/27_io/filebuf_members.cc (test_05): Add test. 2517 25182002-01-28 Paolo Carlini <[email protected]> 2519 2520 * testsuite/27_io/ostream_inserter_arith.cc (test03): 2521 Fix to deal correctly with both 32 bit and 64 bit architectures 2522 25232002-01-25 Loren Rittle <[email protected]> 2524 2525 * testsuite/thread/pthread1.cc: Use one condition variable 2526 per predicate instead of tricky use of one condition variable. 2527 25282002-01-25 Benjamin Kosnik <[email protected]> 2529 2530 * include/bits/fstream.tcc (filebuf::close()): Fix close for input 2531 streams. 2532 (filebuf::_M_really_overflow): Match indeterminate and sync calls. 2533 * testsuite/27_io/filebuf.cc: Compile only. 2534 * testsuite/27_io/filebuf_members.cc: Move tests to here. 2535 * testsuite/27_io/filebuf_virtuals.cc: And here. 2536 Revert sungetc, sync changes for expected values. 2537 * testsuite/27_io/filebuf-*: Move to... 2538 * testsuite/27_io/filebuf_virtuals-*: ...here. 2539 * testsuite/27_io/istream.cc: Compile only, activate. 2540 * testsuite/27_io/ostream.cc: Same. 2541 * testsuite/27_io/iostream.cc: New. 2542 * testsuite/27_io/iostream_members.cc: New. 2543 25442002-01-25 David Billinghurst <[email protected]> 2545 2546 * testsuite/thread/pthread1.cc: Enable on cygwin. 2547 * testsuite/thread/pthread2.cc: Likewise. 2548 * testsuite/thread/pthread3.cc: Likewise. 2549 * testsuite/thread/pthread4.cc: Likewise. 2550 * testsuite/thread/pthread5.cc: Likewise. 2551 * testsuite/thread/pthread6.cc: Likewise. 2552 25532002-01-24 Benjamin Kosnik <[email protected]> 2554 2555 * testsuite/27_io/ostream_inserter_char.cc (test07): New. 2556 25572002-01-24 Benjamin Kosnik <[email protected]> 2558 2559 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make 2560 const, tweak. 2561 (basic_ios::fill(char_type)): Use fill(). 2562 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet. 2563 (basic_ios::narrow): Same. 2564 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero 2565 if they are invalid. 2566 (basic_ios::init): Comment. 2567 * testsuite/27_io/ios_init.cc (test02): New. 2568 25692002-01-24 Phil Edwards <[email protected]> 2570 2571 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook. 2572 * include/bits/stl_algo.h: Include stl_tempbuf.h. 2573 * include/ext/memory: Do not include stl_tempbuf.h. 2574 (temporary_buffer): Add doxygen hook. 2575 (__get_temporary_buffer, get_temporary_buffer, 2576 return_temporary_buffer): Move back to std:: header... 2577 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h. 2578 * include/ext/rope: Do not include stl_tempbuf.h. 2579 * include/ext/stl_hashtable.h: Likewise. 2580 * include/std/std_algorithm.h: Likewise. 2581 * testsuite/20_util/temporary_buffer.cc: New file. 2582 25832002-01-24 [email protected] 2584 (tweaks, test and commit by Loren J. Rittle <[email protected]>) 2585 2586 libstdc++/5432 2587 * include/bits/ios_base.h: Use _Atomic_word for reference counts. 2588 * include/bits/localefwd.h: Likewise. 2589 Also use for std::locale::id::_S_highwater. 2590 * src/ios.cc (ios_base::xalloc): Use _Atomic_word. 2591 * src/locale.cc: Support new usage of _Atomic_word. 2592 (std::locale::classic): Guard entire function against reentry. 2593 * src/localename.cc: Support new usage of _Atomic_word. 2594 25952002-01-24 Benjamin Kosnik <[email protected]> 2596 2597 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use 2598 _GLIBCPP_HAVE_SETENV. 2599 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same. 2600 * testsuite/22_locale/collate_members_char.cc (test02): Same. 2601 * testsuite/22_locale/ctype_members_char.cc (test03): Same. 2602 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same. 2603 * testsuite/22_locale/messages_members_char.cc (test02): Same. 2604 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same. 2605 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same. 2606 * testsuite/22_locale/money_put_members_char.cc (test04): Same. 2607 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same. 2608 * testsuite/22_locale/num_get_members_char.cc (test03): Same. 2609 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same. 2610 * testsuite/22_locale/numpunct_members_char.cc (test02): Same. 2611 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same. 2612 * testsuite/22_locale/time_get_members_char.cc (test07): Same. 2613 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same. 2614 * testsuite/22_locale/time_put_members_char.cc (test03): Same. 2615 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same. 2616 * testsuite/22_locale/num_put_members_char.cc (test03): Same. 2617 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv. 2618 * aclocal.m4: Regenerate. 2619 * configure: Regenerate. 2620 * config.h.in: Regenerate. 2621 26222002-01-23 Loren Rittle <[email protected]> 2623 2624 * testsuite/thread/pthread1.cc: New test. 2625 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347. 2626 * testsuite/thread/pthread3.cc: Likewise. 2627 * testsuite/thread/pthread4.cc: New test adapted from 2628 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html 2629 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464. 2630 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444. 2631 26322002-01-23 Richard Henderson <[email protected]> 2633 2634 PR libstdc++/5198 2635 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use 2636 CAS on the cpu variants that support it. Add versions that use 2637 TAS and that disable interrupts. 2638 (__atomic_add): Use __exchange_and_add to guarantee atomicity. 2639 26402002-01-23 Matt Kraai <[email protected]> 2641 2642 * include/bits/locale_facets.tcc: Remove old comments. 2643 26442002-01-23 Andreas Tobler <[email protected]> 2645 2646 * include/bits/locale_facets.tcc (__convert_to_v): Change template 2647 parameter to _Tv. 2648 (__convert_from_v): Same. 2649 26502002-01-23 Benjamin Kosnik <[email protected]> 2651 2652 * include/bits/locale_facets.h (num_get::_M_extract_int): Change 2653 prototype. 2654 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove 2655 __max_digits checks, adjust arguments. 2656 (num_get::do_get(*)): Changeup. 2657 26582002-01-23 Loren Rittle <[email protected]> 2659 2660 * config/locale/c_locale_generic.cc: Fix typename usage. 2661 26622002-01-22 Benjamin Kosnik <[email protected]> 2663 2664 * config/locale/c_locale_generic.cc: Fix. 2665 26662002-01-22 Benjamin Kosnik <[email protected]> 2667 2668 * docs/html/22_locale/messages.html: Remove angle brackets. 2669 * docs/html/17_intro/TODO: Add. 2670 26712002-01-22 Paolo Carlini <[email protected]> 2672 2673 * testsuite/27_io/ios_manip_basefield.cc: Enable test02. 2674 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03. 2675 * testsuite/27_io/ostream_inserter_char.cc: Enable test01. 2676 * testsuite/27_io/ostream_inserter_other.cc: Enable test04. 2677 26782002-01-22 Benjamin Kosnik <[email protected]> 2679 2680 Audit for LANG independence. 2681 * include/bits/localefwd.h: Tweaks. 2682 * include/bits/locale_facets.tcc (money_get::do_get(long double)): 2683 Use __convert_to_v. 2684 (time_get::do_get_year): Same. 2685 (__convert_from_v): Add. 2686 (num_put::_M_convert_float): Use. 2687 (num_put::_M_convert_int): Same. 2688 (money_put::do_put): Same. 2689 2690 * src/locale-inst.cc: Add instantiations for __convert_from_v. 2691 * config/locale/time_members_gnu.cc: Cleanup setlocale usage. 2692 * config/locale/time_members_generic.cc: 2693 * config/locale/messages_members_gnu.cc: Same. 2694 * config/locale/messages_members_gnu.h: Same. 2695 2696 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New. 2697 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New. 2698 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New. 2699 * testsuite/22_locale/collate_members_char.cc (test02): New. 2700 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New. 2701 * testsuite/22_locale/ctype_members_char.cc (test03): New. 2702 * testsuite/22_locale/messages_members_char.cc (test02): New. 2703 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New. 2704 * testsuite/22_locale/moneypunct_members_char.cc (test02): New. 2705 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New. 2706 * testsuite/22_locale/money_get_members_char.cc (test04): New. 2707 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New. 2708 * testsuite/22_locale/money_put_members_char.cc (test04): New. 2709 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New. 2710 * testsuite/22_locale/numpunct_members_char.cc (test02): New. 2711 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New. 2712 * testsuite/22_locale/time_put_members_char.cc (test03): New. 2713 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New. 2714 * testsuite/22_locale/time_get_members_char.cc (test07): New. 2715 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New. 2716 * testsuite/22_locale/num_get_members_char.cc (test03): New. 2717 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New. 2718 * testsuite/22_locale/num_put_members_char.cc (test03): New. 2719 2720 * testsuite/22_locale/time_get_members_char.cc: Fixups for global 2721 locale issues. 2722 * testsuite/22_locale/time_get_members_char.cc: Same. 2723 27242002-01-22 Benjamin Kosnik <[email protected]> 2725 2726 libstdc++/5280 2727 * include/bits/localefwd.h: Tweak comments. 2728 * include/bits/locale_facets.h (__convert_to_v): Add. 2729 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it. 2730 (num_get::do_get(float)): Same. 2731 (num_get::do_get(long double)): Same. 2732 (num_get::do_get(bool)): Same. 2733 (num_get::do_get(long)): Same. 2734 (num_get::do_get(long long)): Same. 2735 (num_get::do_get(unsigned int)): Same. 2736 (num_get::do_get(unsigned short)): Same. 2737 (num_get::do_get(unsigned long)): Same. 2738 (num_get::do_get(unsigned long long)): Same. 2739 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize. 2740 * config/locale/c_locale_generic.cc: Same. 2741 27422002-01-22 Loren Rittle <[email protected]> 2743 2744 * include/Makefile.am (c_base_builddir): Remove redundant slash. 2745 (std_builddir): Likewise. 2746 (std_headers_rename): Fix cut-n-paste typo. 2747 (install-data-local): Concat path per element instead of once to 2748 first element of list. 2749 * include/Makefile.in: Rebuilt. 2750 27512002-01-22 Benjamin Kosnik <[email protected]> 2752 2753 * config/os/aix/bits/ctype_noninline.h: Fix formatting. 2754 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo. 2755 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting. 2756 27572002-01-20 Benjamin Kosnik <[email protected]> 2758 2759 * include/bits/locale_facets.h (ctype<char>::classic_table): 2760 Remove definition. 2761 (ctype<char>::_S_ctable): Remove. 2762 * config/os/gnu-linux/bits/ctype_noninline.h 2763 (ctype<char>::_S_table): Remove definition. 2764 (ctype<char>::classic_table): Define. 2765 (ctype<char>::ctype): Replace _S_ctable with classic_table(). 2766 * config/os/aix/bits/ctype_noninline.h: Same. 2767 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same. 2768 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same. 2769 * config/os/djgpp/bits/ctype_noninline.h: Same. 2770 * config/os/generic/bits/ctype_noninline.h: Same. 2771 * config/os/gnu-linux/bits/ctype_noninline.h: Same. 2772 * config/os/hpux/bits/ctype_noninline.h: Same. 2773 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same. 2774 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same. 2775 * config/os/mingw32/bits/ctype_noninline.h: Same. 2776 * config/os/newlib/bits/ctype_noninline.h: Same. 2777 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same. 2778 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same. 2779 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same. 2780 27812002-01-20 Danny Smith <[email protected]> 2782 2783 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead 2784 of _pctype. Use to define _S_ctable. Add definition for alternate 2785 ctor. Initialise _M_ctable to _S_ctable in ctors. 2786 (do_toupper, do_tolower): Use inline code appropriate for C-locale 2787 rather than ::toupper, ::tolower. 2788 27892002-01-18 Loren Rittle <[email protected]> 2790 2791 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>): 2792 Add specialization for FreeBSD systems only to avoid losing test 2793 only due to extra precision unmentioned in system headers. 2794 27952002-01-18 David Billinghurst <[email protected]> 2796 2797 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo 2798 27992002-01-17 Nick Clifton <[email protected]> 2800 2801 * testsuite/testsuite_hooks.h: Fix comment typo. Memory 2802 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined. 2803 28042002-01-17 Peter Schmid <[email protected]> 2805 2806 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check. 2807 28082002-01-17 David Edelsohn <[email protected]> 2809 2810 * configure.target: Define OPT_LDFLAGS for AIX case. 2811 28122002-01-17 Gabriel Dos Reis <[email protected]> 2813 2814 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN, 2815 __glibcpp_double_has_quiet_NaN): Correct mispelling. 2816 28172002-01-17 Andreas Tobler <[email protected]> 2818 2819 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix. 2820 28212002-01-16 David Edelsohn <[email protected]> 2822 2823 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear 2824 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type. 2825 * aclocal.m4: Regenerate. 2826 * configure: Regenerate. 2827 28282002-01-16 Benjamin Kosnik <[email protected]> 2829 2830 * include/Makefile.am (c_base_headers_rename): New. 2831 (c_base_headers_extra): New. 2832 (stamp-c_base): Modify. 2833 (install-data-local): Use both. 2834 * include/Makefile.in: Regenerate. 2835 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits 2836 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal 2837 cstdio ctime cwctype]: Move to.. 2838 * include/c/std_*: Here. 2839 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits 2840 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal 2841 cstdio ctime cwctype]: Move to.. 2842 * include/c_std/std_*: Here. 2843 2844 Alexandre Oliva <[email protected]> 2845 * include/Makefile.am (.PRECIOUS): Add rule. 2846 * include/Makefile.in: Regenerate. 2847 28482002-01-16 Benjamin Kosnik <[email protected]> 2849 Peter Schmid <[email protected]> 2850 2851 * include/bits/stl_iterator.h (reverse_iterator::_M_current): 2852 Deuglify, should be current. 2853 (back_insert_iterator::_M_container): Deuglify, should be container. 2854 (front_insert_iterator::_M_container): Same. 2855 (insert_iterator::_M_container): Same. 2856 * testsuite/24_iterators/reverse_iterator.cc: Add check. 2857 * testsuite/24_iterators/back_insert_iterator.cc: Add check. 2858 * testsuite/24_iterators/front_insert_iterator.cc: Same. 2859 * testsuite/24_iterators/insert_iterator.cc: Same. 2860 28612002-01-16 Benjamin Kosnik <[email protected]> 2862 2863 * include/bits/locale_facets.h (ctype<char>::classic_table): Make 2864 static. 2865 (ctype<char>::_M_ctable): Make static, change name to _S_ctable. 2866 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable. 2867 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same. 2868 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same. 2869 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same. 2870 * config/os/newlib/bits/ctype_noninline.h: Same. 2871 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same. 2872 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same. 2873 * config/os/hpux/bits/ctype_noninline.h: Same. 2874 * config/os/djgpp/bits/ctype_noninline.h: Same. 2875 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same. 2876 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same. 2877 * config/os/aix/bits/ctype_noninline.h: Same. 2878 2879 Testcase by Dietmar K�hl via Peter Schmid 2880 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for 2881 classic_table(). 2882 28832002-01-16 Benjamin Kosnik <[email protected]> 2884 2885 * libmath/signbitl.c: Copyright years as list, not range. 2886 * libmath/Makefile.am: Same. 2887 * libmath/Makefie.in: Regenerate. 2888 * libmath/signbit.c: Same. 2889 * libmath/nan.c: Same. 2890 * libmath/copysignf.c: Same. 2891 * libmath/signbitf.c: Same. 2892 * testsuite/22_locale/money_get_members_char.cc: Same. 2893 * testsuite/22_locale/money_get_members_wchar_t.cc: Same. 2894 * testsuite/22_locale/money_put_members_char.cc: Same. 2895 * testsuite/22_locale/money_put_members_wchar_t.cc: Same. 2896 * testsuite/22_locale/time_get_members_char.cc: Same. 2897 * testsuite/22_locale/time_get_members_wchar_t.cc: Same. 2898 * testsuite/22_locale/time_put_members_char.cc: Same. 2899 * testsuite/22_locale/time_put_members_wchar_t.cc: Same. 2900 * testsuite/21_strings/nonmember.cc: Same. 2901 * testsuite/21_strings/compare.cc: Same. 2902 * testsuite/27_io/stringstream.cc: Same. 2903 * testsuite/27_io/stringbuf.cc: Same. 2904 * testsuite/27_io/filebuf.cc: Same. 2905 * testsuite/27_io/ios_manip_basefield.cc: Same. 2906 * testsuite/27_io/ios_manip_fmtflags.cc: Same. 2907 * include/bits/cpp_type_traits.h: Same. 2908 * include/bits/generic_shadow.h: Same. 2909 * include/bits/gslice_array.h: Same. 2910 * include/bits/gslice.h: Same. 2911 * include/bits/indirect_array.h: Same. 2912 * include/bits/slice_array.h: Same. 2913 * include/bits/sstream.tcc: Same. 2914 * include/bits/streambuf_iterator.h: Same. 2915 * include/bits/valarray_array.tcc: Same. 2916 * include/bits/valarray_meta.h: Same. 2917 * include/bits/valarray_array.h: Same. 2918 * config/os/mingw32/bits/ctype_noninline.h: Same. 2919 * config/os/mingw32/bits/ctype_base.h: Same. 2920 * config/os/hpux/bits/ctype_noninline.h: Same. 2921 * config/os/hpux/bits/ctype_base.h: Same. 2922 * config/os/gnu-linux/bits/ctype_noninline.h: Same. 2923 * config/os/gnu-linux/bits/ctype_base.h: Same. 2924 * config/os/generic/bits/ctype_noninline.h: Same. 2925 * config/os/generic/bits/ctype_base.h: Same. 2926 2927 * libsupc++/tinfo.h: Tweaks. 2928 29292002-01-15 Benjamin Kosnik <[email protected]> 2930 2931 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same. 2932 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak. 2933 * testsuite/22_locale/ctype_members_char.cc: Tweak. 2934 29352002-01-15 Benjamin Kosnik <[email protected]> 2936 2937 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix. 2938 (num_put::do_put(void*)): Fix. 2939 * testsuite/22_locale/num_put_members_char.cc (test02): Add. 2940 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add. 2941 * testsuite/22_locale/num_get_members_char.cc (test02): Add 2942 long double, void, bool types. 2943 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add. 2944 29452002-01-15 Benjamin Kosnik <[email protected]> 2946 Alexandre Oliva <[email protected]> 2947 2948 * libmath/Makefile.am (LINK): Add --tag CC. 2949 * libmath/Makefile.in: Regenerate. 2950 29512002-01-15 John David Anglin <[email protected]> 2952 2953 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address 2954 of character to attribute mapping table. 2955 29562002-01-15 David Billinghurst <[email protected]> 2957 2958 * testsuite/26_numerics/c99_classification_macros_c.cc 2959 Remove dg-error and dg-excess-errors comments. 2960 29612002-01-14 Benjamin Kosnik <[email protected]> 2962 2963 * include/bits/locale_facets.tcc (time_put::put): Correct output 2964 iterator positions. 2965 * testsuite/22_locale/time_put_members_char.cc (test02): Add. 2966 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add. 2967 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add. 2968 * testsuite/22_locale/time_get_members_char.cc (test06): Add. 2969 29702002-01-14 Craig Rodrigues <[email protected]> 2971 2972 * docs/html/17_intro/porting-howto.xml: Update filebuf section. 2973 29742002-01-14 Paolo Carlini <[email protected]> 2975 Nathan Myers <[email protected]> 2976 2977 * include/bits/basic_string.h 2978 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding 2979 temporaries (i.e., call _M_replace_safe) when possible. 2980 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2). 2981 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2). 2982 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n). 2983 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n). 2984 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2). 2985 * include/bits/basic_string.tcc 2986 (replace(__pos1, __n1, __str, __pos2, __n2)): Call 2987 replace(__pos, __n1, __s, __n2). 2988 * testsuite/21_strings/replace.cc (test03): New testcases. 2989 2990 * include/bits/basic_string.h (insert(__pos, __s, __n)): 2991 Adjust comparison wrt overflow. 2992 29932002-01-12 Benjamin Kosnik <[email protected]> 2994 2995 * include/Makefile.am (std_headers_rename): New variable. 2996 (install-data-local): Use it. 2997 * include/Makefile.in: Regenerate. 2998 29992002-01-12 Benjamin Kosnik <[email protected]> 3000 3001 * include/bits/locale_facets.tcc (money_put::do_put(string): 3002 Correct output iterator value. 3003 * testsuite/22_locale/money_put_members_char.cc (test03): Add. 3004 * testsuite/22_locale/money_put_members_wchar_t.cc: Same. 3005 30062002-01-11 Phil Edwards <[email protected]> 3007 3008 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from 3009 previous commit. 3010 30112002-01-11 Phil Edwards <[email protected]> 3012 3013 * include/Makefile.am (std_headers): Update list with new names. 3014 (stamp-std): Link to standardized name. 3015 * include/Makefile.in: Regenerate. 3016 3017 * include/std/algorithm, include/std/bitset, include/std/complex, 3018 include/std/deque, include/std/fstream, include/std/functional, 3019 include/std/iomanip, include/std/ios, include/std/iosfwd, 3020 include/std/iostream, include/std/istream, include/std/iterator, 3021 include/std/limits, include/std/list, include/std/locale, 3022 include/std/map, include/std/memory, include/std/numeric, 3023 include/std/ostream, include/std/queue, include/std/set, 3024 include/std/sstream, include/std/stack, include/std/stdexcept, 3025 include/std/streambuf, include/std/string, include/std/utility, 3026 include/std/valarray, include/std/vector: Rename to... 3027 3028 * include/std/std_algorithm.h, include/std/std_bitset.h, 3029 include/std/std_complex.h, include/std/std_deque.h, 3030 include/std/std_fstream.h, include/std/std_functional.h, 3031 include/std/std_iomanip.h, include/std/std_ios.h, 3032 include/std/std_iosfwd.h, include/std/std_iostream.h, 3033 include/std/std_istream.h, include/std/std_iterator.h, 3034 include/std/std_limits.h, include/std/std_list.h, 3035 include/std/std_locale.h, include/std/std_map.h, 3036 include/std/std_memory.h, include/std/std_numeric.h, 3037 include/std/std_ostream.h, include/std/std_queue.h, 3038 include/std/std_set.h, include/std/std_sstream.h, 3039 include/std/std_stack.h, include/std/std_stdexcept.h, 3040 include/std/std_streambuf.h, include/std/std_string.h, 3041 include/std/std_utility.h, include/std/std_valarray.h, 3042 include/std/std_vector.h: ...this. 3043 30442002-01-11 Loren Rittle <[email protected]> 3045 3046 * include/Makefile.am (extra_target_headers): New list of all 3047 target files built with ad hoc naming rules. 3048 (stamp-*): Handle LN_S failure in manner portable across make 3049 implementations. 3050 (install-data-local): Install header files from human-maintained 3051 file lists and directory components instead of non-robust find. 3052 * include/Makefile.in: Rebuilt. 3053 30542002-01-11 Benjamin Kosnik <[email protected]> 3055 3056 * include/bits/locale_facets.tcc (money_get::do_get(string)): 3057 Check for zero-length negative sign before adding it to output 3058 string. 3059 (money_get::do_get(long double)): Return beg. 3060 * testsuite/22_locale/money_get_members_char.cc (test02): Add 3061 iterator checks. 3062 * testsuite/22_locale/money_get_members_wchar_t.cc: Same. 3063 30642002-01-10 David Seymour <[email protected]> 3065 3066 libstdc++/5331 3067 * include/bits/locale_facets.h (num_get<>): Return advanced iterator 3068 for _M_extract_float and _M_extract_int 3069 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float) 3070 (num_get<>::_M_extract_int): Likewise, all callers changed 3071 * testsuite/22_locale/num_get_members_char.cc: Testcase 3072 30732002-01-09 Paolo Carlini <[email protected]> 3074 3075 * libsupc++/exception (bad_exception): Add comment. 3076 * libsupc++/new (bad_alloc): Same. 3077 * libsupc++/typeinfo (bad_cast, bad_typeid): Same. 3078 30792002-01-09 Paolo Carlini <[email protected]> 3080 3081 libstdc++/3150: revert 2001-11-30 commit. DR266 only means 3082 that the destructors should be removed from the descriptions 3083 in the standard: writing them explicitly allows the vtable 3084 heuristic to work. For additional information see: 3085 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html 3086 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html 3087 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html 3088 * libsupc++/exception (bad_exception::~bad_exception()): 3089 Reintroduce declaration. 3090 * libsupc++/new (bad_alloc::~bad_alloc()): Same. 3091 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same. 3092 (bad_typeid::~bad_typeid()): Same. 3093 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()): 3094 Reintroduce definition. 3095 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same. 3096 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same. 3097 (bad_typeid::~bad_typeid()): Same. 3098 30992002-01-09 Benjamin Kosnik <[email protected]> 3100 3101 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'. 3102 * include/Makefile.in: Regenerate. 3103 31042002-01-09 Bo Thorsen <[email protected]> 3105 3106 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add 3107 definition. 3108 31092002-01-08 Benjamin Kosnik <[email protected]> 3110 3111 libstdc++/2913 3112 libstdc++/4879 3113 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test 3114 return value of _M_file->sync(). 3115 (filebuf::showmanyc): Check for is_open. 3116 * include/std/fstream (filebuf::sync): Tweak. 3117 * testsuite/27_io/filebuf.cc: Tweak. 3118 31192002-01-08 John Fardo <[email protected]> 3120 Brad Garcia <[email protected]> 3121 3122 * testsuite/27_io/filebuf_members.cc: Add test. 3123 31242002-01-07 Benjamin Kosnik <[email protected]> 3125 Craig Rodrigues <[email protected]> 3126 3127 libstdc++/5174 3128 * po/Makefile.am (mkinstalldirs): Add. 3129 * po/Makefile.in: Regenerate. 3130 31312002-01-07 David Billinghurst <[email protected]> 3132 3133 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS * 3134 testsuite/lib/prune.exp: Delete lines ":In function ..." from 3135 compiler output. 3136 * testsuite/23_containers/map_operators.cc: Remove 3137 dg-excess-errors comment. 3138 * testsuite/23_containers/set_operators.cc: Likewise. 3139 31402002-01-06 Paolo Carlini <[email protected]> 3141 3142 * include/bits/stl_function.h: Remove two lines of comments; 3143 adjust copyright years. 3144 31452002-01-04 Benjamin Kosnik <[email protected]> 3146 3147 * include/Makefile.am (std_headers): Remove cXXX from list. 3148 (c_base_srcdir): No bits subdirectory. 3149 (c_base_builddir): Same. 3150 (c_base_headers): Adjust names, add ciso646. 3151 (bits_headers): Remove std_xxx.h headers. 3152 * include/Makefile.in: Regenerate. 3153 3154 * include/ext/iterator: Adjust includes. 3155 * include/ext/ropeimpl.h: Same. 3156 * include/ext/stl_hash_fun.h: Same. 3157 * include/ext/algorithm: Same. 3158 3159 * include/backward/bvector.h: Adjust includes. 3160 * include/backward/vector.h: Same. 3161 * include/backward/strstream: Same. 3162 * include/backward/streambuf.h: Same. 3163 * include/backward/stack.h: Same. 3164 * include/backward/set.h: Same. 3165 * include/backward/queue.h: Same. 3166 * include/backward/multiset.h: Same. 3167 * include/backward/multimap.h: Same. 3168 * include/backward/map.h: Same. 3169 * include/backward/list.h: Same. 3170 * include/backward/iterator.h: Same. 3171 * include/backward/iostream.h: Same. 3172 * include/backward/iomanip.h: Same. 3173 * include/backward/fstream.h: Same. 3174 * include/backward/deque.h: Same. 3175 * include/backward/complex.h: Same. 3176 3177 * include/bits/std_algorithm.h: Move to... 3178 * include/std/algorithm: ...here. 3179 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h, 3180 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h, 3181 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h, 3182 std_deque.h, std_istream.h, std_numeric.h, std_string.h, 3183 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h, 3184 std_queue.h, std_valarray.h, std_functional.h, std_limits.h, 3185 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h: 3186 Same. 3187 3188 * include/c_std/bits/std_cassert.h: Move to... 3189 * include/c_std/cassert: Here. 3190 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h, 3191 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h, 3192 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h, 3193 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h, 3194 std_cwctype.h: Same. 3195 * include/c_std/cmath: Adjust cmath.tcc include. 3196 * include/c_std/cstdlib: Adjust includes. 3197 * include/c_std/cwchar: Same. 3198 * include/c_std/ctime: Same. 3199 * include/c_std/cstring: Same. 3200 * include/c_std/cstdio: Same. 3201 * include/c_std/bits: Remove directory. 3202 3203 * include/c/bits/std_cassert.h: Move to... 3204 * include/c/cassert: Here. 3205 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h, 3206 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h, 3207 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h, 3208 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h, 3209 std_cwctype.h: Same. 3210 * include/c/bits: Remove directory. 3211 3212 * include/std/cwctype: Remove. 3213 * include/std/cwchar: Remove. 3214 * include/std/ctime: Remove. 3215 * include/std/cstring: Remove. 3216 * include/std/cstdlib: Remove. 3217 * include/std/cstdio: Remove. 3218 * include/std/cstddef: Remove. 3219 * include/std/cstdarg: Remove. 3220 * include/std/csignal: Remove. 3221 * include/std/csetjmp: Remove. 3222 * include/std/cmath: Remove. 3223 * include/std/clocale: Remove. 3224 * include/std/climits: Remove. 3225 * include/std/ciso646: Remove. 3226 * include/std/cfloat: Remove. 3227 * include/std/cerrno: Remove. 3228 * include/std/cctype: Remove. 3229 * include/std/cassert: Remove. 3230 3231 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h> 3232 files and subsituting <xxx>. 3233 * include/bits/valarray_array.h: Same. 3234 * include/bits/stl_uninitialized.h: Same. 3235 * include/bits/stl_alloc.h: Same. 3236 * include/bits/stl_algobase.h: Same. 3237 * include/bits/sstream.tcc: Same. 3238 * include/bits/pthread_allocimpl.h: Same. 3239 * include/bits/ostream.tcc: Same. 3240 * include/bits/localefwd.h: Same. 3241 * include/bits/locale_facets.tcc: Same. 3242 * include/bits/locale_facets.h: Same. 3243 * include/bits/istream.tcc: Same. 3244 * include/bits/char_traits.h: Same. 3245 * include/bits/boost_concept_check.h: Same. 3246 * include/bits/basic_file.h: Same. 3247 * include/std/bitset: Same. 3248 * include/std/complex: Same. 3249 * include/std/fstream: Same. 3250 * include/std/functional: Same. 3251 * include/std/ios: Same. 3252 * include/std/iostream: Same. 3253 * include/std/ostream: Same. 3254 * include/std/sstream: Same. 3255 * include/std/streambuf: Same. 3256 * include/std/string: Same. 3257 * include/std/iterator: Same. 3258 * include/std/valarray: Same. 3259 3260 * src/ios.cc: Adjust includes. 3261 * src/valarray-inst.cc: Same. 3262 * src/string-inst.cc: Same. 3263 * src/stl-inst.cc: Same. 3264 * src/stdexcept.cc: Same. 3265 * src/misc-inst.cc: Same. 3266 * src/localename.cc: Same. 3267 * src/locale-inst.cc: Same. 3268 * src/locale.cc: Same. 3269 * src/limits.cc: Same. 3270 * src/concept-inst.cc: Same. 3271 * src/complex_io.cc: Same. 3272 * src/codecvt.cc: Same. 3273 * src/bitset.cc: Same. 3274 * src/cmath.cc: Same. 3275 32762002-01-04 Paolo Carlini <[email protected]> 3277 3278 * include/bits/stl_tree.h (rb_tree): Move to... 3279 * include/ext/rb_tree: ...here, new file. 3280 * include/Makefile.am (ext_headers): Add new file. 3281 * include/Makefile.in: Regenerate. 3282 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper, 3283 return_temporary_buffer, struct temporary_buffer): Move to... 3284 * include/ext/memory: ...here. 3285 * testsuite/ext/headers.cc: Include <ext/rb_tree>. 3286 * include/backward/tempbuf.h: Include <ext/memory>, tweak. 3287 * include/backward/tree.h: Include <ext/rb_tree), tweak. 3288 32892002-01-03 Paolo Carlini <[email protected]> 3290 3291 * include/bits/stl_numeric.h (power + helpers, iota): Move to... 3292 * include/ext/numeric: ...here, new file. 3293 * include/bits/stl_function.h (identity_element, unary_compose, 3294 binary_compose, compose1, compose2, identity, select1st, 3295 select2nd, project1st + helper, project2nd + helper, 3296 constant_void_fun + helper, constant_unary_fun + helper, 3297 costant_binary_fun + helper, constant0, constant1, constant2, 3298 subtractive_rng, mem_fun1, mem_fun1_ref): Move to... 3299 * include/ext/functional: ...here, new file. 3300 * include/Makefile.am (ext_headers): Add new files. 3301 * include/Makefile.in: Regenerate. 3302 * testsuite/ext/headers.cc: Include <ext/numeric> and 3303 <ext/functional>. 3304 * include/backward/algo.h: Include <ext/numeric>, tweak. 3305 * include/backward/function.h: Include <ext/functional>, tweak. 3306 * include/ext/ropeimpl.h: Include <ext/numeric>. 3307 33082002-01-03 Jeffrey A Law <[email protected]> 3309 3310 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and 3311 __strtoull declarations with __extension__. 3312 33132002-01-03 David Billinghurst <[email protected]> 3314 3315 * testsuite/lib/prune.exp: Correct regular expression for 3316 -ffunction-sections 3317 33182002-01-02 Phil Edwards <[email protected]> 3319 3320 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search): 3321 Change concept checks, as with lower_bound and PR 2054. 3322 * testsuite/ext/concept_checks.cc: Expand test to include those. 3323 33242002-01-02 Phil Edwards <[email protected]> 3325 3326 * include/bits/boost_concept_check.h: Import some changes from 3327 upsteam (Boost) version. 3328 33292002-01-02 Paolo Carlini <[email protected]> 3330 3331 * include/bits/stl_algobase.h (copy_n + helpers, 3332 lexicographical_compare_3way + helpers): Move to... 3333 * include/ext/algorithm: ...here. 3334 * include/bits/stl_uninitialized.h (uninitialized_copy_n + 3335 helpers): Move to... 3336 * include/ext/memory: ...here, new file. 3337 * include/Makefile.am (ext_headers): Add new file. 3338 * include/Makefile.in: Regenerate. 3339 * testsuite/ext/headers.cc: Include <ext/memory>. 3340 * include/backward/algobase.h: Include <ext/memory> and 3341 <ext/algorithm>, tweak. 3342 * include/ext/ropeimpl.h: Include <ext/memory>, tweak. 3343 * include/ext/stl_rope.h: Include <ext/memory>, tweak. 3344 33452002-01-01 Roger Sayle <[email protected]> 3346 3347 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the 3348 equivalent ___builtin__ versions. 3349 3350 * include/c_shadow/bits/std_cmath.h: All __builtin math functions 3351 are available in libstdc++ as the necessary stub implementations 3352 are provided by libmath/stubs.c. 3353 33542002-01-01 Jason Thorpe <[email protected]> 3355 3356 * configure.in: Add support for NetBSD cross compiles. 3357 * configure: Regenerate. 3358