1169691Skan1999-12-26 Phil Edwards <pme@sourceware.cygnus.com> 2169691Skan 3169691Skan * docs/gentop/status: Add snapshot version column, update 4169691Skan for Solaris 7. 5169691Skan * docs/status.html: Regenerated. 6169691Skan 7169691Skan1999-12-26 Phil Edwards <pme@sourceware.cygnus.com> 8169691Skan 9169691Skan * docs/faq/index.html: Turn README and RELEASE-NOTES into links 10169691Skan from installation FAQ, and specify location of text files. 11169691Skan * docs/faq/index.txt: Regenerated. 12169691Skan 13169691Skan1999-12-23 Phil Edwards <pme@sourceware.cygnus.com> 14169691Skan 15169691Skan * docs/gentop/download: Add links to prebuilds for Cygwin/Mingw32. 16169691Skan * docs/download.html: Regenerated. 17169691Skan 18169691Skan1999-12-22 Phil Edwards <pme@sourceware.cygnus.com> 19169691Skan 20169691Skan * docs/faq/index.html: Update 'what works' for .7 snapshot, 21169691Skan clean up various links. 22169691Skan * docs/faq/index.txt: Regenerated. 23169691Skan * docs/gentop/gentop: Smarter regeneration script. 24169691Skan * docs/gentop/{head,foot}chunk.html: Updated with new 25169691Skan contributors link and mod date. 26169691Skan * docs/gentop/index: Snapshot relase date. 27169691Skan * docs/gentop/thanks: New contributors page added. 28169691Skan * docs/{download,how,index,links,mail,status,thanks}.html: 29169691Skan Regenerated from gentop; thanks.html created. 30169691Skan 31169691Skan1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com> 32169691Skan 33169691Skan * bits/c++config.h.in (__GLIBCPP__): 19991221. 34169691Skan * docs/index.html: Add correct information. 35169691Skan 36169691Skan * config/irix: New directory. 37169691Skan * config/irix/ctype.cc: Add irix-6.5 info. Not tested. 38169691Skan * config/irix/bits/ctype_base.h: And here. 39169691Skan 40169691Skan * config/aix: New directory. 41169691Skan * config/aix/ctype.cc: Add aix-4.2 info. Not tested. 42169691Skan * config/aix/bits/ctype_base.h: And here. 43169691Skan 44169691Skan1999-12-21 Philip Martin <pm@corris.dircon.co.uk> 45169691Skan 46169691Skan * bits/basic_string.h: Add special case handling for integral 47169691Skan "iterators". 48169691Skan * bits/std_string.h: include type_traits.h 49169691Skan * testsuite/21_strings/ctor_copy_dtor.cc: Tweak. 50169691Skan 51169691Skan1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com> 52169691Skan 53169691Skan * bits/fstream.tcc (seekoff): Output buffer based on _M_*_in and 54169691Skan _M_*_end now. 55169691Skan * bits/std_fstream.h (sync): And here. 56169691Skan * testsuite/27_io/filebuf.cc: Revisions. 57169691Skan * testsuite/27_io/filebuf-2.tst: Correct, remove weird character 58169691Skan at the end of the file. 59169691Skan * testsuite/27_io/filebuf-3.tst: Correct. 60169691Skan 61169691Skan1999-12-21 Phil Edwards <pedwards@jaj.com> 62169691Skan 63169691Skan * docs/gentop/index: Hold off on .7 announcement date. 64169691Skan * docs/index.html: Regenerate. 65169691Skan 66169691Skan1999-12-21 Benjamin Kosnik <bkoz@kcygnus.com> 67169691Skan 68169691Skan * bits/std_fstream.h (sync): Move _M_file->sync() to 69169691Skan _M_really_overflow(). 70169691Skan * bits/fstream.tcc (seekoff): Call sync, not _M_really_overflow so 71169691Skan as to get the _M_file->sync action, which forces the external 72169691Skan buffer to update itself. 73169691Skan (underflow): Same here. 74169691Skan 75169691Skan1999-12-21 Phil Edwards <pedwards@jaj.com> 76169691Skan 77169691Skan * bits/c++config.h.in: Uncomment _GLIBCPP_USE_NAMESPACES and move... 78169691Skan * acconfig.h: ...to here. 79169691Skan * config.h.in: Regenerate from aclocal. 80169691Skan * acinclude.m4: Add GLIBCPP_ENABLE_DEBUG, GLIBCPP_ENABLE_NAMESPACES. 81169691Skan * aclocal.m4: Regenerate from acinclude. 82169691Skan * configure.in: Use ENABLE macros here. 83169691Skan * configure: Regenerate. 84169691Skan * src/Makefile.am: Use results from ENABLE macros. 85169691Skan * src/Makefile.in: Regenerate. 86169691Skan 87169691Skan1999-12-20 Benjamin Kosnik <bkoz@cygnus.com> 88169691Skan 89169691Skan * mkcheck (SRC_DIR): Now have to include config/* dir if "make 90169691Skan check" and not "make check-install." Temporarily hack in linux 91169691Skan support. 92169691Skan 93169691Skan * bits/std_streambuf.h: Tweaks. 94169691Skan * bits/streambuf.tcc (xsgetn): Tweaks. 95169691Skan * bits/std_fstream.h (sync): Make _M_really_overflow consistent. 96169691Skan * bits/fstream.tcc (filebuf::underflow): Simplify. 97169691Skan * bits/std_sstream.h (streambuf::underflow): Minor change to make 98169691Skan checks for read position precisely implement the standard. 99169691Skan * bits/basic_file.h (filepos_cur): Base this on _offset. 100169691Skan * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks. 101169691Skan * testsuite/27_io/filebuf.cc: Tweak. 102169691Skan 103169691Skan1999-12-20 Benjamin Kosnik <bkoz@cygnus.com> 104169691Skan 105169691Skan * docs/17_intro/RELEASE-NOTES: Fix typos. 106169691Skan 107169691Skan * bits/locale_facets.h (ctype): Modify, use __to_type to abstract 108169691Skan out platform-specific bits. 109169691Skan * config/default/ctype.cc: And here. 110169691Skan * config/defaults/bits/ctype_base.h: And here. 111169691Skan * config/linux/ctype.cc: And here. 112169691Skan * config/linux/bits/ctype_base.h (ctype_base): And here. 113169691Skan * config/solaris/bits/ctype_base.h (ctype_base): Add 114169691Skan __to_type. Comment, as it looks like this is for solaris2.6 and 115169691Skan above: solaris2.5.1 doesn't seem to have the same definitions. 116169691Skan * config/solaris/ctype.cc: And here. 117169691Skan 118169691Skan1999-12-19 Benjamin Kosnik <bkoz@cygnus.com> 119169691Skan Ulrich Drepper <drepper@cygnus.com> 120169691Skan 121169691Skan * acconfig.h: Remove _GLIBCPP_USE_CTYPE_ISBIT. 122169691Skan 123169691Skan * src/locale.cc: Take out platform-specific hacks. 124169691Skan * config/linux/ctype.cc: Put here. 125169691Skan * config/solaris/ctype.cc: Put here. 126169691Skan * config/default/ctype.cc: Put here. 127169691Skan 128169691Skan * bits/locale_facets.h: Take out platform-specific hacks. 129169691Skan * config/linux/bits/ctype_base.h: Put here. 130169691Skan * config/solaris/bits/ctype_base.h: Put here. 131169691Skan * config/default/bits/ctype_base.h: Put here. 132169691Skan 133169691Skan * configure.in: Bump version. 134169691Skan Add tests for top-level config directory. 135169691Skan * configure: Regenerated. 136169691Skan * src/Makefile.am (INCLUDES): Add platform-specific dir. 137169691Skan * src/Makefile: Regenerate. 138169691Skan 139169691Skan1999-12-19 Benjamin Kosnik <bkoz@cygnus.com> 140169691Skan Ulrich Drepper <drepper@cygnus.com> 141169691Skan 142169691Skan * bits/locale_facets.h: Hack in solaris support. 143169691Skan * src/locale.cc: Here too. 144169691Skan 145169691Skan1999-12-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> 146169691Skan 147169691Skan * docs/17_intro/TODO: Update 148169691Skan * docs/17_intro/RELEASE-NOTES (New): Update. 149169691Skan 150169691Skan1999-12-17 Benjamin Kosnik <bkoz@milou.cygnus.com> 151169691Skan 152169691Skan * bits/c++config.h.in (__GLIBCPP__): Bump. 153169691Skan * docs/17_intro/RELEASE-NOTES: Update, Gaby please add your stuff. 154169691Skan * docs/17_intro/TODO: Update. 155169691Skan 156169691Skan * bits/locale_facets.h: Touch this too. 157169691Skan * bits/localefwd.h: Add typedefs for loooooong vector names. 158169691Skan * bits/locale_facets.tcc (locale::operator()): Need parens. 159169691Skan (has_facet): Simplify. 160169691Skan * src/locale-inst.cc: Add instantiations. 161169691Skan * src/locale.cc: Tweaks. 162169691Skan 163169691Skan * bits/std_streambuf.h: Move indeterminates into. . 164169691Skan * bits/std_fstream.h: Here. 165169691Skan * bits/fstream.tcc (underflow): Rewind just for ios_base::out 166169691Skan streams. 167169691Skan * bits/sstream.tcc: Very minor formatting tweaks. 168169691Skan * bits/std_streambuf.h (_M_set_determinate): If exclusively an 169169691Skan input buffer, set _M_buf to offset. 170169691Skan * bits/istream.tcc (std): Tweaks. 171169691Skan * testsuite/27_io/istream_unformatted.cc (test05): More tweaks, 172169691Skan include fstream. 173169691Skan * testsuite/27_io/filebuf.cc: Tweaks. 174169691Skan 175169691Skan1999-12-17 Phil Edwards <pedwards@jaj.com> 176169691Skan 177169691Skan * configure.in: Add OPTLEVEL, -O2 for gcc 2.96+, nothing otherwise. 178169691Skan * configure: Regenerate. 179169691Skan * src/Makefile.am: Use OPTLEVEL in CXXFLAGS. 180169691Skan * src/Makefile.in: Regenerate. Also picks up OTHER_CXXFLAGS rename 181169691Skan to OPTIMIZE_CXXFLAGS from a previous revision (1.96) to Makefile.am. 182169691Skan 183169691Skan1999-12-17 Phil Edwards <pedwards@jaj.com> 184169691Skan 185169691Skan * docs/21_strings/stringtok_std_h.txt: New algorithm 186169691Skan suggested by Chris King. 187169691Skan * docs/21_strings/howto.html: Link to new version. 188169691Skan 189169691Skan1999-12-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> 190169691Skan 191169691Skan * bits/valarray_array.h (__valarray_sum): Use operator+=, not 192169691Skan operator+. 193169691Skan * docs/17_intro/TODO: Update. 194169691Skan 195169691Skan1999-12-15 Phil Edwards <pme@sourceware.cygnus.com> 196169691Skan 197169691Skan * docs/gentop/footchunk.html: Updated, fixed CRLFs. 198169691Skan * docs/gentop/gentop: Ditto. 199169691Skan * docs/gentop/headchunk.html: Ditto. 200169691Skan * docs/*.html: Regenerated from gentop. 201169691Skan * docs/*/howto.html: Updated as test. 202169691Skan * docs/faq/index.html: Updated, fixed CRLFs. 203169691Skan * docs/faq/index.txt: Regenerated. 204169691Skan 205169691Skan1999-12-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> 206169691Skan 207169691Skan * mknumeric_limits (OUT_C): restart only if $OUT_C is present. 208169691Skan 209169691Skan * bits/std_complex.h 210169691Skan (complex<float>::complex(const complex<double>&), 211169691Skan complex<float>::complex(const complex<long double>&)): Define. 212169691Skan 213169691Skan * docs/17_intro/TODO: Update. 214169691Skan 215169691Skan1999-12-13 Benjamin Kosnik <bkoz@cygnus.com> 216169691Skan 217169691Skan * bits/istream.tcc (seekg): Don't set _M_gcount. 218169691Skan (tellg): Same. 219169691Skan * bits/fstream.tcc (filebuf::underflow): Re-sync 220169691Skan external byte sequence's input buffer only. . . 221169691Skan * testsuite/27_io/istream_unformatted.cc (test04): New tests for 222169691Skan tellg, seekg and filebufs. 223169691Skan (test05): Same for stringbufs. 224169691Skan * testsuite/27_io/istream_unformatted-2.tst: New file. 225169691Skan * testsuite/27_io/istream_unformatted-1.tst: New file. 226169691Skan * testsuite/27_io/istream_unformatted-1.txt: New file. 227169691Skan * testsuite/21_strings/inserters_extractors.cc (test05): Change 228169691Skan output file. 229169691Skan 230169691Skan1999-12-13 Phil Edwards <pedwards@jaj.com> 231169691Skan 232169691Skan * docs/gentop/*: New directory, containing bits for the homepages. 233169691Skan * docs/*.html: Regenerated from gentop. 234169691Skan * docs/*/*.html: Entries added and regenerated. 235169691Skan 236169691Skan1999-12-13 Benjamin Kosnik <bkoz@gnu.org> 237169691Skan 238169691Skan Efforts to get -O2 to work with -Winline -Werrors. 239169691Skan * bits/valarray_array.h (__valarray_fill(_Tp*, size_t, const 240169691Skan _Tp&): Remove inline declaration, as cannot be inlined and 241169691Skan -Winline -Werror complains. An interesting question is why this 242169691Skan cannot be inlined, as I can see no real reason to disqualify it. 243169691Skan (__valarray_product(const _Tp*, const _Tp*)): Same here. 244169691Skan * bits/std_valarray.h (valarray::operator[](size_t)): Same here. 245169691Skan 246169691Skan * docs/17_intro/TODO: Update. 247169691Skan 248169691Skan1999-12-12 Benjamin Kosnik <bkoz@gnu.org> 249169691Skan 250169691Skan * bits/std_fstream.h (seekpos): Tweaks, fixes. Move definition to 251169691Skan fstream.tcc. 252169691Skan * bits/basic_file.h (filepos_cur()): Make pointers themselves be 253169691Skan the resultant position. 254169691Skan * bits/fstream.tcc (seekoff): Explicitly set return value to 255169691Skan resultant external byte sequence position, not value returned from 256169691Skan _M_file->seekoff. Need to make 257169691Skan (seekpos): New definition. 258169691Skan 259169691Skan * bits/istream.tcc (seekg): As per Library Issues List 136, set to 260169691Skan just istream. Necessary, or else tellg will give an invalid stream 261169691Skan position, but seekg will return a valid stream position, which is 262169691Skan not groovy: see testcase addition. 263169691Skan * bits/ostream.tcc (seekp): Same. 264169691Skan 265169691Skan * bits/streambuf.tcc (_S_copy_streambufs): Simplify. 266169691Skan * bits/sstream.tcc: Tweaks. 267169691Skan * bits/locale_facets.tcc: Tweaks. 268169691Skan (num_put::do_put(iter_type, ios_base, char_type, const void*)): 269169691Skan Re-write in a way that is easier for the inliner to work with. 270169691Skan * bits/ios_base.h: Use explicit static_cast<int>(...) notation. 271169691Skan 272169691Skan1999-12-10 Benjamin Kosnik <bkoz@cygnus.com> 273169691Skan 274169691Skan * bits/locale_facets.tcc: Tweaks. 275169691Skan * bits/locale_facets.h (use_facet): Can't inline, remove inline 276169691Skan from declaration. 277169691Skan * bits/localefwd.h: And here. 278169691Skan * bits/std_ostream.h: Tweaks, sentry ctor can't be inlined. 279169691Skan * bits/ostream.tcc: Put here. 280169691Skan 281169691Skan Frank Ch. Eigler <fche@cygnus.com> 282169691Skan * src/Makefile.am: Adjust CXXFLAGS, add AM_CXXFLAGS. 283169691Skan 284169691Skan1999-12-08 Benjamin Kosnik <bkoz@cygnus.com> 285169691Skan 286169691Skan * bits/sstream.tcc (stringbuf::seekoff): Long overdue revamp. Make 287169691Skan in and out buffers update independently. 288169691Skan 289169691Skan * bits/basic_ios.h: Minor formatting. 290169691Skan * bits/fstream.tcc (std): Fix indentation. 291169691Skan 292169691Skan1999-12-08 Chip Salzenberg <chip@valinux.com> 293169691Skan 294169691Skan * bits/char_traits.h (char_traits<>): Move not_eof() functions 295169691Skan after corresponding eof() functions, so they're easier for the 296169691Skan compiler to inline. 297169691Skan * bits/locale_facets.h (money_base::__default_pattern): Move 298169691Skan static variable out of inline functions. 299169691Skan (_Moneypunct<>::do_{pos,neg}_format): Use it. 300169691Skan * src/locale-inst.cc (money_base::__default_pattern): Define it. 301169691Skan 302169691Skan1999-12-08 Benjamin Kosnik <bkoz@cygnus.com> 303169691Skan 304169691Skan * bits/std_fstream.h (filebuf::open): Tweak. 305169691Skan * bits/fstream.tcc (filebuf::seekoff): Simplify, fix. 306169691Skan * bits/std_ios.h: Minor tweaks for headers. 307169691Skan 308169691Skan1999-12-06 Benjamin Kosnik <bkoz@gnu.org> 309169691Skan 310169691Skan * bits/c++config.h.in (_GLIBCPP_FULLY_COMPLIANT_HEADERS): New macro. 311169691Skan * src/string-inst.cc: Add guards . . . 312169691Skan * src/misc-inst.cc: And here. 313169691Skan * bits/std_sstream.h: And here. 314169691Skan * bits/std_fstream.h: And here. 315169691Skan * bits/std_streambuf.h: And here. 316169691Skan * bits/std_istream.h: And here. 317169691Skan * bits/std_ostream.h: And here. 318169691Skan 319169691Skan1999-12-06 Scott Snyder <snyder@fnal.gov> 320169691Skan 321169691Skan * bits/istream.tcc (basic_istream::read): Try to handle __n == 0 322169691Skan case. 323169691Skan (basic_istream::readsome): And here as well. 324169691Skan * testsuite/27_io/istream_unformatted.cc: Test a zero-length 325169691Skan read(). 326169691Skan 327169691Skan1999-12-06 Mumit Khan <khan@xraylith.wisc.edu> 328169691Skan 329169691Skan * bits/istream.tcc (basic_istream::ignore): streamsize is not 330169691Skan necessarily an `int'. 331169691Skan 332169691Skan1999-12-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> 333169691Skan 334169691Skan * mknumeric_limits: Don't use $CXXFLAGS when building 335169691Skan gen-num-limits. It's definitely wrong to use it since $CXXFLAGS 336169691Skan generally instructs the compiler not to emit template 337169691Skan instantiations and we end up with undefined symbols. Sigh. 338169691Skan 339169691Skan1999-12-05 Benjamin Kosnik <bkoz@gnu.org> 340169691Skan 341169691Skan * bits/locale_facets.tcc: Tweak. 342169691Skan (_S_format_long): Adjust showpos formatting for hex and oct. 343169691Skan * bits/std_ostream.h (operator<<(short)): Correctly deal with hex 344169691Skan and oct by formatting as unsigned. 345169691Skan (operator<<(int)): Same here. 346169691Skan * bits/ostream.tcc (operator<<(long)): Same. 347169691Skan (operator<<(long long)): Same. 348169691Skan (_S_pad_char): Actually treat ios_base::internal as something 349169691Skan worth doing correctly. Remove const designation on ios argument. 350169691Skan * testsuite/27_io/ios_manip_basefield.cc (test02): Add tests. 351169691Skan * testsuite/27_io/ostream_inserter_arith.cc (test03): Add tests. 352169691Skan 353169691Skan1999-12-04 Benjamin Kosnik <bkoz@gnu.org> 354169691Skan 355169691Skan * bits/std_sstream.h (streambuf::underflow): Check for mode == in. 356169691Skan 357169691Skan1999-12-03 Benjamin Kosnik <bkoz@gnu.org> 358169691Skan 359169691Skan * bits/locale_facets.tcc (num_put::do_put(bool): Fix. 360169691Skan 361169691Skan * bits/sstream.tcc (streambuf::seekoff): Add parens. 362169691Skan * bits/istream.tcc (istream::get(sb)): Handle exceptional events. 363169691Skan (operator>>(istream, _CharT*)): Change streamsize to int_type. 364169691Skan (operator>>(istream, _CharT&)): Fix typedef'd type to be _CharT. 365169691Skan * bits/ostream.tcc (ostream::operator<<(const char*)): Stub out 366169691Skan unused argument. 367169691Skan (ostream::operator<<(_CharT)): Fix. 368169691Skan 369169691Skan * bits/std_sstream.h: Temporarily disable including sstream.tcc to 370169691Skan see if this will increase compile speed. 371169691Skan * bits/std_ostream.h: Likewise. . . 372169691Skan * bits/std_istream.h: And here. 373169691Skan * bits/std_fstream.h: And here. 374169691Skan * src/misc-inst.cc: Add relevant header file includes for 375169691Skan instantiation purposes. 376169691Skan * src/string-inst.cc: And here. 377169691Skan * testsuite/27_io/ostream_inserter_arith.cc: Add test case. 378169691Skan 379169691Skan1999-12-02 Benjamin Kosnik <bkoz@gnu.org> 380169691Skan 381169691Skan * testsuite/27_io/istream_unformatted.cc (test03): Add tests. 382169691Skan * bits/istream.tcc (get(streambuf)): More fixes. 383169691Skan (istream::ignore): Get specific about numeric_limits<int>::max() 384169691Skan requirements. 385169691Skan 386169691Skan * bits/fstream.tcc (filebuf::open): Tweaks for _M_last_overflowed. 387169691Skan (filebuf::close): Same. 388169691Skan * testsuite/27_io/filebuf.cc: Add tests for ios_base::ate. 389169691Skan 390169691Skan1999-12-01 Phil Edwards <pedwards@jaj.com> 391169691Skan 392169691Skan * mkcheck: Support for compilation/execution timing. 393169691Skan * testsuite/printnow.c: New file. 394169691Skan 395169691Skan1999-12-01 Phil Edwards <pedwards@jaj.com> 396169691Skan 397169691Skan * bits/std_cwchar.h: Test for _GLIBCPP_USE_WCHAR_T. 398169691Skan * configure.in: Test for presence of wchar.h before testing 399169691Skan for any of its features. 400169691Skan * configure: Regenerate. 401169691Skan 402169691Skan1999-11-30 Benjamin Kosnik <bkoz@gnu.org> 403169691Skan 404169691Skan Preliminary istream validations complete. 405169691Skan * bits/istream.tcc (istream::getline): Fixes. Tweaks to make 406169691Skan formatting more consistent. Removal of if-statements inside of for 407169691Skan loops. 408169691Skan (ignore): Fix. 409169691Skan (get): Same. 410169691Skan (putback): Same. 411169691Skan * bits/std_istream.h: Same. 412169691Skan * bits/sstream.tcc (stringbuf::pbackfail): Fix. 413169691Skan * testsuite/27_io/stringbuf.cc: Tweak. 414169691Skan * testsuite/27_io/istream_unformatted.cc (test02): Mo' tests. 415169691Skan 416169691Skan * bits/ostream.tcc (ostream::operator<<(arith)): Set badbit, not 417169691Skan failbit on failure, as per 27.6.2.5.2. 418169691Skan 419169691Skan * stl/bits/std_vector.h: Allow bool specializations. Should move 420169691Skan ext/std_bvector to bits, not ext, maybe. 421169691Skan 422169691Skan1999-11-30 Mumit Khan <khan@xraylith.wisc.edu> 423169691Skan 424169691Skan * configure.in: Fix checks for mbstate_t and WCHAR_MIN/MAX. 425169691Skan * configure: Regenerate. 426169691Skan 427169691Skan1999-11-29 Benjamin Kosnik <bkoz@gnu.org> 428169691Skan 429169691Skan * bits/istream.tcc (get(streambuf, char)): Fix. 430169691Skan * testsuite/27_io/istream_unformatted.cc (test03): Add tests. 431169691Skan 432169691Skan1999-11-29 Scott Snyder <snyder@fnal.gov> 433169691Skan 434169691Skan * bits/basic_string.h (append(const _Char*, size_type)): The 435169691Skan length of the appended string is given exactly by the second arg, 436169691Skan regardless of the data in the character array. 437169691Skan * bits/string.tcc (basic_string(const _CharT*, size_type, const 438169691Skan _Alloc&)): Likewise. 439169691Skan * testsuite/21_strings/append.cc (test01): Remove erroneous test 440169691Skan of basic_string::append. 441169691Skan 442169691Skan1999-11-29 Chip Salzenberg <chip@valinux.com> 443169691Skan 444169691Skan * Makefile.in: Tweaks for CXXFLAGS. 445169691Skan * */Makefile.in: Same. 446169691Skan 447169691Skan1999-11-29 Mumit Khan <khan@xraylith.wisc.edu> 448169691Skan 449169691Skan * conficd bgure.in: Check for wide character support. 450169691Skan * bits/c++config.h.in (_GLIBC_USE_WCHAR_T): Move from here ... 451169691Skan * acconfig.h (_GLIBC_USE_WCHAR_T): to here. 452169691Skan * bits/string.tcc (wstring::_S_find): Guard wchar_t specialization. 453169691Skan 454169691Skan1999-11-29 Mumit Khan <khan@xraylith.wisc.edu> 455169691Skan 456169691Skan * acinclude.m4: Fix typo. 457169691Skan * src/complex.cc: Fix macro line continuation. 458169691Skan 459169691Skan1999-11-29 Petter Urkedal <petter@matfys.lth.se> 460169691Skan 461169691Skan * src/Makefile.am (CXXFLAGS): Add -Wno-format to allow non- 462169691Skan string literals in format, as used in locale-facets.tcc. 463169691Skan 464169691Skan1999-11-28 Benjamin Kosnik <bkoz@gnu.org> 465169691Skan 466169691Skan * testsuite/27_io/istream_unformatted.cc (test03): Add tests. 467169691Skan * bits/istream.tcc (istream::get): Extract to argument minus one. 468169691Skan Various tweaks and fixes. 469169691Skan 470169691Skan1999-11-22 Mumit Khan <khan@xraylith.wisc.edu> 471169691Skan 472169691Skan * bits/locale_facets.tcc: Workaround for compiler crash on 473169691Skan ix86-*-mingw32. 474169691Skan 475169691Skan1999-11-21 Mumit Khan <khan@xraylith.wisc.edu> 476169691Skan 477169691Skan * acinclude.m4: New file. New _GLIBCPP_CHECK_FLOAT_SUPPORT macro. 478169691Skan * configure.in: Use. 479169691Skan * acconfig.h: New _GLIBCPP_BUGGY_FLOAT_COMPLEX macro. 480169691Skan * src/complexf.cc: New _GLIBCPP_FLOAT_SPECIALIZATION macro. 481169691Skan * bits/std_complex.h: Use. 482169691Skan * src/complex.cc: Use. 483169691Skan 484169691Skan1999-11-19 Mumit Khan <khan@xraylith.wisc.edu> 485169691Skan 486169691Skan * testsuite/18_support/numeric_limits.cc: Add missing std:: prefix. 487169691Skan * testsuite/21_strings/inserters_extractors.cc: Likewise. 488169691Skan * testsuite/22_locale/ctype.cc: Likewise. 489169691Skan * testsuite/23_containers/multiset.cc: Likewise. 490169691Skan * testsuite/23_containers/vector_ctor.cc: Likewise. 491169691Skan * testsuite/26_numerics/binary_closure.cc: Likewise. 492169691Skan * testsuite/27_io/fpos.cc: Likewise. 493169691Skan * testsuite/27_io/ios_base_callbacks.cc: Likewise. 494169691Skan * testsuite/27_io/istream_extractor_arith.cc: Likewise. 495169691Skan * testsuite/27_io/istream_extractor_char.cc: Likewise. 496169691Skan * testsuite/27_io/istream_extractor_other.cc: Likewise. 497169691Skan * testsuite/27_io/istream_sentry.cc: Likewise. 498169691Skan * testsuite/27_io/ostream_inserter_char.cc: Likewise. 499169691Skan * testsuite/27_io/ostream_inserter_other.cc: Likewise. 500169691Skan * testsuite/27_io/streambuf.cc: Likewise. 501169691Skan * testsuite/27_io/stringstream.cc: Likewise. 502169691Skan 503169691Skan1999-11-19 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> 504169691Skan 505169691Skan * bits/valarray_meta.h: Don't forget to define tanh 506169691Skan 507169691Skan1999-11-18 Philip Martin <pm@corris.dircon.co.uk> 508169691Skan 509169691Skan * src/stl-inst.cc: Use typedef to refer to iterator 510169691Skan * stl/bits/stl_algobase.h: Add traits based dispatch for 511169691Skan __normal_iterator in the copy()algorithm 512169691Skan * stl/bits/type_traits.h: Add _Is_normal_iterator trait support 513169691Skan 514169691Skan1999-11-18 Kevin Ediger <kediger@licor.com> 515169691Skan 516169691Skan * src/locale.cc (locale::_Imp::_Imp): Use auto_ptr to make 517169691Skan constructors for locale::_Impl exception safe. 518169691Skan 519169691Skan1999-11-18 Scott Snyder <snyder@fnal.gov> 520169691Skan 521169691Skan * stl/bits/stl_queue.h: The C++ standard gives the default for the 522169691Skan _Sequence template argument of priority_queue<> as vector<>, not 523169691Skan deque<>. 524169691Skan 525169691Skan1999-11-18 Benjamin Kosnik <bkoz@gnu.org> 526169691Skan 527169691Skan * bits/std_sstream.h (stringbuf::_M_really_sync): Add __iend as a 528169691Skan parameter. 529169691Skan * bits/sstream.tcc: Adjust here too. 530169691Skan 531169691Skan1999-11-17 Benjamin Kosnik <bkoz@gnu.org> 532169691Skan 533169691Skan * bits/sbuf_iter.h (istreambuf_iter::equal): Tweak. 534169691Skan * bits/istream.tcc (operator>>): Replace iostate(0) with 535169691Skan iostate(ios_base::goodbit), which is the same thing, but hopefully 536169691Skan a bit clearer. 537169691Skan * bits/locale_facets.tcc (do_get(bool)): Streamline, deal with 538169691Skan libraries issue list 17. 539169691Skan (do_gets): Don't set goodbit explicitly, instead only set on 540169691Skan failures as good bit is the default setting. 541169691Skan * bits/ios_base.h (setf): Set correctly. 542169691Skan * bits/fstream.tcc: Tweak. 543169691Skan * bits/std_sstream.h (_M_really_sync): Fix ibuffer positioning for 544169691Skan in|out bufs that are empty. . . 545169691Skan * testsuite/27_io/istream_extractor_arith.cc (test03): Add. 546169691Skan 547169691Skan1999-11-16 Benjamin Kosnik <bkoz@gnu.org> 548169691Skan 549169691Skan * testsuite/27_io/streambuf.cc (class testbuf): Don't set _M_buf_size. 550169691Skan * bits/std_streambuf.h (setp): Set _M_buf_size, _M_mode. 551169691Skan Add comments "all about _M_buf." 552169691Skan (setg): Set _M_mode. 553169691Skan 554169691Skan1999-11-16 Kevin Ediger <kediger@licor.com> 555169691Skan 556169691Skan * bits/locale_facets.tcc (_S_build_float_format): New function. 557169691Skan (_S_output_float): New function. 558169691Skan (num_put::do_put(double)): Use 'em. 559169691Skan (num_put::do_put(long double)): Use 'em. 560169691Skan * testsuite/27_io/ostream_inserter_arith.cc: New file. 561169691Skan 562169691Skan1999-11-15 Scott Snyder <snyder@fnal.gov> 563169691Skan 564169691Skan * bits/basic_file.h: Type of __off parm should be __c_streampos, to 565169691Skan match how libio is calling us. 566169691Skan * src/basic_file.cc (sys_seek): Likewise. 567169691Skan * bits/std_fstream.h (basic_filebuf::sync): Restore sync call. 568169691Skan 569169691Skan1999-11-15 Benjamin Kosnik <bkoz@gnu.org> 570169691Skan 571169691Skan * docs/17_intro/contribute.html: Add link to assignment form. 572169691Skan * docs/17_intro/libstdc++-assign.txt: New file. 573169691Skan 574169691Skan * mkcheck (TESTS_FILE): Move a copy of test files as well as 575169691Skan output files. 576169691Skan 577169691Skan * bits/std_streambuf.h (_M_buf_bump): New function. 578169691Skan * bits/streambuf.tcc: Mods to support _M_buf_bump. 579169691Skan (xsputn): Here. Also add checks for output valid. 580169691Skan (xsgetn): Add checks for input valid. 581169691Skan (sputc): Here. 582169691Skan (sgetc): Set _M_in_end to _M_buf + _M_buf_end. 583169691Skan * bits/std_sstream.h (_M_really_sync): Set _M_buf. 584169691Skan Set _M_out_end to variable-length-end. 585169691Skan * bits/sstream.tcc (overflow): Use _M_buf_bump. 586169691Skan (seekpos): Same. 587169691Skan (seekoff): Same. 588169691Skan * bits/fstream.tcc (std): Tweak formatting. 589169691Skan (filebuf::overflow): Simplify. 590169691Skan (filebuf::showmanyc): Same. 591169691Skan (filebuf::underflow): Same. 592169691Skan * testsuite/27_io/filebuf.cc: Fix. 593169691Skan * testsuite/27_io/ostream_inserter_other.cc: Fix. 594169691Skan * testsuite/27_io/ostream_inserter_other-2.tst: New file. 595169691Skan * testsuite/27_io/stringbuf.cc: Tweak. 596169691Skan * testsuite/27_io/streambuf.cc: Tweak. 597169691Skan * testsuite/27_io/istream_extractor_other.cc: Fix. 598169691Skan 599169691Skan1999-11-11 Matthias Klose <doko@cs.tu-berlin.de> 600169691Skan 601169691Skan * stl_deque.h: Use static_casts<size_type>(signed_type). 602169691Skan 603169691Skan1999-11-11 Benjamin Kosnik <bkoz@gnu.org> 604169691Skan 605169691Skan Cleanups for callbacks, more regression hunting. Remaining 606169691Skan failures (1) due to last unresolved stringstream issues, not 607169691Skan regressions per se. 608169691Skan * bits/std_fstream.h: Revert. Disable call to _M_file->sync as 609169691Skan killing 27_io/filebuf.cc tests. . . need another solution. 610169691Skan 611169691Skan * bits/streambuf.tcc (_S_copy_streambufs): Fix. 612169691Skan * testsuite/27_io/istream_extractor_other.cc: Tweak comments. 613169691Skan 614169691Skan * bits/basic_ios.h: Add cached facets here. UGH. The standard 615169691Skan foils all attempts at a graceful, minimal implementation. 616169691Skan * bits/basic_ios.tcc: Tweaks. 617169691Skan * bits/istream.tcc: Fix. 618169691Skan * bits/ostream.tcc: Fix. 619169691Skan * bits/std_istream.h: Fix. 620169691Skan * bits/std_ostream.h: Fix. 621169691Skan * src/ios.cc (ios_base::imbue): Set _M_locale_ios before calling 622169691Skan callbacks. 623169691Skan * bits/locale_facets.tcc (std): Minor, minor formatting tweak. 624169691Skan (_S_pad_numeric): Make comprehensible. 625169691Skan 626169691Skan1999-11-10 Benjamin Kosnik <bkoz@cygnus.com> 627169691Skan 628169691Skan * bits/std_ostream.h: Add callbacks for _M_fnumput. 629169691Skan (_S_ostream_fcache): New function. 630169691Skan Move functions out-of-line. 631169691Skan * bits/ostream.tcc: Put here. 632169691Skan 633169691Skan * bits/std_istream.h: Add callbacks for _M_fnumget. 634169691Skan (_S_istream_fcache): New function. 635169691Skan Move functions out-of-line. 636169691Skan * bits/istream.tcc: Put here. 637169691Skan 638169691Skan * bits/basic_ios.tcc (basic_ios::imbue): Tweaks, remove call to 639169691Skan _M_call_callbacks(), as ios_base::imbue does this already. 640169691Skan * src/ios.cc (register_callback): Clean. 641169691Skan (_M_call_callbacks): Same. 642169691Skan * bits/ios_base.h: Callback work. 643169691Skan * testsuite/27_io/ios_base_callbacks.cc (test01): New file. 644169691Skan 645169691Skan1999-11-10 Benjamin Kosnik <bkoz@cygnus.com> 646169691Skan Matthias Klose <doko@cs.tu-berlin.de> 647169691Skan 648169691Skan * stl/ext/stl_rope.h: Fix initialization order. 649169691Skan 650169691Skan1999-11-09 Scott Snyder <snyder@fnal.gov> 651169691Skan 652169691Skan * bits/std_fstream.h (basic_filebuf::sync): Unconditionally call 653169691Skan _M_file->sync() so that redirection works correctly. 654169691Skan 655169691Skan1999-11-09 Benjamin Kosnik <bkoz@gnu.org> 656169691Skan 657169691Skan * bits/istream.tcc: Re-order. 658169691Skan * bits/std_istream.h: Fix getline problems. 659169691Skan * testsuite/27_io/istream_unformatted.cc: New tests. 660169691Skan 661169691Skan Clean up regressions. 662169691Skan * bits/std_sstream.h: Set initial stringbufs correctly. 663169691Skan 664169691Skan1999-11-09 Scott Snyder <snyder@fnal.gov> 665169691Skan 666169691Skan * stl_vector.h (_M_range_insert): Fix mixing pointers and 667169691Skan vector::iterator. 668169691Skan * testsuite/23_containers/vector_modifiers.cc (test01): New file, 669169691Skan tests. 670169691Skan 671169691Skan1999-11-09 Benjamin Kosnik <bkoz@cygnus.com> 672169691Skan 673169691Skan * src/Makefile.am (CXXFLAGS): Add -Winline. 674169691Skan * src/Makefile.in: Regenerate. 675169691Skan 676169691Skan1999-11-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> 677169691Skan 678169691Skan * bits/valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): When 679169691Skan building meta-expressions don't forget to take the contained 680169691Skan closures. 681169691Skan 682169691Skan1999-11-02 Benjamin Kosnik <benjamin@cygnus.com> 683169691Skan 684169691Skan * configure: Regenerate. 685169691Skan 686169691Skan1999-11-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> 687169691Skan 688169691Skan * bits/valarray_meta.h (_Expr<>::sum): Tweak. Use copy-initialization 689169691Skan syntax. 690169691Skan * bits/valarray_meta.h (min): Likewise. 691169691Skan * bits/valarray_meta.h (max): Likewise. 692169691Skan 693169691Skan1999-11-01 Benjamin Kosnik <bkoz@cygnus.com> 694169691Skan 695169691Skan * bits/std_sstream.h (_M_really_sync): Take into account in | out bufs. 696169691Skan * bits/std_streambuf.h (_S_copy_streambufs): New function. 697169691Skan * bits/streambuf.tcc: Define. 698169691Skan * bits/istream.tcc (istream::operator>>(streambuf)): Rewrite. 699169691Skan * bits/ostream.tcc (ostream::operator<<(streambuf)): Rewrite. 700169691Skan * testsuite/27_io/ostream_inserter_other.cc: Add tests. 701169691Skan * testsuite/27_io/ostream_inserter_other-1.tst: New file. 702169691Skan 703169691Skan * bits/basic_string.h: Explicitly cast npos to unsigned type, 704169691Skan reported by Richard Atterer. 705169691Skan * bits/char_traits.h: For consistency's sake, here too. 706169691Skan 707169691Skan * configure.in: Bump version to 2.90.7. 708169691Skan 709169691Skan1999-10-31 Benjamin Kosnik <bkoz@cygnus.com> 710169691Skan 711169691Skan * testsuite/27_io/ostream_inserter_char-1.tst: Check file output. 712169691Skan * testsuite/27_io/ostream_inserter_char.cc (test05, test01): Add tests. 713169691Skan * bits/streambuf.tcc (xsputn): Treat--size const char for long loops. 714169691Skan (xsgetn): Same. 715169691Skan * bits/sstream.tcc (seekpos): Tricks, mostly: check _M_mode before 716169691Skan writing into buffer. 717169691Skan (seekoff): Same. 718169691Skan 719169691Skan1999-10-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> 720169691Skan 721169691Skan * bits/valarray_array.h (__valarray_sum): New function. 722169691Skan * bits/valarray_array.h (__valarray_product): Same. 723169691Skan 724169691Skan * bits/std_valarray.h (valarray<T>::product): Comment out. 725169691Skan * bits/std_valarray.h (valarray<T>::sum): Use __valarray_sum 726169691Skan instead of accumulate. 727169691Skan 728169691Skan * src/valarray-inst.cc: Remove explicit intantiation of 729169691Skan class multiplies<size_t>, accumulate, valarray<size_t>::product. 730169691Skan * src/valarray-inst.cc (__valarray_product): Instantiate 731169691Skan explicitly. 732169691Skan * src/valarray-inst.cc (__valarray_product(const 733169691Skan valarray<size_t>&)): New function. 734169691Skan * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't use 735169691Skan valarray<size_t>::product. Use __valarray_product instead. 736169691Skan 737169691Skan 738169691Skan1999-10-25 Benjamin Kosnik <bkoz@cygnus.com> 739169691Skan 740169691Skan * bits/std_ostream.h (ostream.inserters.char): Correctly pad output. 741169691Skan (_S_pad_char): New function. Not done: ios_base::internal. 742169691Skan * bits/ostream.tcc: Clean for above. 743169691Skan * bits/locale_facets.tcc (_S_fill): Remove ostreambufiterator 744169691Skan specialization that was commented out, as ostreams now have to 745169691Skan correctly deal with padding. 746169691Skan * testsuite/27_io/ostream_inserter_char.cc (main): Add tests. 747169691Skan 748169691Skan * testsuite/21_strings/ctor_copy_dtor.cc(test02): Add test case 749169691Skan from mailing list. This is a bug, and should be fixed. 750169691Skan * testsuite/21_strings/inserters_extractors.cc (main): Tweak, fix typo. 751169691Skan 752169691Skan1999-10-22 Petter Urkedal <petter@matfys.lth.se> 753169691Skan 754169691Skan * stl/bits/stl_numeric.h (__power): Replaced argument name `__opr' 755169691Skan to avoid conflict with gcc name mangling. 756169691Skan * stl/bits/stl_algo.h (__transform): Same. 757169691Skan 758169691Skan1999-10-21 Benjamin Kosnik <bkoz@cygnus.com> 759169691Skan 760169691Skan * bits/ios_base.h: Change argument names. 761169691Skan * docs/17_intro/BADNAMES: Add __opr. 762169691Skan 763169691Skan1999-10-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com> 764169691Skan 765169691Skan Work on compilation slowdowns from 10-5 to 10-12, which are 766169691Skan related to the _Callback_list inlining/merge-ifcation, which is 767169691Skan still a pending issue, but this stuff is necessary cleanup anyway. 768169691Skan 769169691Skan * src/ios.cc: Re-arrange. 770169691Skan * bits/ios_base.h: Tweak. 771169691Skan * bits/basic_ios.tcc: Move out of line definitions here, move 772169691Skan small out-of-line definitions inline. 773169691Skan * bits/basic_ios.h: From here. 774169691Skan 775169691Skan * bits/streambuf.tcc (pbackfail, overflow): Move back inline. 776169691Skan * bits/std_streambuf.h: From here. 777169691Skan 778169691Skan1999-10-19 Benjamin Kosnik <bkoz@cygnus.com> 779169691Skan 780169691Skan * testsuite/27_io/istream_extractor_char.cc: Add tests. 781169691Skan * bits/std_istream.h: Tweaks--set eofbit on eof condition. 782169691Skan * bits/istream.tcc (operator>>(istream&, string&): Remove 783169691Skan vestigial issspace hacks and use ctype::is instead. 784169691Skan (getline): Remove unnecessary loops, fortify and pasteurize. 785169691Skan (ws): Same. 786169691Skan 787169691Skan1999-10-18 Benjamin Kosnik <bkoz@cygnus.com> 788169691Skan 789169691Skan * bits/istream.tcc (operator>>): Tweak. 790169691Skan * bits/std_istream.h: Fix according to library issues list 68. 791169691Skan Add typedefs. 792169691Skan 793169691Skan * bits/locale_facets.h: Fix table_size to be non-zero. 794169691Skan 795169691Skan1999-10-18 Vadim Egorov <egorovv@HotPOP.com> 796169691Skan 797169691Skan * src/basic_file.cc: ifdef instead of comment for binary mode 798169691Skan 799169691Skan1999-10-18 Russell Davidson <russell@qed.econ.queensu.ca> 800169691Skan 801169691Skan * bits/std_sstream.h: Stringbuf initialization based on actual, 802169691Skan not allocated, size. 803169691Skan * testsuite/21_strings/inserters_extractors.cc (test06): Add test 804169691Skan case. 805169691Skan 806169691Skan1999-10-17 Benjamin Kosnik <bkoz@cygnus.com> 807169691Skan 808169691Skan * testsuite/26_numerics/c_math.cc (test03): Tweak. 809169691Skan * testsuite/27_io/istream_manip.cc (test01): Corrections due to 810169691Skan sentry change. 811169691Skan * testsuite/21_strings/inserters_extractors.cc (test01): Same. 812169691Skan 813169691Skan1999-10-14 Benjamin Kosnik <bkoz@cygnus.com> 814169691Skan 815169691Skan * bits/std_istream.h: Tweaks. 816169691Skan * bits/istream.tcc (istream::sentry::sentry()): Simplify, correct 817169691Skan as per issues list addition--set failbit, eof on empty buffers. 818169691Skan * testsuite/27_io/istream_sentry.cc: New file. 819169691Skan 820169691Skan1999-10-12 Chris Prince <prince@wcug.wwu.edu> 821169691Skan 822169691Skan * bits/std_cstdio.h: Remove Solaris hacks. 823169691Skan 824169691Skan1999-10-12 Phil Edwards <philip.edwards@sn.wpafb.af.mil> 825169691Skan 826169691Skan * docs/index.html: Fix minor typos and tweaks. 827169691Skan * docs/17_intro/contribute.html: Ditto. 828169691Skan * docs/*/howto.html: Ditto. More "EGCS"->"GCC" conversion, notes on 829169691Skan thread safety and binary I/O, links to external sites. 830169691Skan * docs/faq/index.html: EGCS/GCC cleanup, new entries for Cygwin 831169691Skan and MT. 832169691Skan 833169691Skan1999-10-12 Petter Urkedal <petter@matfys.lth.se> 834169691Skan 835169691Skan * bits/std_cmath.h (abs(float)): When ::absf is not present, call 836169691Skan ::fabs(double) rather than ::abs(int). 837169691Skan 838169691Skan1999-10-11 Benjamin Kosnik <bkoz@milou.cygnus.com> 839169691Skan 840169691Skan * bits/std_streambuf.h: Fix minor blip--should explicitly return 841169691Skan *gptr(), not the result of underflow. 842169691Skan (pbackfail): Conform to default behavior. 843169691Skan (overflow): Same. 844169691Skan * bits/streambuf.tcc: Add out-of-line streambuf members. 845169691Skan (xsputn): Tweak. 846169691Skan (xsgetn): Tweak. 847169691Skan * testsuite/27_io/streambuf.cc: New file. 848169691Skan * testsuite/27_io/filebuf.cc: Correct test. 849169691Skan 850169691Skan1999-10-08 Benjamin Kosnik <bkoz@haight.constant.com> 851169691Skan 852169691Skan * bits/std_cmath.h: Correctly cast int to double. 853169691Skan * testsuite/26_numerics/c_math.cc: Add test. 854169691Skan 855169691Skan * mknumeric_limits (OUT_C): Tweaks. 856169691Skan * src/gen-num-limits.cc: Checks for WCHAR_MIN, WCHAR_MAX before 857169691Skan trying to instantiate type_traits<wchar_t>. 858169691Skan * acconfig.h: Add _GLIBCPP_HAS_WCHAR_MIN_MAX. 859169691Skan * configure.in (LIBS): Plus checks for WCHAR_MIN, WCHAR_MAX. 860169691Skan * configure: Regenerate. 861169691Skan 862169691Skan1999-10-06 Benjamin Kosnik <bkoz@milou.cygnus.com> 863169691Skan 864169691Skan * bits/streambuf.tcc (streambuf::xsgetn): Rewrite. 865169691Skan (streambuf::xsputn): Put in break. 866169691Skan Aiming for parity between these two (mostly) similar functions. 867169691Skan Need to re-write tests. 868169691Skan 869169691Skan * bits/ios_base.h (ios_base::_M_copy_base): Remove declaration. 870169691Skan Make data members protected, not private. 871169691Skan * src/ios.cc (ios_base::_M_copy_base): Move _Callback_list into 872169691Skan ios_base.h. As called only once, collapse into . . . 873169691Skan * bits/basic_ios.h (basic_ios::copyfmt): Fix. 874169691Skan (basic_ios::clear): Throw ios_base::failure on occasion. 875169691Skan (basic_ios::exceptions): Fix. 876169691Skan * testsuite/27_io/ios_members.cc (test02): Add tests. 877169691Skan 878169691Skan * bits/fpos.h: Default initialize. 879169691Skan * testsuite/27_io/fpos.cc (test03): Add test. 880169691Skan 881169691Skan1999-10-04 Russell Davidson <russell@qed.econ.queensu.ca> 882169691Skan 883169691Skan * src/basic_file.cc: Fix open modes. 884169691Skan 885169691Skan1999-10-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> 886169691Skan 887169691Skan * bits/locale_facets.tcc (num_get<>::do_get): Fix typo. 888169691Skan 889169691Skan1999-09-23 Benjamin Kosnik <bkoz@milou.cygnus.com> 890169691Skan 891169691Skan * bits/streambuf.tcc: Yea. Fix this for real. 892169691Skan * testsuite/27_io/ostream_inserter_other.cc: Add file. 893169691Skan * src/Makefile.*: Regenerate. 894169691Skan 895169691Skan1999-09-22 Benjamin Kosnik <bkoz@milou.cygnus.com> 896169691Skan 897169691Skan * bits/std_cstdlib.h: Add more linux-specif hacks to the header 898169691Skan files so that stdtof and strtold will be declared. Some hacks 899169691Skan already exits in bits/std_cctype.h -- these should all be removed 900169691Skan at a later date. 901169691Skan * bits/locale_facets.tcc: Add cstring.h include. 902169691Skan _S_format_long: Use long, not int. 903169691Skan Add std_limits.h include, for numeric_limits. 904169691Skan * testsuite/27_io/istream.cc: Make instantiations work when using 905169691Skan -fhonor-std. 906169691Skan * testsuite/27_io/ostream.cc: Same. 907169691Skan 908169691Skan1999-09-21 Benjamin Kosnik <bkoz@milou.cygnus.com> 909169691Skan 910169691Skan * bits/fpos.h (fpos::operator streamoff): Make const, don't return 911169691Skan a reference. Same for operators == and !=. 912169691Skan * testsuite/27_io/fpos.cc: Add tests. 913169691Skan 914169691Skan1999-09-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> 915169691Skan 916169691Skan * bits/valarray_array.h: Fix typo. 917169691Skan 918169691Skan * mknumeric_limits: Make sure we are regenerating things from 919169691Skan scratch. Otherwise things get redefined. Not good. 920169691Skan 921169691Skan1999-09-20 Benjamin Kosnik <bkoz@milou.cygnus.com> 922169691Skan 923169691Skan * bits/std_ostream.h: Fix typo. 924169691Skan * bits/std_istream.h: Same. 925169691Skan * bits/std_iomanip.h: Same. 926169691Skan 927169691Skan * bits/istream.tcc (sentry::sentry()): Remove optional tie with 928169691Skan ostream, as happens with underflow anyway. 929169691Skan * testsuite/27_io/istream.cc (main): New file. 930169691Skan * testsuite/27_io/ostream.cc (main): New file. 931169691Skan * testsuite/27_io/istream_unformatted.cc: Add tests. 932169691Skan 933169691Skan * src/Makefile.am (headers): Add new file. 934169691Skan * src/Makefile.in (headers): Regenerated. 935169691Skan 936169691Skan * bits/basic_ios.h: Remove local-related files. 937169691Skan * bits/basic_ios.tcc: New file, add locale-related items. 938169691Skan * src/misc-inst.cc: Add include of basic_ios.tcc, as a hack for now. 939169691Skan * testsuite/27_io/ios_members_static.cc: Change to 940169691Skan * testsuite/27_io/ios_base_members_static.cc: This. 941169691Skan * testsuite/27_io/ios_members.cc: New file. 942169691Skan * testsuite/27_io/stdios_basefield_manip: Change to 943169691Skan * testsuite/27_io/ios_manip_basefield.cc: This. 944169691Skan * testsuite/27_io/stdios_fmtflags_manip: Change to 945169691Skan * testsuite/27_io/ios_manip_fmtflags.cc: This. 946169691Skan 947169691Skan * bits/fpos.h: Fix discarding qualifiers on this when 948169691Skan using _M_position with a const fpos. 949169691Skan * bits/std_iosfwd.h: Tweak. 950169691Skan * testsuite/27_io/fpos.cc: New file. 951169691Skan 952169691Skan1999-09-17 Benjamin Kosnik <bkoz@milou.cygnus.com> 953169691Skan 954169691Skan * bits/streambuf.tcc (streambuf::xsputn): Tweak. 955169691Skan * bits/ostream.tcc: Tweak. 956169691Skan * testsuite/21_strings/inserters_extractors.cc (test04, test05): 957169691Skan Add new regressions. 958169691Skan 959169691Skan1999-09-16 Benjamin Kosnik <bkoz@milou.cygnus.com> 960169691Skan 961169691Skan * bits/basic_ios.h: Inline, tweak. 962169691Skan * bits/fstream.tcc (basic_filebuf::_M_really_overflow): Tweak, 963169691Skan pass back accurate return value to basic_filebuf::overflow. 964169691Skan * bits/streambuf.tcc (streambuf::xsputn): Fix overflow accounting. 965169691Skan This fixes sstream problems reported in libstdc++/9, but screws up 966169691Skan filebufs. That solution is pending. 967169691Skan 968169691Skan1999-09-15 Vadim Egorov <egorovv@1c.ru> 969169691Skan 970169691Skan * bits/streambuf.tcc (basic_streambuf::xsputn): Add check for 971169691Skan zero count puts. 972169691Skan * testsuite/21_strings/inserters_extractors.cc (test01): Add test. 973169691Skan 974169691Skan1999-09-08 Benjamin Kosnik <bkoz@milou.cygnus.com> 975169691Skan 976169691Skan * bits/c++config.h.in: Add emacs hints. 977169691Skan 978169691Skan * stl/bits/stl_range_errors.h: Don't define here, for now define 979169691Skan in stdexcept.cc along with string inlines __length_error, etc. 980169691Skan * src/stdexcept.cc: Define here. 981169691Skan * stl/bits/stl_config.h (__STL_CAN_THROW_RANGE_ERRORS): Enable, so 982169691Skan at(size_t) will be declared/defined. 983169691Skan (__STL_THREADS): Fix mess surrounding use of this, enable. 984169691Skan 985169691Skan1999-08-31 Benjamin Kosnik <bkoz@milou.cygnus.com> 986169691Skan 987169691Skan * testsuite/27_io/istream_extractor_arith.cc: Fix. 988169691Skan * src/localename.cc: Tweak formatting, fix assignment to 989169691Skan const compiler errors. 990169691Skan 991169691Skan1999-08-25 Benjamin Kosnik <bkoz@cygnus.com> 992169691Skan 993169691Skan * acconfig.h: Add absf, cosf. 994169691Skan * configure.in (use_builtin_sinf): Same. 995169691Skan * configure: Regenerate. 996169691Skan * bits/std_cmath.h: Add mess of defines. 997169691Skan * testsuite/26_numerics/modf_float.cc: Change to 998169691Skan * testsuite/26_numerics/c_math.cc: This. 999169691Skan 1000169691Skan * src/locale.cc: Change. 1001169691Skan * bits/locale_facets.h: Fix. 1002169691Skan * testsuite/22_locale/ctype.cc: Add temporary tests. 1003169691Skan 1004169691Skan1999-08-24 Benjamin Kosnik <bkoz@cygnus.com> 1005169691Skan 1006169691Skan * bits/fpos.h: Test. 1007169691Skan 1008169691Skan * docs/index.html: Add powerpc-linux-gnu results with gcc-2.95.1. 1009169691Skan Fix database name for "libstdc++". 1010169691Skan 1011169691Skan1999-08-23 Benjamin Kosnik <bkoz@cygnus.com> 1012169691Skan 1013169691Skan * mknumeric_limits (numeric_limits): Add default definitions to 1014169691Skan member functions. 1015169691Skan * testsuite/18_support/numeric_limits.cc: New file. 1016169691Skan 1017169691Skan1999-08-18 Benjamin Kosnik <bkoz@cygnus.com> 1018169691Skan 1019169691Skan * bits/std_istream.h: Correct initialization. 1020169691Skan * bits/std_ostream.h: Likewise. 1021169691Skan * bits/std_sstream.h: Likewise. 1022169691Skan * bits/std_fstream.h: Likewise. 1023169691Skan * testsuite/27_io/stringstream.cc: Add test case. 1024169691Skan 1025169691Skan * bits/std_sstream.h: Replace ____string_type with __string_type. 1026169691Skan * bits/basic_ios.h (basic_ios::rdbuf(sb*): Call clear(), as required. 1027169691Skan * bits/std_ostream.h: Tweak dtor. 1028169691Skan 1029169691Skan1999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com> 1030169691Skan 1031169691Skan * src/Makefile.am (CXXFLAGS): Add -O2. 1032169691Skan * src/Makefile.in: Likewise. 1033169691Skan 1034169691Skan * src/gen-num-limits.cc: Conditionally allow wchar_t. See what 1035169691Skan this breaks. . . 1036169691Skan * mknumeric_limits (numeric_limits): Uglify. 1037169691Skan 1038169691Skan * bits/std_istream.h: Fix warnings. 1039169691Skan * bits/locale_facets.tcc: Collateral damage from 1040169691Skan char_traits<char>::int_type change. 1041169691Skan 1042169691Skan * testsuite/27_io/istream_extractor_char.cc: Terminate strings. 1043169691Skan 1044169691Skan1999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com> 1045169691Skan 1046169691Skan * docs/index.html: Add mailing list form. 1047169691Skan * docs/27_io/howto.html: Add link to iostreams_hierarchy.pdf. 1048169691Skan 1049169691Skan1999-08-16 Benjamin Kosnik <bkoz@cygnus.com> 1050169691Skan 1051169691Skan * bits/streambuf.tcc (streambuf::xsputn): Allow copies to continue 1052169691Skan if overflow successfully allocates more space. 1053169691Skan * bits/std_sstream.h: Adjust comments. 1054169691Skan * bits/sstream.tcc (stringbuf::overflow): Copy buffer into string 1055169691Skan before overflow forces a resize. 1056169691Skan * testsuite/27_io/ostream_inserter_char.cc: New file. 1057169691Skan 1058169691Skan * bits/std_fstream.h: Remove declaration. 1059169691Skan * bits/fstream.tcc: Move uflow. 1060169691Skan * bits/std_streambuf.h: To here. 1061169691Skan * bits/streambuf.tcc: Make consistent. 1062169691Skan 1063169691Skan * src/Makefile.am (WERROR): Enable. 1064169691Skan * src/Makefile.in: Regenerate. 1065169691Skan * bits/sbuf_iter.h: Tweak. 1066169691Skan * bits/char_traits.h: (char_traits<wchar_t>::eof): Use WEOF. 1067169691Skan Use unsigned int as char_traits<char>::int_type. 1068169691Skan 1069169691Skan * bits/ostream.tcc (ostream::putc(char)): Tweak. 1070169691Skan * testsuite/27_io/iostream_objects.cc: Terminate string. 1071169691Skan Move cin::operator>>(char*) test to extractor_char.cc. 1072169691Skan * testsuite/27_io/stringstream.cc: Add stringstream instantiation. 1073169691Skan * bits/std_istream.h (basic_iostream): Make explicit definition 1074169691Skan for default ctor. 1075169691Skan * bits/std_sstream.h: Fix typos. 1076169691Skan * bits/fstream.tcc (_M_init_filebuf): Set to indeterminate for 1077169691Skan basic_filebuf ctor with fileno open arguments. Thus, filebufs are 1078169691Skan initialized in a consistent manner, no matter if the underlying 1079169691Skan FILE/bit bucket is a tty or a text file or some other imaginary 1080169691Skan construct. This and setting _M_buf_size to 1 for cin allows 1081169691Skan istream::get(char) to work in a manner consistent with what others 1082169691Skan expect. 1083169691Skan 1084169691Skan * docs/index.html: Link Stroustrup's C++ page. 1085169691Skan 1086169691Skan1999-08-12 Michael Cook <cook@sightpath.com> 1087169691Skan 1088169691Skan * bits/fstream.tcc: Fix signed/unsigned -Wall warning. 1089169691Skan * bits/istream.tcc: ditto. 1090169691Skan * bits/sbuf_iter.h: ditto. 1091169691Skan * bits/std_istream.h: ditto. 1092169691Skan * src/Makefile.am: Add -Wall to CXXFLAGS. 1093169691Skan * src/Makefile.in: ditto. 1094169691Skan 1095169691Skan1999-08-12 Benjamin Kosnik <bkoz@tintin.cygnus.com> 1096169691Skan Russell Davidson <russell@ehess.cnrs-mrs.fr> 1097169691Skan 1098169691Skan * bits/locale_facets.tcc (_M_extract): Finish off patch from yesterday. 1099169691Skan * src/Makefile.am (myinstallheaders): Tweak, remove PHONY. 1100169691Skan 1101169691Skan1999-08-11 Benjamin Kosnik <bkoz@tintin.cygnus.com> 1102169691Skan 1103169691Skan * testsuite/27_io/istream_unformatted.cc: New file. 1104169691Skan 1105169691Skan * testsuite/27_io/istream_extractor_arith.cc (test02): Add more 1106169691Skan elaborate tests for int types with noskipws. 1107169691Skan 1108169691Skan * testsuite/27_io/istream_extractor_other-1.txt: New file. 1109169691Skan * testsuite/27_io/istream_extractor_other-1.tst: New file. 1110169691Skan * testsuite/27_io/istream_extractor_other-2.tst: New file. 1111169691Skan * testsuite/27_io/istream_extractor_other.cc: Add tests. 1112169691Skan * bits/istream.tcc: Fix operator>>(streambuf*). 1113169691Skan 1114169691Skan * testsuite/23_containers/vector_ctor.cc (test01): Add. 1115169691Skan 1116169691Skan * docs/index.html: Remove references to egcs. 1117169691Skan * docs/17_intro/DESIGN: Same. 1118169691Skan * docs/17_intro/contribute.html: Same. 1119169691Skan * docs/17_intro/RELEASE-NOTES: Ditto. 1120169691Skan * docs/17_intro/howto.html: Same here. 1121169691Skan 1122169691Skan Russell Davidson <russell@ehess.cnrs-mrs.fr> 1123169691Skan * stl/bits/stl_vector.h (_M_insert_aux): 1124169691Skan * bits/locale_facets.tcc (_M_extract): Tweaks for preliminary 1125169691Skan decimal/floating point support. 1126169691Skan * bits/locale_facets.h: Change _M_extract prototype. 1127169691Skan * bits/char_traits.h (char_traits::to_int_type): Cast to unsigned. 1128169691Skan * bits/std_istream.h (istream::read(char_type, streamsize)): Fix. 1129169691Skan 1130169691Skan1999-08-10 Michael Cook <cook@sightpath.com> 1131169691Skan 1132169691Skan * bits/fstream.tcc: Fix for unused variable warning (-Wall). 1133169691Skan * bits/ios_base.h: ditto. 1134169691Skan * bits/istream.tcc: ditto. 1135169691Skan * bits/locale_facets.h: ditto. 1136169691Skan * bits/locale_facets.tcc: ditto. 1137169691Skan * bits/std_streambuf.h: ditto. 1138169691Skan * src/basic_file.cc: ditto. 1139169691Skan * src/locale.cc: ditto. 1140169691Skan * src/localename.cc: ditto. 1141169691Skan 1142169691Skan1999-08-10 Kirat Singh <singhki@jany.gs.com> 1143169691Skan 1144169691Skan * bits/std_iomanip.h: Inline. 1145169691Skan 1146169691Skan1999-08-10 Alfred Minarik <a8601248@unet.univie.ac.at> 1147169691Skan 1148169691Skan * bits/std_streambuf.h: Correct member initialization order. 1149169691Skan * src/ios.cc: Add definitions for ios_base data members. 1150169691Skan 1151169691Skan1999-08-06 Phil Edwards <pedwards@ball.com> 1152169691Skan 1153169691Skan * docs/index.html: Seventh snapshot updates. Minor tweaks. 1154169691Skan * docs/faq/index.html: Ditto. Removed bugs sections that have 1155169691Skan been fixed for a long time... Lots of "egcs" references still 1156169691Skan exist. 1157169691Skan * docs/faq/index.txt: Regenerated. 1158169691Skan 1159169691Skan1999-08-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> 1160169691Skan Andreas Amann <amann@physik.tu-berlin.de> 1161169691Skan 1162169691Skan * testsuite/26_numerics/binary_closure.cc (main): new test. 1163169691Skan 1164169691Skan1999-07-29 Andreas Amann <amann@physik.tu-berlin.de> 1165169691Skan 1166169691Skan * bits/valarray_meta.h: (_BinClos<>::_Binclos): fix typo causing 1167169691Skan segmentation fault. 1168169691Skan 1169169691Skan1999-08-04 Benjamin Kosnik <bkoz@decepticon.cygnus.com> 1170169691Skan 1171169691Skan * docs/index.html (host): Put in testing status. 1172169691Skan 1173169691Skan1999-08-03 Benjamin Kosnik <bkoz@cygnus.com> 1174169691Skan 1175169691Skan * docs/index.html: Update for libstdc++-2.90.6 release. 1176169691Skan * docs/17_intro/RELEASE-NOTES (New): Update. 1177169691Skan * docs/17_intro/BUGS: Update. 1178169691Skan * bits/c++config.h.in (__GLIBCPP__): Bump version number. 1179169691Skan * README (file): Update. 1180169691Skan 1181169691Skan1999-08-03 Benjamin Kosnik <bkoz@cygnus.com> 1182169691Skan 1183169691Skan * src/Makefile.am (generated_headers): Remove bits/c++config.h as 1184169691Skan a target. 1185169691Skan ($(generated_headers)): Same. 1186169691Skan * src/gen-c++config.cc: Remove, rename to 1187169691Skan * bits/c++config.h.in: New file. Bump version number. 1188169691Skan * configure.in: Generate bits/c++config.h at configure time. 1189169691Skan * math/mathconf.h: include bits/c++config.h, not config.h. 1190169691Skan 1191169691Skan * bits/std_cmath.h: Fix remaining link error for solaris shared 1192169691Skan builds. _GLIBCPP_HAS_BUILTIN_SINF has to be disabled for the time 1193169691Skan being, as on Solaris this silently calls sinf, which does not 1194169691Skan exist. 1195169691Skan 1196169691Skan * src/complex.cc: More tweaks. 1197169691Skan 1198169691Skan1999-08-03 Benjamin Kosnik <bkoz@cygnus.com> 1199169691Skan 1200169691Skan * src/complex.cc: Same. 1201169691Skan * math/complex-stub.h: Change. 1202169691Skan * math/c_log10*.c: Change back to clog10*.c. 1203169691Skan 1204169691Skan * configure.in (NEED_C_LOG10): Delete. 1205169691Skan * configure: Regenerate. 1206169691Skan * math/Makefile.am: Change. 1207169691Skan 1208169691Skan1999-07-30 Benjamin Kosnik <bkoz@cygnus.com> 1209169691Skan 1210169691Skan * math/Makefile.am: Fix, for real. 1211169691Skan * configure.in (use_builtin_sinf): Ok, make autoconf solution. 1212169691Skan * math/clog.c: Move to c_log.c. 1213169691Skan * math/clog*: Ditto. 1214169691Skan * math/c_log10l.c (c_log10l): Change function name. 1215169691Skan * math/c_log10f.c (c_log10f): Change function name. 1216169691Skan * math/c_log10.c (c_log10): Change function name. 1217169691Skan 1218169691Skan * math/complex-stub.h: Change to c_log* variants. 1219169691Skan * src/complex.cc: And here. 1220169691Skan 1221169691Skan1999-07-29 Benjamin Kosnik <bkoz@cygnus.com> 1222169691Skan 1223169691Skan * testsuite/27_io/istream_extractor_other.cc: Correct last test. 1224169691Skan * bits/sstream.tcc (stringbuf::overflow): Don't update the input 1225169691Skan sequence, just the output sequence. 1226169691Skan * bits/std_sstream.h (stringbuf::str()): Only in stringbufs return 1227169691Skan the original string, all others use complicated heuristic. 1228169691Skan 1229169691Skan * src/complex.cc: Assume c_log10. 1230169691Skan * math/Makefile.am (EXTRA_yes): Fix c_log/c_logf unresolved 1231169691Skan symbols in shared libraries by making c_log/c_log10 part of the 1232169691Skan "must cmpile" sources. This may not work on solaris, must check. 1233169691Skan 1234169691Skan1999-07-29 Benjamin Kosnik <bkoz@cygnus.com> 1235169691Skan 1236169691Skan * bits/istream.tcc (operator>>(streambuf*)): Re-do. 1237169691Skan * bits/std_istream.h: Fix char extractors. 1238169691Skan * testsuite/27_io/istream_extractor_char.cc: Change. 1239169691Skan * testsuite/27_io/istream_extractor_other.cc: Add tests. 1240169691Skan 1241169691Skan1999-07-28 Benjamin Kosnik <bkoz@cygnus.com> 1242169691Skan 1243169691Skan * bits/std_cctype.h: Fix for solaris2.6 builds. 1244169691Skan 1245169691Skan * bits/istream.tcc: Fix, thanks Alfred. 1246169691Skan * bits/std_istream.h: Formatting changes. 1247169691Skan 1248169691Skan * libio/Makefile.am (libio_la_SOURCES): Remove cleanup.c, so that 1249169691Skan _IO_cleanup will not be undefined. 1250169691Skan * libio/*: Regenerate. 1251169691Skan 1252169691Skan * bits/basic_string.h: More namespace-safety stuff. 1253169691Skan * testsuite/27_io/istream_extractor_char.cc: Fix. 1254169691Skan * testsuite/27_io/istream_extractor_arith.cc: Fix. 1255169691Skan * testsuite/27_io/iostream_objects.cc: Fix. 1256169691Skan * testsuite/27_io/ios_ctor.cc: Fix. 1257169691Skan * testsuite/27_io/istream_manip.cc: Make namespace safe. 1258169691Skan * testsuite/27_io/istream_extractor_other.cc: New file. 1259169691Skan 1260169691Skan * mkcheck (TESTS_FILE): Tweaks. 1261169691Skan 1262169691Skan1999-07-27 Benjamin Kosnik <bkoz@cygnus.com> 1263169691Skan 1264169691Skan * src/gen-c++config.cc: Note here, change version. 1265169691Skan * acconfig.h( _GLIBCPP_USE_CTYPE_ISBIT): New macro. 1266169691Skan * src/locale.cc: Used here. 1267169691Skan * configure.in (use_builtin_sinf): Check for _ISBit using autoconf. 1268169691Skan 1269169691Skan * aclocal.m4: Regenerate by running `aclocal -I m4.` 1270169691Skan 1271169691Skan * bits/istream.tcc: Fix. 1272169691Skan * bits/std_istream.h: More changes to extractors. 1273169691Skan 1274169691Skan * testsuite/27_io/istream_extractor_char.cc: More. 1275169691Skan * testsuite/21_strings/inserters_extractors.cc (test01): Fix logic 1276169691Skan error in testsuite construction. 1277169691Skan 1278169691Skan * bits/std_istream.h: Partially revert. 1279169691Skan * bits/std_ostream.h: Same. 1280169691Skan * bits/std_sstream.h: Revert. 1281169691Skan 1282169691Skan1999-07-26 Benjamin Kosnik <bkoz@cygnus.com> 1283169691Skan 1284169691Skan * bits/std_sstream.h: Change initialization. 1285169691Skan * bits/std_ostream.h: Make default ctor/assign/operator= private. 1286169691Skan * bits/std_istream.h: Same, also correct sentry args. 1287169691Skan * bits/istream.tcc: Add correct sentry args. 1288169691Skan 1289169691Skan * testsuite/27_io/istream_extractor_char.cc: New file. 1290169691Skan * testsuite/27_io/istream_extractor_arith.cc: New file, old file, 1291169691Skan name changes making me dizzy. 1292169691Skan 1293169691Skan1999-07-26 Ulrich Drepper <drepper@happy.cygnus.com> 1294169691Skan Benjamin Kosnik <bkoz@cygnus.com> 1295169691Skan 1296169691Skan * aclocal.m4, config.guess, config.sub, ltconfig ltmain.sh: Update 1297169691Skan to libtool 1.3.3. 1298169691Skan 1299169691Skan1999-07-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> 1300169691Skan 1301169691Skan * bits/std_complex.h: Tweak. Make the primary template class 1302169691Skan complex work with user-defined numerical types. Provide member 1303169691Skan definitions. Restructure. 1304169691Skan (class complex<float>): Uglify. Remove __value(). Rename __val 1305169691Skan to _M_value. Rename __complex_value_type to _ComplexT. Make it 1306169691Skan private. Remove dependency on __value(). Fix various explicit 1307169691Skan specialization syntax. Declare a some functions friend. Now the 1308169691Skan implementation is nearly comforming. 1309169691Skan (class complex<double>): Likewise. 1310169691Skan (class complex<long double>): Likewise. 1311169691Skan 1312169691Skan * src/complex.cc: Tweak. Remove dependency on complex::__value(). 1313169691Skan (sin, sinh, tan, than): Fix call to corresponding C9x function 1314169691Skan syntax. 1315169691Skan 1316169691Skan1999-07-24 Benjamin Kosnik <bkoz@fidel.cygnus.com> 1317169691Skan 1318169691Skan * bits/istream.tcc (ws): Fix error with failbit being set. 1319169691Skan 1320169691Skan Disabled due to egcs/gcc-2_95 internal compiler errors. 1321169691Skan * src/Makefile.am (CXXFLAGS): Add -fsquangle -fhonor-std 1322169691Skan -fnew-exceptions. Compiling with namespaces enabled will now be 1323169691Skan the default. 1324169691Skan * mkcheck (CXX_FLAG): Same. 1325169691Skan * src/gen-c++config.cc (_GLIBCPP_USE_NAMESPACES): Yup. New macro. 1326169691Skan * bits/std_cctype.h: Not enough to just define in namespace std if 1327169691Skan ctype-isms are macros. Need to also define in namespace std:: if 1328169691Skan the C functions are just plain functions. 1329169691Skan 1330169691Skan * src/gen-num-limits.cc: Fix spelling inconsistencies. 1331169691Skan 1332169691Skan1999-07-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> 1333169691Skan 1334169691Skan * docs/18_support/howto.html: Start documentation. Need to keep 1335169691Skan track of the ongoing discussion in th LWG reflector. 1336169691Skan 1337169691Skan * src/gen-num-limits.cc: Tweak. 1338169691Skan (class predicate): New class. 1339169691Skan (class value): Likewise. 1340169691Skan Make the whole machinery more flexible. Add comments. 1341169691Skan 1342169691Skan1999-07-23 Benjamin Kosnik <bkoz@fidel.cygnus.com> 1343169691Skan 1344169691Skan * bits/ios_base.h: Move state/exception functions into basic_ios. 1345169691Skan * bits/basic_ios.h: Same. 1346169691Skan * src/ios.cc: And here. Callbacks don't attempt to reset 1347169691Skan state now. 1348169691Skan 1349169691Skan * bits/std_streambuf.h: Separate ios and streambuf locale data 1350169691Skan members and cached facets. Using this convention: _M_locale_buf for 1351169691Skan the streambuf-related classes, and _M_locale_ios for the ios 1352169691Skan hierarchy. 1353169691Skan * bits/fstream.tcc: And here. 1354169691Skan * bits/basic_ios.h: And here. Also, add cached ctype. 1355169691Skan * src/ios.cc: Ditto. 1356169691Skan * bits/ios_base.h: Ditto. 1357169691Skan * bits/std_istream.h: Use cached ctype facet. 1358169691Skan * docs/27_io/iostreams_hierarchy.pdf: Update for new data member 1359169691Skan arraignment. 1360169691Skan 1361169691Skan * testsuite/27_io/ios_ctor.cc: New file. 1362169691Skan * src/ios.cc: Move _M_state init to basic_ios::init(). 1363169691Skan * bits/basic_ios.h: To here. 1364169691Skan 1365169691Skan Attempt for some consistency in naming for testsuite/27_io/*.cc. 1366169691Skan * testsuite/27_io/boolfmt.cc: Rename to stdios_fmtflags_manip.cc 1367169691Skan * testsuite/27_io/octfmt.cc: Rename to stdios_basefield_manip.cc 1368169691Skan * testsuite/27_io/istream_manip.cc: Rename to istringstream_manip.cc. 1369169691Skan * testsuite/27_io/ostream_manip.cc: Rename to ostringstream_manip.cc. 1370169691Skan 1371169691Skan1999-07-22 Benjamin Kosnik <bkoz@fidel.cygnus.com> 1372169691Skan 1373169691Skan * src/ios.cc: Tweak initializations of standard iostream 1374169691Skan objects to closely match the standard. Tie cin/wcin, set flags on 1375169691Skan cerr/wcerr 1376169691Skan * bits/char_traits.h: Change from size_t to int_type, as per 1377169691Skan standard. As per wide streams. 1378169691Skan * bits/basic_ios.h: Infect with __ctype_type, as a preparation 1379169691Skan for caching a bunch of ctype info. For instance, ctype_base::space 1380169691Skan info needs to be stored somewhere, somehow. 1381169691Skan * bits/std_istream.h: Also here. 1382169691Skan * bits/std_ostream.h: Ditto. 1383169691Skan * bits/std_istream.h (operator>>(istream, char): Aggh. Fixup. 1384169691Skan * testsuite/27_io/iostream_objects.cacc (test01): Oh yeah. Fix 1385169691Skan stream states. 1386169691Skan 1387169691Skan * bits/istream.tcc (ws): Fix. 1388169691Skan * testsuite/27_io/istream_manip.cc: New file, test ws. 1389169691Skan * testsuite/27_io/ostream_manip.cc: New file, test endl, ends, flush. 1390169691Skan 1391169691Skan * bits/basic_string.h: Provide a specialized member function for 1392169691Skan _S_find<char> using strchr. 1393169691Skan * src/string-inst.cc: Put specializations here. 1394169691Skan * bits/string.tcc: Small fix for find, remove typo. 1395169691Skan * testsuite/21_strings/find.cc (test01): Add tests to catch this 1396169691Skan find bug. . . 1397169691Skan 1398169691Skan1999-07-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com> 1399169691Skan 1400169691Skan * bits/basic_ios.h: Put into basic_ios namespace. 1401169691Skan Tweak widen/narrow. 1402169691Skan 1403169691Skan1999-07-19 Benjamin Kosnik <bkoz@decepticon.cygnus.com> 1404169691Skan 1405169691Skan * bits/std_sstream.h (stringbuf::sync): Change to _M_really_sync, 1406169691Skan adjust _M_*_cur pointers inside the function, so callee doesn't 1407169691Skan have to adjust. 1408169691Skan * bits/sstream.tcc (stringbuf::overflow): Tweak. 1409169691Skan 1410169691Skan * mkcheck: Tweak. Add execution time field, even though it is not 1411169691Skan implemented yet. Simplify pass/fail status notation. 1412169691Skan 1413169691Skan1999-07-18 Mumit Khan <khan@xraylith.wisc.edu> 1414169691Skan 1415169691Skan * configure.in: Check for float.h and underscored version of 1416169691Skan math functions. 1417169691Skan * acconfig.h: Add @BOTTOM@ section for handling underscored 1418169691Skan math functions. 1419169691Skan * configure: Regenerate. 1420169691Skan * config.h.in: Regenerate. 1421169691Skan * math/mathconf.h (float.h): Include conditionally. 1422169691Skan (M_PI): Define conditionally. 1423169691Skan (INFINITE_P): Define for Mingw. 1424169691Skan * bits/locale_facets.tcc: Workaround for compiler crash on 1425169691Skan ix86-*-mingw32. 1426169691Skan * bits/std_cwchar.h (bits/std_cstddef.h): Include. 1427169691Skan * src/locale.cc (bits/std_istream.h): Include. 1428169691Skan (bits/std_ostream.h): Likewise. 1429169691Skan 1430169691Skan1999-07-18 Phil Edwards <pedwards@ball.com> 1431169691Skan 1432169691Skan * docs/faq/index.html: Updated __black_count notes, fixed typos. 1433169691Skan * docs/faq/index.txt: Regenerated. 1434169691Skan 1435169691Skan1999-07-15 Benjamin Kosnik <bkoz@decepticon.cygnus.com> 1436169691Skan 1437169691Skan * testsuite/27_io/stringbuf.cc: Cccchanges, latent bugs. 1438169691Skan 1439169691Skan * bits/sstream.tcc (stringbuf::overflow): Modify accounting of 1440169691Skan newly-allocated buffer. 1441169691Skan * bits/streambuf.tcc (streambuf::xsgetn): Aaaaaah. Fix final 1442169691Skan overflow condition bits. 1443169691Skan 1444169691Skan1999-07-14 Benjamin Kosnik <bkoz@cygnus.com> 1445169691Skan 1446169691Skan * bits/std_sstream.h (stringbuf::_M_init_stringbuf): Set 1447169691Skan _M_buf_size to initial _M_string.size(), even though for 1448169691Skan ostringstreams it is pretty pointless. It's necessary for 1449169691Skan istringstreams. 1450169691Skan (stringbuf::str()): Adjust. 1451169691Skan (stringbuf::str()): Adjust, call _M_init_stringbuf. 1452169691Skan * bits/streambuf.tcc (streambuf::xsgetn): Adjust return value for 1453169691Skan overflow's possible success. 1454169691Skan (streambuf::xsputn): Adjust. 1455169691Skan 1456169691Skan * testsuite/27_io/filebuf.cc: Adjust for the xsgetn re-write from 1457169691Skan yesterday. 1458169691Skan * testsuite/27_io/stringbuf.cc: Tweak. 1459169691Skan * testsuite/21_strings/inserters_extractors.cc (test01): Remove 1460169691Skan notes to myself. 1461169691Skan * testsuite/23_containers/vector_cons.cc: Rename to be consistent 1462169691Skan with other constructor tests to. . . 1463169691Skan * testsuite/23_containers/vector_ctor.cc: New file. 1464169691Skan 1465169691Skan1999-07-14 Alfred Minarik <a8601248@unet.univie.ac.at> 1466169691Skan 1467169691Skan * testsuite/*: Changes to make the testsuit compilable with 1468169691Skan -fhonor-std. Contains direct qualification of library names with 1469169691Skan std::. 1470169691Skan 1471169691Skan1999-07-13 Benjamin Kosnik <bkoz@decepticon.cygnus.com> 1472169691Skan 1473169691Skan * bits/streambuf.tcc: Tweaks. 1474169691Skan (streambuf::xsputn): Optimize, fix for sstreams. 1475169691Skan (streambuf::xsgetn): Same. 1476169691Skan * bits/sstream.tcc (stringbuf::overflow): Adjust _M_buf_size 1477169691Skan correctly, handle overflow/reallocate conditions correctly. 1478169691Skan * bits/std_sstream.h: Fix typo. 1479169691Skan _M_init_stringbuf(): Fix _M_buf_size initialization. 1480169691Skan (stringbuf::str()): Construct return string if output has occurred. 1481169691Skan 1482169691Skan * bits/basic_string.h: Fix typo from yesterday's patch. 1483169691Skan 1484169691Skan1999-07-12 Ryszard Kabatek <kabatek@chemie.uni-halle.de> 1485169691Skan 1486169691Skan * bits/string.tcc: _M_mutate - clear _M_state again. 1487169691Skan * bits/basic_string.h: In the three functions that return 1488169691Skan an iterator set _M_state to -1 before return. 1489169691Skan Also optimized two cases of operator+. 1490169691Skan 1491169691Skan1999-07-12 Phil Edwards <pedwards@ball.com> 1492169691Skan 1493169691Skan * docs/index.html: Expand egcs-1.1.2 notes/links. 1494169691Skan * docs/faq/index.html: And here. Add links to LWG issues-list. 1495169691Skan * docs/faq/index.txt: Regenerate. (lynx rocks) 1496169691Skan * docs/21_strings/howto.html: Fix notes on case conversion. 1497169691Skan * docs/21_strings/stringtok_h.txt: Goodly spelling... 1498169691Skan * docs/23_containers/howto.html: Stub for bitmasks. 1499169691Skan * docs/27_io/howto.html: Add section on buffering, stub binary. 1500169691Skan 1501169691Skan1999-07-12 Nathan Myers <ncm@cantrip.org> 1502169691Skan 1503169691Skan * stl/bits/stl_tree.h (__black_count): Optimize. 1504169691Skan 1505169691Skan1999-07-09 Vadim Egorov <egorovv@1c.ru> 1506169691Skan 1507169691Skan * src/basic_file.cc: Cleanup in __basic_file destructor. 1508169691Skan 1509169691Skan1999-07-08 Benjamin Kosnik <bkoz@cygnus.com> 1510169691Skan 1511169691Skan * bits/std_streambuf.h: Changes. . . 1512169691Skan * bits/streambuf.tcc: Merge xsputn from filebuf into xsputn in 1513169691Skan basic_streambuf, to be used for both filebufs and streambufs. 1514169691Skan * bits/std_fstream.h (_M_init_filebuf): New function. 1515169691Skan Take out specialized xsputn, put into basic_streambuf. 1516169691Skan * bits/fstream.tcc: Define, call from both ctors. 1517169691Skan * bits/std_sstream.h (_M_init_stringbuf): New function. 1518169691Skan * bits/sstream.tcc: Tweak. 1519169691Skan 1520169691Skan * docs/27_io/iostreams_hierarchy.pdf: New file. 1521169691Skan 1522169691Skan * docs/17_intro/CHECKLIST (basic_string<char>): Validation and 1523169691Skan acceptance. Wooo-hoo! 1524169691Skan 1525169691Skan * bits/char_traits.h: Change int_type for char_traits general 1526169691Skan template, so that 21_strings/capacity.cc will compile. 1527169691Skan * testsuite/21_strings/capacity.cc: Add operators. 1528169691Skan 1529169691Skan * bits/string.tcc (string::compare): Clean up, re-implement. 1530169691Skan * testsuite/21_strings/compare.cc: Tweak. 1531169691Skan 1532169691Skan * bits/string.tcc (string:_M_mutate): Keep leaked value in 1533169691Skan _M_state, which means that whenever begin() or end() has been 1534169691Skan called, the string is unshareable, period. By doing this, insert 1535169691Skan and erase member functions that return iterators can remain 1536169691Skan footloose and fancy free. 1537169691Skan * testsuite/21_strings/invariants.cc: Update. 1538169691Skan 1539169691Skan * bits/basic_string.h (string::append): Fix self-referential 1540169691Skan problems, ie when "this" is also an argument to a member function. 1541169691Skan * bits/string.tcc: Tweak, same. 1542169691Skan * testsuite/21_strings/append.cc: New file. 1543169691Skan 1544169691Skan1999-07-07 Benjamin Kosnik <bkoz@cygnus.com> 1545169691Skan 1546169691Skan * bits/char_traits.h: Tweaks. 1547169691Skan * bits/basic_string.h: Tweak. 1548169691Skan * bits/fstream.tcc: Remove warning for _M_buf_size assignment. 1549169691Skan 1550169691Skan1999-07-06 Benjamin Kosnik <bkoz@cygnus.com> 1551169691Skan 1552169691Skan * bits/std_streambuf.h: Absorb/acquire data members previously 1553169691Skan working in basic_filebuf. 1554169691Skan * bits/streambuf.tcc: Tweaks. 1555169691Skan * bits/fstream.tcc: Adjust. 1556169691Skan * bits/std_fstream.h: Move and rename the following functions: 1557169691Skan _M_set_ideterminate, _M_is_indeterminate, _M_set_determinate are 1558169691Skan now declared and defined in the base class, basic_streambuf. Oh 1559169691Skan fuck it, move data members _M_buf, and _M_buf_size into 1560169691Skan basic_streambuf as well. 1561169691Skan 1562169691Skan * bits/ostream.tcc: Tweak. 1563169691Skan * bits/locale_facets.tcc: Fix typo in comments. 1564169691Skan 1565169691Skan * testsuite/21_strings/inserters_extractors.cc (test01): Change 1566169691Skan state from good to not good, as eof() is set. 1567169691Skan 1568169691Skan1999-07-05 Benjamin Kosnik <bkoz@cygnus.com> 1569169691Skan 1570169691Skan * bits/char_traits.h (char_traits::compare). Fix. 1571169691Skan 1572169691Skan * config.guess, config.sub: Update. 1573169691Skan 1574169691Skan1999-07-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de> 1575169691Skan 1576169691Skan * bits/string.tcc: Check the __res_arg for a length error. 1577169691Skan 1578169691Skan1999-07-01 Benjamin Kosnik <bkoz@nabi.net> 1579169691Skan 1580169691Skan * bits/std_streambuf.h: Tweaks. Need to move _M_is_indeterminate 1581169691Skan and related functions into basic_streambuf, from basic_filebuf to 1582169691Skan take care of ostringstreams and empty strings. So that's groovy, 1583169691Skan or will be groovy. 1584169691Skan * bits/std_istream.h: Tweaks. 1585169691Skan * bits/istream.tcc: Implement ws, getline, operator>> for string. 1586169691Skan * bits/std_ostream.h: And here. 1587169691Skan * bits/ostream.tcc: Same. 1588169691Skan * src/misc-inst.cc: Add instantiations for ws. 1589169691Skan 1590169691Skan * src/string-inst.cc: Add instantiations for inserters and 1591169691Skan extractors (operators << and >>, getline). 1592169691Skan 1593169691Skan * testsuite/21_strings/inserters_extractors.cc: Amazingly enough, 1594169691Skan a testcase for getline and operators << and >>. Ostream tests are 1595169691Skan failing right now, but istream tests should work. . . 1596169691Skan 1597169691Skan * bits/string.tcc: Change _S_max_size, as GNU malloc won't budge. 1598169691Skan * bits/std_sstream.h: Revert. 1599169691Skan 1600169691Skan * testsuite/17_intro: header_[iosfwd, ios, iostream, iomanip, 1601169691Skan istream, ostream, streambuf, fstream, sstream].cc: New files. 1602169691Skan 1603169691Skan1999-06-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de> 1604169691Skan 1605169691Skan * bits/std_sstream.h (stringbuf::sync): Don't use string::begin() 1606169691Skan and string::end(). 1607169691Skan 1608169691Skan * bits/basic_string.h (basic_string<>::_S_copy_chars): Add 1609169691Skan specializations for _CharT*, iterator and const_iterator. 1610169691Skan * src/string-inst.cc: Remove explicit instantiation, as 1611169691Skan now explicitly specialized. 1612169691Skan 1613169691Skan * bits/basic_string.h: Add a size_type parameter to _M_clone with 1614169691Skan a default value set to 0. 1615169691Skan * bits/string.tcc: In _M_clone by the call of _S_create add the 1616169691Skan value of the new parameter to _M_length. In reserve check 1617169691Skan _M_state and use _M_clone instead of _M_mutate. 1618169691Skan 1619169691Skan1999-06-30 Benjamin Kosnik <bkoz@happy.cygnus.com> 1620169691Skan 1621169691Skan * bits/basic_string.h: Fix _S_max_size. 1622169691Skan * bits/string.tcc: Add def here. 1623169691Skan * testsuite/21_strings/insert.cc: Fix. 1624169691Skan 1625169691Skan * bits/sbuf_iter.h: Remove detritus. 1626169691Skan * testsuite/24_iterators/istreambuf_iterator.cc: Add tests. 1627169691Skan 1628169691Skan * src/locale-inst.cc: Elaborate iterator/locale instantiations 1629169691Skan to resolve alpha-osf4 build problems. 1630169691Skan 1631169691Skan1999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com> 1632169691Skan 1633169691Skan * bits/string.tcc: Fix signed/unsigned issues in compares. 1634169691Skan * stl/bits/stl_deque.h: And here. 1635169691Skan * stl/bits/stl_string_fwd.h: Remove __get_c_string. 1636169691Skan 1637169691Skan1999-06-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de> 1638169691Skan 1639169691Skan * bits/string.tcc: New implementation and interface of _M_mutate. 1640169691Skan Adapt the change in all functions that call _M_mutate. 1641169691Skan * bits/basic_string.h: And here. 1642169691Skan 1643169691Skan1999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com> 1644169691Skan 1645169691Skan * testsuite/21_strings/capacity.cc (test01): Fix. 1646169691Skan 1647169691Skan1999-06-29 Phil Edwards <pedwards@ball.com> 1648169691Skan 1649169691Skan * mknumeric_limits: Exit script if gen-num-limits isn't built. 1650169691Skan 1651169691Skan1999-06-29 Andreas Gruenbacher <agruenba@pent224.infosys.tuwien.ac.at> 1652169691Skan 1653169691Skan * stl/bits/stl_vector.h: Fix. 1654169691Skan * testsuite/23_containers/vector_cons.cc: Add. 1655169691Skan 1656169691Skan1999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> 1657169691Skan 1658169691Skan * mknumeric_limits (LDFLAGS): fix. 1659169691Skan 1660169691Skan1999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> 1661169691Skan 1662169691Skan * mknumeric_limits (LDFLAGS): set it according to the system. 1663169691Skan 1664169691Skan * math/mathconf.h (NAN): Check whether host is running under 1665169691Skan Cygwin and make the appropriate definition. 1666169691Skan * math/complex-stub.h (nan): protect declaration. 1667169691Skan 1668169691Skan1999-06-28 Benjamin Kosnik <bkoz@haight.constant.com> 1669169691Skan 1670169691Skan * bits/sbuf_iter.h: Rename internal data structure to prevent 1671169691Skan confusion between basic_ios and istreambuf_iterators internal 1672169691Skan basic_streambuf data member. 1673169691Skan * testsuite/24_iterators/istreambuf_iterator.cc: New file. 1674169691Skan 1675169691Skan * bits/basic_string.h: Remove conditionals, add input_iterator 1676169691Skan version of S_construct again. 1677169691Skan * bits/string.tcc: Same. 1678169691Skan * src/string-inst.cc: And add explicit instantiation here. 1679169691Skan 1680169691Skan * src/gen-c++config.cc (_GNU_SOURCE): Take out both _GNU_SOURCE 1681169691Skan and __USE_GNU macro defines, as single __USE_GNU use leading to 1682169691Skan confusion on glibc2.1 systems (ie, RedHat 6.0). 1683169691Skan 1684169691Skan * src/Makefile.am (headers): Add std_utility to installed headers. 1685169691Skan 1686169691Skan1999-06-25 John Potter <jpotter@eagle.lhup.edu> 1687169691Skan 1688169691Skan * stl/bits/stl_tree.h (insert_unique): Revert, just fix insert_equal. 1689169691Skan 1690169691Skan1999-06-25 Gilles Zunino <Gilles.Zunino@hei.fr> 1691169691Skan 1692169691Skan * mknumeric_limits (LDFLAGS): Swap -lc and -lgcc. 1693169691Skan 1694169691Skan1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com> 1695169691Skan 1696169691Skan * src/gen-c++config.cc (_GLIBCPP_*): Change all 1697169691Skan macros to include _GLIBCPP as a distinct namespace. 1698169691Skan * bits/*: And here. 1699169691Skan * src/*: And here. 1700169691Skan 1701169691Skan * stl/bits/std_stdexcept.h: Forward-declare __Named_exception ctor. 1702169691Skan * bits/basic_string.h: Remove __get_c_string. 1703169691Skan * src/stdexcept.cc: Define ctor here. 1704169691Skan * bits/ios_base.h: And fix ios_base::failure as well. 1705169691Skan * src/ios.cc: Define here. 1706169691Skan 1707169691Skan * bits/std_streambuf.h: Add a private copy ctor and assignment 1708169691Skan operator wrapped in _G_RESOLVE_LIB_DEFECTS. 1709169691Skan * bits/ios_base.h: And here too. 1710169691Skan 1711169691Skan * bits/basic_string.h: Tweak. 1712169691Skan * testsuite/21_strings/nonmember.cc: Add operator+ tests. 1713169691Skan 1714169691Skan * src/valarray.cc: Rename to. . . 1715169691Skan * src/valarray-inst.cc: This. 1716169691Skan * src/Makefile.am (sources): Change here. 1717169691Skan * src/Makefile.in: Regenerated. 1718169691Skan 1719169691Skan1999-06-24 Vadim Egorov <egorovv@1c.ru> 1720169691Skan 1721169691Skan * bits/string.tcc(basic_string<>::_Rep::_S_create): Fixed 1722169691Skan allocated size 1723169691Skan 1724169691Skan1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com> 1725169691Skan Tom Tromey <tromey@cygnus.com> 1726169691Skan 1727169691Skan * configure.in (use_glibc2): Eek, correct for non-glibc systems. 1728169691Skan Use AM_CONDITIONAL to get us out of this jam. . 1729169691Skan * libio/Makefile.am: Same. 1730169691Skan * */Makefile: Regenerated. 1731169691Skan 1732169691Skan1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com> 1733169691Skan John Potter <jpotter@eagle.lhup.edu> 1734169691Skan 1735169691Skan * stl/bits/stl_tree.h (insert_equal): Fix. 1736169691Skan * testsuite/23_containers/multiset.cc: New file. 1737169691Skan 1738169691Skan1999-06-23 Benjamin Kosnik <bkoz@cygnus.com> 1739169691Skan 1740169691Skan * configure.in (test for glibc2): Correct AC_TRY_COMPILE so that 1741169691Skan this works correctly on glibc-2 systems. This should allow 1742169691Skan simplified linking on these systems, and successful linking on Red 1743169691Skan Hat 6.0 systems. 1744169691Skan * configure, Makefile: Regenerate. 1745169691Skan 1746169691Skan * bits/std_cwctype.h: Add missing 'w' to _S_iswpunct_helper name. 1747169691Skan 1748169691Skan * testsuite/ext: New directory. 1749169691Skan * testsuite/ext/headers.cc: New file. 1750169691Skan 1751169691Skan1999-06-23 Vadim Egorov <egorovv@1c.ru> 1752169691Skan 1753169691Skan * stl/ext/hash_set: include missing headers 1754169691Skan * stl/ext/hash_map: Same 1755169691Skan * stl/ext/slist: Same 1756169691Skan 1757169691Skan1999-06-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> 1758169691Skan 1759169691Skan * bits/std_cmath.h: comment out modf. Kills build on hpux10.20 1760169691Skan 1761169691Skan1999-06-15 Benjamin Kosnik <bkoz@cygnus.com> 1762169691Skan 1763169691Skan * src/Makefile.am (sources): Regenerate. 1764169691Skan * mkcheck: Add TESTS_FILE as a way of controlling what testcases 1765169691Skan are run. 1766169691Skan 1767169691Skan1999-06-14 Benjamin Kosnik <bkoz@cygnus.com> 1768169691Skan 1769169691Skan * src/string-inst.cc: Change _S_construct signature, to 1770169691Skan track requested allocation size versus valid input iterator range. 1771169691Skan * bits/basic_string.h: Here too. 1772169691Skan * bits/string.tcc: And here. 1773169691Skan 1774169691Skan1999-06-12 Benjamin Kosnik <bkoz@cygnus.com> 1775169691Skan 1776169691Skan * mkcheck (LOG_FILE): Correctly append errors. 1777169691Skan 1778169691Skan * stl/bits/stl_iterator.h: Revert previous, delirious, change. 1779169691Skan 1780169691Skan * bits/basic_string.h: Change _Rep::_M_data to _Rep::_M_refdata, 1781169691Skan to clarify differences between basic_string::_M_data() calls and 1782169691Skan _Rep::_M_data() calls. 1783169691Skan * bits/std_string.h: Fix. 1784169691Skan Put in check for out_of_range in substr. 1785169691Skan * bits/string.tcc: Fix for _S_find. 1786169691Skan 1787169691Skan * testsuite/21_strings/compare.cc: Add tests. 1788169691Skan * testsuite/21_strings/find.cc: New file. 1789169691Skan * testsuite/21_strings/substr: New file. 1790169691Skan * testsuite/21_strings/replace.cc: New file. 1791169691Skan 1792169691Skan1999-06-11 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> 1793169691Skan 1794169691Skan * bits/valarray_array.h: __restrict__ify pointers. 1795169691Skan 1796169691Skan * bits/std_valarray.h: Tweak. 1797169691Skan (valarray<T>::cshift, valarray<T>::shift): use __builtin_alloca. 1798169691Skan 1799169691Skan * bits/gslice_array.h: Tweak. Reflect changes in bits/gslice.h 1800169691Skan 1801169691Skan * bits/gslice.h: Tweak. 1802169691Skan (class gslice::_Indexer): new class. 1803169691Skan (gslice::gslice(const gslice&)): implement copy-ctor to support 1804169691Skan ref-counted index. 1805169691Skan (gslice::operator=(const gslice&)): support ref-counted index. 1806169691Skan (gslice::_M_convert_to_index): delete. 1807169691Skan 1808169691Skan * src/valarray.cc: New file. 1809169691Skan (__gslice_to_index): turn a gslice into a valarray<size_t> 1810169691Skan (ctor gslice::_Indexer::_Indexer): implement. 1811169691Skan 1812169691Skan * src/Makefile.am (sources): add valarray.cc 1813169691Skan * src/Makefile.in: regenerate. 1814169691Skan 1815169691Skan1999-06-08 Benjamin Kosnik <bkoz@cygnus.com> 1816169691Skan 1817169691Skan * stl/bits/stl_iterator.h (__normal_iterator::const_iterator 1818169691Skan ctor): Put in a const_cast. 1819169691Skan 1820169691Skan * testsuite/21_strings/invariants.cc: New file. 1821169691Skan 1822169691Skan * testsuite/21_strings/insert.cc: Add exception handling bits. 1823169691Skan * testsuite/21_strings/ctor_copy_dtor.cc: Same. 1824169691Skan 1825169691Skan * src/wstring-inst.cc: Add c++config.h include. 1826169691Skan 1827169691Skan * bits/basic_string.h: Fix const operator[] for size == pos. 1828169691Skan Add _M_leak for rbegin, non-const. 1829169691Skan Add _M_leak for rend, non-const. 1830169691Skan Make member function at standards conformant. 1831169691Skan Add _S_terminal to _Rep for operator[] const, add this into 1832169691Skan c_str() as well. 1833169691Skan * bits/string.tcc: Add static member definition here, 1834169691Skan temporarily. 1835169691Skan 1836169691Skan * testsuite/21_strings/element_access.cc: Add tests. 1837169691Skan 1838169691Skan1999-06-08 Vadim Egorov <egorovv@1c.ru> 1839169691Skan 1840169691Skan * bits/fstream.tcc (_M_really_overflow): Fixed size of 1841169691Skan conversion buffer. 1842169691Skan 1843169691Skan1999-06-08 Phil Edwards <pedwards@ball.com> 1844169691Skan 1845169691Skan * bits/fstream.tcc (basic_filebuf::xsputn): Fix off-by-one count 1846169691Skan caused when __testinit is true. 1847169691Skan * bits/ostream.tcc (basic_ostream::op<<(streambuf*)): Write buffer 1848169691Skan using rdbuf()->sputn rather than _M_fnumput->put. 1849169691Skan 1850169691Skan1999-06-08 Benjamin Kosnik <bkoz@tintin.cygnus.com> 1851169691Skan 1852169691Skan * testsuite/23_containers/bitset_ctor.cc: New file. 1853169691Skan * stl/bits/std_bitset.h (__BITSET_WORDS): Fix integration bug. 1854169691Skan 1855169691Skan1999-06-08 Phil Edwards <pedwards@ball.com> 1856169691Skan 1857169691Skan * bits/fstream.tcc (basic_filebuf::underflow): Fix, rename local vars. 1858169691Skan 1859169691Skan1999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com> 1860169691Skan 1861169691Skan * testsuite/21_strings/element_access.cc: Finish off these tests. 1862169691Skan * testsuite/21_strings/insert.cc (test01): Uncomment. 1863169691Skan * testsuite/21_strings/ctor_copy_dtor.cc (test01): Finish off ctors. 1864169691Skan * bits/basic_string.h: Tweak, okay, fix for real this time. 1865169691Skan * bits/string.tcc: Same. 1866169691Skan * bits/char_traits.h: Tweak. 1867169691Skan 1868169691Skan1999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com> 1869169691Skan 1870169691Skan * bits/std_cmath.h: Example of how to use the generated macro. 1871169691Skan * acconfig.h: Add macro for sinf here. 1872169691Skan * configure.in (LIBS): Add test for builtin math function sinf. 1873169691Skan * configure: Regenerated. 1874169691Skan 1875169691Skan * bits/basic_string.h: Fix _S_max_size. 1876169691Skan 1877169691Skan1999-06-06 Benjamin Kosnik <bkoz@tintin.cygnus.com> 1878169691Skan 1879169691Skan * bits/basic_string.h: Fixes for out-of-memory segv for large strings. 1880169691Skan Remove _S_construct signature for forward_iterator_tag and 1881169691Skan input_iterator_tag. 1882169691Skan Clean _M_fold. 1883169691Skan * src/string-inst.cc: Same, tweaks. 1884169691Skan * bits/string.tcc: Same, tweaks. 1885169691Skan 1886169691Skan * testsuite/21_strings/ctor_copy_dtor.cc: Add/clarify tests. 1887169691Skan * mkcheck (LOG_FILE): Fix filebuf-[2,3].tst checks. 1888169691Skan * mknumeric_limits (LD_FLAGS): Add -nodefaultlibs -lc -lgcc as per 1889169691Skan Gaby. 1890169691Skan 1891169691Skan * src/locale.cc: Final separation for char/wchar_t bits. 1892169691Skan 1893169691Skan1999-06-05 Phil Edwards <pedwards@ball.com> 1894169691Skan 1895169691Skan * docs/index.html: Added link to book upon request'n'agreement. 1896169691Skan * docs/23_containers/wrappers_h.txt: Added. 1897169691Skan * docs/{23_containers,27_io}/howto.html: Added sections. 1898169691Skan 1899169691Skan * bits/std_fstream.h: Tweak. 1900169691Skan 1901169691Skan1999-06-05 Benjamin Kosnik <bkoz@tintin.cygnus.com> 1902169691Skan 1903169691Skan * src/ios.cc: Same here. 1904169691Skan * bits/std_iosfwd.h: More wchar_t defines. 1905169691Skan 1906169691Skan * bits/basic_string.h: Tweaks. 1907169691Skan * bits/string.tcc: Tweak. Fix _S_construct to check for max_size 1908169691Skan when doing error checking, as per LWG defect #83. 1909169691Skan 1910169691Skan * src/gen-c++config.cc: Fix comment. 1911169691Skan 1912169691Skan * testsuite/21_strings/ctor_copy_dtor.cc: New file, checks ctors, 1913169691Skan assignments, dtors. 1914169691Skan * testsuite/21_strings/element_access.cc: New file, checks for 1915169691Skan operator[], at(...). 1916169691Skan * testsuite/21_strings/insert.cc: New file, tests string::insert. 1917169691Skan * testsuite/21_strings/char_traits.cc: New file, tests 1918169691Skan for char_traits<char>. 1919169691Skan 1920169691Skan * bits/utility.h: Remove, again. 1921169691Skan * src/Makefile.am (std_headers): Remove utility.h. 1922169691Skan * src/Makefile.in (std_headers): Regenerate. 1923169691Skan 1924169691Skan Alfred Minarik <a8601248@unet.univie.ac.at> 1925169691Skan * bits/basic_string.h: Move __out_of_range and __length_error into 1926169691Skan namespace std. 1927169691Skan 1928169691Skan1999-06-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> 1929169691Skan 1930169691Skan * testsuite/26_numerics/modf_float.cc: New file. 1931169691Skan 1932169691Skan * bits/std_cmath.h (modf(float, float*)): Fix signature. Correct 1933169691Skan typo: use ::modff, not ::modf. 1934169691Skan 1935169691Skan1999-06-03 Vadim Egorov <egorovv@1c.ru> 1936169691Skan 1937169691Skan * bits/string.tcc (basic_string::_M_mutate): Fixed memory 1938169691Skan allocation error 1939169691Skan * testsuite/21_strings/capacity.cc (test01): Test. 1940169691Skan 1941169691Skan1999-06-03 Phil Edwards <pedwards@ball.com> 1942169691Skan 1943169691Skan * bits/fstream.tcc: Re-order inits to stop warnings. Comment/move 1944169691Skan unused variables to within #if 0 blocks to do the same. 1945169691Skan * bits/std_fstream.h: Fix typos (one prevents compilation). 1946169691Skan 1947169691Skan1999-06-03 Benjamin Kosnik <bkoz@pacifica.cygnus.com> 1948169691Skan 1949169691Skan * src/wstring-inst.cc: Fix. 1950169691Skan 1951169691Skan1999-06-02 Benjamin Kosnik <bkoz@madcow.cygnus.com> 1952169691Skan 1953169691Skan * bits/char_traits.h: Add _G_USE_WCHAR_T macro guards. 1954169691Skan * stl/bits/stl_string_fwd.h: Same. 1955169691Skan * bits/locale_facets.h: Same. 1956169691Skan * bits/locale_facets.tcc: Same. 1957169691Skan * src/wstring-inst.cc: And here. 1958169691Skan 1959169691Skan * src/gen-c++config.cc: Comment _G_USE_WCHAR_T. Leading to 1960169691Skan problems on HPUX 10.20. 1961169691Skan * your-build-directory-here/bits/c++config.h: Just kidding, do it 1962169691Skan here as a temporary hack till the compiler/host problems get 1963169691Skan worked out. 1964169691Skan 1965169691Skan * bits/locale_facets.tcc (num_get::do_get): Change from ifdef 1966169691Skan HAVE_STRTOLD to HAVE_STRTOLD && !(__hpux). Apparently, problems 1967169691Skan converting "long double" to struct long_double. Probably should be 1968169691Skan done with one macro (HAVE_STRTOLD) at configure time. 1969169691Skan 1970169691Skan * bits/std_cmath.h: Comment out pow(double, int) definition as 1971169691Skan gives re-declaration under hpux10.20. Revert previous change, as 1972169691Skan kills linux/x86, solaris 2.7, hpux builds. These should be done 1973169691Skan using autoconf, see std_cctype.h and the solutions started in 1974169691Skan configure.in (see config.h for the generated file.) 1975169691Skan 1976169691Skan * mknumeric_limits (LDFLAGS): Remove '-nodefaultlibs -lc', as 1977169691Skan -nodefaultlibs prevents linking under HPUX 10.20 as __main is not 1978169691Skan defined. 1979169691Skan 1980169691Skan * docs/index.html: Add some useful links. 1981169691Skan * docs/17_intro/contribute.html: Fix broken links. 1982169691Skan 1983169691Skan1999-06-02 Benjamin Kosnik <bkoz@rhino.cygnus.com> 1984169691Skan 1985169691Skan * mkcheck (LOG_FILE): Add !/bin/bash instead of cygnus-style 1986169691Skan paths. The rest of the world should be able to run this script 1987169691Skan now. 1988169691Skan 1989169691Skan * src/Makefile.am ($(generated_headers)): Remove comment. 1990169691Skan * Makefile*: Regenerate. 1991169691Skan 1992169691Skan * bits/std_locale.h: Remove detritus. 1993169691Skan * bits/localefwd.h: Add <cctype> include to undefine the isspace 1994169691Skan macro. 1995169691Skan 1996169691Skan1999-06-01 Benjamin Kosnik <bkoz@tintin.cygnus.com> 1997169691Skan 1998169691Skan * src/gen-c++config.cc: New file. Making c++config.h at configure 1999169691Skan time by catting this file (nee bits/config.h) with the build 2000169691Skan directories config.h. This is not a complete or perfect solution 2001169691Skan but is better than what was in place previously. 2002169691Skan * bits/c++config.h: Rename/move to above. 2003169691Skan * src/Makefile.am (headers): Remove c++config.h. 2004169691Skan (myinstallheaders). Add. 2005169691Skan * Makefile*: Regenerated. 2006169691Skan 2007169691Skan * bits/std_cwchar.h: Add include of c++config.h for HAVE_* 2008169691Skan definitions, so that wmemcmp, wcslen, wmemchr, etc are properly 2009169691Skan declared only if not present in the host's wchar.h. 2010169691Skan 2011169691Skan * bits/locale_facets.tcc (std): Change _G_USE_STRTO* to HAVE_STRTO*. 2012169691Skan 2013169691Skan * bits/std_cmath.h: Define out, for the moment. Linux has no 2014169691Skan __buitin_fsqrtl? Probably need some kind of configure trickery 2015169691Skan here as well. 2016169691Skan 2017169691Skan * src/Makefile.*: Regenerate. 2018169691Skan * bits/c++config.h: Add config.h include. 2019169691Skan 2020169691Skan * bits/std_cwchar.h: Remove remaining #error guard. 2021169691Skan 2022169691Skan * acconfig.h: Add bits for HAVE_LC_MESSAGES. 2023169691Skan 2024169691Skan * configure.in (LIBS): Replace previous effort for mbstate_t and 2025169691Skan strtold/strtof with this implementation. 2026169691Skan 2027169691Skan1999 06-01 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> 2028169691Skan 2029169691Skan * bits/std_cmath.h: Tweak. Add more functions. Use __builtin_xxx 2030169691Skan whenever possible. 2031169691Skan 2032169691Skan1999-05-28 Benjamin Kosnik <bkoz@cygnus.com> 2033169691Skan 2034169691Skan * bits/locale_facets.tcc (std): Eek: this left in. Autoconf bits 2035169691Skan for determining mbstate_t differences across various hosts not 2036169691Skan finished. 2037169691Skan 2038169691Skan1999-05-26 Benjamin Kosnik <bkoz@nabi.net> 2039169691Skan 2040169691Skan * bits/locale_facets.tcc: Change to ifdef. 2041169691Skan 2042169691Skan * bits/std_sstream.h (stringbuf::setbuf): Remove dynamic_cast. 2043169691Skan * bits/std_fstream.h (filebuf::setbuf): Same. 2044169691Skan 2045169691Skan * bits/std_istream.h: Add ws declaration. 2046169691Skan * bits/istream.tcc: Stub out definition. 2047169691Skan 2048169691Skan * docs/index.html: Fix broken link for design.txt. 2049169691Skan 2050169691Skan * configure.in: Test for mbstate_t. If wchar.h doesn't have it, 2051169691Skan then set _G_NEED_MBSTATE_T. 2052169691Skan * configure: Regenerate. 2053169691Skan * bits/c++config.h: Move mbstate_t define. 2054169691Skan * bits/std_cwchar.h: To here. 2055169691Skan 2056169691Skan1999-05-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de> 2057169691Skan 2058169691Skan * bits/std_sstream.h: 2059169691Skan basic_stringbuf<>::basic_stringbuf: fix. 2060169691Skan basic_stringbuf<>::setbuf: 2061169691Skan remove the temporary __string_type object, 2062169691Skan remove the unnecessary dynymic_cast in the return value, 2063169691Skan change the type of the returned value from __streambuf_type* 2064169691Skan to basic_stringbuf<_CharT, _Traits, _Alloc>*. 2065169691Skan 2066169691Skan1999-05-25 Phil Edwards <pedwards@ball.com> 2067169691Skan 2068169691Skan * bits/std_streambuf.h (streambuf::setbuf): Always return streambuf*. 2069169691Skan 2070169691Skan1999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> 2071169691Skan 2072169691Skan * bits/std_cmath.h: Tweak. Add float versions of the math functions 2073169691Skan in <math.h>. <cmath> still incomplete and incorrekt. 2074169691Skan 2075169691Skan1999-05-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> 2076169691Skan 2077169691Skan * mknumeric_limits (LDFLAGS): set appropriate link flags. 2078169691Skan 2079169691Skan1999-05-23 Phil Edwards <pedwards@ball.com> 2080169691Skan 2081169691Skan * docs/17_intro/howto.html: Added links to text docs, 2082169691Skan e.g., BUGS. 2083169691Skan * docs/21_strings/howto.html: Updated sections and links. 2084169691Skan * docs/21_strings/{gotw29a.txt,stringtok_h.txt}: Added. 2085169691Skan * docs/faq/index.html: Updated what-works for sixth 2086169691Skan snapshot. Also a number of "internal" links have been 2087169691Skan fixed, now that the web pages are the docs directory... 2088169691Skan * docs/faq/index.txt: Regenerated. 2089169691Skan 2090169691Skan1999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com> 2091169691Skan 2092169691Skan * bits/basic_string.h: Add Nathan's documentation on the string class. 2093169691Skan 2094169691Skan * testsuite/27_io/ios_members_static.cc: New file, for testing 2095169691Skan ios_base::sync_with_stdio. 2096169691Skan 2097169691Skan1999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com> 2098169691Skan 2099169691Skan * bits/std_locale.h: Simplify includes. 2100169691Skan * bits/loccore.h: Delete. 2101169691Skan * bits/localefwd.h: Renamed, trimmed. 2102169691Skan * bits/locfacets.h: Delete. 2103169691Skan * bits/locale_facets.h: Rename, expanded. 2104169691Skan * bits/loccore.tcc: Deleted. 2105169691Skan * bits/locfacets.tcc: Deleted. 2106169691Skan * bits/locale_facets.tcc: Resultant merge. 2107169691Skan * bits/std_fstream.h: Modify include. 2108169691Skan * bits/ostream.tcc: Same. 2109169691Skan * bits/istream.tcc: Same. 2110169691Skan 2111169691Skan * src/locale-inst.cc: And here. 2112169691Skan * src/locale.cc: Ditto. 2113169691Skan * src/Makefile.am: Updated. 2114169691Skan * src/Makefile.in: Rengenerated. 2115169691Skan 2116169691Skan * bits/std_istream.h: Move istream::sentry ctor definition. 2117169691Skan * bits/istream.tcc: Move istream::sentry ctor here. 2118169691Skan Add more detailed locale include here for ctype member functions. 2119169691Skan * bits/ostream.tcc (std): And here. 2120169691Skan 2121169691Skan * bits/sbuf_iter.h: Include std_streambuf.h 2122169691Skan 2123169691Skan * bits/locfacets.h: Start separating this into a localeimp.h file. 2124169691Skan * bits/loccore.h: Start separating this into a localefwd.h file. 2125169691Skan Add std_climits for CHAR_BIT. 2126169691Skan 2127169691Skan * bits/ios_base.h (ios_base::sync_with_stdio): Stub in. 2128169691Skan 2129169691Skan * bits/char_traits.h: Tweak. 2130169691Skan 2131169691Skan * bits/ios_base.h: Remove INT_MAX, use 1<<16. 2132169691Skan 2133169691Skan * bits/std_ostream.h: Remove c++config.h include. 2134169691Skan * bits/std_istream.h: Same. 2135169691Skan * bits/std_streambuf.h: Same. 2136169691Skan * bits/std_fstream.h: Same. 2137169691Skan * bits/std_sstream.h: And here. 2138169691Skan 2139169691Skan * bits/std_iosfwd.h: Add _G_RESOLVE_LIB_DEFECTS here for streampos. 2140169691Skan * bits/char_traits.h: Add include of std_cwchar.h for mbstate_t. 2141169691Skan * bits/fpos.h: Tweak, format. 2142169691Skan 2143169691Skan * std/ciso646: New file. 2144169691Skan * bits/std_ciso646.h: New file. 2145169691Skan * src/Makefile.am (std_headers): Add ciso646. 2146169691Skan (headers): Add bits/std_ciso646.h. 2147169691Skan * src/Makefile.in: Regenerate. 2148169691Skan * testsuite/17_intro/header_ciso646.cc: New file, disable 2149169691Skan equivalance tests. 2150169691Skan 2151169691Skan * bits/fpos.h: Remove libio.h include. 2152169691Skan * bits/basic_file.h: And here. 2153169691Skan * bits/std_ios.h: Put here. 2154169691Skan 2155169691Skan * src/ios.cc: Simplify includes, tweak. 2156169691Skan * bits/std_ios.h: Simplify include order. 2157169691Skan * bits/ios_base.h: Modify ios_base::failure. 2158169691Skan 2159169691Skan * stl/bits/std_numeric.h: Change include from stl_iterator to 2160169691Skan std_iterator. 2161169691Skan 2162169691Skan1999-05-19 Benjamin Kosnik <bkoz@tintin.cygnus.com> 2163169691Skan 2164169691Skan * std/iostream: Remove static member __ioint. 2165169691Skan * bits/std_iostream.h: Put here. 2166169691Skan 2167169691Skan * stl/bits/std_numeric.h: Remove unneccessary std_iostream.h include. 2168169691Skan * stl/bits/stl_algobase.h: Same. 2169169691Skan * testsuite/27_io/iostream_objects.cc: Regression tests. 2170169691Skan * testsuite/27_io/hello.cc: Remove, subset of above. 2171169691Skan 2172169691Skan1999-05-19 Phil Edwards <pedwards@ball.com> 2173169691Skan 2174169691Skan * docs/index.html: Tweak, update. 2175169691Skan 2176169691Skan1999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> 2177169691Skan 2178169691Skan * docs/17_intro/RELEASE-NOTES: remove outdated 2179169691Skan documentation about numeric_limits. Correct CXXINCLUDE setting 2180169691Skan documentation. 2181169691Skan 2182169691Skan1999-05-18 Phil Edwards <pedwards@ball.com> 2183169691Skan 2184169691Skan * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings, 2185169691Skan 22_locale,23_containers,24_iterators,25_algorithms,26_numerics, 2186169691Skan 27_io}/howto.html: Created, with some initial entries. 2187169691Skan * docs/faq/index.html: Fixed some links. 2188169691Skan * docs/faq/index.txt: Regenerated. 2189169691Skan 2190169691Skan1999-05-18 Benjamin Kosnik <bkoz@tintin.cygnus.com> 2191169691Skan 2192169691Skan * bits/c++config.h (__GLIBCPP__): Set version to 19990518. 2193169691Skan 2194169691Skan * docs/17_intro/RELEASE-NOTES: Update. 2195169691Skan * docs/index.html: Correct link to mailing list help page, update News. 2196169691Skan * docs/faq/index.html: Change fifth to sixth for snapshot. 2197169691Skan 2198169691Skan * src/Makefile.am (myinstallheaders): Bring over Gaby's changes to 2199169691Skan install $(top_builddir)/bits/std_limits.h into 2200169691Skan $(myincludepfx)/bits. This was mistakenly omitted from yesterday's 2201169691Skan Makefile.am changes. 2202169691Skan * *Makefile*: Regenerate using automake. 2203169691Skan 2204169691Skan * mkcheck (LOG_FILE): Fix filebuf directory oddness. 2205169691Skan * testsuite/27_io/filebuf.cc: Same. 2206169691Skan 2207169691Skan1999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> 2208169691Skan 2209169691Skan * docs/17_intro/CHECKLIST: update. 2210169691Skan * docs/17_intro/TODO: update. 2211169691Skan 2212169691Skan1999-05-17 Phil Edwards <pedwards@ball.com> 2213169691Skan 2214169691Skan * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings, 2215169691Skan 22_locale,23_containers,24_iterators,25_algorithms,26_numerics, 2216169691Skan 27_io}/howto.html: Created, with some initial entries. 2217169691Skan * docs/faq/index.html: Fixed some links. 2218169691Skan * docs/faq/index.txt: Regenerated. 2219169691Skan 2220169691Skan1999-05-17 Benjamin Kosnik <bkoz@unhappy.cygnus.com> 2221169691Skan 2222169691Skan * src/Makefile.am (myinstallheaders): Missed removing missing.h. 2223169691Skan * Makefile.in*: Regenerate. 2224169691Skan 2225169691Skan1999-05-17 Benjamin Kosnik <bkoz@happy.cygnus.com> 2226169691Skan 2227169691Skan * bits/std_streambuf.h: Same. 2228169691Skan 2229169691Skan * bits/loccore.h (_Bad_use_facet): Remove bits warned about. 2230169691Skan * bits/locfacets.h (std): Same. 2231169691Skan * bits/sstream.tcc: Same. 2232169691Skan * testsuite/27_io/stringstream.cc: Tweak. 2233169691Skan 2234169691Skan * testsuite/27_io/filebuf.cc: Adjust. 2235169691Skan * testsuite/21_strings/capacity.cc (test01): Add more 2236169691Skan string::reserve tests. 2237169691Skan 2238169691Skan * bits/c++config.h: Remove broken CCTYPE. 2239169691Skan * bits/std_cctype.h: Tweak, remove de-macroization, enable 2240169691Skan sequestered topper implementation. 2241169691Skan * bits/std_cwctype.h: Same. 2242169691Skan 2243169691Skan * bits/missing.h: Remove. 2244169691Skan * bits/std_locale.h: Remove missing.h include. 2245169691Skan 2246169691Skan * stl/bits/std_bitset.h (bitset::bitset(string): Tweak to compile. 2247169691Skan 2248169691Skan * src/Makefile.am (headers): Add bits/std_cwctype.h. 2249169691Skan INCLUDES: Add top_builddir. 2250169691Skan * src/Makefile.in: Regenerate. 2251169691Skan 2252169691Skan * Makefile.am: Add check and check-install as new targets. 2253169691Skan * testsuite/make_check_libfree++: Move to. . . 2254169691Skan * mkcheck: Here. 2255169691Skan * configure.in: Tweak versions. 2256169691Skan * mknumeric_limits: Set paths correctly. 2257169691Skan 2258169691Skan1999-05-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> 2259169691Skan 2260169691Skan * src/Makefile.in (myinstallheaders): add rule to install 2261169691Skan std_limits.h. 2262169691Skan 2263169691Skan * bits/slice.h (class slice): don't const-qualify data members 2264169691Skan since the copy and assignment operator is implicitly used. The 2265169691Skan valarray specification is definitively a bad one. 2266169691Skan 2267169691Skan * Makefile.in (generate-limits-sources): fix typo. 2268169691Skan 2269169691Skan * docs/text/TODO: update. 2270169691Skan * docs/text/CHECKLIST: update. 2271169691Skan 2272169691Skan * bits/gslice.h (gslice): fix bugglet. 2273169691Skan (gslice::gslice): set _M_index_size to 0 whenever given lengths 2274169691Skan (lj) of size zero. 2275169691Skan 2276169691Skan * src/Makefile.am (libstdc___la_SOURCES): add gen-num-limits. 2277169691Skan * src/Makefile.in (libstdc___la_SOURCES): keep in sync. 2278169691Skan [Note: **/Makefile.in should be generated from the corresponding 2279169691Skan Makefile.am. The current situation is a litte chaotic. ] 2280169691Skan 2281169691Skan1999-05-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> 2282169691Skan 2283169691Skan * mknumeric_limits: tweak. 2284169691Skan 2285169691Skan * Makefile.in (all): add target generate-limits-sources. 2286169691Skan (generate-limits-sources): make a directory bits/ in top_builddir 2287169691Skan where the generated std_limits.h is put; generate limitsMEMBERs.cc 2288169691Skan directly under $(top_builddir)/src. Remains to put the appropriate 2289169691Skan rule for installing std_limits.h. 2290169691Skan 2291169691Skan * src/Makefile.in (headers): remove bits/std_limits.h to this list. 2292169691Skan (INCLUDES): add -I$(top_builddir) for bits/std_limits.h which is 2293169691Skan now generated at build-time in the build directory 2294169691Skan (libstdc___la_SOURCES): remove limitsMEMBERS.cc form this list 2295169691Skan * src/Makefile.am: reflect changes in src/Makefile.in 2296169691Skan 2297169691Skan1999-05-12 Phil Edwards <pedwards@ball.com> 2298169691Skan 2299169691Skan * docs/faq/index.html: Add more entries (5.4,5.5), finish 2300169691Skan all but one empty entry. Add links for HOWTOs, but no files yet. 2301169691Skan (Corrected HOWTO links are for bkoz's new scheme.) 2302169691Skan * docs/faq/index.txt: Regenerated. 2303169691Skan 2304169691Skan1999-05-12 Benjamin Kosnik <bkoz@happy.cygnus.com> 2305169691Skan 2306169691Skan * testsuite/17_intro/headers.cc: New file. 2307169691Skan * stl/bits/std_queue.h: Change stl_bvector.h include path. 2308169691Skan * bits/std_cwctype.h: New file. 2309169691Skan 2310169691Skan * testsuite/27_io/filebuf.cc: Need to tweak directory structure. 2311169691Skan 2312169691Skan1999-05-11 Benjamin Kosnik <bkoz@loony.cygnus.com> 2313169691Skan 2314169691Skan * stl/bits/stl_config.h (__USE_MALLOC): Change underlying allocator. 2315169691Skan Check __USE_MALLOC before defining specializations containing 2316169691Skan __default_alloc_template. 2317169691Skan * src/stl-inst.cc: Here too. 2318169691Skan 2319169691Skan * bits/basic_string.h: Change. 2320169691Skan 2321169691Skan * testsuite/make_check_libfree++: More tweaks. 2322169691Skan * testsuite/21/capacity.cc: New file. 2323169691Skan 2324169691Skan * src/string.cc: Rename to be consistent with other inst files. 2325169691Skan Rename to string-inst.cc. 2326169691Skan * src/string*.cc: Change include. 2327169691Skan * src/wstring.cc: Rename to wstring-inst.cc. 2328169691Skan * src/wstring*.cc: Ditto. 2329169691Skan * src/Makefile.in: Also here. 2330169691Skan * src/Makefile.am: Ditto. 2331169691Skan 2332169691Skan * src/traits.cc: Remove. 2333169691Skan * src/wtraits.cc: Same. 2334169691Skan 2335169691Skan Try a new way of organizing documentation, one with synchronicity 2336169691Skan between testsuites and docs subdirectories, and see who yelps. 2337169691Skan * docs/html: Remove, use chapter and subject specific directories 2338169691Skan instead of forcing things immediately into format of 2339169691Skan documentation. 2340169691Skan * docs/text: Same. 2341169691Skan * docs/image: Same. 2342169691Skan * docs/faq/text, docs/faq/html: Remove, put in the docs/faq 2343169691Skan directory and sort by filename and extension. 2344169691Skan * docs/17_intro, 18_support, 19_diagnostics, 20_util, 21_strings, 2345169691Skan 22_locale, 23_containers, 24_iterators, 25_algorithms, 2346169691Skan 26_numerics, 27_io: Add. 2347169691Skan * docs/17_intro/*: Populate with all the text files. . . 2348169691Skan * docs/index.html: Construct. 2349169691Skan 2350169691Skan * testsuite/*: Update with same names as the docs subdir. 2351169691Skan * testsuite/results: Where to stash conformance results for the 2352169691Skan different snapshots, so that progress/size/speed issues can be 2353169691Skan tracked over time. 2354169691Skan 2355169691Skan1999-05-10 Benjamin Kosnik <bkoz@loony.cygnus.com> 2356169691Skan 2357169691Skan * src/string.cc: Add _S_copy_chars instantiation, as well as 2358169691Skan string::binary operators !=, ==, etc. 2359169691Skan 2360169691Skan * src/Makefile.am (CXXFLAGS): Remove -fvtable-thunks. 2361169691Skan * src/Makefile.in (CXXFLAGS): Same here. 2362169691Skan * testsuite/make_check_libfree++ (CXX_FLAG): And here. 2363169691Skan 2364169691Skan1999-05-07 Benjamin Kosnik <bkoz@cygnus.com> 2365169691Skan 2366169691Skan * src/string.cc: Add missing member functions to instantiation list. 2367169691Skan 2368169691Skan1999-05-07 Benjamin Kosnik <bkoz@cygnus.com> 2369169691Skan 2370169691Skan * src/misc-inst.cc: Remove unused string instantiations. 2371169691Skan 2372169691Skan * bits/string.tcc: Tweak, fix. 2373169691Skan * bits/basic_string.h: Format. Fix reported error with c_str(). 2374169691Skan 2375169691Skan * testsuite/make_check_libfree++: Tweak for shared builds. 2376169691Skan * testsuite/21/operations.cc: New file for testing c_str() etc. 2377169691Skan 2378169691Skan1999-05-06 Benjamin Kosnik <bkoz@cygnus.com> 2379169691Skan Ryszard Kabatek <kabatek@chemie.uni-halle.de> 2380169691Skan 2381169691Skan * stl/bits/stl_vector.h: Fix the code of vector<> for usage with 2382169691Skan an iterator class. Delineate pointer versus iterator differences 2383169691Skan in implementation. 2384169691Skan * 23/vector_capacity.cc: New file, tests for above. 2385169691Skan 2386169691Skan1999-05-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> 2387169691Skan 2388169691Skan * mknumeric_limits: Fix typo. 'unsigned lont' should read 2389169691Skan 'unsigned long'. 2390169691Skan * src/Makefile.am (libstdc___la_SOURCES): add limitsMEMBERS.cc, 2391169691Skan generated by mknumeric_limits to the list. Now std_limits.h is 2392169691Skan basically working. 2393169691Skan * src/Makefile.in (generate-numeric-limits): new target to handle 2394169691Skan automatic generation of bits/std_limits.h and src/limitsMEMBERS.cc. 2395169691Skan (all): add target generate-numeric-limits. 2396169691Skan (libstdc___la_OBJECTS): add limitsMEMBERS.lo 2397169691Skan (libstdc___la_SOURCES): add limitsMEMBERS.cc 2398169691Skan 2399169691Skan1999-05-05 Benjamin Kosnik <bkoz@cygnus.com> 2400169691Skan 2401169691Skan Irix build issues. 2402169691Skan * bits/c++config.h (_G_USE_CTYPE_ISBIT): Defines new macro for 2403169691Skan mask values in ctype_base. Move hacks for _ISBit to locfacets.h. 2404169691Skan * bits/locfacts.h: Here. 2405169691Skan 2406169691Skan1999-05-05 Benjamin Kosnik <bkoz@cygnus.com> 2407169691Skan Ulrich Drepper <drepper@cygnus.com> 2408169691Skan 2409169691Skan Solaris build issues. 2410169691Skan * bits/c++config.h: Define new macros, _G_USE_STRTOF and 2411169691Skan _G_USE_STRTOLD. 2412169691Skan 2413169691Skan * bits/locfacets.tcc (num_get::do_get): Tweak long double and 2414169691Skan float overloads to use the above macros. Account for the lack of 2415169691Skan strtold on some systems, and revert back to using sscanf. 2416169691Skan 2417169691Skan1999-05-04 Ryszard Kabatek <kabatek@chemie.uni-halle.de> 2418169691Skan 2419169691Skan * bits/locfacets.tcc (num_get::do_get): Check the errno variable. 2420169691Skan Use strtoul/strtoull for unsigned types. Check the ranges for 2421169691Skan short/unsigned short and if necessary for int/unsigned int. 2422169691Skan 2423169691Skan1999-05-04 Benjamin Kosnik <bkoz@cygnus.com> 2424169691Skan 2425169691Skan * src/gen-num-limits.cc (round_style): Need to use mknumericlimits 2426169691Skan to generate bits/std_limits.h now, as the SGI std_limits.h is 2427169691Skan being depricated. Not done, but should be done immediately: need 2428169691Skan to make sure this script is run as part of the configuration 2429169691Skan process, because without it "make" in a configured build directory 2430169691Skan will fail. Also tweaked: added a space for float_round_style, and 2431169691Skan used static_cast of zero to default-initialize, which should be ok 2432169691Skan according to the standard. (see 8.5 p5 and 20.1.3). 2433169691Skan * mknumeric_limits (OUT_C): Need this for x86 long 2434169691Skan double extensions. 2435169691Skan 2436169691Skan * bits/basic_file.h: Include libio.h, not libioP.h. 2437169691Skan * src/basic_file.cc: And add libioP.h include here, so that 2438169691Skan _IO_init, et. al are well-declared. 2439169691Skan 2440169691Skan * testsuite/make_check_libfree++ (LIB_PATH): Test installed 2441169691Skan headers, not source directory headers. 2442169691Skan 2443169691Skan * src/Makefile.am (headers): Add stl_range_errors.h, also adjust 2444169691Skan for ext/*. Also add basic_file.h. 2445169691Skan * src/Makefile.in (headers): Same. 2446169691Skan 2447169691Skan * bits/std_string.h: Reduce dependencies for faster 2448169691Skan pre-processing. Move istream and ostream specific defines into 2449169691Skan istream.tcc and ostream.tcc respectively. 2450169691Skan * bits/string.tcc: And here. 2451169691Skan * bits/basic_string.h: Move getline inline out-of-line, and to 2452169691Skan istream.tcc. 2453169691Skan * bits/istream.tcc: Move string::getline and operator>> here. 2454169691Skan * bits/ostream.tcc: And here too. 2455169691Skan 2456169691Skan * bits/utility.h: Remove, as clashes with a standard header. Put 2457169691Skan __OUTOFRANGE and __LENGTHERROR macros into string.tcc for the time 2458169691Skan being, until this can be combined with SGI's approach. 2459169691Skan * bits/string.tcc: Add macros, as above. 2460169691Skan * bits/loccore.h: Add _Count_ones defines. 2461169691Skan * bits/std_string.h: And here too. 2462169691Skan * bits/std_locale.h: And here. 2463169691Skan * bits/std_ios.h: Take out include here. 2464169691Skan * src/Makefile.am (headers): Remove utility.h 2465169691Skan * src/Makefile.in (headers): Remove utility.h 2466169691Skan 2467169691Skan * stl/bits/*: Update to SGI STL 3.20. 2468169691Skan * stl/ext/pthread_alloc: Delete this file. 2469169691Skan 2470169691Skan1999-05-04 Phil Edwards <pedwards@ball.com> 2471169691Skan 2472169691Skan * docs/faq/html/index.html: Add more entries 2473169691Skan * docs/faq/html/index.txt: regenerated. 2474169691Skan 2475169691Skan1999-05-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> 2476169691Skan 2477169691Skan * src/gen-num-limits.cc (DO_DEFINE_MIN_MAX): fix typo. 2478169691Skan 2479169691Skan1999-04-29 Benjamin Kosnik <bkoz@haight.cygnus.com> 2480169691Skan 2481169691Skan * bits/locfacets.tcc (num_get::do_get): Re-implement, with input 2482169691Skan from Ulrich and Nathan. Remove extraneous string class usage, 2483169691Skan tweak, clean, simplify and consolidate with a eye towards removing 2484169691Skan duplcate code. Use strto[l, ll, f, d, ld] instead of sscanf. 2485169691Skan Not done: dealing with leading zeros, wchar_t work. 2486169691Skan * bits/locfacets.h: And here too. 2487169691Skan 2488169691Skan * doc: Remove. 2489169691Skan 2490169691Skan1999-04-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> 2491169691Skan 2492169691Skan * docs/: add a FAQ. 2493169691Skan * docs/faq/: New directory. 2494169691Skan * docs/faq/html/: Likewise. 2495169691Skan * docs/faq/text/: Likewise. 2496169691Skan * docs/faq/html/index.html: New file. 2497169691Skan * docs/faq/html/index.txt: Likewise. Generated from 2498169691Skan docs/faq/html/index.html by lynx. 2499169691Skan 2500169691Skan1999-04-28 Benjamin Kosnik <bkoz@happy.cygnus.com> 2501169691Skan Ryszard Kabatek and Branko Cibej 2502169691Skan 2503169691Skan * bits/locfacets.tcc: Modify. 2504169691Skan 2505169691Skan1999-04-27 Benjamin Kosnik <bkoz@happy.cygnus.com> 2506169691Skan 2507169691Skan * bits/sbuf_iter.h: Clean, fix istreambuf_iterator, make 2508169691Skan conformant to 14882, wrap non-standard extensions with 2509169691Skan _G_RESOLVE_LIB_DEFECTS, remove detritus and cruft, rennovate. 2510169691Skan * bits/locfacets.tcc (num_get::do_get(bool)): Return correct iterator. 2511169691Skan 2512169691Skan * testsuite/27/istringstream_formatted.cc: Add tests. 2513169691Skan 2514169691Skan * bits/locfacets.h: Remove cruft from _Format_cache, continue 2515169691Skan commenting, simplify. 2516169691Skan * bits/locfacets.tcc: Same. 2517169691Skan 2518169691Skan 1999-04-27 Ryszard Kabatek <kabatek@chemie.uni-halle.de> 2519169691Skan * bits/locfacets.tcc (num_get::do_get): 2520169691Skan Fix the sscanf format parameter 2521169691Skan for long long 'll' (as in C9X) instead of 'l'. 2522169691Skan Fix the order of sscanf format parameters: "%dl" --> "%ld". 2523169691Skan Change the type of the local variable '__conv' from 'string' 2524169691Skan to 'const char*' and adapt the change. 2525169691Skan 2526169691Skan1999-04-26 Benjamin Kosnik <bkoz@happy.cygnus.com> 2527169691Skan 2528169691Skan * bits/locfacets.h: Document _Format_cache, and name data members 2529169691Skan after the corresponding functions in numpunct. For instance: 2530169691Skan _M_grsep -> _M_thousands_sep, and _M_decsep -> _M_decimal_point. 2531169691Skan Break apart _M_boolnames{2] into _M_truename and _M_falsename. 2532169691Skan * bits/locfacets.tcc: Same. 2533169691Skan 2534169691Skan * bits/locfacets.h (num_get::_M_extract): Don't allow groupings to 2535169691Skan stop parsing--store for later analysis. 2536169691Skan * testsuite/27/istringstream_formatted.cc: Add cases. 2537169691Skan 2538169691Skan1999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> 2539169691Skan 2540169691Skan * bits/valarray_meta.h: tweak. 2541169691Skan (_UnFunBase, _BinFunBase, _BinFunBase1, _BinFunBase2, _BinBase1, 2542169691Skan _BinFunBase2): rename typedef-name _Tp to _Vt to keep the compiler 2543169691Skan happy -- boggus warning. 2544169691Skan * bits/std_valarray.h: Fix. 2545169691Skan (valarray<T>::shift): Fix. Update comment. 2546169691Skan (valarray<T>::cshift): Fix. 2547169691Skan 2548169691Skan1999-04-23 Benjamin Kosnik <bkoz@cygnus.com> 2549169691Skan 2550169691Skan * testsuite/27filebuf-2.txt: Delete. 2551169691Skan * testsuite/27/filebuf.cc: Put output files directly into the 2552169691Skan correct subdirectory (27). 2553169691Skan 2554169691Skan Alexandre Petit-Bianco <apbianco@cygnus.com> 2555169691Skan * testsuite/make_check_libfree++: Check generated (*.txt) file 2556169691Skan against stored results file (*.tst). 2557169691Skan 2558169691Skan1999-04-22 Benjamin Kosnik <bkoz@nabi.net> 2559169691Skan 2560169691Skan * bits/locfacets.tcc: Fix. 2561169691Skan 2562169691Skan * bits/fstream.tcc (filebuf::seekoff): Output current out pointer. 2563169691Skan (filebuf::overflow): Simplify. 2564169691Skan (filebuf::xsputn): Correctly handle indeterminate state. 2565169691Skan 2566169691Skan * testsuite/27/istringstream_formatted.cc: Tweak. 2567169691Skan * testsuite/27/filebuf.cc: Tweak. 2568169691Skan * testsuite/27/filebuf-3.tst: Correct: this is the canonical 2569169691Skan results file, please use this in the future to guarantee filebuf 2570169691Skan positioning accuracy. 2571169691Skan * testsuite/27/filebuf-2.tst: Same. 2572169691Skan 2573169691Skan1999-04-21 Benjamin Kosnik <bkoz@cygnus.com> 2574169691Skan 2575169691Skan * bits/fstream.tcc (filebuf::xsputn): Add. 2576169691Skan * bits/std_fstream.h: Declare. 2577169691Skan 2578169691Skan * src/basic_file.cc (__basic_file::open): Add O_CREAT to open 2579169691Skan calls using ios_base::trunc. 2580169691Skan 2581169691Skan * bits/sstream.tcc (streambuf::overflow): Fix crasher. 2582169691Skan 2583169691Skan * testsuite/make_check_libfree++ (LOG_FILE): Ugh. Another fix. 2584169691Skan * testsuite/27/27stringstream.cc: Same. 2585169691Skan * testsuite/27/27stringbuf.cc: More tweaks. 2586169691Skan * testsuite/27/27filebuf-2.txt: Remove. 2587169691Skan 2588169691Skan * testsuite/27/27filebuf-1.tst: Append, to force byte size over 2589169691Skan BUFSIZE so that overflows/underflow can be tested with default 2590169691Skan buffer setting. 2591169691Skan * testsuite/27/27filebuf-1.tst: Add. 2592169691Skan 2593169691Skan * testsuite/*/*: Remove pre-pended chapter names, as they 2594169691Skan duplicate the chapter info contained in the enclosing directory 2595169691Skan anyway. 2596169691Skan 2597169691Skan1999-04-20 Benjamin Kosnik <bkoz@cygnus.com> 2598169691Skan 2599169691Skan * bits/streambuf.tcc (streambuf::xsputn): Re-implement to conform 2600169691Skan to sputc conditions. 2601169691Skan 2602169691Skan * bits/ios_base.h: Define here. 2603169691Skan * src/ios.cc (ios_base::_M_clear): Remove hack. 2604169691Skan * bits/basic_ios.h: Fix rdstate(). 2605169691Skan 2606169691Skan * bits/sstream.tcc (streambuf::seekoff): Fix. 2607169691Skan * bits/fstream.tcc (filebuf::seekoff): Tweak comments. 2608169691Skan 2609169691Skan * testsuite/make_check_libfree++ (LOG_FILE): More c-c-c-changes. 2610169691Skan * testsuite/24/24iterator.cc: Add/Fixes for DEBUG_ASSERT. 2611169691Skan * testsuite/27/27stringstream.cc: Same. 2612169691Skan * testsuite/27/27stringbuf.cc: Same. 2613169691Skan * testsuite/27/27istringstream_formatted.cc: Same. 2614169691Skan * testsuite/27/27filebuf.cc: Same. 2615169691Skan 2616169691Skan * bits/locfacets.h: Remove specializations for messages<char> and 2617169691Skan messages<wchar_t> ctors. Same for moneypunct. Not required, not used. 2618169691Skan * src/locale.cc: Remove definitions for above. 2619169691Skan * src/misc-inst.cc: Revert, take out iomanip.h include. 2620169691Skan * bits/std_iomanip.h: Tweak, format. 2621169691Skan 2622169691Skan1999-04-19 Benjamin Kosnik <bkoz@cygnus.com> 2623169691Skan 2624169691Skan * bits/loccore.h: Format, move inline. 2625169691Skan * bits/locfacets.tcc: Same. 2626169691Skan * bits/locfacets.h: Same. 2627169691Skan 2628169691Skan Ulrich Drepper <drepper@cygnus.com> 2629169691Skan * aclocal.m4: Re-generate. 2630169691Skan * configure, configure.in: Same. 2631169691Skan * m4/lc_messages.m4: New file. 2632169691Skan 2633169691Skan1999-04-18 Benjamin Kosnik <bkoz@cygnus.com> 2634169691Skan 2635169691Skan * bits/std_ostream.h: Fix typedef for wchar_t instantiations. 2636169691Skan * bits/sstream.tcc: Tweak. 2637169691Skan 2638169691Skan * std/iostream: Put __ioinit inside macro guards. 2639169691Skan 2640169691Skan * src/stlinst.cc: Delete and move to . . . 2641169691Skan * src/stl-inst.cc: New file, plus wrapping in namespace std. 2642169691Skan * src/Makefile.in: Change. 2643169691Skan * src/Makefile.am: Same. 2644169691Skan * src/misc-inst.cc: Add istringstream/ostringstream instantiations. 2645169691Skan 2646169691Skan * testsuite/make_check_libfree++: Efficiently format for minimal 2647169691Skan space. Enforce stricter execution tests by enabling 2648169691Skan -DDEBUG_ASSERT. 2649169691Skan 2650169691Skan1999-04-16 Benjamin Kosnik <bkoz@cygnus.com> 2651169691Skan 2652169691Skan * docs/text/RELEASE-NOTES: Fix include typo. 2653169691Skan 2654169691Skan * src/Makefile.am (headers): Add istream.tcc. 2655169691Skan * src/Makefile.in (headers): Add istream.tcc. 2656169691Skan 2657169691Skan * ltconfig, ltmain.sh, libtool: Update to libtool-1.2g. 2658169691Skan 2659169691Skan1999-04-16 Benjamin Kosnik <bkoz@cygnus.com> 2660169691Skan 2661169691Skan * bits/locfacets.tcc (num_get::do_get(long)): Finish roughing in. 2662169691Skan * bits/locfacets.h (num_get::_M_extract): New functin: 2663169691Skan consolidate logic for do_get(...) members. 2664169691Skan 2665169691Skan * bits/sbuf_iter.h (istreambuf_iterator::operator++()): Fix. 2666169691Skan * testsuite/27/27istringstream_formatted.cc: Add. 2667169691Skan 2668169691Skan1999-04-16 Martin v. Loewis <martin@mira.isdn.cs.tu-berlin.de> 2669169691Skan 2670169691Skan * src/basic_file.cc (__basic_file::open): Fix thinko in 2671169691Skan _G_HAVE_IO_FILE_OPEN bits. 2672169691Skan * bits/std_istream.h (sentry::sentry(istream, bool)): Fix isspace bug. 2673169691Skan * bits/std_cmath.h: Add stdlib.h include for ldiv_t. 2674169691Skan * src/complex.cc (FCT): Qualify all functions with global namespace. 2675169691Skan * src/locale.cc: Don't qualify memcpy and setlocale. 2676169691Skan * src/stdexcept.cc (__out_of_range): Qualify out_of_range with std::. 2677169691Skan (__length_error): Likewise, for length_error. 2678169691Skan * src/stlinst.cc: Qualify instantiations with std::. 2679169691Skan 2680169691Skan1999-04-15 Benjamin Kosnik <bkoz@cygnus.com> 2681169691Skan 2682169691Skan * C++STYLE: Add ChangeLog guidelines for member functions. 2683169691Skan 2684169691Skan * doc/* : Delete. 2685169691Skan * BADNAMES, BUGS, C++STYLE, CHECKLIST, COPYING, 2686169691Skan DESIGN, HEADER_POLICY, PROBLEMS, RELEASE-NOTES, TODO: Moved into 2687169691Skan docs/text and made less strident. 2688169691Skan 2689169691Skan * bits/fstream.tcc: Change non-standard ctor to match Sun's sematics. 2690169691Skan * bits/std_fstream.h: Same. 2691169691Skan * src/ios.cc: Same. 2692169691Skan 2693169691Skan * bits/locfacets.h: Touch. 2694169691Skan 2695169691Skan1999-04-15 Ulrich Drepper <drepper@cygnus.com> 2696169691Skan 2697169691Skan * math/cexp.c (cexp): Use NAN instead of nan(""). 2698169691Skan Reported by joel reed <joelreed@yahoo.com>. 2699169691Skan 2700169691Skan * libio/libioP.h: Define _IO_seek_fpos_t and _IO_seek_off_t based on 2701169691Skan _G_IO_IO_FILE_VERSION. Use these types in the prototypes. 2702169691Skan * libio/fileops.c: Use _IO_seek_fpos_t and _IO_seek_off_t types 2703169691Skan instead of #if cascades. 2704169691Skan * libio/genops.c: Likewise. 2705169691Skan * libio/ioseekoff.c: Likewise. 2706169691Skan * libio/ioseekpos.c: Likewise. 2707169691Skan * libio/strops.c: Likewise. 2708169691Skan Patch by Chip Salzenberg <chip@perlsupport.com>. 2709169691Skan 2710169691Skan1999-04-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> 2711169691Skan 2712169691Skan * docs: New directory. 2713169691Skan * docs/html: Likewise. 2714169691Skan * docs/text: Likewise. 2715169691Skan * docs/image: Likewise. 2716169691Skan 2717169691Skan * bits/std_cmath.h: Add new functions. 2718169691Skan (abs): overload for long and double. 2719169691Skan (div): overload for long. 2720169691Skan 2721169691Skan * bits/valarray_array.h: Fix. 2722169691Skan * bits/gslice.h: Adjust friend. 2723169691Skan * bits/slice_array.h: likewise. 2724169691Skan * bits/valarray_meta.h: likewise. 2725169691Skan 2726169691Skan1999-04-13 Benjamin Kosnik <bkoz@tintin.cygnus.com> 2727169691Skan 2728169691Skan * bits/locfacets.h: More changes, for num_get for insertion 2729169691Skan operators for integral types. Comment fields in _Format_cache. 2730169691Skan * bits/locfacets.tcc: And here too: add preliminary long version. 2731169691Skan * testsuite/27/27istringstream_formatted.cc: Add cases. 2732169691Skan 2733169691Skan1999-04-13 Mark Elbrecht <snowball3@usa.net> 2734169691Skan 2735169691Skan * configure.in: Add locale.h to AC_CHECK_HEADERS argument. Call 2736169691Skan AC_LC_MESSAGES macro. 2737169691Skan * aclocal.m4 (AC_LC_MESSAGES): New. Determines if a target 2738169691Skan supports LC_MESSAGES. 2739169691Skan * config.h.in: Add entry for HAVE_LC_MESSAGES. 2740169691Skan * src/locale.cc (locale::_S_normalize_category): Use the 2741169691Skan HAVE_LC_MESSAGES macro to check for LC_MESSAGES support instead of 2742169691Skan _G_NO_CLOCALE_HAS_MESSAGES. 2743169691Skan * aclocal.m4 (AM_PROG_LD): For DOS style paths, simplify test to 2744169691Skan '?:' from '?:\\' so any path beginning with a drive name matches. 2745169691Skan 2746169691Skan1999-04-12 Mark Elbrecht <snowball3@usa.net> 2747169691Skan 2748169691Skan * src/basic_file.cc(sys_open) [O_BINARY]: Declare __testb. 2749169691Skan 2750169691Skan1999-04-12 Benjamin Kosnik <bkoz@tintin.cygnus.com> 2751169691Skan 2752169691Skan * bits/locfacets.h: Tweak. 2753169691Skan * bits/locfacets.tcc(do_get): Clean/fix bool method. 2754169691Skan 2755169691Skan * testsuite/21/21nonmember.cc: Same. 2756169691Skan * testsuite/21/21compare.cc: Fix license. 2757169691Skan * testsuite/27/27istringstream_formatted.cc: New file. 2758169691Skan 2759169691Skan1999-04-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> 2760169691Skan 2761169691Skan * bits/valarray_meta.h: _BinFunBase1, _BinFunBase2, _BinBase1, 2762169691Skan _BinBase2: new template classes; put in there to work around a 2763169691Skan compiler limitation. The whole valarray architecture is now 2764169691Skan working. 2765169691Skan 2766169691Skan1999-04-08 Benjamin Kosnik <bkoz@haight.constant.com> 2767169691Skan 2768169691Skan * bits/locfacets.tcc: Fix, format. 2769169691Skan * bits/locfacets.h: Fix. 2770169691Skan * src/locale.cc: Same, plus format. 2771169691Skan 2772169691Skan * bits/basic_string.h: Re-add definition here. 2773169691Skan * src/string.cc: Take out. 2774169691Skan 2775169691Skan1999-04-08 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> 2776169691Skan 2777169691Skan * bits/std_valarray.h: tweak. 2778169691Skan * bits/valarray_array.h tweak. use _Expr. 2779169691Skan * bits/slice_array.h: likewise. 2780169691Skan * bits/gslice_array.h: likewise. 2781169691Skan * bits/mask_array.h: likewise. 2782169691Skan * bits/indirect_array.h: likewise. 2783169691Skan * bits/valarray_meta.h: tweak. 2784169691Skan _UnFunBase, _UnFunClos, _BinFunBase, _FunBase, _ValFunClos, 2785169691Skan _RefFunClos, _UnBase, _UnClos, _BinBase, _BinClos, _SClos, _GClos, 2786169691Skan _IClos: new template classes. 2787169691Skan _Meta: renamed to _Expr. Made template with args. 2788169691Skan _Constant: made template with two args. 2789169691Skan 2790169691Skan1999-04-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> 2791169691Skan 2792169691Skan * bits/valarray_array.h: tweak. 2793169691Skan 2794169691Skan1999-04-06 Benjamin Kosnik <bkoz@cygnus.com> 2795169691Skan 2796169691Skan * bits/basic_string.h: Whoops--fix blip. 2797169691Skan 2798169691Skan1999-04-06 Benjamin Kosnik <bkoz@cygnus.com> 2799169691Skan 2800169691Skan Update to SGI STL 3.13 2801169691Skan * bits/basic_string.h: Add __get_c_string definition. 2802169691Skan * stl/bits/stl_range_errors.h: New file. 2803169691Skan * stl/bits/std_bvector.h: Same. 2804169691Skan * stl/bits/*: Update. 2805169691Skan 2806169691Skan1999-04-04 1999 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> 2807169691Skan 2808169691Skan * bits/slice_array.h: tweak. 2809169691Skan * bits/gslice_array.h: tweak. 2810169691Skan * bits/mask_array.h: tweak. 2811169691Skan * bits/indirect_array.h: tweak. 2812169691Skan * bits/valarray_array.h: tweak. 2813169691Skan (__valarray_copy): replace copy with memcpy. 2814169691Skan * bits/std_valarray.h: use __valarray_copy whenever possible. 2815169691Skan use __valarray_fill instead of fill. 2816169691Skan 2817169691Skan1999-04-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> 2818169691Skan 2819169691Skan * src/gen-num-limits.cc: new file 2820169691Skan * mknumeric_limits: Ditto. 2821169691Skan 2822169691Skan1999-03-30 Benjamin Kosnik <bkoz@cygnus.com> 2823169691Skan 2824169691Skan * bits/locfacets.tcc: Do a stub version of num_get for short, int, 2825169691Skan and long types. 2826169691Skan * bits/locfacets.h: Add num_get::get methods overloaded for int 2827169691Skan and short, to resolve ambiguous overloads in istream insertion 2828169691Skan operators. 2829169691Skan 2830169691Skan1999-03-30 Benjamin Kosnik <bkoz@cygnus.com> 2831169691Skan 2832169691Skan * bits/std_istream.h: Fix. 2833169691Skan * bits/istream.tcc: Fix. 2834169691Skan 2835169691Skan1999-03-30 Philip Martin <pm@corris.dircon.co.uk> 2836169691Skan 2837169691Skan * testsuite/24/24iterator.cc: fix ++/-- tests 2838169691Skan 2839169691Skan1999-03-29 Benjamin Kosnik <bkoz@cygnus.com> 2840169691Skan 2841169691Skan * bits/std_ostream.h: Looks like this, actually: Fix up eh-isms. 2842169691Skan * bits/ostream.tcc: Same. 2843169691Skan 2844169691Skan * bits/std_istream.h: Bring over ostream changes, implement member 2845169691Skan functions. Baseline. 2846169691Skan * bits/istream.tcc: New file. 2847169691Skan 2848169691Skan1999-03-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> 2849169691Skan 2850169691Skan * bits/gslice.h (class gslice): fix friends template. 2851169691Skan 2852169691Skan1999-03-23 Benjamin Kosnik <bkoz@cygnus.com> 2853169691Skan 2854169691Skan * bits/std_ostream.h: Fix sentry objects, implement seekp, tellp, 2855169691Skan delete cruft, etc. 2856169691Skan * bits/ostream.tcc: Same. 2857169691Skan 2858169691Skan * bits/std_istream.h: Minor tweaks. 2859169691Skan 2860169691Skan1999-03-18 Benjamin Kosnik <bkoz@cygnus.com> 2861169691Skan 2862169691Skan * src/locale-inst.cc: Remove duplicate instantiations. 2863169691Skan * bits/locfacets.tcc: Tweak definitions of static member. 2864169691Skan 2865169691Skan1999-03-18 Benjamin Kosnik <bkoz@cygnus.com> 2866169691Skan 2867169691Skan * bits/std_fstream.h: Format: prepend "__" in front of 2868169691Skan non-standard typedefs. 2869169691Skan * bits/fstream.tcc: Match. 2870169691Skan * bits/std_streambuf.h: Format: prepend "__" in front of 2871169691Skan non-standard typedefs. 2872169691Skan 2873169691Skan * bits/sstream.tcc: Match. 2874169691Skan * bits/std_istream.h: Format. 2875169691Skan * src/locale-inst.cc: Add num_get instantiations. 2876169691Skan 2877169691Skan * bits/std_sstream.h: Fix crash in stringstreams. Remove member 2878169691Skan _M_sb, a basic_stringbuf object, and use the basic_ios pointer 2879169691Skan _M_streambuf instead. Make initializations sane. Fix 2880169691Skan allocation/deallocation of _M_streambuf. 2881169691Skan * bits/std_ostream.h: Fix initialization code. 2882169691Skan (ctor): Eliminate redundant this->init(), let base class initialize. 2883169691Skan (default ctor): New. Assume base classes already initialzed. 2884169691Skan * bits/std_istream.h: Parallel work to ostream. 2885169691Skan (ctor): Eliminate redundant this->init(), let base class initialize. 2886169691Skan (default ctor): New. Assume base classes already initialzed. 2887169691Skan Fix initialization of basic_iostream. 2888169691Skan 2889169691Skan * bits/std_fstream.h: While we're at it, make initializations sane 2890169691Skan here too. Now matches sstream.h. 2891169691Skan 2892169691Skan * bits/string.tcc: Fix crash in basic_string::compare. 2893169691Skan * bits/basic_string.h: And here. 2894169691Skan * bits/c++config.h: Add comment about _G_USE_EXCEPTIONS. 2895169691Skan 2896169691Skan * testsuite/make_check_libfree++: Check shared as well. 2897169691Skan * testsuite/27/27stringstream.cc: Add bits. 2898169691Skan * testsuite/27/27boolfmt.cc: Add bits. 2899169691Skan * testsuite/27/27octfmt.cc: Add bits. 2900169691Skan 2901169691Skan1999-03-17 Benjamin Kosnik <bkoz@happy.cygnus.com> 2902169691Skan 2903169691Skan * configure.in (USE_LONG_DOUBLE): signbitl link error. 2904169691Skan 2905169691Skan * bits/locfacets.h: Fix errors that cause build problems 2906169691Skan with current egcs (template parameters have class scope). 2907169691Skan * bits/locfacets.tcc: Same. 2908169691Skan * src/locale-inst.cc: Same, clean. 2909169691Skan * src/misc-inst.cc: Same, clean. 2910169691Skan 2911169691Skan1999-03-17 Ryszard Kabatek <kabatek@chemie.uni-halle.de> 2912169691Skan 2913169691Skan * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the 2914169691Skan standard. Re-apply this previous patch. 2915169691Skan 2916169691Skan1999-03-17 Philip Martin <pm@corris.dircon.co.uk> 2917169691Skan 2918169691Skan * bits/basic_string.h: Use __normal_iterator<> for iterators. 2919169691Skan * bits/std_sstream.h: Support __normal_iterator<> iterators. 2920169691Skan * bits/string.tcc: Ditto. 2921169691Skan * src/misc-inst.cc: Ditto. 2922169691Skan * src/locale-inst.cc: Ditto. 2923169691Skan * stl/bits/stl_iterator.h: Add __normal_iterator<>. 2924169691Skan * stl/bits/stl_vector.h: Use __normal_iterator<> for iterators. 2925169691Skan * testsuite/24/24iterator.cc: Add test cases for basic_string and 2926169691Skan vector iterators. 2927169691Skan 2928169691Skan1999-03-16 Benjamin Kosnik <bkoz@cygnus.com> 2929169691Skan 2930169691Skan * bits/locfacets.tcc: Remove macro hack. 2931169691Skan * bits/locfacets.h: Tweaks. 2932169691Skan * src/misc-inst.cc: Weed out locale-related instantiations. 2933169691Skan * src/locale-inst.cc: Same. 2934169691Skan 2935169691Skan * RELEASE-NOTES: Make more changes. 2936169691Skan * bits/c++config.h: Bump version number. 2937169691Skan 2938169691Skan * testsuite/make_check_libfree++: Collect diagnostics. 2939169691Skan 2940169691Skan * bits/std_ostream.h: Fix ostream initialization/destruction 2941169691Skan problem, related to dtor cleanup and new cached facets, agggggggh. 2942169691Skan * bits/ostream.tcc: Tweak. 2943169691Skan * bits/locfacets.h: Remove all friends of iostream classes. 2944169691Skan * bits/ios_base.h: Same. 2945169691Skan * bits/streambuf.tcc: Tweak. 2946169691Skan * bits/std_streambuf.h: Tweak. 2947169691Skan * bits/std_fstream.h: Tweak. 2948169691Skan * bits/fstream.tcc: Tweak. 2949169691Skan * src/stdstreams.cc: Tweak. 2950169691Skan * src/ios.cc: Close streams. 2951169691Skan 2952169691Skan * math/Makefile.in: Add missing files for shared link errors. 2953169691Skan * math/Makefile.am: Same. 2954169691Skan 2955169691Skan1999-03-15 Benjamin Kosnik <bkoz@cygnus.com> 2956169691Skan 2957169691Skan * src/locale-inst.cc: More wchar_t instantiations. 2958169691Skan * src/misc-inst.cc: Missed a few bits. 2959169691Skan * testsuite/make_check_libfree++: Add static and shared runs. 2960169691Skan * src/ios.cc: Add clarity to ios_base::Init::~Init(). 2961169691Skan 2962169691Skan1999-03-15 Benjamin Kosnik <bkoz@cygnus.com> 2963169691Skan 2964169691Skan * bits/std_ostream.h: Format, expunge, simplify. Add cached 2965169691Skan facets. Resolve link errors. 2966169691Skan * bits/ostream.tcc: Same. 2967169691Skan * src/misc-inst.cc: Add ostream, wostream instantiations. 2968169691Skan * src/Makefile.am: Add missing bits for stdstreams.cc. 2969169691Skan * src/Makefile.in: Same. 2970169691Skan * bits/std_iosfwd.h: Format. 2971169691Skan * bits/locfacets.h (num_put): Add basic_ostream as a friend to 2972169691Skan num_put so that cached _M_fnumput pointer can be deleted in 2973169691Skan basic_ostream's dtor. Now everybody plays nice. 2974169691Skan 2975169691Skan1999-03-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> 2976169691Skan 2977169691Skan * bits/gslice.h (class gslice): Make friends valarray, 2978169691Skan gslice_array and _GliceExpression. 2979169691Skan 2980169691Skan1999-03-11 Benjamin Kosnik <bkoz@cygnus.com> 2981169691Skan 2982169691Skan * RELEASE-NOTES: Update. 2983169691Skan * src/ios.cc: Use do proper init. 2984169691Skan * bits/std_streambuf.h: Tweak. 2985169691Skan * bits/std_iostream.h: Take out static member. 2986169691Skan * std/iostream: Put here. 2987169691Skan * bits/std_ostream.h: Non-default ctor shouldn't smash _M_streambuf. 2988169691Skan * bits/std_istream.h: Ditto. 2989169691Skan * bits/basic_ios.h: Format. 2990169691Skan * bits/ostream.tcc(write): Fix. 2991169691Skan * bits/fstream.tcc: Fix stdstreams ctor to do a proper 2992169691Skan initialization of the fstream class. 2993169691Skan * src/stdstreams.cc: I'm baaaaaaaack. 2994169691Skan 2995169691Skan1999-03-10 Benjamin Kosnik <bkoz@rhino.cygnus.com> 2996169691Skan 2997169691Skan * bits/ios_base.h: Correct comments. Add ios_base::init() 2998169691Skan functionality. Format, tweak, expunge, clean, bathe, and hang to dry. 2999169691Skan * src/misc-inst.cc: Add instantiations here. 3000169691Skan * src/ios.cc: Clean. 3001169691Skan * bits/std_iostream.h: Add wrappers, global ios_base::Init object. 3002169691Skan * src/stdstreams.cc: Delete this file, as now unnecessary. 3003169691Skan * bits/fstream.tcc: Add missing initialization bits for ctor. 3004169691Skan * src/Makefile.am (libstdc___la_SOURCES): Delete here as well. 3005169691Skan * src/Makefile.in (libstdc___la_OBJECTS): And here. 3006169691Skan 3007169691Skan * bits/streambuf.tcc: Tweak. 3008169691Skan * bits/sstream.tcc: Here too. 3009169691Skan 3010169691Skan * bits/fstream.tcc: And change definition as well. 3011169691Skan * bits/std_fstream.h: Change ctor. 3012169691Skan * src/basic_file.cc (sys_open): Add call that opens a specific fileno. 3013169691Skan * bits/basic_file.h: Add declarations. 3014169691Skan 3015169691Skan * testsuite/27/27hello.cc: New file. 3016169691Skan 3017169691Skan * bits/std_ostream.h: Move flush() inline. 3018169691Skan * bits/ostream.tcc: From here. 3019169691Skan 3020169691Skan * bits/char_traits.h: Add include of fpos.h for streamoff/streampos. 3021169691Skan * bits/std_ios.h: Change include libio to only when necessary. 3022169691Skan * bits/fpos.h: Like here. 3023169691Skan * ios_base.h: And here. 3024169691Skan 3025169691Skan * bits/locfacets.h: Change _Iostate to _Ios_Iostate. 3026169691Skan * bits/locfacets.tcc: Same. 3027169691Skan * bits/std_locale.h: Include std_ios.h not std_iosfwd.h. 3028169691Skan * bits/std_iosfwd.h: Move _Ios_Iostate to ios_base.h 3029169691Skan 3030169691Skan1999-03-09 Benjamin Kosnik <bkoz@rhino.cygnus.com> 3031169691Skan 3032169691Skan * bits/basic_ios.h: Change _M_ctype to _M_fctype. 3033169691Skan 3034169691Skan * bits/std_streambuf.h: Clean, tweak. 3035169691Skan * bits/std_fstream.h: Same. 3036169691Skan * bits/std_sstream.h: Same. 3037169691Skan * bits/streambuf.tcc: Move most member functions out-of-line. 3038169691Skan * bits/fstream.tcc: Same. 3039169691Skan * bits/streambuf.tcc: Same. 3040169691Skan 3041169691Skan * bits/basic_file.h(filepos_cur): Set correctly. 3042169691Skan (filepos_beg): Same. 3043169691Skan (seekpos): Change to __c_streampos. 3044169691Skan * src/basic_file.cc (std): Change to __c_streampos. 3045169691Skan 3046169691Skan * testsuite/27/27filebuf.cc: Round one is finished. 3047169691Skan * testsuite/27/27filebuf-2.tst: New file, final output should match. 3048169691Skan * testsuite/27/27filebuf-3.tst: Same. 3049169691Skan 3050169691Skan1999-03-08 Benjamin Kosnik <bkoz@rhino.cygnus.com> 3051169691Skan 3052169691Skan * bits/basic_file.h: Fix typo, add comments about what to expect 3053169691Skan from the various member functions in __basic_file. 3054169691Skan 3055169691Skan * bits/std_fstream.h: Re-do sync/underflow to work 3056169691Skan together. Change from sys_read to xsgetn and from sys_write to 3057169691Skan xsputn. As it should have been from the beginning. . . 3058169691Skan 3059169691Skan1999-03-06 Benjamin Kosnik <bkoz@haight.constant.com> 3060169691Skan 3061169691Skan * bits/c++config.h (__GLIBCPP__): Add versioning macro. 3062169691Skan 3063169691Skan * bits/basic_file.h(file_beg): New function. 3064169691Skan (file_cur): Ditto. 3065169691Skan 3066169691Skan * testsuite/27/27filebuf.cc: Test in, out, in | out. 3067169691Skan * bits/std_fstream.h: More _M_mode refinements. 3068169691Skan (synch): Add bits for out mode only. 3069169691Skan * bits/std_streambuf.h(xsputn): Correct for filebufs. 3070169691Skan * bits/std_sstream.h: Ditto. 3071169691Skan 3072169691Skan1999-03-03 Benjamin Kosnik <bkoz@cygnus.com> 3073169691Skan 3074169691Skan * bits/std_fstream.h: Fix _M_mode AND with ios_base::openmode. 3075169691Skan * testsuite/27/27filebuf.cc: Modify. 3076169691Skan * bits/c++config.h: Fix. 3077169691Skan 3078169691Skan1999-03-02 Benjamin Kosnik <bkoz@tintin.cygnus.com> 3079169691Skan 3080169691Skan * bits/c++config.h: New macro, _G_RESOLVE_LIB_DEFECTS, used to put 3081169691Skan code in place that diverges from the final standard, but has been 3082169691Skan brought up on the library mailing list. 3083169691Skan 3084169691Skan * bits/std_fstream.h(underflow): Position all three internal 3085169691Skan buffer pointers at the same initial position. Re-implement with 3086169691Skan basic_filebuf abstraction. 3087169691Skan (overflow): Ditto. 3088169691Skan (seekoff): Ditto. 3089169691Skan (seekpos): Ditto. 3090169691Skan * bits/std_sstream.h: Move _M_mode down into base class 3091169691Skan basic_streambuf. 3092169691Skan * bits/sstream.tcc: Ditto. 3093169691Skan * bits/std_streambuf.h: Ditto. 3094169691Skan 3095169691Skan * testsuite/27/27filebuf.cc: Tweak. 3096169691Skan 3097169691Skan1999-02-27 Benjamin Kosnik <bkoz@slap-happy.cygnus.com> 3098169691Skan 3099169691Skan * bits/std_sstream.h: Ditto. 3100169691Skan * bits/std_fstream.h: Fix blip. 3101169691Skan 3102169691Skan1999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com> 3103169691Skan 3104169691Skan * C++STYLE: Add cases. 3105169691Skan * bits/std_fstream.h: Format. 3106169691Skan * bits/std_streambuf.h: Ditto. 3107169691Skan * bits/std_sstream.h: Ditto. 3108169691Skan 3109169691Skan * src/basic_file.cc(sys_seek): Fix stack delirium, by keeping 3110169691Skan return type for _IO_file_seek and __basic_file::seek the same size. 3111169691Skan * bits/basic_file.h: Ditto. 3112169691Skan 3113169691Skan1999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com> 3114169691Skan 3115169691Skan * bits/fstream.tcc: Add include guards. 3116169691Skan * src/misc-inst.cc: Add instantiations for shared libes. 3117169691Skan * src/locale-inst.cc: Add instantiaions for use_facet. 3118169691Skan * bits/loccore.h: Remove specialization foward decls for 3119169691Skan use_facet<ctype>: perhaps add the whole lot of them later on. 3120169691Skan * bits/std_fstream.h: Fix. 3121169691Skan * bits/locfacets.h: Ditto. 3122169691Skan * src/stdstreams.cc: Disable wide streams for now. 3123169691Skan 3124169691Skan * src/Makefile.am (CXXFLAGS): Change up. 3125169691Skan * src/Makefile.in (CXXFLAGS): Ditto. 3126169691Skan 3127169691Skan1999-02-25 Benjamin Kosnik <bkoz@happy.cygnus.com> 3128169691Skan 3129169691Skan * src/basic_file.cc: Change to ios_base::seekdir from int. 3130169691Skan * bits/basic_file.h: Ditto. 3131169691Skan * bits/locfacets.h : Fix blip with new guard macros. 3132169691Skan 3133169691Skan1999-02-25 Benjamin Kosnik <bkoz@cygnus.com> 3134169691Skan 3135169691Skan * stl/bits/stl_config.h (__STL_USE_STD_ALLOCATORS): Minor tweaking. 3136169691Skan * bits/c++config.h: Clean. Remove _G_NO_STREAMBUF_ITERATORS and 3137169691Skan _G_USE_NAMESPACE. 3138169691Skan * amm1/locale: Remove unused defines. 3139169691Skan * generic/locale: Ditto. 3140169691Skan * src/ios.cc: Ditto. 3141169691Skan * src/locale.cc: Ditto. 3142169691Skan * src/locale-inst.cc: Ditto. 3143169691Skan * src/localename.cc: Ditto. 3144169691Skan * src/stdstreams.cc: And here. 3145169691Skan 3146169691Skan * bits/c++config.h (_G_USE_WCHAR_T): Fix. 3147169691Skan * bits/loccore.h: Simplify, clean, add wchar_t guards. 3148169691Skan * bits/loccore.tcc: Ditto. 3149169691Skan * bits/locfacets.h: Ditto. 3150169691Skan * src/locale-inst.cc: Ditto. 3151169691Skan * bits/locfacets.tcc: Add do_put long long here. 3152169691Skan 3153169691Skan1999-02-24 Benjamin Kosnik <bkoz@cygnus.com> 3154169691Skan 3155169691Skan * bits/std_streambuf.h: Add cached ctype facet, _M_ctype. 3156169691Skan * bits/basic_ios.h: Clean. Replace _M_strbuf with 3157169691Skan _M_streambuf. Use cached _M_cvt in basic_streambuf. 3158169691Skan * bits/std_istream.h: Replace _M_strbuf with _M_streambuf. 3159169691Skan * bits/std_fstream.h: Tweak. 3160169691Skan 3161169691Skan * bits/char_traits.h: Remove fpos definitions from here. . . 3162169691Skan * bits/fpos.h: New file, put them here. Eventually, this may allow 3163169691Skan the severing of char_traits and fpos dependencies. 3164169691Skan * src/Makefile.in: Add fpos.h. 3165169691Skan * src/Makefile.am: Ditto. 3166169691Skan * bits/std_string.h: Add fpos.h include here. 3167169691Skan * bits/std_ios.h: And here. 3168169691Skan 3169169691Skan * bits/std_streambuf.h: Change _M_init to _M_initialized. 3170169691Skan * bits/ios_base.h: Remove cstdio include. 3171169691Skan * bits/std_ios.h: ... Place here. 3172169691Skan 3173169691Skan1999-02-23 Benjamin Kosnik <bkoz@loony.cygnus.com> 3174169691Skan 3175169691Skan * src/Makefile.in (CXXFLAGS): Re-add -fvtable-thunks. 3176169691Skan * src/Makefile.am (CXXFLAGS): Re-add -fvtable-thunks. 3177169691Skan 3178169691Skan * bits/basic_file.h: Comment, adjust arguments. 3179169691Skan * src/basic_file.cc: Ditto. 3180169691Skan 3181169691Skan * bits/std_fstream.h(seekoff): Error is of fpos type, not integral 3182169691Skan type: check and convert accordingly. Re-interpet "resultant stream 3183169691Skan position" to indicate external byte sequence location, not internal 3184169691Skan buffer info. 3185169691Skan 3186169691Skan1999-02-22 Benjamin Kosnik <bkoz@loony.cygnus.com> 3187169691Skan 3188169691Skan * mkcshadow: And change copyright here. 3189169691Skan * src/Makefile.am (CXXFLAGS): Add -g -O2. Add new header 3190169691Skan dependencies for stl_pthread_alloc.h, pthread_allocimpl.h, 3191169691Skan stl_thread.h, and stl_iterator_base.h. 3192169691Skan * src/Makefile.in (CXXFLAGS): Ditto. 3193169691Skan * stl/backward/pthread_alloc.h: Remove. 3194169691Skan 3195169691Skan1999-02-19 Benjamin Kosnik <bkoz@loony.cygnus.com> 3196169691Skan 3197169691Skan * bits/std_streambuf.h (sungetc): Use standard defs for putback 3198169691Skan position. 3199169691Skan * bits/std_fstream.h (pbackfail): Correct. 3200169691Skan (sungetc): Test. 3201169691Skan (seekoff): Implement. 3202169691Skan (seekpos): Re-do. 3203169691Skan * testsuite/27/27filebuf.cc: Add test cases. 3204169691Skan 3205169691Skan1999-02-18 Benjamin Kosnik <bkoz@loony.cygnus.com> 3206169691Skan 3207169691Skan * bits/std_fstream.h: Go with basic_file's interfaces for dealing 3208169691Skan with the external buffers, and stop mucking around with setting 3209169691Skan and re-setting the external buf's pointers. Aka, clarity and 3210169691Skan simplicity rule the day. 3211169691Skan * src/locale.cc: Use memcpy in codecvt::do_in and codecvt::do_out. 3212169691Skan Remove partial result and support code. 3213169691Skan 3214169691Skan1999-02-18 Ulrich Drepper <drepper@cygnus.com> 3215169691Skan 3216169691Skan * configure.in: Add hypot, hypotf, atan2f, expf, and copysignf to 3217169691Skan list of function which have to be replaced. 3218169691Skan Remove expf from list of functions to test for. 3219169691Skan Define USE_LONG_DOUBLE in case the libm has partial support for long 3220169691Skan doubles. 3221169691Skan * Makefile.in: Regenerated. 3222169691Skan * config.h.in: Likewise. 3223169691Skan * configure: Likewise. 3224169691Skan * libio/Makefile.am (LIBIO_SRCS): Add missing backslash. 3225169691Skan * libio/Makefile.in: Regenerated. 3226169691Skan * src/Makefile.in: Regenerated. 3227169691Skan * string/Makefile.in: Regenerated. 3228169691Skan * math/Makefile.am (EXTRA_DIST): Add hypot.c, hypotf.c, hypotl.c, 3229169691Skan atan2f.c, expf.c, and $(EXTRA_yes). 3230169691Skan (EXTRA_yes): Add signbitl.c mycabsl.c. 3231169691Skan (libmath_la_LIBADD): Add $(EXTRA_$(USE_LONG_DOUBLE)). 3232169691Skan (libmath_la_SOURCES): remove long double versions. 3233169691Skan * math/Makefile.in: Regnerated. 3234169691Skan * math/atan2f.c: New file. 3235169691Skan * math/copysignf.c: New file. 3236169691Skan * math/expf.c: New file. 3237169691Skan * math/hypot.c: New file. 3238169691Skan * math/hypotf.c: New file. 3239169691Skan * math/hypotl.c: New file. 3240169691Skan * math/cargf.c: Use correct function and macro names. 3241169691Skan * math/ccos.c: Likewise. 3242169691Skan * math/ccosh.c: Likewise. 3243169691Skan * math/ccoshf.c: Likewise. 3244169691Skan * math/ccoshl.c: Likewise. 3245169691Skan * math/cexp.c: Likewise. 3246169691Skan * math/cexpf.c: Likewise. 3247169691Skan * math/cexpl.c: Likewise. 3248169691Skan * math/clog.c: Likewise. 3249169691Skan * math/clog10.c: Likewise. 3250169691Skan * math/clog10f.c: Likewise. 3251169691Skan * math/clog10l.c: Likewise. 3252169691Skan * math/clogf.c: Likewise. 3253169691Skan * math/clogl.c: Likewise. 3254169691Skan * math/copysignf.c: Likewise. 3255169691Skan * math/csin.c: Likewise. 3256169691Skan * math/csinf.c: Likewise. 3257169691Skan * math/csinh.c: Likewise. 3258169691Skan * math/csinhf.c: Likewise. 3259169691Skan * math/csinhl.c: Likewise. 3260169691Skan * math/csinl.c: Likewise. 3261169691Skan * math/csqrt.c: Likewise. 3262169691Skan * math/csqrtf.c: Likewise. 3263169691Skan * math/csqrtl.c: Likewise. 3264169691Skan * math/ctan.c: Likewise. 3265169691Skan * math/ctanf.c: Likewise. 3266169691Skan * math/ctanh.c: Likewise. 3267169691Skan * math/ctanhf.c: Likewise. 3268169691Skan * math/ctanhl.c: Likewise. 3269169691Skan * math/ctanl.c: Likewise. 3270169691Skan 3271169691Skan1999-02-17 Benjamin Kosnik <bkoz@cygnus.com> 3272169691Skan 3273169691Skan * testsuite/27/27filebuf.cc: Add cases. 3274169691Skan * testsuite/27/27filebuf-1.txt: Remove inadvertent garbage. 3275169691Skan * bits/std_streambuf.h: Simplify, always have one return statement. 3276169691Skan * bits/std_fstream.h: Tweak comments in underflow. 3277169691Skan 3278169691Skan1999-02-17 Ulrich Drepper <drepper@cygnus.com> 3279169691Skan 3280169691Skan * ltmain.sh: Update from libtool 1.2d and fix Solaris problems. 3281169691Skan * ltconfig: Likewise. 3282169691Skan 3283169691Skan1999-02-16 Christophe Pierret <cpierret@businessobjects.com> 3284169691Skan 3285169691Skan * src/locale.cc: Fix assert. 3286169691Skan 3287169691Skan1999-02-16 Benjamin Kosnik <bkoz@cygnus.com> 3288169691Skan 3289169691Skan FIXME: Still need some kind of solution for undefined math symbols. 3290169691Skan * src/Makefile.in (locale-inst.lo): Compile with 3291169691Skan -fimplicit-templates to fix Solaris link problem. 3292169691Skan * src/Makefile.am: Ditto. 3293169691Skan * libio/Makefile.in: Add stdfiles.c so that _IO_list_all is defined. 3294169691Skan * libio/Makefile.am: Ditto. 3295169691Skan * src/locale.cc: Provide some kind of def for _S_tolower. 3296169691Skan * bits/locfacets.h: Fix declarations of ctype<wchar_t> to 3297169691Skan match ctype<char> for _S_tolower, _S_toupper, _S_table. 3298169691Skan 3299169691Skan1999-02-10 Benjamin Kosnik <bkoz@cygnus.com> 3300169691Skan 3301169691Skan * bits/loccore.tcc: Move member-template ctor inline... 3302169691Skan * bits/loccore.h: ...here. 3303169691Skan * src/locale-inst.cc: Add instantiation here. 3304169691Skan 3305169691Skan * testsuite/27/27stringstream.cc: Tweak. 3306169691Skan 3307169691Skan * bits/ostream.tcc: Include sbuf_iter.h. 3308169691Skan 3309169691Skan * bits/ostream.tcc: Convert *this to ostreambuf_iterator before 3310169691Skan passing to num_put, as num_put's first argument is an interator, 3311169691Skan not basic_ostream. 3312169691Skan 3313169691Skan * testsuite/make_check_libfree++: New file, runs through the 3314169691Skan existing test files in the testsuite directory and makes sure 3315169691Skan they link. 3316169691Skan 3317169691Skan1999-02-10 Brendan Kehoe <brendan@cygnus.com> 3318169691Skan 3319169691Skan * testsuite/21/21compare.cc: Fix typo. 3320169691Skan * src/locale.cc (ctype<wchar_t>::_S_{toupper,tolower,table}): 3321169691Skan Don't try to provide non-linux versions, since it's impossible to 3322169691Skan initialize their const references with the integer 0, no matter 3323169691Skan how we try to cast it. 3324169691Skan 3325169691Skan1999-02-10 Benjamin Kosnik <bkoz@cygnus.com> 3326169691Skan 3327169691Skan * bits/std_locale.h: Move std_vector.h dependency. 3328169691Skan * bits/std_ios.h: ...from here. 3329169691Skan * bits/std_string.h: ...and here. 3330169691Skan * src/locale.cc: ..to here. 3331169691Skan * bits/loccore.h: Ditto, add vector forward declaration, 3332169691Skan make locale::_Impl data members pointers not containers. 3333169691Skan * bits/loccore.tcc: Move out-of-line for now. 3334169691Skan * bits/locfacets.h: Move vector dependency from here... 3335169691Skan * bits/locfacets.tcc: ...to here. 3336169691Skan * src/localename.cc: ..and here. 3337169691Skan * src/locale-inst.cc: Add include of locfacets.tcc here. 3338169691Skan 3339169691Skan * stl/bits/stl_string_fwd.h: Make __get_c_string non-static. 3340169691Skan * bits/basic_string.h: Can't use sizeof on an incomplete type. 3341169691Skan * bits/string.tcc: Tweak. 3342169691Skan * src/string.cc: And add __get_c_string def here. 3343169691Skan 3344169691Skan * bits/std_fstream.h: Yeah, comment the fill_n idea out as impractical. 3345169691Skan 3346169691Skan * src/stlinst.cc: Add include of stl_config.h. 3347169691Skan 3348169691Skan1999-02-09 Benjamin Kosnik <bkoz@cygnus.com> 3349169691Skan 3350169691Skan * stl/bits/std_bitset.h: Update to SGI STL 3.12. 3351169691Skan * stl/bits/stl_config.h: Tweak, update. 3352169691Skan * stl/bits/std_stdexcept.h: Ditto, change stl_exception to 3353169691Skan std_exception. 3354169691Skan * stl/bits/std_memory.h: Reconstructed auto_ptr, Ditto. 3355169691Skan * stl/bits/std_functional.h: Ditto. 3356169691Skan 3357169691Skan * stl/bits/stl_string.h: New file, SGI's string 3358169691Skan implementation. For reference only, corresponding to string in 3359169691Skan 3.12 source. 3360169691Skan * stl/bits/stl_char_traits.h: As above. 3361169691Skan 3362169691Skan * stl/bits/pthread_allocimpl.h: New file corresponding to 3363169691Skan pthread_alloc. 3364169691Skan * stl/bits/stl_pthread_alloc.h: New file corresponding to 3365169691Skan pthread_alloc.h 3366169691Skan * stl/bits/stl_threads.h: New file. 3367169691Skan 3368169691Skan Note that SGI STL 3.12's file iterator.h is not used. 3369169691Skan * stl/bits/std_iterator.h: Ditto. 3370169691Skan * stl/bits/stl_iterator.h: Drop in replace. 3371169691Skan * stl/bits/stl_iterator_base.h: New file, drop in replace. 3372169691Skan 3373169691Skan * stl/bits/stl_queue.h, stl_rope.h, stl_set.h, stl_stack.h, 3374169691Skan stl_string_fwd.h, stl_tempbuf.h, stl_tree.h, stl_vector.h, 3375169691Skan stl_pair.h, stl_multimap.h, stl_multiset.h, stl_list.h, 3376169691Skan stl_hashtable.h, stl_hash_set.h, stl_hash_map.h, stl_function.h, 3377169691Skan stl_deque.h, stl_alloc.h, stl_algo.h, stl_algobase.h, ropeimpl.h: 3378169691Skan Drop-in replace (ie, stop changing __SGI_STL_* to _CPP_BITS_* for 3379169691Skan preprocessor guards, but fixup include paths and names according 3380169691Skan to new directory layout). 3381169691Skan 3382169691Skan1999-02-05 Benjamin Kosnik <bkoz@cygnus.com> 3383169691Skan 3384169691Skan * bits/std_fstream.h: Remove _M_open data member. 3385169691Skan * bits/fstream.tcc: Ditto. 3386169691Skan 3387169691Skan * src/locale.cc: Tweak. 3388169691Skan 3389169691Skan * bits/std_sstream.h: Simplify. 3390169691Skan 3391169691Skan * bits/std_streambuf.h: Simplify. 3392169691Skan (sputc): Use correct definition of "write area." 3393169691Skan 3394169691Skan * bits/std_fstream.h: Fix uflow. 3395169691Skan * src/basic_file.cc: Tweak. 3396169691Skan * testsuite/27/27filebuf.cc: Add tests. 3397169691Skan * testsuite/27/27filebuf-3.txt: Rename to *-2.txt. 3398169691Skan 3399169691Skan1999-02-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de> 3400169691Skan 3401169691Skan * bits/ios_base.h: Make protected. 3402169691Skan 3403169691Skan1999-02-01 Ryszard Kabatek <kabatek@chemie.uni-halle.de> 3404169691Skan 3405169691Skan * bits/ios_base.h: Changes in the class ios_base: 3406169691Skan Rename _M_exceptions member to _M_exceptions_data. 3407169691Skan Make the member functions rdstate(), clear(), exceptions() 3408169691Skan and exceptions(iostate) protected and add the "_M_" prefix. 3409169691Skan * src/ios.cc: Ditto. 3410169691Skan * bits/basic_ios.h: Adapt the changes from ios_base. 3411169691Skan 3412169691Skan1999-01-29 Benjamin Kosnik <bkoz@cygnus.com> 3413169691Skan 3414169691Skan * bits/std_fstream.h: Remove _M_flags, _M_equilibrate as unnecessary. 3415169691Skan * bits/fstream.tcc: Ditto. 3416169691Skan 3417169691Skan * bits/std_fstream.h (underflow): Resize deallocates memory and 3418169691Skan resets pointers in the internal cache according to new _M_buf. . dooh! 3419169691Skan * src/locale.cc: Mas changes with codecvt::do_in, do_out. 3420169691Skan 3421169691Skan1999-01-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de> 3422169691Skan 3423169691Skan * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the 3424169691Skan standard. 3425169691Skan 3426169691Skan1999-01-28 Benjamin Kosnik <bkoz@cygnus.com> 3427169691Skan 3428169691Skan * src/locale.cc (codecvt::do_in): Finer-grained tuning to take 3429169691Skan into account partial returns. 3430169691Skan (codecvt::do_out): Likewise. 3431169691Skan 3432169691Skan * bits/char_traits.h: Change streamsize to be a signed type, as 3433169691Skan required by 27.4.1 Types p 2. (Changing to _IO_ssize_t.) 3434169691Skan * bits/std_streambuf.h: Make 3435169691Skan in_avail() and showmanyc() have streamsize as return types, so 3436169691Skan that showmanyc()'s return of eof won't underflow in_avail's return 3437169691Skan value and give a bogus result. 3438169691Skan * src/misc-inst.cc: And more changes. . . 3439169691Skan 3440169691Skan * bits/std_streambuf.h (basic_streambuf): Add _M_buf_unified to keep 3441169691Skan track of joint in/out pointers into the internal buffer. 3442169691Skan (sbumpc): Add check for _M_buf_unified. 3443169691Skan (sputbackc): Ditto. 3444169691Skan (sungetc): Ditto. 3445169691Skan 3446169691Skan * testsuite/27/27filebuf.cc: Add cases. 3447169691Skan * testsuite/27/27stringbuf.cc: Add showmanyc case. 3448169691Skan 3449169691Skan * bits/std_fstream.h (close): Fix logic error. 3450169691Skan (open): Initialize internal pointers based on _M_buf and _M_buf_size. 3451169691Skan (showmanyc): Add underflow component, to match the standard. 3452169691Skan 3453169691Skan * bits/fstream.tcc: Ditto. 3454169691Skan 3455169691Skan1999-01-27 Benjamin Kosnik <bkoz@cygnus.com> 3456169691Skan 3457169691Skan * bits/basic_file.h: Match vtables w/ _IO_FILE_plus. 3458169691Skan * src/basic_file.cc: Ditto. 3459169691Skan * src/Makefile.in: Add -fvtable-thunks to CXXFLAGS: preferred 3460169691Skan format for dealing with _IO_file in libio. 3461169691Skan 3462169691Skan1999-01-27 Ulrich Drepper <drepper@cygnus.com> 3463169691Skan 3464169691Skan * src/basic_file.cc: Include fcntl.h. 3465169691Skan 3466169691Skan1999-01-27 Benjamin Kosnik <bkoz@cygnus.com> 3467169691Skan 3468169691Skan * libio/Makefile.in: Add fileops.lo, genops.lo to objects to debug 3469169691Skan libio calls. 3470169691Skan * bits/std_streambuf.h: Redefine read posion. 3471169691Skan 3472169691Skan * bits/std_fstream.h: Temporary hack to get vtables working again. 3473169691Skan * bits/basic_file.h: Revert. 3474169691Skan * src/basic_file.cc: Ditto. 3475169691Skan * testsuite/27/27filebuf.cc: Tweak. 3476169691Skan 3477169691Skan1999-01-26 Benjamin Kosnik <bkoz@cygnus.com> 3478169691Skan 3479169691Skan * bits/basic_file.h: Add showmanyc, underflow. . 3480169691Skan * src/basic_file.cc: Ditto. 3481169691Skan 3482169691Skan * bits/std_fstream.h (showmanyc): Add bits to ping libio to see if more 3483169691Skan chars can be read. 3484169691Skan 3485169691Skan * testsuite/27/27filebuf.cc: Add testcases. 3486169691Skan * src/basic_file.cc: Add O_CREAT to open calls with 3487169691Skan ios_base::trunc as part of the open mode. 3488169691Skan 3489169691Skan1999-01-26 Ryszard Kabatek <kabatek@chemie.uni-halle.de> 3490169691Skan 3491169691Skan * bits/basic_ios.h: fix basic_ios::exceptions(iostate) 3492169691Skan 3493169691Skan1999-01-25 Benjamin Kosnik <bkoz@nabi.net> 3494169691Skan 3495169691Skan * src/ios.cc (clear): Correct typo. 3496169691Skan * bits/ios_base.h: Tweak spacing. 3497169691Skan 3498169691Skan1999-01-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de> 3499169691Skan 3500169691Skan * bits/basic_ios.h: fix basic_ios::fail() 3501169691Skan 3502169691Skan1999-01-25 Benjamin Kosnik <bkoz@loony.cygnus.com> 3503169691Skan 3504169691Skan * bits/basic_file.h: Include libioP.h from libio instead of here. 3505169691Skan * bits/iolibio.h: Remove. 3506169691Skan * bits/libio.h: Remove. 3507169691Skan 3508169691Skan1999-01-22 Benjamin Kosnik <bkoz@lunatic.cygnus.com> 3509169691Skan 3510169691Skan * bits/std_fstream.h: Tweak cvt-> in call for newer egcs compilers. 3511169691Skan 3512169691Skan1999-01-22 Ulrich Drepper <drepper@cygnus.com> 3513169691Skan 3514169691Skan * Makefile.am (SUBDIRS): Add libio. 3515169691Skan * configure.in: Add rule to test for glibc2. 3516169691Skan 3517169691Skan * src/Makefile.am (INCLUDES): Add -I to libio subdir. 3518169691Skan (libstdc___la_LIBADD): Add libio.la. 3519169691Skan 3520169691Skan1999-01-21 Benjamin Kosnik <bkoz@cygnus.com> 3521169691Skan 3522169691Skan * bits/basic_file.h: Make new abstraction for underlying C library 3523169691Skan FILE, named __basic_file. 3524169691Skan * src/basic_file.cc: New file. 3525169691Skan * bits/os_raw.h: Delete. 3526169691Skan * src/os_raw.cc: Delete. 3527169691Skan * src/Makefile.in: Tweak. 3528169691Skan * src/Makefile.am: Tweak. 3529169691Skan * bits/iolibio.h: Add this here, for the time being. 3530169691Skan * bits/libioP.h: Ditto. 3531169691Skan 3532169691Skan * bits/ios_base.h: Delete unused defines. 3533169691Skan * src/locale.cc (codecvt<char, char, mbstate_t>::do_in): Use 3534169691Skan strcpy to copy between the two buffers. 3535169691Skan 3536169691Skan * testsuite/27/27stringbuf.cc: Change license, fix in_avail tests. 3537169691Skan * testsuite/27/27filebuf.cc: New file. 3538169691Skan * testsuite/27/27filebuf-1.txt: Data file for above test. 3539169691Skan * testsuite/27/27filebuf-2.txt: Ditto. 3540169691Skan 3541169691Skan * bits/std_streambuf.h (uflow): Re-implement default. 3542169691Skan * bits/std_fstream.h: Set _M_buf_size based on cstdio's BUFSIZ. 3543169691Skan Re-implement virtual functions. 3544169691Skan * bits/fstream.tcc: Delete unused mf's. 3545169691Skan 3546