ChangeLog-1999 122 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549
  1. 1999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
  2. * docs/gentop/status: Add snapshot version column, update
  3. for Solaris 7.
  4. * docs/status.html: Regenerated.
  5. 1999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
  6. * docs/faq/index.html: Turn README and RELEASE-NOTES into links
  7. from installation FAQ, and specify location of text files.
  8. * docs/faq/index.txt: Regenerated.
  9. 1999-12-23 Phil Edwards <pme@sourceware.cygnus.com>
  10. * docs/gentop/download: Add links to prebuilds for Cygwin/Mingw32.
  11. * docs/download.html: Regenerated.
  12. 1999-12-22 Phil Edwards <pme@sourceware.cygnus.com>
  13. * docs/faq/index.html: Update 'what works' for .7 snapshot,
  14. clean up various links.
  15. * docs/faq/index.txt: Regenerated.
  16. * docs/gentop/gentop: Smarter regeneration script.
  17. * docs/gentop/{head,foot}chunk.html: Updated with new
  18. contributors link and mod date.
  19. * docs/gentop/index: Snapshot relase date.
  20. * docs/gentop/thanks: New contributors page added.
  21. * docs/{download,how,index,links,mail,status,thanks}.html:
  22. Regenerated from gentop; thanks.html created.
  23. 1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
  24. * bits/c++config.h.in (__GLIBCPP__): 19991221.
  25. * docs/index.html: Add correct information.
  26. * config/irix: New directory.
  27. * config/irix/ctype.cc: Add irix-6.5 info. Not tested.
  28. * config/irix/bits/ctype_base.h: And here.
  29. * config/aix: New directory.
  30. * config/aix/ctype.cc: Add aix-4.2 info. Not tested.
  31. * config/aix/bits/ctype_base.h: And here.
  32. 1999-12-21 Philip Martin <pm@corris.dircon.co.uk>
  33. * bits/basic_string.h: Add special case handling for integral
  34. "iterators".
  35. * bits/std_string.h: include type_traits.h
  36. * testsuite/21_strings/ctor_copy_dtor.cc: Tweak.
  37. 1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
  38. * bits/fstream.tcc (seekoff): Output buffer based on _M_*_in and
  39. _M_*_end now.
  40. * bits/std_fstream.h (sync): And here.
  41. * testsuite/27_io/filebuf.cc: Revisions.
  42. * testsuite/27_io/filebuf-2.tst: Correct, remove weird character
  43. at the end of the file.
  44. * testsuite/27_io/filebuf-3.tst: Correct.
  45. 1999-12-21 Phil Edwards <pedwards@jaj.com>
  46. * docs/gentop/index: Hold off on .7 announcement date.
  47. * docs/index.html: Regenerate.
  48. 1999-12-21 Benjamin Kosnik <bkoz@kcygnus.com>
  49. * bits/std_fstream.h (sync): Move _M_file->sync() to
  50. _M_really_overflow().
  51. * bits/fstream.tcc (seekoff): Call sync, not _M_really_overflow so
  52. as to get the _M_file->sync action, which forces the external
  53. buffer to update itself.
  54. (underflow): Same here.
  55. 1999-12-21 Phil Edwards <pedwards@jaj.com>
  56. * bits/c++config.h.in: Uncomment _GLIBCPP_USE_NAMESPACES and move...
  57. * acconfig.h: ...to here.
  58. * config.h.in: Regenerate from aclocal.
  59. * acinclude.m4: Add GLIBCPP_ENABLE_DEBUG, GLIBCPP_ENABLE_NAMESPACES.
  60. * aclocal.m4: Regenerate from acinclude.
  61. * configure.in: Use ENABLE macros here.
  62. * configure: Regenerate.
  63. * src/Makefile.am: Use results from ENABLE macros.
  64. * src/Makefile.in: Regenerate.
  65. 1999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
  66. * mkcheck (SRC_DIR): Now have to include config/* dir if "make
  67. check" and not "make check-install." Temporarily hack in linux
  68. support.
  69. * bits/std_streambuf.h: Tweaks.
  70. * bits/streambuf.tcc (xsgetn): Tweaks.
  71. * bits/std_fstream.h (sync): Make _M_really_overflow consistent.
  72. * bits/fstream.tcc (filebuf::underflow): Simplify.
  73. * bits/std_sstream.h (streambuf::underflow): Minor change to make
  74. checks for read position precisely implement the standard.
  75. * bits/basic_file.h (filepos_cur): Base this on _offset.
  76. * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
  77. * testsuite/27_io/filebuf.cc: Tweak.
  78. 1999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
  79. * docs/17_intro/RELEASE-NOTES: Fix typos.
  80. * bits/locale_facets.h (ctype): Modify, use __to_type to abstract
  81. out platform-specific bits.
  82. * config/default/ctype.cc: And here.
  83. * config/defaults/bits/ctype_base.h: And here.
  84. * config/linux/ctype.cc: And here.
  85. * config/linux/bits/ctype_base.h (ctype_base): And here.
  86. * config/solaris/bits/ctype_base.h (ctype_base): Add
  87. __to_type. Comment, as it looks like this is for solaris2.6 and
  88. above: solaris2.5.1 doesn't seem to have the same definitions.
  89. * config/solaris/ctype.cc: And here.
  90. 1999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
  91. Ulrich Drepper <drepper@cygnus.com>
  92. * acconfig.h: Remove _GLIBCPP_USE_CTYPE_ISBIT.
  93. * src/locale.cc: Take out platform-specific hacks.
  94. * config/linux/ctype.cc: Put here.
  95. * config/solaris/ctype.cc: Put here.
  96. * config/default/ctype.cc: Put here.
  97. * bits/locale_facets.h: Take out platform-specific hacks.
  98. * config/linux/bits/ctype_base.h: Put here.
  99. * config/solaris/bits/ctype_base.h: Put here.
  100. * config/default/bits/ctype_base.h: Put here.
  101. * configure.in: Bump version.
  102. Add tests for top-level config directory.
  103. * configure: Regenerated.
  104. * src/Makefile.am (INCLUDES): Add platform-specific dir.
  105. * src/Makefile: Regenerate.
  106. 1999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
  107. Ulrich Drepper <drepper@cygnus.com>
  108. * bits/locale_facets.h: Hack in solaris support.
  109. * src/locale.cc: Here too.
  110. 1999-12-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
  111. * docs/17_intro/TODO: Update
  112. * docs/17_intro/RELEASE-NOTES (New): Update.
  113. 1999-12-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
  114. * bits/c++config.h.in (__GLIBCPP__): Bump.
  115. * docs/17_intro/RELEASE-NOTES: Update, Gaby please add your stuff.
  116. * docs/17_intro/TODO: Update.
  117. * bits/locale_facets.h: Touch this too.
  118. * bits/localefwd.h: Add typedefs for loooooong vector names.
  119. * bits/locale_facets.tcc (locale::operator()): Need parens.
  120. (has_facet): Simplify.
  121. * src/locale-inst.cc: Add instantiations.
  122. * src/locale.cc: Tweaks.
  123. * bits/std_streambuf.h: Move indeterminates into. .
  124. * bits/std_fstream.h: Here.
  125. * bits/fstream.tcc (underflow): Rewind just for ios_base::out
  126. streams.
  127. * bits/sstream.tcc: Very minor formatting tweaks.
  128. * bits/std_streambuf.h (_M_set_determinate): If exclusively an
  129. input buffer, set _M_buf to offset.
  130. * bits/istream.tcc (std): Tweaks.
  131. * testsuite/27_io/istream_unformatted.cc (test05): More tweaks,
  132. include fstream.
  133. * testsuite/27_io/filebuf.cc: Tweaks.
  134. 1999-12-17 Phil Edwards <pedwards@jaj.com>
  135. * configure.in: Add OPTLEVEL, -O2 for gcc 2.96+, nothing otherwise.
  136. * configure: Regenerate.
  137. * src/Makefile.am: Use OPTLEVEL in CXXFLAGS.
  138. * src/Makefile.in: Regenerate. Also picks up OTHER_CXXFLAGS rename
  139. to OPTIMIZE_CXXFLAGS from a previous revision (1.96) to Makefile.am.
  140. 1999-12-17 Phil Edwards <pedwards@jaj.com>
  141. * docs/21_strings/stringtok_std_h.txt: New algorithm
  142. suggested by Chris King.
  143. * docs/21_strings/howto.html: Link to new version.
  144. 1999-12-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
  145. * bits/valarray_array.h (__valarray_sum): Use operator+=, not
  146. operator+.
  147. * docs/17_intro/TODO: Update.
  148. 1999-12-15 Phil Edwards <pme@sourceware.cygnus.com>
  149. * docs/gentop/footchunk.html: Updated, fixed CRLFs.
  150. * docs/gentop/gentop: Ditto.
  151. * docs/gentop/headchunk.html: Ditto.
  152. * docs/*.html: Regenerated from gentop.
  153. * docs/*/howto.html: Updated as test.
  154. * docs/faq/index.html: Updated, fixed CRLFs.
  155. * docs/faq/index.txt: Regenerated.
  156. 1999-12-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
  157. * mknumeric_limits (OUT_C): restart only if $OUT_C is present.
  158. * bits/std_complex.h
  159. (complex<float>::complex(const complex<double>&),
  160. complex<float>::complex(const complex<long double>&)): Define.
  161. * docs/17_intro/TODO: Update.
  162. 1999-12-13 Benjamin Kosnik <bkoz@cygnus.com>
  163. * bits/istream.tcc (seekg): Don't set _M_gcount.
  164. (tellg): Same.
  165. * bits/fstream.tcc (filebuf::underflow): Re-sync
  166. external byte sequence's input buffer only. . .
  167. * testsuite/27_io/istream_unformatted.cc (test04): New tests for
  168. tellg, seekg and filebufs.
  169. (test05): Same for stringbufs.
  170. * testsuite/27_io/istream_unformatted-2.tst: New file.
  171. * testsuite/27_io/istream_unformatted-1.tst: New file.
  172. * testsuite/27_io/istream_unformatted-1.txt: New file.
  173. * testsuite/21_strings/inserters_extractors.cc (test05): Change
  174. output file.
  175. 1999-12-13 Phil Edwards <pedwards@jaj.com>
  176. * docs/gentop/*: New directory, containing bits for the homepages.
  177. * docs/*.html: Regenerated from gentop.
  178. * docs/*/*.html: Entries added and regenerated.
  179. 1999-12-13 Benjamin Kosnik <bkoz@gnu.org>
  180. Efforts to get -O2 to work with -Winline -Werrors.
  181. * bits/valarray_array.h (__valarray_fill(_Tp*, size_t, const
  182. _Tp&): Remove inline declaration, as cannot be inlined and
  183. -Winline -Werror complains. An interesting question is why this
  184. cannot be inlined, as I can see no real reason to disqualify it.
  185. (__valarray_product(const _Tp*, const _Tp*)): Same here.
  186. * bits/std_valarray.h (valarray::operator[](size_t)): Same here.
  187. * docs/17_intro/TODO: Update.
  188. 1999-12-12 Benjamin Kosnik <bkoz@gnu.org>
  189. * bits/std_fstream.h (seekpos): Tweaks, fixes. Move definition to
  190. fstream.tcc.
  191. * bits/basic_file.h (filepos_cur()): Make pointers themselves be
  192. the resultant position.
  193. * bits/fstream.tcc (seekoff): Explicitly set return value to
  194. resultant external byte sequence position, not value returned from
  195. _M_file->seekoff. Need to make
  196. (seekpos): New definition.
  197. * bits/istream.tcc (seekg): As per Library Issues List 136, set to
  198. just istream. Necessary, or else tellg will give an invalid stream
  199. position, but seekg will return a valid stream position, which is
  200. not groovy: see testcase addition.
  201. * bits/ostream.tcc (seekp): Same.
  202. * bits/streambuf.tcc (_S_copy_streambufs): Simplify.
  203. * bits/sstream.tcc: Tweaks.
  204. * bits/locale_facets.tcc: Tweaks.
  205. (num_put::do_put(iter_type, ios_base, char_type, const void*)):
  206. Re-write in a way that is easier for the inliner to work with.
  207. * bits/ios_base.h: Use explicit static_cast<int>(...) notation.
  208. 1999-12-10 Benjamin Kosnik <bkoz@cygnus.com>
  209. * bits/locale_facets.tcc: Tweaks.
  210. * bits/locale_facets.h (use_facet): Can't inline, remove inline
  211. from declaration.
  212. * bits/localefwd.h: And here.
  213. * bits/std_ostream.h: Tweaks, sentry ctor can't be inlined.
  214. * bits/ostream.tcc: Put here.
  215. Frank Ch. Eigler <fche@cygnus.com>
  216. * src/Makefile.am: Adjust CXXFLAGS, add AM_CXXFLAGS.
  217. 1999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
  218. * bits/sstream.tcc (stringbuf::seekoff): Long overdue revamp. Make
  219. in and out buffers update independently.
  220. * bits/basic_ios.h: Minor formatting.
  221. * bits/fstream.tcc (std): Fix indentation.
  222. 1999-12-08 Chip Salzenberg <chip@valinux.com>
  223. * bits/char_traits.h (char_traits<>): Move not_eof() functions
  224. after corresponding eof() functions, so they're easier for the
  225. compiler to inline.
  226. * bits/locale_facets.h (money_base::__default_pattern): Move
  227. static variable out of inline functions.
  228. (_Moneypunct<>::do_{pos,neg}_format): Use it.
  229. * src/locale-inst.cc (money_base::__default_pattern): Define it.
  230. 1999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
  231. * bits/std_fstream.h (filebuf::open): Tweak.
  232. * bits/fstream.tcc (filebuf::seekoff): Simplify, fix.
  233. * bits/std_ios.h: Minor tweaks for headers.
  234. 1999-12-06 Benjamin Kosnik <bkoz@gnu.org>
  235. * bits/c++config.h.in (_GLIBCPP_FULLY_COMPLIANT_HEADERS): New macro.
  236. * src/string-inst.cc: Add guards . . .
  237. * src/misc-inst.cc: And here.
  238. * bits/std_sstream.h: And here.
  239. * bits/std_fstream.h: And here.
  240. * bits/std_streambuf.h: And here.
  241. * bits/std_istream.h: And here.
  242. * bits/std_ostream.h: And here.
  243. 1999-12-06 Scott Snyder <snyder@fnal.gov>
  244. * bits/istream.tcc (basic_istream::read): Try to handle __n == 0
  245. case.
  246. (basic_istream::readsome): And here as well.
  247. * testsuite/27_io/istream_unformatted.cc: Test a zero-length
  248. read().
  249. 1999-12-06 Mumit Khan <khan@xraylith.wisc.edu>
  250. * bits/istream.tcc (basic_istream::ignore): streamsize is not
  251. necessarily an `int'.
  252. 1999-12-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
  253. * mknumeric_limits: Don't use $CXXFLAGS when building
  254. gen-num-limits. It's definitely wrong to use it since $CXXFLAGS
  255. generally instructs the compiler not to emit template
  256. instantiations and we end up with undefined symbols. Sigh.
  257. 1999-12-05 Benjamin Kosnik <bkoz@gnu.org>
  258. * bits/locale_facets.tcc: Tweak.
  259. (_S_format_long): Adjust showpos formatting for hex and oct.
  260. * bits/std_ostream.h (operator<<(short)): Correctly deal with hex
  261. and oct by formatting as unsigned.
  262. (operator<<(int)): Same here.
  263. * bits/ostream.tcc (operator<<(long)): Same.
  264. (operator<<(long long)): Same.
  265. (_S_pad_char): Actually treat ios_base::internal as something
  266. worth doing correctly. Remove const designation on ios argument.
  267. * testsuite/27_io/ios_manip_basefield.cc (test02): Add tests.
  268. * testsuite/27_io/ostream_inserter_arith.cc (test03): Add tests.
  269. 1999-12-04 Benjamin Kosnik <bkoz@gnu.org>
  270. * bits/std_sstream.h (streambuf::underflow): Check for mode == in.
  271. 1999-12-03 Benjamin Kosnik <bkoz@gnu.org>
  272. * bits/locale_facets.tcc (num_put::do_put(bool): Fix.
  273. * bits/sstream.tcc (streambuf::seekoff): Add parens.
  274. * bits/istream.tcc (istream::get(sb)): Handle exceptional events.
  275. (operator>>(istream, _CharT*)): Change streamsize to int_type.
  276. (operator>>(istream, _CharT&)): Fix typedef'd type to be _CharT.
  277. * bits/ostream.tcc (ostream::operator<<(const char*)): Stub out
  278. unused argument.
  279. (ostream::operator<<(_CharT)): Fix.
  280. * bits/std_sstream.h: Temporarily disable including sstream.tcc to
  281. see if this will increase compile speed.
  282. * bits/std_ostream.h: Likewise. . .
  283. * bits/std_istream.h: And here.
  284. * bits/std_fstream.h: And here.
  285. * src/misc-inst.cc: Add relevant header file includes for
  286. instantiation purposes.
  287. * src/string-inst.cc: And here.
  288. * testsuite/27_io/ostream_inserter_arith.cc: Add test case.
  289. 1999-12-02 Benjamin Kosnik <bkoz@gnu.org>
  290. * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
  291. * bits/istream.tcc (get(streambuf)): More fixes.
  292. (istream::ignore): Get specific about numeric_limits<int>::max()
  293. requirements.
  294. * bits/fstream.tcc (filebuf::open): Tweaks for _M_last_overflowed.
  295. (filebuf::close): Same.
  296. * testsuite/27_io/filebuf.cc: Add tests for ios_base::ate.
  297. 1999-12-01 Phil Edwards <pedwards@jaj.com>
  298. * mkcheck: Support for compilation/execution timing.
  299. * testsuite/printnow.c: New file.
  300. 1999-12-01 Phil Edwards <pedwards@jaj.com>
  301. * bits/std_cwchar.h: Test for _GLIBCPP_USE_WCHAR_T.
  302. * configure.in: Test for presence of wchar.h before testing
  303. for any of its features.
  304. * configure: Regenerate.
  305. 1999-11-30 Benjamin Kosnik <bkoz@gnu.org>
  306. Preliminary istream validations complete.
  307. * bits/istream.tcc (istream::getline): Fixes. Tweaks to make
  308. formatting more consistent. Removal of if-statements inside of for
  309. loops.
  310. (ignore): Fix.
  311. (get): Same.
  312. (putback): Same.
  313. * bits/std_istream.h: Same.
  314. * bits/sstream.tcc (stringbuf::pbackfail): Fix.
  315. * testsuite/27_io/stringbuf.cc: Tweak.
  316. * testsuite/27_io/istream_unformatted.cc (test02): Mo' tests.
  317. * bits/ostream.tcc (ostream::operator<<(arith)): Set badbit, not
  318. failbit on failure, as per 27.6.2.5.2.
  319. * stl/bits/std_vector.h: Allow bool specializations. Should move
  320. ext/std_bvector to bits, not ext, maybe.
  321. 1999-11-30 Mumit Khan <khan@xraylith.wisc.edu>
  322. * configure.in: Fix checks for mbstate_t and WCHAR_MIN/MAX.
  323. * configure: Regenerate.
  324. 1999-11-29 Benjamin Kosnik <bkoz@gnu.org>
  325. * bits/istream.tcc (get(streambuf, char)): Fix.
  326. * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
  327. 1999-11-29 Scott Snyder <snyder@fnal.gov>
  328. * bits/basic_string.h (append(const _Char*, size_type)): The
  329. length of the appended string is given exactly by the second arg,
  330. regardless of the data in the character array.
  331. * bits/string.tcc (basic_string(const _CharT*, size_type, const
  332. _Alloc&)): Likewise.
  333. * testsuite/21_strings/append.cc (test01): Remove erroneous test
  334. of basic_string::append.
  335. 1999-11-29 Chip Salzenberg <chip@valinux.com>
  336. * Makefile.in: Tweaks for CXXFLAGS.
  337. * */Makefile.in: Same.
  338. 1999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
  339. * conficd bgure.in: Check for wide character support.
  340. * bits/c++config.h.in (_GLIBC_USE_WCHAR_T): Move from here ...
  341. * acconfig.h (_GLIBC_USE_WCHAR_T): to here.
  342. * bits/string.tcc (wstring::_S_find): Guard wchar_t specialization.
  343. 1999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
  344. * acinclude.m4: Fix typo.
  345. * src/complex.cc: Fix macro line continuation.
  346. 1999-11-29 Petter Urkedal <petter@matfys.lth.se>
  347. * src/Makefile.am (CXXFLAGS): Add -Wno-format to allow non-
  348. string literals in format, as used in locale-facets.tcc.
  349. 1999-11-28 Benjamin Kosnik <bkoz@gnu.org>
  350. * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
  351. * bits/istream.tcc (istream::get): Extract to argument minus one.
  352. Various tweaks and fixes.
  353. 1999-11-22 Mumit Khan <khan@xraylith.wisc.edu>
  354. * bits/locale_facets.tcc: Workaround for compiler crash on
  355. ix86-*-mingw32.
  356. 1999-11-21 Mumit Khan <khan@xraylith.wisc.edu>
  357. * acinclude.m4: New file. New _GLIBCPP_CHECK_FLOAT_SUPPORT macro.
  358. * configure.in: Use.
  359. * acconfig.h: New _GLIBCPP_BUGGY_FLOAT_COMPLEX macro.
  360. * src/complexf.cc: New _GLIBCPP_FLOAT_SPECIALIZATION macro.
  361. * bits/std_complex.h: Use.
  362. * src/complex.cc: Use.
  363. 1999-11-19 Mumit Khan <khan@xraylith.wisc.edu>
  364. * testsuite/18_support/numeric_limits.cc: Add missing std:: prefix.
  365. * testsuite/21_strings/inserters_extractors.cc: Likewise.
  366. * testsuite/22_locale/ctype.cc: Likewise.
  367. * testsuite/23_containers/multiset.cc: Likewise.
  368. * testsuite/23_containers/vector_ctor.cc: Likewise.
  369. * testsuite/26_numerics/binary_closure.cc: Likewise.
  370. * testsuite/27_io/fpos.cc: Likewise.
  371. * testsuite/27_io/ios_base_callbacks.cc: Likewise.
  372. * testsuite/27_io/istream_extractor_arith.cc: Likewise.
  373. * testsuite/27_io/istream_extractor_char.cc: Likewise.
  374. * testsuite/27_io/istream_extractor_other.cc: Likewise.
  375. * testsuite/27_io/istream_sentry.cc: Likewise.
  376. * testsuite/27_io/ostream_inserter_char.cc: Likewise.
  377. * testsuite/27_io/ostream_inserter_other.cc: Likewise.
  378. * testsuite/27_io/streambuf.cc: Likewise.
  379. * testsuite/27_io/stringstream.cc: Likewise.
  380. 1999-11-19 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
  381. * bits/valarray_meta.h: Don't forget to define tanh
  382. 1999-11-18 Philip Martin <pm@corris.dircon.co.uk>
  383. * src/stl-inst.cc: Use typedef to refer to iterator
  384. * stl/bits/stl_algobase.h: Add traits based dispatch for
  385. __normal_iterator in the copy()algorithm
  386. * stl/bits/type_traits.h: Add _Is_normal_iterator trait support
  387. 1999-11-18 Kevin Ediger <kediger@licor.com>
  388. * src/locale.cc (locale::_Imp::_Imp): Use auto_ptr to make
  389. constructors for locale::_Impl exception safe.
  390. 1999-11-18 Scott Snyder <snyder@fnal.gov>
  391. * stl/bits/stl_queue.h: The C++ standard gives the default for the
  392. _Sequence template argument of priority_queue<> as vector<>, not
  393. deque<>.
  394. 1999-11-18 Benjamin Kosnik <bkoz@gnu.org>
  395. * bits/std_sstream.h (stringbuf::_M_really_sync): Add __iend as a
  396. parameter.
  397. * bits/sstream.tcc: Adjust here too.
  398. 1999-11-17 Benjamin Kosnik <bkoz@gnu.org>
  399. * bits/sbuf_iter.h (istreambuf_iter::equal): Tweak.
  400. * bits/istream.tcc (operator>>): Replace iostate(0) with
  401. iostate(ios_base::goodbit), which is the same thing, but hopefully
  402. a bit clearer.
  403. * bits/locale_facets.tcc (do_get(bool)): Streamline, deal with
  404. libraries issue list 17.
  405. (do_gets): Don't set goodbit explicitly, instead only set on
  406. failures as good bit is the default setting.
  407. * bits/ios_base.h (setf): Set correctly.
  408. * bits/fstream.tcc: Tweak.
  409. * bits/std_sstream.h (_M_really_sync): Fix ibuffer positioning for
  410. in|out bufs that are empty. . .
  411. * testsuite/27_io/istream_extractor_arith.cc (test03): Add.
  412. 1999-11-16 Benjamin Kosnik <bkoz@gnu.org>
  413. * testsuite/27_io/streambuf.cc (class testbuf): Don't set _M_buf_size.
  414. * bits/std_streambuf.h (setp): Set _M_buf_size, _M_mode.
  415. Add comments "all about _M_buf."
  416. (setg): Set _M_mode.
  417. 1999-11-16 Kevin Ediger <kediger@licor.com>
  418. * bits/locale_facets.tcc (_S_build_float_format): New function.
  419. (_S_output_float): New function.
  420. (num_put::do_put(double)): Use 'em.
  421. (num_put::do_put(long double)): Use 'em.
  422. * testsuite/27_io/ostream_inserter_arith.cc: New file.
  423. 1999-11-15 Scott Snyder <snyder@fnal.gov>
  424. * bits/basic_file.h: Type of __off parm should be __c_streampos, to
  425. match how libio is calling us.
  426. * src/basic_file.cc (sys_seek): Likewise.
  427. * bits/std_fstream.h (basic_filebuf::sync): Restore sync call.
  428. 1999-11-15 Benjamin Kosnik <bkoz@gnu.org>
  429. * docs/17_intro/contribute.html: Add link to assignment form.
  430. * docs/17_intro/libstdc++-assign.txt: New file.
  431. * mkcheck (TESTS_FILE): Move a copy of test files as well as
  432. output files.
  433. * bits/std_streambuf.h (_M_buf_bump): New function.
  434. * bits/streambuf.tcc: Mods to support _M_buf_bump.
  435. (xsputn): Here. Also add checks for output valid.
  436. (xsgetn): Add checks for input valid.
  437. (sputc): Here.
  438. (sgetc): Set _M_in_end to _M_buf + _M_buf_end.
  439. * bits/std_sstream.h (_M_really_sync): Set _M_buf.
  440. Set _M_out_end to variable-length-end.
  441. * bits/sstream.tcc (overflow): Use _M_buf_bump.
  442. (seekpos): Same.
  443. (seekoff): Same.
  444. * bits/fstream.tcc (std): Tweak formatting.
  445. (filebuf::overflow): Simplify.
  446. (filebuf::showmanyc): Same.
  447. (filebuf::underflow): Same.
  448. * testsuite/27_io/filebuf.cc: Fix.
  449. * testsuite/27_io/ostream_inserter_other.cc: Fix.
  450. * testsuite/27_io/ostream_inserter_other-2.tst: New file.
  451. * testsuite/27_io/stringbuf.cc: Tweak.
  452. * testsuite/27_io/streambuf.cc: Tweak.
  453. * testsuite/27_io/istream_extractor_other.cc: Fix.
  454. 1999-11-11 Matthias Klose <doko@cs.tu-berlin.de>
  455. * stl_deque.h: Use static_casts<size_type>(signed_type).
  456. 1999-11-11 Benjamin Kosnik <bkoz@gnu.org>
  457. Cleanups for callbacks, more regression hunting. Remaining
  458. failures (1) due to last unresolved stringstream issues, not
  459. regressions per se.
  460. * bits/std_fstream.h: Revert. Disable call to _M_file->sync as
  461. killing 27_io/filebuf.cc tests. . . need another solution.
  462. * bits/streambuf.tcc (_S_copy_streambufs): Fix.
  463. * testsuite/27_io/istream_extractor_other.cc: Tweak comments.
  464. * bits/basic_ios.h: Add cached facets here. UGH. The standard
  465. foils all attempts at a graceful, minimal implementation.
  466. * bits/basic_ios.tcc: Tweaks.
  467. * bits/istream.tcc: Fix.
  468. * bits/ostream.tcc: Fix.
  469. * bits/std_istream.h: Fix.
  470. * bits/std_ostream.h: Fix.
  471. * src/ios.cc (ios_base::imbue): Set _M_locale_ios before calling
  472. callbacks.
  473. * bits/locale_facets.tcc (std): Minor, minor formatting tweak.
  474. (_S_pad_numeric): Make comprehensible.
  475. 1999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
  476. * bits/std_ostream.h: Add callbacks for _M_fnumput.
  477. (_S_ostream_fcache): New function.
  478. Move functions out-of-line.
  479. * bits/ostream.tcc: Put here.
  480. * bits/std_istream.h: Add callbacks for _M_fnumget.
  481. (_S_istream_fcache): New function.
  482. Move functions out-of-line.
  483. * bits/istream.tcc: Put here.
  484. * bits/basic_ios.tcc (basic_ios::imbue): Tweaks, remove call to
  485. _M_call_callbacks(), as ios_base::imbue does this already.
  486. * src/ios.cc (register_callback): Clean.
  487. (_M_call_callbacks): Same.
  488. * bits/ios_base.h: Callback work.
  489. * testsuite/27_io/ios_base_callbacks.cc (test01): New file.
  490. 1999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
  491. Matthias Klose <doko@cs.tu-berlin.de>
  492. * stl/ext/stl_rope.h: Fix initialization order.
  493. 1999-11-09 Scott Snyder <snyder@fnal.gov>
  494. * bits/std_fstream.h (basic_filebuf::sync): Unconditionally call
  495. _M_file->sync() so that redirection works correctly.
  496. 1999-11-09 Benjamin Kosnik <bkoz@gnu.org>
  497. * bits/istream.tcc: Re-order.
  498. * bits/std_istream.h: Fix getline problems.
  499. * testsuite/27_io/istream_unformatted.cc: New tests.
  500. Clean up regressions.
  501. * bits/std_sstream.h: Set initial stringbufs correctly.
  502. 1999-11-09 Scott Snyder <snyder@fnal.gov>
  503. * stl_vector.h (_M_range_insert): Fix mixing pointers and
  504. vector::iterator.
  505. * testsuite/23_containers/vector_modifiers.cc (test01): New file,
  506. tests.
  507. 1999-11-09 Benjamin Kosnik <bkoz@cygnus.com>
  508. * src/Makefile.am (CXXFLAGS): Add -Winline.
  509. * src/Makefile.in: Regenerate.
  510. 1999-11-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
  511. * bits/valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): When
  512. building meta-expressions don't forget to take the contained
  513. closures.
  514. 1999-11-02 Benjamin Kosnik <benjamin@cygnus.com>
  515. * configure: Regenerate.
  516. 1999-11-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
  517. * bits/valarray_meta.h (_Expr<>::sum): Tweak. Use copy-initialization
  518. syntax.
  519. * bits/valarray_meta.h (min): Likewise.
  520. * bits/valarray_meta.h (max): Likewise.
  521. 1999-11-01 Benjamin Kosnik <bkoz@cygnus.com>
  522. * bits/std_sstream.h (_M_really_sync): Take into account in | out bufs.
  523. * bits/std_streambuf.h (_S_copy_streambufs): New function.
  524. * bits/streambuf.tcc: Define.
  525. * bits/istream.tcc (istream::operator>>(streambuf)): Rewrite.
  526. * bits/ostream.tcc (ostream::operator<<(streambuf)): Rewrite.
  527. * testsuite/27_io/ostream_inserter_other.cc: Add tests.
  528. * testsuite/27_io/ostream_inserter_other-1.tst: New file.
  529. * bits/basic_string.h: Explicitly cast npos to unsigned type,
  530. reported by Richard Atterer.
  531. * bits/char_traits.h: For consistency's sake, here too.
  532. * configure.in: Bump version to 2.90.7.
  533. 1999-10-31 Benjamin Kosnik <bkoz@cygnus.com>
  534. * testsuite/27_io/ostream_inserter_char-1.tst: Check file output.
  535. * testsuite/27_io/ostream_inserter_char.cc (test05, test01): Add tests.
  536. * bits/streambuf.tcc (xsputn): Treat--size const char for long loops.
  537. (xsgetn): Same.
  538. * bits/sstream.tcc (seekpos): Tricks, mostly: check _M_mode before
  539. writing into buffer.
  540. (seekoff): Same.
  541. 1999-10-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
  542. * bits/valarray_array.h (__valarray_sum): New function.
  543. * bits/valarray_array.h (__valarray_product): Same.
  544. * bits/std_valarray.h (valarray<T>::product): Comment out.
  545. * bits/std_valarray.h (valarray<T>::sum): Use __valarray_sum
  546. instead of accumulate.
  547. * src/valarray-inst.cc: Remove explicit intantiation of
  548. class multiplies<size_t>, accumulate, valarray<size_t>::product.
  549. * src/valarray-inst.cc (__valarray_product): Instantiate
  550. explicitly.
  551. * src/valarray-inst.cc (__valarray_product(const
  552. valarray<size_t>&)): New function.
  553. * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't use
  554. valarray<size_t>::product. Use __valarray_product instead.
  555. 1999-10-25 Benjamin Kosnik <bkoz@cygnus.com>
  556. * bits/std_ostream.h (ostream.inserters.char): Correctly pad output.
  557. (_S_pad_char): New function. Not done: ios_base::internal.
  558. * bits/ostream.tcc: Clean for above.
  559. * bits/locale_facets.tcc (_S_fill): Remove ostreambufiterator
  560. specialization that was commented out, as ostreams now have to
  561. correctly deal with padding.
  562. * testsuite/27_io/ostream_inserter_char.cc (main): Add tests.
  563. * testsuite/21_strings/ctor_copy_dtor.cc(test02): Add test case
  564. from mailing list. This is a bug, and should be fixed.
  565. * testsuite/21_strings/inserters_extractors.cc (main): Tweak, fix typo.
  566. 1999-10-22 Petter Urkedal <petter@matfys.lth.se>
  567. * stl/bits/stl_numeric.h (__power): Replaced argument name `__opr'
  568. to avoid conflict with gcc name mangling.
  569. * stl/bits/stl_algo.h (__transform): Same.
  570. 1999-10-21 Benjamin Kosnik <bkoz@cygnus.com>
  571. * bits/ios_base.h: Change argument names.
  572. * docs/17_intro/BADNAMES: Add __opr.
  573. 1999-10-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
  574. Work on compilation slowdowns from 10-5 to 10-12, which are
  575. related to the _Callback_list inlining/merge-ifcation, which is
  576. still a pending issue, but this stuff is necessary cleanup anyway.
  577. * src/ios.cc: Re-arrange.
  578. * bits/ios_base.h: Tweak.
  579. * bits/basic_ios.tcc: Move out of line definitions here, move
  580. small out-of-line definitions inline.
  581. * bits/basic_ios.h: From here.
  582. * bits/streambuf.tcc (pbackfail, overflow): Move back inline.
  583. * bits/std_streambuf.h: From here.
  584. 1999-10-19 Benjamin Kosnik <bkoz@cygnus.com>
  585. * testsuite/27_io/istream_extractor_char.cc: Add tests.
  586. * bits/std_istream.h: Tweaks--set eofbit on eof condition.
  587. * bits/istream.tcc (operator>>(istream&, string&): Remove
  588. vestigial issspace hacks and use ctype::is instead.
  589. (getline): Remove unnecessary loops, fortify and pasteurize.
  590. (ws): Same.
  591. 1999-10-18 Benjamin Kosnik <bkoz@cygnus.com>
  592. * bits/istream.tcc (operator>>): Tweak.
  593. * bits/std_istream.h: Fix according to library issues list 68.
  594. Add typedefs.
  595. * bits/locale_facets.h: Fix table_size to be non-zero.
  596. 1999-10-18 Vadim Egorov <egorovv@HotPOP.com>
  597. * src/basic_file.cc: ifdef instead of comment for binary mode
  598. 1999-10-18 Russell Davidson <russell@qed.econ.queensu.ca>
  599. * bits/std_sstream.h: Stringbuf initialization based on actual,
  600. not allocated, size.
  601. * testsuite/21_strings/inserters_extractors.cc (test06): Add test
  602. case.
  603. 1999-10-17 Benjamin Kosnik <bkoz@cygnus.com>
  604. * testsuite/26_numerics/c_math.cc (test03): Tweak.
  605. * testsuite/27_io/istream_manip.cc (test01): Corrections due to
  606. sentry change.
  607. * testsuite/21_strings/inserters_extractors.cc (test01): Same.
  608. 1999-10-14 Benjamin Kosnik <bkoz@cygnus.com>
  609. * bits/std_istream.h: Tweaks.
  610. * bits/istream.tcc (istream::sentry::sentry()): Simplify, correct
  611. as per issues list addition--set failbit, eof on empty buffers.
  612. * testsuite/27_io/istream_sentry.cc: New file.
  613. 1999-10-12 Chris Prince <prince@wcug.wwu.edu>
  614. * bits/std_cstdio.h: Remove Solaris hacks.
  615. 1999-10-12 Phil Edwards <philip.edwards@sn.wpafb.af.mil>
  616. * docs/index.html: Fix minor typos and tweaks.
  617. * docs/17_intro/contribute.html: Ditto.
  618. * docs/*/howto.html: Ditto. More "EGCS"->"GCC" conversion, notes on
  619. thread safety and binary I/O, links to external sites.
  620. * docs/faq/index.html: EGCS/GCC cleanup, new entries for Cygwin
  621. and MT.
  622. 1999-10-12 Petter Urkedal <petter@matfys.lth.se>
  623. * bits/std_cmath.h (abs(float)): When ::absf is not present, call
  624. ::fabs(double) rather than ::abs(int).
  625. 1999-10-11 Benjamin Kosnik <bkoz@milou.cygnus.com>
  626. * bits/std_streambuf.h: Fix minor blip--should explicitly return
  627. *gptr(), not the result of underflow.
  628. (pbackfail): Conform to default behavior.
  629. (overflow): Same.
  630. * bits/streambuf.tcc: Add out-of-line streambuf members.
  631. (xsputn): Tweak.
  632. (xsgetn): Tweak.
  633. * testsuite/27_io/streambuf.cc: New file.
  634. * testsuite/27_io/filebuf.cc: Correct test.
  635. 1999-10-08 Benjamin Kosnik <bkoz@haight.constant.com>
  636. * bits/std_cmath.h: Correctly cast int to double.
  637. * testsuite/26_numerics/c_math.cc: Add test.
  638. * mknumeric_limits (OUT_C): Tweaks.
  639. * src/gen-num-limits.cc: Checks for WCHAR_MIN, WCHAR_MAX before
  640. trying to instantiate type_traits<wchar_t>.
  641. * acconfig.h: Add _GLIBCPP_HAS_WCHAR_MIN_MAX.
  642. * configure.in (LIBS): Plus checks for WCHAR_MIN, WCHAR_MAX.
  643. * configure: Regenerate.
  644. 1999-10-06 Benjamin Kosnik <bkoz@milou.cygnus.com>
  645. * bits/streambuf.tcc (streambuf::xsgetn): Rewrite.
  646. (streambuf::xsputn): Put in break.
  647. Aiming for parity between these two (mostly) similar functions.
  648. Need to re-write tests.
  649. * bits/ios_base.h (ios_base::_M_copy_base): Remove declaration.
  650. Make data members protected, not private.
  651. * src/ios.cc (ios_base::_M_copy_base): Move _Callback_list into
  652. ios_base.h. As called only once, collapse into . . .
  653. * bits/basic_ios.h (basic_ios::copyfmt): Fix.
  654. (basic_ios::clear): Throw ios_base::failure on occasion.
  655. (basic_ios::exceptions): Fix.
  656. * testsuite/27_io/ios_members.cc (test02): Add tests.
  657. * bits/fpos.h: Default initialize.
  658. * testsuite/27_io/fpos.cc (test03): Add test.
  659. 1999-10-04 Russell Davidson <russell@qed.econ.queensu.ca>
  660. * src/basic_file.cc: Fix open modes.
  661. 1999-10-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
  662. * bits/locale_facets.tcc (num_get<>::do_get): Fix typo.
  663. 1999-09-23 Benjamin Kosnik <bkoz@milou.cygnus.com>
  664. * bits/streambuf.tcc: Yea. Fix this for real.
  665. * testsuite/27_io/ostream_inserter_other.cc: Add file.
  666. * src/Makefile.*: Regenerate.
  667. 1999-09-22 Benjamin Kosnik <bkoz@milou.cygnus.com>
  668. * bits/std_cstdlib.h: Add more linux-specif hacks to the header
  669. files so that stdtof and strtold will be declared. Some hacks
  670. already exits in bits/std_cctype.h -- these should all be removed
  671. at a later date.
  672. * bits/locale_facets.tcc: Add cstring.h include.
  673. _S_format_long: Use long, not int.
  674. Add std_limits.h include, for numeric_limits.
  675. * testsuite/27_io/istream.cc: Make instantiations work when using
  676. -fhonor-std.
  677. * testsuite/27_io/ostream.cc: Same.
  678. 1999-09-21 Benjamin Kosnik <bkoz@milou.cygnus.com>
  679. * bits/fpos.h (fpos::operator streamoff): Make const, don't return
  680. a reference. Same for operators == and !=.
  681. * testsuite/27_io/fpos.cc: Add tests.
  682. 1999-09-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
  683. * bits/valarray_array.h: Fix typo.
  684. * mknumeric_limits: Make sure we are regenerating things from
  685. scratch. Otherwise things get redefined. Not good.
  686. 1999-09-20 Benjamin Kosnik <bkoz@milou.cygnus.com>
  687. * bits/std_ostream.h: Fix typo.
  688. * bits/std_istream.h: Same.
  689. * bits/std_iomanip.h: Same.
  690. * bits/istream.tcc (sentry::sentry()): Remove optional tie with
  691. ostream, as happens with underflow anyway.
  692. * testsuite/27_io/istream.cc (main): New file.
  693. * testsuite/27_io/ostream.cc (main): New file.
  694. * testsuite/27_io/istream_unformatted.cc: Add tests.
  695. * src/Makefile.am (headers): Add new file.
  696. * src/Makefile.in (headers): Regenerated.
  697. * bits/basic_ios.h: Remove local-related files.
  698. * bits/basic_ios.tcc: New file, add locale-related items.
  699. * src/misc-inst.cc: Add include of basic_ios.tcc, as a hack for now.
  700. * testsuite/27_io/ios_members_static.cc: Change to
  701. * testsuite/27_io/ios_base_members_static.cc: This.
  702. * testsuite/27_io/ios_members.cc: New file.
  703. * testsuite/27_io/stdios_basefield_manip: Change to
  704. * testsuite/27_io/ios_manip_basefield.cc: This.
  705. * testsuite/27_io/stdios_fmtflags_manip: Change to
  706. * testsuite/27_io/ios_manip_fmtflags.cc: This.
  707. * bits/fpos.h: Fix discarding qualifiers on this when
  708. using _M_position with a const fpos.
  709. * bits/std_iosfwd.h: Tweak.
  710. * testsuite/27_io/fpos.cc: New file.
  711. 1999-09-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
  712. * bits/streambuf.tcc (streambuf::xsputn): Tweak.
  713. * bits/ostream.tcc: Tweak.
  714. * testsuite/21_strings/inserters_extractors.cc (test04, test05):
  715. Add new regressions.
  716. 1999-09-16 Benjamin Kosnik <bkoz@milou.cygnus.com>
  717. * bits/basic_ios.h: Inline, tweak.
  718. * bits/fstream.tcc (basic_filebuf::_M_really_overflow): Tweak,
  719. pass back accurate return value to basic_filebuf::overflow.
  720. * bits/streambuf.tcc (streambuf::xsputn): Fix overflow accounting.
  721. This fixes sstream problems reported in libstdc++/9, but screws up
  722. filebufs. That solution is pending.
  723. 1999-09-15 Vadim Egorov <egorovv@1c.ru>
  724. * bits/streambuf.tcc (basic_streambuf::xsputn): Add check for
  725. zero count puts.
  726. * testsuite/21_strings/inserters_extractors.cc (test01): Add test.
  727. 1999-09-08 Benjamin Kosnik <bkoz@milou.cygnus.com>
  728. * bits/c++config.h.in: Add emacs hints.
  729. * stl/bits/stl_range_errors.h: Don't define here, for now define
  730. in stdexcept.cc along with string inlines __length_error, etc.
  731. * src/stdexcept.cc: Define here.
  732. * stl/bits/stl_config.h (__STL_CAN_THROW_RANGE_ERRORS): Enable, so
  733. at(size_t) will be declared/defined.
  734. (__STL_THREADS): Fix mess surrounding use of this, enable.
  735. 1999-08-31 Benjamin Kosnik <bkoz@milou.cygnus.com>
  736. * testsuite/27_io/istream_extractor_arith.cc: Fix.
  737. * src/localename.cc: Tweak formatting, fix assignment to
  738. const compiler errors.
  739. 1999-08-25 Benjamin Kosnik <bkoz@cygnus.com>
  740. * acconfig.h: Add absf, cosf.
  741. * configure.in (use_builtin_sinf): Same.
  742. * configure: Regenerate.
  743. * bits/std_cmath.h: Add mess of defines.
  744. * testsuite/26_numerics/modf_float.cc: Change to
  745. * testsuite/26_numerics/c_math.cc: This.
  746. * src/locale.cc: Change.
  747. * bits/locale_facets.h: Fix.
  748. * testsuite/22_locale/ctype.cc: Add temporary tests.
  749. 1999-08-24 Benjamin Kosnik <bkoz@cygnus.com>
  750. * bits/fpos.h: Test.
  751. * docs/index.html: Add powerpc-linux-gnu results with gcc-2.95.1.
  752. Fix database name for "libstdc++".
  753. 1999-08-23 Benjamin Kosnik <bkoz@cygnus.com>
  754. * mknumeric_limits (numeric_limits): Add default definitions to
  755. member functions.
  756. * testsuite/18_support/numeric_limits.cc: New file.
  757. 1999-08-18 Benjamin Kosnik <bkoz@cygnus.com>
  758. * bits/std_istream.h: Correct initialization.
  759. * bits/std_ostream.h: Likewise.
  760. * bits/std_sstream.h: Likewise.
  761. * bits/std_fstream.h: Likewise.
  762. * testsuite/27_io/stringstream.cc: Add test case.
  763. * bits/std_sstream.h: Replace ____string_type with __string_type.
  764. * bits/basic_ios.h (basic_ios::rdbuf(sb*): Call clear(), as required.
  765. * bits/std_ostream.h: Tweak dtor.
  766. 1999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
  767. * src/Makefile.am (CXXFLAGS): Add -O2.
  768. * src/Makefile.in: Likewise.
  769. * src/gen-num-limits.cc: Conditionally allow wchar_t. See what
  770. this breaks. . .
  771. * mknumeric_limits (numeric_limits): Uglify.
  772. * bits/std_istream.h: Fix warnings.
  773. * bits/locale_facets.tcc: Collateral damage from
  774. char_traits<char>::int_type change.
  775. * testsuite/27_io/istream_extractor_char.cc: Terminate strings.
  776. 1999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
  777. * docs/index.html: Add mailing list form.
  778. * docs/27_io/howto.html: Add link to iostreams_hierarchy.pdf.
  779. 1999-08-16 Benjamin Kosnik <bkoz@cygnus.com>
  780. * bits/streambuf.tcc (streambuf::xsputn): Allow copies to continue
  781. if overflow successfully allocates more space.
  782. * bits/std_sstream.h: Adjust comments.
  783. * bits/sstream.tcc (stringbuf::overflow): Copy buffer into string
  784. before overflow forces a resize.
  785. * testsuite/27_io/ostream_inserter_char.cc: New file.
  786. * bits/std_fstream.h: Remove declaration.
  787. * bits/fstream.tcc: Move uflow.
  788. * bits/std_streambuf.h: To here.
  789. * bits/streambuf.tcc: Make consistent.
  790. * src/Makefile.am (WERROR): Enable.
  791. * src/Makefile.in: Regenerate.
  792. * bits/sbuf_iter.h: Tweak.
  793. * bits/char_traits.h: (char_traits<wchar_t>::eof): Use WEOF.
  794. Use unsigned int as char_traits<char>::int_type.
  795. * bits/ostream.tcc (ostream::putc(char)): Tweak.
  796. * testsuite/27_io/iostream_objects.cc: Terminate string.
  797. Move cin::operator>>(char*) test to extractor_char.cc.
  798. * testsuite/27_io/stringstream.cc: Add stringstream instantiation.
  799. * bits/std_istream.h (basic_iostream): Make explicit definition
  800. for default ctor.
  801. * bits/std_sstream.h: Fix typos.
  802. * bits/fstream.tcc (_M_init_filebuf): Set to indeterminate for
  803. basic_filebuf ctor with fileno open arguments. Thus, filebufs are
  804. initialized in a consistent manner, no matter if the underlying
  805. FILE/bit bucket is a tty or a text file or some other imaginary
  806. construct. This and setting _M_buf_size to 1 for cin allows
  807. istream::get(char) to work in a manner consistent with what others
  808. expect.
  809. * docs/index.html: Link Stroustrup's C++ page.
  810. 1999-08-12 Michael Cook <cook@sightpath.com>
  811. * bits/fstream.tcc: Fix signed/unsigned -Wall warning.
  812. * bits/istream.tcc: ditto.
  813. * bits/sbuf_iter.h: ditto.
  814. * bits/std_istream.h: ditto.
  815. * src/Makefile.am: Add -Wall to CXXFLAGS.
  816. * src/Makefile.in: ditto.
  817. 1999-08-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
  818. Russell Davidson <russell@ehess.cnrs-mrs.fr>
  819. * bits/locale_facets.tcc (_M_extract): Finish off patch from yesterday.
  820. * src/Makefile.am (myinstallheaders): Tweak, remove PHONY.
  821. 1999-08-11 Benjamin Kosnik <bkoz@tintin.cygnus.com>
  822. * testsuite/27_io/istream_unformatted.cc: New file.
  823. * testsuite/27_io/istream_extractor_arith.cc (test02): Add more
  824. elaborate tests for int types with noskipws.
  825. * testsuite/27_io/istream_extractor_other-1.txt: New file.
  826. * testsuite/27_io/istream_extractor_other-1.tst: New file.
  827. * testsuite/27_io/istream_extractor_other-2.tst: New file.
  828. * testsuite/27_io/istream_extractor_other.cc: Add tests.
  829. * bits/istream.tcc: Fix operator>>(streambuf*).
  830. * testsuite/23_containers/vector_ctor.cc (test01): Add.
  831. * docs/index.html: Remove references to egcs.
  832. * docs/17_intro/DESIGN: Same.
  833. * docs/17_intro/contribute.html: Same.
  834. * docs/17_intro/RELEASE-NOTES: Ditto.
  835. * docs/17_intro/howto.html: Same here.
  836. Russell Davidson <russell@ehess.cnrs-mrs.fr>
  837. * stl/bits/stl_vector.h (_M_insert_aux):
  838. * bits/locale_facets.tcc (_M_extract): Tweaks for preliminary
  839. decimal/floating point support.
  840. * bits/locale_facets.h: Change _M_extract prototype.
  841. * bits/char_traits.h (char_traits::to_int_type): Cast to unsigned.
  842. * bits/std_istream.h (istream::read(char_type, streamsize)): Fix.
  843. 1999-08-10 Michael Cook <cook@sightpath.com>
  844. * bits/fstream.tcc: Fix for unused variable warning (-Wall).
  845. * bits/ios_base.h: ditto.
  846. * bits/istream.tcc: ditto.
  847. * bits/locale_facets.h: ditto.
  848. * bits/locale_facets.tcc: ditto.
  849. * bits/std_streambuf.h: ditto.
  850. * src/basic_file.cc: ditto.
  851. * src/locale.cc: ditto.
  852. * src/localename.cc: ditto.
  853. 1999-08-10 Kirat Singh <singhki@jany.gs.com>
  854. * bits/std_iomanip.h: Inline.
  855. 1999-08-10 Alfred Minarik <a8601248@unet.univie.ac.at>
  856. * bits/std_streambuf.h: Correct member initialization order.
  857. * src/ios.cc: Add definitions for ios_base data members.
  858. 1999-08-06 Phil Edwards <pedwards@ball.com>
  859. * docs/index.html: Seventh snapshot updates. Minor tweaks.
  860. * docs/faq/index.html: Ditto. Removed bugs sections that have
  861. been fixed for a long time... Lots of "egcs" references still
  862. exist.
  863. * docs/faq/index.txt: Regenerated.
  864. 1999-08-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
  865. Andreas Amann <amann@physik.tu-berlin.de>
  866. * testsuite/26_numerics/binary_closure.cc (main): new test.
  867. 1999-07-29 Andreas Amann <amann@physik.tu-berlin.de>
  868. * bits/valarray_meta.h: (_BinClos<>::_Binclos): fix typo causing
  869. segmentation fault.
  870. 1999-08-04 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
  871. * docs/index.html (host): Put in testing status.
  872. 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
  873. * docs/index.html: Update for libstdc++-2.90.6 release.
  874. * docs/17_intro/RELEASE-NOTES (New): Update.
  875. * docs/17_intro/BUGS: Update.
  876. * bits/c++config.h.in (__GLIBCPP__): Bump version number.
  877. * README (file): Update.
  878. 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
  879. * src/Makefile.am (generated_headers): Remove bits/c++config.h as
  880. a target.
  881. ($(generated_headers)): Same.
  882. * src/gen-c++config.cc: Remove, rename to
  883. * bits/c++config.h.in: New file. Bump version number.
  884. * configure.in: Generate bits/c++config.h at configure time.
  885. * math/mathconf.h: include bits/c++config.h, not config.h.
  886. * bits/std_cmath.h: Fix remaining link error for solaris shared
  887. builds. _GLIBCPP_HAS_BUILTIN_SINF has to be disabled for the time
  888. being, as on Solaris this silently calls sinf, which does not
  889. exist.
  890. * src/complex.cc: More tweaks.
  891. 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
  892. * src/complex.cc: Same.
  893. * math/complex-stub.h: Change.
  894. * math/c_log10*.c: Change back to clog10*.c.
  895. * configure.in (NEED_C_LOG10): Delete.
  896. * configure: Regenerate.
  897. * math/Makefile.am: Change.
  898. 1999-07-30 Benjamin Kosnik <bkoz@cygnus.com>
  899. * math/Makefile.am: Fix, for real.
  900. * configure.in (use_builtin_sinf): Ok, make autoconf solution.
  901. * math/clog.c: Move to c_log.c.
  902. * math/clog*: Ditto.
  903. * math/c_log10l.c (c_log10l): Change function name.
  904. * math/c_log10f.c (c_log10f): Change function name.
  905. * math/c_log10.c (c_log10): Change function name.
  906. * math/complex-stub.h: Change to c_log* variants.
  907. * src/complex.cc: And here.
  908. 1999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
  909. * testsuite/27_io/istream_extractor_other.cc: Correct last test.
  910. * bits/sstream.tcc (stringbuf::overflow): Don't update the input
  911. sequence, just the output sequence.
  912. * bits/std_sstream.h (stringbuf::str()): Only in stringbufs return
  913. the original string, all others use complicated heuristic.
  914. * src/complex.cc: Assume c_log10.
  915. * math/Makefile.am (EXTRA_yes): Fix c_log/c_logf unresolved
  916. symbols in shared libraries by making c_log/c_log10 part of the
  917. "must cmpile" sources. This may not work on solaris, must check.
  918. 1999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
  919. * bits/istream.tcc (operator>>(streambuf*)): Re-do.
  920. * bits/std_istream.h: Fix char extractors.
  921. * testsuite/27_io/istream_extractor_char.cc: Change.
  922. * testsuite/27_io/istream_extractor_other.cc: Add tests.
  923. 1999-07-28 Benjamin Kosnik <bkoz@cygnus.com>
  924. * bits/std_cctype.h: Fix for solaris2.6 builds.
  925. * bits/istream.tcc: Fix, thanks Alfred.
  926. * bits/std_istream.h: Formatting changes.
  927. * libio/Makefile.am (libio_la_SOURCES): Remove cleanup.c, so that
  928. _IO_cleanup will not be undefined.
  929. * libio/*: Regenerate.
  930. * bits/basic_string.h: More namespace-safety stuff.
  931. * testsuite/27_io/istream_extractor_char.cc: Fix.
  932. * testsuite/27_io/istream_extractor_arith.cc: Fix.
  933. * testsuite/27_io/iostream_objects.cc: Fix.
  934. * testsuite/27_io/ios_ctor.cc: Fix.
  935. * testsuite/27_io/istream_manip.cc: Make namespace safe.
  936. * testsuite/27_io/istream_extractor_other.cc: New file.
  937. * mkcheck (TESTS_FILE): Tweaks.
  938. 1999-07-27 Benjamin Kosnik <bkoz@cygnus.com>
  939. * src/gen-c++config.cc: Note here, change version.
  940. * acconfig.h( _GLIBCPP_USE_CTYPE_ISBIT): New macro.
  941. * src/locale.cc: Used here.
  942. * configure.in (use_builtin_sinf): Check for _ISBit using autoconf.
  943. * aclocal.m4: Regenerate by running `aclocal -I m4.`
  944. * bits/istream.tcc: Fix.
  945. * bits/std_istream.h: More changes to extractors.
  946. * testsuite/27_io/istream_extractor_char.cc: More.
  947. * testsuite/21_strings/inserters_extractors.cc (test01): Fix logic
  948. error in testsuite construction.
  949. * bits/std_istream.h: Partially revert.
  950. * bits/std_ostream.h: Same.
  951. * bits/std_sstream.h: Revert.
  952. 1999-07-26 Benjamin Kosnik <bkoz@cygnus.com>
  953. * bits/std_sstream.h: Change initialization.
  954. * bits/std_ostream.h: Make default ctor/assign/operator= private.
  955. * bits/std_istream.h: Same, also correct sentry args.
  956. * bits/istream.tcc: Add correct sentry args.
  957. * testsuite/27_io/istream_extractor_char.cc: New file.
  958. * testsuite/27_io/istream_extractor_arith.cc: New file, old file,
  959. name changes making me dizzy.
  960. 1999-07-26 Ulrich Drepper <drepper@happy.cygnus.com>
  961. Benjamin Kosnik <bkoz@cygnus.com>
  962. * aclocal.m4, config.guess, config.sub, ltconfig ltmain.sh: Update
  963. to libtool 1.3.3.
  964. 1999-07-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
  965. * bits/std_complex.h: Tweak. Make the primary template class
  966. complex work with user-defined numerical types. Provide member
  967. definitions. Restructure.
  968. (class complex<float>): Uglify. Remove __value(). Rename __val
  969. to _M_value. Rename __complex_value_type to _ComplexT. Make it
  970. private. Remove dependency on __value(). Fix various explicit
  971. specialization syntax. Declare a some functions friend. Now the
  972. implementation is nearly comforming.
  973. (class complex<double>): Likewise.
  974. (class complex<long double>): Likewise.
  975. * src/complex.cc: Tweak. Remove dependency on complex::__value().
  976. (sin, sinh, tan, than): Fix call to corresponding C9x function
  977. syntax.
  978. 1999-07-24 Benjamin Kosnik <bkoz@fidel.cygnus.com>
  979. * bits/istream.tcc (ws): Fix error with failbit being set.
  980. Disabled due to egcs/gcc-2_95 internal compiler errors.
  981. * src/Makefile.am (CXXFLAGS): Add -fsquangle -fhonor-std
  982. -fnew-exceptions. Compiling with namespaces enabled will now be
  983. the default.
  984. * mkcheck (CXX_FLAG): Same.
  985. * src/gen-c++config.cc (_GLIBCPP_USE_NAMESPACES): Yup. New macro.
  986. * bits/std_cctype.h: Not enough to just define in namespace std if
  987. ctype-isms are macros. Need to also define in namespace std:: if
  988. the C functions are just plain functions.
  989. * src/gen-num-limits.cc: Fix spelling inconsistencies.
  990. 1999-07-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
  991. * docs/18_support/howto.html: Start documentation. Need to keep
  992. track of the ongoing discussion in th LWG reflector.
  993. * src/gen-num-limits.cc: Tweak.
  994. (class predicate): New class.
  995. (class value): Likewise.
  996. Make the whole machinery more flexible. Add comments.
  997. 1999-07-23 Benjamin Kosnik <bkoz@fidel.cygnus.com>
  998. * bits/ios_base.h: Move state/exception functions into basic_ios.
  999. * bits/basic_ios.h: Same.
  1000. * src/ios.cc: And here. Callbacks don't attempt to reset
  1001. state now.
  1002. * bits/std_streambuf.h: Separate ios and streambuf locale data
  1003. members and cached facets. Using this convention: _M_locale_buf for
  1004. the streambuf-related classes, and _M_locale_ios for the ios
  1005. hierarchy.
  1006. * bits/fstream.tcc: And here.
  1007. * bits/basic_ios.h: And here. Also, add cached ctype.
  1008. * src/ios.cc: Ditto.
  1009. * bits/ios_base.h: Ditto.
  1010. * bits/std_istream.h: Use cached ctype facet.
  1011. * docs/27_io/iostreams_hierarchy.pdf: Update for new data member
  1012. arraignment.
  1013. * testsuite/27_io/ios_ctor.cc: New file.
  1014. * src/ios.cc: Move _M_state init to basic_ios::init().
  1015. * bits/basic_ios.h: To here.
  1016. Attempt for some consistency in naming for testsuite/27_io/*.cc.
  1017. * testsuite/27_io/boolfmt.cc: Rename to stdios_fmtflags_manip.cc
  1018. * testsuite/27_io/octfmt.cc: Rename to stdios_basefield_manip.cc
  1019. * testsuite/27_io/istream_manip.cc: Rename to istringstream_manip.cc.
  1020. * testsuite/27_io/ostream_manip.cc: Rename to ostringstream_manip.cc.
  1021. 1999-07-22 Benjamin Kosnik <bkoz@fidel.cygnus.com>
  1022. * src/ios.cc: Tweak initializations of standard iostream
  1023. objects to closely match the standard. Tie cin/wcin, set flags on
  1024. cerr/wcerr
  1025. * bits/char_traits.h: Change from size_t to int_type, as per
  1026. standard. As per wide streams.
  1027. * bits/basic_ios.h: Infect with __ctype_type, as a preparation
  1028. for caching a bunch of ctype info. For instance, ctype_base::space
  1029. info needs to be stored somewhere, somehow.
  1030. * bits/std_istream.h: Also here.
  1031. * bits/std_ostream.h: Ditto.
  1032. * bits/std_istream.h (operator>>(istream, char): Aggh. Fixup.
  1033. * testsuite/27_io/iostream_objects.cacc (test01): Oh yeah. Fix
  1034. stream states.
  1035. * bits/istream.tcc (ws): Fix.
  1036. * testsuite/27_io/istream_manip.cc: New file, test ws.
  1037. * testsuite/27_io/ostream_manip.cc: New file, test endl, ends, flush.
  1038. * bits/basic_string.h: Provide a specialized member function for
  1039. _S_find<char> using strchr.
  1040. * src/string-inst.cc: Put specializations here.
  1041. * bits/string.tcc: Small fix for find, remove typo.
  1042. * testsuite/21_strings/find.cc (test01): Add tests to catch this
  1043. find bug. . .
  1044. 1999-07-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
  1045. * bits/basic_ios.h: Put into basic_ios namespace.
  1046. Tweak widen/narrow.
  1047. 1999-07-19 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
  1048. * bits/std_sstream.h (stringbuf::sync): Change to _M_really_sync,
  1049. adjust _M_*_cur pointers inside the function, so callee doesn't
  1050. have to adjust.
  1051. * bits/sstream.tcc (stringbuf::overflow): Tweak.
  1052. * mkcheck: Tweak. Add execution time field, even though it is not
  1053. implemented yet. Simplify pass/fail status notation.
  1054. 1999-07-18 Mumit Khan <khan@xraylith.wisc.edu>
  1055. * configure.in: Check for float.h and underscored version of
  1056. math functions.
  1057. * acconfig.h: Add @BOTTOM@ section for handling underscored
  1058. math functions.
  1059. * configure: Regenerate.
  1060. * config.h.in: Regenerate.
  1061. * math/mathconf.h (float.h): Include conditionally.
  1062. (M_PI): Define conditionally.
  1063. (INFINITE_P): Define for Mingw.
  1064. * bits/locale_facets.tcc: Workaround for compiler crash on
  1065. ix86-*-mingw32.
  1066. * bits/std_cwchar.h (bits/std_cstddef.h): Include.
  1067. * src/locale.cc (bits/std_istream.h): Include.
  1068. (bits/std_ostream.h): Likewise.
  1069. 1999-07-18 Phil Edwards <pedwards@ball.com>
  1070. * docs/faq/index.html: Updated __black_count notes, fixed typos.
  1071. * docs/faq/index.txt: Regenerated.
  1072. 1999-07-15 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
  1073. * testsuite/27_io/stringbuf.cc: Cccchanges, latent bugs.
  1074. * bits/sstream.tcc (stringbuf::overflow): Modify accounting of
  1075. newly-allocated buffer.
  1076. * bits/streambuf.tcc (streambuf::xsgetn): Aaaaaah. Fix final
  1077. overflow condition bits.
  1078. 1999-07-14 Benjamin Kosnik <bkoz@cygnus.com>
  1079. * bits/std_sstream.h (stringbuf::_M_init_stringbuf): Set
  1080. _M_buf_size to initial _M_string.size(), even though for
  1081. ostringstreams it is pretty pointless. It's necessary for
  1082. istringstreams.
  1083. (stringbuf::str()): Adjust.
  1084. (stringbuf::str()): Adjust, call _M_init_stringbuf.
  1085. * bits/streambuf.tcc (streambuf::xsgetn): Adjust return value for
  1086. overflow's possible success.
  1087. (streambuf::xsputn): Adjust.
  1088. * testsuite/27_io/filebuf.cc: Adjust for the xsgetn re-write from
  1089. yesterday.
  1090. * testsuite/27_io/stringbuf.cc: Tweak.
  1091. * testsuite/21_strings/inserters_extractors.cc (test01): Remove
  1092. notes to myself.
  1093. * testsuite/23_containers/vector_cons.cc: Rename to be consistent
  1094. with other constructor tests to. . .
  1095. * testsuite/23_containers/vector_ctor.cc: New file.
  1096. 1999-07-14 Alfred Minarik <a8601248@unet.univie.ac.at>
  1097. * testsuite/*: Changes to make the testsuit compilable with
  1098. -fhonor-std. Contains direct qualification of library names with
  1099. std::.
  1100. 1999-07-13 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
  1101. * bits/streambuf.tcc: Tweaks.
  1102. (streambuf::xsputn): Optimize, fix for sstreams.
  1103. (streambuf::xsgetn): Same.
  1104. * bits/sstream.tcc (stringbuf::overflow): Adjust _M_buf_size
  1105. correctly, handle overflow/reallocate conditions correctly.
  1106. * bits/std_sstream.h: Fix typo.
  1107. _M_init_stringbuf(): Fix _M_buf_size initialization.
  1108. (stringbuf::str()): Construct return string if output has occurred.
  1109. * bits/basic_string.h: Fix typo from yesterday's patch.
  1110. 1999-07-12 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
  1111. * bits/string.tcc: _M_mutate - clear _M_state again.
  1112. * bits/basic_string.h: In the three functions that return
  1113. an iterator set _M_state to -1 before return.
  1114. Also optimized two cases of operator+.
  1115. 1999-07-12 Phil Edwards <pedwards@ball.com>
  1116. * docs/index.html: Expand egcs-1.1.2 notes/links.
  1117. * docs/faq/index.html: And here. Add links to LWG issues-list.
  1118. * docs/faq/index.txt: Regenerate. (lynx rocks)
  1119. * docs/21_strings/howto.html: Fix notes on case conversion.
  1120. * docs/21_strings/stringtok_h.txt: Goodly spelling...
  1121. * docs/23_containers/howto.html: Stub for bitmasks.
  1122. * docs/27_io/howto.html: Add section on buffering, stub binary.
  1123. 1999-07-12 Nathan Myers <ncm@cantrip.org>
  1124. * stl/bits/stl_tree.h (__black_count): Optimize.
  1125. 1999-07-09 Vadim Egorov <egorovv@1c.ru>
  1126. * src/basic_file.cc: Cleanup in __basic_file destructor.
  1127. 1999-07-08 Benjamin Kosnik <bkoz@cygnus.com>
  1128. * bits/std_streambuf.h: Changes. . .
  1129. * bits/streambuf.tcc: Merge xsputn from filebuf into xsputn in
  1130. basic_streambuf, to be used for both filebufs and streambufs.
  1131. * bits/std_fstream.h (_M_init_filebuf): New function.
  1132. Take out specialized xsputn, put into basic_streambuf.
  1133. * bits/fstream.tcc: Define, call from both ctors.
  1134. * bits/std_sstream.h (_M_init_stringbuf): New function.
  1135. * bits/sstream.tcc: Tweak.
  1136. * docs/27_io/iostreams_hierarchy.pdf: New file.
  1137. * docs/17_intro/CHECKLIST (basic_string<char>): Validation and
  1138. acceptance. Wooo-hoo!
  1139. * bits/char_traits.h: Change int_type for char_traits general
  1140. template, so that 21_strings/capacity.cc will compile.
  1141. * testsuite/21_strings/capacity.cc: Add operators.
  1142. * bits/string.tcc (string::compare): Clean up, re-implement.
  1143. * testsuite/21_strings/compare.cc: Tweak.
  1144. * bits/string.tcc (string:_M_mutate): Keep leaked value in
  1145. _M_state, which means that whenever begin() or end() has been
  1146. called, the string is unshareable, period. By doing this, insert
  1147. and erase member functions that return iterators can remain
  1148. footloose and fancy free.
  1149. * testsuite/21_strings/invariants.cc: Update.
  1150. * bits/basic_string.h (string::append): Fix self-referential
  1151. problems, ie when "this" is also an argument to a member function.
  1152. * bits/string.tcc: Tweak, same.
  1153. * testsuite/21_strings/append.cc: New file.
  1154. 1999-07-07 Benjamin Kosnik <bkoz@cygnus.com>
  1155. * bits/char_traits.h: Tweaks.
  1156. * bits/basic_string.h: Tweak.
  1157. * bits/fstream.tcc: Remove warning for _M_buf_size assignment.
  1158. 1999-07-06 Benjamin Kosnik <bkoz@cygnus.com>
  1159. * bits/std_streambuf.h: Absorb/acquire data members previously
  1160. working in basic_filebuf.
  1161. * bits/streambuf.tcc: Tweaks.
  1162. * bits/fstream.tcc: Adjust.
  1163. * bits/std_fstream.h: Move and rename the following functions:
  1164. _M_set_ideterminate, _M_is_indeterminate, _M_set_determinate are
  1165. now declared and defined in the base class, basic_streambuf. Oh
  1166. fuck it, move data members _M_buf, and _M_buf_size into
  1167. basic_streambuf as well.
  1168. * bits/ostream.tcc: Tweak.
  1169. * bits/locale_facets.tcc: Fix typo in comments.
  1170. * testsuite/21_strings/inserters_extractors.cc (test01): Change
  1171. state from good to not good, as eof() is set.
  1172. 1999-07-05 Benjamin Kosnik <bkoz@cygnus.com>
  1173. * bits/char_traits.h (char_traits::compare). Fix.
  1174. * config.guess, config.sub: Update.
  1175. 1999-07-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
  1176. * bits/string.tcc: Check the __res_arg for a length error.
  1177. 1999-07-01 Benjamin Kosnik <bkoz@nabi.net>
  1178. * bits/std_streambuf.h: Tweaks. Need to move _M_is_indeterminate
  1179. and related functions into basic_streambuf, from basic_filebuf to
  1180. take care of ostringstreams and empty strings. So that's groovy,
  1181. or will be groovy.
  1182. * bits/std_istream.h: Tweaks.
  1183. * bits/istream.tcc: Implement ws, getline, operator>> for string.
  1184. * bits/std_ostream.h: And here.
  1185. * bits/ostream.tcc: Same.
  1186. * src/misc-inst.cc: Add instantiations for ws.
  1187. * src/string-inst.cc: Add instantiations for inserters and
  1188. extractors (operators << and >>, getline).
  1189. * testsuite/21_strings/inserters_extractors.cc: Amazingly enough,
  1190. a testcase for getline and operators << and >>. Ostream tests are
  1191. failing right now, but istream tests should work. . .
  1192. * bits/string.tcc: Change _S_max_size, as GNU malloc won't budge.
  1193. * bits/std_sstream.h: Revert.
  1194. * testsuite/17_intro: header_[iosfwd, ios, iostream, iomanip,
  1195. istream, ostream, streambuf, fstream, sstream].cc: New files.
  1196. 1999-06-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
  1197. * bits/std_sstream.h (stringbuf::sync): Don't use string::begin()
  1198. and string::end().
  1199. * bits/basic_string.h (basic_string<>::_S_copy_chars): Add
  1200. specializations for _CharT*, iterator and const_iterator.
  1201. * src/string-inst.cc: Remove explicit instantiation, as
  1202. now explicitly specialized.
  1203. * bits/basic_string.h: Add a size_type parameter to _M_clone with
  1204. a default value set to 0.
  1205. * bits/string.tcc: In _M_clone by the call of _S_create add the
  1206. value of the new parameter to _M_length. In reserve check
  1207. _M_state and use _M_clone instead of _M_mutate.
  1208. 1999-06-30 Benjamin Kosnik <bkoz@happy.cygnus.com>
  1209. * bits/basic_string.h: Fix _S_max_size.
  1210. * bits/string.tcc: Add def here.
  1211. * testsuite/21_strings/insert.cc: Fix.
  1212. * bits/sbuf_iter.h: Remove detritus.
  1213. * testsuite/24_iterators/istreambuf_iterator.cc: Add tests.
  1214. * src/locale-inst.cc: Elaborate iterator/locale instantiations
  1215. to resolve alpha-osf4 build problems.
  1216. 1999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
  1217. * bits/string.tcc: Fix signed/unsigned issues in compares.
  1218. * stl/bits/stl_deque.h: And here.
  1219. * stl/bits/stl_string_fwd.h: Remove __get_c_string.
  1220. 1999-06-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
  1221. * bits/string.tcc: New implementation and interface of _M_mutate.
  1222. Adapt the change in all functions that call _M_mutate.
  1223. * bits/basic_string.h: And here.
  1224. 1999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
  1225. * testsuite/21_strings/capacity.cc (test01): Fix.
  1226. 1999-06-29 Phil Edwards <pedwards@ball.com>
  1227. * mknumeric_limits: Exit script if gen-num-limits isn't built.
  1228. 1999-06-29 Andreas Gruenbacher <agruenba@pent224.infosys.tuwien.ac.at>
  1229. * stl/bits/stl_vector.h: Fix.
  1230. * testsuite/23_containers/vector_cons.cc: Add.
  1231. 1999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
  1232. * mknumeric_limits (LDFLAGS): fix.
  1233. 1999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
  1234. * mknumeric_limits (LDFLAGS): set it according to the system.
  1235. * math/mathconf.h (NAN): Check whether host is running under
  1236. Cygwin and make the appropriate definition.
  1237. * math/complex-stub.h (nan): protect declaration.
  1238. 1999-06-28 Benjamin Kosnik <bkoz@haight.constant.com>
  1239. * bits/sbuf_iter.h: Rename internal data structure to prevent
  1240. confusion between basic_ios and istreambuf_iterators internal
  1241. basic_streambuf data member.
  1242. * testsuite/24_iterators/istreambuf_iterator.cc: New file.
  1243. * bits/basic_string.h: Remove conditionals, add input_iterator
  1244. version of S_construct again.
  1245. * bits/string.tcc: Same.
  1246. * src/string-inst.cc: And add explicit instantiation here.
  1247. * src/gen-c++config.cc (_GNU_SOURCE): Take out both _GNU_SOURCE
  1248. and __USE_GNU macro defines, as single __USE_GNU use leading to
  1249. confusion on glibc2.1 systems (ie, RedHat 6.0).
  1250. * src/Makefile.am (headers): Add std_utility to installed headers.
  1251. 1999-06-25 John Potter <jpotter@eagle.lhup.edu>
  1252. * stl/bits/stl_tree.h (insert_unique): Revert, just fix insert_equal.
  1253. 1999-06-25 Gilles Zunino <Gilles.Zunino@hei.fr>
  1254. * mknumeric_limits (LDFLAGS): Swap -lc and -lgcc.
  1255. 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
  1256. * src/gen-c++config.cc (_GLIBCPP_*): Change all
  1257. macros to include _GLIBCPP as a distinct namespace.
  1258. * bits/*: And here.
  1259. * src/*: And here.
  1260. * stl/bits/std_stdexcept.h: Forward-declare __Named_exception ctor.
  1261. * bits/basic_string.h: Remove __get_c_string.
  1262. * src/stdexcept.cc: Define ctor here.
  1263. * bits/ios_base.h: And fix ios_base::failure as well.
  1264. * src/ios.cc: Define here.
  1265. * bits/std_streambuf.h: Add a private copy ctor and assignment
  1266. operator wrapped in _G_RESOLVE_LIB_DEFECTS.
  1267. * bits/ios_base.h: And here too.
  1268. * bits/basic_string.h: Tweak.
  1269. * testsuite/21_strings/nonmember.cc: Add operator+ tests.
  1270. * src/valarray.cc: Rename to. . .
  1271. * src/valarray-inst.cc: This.
  1272. * src/Makefile.am (sources): Change here.
  1273. * src/Makefile.in: Regenerated.
  1274. 1999-06-24 Vadim Egorov <egorovv@1c.ru>
  1275. * bits/string.tcc(basic_string<>::_Rep::_S_create): Fixed
  1276. allocated size
  1277. 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
  1278. Tom Tromey <tromey@cygnus.com>
  1279. * configure.in (use_glibc2): Eek, correct for non-glibc systems.
  1280. Use AM_CONDITIONAL to get us out of this jam. .
  1281. * libio/Makefile.am: Same.
  1282. * */Makefile: Regenerated.
  1283. 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
  1284. John Potter <jpotter@eagle.lhup.edu>
  1285. * stl/bits/stl_tree.h (insert_equal): Fix.
  1286. * testsuite/23_containers/multiset.cc: New file.
  1287. 1999-06-23 Benjamin Kosnik <bkoz@cygnus.com>
  1288. * configure.in (test for glibc2): Correct AC_TRY_COMPILE so that
  1289. this works correctly on glibc-2 systems. This should allow
  1290. simplified linking on these systems, and successful linking on Red
  1291. Hat 6.0 systems.
  1292. * configure, Makefile: Regenerate.
  1293. * bits/std_cwctype.h: Add missing 'w' to _S_iswpunct_helper name.
  1294. * testsuite/ext: New directory.
  1295. * testsuite/ext/headers.cc: New file.
  1296. 1999-06-23 Vadim Egorov <egorovv@1c.ru>
  1297. * stl/ext/hash_set: include missing headers
  1298. * stl/ext/hash_map: Same
  1299. * stl/ext/slist: Same
  1300. 1999-06-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
  1301. * bits/std_cmath.h: comment out modf. Kills build on hpux10.20
  1302. 1999-06-15 Benjamin Kosnik <bkoz@cygnus.com>
  1303. * src/Makefile.am (sources): Regenerate.
  1304. * mkcheck: Add TESTS_FILE as a way of controlling what testcases
  1305. are run.
  1306. 1999-06-14 Benjamin Kosnik <bkoz@cygnus.com>
  1307. * src/string-inst.cc: Change _S_construct signature, to
  1308. track requested allocation size versus valid input iterator range.
  1309. * bits/basic_string.h: Here too.
  1310. * bits/string.tcc: And here.
  1311. 1999-06-12 Benjamin Kosnik <bkoz@cygnus.com>
  1312. * mkcheck (LOG_FILE): Correctly append errors.
  1313. * stl/bits/stl_iterator.h: Revert previous, delirious, change.
  1314. * bits/basic_string.h: Change _Rep::_M_data to _Rep::_M_refdata,
  1315. to clarify differences between basic_string::_M_data() calls and
  1316. _Rep::_M_data() calls.
  1317. * bits/std_string.h: Fix.
  1318. Put in check for out_of_range in substr.
  1319. * bits/string.tcc: Fix for _S_find.
  1320. * testsuite/21_strings/compare.cc: Add tests.
  1321. * testsuite/21_strings/find.cc: New file.
  1322. * testsuite/21_strings/substr: New file.
  1323. * testsuite/21_strings/replace.cc: New file.
  1324. 1999-06-11 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
  1325. * bits/valarray_array.h: __restrict__ify pointers.
  1326. * bits/std_valarray.h: Tweak.
  1327. (valarray<T>::cshift, valarray<T>::shift): use __builtin_alloca.
  1328. * bits/gslice_array.h: Tweak. Reflect changes in bits/gslice.h
  1329. * bits/gslice.h: Tweak.
  1330. (class gslice::_Indexer): new class.
  1331. (gslice::gslice(const gslice&)): implement copy-ctor to support
  1332. ref-counted index.
  1333. (gslice::operator=(const gslice&)): support ref-counted index.
  1334. (gslice::_M_convert_to_index): delete.
  1335. * src/valarray.cc: New file.
  1336. (__gslice_to_index): turn a gslice into a valarray<size_t>
  1337. (ctor gslice::_Indexer::_Indexer): implement.
  1338. * src/Makefile.am (sources): add valarray.cc
  1339. * src/Makefile.in: regenerate.
  1340. 1999-06-08 Benjamin Kosnik <bkoz@cygnus.com>
  1341. * stl/bits/stl_iterator.h (__normal_iterator::const_iterator
  1342. ctor): Put in a const_cast.
  1343. * testsuite/21_strings/invariants.cc: New file.
  1344. * testsuite/21_strings/insert.cc: Add exception handling bits.
  1345. * testsuite/21_strings/ctor_copy_dtor.cc: Same.
  1346. * src/wstring-inst.cc: Add c++config.h include.
  1347. * bits/basic_string.h: Fix const operator[] for size == pos.
  1348. Add _M_leak for rbegin, non-const.
  1349. Add _M_leak for rend, non-const.
  1350. Make member function at standards conformant.
  1351. Add _S_terminal to _Rep for operator[] const, add this into
  1352. c_str() as well.
  1353. * bits/string.tcc: Add static member definition here,
  1354. temporarily.
  1355. * testsuite/21_strings/element_access.cc: Add tests.
  1356. 1999-06-08 Vadim Egorov <egorovv@1c.ru>
  1357. * bits/fstream.tcc (_M_really_overflow): Fixed size of
  1358. conversion buffer.
  1359. 1999-06-08 Phil Edwards <pedwards@ball.com>
  1360. * bits/fstream.tcc (basic_filebuf::xsputn): Fix off-by-one count
  1361. caused when __testinit is true.
  1362. * bits/ostream.tcc (basic_ostream::op<<(streambuf*)): Write buffer
  1363. using rdbuf()->sputn rather than _M_fnumput->put.
  1364. 1999-06-08 Benjamin Kosnik <bkoz@tintin.cygnus.com>
  1365. * testsuite/23_containers/bitset_ctor.cc: New file.
  1366. * stl/bits/std_bitset.h (__BITSET_WORDS): Fix integration bug.
  1367. 1999-06-08 Phil Edwards <pedwards@ball.com>
  1368. * bits/fstream.tcc (basic_filebuf::underflow): Fix, rename local vars.
  1369. 1999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
  1370. * testsuite/21_strings/element_access.cc: Finish off these tests.
  1371. * testsuite/21_strings/insert.cc (test01): Uncomment.
  1372. * testsuite/21_strings/ctor_copy_dtor.cc (test01): Finish off ctors.
  1373. * bits/basic_string.h: Tweak, okay, fix for real this time.
  1374. * bits/string.tcc: Same.
  1375. * bits/char_traits.h: Tweak.
  1376. 1999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
  1377. * bits/std_cmath.h: Example of how to use the generated macro.
  1378. * acconfig.h: Add macro for sinf here.
  1379. * configure.in (LIBS): Add test for builtin math function sinf.
  1380. * configure: Regenerated.
  1381. * bits/basic_string.h: Fix _S_max_size.
  1382. 1999-06-06 Benjamin Kosnik <bkoz@tintin.cygnus.com>
  1383. * bits/basic_string.h: Fixes for out-of-memory segv for large strings.
  1384. Remove _S_construct signature for forward_iterator_tag and
  1385. input_iterator_tag.
  1386. Clean _M_fold.
  1387. * src/string-inst.cc: Same, tweaks.
  1388. * bits/string.tcc: Same, tweaks.
  1389. * testsuite/21_strings/ctor_copy_dtor.cc: Add/clarify tests.
  1390. * mkcheck (LOG_FILE): Fix filebuf-[2,3].tst checks.
  1391. * mknumeric_limits (LD_FLAGS): Add -nodefaultlibs -lc -lgcc as per
  1392. Gaby.
  1393. * src/locale.cc: Final separation for char/wchar_t bits.
  1394. 1999-06-05 Phil Edwards <pedwards@ball.com>
  1395. * docs/index.html: Added link to book upon request'n'agreement.
  1396. * docs/23_containers/wrappers_h.txt: Added.
  1397. * docs/{23_containers,27_io}/howto.html: Added sections.
  1398. * bits/std_fstream.h: Tweak.
  1399. 1999-06-05 Benjamin Kosnik <bkoz@tintin.cygnus.com>
  1400. * src/ios.cc: Same here.
  1401. * bits/std_iosfwd.h: More wchar_t defines.
  1402. * bits/basic_string.h: Tweaks.
  1403. * bits/string.tcc: Tweak. Fix _S_construct to check for max_size
  1404. when doing error checking, as per LWG defect #83.
  1405. * src/gen-c++config.cc: Fix comment.
  1406. * testsuite/21_strings/ctor_copy_dtor.cc: New file, checks ctors,
  1407. assignments, dtors.
  1408. * testsuite/21_strings/element_access.cc: New file, checks for
  1409. operator[], at(...).
  1410. * testsuite/21_strings/insert.cc: New file, tests string::insert.
  1411. * testsuite/21_strings/char_traits.cc: New file, tests
  1412. for char_traits<char>.
  1413. * bits/utility.h: Remove, again.
  1414. * src/Makefile.am (std_headers): Remove utility.h.
  1415. * src/Makefile.in (std_headers): Regenerate.
  1416. Alfred Minarik <a8601248@unet.univie.ac.at>
  1417. * bits/basic_string.h: Move __out_of_range and __length_error into
  1418. namespace std.
  1419. 1999-06-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
  1420. * testsuite/26_numerics/modf_float.cc: New file.
  1421. * bits/std_cmath.h (modf(float, float*)): Fix signature. Correct
  1422. typo: use ::modff, not ::modf.
  1423. 1999-06-03 Vadim Egorov <egorovv@1c.ru>
  1424. * bits/string.tcc (basic_string::_M_mutate): Fixed memory
  1425. allocation error
  1426. * testsuite/21_strings/capacity.cc (test01): Test.
  1427. 1999-06-03 Phil Edwards <pedwards@ball.com>
  1428. * bits/fstream.tcc: Re-order inits to stop warnings. Comment/move
  1429. unused variables to within #if 0 blocks to do the same.
  1430. * bits/std_fstream.h: Fix typos (one prevents compilation).
  1431. 1999-06-03 Benjamin Kosnik <bkoz@pacifica.cygnus.com>
  1432. * src/wstring-inst.cc: Fix.
  1433. 1999-06-02 Benjamin Kosnik <bkoz@madcow.cygnus.com>
  1434. * bits/char_traits.h: Add _G_USE_WCHAR_T macro guards.
  1435. * stl/bits/stl_string_fwd.h: Same.
  1436. * bits/locale_facets.h: Same.
  1437. * bits/locale_facets.tcc: Same.
  1438. * src/wstring-inst.cc: And here.
  1439. * src/gen-c++config.cc: Comment _G_USE_WCHAR_T. Leading to
  1440. problems on HPUX 10.20.
  1441. * your-build-directory-here/bits/c++config.h: Just kidding, do it
  1442. here as a temporary hack till the compiler/host problems get
  1443. worked out.
  1444. * bits/locale_facets.tcc (num_get::do_get): Change from ifdef
  1445. HAVE_STRTOLD to HAVE_STRTOLD && !(__hpux). Apparently, problems
  1446. converting "long double" to struct long_double. Probably should be
  1447. done with one macro (HAVE_STRTOLD) at configure time.
  1448. * bits/std_cmath.h: Comment out pow(double, int) definition as
  1449. gives re-declaration under hpux10.20. Revert previous change, as
  1450. kills linux/x86, solaris 2.7, hpux builds. These should be done
  1451. using autoconf, see std_cctype.h and the solutions started in
  1452. configure.in (see config.h for the generated file.)
  1453. * mknumeric_limits (LDFLAGS): Remove '-nodefaultlibs -lc', as
  1454. -nodefaultlibs prevents linking under HPUX 10.20 as __main is not
  1455. defined.
  1456. * docs/index.html: Add some useful links.
  1457. * docs/17_intro/contribute.html: Fix broken links.
  1458. 1999-06-02 Benjamin Kosnik <bkoz@rhino.cygnus.com>
  1459. * mkcheck (LOG_FILE): Add !/bin/bash instead of cygnus-style
  1460. paths. The rest of the world should be able to run this script
  1461. now.
  1462. * src/Makefile.am ($(generated_headers)): Remove comment.
  1463. * Makefile*: Regenerate.
  1464. * bits/std_locale.h: Remove detritus.
  1465. * bits/localefwd.h: Add <cctype> include to undefine the isspace
  1466. macro.
  1467. 1999-06-01 Benjamin Kosnik <bkoz@tintin.cygnus.com>
  1468. * src/gen-c++config.cc: New file. Making c++config.h at configure
  1469. time by catting this file (nee bits/config.h) with the build
  1470. directories config.h. This is not a complete or perfect solution
  1471. but is better than what was in place previously.
  1472. * bits/c++config.h: Rename/move to above.
  1473. * src/Makefile.am (headers): Remove c++config.h.
  1474. (myinstallheaders). Add.
  1475. * Makefile*: Regenerated.
  1476. * bits/std_cwchar.h: Add include of c++config.h for HAVE_*
  1477. definitions, so that wmemcmp, wcslen, wmemchr, etc are properly
  1478. declared only if not present in the host's wchar.h.
  1479. * bits/locale_facets.tcc (std): Change _G_USE_STRTO* to HAVE_STRTO*.
  1480. * bits/std_cmath.h: Define out, for the moment. Linux has no
  1481. __buitin_fsqrtl? Probably need some kind of configure trickery
  1482. here as well.
  1483. * src/Makefile.*: Regenerate.
  1484. * bits/c++config.h: Add config.h include.
  1485. * bits/std_cwchar.h: Remove remaining #error guard.
  1486. * acconfig.h: Add bits for HAVE_LC_MESSAGES.
  1487. * configure.in (LIBS): Replace previous effort for mbstate_t and
  1488. strtold/strtof with this implementation.
  1489. 1999 06-01 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
  1490. * bits/std_cmath.h: Tweak. Add more functions. Use __builtin_xxx
  1491. whenever possible.
  1492. 1999-05-28 Benjamin Kosnik <bkoz@cygnus.com>
  1493. * bits/locale_facets.tcc (std): Eek: this left in. Autoconf bits
  1494. for determining mbstate_t differences across various hosts not
  1495. finished.
  1496. 1999-05-26 Benjamin Kosnik <bkoz@nabi.net>
  1497. * bits/locale_facets.tcc: Change to ifdef.
  1498. * bits/std_sstream.h (stringbuf::setbuf): Remove dynamic_cast.
  1499. * bits/std_fstream.h (filebuf::setbuf): Same.
  1500. * bits/std_istream.h: Add ws declaration.
  1501. * bits/istream.tcc: Stub out definition.
  1502. * docs/index.html: Fix broken link for design.txt.
  1503. * configure.in: Test for mbstate_t. If wchar.h doesn't have it,
  1504. then set _G_NEED_MBSTATE_T.
  1505. * configure: Regenerate.
  1506. * bits/c++config.h: Move mbstate_t define.
  1507. * bits/std_cwchar.h: To here.
  1508. 1999-05-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
  1509. * bits/std_sstream.h:
  1510. basic_stringbuf<>::basic_stringbuf: fix.
  1511. basic_stringbuf<>::setbuf:
  1512. remove the temporary __string_type object,
  1513. remove the unnecessary dynymic_cast in the return value,
  1514. change the type of the returned value from __streambuf_type*
  1515. to basic_stringbuf<_CharT, _Traits, _Alloc>*.
  1516. 1999-05-25 Phil Edwards <pedwards@ball.com>
  1517. * bits/std_streambuf.h (streambuf::setbuf): Always return streambuf*.
  1518. 1999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
  1519. * bits/std_cmath.h: Tweak. Add float versions of the math functions
  1520. in <math.h>. <cmath> still incomplete and incorrekt.
  1521. 1999-05-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
  1522. * mknumeric_limits (LDFLAGS): set appropriate link flags.
  1523. 1999-05-23 Phil Edwards <pedwards@ball.com>
  1524. * docs/17_intro/howto.html: Added links to text docs,
  1525. e.g., BUGS.
  1526. * docs/21_strings/howto.html: Updated sections and links.
  1527. * docs/21_strings/{gotw29a.txt,stringtok_h.txt}: Added.
  1528. * docs/faq/index.html: Updated what-works for sixth
  1529. snapshot. Also a number of "internal" links have been
  1530. fixed, now that the web pages are the docs directory...
  1531. * docs/faq/index.txt: Regenerated.
  1532. 1999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
  1533. * bits/basic_string.h: Add Nathan's documentation on the string class.
  1534. * testsuite/27_io/ios_members_static.cc: New file, for testing
  1535. ios_base::sync_with_stdio.
  1536. 1999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
  1537. * bits/std_locale.h: Simplify includes.
  1538. * bits/loccore.h: Delete.
  1539. * bits/localefwd.h: Renamed, trimmed.
  1540. * bits/locfacets.h: Delete.
  1541. * bits/locale_facets.h: Rename, expanded.
  1542. * bits/loccore.tcc: Deleted.
  1543. * bits/locfacets.tcc: Deleted.
  1544. * bits/locale_facets.tcc: Resultant merge.
  1545. * bits/std_fstream.h: Modify include.
  1546. * bits/ostream.tcc: Same.
  1547. * bits/istream.tcc: Same.
  1548. * src/locale-inst.cc: And here.
  1549. * src/locale.cc: Ditto.
  1550. * src/Makefile.am: Updated.
  1551. * src/Makefile.in: Rengenerated.
  1552. * bits/std_istream.h: Move istream::sentry ctor definition.
  1553. * bits/istream.tcc: Move istream::sentry ctor here.
  1554. Add more detailed locale include here for ctype member functions.
  1555. * bits/ostream.tcc (std): And here.
  1556. * bits/sbuf_iter.h: Include std_streambuf.h
  1557. * bits/locfacets.h: Start separating this into a localeimp.h file.
  1558. * bits/loccore.h: Start separating this into a localefwd.h file.
  1559. Add std_climits for CHAR_BIT.
  1560. * bits/ios_base.h (ios_base::sync_with_stdio): Stub in.
  1561. * bits/char_traits.h: Tweak.
  1562. * bits/ios_base.h: Remove INT_MAX, use 1<<16.
  1563. * bits/std_ostream.h: Remove c++config.h include.
  1564. * bits/std_istream.h: Same.
  1565. * bits/std_streambuf.h: Same.
  1566. * bits/std_fstream.h: Same.
  1567. * bits/std_sstream.h: And here.
  1568. * bits/std_iosfwd.h: Add _G_RESOLVE_LIB_DEFECTS here for streampos.
  1569. * bits/char_traits.h: Add include of std_cwchar.h for mbstate_t.
  1570. * bits/fpos.h: Tweak, format.
  1571. * std/ciso646: New file.
  1572. * bits/std_ciso646.h: New file.
  1573. * src/Makefile.am (std_headers): Add ciso646.
  1574. (headers): Add bits/std_ciso646.h.
  1575. * src/Makefile.in: Regenerate.
  1576. * testsuite/17_intro/header_ciso646.cc: New file, disable
  1577. equivalance tests.
  1578. * bits/fpos.h: Remove libio.h include.
  1579. * bits/basic_file.h: And here.
  1580. * bits/std_ios.h: Put here.
  1581. * src/ios.cc: Simplify includes, tweak.
  1582. * bits/std_ios.h: Simplify include order.
  1583. * bits/ios_base.h: Modify ios_base::failure.
  1584. * stl/bits/std_numeric.h: Change include from stl_iterator to
  1585. std_iterator.
  1586. 1999-05-19 Benjamin Kosnik <bkoz@tintin.cygnus.com>
  1587. * std/iostream: Remove static member __ioint.
  1588. * bits/std_iostream.h: Put here.
  1589. * stl/bits/std_numeric.h: Remove unneccessary std_iostream.h include.
  1590. * stl/bits/stl_algobase.h: Same.
  1591. * testsuite/27_io/iostream_objects.cc: Regression tests.
  1592. * testsuite/27_io/hello.cc: Remove, subset of above.
  1593. 1999-05-19 Phil Edwards <pedwards@ball.com>
  1594. * docs/index.html: Tweak, update.
  1595. 1999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
  1596. * docs/17_intro/RELEASE-NOTES: remove outdated
  1597. documentation about numeric_limits. Correct CXXINCLUDE setting
  1598. documentation.
  1599. 1999-05-18 Phil Edwards <pedwards@ball.com>
  1600. * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
  1601. 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
  1602. 27_io}/howto.html: Created, with some initial entries.
  1603. * docs/faq/index.html: Fixed some links.
  1604. * docs/faq/index.txt: Regenerated.
  1605. 1999-05-18 Benjamin Kosnik <bkoz@tintin.cygnus.com>
  1606. * bits/c++config.h (__GLIBCPP__): Set version to 19990518.
  1607. * docs/17_intro/RELEASE-NOTES: Update.
  1608. * docs/index.html: Correct link to mailing list help page, update News.
  1609. * docs/faq/index.html: Change fifth to sixth for snapshot.
  1610. * src/Makefile.am (myinstallheaders): Bring over Gaby's changes to
  1611. install $(top_builddir)/bits/std_limits.h into
  1612. $(myincludepfx)/bits. This was mistakenly omitted from yesterday's
  1613. Makefile.am changes.
  1614. * *Makefile*: Regenerate using automake.
  1615. * mkcheck (LOG_FILE): Fix filebuf directory oddness.
  1616. * testsuite/27_io/filebuf.cc: Same.
  1617. 1999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
  1618. * docs/17_intro/CHECKLIST: update.
  1619. * docs/17_intro/TODO: update.
  1620. 1999-05-17 Phil Edwards <pedwards@ball.com>
  1621. * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
  1622. 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
  1623. 27_io}/howto.html: Created, with some initial entries.
  1624. * docs/faq/index.html: Fixed some links.
  1625. * docs/faq/index.txt: Regenerated.
  1626. 1999-05-17 Benjamin Kosnik <bkoz@unhappy.cygnus.com>
  1627. * src/Makefile.am (myinstallheaders): Missed removing missing.h.
  1628. * Makefile.in*: Regenerate.
  1629. 1999-05-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
  1630. * bits/std_streambuf.h: Same.
  1631. * bits/loccore.h (_Bad_use_facet): Remove bits warned about.
  1632. * bits/locfacets.h (std): Same.
  1633. * bits/sstream.tcc: Same.
  1634. * testsuite/27_io/stringstream.cc: Tweak.
  1635. * testsuite/27_io/filebuf.cc: Adjust.
  1636. * testsuite/21_strings/capacity.cc (test01): Add more
  1637. string::reserve tests.
  1638. * bits/c++config.h: Remove broken CCTYPE.
  1639. * bits/std_cctype.h: Tweak, remove de-macroization, enable
  1640. sequestered topper implementation.
  1641. * bits/std_cwctype.h: Same.
  1642. * bits/missing.h: Remove.
  1643. * bits/std_locale.h: Remove missing.h include.
  1644. * stl/bits/std_bitset.h (bitset::bitset(string): Tweak to compile.
  1645. * src/Makefile.am (headers): Add bits/std_cwctype.h.
  1646. INCLUDES: Add top_builddir.
  1647. * src/Makefile.in: Regenerate.
  1648. * Makefile.am: Add check and check-install as new targets.
  1649. * testsuite/make_check_libfree++: Move to. . .
  1650. * mkcheck: Here.
  1651. * configure.in: Tweak versions.
  1652. * mknumeric_limits: Set paths correctly.
  1653. 1999-05-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
  1654. * src/Makefile.in (myinstallheaders): add rule to install
  1655. std_limits.h.
  1656. * bits/slice.h (class slice): don't const-qualify data members
  1657. since the copy and assignment operator is implicitly used. The
  1658. valarray specification is definitively a bad one.
  1659. * Makefile.in (generate-limits-sources): fix typo.
  1660. * docs/text/TODO: update.
  1661. * docs/text/CHECKLIST: update.
  1662. * bits/gslice.h (gslice): fix bugglet.
  1663. (gslice::gslice): set _M_index_size to 0 whenever given lengths
  1664. (lj) of size zero.
  1665. * src/Makefile.am (libstdc___la_SOURCES): add gen-num-limits.
  1666. * src/Makefile.in (libstdc___la_SOURCES): keep in sync.
  1667. [Note: **/Makefile.in should be generated from the corresponding
  1668. Makefile.am. The current situation is a litte chaotic. ]
  1669. 1999-05-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
  1670. * mknumeric_limits: tweak.
  1671. * Makefile.in (all): add target generate-limits-sources.
  1672. (generate-limits-sources): make a directory bits/ in top_builddir
  1673. where the generated std_limits.h is put; generate limitsMEMBERs.cc
  1674. directly under $(top_builddir)/src. Remains to put the appropriate
  1675. rule for installing std_limits.h.
  1676. * src/Makefile.in (headers): remove bits/std_limits.h to this list.
  1677. (INCLUDES): add -I$(top_builddir) for bits/std_limits.h which is
  1678. now generated at build-time in the build directory
  1679. (libstdc___la_SOURCES): remove limitsMEMBERS.cc form this list
  1680. * src/Makefile.am: reflect changes in src/Makefile.in
  1681. 1999-05-12 Phil Edwards <pedwards@ball.com>
  1682. * docs/faq/index.html: Add more entries (5.4,5.5), finish
  1683. all but one empty entry. Add links for HOWTOs, but no files yet.
  1684. (Corrected HOWTO links are for bkoz's new scheme.)
  1685. * docs/faq/index.txt: Regenerated.
  1686. 1999-05-12 Benjamin Kosnik <bkoz@happy.cygnus.com>
  1687. * testsuite/17_intro/headers.cc: New file.
  1688. * stl/bits/std_queue.h: Change stl_bvector.h include path.
  1689. * bits/std_cwctype.h: New file.
  1690. * testsuite/27_io/filebuf.cc: Need to tweak directory structure.
  1691. 1999-05-11 Benjamin Kosnik <bkoz@loony.cygnus.com>
  1692. * stl/bits/stl_config.h (__USE_MALLOC): Change underlying allocator.
  1693. Check __USE_MALLOC before defining specializations containing
  1694. __default_alloc_template.
  1695. * src/stl-inst.cc: Here too.
  1696. * bits/basic_string.h: Change.
  1697. * testsuite/make_check_libfree++: More tweaks.
  1698. * testsuite/21/capacity.cc: New file.
  1699. * src/string.cc: Rename to be consistent with other inst files.
  1700. Rename to string-inst.cc.
  1701. * src/string*.cc: Change include.
  1702. * src/wstring.cc: Rename to wstring-inst.cc.
  1703. * src/wstring*.cc: Ditto.
  1704. * src/Makefile.in: Also here.
  1705. * src/Makefile.am: Ditto.
  1706. * src/traits.cc: Remove.
  1707. * src/wtraits.cc: Same.
  1708. Try a new way of organizing documentation, one with synchronicity
  1709. between testsuites and docs subdirectories, and see who yelps.
  1710. * docs/html: Remove, use chapter and subject specific directories
  1711. instead of forcing things immediately into format of
  1712. documentation.
  1713. * docs/text: Same.
  1714. * docs/image: Same.
  1715. * docs/faq/text, docs/faq/html: Remove, put in the docs/faq
  1716. directory and sort by filename and extension.
  1717. * docs/17_intro, 18_support, 19_diagnostics, 20_util, 21_strings,
  1718. 22_locale, 23_containers, 24_iterators, 25_algorithms,
  1719. 26_numerics, 27_io: Add.
  1720. * docs/17_intro/*: Populate with all the text files. . .
  1721. * docs/index.html: Construct.
  1722. * testsuite/*: Update with same names as the docs subdir.
  1723. * testsuite/results: Where to stash conformance results for the
  1724. different snapshots, so that progress/size/speed issues can be
  1725. tracked over time.
  1726. 1999-05-10 Benjamin Kosnik <bkoz@loony.cygnus.com>
  1727. * src/string.cc: Add _S_copy_chars instantiation, as well as
  1728. string::binary operators !=, ==, etc.
  1729. * src/Makefile.am (CXXFLAGS): Remove -fvtable-thunks.
  1730. * src/Makefile.in (CXXFLAGS): Same here.
  1731. * testsuite/make_check_libfree++ (CXX_FLAG): And here.
  1732. 1999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
  1733. * src/string.cc: Add missing member functions to instantiation list.
  1734. 1999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
  1735. * src/misc-inst.cc: Remove unused string instantiations.
  1736. * bits/string.tcc: Tweak, fix.
  1737. * bits/basic_string.h: Format. Fix reported error with c_str().
  1738. * testsuite/make_check_libfree++: Tweak for shared builds.
  1739. * testsuite/21/operations.cc: New file for testing c_str() etc.
  1740. 1999-05-06 Benjamin Kosnik <bkoz@cygnus.com>
  1741. Ryszard Kabatek <kabatek@chemie.uni-halle.de>
  1742. * stl/bits/stl_vector.h: Fix the code of vector<> for usage with
  1743. an iterator class. Delineate pointer versus iterator differences
  1744. in implementation.
  1745. * 23/vector_capacity.cc: New file, tests for above.
  1746. 1999-05-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
  1747. * mknumeric_limits: Fix typo. 'unsigned lont' should read
  1748. 'unsigned long'.
  1749. * src/Makefile.am (libstdc___la_SOURCES): add limitsMEMBERS.cc,
  1750. generated by mknumeric_limits to the list. Now std_limits.h is
  1751. basically working.
  1752. * src/Makefile.in (generate-numeric-limits): new target to handle
  1753. automatic generation of bits/std_limits.h and src/limitsMEMBERS.cc.
  1754. (all): add target generate-numeric-limits.
  1755. (libstdc___la_OBJECTS): add limitsMEMBERS.lo
  1756. (libstdc___la_SOURCES): add limitsMEMBERS.cc
  1757. 1999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
  1758. Irix build issues.
  1759. * bits/c++config.h (_G_USE_CTYPE_ISBIT): Defines new macro for
  1760. mask values in ctype_base. Move hacks for _ISBit to locfacets.h.
  1761. * bits/locfacts.h: Here.
  1762. 1999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
  1763. Ulrich Drepper <drepper@cygnus.com>
  1764. Solaris build issues.
  1765. * bits/c++config.h: Define new macros, _G_USE_STRTOF and
  1766. _G_USE_STRTOLD.
  1767. * bits/locfacets.tcc (num_get::do_get): Tweak long double and
  1768. float overloads to use the above macros. Account for the lack of
  1769. strtold on some systems, and revert back to using sscanf.
  1770. 1999-05-04 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
  1771. * bits/locfacets.tcc (num_get::do_get): Check the errno variable.
  1772. Use strtoul/strtoull for unsigned types. Check the ranges for
  1773. short/unsigned short and if necessary for int/unsigned int.
  1774. 1999-05-04 Benjamin Kosnik <bkoz@cygnus.com>
  1775. * src/gen-num-limits.cc (round_style): Need to use mknumericlimits
  1776. to generate bits/std_limits.h now, as the SGI std_limits.h is
  1777. being depricated. Not done, but should be done immediately: need
  1778. to make sure this script is run as part of the configuration
  1779. process, because without it "make" in a configured build directory
  1780. will fail. Also tweaked: added a space for float_round_style, and
  1781. used static_cast of zero to default-initialize, which should be ok
  1782. according to the standard. (see 8.5 p5 and 20.1.3).
  1783. * mknumeric_limits (OUT_C): Need this for x86 long
  1784. double extensions.
  1785. * bits/basic_file.h: Include libio.h, not libioP.h.
  1786. * src/basic_file.cc: And add libioP.h include here, so that
  1787. _IO_init, et. al are well-declared.
  1788. * testsuite/make_check_libfree++ (LIB_PATH): Test installed
  1789. headers, not source directory headers.
  1790. * src/Makefile.am (headers): Add stl_range_errors.h, also adjust
  1791. for ext/*. Also add basic_file.h.
  1792. * src/Makefile.in (headers): Same.
  1793. * bits/std_string.h: Reduce dependencies for faster
  1794. pre-processing. Move istream and ostream specific defines into
  1795. istream.tcc and ostream.tcc respectively.
  1796. * bits/string.tcc: And here.
  1797. * bits/basic_string.h: Move getline inline out-of-line, and to
  1798. istream.tcc.
  1799. * bits/istream.tcc: Move string::getline and operator>> here.
  1800. * bits/ostream.tcc: And here too.
  1801. * bits/utility.h: Remove, as clashes with a standard header. Put
  1802. __OUTOFRANGE and __LENGTHERROR macros into string.tcc for the time
  1803. being, until this can be combined with SGI's approach.
  1804. * bits/string.tcc: Add macros, as above.
  1805. * bits/loccore.h: Add _Count_ones defines.
  1806. * bits/std_string.h: And here too.
  1807. * bits/std_locale.h: And here.
  1808. * bits/std_ios.h: Take out include here.
  1809. * src/Makefile.am (headers): Remove utility.h
  1810. * src/Makefile.in (headers): Remove utility.h
  1811. * stl/bits/*: Update to SGI STL 3.20.
  1812. * stl/ext/pthread_alloc: Delete this file.
  1813. 1999-05-04 Phil Edwards <pedwards@ball.com>
  1814. * docs/faq/html/index.html: Add more entries
  1815. * docs/faq/html/index.txt: regenerated.
  1816. 1999-05-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
  1817. * src/gen-num-limits.cc (DO_DEFINE_MIN_MAX): fix typo.
  1818. 1999-04-29 Benjamin Kosnik <bkoz@haight.cygnus.com>
  1819. * bits/locfacets.tcc (num_get::do_get): Re-implement, with input
  1820. from Ulrich and Nathan. Remove extraneous string class usage,
  1821. tweak, clean, simplify and consolidate with a eye towards removing
  1822. duplcate code. Use strto[l, ll, f, d, ld] instead of sscanf.
  1823. Not done: dealing with leading zeros, wchar_t work.
  1824. * bits/locfacets.h: And here too.
  1825. * doc: Remove.
  1826. 1999-04-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
  1827. * docs/: add a FAQ.
  1828. * docs/faq/: New directory.
  1829. * docs/faq/html/: Likewise.
  1830. * docs/faq/text/: Likewise.
  1831. * docs/faq/html/index.html: New file.
  1832. * docs/faq/html/index.txt: Likewise. Generated from
  1833. docs/faq/html/index.html by lynx.
  1834. 1999-04-28 Benjamin Kosnik <bkoz@happy.cygnus.com>
  1835. Ryszard Kabatek and Branko Cibej
  1836. * bits/locfacets.tcc: Modify.
  1837. 1999-04-27 Benjamin Kosnik <bkoz@happy.cygnus.com>
  1838. * bits/sbuf_iter.h: Clean, fix istreambuf_iterator, make
  1839. conformant to 14882, wrap non-standard extensions with
  1840. _G_RESOLVE_LIB_DEFECTS, remove detritus and cruft, rennovate.
  1841. * bits/locfacets.tcc (num_get::do_get(bool)): Return correct iterator.
  1842. * testsuite/27/istringstream_formatted.cc: Add tests.
  1843. * bits/locfacets.h: Remove cruft from _Format_cache, continue
  1844. commenting, simplify.
  1845. * bits/locfacets.tcc: Same.
  1846. 1999-04-27 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
  1847. * bits/locfacets.tcc (num_get::do_get):
  1848. Fix the sscanf format parameter
  1849. for long long 'll' (as in C9X) instead of 'l'.
  1850. Fix the order of sscanf format parameters: "%dl" --> "%ld".
  1851. Change the type of the local variable '__conv' from 'string'
  1852. to 'const char*' and adapt the change.
  1853. 1999-04-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
  1854. * bits/locfacets.h: Document _Format_cache, and name data members
  1855. after the corresponding functions in numpunct. For instance:
  1856. _M_grsep -> _M_thousands_sep, and _M_decsep -> _M_decimal_point.
  1857. Break apart _M_boolnames{2] into _M_truename and _M_falsename.
  1858. * bits/locfacets.tcc: Same.
  1859. * bits/locfacets.h (num_get::_M_extract): Don't allow groupings to
  1860. stop parsing--store for later analysis.
  1861. * testsuite/27/istringstream_formatted.cc: Add cases.
  1862. 1999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
  1863. * bits/valarray_meta.h: tweak.
  1864. (_UnFunBase, _BinFunBase, _BinFunBase1, _BinFunBase2, _BinBase1,
  1865. _BinFunBase2): rename typedef-name _Tp to _Vt to keep the compiler
  1866. happy -- boggus warning.
  1867. * bits/std_valarray.h: Fix.
  1868. (valarray<T>::shift): Fix. Update comment.
  1869. (valarray<T>::cshift): Fix.
  1870. 1999-04-23 Benjamin Kosnik <bkoz@cygnus.com>
  1871. * testsuite/27filebuf-2.txt: Delete.
  1872. * testsuite/27/filebuf.cc: Put output files directly into the
  1873. correct subdirectory (27).
  1874. Alexandre Petit-Bianco <apbianco@cygnus.com>
  1875. * testsuite/make_check_libfree++: Check generated (*.txt) file
  1876. against stored results file (*.tst).
  1877. 1999-04-22 Benjamin Kosnik <bkoz@nabi.net>
  1878. * bits/locfacets.tcc: Fix.
  1879. * bits/fstream.tcc (filebuf::seekoff): Output current out pointer.
  1880. (filebuf::overflow): Simplify.
  1881. (filebuf::xsputn): Correctly handle indeterminate state.
  1882. * testsuite/27/istringstream_formatted.cc: Tweak.
  1883. * testsuite/27/filebuf.cc: Tweak.
  1884. * testsuite/27/filebuf-3.tst: Correct: this is the canonical
  1885. results file, please use this in the future to guarantee filebuf
  1886. positioning accuracy.
  1887. * testsuite/27/filebuf-2.tst: Same.
  1888. 1999-04-21 Benjamin Kosnik <bkoz@cygnus.com>
  1889. * bits/fstream.tcc (filebuf::xsputn): Add.
  1890. * bits/std_fstream.h: Declare.
  1891. * src/basic_file.cc (__basic_file::open): Add O_CREAT to open
  1892. calls using ios_base::trunc.
  1893. * bits/sstream.tcc (streambuf::overflow): Fix crasher.
  1894. * testsuite/make_check_libfree++ (LOG_FILE): Ugh. Another fix.
  1895. * testsuite/27/27stringstream.cc: Same.
  1896. * testsuite/27/27stringbuf.cc: More tweaks.
  1897. * testsuite/27/27filebuf-2.txt: Remove.
  1898. * testsuite/27/27filebuf-1.tst: Append, to force byte size over
  1899. BUFSIZE so that overflows/underflow can be tested with default
  1900. buffer setting.
  1901. * testsuite/27/27filebuf-1.tst: Add.
  1902. * testsuite/*/*: Remove pre-pended chapter names, as they
  1903. duplicate the chapter info contained in the enclosing directory
  1904. anyway.
  1905. 1999-04-20 Benjamin Kosnik <bkoz@cygnus.com>
  1906. * bits/streambuf.tcc (streambuf::xsputn): Re-implement to conform
  1907. to sputc conditions.
  1908. * bits/ios_base.h: Define here.
  1909. * src/ios.cc (ios_base::_M_clear): Remove hack.
  1910. * bits/basic_ios.h: Fix rdstate().
  1911. * bits/sstream.tcc (streambuf::seekoff): Fix.
  1912. * bits/fstream.tcc (filebuf::seekoff): Tweak comments.
  1913. * testsuite/make_check_libfree++ (LOG_FILE): More c-c-c-changes.
  1914. * testsuite/24/24iterator.cc: Add/Fixes for DEBUG_ASSERT.
  1915. * testsuite/27/27stringstream.cc: Same.
  1916. * testsuite/27/27stringbuf.cc: Same.
  1917. * testsuite/27/27istringstream_formatted.cc: Same.
  1918. * testsuite/27/27filebuf.cc: Same.
  1919. * bits/locfacets.h: Remove specializations for messages<char> and
  1920. messages<wchar_t> ctors. Same for moneypunct. Not required, not used.
  1921. * src/locale.cc: Remove definitions for above.
  1922. * src/misc-inst.cc: Revert, take out iomanip.h include.
  1923. * bits/std_iomanip.h: Tweak, format.
  1924. 1999-04-19 Benjamin Kosnik <bkoz@cygnus.com>
  1925. * bits/loccore.h: Format, move inline.
  1926. * bits/locfacets.tcc: Same.
  1927. * bits/locfacets.h: Same.
  1928. Ulrich Drepper <drepper@cygnus.com>
  1929. * aclocal.m4: Re-generate.
  1930. * configure, configure.in: Same.
  1931. * m4/lc_messages.m4: New file.
  1932. 1999-04-18 Benjamin Kosnik <bkoz@cygnus.com>
  1933. * bits/std_ostream.h: Fix typedef for wchar_t instantiations.
  1934. * bits/sstream.tcc: Tweak.
  1935. * std/iostream: Put __ioinit inside macro guards.
  1936. * src/stlinst.cc: Delete and move to . . .
  1937. * src/stl-inst.cc: New file, plus wrapping in namespace std.
  1938. * src/Makefile.in: Change.
  1939. * src/Makefile.am: Same.
  1940. * src/misc-inst.cc: Add istringstream/ostringstream instantiations.
  1941. * testsuite/make_check_libfree++: Efficiently format for minimal
  1942. space. Enforce stricter execution tests by enabling
  1943. -DDEBUG_ASSERT.
  1944. 1999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
  1945. * docs/text/RELEASE-NOTES: Fix include typo.
  1946. * src/Makefile.am (headers): Add istream.tcc.
  1947. * src/Makefile.in (headers): Add istream.tcc.
  1948. * ltconfig, ltmain.sh, libtool: Update to libtool-1.2g.
  1949. 1999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
  1950. * bits/locfacets.tcc (num_get::do_get(long)): Finish roughing in.
  1951. * bits/locfacets.h (num_get::_M_extract): New functin:
  1952. consolidate logic for do_get(...) members.
  1953. * bits/sbuf_iter.h (istreambuf_iterator::operator++()): Fix.
  1954. * testsuite/27/27istringstream_formatted.cc: Add.
  1955. 1999-04-16 Martin v. Löwis <martin@mira.isdn.cs.tu-berlin.de>
  1956. * src/basic_file.cc (__basic_file::open): Fix thinko in
  1957. _G_HAVE_IO_FILE_OPEN bits.
  1958. * bits/std_istream.h (sentry::sentry(istream, bool)): Fix isspace bug.
  1959. * bits/std_cmath.h: Add stdlib.h include for ldiv_t.
  1960. * src/complex.cc (FCT): Qualify all functions with global namespace.
  1961. * src/locale.cc: Don't qualify memcpy and setlocale.
  1962. * src/stdexcept.cc (__out_of_range): Qualify out_of_range with std::.
  1963. (__length_error): Likewise, for length_error.
  1964. * src/stlinst.cc: Qualify instantiations with std::.
  1965. 1999-04-15 Benjamin Kosnik <bkoz@cygnus.com>
  1966. * C++STYLE: Add ChangeLog guidelines for member functions.
  1967. * doc/* : Delete.
  1968. * BADNAMES, BUGS, C++STYLE, CHECKLIST, COPYING,
  1969. DESIGN, HEADER_POLICY, PROBLEMS, RELEASE-NOTES, TODO: Moved into
  1970. docs/text and made less strident.
  1971. * bits/fstream.tcc: Change non-standard ctor to match Sun's sematics.
  1972. * bits/std_fstream.h: Same.
  1973. * src/ios.cc: Same.
  1974. * bits/locfacets.h: Touch.
  1975. 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
  1976. * math/cexp.c (cexp): Use NAN instead of nan("").
  1977. Reported by joel reed <joelreed@yahoo.com>.
  1978. * libio/libioP.h: Define _IO_seek_fpos_t and _IO_seek_off_t based on
  1979. _G_IO_IO_FILE_VERSION. Use these types in the prototypes.
  1980. * libio/fileops.c: Use _IO_seek_fpos_t and _IO_seek_off_t types
  1981. instead of #if cascades.
  1982. * libio/genops.c: Likewise.
  1983. * libio/ioseekoff.c: Likewise.
  1984. * libio/ioseekpos.c: Likewise.
  1985. * libio/strops.c: Likewise.
  1986. Patch by Chip Salzenberg <chip@perlsupport.com>.
  1987. 1999-04-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
  1988. * docs: New directory.
  1989. * docs/html: Likewise.
  1990. * docs/text: Likewise.
  1991. * docs/image: Likewise.
  1992. * bits/std_cmath.h: Add new functions.
  1993. (abs): overload for long and double.
  1994. (div): overload for long.
  1995. * bits/valarray_array.h: Fix.
  1996. * bits/gslice.h: Adjust friend.
  1997. * bits/slice_array.h: likewise.
  1998. * bits/valarray_meta.h: likewise.
  1999. 1999-04-13 Benjamin Kosnik <bkoz@tintin.cygnus.com>
  2000. * bits/locfacets.h: More changes, for num_get for insertion
  2001. operators for integral types. Comment fields in _Format_cache.
  2002. * bits/locfacets.tcc: And here too: add preliminary long version.
  2003. * testsuite/27/27istringstream_formatted.cc: Add cases.
  2004. 1999-04-13 Mark Elbrecht <snowball3@usa.net>
  2005. * configure.in: Add locale.h to AC_CHECK_HEADERS argument. Call
  2006. AC_LC_MESSAGES macro.
  2007. * aclocal.m4 (AC_LC_MESSAGES): New. Determines if a target
  2008. supports LC_MESSAGES.
  2009. * config.h.in: Add entry for HAVE_LC_MESSAGES.
  2010. * src/locale.cc (locale::_S_normalize_category): Use the
  2011. HAVE_LC_MESSAGES macro to check for LC_MESSAGES support instead of
  2012. _G_NO_CLOCALE_HAS_MESSAGES.
  2013. * aclocal.m4 (AM_PROG_LD): For DOS style paths, simplify test to
  2014. '?:' from '?:\\' so any path beginning with a drive name matches.
  2015. 1999-04-12 Mark Elbrecht <snowball3@usa.net>
  2016. * src/basic_file.cc(sys_open) [O_BINARY]: Declare __testb.
  2017. 1999-04-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
  2018. * bits/locfacets.h: Tweak.
  2019. * bits/locfacets.tcc(do_get): Clean/fix bool method.
  2020. * testsuite/21/21nonmember.cc: Same.
  2021. * testsuite/21/21compare.cc: Fix license.
  2022. * testsuite/27/27istringstream_formatted.cc: New file.
  2023. 1999-04-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
  2024. * bits/valarray_meta.h: _BinFunBase1, _BinFunBase2, _BinBase1,
  2025. _BinBase2: new template classes; put in there to work around a
  2026. compiler limitation. The whole valarray architecture is now
  2027. working.
  2028. 1999-04-08 Benjamin Kosnik <bkoz@haight.constant.com>
  2029. * bits/locfacets.tcc: Fix, format.
  2030. * bits/locfacets.h: Fix.
  2031. * src/locale.cc: Same, plus format.
  2032. * bits/basic_string.h: Re-add definition here.
  2033. * src/string.cc: Take out.
  2034. 1999-04-08 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
  2035. * bits/std_valarray.h: tweak.
  2036. * bits/valarray_array.h tweak. use _Expr.
  2037. * bits/slice_array.h: likewise.
  2038. * bits/gslice_array.h: likewise.
  2039. * bits/mask_array.h: likewise.
  2040. * bits/indirect_array.h: likewise.
  2041. * bits/valarray_meta.h: tweak.
  2042. _UnFunBase, _UnFunClos, _BinFunBase, _FunBase, _ValFunClos,
  2043. _RefFunClos, _UnBase, _UnClos, _BinBase, _BinClos, _SClos, _GClos,
  2044. _IClos: new template classes.
  2045. _Meta: renamed to _Expr. Made template with args.
  2046. _Constant: made template with two args.
  2047. 1999-04-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
  2048. * bits/valarray_array.h: tweak.
  2049. 1999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
  2050. * bits/basic_string.h: Whoops--fix blip.
  2051. 1999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
  2052. Update to SGI STL 3.13
  2053. * bits/basic_string.h: Add __get_c_string definition.
  2054. * stl/bits/stl_range_errors.h: New file.
  2055. * stl/bits/std_bvector.h: Same.
  2056. * stl/bits/*: Update.
  2057. 1999-04-04 1999 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
  2058. * bits/slice_array.h: tweak.
  2059. * bits/gslice_array.h: tweak.
  2060. * bits/mask_array.h: tweak.
  2061. * bits/indirect_array.h: tweak.
  2062. * bits/valarray_array.h: tweak.
  2063. (__valarray_copy): replace copy with memcpy.
  2064. * bits/std_valarray.h: use __valarray_copy whenever possible.
  2065. use __valarray_fill instead of fill.
  2066. 1999-04-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
  2067. * src/gen-num-limits.cc: new file
  2068. * mknumeric_limits: Ditto.
  2069. 1999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
  2070. * bits/locfacets.tcc: Do a stub version of num_get for short, int,
  2071. and long types.
  2072. * bits/locfacets.h: Add num_get::get methods overloaded for int
  2073. and short, to resolve ambiguous overloads in istream insertion
  2074. operators.
  2075. 1999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
  2076. * bits/std_istream.h: Fix.
  2077. * bits/istream.tcc: Fix.
  2078. 1999-03-30 Philip Martin <pm@corris.dircon.co.uk>
  2079. * testsuite/24/24iterator.cc: fix ++/-- tests
  2080. 1999-03-29 Benjamin Kosnik <bkoz@cygnus.com>
  2081. * bits/std_ostream.h: Looks like this, actually: Fix up eh-isms.
  2082. * bits/ostream.tcc: Same.
  2083. * bits/std_istream.h: Bring over ostream changes, implement member
  2084. functions. Baseline.
  2085. * bits/istream.tcc: New file.
  2086. 1999-03-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
  2087. * bits/gslice.h (class gslice): fix friends template.
  2088. 1999-03-23 Benjamin Kosnik <bkoz@cygnus.com>
  2089. * bits/std_ostream.h: Fix sentry objects, implement seekp, tellp,
  2090. delete cruft, etc.
  2091. * bits/ostream.tcc: Same.
  2092. * bits/std_istream.h: Minor tweaks.
  2093. 1999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
  2094. * src/locale-inst.cc: Remove duplicate instantiations.
  2095. * bits/locfacets.tcc: Tweak definitions of static member.
  2096. 1999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
  2097. * bits/std_fstream.h: Format: prepend "__" in front of
  2098. non-standard typedefs.
  2099. * bits/fstream.tcc: Match.
  2100. * bits/std_streambuf.h: Format: prepend "__" in front of
  2101. non-standard typedefs.
  2102. * bits/sstream.tcc: Match.
  2103. * bits/std_istream.h: Format.
  2104. * src/locale-inst.cc: Add num_get instantiations.
  2105. * bits/std_sstream.h: Fix crash in stringstreams. Remove member
  2106. _M_sb, a basic_stringbuf object, and use the basic_ios pointer
  2107. _M_streambuf instead. Make initializations sane. Fix
  2108. allocation/deallocation of _M_streambuf.
  2109. * bits/std_ostream.h: Fix initialization code.
  2110. (ctor): Eliminate redundant this->init(), let base class initialize.
  2111. (default ctor): New. Assume base classes already initialzed.
  2112. * bits/std_istream.h: Parallel work to ostream.
  2113. (ctor): Eliminate redundant this->init(), let base class initialize.
  2114. (default ctor): New. Assume base classes already initialzed.
  2115. Fix initialization of basic_iostream.
  2116. * bits/std_fstream.h: While we're at it, make initializations sane
  2117. here too. Now matches sstream.h.
  2118. * bits/string.tcc: Fix crash in basic_string::compare.
  2119. * bits/basic_string.h: And here.
  2120. * bits/c++config.h: Add comment about _G_USE_EXCEPTIONS.
  2121. * testsuite/make_check_libfree++: Check shared as well.
  2122. * testsuite/27/27stringstream.cc: Add bits.
  2123. * testsuite/27/27boolfmt.cc: Add bits.
  2124. * testsuite/27/27octfmt.cc: Add bits.
  2125. 1999-03-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
  2126. * configure.in (USE_LONG_DOUBLE): signbitl link error.
  2127. * bits/locfacets.h: Fix errors that cause build problems
  2128. with current egcs (template parameters have class scope).
  2129. * bits/locfacets.tcc: Same.
  2130. * src/locale-inst.cc: Same, clean.
  2131. * src/misc-inst.cc: Same, clean.
  2132. 1999-03-17 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
  2133. * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
  2134. standard. Re-apply this previous patch.
  2135. 1999-03-17 Philip Martin <pm@corris.dircon.co.uk>
  2136. * bits/basic_string.h: Use __normal_iterator<> for iterators.
  2137. * bits/std_sstream.h: Support __normal_iterator<> iterators.
  2138. * bits/string.tcc: Ditto.
  2139. * src/misc-inst.cc: Ditto.
  2140. * src/locale-inst.cc: Ditto.
  2141. * stl/bits/stl_iterator.h: Add __normal_iterator<>.
  2142. * stl/bits/stl_vector.h: Use __normal_iterator<> for iterators.
  2143. * testsuite/24/24iterator.cc: Add test cases for basic_string and
  2144. vector iterators.
  2145. 1999-03-16 Benjamin Kosnik <bkoz@cygnus.com>
  2146. * bits/locfacets.tcc: Remove macro hack.
  2147. * bits/locfacets.h: Tweaks.
  2148. * src/misc-inst.cc: Weed out locale-related instantiations.
  2149. * src/locale-inst.cc: Same.
  2150. * RELEASE-NOTES: Make more changes.
  2151. * bits/c++config.h: Bump version number.
  2152. * testsuite/make_check_libfree++: Collect diagnostics.
  2153. * bits/std_ostream.h: Fix ostream initialization/destruction
  2154. problem, related to dtor cleanup and new cached facets, agggggggh.
  2155. * bits/ostream.tcc: Tweak.
  2156. * bits/locfacets.h: Remove all friends of iostream classes.
  2157. * bits/ios_base.h: Same.
  2158. * bits/streambuf.tcc: Tweak.
  2159. * bits/std_streambuf.h: Tweak.
  2160. * bits/std_fstream.h: Tweak.
  2161. * bits/fstream.tcc: Tweak.
  2162. * src/stdstreams.cc: Tweak.
  2163. * src/ios.cc: Close streams.
  2164. * math/Makefile.in: Add missing files for shared link errors.
  2165. * math/Makefile.am: Same.
  2166. 1999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
  2167. * src/locale-inst.cc: More wchar_t instantiations.
  2168. * src/misc-inst.cc: Missed a few bits.
  2169. * testsuite/make_check_libfree++: Add static and shared runs.
  2170. * src/ios.cc: Add clarity to ios_base::Init::~Init().
  2171. 1999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
  2172. * bits/std_ostream.h: Format, expunge, simplify. Add cached
  2173. facets. Resolve link errors.
  2174. * bits/ostream.tcc: Same.
  2175. * src/misc-inst.cc: Add ostream, wostream instantiations.
  2176. * src/Makefile.am: Add missing bits for stdstreams.cc.
  2177. * src/Makefile.in: Same.
  2178. * bits/std_iosfwd.h: Format.
  2179. * bits/locfacets.h (num_put): Add basic_ostream as a friend to
  2180. num_put so that cached _M_fnumput pointer can be deleted in
  2181. basic_ostream's dtor. Now everybody plays nice.
  2182. 1999-03-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
  2183. * bits/gslice.h (class gslice): Make friends valarray,
  2184. gslice_array and _GliceExpression.
  2185. 1999-03-11 Benjamin Kosnik <bkoz@cygnus.com>
  2186. * RELEASE-NOTES: Update.
  2187. * src/ios.cc: Use do proper init.
  2188. * bits/std_streambuf.h: Tweak.
  2189. * bits/std_iostream.h: Take out static member.
  2190. * std/iostream: Put here.
  2191. * bits/std_ostream.h: Non-default ctor shouldn't smash _M_streambuf.
  2192. * bits/std_istream.h: Ditto.
  2193. * bits/basic_ios.h: Format.
  2194. * bits/ostream.tcc(write): Fix.
  2195. * bits/fstream.tcc: Fix stdstreams ctor to do a proper
  2196. initialization of the fstream class.
  2197. * src/stdstreams.cc: I'm baaaaaaaack.
  2198. 1999-03-10 Benjamin Kosnik <bkoz@rhino.cygnus.com>
  2199. * bits/ios_base.h: Correct comments. Add ios_base::init()
  2200. functionality. Format, tweak, expunge, clean, bathe, and hang to dry.
  2201. * src/misc-inst.cc: Add instantiations here.
  2202. * src/ios.cc: Clean.
  2203. * bits/std_iostream.h: Add wrappers, global ios_base::Init object.
  2204. * src/stdstreams.cc: Delete this file, as now unnecessary.
  2205. * bits/fstream.tcc: Add missing initialization bits for ctor.
  2206. * src/Makefile.am (libstdc___la_SOURCES): Delete here as well.
  2207. * src/Makefile.in (libstdc___la_OBJECTS): And here.
  2208. * bits/streambuf.tcc: Tweak.
  2209. * bits/sstream.tcc: Here too.
  2210. * bits/fstream.tcc: And change definition as well.
  2211. * bits/std_fstream.h: Change ctor.
  2212. * src/basic_file.cc (sys_open): Add call that opens a specific fileno.
  2213. * bits/basic_file.h: Add declarations.
  2214. * testsuite/27/27hello.cc: New file.
  2215. * bits/std_ostream.h: Move flush() inline.
  2216. * bits/ostream.tcc: From here.
  2217. * bits/char_traits.h: Add include of fpos.h for streamoff/streampos.
  2218. * bits/std_ios.h: Change include libio to only when necessary.
  2219. * bits/fpos.h: Like here.
  2220. * ios_base.h: And here.
  2221. * bits/locfacets.h: Change _Iostate to _Ios_Iostate.
  2222. * bits/locfacets.tcc: Same.
  2223. * bits/std_locale.h: Include std_ios.h not std_iosfwd.h.
  2224. * bits/std_iosfwd.h: Move _Ios_Iostate to ios_base.h
  2225. 1999-03-09 Benjamin Kosnik <bkoz@rhino.cygnus.com>
  2226. * bits/basic_ios.h: Change _M_ctype to _M_fctype.
  2227. * bits/std_streambuf.h: Clean, tweak.
  2228. * bits/std_fstream.h: Same.
  2229. * bits/std_sstream.h: Same.
  2230. * bits/streambuf.tcc: Move most member functions out-of-line.
  2231. * bits/fstream.tcc: Same.
  2232. * bits/streambuf.tcc: Same.
  2233. * bits/basic_file.h(filepos_cur): Set correctly.
  2234. (filepos_beg): Same.
  2235. (seekpos): Change to __c_streampos.
  2236. * src/basic_file.cc (std): Change to __c_streampos.
  2237. * testsuite/27/27filebuf.cc: Round one is finished.
  2238. * testsuite/27/27filebuf-2.tst: New file, final output should match.
  2239. * testsuite/27/27filebuf-3.tst: Same.
  2240. 1999-03-08 Benjamin Kosnik <bkoz@rhino.cygnus.com>
  2241. * bits/basic_file.h: Fix typo, add comments about what to expect
  2242. from the various member functions in __basic_file.
  2243. * bits/std_fstream.h: Re-do sync/underflow to work
  2244. together. Change from sys_read to xsgetn and from sys_write to
  2245. xsputn. As it should have been from the beginning. . .
  2246. 1999-03-06 Benjamin Kosnik <bkoz@haight.constant.com>
  2247. * bits/c++config.h (__GLIBCPP__): Add versioning macro.
  2248. * bits/basic_file.h(file_beg): New function.
  2249. (file_cur): Ditto.
  2250. * testsuite/27/27filebuf.cc: Test in, out, in | out.
  2251. * bits/std_fstream.h: More _M_mode refinements.
  2252. (synch): Add bits for out mode only.
  2253. * bits/std_streambuf.h(xsputn): Correct for filebufs.
  2254. * bits/std_sstream.h: Ditto.
  2255. 1999-03-03 Benjamin Kosnik <bkoz@cygnus.com>
  2256. * bits/std_fstream.h: Fix _M_mode AND with ios_base::openmode.
  2257. * testsuite/27/27filebuf.cc: Modify.
  2258. * bits/c++config.h: Fix.
  2259. 1999-03-02 Benjamin Kosnik <bkoz@tintin.cygnus.com>
  2260. * bits/c++config.h: New macro, _G_RESOLVE_LIB_DEFECTS, used to put
  2261. code in place that diverges from the final standard, but has been
  2262. brought up on the library mailing list.
  2263. * bits/std_fstream.h(underflow): Position all three internal
  2264. buffer pointers at the same initial position. Re-implement with
  2265. basic_filebuf abstraction.
  2266. (overflow): Ditto.
  2267. (seekoff): Ditto.
  2268. (seekpos): Ditto.
  2269. * bits/std_sstream.h: Move _M_mode down into base class
  2270. basic_streambuf.
  2271. * bits/sstream.tcc: Ditto.
  2272. * bits/std_streambuf.h: Ditto.
  2273. * testsuite/27/27filebuf.cc: Tweak.
  2274. 1999-02-27 Benjamin Kosnik <bkoz@slap-happy.cygnus.com>
  2275. * bits/std_sstream.h: Ditto.
  2276. * bits/std_fstream.h: Fix blip.
  2277. 1999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
  2278. * C++STYLE: Add cases.
  2279. * bits/std_fstream.h: Format.
  2280. * bits/std_streambuf.h: Ditto.
  2281. * bits/std_sstream.h: Ditto.
  2282. * src/basic_file.cc(sys_seek): Fix stack delirium, by keeping
  2283. return type for _IO_file_seek and __basic_file::seek the same size.
  2284. * bits/basic_file.h: Ditto.
  2285. 1999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
  2286. * bits/fstream.tcc: Add include guards.
  2287. * src/misc-inst.cc: Add instantiations for shared libes.
  2288. * src/locale-inst.cc: Add instantiaions for use_facet.
  2289. * bits/loccore.h: Remove specialization foward decls for
  2290. use_facet<ctype>: perhaps add the whole lot of them later on.
  2291. * bits/std_fstream.h: Fix.
  2292. * bits/locfacets.h: Ditto.
  2293. * src/stdstreams.cc: Disable wide streams for now.
  2294. * src/Makefile.am (CXXFLAGS): Change up.
  2295. * src/Makefile.in (CXXFLAGS): Ditto.
  2296. 1999-02-25 Benjamin Kosnik <bkoz@happy.cygnus.com>
  2297. * src/basic_file.cc: Change to ios_base::seekdir from int.
  2298. * bits/basic_file.h: Ditto.
  2299. * bits/locfacets.h : Fix blip with new guard macros.
  2300. 1999-02-25 Benjamin Kosnik <bkoz@cygnus.com>
  2301. * stl/bits/stl_config.h (__STL_USE_STD_ALLOCATORS): Minor tweaking.
  2302. * bits/c++config.h: Clean. Remove _G_NO_STREAMBUF_ITERATORS and
  2303. _G_USE_NAMESPACE.
  2304. * amm1/locale: Remove unused defines.
  2305. * generic/locale: Ditto.
  2306. * src/ios.cc: Ditto.
  2307. * src/locale.cc: Ditto.
  2308. * src/locale-inst.cc: Ditto.
  2309. * src/localename.cc: Ditto.
  2310. * src/stdstreams.cc: And here.
  2311. * bits/c++config.h (_G_USE_WCHAR_T): Fix.
  2312. * bits/loccore.h: Simplify, clean, add wchar_t guards.
  2313. * bits/loccore.tcc: Ditto.
  2314. * bits/locfacets.h: Ditto.
  2315. * src/locale-inst.cc: Ditto.
  2316. * bits/locfacets.tcc: Add do_put long long here.
  2317. 1999-02-24 Benjamin Kosnik <bkoz@cygnus.com>
  2318. * bits/std_streambuf.h: Add cached ctype facet, _M_ctype.
  2319. * bits/basic_ios.h: Clean. Replace _M_strbuf with
  2320. _M_streambuf. Use cached _M_cvt in basic_streambuf.
  2321. * bits/std_istream.h: Replace _M_strbuf with _M_streambuf.
  2322. * bits/std_fstream.h: Tweak.
  2323. * bits/char_traits.h: Remove fpos definitions from here. . .
  2324. * bits/fpos.h: New file, put them here. Eventually, this may allow
  2325. the severing of char_traits and fpos dependencies.
  2326. * src/Makefile.in: Add fpos.h.
  2327. * src/Makefile.am: Ditto.
  2328. * bits/std_string.h: Add fpos.h include here.
  2329. * bits/std_ios.h: And here.
  2330. * bits/std_streambuf.h: Change _M_init to _M_initialized.
  2331. * bits/ios_base.h: Remove cstdio include.
  2332. * bits/std_ios.h: ... Place here.
  2333. 1999-02-23 Benjamin Kosnik <bkoz@loony.cygnus.com>
  2334. * src/Makefile.in (CXXFLAGS): Re-add -fvtable-thunks.
  2335. * src/Makefile.am (CXXFLAGS): Re-add -fvtable-thunks.
  2336. * bits/basic_file.h: Comment, adjust arguments.
  2337. * src/basic_file.cc: Ditto.
  2338. * bits/std_fstream.h(seekoff): Error is of fpos type, not integral
  2339. type: check and convert accordingly. Re-interpet "resultant stream
  2340. position" to indicate external byte sequence location, not internal
  2341. buffer info.
  2342. 1999-02-22 Benjamin Kosnik <bkoz@loony.cygnus.com>
  2343. * mkcshadow: And change copyright here.
  2344. * src/Makefile.am (CXXFLAGS): Add -g -O2. Add new header
  2345. dependencies for stl_pthread_alloc.h, pthread_allocimpl.h,
  2346. stl_thread.h, and stl_iterator_base.h.
  2347. * src/Makefile.in (CXXFLAGS): Ditto.
  2348. * stl/backward/pthread_alloc.h: Remove.
  2349. 1999-02-19 Benjamin Kosnik <bkoz@loony.cygnus.com>
  2350. * bits/std_streambuf.h (sungetc): Use standard defs for putback
  2351. position.
  2352. * bits/std_fstream.h (pbackfail): Correct.
  2353. (sungetc): Test.
  2354. (seekoff): Implement.
  2355. (seekpos): Re-do.
  2356. * testsuite/27/27filebuf.cc: Add test cases.
  2357. 1999-02-18 Benjamin Kosnik <bkoz@loony.cygnus.com>
  2358. * bits/std_fstream.h: Go with basic_file's interfaces for dealing
  2359. with the external buffers, and stop mucking around with setting
  2360. and re-setting the external buf's pointers. Aka, clarity and
  2361. simplicity rule the day.
  2362. * src/locale.cc: Use memcpy in codecvt::do_in and codecvt::do_out.
  2363. Remove partial result and support code.
  2364. 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
  2365. * configure.in: Add hypot, hypotf, atan2f, expf, and copysignf to
  2366. list of function which have to be replaced.
  2367. Remove expf from list of functions to test for.
  2368. Define USE_LONG_DOUBLE in case the libm has partial support for long
  2369. doubles.
  2370. * Makefile.in: Regenerated.
  2371. * config.h.in: Likewise.
  2372. * configure: Likewise.
  2373. * libio/Makefile.am (LIBIO_SRCS): Add missing backslash.
  2374. * libio/Makefile.in: Regenerated.
  2375. * src/Makefile.in: Regenerated.
  2376. * string/Makefile.in: Regenerated.
  2377. * math/Makefile.am (EXTRA_DIST): Add hypot.c, hypotf.c, hypotl.c,
  2378. atan2f.c, expf.c, and $(EXTRA_yes).
  2379. (EXTRA_yes): Add signbitl.c mycabsl.c.
  2380. (libmath_la_LIBADD): Add $(EXTRA_$(USE_LONG_DOUBLE)).
  2381. (libmath_la_SOURCES): remove long double versions.
  2382. * math/Makefile.in: Regnerated.
  2383. * math/atan2f.c: New file.
  2384. * math/copysignf.c: New file.
  2385. * math/expf.c: New file.
  2386. * math/hypot.c: New file.
  2387. * math/hypotf.c: New file.
  2388. * math/hypotl.c: New file.
  2389. * math/cargf.c: Use correct function and macro names.
  2390. * math/ccos.c: Likewise.
  2391. * math/ccosh.c: Likewise.
  2392. * math/ccoshf.c: Likewise.
  2393. * math/ccoshl.c: Likewise.
  2394. * math/cexp.c: Likewise.
  2395. * math/cexpf.c: Likewise.
  2396. * math/cexpl.c: Likewise.
  2397. * math/clog.c: Likewise.
  2398. * math/clog10.c: Likewise.
  2399. * math/clog10f.c: Likewise.
  2400. * math/clog10l.c: Likewise.
  2401. * math/clogf.c: Likewise.
  2402. * math/clogl.c: Likewise.
  2403. * math/copysignf.c: Likewise.
  2404. * math/csin.c: Likewise.
  2405. * math/csinf.c: Likewise.
  2406. * math/csinh.c: Likewise.
  2407. * math/csinhf.c: Likewise.
  2408. * math/csinhl.c: Likewise.
  2409. * math/csinl.c: Likewise.
  2410. * math/csqrt.c: Likewise.
  2411. * math/csqrtf.c: Likewise.
  2412. * math/csqrtl.c: Likewise.
  2413. * math/ctan.c: Likewise.
  2414. * math/ctanf.c: Likewise.
  2415. * math/ctanh.c: Likewise.
  2416. * math/ctanhf.c: Likewise.
  2417. * math/ctanhl.c: Likewise.
  2418. * math/ctanl.c: Likewise.
  2419. 1999-02-17 Benjamin Kosnik <bkoz@cygnus.com>
  2420. * testsuite/27/27filebuf.cc: Add cases.
  2421. * testsuite/27/27filebuf-1.txt: Remove inadvertent garbage.
  2422. * bits/std_streambuf.h: Simplify, always have one return statement.
  2423. * bits/std_fstream.h: Tweak comments in underflow.
  2424. 1999-02-17 Ulrich Drepper <drepper@cygnus.com>
  2425. * ltmain.sh: Update from libtool 1.2d and fix Solaris problems.
  2426. * ltconfig: Likewise.
  2427. 1999-02-16 Christophe Pierret <cpierret@businessobjects.com>
  2428. * src/locale.cc: Fix assert.
  2429. 1999-02-16 Benjamin Kosnik <bkoz@cygnus.com>
  2430. FIXME: Still need some kind of solution for undefined math symbols.
  2431. * src/Makefile.in (locale-inst.lo): Compile with
  2432. -fimplicit-templates to fix Solaris link problem.
  2433. * src/Makefile.am: Ditto.
  2434. * libio/Makefile.in: Add stdfiles.c so that _IO_list_all is defined.
  2435. * libio/Makefile.am: Ditto.
  2436. * src/locale.cc: Provide some kind of def for _S_tolower.
  2437. * bits/locfacets.h: Fix declarations of ctype<wchar_t> to
  2438. match ctype<char> for _S_tolower, _S_toupper, _S_table.
  2439. 1999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
  2440. * bits/loccore.tcc: Move member-template ctor inline...
  2441. * bits/loccore.h: ...here.
  2442. * src/locale-inst.cc: Add instantiation here.
  2443. * testsuite/27/27stringstream.cc: Tweak.
  2444. * bits/ostream.tcc: Include sbuf_iter.h.
  2445. * bits/ostream.tcc: Convert *this to ostreambuf_iterator before
  2446. passing to num_put, as num_put's first argument is an interator,
  2447. not basic_ostream.
  2448. * testsuite/make_check_libfree++: New file, runs through the
  2449. existing test files in the testsuite directory and makes sure
  2450. they link.
  2451. 1999-02-10 Brendan Kehoe <brendan@cygnus.com>
  2452. * testsuite/21/21compare.cc: Fix typo.
  2453. * src/locale.cc (ctype<wchar_t>::_S_{toupper,tolower,table}):
  2454. Don't try to provide non-linux versions, since it's impossible to
  2455. initialize their const references with the integer 0, no matter
  2456. how we try to cast it.
  2457. 1999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
  2458. * bits/std_locale.h: Move std_vector.h dependency.
  2459. * bits/std_ios.h: ...from here.
  2460. * bits/std_string.h: ...and here.
  2461. * src/locale.cc: ..to here.
  2462. * bits/loccore.h: Ditto, add vector forward declaration,
  2463. make locale::_Impl data members pointers not containers.
  2464. * bits/loccore.tcc: Move out-of-line for now.
  2465. * bits/locfacets.h: Move vector dependency from here...
  2466. * bits/locfacets.tcc: ...to here.
  2467. * src/localename.cc: ..and here.
  2468. * src/locale-inst.cc: Add include of locfacets.tcc here.
  2469. * stl/bits/stl_string_fwd.h: Make __get_c_string non-static.
  2470. * bits/basic_string.h: Can't use sizeof on an incomplete type.
  2471. * bits/string.tcc: Tweak.
  2472. * src/string.cc: And add __get_c_string def here.
  2473. * bits/std_fstream.h: Yeah, comment the fill_n idea out as impractical.
  2474. * src/stlinst.cc: Add include of stl_config.h.
  2475. 1999-02-09 Benjamin Kosnik <bkoz@cygnus.com>
  2476. * stl/bits/std_bitset.h: Update to SGI STL 3.12.
  2477. * stl/bits/stl_config.h: Tweak, update.
  2478. * stl/bits/std_stdexcept.h: Ditto, change stl_exception to
  2479. std_exception.
  2480. * stl/bits/std_memory.h: Reconstructed auto_ptr, Ditto.
  2481. * stl/bits/std_functional.h: Ditto.
  2482. * stl/bits/stl_string.h: New file, SGI's string
  2483. implementation. For reference only, corresponding to string in
  2484. 3.12 source.
  2485. * stl/bits/stl_char_traits.h: As above.
  2486. * stl/bits/pthread_allocimpl.h: New file corresponding to
  2487. pthread_alloc.
  2488. * stl/bits/stl_pthread_alloc.h: New file corresponding to
  2489. pthread_alloc.h
  2490. * stl/bits/stl_threads.h: New file.
  2491. Note that SGI STL 3.12's file iterator.h is not used.
  2492. * stl/bits/std_iterator.h: Ditto.
  2493. * stl/bits/stl_iterator.h: Drop in replace.
  2494. * stl/bits/stl_iterator_base.h: New file, drop in replace.
  2495. * stl/bits/stl_queue.h, stl_rope.h, stl_set.h, stl_stack.h,
  2496. stl_string_fwd.h, stl_tempbuf.h, stl_tree.h, stl_vector.h,
  2497. stl_pair.h, stl_multimap.h, stl_multiset.h, stl_list.h,
  2498. stl_hashtable.h, stl_hash_set.h, stl_hash_map.h, stl_function.h,
  2499. stl_deque.h, stl_alloc.h, stl_algo.h, stl_algobase.h, ropeimpl.h:
  2500. Drop-in replace (ie, stop changing __SGI_STL_* to _CPP_BITS_* for
  2501. preprocessor guards, but fixup include paths and names according
  2502. to new directory layout).
  2503. 1999-02-05 Benjamin Kosnik <bkoz@cygnus.com>
  2504. * bits/std_fstream.h: Remove _M_open data member.
  2505. * bits/fstream.tcc: Ditto.
  2506. * src/locale.cc: Tweak.
  2507. * bits/std_sstream.h: Simplify.
  2508. * bits/std_streambuf.h: Simplify.
  2509. (sputc): Use correct definition of "write area."
  2510. * bits/std_fstream.h: Fix uflow.
  2511. * src/basic_file.cc: Tweak.
  2512. * testsuite/27/27filebuf.cc: Add tests.
  2513. * testsuite/27/27filebuf-3.txt: Rename to *-2.txt.
  2514. 1999-02-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
  2515. * bits/ios_base.h: Make protected.
  2516. 1999-02-01 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
  2517. * bits/ios_base.h: Changes in the class ios_base:
  2518. Rename _M_exceptions member to _M_exceptions_data.
  2519. Make the member functions rdstate(), clear(), exceptions()
  2520. and exceptions(iostate) protected and add the "_M_" prefix.
  2521. * src/ios.cc: Ditto.
  2522. * bits/basic_ios.h: Adapt the changes from ios_base.
  2523. 1999-01-29 Benjamin Kosnik <bkoz@cygnus.com>
  2524. * bits/std_fstream.h: Remove _M_flags, _M_equilibrate as unnecessary.
  2525. * bits/fstream.tcc: Ditto.
  2526. * bits/std_fstream.h (underflow): Resize deallocates memory and
  2527. resets pointers in the internal cache according to new _M_buf. . dooh!
  2528. * src/locale.cc: Mas changes with codecvt::do_in, do_out.
  2529. 1999-01-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
  2530. * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
  2531. standard.
  2532. 1999-01-28 Benjamin Kosnik <bkoz@cygnus.com>
  2533. * src/locale.cc (codecvt::do_in): Finer-grained tuning to take
  2534. into account partial returns.
  2535. (codecvt::do_out): Likewise.
  2536. * bits/char_traits.h: Change streamsize to be a signed type, as
  2537. required by 27.4.1 Types p 2. (Changing to _IO_ssize_t.)
  2538. * bits/std_streambuf.h: Make
  2539. in_avail() and showmanyc() have streamsize as return types, so
  2540. that showmanyc()'s return of eof won't underflow in_avail's return
  2541. value and give a bogus result.
  2542. * src/misc-inst.cc: And more changes. . .
  2543. * bits/std_streambuf.h (basic_streambuf): Add _M_buf_unified to keep
  2544. track of joint in/out pointers into the internal buffer.
  2545. (sbumpc): Add check for _M_buf_unified.
  2546. (sputbackc): Ditto.
  2547. (sungetc): Ditto.
  2548. * testsuite/27/27filebuf.cc: Add cases.
  2549. * testsuite/27/27stringbuf.cc: Add showmanyc case.
  2550. * bits/std_fstream.h (close): Fix logic error.
  2551. (open): Initialize internal pointers based on _M_buf and _M_buf_size.
  2552. (showmanyc): Add underflow component, to match the standard.
  2553. * bits/fstream.tcc: Ditto.
  2554. 1999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
  2555. * bits/basic_file.h: Match vtables w/ _IO_FILE_plus.
  2556. * src/basic_file.cc: Ditto.
  2557. * src/Makefile.in: Add -fvtable-thunks to CXXFLAGS: preferred
  2558. format for dealing with _IO_file in libio.
  2559. 1999-01-27 Ulrich Drepper <drepper@cygnus.com>
  2560. * src/basic_file.cc: Include fcntl.h.
  2561. 1999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
  2562. * libio/Makefile.in: Add fileops.lo, genops.lo to objects to debug
  2563. libio calls.
  2564. * bits/std_streambuf.h: Redefine read posion.
  2565. * bits/std_fstream.h: Temporary hack to get vtables working again.
  2566. * bits/basic_file.h: Revert.
  2567. * src/basic_file.cc: Ditto.
  2568. * testsuite/27/27filebuf.cc: Tweak.
  2569. 1999-01-26 Benjamin Kosnik <bkoz@cygnus.com>
  2570. * bits/basic_file.h: Add showmanyc, underflow. .
  2571. * src/basic_file.cc: Ditto.
  2572. * bits/std_fstream.h (showmanyc): Add bits to ping libio to see if more
  2573. chars can be read.
  2574. * testsuite/27/27filebuf.cc: Add testcases.
  2575. * src/basic_file.cc: Add O_CREAT to open calls with
  2576. ios_base::trunc as part of the open mode.
  2577. 1999-01-26 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
  2578. * bits/basic_ios.h: fix basic_ios::exceptions(iostate)
  2579. 1999-01-25 Benjamin Kosnik <bkoz@nabi.net>
  2580. * src/ios.cc (clear): Correct typo.
  2581. * bits/ios_base.h: Tweak spacing.
  2582. 1999-01-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
  2583. * bits/basic_ios.h: fix basic_ios::fail()
  2584. 1999-01-25 Benjamin Kosnik <bkoz@loony.cygnus.com>
  2585. * bits/basic_file.h: Include libioP.h from libio instead of here.
  2586. * bits/iolibio.h: Remove.
  2587. * bits/libio.h: Remove.
  2588. 1999-01-22 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
  2589. * bits/std_fstream.h: Tweak cvt-> in call for newer egcs compilers.
  2590. 1999-01-22 Ulrich Drepper <drepper@cygnus.com>
  2591. * Makefile.am (SUBDIRS): Add libio.
  2592. * configure.in: Add rule to test for glibc2.
  2593. * src/Makefile.am (INCLUDES): Add -I to libio subdir.
  2594. (libstdc___la_LIBADD): Add libio.la.
  2595. 1999-01-21 Benjamin Kosnik <bkoz@cygnus.com>
  2596. * bits/basic_file.h: Make new abstraction for underlying C library
  2597. FILE, named __basic_file.
  2598. * src/basic_file.cc: New file.
  2599. * bits/os_raw.h: Delete.
  2600. * src/os_raw.cc: Delete.
  2601. * src/Makefile.in: Tweak.
  2602. * src/Makefile.am: Tweak.
  2603. * bits/iolibio.h: Add this here, for the time being.
  2604. * bits/libioP.h: Ditto.
  2605. * bits/ios_base.h: Delete unused defines.
  2606. * src/locale.cc (codecvt<char, char, mbstate_t>::do_in): Use
  2607. strcpy to copy between the two buffers.
  2608. * testsuite/27/27stringbuf.cc: Change license, fix in_avail tests.
  2609. * testsuite/27/27filebuf.cc: New file.
  2610. * testsuite/27/27filebuf-1.txt: Data file for above test.
  2611. * testsuite/27/27filebuf-2.txt: Ditto.
  2612. * bits/std_streambuf.h (uflow): Re-implement default.
  2613. * bits/std_fstream.h: Set _M_buf_size based on cstdio's BUFSIZ.
  2614. Re-implement virtual functions.
  2615. * bits/fstream.tcc: Delete unused mf's.
  2616. Copyright (C) 1999 Free Software Foundation, Inc.
  2617. Copying and distribution of this file, with or without modification,
  2618. are permitted in any medium without royalty provided the copyright
  2619. notice and this notice are preserved.