ChangeLog-2002 206 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596
  1. 2002-12-30 Loren J. Rittle <ljrittle@acm.org>
  2. * src/Makefile.am: Resolve non-portable use of $<.
  3. * src/Makefile.in: Rebuilt.
  4. 2002-12-30 Phil Edwards <pme@gcc.gnu.org>
  5. * configure.in (GLIBCPP_ENABLE_CXX_FLAGS): Do not pass arguments,
  6. let the defaults work.
  7. * configure: Regenerate.
  8. 2002-12-30 Phil Edwards <pme@gcc.gnu.org>
  9. * acinclude.m4: Remove trailing whitespace.
  10. (GLIBCPP_ENABLE_CXX_FLAGS): Fix.
  11. * aclocal.m4, configure: Regenerate.
  12. 2002-12-29 Phil Edwards <pme@gcc.gnu.org>
  13. * include/std/std_bitset.h: Better comments.
  14. 2002-12-28 Joseph S. Myers <jsm@polyomino.org.uk>
  15. * docs/html/17_intro/porting.texi: Use @copying.
  16. * docs/html/17_intro/porting.html: Regenerate.
  17. 2002-12-27 Mark Mitchell <mark@codesourcery.com>
  18. * config/locale/gnu/ctype_members.cc
  19. (ctype<wchar_t>::_M_convert_to_wmask): Remove stray semicolon.
  20. * config/locale/gnu/monetary_members.cc
  21. (moneypunct<wchar_t, true>::_M_initialize_moneypunct): Avoid
  22. defining classes in static_cast.
  23. (moneypunct<wchar_t, false>::_M_initialize_moneypunct): Likewise.
  24. * config/locale/gnu/numeric_members.cc
  25. (numpunct<wchar_t, false>::_M_initialize_numpunct): Likewise.
  26. * include/bits/stl_deque.h (operator-): Insert typename where
  27. required.
  28. * include/bits/stl_multiset.h (multiset): Remove stray semicolon.
  29. * include/bits/stl_set.h (set): Likewise.
  30. * include/bits/valarray_meta.h (bits/slice_array.h): Include it.
  31. * include/std/std_fstream.h (basic_fstream::open): Use this-> to
  32. avoid Koenig lookup.
  33. (basic_fstream::close): Likewise.
  34. * libsupc++/new (operator delete): Remove stray semicolon.
  35. * libsupc++/new (operator delete[]): Likewise.
  36. * libsupc++/tinfo.cc: Likewise.
  37. * src/stdexcept.c (logic_error::~logic_error): Likewise.
  38. (runtime_error::~runtime_error): Likewise.
  39. 2002-12-26 Phil Edwards <pme@gcc.gnu.org>
  40. * libsupc++/exception: Add comment (mistakenly skipped).
  41. 2002-12-26 Phil Edwards <pme@gcc.gnu.org>
  42. * include/std/std_bitset.h (_Base_bitset::_M_do_left_shift,
  43. _Base_bitset::_M_do_right_shift): Expect a non-zero shift.
  44. (bitset::operator<<=, bitset::operator>>=): When shifting more bits
  45. than are in the bitset, zero memory rather than segfault.
  46. (operator>>(basic_istream,bitset): Only call setstate once, after
  47. all work has been done.
  48. * testsuite/23_containers/bitset_members.cc (test03): New test.
  49. * testsuite/23_containers/bitset_shift.cc (test02): New test.
  50. 2002-12-26 Phil Edwards <pme@gcc.gnu.org>
  51. * libsupc++/vterminate.cc (writestr): Use __builtin_strlen.
  52. 2002-12-26 Phil Edwards <pme@gcc.gnu.org>
  53. * libsupc++/eh_term_handler.cc: Add comment about embedded systems.
  54. * docs/html/debug.html: Cosmetic and HTML changes. Point to
  55. verb-term notes.
  56. * docs/html/documentation.html: Link to the FAQ.
  57. * docs/html/17_intro/howto.html: Mention use of isatty(3).
  58. * docs/html/19_diagnostics/howto.html: Update verb-term description.
  59. 2002-12-25 Phil Edwards <pme@gcc.gnu.org>
  60. * src/vterminate.cc: Move to...
  61. * libsupc++/vterminate.cc: ...here. New file. Replace fprintf with
  62. writestr macro. Slight reword to explanatory text.
  63. * libsupc++/eh_terminate.cc (__cxxabiv1::__terminate_handler,
  64. __cxxabiv1::__unexpected_handler): Break definitions out to...
  65. * libsupc++/eh_unex_handler.cc: ...here (new file), and...
  66. * libsupc++/eh_term_handler.cc: ...here (new file). Initialize
  67. __terminate_handler with __gnu_cxx::__verbose_terminate_handler
  68. instead of std::abort.
  69. * libsupc++/Makefile.am (sources), src/Makefile.am (sources): Update.
  70. * libsupc++/Makefile.in, src/Makefile.in: Regenerate.
  71. 2002-12-23 Danny Smith <dannysmith@users.sourceforge.net>
  72. * config/io/basic_file_stdio.cc (__basic_file::_M_open_mode):
  73. Don't use O_NONBLOCK if it is not defined.
  74. (__basic_file::open): Don't use fcntl either.
  75. 2002-12-20 Sylvain Pion <Sylvain.Pion@mpi-sb.mpg.de>
  76. * include/bits/stl_deque.h: Fix typo.
  77. * include/bits/stl_list.h: Same.
  78. * include/bits/stl_map.h: Same.
  79. * include/bits/stl_multimap.h: Same.
  80. * include/bits/stl_queue.h: Same.
  81. * include/bits/stl_stack.h: Same.
  82. * include/bits/stl_vector.h: Same.
  83. 2002-12-18 Benjamin Kosnik <bkoz@redhat.com>
  84. * docs/html/documentation.html: Add link for debug.html.
  85. * docs/html/debug.html: New.
  86. 2002-12-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  87. * testsuite/23_containers/vector_capacity.cc (test03): Move ...
  88. * testsuite/23_containers/vector_resize.cc: ...here as a new file.
  89. Pass in -lmalloc for irix6.
  90. * testsuite/27_io/ios_base_storage.cc: Pass in -lmalloc for irix6.
  91. 2002-12-18 Jason Merrill <jason@redhat.com>
  92. * src/vterminate.cc (__verbose_terminate_handler): Send
  93. diagnostics to stderr.
  94. 2002-12-18 Ulrich Weigand <uweigand@de.ibm.com>
  95. * configure.in: Define with_target_subdir and with_build_subdir
  96. variables in config-ml.in AC_OUTPUT call.
  97. * configure: Regenerate.
  98. 2002-12-16 Paolo Carlini <pcarlini@unitus.it>
  99. PR libstdc++/8949
  100. * include/std/std_limits.h
  101. (struct numeric_limits<short>,
  102. struct numeric_limits<unsigned short>,
  103. struct numeric_limits<int>,
  104. struct numeric_limits<unsigned int>,
  105. struct numeric_limits<long>,
  106. struct numeric_limits<unsigned long>,
  107. struct numeric_limits<long long>,
  108. struct numeric_limits<unsigned long long>): According
  109. to 18.2.1.2,53 and 18.2.1.5,1 is_iec559 shall be false.
  110. * testsuite/18_support/numeric_limits.cc: Add test04.
  111. 2002-12-16 Benjamin Kosnik <bkoz@redhat.com>
  112. * configure.in (GLIBCPP_ENABLE_DEBUG): Default to none.
  113. Call GLIBCPP_ENABLE_DEBUG_FLAGS.
  114. * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): GLIBCPP_BUILD_DEBUG, new
  115. conditional if --enable-debug is yes. Rework.
  116. (GLIBCPP_ENABLE_DEBUG_FLAGS): New.
  117. * aclocal.m4: Regenerate.
  118. * libio/Makefile.am: Remove DEBUG_FLAGS.
  119. * libio/Makefile.in: Regenerate.
  120. * libsupc++/Makefile.am: Remove DEBUG_FLAGS.
  121. * libsupc++/Makefile.in: Regenerate.
  122. * docs/html/configopts.html: Add docs for --enable-debug,
  123. --enable-debug-flags.
  124. 2002-12-16 Benjamin Kosnik <bkoz@redhat.com>
  125. Correct dependency tracking, build warts.
  126. * configure.in: Correct repeated AC_OUTPUT thrashing by
  127. config-ml.in
  128. * configure: Regenerate.
  129. * include/Makefile.am (stamp-target): Stamp in top_builddir.
  130. * include/Makefile.in: Regenerate.
  131. * src/Makefile.am (codecvt_members.cc): New rule.
  132. (collate_members.cc): Same.
  133. (ctype_members.cc): Same.
  134. (messages_members.cc): Same.
  135. (monetary_members.cc): Same.
  136. (numeric_members.cc): Same.
  137. (time_members.cc): Same.
  138. (c++locale.cc): Same.
  139. (basic_file.cc): Same.
  140. * src/Makefile.in: Regenerate.
  141. * acinclude.m4 (CCTYPE_CHAR_CC): Remove.
  142. (CCCODECVT_CC): Don't link, AC_SUBST.
  143. (CCOLLATE_CC): Same.
  144. (CCTYPE_CC): Same.
  145. (CMESSAGES_CC): Same.
  146. (CMONEY_CC): Same.
  147. (CNUMERIC_CC): Same.
  148. (CTIME_CC): Same.
  149. (CLOCALE_CC): Same.
  150. * aclocal.m4: Regenerate.
  151. * src/Makefile.am (libstdc___la_LIBADD): Use top_builddir
  152. for convenience libraries.
  153. (version_arg): Rename linker.map to libstdc++.ver.
  154. (libstdc___la_DEPENDENCIES): Remove linker.map, add
  155. libstdc++-symbol.ver as a dependency.
  156. (libstdc++-symbol.ver): Add rule.
  157. * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Change LINKER_MAP to
  158. SYMVER_MAP. Don't link, AC_SUBST.
  159. * include/Makefile.am (target_headers_noinst): New.
  160. (stamp-target): Add CLOCALE_INTERNAL_H.
  161. * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't link
  162. CLOCALE_INTERNAL_H, AC_SUBST.
  163. * config/locale/gnu/c_locale.cc: Modify c++locale_internal.h
  164. include.
  165. * config/locale/gnu/time_members.cc: Same.
  166. * config/locale/gnu/numeric_members.cc: Same.
  167. * config/locale/gnu/monetary_members.cc: Same.
  168. * config/locale/gnu/messages_members.cc: Same.
  169. * config/locale/gnu/ctype_members.cc: Same.
  170. * config/locale/gnu/collate_members.cc: Same.
  171. * config/locale/gnu/codecvt_members.cc: Same.
  172. * config/locale/generic/codecvt_members.cc: Remove.
  173. 2002-12-11 Paolo Carlini <pcarlini@unitus.it>
  174. PR libstdc++/8887
  175. * config/locale/generic/time_members.cc
  176. (__timepunct<char>::_M_initialize_timepunct): Fix typos
  177. in _M_date_format and _M_date_era_format string literals.
  178. 2002-12-10 Mark Mitchell <mark@codesourcery.com>
  179. * libsupc++/cxxabi.h (__cxa_bad_cast): Declare it.
  180. (__cxa_bad_typeid): Likewise.
  181. (__cxa_atexit): Likewise.
  182. (__cxa_finalize): Likewise.
  183. 2002-12-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
  184. * include/bits/slice_array.h (slice_array<>::operator=): Fix typo.
  185. 2002-12-09 Mark Mitchell <mark@codesourcery.com>
  186. * libsupc++/cxxabi.h (__cxa_pure_virtual): Declare it.
  187. 2002-12-05 Benjamin Kosnik <bkoz@redhat.com>
  188. * testsuite/abi_check.cc: Add GLIBCPP_3.2.2.
  189. 2002-12-04 Paolo Carlini <pcarlini@unitus.it>
  190. * config/locale/generic/codecvt_members.cc (codecvt::do_out
  191. (state_type&, const intern_type*, const intern_type*,
  192. const intern_type*&, extern_type*, extern_type*, extern_type*&),
  193. codecvt::do_in(state_type&, const extern_type*, const extern_type*,
  194. const extern_type*&, intern_type*, intern_type*, intern_type*&)):
  195. Fully qualify min() with std::.
  196. * config/locale/gnu/codecvt_members.cc: Ditto.
  197. * locale/ieee_1003.1-2001/codecvt_specializations.h
  198. (codecvt::do_length(const state_type&, const extern_type*,
  199. const extern_type*, size_t): Ditto.
  200. * include/bits/deque.tcc
  201. (_M_range_initialize(_ForwardIterator, _ForwardIterator,
  202. forward_iterator_tag), deque::_M_range_insert_aux(iterator,
  203. _ForwardIterator, _ForwardIterator, forward_iterator_tag),
  204. deque::_M_reallocate_map(size_type, bool)): Fully qualify
  205. distance() and max() with std::.
  206. * include/bits/fstream.tcc (basic_filebuf::seekoff(off_type,
  207. ios_base::seekdir, ios_base::openmode)): Fully qualify max()
  208. with std::.
  209. * include/bits/istream.tcc (basic_istream::ignore(streamsize,
  210. int_type), basic_istream::readsome(char_type*, streamsize)):
  211. Fully qualify min() with std::.
  212. * include/bits/locale_facets.tcc (time_get::_M_extract_name
  213. (iter_type&, iter_type&, int&, const _CharT**, size_t,
  214. ios_base::iostate&)): Ditto.
  215. * include/bits/sstream.tcc (basic_stringbuf::overflow(int_type)):
  216. Fully qualify max() with std::.
  217. * include/bits/stl_algo.h (__inplace_stable_partition(_ForwardIter
  218. __first, _ForwardIter, _Predicate, _Distance),
  219. __stable_partition_adaptive(_ForwardIter, _ForwardIter, _Predicate,
  220. _Distance, _Pointer, _Distance), __merge_sort_loop(_RandomAccessIter1,
  221. _RandomAccessIter1, _RandomAccessIter2, _Distance),
  222. __merge_sort_loop(_RandomAccessIter1, _RandomAccessIter1,
  223. _RandomAccessIter2, _Distance, _Compare), lower_bound(_ForwardIter,
  224. _ForwardIter, const _Tp&), lower_bound(_ForwardIter, _ForwardIter,
  225. const _Tp&, _Compare), upper_bound(_ForwardIter, _ForwardIter,
  226. const _Tp&), upper_bound(_ForwardIter, _ForwardIter, const _Tp&,
  227. _Compare), equal_range(_ForwardIter, _ForwardIter, const _Tp&),
  228. equal_range(_ForwardIter, _ForwardIter, const _Tp&, _Compare),
  229. __merge_without_buffer(_BidirectionalIter, _BidirectionalIter,
  230. _BidirectionalIter, _Distance, _Distance), __merge_without_buffer
  231. (_BidirectionalIter, _BidirectionalIter, _BidirectionalIter,
  232. _Distance, _Distance, _Compare), __rotate_adaptive(_BidirectionalIter1,
  233. _BidirectionalIter1, _BidirectionalIter1, _Distance, _Distance,
  234. _BidirectionalIter2, _Distance), __merge_adaptive(_BidirectionalIter,
  235. _BidirectionalIter, _BidirectionalIter, _Distance, _Distance,
  236. _Pointer, _Distance), __merge_adaptive(_BidirectionalIter,
  237. _BidirectionalIter, _BidirectionalIter, _Distance, _Distance,
  238. _Pointer, _Distance, _Compare), inplace_merge(_BidirectionalIter,
  239. _BidirectionalIter, _BidirectionalIter), inplace_merge
  240. (_BidirectionalIter, _BidirectionalIter, _BidirectionalIter,
  241. _Compare), __find_end(_BidirectionalIter1, _BidirectionalIter1,
  242. _BidirectionalIter2, _BidirectionalIter2, bidirectional_iterator_tag,
  243. bidirectional_iterator_tag), __find_end(_BidirectionalIter1,
  244. _BidirectionalIter1, _BidirectionalIter2, _BidirectionalIter2,
  245. bidirectional_iterator_tag, bidirectional_iterator_tag,
  246. _BinaryPredicate)): Fully qualify distance() and min() with std::.
  247. * include/bits/stl_algobase.h (lexicographical_compare
  248. (const unsigned char*, const unsigned char*, const unsigned char*,
  249. const unsigned char*)): Fully qualify min() with std::.
  250. * include/bits/stl_bvector.h (_M_insert_range(iterator,
  251. _ForwardIterator, _ForwardIterator, forward_iterator_tag),
  252. _M_assign_aux(_ForwardIterator, _ForwardIterator,
  253. forward_iterator_tag),
  254. _M_initialize_range(_ForwardIterator, _ForwardIterator,
  255. forward_iterator_tag), _M_fill_insert(iterator, size_type, bool)):
  256. Fully qualify distance() and max() with std::.
  257. * include/bits/stl_deque.h
  258. (_Deque_base::_M_initialize_map(size_t),
  259. _M_assign_aux(_ForwardIterator, _ForwardIterator,
  260. forward_iterator_tag)):
  261. Ditto. * include/bits/stl_list.h (size()): Fully qualify
  262. distance() with std::.
  263. * include/bits/stl_tempbuf.h (_Temporary_buffer::_Temporary_buffer
  264. (_ForwardIterator, _ForwardIterator)): Ditto.
  265. * include/bits/stl_tree.h (_Rb_tree::erase(const _Key&),
  266. _Rb_tree::count(const _Key&)): Ditto.
  267. * include/bits/stl_vector.h (_M_range_initialize(_ForwardIterator,
  268. _ForwardIterator, forward_iterator_tag)): Ditto.
  269. * include/bits/streambuf.tcc (basic_streambuf::xsgetn(char_type*,
  270. streamsize), basic_streambuf::xsputn(const char_type*, streamsize)):
  271. Fully qualify min() with std::.
  272. * include/bits/vector.tcc (_M_assign_aux(_ForwardIter, _ForwardIter,
  273. forward_iterator_tag), _M_fill_insert(iterator, size_type,
  274. const value_type&), _M_range_insert(iterator, _ForwardIterator,
  275. _ForwardIterator, forward_iterator_tag)): Fully qualify max() and
  276. distance() with std::.
  277. * include/std/std_bitset.h (bitset::_M_copy_from_string
  278. (const basic_string&, size_t, size_t)): Fully qualify min() with std::.
  279. * include/std/std_streambuf.h (_M_pback_create()): Ditto.
  280. * include/std/std_complex.h (abs(const complex<_Tp>&)):
  281. Fully qualify max() with std::.
  282. * include/std/std_sstream.h (str()): Ditto.
  283. * src/codecvt.cc (codecvt::do_out(state_type&, const intern_type*,
  284. const intern_type*, const intern_type*&, extern_type*, extern_type*,
  285. extern_type*&), codecvt::do_in(state_type&, const extern_type*,
  286. const extern_type*, const extern_type*&, intern_type*, intern_type*,
  287. intern_type*&), codecvt::do_length(const state_type&,
  288. const extern_type*, const extern_type*, size_t), do_length
  289. (const state_type&, const extern_type*, const extern_type*,
  290. size_t)): Fully qualify min() with std::.
  291. * src/strstream.cc (strstreambuf::strstreambuf(streamsize),
  292. strstreambuf::overflow(int_type)): Fully qualify max() with std::.
  293. 2002-12-02 Paolo Carlini <pcarlini@unitus.it>
  294. * include/bits/basic_string.h (compare(const basic_string&)):
  295. Fully qualify min() with std::.
  296. 2002-12-02 Benjamin Kosnik <bkoz@redhat.com>
  297. * configure.in (libtool_VERSION): Update to 5:2:0.
  298. * configure: Regenerate.
  299. 2002-12-02 Paolo Carlini <pcarlini@unitus.it>
  300. * include/bits/basic_string.tcc
  301. (basic_string::append(const basic_string&, size_type,
  302. size_type), basic_string::compare(size_type, size_type,
  303. const basic_string&), basic_string::compare(size_type,
  304. size_type, const basic_string&, size_type, size_type),
  305. basic_string::compare(const _CharT*), basic_string::
  306. compare(size_type, size_type, const _CharT*),
  307. basic_string::compare(size_type, size_type, const _CharT*,
  308. size_type), _S_string_copy(const basic_string&, _CharT*,
  309. typename _Alloc::size_type)): Fully qualify min() with std::.
  310. 2002-12-02 Paolo Carlini <pcarlini@unitus.it>
  311. * include/bits/basic_string.tcc
  312. (basic_string::_S_construct(_InIter, _InIter, const _Alloc&,
  313. forward_iterator_tag)): Delay the declaration of __dnew,
  314. fully qualify distance() with std::.
  315. (basic_string::_M_replace_safe): Fully qualify distance()
  316. with std::.
  317. 2002-11-28 Phil Edwards <pme@gcc.gnu.org>
  318. PR libstdc++/8716
  319. * testsuite/21_strings/ctor_copy_dtor.cc (test05): Also test
  320. the NULL-pointer, zero-size case.
  321. 2002-11-28 Jonathan Wakely <redi@gcc.gnu.org>
  322. * docs/html/faq/index.html: Add tip about a namespace for extensions.
  323. 2002-11-28 Paolo Carlini <pcarlini@unitus.it>
  324. Nathan Myers <ncm@cantrip.org>
  325. * src/localename.cc
  326. (locale::_Impl::_Impl(const char*, size_t)):
  327. Improve previous fix for the strtok vs MT issue.
  328. 2002-11-28 Paolo Carlini <pcarlini@unitus.it>
  329. * config/locale/gnu/c_locale.cc (locale::_S_categories):
  330. Reorder the categories to match that of glibc's setlocale(LC_ALL, ""))
  331. * config/locale/generic/c_locale.cc (locale::_S_categories): Ditto.
  332. * testsuite/22_locale/ctor_copy_dtor.cc (test04): Tweak.
  333. 2002-11-25 Benjamin Kosnik <bkoz@redhat.com>
  334. * testsuite/abi_check.cc: Add CXXABI_1.2.1 as compatible.
  335. * config/linker-map.gnu: Version __cxa_guard_acquire,
  336. __cxa_guard_release, __cxa_guard_abort in CXXABI_1.2.1.
  337. 2002-11-25 Paolo Carlini <pcarlini@unitus.it>
  338. Nathan Myers <ncm@cantrip.org>
  339. * src/localename.cc
  340. (locale::_Impl::_Impl(const char*, size_t)):
  341. Avoid strtok for thread safety.
  342. 2002-11-25 Stephen M. Webb <stephen@bregmasoft.com>
  343. * testsuite/testsuite_allocator.h: New file.
  344. * testsuite/testsuite_allocator.cc: New file.
  345. * testsuite/Makefile.am: Added testsuite_allocator to test library.
  346. * testsuite/testsuite_hooks.h: Added more detailed tracker objects
  347. gnu_copy_constructor, gnu_assignment_operator, and gnu_destructor.
  348. * testsuite/testsuite_hooks.cc: Added new static objects definitions.
  349. * testsuite/23_containers/vector_capacity.cc: Added reserve() tests.
  350. * testsuite/23_containers/vector_ctor.cc: Added a plethora of tests.
  351. * testsuite/23_containers/deque_ctor.cc: Added a slew of new tests.
  352. 2002-11-25 Mark Mitchell <mark@codesourcery.com>
  353. * libsupc++/Makefile.am (sources): Add guard.cc.
  354. * libsupc++/Makefile.in: Regenerated.
  355. * libsupc++/cxxabi.h (__cxa_guard_acquire): New function.
  356. (__cxa_guard_release): Likewise.
  357. (__cxa_guard_abort): Likewise.
  358. * libsupc++/guard.cc: New file.
  359. 2002-11-25 Wolfgang Bangerth <bangerth@ticam.utexas.edu>
  360. * include/std/std_complex.h
  361. (operator<<(basic_ostream&, const complex&)): Prefer 'x'
  362. to "x" for efficiency sake.
  363. * src/locale.cc (locale::locale(const char*)): Ditto.
  364. 2002-11-24 Paolo Carlini <pcarlini@unitus.it>
  365. * src/locale.cc (locale::locale(const char*)):
  366. Trivial cosmetic tweaks.
  367. 2002-11-22 Laszlo Ersek <erseklaszlo@chello.hu>
  368. Paolo Carlini <pcarlini@unitus.it>
  369. PR libstdc++/8645
  370. * include/bits/stl_tree.h (_Rb_tree_rebalance_for_erase):
  371. Don't check that __w->_M_left != 0 and __w->_M_right != 0
  372. when they can't be otherwise.
  373. 2002-11-21 Phil Edwards <pme@gcc.gnu.org>
  374. * docs/html/documentation.html: Fix broken/thinko'd URL.
  375. 2002-11-21 Phil Edwards <pme@gcc.gnu.org>
  376. * docs/doxygen/run_doxygen: Tighter search expression for sed.
  377. * docs/doxygen/stdheader.cc: Handle the case of good headers.
  378. 2002-11-21 Phil Edwards <pme@gcc.gnu.org>
  379. * acinclude.m4: Uniform formatting.
  380. * configure.in: Warn when generic atomicity.h is used.
  381. * configure.target: Fix comment.
  382. * aclocal.m4, configure: Regenerate.
  383. 2002-11-21 Phil Edwards <pme@gcc.gnu.org>
  384. * include/bits/streambuf.tcc (basic_streambuf::sputbackc): Prefix
  385. "this->" to call to pbackfail.
  386. 2002-11-21 Phil Edwards <pme@gcc.gnu.org>
  387. * docs/doxygen/style.css: Update.
  388. * docs/doxygen/user.cfg.in: Update.
  389. * docs/html/documentation.html: Regenerate.
  390. * docs/html/17_intro/howto.html: Tweak I/O sentry entry.
  391. * docs/html/27_io/howto.html: New section on headers.
  392. * docs/html/faq/index.html: Add i386 threading entry.
  393. * docs/html/faq/index.txt: Regenerate.
  394. * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
  395. Import R23.
  396. 2002-11-21 Phil Edwards <pme@gcc.gnu.org>
  397. * docs/doxygen/TODO: Note change in clause 27 docs.
  398. * include/bits/basic_ios.h, include/bits/fpos.h,
  399. include/bits/ios_base.h, include/bits/stl_deque.h,
  400. include/bits/stl_iterator_base_types.h, include/std/std_fstream.h,
  401. include/std/std_iomanip.h, include/std/std_iosfwd.h,
  402. include/std/std_iostream.h, include/std/std_istream.h,
  403. include/std/std_ostream.h, include/std/std_sstream.h,
  404. include/std/std_streambuf.h: Doxygenate all I/O entities.
  405. 2002-11-20 Benjamin Kosnik <bkoz@redhat.com>
  406. Jonathan Lennox <lennox@cs.columbia.edu>
  407. * include/bits/streambuf.tcc (__copy_streambufs):
  408. Revert previous fix for the interactive half of
  409. libstdc++/6745, use _M_buf_size_opt to set dynamically
  410. the correct buffer size.
  411. 2002-11-20 Jonathan Wakely <redi@gcc.gnu.org>
  412. * docs/html/21_strings/howto.html: Fix example code, cite Gaby's
  413. explanation of "<unknown type>" error with toupper/tolower.
  414. * docs/html/22_locale/howto.html: Be more consistent with
  415. example in 21_strings.
  416. 2002-11-19 John Gustafsson <forgoil@rsn.bth.se>
  417. * docs/html/20_util/howto.html: Fix typo.
  418. 2002-11-18 Jonathan Lennox <lennox@cs.columbia.edu>
  419. * include/bits/streambuf.tcc (__copy_streambufs): verify
  420. __sbin->gptr() + __bufsize < __sbin->egptr() before using.
  421. * testsuite/27_io/ostream_inserter_other.cc (test_buffer_4): Add.
  422. (test05): Use test_buffer_4. Delete unused ostringstream
  423. variables.
  424. 2002-11-18 Paolo Carlini <pcarlini@unitus.it>
  425. PR libstdc++/6745 (continued)
  426. * include/bits/streambuf.tcc (__copy_streambufs):
  427. Deal with interactive input by using isatty as in the
  428. fix for libstdc++/8399.
  429. 2002-11-17 Jakub Jelinek <jakub@redhat.com>
  430. * config/linker-map.gnu: Export _S_construct even if size_t is
  431. unsigned long. Collapse std::codecvt<char>::codecvt(size_t)
  432. and std::codecvt<wchar_t>::codecvt(size_t) into one export pattern.
  433. 2002-11-15 Benjamin Kosnik <bkoz@redhat.com>
  434. Gabriel Dos Reis <gdr@integrable-solutions.net>
  435. PR libstdc++/8230
  436. * include/bits/stl_alloc.h: Use builtin_expect for the most
  437. obvious limit checks.
  438. (__default_alloc_template::allocate): Check for null, throw
  439. bad_alloc.
  440. * include/bits/vector.tcc: Formatting tweaks.
  441. * include/bits/stl_vector.h: Same.
  442. * testsuite/20_util/allocator_members.cc (test02): Add.
  443. * testsuite/23_containers/vector_capacity.cc (test03): Add.
  444. 2002-11-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  445. * src/ios.cc [_GLIBCPP_HAVE_UNISTD_H]: Include unistd.h.
  446. 2002-11-15 Paolo Carlini <pcarlini@unitus.it>
  447. Loren J. Rittle <ljrittle@acm.org>
  448. PR libstdc++/8399
  449. * acinclude.m4
  450. (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): New macro to
  451. check for unistd.h functions.
  452. (GLIBCPP_CHECK_UNISTD_SUPPORT): New macro, check for isatty
  453. in unistd.h.
  454. * configure.in: Call here.
  455. * src/ios.cc (ios_base::Init::_S_ios_create(bool)):
  456. Use _GLIBCPP_HAVE_ISATTY: ifdef, in case of interactive
  457. input __in_size = 1 even when sync_with_stdio is false;
  458. otherwise fall back to __in_size = 1.
  459. * aclocal.m4: Regenerate.
  460. * config.h.in: Regenerate.
  461. * configure: Regenerate.
  462. 2002-11-13 Benjamin Kosnik <bkoz@redhat.com>
  463. * acconfig.h (HAVE_DRAND48): Add.
  464. (HAVE_GETPAGESIZE): Add.
  465. (HAVE_SETENV): Add.
  466. (HAVE_SIGSETJMP): Add.
  467. * config.h.in: Regenerate.
  468. * configure: Regenerate.
  469. 2002-11-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
  470. * config/os/hpux/os_defines.h (_GLIBCPP_INST_ATOMICITY_LOCK): Define
  471. on hppa when there is no weak support.
  472. 2002-11-13 Benjamin Kosnik <bkoz@redhat.com>
  473. PR libstdc++/8230
  474. * include/bits/vector.tcc (vector::reserve): Throw length_error if
  475. requested size is bigger than max_size().
  476. * include/bits/stl_bvector.h (vector<bool>::reserve): Same.
  477. * testsuite/23_containers/vector_capacity.cc (test02): Add.
  478. 2002-11-13 Benjamin Kosnik <bkoz@redhat.com>
  479. * config/linker-map.gnu: Export all _S_construct.
  480. 2002-11-13 Loren J. Rittle <ljrittle@acm.org>
  481. PR libstdc++/7445
  482. * src/locale.cc (std::locale::classic()): Weaken locking protocol.
  483. 2002-11-13 Jonathan Wakely <redi@gcc.gnu.org>
  484. * docs/html/install.html, docs/html/22_locale/locale.html: HTML fix.
  485. 2002-11-11 Benjamin Kosnik <bkoz@redhat.com>
  486. PR libstdc++/6746
  487. * include/bits/fstream.tcc (filebuf::open): Set input pointers.
  488. * config/io/basic_file_stdio.cc (__basic_file::_M_open_mode): Set
  489. __p_mode as well.
  490. (__basic_file::open): Set to non-block for input.
  491. * testsuite/27_io/istream_unformatted.cc (test12): Add.
  492. (test13): Same.
  493. 2002-11-11 Jonathan Wakely <redi@gcc.gnu.org>
  494. * docs/html/17_intro/howto.html: Make "chapter 22 notes" a link.
  495. * docs/html/faq/index.html: Mention that GCC ships with a newer
  496. version of the library than the last snapshot. Make "see below" a
  497. link. Add missing <html> tag.
  498. * docs/html/faq/index.txt: Regenerate.
  499. * docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
  500. docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
  501. docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
  502. docs/html/27_io/howto.html, docs/html/ext/howto.html,
  503. docs/html/ext/sgiexts.html: Add missing <html> tag.
  504. 2002-11-07 Phil Edwards <pme@gcc.gnu.org>
  505. Richard Earnshaw <rearnsha@arm.com>
  506. * config/cpu/generic/atomicity.h: Provide atomic __exchange_and_add
  507. and __atomic_add.
  508. 2002-11-08 Paolo Carlini <pcarlini@unitus.it>
  509. * config/locale/gnu/monetary_members.cc
  510. (moneypunct<wchar_t, true>::_M_initialize_moneypunct(__c_locale,
  511. const char*),
  512. moneypunct<wchar_t, false>::_M_initialize_moneypunct(__c_locale,
  513. const char*)): Tweak parameters for glibc2.3 systems, thus
  514. avoiding unused parameter warnings.
  515. 2002-11-05 Jonathan Wakely <cow@compsoc.man.ac.uk>
  516. * include/std/std_sstream.h
  517. (basic_stringbuf::str(const __string_type&)):
  518. Prefer data() to c_str(), thus avoiding assigning the
  519. unnecessary NULL-terminator.
  520. 2002-11-05 Benjamin Kosnik <bkoz@redhat.com>
  521. PR libstdc++/8258
  522. * include/bits/istream.tcc (istream::readsome): Don't set eofbit
  523. for null buffer.
  524. (istream::operator>>(_CharT*)): Use traits_type.
  525. (istream::ws): Same.
  526. (istream::operator>>(string)): Same.
  527. * testsuite/27_io/istream_unformatted.cc (test11): Add.
  528. 2002-11-05 Paolo Carlini <pcarlini@unitus.it>
  529. PR libstdc++/8466
  530. * include/std/std_sstream.h
  531. (basic_stringbuf::str(const __string_type&)):
  532. Cannot use simple assignment since the COW-nature of v3
  533. basic_string is not taken into account in basic_stringbuf.
  534. * testsuite/27_io/stringstream_members.cc: Add test04 from PR.
  535. 2002-11-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
  536. * configure.target (hppa*): Define cpu_include_dir.
  537. * config/os/hpux/os_defines.h (_GLIBCPP_INST_ATOMICITY_LOCK): Define.
  538. * src/misc-inst.cc: Instantiate atomicity lock when
  539. _GLIBCPP_INST_ATOMICITY_LOCK is defined.
  540. * config/cpu/hppa/atomicity.h: New file.
  541. 2002-11-05 Benjamin Kosnik <bkoz@redhat.com>
  542. PR libstdc++/8463
  543. * include/bits/ios_base.h (~ios_base): Make virtual.
  544. 2002-11-04 Benjamin Kosnik <bkoz@redhat.com>
  545. * config/linker-map.gnu: Export string operator+.
  546. Export __default_alloc_template::_S_force_new.
  547. * testsuite/abi_check.cc: Output tweaks.
  548. 2002-11-01 Benjamin Kosnik <bkoz@redhat.com>
  549. PR libstdc++/8172
  550. * src/string-inst.cc: Add instantiation.
  551. 2002-11-01 Benjamin Kosnik <bkoz@redhat.com>
  552. PR libstdc++/7926
  553. * configure.target: Simplify.
  554. * config/cpu/i386/atomicity.h: Remove.
  555. * config/cpu/i386: Remove.
  556. * config/cpu/arm/atomicity.h: Remove.
  557. * config/cpu/arm: Remove.
  558. * config/cpu/x86-64/atomicity.h: Remove.
  559. * config/cpu/x86-64: Remove.
  560. 2002-11-01 Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de>
  561. PR libstdc++/8197
  562. * config/link-map.gnu: Export math stubbs.
  563. 2002-11-01 Benjamin Kosnik <bkoz@redhat.com>
  564. PR libstdc++/8318
  565. * include/std/std_iostream.h: Tweak.
  566. * include/std/std_iosfwd.h: Add _GLIBCPP_USE_WCHAR_T.
  567. * include/std/std_iomanip.h: Same.
  568. * include/bits/stringfwd.h: Same.
  569. * include/bits/basic_string.tcc: Same.
  570. * include/bits/sstream.tcc: Same.
  571. * include/bits/fstream.tcc: Same.
  572. * include/bits/basic_ios.tcc: Same.
  573. * include/bits/streambuf.tcc: Same.
  574. * include/bits/locale_facets.tcc: Same.
  575. 2002-11-01 John Carter <john.carter@tait.co.nz>
  576. PR libstdc++/7961
  577. * include/bits/basic_string.tcc
  578. (compare(const _CharT* __s)): Don't access __s past its length.
  579. 2002-10-31 Zack Weinberg <zack@codesourcery.com>
  580. * libsupc++/eh_globals.cc: Don't call __gthread_key_dtor.
  581. 2002-10-31 Benjamin Kosnik <bkoz@redhat.com>
  582. PR libstdc++/8348
  583. * include/bits/istream.tcc (istream::tellg): Remove sentry bits.
  584. (istream::seekg): Same.
  585. * testsuite/27_io/istream_seeks.cc (test06): New.
  586. 2002-10-28 Jason Thorpe <thorpej@wasabisystems.com>
  587. * testsuite/thread/pthread5.cc: Include <unistd.h>
  588. if _GLIBCPP_HAVE_UNISTD_H is defined.
  589. (main): Only use pthread_attr_setscope if
  590. _POSIX_THREAD_PRIORITY_SCHEDULING is defined.
  591. 2002-10-28 Jason Thorpe <thorpej@wasabisystems.com>
  592. * testsuite/thread/pthread1.cc: Enable on *-*-netbsd*.
  593. * testsuite/thread/pthread2.cc: Likewise.
  594. * testsuite/thread/pthread3.cc: Likewise.
  595. * testsuite/thread/pthread4.cc: Likewise.
  596. * testsuite/thread/pthread5.cc: Likewise.
  597. * testsuite/thread/pthread6.cc: Likewise.
  598. 2002-10-27 Paolo Carlini <pcarlini@unitus.it>
  599. PR libstdc++/8347
  600. * include/bits/basic_string.tcc
  601. (string::_S_construct(_InIter, _InIter, const _Alloc&,
  602. forward_iterator_tag)): Do not throw logic error if
  603. __beg == NULL && __end == __beg.
  604. (string::string(const _CharT*, const _Alloc&)): Tweak.
  605. * testsuite/21_strings/ctor_copy_dtor.cc: Add test05 from PR.
  606. 2002-10-24 Hans-Peter Nilsson <hp@bitrange.com>
  607. PR other/3337
  608. PR bootstrap/6763
  609. PR bootstrap/8122
  610. * testsuite/testsuite_hooks.cc (__set_testsuite_memlimit): Use
  611. __typeof__ (r.rlim_cur), not rlim_t in declaration of limit.
  612. 2002-10-23 Jakub Jelinek <jakub@redhat.com>
  613. * testsuite/22_locale/num_put_members_char.cc (test01): Swap size
  614. and decimal_point arguments of find.
  615. * testsuite/22_locale/num_put_members_wchar_t.cc (test01): Likewise.
  616. 2002-10-22 Jakub Jelinek <jakub@redhat.com>
  617. * Makefile.am (check-abi, new-abi-baseline): Use @glibcpp_srcdir@
  618. instead of ${top_srcdir}.
  619. * Makefile.in: Rebuilt.
  620. 2002-10-22 Loren J. Rittle <ljrittle@acm.org>
  621. * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
  622. Remove specialization for FreeBSD systems.
  623. 2002-10-18 Loren J. Rittle <ljrittle@acm.org>
  624. * configure.target (freebsd*): Use abi_baseline_triplet.
  625. * config/abi/i386-unknown-freebsd4/baseline_symbols.txt: New file.
  626. * config/abi/i386-unknown-freebsd4.7/baseline_symbols.txt: Remove.
  627. * testsuite/thread/pthread1.cc: Remove needless workaround
  628. for FreeBSD 5.
  629. 2002-10-18 Loren J. Rittle <ljrittle@acm.org>
  630. Brad Spencer <spencer@infointeractive.com>
  631. (provided alternate patch and improvements)
  632. * docs/html/23_containers/howto.html (GLIBCPP_FORCE_NEW): Document
  633. new environment variable which replaces all uses of __USE_MALLOC
  634. macro.
  635. * docs/html/ext/howto.html (GLIBCPP_FORCE_NEW): Likewise.
  636. (__mem_interface): Remove all references to old internal typedef.
  637. * include/backward/alloc.h (__USE_MALLOC): Remove it and all
  638. guarded code.
  639. * include/bits/c++config (__USE_MALLOC): Update related error
  640. message and comment.
  641. * include/bits/stl_alloc.h (__USE_MALLOC): Remove it and all
  642. guarded code. Update all related comments.
  643. (__mem_interface): Unconditionally replace it with __new_alloc.
  644. However, leave the typedef around in case anyone used it.
  645. (__default_alloc_template<>::_S_force_new): New class static.
  646. (__default_alloc_template<>::allocate, deallocate): Add
  647. run-time controlled feature similar to what __USE_MALLOC code
  648. path had provided.
  649. * src/stl-inst.cc (__USE_MALLOC): Remove it and all
  650. guarded code.
  651. * testsuite/21_strings/capacity.cc: Remove reference to __USE_MALLOC.
  652. Add documentation on GLIBCPP_FORCE_NEW environment variable.
  653. * testsuite/ext/allocators.cc: Likewise.
  654. 2002-10-18 Phil Edwards <pme@gcc.gnu.org>
  655. * configure.in: Use target, not target_alias, when matching triplet
  656. patterns.
  657. * configure: Regenerate.
  658. 2002-10-17 Momchil Velikov <velco@fadata.bg>
  659. Loren J. Rittle <ljrittle@acm.org>
  660. * configure.in: Add *-freebsd* to cross list.
  661. * configure: Rebuilt.
  662. 2002-10-16 Benjamin Kosnik <bkoz@redhat.com>
  663. * include/bits/locale_facets.h (__timepunct::__timepunct): Allocate
  664. _M_name_timepunct.
  665. (__timepunct::~__timepunct): Deallocate, remove specialization
  666. declarations.
  667. (messages::messages): Allocate _M_name_messages.
  668. (messages::~messages): Deallocate.
  669. (messages_byname): Same.
  670. * config/locale/gnu/time_members.cc (__timepunct::~__timepunct):
  671. Remove.
  672. * config/locale/generic/time_members.cc (__timepunct::~__timepunct):
  673. Remove.
  674. * docs/html/install.html: Add es_MX, en_PH to required locales list.
  675. 2002-10-16 Benjamin Kosnik <bkoz@redhat.com>
  676. * config/linker-map.gnu: Add exports for codecvt constructors
  677. where size_t == unsigned long.
  678. 2002-10-14 Benjamin Kosnik <bkoz@redhat.com>
  679. * src/globals.cc (__gnu_cxx::c_locale_impl_compat): Add, alias to
  680. c_locale_impl.
  681. * testsuite/abi_check.cc (line_to_symbol_info): Collect size info.
  682. * docs/html/abi.txt: Update.
  683. 2002-10-14 Benjamin Kosnik <bkoz@redhat.com>
  684. * testsuite/22_locale/static_members.cc (test02): Less provincial.
  685. 2002-10-14 Benjamin Kosnik <bkoz@redhat.com>
  686. * testsuite/22_locale/static_members.cc (test02): Disable for
  687. systems without named locale support.
  688. * testsuite/22_locale/ctor_copy_dtor.cc (test04): Don't assume
  689. running the testsuites in "C" environment.
  690. Add new tests.
  691. * docs/html/22_locale/locale.html: Update.
  692. 2002-10-13 Danny Smith <dannysmith@users.sourceforge.net>
  693. * include/bits/stl_threads.h (_GLIBCPP_mutex,
  694. _GLIBCPP_mutex_init,_GLIBCPP_mutex_address,
  695. _GLIBCPP_mutex_address_init, _GLIBCPP_once):
  696. Declare in namespace __gnu_cxx.
  697. (_STL_mutex_lock::_M_initialize): Qualify __gnu_cxx
  698. names.
  699. Adjust copyright.
  700. 2002-10-12 Benjamin Kosnik <bkoz@redhat.com>
  701. * testsuite/abi_check.cc (hash<string>): Specialize.
  702. Simplify. Check compatible symbol versions.
  703. * config/linker-map.gnu: Clarify, explicitly export
  704. std::codecvt::c* symbols.
  705. * testsuite/22_locale/static_members.cc (test02): Avoid null strings.
  706. 2002-10-12 Jonathan Wakely <jw@kayari.org>
  707. Gabriel Dos Reis <gdr@integrable-solutions.net>
  708. * docs/html/21_strings/howto.html#5: Correct nasting of XHTML
  709. elements. Correct allocator-related text.
  710. 2002-10-11 Benjamin Kosnik <bkoz@redhat.com>
  711. * testsuite/22_locale/static_members.cc (test02): Fix.
  712. 2002-10-11 Benjamin Kosnik <bkoz@redhat.com>
  713. * acconfig.h (_GLIBCPP_SYMVER): Add.
  714. (_GLIBCPP_ASM_SYMVER): Add.
  715. * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Define _GLIBCPP_SYMVER.
  716. * aclocal.m4: Regenerate.
  717. * config.h.in: Regenerate.
  718. * configure: Regenerate.
  719. * include/bits/c++config (_GLIBCPP_AT_AT): Define, as an expedient
  720. hack around m4 issues with quoting '@'.
  721. * src/locale.cc: Use _GLIBCPP_ASM_SYMVER.
  722. * src/globals.cc: Same.
  723. * testsuite/22_locale/ctor_copy_dtor.cc (test04): Fix for
  724. non-glibc systems.
  725. 2002-10-10 Benjamin Kosnik <bkoz@redhat.com>
  726. * config/linker-map.gnu (GLIBCPP_3.2.1): Add.
  727. (GLIBCPP_3.2): Don't export locale::_S_*.
  728. * src/ios.cc: Move globals into __gnu_cxx. Make old exported
  729. symbols match.
  730. * src/locale.cc: Same.
  731. * src/localename.cc: Same.
  732. * src/globals.cc: Same.
  733. 2002-10-10 Phil Edwards <pme@gcc.gnu.org>
  734. * docs/html/21_strings/howto.html: Write #5, char_traits.
  735. * docs/html/17_intro/porting.texi: Expand on os_include_dir.
  736. * docs/html/17_intro/porting.html: Regenerate.
  737. 2002-10-09 Benjamin Kosnik <bkoz@redhat.com>
  738. * src/locale.cc: Fix comments, move ctors together.
  739. * testsuite/22_locale/static_members.cc (test03): Add.
  740. 2002-10-08 Jonathan Lennox <lennox@cs.columbia.edu>
  741. PR libstdc++/8071, libstdc++/8127, libstdc++/6745
  742. * streambuf.tcc (__copy_streambufs): Handle cases where
  743. __sbin->in_avail() returns 0, or where __sbin doesn't set gptr().
  744. * testsuite/27_io/ostream_inserter_other.cc (test05): Add.
  745. 2002-10-08 Paolo Carlini <pcarlini@unitus.it>
  746. Benjamin Kosnik <bkoz@redhat.com>
  747. * include/bits/localefwd.h (class locale): Add static member
  748. _S_num_extra_categories, encoding the number of additional
  749. categories.
  750. Change _S_num_categories to _S_categories_size.
  751. (class locale::_Impl): Add _M_c_cats.
  752. (class locale::_Impl::_M_names): Change to array of chars.
  753. (class locale::_Impl::_M_check_same_name): Use
  754. _S_extra_categories_size, tweak.
  755. (locale::locale(const locale&, _Facet*)): Ditto.
  756. * src/locale.cc (locale::locale(const char* )): Rewrite to deal
  757. with the environment in a POSIX-compliant way while being thread
  758. safe.
  759. (locale::name()): Update to output POSIX environment strings.
  760. * src/localename.cc
  761. (locale::_Impl::_Impl(const _Impl&, size_t): Use
  762. _S_categories_size_*, tweak.
  763. (locale::_Impl::_Impl(facet**, size_t, bool)): Ditto.
  764. (locale::_Impl::_Impl(const char*, size_t)): Name each category
  765. individually.
  766. (locale::_Impl::_M_replace_categories): Use strcpy.
  767. * include/bits/locale_facets.h (numpunct::_M_initialize_numpunct):
  768. Change default argument to NULL from _S_c_locale.
  769. (timepunct::_M_initialize_timepunct): Same.
  770. _S_c_locale cleanups.
  771. * src/codecvt.c: _S_c_locale simplification.
  772. * src/ctype.c: Same.
  773. * src/globals.cc: Add fake_name.
  774. * src/locale-inst.cc: Remove extra includes.
  775. * src/locale.cc: Remove extra includes.
  776. Add _S_extra_categories_size definition.
  777. Correct "C" initialization.
  778. (locale::facet::facet): Don't initialize _S_c_locale.
  779. (locale::facet::_M_remove_reference): Adjust.
  780. * src/localename: Use facet_vec, facet_name.
  781. (locale::_Impl::_Impl(facet** __f, size_t __refs, bool)): Set
  782. facet ref counts to one. Initialize _S_c_locale.
  783. (locale::_Impl::_M_install_facet(id*, facet*)): Adjust facet ref
  784. counts when installing unilaterally.
  785. * config/locale/generic/c_locale.cc: Add _S_categories definition.
  786. * config/locale/generic/c_locale.h: Add _GLIBCPP_NUM_CATEGORIES macro.
  787. * config/locale/generic/time_members.cc: _S_c_locale cleanup.
  788. * config/locale/gnu/c_locale.cc: Add _S_categories definition.
  789. (_S_destroy_c_locale): Move checks against _S_c_locale here.
  790. * config/locale/gnu/c_locale.h: Add _GLIBCPP_NUM_CATEGORIES macro.
  791. * config/locale/gnu/ctype_members.cc: Simplify _S_destroy_c_locale
  792. calls, _S_c_locale usage.
  793. * config/locale/gnu/monetary_members.cc: Same, tweaks.
  794. * config/locale/gnu/monetary_members.cc: Same.
  795. * config/locale/gnu/time_members.cc: Same.
  796. * config/os/gnu-linux/ctype_noninline.h: Use locale::classic().
  797. * docs/html/22_locale/locale.html: Add bits about global locales
  798. and "C" setlocale.
  799. * testsuite/22_locale/facet.cc (test02): Add.
  800. * testsuite/22_locale/static_members.cc (test02): Add.
  801. * testsuite/22_locale/ctor_copy_dtor.cc (test04): Add.
  802. 2002-10-07 Jonathan Wakely <jw@kayari.org>
  803. * docs/html/configopts.html, docs/html/documentation.html,
  804. docs/html/explanations.html, docs/html/install.html,
  805. docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
  806. docs/html/17_intro/license.html, docs/html/18_support/howto.html,
  807. docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
  808. docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
  809. docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
  810. docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
  811. docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
  812. docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
  813. docs/html/27_io/howto.html, docs/html/ext/howto.html,
  814. docs/html/ext/sgiexts.html, docs/html/faq/index.html: Add DOCTYPEs.
  815. 2002-10-03 Richard Earnshaw <rearnsha@arm.com>
  816. PR libstdc++/3584
  817. * config/cpu/arm/atomicity.h (__exchange_and_add): Don't try to use
  818. ASM sequences that don't give us atomic addition operations. Instead
  819. just add a comment explaining why it doesn't work.
  820. (__atomic_add): Just use __exchange_and_add.
  821. (__test_and_set, __always_swap): Delete.
  822. 2002-10-02 Andreas Jaeger <aj@suse.de>
  823. * config/abi/x86_64-unknown-linux-gnu/baseline_symbols.txt:
  824. New file.
  825. 2002-10-01 Phil Edwards <pme@gcc.gnu.org>
  826. * Makefile.am (check-abi): Add @ to rule.
  827. * Makefile.in: Regenerated.
  828. 2002-09-27 Paolo Carlini <pcarlini@unitus.it>
  829. * include/bits/locale_facets.tcc (num_put::_M_widen_int):
  830. Deal correctly with grouped, showbased (oct or hex) zero.
  831. * testsuite/22_locale/num_put_members_char.cc: Add test05.
  832. * testsuite/22_locale/num_put_members_wchar_t.cc: Ditto.
  833. 2002-09-27 Richard Henderson <rth@redhat.com>
  834. * config/os/hpux/cpu_limits.h: Remove.
  835. * include/std/std_limits.h (numeric_limits<T>::is_iec559): False
  836. if denormals are not supported.
  837. 2002-09-25 Benjamin Kosnik <bkoz@redhat.com>
  838. * include/Makefile.am (target_headers): Remove cpu_limits.h.
  839. * include/Makefile.in: Regenerate.
  840. * configure.in (CPU_LIMITS_INC_SRCDIR): Remove
  841. * configure: Regenerate.
  842. * configure.target (CPULIMITS): Remove.
  843. * include/std/std_limits.h: Remove cpu_limits.h include.
  844. * config/os/solaris/solaris2.7/os_defines.h (__glibcpp_long_bits):
  845. Remove.
  846. * config/os/irix/irix6.5/os_defines.h
  847. (__glibcpp_long_double_bits): Remove.
  848. (__glibcpp_wchar_t_bits): Remove.
  849. (__glibcpp_long_bits): Remove.
  850. * config/os/irix/irix5.2/os_defines.h
  851. (__glibcpp_long_double_bits): Remove.
  852. (__glibcpp_long_bits): Remove.
  853. * config/os/hpux/os_defines.h (__glibcpp_wchar_t_is_signed): Remove.
  854. * config/os/bsd/freebsd/os_defines.h:
  855. (__glibcpp_long_double_bits): Remove.
  856. * config/os/aix/os_defines.h (__glibcpp_wchar_t_bits): Remove.
  857. (__glibcpp_wchar_t_is_signed): Remove.
  858. (__glibcpp_long_bits): Remove.
  859. * config/os/gnu-linux/os_defines.h (__glibcpp_long_bits): Remove.
  860. (__glibcpp_long_double_bits): Remove.
  861. * config/os/osf/osf5.0/cpu_limits.h: Remove.
  862. * config/cpu/alpha/cpu_limits.h: Remove.
  863. * config/cpu/arm/cpu_limits.h: Remove.
  864. * config/cpu/cris/cpu_limits.h: Remove.
  865. * config/cpu/generic/cpu_limits.h: Remove.
  866. * config/cpu/generic/limits.h: Remove.
  867. * config/cpu/ia64/cpu_limits.h: Remove.
  868. * config/cpu/m68k/cpu_limits.h: Remove.
  869. * config/cpu/mmix/cpu_limits.h: Remove.
  870. * config/cpu/powerpc/cpu_limits.h: Remove.
  871. * config/cpu/S390/cpu_limits.h: Remove.
  872. 2002-09-25 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
  873. * testsuite/18_support/numeric_limits.cc: Check the maximum and
  874. minimum values of the wchar_t type.
  875. 2002-09-25 Mark Mitchell <mark@codesourcery.com>
  876. * include/std/std_limits.h (numeric_limits<unsigned char>::digits):
  877. Fix typo.
  878. 2002-09-23 Richard Henderson <rth@redhat.com>
  879. * include/std/std_limits.h (__glibcpp_plain_char_is_signed,
  880. __glibcpp_wchar_t_is_signed, __glibcpp_s8_max, __glibcpp_s8_min,
  881. __glibcpp_s8_digits, __glibcpp_s8_digits10, __glibcpp_u8_min,
  882. __glibcpp_u8_max, __glibcpp_u8_digits, __glibcpp_u8_digits10,
  883. __glibcpp_s16_max, __glibcpp_s16_min, __glibcpp_s16_digits,
  884. __glibcpp_s16_digits10, __glibcpp_u16_min, __glibcpp_u16_max,
  885. __glibcpp_u16_digits, __glibcpp_u16_digits10, __glibcpp_s32_max,
  886. __glibcpp_s32_min, __glibcpp_s32_digits, __glibcpp_s32_digits10,
  887. __glibcpp_u32_min, __glibcpp_u32_max, __glibcpp_u32_digits,
  888. __glibcpp_u32_digits10, __glibcpp_s64_max, __glibcpp_s64_min,
  889. __glibcpp_s64_digits, __glibcpp_s64_digits10, __glibcpp_u64_min,
  890. __glibcpp_u64_max, __glibcpp_u64_digits, __glibcpp_u64_digits10,
  891. __glibcpp_bool_digits, __glibcpp_signed_char_min,
  892. __glibcpp_signed_char_max, __glibcpp_signed_char_digits,
  893. __glibcpp_signed_char_digits10, __glibcpp_unsigned_char_min,
  894. __glibcpp_unsigned_char_max, __glibcpp_unsigned_char_digits,
  895. __glibcpp_unsigned_char_digits10, __glibcpp_char_min,
  896. __glibcpp_char_max, __glibcpp_char_digits, __glibcpp_char_digits10,
  897. __glibcpp_signed_short_min, __glibcpp_signed_short_max,
  898. __glibcpp_signed_short_digits, __glibcpp_signed_short_digits10,
  899. __glibcpp_unsigned_short_min, __glibcpp_unsigned_short_max,
  900. __glibcpp_unsigned_short_digits, __glibcpp_unsigned_short_digits10,
  901. __glibcpp_signed_int_min, __glibcpp_signed_int_max,
  902. __glibcpp_signed_int_digits, __glibcpp_signed_int_digits10,
  903. __glibcpp_unsigned_int_min, __glibcpp_unsigned_int_max,
  904. __glibcpp_unsigned_int_digits, __glibcpp_unsigned_int_digits10,
  905. __glibcpp_signed_long_min, __glibcpp_signed_long_max,
  906. __glibcpp_unsigned_long_digits, __glibcpp_unsigned_long_digits10,
  907. __glibcpp_signed_long_long_min, __glibcpp_signed_long_long_max,
  908. __glibcpp_signed_long_long_digits, __glibcpp_signed_long_long_digits10,
  909. __glibcpp_wchar_t_min, __glibcpp_wchar_t_max, __glibcpp_wchar_t_digits,
  910. __glibcpp_wchar_t_digits10): Remove.
  911. (__glibcpp_byte, __glibcpp_word_bits, __glibcpp_word): Remove.
  912. (__float_storage, __double_storage, __long_double_storage): Remove.
  913. (__glibcpp_signed, __glibcpp_min, __glibcpp_max): New.
  914. (__glibcpp_digits, __glibcpp_digits10): New.
  915. (numeric_limits<T>::min): Use __glibcpp_min or limits.h builtins.
  916. (numeric_limits<T>::max): Use __glibcpp_max or limits.h builtins.
  917. (numeric_limits<T>::is_signed, T=char,wchar_t): Use __glibcpp_signed.
  918. (numeric_limits<T>::digits): Use __glibcpp_digits.
  919. (numeric_limits<T>::digits10): Use __glibcpp_digits10.
  920. * testsuite/18_support/numeric_limits.cc (test03): Don't use
  921. __glibcpp_s8_digits10 et al; check vs the installed versions
  922. of digits10 for particular sizes.
  923. * include/std/std_limits.h (__glibcpp_float_is_modulo,
  924. __glibcpp_double_is_modulo, __glibcpp_long_double_is_modulo): Kill.
  925. (numeric_limits<T>::is_modulo, T floating): Use false.
  926. 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  927. * Makefile.am (all-multi): Fix multilib parallel build.
  928. 2002-09-22 Richard Henderson <rth@redhat.com>
  929. * include/std/std_limits.h (__glibcpp_f32_round_error,
  930. __glibcpp_f64_round_error, __glibcpp_f80_round_error,
  931. __glibcpp_f96_round_error, __glibcpp_f128_round_error,
  932. __glibcpp_float_round_error, __glibcpp_double_round_error,
  933. __glibcpp_long_double_round_error, __glibcpp_float_round_style,
  934. __glibcpp_double_round_style, __glibcpp_long_double_round_style): Kill.
  935. (numeric_limits<char>::epsilon, round_error): Use constant 0.
  936. (numeric_limits<float>::round_error): Use constant 0.5.
  937. (numeric_limits<float>::round_style): Use round_to_nearest.
  938. (numeric_limits<double>, numeric_limits<long double>): Similarly.
  939. * include/std/std_limits.h (__glibcpp_f32_is_iec559,
  940. __glibcpp_f64_is_iec559, __glibcpp_f80_is_iec559,
  941. __glibcpp_f96_is_iec559, __glibcpp_f128_is_iec559,
  942. __glibcpp_float_is_iec559, __glibcpp_double_is_iec559,
  943. __glibcpp_long_double_is_iec559): Remove.
  944. (numeric_limits<float>::is_iec559): Use has_infinity & has_quiet_NaN.
  945. (numeric_limits<double>, numeric_limits<long double>): Similarly.
  946. * include/std/std_limits.h (__glibcpp_integral_traps): New.
  947. (__glibcpp_char_traps, __glibcpp_short_traps, __glibcpp_int_traps,
  948. __glibcpp_long_traps, __glibcpp_wchar_t_traps,
  949. __glibcpp_long_long_traps, __glibcpp_plain_char_traps,
  950. __glibcpp_signed_char_traps, __glibcpp_unsigned_char_traps,
  951. __glibcpp_signed_short_traps, __glibcpp_unsigned_short_traps,
  952. __glibcpp_signed_int_traps, __glibcpp_unsigned_int_traps,
  953. __glibcpp_signed_long_traps, __glibcpp_unsigned_long_traps,
  954. __glibcpp_signed_long_long_traps, __glibcpp_unsigned_long_long_traps,
  955. __glibcpp_char_is_modulo, __glibcpp_signed_char_is_modulo,
  956. __glibcpp_signed_short_is_modulo, __glibcpp_signed_int_is_modulo,
  957. __glibcpp_signed_long_is_modulo, __glibcpp_signed_long_long_is_modulo,
  958. __glibcpp_wchar_t_is_modulo, __glibcpp_float_is_bounded,
  959. __glibcpp_double_is_bounded, __glibcpp_long_double_is_bounded): Kill.
  960. (numeric_limits<T>::traps, T integral): Use __glibcpp_integral_traps.
  961. (numeric_limits<T>::is_modulo, T integral): Use true.
  962. (numeric_limits<T>::is_bounded, T floating): Use true.
  963. 2002-09-18 Loren J. Rittle <ljrittle@acm.org>
  964. * testsuite/18_support/numeric_limits.cc (test_epsilon): New.
  965. 2002-09-18 Richard Henderson <rth@redhat.com>
  966. * testsuite/18_support/numeric_limits.cc: Add -mieee for alpha.
  967. 2002-09-16 Benjamin Kosnik <bkoz@redhat.com>
  968. * include/c_shadow: Remove.
  969. * include/bits/generic_shadow.h: Remove.
  970. * include/Makefile.am: Remove generic_shadow.h.
  971. * acinclude.m4: Remove c_shadow references.
  972. * aclocal.m4: Regenerate.
  973. * configure: Regenerate.
  974. * mkcshadow: Remove.
  975. * mkinclosure: Remove.
  976. 2002-09-16 Loren J. Rittle <ljrittle@acm.org>
  977. libstdc++/7922
  978. * include/ext/stl_rope.h (rope<>): Qualify dependent names
  979. with `typename'.
  980. 2002-09-16 Richard Henderson <rth@redhat.com>
  981. * include/std/std_limits.h (__glibcpp_f32_QNaN_bytes,
  982. __glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
  983. __glibcpp_f32_has_SNaN, __glibcpp_f64_QNaN_bytes,
  984. __glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
  985. __glibcpp_f64_has_SNaN, __glibcpp_f80_QNaN_bytes,
  986. __glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
  987. __glibcpp_f80_has_SNaN, __glibcpp_f96_QNaN_bytes,
  988. __glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
  989. __glibcpp_f96_has_SNaN, __glibcpp_f128_QNaN_bytes,
  990. __glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
  991. __glibcpp_f128_has_SNaN, __glibcpp_float_QNaN_bytes,
  992. __glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
  993. __glibcpp_float_has_SNaN, __glibcpp_double_QNaN_bytes,
  994. __glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
  995. __glibcpp_double_has_SNaN, __glibcpp_long_double_QNaN_bytes,
  996. __glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
  997. __glibcpp_long_double_has_SNaN): Remove.
  998. (__glibcpp_f128_is_iec559): True if IEEE.
  999. (__glibcpp_float_QNaN, __glibcpp_float_SNaN): Remove.
  1000. (__glibcpp_double_QNaN, __glibcpp_double_SNaN): Remove.
  1001. (__glibcpp_long_double_QNaN, __glibcpp_long_double_SNaN): Remove.
  1002. (std::numeric_limits<float>::has_quiet_NaN): Use __builtin_nanf.
  1003. (std::numeric_limits<float>::has_signaling_NaN): Mirror has_quiet_NaN.
  1004. (std::numeric_limits<float>::quiet_NaN): Use __builtin_nanf.
  1005. (std::numeric_limits<float>::signaling_NaN): Use __builtin_nansf.
  1006. (std::numeric_limits<double>): Similarly.
  1007. (std::numeric_limits<long double>): Similarly.
  1008. * src/limits.cc (__glibcpp_float_QNaN, __glibcpp_float_SNaN): Remove.
  1009. (__glibcpp_double_QNaN, __glibcpp_double_SNaN): Remove.
  1010. (__glibcpp_long_double_QNaN, __glibcpp_long_double_SNaN): Remove.
  1011. * testsuite/18_support/numeric_limits.cc (test_infinity): New.
  1012. (test_denorm_min, test_qnan, test_is_iec559): New.
  1013. 2002-09-16 Phil Edwards <pme@gcc.gnu.org>
  1014. * testsuite/abi_check.cc: Pull shell fragments out into...
  1015. * config/abi/extract_symvers: ...here. New file.
  1016. * Makefile.am (check_abi): Change to match.
  1017. (new-abi-baseline): New target.
  1018. * Makefile.in: Regenerated.
  1019. 2002-09-16 Richard Henderson <rth@redhat.com>
  1020. * include/std/std_limits.h (__glibcpp_f32_denorm_min_bytes,
  1021. __glibcpp_f32_has_denorm, __glibcpp_f64_denorm_min_bytes,
  1022. __glibcpp_f64_has_denorm, __glibcpp_f80_denorm_min_bytes,
  1023. __glibcpp_f80_has_denorm, __glibcpp_f96_denorm_min_bytes,
  1024. __glibcpp_f96_has_denorm, __glibcpp_f128_denorm_min_bytes,
  1025. __glibcpp_f128_has_denorm, __glibcpp_float_denorm_min_bytes,
  1026. __glibcpp_float_has_denorm, __glibcpp_double_denorm_min_bytes,
  1027. __glibcpp_double_has_denorm, __glibcpp_long_double_denorm_min_bytes,
  1028. __glibcpp_long_double_has_denorm): Remove.
  1029. (__glibcpp_float_denorm_min, __glibcpp_double_denorm_min,
  1030. __glibcpp_long_double_denorm_min): Remove.
  1031. (std::numeric_limits<float>::has_denorm): Use __FLT_DENORM_MIN__.
  1032. (std::numeric_limits<float>::denorm_min): Likewise.
  1033. (std::numeric_limits<double>): Similarly.
  1034. (std::numeric_limits<long double>): Similarly.
  1035. * src/limits.cc (__glibcpp_float_denorm_min,
  1036. __glibcpp_double_denorm_min, __glibcpp_long_double_denorm_min): Remove.
  1037. 2002-09-13 Andy Felt <afelt@uwsp.edu>
  1038. * docs/html/17_intro/howto.html: Update link.
  1039. 2002-09-13 Phil Edwards <pme@gcc.gnu.org>
  1040. * docs/doxygen/run_doxygen: Massage man page for Iterator_types.3.
  1041. * docs/html/faq/index.html: Whitespace fixes.
  1042. 2002-09-12 Benjamin Kosnik <bkoz@redhat.com>
  1043. * libmath/Makefile.am (LIBTOOL): Use --tag CC always for this
  1044. directory.
  1045. * libmath/Makefile.in: Regenerate.
  1046. * src/Makefile.am: Tweak comment.
  1047. * src/Makefile.in: Regenerate.
  1048. * config/locale/gnu/c_locale.h: Remove warnings.
  1049. Inject __uselocale into __gnu_cxx.
  1050. * config/locale/generic/c_locale.h: Match.
  1051. 2002-09-11 Benjamin Kosnik <bkoz@redhat.com>
  1052. * include/bits/locale_facets.tcc (__convert_from_v): Remove.
  1053. * config/locale/gnu/c_locale.h (__convert_from_v): Add.
  1054. * config/locale/generic/c_locale.h (__convert_from_v): Add.
  1055. 2002-09-11 Paolo Carlini <pcarlini@unitus.it>
  1056. * include/bits/locale_facets.tcc (__convert_from_v):
  1057. Use __uselocale instead of setlocale for glibc 2.3+.
  1058. 2002-09-10 Benjamin Kosnik <bkoz@redhat.com>
  1059. * src/Makefile.am (sources): Edit.
  1060. (target_sources): New.
  1061. (target_sources_extra): New.
  1062. * src/Makefile.in: Regenerate.
  1063. * acinclude.m4: Set CCODECVT_CC.
  1064. * aclocal.m4: Regenerate.
  1065. * configure: Regenerate.
  1066. * src/locale.cc: Move ctype definitions...
  1067. * src/ctype.cc: ...here. New file.
  1068. * src/locale.cc: Move codecvt definitions...
  1069. * src/codecvt.cc: ...here.
  1070. * config/generic/codecvt_members.cc: ...and here.
  1071. * config/gnu/codecvt_members.cc: ...and here.
  1072. * include/bits/codecvt.h: Tweak.
  1073. * include/bits/locale_facets: Tweak.
  1074. * src/bitset.cc: Correct license text.
  1075. * src/concept-inst.cc: Same.
  1076. * src/strstream.cc: Same.
  1077. * src/vterminate.cc: Same.
  1078. 2002-09-10 Gabriel Dos Reis <gdr@soliton.integrable-solutions.net>
  1079. * include/bits/stl_vector.h (vector<>): Don't use a name with
  1080. different meanings before and after re-evaluation in the completed
  1081. scope.
  1082. * include/bits/basic_string.h (basic_string<>): Likewise.
  1083. * include/bits/stl_bvector.h (vector<bool>): Likewise.
  1084. * include/bits/stl_deque.h (std): Likewise.
  1085. * include/bits/stl_list.h (list<>): Likewise.
  1086. * include/bits/stl_tree.h (_Rb_tree<>): Likewise.
  1087. 2002-09-10 Paolo Carlini <pcarlini@unitus.it>
  1088. * include/bits/codecvt.h (class __codecvt_abstract_base):
  1089. Add __c_locale type _M_c_locale_codecvt member.
  1090. (class codecvt<char, char, mbstate_t>,
  1091. class codecvt<wchar_t, char, mbstate_t>): Add new
  1092. codecvt(__c_locale, size_t) constructor.
  1093. (codecvt_byname::codecvt_byname): Update.
  1094. * src/codecvt.cc (class codecvt<char, char, mbstate_t>,
  1095. class codecvt<wchar_t, char, mbstate_t>): Update codecvt(size_t)
  1096. constructor and ~codecvt() destructor; define
  1097. codecvt(__c_locale, size_t) constructor.
  1098. (codecvt::do_out): Switch to _M_c_locale_codecvt around wcsrtombs call.
  1099. (codecvt::do_in): Ditto for mbsrtowcs call.
  1100. * src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
  1101. Tweak construction of codecvt facets.
  1102. 2002-09-10 Danny Smith <dannysmith@users.sourceforge.net>
  1103. * include/bits/locale_facets.tcc (__convert_from_v):
  1104. Replace strdup with ISO malloc and strcpy.
  1105. 2002-09-09 Benjamin Kosnik <bkoz@redhat.com>
  1106. * docs/html/configopts.html: Change grouping. Note ABI impacts.
  1107. Update information for locale model defaults.
  1108. * docs/html/install.html: Update include directory
  1109. information.
  1110. Update testing information.
  1111. Update linux issues for named locales.
  1112. * docs/html/abi.txt: Fix typos.
  1113. Add more info.
  1114. * src/misc-inst.cc: Add missing instantiations.
  1115. * testsuite/abi_check.cc: Make output results more verbose.
  1116. * config/os/gnu-linux/ctype_base.h: Remove shadow headers injections.
  1117. 2002-09-07 Jakub Jelinek <jakub@redhat.com>
  1118. * config/locale/generic/messages_members.cc: Add specialization for
  1119. messages<wchar_t>.
  1120. * config/locale/ieee_1003.1-20021/messages_members.cc: Likewise.
  1121. 2002-09-06 Benjamin Kosnik <bkoz@redhat.com>
  1122. * include/bits/localefwd.h: Tweak formatting.
  1123. * docs/html/abi.txt: Add.
  1124. 2002-09-06 Jakub Jelinek <jakub@redhat.com>
  1125. * configure.target: Use cpu_include_dir="config/cpu/sparc" for all
  1126. sparc targets.
  1127. * config/cpu/sparc/atomicity.h: New file.
  1128. * config/cpu/sparc/sparc32/atomicity.h: Removed.
  1129. * config/cpu/sparc/sparc64/atomicity.h: Removed.
  1130. 2002-09-06 Jakub Jelinek <jakub@redhat.com>
  1131. * config/os/gnu-linux/ctype_noninline.h
  1132. [_GLIBCPP_USE_SHADOW_HEADERS]: Remove using _C_legacy::__ctype_*.
  1133. (ctype<char>::classic_table): If _GLIBCPP_C_LOCALE_GNU, return
  1134. _S_c_locale->__ctype_b, otherwise temporarily switch to "C" locale
  1135. and return __ctype_b.
  1136. (ctype<char>::ctype(__c_locale, const mask*, bool, size_t)): If not
  1137. _GLIBCPP_C_LOCALE_GNU, temporarily switch to "C" locale and
  1138. initialize using __ctype_{b,tolower,toupper}.
  1139. (ctype<char>::ctype(const mask*, bool, size_t)): If
  1140. _GLIBCPP_C_LOCALE_GNU, initialize using
  1141. _S_c_locale->__ctype_{b,tolower,toupper}, otherwise temporarily
  1142. switch to "C" locale and initialize using __ctype_{b,tolower,toupper}.
  1143. 2002-09-05 Paolo Carlini <pcarlini@unitus.it>
  1144. Roland McGrath <roland@redhat.com>
  1145. PR libstdc++/7811
  1146. * src/locale.cc (locale::locale(__s)): Use getenv instead
  1147. of setenv for the environment locale.
  1148. * testsuite/22_locale/ctor_copy_dtor.cc (test03): New.
  1149. 2002-09-05 Jakub Jelinek <jakub@redhat.com>
  1150. * config/abi/ia64-unknown-linux-gnu: Add.
  1151. * config/abi/ia64-unknown-linux-gnu/baseline_symbols.txt: New file.
  1152. * config/abi/alphaev67-unknown-linux-gnu: Add.
  1153. * config/abi/alphaev67-unknown-linux-gnu/baseline_symbols.txt: New file.
  1154. 2002-09-05 Jonathan Wakely <jw@kayari.org>
  1155. * docs/html/Makefile: Use more portable shell wildcard.
  1156. * docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
  1157. * docs/html/configopts.html, docs/html/documentation.html,
  1158. docs/html/explanations.html, docs/html/install.html,
  1159. docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
  1160. docs/html/17_intro/license.html, docs/html/18_support/howto.html,
  1161. docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
  1162. docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
  1163. docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
  1164. docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
  1165. docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
  1166. docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
  1167. docs/html/27_io/howto.html, docs/html/ext/howto.html,
  1168. docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
  1169. to XHTML.
  1170. * docs/html/faq/index.txt: Regenerate.
  1171. 2002-09-05 Jakub Jelinek <jakub@redhat.com>
  1172. * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_widen(char)):
  1173. Switch to _M_c_locale_ctype around btowc call.
  1174. (ctype<wchar_t>::do_widen(const char*, const char *, wchar_t*)):
  1175. Switch to _M_c_locale_ctype around mbsrtowcs call.
  1176. (ctype<wchar_t>::do_narrow(char)): Switch to _M_c_locale_ctype around
  1177. wctob call.
  1178. (ctype<wchar_t>::do_narrow(const char*, const char *, wchar_t*)):
  1179. Switch to _M_c_locale_ctype around wcsrtombs call.
  1180. 2002-09-05 Jakub Jelinek <jakub@redhat.com>
  1181. * config/locale/gnu/monetary_members.cc
  1182. (moneypunct<wchar_t, true>::_M_initialize_moneypunct,
  1183. moneypunct<wchar_t, false>::_M_initialize_moneypunct): Use
  1184. __uselocale instead of setlocale for glibc 2.3.
  1185. 2002-09-05 Jakub Jelinek <jakub@redhat.com>
  1186. * config/locale/generic/c++locale_internal.h: New header.
  1187. * config/locale/gnu/c++locale_internal.h: New header.
  1188. * config/locale/gnu/c_locale.cc: Include it.
  1189. * config/locale/gnu/collate_members.cc: Include it.
  1190. * config/locale/gnu/ctype_members.cc: Include it.
  1191. * config/locale/gnu/messages_members.cc: Include it.
  1192. * config/locale/gnu/monetary_members.cc: Include it.
  1193. * config/locale/gnu/numeric_members.cc: Include it.
  1194. * config/locale/gnu/time_members.cc: Include it.
  1195. (_M_put): Reorder __strftime_l and __wcsftime_l arguments to match
  1196. glibc.
  1197. (_M_initialize_timepunct): Initialize _M_c_locale_timepunct for
  1198. C locale.
  1199. * acinclude.m4: Include string.h when testing strcoll_l.
  1200. For glibc 2.3 provide __-prefixed prototypes.
  1201. (CLOCALE_INTERNAL_H): Set, add AC_LINK_FILES line.
  1202. * aclocal.m4, configure: Rebuilt.
  1203. 2002-09-05 Benjamin Kosnik <bkoz@redhat.com>
  1204. * include/bits/locale_facets.h: Add declaration of specialization
  1205. here.
  1206. * config/locale/gnu/messages_members.cc: Add specialization for
  1207. messages<wchar_t>.
  1208. * config/locale/gnu/messages_members.h: Remove generic definition
  1209. of do_get.
  1210. 2002-09-04 Richard Henderson <rth@redhat.com>
  1211. * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
  1212. __glibcpp_f32_has_infinity, __glibcpp_f64_infinity_bytes,
  1213. __glibcpp_f64_has_infinity, __glibcpp_f80_infinity_bytes,
  1214. __glibcpp_f80_has_infinity, __glibcpp_f96_infinity_bytes,
  1215. __glibcpp_f96_has_infinity, __glibcpp_f128_infinity_bytes,
  1216. __glibcpp_f128_has_infinity, __glibcpp_float_infinity_bytes,
  1217. __glibcpp_float_has_infinity, __glibcpp_double_infinity_bytes,
  1218. __glibcpp_double_has_infinity, __glibcpp_long_double_infinity_bytes,
  1219. __glibcpp_long_double_has_infinity): Remove.
  1220. (std::numeric_limits<float>, std::numeric_limits<double>,
  1221. std::numeric_limits<long double>): Use __builtin_huge_val
  1222. to implement has_infinity and infinity().
  1223. * src/limits.cc (__glibcpp_float_infinity, __glibcpp_double_infinity,
  1224. __glibcpp_long_double_infinity): Remove.
  1225. 2002-09-03 Richard Henderson <rth@redhat.com>
  1226. * include/std/std_limits.h (__glibcpp_f32_min, __glibcpp_f32_max,
  1227. __glibcpp_f32_digits, __glibcpp_f32_digits10, __glibcpp_f32_radix,
  1228. __glibcpp_f32_epsilon, __glibcpp_f32_min_exponent,
  1229. __glibcpp_f32_min_exponent10, __glibcpp_f32_max_exponent,
  1230. __glibcpp_f32_max_exponent10, __glibcpp_f64_min, __glibcpp_f64_max,
  1231. __glibcpp_f64_digits, __glibcpp_f64_digits10, __glibcpp_f64_radix,
  1232. __glibcpp_f64_min_exponent, __glibcpp_f64_min_exponent10,
  1233. __glibcpp_f64_max_exponent, __glibcpp_f64_max_exponent10,
  1234. __glibcpp_f80_min, __glibcpp_f80_max, __glibcpp_f80_digits,
  1235. __glibcpp_f80_digits10, __glibcpp_f80_radix, __glibcpp_f80_epsilon,
  1236. __glibcpp_f80_min_exponent, __glibcpp_f80_min_exponent10,
  1237. __glibcpp_f80_max_exponent, __glibcpp_f80_max_exponent10,
  1238. __glibcpp_f96_min, __glibcpp_f96_max, __glibcpp_f96_digits,
  1239. __glibcpp_f96_digits10, __glibcpp_f96_radix, __glibcpp_f96_epsilon,
  1240. __glibcpp_f96_min_exponent, __glibcpp_f96_min_exponent10,
  1241. __glibcpp_f96_max_exponent, __glibcpp_f96_max_exponent10,
  1242. __glibcpp_f128_min, __glibcpp_f128_max, __glibcpp_f128_digits,
  1243. __glibcpp_f128_digits10, __glibcpp_f128_radix, __glibcpp_f128_epsilon,
  1244. __glibcpp_f128_min_exponent, __glibcpp_f128_min_exponent10,
  1245. __glibcpp_f128_max_exponent, __glibcpp_f128_max_exponent10,
  1246. __glibcpp_float_min, __glibcpp_float_max, __glibcpp_float_digits,
  1247. __glibcpp_float_digits10, __glibcpp_float_radix,
  1248. __glibcpp_float_epsilon, __glibcpp_float_min_exponent,
  1249. __glibcpp_float_min_exponent10, __glibcpp_float_max_exponent,
  1250. __glibcpp_float_max_exponent10, __glibcpp_double_min,
  1251. __glibcpp_double_max, __glibcpp_double_digits,
  1252. __glibcpp_double_digits10, __glibcpp_double_radix,
  1253. __glibcpp_double_epsilon, __glibcpp_double_min_exponent,
  1254. __glibcpp_double_min_exponent10, __glibcpp_double_max_exponent,
  1255. __glibcpp_double_max_exponent10, __glibcpp_long_double_min,
  1256. __glibcpp_long_double_max, __glibcpp_long_double_digits,
  1257. __glibcpp_long_double_digits10, __glibcpp_long_double_radix,
  1258. __glibcpp_long_double_epsilon, __glibcpp_long_double_min_exponent,
  1259. __glibcpp_long_double_min_exponent10,
  1260. __glibcpp_long_double_max_exponent,
  1261. __glibcpp_long_double_max_exponent10): Remove macros.
  1262. (std::numeric_limits<float>, std::numeric_limits<double>,
  1263. std::numeric_limits<long double>): Use protected float.h macros.
  1264. 2002-09-01 Phil Edwards <pme@gcc.gnu.org>
  1265. * testsuite/Makefile.am: Use LD_RUN_PATH when linking abi_check.
  1266. Fix spelling in comment.
  1267. * testsuite/Makefile.in: Regenerate.
  1268. * testsuite/abi_check.cc: Use string literals to build 'cmd' rather
  1269. than 'quote' and 'bslash'.
  1270. 2002-08-31 Phil Edwards <pme@gcc.gnu.org>
  1271. * acinclude.m4: Minor comment tweaks.
  1272. * docs/html/makedoc.awk: New file...
  1273. * docs/html/Makefile: ...called from here...
  1274. * docs/html/documentation.html: ...to help generate this.
  1275. * docs/html/21_strings/howto.html: Prepare for new entry.
  1276. * include/bits/basic_string.h: Initial basic_stirng hook for
  1277. doxygen. Remove trailing whitespace.
  1278. * include/bits/char_traits.h: Point to onlinedocs for new entry.
  1279. * include/bits/stringfwd.h: Add doxygen hooks for string and
  1280. wstring typedefs.
  1281. 2002-08-29 Richard Earnshaw <rearnshaw@arm.com>
  1282. * config/cpu/arm/cpu_limits.h: New file.
  1283. * configure.target: Use config/cpu/arm for XScale and StrongARM
  1284. configurations.
  1285. 2002-08-28 Gabriel Dos Reis <gdr@integrable-solutions.net>
  1286. * include/std/std_limits.h (__glibcpp_char_bits,
  1287. __glibcpp_short_bits, __glibcpp_int_bits, __glibcpp_long_bits,
  1288. __glibcpp_long_long_bits, __glibcpp_float_bits,
  1289. __glibcpp_double_bits, __glibcpp_long_double_bits): Remove. Use
  1290. compiler predifined macros.
  1291. (__glibcpp_wchar_t_is_signed): Define based on compiler predefined
  1292. __WCHAR_UNSIGNED__.
  1293. 2002-08-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
  1294. * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
  1295. __glibcpp_f32_has_infinity, __glibcpp_f32_QNaN_bytes,
  1296. __glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
  1297. __glibcpp_f32_has_SNaN, __glibcpp_f32_denorm_min_bytes,
  1298. __glibcpp_f32_has_denorm, __glibcpp_f32_is_iec559,
  1299. __glibcpp_f64_infinity_bytes,
  1300. __glibcpp_f64_has_infinity, __glibcpp_f64_QNaN_bytes,
  1301. __glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
  1302. __glibcpp_f64_has_SNaN, __glibcpp_f64_denorm_min_bytes,
  1303. __glibcpp_f64_has_denorm, __glibcpp_f64_is_iec559,
  1304. __glibcpp_f80_infinity_bytes,
  1305. __glibcpp_f80_has_infinity, __glibcpp_f80_QNaN_bytes,
  1306. __glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
  1307. __glibcpp_f80_has_SNaN, __glibcpp_f80_denorm_min_bytes,
  1308. __glibcpp_f80_has_denorm, __glibcpp_f80_is_iec559,
  1309. __glibcpp_f96_infinity_bytes,
  1310. __glibcpp_f96_has_infinity, __glibcpp_f96_QNaN_bytes,
  1311. __glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
  1312. __glibcpp_f96_has_SNaN, __glibcpp_f96_denorm_min_bytes,
  1313. __glibcpp_f96_has_denorm, __glibcpp_f96_is_iec559,
  1314. __glibcpp_f128_infinity_bytes,
  1315. __glibcpp_f128_has_infinity, __glibcpp_f128_QNaN_bytes,
  1316. __glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
  1317. __glibcpp_f128_has_SNaN, __glibcpp_f128_denorm_min_bytes,
  1318. __glibcpp_f128_has_denorm, __glibcpp_f128_is_iec559,
  1319. __glibcpp_float_infinity_bytes,
  1320. __glibcpp_float_has_infinity, __glibcpp_float_QNaN_bytes,
  1321. __glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
  1322. __glibcpp_float_has_SNaN, __glibcpp_float_denorm_min_bytes,
  1323. __glibcpp_float_has_denorm, __glibcpp_float_is_iec559,
  1324. __glibcpp_double_infinity_bytes,
  1325. __glibcpp_double_has_infinity, __glibcpp_double_QNaN_bytes,
  1326. __glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
  1327. __glibcpp_double_has_SNaN, __glibcpp_double_denorm_min_bytes,
  1328. __glibcpp_double_has_denorm, __glibcpp_double_is_iec559,
  1329. __glibcpp_long_double_infinity_bytes,
  1330. __glibcpp_long_double_has_infinity, __glibcpp_long_double_QNaN_bytes,
  1331. __glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
  1332. __glibcpp_long_double_has_SNaN, __glibcpp_long_double_denorm_min_bytes,
  1333. __glibcpp_long_double_has_denorm, __glibcpp_long_double_is_iec559:
  1334. New macros.
  1335. (__glibcpp_word_bits, __glibcpp_word): Likewise.
  1336. (__glibcpp_byte): New typedef.
  1337. (__float_storage, __double_storage, __long_double_storage): New types.
  1338. (__glibcpp_float_infinity, __glibcpp_float_QNaN,
  1339. __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Now
  1340. objects. Declare.
  1341. (__glibcpp_double_infinity, __glibcpp_double_QNaN,
  1342. __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
  1343. (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
  1344. __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
  1345. Likewise.
  1346. * src/limits.cc (__glibcpp_float_infinity, __glibcpp_float_QNaN,
  1347. __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Define.
  1348. (__glibcpp_double_infinity, __glibcpp_double_QNaN,
  1349. __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
  1350. (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
  1351. __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
  1352. Likewise.
  1353. 2002-08-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
  1354. * include/std/std_limits.h: Indent conditional macro definitions.
  1355. 2002-08-23 Phil Edwards <pme@gcc.gnu.org>
  1356. * Makefile.am (check-abi): Specify current directory.
  1357. * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Fix shell syntax, use
  1358. abi_baseline_triplet in baseline_file.
  1359. * Makefile.in, aclocal.m4, configure: Regenerate.
  1360. * configure.target: Add abi_baseline_triplet with default.
  1361. * testsuite/abi_check.cc: More error checking.
  1362. 2002-08-23 Phil Edwards <pme@gcc.gnu.org>
  1363. * config/linker-map.gnu: Verbose comments, clean up spacing.
  1364. * include/bits/stl_alloc.h: Fix indentation of 'if' bodies, return
  1365. statements.
  1366. __allocator: Change class declaration to struct.
  1367. * docs/html/17_intro/C++STYLE: Fix typo.
  1368. * include/bits/stl_deque.h, include/bits/stl_list.h,
  1369. include/bits/stl_map.h, include/bits/stl_multimap.h,
  1370. include/bits/stl_vector.h: Fix fallout from typo.
  1371. 2002-08-22 Benjamin Kosnik <bkoz@redhat.com>
  1372. * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Set
  1373. GLIBCPP_BUILD_ABI_CHECK based on cross compiling, build, host
  1374. variables.
  1375. * aclocal.m4: Regenerate.
  1376. * testsuite/Makefile.am (noinst_PROGRAMS): Make conditional on
  1377. native compiling.
  1378. * testsuite/Makefile.in: Regenerate.
  1379. 2002-08-22 Loren J. Rittle <ljrittle@acm.org>
  1380. * testsuite/abi_check.cc: Enhance shell portability.
  1381. Support older binutils/readelf.
  1382. * config/abi/i386-unknown-freebsd4.6: Add.
  1383. * config/abi/i386-unknown-freebsd4.6/baseline_symbols.txt: New file.
  1384. 2002-08-22 Paolo Carlini <pcarlini@unitus.it>
  1385. * docs/html/faq/index.html: Add Loren James Rittle and
  1386. Paolo Carlini to the list of v3 maintainers.
  1387. * docs/html/faq/index.txt: Ditto.
  1388. * docs/html/17_intro/RELEASE-NOTES: Ditto.
  1389. 2002-08-22 Benjamin Kosnik <bkoz@redhat.com>
  1390. Phil Edwards <pme@gcc.gnu.org>
  1391. Ulrich Drepper <drepper@redhat.com>
  1392. * Makefile.am (check-abi): New rule.
  1393. * Makefile.in: Regenerate.
  1394. * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Export baseline_file.
  1395. * aclocal.m4: Regenerate.
  1396. * configure: Regenerate.
  1397. * testsuite/Makefile.am (noinst_PROGRAMS): Add abi_check.
  1398. (abi_check_SOURCES): Add.
  1399. * testsuite/Makefile.in: Regenerate.
  1400. * testsuite/abi_check.cc: New file.
  1401. * config/abi: Add.
  1402. * config/abi/i686-pc-linux-gnu: Add.
  1403. * config/abi/i686-pc-linux-gnu/baseline_symbols.txt: New file.
  1404. 2002-08-19 Benjamin Kosnik <bkoz@redhat.com>
  1405. * configure.in (libtool_VERSION): Update to 5:1:0.
  1406. * configure: Regenerate.
  1407. 2002-08-19 Jonathan Wakely <jw@kayari.org>
  1408. * docs/html/configopts.html, docs/html/documentation.html,
  1409. docs/html/install.html, docs/html/22_locale/codecvt.html,
  1410. docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
  1411. docs/html/22_locale/locale.html,
  1412. docs/html/22_locale/messages.html: Conform to HTML 4.01 standard.
  1413. 2002-08-15 Benjamin Kosnik <bkoz@redhat.com>
  1414. * include/ext/stdio_filebuf.h (stdio_filebuf): Explicitly set
  1415. _M_buf_size_opt to zero when unbuffering.
  1416. * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
  1417. Consistency checks for _M_buf_size_opt.
  1418. Revert PR libstdc++/7445
  1419. * src/locale.cc (locale::classic): Revert.
  1420. * docs/html/17_intro/TODO: Add.
  1421. 2002-08-15 Phil Edwards <pme@gcc.gnu.org>
  1422. * docs/html/documentation.html: Update doxygen links for 3.2.
  1423. 2002-08-15 Steve Ellcey <sje@cup.hp.com>
  1424. * libsupc++/unwind-cxx.h (__cxa_exception): Change catchTemp
  1425. type from void* to _Unwind_Ptr.
  1426. * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION):
  1427. Do not cast landing_pad or base_of_encoded_value to (void *).
  1428. * libsupc++/eh_throw.cc (__gxx_exception_cleanup):
  1429. Accept _URC_NO_REASON as a valid reason code.
  1430. 2002-08-14 Jonathan Wakely <jw@kayari.org>
  1431. * docs/html/22_locale/messages.html: Use HTML entities for
  1432. punctuation.
  1433. 2002-08-13 Jonathan Wakely <jw@kayari.org>
  1434. Phil Edwards <pme@gcc.gnu.org>
  1435. * docs/html/documentation.html: Use HTML entities for punctuation.
  1436. 2002-08-09 Phil Edwards <pme@gcc.gnu.org>
  1437. * include/bits/deque.tcc, include/bits/list.tcc,
  1438. include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
  1439. include/bits/stl_list.h, include/bits/stl_map.h,
  1440. include/bits/stl_multimap.h, include/bits/stl_queue.h,
  1441. include/bits/stl_stack.h, include/bits/stl_vector.h,
  1442. include/bits/vector.tcc: Re-indent contents of namespace std,
  1443. re-wrap comment lines as necessary.
  1444. 2002-08-08 Danny Smith <dannysmith@users.sourceforge.net>
  1445. Benjamin Kosnik <bkoz@redhat.com>
  1446. * include/bits/istream.tcc (basic_istream::ignore): Use sbumpc,
  1447. not snextc.
  1448. * testsuite/27_io/narrow_stream_objects.cc (test10): Add.
  1449. 2002-08-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
  1450. * libsupc++/Makefile.am (LTCOMPILE): Add LIBSUPCXX_PICFLAGS.
  1451. * libsupc++/Makefile.in: Regenerate.
  1452. 2002-08-05 Gabriel Dos Reis <gdr@nerim.net>
  1453. PR/7491
  1454. * include/bits/slice_array.h(_DEFINE_VALARRAY_OPERATOR):
  1455. Instantiate with new function objects.
  1456. * include/bits/mask_array.h (_DEFINE_VALARRAY_OPERATOR): Likewise.
  1457. Reformat. Uglify.
  1458. * include/bits/gslice_array.h: Likewise.
  1459. * include/bits/indirect_array.h: Likewise.
  1460. 2002-08-03 Gabriel Dos Reis <gdr@nerim.net>
  1461. * testsuite/26_numerics/valarray_name_lookup.cc: Rename from
  1462. testsuite/26_numerics/valarray_name_lookup.C
  1463. * include/bits/valarray_array.h (_DEFINE_ARRAY_FUNCTION): Use our
  1464. object function surrogates.
  1465. * include/bits/valarray_meta.h (__shift_left): Fix typo.
  1466. (_BinFunClos<>): Remove.
  1467. (_BinFunBase<>): Likewise.
  1468. (_BinFunBase1<>):Likewise.
  1469. (_BinFunBase2<>): Likewise.
  1470. (_DEFINE_EXPR_RELATIONAL_OPERATOR): Likewise.
  1471. (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
  1472. (_DEFINE_EXPR_BINARY_OPERATOR): Likewise.
  1473. (_DEFINE_EXPR_BINARY_FUNCTION): Likewise.
  1474. * include/std/std_valarray.h: Dont #include <functional> anymore.
  1475. (_Bitwise_or<>, _Bitwise_and<>, _Bitwise_xor<>, _Shift_left<>,
  1476. _Shift_right<>): Remove.
  1477. (_DEFINE_VALARRAY_AUGMENTED_ASSIGNMENT): Adjust instantiation.
  1478. (_DEFINE_BINARY_OPERATOR): Tweak definition.
  1479. (_DEFINE_LOGICAL_OPERATOR): Remove.
  1480. * testsuite/26_numerics/valarray_name_lookup.C (main): Add more tests.
  1481. 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
  1482. * include/bits/valarray_meta.h (_UnFunBase<>): Remove.
  1483. (_UnFunClos<>): Same.
  1484. (_UnBase<>): Reformat. Make first template-parameter non
  1485. template.
  1486. (_UnClos<>): Likewise.
  1487. (_Expr<>): Reformate. Adjust unary member operator return types.
  1488. (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
  1489. (_DEFINE_EXPR_UNARY_FUNCTION): Likewise.
  1490. * include/std/std_valarray.h (_UnClos<>): Adjust declaration.
  1491. (valarray<>::_UnaryOp<>): New nested traits. Adjust unary member
  1492. operator return types. Reformat.
  1493. (_Bitwise_not): Remove.
  1494. (_DEFINE_VALARRAY_UNARY_OPERATOR): Adjust definition.
  1495. * testsuite/26_numerics/valarray_name_lookup.C: New test.
  1496. 2002-08-02 Danny Smith <dannysmith@users.sourceforge.net>
  1497. * config/os/newlib/ctype_inline.h (is): Don't offset _M_table.
  1498. (scan_is): Use this->is.
  1499. (scan_not): Likewise.
  1500. 2002-08-02 Benjamin Kosnik <bkoz@redhat.com>
  1501. Revert PR libstdc++/6594
  1502. * src/strstream.cc (strstreambuf): Revert.
  1503. (strstreambuf::overflow): Same.
  1504. (strstreambuf::~strstreambuf): Same.
  1505. * testsuite/backward/strstream_members.cc (test02): Add.
  1506. * docs/html/abi.txt: Update. Spell check.
  1507. * testsuite/19_diagnostics/stdexceptions.cc (test04): Add bool test.
  1508. * testsuite/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
  1509. * testsuite/Makefile.in: Regenerate.
  1510. * testsuite/testsuite_hooks.h: Use __throw_exception_again,
  1511. include functexcept.h so that -fno-exceptions will build.
  1512. 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
  1513. * include/bits/valarray_meta.h (__unary_plus, __negate,
  1514. __bitwise_not, __plus, __minus, __multiplies, __divides,
  1515. __modulus, __bitwise_xor, __bitwise_or, __bitwise_and,
  1516. __shift_left, __shift_right, __logical_and, __logical_or,
  1517. __logical_not, __equal_to, __not_equal_to, __less, __less_equal,
  1518. __greater_equal, __greater, __atan2, __pow): New function object
  1519. classes.
  1520. (__fun<>): New function traits class.
  1521. 2002-08-01 Rick Danos <rdanos@hotmail.com>
  1522. PR libstdc++/7461
  1523. * config/os/newlib/ctype_noninline.h (classic_table): Add offset.
  1524. * config/os/newlib/ctype_inline.h (is): Use static_cast.
  1525. 2002-08-01 Neil Booth <neil@daikokuya.co.uk>
  1526. * libsupc++/Makefile.am (LT_COMPILE): Remove C++ flags.
  1527. * libsupc++/Makefile.in: Regenerate.
  1528. 2002-08-01 Benjamin Kosnik <bkoz@redhat.com>
  1529. Jakub Jelinek <jakub@redhat.com>
  1530. * config/linker-map.gnu: Change CXXABI_1 to CXXABI_1.2,
  1531. GLIBCPP_3.1 to GLIBCPP_3.2.
  1532. 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
  1533. Mark Mitchell <mark@codesourcery.com>
  1534. PR libstdc++/7442
  1535. * libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit):
  1536. Change to __hwm_bit.
  1537. (__class_type_info): And here.
  1538. 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
  1539. PR libstdc++/7442
  1540. * libsupc++/cxxabi.h
  1541. (__base_class_info): Change to __base_class_type_info. 2.9.5p6c
  1542. (__base_class_info::__base): Change to __base_type. 2.9.5p6c
  1543. (__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c
  1544. (__vmi_class_type_info::__base_info): Don't make const, of type
  1545. __base_class_type_info, as per 2.9.5p6c
  1546. (__pbase_type_info::__qualifier_flags): Change to __flags, as per
  1547. 2.9.5p7.
  1548. (__pbase_type_info::__qualifier_masks): Change to __masks, as per
  1549. 2.9.5p7.
  1550. (__pointer_to_member_type_info::__context_class): Change member to
  1551. __context, as per 2.9.5p9.
  1552. * libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to
  1553. __context.
  1554. * libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to
  1555. __flags.
  1556. * libsupc++/tinfo.cc (__do_find_public_src): Change __base to
  1557. __base_type.
  1558. * libsupc++/tinfo.cc (__do_dyncast): Same.
  1559. * libsupc++/tinfo.cc (__do_upcast): Same.
  1560. 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
  1561. * src/fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.
  1562. 2002-07-31 Simon Whomsley <whomsley@avacadcam.com>
  1563. * docs/html/22_locale/howto.html: Fix.
  1564. 2002-07-31 Alex Kompel <shurik@sequoiap.com>
  1565. PR libstdc++/7445
  1566. * src/locale.cc (locale::classic): Move locks inside !_S_classic
  1567. block.
  1568. 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
  1569. * docs/html/abi.txt: Update.
  1570. 2002-07-30 Benjamin Kosnik <bkoz@redhat.com>
  1571. Gabriel Dos Reis <gdr@nerim.net>
  1572. * include/bits/char_traits.h: Remove generic definitions.
  1573. * include/bits/streambuf_iterator.h (istreambuf_iterator): Use
  1574. eof, not -2.
  1575. * include/bits/istream.tcc (istream::readsome): Don't check
  1576. against eof, instead use constants.
  1577. (istream::sync): Same.
  1578. (istream::sentry::sentry): Use eq_int_type.
  1579. (istream::get): Same.
  1580. * include/bits/ostream.tcc: Change __pad to
  1581. __pad<_CharT, _Traits>::_S_pad.
  1582. * include/bits/locale_facets.h: Add __pad_traits generic and
  1583. ostreambuf_iterator specialization.
  1584. * include/bits/locale_facets.tcc: Change __pad into struct __pad
  1585. with a _CharT and _Traits template parameter and _S_pad static
  1586. member function.
  1587. * src/locale-inst.cc: Update __pad instantiations.
  1588. * include/std/std_fstream.h: Declare _M_underflow_common
  1589. specializations.
  1590. * src/fstream.cc: New. Add _M_underflow_common specializations.
  1591. * include/bits/fstream.tcc (filebuf::close): Use traits_type.
  1592. (filebuf::_M_underflow_common(bool)): Remove generic version, as
  1593. sys_ungetc and custom int_types don't get along.
  1594. * include/std/std_streambuf.h: Add _M_pos.
  1595. * src/Makefile.am (sources): Add fstream.cc.
  1596. * src/Makefile.in: Regenerate.
  1597. * testsuite/21_strings/capacity.cc: Add char_traits specializations.
  1598. * testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
  1599. * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
  1600. * testsuite/22_locale/ctor_copy_dtor.cc: Same.
  1601. * testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
  1602. * testsuite/27_io/filebuf.cc: ...here.
  1603. * testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
  1604. specialization for both.
  1605. * testsuite/27_io/streambuf.cc: Add instantiation test,
  1606. testsuite_hooks include.
  1607. * testsuite/27_io/istream.cc: Same.
  1608. * testsuite/27_io/ostream.cc: Same.
  1609. * testsuite/27_io/fstream.cc: Same.
  1610. * testsuite/27_io/stringstream.cc: Same.
  1611. * testsuite/27_io/filebuf.cc: Same.
  1612. * testsuite/27_io/stringbuf.cc: Same.
  1613. 2002-07-29 Alan Modra <amodra@bigpond.net.au>
  1614. * config/cpu/powerpc/cpu_limits.h (__glibcpp_long_bits): Define.
  1615. * configure.target (cpu_include_dir): Use cpu/powerpc for powerpc64.
  1616. * config/cpu/powerpc/atomicity.h (__always_swap): Remove.
  1617. (__test_and_set): Remove.
  1618. (_STWCX): Define and use.
  1619. 2002-07-26 Phil Edwards <pme@gcc.gnu.org>
  1620. * libsupc++/new (placement delete): Remove unused parameter names.
  1621. 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
  1622. PR libstdc++/7216
  1623. * include/std/std_istream.h (basic_iostream): Add typedefs for
  1624. char_type, int_type, pos_type, off_type, and traits_type.
  1625. * testsuite/27_io/iostream.cc (test01): Add typedef tests.
  1626. * testsuite/27_io/istream.cc: Same.
  1627. * testsuite/27_io/ostream.cc: Same.
  1628. * testsuite/27_io/filebuf.cc: Same.
  1629. * testsuite/27_io/stringbuf.cc: Replace content, move to...
  1630. * testsuite/27_io/stringbuf_members.cc: ...here.
  1631. * testsuite/27_io/streambuf.cc: Replace content, move to...
  1632. * testsuite/27_io/streambuf_members.cc: ...here.
  1633. * testsuite/27_io/stringstream.cc: Replace content, move to...
  1634. * testsuite/27_io/stringstream_members.cc: ...here.
  1635. * testsuite/27_io/ios.cc: New file.
  1636. * testsuite/27_io/fstream.cc: New file.
  1637. * testsuite/27_io/ifstream.cc: New file.
  1638. * testsuite/27_io/ofstream.cc: New file.
  1639. * testsuite/27_io/istringstream.cc: New file.
  1640. * testsuite/27_io/ostringstream.cc: New file.
  1641. 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
  1642. PR libstdc++/7220
  1643. * include/bits/istream.tcc (istream::ignore): Don't extract on
  1644. zero.
  1645. * testsuite/27_io/istream_unformatted.cc (test10): Add.
  1646. 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
  1647. * testsuite/27_io/ios_base_type.cc: Move to...
  1648. * testsuite/27_io/ios_base_types.cc: ...here.
  1649. 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
  1650. PR libstdc++/7222
  1651. * src/locale.cc (locale::locale(const char*)): Use setlocale NULL.
  1652. * testsuite/22_locale/ctor_copy_dtor.cc (test02): New.
  1653. 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
  1654. PR libstdc++/7230
  1655. * config/linker-map.gnu: Revert strstream patch from 2002-07-01.
  1656. * include/Makefile.am (backward_headers): Use strstream, not
  1657. strstream.h.
  1658. * include/Makefile.in: Regenerate.
  1659. * include/backward/strstream: Revert.
  1660. * include/backward/strstream.h: Remove.
  1661. * src/strstream.cc: Revert.
  1662. * testsuite/backward/strstream_members.cc: Change include.
  1663. 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
  1664. PR libstdc++/7219
  1665. * include/bits/ios_base.h (ios_base::streampos): Add.
  1666. (ios_base::streamoff): Add.
  1667. * testsuite/27_io/ios_base_type.cc: New.
  1668. 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
  1669. PR libstdc++/7286
  1670. * libsupc++/new: Add placement delete.
  1671. * testsuite/18_support/new_delete_placement.cc: New.
  1672. * docs/html/abi.txt: Fix typos.
  1673. 2002-07-23 Benjamin Kosnik <bkoz@redhat.com>
  1674. * docs/html/documentation.html: Remove libstdc++-v3.0.86 links,
  1675. confusing usage of "latest."
  1676. De-tangle contributor information from introductory notes.
  1677. Move abi.txt link placement, activate.
  1678. Re-organize.
  1679. Move chapter info into old FAQ format.
  1680. * docs/html/organization.html: Removed, obsoleted by doxygen work.
  1681. * docs/html/abi.txt: Add notes on testing ABI changes.
  1682. 2002-07-20 Phil Edwards <pme@gcc.gnu.org>
  1683. * docs/html/abi.txt: New file.
  1684. * docs/html/23_containers/howto.html: Tweak vector-overhead text.
  1685. * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
  1686. Import from upstream, R22.
  1687. * include/bits/char_traits.h, include/bits/stl_iterator.h,
  1688. include/bits/stl_iterator_base_types.h, libsupc++/exception,
  1689. libsupc++/new, libsupc++/typeinfo: Use @brief markup.
  1690. * include/bits/deque.tcc, include/bits/stl_alloc.h,
  1691. include/bits/stl_deque.h, include/bits/stl_list.h: Postpone removal
  1692. of deprecated functions until 3.4. (Same timeframe, different text.)
  1693. * include/bits/stl_vector.h: Ditto. Also do the same cleanups that
  1694. the other sequence classes received.
  1695. 2002-07-18 Brendan Kehoe <brendan@zen.org>
  1696. * bits/slice_array.h (_DEFINE_VALARRAY_OPERATOR): Fix typo of
  1697. _Nname to _Name.
  1698. 2002-07-19 Gabriel Dos Reis <gdr@nerim.net>
  1699. DR/123
  1700. * include/bits/slice_array.h
  1701. (slice_array<T>::operator=(const T&)): Constify.
  1702. * include/bits/gslice_array.h
  1703. (gslice_array<T>::operator=(const T&)): Likewise.
  1704. * include/bits/mask_array.h
  1705. (mask_array<T>::operator=(const T&)): Likewise.
  1706. * include/bits/indirect_array.h
  1707. (indirect_array<T>::operator=(const T&): Likewise.
  1708. 2002-07-17 Phil Edwards <pme@gcc.gnu.org>
  1709. * docs/doxygen/run_doxygen: Remove template parameter names from
  1710. "Compound List" summary page. Reformat.
  1711. * docs/html/documentation.html: XHTML fixes.
  1712. 2002-07-16 Andreas Schwab <schwab@suse.de>
  1713. * libsupc++/new (set_new_handler): Declare to not throw any
  1714. exceptions.
  1715. * libsupc++/new_handler.cc (set_new_handler): Likewise.
  1716. 2002-07-16 Gabriel Dos Reis <gdr@nerim.net>
  1717. * include/Makefile.am (bits_headers): Remove slice.h
  1718. * include/Makefile.in: Regenerate.
  1719. * include/bits/slice.h (slice): move to include/bits/slice_array.h
  1720. * include/bits/slice.h Remove.
  1721. * include/std/std_valarray.h: Don't #include bits/slice.h anymore.
  1722. * include/bits/slice_array.h: Comply to official coding styles.
  1723. * testsuite/26_numerics/slice.cc: New test.
  1724. 2002-07-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  1725. * config/os/solaris/solaris2.5/ctype_base.h (ctype_base): Fix
  1726. print to match vendor <ctype.h>.
  1727. 2002-07-15 Phil Edwards <pme@gcc.gnu.org>
  1728. * docs/html/faq/index.html: Fix download links.
  1729. * docs/html/faq/index.txt: Regenerate.
  1730. * docs/html/17_intro/porting.html: Regenerate from earlier changes.
  1731. 2002-07-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  1732. * configure.target (target_os switch): Allow for irix6*o32
  1733. configurations.
  1734. 2002-07-10 Gabriel Dos Reis <gdr@nerim.net>
  1735. * include/bits/valarray_meta.h (_UnFunBase): Take a second
  1736. template parameter. Remove _M_func data member.
  1737. (_UnFunClos): Take a third template parameter.
  1738. (__abs, __cos, __acos, __cosh, __sin, __asin, __sinh, __tan,
  1739. __atan, __tanh, __exp, __log, __log10, __sqrt): New classes.
  1740. (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
  1741. 2002-07-08 Eric Christopher <echristo@redhat.com>
  1742. * configure.target: Fix comment for mips atomicity. Add
  1743. mips*-*-linux* target, enable atomic operations there.
  1744. * config/cpu/mips/atomicity.h: Fix comments, remove
  1745. #ifndef/#endif. Add push/pop mips2.
  1746. 2002-07-08 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
  1747. * include/bits/stl_deque.h (_Deque_alloc_base): Change order of
  1748. member declarations to avoid compiler warnings and restore 3.1 ABI.
  1749. 2002-07-08 Phil Edwards <pme@gcc.gnu.org>
  1750. * docs/html/23_containers/howto.html: Link to dk_std::vector paper
  1751. and homepage.
  1752. 2002-07-07 Paolo Carlini <pcarlini@unitus.it>
  1753. PR libstdc++/7186
  1754. * include/bits/stl_deque.h (_Deque_iterator::operator-):
  1755. Make non-member, as already happens for the comparison
  1756. operators in accord with DR179 (Ready).
  1757. * testsuite/23_containers/deque_operators.cc: Add test02.
  1758. 2002-07-04 Benjamin Kosnik <bkoz@redhat.com>
  1759. Jack Reeves <jackw_reeves@hotmail.com>
  1760. * include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to
  1761. size_t, from int_type.
  1762. (basic_streambuf::_M_buf_size_opt): Same.
  1763. (basic_streambuf::_S_pback_sizex): Same.
  1764. * include/bits/streambuf.tcc: Same.
  1765. * include/std/std_streambuf.h (basic_streambuf::snextc): Use
  1766. eq_int_type.
  1767. (basic_streambuf::uflow): Same.
  1768. * include/bits/sstream.tcc (basic_stringbuf::overflow): Use
  1769. to_char_type.
  1770. * include/bits/basic_ios.tcc (basic_ios::init): Use _CharT().
  1771. * include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use
  1772. eq_int_type.
  1773. (basic_streambuf::xsputn): Same.
  1774. (__copy_streambufs): Same.
  1775. 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
  1776. * include/std/std_memory.h: Fix formatting.
  1777. * testsuite/20_util/auto_ptr_neg.cc: New.
  1778. * testsuite/20_util/auto_ptr.cc: Tweaks.
  1779. * testsuite/23_containers/map_operators.cc (test01): Split into..
  1780. * testsuite/23_containers/map_operators_neg.cc (test01): ...this. New.
  1781. * testsuite/23_containers/set_operators.cc: Move to...
  1782. * testsuite/23_containers/set_operators_neg.cc: ...here.
  1783. * testsuite/README: Add some more naming rules.
  1784. 2002-07-03 Steev Wilcox <steev@paradigmds.com>
  1785. PR libstdc++/7057
  1786. * include/ext/stl_hashtable.h: Fix.
  1787. * testsuite/ext/hash_map.cc: New.
  1788. 2002-07-03 Jack Reeves <jackw_reeves@hotmail.com>
  1789. Kenny Simpson <theonetruekenny@yahoo.com>
  1790. Phil Edwards <pme@gcc.gnu.org>
  1791. PR libstdc++/3946
  1792. * testsuite/20_util/auto_ptr.cc (test08): New test.
  1793. * include/std/std_memory.h (auto_ref_ptr): Make constructor explicit.
  1794. (auto_ptr::operator auto_ptr_ref): Fix typo.
  1795. General reformatting and doxygenating of the whole file.
  1796. 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
  1797. PR libstdc++/7097
  1798. * include/c/std_cwchar.h: Fix.
  1799. 2002-07-02 Benjamin Kosnik <bkoz@redhat.com>
  1800. PR libstdc++/6410
  1801. * include/bits/locale_facets.h (moneypunct::moneypunct): Add const
  1802. char* name parameter.
  1803. * config/locale/gnu/monetary_members.cc: Use it.
  1804. * config/locale/generic/monetary_members.cc: Same.
  1805. * src/localename.cc (_Impl::_Impl(const char*, size_t)): Use it.
  1806. * include/backward/strstream.h: Update date.
  1807. 2002-07-02 Paolo Carlini <pcarlini@unitus.it>
  1808. PR libstdc++/6642
  1809. * include/bits/stl_iterator.h
  1810. (__normal_iterator::operator-(const __normal_iterator&)):
  1811. Make non-member, as already happens for the comparison
  1812. operators in accord with DR179 (Ready).
  1813. * testsuite/24_iterators/iterator.cc: Add test from the PR.
  1814. 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
  1815. PR libstdc++/7173
  1816. * acinclude.m4: Simplify determination of gcc_version, and move
  1817. up to GLIBCPP_CONFIGURE.
  1818. * configure.in (release_VERSION): Really remove.
  1819. (AM_INIT_AUTOMAKE, AM_CONFIG_HEADER): Move after GLIBCPP_CONFIGURE.
  1820. * aclocal.m4, configure: Regenerate.
  1821. 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
  1822. * docs/html/configopts.html, docs/html/install.html: Tweaks.
  1823. * include/ext/algorithm, include/ext/hash_map, include/ext/hash_set,
  1824. include/ext/iterator, include/ext/numeric, include/ext/rb_tree,
  1825. include/ext/slist, include/ext/stl_rope.h: Add doxygen hooks.
  1826. 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
  1827. * include/backward/strstream: Remove namespace std. Transfer to...
  1828. * include/backward/strstream.h: ...here. Qualify std names.
  1829. * src/strstream.cc: Remove namespace std.
  1830. * include/Makefile.am (backward_headers): Remove strstream.h.
  1831. * include/Makefile.in: Regenerate.
  1832. * config/linker-map.gnu: Export strstream bits.
  1833. * src/fstream-inst.cc: Tweak.
  1834. * src/io-inst.cc: Same.
  1835. * src/istream-inst.cc: Same.
  1836. * src/misc-inst.cc: Same.
  1837. * src/ostream-inst.cc: Same.
  1838. * src/sstream-inst.cc: Same.
  1839. * src/valarray-inst.cc: Same.
  1840. * src/misc-inst.cc: Remove unused instantiations.
  1841. 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
  1842. * configure.in (libtool_VERSION): Bump to 5:0:0.
  1843. * configure: Regenerate.
  1844. 2002-06-28 Phil Edwards <pme@gcc.gnu.org>
  1845. PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161
  1846. * include/std/std_queue.h: Include deque.tcc, vector.tcc.
  1847. * include/std/std_stack.h: Include deque.tcc.
  1848. * testsuite/23_containers/adaptors.cc: New file.
  1849. 2002-06-27 Phil Edwards <pme@gcc.gnu.org>
  1850. * include/bits/stl_alloc.h: Deprecate all 'reallocate' memfns.
  1851. * docs/html/ext/howto.html: Update allocator notes.
  1852. 2002-06-26 Benjamin Kosnik <bkoz@redhat.com>
  1853. * configure.in (INTERFACE): Remove.
  1854. (release_VERSION): Remove.
  1855. * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
  1856. (libstdcxx_interface): Change. Use gcc methods to determine version.
  1857. * configure: Regenerate.
  1858. * aclocal.m4: Regenerate.
  1859. 2002-06-25 DJ Delorie <dj@redhat.com>
  1860. * acinclude.m4 (GLIBCPP_CONFIGURE): Split out
  1861. GLIBCPP_TOPREL_CONFIGURE.
  1862. * aclocal.m4: Likewise.
  1863. * configure.in: Call it before AC_CANONICAL_SYSTEM.
  1864. * configure: Regenerate.
  1865. 2002-06-25 Jessica Han <jessica@cup.hp.com>
  1866. * config/os/hpux/os_defines.h Define _GLIBCPP_VTABLE_PADDING
  1867. * libsupc++/tinfo.cc Handle the 8 byte aligned vtable entries when
  1868. _GLIBCPP_VTABLE_PADDING is defined.
  1869. 2002-06-25 Benjamin Kosnik <bkoz@redhat.com>
  1870. * include/bits/stl_alloc.h: Additional formatting.
  1871. 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
  1872. * include/bits/stl_alloc.h: Reformat as per C++STYLE.
  1873. 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
  1874. * config/cpu/*/bits/*: Move header files up a level. Remove bits.
  1875. * config/os/*/bits/*: Likewise.
  1876. * configure.in: Update.
  1877. * configure: Regenerate.
  1878. * configure.target: Update.
  1879. * docs/html/17_intro/porting.texi: Update.
  1880. 2002-06-21 Phil Edwards <pme@gcc.gnu.org>
  1881. * include/bits/stl_map.h, include/bits/stl_multimap.h,
  1882. include/bits/stl_queue.h, include/bits/stl_stack.h: Reformat and
  1883. complete doxygenation.
  1884. * include/bits/boost_concept_check.h: Minor comment.
  1885. 2002-06-21 Benjamin Kosnik <bkoz@redhat.com>
  1886. * include/c_compatibility: New.
  1887. * include/c_compatibility/assert.h: New.
  1888. * include/c_compatibility/ctype.h: New.
  1889. * include/c_compatibility/errno.h: New.
  1890. * include/c_compatibility/float.h: New.
  1891. * include/c_compatibility/iso646.h: New.
  1892. * include/c_compatibility/limits.h: New.
  1893. * include/c_compatibility/locale.h: New.
  1894. * include/c_compatibility/math.h: New.
  1895. * include/c_compatibility/setjmp.h: New.
  1896. * include/c_compatibility/signal.h: New.
  1897. * include/c_compatibility/stdarg.h: New.
  1898. * include/c_compatibility/stddef.h: New.
  1899. * include/c_compatibility/stdio.h: New.
  1900. * include/c_compatibility/stdlib.h: New.
  1901. * include/c_compatibility/string.h: New.
  1902. * include/c_compatibility/time.h: New.
  1903. * include/c_compatibility/wchar.h: New.
  1904. * include/c_compatibility/wctype.h: New.
  1905. * include/c/std_cerrno.h: Get out of the way... define errno.
  1906. * include/c/std_cmath.h: Add abs, modf overloads.
  1907. Undefine C99 isms. Still not sure how to deal with this sanely.
  1908. * include/c/std_csetjmp.h: Tweak.
  1909. * include/c/std_cwchar.h: Include cstddef for size_t.
  1910. * include/c_std/std_cmath.h: Remove extra function.
  1911. Pendantic std usage in testsuites.
  1912. * testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
  1913. with std.
  1914. * testsuite/17_intro/header_cwchar.cc: Tweak.
  1915. * testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
  1916. std::setlocale.
  1917. * testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
  1918. * testsuite/22_locale/ctype_to_char.cc (test05): Same.
  1919. * testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
  1920. * testsuite/22_locale/ctype_is_char.cc (test05): Same.
  1921. * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
  1922. * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
  1923. * testsuite/22_locale/time_get_members_char.cc (test08): Same.
  1924. * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
  1925. * testsuite/22_locale/time_put_members_char.cc (test04): Same.
  1926. * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
  1927. * testsuite/22_locale/num_put_members_char.cc (test04): Same.
  1928. * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
  1929. * testsuite/22_locale/numpunct_members_char.cc (test03): Same.
  1930. * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
  1931. * testsuite/22_locale/num_get_members_char.cc: Same.
  1932. * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
  1933. * testsuite/22_locale/money_put_members_char.cc (test07): Same.
  1934. * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
  1935. * testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
  1936. * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
  1937. * testsuite/22_locale/money_get_members_char.cc (test08): Same.
  1938. * testsuite/22_locale/messages_members_char.cc (test03): Same.
  1939. * testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
  1940. * testsuite/22_locale/collate_members_char.cc (test04): Same.
  1941. * testsuite/26_numerics/fabs_inline.cc: Use std::printf.
  1942. * testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
  1943. * testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.
  1944. 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
  1945. * libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
  1946. c_sources.
  1947. 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
  1948. * src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
  1949. Use size_type instead of unsigned long.
  1950. 2002-06-20 Steve Ellcey <sje@cup.hp.com>
  1951. * src/ext-inst.cc (_S_fetch): Add explicit templates for char and
  1952. wchar types.
  1953. (_S_min_len): Ditto.
  1954. 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
  1955. * include/Makefile.am: Add rules.
  1956. * include/Makefile.in: Regenerate.
  1957. * acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
  1958. * aclocal.m4: Regenerate.
  1959. * configure: Regenerate.
  1960. * configure.target (c_model, c_compatibility): Add.
  1961. * libsupc++/Makefile.am (c_sources): New.
  1962. (libsupc___la_SOURCES): Add c_sources.
  1963. (LTCOMPILE): Remove INCLUDES.
  1964. (GCC_INCLUDES): New.
  1965. (C_COMPILE): New, like COMPILE but without INCLUDES.
  1966. (cxa_demangle.o): Use C_COMPILE.
  1967. (dyn-string.o): Use C_COMPILE.
  1968. * include/c/std_cstdarg.h: Define __need___va_list.
  1969. * include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
  1970. need_NULL, need_offsetof.
  1971. 2002-06-19 Steve Ellcey <sje@cup.hp.com>
  1972. * configure.in (HAVE_FINITE*, HAVE_ISINF*, HAVE_ISNAN*): Remove
  1973. definitions in hpux11 cross-build because these functions do
  1974. not exist on hpux11 (but some exist on hpux10); move defaults out
  1975. into existing sections.
  1976. * configure: Regenerate.
  1977. 2002-06-18 Benjamin Kosnik <bkoz@redhat.com>
  1978. * include/c/std_cwchar.h: Guard. Add mbstate_t bits.
  1979. * include/c/std_cwctype.h: Guard.
  1980. * libsupc++/eh_alloc.cc: Tweak include order.
  1981. * libsupc++/pure.cc: Use cstdio.
  1982. * libsupc++/new_op.cc: Remove malloc forward declaration, as
  1983. cstdlib brings it in. Use std::malloc.
  1984. * src/Makefile.am (sources): Remove cmath.cc.
  1985. * src/Makefile.in: Regenerate.
  1986. * src/cmath.cc: Remove.
  1987. 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
  1988. * configure.target: Force mips to use the generic cpu routines.
  1989. 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
  1990. * configure.host: Delete file.
  1991. * configure.target: More documentation. Factor out common parts of
  1992. script into "intelligent" settings about defaults. Remove redundancy.
  1993. * acinclude.m4: Update comments. Do not call configure.host.
  1994. (GLIBCPP_ENABLE_SYMVERS): If disabled, do not bother checking for
  1995. libgcc_s.
  1996. * configure.in: Slight reformatting, more comments. Factor out
  1997. "config/" from all the directories.
  1998. * docs/html/17_intro/porting.texi: Update and expand.
  1999. * testsuite/Makefile.am (AM_RUNTESTFLAGS): Move empty setting
  2000. from configure.host.
  2001. * aclocal.m4, configure, docs/html/17_intro/porting.html,
  2002. testsuite/Makefile.in: Regenerate.
  2003. 2002-06-16 Phil Edwards <pme@gcc.gnu.org>
  2004. * docs/doxygen/TODO: Update.
  2005. * docs/doxygen/tables.html: Uncomment magical middle column.
  2006. * docs/doxygen/user.cfg.in: Kludge to ignore function-like macros.
  2007. * include/bits/stl_queue.h: Doxygenate and reformat.
  2008. * include/bits/ios_base.h, include/std/std_streambuf.h: Add comment
  2009. for deprecated names required by the standard.
  2010. 2002-06-14 J.T. Conklin <jtc@acorntoolworks.com>
  2011. * configure.in (target_alias): Fix.
  2012. * configure: Regenerate.
  2013. * aclocal.m4: Regenerate.
  2014. 2002-06-12 Phil Edwards <pme@gcc.gnu.org>
  2015. * include/Makefile.am: Add new files.
  2016. * include/Makefile.in: Regenerate.
  2017. * include/bits/stl_deque.h, include/bits/stl_list.h,
  2018. include/bits/stl_vector.h: Clean up, reformat. Move definitions...
  2019. * include/bits/deque.tcc, include/bits/list.tcc,
  2020. include/bits/vector.tcc: ...to here. New files.
  2021. * include/ext/stl_hashtable.h: Inclide correct full headers.
  2022. * include/std/std_deque.h: Include .tcc files for now.
  2023. * include/std/std_list.h: Likewise.
  2024. * include/std/std_vector.h: Likewise.
  2025. 2002-06-12 Daniel Jacobowitz <drow@mvista.com>
  2026. * Makefile.am: Add FLAGS_TO_PASS.
  2027. * Makefile.in: Regenerated.
  2028. 2002-06-11 J.T. Conklin <jtc@acorntoolworks.com>
  2029. Benjamin Kosnik <bkoz@redhat.com>
  2030. * configure.target: Set os_include_dir to config/os/qnx/qnx6.1
  2031. under *-qnx6.[12]*.
  2032. * configure.in: Add support for *-qnx6.[12]*.
  2033. * configure: Regenerate.
  2034. * config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
  2035. New directories.
  2036. * config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
  2037. ctype_noninline.h, os_defines.h: New files.
  2038. 2002-06-10 Loren J. Rittle <ljrittle@acm.org>
  2039. * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): Reorder and
  2040. include all required headers for test against older POSIX standard.
  2041. (GLIBCPP_CHECK_SETRLIMIT): Likewise.
  2042. (ac_setrlimit): Likewise.
  2043. * aclocal.m4: Regenerate.
  2044. * configure: Regenerate.
  2045. * testsuite/testsuite_hooks.cc: Reorder and include all
  2046. required headers for use against older POSIX standard.
  2047. 2002-06-08 Paolo Carlini <pcarlini@unitus.it>
  2048. * testsuite/backwards/strstream_members.cc: New.
  2049. 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
  2050. * include/backwards/strstream: Format.
  2051. * src/strstream.cc: Format.
  2052. 2002-06-08 Andreas Schwab <schwab@suse.de>
  2053. * src/strstream.cc (strstreambuf::overflow): Set _M_buf,
  2054. _M_buf_size and _M_buf_size_opt to the new buffer and size.
  2055. 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
  2056. * config/os/generic/bits/ctype_noninline.h: Tweak format.
  2057. 2002-06-07 Steve Ellcey <sje@cup.hp.com>
  2058. * src/locale-inst.cc (__codecvt_abstract_base):
  2059. Put inside _GLIBCPP_USE_WCHAR_T ifdef.
  2060. * include/bits/istream.tcc (basic_istream): Ditto.
  2061. (ws) Ditto.
  2062. (operator>>) Ditto.
  2063. * include/bits/ostream.tcc (basic_ostream): Ditto.
  2064. (endl): Ditto.
  2065. (ends): Ditto.
  2066. (flush): Ditto.
  2067. (operator<<): Ditto.
  2068. 2002-06-07 Phil Edwards <pme@gcc.gnu.org>
  2069. * mkcheck.in: Link against local testsuite library.
  2070. * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Move null
  2071. implementation out...
  2072. * testsuite/testsuite_hooks.cc: ...to here.
  2073. 2002-06-06 Loren J. Rittle <ljrittle@acm.org>
  2074. * src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
  2075. * include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
  2076. * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
  2077. * src/Makefile.in: Regenerate (explicitly with --cygnus option).
  2078. * testsuite/Makefile.in: Likewise.
  2079. 2002-06-05 David Edelsohn <edelsohn@gnu.org>
  2080. * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
  2081. Call external symbol.
  2082. 2002-06-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  2083. * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
  2084. Search correct multilib testsuite dir for libv3test.
  2085. 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
  2086. Gaby Dos Reis <gdr@codesourcery.com>
  2087. * include/bits/basic_string.tcc
  2088. (basic_string::_S_construct(forward_iterator_tag):
  2089. Fix typo in null pointer check.
  2090. * testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
  2091. 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
  2092. * testsuite/22_locale/money_get_members_char.cc
  2093. (test02): Add decimal point to long double constants.
  2094. * testsuite/22_locale/money_get_members_wchar_t.cc
  2095. (test02): Likewise.
  2096. * testsuite/22_locale/money_put_members_char.cc
  2097. (test02, test03, test06): Likewise.
  2098. * testsuite/22_locale/money_put_members_wchar_t.cc:
  2099. (test02, test03, test06): Likewise.
  2100. * testsuite/22_locale/num_get_members_char.cc:
  2101. (test02, test01): Likewise; suffix long long constants with LL.
  2102. * testsuite/22_locale/num_get_members_wchar_t.cc:
  2103. (test02, test01): Likewise.
  2104. * testsuite/22_locale/num_put_members_char.cc:
  2105. (test02, test01): Likewise.
  2106. * testsuite/22_locale/num_put_members_wchar_t.cc:
  2107. (test02, test01): Likewise.
  2108. 2002-06-03 Marc Espie <espie@openbsd.org>
  2109. * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
  2110. assembly for old assemblers.
  2111. 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
  2112. * include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
  2113. Move/rename...
  2114. (vector<bool>::swap(reference,reference)): ...to this.
  2115. 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
  2116. * docs/doxygen/TODO: Update.
  2117. * docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS): Set to off, now that
  2118. some class members are in 14882 order.
  2119. * docs/html/ext/howto.html: 3.1 is in the past now, not the future.
  2120. * include/std/std_bitset.h: Update comment.
  2121. * src/bitset.cc: Update comments, clean up spacing.
  2122. * src/Makefile.am (sources): Alphabetize for convenience.
  2123. * src/Makefile.in: Regenerate.
  2124. 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
  2125. * include/bits/stl_deque.h, include/bits/stl_list.h,
  2126. include/bits/stl_vector.h: Reformat to (mostly) match C++STYLE.
  2127. Reorder to match 14882. Doxygen blocks for all public members.
  2128. 2002-05-31 Marcus Meissner <meissner@suse.de>
  2129. PR libstdc++/6886
  2130. * include/bits/stl_bvector.h: Use UL suffix for unsigned longs.
  2131. * testsuite/23_containers/vector_bool.cc (test02): New test.
  2132. 2002-05-30 Marc Espie <espie@openbsd.org>
  2133. * configure.in: Always check for sys/types.h
  2134. * configure: Regenerate.
  2135. 2002-05-28 Nick Clifton <nickc@cambridge.redhat.com>
  2136. * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
  2137. Rebuild the wrapper file every time this proc is called.
  2138. 2002-05-28 Phil Edwards <pme@gcc.gnu.org>
  2139. * testsuite/Makefile.am (noinst_LIBRARIES): New target. Pull in
  2140. CXX/INCLUDES.
  2141. * testsuite/Makefile.in: Regenerate.
  2142. * testsuite/testsuite_hooks.h (gnu_copy_tracker): Move from
  2143. list_modifiers.cc and rename from 'T'. Move code bodies...
  2144. * testsuite/testsuite_hooks.cc: ...to here. New file.
  2145. * testsuite/23_containers/list_modifiers.cc: Move 'T' class out.
  2146. * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
  2147. Add libv3test.a to link options.
  2148. 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
  2149. * src/misc-inst.cc: Define unnecessary algorithm
  2150. instantiations. Break apart instantiations into groupings below.
  2151. * src/fstream-inst.cc: New.
  2152. * src/io-inst.cc: New.
  2153. * src/istream-inst.cc: New.
  2154. * src/ostream-inst.cc: New.
  2155. * src/streambuf-inst.cc: New.
  2156. * src/sstream-inst.cc: New.
  2157. * src/Makefile.am (sources): Add files.
  2158. * src/Makefile.in: Regenerate.
  2159. * acinclude.m4: Work around automake 1.4-p5 bug, change
  2160. AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
  2161. 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
  2162. PR libstdc++/6795.
  2163. * config/os/solaris/solaris2.6/bits/ctype_noninline.h
  2164. (classic_table): Fix.
  2165. * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
  2166. 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
  2167. * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
  2168. _GLIBCPP_USE_WCHAR_T.
  2169. * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
  2170. * testsuite/22_locale/ctype_to_wchar_t.cc: Same.
  2171. * testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
  2172. 2002-05-26 Carlo Wood <carlo@alinoe.com>
  2173. Paolo Carlini <pcarlini@unitus.it>
  2174. PR libstdc++/6811
  2175. * config/locale/ieee_1003.1-2001/codecvt_specializations.h
  2176. (__enc_traits::operator=): add missing return statement.
  2177. 2002-05-24 Phil Edwards <pme@gcc.gnu.org>
  2178. PR libstdc++/6282
  2179. * include/std/std_bitset.h (_Base_biteset<0>): New specialization.
  2180. (operator>>): If nothing was extracted, don't fail in the
  2181. zero-length case.
  2182. * testsuite/23_containers/bitset_ctor.cc (test02): New test.
  2183. 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
  2184. PR libstdc++/6701
  2185. * testsuite/22_locale/ctype_narrow_char.cc: New.
  2186. * testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
  2187. * testsuite/22_locale/ctype_widen_char.cc: New.
  2188. * testsuite/22_locale/ctype_widen_wchar_t.cc: New.
  2189. * testsuite/22_locale/ctype_members_char.cc: Move some bits into...
  2190. * testsuite/22_locale/ctype_is_char.cc: ...this.
  2191. * testsuite/22_locale/ctype_to_char.cc: ...and this.
  2192. * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
  2193. * testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
  2194. * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
  2195. * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
  2196. 2002-05-24 Dale Peakall <dale@peakall.net>
  2197. PR libstdc++/6701
  2198. * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
  2199. * config/locale/generic/ctype_members.cc: Same.
  2200. 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
  2201. PR libstdc++/6750
  2202. * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
  2203. for empty string literal.
  2204. (ostream::operator<<(const _CharT*)): Same.
  2205. (ostream<char>::operator<<(const char*)): Same.
  2206. (ostream<char>::operator<<(streambuf*)): Same.
  2207. * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
  2208. * testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
  2209. 2002-05-23 Benjamin Kosnik <bkoz@redhat.com>
  2210. * configure.in (release_VERSION): Update to 3.1.1.
  2211. (libtool_VERSION): Update to 4:1:0.
  2212. * configure: Regenerate.
  2213. 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
  2214. * include/bits/stl_pair.h: Tweak comment markup.
  2215. 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
  2216. * include/ext/stdio_filebuf.h: Add header guards. Doxygenate.
  2217. 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
  2218. * docs/doxygen/user.cfg.in (EXCLUDE): Add 'CVS'.
  2219. 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
  2220. * include/bits/stl_vector.h: Reformat to follow C++STYLE.
  2221. Doxygenate all public members. Reorder to follow 14882.
  2222. (vector::push_back(void)): Remove previously-deprecated fn.
  2223. (vector::insert(iterator), vector::_M_insert_aux(iterator)):
  2224. Deprecate for removal in 3.3.
  2225. 2002-05-20 Phil Edwards <pme@gcc.gnu.org>
  2226. * docs/html/faq/index.html (5.4): Recommend against -I options for
  2227. finding the ext headers.
  2228. * docs/html/faq/index.txt: Regenerate.
  2229. 2002-05-19 Paolo Carlini <pcarlini@unitus.it>
  2230. * testsuite/23_containers/deque_operators.cc (test01):
  2231. Fix minor typo in last commit.
  2232. 2002-05-18 Paolo Carlini <pcarlini@unitus.it>
  2233. PR libstdc++/6503
  2234. * include/bits/stl_deque.h (_Deque_iterator::operator==,
  2235. operator!=, operator<, operator>, operator>=, operator<=):
  2236. Make non-member functions, to allow comparing const and
  2237. non-const iterators in any order.
  2238. * testsuite/23_containers/deque_operators.cc: New testfile.
  2239. 2002-05-16 Phil Edwards <pme@gcc.gnu.org>
  2240. * docs/html/faq/index.html: Update not-a-bug list with basic_file.h.
  2241. * docs/html/faq/index.txt: Regenerate.
  2242. 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  2243. * Makefile.am: Allow for PWDCMD to override hardcoded pwd.
  2244. * acinclude.m4: Likewise.
  2245. * docs/html/Makefile: Likewise.
  2246. * aclocal.m4: Regenerate.
  2247. * configure: Regenerate.
  2248. * Makefile.in: Regenerate.
  2249. 2002-05-15 Loren J. Rittle <ljrittle@acm.org>
  2250. libstdc++/6641
  2251. * include/bits/c++config (__USE_MALLOC): Report case where
  2252. the user improperly defined it on the command line.
  2253. 2002-05-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  2254. * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
  2255. Retrieve current limits before setting.
  2256. 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
  2257. PR libstdc++/6518
  2258. * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
  2259. for null case.
  2260. (ostream::operator<<(const _CharT*)): Same.
  2261. (ostream<char>::operator<<(const char*)): Same.
  2262. * testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
  2263. 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
  2264. PR libstdc++/6594
  2265. * src/strstream.cc (strstreambuf): Fix leak.
  2266. 2002-05-15 Paolo Carlini <pcarlini@unitus.it>
  2267. PR libstdc++/6648
  2268. * include/bits/istream.tcc (istream::getline, ignore):
  2269. Upon __idelim (__delim) call sbumpc() not snextc().
  2270. * testsuite/27_io/narrow_stream_objects.cc:
  2271. Add test08 and test09.
  2272. 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
  2273. * testsuite/22_locale/ctype_scan_char.cc: Tweak.
  2274. * testsuite/22_locale/ctype_scan_wchar_t.cc: New.
  2275. * docs/html/install.html: Fix.
  2276. 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
  2277. * include/bits/fstream.tcc
  2278. (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
  2279. try/catch blocks.
  2280. * src/localename.cc (locale::_Impl::_M_install_facet): Same.
  2281. * docs/html/install.html: Tweak, add bits about required locales
  2282. for the 22_locale tests when using the gnu model.
  2283. * testsuite/27_io/istream_sentry.cc: Tweak.
  2284. 2002-05-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  2285. * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
  2286. Fix typo, use this->is() rather than manually (and perhaps
  2287. incorrectly) inlining it.
  2288. * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
  2289. Likewise.
  2290. * testsuite/22_locale/ctype_scan_char.cc: New file.
  2291. 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
  2292. Jakub Jelinek <jakub@redhat.com>
  2293. * testsuite/22_locale/money_get_members_char.cc
  2294. (test01, test02, test04): Use the de_DE@euro named locale
  2295. instead of de_DE to allow for an uniform behaviour with
  2296. both old and Euro-era localedata; tweak some tests.
  2297. * testsuite/22_locale/money_get_members_wchar_t.cc
  2298. (test01, test02, test04): Likewise.
  2299. * testsuite/22_locale/money_put_members_char.cc
  2300. (test01, test02, test04): Likewise.
  2301. * testsuite/22_locale/money_put_members_wchar_t.cc
  2302. (test01, test02, test04): Likewise.
  2303. 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
  2304. * testsuite/22_locale/codecvt_members_char_char.cc
  2305. (test03): Robustify wrt localedata.
  2306. * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
  2307. * testsuite/22_locale/collate_members_char.cc (test04): Likewise.
  2308. * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
  2309. * testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
  2310. * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
  2311. * testsuite/22_locale/messages_members_char.cc (test03): Likewise.
  2312. * testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
  2313. * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
  2314. * testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
  2315. * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
  2316. * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
  2317. * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
  2318. * testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
  2319. * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
  2320. * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
  2321. * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
  2322. * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
  2323. * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
  2324. * testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
  2325. * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
  2326. * testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
  2327. * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
  2328. 2002-05-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  2329. * config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
  2330. change.
  2331. 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
  2332. * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
  2333. to 64 for hppa 64-bit port.
  2334. (__glibcpp_long_double_bits): Define to 64 for all hppa ports.
  2335. 2002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  2336. * acinclude.m4 (enable_symvers): Quote $LD.
  2337. * aclocal.m4: Regenerate.
  2338. * configure: Likewise.
  2339. 2002-05-09 Jakub Jelinek <jakub@redhat.com>
  2340. * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
  2341. multilib dirs containing libgcc_s*.so.1 below gcc object dir to
  2342. LD_LIBRARY_PATH.
  2343. 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
  2344. * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
  2345. script entry, and set LD to it when configuring multilibs.
  2346. * configure: Rebuilt.
  2347. 2002-05-07 Mark Mitchell <mark@codesourcery.com>
  2348. * configure.in: Add support for WindISS.
  2349. * configure: Regenerated.
  2350. * configure.target: Add support for WindISS.
  2351. * config/os/windiss/bits/ctype_base.h: New file.
  2352. * config/os/windiss/bits/ctype_inline.h: Likewise.
  2353. * config/os/windiss/bits/ctype_noninline.h: Likewise.
  2354. * config/os/windiss/bits/os_defines.h: Likewise.
  2355. 2002-05-06 Paolo Carlini <pcarlini@unitus.it>
  2356. Test all the facets for the temporary "C" locale switch issue.
  2357. * testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
  2358. * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
  2359. * testsuite/22_locale/collate_members_char.cc: Add test04.
  2360. * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
  2361. * testsuite/22_locale/ctype_members_char.cc: Add test05.
  2362. * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
  2363. * testsuite/22_locale/messages_members_char.cc: Add test03.
  2364. * testsuite/22_locale/money_get_members_char.cc: Add test08.
  2365. * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
  2366. * testsuite/22_locale/money_put_members_char.cc: Add test07.
  2367. * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
  2368. * testsuite/22_locale/moneypunct_members_char.cc: Add test03.
  2369. * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
  2370. * testsuite/22_locale/num_get_members_char.cc: Add test06.
  2371. * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
  2372. * testsuite/22_locale/numpunct_members_char.cc: Add test03.
  2373. * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
  2374. * testsuite/22_locale/time_get_members_char.cc: Add test08.
  2375. * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
  2376. * testsuite/22_locale/time_put_members_char.cc: Add test04.
  2377. * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
  2378. * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
  2379. * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
  2380. 2002-05-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  2381. * config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
  2382. __EXTENSIONS__): Ensure they are always defined.
  2383. 2002-05-06 Phil Edwards <pme@gcc.gnu.org>
  2384. * docs/html/documentation.html: Fix broken link.
  2385. 2002-05-04 Benjamin Kosnik <bkoz@redhat.com>
  2386. Paolo Carlini <pcarlini@unitus.it>
  2387. * testsuite/22_locale/num_put_members_char.cc: Add test04(),
  2388. testing for the locale_facets.tcc entry of the previous commit.
  2389. * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
  2390. 2002-05-04 Takeshi Kobayakawa <tskoba@mte.biglobe.ne.jp>
  2391. * config/locale/generic/c_locale.cc
  2392. (__convert_to_v(float, double, long double)):
  2393. Fix the temporary switch to the "C" locale, saving and
  2394. restoring in the proper way the current locale.
  2395. * config/locale/generic/time_members.cc
  2396. (__timepunct<char, wchar_t>::_M_put): Likewise.
  2397. * config/locale/gnu/messages_members.cc
  2398. (messages<char>::do_get): Likewise.
  2399. * config/locale/gnu/messages_members.h
  2400. (messages<_CharT>::do_get): Likewise.
  2401. * config/locale/gnu/time_members.cc
  2402. (__timepunct<char, wchar_t>::_M_put): Likewise.
  2403. * include/bits/locale_facets.tcc (__convert_from_v): Likewise.
  2404. 2002-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  2405. * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
  2406. * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
  2407. * Makefile.in, config.h.in, configure: Regenerate.
  2408. 2002-05-03 Benjamin Kosnik <bkoz@redhat.com>
  2409. PR libstdc++/6549.
  2410. * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
  2411. * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
  2412. 2002-05-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  2413. * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
  2414. Return __ctype + 1.
  2415. (ctype:_M_table): Initialize to classic_table(), not __ctype.
  2416. 2002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  2417. * configure.in: Update local install.html, configopts.html paths.
  2418. * configure: Regenerate.
  2419. 2002-05-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  2420. * config/os/irix/irix5.2/bits/os_defines.h
  2421. (__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
  2422. * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
  2423. char.
  2424. 2002-05-02 Phil Edwards <pme@gcc.gnu.org>
  2425. * docs/html/faq/index.html: Update list in #4.1.
  2426. * docs/html/faq/index.txt: Regenerated.
  2427. 2002-05-02 Benjamin Kosnik <bkoz@redhat.com>
  2428. * docs/html/17_intro/RELEASE-NOTES (New): Update.
  2429. 2002-05-01 Phil Edwards <pme@gcc.gnu.org>
  2430. * include/std/std_bitset.h: Fix doxygen comments.
  2431. * docs/html/documentation.html: Minor tweaks for 3.1.
  2432. * docs/html/27_io/howto.html: Likewise.
  2433. * docs/html/ext/howto.html: Likewise, mention stdio_filebuf.
  2434. * docs/html/faq/index.html: Likewise.
  2435. * docs/html/faq/index.txt: Regenerated.
  2436. 2002-05-01 Benjamin Kosnik <bkoz@redhat.com>
  2437. PR libstdc++/6533
  2438. * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
  2439. (istreambuf_iterator::equal): Use it.
  2440. (istreambuf_iterator::operator*): Use it.
  2441. 2002-05-01 Paolo Carlini <pcarlini@unitus.it>
  2442. PR libstdc++/6513
  2443. * include/bits/stl_uninitialized.h
  2444. (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
  2445. Fix typo in 2001-07-17 commit: typedef _ValueType to
  2446. iterator_traits<_ForwardIter> not <_InputIter>.
  2447. * testsuite/23_containers/vector_ctor.cc: Add test04.
  2448. 2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
  2449. PR libstdc++/6501
  2450. * include/c_std/std_cctype.h: Include bits/c++config.h.
  2451. * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
  2452. 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
  2453. * include/ext/stdio_filebuf.h: New file.
  2454. * include/ext/enc_filebuf.h: New file.
  2455. * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
  2456. * config/io/basic_file_stdio.cc: Same.
  2457. * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
  2458. Remove _M_unbuf hacks.
  2459. (filebuf::_M_destroy_internal_buffer): Same.
  2460. (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
  2461. (filebuf::fd): Remove.
  2462. * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
  2463. (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
  2464. (filebuf::fd): Remove.
  2465. * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
  2466. filebufs.
  2467. (ios_base::_S_ios_destroy): Same.
  2468. * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
  2469. * include/Makefile.am (ext_headers): Add ext_filebuf.h,
  2470. stdio_filebuf.h. * include/Makefile.in: Regenerate.
  2471. 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
  2472. PR libstdc++/6511
  2473. * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
  2474. 2002-04-29 Benjamin Kosnik <bkoz@redhat.com>
  2475. PR libstdc++/5820
  2476. * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
  2477. Check for eof.
  2478. * include/bits/streambuf_iterator.h: Match stream_iterator.h.
  2479. (istreambuf_iterator::operator++): Invalidate on eof.
  2480. (istreambuf_iterator::operator++(int)): Same.
  2481. (istreambuf_iterator::operator*): Same.
  2482. 2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  2483. * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
  2484. of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
  2485. LD_LIBRARY64_PATH.
  2486. 2002-04-28 Benjamin Kosnik <bkoz@redhat.com>
  2487. PR libstdc++/5820
  2488. * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
  2489. (__basic_file::sys_ungetc): Take int.
  2490. * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
  2491. * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
  2492. Use sys_getc for unbuffered input.
  2493. * testsuite/27_io/narrow_stream_objects.cc (test06): New.
  2494. * src/ios.cc (_M_grow_words): Adjust error checking.
  2495. * testsuite/27_io/ios_base_storage.cc: Same.
  2496. 2002-04-28 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
  2497. * include/ext/stl_hashtable.h: Import __iterator_category
  2498. 2002-04-28 Paolo Carlini <pcarlini@unitus.it>
  2499. Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
  2500. * testsuite/ext/hash_set.cc: New testfile.
  2501. 2002-04-27 Benjamin Kosnik <bkoz@redhat.com>
  2502. * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
  2503. _G_USING_THUNKS.
  2504. * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
  2505. * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
  2506. 2002-04-26 Paolo Carlini <pcarlini@unitus.it>
  2507. * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
  2508. Fix and tighten __throw_length_error check.
  2509. * testsuite/21_strings/replace.cc (test05): New.
  2510. * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
  2511. 2002-04-23 Loren J. Rittle <ljrittle@acm.org>
  2512. * include/std/std_fstream.h (basic_filebuf::sync): Hoist
  2513. unconditional flush on lower-layer handle to here...
  2514. * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
  2515. ...from here. Optimize remaining _M_file.sync() call pattern.
  2516. * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
  2517. (test05): Likewise.
  2518. 2002-04-23 Jason Merrill <jason@redhat.com>
  2519. * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
  2520. output-only filebufs.
  2521. * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
  2522. Likewise.
  2523. (basic_filebuf::_M_set_determinate): Likewise.
  2524. PR libstdc++/6414
  2525. * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
  2526. value properly in the trivial case.
  2527. * testsuite/27_io/istream_seeks.cc (test04): Make sure that
  2528. tellg() returns the right value after a read.
  2529. 2002-04-23 Hans-Peter Nilsson <hp@bitrange.com>
  2530. * config/cpu/mmix/bits/cpu_limits.h: New file.
  2531. * configure.target (CPULIMITSH): Use it.
  2532. 2002-04-22 Loren J. Rittle <ljrittle@acm.org>
  2533. * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
  2534. * docs/html/17_intro/porting.html: Rebuilt.
  2535. 2002-04-20 Jason Merrill <jason@redhat.com>
  2536. PR libstdc++/4150
  2537. * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
  2538. Move to filebuf.
  2539. (basic_streambuf::_M_set_determinate): Likewise.
  2540. (basic_streambuf::_M_is_indeterminate): Likewise.
  2541. * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
  2542. non-static data member.
  2543. (basic_filebuf::_M_underflow_common): New non-static member function.
  2544. (basic_filebuf::_M_underflow, _M_uflow): Call it.
  2545. (basic_filebuf::sync): Avoid useless seeking.
  2546. (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
  2547. Set _M_filepos.
  2548. (basic_filebuf::_M_set_determinate): Likewise.
  2549. (basic_filebuf::_M_is_indeterminate): Likewise.
  2550. * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
  2551. back to _M_out_beg if necessary.
  2552. (basic_filebuf::seekoff): Likewise.
  2553. (basic_filebuf::_M_underflow_common): Generalization of old
  2554. underflow(). Don't seek back to _M_in_beg.
  2555. * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
  2556. * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
  2557. * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
  2558. * config/os/mingw32/bits/os_defines.h: Likewise.
  2559. * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
  2560. ungetc test.
  2561. 2002-04-22 Benjamin Kosnik <bkoz@redhat.com>
  2562. * include/bits/istream.tcc (istream::read): Fix.
  2563. * testsuite/27_io/istream_unformatted.cc (main): Add.
  2564. 2002-04-20 Benjamin Kosnik <bkoz@redhat.com>
  2565. PR libstdc++/6360
  2566. * include/bits/istream.tcc (istream::ignore): Streamline, use
  2567. delimiter as is.
  2568. * include/bits/streambuf.tcc: Use this->gptr.
  2569. * testsuite/27_io/istream_unformatted.cc (test08): Add test.
  2570. 2002-04-18 Benjamin Kosnik <bkoz@redhat.com>
  2571. * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
  2572. as type safety is important, especially on solaris.
  2573. * include/bits/istream.tcc (istream::read): Clean.
  2574. (istream::readsome): Same.
  2575. * locale.cc: Wrap lines.
  2576. * testsuite/21_strings/inserters_extractors.cc: Tweaks.
  2577. * testsuite/27_io/instantiations.cc (test): Add bool variable...
  2578. * testsuite/21_strings/capacity.cc: Clean.
  2579. 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
  2580. * docs/doxygen/doxygroups.cc: New group on binary searching.
  2581. * include/bits/stl_algo.h: Document binary searches and merges.
  2582. * include/bits/stl_deque.h: The 'map' member is not the 'map' class.
  2583. 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
  2584. * docs/doxygen/mainpage.html: Doxygen logo is now a PNG file.
  2585. * docs/doxygen/run_doxygen: Bump required version.
  2586. * docs/doxygen/user.cfg.in: Revert accidental change.
  2587. * docs/html/faq/index.html: Reindent a block of links.
  2588. (4.4): New note on using dlsym.
  2589. * docs/html/faq/index.txt: Regenerated.
  2590. 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
  2591. * testsuite_flags.in (cxxflags): Also pass @EXTRA_CXX_FLAGS@.
  2592. 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
  2593. * config/linker-map.gnu (__malloc_alloc_template): Add.
  2594. (__default_alloc_template): Same.
  2595. * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
  2596. template.
  2597. (__default_alloc_template): Same.
  2598. 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
  2599. * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
  2600. 2002-04-16 Benjamin Kosnik <bkoz@redhat.com>
  2601. * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
  2602. * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
  2603. (__malloc_alloc_template): Conditionalize.
  2604. * include/bits/istream.tcc: Remove sputbackc calls.
  2605. * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
  2606. 2002-04-16 Paolo Carlini <pcarlini@unitus.it>
  2607. * testsuite/24_iterators/rel_ops.cc: New test.
  2608. 2002-04-16 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
  2609. * include/bits/type_traits.h (__normal_iterator): Declare in
  2610. __gnu_cxx. Adjust use at global namespace.
  2611. * include/bits/stl_iterator.h (__normal_iterator): Move definition
  2612. into __gnu_cxx::. Add more operator overloads. Tidy existing ones.
  2613. * include/bits/basic_string.h (basic_string): Adjust use of
  2614. __normal_iterator.
  2615. * include/bits/stl_vector.h (_Alloc>): Likewise.
  2616. * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
  2617. * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
  2618. 2002-04-15 Benjamin Kosnik <bkoz@redhat.com>
  2619. PR libstdc++/4164
  2620. Valgrind fixes.
  2621. * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
  2622. Call close.
  2623. (__basic_file::close): Call fflush. Correct return if fclose ok.
  2624. (__basic_file::is_open): Make const.
  2625. Change __c_file_type to __c_file.
  2626. * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
  2627. (__basic_file::is_open): Make const.
  2628. * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
  2629. * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
  2630. (filebuf::_M_unbuf): Add.
  2631. (filebuf::_M_file): Change to non-pointer.
  2632. (filebuf::_M_allocate_pback_buffer): Remove.
  2633. * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
  2634. (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
  2635. Change initialization list for _M_file change.
  2636. (filebuf::_M_allocate_pback_buffer): Remove.
  2637. Change _M_file usage to reflect non-pointer data member.
  2638. * config/locale/generic/c_locale.cc
  2639. (locale::facet::_S_create_c_locale): Add parameter.
  2640. * config/locale/generic/collate_members.cc: Change
  2641. _M_compare_helper to _M_compare.
  2642. Change _M_transform_helper to _M_transform.
  2643. * config/locale/generic/monetary_members.cc: Changeup data types.
  2644. Add dtors.
  2645. * config/locale/generic/numeric_members.cc: Add dtors.
  2646. * config/locale/generic/time_members.cc: Add dtors.
  2647. * config/locale/gnu/c_locale.cc: Add parameter.
  2648. * config/locale/gnu/collate_members.cc:Change
  2649. _M_compare_helper to _M_compare.
  2650. Change _M_transform_helper to _M_transform.
  2651. * config/locale/gnu/ctype_members.cc: Better error checking.
  2652. * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
  2653. * config/locale/gnu/messages_members.cc: Tweak comment.
  2654. * config/locale/gnu/monetary_members.cc: Change data types.
  2655. Add dtors.
  2656. * config/locale/gnu/numeric_members.cc: Add dtors, better error
  2657. checking.
  2658. * config/locale/gnu/time_members.cc: Same.
  2659. * config/locale/ieee_1003.1-2001/c_locale.cc
  2660. (locale::facet::_S_create_c_locale): Add parameter.
  2661. * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
  2662. * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
  2663. bogus ctor.
  2664. * include/bits/locale_facets.h (moneypunct): Use string literals.
  2665. Don't define dtor.
  2666. (numpunct): Same.
  2667. (__timepunct): Same.
  2668. (locale::_Impl::_M_facets): Change from vector to array.
  2669. (locale::_Impl::_M_names): Change from array of strings to array
  2670. of string literals.
  2671. (locale::facet::_S_create_c_locale): Add parameter.
  2672. (locale::locale::_S_num_facets): Move to...
  2673. (locale::_Impl::_M_facets_size): Here.
  2674. * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
  2675. changes.
  2676. * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
  2677. (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
  2678. (locale::_Impl::_Impl(string, size_t)): Change to
  2679. (locale::_Impl::_Impl(const char*, size_t)): This.
  2680. * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
  2681. * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
  2682. (streambuf::_S_pback_size): This.
  2683. * src/globals.cc: Add pre-allocations for "C" facets.
  2684. * src/locale-inst.cc: Remove vector instantiations.
  2685. * src/locale.cc: Remove vector include. Fixups for _M_names,
  2686. _M_facets changes.
  2687. * src/localename.cc: Same.
  2688. * include/bits/stl_vector.h: Fix odd formatting.
  2689. * include/bits/basic_string.tcc: Tweak comment.
  2690. * libsupc++/new: Make sure parameters are uglified.
  2691. * libsupc++/typeinfo: Same.
  2692. * testsuite/22_locale/num_get_members_char.cc: Fixup.
  2693. * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
  2694. * testsuite/27_io/filebuf_members.cc: Same.
  2695. 2002-04-12 Steve Ellcey <sje@cup.hp.com>
  2696. * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
  2697. (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
  2698. does not define strtoll or strtoull, but does define strtol
  2699. and strtoul which are the same since in 64 bit mode
  2700. sizeof(long) == sizeof(long long).
  2701. 2002-04-12 Phil Edwards <pme@gcc.gnu.org>
  2702. * include/std/std_bitset.h: Doxygenate std::bitset<>. Clean up
  2703. trailing spaces, indentation, and macro names. Make exception
  2704. messages more informative.
  2705. 2002-04-11 Richard Henderson <rth@redhat.com>
  2706. * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
  2707. * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
  2708. (basic_ostream<>::operator<<(long long)): Same.
  2709. 2002-04-11 Richard Henderson <rth@redhat.com>
  2710. * config/linker-map.gnu: Add __gxx_personality_sj0.
  2711. 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
  2712. libstdc++/1072
  2713. * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
  2714. pointer to vector.
  2715. Remove forward declaration of vector.
  2716. Include vector.
  2717. * include/bits/locale_facets.tcc: Remove vector include.
  2718. (use_locale): Adjust.
  2719. (has_locale): Adjust.
  2720. * src/locale.cc: Adjust.
  2721. * src/localename.cc: Same.
  2722. 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
  2723. Richard Henderson <rth@redhat.com>
  2724. * include/bits/sstream.tcc: Clean up bit ops.
  2725. * include/bits/fstream.tcc: Same.
  2726. 2002-04-09 Jakub Jelinek <jakub@redhat.com>
  2727. * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
  2728. (__num_base::_S_scale_oct): Remove.
  2729. * src/locale.cc (__num_base::_S_scale_hex): Remove.
  2730. (__num_base::_S_scale_oct): Remove.
  2731. 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
  2732. libstdc++/6124
  2733. * testsuite/23_containers/bitset_members.cc: New test.
  2734. * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
  2735. (_S_bit_count): Here.
  2736. (_First_one::_S_first_one): Move...
  2737. (_S_first_one): Here.
  2738. Format.
  2739. * src/bitset.cc: Adjust.
  2740. * config/linker-map.gnu: Export.
  2741. 2002-04-08 Benjamin Kosnik <bkoz@redhat.com>
  2742. libstdc++/5180
  2743. * include/bits/fstream.tcc (filebuf::seekpos): Fix.
  2744. * include/std/std_fstream.h: Clean.
  2745. * include/bits/ostream.tcc: Remove extraneous variables.
  2746. * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
  2747. open modes and which modes.
  2748. (stringbuf::seekpos): Same.
  2749. * testsuite/27_io/stringbuf_virtuals.cc: New tests.
  2750. 2002-04-05 Jonathan Wakely <jw@kayari.org>
  2751. * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
  2752. random_shuffle, partition, stable_partition, sort, stable_sort,
  2753. partial_sort, partial_sort_copy, nth_element): Doxygenate.
  2754. 2002-04-05 David S. Miller <davem@redhat.com>
  2755. * config/os/gnu-linux/bits/os_defines.h
  2756. (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
  2757. 2002-04-04 Benjamin Kosnik <bkoz@redhat.com>
  2758. libstdc++/3457
  2759. via gawrilow@math.tu-berlin.de
  2760. * acinclude.m4 (version_specific_libs): Fix combo usage with
  2761. --with-gxx-include-dir.
  2762. * aclocal.m4: Regenerate.
  2763. * configure: Same.
  2764. 2002-04-03 Benjamin Kosnik <bkoz@redhat.com>
  2765. As per DR 184, libstdc++/3139
  2766. * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
  2767. (numeric_limits<bool>::is_iec559): False.
  2768. (numeric_limits<bool>::is_modulo): False.
  2769. * testsuite/27_io/ios_init.cc: Add instantiations.
  2770. 2002-04-02 Benjamin Kosnik <bkoz@redhat.com>
  2771. libstdc++/5268
  2772. * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
  2773. * testsuite/27_io/ios_init.cc (tests04): Add test.
  2774. libstdc++/3983
  2775. * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
  2776. (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
  2777. * include/bits/basic_ios.tcc: Same. Remove outdated comments.
  2778. * include/bits/istream.tcc: Use _M_fctype, make consistent with
  2779. ostream.
  2780. * testsuite/27_io/ios_init.cc (tests03): Add test.
  2781. 2002-04-02 Phil Edwards <pme@gcc.gnu.org>
  2782. * include/Makefile.am (install-data-local): Use mkinstalldirs.
  2783. * include/Makefile.in: Regenerate.
  2784. 2002-04-02 Paolo Carlini <pcarlini@unitus.it>
  2785. Nathan Myers <ncm@cantrip.org>
  2786. Philip Martin <philip@codematters.co.uk>
  2787. * include/bits/basic_string.h
  2788. (replace(i1, i2, _CharT* k1, _CharT* k2),
  2789. replace(i2, i2, const _CharT* k1, const _CharT* k2),
  2790. replace(i1, i2, iterator k1, iterator k2,
  2791. replace(i1, i2, const_iterator k1, const_iterator k2):
  2792. New specializations to optimize for the common cases of
  2793. pointers and iterators.
  2794. (replace(pos, n1, s, n2)): Tweak.
  2795. * include/bits/basic_string.tcc: Tweak comments.
  2796. * testsuite/21_strings/replace.cc (test04): New tests.
  2797. 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
  2798. libstdc++/5542
  2799. * acinclude: More extensive checks for msgfmt, --enable-nls.
  2800. * aclocal.m4: Regenerate.
  2801. * configure: Regenerate.
  2802. 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
  2803. * libsupc++/exception (__verbose_terminate_handler): Point to docs.
  2804. * docs/doxygen/doxygroups.cc: Doxygen hooks for abi::__cxa_demangle.
  2805. * docs/html/18_support/howto.html: Document the demangler.
  2806. * docs/html/17_intro/howto.html: And link to it.
  2807. * docs/doxygen/mainpage.html: Describe user-vs-maintainer docs.
  2808. * docs/doxygen/run_doxygen: Print user-vs-maintainer.
  2809. 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
  2810. * config/linker-map.gnu: Export __verbose_terminate_handler.
  2811. * libsupc++/Makefile.am (sources): Add cxa_demangle.c, dyn-string.c.
  2812. Make new LTCOMPILE variable, use it in new special build rules.
  2813. * libsupc++/Makefile.in: Rebuild.
  2814. * src/vterminate.cc (__verbose_terminate_handler): Enable use of
  2815. runtime __cxa_demangle.
  2816. * docs/html/install.html: Update prereqs and instructions.
  2817. * docs/html/19_diagnostics/howto.html: Bring naming for
  2818. verbose_terminate_handler into line with reality.
  2819. 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
  2820. libstdc++/3129
  2821. * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
  2822. (basic_ios::_M_streambuf_state): Move.
  2823. * include/bits/ios_base (ios_base): To here.
  2824. * include/bits/ios_base.h (ios_base::_S_local_words): To
  2825. _S_local_word_size.
  2826. (ios_base::_M_word_array): To _M_local_word.
  2827. (ios_base::_M_words_limit): To _M_word_size.
  2828. (ios_base::_M_words): To _M_word.
  2829. Comment.
  2830. * include/bits/basic_ios.tcc: Adjust.
  2831. * src/ios.cc (ios_base::_M_grow_words): Tweak.
  2832. * testsuite/27_io/ios_base_storage.cc: Add tests.
  2833. libstdc++/5207
  2834. Kenny Simpson <theonetruekenny@yahoo.com>
  2835. * include/bits/ios_base.h: Fix.
  2836. Richard Henderson <rth@redhat.com>
  2837. * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
  2838. last change.
  2839. * include/bits/basic_string.h: Tweak formatting.
  2840. 2002-04-01 Paolo Carlini <pcarlini@unitus.it>
  2841. * config/locale/ieee_1003.1-2001/codecvt_specializations.h
  2842. (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
  2843. By definition, sizeof(char) == 1.
  2844. * include/bits/locale_facets.tcc (money_get::do_get,
  2845. money_put::do_put): Ditto.
  2846. * testsuite/21_strings/inserters_extractors.cc
  2847. (test04): Ditto.
  2848. 2002-03-30 Richard Henderson <rth@redhat.com>
  2849. PR c++/3719
  2850. * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
  2851. data out of the exception struct before calling unexpectedHandler.
  2852. 2002-03-28 Roger Sayle <roger@eyesopen.com>
  2853. * include/c_std/std_cmath.h: To prevent problems overloading
  2854. g++ builtins, use the double variants from the global namespace
  2855. before defining float and long double variants in std::.
  2856. 2002-03-28 Loren J. Rittle <ljrittle@acm.org>
  2857. * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
  2858. 2002-03-28 Paolo Carlini <pcarlini@unitus.it>
  2859. * testsuite/24_iterators/istream_iterator.cc
  2860. (test02): New tests.
  2861. 2002-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
  2862. Paolo Carlini <pcarlini@unitus.it>
  2863. * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
  2864. (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
  2865. fix i_lit_base e_lit_base arrays, making them independent
  2866. from the endianness of the platform; tweak UCS4 to UCS-4BE.
  2867. 2002-03-27 Benjamin Kosnik <bkoz@redhat.com>
  2868. * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
  2869. allocate at least a byte.
  2870. * testsuite/18_support/numeric_limits.cc (test_extrema): Make
  2871. debugger-friendly.
  2872. * testsuite/27_io/streambuf.cc (test07): Fix.
  2873. (test06): Enable.
  2874. 2002-03-27 Phil Edwards <pme@gcc.gnu.org>
  2875. * docs/doxygen/Intro.3: Date tweak.
  2876. * docs/doxygen/TODO: Update.
  2877. * docs/doxygen/doxygroups.cc: Point to tables.html.
  2878. * docs/doxygen/mainpage.html: Date tweak.
  2879. * docs/doxygen/run_doxygen: Version tweak. Copy tables.html over.
  2880. * docs/doxygen/tables.html: Fill in the blanks.
  2881. * docs/doxygen/user.cfg.in (ALIASES): Remove maint and endmaint.
  2882. * include/bits/stl_algo.h: Likewise; use expanded form.
  2883. * include/bits/stl_alloc.h: Likewise.
  2884. * include/bits/stl_construct.h: Likewise.
  2885. * include/bits/stl_deque.h: Likewise.
  2886. * include/bits/stl_iterator_base_types.h: Likewise.
  2887. * include/bits/stl_list.h: Likewise.
  2888. * include/bits/stl_relops.h: Likewise.
  2889. * include/bits/stl_tempbuf.h: Likewise.
  2890. * include/bits/stl_vector.h: Likewise.
  2891. * include/std/std_memory.h: Likewise.
  2892. * include/bits/stl_deque.h: Point into tables.html and add @ingroup.
  2893. * include/bits/stl_list.h: Likewise.
  2894. * include/bits/stl_vector.h: Likewise.
  2895. 2002-03-26 Benjamin Kosnik <bkoz@redhat.com>
  2896. * include/c/: Guard with _CPP_.
  2897. * include/c_std/: Same.
  2898. * include/Makefile.am: Fixup install, link routines for null
  2899. c_base_headers_extra scenarios.
  2900. * include/Makefile.in: Regerate.
  2901. 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
  2902. Richard Henderson <rth@redhat.com>
  2903. * testsuite/22_locale/codecvt_members_unicode_char.cc
  2904. (test01, test02): make sure that the i_lit_base array
  2905. is sufficiently aligned.
  2906. 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
  2907. * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
  2908. _ctype_.
  2909. 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
  2910. * testsuite/22_locale/collate_byname.cc
  2911. (test01): compare the result of collate::compare with
  2912. that of collate::transform + string::compare, not with
  2913. that of collate::transform + collate::compare; values
  2914. returned by collate::compare are normalized, therefore
  2915. test against +-1.
  2916. 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
  2917. Jakub Jelinek <jakub@redhat.com>
  2918. * config/locale/gnu/messages_members.h: Correct conditional.
  2919. * config/locale/gnu/messages_members.cc: Same.
  2920. * config/locale/gnu/time_members.cc: Same.
  2921. 2002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
  2922. Paolo Carlini <pcarlini@unitus.it>
  2923. * testsuite/22_locale/codecvt_members_unicode_char.cc
  2924. (test01, test02): Fix i_lit_base arrays, making them
  2925. independent from the endianness of the platform.
  2926. 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
  2927. * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
  2928. signbit and __signbit directly.
  2929. * aclocal.m4: Regenerate.
  2930. * configure: Regenerate.
  2931. * config.h.in: Regenerate.
  2932. * libmath/Makefile.am: Simplify.
  2933. * libmath/Makefile.in: Regenerate.
  2934. * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
  2935. * include/Makefile.am: Clean up handling of extra "C" header files.
  2936. Add hooks for "C" compatibility headers.
  2937. * include/Makefile.in: Regenerate.
  2938. * include/c/*: Formatting tweaks, cleanups.
  2939. * include/c_std/*: Same.
  2940. 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
  2941. * config/locale/gnu/messages_members.h: Add __uselocale bits.
  2942. * config/locale/gnu/messages_members.cc: Same.
  2943. * config/locale/gnu/time_members.cc: Same.
  2944. 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
  2945. * src/vterminate.cc: Format, -fno-exceptions cleanup.
  2946. 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  2947. * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
  2948. (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
  2949. * aclocal.m4: Regenerate.
  2950. * configure: Likewise.
  2951. 2002-03-19 Paolo Carlini <pcarlini@unitus.it>
  2952. Ulrich Drepper <drepper@redhat.com>
  2953. * src/locale-inst.cc (__convert_from_v): Add an additional
  2954. __size parameter in the declarations.
  2955. * include/bits/locale_facets.tcc
  2956. (__convert_from_v): When available (that is,
  2957. _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
  2958. (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
  2959. being defined or not, call and use __convert_from_v in the
  2960. appropriate way.
  2961. (num_put::_M_convert_int): Same here.
  2962. (money_put::do_put(long double)): Same here.
  2963. 2002-03-19 Phil Edwards <pme@gcc.gnu.org>
  2964. * docs/html/faq/index.html (#3.6): Rewrap and close <a href> tags.
  2965. * docs/html/faq/index.txt: Regenerate.
  2966. 2002-03-19 Steve Ellcey <sje@cup.hp.com>
  2967. * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
  2968. GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
  2969. --enable-libunwind-exceptions is set.
  2970. * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
  2971. macro to check for libunwind.
  2972. * configure: Regenerate.
  2973. * src/Makefile.am (libstdc___la_LDFLAGS): Add
  2974. LIBUNWIND_FLAG to libstdc link line.
  2975. * src/Makefile.in: Regenerate.
  2976. 2002-03-19 Benjamin Kosnik <bkoz@redhat.com>
  2977. * docs/html/faq/index.html: Add OS X workaround.
  2978. * docs/html/17_intro/TODO: Update.
  2979. 2002-03-18 Paolo Carlini <pcarlini@unitus.it>
  2980. * include/bits/locale_facets.tcc
  2981. (money_put::do_put(long double)): Fix dimensioning of
  2982. temporary buffers to avoid risk of overruns.
  2983. (money_put::do_put(string)): Same for the buffer used to
  2984. add the grouping chars.
  2985. * testsuite/22_locale/money_put_members_char.cc: Add test06.
  2986. * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
  2987. * include/bits/locale_facets.tcc
  2988. (collate::do_transform): Simplify.
  2989. 2002-03-18 Phil Edwards <pme@gcc.gnu.org>
  2990. * acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform.
  2991. * configure.in: Add comments pointing the way for autoconf 2.5x.
  2992. * aclocal.m4, config.h.in, configure: Regenerate.
  2993. 2002-03-18 Philipp Thomas <pthomas@suse.de>
  2994. * include/backward/hash_map.h: hash, hashtable, hash_map and
  2995. hash_multimap are in namespace __gnu_cxx.
  2996. include/backward/hash_set.h: hash, hashtable, hash_set and
  2997. hash_multiset are in namespace __gnu_cxx.
  2998. include/backward/hashtable.h: hash and hashtable are in
  2999. namespace __gnu_cxx.
  3000. include/backward/rope.h: char_producer, sequence_buffer,
  3001. rope, crope and wrope are in namespace __gnu_cxx.
  3002. include/backward/slist.h: slist is in namespace __gnu_cxx.
  3003. * testsuite/backward/header_hash_map_h.cc
  3004. testsuite/backward/header_hash_set_h.cc
  3005. testsuite/backward/header_hashtable_h.cc
  3006. testsuite/backward/header_rope_h.cc
  3007. testsuite/backward/header_slist_h.cc
  3008. testsuite/backward/header_tempbuf_h.cc: New tests for
  3009. checking that we're using the correct namespace.
  3010. 2002-03-17 Jason Merrill <jason@redhat.com>
  3011. PR c++/4381
  3012. * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
  3013. (check_exception_spec): Call it. Take the thrown pointer.
  3014. (__cxa_call_unexpected): Pass it.
  3015. (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr.
  3016. 2002-03-15 Anthony Green <green@redhat.com>
  3017. * configure.in: Remove useless is_mingw32.
  3018. * configure: Rebuilt.
  3019. 2002-03-15 Paolo Carlini <pcarlini@unitus.it>
  3020. * testsuite/22_locale/collate_members_char.cc
  3021. (test01): compare the result of collate::compare with
  3022. that of collate::transform + string::compare, not with
  3023. that of collate::transform + collate::compare.
  3024. (test01): values returned by collate::compare are
  3025. normalized, therefore test against +-1.
  3026. * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
  3027. 2002-03-12 Loren Rittle <ljrittle@acm.org>
  3028. reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
  3029. * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
  3030. 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
  3031. Per Liboriussen <liborius@stofanet.dk>
  3032. * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
  3033. unsigned char.
  3034. * config/os/gnu-linux/bits/ctype_inline.h: Same.
  3035. * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
  3036. * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
  3037. * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
  3038. * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
  3039. * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
  3040. * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
  3041. * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
  3042. * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
  3043. 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
  3044. * include/bits/basic_string.tcc (string::_S_construct(_InIter,
  3045. _InIter, const _Alloc&, forward_iterator_tag): Check for null.
  3046. (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
  3047. * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
  3048. that memory limits are in place.
  3049. (test03): Add tests.
  3050. 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
  3051. * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
  3052. * aclocal.m4: Regenerate.
  3053. * config.h.in: Regenerate.
  3054. * configure: Regenerate.
  3055. * include/c_std/std_cwctype.h: Guard.
  3056. 2002-03-11 Chris Demetriou <cgd@broadcom.com>
  3057. * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
  3058. whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
  3059. * aclocal.m4: Regenerate.
  3060. * configure: Regenerate.
  3061. 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
  3062. * include/bits/stl_bvector.h: Fix warning.
  3063. 2002-03-11 Richard Henderson <rth@redhat.com>
  3064. * include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
  3065. 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
  3066. * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
  3067. New function. Build the list of tests to run in testsuite_files.
  3068. * testsuite/libstdc++-v3.dg/dg.exp: Use it.
  3069. 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
  3070. * testsuite/21_strings/capacity.cc: Only explicitly instantiate on
  3071. platforms with no weak support.
  3072. * testsuite/27_io/ios_init.cc: Likewise.
  3073. 2002-03-10 Paolo Carlini <pcarlini@unitus.it>
  3074. * include/bits/locale_facets.tcc (time_put::do_put):
  3075. Consider sizeof(char_type) in allocating the buffer.
  3076. * include/bits/locale_facets.tcc (collate::do_tranform):
  3077. Remove redundant variable.
  3078. 2002-03-10 Ulrich Drepper <drepper@redhat.com>
  3079. Paolo Carlini <pcarlini@unitus.it>
  3080. * config/locale/generic/collate_members.cc
  3081. (collate<char,wchar_t>::_M_compare_helper): normalize
  3082. values returned by strcoll and wcscoll.
  3083. * config/locale/gnu/collate_members.cc
  3084. (collate<char,wchar_t>::_M_compare_helper): ditto
  3085. for __strcoll_l and __wcscoll_l.
  3086. 2002-03-10 Anthony Green <green@redhat.com>
  3087. * configure.in: Support cross builds to mingw32 target.
  3088. * configure: Rebuilt.
  3089. 2002-03-09 Paolo Carlini <pcarlini@unitus.it>
  3090. * include/bits/locale_facets.tcc (collate::do_transform):
  3091. Rewrite to fix problems with long transformed strings.
  3092. 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
  3093. * c_locale_generic.cc: Move to...
  3094. * generic/c_locale.cc
  3095. * c_locale_generic.h: Move to...
  3096. * generic/c_locale.h
  3097. * codecvt_specializations_generic.h: Move to...
  3098. * generic/codecvt_specializations.h
  3099. * collate_members_generic.cc: Move to...
  3100. * generic/collate_members.cc
  3101. * ctype_members_generic.cc: Move to...
  3102. * generic/ctype_members.cc
  3103. * messages_members_generic.cc: Move to...
  3104. * generic/messages_members.cc
  3105. * messages_members_generic.h: Move to...
  3106. * generic/messages_members.h
  3107. * moneypunct_members_generic.cc: Move to...
  3108. * generic/monetary_members.cc
  3109. * numpunct_members_generic.cc: Move to...
  3110. * generic/numeric_members.cc
  3111. * time_members_generic.cc: Move to...
  3112. * generic/time_members.cc
  3113. * c_locale_gnu.cc: Move to...
  3114. * gnu/c_locale.cc
  3115. * c_locale_gnu.h: Move to...
  3116. * gnu/c_locale.h
  3117. * collate_members_gnu.cc: Move to...
  3118. * gnu/collate_members.cc
  3119. * ctype_members_gnu.cc: Move to...
  3120. * gnu/ctype_members.cc
  3121. * messages_members_gnu.cc: Move to...
  3122. * gnu/messages_members.cc
  3123. * messages_members_gnu.h: Move to...
  3124. * gnu/messages_members.h
  3125. * moneypunct_members_gnu.cc: Move to...
  3126. * gnu/monetary_members.cc
  3127. * numpunct_members_gnu.cc: Move to...
  3128. * gnu/numeric_members.cc
  3129. * time_members_gnu.cc: Move to...
  3130. * gnu/time_members.cc
  3131. * c_locale_ieee_1003.1-200x.cc: Move to...
  3132. * ieee_1003.1-2001/c_locale.cc
  3133. * c_locale_ieee_1003.1-200x.h: Move to...
  3134. * ieee_1003.1-2001/c_locale.h
  3135. * codecvt_specializations_ieee_1003.1-200x.h: Move to...
  3136. * ieee_1003.1-2001/codecvt_specializations.h
  3137. * messages_members_ieee_1003.1-200x.cc: Move to...
  3138. * ieee_1003.1-2001/messages_members.cc
  3139. * messages_members_ieee_1003.1-200x.h: Move to...
  3140. * ieee_1003.1-2001/messages_members.h
  3141. * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
  3142. * aclocal.m4: Regenerate.
  3143. * configure: Regenerate.
  3144. * src/Makefile.am (sources): Change to monetary and numeric.
  3145. * src/Makefile.in: Regenerate.
  3146. * docs/html/configopts.html: Update to ieee_1003.1-2001.
  3147. 2002-03-08 scott snyder <snyder@fnal.gov>
  3148. libstdc++/5875
  3149. * include/bits/locale_facets.tcc (num_put::_M_convert_float):
  3150. Allow one more digit of precision.
  3151. * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
  3152. write a double and read back in the same value.
  3153. 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
  3154. * include/std/std_limits.h: Move static const data members out of
  3155. generic template, into base class __numeric_limits_base.
  3156. * src/limits.cc: Add definitions.
  3157. * config/linker-map.gnu: Add __numeric_limits_base.
  3158. * testsuite/18_support/numeric_limits.cc: Declare test in scope.
  3159. 2002-03-07 Benjamin Kosnik <bkoz@redhat.com>
  3160. * include/bits/stl_alloc.h: Add extern implicit allocator
  3161. instantiations.
  3162. * include/bits/basic_string.tcc: Tweak.
  3163. * include/bits/locale_facets.tcc: Remove default args. Add
  3164. has_facet, use_facet extern instantiations.
  3165. * src/stl-inst.cc: Add explicit instantiation.
  3166. * src/locale-inst.cc: Clean. Remove locale member template
  3167. instantiations.
  3168. * testsuite/22_locale/operators.cc (test02): Enable.
  3169. 2002-03-06 Benjamin Kosnik <bkoz@redhat.com>
  3170. Stephen M. Webb <stephen.webb@bregmasoft.com>
  3171. * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
  3172. (_S_rb_tree_black): Make enum.
  3173. Clean. Format.
  3174. * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
  3175. * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
  3176. (__stl_threshold): _M_threshold, enum.
  3177. * src/stl-inst.cc: Same.
  3178. * config/linker-map.gnu: Remove.
  3179. * testsuite/23_containers/vector_bool.cc: New.
  3180. 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
  3181. * docs/doxygen/user.cfg.in: Also document deprecated entries.
  3182. * docs/html/Makefile: Example rule to rebuild porting-howto.html.
  3183. * docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when
  3184. referring to the collection as a whole. New section on which macros
  3185. can be redefined by the user.
  3186. * docs/html/19_diagnostics/howto.html: Update note for concepts.
  3187. * docs/html/20_util/howto.html: Update link to SGI.
  3188. * docs/html/faq/index.html: Update snapshot versions. New entry
  3189. on why g++ (but not gcc) must currently predefine certain macros.
  3190. * docs/html/faq/index.txt: Regenerated.
  3191. * include/bits/basic_string.h (basic_string::_S_construct): Fix
  3192. names in declaration.
  3193. (basic_string::compare): These are no longer optional.
  3194. * include/bits/ostream.tcc: Tweak closing brace placement.
  3195. * include/bits/stl_algo.h: Lots of initial doxygen comment hooks.
  3196. * include/std/std_sstream.h: Fix typo in comment.
  3197. * include/bits/locale_facets.tcc: Remove unneeded header inclusion.
  3198. * src/locale.cc: Likewise.
  3199. 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
  3200. PR libstdc++/5734
  3201. * include/bits/stl_vector.h (vector::push_back()): Guard with
  3202. _GLIBCPP_DEPRECATED.
  3203. 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
  3204. * include/bits/c++config: Fix misplaced leading blanks on first line.
  3205. 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
  3206. * docs/html/17_intro/RELEASE-NOTES: Fix usage.
  3207. * README (libmath): Make clear.
  3208. 2002-03-05 Jakub Jelinek <jakub@redhat.com>
  3209. * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
  3210. script globbing in ld.
  3211. * aclocal.m4: Rebuilt.
  3212. * configure: Rebuilt.
  3213. 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
  3214. * docs/html/17_intro/RELEASE-NOTES: Update.
  3215. * README: Format subdirectories.
  3216. 2002-03-05 Paolo Carlini <pcarlini@unitus.it>
  3217. libstdc++/5816
  3218. * include/bits/locale_facets.tcc
  3219. (num_get::_M_extract_float): Fix the parsing of __dec, since
  3220. the standard prescribes that if no grouping characters are
  3221. seen, no grouping check is applied.
  3222. * testsuite/22_locale/num_get_members_char.cc: Add test05
  3223. distilled from the PR.
  3224. * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
  3225. 2002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
  3226. * docs/html/17_intro/porting-howto.xml: Refer to
  3227. http://www.oasis-open.org for docbookx.dtd.
  3228. * docs/html/17_intro/porting-howto.html: Regenerated.
  3229. 2002-03-03 Phil Edwards <pme@gcc.gnu.org>
  3230. PR libstdc++/3955
  3231. * include/std/std_sstream.h: Remove trailing spaces.
  3232. (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
  3233. * testsuite/27_io/stringbuf.cc (test05, test06): New tests.
  3234. 2002-03-02 Paolo Carlini <pcarlini@unitus.it>
  3235. * testsuite/22_locale/num_get_members_char.cc (test04):
  3236. Use a named locale expecting grouping (de_DE).
  3237. * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
  3238. Ditto.
  3239. * testsuite/27_io/ios_manip_basefield.cc (test01):
  3240. Extend coverage, uniform treatment of hexs and octs.
  3241. 2002-02-28 Richard Henderson <rth@redhat.com>
  3242. * config/linker-map.gnu: Export operator new with unsigned long,
  3243. and with std::nothrow_t. Likewise operator delete.
  3244. 2002-02-28 Paolo Carlini <pcarlini@unitus.it>
  3245. * include/bits/locale_facets.tcc (num_get::_M_extract_int):
  3246. Admit grouping for octals and hexadecimals too.
  3247. * testsuite/22_locale/num_get_members_char.cc: Add test04.
  3248. (test01): Tweak "." -> "," in void* test.
  3249. * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
  3250. * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
  3251. * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
  3252. 2002-02-27 Paolo Carlini <pcarlini@unitus.it>
  3253. * testsuite/27_io/ios_manip_basefield.cc (test01):
  3254. Fix for 64 bit machines.
  3255. 2002-02-26 Benjamin Kosnik <bkoz@redhat.com>
  3256. libstdc++/3983
  3257. * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
  3258. Adjust comment.
  3259. * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
  3260. (basic_ios::_M_fill_init): New.
  3261. (basic_ios::fill()): Delay dealing with _M_fill.
  3262. Adjust comment.
  3263. * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
  3264. (ios_base::_M_call_callbacks): Adjust.
  3265. * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
  3266. 2002-02-26 Loren Rittle <ljrittle@acm.org>
  3267. * include/Makefile.am (thread_target_headers): Unconditionally
  3268. stage and install gthr-posix.h.
  3269. (${target_builddir}/gthr-posix.h): New rule cloned off
  3270. ${target_builddir}/gthr-default.h.
  3271. (${target_builddir}/gthr-default.h): Support chained inclusion
  3272. of gthr support headers.
  3273. * include/Makefile.in: Rebuilt.
  3274. 2002-02-26 Paolo Carlini <pcarlini@unitus.it>
  3275. * include/bits/locale_facets.tcc (num_put::_M_widen_int):
  3276. Group all the integral types, not only decs.
  3277. * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
  3278. tests, add a few more.
  3279. 2002-02-25 Benjamin Kosnik <bkoz@redhat.com>
  3280. * src/ios.cc (ios_base::~ios_base): Tweak.
  3281. (ios_base::_M_call_callbacks): Deal with null __p.
  3282. (ios_base::ios_base): Set _M_callbacks.
  3283. * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
  3284. * testsuite/27_io/ios_init.cc (test02): Fix.
  3285. * mkcheck.in (static_fail): Failed links go to output file.
  3286. 2002-02-25 Phil Edwards <pme@gcc.gnu.org>
  3287. * docs/html/faq/index.html: Update.
  3288. * docs/html/faq/index.txt: Regenerate.
  3289. 2002-02-22 Phil Edwards <pme@gcc.gnu.org>
  3290. * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
  3291. * aclocal.m4: Regenerate.
  3292. * docs/html/configopts.html: Document --enable-symvers.
  3293. * config/linker-map.gnu: Break libsupc++ symbols out to their own tag.
  3294. 2002-02-22 Philipp Thomas <pthomas@suse.de>
  3295. * include/backward/tempbuf.h: get_temporary_buffer and
  3296. return_temporary_buffer are in namespace std, not in __gnu_cxx.
  3297. 2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
  3298. * configure.in (target_alias): Default to yes.
  3299. * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
  3300. libgcc to default case.
  3301. 2002-02-20 Phil Edwards <pme@gcc.gnu.org>
  3302. * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
  3303. (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
  3304. * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
  3305. * aclocal.m4: Regenerate.
  3306. * configure: Regenerate.
  3307. * config/linker-map.dummy: New file. Contains nothing useful.
  3308. 2002-02-20 Benjamin Kosnik <bkoz@redhat.com>
  3309. * testsuite/22_locale/money_put_members_char.cc: Fix.
  3310. * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
  3311. * testsuite/27_io/standard_manipulators.cc: New file.
  3312. * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
  3313. * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
  3314. 2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
  3315. * config/os/mingw32/bits/ctype_noninline.h
  3316. (ctype<char>::ctype): Remove default args from parm list.
  3317. * config/os/djgpp/bits/ctype_noninline.h: Same.
  3318. 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
  3319. * include/std/std_iomanip.h: Inline, tweaks.
  3320. * config/linker-map.gnu: Remove hacks.
  3321. * testsuite/21_strings/capacity.cc: Add explicit instantiations.
  3322. * testsuite/27_io/ios_init.cc: Same.
  3323. * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
  3324. * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
  3325. 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
  3326. * config/linker-map.gnu: Export global vtable, typeinfo, guard
  3327. variable, and thunk info as per CXXABI docs.
  3328. 2002-02-19 Loren Rittle <ljrittle@acm.org>
  3329. * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
  3330. * include/Makefile.in: Rebuilt.
  3331. 2002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
  3332. * testsuite/22_locale/collate_byname.cc (test01): Replace size4
  3333. with size3 for the string collations of str5.
  3334. 2002-02-18 Paolo Carlini <pcarlini@unitus.it>
  3335. libstdc++/5708
  3336. * include/bits/locale_facets.tcc (money_put::do_put):
  3337. For the space field use __fill instead of ' ', uniformly.
  3338. * testsuite/22_locale/money_put_members_char.cc:
  3339. Add test05 distilled from PR.
  3340. (test01-02-03): Trim some '*' to ' '.
  3341. * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
  3342. 2002-02-18 Loren Rittle <ljrittle@acm.org>
  3343. libstdc++/5697
  3344. * include/Makefile.am (thread_builddir): Remove (map all
  3345. existing uses to target_builddir).
  3346. (thread_headers): Rename to...
  3347. (thread_target_headers): ...this.
  3348. (stamp-thread): Remove.
  3349. (stamp-target): Correctly state the position as built.
  3350. Update all dependencies to match the new reality. Remove all
  3351. dependency calculations on directories.
  3352. * include/Makefile.in: Rebuilt.
  3353. 2002-02-16 Benjamin Kosnik <bkoz@redhat.com>
  3354. * include/bits/locale_facets.tcc: Add pragma GCC system_header.
  3355. * include/bits/fstream.tcc: Same.
  3356. * include/bits/sstream.tcc: Same.
  3357. * include/bits/ostream.tcc: Same.
  3358. * include/bits/istream.tcc: Same.
  3359. * include/bits/streambuf.tcc: Same.
  3360. * include/bits/basic_ios.tcc: Same.
  3361. * include/bits/basic_string.tcc: Same.
  3362. 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
  3363. * include/std/std_iosfwd.h: Don't guard typedefs with
  3364. _GLIBCPP_USE_WCHAR_T
  3365. * include/bits/stringfwd.h: Same.
  3366. 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
  3367. * src/locale.cc (moneypunct_byname): Remove definitions.
  3368. * include/std/std_streambuf.h (streambuf::operator=): Return.
  3369. 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
  3370. Tune for size.
  3371. * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
  3372. explicit instantiation.
  3373. (string::_Rep::_S_max_size): Same.
  3374. * include/bits/basic_string.tcc: Add extern explicit
  3375. instantiations for string, wstring.
  3376. * include/bits/basic_ios.tcc: Add extern explicit instantiations
  3377. for ios, wios.
  3378. * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
  3379. * include/bits/istream.tcc: Same, for istream, wistream.
  3380. * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
  3381. wiostream.
  3382. * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
  3383. istringstream, wistringstream, ostringstream, wostringstream,
  3384. stringstream, wstringstream.
  3385. * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
  3386. wifstream, ofstream, wofstream, fstream, wfstream.
  3387. * src/misc-inst.cc: Correct comments.
  3388. Add iomanip instantiations for wide streams.
  3389. * include/std/std_iomanip.h: Same.
  3390. * include/bits/locale_facets.tcc: Same.
  3391. * include/std/std_streambuf.h: Correct
  3392. _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
  3393. * include/std/std_sstream.h: Same.
  3394. * include/std/std_ostream.h: Same.
  3395. * include/std/std_istream.h: Same.
  3396. * include/std/std_fstream.h: Same.
  3397. * include/std/std_streambuf.h: Add definitions for private copy
  3398. ctor and assignment operator.
  3399. * include/std/std_istream.h: Remove declared but undefined copy
  3400. ctor and assignment operator. This is taken care of in ios_base,
  3401. so adding it in the derived class as well is superfluous.
  3402. * include/std/std_ostream.h: Same.
  3403. * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
  3404. * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
  3405. 2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
  3406. * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
  3407. Add typeinfo bits. Smooth.
  3408. * aclocal.m4: Regenerate.
  3409. * configure: Same.
  3410. * src/Makefile.in: Same.
  3411. 2001-02-14 Joel Sherrill <joel@OARcorp.com>
  3412. * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
  3413. which do not have a CAS instruction.
  3414. 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
  3415. * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
  3416. * configure.in: Call it.
  3417. * config/linker-map.gnu: New file, initial incomplete revision.
  3418. * src/Makefile.am: Optionally pass version script to the linker.
  3419. * aclocal.m4: Regenerate.
  3420. * configure: Regenerate.
  3421. * src/Makefile.in: Regenerate.
  3422. 2002-02-13 Benjamin Kosnik <bkoz@redhat.com>
  3423. * src/localename.cc: Remove stdexcept include.
  3424. * src/locale-inst.cc: Same.
  3425. * src/locale.cc: Same.
  3426. * src/functexcept.cc: Remove string includes.
  3427. * include/std/std_bitset.h: Remove stdexcept include.
  3428. * testsuite/23_containers/bitset_members.cc: Add stdexcept.
  3429. * testsuite/23_containers/bitset_ctor.cc: Same.
  3430. 2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
  3431. * include/bits/stl_algo (__stl_threshold): Declare external.
  3432. (__stl_chunk_size): Same.
  3433. * include/bits/stl_bvector.h (__WORD_BIT): Same.
  3434. * include/bits/stl_tree.h (_S_rb_tree_red): Same.
  3435. (_S_rb_tree_black): Same.
  3436. * src/stl-inst.cc (__stl_threshold): Define.
  3437. (__stl_chunk_size): Same.
  3438. (__WORD_BIT): Same.
  3439. (_S_rb_tree_red): Same.
  3440. (_S_rb_tree_black): Same.
  3441. * config/io/basic_file_libio.h (__basic_file): Add declarations.
  3442. * include/bits/basic_file.h: Remove.
  3443. * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
  3444. Declare generic types, specialization.
  3445. * config/io/basic_file_stdio.cc: Definitions.
  3446. * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
  3447. Declare generic types.
  3448. * include/Makefile.am (bits_headers): Remove basic_file.h.
  3449. (extra_target_headers): Change basic_file_model.h to basic_file.h.
  3450. (stamp-target): Same.
  3451. * include/bits/stl_alloc.h: Tweaks.
  3452. * include/bits/localefwd.h: Same.
  3453. 2002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
  3454. * include/bits/locale_facets.tcc (collate::do_hash): Fix.
  3455. * testsuite/22_locale/collate_members_char.cc (test03): New test.
  3456. * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
  3457. 2002-02-10 Phil Edwards <pme@gcc.gnu.org>
  3458. * include/bits/stl_algo.h (transform (both signatures), generate_n):
  3459. Use __typeof__ in concept checks.
  3460. 2002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
  3461. * include/bits/stl_algo.h (__median, for_each, find, find_if,
  3462. adjacent_find, count, count_if, search, search_n, swap_ranges,
  3463. transform, replace, replace_if, replace_copy, replace_copy_if,
  3464. generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
  3465. unique, unique_copy, reverse, reverse_copy): Doxygenate.
  3466. 2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
  3467. * include/bits/locale_facets.h
  3468. (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
  3469. (__timepunct<_CharT>::_M_initialize_timepunct): Same.
  3470. (__timepunct<_CharT>::_M_put_helper): Same.
  3471. (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
  3472. * include/bits/fstream.tcc (filebuf::underflow): Remove
  3473. __codecvt_type typedef.
  3474. (filebuf::_M_convert_to_external): Same.
  3475. 2002-02-08 Phil Edwards <pme@gcc.gnu.org>
  3476. * docs/doxygen/TODO: Update.
  3477. * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
  3478. * docs/doxygen/mainpage.html: Add TODO list link.
  3479. * docs/doxygen/user.cfg.in: Add @doctodo hook.
  3480. * docs/doxygen/tables.html: New file, emoty structure only.
  3481. * include/bits/stl_iterator.h: Doxygenate just about everything.
  3482. * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
  3483. * include/bits/stl_iterator_base_types.h: Add notes.
  3484. 2002-02-07 Stephan Buys <sbproxy@icon.co.za>
  3485. * include/bits/stl_map.h: Tweak doxygen markup.
  3486. * include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
  3487. * include/bits/stl_vector.h: Likewise.
  3488. 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
  3489. libstdc++/5286
  3490. libstdc++/3860
  3491. * include/std/std_fstream.h (filebuf::__file_type): Change to
  3492. __basic_file<char>.
  3493. (filebuf::_M_convert_to_external): Declare.
  3494. * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
  3495. codecvt bits for wide streams.
  3496. (filebuf::_M_really_overflow): Use it.
  3497. (filebuf::underflow): Use codecvt.
  3498. * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
  3499. (codecvt<__enc_traits>::do_out): Deal with partial.
  3500. (codecvt<__enc_traits>::do_encoding): Return something useful.
  3501. * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
  3502. wchar_t.
  3503. * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
  3504. Change expected encoding output.
  3505. (test02): Same.
  3506. * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
  3507. (test02): Same.
  3508. 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
  3509. Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
  3510. * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
  3511. (basic_ios::widen): Same.
  3512. 2002-02-07 Paolo Carlini <pcarlini@unitus.it>
  3513. * testsuite/22_locale/money_get_members_char.cc:
  3514. Add comment, tidy up.
  3515. (test01): more "en_HK" tests (without showbase).
  3516. * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
  3517. 2002-02-06 Loren Rittle <ljrittle@acm.org>
  3518. * config/locale/c_locale_generic.cc: Do not trust
  3519. _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
  3520. set by configure.
  3521. 2002-02-06 Loren Rittle <ljrittle@acm.org>
  3522. * acinclude.m4: Add C++ linkage check for strtof.
  3523. * aclocal.m4: Rebuilt.
  3524. * config.h.in: Rebuilt.
  3525. * configure: Rebuilt.
  3526. * config/locale/c_locale_generic.cc: Conditionally include
  3527. <ieeefp.h>. Improve handling and error checking of float
  3528. and long double input for non-C99 configurations.
  3529. 2002-02-06 Paolo Carlini <pcarlini@unitus.it>
  3530. * include/bits/locale_facets.tcc (money_get::do_get(string)):
  3531. In case money_base::symbol deal properly with multi-char sign
  3532. for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
  3533. * testsuite/22_locale/money_get_members_char.cc: Add test07.
  3534. * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
  3535. 2002-02-05 Paolo Carlini <pcarlini@unitus.it>
  3536. * include/bits/locale_facets.tcc (money_get::do_get(string)):
  3537. First construct a tentative returned string, then, only if the
  3538. parsing succeeds, copy it into the string passed by reference.
  3539. * testsuite/22_locale/money_get_members_char.cc: Add test06.
  3540. * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
  3541. 2002-02-04 Phil Edwards <pme@gcc.gnu.org>
  3542. * docs/doxygen/TODO: Impl-defined behavior now documented...
  3543. * docs/html/17_intro/howto.html: ...here.
  3544. * docs/doxygen/mainpage.doxy: Remove, rename...
  3545. * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
  3546. * docs/doxygen/style.css: Add small text.
  3547. * docs/doxygen/run_doxygen: Adjust for new mainpage.
  3548. * docs/doxygen/user.cfg.in: Likewise.
  3549. 2002-02-04 Stephan Buys <sbproxy@icon.co.za>
  3550. * include/bits/stl_map.h: Initial doxygen markup.
  3551. * include/std/std_fstream.h: Initial doxygen markup.
  3552. 2002-02-04 Paolo Carlini <pcarlini@unitus.it>
  3553. libstdc++/5579
  3554. * include/bits/locale_facets.tcc (money_get::do_get(string)):
  3555. Deal correctly with !(__io.flags() & ios_base::showbase)
  3556. for case money_base::symbol.
  3557. * testsuite/22_locale/money_get_members_char.cc: Add test05.
  3558. * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
  3559. 2002-02-02 Paolo Carlini <pcarlini@unitus.it>
  3560. * testsuite/22_locale/operators.cc
  3561. (gnu_collate::do_compare()): Add return statement to
  3562. suppress "no return statement" warning.
  3563. 2002-02-01 Paolo Carlini <pcarlini@unitus.it>
  3564. * testsuite/27_io/ostream_manip.cc: Enable test02.
  3565. 2002-02-01 Phil Edwards <pme@gcc.gnu.org>
  3566. * docs/html/documentation.html: Update for 3.0.96.
  3567. * docs/html/faq/index.html: Update for 3.0.96.
  3568. * docs/html/faq/index.txt: Regenerated.
  3569. * docs/doxygen/TODO: Update notes.
  3570. * docs/html/17_intro/howto.html: Initial impl-specific listing.
  3571. 2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
  3572. * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
  3573. Initialize all data members in copy ctor. Make ctors explicit.
  3574. (__enc_traits::__enc_traits()): Default ctor does nothing.
  3575. (__enc_traits::_M_init): Guard against multiple iconv_opens.
  3576. * include/std/std_sstream.h (basic_stringbuf): Make data members
  3577. protected.
  3578. * include/std/std_fstream.h (basic_filebuf): Same.
  3579. * include/std/std_streambuf.h: Tweak.
  3580. * include/bits/streambuf.tcc: Same.
  3581. * include/bits/sstream.tcc: Same.
  3582. * include/bits/fstream.tcc: Same.
  3583. 2002-01-31 Loren Rittle <ljrittle@acm.org>
  3584. * testsuite/22_locale/codecvt_members_char_char.cc: Do not
  3585. allow NULL argument to be passed to setenv().
  3586. * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
  3587. * testsuite/22_locale/collate_members_char.cc: Likewise.
  3588. * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
  3589. * testsuite/22_locale/ctype_members_char.cc: Likewise.
  3590. * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
  3591. * testsuite/22_locale/messages_members_char.cc: Likewise.
  3592. * testsuite/22_locale/money_get_members_char.cc: Likewise.
  3593. * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
  3594. * testsuite/22_locale/money_put_members_char.cc: Likewise.
  3595. * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
  3596. * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
  3597. * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
  3598. * testsuite/22_locale/num_get_members_char.cc: Likewise.
  3599. * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
  3600. * testsuite/22_locale/num_put_members_char.cc: Likewise.
  3601. * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
  3602. * testsuite/22_locale/numpunct_members_char.cc: Likewise.
  3603. * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
  3604. * testsuite/22_locale/time_get_members_char.cc: Likewise.
  3605. * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
  3606. * testsuite/22_locale/time_put_members_char.cc: Likewise.
  3607. * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
  3608. 2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
  3609. * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
  3610. * ChangeLog-2001: Fix spelling errors...
  3611. * docs/html/17_intro/RELEASE-NOTES: Update.
  3612. * docs/html/17_intro/TODO: Update.
  3613. * README (file): Update.
  3614. 2002-01-30 Loren Rittle <ljrittle@acm.org>
  3615. * config/locale/c_locale_generic.cc: Check errno for ERANGE
  3616. instead of non-zero to aid portability.
  3617. 2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
  3618. * docs/html/22_locale/messages.html: Fix example code.
  3619. 2002-01-30 Richard Henderson <rth@redhat.com>
  3620. * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
  3621. out from test03 and templatize.
  3622. (test03): Use it.
  3623. 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
  3624. * config/locale/numpunct_members_gnu.cc
  3625. (numpunct<char, wchar_t>::_M_initialize_numpunct()):
  3626. Fix initialization of _M_grouping for locales which have
  3627. _M_thousands_sep == '\0'(L'\0', respectively).
  3628. * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
  3629. 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
  3630. * testsuite/27_io/ostream_inserter_arith.cc (test03):
  3631. Better fix for 32/64 bit architectures, avoiding the
  3632. implicit assumption that CHAR_BIT == 8.
  3633. 2002-01-28 Phil Edwards <pme@gcc.gnu.org>
  3634. * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
  3635. * Makefile.in: Regenerate.
  3636. * docs/doxygen/run_doxygen: Update, mostly for man pages.
  3637. * docs/doxygen/Intro.3: Update.
  3638. * docs/doxygen/TODO: Update.
  3639. * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
  3640. * docs/doxygen/mainpage.doxy: Update.
  3641. * docs/doxygen/user.cfg.in: Update for header rename. Also
  3642. regenerate comments and variables with 1.2.12.
  3643. * docs/doxygen/maint.cfg.in: Remove file.
  3644. * include/bits/stl_relops.h: Doxygenate.
  3645. * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
  3646. * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
  3647. include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
  3648. include/c_std/std_ciso646.h, include/c_std/std_climits.h,
  3649. include/c_std/std_clocale.h, include/c_std/std_cmath.h,
  3650. include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
  3651. include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
  3652. include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
  3653. include/c_std/std_cstring.h, include/c_std/std_ctime.h,
  3654. include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
  3655. include/ext/algorithm, include/ext/functional, include/ext/hash_map,
  3656. include/ext/hash_set, include/ext/iterator, include/ext/memory,
  3657. include/ext/numeric, include/ext/rb_tree, include/ext/rope,
  3658. include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
  3659. include/ext/stl_hashtable.h, include/ext/stl_rope.h,
  3660. include/std/std_algorithm.h, include/std/std_bitset.h,
  3661. include/std/std_complex.h, include/std/std_deque.h,
  3662. include/std/std_fstream.h, include/std/std_functional.h,
  3663. include/std/std_iomanip.h, include/std/std_ios.h,
  3664. include/std/std_iosfwd.h, include/std/std_iostream.h,
  3665. include/std/std_istream.h, include/std/std_iterator.h,
  3666. include/std/std_limits.h, include/std/std_list.h,
  3667. include/std/std_locale.h, include/std/std_map.h,
  3668. include/std/std_memory.h, include/std/std_numeric.h,
  3669. include/std/std_ostream.h, include/std/std_queue.h,
  3670. include/std/std_set.h, include/std/std_sstream.h,
  3671. include/std/std_stack.h, include/std/std_stdexcept.h,
  3672. include/std/std_streambuf.h, include/std/std_string.h,
  3673. include/std/std_utility.h, include/std/std_valarray.h,
  3674. include/std/std_vector.h: Add/correct @file doxygen hook.
  3675. * include/ext/memory: Doxygenate most of rest of file.
  3676. * libsupc++/exception: Doxygen output formatting.
  3677. * libsupc++/new: Say which header it is.
  3678. * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
  3679. * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
  3680. * docs/html/23_containers/howto.html: Describe O(n) list::size().
  3681. * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
  3682. 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
  3683. Charles Leggett <CGLeggett@lbl.gov>
  3684. * testsuite/27_io/filebuf_members.cc (test_05): Add test.
  3685. 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
  3686. * testsuite/27_io/ostream_inserter_arith.cc (test03):
  3687. Fix to deal correctly with both 32 bit and 64 bit architectures
  3688. 2002-01-25 Loren Rittle <ljrittle@acm.org>
  3689. * testsuite/thread/pthread1.cc: Use one condition variable
  3690. per predicate instead of tricky use of one condition variable.
  3691. 2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
  3692. * include/bits/fstream.tcc (filebuf::close()): Fix close for input
  3693. streams.
  3694. (filebuf::_M_really_overflow): Match indeterminate and sync calls.
  3695. * testsuite/27_io/filebuf.cc: Compile only.
  3696. * testsuite/27_io/filebuf_members.cc: Move tests to here.
  3697. * testsuite/27_io/filebuf_virtuals.cc: And here.
  3698. Revert sungetc, sync changes for expected values.
  3699. * testsuite/27_io/filebuf-*: Move to...
  3700. * testsuite/27_io/filebuf_virtuals-*: ...here.
  3701. * testsuite/27_io/istream.cc: Compile only, activate.
  3702. * testsuite/27_io/ostream.cc: Same.
  3703. * testsuite/27_io/iostream.cc: New.
  3704. * testsuite/27_io/iostream_members.cc: New.
  3705. 2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
  3706. * testsuite/thread/pthread1.cc: Enable on cygwin.
  3707. * testsuite/thread/pthread2.cc: Likewise.
  3708. * testsuite/thread/pthread3.cc: Likewise.
  3709. * testsuite/thread/pthread4.cc: Likewise.
  3710. * testsuite/thread/pthread5.cc: Likewise.
  3711. * testsuite/thread/pthread6.cc: Likewise.
  3712. 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
  3713. * testsuite/27_io/ostream_inserter_char.cc (test07): New.
  3714. 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
  3715. * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
  3716. const, tweak.
  3717. (basic_ios::fill(char_type)): Use fill().
  3718. * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
  3719. (basic_ios::narrow): Same.
  3720. (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
  3721. if they are invalid.
  3722. (basic_ios::init): Comment.
  3723. * testsuite/27_io/ios_init.cc (test02): New.
  3724. 2002-01-24 Phil Edwards <pme@gcc.gnu.org>
  3725. * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
  3726. * include/bits/stl_algo.h: Include stl_tempbuf.h.
  3727. * include/ext/memory: Do not include stl_tempbuf.h.
  3728. (temporary_buffer): Add doxygen hook.
  3729. (__get_temporary_buffer, get_temporary_buffer,
  3730. return_temporary_buffer): Move back to std:: header...
  3731. * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
  3732. * include/ext/rope: Do not include stl_tempbuf.h.
  3733. * include/ext/stl_hashtable.h: Likewise.
  3734. * include/std/std_algorithm.h: Likewise.
  3735. * testsuite/20_util/temporary_buffer.cc: New file.
  3736. 2002-01-24 andrew@andypo.net
  3737. (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
  3738. libstdc++/5432
  3739. * include/bits/ios_base.h: Use _Atomic_word for reference counts.
  3740. * include/bits/localefwd.h: Likewise.
  3741. Also use for std::locale::id::_S_highwater.
  3742. * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
  3743. * src/locale.cc: Support new usage of _Atomic_word.
  3744. (std::locale::classic): Guard entire function against reentry.
  3745. * src/localename.cc: Support new usage of _Atomic_word.
  3746. 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
  3747. * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
  3748. _GLIBCPP_HAVE_SETENV.
  3749. * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
  3750. * testsuite/22_locale/collate_members_char.cc (test02): Same.
  3751. * testsuite/22_locale/ctype_members_char.cc (test03): Same.
  3752. * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
  3753. * testsuite/22_locale/messages_members_char.cc (test02): Same.
  3754. * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
  3755. * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
  3756. * testsuite/22_locale/money_put_members_char.cc (test04): Same.
  3757. * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
  3758. * testsuite/22_locale/num_get_members_char.cc (test03): Same.
  3759. * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
  3760. * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
  3761. * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
  3762. * testsuite/22_locale/time_get_members_char.cc (test07): Same.
  3763. * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
  3764. * testsuite/22_locale/time_put_members_char.cc (test03): Same.
  3765. * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
  3766. * testsuite/22_locale/num_put_members_char.cc (test03): Same.
  3767. * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
  3768. * aclocal.m4: Regenerate.
  3769. * configure: Regenerate.
  3770. * config.h.in: Regenerate.
  3771. 2002-01-23 Loren Rittle <ljrittle@acm.org>
  3772. * testsuite/thread/pthread1.cc: New test.
  3773. * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
  3774. * testsuite/thread/pthread3.cc: Likewise.
  3775. * testsuite/thread/pthread4.cc: New test adapted from
  3776. http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
  3777. * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
  3778. * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
  3779. 2002-01-23 Richard Henderson <rth@redhat.com>
  3780. PR libstdc++/5198
  3781. * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
  3782. CAS on the cpu variants that support it. Add versions that use
  3783. TAS and that disable interrupts.
  3784. (__atomic_add): Use __exchange_and_add to guarantee atomicity.
  3785. 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
  3786. * include/bits/locale_facets.tcc: Remove old comments.
  3787. 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
  3788. * include/bits/locale_facets.tcc (__convert_to_v): Change template
  3789. parameter to _Tv.
  3790. (__convert_from_v): Same.
  3791. 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
  3792. * include/bits/locale_facets.h (num_get::_M_extract_int): Change
  3793. prototype.
  3794. * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
  3795. __max_digits checks, adjust arguments.
  3796. (num_get::do_get(*)): Changeup.
  3797. 2002-01-23 Loren Rittle <ljrittle@acm.org>
  3798. * config/locale/c_locale_generic.cc: Fix typename usage.
  3799. 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
  3800. * config/locale/c_locale_generic.cc: Fix.
  3801. 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
  3802. * docs/html/22_locale/messages.html: Remove angle brackets.
  3803. * docs/html/17_intro/TODO: Add.
  3804. 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
  3805. * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
  3806. * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
  3807. * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
  3808. * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
  3809. 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
  3810. Audit for LANG independence.
  3811. * include/bits/localefwd.h: Tweaks.
  3812. * include/bits/locale_facets.tcc (money_get::do_get(long double)):
  3813. Use __convert_to_v.
  3814. (time_get::do_get_year): Same.
  3815. (__convert_from_v): Add.
  3816. (num_put::_M_convert_float): Use.
  3817. (num_put::_M_convert_int): Same.
  3818. (money_put::do_put): Same.
  3819. * src/locale-inst.cc: Add instantiations for __convert_from_v.
  3820. * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
  3821. * config/locale/time_members_generic.cc:
  3822. * config/locale/messages_members_gnu.cc: Same.
  3823. * config/locale/messages_members_gnu.h: Same.
  3824. * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
  3825. * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
  3826. * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
  3827. * testsuite/22_locale/collate_members_char.cc (test02): New.
  3828. * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
  3829. * testsuite/22_locale/ctype_members_char.cc (test03): New.
  3830. * testsuite/22_locale/messages_members_char.cc (test02): New.
  3831. * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
  3832. * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
  3833. * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
  3834. * testsuite/22_locale/money_get_members_char.cc (test04): New.
  3835. * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
  3836. * testsuite/22_locale/money_put_members_char.cc (test04): New.
  3837. * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
  3838. * testsuite/22_locale/numpunct_members_char.cc (test02): New.
  3839. * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
  3840. * testsuite/22_locale/time_put_members_char.cc (test03): New.
  3841. * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
  3842. * testsuite/22_locale/time_get_members_char.cc (test07): New.
  3843. * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
  3844. * testsuite/22_locale/num_get_members_char.cc (test03): New.
  3845. * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
  3846. * testsuite/22_locale/num_put_members_char.cc (test03): New.
  3847. * testsuite/22_locale/time_get_members_char.cc: Fixups for global
  3848. locale issues.
  3849. * testsuite/22_locale/time_get_members_char.cc: Same.
  3850. 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
  3851. libstdc++/5280
  3852. * include/bits/localefwd.h: Tweak comments.
  3853. * include/bits/locale_facets.h (__convert_to_v): Add.
  3854. * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
  3855. (num_get::do_get(float)): Same.
  3856. (num_get::do_get(long double)): Same.
  3857. (num_get::do_get(bool)): Same.
  3858. (num_get::do_get(long)): Same.
  3859. (num_get::do_get(long long)): Same.
  3860. (num_get::do_get(unsigned int)): Same.
  3861. (num_get::do_get(unsigned short)): Same.
  3862. (num_get::do_get(unsigned long)): Same.
  3863. (num_get::do_get(unsigned long long)): Same.
  3864. * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
  3865. * config/locale/c_locale_generic.cc: Same.
  3866. 2002-01-22 Loren Rittle <ljrittle@acm.org>
  3867. * include/Makefile.am (c_base_builddir): Remove redundant slash.
  3868. (std_builddir): Likewise.
  3869. (std_headers_rename): Fix cut-n-paste typo.
  3870. (install-data-local): Concat path per element instead of once to
  3871. first element of list.
  3872. * include/Makefile.in: Rebuilt.
  3873. 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
  3874. * config/os/aix/bits/ctype_noninline.h: Fix formatting.
  3875. * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
  3876. * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
  3877. 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
  3878. * include/bits/locale_facets.h (ctype<char>::classic_table):
  3879. Remove definition.
  3880. (ctype<char>::_S_ctable): Remove.
  3881. * config/os/gnu-linux/bits/ctype_noninline.h
  3882. (ctype<char>::_S_table): Remove definition.
  3883. (ctype<char>::classic_table): Define.
  3884. (ctype<char>::ctype): Replace _S_ctable with classic_table().
  3885. * config/os/aix/bits/ctype_noninline.h: Same.
  3886. * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
  3887. * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
  3888. * config/os/djgpp/bits/ctype_noninline.h: Same.
  3889. * config/os/generic/bits/ctype_noninline.h: Same.
  3890. * config/os/gnu-linux/bits/ctype_noninline.h: Same.
  3891. * config/os/hpux/bits/ctype_noninline.h: Same.
  3892. * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
  3893. * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
  3894. * config/os/mingw32/bits/ctype_noninline.h: Same.
  3895. * config/os/newlib/bits/ctype_noninline.h: Same.
  3896. * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
  3897. * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
  3898. * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
  3899. 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
  3900. * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
  3901. of _pctype. Use to define _S_ctable. Add definition for alternate
  3902. ctor. Initialise _M_ctable to _S_ctable in ctors.
  3903. (do_toupper, do_tolower): Use inline code appropriate for C-locale
  3904. rather than ::toupper, ::tolower.
  3905. 2002-01-18 Loren Rittle <ljrittle@acm.org>
  3906. * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
  3907. Add specialization for FreeBSD systems only to avoid losing test
  3908. only due to extra precision unmentioned in system headers.
  3909. 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
  3910. * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
  3911. 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
  3912. * testsuite/testsuite_hooks.h: Fix comment typo. Memory
  3913. limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
  3914. 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
  3915. * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
  3916. 2002-01-17 David Edelsohn <edelsohn@gnu.org>
  3917. * configure.target: Define OPT_LDFLAGS for AIX case.
  3918. 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
  3919. * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
  3920. __glibcpp_double_has_quiet_NaN): Correct mispelling.
  3921. 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
  3922. * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
  3923. 2002-01-16 David Edelsohn <dje@watson.ibm.com>
  3924. * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
  3925. SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
  3926. * aclocal.m4: Regenerate.
  3927. * configure: Regenerate.
  3928. 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
  3929. * include/Makefile.am (c_base_headers_rename): New.
  3930. (c_base_headers_extra): New.
  3931. (stamp-c_base): Modify.
  3932. (install-data-local): Use both.
  3933. * include/Makefile.in: Regenerate.
  3934. * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
  3935. csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
  3936. cstdio ctime cwctype]: Move to..
  3937. * include/c/std_*: Here.
  3938. * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
  3939. csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
  3940. cstdio ctime cwctype]: Move to..
  3941. * include/c_std/std_*: Here.
  3942. Alexandre Oliva <aoliva@redhat.com>
  3943. * include/Makefile.am (.PRECIOUS): Add rule.
  3944. * include/Makefile.in: Regenerate.
  3945. 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
  3946. Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
  3947. * include/bits/stl_iterator.h (reverse_iterator::_M_current):
  3948. Deuglify, should be current.
  3949. (back_insert_iterator::_M_container): Deuglify, should be container.
  3950. (front_insert_iterator::_M_container): Same.
  3951. (insert_iterator::_M_container): Same.
  3952. * testsuite/24_iterators/reverse_iterator.cc: Add check.
  3953. * testsuite/24_iterators/back_insert_iterator.cc: Add check.
  3954. * testsuite/24_iterators/front_insert_iterator.cc: Same.
  3955. * testsuite/24_iterators/insert_iterator.cc: Same.
  3956. 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
  3957. * include/bits/locale_facets.h (ctype<char>::classic_table): Make
  3958. static.
  3959. (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
  3960. * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
  3961. * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
  3962. * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
  3963. * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
  3964. * config/os/newlib/bits/ctype_noninline.h: Same.
  3965. * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
  3966. * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
  3967. * config/os/hpux/bits/ctype_noninline.h: Same.
  3968. * config/os/djgpp/bits/ctype_noninline.h: Same.
  3969. * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
  3970. * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
  3971. * config/os/aix/bits/ctype_noninline.h: Same.
  3972. Testcase by Dietmar Kühl via Peter Schmid
  3973. * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
  3974. classic_table().
  3975. 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
  3976. * libmath/signbitl.c: Copyright years as list, not range.
  3977. * libmath/Makefile.am: Same.
  3978. * libmath/Makefie.in: Regenerate.
  3979. * libmath/signbit.c: Same.
  3980. * libmath/nan.c: Same.
  3981. * libmath/copysignf.c: Same.
  3982. * libmath/signbitf.c: Same.
  3983. * testsuite/22_locale/money_get_members_char.cc: Same.
  3984. * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
  3985. * testsuite/22_locale/money_put_members_char.cc: Same.
  3986. * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
  3987. * testsuite/22_locale/time_get_members_char.cc: Same.
  3988. * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
  3989. * testsuite/22_locale/time_put_members_char.cc: Same.
  3990. * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
  3991. * testsuite/21_strings/nonmember.cc: Same.
  3992. * testsuite/21_strings/compare.cc: Same.
  3993. * testsuite/27_io/stringstream.cc: Same.
  3994. * testsuite/27_io/stringbuf.cc: Same.
  3995. * testsuite/27_io/filebuf.cc: Same.
  3996. * testsuite/27_io/ios_manip_basefield.cc: Same.
  3997. * testsuite/27_io/ios_manip_fmtflags.cc: Same.
  3998. * include/bits/cpp_type_traits.h: Same.
  3999. * include/bits/generic_shadow.h: Same.
  4000. * include/bits/gslice_array.h: Same.
  4001. * include/bits/gslice.h: Same.
  4002. * include/bits/indirect_array.h: Same.
  4003. * include/bits/slice_array.h: Same.
  4004. * include/bits/sstream.tcc: Same.
  4005. * include/bits/streambuf_iterator.h: Same.
  4006. * include/bits/valarray_array.tcc: Same.
  4007. * include/bits/valarray_meta.h: Same.
  4008. * include/bits/valarray_array.h: Same.
  4009. * config/os/mingw32/bits/ctype_noninline.h: Same.
  4010. * config/os/mingw32/bits/ctype_base.h: Same.
  4011. * config/os/hpux/bits/ctype_noninline.h: Same.
  4012. * config/os/hpux/bits/ctype_base.h: Same.
  4013. * config/os/gnu-linux/bits/ctype_noninline.h: Same.
  4014. * config/os/gnu-linux/bits/ctype_base.h: Same.
  4015. * config/os/generic/bits/ctype_noninline.h: Same.
  4016. * config/os/generic/bits/ctype_base.h: Same.
  4017. * libsupc++/tinfo.h: Tweaks.
  4018. 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
  4019. * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
  4020. * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
  4021. * testsuite/22_locale/ctype_members_char.cc: Tweak.
  4022. 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
  4023. * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
  4024. (num_put::do_put(void*)): Fix.
  4025. * testsuite/22_locale/num_put_members_char.cc (test02): Add.
  4026. * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
  4027. * testsuite/22_locale/num_get_members_char.cc (test02): Add
  4028. long double, void, bool types.
  4029. * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
  4030. 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
  4031. Alexandre Oliva <aoliva@redhat.com>
  4032. * libmath/Makefile.am (LINK): Add --tag CC.
  4033. * libmath/Makefile.in: Regenerate.
  4034. 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
  4035. * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
  4036. of character to attribute mapping table.
  4037. 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
  4038. * testsuite/26_numerics/c99_classification_macros_c.cc
  4039. Remove dg-error and dg-excess-errors comments.
  4040. 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
  4041. * include/bits/locale_facets.tcc (time_put::put): Correct output
  4042. iterator positions.
  4043. * testsuite/22_locale/time_put_members_char.cc (test02): Add.
  4044. * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
  4045. * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
  4046. * testsuite/22_locale/time_get_members_char.cc (test06): Add.
  4047. 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
  4048. * docs/html/17_intro/porting-howto.xml: Update filebuf section.
  4049. 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
  4050. Nathan Myers <ncm@cantrip.org>
  4051. * include/bits/basic_string.h
  4052. (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
  4053. temporaries (i.e., call _M_replace_safe) when possible.
  4054. (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
  4055. (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
  4056. (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
  4057. (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
  4058. (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
  4059. * include/bits/basic_string.tcc
  4060. (replace(__pos1, __n1, __str, __pos2, __n2)): Call
  4061. replace(__pos, __n1, __s, __n2).
  4062. * testsuite/21_strings/replace.cc (test03): New testcases.
  4063. * include/bits/basic_string.h (insert(__pos, __s, __n)):
  4064. Adjust comparison wrt overflow.
  4065. 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
  4066. * include/Makefile.am (std_headers_rename): New variable.
  4067. (install-data-local): Use it.
  4068. * include/Makefile.in: Regenerate.
  4069. 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
  4070. * include/bits/locale_facets.tcc (money_put::do_put(string):
  4071. Correct output iterator value.
  4072. * testsuite/22_locale/money_put_members_char.cc (test03): Add.
  4073. * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
  4074. 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
  4075. * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
  4076. previous commit.
  4077. 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
  4078. * include/Makefile.am (std_headers): Update list with new names.
  4079. (stamp-std): Link to standardized name.
  4080. * include/Makefile.in: Regenerate.
  4081. * include/std/algorithm, include/std/bitset, include/std/complex,
  4082. include/std/deque, include/std/fstream, include/std/functional,
  4083. include/std/iomanip, include/std/ios, include/std/iosfwd,
  4084. include/std/iostream, include/std/istream, include/std/iterator,
  4085. include/std/limits, include/std/list, include/std/locale,
  4086. include/std/map, include/std/memory, include/std/numeric,
  4087. include/std/ostream, include/std/queue, include/std/set,
  4088. include/std/sstream, include/std/stack, include/std/stdexcept,
  4089. include/std/streambuf, include/std/string, include/std/utility,
  4090. include/std/valarray, include/std/vector: Rename to...
  4091. * include/std/std_algorithm.h, include/std/std_bitset.h,
  4092. include/std/std_complex.h, include/std/std_deque.h,
  4093. include/std/std_fstream.h, include/std/std_functional.h,
  4094. include/std/std_iomanip.h, include/std/std_ios.h,
  4095. include/std/std_iosfwd.h, include/std/std_iostream.h,
  4096. include/std/std_istream.h, include/std/std_iterator.h,
  4097. include/std/std_limits.h, include/std/std_list.h,
  4098. include/std/std_locale.h, include/std/std_map.h,
  4099. include/std/std_memory.h, include/std/std_numeric.h,
  4100. include/std/std_ostream.h, include/std/std_queue.h,
  4101. include/std/std_set.h, include/std/std_sstream.h,
  4102. include/std/std_stack.h, include/std/std_stdexcept.h,
  4103. include/std/std_streambuf.h, include/std/std_string.h,
  4104. include/std/std_utility.h, include/std/std_valarray.h,
  4105. include/std/std_vector.h: ...this.
  4106. 2002-01-11 Loren Rittle <ljrittle@acm.org>
  4107. * include/Makefile.am (extra_target_headers): New list of all
  4108. target files built with ad hoc naming rules.
  4109. (stamp-*): Handle LN_S failure in manner portable across make
  4110. implementations.
  4111. (install-data-local): Install header files from human-maintained
  4112. file lists and directory components instead of non-robust find.
  4113. * include/Makefile.in: Rebuilt.
  4114. 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
  4115. * include/bits/locale_facets.tcc (money_get::do_get(string)):
  4116. Check for zero-length negative sign before adding it to output
  4117. string.
  4118. (money_get::do_get(long double)): Return beg.
  4119. * testsuite/22_locale/money_get_members_char.cc (test02): Add
  4120. iterator checks.
  4121. * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
  4122. 2002-01-10 David Seymour <seymour_dj@yahoo.com>
  4123. libstdc++/5331
  4124. * include/bits/locale_facets.h (num_get<>): Return advanced iterator
  4125. for _M_extract_float and _M_extract_int
  4126. * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
  4127. (num_get<>::_M_extract_int): Likewise, all callers changed
  4128. * testsuite/22_locale/num_get_members_char.cc: Testcase
  4129. 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
  4130. * libsupc++/exception (bad_exception): Add comment.
  4131. * libsupc++/new (bad_alloc): Same.
  4132. * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
  4133. 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
  4134. libstdc++/3150: revert 2001-11-30 commit. DR266 only means
  4135. that the destructors should be removed from the descriptions
  4136. in the standard: writing them explicitly allows the vtable
  4137. heuristic to work. For additional information see:
  4138. http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
  4139. http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
  4140. http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
  4141. * libsupc++/exception (bad_exception::~bad_exception()):
  4142. Reintroduce declaration.
  4143. * libsupc++/new (bad_alloc::~bad_alloc()): Same.
  4144. * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
  4145. (bad_typeid::~bad_typeid()): Same.
  4146. * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
  4147. Reintroduce definition.
  4148. * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
  4149. * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
  4150. (bad_typeid::~bad_typeid()): Same.
  4151. 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
  4152. * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
  4153. * include/Makefile.in: Regenerate.
  4154. 2002-01-09 Bo Thorsen <bo@suse.co.uk>
  4155. * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
  4156. definition.
  4157. 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
  4158. libstdc++/2913
  4159. libstdc++/4879
  4160. * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
  4161. return value of _M_file->sync().
  4162. (filebuf::showmanyc): Check for is_open.
  4163. * include/std/fstream (filebuf::sync): Tweak.
  4164. * testsuite/27_io/filebuf.cc: Tweak.
  4165. 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
  4166. Brad Garcia <garsh@attbi.com>
  4167. * testsuite/27_io/filebuf_members.cc: Add test.
  4168. 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
  4169. Craig Rodrigues <rodrigc@mediaone.net>
  4170. libstdc++/5174
  4171. * po/Makefile.am (mkinstalldirs): Add.
  4172. * po/Makefile.in: Regenerate.
  4173. 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
  4174. * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
  4175. testsuite/lib/prune.exp: Delete lines ":In function ..." from
  4176. compiler output.
  4177. * testsuite/23_containers/map_operators.cc: Remove
  4178. dg-excess-errors comment.
  4179. * testsuite/23_containers/set_operators.cc: Likewise.
  4180. 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
  4181. * include/bits/stl_function.h: Remove two lines of comments;
  4182. adjust copyright years.
  4183. 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
  4184. * include/Makefile.am (std_headers): Remove cXXX from list.
  4185. (c_base_srcdir): No bits subdirectory.
  4186. (c_base_builddir): Same.
  4187. (c_base_headers): Adjust names, add ciso646.
  4188. (bits_headers): Remove std_xxx.h headers.
  4189. * include/Makefile.in: Regenerate.
  4190. * include/ext/iterator: Adjust includes.
  4191. * include/ext/ropeimpl.h: Same.
  4192. * include/ext/stl_hash_fun.h: Same.
  4193. * include/ext/algorithm: Same.
  4194. * include/backward/bvector.h: Adjust includes.
  4195. * include/backward/vector.h: Same.
  4196. * include/backward/strstream: Same.
  4197. * include/backward/streambuf.h: Same.
  4198. * include/backward/stack.h: Same.
  4199. * include/backward/set.h: Same.
  4200. * include/backward/queue.h: Same.
  4201. * include/backward/multiset.h: Same.
  4202. * include/backward/multimap.h: Same.
  4203. * include/backward/map.h: Same.
  4204. * include/backward/list.h: Same.
  4205. * include/backward/iterator.h: Same.
  4206. * include/backward/iostream.h: Same.
  4207. * include/backward/iomanip.h: Same.
  4208. * include/backward/fstream.h: Same.
  4209. * include/backward/deque.h: Same.
  4210. * include/backward/complex.h: Same.
  4211. * include/bits/std_algorithm.h: Move to...
  4212. * include/std/algorithm: ...here.
  4213. * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
  4214. std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
  4215. std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
  4216. std_deque.h, std_istream.h, std_numeric.h, std_string.h,
  4217. std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
  4218. std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
  4219. std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
  4220. Same.
  4221. * include/c_std/bits/std_cassert.h: Move to...
  4222. * include/c_std/cassert: Here.
  4223. * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
  4224. std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
  4225. std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
  4226. std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
  4227. std_cwctype.h: Same.
  4228. * include/c_std/cmath: Adjust cmath.tcc include.
  4229. * include/c_std/cstdlib: Adjust includes.
  4230. * include/c_std/cwchar: Same.
  4231. * include/c_std/ctime: Same.
  4232. * include/c_std/cstring: Same.
  4233. * include/c_std/cstdio: Same.
  4234. * include/c_std/bits: Remove directory.
  4235. * include/c/bits/std_cassert.h: Move to...
  4236. * include/c/cassert: Here.
  4237. * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
  4238. std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
  4239. std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
  4240. std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
  4241. std_cwctype.h: Same.
  4242. * include/c/bits: Remove directory.
  4243. * include/std/cwctype: Remove.
  4244. * include/std/cwchar: Remove.
  4245. * include/std/ctime: Remove.
  4246. * include/std/cstring: Remove.
  4247. * include/std/cstdlib: Remove.
  4248. * include/std/cstdio: Remove.
  4249. * include/std/cstddef: Remove.
  4250. * include/std/cstdarg: Remove.
  4251. * include/std/csignal: Remove.
  4252. * include/std/csetjmp: Remove.
  4253. * include/std/cmath: Remove.
  4254. * include/std/clocale: Remove.
  4255. * include/std/climits: Remove.
  4256. * include/std/ciso646: Remove.
  4257. * include/std/cfloat: Remove.
  4258. * include/std/cerrno: Remove.
  4259. * include/std/cctype: Remove.
  4260. * include/std/cassert: Remove.
  4261. * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
  4262. files and subsituting <xxx>.
  4263. * include/bits/valarray_array.h: Same.
  4264. * include/bits/stl_uninitialized.h: Same.
  4265. * include/bits/stl_alloc.h: Same.
  4266. * include/bits/stl_algobase.h: Same.
  4267. * include/bits/sstream.tcc: Same.
  4268. * include/bits/pthread_allocimpl.h: Same.
  4269. * include/bits/ostream.tcc: Same.
  4270. * include/bits/localefwd.h: Same.
  4271. * include/bits/locale_facets.tcc: Same.
  4272. * include/bits/locale_facets.h: Same.
  4273. * include/bits/istream.tcc: Same.
  4274. * include/bits/char_traits.h: Same.
  4275. * include/bits/boost_concept_check.h: Same.
  4276. * include/bits/basic_file.h: Same.
  4277. * include/std/bitset: Same.
  4278. * include/std/complex: Same.
  4279. * include/std/fstream: Same.
  4280. * include/std/functional: Same.
  4281. * include/std/ios: Same.
  4282. * include/std/iostream: Same.
  4283. * include/std/ostream: Same.
  4284. * include/std/sstream: Same.
  4285. * include/std/streambuf: Same.
  4286. * include/std/string: Same.
  4287. * include/std/iterator: Same.
  4288. * include/std/valarray: Same.
  4289. * src/ios.cc: Adjust includes.
  4290. * src/valarray-inst.cc: Same.
  4291. * src/string-inst.cc: Same.
  4292. * src/stl-inst.cc: Same.
  4293. * src/stdexcept.cc: Same.
  4294. * src/misc-inst.cc: Same.
  4295. * src/localename.cc: Same.
  4296. * src/locale-inst.cc: Same.
  4297. * src/locale.cc: Same.
  4298. * src/limits.cc: Same.
  4299. * src/concept-inst.cc: Same.
  4300. * src/complex_io.cc: Same.
  4301. * src/codecvt.cc: Same.
  4302. * src/bitset.cc: Same.
  4303. * src/cmath.cc: Same.
  4304. 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
  4305. * include/bits/stl_tree.h (rb_tree): Move to...
  4306. * include/ext/rb_tree: ...here, new file.
  4307. * include/Makefile.am (ext_headers): Add new file.
  4308. * include/Makefile.in: Regenerate.
  4309. * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
  4310. return_temporary_buffer, struct temporary_buffer): Move to...
  4311. * include/ext/memory: ...here.
  4312. * testsuite/ext/headers.cc: Include <ext/rb_tree>.
  4313. * include/backward/tempbuf.h: Include <ext/memory>, tweak.
  4314. * include/backward/tree.h: Include <ext/rb_tree), tweak.
  4315. 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
  4316. * include/bits/stl_numeric.h (power + helpers, iota): Move to...
  4317. * include/ext/numeric: ...here, new file.
  4318. * include/bits/stl_function.h (identity_element, unary_compose,
  4319. binary_compose, compose1, compose2, identity, select1st,
  4320. select2nd, project1st + helper, project2nd + helper,
  4321. constant_void_fun + helper, constant_unary_fun + helper,
  4322. costant_binary_fun + helper, constant0, constant1, constant2,
  4323. subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
  4324. * include/ext/functional: ...here, new file.
  4325. * include/Makefile.am (ext_headers): Add new files.
  4326. * include/Makefile.in: Regenerate.
  4327. * testsuite/ext/headers.cc: Include <ext/numeric> and
  4328. <ext/functional>.
  4329. * include/backward/algo.h: Include <ext/numeric>, tweak.
  4330. * include/backward/function.h: Include <ext/functional>, tweak.
  4331. * include/ext/ropeimpl.h: Include <ext/numeric>.
  4332. 2002-01-03 Jeffrey A Law <law@redhat.com>
  4333. * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
  4334. __strtoull declarations with __extension__.
  4335. 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
  4336. * testsuite/lib/prune.exp: Correct regular expression for
  4337. -ffunction-sections
  4338. 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
  4339. * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
  4340. Change concept checks, as with lower_bound and PR 2054.
  4341. * testsuite/ext/concept_checks.cc: Expand test to include those.
  4342. 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
  4343. * include/bits/boost_concept_check.h: Import some changes from
  4344. upsteam (Boost) version.
  4345. 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
  4346. * include/bits/stl_algobase.h (copy_n + helpers,
  4347. lexicographical_compare_3way + helpers): Move to...
  4348. * include/ext/algorithm: ...here.
  4349. * include/bits/stl_uninitialized.h (uninitialized_copy_n +
  4350. helpers): Move to...
  4351. * include/ext/memory: ...here, new file.
  4352. * include/Makefile.am (ext_headers): Add new file.
  4353. * include/Makefile.in: Regenerate.
  4354. * testsuite/ext/headers.cc: Include <ext/memory>.
  4355. * include/backward/algobase.h: Include <ext/memory> and
  4356. <ext/algorithm>, tweak.
  4357. * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
  4358. * include/ext/stl_rope.h: Include <ext/memory>, tweak.
  4359. 2002-01-01 Roger Sayle <roger@eyesopen.com>
  4360. * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
  4361. equivalent ___builtin__ versions.
  4362. * include/c_shadow/bits/std_cmath.h: All __builtin math functions
  4363. are available in libstdc++ as the necessary stub implementations
  4364. are provided by libmath/stubs.c.
  4365. 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
  4366. * configure.in: Add support for NetBSD cross compiles.
  4367. * configure: Regenerate.
  4368. Copyright (C) 2002 Free Software Foundation, Inc.
  4369. Copying and distribution of this file, with or without modification,
  4370. are permitted in any medium without royalty provided the copyright
  4371. notice and this notice are preserved.