12002-10-07 Kaveh R. Ghazi <[email protected]> 2 3 * Makefile.am (all-multi): Fix multilib parallel build. 4 52002-10-01 Phil Edwards <[email protected]> 6 7 * Makefile.am (check-abi): Add @ to rule. 8 * Makefile.in: Regenerated. 9 102002-10-01 Phil Edwards <[email protected]> 11 12 PR libstdc++/8096 13 * include/bits/stl_deque.h (deque::_M_range_check): Throw 14 out_of_range, not range_error. 15 162002-09-28 Paolo Carlini <[email protected]> 17 18 * include/bits/locale_facets.tcc (num_put::_M_widen_int): 19 Deal correctly with grouped, showbased (oct or hex) zero. 20 * testsuite/22_locale/num_put_members_char.cc: Add test05. 21 * testsuite/22_locale/num_put_members_wchar_t.cc: Ditto. 22 232002-09-25 Phil Edwards <[email protected]> 24 25 Bulk documentation merge (copy) from trunk. 26 * docs/doxygen/run_doxygen, docs/html/Makefile, docs/html/abi.txt, 27 docs/html/configopts.html, docs/html/documentation.html, 28 docs/html/explanations.html, docs/html/install.html, 29 docs/html/makedoc.awk, docs/html/17_intro/C++STYLE, 30 docs/html/17_intro/RELEASE-NOTES, docs/html/17_intro/contribute.html, 31 docs/html/17_intro/howto.html, docs/html/17_intro/license.html, 32 docs/html/18_support/howto.html, docs/html/19_diagnostics/howto.html, 33 docs/html/20_util/howto.html, docs/html/21_strings/howto.html, 34 docs/html/22_locale/codecvt.html, docs/html/22_locale/ctype.html, 35 docs/html/22_locale/howto.html, docs/html/22_locale/locale.html, 36 docs/html/22_locale/messages.html, docs/html/23_containers/howto.html, 37 docs/html/24_iterators/howto.html, docs/html/25_algorithms/howto.html, 38 docs/html/26_numerics/howto.html, docs/html/27_io/howto.html, 39 docs/html/ext/howto.html, docs/html/ext/sgiexts.html, 40 docs/html/faq/index.html, docs/html/faq/index.txt: Merge from trunk. 41 422002-09-21 Phil Edwards <[email protected]> 43 44 * testsuite/abi_check.cc: Pull shell fragments out into... 45 * config/abi/extract_symvers: ...here. New file. 46 * Makefile.am (check_abi): Change to match. 47 (new-abi-baseline): New target. 48 * Makefile.in: Regenerated. 49 502002-09-16 Loren J. Rittle <[email protected]> 51 52 libstdc++/7922 53 * include/ext/stl_rope.h (rope<>): Qualify dependent names 54 with `typename'. 55 562002-09-16 Benjamin Kosnik <[email protected]> 57 58 * include/bits/codecvt.h: Remove __s. 59 * config/locale/gnu/codecvt_members.cc: Remove _M_c_locale_codecvt 60 usage, substitute _S_c_locale. 61 622002-09-12 Benjamin Kosnik <[email protected]> 63 64 * libmath/Makefile.am (LIBTOOL): Use --tag CC always for this 65 directory. 66 * libmath/Makefile.in: Regenerate. 67 * src/Makefile.am: Tweak comment. 68 * src/Makefile.in: Regenerate. 69 70 * config/locale/gnu/c_locale.h: Remove warnings. 71 Inject __uselocale into __gnu_cxx. 72 * config/locale/generic/c_locale.h: Match. 73 742002-09-12 Benjamin Kosnik <[email protected]> 75 76 * include/bits/locale_facets.tcc (__convert_from_v): Remove. 77 * config/locale/gnu/c_locale.h (__convert_from_v): Add. 78 * config/locale/generic/c_locale.h (__convert_from_v): Add. 79 802002-09-12 Paolo Carlini <[email protected]> 81 82 * include/bits/locale_facets.tcc (__convert_from_v): 83 Use __uselocale instead of setlocale for glibc 2.3+. 84 852002-09-12 Benjamin Kosnik <[email protected]> 86 87 * src/Makefile.am (sources): Edit. 88 (target_sources): New. 89 (target_sources_extra): New. 90 * src/Makefile.in: Regenerate. 91 * acinclude.m4: Set CCODECVT_CC. 92 * aclocal.m4: Regenerate. 93 * configure: Regenerate. 94 * src/locale.cc: Move ctype definitions... 95 * src/ctype.cc: ...here. New file. 96 * src/locale.cc: Move codecvt definitions... 97 * src/codecvt.cc: ...here. 98 * config/generic/codecvt_members.cc: ...and here. 99 * config/gnu/codecvt_members.cc: ...and here. 100 * include/bits/codecvt.h: Tweak. 101 * include/bits/locale_facets: Tweak. 102 103 * src/bitset.cc: Correct license text. 104 * src/concept-inst.cc: Same. 105 * src/strstream.cc: Same. 106 * src/vterminate.cc: Same. 107 1082002-09-10 Danny Smith <[email protected]> 109 110 * include/bits/locale_facets.tcc (__convert_from_v): 111 Replace strdup with ISO malloc and strcpy. 112 1132002-09-09 Benjamin Kosnik <[email protected]> 114 115 * src/misc-inst.cc: Remove some instantiations. 116 117 * testsuite/abi_check.cc: Make output results more verbose. 118 119 * config/os/gnu-linux/ctype_base.h: Remove shadow headers injections. 120 1212002-09-07 Jakub Jelinek <[email protected]> 122 123 * config/locale/generic/messages_members.cc: Add specialization for 124 messages<wchar_t>. 125 * config/locale/ieee_1003.1-20021/messages_members.cc: Likewise. 126 1272002-09-06 Jakub Jelinek <[email protected]> 128 129 * configure.target: Use cpu_include_dir="config/cpu/sparc" for all 130 sparc targets. 131 * config/cpu/sparc/bits/atomicity.h: New file. 132 * config/cpu/sparc/sparc32/bits/atomicity.h: Removed. 133 * config/cpu/sparc/sparc64/bits/atomicity.h: Removed. 134 1352002-09-06 Jakub Jelinek <[email protected]> 136 137 * config/os/gnu-linux/bits/ctype_noninline.h 138 [_GLIBCPP_USE_SHADOW_HEADERS]: Remove using _C_legacy::__ctype_*. 139 (ctype<char>::classic_table): If _GLIBCPP_C_LOCALE_GNU, return 140 _S_c_locale->__ctype_b, otherwise temporarily switch to "C" locale 141 and return __ctype_b. 142 (ctype<char>::ctype(__c_locale, const mask*, bool, size_t)): If not 143 _GLIBCPP_C_LOCALE_GNU, temporarily switch to "C" locale and 144 initialize using __ctype_{b,tolower,toupper}. 145 (ctype<char>::ctype(const mask*, bool, size_t)): If 146 _GLIBCPP_C_LOCALE_GNU, initialize using 147 _S_c_locale->__ctype_{b,tolower,toupper}, otherwise temporarily 148 switch to "C" locale and initialize using __ctype_{b,tolower,toupper}. 149 1502002-09-05 Loren J. Rittle <[email protected]> 151 152 Move from mainline. 153 * src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation. 154 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise. 155 * src/Makefile.in: Regenerate (explicitly with --cygnus option). 156 * testsuite/Makefile.in: Likewise. 157 1582002-09-05 Paolo Carlini <[email protected]> 159 Roland McGrath <[email protected]> 160 161 PR libstdc++/7811 162 * src/locale.cc (locale::locale(__s)): Use getenv instead 163 of setenv for the environment locale. 164 * testsuite/22_locale/ctor_copy_dtor.cc (test03): New. 165 1662002-09-05 Jakub Jelinek <[email protected]> 167 168 * config/abi/ia64-unknown-linux-gnu: Add. 169 * config/abi/ia64-unknown-linux-gnu/baseline_symbols.txt: New file. 170 * config/abi/alphaev67-unknown-linux-gnu: Add. 171 * config/abi/alphaev67-unknown-linux-gnu/baseline_symbols.txt: New file. 172 1732002-09-05 Phil Edwards <[email protected]> 174 175 * testsuite/Makefile.am: Use LD_RUN_PATH when linking abi_check. 176 Fix spelling in comment. 177 * testsuite/Makefile.in: Regenerate. 178 * testsuite/abi_check.cc: Use string literals to build 'cmd' rather 179 than 'quote' and 'bslash'. 180 1812002-09-05 Jakub Jelinek <[email protected]> 182 183 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_widen(char)): 184 Switch to _M_c_locale_ctype around btowc call. 185 (ctype<wchar_t>::do_widen(const char*, const char *, wchar_t*)): 186 Switch to _M_c_locale_ctype around mbsrtowcs call. 187 (ctype<wchar_t>::do_narrow(char)): Switch to _M_c_locale_ctype around 188 wctob call. 189 (ctype<wchar_t>::do_narrow(const char*, const char *, wchar_t*)): 190 Switch to _M_c_locale_ctype around wcsrtombs call. 191 1922002-09-05 Jakub Jelinek <[email protected]> 193 194 * config/locale/gnu/monetary_members.cc 195 (moneypunct<wchar_t, true>::_M_initialize_moneypunct, 196 moneypunct<wchar_t, false>::_M_initialize_moneypunct): Use 197 __uselocale instead of setlocale for glibc 2.3. 198 1992002-09-05 Jakub Jelinek <[email protected]> 200 201 * config/locale/generic/c++locale_internal.h: New header. 202 * config/locale/gnu/c++locale_internal.h: New header. 203 * config/locale/gnu/c_locale.cc: Include it. 204 * config/locale/gnu/collate_members.cc: Include it. 205 * config/locale/gnu/ctype_members.cc: Include it. 206 * config/locale/gnu/messages_members.cc: Include it. 207 * config/locale/gnu/monetary_members.cc: Include it. 208 * config/locale/gnu/numeric_members.cc: Include it. 209 * config/locale/gnu/time_members.cc: Include it. 210 (_M_put): Reorder __strftime_l and __wcsftime_l arguments to match 211 glibc. 212 (_M_initialize_timepunct): Initialize _M_c_locale_timepunct for 213 C locale. 214 * acinclude.m4: Include string.h when testing strcoll_l. 215 For glibc 2.3 provide __-prefixed prototypes. 216 (CLOCALE_INTERNAL_H): Set, add AC_LINK_FILES line. 217 * aclocal.m4, configure: Rebuilt. 218 2192002-09-05 Benjamin Kosnik <[email protected]> 220 221 * include/bits/locale_facets.h: Add declaration of specialization 222 here. 223 * config/locale/gnu/messages_members.cc: Add specialization for 224 messages<wchar_t>. 225 * config/locale/gnu/messages_members.h: Remove generic definition 226 of do_get. 227 2282002-08-26 Phil Edwards <[email protected]> 229 230 * Makefile.am (check-abi): Specify current directory. 231 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Fix shell syntax, use 232 abi_baseline_triplet in baseline_file. 233 * Makefile.in, aclocal.m4, configure: Regenerate. 234 * configure.target: Add abi_baseline_triplet with default. 235 * testsuite/abi_check.cc: More error checking. 236 2372002-08-25 Benjamin Kosnik <[email protected]> 238 239 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Set 240 GLIBCPP_BUILD_ABI_CHECK based on cross compiling, build, host 241 variables. 242 * aclocal.m4: Regenerate. 243 * testsuite/Makefile.am (noinst_PROGRAMS): Make conditional on 244 native compiling. 245 * testsuite/Makefile.in: Regenerate. 246 2472002-08-22 Benjamin Kosnik <[email protected]> 248 Phil Edwards <[email protected]> 249 Ulrich Drepper <[email protected]> 250 251 * Makefile.am (check-abi): New rule. 252 * Makefile.in: Regenerate. 253 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Export baseline_file. 254 * aclocal.m4: Regenerate. 255 * configure: Regenerate. 256 * testsuite/Makefile.am (noinst_PROGRAMS): Add abi_check. 257 (abi_check_SOURCES): Add. 258 * testsuite/Makefile.in: Regenerate. 259 * testsuite/abi_check.cc: New file. 260 * config/abi: Add. 261 * config/abi/i686-pc-linux-gnu: Add. 262 * config/abi/i686-pc-linux-gnu/baseline_symbols.txt: New file. 263 2642002-08-19 Benjamin Kosnik <[email protected]> 265 266 * configure.in (libtool_VERSION): Update to 5:1:0. 267 * configure: Regenerate. 268 2692002-08-15 Benjamin Kosnik <[email protected]> 270 271 * include/ext/stdio_filebuf.h (stdio_filebuf): Explicitly set 272 _M_buf_size_opt to zero when unbuffering. 273 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify. 274 Consistency checks for _M_buf_size_opt. 275 276 Revert PR libstdc++/7445 277 * src/locale.cc (locale::classic): Revert. 278 279 * docs/html/17_intro/TODO: Add. 280 2812002-08-15 Danny Smith <[email protected]> 282 Benjamin Kosnik <[email protected]> 283 284 * include/bits/istream.tcc (basic_istream::ignore): Use sbumpc, 285 not snextc. 286 * testsuite/27_io/narrow_stream_objects.cc (test10): Add. 287 2882002-08-15 Danny Smith <[email protected]> 289 290 * config/os/newlib/ctype_inline.h (is): Don't offset _M_table. 291 (scan_is): Use this->is. 292 (scan_not): Likewise. 293 2942002-08-15 Rick Danos <[email protected]> 295 296 PR libstdc++/7461 297 * config/os/newlib/ctype_noninline.h (classic_table): Add offset. 298 * config/os/newlib/ctype_inline.h (is): Use static_cast. 299 3002002-08-14 Release Manager 301 302 * GCC 3.2 Released. 303 3042002-08-06 Benjamin Kosnik <[email protected]> 305 306 Revert PR libstdc++/6594 307 * src/strstream.cc (strstreambuf): Revert. 308 (strstreambuf::overflow): Same. 309 (strstreambuf::~strstreambuf): Same. 310 * testsuite/backward/strstream_members.cc (test02): Add. 311 312 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add bool test. 313 3142002-08-01 Benjamin Kosnik <[email protected]> 315 Jakub Jelinek <[email protected]> 316 317 * config/linker-map.gnu: Change CXXABI_1 to CXXABI_1.2, 318 GLIBCPP_3.1 to GLIBCPP_3.2. 319 3202002-07-31 Benjamin Kosnik <[email protected]> 321 Mark Mitchell <[email protected]> 322 323 PR libstdc++/7442 324 * libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit): 325 Change to __hwm_bit. 326 (__class_type_info): And here. 327 3282002-07-31 Benjamin Kosnik <[email protected]> 329 330 PR libstdc++/7442 331 * libsupc++/cxxabi.h 332 (__base_class_info): Change to __base_class_type_info. 2.9.5p6c 333 (__base_class_info::__base): Change to __base_type. 2.9.5p6c 334 (__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c 335 (__vmi_class_type_info::__base_info): Don't make const, of type 336 __base_class_type_info, as per 2.9.5p6c 337 (__pbase_type_info::__qualifier_flags): Change to __flags, as per 338 2.9.5p7. 339 (__pbase_type_info::__qualifier_masks): Change to __masks, as per 340 2.9.5p7. 341 (__pointer_to_member_type_info::__context_class): Change member to 342 __context, as per 2.9.5p9. 343 * libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to 344 __context. 345 * libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to 346 __flags. 347 * libsupc++/tinfo.cc (__do_find_public_src): Change __base to 348 __base_type. 349 * libsupc++/tinfo.cc (__do_dyncast): Same. 350 * libsupc++/tinfo.cc (__do_upcast): Same. 351 3522002-07-31 Simon Whomsley <[email protected]> 353 354 * docs/html/22_locale/howto.html: Fix. 355 3562002-07-31 Alex Kompel <[email protected]> 357 358 PR libstdc++/7445 359 * src/locale.cc (locale::classic): Move locks inside !_S_classic 360 block. 361 3622002-07-30 Benjamin Kosnik <[email protected]> 363 Gabriel Dos Reis <[email protected]> 364 365 * include/bits/char_traits.h: Remove generic definitions. 366 * include/bits/streambuf_iterator.h (istreambuf_iterator): Use 367 eof, not -2. 368 * include/bits/istream.tcc (istream::readsome): Don't check 369 against eof, instead use constants. 370 (istream::sync): Same. 371 (istream::sentry::sentry): Use eq_int_type. 372 (istream::get): Same. 373 * include/bits/ostream.tcc: Change __pad to 374 __pad<_CharT, _Traits>::_S_pad. 375 * include/bits/locale_facets.h: Add __pad_traits generic and 376 ostreambuf_iterator specialization. 377 * include/bits/locale_facets.tcc: Change __pad into struct __pad 378 with a _CharT and _Traits template parameter and _S_pad static 379 member function. 380 * src/locale-inst.cc: Update __pad instantiations. 381 382 * include/std/std_fstream.h: Declare _M_underflow_common 383 specializations. 384 * src/fstream.cc: New. Add _M_underflow_common specializations. 385 * include/bits/fstream.tcc (filebuf::close): Use traits_type. 386 (filebuf::_M_underflow_common(bool)): Remove generic version, as 387 sys_ungetc and custom int_types don't get along. 388 * include/std/std_streambuf.h: Add _M_pos. 389 * src/Makefile.am (sources): Add fstream.cc. 390 * src/Makefile.in: Regenerate. 391 392 * testsuite/21_strings/capacity.cc: Add char_traits specializations. 393 * testsuite/22_locale/codecvt_members_unicode_char.cc: Same. 394 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same. 395 * testsuite/22_locale/ctor_copy_dtor.cc: Same. 396 * testsuite/27_io/filebuf_virtuals.cc (test07): Move to... 397 * testsuite/27_io/filebuf.cc: ...here. 398 * testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits 399 specialization for both. 400 * testsuite/27_io/streambuf.cc: Add instantiation test, 401 testsuite_hooks include. 402 * testsuite/27_io/istream.cc: Same. 403 * testsuite/27_io/ostream.cc: Same. 404 * testsuite/27_io/fstream.cc: Same. 405 * testsuite/27_io/stringstream.cc: Same. 406 * testsuite/27_io/filebuf.cc: Same. 407 * testsuite/27_io/stringbuf.cc: Same. 408 4092002-07-26 Phil Edwards <[email protected]> 410 411 * libsupc++/new (placement delete): Remove unused paramater names. 412 4132002-07-25 Benjamin Kosnik <[email protected]> 414 415 PR libstdc++/7216 416 * include/std/std_istream.h (basic_iostream): Add typedefs for 417 char_type, int_type, pos_type, off_type, and traits_type. 418 * testsuite/27_io/iostream.cc (test01): Add typedef tests. 419 * testsuite/27_io/istream.cc: Same. 420 * testsuite/27_io/ostream.cc: Same. 421 * testsuite/27_io/filebuf.cc: Same. 422 * testsuite/27_io/stringbuf.cc: Replace content, move to... 423 * testsuite/27_io/stringbuf_members.cc: ...here. 424 * testsuite/27_io/streambuf.cc: Replace content, move to... 425 * testsuite/27_io/streambuf_members.cc: ...here. 426 * testsuite/27_io/stringstream.cc: Replace content, move to... 427 * testsuite/27_io/stringstream_members.cc: ...here. 428 * testsuite/27_io/ios.cc: New file. 429 * testsuite/27_io/fstream.cc: New file. 430 * testsuite/27_io/ifstream.cc: New file. 431 * testsuite/27_io/ofstream.cc: New file. 432 * testsuite/27_io/istringstream.cc: New file. 433 * testsuite/27_io/ostringstream.cc: New file. 434 4352002-07-25 Benjamin Kosnik <[email protected]> 436 437 PR libstdc++/7220 438 * include/bits/istream.tcc (istream::ignore): Don't extract on 439 zero. 440 * testsuite/27_io/istream_unformatted.cc (test10): Add. 441 4422002-07-24 Benjamin Kosnik <[email protected]> 443 444 PR libstdc++/7222 445 * src/locale.cc (locale::locale(const char*)): Use setlocale NULL. 446 * testsuite/22_locale/ctor_copy_dtor.cc (test02): New. 447 4482002-07-24 Benjamin Kosnik <[email protected]> 449 450 PR libstdc++/7286 451 * libsupc++/new: Add placement delete. 452 * testsuite/18_support/new_delete_placement.cc: New. 453 4542002-07-07 Paolo Carlini <[email protected]> 455 456 PR libstdc++/7186 457 * include/bits/stl_deque.h (_Deque_iterator::operator-): 458 Make non-member, as already happens for the comparison 459 operators in accord with DR179 (Ready). 460 * testsuite/23_containers/deque_operators.cc: Add test02. 461 4622002-07-04 Benjamin Kosnik <[email protected]> 463 Jack Reeves <[email protected]> 464 465 * include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to 466 size_t, from int_type. 467 (basic_streambuf::_M_buf_size_opt): Same. 468 (basic_streambuf::_S_pback_sizex): Same. 469 * include/bits/streambuf.tcc: Same. 470 * include/std/std_streambuf.h (basic_streambuf::snextc): Use 471 eq_int_type. 472 (basic_streambuf::uflow): Same. 473 * include/bits/sstream.tcc (basic_stringbuf::overflow): Use 474 to_char_type. 475 * include/bits/basic_ios.tcc (basic_ios::init): Use _CharT(). 476 * include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use 477 eq_int_type. 478 (basic_streambuf::xsputn): Same. 479 (__copy_streambufs): Same. 480 4812002-07-02 Paolo Carlini <[email protected]> 482 483 PR libstdc++/6642 484 * include/bits/stl_iterator.h 485 (__normal_iterator::operator-(const __normal_iterator&)): 486 Make non-member, as already happens for the comparison 487 operators in accord with DR179 (Ready). 488 * testsuite/24_iterators/iterator.cc: Add test from the PR. 489 4902002-07-02 Benjamin Kosnik <[email protected]> 491 492 PR libstdc++/6410 493 * include/bits/locale_facets.h (moneypunct::moneypunct): Add const 494 char* name parameter. 495 * config/locale/gnu/monetary_members.cc: Use it. 496 * config/locale/generic/monetary_members.cc: Same. 497 * src/localename.cc (_Impl::_Impl(const char*, size_t)): Use it. 498 4992002-07-01 Benjamin Kosnik <[email protected]> 500 501 * configure.in (libtool_VERSION): Bump to 5:0:0. 502 * configure: Regenerate. 503 5042002-05-19 Paolo Carlini <[email protected]> 505 506 * testsuite/23_containers/deque_operators.cc (test01): 507 Fix minor typo in last commit. 508 5092002-05-18 Paolo Carlini <[email protected]> 510 511 PR libstdc++/6503 512 * include/bits/stl_deque.h (_Deque_iterator::operator==, 513 operator!=, operator<, operator>, operator>=, operator<=): 514 Make non-member functions, to allow comparing const and 515 non-const iterators in any order. 516 * testsuite/23_containers/deque_operators.cc: New testfile. 517 5182002-07-25 Release Manager 519 520 * GCC 3.1.1 Released. 521 5222002-07-20 Phil Edwards <[email protected]> 523 524 Bulk documentation merge (copy) from trunk. 525 * docs/doxygen/TODO, docs/doxygen/run_doxygen, docs/doxygen/tables.html, 526 docs/doxygen/user.cfg.in, docs/html/Makefile, 527 docs/html/documentation.html, docs/html/17_intro/porting.html, 528 docs/html/17_intro/porting.texi, docs/html/23_containers/howto.html, 529 docs/html/ext/howto.html, docs/html/ext/lwg-active.html, 530 docs/html/ext/lwg-defects.html, docs/html/faq/index.html, 531 docs/html/faq/index.txt: Merge from trunk. 532 5332002-07-16 Andreas Schwab <[email protected]> 534 535 * libsupc++/new (set_new_handler): Declare to not throw any 536 exceptions. 537 * libsupc++/new_handler.cc (set_new_handler): Likewise. 538 5392002-07-15 Rainer Orth <[email protected]> 540 541 * config/os/solaris/solaris2.5/bits/ctype_base.h (ctype_base): Fix 542 print to match vendor <ctype.h>. 543 5442002-07-03 Steev Wilcox <[email protected]> 545 546 PR libstdc++/7057 547 * include/ext/stl_hashtable.h: Fix. 548 * testsuite/ext/hash_map.cc: New. 549 5502002-07-03 Benjamin Kosnik <[email protected]> 551 552 PR libstdc++/7097 553 * include/c/std_cwchar.h: Fix. 554 5552002-07-03 Jack Reeves <[email protected]> 556 Kenny Simpson <[email protected]> 557 Phil Edwards <[email protected]> 558 559 PR libstdc++/3946 560 * testsuite/20_util/auto_ptr.cc (test08): New test. 561 * include/std/std_memory.h (auto_ref_ptr): Make constructor explicit. 562 (auto_ptr::operator auto_ptr_ref): Fix typo. 563 General reformatting and doxygenating of the whole file. 564 5652002-07-03 Phil Edwards <[email protected]> 566 567 PR libstdc++/7173 568 * acinclude.m4: Simplify determination of gcc_version, and move 569 up to GLIBCPP_CONFIGURE. 570 * configure.in (release_VERSION): Really remove. 571 (AM_INIT_AUTOMAKE, AM_CONFIG_HEADER): Move after GLIBCPP_CONFIGURE. 572 * aclocal.m4, configure: Regenerate. 573 5742002-07-02 Phil Edwards <[email protected]> 575 576 * docs/html/configopts.html, docs/html/install.html: Tweaks. 577 * include/ext/algorithm, include/ext/hash_map, include/ext/hash_set, 578 include/ext/iterator, include/ext/numeric, include/ext/rb_tree, 579 include/ext/slist, include/ext/stl_rope.h: Add doxygen hooks. 580 5812002-06-28 Benjamin Kosnik <[email protected]> 582 583 * include/c_compatibility: New. 584 * include/c_compatibility/assert.h: New. 585 * include/c_compatibility/ctype.h: New. 586 * include/c_compatibility/errno.h: New. 587 * include/c_compatibility/float.h: New. 588 * include/c_compatibility/iso646.h: New. 589 * include/c_compatibility/limits.h: New. 590 * include/c_compatibility/locale.h: New. 591 * include/c_compatibility/math.h: New. 592 * include/c_compatibility/setjmp.h: New. 593 * include/c_compatibility/signal.h: New. 594 * include/c_compatibility/stdarg.h: New. 595 * include/c_compatibility/stddef.h: New. 596 * include/c_compatibility/stdio.h: New. 597 * include/c_compatibility/stdlib.h: New. 598 * include/c_compatibility/string.h: New. 599 * include/c_compatibility/time.h: New. 600 * include/c_compatibility/wchar.h: New. 601 * include/c_compatibility/wctype.h: New. 602 603 * include/c/std_cerrno.h: Get out of the way... define errno. 604 * include/c/std_cmath.h: Add abs, modf overloads. 605 Undefine C99 isms. Still not sure how to deal with this sanely. 606 * include/c/std_csetjmp.h: Tweak. 607 * include/c/std_cwchar.h: Include cstddef for size_t. 608 609 * include/c_std/std_cmath.h: Remove extra function. 610 611 Pendantic std usage in testsuites. 612 * testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t 613 with std. 614 * testsuite/17_intro/header_cwchar.cc: Tweak. 615 * testsuite/22_locale/codecvt_members_char_char.cc (test03): Use 616 std::setlocale. 617 * testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same. 618 * testsuite/22_locale/ctype_to_char.cc (test05): Same. 619 * testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same. 620 * testsuite/22_locale/ctype_is_char.cc (test05): Same. 621 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same. 622 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same. 623 * testsuite/22_locale/time_get_members_char.cc (test08): Same. 624 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same. 625 * testsuite/22_locale/time_put_members_char.cc (test04): Same. 626 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same. 627 * testsuite/22_locale/num_put_members_char.cc (test04): Same. 628 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same. 629 * testsuite/22_locale/numpunct_members_char.cc (test03): Same. 630 * testsuite/22_locale/num_get_members_wchar_t.cc: Same. 631 * testsuite/22_locale/num_get_members_char.cc: Same. 632 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same. 633 * testsuite/22_locale/money_put_members_char.cc (test07): Same. 634 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same. 635 * testsuite/22_locale/moneypunct_members_char.cc (test03): Same. 636 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same. 637 * testsuite/22_locale/money_get_members_char.cc (test08): Same. 638 * testsuite/22_locale/messages_members_char.cc (test03): Same. 639 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Same. 640 * testsuite/22_locale/collate_members_char.cc (test04): Same. 641 * testsuite/26_numerics/fabs_inline.cc: Use std::printf. 642 * testsuite/27_io/istream_seeks.cc (test02): Qualify abort. 643 * testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol. 644 6452002-06-28 Benjamin Kosnik <[email protected]> 646 647 * libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add 648 c_sources. 649 6502002-06-28 Benjamin Kosnik <[email protected]> 651 652 * src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions. 653 Use size_type instead of unsigned long. 654 6552002-06-28 Steve Ellcey <[email protected]> 656 657 * src/ext-inst.cc (_S_fetch): Add explicit templates for char and 658 wchar types. 659 (_S_min_len): Ditto. 660 6612002-06-28 Benjamin Kosnik <[email protected]> 662 663 * include/Makefile.am: Add rules. 664 * include/Makefile.in: Regenerate. 665 666 * acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY. 667 * aclocal.m4: Regenerate. 668 * configure: Regenerate. 669 * configure.target (c_model, c_compatibility): Add. 670 671 * libsupc++/Makefile.am (c_sources): New. 672 (libsupc___la_SOURCES): Add c_sources. 673 (LTCOMPILE): Remove INCLUDES. 674 (GCC_INCLUDES): New. 675 (C_COMPILE): New, like COMPILE but without INCLUDES. 676 (cxa_demangle.o): Use C_COMPILE. 677 (dyn-string.o): Use C_COMPILE. 678 679 * include/c/std_cstdarg.h: Define __need___va_list. 680 * include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t, 681 need_NULL, need_offsetof. 682 6832002-06-28 Benjamin Kosnik <[email protected]> 684 685 * include/c/std_cwchar.h: Guard. Add mbstate_t bits. 686 * include/c/std_cwctype.h: Guard. 687 688 * libsupc++/eh_alloc.cc: Tweak include order. 689 * libsupc++/pure.cc: Use cstdio. 690 * libsupc++/new_op.cc: Remove malloc forward declaration, as 691 cstdlib brings it in. Use std::malloc. 692 693 * src/Makefile.am (sources): Remove cmath.cc. 694 * src/Makefile.in: Regenerate. 695 * src/cmath.cc: Remove. 696 6972002-06-27 Benjamin Kosnik <[email protected]> 698 699 * configure.in (INTERFACE): Remove. 700 (release_VERSION): Remove. 701 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement. 702 (libstdcxx_interface): Change. Use gcc methods to determine version. 703 * configure: Regenerate. 704 * aclocal.m4: Regenerate. 705 7062002-06-27 Benjamin Kosnik <[email protected]> 707 708 * acinclude.m4: Fix last checkin. 709 * aclocal.m4: Regenerate. 710 * configure: Regenerate. 711 7122002-06-25 DJ Delorie <[email protected]> 713 714 * acinclude.m4 (GLIBCPP_CONFIGURE): Split out 715 GLIBCPP_TOPREL_CONFIGURE. 716 * aclocal.m4: Likewise. 717 * configure.in: Call it before AC_CANONICAL_SYSTEM. 718 * configure: Regenerate. 719 7202002-06-20 David Edelsohn <[email protected]> 721 722 * configure.target (CPULIMITSH): Use powerpc directory for rs6000. 723 7242002-06-14 J.T. Conklin <[email protected]> 725 726 * configure.in (target_alias): Fix. 727 * configure: Regenerate. 728 * aclocal.m4: Regenerate. 729 7302002-06-11 J.T. Conklin <[email protected]> 731 Benjamin Kosnik <[email protected]> 732 733 * configure.target: Set os_include_dir to config/os/qnx/qnx6.1 734 under *-qnx6.[12]*. 735 * configure.in: Add support for *-qnx6.[12]*. 736 * configure: Regenerate. 737 738 * config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits: 739 New directories. 740 * config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h, 741 ctype_noninline.h, os_defines.h: New files. 742 7432002-06-10 Steve Ellcey <[email protected]> 744 745 * src/locale-inst.cc (__codecvt_abstract_base): 746 Put inside _GLIBCPP_USE_WCHAR_T ifdef. 747 * include/bits/istream.tcc (basic_istream): Ditto. 748 (ws) Ditto. 749 (operator>>) Ditto. 750 * include/bits/ostream.tcc (basic_ostream): Ditto. 751 (endl): Ditto. 752 (ends): Ditto. 753 (flush): Ditto. 754 (operator<<): Ditto. 755 7562002-06-08 Paolo Carlini <[email protected]> 757 758 * testsuite/backwards/strstream_members.cc: New. 759 7602002-06-08 Benjamin Kosnik <[email protected]> 761 762 * include/backwards/strstream: Format. 763 * src/strstream.cc: Format. 764 7652002-06-08 Andreas Schwab <[email protected]> 766 767 * src/strstream.cc (strstreambuf::overflow): Set _M_buf, 768 _M_buf_size and _M_buf_size_opt to the new buffer and size. 769 7702002-06-08 Benjamin Kosnik <[email protected]> 771 772 * config/os/generic/bits/ctype_noninline.h: Tweak format. 773 7742002-06-05 David Edelsohn <[email protected]> 775 776 * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower): 777 Call external symbol. 778 7792002-06-05 Paolo Carlini <[email protected]> 780 781 * testsuite/22_locale/money_get_members_char.cc 782 (test02): Add decimal point to long double constants. 783 * testsuite/22_locale/money_get_members_wchar_t.cc 784 (test02): Likewise. 785 * testsuite/22_locale/money_put_members_char.cc 786 (test02, test03, test06): Likewise. 787 * testsuite/22_locale/money_put_members_wchar_t.cc: 788 (test02, test03, test06): Likewise. 789 * testsuite/22_locale/num_get_members_char.cc: 790 (test02, test01): Likewise; suffix long long constants with LL. 791 * testsuite/22_locale/num_get_members_wchar_t.cc: 792 (test02, test01): Likewise. 793 * testsuite/22_locale/num_put_members_char.cc: 794 (test02, test01): Likewise. 795 * testsuite/22_locale/num_put_members_wchar_t.cc: 796 (test02, test01): Likewise. 797 7982002-06-04 Paolo Carlini <[email protected]> 799 Gaby Dos Reis <[email protected]> 800 801 * include/bits/basic_string.tcc 802 (basic_string::_S_construct(forward_iterator_tag): 803 Fix typo in null pointer check. 804 * testsuite/21_strings/ctor_copy_dtor.cc: Add test04. 805 8062002-06-03 Marc Espie <[email protected]> 807 808 * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline 809 assembly for old assemblers. 810 8112002-05-31 Marcus Meissner <[email protected]> 812 813 PR libstdc++/6886 814 * include/bits/stl_bvector.h: Use UL suffix for unsigned longs. 815 * testsuite/23_containers/vector_bool.cc (test02): New test. 816 8172002-05-31 John David Anglin <[email protected]> 818 819 * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define 820 to 64 for hppa 64-bit port. 821 (__glibcpp_long_double_bits): Define to 64 for all hppa ports. 822 8232002-05-30 Marc Espie <[email protected]> 824 825 * configure.in: Always check for sys/types.h. 826 * configure: Regenerate. 827 8282002-05-28 Nick Clifton <[email protected]> 829 830 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): 831 Rebuild the wrapper file every time this proc is called. 832 8332002-05-28 Loren J. Rittle <[email protected]> 834 835 libstdc++/6641 836 * include/bits/c++config (__USE_MALLOC): Report case where 837 the user improperly defined it on the command line. 838 8392002-05-27 Benjamin Kosnik <[email protected]> 840 841 * src/misc-inst.cc: Define unnecessary algorithm 842 instantiations. Break apart instantiations into groupings below. 843 * src/fstream-inst.cc: New. 844 * src/io-inst.cc: New. 845 * src/istream-inst.cc: New. 846 * src/ostream-inst.cc: New. 847 * src/streambuf-inst.cc: New. 848 * src/sstream-inst.cc: New. 849 * src/Makefile.am (sources): Add files. 850 * src/Makefile.in: Regenerate. 851 852 * acinclude.m4: Work around automake 1.4-p5 bug, change 853 AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT. 854 8552002-05-27 Benjamin Kosnik <[email protected]> 856 857 PR libstdc++/6795. 858 * config/os/solaris/solaris2.6/bits/ctype_noninline.h 859 (classic_table): Fix. 860 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same. 861 8622002-05-27 Benjamin Kosnik <[email protected]> 863 864 * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with 865 _GLIBCPP_USE_WCHAR_T. 866 * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same. 867 * testsuite/22_locale/ctype_to_wchar_t.cc: Same. 868 * testsuite/22_locale/ctype_widen_wchar_t.cc: Same. 869 8702002-05-26 Carlo Wood <[email protected]> 871 Paolo Carlini <[email protected]> 872 873 PR libstdc++/6811 874 * config/locale/ieee_1003.1-2001/codecvt_specializations.h 875 (__enc_traits::operator=): add missing return statement. 876 8772002-05-24 Phil Edwards <[email protected]> 878 879 PR libstdc++/6282 880 * include/std/std_bitset.h (_Base_biteset<0>): New specialization. 881 (operator>>): If nothing was extracted, don't fail in the 882 zero-length case. 883 * testsuite/23_containers/bitset_ctor.cc (test02): New test. 884 8852002-05-24 Benjamin Kosnik <[email protected]> 886 887 PR libstdc++/6701 888 * testsuite/22_locale/ctype_narrow_char.cc: New. 889 * testsuite/22_locale/ctype_narrow_wchar_t.cc: New. 890 * testsuite/22_locale/ctype_widen_char.cc: New. 891 * testsuite/22_locale/ctype_widen_wchar_t.cc: New. 892 * testsuite/22_locale/ctype_members_char.cc: Move some bits into... 893 * testsuite/22_locale/ctype_is_char.cc: ...this. 894 * testsuite/22_locale/ctype_to_char.cc: ...and this. 895 * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into... 896 * testsuite/22_locale/ctype_is_wchar_t.cc: ...this. 897 * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this. 898 899 * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass. 900 9012002-05-24 Dale Peakall <[email protected]> 902 903 PR libstdc++/6701 904 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix. 905 * config/locale/generic/ctype_members.cc: Same. 906 9072002-05-24 Benjamin Kosnik <[email protected]> 908 909 PR libstdc++/6750 910 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix 911 for empty string literal. 912 (ostream::operator<<(const _CharT*)): Same. 913 (ostream<char>::operator<<(const char*)): Same. 914 (ostream<char>::operator<<(streambuf*)): Same. 915 * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests. 916 * testsuite/27_io/ostream_inserter_other.cc (test02): Modify. 917 9182002-05-23 Rainer Orth <[email protected]> 919 920 * configure.in: Update local install.html, configopts.html paths. 921 * configure: Regenerate. 922 923 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Retrieve 924 current limits before setting. 925 926 * acinclude.m4 (enable_symvers): Quote $LD. 927 * aclocal.m4: Regenerate. 928 * configure: Likewise. 929 Fixes PR target/6755. 930 9312002-05-23 Benjamin Kosnik <[email protected]> 932 933 * configure.in (release_VERSION): Update to 3.1.1. 934 (libtool_VERSION): Update to 4:1:0. 935 * configure: Regenerate. 936 9372002-05-21 Phil Edwards <[email protected]> 938 939 * include/bits/stl_pair.h: Tweak comment markup. 940 9412002-05-21 Phil Edwards <[email protected]> 942 943 * include/ext/stdio_filebuf.h: Add header guards. Doxygenate. 944 9452002-05-19 Kaveh R. Ghazi <[email protected]> 946 947 * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h. 948 * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS). 949 * Makefile.in, config.h.in, configure: Regenerate. 950 951 * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table): 952 Return __ctype + 1. 953 (ctype:_M_table): Initialize to classic_table(), not __ctype. 954 955 * config/os/irix/irix5.2/bits/os_defines.h 956 (__glibcpp_long_double_bits, __glibcpp_long_bits): Define. 957 9582002-05-19 Paolo Carlini <[email protected]> 959 Jakub Jelinek <[email protected]> 960 961 * testsuite/22_locale/money_get_members_char.cc 962 (test01, test02, test04): Use the de_DE@euro named locale 963 instead of de_DE to allow for an uniform behaviour with 964 both old and Euro-era localedata; tweak some tests. 965 * testsuite/22_locale/money_get_members_wchar_t.cc 966 (test01, test02, test04): Likewise. 967 * testsuite/22_locale/money_put_members_char.cc 968 (test01, test02, test04): Likewise. 969 * testsuite/22_locale/money_put_members_wchar_t.cc 970 (test01, test02, test04): Likewise. 971 9722002-05-19 Paolo Carlini <[email protected]> 973 974 * testsuite/22_locale/codecvt_members_char_char.cc 975 (test03): Robustify wrt localedata. 976 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise. 977 * testsuite/22_locale/collate_members_char.cc (test04): Likewise. 978 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise. 979 * testsuite/22_locale/ctype_members_char.cc (test05): Likewise. 980 * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise. 981 * testsuite/22_locale/messages_members_char.cc (test03): Likewise. 982 * testsuite/22_locale/money_get_members_char.cc (test08): Likewise. 983 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise. 984 * testsuite/22_locale/money_put_members_char.cc (test07): Likewise. 985 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise. 986 * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise. 987 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise. 988 * testsuite/22_locale/num_get_members_char.cc (test06): Likewise. 989 * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise. 990 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment. 991 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise. 992 * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise. 993 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise. 994 * testsuite/22_locale/time_get_members_char.cc (test08): Likewise. 995 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise. 996 * testsuite/22_locale/time_put_members_char.cc (test04): Likewise. 997 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise. 998 9992002-05-19 Paolo Carlini <[email protected]> 1000 1001 Test all the facets for the temporary "C" locale switch issue. 1002 * testsuite/22_locale/codecvt_members_char_char.cc: Add test03. 1003 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise. 1004 * testsuite/22_locale/collate_members_char.cc: Add test04. 1005 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise. 1006 * testsuite/22_locale/ctype_members_char.cc: Add test05. 1007 * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04. 1008 * testsuite/22_locale/messages_members_char.cc: Add test03. 1009 * testsuite/22_locale/money_get_members_char.cc: Add test08. 1010 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise. 1011 * testsuite/22_locale/money_put_members_char.cc: Add test07. 1012 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise. 1013 * testsuite/22_locale/moneypunct_members_char.cc: Add test03. 1014 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise. 1015 * testsuite/22_locale/num_get_members_char.cc: Add test06. 1016 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise. 1017 * testsuite/22_locale/numpunct_members_char.cc: Add test03. 1018 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise. 1019 * testsuite/22_locale/time_get_members_char.cc: Add test08. 1020 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise. 1021 * testsuite/22_locale/time_put_members_char.cc: Add test04. 1022 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise. 1023 1024 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment. 1025 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise. 1026 10272002-05-19 Benjamin Kosnik <[email protected]> 1028 Paolo Carlini <[email protected]> 1029 1030 * testsuite/22_locale/num_put_members_char.cc: Add test04(), 1031 testing for the locale_facets.tcc entry of the previous commit. 1032 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise. 1033 10342002-05-18 Takeshi Kobayakawa <[email protected]> 1035 1036 * config/locale/generic/c_locale.cc 1037 (__convert_to_v(float, double, long double)): 1038 Fix the temporary switch to the "C" locale, saving and 1039 restoring in the proper way the current locale. 1040 * config/locale/generic/time_members.cc 1041 (__timepunct<char, wchar_t>::_M_put): Likewise. 1042 * config/locale/gnu/messages_members.cc 1043 (messages<char>::do_get): Likewise. 1044 * config/locale/gnu/messages_members.h 1045 (messages<_CharT>::do_get): Likewise. 1046 * config/locale/gnu/time_members.cc 1047 (__timepunct<char, wchar_t>::_M_put): Likewise. 1048 * include/bits/locale_facets.tcc (__convert_from_v): Likewise. 1049 10502002-05-18 Paolo Carlini <[email protected]> 1051 Nathan Myers <[email protected]> 1052 Philip Martin <[email protected]> 1053 1054 * include/bits/basic_string.h 1055 (replace(i1, i2, _CharT* k1, _CharT* k2), 1056 replace(i2, i2, const _CharT* k1, const _CharT* k2), 1057 replace(i1, i2, iterator k1, iterator k2, 1058 replace(i1, i2, const_iterator k1, const_iterator k2): 1059 New specializations to optimize for the common cases of 1060 pointers and iterators. 1061 (replace(pos, n1, s, n2)): Tweak. 1062 * include/bits/basic_string.tcc: Tweak comments. 1063 * testsuite/21_strings/replace.cc (test05): New tests. 1064 10652002-05-18 Benjamin Kosnik <[email protected]> 1066 1067 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove 1068 _G_USING_THUNKS. 1069 * config/os/solaris/solaris2.6/bits/os_defines.h: Same. 1070 * config/os/solaris/solaris2.7/bits/os_defines.h: Same. 1071 10722002-05-18 Benjamin Kosnik <[email protected]> 1073 1074 * docs/html/17_intro/RELEASE-NOTES (New): Update. 1075 10762002-05-18 Benjamin Kosnik <[email protected]> 1077 1078 PR libstdc++/6518 1079 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix 1080 for null case. 1081 (ostream::operator<<(const _CharT*)): Same. 1082 (ostream<char>::operator<<(const char*)): Same. 1083 * testsuite/27_io/ostream_inserter_char.cc (test07): Add test. 1084 10852002-05-18 Benjamin Kosnik <[email protected]> 1086 1087 PR libstdc++/6594 1088 * src/strstream.cc (strstreambuf): Fix leak. 1089 10902002-05-18 Benjamin Kosnik <[email protected]> 1091 1092 * testsuite/22_locale/ctype_scan_char.cc: Tweak. 1093 * testsuite/22_locale/ctype_scan_wchar_t.cc: New. 1094 1095 * docs/html/install.html: Fix. 1096 10972002-05-18 Kaveh R. Ghazi <[email protected]> 1098 1099 * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned 1100 char. 1101 1102 * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not): 1103 Fix typo, use this->is() rather than manually (and perhaps 1104 incorrectly) inlining it. 1105 * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not): 1106 Likewise. 1107 * testsuite/22_locale/ctype_scan_char.cc: New file. 1108 11092002-05-18 Benjamin Kosnik <[email protected]> 1110 1111 * include/bits/fstream.tcc 1112 (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous 1113 try/catch blocks. 1114 * src/localename.cc (locale::_Impl::_M_install_facet): Same. 1115 1116 * docs/html/install.html: Tweak, add bits about required locales 1117 for the 22_locale tests when using the gnu model. 1118 1119 * testsuite/27_io/istream_sentry.cc: Tweak. 1120 11212002-05-16 Phil Edwards <[email protected]> 1122 1123 * docs/html/faq/index.html: Update not-a-bug list with basic_file.h. 1124 * docs/html/faq/index.txt: Regenerate. 1125 11262002-05-15 Paolo Carlini <[email protected]> 1127 1128 PR libstdc++/6648 1129 * include/bits/istream.tcc (istream::getline, ignore): 1130 Upon __idelim (__delim) call sbumpc() not snextc(). 1131 * testsuite/27_io/narrow_stream_objects.cc: 1132 Add test08 and test09. 1133 11342002-05-14 Release Manager 1135 1136 * GCC 3.1 Released. 1137 11382002-05-09 Jakub Jelinek <[email protected]> 1139 1140 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all 1141 multilib dirs containing libgcc_s*.so.1 below gcc object dir to 1142 LD_LIBRARY_PATH. 1143 11442002-05-08 Alexandre Oliva <[email protected]> 1145 1146 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at 1147 script entry, and set LD to it when configuring multilibs. 1148 * configure: Rebuilt. 1149 11502002-05-06 Phil Edwards <[email protected]> 1151 1152 * docs/html/documentation.html: Fix broken link. 1153 11542002-05-03 Benjamin Kosnik <[email protected]> 1155 1156 PR libstdc++/6549. 1157 * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert. 1158 * testsuite/27_io/narrow_stream_objects.cc (test07): Add. 1159 11602002-05-02 Phil Edwards <[email protected]> 1161 1162 * docs/html/faq/index.html: Update list in #4.1. 1163 * docs/html/faq/index.txt: Regenerated. 1164 11652002-05-01 Phil Edwards <[email protected]> 1166 1167 * include/std/std_bitset.h: Fix doxygen comments. 1168 * docs/html/documentation.html: Minor tweaks for 3.1. 1169 * docs/html/27_io/howto.html: Likewise. 1170 * docs/html/ext/howto.html: Likewise, mention stdio_filebuf. 1171 * docs/html/faq/index.html: Likewise. 1172 * docs/html/faq/index.txt: Regenerated. 1173 11742002-05-01 Benjamin Kosnik <[email protected]> 1175 1176 PR libstdc++/6533 1177 * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New. 1178 (istreambuf_iterator::equal): Use it. 1179 (istreambuf_iterator::operator*): Use it. 1180 11812002-05-01 Paolo Carlini <[email protected]> 1182 1183 PR libstdc++/6513 1184 * include/bits/stl_uninitialized.h 1185 (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)): 1186 Fix typo in 2001-07-17 commit: typedef _ValueType to 1187 iterator_traits<_ForwardIter> not <_InputIter>. 1188 * testsuite/23_containers/vector_ctor.cc: Add test04. 1189 11902002-04-30 John David Anglin <[email protected]> 1191 1192 PR libstdc++/6501 1193 * include/c_std/std_cctype.h: Include bits/c++config.h. 1194 * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define. 1195 11962002-04-30 Benjamin Kosnik <[email protected]> 1197 1198 * include/ext/stdio_filebuf.h: New file. 1199 * include/ext/enc_filebuf.h: New file. 1200 * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor. 1201 * config/io/basic_file_stdio.cc: Same. 1202 * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer): 1203 Remove _M_unbuf hacks. 1204 (filebuf::_M_destroy_internal_buffer): Same. 1205 (filebuf::filebuf(cfile, openmode, int_type): Remove definition. 1206 (filebuf::fd): Remove. 1207 * include/std/std_fstream.h (filebuf::_M_unbuf): Remove. 1208 (filebuf::filebuf(__c_file*, openmode, int_type)): Remove. 1209 (filebuf::fd): Remove. 1210 * src/ios.cc (ios_base::_S_ios_create): Change to use specialized 1211 filebufs. 1212 (ios_base::_S_ios_destroy): Same. 1213 * src/misc-inst.cc (file_filebuf<char>): Add instantiation. 1214 * include/Makefile.am (ext_headers): Add ext_filebuf.h, 1215 stdio_filebuf.h. * include/Makefile.in: Regenerate. 1216 12172002-04-30 Benjamin Kosnik <[email protected]> 1218 1219 PR libstdc++/6511 1220 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo. 1221 12222002-04-29 Benjamin Kosnik <[email protected]> 1223 1224 PR libstdc++/5820 1225 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common): 1226 Check for eof. 1227 * include/bits/streambuf_iterator.h: Match stream_iterator.h. 1228 (istreambuf_iterator::operator++): Invalidate on eof. 1229 (istreambuf_iterator::operator++(int)): Same. 1230 (istreambuf_iterator::operator*): Same. 1231 12322002-04-29 Benjamin Kosnik <[email protected]> 1233 1234 PR libstdc++/5820 1235 * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int. 1236 (__basic_file::sys_ungetc): Take int. 1237 * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same. 1238 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common): 1239 Use sys_getc for unbuffered input. 1240 * testsuite/27_io/narrow_stream_objects.cc (test06): New. 1241 1242 * src/ios.cc (_M_grow_words): Adjust error checking. 1243 * testsuite/27_io/ios_base_storage.cc: Same. 1244 12452002-04-29 Rainer Orth <[email protected]> 1246 1247 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all 1248 of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH, 1249 LD_LIBRARY64_PATH. 1250 12512002-04-28 Peter Schmid <[email protected]> 1252 1253 * include/ext/stl_hashtable.h: Import __iterator_category 1254 12552002-04-28 Paolo Carlini <[email protected]> 1256 Peter Schmid <[email protected]> 1257 1258 * testsuite/ext/hash_set.cc: New testfile. 1259 12602002-04-26 Paolo Carlini <[email protected]> 1261 1262 * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2): 1263 Fix and tighten __throw_length_error check. 1264 * testsuite/21_strings/replace.cc (test04): New. 1265 * testsuite/21_strings/replace.cc (test02, test03): Tweak. 1266 12672002-04-23 Loren J. Rittle <[email protected]> 1268 1269 * include/std/std_fstream.h (basic_filebuf::sync): Hoist 1270 unconditional flush on lower-layer handle to here... 1271 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): 1272 ...from here. Optimize remaining _M_file.sync() call pattern. 1273 * testsuite/27_io/narrow_stream_objects.cc (test04): New test. 1274 (test05): Likewise. 1275 12762002-04-23 Jason Merrill <[email protected]> 1277 1278 * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for 1279 output-only filebufs. 1280 * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate): 1281 Likewise. 1282 (basic_filebuf::_M_set_determinate): Likewise. 1283 1284 PR libstdc++/6414 1285 * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return 1286 value properly in the trivial case. 1287 * testsuite/27_io/istream_seeks.cc (test04): Make sure that 1288 tellg() returns the right value after a read. 1289 12902002-04-23 Hans-Peter Nilsson <[email protected]> 1291 1292 * config/cpu/mmix/bits/cpu_limits.h: New file. 1293 * configure.target (CPULIMITSH): Use it. 1294 12952002-04-20 Jason Merrill <[email protected]> 1296 1297 PR libstdc++/4150 1298 * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate): 1299 Move to filebuf. 1300 (basic_streambuf::_M_set_determinate): Likewise. 1301 (basic_streambuf::_M_is_indeterminate): Likewise. 1302 * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New 1303 non-static data member. 1304 (basic_filebuf::_M_underflow_common): New non-static member function. 1305 (basic_filebuf::_M_underflow, _M_uflow): Call it. 1306 (basic_filebuf::sync): Avoid useless seeking. 1307 (basic_filebuf::_M_set_indeterminate): Move here from streambuf. 1308 Set _M_filepos. 1309 (basic_filebuf::_M_set_determinate): Likewise. 1310 (basic_filebuf::_M_is_indeterminate): Likewise. 1311 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek 1312 back to _M_out_beg if necessary. 1313 (basic_filebuf::seekoff): Likewise. 1314 (basic_filebuf::_M_underflow_common): Generalization of old 1315 underflow(). Don't seek back to _M_in_beg. 1316 * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff. 1317 * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise. 1318 * config/os/bsd/freebsd/bits/os_defines.h: Likewise. 1319 * config/os/mingw32/bits/os_defines.h: Likewise. 1320 * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify 1321 ungetc test. 1322 13232002-04-22 Benjamin Kosnik <[email protected]> 1324 1325 * include/bits/istream.tcc (istream::read): Fix. 1326 * testsuite/27_io/istream_unformatted.cc (main): Add. 1327 13282002-04-20 Benjamin Kosnik <[email protected]> 1329 1330 PR libstdc++/6360 1331 * include/bits/istream.tcc (istream::ignore): Streamline, use 1332 delimiter as is. 1333 * include/bits/streambuf.tcc: Use this->gptr. 1334 * testsuite/27_io/istream_unformatted.cc (test08): Add test. 1335 13362002-04-19 Benjamin Kosnik <[email protected]> 1337 1338 * include/bits/localefwd.h (locale::id::_M_id): Do this correctly, 1339 as type safety is important, especially on solaris. 1340 * include/bits/istream.tcc (istream::read): Clean. 1341 (istream::readsome): Same. 1342 * locale.cc: Wrap lines. 1343 1344 * testsuite/21_strings/inserters_extractors.cc: Tweaks. 1345 * testsuite/27_io/instantiations.cc (test): Add bool variable... 1346 * testsuite/21_strings/capacity.cc: Clean. 1347 13482002-04-19 Benjamin Kosnik <[email protected]> 1349 1350 * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation. 1351 13522002-04-19 Benjamin Kosnik <[email protected]> 1353 1354 * config/linker-map.gnu (__malloc_alloc_template): Add. 1355 (__default_alloc_template): Same. 1356 * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern 1357 template. 1358 (__default_alloc_template): Same. 1359 13602002-04-19 Benjamin Kosnik <[email protected]> 1361 1362 * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations. 1363 * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation. 1364 (__malloc_alloc_template): Conditionalize. 1365 1366 * include/bits/istream.tcc: Remove sputbackc calls. 1367 1368 * testsuite/19_diagnostics/stdexceptions.cc: Fix comment. 1369 13702002-04-19 Benjamin Kosnik <[email protected]> 1371 1372 PR libstdc++/4164 1373 Valgrind fixes. 1374 * config/io/basic_file_stdio.cc (__basic_file::~__basic_file): 1375 Call close. 1376 (__basic_file::close): Call fflush. Correct return if fclose ok. 1377 (__basic_file::is_open): Make const. 1378 Change __c_file_type to __c_file. 1379 * config/io/basic_file_stdio.h: Change __c_file_type to __c_file. 1380 (__basic_file::is_open): Make const. 1381 * config/io/c_io_stdio.h: Change __c_file_type to __c_file. 1382 * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove. 1383 (filebuf::_M_unbuf): Add. 1384 (filebuf::_M_file): Change to non-pointer. 1385 (filebuf::_M_allocate_pback_buffer): Remove. 1386 * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove. 1387 (filebuf::_M_allocate_internal_buffer): Use _M_unbuf. 1388 Change initialization list for _M_file change. 1389 (filebuf::_M_allocate_pback_buffer): Remove. 1390 Change _M_file usage to reflect non-pointer data member. 1391 1392 * config/locale/generic/c_locale.cc 1393 (locale::facet::_S_create_c_locale): Add parameter. 1394 * config/locale/generic/collate_members.cc: Change 1395 _M_compare_helper to _M_compare. 1396 Change _M_transform_helper to _M_transform. 1397 * config/locale/generic/monetary_members.cc: Changeup data types. 1398 Add dtors. 1399 * config/locale/generic/numeric_members.cc: Add dtors. 1400 * config/locale/generic/time_members.cc: Add dtors. 1401 * config/locale/gnu/c_locale.cc: Add parameter. 1402 * config/locale/gnu/collate_members.cc:Change 1403 _M_compare_helper to _M_compare. 1404 Change _M_transform_helper to _M_transform. 1405 * config/locale/gnu/ctype_members.cc: Better error checking. 1406 * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking. 1407 * config/locale/gnu/messages_members.cc: Tweak comment. 1408 * config/locale/gnu/monetary_members.cc: Change data types. 1409 Add dtors. 1410 * config/locale/gnu/numeric_members.cc: Add dtors, better error 1411 checking. 1412 * config/locale/gnu/time_members.cc: Same. 1413 * config/locale/ieee_1003.1-2001/c_locale.cc 1414 (locale::facet::_S_create_c_locale): Add parameter. 1415 * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef. 1416 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove 1417 bogus ctor. 1418 1419 * include/bits/locale_facets.h (moneypunct): Use string literals. 1420 Don't define dtor. 1421 (numpunct): Same. 1422 (__timepunct): Same. 1423 (locale::_Impl::_M_facets): Change from vector to array. 1424 (locale::_Impl::_M_names): Change from array of strings to array 1425 of string literals. 1426 (locale::facet::_S_create_c_locale): Add parameter. 1427 (locale::locale::_S_num_facets): Move to... 1428 (locale::_Impl::_M_facets_size): Here. 1429 * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name 1430 changes. 1431 * include/bits/localefwd.h: (locale::id::_M_id): Add member function. 1432 (locale::_Impl::_Impl(facet**, size_t, bool)): Add. 1433 (locale::_Impl::_Impl(string, size_t)): Change to 1434 (locale::_Impl::_Impl(const char*, size_t)): This. 1435 1436 * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define. 1437 * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to 1438 (streambuf::_S_pback_size): This. 1439 1440 * src/globals.cc: Add pre-allocations for "C" facets. 1441 * src/locale-inst.cc: Remove vector instantiations. 1442 * src/locale.cc: Remove vector include. Fixups for _M_names, 1443 _M_facets changes. 1444 * src/localename.cc: Same. 1445 1446 * include/bits/stl_vector.h: Fix odd formatting. 1447 1448 * include/bits/basic_string.tcc: Tweak comment. 1449 1450 * libsupc++/new: Make sure parameters are uglified. 1451 * libsupc++/typeinfo: Same. 1452 1453 * testsuite/22_locale/num_get_members_char.cc: Fixup. 1454 * testsuite/22_locale/num_get_members_wchar_t.cc: Same. 1455 * testsuite/27_io/filebuf_members.cc: Same. 1456 14572002-04-17 Phil Edwards <[email protected]> 1458 1459 * docs/doxygen/doxygroups.cc: New group on binary searching. 1460 * include/bits/stl_algo.h: Document binary searches and merges. 1461 * include/bits/stl_deque.h: The 'map' member is not the 'map' class. 1462 14632002-04-17 Phil Edwards <[email protected]> 1464 1465 * docs/doxygen/mainpage.html: Doxygen logo is now a PNG file. 1466 * docs/doxygen/run_doxygen: Bump required version. 1467 * docs/doxygen/user.cfg.in: Revert accidental change. 1468 * docs/html/faq/index.html: Reindent a block of links. 1469 (4.4): New note on using dlsym. 1470 * docs/html/faq/index.txt: Regenerated. 1471 14722002-04-16 Paolo Carlini <[email protected]> 1473 1474 * testsuite/24_iterators/rel_ops.cc: New test. 1475 14762002-04-16 Gabriel Dos Reis <[email protected]> 1477 1478 * include/bits/type_traits.h (__normal_iterator): Declare in 1479 __gnu_cxx. Adjust use at global namespace. 1480 * include/bits/stl_iterator.h (__normal_iterator): Move definition 1481 into __gnu_cxx::. Add more operator overloads. Tidy existing ones. 1482 * include/bits/basic_string.h (basic_string): Adjust use of 1483 __normal_iterator. 1484 * include/bits/stl_vector.h (_Alloc>): Likewise. 1485 * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here. 1486 * src/locale-inst.cc (__gnu_cxx): Likewise. 1487 * src/string-inst.cc (operator==): Instantiate in __gnu_cxx. 1488 14892002-04-15 Steve Ellcey <[email protected]> 1490 1491 * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h 1492 (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA) 1493 does not define strtoll or strtoull, but does define strtol 1494 and strtoul which are the same since in 64 bit mode 1495 sizeof(long) == sizeof(long long). 1496 14972002-04-12 Phil Edwards <[email protected]> 1498 1499 * include/std/std_bitset.h: Doxygenate std::bitset<>. Clean up 1500 trailing spaces, indentation, and macro names. Make exception 1501 messages more informative. 1502 15032002-04-11 Richard Henderson <[email protected]> 1504 1505 * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering. 1506 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same. 1507 (basic_ostream<>::operator<<(long long)): Same. 1508 15092002-04-11 Richard Henderson <[email protected]> 1510 1511 * config/linker-map.gnu: Add __gxx_personality_sj0. 1512 15132002-04-09 Benjamin Kosnik <[email protected]> 1514 1515 libstdc++/1072 1516 * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from 1517 pointer to vector. 1518 Remove forward declaration of vector. 1519 Include vector. 1520 * include/bits/locale_facets.tcc: Remove vector include. 1521 (use_locale): Adjust. 1522 (has_locale): Adjust. 1523 * src/locale.cc: Adjust. 1524 * src/localename.cc: Same. 1525 15262002-04-09 Benjamin Kosnik <[email protected]> 1527 Richard Henderson <[email protected]> 1528 1529 * include/bits/sstream.tcc: Clean up bit ops. 1530 * include/bits/fstream.tcc: Same. 1531 15322002-04-09 Jakub Jelinek <[email protected]> 1533 1534 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove. 1535 (__num_base::_S_scale_oct): Remove. 1536 * src/locale.cc (__num_base::_S_scale_hex): Remove. 1537 (__num_base::_S_scale_oct): Remove. 1538 15392002-04-09 Benjamin Kosnik <[email protected]> 1540 1541 libstdc++/6124 1542 * testsuite/23_containers/bitset_members.cc: New test. 1543 * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move.. 1544 (_S_bit_count): Here. 1545 (_First_one::_S_first_one): Move... 1546 (_S_first_one): Here. 1547 Format. 1548 * src/bitset.cc: Adjust. 1549 * config/linker-map.gnu: Export. 1550 15512002-04-08 Benjamin Kosnik <[email protected]> 1552 1553 libstdc++/5180 1554 * include/bits/fstream.tcc (filebuf::seekpos): Fix. 1555 * include/std/std_fstream.h: Clean. 1556 * include/bits/ostream.tcc: Remove extraneous variables. 1557 * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about 1558 open modes and which modes. 1559 (stringbuf::seekpos): Same. 1560 * testsuite/27_io/stringbuf_virtuals.cc: New tests. 1561 15622002-04-05 Jonathan Wakely <[email protected]> 1563 1564 * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy, 1565 random_shuffle, partition, stable_partition, sort, stable_sort, 1566 partial_sort, partial_sort_copy, nth_element): Doxygenate. 1567 15682002-04-05 David S. Miller <[email protected]> 1569 1570 * config/os/gnu-linux/bits/os_defines.h 1571 (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc. 1572 15732002-04-04 Benjamin Kosnik <[email protected]> 1574 1575 libstdc++/3457 1576 via [email protected] 1577 * acinclude.m4 (version_specific_libs): Fix combo usage with 1578 --with-gxx-include-dir. 1579 * aclocal.m4: Regenerate. 1580 * configure: Same. 1581 15822002-04-03 Benjamin Kosnik <[email protected]> 1583 1584 As per DR 184, libstdc++/3139 1585 * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1. 1586 (numeric_limits<bool>::is_iec559): False. 1587 (numeric_limits<bool>::is_modulo): False. 1588 1589 * testsuite/27_io/ios_init.cc: Add instantiations. 1590 15912002-04-02 Benjamin Kosnik <[email protected]> 1592 1593 libstdc++/5268 1594 * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls. 1595 * testsuite/27_io/ios_init.cc (tests04): Add test. 1596 1597 libstdc++/3983 1598 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove. 1599 (basic_ios::_M_ios_fctype): Consistently name to _M_fctype. 1600 * include/bits/basic_ios.tcc: Same. Remove outdated comments. 1601 * include/bits/istream.tcc: Use _M_fctype, make consistent with 1602 ostream. 1603 * testsuite/27_io/ios_init.cc (tests03): Add test. 1604 16052002-04-02 Phil Edwards <[email protected]> 1606 1607 * include/Makefile.am (install-data-local): Use mkinstalldirs. 1608 * include/Makefile.in: Regenerate. 1609 16102002-04-01 Benjamin Kosnik <[email protected]> 1611 1612 libstdc++/5542 1613 * acinclude: More extensive checks for msgfmt, --enable-nls. 1614 * aclocal.m4: Regenerate. 1615 * configure: Regenerate. 1616 16172002-04-01 Phil Edwards <[email protected]> 1618 1619 * libsupc++/exception (__verbose_terminate_handler): Point to docs. 1620 * docs/doxygen/doxygroups.cc: Doxygen hooks for abi::__cxa_demangle. 1621 * docs/html/18_support/howto.html: Document the demangler. 1622 * docs/html/17_intro/howto.html: And link to it. 1623 1624 * docs/doxygen/mainpage.html: Describe user-vs-maintainer docs. 1625 * docs/doxygen/run_doxygen: Print user-vs-maintainer. 1626 16272002-04-01 Phil Edwards <[email protected]> 1628 1629 * include/bits/c++config: Fix misplaced leading blanks on first line. 1630 16312002-04-01 Phil Edwards <[email protected]> 1632 1633 * config/linker-map.gnu: Export __verbose_terminate_handler. 1634 * libsupc++/Makefile.am (sources): Add cxa_demangle.c, dyn-string.c. 1635 Make new LTCOMPILE variable, use it in new special build rules. 1636 * libsupc++/Makefile.in: Rebuild. 1637 * src/vterminate.cc (__verbose_terminate_handler): Enable use of 1638 runtime __cxa_demangle. 1639 1640 * docs/html/install.html: Update prereqs and instructions. 1641 * docs/html/19_diagnostics/howto.html: Bring naming for 1642 verbose_terminate_handler into line with reality. 1643 16442002-04-01 Benjamin Kosnik <[email protected]> 1645 1646 libstdc++/3129 1647 * include/bits/basic_ios.h (basic_ios::_M_exception): Move. 1648 (basic_ios::_M_streambuf_state): Move. 1649 * include/bits/ios_base (ios_base): To here. 1650 * include/bits/ios_base.h (ios_base::_S_local_words): To 1651 _S_local_word_size. 1652 (ios_base::_M_word_array): To _M_local_word. 1653 (ios_base::_M_words_limit): To _M_word_size. 1654 (ios_base::_M_words): To _M_word. 1655 Comment. 1656 * include/bits/basic_ios.tcc: Adjust. 1657 * src/ios.cc (ios_base::_M_grow_words): Tweak. 1658 * testsuite/27_io/ios_base_storage.cc: Add tests. 1659 1660 libstdc++/5207 1661 Kenny Simpson <[email protected]> 1662 * include/bits/ios_base.h: Fix. 1663 1664 Richard Henderson <[email protected]> 1665 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct 1666 last change. 1667 1668 * include/bits/basic_string.h: Tweak formatting. 1669 16702002-04-01 Paolo Carlini <[email protected]> 1671 1672 * config/locale/ieee_1003.1-2001/codecvt_specializations.h 1673 (codecvt::do_out, codecvt::do_unshift, codecvt::do_in): 1674 By definition, sizeof(char) == 1. 1675 * include/bits/locale_facets.tcc (money_get::do_get, 1676 money_put::do_put): Ditto. 1677 * testsuite/21_strings/inserters_extractors.cc 1678 (test04): Ditto. 1679 16802002-03-30 Richard Henderson <[email protected]> 1681 1682 PR c++/3719 1683 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler 1684 data out of the exception struct before calling unexpectedHandler. 1685 16862002-03-28 Roger Sayle <[email protected]> 1687 1688 * include/c_std/std_cmath.h: To prevent problems overloading 1689 g++ builtins, use the double variants from the global namespace 1690 before defining float and long double variants in std::. 1691 16922002-03-28 Loren J. Rittle <[email protected]> 1693 1694 * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo. 1695 16962002-03-28 Paolo Carlini <[email protected]> 1697 1698 * testsuite/24_iterators/istream_iterator.cc 1699 (test02): New tests. 1700 17012002-03-28 Ulrich Weigand <[email protected]> 1702 Paolo Carlini <[email protected]> 1703 1704 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc 1705 (test01): Protect the test with _GLIBCPP_USE_WCHAR_T; 1706 fix i_lit_base e_lit_base arrays, making them independent 1707 from the endianness of the platform; tweak UCS4 to UCS-4BE. 1708 17092002-03-27 Benjamin Kosnik <[email protected]> 1710 1711 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always 1712 allocate at least a byte. 1713 1714 * testsuite/18_support/numeric_limits.cc (test_extrema): Make 1715 debugger-friendly. 1716 * testsuite/27_io/streambuf.cc (test07): Fix. 1717 (test06): Enable. 1718 17192002-03-27 Phil Edwards <[email protected]> 1720 1721 Bulk documentation merge (copy) from trunk. 1722 * docs/doxygen/Intro.3, docs/doxygen/TODO, docs/doxygen/doxygroups.cc, 1723 docs/doxygen/mainpage.html, docs/doxygen/run_doxygen, 1724 docs/doxygen/tables.html, docs/doxygen/user.cfg.in, 1725 docs/html/Makefile, docs/html/17_intro/howto.html, 1726 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html: 1727 Merge from trunk. 1728 17292002-03-27 Phil Edwards <[email protected]> 1730 1731 * include/bits/stl_algo.h: Remove @maint and @endmaint. 1732 * include/bits/stl_alloc.h: Likewise. 1733 * include/bits/stl_construct.h: Likewise. 1734 * include/bits/stl_deque.h: Likewise. 1735 * include/bits/stl_iterator_base_types.h: Likewise. 1736 * include/bits/stl_list.h: Likewise. 1737 * include/bits/stl_relops.h: Likewise. 1738 * include/bits/stl_tempbuf.h: Likewise. 1739 * include/bits/stl_vector.h: Likewise. 1740 * include/std/std_memory.h: Likewise. 1741 1742 * include/bits/stl_deque.h: Point into tables.html and add @ingroup. 1743 * include/bits/stl_list.h: Likewise. 1744 * include/bits/stl_vector.h: Likewise. 1745 17462002-03-26 Benjamin Kosnik <[email protected]> 1747 1748 * include/c/: Guard with _CPP_. 1749 * include/c_std/: Same. 1750 * include/Makefile.am: Fixup install, link routines for null 1751 c_base_headers_extra scenarios. 1752 * include/Makefile.in: Regerate. 1753 17542002-03-25 Paolo Carlini <[email protected]> 1755 Richard Henderson <[email protected]> 1756 1757 * testsuite/22_locale/codecvt_members_unicode_char.cc 1758 (test01, test02): make sure that the i_lit_base array 1759 is sufficiently aligned. 1760 17612002-03-25 Benjamin Kosnik <[email protected]> 1762 1763 * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to 1764 _ctype_. 1765 17662002-03-25 Paolo Carlini <[email protected]> 1767 1768 * testsuite/22_locale/collate_byname.cc 1769 (test01): compare the result of collate::compare with 1770 that of collate::transform + string::compare, not with 1771 that of collate::transform + collate::compare; values 1772 returned by collate::compare are normalized, therefore 1773 test against +-1. 1774 17752002-03-25 Jakub Jelinek <[email protected]> 1776 1777 PR target/5676 1778 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): Pass -fexceptions 1779 explicitly. 1780 * aclocal.m4: Rebuilt. 1781 * configure: Rebuilt. 1782 * configure.target (mcore-*-pe*): Add -frtti -fno-exceptions 1783 by default to c++ flags. 1784 17852002-03-25 Benjamin Kosnik <[email protected]> 1786 Jakub Jelinek <[email protected]> 1787 1788 * config/locale/gnu/messages_members.h: Correct conditional. 1789 * config/locale/gnu/messages_members.cc: Same. 1790 * config/locale/gnu/time_members.cc: Same. 1791 17922002-03-25 Ulrich Weigand <[email protected]> 1793 Paolo Carlini <[email protected]> 1794 1795 * testsuite/22_locale/codecvt_members_unicode_char.cc 1796 (test01, test02): Fix i_lit_base arrays, making them 1797 independent from the endianness of the platform. 1798 17992002-03-22 Benjamin Kosnik <[email protected]> 1800 1801 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for 1802 signbit and __signbit directly. 1803 * aclocal.m4: Regenerate. 1804 * configure: Regenerate. 1805 * config.h.in: Regenerate. 1806 * libmath/Makefile.am: Simplify. 1807 * libmath/Makefile.in: Regenerate. 1808 * include/c_std/std_cmath.h: Update paths for include of cmath.tcc. 1809 1810 * include/Makefile.am: Clean up handling of extra "C" header files. 1811 Add hooks for "C" compatibility headers. 1812 * include/Makefile.in: Regenerate. 1813 1814 * include/c/*: Formatting tweaks, cleanups. 1815 * include/c_std/*: Same. 1816 18172002-03-22 Benjamin Kosnik <[email protected]> 1818 1819 * config/locale/gnu/messages_members.h: Add __uselocale bits. 1820 * config/locale/gnu/messages_members.cc: Same. 1821 * config/locale/gnu/time_members.cc: Same. 1822 18232002-03-22 Benjamin Kosnik <[email protected]> 1824 1825 * src/vterminate.cc: Format, -fno-exceptions cleanup. 1826 18272002-03-21 Rainer Orth <[email protected]> 1828 1829 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New. 1830 (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv. 1831 * aclocal.m4: Regenerate. 1832 * configure: Likewise. 1833 18342002-03-19 Paolo Carlini <[email protected]> 1835 Ulrich Drepper <[email protected]> 1836 1837 * src/locale-inst.cc (__convert_from_v): Add an additional 1838 __size parameter in the declarations. 1839 * include/bits/locale_facets.tcc 1840 (__convert_from_v): When available (that is, 1841 _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf. 1842 (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99 1843 being defined or not, call and use __convert_from_v in the 1844 appropriate way. 1845 (num_put::_M_convert_int): Same here. 1846 (money_put::do_put(long double)): Same here. 1847 18482002-03-19 Phil Edwards <[email protected]> 1849 1850 * docs/html/faq/index.html (#3.6): Rewrap and close <a href> tags. 1851 * docs/html/faq/index.txt: Regenerate. 1852 18532002-03-19 Steve Ellcey <[email protected]> 1854 1855 * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define 1856 GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if 1857 --enable-libunwind-exceptions is set. 1858 * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new 1859 macro to check for libunwind. 1860 * configure: Regenerate. 1861 * src/Makefile.am (libstdc___la_LDFLAGS): Add 1862 LIBUNWIND_FLAG to libstdc link line. 1863 * src/Makefile.in: Regenerate. 1864 18652002-03-19 Benjamin Kosnik <[email protected]> 1866 1867 * docs/html/faq/index.html: Add OS X workaround. 1868 * docs/html/17_intro/TODO: Update. 1869 18702002-03-18 Paolo Carlini <[email protected]> 1871 1872 * include/bits/locale_facets.tcc 1873 (money_put::do_put(long double)): Fix dimensioning of 1874 temporary buffers to avoid risk of overruns. 1875 (money_put::do_put(string)): Same for the buffer used to 1876 add the grouping chars. 1877 * testsuite/22_locale/money_put_members_char.cc: Add test06. 1878 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto. 1879 1880 * include/bits/locale_facets.tcc 1881 (collate::do_transform): Simplify. 1882 18832002-03-18 Phil Edwards <[email protected]> 1884 1885 * acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform. 1886 * configure.in: Add comments pointing the way for autoconf 2.5x. 1887 * aclocal.m4, config.h.in, configure: Regenerate. 1888 18892002-03-18 Philipp Thomas <[email protected]> 1890 1891 * include/backward/hash_map.h: hash, hashtable, hash_map and 1892 hash_multimap are in namespace __gnu_cxx. 1893 include/backward/hash_set.h: hash, hashtable, hash_set and 1894 hash_multiset are in namespace __gnu_cxx. 1895 include/backward/hashtable.h: hash and hashtable are in 1896 namespace __gnu_cxx. 1897 include/backward/rope.h: char_producer, sequence_buffer, 1898 rope, crope and wrope are in namespace __gnu_cxx. 1899 include/backward/slist.h: slist is in namespace __gnu_cxx. 1900 * testsuite/backward/header_hash_map_h.cc 1901 testsuite/backward/header_hash_set_h.cc 1902 testsuite/backward/header_hashtable_h.cc 1903 testsuite/backward/header_rope_h.cc 1904 testsuite/backward/header_slist_h.cc 1905 testsuite/backward/header_tempbuf_h.cc: New tests for 1906 checking that we're using the correct namespace. 1907 19082002-03-17 Jason Merrill <[email protected]> 1909 1910 PR c++/4381 1911 * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn. 1912 (check_exception_spec): Call it. Take the thrown pointer. 1913 (__cxa_call_unexpected): Pass it. 1914 (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr. 1915 19162002-03-15 Anthony Green <[email protected]> 1917 1918 * configure.in: Remove useless is_mingw32. 1919 * configure: Rebuilt. 1920 19212002-03-15 Paolo Carlini <[email protected]> 1922 1923 * testsuite/22_locale/collate_members_char.cc 1924 (test01): compare the result of collate::compare with 1925 that of collate::transform + string::compare, not with 1926 that of collate::transform + collate::compare. 1927 (test01): values returned by collate::compare are 1928 normalized, therefore test against +-1. 1929 * testsuite/22_locale/collate_members_wchar_t.cc: Ditto. 1930 19312002-03-12 Loren Rittle <[email protected]> 1932 1933 reported by Peter Schmid <[email protected]> 1934 * testsuite/thread/pthread4.cc: Lower nominal iteration counter. 1935 19362002-03-12 Benjamin Kosnik <[email protected]> 1937 Per Liboriussen <[email protected]> 1938 1939 * config/os/gnu-linux/bits/ctype_noninline.h: Cast to 1940 unsigned char. 1941 * config/os/gnu-linux/bits/ctype_inline.h: Same. 1942 1943 * config/os/irix/irix6.5/bits/ctype_inline.h: Same. 1944 1945 * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same. 1946 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same. 1947 1948 * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same. 1949 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same. 1950 1951 * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same. 1952 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same. 1953 1954 * testsuite/22_locale/ctype_members_char.cc (main): Add tests. 1955 19562002-03-12 Benjamin Kosnik <[email protected]> 1957 1958 * include/bits/basic_string.tcc (string::_S_construct(_InIter, 1959 _InIter, const _Alloc&, forward_iterator_tag): Check for null. 1960 (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same. 1961 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now 1962 that memory limits are in place. 1963 (test03): Add tests. 1964 19652002-03-11 Benjamin Kosnik <[email protected]> 1966 1967 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h. 1968 * aclocal.m4: Regenerate. 1969 * config.h.in: Regenerate. 1970 * configure: Regenerate. 1971 * include/c_std/std_cwctype.h: Guard. 1972 19732002-03-11 Chris Demetriou <[email protected]> 1974 1975 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for 1976 whether GLIBCPP_CHECK_LINKER_FEATURES has been used. 1977 * aclocal.m4: Regenerate. 1978 * configure: Regenerate. 1979 19802002-03-11 Benjamin Kosnik <[email protected]> 1981 1982 * include/bits/stl_bvector.h: Fix warning. 1983 19842002-03-11 Richard Henderson <[email protected]> 1985 1986 * include/bits/stl_bvector.h (_Bit_type): New. Use throughout. 1987 19882002-03-11 Paolo Carlini <[email protected]> 1989 1990 * include/bits/locale_facets.tcc (collate::do_transform): 1991 Rewrite to fix problems with long transformed strings. 1992 1993 * include/bits/locale_facets.tcc (time_put::do_put): 1994 Consider sizeof(char_type) in allocating the buffer. 1995 19962002-03-10 Anthony Green <[email protected]> 1997 1998 * configure.in: Support cross builds to mingw32 target. 1999 * configure: Rebuilt. 2000 20012002-03-08 Benjamin Kosnik <[email protected]> 2002 2003 * c_locale_generic.cc: Move to... 2004 * generic/c_locale.cc 2005 * c_locale_generic.h: Move to... 2006 * generic/c_locale.h 2007 * codecvt_specializations_generic.h: Move to... 2008 * generic/codecvt_specializations.h 2009 * collate_members_generic.cc: Move to... 2010 * generic/collate_members.cc 2011 * ctype_members_generic.cc: Move to... 2012 * generic/ctype_members.cc 2013 * messages_members_generic.cc: Move to... 2014 * generic/messages_members.cc 2015 * messages_members_generic.h: Move to... 2016 * generic/messages_members.h 2017 * moneypunct_members_generic.cc: Move to... 2018 * generic/monetary_members.cc 2019 * numpunct_members_generic.cc: Move to... 2020 * generic/numeric_members.cc 2021 * time_members_generic.cc: Move to... 2022 * generic/time_members.cc 2023 * c_locale_gnu.cc: Move to... 2024 * gnu/c_locale.cc 2025 * c_locale_gnu.h: Move to... 2026 * gnu/c_locale.h 2027 * collate_members_gnu.cc: Move to... 2028 * gnu/collate_members.cc 2029 * ctype_members_gnu.cc: Move to... 2030 * gnu/ctype_members.cc 2031 * messages_members_gnu.cc: Move to... 2032 * gnu/messages_members.cc 2033 * messages_members_gnu.h: Move to... 2034 * gnu/messages_members.h 2035 * moneypunct_members_gnu.cc: Move to... 2036 * gnu/monetary_members.cc 2037 * numpunct_members_gnu.cc: Move to... 2038 * gnu/numeric_members.cc 2039 * time_members_gnu.cc: Move to... 2040 * gnu/time_members.cc 2041 * c_locale_ieee_1003.1-200x.cc: Move to... 2042 * ieee_1003.1-2001/c_locale.cc 2043 * c_locale_ieee_1003.1-200x.h: Move to... 2044 * ieee_1003.1-2001/c_locale.h 2045 * codecvt_specializations_ieee_1003.1-200x.h: Move to... 2046 * ieee_1003.1-2001/codecvt_specializations.h 2047 * messages_members_ieee_1003.1-200x.cc: Move to... 2048 * ieee_1003.1-2001/messages_members.cc 2049 * messages_members_ieee_1003.1-200x.h: Move to... 2050 * ieee_1003.1-2001/messages_members.h 2051 2052 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent. 2053 * aclocal.m4: Regenerate. 2054 * configure: Regenerate. 2055 * src/Makefile.am (sources): Change to monetary and numeric. 2056 * src/Makefile.in: Regenerate. 2057 * docs/html/configopts.html: Update to ieee_1003.1-2001. 2058 20592002-03-08 scott snyder <[email protected]> 2060 2061 libstdc++/5875 2062 * include/bits/locale_facets.tcc (num_put::_M_convert_float): 2063 Allow one more digit of precision. 2064 * testsuite/27_io/ostream_inserter_arith.cc: Test that we can 2065 write a double and read back in the same value. 2066 20672002-03-08 Benjamin Kosnik <[email protected]> 2068 2069 * include/std/std_limits.h: Move static const data members out of 2070 generic template, into base class __numeric_limits_base. 2071 * src/limits.cc: Add definitions. 2072 * config/linker-map.gnu: Add __numeric_limits_base. 2073 * testsuite/18_support/numeric_limits.cc: Declare test in scope. 2074 20752002-03-07 Benjamin Kosnik <[email protected]> 2076 2077 * include/bits/stl_alloc.h: Add extern implicit allocator 2078 instantiations. 2079 * include/bits/basic_string.tcc: Tweak. 2080 * include/bits/loqcale_facets.tcc: Remove default args. Add 2081 has_facet, use_facet extern instantiations. 2082 * src/stl-inst.cc: Add explicit instantiation. 2083 * src/locale-inst.cc: Clean. Remove locale member template 2084 instantiations. 2085 2086 * testsuite/22_locale/operators.cc (test02): Enable. 2087 20882002-03-06 Benjamin Kosnik <[email protected]> 2089 Stephen M. Webb <[email protected]> 2090 2091 * include/bits/stl_tree.h (_S_rb_tree_red): Make enum. 2092 (_S_rb_tree_black): Make enum. 2093 Clean. Format. 2094 * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum. 2095 * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum. 2096 (__stl_threshold): _M_threshold, enum. 2097 * src/stl-inst.cc: Same. 2098 * config/linker-map.gnu: Remove. 2099 2100 * testsuite/23_containers/vector_bool.cc: New. 2101 21022002-03-08 Phil Edwards <[email protected]> 2103 2104 * include/bits/basic_string.h (basic_string::_S_construct): Fix 2105 names in declaration. 2106 (basic_string::compare): These are no longer optional. 2107 * include/bits/ostream.tcc: Tweak closing brace placement. 2108 * include/bits/stl_algo.h: Lots of initial doxygen comment hooks. 2109 * include/std/std_sstream.h: Fix typo in comment. 2110 * include/bits/locale_facets.tcc: Remove unneeded header inclusion. 2111 * src/locale.cc: Likewise. 2112 21132002-03-08 Phil Edwards <[email protected]> 2114 2115 PR libstdc++/5734 2116 * include/bits/stl_vector.h (vector::push_back()): Guard with 2117 _GLIBCPP_DEPRECATED. 2118 21192002-03-05 Benjamin Kosnik <[email protected]> 2120 2121 * docs/html/17_intro/RELEASE-NOTES: Fix usage. 2122 * README (libmath): Make clear. 2123 21242002-03-05 Jakub Jelinek <[email protected]> 2125 2126 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version 2127 script globbing in ld. 2128 * aclocal.m4: Rebuilt. 2129 * configure: Rebuilt. 2130 21312002-03-05 Benjamin Kosnik <[email protected]> 2132 2133 * docs/html/17_intro/RELEASE-NOTES: Update. 2134 * README: Format subdirectories. 2135 21362002-03-05 Paolo Carlini <[email protected]> 2137 2138 libstdc++/5816 2139 * include/bits/locale_facets.tcc 2140 (num_get::_M_extract_float): Fix the parsing of __dec, since 2141 the standard prescribes that if no grouping characters are 2142 seen, no grouping check is applied. 2143 * testsuite/22_locale/num_get_members_char.cc: Add test05 2144 distilled from the PR. 2145 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto. 2146 21472002-03-04 Craig Rodrigues <[email protected]> 2148 2149 * docs/html/17_intro/porting-howto.xml: Refer to 2150 http://www.oasis-open.org for docbookx.dtd. 2151 * docs/html/17_intro/porting-howto.html: Regenerated. 2152 21532002-03-03 Phil Edwards <[email protected]> 2154 2155 PR libstdc++/2955 2156 * include/std/std_sstream.h: Remove trailing spaces. 2157 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app. 2158 * testsuite/27_io/stringbuf.cc (test05, test06): New tests. 2159 21602002-03-03 Paolo Carlini <[email protected]> 2161 2162 * testsuite/22_locale/num_get_members_char.cc (test04): 2163 Use a named locale expecting grouping (de_DE). 2164 * testsuite/22_locale/num_get_members_wchar_t.cc (test04): 2165 Ditto. 2166 * testsuite/27_io/ios_manip_basefield.cc (test01): 2167 Extend coverage, uniform treatment of hexs and octs. 2168 21692002-03-01 Paolo Carlini <[email protected]> 2170 2171 * include/bits/locale_facets.tcc (num_get::_M_extract_int): 2172 Admit grouping for octals and hexadecimals too. 2173 * testsuite/22_locale/num_get_members_char.cc: Add test04. 2174 (test01): Tweak "." -> "," in void* test. 2175 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto. 2176 2177 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword. 2178 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them. 2179 2180 * testsuite/27_io/ios_manip_basefield.cc (test01): 2181 Fix for 64 bit machines. 2182 21832002-02-28 Richard Henderson <[email protected]> 2184 2185 * config/linker-map.gnu: Export operator new with unsigned long, 2186 and with std::nothrow_t. Likewise operator delete. 2187 21882002-02-26 Benjamin Kosnik <[email protected]> 2189 2190 libstdc++/3983 2191 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero. 2192 Adjust comment. 2193 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable. 2194 (basic_ios::_M_fill_init): New. 2195 (basic_ios::fill()): Delay dealing with _M_fill. 2196 Adjust comment. 2197 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words. 2198 (ios_base::_M_call_callbacks): Adjust. 2199 * testsuite/27_io/ios_init.cc (test02): Adjust testcase. 2200 22012002-02-28 Loren Rittle <[email protected]> 2202 2203 * include/Makefile.am (thread_target_headers): Unconditionally 2204 stage and install gthr-posix.h. 2205 (${target_builddir}/gthr-posix.h): New rule cloned off 2206 ${target_builddir}/gthr-default.h. 2207 (${target_builddir}/gthr-default.h): Support chained inclusion 2208 of gthr support headers. 2209 * include/Makefile.in: Rebuilt. 2210 22112002-02-26 Paolo Carlini <[email protected]> 2212 2213 * include/bits/locale_facets.tcc (num_put::_M_widen_int): 2214 Group all the integral types, not only decs. 2215 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing 2216 tests, add a few more. 2217 22182002-02-25 Benjamin Kosnik <[email protected]> 2219 2220 * src/ios.cc (ios_base::~ios_base): Tweak. 2221 (ios_base::_M_call_callbacks): Deal with null __p. 2222 (ios_base::ios_base): Set _M_callbacks. 2223 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment. 2224 * testsuite/27_io/ios_init.cc (test02): Fix. 2225 2226 * mkcheck.in (static_fail): Failed links go to output file. 2227 22282002-02-25 Phil Edwards <[email protected]> 2229 2230 * docs/html/faq/index.html: Update. 2231 * docs/html/faq/index.txt: Regenerate. 2232 22332002-02-22 Phil Edwards <[email protected]> 2234 2235 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment. 2236 * aclocal.m4: Regenerate. 2237 * docs/html/configopts.html: Document --enable-symvers. 2238 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag. 2239 22402002-02-22 Philipp Thomas <[email protected]> 2241 2242 * include/backward/tempbuf.h: get_temporary_buffer and 2243 return_temporary_buffer are in namespace std, not in __gnu_cxx. 2244 22452002-02-21 Benjamin Kosnik <[email protected]> 2246 2247 * configure.in (target_alias): Default to yes. 2248 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared 2249 libgcc to default case. 2250 22512002-02-20 Phil Edwards <[email protected]> 2252 2253 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version. 2254 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version. 2255 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script. 2256 * aclocal.m4: Regenerate. 2257 * configure: Regenerate. 2258 * config/linker-map.dummy: New file. Contains nothing useful. 2259 22602002-02-20 Benjamin Kosnik <[email protected]> 2261 2262 * testsuite/22_locale/money_put_members_char.cc: Fix. 2263 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix. 2264 2265 * testsuite/27_io/standard_manipulators.cc: New file. 2266 2267 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing. 2268 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic(). 2269 22702002-02-20 Danny Smith <[email protected]> 2271 2272 * config/os/mingw32/bits/ctype_noninline.h 2273 (ctype<char>::ctype): Remove default args from parm list. 2274 * config/os/djgpp/bits/ctype_noninline.h: Same. 2275 22762002-02-19 Benjamin Kosnik <[email protected]> 2277 2278 * include/std/std_iomanip.h: Inline, tweaks. 2279 * config/linker-map.gnu: Remove hacks. 2280 2281 * testsuite/21_strings/capacity.cc: Add explicit instantiations. 2282 * testsuite/27_io/ios_init.cc: Same. 2283 * testsuite/22_locale/money_get_members_char.cc (test07): Fix. 2284 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same. 2285 22862002-02-19 Benjamin Kosnik <[email protected]> 2287 2288 * config/linker-map.gnu: Export global vtable, typeinfo, guard 2289 variable, and thunk info as per CXXABI docs. 2290 22912002-02-19 Loren Rittle <[email protected]> 2292 2293 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names. 2294 * include/Makefile.in: Rebuilt. 2295 22962002-02-18 Peter Schmid <[email protected]> 2297 2298 * testsuite/22_locale/collate_byname.cc (test01): Replace size4 2299 with size3 for the string collations of str5. 2300 23012002-02-18 Paolo Carlini <[email protected]> 2302 2303 libstdc++/5708 2304 * include/bits/locale_facets.tcc (money_put::do_put): 2305 For the space field use __fill instead of ' ', uniformly. 2306 * testsuite/22_locale/money_put_members_char.cc: 2307 Add test05 distilled from PR. 2308 (test01-02-03): Trim some '*' to ' '. 2309 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto. 2310 23112002-02-18 Loren Rittle <[email protected]> 2312 2313 libstdc++/5697 2314 * include/Makefile.am (thread_builddir): Remove (map all 2315 existing uses to target_builddir). 2316 (thread_headers): Rename to... 2317 (thread_target_headers): ...this. 2318 (stamp-thread): Remove. 2319 (stamp-target): Correctly state the position as built. 2320 Update all dependencies to match the new reality. Remove all 2321 dependency calculations on directories. 2322 * include/Makefile.in: Rebuilt. 2323 23242002-02-16 Benjamin Kosnik <[email protected]> 2325 2326 * include/bits/locale_facets.tcc: Add pragma GCC system_header. 2327 * include/bits/fstream.tcc: Same. 2328 * include/bits/sstream.tcc: Same. 2329 * include/bits/ostream.tcc: Same. 2330 * include/bits/istream.tcc: Same. 2331 * include/bits/streambuf.tcc: Same. 2332 * include/bits/basic_ios.tcc: Same. 2333 * include/bits/basic_string.tcc: Same. 2334 23352002-02-15 Benjamin Kosnik <[email protected]> 2336 2337 * include/std/std_iosfwd.h: Don't guard typedefs with 2338 _GLIBCPP_USE_WCHAR_T 2339 * include/bits/stringfwd.h: Same. 2340 23412002-02-15 Benjamin Kosnik <[email protected]> 2342 2343 * src/locale.cc (moneypunct_byname): Remove definitions. 2344 * include/std/std_streambuf.h (streambuf::operator=): Return. 2345 23462002-02-15 Benjamin Kosnik <[email protected]> 2347 2348 Tune for size. 2349 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant 2350 explicit instantiation. 2351 (string::_Rep::_S_max_size): Same. 2352 * include/bits/basic_string.tcc: Add extern explicit 2353 instantiations for string, wstring. 2354 * include/bits/basic_ios.tcc: Add extern explicit instantiations 2355 for ios, wios. 2356 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf. 2357 * include/bits/istream.tcc: Same, for istream, wistream. 2358 * include/bits/ostream.tcc: Same for ostream, wostream, iostream, 2359 wiostream. 2360 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf, 2361 istringstream, wistringstream, ostringstream, wostringstream, 2362 stringstream, wstringstream. 2363 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream, 2364 wifstream, ofstream, wofstream, fstream, wfstream. 2365 * src/misc-inst.cc: Correct comments. 2366 Add iomanip instantiations for wide streams. 2367 * include/std/std_iomanip.h: Same. 2368 * include/bits/locale_facets.tcc: Same. 2369 2370 * include/std/std_streambuf.h: Correct 2371 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard. 2372 * include/std/std_sstream.h: Same. 2373 * include/std/std_ostream.h: Same. 2374 * include/std/std_istream.h: Same. 2375 * include/std/std_fstream.h: Same. 2376 2377 * include/std/std_streambuf.h: Add definitions for private copy 2378 ctor and assignment operator. 2379 * include/std/std_istream.h: Remove declared but undefined copy 2380 ctor and assignment operator. This is taken care of in ios_base, 2381 so adding it in the derived class as well is superfluous. 2382 * include/std/std_ostream.h: Same. 2383 2384 * include/bits/basic_ios.h (basic_ios::clear): Don't inline. 2385 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here. 2386 23872002-02-14 Benjamin Kosnik <[email protected]> 2388 2389 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1. 2390 Add typeinfo bits. Smooth. 2391 * aclocal.m4: Regenerate. 2392 * configure: Same. 2393 * src/Makefile.in: Same. 2394 23952001-02-14 Joel Sherrill <[email protected]> 2396 2397 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets 2398 which do not have a CAS instruction. 2399 24002002-02-14 Phil Edwards <[email protected]> 2401 2402 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision. 2403 * configure.in: Call it. 2404 * config/linker-map.gnu: New file, initial incomplete revision. 2405 * src/Makefile.am: Optionally pass version script to the linker. 2406 * aclocal.m4: Regenerate. 2407 * configure: Regenerate. 2408 * src/Makefile.in: Regenerate. 2409 24102002-02-13 Benjamin Kosnik <[email protected]> 2411 2412 * src/localename.cc: Remove stdexcept include. 2413 * src/locale-inst.cc: Same. 2414 * src/locale.cc: Same. 2415 * src/functexcept.cc: Remove string includes. 2416 * include/std/std_bitset.h: Remove stdexcept include. 2417 * testsuite/23_containers/bitset_members.cc: Add stdexcept. 2418 * testsuite/23_containers/bitset_ctor.cc: Same. 2419 24202002-02-11 Benjamin Kosnik <[email protected]> 2421 2422 * include/bits/stl_algo (__stl_threshold): Declare external. 2423 (__stl_chunk_size): Same. 2424 * include/bits/stl_bvector.h (__WORD_BIT): Same. 2425 * include/bits/stl_tree.h (_S_rb_tree_red): Same. 2426 (_S_rb_tree_black): Same. 2427 * src/stl-inst.cc (__stl_threshold): Define. 2428 (__stl_chunk_size): Same. 2429 (__WORD_BIT): Same. 2430 (_S_rb_tree_red): Same. 2431 (_S_rb_tree_black): Same. 2432 2433 * config/io/basic_file_libio.h (__basic_file): Add declarations. 2434 * include/bits/basic_file.h: Remove. 2435 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION 2436 Declare generic types, specialization. 2437 * config/io/basic_file_stdio.cc: Definitions. 2438 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE. 2439 Declare generic types. 2440 * include/Makefile.am (bits_headers): Remove basic_file.h. 2441 (extra_target_headers): Change basic_file_model.h to basic_file.h. 2442 (stamp-target): Same. 2443 2444 * include/bits/stl_alloc.h: Tweaks. 2445 * include/bits/localefwd.h: Same. 2446 24472002-02-11 Aaron W LaFramboise <[email protected]> 2448 2449 * include/bits/locale_facets.tcc (collate::do_hash): Fix. 2450 * testsuite/22_locale/collate_members_char.cc (test03): New test. 2451 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same. 2452 24532002-02-10 Phil Edwards <[email protected]> 2454 2455 * include/bits/stl_algo.h (transform (both signatures), generate_n): 2456 Use __typeof__ in concept checks. 2457 24582002-02-10 Jonathan Wakely <[email protected]> 2459 2460 * include/bits/stl_algo.h (__median, for_each, find, find_if, 2461 adjacent_find, count, count_if, search, search_n, swap_ranges, 2462 transform, replace, replace_if, replace_copy, replace_copy_if, 2463 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if, 2464 unique, unique_copy, reverse, reverse_copy): Doxygenate. 2465 24662002-02-08 Benjamin Kosnik <[email protected]> 2467 2468 * include/bits/locale_facets.h 2469 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition. 2470 (__timepunct<_CharT>::_M_initialize_timepunct): Same. 2471 (__timepunct<_CharT>::_M_put_helper): Same. 2472 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same. 2473 2474 * include/bits/fstream.tcc (filebuf::underflow): Remove 2475 __codecvt_type typedef. 2476 (filebuf::_M_convert_to_external): Same. 2477 24782002-02-08 Phil Edwards <[email protected]> 2479 2480 * docs/doxygen/TODO: Update. 2481 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description. 2482 * docs/doxygen/mainpage.html: Add TODO list link. 2483 * docs/doxygen/user.cfg.in: Add @doctodo hook. 2484 * docs/doxygen/tables.html: New file, emoty structure only. 2485 2486 * include/bits/stl_iterator.h: Doxygenate just about everything. 2487 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces. 2488 * include/bits/stl_iterator_base_types.h: Add notes. 2489 24902002-02-07 Stephan Buys <[email protected]> 2491 2492 * include/bits/stl_map.h: Tweak doxygen markup. 2493 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces. 2494 * include/bits/stl_vector.h: Likewise. 2495 24962002-02-07 Benjamin Kosnik <[email protected]> 2497 2498 libstdc++/5286 2499 libstdc++/3860 2500 * include/std/std_fstream.h (filebuf::__file_type): Change to 2501 __basic_file<char>. 2502 (filebuf::_M_convert_to_external): Declare. 2503 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define 2504 codecvt bits for wide streams. 2505 (filebuf::_M_really_overflow): Use it. 2506 (filebuf::underflow): Use codecvt. 2507 * config/locale/codecvt_specializations_ieee_1003.1-200x.h: 2508 (codecvt<__enc_traits>::do_out): Deal with partial. 2509 (codecvt<__enc_traits>::do_encoding): Return something useful. 2510 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof 2511 wchar_t. 2512 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01): 2513 Change expected encoding output. 2514 (test02): Same. 2515 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same. 2516 (test02): Same. 2517 25182002-02-07 Benjamin Kosnik <[email protected]> 2519 Wolfgang Bangerth <[email protected]> 2520 2521 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value. 2522 (basic_ios::widen): Same. 2523 25242002-02-07 Paolo Carlini <[email protected]> 2525 2526 * testsuite/22_locale/money_get_members_char.cc: 2527 Add comment, tidy up. 2528 (test01): more "en_HK" tests (without showbase). 2529 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto. 2530 25312002-02-06 Loren Rittle <[email protected]> 2532 2533 * config/locale/c_locale_generic.cc: Do not trust 2534 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as 2535 set by configure. 2536 25372002-02-06 Loren Rittle <[email protected]> 2538 2539 * acinclude.m4: Add C++ linkage check for strtof. 2540 * aclocal.m4: Rebuilt. 2541 * config.h.in: Rebuilt. 2542 * configure: Rebuilt. 2543 * config/locale/c_locale_generic.cc: Conditionally include 2544 <ieeefp.h>. Improve handling and error checking of float 2545 and long double input for non-C99 configurations. 2546 25472002-02-06 Paolo Carlini <[email protected]> 2548 2549 * include/bits/locale_facets.tcc (money_get::do_get(string)): 2550 In case money_base::symbol deal properly with multi-char sign 2551 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}. 2552 * testsuite/22_locale/money_get_members_char.cc: Add test07. 2553 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07. 2554 25552002-02-05 Paolo Carlini <[email protected]> 2556 2557 * include/bits/locale_facets.tcc (money_get::do_get(string)): 2558 First construct a tentative returned string, then, only if the 2559 parsing succeeds, copy it into the string passed by reference. 2560 * testsuite/22_locale/money_get_members_char.cc: Add test06. 2561 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06. 2562 25632002-02-04 Phil Edwards <[email protected]> 2564 2565 * docs/doxygen/TODO: Impl-defined behavior now documented... 2566 * docs/html/17_intro/howto.html: ...here. 2567 * docs/doxygen/mainpage.doxy: Remove, rename... 2568 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license. 2569 * docs/doxygen/style.css: Add small text. 2570 * docs/doxygen/run_doxygen: Adjust for new mainpage. 2571 * docs/doxygen/user.cfg.in: Likewise. 2572 25732002-02-04 Stephan Buys <[email protected]> 2574 2575 * include/bits/stl_map.h: Initial doxygen markup. 2576 * include/std/std_fstream.h: Initial doxygen markup. 2577 25782002-02-04 Paolo Carlini <[email protected]> 2579 2580 libstdc++/5579 2581 * include/bits/locale_facets.tcc (money_get::do_get(string)): 2582 Deal correctly with !(__io.flags() & ios_base::showbase) 2583 for case money_base::symbol. 2584 * testsuite/22_locale/money_get_members_char.cc: Add test05. 2585 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05. 2586 25872002-02-02 Paolo Carlini <[email protected]> 2588 2589 * testsuite/22_locale/operators.cc 2590 (gnu_collate::do_compare()): Add return statement to 2591 suppress "no return statement" warning. 2592 25932002-02-01 Paolo Carlini <[email protected]> 2594 2595 * testsuite/27_io/ostream_manip.cc: Enable test02. 2596 25972002-02-01 Phil Edwards <[email protected]> 2598 2599 * docs/html/documentation.html: Update for 3.0.96. 2600 * docs/html/faq/index.html: Update for 3.0.96. 2601 * docs/html/faq/index.txt: Regenerated. 2602 * docs/doxygen/TODO: Update notes. 2603 * docs/html/17_intro/howto.html: Initial impl-specific listing. 2604 26052002-01-31 Benjamin Kosnik <[email protected]> 2606 2607 * config/locale/codecvt_specializations_ieee_1003.1-200x.h: 2608 Initialize all data members in copy ctor. Make ctors explicit. 2609 (__enc_traits::__enc_traits()): Default ctor does nothing. 2610 (__enc_traits::_M_init): Guard against multiple iconv_opens. 2611 * include/std/std_sstream.h (basic_stringbuf): Make data members 2612 protected. 2613 * include/std/std_fstream.h (basic_filebuf): Same. 2614 * include/std/std_streambuf.h: Tweak. 2615 * include/bits/streambuf.tcc: Same. 2616 * include/bits/sstream.tcc: Same. 2617 * include/bits/fstream.tcc: Same. 2618 26192002-01-31 Loren Rittle <[email protected]> 2620 2621 * testsuite/22_locale/codecvt_members_char_char.cc: Do not 2622 allow NULL argument to be passed to setenv(). 2623 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise. 2624 * testsuite/22_locale/collate_members_char.cc: Likewise. 2625 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise. 2626 * testsuite/22_locale/ctype_members_char.cc: Likewise. 2627 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise. 2628 * testsuite/22_locale/messages_members_char.cc: Likewise. 2629 * testsuite/22_locale/money_get_members_char.cc: Likewise. 2630 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise. 2631 * testsuite/22_locale/money_put_members_char.cc: Likewise. 2632 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise. 2633 * testsuite/22_locale/moneypunct_members_char.cc: Likewise. 2634 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise. 2635 * testsuite/22_locale/num_get_members_char.cc: Likewise. 2636 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise. 2637 * testsuite/22_locale/num_put_members_char.cc: Likewise. 2638 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise. 2639 * testsuite/22_locale/numpunct_members_char.cc: Likewise. 2640 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise. 2641 * testsuite/22_locale/time_get_members_char.cc: Likewise. 2642 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise. 2643 * testsuite/22_locale/time_put_members_char.cc: Likewise. 2644 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise. 2645 26462002-01-30 Benjamin Kosnik <[email protected]> 2647 2648 * config/locale/c_locale_gnu.cc: Same errno fixes as generic. 2649 2650 * ChangeLog-2001: Fix spelling errors... 2651 * docs/html/17_intro/RELEASE-NOTES: Update. 2652 * docs/html/17_intro/TODO: Update. 2653 * README (file): Update. 2654 26552002-01-30 Loren Rittle <[email protected]> 2656 2657 * config/locale/c_locale_generic.cc: Check errno for ERANGE 2658 instead of non-zero to aid portability. 2659 26602002-01-30 Peter Schmid <[email protected]> 2661 2662 * docs/html/22_locale/messages.html: Fix example code. 2663 26642002-01-30 Richard Henderson <[email protected]> 2665 2666 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break 2667 out from test03 and templatize. 2668 (test03): Use it. 2669 26702002-01-30 Paolo Carlini <[email protected]> 2671 2672 * config/locale/numpunct_members_gnu.cc 2673 (numpunct<char, wchar_t>::_M_initialize_numpunct()): 2674 Fix initialization of _M_grouping for locales which have 2675 _M_thousands_sep == '\0'(L'\0', respectively). 2676 * testsuite/22_locale/numpunct_byname.cc (test02): Add test. 2677 26782002-01-30 Paolo Carlini <[email protected]> 2679 2680 * testsuite/27_io/ostream_inserter_arith.cc (test03): 2681 Better fix for 32/64 bit architectures, avoiding the 2682 implicit assumption that CHAR_BIT == 8. 2683 26842002-01-28 Phil Edwards <[email protected]> 2685 2686 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets. 2687 * Makefile.in: Regenerate. 2688 2689 * docs/doxygen/run_doxygen: Update, mostly for man pages. 2690 * docs/doxygen/Intro.3: Update. 2691 * docs/doxygen/TODO: Update. 2692 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx. 2693 * docs/doxygen/mainpage.doxy: Update. 2694 * docs/doxygen/user.cfg.in: Update for header rename. Also 2695 regenerate comments and variables with 1.2.12. 2696 * docs/doxygen/maint.cfg.in: Remove file. 2697 2698 * include/bits/stl_relops.h: Doxygenate. 2699 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise. 2700 2701 * include/c_std/std_cassert.h, include/c_std/std_cctype.h, 2702 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h, 2703 include/c_std/std_ciso646.h, include/c_std/std_climits.h, 2704 include/c_std/std_clocale.h, include/c_std/std_cmath.h, 2705 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h, 2706 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h, 2707 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h, 2708 include/c_std/std_cstring.h, include/c_std/std_ctime.h, 2709 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h, 2710 include/ext/algorithm, include/ext/functional, include/ext/hash_map, 2711 include/ext/hash_set, include/ext/iterator, include/ext/memory, 2712 include/ext/numeric, include/ext/rb_tree, include/ext/rope, 2713 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h, 2714 include/ext/stl_hashtable.h, include/ext/stl_rope.h, 2715 include/std/std_algorithm.h, include/std/std_bitset.h, 2716 include/std/std_complex.h, include/std/std_deque.h, 2717 include/std/std_fstream.h, include/std/std_functional.h, 2718 include/std/std_iomanip.h, include/std/std_ios.h, 2719 include/std/std_iosfwd.h, include/std/std_iostream.h, 2720 include/std/std_istream.h, include/std/std_iterator.h, 2721 include/std/std_limits.h, include/std/std_list.h, 2722 include/std/std_locale.h, include/std/std_map.h, 2723 include/std/std_memory.h, include/std/std_numeric.h, 2724 include/std/std_ostream.h, include/std/std_queue.h, 2725 include/std/std_set.h, include/std/std_sstream.h, 2726 include/std/std_stack.h, include/std/std_stdexcept.h, 2727 include/std/std_streambuf.h, include/std/std_string.h, 2728 include/std/std_utility.h, include/std/std_valarray.h, 2729 include/std/std_vector.h: Add/correct @file doxygen hook. 2730 2731 * include/ext/memory: Doxygenate most of rest of file. 2732 * libsupc++/exception: Doxygen output formatting. 2733 * libsupc++/new: Say which header it is. 2734 2735 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing. 2736 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch. 2737 * docs/html/23_containers/howto.html: Describe O(n) list::size(). 2738 * docs/html/27_io/howto.html: Also link to Langer and Kreft text. 2739 27402002-01-28 Paolo Carlini <[email protected]> 2741 Charles Leggett <[email protected]> 2742 2743 * testsuite/27_io/filebuf_members.cc (test_05): Add test. 2744 27452002-01-28 Paolo Carlini <[email protected]> 2746 2747 * testsuite/27_io/ostream_inserter_arith.cc (test03): 2748 Fix to deal correctly with both 32 bit and 64 bit architectures 2749 27502002-01-25 Loren Rittle <[email protected]> 2751 2752 * testsuite/thread/pthread1.cc: Use one condition variable 2753 per predicate instead of tricky use of one condition variable. 2754 27552002-01-25 Benjamin Kosnik <[email protected]> 2756 2757 * include/bits/fstream.tcc (filebuf::close()): Fix close for input 2758 streams. 2759 (filebuf::_M_really_overflow): Match indeterminate and sync calls. 2760 * testsuite/27_io/filebuf.cc: Compile only. 2761 * testsuite/27_io/filebuf_members.cc: Move tests to here. 2762 * testsuite/27_io/filebuf_virtuals.cc: And here. 2763 Revert sungetc, sync changes for expected values. 2764 * testsuite/27_io/filebuf-*: Move to... 2765 * testsuite/27_io/filebuf_virtuals-*: ...here. 2766 * testsuite/27_io/istream.cc: Compile only, activate. 2767 * testsuite/27_io/ostream.cc: Same. 2768 * testsuite/27_io/iostream.cc: New. 2769 * testsuite/27_io/iostream_members.cc: New. 2770 27712002-01-25 David Billinghurst <[email protected]> 2772 2773 * testsuite/thread/pthread1.cc: Enable on cygwin. 2774 * testsuite/thread/pthread2.cc: Likewise. 2775 * testsuite/thread/pthread3.cc: Likewise. 2776 * testsuite/thread/pthread4.cc: Likewise. 2777 * testsuite/thread/pthread5.cc: Likewise. 2778 * testsuite/thread/pthread6.cc: Likewise. 2779 27802002-01-24 Benjamin Kosnik <[email protected]> 2781 2782 * testsuite/27_io/ostream_inserter_char.cc (test07): New. 2783 27842002-01-24 Benjamin Kosnik <[email protected]> 2785 2786 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make 2787 const, tweak. 2788 (basic_ios::fill(char_type)): Use fill(). 2789 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet. 2790 (basic_ios::narrow): Same. 2791 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero 2792 if they are invalid. 2793 (basic_ios::init): Comment. 2794 * testsuite/27_io/ios_init.cc (test02): New. 2795 27962002-01-24 Phil Edwards <[email protected]> 2797 2798 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook. 2799 * include/bits/stl_algo.h: Include stl_tempbuf.h. 2800 * include/ext/memory: Do not include stl_tempbuf.h. 2801 (temporary_buffer): Add doxygen hook. 2802 (__get_temporary_buffer, get_temporary_buffer, 2803 return_temporary_buffer): Move back to std:: header... 2804 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h. 2805 * include/ext/rope: Do not include stl_tempbuf.h. 2806 * include/ext/stl_hashtable.h: Likewise. 2807 * include/std/std_algorithm.h: Likewise. 2808 * testsuite/20_util/temporary_buffer.cc: New file. 2809 28102002-01-24 [email protected] 2811 (tweaks, test and commit by Loren J. Rittle <[email protected]>) 2812 2813 libstdc++/5432 2814 * include/bits/ios_base.h: Use _Atomic_word for reference counts. 2815 * include/bits/localefwd.h: Likewise. 2816 Also use for std::locale::id::_S_highwater. 2817 * src/ios.cc (ios_base::xalloc): Use _Atomic_word. 2818 * src/locale.cc: Support new usage of _Atomic_word. 2819 (std::locale::classic): Guard entire function against reentry. 2820 * src/localename.cc: Support new usage of _Atomic_word. 2821 28222002-01-24 Benjamin Kosnik <[email protected]> 2823 2824 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use 2825 _GLIBCPP_HAVE_SETENV. 2826 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same. 2827 * testsuite/22_locale/collate_members_char.cc (test02): Same. 2828 * testsuite/22_locale/ctype_members_char.cc (test03): Same. 2829 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same. 2830 * testsuite/22_locale/messages_members_char.cc (test02): Same. 2831 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same. 2832 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same. 2833 * testsuite/22_locale/money_put_members_char.cc (test04): Same. 2834 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same. 2835 * testsuite/22_locale/num_get_members_char.cc (test03): Same. 2836 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same. 2837 * testsuite/22_locale/numpunct_members_char.cc (test02): Same. 2838 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same. 2839 * testsuite/22_locale/time_get_members_char.cc (test07): Same. 2840 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same. 2841 * testsuite/22_locale/time_put_members_char.cc (test03): Same. 2842 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same. 2843 * testsuite/22_locale/num_put_members_char.cc (test03): Same. 2844 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv. 2845 * aclocal.m4: Regenerate. 2846 * configure: Regenerate. 2847 * config.h.in: Regenerate. 2848 28492002-01-23 Loren Rittle <[email protected]> 2850 2851 * testsuite/thread/pthread1.cc: New test. 2852 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347. 2853 * testsuite/thread/pthread3.cc: Likewise. 2854 * testsuite/thread/pthread4.cc: New test adapted from 2855 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html 2856 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464. 2857 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444. 2858 28592002-01-23 Richard Henderson <[email protected]> 2860 2861 PR libstdc++/5198 2862 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use 2863 CAS on the cpu variants that support it. Add versions that use 2864 TAS and that disable interrupts. 2865 (__atomic_add): Use __exchange_and_add to guarantee atomicity. 2866 28672002-01-23 Matt Kraai <[email protected]> 2868 2869 * include/bits/locale_facets.tcc: Remove old comments. 2870 28712002-01-23 Andreas Tobler <[email protected]> 2872 2873 * include/bits/locale_facets.tcc (__convert_to_v): Change template 2874 parameter to _Tv. 2875 (__convert_from_v): Same. 2876 28772002-01-23 Benjamin Kosnik <[email protected]> 2878 2879 * include/bits/locale_facets.h (num_get::_M_extract_int): Change 2880 prototype. 2881 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove 2882 __max_digits checks, adjust arguments. 2883 (num_get::do_get(*)): Changeup. 2884 28852002-01-23 Loren Rittle <[email protected]> 2886 2887 * config/locale/c_locale_generic.cc: Fix typename usage. 2888 28892002-01-22 Benjamin Kosnik <[email protected]> 2890 2891 * config/locale/c_locale_generic.cc: Fix. 2892 28932002-01-22 Benjamin Kosnik <[email protected]> 2894 2895 * docs/html/22_locale/messages.html: Remove angle brackets. 2896 * docs/html/17_intro/TODO: Add. 2897 28982002-01-22 Paolo Carlini <[email protected]> 2899 2900 * testsuite/27_io/ios_manip_basefield.cc: Enable test02. 2901 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03. 2902 * testsuite/27_io/ostream_inserter_char.cc: Enable test01. 2903 * testsuite/27_io/ostream_inserter_other.cc: Enable test04. 2904 29052002-01-22 Benjamin Kosnik <[email protected]> 2906 2907 Audit for LANG independence. 2908 * include/bits/localefwd.h: Tweaks. 2909 * include/bits/locale_facets.tcc (money_get::do_get(long double)): 2910 Use __convert_to_v. 2911 (time_get::do_get_year): Same. 2912 (__convert_from_v): Add. 2913 (num_put::_M_convert_float): Use. 2914 (num_put::_M_convert_int): Same. 2915 (money_put::do_put): Same. 2916 2917 * src/locale-inst.cc: Add instantiations for __convert_from_v. 2918 * config/locale/time_members_gnu.cc: Cleanup setlocale usage. 2919 * config/locale/time_members_generic.cc: 2920 * config/locale/messages_members_gnu.cc: Same. 2921 * config/locale/messages_members_gnu.h: Same. 2922 2923 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New. 2924 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New. 2925 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New. 2926 * testsuite/22_locale/collate_members_char.cc (test02): New. 2927 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New. 2928 * testsuite/22_locale/ctype_members_char.cc (test03): New. 2929 * testsuite/22_locale/messages_members_char.cc (test02): New. 2930 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New. 2931 * testsuite/22_locale/moneypunct_members_char.cc (test02): New. 2932 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New. 2933 * testsuite/22_locale/money_get_members_char.cc (test04): New. 2934 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New. 2935 * testsuite/22_locale/money_put_members_char.cc (test04): New. 2936 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New. 2937 * testsuite/22_locale/numpunct_members_char.cc (test02): New. 2938 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New. 2939 * testsuite/22_locale/time_put_members_char.cc (test03): New. 2940 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New. 2941 * testsuite/22_locale/time_get_members_char.cc (test07): New. 2942 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New. 2943 * testsuite/22_locale/num_get_members_char.cc (test03): New. 2944 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New. 2945 * testsuite/22_locale/num_put_members_char.cc (test03): New. 2946 2947 * testsuite/22_locale/time_get_members_char.cc: Fixups for global 2948 locale issues. 2949 * testsuite/22_locale/time_get_members_char.cc: Same. 2950 29512002-01-22 Benjamin Kosnik <[email protected]> 2952 2953 libstdc++/5280 2954 * include/bits/localefwd.h: Tweak comments. 2955 * include/bits/locale_facets.h (__convert_to_v): Add. 2956 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it. 2957 (num_get::do_get(float)): Same. 2958 (num_get::do_get(long double)): Same. 2959 (num_get::do_get(bool)): Same. 2960 (num_get::do_get(long)): Same. 2961 (num_get::do_get(long long)): Same. 2962 (num_get::do_get(unsigned int)): Same. 2963 (num_get::do_get(unsigned short)): Same. 2964 (num_get::do_get(unsigned long)): Same. 2965 (num_get::do_get(unsigned long long)): Same. 2966 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize. 2967 * config/locale/c_locale_generic.cc: Same. 2968 29692002-01-22 Loren Rittle <[email protected]> 2970 2971 * include/Makefile.am (c_base_builddir): Remove redundant slash. 2972 (std_builddir): Likewise. 2973 (std_headers_rename): Fix cut-n-paste typo. 2974 (install-data-local): Concat path per element instead of once to 2975 first element of list. 2976 * include/Makefile.in: Rebuilt. 2977 29782002-01-22 Benjamin Kosnik <[email protected]> 2979 2980 * config/os/aix/bits/ctype_noninline.h: Fix formatting. 2981 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo. 2982 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting. 2983 29842002-01-20 Benjamin Kosnik <[email protected]> 2985 2986 * include/bits/locale_facets.h (ctype<char>::classic_table): 2987 Remove definition. 2988 (ctype<char>::_S_ctable): Remove. 2989 * config/os/gnu-linux/bits/ctype_noninline.h 2990 (ctype<char>::_S_table): Remove definition. 2991 (ctype<char>::classic_table): Define. 2992 (ctype<char>::ctype): Replace _S_ctable with classic_table(). 2993 * config/os/aix/bits/ctype_noninline.h: Same. 2994 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same. 2995 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same. 2996 * config/os/djgpp/bits/ctype_noninline.h: Same. 2997 * config/os/generic/bits/ctype_noninline.h: Same. 2998 * config/os/gnu-linux/bits/ctype_noninline.h: Same. 2999 * config/os/hpux/bits/ctype_noninline.h: Same. 3000 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same. 3001 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same. 3002 * config/os/mingw32/bits/ctype_noninline.h: Same. 3003 * config/os/newlib/bits/ctype_noninline.h: Same. 3004 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same. 3005 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same. 3006 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same. 3007 30082002-01-20 Danny Smith <[email protected]> 3009 3010 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead 3011 of _pctype. Use to define _S_ctable. Add definition for alternate 3012 ctor. Initialise _M_ctable to _S_ctable in ctors. 3013 (do_toupper, do_tolower): Use inline code appropriate for C-locale 3014 rather than ::toupper, ::tolower. 3015 30162002-01-18 Loren Rittle <[email protected]> 3017 3018 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>): 3019 Add specialization for FreeBSD systems only to avoid losing test 3020 only due to extra precision unmentioned in system headers. 3021 30222002-01-18 David Billinghurst <[email protected]> 3023 3024 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo 3025 30262002-01-17 Nick Clifton <[email protected]> 3027 3028 * testsuite/testsuite_hooks.h: Fix comment typo. Memory 3029 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined. 3030 30312002-01-17 Peter Schmid <[email protected]> 3032 3033 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check. 3034 30352002-01-17 David Edelsohn <[email protected]> 3036 3037 * configure.target: Define OPT_LDFLAGS for AIX case. 3038 30392002-01-17 Gabriel Dos Reis <[email protected]> 3040 3041 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN, 3042 __glibcpp_double_has_quiet_NaN): Correct mispelling. 3043 30442002-01-17 Andreas Tobler <[email protected]> 3045 3046 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix. 3047 30482002-01-16 David Edelsohn <[email protected]> 3049 3050 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear 3051 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type. 3052 * aclocal.m4: Regenerate. 3053 * configure: Regenerate. 3054 30552002-01-16 Benjamin Kosnik <[email protected]> 3056 3057 * include/Makefile.am (c_base_headers_rename): New. 3058 (c_base_headers_extra): New. 3059 (stamp-c_base): Modify. 3060 (install-data-local): Use both. 3061 * include/Makefile.in: Regenerate. 3062 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits 3063 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal 3064 cstdio ctime cwctype]: Move to.. 3065 * include/c/std_*: Here. 3066 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits 3067 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal 3068 cstdio ctime cwctype]: Move to.. 3069 * include/c_std/std_*: Here. 3070 3071 Alexandre Oliva <[email protected]> 3072 * include/Makefile.am (.PRECIOUS): Add rule. 3073 * include/Makefile.in: Regenerate. 3074 30752002-01-16 Benjamin Kosnik <[email protected]> 3076 Peter Schmid <[email protected]> 3077 3078 * include/bits/stl_iterator.h (reverse_iterator::_M_current): 3079 Deuglify, should be current. 3080 (back_insert_iterator::_M_container): Deuglify, should be container. 3081 (front_insert_iterator::_M_container): Same. 3082 (insert_iterator::_M_container): Same. 3083 * testsuite/24_iterators/reverse_iterator.cc: Add check. 3084 * testsuite/24_iterators/back_insert_iterator.cc: Add check. 3085 * testsuite/24_iterators/front_insert_iterator.cc: Same. 3086 * testsuite/24_iterators/insert_iterator.cc: Same. 3087 30882002-01-16 Benjamin Kosnik <[email protected]> 3089 3090 * include/bits/locale_facets.h (ctype<char>::classic_table): Make 3091 static. 3092 (ctype<char>::_M_ctable): Make static, change name to _S_ctable. 3093 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable. 3094 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same. 3095 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same. 3096 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same. 3097 * config/os/newlib/bits/ctype_noninline.h: Same. 3098 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same. 3099 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same. 3100 * config/os/hpux/bits/ctype_noninline.h: Same. 3101 * config/os/djgpp/bits/ctype_noninline.h: Same. 3102 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same. 3103 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same. 3104 * config/os/aix/bits/ctype_noninline.h: Same. 3105 3106 Testcase by Dietmar K�hl via Peter Schmid 3107 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for 3108 classic_table(). 3109 31102002-01-16 Benjamin Kosnik <[email protected]> 3111 3112 * libmath/signbitl.c: Copyright years as list, not range. 3113 * libmath/Makefile.am: Same. 3114 * libmath/Makefie.in: Regenerate. 3115 * libmath/signbit.c: Same. 3116 * libmath/nan.c: Same. 3117 * libmath/copysignf.c: Same. 3118 * libmath/signbitf.c: Same. 3119 * testsuite/22_locale/money_get_members_char.cc: Same. 3120 * testsuite/22_locale/money_get_members_wchar_t.cc: Same. 3121 * testsuite/22_locale/money_put_members_char.cc: Same. 3122 * testsuite/22_locale/money_put_members_wchar_t.cc: Same. 3123 * testsuite/22_locale/time_get_members_char.cc: Same. 3124 * testsuite/22_locale/time_get_members_wchar_t.cc: Same. 3125 * testsuite/22_locale/time_put_members_char.cc: Same. 3126 * testsuite/22_locale/time_put_members_wchar_t.cc: Same. 3127 * testsuite/21_strings/nonmember.cc: Same. 3128 * testsuite/21_strings/compare.cc: Same. 3129 * testsuite/27_io/stringstream.cc: Same. 3130 * testsuite/27_io/stringbuf.cc: Same. 3131 * testsuite/27_io/filebuf.cc: Same. 3132 * testsuite/27_io/ios_manip_basefield.cc: Same. 3133 * testsuite/27_io/ios_manip_fmtflags.cc: Same. 3134 * include/bits/cpp_type_traits.h: Same. 3135 * include/bits/generic_shadow.h: Same. 3136 * include/bits/gslice_array.h: Same. 3137 * include/bits/gslice.h: Same. 3138 * include/bits/indirect_array.h: Same. 3139 * include/bits/slice_array.h: Same. 3140 * include/bits/sstream.tcc: Same. 3141 * include/bits/streambuf_iterator.h: Same. 3142 * include/bits/valarray_array.tcc: Same. 3143 * include/bits/valarray_meta.h: Same. 3144 * include/bits/valarray_array.h: Same. 3145 * config/os/mingw32/bits/ctype_noninline.h: Same. 3146 * config/os/mingw32/bits/ctype_base.h: Same. 3147 * config/os/hpux/bits/ctype_noninline.h: Same. 3148 * config/os/hpux/bits/ctype_base.h: Same. 3149 * config/os/gnu-linux/bits/ctype_noninline.h: Same. 3150 * config/os/gnu-linux/bits/ctype_base.h: Same. 3151 * config/os/generic/bits/ctype_noninline.h: Same. 3152 * config/os/generic/bits/ctype_base.h: Same. 3153 3154 * libsupc++/tinfo.h: Tweaks. 3155 31562002-01-15 Benjamin Kosnik <[email protected]> 3157 3158 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same. 3159 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak. 3160 * testsuite/22_locale/ctype_members_char.cc: Tweak. 3161 31622002-01-15 Benjamin Kosnik <[email protected]> 3163 3164 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix. 3165 (num_put::do_put(void*)): Fix. 3166 * testsuite/22_locale/num_put_members_char.cc (test02): Add. 3167 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add. 3168 * testsuite/22_locale/num_get_members_char.cc (test02): Add 3169 long double, void, bool types. 3170 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add. 3171 31722002-01-15 Benjamin Kosnik <[email protected]> 3173 Alexandre Oliva <[email protected]> 3174 3175 * libmath/Makefile.am (LINK): Add --tag CC. 3176 * libmath/Makefile.in: Regenerate. 3177 31782002-01-15 John David Anglin <[email protected]> 3179 3180 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address 3181 of character to attribute mapping table. 3182 31832002-01-15 David Billinghurst <[email protected]> 3184 3185 * testsuite/26_numerics/c99_classification_macros_c.cc 3186 Remove dg-error and dg-excess-errors comments. 3187 31882002-01-14 Benjamin Kosnik <[email protected]> 3189 3190 * include/bits/locale_facets.tcc (time_put::put): Correct output 3191 iterator positions. 3192 * testsuite/22_locale/time_put_members_char.cc (test02): Add. 3193 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add. 3194 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add. 3195 * testsuite/22_locale/time_get_members_char.cc (test06): Add. 3196 31972002-01-14 Craig Rodrigues <[email protected]> 3198 3199 * docs/html/17_intro/porting-howto.xml: Update filebuf section. 3200 32012002-01-14 Paolo Carlini <[email protected]> 3202 Nathan Myers <[email protected]> 3203 3204 * include/bits/basic_string.h 3205 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding 3206 temporaries (i.e., call _M_replace_safe) when possible. 3207 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2). 3208 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2). 3209 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n). 3210 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n). 3211 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2). 3212 * include/bits/basic_string.tcc 3213 (replace(__pos1, __n1, __str, __pos2, __n2)): Call 3214 replace(__pos, __n1, __s, __n2). 3215 * testsuite/21_strings/replace.cc (test03): New testcases. 3216 3217 * include/bits/basic_string.h (insert(__pos, __s, __n)): 3218 Adjust comparison wrt overflow. 3219 32202002-01-12 Benjamin Kosnik <[email protected]> 3221 3222 * include/Makefile.am (std_headers_rename): New variable. 3223 (install-data-local): Use it. 3224 * include/Makefile.in: Regenerate. 3225 32262002-01-12 Benjamin Kosnik <[email protected]> 3227 3228 * include/bits/locale_facets.tcc (money_put::do_put(string): 3229 Correct output iterator value. 3230 * testsuite/22_locale/money_put_members_char.cc (test03): Add. 3231 * testsuite/22_locale/money_put_members_wchar_t.cc: Same. 3232 32332002-01-11 Phil Edwards <[email protected]> 3234 3235 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from 3236 previous commit. 3237 32382002-01-11 Phil Edwards <[email protected]> 3239 3240 * include/Makefile.am (std_headers): Update list with new names. 3241 (stamp-std): Link to standardized name. 3242 * include/Makefile.in: Regenerate. 3243 3244 * include/std/algorithm, include/std/bitset, include/std/complex, 3245 include/std/deque, include/std/fstream, include/std/functional, 3246 include/std/iomanip, include/std/ios, include/std/iosfwd, 3247 include/std/iostream, include/std/istream, include/std/iterator, 3248 include/std/limits, include/std/list, include/std/locale, 3249 include/std/map, include/std/memory, include/std/numeric, 3250 include/std/ostream, include/std/queue, include/std/set, 3251 include/std/sstream, include/std/stack, include/std/stdexcept, 3252 include/std/streambuf, include/std/string, include/std/utility, 3253 include/std/valarray, include/std/vector: Rename to... 3254 3255 * include/std/std_algorithm.h, include/std/std_bitset.h, 3256 include/std/std_complex.h, include/std/std_deque.h, 3257 include/std/std_fstream.h, include/std/std_functional.h, 3258 include/std/std_iomanip.h, include/std/std_ios.h, 3259 include/std/std_iosfwd.h, include/std/std_iostream.h, 3260 include/std/std_istream.h, include/std/std_iterator.h, 3261 include/std/std_limits.h, include/std/std_list.h, 3262 include/std/std_locale.h, include/std/std_map.h, 3263 include/std/std_memory.h, include/std/std_numeric.h, 3264 include/std/std_ostream.h, include/std/std_queue.h, 3265 include/std/std_set.h, include/std/std_sstream.h, 3266 include/std/std_stack.h, include/std/std_stdexcept.h, 3267 include/std/std_streambuf.h, include/std/std_string.h, 3268 include/std/std_utility.h, include/std/std_valarray.h, 3269 include/std/std_vector.h: ...this. 3270 32712002-01-11 Loren Rittle <[email protected]> 3272 3273 * include/Makefile.am (extra_target_headers): New list of all 3274 target files built with ad hoc naming rules. 3275 (stamp-*): Handle LN_S failure in manner portable across make 3276 implementations. 3277 (install-data-local): Install header files from human-maintained 3278 file lists and directory components instead of non-robust find. 3279 * include/Makefile.in: Rebuilt. 3280 32812002-01-11 Benjamin Kosnik <[email protected]> 3282 3283 * include/bits/locale_facets.tcc (money_get::do_get(string)): 3284 Check for zero-length negative sign before adding it to output 3285 string. 3286 (money_get::do_get(long double)): Return beg. 3287 * testsuite/22_locale/money_get_members_char.cc (test02): Add 3288 iterator checks. 3289 * testsuite/22_locale/money_get_members_wchar_t.cc: Same. 3290 32912002-01-10 David Seymour <[email protected]> 3292 3293 libstdc++/5331 3294 * include/bits/locale_facets.h (num_get<>): Return advanced iterator 3295 for _M_extract_float and _M_extract_int 3296 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float) 3297 (num_get<>::_M_extract_int): Likewise, all callers changed 3298 * testsuite/22_locale/num_get_members_char.cc: Testcase 3299 33002002-01-09 Paolo Carlini <[email protected]> 3301 3302 * libsupc++/exception (bad_exception): Add comment. 3303 * libsupc++/new (bad_alloc): Same. 3304 * libsupc++/typeinfo (bad_cast, bad_typeid): Same. 3305 33062002-01-09 Paolo Carlini <[email protected]> 3307 3308 libstdc++/3150: revert 2001-11-30 commit. DR266 only means 3309 that the destructors should be removed from the descriptions 3310 in the standard: writing them explicitly allows the vtable 3311 heuristic to work. For additional information see: 3312 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html 3313 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html 3314 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html 3315 * libsupc++/exception (bad_exception::~bad_exception()): 3316 Reintroduce declaration. 3317 * libsupc++/new (bad_alloc::~bad_alloc()): Same. 3318 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same. 3319 (bad_typeid::~bad_typeid()): Same. 3320 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()): 3321 Reintroduce definition. 3322 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same. 3323 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same. 3324 (bad_typeid::~bad_typeid()): Same. 3325 33262002-01-09 Benjamin Kosnik <[email protected]> 3327 3328 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'. 3329 * include/Makefile.in: Regenerate. 3330 33312002-01-09 Bo Thorsen <[email protected]> 3332 3333 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add 3334 definition. 3335 33362002-01-08 Benjamin Kosnik <[email protected]> 3337 3338 libstdc++/2913 3339 libstdc++/4879 3340 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test 3341 return value of _M_file->sync(). 3342 (filebuf::showmanyc): Check for is_open. 3343 * include/std/fstream (filebuf::sync): Tweak. 3344 * testsuite/27_io/filebuf.cc: Tweak. 3345 33462002-01-08 John Fardo <[email protected]> 3347 Brad Garcia <[email protected]> 3348 3349 * testsuite/27_io/filebuf_members.cc: Add test. 3350 33512002-01-07 Benjamin Kosnik <[email protected]> 3352 Craig Rodrigues <[email protected]> 3353 3354 libstdc++/5174 3355 * po/Makefile.am (mkinstalldirs): Add. 3356 * po/Makefile.in: Regenerate. 3357 33582002-01-07 David Billinghurst <[email protected]> 3359 3360 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS * 3361 testsuite/lib/prune.exp: Delete lines ":In function ..." from 3362 compiler output. 3363 * testsuite/23_containers/map_operators.cc: Remove 3364 dg-excess-errors comment. 3365 * testsuite/23_containers/set_operators.cc: Likewise. 3366 33672002-01-06 Paolo Carlini <[email protected]> 3368 3369 * include/bits/stl_function.h: Remove two lines of comments; 3370 adjust copyright years. 3371 33722002-01-04 Benjamin Kosnik <[email protected]> 3373 3374 * include/Makefile.am (std_headers): Remove cXXX from list. 3375 (c_base_srcdir): No bits subdirectory. 3376 (c_base_builddir): Same. 3377 (c_base_headers): Adjust names, add ciso646. 3378 (bits_headers): Remove std_xxx.h headers. 3379 * include/Makefile.in: Regenerate. 3380 3381 * include/ext/iterator: Adjust includes. 3382 * include/ext/ropeimpl.h: Same. 3383 * include/ext/stl_hash_fun.h: Same. 3384 * include/ext/algorithm: Same. 3385 3386 * include/backward/bvector.h: Adjust includes. 3387 * include/backward/vector.h: Same. 3388 * include/backward/strstream: Same. 3389 * include/backward/streambuf.h: Same. 3390 * include/backward/stack.h: Same. 3391 * include/backward/set.h: Same. 3392 * include/backward/queue.h: Same. 3393 * include/backward/multiset.h: Same. 3394 * include/backward/multimap.h: Same. 3395 * include/backward/map.h: Same. 3396 * include/backward/list.h: Same. 3397 * include/backward/iterator.h: Same. 3398 * include/backward/iostream.h: Same. 3399 * include/backward/iomanip.h: Same. 3400 * include/backward/fstream.h: Same. 3401 * include/backward/deque.h: Same. 3402 * include/backward/complex.h: Same. 3403 3404 * include/bits/std_algorithm.h: Move to... 3405 * include/std/algorithm: ...here. 3406 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h, 3407 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h, 3408 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h, 3409 std_deque.h, std_istream.h, std_numeric.h, std_string.h, 3410 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h, 3411 std_queue.h, std_valarray.h, std_functional.h, std_limits.h, 3412 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h: 3413 Same. 3414 3415 * include/c_std/bits/std_cassert.h: Move to... 3416 * include/c_std/cassert: Here. 3417 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h, 3418 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h, 3419 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h, 3420 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h, 3421 std_cwctype.h: Same. 3422 * include/c_std/cmath: Adjust cmath.tcc include. 3423 * include/c_std/cstdlib: Adjust includes. 3424 * include/c_std/cwchar: Same. 3425 * include/c_std/ctime: Same. 3426 * include/c_std/cstring: Same. 3427 * include/c_std/cstdio: Same. 3428 * include/c_std/bits: Remove directory. 3429 3430 * include/c/bits/std_cassert.h: Move to... 3431 * include/c/cassert: Here. 3432 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h, 3433 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h, 3434 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h, 3435 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h, 3436 std_cwctype.h: Same. 3437 * include/c/bits: Remove directory. 3438 3439 * include/std/cwctype: Remove. 3440 * include/std/cwchar: Remove. 3441 * include/std/ctime: Remove. 3442 * include/std/cstring: Remove. 3443 * include/std/cstdlib: Remove. 3444 * include/std/cstdio: Remove. 3445 * include/std/cstddef: Remove. 3446 * include/std/cstdarg: Remove. 3447 * include/std/csignal: Remove. 3448 * include/std/csetjmp: Remove. 3449 * include/std/cmath: Remove. 3450 * include/std/clocale: Remove. 3451 * include/std/climits: Remove. 3452 * include/std/ciso646: Remove. 3453 * include/std/cfloat: Remove. 3454 * include/std/cerrno: Remove. 3455 * include/std/cctype: Remove. 3456 * include/std/cassert: Remove. 3457 3458 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h> 3459 files and subsituting <xxx>. 3460 * include/bits/valarray_array.h: Same. 3461 * include/bits/stl_uninitialized.h: Same. 3462 * include/bits/stl_alloc.h: Same. 3463 * include/bits/stl_algobase.h: Same. 3464 * include/bits/sstream.tcc: Same. 3465 * include/bits/pthread_allocimpl.h: Same. 3466 * include/bits/ostream.tcc: Same. 3467 * include/bits/localefwd.h: Same. 3468 * include/bits/locale_facets.tcc: Same. 3469 * include/bits/locale_facets.h: Same. 3470 * include/bits/istream.tcc: Same. 3471 * include/bits/char_traits.h: Same. 3472 * include/bits/boost_concept_check.h: Same. 3473 * include/bits/basic_file.h: Same. 3474 * include/std/bitset: Same. 3475 * include/std/complex: Same. 3476 * include/std/fstream: Same. 3477 * include/std/functional: Same. 3478 * include/std/ios: Same. 3479 * include/std/iostream: Same. 3480 * include/std/ostream: Same. 3481 * include/std/sstream: Same. 3482 * include/std/streambuf: Same. 3483 * include/std/string: Same. 3484 * include/std/iterator: Same. 3485 * include/std/valarray: Same. 3486 3487 * src/ios.cc: Adjust includes. 3488 * src/valarray-inst.cc: Same. 3489 * src/string-inst.cc: Same. 3490 * src/stl-inst.cc: Same. 3491 * src/stdexcept.cc: Same. 3492 * src/misc-inst.cc: Same. 3493 * src/localename.cc: Same. 3494 * src/locale-inst.cc: Same. 3495 * src/locale.cc: Same. 3496 * src/limits.cc: Same. 3497 * src/concept-inst.cc: Same. 3498 * src/complex_io.cc: Same. 3499 * src/codecvt.cc: Same. 3500 * src/bitset.cc: Same. 3501 * src/cmath.cc: Same. 3502 35032002-01-04 Paolo Carlini <[email protected]> 3504 3505 * include/bits/stl_tree.h (rb_tree): Move to... 3506 * include/ext/rb_tree: ...here, new file. 3507 * include/Makefile.am (ext_headers): Add new file. 3508 * include/Makefile.in: Regenerate. 3509 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper, 3510 return_temporary_buffer, struct temporary_buffer): Move to... 3511 * include/ext/memory: ...here. 3512 * testsuite/ext/headers.cc: Include <ext/rb_tree>. 3513 * include/backward/tempbuf.h: Include <ext/memory>, tweak. 3514 * include/backward/tree.h: Include <ext/rb_tree), tweak. 3515 35162002-01-03 Paolo Carlini <[email protected]> 3517 3518 * include/bits/stl_numeric.h (power + helpers, iota): Move to... 3519 * include/ext/numeric: ...here, new file. 3520 * include/bits/stl_function.h (identity_element, unary_compose, 3521 binary_compose, compose1, compose2, identity, select1st, 3522 select2nd, project1st + helper, project2nd + helper, 3523 constant_void_fun + helper, constant_unary_fun + helper, 3524 costant_binary_fun + helper, constant0, constant1, constant2, 3525 subtractive_rng, mem_fun1, mem_fun1_ref): Move to... 3526 * include/ext/functional: ...here, new file. 3527 * include/Makefile.am (ext_headers): Add new files. 3528 * include/Makefile.in: Regenerate. 3529 * testsuite/ext/headers.cc: Include <ext/numeric> and 3530 <ext/functional>. 3531 * include/backward/algo.h: Include <ext/numeric>, tweak. 3532 * include/backward/function.h: Include <ext/functional>, tweak. 3533 * include/ext/ropeimpl.h: Include <ext/numeric>. 3534 35352002-01-03 Jeffrey A Law <[email protected]> 3536 3537 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and 3538 __strtoull declarations with __extension__. 3539 35402002-01-03 David Billinghurst <[email protected]> 3541 3542 * testsuite/lib/prune.exp: Correct regular expression for 3543 -ffunction-sections 3544 35452002-01-02 Phil Edwards <[email protected]> 3546 3547 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search): 3548 Change concept checks, as with lower_bound and PR 2054. 3549 * testsuite/ext/concept_checks.cc: Expand test to include those. 3550 35512002-01-02 Phil Edwards <[email protected]> 3552 3553 * include/bits/boost_concept_check.h: Import some changes from 3554 upsteam (Boost) version. 3555 35562002-01-02 Paolo Carlini <[email protected]> 3557 3558 * include/bits/stl_algobase.h (copy_n + helpers, 3559 lexicographical_compare_3way + helpers): Move to... 3560 * include/ext/algorithm: ...here. 3561 * include/bits/stl_uninitialized.h (uninitialized_copy_n + 3562 helpers): Move to... 3563 * include/ext/memory: ...here, new file. 3564 * include/Makefile.am (ext_headers): Add new file. 3565 * include/Makefile.in: Regenerate. 3566 * testsuite/ext/headers.cc: Include <ext/memory>. 3567 * include/backward/algobase.h: Include <ext/memory> and 3568 <ext/algorithm>, tweak. 3569 * include/ext/ropeimpl.h: Include <ext/memory>, tweak. 3570 * include/ext/stl_rope.h: Include <ext/memory>, tweak. 3571 35722002-01-01 Roger Sayle <[email protected]> 3573 3574 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the 3575 equivalent ___builtin__ versions. 3576 3577 * include/c_shadow/bits/std_cmath.h: All __builtin math functions 3578 are available in libstdc++ as the necessary stub implementations 3579 are provided by libmath/stubs.c. 3580 35812002-01-01 Jason Thorpe <[email protected]> 3582 3583 * configure.in: Add support for NetBSD cross compiles. 3584 * configure: Regenerate. 3585