1 1.1 mrg 1998-12-31 Benjamin Kosnik <bkoz (a] lunatic.cygnus.com> 2 1.1 mrg 3 1.1 mrg * bits/fstream.tcc: Add fstream ctor for cin/cout/etc. 4 1.1 mrg * bits/std_fstream.h: Ditto. 5 1.1 mrg * src/stdstreams.cc: Ditto. 6 1.1 mrg 7 1.1 mrg * math/cpowl.c: Fix header typo with last change. 8 1.1 mrg 9 1.1 mrg 1998-12-31 Benjamin Kosnik <bkoz (a] loony.cygnus.com> 10 1.1 mrg 11 1.1 mrg * COPYING: New file (GPL v 2). 12 1.1 mrg * LICENSE.STD: Remove. 13 1.1 mrg * ./*: Change license. 14 1.1 mrg 15 1.1 mrg 1998-12-30 Benjamin Kosnik <bkoz (a] haight.constant.com> 16 1.1 mrg 17 1.1 mrg * bits/std_streambuf.h (std): Remove static on _M_init. 18 1.1 mrg * bits/streambuf.tcc (std): Ditto. 19 1.1 mrg 20 1.1 mrg * bits/std_fstream.h: Add changes as discussed with Nathan, including 21 1.1 mrg state_type and codecvt_type members, the allocation of an internal 22 1.1 mrg buffer, the streamlined codecvt calls, etc. 23 1.1 mrg 24 1.1 mrg 1998-12-21 Benjamin Kosnik <bkoz (a] haight.constant.com> 25 1.1 mrg 26 1.1 mrg * bits/std_sstream.h: Tweak. 27 1.1 mrg * bits/fstream.tcc: Remove unused stubs. 28 1.1 mrg * bits/std_fstream.h: Tweak. 29 1.1 mrg 30 1.1 mrg 1998-12-17 Benjamin Kosnik <bkoz (a] tintin.cygnus.com> 31 1.1 mrg 32 1.1 mrg * bits/std_streambuf.h: Move _IO_file_flags into basic_filebuf. 33 1.1 mrg Remove unused _IO_* members, possibly put into filebuf, which may 34 1.1 mrg need them. 35 1.1 mrg * bits/std_fstream.h: Add _M_flag. 36 1.1 mrg * bits/sbuf_iter.h: Tweak. 37 1.1 mrg 38 1.1 mrg * bits/std_cstdio.h: Add SEEK_SET, SEEK_END, SEEK_CUR. 39 1.1 mrg * bits/ios_base.h: Use. 40 1.1 mrg 41 1.1 mrg * src/stdstreams.cc: Modify to reflect standard ctors for 42 1.1 mrg filebuf. 43 1.1 mrg * src/misc-inst.cc: Ditto. 44 1.1 mrg 45 1.1 mrg * bits/os_raw.h: Wrap in std namespace. Model parameters on 46 1.1 mrg underlying C library calls instead of the underlying unix 47 1.1 mrg filesystem. 48 1.1 mrg * src/os_raw.cc (_S_os_open): Use fopen, and compute a mode 49 1.1 mrg string as per p.659. 50 1.1 mrg (_S_os_close): Model on fopen. 51 1.1 mrg (_S_os_read): Model on fread. 52 1.1 mrg (_S_os_write): Model on fwrite. 53 1.1 mrg (_S_os_seek): Model on fseek. 54 1.1 mrg 55 1.1 mrg * bits/ios_base.h: Tweak. 56 1.1 mrg * bits/std_iosfwd.h: Wrap libio.h include with extern "C". 57 1.1 mrg * bits/std_sstream.h: Tweak. 58 1.1 mrg * bits/sstream.tcc: Remove old, uncalled code. 59 1.1 mrg * bits/std_fstream.h: Major reconstruction. 60 1.1 mrg * bits/fstream.tcc: Disable for the time being. 61 1.1 mrg 62 1.1 mrg 1998-12-11 Benjamin Kosnik <bkoz (a] haight.constant.com> 63 1.1 mrg 64 1.1 mrg * bits/basic_string.h: Fix insert method. 65 1.1 mrg * stl/bits/stl_iterator.h: Remove previous hack. 66 1.1 mrg * bits/std_streambuf.h (sbumpc): Correct increment/return oddness. 67 1.1 mrg * bits/std_sstream.h: Fix more regressions. 68 1.1 mrg * testsuite/27/27stringbuf.C: Add (almost) complete tests. 69 1.1 mrg 70 1.1 mrg 1998-12-09 Benjamin Kosnik <bkoz (a] loony.cygnus.com> 71 1.1 mrg 72 1.1 mrg * bits/basic_string.h: Tweak. 73 1.1 mrg 74 1.1 mrg * stl/bits/stl_iterator.h: Specialize iterator_traits for int so 75 1.1 mrg that string::append can be instantiated. HACK--checkin 76 1.1 mrg basic_string::iterator class. 77 1.1 mrg 78 1.1 mrg 1998-12-07 Benjamin Kosnik <bkoz (a] haight.constant.com> 79 1.1 mrg 80 1.1 mrg * bits/std_sstream.h: Tweak. 81 1.1 mrg * bits/sstream.tcc: Tweak ctors. 82 1.1 mrg 83 1.1 mrg FIXME invalid friend defs. . WHERE ARE THEY?? 84 1.1 mrg 85 1.1 mrg * bits/sbuf_iter.h (istreambuf_iterator::equal): Change to new 86 1.1 mrg names for basic_streambuf data members. 87 1.1 mrg 88 1.1 mrg * bits/std_streambuf.h: Add getloc() initialization bits. 89 1.1 mrg basic_streambuf(): Initialize with global locale data. 90 1.1 mrg imbue(): Set _M_init. 91 1.1 mrg 92 1.1 mrg * bits/std_streambuf.h(seekoff, seekpos): Complete with invalid 93 1.1 mrg stream pos == pos_type(off_type(-1)). 94 1.1 mrg in_avail(): Complete default implementation. 95 1.1 mrg snextc, sbumpc, sputbackc, sungetc, sputc, setg, xsputn, 96 1.1 mrg underflow, uflow, xsgetn, showmany, sync: Ditto. 97 1.1 mrg 98 1.1 mrg * bits/std_streambuf.h: _M_snextc_helper(): Remove. 99 1.1 mrg 100 1.1 mrg * bits/streambuf.tcc (sputbackc): Temporarily remove, need to 101 1.1 mrg re-populate with in-line member functions that are too big. Add 102 1.1 mrg initialization for _M_init. 103 1.1 mrg 104 1.1 mrg 1998-12-03 Benjamin Kosnik <bkoz (a] cygnus.com> 105 1.1 mrg 106 1.1 mrg * bits/sstream.tcc: Convert _Allocator to _Alloc. Add typedefs 107 1.1 mrg for basic_string and basic_streambuf. Scope _IO_buf_* pointers to 108 1.1 mrg streambuf_type. 109 1.1 mrg 110 1.1 mrg * src/stdstreams.cc (std): Disable wchar_t instantiations. 111 1.1 mrg 112 1.1 mrg * bits/c++config.h (_G_DEPRICATED): Add. 113 1.1 mrg (_G_USE_WCHAR_T): Add. 114 1.1 mrg * bits/std_streambuf.h: Radical reconstruction of basic_streambuf. 115 1.1 mrg Take out _Streambuf_base. Put _IO_FILE data member in basic_filebuf. 116 1.1 mrg * bits/streambuf.tcc (sputbackc): Remove ctor anti-def, Tweak. 117 1.1 mrg * bits/std_fstream.h: Add comment for implementation. 118 1.1 mrg * src/streambuf.cc: Remove. 119 1.1 mrg * src/Makefile.in: Remove streambuf.lo. 120 1.1 mrg * src/misc-inst.cc: Tweak. 121 1.1 mrg 122 1.1 mrg 1998-12-02 Benjamin Kosnik <bkoz (a] cygnus.com> 123 1.1 mrg 124 1.1 mrg * bits/std_sstream.h: Add const_cast to rdbuf returns. 125 1.1 mrg * testsuite/27stringstream.C: Modify. 126 1.1 mrg 127 1.1 mrg 1998-11-25 Benjamin Kosnik <bkoz (a] haight.constant.com> 128 1.1 mrg 129 1.1 mrg * src/Makefile.in (libstdc___la_OBJECTS): Add streambuf.lo. 130 1.1 mrg (libstdc___la_SOURCES): Ditto. 131 1.1 mrg 132 1.1 mrg * bits/streambuf.tcc: Tweak. 133 1.1 mrg 134 1.1 mrg * src/streambuf.cc: New file, add out-of-line definitions for 135 1.1 mrg _Streambuf_base. 136 1.1 mrg 137 1.1 mrg * src/misc-inst.cc: Remove _Streambuf_base instantiations. 138 1.1 mrg Comment out wchar_t versions of the buffer instantiations, for now. 139 1.1 mrg 140 1.1 mrg * bits/std_streambuf.h: Wrap libio.h include with extern "C". 141 1.1 mrg Remove template wrapper around _Streambuf_base. 142 1.1 mrg Move IO_* data members into _Streambuf_base. 143 1.1 mrg Move _Streambuf_base members into streambuf.tcc. 144 1.1 mrg 145 1.1 mrg * bits/c++config.h (_G_USE_LIBIO): Enable. 146 1.1 mrg 147 1.1 mrg 1998-11-02 Nathan Myers <ncm (a] cantrip.org> 148 1.1 mrg 149 1.1 mrg * CHECKLIST: downgrade iterator implementations 150 1.1 mrg * DESIGN: fill out notes about unimplemented features 151 1.1 mrg 152 1.1 mrg 1998-10-31 Nathan Myers <ncm (a] cantrip.org> 153 1.1 mrg 154 1.1 mrg * CHECKLIST: itemized list of all interfaces, and status of each. 155 1.1 mrg 156 1.1 mrg 1998-10-30 Nathan Myers <ncm (a] cantrip.org> 157 1.1 mrg 158 1.1 mrg * RELEASE-NOTES: add notes about optional includes, linking, running 159 1.1 mrg * src/Makefile.am: handle header installs properly 160 1.1 mrg * src/Makefile.in: regenerate from new src/Makefile.am 161 1.1 mrg 162 1.1 mrg 1998-10-30 Benjamin Kosnik <bkoz (a] loony.cygnus.com> 163 1.1 mrg 164 1.1 mrg * bits/basic_string.h: Revert npos pending ciso646. 165 1.1 mrg * src/Makefile.am: Revert CXX flags for now. 166 1.1 mrg * src/Makefile.in: Ditto. 167 1.1 mrg 168 1.1 mrg 1998-10-30 Brendan Kehoe <brendan (a] cygnus.com> 169 1.1 mrg 170 1.1 mrg * bits/std_sstream.h: Re-order ctors to put base before member 171 1.1 mrg inits. 172 1.1 mrg 173 1.1 mrg 1998-10-30 Ryszard Kabatek <kabatek (a] chemie.uni-halle.de> 174 1.1 mrg 175 1.1 mrg * stl/bits/std_memory.h: Fix typo. 176 1.1 mrg 177 1.1 mrg 1998-10-30 Nathan Myers <ncm (a] cantrip.org> 178 1.1 mrg 179 1.1 mrg * src/string[A-Z]+.cc: change back to include "string.cc". 180 1.1 mrg * src/Makefile.am: revert filename changes. We need a different 181 1.1 mrg way to keep filenames in std/ from confusing Make. 182 1.1 mrg * bits/basic_string.h: define _S_max_size right, return it from 183 1.1 mrg string::max_size(); churn definition of npos again. 184 1.1 mrg * bits/string.tcc: fix _S_frob_size to avoid uint overflow. 185 1.1 mrg * bits/ios.cc: remove #ifdef on ios_base locale member initialization 186 1.1 mrg * BUGS: clear cruft. 187 1.1 mrg * C++STYLE: Touchup for release. 188 1.1 mrg * CHECKLIST: Touchup for release. 189 1.1 mrg * DESIGN: New file. 190 1.1 mrg * LICENSE.STD: Add requirement to retain copyrights and to provide 191 1.1 mrg the license with any copies. 192 1.1 mrg * README: Update for release. 193 1.1 mrg * TODO: Minor touchup for release. 194 1.1 mrg * RELEASE-NOTES: prepare for release 195 1.1 mrg 196 1.1 mrg 1998-10-29 Ulrich Drepper <drepper (a] cygnus.com> 197 1.1 mrg 198 1.1 mrg * src/string[A-Z]+.cc: Include stdstring.cc, not string.cc. 199 1.1 mrg 200 1.1 mrg * src/Makefile.am (CXXFLAGS): Define _GNU_SOURCE. 201 1.1 mrg 202 1.1 mrg * src/Makefile.am (CXXLINK): New variable. Make sure we don't use 203 1.1 mrg CXX to generate the shared object. 204 1.1 mrg 205 1.1 mrg * src/Makefile.am (headers): Remove duplicated char_traits.h. 206 1.1 mrg 207 1.1 mrg 1998-10-29 Brendan Kehoe <brendan (a] cygnus.com> 208 1.1 mrg 209 1.1 mrg * bits/basic_string.h (basic_string<>::max_size): Subtract 1, not 210 1.1 mrg 2, from npos, solving infinite loop problems. 211 1.1 mrg 212 1.1 mrg 1998-10-29 18:41 Ulrich Drepper <drepper (a] cygnus.com> 213 1.1 mrg 214 1.1 mrg * src/Makefile.am: Add rules to install headers. 215 1.1 mrg 216 1.1 mrg 1998-10-29 Nathan Myers <ncm (a] cantrip.org> 217 1.1 mrg 218 1.1 mrg * bits/std_ostream.h: Remove #ifdef on operator<< for long double 219 1.1 mrg * bits/ostream.tcc: Remove #ifdef on operator<< for long double 220 1.1 mrg * shadow/libio.h: 221 1.1 mrg * shadow/unistd.h: 222 1.1 mrg * shadow/bits/wrap_libio.h: 223 1.1 mrg * shadow/bits/wrap_unistd.h: New files. 224 1.1 mrg 225 1.1 mrg 1998-10-29 Brendan Kehoe <brendan (a] cygnus.com> 226 1.1 mrg 227 1.1 mrg * bits/ostream.tcc (operator<<): Wrap with #ifdef 228 1.1 mrg _G_HAVE_LONG_DOUBLE_IO, to match bits/std_ostream.h. 229 1.1 mrg 230 1.1 mrg 1998-10-29 Ulrich Drepper <drepper (a] cygnus.com> 231 1.1 mrg 232 1.1 mrg * src/Makefile.am: Add temporarily rules to make sure misc-inst.cc 233 1.1 mrg is not compiled with -fno-implicit-templates in effect. 234 1.1 mrg 235 1.1 mrg * src/Makefile.am (EXTRA_SOURCES): Add string.cc and wstring.cc here. 236 1.1 mrg (libstdc___la_SOURCES): Add all the string*.cc and wstring*.cc files. 237 1.1 mrg * src/stringADDCS.cc: Wrapper around string.cc to define individual 238 1.1 mrg function. 239 1.1 mrg * src/stringADDPS.cc: Likewise. 240 1.1 mrg * src/stringADDSC.cc: Likewise. 241 1.1 mrg * src/stringADDSP.cc: Likewise. 242 1.1 mrg * src/stringADDSS.cc: Likewise. 243 1.1 mrg * src/stringBIST.cc: Likewise. 244 1.1 mrg * src/stringBOST.cc: Likewise. 245 1.1 mrg * src/stringCHTR.cc: Likewise. 246 1.1 mrg * src/stringEQPS.cc: Likewise. 247 1.1 mrg * src/stringEQSP.cc: Likewise. 248 1.1 mrg * src/stringEQSS.cc: Likewise. 249 1.1 mrg * src/stringEXTRA.cc: Likewise. 250 1.1 mrg * src/stringGEPS.cc: Likewise. 251 1.1 mrg * src/stringGESP.cc: Likewise. 252 1.1 mrg * src/stringGESS.cc: Likewise. 253 1.1 mrg * src/stringGETLI.cc: Likewise. 254 1.1 mrg * src/stringGTPS.cc: Likewise. 255 1.1 mrg * src/stringGTSP.cc: Likewise. 256 1.1 mrg * src/stringGTSS.cc: Likewise. 257 1.1 mrg * src/stringINSER.cc: Likewise. 258 1.1 mrg * src/stringLEPS.cc: Likewise. 259 1.1 mrg * src/stringLESP.cc: Likewise. 260 1.1 mrg * src/stringLESS.cc: Likewise. 261 1.1 mrg * src/stringLTPS.cc: Likewise. 262 1.1 mrg * src/stringLTSP.cc: Likewise. 263 1.1 mrg * src/stringLTSS.cc: Likewise. 264 1.1 mrg * src/stringMAIN.cc: Likewise. 265 1.1 mrg * src/stringNEPS.cc: Likewise. 266 1.1 mrg * src/stringNESP.cc: Likewise. 267 1.1 mrg * src/stringNESS.cc: Likewise. 268 1.1 mrg * src/stringSCOPY.cc: Likewise. 269 1.1 mrg * src/wstringADDCS.cc: Wrapper around wstring.cc to define individual 270 1.1 mrg functions. 271 1.1 mrg * src/wstringADDPS.cc: Likewise. 272 1.1 mrg * src/wstringADDSC.cc: Likewise. 273 1.1 mrg * src/wstringADDSP.cc: Likewise. 274 1.1 mrg * src/wstringADDSS.cc: Likewise. 275 1.1 mrg * src/wstringBIST.cc: Likewise. 276 1.1 mrg * src/wstringBOST.cc: Likewise. 277 1.1 mrg * src/wstringCHTR.cc: Likewise. 278 1.1 mrg * src/wstringEQPS.cc: Likewise. 279 1.1 mrg * src/wstringEQSP.cc: Likewise. 280 1.1 mrg * src/wstringEQSS.cc: Likewise. 281 1.1 mrg * src/wstringEXTRA.cc: Likewise. 282 1.1 mrg * src/wstringGEPS.cc: Likewise. 283 1.1 mrg * src/wstringGESP.cc: Likewise. 284 1.1 mrg * src/wstringGESS.cc: Likewise. 285 1.1 mrg * src/wstringGETLI.cc: Likewise. 286 1.1 mrg * src/wstringGTPS.cc: Likewise. 287 1.1 mrg * src/wstringGTSP.cc: Likewise. 288 1.1 mrg * src/wstringGTSS.cc: Likewise. 289 1.1 mrg * src/wstringINSER.cc: Likewise. 290 1.1 mrg * src/wstringLEPS.cc: Likewise. 291 1.1 mrg * src/wstringLESP.cc: Likewise. 292 1.1 mrg * src/wstringLESS.cc: Likewise. 293 1.1 mrg * src/wstringLTPS.cc: Likewise. 294 1.1 mrg * src/wstringLTSP.cc: Likewise. 295 1.1 mrg * src/wstringLTSS.cc: Likewise. 296 1.1 mrg * src/wstringMAIN.cc: Likewise. 297 1.1 mrg * src/wstringNEPS.cc: Likewise. 298 1.1 mrg * src/wstringNESP.cc: Likewise. 299 1.1 mrg * src/wstringNESS.cc: Likewise. 300 1.1 mrg * src/wstringSCOPY.cc: Likewise. 301 1.1 mrg * src/string.cc: Remove now unneeded #defines now. 302 1.1 mrg 303 1.1 mrg 1998-10-29 Nathan Myers <ncm (a] cantrip.org> 304 1.1 mrg 305 1.1 mrg * bits/locfacets.tcc: Define num_put::put(... const void*), improve 306 1.1 mrg integer formatting. 307 1.1 mrg * bits/ostream.tcc: Delete cruft, rewrite various op<< as members, 308 1.1 mrg add definitions for double, long double, const void*. 309 1.1 mrg * bits/std_ostream.h: Move op<<'s back into class ostream, 310 1.1 mrg define some in-line. 311 1.1 mrg * bits/string.tcc: fix unnecessary-copying bug in op[], typos in 312 1.1 mrg string construction from input iterators that Brendan reported. 313 1.1 mrg 314 1.1 mrg 315 1.1 mrg 1998-10-28 Brendan Kehoe <brendan (a] cygnus.com> 316 1.1 mrg 317 1.1 mrg * stl/bits/stl_pair.h (op!=, op>, p<=, op>=): Add missing definitions. 318 1.1 mrg 319 1.1 mrg * bits/valarray_meta.h (class _Constant): Move declaration to the 320 1.1 mrg top, so the rest of the file can grok it. 321 1.1 mrg (_ApplyBinaryFunction::operator[]): Add missing parenthesis. 322 1.1 mrg 323 1.1 mrg * bits/std_sstream.h (basic_ostringstream::str): Fix typo of extra 324 1.1 mrg semicolon. 325 1.1 mrg (basic_stringstream::str, both instances): Likewise. 326 1.1 mrg 327 1.1 mrg 1998-10-28 Nathan Myers <ncm (a] cantrip.org> 328 1.1 mrg 329 1.1 mrg * bits/locfacets.h: fix num_put<>::falsename() 330 1.1 mrg * bits/locfacets.tcc: fix _Format_cache<>::_M_populate bool name init 331 1.1 mrg * testsuite/27/27octfmt.C, testsuite/27/27octfmt.C: new tests 332 1.1 mrg * bits/locfacets.tcc: touch up _S_group_digits. 333 1.1 mrg * src/misc-inst.cc: adjust _S_group_digits insts to match. 334 1.1 mrg 335 1.1 mrg 1998-10-27 Nathan Myers <ncm (a] cantrip.org> 336 1.1 mrg 337 1.1 mrg * stl/bits/stl_config.h: Turn off long long support, for now. 338 1.1 mrg * src/locale-inst.cc: Instantiate num_put<> only for 339 1.1 mrg ostreambuf_iterator, num_get only for istreambuf_iterator. 340 1.1 mrg * src/misc-inst.cc: Delete duplicate locale-related instantiations, 341 1.1 mrg add lots of new instantiations for num_put support function templates; 342 1.1 mrg remove junk about __match_parallel for ostreambuf_iterator. 343 1.1 mrg 344 1.1 mrg 1998-10-27 Nathan Myers <ncm (a] cantrip.org> 345 1.1 mrg 346 1.1 mrg * bits/locfacets.tcc: Make num_put's digit grouping work. 347 1.1 mrg * bits/string.tcc: More uglification. 348 1.1 mrg * src/ios.cc: initialize format cache right 349 1.1 mrg 350 1.1 mrg 1998-10-26 Nathan Myers <ncm (a] cantrip.org> 351 1.1 mrg 352 1.1 mrg * bits/basic_string.h: Uglify more names. 353 1.1 mrg * bits/fstream.tcc: Rewrite some filebut output handling. 354 1.1 mrg * bits/ios_base.h: Cosmetic. 355 1.1 mrg * bits/locfacets.h: Changes to _Format_cache for support of num_put. 356 1.1 mrg Also, specialize its default ctor for optimal default case. 357 1.1 mrg #ifdef out "long long" prototypes for now. 358 1.1 mrg * bits/locfacets.tcc: Do complete, optimized num_put<>::do_put 359 1.1 mrg implementation for integer types. (Still needs optimized 360 1.1 mrg std::copy() applied to ostreambuf_iterator to be optimal.) 361 1.1 mrg * bits/ostream.tcc: Write operator<< for long, bool types. 362 1.1 mrg Make other operators<< non-members, per spec. (Many still 363 1.1 mrg not implemented.) Identify those that fail to create a sentry. 364 1.1 mrg * bits/sbuf_iter: Cosmetic. 365 1.1 mrg * bits/std_fstream.h: Add some filebuf members. 366 1.1 mrg * bits/std_locale.h: Include <limits> for use in bits/locfacets.h 367 1.1 mrg * bits/std_ostream.h: Make member operators<< global, per spec. 368 1.1 mrg (Should do the same in std_istream.h.) 369 1.1 mrg * bits/std_string.h: Include <limits> for use in bits/locfacets.h 370 1.1 mrg * bits/string.tcc: Uglify names 371 1.1 mrg * shadow/bits/std_cstdlib.h: Optimize std::div and std::ldiv. 372 1.1 mrg * src/ios.cc: Specialize _Format_cache<> for char and wchar_t, 373 1.1 mrg for optimal default behavior. 374 1.1 mrg 375 1.1 mrg 1998-10-26 Benjamin Kosnik <bkoz (a] loony.cygnus.com> 376 1.1 mrg 377 1.1 mrg * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc again. 378 1.1 mrg 379 1.1 mrg 1998-10-21 Nathan Myers <ncm (a] cantrip.org> 380 1.1 mrg 381 1.1 mrg * src/locale.cc: make ctype operations actually work for glibc 382 1.1 mrg * CHECKLIST: add a comprehensive (i.e. huge) implementation 383 1.1 mrg checklist of stdlib facilities. Not filled in yet. 384 1.1 mrg 385 1.1 mrg 1998-10-20 Nathan Myers <ncm (a] cantrip.org> 386 1.1 mrg 387 1.1 mrg * bits/string.tcc: fix patching NULs on string ends. 388 1.1 mrg 389 1.1 mrg 1998-10-19 Nathan Myers <ncm (a] cantrip.org> 390 1.1 mrg 391 1.1 mrg * bits/std_iosfwd.h: eliminate "basic_" prefix on streambuf 392 1.1 mrg iterator forward declarations 393 1.1 mrg * bits/sbuf_iter.h: eliminate default template argument definitions 394 1.1 mrg on streambuf iterators (rely on <iosfwd> decls). 395 1.1 mrg * TODO: add note about lazy facet construction 396 1.1 mrg * bits/basic_ios.h: hit operator void* again. This should be the 397 1.1 mrg last time we need to touch it. 398 1.1 mrg * bits/basic_ios.h: copyfmt now returns *this. 399 1.1 mrg * bits/basic_string.h: fix npos again. npos cannot be defined as zero. 400 1.1 mrg * bits/basic_string.h: put back overloaded constructors; adjust 401 1.1 mrg behavior for default allocator on copy constructor. 402 1.1 mrg * bits/char_traits.h: make not_eof return correct type. 403 1.1 mrg * bits/loccore.h: remove call to bits/std_stdexcept.h; subincludes 404 1.1 mrg cannot be in non-standard headers or we get include loops (bad) 405 1.1 mrg * bits/loccore.h: delete ifdef'd out workarounds for old compiler bugs. 406 1.1 mrg * bits/loccore.h: add apparatus to support lazy construction of 407 1.1 mrg facets. 408 1.1 mrg * bits/locfacets.tcc: Uglify names in __match_parallel decl. 409 1.1 mrg * bits/std_ios.h: add include of <typeinfo> to get bad_cast for 410 1.1 mrg locale use_facet<> failure. 411 1.1 mrg * bits/std_locale.h: same. 412 1.1 mrg * bits/std_string.h: same. 413 1.1 mrg * bits/std_stdexcept.h: change exception member __msg from a 414 1.1 mrg reference to a regular object. 415 1.1 mrg * bits/string.tcc: add pasting a NUL on the end of strings after 416 1.1 mrg each operation. We had already left room for it, but previously 417 1.1 mrg plugged it only on a call to c_str(), but the WG changed the 418 1.1 mrg requirement when I wasn't looking. (Can't leave them alone for 419 1.1 mrg a second without they break something else.) 420 1.1 mrg * bits/valarray_meta.h: add Gaby's changes from 981018. 421 1.1 mrg * src/locale.cc: add new type _Bad_use_facet to be thrown on 422 1.1 mrg failure of use_facet<>(). 423 1.1 mrg * src/stdexcept.cc: remove pragma, remove bkoz's #if 0, 424 1.1 mrg comment out leftover member definitions 425 1.1 mrg 426 1.1 mrg 1998-10-16 Ulrich Drepper <drepper (a] cygnus.com> 427 1.1 mrg 428 1.1 mrg * string/Makefile.am: Revert last change. 429 1.1 mrg * math/Makefile.am: Likewise. 430 1.1 mrg 431 1.1 mrg 1998-10-15 Benjamin Kosnik <bkoz (a] haight.constant.com> 432 1.1 mrg 433 1.1 mrg * bits/std_sstream.h: Fix typo. 434 1.1 mrg 435 1.1 mrg 1998-10-15 Benjamin Kosnik <bkoz (a] haight.constant.com> 436 1.1 mrg 437 1.1 mrg * src/Makefile.am (libstdc___la_SOURCES): Add misc-inst.cc. 438 1.1 mrg 439 1.1 mrg * bits/std_sstream.h: Add typedefs, member definitions. Clean. 440 1.1 mrg * bits/std_stdexcept.h: Remove. 441 1.1 mrg 442 1.1 mrg 1998-10-15 Benjamin Kosnik <bkoz (a] haight.constant.com> 443 1.1 mrg 444 1.1 mrg * src/misc-inst.cc: Tweak again. 445 1.1 mrg 446 1.1 mrg * bits/std_sstream.h: Move out-of-line definitions to sstream.tcc. 447 1.1 mrg * bits/sstream.tcc: New file. 448 1.1 mrg 449 1.1 mrg 1998-10-15 Ulrich Drepper <drepper (a] cygnus.com> 450 1.1 mrg 451 1.1 mrg * configure.in: Test for machine/param.h, sys/machine.h and fp.h. 452 1.1 mrg Don't run AC_C_BIGENDIAN if machine/param.h or sys/machine.h are 453 1.1 mrg available. 454 1.1 mrg 455 1.1 mrg * math/mathconf.h: Include sys/machine.h, machine/param.h and fp.h 456 1.1 mrg if available. 457 1.1 mrg (INFINITE_P): Use IS_INF macro if available. 458 1.1 mrg 459 1.1 mrg 1998-10-15 Ulrich Drepper <drepper (a] cygnus.com> 460 1.1 mrg 461 1.1 mrg * math/Makefile.am (EXTRA_LTLIBRARIES): Renamed from 462 1.1 mrg noinst_LTLIBRARIES. 463 1.1 mrg * string/Makefile.am: Likewise. 464 1.1 mrg 465 1.1 mrg 1998-10-15 Ulrich Drepper <drepper (a] cygnus.com> 466 1.1 mrg 467 1.1 mrg * configure.in (AC_CHECK_FUNCS): Add finite, qfinite, fpclass, and 468 1.1 mrg qfpclass. 469 1.1 mrg (AC_CHECK_HEADERS): Add machine/endian.h. If no header specifying 470 1.1 mrg endianess is available run AC_C_BIGENDIAN. 471 1.1 mrg 472 1.1 mrg * math/clog10l.c: Add ugly hack around bug in Irix 6.2 header until 473 1.1 mrg fixincludes is fixed. 474 1.1 mrg * math/clogl.c: Likewise. 475 1.1 mrg * math/csqrtl.c: Likewise. 476 1.1 mrg * math/mycabsl.c: Likewise. 477 1.1 mrg 478 1.1 mrg * math/mathconf.h: Include machine/endian.h if possible. If no 479 1.1 mrg header describing endianess is available rely on WORDS_BIGENDIAN 480 1.1 mrg macro. 481 1.1 mrg (FINITE_P, FINITEF_P, FINITEL_P): Use finite functino if available. 482 1.1 mrg (INFINITE_P, INFINITEF_P, INFINITEL_P): Use fpclass function if 483 1.1 mrg available. 484 1.1 mrg 485 1.1 mrg * src/complex.cc (polar): Don't use sincos on OSF machines. 486 1.1 mrg 487 1.1 mrg 1998-10-09 Benjamin Kosnik <bkoz (a] loony.cygnus.com> 488 1.1 mrg 489 1.1 mrg * src/locale-inst.cc: Don't instantiate time_get for 490 1.1 mrg ostreambuf_iterators as time_get::do_get_weekday and 491 1.1 mrg time_get::do_get_monthname use __match_parallel, which is illegal 492 1.1 mrg for ostreambuf_iterators to use, as they don't have operator== or 493 1.1 mrg operator!=. 494 1.1 mrg * bits/std_stdexcept.h: Add dtor definitions. 495 1.1 mrg Use stl/bits/std_stdexcept.h instead of this file? 496 1.1 mrg * bits/sbuf_iter.h : Tweak. 497 1.1 mrg * src/misc-inst.cc: Tweak. 498 1.1 mrg 499 1.1 mrg 1998-10-09 Benjamin Kosnik <bkoz (a] haight.constant.com> 500 1.1 mrg 501 1.1 mrg * bits/std_stdexcept.h: New file. 502 1.1 mrg * src/stdexcept.cc: Define the following: 503 1.1 mrg logic_error::what() 504 1.1 mrg runtime_error::what() 505 1.1 mrg 506 1.1 mrg * src/misc-inst.cc: New file. 507 1.1 mrg * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc. 508 1.1 mrg (libstdc___la_OBJECTS): Add misc-inst.lo. 509 1.1 mrg 510 1.1 mrg * bits/basic_string.h: Disable non-standard ctor declarations. 511 1.1 mrg * bits/string.tcc: Disable definitions as well. 512 1.1 mrg * src/string.cc: Disable <ios> dependencies. 513 1.1 mrg * bits/sbuf_iter.h (std): Add default to template parameter for 514 1.1 mrg ostreambuf_iterator and istreambuf_iterator. 515 1.1 mrg * bits/std_iosfwd.h: Change istreambuf_iterator to 516 1.1 mrg basic_istreambuf_iterator. Likewise for ostreambuf. 517 1.1 mrg * bits/locfacets.tcc (__match_parallel): Fix typo. 518 1.1 mrg * src/ios.cc (imbue): Remove the _G_HAVE_LOCALE guards around 519 1.1 mrg ios_base::imbue. 520 1.1 mrg * bits/std_streambuf.h: Define _Streambuf_base::getloc(). 521 1.1 mrg * bits/std_istream.h: Define the following: 522 1.1 mrg get (basic_streambuf<char_type,_Traits>& __sb, char_type __delim) 523 1.1 mrg get (char_type* __s, streamsize __n, char_type __delim); 524 1.1 mrg getline (char_type* __s, streamsize __n, char_type __delim) 525 1.1 mrg * bits/loccore.h : FIXME friend template code for use_facet. 526 1.1 mrg Add std_stdexcept.h include so that range_error will be defined. 527 1.1 mrg Add explicit conversion to string for range_error throws. (HACK?) 528 1.1 mrg 529 1.1 mrg 1998-10-8 Ulrich Drepper <drepepr (a] cygnus.com> 530 1.1 mrg 531 1.1 mrg * configure.in: Check for sincos, sincosf, and sincosl. 532 1.1 mrg * src/complex.cc (polar): Use sincos if available. 533 1.1 mrg 534 1.1 mrg * bits/c++config.h: Fix hack to get LONG_LONG* definitions on Linux. 535 1.1 mrg * stl/bits/std_limits.h: Include bits/c++config.h. HACK!!! 536 1.1 mrg 537 1.1 mrg * math/clog10.c: Fix typo (FP_INIFITE_P -> INFINITE_P). 538 1.1 mrg 539 1.1 mrg * math/cpow.c: Use c_log, not clog. 540 1.1 mrg * math/cpowf.c: Likewise. 541 1.1 mrg * math/cpowl.c: Likewise. 542 1.1 mrg 543 1.1 mrg * math/cexp.c: Remove unused fpclassify calls. Use FINITE_P instead 544 1.1 mrg of isfinite call. 545 1.1 mrg 546 1.1 mrg * math/mathconf.h (FINITE_P, FINITEF_P, FINITEL_P): Define using 547 1.1 mrg isfinite macro if it is available. 548 1.1 mrg (INFINITE_P, INFINITEF_P, INFINITEL_P): Define using isinf macro. 549 1.1 mrg 550 1.1 mrg * math/ccosf.c: Use appropriate test macros for this type. 551 1.1 mrg * math/ccoshf.c: Likewise. 552 1.1 mrg * math/ccoshl.c: Likewise. 553 1.1 mrg * math/ccosl.c: Likewise. 554 1.1 mrg * math/cexpf.c: Likewise. 555 1.1 mrg * math/cexpl.c: Likewise. 556 1.1 mrg * math/clog10f.c: Likewise. 557 1.1 mrg * math/clog10l.c: Likewise. 558 1.1 mrg * math/clogf.c: Likewise. 559 1.1 mrg * math/clogl.c: Likewise. 560 1.1 mrg * math/csinf.c: Likewise. 561 1.1 mrg * math/csinhf.c: Likewise. 562 1.1 mrg * math/csinhl.c: Likewise. 563 1.1 mrg * math/csinl.c: Likewise. 564 1.1 mrg * math/csqrtf.c: Likewise. 565 1.1 mrg * math/csqrtl.c: Likewise. 566 1.1 mrg * math/ctanf.c: Likewise. 567 1.1 mrg * math/ctanhf.c: Likewise. 568 1.1 mrg * math/ctanhl.c: Likewise. 569 1.1 mrg * math/ctanl.c: Likewise. 570 1.1 mrg 571 1.1 mrg 1998-10-06 Benjamin Kosnik <bkoz (a] bliss.nabi.net> 572 1.1 mrg 573 1.1 mrg * bits/basic_ios.h: Fix previous change. 574 1.1 mrg 575 1.1 mrg 1998-10-06 Benjamin Kosnik <bkoz (a] bliss.nabi.net> 576 1.1 mrg 577 1.1 mrg * bits/basic_ios.h: Add const_cast<basic_ios&> 578 1.1 mrg (operator void*): As per 5.2.9 p 2, make sure static_cast is 579 1.1 mrg well-formed. 580 1.1 mrg * bits/char_traits.h: No _CharT for specialization, change to 0. 581 1.1 mrg * bits/basic_string.h: As per 9.4.2 p4, initialize with 582 1.1 mrg constant-initializer. 583 1.1 mrg * bits/locfacets.tcc: Add template parameter to initialization list. 584 1.1 mrg 585 1.1 mrg 1998-10-02 Benjamin Kosnik <bkoz (a] loony.cygnus.com> 586 1.1 mrg 587 1.1 mrg * bits/basic_string.h: Should just be <, not <=. 588 1.1 mrg 589 1.1 mrg 1998-10-01 Benjamin Kosnik <bkoz (a] bliss.nabi.net> 590 1.1 mrg 591 1.1 mrg * bits/string.tcc (compare): Fix for strings that are similar, but 592 1.1 mrg not the same length. 593 1.1 mrg 594 1.1 mrg 1998-09-04 Brendan Kehoe <brendan (a] cygnus.com> 595 1.1 mrg 596 1.1 mrg * bits/c++config.h: For __linux__, define _GNU_SOURCE. This is 597 1.1 mrg required for us to get LONG_LONG_{MIN,MAX} out of gcc's limits.h. 598 1.1 mrg We can't check for __GLIBC__ here, since this header can be read 599 1.1 mrg before any system one (that would lead to features.h) being used. 600 1.1 mrg 601 1.1 mrg * stl/bits/stl_config.h (__STL_LONG_LONG): Re-enabled 602 1.1 mrg 603 1.1 mrg * stl/bits/std_limits.h [__STL_LONG_LONG]: Fix usage to use 604 1.1 mrg LONG_LONG_MIN, LONG_LONG_MAX, and ULONG_LONG_MAX. 605 1.1 mrg 606 1.1 mrg * stl/bits/stl_config.h: Don't do __STL_LONG_LONG, it uses 607 1.1 mrg LONGLONG_{MIN,MAX} which I can't find the origin of. 608 1.1 mrg 609 1.1 mrg 1998-09-03 Brendan Kehoe <brendan (a] cygnus.com> 610 1.1 mrg 611 1.1 mrg * stl/bits/stl_iterator.h: Add extern decl of cin for now; where 612 1.1 mrg should this come from, if not iostream.h? 613 1.1 mrg (class istream_iterator): Make the new operator!= a friend also. 614 1.1 mrg 615 1.1 mrg * stl/bits/stl_config.h: Define __STL_HAS_WCHAR_T, 616 1.1 mrg __STL_MEMBER_TEMPLATE_CLASSES, and __STL_LONG_LONG. Don't include 617 1.1 mrg _G_config.h like the egcs one does. 618 1.1 mrg 619 1.1 mrg 1998-09-01 Brendan Kehoe <brendan (a] cygnus.com> 620 1.1 mrg 621 1.1 mrg * bits/string.tcc: Call `_M_destroy' instead of `destroy'. 622 1.1 mrg 623 1.1 mrg * bits/valarray_meta.h: Throughout, rename _Expr typedefs to be 624 1.1 mrg _Expr1 (or _Expr_def if it's taken), and change definitions. 625 1.1 mrg Avoids redecl of the template parm. 626 1.1 mrg 627 1.1 mrg * bits/string.tcc (basic_string copy ctor): Fix typo in declaration. 628 1.1 mrg (operator>>): Initialize __ERROR with ios_base::goodbit, not 0. 629 1.1 mrg 630 1.1 mrg * bits/std_streambuf.h (_POSIX_SOURCE): Only define if it's not 631 1.1 mrg already done. 632 1.1 mrg 633 1.1 mrg * src/locale-inst.cc: New file, **TOTAL HACK**. There has GOT to 634 1.1 mrg be a better way to do this. 635 1.1 mrg 636 1.1 mrg * src/stlinst.cc: New file. 637 1.1 mrg 638 1.1 mrg * BUGS: New file, with various discovered bugs that need to be 639 1.1 mrg fixed. 640 1.1 mrg 641 1.1 mrg * Makefile.in, math/Makefile.in, string/Makefile.in, 642 1.1 mrg src/Makefile.in: Reran automake. 643 1.1 mrg 644 1.1 mrg Workarounds, these may not all be the final fixes: 645 1.1 mrg 646 1.1 mrg * bits/basic_ios.h (class basic_ios): Make _M_strbuf be protected, 647 1.1 mrg not private, for basic_istream::get() in std_istream.h to be able 648 1.1 mrg to use it. 649 1.1 mrg (basic_ios::operator void*): Don't use static_cast for the false 650 1.1 mrg case. 651 1.1 mrg (basic_ios::copyfmt): Fix `rhs.except' to be `rhs.exceptions ()'. 652 1.1 mrg This appears to have been in sep94, but didn't get corrected 653 1.1 mrg afterwards. 654 1.1 mrg 655 1.1 mrg * bits/basic_string.h (npos): Don't init here. 656 1.1 mrg * bits/string.tcc: Instead, do initialization here, to -1 instead 657 1.1 mrg of the size_type destructor. 658 1.1 mrg 659 1.1 mrg * src/traits.cc, src/wtraits.cc: New files. 660 1.1 mrg * bits/char_traits.h: For char_traits<char> and 661 1.1 mrg char_traits<wchar_t>, declare static, but define over in the src 662 1.1 mrg files. 663 1.1 mrg 664 1.1 mrg * bits/gslice.h: Comment out forward decls of _Array, valarray, 665 1.1 mrg gslice_array, and _GsliceExpression. 666 1.1 mrg 667 1.1 mrg * bits/std_cstdio.h [__sparc__ && __svr4__]: #undef all of 668 1.1 mrg clearerr, feof, ferror, getc, getchar, putc, putchar, stdin, 669 1.1 mrg stdout, and stderr. Note we do get unresolved refs to stdin, but 670 1.1 mrg that'll get fixed by the "true" solution. 671 1.1 mrg 672 1.1 mrg * bits/std_ios.h: Include <bits/std_streambuf.h> to get the 673 1.1 mrg definition of basic_streambuf.h, which is used in basic_ios.h to 674 1.1 mrg call pubimbue. 675 1.1 mrg 676 1.1 mrg * bits/std_streambuf.h: Don't include libio.h for now. 677 1.1 mrg (class basic_streambuf): Define missing methods pubimbue and 678 1.1 mrg getloc. 679 1.1 mrg 680 1.1 mrg * src/Makefile.am (libstdc___la_SOURCES): Add stdexcept.cc, 681 1.1 mrg ios.cc, os_raw.cc, stdstreams.cc, locale.cc, localename.cc, 682 1.1 mrg locale-inst.cc, stlinst.cc, traits.cc, wtraits.cc. 683 1.1 mrg 684 1.1 mrg * src/ios.cc: Instantiate basic_ios<char> and basic_ios<wchar_t>. 685 1.1 mrg 686 1.1 mrg * src/locale.cc: Come up with munged versions of _S_toupper, 687 1.1 mrg _S_tolower, and _S_table instead of the glibc-specific ones, so 688 1.1 mrg they're at least defined, if not necessarily usable. The glibc 689 1.1 mrg ones on any other system will yield unresolved refs to 690 1.1 mrg __ctype_{b,toupper,tolower}. 691 1.1 mrg 692 1.1 mrg * src/string.cc: Define all of ADDCS, ADDPS, et al. Add 693 1.1 mrg basic_ios, basic_istream, basic_ostream. Don't do char_traits 694 1.1 mrg anymore cuz of the explicit specialization in char_traits.h. 695 1.1 mrg Also add _S_string_copy, but this doesn't fix it -- cf the BUGS 696 1.1 mrg file for the details. 697 1.1 mrg 698 1.1 mrg * stl/bits/stl_algobase.h (equal): Fix to do `! (x==y)'. 699 1.1 mrg * stl/bits/stl_iterator.h (__distance): Likewise. 700 1.1 mrg 701 1.1 mrg * stl/bits/stl_iterator.h: As with 8/18 set, define missing op!=, 702 1.1 mrg op>, op<=, and op>= for reverse_iterator. Also add op!= for 703 1.1 mrg istream_iterator. 704 1.1 mrg 705 1.1 mrg 1998-08-26 Brendan Kehoe <brendan (a] cygnus.com> 706 1.1 mrg 707 1.1 mrg * bits/string.tcc (basic_string::compare (const char*)): Fix to 708 1.1 mrg return 0, not 1. 709 1.1 mrg 710 1.1 mrg 1998-08-25 Brendan Kehoe <brendan (a] cygnus.com> 711 1.1 mrg 712 1.1 mrg This should really be fixed with __asm__ directives renaming the 713 1.1 mrg symbol, but keeping the function. 714 1.1 mrg * math/clogf.c (c_logf): Renamed from `clogf'. 715 1.1 mrg * math/clogl.c (c_logl): Renamed from `clogl'. 716 1.1 mrg * math/complex-stub.h (c_logf, c_logl): Change decls. 717 1.1 mrg 718 1.1 mrg * bits/locfacets.h (class _Numeric_get): For friend decls, rename 719 1.1 mrg _CharT and _InIter parms, since they duplicate the enclosing ones. 720 1.1 mrg 721 1.1 mrg 1998-08-19 Brendan Kehoe <brendan (a] cygnus.com> 722 1.1 mrg 723 1.1 mrg Deal with conflict of the iostreams `clog' and our internal 724 1.1 mrg complex number `clog'. 725 1.1 mrg * src/complex.cc: Call `c_log' instead of `clog'. 726 1.1 mrg * math/clog.c (c_log):: Renamed from clog. 727 1.1 mrg * math/complex-stub.h (c_log): Renamed from clog decl. 728 1.1 mrg 729 1.1 mrg * bits/locfacets.h (class _Numeric_get): Tweak fwd decls of the 730 1.1 mrg get/put classes. 731 1.1 mrg (num_put::put): #if 0 long long version, since we don't declare or 732 1.1 mrg define the long long version of do_put. 733 1.1 mrg 734 1.1 mrg 1998-08-18 Nathan Myers <ncm (a] cantrip.org> 735 1.1 mrg 736 1.1 mrg * bits/basic_string.h: add basic_string<>::push_back(), fix return 737 1.1 mrg type of get_allocator (thanks to Ryszard Kabatek). 738 1.1 mrg * bits/char_traits.h: make init order of fpos<> members 739 1.1 mrg match decl order. 740 1.1 mrg * bits/ios_base.h: fix decls of ios_base bitmask & enum types, add 741 1.1 mrg flags _S_fd_in etc. for special filebuf ctor. 742 1.1 mrg * bits/locfacets.h: make _Numeric_get and _Format_cache public 743 1.1 mrg to work around problems in friend declarations. 744 1.1 mrg * bits/locfacets.tcc: qualify _S_get_cache in num_get<>::get(..bool&), 745 1.1 mrg fix random type errors & typos 746 1.1 mrg * bits/std_fstream.h: major refitting to bypass libio (for now), 747 1.1 mrg instrument to use bits/fstream.tcc template definitions 748 1.1 mrg * bits/std_iosfwd.h: mess with wrappers 749 1.1 mrg * bits/std_istream.h: remove meaningless comment 750 1.1 mrg * bits/std_ostream.h: instrument to work with ostream.tcc. 751 1.1 mrg * bits/std_streambuf.h: instrument to work with streambuf.tcc 752 1.1 mrg * bits/fstream.tcc: template defs for <fstream> 753 1.1 mrg * bits/ostream.tcc: template defs for <ostream> 754 1.1 mrg * bits/streambuf.tcc: template defs for <streambuf> 755 1.1 mrg * bits/os_raw.h: thin OS interface wrapper, to bypass libio (for now). 756 1.1 mrg * Delete .cc files, replace with bits/*.tcc 757 1.1 mrg src/fstream.cc 758 1.1 mrg src/istream.cc 759 1.1 mrg src/ostream.cc 760 1.1 mrg src/streambuf.cc 761 1.1 mrg * Add files: 762 1.1 mrg src/os_raw.cc: thin interface to OS, to bypass libio (for now). 763 1.1 mrg src/stdstreams.cc: cout, cin, etc. definitions 764 1.1 mrg (these still need work: must be init'd before user statics.) 765 1.1 mrg 766 1.1 mrg 767 1.1 mrg 1998-08-18 Brendan Kehoe <brendan (a] cygnus.com> 768 1.1 mrg 769 1.1 mrg Sent to SGI before checkin: 770 1.1 mrg * stl/bits/stl_vector.h (operator!=, operator>, operator<=, 771 1.1 mrg operator>=): Define. 772 1.1 mrg * stl/bits/stl_bvector.h (vector<bool>::flip): Define method. 773 1.1 mrg * stl/bits/stl_deque.h (operator!=, operator>, operator<=, 774 1.1 mrg operator>=): Define. 775 1.1 mrg (operator==, operator<): Add inline. 776 1.1 mrg * stl/bits/stl_map.h (operator!=, operator<, operator<=, 777 1.1 mrg operator>=): Define. 778 1.1 mrg * stl/bits/stl_multimap.h (operator!=, operator<, operator<=, 779 1.1 mrg operator>=): Define. 780 1.1 mrg * stl/bits/stl_list.h (operator!=, operator<, operator<=, 781 1.1 mrg operator>=): Define. 782 1.1 mrg * stl/bits/stl_set.h (operator!=, operator<, operator<=, 783 1.1 mrg operator>=): Define. 784 1.1 mrg * stl/bits/stl_multiset.h (operator!=, operator<, operator<=, 785 1.1 mrg operator>=): Define. 786 1.1 mrg 787 1.1 mrg * bits/std_valarray.h (_Shift_left, _Shift_right): Inherit from 788 1.1 mrg unary_function. 789 1.1 mrg 790 1.1 mrg 1998-08-15 Nathan Myers <ncm (a] cantrip.org> 791 1.1 mrg 792 1.1 mrg * bits/ios_base.h: change nominal bitmask and enum types to real enums 793 1.1 mrg * bits/locfacets.h: make _Format_cache bool names usable by num_get 794 1.1 mrg * bits/locfacets.tcc: make num_get<>::get(... bool&) use _Format_cache 795 1.1 mrg * bits/std_fstream.h: minor cleanups: ctors delegate to open() 796 1.1 mrg * bits/std_iosfwd.h: more bitmask changes, for ios_base::iostate 797 1.1 mrg * bits/std_sstream.h: formatting cleanups 798 1.1 mrg 799 1.1 mrg 1998-08-14 Nathan Myers <ncm (a] cantrip.org> 800 1.1 mrg 801 1.1 mrg * bits/locfacets.tcc: implement num_get<>::do_get(..., bool&) 802 1.1 mrg * bits/locfacets.tcc: implement time_get<>::do_get_weekday 803 1.1 mrg * bits/locfacets.tcc: implement time_get<>::do_get_monthname 804 1.1 mrg * bits/locfacets.h: fix missing argument in do_get_monthname 805 1.1 mrg (this is a bug in the standard, ref. 36 in my list.) 806 1.1 mrg * bits/locfacets.h: make month and day name caches mutable 807 1.1 mrg * bits/locfacets.tcc: various typos in get() functions 808 1.1 mrg * bits/sbuf_iter.h: fix omission in istreambuf_iterator::op++(). 809 1.1 mrg * bits/std_streambuf.h: fix typo in sgetn (Brendan) 810 1.1 mrg 811 1.1 mrg 1998-08-12 Nathan Myers <ncm (a] cantrip.org> 812 1.1 mrg * move streambuf iterators to bits/sbuf_iter.h 813 1.1 mrg * optimize streambuf iterators 814 1.1 mrg * begin generalizing streambuf 815 1.1 mrg * begin implementing num_get<>::get (starting with bool) 816 1.1 mrg * patch stl/bits/stl_config.h so that relops operators are 817 1.1 mrg contained properly, out of the way. 818 1.1 mrg 819 1.1 mrg 1998-07-24 Nathan Myers <ncm (a] cantrip.org> 820 1.1 mrg * Fold in SGI 3.11 changes (uglified names, some algorithm 821 1.1 mrg improvements, very minor bug fixes.) 822 1.1 mrg * Uglify names elsewhere to match (s/_T/_Tp/). 823 1.1 mrg * Begin work on optimized streambuf 824 1.1 mrg * Put complex.cc in namespace std:: (thanks Martin) 825 1.1 mrg 826 1.1 mrg 1998-07-17 Nathan Myers <ncm (a] cantrip.org> 827 1.1 mrg 828 1.1 mrg * bits/char_traits.h: add _Char_traits_match template. 829 1.1 mrg * bits/string.tcc: fix bugs in various find_last* members. 830 1.1 mrg * bits/basic_string.h: redeclare member _S_find. 831 1.1 mrg * stl/bits/stl_iterator.h: change member names in nonstandard 832 1.1 mrg templates bidirectional_reverse_iterator and 833 1.1 mrg random_access_reverse_iterator to match expected changes 834 1.1 mrg in upstream source. 835 1.1 mrg * src/string.cc: fix definitions of stream operators. 836 1.1 mrg 837 1.1 mrg 1998-07-14 16:06 Ulrich Drepper <drepper (a] cygnus.com> 838 1.1 mrg 839 1.1 mrg * Makefile.am (SUBDIRS): Add string. 840 1.1 mrg 841 1.1 mrg * configure.in: Test for long double functions separately. Test for 842 1.1 mrg ISO C 89 float functions. Test for endian.h and sys/isa_defs.h. 843 1.1 mrg Generate string/Makefile. 844 1.1 mrg 845 1.1 mrg * bits/c++config.h: Define mbstate_t for Solaris. 846 1.1 mrg 847 1.1 mrg * bits/char_traits.h: Remove unused #if. 848 1.1 mrg 849 1.1 mrg * bits/std_cwchar.h: Declare wide char string functions. 850 1.1 mrg 851 1.1 mrg * m4/stringfcts.m4: New file. 852 1.1 mrg 853 1.1 mrg * math/complex-stub.h: Declare nan. 854 1.1 mrg * math/nan.c: New file. 855 1.1 mrg 856 1.1 mrg * math/mathconf.h: Hack around missing endian.h file. 857 1.1 mrg Handle missing NAN definition. 858 1.1 mrg Handle missing float math functions. 859 1.1 mrg 860 1.1 mrg * src/Makefile.am (libstdc___la_LIBADD): Add libstring.la. 861 1.1 mrg (libstdc___la_LDFLAGS): Set version information. 862 1.1 mrg 863 1.1 mrg * src/complexl.cc: Don't compile any code if no long double functions 864 1.1 mrg are available. 865 1.1 mrg 866 1.1 mrg * string/Makefile.am: New file. 867 1.1 mrg * string/dummy.c: New file. 868 1.1 mrg * string/wmemchr.c: New file. 869 1.1 mrg * string/wmemcmp.c: New file. 870 1.1 mrg * string/wmemcpy.c: New file. 871 1.1 mrg * string/wmemmove.c: New file. 872 1.1 mrg * string/wmemset.c: New file. 873 1.1 mrg 874 1.1 mrg 1998-07-14 10:45 Ulrich Drepper <drepper (a] cygnus.com> 875 1.1 mrg 876 1.1 mrg * configure.in: Make it work. 877 1.1 mrg * install-sh: New file. 878 1.1 mrg * missing: New file. 879 1.1 mrg * mkinstalldirs: New file. 880 1.1 mrg * m4/mathfcts.m4: New file. 881 1.1 mrg * math/Makefile.am: New file. 882 1.1 mrg 883 1.1 mrg * bits/std_complex.h (conj): Mark specializations as inline. 884 1.1 mrg 885 1.1 mrg * math/carg.c: New file. 886 1.1 mrg * math/cargf.c: New file. 887 1.1 mrg * math/cargl.c: New file. 888 1.1 mrg * math/mycabs.c: New file. 889 1.1 mrg * math/mycabsf.c: New file. 890 1.1 mrg * math/mycabsl.c: New file. 891 1.1 mrg * math/signbit.c: New file. 892 1.1 mrg * math/signbitf.c: New file. 893 1.1 mrg * math/signbitl.c: New file. 894 1.1 mrg 895 1.1 mrg * math/ccos.c: Avoid ISO C 9x functionality. 896 1.1 mrg * math/ccosf.c: Likewise. 897 1.1 mrg * math/ccosh.c: Likewise. 898 1.1 mrg * math/ccoshf.c: Likewise. 899 1.1 mrg * math/ccoshl.c: Likewise. 900 1.1 mrg * math/ccosl.c: Likewise. 901 1.1 mrg * math/cexp.c: Likewise. 902 1.1 mrg * math/cexpf.c: Likewise. 903 1.1 mrg * math/cexpl.c: Likewise. 904 1.1 mrg * math/clog.c: Likewise. 905 1.1 mrg * math/clog10.c: Likewise. 906 1.1 mrg * math/clog10f.c: Likewise. 907 1.1 mrg * math/clog10l.c: Likewise. 908 1.1 mrg * math/clogf.c: Likewise. 909 1.1 mrg * math/clogl.c: Likewise. 910 1.1 mrg * math/cpow.c: Likewise. 911 1.1 mrg * math/cpowf.c: Likewise. 912 1.1 mrg * math/cpowl.c: Likewise. 913 1.1 mrg * math/csin.c: Likewise. 914 1.1 mrg * math/csinf.c: Likewise. 915 1.1 mrg * math/csinh.c: Likewise. 916 1.1 mrg * math/csinhf.c: Likewise. 917 1.1 mrg * math/csinhl.c: Likewise. 918 1.1 mrg * math/csinl.c: Likewise. 919 1.1 mrg * math/csqrt.c: Likewise. 920 1.1 mrg * math/csqrtf.c: Likewise. 921 1.1 mrg * math/csqrtl.c: Likewise. 922 1.1 mrg * math/ctan.c: Likewise. 923 1.1 mrg * math/ctanf.c: Likewise. 924 1.1 mrg * math/ctanh.c: Likewise. 925 1.1 mrg * math/ctanhf.c: Likewise. 926 1.1 mrg * math/ctanhl.c: Likewise. 927 1.1 mrg * math/ctanl.c: Likewise. 928 1.1 mrg 929 1.1 mrg * math/complex-stub.h: New file. 930 1.1 mrg 931 1.1 mrg * math/mathconf.h: New file. 932 1.1 mrg 933 1.1 mrg * src/Makefile.am: New file. 934 1.1 mrg 935 1.1 mrg * src/complex.cc: Use mathconf.h instead of complex.h. 936 1.1 mrg Don't use cabs, always use __mycabs. 937 1.1 mrg 938 1.1 mrg 1998-02-13 Brendan Kehoe <brendan (a] cygnus.com> 939 1.1 mrg 940 1.1 mrg * iterator (class reverse_iterator): Do some tweaks to be in sync 941 1.1 mrg w/ the FDIS. 942 1.1.1.2 mrg 944 1.1 mrg Copyright (C) 1998 Free Software Foundation, Inc. 945 1.1.1.2 mrg 946 1.1.1.2 mrg Copying and distribution of this file, with or without modification, 947 1.1.1.2 mrg are permitted in any medium without royalty provided the copyright 948 notice and this notice are preserved. 949