ChangeLog-2003 331 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625
  1. 2003-12-31 Paolo Carlini <pcarlini@suse.de>
  2. * include/bits/locale_facets.tcc (num_get::_M_extract_int,
  3. num_get::_M_extract_float): According to 22.2.2.1.2, p8-9,
  4. _first_ look for thousands_sep, then for decimal_point and
  5. finally for digits.
  6. (num_get::_M_extract_float): After the decimal_point or
  7. 'e'/'E', decimal_point and thousands_sep just break out the
  8. parsing loop.
  9. * testsuite/22_locale/num_get/get/char/11.cc: Add tests.
  10. * testsuite/22_locale/num_get/get/wchar_t/11.cc: Likewise.
  11. 2003-12-30 Paolo Carlini <pcarlini@suse.de>
  12. PR libstdc++/13369
  13. * include/bits/locale_facets.tcc (__verify_grouping):
  14. Fix to deal properly with __grouping_tmp.size() >
  15. __grouping.size().
  16. * testsuite/22_locale/num_get/get/char/13.cc: New.
  17. * testsuite/22_locale/num_get/get/wchar_t/13.cc: Ditto.
  18. 2003-12-29 Jerry Quinn <jlquinn@optonline.net>
  19. * include/bits/locale_facets.h (ctype.narrow,widen): Add cast.
  20. 2003-12-29 Paolo Carlini <pcarlini@suse.de>
  21. * acinclude.m4 (GLIBCXX_CHECK_LFS): Add -fno-exceptions
  22. to CXXFLAGS.
  23. * aclocal.m4: Regenerate.
  24. * configure: Likewise.
  25. 2003-12-29 Mark Mitchell <mark@codesourcery.com>
  26. * acconfig.h: Add _GLIBCXX_USE_C99_MATH.
  27. * acinclude.m4 (GLIBCXX_ENABLE_C99): Define GLIBCXX_USE_C99_MATH.
  28. * configure.ac: Define HAVE_S_ISREG and HAVE_S_IFREG when
  29. targeting newlib.
  30. * aclocal.m4: Regenerated.
  31. * config.h.in: Likewise.
  32. * configure: Likewise.
  33. * Makefile.in: Likewise.
  34. * include/Makefile.in: Likewise.
  35. * libmath/Makefile.in: Likewise.
  36. * libsupc++/Makefile.in: Likewise.
  37. * testsuite/Makefile.in: Likewise.
  38. * src/Makefile.in: Likewise.
  39. * po/Makefile.in: Likewise.
  40. * include/c_std/std_cmath.h (_GLIBCXX_USE_C99): Replace with ...
  41. (_GLIBCXX_USE_C99_MATH): ... this.
  42. * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: XFAIL for
  43. arm-none-elf.
  44. * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Likewise.
  45. * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: Likewise.
  46. * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: Likewise.
  47. * testsuite/27_io/basic_istream/readsome/char/6476-2.cc: Likewise.
  48. * testsuite/27_io/objects/char/9.cc: Likewise.
  49. * testsuite/ext/stdio_filebuf/char/10063-2.cc: Likewise.
  50. 2003-12-28 Paolo Carlini <pcarlini@suse.de>
  51. * include/ext/pool_allocator.h (class __pool_alloc): Use
  52. operator new and operator delete.
  53. 2003-12-24 Andrew Pinski <pinskia@physics.uc.edu>
  54. * config/cpu/i386/atomicity.h (__exchange_and_add): Fix output
  55. constraint.
  56. PR libstdc++/13480
  57. * config/cpu/i386/atomicity.h: Split up read-write memory operand.
  58. 2003-12-23 Benjamin Kosnik <bkoz@redhat.com>
  59. * include/ext/new_allocator.h (new_allocator): Proper allocator class.
  60. (__new_alloc): Delete.
  61. * include/ext/malloc_allocator.h (malloc_allocator): Same.
  62. (__malloc_alloc): Delete.
  63. * include/ext/mt_allocator.h: Same, but weakly.
  64. * include/ext/debug_allocator.h: Convert to the new style.
  65. * include/ext/pool_allocator.h: Use global new and delete directly.
  66. * include/backward/alloc.h: Don't inject malloc_allocator, or
  67. debug_allocator.
  68. * testsuite/ext/allocators.cc: Minimal fixups for usage of new
  69. classes. Comment out tests with __pool_alloc for now.
  70. * testsuite/performance/allocator.cc: Same.
  71. 2003-12-22 Matt Austern <austern@apple.com>
  72. * include/bits/stl_bvector.h (_Bvector_alloc_base): Eliminate.
  73. (_Bvector_base): Inherit directly from word allocator.
  74. * include/bits/stl_tree.h (_Rb_tree_alloc_base): Eliminate.
  75. (_Rb_tree_base): Eliminate.
  76. (_Rb_tree): Inherit directly from node allocator.
  77. * include/ext/slist (_Alist_alloc_base): Eliminate.
  78. (_Slist_base): Inherit direcly from node allocator.
  79. 2003-12-22 Benjamin Kosnik <bkoz@redhat.com>
  80. * testsuite/18_support/numeric_limits.cc: Add _GLIBCXX_ASSERT to
  81. dg-options in testcases that use VERIFY.
  82. * testsuite/23_containers/vector/invalidation/1.cc: Same.
  83. * testsuite/23_containers/vector/invalidation/2.cc: Same.
  84. * testsuite/23_containers/vector/invalidation/3.cc: Same.
  85. * testsuite/23_containers/vector/invalidation/4.cc: Same.
  86. * testsuite/23_containers/vector/resize/1.cc: Same.
  87. * testsuite/26_numerics/complex_value.cc: Same.
  88. * testsuite/27_io/ios_base/storage/1.cc: Same.
  89. * testsuite/27_io/ios_base/storage/2.cc: Same.
  90. * testsuite/27_io/ios_base/storage/3.cc: Same.
  91. * testsuite/27_io/manipulators/standard/char/2.cc: Same.
  92. * testsuite/backward/11460.cc: Same.
  93. * testsuite/backward/strstream_members.cc: Same.
  94. * include/ext/hash_set (class hash_multiset): Fix typo.
  95. 2003-12-22 Benjamin Kosnik <bkoz@redhat.com>
  96. * testsuite/27_io/objects/char/5.cc: Don't use stdc++.h.gch.
  97. * testsuite/27_io/objects/wchar_t/5.cc: Same.
  98. * docs/html/test.html: Add docs for constructing test files that
  99. don't use stdc++.h.gch.
  100. * scripts/testsuite_flags.in (PCHFLAGS): Move to --cxxpchflags.
  101. * testsuite/libstdc++-dg/normal.exp: Compute DEFAULT_CXXFLAGS
  102. differently.
  103. * include/bits/ios_base.h (ios_base::Init::_S_initialized): Remove.
  104. * src/ios_init.cc: Same.
  105. * config/linker-map.gnu: Same.
  106. * testsuite/27_io/ios_base/cons/copy_neg.cc: Adjust line numbers.
  107. * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
  108. 2003-12-22 Andrew Pinski <pinskia@physics.uc.edu>
  109. PR libstdc++/13462
  110. * include/bits/stl_multiset.h (__gnu_norm::multiset): Define pointer
  111. as allocator's pointer, likewise for reference, const_pointer, and
  112. const_reference.
  113. * include/bits/stl_set.h (__gnu_norm::set): Likewise.
  114. * include/ext/hash_set (__gnu_ext::hash_set): Likewise.
  115. (__gnu_ext::hash_multiset): Likewise.
  116. 2003-12-22 Paolo Carlini <pcarlini@suse.de>
  117. * include/bits/locale_facets.tcc (num_get::_M_extract_int,
  118. num_get::_M_extract_float): According to 22.2.2.1.2, p8-9,
  119. first look for decimal_point and thousands_sep, when parsing
  120. sign, leading zeros (and 0, Ox, 0X for integer types) too.
  121. * testsuite/22_locale/num_get/get/char/12.cc: New.
  122. * testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise.
  123. * testsuite/22_locale/num_get/get/char/11.cc: Add a comment.
  124. * testsuite/22_locale/num_get/get/wchar_t/11.cc: Likewise.
  125. 2003-12-20 Jason Merrill <jason@redhat.com>
  126. * config/cpu/powerpc/atomicity.h: Fix oversight in previous
  127. change.
  128. 2003-12-20 Jerry Quinn <jlquinn@optonline.net>
  129. * docs/doxygen/TODO: Update.
  130. * include/bits/locale_classes.h (locale, facet, id): Document.
  131. * include/bits/locale_facets.tcc (has_facet, use_facet): Document.
  132. 2003-12-19 Jason Merrill <jason@redhat.com>
  133. * config/cpu/cris/atomicity.h: Remove memory clobbers.
  134. * config/cpu/mips/atomicity.h: Likewise.
  135. * config/cpu/i486/atomicity.h: Remove memory clobbers.
  136. Split up read-write memory operand.
  137. * config/cpu/m68k/atomicity.h: Likewise.
  138. * config/cpu/powerpc/atomicity.h: Make memory I/O explicit.
  139. * config/cpu/s390/atomicity.h: Likewise.
  140. * config/cpu/sparc/atomicity.h: Likewise.
  141. 2003-12-20 Carlo Wood <carlo@alinoe.com>
  142. * bits/demangle.h
  143. namespace __gnu_cxx::demangler
  144. (session<Allocator>::decode_encoding): Put the postfix
  145. of the return type of (member) functions after the function
  146. instead of after the return type.
  147. 2003-12-19 Jerry Quinn <jlquinn@optonline.net>
  148. * include/bits/locale_facet.h
  149. (__ctype_abstract_base,ctype<charT>,ctype<char>,ctype<wchar_t>):
  150. Document.
  151. 2003-12-19 Paolo Carlini <pcarlini@suse.de>
  152. * include/bits/locale_facets.tcc (num_get::_M_extract_int,
  153. num_get::_M_extract_float): According to 22.2.2.1.2, p8-9,
  154. first look for decimal_point and thousands_sep.
  155. * testsuite/22_locale/num_get/get/char/11.cc: New.
  156. * testsuite/22_locale/num_get/get/wchar_t/11.cc: Likewise.
  157. 2003-12-19 Paolo Carlini <pcarlini@suse.de>
  158. * include/bits/locale_facets.tcc (num_get::_M_extract_float):
  159. When __found_sci becomes true stop eating thousands separators
  160. and the decimal radix separator.
  161. * testsuite/22_locale/num_get/get/char/9.cc: New.
  162. * testsuite/22_locale/num_get/get/wchar_t/9.cc: Likewise.
  163. * config/locale/generic/c_locale.cc (__convert_to_v): Don't
  164. check that *__sanity == '\0': parsing may stop earlier, still
  165. be successful.
  166. * config/locale/gnu/c_locale.cc: Likewise.
  167. * testsuite/22_locale/num_get/get/char/10.cc: New.
  168. * testsuite/22_locale/num_get/get/wchar_t/10.cc: Likewise.
  169. * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc:
  170. Tweak in one place accordingly.
  171. * testsuite/22_locale/money_get/get/char/1.cc: Fix typo.
  172. * testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise.
  173. 2003-12-18 Benjamin Kosnik <bkoz@redhat.com>
  174. * include/bits/stl_list.h: Formatting tweaks.
  175. * include/bits/list.tcc: Same.
  176. 2003-12-18 Matt Austern <austern@apple.com>
  177. * include/bits/demangle.h: Fix allocator type correctness,
  178. i.e. make sure that when we instantiate a container with a value
  179. type and an allocator, the allocator's value type matches the
  180. container's.
  181. * include/bits/stl_deque.h (_Deque_alloc_base): Eliminate.
  182. (_Deque_base): inherit directly from the deque's allocator. Use
  183. rebinding instead of _Alloc_traits. Pick up data members from
  184. _Deque_alloc_base.
  185. * include/bits/stl_list.h (_List_alloc_base): Eliminate.
  186. (_List_base): Inherit directly from the list's allocator. Use
  187. rebinding instead of _Alloc_traits. Pick up data members from
  188. _List_alloc_base.
  189. * include/bits/stl_vector.h (_Vector_alloc_base): Eliminate
  190. (_Vector_base): Inherit directly from the vector's allocator. Use
  191. rebinding instead of _Alloc_traits. Pick up data members from
  192. _Vector_alloc_base.
  193. * include/ext/hashtable.h: Fix allocator type correctness (the
  194. vector of buckets must be passed an allocator for objects of
  195. type _Node*). Use rebinding instead of _Alloc_traits.
  196. 2003-12-17 Paolo Carlini <pcarlini@suse.de>
  197. * include/bits/locale_facets.tcc (time_get::_M_extract_via_format):
  198. Use narrow to get from __format[__i] a char __c representing a
  199. formatting code, don't use it to compare *__beg to __format[__i].
  200. * testsuite/22_locale/time_get/get_date/wchar_t/4.cc: New.
  201. 2003-12-17 Paolo Carlini <pcarlini@suse.de>
  202. * testsuite/performance/container_benchmark.cc: Tweak outputs.
  203. * testsuite/performance/list_create_fill_sort.cc: Shrink a
  204. bit some outputs.
  205. * testsuite/testsuite_performance.h: Widen a few output fields.
  206. * testsuite/performance/ifstream_extract_int.cc: New.
  207. 2003-12-16 Phil Edwards <phil@codesourcery.com>
  208. * configure.ac (AM_INIT_AUTOMAKE): Don't warn about GNU Make.
  209. * configure: Regenerated.
  210. * Makefile.am (check-%): New catch-all forwarding target.
  211. * Makefile.in: Regenerated.
  212. 2003-12-16 Paolo Carlini <pcarlini@suse.de>
  213. * testsuite/performance/container_benchmark.cc: New, a
  214. benchmark developed by Bjarne Stroustrup and Alexander
  215. Stepanov and made available with no restrictions.
  216. * testsuite/testsuite_performance.h (report_header): New,
  217. useful to produce header lines in the reports.
  218. 2003-12-16 Jonathan Wakely <redi@gcc.gnu.org>
  219. * docs/html/21_strings/howto.html: Document shrink-to-fit reserve().
  220. * docs/html/faq/index.html: Reducing vector's capacity() to size().
  221. * docs/html/documentation.html, docs/html/faq/index.txt: Regenerate.
  222. 2003-12-16 Paolo Carlini <pcarlini@suse.de>
  223. * testsuite/performance/narrow_widen_char.cc: Tweak the
  224. number of iterations for each test.
  225. * testsuite/performance/narrow_widen_wchar_t.cc: Add a
  226. missing clear_counters.
  227. 2003-12-16 Paolo Carlini <pcarlini@suse.de>
  228. PR libstdc++/11723
  229. * include/bits/locale_facets.h: Add _M_bit and _M_wmask,
  230. used to speed up the computation of ctype::do_is.
  231. * config/locale/generic/ctype_members.cc
  232. (_M_initialize_ctype): Fill _M_bit and _M_wmask.
  233. (ctype::do_is): Use _M_bit and _M_wmask.
  234. * config/locale/gnu/ctype_members.cc: Likewise.
  235. * testsuite/performance/is_wchar_t.cc: New.
  236. * testsuite/performance/narrow_widen_wchar_t.cc: Tweak
  237. string literal (incorrect citation ;)
  238. * include/bits/locale_facets.h: Minor tweaks, const
  239. correctness, unsigned -> size_t.
  240. 2003-12-16 Jerry Quinn <jlquinn@optonline.net>
  241. * include/bits/locale_facets.h (widen, narrow): Uncomment the
  242. intended code.
  243. 2003-12-15 Jerry Quinn <jlquinn@optonline.net>
  244. * config/os/aix/ctype_noninline.h,
  245. config/os/bsd/freebsd/ctype_noninline.h,
  246. config/os/bsd/netbsd/ctype_noninline.h,
  247. config/os/djgpp/ctype_noninline.h,
  248. config/os/generic/ctype_noninline.h,
  249. config/os/gnu-linux/ctype_noninline.h,
  250. config/os/hpux/ctype_noninline.h,
  251. config/os/irix/irix5.2/ctype_noninline.h,
  252. config/os/irix/irix6.5/ctype_noninline.h,
  253. config/os/mingw32/ctype_noninline.h,
  254. config/os/newlib/ctype_noninline.h,
  255. config/os/qnx/qnx6.1/ctype_noninline.h,
  256. config/os/solaris/solaris2.5/ctype_noninline.h,
  257. config/os/solaris/solaris2.6/ctype_noninline.h,
  258. config/os/solaris/solaris2.7/ctype_noninline.h,
  259. config/os/vxworks/ctype_noninline.h,
  260. config/os/windiss/ctype_noninline.h (ctype): Initialize
  261. _M_narrow, _M_widen.
  262. * include/bits/locale_facets.h (_M_widen, _M_widen_ok,
  263. _M_narrow, _M_narrow_ok): New.
  264. (widen, narrow): Use tables to bypass virtual functions.
  265. (_M_widen_init, _M_narrow_init): New.
  266. 2003-12-15 Carlo Wood <carlo@alinoe.com>
  267. * include/bits/ios_base.h (Init::_S_initialized): Change into
  268. declaration.
  269. * src/ios_init.cc (Init::_S_initialized): Add definition.
  270. 2003-12-15 Benjamin Kosnik <bkoz@redhat.com>
  271. PR libstdc++/12658
  272. * include/Makefile.am (bits_headers): Add concurrence.h.
  273. * include/Makefile.in: Regenerated.
  274. * include/bits/concurrence.h: New.
  275. * src/locale_init.cc: Use it.
  276. (locale::locale): Lock critical regions.
  277. (locale::global): Same.
  278. 2003-12-15 Benjamin Kosnik <bkoz@redhat.com>
  279. * include/bits/basic_string.h: Change _*_references to _*_refcount.
  280. * include/bits/locale_classes.h: Same.
  281. * src/locale.cc: Same.
  282. * src/locale_name.cc: Same.
  283. * src/locale_init.cc: Same.
  284. 2003-12-15 Benjamin Kosnik <bkoz@redhat.com>
  285. PR libstdc++/12855
  286. * include/bits/ios_base.h (Init::_S_ios_base_init): Change to
  287. _S_refcount, make atomic.
  288. * src/ios.cc: Adjust definition.
  289. * src/ios_init.cc (ios_base::Init::Init): Use __exchange_and_add,
  290. and __atomic_add.
  291. (ios_base::Init::~Init): Same.
  292. * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
  293. * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
  294. 2003-12-15 Paolo Carlini <pcarlini@suse.de>
  295. * include/bits/locale_facets.tcc (num_get::do_get(bool&)):
  296. Fail as soon as the begins of both truename and falsename
  297. stop to match; always leave __beg one position beyond the
  298. last char successfully matched.
  299. * testsuite/22_locale/num_get/get/char/8.cc: New.
  300. * testsuite/22_locale/num_get/get/wchar_t/8.cc: Likewise.
  301. 2003-12-15 Paolo Carlini <pcarlini@suse.de>
  302. * include/bits/locale_facets.h (_M_widen): Reserve space
  303. for all the possible widened chars.
  304. * config/locale/generic/ctype_members.cc (_M_initialize_ctype):
  305. Compute at construction time all the possible widened chars.
  306. (do_widen): Tweak, simplify.
  307. * config/locale/gnu/ctype_members.cc: Likewise.
  308. * testsuite/performance/narrow_widen_wchar_t.cc: Add tests
  309. for the array versions.
  310. 2003-12-12 Paolo Carlini <pcarlini@suse.de>
  311. Benjamin Kosnik <bkoz@redhat.com>
  312. PR libstdc++/13341
  313. * include/bits/locale_facets.h (ctype<wchar_t>): Declare
  314. _M_initialize_ctype() and _M_narrow_ok, _M_narrow and _M_widen.
  315. * src/ctype.cc (ctype<wchar_t>::ctype(size_t),
  316. ctype<wchar_t>::ctype(__c_locale, size_t)): Use
  317. _M_initialize_ctype to fill _M_narrow and _M_widen.
  318. (ctype_byname<wchar_t>::ctype_byname(const char*, size_t)):
  319. Likewise.
  320. * config/locale/generic/ctype_members.cc (do_narrow, do_widen)
  321. Use _M_narrow and _M_widen when possible, instead of calling
  322. wctob and btowc, respectively.
  323. (_M_initialize_ctype): Define, it fills at construction time
  324. _M_narrow and _M_widen.
  325. * config/locale/gnu/ctype_members.cc: Likewise.
  326. * testsuite/performance/narrow_widen_wchar_t.cc: New.
  327. 2003-12-12 Jonathan Wakely <redi@gcc.gnu.org>
  328. * docs/html/faq/index.txt: Regenerate after adding <link> tags.
  329. 2003-12-11 Neil Ferguson <nferguso@eso.org>
  330. Paolo Carlini <pcarlini@suse.de>
  331. * include/bits/basic_string.tcc (reserve): Allow shrink-to-fit.
  332. * testsuite/21_strings/basic_string/capacity/1.cc: Tweak.
  333. * testsuite/21_strings/basic_string/capacity/char/1.cc: Ditto.
  334. * testsuite/21_strings/basic_string/capacity/wchar_t/1.cc: Ditto.
  335. 2003-12-10 Benjamin Kosnik <bkoz@redhat.com>
  336. PR libstdc++/6243
  337. * testsuite/lib/libstdc++.exp (v3-init): Add
  338. original_ld_library_path, calculate ld_library path, set
  339. LD_LIBRARY_PATH to both. Based on libjava.exp.
  340. 2003-12-10 Benjamin Kosnik <bkoz@redhat.com>
  341. Alexandre Oliva <aoliva@redhat.com>
  342. PR libstdc++/11612
  343. * testsuite/Makefile.am (GLIBCXX_DIR): New.
  344. (GLIBGCC_DIR): New.
  345. (CXXLINK): Use both with -R so libtool links the correct libs.
  346. 2003-12-10 Paolo Carlini <pcarlini@suse.de>
  347. PR libstdc++/13217
  348. * include/bits/fstream.tcc (underflow): Deal gracefully with
  349. read errors: throw ios_base::failure.
  350. 2003-12-10 Benjamin Kosnik <bkoz@redhat.com>
  351. PR libstdc++/10063
  352. * config/io/basic_file_stdio.cc (__basic_file::sys_open): Sync.
  353. * testsuite/ext/stdio_filebuf/char/10063-1.cc: New.
  354. * testsuite/ext/stdio_filebuf/char/10063-2.cc: New.
  355. 2003-12-10 Paolo Carlini <pcarlini@suse.de>
  356. * include/bits/locale_facets.tcc (num_put::do_put(void*)):
  357. Remove the try/catch, not necessary.
  358. 2003-12-10 Paolo Carlini <pcarlini@suse.de>
  359. * testsuite/22_locale/locale/cons/12438.cc: Tweak memory
  360. limit and iterations to avoid spurious failures on some
  361. 64 bit machines.
  362. 2003-12-09 Benjamin Kosnik <bkoz@redhat.com>
  363. * config/linker-map.gnu: Remove private ios_base members from
  364. export list.
  365. * config/cpu/alpha/atomicity.h: Consistently format.
  366. * config/cpu/cris/atomicity.h: Same.
  367. * config/cpu/generic/atomicity.h: Same.
  368. * config/cpu/hppa/atomicity.h: Same.
  369. * config/cpu/i386/atomicity.h: Same.
  370. * config/cpu/i486/atomicity.h: Same.
  371. * config/cpu/ia64/atomicity.h: Same.
  372. * config/cpu/m68k/atomicity.h: Same.
  373. * config/cpu/mips/atomicity.h: Same.
  374. * config/cpu/powerpc/atomicity.h: Same.
  375. * config/cpu/s390/atomicity.h: Same.
  376. * config/cpu/sparc/atomicity.h: Same.
  377. 2003-12-09 Benjamin Kosnik <bkoz@redhat.com>
  378. PR libstdc++/13296
  379. * acinclude.m4 (GLIBCXX_ENABLE_LIBUNWIND_EXCEPTIONS): Remove.
  380. * aclocal.m4: Regenerate.
  381. * configure.ac: Remove call to GLIBCXX_ENABLE_LIBUNWIND_EXCEPTIONS.
  382. * conigure: Regenerate.
  383. * src/Makefile.am (libstdc___la_LDFLAGS): Remove LIBUNWIND_FLAGS.
  384. * src/Makefile.in: Regenerate.
  385. * docs/html/17_intro/configury.html: Modify.
  386. 2003-12-09 Paolo Carlini <pcaelini@suse.de>
  387. * include/bits/demangle.h (struct implementation_details):
  388. Keep in comments the names of the unused parameters.
  389. 2003-12-09 Paolo Carlini <pcaelini@suse.de>
  390. * include/bits/demangle.h (struct implementation_details):
  391. Fix unused parameters warning.
  392. 2003-12-09 Paolo Carlini <pcarlini@suse.de>
  393. * include/bits/locale_facets.tcc (num_get::_M_extract_int):
  394. Slightly streamline the code dealing with overflows and the
  395. parsing of the sign.
  396. 2003-12-09 Bernardo Innocenti <bernie@develer.com>
  397. * include/ext/algorithm, include/ext/debug_allocator.h,
  398. include/ext/enc_filebuf.h, include/ext/functional,
  399. include/ext/hash_fun.h, include/ext/hash_map, include/ext/hash_set,
  400. include/ext/hashtable.h, include/ext/iterator,
  401. include/ext/malloc_allocator.h, include/ext/memory,
  402. include/ext/mt_allocator.h, include/ext/numeric,
  403. include/ext/pod_char_traits.h, include/ext/pool_allocator.h,
  404. include/ext/rb_tree, include/ext/rope, include/ext/ropeimpl.h,
  405. include/ext/slist, include/ext/stdio_filebuf.h,
  406. include/ext/stdio_sync_filebuf.h: Remove trailing whitespace.
  407. 2003-12-09 Bernardo Innocenti <bernie@develer.com>
  408. * include/debug/bitset, include/debug/debug.h, include/debug/deque,
  409. include/debug/formatter.h, include/debug/hash_map.h,
  410. include/debug/hash_multimap.h, include/debug/hash_multiset.h,
  411. include/debug/hash_set, include/debug/hash_set.h, include/debug/list,
  412. include/debug/map.h, include/debug/multimap.h,
  413. include/debug/multiset.h, include/debug/safe_base.h,
  414. include/debug/safe_iterator.h, include/debug/safe_iterator.tcc,
  415. include/debug/safe_sequence.h, include/debug/set.h,
  416. include/debug/string, include/debug/vector: Remove trailing whitespace.
  417. 2003-12-09 Bernardo Innocenti <bernie@develer.com>
  418. * include/c_compatibility/iso646.h, include/c_compatibility/limits.h,
  419. include/c_compatibility/locale.h, include/c_compatibility/stdio.h,
  420. include/c_compatibility/string.h, include/c_compatibility/time.h,
  421. include/c_compatibility/wchar.h, include/c_compatibility/wctype.h:
  422. Remove trailing whitespace.
  423. 2003-12-09 Bernardo Innocenti <bernie@develer.com>
  424. * include/c_std/cmath.tcc, include/c_std/std_cassert.h,
  425. include/c_std/std_cctype.h, include/c_std/std_cmath.h,
  426. include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
  427. include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
  428. include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
  429. Remove trailing whitespace.
  430. 2003-12-09 Bernardo Innocenti <bernie@develer.com>
  431. * include/c/std_cctype.h, include/c/std_cmath.h,
  432. include/c/std_cstdlib.h include/c/std_cwchar.h,
  433. include/c/std_cwctype.h: Remove trailing whitespace.
  434. 2003-12-09 Bernardo Innocenti <bernie@develer.com>
  435. * include/backward/algo.h, include/backward/algobase.h,
  436. include/backward/alloc.h, include/backward/complex.h,
  437. include/backward/defalloc.h, include/backward/function.h,
  438. include/backward/iterator.h, include/backward/new.h,
  439. include/backward/ostream.h, include/backward/queue.h,
  440. include/backward/rope.h, include/backward/stream.h,
  441. include/backward/streambuf.h, include/backward/strstream,
  442. include/backward/tempbuf.h, include/backward/tree.h,
  443. include/backward/vector.h: Remove trailing whitespace.
  444. 2003-12-08 Paolo Carlini <pcarlini@suse.de>
  445. * config/locale/generic/c_locale.cc (__convert_to_v(long&),
  446. __convert_to_v(unsigned long&), __convert_to_v(long long&),
  447. __convert_to_v(unsigned long long&): Remove.
  448. (__convert_to_v(float&), __convert_to_v(double&),
  449. __convert_to_v(long double&)): Remove last unused parameter.
  450. * config/locale/gnu/c_locale.cc: Likewise.
  451. * include/bits/locale_facets.h: Likewise.
  452. (num_get::_M_extract_int): Update declaration.
  453. (class __num_base): Tweak _S_ie and _S_iE according to the
  454. _S_atoms_in changes.
  455. * include/bits/locale_facets.tcc (num_get::_M_extract_int):
  456. Provide directly the final _ValueT, not a string: accumulate
  457. the result checking for overflow at each digit.
  458. (num_get::do_get(bool&), num_get::do_get(long&),
  459. num_get::do_get(unsigned short&), num_get::do_get(unsigned int&),
  460. num_get::do_get(unsigned long&), num_get::do_get(long long&),
  461. num_get::do_get(unsigned long long&), num_get::do_get(void*&)):
  462. Use the new _M_extract_int, simplify.
  463. * src/locale-inst.cc (num_get::_M_extract_int(long&),
  464. num_get::_M_extract_int(unsigned short&),
  465. num_get::_M_extract_int(unsigned int&),
  466. num_get::_M_extract_int(unsigned long&),
  467. num_get::_M_extract_int(long long&),
  468. num_get::_M_extract_int(unsigned long long&): Instantiate.
  469. * src/locale_facets.cc (__num_base::_S_atoms_in): Reorder
  470. the chars in the natural order: abcdefABCDEF.
  471. 2003-12-08 David S. Miller <davem@redhat.com>
  472. PR libstdc++/12496
  473. * config/cpu/sparc/atomicity.h (__exchange_and_add, __atomic_add):
  474. Extend increment to _Atomic_word before giving to assembler.
  475. 2003-12-06 Benjamin Kosnik <bkoz@redhat.com>
  476. * testsuite/ext/enc_filebuf/char/13189.cc: Guard for __enc_traits.
  477. * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Same.
  478. 2003-12-06 Benjamin Kosnik <bkoz@redhat.com>
  479. PR libstdc++/11691
  480. * include/ext/stdio_filebuf.h (stdio_filebuf::stdio_filebuf):
  481. Remove __del argument to file descriptor constructor.
  482. * config/io/basic_file_stdio.h (__basic_file::sys_open): Remove
  483. bool argument.
  484. * config/io/basic_file_stdio.cc: Same.
  485. 2003-12-05 Benjamin Kosnik <bkoz@redhat.com>
  486. PR libstdc++/13189
  487. * include/ext/enc_filebuf.h: Fix.
  488. * include/bits/fstream.tcc: Tweak formatting.
  489. * include/bits/postypes.h: Same.
  490. * include/bits/sstream.tcc: Same.
  491. * include/bits/streambuf.tcc: Same.
  492. * testsuite/ext/stdio_filebuf.cc: Split.
  493. * testsuite/ext/stdio_filebuf_2.cc: Split.
  494. * testsuite/ext/stdio_sync_filebuf_char.cc: Split.
  495. * testsuite/ext/stdio_sync_filebuf_wchar_t.cc: Split.
  496. * testsuite/ext/enc_filebuf/char/13189.cc: New.
  497. * testsuite/ext/enc_filebuf/wchar_t/13189.cc: New.
  498. * testsuite/ext/stdio_filebuf/char/1.cc: New.
  499. * testsuite/ext/stdio_filebuf/char/2.cc: New.
  500. * testsuite/ext/stdio_sync_filebuf/char/1.cc: New.
  501. * testsuite/ext/stdio_sync_filebuf/char/12048-1.cc: New.
  502. * testsuite/ext/stdio_sync_filebuf/char/12048-2.cc: New.
  503. * testsuite/ext/stdio_sync_filebuf/char/12048-3.cc: New.
  504. * testsuite/ext/stdio_sync_filebuf/char/12048-4.cc: New.
  505. * testsuite/ext/stdio_sync_filebuf/wchar_t/1.cc: New.
  506. * testsuite/ext/stdio_sync_filebuf/wchar_t/12948-1.cc: New.
  507. * testsuite/ext/stdio_sync_filebuf/wchar_t/12948-2.cc: New.
  508. * testsuite/ext/stdio_sync_filebuf/wchar_t/12948-3.cc: New.
  509. * testsuite/ext/stdio_sync_filebuf/wchar_t/12948-4.cc: New.
  510. 2003-12-05 Carlo Wood <carlo@alinoe.com>
  511. PR libstdc++/13045
  512. * bits/demangle.h
  513. namespace __gnu_cxx::demangler
  514. (enum substitution_nt): Removed trailing comma.
  515. (implementation_details): Added.
  516. (session<Allocator>::M_implementation_details): Added.
  517. (session<Allocator>::session): Pass implementation_details.
  518. (session<Allocator>::decode_encoding): Same.
  519. (session<Allocator>::decode_real): Added.
  520. (_GLIBCXX_DEMANGLER_STYLE_VOID _GLIBCXX_DEMANGLER_STYLE_LITERAL
  521. _GLIBCXX_DEMANGLER_STYLE_LITERAL_INT
  522. _GLIBCXX_DEMANGLER_STYLE_COMPACT_EXPR_OPS
  523. _GLIBCXX_DEMANGLER_STYLE_SIZEOF_TYPENAME): Replaced with
  524. implementation_details equivalent.
  525. (session<Allocator>::decode_expression):
  526. Use M_implementation_details instead of macros. Add extra parentheses
  527. around 'larger than' operator in expressions in template arguments.
  528. (session<Allocator>::decode_bare_function_type): Idem.
  529. (session<Allocator>::decode_literal):
  530. Idem, and call decode_real for floating literals.
  531. (session<Allocator>::decode_type_with_postfix): Put the postfix
  532. of the return type of (member) functions after the function
  533. instead of after the return type. Also, put a space after the
  534. prefix of qualified function pointers: "int (* const<space>".
  535. * src/demangle.cc: include most dependent header file first.
  536. * testsuite/demangle/regression/cw-16.cc: Updated two
  537. and added three tests.
  538. 2003-12-04 Benjamin Kosnik <bkoz@redhat.com>
  539. PR libstdc++/13284
  540. * include/bits/stl_algo.h (__random_number): Remove.
  541. (random_shuffle): Use rand, as permitted by DR 395.
  542. * include/ext/algorithm: Same.
  543. * linkage.m4 (GLIBCXX_CHECK_STDLIB_SUPPORT): Remove lrand48.
  544. * acconfig.h: Same.
  545. * crossconfig.m4: Remove HAVE_DRAND48, HAVE_LRAND48.
  546. * config.h.in: Regenerated.
  547. * configure: Same.
  548. * aclocal.m4: Same.
  549. 2003-12-04 Paolo Carlini <pcarlini@suse.de>
  550. PR libstdc++/12653
  551. * include/std/std_bitset.h (operator>>): Implement resolution
  552. of DR 303 [WP]: use widen('0') and widen('1').
  553. * docs/html/ext/howto.html: Add an entry for DR 303.
  554. * include/std/std_bitset.h (operator>>): Implement the common
  555. requirements of formatted input functions (27.6.1.2.1).
  556. * include/std/std_bitset.h (operator>>): Set the failbit when
  557. nothing was extracted and _Nb != 0.
  558. * testsuite/23_containers/bitset/input/1.cc: New.
  559. 2003-12-03 Paolo Carlini <pcarlini@suse.de>
  560. PR libstdc++/12791
  561. * include/bits/locale_facets.tcc (time_get::_M_extract_num):
  562. Rewrite, stop the parsing as soon as a digit cannot possibly
  563. lead to a final number within the bounds; otherwise, simplify,
  564. avoiding __ctype.is() and atoi().
  565. * testsuite/22_locale/time_get/get_date/char/12791.cc: New.
  566. * testsuite/22_locale/time_get/get_date/wchar_t/12791.cc: New.
  567. * include/bits/locale_facets.tcc (time_get::_M_extract_via_format):
  568. Minor tweak: a 4-digit integer cannot be bigger than 9999.
  569. * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Use
  570. type-correct wchar_t string literals.
  571. * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Ditto.
  572. * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Ditto.
  573. * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Ditto.
  574. * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Ditto.
  575. 2003-12-02 Paolo Carlini <pcarlini@suse.de>
  576. * include/bits/locale_facets.tcc (time_get::do_get_year):
  577. Avoid using a basic_string and calling a full blown strtol
  578. (via __convert_to_v) for simple 2 or 4 digits, base 10,
  579. positive integers; simplify.
  580. 2003-12-02 Paolo Carlini <pcarlini@suse.de>
  581. * config/locale/gnu/monetary_members.cc
  582. (money_base::_S_construct_pattern): For case 3: and 4:
  583. exchanging 'if (__precedes)' and 'if (__space)' allows
  584. to factor out a few more assignments.
  585. 2003-12-01 Benjamin Kosnik <bkoz@redhat.com>
  586. * include/bits/basic_ios.h (basic_ios::setstate): Revert.
  587. * include/bits/istream.tcc: Only call setstate if __err != goodbit.
  588. * include/bits/ostream.tcc: Same.
  589. * testsuite/27_io/basic_ios/exceptions/char/2.cc: New.
  590. * testsuite/testsuite_io.h (__gnu_test::fail_streambuf): Make
  591. internal buffer non-static.
  592. 2003-12-01 Benjamin Kosnik <bkoz@redhat.com>
  593. * docs/html/17_intro/C++STYLE: Add exception bits.
  594. * include/bits/fstream.tcc: Add location info to exception strings.
  595. * include/bits/stl_construct.h: Formatting tweaks.
  596. 2003-12-01 Paolo Carlini <pcarlini@suse.de>
  597. PR libstdc++/10378
  598. * include/bits/allocator.h (allocator::construct): Implement
  599. resolution of DR 402 [Ready] (in Revision 28).
  600. * include/bits/allocator_traits.h (__allocator::construct):
  601. Likewise.
  602. * include/bits/stl_construct.h (_Construct): Likewise.
  603. * testsuite/20_util/allocator_members.cc: Move to...
  604. * testsuite/20_util/allocator/1.cc: ... here.
  605. * testsuite/20_util/allocator/10378.cc: New.
  606. * docs/html/ext/howto.html: Add an entry for DR 402.
  607. 2003-11-30 Paolo Carlini <pcarlini@suse.de>
  608. * config/locale/gnu/codecvt_members.cc (codecvt::do_in,
  609. codecvt::do_length): More minor tweaks.
  610. 2003-11-30 Paolo Carlini <pcarlini@suse.de>
  611. * config/locale/gnu/codecvt_members.cc (codecvt::do_in):
  612. Minor stylistic tweak.
  613. 2003-11-30 Paolo Carlini <pcarlini@suse.de>
  614. * include/bits/locale_facets.tcc (num_put::do_put(..., bool)):
  615. Minor tweaks, consistent with the style used in other facets.
  616. 2003-11-29 Paolo Carlini <pcarlini@suse.de>
  617. * include/bits/fstream.tcc (underflow): Minor tweaks in
  618. preparation for libstdc++/13217.
  619. 2003-11-29 Paolo Carlini <pcarlini@suse.de>
  620. * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc:
  621. Tweak for a few small problems (fix timings, use VERIFY..)
  622. 2003-11-28 Paolo Carlini <pcarlini@suse.de>
  623. * testsuite/27_io/basic_filebuf/imbue/char/13171-3.cc: Remove.
  624. * testsuite/27_io/basic_filebuf/imbue/wchar_t/13171-3.cc: New,
  625. the original third testcase for libstdc++/13171 belong here.
  626. 2003-11-28 Paolo Carlini <pcarlini@suse.de>
  627. * testsuite/27_io/basic_filebuf/imbue/char/13171-3.cc:
  628. Remove extraneous wchar_t lines.
  629. 2003-11-27 Paolo Carlini <pcarlini@suse.de>
  630. PR libstdc++/11544
  631. PR libstdc++/11603
  632. * include/bits/fstream.tcc (underflow): Throw ios_base::failure
  633. upon incomplete or invalid byte sequences in the file.
  634. * testsuite/27_io/basic_filebuf/underflow/wchar_t/11544-1.cc: New.
  635. * testsuite/27_io/basic_filebuf/underflow/wchar_t/11544-2.cc: New.
  636. * testsuite/27_io/basic_filebuf/underflow/wchar_t/11603.cc: New.
  637. 2003-11-27 Paolo Carlini <pcarlini@suse.de>
  638. * include/std/std_streambuf.h (__copy_streambufs): Remove
  639. the first, unused, basic_ios<> parameter.
  640. * src/streambuf-inst.cc: Likewise.
  641. * include/bits/streambuf.tcc: Likewise.
  642. * include/bits/istream.tcc (operator>>(__streambuf_type*)):
  643. Tweak accordingly the call.
  644. * include/bits/ostream.tcc (operator<<(__streambuf_type*)):
  645. Likewise.
  646. * include/bits/streambuf.tcc (__copy_streambufs): Remove
  647. redundant try/catch.
  648. 2003-11-26 Benjamin Kosnik <bkoz@redhat.com>
  649. PR libstdc++/9371
  650. PR libstdc++/9546
  651. PR libstdc++/10093
  652. PR libstdc++/10095
  653. * include/bits/basic_ios.h (basic_ios::setstate): Elide if goodbit.
  654. (basic_ios::_M_setstate): Consolidate common error handling code.
  655. * include/bits/basic_ios.tcc: Tweak.
  656. * include/bits/fstream.tcc: Tweak.
  657. * include/bits/istream.tcc: Use _M_setstate for common exception
  658. handling. Move setstate calls after catch.
  659. (basic_istream::tellg): Check for exceptions thrown by streambuf
  660. virtual functions.
  661. (basic_istream::seekg): Same.
  662. * include/bits/ostream.tcc: Same, but for ostream.
  663. (basic_ostream::flush): Check for exceptions thrown by streambuf
  664. virtual functions.
  665. (basic_istream::tellp): Same.
  666. (basic_istream::seekp): Same.
  667. * include/bits/locale_facets.tcc: Tweak.
  668. * include/bits/streambuf.tcc: Tweak.
  669. (__copy_streambufs): Propagate exceptions.
  670. * testsuite/testsuite_io.h (fail_streambuf): New.
  671. (fail_num_get): New.
  672. (fail_num_put): New.
  673. (facet_error): New.
  674. (underflow_error): New.
  675. (overflow_error): New.
  676. (positioning_error): New.
  677. * testsuite/27_io/basic_istream/exceptions/char/9561.cc: Tweak.
  678. * testsuite/27_io/basic_istream/extractors_arithmetic/char/
  679. exceptions_badbit_throw.cc, exceptions_failbit.cc,
  680. exceptions_failbit_throw.cc: New.
  681. * testsuite/27_io/basic_istream/extractors_other/char/
  682. error_failbit.cc, exceptions_badbit_throw.cc,
  683. exceptions_failbit_throw.cc, exceptions_null.cc: New.
  684. * testsuite/27_io/basic_istream/seekg/char/exceptions_badbit_throw.cc:
  685. New.
  686. * testsuite/27_io/basic_istream/tellg/char/exceptions_badbit_throw.cc:
  687. New.
  688. * testsuite/27_io/basic_ostream/flush/char/exceptions_badbit_throw.cc:
  689. New.
  690. * testsuite/27_io/basic_ostream/inserters_arithmetic/char/
  691. exceptions_badbit_throw.cc, exceptions_failbit_throw.cc: New.
  692. * testsuite/27_io/basic_ostream/inserters_other/char/
  693. error_failbit.cc, exceptions_badbit_throw.cc,
  694. exceptions_failbit_throw.cc, exceptions_null.cc: New.
  695. * testsuite/27_io/basic_ostream/seekp/char/exceptions_badbit_throw.cc:
  696. New.
  697. * testsuite/27_io/basic_ostream/tellp/char/exceptions_badbit_throw.cc:
  698. New.
  699. 2003-11-26 Benjamin Kosnik <bkoz@redhat.com>
  700. PR libstdc++/12297
  701. * include/bits/istream.tcc
  702. (basic_istream::sentry::sentry): Set failbit and eofbit when eof.
  703. * testsuite/27_io/basic_istream/sentry/char/12297.cc: New.
  704. 2003-11-26 Paolo Carlini <pcarlini@suse.de>
  705. Petur Runolfsson <peturr02@ru.is>
  706. PR libstdc++/13171
  707. * include/bits/fstream.tcc (imbue): Relax the conditions under
  708. which the function succeeds: allow for two consecutive calls with
  709. the same name; state dependent encodings are ok even after open
  710. if at the beginning of the file; don't check seekoff return value
  711. (pipes, cin, cout, etc...)
  712. * testsuite/27_io/basic_filebuf/imbue/char/13171-1.cc: New.
  713. * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: New.
  714. * testsuite/27_io/basic_filebuf/imbue/char/13171-3.cc: New.
  715. * testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc: New.
  716. * testsuite/27_io/basic_filebuf/imbue/char/2.cc: Tweak comment.
  717. * testsuite/27_io/basic_filebuf/imbue/char/3.cc: Likewise.
  718. * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: Tweak comment.
  719. * testsuite/27_io/basic_filebuf/imbue/wchar_t/3.cc: Likewise.
  720. * testsuite/27_io/basic_filebuf/imbue/wchar_t/12868.cc: More
  721. correctly use the UTF-8 locale appearing in the PR.
  722. 2003-11-26 Paolo Carlini <pcarlini@suse.de>
  723. * include/bits/locale_facets.h
  724. (__numpunct_cache<>::_M_cache): Avoid zeroing _M_grouping,
  725. _M_truename and _M_falsename: the constructor always does
  726. it immediately before the _M_cache call.
  727. 2003-11-25 Paolo Carlini <pcarlini@suse.de>
  728. * config/locale/gnu/codecvt_members.cc (codecvt::do_length):
  729. Rewrite, using both mbsnrtowcs and mbrtowc in a loop: the
  730. former is very fast, but stops if encounters a NUL.
  731. (codecvt::do_out): Tweaks.
  732. (codecvt::do_in): Tweaks, improve the code dealing with errors.
  733. * testsuite/performance/wchar_t_length.cc: New.
  734. 2003-11-24 Paolo Carlini <pcarlini@suse.de>
  735. * config/locale/gnu/codecvt_members.cc (codecvt::do_in):
  736. Rewrite, using both mbsnrtowcs and mbrtowc in a loop: the
  737. former is very fast, but stops if encounters a NUL.
  738. (codecvt::do_out): Tweak.
  739. * testsuite/performance/wchar_t_in.cc: New.
  740. 2003-11-24 Paolo Carlini <pcarlini@suse.de>
  741. * include/bits/locale_facets.h
  742. (__numpunct_cache<>::_M_cache): Set _M_allocated at the beginning
  743. in order to avoid memory leaks; simplify a bit.
  744. 2003-11-24 Benjamin Kosnik <bkoz@redhat.com>
  745. * include/bits/streambuf_iterator.h (ostreambuf_iterator): Remove
  746. non-standard throw specs.
  747. * testsuite/24_iterators/istreambuf_iterator.cc: Split into...
  748. * testsuite/24_iterators/istreambuf_iterator/1.cc
  749. * testsuite/24_iterators/istreambuf_iterator/2.cc
  750. * testsuite/24_iterators/istreambuf_iterator/2627.cc
  751. * testsuite/24_iterators/ostreambuf_iterator.cc: Split into...
  752. * testsuite/24_iterators/ostreambuf_iterator/1.cc
  753. * testsuite/24_iterators/ostreambuf_iterator/2.cc
  754. * testsuite/24_iterators/reverse_iterator/1.cc: Just compile,
  755. don't link.
  756. * include/bits/allocator.h: Formatting tweak.
  757. 2003-11-24 Paolo Carlini <pcarlini@suse.de>
  758. * src/locale_init.cc: Cosmetic reformatting.
  759. 2003-11-23 Paolo Carlini <pcarlini@suse.de>
  760. * include/bits/locale_facets.tcc (__add_grouping):
  761. Cosmetic reformatting.
  762. 2003-11-23 Paolo Carlini <pcarlini@suse.de>
  763. * include/bits/locale_facets.tcc (_M_extract_float,
  764. _M_extract_int): Remove a wrong comment and simplify
  765. the corresponding code using char_traits::find().
  766. 2003-11-22 Paolo Carlini <pcarlini@suse.de>
  767. * config/locale/gnu/monetary_members.cc
  768. (money_base::_S_construct_pattern): Factor out two assignments.
  769. 2003-11-22 Paolo Carlini <pcarlini@suse.de>
  770. * include/bits/istream.tcc (getline(basic_string<>&)):
  771. Fix error in comment of the previous commit.
  772. 2003-11-22 Paolo Carlini <pcarlini@suse.de>
  773. PR libstdc++/12593
  774. * include/bits/istream.tcc (operator>>(basic_string<>&),
  775. getline(basic_string<>&)): Implement resolution of DR 91 [WP];
  776. fix some minor issues with the exit conditions.
  777. * docs/html/ext/howto.html: Add an entry for DR 91.
  778. 2003-11-21 Paolo Carlini <pcarlini@suse.de>
  779. * config/locale/gnu/monetary_members.cc
  780. (money_base::_S_construct_pattern): Factor out an assignment.
  781. 2003-11-21 Paolo Carlini <pcarlini@suse.de>
  782. PR libstdc++/12882 (partial)
  783. * acinclude.m4 (GLIBCXX_CHECK_LFS): Check fseeko64
  784. and ftello64 too.
  785. * include/ext/stdio_sync_filebuf.h (seekoff): Use fseeko64
  786. and ftello64 if available.
  787. * aclocal.m4: Regenerate.
  788. * configure: Ditto.
  789. 2003-11-20 Benjamin Kosnik <bkoz@redhat.com>
  790. * include/debug/formatter.h: Use _Tp as template argument.
  791. * src/debug.cc: Same, instantiate std::size_t.
  792. 2003-11-20 Benjamin Kosnik <bkoz@redhat.com>
  793. PR libstdc++/13109
  794. * include/debug/formatter.h (_Error_formatter::_M_format_word): New.
  795. * src/debug.cc (__gnu_debug): Format.
  796. (_Error_formatter::_M_format_word): Define, use, instantiate.
  797. 2003-11-20 Paolo Carlini <pcarlini@suse.de>
  798. PR libstdc++/11602
  799. * config/locale/gnu/codecvt_members.cc (codecvt::do_out):
  800. Rewrite, using both wcsnrtombs and wcrtomb in a loop: the
  801. former is very fast, but stops if encounters a NUL.
  802. * testsuite/performance/wchar_t_out.cc: New, from the PR.
  803. 2003-11-19 Paolo Carlini <pcarlini@suse.de>
  804. * config/locale/gnu/codecvt_members.cc (do_out): If
  805. we can upper bound the total number of external chars
  806. to something smaller than __to_end - __to, avoid the
  807. temporary buffer, the memcopy and simplify the loop.
  808. * config/locale/generic/codecvt_members.cc (do_out):
  809. Likewise.
  810. 2003-11-19 Andreas Tobler <a.tobler@schweiz.ch>
  811. * testsuite/lib/libstdc++.exp: Add DYLD_LIBRARY_PATH for darwin.
  812. * testsuite/libstdc++-dg/normal.exp: Add -multiply_defined suppress
  813. flag.
  814. 2003-11-18 Jonathan Wakely <redi@gcc.gnu.org>
  815. * docs/html/configopts.html, docs/html/debug.html,
  816. docs/html/documentation.html, docs/html/explanations.html,
  817. docs/html/install.html, docs/html/17_intro/contribute.html,
  818. docs/html/17_intro/howto.html, docs/html/17_intro/license.html,
  819. docs/html/18_support/howto.html, docs/html/19_diagnostics/howto.html,
  820. docs/html/20_util/howto.html, docs/html/21_strings/howto.html,
  821. docs/html/22_locale/codecvt.html, docs/html/22_locale/ctype.html,
  822. docs/html/22_locale/howto.html, docs/html/22_locale/locale.html,
  823. docs/html/22_locale/messages.html, docs/html/23_containers/howto.html,
  824. docs/html/24_iterators/howto.html, docs/html/25_algorithms/howto.html,
  825. docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
  826. docs/html/ext/howto.html, docs/html/ext/sgiexts.html: Add <link> tags.
  827. 2003-11-18 Paolo Carlini <pcarlini@suse.de>
  828. PR libstdc++/12868
  829. * include/bits/fstream.tcc (imbue): For encodings != -1 it's
  830. always ok to imbue a new locale, provided seekoff(0, cur, ...)
  831. doesn't fail, of course.
  832. (underflow): In order for the above to work, deal gracefully
  833. with _M_codecvt->in returning codecvt_base::error while
  834. (__ilen = __iend - this->eback()) > 0: it just means __ilen
  835. correctly converted internal characters before an error.
  836. * testsuite/27_io/basic_filebuf/imbue/wchar_t/12868.cc: New.
  837. 2003-11-17 Paolo Carlini <pcarlini@suse.de>
  838. * include/bits/locale_facets.tcc: Fix typo in comment.
  839. 2003-11-17 Paolo Carlini <pcarlini@suse.de>
  840. * testsuite/22_locale/num_put/put/char/8.cc: New test,
  841. summarizing the discussion ensuing libstdc++/12988.
  842. * testsuite/22_locale/num_put/put/wchar_t/8.cc: Ditto.
  843. 2003-11-15 Paolo Carlini <pcarlini@suse.de>
  844. * include/std/std_fstream.h: Tweak a comment.
  845. 2003-11-15 Roger Sayle <roger@eyesopen.com>
  846. * include/c_std/std_cmath.h: Don't import C99's float transcendentals
  847. into the __gnu_cxx::__c99_binding namespace.
  848. (acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
  849. ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
  850. GCC's math builtins, i.e. __builtin_foo.
  851. * libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
  852. ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
  853. ldexpf, ldexpl, modff, modfl): Provide stub implementations.
  854. 2003-11-14 Paolo Carlini <pcarlini@suse.de>
  855. * testsuite/22_locale/locale/cons/12352.cc: Use
  856. __gnu_test::try_named_locale.
  857. 2003-11-14 Paolo Carlini <pcarlini@suse.de>
  858. * docs/html/ext/howto.html: Add entries for DR 63, 75
  859. and 305; tweak entries for DR 60 and 328.
  860. 2003-11-13 Douglas Gregor <gregod@cs.rpi.edu>
  861. * docs/html/debug.html: Users are allowed to specialize in
  862. namespace __gnu_debug, unlike in the Apple version of the debug
  863. mode. Clear up a confusing double-negative. Note that
  864. std::basic_string does provide extra debugging capabilities, but
  865. not safe iterators.
  866. * include/bits/basic_string.tcc: Make sure there's never an
  867. ambiguity when calling __is_null_pointer.
  868. * include/debug/deque: (deque::erase) Properly handle invalidation
  869. when erasing at the end of the deque.
  870. * include/debug/vector: (vector::swap): Swap _M_guaranteed_capacity.
  871. (vector::clear): Set the guaranteed capacity to 0.
  872. * testsuite/23_containers/deque/invalidation/4.cc: (test04): Test
  873. iterator invalidation when erasing at the end of the deque.
  874. 2003-11-13 Paolo Carlini <pcarlini@suse.de>
  875. Petur Runolfsson <peturr02@ru.is>
  876. PR libstdc++/13007
  877. * include/bits/fstream.tcc (imbue): Don't touch the stored
  878. locale.
  879. * include/std/std_streambuf.h (imbue): According to the
  880. standard, base class version does nothing.
  881. (pubimbue): Store the locale.
  882. * testsuite/27_io/basic_filebuf/imbue/char/13007.cc: New.
  883. * testsuite/27_io/basic_filebuf/imbue/wchar_t/13007.cc: New.
  884. * testsuite/27_io/basic_filebuf/imbue/char/2.cc: Tweak.
  885. * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: Likewise.
  886. * testsuite/27_io/basic_streambuf/imbue/char/13007-1.cc: New.
  887. * testsuite/27_io/basic_streambuf/imbue/char/13007-2.cc: New.
  888. * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-1.cc: New.
  889. * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-2.cc: New.
  890. 2003-11-13 Petur Runolfsson <peturr02@ru.is>
  891. PR libstdc++/12594
  892. * include/bits/ostream.tcc
  893. (basic_ostream::operator<<(basic_ostream& (*)(basic_ostream&)),
  894. basic_ostream::operator<<(basic_ios& (*)(basic_ios&)),
  895. basic_ostream::operator<<(ios_base& (*)(ios_base&))):
  896. Implement the resolution of DR 60 (TC): These are not formatted
  897. output functions so don't construct sentry objects and don't
  898. catch exceptions.
  899. (basic_ostream::put, basic_ostream::write): Implement the
  900. resolution of DR 63 (TC) by catching exceptions and setting
  901. badbit.
  902. (basic_ostream::flush): Implement the resolution of DR 60 (TC):
  903. This is not an unformatted output function so don't construct
  904. a sentry object.
  905. * testsuite/testsuite_io.h (sync_streambuf): Define.
  906. * testsuite/27_io/basic_ostream/flush/char/2.cc: New test.
  907. * testsuite/27_io/basic_ostream/inserters_other/char/5.cc: New test.
  908. * testsuite/27_io/basic_ostream/put/char/1.cc: New test.
  909. * testsuite/27_io/basic_ostream/write/char/1.cc: New test.
  910. 2003-11-13 Paolo Carlini <pcarlini@suse.de>
  911. * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1:
  912. Fix, closely following the testcase included in the PR.
  913. * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: Ditto.
  914. * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: Ditto.
  915. * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: Ditto.
  916. 2003-11-13 Jonathan Wakely <redi@gcc.gnu.org>
  917. * docs/html/17_intro/configury.html: XHTML tweak.
  918. 2003-11-13 Jonathan Wakely <redi@gcc.gnu.org>
  919. * docs/html/debug_mode.html: XHTML fixes.
  920. 2003-11-12 Benjamin Kosnik <bkoz@redhat.com>
  921. * docs/html/debug_mode.html: Update.
  922. * docs/html/17_intro/TODO: Update.
  923. 2003-11-12 Benjamin Kosnik <bkoz@redhat.com>
  924. * include/bits/c++config: Move using directive...
  925. * include/debug/formatter.h: ...here.
  926. 2003-11-12 Carlo Wood <carlo@alinoe.com>
  927. PR libstdc++/12947
  928. * bits/demangle.h
  929. (_GLIBCXX_DEMANGLER_STYLE_COMPACT_EXPR_OPS): Added.
  930. (_GLIBCXX_DEMANGLER_STYLE_SIZEOF_TYPENAME): Added.
  931. (session<Allocator>::next_peek() const): Added.
  932. (decode_non_negative_decimal_integer(string_type&)):
  933. Renamed from decode_decimal_integer(string_type&).
  934. (session<Allocator>::decode_nested_name):
  935. Decode <template_param> as well.
  936. (session<Allocator>::add_substitution):
  937. Handle <template-param> for <nested-name>'s.
  938. (enum xary_nt): Added.
  939. (struct entry_st): Added member `xary_nt type' instead of `bool unary'.
  940. (symbol_name_table_c): Updated for `entry_st::type' and additional
  941. operators (unary `operator+' and `sizeof(type)').
  942. (offset_table_c): Updated for new operators (causing a new hash map).
  943. (decode_operator_name): Match the updated hash map.
  944. (session<Allocator>::decode_expression):
  945. Support for `sizeof ([typename] type)' (st),
  946. dependent names (sr) and casting operator (cv). Handle
  947. `entry_st::type'. Handle _GLIBCXX_DEMANGLER_STYLE_COMPACT_EXPR_OPS
  948. and _GLIBCXX_DEMANGLER_STYLE_SIZEOF_TYPENAME.
  949. (session<Allocator>::decode_type_with_postfix):
  950. Support `extern "C"' function types (FY).
  951. * testsuite/demangle/regression/cw-16.cc: Added tests for the
  952. added functionality.
  953. * testsuite/demangle/regression/3111-2.cc: sizeof now has a space
  954. appended.
  955. 2003-11-11 Paolo Carlini <pcarlini@suse.de>
  956. PR libstdc++/12875
  957. * include/bits/fstream.tcc (setbuf): Don't do anything
  958. after open(), in particular don't discard data.
  959. (_M_allocate_internal_buffer): Tweak to not allocate memory
  960. in case the buffer is provided by the user via setbuf.
  961. * include/ext/stdio_filebuf.h: Tweak comment.
  962. * testsuite/27_io/basic_filebuf/setbuf/char/12875-1.cc: New.
  963. * testsuite/27_io/basic_filebuf/setbuf/char/12875-2.cc: Likewise.
  964. * testsuite/27_io/basic_filebuf/setbuf/char/2.cc: Tweak, now
  965. setbuf does nothing after open().
  966. * testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Likewise.
  967. 2003-11-11 Doug Gregor <gregod@cs.rpi.edu>
  968. * docs/html/debug.html: Document libstdc++ debug mode.
  969. * docs/html/debug_mode.html: Document libstdc++ debug mode design.
  970. * docs/html/test.html: Document how to test under debug mode.
  971. * docs/html/17_intro/howto.html: Document debug-mode macros.
  972. * include/Makefile.am: Install debug-mode headers.
  973. * src/Makefile.am: Include debug.cc.
  974. * include/bits/basic_string.tcc:
  975. (basic_string::_S_construct): Fix NULL pointer check.
  976. (__is_null_pointer): New.
  977. Add precondition annotations.
  978. * include/bits/stream_iterator.h (istream_iterator,
  979. ostream_iterator): Added precondition annotations.
  980. * include/bits/streambuf_iterator.h (istreambuf_iterator): Ditto.
  981. * include/bits/stl_queue.h (queue, priority_queue): Ditto.
  982. * include/bits/stl_stack.h (stack): Ditto.
  983. * include/bits/basic_string.h (basic_string): Ditto.
  984. * include/bits/basic_string.tcc (basic_string): Ditto.
  985. * include/std/std_memory.h (auto_ptr): Ditto.
  986. * include/std/std_valarray.h (valarray): Ditto.
  987. * include/bits/stl_algo.h: Added algorithm precondition
  988. annotations.
  989. * include/bits/stl_algobase.h: Added algorithm precondition
  990. annotations.
  991. * include/bits/stl_numeric.h: Ditto.
  992. * include/ext/algorithm: Added algorithm precondition
  993. annotations.
  994. (__is_heap): Moved away from here.
  995. * include/bits/stl_heap.h: Added algorithm precondition
  996. annotations.
  997. (__is_heap): Moved to the top of this file.
  998. (__is_heap): Added iterator range overloads.
  999. * testsuite/20_util/auto_ptr_neg.cc: Fix line numbers to match up
  1000. with changes in std_memory.h.
  1001. * testsuite/23_containers/list/operators/4.cc: Don't verify
  1002. performance guarantees when in debug mode.
  1003. * testsuite/23_containers/bitset/invalidation/1.cc: New.
  1004. * testsuite/23_containers/deque/invalidation/1.cc: New.
  1005. * testsuite/23_containers/deque/invalidation/2.cc: New.
  1006. * testsuite/23_containers/deque/invalidation/3.cc: New.
  1007. * testsuite/23_containers/deque/invalidation/4.cc: New.
  1008. * testsuite/23_containers/list/invalidation/1.cc: New.
  1009. * testsuite/23_containers/list/invalidation/2.cc: New.
  1010. * testsuite/23_containers/list/invalidation/3.cc: New.
  1011. * testsuite/23_containers/list/invalidation/4.cc: New.
  1012. * testsuite/23_containers/map/invalidation/1.cc: New.
  1013. * testsuite/23_containers/map/invalidation/2.cc: New.
  1014. * testsuite/23_containers/multimap/invalidation/1.cc: New.
  1015. * testsuite/23_containers/multimap/invalidation/2.cc: New.
  1016. * testsuite/23_containers/multiset/invalidation/1.cc: New.
  1017. * testsuite/23_containers/multiset/invalidation/2.cc: New.
  1018. * testsuite/23_containers/set/invalidation/1.cc: New.
  1019. * testsuite/23_containers/set/invalidation/2.cc: New.
  1020. * testsuite/23_containers/vector/invalidation/1.cc: New.
  1021. * testsuite/23_containers/vector/invalidation/2.cc: New.
  1022. * testsuite/23_containers/vector/invalidation/3.cc: New.
  1023. * testsuite/23_containers/vector/invalidation/4.cc: New.
  1024. * testsuite/25_algorithms/heap.cc: Don't verify
  1025. performance guarantees when in debug mode.
  1026. * include/debug/bitset: New.
  1027. * include/debug/debug.h: New.
  1028. * include/debug/deque: New.
  1029. * include/debug/formatter.h: New.
  1030. * include/debug/hash_map: New.
  1031. * include/debug/hash_map.h: New.
  1032. * include/debug/hash_multimap.h: New.
  1033. * include/debug/hash_set: New.
  1034. * include/debug/hash_set.h: New.
  1035. * include/debug/hash_multiset.h: New.
  1036. * include/debug/list: New.
  1037. * include/debug/map: New.
  1038. * include/debug/map.h: New.
  1039. * include/debug/multimap.h: New.
  1040. * include/debug/multiset.h: New.
  1041. * include/debug/safe_base.h: New.
  1042. * include/debug/safe_iterator.h: New.
  1043. * include/debug/safe_iterator.tcc: New.
  1044. * include/debug/safe_sequence.h: New.
  1045. * include/debug/set: New.
  1046. * include/debug/set.h: New.
  1047. * include/debug/string: New.
  1048. * include/debug/vector: New.
  1049. * src/debug.cc: New.
  1050. * config/linker-map.gnu: Add debug mode symbols.
  1051. 2003-11-11 Benjamin Kosnik <bkoz@redhat.com>
  1052. * src/string-inst.cc: Tweak namespaces.
  1053. * src/misc-inst.cc: Same.
  1054. * docs/html/debug.html: Edits.
  1055. * config/link-map.gnu: Remove cruft.
  1056. * include/bits/c++config: Add in namespace associations.
  1057. * include/std/std_bitset.h: Adjust namespace to __gnu_norm,
  1058. comment tweaks.
  1059. * include/bits/deque.tcc: Same.
  1060. * include/bits/list.tcc: Same.
  1061. * include/bits/stl_bvector.h: Same.
  1062. * include/bits/stl_deque.h: Same.
  1063. * include/bits/stl_list.h: Same.
  1064. * include/bits/stl_map.h: Same.
  1065. * include/bits/stl_multimap.h: Same.
  1066. * include/bits/stl_multiset.h: Same.
  1067. * include/bits/stl_set.h: Same.
  1068. * include/bits/stl_vector.h: Same.
  1069. * include/bits/vector.tcc: Same.
  1070. * include/std/std_algorithm.h: Remove markup comments.
  1071. * include/std/std_functional.h: Same.
  1072. * include/std/std_iterator.h: Same.
  1073. * include/std/std_numeric.h: Same.
  1074. * include/std/std_utility.h: Same.
  1075. * include/bits/stl_queue.h: Formatting tweaks.
  1076. * include/bits/stl_stack.h: Same.
  1077. * include/std/std_deque.h: Include debugging version in debug mode.
  1078. * include/std/std_list.h: Same.
  1079. * include/std/std_map.h: Same.
  1080. * include/std/std_set.h: Same.
  1081. * include/std/std_vector.h: Same.
  1082. * include/std/std_queue.h: Use deque, vector.
  1083. * include/std/std_stack.h: Same.
  1084. 2003-11-09 Paolo Carlini <pcarlini@suse.de>
  1085. * include/bits/locale_facets.tcc (_M_insert_int,
  1086. _M_insert_float): Move a couple of vars inside an if block.
  1087. 2003-11-09 Paolo Carlini <pcarlini@suse.de>
  1088. PR libstdc++/12971
  1089. * include/bits/locale_facets.tcc
  1090. (money_put::do_put(..., long double)): Fix conversion
  1091. specification as per DR 328 [WP].
  1092. * testsuite/22_locale/money_put/put/char/12971.cc: Add.
  1093. * testsuite/22_locale/money_put/put/wchar_t/12971.cc: Ditto.
  1094. * docs/html/ext/howto.html: Add entry for DR 328.
  1095. 2003-11-08 Paolo Carlini <pcarlini@suse.de>
  1096. PR libstdc++/12967
  1097. * include/bits/list.tcc (merge): Implement resolution of
  1098. DR 300 [WP].
  1099. * docs/html/ext/howto.html: Add entry for DR 300; tweak entry
  1100. for DR 231.
  1101. * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
  1102. Import R27.
  1103. 2003-11-07 Jonathan Wakely <redi@gcc.gnu.org>
  1104. * libsupc++/vec.cc: Conform to C++STYLE.
  1105. 2003-11-07 Carlo Wood <carlo@alinoe.com>
  1106. PR libstdc++/12736
  1107. * bits/demangle.h (qualifier_list<Allocator>::decode_KVrA): Added.
  1108. (qualifier_list<Allocator>::decode_qualifiers): Collect concatenated
  1109. K, V, r and A qualifiers before processing them as a group.
  1110. * testsuite/demangle/abi_text/01.cc: Reordered CV-qualifiers.
  1111. * testsuite/demangle/regression/cw-16.cc: New.
  1112. 2003-11-07 Robert Millan <robertmh@gnu.org>
  1113. * configure.host: Add kfreebsd*-gnu and knetbsd*-gnu.
  1114. * crossconfig.m4: Likewise.
  1115. * configure: Regenerate.
  1116. 2003-11-07 Carlo Wood <carlo@alinoe.com>
  1117. * include/bits/demangle.h
  1118. (qualifier_list<Allocator>::decode_qualifiers(string_type&,
  1119. string_type&, bool member_function_pointer_qualifiers):
  1120. Always separate the '[' of an array type with a space from
  1121. what is left of it, except when that is the closing bracket
  1122. of another array dimension.
  1123. 2003-11-07 Carlo Wood <carlo@alinoe.com>
  1124. * include/bits/demangle.h
  1125. (qualifier_list<Allocator>::decode_qualifiers(string_type&,
  1126. string_type&, bool) const): Made const.
  1127. (qualifier_list<Allocator>::M_printing_suppressed): Added mutable.
  1128. (_GLIBCXX_DEMANGLER_DOUT_ENTERING3, _GLIBCXX_DEMANGLER_RETURN3,
  1129. std::ostream& operator<<(std::ostream&, qualifier const&),
  1130. std::ostream& operator<<(std::ostream&, qualifier_list const&),
  1131. qualifier_list<Allocator>::decode_qualifiers(string_type&,
  1132. string_type&, bool) const,
  1133. session<Allocator>::decode_type_with_postfix(string_type&,
  1134. string_type&, qualifier_list<Allocator>*))
  1135. Added and/or changed debug-only hooks and code.
  1136. 2003-11-04 Jeffrey D. Oldham <oldham@codesourcery.com>
  1137. * libsupc++/vec.cc (__cxa_vec_delete2): If given a NULL pointer,
  1138. immediately return. This reflects a C++ ABI change 2003 Nov 03.
  1139. (__cxa_vec_delete3): Likewise.
  1140. 2003-11-03 Petur Runolfsson <peturr02@ru.is>
  1141. PR libstdc++/12790
  1142. * include/bits/fstream.tcc: Delete _M_last_overflowed.
  1143. (basic_filebuf::basic_filebuf): Initialize _M_state_last.
  1144. (basic_filebuf::open, basic_filebuf::close): Assign
  1145. _M_state_beg to _M_state_cur and _M_state_last.
  1146. (basic_filebuf::close): Call _M_terminate_output to handle
  1147. unshift and flushing.
  1148. (basic_filebuf::underflow): Assign _M_state_last, throw
  1149. exception instead of calling abort when codecvt::max_length()
  1150. is bad.
  1151. (basic_filebuf::seekoff): Use _M_state_last when calling
  1152. codecvt::length(), pass correct state to _M_seek.
  1153. (basic_filebuf::seekpos): Pass __pos.state() to _M_seek.
  1154. (basic_filebuf::_M_seek): Add __state_type parameter,
  1155. set _M_state_cur correctly, store the resulting state in
  1156. the return value and use _M_terminate_output to handle
  1157. flushing and unshift.
  1158. (basic_filebuf::_M_terminate_output): Flush contents of
  1159. output buffer, if any, then call codecvt::unshift as
  1160. needed and output the result.
  1161. (basic_filebuf::sync): Move here, don't modify _M_writing
  1162. or _M_reading.
  1163. * include/std/std_fstream.h
  1164. (basic_filebuf::_M_state_last): Declare it.
  1165. (basic_filebuf::_M_last_overflowed): Delete.
  1166. (basic_filebuf::_M_seek): Add __state_type parameter.
  1167. (basic_filebuf::sync): Declare only.
  1168. (basic_filebuf::_M_output_unshift): Delete.
  1169. (basic_filebuf::_M_terminate_output): Declare it.
  1170. * testsuite/testsuite_character.h:
  1171. Define character class and state class plus char_traits and
  1172. codecvt specializations for same for testing support for
  1173. stateful encodings.
  1174. * testsuite/27_io/basic_filebuf/close/12790-1.cc,
  1175. * testsuite/27_io/basic_filebuf/close/char/12790-1.cc,
  1176. * testsuite/27_io/basic_filebuf/close/char/12790-2.cc,
  1177. * testsuite/27_io/basic_filebuf/close/char/12790-3.cc,
  1178. * testsuite/27_io/basic_filebuf/close/char/12790-4.cc,
  1179. * testsuite/27_io/basic_filebuf/close/wchar_t/12790-1.cc,
  1180. * testsuite/27_io/basic_filebuf/close/wchar_t/12790-2.cc,
  1181. * testsuite/27_io/basic_filebuf/close/wchar_t/12790-3.cc,
  1182. * testsuite/27_io/basic_filebuf/close/wchar_t/12790-4.cc,
  1183. * testsuite/27_io/basic_filebuf/open/12790-1.cc,
  1184. * testsuite/27_io/basic_filebuf/seekoff/12790-1.cc,
  1185. * testsuite/27_io/basic_filebuf/seekoff/12790-2.cc,
  1186. * testsuite/27_io/basic_filebuf/seekoff/12790-3.cc,
  1187. * testsuite/27_io/basic_filebuf/seekoff/12790-4.cc,
  1188. * testsuite/27_io/basic_filebuf/seekoff/char/12790-1.cc,
  1189. * testsuite/27_io/basic_filebuf/seekoff/char/12790-2.cc,
  1190. * testsuite/27_io/basic_filebuf/seekoff/char/12790-3.cc,
  1191. * testsuite/27_io/basic_filebuf/seekoff/char/12790-4.cc,
  1192. * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-1.cc,
  1193. * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-2.cc,
  1194. * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-3.cc,
  1195. * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-4.cc,
  1196. * testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc,
  1197. * testsuite/27_io/basic_filebuf/seekpos/12790-1.cc,
  1198. * testsuite/27_io/basic_filebuf/seekpos/12790-2.cc,
  1199. * testsuite/27_io/basic_filebuf/seekpos/12790-3.cc,
  1200. * testsuite/27_io/basic_filebuf/seekpos/char/12790-1.cc,
  1201. * testsuite/27_io/basic_filebuf/seekpos/char/12790-2.cc,
  1202. * testsuite/27_io/basic_filebuf/seekpos/char/12790-3.cc,
  1203. * testsuite/27_io/basic_filebuf/seekpos/char/12790-4.cc,
  1204. * testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc,
  1205. * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-1.cc,
  1206. * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-2.cc,
  1207. * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-3.cc,
  1208. * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-4.cc,
  1209. * testsuite/27_io/basic_filebuf/sync/char/1.cc,
  1210. * testsuite/27_io/basic_filebuf/sync/wchar_t/1.cc:
  1211. New tests.
  1212. * testsuite/27_io/basic_filebuf/3.cc,
  1213. * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc,
  1214. * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc,
  1215. * testsuite/27_io/basic_fstream/3.cc,
  1216. * testsuite/27_io/basic_ifstream/3.cc,
  1217. * testsuite/27_io/basic_ofstream/3.cc:
  1218. Use streamoff as off_type and fpos<state_type> as pos_type.
  1219. * testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc,
  1220. * testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc:
  1221. Check that sync does *not* set _M_writing to false.
  1222. 2003-11-03 Anthony Green <green@redhat.com>
  1223. * libmath/stubs.c (sqrtf, sqrtl): Reorder so they appear before
  1224. they're used.
  1225. 2003-11-03 Benjamin Kosnik <bkoz@redhat.com>
  1226. * include/bits/locale_facets.h (time_get::_M_extract_name): Add
  1227. ctype argument.
  1228. * include/bits/locale_facets.tcc: Same, use it to allow
  1229. capitalized names.
  1230. * include/bits/fstream.tcc: Spacing tweak.
  1231. * include/bits/istream.tcc: Same.
  1232. * include/bits/ostream.tcc: Same.
  1233. 2003-10-30 Paolo Carlini <pcarlini@suse.de>
  1234. * include/bits/locale_facets.tcc (time_get::_M_extract_via_format):
  1235. __mod is only assigned, never used its value, remove it.
  1236. 2003-10-29 Paolo Carlini <pcarlini@suse.de>
  1237. * include/bits/locale_facets.tcc (time_get::do_get_year):
  1238. Absolutely avoid dereferencing end iterators.
  1239. (time_put::put): Minor clean up.
  1240. * include/bits/locale_facets.tcc: Cosmetic reformattings.
  1241. 2003-10-29 Paolo Carlini <pcarlini@suse.de>
  1242. * include/bits/locale_facets.tcc (num_get::_M_extract_float):
  1243. Revert the last commit, is not correct, sorry.
  1244. 2003-10-29 Paolo Carlini <pcarlini@suse.de>
  1245. * config/locale/generic/c_locale.cc: Add back <cmath> and
  1246. <cstdlib>.
  1247. * include/bits/locale_facets.tcc (num_get::_M_extract_float):
  1248. Clean up.
  1249. 2003-10-29 Paolo Carlini <pcarlini@suse.de>
  1250. * include/bits/locale_facets.tcc (time_put::put): Absolutely
  1251. avoid dereferencing end iterators; clean up.
  1252. * include/bits/locale_facets.tcc (num_get::_M_extract_float,
  1253. num_get::_M_extract_int): Minor tweak.
  1254. 2003-10-29 Paolo Carlini <pcarlini@suse.de>
  1255. * include/bits/locale_facets.tcc: Remove some unnecessary
  1256. includes.
  1257. * config/locale/generic/c_locale.cc: Include <cerrno> here.
  1258. * config/locale/gnu/c_locale.cc: Likewise.
  1259. 2003-10-28 Paolo Carlini <pcarlini@suse.de>
  1260. * include/bits/locale_facets.tcc
  1261. (money_get<>::do_get(..., string_type&)): Absolutely avoid
  1262. dereferencing end iterators; general clean up.
  1263. 2003-10-28 Paolo Carlini <pcarlini@suse.de>
  1264. * include/bits/locale_facets.tcc (time_get::_M_extract_num):
  1265. Absolutely avoid dereferencing end iterators.
  1266. (time_get::_M_extract_name): Likewise.
  1267. * include/bits/locale_facets.tcc
  1268. (time_get::_M_extract_via_format, case 'e'): Don't try to
  1269. be smart wrt returning the right __beg in case of parse
  1270. error, time_get::_M_extract_num must be fixed instead.
  1271. 2003-10-27 Paolo Carlini <pcarlini@suse.de>
  1272. PR libstdc++/12778
  1273. * acinclude.m4 (GLIBCXX_CHECK_LFS): Use the C++ compiler.
  1274. * aclocal.m4: Regenerate.
  1275. * configure: Regenerate.
  1276. 2003-10-27 Benjamin Kosnik <bkoz@redhat.com>
  1277. * docs/html/17_intro/TODO: Add links.
  1278. * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
  1279. Uncomment.
  1280. 2003-10-27 Paolo Carlini <pcarlini@suse.de>
  1281. PR libstdc++/12750
  1282. * include/bits/locale_facets.tcc
  1283. (time_get::_M_extract_via_format): Deal with code 'e'.
  1284. * testsuite/22_locale/time_get/get_date/char/12750.cc: New.
  1285. * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Ditto.
  1286. * include/bits/locale_facets.tcc
  1287. (time_get::_M_extract_via_format): Tweak to absolutely avoid
  1288. dereferencing end iterators.
  1289. * include/bits/locale_facets.h (__verify_grouping):
  1290. Const-ify second parameter.
  1291. * include/bits/locale_facets.tcc (__verify_grouping): Ditto.
  1292. * src/locale-inst.cc (__verify_grouping): Ditto.
  1293. 2003-10-27 Paolo Carlini <pcarlini@suse.de>
  1294. * include/bits/locale_facets.tcc (num_get::_M_extract_float):
  1295. Various things: 1- Avoid absolutely end iterator dereferences;
  1296. 2- Improve performance-wise the code skipping leading zeros;
  1297. 3- Fix two bugs wrt early bail out in case of parsing errors
  1298. (see testcases); 4- General clean up.
  1299. (num_get::_M_extract_int): Likewise, except 3-. Additionally,
  1300. use __builtin_expect to favor base 10 inputs.
  1301. * testsuite/22_locale/num_get/get/char/7.cc: New.
  1302. * testsuite/22_locale/num_get/get/wchar_t/7.cc: Ditto.
  1303. 2003-10-26 Paolo Carlini <pcarlini@suse.de>
  1304. * testsuite/22_locale/money_put/put/char/1.cc: Clean up.
  1305. * testsuite/22_locale/money_put/put/wchar_t/1.cc: Ditto.
  1306. 2003-10-25 Paolo Carlini <pcarlini@suse.de>
  1307. * include/bits/locale_facets.tcc (num_get::_M_extract_int):
  1308. __pos in only incremented, never used its value, remove it.
  1309. 2003-10-24 Robert Millan <robertmh@gnu.org>
  1310. * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Add kfreebsd*-gnu
  1311. and knetbsd*-gnu.
  1312. * aclocal.m4: Regenerated.
  1313. * configure: Regenerated.
  1314. 2003-10-24 Paolo Carlini <pcarlini@suse.de>
  1315. * include/bits/locale_facets.tcc (money_get::do_get(...,
  1316. long double&): Properly size the temporary buffer.
  1317. * testsuite/22_locale/money_get/get/char/11.cc: New.
  1318. * testsuite/22_locale/money_get/get/wchar_t/11.cc: Ditto.
  1319. * include/bits/locale_facets.tcc (num_put::_M_group_int,
  1320. num_put::_M_group_float, money_put::do_put(..., const
  1321. string_type&), collate::do_compare, collate::do_transform):
  1322. Prefer basic_string::data() to c_str() when the '\0'
  1323. terminator is not really needed.
  1324. 2003-10-24 Paolo Carlini <pcarlini@suse.de>
  1325. * include/bits/locale_facets.tcc (__verify_grouping):
  1326. Prefer '=' to an unnecessary '&='.
  1327. 2003-10-24 Paolo Carlini <pcarlini@suse.de>
  1328. * include/bits/basic_ios.tcc (copyfmt(const basic_ios&)):
  1329. Tweak my fix for libstdc++/12657.
  1330. 2003-10-24 Paolo Carlini <pcarlini@suse.de>
  1331. * include/bits/locale_facets.tcc (money_get::do_get(...,
  1332. string_type&): Minor tweak to the previous commit.
  1333. 2003-10-24 Paolo Carlini <pcarlini@suse.de>
  1334. * include/bits/locale_facets.tcc (money_get::do_get(...,
  1335. string_type&): Disregard the previous commit: doesn't hurt but
  1336. doesn't accomplish anything useful either. This is the right
  1337. one, speeding up greatly the function in case of early fail.
  1338. 2003-10-24 Paolo Carlini <pcarlini@suse.de>
  1339. * include/bits/locale_facets.tcc (money_get::do_get(...,
  1340. string_type&): Move an if block, thus minimizing the amount
  1341. of code processed anyway when __tmp_units.size() == 0.
  1342. 2003-10-24 Paolo Carlini <pcarlini@suse.de>
  1343. * include/bits/locale_facets.tcc
  1344. (time_get<>::_M_extract_via_format): Deal with case 'C' too,
  1345. equivalent to 'y'.
  1346. 2003-10-23 Benjamin Kosnik <bkoz@redhat.com>
  1347. * docs/html/documentation.html: Add a pointer to the doxygen style
  1348. guide.
  1349. * docs/html/17_intro/TODO: Update.
  1350. * docs/html/test.html: Add instructions for running a subset of
  1351. tests, update.
  1352. 2003-10-23 Paolo Carlini <pcarlini@suse.de>
  1353. * include/bits/locale_facets.tcc (money_get<>::do_get(...,
  1354. string_type&)): Use find_first_not_of to strip leading
  1355. zeros; if __tmp_units == "0" never prefix it with '-';
  1356. always fail if __tmp_units is empty.
  1357. * testsuite/22_locale/money_get/get/char/10.cc: New.
  1358. * testsuite/22_locale/money_get/get/wchar_t/10.cc: Ditto.
  1359. 2003-10-23 Phil Edwards <phil@codesourcery.com>
  1360. * config/os/vxworks/ctype_noninline.h: Adjust ctor to match
  1361. 2003-10-21 change.
  1362. 2003-10-22 Paolo Carlini <pcarlini@suse.de>
  1363. * include/bits/locale_facets.tcc (__int_to_char): Remove
  1364. the const int parameter.
  1365. (_M_insert_int): Update caller.
  1366. * src/locale-inst.cc (__int_to_char): Update instantiations.
  1367. 2003-10-22 Benjamin Kosnik <bkoz@redhat.com>
  1368. * include/bits/locale_facets.h: Correct byname facets for "C"
  1369. locale.
  1370. * config/locale/generic/ctype_members.cc: Same.
  1371. * config/locale/generic/messages_members.h: Same.
  1372. * config/locale/gnu/ctype_members.cc: Same.
  1373. * config/locale/gnu/messages_members.h: Same.
  1374. * include/bits/codecvt.h: Same.
  1375. * src/ctype.cc: Same.
  1376. * testsuite/22_locale/codecvt_byname/1.cc: New.
  1377. * testsuite/22_locale/collate/1.cc: Edit.
  1378. * testsuite/22_locale/collate_byname/1.cc: Derivation tests, move to...
  1379. * testsuite/22_locale/collate_byname/named_equivalence.cc: ...here.
  1380. * testsuite/22_locale/ctype/1.cc: Derivation tests.
  1381. * testsuite/22_locale/ctype/11844.cc: Move...
  1382. * testsuite/22_locale/ctype_base/11844.cc: ...here.
  1383. * testsuite/22_locale/ctype_base/1.cc: Move mask bits here.
  1384. * testsuite/22_locale/ctype_byname/1.cc: Name.
  1385. * testsuite/22_locale/messages_byname/1.cc: New.
  1386. * testsuite/22_locale/messages_byname/named_equivalence.cc: New.
  1387. * testsuite/22_locale/moneypunct_byname/1.cc: Derivation test.
  1388. * testsuite/22_locale/moneypunct_byname/named_equivalence.cc: New.
  1389. * testsuite/22_locale/numpunct/1.cc: Edit.
  1390. * testsuite/22_locale/numpunct_byname/2.cc: Move...
  1391. * testsuite/22_locale/numpunct/members/char/3.cc: ...here.
  1392. * testsuite/22_locale/numpunct_byname/1.cc: Derivation tests.
  1393. * testsuite/22_locale/numpunct_byname/named_equivalence.cc: New.
  1394. 2003-10-22 Paolo Carlini <pcarlini@suse.de>
  1395. PR libstdc++/8610
  1396. * acinclude.m4 (GLIBCXX_CHECK_INT64_T): New macro,
  1397. checking for the availability of int64_t.
  1398. (GLIBCXX_CHECK_LFS): New macro, checking for LFS support.
  1399. * configure.ac: Call here.
  1400. * acconfig.h: Add undef for the corresponding symbols.
  1401. * config/io/basic_file_stdio.cc (__basic_file<char>::open):
  1402. Depending on _GLIBCXX_USE_LFS, call fopen64 or fopen.
  1403. (__basic_file<char>::seekoff): Likewise, call lseek64 when
  1404. available, otherwise lseek, checking the __off parameter.
  1405. * include/bits/postypes.h: Typedef __streamoff_base_type
  1406. to int64_t if available, otherwise long long.
  1407. * aclocal.m4: Regenerate.
  1408. * config.h.in: Likewise.
  1409. * configure: Likewise.
  1410. * acinclude.m4 (GLIBCXX_CHECK_POLL, GLIBCXX_CHECK_WRITEV):
  1411. Use AC_TRY_LINK instead of AC_TRY_COMPILE.
  1412. 2003-10-22 Paolo Carlini <pcarlini@suse.de>
  1413. PR libstdc++/12657
  1414. * include/bits/basic_ios.tcc (copyfmt(const basic_ios&)):
  1415. Implement resolution of DR 292 (WP).
  1416. * docs/html/ext/howto.html: Add entry for DR 292.
  1417. 2003-10-21 Benjamin Kosnik <bkoz@redhat.com>
  1418. * include/ext/mt_allocator.h: Change include to gthr.h.
  1419. * include/ext/rope: Same. Add _Refcount_base definitions.
  1420. * include/ext/pool_allocator.h: Adjust namespaces.
  1421. * include/bits/stl_threads.h (_Refcount_base): Move.
  1422. Put remaining into namespace __gnu_cxx.
  1423. 2003-10-21 Benjamin Kosnik <bkoz@redhat.com>
  1424. PR libstdc++/9858
  1425. * include/bits/locale_facets.h (ctype<char>): Remove
  1426. __ctype_abstract_base.
  1427. (ctype<char>::do_is): Remove.
  1428. (ctype<char>::do_scan_is): Remove.
  1429. * src/ctype.cc: Same. Inline the rest.
  1430. * testsuite/22_locale/ctype/is/char/9858.cc: New.
  1431. * config/os/aix/ctype_noninline.h: Adjust ctor.
  1432. * config/os/bsd/freebsd/ctype_noninline.h: Same.
  1433. * config/os/bsd/netbsd/ctype_noninline.h: Same.
  1434. * config/os/djgpp/ctype_noninline.h: Same.
  1435. * config/os/generic/ctype_noninline.h: Same.
  1436. * config/os/gnu-linux/ctype_noninline.h: Same.
  1437. * config/os/hpux/ctype_noninline.h: Same.
  1438. * config/os/irix/irix5.2/ctype_noninline.h: Same.
  1439. * config/os/irix/irix6.5/ctype_noninline.h: Same.
  1440. * config/os/mingw32/ctype_noninline.h: Same.
  1441. * config/os/newlib/ctype_noninline.h: Same.
  1442. * config/os/qnx/qnx6.1/ctype_noninline.h: Same.
  1443. * config/os/solaris/solaris2.5/ctype_noninline.h: Same.
  1444. * config/os/solaris/solaris2.6/ctype_noninline.h: Same.
  1445. * config/os/solaris/solaris2.7/ctype_noninline.h: Same.
  1446. * config/os/windiss/ctype_noninline.h: Same.
  1447. 2003-10-21 Paolo Carlini <pcarlini@suse.de>
  1448. * src/locale.cc: Tweak a comment.
  1449. * src/localename.cc: Move a comment.
  1450. 2003-10-20 Benjamin Kosnik <bkoz@redhat.com>
  1451. PR libstdc++/10081
  1452. * testsuite_hooks.h: Add pod_type, ctype and numpunct specializations.
  1453. * testsuite_hooks.cc: Same.
  1454. * 22_locale/numpunct/members/pod/1.cc: Edit.
  1455. * 22_locale/numpunct/members/pod/2.cc: Same.
  1456. * 27_io/basic_istream/sentry/char/3983-fstream.cc: Move ...
  1457. * 27_io/basic_istream/sentry/char/3983-sstream.cc: Move ...
  1458. * 27_io/basic_istream/extractors_arithmetic/pod/3983-1.cc: Here.
  1459. * 27_io/basic_istream/extractors_character/pod/3983-2.cc: Here.
  1460. * 27_io/basic_istream/extractors_other/pod/3983-3.cc: Here.
  1461. * 27_io/basic_ostream/sentry/char/3983-fstream.cc: Remove.
  1462. * 27_io/basic_ostream/sentry/char/3983-sstream.cc: Remove.
  1463. * 27_io/basic_istream/sentry/pod/1.cc: New.
  1464. * 27_io/basic_ostream/sentry/pod/1.cc: New.
  1465. * 21_strings/basic_string/inserters_extractors/pod/10081-in.cc: New.
  1466. * 21_strings/basic_string/inserters_extractors/pod/10081-out.cc: New.
  1467. 2003-10-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  1468. * config/cpu/mips/atomicity.h (__atomic_add): Use _ABIO32 instead
  1469. of external _MIPS_SIM_ABI32.
  1470. 2003-10-20 Phil Edwards <phil@codesourcery.com>
  1471. * configure.ac: Fix comment typo.
  1472. * configure.host: Add vxworks to host_os switch.
  1473. * crossconfig.m4: Remove old commented os_include_dir variables
  1474. left over from autotools transition.
  1475. (*-vxworks): New stanza.
  1476. (*-windiss): Add missing symbols.
  1477. * configure: Regenerate.
  1478. * config/os/vxworks/ctype_base.h, config/os/vxworks/ctype_inline.h,
  1479. config/os/vxworks/ctype_noninline.h, config/os/vxworks/os_defines.h:
  1480. New files.
  1481. * config/os/windiss/os_defines.h: Define __C9X__.
  1482. 2003-10-19 David Edelsohn <edelsohn@gnu.org>
  1483. PR other/12506
  1484. * configure.host (aix4,aix*): Define os_include_dir to os/generic.
  1485. 2003-10-18 Andreas Tobler <a.tobler@schweiz.ch>
  1486. * src/locale.cc (locale::_S_initialize): Re-apply workaround a
  1487. confusion of the use of the gthr API when __gthread_active_p()
  1488. returns true.
  1489. 2003-10-17 Benjamin Kosnik <bkoz@redhat.com>
  1490. * src/Makefile.am: Add new files.
  1491. * src/Makefile.in: Regenerate.
  1492. * src/globals.cc: Split into..
  1493. * src/globals_io.cc: New.
  1494. * src/globals_locale.cc: New.
  1495. * src/ios.cc: Split into...
  1496. * src/ios_init.cc: New.
  1497. * src/ios_locale.cc: New.
  1498. * src/locale-inst.cc: Split into..
  1499. * src/wlocale-inst.cc: New.
  1500. * src/locale-misc-inst.cc: New.
  1501. * src/locale.cc, src/localename: Split into...
  1502. * src/locale_facets.cc: New.
  1503. * src/locale_init.cc: New.
  1504. * src/wstring-inst.cc: Add copyright info.
  1505. 2003-10-16 Petur Runolfsson <peturr02@ru.is>
  1506. PR libstdc++/11450
  1507. PR libstdc++/11543
  1508. PR libstdc++/12065
  1509. * config/io/basic_file_stdio.cc (__basic_file::seekoff):
  1510. Change return value from streampos to streamoff.
  1511. (__basic_file::seekpos): Delete.
  1512. * config/io/basic_file_stdio.h: Same.
  1513. * config/io/c_io_stdio.h: Remove streamoff and wstreamsize typedefs.
  1514. * include/Makefile.am (bits_headers): Add bits/postypes.h.
  1515. * include/bits/char_traits.h: Include bits/postypes.h instead of
  1516. bits/fpos.h.
  1517. * include/bits/fstream.tcc (basic_filebuf::open,
  1518. basic_filebuf::pbackfail): Don't use < or >= to compare pos_type
  1519. values, use == and != instead.
  1520. (basic_filebuf::_M_seek): Use explicit conversion from streamoff
  1521. to pos_type.
  1522. (basic_filebuf::imbue): Don't use ! on pos_type values, use
  1523. == instead. Don't use __check_facet(_M_codecvt) unless is_open().
  1524. * include/bits/postypes.h: New file.
  1525. Add __streamoff_base_type typedef, streamsize.
  1526. (streamoff, streampos, wstreampos): Define typedefs, with
  1527. streamoff defined as...
  1528. (streamoff): New class. Document implementation defined
  1529. aspects.
  1530. (fpos): New implementation. Document implementation defined
  1531. aspects.
  1532. * include/bits/sstream.tcc (basic_stringbuf::seekpos): Use
  1533. explicit conversion from pos_type to off_type.
  1534. * include/std/std_iosfwd.h: Include bits/postypes.h instead
  1535. of bits/fpos.h.
  1536. * testsuite/27_io/basic_filebuf/seekoff/char/11543.cc: New test.
  1537. * testsuite/27_io/basic_filebuf/seekoff/wchar_t/11543.cc: New test.
  1538. * testsuite/27_io/fpos/11450.cc: New test.
  1539. * testsuite/27_io/fpos/mbstate_t/12065.cc: New test.
  1540. * testsuite/27_io/fpos/mbstate_t/4_neg.cc: New test.
  1541. * testsuite/27_io/types/3.cc: New test.
  1542. 2003-10-16 Benjamin Kosnik <bkoz@redhat.com>
  1543. * configure.host: Remove fpos_include_dir.
  1544. * configure.ac: Remove FPOS_INC_SRCDIR.
  1545. * configure: Regenerate.
  1546. * acinclude.m4 (GLIBCXX_ENABLE_CSTDIO): Remove FPOS_H.
  1547. * aclocal.m4: Regenerate.
  1548. * include/Makefile.am (host_headers): Remove fpos.h.
  1549. (bits_headers): Add postypes.h.
  1550. * include/Makefile.in: Regenerate.
  1551. * config/os/gnu-linux/fposh: Remove.
  1552. * config/os/generic/fpos.h: Remove.
  1553. * testsuite/27_io/basic_filebuf/seekoff/char/1-in.cc: Fixup.
  1554. * testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc: Same.
  1555. * testsuite/27_io/basic_filebuf/seekoff/char/1-out.cc: Same.
  1556. * testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc: Same.
  1557. * testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc: Same.
  1558. * testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc: Same.
  1559. * testsuite/27_io/basic_filebuf/seekpos/char/1-in.cc: Same.
  1560. * testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc: Same.
  1561. * testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc: Same.
  1562. * testsuite/27_io/basic_filebuf/seekpos/char/2-in.cc: Same.
  1563. * testsuite/27_io/basic_filebuf/seekpos/char/2-io.cc: Same.
  1564. * testsuite/27_io/basic_filebuf/seekpos/char/2-out.cc: Same.
  1565. * testsuite/27_io/basic_istream/seekg/char/2.cc: Same.
  1566. * testsuite/27_io/basic_stringbuf/seekoff/char/1.cc: Same.
  1567. * testsuite/27_io/basic_stringbuf/seekpos/char/1.cc: Same.
  1568. * testsuite/27_io/fpos/mbstate_t/3.cc: Same.
  1569. * testsuite/27_io/objects/char/10.cc: Same.
  1570. 2003-10-16 Paolo Carlini <pcarlini@suse.de>
  1571. * src/locale.cc (locale::locale(const char*)): ... one
  1572. more comparison missed in the previous commit.
  1573. 2003-10-16 Benjamin Kosnik <bkoz@redhat.com>
  1574. * acconfig.h: Add HAVE_DRAND48.
  1575. * crossconfig.m4: Remove ISATTY.
  1576. * aclocal.m4: Regenerated.
  1577. * config.h.in: Regenerated.
  1578. * configure: Regenerated.
  1579. 2003-10-16 Bernardo Innocenti <bernie@develer.com>
  1580. * config/cpu/m68k/atomicity.h (__exchange_and_add): Use TAS on
  1581. __mcf5400__. Don't rely on __mc68000__ to detect a bare 68000.
  1582. Document SMP safeness of asm macros.
  1583. 2003-10-16 Paolo Carlini <pcarlini@suse.de>
  1584. * src/locale.cc (locale::locale(const char*)): Tweak
  1585. a couple of comparisons to use basic_string operators.
  1586. 2003-10-16 Paolo Carlini <pcarlini@suse.de>
  1587. PR libstdc++/12540
  1588. * config/locale/gnu/monetary_members.cc
  1589. (moneypunct<wchar_t, true/false>::_M_initialize_moneypunct):
  1590. Don't leak memory if new throws.
  1591. * src/locale.cc (locale::locale(const char*)): In order not
  1592. to leak memory in case new throws, use a basic_string type
  1593. for __res too and avoid strdup.
  1594. 2003-10-14 Jeff Bailey <jbailey@nisa.net>
  1595. PR libstdc++/12562
  1596. * crossconfig.m4: Share the config between *-linux* and *-gnu*.
  1597. * configure: Regenerate.
  1598. 2003-10-14 Carlo Wood <carlo@alinoe.com>
  1599. PR libstdc++/12600
  1600. * include/bits/demangle.h (session<Allocator>::
  1601. decode_unqualified_name(string_type& output)): Fail on a
  1602. <operator-name> when decoding <template-argument>.
  1603. * testsuite/demangle/regression/cw-15.cc: New.
  1604. 2003-10-14 Paolo Carlini <pcarlini@unitus.it>
  1605. PR libstdc++/11480
  1606. * include/bits/stl_algo.h (unique): Fix.
  1607. * testsuite/25_algorithms/unique.cc: Move to unique/1.cc.
  1608. * testsuite/25_algorithms/unique/11480.cc: New, from the PR.
  1609. * testsuite/25_algorithms/unique/2.cc: New.
  1610. 2003-10-14 Paolo Carlini <pcarlini@unitus.it>
  1611. * src/localename.cc (_M_replace_categories, M_replace_facet):
  1612. Const-ify a couple of variables.
  1613. 2003-10-14 Petur Runolfsson <peturr02@ru.is>
  1614. Andreas Tobler <a.tobler@schweiz.ch>
  1615. * src/locale.cc (locale::_S_initialize): Workaround a confusion
  1616. of the use of the gthr API when __gthread_active_p() returns true.
  1617. 2003-10-12 Petur Runolfsson <peturr02@ru.is>
  1618. Paolo Carlini <pcarlini@unitus.it>
  1619. PR libstdc++/11460
  1620. * src/strstream.cc (pbackfail): Fix to use to_int_type.
  1621. * testsuite/backward/11460.cc: New, from the PR.
  1622. 2003-10-12 Paolo Carlini <pcarlini@unitus.it>
  1623. * config/locale/ieee_1003.1-2001/codecvt_specializations.h:
  1624. Change #ifdef _GLIBCXX_RESOLVE_LIB_DEFECTS to a comment.
  1625. * include/bits/basic_string.tcc: Likewise.
  1626. * include/bits/ios_base.h: Likewise.
  1627. * include/bits/istream.tcc: Likewise.
  1628. * include/bits/locale_facets.tcc: Likewise.
  1629. * include/bits/ostream.tcc: Likewise.
  1630. * include/bits/stl_function.h: Likewise.
  1631. * include/bits/stl_multiset.h: Likewise.
  1632. * include/bits/stl_pair.h: Likewise.
  1633. * include/bits/stl_set.h: Likewise.
  1634. * include/bits/streambuf_iterator.h
  1635. * include/std/std_iosfwd.h: Likewise.
  1636. * include/std/std_istream.h: Likewise.
  1637. * include/std/std_sstream.h: Likewise.
  1638. * include/std/std_streambuf.h: Likewise.
  1639. * src/ios.cc: Likewise.
  1640. * include/bits/c++config:
  1641. Comment out #define _GLIBCXX_RESOLVE_LIB_DEFECTS 1.
  1642. * testsuite/27_io/ios_base/cons/assign_neg.cc: Tweak a
  1643. dg-error directive due to removal of a blank line.
  1644. * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
  1645. 2003-10-12 Andreas Tobler <a.tobler@schweiz.ch>
  1646. Paolo Carlini <pcarlini@unitus.it>
  1647. PR libstdc++/11844/11740 (cont)
  1648. * config/os/generic/ctype_inline.h (ctype<char>::is):
  1649. Generically, use a bitmasksize of 15 (instead of 10);
  1650. Fix the logic to actually return (M & m) != 0 as per
  1651. 22.2.1.1.2.
  1652. 2003-10-11 Bernardo Innocenti <bernie@develer.com>
  1653. * crossconfig.m4 (*-uclinux*): New target.
  1654. * configure: Regenerate.
  1655. 2003-10-10 Paolo Carlini <pcarlini@unitus.it>
  1656. * include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT))
  1657. Avoid unnecessarily calling __builtin_alloca and dealing
  1658. explicitly with width() smaller than zero.
  1659. (operator<<(basic_ostream&, char), operator<<(basic_ostream&,
  1660. const _CharT*), operator<<(basic_ostream<_CharT, _Traits>&,
  1661. const char*), operator<<(basic_ostream<char, _Traits>&,
  1662. const char*), operator<<(basic_ostream, const basic_string&)):
  1663. Likewise.
  1664. 2003-10-09 Benjamin Kosnik <bkoz@redhat.com>
  1665. * config/linker-map.gnu: Make more *_type_info bits visible.
  1666. Move new/delete bits back into GLIBCXX space.
  1667. * include/bits/locale_classes.h: Move _M_id out of line, so that
  1668. locale::id::_S_highwater can be removed from the export list.
  1669. * src/locale.cc (locale::id::_M_id): Define.
  1670. 2003-10-09 Andreas Tobler <a.tobler@schweiz.ch>
  1671. * testsuite/lib/libstdc++.exp: Set LD_LIBRARY_PATH_64 for
  1672. SPARC64.
  1673. 2003-10-09 Paolo Carlini <pcarlini@unitus.it>
  1674. PR libstdc++/11844
  1675. * config/os/aix/ctype_base.h: Fix 'alnum' and 'graph'
  1676. to conform to the requirements of 22.2.1.
  1677. * config/os/bsd/freebsd/ctype_base.h: Likewise.
  1678. * config/os/djgpp/ctype_base.h: Likewise.
  1679. * config/os/generic/ctype_base.h: Likewise.
  1680. * config/os/gnu-linux/ctype_base.h: Likewise.
  1681. * config/os/hpux/ctype_base.h: Likewise.
  1682. * config/os/irix/irix6.5/ctype_base.h: Likewise.
  1683. * config/os/solaris/solaris2.6/ctype_base.h: Likewise.
  1684. * config/os/solaris/solaris2.7/ctype_base.h: Likewise.
  1685. * testsuite/22_locale/ctype/11844.cc: New.
  1686. * config/locale/generic/ctype_members.cc (do_is):
  1687. Generically, use a bitmasksize of 15 (instead of 10), since
  1688. we don't know the numerical encoding of the various categories
  1689. in the underlying /usr/include/ctype.h.
  1690. 2003-10-09 Benjamin Kosnik <bkoz@redhat.com>
  1691. * src/string-inst.cc: Prune.
  1692. * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
  1693. * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
  1694. 2003-10-09 Petur Runolfsson <peturr02@ru.is>
  1695. * src/io-inst.cc: Don't include iostream.
  1696. * include/bits/ios_base.h (ios_base::failure): Use string.
  1697. * src/Makefile.am: Add ios_failure.cc.
  1698. * src/Makefile.in: Regenerate.
  1699. * src/ios.cc: Move ios_base::failure definitions to...
  1700. * src/ios_failure.cc: ...here. New.
  1701. 2003-10-09 Petur Runolfsson <peturr02@ru.is>
  1702. PR libstdc++/9874
  1703. * include/bits/fstream.tcc (basic_filebuf::seekoff):
  1704. Move code needed for both seekoff and seekpos...
  1705. (basic_filebuf::_M_seek): ...here. New function.
  1706. (basic_filebuf::seekpos): Don't call seekoff, call _M_seek.
  1707. * include/std/std_fstream.h (basic_filebuf::_M_seek): Declare it.
  1708. * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: New test.
  1709. * testsuite/22_locale/locale/cons/12438.cc: Increase memory limit.
  1710. 2003-10-08 Paolo Carlini <pcarlini@unitus.it>
  1711. * include/bits/locale_facets.tcc: More minor cosmetic
  1712. changes and const-ifications of some variables.
  1713. 2003-10-07 Paolo Carlini <pcarlini@unitus.it>
  1714. * include/bits/locale_facets.tcc: Minor cosmetic changes
  1715. and const-ifications of some variables.
  1716. * include/bits/locale_facets.tcc
  1717. (money_get::do_get(..., string_type&)): Simplify an if-else.
  1718. 2003-10-06 Paolo Carlini <pcarlini@unitus.it>
  1719. PR libstdc++/11740
  1720. * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is):
  1721. Fix to actually return (M & m) != 0 as per 22.2.1.1.2.
  1722. * config/locale/generic/ctype_members.cc: Same.
  1723. * testsuite/22_locale/ctype/is/wchar_t/11740.cc: New.
  1724. 2003-10-06 Paolo Carlini <pcarlini@unitus.it>
  1725. * include/bits/locale_facets.tcc (__pad<>::_S_pad):
  1726. Improve performance-wise: avoid one traits::copy, avoid
  1727. the __builtin_alloca, streamline.
  1728. 2003-10-05 Paolo Carlini <pcarlini@unitus.it>
  1729. * include/bits/locale_facets.tcc
  1730. (num_put::do_put(..., bool)): Prefer ?: to if-else.
  1731. (time_get::_M_extract_name): Qualify min with std::.
  1732. (__pad<>::_S_pad): Constify two variables; simplify an
  1733. if-else statement factoring out some code.
  1734. * include/bits/locale_facets.tcc: Minor cosmetic changes.
  1735. 2003-10-04 Paolo Carlini <pcarlini@unitus.it>
  1736. * include/bits/locale_facets.tcc (num_get::_M_extract_float):
  1737. Constify a couple of variables.
  1738. (num_get::do_get(..., bool&)): Constify __c; prefer *__beg,
  1739. ++__beg to *__beg++.
  1740. 2003-10-04 Paolo Carlini <pcarlini@unitus.it>
  1741. Petur Runolfsson <peturr02@ru.is>
  1742. * include/ext/stdio_sync_filebuf.h: Don't include the whole
  1743. <fstream>, only <streambuf> and <cstdio>.
  1744. 2003-10-04 Paolo Carlini <pcarlini@unitus.it>
  1745. PR libstdc++/12206
  1746. * include/bits/fstream.tcc (imbue): In case a codecvt facet
  1747. is not available, set _M_codecvt = 0.
  1748. * testsuite/27_io/basic_filebuf/imbue/12206.cc: New.
  1749. 2003-10-02 Harald Boehme <boehme@informatik.hu-berlin.de>
  1750. PR libstdc++/12451
  1751. * libsupc++/cxxabi.h: Move forward declaration of __class_type_info.
  1752. 2003-10-02 Benjamin Kosnik <bkoz@redhat.com>
  1753. * include/bits/locale_classes.h (locale::facet::_S_get_c_name): Add.
  1754. * src/locale.cc: Define.
  1755. * src/localename.cc: Use it.
  1756. * config/locale/generic/time_members.h: Same.
  1757. * config/locale/gnu/messages_members.h: Same.
  1758. * config/locale/gnu/time_members.h: Same.
  1759. 2003-10-02 Paolo Carlini <pcarlini@unitus.it>
  1760. PR libstdc++/12232
  1761. * include/bits/fstream.tcc (seekoff): Ignore the openmode
  1762. argument; simplify.
  1763. * config/io/basic_file_stdio.h (__basic_file<char>::seekoff,
  1764. seekpos): Remove the openmode argument.
  1765. * config/io/basic_file_stdio.cc (__basic_file<char>::seekoff,
  1766. seekpos): Remove redundant placeholder for the openmode argument.
  1767. * testsuite/27_io/basic_filebuf/seekoff/char/12232.cc: New.
  1768. * testsuite/27_io/basic_filebuf/seekoff/char/3-in.cc: Tweak.
  1769. * testsuite/27_io/basic_filebuf/seekoff/char/3-out.cc: Likewise.
  1770. * testsuite/27_io/basic_filebuf/seekpos/char/3-in.cc: Likewise.
  1771. * testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc: Likewise.
  1772. 2003-10-02 Benjamin Kosnik <bkoz@redhat.com>
  1773. * src/locale.cc (locale::_S_initialize): Use __gthread_active_p.
  1774. (locale::facet::_S_get_c_locale): Same.
  1775. 2003-10-02 Benjamin Kosnik <bkoz@redhat.com>
  1776. * config/linker-map.gnu: Export _S_get_c_locale instead of
  1777. _S_c_locale object.
  1778. 2003-10-02 Petur Runolfsson <peturr02@ru.is>
  1779. * config/locale/generic/c_locale.cc
  1780. (category_names, locale::_S_categories): Const qualify.
  1781. * config/locale/gnu/c_locale.cc: Same.
  1782. * config/locale/generic/time_members.h (__timepunct::__timepunct):
  1783. Copy string contents before assigning to _M_name_timepunct,
  1784. qualify strcpy and strlen with std::.
  1785. * config/locale/gnu/time_members.h: Same.
  1786. * config/locale/gnu/messages_members.h (messages::messages):
  1787. Copy string contents before assigning to _M_name_messages,
  1788. qualify strcpy and strlen with std::.
  1789. * config/os/gnu-linux/ctype_noninline.h
  1790. (ctype<char>::classic_table()): Don't call locale::classic().
  1791. * include/bits/locale_classes.h
  1792. (locale::_S_categories): Const qualify.
  1793. (locale::_S_once, locale::_S_initialize_once,
  1794. locale::facet::_S_once, locale::facet::_S_initialize_once,
  1795. locale::facet::_S_get_c_locale): Declare.
  1796. (locale::_S_initialize): Don't define.
  1797. (locale::facet::_S_c_locale): Make private.
  1798. (locale::facet::_S_c_name): Same, const qualify.
  1799. (locale::_Impl::_Impl(facet**, size_t, bool)): Drop unused
  1800. parameters, add throw() specifier.
  1801. * include/bits/locale_facets.h (__timepunct::_M_name_timepunct,
  1802. messages::_M_name_messages): Const qualify.
  1803. * src/locale.cc
  1804. (locale::_S_once, locale::facet::_S_once): Define.
  1805. (locale::classic): Move initialization code...
  1806. (locale::_S_initialize_once): ...here.
  1807. (locale::_S_initialize): Call _S_initialize_once through
  1808. __gthread_once.
  1809. (locale::facet::_S_initialize_once): Initialize _S_c_locale.
  1810. (locale::facet::_S_get_c_locale): Call _S_initialize_once through
  1811. __gthread_once before returning _S_c_locale.
  1812. * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool)):
  1813. Drop unused parameters, add throw() specifier, don't initialize
  1814. locale::facet::_S_c_locale and _S_c_name.
  1815. * config/locale/generic/messages_members.h:
  1816. Replace _S_c_locale with _S_get_c_locale().
  1817. * config/locale/gnu/c_locale.cc: Same.
  1818. * config/locale/gnu/messages_members.h: Same.
  1819. * config/locale/gnu/numeric_members.cc: Same.
  1820. * config/locale/gnu/time_members.cc: Same.
  1821. * config/os/gnu-linux/ctype_noninline.h: Same.
  1822. * include/bits/locale_facets.h: Same.
  1823. * include/bits/locale_facets.tcc: Same.
  1824. * src/codecvt.cc: Same.
  1825. * src/ctype.cc: Same.
  1826. 2003-10-02 Carlo Wood <carlo@alinoe.com>
  1827. * include/bits/demangle.h (demangle<Allocator>::symbol(char const*)):
  1828. Decode symbols that start with _GLOBAL_[ID]_ differently: the
  1829. trailing part ends with a terminating zero and is not necessarily an
  1830. encoding.
  1831. * src/demangle.cc (): Same.
  1832. * testsuite/demangle/regression/cw-13.cc: Adjust for new output.
  1833. 2003-10-02 Paolo Carlini <pcarlini@unitus.it>
  1834. * testsuite/22_locale/locale/cons/12438.cc: Use
  1835. __gnu_test::try_named_locale("").
  1836. 2003-10-01 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  1837. * linkage.m4 (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_0): Define.
  1838. (GLIBCXX_CHECK_STDLIB_SUPPORT): Use it to test for lrand48
  1839. instead of drand48.
  1840. * acconfig.h (HAVE_DRAND48): Renamed to HAVE_LRAND48.
  1841. * crossconfig.m4 (*-freebsd*): Define HAVE_LRAND48 instead of
  1842. HAVE_DRAND48.
  1843. * config.h.in, configure: Regenerate.
  1844. * include/bits/stl_algo.h: Use _GLIBCXX_HAVE_LRAND48 to guard
  1845. lrand48 use.
  1846. 2003-10-01 Nathan Myers <ncm@cantrip.org>
  1847. * include/bits/locale_facets.tcc (time_put::put): Avoid
  1848. expensive *__s++, in favor of *__s, ++__s.
  1849. 2003-10-01 Paolo Carlini <pcarlini@unitus.it>
  1850. * include/bits/locale_facets.tcc (time_put::put): Minor
  1851. tweak to the previous commit.
  1852. 2003-10-01 Paolo Carlini <pcarlini@unitus.it>
  1853. PR libstdc++/12439
  1854. * include/bits/locale_facets.tcc (time_put::put): Deal
  1855. with the three issues pointed out by the PR.
  1856. * testsuite/22_locale/time_put/put/char/12439_1.cc: New.
  1857. * testsuite/22_locale/time_put/put/char/12439_3.cc: New.
  1858. * testsuite/22_locale/time_put/put/wchar_t/12439_1.cc: New.
  1859. * testsuite/22_locale/time_put/put/wchar_t/12439_2.cc: New.
  1860. * testsuite/22_locale/time_put/put/wchar_t/12439_3.cc: New.
  1861. 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
  1862. * include/bits/stl_algo.h: Minor cosmetic reformattings.
  1863. 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
  1864. * include/bits/stl_algo.h (search_n): Tweak, to spare the
  1865. first --__n.
  1866. 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
  1867. * testsuite/22_locale/locale/cons/12352.cc: Explicitly
  1868. qualify exception name.
  1869. 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
  1870. PR libstdc++/12438
  1871. * include/bits/locale_facets.tcc (locale::combine): Don't
  1872. leak memory if _M_replace_facet throws.
  1873. * testsuite/22_locale/locale/cons/12438.cc: New, from the PR.
  1874. * include/bits/locale_classes.h (locale::locale(const locale&,
  1875. _Facet*)): Tweak, use consistently _M_remove_reference.
  1876. 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
  1877. PR libstdc++/12352 (cont)
  1878. * src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
  1879. Don't leak __cloc; don't leak if any of the _M_init_facet(...)
  1880. calls fail.
  1881. (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak.
  1882. (locale::_Impl::~_Impl): Don't do anything if !_M_facets,
  1883. !_M_caches, !_M_names.
  1884. 2003-09-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  1885. * configure.host: Handle Solaris 2.5 micro releases explicitly.
  1886. Remove wildcards from Solaris 2.6, 7-9: there were no
  1887. micro releases.
  1888. Treat Solaris 10 and up like 7-9.
  1889. 2003-09-29 Paolo Carlini <pcarlini@unitus.it>
  1890. * include/bits/stl_algo.h (search_n): Improve the previous
  1891. fix as suggested by Martin.
  1892. 2003-09-29 Paolo Carlini <pcarlini@unitus.it>
  1893. PR libstdc++/12296
  1894. * include/bits/istream.tcc (peek): Set eofbit if sgetc
  1895. returns eof.
  1896. * testsuite/27_io/basic_istream/peek/char/12296.cc:
  1897. New, from the PR.
  1898. 2003-09-29 Nathan Myers <ncm@cantrip.org>
  1899. Paolo Carlini <pcarlini@unitus.it>
  1900. PR libstdc++/11400
  1901. * include/bits/stl_algo.h (search_n):
  1902. Use iterator_traits<>::difference_type for __n.
  1903. * testsuite/25_algorithms/search_n/11400.cc: New, from the PR.
  1904. 2003-09-29 Paolo Carlini <pcarlini@unitus.it>
  1905. * testsuite/22_locale/locale/cons/12352.cc:
  1906. Use __attribute__((unused)) for test.
  1907. 2003-09-26 Ulrich Weigand <uweigand@de.ibm.com>
  1908. * testsuite/22_locale/time_put/put/char/2.cc (test_02): Allow either
  1909. "Son" or "So" as abbreviated name for Sunday in de_DE locale.
  1910. * testsuite/22_locale/time_put/put/wchar_t/2.cc (test_02): Likewise.
  1911. 2003-09-26 Brad Spencer <spencer@infointeractive.com>
  1912. * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc:
  1913. Explicitly qualify exceptions.
  1914. * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Same.
  1915. * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same.
  1916. * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
  1917. * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same.
  1918. 2003-09-25 Paolo Carlini <pcarlini@unitus.it>
  1919. PR libstdc++/12352
  1920. * src/localename.cc (locale::_Impl::_Impl(const _Impl&,
  1921. size_t)): Don't leak if memory allocations for _M_facets,
  1922. _M_caches, and _M_names fail.
  1923. (locale::_Impl::_Impl(const char*, size_t)): Ditto.
  1924. (locale::_Impl::_M_replace_categories(const _Impl*,
  1925. category)): Ditto.
  1926. (locale::_Impl::_M_install_facet(const locale::id*,
  1927. const facet*)): Ditto.
  1928. * include/bits/locale_classes.h (locale::locale(const locale&,
  1929. _Facet*)): Don't leak memory.
  1930. * testsuite/22_locale/locale/cons/12352.cc: New, from the PR.
  1931. * src/localename.cc (locale::_Impl::_Impl(facet**, size_t,
  1932. bool)): Qualify with std:: strcpy, tweak.
  1933. * include/bits/locale_classes.h
  1934. (locale::_Impl::_M_check_same_name): Qualify strcmp.
  1935. 2003-09-25 Brad Spencer <spencer@infointeractive.com>
  1936. PR libstdc++/6072
  1937. * acinclude.m4: Split out checks for vfwscanf, vswscanf, vwscanf,
  1938. wcstof, iswblank.
  1939. * aclocal.m4: Regenerate.
  1940. * config.h.in: Regenerate.
  1941. * configure: Regenerate.
  1942. * crossconfig.m4: Add in wchar_t bits for solaris crosses.
  1943. * config/io/basic_file_stdio.cc: Guard unistd.h.
  1944. * include/c_compatibility/wchar.h: Guard extra wchar_t functionality.
  1945. * include/c_std/std_cwchar.h: Same.
  1946. * include/c_std/std_cwctype.h: Same.
  1947. 2003-09-25 Benjamin Kosnik <bkoz@redhat.com>
  1948. PR libstdc++/11065
  1949. * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is): Fix.
  1950. * config/locale/generic/ctype_members.cc: Same.
  1951. * testsuite/22_locale/ctype/is/char/1.cc: Initialize mask.
  1952. * testsuite/22_locale/ctype/is/wchar_t/1.cc: Same.
  1953. * config/os/generic/ctype_inline.h: Update.
  1954. 2003-09-25 Ulrich Weigand <uweigand@de.ibm.com>
  1955. * src/Makefile.am (version_dep): New variable.
  1956. (libstdc___la_DEPENDENCIES): Use it to add dependency on
  1957. libstdc++-symbol.ver only when using symbol versioning.
  1958. * src/Makefile.in: Regenerate.
  1959. 2003-09-23 Benjamin Kosnik <bkoz@redhat.com>
  1960. * include/bits/locale_facets.tcc: Tweak to avoid warnings.
  1961. * testsuite/testsuite_hooks.h: Same.
  1962. * testsuite/*/*.cc: Same.
  1963. 2003-09-22 Petur Runolfsson <peturr02@ru.is>
  1964. * include/bits/istream.tcc (basic_istream::read,
  1965. basic_istream::readsome, basic_istream::putback,
  1966. basic_istream::unget, operator>>(basic_istream, CharT)):
  1967. Avoid redundant setstate(failbit) calls when sentry::operator bool()
  1968. returns false.
  1969. 2003-09-22 Carlo Wood <carlo@alinoe.com>
  1970. PR libstdc++/12365
  1971. * include/bits/demangle.h (qualifier(int, cv_qualifier_nt,
  1972. char const*, int, int)): Remove unused identifier
  1973. cv_qualifier for overloaded constructor.
  1974. 2003-09-18 Benjamin Kosnik <bkoz@redhat.com>
  1975. PR libstdc++/11504
  1976. * acinclude.m4 (GLIBCXX_EXPORT_FLAGS): Add -Wcast-qual to
  1977. WARN_FLAGS, remove -Wno-format.
  1978. * aclocal.m4: Regenerate.
  1979. * configure: Regenerate.
  1980. 2003-09-18 Petur Runolfsson <peturr02@ru.is>
  1981. * config/io/basic_file_stdio.cc (sys_getc, sys_ungetc): Delete.
  1982. * config/io/basic_file_stdio.h: Same.
  1983. * include/std/std_fstream.h (__ctype_type): Delete.
  1984. * include/std/std_streambuf.h (__ctype_type, __state_type): Delete.
  1985. 2003-09-17 Benjamin Kosnik <bkoz@redhat.com>
  1986. PR libstdc++/12239
  1987. * configure.host (abi_baseline_pair): Error out on solaris2
  1988. configurations without a minor version number.
  1989. 2003-09-13 Phil Edwards <phil@codesourcery.com>
  1990. * docs/doxygen/run_doxygen: Clear GENERATE_TAGFILE entirely
  1991. if man pages are on.
  1992. * docs/doxygen/user.cfg.in: And here.
  1993. 2003-09-10 Daniel Jacobowitz <drow@mvista.com>
  1994. Andreas Jaeger <aj@suse.de>
  1995. PR libstdc++/12189
  1996. * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't build
  1997. abi_check if cross compiling.
  1998. * aclocal.m4: Regenerated.
  1999. * configure: Regenerated.
  2000. 2003-09-10 Jeffrey D. Oldham <oldham@codesourcery.com>
  2001. * libsupc++/vec.cc (__cxa_vec_new2): If the allocator returns
  2002. NULL, return NULL. This reflects a C++ ABI change 2003 Sep 05.
  2003. (__cxa_vec_new3): Likewise.
  2004. 2003-09-10 Petur Runolfsson <peturr02@ru.is>
  2005. * include/bits/fstream.tcc (basic_filebuf::seekoff):
  2006. Use codecvt::length to handle variable-width stateless encodings
  2007. correctly.
  2008. * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: New test.
  2009. * testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: New test.
  2010. 2003-09-10 Alan Modra <amodra@bigpond.net.au>
  2011. * config/io/basic_file_stdio.cc (_M_open_mode): Assign __p_mode
  2012. rather than or'ing.
  2013. 2003-09-09 Alan Modra <amodra@bigpond.net.au>
  2014. * configure: Regenerate.
  2015. 2003-09-09 David Edelsohn <edelsohn@gnu.org>
  2016. * src/ios.cc (ios_base::Init::Init): Remove unnecessary
  2017. qualifier from _S_synced_with_stdio.
  2018. 2003-09-09 Bernardo Innocenti <bernie@develer.com>
  2019. * include/c_std/std_cstdlib.h: Avoid using missing C library symbols.
  2020. 2003-09-04 Petur Runolfsson <peturr02@ru.is>
  2021. PR libstdc++/9028
  2022. * include/bits/fstream.tcc
  2023. (basic_filebuf::_M_destroy_internal_buffer): Destroy _M_ext_buf.
  2024. (basic_filebuf::basic_filebuf): Initialize _M_ext_buf,
  2025. _M_ext_buf_size, _M_ext_next and _M_ext_end.
  2026. (basic_filebuf::underflow): Handle variable-width stateless
  2027. encodings (codecvt::encoding() == 0), including UTF-8.
  2028. * include/std/std_fstream.h (basic_filebuf):
  2029. Declare _M_ext_buf, _M_ext_buf_size, _M_ext_next, _M_ext_end.
  2030. * testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: New test.
  2031. * testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: New test.
  2032. * testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: New test.
  2033. * testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: New test.
  2034. * testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: New test.
  2035. * testsuite/27_io/objects/wchar_t/12.cc: New test.
  2036. * testsuite/27_io/objects/wchar_t/13.cc: New test.
  2037. 2003-09-04 Jonathan Wakely <redi@gcc.gnu.org>
  2038. * docs/html/faq/index.html: Note that a namespace alias can't be
  2039. used when specialising templates in extension namespace.
  2040. * docs/html/faq/index.txt: Regenerate.
  2041. 2003-09-03 Petur Runolfsson <peturr02@ru.is>
  2042. PR libstdc++/12048
  2043. * include/ext/stdio_sync_filebuf.h
  2044. (stdio_sync_filebuf::_M_unget_buf): Declare it.
  2045. (stdio_sync_filebuf::stdio_sync_filebuf): Initialize _M_unget_buf.
  2046. (stdio_sync_filebuf::uflow): Store the returned character in
  2047. _M_unget_buf.
  2048. (stdio_sync_filebuf::pbackfail): If argument is eof(), pass
  2049. _M_unget_buf to syncungetc(). Set _M_unget_buf to eof().
  2050. (stdio_sync_filebuf<char>::xsgetn): Store last read character in
  2051. _M_unget_buf, if any, else eof().
  2052. (stdio_sync_filebuf<wchar_t>::xsgetn: Store last read character in
  2053. _M_unget_buf, if any, else eof().
  2054. * testsuite/27_io/objects/char/12048.cc: Rename to...
  2055. * testsuite/27_io/objects/char/12048-1.cc: ...this.
  2056. * testsuite/27_io/objects/char/12048-2.cc: New test.
  2057. * testsuite/27_io/objects/char/12048-3.cc: New test.
  2058. * testsuite/27_io/objects/char/12048-4.cc: New test.
  2059. * testsuite/27_io/objects/char/12048-5.cc: New test. XFAIL.
  2060. * testsuite/27_io/objects/wchar_t/12048-1.cc: New test.
  2061. * testsuite/27_io/objects/wchar_t/12048-2.cc: New test.
  2062. * testsuite/27_io/objects/wchar_t/12048-3.cc: New test.
  2063. * testsuite/27_io/objects/wchar_t/12048-4.cc: New test.
  2064. * testsuite/27_io/objects/wchar_t/12048-5.cc: New test. XFAIL.
  2065. * testsuite/ext/stdio_sync_filebuf_char.cc
  2066. (test02, test03, test04, test05): New tests.
  2067. * testsuite/ext/stdio_sync_filebuf_wchar_t.cc
  2068. (test02, test03, test04, test05): New tests.
  2069. 2003-09-03 Petur Runolfsson <peturr02@ru.is>
  2070. * docs/html/27_io/howto.html: setbuf(0, 0) has no effect on
  2071. stringbuf or strstreambuf. Fix typos.
  2072. 2003-09-02 Phil Edwards <phil@codesourcery.com>
  2073. * acinclude.m4 (GLIBCXX_ENABLE_HOSTED): #define _GLIBCXX_HOSTED
  2074. appropriately.
  2075. * config.h.in: Add _GLIBCXX_HOSTED.
  2076. * libsupc++/eh_term_handler.cc: Test it here; initialize
  2077. __terminate_handler to std::abort if freestanding.
  2078. * aclocal.m4, configure: Regenerated.
  2079. * docs/html/configopts.html: Document --disable-hosted-libstdcxx.
  2080. 2003-08-29 Nathan Myers <ncm@cantrip.org>
  2081. PR libstdc++/11990
  2082. * include/bits/locale_facets.tcc (__pad): delete dead code.
  2083. 2003-08-28 Alan Modra <amodra@bigpond.net.au>
  2084. * configure.ac: Test $with_cross_host against $build_alias, not $build.
  2085. * configure: Regenerate.
  2086. 2003-08-27 Petur Runolfsson <peturr02@ru.is>
  2087. * testsuite/27_io/objects/wchar_t/10.cc: Move wcout stuff...
  2088. * testsuite/27_io/objects/wchar_t/11.cc: ...here. New file.
  2089. 2003-08-27 Phil Edwards <pme@gcc.gnu.org>
  2090. * Makefile.am: Remove trailing whitespace. Remove needless
  2091. "foo = @foo@" assignments. Replace direct uses of @foo@ with $(foo).
  2092. * include/Makefile.am: Likewise.
  2093. * libmath/Makefile.am: Likewise.
  2094. * libsupc++/Makefile.am: Likewise.
  2095. * po/Makefile.am: Likewise.
  2096. * src/Makefile.am: Likewise.
  2097. * testsuite/Makefile.am: Likewise.
  2098. * Makefile.in, include/Makefile.in, libmath/Makefile.in,
  2099. libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
  2100. testsuite/Makefile.in: Regenerated.
  2101. 2003-08-27 Phil Edwards <pme@gcc.gnu.org>
  2102. * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Change quoting of
  2103. includedir.
  2104. * aclocal.m4, configure: Regenerate.
  2105. 2003-08-27 Daniel Jacobowitz <drow@mvista.com>
  2106. * acinclude.m4: Include no-executables.m4.
  2107. * configure.ac: Uncomment GCC_NO_EXECUTABLES.
  2108. * aclocal.m4: Regenerated.
  2109. * configure: Regenerated.
  2110. 2003-08-27 Daniel Jacobowitz <drow@mvista.com>
  2111. * acinclude.m4: Don't call AC_ISC_POSIX.
  2112. * aclocal.m4: Regenerated.
  2113. * configure: Regenerated.
  2114. 2003-08-27 Phil Edwards <pme@gcc.gnu.org>
  2115. * acinclude.m4 (GLIBCXX_CONDITIONAL): New macro. Wrap
  2116. AM_CONDITIONAL. Replace all calls to AM_CONDITIONAL with this one.
  2117. (GLIBCXX_ENABLE_HOSTED): New macro, sets new variable is_hosted,
  2118. used elsewhere in this file.
  2119. (GLIBCXX_EVALUATE_CONDITIONALS): New macro...
  2120. * configure.ac: ...called here to expand all conditionals.
  2121. * Makefile.am: Conditionalize SUBDIRS on GLIBCXX_HOSTED.
  2122. * include/Makefile.am: Remove redundant gxx_include_dir assignment.
  2123. (install-freestanding-headers): New target, a subset of
  2124. install-headers. Conditionalize install-data-local on GLIBCXX_HOSTED.
  2125. * aclocal.m4, configure, Makefile.in, include/Makefile.in,
  2126. libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
  2127. src/Makefile.in, testsuite/Makefile.in: Regenerated.
  2128. 2003-08-26 Phil Edwards <pme@gcc.gnu.org>
  2129. * docs/doxygen/run_doxygen: Shell fixes. Remove hardcoded local
  2130. pathnames from generated tag file.
  2131. 2003-08-26 Phil Edwards <pme@gcc.gnu.org>
  2132. * Makefile.am: Add comment.
  2133. * acinclude.m4 (GLIBCXX_CONFIGURE): Set new glibcxx_SUBDIRS and
  2134. SUBDIRS variables.
  2135. * configure.ac: Use them both here, instead of hardcoded lists.
  2136. * fragment.am: Add STAMP varaible.
  2137. * include/Makefile.am: Cosmetic whitespace cleanup. Use $(LN_S)
  2138. instead of @LN_S@.
  2139. (stamp-*): Move file creation rule outside of 'if' branches to
  2140. ensure the stamp-* files are actually updated. Use $(STAMP).
  2141. * src/Makefile.am: Remove now-nonexistant variable.
  2142. * libsupc++/Makefile.am: Likewise. Snap the assignment chain
  2143. for -prefer-pic.
  2144. * po/Makefile.am: Include same fragment as all the others.
  2145. * aclocal.m4, configure, Makefile.in, include/Makefile.in,
  2146. libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in: Regenerated.
  2147. 2003-08-26 Loren J. Rittle <ljrittle@acm.org>
  2148. * testsuite/data/cin_unget-1.txt: New.
  2149. * testsuite/27_io/objects/char/12048.cc: New.
  2150. 2003-08-25 Zack Weinberg <zack@codesourcery.com>
  2151. * config/os/hpux/os_defines.h: Unconditionally define
  2152. _GLIBCXX_GTHREAD_USE_WEAK to 0.
  2153. 2003-08-19 Geoffrey Keating <geoffk@apple.com>
  2154. * crossconfig.m4 (*-darwin*): Add a large and boring stanza for
  2155. crosses to Darwin targets.
  2156. * configure: Regenerate.
  2157. 2003-08-19 Petur Runolfsson <peturr02@ru.is>
  2158. * include/ext/ropeimpl.h: #include <ostream> instead of <iostream>
  2159. 2003-08-17 Phil Edwards <pme@gcc.gnu.org>
  2160. * configure.ac: GCC_NO_EXECUTABLES was supposed to be commented
  2161. in the patch from 3 minutes ago. Boy, is my face red.
  2162. * configure: At least I remembered to regenerate this.
  2163. 2003-08-17 Phil Edwards <pme@gcc.gnu.org>
  2164. * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Remove LIBMATH_INCLUDES
  2165. and LIBSUPCXX_INCLUDES. Re-purpose TOPLEVEL_INCLUDES to refer to
  2166. things from the top level.
  2167. * configure.ac (GLIBCXX_IS_NATIVE): Determine earlier and re-order.
  2168. Comment out the conditionals for CANADIAN and GLIBCXX_BUILD_LIBMATH
  2169. (currently unused). Strip the fake-VPATH shell fragment from
  2170. automake-generated rules, if present.
  2171. * linkage.m4: Add comment.
  2172. * fragment.am: New file, containing factored-out common settings.
  2173. (AM_CPPFLAGS): Absorb the deprecated INCLUDES variable contents.
  2174. * Makefile.am: Include fragment.am. Remove common variables.
  2175. * include/Makefile.am: Likewise.
  2176. * libmath/Makefile.am: Likewise.
  2177. * libsupc++/Makefile.am: Likewise.
  2178. * po/Makefile.am: Likewise. Print rules during check.
  2179. * src/Makefile.am: Likewise.
  2180. * testsuite/Makefile.am: Likewise.
  2181. * aclocal.m4, configure, Makefile.in, include/Makefile.in,
  2182. libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
  2183. src/Makefile.in, testsuite/Makefile.in: Regenerate.
  2184. 2003-08-11 John Levon <levon@movementarian.org>
  2185. * docs/html/ext/howto/guide.html (GLIBCXX_FORCE_NEW): Update
  2186. remaining places for the name change from GLIBCPP_FORCE_NEW
  2187. to GLIBCXX_FORCE_NEW
  2188. 2003-08-11 Benjamin Kosnik <bkoz@redhat.com>
  2189. * include/bits/basic_ios.h: Remove *_iter typedefs, change num*
  2190. typedefs to num_*.
  2191. * include/bits/basic_ios.tcc: Same.
  2192. * include/bits/istream.tcc: Same.
  2193. * include/bits/locale_facets.h: Same.
  2194. * include/bits/ostream.tcc: Same.
  2195. * include/std/std_istream.h: Same.
  2196. * include/std/std_ostream.h: Same.
  2197. * testsuite/26_numerics/complex_inserters_extractors.cc: Fix.
  2198. * include/ext/rope: Remove build warning.
  2199. 2003-08-11 Andreas Jaeger <aj@suse.de>
  2200. * include/Makefile.am (stamp-c_base): Add dependency on stamp-bits
  2201. to make SMP-safe.
  2202. * include/Makefile.in: Regenerated.
  2203. 2003-08-11 Phil Edwards <pme@gcc.gnu.org>
  2204. * acinclude.m4 (GLIBCXX_CONFIGURE): Unprecious CC and CFLAGS
  2205. when calling AC_PROG_CC.
  2206. * aclocal.m4, configure: Regenerate.
  2207. 2003-08-11 Phil Edwards <pme@gcc.gnu.org>
  2208. * acinclude.m4: Properly quote variable which will be expanded
  2209. inside makefiles. Use CXX instead of CC to extract compiler info.
  2210. * configure.ac (AC_INIT): Use the new 4-arg form to finally get the
  2211. correct form in PACKAGE.
  2212. * aclocal.m4, configure: Regenerate.
  2213. 2003-08-08 Benjamin Kosnik <bkoz@redhat.com>
  2214. * testsuite/Makefile.am (check-abi): Change libstdc++-v3 to libstdc++.
  2215. (check-abi-verbose): Same.
  2216. * testsuite/testsuite_performance.h (report_performance): Same.
  2217. 2003-08-08 Loren J. Rittle <ljrittle@acm.org>
  2218. * testsuite/testsuite_performance.h (__FreeBSD__): Add fake mallinfo.
  2219. 2003-08-07 Doug Gregor <dgregor@apple.com>
  2220. * include/bits/char_traits.h (char_traits::not_eof): Match operand
  2221. types in ? :.
  2222. 2003-08-07 Bernardo Innocenti <bernie@develer.com>
  2223. PR libstdc++/11784
  2224. * libstdc++-v3/config/cpu/m68k/atomicity.h (__exchange_and_add):
  2225. Replace variants with new BSET-based version.
  2226. 2003-08-07 Carlo Wood <carlo@alinoe.com>
  2227. * include/bits/demangle.h: Do not use cctype functions that depend
  2228. on locale.
  2229. 2003-08-05 Phil Edwards <pme@gcc.gnu.org>
  2230. * configure.in: Rename...
  2231. * configure.ac: ...to this.
  2232. * docs/html/17_intro/porting.texi: Update name.
  2233. * docs/html/17_intro/porting.html: Regenerate.
  2234. * config.h.in, Makefile.in, include/Makefile.in, libmath/Makefile.in,
  2235. libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
  2236. testsuite/Makefile.in: Regenerate (picks up new dependancy).
  2237. 2003-08-05 Phil Edwards <pme@gcc.gnu.org>
  2238. * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Put down the crack
  2239. pipe, open the window to let out the fumes, redo the option-handling
  2240. logic to properly execute the detection test.
  2241. * aclocal.m4, configure: Regenerate.
  2242. 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
  2243. Convert to new autotools.
  2244. * acconfig.h: Update with correct names.
  2245. * configure.host (ATOMICITYH): Rename to atomicity_include_dir.
  2246. (qnx6.[12]*): 'q' comes before 's', not after 'w'.
  2247. * configure.in: Update. Split hardcoded cross-configury settings
  2248. out to...
  2249. * crossconfig.m4: ...here. New file. Contents untouched.
  2250. * acinclude.m4: Reorganize and rewrite as needed. Split large
  2251. chunks out to...
  2252. * linkage.m4: ...here. New file. Math and stdlib linkage tests.
  2253. Contents untouched.
  2254. * scripts/testsuite_flags.in: Update.
  2255. * Makefile.am: Remove unneeded AUTOMAKE_OPTIONS settings and other
  2256. variables (already generated by automake).
  2257. * include/Makefile.am: Ditto.
  2258. * libmath/Makefile.am: Ditto.
  2259. * libsupc++/Makefile.am: Ditto.
  2260. * po/Makefile.am: Ditto.
  2261. * src/Makefile.am: Ditto.
  2262. * aclocal.m4: Regenerate using new versions.
  2263. * config.h.in: Ditto.
  2264. * configure: Ditto.
  2265. * Makefile.in: Ditto.
  2266. * include/Makefile.in: Ditto.
  2267. * libmath/Makefile.in: Ditto.
  2268. * libsupc++/Makefile.in: Ditto.
  2269. * po/Makefile.in: Ditto.
  2270. * src/Makefile.in: Ditto.
  2271. * testsuite/Makefile.in: Ditto.
  2272. 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
  2273. * po/libstdc++.pot: Re-extract/regenerate.
  2274. 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
  2275. * testsuite/Makefile.am (DEJATOOL,EXPECT,RUNTEST,RUNTESTFLAGS):
  2276. Remove unneeded variable assignments. Leave them for automake.
  2277. * testsuite/lib/libstdc++-v3.exp: Rename...
  2278. * testsuite/lib/libstdc++.exp: ...to this. Adjust function names
  2279. accordingly.
  2280. * testsuite/libstdc++-v3.dg/dg.exp: Rename...
  2281. * testsuite/libstdc++-dg/normal.exp: ...to this. Adjust function
  2282. names accordingly.
  2283. 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
  2284. * docs/doxygen/guide.html: run_doxygen uses bash.
  2285. * docs/doxygen/mainpage.html: We'll be shipping tag files.
  2286. * docs/doxygen/run_doxygen: Tweaks and improvements.
  2287. * docs/doxygen/user.cfg.in: Set GENERATE_TAGFILE.
  2288. * docs/html/install.html: Update autoconf/automake requirements.
  2289. * docs/html/test.html: Add section describing DejaGNU support.
  2290. * docs/html/17_intro/confdeps.dot: New file, generates...
  2291. * docs/html/17_intro/confdeps.png: ...this new file.
  2292. * docs/html/Makefile: Generated here.
  2293. * docs/html/17_intro/configury.html: New file.
  2294. 2003-07-31 Phil Edwards <pme@gcc.gnu.org>
  2295. * testsuite/lib/libstdc++-v3-dg.exp: Rename...
  2296. * testsuite/lib/libstdc++-v3.exp: ...to this.
  2297. * testsuite/libstdc++-v3.dg/dg.exp: No special case needed now.
  2298. 2003-07-31 Doug Gregor <dgregor@apple.com>
  2299. Add user specialization tests.
  2300. * testsuite/23_containers/deque/1.cc: New.
  2301. * testsuite/23_containers/list/1.cc: New.
  2302. * testsuite/23_containers/map/1.cc: New.
  2303. * testsuite/23_containers/multimap/1.cc: New.
  2304. * testsuite/23_containers/multiset/1.cc: New.
  2305. * testsuite/23_containers/set/1.cc: New.
  2306. * testsuite/23_containers/vector/1.cc: New.
  2307. 2003-07-31 Benjamin Kosnik <bkoz@redhat.com>
  2308. Reshuffle 23_containers testsuite.
  2309. * 23_containers/adaptors.cc, bitset_ctor.cc,bitset_members.cc,
  2310. bitset_shift.cc, deque_ctor.cc, deque_operators.cc,
  2311. list_capacity.cc, list_ctor.cc, list_modifiers.cc, list_operators.cc,
  2312. map_insert.cc, map_operators.cc, map_operators_neg.cc, multiset.cc,
  2313. set_operators_neg.cc, vector_bool.cc, vector_capacity.cc,
  2314. vector_ctor.cc, vector_element_access.cc, vector_modifiers.cc,
  2315. vector_resize.cc: Split into...
  2316. * 23_containers/bitset/cons/1.cc: New.
  2317. * 23_containers/bitset/cons/6282.cc: New.
  2318. * 23_containers/bitset/count/6124.cc: New.
  2319. * 23_containers/bitset/operations/1.cc: New.
  2320. * 23_containers/bitset/operations/2.cc: New.
  2321. * 23_containers/bitset/test/1.cc: New.
  2322. * 23_containers/bitset/to_ulong/1.cc: New.
  2323. * 23_containers/deque/cons/1.cc: New.
  2324. * 23_containers/deque/cons/2.cc: New.
  2325. * 23_containers/deque/operators/1.cc: New.
  2326. * 23_containers/list/capacity/1.cc: New.
  2327. * 23_containers/list/cons/1.cc: New.
  2328. * 23_containers/list/cons/2.cc: New.
  2329. * 23_containers/list/cons/3.cc: New.
  2330. * 23_containers/list/cons/4.cc: New.
  2331. * 23_containers/list/cons/5.cc: New.
  2332. * 23_containers/list/cons/6.cc: New.
  2333. * 23_containers/list/cons/7.cc: New.
  2334. * 23_containers/list/cons/8.cc: New.
  2335. * 23_containers/list/cons/9.cc: New.
  2336. * 23_containers/list/modifiers/1.cc: New.
  2337. * 23_containers/list/modifiers/2.cc: New.
  2338. * 23_containers/list/modifiers/3.cc: New.
  2339. * 23_containers/list/operators/1.cc: New.
  2340. * 23_containers/list/operators/2.cc: New.
  2341. * 23_containers/list/operators/3.cc: New.
  2342. * 23_containers/list/operators/4.cc: New.
  2343. * 23_containers/map/insert/1.cc: New.
  2344. * 23_containers/map/operators/1.cc: New.
  2345. * 23_containers/map/operators/1_neg.cc: New.
  2346. * 23_containers/multiset/insert/1.cc: New.
  2347. * 23_containers/priority_queue/members/7161.cc: New.
  2348. * 23_containers/queue/members/7157.cc: New.
  2349. * 23_containers/set/operators/1_neg.cc: New.
  2350. * 23_containers/stack/members/7158.cc: New.
  2351. * 23_containers/vector/bool/1.cc: New.
  2352. * 23_containers/vector/bool/6886.cc: New.
  2353. * 23_containers/vector/capacity/1.cc: New.
  2354. * 23_containers/vector/capacity/2.cc: New.
  2355. * 23_containers/vector/capacity/8230.cc: New.
  2356. * 23_containers/vector/cons/1.cc: New.
  2357. * 23_containers/vector/cons/2.cc: New.
  2358. * 23_containers/vector/cons/3.cc: New.
  2359. * 23_containers/vector/cons/4.cc: New.
  2360. * 23_containers/vector/cons/6513.cc: New.
  2361. * 23_containers/vector/element_access/1.cc: New.
  2362. * 23_containers/vector/modifiers/1.cc: New.
  2363. * 23_containers/vector/modifiers/2.cc: New.
  2364. * 23_containers/vector/resize/1.cc: New.
  2365. 2003-07-31 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  2366. * testsuite/thread/pthread1.cc: Add alpha*-*-osf* to dg-do run,
  2367. dg-options.
  2368. * testsuite/thread/pthread2.cc: Likewise.
  2369. * testsuite/thread/pthread3.cc: Likewise.
  2370. * testsuite/thread/pthread4.cc: Likewise.
  2371. * testsuite/thread/pthread5.cc: Likewise.
  2372. * testsuite/thread/pthread6.cc: Likewise.
  2373. * testsuite/thread/pthread7-rope.cc: Likewise.
  2374. 2003-07-30 Phil Edwards <pme@gcc.gnu.org>
  2375. * include/bits/c++config: Partial reversion (comment placement) of
  2376. previous patch.
  2377. 2003-07-30 Benjamin Kosnik <bkoz@redhat.com>
  2378. * include/bits/c++config (_GLIBCXX_FULLY_COMPLIANT_HEADERS): Remove.
  2379. (_GLIBCXX_NO_TEMPLATE_EXPORT): To _GLIBCXX_EXPORT_TEMPLATE.
  2380. (_GLIBCXX_AT_AT): Remove.
  2381. (__USE_MALLOC): Remove.
  2382. * include/std/std_fstream.h: Modify.
  2383. * include/bits/basic_ios.h: Same.
  2384. * include/bits/valarray_array.h: Same.
  2385. * include/c_std/std_cmath.h: Same.
  2386. * include/c_std/cmath.tcc: Same.
  2387. * include/std/std_vector.h: Same.
  2388. * include/std/std_string.h: Same.
  2389. * include/std/std_stack.h: Same.
  2390. * include/std/std_queue.h: Same.
  2391. * include/std/std_list.h: Same.
  2392. * include/std/std_deque.h: Same.
  2393. * include/std/std_streambuf.h: Same.
  2394. * include/std/std_sstream.h: Same.
  2395. * include/std/std_ostream.h: Same.
  2396. * include/std/std_istream.h: Same.
  2397. * include/bits/valarray_array.tcc: Same, format.
  2398. * include/c/std_cctype.h: Fix include guards.
  2399. * include/c/std_cerrno.h: Same.
  2400. * include/c/std_cfloat.h: Same.
  2401. * include/c/std_climits.h: Same.
  2402. * include/c/std_clocale.h: Same.
  2403. * include/c/std_cmath.h: Same.
  2404. * include/c/std_csetjmp.h: Same.
  2405. * include/c/std_csignal.h: Same.
  2406. * include/c/std_cstdarg.h: Same.
  2407. * include/c/std_cstddef.h: Same.
  2408. * include/c/std_cstdio.h: Same.
  2409. * include/c/std_cstdlib.h: Same.
  2410. * include/c/std_cstring.h: Same.
  2411. * include/c/std_ctime.h: Same.
  2412. * include/c/std_cwchar.h: Same.
  2413. * include/c/std_cwctype.h: Same.
  2414. * include/c_std/cmath.tcc: Same.
  2415. * include/c_std/std_cmath.h: Same.
  2416. 2003-07-30 Gawain Bolton <gp.bolton@computer.org>
  2417. PR libstdc++/11504.
  2418. * include/bits/stl_tree.h: Replace C-style casts with C++-style
  2419. casts. Changes to avoid casting away constness. Eliminate
  2420. _Rb_tree_base_iterator class. Change _Rb_tree_iterator to use
  2421. initialization lists. Move out implementation of __black_count()
  2422. to...
  2423. * src/stl_tree.cc: ...here and rename _Rb_tree_black_count().
  2424. Rename_Rb_tree_base_iterator::_M_increment() to
  2425. _Rb_tree_increment and _Rb_tree_base_iterator::_M_decrement() to
  2426. _Rb_tree_decrement.
  2427. * config/linker-map.gnu: Add and change symbols here.
  2428. 2003-07-30 Jonathan Wakely <redi@gcc.gnu.org>
  2429. * docs/html/22_locale/howto.html: Use locale::classic() instead
  2430. of locale("C").
  2431. 2003-07-28 Benjamin Kosnik <bkoz@redhat.com>
  2432. * testsuite/testsuite_hooks.h: Remove list include.
  2433. (func_callback): Define as unique type, not std::list.
  2434. Change DEBUG_ASSERT to _GLIBCXX_ASSERT.
  2435. * testsuite/libstdc++-v3.dg/dg.exp: Same.
  2436. * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Same.
  2437. * testsuite/23_containers/bitset_ctor.cc:
  2438. * testsuite/17_intro/header_ciso646.cc: Remove DEBUG_ASSERT.
  2439. * testsuite/18_support/numeric_limits.cc: Same.
  2440. * testsuite/21_strings/basic_string/append/char/1.cc: Same.
  2441. * testsuite/21_strings/basic_string/append/wchar_t/1.cc: Same.
  2442. * testsuite/21_strings/basic_string/compare/char/1.cc: Same.
  2443. * testsuite/21_strings/basic_string/compare/wchar_t/1.cc: Same.
  2444. * testsuite/21_strings/basic_string/element_access/char/1.cc: Same.
  2445. * testsuite/21_strings/basic_string/element_access/char/2.cc: Same.
  2446. * testsuite/21_strings/basic_string/element_access/char/3.cc: Same.
  2447. * testsuite/21_strings/basic_string/element_access/wchar_t/1.cc: Same.
  2448. * testsuite/21_strings/basic_string/element_access/wchar_t/2.cc: Same.
  2449. * testsuite/21_strings/basic_string/element_access/wchar_t/3.cc: Same.
  2450. * testsuite/21_strings/basic_string/find/char/1.cc: Same.
  2451. * testsuite/21_strings/basic_string/find/char/2.cc: Same.
  2452. * testsuite/21_strings/basic_string/find/char/3.cc: Same.
  2453. * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Same.
  2454. * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Same.
  2455. * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Same.
  2456. * testsuite/21_strings/basic_string/insert/char/1.cc: Same.
  2457. * testsuite/21_strings/basic_string/insert/char/2.cc: Same.
  2458. * testsuite/21_strings/basic_string/insert/wchar_t/1.cc: Same.
  2459. * testsuite/21_strings/basic_string/insert/wchar_t/2.cc: Same.
  2460. * testsuite/21_strings/basic_string/inserters_extractors/char/1.cc:
  2461. * testsuite/21_strings/basic_string/inserters_extractors/char/4.cc:
  2462. * testsuite/21_strings/basic_string/inserters_extractors/char/5.cc:
  2463. * testsuite/21_strings/basic_string/inserters_extractors/char/6.cc:
  2464. * testsuite/21_strings/basic_string/inserters_extractors/char/7.cc:
  2465. * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/1.cc:
  2466. * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/4.cc:
  2467. * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/5.cc:
  2468. * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/6.cc:
  2469. * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/7.cc:
  2470. * testsuite/21_strings/basic_string/operators/char/1.cc: Same.
  2471. * testsuite/21_strings/basic_string/operators/char/2.cc: Same.
  2472. * testsuite/21_strings/basic_string/operators/wchar_t/1.cc: Same.
  2473. * testsuite/21_strings/basic_string/operators/wchar_t/2.cc: Same.
  2474. * testsuite/21_strings/basic_string/replace/char/1.cc: Same.
  2475. * testsuite/21_strings/basic_string/replace/wchar_t/1.cc: Same.
  2476. * testsuite/21_strings/basic_string/rfind/char/1.cc: Same.
  2477. * testsuite/21_strings/basic_string/rfind/char/2.cc: Same.
  2478. * testsuite/21_strings/basic_string/rfind/char/3.cc: Same.
  2479. * testsuite/21_strings/basic_string/rfind/wchar_t/1.cc: Same.
  2480. * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: Same.
  2481. * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: Same.
  2482. * testsuite/21_strings/basic_string/substr/char/1.cc: Same.
  2483. * testsuite/21_strings/basic_string/substr/wchar_t/1.cc: Same.
  2484. * testsuite/23_containers/bitset_ctor.cc: Same.
  2485. * testsuite/23_containers/bitset_shift.cc: Same.
  2486. * testsuite/23_containers/vector_ctor.cc: Same.
  2487. * testsuite/23_containers/vector_element_access.cc: Same.
  2488. * testsuite/24_iterators/istreambuf_iterator.cc: Same.
  2489. * testsuite/24_iterators/iterator.cc: Same.
  2490. * testsuite/24_iterators/ostreambuf_iterator.cc: Same.
  2491. * testsuite/25_algorithms/lower_bound.cc: Same.
  2492. * testsuite/26_numerics/complex_inserters_extractors.cc: Same.
  2493. * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc: Same.
  2494. * testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc: Same.
  2495. * testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc: Same.
  2496. * testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc: Same.
  2497. * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc: Same.
  2498. * testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc: Same.
  2499. * testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc: Same.
  2500. * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc: Same.
  2501. * testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc: Same.
  2502. * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc:
  2503. Same.
  2504. 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
  2505. * docs/doxygen/user.cfg.in, docs/html/abi.txt, docs/html/debug.html,
  2506. docs/html/test.html, docs/html/17_intro/headers_cc.txt,
  2507. docs/html/17_intro/howto.html, docs/html/ext/howto.html: Change
  2508. GLIBCPP to GLIBCXX (and explain as needed).
  2509. 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
  2510. * README: Update.
  2511. 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
  2512. * testsuite/22_locale/messages/members/char/1.cc,
  2513. testsuite/22_locale/messages/members/char/2.cc,
  2514. testsuite/22_locale/messages/members/char/3.cc,
  2515. testsuite/22_locale/messages_byname/1.cc: Update comment regarding
  2516. the origin of LOCALEDIR.
  2517. * testsuite/lib/libstdc++-v3.exp: New file.
  2518. 2003-07-25 Benjamin Kosnik <bkoz@redhat.com>
  2519. * include/bits/char_traits.h: Update copyright, tweak.
  2520. * testsuite/ext/pod_char_traits.cc: Explicitly qualify namespace
  2521. std types.
  2522. 2003-07-24 Matt Austern <austern@apple.com>
  2523. * /include/bits/char_traits.h (class char_traits): Put all the
  2524. real work into the new class template __gnu_cxx::char_traits.
  2525. Gave generic definitions for member functions. Types are taken
  2526. from the new class template __gnu_cxx::_Char_types.
  2527. * testsuite/21_strings/char_traits/requirements/short/1.cc: New
  2528. file. Test of std::char_traits<short>, which serves as a test of
  2529. the char_traits primary template.
  2530. 2003-07-24 Benjamin Kosnik <bkoz@redhat.com>
  2531. * testsuite/*: Change __gnu_cxx_test to __gnu_test.
  2532. 2003-07-24 Nathan Myers <ncm-nospam@cantrip.org>
  2533. * testsuite/23_containers/map_operators.cc: Conform to
  2534. container requirement as value must be Assignable.
  2535. 2003-07-23 Alexandre Oliva <aoliva@redhat.com>
  2536. * acinclude.m4 (GLIBCXX_ENABLE_PCH): Rework test such that it
  2537. tests not only generation of pch files, but also their use.
  2538. * aclocal.m4, configure: Rebuilt.
  2539. 2003-07-23 Steve Ellcey <sje@cup.hp.com>
  2540. * config/cpu/hppa/atomicity.h: Change
  2541. _GLIBCXX_INST_GLIBCXX_ATOMICITY_LOCK to _GLIBCXX_INST_ATOMICITY_LOCK
  2542. to match misc-inst.cc
  2543. 2003-07-23 Steve Ellcey <sje@cup.hp.com>
  2544. * include/c_std/cmath.tcc: Use _GLIBCXX_ prefix on file guard.
  2545. * include/c_std/std_cctype.h: Ditto.
  2546. * include/c_std/std_cerrno.h: Ditto.
  2547. * include/c_std/std_cfloat.h: Ditto.
  2548. * include/c_std/std_climits.h: Ditto.
  2549. * include/c_std/std_clocale.h: Ditto.
  2550. * include/c_std/std_cmath.h: Ditto.
  2551. * include/c_std/std_csetjmp.h: Ditto.
  2552. * include/c_std/std_csignal.h: Ditto.
  2553. * include/c_std/std_cstdarg.h: Ditto.
  2554. * include/c_std/std_cstddef.h: Ditto.
  2555. * include/c_std/std_cstdio.h: Ditto.
  2556. * include/c_std/std_cstdlib.h: Ditto.
  2557. * include/c_std/std_cstring.h: Ditto.
  2558. * include/c_std/std_ctime.h: Ditto.
  2559. * include/c_std/std_cwchar.h: Ditto.
  2560. * include/c_std/std_cwctype.h: Ditto.
  2561. * include/std/std_algorithm.h: Ditto.
  2562. * include/std/std_bitset.h: Ditto.
  2563. * include/std/std_complex.h: Ditto.
  2564. * include/std/std_deque.h: Ditto.
  2565. * include/std/std_fstream.h: Ditto.
  2566. * include/std/std_functional.h: Ditto.
  2567. * include/std/std_iomanip.h: Ditto.
  2568. * include/std/std_ios.h: Ditto.
  2569. * include/std/std_iosfwd.h: Ditto.
  2570. * include/std/std_iostream.h: Ditto.
  2571. * include/std/std_istream.h: Ditto.
  2572. * include/std/std_iterator.h: Ditto.
  2573. * include/std/std_limits.h: Ditto.
  2574. * include/std/std_list.h: Ditto.
  2575. * include/std/std_locale.h: Ditto.
  2576. * include/std/std_map.h: Ditto.
  2577. * include/std/std_memory.h: Ditto.
  2578. * include/std/std_numeric.h: Ditto.
  2579. * include/std/std_ostream.h: Ditto.
  2580. * include/std/std_queue.h: Ditto.
  2581. * include/std/std_set.h: Ditto.
  2582. * include/std/std_sstream.h: Ditto.
  2583. * include/std/std_stack.h: Ditto.
  2584. * include/std/std_stdexcept.h: Ditto.
  2585. * include/std/std_streambuf.h: Ditto.
  2586. * include/std/std_string.h: Ditto.
  2587. * include/std/std_utility.h: Ditto.
  2588. * include/std/std_valarray.h: Ditto.
  2589. * include/std/std_vector.h: Ditto.
  2590. 2003-07-22 Doug Gregor <dgregor@apple.com>
  2591. * include/bits/basic_string.h (basic_string::insert): Deprecate
  2592. GNU extension.
  2593. 2003-07-21 Benjamin Kosnik <bkoz@redhat.com>
  2594. * scripts/testsuite_flags.in (--build-includes): Remove extraneous
  2595. paths for libio.
  2596. * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc
  2597. (test03): Include typeinfo for bad_cast.
  2598. * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same.
  2599. * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
  2600. * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same.
  2601. 2003-07-21 Doug Gregor <dgregor@apple.com>
  2602. * include/bits/boost_concept_check.h:
  2603. (_EqualityComparableConcept::__constraints): Remove != from the
  2604. list of constraints; it is not listed in Table 28 of the C++98
  2605. standard.
  2606. 2003-07-18 Andreas Jaeger <aj@suse.de>
  2607. * config/abi/sparc-linux-gnu/baseline_symbols.txt: New file.
  2608. * config/abi/mips-linux-gnu/baseline_symbols.txt: New file.
  2609. * config/abi/hppa-linux-gnu/baseline_symbols.txt: New file.
  2610. * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
  2611. 2003-07-17 Benjamin Kosnik <bkoz@redhat.com>
  2612. * config/linker-map.gnu: Add __moneypunct_cache, __timepunct_cache.
  2613. * config/locale/generic/messages_members.h: Tweaks.
  2614. * config/locale/generic/monetary_members.cc
  2615. (moneypunct::_M_initialize_moneypunct): Use cache.
  2616. (moneypunct::~moneypunct): Delete cache.
  2617. * config/locale/generic/time_members.cc:
  2618. (__timepunct::_M_initialize_timepunct): Use cache.
  2619. * config/locale/generic/time_members.h:
  2620. (__timepunct::~__timepunct): Delete cache.
  2621. (__timepunct::__timepunct): Set cache.
  2622. * config/locale/gnu/messages_members.h: Tweaks.
  2623. * config/locale/gnu/monetary_members.cc:
  2624. (moneypunct::_M_initialize_moneypunct): Use cache.
  2625. (moneypunct::~moneypunct): Delete cache.
  2626. * config/locale/gnu/time_members.cc:
  2627. (__timepunct::_M_initialize_timepunct): Use cache.
  2628. * config/locale/gnu/time_members.h:
  2629. (__timepunct::~__timepunct): Delete cache.
  2630. (__timepunct::__timepunct): Set cache.
  2631. * include/bits/locale_facets.h (__timepunct_cache): New.
  2632. (__moneypunct_cache): New.
  2633. * include/bits/locale_facets.tcc: Tweak.
  2634. * src/locale.cc (__timepunct::_S_timezones): Adjust for cache.
  2635. * src/locale-inst.cc: Instantiate caches.
  2636. * src/globals.cc: Add "C" caches.
  2637. * src/localename.cc: Use external "C" caches.
  2638. 2003-07-17 Phil Edwards <pme@gcc.gnu.org>
  2639. * docs/doxygen/guide.html: Fix typo.
  2640. 2003-07-16 Benjamin Kosnik <bkoz@redhat.com>
  2641. * include/ext/pod_char_traits.h: Add state template argument.
  2642. 2003-07-16 Benjamin Kosnik <bkoz@redhat.com>
  2643. * include/bits/locale_facets.h (__num_base::_S_atoms_in): Add -+xX.
  2644. (num_get::_M_convert_int): To _M_insert_int.
  2645. (num_get::_M_convert_float): To _M_insert_float.
  2646. * include/bits/locale_facets.tcc (num_get::_M_extract_float):
  2647. Use caches for ctype, num_get.
  2648. (num_get::_M_extract_int): Same.
  2649. (num_get::get(bool)): Same.
  2650. (__verify_grouping): Use size_t.
  2651. * src/locale-inst.cc: Update.
  2652. * src/locale.cc: Adjust _S_atoms_in.
  2653. 2003-07-16 Phil Edwards <pme@gcc.gnu.org>
  2654. * docs/doxygen/mainpage.html: Move building/writing instructions...
  2655. * docs/doxygen/guide.html: ...to here. New file.
  2656. 2003-07-16 Jonathan Wakely <redi@gcc.gnu.org>
  2657. * docs/html/ext/howto.html: Update URL for SGI STL docs.
  2658. * docs/html/faq/index.html: Same.
  2659. * docs/html/faq/index.txt: Regenerate.
  2660. 2003-07-16 Paolo Carlini <pcarlini@unitus.it>
  2661. PR libstdc++/11528
  2662. * include/bits/locale_facets.tcc (money_get::do_get):
  2663. Strip only _leading_ zeros.
  2664. * testsuite/22_locale/money_get/get/char/11528.cc: Add.
  2665. * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Add.
  2666. 2003-07-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  2667. * include/ext/hash_map (class hash_multimap): Remove extra
  2668. semicolons from __glibcxx_class_requires3 entries.
  2669. * include/ext/hash_set (class hash_set): Ditto.
  2670. (class hash_multiset): Ditto.
  2671. 2003-07-15 Petur Runolfsson <peturr02@ru.is>
  2672. * include/bits/char_traits.h (char_traits<wchar_t>::move):
  2673. Change last parameter from int_type to size_t.
  2674. 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
  2675. * include/bits/stl_algo.h (includes, set_union, set_intersection,
  2676. set_difference, set_symmetric_difference, max_element, min_element,
  2677. next_permutation, prev_permutation, find_first_of, find_end):
  2678. Document.
  2679. * include/bits/stl_algobase.h (copy,copy_backward): Clarify overlap
  2680. restrictions in docs.
  2681. * include/bits/stl_heap.h (push_heap, pop_heap, make_heap, sort_heap):
  2682. Document.
  2683. * docs/doxygen/doxygroups.cc (setoperations): New group.
  2684. 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
  2685. * include/bits/basic_string.h: Document public functions.
  2686. * docs/doxygen/TODO: Update c21 todo.
  2687. 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
  2688. * include/bits/stl_list.h: Document more functions.
  2689. * docs/doxygen/TODO: Update c23 todo.
  2690. 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
  2691. * config/locale/gnu/c_locale.h (__convert_from_v): One more
  2692. qualification.
  2693. 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
  2694. * include/bits/stl_tempbuf.h: Qualify free with std::.
  2695. * src/locale.cc: Include <cstdlib>, qualify getenv.
  2696. 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
  2697. * config/locale/gnu/c_locale.h (__convert_from_v): Include
  2698. <cstdio>. Qualify names.
  2699. * config/locale/generic/c_locale.h (__convert_from_v): Ditto.
  2700. 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
  2701. Nathan C. Myers <ncm-nospam@cantrip.org>
  2702. PR libstdc++/11378
  2703. * include/std/std_fstream.h (xsputn): Declare only.
  2704. * include/bits/fstream.tcc (xsputn): Define, optimize for the
  2705. always_noconv() case: when __n is sufficiently large flush
  2706. the buffer and issue a direct write, if possible combining the
  2707. two with writev in __basic_file<>::xsputn_2.
  2708. * config/io/basic_file_stdio.h (__basic_file<>::xsputn_2):
  2709. New, declare.
  2710. * config/io/basic_file_stdio.cc (__basic_file<>::xsputn_2):
  2711. Define.
  2712. * acinclude.m4 (GLIBCXX_CHECK_WRITE): New macro, checking for
  2713. the availability of writev in <sys/uio.h>.
  2714. * configure.in: Call here.
  2715. * acconfig.h: Add undef for the corresponding symbol.
  2716. * aclocal.m4: Regenerate.
  2717. * configure: Regenerate.
  2718. * config.h.in: Regenerate.
  2719. * testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Tweak.
  2720. * include/std/std_fstream.h (sync): Constify a variable.
  2721. 2003-07-14 Benjamin Kosnik <bkoz@redhat.com>
  2722. * testsuite/27_io/ios_base/cons/assign_neg.cc: Fix line numbers.
  2723. * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
  2724. 2003-07-14 Gabriel Dos Reis <gcc@integrable-solutions.net>
  2725. * config/locale/gnu/c_locale.h (__convert_from_v): Include
  2726. <cstring> and <cstdlib>. Qualify names.
  2727. 2003-07-13 Mark Mitchell <mark@codesourcery.com>
  2728. * config/locale/generic/c_locale.h: Include <cstdlib> and
  2729. <cstring>.
  2730. * include/bits/boost_concept_check.h: Add this-> to unqualified
  2731. method calls.
  2732. * include/bits/deque.tcc: Likewise.
  2733. * include/bits/locale_facets.h : Likewise.
  2734. * include/bits/ostream.tcc: Likewise.
  2735. * include/bits/stl_algo.h: Likewise.
  2736. * include/bits/stl_bvector.h: Likewise.
  2737. * include/bits/stl_deque.h: Likewise.
  2738. * include/bits/stl_list.h: Likewise.
  2739. * include/bits/stl_tree.h: Likewise.
  2740. * include/bits/stl_vector.h: Likewise.
  2741. * include/bits/vector.tcc: Likewise.
  2742. * include/ext/rope: Likewise.
  2743. * include/ext/ropeimpl.h: Likewise.
  2744. * include/ext/stdio_filebuf.h: Likewise.
  2745. 2003-07-11 Jerry Quinn <jlquinn@optonline.net>
  2746. * include/bits/basic_ios.h (copyfmt): Document.
  2747. * include/bits/ios_base.h (event, event_callback, register_callback,
  2748. xalloc, iword, pword): Document.
  2749. (imbue, ~ios_base): Update docs on callbacks.
  2750. 2003-07-11 Phil Edwards <pme@gcc.gnu.org>
  2751. * acinclude.m4 (GLIBCC_ENABLE_SYMVERS): Tweak comments. Add
  2752. warning messages if the environment cannot support symbol versioning.
  2753. (port_specific_symbol_file): It's plural, add an 's' on the end.
  2754. * configure.host: Likewise.
  2755. * src/Makefile.am: Likewise.
  2756. * config/linker-map.gnu: Remove one semicolon, heh.
  2757. * scripts/extract_symvers: Don't assume useful 'export' syntax.
  2758. Set LANG as well as LC_ALL for possibly-broken sort(1)s.
  2759. * aclocal.m4, configure, src/Makefile.in: Regenerated.
  2760. 2003-07-09 Benjamin Kosnik <bkoz@redhat.com>
  2761. * include/bits/locale_facets.tcc: Use function object for
  2762. __use_cache instead of template function. Partially specialize for
  2763. __numpunct<_CharT>.
  2764. * include/bits/locale_classes.h: Update friend declaration for
  2765. __use_cache.
  2766. (_M_install_cache): No throw exception specs.
  2767. * src/locale.cc: Remove __use_cache specializations.
  2768. * include/ext/pod_char_traits.h (length): Tweak.
  2769. * include/bits/locale_facets.h (__numpunct_cache): Remove
  2770. char_type typedef.
  2771. * testsuite/testsuite_hooks.h (pod_unsigned_int): Remove.
  2772. (pod_long): Remove.
  2773. * testsuite/22_locale/numpunct/members/char/cache_1.cc: New.
  2774. * testsuite/22_locale/numpunct/members/char/cache_2.cc: New.
  2775. * testsuite/22_locale/numpunct/members/wchar_t/cache_1.cc: New.
  2776. * testsuite/22_locale/numpunct/members/wchar_t/cache_2.cc: New.
  2777. * testsuite/22_locale/numpunct/members/pod/1.cc: New.
  2778. * testsuite/22_locale/numpunct/members/pod/2.cc: New.
  2779. 2003-07-09 Jerry Quinn <jlquinn@optonline.net>
  2780. * src/ios.cc (_M_grow_words): Fix spelling.
  2781. 2003-07-09 Gawain Bolton <gp.bolton@computer.org>
  2782. * include/bits/stl_tree.h: Move larger member functions in
  2783. _Rb_tree_base_iterator and _Rb_tree_node to...
  2784. * src/stl_tree.cc: Here.
  2785. * src/Makefile.in: Add stl_tree.cc.
  2786. * src/Makefile.in: Regenerated.
  2787. * config/linker-map.gnu: Add symbols here.
  2788. 2003-07-08 Benjamin Kosnik <bkoz@redhat.com>
  2789. * testsuite/ext/pod_char_traits.cc: New.
  2790. * include/ext/pod_char_traits.h: New.
  2791. * include/Makefile.am (ext_headers): Add pod_char_traits.h.
  2792. * include/Makefile.in: Regenerate.
  2793. * docs/html/21_strings/howto.html: Update.
  2794. 2003-07-08 Gawain Bolton <gp.bolton@computer.org>
  2795. * testsuite/performance/list_create_fill_sort.cc: New.
  2796. 2003-07-08 Benjamin Kosnik <bkoz@redhat.com>
  2797. * config/locale/generic/numeric_members.cc: Correct type info.
  2798. * config/locale/gnu/numeric_members.cc: Same.
  2799. * include/bits/locale_facets.h: Same.
  2800. * include/bits/char_traits.h: Correct spacing.
  2801. * src/locale.cc: Wrap to 80 col.
  2802. 2003-07-07 Paolo Carlini <pcarlini@unitus.it>
  2803. * include/std/std_complex.h: Partially revert last
  2804. changes: cmath functions must not be qualified.
  2805. 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
  2806. * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Do not test for binutils
  2807. 2.11 with globbing backport fix.
  2808. * aclocal.m4, configure: Regenerated.
  2809. 2003-07-06 Paolo Carlini <pcarlini@unitus.it>
  2810. * include/std/std_fstream.h (xsputn): Don't call _M_destroy_pback:
  2811. if output is at all possible (!_M_reading), cannot be active.
  2812. * include/std/std_fstream.h: Tweak comments to doxygen style.
  2813. 2003-07-06 Paolo Carlini <pcarlini@unitus.it>
  2814. * include/bits/locale_classes.h: Fully qualify standard
  2815. functions with std::, thus avoiding Koenig lookup.
  2816. * include/bits/locale_facets.tcc: Likewise.
  2817. * src/locale.cc: Likewise.
  2818. * src/localename.cc: Likewise.
  2819. 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
  2820. * include/bits/allocator_traits.h: Fix doxygen markup.
  2821. * include/ext/mt_allocator.h: Likewise.
  2822. 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
  2823. * testsuite/testsuite_hooks.h: Guard against a missing unlink().
  2824. 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
  2825. * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Bump minimal version
  2826. requirement. Add port_specific_symbol_file variable.
  2827. * configure.host: Add docs for port_specific_symbol_file.
  2828. Clean up try_cpu block for x86.
  2829. * config/linker-map.gnu: No more "last symbol can't have a
  2830. semicolon" kaka. Add hook for port-specific symbols.
  2831. * src/Makefile.am: Remove trailing whitespace.
  2832. (libstdc++-symbol.ver): Detect the presence of port-specific
  2833. symbols, and add them accordingly.
  2834. * docs/html/17_intro/porting.texi: Bring up to date.
  2835. * src/Makefile.in, aclocal.m4, configure,
  2836. docs/html/17_intro/porting.html: Regenerated.
  2837. 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
  2838. * scripts/create_testsuite_files: New file.
  2839. * testsuite/Makefile.am (all-local, check-performance): Use it.
  2840. * testsuite/lib/libstdc++-v3-dg.exp (v3-computer-tests): Remove.
  2841. * testsuite/Makefile.in: Regenerated.
  2842. * testsuite/performance/filebuf_sputc.cc: Remove the temporary
  2843. files at the end.
  2844. * testsuite/performance/fstream_seek_write.cc: Likewise.
  2845. * testsuite/performance/ofstream_insert_float.cc: Likewise.
  2846. * testsuite/performance/ofstream_insert_int.cc: Likewise.
  2847. * testsuite/abi_check.cc (main): Nicer spacing in usage output.
  2848. 2003-07-05 Gawain Bolton <gp.bolton@computer.org>
  2849. * include/bits/stl_list.h: Performance and memory usage
  2850. improvements. In particular, the behaviour of the constructor and
  2851. destructor as the list header node is no longer dynamically
  2852. allocated/de-allocated.
  2853. * include/bits/list.tcc: Likewise.
  2854. 2003-07-05 Paolo Carlini <pcarlini@unitus.it>
  2855. * include/std/std_complex.h: Fully qualify standard
  2856. functions with std::, thus avoiding Koenig lookup.
  2857. * include/std/std_memory.h: Likewise.
  2858. * include/std/std_valarray.h: Likewise.
  2859. 2003-07-05 Gawain Bolton <gp.bolton@computer.org>
  2860. * include/bits/stl_tree.h: _Rb_tree_rebalance(): Add local
  2861. variable for grandparent and use const
  2862. 2003-07-05 David Billinghurst <David.Billinghurst@riotinto.com>
  2863. * testsuite/27_io/basic_filebuf/close/char/4879.cc: xfail on cygwin
  2864. * testsuite/27_io/basic_filebuf/close/char/9964.cc: Ditto
  2865. * testsuite/27_io/basic_filebuf/open/char/9507.cc: Ditto
  2866. * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Ditto
  2867. * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Ditto
  2868. * testsuite/27_io/objects/char/7.cc: Ditto
  2869. * testsuite/27_io/objects/char/9661-1.cc: Ditto
  2870. 2003-07-05 Paolo Carlini <pcarlini@unitus.it>
  2871. * include/std/std_bitset.h: Fully qualify standard
  2872. functions with std::, thus avoiding Koenig lookup.
  2873. * include/std/std_fstream.h: Change comment to doxygen style.
  2874. 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
  2875. * include/std/std_limits.h: More CPP->CXX changes.
  2876. * scripts/check_survey.in: Likewise.
  2877. 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
  2878. Move from CPP to CXX.
  2879. * include/bits/c++config: Move to GLIBCXX from GLIBCPP.
  2880. * testsuite/Makefile.am: Same.
  2881. * testsuite/Makefile.in: Regenerate.
  2882. * po/Makefile.am: Same.
  2883. * po/Makefile.in: Regenerate.
  2884. * libsupc++/Makefile.am: Same.
  2885. * libsupc++/Makefile.in: Regenerate.
  2886. * libmath/Makefile.am: Same.
  2887. * libmath/Makefile.in: Regenerate.
  2888. * include/Makefile.am: Same.
  2889. * include/Makefile.in: Regenerate.
  2890. * src/Makefile.am: Same.
  2891. * src/Makefile.in: Regenerate.
  2892. * acconfig.h: Same.
  2893. * configure.host: Same.
  2894. * configure.in: Same.
  2895. * configure: Regenerate.
  2896. * acinclude.m4: Same.
  2897. * aclocal.m4: Same.
  2898. * src: Change all files in this directory.
  2899. * testsuite: Same.
  2900. * include: Same, standardize include guards.
  2901. * config: Same.
  2902. * libsupc++: Same.
  2903. 2003-07-04 Zack Weinberg <zack@codesourcery.com>
  2904. * testsuite/22_locale/collate/compare/wchar_t/2.cc
  2905. * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc
  2906. * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc
  2907. * testsuite/22_locale/collate/hash/wchar_t/2.cc
  2908. * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc
  2909. * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc
  2910. * testsuite/22_locale/collate/transform/wchar_t/2.cc
  2911. * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc
  2912. * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
  2913. XFAIL on all targets.
  2914. 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
  2915. * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix missed variable.
  2916. * aclocal.m4: Regenerate.
  2917. * configure: Regenerate.
  2918. 2003-07-04 Jerry Quinn <jlquinn@optonline.net>
  2919. * include/bits/locale_facets.tcc (__int_to_char): Move common case
  2920. to the top.
  2921. 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
  2922. Petur Runolfsson <peturr02@ru.is>
  2923. * config/io/basic_file_stdio.cc: Revert.
  2924. 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
  2925. * include/bits/deque.tcc: Fully qualify standard
  2926. functions with std::, thus avoiding Koenig lookup.
  2927. * include/bits/gslice_array.h: Likewise.
  2928. * include/bits/indirect_array.h: Likewise.
  2929. * include/bits/list.tcc: Likewise.
  2930. * include/bits/mask_array.h: Likewise.
  2931. * include/bits/slice_array.h: Likewise.
  2932. 2003-07-04 Gawain Bolton <gbolton@free.fr>
  2933. * include/bits/stl_tree.h: Performance and memory usage
  2934. improvements.
  2935. 2003-07-04 H.J. Lu <hongjiu.lu@intel.com>
  2936. * Makefile.am: Replace PWD with PWD_COMMAND.
  2937. * Makefile.in: Regenerated.
  2938. * docs/html/Makefile: Likewise.
  2939. 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
  2940. * include/bits/valarray_array.h: Fully qualify standard
  2941. functions with std::, thus avoiding Koenig lookup.
  2942. * include/bits/vector.tcc: Likewise.
  2943. 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
  2944. * include/Makefile.am: Update target_ to host_.
  2945. * include/Makefile.in: Regenerate.
  2946. * src/Makefile.am: Same.
  2947. * src/Makefile.in: Regenerate.
  2948. * config/os/gnu-linux/os_defines.h: Remove glibc-2.0 support.
  2949. 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
  2950. * acinclude.m4 (GLIBCPP_ENABLE_DEBUG_FLAGS): To
  2951. --enable-libstdcxx-debug-flags.
  2952. (GLIBCPP_ENABLE_DEBUG_FLAGS): To --enable-libstdcxx-debug.
  2953. (GLIBCPP_ENABLE_PCH): To --enable-libstdcxx-pch.
  2954. * aclocal.m4: Regenerate.
  2955. * configure: Same.
  2956. * docs/html/configopts.html: Update.
  2957. 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
  2958. Revert the fix for libstdc++/11378.
  2959. 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
  2960. PR libstdc++/11378
  2961. * include/std/std_fstream.h (xsputn): In the unbuffered case,
  2962. provided always_noconv(), issue directly _M_file.xsputn.
  2963. * testsuite/performance/filebuf_unbuf_sputn.cc: New.
  2964. 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
  2965. * include/bits/stl_list.h: Fully qualify standard
  2966. functions with std::, thus avoiding Koenig lookup.
  2967. * include/bits/stl_queue.h: Likewise.
  2968. * include/bits/stl_raw_storage_iter.h: Likewise.
  2969. * include/bits/stl_tempbuf.h: Likewise.
  2970. * include/bits/stl_tree.h: Likewise.
  2971. * include/bits/stl_uninitialized.h: Likewise.
  2972. * include/bits/stl_vector.h: Likewise.
  2973. * include/ext/rope: Change includes order.
  2974. 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
  2975. * configure.host (fpos_include_dir): Fix.
  2976. 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
  2977. * include/bits/stl_heap.h: Fully qualify standard
  2978. functions with std::, thus avoiding Koenig lookup.
  2979. * include/bits/stl_iterator_base_funcs.h: Likewise.
  2980. * include/bits/stl_algo.h: Qualify __iterator_category too.
  2981. * include/bits/stl_algobase.h: Likewise.
  2982. * include/bits/stl_bvector.h: Likewise.
  2983. * include/bits/stl_algo.h: Don't qualify the pair type.
  2984. 2003-07-03 Benjamin Kosnik <bkoz@redhat.com>
  2985. * include/Makefile.am (target_headers): Add fpos.h
  2986. (bits_headers): Remove.
  2987. * include/Makefile.in: Regenerate.
  2988. * configure.in: Add FPOS_INC_SRCDIR, substitute it.
  2989. * configure: Regenerate.
  2990. * configure.host: Add fpos_include_dir.
  2991. * config/os/gnu-linux/fpos.h: New.
  2992. * config/os/generic/fpos.h: Add.
  2993. * include/bits/fpos.h: Remove.
  2994. * config/io/c_io_stdio.h: Remove fpos_t typedef.
  2995. * include/bits/fstream.tcc: Tweaks.
  2996. * include/std/std_fstream.h: Same.
  2997. * testsuite/27_io/fpos/1.cc (test01): Uncomment. Move to...
  2998. * testsuite/27_io/fpos/mbstate_t/1.cc: ...here.
  2999. * testsuite/27_io/fpos/mbstate_t/2.cc: Same.
  3000. * testsuite/27_io/fpos/mbstate_t/3.cc: Same.
  3001. * testsuite/27_io/fpos/1.cc: New.
  3002. 2003-07-03 Benjamin Kosnik <bkoz@redhat.com>
  3003. Petur Runolfsson <peturr02@ru.is>
  3004. * include/std/std_streambuf.h: Remove _M_pos.
  3005. * config/io/basic_file_stdio.h: Use seekpos instead of seekoff.
  3006. * config/io/basic_file_stdio.cc: Same, use fseek instead of lseek,
  3007. use fread/fwrite instead of read/write.
  3008. * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Fix.
  3009. * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Close filebufs
  3010. before reading again.
  3011. * testsuite/27_io/objects/char/6.cc: Tweak.
  3012. 2003-07-03 David Edelsohn <edelsohn@gnu.org>
  3013. * testsuite/22_locale/num_put/put/char/7.cc: Guard with
  3014. _GLIBCPP_USE_WCHAR_T.
  3015. 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
  3016. * include/bits/basic_string.tcc (_M_replace_aux): Constify
  3017. __n1 and __off1.
  3018. 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
  3019. * include/bits/stl_bvector.h: Fully qualify standard
  3020. functions with std::, thus avoiding Koenig lookup.
  3021. * include/bits/stl_construct.h: Likewise.
  3022. * include/bits/stl_deque.h: Likewise.
  3023. 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
  3024. * testsuite/22_locale/num_put/put/char/7.cc: Include
  3025. <testsuite_hooks.h>, tweak.
  3026. * testsuite/22_locale/num_put/put/wchar_t/7.cc: Likewise.
  3027. 2003-07-01 Phil Edwards <pme@gcc.gnu.org>
  3028. * testsuite/Makefile.am (AM_MAKEFLAGS): Set to -j1 (affects
  3029. check* targets, but not libs/programs).
  3030. * testsuite/Makefile.in: Regenerate.
  3031. 2003-07-01 Roger Sayle <roger@eyesopen.com>
  3032. * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Fix typo in CXXFLAGS.
  3033. (GLIBCPP_CHECK_MATH_SUPPORT): Likewise.
  3034. * aclocal.m4: Regenerate.
  3035. * configure: Regenerate.
  3036. 2003-07-01 Benjamin Kosnik <bkoz@redhat.com>
  3037. * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix obvious error.
  3038. * aclocal.m4: Regenerated.
  3039. * configure: Regenerated.
  3040. 2003-07-01 Paolo Carlini <pcarlini@unitus.it>
  3041. PR libstdc++/11389
  3042. * include/bits/fstream.tcc (underflow): For encoding() == 0
  3043. don't read more than __buflen chars.
  3044. * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: New.
  3045. * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: New.
  3046. * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: New.
  3047. * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: New.
  3048. 2003-07-01 Jerry Quinn <jlquinn@optonline.net>
  3049. * 22_locale/num_put/put/char/7.cc: New.
  3050. * 22_locale/num_put/put/wchar_t/7.cc: New.
  3051. 2003-06-30 Jerry Quinn <jlquinn@optonline.net>
  3052. * src/locale.cc (__use_cache<numpunct>): Revert previous relocation.
  3053. * include/bits/locale_facets.tcc (__use_cache<numpunct>): Ditto.
  3054. 2003-06-30 Benjamin Kosnik <bkoz@redhat.com>
  3055. * 27_io/basic_filebuf/seekoff/char/1-in.cc: New.
  3056. * 27_io/basic_filebuf/seekoff/char/1-io.cc: New.
  3057. * 27_io/basic_filebuf/seekoff/char/1-out.cc: New.
  3058. * 27_io/basic_filebuf/seekoff/char/2-in.cc: New.
  3059. * 27_io/basic_filebuf/seekoff/char/2-io.cc: New.
  3060. * 27_io/basic_filebuf/seekoff/char/2-out.cc: New.
  3061. * 27_io/basic_filebuf/seekoff/char/2.cc: Remove.
  3062. * 27_io/basic_filebuf/seekoff/char/3-in.cc: New.
  3063. * 27_io/basic_filebuf/seekoff/char/3-io.cc: Change.
  3064. * 27_io/basic_filebuf/seekoff/char/3-out.cc: New.
  3065. * 27_io/basic_filebuf/seekoff/char/4-io.cc: Remove.
  3066. * 27_io/basic_filebuf/seekpos/char/1-in.cc: New.
  3067. * 27_io/basic_filebuf/seekpos/char/1-io.cc: New.
  3068. * 27_io/basic_filebuf/seekpos/char/1-out.cc: New.
  3069. * 27_io/basic_filebuf/seekpos/char/2-in.cc: New.
  3070. * 27_io/basic_filebuf/seekpos/char/2-io.cc: New.
  3071. * 27_io/basic_filebuf/seekpos/char/2-out.cc: New.
  3072. * 27_io/basic_filebuf/seekpos/char/2.cc: Change.
  3073. * 27_io/basic_filebuf/seekpos/char/3-in.cc: New.
  3074. * 27_io/basic_filebuf/seekpos/char/3-io.cc: Remove.
  3075. * 27_io/basic_filebuf/seekpos/char/3-out.cc: New.
  3076. * 27_io/basic_filebuf/seekpos/char/4-io.cc: Remove.
  3077. * data/seekoff-1.tst: Remove.
  3078. * data/seekoff-1io.tst: New.
  3079. * data/seekoff-1out.tst: New.
  3080. * data/seekoff-2.tst: Remove.
  3081. * data/seekoff-2io.tst: New.
  3082. * data/seekoff-2out.tst: New.
  3083. * data/seekoff.txt
  3084. * data/seekpos-1.tst: Remove.
  3085. * data/seekpos-1io.tst: New.
  3086. * data/seekpos-1out.tst: New.
  3087. * data/seekpos-2.tst: Remove.
  3088. * data/seekpos-2io.tst: New.
  3089. * data/seekpos-2out.tst: New.
  3090. * data/seekpos.txt: New.
  3091. 2003-06-30 Jerry Quinn <jlquinn@optonline.net>
  3092. * src/locale.cc (__use_cache<numpunct>): Move from here ...
  3093. * include/bits/locale_facets.tcc (__use_cache<numpunct>): To
  3094. here.
  3095. 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
  3096. * include/bits/stl_algobase.h: Fully qualify standard
  3097. functions with std::, thus avoiding Koenig lookup.
  3098. 2003-06-30 Doug Gregor <dgregor@apple.com>
  3099. * include/bits/locale_facets.tcc (money_get::do_get): Avoid
  3100. subscripting empty string.
  3101. 2003-06-30 Phil Edwards <pme@gcc.gnu.org>
  3102. * testsuite/Makefile.am (check-am): Do not override.
  3103. (baseline_symbols): Declare as PHONY, so no need to 'touch' it.
  3104. * testsuite/Makefile.in: Regenerate.
  3105. 2003-06-30 Doug Gregor <dgregor@apple.com>
  3106. * testsuite/24_iterators/insert_iterator.cc (test01, test02):
  3107. Don't initialize an insert_iterator with a singular iterator.
  3108. 2003-06-30 Benjamin Kosnik <bkoz@redhat.com>
  3109. * acinclude.m4 (GLIBCPP_ENABLE_PCH): Add bits for --enable-pch.
  3110. * aclocal.m4: Regenerate.
  3111. * configure.in (GLIBCPP_CHECK_PCH): Move, change to
  3112. GLIBCPP_ENABLE_PCH, default to yes.
  3113. * configure: Regenerate.
  3114. * docs/html/configopts.html: Add --enable-pch.
  3115. 2003-06-30 Phil Edwards <pme@gcc.gnu.org>
  3116. * testsuite/lib/libstdc++-v3-dg.exp: Add comments.
  3117. (libstdc++-v3-init): Also set LD_RUN_PATH.
  3118. 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
  3119. * include/std/std_streambuf.h (_M_mode): Unused by streambuf, move
  3120. from here to filebuf and stringbuf.
  3121. (~basic_streambuf()): Don't set _M_mode.
  3122. (basic_streambuf()): Don't set _M_mode.
  3123. * include/std/std_fstream.h (_M_mode): Move here, from streambuf.
  3124. (~basic_filebuf()): Clean up.
  3125. * include/bits/fstream.tcc (basic_filebuf()): Set _M_mode.
  3126. * include/std/std_sstream.h (_M_mode): Move here, from streambuf.
  3127. * testsuite/27_io/basic_streambuf/cons/char/1.cc: Don't set _M_mode.
  3128. * testsuite/27_io/basic_streambuf/overflow/char/1.cc: Likewise.
  3129. * testsuite/27_io/basic_streambuf/sgetc/char/1.cc: Likewise.
  3130. * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Likewise.
  3131. * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
  3132. 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
  3133. * include/std/std_fstream.h (_M_underflow): Remove.
  3134. (uflow): Remove, inherited from streambuf.
  3135. (underflow): Only declare.
  3136. * include/bits/fstream.tcc (_M_underflow): Rename to
  3137. underflow, to which is equivalent for __bump == false,
  3138. simplify.
  3139. * include/std/std_sstream.h (_M_underflow): Remove.
  3140. (uflow): Remove, inherited from streambuf.
  3141. (underflow): Only declare.
  3142. * include/bits/sstream.tcc (_M_underflow): Rename to
  3143. underflow, to which is equivalent for __bump == false,
  3144. simplify.
  3145. 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
  3146. * include/bits/stl_algo.h: Fully qualify standard functions
  3147. with std::, thus avoiding Koenig lookup.
  3148. 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
  3149. * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc:
  3150. Improve type correctness-wise.
  3151. * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc:
  3152. Likewise.
  3153. * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc:
  3154. Likewise.
  3155. * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc:
  3156. Likewise.
  3157. 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
  3158. * include/std/std_streambuf.h (uflow): According to
  3159. 27.5.2.4.3,p16, don't check gptr() < egptr().
  3160. 2003-06-28 Paolo Carlini <pcarlini@unitus.it>
  3161. PR libstdc++/9875
  3162. * include/bits/fstream.tcc (seekoff): Fix for encoding() > 0.
  3163. (seekpos): Likewise.
  3164. * testsuite/27_io/basic_filebuf/seekoff/wchar_t/9875_seekoff.cc:
  3165. New test.
  3166. * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9875_seekpos.cc:
  3167. New test.
  3168. 2003-06-27 Benjamin Kosnik <bkoz@redhat.com>
  3169. * testsuite/testsuite_performance.h (__gnu_cxx_test): Change
  3170. output name to libstdc++-v3-performance.sum.
  3171. * testsuite/Makefile.am (CLEANFILES): Remove .performance.
  3172. * testsuite/Makefile.in: Regenerate.
  3173. 2003-06-27 Matthias Klose <doko@debian.org>
  3174. * testsuite/Makefile.am (check-abi, check-abi-verbose): Save
  3175. output of abi-check in libstdc++-v3-abi.sum.
  3176. * testsuite/Makefile.in: Regenerate.
  3177. 2003-06-27 Krister Walfridsson <cato@df.lth.se>
  3178. * config/os/bsd/netbsd/ctype_noninline.h
  3179. (_C_ctype_): Declare.
  3180. (ctype<char>::classic_table): Return _C_ctype_ + 1.
  3181. (ctype<char>::ctype): Use classic_table.
  3182. 2003-06-27 Paolo Carlini <pcarlini@unitus.it>
  3183. Nathan C. Myers <ncm-nospam@cantrip.org>
  3184. PR libstdc++/9178
  3185. * include/bits/fstream.tcc (_M_underflow): Properly estimate
  3186. the worst-case number of external bytes for a given get area.
  3187. * testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc: New.
  3188. 2003-06-27 Paolo Carlini <pcarlini@unitus.it>
  3189. Petur Runolfsson <peturr02@ru.is>
  3190. PR libstdc++/11305
  3191. * include/bits/fstream.tcc (overflow): Properly estimate the
  3192. worst-case number of external bytes for a given put area
  3193. (by using codecvt::max_length()).
  3194. * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1: New.
  3195. * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: New.
  3196. * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: New.
  3197. * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: New.
  3198. 2003-06-27 Nathan Sidwell <nathan@codesourcery.com>
  3199. * config/linker-map.gnu: Remove ; after __numpunct_cache.
  3200. 2003-06-26 Benjamin Kosnik <bkoz@redhat.com>
  3201. * include/bits/ios_base.h (ios_base::_M_getloc): Return reference
  3202. to the imbued locale.
  3203. * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use
  3204. _M_getloc.
  3205. (num_put::_M_convert_float): Use.
  3206. 2003-06-26 Benjamin Kosnik <bkoz@redhat.com>
  3207. Jerry Quinn <jlquinn@optonline.net>
  3208. * config/linker-map.gnu: Add __numpunct_cache.
  3209. * config/locale/gnu/numeric_members.cc
  3210. (numpunct::_M_initialize_numpunct): Account for _M_data, fill in
  3211. all elements for "C" locale.
  3212. (numpunct::~numpunct): Delete _M_data.
  3213. * config/locale/generic/numeric_members.cc: Same.
  3214. * include/bits/basic_ios.tcc
  3215. (basic_ios::init): Remove __locale_cache bits.
  3216. (basic_ios::_M_cache_locale): Same.
  3217. * include/bits/ios_base.h: Same. Tweaks.
  3218. * include/bits/locale_classes.h: Tweaks. Reorder classes.
  3219. (__use_cache): Make friends with _Impl, locale.
  3220. (_Impl::_M_caches): Add.
  3221. (_Impl::_M_install_cache): Add.
  3222. * include/bits/locale_facets.h (__numpunct_cache): New.
  3223. (numpunct): Encapsulate data members in __numpunct_cache member,
  3224. _M_data. Adjust virtuals.
  3225. (numpunct::numpunct): New ctor for the same.
  3226. (__locale_cache_base): Remove.
  3227. (__locale_cache): Remove.
  3228. * include/bits/locale_facets.tcc (__use_cache): New function,
  3229. specializations.
  3230. (num_put::_M_convert_int, _M_convert_float, do_put): Use it.
  3231. * src/globals.cc: Add cache_vec, numpunct_cache_c, numpunct_cache_w.
  3232. * src/ios.cc (ios_base::ios_base): Remove __locale_cache.
  3233. * src/locale-inst.cc: Same. Add __numpunct_cache.
  3234. * src/locale.cc: Tweak inlines.
  3235. (__use_cache): Define specializations.
  3236. * src/localename.cc: Use global bits.
  3237. (_Impl::~Impl): Deal with __numpunct_cache destruction.
  3238. (_Impl::_Impl): Same. Pre-cache standard numpunct facets.
  3239. (_Impl::_M_init_facet): Take into account __numpunct_cache.
  3240. * testsuite/27_io/ios_base/cons/assign_neg.cc: Update line numbers.
  3241. * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
  3242. 2003-06-26 Nathan C. Myers <ncm-nospam@cantrip.org>
  3243. Paolo Carlini <pcarlini@unitus.it>
  3244. * testsuite/performance/filebuf_copy.cc: New, testing char
  3245. by char file copy.
  3246. 2003-06-26 Paolo Carlini <pcarlini@unitus.it>
  3247. Nathan C. Myers <ncm-nospam@cantrip.org>
  3248. * include/bits/fstream.tcc (_M_underflow): When the actual
  3249. end of file is reached, set 'uncommitted' mode to allow a
  3250. next write without an intervening seek (see C++98 27.8.1.1,2
  3251. and C89 7.9.5.3).
  3252. * testsuite/27_io/basic_filebuf/underflow/char/2.cc: New.
  3253. 2003-06-25 Nathan C. Myers <ncm-nospam@cantrip.org>
  3254. * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
  3255. sputc): Move inline, from here...
  3256. * include/std/std_streambuf.h: ... to here.
  3257. * include/std/std_streambuf.h (snextc, sbumpc, sgetc,
  3258. sputbackc, sungetc, sputc): Use __builtin_expect.
  3259. 2003-06-24 Phil Edwards <pme@gcc.gnu.org>
  3260. * docs/doxygen/mainpage.html: Use a useful title.
  3261. 2003-06-24 Benjamin Kosnik <bkoz@redhat.com>
  3262. * docs/html/documentation.html: Remove assignment info.
  3263. * docs/html/17_intro/contribute.html: Edits.
  3264. * docs/html/17_intro/libstdc++-assign.tx: Remove.
  3265. * docs/html/test.html: Update.
  3266. * README: Update.
  3267. 2003-06-24 Benjamin Kosnik <bkoz@redhat.com>
  3268. Ulrich Drepper <drepper@redhat.com>
  3269. * testsuite/testsuite_performance.h: Tweak mallinfo.
  3270. 2003-06-24 Paolo Carlini <pcarlini@unitus.it>
  3271. Nathan C. Myers <ncm-nospam@cantrip.org>
  3272. * include/std/std_fstream.h (_M_filepos): Remove.
  3273. (_M_reading, _M_writing): New, encode the various I/O modes:
  3274. 'read', 'write' and 'uncommitted'.
  3275. (sync): If there is something to flush, do it, then go to
  3276. 'uncommitted' mode.
  3277. * include/bits/fstream.tcc (_M_set_buffer): Overhaul to deal
  3278. with three different cases: __off > 0 (upon underflow),
  3279. __off == 0 (upon overflow), __off == -1 (upon open, setbuf,
  3280. seekoff/pos).
  3281. (_M_underflow): Don't call overflow, set _M_reading to true
  3282. on success, tweak.
  3283. (pbackfail): Set _M_reading to true on pback creation, tweak.
  3284. (overflow): Don't seek, deal with overflow in 'uncommitted' mode,
  3285. set _M_writing to true on success, tweak.
  3286. (seekoff): Simplify, set _M_reading, _M_writing to false, call
  3287. _M_set_buffer(-1) ('uncommitted').
  3288. (open, close, setbuf): Set _M_reading, _M_writing to false and
  3289. call _M_set_buffer(-1), tweak.
  3290. (basic_filebuf): Don't set _M_buf_unified.
  3291. (_M_destroy_internal_buffer): Don't call setg and setp.
  3292. * include/ext/stdio_filebuf.h (stdio_filebuf): Use _M_reading,
  3293. _M_writing and _M_set_buffer(-1).
  3294. * include/std/std_streambuf.h (_M_move_out_cur, _M_move_in_cur,
  3295. _M_out_lim, _M_buf_unified): Remove.
  3296. (basic_streambuf): Don't set _M_out_lim and _M_buf_unified.
  3297. (setp): Don't set _M_out_lim.
  3298. * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Fix for
  3299. the new logic ('read', 'write' and 'uncommitted' modes): e.g.,
  3300. upon open the mode is 'uncommitted' and therefore the put area
  3301. pointers are null.
  3302. * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: Ditto.
  3303. * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Ditto.
  3304. * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Ditto.
  3305. * testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Ditto.
  3306. * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Ditto.
  3307. * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Ditto.
  3308. * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
  3309. * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: Ditto.
  3310. * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Ditto.
  3311. * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: Ditto.
  3312. * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Ditto.
  3313. * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Ditto.
  3314. * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Ditto.
  3315. * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Ditto.
  3316. * testsuite/27_io/basic_filebuf/sputc/char/9701-2.cc: Ditto.
  3317. * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Ditto.
  3318. * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Ditto.
  3319. * testsuite/27_io/basic_filebuf/sputn/char/9701-1.cc: Ditto.
  3320. * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Ditto.
  3321. * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: Ditto.
  3322. * include/bits/fstream.tcc (showmanyc): Use only the
  3323. documented derivation interface to basic_streambuf (gptr(),
  3324. setg(), etc.) to work right with user specializations.
  3325. * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
  3326. sputc, xsgetn, xsputn, __copy_streambufs): Likewise.
  3327. * include/std/std_streambuf.h (in_avail, sgetc, uflow, stossc):
  3328. Likewise.
  3329. * include/std/std_fstream.h (_M_create_pback, _M_destroy_pback,
  3330. xsgetn): Likewise.
  3331. 2003-06-23 Loren J. Rittle <ljrittle@acm.org>
  3332. * configure.host (freebsd*): Set abi_baseline_pair.
  3333. * config/abi/i386-freebsd4/baseline_symbols.txt: Update from 3.2
  3334. (at or near first release) to 3.3.
  3335. * config/abi/i386-freebsd5/baseline_symbols.txt: New file.
  3336. * config/abi/alpha-freebsd5/baseline_symbols.txt: New file.
  3337. * config/abi/sparc-freebsd5/baseline_symbols.txt: New file.
  3338. * include/ext/mt_allocator.h: Portability.
  3339. * testsuite/testsuite_performance.h: Likewise.
  3340. 2003-06-23 Benjamin Kosnik <bkoz@redhat.com>
  3341. * docs/html/17_intro/libstdc++-assign.txt: Update address.
  3342. * testsuite/performance/ifstream_getline.cc: Fix.
  3343. 2003-06-23 Doug Gregor <dgregor@apple.com>
  3344. * include/bits/boost_concept_check.h: Don't use _D or _R for type
  3345. names.
  3346. 2003-06-22 Paolo Carlini <pcarlini@unitus.it>
  3347. Nathan C. Myers <ncm-nospam@cantrip.org>
  3348. * include/std/std_streambuf.h (_M_move_out_cur): _M_out_lim
  3349. is now used only for filebuf, when _M_buf_unified is true.
  3350. epgtr() plays the role of _M_out_lim but it's only updated
  3351. upon overflow, underflow, uflow, seekoff/pos.
  3352. * include/bits/sstream.tcc (_M_underflow): New, implements
  3353. stringbuf::underflow and uflow.
  3354. (seekoff, seekpos): Tweak, use _M_update_egptr.
  3355. * include/std/std_sstream.h (str): Rewrote, deal correctly
  3356. with the new logic, in particular, when pptr() > egptr().
  3357. (_M_sync): When __testout && !__testin set all the get area
  3358. pointers to the current string end.
  3359. (_M_update_egptr): New, internal function updating egptr()
  3360. to the actual string end.
  3361. (_M_underflow): New, declare.
  3362. (underflow): Dispatch to _M_underflow(false).
  3363. (uflow): Dispatch to _M_underflow(true).
  3364. * include/bits/sstream.tcc (pbackfail, overflow, seekoff,
  3365. seekpos): Use only the documented derivation interface to
  3366. basic_streambuf (gptr(), setg(), etc.) to work right with
  3367. user specializations.
  3368. * include/std/std_sstream.h (str, _M_sync): Likewise.
  3369. 2003-06-20 Doug Gregor <dgregor@apple.com>
  3370. * testsuite/20_util/auto_ptr.cc: Don't dereference NULL auto_ptr
  3371. * testsuite/21_strings/basic_string/replace/char/4.cc: Don't
  3372. dereference end iterator.
  3373. * testsuite/21_strings/basic_string/replace/wchar_t/4.cc: Same.
  3374. * testsuite/22_locale/ctype/narrow/char/1.cc: Don't subscript with
  3375. index equal to the length of a string.
  3376. * testsuite/22_locale/ctype/narrow/char/2.cc: Same.
  3377. * testsuite/22_locale/ctype/narrow/wchar_t/1.cc: Same.
  3378. * testsuite/22_locale/ctype/narrow/wchar_t/2.cc: Same.
  3379. * testsuite/22_locale/ctype/widen/char/1.cc: Same.
  3380. * testsuite/22_locale/ctype/widen/wchar_t/1.cc: Same.
  3381. * testsuite/23_containers/list_modifiers.cc: Don't dereference
  3382. singular reverse iterator.
  3383. * testsuite/23_containers/vector_bool.cc: Don't increment singular
  3384. iterator.
  3385. * testsuite/24_iterators/rel_ops.cc: Don't compare singular iterator.
  3386. 2003-06-20 Doug Gregor <dgregor@apple.com>
  3387. * include/bits/basic_string.h (basic_string::replace): Dispatch
  3388. _InputIterator version based on _Is_integer.
  3389. * include/bits/basic_string.tcc (basic_string::replace):
  3390. Renamed replace(iterator, iterator, size_type, _CharT) to
  3391. _M_replace_aux.
  3392. * testsuite/21_strings/basic_string/assign/char/1.cc (test01):
  3393. Test basic_string::assign(_InputIterator, _InputIterator),
  3394. which calls basic_string::replace(iterator, iterator,
  3395. _Input_iterator, _InputIterator).
  3396. 2003-06-20 Benjamin Kosnik <bkoz@redhat.com>
  3397. * testsuite/testsuite_performance.h (resource_counter): Don't use
  3398. mallinfo at the moment.
  3399. 2003-06-20 Matthias Klose <doko@debian.org>
  3400. * configure.host: Set try_cpu to target_cpu for existing
  3401. baseline files.
  3402. 2003-06-19 Andreas Jaeger <aj@suse.de>
  3403. * testsuite/Makefile.am (extract_symvers): Revert accidental
  3404. change.
  3405. * testsuite/Makefile.in: Regenerate.
  3406. * configure.in: Pass MULTISUBDIR to testsuite/Makefile.
  3407. * configure: Regenerated.
  3408. 2003-06-19 Paolo Carlini <pcarlini@unitus.it>
  3409. * include/std/std_sstream.h (_M_sync): Make non virtual.
  3410. 2003-06-18 Benjamin Kosnik <bkoz@redhat.com>
  3411. * testsuite/testsuite_performance.h (time_counter): New.
  3412. (resource_counter): New.
  3413. (report_performance): New.
  3414. (start_counters): New.
  3415. (stop_counters): New.
  3416. (clear_counters): New.
  3417. * testsuite/performance/allocator.cc: Instrument.
  3418. * testsuite/performance/cout_insert_int.cc: Same.
  3419. * testsuite/performance/complex_norm.cc: Same.
  3420. * testsuite/performance/filebuf_sputc.cc: New.
  3421. * testsuite/performance/fstream_seek_write.cc: Same.
  3422. * testsuite/performance/ifstream_getline.cc: Same.
  3423. * testsuite/performance/map_create_fill.cc: Same.
  3424. * testsuite/performance/ofstream_insert_float.cc: Same.
  3425. * testsuite/performance/ofstream_insert_int.cc: Same.
  3426. * testsuite/performance/string_append.cc: Convert.
  3427. * scripts/check_performance: New.
  3428. * testsuite/Makefile.am (check-performance): New.
  3429. (CLEANFILES): Add.
  3430. 2003-06-18 Paolo Carlini <pcarlini@unitus.it>
  3431. Benjamin Kosnik <bkoz@redhat.com>
  3432. * include/std/std_sstream.h (setbuf): Check __n >= 0.
  3433. * include/bits/fstream.tcc (setbuf): Tweak.
  3434. 2003-06-18 Paolo Carlini <pcarlini@unitus.it>
  3435. * include/bits/sstream.tcc (seekoff): We can't seek beyond
  3436. _M_out_lim, therefore _M_move_out_cur boils down to simply
  3437. updating _M_out_cur.
  3438. (seekpos): Likewise, clean up.
  3439. 2003-06-18 Nathan C. Myers <ncm-nospam@cantrip.org>
  3440. Paolo Carlini <pcarlini@unitus.it>
  3441. * include/bits/fstream.tcc (setbuf): Allow (__s, 1) too,
  3442. simply equivalent to the unbuffered case (0, 0) as far as
  3443. _M_buf_size is concerned.
  3444. 2003-06-18 Andreas Jaeger <aj@suse.de>
  3445. * testsuite/Makefile.am (new-abi-baseline): Create baseline
  3446. directory.
  3447. (baseline_file): Use baseline_dir.
  3448. (baseline_dir): New.
  3449. (mkinstalldirs): New.
  3450. * acinclude.m4: Rename baseline_file to baseline_dir, strip
  3451. filename from baseline_dir.
  3452. * testsuite/Makefile.in: Regenerated.
  3453. * Makefile.in: Regenerated.
  3454. * aclocal.m4: Regenerated.
  3455. * configure: Regenerated.
  3456. 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
  3457. * configure.in: Missed check_survey bit.
  3458. * configure: Regenerated.
  3459. 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
  3460. * scripts: New.
  3461. * config/abi/extract_symvers: Move to...
  3462. * scripts/extract_symvers: ...here.
  3463. * mkcheck.in: Move to..
  3464. * scripts/check_survey.in: ...here.
  3465. * testsuite_flags.in: Move to..
  3466. * scripts/testsuite_flags.in: ...here.
  3467. * configure.in: Change check and testsuite_flags locations.
  3468. * configure: Regenerate.
  3469. * testsuite/Makefile.am (current_symbols.txt): Change location.
  3470. * testsuite/Makefile.in: Regenerate.
  3471. * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
  3472. location of testsuite_flags.
  3473. * Makefile.am (check-script): Move..
  3474. (check-script-install): Move...
  3475. * testsuite/Makefile.am: ... here.
  3476. * testsuite/Makefile.in: Regenerate.
  3477. * Makefile.in: Regenerate.
  3478. 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
  3479. * config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.3.0.
  3480. 2003-06-16 Benjamin Kosnik <bkoz@redhat.com>
  3481. * Makefile.am (check-abi): Move...
  3482. (new-abi-baseline): Move...
  3483. * testsuite/Makefile.am: ...here.
  3484. (new-abi-baseline): Conditionalize.
  3485. (check-abi): Conditionalize.
  3486. (check-abi-verbose): New.
  3487. * Makefile.in: Regenerate.
  3488. * testsuite/Makefile.in: Regenerate.
  3489. * configure.in: Consolidate testsuite configure bits.
  3490. * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Same.
  3491. * configure: Regenerate.
  3492. * aclocal.m4: Regenerate.
  3493. * testsuite/abi_check.cc: Add --check-verbose.
  3494. Only output detailed information if --check-verbose.
  3495. 2003-06-16 Andreas Jaeger <aj@suse.de>
  3496. * testsuite/abi_check.cc: Create summary report.
  3497. 2003-06-16 Paolo Carlini <pcarlini@unitus.it>
  3498. * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Fix
  3499. for systems with BUFSIZ != 8192.
  3500. * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
  3501. * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc:
  3502. Minor tweaks.
  3503. 2003-06-16 Andreas Jaeger <aj@suse.de>
  3504. * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Make
  3505. check-abi multilib aware.
  3506. * aclocal.m4: Regenerate.
  3507. * configure: Regenerate.
  3508. 2003-06-16 Benjamin Kosnik <bkoz@redhat.com>
  3509. Andreas Jaeger <aj@suse.de>
  3510. * configure.host: Set x86_64 abi_baseline pair correctly.
  3511. 2003-06-16 Paolo Carlini <pcarlini@unitus.it>
  3512. * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Split and
  3513. fix for missing seeks between gets and puts into...
  3514. * testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: New.
  3515. * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: New.
  3516. * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: New.
  3517. * testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: New.
  3518. * testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: New.
  3519. * testsuite/27_io/basic_filebuf/sungetc/char/2-out.cc: New.
  3520. 2003-06-15 Richard Henderson <rth@redhat.com>
  3521. * config/linker-map.gnu: Export virtual function thunks for
  3522. 64-bit systems too.
  3523. 2003-06-13 Benjamin Kosnik <bkoz@redhat.com>
  3524. * config/abi/i686-pc-linux-gnu: To..
  3525. * config/abi/i486-linux-gnu: ...this.
  3526. * config/abi/alphaev67-unknown-linux-gnu: To..
  3527. * config/abi/alpha-linux-gnu: ...this.
  3528. * config/abi/ia64-unknown-linux-gnu: To...
  3529. * config/abi/ia64-linux-gnu: ...this.
  3530. * config/abi/x86_64-unknown-linux-gnu: To...
  3531. * config/abi/x86_64-linux-gnu: ...this.
  3532. * config/abi/i386-unknown-freebsd4: To...
  3533. * config/abi/i386-freebsd4: ...this.
  3534. * config/linker-map.gnu: Cleanups, move libsupc++ bits into
  3535. CXXABI.
  3536. * configure.host: abi_baseline_triplet to abi_baseline_pair.
  3537. Simplify cpu bits so that abi_baseline_pair can use the same
  3538. cpu configuration.
  3539. * acinclude.m4: Same.
  3540. * aclocal.m4: Regenerate.
  3541. * configure.in: Can't get enable_abi_check to yes unless native.
  3542. * configure: Regenerate.
  3543. 2003-06-13 Paolo Carlini <pcarlini@unitus.it>
  3544. * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Split and
  3545. fix for missing seeks between gets and puts into...
  3546. * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: New.
  3547. * testsuite/27_io/basic_filebuf/seekoff/char/4-io.cc: New.
  3548. * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Same, into...
  3549. * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: New.
  3550. * testsuite/27_io/basic_filebuf/seekpos/char/4-io.cc: New.
  3551. * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Fix
  3552. for missing seeks between gets and puts.
  3553. * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Ditto.
  3554. * testsuite/data/seekoff-1.tst: New.
  3555. * testsuite/data/seekoff-2.tst: New.
  3556. * testsuite/data/seekpos-1.tst: New.
  3557. * testsuite/data/seekpos-2.tst: New.
  3558. 2003-06-13 Nathan C. Myers <ncm-nospam@cantrip.org>
  3559. Avoid multi-processor bus contention on increment/decrement-and-
  3560. test of the reference count in the empty-string object, by comparing
  3561. addresses first, and never touching the reference count of the empty-
  3562. string object.
  3563. * include/bits/basic_string.h:
  3564. (_S_empty_rep_storage): Move into basic_string<>::_Rep for use by its
  3565. members.
  3566. (_Rep::_S_empty_rep()): New accessor.
  3567. (_Rep::_M_length, _Rep::_M_capacity, _Rep::_M_references): Move to
  3568. a base class _Rep_base.
  3569. (_Rep::_M_dispose, _Rep::_M_refcopy): Check for the empty string.
  3570. (basic_string()): Change to use _M_refdata() in place of _M_refcopy(),
  3571. since no longer must increment its refcount.
  3572. * include/bits/basic_string.tcc:
  3573. (_Rep::_M_destroy, _M_leak_hard): Check for the empty string and
  3574. return immediately. The former might be unnecessary. The latter
  3575. prevents begin() and end() from cloning it unnecessarily.
  3576. (_S_construct(_InIterator, _InIterator, const _Alloc&,
  3577. input_iterator_tag), _S_construct(_InIterator, _InIterator,
  3578. const _Alloc&, forward_iterator_tag), _S_construct(size_type, _CharT,
  3579. const _Alloc&)): Change to use _M_refdata() in place of _M_refcopy().
  3580. (_M_mutate): Check for the empty string and treat it as shared.
  3581. This is necessary here because _M_mutate is sometimes called with
  3582. all-zero arguments; in all other uses of _M_is_shared, the test comes
  3583. out right anyhow.
  3584. 2003-06-12 Benjamin Kosnik <bkoz@redhat.com>
  3585. * src/allocator-inst.cc: Explicitly instantiate.
  3586. * include/ext/pool_allocator.h: Inhibit implicit instantiations.
  3587. Tweaks.
  3588. * config/linker-map.gnu: Add __pool_alloc bits. Tweaks.
  3589. 2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
  3590. * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Simplify.
  3591. * aclocal.m4: Regenerate.
  3592. * Makefile.am (SUBDIRS): Remove libio.
  3593. * Makefile.in: Regenerate.
  3594. * configure.in: Same.
  3595. * configure: Regenerate.
  3596. * config/io/basic_file_libio.cc: Remove.
  3597. * config/io/basic_file_libio.h: Remove.
  3598. * config/io/c_io_libio_codecvt.c: Remove.
  3599. * config/io/c_io_libio.h: Remove.
  3600. * libio/*: Remove.
  3601. * src/Makefile.am: Same.
  3602. * src/Makefile.in: Regenerate.
  3603. * docs/html/configopts.html: Edits.
  3604. * docs/html/explanations.html: Edits.
  3605. 2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
  3606. * include/bits/stl_alloc.h (__debug_alloc): Move out.
  3607. (__malloc_alloc): Same.
  3608. (__pool_alloc): Same.
  3609. (__new_alloc): Same.
  3610. Rename to..
  3611. * include/bits/allocator.h: ...this.
  3612. * include/bits/stl_deque.h: Modify comment.
  3613. * include/bits/stl_tree.h: Modify include.
  3614. * include/std/std_memory.h: Same.
  3615. * include/ext/rope: Same.
  3616. * include/ext/slist: Same.
  3617. * include/std/std_vector.h: Same.
  3618. * include/std/std_stack.h: Same.
  3619. * include/std/std_queue.h: Same.
  3620. * include/std/std_list.h: Same.
  3621. * include/std/std_deque.h: Same.
  3622. * include/backward/alloc.h: Same.
  3623. * include/ext/debug_allocator.h: New.
  3624. * include/ext/malloc_allocator.h: New.
  3625. * include/ext/pool_allocator.h: New.
  3626. * include/ext/new_allocator.h: New.
  3627. * include/bits/pthread_allocimpl.h: Remove.
  3628. * include/bits/stl_pthread_alloc.h: Remove.
  3629. * include/Makefile.am (ext_headers): Add.
  3630. * include/Makefile.in: Regenerate.
  3631. * src/stl-inst.cc: Use __gnu_cxx namespace.
  3632. * src/stl-inst.cc: Move to...
  3633. * src/allocator-inst.cc: Here.
  3634. * src/Makefile.am (sources): Update.
  3635. * src/Makefile.in: Regenerate.
  3636. * config/linker-map.gnu: Remove __pool_alloc bits.
  3637. * testsuite/ext/headers.cc: Add.
  3638. * testsuite/ext/allocators.cc: Fixup.
  3639. 2003-06-11 Stefan Olsson <stefan@snon.net>
  3640. Ola Rönnerup <fnolis@home.se>
  3641. * include/Makefile.am (ext_headers): Add.
  3642. * include/Makefile.in: Regenerate.
  3643. * include/ext/mt_allocator.h: New file.
  3644. 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
  3645. * include/bits/fstream.tcc (close): Clean up a bit.
  3646. * include/bits/streambuf.tcc (sbumpc): Clean up a bit.
  3647. * include/std/std_fstream.h (_M_destroy_pback): _M_pback_cur_save
  3648. - the saved _M_in_cur, that is - cannot be null.
  3649. (sync): Constify a variable.
  3650. * include/std/std_streambuf.h: Tweak a comment.
  3651. (in_avail): Constify a variable.
  3652. 2003-06-10 Phil Edwards <pme@gcc.gnu.org>
  3653. * docs/html/17_intro/BUGS: Update from 2.90.8 snapshot.
  3654. * docs/html/17_intro/CHECKLIST: Bring up to date with respect to
  3655. correctness of container::iterator typedefs. Fix whitespace.
  3656. * docs/html/20_util/howto.html, docs/html/ext/howto.html: Add links
  3657. to allocator docs.
  3658. * docs/html/documentation.html: Regenerate.
  3659. * include/bits/basic_string.h, include/bits/basic_string.tcc,
  3660. include/bits/deque.tcc, include/bits/list.tcc, include/bits/stl_algo.h,
  3661. include/bits/stl_algobase.h, include/bits/stl_bvector.h,
  3662. include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
  3663. include/bits/stl_list.h, include/bits/stl_uninitialized.h,
  3664. include/bits/stl_vector.h, include/bits/vector.tcc,
  3665. include/ext/algorithm, include/ext/slist, include/std/std_bitset.h:
  3666. Change _Iter names to _Iterator, and __pos to __position.
  3667. * include/bits/stl_relops.h, include/bits/stl_numeric.h,
  3668. include/bits/stl_multiset.h, include/bits/stl_set.h:
  3669. Remove emacs markers.
  3670. * include/bits/stl_threads.h (_STL_auto_lock): Add __unused__.
  3671. 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
  3672. * include/bits/fstream.tcc (overflow): According to
  3673. 27.5.2.4.5, overflow() returns not_eof(eof()).
  3674. * testsuite/27_io/basic_filebuf/overflow/char/2.cc: New.
  3675. * testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc: Ditto.
  3676. 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
  3677. * include/bits/fstream.tcc (_M_underflow): Check overflow return
  3678. value; tweak slightly.
  3679. 2003-06-09 Paolo Carlini <pcarlini@unitus.it>
  3680. * include/bits/fstream.tcc (_M_underflow): Do not special
  3681. case the unbuffered case, which really means simply a one char
  3682. get area.
  3683. (basic_filebuf): Initialize _M_buf_size.
  3684. (setbuf): Unbuffered means _M_buf_size == 1, since only
  3685. _M_buf_size - 1 == 0 chars are going to be used for the
  3686. put area and 1 for the get area.
  3687. * include/std/std_streambuf.h (_M_buf_size): Move to basic_filebuf.
  3688. (~basic_streambuf): Tweak.
  3689. (basic_streambuf): Do not initialize _M_buf_size.
  3690. * include/std/std_fstream.h (_M_buf_size): Add from basic_streambuf.
  3691. (~basic_filebuf): Tweak.
  3692. (_M_set_buffer): Tweak, considering that _M_buf_size == 1 is the
  3693. unbuffered situation (i.e., put area pointers NULL).
  3694. * include/bits/streambuf.tcc (sbumpc): Clean up.
  3695. * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Split into...
  3696. * testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc: New.
  3697. * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: New.
  3698. * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: New.
  3699. * testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc: New.
  3700. * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: New.
  3701. * testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: New.
  3702. 2003-06-09 Phil Edwards <pme@gcc.gnu.org>
  3703. * acinclude.m4: Move all AM_CONDITIONAL calls out.
  3704. (GLIBCPP_CONFIGURE): Set defaults for variables used in AM_CONDITIONAL
  3705. statements.
  3706. * configure.in: Centralize AM_CONDITIONALs so that they are always
  3707. run. Make use of GLIBCPP_IS_CROSS_COMPILING.
  3708. * aclocal.m4, configure: Regenerated.
  3709. 2003-06-09 Paolo Carlini <pcarlini@unitus.it>
  3710. * docs/html/ext/howto.html ('LWG Issues'): Add issue 235.
  3711. 2003-06-06 Nathan Myers <ncm-nospam@cantrip.org>
  3712. * include/bits/stl_iterator.h
  3713. (reverse_iterator::reverse_iterator()): Apply DR235: default
  3714. constructor default-initializes data member. Instantiated on a
  3715. pointer type, the member has to end up equal to zero.
  3716. 2003-06-06 Benjamin Kosnik <bkoz@redhat.com>
  3717. * include/bits/stl_alloc.h: Cleanups.
  3718. * include/ext/functional: Same.
  3719. * include/ext/hash_map: Same.
  3720. * include/ext/hash_set: Same.
  3721. * include/ext/iterator: Same.
  3722. * include/ext/memory: Same.
  3723. * include/ext/numeric: Same.
  3724. * include/ext/rb_tree: Same.
  3725. * include/ext/ropeimpl.h: Same.
  3726. * include/ext/slist: Same.
  3727. * include/ext/stdio_filebuf.h: Same.
  3728. * include/ext/stdio_sync_filebuf.h: Same.
  3729. * include/ext/stl_rope.h: Move to...
  3730. * include/ext/rope: ...here.
  3731. * include/ext/stl_hash_fun.h: Move to...
  3732. * include/ext/hash_fun.h: ...here.
  3733. * include/ext/stl_hashtable.h: Move to...
  3734. * include/ext/hashtable.h: ...here.
  3735. * include/backward/hashtable.h: Reflect new names.
  3736. * include/Makefile.am: Same.
  3737. * include/Makefile.in: Regenerated.
  3738. 2003-06-05 Benjamin Kosnik <bkoz@redhat.com>
  3739. PR libstdc++/9024
  3740. * include/bits/fstream.tcc (_M_underflow): Fix for unbuffered.
  3741. * include/bits/stl_algobase.h: Tweak.
  3742. * include/std/std_fstream.h: Move _M_buf_size to...
  3743. * include/std/std_streambuf.h: ...here. Modify.
  3744. * include/bits/streambuf.tcc: Same.
  3745. * testsuite/testsuite_hooks.h: Tweak.
  3746. * testsuite/testsuite_io.h (constraint_filebuf): New.
  3747. * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Split into...
  3748. * testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc: New.
  3749. * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: New.
  3750. * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: New.
  3751. * testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc: New.
  3752. * testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc: New.
  3753. * testsuite/27_io/basic_filebuf/sbumpc/char/2-out.cc: New.
  3754. * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Split into...
  3755. * testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc: New.
  3756. * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: New.
  3757. * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: New.
  3758. * testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc: New.
  3759. * testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc: New.
  3760. * testsuite/27_io/basic_filebuf/sgetc/char/2-out.cc: New.
  3761. * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Split into...
  3762. * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: New.
  3763. * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: New.
  3764. * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: New.
  3765. * testsuite/27_io/basic_filebuf/sgetn/char/2.cc: Split into...
  3766. * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: New.
  3767. * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: New.
  3768. * testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc: New.
  3769. * testsuite/27_io/basic_filebuf/sgetn/char/3.cc: New.
  3770. * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Split into...
  3771. * testsuite/27_io/basic_filebuf/snextc/char/1-in.cc: New.
  3772. * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: New.
  3773. * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: New.
  3774. * testsuite/27_io/basic_filebuf/snextc/char/2-in.cc: New.
  3775. * testsuite/27_io/basic_filebuf/snextc/char/2-io.cc: New.
  3776. * testsuite/27_io/basic_filebuf/snextc/char/2-out.cc: New.
  3777. * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Split into...
  3778. * testsuite/27_io/basic_filebuf/sputc/char/1-in.cc: New.
  3779. * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: New.
  3780. * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: New.
  3781. * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Split into...
  3782. * testsuite/27_io/basic_filebuf/sputc/char/2-in.cc: New.
  3783. * testsuite/27_io/basic_filebuf/sputc/char/2-io.cc: New.
  3784. * testsuite/27_io/basic_filebuf/sputc/char/2-out.cc: New.
  3785. * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Split into...
  3786. * testsuite/27_io/basic_filebuf/sputn/char/1-in.cc: New.
  3787. * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: New.
  3788. * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: New.
  3789. * testsuite/27_io/basic_filebuf/sputn/char/2-in.cc: New.
  3790. * testsuite/27_io/basic_filebuf/sputn/char/2-io.cc: New.
  3791. * testsuite/27_io/basic_filebuf/sputn/char/2-out.cc: New.
  3792. * testsuite/data/sgetc.txt: New.
  3793. * testsuite/data/sgetn.txt: New.
  3794. 2003-06-05 Paolo Carlini <pcarlini@unitus.it>
  3795. PR libstdc++/11095
  3796. * include/bits/istream.tcc (operator>>(basic_istream&, _CharT*)):
  3797. Deal with width() smaller than zero.
  3798. * include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT),
  3799. operator<<(basic_ostream&, char), operator<<(basic_ostream&, const
  3800. _CharT*), operator<<(basic_ostream<_CharT, _Traits>&, const
  3801. char*), operator<<(basic_ostream<char, _Traits>&, const char*),
  3802. operator<<(basic_ostream, const basic_string&)): Likewise.
  3803. * testsuite/27_io/basic_istream/extractors_character/char/
  3804. (11095-i.cc, 11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
  3805. * testsuite/27_io/basic_ostream/inserters_character/char/
  3806. (11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
  3807. * testsuite/27_io/basic_ostream/inserters_character/wchar_t/
  3808. (11095-od.cc, 11095-oe.cc, 11095-of.cc): New.
  3809. 2003-06-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  3810. * acinclude.m4 (GLIBCPP_CHECK_PCH): Only set glibcpp_PCHFLAGS if
  3811. .gch compilation works.
  3812. * aclocal.m4, configure: Regenerate.
  3813. * testsuite_flags.in (--build-cxx): Use glibcpp_PCHFLAGS to
  3814. initialize PCHFLAGS.
  3815. 2003-06-04 Paolo Carlini <pcarlini@unitus.it>
  3816. * include/bits/basic_string.h (_M_fold, insert(iterator, _CharT),
  3817. erase(iterator), erase(iterator, iterator), c_str,
  3818. compare(const basic_string&)): Constify various variables.
  3819. * include/bits/basic_string.tcc (_S_construct(_InIter, _InIter,
  3820. const _Alloc&, input_iterator_tag), _M_destroy, _M_mutate,
  3821. _S_create, resize, _M_replace, _M_replace_safe,
  3822. append(const basic_string&), append(const basic_string&, size_type,
  3823. size_type), append(const _CharT*, size_type), append(size_type,
  3824. _CharT), operator+(const _CharT*, const basic_string&),
  3825. operator+(_CharT, const basic_string&), replace(iterator, iterator,
  3826. size_type, _CharT), find(const _CharT*, size_type, size_type),
  3827. find(_CharT, size_type), rfind(const _CharT*, size_type, size_type),
  3828. rfind(_CharT, size_type), compare(size_type, size_type,
  3829. const basic_string&), compare(size_type, size_type,
  3830. const basic_string&, size_type, size_type), compare(const _CharT*),
  3831. compare(size_type, size_type, const _CharT*), compare(size_type,
  3832. size_type, const _CharT*, size_type)): Likewise.
  3833. 2003-06-03 Benjamin Kosnik <bkoz@redhat.com>
  3834. * include/bits/fstream.tcc (pbackfail): Make a rarely taken
  3835. 'if' branch less obscure.
  3836. 2003-06-02 Andrew Pinski <pinskia@physics.uc.edu>
  3837. PR libstdc++/9815
  3838. * config/cpu/i386/atomicity.h (__exchange_and_add): add intel
  3839. asm case to asm.
  3840. * config/cpu/i486/atomicity.h (__exchange_and_add): Likewise.
  3841. (__atomic_add): likewise.
  3842. 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
  3843. * include/bits/sstream.tcc (pbackfail): Minor clean up and
  3844. reformatting, consistent with basic_filebuf::pbackfail.
  3845. 2003-06-02 Richard Kreckel <Richard.Kreckel@GiNaC.DE>
  3846. PR libstdc++/11062
  3847. * config/cpu/mips/atomicity.h: Change __attribute__ ((unused)) to
  3848. __attribute__ ((__unused__)).
  3849. * config/os/aix/atomicity.h: Likewise.
  3850. 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
  3851. PR libstdc++/9761
  3852. * include/bits/fstream.tcc (pbackfail): If the pback buffer
  3853. is already active don't try to store in it a second char.
  3854. * testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc: New.
  3855. * include/bits/fstream.tcc (pbackfail): Add unbuffered bits.
  3856. 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
  3857. * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: Tweak
  3858. line spacing.
  3859. 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
  3860. * include/std/std_fstream.h (_M_destroy_pback): Use _M_in_beg
  3861. instead of unnecessarily taking the address of _M_pback.
  3862. (xsgetn): Simplify slightly for a single char pback buffer.
  3863. 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
  3864. * include/bits/sstream.tcc (seekoff): Remove four unnecessary
  3865. variables and two 'if', clean up.
  3866. 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
  3867. * include/bits/sstream.tcc (seekpos): Test against _M_out_lim
  3868. not _M_out_end, since the former actually points to the string
  3869. end (vs buffer end).
  3870. * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: New.
  3871. 2003-05-30 Phil Edwards <pme@gcc.gnu.org>
  3872. * docs/doxygen/filter: New file.
  3873. * docs/doxygen/filter.sed: New file.
  3874. * docs/doxygen/run_doxygen: Add g flag to sed substitutions. Duh.
  3875. * docs/doxygen/user.cfg.in (INPUT_FILTER): Point to new filter.
  3876. * docs/html/documentation.html: Fix links to doxygen pages.
  3877. 2003-05-30 Paolo Carlini <pcarlini@unitus.it>
  3878. * include/bits/fstream.tcc (_M_convert_to_external): Don't
  3879. check for __ilen > 0.
  3880. 2003-05-29 Sylvain Pion <Sylvain.Pion@mpi-sb.mpg.de>
  3881. PR libstdc++/10783
  3882. * include/bits/stl_iterator.h (class __normal_iterator):
  3883. Don't inherit from iterator, add missing typedefs.
  3884. 2003-05-29 Paolo Carlini <pcarlini@unitus.it>
  3885. * testsuite/24_iterators/reverse_iterator.cc: Split up, as follows.
  3886. * testsuite/24_iterators/reverse_iterator/1.cc: New.
  3887. * testsuite/24_iterators/reverse_iterator/2.cc: New.
  3888. * testsuite/24_iterators/reverse_iterator/3.cc: New, from
  3889. PR libstdc++/10783.
  3890. 2003-05-27 Steve Ellcey <sje@cup.hp.com>
  3891. * config/os/hpux/os_defines.h: Define _LIBUNWIND_STD_ABI if we are
  3892. on IA64 HP-UX.
  3893. * libsupc++/eh_throw.cc: Don't call _Unwind_Resume_or_Rethrow if
  3894. _LIBUNWIND_STD_ABI is set.
  3895. 2003-05-26 Brendan Kehoe <brendan@zen.org>
  3896. * include/bits/locale_facets.tcc (do_get): Honor $22.2.6.3.3/8 and
  3897. make sure the number of digits required after the decimal-point
  3898. (if any) is exactly the value returned by frac_digits().
  3899. * testsuite/22_locale/money_get/get/char/9.cc: New.
  3900. * testsuite/22_locale/money_get/get/wchar_t/9.cc: New.
  3901. 2003-05-27 Jonathan Wakely <redi@gcc.gnu.org>
  3902. * include/std/std_istream.h, include/std/std_ostream.h: Typo in
  3903. comment.
  3904. 2003-05-26 Benjamin Kosnik <bkoz@redhat.com>
  3905. PR libstdc++/9339
  3906. * include/std/std_fstream.h (basic_filebuf::_M_overflow): Remove.
  3907. (_M_pback): No array necessary.
  3908. * include/bits/fstream.tcc (basic_filebuf::_M_overflow): Add
  3909. unbuffered case, coalesec into ...
  3910. (basic_filebuf::overflow): ...this.
  3911. * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: New.
  3912. * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Unbuffered.
  3913. 2003-05-24 Nathanael Nerode <neroden@gcc.gnu.org>
  3914. * libsupc++/Makefile.am, libsupc++/cxxabi.h, libsupc++/del_op.cc,
  3915. libsupc++/del_opnt.cc, libsupc++/del_opv.cc, libsupc++/del_opvnt.cc,
  3916. libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc,
  3917. libsupc++/eh_catch.cc, libsupc++/eh_exception.cc,
  3918. libsupc++/eh_globals.cc, libsupc++/eh_personality.cc,
  3919. libsupc++/eh_term_handler.cc, libsupc++/eh_terminate.cc,
  3920. libsupc++/eh_throw.cc, libsupc++/eh_type.cc,
  3921. libsupc++/eh_unex_handler.cc, libsupc++/exception,
  3922. libsupc++/new, libsupc++/new_handler.cc, libsupc++/new_op.cc,
  3923. libsupc++/new_opnt.cc, libsupc++/new_opv.cc, libsupc++/new_opvnt.cc,
  3924. libsupc++/pure.cc, libsupc++/tinfo.cc, libsupc++/tinfo2.cc,
  3925. libsupc++/typeinfo, libsupc++/unwind-cxx.h, libsupc++/vec.cc:
  3926. Replace "GNU CC" with "GCC".
  3927. * include/backward/new.h: Replace "GNU CC" with "GCC".
  3928. 2003-05-22 Benjamin Kosnik <bkoz@redhat.com>
  3929. PR libstdc++/3066.
  3930. * configure.in: Switch target to host, don't assume newlib.
  3931. (target_alias): Remove.
  3932. * configure: Regenerate.
  3933. * acinclude.m4: Same.
  3934. * aclocal.m4: Regenerate.
  3935. * configure.target: Same. Rename to...
  3936. * configure.host: This.
  3937. 2003-05-22 Paolo Carlini <pcarlini@unitus.it>
  3938. * include/std/std_fstream.h (_S_pback_size): Remove definition.
  3939. (_M_create_pback(), _M_destroy_pback()): Simplify for a single-char
  3940. pback buffer.
  3941. * include/bits/fstream.tcc (_S_pback_size): Remove declaration.
  3942. * testsuite/27_io/basic_filebuf/3.cc: Remove explicit instantiation
  3943. of _S_pback_size for systems with no COMDAT or weak support.
  3944. * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise.
  3945. * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise.
  3946. * testsuite/27_io/basic_filebuf/underflow/10096.cc: Likewise.
  3947. * testsuite/27_io/basic_fstream/3.cc: Likewise.
  3948. * testsuite/27_io/basic_ifstream/3.cc: Likewise.
  3949. * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Likewise.
  3950. * testsuite/27_io/basic_ofstream/3.cc: Likewise.
  3951. * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Likewise.
  3952. * testsuite/27_io/basic_streambuf/3.cc: Likewise.
  3953. 2003-05-22 Paolo Carlini <pcarlini@unitus.it>
  3954. * include/bits/fstream.tcc (_M_underflow): Simplify:
  3955. !__testout implies _M_filepos == _M_in_end, therefore
  3956. the first _M_file.seekoff call is never issued.
  3957. 2003-05-22 Benjamin Kosnik <bkoz@redhat.com>
  3958. * configure.in: Sort cross table.
  3959. * configure: Regenerate.
  3960. 2003-05-22 Brad Spencer <spencer@infointeractive.com>
  3961. PR libstdc++/10106
  3962. * configure.in: Add Solaris cross bits.
  3963. 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
  3964. * libstdc++-v3/config/os/mingw32/os_defines.h
  3965. (__GTHREAD_HIDE_WIN32API): Define to 1 by defualt.
  3966. (NOMINMAX): Define. Update copyright year.
  3967. 2003-05-21 Paolo Carlini <pcarlini@unitus.it>
  3968. * include/std/std_fstream.h (_M_set_buffer): Fix indentation.
  3969. 2003-05-21 Jonathan Wakely <redi@gcc.gnu.org>
  3970. * docs/html/faq/index.html: Fix typo.
  3971. * docs/html/faq/index.txt: Regenerate.
  3972. 2003-05-21 Jonathan Wakely <redi@gcc.gnu.org>
  3973. * docs/html/test.html: Fix markup.
  3974. 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
  3975. * libmath/stubs.c (hypot, hypotf, hypotl): Don't divide by
  3976. zero.
  3977. Update copyright year.
  3978. 2003-05-20 Paolo Carlini <pcarlini@unitus.it>
  3979. * testsuite/27_io/basic_filebuf/close/char/4.cc: Fix typo.
  3980. 2003-05-20 Paolo Carlini <pcarlini@unitus.it>
  3981. * testsuite/27_io/basic_filebuf/close/char/5.cc: New file,
  3982. further testing that upon filebuf::close() 27.8.1.1,3 is enforced.
  3983. 2003-05-20 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
  3984. * include/bits/stl_alloc.h (__default_alloc_template::_S_chunk_alloc):
  3985. Cast via void* to avoid -Wcast-align warnings.
  3986. (__default_alloc_template::_S_refill): Likewise.
  3987. 2003-05-20 Benjamin Kosnik <bkoz@redhat.com>
  3988. * testsuite/README: Move to...
  3989. * docs/html/test.html: ...here. Add documentation.
  3990. * docs/html/install.html: Move testing bits out..
  3991. * docs/html/documentation.html: Add separate testing link.
  3992. * testsuite/performance: Add.
  3993. * testsuite/performance/allocator.cc: New.
  3994. * testsuite/performance/complex_norm.cc: New.
  3995. * testsuite/performance/cout_insert_int.cc: New.
  3996. * testsuite/performance/fstream_seek_write.cc: New.
  3997. * testsuite/performance/ifstream_getline.cc: New.
  3998. * testsuite/performance/map_create_fill.cc: New.
  3999. * testsuite/performance/ofstream_insert_float.cc: New.
  4000. * testsuite/performance/ofstream_insert_int.cc: New.
  4001. * testsuite/performance/string_append.cc: New.
  4002. * testsuite/lib/libstdc++-v3-dg.exp (v3-compute-tests): Filter
  4003. performance tests.
  4004. 2003-05-20 Gabriel Dos Reis <gdr@integrable-solutions.net>
  4005. PR libstdc++/10689
  4006. * include/std/std_complex.h (pow): Tidy.
  4007. 2003-05-19 Paolo Carlini <pcarlini@unitus.it>
  4008. * testsuite/27_io/basic_filebuf/close/char/4.cc: New file, testing
  4009. that upon filebuf::close() 27.8.1.1,3 is enforced.
  4010. 2003-05-15 Loren J. Rittle <ljrittle@acm.org>
  4011. * testsuite/thread/pthread4.cc: Further tweak to avoid fini race.
  4012. 2003-05-15 Paolo Carlini <pcarlini@unitus.it>
  4013. Nathan Myers <ncm@cantrip.org>
  4014. * include/bits/fstream.tcc (_M_overflow): Rewrote to call
  4015. _M_convert_to_external only once (_M_buf_size is now the size of
  4016. the put area + 1 for the overflow char of a full area); call
  4017. _M_set_buffer instead of _M_set_indeterminate.
  4018. (setbuf): Don't accept a buffer smaller than 2 chars.
  4019. (_M_underflow): Refill _M_buf_size - 1 chars; call _M_set_buffer,
  4020. instead of _M_set_determinate.
  4021. (open): Call _M_set_buffer, instead of _M_set_indeterminate.
  4022. (seekoff): Likewise.
  4023. * include/ext/stdio_filebuf.h (stdio_filebuf(int,
  4024. std::ios_base::openmode, bool, size_t),
  4025. stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t):
  4026. Likewise.
  4027. * include/std/std_fstream.h (_M_set_indeterminate): Remove.
  4028. (_M_set_determinate): Rename as _M_set_buffer, _M_buf_size ->
  4029. _M_buf_size - 1.
  4030. * include/std/std_streambuf.h: Tweak _M_out_lim comment.
  4031. * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Tweak, taking
  4032. into account that, for _M_buf_size == BUFSIZ == 8192, the size of
  4033. the put area is now BUFSIZ - 1.
  4034. * testsuite/ext/stdio_filebuf_2.cc: Tweak, taking into account
  4035. that now the smallest _M_buf_size is 2 (still fails, for the same
  4036. reason, with 3.2.3)
  4037. 2003-05-14 Loren J. Rittle <ljrittle@acm.org>
  4038. * testsuite/thread/pthread4.cc: Tweak test.
  4039. 2003-05-13 Benjamin Kosnik <bkoz@redhat.com>
  4040. * testsuite/27_io/ios_base/cons/copy_neg.cc: Remove
  4041. excess errors dg marker, use dg-errors instead.
  4042. * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
  4043. * testsuite/20_util/auto_ptr_neg.cc: Same.
  4044. 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
  4045. * include/std/std_fstream.h (basic_filebuf::_M_codecvt): Add
  4046. cached member.
  4047. * include/bits/fstream.tcc (basic_filebuf::basic_filebuf):
  4048. Initialize _M_codecvt.
  4049. (basic_filebuf::imbue): Same.
  4050. (basic_filebuf::showmanyc): Use it.
  4051. (basic_filebuf::underflow): Use it.
  4052. (basic_filebuf::_M_convert_to_external): Use it.
  4053. (basic_filebuf::seekoff): Use it.
  4054. (basic_filebuf::imbue): Use it, tweaks.
  4055. * include/bits/localefwd.h (__check_facet): New.
  4056. * include/bits/locale_classes.h: Tweaks.
  4057. * include/bits/locale_facets.tcc: Tweaks.
  4058. * include/bits/basic_ios.h (basic_ios::_M_check_facet): Remove.
  4059. _M_fctype to _M_ctype, _M_fnumput to _M_num_put, _M_fnumget to
  4060. _M_num_get. Change _M_check_facet to __check_facet. Tweaks.
  4061. * include/bits/basic_ios.tcc: Same.
  4062. * include/bits/istream.tcc: Same.
  4063. * include/bits/ostream.tcc: Same.
  4064. * include/std/std_streambuf.h: Same.
  4065. * testsuite/27_io/basic_filebuf/imbue/char/2.cc: New.
  4066. * testsuite/27_io/basic_filebuf/imbue/char/3.cc: New.
  4067. * testsuite/27_io/basic_filebuf/imbue/wchar_t/1.cc: New.
  4068. * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: New.
  4069. * testsuite/27_io/basic_filebuf/imbue/wchar_t/3.cc: New.
  4070. * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: New.
  4071. 2003-05-12 Paolo Carlini <pcarlini@unitus.it>
  4072. * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Remove
  4073. unnecessary includes and unused string literals.
  4074. * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
  4075. * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
  4076. * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
  4077. * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
  4078. 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
  4079. * include/bits/fstream.tcc (_M_overflow): Remove unbuffered bits.
  4080. 2003-05-12 Paolo Carlini <pcarlini@unitus.it>
  4081. * include/std/std_fstream.h (_M_convert_to_external): Change
  4082. to return bool, take two less streamsize parameters.
  4083. * include/bits/fstream.tcc (_M_convert_to_external): Tweak
  4084. consistently definition.
  4085. (_M_overflow): Adjust call points.
  4086. 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
  4087. * testsuite/27_io/basic_filebuf/underflow/10096.cc: Add weak bits.
  4088. 2003-05-11 Phil Edwards <pme@gcc.gnu.org>
  4089. * testsuite/Makefile.am: Properly quote /both/ LD_RUN_PATHs.
  4090. * testsuite/Makefile.in: Regenerate.
  4091. 2003-05-11 Phil Edwards <pme@gcc.gnu.org>
  4092. * testsuite/Makefile.am: Properly quote LD_RUN_PATH.
  4093. * testsuite/Makefile.in: Regenerate.
  4094. 2003-05-11 Gabriel Dos Reis <gdr@integrable-solutions.net>
  4095. PR libstdc++/3181
  4096. * include/c_std/std_cmath.h: #include <bits/cpp_type_traits.h>
  4097. (acos): Handle integer argument.
  4098. (asin): Likewise.
  4099. (atan): Likewise.
  4100. (atan2): Likewise.
  4101. (ceil): Likewise.
  4102. (cos): Likewise.
  4103. (cosh): Likewise.
  4104. (exp): Likewise.
  4105. (fabs): Likewise.
  4106. (floor): Likewise.
  4107. (frexp): Likewise.
  4108. (ldexp): Likewise.
  4109. (log): Likewise.
  4110. (log10): Likewise.
  4111. (sin): Likewise.
  4112. (sinh): Likewise.
  4113. (sqrt): Likewise.
  4114. (tan): Likewise.
  4115. (tanh): Likewise.
  4116. * include/bits/cpp_type_traits.h (__are_same<>): New traits.
  4117. (__enable_if): Likewise.
  4118. * testsuite/26_numerics/cmath/overloads.C: New test.
  4119. 2003-05-10 Petur Runolfsson <peturr02@ru.is>
  4120. PR libstdc++/9027
  4121. PR libstdc++/9520
  4122. PR libstdc++/10096
  4123. * include/bits/fstream.tcc (basic_file::_M_underflow): Add generic
  4124. implementation, based on old wchar_t specialization, add support
  4125. for codecvt::in() return value of codecvt_base::noconv, remove
  4126. _M_file.sys_ungetc() call.
  4127. * include/std/std_fstream.h (basic_file::underflow,
  4128. basic_file::uflow, basic_file::_M_underflow): Remove
  4129. specialization declarations, call _M_underflow from generic versions
  4130. of underflow and uflow.
  4131. * src/fstream.cc (basic_file::underflow, basic_file::uflow,
  4132. basic_file::_M_underflow): Remove specializations.
  4133. * src/Makefile.am (sources): Remove fstream.cc.
  4134. * src/Makefile.in: Regenerated.
  4135. * testsuite/27_io/basic_filebuf/underflow/10096.cc: New test.
  4136. * testsuite/27_io/basic_filebuf/underflow/char/1.cc: New test.
  4137. * testsuite/27_io/basic_filebuf/underflow/char/9027.cc: New test.
  4138. * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: New test.
  4139. 2003-05-10 Benjamin Kosnik <bkoz@redhat.com>
  4140. * include/ext/stdio_filebuf.h (__stdio_filebuf): Remove stack
  4141. buffer.
  4142. * config/io/basic_file_stdio.h (__basic_file::xsgetn): Remove
  4143. unbuffered bits.
  4144. (__basic_file::xsputn): Same.
  4145. (__basic_file::seekoff): Same.
  4146. (__basic_file::seekpos): Same.
  4147. (__basic_file::showmanyc): Same.
  4148. * config/io/basic_file_stdio.cc: Same.
  4149. * include/std/std_fstream.h: Same.
  4150. * include/bits/fstream.tcc: Same.
  4151. * src/fstream.cc: Same.
  4152. * testsuite/27_io/basic_filebuf/sgetn/char/1.cc (test05): Tidy.
  4153. 2003-05-10 Petur Runolfsson <peturr02@ru.is>
  4154. PR libstdc++/9520
  4155. PR libstdc++/9661
  4156. PR libstdc++/9662
  4157. * include/ext/stdio_sync_filebuf.h: New file.
  4158. (basic_stdiobuf): New.
  4159. * include/Makefile.am (ext_headers): Add ext/stdio_sync_filebuf.h
  4160. * include/Makefile.in: Regenerate.
  4161. * include/bits/ios_base.h (Init::_S_create_buffers,
  4162. Init::_S_destroy_buffers): Remove declarations.
  4163. * src/globals.cc (buf_cout_sync, buf_cin_sync, buf_cerr_sync,
  4164. buf_wcout_sync, buf_wcin_sync, buf_wcerr_sync): Define.
  4165. * src/ios.cc (Init::_S_create_buffers,
  4166. Init::_S_destroy_buffers): Remove.
  4167. (Init::Init): Create and use syncronized buffers.
  4168. (ios_base::sync_with_stdio): Destroy syncronized buffers,
  4169. create and install unsyncronized buffers.
  4170. * testsuite/27_io/objects/char/10.cc: New test.
  4171. * testsuite/27_io/objects/char/9.cc: New test.
  4172. * testsuite/27_io/objects/char/9661-1.cc: New test.
  4173. * testsuite/27_io/objects/char/9661-2_xin.cc: New test.
  4174. * testsuite/27_io/objects/char/9661-2_xin.in: New.
  4175. * testsuite/27_io/objects/wchar_t/1.cc: New test.
  4176. * testsuite/27_io/objects/wchar_t/10.cc: New test.
  4177. * testsuite/27_io/objects/wchar_t/2.cc: New test.
  4178. * testsuite/27_io/objects/wchar_t/2523-1_xin.cc: New test.
  4179. * testsuite/27_io/objects/wchar_t/2523-1_xin.in: New.
  4180. * testsuite/27_io/objects/wchar_t/2523-2_xin.cc: New test.
  4181. * testsuite/27_io/objects/wchar_t/2523-2_xin.in: New.
  4182. * testsuite/27_io/objects/wchar_t/3045.cc: New test.
  4183. * testsuite/27_io/objects/wchar_t/3647.cc: New test.
  4184. * testsuite/27_io/objects/wchar_t/3_xin.cc: New test.
  4185. * testsuite/27_io/objects/wchar_t/3_xin.in: New.
  4186. * testsuite/27_io/objects/wchar_t/4_xin.cc: New test.
  4187. * testsuite/27_io/objects/wchar_t/4_xin.in: New.
  4188. * testsuite/27_io/objects/wchar_t/5.cc: New test.
  4189. * testsuite/27_io/objects/wchar_t/5268.cc: New test.
  4190. * testsuite/27_io/objects/wchar_t/5280_xin.cc: New test.
  4191. * testsuite/27_io/objects/wchar_t/5280_xin.in: New.
  4192. * testsuite/27_io/objects/wchar_t/6.cc: New test.
  4193. * testsuite/27_io/objects/wchar_t/6548_xin.cc: New test.
  4194. * testsuite/27_io/objects/wchar_t/6548_xin.in: New.
  4195. * testsuite/27_io/objects/wchar_t/6648-1_xin.cc: New test.
  4196. * testsuite/27_io/objects/wchar_t/6648-1_xin.in: New.
  4197. * testsuite/27_io/objects/wchar_t/6648-2_xin.cc: New test.
  4198. * testsuite/27_io/objects/wchar_t/6648-2_xin.in: New.
  4199. * testsuite/27_io/objects/wchar_t/7.cc: New test.
  4200. * testsuite/27_io/objects/wchar_t/7744_xin.cc: New test.
  4201. * testsuite/27_io/objects/wchar_t/7744_xin.in: New.
  4202. * testsuite/27_io/objects/wchar_t/8.cc: New test.
  4203. * testsuite/27_io/objects/wchar_t/9_xin.cc: New test.
  4204. * testsuite/27_io/objects/wchar_t/9_xin.in: New.
  4205. * testsuite/27_io/objects/wchar_t/9520.cc: New test.
  4206. * testsuite/27_io/objects/wchar_t/9661-1.cc: New test.
  4207. * testsuite/27_io/objects/wchar_t/9661-2_xin.cc: New test.
  4208. * testsuite/27_io/objects/wchar_t/9661-2_xin.in: New.
  4209. * testsuite/27_io/objects/wchar_t/9662.cc: New test.
  4210. * testsuite/ext/stdiobuf_char.cc: New test.
  4211. * testsuite/ext/stdiobuf_wchar_t.cc: New test.
  4212. 2003-05-10 Paolo Carlini <pcarlini@unitus.it>
  4213. * testsuite/27_io/basic_filebuf/close/char/3.cc: Remove
  4214. unnecessary includes and unused string literals.
  4215. * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
  4216. 2003-05-08 Paolo Carlini <pcarlini@unitus.it>
  4217. * include/std/std_streambuf.h (setg, setp): Don't touch _M_mode.
  4218. 2003-05-07 Richard Henderson <rth@redhat.com>
  4219. PR c++/10570
  4220. * libsupc++/eh_catch.cc (__cxa_begin_catch): Handle foreign exceptions.
  4221. (__cxa_end_catch): Likewise.
  4222. * libsupc++/eh_throw.cc (__cxa_rethrow): Likewise. Use
  4223. _Unwind_Resume_or_Rethrow.
  4224. * libsupc++/eh_personality.cc (empty_exception_spec): New.
  4225. (PERSONALITY_FUNCTION): Don't ignore terminate or catch-all
  4226. for _UA_FORCE_UNWIND. Honor empty filter spec for foreign
  4227. exceptions. Don't push terminate/unexpected to cxa functions.
  4228. (__cxa_call_unexpected): Remove foreign exception fixmes.
  4229. 2003-05-07 Benjamin Kosnik <bkoz@redhat.com>
  4230. * testsuite/27_io/ios_base/cons: New.
  4231. * testsuite/27_io/ios_base/cons/assign_neg.cc: New.
  4232. * testsuite/27_io/ios_base/cons/copy_neg.cc: New.
  4233. 2003-05-07 Paolo Carlini <pcarlini@unitus.it>
  4234. * include/std/std_fstream.h (_M_is_indeterminate): Remove.
  4235. * src/fstream.cc
  4236. (basic_filebuf<char/wchar_t>::_M_underflow): Simplify: either
  4237. there is no buffer or __testget == !__testinit.
  4238. * src/fstream.cc
  4239. (basic_filebuf<char/wchar_t>::_M_underflow): _M_set_determinate()
  4240. automatically sets, if appropriate, _M_out_cur == _M_in_cur.
  4241. * include/std/std_fstream.h (_M_destroy_pback): Don't set
  4242. unnecessarily _M_pback_cur_save and _M_pback_end_save.
  4243. * include/std/std_fstream.h (_M_set_determinate): Minor tweak.
  4244. * include/std/std_sstream.h (_M_sync): Minor tweak.
  4245. * include/bits/fstream.tcc (close): No need to call
  4246. _M_destroy_pback, setting _M_pback_init to false suffices
  4247. to clean up.
  4248. 2003-05-06 Benjamin Kosnik <bkoz@redhat.com>
  4249. * include/bits/stl_algo.h: Enums as _S_.
  4250. * include/bits/stl_tree.h: Same.
  4251. * include/bits/stl_bvector.h: Same.
  4252. * include/bits/ios_base.h: Same.
  4253. * include/bits/stl_alloc.h: Same.
  4254. * include/ext/stl_hashtable.h: Same.
  4255. * src/ios.cc: And here.
  4256. * include/std/std_sstream.h: Replace _M_really_sync to _M_sync.
  4257. * include/bits/sstream.tcc: Same.
  4258. * include/bits/basic_ios.h: Correct spacing for '< ctype'.
  4259. * include/bits/locale_facets.tcc: Replace __temp to __tmp.
  4260. * include/bits/locale_facets.h (__num_base): Remove protected.
  4261. Use _S_[io]* names for enumerations.
  4262. (_S_format_int): Remove.
  4263. * include/bits/locale_facets.tcc: Same.
  4264. * src/locale.cc: Same.
  4265. * include/std/std_sstream.h (stringbuf::str): Tweak formatting.
  4266. 2003-05-06 Phil Edwards <pme@gcc.gnu.org>
  4267. * docs/html/faq/index.html (3.10): Add note about mips atomicity.h.
  4268. * docs/html/faq/index.txt: Regenerated.
  4269. 2003-05-06 Michael Ritzert <Ritzert@t-online.de>
  4270. Matt Kraai <kraai@alumni.cmu.edu>
  4271. * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): Tweak.
  4272. And retweak.
  4273. 2003-05-06 Richard Sandiford <rsandifo@redhat.com>
  4274. * configure.target (mips*): Use the generic atomicity.h by default.
  4275. 2003-05-05 Loren J. Rittle <ljrittle@acm.org>
  4276. (Inspired by an alternate patch from Danny Smith.)
  4277. * include/bits/stl_threads.h (_Atomic_swap): Kill it...
  4278. (_Swap_lock_struct<>): ...and the horse it rode in on.
  4279. * src/globals.cc (_Swap_lock_struct<>): Likewise.
  4280. * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): New
  4281. member to support...
  4282. * include/ext/ropeimpl.h (rope<>::c_str): Follow *all* memory
  4283. visibility rules related to POSIX threads.
  4284. * testsuite/thread/pthread7-rope.cc: New test.
  4285. 2003-05-04 Paolo Carlini <pcarlini@unitus.it>
  4286. * testsuite/21_strings/basic_string/find/char/3.cc: New
  4287. file, testing basic_string<char>::find_first_not_of.
  4288. * testsuite/21_strings/basic_string/find/wchar_t/3.cc:
  4289. Likewise for basic_string<wchar_t>.
  4290. 2003-05-03 Loren J. Rittle <ljrittle@acm.org>
  4291. * testsuite/thread/pthread1.cc: Remove special case for FreeBSD.
  4292. 2003-05-02 Benjamin Kosnik <bkoz@redhat.com>
  4293. * include/Makefile.am (CLEANFILES): Remove PCH files in target
  4294. directory.
  4295. * include/Makefile.in: Regenerate.
  4296. 2003-05-02 Paolo Carlini <pcarlini@unitus.it>
  4297. * include/std/std_sstream.h (str()): Tidy.
  4298. 2003-05-02 Nathan Myers <ncm@cantrip.org>
  4299. Paolo Carlini <pcarlini@unitus.it>
  4300. * include/bits/streambuf.tcc (__copy_streambufs): Rewrote.
  4301. 2003-05-02 Jonathan Wakely <redi@gcc.gnu.org>
  4302. * include/bits/basic_string.h (swap): Remove redundant template
  4303. parameters from declaration of non-template member function.
  4304. 2003-05-01 Phil Edwards <pme@gcc.gnu.org>
  4305. * acconfig.h (_GLIBCPP_USE_NLS): New symbol.
  4306. * configure.in: Move libintl.h header test...
  4307. * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): ...to here. Gather all
  4308. the NLS-related test results into one symbol.
  4309. * src/functexcept.cc: Use it here.
  4310. * aclocal.m4, config.h.in, configure: Regenerated.
  4311. 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
  4312. * include/bits/sstream.tcc (overflow): Instead of calling
  4313. str(), then _M_string.reserve, thus copying the contents
  4314. of the current buffer two times, just copy the latter in
  4315. a temporary, then use the 'swap trick'.
  4316. 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
  4317. * include/std/std_sstream.h (str()): Revert the best of the
  4318. previous 'improvement', incorrect due to the COW nature of
  4319. v3 basic_string; simplify.
  4320. 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
  4321. * include/bits/streambuf.tcc (__copy_streambufs): Adjust the
  4322. type of __avail to ptrdiff_t to avoid signed-unsigned warning.
  4323. 2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
  4324. * testsuite/abi_check.cc (check_version): Update known versions.
  4325. Check added symbols for version_name != base version. Add missing
  4326. symbols to incompatible list.
  4327. 2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
  4328. * acinclude.m4 (GLIBCPP_EXPORT_FLAGS): Remove -Winline.
  4329. * aclocal.m4: Regenerated.
  4330. * configure: Regenerated.
  4331. 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
  4332. * include/bits/streambuf.tcc (basic_streambuf::xsgetn):
  4333. Const-ify some variables.
  4334. (basic_streambuf::xsputn): Likewise; change the type of some
  4335. variables to size_t.
  4336. (__copy_streambufs): Change some variables to size_t.
  4337. 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
  4338. * include/std/std_sstream.h (str()): Avoid constructing
  4339. a basic_string temporary not only when it would turn out
  4340. to be zero-sized but also when identical to the current
  4341. _M_string buffer.
  4342. 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
  4343. * include/ext/stdio_filebuf.h
  4344. (stdio_filebuf(int, std::ios_base::openmode, bool, size_t),
  4345. stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t)):
  4346. Shorten a bit (-10 lines) by factoring out some code.
  4347. 2003-04-30 Phil Edwards <pme@gcc.gnu.org>
  4348. * acinclude.m4: Add bit missing from previous patch.
  4349. * aclocal.m4, configure: Regenerated.
  4350. 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
  4351. * docs/doxygen/mainpage.html: Bring up to date.
  4352. * docs/doxygen/run_doxygen: Cosmetic tweaks. Work around a bug
  4353. in Doxygen.
  4354. * docs/doxygen/user.cfg.in: Scanning the precompiled headers
  4355. breaks everything. Don't scan them.
  4356. * docs/html/documentation.html: Point to "Write after approval"
  4357. notes.
  4358. 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
  4359. * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Search for gettext outside
  4360. of libc if message translations are being used. Fix info text in
  4361. xieee_1003.1-2001 case.
  4362. * aclocal.m4, configure: Regenerate.
  4363. 2003-04-29 Joel Sherrill <joel.sherrill@OARcorp.com>
  4364. Loren J. Rittle <ljrittle@acm.org>
  4365. Martin v. Löwis <martin@v.loewis.de>
  4366. * config/cpu/i386/atomicity.h: New file.
  4367. 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
  4368. * include/bits/fstream.tcc (open): Change to single return.
  4369. 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
  4370. * include/std/std_sstream.h (underflow): Change to single return.
  4371. 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
  4372. * include/std/std_streambuf.h (_M_buf): is currently
  4373. used only for basic_filebuf, therefore move it there.
  4374. (basic_streambuf(), ~basic_streambuf()): Adjust.
  4375. * include/std/std_fstream.h (_M_buf): Moved here.
  4376. * include/std/std_sstream.h (setbuf): Don't set _M_buf,
  4377. is actually redundant for basic_stringbuf.
  4378. (_M_really_sync): Likewise.
  4379. * include/bits/fstream.tcc (basic_filebuf()): Adjust.
  4380. * include/bits/sstream.tcc (seekoff): Adjust.
  4381. 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
  4382. * src/localename.cc: Standardize exception strings.
  4383. * src/locale.cc: Same.
  4384. * src/ios.cc: Same.
  4385. * include/bits/basic_string.tcc: Same.
  4386. * include/bits/basic_ios.tcc: Same.
  4387. * include/std/std_bitset.h: Same.
  4388. * include/ext/ropeimpl.h: Same.
  4389. * include/bits/stl_vector.h: Same.
  4390. * include/bits/stl_deque.h: Same.
  4391. * include/bits/stl_bvector.h: Same.
  4392. * config/locale/generic/c_locale.cc: Same.
  4393. * config/locale/gnu/c_locale.cc: Same.
  4394. * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
  4395. * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Modify.
  4396. 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
  4397. * include/std/std_streambuf.h (_M_buf_size): is currently
  4398. used only for basic_filebuf, therefore move it there.
  4399. (basic_streambuf(), ~basic_streambuf()): Adjust.
  4400. * include/std/std_fstream.h (_M_buf_size): Moved here.
  4401. * include/bits/fstream.tcc (basic_filebuf()): Adjust.
  4402. 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
  4403. * include/bits/streambuf.tcc (__copy_streambufs): Don't use
  4404. _M_buf_size (synced input is now correctly dealt with
  4405. elsewhere); when the output buffer is full don't fall back
  4406. to a snextc-sputc loop, call overflow instead.
  4407. 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
  4408. * include/bits/sstream.tcc (pbackfail): Shorten a bit (6 lines)
  4409. the innermost 'if' by factoring out some code.
  4410. 2003-04-28 Phil Edwards <pme@gcc.gnu.org>
  4411. * configure.in: Test for libintl.h.
  4412. * include/bits/c++config: Define __N for everybody.
  4413. * include/bits/basic_string.h, include/bits/stl_bvector.h,
  4414. include/bits/stl_deque.h, include/bits/stl_vector.h,
  4415. include/std/std_bitset.h: Wrap all __throw* text with __N.
  4416. * po/Makefile.am (pot): New rule, mostly working.
  4417. * src/functexcept.cc: Call gettext on all __throw* arguments when
  4418. -fexceptions is in effect.
  4419. * po/Makefile.in, config.h.in, configure: Regenerate.
  4420. 2003-04-28 Petur Runolfsson <peturr02@ru.is>
  4421. PR libstdc++/9523
  4422. * include/bits/ios_base.h (Init::_S_ios_create,
  4423. Init::_S_ios_destroy): Remove declarations.
  4424. (Init::_S_create_buffers,
  4425. Init::_S_destroy_buffers): Declare
  4426. * src/ios.cc (Init::_S_ios_create): Remove
  4427. (Init::_S_create_buffers): Create buffers and add to streams.
  4428. (Init::_S_ios_destroy): Rename to...
  4429. (Init::_S_destroy_buffers): this.
  4430. (Init::Init): Only construct streams once.
  4431. (Init::~Init): Flush streams, don't destroy them.
  4432. (ios_base::sync_with_stdio): Don't destroy streams, only buffers.
  4433. * testsuite/27_io/ios_base/sync_with_stdio/9523.cc: New test.
  4434. * testsuite/27_io/objects/char/5.cc: New test.
  4435. * testsuite/27_io/objects/char/5268.cc: Avoid undefined behavior.
  4436. * testsuite/27_io/objects/char/6.cc: New test.
  4437. * testsuite/27_io/objects/char/7.cc: New test.
  4438. 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
  4439. * testsuite/27_io/objects/char/8.cc: New test.
  4440. 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
  4441. * testsuite/22_locale/codecvt/unicode/char.cc: Remove bom usage.
  4442. * testsuite/22_locale/codecvt/unicode/wchar_t.cc: Same.
  4443. 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
  4444. * include/std/std_fstream.h (basic_filebuf): _M_pback_destroy to
  4445. _M_destroy_pback. _M_pback_create to
  4446. _M_create_pback. _M_underflow_common to
  4447. _M_underflow. _M_really_overflow to _M_overflow.
  4448. * include/bits/fstream.tcc: Same.
  4449. * src/fstream.cc: Same.
  4450. * include/std/std_streambuf.h (basic_streambuf): _M_in_cur_move to
  4451. _M_move_in_cur. _M_out_cur_move to _M_move_out_cur.
  4452. * include/bits/streambuf.tcc: Same.
  4453. * include/bits/fstream.tcc: Same.
  4454. * include/bits/sstream.tcc: Same.
  4455. 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
  4456. * include/bits/locale_classes.h (locale::_Impl): Change _M_names
  4457. from fixed size array.
  4458. (locale): Change _S_categories as well.
  4459. Formatting tweaks.
  4460. * include/bits/locale_facets.tcc: Tweak.
  4461. * config/locale/gnu/c_locale.cc: Assign _S_categories.
  4462. * config/locale/generic/c_locale.cc: Same.
  4463. * src/locale.cc: Tweak.
  4464. * src/globals.cc: Change facet_name to name_vec, add names_c.
  4465. * src/localename.cc: Use them.
  4466. (locale::_Impl::~_Impl): Destroy _M_names.
  4467. (locale::_Impl::_Impl): Create _M_names.
  4468. 2003-04-27 Andreas Schwab <schwab@suse.de>
  4469. * config/locale/ieee_1003.1-2001/codecvt_specializations.h
  4470. (__enc_traits): Use __ibom and __ebom instead of ignoring them.
  4471. 2003-04-27 Nathan Myers <ncm@cantrip.org>
  4472. Move some basic_string members out of line because
  4473. they are too big to reasonably be inline.
  4474. * include/bits/basic_string.h
  4475. (assign(const basic_string&, size_type, size_type),
  4476. assign(const _CharT*, size_type),
  4477. insert(size_type, const basic_string&, size_type, size_type),
  4478. insert(size_type, const _CharT*, size_type),
  4479. replace(size_type, size_type, const _CharT*, size_type)):
  4480. Move from here to...
  4481. * include/bits/basic_string.tcc: ...here.
  4482. 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
  4483. * include/bits/fstream.tcc (pbackfail): Shorten a bit (10 lines)
  4484. the innermost 'if' by factoring out some code.
  4485. 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
  4486. * include/bits/streambuf.tcc (__copy_streambufs): Don't
  4487. use in_avail(), simplify.
  4488. 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
  4489. * include/std/std_sstream.h (setbuf): don't set _M_buf_size,
  4490. in basic_stringbuf it's unused.
  4491. * include/std/std_sstream.h (underflow): consistently use
  4492. _M_in_cur, not gptr().
  4493. 2003-04-25 Ranjit Mathew <rmathew@hotmail.com>
  4494. Phil Edwards <pme@gcc.gnu.org>
  4495. * testsuite_flags.in: Guard against the possibility
  4496. of having "xgcc" as a part of a folder name in the
  4497. path to the GCC build folder.
  4498. * testsuite/Makefile.am: Likewise.
  4499. * testsuite/Makefile.in: Regenerated.
  4500. 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
  4501. PR libstdc++/10132
  4502. * include/std/std_fstream.h (basic_filebuf::is_open): Add throw()
  4503. exception specifications.
  4504. (basic_filebuf::close): Same.
  4505. (basic_filebuf::_M_pback_destroy): Same.
  4506. (basic_filebuf::_M_destroy_internal_buffer): Same.
  4507. (basic_filebuf): Remove __res_type typedef.
  4508. * src/fstream.cc: Same.
  4509. * include/bits/fstream.tcc
  4510. (basic_filebuf::_M_convert_to_external): Simplify.
  4511. (basic_filebuf::seekoff): Use has_facet before use_facet.
  4512. (basic_filebuf::close): Add exception specification of throw().
  4513. * testsuite/27_io/basic_filebuf/cons: New.
  4514. * testsuite/27_io/basic_filebuf/cons/wchar_t: New.
  4515. * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc: New.
  4516. * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: New.
  4517. * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: New.
  4518. 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
  4519. * include/bits/locale_classes.h
  4520. (locale::_S_extra_categories_size): Remove.
  4521. * src/locale.cc: Remove _S_extra_categories_size.
  4522. * src/localename.cc: Same.
  4523. * config/locale/gnu/c_locale.cc: Same.
  4524. * config/locale/generic/c_locale.cc: Same.
  4525. 2003-04-24 Richard Sandiford <rsandifo@redhat.com>
  4526. * src/localename.cc (__gnu_cxx::facet_vec): Correct types.
  4527. 2003-04-24 Phil Edwards <pme@gcc.gnu.org>
  4528. * docs/html/17_intro/howto.html: Update some links.
  4529. * docs/html/18_support/howto.html: Link doxygen numeric_limits notes.
  4530. * docs/html/27_io/howto.html: Link doxygen stdio_filebuf notes.
  4531. * docs/html/ext/howto.html: Link to demangler notes and API.
  4532. * docs/html/faq/index.html: Remove trailing whitespace.
  4533. (1.4, 2.4, 3.8, 4.1): Bring up to date.
  4534. (5.6): Change to a bulleted list.
  4535. * docs/html/faq/index.txt, docs/html/documentation.html,
  4536. docs/html/17_intro/porting.html: Regenerate.
  4537. 2003-04-23 Paolo Carlini <pcarlini@unitus.it>
  4538. * testsuite/27_io/basic_filebuf/3.cc: _S_pback_size now
  4539. belongs to basic_filebuf.
  4540. * testsuite/27_io/basic_fstream/3.cc: Likewise.
  4541. * testsuite/27_io/basic_ifstream/3.cc: Likewise.
  4542. * testsuite/27_io/basic_ios/3.cc: Remove _S_pback_size
  4543. instantiation (now belongs to basic_filebuf).
  4544. * testsuite/27_io/basic_iostream/3.cc: Likewise.
  4545. * testsuite/27_io/basic_istream/3.cc: Likewise.
  4546. * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
  4547. _S_pback_size now belongs to basic_filebuf.
  4548. * testsuite/27_io/basic_istringstream/3.cc: Remove _S_pback_size
  4549. instantiation (now belongs to basic_filebuf).
  4550. * testsuite/27_io/basic_ofstream/3.cc: _S_pback_size now
  4551. belongs to basic_filebuf.
  4552. * testsuite/27_io/basic_ostream/3.cc: Remove _S_pback_size
  4553. instantiation (now belongs to basic_filebuf).
  4554. * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc:
  4555. _S_pback_size now belongs to basic_filebuf.
  4556. * testsuite/27_io/basic_ostringstream/3.cc: Remove _S_pback_size
  4557. instantiation (now belongs to basic_filebuf).
  4558. * testsuite/27_io/basic_streambuf/3.cc: _S_pback_size now belongs
  4559. to basic_filebuf.
  4560. * testsuite/27_io/basic_stringbuf/3.cc: Remove _S_pback_size
  4561. instantiation (now belongs to basic_filebuf).
  4562. * testsuite/27_io/basic_stringstream/3.cc: Likewise.
  4563. 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
  4564. * configure.in: Move GLIBCPP_CHECK_PCH before native/cross conditions.
  4565. * configure: Regenerated.
  4566. 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
  4567. * config/locale/generic/c_locale.h (__convert_from_v): Use
  4568. attribute unused.
  4569. 2003-04-23 Phil Edwards <pme@gcc.gnu.org>
  4570. * docs/html/ext/howto.html ('LWG Issues'): Add issue 60, partial
  4571. implementation only.
  4572. * include/bits/istream.tcc (putback, unget, sync, tellg, seekg):
  4573. Comment and change to comply with DR 60 and the effect on gcount().
  4574. * include/std/std_istream.h: Update comments.
  4575. * testsuite/27_io/basic_istream/putback/char/1.cc (test01): Add
  4576. comments about reasons for tests. Test sync() against gcount().
  4577. * testsuite/27_io/basic_istream/seekg/char/2.cc: New file, test
  4578. for effect on gcount().
  4579. * testsuite/27_io/basic_istream/tellg/char/2.cc: New file, test
  4580. for effect on gcount().
  4581. 2003-04-22 Loren J. Rittle <ljrittle@acm.org>
  4582. * testsuite/27_io/basic_filebuf/close/char/9964.cc (test_07):
  4583. Adjust timing.
  4584. 2003-04-22 Paolo Carlini <pcarlini@unitus.it>
  4585. * include/std/std_streambuf.h (_S_pback_size, _M_pback,
  4586. _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
  4587. _M_pback_create(), _M_pback_destroy()): Move to basic_filebuf.
  4588. (basic_streambuf::basic_streambuf()): Adjust.
  4589. * include/std/std_fstream.h (_S_pback_size, _M_pback,
  4590. _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
  4591. _M_pback_create(), _M_pback_destroy()): Moved here
  4592. from basic_streambuf.
  4593. * include/bits/fstream.tcc (basic_filebuf::basic_filebuf()):
  4594. Adjust.
  4595. (basic_filebuf::_S_pback_size): Add declaration.
  4596. * include/bits/streambuf.tcc (basic_streambuf::_S_pback_size):
  4597. Remove declaration.
  4598. 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
  4599. Consistently use _M_in_beg instead of eback(), _M_in_cur
  4600. instead of gptr(), and so on.
  4601. * include/bits/fstream.tcc (pbackfail, imbue): Here.
  4602. * include/bits/sstream.tcc (pbackfail, seekoff, seekpos): Ditto.
  4603. * include/bits/streambuf.tcc (sbumpc, sputbackc,
  4604. __copy_streambufs): Ditto.
  4605. * include/std/std_streambuf.h (sgetc): Ditto.
  4606. 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
  4607. * include/bits/sstream.tcc (pbackfail, overflow):
  4608. Formatting fixes.
  4609. 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
  4610. * include/std/std_streambuf.h (uflow()): It's used only by
  4611. basic_stringbuf (i.e., basic_filebuf provide its own uflow()),
  4612. therefore do not consider the _M_buf_unified == true case.
  4613. * include/std/std_streambuf.h (sgetc()): Restore __ret variable.
  4614. 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
  4615. * docs/html/ext/howto.html ('LWG Issues'):
  4616. Add issues 19, 90, 171, 231, 271.
  4617. 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
  4618. * include/bits/sstream.tcc (pbackfail): Remove redundant
  4619. NULL pointer check from test involving _M_in_*.
  4620. (overflow, seekoff, seekpos): Const qualify bool variables.
  4621. * include/std/std_sstream.h (underflow): Remove redundant
  4622. NULL pointer check from test involving _M_in_*.
  4623. (_M_really_sync): Const qualify bool variables.
  4624. * src/fstream.cc (_M_underflow_common): Remove redundant
  4625. NULL pointer check from test involving _M_in_*, const qualify
  4626. bool variables.
  4627. * include/std/std_streambuf.h (sgetc): Remove redundant
  4628. variable.
  4629. 2003-04-18 Paolo Carlini <pcarlini@unitus.it>
  4630. According to 5.9 para 2 (second bullet) for pointers p, q
  4631. pointing to the same type, with p == 0 and q == 0, (p < q)
  4632. is false.
  4633. * include/bits/fstream.tcc (close, overflow, _M_really_overflow,
  4634. seekoff): Remove redundant NULL pointer checks from tests
  4635. involving _M_out_* and _M_in_*, const qualify bool variables.
  4636. (showmanyc, pbackfail, _M_convert_to_external, imbue): Const
  4637. qualify bool variables.
  4638. * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, sputc):
  4639. Remove redundant NULL pointer checks from tests involving
  4640. _M_out_* and _M_in_*, const qualify bool variables.
  4641. * include/std/std_fstream.h (sync): Likewise.
  4642. (_M_is_indeterminate): Const qualify bool variables.
  4643. * include/std/std_streambuf.h (sgetc, uflow): Remove redundant
  4644. NULL pointer checks from tests involving _M_out_* and _M_in_*,
  4645. const qualify bool variables.
  4646. (_M_in_cur_move, _M_out_cur_move, uflow): Const qualify bool
  4647. variables.
  4648. 2003-04-18 Loren J. Rittle <ljrittle@acm.org>
  4649. * include/c_std/std_cmath.h (C99 FP capture): Only undefine said
  4650. C99 FP macros, if actually captured.
  4651. * docs/html/17_intro/porting.texi (_GLIBCPP_USE_C99_CHECK): New macro.
  4652. (_GLIBCPP_USE_C99_DYNAMIC): New macro.
  4653. (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
  4654. (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
  4655. * config/os/bsd/freebsd/os_defines.h (_GLIBCPP_USE_C99_CHECK):
  4656. New macro.
  4657. (_GLIBCPP_USE_C99_DYNAMIC): New macro.
  4658. (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
  4659. (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
  4660. * include/c_std/std_cstdlib.h: Use new macros.
  4661. * include/c_std/std_cstdio.h: Use new macros.
  4662. * include/c_std/std_cwchar.h: Use new macros.
  4663. 2003-04-17 Benjamin Kosnik <bkoz@redhat.com>
  4664. PR libstdc++/9555
  4665. * include/bits/ostream.tcc: Catch all exceptions for formatted
  4666. output, instead of std::exception and derivatives.
  4667. * include/bits/istream.tcc: Same.
  4668. * testsuite/27_io/basic_ostream/inserters_arithmetic/char/9555-oa.cc:
  4669. * testsuite/27_io/basic_ostream/inserters_character/char/9555-oc.cc:
  4670. * testsuite/27_io/basic_ostream/inserters_other/char/9555-oo.cc:
  4671. * testsuite/27_io/basic_istream/extractors_arithmetic/char/9555-ia.cc:
  4672. * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
  4673. * testsuite/27_io/basic_istream/extractors_other/char/9555-io.cc:
  4674. New.
  4675. 2003-04-17 Phil Edwards <pme@gcc.gnu.org>
  4676. * include/bits/c++config: Minor cosmetic tweaks.
  4677. 2003-04-17 Loren J. Rittle <ljrittle@acm.org>
  4678. * testsuite_flags.in (PCHFLAGS): Find PCH in new home.
  4679. * include/Makefile.am (pch_input): Find in ${target_builddir}.
  4680. (pch_output): Rename to...
  4681. (pch_output_builddir): ..this. Find in ${target_builddir}.
  4682. (pch_source): Tweak.
  4683. (pch_build): Key off a built file.
  4684. (pch_output rule): Rename to...
  4685. (pch_input rule): ...this. Produce ${pch_output_builddir}
  4686. instead of ${pch_output}.
  4687. (install-pch rule): Install ${pch_output_builddir}.
  4688. * include/Makefile.in: Regenerated.
  4689. 2003-04-17 Paolo Carlini <pcarlini@unitus.it>
  4690. * include/std/std_streambuf.h (setp): _M_out_lim, being
  4691. the end limit of used put area, is set equal to _M_out_beg.
  4692. 2003-04-16 Benjamin Kosnik <bkoz@redhat.com>
  4693. * acinclude.m4 (GLIBCPP_CHECK_PCH): New.
  4694. * aclocal.m4: Regenerated.
  4695. * configure.in: Remove old demangler bits.
  4696. Call pch checks.
  4697. * configure: Regenerate.
  4698. * config.h.in: Regenerate.
  4699. * include/Makefile.am (allstamps): Now allstamped.
  4700. (allcreated): Define this.
  4701. (all-local): Use 'em.
  4702. Conditionally define pch_build, pch_install based on
  4703. GLIBCPP_BUILD_PCH.
  4704. (${pch_output}): New rule.
  4705. (install-pch): New rule.
  4706. (install-headers): New rule.
  4707. (install-data-local): Install headers and conditionally pch.
  4708. * include/Makefile.in: Regenerate.
  4709. * testsuite_flags.in (--build-cxx): Use pch file.
  4710. 2003-04-16 Jonathan Wakely <redi@gcc.gnu.org>
  4711. * docs/html/ext/sgiexts.html: Fix path to stylesheet.
  4712. 2003-04-15 Benjamin Kosnik <bkoz at redhat dot com>
  4713. Paolo Carlini <pcarlini at unitus dot it>
  4714. PR libstdc++/9423
  4715. * docs/html/27_io/howto.html
  4716. ('The buffering is screwing up my program!'): Explain that
  4717. opening counts as an I/O operation.
  4718. 2003-04-15 Andreas Tobler <a.tobler@schweiz.ch>
  4719. * testsuite/thread/pthread1.cc: Enable for darwin test.
  4720. * testsuite/thread/pthread2.cc: Same.
  4721. * testsuite/thread/pthread3.cc: Same.
  4722. * testsuite/thread/pthread4.cc: Same.
  4723. * testsuite/thread/pthread5.cc: Same.
  4724. * testsuite/thread/pthread6.cc: Same.
  4725. 2003-04-15 Loren J. Rittle <ljrittle@acm.org>
  4726. libstdc++/7680
  4727. * include/c_std/std_cmath.h (__gnu_cx::__c99_binding): New namespace.
  4728. Populate it with multiple legal ways to obtain the C99 float
  4729. transcendentals. Use them instead of direct global reference.
  4730. (C99 FP capture): Guard usage with _GLIBCPP_USE_C99_FP_MACROS_DYNAMIC.
  4731. * docs/html/17_intro/porting.texi
  4732. (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
  4733. (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
  4734. (_GLIBCPP_USE_C99_FP_MACROS_DYNAMIC): New macro.
  4735. * config/os/bsd/freebsd/os_defines.h
  4736. (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
  4737. (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
  4738. * testsuite/26_numerics/c_math_dynamic.cc: New file.
  4739. 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
  4740. Benjamin Kosnik <bkoz@redhat.com>
  4741. * config/os/generic/ctype_inline.h: Fix.
  4742. 2003-04-14 Benjamin Kosnik <bkoz@redhat.com>
  4743. * testsuite/testsuite_hooks.h
  4744. (__gnu_cxx_test::run_test_wrapped_generic_locale_exception_catcher):
  4745. Change to try_named_locale.
  4746. * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Same.
  4747. * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Use
  4748. try_named_locale.
  4749. * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
  4750. * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
  4751. * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Same.
  4752. * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Same.
  4753. * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Same.
  4754. * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Same.
  4755. * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Same.
  4756. * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Same.
  4757. * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Same.
  4758. * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Same.
  4759. * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Same.
  4760. * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Same.
  4761. * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Same.
  4762. * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Same.
  4763. * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Same.
  4764. * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
  4765. * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
  4766. * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
  4767. * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Same.
  4768. * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Same.
  4769. * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Same.
  4770. * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Same.
  4771. * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Same.
  4772. * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Same.
  4773. * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Same.
  4774. * testsuite/22_locale/collate/compare/char/1.cc: Same.
  4775. * testsuite/22_locale/collate/compare/char/2.cc: Same.
  4776. * testsuite/22_locale/collate/compare/char/3.cc: Same.
  4777. * testsuite/22_locale/collate/compare/wchar_t/1.cc: Same.
  4778. * testsuite/22_locale/collate/compare/wchar_t/2.cc: Same.
  4779. * testsuite/22_locale/collate/compare/wchar_t/3.cc: Same.
  4780. * testsuite/22_locale/collate/hash/char/2.cc: Same.
  4781. * testsuite/22_locale/collate/hash/wchar_t/2.cc: Same.
  4782. * testsuite/22_locale/collate/transform/char/2.cc: Same.
  4783. * testsuite/22_locale/collate/transform/char/3.cc: Same.
  4784. * testsuite/22_locale/collate/transform/wchar_t/2.cc: Same.
  4785. * testsuite/22_locale/collate/transform/wchar_t/3.cc: Same.
  4786. * testsuite/22_locale/collate_byname/1.cc: Same.
  4787. * testsuite/22_locale/ctype/is/char/2.cc: Same.
  4788. * testsuite/22_locale/ctype/is/wchar_t/2.cc: Same.
  4789. * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Same.
  4790. * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Same.
  4791. * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Same.
  4792. * testsuite/22_locale/facet/2.cc: Same.
  4793. * testsuite/22_locale/locale/cons/2.cc: Same.
  4794. * testsuite/22_locale/locale/cons/4.cc: Same.
  4795. * testsuite/22_locale/locale/cons/5.cc: Same.
  4796. * testsuite/22_locale/locale/cons/7.cc: Same.
  4797. * testsuite/22_locale/locale/cons/7222-c.cc: Same.
  4798. * testsuite/22_locale/locale/cons/7222-env.cc: Same.
  4799. * testsuite/22_locale/locale/global_locale_objects/2.cc: Same.
  4800. * testsuite/22_locale/messages/members/char/1.cc: Same.
  4801. * testsuite/22_locale/messages/members/char/2.cc: Same.
  4802. * testsuite/22_locale/messages/members/char/3.cc: Same.
  4803. * testsuite/22_locale/messages_byname/1.cc: Same.
  4804. * testsuite/22_locale/money_get/get/char/1.cc: Same.
  4805. * testsuite/22_locale/money_get/get/char/2.cc: Same.
  4806. * testsuite/22_locale/money_get/get/char/3.cc: Same.
  4807. * testsuite/22_locale/money_get/get/char/4.cc: Same.
  4808. * testsuite/22_locale/money_get/get/wchar_t/1.cc: Same.
  4809. * testsuite/22_locale/money_get/get/wchar_t/2.cc: Same.
  4810. * testsuite/22_locale/money_get/get/wchar_t/3.cc: Same.
  4811. * testsuite/22_locale/money_get/get/wchar_t/4.cc: Same.
  4812. * testsuite/22_locale/money_put/put/char/1.cc: Same.
  4813. * testsuite/22_locale/money_put/put/char/2.cc: Same.
  4814. * testsuite/22_locale/money_put/put/char/3.cc: Same.
  4815. * testsuite/22_locale/money_put/put/wchar_t/1.cc: Same.
  4816. * testsuite/22_locale/money_put/put/wchar_t/2.cc: Same.
  4817. * testsuite/22_locale/money_put/put/wchar_t/3.cc: Same.
  4818. * testsuite/22_locale/moneypunct/members/char/2.cc: Same.
  4819. * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Same.
  4820. * testsuite/22_locale/moneypunct_byname/1.cc: Same.
  4821. * testsuite/22_locale/num_get/get/char/1.cc: Same.
  4822. * testsuite/22_locale/num_get/get/char/2.cc: Same.
  4823. * testsuite/22_locale/num_get/get/char/3.cc: Same.
  4824. * testsuite/22_locale/num_get/get/char/5.cc: Same.
  4825. * testsuite/22_locale/num_get/get/char/6.cc: Same.
  4826. * testsuite/22_locale/num_get/get/wchar_t/1.cc: Same.
  4827. * testsuite/22_locale/num_get/get/wchar_t/2.cc: Same.
  4828. * testsuite/22_locale/num_get/get/wchar_t/3.cc: Same.
  4829. * testsuite/22_locale/num_get/get/wchar_t/5.cc: Same.
  4830. * testsuite/22_locale/num_get/get/wchar_t/6.cc: Same.
  4831. * testsuite/22_locale/num_put/put/char/1.cc: Same.
  4832. * testsuite/22_locale/num_put/put/char/2.cc: Same.
  4833. * testsuite/22_locale/num_put/put/char/3.cc: Same.
  4834. * testsuite/22_locale/num_put/put/char/5.cc: Same.
  4835. * testsuite/22_locale/num_put/put/wchar_t/1.cc: Same.
  4836. * testsuite/22_locale/num_put/put/wchar_t/2.cc: Same.
  4837. * testsuite/22_locale/num_put/put/wchar_t/3.cc: Same.
  4838. * testsuite/22_locale/num_put/put/wchar_t/5.cc: Same.
  4839. * testsuite/22_locale/numpunct/members/char/1.cc: Same.
  4840. * testsuite/22_locale/numpunct/members/char/2.cc: Same.
  4841. * testsuite/22_locale/numpunct/members/wchar_t/1.cc: Same.
  4842. * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Same.
  4843. * testsuite/22_locale/numpunct_byname/1.cc: Same.
  4844. * testsuite/22_locale/numpunct_byname/2.cc: Same.
  4845. * testsuite/22_locale/time_get/date_order/char/1.cc: Same.
  4846. * testsuite/22_locale/time_get/date_order/wchar_t/1.cc: Same.
  4847. * testsuite/22_locale/time_get/get_date/char/1.cc: Same.
  4848. * testsuite/22_locale/time_get/get_date/char/2.cc: Same.
  4849. * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Same.
  4850. * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Same.
  4851. * testsuite/22_locale/time_get/get_monthname/char/1.cc: Same.
  4852. * testsuite/22_locale/time_get/get_monthname/char/2.cc: Same.
  4853. * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Same.
  4854. * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Same.
  4855. * testsuite/22_locale/time_get/get_time/char/1.cc: Same.
  4856. * testsuite/22_locale/time_get/get_time/char/2.cc: Same.
  4857. * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Same.
  4858. * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Same.
  4859. * testsuite/22_locale/time_get/get_weekday/char/1.cc: Same.
  4860. * testsuite/22_locale/time_get/get_weekday/char/2.cc: Same.
  4861. * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Same.
  4862. * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Same.
  4863. * testsuite/22_locale/time_get/get_year/char/1.cc: Same.
  4864. * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Same.
  4865. * testsuite/22_locale/time_put/put/char/1.cc: Same.
  4866. * testsuite/22_locale/time_put/put/char/2.cc: Same.
  4867. * testsuite/22_locale/time_put/put/char/3.cc: Same.
  4868. * testsuite/22_locale/time_put/put/char/4.cc: Same.
  4869. * testsuite/22_locale/time_put/put/char/5.cc: Same.
  4870. * testsuite/22_locale/time_put/put/char/6.cc: Same.
  4871. * testsuite/22_locale/time_put/put/char/7.cc: Same.
  4872. * testsuite/22_locale/time_put/put/char/8.cc: Same.
  4873. * testsuite/22_locale/time_put/put/wchar_t/1.cc: Same.
  4874. * testsuite/22_locale/time_put/put/wchar_t/2.cc: Same.
  4875. * testsuite/22_locale/time_put/put/wchar_t/3.cc: Same.
  4876. * testsuite/22_locale/time_put/put/wchar_t/4.cc: Same.
  4877. * testsuite/22_locale/time_put/put/wchar_t/5.cc: Same.
  4878. * testsuite/22_locale/time_put/put/wchar_t/6.cc: Same.
  4879. * testsuite/22_locale/time_put/put/wchar_t/7.cc: Same.
  4880. * testsuite/22_locale/time_put/put/wchar_t/8.cc: Same.
  4881. * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Same.
  4882. * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Same.
  4883. * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc: Same.
  4884. * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Same.
  4885. * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Same.
  4886. 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
  4887. * configure.target (_cpu_incdir_fullpath): Solaris 2.9 uses
  4888. solaris includes, not generic.
  4889. 2003-04-14 Loren J. Rittle <ljrittle@acm.org>
  4890. * testsuite/26_numerics/c99_classification_macros_c.cc: Add XFAIL.
  4891. * include/std/std_bitset.h (_M_do_find_next): Fix -Wall nit.
  4892. * include/bits/concept_check.h: Fix multi-line comment.
  4893. * testsuite/17_intro/headers.cc (dg-options): Add -Wall -Wsystem-header
  4894. when target is *-*-freebsd*.
  4895. 2003-04-14 Nathan Myers <ncm@cantrip.org>
  4896. Paolo Carlini <pcarlini@unitus.it>
  4897. PR libstdc++/9701 (in_avail())
  4898. * include/std/std_streambuf.h (in_avail): Simplify, in_avail
  4899. doesn't care if there is anything in some putback cell.
  4900. * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Add.
  4901. * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Remove some
  4902. unused string literals.
  4903. 2003-04-14 Paolo Carlini <pcarlini@unitus.it>
  4904. * include/bits/fstream.tcc (basic_filebuf::setbuf): Don't set
  4905. _M_out_end, _M_set_indeterminate() does it.
  4906. 2003-04-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  4907. * os/hpux/ctype_inline.h: Replace with gnu-linux version.
  4908. 2003-04-12 David Edelsohn <edelsohn@gnu.org>
  4909. * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
  4910. Change basic_streambuf instantiation to "unsigned char".
  4911. * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
  4912. 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
  4913. Remove _M_buf_size_opt, use directly _M_buf_size instead.
  4914. * include/bits/fstream.tcc
  4915. (basic_filebuf::_M_allocate_internal_buffer, setbuf): Remove
  4916. references to _M_buf_size_opt.
  4917. * include/bits/sstream.tcc (basic_stringbuf::overflow): Likewise.
  4918. * include/bits/streambuf.tcc (__copy_streambufs): Likewise, rename
  4919. __bufsize to __in_avail and __size_opt to __buf_size.
  4920. * include/ext/stdio_filebuf.h (stdio_filebuf::stdio_filebuf): Likewise.
  4921. * include/std/std_sstream.h (_M_stringbuf_init, setbuf): Likewise.
  4922. * include/std/std_streambuf.h (~basic_streambuf(),
  4923. basic_streambuf()): Likewise, remove _M_buf_size_opt member.
  4924. * testsuite/27_io/basic_filebuf/close/char/3.cc: Set _M_buf_size.
  4925. * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
  4926. * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Likewise.
  4927. * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Likewise.
  4928. * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Likewise.
  4929. * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Likewise.
  4930. * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Likewise.
  4931. * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Likewise.
  4932. * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
  4933. * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
  4934. * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
  4935. * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
  4936. 2003-04-12 Paolo Carlini <pcarlini at unitus dot it>
  4937. * include/ext/stdio_filebuf.h
  4938. (stdio_filebuf::stdio_filebuf(int, openmode, bool, size_t),
  4939. stdio_filebuf::stdio_filebuf(__c_file*, openmode, size_t):
  4940. _M_buf_size_opt == 0 only means "not to use an allocated buffer"
  4941. since a stack-based buffer is used for small values of the size_t
  4942. parameter.
  4943. * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow).
  4944. If _M_buf_size != 0 flush out the buffer (any kind, stack-based too).
  4945. * testsuite/ext/stdio_filebuf_2.cc: New testfile.
  4946. 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
  4947. PR libstdc++/9533
  4948. * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: New.
  4949. * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Ditto.
  4950. 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
  4951. * testsuite/22_locale/locale/cons/3.cc: Split.
  4952. * testsuite/22_locale/locale/cons/7222-c.cc: New.
  4953. * testsuite/22_locale/locale/cons/7222-env.cc: New.
  4954. Check before trying to create a locale from the environment.
  4955. * testsuite/27_io/ios_base/state/1.cc (test02): Use "C" locale.
  4956. * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
  4957. Adjust includes.
  4958. 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
  4959. * testsuite/22_locale/ctype/is/char/3.cc (test03): Use the classic
  4960. locale to construct this hybrid locale, not the global locale.
  4961. 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
  4962. * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Add
  4963. instantiation for AIX.
  4964. * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
  4965. * testsuite/25_algorithms/min_max.cc: Same.
  4966. 2003-04-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  4967. * basic_file_stdio.cc (__basic_file<char>::close): Don't flush stream
  4968. twice. Always set _M_cfile to 0 when stream was open.
  4969. 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
  4970. Reshuffle 27_io testsuite.
  4971. * testsuite/27_io/filebuf.cc,
  4972. filebuf_members-1.tst, filebuf_members-1.txt, filebuf_members.cc,
  4973. filebuf_virtuals-1.tst, filebuf_virtuals-1.txt,
  4974. filebuf_virtuals-2.tst, filebuf_virtuals-3.tst,
  4975. filebuf_virtuals.cc, fpos.cc, fstream.cc, fstream_members.cc,
  4976. ifstream.cc, ifstream_members-1.tst, ifstream_members-1.txt,
  4977. ifstream_members.cc, instantiations.cc, ios.cc,
  4978. ios_base_callbacks.cc, ios_base_members_static-1.tst,
  4979. ios_base_members_static.cc, ios_base_storage.cc,
  4980. ios_base_types.cc, ios_ctor.cc, ios_init.cc,
  4981. ios_manip_basefield.cc, ios_manip_fmtflags.cc, ios_members.cc,
  4982. iostream.cc, iostream_members.cc, istream.cc,
  4983. istream_exception.cc, istream_extractor_char.cc,
  4984. istream_extractor_other-1.tst, istream_extractor_other-1.txt,
  4985. istream_extractor_other-2.tst, istream_extractor_other.cc,
  4986. istream_manip.cc, istream_seeks-1.tst, istream_seeks-1.txt,
  4987. istream_seeks-2.tst, istream_seeks-3.tst, istream_seeks.cc,
  4988. istream_sentry.cc, istream_unformatted-1.tst,
  4989. istream_unformatted-1.txt, istream_unformatted.cc,
  4990. istringstream.cc, istringstream_members.cc,
  4991. narrow_stream_objects.cc, ofstream.cc, ofstream_members-1.tst,
  4992. ofstream_members.cc, ostream.cc, ostream_exception.cc,
  4993. ostream_fail.cc, ostream_inserter_arith.cc,
  4994. ostream_inserter_char-1.tst, ostream_inserter_char-1.txt,
  4995. ostream_inserter_char.cc, ostream_inserter_other-1.tst,
  4996. ostream_inserter_other-2.tst, ostream_inserter_other.cc,
  4997. ostream_manip.cc, ostream_seeks-1.tst, ostream_seeks.cc,
  4998. ostream_sentry.cc, ostream_unformatted.cc, ostringstream.cc,
  4999. ostringstream_members.cc, standard_manipulators.cc, streambuf.cc,
  5000. streambuf_members.cc, stringbuf.cc, stringbuf_members.cc,
  5001. stringbuf_virtuals.cc, stringstream.cc, stringstream_members.cc,
  5002. wide_stream_objects.cc, istream_extractor_arith/01.cc,
  5003. istream_extractor_arith/02.cc, istream_extractor_arith/03.cc,
  5004. istream_extractor_arith/06.cc, istream_extractor_arith/07.cc,
  5005. istream_extractor_arith/08.cc, istream_extractor_arith/09.cc,
  5006. istream_extractor_arith/10.cc, istream_extractor_arith/11.cc,
  5007. istream_extractor_arith/12.cc, istream_extractor_arith/13.cc:
  5008. Split into...
  5009. * 27_io/basic_filebuf/1.cc: New.
  5010. * 27_io/basic_filebuf/2.cc: New.
  5011. * 27_io/basic_filebuf/3.cc: New.
  5012. * 27_io/basic_filebuf/4.cc: New.
  5013. * 27_io/basic_filebuf/close/char/1.cc: New.
  5014. * 27_io/basic_filebuf/close/char/2.cc: New.
  5015. * 27_io/basic_filebuf/close/char/3.cc: New.
  5016. * 27_io/basic_filebuf/close/char/4879.cc: New.
  5017. * 27_io/basic_filebuf/close/char/9964.cc: New.
  5018. * 27_io/basic_filebuf/imbue/char/1.cc: New.
  5019. * 27_io/basic_filebuf/imbue/char/9322.cc: New.
  5020. * 27_io/basic_filebuf/in_avail/char/1.cc: New.
  5021. * 27_io/basic_filebuf/is_open/char/1.cc: New.
  5022. * 27_io/basic_filebuf/open/char/1.cc: New.
  5023. * 27_io/basic_filebuf/open/char/2.cc: New.
  5024. * 27_io/basic_filebuf/open/char/3.cc: New.
  5025. * 27_io/basic_filebuf/open/char/9507.cc: New.
  5026. * 27_io/basic_filebuf/overflow/char/1.cc: New.
  5027. * 27_io/basic_filebuf/overflow/char/3599.cc: New.
  5028. * 27_io/basic_filebuf/overflow/char/9169.cc: New.
  5029. * 27_io/basic_filebuf/overflow/char/9182-2.cc: New.
  5030. * 27_io/basic_filebuf/overflow/char/9988.cc: New.
  5031. * 27_io/basic_filebuf/sbumpc/char/1.cc: New.
  5032. * 27_io/basic_filebuf/sbumpc/char/9825.cc: New.
  5033. * 27_io/basic_filebuf/seekoff/char/1.cc: New.
  5034. * 27_io/basic_filebuf/seekoff/char/2.cc: New.
  5035. * 27_io/basic_filebuf/seekpos/char/1.cc: New.
  5036. * 27_io/basic_filebuf/seekpos/char/2.cc: New.
  5037. * 27_io/basic_filebuf/setbuf/char/1.cc: New.
  5038. * 27_io/basic_filebuf/setbuf/char/2.cc: New.
  5039. * 27_io/basic_filebuf/setbuf/char/3.cc: New.
  5040. * 27_io/basic_filebuf/sgetc/char/1.cc: New.
  5041. * 27_io/basic_filebuf/sgetn/char/1.cc: New.
  5042. * 27_io/basic_filebuf/sgetn/char/2.cc: New.
  5043. * 27_io/basic_filebuf/snextc/char/1.cc: New.
  5044. * 27_io/basic_filebuf/sputbackc/char/1.cc: New.
  5045. * 27_io/basic_filebuf/sputbackc/char/9425.cc: New.
  5046. * 27_io/basic_filebuf/sputc/char/1.cc: New.
  5047. * 27_io/basic_filebuf/sputc/char/1057.cc: New.
  5048. * 27_io/basic_filebuf/sputc/char/9701-2.cc: New.
  5049. * 27_io/basic_filebuf/sputn/char/1.cc: New.
  5050. * 27_io/basic_filebuf/sputn/char/1057.cc: New.
  5051. * 27_io/basic_filebuf/sputn/char/9701-1.cc: New.
  5052. * 27_io/basic_filebuf/sungetc/char/1.cc: New.
  5053. * 27_io/basic_filebuf/sync/char/1057.cc: New.
  5054. * 27_io/basic_filebuf/sync/char/9182-1.cc: New.
  5055. * 27_io/basic_filebuf/underflow/char/10097.cc: New.
  5056. * 27_io/basic_fstream/1.cc: New.
  5057. * 27_io/basic_fstream/2.cc: New.
  5058. * 27_io/basic_fstream/3.cc: New.
  5059. * 27_io/basic_fstream/4.cc: New.
  5060. * 27_io/basic_fstream/rdbuf/char/2832.cc: New.
  5061. * 27_io/basic_ifstream/1.cc: New.
  5062. * 27_io/basic_ifstream/2.cc: New.
  5063. * 27_io/basic_ifstream/3.cc: New.
  5064. * 27_io/basic_ifstream/4.cc: New.
  5065. * 27_io/basic_ifstream/cons/char/1.cc: New.
  5066. * 27_io/basic_ifstream/open/char/1.cc: New.
  5067. * 27_io/basic_ifstream/rdbuf/char/2832.cc: New.
  5068. * 27_io/basic_ios/1.cc: New.
  5069. * 27_io/basic_ios/2.cc: New.
  5070. * 27_io/basic_ios/3.cc: New.
  5071. * 27_io/basic_ios/4.cc: New.
  5072. * 27_io/basic_ios/clear/char/1.cc: New.
  5073. * 27_io/basic_ios/cons/char/1.cc: New.
  5074. * 27_io/basic_ios/cons/char/2.cc: New.
  5075. * 27_io/basic_ios/cons/char/3.cc: New.
  5076. * 27_io/basic_ios/copyfmt/char/1.cc: New.
  5077. * 27_io/basic_ios/copyfmt/char/2.cc: New.
  5078. * 27_io/basic_ios/exceptions/char/1.cc: New.
  5079. * 27_io/basic_ios/locales/char/1.cc: New.
  5080. * 27_io/basic_iostream/1.cc: New.
  5081. * 27_io/basic_iostream/2.cc: New.
  5082. * 27_io/basic_iostream/3.cc: New.
  5083. * 27_io/basic_iostream/4.cc: New.
  5084. * 27_io/basic_istream/1.cc: New.
  5085. * 27_io/basic_istream/2.cc: New.
  5086. * 27_io/basic_istream/3.cc: New.
  5087. * 27_io/basic_istream/4.cc: New.
  5088. * 27_io/basic_istream/exceptions/char/9561.cc: New.
  5089. * 27_io/basic_istream/extractors_arithmetic/char/01.cc: New.
  5090. * 27_io/basic_istream/extractors_arithmetic/char/02.cc: New.
  5091. * 27_io/basic_istream/extractors_arithmetic/char/03.cc: New.
  5092. * 27_io/basic_istream/extractors_arithmetic/char/06.cc: New.
  5093. * 27_io/basic_istream/extractors_arithmetic/char/07.cc: New.
  5094. * 27_io/basic_istream/extractors_arithmetic/char/08.cc: New.
  5095. * 27_io/basic_istream/extractors_arithmetic/char/09.cc: New.
  5096. * 27_io/basic_istream/extractors_arithmetic/char/10.cc: New.
  5097. * 27_io/basic_istream/extractors_arithmetic/char/11.cc: New.
  5098. * 27_io/basic_istream/extractors_arithmetic/char/12.cc: New.
  5099. * 27_io/basic_istream/extractors_arithmetic/char/13.cc: New.
  5100. * 27_io/basic_istream/extractors_character/char/1.cc: New.
  5101. * 27_io/basic_istream/extractors_character/char/2.cc: New.
  5102. * 27_io/basic_istream/extractors_character/char/3.cc: New.
  5103. * 27_io/basic_istream/extractors_character/char/9826.cc: New.
  5104. * 27_io/basic_istream/extractors_other/char/1.cc: New.
  5105. * 27_io/basic_istream/extractors_other/char/2.cc: New.
  5106. * 27_io/basic_istream/extractors_other/char/3.cc: New.
  5107. * 27_io/basic_istream/extractors_other/char/9318-in.cc: New.
  5108. * 27_io/basic_istream/extractors_other/char/9424-in.cc: New.
  5109. * 27_io/basic_istream/get/char/1.cc: New.
  5110. * 27_io/basic_istream/get/char/2.cc: New.
  5111. * 27_io/basic_istream/getline/char/1.cc: New.
  5112. * 27_io/basic_istream/getline/char/2.cc: New.
  5113. * 27_io/basic_istream/getline/char/3.cc: New.
  5114. * 27_io/basic_istream/ignore/char/1.cc: New.
  5115. * 27_io/basic_istream/ignore/char/6360.cc: New.
  5116. * 27_io/basic_istream/ignore/char/7220.cc: New.
  5117. * 27_io/basic_istream/peek/char/1.cc: New.
  5118. * 27_io/basic_istream/peek/char/6414.cc: New.
  5119. * 27_io/basic_istream/putback/char/1.cc: New.
  5120. * 27_io/basic_istream/read/char/1.cc: New.
  5121. * 27_io/basic_istream/read/char/2.cc: New.
  5122. * 27_io/basic_istream/read/char/3.cc: New.
  5123. * 27_io/basic_istream/readsome/char/6746-1.cc: New.
  5124. * 27_io/basic_istream/readsome/char/6746-2.cc: New.
  5125. * 27_io/basic_istream/readsome/char/8258.cc: New.
  5126. * 27_io/basic_istream/seekg/char/2346-fstream.cc: New.
  5127. * 27_io/basic_istream/seekg/char/2346-sstream.cc: New.
  5128. * 27_io/basic_istream/seekg/char/8348-1.cc: New.
  5129. * 27_io/basic_istream/seekg/char/8348-2.cc: New.
  5130. * 27_io/basic_istream/seekg/char/fstream.cc: New.
  5131. * 27_io/basic_istream/seekg/char/sstream.cc: New.
  5132. * 27_io/basic_istream/sentry/char/1.cc: New.
  5133. * 27_io/basic_istream/sentry/char/2.cc: New.
  5134. * 27_io/basic_istream/sentry/char/3.cc: New.
  5135. * 27_io/basic_istream/sentry/char/3983-fstream.cc: New.
  5136. * 27_io/basic_istream/sentry/char/3983-sstream.cc: New.
  5137. * 27_io/basic_istream/tellg/char/1.cc: New.
  5138. * 27_io/basic_istream/tellg/char/8348.cc: New.
  5139. * 27_io/basic_istream/tellg/char/fstream.cc: New.
  5140. * 27_io/basic_istream/tellg/char/sstream.cc: New.
  5141. * 27_io/basic_istream/ws/char/1.cc: New.
  5142. * 27_io/basic_istringstream/1.cc: New.
  5143. * 27_io/basic_istringstream/2.cc: New.
  5144. * 27_io/basic_istringstream/3.cc: New.
  5145. * 27_io/basic_istringstream/4.cc: New.
  5146. * 27_io/basic_istringstream/rdbuf/char/2832.cc: New.
  5147. * 27_io/basic_istringstream/str/char/1.cc: New.
  5148. * 27_io/basic_ofstream/1.cc: New.
  5149. * 27_io/basic_ofstream/2.cc: New.
  5150. * 27_io/basic_ofstream/3.cc: New.
  5151. * 27_io/basic_ofstream/4.cc: New.
  5152. * 27_io/basic_ofstream/cons/char/2.cc: New.
  5153. * 27_io/basic_ofstream/open/char/1.cc: New.
  5154. * 27_io/basic_ofstream/rdbuf/char/2832.cc: New.
  5155. * 27_io/basic_ostream/1.cc: New.
  5156. * 27_io/basic_ostream/2.cc: New.
  5157. * 27_io/basic_ostream/3.cc: New.
  5158. * 27_io/basic_ostream/4.cc: New.
  5159. * 27_io/basic_ostream/cons/char/9827.cc: New.
  5160. * 27_io/basic_ostream/endl/char/1.cc: New.
  5161. * 27_io/basic_ostream/ends/char/1.cc: New.
  5162. * 27_io/basic_ostream/ends/char/2.cc: New.
  5163. * 27_io/basic_ostream/exceptions/char/9561.cc: New.
  5164. * 27_io/basic_ostream/flush/char/1.cc: New.
  5165. * 27_io/basic_ostream/inserters_arithmetic/char/1.cc: New.
  5166. * 27_io/basic_ostream/inserters_arithmetic/char/2.cc: New.
  5167. * 27_io/basic_ostream/inserters_arithmetic/char/3.cc: New.
  5168. * 27_io/basic_ostream/inserters_arithmetic/char/4.cc: New.
  5169. * 27_io/basic_ostream/inserters_arithmetic/char/4402.cc: New.
  5170. * 27_io/basic_ostream/inserters_arithmetic/char/5.cc: New.
  5171. * 27_io/basic_ostream/inserters_arithmetic/char/6.cc: New.
  5172. * 27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc: New.
  5173. * 27_io/basic_ostream/inserters_character/char/1.cc: New.
  5174. * 27_io/basic_ostream/inserters_character/char/2.cc: New.
  5175. * 27_io/basic_ostream/inserters_character/char/3.cc: New.
  5176. * 27_io/basic_ostream/inserters_character/char/4.cc: New.
  5177. * 27_io/basic_ostream/inserters_character/char/5.cc: New.
  5178. * 27_io/basic_ostream/inserters_character/char/6.cc: New.
  5179. * 27_io/basic_ostream/inserters_character/char/8.cc: New.
  5180. * 27_io/basic_ostream/inserters_character/wchar_t/7.cc: New.
  5181. * 27_io/basic_ostream/inserters_character/wchar_t/8.cc: New.
  5182. * 27_io/basic_ostream/inserters_other/char/1.cc: New.
  5183. * 27_io/basic_ostream/inserters_other/char/2.cc: New.
  5184. * 27_io/basic_ostream/inserters_other/char/3.cc: New.
  5185. * 27_io/basic_ostream/inserters_other/char/4.cc: New.
  5186. * 27_io/basic_ostream/inserters_other/char/9318-out.cc: New.
  5187. * 27_io/basic_ostream/inserters_other/char/9424-out.cc: New.
  5188. * 27_io/basic_ostream/sentry/char/1.cc: New.
  5189. * 27_io/basic_ostream/sentry/char/2.cc: New.
  5190. * 27_io/basic_ostream/sentry/char/3983-fstream.cc: New.
  5191. * 27_io/basic_ostream/sentry/char/3983-sstream.cc: New.
  5192. * 27_io/basic_ostream/tellp/char/1.cc: New.
  5193. * 27_io/basic_ostream/tellp/char/2.cc: New.
  5194. * 27_io/basic_ostringstream/1.cc: New.
  5195. * 27_io/basic_ostringstream/2.cc: New.
  5196. * 27_io/basic_ostringstream/3.cc: New.
  5197. * 27_io/basic_ostringstream/4.cc: New.
  5198. * 27_io/basic_ostringstream/cons/char/3.cc: New.
  5199. * 27_io/basic_ostringstream/rdbuf/char/2832.cc: New.
  5200. * 27_io/basic_ostringstream/str/char/1.cc: New.
  5201. * 27_io/basic_ostringstream/str/char/2.cc: New.
  5202. * 27_io/basic_streambuf/1.cc: New.
  5203. * 27_io/basic_streambuf/2.cc: New.
  5204. * 27_io/basic_streambuf/3.cc: New.
  5205. * 27_io/basic_streambuf/cons/char/1.cc: New.
  5206. * 27_io/basic_streambuf/imbue/char/1.cc: New.
  5207. * 27_io/basic_streambuf/imbue/char/9322.cc: New.
  5208. * 27_io/basic_streambuf/overflow/char/1.cc: New.
  5209. * 27_io/basic_streambuf/overflow/char/2.cc: New.
  5210. * 27_io/basic_streambuf/overflow/char/3599.cc: New.
  5211. * 27_io/basic_streambuf/sgetc/char/1.cc: New.
  5212. * 27_io/basic_streambuf/sgetn/char/1.cc: New.
  5213. * 27_io/basic_streambuf/sputbackc/char/9538.cc: New.
  5214. * 27_io/basic_streambuf/sputc/char/1057.cc: New.
  5215. * 27_io/basic_streambuf/sputn/char/1.cc: New.
  5216. * 27_io/basic_streambuf/sputn/char/1057.cc: New.
  5217. * 27_io/basic_streambuf/sync/char/1057.cc: New.
  5218. * 27_io/basic_stringbuf/1.cc: New.
  5219. * 27_io/basic_stringbuf/2.cc: New.
  5220. * 27_io/basic_stringbuf/3.cc: New.
  5221. * 27_io/basic_stringbuf/4.cc: New.
  5222. * 27_io/basic_stringbuf/5.cc: New.
  5223. * 27_io/basic_stringbuf/imbue/char/1.cc: New.
  5224. * 27_io/basic_stringbuf/imbue/char/9322.cc: New.
  5225. * 27_io/basic_stringbuf/in_avail/char/1.cc: New.
  5226. * 27_io/basic_stringbuf/overflow/char/2.cc: New.
  5227. * 27_io/basic_stringbuf/overflow/char/3599.cc: New.
  5228. * 27_io/basic_stringbuf/overflow/char/9988.cc: New.
  5229. * 27_io/basic_stringbuf/sbumpc/char/1.cc: New.
  5230. * 27_io/basic_stringbuf/sbumpc/char/9825.cc: New.
  5231. * 27_io/basic_stringbuf/seekoff/char/1.cc: New.
  5232. * 27_io/basic_stringbuf/seekoff/char/2.cc: New.
  5233. * 27_io/basic_stringbuf/seekpos/char/1.cc: New.
  5234. * 27_io/basic_stringbuf/seekpos/char/2.cc: New.
  5235. * 27_io/basic_stringbuf/setbuf/char/1.cc: New.
  5236. * 27_io/basic_stringbuf/setbuf/char/2.cc: New.
  5237. * 27_io/basic_stringbuf/setbuf/char/3.cc: New.
  5238. * 27_io/basic_stringbuf/sgetc/char/1.cc: New.
  5239. * 27_io/basic_stringbuf/sgetn/char/1.cc: New.
  5240. * 27_io/basic_stringbuf/snextc/char/1.cc: New.
  5241. * 27_io/basic_stringbuf/sputbackc/char/1.cc: New.
  5242. * 27_io/basic_stringbuf/sputbackc/char/9425.cc: New.
  5243. * 27_io/basic_stringbuf/sputc/char/1.cc: New.
  5244. * 27_io/basic_stringbuf/sputc/char/1057.cc: New.
  5245. * 27_io/basic_stringbuf/sputc/char/9404-1.cc: New.
  5246. * 27_io/basic_stringbuf/sputn/char/1.cc: New.
  5247. * 27_io/basic_stringbuf/sputn/char/1057.cc: New.
  5248. * 27_io/basic_stringbuf/sputn/char/9404-2.cc: New.
  5249. * 27_io/basic_stringbuf/str/char/1.cc: New.
  5250. * 27_io/basic_stringbuf/str/char/2.cc: New.
  5251. * 27_io/basic_stringbuf/str/char/3.cc: New.
  5252. * 27_io/basic_stringbuf/str/char/3955.cc: New.
  5253. * 27_io/basic_stringbuf/sungetc/char/1.cc: New.
  5254. * 27_io/basic_stringbuf/sync/char/1057.cc: New.
  5255. * 27_io/basic_stringstream/1.cc: New.
  5256. * 27_io/basic_stringstream/2.cc: New.
  5257. * 27_io/basic_stringstream/3.cc: New.
  5258. * 27_io/basic_stringstream/4.cc: New.
  5259. * 27_io/basic_stringstream/rdbuf/char/2832.cc: New.
  5260. * 27_io/basic_stringstream/str/char/1.cc: New.
  5261. * 27_io/basic_stringstream/str/char/2.cc: New.
  5262. * 27_io/basic_stringstream/str/char/3.cc: New.
  5263. * 27_io/basic_stringstream/str/char/4.cc: New.
  5264. * 27_io/fpos/1.cc: New.
  5265. * 27_io/fpos/2.cc: New.
  5266. * 27_io/fpos/3.cc: New.
  5267. * 27_io/ios_base/callbacks/1.cc: New.
  5268. * 27_io/ios_base/state/1.cc: New.
  5269. * 27_io/ios_base/storage/1.cc: New.
  5270. * 27_io/ios_base/storage/2.cc: New.
  5271. * 27_io/ios_base/storage/3.cc: New.
  5272. * 27_io/ios_base/sync_with_stdio/1.cc: New.
  5273. * 27_io/ios_base/sync_with_stdio/2.cc: New.
  5274. * 27_io/manipulators/adjustfield/char/1.cc: New.
  5275. * 27_io/manipulators/adjustfield/char/2.cc: New.
  5276. * 27_io/manipulators/basefield/char/1.cc: New.
  5277. * 27_io/manipulators/standard/char/1.cc: New.
  5278. * 27_io/manipulators/standard/char/2.cc: New.
  5279. * 27_io/objects/char/1.cc: New.
  5280. * 27_io/objects/char/2.cc: New.
  5281. * 27_io/objects/char/2523-1_xin.cc: New.
  5282. * 27_io/objects/char/2523-1_xin.in: New.
  5283. * 27_io/objects/char/2523-2_xin.cc: New.
  5284. * 27_io/objects/char/2523-2_xin.in: New.
  5285. * 27_io/objects/char/3045.cc: New.
  5286. * 27_io/objects/char/3647.cc: New.
  5287. * 27_io/objects/char/3_xin.cc: New.
  5288. * 27_io/objects/char/3_xin.in: New.
  5289. * 27_io/objects/char/4_xin.cc: New.
  5290. * 27_io/objects/char/4_xin.in: New.
  5291. * 27_io/objects/char/5268.cc: New.
  5292. * 27_io/objects/char/5280_xin.cc: New.
  5293. * 27_io/objects/char/5280_xin.in: New.
  5294. * 27_io/objects/char/6548_xin.cc: New.
  5295. * 27_io/objects/char/6548_xin.in: New.
  5296. * 27_io/objects/char/6648-1_xin.cc: New.
  5297. * 27_io/objects/char/6648-1_xin.in: New.
  5298. * 27_io/objects/char/6648-2_xin.cc: New.
  5299. * 27_io/objects/char/6648-2_xin.in: New.
  5300. * 27_io/objects/char/7744_xin.cc: New.
  5301. * 27_io/objects/char/7744_xin.in: New.
  5302. * 27_io/objects/wchar_t/1.cc: New.
  5303. * 27_io/types/1.cc: New.
  5304. * 27_io/types/2.cc: New.
  5305. * data/filebuf_members-1.tst: New.
  5306. * data/filebuf_members-1.txt: New.
  5307. * data/filebuf_virtuals-1.tst: New.
  5308. * data/filebuf_virtuals-1.txt: New.
  5309. * data/filebuf_virtuals-2.tst: New.
  5310. * data/filebuf_virtuals-3.tst: New.
  5311. * data/ifstream_members-1.tst: New.
  5312. * data/ifstream_members-1.txt: New.
  5313. * data/ios_base_members_static-1.tst: New.
  5314. * data/istream_extractor_other-1.tst: New.
  5315. * data/istream_extractor_other-1.txt: New.
  5316. * data/istream_extractor_other-2.tst: New.
  5317. * data/istream_seeks-1.tst: New.
  5318. * data/istream_seeks-1.txt: New.
  5319. * data/istream_seeks-2.tst: New.
  5320. * data/istream_seeks-3.tst: New.
  5321. * data/istream_unformatted-1.tst: New.
  5322. * data/istream_unformatted-1.txt: New.
  5323. * data/ofstream_members-1.tst: New.
  5324. * data/ostream_inserter_char-1.tst: New.
  5325. * data/ostream_inserter_char-1.txt: New.
  5326. * data/ostream_inserter_other-1.tst: New.
  5327. * data/ostream_inserter_other-2.tst: New.
  5328. * data/ostream_seeks-1.tst: New.
  5329. 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
  5330. * include/bits/sstream.tcc (basic_stringbuf::seekpos): Remove
  5331. requirement that __mode must be strict input or output.
  5332. * include/std/std_streambuf.h (basic_streambuf::setp): Set
  5333. _M_out_lim.
  5334. * include/std/std_sstream.h (basic_strinbuf::str): Zero length
  5335. output string shouldn't core.
  5336. (basic_stringbuf::_M_really_sync): Add base argument. Remove rturn
  5337. type.
  5338. * include/bits/sstream.tcc: Adjust _M_really_sync bits here.
  5339. * include/bits/istream.tcc (basic_istream::putback): Set gcount to
  5340. zero.
  5341. 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
  5342. * testsuite/data: New directory.
  5343. * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
  5344. to copy files from the testsuite data directory.
  5345. (libstdc++-v3-list-sourcefiles): Add another test list filter, for
  5346. testfiles containing _xin, which now means this is an interactive
  5347. test and should be run with the interactive dejagnu hooks.
  5348. * testsuite/Makefile.am: Remove testsuite_* files.
  5349. * testsuite/Makefile.in: Regenerate.
  5350. 2003-04-09 Zack Weinberg <zack@codesourcery.com>
  5351. * docs/html/install.html: Document complete list of locales
  5352. required by test suite. Document procedure for installing
  5353. said locales under Debian. Solicit instructions for other
  5354. operating systems.
  5355. 2003-04-08 Alexandre Oliva <aoliva@redhat.com>
  5356. * include/bits/sstream.tcc (overflow): Make sure operands of min
  5357. and max have the same type.
  5358. 2003-04-04 Jerry Quinn <jlquinn@optonline.net>
  5359. PR libstdc++/10276
  5360. * src/ios.cc (ios_base::_M_init): Remove _M_callbacks
  5361. initialization.
  5362. 2003-03-31 Paolo Carlini <pcarlini@unitus.it>
  5363. * include/std/std_streambuf.h (_M_out_buf_size()): Remove.
  5364. * include/bits/fstream.tcc (_M_allocate_internal_buffer):
  5365. Don't set _M_out_end.
  5366. (basic_filebuf::overflow): Replace _M_out_buf_size() with
  5367. this->_M_out_cur && this->_M_out_cur < this->_M_out_end.
  5368. * include/bits/sstream.tcc (basic_stringbuf::overflow):
  5369. Replace _M_out_buf_size() with this->_M_out_cur < this->_M_out_end;
  5370. * include/bits/streambuf.tcc (basic_streambuf::sputc):
  5371. Replace _M_out_buf_size() with _M_out_cur && _M_out_cur < _M_out_end.
  5372. (basic_streambuf::xsputn): Replace _M_out_buf_size() with
  5373. _M_out_end - _M_out_cur.
  5374. (__copy_streambufs): Likewise.
  5375. * include/std/std_fstream.h (_M_set_determinate): Set
  5376. _M_out_end here.
  5377. 2003-03-30 Paolo Carlini <pcarlini@unitus.it>
  5378. * include/bits/fstream.tcc (basic_filebuf::showmanyc,
  5379. _M_convert_to_external, _M_really_overflow, seekoff): Fix
  5380. test for synced buffer.
  5381. * include/std/std_fstream.h (sync): Likewise.
  5382. * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
  5383. basic_filebuf<wchar_t>::_M_underflow_common): Likewise.
  5384. 2003-03-28 Benjamin Kosnik <bkoz@redhat.com>
  5385. * include/std/std_sstream.h (basic_istringstream): Adjust
  5386. initialization.
  5387. (basic_ostringstream): Same.
  5388. (basic_stringstream): Same.
  5389. * include/std/std_fstream.h (basic_ifstream): Adjust initialization.
  5390. (basic_ofstream): Same.
  5391. (basic_fstream): Same.
  5392. * include/std/std_ostream.h (basic_ostrem): Add protected ctor
  5393. that does not call init.
  5394. * include/std/std_istream.h (basic_istream): Same.
  5395. (basic_iostream): Construct istream, ostream uninitialized, use
  5396. init to initialize just once. Add protected ctor that does not
  5397. call init.
  5398. 2003-03-28 Paolo Carlini <pcarlini@unitus.it>
  5399. Nathan Myers <ncm@cantrip.org>
  5400. PR libstdc++/9533
  5401. * include/bits/fstream.tcc (basic_filebuf<>::open): Don't
  5402. call underflow().
  5403. (basic_filebuf<>::showmanyc): Use the information provided
  5404. by codecvt and __basic_file<>::showmanyc_helper to implement
  5405. a non-trivial showmanyc.
  5406. * config/io/basic_file_stdio.h
  5407. (__basic_file<>::showmanyc_helper): New, declare.
  5408. * config/io/basic_file_stdio.cc
  5409. (__basic_file<>::showmanyc_helper): Define.
  5410. (__basic_file<>::_M_open_mode): Don't set O_NONBLOCK.
  5411. (__basic_file<char>::open): Don't call fcntl().
  5412. * acinclude.m4 (GLIBCPP_CHECK_S_ISREG_OR_S_IFREG,
  5413. GLIBCPP_CHECK_POLL): New macros.
  5414. * configure.in: Call here.
  5415. * acconfig.h: Add #undefs for the corresponding symbols.
  5416. * aclocal.m4: Regenerate.
  5417. * configure: Regenerate.
  5418. * config.h.in: Regenerate.
  5419. 2003-03-24 Benjamin Kosnik <bkoz@redhat.com>
  5420. * config/linker-map.gnu: Remove string export restrictions.
  5421. 2003-03-24 Paolo Carlini <pcarlini@unitus.it>
  5422. * testsuite/21_strings/basic_string/find/char/1.cc: Remove
  5423. find_first_of, find_last_of and find_last_not_of tests.
  5424. * testsuite/21_strings/basic_string/find/char/2.cc: find_first_of
  5425. tests here, new file.
  5426. * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Likewise,
  5427. remove wchar_t find_first_of, find_last_of and find_last_not_of tests.
  5428. * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Likewise,
  5429. wchar_t find_first_of tests here, new file.
  5430. * testsuite/21_strings/basic_string/rfind/char/2.cc: find_last_of
  5431. tests here.
  5432. * testsuite/21_strings/basic_string/rfind/char/3.cc: find_last_not_of
  5433. tests here.
  5434. * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: likewise,
  5435. wchar_t find_last_of tests here.
  5436. * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: likewise,
  5437. wchar_t find_last_not_of tests here.
  5438. 2003-03-22 Loren J. Rittle <ljrittle@acm.org>
  5439. * config/os/hpux/ctype_noninline.h (ctype<char>::classic_table):
  5440. Correct return value.
  5441. 2003-03-21 Jerry Quinn <jlquinn@optonline.net>
  5442. PR libstdc++/5730
  5443. * include/bits/c++config (_GLIBCPP_FAST_MATH): Define.
  5444. * include/std/std_complex.h (norm): Use faster,
  5445. less accurate computation for builtin float types under --fast-math.
  5446. 2003-03-21 Magnus Fromreide <gnats@magfr.user.lysator.liu.se>
  5447. * testsuite/testsuite_hooks.h: Fix warning nits.
  5448. 2003-03-19 Alexandre Oliva <aoliva@redhat.com>
  5449. * config/cpu/mips/atomicity.h (__exchange_and_add, __atomic_add):
  5450. Only .set mips2 for the o32 ABI.
  5451. 2003-03-19 Paolo Carlini <pcarlini@unitus.it>
  5452. * testsuite/21_strings/char_traits/requirements/char/1.cc:
  5453. Test char not wchar_t.
  5454. 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
  5455. * testsuite/21_strings/basic_string/append/wchar_t/1.cc:
  5456. Correct size, taking into account sizeof(wchar_t).
  5457. 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
  5458. Reshuffle 21_strings testsuite.
  5459. * testsuite/21_strings/append.cc, c_strings.cc, invariants.cc,
  5460. assign.cc, ctor_copy_dtor.cc, nonmember.cc, capacity.cc,
  5461. element_access.cc, operations.cc, char_traits_requirements.cc,
  5462. find.cc, replace.cc, char_traits_typedefs.cc, insert.cc, rfind.cc,
  5463. compare.cc, inserters_extractors.cc, substr.cc: Split up, add
  5464. wchar_t tests as follows.
  5465. * 21_strings/basic_string/append/char/1.cc: New.
  5466. * 21_strings/basic_string/append/wchar_t/1.cc: New.
  5467. * 21_strings/basic_string/assign/char/1.cc: New.
  5468. * 21_strings/basic_string/assign/char/2.cc: New.
  5469. * 21_strings/basic_string/assign/char/3.cc: New.
  5470. * 21_strings/basic_string/assign/wchar_t/1.cc: New.
  5471. * 21_strings/basic_string/assign/wchar_t/2.cc: New.
  5472. * 21_strings/basic_string/assign/wchar_t/3.cc: New.
  5473. * 21_strings/basic_string/capacity/1.cc: New.
  5474. * 21_strings/basic_string/capacity/char/1.cc: New.
  5475. * 21_strings/basic_string/capacity/char/2.cc: New.
  5476. * 21_strings/basic_string/capacity/wchar_t/1.cc: New.
  5477. * 21_strings/basic_string/capacity/wchar_t/2.cc: New.
  5478. * 21_strings/basic_string/compare/char/1.cc: New.
  5479. * 21_strings/basic_string/compare/wchar_t/1.cc: New.
  5480. * 21_strings/basic_string/cons/char/1.cc: New.
  5481. * 21_strings/basic_string/cons/char/2.cc: New.
  5482. * 21_strings/basic_string/cons/char/3.cc: New.
  5483. * 21_strings/basic_string/cons/char/4.cc: New.
  5484. * 21_strings/basic_string/cons/char/5.cc: New.
  5485. * 21_strings/basic_string/cons/wchar_t/1.cc: New.
  5486. * 21_strings/basic_string/cons/wchar_t/2.cc: New.
  5487. * 21_strings/basic_string/cons/wchar_t/3.cc: New.
  5488. * 21_strings/basic_string/cons/wchar_t/4.cc: New.
  5489. * 21_strings/basic_string/cons/wchar_t/5.cc: New.
  5490. * 21_strings/basic_string/element_access/char/1.cc: New.
  5491. * 21_strings/basic_string/element_access/char/2.cc: New.
  5492. * 21_strings/basic_string/element_access/char/3.cc: New.
  5493. * 21_strings/basic_string/element_access/wchar_t/1.cc: New.
  5494. * 21_strings/basic_string/element_access/wchar_t/2.cc: New.
  5495. * 21_strings/basic_string/element_access/wchar_t/3.cc: New.
  5496. * 21_strings/basic_string/find/char/1.cc: New.
  5497. * 21_strings/basic_string/find/wchar_t/1.cc: New.
  5498. * 21_strings/basic_string/insert/char/1.cc: New.
  5499. * 21_strings/basic_string/insert/char/2.cc: New.
  5500. * 21_strings/basic_string/insert/wchar_t/1.cc: New.
  5501. * 21_strings/basic_string/insert/wchar_t/2.cc: New.
  5502. * 21_strings/basic_string/inserters_extractors/char/1.cc: New.
  5503. * 21_strings/basic_string/inserters_extractors/char/4.cc: New.
  5504. * 21_strings/basic_string/inserters_extractors/char/5.cc: New.
  5505. * 21_strings/basic_string/inserters_extractors/char/6.cc: New.
  5506. * 21_strings/basic_string/inserters_extractors/char/7.cc: New.
  5507. * 21_strings/basic_string/inserters_extractors/char/8.cc: New.
  5508. * 21_strings/basic_string/inserters_extractors/char/9.cc: New.
  5509. * 21_strings/basic_string/inserters_extractors/wchar_t/1.cc: New.
  5510. * 21_strings/basic_string/inserters_extractors/wchar_t/4.cc: New.
  5511. * 21_strings/basic_string/inserters_extractors/wchar_t/5.cc: New.
  5512. * 21_strings/basic_string/inserters_extractors/wchar_t/6.cc: New.
  5513. * 21_strings/basic_string/inserters_extractors/wchar_t/7.cc: New.
  5514. * 21_strings/basic_string/inserters_extractors/wchar_t/8.cc: New.
  5515. * 21_strings/basic_string/inserters_extractors/wchar_t/9.cc: New.
  5516. * 21_strings/basic_string/operators/char/1.cc: New.
  5517. * 21_strings/basic_string/operators/char/2.cc: New.
  5518. * 21_strings/basic_string/operators/wchar_t/1.cc: New.
  5519. * 21_strings/basic_string/operators/wchar_t/2.cc: New.
  5520. * 21_strings/basic_string/replace/char/1.cc: New.
  5521. * 21_strings/basic_string/replace/char/2.cc: New.
  5522. * 21_strings/basic_string/replace/char/3.cc: New.
  5523. * 21_strings/basic_string/replace/char/4.cc: New.
  5524. * 21_strings/basic_string/replace/char/5.cc: New.
  5525. * 21_strings/basic_string/replace/wchar_t/1.cc: New.
  5526. * 21_strings/basic_string/replace/wchar_t/2.cc: New.
  5527. * 21_strings/basic_string/replace/wchar_t/3.cc: New.
  5528. * 21_strings/basic_string/replace/wchar_t/4.cc: New.
  5529. * 21_strings/basic_string/replace/wchar_t/5.cc: New.
  5530. * 21_strings/basic_string/rfind/char/1.cc: New.
  5531. * 21_strings/basic_string/rfind/char/2.cc: New.
  5532. * 21_strings/basic_string/rfind/char/3.cc: New.
  5533. * 21_strings/basic_string/rfind/wchar_t/1.cc: New.
  5534. * 21_strings/basic_string/rfind/wchar_t/2.cc: New.
  5535. * 21_strings/basic_string/rfind/wchar_t/3.cc: New.
  5536. * 21_strings/basic_string/substr/char/1.cc: New.
  5537. * 21_strings/basic_string/substr/wchar_t/1.cc: New.
  5538. * 21_strings/c_strings/char/1.cc: New.
  5539. * 21_strings/c_strings/char/2.cc: New.
  5540. * 21_strings/c_strings/wchar_t/1.cc: New.
  5541. * 21_strings/c_strings/wchar_t/2.cc: New.
  5542. * 21_strings/char_traits/requirements/char/1.cc: New.
  5543. * 21_strings/char_traits/requirements/wchar_t/1.cc: New.
  5544. * 21_strings/char_traits/typedefs/char/1.cc: New.
  5545. 2003-03-17 Paolo Carlini <pcarlini@unitus.it>
  5546. Petur Runolfsson <peturr02@ru.is>
  5547. PR libstdc++/10097
  5548. * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
  5549. basic_filebuf<wchar_t>::_M_underflow_common):
  5550. if (gptr() < egptr()) return *gptr().
  5551. * testsuite/27_io/filebuf_virtuals.cc (test16): Add.
  5552. * testsuite/27_io/filebuf_members.cc (test_04): Minor
  5553. changes: unlink fifo before making it, fix spelling error.
  5554. 2003-03-17 Benjamin Kosnik <bkoz@redhat.com>
  5555. * testsuite/Makefile.am (CLEANFILES): Add tmp*.
  5556. * testsuite/Makefile.in: Regenerate.
  5557. * testsuite/27_io/filebuf_members.cc: Consistently name tmp files.
  5558. Cleanups.
  5559. 2003-03-17 Petur Runolfsson <peturr02@ru.is>
  5560. PR libstdc++/9964
  5561. * include/bits/fstream.tcc (basic_filebuf::close):
  5562. Always close file, even when write fails.
  5563. * testsuite/27_io/filebuf_members.cc (test_07): New test.
  5564. 2003-03-17 Danny Smith <dannysmith@users.sourceforge.net>
  5565. * libsupc++/Makefile.am (C_COMPILE): Remove.
  5566. (LTCOMPILE): Likewise.
  5567. * libsupc++/Makefile.in: Regenerate.
  5568. 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
  5569. * testsuite/23_containers/bitset_members.cc: Add test variable.
  5570. * testsuite/23_containers/map_insert.cc: Same.
  5571. * testsuite/22_locale/ctype/cons/char/1.cc: Same.
  5572. * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Same.
  5573. * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
  5574. * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
  5575. * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
  5576. * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Same.
  5577. * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Same.
  5578. * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
  5579. * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
  5580. * testsuite/27_io/istream_exception.cc: Same.
  5581. * testsuite/27_io/filebuf_virtuals.cc: Same.
  5582. * testsuite/27_io/stringbuf_virtuals.cc: Same.
  5583. * testsuite/27_io/ostream_inserter_arith.cc: Same.
  5584. * testsuite/26_numerics/valarray_operators.cc: Same.
  5585. * testsuite/26_numerics/slice.cc: Same.
  5586. * testsuite/26_numerics/slice_array_assignment.cc: Same.
  5587. * testsuite/24_iterators/istream_iterator.cc: Same.
  5588. * mkcheck.in (TESTS_FILE): Use dejagnu-generated file if possible.
  5589. 2003-03-14 Petur Runolfsson <peturr02@ru.is>
  5590. PR libstdc++/9581
  5591. PR libstdc++/9870
  5592. * config/locale/generic/ctype_members.cc,
  5593. * config/locale/gnu/ctype_members.cc
  5594. (ctype<wchar_t>::do_widen(char)): Cast argument to
  5595. unsigned char before passing to btowc.
  5596. (ctype<wchar_t>::do_widen(const char*, const char*, wchar_t*)):
  5597. Convert characters with btowc instead of mbsrtowcs.
  5598. (ctype<wchar_t>::do_narrow(const wchar_t*, const wchar_t*,
  5599. char, char*):
  5600. Convert characters with wctob instead of wcsrtombs.
  5601. * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: New test.
  5602. * testsuite/22_locale/ctype/widen/wchar_t/2.cc: New test.
  5603. * testsuite/22_locale/ctype/widen/wchar_t/3.cc: New test.
  5604. 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
  5605. * include/stdc++.h: New.
  5606. * libsupc++/exception_defines.h (__EXCEPTION_DEFINES_H): Add guard.
  5607. * include/Makefile.am (stamp-std-precompile): Generate stdc++.h.gch
  5608. * include/Makefile.in: Regenerate.
  5609. * testsuite_flags.in (--build-cxx): Add, but don't use PCHFLAGS.
  5610. (--cxxflags): Put -g -O2 here.
  5611. * testsuite/libstdc++-v3.dg/dg.exp: Remove -g -O2 here.
  5612. 2003-03-14 Loren J. Rittle <ljrittle@acm.org>
  5613. * testsuite/testsuite_hooks.h: Suppress runtime exception thrown by
  5614. missing named locale.
  5615. 2003-03-14 Andreas Schwab <schwab@suse.de>
  5616. * configure.in: Only append to makefiles that are newly created to
  5617. avoid multiple multi-do/multi-clean rules.
  5618. * configure: Rebuilt.
  5619. 2003-03-13 Jonathan Wakely <redi@gcc.gnu.org>
  5620. * docs/html/configopts.html, docs/html/documentation.html,
  5621. docs/html/explanations.html, docs/html/install.html,
  5622. docs/html/19_diagnostics/howto.html, docs/html/faq/index.html: Fix
  5623. invalid XHTML and make page header style consistent.
  5624. 2003-03-12 Jonathan Wakely <redi@gcc.gnu.org>
  5625. * docs/html/faq/index.html: Explain memory "leaks" due to allocators.
  5626. * docs/html/faq/index.txt: Regenerate.
  5627. * docs/html/debug.html: Add a bit to allocator text and fix XHTML.
  5628. 2003-03-12 Andreas Schwab <schwab@suse.de>
  5629. * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
  5630. glibcpp_toolexeclibdir.
  5631. * aclocal.m4, configure: Rebuilt.
  5632. 2003-03-11 Jonathan Wakely <redi@gcc.gnu.org>
  5633. * docs/html/faq/index.html: Update text about location of headers.
  5634. * docs/html/faq/index.txt: Regenerate.
  5635. 2003-03-11 Carlo Wood <carlo@alinoe.com>
  5636. * include/bits/demangle.h: Prepend accessors of
  5637. class qualifier with 'get_' in order to fix warnings
  5638. when compiling with -Wshadow.
  5639. 2003-03-11 Loren J. Rittle <ljrittle@acm.org>
  5640. * config/os/bsd/freebsd/ctype_inline.h: Support _M_table
  5641. when so installed.
  5642. * testsuite/22_locale/ctype/cons/char/1.cc: Fix typo.
  5643. * testsuite/testsuite_hooks.h (run_tests_wrapped_env): Do not
  5644. report lack of setenv().
  5645. 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
  5646. * config/io/basic_file_stdio.cc: include <unistd.h>.
  5647. 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
  5648. Nathan Myers <ncm@cantrip.org>
  5649. PR libstdc++/7744
  5650. * config/io/basic_file_stdio.h (__basic_file<>::xsgetn, xsputn,
  5651. seekoff, seekpos): Add a boolean parameter __stdio.
  5652. * config/io/basic_file_stdio.cc (__basic_file<>::xsgetn, xsputn,
  5653. seekoff, seekpos): If __stdio == true, use fread (fwrite, fseek/ftell,
  5654. fseek/ftell, respectively), otherwise read (write, lseek, lseek,
  5655. respectively).
  5656. * include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external,
  5657. _M_really_overflow, seekoff): Use the boolean parameter in the calls.
  5658. * include/std/std_fstream.h (sync): Likewise.
  5659. * src/fstream.cc (basic_filebuf<>::_M_underflow_common): Likewise.
  5660. * src/ios.cc (ios_base::Init::_S_ios_create(bool)): Revert
  5661. libstdc++/8399 commit involving isatty(0).
  5662. * acinclude.m4 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): Remove.
  5663. (GLIBCPP_CHECK_UNISTD_SUPPORT): Remove
  5664. * configure.in: Remove call.
  5665. * aclocal.m4: Regenerate.
  5666. * config.h.in: Regenerate.
  5667. * configure: Regenerate.
  5668. * testsuite/27_io/narrow_stream_objects.cc (test11): Add.
  5669. 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
  5670. PR libstdc++/9988
  5671. * include/bits/fstream.tcc (overflow): don't write EOF to file.
  5672. * testsuite/27_io/filebuf_virtuals.cc (test15): Add.
  5673. 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
  5674. PR libstdc++/9561
  5675. * include/bits/basic_ios.h (_M_setstate): New.
  5676. * include/bits/ostream.tcc (operator<<): Use it.
  5677. * include/bits/istream.tcc (operator>>): Use it.
  5678. * include/std/std_ostream.h (operator<<): Make friends.
  5679. * include/std/std_istream.h (operator>>): Make friends.
  5680. * testsuite/27_io/ostream_exception.cc,
  5681. testsuite/27_io/istream_exception.cc: New tests.
  5682. 2003-03-08 Benjamin Kosnik <bkoz@redhat.com>
  5683. * include/bits/locale_facets.tcc: Fix typo.
  5684. 2003-03-08 Loren J. Rittle <ljrittle@acm.org>
  5685. * testsuite/26_numerics/c99_classification_macros_c.cc: Tweak test.
  5686. * config/locale/generic/c_locale.cc
  5687. (locale::facet::_S_create_c_locale): Throw runtime exception when
  5688. unsupported language is specified.
  5689. * testsuite/testsuite_hooks.h
  5690. (run_test_wrapped_generic_locale_exception_catcher): New function.
  5691. * testsuite/testsuite_hooks.cc (run_tests_wrapped_locale):
  5692. Suppress runtime exception thrown by generic implementation.
  5693. (run_tests_wrapped_env): Likewise.
  5694. (run_test_wrapped_generic_locale_exception_catcher): New function.
  5695. * testsuite/22_locale/collate/compare/char/1.cc: New test wrap.
  5696. * testsuite/22_locale/collate/compare/char/2.cc: New test wrap.
  5697. * testsuite/22_locale/collate/compare/char/3.cc: New test wrap.
  5698. * testsuite/22_locale/collate/hash/char/2.cc: New test wrap.
  5699. * testsuite/22_locale/collate/transform/char/2.cc: New test wrap.
  5700. * testsuite/22_locale/collate/transform/char/3.cc: New test wrap.
  5701. * testsuite/22_locale/collate_byname/1.cc: New test wrap.
  5702. * testsuite/22_locale/ctype/is/char/2.cc: New test wrap.
  5703. * testsuite/22_locale/facet/2.cc: New test wrap.
  5704. * testsuite/22_locale/locale/cons/4.cc: New test wrap.
  5705. * testsuite/22_locale/locale/cons/5.cc: New test wrap.
  5706. * testsuite/22_locale/locale/cons/7.cc: New test wrap.
  5707. * testsuite/22_locale/messages/members/char/1.cc: New test wrap.
  5708. * testsuite/22_locale/messages/members/char/2.cc: New test wrap.
  5709. * testsuite/22_locale/messages/members/char/3.cc: New test wrap.
  5710. * testsuite/22_locale/messages_byname/1.cc: New test wrap.
  5711. * testsuite/22_locale/money_get/get/char/1.cc: New test wrap.
  5712. * testsuite/22_locale/money_get/get/char/2.cc: New test wrap.
  5713. * testsuite/22_locale/money_get/get/char/3.cc: New test wrap.
  5714. * testsuite/22_locale/money_get/get/char/4.cc: New test wrap.
  5715. * testsuite/22_locale/money_put/put/char/1.cc: New test wrap.
  5716. * testsuite/22_locale/money_put/put/char/2.cc: New test wrap.
  5717. * testsuite/22_locale/money_put/put/char/3.cc: New test wrap.
  5718. * testsuite/22_locale/moneypunct/members/char/2.cc: New test wrap.
  5719. * testsuite/22_locale/moneypunct_byname/1.cc: New test wrap.
  5720. * testsuite/22_locale/num_get/get/char/1.cc: New test wrap.
  5721. * testsuite/22_locale/num_get/get/char/2.cc: New test wrap.
  5722. * testsuite/22_locale/num_get/get/char/3.cc: New test wrap.
  5723. * testsuite/22_locale/num_get/get/char/5.cc: New test wrap.
  5724. * testsuite/22_locale/num_get/get/char/6.cc: New test wrap.
  5725. * testsuite/22_locale/num_put/put/char/1.cc: New test wrap.
  5726. * testsuite/22_locale/num_put/put/char/2.cc: New test wrap.
  5727. * testsuite/22_locale/num_put/put/char/3.cc: New test wrap.
  5728. * testsuite/22_locale/num_put/put/char/5.cc: New test wrap.
  5729. * testsuite/22_locale/numpunct/members/char/1.cc: New test wrap.
  5730. * testsuite/22_locale/numpunct/members/char/2.cc: New test wrap.
  5731. * testsuite/22_locale/numpunct_byname/1.cc: New test wrap.
  5732. * testsuite/22_locale/numpunct_byname/2.cc: New test wrap.
  5733. * testsuite/22_locale/time_get/date_order/char/1.cc: New test wrap.
  5734. * testsuite/22_locale/time_get/get_date/char/1.cc: New test wrap.
  5735. * testsuite/22_locale/time_get/get_date/char/2.cc: New test wrap.
  5736. * testsuite/22_locale/time_get/get_monthname/char/1.cc: New test wrap.
  5737. * testsuite/22_locale/time_get/get_monthname/char/2.cc: New test wrap.
  5738. * testsuite/22_locale/time_get/get_time/char/1.cc: New test wrap.
  5739. * testsuite/22_locale/time_get/get_time/char/2.cc: New test wrap.
  5740. * testsuite/22_locale/time_get/get_weekday/char/1.cc: New test wrap.
  5741. * testsuite/22_locale/time_get/get_weekday/char/2.cc: New test wrap.
  5742. * testsuite/22_locale/time_get/get_year/char/1.cc: New test wrap.
  5743. * testsuite/22_locale/time_put/put/char/1.cc: New test wrap.
  5744. * testsuite/22_locale/time_put/put/char/2.cc: New test wrap.
  5745. * testsuite/22_locale/time_put/put/char/3.cc: New test wrap.
  5746. * testsuite/22_locale/time_put/put/char/4.cc: New test wrap.
  5747. * testsuite/22_locale/time_put/put/char/5.cc: New test wrap.
  5748. * testsuite/22_locale/time_put/put/char/6.cc: New test wrap.
  5749. * testsuite/22_locale/time_put/put/char/7.cc: New test wrap.
  5750. * testsuite/22_locale/time_put/put/char/8.cc: New test wrap.
  5751. * testsuite/27_io/filebuf_virtuals.cc: New test wrap.
  5752. * testsuite/27_io/ios_members.cc: New test wrap.
  5753. * testsuite/27_io/ostream_inserter_arith.cc (test02): Make void.
  5754. New test wrap.
  5755. * testsuite/27_io/streambuf_members.cc: New test wrap.
  5756. * testsuite/27_io/stringbuf_virtuals.cc: New test wrap.
  5757. 2003-03-08 Paolo Carlini <pcarlini@unitus.it>
  5758. Petur Runolfsson <peturr02@ru.is>
  5759. PR libstdc++/9424
  5760. * include/bits/streambuf.tcc (__copy_streambufs): Use
  5761. sgetn-sputn only when sputn cannot fail, otherwise fall back
  5762. to safe snextc-sputc.
  5763. * testsuite/27_io/streambuf_members.cc (test11, test12): Add.
  5764. 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
  5765. * include/bits/locale_facets.tcc (num_put::do_put(bool)): Use
  5766. locale cache for truename and falsename.
  5767. 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
  5768. * src/ios.cc (ios_base::ios_base): Correct order of _M_word and
  5769. _M_word_size initialization.
  5770. 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
  5771. * include/bits/fstream.tcc (_M_convert_to_external):
  5772. Set __elen to zero if codecvt::out eventually fails.
  5773. 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
  5774. PR libstdc++/9182
  5775. * include/bits/fstream.tcc (_M_really_overflow): Check
  5776. for _M_convert_to_external possible failures.
  5777. * include/std/std_fstream.h (sync): Check _M_really_overflow
  5778. return value and return -1 in case of failure.
  5779. * testsuite/27_io/filebuf_virtuals.cc (test13, test14): Add.
  5780. 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
  5781. PR libstdc++/9826
  5782. * include/bits/istream.tcc (operator>>(_CharT*),
  5783. operator>>(basic_string&), ws): Pass a char_type to __ctype.is.
  5784. * testsuite/27_io/stringstream.cc (test02): Add.
  5785. * include/bits/istream.tcc (operator>>(_CharT*)):
  5786. Assign a char_type to *__s.
  5787. 2003-03-07 Petur Runolfsson <peturr02@ru.is>
  5788. PR libstdc++/9817
  5789. * include/bits/locale_facets.tcc
  5790. (collate::do_compare, collate::do_transform):
  5791. Handle nul characters in input.
  5792. * testsuite/22_locale/collate/compare/char/3.cc: New test.
  5793. * testsuite/22_locale/collate/compare/wchar_t/3.cc: New test.
  5794. * testsuite/22_locale/collate/transform/char/3.cc: New test.
  5795. * testsuite/22_locale/collate/transform/wchar_t/3.cc: New test.
  5796. 2003-03-07 Jerry Quinn <jlquinn@optonline.net>
  5797. * include/bits/streambuf_iterator.h (_M_put): Set _M_failed if
  5798. sputn fails.
  5799. * testsuite/27_io/ostream_fail.cc: New test.
  5800. 2003-03-07 Matthias Klose <doko@debian.org>
  5801. * Makefile.am (AM_MAKEFLAGS): Also pass gxx_include_dir.
  5802. FLAGS_TO_PASS: Set to AM_MAKEFLAGS
  5803. * Makefile.in: Regenerate.
  5804. * libsupc++/Makefile.am: Express glibcppinstalldir in terms
  5805. of gxx_include_dir.
  5806. AM_MAKEFLAGS: Pass gxx_include_dir.
  5807. * libsupc++/Makefile.in: Regenerate.
  5808. 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
  5809. * testsuite/27_io/ios_base_storage.cc (test02): Set exception
  5810. mask. Test setting small-numbered pword and iword slots. Test
  5811. behavior at limit of numeric_limits::max. Check that values are
  5812. still good after failures.
  5813. 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
  5814. * src/ios.cc (ios_base::_M_init): Remove _M_word_size.
  5815. (ios_base::ios_base): Set _M_word, _M_word_size.
  5816. (ios_base::~ios_base): Remove redundant test.
  5817. * testsuite/27_io/ios_base_storage.cc (test03): New.
  5818. 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
  5819. * src/strstream.cc, include/bits/basic_string.tcc: Remove
  5820. incorrect whitespace added in my previous change.
  5821. 2003-03-05 Carlo Wood <carlo@alinoe.com>
  5822. * include/bits/ios_base.h(ios_base::Init::_S_initialized()): Added
  5823. _S_initialized() in order to allow debugging libraries to detect
  5824. when the std streams are initialized from an overloaded operator
  5825. new.
  5826. 2003-03-05 Benjamin Kosnik <bkoz@redhat.com>
  5827. * libsupc++/demangle.h: Move to..
  5828. * include/bits/demangle.h: ...here.
  5829. * src/demangle.cc: Adjust include.
  5830. * include/Makefile.am (bits_headers): Add.
  5831. * include/Makefile.in: Regenerate.
  5832. 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
  5833. * src/globals.cc: Clarify comments, remove c_locale_imp_compat.
  5834. * config/linker-map.gnu: Filter typeinfo and vtable info.
  5835. 2003-03-04 Jerry Quinn <jlquinn@optonline.net>
  5836. * src/ios.cc (ios_base::_M_grow_words): Don't delete _M_word on
  5837. new failure. Throw exception if badbit and exception mask when ix
  5838. >= numeric_limits<int>::max().
  5839. 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
  5840. * src/strstream.cc (strstreambuf::overflow): Make sure operands of
  5841. min and max have the same type.
  5842. * include/bits/basic_string.tcc (append, rfind, compare): Likewise.
  5843. 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
  5844. * include/Makefile.am (allstamps): Remove stamp-std-precompile.
  5845. * include/Makefile.in: Regenerate.
  5846. 2003-03-03 Benjamin Kosnik <bkoz@redhat.com>
  5847. * testsuite/abi_check.cc (report_symbol_info): Add version info.
  5848. * config/linker-map.gnu: Hide more stuff.
  5849. * include/Makefile.am: Cleanups.
  5850. * include/Makefile.in: Regenerate.
  5851. 2003-02-27 Jerry Quinn <jlquinn@optonline.net>
  5852. * config/locale/generic/messages_members.h (messages::messages):
  5853. Remove name from unused parameter.
  5854. 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
  5855. * src/Makefile.am (sources): Add demangle.cc.
  5856. (demangle.o): Add.
  5857. (demangle.lo): Add.
  5858. * src/Makefile.in: Regenerate.
  5859. * libsupc++/Makefile.am: Remove old __cxa_demangle bits.
  5860. * libsupc++/Makefile.in: Regenerate.
  5861. * testsuite/testsuite_hooks.h
  5862. (__gnu_cxx_test::verify_demangle): New.
  5863. * testsuite/testsuite_hooks.cc: Define.
  5864. 2003-02-27 Carlo Wood <carlo@alinoe.com>
  5865. * src/demangle.cc: New.
  5866. * libsupc++/demangle.h: New.
  5867. 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
  5868. Carlo Wood <carlo@alinoe.com>
  5869. * testsuite/demangle/abi_examples/01.cc: New.
  5870. * testsuite/demangle/abi_examples/02.cc: New.
  5871. * testsuite/demangle/abi_examples/03.cc: New.
  5872. * testsuite/demangle/abi_examples/04.cc: New.
  5873. * testsuite/demangle/abi_examples/05.cc: New.
  5874. * testsuite/demangle/abi_examples/06.cc: New.
  5875. * testsuite/demangle/abi_examples/07.cc: New.
  5876. * testsuite/demangle/abi_examples/08.cc: New.
  5877. * testsuite/demangle/abi_examples/09.cc: New.
  5878. * testsuite/demangle/abi_examples/10.cc: New.
  5879. * testsuite/demangle/abi_examples/11.cc: New.
  5880. * testsuite/demangle/abi_examples/12.cc: New.
  5881. * testsuite/demangle/abi_examples/13.cc: New.
  5882. * testsuite/demangle/abi_examples/14.cc: New.
  5883. * testsuite/demangle/abi_examples/15.cc: New.
  5884. * testsuite/demangle/abi_examples/16.cc: New.
  5885. * testsuite/demangle/abi_examples/17.cc: New.
  5886. * testsuite/demangle/abi_examples/18.cc: New.
  5887. * testsuite/demangle/abi_examples/19.cc: New.
  5888. * testsuite/demangle/abi_examples/20.cc: New.
  5889. * testsuite/demangle/abi_examples/21.cc: New.
  5890. * testsuite/demangle/abi_examples/22.cc: New.
  5891. * testsuite/demangle/abi_examples/23.cc: New.
  5892. * testsuite/demangle/abi_examples/24.cc: New.
  5893. * testsuite/demangle/abi_examples/25.cc: New.
  5894. * testsuite/demangle/abi_examples/26.cc: New.
  5895. * testsuite/demangle/abi_text/01.cc: New.
  5896. * testsuite/demangle/abi_text/02.cc: New.
  5897. * testsuite/demangle/abi_text/03.cc: New.
  5898. * testsuite/demangle/abi_text/04.cc: New.
  5899. * testsuite/demangle/abi_text/05.cc: New.
  5900. * testsuite/demangle/abi_text/06.cc: New.
  5901. * testsuite/demangle/abi_text/07.cc: New.
  5902. * testsuite/demangle/abi_text/08.cc: New.
  5903. * testsuite/demangle/abi_text/09.cc: New.
  5904. * testsuite/demangle/abi_text/10.cc: New.
  5905. * testsuite/demangle/abi_text/11.cc: New.
  5906. * testsuite/demangle/abi_text/12.cc: New.
  5907. * testsuite/demangle/abi_text/13.cc: New.
  5908. * testsuite/demangle/abi_text/14.cc: New.
  5909. * testsuite/demangle/regression/3111-1.cc: New.
  5910. * testsuite/demangle/regression/3111-2.cc: New.
  5911. * testsuite/demangle/regression/7986-01.cc: New.
  5912. * testsuite/demangle/regression/7986-02.cc: New.
  5913. * testsuite/demangle/regression/7986-03.cc: New.
  5914. * testsuite/demangle/regression/7986-04.cc: New.
  5915. * testsuite/demangle/regression/7986-05.cc: New.
  5916. * testsuite/demangle/regression/7986-06.cc: New.
  5917. * testsuite/demangle/regression/7986-07.cc: New.
  5918. * testsuite/demangle/regression/7986-08.cc: New.
  5919. * testsuite/demangle/regression/7986-09.cc: New.
  5920. * testsuite/demangle/regression/7986-10.cc: New.
  5921. * testsuite/demangle/regression/7986-11.cc: New.
  5922. * testsuite/demangle/regression/7986-12.cc: New.
  5923. * testsuite/demangle/regression/7986.cc: New.
  5924. * testsuite/demangle/regression/8897.cc: New.
  5925. * testsuite/demangle/regression/cw-01.cc: New.
  5926. * testsuite/demangle/regression/cw-02.cc: New.
  5927. * testsuite/demangle/regression/cw-03.cc: New.
  5928. * testsuite/demangle/regression/cw-04.cc: New.
  5929. * testsuite/demangle/regression/cw-05.cc: New.
  5930. * testsuite/demangle/regression/cw-06.cc: New.
  5931. * testsuite/demangle/regression/cw-07.cc: New.
  5932. * testsuite/demangle/regression/cw-08.cc: New.
  5933. * testsuite/demangle/regression/cw-09.cc: New.
  5934. * testsuite/demangle/regression/cw-10.cc: New.
  5935. * testsuite/demangle/regression/cw-11.cc: New.
  5936. * testsuite/demangle/regression/cw-12.cc: New.
  5937. * testsuite/demangle/regression/cw-13.cc: New.
  5938. * testsuite/demangle/regression/cw-14.cc: New.
  5939. * testsuite/demangle/regression/old.cc: New.
  5940. 2003-02-25 Phil Edwards <pme@gcc.gnu.org>
  5941. * docs/doxygen/Intro.3: Update with new (proper) names.
  5942. * docs/doxygen/TODO: Update.
  5943. * docs/doxygen/run_doxygen: More comments, fix up man pages.
  5944. Fake entries for standard typedefs.
  5945. * docs/doxygen/user.cfg.in: Turn INLINE_INHERITED_MEMB back on.
  5946. * docs/html/documentation.html: Top-level man page is now called
  5947. C++Intro.
  5948. * include/std/std_limits.h: Doxygenate.
  5949. 2003-02-25 Scott Snyder <snyder@fnal.gov>
  5950. PR libstdc++/9811
  5951. * include/bits/stl_map.h (lower_bound, upper_bound, equal_range):
  5952. Correct documentation.
  5953. * include/bits/stl_multimap.h (lower_bound, upper_bound,
  5954. equal_range): Likewise.
  5955. 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
  5956. PR libstdc++/9825
  5957. * src/fstream.cc
  5958. (basic_filebuf<char/wchar_t>::_M_underflow_common): When
  5959. __bump is true (uflow), always increment the read pointer
  5960. (_M_in_cur) before returning successfully.
  5961. * testsuite/27_io/filebuf_virtuals.cc (test12): Add.
  5962. 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
  5963. Nathan Myers <ncm@cantrip.org>
  5964. PR libstdc++/9404, PR libstdc++/9701 (partial)
  5965. (aka pptr == epptr implies overflow)
  5966. * include/bits/fstream.tcc (_M_allocate_internal_buffer):
  5967. Consistently, _M_out_end points to the end of the buffer just
  5968. created.
  5969. (overflow): Tweak to use _M_out_buf_size().
  5970. (_M_convert_to_external): The role of the old _M_out_end is
  5971. now played by _M_out_lim.
  5972. (_M_really_overflow): Likewise.
  5973. (seekoff): Likewise.
  5974. (setbuf): _M_out_end points to the end of the external buffer.
  5975. * include/bits/sstream.tcc (overflow): Rewrote, taking into
  5976. account the resolution of DR 169 (TC).
  5977. (seekoff): Use _M_string.capacity(); ios_base::end is now _M_out_lim.
  5978. (seekpos): Use _M_string.capacity(); tweak.
  5979. * include/bits/streambuf.tcc (sputc, xsputn): Remove comments.
  5980. * include/std/std_fstream.h (sync): The role of the old
  5981. _M_out_end is now played by _M_out_lim.
  5982. (_M_set_indeterminate): Use _M_set_determinate.
  5983. (_M_set_determinate): _M_out_end is now _M_out_lim.
  5984. (_M_is_indeterminate): Likewise.
  5985. * include/std/std_sstream.h (str()): _M_out_end is now _M_out_lim.
  5986. (_M_stringbuf_init): Don't set _M_buf_size, unused for sstreams,
  5987. which have the information readily available as _M_string.capacity();
  5988. for ate and app modes, pass the string size to _M_really_sync.
  5989. (_M_really_sync): Consistently set _M_out_end and _M_out_lim, to
  5990. point to the end of the buffer (i.e., epptr) and to the string end,
  5991. respectively.
  5992. * include/std/std_streambuf.h: tweak comments, add _M_out_lim,
  5993. which points to the right limit of the used put area.
  5994. (_M_out_cur_move): The role of the old _M_out_end is now played
  5995. by _M_out_lim.
  5996. (_M_out_buf_size): Simplify: now (when _M_out_cur) return simply
  5997. _M_out_end - _M_out_cur (i.e., pptr), _very_ close to the letter
  5998. of the standard.
  5999. (basic_streambuf()): Initialize _M_out_lim too.
  6000. * testsuite/27_io/filebuf_virtuals.cc (test10): Trivial tweak.
  6001. * testsuite/27_io/filebuf_virtuals.cc (test11): Add.
  6002. * testsuite/27_io/stringbuf_virtuals.cc (test09): Add.
  6003. 2003-02-24 Benjamin Kosnik <bkoz@redhat.com>
  6004. * testsuite/27_io/ios_base_storage.cc (main): Call
  6005. set_memory_limits.
  6006. 2003-02-21 Jerry Quinn <jlquinn@optonline.net>
  6007. * include/bits/locale_facets.tcc (_M_convert_float): Replace
  6008. numpunct facet accesses with data from __locale_cache.
  6009. 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
  6010. * docs/html/faq/index.html (3.9): New note, wchar_t on FreeBSD.
  6011. * docs/html/faq/index.txt: Regenerate.
  6012. 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
  6013. * config/linker-map.gnu: Also export locking symbols needed for the
  6014. generic atomicity.h case.
  6015. 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
  6016. * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
  6017. config.status.
  6018. * configure: Rebuilt.
  6019. 2003-02-19 Paolo Carlini <pcarlini@unitus.it>
  6020. * include/bits/sstream.tcc (overflow): According to
  6021. 27.7.1.3, p5, actual output is performed by sputc(c).
  6022. 2003-02-19 Phil Edwards <pme@gcc.gnu.org>
  6023. PR libstdc++/9582
  6024. * include/bits/stl_alloc.h: Remove all traces of assert().
  6025. 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
  6026. * include/std/std_sstream.h (str()): the size of the
  6027. current string may be different from the initial one
  6028. whenever _M_out_end > _M_out_beg.
  6029. * testsuite/27_io/stringbuf_members.cc (test07): Add.
  6030. 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
  6031. PR libstdc++/9582
  6032. * include/bits/stl_alloc.h (__pool_alloc::allocate): Remove assert.
  6033. 2003-02-17 Benjamin Kosnik <bkoz@redhat.com>
  6034. * include/bits/basic_ios.tcc (copyfmt): Copy locale data as well.
  6035. * testsuite/27_io/ios_members.cc (test03): New.
  6036. 2003-02-17 Jerry Quinn <jlquinn@optonline.net>
  6037. * include/bits/basic_ios.h (basic_ios::_M_cache_locale): Declare.
  6038. (basic_ios::_M_cache_facets): Move into above.
  6039. * include/bits/basic_ios.tcc (basic_ios::copyfmt): Rebuild locale
  6040. cache.
  6041. (basic_ios::imbue): Force locale cache to be built.
  6042. (basic_ios::_M_init): Create and initialize locale cache.
  6043. * include/bits/ios_base.h (__locale_cache_base): Declare.
  6044. (ios_base::_M_locale_cache): New.
  6045. (ios_base::_M_cache): Define.
  6046. * include/bits/locale_facets.h: (__num_base): Fix comment. Add
  6047. _S_end.
  6048. (__locale_cache_base,__locale_cache<_CharT>): New classes.
  6049. (__locale_cache<char>, __locale_cache<wchar_t>): New specializations.
  6050. * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use locale
  6051. cache literal string, grouping flag, thousands separator.
  6052. (__locale_cache<_CharT>::__locale_cache): New.
  6053. (__locale_cache<_CharT>::_M_init): New.
  6054. * src/ios.cc: Clear _M_locale_cache in constructor.
  6055. * src/locale-inst.cc (__locale_cache<char>, __locale_cache<_char_t>):
  6056. New.
  6057. 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
  6058. * src/locale-inst.cc: Do not include <cassert>.
  6059. * src/locale.cc: Likewise.
  6060. 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
  6061. PR libstdc++/9580
  6062. * include/std/std_fstream.h: Declare underflow and uflow
  6063. specializations, change generic definitions to do nothing.
  6064. * src/fstream.cc: Add underflow and uflow specializations.
  6065. 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
  6066. PR libstdc++/9169
  6067. * include/bits/fstream.tcc (_M_convert_to_external):
  6068. Deal correctly with noconv, as prescribed by 27.8.1.4,p8.
  6069. * testsuite/27_io/filebuf_virtuals.cc (test10): Add.
  6070. 2003-02-13 Benjamin Kosnik <bkoz@redhat.com>
  6071. * include/bits/c++config (_GLIBCPP_EXTERN_TEMPLATE): Define.
  6072. * include/bits/basic_ios.tcc: Guard use of extern template.
  6073. * include/std/std_iomanip.h: Same.
  6074. * include/bits/streambuf.tcc: Same.
  6075. * include/bits/stl_alloc.h: Same.
  6076. * include/bits/locale_facets.tcc: Same.
  6077. * include/bits/ostream.tcc: Same.
  6078. * include/bits/istream.tcc: Same.
  6079. * include/bits/fstream.tcc: Same.
  6080. * include/bits/basic_string.tcc: Same.
  6081. 2003-02-13 Paolo Carlini <pcarlini@unitus.it>
  6082. * include/bits/ostream.tcc (sentry::sentry): Improve
  6083. performance-wise the fix for libstdc++/9563.
  6084. 2003-02-12 Phil Edwards <pme@gcc.gnu.org>
  6085. * config/cpu/generic/atomicity.h (_Atomic_add_mutex): Fix declaration.
  6086. (_GLIBCPP_NEED_GENERIC_MUTEX): Define for this file.
  6087. (_Atomic_add_mutex_once, __gthread_atomic_add_mutex_once): Declare
  6088. when we don't have static mutex initialization.
  6089. (__exchange_and_add): Use _Atomic_add_mutex_once.
  6090. * src/misc-inst.cc: Definitions of all the above.
  6091. 2003-02-12 Paolo Carlini <pcarlini@unitus.it>
  6092. PR libstdc++/9563
  6093. * include/bits/ostream.tcc (sentry::sentry): Check
  6094. the state of the stream after the preparation.
  6095. * testsuite/27_io/ostream_sentry.cc (test02): Add.
  6096. 2003-02-11 Benjamin Kosnik <bkoz@redhat.com>
  6097. * include/Makefile.am (stamp-std-precompile): Add rule.
  6098. * include/Makefile.in: Regenerated.
  6099. 2003-02-11 Jerry Quinn <jlquinn@optonline.net>
  6100. Benjamin Kosnik <benjamin@redhat.com>
  6101. * include/bits/locale_facets.h (__num_base): Add _S_atoms_out.
  6102. Add indexes into this array.
  6103. (__num_base::_S_atoms): To _S_atoms_in.
  6104. (num_put::_M_insert): Rename to _M_pad.
  6105. (num_put::_M_convert_int): Adjust remove __mod, __modl arguments.
  6106. (num_put::_M_widen_int): Rename to _M_group_int.
  6107. (num_put::_M_widen_float): Rename to _M_group_float.
  6108. * include/bits/locale_facets.tcc (__int_to_char): New inline
  6109. function and adapter functions.
  6110. (num_put::_M_group_int): Streamline.
  6111. (num_put::_M_group_float): Streamline.
  6112. (num_put::_M_convert_int): Remove unused parameter names. Choose
  6113. large enough buffer for text. Use __int_to_char instead of
  6114. __convert_from_v. Formatted text is now at the end of the buffer.
  6115. (num_put::_M_convert_float): Preliminary fixups.
  6116. * src/locale-inst.cc (__convert_from_v<long long>): Add ifdef.
  6117. (__int_to_char<unsigned long long>): Same.
  6118. (__int_to_char<char, unsigned long>): New.
  6119. (__int_to_char<char, unsigned long long>): New.
  6120. (__int_to_char<wchar_t, unsigned long>): New.
  6121. (__int_to_char<wchar_t, unsigned long long>): New.
  6122. 2003-02-11 Scott Snyder <snyder@fnal.gov>
  6123. PR libstdc++/9659
  6124. * include/bits/fstream.tcc (seekoff): Avoid operator+
  6125. for pos_type.
  6126. 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
  6127. PR libstdc++/9320
  6128. * include/ext/stdio_filebuf.h
  6129. (stdio_filebuf(int, std::ios_base::openmode, bool, int_type),
  6130. stdio_filebuf(std::__c_file*, std::ios_base::openmode, int_type)):
  6131. Change to take a __size parameter of type size_t, not
  6132. of type (template parameter dependent) int_type.
  6133. * src/ios.cc (ios_base::Init::_S_ios_create): Change type of
  6134. size vars to size_t.
  6135. * testsuite/ext/stdio_filebuf.cc: Add.
  6136. 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
  6137. Petur Runolfsson <peturr02@ru.is>
  6138. PR libstdc++/9318
  6139. * include/bits/streambuf.tcc (__copy_streambufs):
  6140. Don't conditionalize the copy to __testput.
  6141. * testsuite/27_io/streambuf_members.cc (test09, test10): Add.
  6142. 2002-02-11 DJ Delorie <dj@redhat.com>
  6143. * acinclude.m4: Check for native targets that can't link at
  6144. this point in the build.
  6145. * aclocal.m4: Regenerate.
  6146. * configure: Regenerate.
  6147. 2003-02-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  6148. * hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
  6149. Correct alignment.
  6150. (__exchange_and_add, __atomic_add): Use PA 2.0 ordered store to reset
  6151. lock.
  6152. 2003-02-07 Paolo Carlini <pcarlini@unitus.it>
  6153. * testsuite/27_io/filebuf_virtuals.cc (test08): Fix for
  6154. unsigned char platforms.
  6155. 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
  6156. PR libstdc++/9562
  6157. * include/std/std_istream.h
  6158. (basic_istream::sentry::operator bool()): Make const.
  6159. * include/std/std_ostream.h
  6160. (basic_ostream::sentry::operator bool()): Likewise.
  6161. * testsuite/27_io/istream_sentry.cc (test03): Add.
  6162. * testsuite/27_io/ostream_sentry.cc: Add.
  6163. 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
  6164. PR libstdc++/9548
  6165. Implement resolution of DR 231 (Ready)
  6166. * include/bits/locale_facets.h (__num_base::_S_format_float):
  6167. Change declaration: return void, remove __prec parameter.
  6168. * src/locale.cc (__num_base::_S_format_float): Implement
  6169. resolution of DR 231.
  6170. * include/bits/locale_facets.tcc (num_put::_M_convert_float):
  6171. Tweak uses. Check for negative precision.
  6172. * testsuite/22_locale/num_put/put/char/6.cc: Add
  6173. * testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
  6174. 2003-02-06 Peter Soetens <peter.soetens@mech.kuleuven.ac.be>
  6175. * config/io/basic_file_libio.h: Fixups.
  6176. * config/io/c_io_libio.h: Same.
  6177. * libio/Makefile.am: Same.
  6178. * libio/Makefile.in: Regenerated.
  6179. 2003-02-06 Benjamin Kosnik <bkoz@redhat.com>
  6180. * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc (test01):
  6181. Explicitly use the "C" locale.
  6182. * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc (test01): Same.
  6183. 2003-02-06 Petur Runolfsson <peturr02@ru.is>
  6184. DR 75
  6185. DR 305
  6186. PR libstdc++/9028 (partial)
  6187. PR libstdc++/9224
  6188. PR libstdc++/9246
  6189. PR libstdc++/9247
  6190. * src/codecvt.cc
  6191. (codecvt<wchar_t, char, mbstate_t>::do_encoding,
  6192. codecvt<wchar_t, char, mbstate_t>::do_length,
  6193. codecvt<wchar_t, char, mbstate_t>::do_max_length):
  6194. Move...
  6195. * config/locale/generic/codecvt_members.cc: ...here.
  6196. * config/locale/gnu/codecvt_members.cc: ...and here.
  6197. * config/locale/generic/codecvt_members.cc,
  6198. * config/locale/gnu/codecvt_members.cc
  6199. (codecvt<wchar_t, char, mbstate_t>::do_encoding
  6200. codecvt<wchar_t, char, mbstate_t>::do_in,
  6201. codecvt<wchar_t, char, mbstate_t>::do_length,
  6202. codecvt<wchar_t, char, mbstate_t>::do_max_length,
  6203. codecvt<wchar_t, char, mbstate_t>::do_out):
  6204. New implementation that handles stateless encodings,
  6205. including UTF-8.
  6206. * config/locale/generic/codecvt_members.cc,
  6207. * config/locale/gnu/codecvt_members.cc,
  6208. * config/locale/ieee_1003.1-2001/codecvt_specializations.h,
  6209. * include/bits/codecvt.h,
  6210. * src/codecvt.cc
  6211. (codecvt::length, codecvt::do_length):
  6212. Change type of first argument of length and do_length from
  6213. 'const state_type&' to 'state_type&' according to DR 75.
  6214. * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Cleanup.
  6215. * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: New test.
  6216. * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: New test.
  6217. * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: New test.
  6218. * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc:
  6219. Cleanup and check for correct return value from encoding
  6220. for "C" locale.
  6221. * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: New test.
  6222. * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: New test.
  6223. * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: New test.
  6224. * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Cleanup.
  6225. * testsuite/22_locale/codecvt/in/wchar_t/2.cc: New test.
  6226. * testsuite/22_locale/codecvt/in/wchar_t/3.cc: New test.
  6227. * testsuite/22_locale/codecvt/in/wchar_t/4.cc: New test.
  6228. * testsuite/22_locale/codecvt/in/wchar_t/5.cc: New test.
  6229. * testsuite/22_locale/codecvt/in/wchar_t/6.cc: New test.
  6230. * testsuite/22_locale/codecvt/in/wchar_t/7.cc: New test.
  6231. * testsuite/22_locale/codecvt/in/wchar_t/8.cc: New test.
  6232. * testsuite/22_locale/codecvt/in/wchar_t/9.cc: New test.
  6233. * testsuite/22_locale/codecvt/length/char/1.cc: Cleanup.
  6234. * testsuite/22_locale/codecvt/length/char/2.cc: New test.
  6235. * testsuite/22_locale/codecvt/length/wchar_t/1.cc: Cleanup.
  6236. * testsuite/22_locale/codecvt/length/wchar_t/2.cc: New test.
  6237. * testsuite/22_locale/codecvt/length/wchar_t/3.cc: New test.
  6238. * testsuite/22_locale/codecvt/length/wchar_t/4.cc: New test.
  6239. * testsuite/22_locale/codecvt/length/wchar_t/5.cc: New test.
  6240. * testsuite/22_locale/codecvt/length/wchar_t/6.cc: New test.
  6241. * testsuite/22_locale/codecvt/length/wchar_t/7.cc: New test.
  6242. * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Cleanup.
  6243. * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: New test.
  6244. * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: New test.
  6245. * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: New test.
  6246. * testsuite/22_locale/codecvt/out/wchar_t/1.cc: Cleanup.
  6247. * testsuite/22_locale/codecvt/out/wchar_t/2.cc: New test.
  6248. * testsuite/22_locale/codecvt/out/wchar_t/3.cc: New test.
  6249. * testsuite/22_locale/codecvt/out/wchar_t/4.cc: New test.
  6250. * testsuite/22_locale/codecvt/out/wchar_t/5.cc: New test.
  6251. * testsuite/22_locale/codecvt/out/wchar_t/6.cc: New test.
  6252. * testsuite/22_locale/codecvt/out/wchar_t/7.cc: New test.
  6253. * testsuite/22_locale/codecvt/unicode/1.cc: New test.
  6254. * testsuite/22_locale/codecvt/unshift/wchar_t/1.cc: Cleanup.
  6255. * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: New test.
  6256. * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: New test.
  6257. * testsuite/22_locale/codecvt/unshfit/wchar_t/4.cc: New test.
  6258. 2003-02-05 Benjamin Kosnik <bkoz@redhat.com>
  6259. * include/bits/locale_facets.tcc (time_put::do_put): Use __write.
  6260. (money_put::do_put): Same.
  6261. 2003-02-05 Jerry Quinn <jlquinn@optonline.net>
  6262. * include/bits/ios_base.h (ios_base): Document reserved storage.
  6263. * include/bits/locale_facets.h: (struct __pad): Comment on
  6264. implementation.
  6265. (__verify_grouping): Same.
  6266. (__add_grouping): Same.
  6267. * include/bits/locale_facets.tcc (__verify_grouping): Move
  6268. comments to declaration.
  6269. (__add_grouping): Same.
  6270. * include/bits/locale_facets.tcc:
  6271. (__write<_CharT, _OutIter>): New function.
  6272. (__write<_CharT>): New function specialization.
  6273. (num_put::_M_insert): Remove explicit loop over iterator. Use
  6274. __write.
  6275. (num_put::_M_widen_float): Remove __basefield.
  6276. (num_put::_M_widen_int): Move __basefield to within grouping block.
  6277. * include/bits/streambuf_iterator.h: Include <streambuf>.
  6278. (ostreambuf_iterator::_M_put): Add.
  6279. 2003-02-05 Paolo Carlini <pcarlini@unitus.it>
  6280. * testsuite/26_numerics/valarray_name_lookup.cc: Fix typo.
  6281. 2003-02-04 Nathan Myers <ncm@cantrip.org>
  6282. * testsuite/25_algorithms/min_max.cc (test02): Add.
  6283. 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
  6284. PR libstdc++/9439, PR libstdc++/9425
  6285. * config/io/basic_file_stdio.cc
  6286. (__basic_file<char>::seekoff, seekpos): Return -1L if
  6287. fseek fails.
  6288. * include/bits/fstream.tcc (basic_filebuf::seekoff):
  6289. Check _M_file.seekoff return value; always return
  6290. pos_type(off_type(-1)) in case of failure.
  6291. (basic_filebuf::pbackfail): Check this->seekoff return
  6292. value and return traits_type::eof() in case of failure.
  6293. * testsuite/27_io/filebuf_virtuals.cc (test09): Add.
  6294. 2003-02-04 Jerry Quinn <jlquinn@optonline.net>
  6295. * include/std/std_ostream.h (ostream::_M_write): Declare.
  6296. * ostream.tcc (ostream::_M_write): Define.
  6297. (basic_ostream::write): Use it.
  6298. (operator<<(basic_ostream, _CharT)): Ditto.
  6299. (operator<<(basic_ostream, char)): Ditto.
  6300. (operator<<(basic_ostream, _CharT*)): Ditto.
  6301. (operator<<(basic_ostream, char*)): Ditto.
  6302. (operator<<(basic_ostream, basic_string)): Ditto.
  6303. 2003-02-04 Benjamin Kosnik <bkoz@redhat.com>
  6304. * testsuite/26_numerics/valarray_name_lookup.cc: Fix.
  6305. 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
  6306. * docs/html/27_io/howto.html: Link to Dietmar Kuehl's IOStream page,
  6307. add HTML comment about updating links if numbering changes.
  6308. 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
  6309. PR libstdc++/9538
  6310. * include/bits/streambuf.tcc (sputbackc): Access
  6311. this->gptr()[-1] only if _M_in_beg < _M_in_cur.
  6312. * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
  6313. 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
  6314. PR libstdc++/9507
  6315. * include/bits/fstream.tcc (open): If the 'ate' repositioning
  6316. operation fails, calls close _and_ returns a null pointer
  6317. to indicate failure (27.8.1.3,4).
  6318. * testsuite/27_io/filebuf_members.cc (test_06): Add.
  6319. 2003-02-04 Petur Runolfsson <peturr02@ru.is>
  6320. * testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0).
  6321. 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
  6322. * docs/html/27_io/howto.html: New section on stdio_filebuf.
  6323. * docs/html/ext/howto.html: Move stdio_filebuf notes to 27_io.
  6324. * docs/html/documentation.html: Regenerate.
  6325. 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
  6326. * docs/html/17_intro/porting.texi: Update to GFDL 1.2.
  6327. * docs/html/17_intro/porting.html: Regenerate.
  6328. 2003-02-03 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
  6329. Phil Edwards <pme@gcc.gnu.org>
  6330. * include/std/std_bitset.h: Replace CHAR_BIT with __CHAR_BIT__, use
  6331. numeric_limits for bits-per-word values.
  6332. (_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count):
  6333. Use __builtin_popcountl instead.
  6334. (_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next,
  6335. _Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next):
  6336. Use __builtin_ctzl instead.
  6337. (_S_bit_count, _S_first_one): Remove.
  6338. * config/linker-map.gnu (GLIBCPP_3.4): Remove std::_S_bit_count.
  6339. * src/Makefile.am (sources): Remove bitset.cc.
  6340. * src/bitset.cc: Delete file.
  6341. * src/Makefile.in: Regenerate.
  6342. 2003-02-03 Phil Edwards <pme@gcc.gnu.org>
  6343. PR libstdc++/9527, PR libstdc++/8713
  6344. * docs/html/install.html: Mention glibc version requirement.
  6345. * docs/html/faq/index.html (3.8): New note, glibc 2.2.5+ is needed
  6346. with 3.2.1+ (formatting bugfixes).
  6347. * docs/html/faq/index.txt: Regenerate.
  6348. 2003-02-03 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
  6349. PR libstdc++/9234
  6350. * include/bits/valarray_before.h (_UnBase::operator[]): Apply unary
  6351. operator.
  6352. * include/bits/valarray_before.h (__not_equal_to): Use != instead
  6353. of ==.
  6354. * testsuite/26_numerics/valarray_operators.cc: New test.
  6355. 2003-02-01 Phil Edwards <pme@gcc.gnu.org>
  6356. * docs/html/faq/index.html: Correct link to libg++ information.
  6357. * docs/html/faq/index.txt: Regenerated.
  6358. 2003-02-01 Paolo Carlini <pcarlini@unitus.it>
  6359. Benjamin Kosnik <bkoz@redhat.com>
  6360. Const correctness issue:
  6361. http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html
  6362. * include/bits/locale_classes.h
  6363. (locale::_Impl::_M_facets): Change type to const facet**.
  6364. (locale::_Impl::_M_install_facet): Change declaration to
  6365. take const facet*.
  6366. (locale::facet::_M_references): Make mutable.
  6367. (locale::facet::_M_add_reference): Declare const.
  6368. (locale::facet::_M_remove_reference): Likewise.
  6369. * include/bits/locale_facets.tcc
  6370. (use_facet(const locale&)): Tweak for const facet** _M_facets.
  6371. (has_facet(const locale&)): Likewise.
  6372. * src/locale.cc
  6373. (locale::facet::_M_add_reference): Adjust definition.
  6374. (locale::facet::_M_remove_reference): Likewise.
  6375. * src/localename.cc
  6376. (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak for
  6377. const facet** _M_facets.
  6378. (locale::_Impl::_Impl(const char*, size_t)): Likewise.
  6379. (locale::_Impl::_Impl(facet**, size_t, bool)): Likewise.
  6380. (locale::_Impl::_M_install_facet): Adjust definition to take
  6381. const facet* and for const facet** _M_facets.
  6382. * testsuite/22_locale/locale/cons/8.cc: Add.
  6383. 2003-01-29 Mark Mitchell <mark@codesourcery.com>
  6384. * include/std/std_limits.h (numeric_limits<float>::has_infinity):
  6385. Use __FLT_HAS_INIFINITY__ to initialize.
  6386. (numeric_limits<float>::has_quiet_NaN): Likewise.
  6387. (numeric_limits<double>::has_infinity): Use __DBL_HAS_INIFINITY__
  6388. to initialize.
  6389. (numeric_limits<double>::has_quiet_NaN): Likewise.
  6390. (numeric_limits<long double>::has_infinity): Use
  6391. __LDBL_HAS_INIFINITY__ to initialize.
  6392. (numeric_limits<long_double>::has_quiet_NaN): Likewise.
  6393. 2003-01-28 Nathan Sidwell <nathan@codesourcery.com>
  6394. PR c++/9433
  6395. * libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
  6396. with bases which are very ambiguous.
  6397. 2003-01-28 Danny Smith <dannysmith@users.sourceforge.net>
  6398. * src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
  6399. @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@.
  6400. * libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise.
  6401. * src/Makefile.in: Regenerate.
  6402. * libsupc++/Makefile.in: Regenerate.
  6403. 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
  6404. * acinclude.m4 (glibcpp_toolexeclibdir): Instead of
  6405. $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
  6406. version_specific_libs is enabled.
  6407. * aclocal.m4, configure: Rebuilt.
  6408. 2003-01-24 Nathan Sidwell <nathan@codesourcery.com>
  6409. * include/bits/valarray_meta.h: Remove, split into ...
  6410. * include/bits/valarray_before.h: ... this, and ...
  6411. * include/bits/valarray_after.h: ... this.
  6412. * include/std/std_valarray.h: Adjust.
  6413. * include/Makefile.am (bits_headers): Adjust.
  6414. * include/Makefile.in: Regenerate.
  6415. 2003-01-24 Andreas Schwab <schwab@suse.de>
  6416. * config/linker-map.gnu: Fix for size_t variance.
  6417. 2003-01-23 Petur Runolfsson <peturr02@ru.is>
  6418. PR libstdc++/9322
  6419. * include/std/std_streambuf.h
  6420. (basic_streambuf::basic_streambuf,
  6421. basic_streambuf::~basic_streambuf,
  6422. basic_streambuf::getloc, basic_streambuf::imbue):
  6423. Remove _M_buf_locale_init
  6424. * include/bits/fstream.tcc (basic_filebuf::imbue): Likewise
  6425. * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
  6426. * testsuite/27_io/streambuf_members.cc (test08): Add.
  6427. * testsuite/27_io/stringbuf_virtuals.cc (test08): Add.
  6428. 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
  6429. Revert include ordering.
  6430. * config/locale/generic/c_locale.h: Add include guards.
  6431. * config/locale/gnu/c_locale.h: Same.
  6432. * include/bits/locale_classes.h: Remove cctype include.
  6433. * include/std/std_iosfwd.h: Add c++locale.h, cctype includes.
  6434. * include/std/std_fstream.h: Remove streambuf include.
  6435. * include/std/std_sstream.h: Remove streambuf include.
  6436. 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
  6437. * configure.in (libtool_VERSION): To 6:0:0.
  6438. * configure: Regenerated.
  6439. * config/linker-map.gnu: Clean.
  6440. * src/misc-inst.cc: Remove instantiations.
  6441. * include/bits/stl_alloc.h (__malloc_alloc_template):
  6442. To __malloc_alloc.
  6443. (__default_alloc_template): To __pool_alloc.
  6444. * src/stl-inst.cc: Same.
  6445. * include/backward/alloc.h: Update.
  6446. * testsuite/ext/allocators.cc: Update.
  6447. * src/globals.cc (__gnu_cxx): Remove _GLIBCPP_ASM_SYMVER. Should
  6448. really try to remove these if possible.
  6449. * src/locale.cc (std): Same.
  6450. * testsuite/abi_check.cc (check_version): Add.
  6451. 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
  6452. Sysoltsev Slawa <Vyatcheslav.Sysoltsev@intel.com>
  6453. Mark Mitchell <mark@codesourcery.com>
  6454. PR libstdc++/9269
  6455. * include/std/std_fstream.h (basic_filebuf::uflow): Declare.
  6456. (basic_filebuf::underflow): Declare.
  6457. Move definitions.
  6458. 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
  6459. * include/bits/locale_facets.h: Move non-facet classes requiring
  6460. <string> to...
  6461. * include/bits/locale_classes.h: New.
  6462. * include/bits/Makefile.am (bits_headers_src): Add locale_classes.h.
  6463. * include/bits/Makefile.in: Regenerate.
  6464. * include/bits/locale_facets.tcc (__convert_from_v): Move to...
  6465. * config/locale/gnu/c_locale.h: ...here.
  6466. * config/locale/generic/c_locale.h: Same.
  6467. * include/bits/locale_facets.tcc: Move declarations to...
  6468. * include/bits/locale_facets.h: ...here.
  6469. * include/bits/basic_ios.h: Tweak includes accordingly.
  6470. * include/std/std_sstream.h: Add streambuf include.
  6471. * include/std/std_fstream.h: Ditto.
  6472. * include/std/std_locale.h: Add locale_classes.h include.
  6473. * include/std/std_iosfwd.h: Tweak.
  6474. * src/concept-inst.cc: Add iterator include.
  6475. * config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_*
  6476. bits as unexported in the future.
  6477. 2003-01-21 Benjamin Kosnik <bkoz@redhat.com>
  6478. Reshuffle 22_locale testsuite.
  6479. * 22_locale/(codecvt.cc money_get.cc
  6480. codecvt_members_char_char.cc money_get_members_char.cc
  6481. codecvt_members_unicode_char.cc money_get_members_wchar_t.cc
  6482. codecvt_members_unicode_wchar_t.cc moneypunct_byname.cc
  6483. codecvt_members_wchar_t_char.cc moneypunct.cc collate_byname.cc
  6484. moneypunct_members_char.cc collate.cc moneypunct_members_wchar_t.cc
  6485. collate_members_char.cc money_put.cc collate_members_wchar_t.cc
  6486. money_put_members_char.cc ctor_copy_dtor.cc
  6487. money_put_members_wchar_t.cc ctype.cc num_get.cc ctype_is_char.cc
  6488. num_get_members_char.cc ctype_is_wchar_t.cc num_get_members_wchar_t.cc
  6489. ctype_members_char.cc numpunct_byname.cc ctype_members_wchar_t.cc
  6490. numpunct.cc ctype_narrow_char.cc numpunct_members_char.cc
  6491. ctype_narrow_wchar_t.cc numpunct_members_wchar_t.cc ctype_scan_char.cc
  6492. num_put.cc ctype_scan_wchar_t.cc num_put_members_char.cc
  6493. ctype_to_char.cc num_put_members_wchar_t.cc ctype_to_wchar_t.cc
  6494. operators.cc ctype_widen_char.cc static_members.cc
  6495. ctype_widen_wchar_t.cc time_get.cc facet.cc time_get_members_char.cc
  6496. global_templates.cc time_get_members_wchar_t.cc, members.cc,
  6497. time_put.cc, messages_byname.cc, time_put_members_char.cc,
  6498. messages.cc, time_put_members_wchar_t.cc, messages_members_char.cc):
  6499. Split up into individual test cases...
  6500. * 22_locale/codecvt/1.cc: New.
  6501. * 22_locale/codecvt/2.cc: New.
  6502. * 22_locale/codecvt/always_noconv/char/1.cc: New.
  6503. * 22_locale/codecvt/always_noconv/char/wrapped_env.cc: New.
  6504. * 22_locale/codecvt/always_noconv/char/wrapped_locale.cc: New.
  6505. * 22_locale/codecvt/always_noconv/wchar_t/1.cc: New.
  6506. * 22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: New.
  6507. * 22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc: New.
  6508. * 22_locale/codecvt/encoding/char/1.cc: New.
  6509. * 22_locale/codecvt/encoding/char/wrapped_env.cc: New.
  6510. * 22_locale/codecvt/encoding/char/wrapped_locale.cc: New.
  6511. * 22_locale/codecvt/encoding/wchar_t/1.cc: New.
  6512. * 22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: New.
  6513. * 22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc: New.
  6514. * 22_locale/codecvt/in/char/1.cc: New.
  6515. * 22_locale/codecvt/in/char/wrapped_env.cc: New.
  6516. * 22_locale/codecvt/in/char/wrapped_locale.cc: New.
  6517. * 22_locale/codecvt/in/wchar_t/1.cc: New.
  6518. * 22_locale/codecvt/in/wchar_t/wrapped_env.cc: New.
  6519. * 22_locale/codecvt/in/wchar_t/wrapped_locale.cc: New.
  6520. * 22_locale/codecvt/length/char/1.cc: New.
  6521. * 22_locale/codecvt/length/char/wrapped_env.cc: New.
  6522. * 22_locale/codecvt/length/char/wrapped_locale.cc: New.
  6523. * 22_locale/codecvt/length/wchar_t/1.cc: New.
  6524. * 22_locale/codecvt/length/wchar_t/wrapped_env.cc: New.
  6525. * 22_locale/codecvt/length/wchar_t/wrapped_locale.cc: New.
  6526. * 22_locale/codecvt/max_length/char/1.cc: New.
  6527. * 22_locale/codecvt/max_length/char/wrapped_env.cc: New.
  6528. * 22_locale/codecvt/max_length/char/wrapped_locale.cc: New.
  6529. * 22_locale/codecvt/max_length/wchar_t/1.cc: New.
  6530. * 22_locale/codecvt/max_length/wchar_t/wrapped_env.cc: New.
  6531. * 22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc: New.
  6532. * 22_locale/codecvt/out/char/1.cc: New.
  6533. * 22_locale/codecvt/out/char/wrapped_env.cc: New.
  6534. * 22_locale/codecvt/out/char/wrapped_locale.cc: New.
  6535. * 22_locale/codecvt/out/wchar_t/1.cc: New.
  6536. * 22_locale/codecvt/out/wchar_t/wrapped_env.cc: New.
  6537. * 22_locale/codecvt/out/wchar_t/wrapped_locale.cc: New.
  6538. * 22_locale/codecvt/unicode/char.cc: New.
  6539. * 22_locale/codecvt/unicode/wchar_t.cc: New.
  6540. * 22_locale/codecvt/unshift/char/1.cc: New.
  6541. * 22_locale/codecvt/unshift/char/wrapped_env.cc: New.
  6542. * 22_locale/codecvt/unshift/char/wrapped_locale.cc: New.
  6543. * 22_locale/codecvt/unshift/wchar_t/1.cc: New.
  6544. * 22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: New.
  6545. * 22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc: New.
  6546. * 22_locale/collate/1.cc: New.
  6547. * 22_locale/collate/2.cc: New.
  6548. * 22_locale/collate/compare/char/1.cc: New.
  6549. * 22_locale/collate/compare/char/2.cc: New.
  6550. * 22_locale/collate/compare/char/wrapped_env.cc: New.
  6551. * 22_locale/collate/compare/char/wrapped_locale.cc: New.
  6552. * 22_locale/collate/compare/wchar_t/1.cc: New.
  6553. * 22_locale/collate/compare/wchar_t/2.cc: New.
  6554. * 22_locale/collate/compare/wchar_t/wrapped_env.cc: New.
  6555. * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: New.
  6556. * 22_locale/collate/hash/char/1.cc: New.
  6557. * 22_locale/collate/hash/char/2.cc: New.
  6558. * 22_locale/collate/hash/char/wrapped_env.cc: New.
  6559. * 22_locale/collate/hash/char/wrapped_locale.cc: New.
  6560. * 22_locale/collate/hash/wchar_t/1.cc: New.
  6561. * 22_locale/collate/hash/wchar_t/2.cc: New.
  6562. * 22_locale/collate/hash/wchar_t/wrapped_env.cc: New.
  6563. * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: New.
  6564. * 22_locale/collate/transform/char/2.cc: New.
  6565. * 22_locale/collate/transform/char/wrapped_env.cc: New.
  6566. * 22_locale/collate/transform/char/wrapped_locale.cc: New.
  6567. * 22_locale/collate/transform/wchar_t/2.cc: New.
  6568. * 22_locale/collate/transform/wchar_t/wrapped_env.cc: New.
  6569. * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: New.
  6570. * 22_locale/collate_byname/1.cc: New.
  6571. * 22_locale/ctype/1.cc: New.
  6572. * 22_locale/ctype/2.cc: New.
  6573. * 22_locale/ctype/cons/char/1.cc: New.
  6574. * 22_locale/ctype/cons/char/wrapped_env.cc: New.
  6575. * 22_locale/ctype/cons/char/wrapped_locale.cc: New.
  6576. * 22_locale/ctype/is/char/1.cc: New.
  6577. * 22_locale/ctype/is/char/2.cc: New.
  6578. * 22_locale/ctype/is/char/3.cc: New.
  6579. * 22_locale/ctype/is/char/wrapped_env.cc: New.
  6580. * 22_locale/ctype/is/char/wrapped_locale.cc: New.
  6581. * 22_locale/ctype/is/wchar_t/1.cc: New.
  6582. * 22_locale/ctype/is/wchar_t/2.cc: New.
  6583. * 22_locale/ctype/is/wchar_t/wrapped_env.cc: New.
  6584. * 22_locale/ctype/is/wchar_t/wrapped_locale.cc: New.
  6585. * 22_locale/ctype/narrow/char/1.cc: New.
  6586. * 22_locale/ctype/narrow/char/2.cc: New.
  6587. * 22_locale/ctype/narrow/char/wrapped_env.cc: New.
  6588. * 22_locale/ctype/narrow/char/wrapped_locale.cc: New.
  6589. * 22_locale/ctype/narrow/wchar_t/1.cc: New.
  6590. * 22_locale/ctype/narrow/wchar_t/2.cc: New.
  6591. * 22_locale/ctype/narrow/wchar_t/wrapped_env.cc: New.
  6592. * 22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: New.
  6593. * 22_locale/ctype/scan/char/1.cc: New.
  6594. * 22_locale/ctype/scan/char/wrapped_env.cc: New.
  6595. * 22_locale/ctype/scan/char/wrapped_locale.cc: New.
  6596. * 22_locale/ctype/scan/wchar_t/1.cc: New.
  6597. * 22_locale/ctype/scan/wchar_t/wrapped_env.cc: New.
  6598. * 22_locale/ctype/scan/wchar_t/wrapped_locale.cc: New.
  6599. * 22_locale/ctype/to/char/1.cc: New.
  6600. * 22_locale/ctype/to/char/wrapped_env.cc: New.
  6601. * 22_locale/ctype/to/char/wrapped_locale.cc: New.
  6602. * 22_locale/ctype/to/wchar_t/1.cc: New.
  6603. * 22_locale/ctype/to/wchar_t/wrapped_env.cc: New.
  6604. * 22_locale/ctype/to/wchar_t/wrapped_locale.cc: New.
  6605. * 22_locale/ctype/widen/char/1.cc: New.
  6606. * 22_locale/ctype/widen/char/wrapped_env.cc: New.
  6607. * 22_locale/ctype/widen/char/wrapped_locale.cc: New.
  6608. * 22_locale/ctype/widen/wchar_t/1.cc: New.
  6609. * 22_locale/ctype/widen/wchar_t/wrapped_env.cc: New.
  6610. * 22_locale/ctype/widen/wchar_t/wrapped_locale.cc: New.
  6611. * 22_locale/facet/1.cc: New.
  6612. * 22_locale/facet/2.cc: New.
  6613. * 22_locale/global_templates/1.cc: New.
  6614. * 22_locale/locale/cons/1.cc: New.
  6615. * 22_locale/locale/cons/2.cc: New.
  6616. * 22_locale/locale/cons/3.cc: New.
  6617. * 22_locale/locale/cons/4.cc: New.
  6618. * 22_locale/locale/cons/5.cc: New.
  6619. * 22_locale/locale/cons/6.cc: New.
  6620. * 22_locale/locale/cons/7.cc: New.
  6621. * 22_locale/locale/global_locale_objects/1.cc: New.
  6622. * 22_locale/locale/global_locale_objects/2.cc: New.
  6623. * 22_locale/locale/global_locale_objects/3.cc: New.
  6624. * 22_locale/locale/operations/1.cc: New.
  6625. * 22_locale/locale/operations/2.cc: New.
  6626. * 22_locale/messages/1.cc: New.
  6627. * 22_locale/messages/2.cc: New.
  6628. * 22_locale/messages/members/char/1.cc: New.
  6629. * 22_locale/messages/members/char/2.cc: New.
  6630. * 22_locale/messages/members/char/3.cc: New.
  6631. * 22_locale/messages/members/char/wrapped_env.cc: New.
  6632. * 22_locale/messages/members/char/wrapped_locale.cc: New.
  6633. * 22_locale/messages_byname/1.cc: New.
  6634. * 22_locale/money_get/1.cc: New.
  6635. * 22_locale/money_get/2.cc: New.
  6636. * 22_locale/money_get/get/char/1.cc: New.
  6637. * 22_locale/money_get/get/char/2.cc: New.
  6638. * 22_locale/money_get/get/char/3.cc: New.
  6639. * 22_locale/money_get/get/char/4.cc: New.
  6640. * 22_locale/money_get/get/char/5.cc: New.
  6641. * 22_locale/money_get/get/char/6.cc: New.
  6642. * 22_locale/money_get/get/char/7.cc: New.
  6643. * 22_locale/money_get/get/char/8.cc: New.
  6644. * 22_locale/money_get/get/char/wrapped_env.cc: New.
  6645. * 22_locale/money_get/get/char/wrapped_locale.cc: New.
  6646. * 22_locale/money_get/get/wchar_t/1.cc: New.
  6647. * 22_locale/money_get/get/wchar_t/2.cc: New.
  6648. * 22_locale/money_get/get/wchar_t/3.cc: New.
  6649. * 22_locale/money_get/get/wchar_t/4.cc: New.
  6650. * 22_locale/money_get/get/wchar_t/5.cc: New.
  6651. * 22_locale/money_get/get/wchar_t/6.cc: New.
  6652. * 22_locale/money_get/get/wchar_t/7.cc: New.
  6653. * 22_locale/money_get/get/wchar_t/8.cc: New.
  6654. * 22_locale/money_get/get/wchar_t/wrapped_env.cc: New.
  6655. * 22_locale/money_get/get/wchar_t/wrapped_locale.cc: New.
  6656. * 22_locale/money_put/1.cc: New.
  6657. * 22_locale/money_put/2.cc: New.
  6658. * 22_locale/money_put/put/char/1.cc: New.
  6659. * 22_locale/money_put/put/char/2.cc: New.
  6660. * 22_locale/money_put/put/char/3.cc: New.
  6661. * 22_locale/money_put/put/char/4.cc: New.
  6662. * 22_locale/money_put/put/char/5.cc: New.
  6663. * 22_locale/money_put/put/char/6.cc: New.
  6664. * 22_locale/money_put/put/char/wrapped_env.cc: New.
  6665. * 22_locale/money_put/put/char/wrapped_locale.cc: New.
  6666. * 22_locale/money_put/put/wchar_t/1.cc: New.
  6667. * 22_locale/money_put/put/wchar_t/2.cc: New.
  6668. * 22_locale/money_put/put/wchar_t/3.cc: New.
  6669. * 22_locale/money_put/put/wchar_t/4.cc: New.
  6670. * 22_locale/money_put/put/wchar_t/5.cc: New.
  6671. * 22_locale/money_put/put/wchar_t/6.cc: New.
  6672. * 22_locale/money_put/put/wchar_t/wrapped_env.cc: New.
  6673. * 22_locale/money_put/put/wchar_t/wrapped_locale.cc: New.
  6674. * 22_locale/moneypunct/1.cc: New.
  6675. * 22_locale/moneypunct/2.cc: New.
  6676. * 22_locale/moneypunct/3.cc: New.
  6677. * 22_locale/moneypunct/members/char/1.cc: New.
  6678. * 22_locale/moneypunct/members/char/2.cc: New.
  6679. * 22_locale/moneypunct/members/char/wrapped_env.cc: New.
  6680. * 22_locale/moneypunct/members/char/wrapped_locale.cc: New.
  6681. * 22_locale/moneypunct/members/wchar_t/1.cc: New.
  6682. * 22_locale/moneypunct/members/wchar_t/2.cc: New.
  6683. * 22_locale/moneypunct/members/wchar_t/wrapped_env.cc: New.
  6684. * 22_locale/moneypunct/members/wchar_t/wrapped_locale.cc: New.
  6685. * 22_locale/moneypunct_byname/1.cc: New.
  6686. * 22_locale/num_get/1.cc: New.
  6687. * 22_locale/num_get/2.cc: New.
  6688. * 22_locale/num_get/get/char/1.cc: New.
  6689. * 22_locale/num_get/get/char/2.cc: New.
  6690. * 22_locale/num_get/get/char/3.cc: New.
  6691. * 22_locale/num_get/get/char/4.cc: New.
  6692. * 22_locale/num_get/get/char/5.cc: New.
  6693. * 22_locale/num_get/get/char/6.cc: New.
  6694. * 22_locale/num_get/get/char/wrapped_env.cc: New.
  6695. * 22_locale/num_get/get/char/wrapped_locale.cc: New.
  6696. * 22_locale/num_get/get/wchar_t/1.cc: New.
  6697. * 22_locale/num_get/get/wchar_t/2.cc: New.
  6698. * 22_locale/num_get/get/wchar_t/3.cc: New.
  6699. * 22_locale/num_get/get/wchar_t/4.cc: New.
  6700. * 22_locale/num_get/get/wchar_t/5.cc: New.
  6701. * 22_locale/num_get/get/wchar_t/6.cc: New.
  6702. * 22_locale/num_get/get/wchar_t/wrapped_env.cc: New.
  6703. * 22_locale/num_get/get/wchar_t/wrapped_locale.cc: New.
  6704. * 22_locale/num_put/1.cc: New.
  6705. * 22_locale/num_put/2.cc: New.
  6706. * 22_locale/num_put/put/char/1.cc: New.
  6707. * 22_locale/num_put/put/char/2.cc: New.
  6708. * 22_locale/num_put/put/char/3.cc: New.
  6709. * 22_locale/num_put/put/char/4.cc: New.
  6710. * 22_locale/num_put/put/char/5.cc: New.
  6711. * 22_locale/num_put/put/char/wrapped_env.cc: New.
  6712. * 22_locale/num_put/put/char/wrapped_locale.cc: New.
  6713. * 22_locale/num_put/put/wchar_t/1.cc: New.
  6714. * 22_locale/num_put/put/wchar_t/2.cc: New.
  6715. * 22_locale/num_put/put/wchar_t/3.cc: New.
  6716. * 22_locale/num_put/put/wchar_t/4.cc: New.
  6717. * 22_locale/num_put/put/wchar_t/5.cc: New.
  6718. * 22_locale/num_put/put/wchar_t/wrapped_env.cc: New.
  6719. * 22_locale/num_put/put/wchar_t/wrapped_locale.cc: New.
  6720. * 22_locale/numpunct/1.cc: New.
  6721. * 22_locale/numpunct/2.cc: New.
  6722. * 22_locale/numpunct/members/char/1.cc: New.
  6723. * 22_locale/numpunct/members/char/2.cc: New.
  6724. * 22_locale/numpunct/members/char/wrapped_env.cc: New.
  6725. * 22_locale/numpunct/members/char/wrapped_locale.cc: New.
  6726. * 22_locale/numpunct/members/wchar_t/1.cc: New.
  6727. * 22_locale/numpunct/members/wchar_t/2.cc: New.
  6728. * 22_locale/numpunct/members/wchar_t/wrapped_env.cc: New.
  6729. * 22_locale/numpunct/members/wchar_t/wrapped_locale.cc: New.
  6730. * 22_locale/numpunct_byname/1.cc: New.
  6731. * 22_locale/numpunct_byname/2.cc: New.
  6732. * 22_locale/time_get/1.cc: New.
  6733. * 22_locale/time_get/2.cc: New.
  6734. * 22_locale/time_get/date_order/char/1.cc: New.
  6735. * 22_locale/time_get/date_order/char/wrapped_env.cc: New.
  6736. * 22_locale/time_get/date_order/char/wrapped_locale.cc: New.
  6737. * 22_locale/time_get/date_order/wchar_t/1.cc: New.
  6738. * 22_locale/time_get/date_order/wchar_t/wrapped_env.cc: New.
  6739. * 22_locale/time_get/date_order/wchar_t/wrapped_locale.cc: New.
  6740. * 22_locale/time_get/get_date/char/1.cc: New.
  6741. * 22_locale/time_get/get_date/char/2.cc: New.
  6742. * 22_locale/time_get/get_date/char/3.cc: New.
  6743. * 22_locale/time_get/get_date/char/wrapped_env.cc: New.
  6744. * 22_locale/time_get/get_date/char/wrapped_locale.cc: New.
  6745. * 22_locale/time_get/get_date/wchar_t/1.cc: New.
  6746. * 22_locale/time_get/get_date/wchar_t/2.cc: New.
  6747. * 22_locale/time_get/get_date/wchar_t/3.cc: New.
  6748. * 22_locale/time_get/get_date/wchar_t/wrapped_env.cc: New.
  6749. * 22_locale/time_get/get_date/wchar_t/wrapped_locale.cc: New.
  6750. * 22_locale/time_get/get_monthname/char/1.cc: New.
  6751. * 22_locale/time_get/get_monthname/char/2.cc: New.
  6752. * 22_locale/time_get/get_monthname/char/3.cc: New.
  6753. * 22_locale/time_get/get_monthname/char/wrapped_env.cc: New.
  6754. * 22_locale/time_get/get_monthname/char/wrapped_locale.cc: New.
  6755. * 22_locale/time_get/get_monthname/wchar_t/1.cc: New.
  6756. * 22_locale/time_get/get_monthname/wchar_t/2.cc: New.
  6757. * 22_locale/time_get/get_monthname/wchar_t/3.cc: New.
  6758. * 22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc: New.
  6759. * 22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc: New.
  6760. * 22_locale/time_get/get_time/char/1.cc: New.
  6761. * 22_locale/time_get/get_time/char/2.cc: New.
  6762. * 22_locale/time_get/get_time/char/3.cc: New.
  6763. * 22_locale/time_get/get_time/char/wrapped_env.cc: New.
  6764. * 22_locale/time_get/get_time/char/wrapped_locale.cc: New.
  6765. * 22_locale/time_get/get_time/wchar_t/1.cc: New.
  6766. * 22_locale/time_get/get_time/wchar_t/2.cc: New.
  6767. * 22_locale/time_get/get_time/wchar_t/3.cc: New.
  6768. * 22_locale/time_get/get_time/wchar_t/wrapped_env.cc: New.
  6769. * 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc: New.
  6770. * 22_locale/time_get/get_weekday/char/1.cc: New.
  6771. * 22_locale/time_get/get_weekday/char/2.cc: New.
  6772. * 22_locale/time_get/get_weekday/char/3.cc: New.
  6773. * 22_locale/time_get/get_weekday/char/wrapped_env.cc: New.
  6774. * 22_locale/time_get/get_weekday/char/wrapped_locale.cc: New.
  6775. * 22_locale/time_get/get_weekday/wchar_t/1.cc: New.
  6776. * 22_locale/time_get/get_weekday/wchar_t/2.cc: New.
  6777. * 22_locale/time_get/get_weekday/wchar_t/3.cc: New.
  6778. * 22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc: New.
  6779. * 22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc: New.
  6780. * 22_locale/time_get/get_year/char/1.cc: New.
  6781. * 22_locale/time_get/get_year/char/3.cc: New.
  6782. * 22_locale/time_get/get_year/char/wrapped_env.cc: New.
  6783. * 22_locale/time_get/get_year/char/wrapped_locale.cc: New.
  6784. * 22_locale/time_get/get_year/wchar_t/1.cc: New.
  6785. * 22_locale/time_get/get_year/wchar_t/3.cc: New.
  6786. * 22_locale/time_get/get_year/wchar_t/wrapped_env.cc: New.
  6787. * 22_locale/time_get/get_year/wchar_t/wrapped_locale.cc: New.
  6788. * 22_locale/time_put/1.cc: New.
  6789. * 22_locale/time_put/2.cc: New.
  6790. * 22_locale/time_put/put/char/1.cc: New.
  6791. * 22_locale/time_put/put/char/10.cc: New.
  6792. * 22_locale/time_put/put/char/2.cc: New.
  6793. * 22_locale/time_put/put/char/3.cc: New.
  6794. * 22_locale/time_put/put/char/4.cc: New.
  6795. * 22_locale/time_put/put/char/5.cc: New.
  6796. * 22_locale/time_put/put/char/6.cc: New.
  6797. * 22_locale/time_put/put/char/7.cc: New.
  6798. * 22_locale/time_put/put/char/8.cc: New.
  6799. * 22_locale/time_put/put/char/9.cc: New.
  6800. * 22_locale/time_put/put/char/wrapped_env.cc: New.
  6801. * 22_locale/time_put/put/char/wrapped_locale.cc: New.
  6802. * 22_locale/time_put/put/wchar_t/1.cc: New.
  6803. * 22_locale/time_put/put/wchar_t/10.cc: New.
  6804. * 22_locale/time_put/put/wchar_t/2.cc: New.
  6805. * 22_locale/time_put/put/wchar_t/3.cc: New.
  6806. * 22_locale/time_put/put/wchar_t/4.cc: New.
  6807. * 22_locale/time_put/put/wchar_t/5.cc: New.
  6808. * 22_locale/time_put/put/wchar_t/6.cc: New.
  6809. * 22_locale/time_put/put/wchar_t/7.cc: New.
  6810. * 22_locale/time_put/put/wchar_t/8.cc: New.
  6811. * 22_locale/time_put/put/wchar_t/9.cc: New.
  6812. * 22_locale/time_put/put/wchar_t/wrapped_env.cc: New.
  6813. * 22_locale/time_put/put/wchar_t/wrapped_locale.cc: New.
  6814. 2003-01-16 Jeffrey D. Oldham <oldham@codesourcery.com>
  6815. * config/locale/generic/messages_members.h
  6816. (messages_byname<_CharT>::messages_byname): Use this-> to refer to
  6817. unqualified members of base clasess.
  6818. 2003-01-16 Mark Mitchell <mark@codesourcery.com>
  6819. Jeffrey Oldham <oldham@codesourcery.com>
  6820. * config/locale/gnu/messages_members.h: Use this-> to refer to
  6821. unqualified members of base clasess.
  6822. * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Likewise.
  6823. * include/bits/codecvt.h: Likewise.
  6824. * include/bits/deque.tcc: Likewise.
  6825. * include/bits/fstream.tcc: Likewise.
  6826. * include/bits/istream.tcc: Likewise.
  6827. * include/bits/list.tcc: Likewise.
  6828. * include/bits/locale_facets.h: Likewise.
  6829. * include/bits/ostream.tcc: Likewise.
  6830. * include/bits/sstream.tcc: Likewise.
  6831. * include/bits/stl_bvector.h: Likewise.
  6832. * include/bits/stl_deque.h: Likewise.
  6833. * include/bits/stl_list.h: Likewise.
  6834. * include/bits/stl_tree.h: Likewise.
  6835. * include/bits/stl_vector.h: Likewise.
  6836. * include/bits/vector.tcc: Likewise.
  6837. * include/ext/ropeimpl.h: Likewise.
  6838. * include/ext/stdio_filebuf.h: Likewise.
  6839. * include/ext/stl_rope.h: Likewise.
  6840. * include/std/std_fstream.h: Likewise.
  6841. * include/std/std_sstream.h: Likewise.
  6842. 2003-01-15 Phil Edwards <pme@gcc.gnu.org>
  6843. * include/bits/basic_string.tcc (_S_string_copy): Unused, remove.
  6844. 2003-01-15 Benjamin Kosnik <bkoz@redhat.com>
  6845. * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
  6846. GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
  6847. * aclocal.m4: Regenerate.
  6848. * configure: Regenerate.
  6849. * testsuite/Makefile.am (all-local): Add conditional rule to
  6850. generate testsuite_wchar_t.
  6851. * testsuite/Makefile.in: Regenerate.
  6852. * testsuite/lib/libstdc++-v3-dg.exp
  6853. (libstdc++-v3-list-sourcefiles): Remove wchar_t files if
  6854. testsuite_wchar_t is not present in the build directory.
  6855. * testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
  6856. Remove setulimit bits.
  6857. * testsuite/26_numerics/complex_value.cc: Set to noopts.
  6858. * testsuite/Makefile.am (CLEANFILES): Add.
  6859. * testsuite/Makefile.in: Regenerate.
  6860. 2003-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
  6861. * config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
  6862. __hppa__.
  6863. 2003-01-14 Jeffrey D. Oldham <oldham@codesourcery.com>
  6864. Further conform g++'s __vmi_class_type_info to the C++ ABI
  6865. specification.
  6866. * libsupc++/cxxabi.h
  6867. (__vmi_class_type_info::__flags_masks): Remove enumerations not
  6868. required by the specification.
  6869. 2003-01-12 Benjamin Kosnik <bkoz@redhat.com>
  6870. Renames, namespaces for testsuite utilities.
  6871. * testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test.
  6872. (gnu_allocator_tracker): Rename to allocation_tracker.
  6873. (gnu_new_allocator): Rename to tracker_alloc.
  6874. (__set_testsuite_memlimit): Rename to set_memory_limits.
  6875. (gnu_assignment_operator): Rename to assignment_operator.
  6876. (gnu_destructor): Rename to destructor.
  6877. (gnu_copy_tracker): Rename to copy_tracker.
  6878. (gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long.
  6879. (run_tests_wrapped_locale): New.
  6880. (run_tests_wrapped_env): New.
  6881. * testsuite/testsuite_hooks.cc: Same.
  6882. (class locale_data): Add.
  6883. (class enviornment_variable): Add.
  6884. (class not_found): Add.
  6885. * testsuite/testsuite_allocator.h: Same.
  6886. * testsuite/testsuite_allocator.cc: Same.
  6887. * testsuite/23_containers/deque_ctor.cc
  6888. (test_copy_ctor_exception_safety): Change gnu_allocator_tracker to
  6889. allocation_tracker.
  6890. Change gnu_new_allocator to tracker_alloc.
  6891. Change gnu_counting_struct to counter.
  6892. Change gnu_copy_tracker to copy_tracker.
  6893. Change gnu_copy_constructor to copy_constructor.
  6894. Change gnu_assignment_operator to assignment_operator.
  6895. Inject.
  6896. * testsuite/23_containers/vector_capacity.cc: Same.
  6897. * testsuite/23_containers/vector_ctor.cc (test01): Same.
  6898. * testsuite/23_containers/list_modifiers.cc: Change
  6899. gnu_copy_tracker to copy_tracker.
  6900. * testsuite/21_strings/ctor_copy_dtor.cc (main): Change
  6901. __set_testsuite_memlimit to set_memory_limits.
  6902. * testsuite/21_strings/insert.cc (main): Same.
  6903. * testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
  6904. * testsuite/27_io/stringstream.cc: Same.
  6905. * testsuite/27_io/stringbuf.cc: Same.
  6906. * testsuite/27_io/streambuf.cc: Same.
  6907. * testsuite/27_io/ostream.cc: Same.
  6908. * testsuite/27_io/istream.cc: Same.
  6909. * testsuite/27_io/fstream.cc: Same.
  6910. * testsuite/lib/libstdc++-v3-dg.exp
  6911. (libstdc++-v3-list-sourcefiles): Additionally handle files two and
  6912. three levels deeper in glob patterns.
  6913. 2003-01-11 Phil Edwards <pme@gcc.gnu.org>
  6914. * docs/doxygen/tables.html: Finished now.
  6915. * docs/doxygen/user.cfg.in: Update to latest version of Doxygen.
  6916. * include/bits/basic_ios.h (basic_ios::rdbuf): Add example to
  6917. comments.
  6918. * include/bits/deque.tcc, include/bits/stl_alloc.h,
  6919. include/bits/stl_deque.h, include/bits/stl_list.h,
  6920. include/bits/stl_vector.h: Remove _GLIBCPP_DEPRECATED bits scheduled
  6921. for 3.4 removal.
  6922. 2003-01-09 Benjamin Kosnik <bkoz@redhat.com>
  6923. * configure.in: Revert.
  6924. * configure: Regenerate.
  6925. 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
  6926. * include/Makefile.am (install-data-local): Prepend
  6927. $(DESTDIR) to destination paths in all (un)installation
  6928. commands. Use ${c_base_builddir} and ${std_builddir}
  6929. as destination subdirectories to achieve consistency with
  6930. preceding mkinstalldirs commands. No effect because both
  6931. variables contain "." only.
  6932. * include/Makefile.in: Regenerate.
  6933. 2003-01-08 Benjamin Kosnik <bkoz@redhat.com>
  6934. * include/Makefile.am (stamp-*): Add checks for existing stamps.
  6935. * include/Makefile.in: Regenerate.
  6936. * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Correct comment.
  6937. * aclocal.m4: Regenerate.
  6938. * configure.in: Don't add new multi-do rules every time the
  6939. directory is reconfigured.
  6940. * configure: Regenerate.
  6941. 2003-01-08 Brad Spencer <spencer@infointeractive.com>
  6942. Nathan Myers <ncm@cantrip.org>
  6943. * src/Makefile.am (stamp-debug): Clean.
  6944. * src/Makefile.in: Regenerate.
  6945. 2003-01-07 Benjamin Kosnik <bkoz@redhat.com>
  6946. PR libstdc++/8707
  6947. * Makefile.am (distclean-multi): Fix.
  6948. * Makefile.in: Regenerate.
  6949. 2003-01-06 Benjamin Kosnik <bkoz@redhat.com>
  6950. * include/bits/locale_facets.h (messages): Move ctor, dtor
  6951. definitions to..
  6952. (__timepunct): Same.
  6953. * config/locale/gnu/messages_members.h (messages): Add dtor, ctor
  6954. definitions. Conditionalize for GNU systems.
  6955. * config/locale/generic/messages_members.h (messages): Add dtor, ctor
  6956. definitions.
  6957. * config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
  6958. definitions. Conditionalize for GNU systems.
  6959. * config/locale/generic/time_members.h (messages): New. Add dtor, ctor
  6960. definitions.
  6961. * include/bits/localefwd.h (locale::facet::_S_c_name): Add.
  6962. * src/locale.cc: Define.
  6963. * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
  6964. Use it.
  6965. * config/locale/gnu/time_members.h: Use it.
  6966. * config/locale/gnu/messages_members.h: Use it.
  6967. * config/linker-map.gnu: Add locale::facets details.
  6968. * include/Makefile.am (target_headers_extra): Add time_members.h.
  6969. * include/Makefile.in: Regenerate.
  6970. * acinclude.m4: Export CTIME_H.
  6971. * aclocal.m4: Regenerate.
  6972. * configure: Regnerate.
  6973. 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
  6974. * src/codecvt.cc
  6975. (codecvt<char, char, mbstate_t>::do_in, do_out):
  6976. Tweak parameters to avoid unused parameter warnings.
  6977. 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
  6978. PR libstdc++/9151
  6979. * include/bits/locale_facets.cc (num_put::_M_convert_float):
  6980. Limit __prec to digits10 + 2, not digits10 + 1, taking into
  6981. account the possibility of %{g,G} conversion specifiers
  6982. inside _S_format_float.
  6983. * testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
  6984. 2003-01-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  6985. * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init,
  6986. libstdc++-v3-list-sourcefiles): Additionally handle files one
  6987. level deeper in glob patterns.
  6988. * testsuite/27_io/istream_extractor_arith.cc: Delete, split...
  6989. * testsuite/27_io/istream_extractor_arith/01.cc,
  6990. testsuite/27_io/istream_extractor_arith/02.cc,
  6991. testsuite/27_io/istream_extractor_arith/03.cc,
  6992. testsuite/27_io/istream_extractor_arith/06.cc,
  6993. testsuite/27_io/istream_extractor_arith/07.cc,
  6994. testsuite/27_io/istream_extractor_arith/08.cc,
  6995. testsuite/27_io/istream_extractor_arith/09.cc,
  6996. testsuite/27_io/istream_extractor_arith/10.cc,
  6997. testsuite/27_io/istream_extractor_arith/11.cc,
  6998. testsuite/27_io/istream_extractor_arith/12.cc,
  6999. testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
  7000. * testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
  7001. sparc*-*-solaris2*.
  7002. 2003-01-05 Paolo Carlini <pcarlini@unitus.it>
  7003. PR libstdc++/9168
  7004. * src/codecvt.cc
  7005. (codecvt<char, char, mbstate_t>::do_in, do_out):
  7006. Implement the resolution of DR19 (TC).
  7007. * testsuite/22_locale/codecvt_members_char_char.cc
  7008. (test01): Tweak.
  7009. 2003-01-02 Jason Merrill <jason@redhat.com>
  7010. * config/cpu/i486/atomicity.h (__exchange_and_add, __atomic_add):
  7011. *__mem is also an output.
  7012. * config/cpu/m68k/atomicity.h (__exchange_and_add): Likewise.
  7013. Copyright (C) 2003 Free Software Foundation, Inc.
  7014. Copying and distribution of this file, with or without modification,
  7015. are permitted in any medium without royalty provided the copyright
  7016. notice and this notice are preserved.