ChangeLog-2006 1.4 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381
  1. 2006-12-30 Casey Marshall <csm@gnu.org>
  2. * gnu/java/security/x509/X509Certificate.java (serialVersionUID):
  3. new constant.
  4. (extensions): parameterize.
  5. (getExtendedKeyUsage): parameterize return type.
  6. (getSubjectAlternativeNames): parameterize return type; handle changes
  7. to `SubjectAlternativeNames' class.
  8. (getIssuerAlternativeNames): parameterize return type; handle changes
  9. to `IssuerAlternativeNames' class.
  10. (getCriticalExtensionOIDs, getNonCriticalExtensionOIDs): parameterize
  11. return type.
  12. * gnu/java/security/x509/ext/CertificatePolicies.java
  13. (policies, policyQualifierInfos): parameterize.
  14. * gnu/java/security/x509/ext/ExtendedKeyUsage.java (purposeIds):
  15. parameterize.
  16. * gnu/java/security/x509/ext/Extension.java (<init>): add support
  17. for NameConstraints extension.
  18. * gnu/java/security/x509/ext/GeneralName.java: new class.
  19. * gnu/java/security/x509/ext/GeneralNames.java (names): parameterize;
  20. retrofit to use the GeneralName class.
  21. * gnu/java/security/x509/ext/GeneralSubtree.java: new class.
  22. * gnu/java/security/x509/ext/IssuerAlternativeNames.java (getNames):
  23. change return type to GeneralName parameterized list.
  24. * gnu/java/security/x509/ext/NameConstraints.java: new class.
  25. * gnu/java/security/x509/ext/SubjectAlternativeNames.java (getNames):
  26. change return type to GeneralName parameterized list.
  27. * java/security/cert/X509CertSelector.java: re-sorted methods.
  28. (makeName): new method.
  29. (addPathToName, addPathToName, getPathToNames, getPolicy,
  30. getSubjectAlternativeNames, setPathToNames, setPolicy): implemented.
  31. (keyPurposeSet, altNames, policy): parametized.
  32. (pathToNames): new field.
  33. 2006-12-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
  34. * java/text/DateFormatSymbols:
  35. (DateFormatSymbols()): Update documentation.
  36. (DateFormatSymbols(Locale)): Likewise.
  37. (getInstance()): Implemented.
  38. (getInstance(Locale)): Partially implemented.
  39. * java/util/Calendar.java:
  40. (SHORT, LONG, ALL_STYLES): New constants.
  41. (getDisplayName(int,int,Locale)); Implemented.
  42. (getDisplayNames(int,int,Locale)): Likewise.
  43. 2006-12-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
  44. * java/util/Arrays.java:
  45. (copyOf(boolean[],int)): Implemented.
  46. (copyOfRange(boolean[],int,int)): Likewise.
  47. (copyOf(byte[],int)): Likewise.
  48. (copyOfRange(byte[],int,int)): Likewise.
  49. (copyOf(char[],int)): Likewise.
  50. (copyOfRange(char[],int,int)): Likewise.
  51. (copyOf(double[],int)): Likewise.
  52. (copyOfRange(double[],int,int)): Likewise.
  53. (copyOf(float[],int)): Likewise.
  54. (copyOfRange(float[],int,int)): Likewise.
  55. (copyOf(int[],int)): Likewise.
  56. (copyOfRange(int[],int,int)): Likewise.
  57. (copyOf(long[],int)): Likewise.
  58. (copyOfRange(long[],int,int)): Likewise.
  59. (copyOf(short[],int)): Likewise.
  60. (copyOfRange(short[],int,int)): Likewise.
  61. (copyOf(T[],int)): Likewise.
  62. (copyOfRange(T[],int,int)): Likewise.
  63. (copyOf(U[],int,Class<? extends T>)): Likewise.
  64. (copyOfRange(U[],int,int,Class<? extends T>)):
  65. Likewise.
  66. * java/util/Collections.java:
  67. (asLifoQueue(Deque<T>)): Implemented.
  68. (newSetFromMap(Map<E>)): Likewise.
  69. (MapSet): New class for newSetFromMap.
  70. (LIFOQueue): New class for asLifoQueue.
  71. 2006-12-28 Jeroen Frijters <jeroen@frijters.net>
  72. * javax/net/ssl/SSLServerSocketFactory.java:
  73. (getDefault): Return inoperative factory instead of throwing error
  74. (as per spec).
  75. (ErrorServerSocketFactory): New class.
  76. * javax/net/ssl/SSLSocketFactory.java:
  77. (getDefault): Return inoperative factory instead of throwing error
  78. (as per spec).
  79. (ErrorSocketFactory): New class.
  80. 2006-12-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
  81. * java/util/AbstractMap.java:
  82. (SimpleImmutableEntry): Document and add
  83. serialVersionUID.
  84. (SimpleEntry): Likewise, and fix JAPI errors.
  85. * java/util/TreeMap.java:
  86. (entrySet()): Return navigableSet instead.
  87. (headMap(K, boolean)): Implemented.
  88. (subMap(K, boolean, K, boolean)): Likewise.
  89. (tailMap(K, boolean)): Likewise.
  90. (highestLessThan(K,boolean)): Likewise.
  91. (lowestGreaterThan(K,boolean,boolean)): Likewise.
  92. (SubMap.ceilingEntry(K)): Likewise.
  93. (SubMap.ceilingKey(K)): Likewise.
  94. (SubMap.descendingKeySet()): Likewise.
  95. (SubMap.descendingMap()): Likewise.
  96. (SubMap.entrySet()): Return navigableSet instead.
  97. (SubMap.firstEntry()): Implemented.
  98. (SubMap.floorEntry(K)): Likewise.
  99. (SubMap.floorKey(K)): Likewise.
  100. (SubMap.headMap(K,boolean)): Likewise.
  101. (SubMap.higherEntry(K)): Likewise.
  102. (SubMap.higherKey(K)): Likewise.
  103. (SubMap.lastEntry()): Likewise.
  104. (SubMap.lowerEntry(K)): Likewise.
  105. (SubMap.lowerKey(K)): Likewise.
  106. (SubMap.navigableKeySet()): Likewise.
  107. (SubMap.pollFirstEntry()): Likewise.
  108. (SubMap.pollLastEntry()): Likewise.
  109. (SubMap.subMap(K,boolean,K,boolean)): Likewise.
  110. (SubMap.tailMap(K,boolean)): Likewise.
  111. (SubMap.KeySet): New class for keySet().
  112. (SubMap.NavigableKeySet): New class for navigableKeySet().
  113. (SubMap.EntrySet): New class for entrySet().
  114. (SubMap.NavigableEntrySet): Likewise.
  115. (ceilingEntry(K)): Likewise.
  116. (ceilingKey(K)): Likewise.
  117. (descendingKeySet()): Likewise.
  118. (descendingMap()): Likewise.
  119. (firstEntry()): Implemented.
  120. (floorEntry(K)): Likewise.
  121. (floorKey(K)): Likewise.
  122. (higherEntry(K)): Likewise.
  123. (higherKey(K)): Likewise.
  124. (lastEntry()): Likewise.
  125. (lowerEntry(K)): Likewise.
  126. (lowerKey(K)): Likewise.
  127. (navigableKeySet()): Likewise.
  128. (pollFirstEntry()): Likewise.
  129. (pollLastEntry()): Likewise.
  130. (DescendingMap): New class for descendingMap().
  131. (KeySet): New class for keySet().
  132. (NavigableKeySet): New class for navigableKeySet().
  133. (DescendingSet): New class for descendingSet().
  134. (EntrySet): New class for entrySet().
  135. (NavigableEntrySet): Likewise.
  136. * java/util/TreeSet.java:
  137. (headSet(T,boolean)): Implemented.
  138. (subSet(T,boolean,T,boolean)): Likewise.
  139. (tailSet(T,boolean)): Likewise.
  140. (descendingIterator()): Likewise.
  141. (descendingSet()): Likewise.
  142. (floor(T)): Likewise.
  143. (higher(T)): Likewise.
  144. (lower(T)): Likewise.
  145. (pollFirst(T)): Likewise.
  146. (pollLast(T)): Likewise.
  147. 2006-12-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
  148. * java/util/LinkedList.java:
  149. (offer(T)): Documented.
  150. (element()): Likewise.
  151. (peek()): Likewise.
  152. (poll()): Likewise.
  153. (remove()): Likewise.
  154. (descendingIterator()): Implemented.
  155. (offerFirst(T)): Likewise.
  156. (offerLast(T)): Likewise.
  157. (peekFirst()): Likewise.
  158. (peekLast()): Likewise.
  159. (pollFirst()): Likewise.
  160. (pollLast()): Likewise.
  161. (pop()): Likewise.
  162. (push(T)): Likewise.
  163. (removeFirstOccurrence(Object)): Likewise.
  164. (removeLastOccurrence(Object)): Likewise.
  165. 2006-12-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
  166. * NEWS: Mention 1.6 support for java.lang.management
  167. * configure.ac: Check for getloadavg.
  168. * examples/gnu/classpath/examples/management/TestOS.java:
  169. Print system load average.
  170. * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
  171. (getSystemLoadAverage()): Implemented.
  172. * include/Makefile.am: Add new header.
  173. * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h:
  174. Regenerated.
  175. * include/gnu_java_lang_management_VMOperatingSystemMXBeanImpl.h:
  176. Generated.
  177. * java/lang/management/OperatingSystemMXBean.java:
  178. (getSystemLoadAverage()): Implemented.
  179. * native/jni/java-lang/Makefile.am: Add new native code.
  180. * native/jni/java-lang/gnu_java_lang_management_VMOperatingSystemMXBeanImpl.c:
  181. New file.
  182. * vm/reference/gnu/java/lang/management/VMOperatingSystemMXBeanImpl.java:
  183. Likewise.
  184. 2006-12-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
  185. * NEWS:
  186. Add information on threading bean VM update.
  187. 2006-12-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
  188. * doc/vmintegration.texinfo:
  189. Updated to match new threading bean API.
  190. * gnu/java/lang/management/ThreadMXBeanImpl.java:
  191. (MONITOR_SUPPORT): New constant for object monitor
  192. lock support property.
  193. (SYNCHRONIZER_SUPPORT): New constant for ownable
  194. synchronizer lock support property.
  195. (dumpAllThreads(boolean,boolean)): Implemented.
  196. (findDeadlockedThreads()): Likewise.
  197. (getThreadInfo(long[],boolean,boolean)): Likewise.
  198. (isObjectMonitorUsageSupported()): Likewise.
  199. (isSynchronizerUsageSupported()): Likewise.
  200. * java/lang/management/ThreadInfo.java:
  201. (ThreadInfo(Thread,long,long,Object,Thread,long,
  202. long,boolean,boolean,StackTraceElement[],
  203. MonitorInfo[], LockInfo[])): New constructor.
  204. (ThreadInfo(long,String,Thread.State,long,long,
  205. String,long,String,long,long,boolean,boolean,
  206. StackTraceElement[],MonitorInfo[], LockInfo[])):
  207. Likewise.
  208. (from(CompositeData)): Updated to handle new attributes.
  209. (getLockedMonitors()): Implemented.
  210. (getLockedSynchronizers()): Likewise.
  211. (getLockInfo()): Likewise.
  212. (getLockName()): Handle blocking as documented in 1.6
  213. (getLockOwnerId()): Likewise.
  214. (getLockOwnerName()): Likewise.
  215. (toString()): Likewise.
  216. (isThreadBlocked()): Thread blocked check based on
  217. documented 1.6 semantics.
  218. * java/lang/management/ThreadMXBean.java:
  219. (dumpAllThreads(boolean,boolean)): Implemented.
  220. (findDeadlockedThreads()): Likewise.
  221. (getThreadInfo(long[],boolean,boolean)): Likewise.
  222. (isObjectMonitorUsageSupported()): Likewise.
  223. (isSynchronizerUsageSupported()): Likewise.
  224. * vm/reference/gnu/java/lang/management/VMThreadMXBeanImpl.java:
  225. (findDeadlockedThreads()): New native method.
  226. (getLockInfo(ThreadInfo)): Likewise.
  227. (getMonitorInfo(ThreadInfo)): Likewise.
  228. 2006-12-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
  229. * java/lang/management/MonitorInfo.java:
  230. Make variables private.
  231. * java/util/Arrays.java:
  232. (binarySearch(byte[],byte)): Implemented in terms
  233. of range-based variant.
  234. (binarySearch(short[],short)): Likewise.
  235. (binarySearch(int[],int)): Likewise.
  236. (binarySearch(long[],long)): Likewise.
  237. (binarySearch(char[],char)): Likewise.
  238. (binarySearch(float[],float)): Likewise.
  239. (binarySearch(double[],double)): Likewise.
  240. (binarySearch(byte[],int,int,byte)): Implemented.
  241. (binarySearch(short[],int,int,short)): Likewise.
  242. (binarySearch(int[],int,int,int)): Likewise.
  243. (binarySearch(long[],int,int,long)): Likewise.
  244. (binarySearch(char[],int,int,char)): Likewise.
  245. (binarySearch(float[],int,int,float)): Likewise.
  246. (binarySearch(double[],int,int,double)): Likewise.
  247. (binarySearch(Object[],int,int,Object)): Likewise.
  248. (binarySearch(T[],int,int,T,Comparator)): Likewise.
  249. 2006-12-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
  250. * java/beans/ConstructorProperties.java:
  251. New file.
  252. * java/lang/management/LockInfo.java:
  253. Likewise.
  254. * java/lang/management/MonitorInfo.java:
  255. Likewise.
  256. * java/lang/management/ThreadInfo.java:
  257. (getStackTraceType()): New method to
  258. make the StackTraceElement type accessible.
  259. (from(CompositeData)): Refactored to use
  260. getStackTraceType().
  261. 2006-12-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
  262. * gnu/classpath/Pair.java: New class.
  263. * java/io/ObjectInputStream.java:
  264. (readUnshared()): Implemented.
  265. (readObject(boolean)): Renamed from readObject
  266. in order to handle unshared serialization.
  267. (parseContent(byte,boolean)): Added unshared parameter.
  268. (assignNewHandle(Object,boolean)): Likewise.
  269. (rememberHandle(Object,boolean,int)): Likewise.
  270. (lookupHandle(int)): Added handling of invalidated handles.
  271. (processResolution(ObjectStreamClass,Object,int,boolean)):
  272. Added unshared parameter.
  273. * java/io/ObjectOutputStream.java:
  274. (writeUnshared()): Implemented.
  275. (writeObject(Object,boolean)): Renamed from
  276. writeObject(Object) in order to handle
  277. unshared serialization.
  278. 2006-12-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
  279. * gnu/java/lang/management/BeanImpl.java:
  280. (translate(String)): Correct handling of
  281. CompositeData objects.
  282. * java/lang/management/ManagementFactory.java:
  283. (ManagementInvocationHandler.invoke(Object,
  284. Method,Object[])): Handle translation and notifications.
  285. (ManagementInvocationHandler.translate(Object,
  286. Method)): Implement type translation.
  287. * java/lang/management/MemoryUsage.java:
  288. (from(CompositeData)): Fix capitalisation.
  289. * java/lang/management/ThreadInfo.java:
  290. (from(CompositeData)): Likewise.
  291. * javax/management/StandardMBean.java:
  292. (getMBeanInfo()): Add notification handling.
  293. 2006-12-23 Sven de Marothy <sven@physto.se>
  294. * java/util/GregorianCalendar.java,
  295. (add): Don't set fields directly anymore. Use set()
  296. 2006-12-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
  297. PR classpath/30268:
  298. * javax/management/MBeanServerFactory.java:
  299. Initialise map of servers immediately.
  300. (createMBeanServer(String)): Remove map
  301. construction.
  302. 2006-12-22 Francis Kung <fkung@redhat.com>
  303. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  304. (shiftX): Remove rounding.
  305. (shiftY): Likewise.
  306. 2006-12-22 Francis Kung <fkung@redhat.com>
  307. * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
  308. (locked): Removed field.
  309. (BufferedImageGraphics): Remove locked flag.
  310. (drawComposite): Transform bounds properly; set cairo composite directly.
  311. (drawImage): Transform bounds properly.
  312. (updateBufferedImage): Remove locked flag; transform bounds properly.
  313. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  314. (copyArea): Add comment.
  315. (drawImage): Transform bounds properly; update clipping region.
  316. (getClipInDevSpace): Transform bounds properly.
  317. (getTransformedBounds): New method.
  318. (setAntialias): Updated javadoc.
  319. (setCustomPaint): Transform bounds properly.
  320. (updateClip): Avoid use of GeneralPath when possible.
  321. 2006-12-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
  322. PR classpath/30217:
  323. * javax/management/ObjectName.java:
  324. (getKeyPropertyList()): Remove cast and call
  325. to UnmodifiableMap.
  326. 2006-12-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
  327. PR classpath/30216:
  328. * javax/management/MBeanServerDelegate.java:
  329. Initialise list of listeners immediately.
  330. (addListener(NotificationListener)): Remove list
  331. construction.
  332. 2006-12-21 David Daney <ddaney@avtrex.com>
  333. * gnu/java/net/protocol/http/Headers.java: Update imports. Implement
  334. Iterable<Headers.HeaderElement>.
  335. (iterator): Make public.
  336. * gnu/java/net/protocol/http/Request.java (dispatch): Use enhanced for
  337. loop.
  338. (notifyHeaderHandlers): Same.
  339. * gnu/java/net/protocol/http/SimpleCookieManager.java (addCookies):
  340. Remove unneeded cast.
  341. 2006-12-21 Mario Torre <neugens@limasoftware.net>
  342. * .settings/org.eclipse.jdt.core.prefs: set compilation flag to warning
  343. instead of error for empty control flow statements.
  344. * gnu/javax/swing/text/html/css/CSSParser.java (parseSelector):
  345. (parseValue): Reverted last change.
  346. * java/text/BreakIterator.java (preceding): likewise.
  347. * external/jsr166/java/util/AbstractQueue.java (clear): likewise.
  348. * gnu/java/io/Base64InputStream.java (read): likewise.
  349. * javax/swing/text/DefaultStyledDocument.java (ElementBuffer.insertUpdate):
  350. likewise.
  351. * java/util/zip/DeflaterEngine.java (findLongestMatch): likewise.
  352. * java/util/zip/ZipInputStream.java (closeEntry): likewise.
  353. * java/util/zip/DeflaterHuffman.java (Tree.buildLength): likewise.
  354. * java/io/StreamTokenizer.java (nextToken): likewise.
  355. * gnu/javax/imageio/png/PNGICCProfile.java (PNGICCProfile): likewise.
  356. * gnu/java/awt/font/opentype/truetype/VirtualMachine.java (execute):
  357. likewise.
  358. * gnu/java/nio/charset/ByteCharset.java (Decoder.decodeLoop): likewise.
  359. Also fixed typo.
  360. * gnu/java/awt/print/PostScriptGraphics2D.java (spoolPostScript): likewise.
  361. * gnu/java/awt/print/JavaPrinterGraphics.java (spoolPostScript): likewise.
  362. * gnu/javax/net/ssl/provider/SSLRSASignatureImpl.java (engineVerify):
  363. likewise.
  364. * javax/swing/text/html/CSSParser.java:
  365. (parse): likewise.
  366. * java/lang/String.java (trim): likewise.
  367. * java/lang/StrictMath.java (remPiOver2): likewise.
  368. * gnu/java/awt/peer/qt/QtToolkit.java (QtToolkit): likewise.
  369. * javax/swing/JComponent.java (paintImmediately2): likewise.
  370. (paintChildren): likewise.
  371. * java/util/EnumMap.java (..next): likewise.
  372. * java/util/BitSet.java (length): likewise.
  373. * java/util/Collections.java (binarySearch): likewise.
  374. * java/util/StringTokenizer.java (nextToken): likewise.
  375. * java/util/PriorityQueue.java (.next): likewise.
  376. * java/math/BigInteger.java (BigInteger): likewise.
  377. * gnu/java/lang/management/BeanImpl.java (translate): likewise.
  378. 2006-12-19 Mario Torre <neugens@limasoftware.net>
  379. * javax/imageio/spi/ServiceRegistry.java: fixed Empty control-flow
  380. statement.
  381. * tools/gnu/classpath/tools/rmid/ActivationSystemImpl.java: likewise.
  382. * gnu/java/io/Base64InputStream.java (read): likewise.
  383. * gnu/javax/swing/text/html/CharacterAttributeTranslator.java: likewise.
  384. * java/util/zip/DeflaterEngine.java (findLongestMatch): likewise.
  385. * java/util/zip/ZipInputStream.java (closeEntry): likewise.
  386. * java/util/zip/DeflaterHuffman.java (Tree.buildLength): likewise.
  387. * org/omg/CORBA/ORB.java: likewise.
  388. * javax/swing/plaf/metal/MetalFileChooserUI.java: likewise.
  389. * gnu/javax/imageio/png/PNGICCProfile.java (PNGICCProfile): likewise.
  390. * tools/external/asm/org/objectweb/asm/xml/ASMContentHandler.java: likewise.
  391. * java/text/MessageFormat.java (MessageFormatElement.setLocale): likewise.
  392. * java/text/BreakIterator.java (preceding): likewise.
  393. * gnu/javax/net/ssl/provider/SSLEngineImpl.java: likewise.
  394. * gnu/javax/net/ssl/provider/SSLRSASignatureImpl.java (engineVerify):
  395. likewise.
  396. * java/beans/XMLEncoder.java (writeObject): likewise.
  397. * gnu/java/beans/encoder/ScanEngine.java (ScanEngine): likewise.
  398. * java/util/Collections.java (binarySearch): likewise.
  399. * java/util/StringTokenizer.java (nextToken): likewise.
  400. * java/util/PriorityQueue.java (.next): likewise.
  401. * java/util/EnumMap.java (..next): likewise.
  402. * java/util/BitSet.java (length): likewise.
  403. * java/util/Date.java (parse): likewise.
  404. * javax/swing/text/html/CSSParser.java (parse): likewise.
  405. * javax/swing/plaf/basic/BasicTabbedPaneUI.java
  406. (TabbedPaneScrollLayout.calculateTabRects): likewise.
  407. * java/lang/Character.java (UnicodeBlock): likewise.
  408. * java/lang/String.java (trim): likewise.
  409. * java/lang/StrictMath.java (remPiOver2): likewise.
  410. * javax/swing/JFormattedTextField.java (commitEdit): likewise.
  411. * javax/swing/JComponent.java (paintImmediately2): likewise.
  412. (paintChildren): likewise.
  413. * javax/swing/JToolTip.java (paramString): likewise.
  414. * javax/swing/JEditorPane.java (JEditorPane): likewise.
  415. * gnu/CORBA/Poa/gnuPOA.java: likewise.
  416. * gnu/javax/security/auth/login/ConfigFileParser.java
  417. (parseAppOrOtherEntry): likewise.
  418. (parse): likewise.
  419. * java/math/BigInteger.java (setBitOp): likewise.
  420. (add): likewise.
  421. (BigInteger): likewise.
  422. * gnu/java/lang/management/BeanImpl.java (translate): likewise.
  423. * javax/swing/text/DefaultStyledDocument.java (ElementBuffer.insertUpdate):
  424. likewise.
  425. * javax/swing/text/AbstractDocument.java (BranchElement): likewise.
  426. * javax/swing/text/JTextComponent.java (getScrollableTracksViewportWidth):
  427. likewise.
  428. * javax/swing/text/FieldView.java (checkContainer): likewise.
  429. * javax/swing/text/AsyncBoxView.java (ChildLocator.updateChildOffsets):
  430. likewise.
  431. * java/text/DecimalFormat.java (formatToCharacterIterator): likewise.
  432. (parse): small refactoring.
  433. 2006-12-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
  434. * java/lang/Enum.java:
  435. (finalize()): Implemented.
  436. 2006-12-18 Andrew John Hughes <gnu_andrew@member.fsf.org>
  437. * gnu/java/lang/management/BeanImpl.java:
  438. (getAttribute(String)): Fix Map and List conversion.
  439. * java/lang/management/ManagementFactory.java:
  440. (newPlatformMXBeanProxy(MBeanServerConnection,
  441. String, Class<T>)): Add a comma.
  442. 2006-12-18 Tom Tromey <tromey@redhat.com>
  443. * vm/reference/java/net/VMNetworkInterface.java (addresses):
  444. Genericized.
  445. (VMNetworkInterface): Updated.
  446. * java/net/URLClassLoader.java (urls): Genericized.
  447. (urlinfos): Likewise.
  448. (addURLImpl): Updated.
  449. (findClass): Likewise.
  450. (newInstance): Likewise.
  451. * java/net/URL.java (ph_cache): Genericized.
  452. (getURLStreamHandler): Updated.
  453. * java/net/ResolverCache.java (cache): Genericized.
  454. (killqueue): Likewise.
  455. * java/net/NetworkInterface.java (getInetAddresses): Genericized.
  456. * java/net/MimeTypeMapper.java (mime_types): Genericized.
  457. (fillFromFile): Likewise.
  458. (main): Likewise.
  459. * gnu/java/net/protocol/jar/Handler.java (flat): Genericized.
  460. * gnu/java/net/protocol/jar/Connection.java (JarFileCache.cache):
  461. Genericized.
  462. (JarFileCache.get): Updated.
  463. * gnu/java/net/protocol/http/SimpleCookieManager.java (cookies):
  464. Genericized.
  465. (SimpleCookieManager): Updated.
  466. (setCookie): Likewise.
  467. (getCookies): Likewise.
  468. (addCookies): Likewise.
  469. * gnu/java/net/protocol/http/Request.java (responseHeaderHandlers):
  470. Genericized.
  471. (Request): Updated.
  472. (createResponseBodyStream): Removed unused variable.
  473. * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Remove
  474. unused variable.
  475. (getRequestProperties): Genericized.
  476. * gnu/java/net/protocol/http/HTTPConnection.java
  477. (handshakeCompletedListeners): Genericized.
  478. (nonceCounts): Likewise.
  479. (HTTPConnection): Updated.
  480. (Pool.connectionPool): Likewise.
  481. (getNonceCount): Updated.
  482. (incrementNonce): Likewise.
  483. * gnu/java/net/protocol/http/Headers.java (headers): Genericized.
  484. * gnu/java/net/protocol/http/ChunkedInputStream.java (CR, LF): Removed
  485. unused fields.
  486. * gnu/java/net/protocol/ftp/FTPURLConnection.java (connect):
  487. Genericized.
  488. (getRequestProperties): Likewise.
  489. (addRequestPropertyValue): Likewise. Fixed return result.
  490. * gnu/java/net/protocol/ftp/FTPConnection.java (nameList):
  491. Genericized.
  492. * gnu/java/net/local/LocalSocket.java: Fixed imports.
  493. * gnu/java/net/local/LocalServerSocket.java: Fixed imports.
  494. * gnu/java/net/loader/URLStreamHandlerCache.java (factoryCache):
  495. Genericized.
  496. (add): Updated.
  497. (get): Likewise.
  498. * gnu/java/net/loader/URLLoader.java (getClassPath): Genericized.
  499. * gnu/java/net/loader/JarURLLoader.java (classPath): Genericized.
  500. (initialize): Updated.
  501. (getClassPath): Genericized.
  502. * gnu/java/net/IndexListParser.java (prefixes): Genericized.
  503. (IndexListParser): Updated.
  504. (getHeaders): Likewise.
  505. * gnu/java/net/HeaderFieldHelper.java (headerFieldKeys): Genericized.
  506. (headerFieldValues): Likewise.
  507. (HeaderFieldHelper): Updated.
  508. (getHeaderFieldValueByKey): Likewise.
  509. (getHeaderFields): Likewise.
  510. * gnu/java/net/GetLocalHostAction.java: Genericized.
  511. * gnu/java/net/DefaultContentHandlerFactory.java (imageTypes):
  512. Genericized.
  513. 2006-12-18 Tom Tromey <tromey@redhat.com>
  514. * java/util/prefs/Preferences.java (getFactory): Genericized.
  515. * java/util/prefs/AbstractPreferences.java (childCache): Genericized.
  516. (nodeListeners): Likewise.
  517. (preferenceListeners): Likewise.
  518. (cachedChildren): Rewrote.
  519. (childrenNames): Updated.
  520. (addNodeChangeListener): Likewise.
  521. (addPreferenceChangeListener): Likewise.
  522. * gnu/java/util/prefs/gconf/GConfNativePeer.java (getKeys):
  523. Genericized.
  524. (getChildrenNodes): Likewise.
  525. (gconf_client_all_nodes): Likewise.
  526. (gconf_client_all_keys): Likewise.
  527. * gnu/java/util/prefs/MemoryBasedPreferences.java (entries):
  528. Genericized.
  529. (keysSpi): Likewise.
  530. (getSpi): Likewise.
  531. * gnu/java/util/prefs/GConfBasedPreferences.java (childrenNamesSpi):
  532. Genericized.
  533. (keysSpi): Likewise.
  534. (postorderRemove): Likewise.
  535. * gnu/java/util/prefs/EventDispatcher.java (queue): Genericized.
  536. (run): Updated.
  537. 2006-12-18 Francis Kung <fkung@redhat.com>
  538. * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
  539. (drawGlyphVector): Round bounds instead of casting & truncating..
  540. 2006-12-17 Tom Tromey <tromey@redhat.com>
  541. * javax/sound/sampled/BooleanControl.java (type): Removed unused
  542. field.
  543. * javax/sound/sampled/AudioSystem.java (getAudioFileTypes):
  544. Genericized.
  545. (getAudioInputStream): Removed unused variable.
  546. (getMixerInfo): Genericized.
  547. (getSourceLineInfo): Likewise.
  548. (getTargetEncodings): Likewise.
  549. (getTargetFormats): Likewise.
  550. (getTargetLineInfo): Likewise.
  551. * javax/sound/sampled/AudioFormat.java (properties): Genericized.
  552. (AudioFormat): Updated.
  553. * javax/sound/sampled/AudioFileFormat.java (properties): Genericized.
  554. (AudioFileFormat): Updated.
  555. 2006-12-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
  556. * java/lang/management/ManagementFactory.java:
  557. (newPlatformMXBeanProxy(MBeanServerConnection,
  558. String, Class<T>)): Initial implementation.
  559. 2006-12-17 Tom Tromey <tromey@redhat.com>
  560. * javax/naming/spi/Resolver.java: Fixed comments and imports.
  561. * javax/naming/ldap/InitialLdapContext.java (InitialLdapContext):
  562. Genericized.
  563. * javax/naming/directory/BasicAttributes.java (attributes):
  564. Genericized.
  565. (BasicAttributes): Updated.
  566. (get): Likewise.
  567. (getAll): Likewise.
  568. (getIDs): Rewrote.
  569. (readObject): Updated.
  570. (BasicAttributesEnumeration): Genericized.
  571. * javax/naming/directory/BasicAttribute.java (BasicAttribute):
  572. Genericized.
  573. (clone): Likewise.
  574. (readObject): Likewise.
  575. * javax/naming/Reference.java (Reference): Genericized.
  576. (clone): Likewise.
  577. (get): Likewise.
  578. (get): Likewise.
  579. * javax/naming/InitialContext.java (colon_list): Genericized.
  580. (merge): Likewise.
  581. * javax/naming/CompoundName.java (elts): Genericized.
  582. (CompoundName): Updated.
  583. (addAll): Likewise.
  584. (compareTo): Likewise.
  585. (endsWith): Likewise.
  586. (get): Likewise.
  587. (hashCode): Likewise.
  588. (startsWith): Likewise.
  589. (readObject): Likewise.
  590. * javax/naming/CompositeName.java (elts): Genericized.
  591. (CompositeName): Updated.
  592. (addAll): Likewise.
  593. (compareTo): Likewise.
  594. (get): Likewise.
  595. (getPrefix): Likewise.
  596. (getSuffix): Likewise.
  597. (toString): Likewise.
  598. (readObject): Likewise.
  599. 2006-12-17 Mark Wielaard <mark@klomp.org>
  600. * doc/www.gnu.org/include/layout.wml: Remove gif reference.
  601. * doc/www.gnu.org/include/macros.wml: Correct FSF contact info.
  602. * doc/www.gnu.org/newsitems.txt: Add 0.93.
  603. * doc/www.gnu.org/downloads/downloads.wml: Likewise.
  604. * doc/www.gnu.org/announce/20061211.wml: New file.
  605. 2006-12-17 Mark Wielaard <mark@klomp.org>
  606. * examples/Makefile.am (JCOMPILER): Don't warn for deprecation,
  607. serial, typeHiding, unchecked, unused and varargsCast.
  608. * tools/Makefile.am (JCOMPILER): Likewise.
  609. 2006-12-17 Mark Wielaard <mark@klomp.org>
  610. * tools/Makefile.am (TOOLS_ZIP): Don't remove .lst files immediately.
  611. (clean-local): Remove all .lst files
  612. * tools/.cvsignore: Add *.lst.
  613. 2006-12-16 Roman Kennke <kennke@aicas.com>
  614. * examples/gnu/classpath/examples/awt/HintingDemo.java:
  615. New demonstration program for the autohinter.
  616. 2006-12-16 Roman Kennke <kennke@aicas.com>
  617. * gnu/java/awt/font/FontDelegate.java
  618. (FLAG_FITTED): New constant field.
  619. (FLAG_NO_HINT_HORIZONTAL): New constant field.
  620. (FLAG_NO_HINT_VERTICAL): New constant field.w
  621. (FLAG_NO_HINT_EDGE_POINTS): New constant field.
  622. (FLAG_NO_HINT_STRONG_POINTS): New constant field.
  623. (FLAG_NO_HINT_WEAK_POINTS): New constant field.
  624. (TYPE_FITTED): Replaced by flags above.
  625. (TYPE_SCALED): Replaced by flags above.
  626. (TYPE_ORIGINAL): Replaced by flags above.
  627. * gnu/java/awt/font/GNUGlyphVector.java
  628. (getGlyphOutline): Use FLAG_FITTED.
  629. * gnu/java/awt/font/autofit/AutoHinter.java
  630. (setFlags): New method. Sets hinting flags.
  631. * gnu/java/awt/font/autofit/GlyphHints.java
  632. (flags): New field.
  633. (alignStrongPoint): Use 16.16 fixed arithmetic.
  634. (doAlignEdgePoints): New helper method.
  635. (doAlignStrongPoints): New helper method.
  636. (doAlignWeakPoints): New helper method.
  637. (doHorizonal): Check flags.
  638. (doVertical): Check flags.
  639. * gnu/java/awt/font/autofit/Latin.java
  640. (applyHints): Check hinting flags.
  641. (computeEdges): Also initialize fitted position.
  642. (scaleMetricsDim): Commented out buggy block.
  643. * gnu/java/awt/font/opentype/Hinter.java
  644. (setFlags): New method.
  645. * gnu/java/awt/font/opentype/OpenTypeFont.java
  646. (checkHinter): Accept flags parameter.
  647. (createGlyphVector): Pass flags to hinter.
  648. (getGlyphOutline): Pass flags to hinter.
  649. * gnu/java/awt/font/opentype/truetype/Fixed.java
  650. (floatValue16): New method.
  651. * gnu/java/awt/font/opentype/truetype/Zone.java
  652. (getX): Use new flags.
  653. (getY): Use new flags.
  654. 2006-12-16 Mark Wielaard <mark@klomp.org>
  655. * tools/Makefile.am (TOOLS_ZIP): Remove all-classes.lst.
  656. (clean-local): Likewise.
  657. 2006-12-16 Mark Wielaard <mark@klomp.org>
  658. * tools/Makefile.am (TOOLS_ZIP): Don't pass -w to JCOMPILER.
  659. 2006-12-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
  660. * java/util/Collections.java:
  661. (toArray()): Return Object[] as required.
  662. (toArray(S[])): Use new type variable S rather than
  663. the class one.
  664. 2006-12-15 Christian Thalinger <twisti@complang.tuwien.ac.at>
  665. * m4/acinclude.m4 (CLASSPATH_FIND_JAVAC): Added support for Sun's
  666. javac.
  667. (CLASSPATH_WITH_JAVAC): Added.
  668. (CLASSPATH_CHECK_JAVAC): Likewise.
  669. * lib/Makefile.am (JAVAC): Renamed to JCOMPILER.
  670. (FOUND_JAVAC): Added support for Sun's javac.
  671. * examples/Makefile.am: Likewise.
  672. * tools/Makefile.am: Likewise.
  673. 2006-12-15 Francis Kung <fkung@redhat.com>
  674. * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
  675. (draw): Pass boolean to setAntialias.
  676. (drawGlyphVector): Likewise.
  677. (drawString): Likewise.
  678. (fill): Likewise.
  679. (setAntialias): Change signature to accept boolean.
  680. 2006-12-15 Roman Kennke <kennke@aicas.com>
  681. * gnu/java/awt/font/FontDelegate.java
  682. (TYPE_FITTED): New constant.
  683. (TYPE_ORIGINAL): New constant.
  684. (TYPE_SCALED): New constant.
  685. (getGlyphOutline): Allow the kind of outline be specified as one
  686. of the constants above.
  687. * gnu/java/awt/font/GNUGlyphVector.java
  688. (getGlyphOutline(int,int)): Add type parameter for fetching
  689. the intermediate outlines for debugging.
  690. (getGlyphOutline(int)): Fetch TYPE_FITTED outline from font
  691. delegate.
  692. (getOutline(float,float,int)): Added for debugging purpose.
  693. (performDefaultLayout): Round the advance here for better hinting.
  694. This is only a workaround for not hinting the metrics right now.
  695. * gnu/java/awt/font/autofit/AxisHints.java
  696. (getEdgeIndex): New helper method. Fetches the index of
  697. a given edge in the array.
  698. (newEdge): Fixed sorting.
  699. * gnu/java/awt/font/autofit/Edge.java
  700. (pos): New field. Stores the fitted position.
  701. (scale): New field.
  702. (toString): More debug output.
  703. * gnu/java/awt/font/autofit/GlyphHints.java
  704. (alignEdgePoints): New method. Aligns the points of an outline
  705. to their edges hinted positions.
  706. (alignStrongPoints): New method. Aligns strong points.
  707. (alignWeakPoints): New method. Aligns weak points.
  708. (getPointIndex): New helper method.
  709. (iupInterp): New helper method. Interpolates points.
  710. (iupShift): New helper method. Shifts a complete contour.
  711. (storePoint): New helper method.
  712. * gnu/java/awt/font/autofit/Latin.java
  713. (alignEdgePoints): Moved to GlyphHints.
  714. (alignLinkedEdge): New helper method.
  715. (alignSerifEdge): New helper method.
  716. (alignStrongPoints): Moved to GlyphHints.
  717. (alignWeakPoints): Moved to GlyphHints.
  718. (applyHints): Call moved methods on GlyphHints.
  719. (computeStemWidth): New helper method.
  720. (doHorzSnap): New helper method.
  721. (doVertSnap): New helper method.
  722. (doMono): New helper method.
  723. (doneWidth): New helper method.
  724. (doStemAdjust): New helper method.
  725. (hintEdges): Implemented.
  726. (initWidths): Removed old comment.
  727. (snapWidth): New helper method.
  728. * gnu/java/awt/font/autofit/Width.java
  729. (toString): More debug output.
  730. * gnu/java/awt/font/opentype/OpenTypeFont.java
  731. (getGlyphOutline): Add type parameter for debugging.
  732. * gnu/java/awt/font/opentype/Scaler.java
  733. (getOutline): Add type parameter for debugging.
  734. * gnu/java/awt/font/opentype/truetype/Point.java
  735. Make all flags of short type. Add new accessor methods for
  736. coordinates that can return scaled and original shapes too.
  737. * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java
  738. (getOutline): Add type parameter for debugging.
  739. * gnu/java/awt/font/opentype/truetype/Zone.java
  740. Add type parameter to X and Y accessors.
  741. (getPath): Add type parameter.
  742. (getPathIterator): Likewise.
  743. (transform): Do store transformed value in the x and y fields too.
  744. * gnu/java/awt/font/opentype/truetype/ZonePathIterator.java
  745. (type): New field.
  746. (ZonePathIterator): Add type parameter.
  747. (getSegment): Fetch coordinates with type.
  748. (getStartSegment): Likewise.
  749. 2006-12-15 Christian Thalinger <twisti@complang.tuwien.ac.at>
  750. * autogen.sh: Check for all 2.6x autoconf versions.
  751. 2006-12-15 Francis Kung <fkung@redhat.com>
  752. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  753. (antialias): New private field.
  754. (ignoreAA): New private field.
  755. (cairoSetAntialias): New native method.
  756. (draw): Check anti-alias setting.
  757. (drawGlyphVector): Likewise.
  758. (drawString): Likewise.
  759. (fill): Likewise.
  760. (setAntialias): New private method.
  761. (setup): Set default antialias value.
  762. * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
  763. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c:
  764. (gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetAntialias): New method.
  765. 2006-12-15 Tom Tromey <tromey@redhat.com>
  766. * external/jsr166/.cvsignore: Added Makefile.
  767. 2006-12-15 Tom Tromey <tromey@redhat.com>
  768. * tools/gnu/classpath/tools/serialver/SerialVer.java (addFileURL):
  769. Genericized.
  770. (getClassLoader): Likewise.
  771. (classes): Likewise.
  772. * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java (main):
  773. Removed unused variable.
  774. * tools/gnu/classpath/tools/jar/WorkSet.java (allItems): Genericize.
  775. (initSet): Likewise.
  776. * tools/gnu/classpath/tools/jar/Main.java (entries): Genericize.
  777. * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile):
  778. Genericized.
  779. * tools/gnu/classpath/tools/jar/Creator.java (writeFile): Close the
  780. input stream.
  781. (writtenItems): Genericize.
  782. (addEntries): Likewise.
  783. (getAllEntries): Likewise.
  784. 2006-12-15 Tom Tromey <tromey@redhat.com>
  785. PR classpath/29526:
  786. * gnu/java/nio/ChannelInputStream.java (read): New overload.
  787. (read): Mask return result.
  788. 2006-12-15 Andrew Haley <aph@redhat.com>
  789. * tools/Makefile.am (TOOLS_ZIP): Pass -g -w to javac.
  790. Create all-classes.lst that contains all source filenames.
  791. Delete asm.lst.
  792. * tools/gnu/classpath/tools/jar/Creator.java (writeFile): Close
  793. the inputStream.
  794. 2006-12-14 David Daney <ddaney@avtrex.com>
  795. * gnu/java/net/protocol/http/HTTPURLConnection.java: Clean
  796. imports.
  797. (getHeaderFields): Change return type to Map<String,List<String>>
  798. * gnu/java/net/protocol/http/Headers.java: Clean imports.
  799. (headers) Change type to ArrayList<HeaderElement>.
  800. (iterator) Change return type to Iterator<HeaderElement>.
  801. (getValue) Remove casts.
  802. (put) Same.
  803. (putAll) Same.
  804. (remove) Same.
  805. (getAsMap) Change return type to Map<String,List<String>> and use
  806. generics internally.
  807. (getHeaderName) Remove casts.
  808. (getHeaderValue) Same.
  809. 2006-12-14 Roman Kennke <kennke@aicas.com>
  810. * gnu/java/awt/font/autofit/HintScaler.java
  811. Renamed Scaler to HintScaler to avoid name-clash.
  812. * gnu/java/awt/font/autofit/AutoHinter.java
  813. (scaler): New field.
  814. (applyHints): Scale the metrics before applying the hints.
  815. (init): Copy font into scaler.
  816. * gnu/java/awt/font/autofit/Edge.java
  817. (blueEdge): New field.
  818. (toString): Include first and last fields in debug output.
  819. * gnu/java/awt/font/autofit/GlyphHints.java
  820. (reload): Grab the scales here.
  821. * gnu/java/awt/font/autofit/Latin.java
  822. (computeBlueEdges): Implemented blue-edge detection.
  823. (computeEdges): Correctly calculate edgeDistanceThreshold and
  824. the scaled edge position.
  825. (initWidths): Renamed Scaler to HintScaler. Sort widths and
  826. store widthCount.
  827. (scaleMetrics): Add HintScaler parameter. Implemented to scale
  828. the metrics.
  829. (scaleMetricsDim): New helper method.
  830. * gnu/java/awt/font/autofit/LatinAxis.java
  831. (orgDelta): New field.
  832. (orgScale): New field.
  833. * gnu/java/awt/font/autofit/LatinBlue.java: Reordered flags.
  834. (FLAG_BLUE_ACTIVE): New flag.
  835. * gnu/java/awt/font/autofit/Scaler.java: Renamed to HintScaler.
  836. * gnu/java/awt/font/autofit/Script.java
  837. (scaleMetrics): Add HintScaler argument.
  838. * gnu/java/awt/font/autofit/ScriptMetrics.java
  839. Renamed Scaler to HintScaler.
  840. * gnu/java/awt/font/autofit/Utils.java
  841. (sort(int,Width[])): New helper method. Sorts Width arrays.
  842. (mulDiv): New helper method.
  843. (pixFloor): New helper method.
  844. (pixRound): New helper method.
  845. * gnu/java/awt/font/autofit/Width.java
  846. (toString): New method. For debug output.
  847. * gnu/java/awt/font/opentype/truetype/Fixed.java
  848. (mul16): New method. Multiplies with 16.16 fixed point arithmetics.
  849. (div16): New method. Divides with 16.16 fixed point arithmetics.
  850. (valueOf16): New method. Converts double to 16.16 fixed point.
  851. * gnu/java/awt/font/opentype/truetype/Zone.java
  852. (scaleX): New field.
  853. (scaleY): New field.
  854. (shearX): New field.
  855. (shearY): New field.
  856. (transform): Store translation and shearing in fields instead of
  857. local vars.
  858. 2006-12-14 Roman Kennke <kennke@aicas.com>
  859. * gnu/java/awt/font/autofit/AutoHinter.java
  860. (hints): New field.
  861. (applyHints): New method. Implements the actual hinting.
  862. * gnu/java/awt/font/autofit/AxisHints.java
  863. (edges): New field.
  864. (AxisHints): Initialize edges field.
  865. (newEdge): New method. Records a new edge and sorts it into the
  866. existing list.
  867. * gnu/java/awt/font/autofit/Edge.java: New class.
  868. * gnu/java/awt/font/autofit/GlyphHints.java
  869. (GlyphHints): Initialize the scales with 1.
  870. (doHorizontal): New method.
  871. (doVertical): New method.
  872. * gnu/java/awt/font/autofit/Latin.java
  873. (alignEdgePoints): New stub method.
  874. (alignStrongPoints): New stub method.
  875. (alignWeakPoints): New stub method.
  876. (applyHints): Take outline as argument. Implemented skeleton.
  877. (computeBlueEdges): New stub method.
  878. (computeEdges): New method. Detects edges on a glyph outline.
  879. (detectFeatures): New methods. Performs local feature analysis.
  880. (hintEdges): New stub method.
  881. (initBlues): Remove debug output.
  882. * gnu/java/awt/font/autofit/LatinAxis.java
  883. (edgeDistanceThreshold): Changed to be an int
  884. (as fixed-point decimal).
  885. * gnu/java/awt/font/autofit/Script.java
  886. (applyHints): Include the outline in the method call.
  887. * gnu/java/awt/font/autofit/Segment.java
  888. (FLAG_EDGE_NORMAL): Set value to 0.
  889. (FLAG_EDGE_SERIF): New constant.
  890. (FLAG_EDGE_DONE): New constant.
  891. (edge): New field.
  892. (edgeNext): New field.
  893. * gnu/java/awt/font/opentype/Hinter.java
  894. (applyHints): New method. Applies the hints to the specified outline.
  895. * gnu/java/awt/font/opentype/OpenTypeFont.java
  896. (getGlyphOutline): Check the hinter and call the scaler with the
  897. hinter.
  898. * gnu/java/awt/font/opentype/Scaler.java
  899. (getOutline): Also pass a Hinter.
  900. * gnu/java/awt/font/opentype/truetype/GlyphLoader.java
  901. (loadCompoundGlyph): Also accept a hinter argument.
  902. (loadGlyph): Also accept a hinter argument.
  903. (loadSimpleGlyph): Also accept a hinter argument. Hint the
  904. resulting outline.
  905. (loadSubGlyph): Also accept a hinter argument.
  906. * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java
  907. (getOutline): Accept hinter and pass it to the loader.
  908. (getRawOutline): Pass null hinter to the loader.
  909. 2006-12-14 Roman Kennke <kennke@aicas.com>
  910. * gnu/java/awt/font/autofit/LatinBlue.java:
  911. New class.
  912. 2006-12-14 Roman Kennke <kennke@aicas.com>
  913. * gnu/java/awt/font/autofit/Latin.java
  914. (CAPITAL_TOP): New constant.
  915. (CAPITAL_BOTTOM): New constant.
  916. (SMALL_F_TOP): New constant.
  917. (SMALL_TOP): New constant.
  918. (SMALL_BOTTOM): New constant.
  919. (SMALL_MINOR): New constant.
  920. (BLUE_MAX): New constant.
  921. (IDENTITY): New constant transform.
  922. (MAX_TEST_CHARS): New constant.
  923. (TEST_CHARS): New constants.
  924. (initBlues): Implemented.
  925. (initWidths): Use constant identity transform for loading
  926. the test glyph.
  927. (isTopBlue): New helper method.
  928. * gnu/java/awt/font/autofit/LatinAxis.java
  929. (widths): Initialize in constructor.
  930. (blues): New field. Stores the blue zones.
  931. (blueCount): New field. The number of blue zones.
  932. (LatinAxis): New constructor.
  933. * gnu/java/awt/font/autofit/Utils.java
  934. (sort): New helper method.
  935. * gnu/java/awt/font/opentype/truetype/Zone.java
  936. (getContourEnd): New helper method.
  937. 2006-12-13 David Daney <ddaney@avtrex.com>
  938. * java/lang/Collections.java
  939. (UnmodifiableEntrySet.toArray): Fix bad casts.
  940. 2006-12-13 Roman Kennke <kennke@aicas.com>
  941. * gnu/java/awt/font/autofit/AutoHinter.java: New class. The entry
  942. point into the autohinter.
  943. * gnu/java/awt/font/autofit/AxisHints.java
  944. (majorDir): New field.
  945. (numEdges): New field.
  946. (numSegments): New field.
  947. (AxisHints): New constructor.
  948. (newSegment): New method. Records a new segment.
  949. * gnu/java/awt/font/autofit/Constants.java
  950. (DIR_DOWN): New constant.
  951. (DIR_LEFT): New constant.
  952. (DIR_RIGHT): New constant.
  953. (DIR_TOP): New constant.
  954. (DIR_NONE): New constant.
  955. * gnu/java/awt/font/autofit/GlyphHints.java
  956. (contours): New field.
  957. (numContours): New field.
  958. (maxPoints): New field.
  959. (metrics): New field.
  960. (numPoints): New field.
  961. (points): New field.
  962. (GlyphHints): New constructor.
  963. (computeInflectionPoints): New helper method.
  964. (computeSegments): Moved to Latin.
  965. (linkSegments): Moved to Lating.
  966. (reload): Implemented.
  967. (rescale): Copy the metrics.
  968. (setWeakPoint): New helper method.
  969. * gnu/java/awt/font/autofit/Latin.java
  970. (MAX_WIDTH): Make package private.
  971. (computeSegments): New method. Computes the segments to a glyph.
  972. (initWidths): Implemented. Determines the standard widths of stems
  973. for the font.
  974. (linkSegments): New method. Links stem segments and determines
  975. serif segments.
  976. * gnu/java/awt/font/autofit/LatinMetrics.java
  977. (LatinMetrics()): New constructor.
  978. (LatinMetrics(OpenTypeFont)): New constructor.
  979. * gnu/java/awt/font/autofit/ScriptMetrics.java
  980. (ScriptMetrics): New constructor.
  981. * gnu/java/awt/font/autofit/Segment.java
  982. (FLAG_EDGE_NORMAL): New constant.
  983. (FLAG_EDGE_ROUND): New constant.
  984. (contour): New field.
  985. (dir): New field.
  986. (first): New field.
  987. (flags): New field.
  988. (index): Removed.
  989. (last): New field.
  990. (len): New field.
  991. (maxPos): New field.
  992. (minPos): New field.
  993. (numLinked): New field.
  994. (score): New field.
  995. (serif): New field.
  996. (toString): New method. For debug output.
  997. * gnu/java/awt/font/autofit/Utils.java: New utility class.
  998. * gnu/java/awt/font/opentype/Hinter.java: New interface for
  999. hinter implementations.
  1000. * gnu/java/awt/font/opentype/OpenTypeFont.java
  1001. (hinter): New field. Stores the hinter for that font.
  1002. (checkHinter): Checks if a hinter is installed and installs one
  1003. if necessary.
  1004. (createGlyphVector): Check installed hinter.
  1005. * gnu/java/awt/font/opentype/truetype/Fixed.java: Make class public
  1006. for access in the autohinting package.
  1007. * gnu/java/awt/font/opentype/truetype/Point.java: New class. Stores
  1008. coordinates and additional info that describe the outline of a glyph.
  1009. * gnu/java/awt/font/opentype/truetype/Zone.java: Use Point class
  1010. for storing the points.
  1011. 2006-12-13 Tom Tromey <tromey@redhat.com>
  1012. * java/security/BasicPermission.java: Remove gcj workaround.
  1013. * java/security/cert/X509Certificate.java: Remove gcj workaround.
  1014. * java/net/ServerSocket.java (ServerSocket): Remove gcj
  1015. workaround.
  1016. (getImpl): Likewise.
  1017. * java/util/TreeMap.java (TreeIterator): Remove gcj workaround.
  1018. * java/text/AttributedStringIterator.java (getRunLimit): Remove
  1019. qualifications.
  1020. (getRunStart): Likewise.
  1021. * java/awt/AWTKeyStroke.java (removeEldestEntry): Remove gcj
  1022. workaround.
  1023. * java/awt/AlphaComposite.java (removeEldestEntry): Remove gcj
  1024. workaround.
  1025. * java/awt/geom/GeneralPath.java (WIND_EVEN_ODD, WIND_NON_ZERO,
  1026. BIG_VALUE): Don't fully qualify.
  1027. * gnu/javax/sound/midi/alsa/AlsaMidiSequencerDevice.java: Removed
  1028. imports.
  1029. * gnu/javax/sound/midi/alsa/AlsaPortDevice.java: Removed import.
  1030. * gnu/javax/sound/midi/dssi/DSSISynthesizer.java: Removed import.
  1031. * javax/swing/JComponent.java (firePropertyChange): Removed.
  1032. * javax/swing/text/InternationalFormatter.java (clone):
  1033. Uncomment.
  1034. * javax/swing/text/AbstractDocument.java (addEdit): Remove gcj
  1035. workaround.
  1036. (getChange): Likewise.
  1037. 2006-12-13 Tom Tromey <tromey@redhat.com>
  1038. * examples/Makefile.am: Removed gcjx code.
  1039. * lib/Makefile.am: Removed gcjx code.
  1040. * tools/Makefile.am: Removed gcjx code.
  1041. * m4/acinclude.m4 (CLASSPATH_FIND_JAVAC): Removed gcjx code.
  1042. (CLASSPATH_WITH_GCJX): Removed.
  1043. (CLASSPATH_CHECK_GCJX): Likewise.
  1044. 2006-12-13 Tom Tromey <tromey@redhat.com>
  1045. * tools/toolwrapper.c (MAINCLASS): New define.
  1046. (main): Use it.
  1047. * tools/Makefile.am (gnative2ascii_CFLAGS): Added -D for
  1048. MAINCLASS.
  1049. (gserialver_CFLAGS): Likewise.
  1050. * tools/gnative2ascii.in: Main class is named Native2ASCII.
  1051. * tools/gserialver.in: Main class is named SerialVer.
  1052. 2006-12-12 Roman Kennke <kennke@aicas.com>
  1053. * javax/imageio/FileCacheImageOutputStream.java
  1054. (cache): New field. The actual cache as RandomAccessFile.
  1055. (cacheDir): Removed. Not needed at all.
  1056. (cacheFile): New field. The cache file.
  1057. (maxPos): New field. Stores the maximum position.
  1058. (FileCacheImageOutputStream): Initialize cache file.
  1059. (checkStreamClosed): Removed. This should be done by the super
  1060. method checkClosed().
  1061. (close): Properly close the stream and delete the cache.
  1062. (flushBefore): Implemented to also flush the cache.
  1063. (length): Implemented to return the length of the cache.
  1064. (read()): Implemented to read from the cache.
  1065. (read(byte[],int,int)): Likewise.
  1066. (seek): Implemented to seek the cache too.
  1067. (write(int)): Write to cache.
  1068. (write(byte[],int,int))
  1069. 2006-12-12 Francis Kung <fkung@redhat.com>
  1070. PR 30155
  1071. * javax/imageio/spi/IIORegistry.java (IIORegistry): Register Toolkit SPIs.
  1072. 2006-12-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
  1073. * javax/management/AttributeList.java:
  1074. Extend ArrayList<Object>.
  1075. 2006-12-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
  1076. PR classpath/30154:
  1077. * javax/management/MBeanServer.java:
  1078. (createMBeanServer(String)): Check for a null
  1079. builder.
  1080. 2006-12-11 Roman Kennke <kennke@aicas.com>
  1081. * java/awt/print/PrinterJob.java
  1082. (lookupStreamPrintServices): Uncommented and fixed parameters.
  1083. 2006-12-11 Roman Kennke <kennke@aicas.com>
  1084. * java/awt/datatransfer/SystemFlavorMap.java
  1085. (flavorToNativeMap): Make typesafe.
  1086. (nativeToFlavorMap): Make typesafe.
  1087. (SystemFlavorMap): Read in mapping by reading the flavormap.properties.
  1088. (addFlavorForUnencodedNative): Access maps in a typesafe way.
  1089. (addUnencodedNativeForFlavor): Access maps in a typesafe way.
  1090. (getFlavorsForNative): Implemented.
  1091. (getNativesForFlavor): Implemented.
  1092. (setupMapping): New helper method.
  1093. 2006-12-11 Jeroen Frijters <jeroen@frijters.net>
  1094. * javax/net/ssl/SSLSocketFactory.java (getDefault):
  1095. Chain exception cause.
  1096. 2006-12-11 Roman Kennke <kennke@aicas.com>
  1097. * .classpath: Include ASM in Eclipse classpath.
  1098. 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
  1099. * gnu/java/lang/management/BeanImpl.java:
  1100. (translate(String)): Trim strings of whitespace.
  1101. * javax/management/MBeanAttributeInfo.java:
  1102. (MBeanAttributeInfo(String,String,Method,Method)):
  1103. Use Class.getName() for normal (non-parameterized) cases.
  1104. * javax/management/MBeanConstructorInfo.java:
  1105. (MBeanConstructorInfo(String, Constructor)):
  1106. Likewise.
  1107. * javax/management/MBeanOperationInfo.java:
  1108. (MBeanOperationInfo(String, Method)):
  1109. Likewise.
  1110. 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
  1111. * java/lang/Class.java:
  1112. (getClasses()): Return Class<?>[].
  1113. (internalGetClasses()): Likewise.
  1114. (getConstructor(Class<?>...)): Add type parameter
  1115. to parameters.
  1116. (getDeclaredConstructor(Class<?>...)): Likewise.
  1117. (getDeclaredClasses()): Return Class<?>[].
  1118. (getDeclaredClasses(boolean)): Likewise.
  1119. (getDeclaredConstructors()): Return Constructor<?>[].
  1120. (getDeclaredConstructors(boolean)): Likewise.
  1121. (getDeclaredMethod(String,Class<?>...)): Add type
  1122. parameter to parameters.
  1123. (getInterfaces()): Return Class<?>[].
  1124. (getMethods(String,Class<?>...)): Add type
  1125. parameter to parameters.
  1126. * java/text/CollationKey.java:
  1127. Make non-final.
  1128. * java/text/DecimalFormatSymbols.java:
  1129. Likewise.
  1130. 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
  1131. * gnu/java/lang/management/BeanImpl.java:
  1132. (translate(String)): Handle Map and List as
  1133. Strings of the form "java.util.Map<K,V>" and
  1134. "java.util.List<E>"
  1135. * javax/management/MBeanAttributeInfo.java:
  1136. (MBeanAttributeInfo(String,String,Method,Method)):
  1137. Use generic parameter and return types.
  1138. * javax/management/MBeanConstructorInfo.java:
  1139. (MBeanConstructorInfo(String, Constructor)):
  1140. Use generic parameter types.
  1141. * javax/management/MBeanOperationInfo.java:
  1142. (MBeanOperationInfo(String, Method)):
  1143. Use generic parameter and return types.
  1144. 2006-12-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
  1145. * gnu/java/lang/management/BeanImpl.java:
  1146. (translate(String)): Comment out code for using type
  1147. variables for Map and List.
  1148. * java/lang/Thread.java:
  1149. (Thread(ThreadGroup,Runnable,String,long)): Fix
  1150. incrementation of totalThreadsCreated to be prior to use.
  1151. 2006-12-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
  1152. * javax/management/MBeanServerFactory.java:
  1153. (createMBeanServer(String)): Added security check.
  1154. (findMBeanServer(String)): Likewise.
  1155. (newMBeanServer(String)): Likewise.
  1156. (releaseMBeanServer(String)): Likewise.
  1157. * javax/management/MBeanServerPermission.java:
  1158. New file.
  1159. 2006-12-08 David Daney <ddaney@avtrex.com>
  1160. * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
  1161. Fix comment.
  1162. 2006-12-08 David Daney <ddaney@avtrex.com>
  1163. * NEWS: Mention URLConnection.[get|set]ReadTimeout.
  1164. 2006-12-08 David Daney <ddaney@avtrex.com>
  1165. * gnu/java/net/protocol/http/HTTPConnection.java (imports): Add
  1166. SocketException.
  1167. (HTTPConnection): Handle NumberFormatException in properties parsing.
  1168. (Pool.get): Set timeout on reused sockets.
  1169. * gnu/java/net/protocol/http/HTTPURLConnection.java (proxyPort):
  1170. Initialize.
  1171. (HTTPURLConnection): Cleanup properties handling.
  1172. (getConnection): Use both connection and read timeouts.
  1173. (setConnectTimeout): Removed.
  1174. (setReadTimeout): New method.
  1175. * java/net/URLConnection.java (timeout): Renamed to...
  1176. (connectTimeout): ... connectTimeout throughout.
  1177. (readTimeout): New field.
  1178. (getReadTimeout): New method.
  1179. (setReadTimeout): New method.
  1180. 2006-12-08 Tania Bento <tbento@redhat.com>
  1181. * java/awt/ScrollPane.java
  1182. (doLayout): Change the location of the scrollpane's child
  1183. to (0, 0).
  1184. 2006-12-08 David Daney <ddaney@avtrex.com>
  1185. * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
  1186. New method.
  1187. (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): Throw
  1188. SocketTimeoutException if a blocking socket timesout.
  1189. (Java_gnu_java_nio_VMChannel_readScattering): Same.
  1190. (Java_gnu_java_nio_VMChannel_read__I): Same.
  1191. (Java_gnu_java_nio_VMChannel_connect): Initialize the fd set.
  1192. (Java_gnu_java_nio_VMChannel_connect6): Same.
  1193. 2006-12-08 Mark Wielaard <mark@klomp.org>
  1194. * configure.ac (VERSION): Set to 0.93-generics.
  1195. * NEWS: Add release date.
  1196. 2006-12-08 Tania Bento <tbento@redhat.com>
  1197. * java/awt/ScrollPane.java
  1198. (getScrollPosition): Throw NullPointerException if scrollpane
  1199. does have a child.
  1200. (setScrollPosition(int, int)): Throw NullPointerException if
  1201. scrollpane does have a child. Check that both ints are within
  1202. the allowed bounds; If they are not, scroll to the closest allowed
  1203. bound.
  1204. 2006-12-07 Roman Kennke <kennke@aicas.com>
  1205. * javax/swing/JEditorPane.java
  1206. (EditorKitMapping): New inner helper class.
  1207. (editorKits): New static field for caching editor kit instances.
  1208. (static_initiazer): Initialize static mappings here.
  1209. (createEditorKitForContentType): Try to use cached instance.
  1210. Use correct classloader for loading.
  1211. (getEditorKitClassNameForContentType): Make use of EditorKitMapping
  1212. class.
  1213. (getEditorKitForContentType): Store the fetched editor kit.
  1214. Fallback to createDefaultEditorKit().
  1215. (init): Don't clean the static registry here.
  1216. (registerEditorKitForContentType(String,String,ClassLoader)):
  1217. Implemented.
  1218. (registerEditorKitForContentType(String,String)): Delegate to
  1219. the other version of this method with the thread's context
  1220. classloader.
  1221. 2006-12-07 Mark Wielaard <mark@klomp.org>
  1222. * examples/gnu/classpath/examples/swing/HtmlDemo.java
  1223. (setPage): Don't convert URL to String for setPage().
  1224. 2006-12-07 Mark Wielaard <mark@klomp.org>
  1225. * tools/Makefile.am (clean-local): Remove iasm and asm.lst.
  1226. 2006-12-07 Mark Wielaard <mark@klomp.org>
  1227. * tools/Makefile.am: Explicitly define and use bootclasspath as
  1228. GLIBJ_BOOTCLASSPATH
  1229. 2006-12-07 Mark Wielaard <mark@klomp.org>
  1230. * javax/swing/JEditorPane.java (createEditorKitForContentType):
  1231. Always load from system class loader.
  1232. 2006-12-07 Mark Wielaard <mark@klomp.org>
  1233. * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
  1234. private constructor.
  1235. (URL(URL,String,URLStreamHandler)): Call new constructor.
  1236. (URL(URL,String)): Likewise.
  1237. (URL(String)): Likewise.
  1238. 2006-12-07 Tom Tromey <tromey@redhat.com>
  1239. * NEWS: Mention ASM.
  1240. * INSTALL: Don't mention --with-asm.
  1241. * tools/external/README: New file.
  1242. * tools/toolwrapper.c (main): Don't use ASM_JAR.
  1243. * tools/gjavah.in: Don't use PATH_TO_ASM.
  1244. * tools/grmic.in: Likewise.
  1245. * tools/Makefile.am (GLIBJ_CLASSPATH): Removed PATH_TO_ASM, added
  1246. 'asm'.
  1247. (javah, rmic): Removed variables.
  1248. (bin_PROGRAMS): Updated.
  1249. (gappletviewer_CFLAGS): Don't define ASM_JAR.
  1250. (gjarsigner_CFLAGS): Likewise.
  1251. (gkeytool_CFLAGS): Likewise.
  1252. (gjar_CFLAGS): Likewise.
  1253. (gnative2ascii_CFLAGS): Likewise.
  1254. (gserialver_CFLAGS): Likewise.
  1255. (grmiregistry_CFLAGS): Likewise.
  1256. (gtnameserv_CFLAGS): Likewise.
  1257. (gorbd_CFLAGS): Likewise.
  1258. (grmid_CFLAGS): Likewise.
  1259. (gjavah_CFLAGS): Likewise.
  1260. (grmic_CFLAGS): Likewise.
  1261. (bin_SCRIPTS): Updated.
  1262. (TOOLS_JAVA_FILES): Updated.
  1263. ($(TOOLS_ZIP)): Compile ASM sources. Copy resource files.
  1264. * configure.ac: Removed --with-asm. Always build gjavah.
  1265. 2006-12-06 Roman Kennke <kennke@aicas.com>
  1266. * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
  1267. New class.
  1268. * examples/gnu/classpath/examples/swing/HtmlDemo.java
  1269. (LoadActionListener): Call setPage() helper method.
  1270. (createContent): Register tweaked editor kit. For FormSubmitEvents
  1271. call submitForm(), otherwise setPage().
  1272. (postData): Helper method for posting form data.
  1273. (setPage): Helper method for navigating to a new URL.
  1274. (submitForm): Helper method for submitting a form.
  1275. * examples/gnu/classpath/examples/swing/forms.html:
  1276. Added text/password fields and select boxes.
  1277. * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
  1278. 2006-12-06 Roman Kennke <kennke@aicas.com>
  1279. * javax/swing/text/html/FormView.java
  1280. (SubmitThread.postData): Implemented.
  1281. (SubmitThread.run): Pass data to postData().
  1282. (actionPerformed): Reset form when reset button is activated.
  1283. (createComponent): Add support for select lists and comboboxes.
  1284. Don't set value of text and password fields here, this is done
  1285. now in HTMLDocument for consistency.
  1286. (getElementFormData): Add support for fetching form data from
  1287. select lists and comboboxes as well as textareas.
  1288. (getSelectData): New helper method. Fetches form data from
  1289. select boxes.
  1290. (getTextAreaData): New helper method. Fetches form data from
  1291. textareas.
  1292. (resetForm): New helper method. Resets the entire form.
  1293. * javax/swing/text/html/HTMLDocument.java
  1294. (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
  1295. (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
  1296. (HTMLReader.FormAction.setModel): Initialize text and password
  1297. values here. Also, use the resetable special models.
  1298. Group radio buttons into ButtonGroup for exclusive selection.
  1299. (HTMLReader.FormTagAction): New class. Handles FORM tags.
  1300. (HTMLReader.buttonGroups): New field.
  1301. (HTMLReader.numOptions): New field.
  1302. (HTMLReader.option): New field.
  1303. (HTMLReader.selectModel): New field.
  1304. (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
  1305. (HTMLReader.handleText): Handle OPTION text.
  1306. (HTMLReader.initTags): Map FORM tags to FormTagAction.
  1307. (HTMLReader.textAreaContent): Set initial content.
  1308. * javax/swing/text/html/Option.java
  1309. (Option): Make copy of attribute set. Initialize selected state.
  1310. (getValue): Fetch value from attribute set.
  1311. * javax/swing/text/html/ResetableModel.java: New interface.
  1312. * javax/swing/text/html/ResetablePlainDocument.java: New class.
  1313. Supports resetting the state.
  1314. * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
  1315. * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
  1316. * javax/swing/text/html/SelectListModel.java: Likewise.
  1317. 2006-12-06 Roman Kennke <kennke@aicas.com>
  1318. * javax/swing/text/DefaultCaret.java
  1319. (appear): Adjust visibility here.
  1320. (setDotImpl): Don't adjust visibility here.
  1321. (moveDotImpl): Don't adjust visibility here.
  1322. 2006-12-06 Roman Kennke <kennke@aicas.com>
  1323. * gnu/java/awt/peer/gtk/AsyncImage.java
  1324. (Loader.run): Synchronize on the AsyncImage to avoid threading
  1325. issues.
  1326. (addObservers): Check for obs==null outside and synchronize on
  1327. this inside to avoid locking issues.
  1328. (checkImage): New helper method.
  1329. (notifyObservers): Check that the correct lock is held and
  1330. remove actual locking.
  1331. * gnu/java/awt/peer/gtk/GtkToolkit.java
  1332. (checkImage): Added special handling for AsyncImages.
  1333. 2006-12-06 Roman Kennke <kennke@aicas.com>
  1334. * examples/gnu/classpath/examples/swing/Demo.java
  1335. (getIcon): Made package private.
  1336. * examples/gnu/classpath/examples/swing/HtmlDemo.java
  1337. (hyperlinkUpdate): Convert URL to string.
  1338. 2006-12-06 Mark Wielaard <mark@klomp.org>
  1339. * gnu/java/awt/peer/gtk/AsyncImage.java (addObserver): Never notify
  1340. null Observer.
  1341. 2006-12-06 Roman Kennke <kennke@aicas.com>
  1342. * examples/gnu/classpath/examples/icons/back.png,
  1343. * examples/gnu/classpath/examples/icons/reload.png:
  1344. New icons for the HTML browser.
  1345. * examples/gnu/classpath/examples/swing/HtmlDemo.java
  1346. (history): New field. Manages the browsing history.
  1347. (HtmlDemo): Initialize history.
  1348. (createContent): Set location and add history. Add toolbar.
  1349. (createToolBar): New helper method.
  1350. (main): Make default size bigger.
  1351. * examples/gnu/classpath/examples/swing/frame1.html,
  1352. * examples/gnu/classpath/examples/swing/frame2.html,
  1353. * examples/gnu/classpath/examples/swing/frame3.html,
  1354. * examples/gnu/classpath/examples/swing/frame4.html,
  1355. * examples/gnu/classpath/examples/swing/frames.html,
  1356. * examples/gnu/classpath/examples/swing/tables.html:
  1357. New example pages.
  1358. * examples/gnu/classpath/examples/swing/welcome.html
  1359. Add a couple of links and new test pages.
  1360. 2006-12-06 Roman Kennke <kennke@aicas.com>
  1361. * javax/swing/JEditorPane.java
  1362. (getStream): Buffer the stream for efficiency.
  1363. (setPage): Don't scroll the view at this point.
  1364. * javax/swing/plaf/basic/BasicTextUI.java
  1365. (RootView.paint): Call RootView's setSize to get synchronization.
  1366. (RootView.setSize): Synchronize to prevent race in layout code.
  1367. * javax/swing/text/AbstractDocument.java
  1368. (notifyListeners): New field.
  1369. (fireChangedUpdate): Track notifyListener field.
  1370. (fireRemoveUpdate): Track notifyListener field.
  1371. (fireIndertUpdate): Track notifyListener field.
  1372. (writeLock): Check notifyListener and throw IllegalStateException.
  1373. * javax/swing/text/View.java
  1374. (preferenceChanged): Create local var for better thread safety and
  1375. more efficiency.
  1376. 2006-12-06 Thomas Fitzsimmons <fitzsim@redhat.com>
  1377. * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
  1378. lightweight component, not just for non-Panel components.
  1379. (addImpl): Do not call doLayout.
  1380. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
  1381. (setNativeBounds): Ensure widget parent is a GtkFixed before
  1382. calling gtk_fixed_move.
  1383. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
  1384. (setNativeBounds): Likewise.
  1385. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
  1386. (setNativeBounds): Likewise.
  1387. 2006-12-06 Roman Kennke <kennke@aicas.com>
  1388. * javax/swing/text/html/TableView.java
  1389. (RowView.layoutMajorAxis): Check column index for invalid value.
  1390. (updateGrid): Check column index for invalid value.
  1391. 2006-12-06 Roman Kennke <kennke@aicas.com>
  1392. * javax/swing/text/html/BlockView.java
  1393. (getAlignment): Align blocks horizontally by the superclass.
  1394. * javax/swing/text/html/HTMLEditorKit.java
  1395. (HTMLFactory.create): Replace equals comparison by == for efficiency.
  1396. Add mapping for misplaced tr, td and th tags. Include object mapping.
  1397. * javax/swing/text/html/TableView.java
  1398. (RowView.replace): Invalidate grid early.
  1399. (gridValid): Initialize with false.
  1400. (create): Only create RowView and CellView for correctly placed
  1401. tags. Avoid unnecessary casts.
  1402. (getAlignment): Removed.
  1403. (replace): Invalidate grid early.
  1404. 2006-12-06 Francis Kung <fkung@redhat.com>
  1405. * java/awt/geom/RectangularShape.java
  1406. (getBounds): Remove empty rectangle check.
  1407. 2006-12-06 Ben Konrath <bkonrath@redhat.com>
  1408. Fixes PR 29853.
  1409. * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
  1410. newValue are the same.
  1411. * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
  1412. 2006-12-06 Tania Bento <tbento@redhat.com>
  1413. * javax/swing/border/CompoundBorder.java:
  1414. (isBorderOpaque): If inside border is null, return true if outside
  1415. border is opaque, false otherwise; if outside border is null, return
  1416. true if inside border is opaque, false otherwise; if inside or
  1417. outside border are both not null, then return true only if both the
  1418. inside and outside border are opaque, false otherwise.
  1419. 2006-12-06 Tania Bento <tbento@redhat.com>
  1420. * javax/swing/border/CompoundBorder.java:
  1421. (isBorderOpaque): If inside and outside border both have a null
  1422. value, return true.
  1423. 2006-12-06 Chris Burdess <dog@gnu.org>
  1424. Fixes PR 29272.
  1425. * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
  1426. * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
  1427. 2006-12-06 Chris Burdess <dog@gnu.org>
  1428. Fixes PR 29264.
  1429. * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
  1430. writeDTD method.
  1431. 2006-12-06 Chris Burdess <dog@gnu.org>
  1432. Fixes PR 28816.
  1433. * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
  1434. discover schema factory implementation class.
  1435. 2006-12-05 Francis Kung <fkung@redhat.com>
  1436. * java/awt/BasicStroke.java
  1437. (capEnd): Prevent division by zero.
  1438. * java/awt/geom/Arc2D.java
  1439. (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
  1440. (ArcIterator.currentSegment): Handle a negative extent.
  1441. 2006-12-05 Francis Kung <fkung@redhat.com>
  1442. * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
  1443. (constructor): Handle translated subimages properly, ie, if the image's
  1444. 0,0 position is not the data buffer's first element.
  1445. 2006-12-05 Roman Kennke <kennke@aicas.com>
  1446. * gnu/java/awt/peer/gtk/AsyncImage.java
  1447. (Loader.run): Nullify observers after loading.
  1448. (observers): Made package private.
  1449. (addObserver): Check for null observers field. Create local
  1450. variable for thread safety.
  1451. (getHeight): Use addObserver() for checking state of field
  1452. and notifying observer when necessary.
  1453. (getWidth): Use addObserver() for checking state of field
  1454. and notifying observer when necessary.
  1455. (getProperty): Use addObserver() for checking state of field
  1456. and notifying observer when necessary.
  1457. (notifyObservers): Check for null observers field. Create local
  1458. variable for thread safety.
  1459. 2006-12-05 Roman Kennke <kennke@aicas.com>
  1460. * javax/swing/text/html/HTMLEditorKit.java
  1461. (HTMLFactory.create): Removed debug output.
  1462. * javax/swing/text/html/InlineView.java
  1463. (getBreakWeight): Likewise.
  1464. * javax/swing/text/html/StyleSheet.java
  1465. (addRule): Likewise.
  1466. (ListPainter.paint): Removed debug output.
  1467. 2006-12-05 Roman Kennke <kennke@aicas.com>
  1468. * javax/swing/text/html/BlockView.java
  1469. (painter): Made package visible.
  1470. * javax/swing/text/html/StyleSheet.java
  1471. (translateBorder): New helper method.
  1472. (translateHTMLToCSS): Add mappings for border attributes.
  1473. * javax/swing/text/html/TableView.java
  1474. Made class subclass of BlockView to get CSS goodness.
  1475. (CellView.rowSpan): New field.
  1476. (CellView.setPropertiesFromAttributes): Fetch rowspan.
  1477. (RowView.overlap): New field.
  1478. (RowView.rowIndex): New field.
  1479. (RowView.layoutMajorAxis): Skip overlapping cells.
  1480. (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
  1481. (numColumns): New field.
  1482. (tmpRect): New field.
  1483. (TableView): Initialize tmpRect.
  1484. (calculateColumnRequirements): Adjusted and fixed for multirows.
  1485. (getAlignment): Overridden to center tables.
  1486. (paint): Overridden to fix clipping.
  1487. (getStyleSheet): Made protected.
  1488. (layoutMajorAxis): Invalidate rows.
  1489. (setPropertiesFromAttributes): Made protected and call super.
  1490. (updateGrid): Update the overlapping information for multirows.
  1491. 2006-12-05 Roman Kennke <kennke@aicas.com>
  1492. * gnu/java/awt/peer/gtk/AsyncImage.java
  1493. (addObserver): Check for null and ignore null observers.
  1494. (getWidth): Check for null and ignore null observers.
  1495. (getHeight): Check for null and ignore null observers.
  1496. (getProperty): Check for null and ignore null observers.
  1497. 2006-12-05 Francis Kung <fkung@redhat.com>
  1498. * java/awt/BasicStroke.java
  1499. (capEnd): Prevent division by zero.
  1500. * java/awt/geom/Arc2D.java
  1501. (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
  1502. (ArcIterator.currentSegment): Handle a negative extent.
  1503. 2006-12-05 Francis Kung <fkung@redhat.com>
  1504. * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
  1505. (constructor): Handle translated subimages properly, ie, if the image's
  1506. 0,0 position is not the data buffer's first element.
  1507. 2006-12-05 Roman Kennke <kennke@aicas.com>
  1508. * javax/swing/text/html/ImageView.java
  1509. (imageUpdate): Use spans field to determine if the CSS width/height
  1510. are set. Call safePreferenceChanged to protect view structure
  1511. from threading issues.
  1512. (spans): Made package private.
  1513. (ImageView): Initialize loadOnDemand with false.
  1514. (loadImage): Call Toolkit.prepareImage() to make sure we have
  1515. our Observer registered.
  1516. (safePreferenceChanged): New helper method. Calls preferenceChanged
  1517. in a thread safe environment.
  1518. 2006-12-05 Roman Kennke <kennke@aicas.com>
  1519. * NEWS: Add entry about improved HTML support.
  1520. 2006-12-05 Roman Kennke <kennke@aicas.com>
  1521. * javax/swing/text/html/ImageView.java
  1522. (ImageView): Initialize spans array here.
  1523. (setPropertiesFromAttributes): Moved init of spans array to
  1524. constructor.
  1525. 2006-12-05 Roman Kennke <kennke@aicas.com>
  1526. * javax/swing/text/html/BlockView.java
  1527. (painter): Made package visible.
  1528. * javax/swing/text/html/StyleSheet.java
  1529. (translateBorder): New helper method.
  1530. (translateHTMLToCSS): Add mappings for border attributes.
  1531. * javax/swing/text/html/TableView.java
  1532. Made class subclass of BlockView to get CSS goodness.
  1533. (CellView.rowSpan): New field.
  1534. (CellView.setPropertiesFromAttributes): Fetch rowspan.
  1535. (RowView.overlap): New field.
  1536. (RowView.rowIndex): New field.
  1537. (RowView.layoutMajorAxis): Skip overlapping cells.
  1538. (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
  1539. (numColumns): New field.
  1540. (tmpRect): New field.
  1541. (TableView): Initialize tmpRect.
  1542. (calculateColumnRequirements): Adjusted and fixed for multirows.
  1543. (getAlignment): Overridden to center tables.
  1544. (paint): Overridden to fix clipping.
  1545. (getStyleSheet): Made protected.
  1546. (layoutMajorAxis): Invalidate rows.
  1547. (setPropertiesFromAttributes): Made protected and call super.
  1548. (updateGrid): Update the overlapping information for multirows.
  1549. 2006-12-05 Roman Kennke <kennke@aicas.com>
  1550. * javax/swing/text/html/HTMLEditorKit.java
  1551. (HTMLFactory.create): Removed debug output.
  1552. * javax/swing/text/html/InlineView.java
  1553. (getBreakWeight): Likewise.
  1554. * javax/swing/text/html/StyleSheet.java
  1555. (addRule): Likewise.
  1556. (ListPainter.paint): Removed debug output.
  1557. 2006-12-06 Roman Kennke <kennke@aicas.com>
  1558. * javax/swing/text/html/BlockView.java
  1559. (getAlignment): Align blocks horizontally by the superclass.
  1560. * javax/swing/text/html/HTMLEditorKit.java
  1561. (HTMLFactory.create): Replace equals comparison by == for efficiency.
  1562. Add mapping for misplaced tr, td and th tags. Include object mapping.
  1563. * javax/swing/text/html/TableView.java
  1564. (RowView.replace): Invalidate grid early.
  1565. (gridValid): Initialize with false.
  1566. (create): Only create RowView and CellView for correctly placed
  1567. tags. Avoid unnecessary casts.
  1568. (getAlignment): Removed.
  1569. (replace): Invalidate grid early.
  1570. 2006-12-06 Roman Kennke <kennke@aicas.com>
  1571. * javax/swing/text/html/TableView.java
  1572. (RowView.layoutMajorAxis): Check column index for invalid value.
  1573. (updateGrid): Check column index for invalid value.
  1574. 2006-12-06 Roman Kennke <kennke@aicas.com>
  1575. * javax/swing/JEditorPane.java
  1576. (getStream): Buffer the stream for efficiency.
  1577. (setPage): Don't scroll the view at this point.
  1578. * javax/swing/plaf/basic/BasicTextUI.java
  1579. (RootView.paint): Call RootView's setSize to get synchronization.
  1580. (RootView.setSize): Synchronize to prevent race in layout code.
  1581. * javax/swing/text/AbstractDocument.java
  1582. (notifyListeners): New field.
  1583. (fireChangedUpdate): Track notifyListener field.
  1584. (fireRemoveUpdate): Track notifyListener field.
  1585. (fireIndertUpdate): Track notifyListener field.
  1586. (writeLock): Check notifyListener and throw IllegalStateException.
  1587. * javax/swing/text/View.java
  1588. (preferenceChanged): Create local var for better thread safety and
  1589. more efficiency.
  1590. 2006-12-06 Roman Kennke <kennke@aicas.com>
  1591. * examples/gnu/classpath/examples/icons/back.png,
  1592. * examples/gnu/classpath/examples/icons/reload.png:
  1593. New icons for the HTML browser.
  1594. * examples/gnu/classpath/examples/swing/HtmlDemo.java
  1595. (history): New field. Manages the browsing history.
  1596. (HtmlDemo): Initialize history.
  1597. (createContent): Set location and add history. Add toolbar.
  1598. (createToolBar): New helper method.
  1599. (main): Make default size bigger.
  1600. * examples/gnu/classpath/examples/swing/frame1.html,
  1601. * examples/gnu/classpath/examples/swing/frame2.html,
  1602. * examples/gnu/classpath/examples/swing/frame3.html,
  1603. * examples/gnu/classpath/examples/swing/frame4.html,
  1604. * examples/gnu/classpath/examples/swing/frames.html,
  1605. * examples/gnu/classpath/examples/swing/tables.html:
  1606. New example pages.
  1607. * examples/gnu/classpath/examples/swing/welcome.html
  1608. Add a couple of links and new test pages.
  1609. 2006-12-06 Roman Kennke <kennke@aicas.com>
  1610. * examples/gnu/classpath/examples/swing/Demo.java
  1611. (getIcon): Made package private.
  1612. * examples/gnu/classpath/examples/swing/HtmlDemo.java
  1613. (hyperlinkUpdate): Convert URL to string.
  1614. 2006-12-06 Roman Kennke <kennke@aicas.com>
  1615. * javax/swing/text/DefaultCaret.java
  1616. (appear): Adjust visibility here.
  1617. (setDotImpl): Don't adjust visibility here.
  1618. (moveDotImpl): Don't adjust visibility here.
  1619. 2006-12-06 Roman Kennke <kennke@aicas.com>
  1620. * javax/swing/text/html/FormView.java
  1621. (SubmitThread.postData): Implemented.
  1622. (SubmitThread.run): Pass data to postData().
  1623. (actionPerformed): Reset form when reset button is activated.
  1624. (createComponent): Add support for select lists and comboboxes.
  1625. Don't set value of text and password fields here, this is done
  1626. now in HTMLDocument for consistency.
  1627. (getElementFormData): Add support for fetching form data from
  1628. select lists and comboboxes as well as textareas.
  1629. (getSelectData): New helper method. Fetches form data from
  1630. select boxes.
  1631. (getTextAreaData): New helper method. Fetches form data from
  1632. textareas.
  1633. (resetForm): New helper method. Resets the entire form.
  1634. * javax/swing/text/html/HTMLDocument.java
  1635. (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
  1636. (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
  1637. (HTMLReader.FormAction.setModel): Initialize text and password
  1638. values here. Also, use the resetable special models.
  1639. Group radio buttons into ButtonGroup for exclusive selection.
  1640. (HTMLReader.FormTagAction): New class. Handles FORM tags.
  1641. (HTMLReader.buttonGroups): New field.
  1642. (HTMLReader.numOptions): New field.
  1643. (HTMLReader.option): New field.
  1644. (HTMLReader.selectModel): New field.
  1645. (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
  1646. (HTMLReader.handleText): Handle OPTION text.
  1647. (HTMLReader.initTags): Map FORM tags to FormTagAction.
  1648. (HTMLReader.textAreaContent): Set initial content.
  1649. * javax/swing/text/html/Option.java
  1650. (Option): Make copy of attribute set. Initialize selected state.
  1651. (getValue): Fetch value from attribute set.
  1652. * javax/swing/text/html/ResetableModel.java: New interface.
  1653. * javax/swing/text/html/ResetablePlainDocument.java: New class.
  1654. Supports resetting the state.
  1655. * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
  1656. * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
  1657. * javax/swing/text/html/SelectListModel.java: Likewise.
  1658. 2006-12-06 Roman Kennke <kennke@aicas.com>
  1659. * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
  1660. New class.
  1661. * examples/gnu/classpath/examples/swing/HtmlDemo.java
  1662. (LoadActionListener): Call setPage() helper method.
  1663. (createContent): Register tweaked editor kit. For FormSubmitEvents
  1664. call submitForm(), otherwise setPage().
  1665. (postData): Helper method for posting form data.
  1666. (setPage): Helper method for navigating to a new URL.
  1667. (submitForm): Helper method for submitting a form.
  1668. * examples/gnu/classpath/examples/swing/forms.html:
  1669. Added text/password fields and select boxes.
  1670. * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
  1671. 2006-12-07 Mark Wielaard <mark@klomp.org>
  1672. * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
  1673. private constructor.
  1674. (URL(URL,String,URLStreamHandler)): Call new constructor.
  1675. (URL(URL,String)): Likewise.
  1676. (URL(String)): Likewise.
  1677. 2006-12-07 Mark Wielaard <mark@klomp.org>
  1678. * javax/swing/JEditorPane.java (createEditorKitForContentType):
  1679. Always load from system class loader.
  1680. 2006-12-06 Ben Konrath <bkonrath@redhat.com>
  1681. Fixes PR 29853.
  1682. * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
  1683. newValue are the same.
  1684. * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
  1685. 2006-12-06 Chris Burdess <dog@gnu.org>
  1686. Fixes PR 29272.
  1687. * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
  1688. * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
  1689. 2006-12-06 Chris Burdess <dog@gnu.org>
  1690. Fixes PR 29264.
  1691. * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
  1692. writeDTD method.
  1693. 2006-12-056 Chris Burdess <dog@gnu.org>
  1694. Fixes PR 28816.
  1695. * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
  1696. discover schema factory implementation class.
  1697. 2006-12-05 Roman Kennke <kennke@aicas.com>
  1698. * gnu/java/awt/peer/gtk/AsyncImage.java: New class. Supports
  1699. asynchronous loading of images.
  1700. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  1701. (drawImage): Fetch real image from possibly AsyncImage.
  1702. * gnu/java/awt/peer/gtk/ComponentGraphics.java
  1703. (drawImage): Fetch real image from possibly AsyncImage.
  1704. * gnu/java/awt/peer/gtk/GtkToolkit.java
  1705. (createImage(URL)): Create async image.
  1706. (imageOrError): Made method static for easy access from AsyncImage.
  1707. (prepareImage): For async images, register the observer to the
  1708. image.
  1709. 2006-12-05 Roman Kennke <kennke@aicas.com>
  1710. (paintComponent): Include paint area from event.
  1711. (updateComponent): Include paint area from event.
  1712. 2006-12-06 Thomas Fitzsimmons <fitzsim@redhat.com>
  1713. * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
  1714. lightweight component, not just for non-Panel components.
  1715. (addImpl): Do not call doLayout.
  1716. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
  1717. (setNativeBounds): Ensure widget parent is a GtkFixed before
  1718. calling gtk_fixed_move.
  1719. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
  1720. (setNativeBounds): Likewise.
  1721. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
  1722. (setNativeBounds): Likewise.
  1723. 2006-12-04 Thomas Fitzsimmons <fitzsim@redhat.com>
  1724. * java/awt/Component.java (getFontImpl): Return a default font if
  1725. topmost parent's font is null.
  1726. 2006-12-04 Mark Wielaard <mark@klomp.org>
  1727. * javax/swing/text/html/CSS.java (parseMarginShorthand):
  1728. Remove debug output.
  1729. 2006-12-04 Roman Kennke <kennke@aicas.com>
  1730. * java/awt/font/TextLayout.java
  1731. (hitTestChar): Fixed conditions for inclusion of range.
  1732. Use layout information in the run for more efficiency.
  1733. 2006-12-04 Roman Kennke <kennke@aicas.com>
  1734. * javax/swing/text/GlyphView.java
  1735. (J2DGlyphPainter): New inner class.
  1736. (checkPainter): For Java2D capable environments create
  1737. a J2DGlyphPainter.
  1738. 2006-12-04 Roman Kennke <kennke@aicas.com>
  1739. * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
  1740. (FreeTypeGlyphVector): Don't filter control chars here.
  1741. (getGlyphs): Filter control chars and replace them by
  1742. hair space char.
  1743. 2006-12-04 Roman Kennke <kennke@aicas.com>
  1744. * native/jni/java-nio/gnu_java_nio_VMChannel.c
  1745. (Java_gnu_java_nio_VMChannel_connect): Retry on EINTR.
  1746. 2006-12-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
  1747. * gnu/java/lang/management/BeanImpl.java:
  1748. (translate(String)): Don't assume the list uses "E",
  1749. just use the first and only type variable.
  1750. * java/lang/management/ManagementFactory.java:
  1751. (getPlatformMBeanServer()): Register logging bean.
  1752. * javax/management/openmbean/OpenType.java:
  1753. (OpenType(String,String,String)): Actually use
  1754. the string created to handle arrays.
  1755. 2006-12-04 Mark Wielaard <mark@klomp.org>
  1756. * native/jni/java-nio/gnu_java_nio_VMChannel.c
  1757. (JCL_thread_interrupted): Use CallStaticBooleanMethod.
  1758. 2006-12-04 Mark Wielaard <mark@klomp.org>
  1759. * vm/reference/gnu/java/nio/VMChannel.java (isThreadInterrupted):
  1760. Make static.
  1761. * native/jni/java-nio/gnu_java_nio_VMChannel.c
  1762. (JCL_thread_interrupted): Only take JNIEnv.
  1763. (vm_channel_class): New static variable.
  1764. (initID): Set vm_channel_class.
  1765. Wrap all reads() and writes() in do-while blocks that check
  1766. interrupted status.
  1767. 2006-12-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
  1768. * gnu/javax/management/Server.java:
  1769. Make map final and initialise it.
  1770. (unregisterMBean(ObjectName)): Match against
  1771. delegate's object name and not the instance.
  1772. * java/lang/management/ManagementFactory.java:
  1773. Added constant fields.
  1774. (getPlatformMBeanServer()): Implemented.
  1775. * javax/management/MBeanServerFactory.java: New file.
  1776. 2006-12-04 Roman Kennke <kennke@aicas.com>
  1777. * javax/swing/text/BoxView.java
  1778. (paint): Replaced painting algorithm with more simple and more
  1779. reliable painting of the box.
  1780. * javax/swing/text/html/BlockView.java
  1781. (PositionInfo): New inner class. Stores additional CSS
  1782. positioning information.
  1783. (positionInfo): New field.
  1784. (BlockView): Initialize positionInfo field.
  1785. (fetchLayoutInfo): New helper method. Fetches additional
  1786. CSS positioning information.
  1787. (layoutMajorAxis): Perform additional CSS layout.
  1788. (layoutMinorAxis): Perform additional CSS layout.
  1789. (positionView): New helper method.
  1790. (replace): Overridden to fetch additional layout information.
  1791. * javax/swing/text/html/CSS.java
  1792. (Attribute.POSITION): New field.
  1793. (Attribute.LEFT): New field.
  1794. (Attribute.RIGHT): New field.
  1795. (Attribute.TOP): New field.
  1796. (Attribute.BOTTOM): New field.
  1797. (getValue): Create Length for left, right, top and bottom
  1798. attributes.
  1799. 2006-12-04 Roman Kennke <kennke@aicas.com>
  1800. * gnu/javax/swing/text/html/parser/support/Parser.java
  1801. (Sgml): Consume any whitespace that immediately follows
  1802. and sgml insertion.
  1803. (parseDocument): Consume any initial whitespace.
  1804. 2006-12-03 Mark Wielaard <mark@klomp.org>
  1805. * gnu/javax/management/Server.java (beans): Initialize.
  1806. (registerMBean): Don't initialize beans.
  1807. 2006-12-03 Mark Wielaard <mark@klomp.org>
  1808. * java/util/logging/LogManager.java (getLevelProperty): Check
  1809. whether value is null before passing to Level.parse().
  1810. 2006-12-04 Robert Lougher <rob.lougher@gmail.com>
  1811. * java/lang/management/ThreadInfo.java (ThreadInfo): Check
  1812. whether given a null lock and lockOwner.
  1813. 2006-12-03 Mark Wielaard <mark@klomp.org>
  1814. * javax/swing/JEditorPane.java (PageLoader.in): Made a PageStream.
  1815. (PageLoader.page): Made package local.
  1816. (PageLoader.run): Don't reset loader.
  1817. (PageLoader.cancel): New method.
  1818. (loading): Renamed to loader.
  1819. (getPage): Return loader.page.
  1820. (setPage): Always set loader. Never reset to null.
  1821. 2006-12-03 Mark Wielaard <mark@klomp.org>
  1822. * javax/swing/plaf/basic/BasicTreeUI.java (paint): Check whether
  1823. path[k] is null.
  1824. (isLastChild): Return false when path is null.
  1825. 2006-12-03 Mark Wielaard <mark@klomp.org>
  1826. * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintArea): Renamed
  1827. to currentPaintArea.
  1828. (paintComponent): Work with local reference to currentPaintArea.
  1829. (updateComponent): Likewise.
  1830. (coalescePaintEvent): Set currentPaintArea.
  1831. 2006-12-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
  1832. * javax/management/MBeanServerBuilder.java: New file.
  1833. 2006-12-01 Mark Wielaard <mark@klomp.org>
  1834. * java/text/DecimalFormat.java (parse): Always increment parsing
  1835. index and adjust pos result.
  1836. 2006-12-01 Roman Kennke <kennke@aicas.com>
  1837. * javax/swing/text/html/HTML.java
  1838. (Attribute.DYNAMIC_CLASS): New field.
  1839. (Attribute.PSEUDO_CLASS): New field.
  1840. * javax/swing/text/html/HTMLDocument.java
  1841. (HTMLReader.CharacterAction.start): Initialize anchor with link
  1842. pseudo attribute.
  1843. (updateSpecialClass): New helper method. Updates the dynamic
  1844. or pseudo class for anchor tags.
  1845. * javax/swing/text/html/HTMLEditorKit.java
  1846. (LinkController.lastAnchorElement): New field. For tracking
  1847. enter/exit of anchors.
  1848. (LinkController.activateLink): Set pseudo class to 'visited'.
  1849. (LinkController.mouseMoved): Added support for tracking
  1850. the 'hover' dynamic class.
  1851. * javax/swing/text/html/InlineView.java
  1852. (changedUpdate): Fetch new properties.
  1853. * javax/swing/text/html/StyleSheet.java
  1854. (attributeSetToMap): New helper method.
  1855. (getRule): Also append dynamic and pseudo class to key.
  1856. (resolveStyle): Resolve style based generally on all attributes.
  1857. * javax/swing/text/html/TableView.java
  1858. (RowView.layoutMajorAxis): Make sure the grid is valid.
  1859. (updateGrid): Made package private.
  1860. * gnu/javax/swing/text/html/css/Selector.java
  1861. (calculateSpecificity): Added support for dynamic and pseudo classes.
  1862. (matches): Changed to operate on general attributes.
  1863. Added support for dynamic and pseudo classes.
  1864. 2006-12-01 Mario Torre <neugens@limasoftware.net>
  1865. * java/text/DecimalFormat.java (formatInternal): move the formatting of
  1866. fractional portion in a separate method.
  1867. Also fixes the handling of decimal separator and its associated field.
  1868. (handleFractionalPart): new method, needed to relax a bit
  1869. formatInternal.
  1870. 2006-12-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
  1871. * java/beans/beancontext/BeanContextServicesSupport.java:
  1872. (BCSSProxyServiceProvider.getCurrentServiceSelectors(BeanContextServices,
  1873. Class)): Implemented.
  1874. (BCSSProxyServiceProvider.getService(BeanContextServices, Object,
  1875. Class, Object)): Implemented.
  1876. (BCSSProxyServiceProvider.releaseService(BeanContextServices,
  1877. Object, Object)): Implemented.
  1878. (BCSSProxyServiceProvider.serviceRevoked(BeanContextServiceRevokedEvent)):
  1879. Implemented.
  1880. (initialiseBeanContextResources()): Implemented.
  1881. (releaseBeanContextResoures()): Implemented.
  1882. 2006-12-01 Mark Wielaard <mark@klomp.org>
  1883. * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerated.
  1884. 2006-12-01 Roman Kennke <kennke@aicas.com>
  1885. * gnu/javax/swing/text/html/css/BorderStyle.java: New class for
  1886. handling border styles.
  1887. * gnu/javax/swing/text/html/css/BorderWidth.java
  1888. (isValid): New method.
  1889. * gnu/javax/swing/text/html/css/Length.java
  1890. (isValid): New method.
  1891. * javax/swing/text/html/CSS.java
  1892. (addInternal): Added shorthand parsing for border, padding and
  1893. margin.
  1894. (parseBackgroundShorthand): Added API docs.
  1895. (parsePaddingShorthand): New method. Handles padding shorthand
  1896. values.
  1897. (parseMarginShorthand): New method. Handles margin shorthand
  1898. values.
  1899. (parseBorderShorthand): New method. Handles border shorthand
  1900. values.
  1901. * javax/swing/text/html/StyleSheet.java
  1902. (translateHTMLToCSS): Set specific padding attributes.
  1903. (BoxPainter.BoxPainter): Don't handle PADDING and MARGIN here.
  1904. These shorthands are now handled in CSS.
  1905. (BoxPainter.paint): Exclude the outer margin.
  1906. 2006-12-01 Roman Kennke <kennke@aicas.com>
  1907. * gnu/javax/swing/text/html/css/Length.java
  1908. (emBase): New field.
  1909. (exBase): New field.
  1910. (isFontEMRelative): New field.
  1911. (isFontEXRelative): New field.
  1912. (Length): Recognize and setup EM and EX relative values.
  1913. (getValue): Handle EM and EX relative values.
  1914. (isEMRelative): New method.
  1915. (isEXRelative): New method.
  1916. (setEMBase): New method.
  1917. (setEXBase): New method.
  1918. (setFontBases): New method.
  1919. * gnu/javax/swing/text/html/parser/support/Parser.java
  1920. (_handleEmptyTag): Use new isBlock() helper method.
  1921. (_handleEndTag_remaining): Use new isBlock() helper method.
  1922. (_handleStartTag): Consume whitespace after block start tag.
  1923. (Comment): Consume whitespace after a comment.
  1924. (isBlock): New helper method.
  1925. (readAttributes): Consider all characters in unquoted attribute
  1926. values.
  1927. * javax/swing/text/html/BlockView.java
  1928. (layoutMinorAxis): Use cached span value.
  1929. (paint): Added debug code (commented out).
  1930. (setPropertiesFromAttributes): Set the EM and EX base on lengths.
  1931. * javax/swing/text/html/CSSBorder.java
  1932. (CSSBorder): Take StyleSheet as argument. Call getBorderWidth()
  1933. with stylesheet.
  1934. (getBorderWidth): Set the EM and EX base on the length values.
  1935. * javax/swing/text/html/HTMLDocument.java
  1936. (HTMLReader.ParagraphAction.end): Do not set the inParagraph field.
  1937. (HTMLReader.ParagraphAction.start): Do not set the inParagraph field.
  1938. (HTMLReader.inImpliedParagraph): Removed.
  1939. (HTMLReader.inParagraph): Removed.
  1940. (HTMLReader.parseStack): New field.
  1941. (HTMLReader.addContent): Use new paragraph handling.
  1942. (HTMLReader.addSpecialElement): Use new paragraph handling.
  1943. (HTMLReader.blockClose): Use new paragraph handling.
  1944. (HTMLReader.blockOpen): Use new paragraph handling.
  1945. (HTMLReader.inImpliedParagraph): New helper method.
  1946. (HTMLReader.inParagraph): New helper method.
  1947. * javax/swing/text/html/ImageView.java
  1948. (attributes): New field. Caches view attributes.
  1949. (spans): New field. Caches CSS spans.
  1950. (getAttributes): Correctly setup CSS view attributes.
  1951. (getPreferredSpan): Use caches spans.
  1952. (getStyleSheet): Use the view's getDocument() method.
  1953. (setPropertiesFromAttributes): Cache spans and setup EM and EX.
  1954. (updateSize): Use cached spans.
  1955. * javax/swing/text/html/ParagraphView.java
  1956. (setPropertiesFromAttributes): Setup EM and EX.
  1957. * javax/swing/text/html/StyleSheet.java
  1958. (BoxPainter.BoxPainter): Setup EM and EX correctly.
  1959. (getEMBase): New helper method.
  1960. (getEXBase): New helper method.
  1961. * javax/swing/text/html/TableView.java
  1962. (width): New field. Caches the table width.
  1963. (calculateMinorAxisRequirements): Use caches span.
  1964. (setPropertiesFromAttributes): Cache span and setup EM/EX.
  1965. (updateGrid): Correctly setup EM/EX.
  1966. 2006-11-30 Roman Kennke <kennke@aicas.com>
  1967. * javax/swing/text/html/FormSubmitEvent.java: New class.
  1968. * javax/swing/text/html/FormView.java
  1969. (SubmitThread): New class for submitting data in a separate thread.
  1970. (actionPerformed): Fetch the actual for data.
  1971. (addData): New helper method.
  1972. (getElementFormData): New helper method.
  1973. (getFormData): New helper method.
  1974. (getInputFormData): New helper method.
  1975. (submitData): Implemented.
  1976. * javax/swing/text/html/FrameView.java
  1977. (createComponent): Add this as hyperlink listener.
  1978. Set the target document as frame document.
  1979. (getTopEditorPane): New helper method.
  1980. (hyperlinkUpdate): Implementation of the HyperlinkListener interface.
  1981. (handleHyperlinkEvent): New helper method.
  1982. (handleFormSubmitEvent): New helper method.
  1983. * javax/swing/text/html/HTMLDocument.java
  1984. (HTMLReader.BaseAction.start): Track the base target.
  1985. (HTMLReader.BaseAction.end): Removed.
  1986. (baseTarget): New field.
  1987. (frameDocument): New field.
  1988. (getBaseTarget): New property accessor.
  1989. (isFrameDocument): New property accessor.
  1990. (processHTMLFrameHyperlinkEvent): Implemented.
  1991. (setFrameDocument): New property accessor.
  1992. (updateFrame): New helper method.
  1993. (updateFrameSet): New helper method.
  1994. * javax/swing/text/html/HTMLEditorKit.java
  1995. (LinkController.createHyperlinkEvent): Handle frame documents.
  1996. (autoFormSubmission): New field.
  1997. (HTMLEditorKit): Set autoFormSubmission to true.
  1998. (isAutoFormSubmission): New property accessor.
  1999. (setAutoFormSubmission): New property accessor.
  2000. 2006-11-30 Roman Kennke <kennke@aicas.com>
  2001. * javax/swing/text/ElementIterator.java
  2002. (ElementRef): New inner class.
  2003. (currentDepth): Removed.
  2004. (currentElement): Removed.
  2005. (previousItem): Removed.
  2006. (stack): New field. Holds the iteration stack.
  2007. (state): Removed.
  2008. (ElementIterator(Document)): Removed init of removed fields.
  2009. (ElementIterator(Element)): Removed init of removed fields.
  2010. (current): Changed to stack based algorithm.
  2011. (deepestLeaf): New helper method.
  2012. (depth): Changed to stack based algorithm.
  2013. (first): Changed to stack based algorithm.
  2014. (next): Changed to stack based algorithm.
  2015. (previous): Changed to stack based algorithm.
  2016. 2006-11-30 Francis Kung <fkung@redhat.com>
  2017. * .settings/org.eclipse.jdt.core.prefs: Set compilar compliance to 1.4.
  2018. * .externalToolBuilders/ClasspathJar.launch: Include sun.* classses.
  2019. 2006-11-30 Francis Kung <fkung@redhat.com>
  2020. * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
  2021. (draw): Set transform in buffered composite.
  2022. (drawComposite): Do not transform bounds; round bounds.
  2023. (drawGlyphVector): Set transform in buffered composite.
  2024. (drawRenderedImage): Set transform in buffered composite.
  2025. (fill): Set transform in buffered composite.
  2026. (updateBufferedImage): Fix scanline & height calculations.
  2027. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  2028. (createPath): Simplify width & height calculation.
  2029. (drawImage): Also transform width & height.
  2030. 2006-11-30 Roman Kennke <kennke@aicas.com>
  2031. * javax/swing/text/html/FrameSetView.java: New class. Implements
  2032. HTML framesets.
  2033. * javax/swing/text/html/FrameView.java: New class. Implements
  2034. HTML frames.
  2035. * javax/swing/text/html/HTMLDocument.java:
  2036. (HTMLReader.addSpecialElement): Only add one artificial space.
  2037. * javax/swing/text/html/HTMLEditorKit.java
  2038. (HTMLFactory.create): Uncomment code for FrameSetView and FrameView.
  2039. * gnu/javax/swing/text/html/parser/support/Parser.java
  2040. (_handleEmptyTag): Also consume whitespace after frame tags.
  2041. 2006-11-30 Gary Benson <gbenson@redhat.com>
  2042. * java/lang/Thread.java: Javadoc fixes.
  2043. 2006-11-29 Tom Tromey <tromey@redhat.com>
  2044. PR classpath/28203:
  2045. * java/lang/Class.java (getAnnotations): Rewrote.
  2046. 2006-11-29 Tania Bento <tbento@redhat.com>
  2047. * tools/gnu/classpath/tools/appletviewer/TagParser.java:
  2048. (parseParams): Unescape 'val' before putting it into the Map.
  2049. (unescapeString): New private method.
  2050. 2006-11-29 Tom Tromey <tromey@redhat.com>
  2051. * tools/gnu/classpath/tools/getopt/package.html: New file.
  2052. 2006-11-29 David Gilbert <david.gilbert@object-refinery.com>
  2053. * javax/swing/plaf/metal/MetalIconFactory.java
  2054. (HorizontalSliderThumbIcon.paintIcon()): Commented out gradient paint,
  2055. (VerticalSliderThumbIcon.paintIcon()): Likewise.
  2056. 2006-11-29 Mario Torre <neugens@limasoftware.net>
  2057. * java/text/NumberFormat.java (getCurrencyInstance): Replaced dollar sign
  2058. with the default international currency sign \u00A4.
  2059. * java/text/DecimalFormat.java (scanFix): Fix to use the localized symbol
  2060. table for string formatting.
  2061. (formatInternal): likewise.
  2062. (scanNegativePattern): likewise.
  2063. (applyPattern): likewise.
  2064. * java/text/DecimalFormatSymbols.java (clone): Revert to old version as
  2065. Locale is immutable and does not need clone.
  2066. 2006-11-29 Francis Kung <fkung@redhat.com>
  2067. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  2068. (drawLine): Remove hard-coded pixel shifting.
  2069. 2006-11-29 Roman Kennke <kennke@aicas.com>
  2070. * java/awt/Component.java
  2071. (isShowing): Simplified condition code and avoid unnecessary
  2072. if-codepaths.
  2073. (coalesceEvents): Always coalesce paint events and let the peer
  2074. figure out the expanding of the repaint area.
  2075. * gnu/java/awt/peer/swing/SwingComponentPeer.java
  2076. (currentPaintEvents): Removed. Replaced by paintArea.
  2077. (paintArea): New field. Tracks the dirty area.
  2078. (SwingComponentPeer): Removed init of currentPaintEvents.
  2079. (coalescePaintEvent): Simplified to only union the dirty regions.
  2080. (handleEvent): Paint dirty region that was tracked in paintArea.
  2081. * gnu/java/awt/peer/gtk/GtkComponentPeer.java
  2082. (paintArea): New field. Tracks the dirty region.
  2083. (coalescePaintEvent): Implemented to track the dirty region.
  2084. (paintComponent): Use the dirty region in paintArea. Protect
  2085. state by putting the paint and dispose code in a try-finally.
  2086. (updateComponent): Use the dirty region in paintArea. Protect
  2087. state by putting the paint and dispose code in a try-finally.
  2088. 2006-11-29 Roman Kennke <kennke@aicas.com>
  2089. * java/awt/font/TextLayout.java
  2090. (getVisualHighlightShape): Removed debug output.
  2091. 2006-11-28 Andrew Haley <aph@redhat.com>
  2092. * vm/reference/sun/reflect/misc/ReflectUtil.java
  2093. (checkPackageAccess): Implement.
  2094. 2006-11-28 Dalibor Topic <robilad@kaffe.org>
  2095. * native/jni/java-lang/java_lang_VMDouble.c:
  2096. (parseDoubleFromChars) New function. Factored out from ...
  2097. (Java_java_lang_VMDouble_parseDouble): Factored out the parsing.
  2098. (dtoa_toString): New function. Factored out from ...
  2099. (Java_java_lang_VMDouble_toString) : Factored out the conversion.
  2100. Changed conversion mode to 2, as modes 0 and 1 don't round
  2101. as the API spec demands. Invoke conversion function as often
  2102. as necessary with growing precision until a reversible
  2103. representation of the double in form of a string is reached.
  2104. 2006-11-28 Roman Kennke <kennke@aicas.com>
  2105. * javax/swing/JComponent.java
  2106. (putClientProperty): Do not fire event when both old and new
  2107. value are == null.
  2108. 2006-11-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
  2109. * java/lang/Enum.java:
  2110. Make name and ordinal final.
  2111. 2006-11-27 Casey Marshall <csm@gnu.org>
  2112. * java/util/jar/JarEntry.java (certs): removed.
  2113. (jarfile): new field.
  2114. (getCertificates): read the certificates from the containing JarFile.
  2115. * java/util/jar/JarFile.java (JarEnumeration.nextElement): don't
  2116. fill in 'certs,' fill in 'jarfile' for the entry.
  2117. (getEntry): likewise.
  2118. 2006-11-27 Francis Kung <fkung@redhat.com>
  2119. * java/awt/image/WritableRaster.java
  2120. (createChild): Implemented.
  2121. 2006-11-27 Roman Kennke <kennke@aicas.com>
  2122. * java/awt/font/TextLayout.java
  2123. (TextLayout(TextLayout,int,int)): Also layout the new runs.
  2124. (getVisualHighlightShape): Implemented.
  2125. (layoutRuns): Fixed boundary so that the last run is also laid out.
  2126. (left): New helper method.
  2127. (right): New helper method.
  2128. 2006-11-27 Roman Kennke <kennke@aicas.com>
  2129. * java/awt/font/TextLayout.java
  2130. (getCaretShape(TextHitInfo,Rectangle2D)): Implemented.
  2131. (getCaretShape(TextHitInfo)): Use natural bounds.
  2132. (getCaretShapes(int,Rectangle2D,CaretPolicy)): New API method.
  2133. (getCaretShapes(int,Rectangle2D)): Delegate to new method
  2134. above with DEFAULT_CARET_POLICY.
  2135. (getCaretShapes(int)): Use natural bounds.
  2136. 2006-11-27 Roman Kennke <kennke@aicas.com>
  2137. * java/awt/font/TextLayout.java
  2138. (Run.font): New field.
  2139. (Run.location): New field.
  2140. (Run.Run): Initialize font.
  2141. (font): Removed field. This is moved into Run as the actual font
  2142. is something run-specific.
  2143. (TextLayout(String,Font,FontRenderContext)): Set font on the
  2144. single runs. Layout the runs here.
  2145. (TextLayout(TextLayout,int,int)): Copy over the run fonts.
  2146. (findRunAtIndex): New helper method.
  2147. (getCaretInfo): Implemented.
  2148. (layoutRuns): New helper method.
  2149. (toString): Don't put font in output string.
  2150. 2006-11-27 Raif S. Naffah <classpath@naffah-raif.name>
  2151. * AUTHORS: Added Jeroen Fritjers.
  2152. 2006-11-27 neugens <neugens@nirvana.limasoftware.net>
  2153. * java/text/DecimalFormat.java (formatInternal): Add an explicit test
  2154. for FieldPosition to be null.
  2155. Check if the factional part is just 0 and can be omitted from the
  2156. result.
  2157. (scanNegativePattern): Fixed index out of bound exception when searching
  2158. for international currency symbol in negative pattern.
  2159. 2006-11-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
  2160. * java/beans/beancontext/BeanContextSupport.java:
  2161. (readObject(ObjectInputStream)): Implemented.
  2162. (writeObject(ObjectOutputStream)): Likewise.
  2163. (BCSChild.getTargetChild()): Added.
  2164. (bcsPreDeserializationHook()): Implemented.
  2165. (bcsPreSerializationHook()): Likewise.
  2166. (childDeserializedHook(Object,BCSChild)): Likewise.
  2167. (isSerializing()): Likewise.
  2168. (readChildren(ObjectInputStream)): Likewise.
  2169. (writeChildren(ObjectOutputStream)): Likewise.
  2170. 2006-11-26 Roger Sayle <roger <at> eyesopen.com>
  2171. Ian Lance Taylor <ian <at> airs.com>
  2172. Paolo Bonzini <bonzini <at> gnu.org>
  2173. Fixes bug #25557.
  2174. * lib/gen-classlist.sh.in: Avoid using test's -ef operator for
  2175. increased portability. Likewise, use -f instead of -e.
  2176. 2006-11-26 Mark Wielaard <mark@klomp.org>
  2177. * lib/Makefile.am (propertydirs): Removed.
  2178. (resources): Explicitly create all dirs.
  2179. 2006-11-26 Mark Wielaard <mark@klomp.org>
  2180. * gnu/java/net/PlainSocketImpl.java (accept): Reset timeout on Socket.
  2181. 2006-11-26 Dalibor Topic <robilad@kaffe.org>
  2182. * native/target/.cvsignore,
  2183. native/target/generic/.cvsignore,
  2184. native/target/Linux/.cvsignore:
  2185. Removed no longer used files.
  2186. * native/target: Removed no longer used directory.
  2187. 2006-11-26 Dalibor Topic <robilad@kaffe.org>
  2188. Fixes bug #29133.
  2189. * libraries/clib/nio/gnu_java_nio_VMSelector.c
  2190. (Java_gnu_java_nio_VMSelector_select):
  2191. Use strerror if strerror_r is not available.
  2192. Reported by: Michael Franz <mvfranz@gmail.com>,
  2193. Riccardo Mottola <zuse@libero.it>
  2194. 2006-11-26 Dalibor Topic <robilad@kaffe.org>
  2195. Fixes bug #26756.
  2196. * native/jni/midi-dssi/Makefile.am (AM_CFLAGS): Removed
  2197. STRICT_WARNING_CFLAGS since it caused the build to fail
  2198. on GNU/Linux.
  2199. 2006-11-26 Ian Rogers <ian.rogers@manchester.ac.uk>
  2200. * doc/vmintegration.texinfo: Update VM Threading Model section.
  2201. 2006-11-26 Tom Tromey <tromey@redhat.com>
  2202. * native/jni/java-net/java_net_VMNetworkInterface.c: Conditionally
  2203. include ifaddrs.h.
  2204. (Java_java_net_VMNetworkInterface_getVMInterfaces): Updated
  2205. conditional.
  2206. * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
  2207. Conditionally include ifaddrs.h.
  2208. (getif_address): Updated conditional.
  2209. (getif_index): Likewise.
  2210. * configure.ac: Check for ifaddrs.h.
  2211. 2006-11-25 Mark Wielaard <mark@klomp.org>
  2212. * java/io/File.java (list): Return empty list for unreadable dirs.
  2213. 2006-11-25 Mark Wielaard <mark@klomp.org>
  2214. * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawGlyphVector):
  2215. Synchronize on font peer.
  2216. (setFont): Likewise.
  2217. * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Mark
  2218. synchronized.
  2219. (getTextMetrics): Likewise.
  2220. 2006-11-25 Roman Kennke <kennke@aicas.com>
  2221. * javax/swing/text/GapContent.java
  2222. (getPositionsInRange): Rewritten to use the more efficient
  2223. binary search searchFirst() and avoid an NPE that was caused
  2224. by GC'ed positions.
  2225. 2006-11-25 Mark Wielaard <mark@klomp.org>
  2226. * javax/swing/text/CompositeView.java (modelToView): Never return
  2227. null.
  2228. 2006-11-25 Mark Wielaard <mark@klomp.org>
  2229. * javax/swing/text/html/TableView.java (calculateColumnRequirements):
  2230. Check whether rowView instanceof RowView.
  2231. (updateGrid): Likewise.
  2232. 2006-11-25 Mario Torre <neugens@nirvana.limasoftware.net>
  2233. PR28462
  2234. * java/text/DecimalFormat.java: Almost new rewrite, and update to 1.5.
  2235. * java/text/NumberFormat.java (format): all format methods, fixed
  2236. FieldPosition argument should never be null.
  2237. (format(Object, StringBuffer, FieldPosition)): fixed signature,
  2238. method is not final.
  2239. * java/text/DecimalFormatSymbols.java (clone): fixed to also clone
  2240. locale.
  2241. * AUTHORS: added my name to the file.
  2242. 2006-11-25 Mark Wielaard <mark@klomp.org>
  2243. * javax/swing/text/html/StyleSheet.java (paint): Guard against
  2244. getChildAllocation() returning null.
  2245. 2006-11-25 Mark Wielaard <mark@klomp.org>
  2246. * gnu/javax/swing/text/html/css/Selector.java (calculateSpecificity):
  2247. Use clazzIndex for id substring.
  2248. 2006-11-25 Mark Wielaard <mark@klomp.org>
  2249. * java/awt/EventQueue.java (pop): Only terminate dispatchThread when
  2250. it is still running.
  2251. 2006-11-25 Mark Wielaard <mark@klomp.org>
  2252. Fixes bug #28822
  2253. * doc/api/Makefile.am (create_html): Guard GJDOC invocation with
  2254. CREATE_API_DOCS
  2255. 2006-11-24 Tania Bento <tbento@redhat.com>
  2256. * java/awt/font/TextHitInfo.java
  2257. (equals(TextHitInfo)): If TextHitInfo parameter is null, return false.
  2258. (beforeOffset): Decreased first parameter by 1.
  2259. 2006-11-24 Francis Kung <fkung@redhat.com>
  2260. * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
  2261. (constructor): Check sample model when setting fastCM flag.
  2262. (updateBufferedImage): Check scanline and sample model offsets before
  2263. copying data directly into the image data buffer.
  2264. 2006-11-24 Francis Kung <fkung@redhat.com>
  2265. * gnu/java/awt/java2d/QuadSegment.java
  2266. (offsetSubdivided): Handle special straight-line cases.
  2267. 2006-11-24 Roman Kennke <kennke@aicas.com>
  2268. * java/awt/dnd/DropTarget.java
  2269. (DropTargetAutoScroller.HYSTERESIS): New constant.
  2270. (DropTargetAutoScroller.DELAY): New constant.
  2271. (DropTargetAutoScroller.inner): New field. A cached
  2272. Rectangle instance.
  2273. (DropTargetAutoScroller.outer): New field. A cached
  2274. Rectangle instance.
  2275. (DropTargetAutoScroller.timer): New field. The actual timer.
  2276. (DropTargetAutoScroller.DropTargetAutoScroller):
  2277. Initialize timer.
  2278. (DropTargetAutoScroller.actionPerformed): Implemented.
  2279. (DropTargetAutoScroller.stop): Implemented.
  2280. (DropTargetAutoScroller.updateLocation): Implemented.
  2281. (clearAutoscroll): Stop the autoscroller before nullifying it.
  2282. (createDropTargetAutoScroller): Don't set the field here,
  2283. only return a new instance.
  2284. (dragEnter): Only do something when active. Initialize
  2285. auto scrolling.
  2286. (dragExit): Only do something when active. Stop auto scrolling.
  2287. (dragOver): Only do something when active. Update auto scrolling.
  2288. (drop): Only do something when active. Update auto scrolling.
  2289. (dropActionChanged): Only do something when active. Update
  2290. auto scrolling.
  2291. (initializeAutoScrolling): Check if component is an instance
  2292. of Autoscroll, otherwise do nothing.
  2293. (setActive): Disable autoscrolling when deactivating.
  2294. (setComponent): When component is set to null, disable autoscrolling.
  2295. 2006-11-24 David Gilbert <david.gilbert@object-refinery.com>
  2296. * java/beans/beancontext/BeanContextServicesSupport.java
  2297. (getChildBeanContextServicesListener): Implemented.
  2298. 2006-11-23 Roman Kennke <kennke@aicas.com>
  2299. * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
  2300. (createGraphics): Use constructor to create new instance of
  2301. BufferedImageGraphics.
  2302. * java/awt/Toolkit.java
  2303. (getDefaultToolkit): Really try to get a real toolkit. Only
  2304. use HeadlessToolkit if no other is available.
  2305. * gnu/java/awt/peer/gtk/GtkToolkit.java
  2306. (checkHeadless): New helper method. Checks for headless environment
  2307. and throws HeadlessException if appropriate.
  2308. (createButton): Check for headless.
  2309. (createCanvas): Check for headless.
  2310. (createCheckbox): Check for headless.
  2311. (createCheckboxMenuItem): Check for headless.
  2312. (createChoice): Check for headless.
  2313. (createDialog): Check for headless.
  2314. (createDragGestureRecognizer): Check for headless.
  2315. (createDragSourceContextPeer): Check for headless.
  2316. (createEmbeddedWindow): Check for headless.
  2317. (createFileDialog): Check for headless.
  2318. (createFrame): Check for headless.
  2319. (createCheckbox): Check for headless.
  2320. (createLabel): Check for headless.
  2321. (createList): Check for headless.
  2322. (createMenu): Check for headless.
  2323. (createMenuBar): Check for headless.
  2324. (createMenuItem): Check for headless.
  2325. (createPanel): Check for headless.
  2326. (createPopupMenu): Check for headless.
  2327. (createScrollbar): Check for headless.
  2328. (createScrollPane): Check for headless.
  2329. (createTextArea): Check for headless.
  2330. (createTextField): Check for headless.
  2331. (createWindow): Check for headless.
  2332. 2006-11-23 David Gilbert <david.gilbert@object-refinery.com>
  2333. * java/beans/beancontext/BeanContextSupport.java
  2334. (deserialize): Implemented,
  2335. (serialize): Implemented.
  2336. 2006-11-23 Roman Kennke <kennke@aicas.com>
  2337. * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
  2338. (createGraphics): Try to use Cairo graphics if available.
  2339. 2006-11-22 David Gilbert <david.gilbert@object-refinery.com>
  2340. * java/beans/beancontext/BeanContextSupport.java
  2341. (toArray): Added API docs,
  2342. (toArray(Object[])): Added API docs, removed NotImplementedException.
  2343. 2006-11-22 Tania Bento <tbento@redhat.com>
  2344. * javax/swing/JRootPane.java
  2345. (setLayeredPane): Added documentation; throw
  2346. IllegalComponentStateException if layered pane parameter is null.
  2347. 2006-11-22 David Gilbert <david.gilbert@object-refinery.com>
  2348. * java/beans/beancontext/BeanContextSupport.java
  2349. (avoidingGui): Removed NotImplementedException.
  2350. 2006-11-22 Francis Kung <fkung@redhat.com>
  2351. * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
  2352. (drawGlyphVector): Clip updated area to glyph bounds.
  2353. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  2354. (createPath): Eliminate distortion when pixel-shifting rectangles; separate
  2355. x-coordinate and y-coordinate pixel shifting.
  2356. (shifted): Removed method.
  2357. (shiftX): New method, recognising scaling transforms.
  2358. (shiftY): New method, recognising scaling transforms.
  2359. (walkPath): Separate x-coordinate and y-coordinate pixel shifting.
  2360. 2006-11-22 Roman Kennke <kennke@aicas.com>
  2361. * java/awt/font/TextLayout.java
  2362. (hash): New field. Caches the hash code.
  2363. (hashCode): Implemented.
  2364. 2006-11-22 Roman Kennke <kennke@aicas.com>
  2365. * java/awt/image/ImageFilter.java
  2366. Reformat whole class.
  2367. (getFilterInstance): Don't touch the consumer field. Don't check
  2368. consumer.
  2369. (imageComplete): Don't check consumer.
  2370. (setColorModel): Don't check consumer.
  2371. (setDimensions): Don't check consumer.
  2372. (setHints): Don't check consumer.
  2373. (setPixels): Don't check consumer.
  2374. (setProperties): Pass the original property too.
  2375. * java/awt/image/IndexColorModel.java
  2376. (IndexColorModel(int,int,byte[],byte[],byte[],int)): Set the
  2377. transparent pixel by calling the new helper method.
  2378. (IndexColorModel(int,int,byte[],int,boolean,int)): Set the
  2379. transparent pixel by calling the new helper method.
  2380. (IndexColorModel(int,int,int[],int,boolean,int,int)): Set the
  2381. transparent pixel by calling the new helper method.
  2382. (coerceData): Removed. This is not needed.
  2383. (getAlpha): Simply return value from color map. The transparent
  2384. pixel has to be there.
  2385. (setTransparentPixel): New helper method. Inserts the transparent
  2386. pixel.
  2387. * java/awt/image/RGBImageFilter.java
  2388. Reformat whole class.
  2389. (convertColorModelToDefault): Removed. No longer needed.
  2390. (filterIndexColorModel): Don't handle transparent pixels
  2391. separately.
  2392. (filterRGBPixels): Set pixels on consumer already.
  2393. (makeColor): Removed. No longer needed.
  2394. * java/awt/image/ReplicateScaleFilter.java
  2395. (replicatePixels): Removed.
  2396. (setDimension): Correctly compute destination size, avoid double
  2397. calculations.
  2398. (setPixels): Avoid double calculations. Fixed some boundary cases.
  2399. (setupSources): New helper method.
  2400. * java/awt/image/SampleModel.java
  2401. (setDataElements): Also handle TYPE_SHORT, TYPE_FLOAT
  2402. and TYPE_DOUBLE.
  2403. * java/awt/image/SinglePixelPackedSampleModel.java
  2404. (setDataElements(int,int,int,int,Object,DataBuffer)): Removed.
  2405. This is not needed as the superclass already copies line
  2406. by line.
  2407. (setDataElements(int,int,Object,DataBuffer)): Simplified code,
  2408. removed some checks that the RI also doesn't perform. Call
  2409. DataBuffer.setElem().
  2410. 2006-11-22 Roman Kennke <kennke@aicas.com>
  2411. * java/awt/text/TextLayout.java
  2412. (getLogicalRangesForVisualSelection): Implemented.
  2413. 2006-11-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
  2414. * sun/reflect/annotation/AnnotationParser.java,
  2415. * sun/reflect/annotation/AnnotationType.java,
  2416. * sun/reflect/annotation/EnumConstantNotPresentExceptionProxy.java,
  2417. * sun/reflect/annotation/ExceptionProxy.java:
  2418. Stubbed.
  2419. * sun/misc/ServiceConfigurationError.java,
  2420. * sun/misc/Service.java:
  2421. Implemented.
  2422. 2006-11-21 Roman Kennke <kennke@aicas.com>
  2423. * java/awt/text/TextLayout.java
  2424. (Run.isLeftToRight): New helper method.
  2425. (logicalToVisual): New field. Maps logical indices to visual
  2426. indices.
  2427. (visualToLogical): New field. Maps visual indices to logical
  2428. indices.
  2429. (TextLayout): Setup mappings.
  2430. (setupMappings): New method for setting up the mappings.
  2431. (getCharacterLevel): Reorganized code.
  2432. (getNextLeftHit(int)): Implemented.
  2433. (getNextLeftHit(int,CaretPolicy)): New method.
  2434. (getNextLeftHit(TextHitInfo)): Implemented.
  2435. (getNextRightHit(int)): Implemented.
  2436. (getNextRightHit(int,CaretPolicy)): New method.
  2437. (getNextRightHit(TextHitInfo)): New method.
  2438. (getVisualOtherHit): Implemented.
  2439. (checkHitInfo): New helper methods for checking parameters.
  2440. (hitToCaret): New helper method. Maps hit infos to caret locations.
  2441. (caretToHit): New helper method. Maps caret locations to hit infos.
  2442. (isCharacterLTR): New helper method.
  2443. (CaretPolicy.getStrongCaret): Implemented.
  2444. 2006-11-21 Francis Kung <fkung@redhat.com>
  2445. * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
  2446. (draw): Include stroke width when calculating bounds.
  2447. (updateBufferedImage): Round bounds more generously, handle negative
  2448. height/width values, and clip more intelligently.
  2449. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  2450. (createPath): Add shortcut optimization for lines.
  2451. (draw): Include stroke width when calculating bounds.
  2452. (drawLine): Delegate to main draw() method.
  2453. (drawRect): Likewise.
  2454. (fillRect): Delegate to main fill() method.
  2455. (findStrokedBounds): New method.
  2456. (setCustomPaint): Round bounds more generously.
  2457. * gnu/java/awt/peer/gtk/ComponentGraphics.java
  2458. (drawLine): Removed.
  2459. (drawRect): Removed.
  2460. (fillRect): Removed.
  2461. 2006-11-21 Francis Kung <fkung@redhat.com>
  2462. * gnu/java/awt/java2d/TexturePaintContext.java
  2463. (getRaster): Handle negative coordinate values.
  2464. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  2465. (setPaint): Moved custom paint processing to a new method.
  2466. (setPaintPixels): Added x, y parameters.
  2467. (getRealBounds): Added documentation.
  2468. (copy): Copy clipping information.
  2469. (drawLine): Process custom paints.
  2470. (setCustomPaint): New method.
  2471. (fill): Process custom paints.
  2472. (drawGlyphVector): Process custom paints.
  2473. (drawRect): Process custom paints.
  2474. (draw): Process custom paints.
  2475. * gnu/java/awt/peer/gtk/CairoSurface.java
  2476. (cairoCM_opaque): New constant.
  2477. * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
  2478. (argb32): Removed constant.
  2479. (rgb32): Removed constant.
  2480. (BufferedImageGraphics(BufferedImage)): Updated constant names.
  2481. (BufferedImageGraphics(BufferedImageGraphics)): Copy color model flags.
  2482. (updateBufferedImage): Transform to device-space before updating.
  2483. * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
  2484. (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Added x, y
  2485. parameters.
  2486. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
  2487. (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Set pattern
  2488. source at designated x, y origin.
  2489. 2006-11-21 Roman Kennke <kennke@aicas.com>
  2490. * java/awt/text/TextLayout.java
  2491. (Run): New inner helper class.
  2492. (length): New field.
  2493. (naturalBounds): New field.
  2494. (offset): New field.
  2495. (runIndices): Removed. This is now encapsulate in a Run object.
  2496. (runs): Changed to Run[].
  2497. (string): Changed to char[].
  2498. (totalAdvance): New field. Caches advance value.
  2499. (TextLayout(String,Font,FontRenderContext)): Change to store
  2500. string as char[] and run layout as Run[]. Clean out empty
  2501. run items.
  2502. (TextLayout(TextLayout,int,int)): Change to store
  2503. string as char[] and run layout as Run[].
  2504. (clone): Call private constructor for maximum efficiency.
  2505. (determineWhitespace): Adapted to use char[] data.
  2506. (draw): Adapted to use Run objects.
  2507. (getAdvance): Cache computed total advance.
  2508. (getBlackBoxBounds): Adapted to use Run objects.
  2509. (getCaretInfo): Use natural layout bounds.
  2510. (getCharacterCount): Return length field.
  2511. (getLogicalHighlightShape): Adapted to use Run objects.
  2512. (getNaturalBounds): New helper method. Calculates and returns the
  2513. natural bounds of this text layout.
  2514. (getOutline): Adapted to use Run objects.
  2515. (getStringProperties): Adapted to use char[] data.
  2516. (getVisibleAdvance): Adapted to use char[] and Run data.
  2517. (handleJustify): Adapted to use char[] and Run data.
  2518. (hitTestChar(float,float,Rectangle2D)): Implemented.
  2519. (hitTestChar(float,float)): Use natural bounds.
  2520. (setCharIndices): Adapted to use char[] and Run data.
  2521. (toString): Adapted to use char[] and Run data.
  2522. * java/text/Bidi.java
  2523. (requiresBidi): Exclude paragraph separators from bidi-triggers.
  2524. 2006-11-21 Roman Kennke <kennke@aicas.com>
  2525. * gnu/java/awt/peer/gtk/GdkFontMetrics.java:
  2526. Removed. This is now an inner class in GdkFontPeer.
  2527. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  2528. (drawString(float,float)): Use text layout cache from
  2529. GdkFontPeer.
  2530. (getFontMetrics): Delegate to GdkFontPeer.
  2531. * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
  2532. (getGlyphCodes): Also check array size.
  2533. (getGlyphPositions): Also check array size.
  2534. * gnu/java/awt/peer/gtk/GdkFontPeer.java
  2535. (GdkFontLineMetrics.fm): Removed.
  2536. (GdkFontLineMetrics.strikeThroughOffset): Removed.
  2537. (GdkFontLineMetrics.strikeThroughThickness): Removed.
  2538. (GdkFontLineMetrics.underlineOffset): Removed.
  2539. (GdkFontLineMetrics.underlineThickness): Removed.
  2540. (GdkFontLineMetrics.GdkFontLineMetrics): Don't take
  2541. FontMetrics argument. Don't init removed fields.
  2542. (GdkFontLineMetrics.getAscent): Return font peer's field.
  2543. (GdkFontLineMetrics.getDescent): Return font peer's field.
  2544. (GdkFontLineMetrics.getHeight): Return font peer's field.
  2545. (GdkFontLineMetrics.getLeading): Return font peer's field.
  2546. (GdkFontLineMetrics.getNumChars): Reformat.
  2547. (GdkFontLineMetrics.getStrikeThroughOffset): Return half ascent.
  2548. (GdkFontLineMetrics.getStrikeThroughThickness): Return 1.
  2549. (GdkFontLineMetrics.getUnderlineOffset): Return font peer's field.
  2550. (GdkFontLineMetrics.getUnderlineThickness): Return font peer's field.
  2551. (GdkFontMetrics): Moved class in here as inner class.
  2552. Make it use the font peer's fields and for the char(s) width
  2553. and string width method, use TextLayout to measure the actual widths.
  2554. (ascent): New field.
  2555. (bundle): Removed.
  2556. (DEFAULT_CTX): New constant field.
  2557. (descent): New field.
  2558. (FONT_METRICS_ASCENT): New constant.
  2559. (FONT_METRICS_DESCENT): New constant.
  2560. (FONT_METRICS_HEIGHT): New constant.
  2561. (FONT_METRICS_MAX_ADVANCE): New constant.
  2562. (FONT_METRICS_MAX_ASCENT): New constant.
  2563. (FONT_METRICS_MAX_DESCENT): New constant.
  2564. (FONT_METRICS_UNDERLINE_OFFSET): New constant.
  2565. (FONT_METRICS_UNDERLINE_THICKNESS): New constant.
  2566. (height): New field.
  2567. (maxAdvance): New field.
  2568. (maxAscent): New field.
  2569. (maxDescent): New field.
  2570. (metrics): New field. Stores a FontMetrics for this font.
  2571. (textLayoutCache): New field. Caches TextLayout instances.
  2572. (underlineOffset): New field.
  2573. (underlineThickness): New field.
  2574. (cinit): Don't initialize resource bundle.
  2575. (GdkFontPeer): Setup the metrics.
  2576. (getFontMetrics): Return stored metrics if possible.
  2577. (getLineMetrics): Adapt to new constructor.
  2578. (initFont): New helper method.
  2579. (setupMetrics): New helper method.
  2580. * gnu/java/awt/peer/gtk/GtkToolkit.java
  2581. (LRUCache): Made class a static class.
  2582. (getFontMetrics): Delegate to GdkFontPeer.
  2583. * native/jni/gtk-peer/gdkfont.h
  2584. Added new constant defines.
  2585. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
  2586. (getFontMetrics): Rewritten to fetch the font metrics from
  2587. FreeType.
  2588. 2006-11-20 Tania Bento <tbento@redhat.com>
  2589. * javax/swing/ButtonGroup.java:
  2590. (setSelected): Select the ButtonModel if all conditions
  2591. are met.
  2592. 2006-11-20 Tania Bento <tbento@redhat.com>
  2593. * javax/swing/JSlider.java:
  2594. (updateLabelUIs): Removed casting.
  2595. 2006-11-20 Mark Wielaard <mark@klomp.org>
  2596. * gnu/java/util/regex/RE.java (messages): Don't initialize.
  2597. (bundle): New static final String field.
  2598. (getLocalizedMessage): Initialize messages when still null.
  2599. * gnu/java/util/regex/RESyntax.java (SYNTAX_IS_FINAL): Removed.
  2600. (set): Use RE.getLocalizedMessage().
  2601. (clear): Likewise.
  2602. (setLineSeparator): Likewise.
  2603. 2006-11-20 Roman Kennke <kennke@aicas.com>
  2604. * javax/swing/text/html/StyleSheet.java
  2605. (linked): New field.
  2606. (styleSheet): Replaced by linked.
  2607. (addStyleSheet): Use an arraylist for simplicity.
  2608. (getRule): Removed useless instantiation.
  2609. (getStyleSheets): Convert array list to array.
  2610. (removeStyleSheet): Use an arraylist for simplicity.
  2611. (resolveStyle): Include styles from linked lists.
  2612. 2006-11-20 Roman Kennke <kennke@aicas.com>
  2613. * javax/swing/text/BoxView.java
  2614. (BoxView): Initialize with invalid req's.
  2615. (forwardUpdate): Trigger repaint when children changed the
  2616. major axis.
  2617. (getResizeWeight): Return resizable when the pref differs from
  2618. the min or the pref differs from the max size.
  2619. (layoutMajorAxis): Actually sum up the preferred sizes.
  2620. (paint): Made binary search more robust.
  2621. (replace): Let arrays shrink when needed.
  2622. (replaceLayoutArray): Let arrays shrink when needed.
  2623. (setAxis): Trigger preferenceChanged.
  2624. * javax/swing/text/CompositeView.java
  2625. (getInsideAllocation): Call insets method to take account
  2626. of overriding subclasses.
  2627. * javax/swing/text/DefaultStyledDocument.java
  2628. (ElementBuffer.finishEdit): Clear the stack and edits buffer.
  2629. (ElementBuffer.insertUpdate): Only remove the found element, not
  2630. all.
  2631. * javax/swing/text/GlyphView.java
  2632. (insertUpdate): Pass null in preferenceChanged.
  2633. (removeUpdate): Pass null in preferenceChanged.
  2634. (changedUpdate): Pass null in preferenceChanged.
  2635. * javax/swing/text/Utilities.java
  2636. (drawTabbedText): Avoid single calls to charWidth() and instead
  2637. call charsWidth() on whole chunks.
  2638. * javax/swing/text/html/HTMLDocument.java
  2639. (BlockElement.getName): Fall back to super when necessary.
  2640. (RunElement.getName): Fall back to super when necessary.
  2641. (HTMLReader.MAX_THRESHOLD): New constant field.
  2642. (HTMLReader.GROW_THRESHOLD): New constant field.
  2643. (HTMLReader.theshold): New field.
  2644. (HTMLReader.HTMLReader): Fetch threshold from document.
  2645. (HTMLReader.addContent): Sucessivly grow the threshold.
  2646. (createLeafElement): Don't create two elemens and don't set
  2647. attribute.
  2648. * javax/swing/text/html/TableView.java
  2649. (RowView.replace): Invalidate grid.
  2650. (gridValid): Made package private.
  2651. (layoutMinorAxis): Mark all rows as invalid.
  2652. (replace): Invalidate grid.
  2653. 2006-11-20 Roman Kennke <kennke@aicas.com>
  2654. * javax/swing/text/AbstractDocument.java
  2655. (DefaultDocumentEvent.changes): Changed to be a HashMap.
  2656. (DefaultDocumentEvent.modified): Made private.
  2657. (DefaultDocumentEvent.THRESHOLD): New constant field.
  2658. (DefaultDocumentEvent.DefaultDocumentEvent): Don't initialize
  2659. changes table.
  2660. (DefaultDocumentEvent.addEdit): Switch to hashmap only when
  2661. exceeding threshold.
  2662. (DefaultDocumentEvent.getChange): Use iterative approach
  2663. when we have no hashmap yet.
  2664. (documentCV): Removed.
  2665. (numWriters): Renamed from numWritersWaiting.
  2666. (createPosition): Reformat.
  2667. (getCurrentWriter): Synchronized.
  2668. (readLock): Implement more straightforward.
  2669. (readUnlock): Implement more straightforward.
  2670. (writeLock): Implement more straightforward.
  2671. (writeUnlock): Implement more straightforward.
  2672. (remove): Write-lock here.
  2673. (removeImpl): Don't write-lock here.
  2674. 2006-11-20 Roman Kennke <kennke@aicas.com>
  2675. * javax/swing/JEditorPane.java
  2676. (setPage): Set priority on loading thread.
  2677. 2006-11-20 Roman Kennke <kennke@aicas.com>
  2678. * javax/swing/plaf/basic/BasicTextUI.java
  2679. (RootView.paint): Avoid allocation.
  2680. (cachedInsets): New field. Caches an Insets instance.
  2681. (getNextVisualPositionFrom): Read-lock the document to avoid
  2682. thread nastiness. Push allocation.
  2683. (getPreferredSize): Push fake allocation when not yet laid out.
  2684. (getVisibleEditorRect): Use cached insets.
  2685. (viewToModel): Read-lock the document to avoid
  2686. thread nastiness. Push allocation.
  2687. 2006-11-20 Roman Kennke <kennke@aicas.com>
  2688. * javax/swing/text/StyleContext.java
  2689. (attributeSetPool): Synchronize this map.
  2690. (addAttribute): Synchronize this method.
  2691. (addAttributes: Synchronize this method.
  2692. (readObject): Install synchronized map on target object.
  2693. (removeAttribute): Synchronize this method.
  2694. (removeAttributes): Synchronize this method.
  2695. (removeAttributes): Synchronize this method.
  2696. 2006-11-20 Roman Kennke <kennke@aicas.com>
  2697. * javax/swing/text/GapContent.java
  2698. (GapContentPosition.GapContentPosition): Removed constructor.
  2699. (Mark): Made subclass of WeakReference to refer directly to
  2700. the associated position.
  2701. (Mark.refCount): Removed.
  2702. (Mark.Mark(int,GapContentPosition,ReferenceQueue):
  2703. New constructor. Used to reference a position and register the
  2704. reference queue.
  2705. (Mark.Mark(index)): Call super and don't adjust mark offset.
  2706. (Mark.compareTo): Removed.
  2707. (Mark.equals): Removed.
  2708. (Mark.getOffset): Return at least null. Removed assert.
  2709. (Mark.getPosition): New helper method.
  2710. (garbageMarks): New field.
  2711. (positions): Removed.
  2712. (searchMark): New field.
  2713. (GapContent): Removed init of positions map.
  2714. (addImpl): New helper method.
  2715. (adjustPositionsInRange): Removed.
  2716. (compare): New helper method.
  2717. (createPosition): Rewritten for new datastructures. This now
  2718. performs a much more efficient binary search for finding
  2719. a position at the requested offste.
  2720. (garbageCollect): Rewritten to collect unused marks.
  2721. (getPositionsInRange): Adjusted for new data structures.
  2722. (removeImpl): New helper method.
  2723. (replace): Use new addImpl() and removeImpl() helper method for
  2724. correctly adjusting the positions and gap.
  2725. (search): Rewritten. Implements a more suitable binary search.
  2726. (searchFirst): New helper method.
  2727. (setPositionsInRange): Removed.
  2728. (shiftEnd): Update the marks here.
  2729. (shiftGap): Update the marks here.
  2730. (shiftGapEndUp): Update the marks here.
  2731. (shiftGapStartDown): Update the marks here.
  2732. 2006-11-20 Marco Trudel <mtrudel@gmx.ch>
  2733. * java/util/jar/JarFile.java (digestAlgorithms): New field used to cache
  2734. digest algorithm implementations.
  2735. (readSignatures): Parse the manifest once and reuse that data.
  2736. Add support for line breaks.
  2737. (verifyHashes): Use the parsed manifest entry.
  2738. (readManifestEntry): Removed.
  2739. 2006-11-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
  2740. * java/beans/beancontext/BeanContextServicesSupport.java:
  2741. Added more documentation.
  2742. (addService(Class,BeanContextServiceProvider,boolean)):
  2743. Synchronized over global hierarchy lock.
  2744. (bcsPreDeserializationHook(ObjectInputStream)): Implemented.
  2745. (bcsPreSerializationHook(ObjectOutputStream)): Implemented.
  2746. (childJustRemovedHook(Object,BCSChild)): Implemented.
  2747. (createBCSSServiceProvider(Class,BeanContextServiceProvider)):
  2748. Implemented.
  2749. (fireServiceRevoked(BeanContextServiceRevokedEvent)):
  2750. Added revocation-only listeners.
  2751. (getBeanContextServicesPeer()): Implemented.
  2752. (getCurrentServiceClasses(Class)): Synchronized over global
  2753. hierarchy lock.
  2754. (getCurrentServiceSelectors(Class)): Synchronized over global
  2755. hierarchy lock, and fixed FIXME.
  2756. (getService(BeanContextChild,Object,Class,Object,
  2757. BeanContextServiceRevokedListener)): Implemented.
  2758. (hasService(Class)): Synchronized over global hierarchy lock.
  2759. (releaseService(BeanContextChild,Object,Object)): Implemented.
  2760. (revokeService(Class,BeanContextServiceProvider,boolean)): Implemented.
  2761. * java/beans/beancontext/BeanContextSupport.java:
  2762. (remove(Object, boolean)): Documentation correction.
  2763. 2006-11-19 Roman Kennke <kennke@aicas.com>
  2764. * javax/swing/JEditorPane.java
  2765. (PageStream): New inner class.
  2766. (PageLoader): New inner class.
  2767. (loading): New field.
  2768. (setPage): Implemented asynchronous loading.
  2769. * javax/swing/text/DefaultStyledDocument.java
  2770. (ElementBuffer.create): New helper method.
  2771. (create): Use new ElementBuffer method instead of hack.
  2772. * javax/swing/text/html/HTMLDocument.java
  2773. (HTMLReader.flushImpl): New helper method.
  2774. (HTMLReader.addContent): Use flushImpl().
  2775. (HTMLReader.blockClose): Added null check.
  2776. (HTMLReader.flush): Use flushImpl().
  2777. * javax/swing/text/html/HTMLEditorKit.java
  2778. (createDefaultDocument): Set load priority to 4 and token threshold
  2779. to 100.
  2780. * javax/swing/text/html/TableView.java
  2781. (insertUpdate): Overridden to provide correct view factory.
  2782. (removeUpdate): Overridden to provide correct view factory.
  2783. (changedUpdate): Overridden to provide correct view factory.
  2784. 2006-11-19 Roman Kennke <kennke@aicas.com>
  2785. * javax/swing/text/BoxView.java
  2786. (clipRect): New field.
  2787. (tmpRect): New field.
  2788. (layout): Reorganized code. Now uses layoutAxis() helper method.
  2789. (layoutAxis): New helper method.
  2790. (paint): Optimized by using cached Rectangle objects and
  2791. a binary search for child views inside the clip.
  2792. * javax/swing/text/CompositeView.java
  2793. (insideAllocation): Made private and initialized in constructor.
  2794. (getInsideAllocation): Removed initialization block for
  2795. insideAllocation field. Avoid unnecessary allocations.
  2796. * javax/swing/text/GlyphView.java
  2797. (DefaultGlyphPainter.paint): Only paint the actual glyphs here
  2798. The remaining stuff (background, underline and striking) is
  2799. done in the GlpyhView itself. Avoid unnecessary allocations.
  2800. (cached): A cached Segment instance.
  2801. (getText): Return cached segment.
  2802. (paint): Paint underline, strike and background here. Avoid
  2803. unecessary allocs.
  2804. 2006-11-19 Roman Kennke <kennke@aicas.com>
  2805. * javax/swing/text/html/StyleSheet.java
  2806. (getFontSize): Removed debug output.
  2807. (ListPainter.tmpRect): New field.
  2808. (ListPainter.paint): Align bullet vertically centered to
  2809. the first line of the paragraph.
  2810. 2006-11-17 Roman Kennke <kennke@aicas.com>
  2811. * gnu/javax/swing/text/html/css/CSSParser.java
  2812. (parseDeclaration): Trim string before reporting.
  2813. * gnu/javax/swing/text/html/css/FontSize.java
  2814. (size): New field.
  2815. (isRelative): New field.
  2816. (sizeIndex): New field.
  2817. (FontSize): Initialize new fields.
  2818. (getValue): Changed to call getValue(int).
  2819. (getValue(int)): New method. Implements relative font sizes.
  2820. (isRelative): New method.
  2821. (mapAbsolute): Store index.
  2822. (mapEM): New helper method.
  2823. (mapLarger): New helper method.
  2824. (mapPercent): New helper method.
  2825. (mapRelative): New helper method.
  2826. (mapSmaller): New helper method.
  2827. (mapValue): New helper method.
  2828. * javax/swing/text/html/CSS.java
  2829. (parseBackgroundShorthand): Create CSSColor directly.
  2830. * javax/swing/text/html/StyleSheet.java
  2831. (addRule): Invalidate resolved styles.
  2832. (getFont): Call new getFontSize() method to resolve relative
  2833. font sizes.
  2834. (getFontSize): New helper method. Resolves relative font sizes.
  2835. (translateHTMLToCSS): Create CSS objects directly.
  2836. 2006-11-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
  2837. * gnu/java/util/regex/RETokenNamedProperty.java:
  2838. (getHandler(String)): Add support for 'all'.
  2839. 2006-11-18 Andrew John Hughes <gnu_andrew@member.fsf.org>
  2840. * gnu/javax/management/Server.java:
  2841. Initial implementation of a GNU management server.
  2842. * javax/management/MBeanPermission.java,
  2843. * javax/management/MBeanRegistration.java,
  2844. * javax/management/MBeanTrustPermission.java:
  2845. Implemented.
  2846. 2006-11-17 Mark Wielaard <mark@klomp.org>
  2847. * docs/www.gnu.org/newsitems.txt: Add Sun GPL news announcement.
  2848. 2006-11-17 Gary Benson <gbenson@redhat.com>
  2849. * java/net/DatagramSocket.java (getLocalAddress, connect,
  2850. receive): Perform security check on address not hostname.
  2851. 2006-11-16 Roman Kennke <kennke@aicas.com>
  2852. * gnu/javax/swing/text/html/parser/support/Parser.java
  2853. (_handleText): Fixed condition for consuming whitespace.
  2854. Removed validator check, this is superfluous now.
  2855. 2006-11-16 Roman Kennke <kennke@aicas.com>
  2856. * gnu/javax/swing/text/html/css/CSSParser.java
  2857. (parseRuleset): Support 'combined' selectors.
  2858. (main): Adapt callback for combined selectors support.
  2859. * gnu/javax/swing/text/html/css/CSSParserCallback.java
  2860. (startStatement): Take selector array as argument, to
  2861. support combined selectors.
  2862. * javax/swing/text/html/BlockView.java
  2863. (calculateMinorAxisRequirements): Fetch and apply alignment.
  2864. * javax/swing/text/html/StyleSheet.java
  2865. (CSSStyle): Inverted the constants for correct precedence.
  2866. (CSSStyleSheetParserCallback.styles): New field. Stores the current
  2867. styles.
  2868. (CSSStyleSheetParserCallback.style): Removed.
  2869. (CSSStyleSheetParserCallback.declaration): Update multiple styles.
  2870. (CSSStyleSheetParserCallback.end): Push multiple styles.
  2871. (CSSStyleSheetParserCallback.start): Initialize multiple styles.
  2872. 2006-11-16 Roman Kennke <kennke@aicas.com>
  2873. * javax/swing/text/FlowView.java
  2874. (LogicalView.getPreferredSpan): Calculate maximum correctly.
  2875. * javax/swing/text/GlyphView.java
  2876. (tabExpander): New field.
  2877. (tabX): New field.
  2878. (breakView): Set tabX on broken view.
  2879. (getPartialSpan): Let the painter fetch the span.
  2880. (getTabbedSpan): Update the tab expander field. Maybe trigger
  2881. relayout.
  2882. (getTabExpander): Simply return the stored expander.
  2883. * javax/swing/text/Utilities.java
  2884. (getTabbedTextOffset): Made algoritm a little smarter and more
  2885. efficient.
  2886. (getTabbedTextWidth): Don't add single char widths, instead add
  2887. chunks of characters.
  2888. * javax/swing/text/html/ParagraphView.java
  2889. (calculateMinorAxisRequirements): Adjust margin only when the
  2890. CSS span is not fixed.
  2891. 2006-11-16 David Gilbert <david.gilbert@object-refinery.com>
  2892. * java/beans/beancontext/BeanContextSupport.java
  2893. (getChildBeanContextMembershipListener): Implemented,
  2894. (getChildPropertyChangeListener): Implemented,
  2895. (getChildSerializable): Implemented,
  2896. (getChildVetoableChangeListener): Implemented,
  2897. (getChildVisibility): Implemented,
  2898. (setDesignTime): Use same property name as Sun's implementation.
  2899. 2006-11-16 David Gilbert <david.gilbert@object-refinery.com>
  2900. * java/beans/DesignMode.java: Reformatted and removed a FIXME,
  2901. * java/beans/Statement.java
  2902. (toString): Updated to match reference implementation.
  2903. 2006-11-15 Roman Kennke <kennke@aicas.com>
  2904. * javax/swing/text/html/HTMLEditorKit.java
  2905. (InsertHTMLTextAction.actionPerformed): Also try inserting
  2906. the alternate tag. Adjust the selection accordingly.
  2907. (InsertHTMLTextAction.adjustSelection): New helper method.
  2908. Adjusts the selection after an insertion.
  2909. (insertAtBoundary): Delegate to deprecated method.
  2910. (insertAtBoundry): Implemented missing method.
  2911. (tryInsert): New helper method.
  2912. (defaultActions): Implemented to fill the array with
  2913. a couple of InsertHTMLTextActions.
  2914. 2006-11-15 Roman Kennke <kennke@aicas.com>
  2915. * javax/swing/text/html/ImageView.java
  2916. (Observer): New class. Observes image loading.
  2917. (haveHeight): New field.
  2918. (haveWidth): New field.
  2919. (height): New field.
  2920. (width): New field.
  2921. (image): New field.
  2922. (imageIcon): New field.
  2923. (loading): New field.
  2924. (observer): New field.
  2925. (reloadImage): New field.
  2926. (reloadProperties): New field.
  2927. (ImageView): Initialize observer and some flags.
  2928. (getImage): Update the image state and return the image.
  2929. (loadImage): New helper method. Actually starts loading.
  2930. (paint): Rewritten to paint the image directly, not via Icon.
  2931. (reloadImage): Rewritten. Loads the image and its properties.
  2932. (renderIcon): Removed. No more necessary.
  2933. (setPropertiesFromAttributes): Don't nullify image here.
  2934. Added comment about missing impl.
  2935. (setSize): Added comment about missing impl.
  2936. (updateSize): New helper method. Updates the size attributes.
  2937. (updateState): New helper method. Makes sure the image
  2938. and its properties are valid.
  2939. 2006-11-15 Roman Kennke <kennke@aicas.com>
  2940. * gnu/javax/swing/text/html/parser/support/Parser.java
  2941. (_handleEndTag_remaining): Consume whitespace after a closing
  2942. block like tag.
  2943. 2006-11-15 Roman Kennke <kennke@aicas.com>
  2944. * javax/swing/text/html/HTMLDocument.java
  2945. (HTMLReader.ParagraphAction.end): Call super instead of blockClose()
  2946. directly.
  2947. (HTMLReader.ParagraphAction.start): Call super instead of blockOpen()
  2948. directly.
  2949. (HTMLReader.parseStack): Removed.
  2950. (HTMLReader.blockClose): Simply call addContent() with ' '
  2951. instead of doing more complicated stuff. Removed parseStack
  2952. handling.
  2953. (HTMLReader.blockOpen): Removed parseStack handling.
  2954. (getInsertingReader): Removed parseStack init.
  2955. * gnu/javax/swing/text/html/parser/htmlValidator.java
  2956. (closeTag): Return true only when the tag actually should be
  2957. closed.
  2958. * gnu/javax/swing/text/html/parser/support/Parser.java
  2959. (_handleEndTag): Only actually close the tag when the validator
  2960. allows it.
  2961. 2006-11-15 Roman Kennke <kennke@aicas.com>
  2962. * javax/swing/text/html/CSS.java
  2963. (Attribute.BORDER_SPACING): New field for the CSS border-spacing
  2964. attribute.
  2965. * javax/swing/text/html/StyleSheet.java
  2966. (BoxPainter.bottomPadding): New field.
  2967. (BoxPainter.leftPadding): New field.
  2968. (BoxPainter.rightPadding): New field.
  2969. (BoxPainter.topPadding): New field.
  2970. (BoxPainter.BoxPainter): Fetch the MARGIN and PADDING* attributes
  2971. too.
  2972. (BoxPainter.getInset): Recognize and include the padding.
  2973. (translateHTMLToCSS): Added mapping for CELLPADDING and CELLSPACING.
  2974. javax/swing/text/html/TableView.java
  2975. (RowView.calculateMajorAxisRequirements): Adjust req's for
  2976. cellSpacing.
  2977. (RowView.layoutMajorAxis): Adjust multi-column span for cellSpacing.
  2978. (cellSpacing): New field.
  2979. (columnRequirements): Made package private to avoid accessor method.
  2980. (calculateMinorAxisRequirements): Include cellSpacing.
  2981. (calculateMajorAxisRequirements): Overridden to include cellSpacing.
  2982. (layoutMajorAxis): Likewise.
  2983. (layoutColumns): Respect cellSpacing.
  2984. (setParent): Overridden to fetch the CSS attributes when view gets
  2985. connected.
  2986. (setPropertiesFromAttributes): New method. Fetches the cell
  2987. spacing from the CSS attributes.
  2988. 2006-11-15 Roman Kennke <kennke@aicas.com>
  2989. * gnu/javax/swing/text/html/parser/support/Parser.java
  2990. (_handleText): Consume whitespace directly before a closing tag.
  2991. (restOfTag): Consume whitespace directly after opening.
  2992. * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
  2993. (preprocess): Don't perform array boundary checking by
  2994. catch AIOOBE, instead check the boundary in loop condition.
  2995. * gnu/javax/swing/text/html/parser/support/low/Constants.java
  2996. (TAG_CLOSE): New constants. Describes the token pattern for
  2997. a closing tag.
  2998. 2006-11-14 Roman Kennke <kennke@aicas.com>
  2999. * javax/swing/text/html/ImageView.java
  3000. (getPreferredSpan): Use CSS length values.
  3001. * javax/swing/text/html/TableView.java
  3002. (CellView.calculateMajorAxisRequirements): Overridden to
  3003. set the maximum reqs to maximum.
  3004. (RowView.getMaximumSize): For the X_AXIS, set the maximum
  3005. span to maximum.
  3006. (RowView.getMinimumSpan): Overridden. For the X_AXIS, return
  3007. the total column reqs.
  3008. (RowView.getPreferredSpan): Overridden. For the X_AXIS, return
  3009. the total column reqs.
  3010. * gnu/javax/swing/text/html/css/CSSColor.java
  3011. (convertValue): Catch NumberFormatExceptions for more robustness.
  3012. * gnu/javax/swing/text/html/css/FontSize.java
  3013. (mapPixels): Actually map px values. Catch NFE for more robustness.
  3014. 2006-11-14 Roman Kennke <kennke@aicas.com>
  3015. * gnu/java/awt/font/autofit/AxisHints.java,
  3016. * gnu/java/awt/font/autofit/Constants.java,
  3017. * gnu/java/awt/font/autofit/GlyphHints.java,
  3018. * nu/java/awt/font/autofit/Latin.java,
  3019. * nu/java/awt/font/autofit/LatinAxis.java,
  3020. * gnu/java/awt/font/autofit/LatinMetrics.java,
  3021. * gnu/java/awt/font/autofit/Scaler.java,
  3022. * gnu/java/awt/font/autofit/Script.java,
  3023. * gnu/java/awt/font/autofit/ScriptMetrics.java,
  3024. * gnu/java/awt/font/autofit/Segment.java,
  3025. * gnu/java/awt/font/autofit/Width.java:
  3026. New classes. This is some skeleton stuff for the FreeType-alike
  3027. auto-gridfitter.
  3028. * gnu/java/awt/font/opentype/CharGlyphMap.java: Made class public.
  3029. * gnu/java/awt/font/opentype/OpenTypeFont.java
  3030. (unitsPerEm): Made field public.
  3031. (getRawGlyphOutline): New method. Fetches the raw outline.
  3032. * gnu/java/awt/font/opentype/Scaler.java
  3033. (getRawGlyphOutline): New method. Fetches the raw outline.
  3034. * gnu/java/awt/font/opentype/truetype/GlyphLoader.java
  3035. (loadGlyph): New method. This is used to load raw outlines.
  3036. * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java
  3037. (getRawOutline): New method. Fetches the raw outline.
  3038. * gnu/java/awt/font/opentype/truetype/Zone.java:
  3039. Made class public.
  3040. 2006-11-14 Roman Kennke <kennke@aicas.com>
  3041. * javax/swing/RepaintManager.java
  3042. (RepaintManager): Fetch the default state for the double buffering
  3043. from a system property gnu.swing.doublebuffering.
  3044. 2006-11-14 Roman Kennke <kennke@aicas.com>
  3045. * javax/swing/plaf/basic/BasicLabelUI.java
  3046. (cachedInsets): New field.
  3047. (getFontMetrics): New helper method. Fetches the font metrics
  3048. from the component or the toolkit.
  3049. (getPreferredSize): Use getFontMetrics() helper method for
  3050. fetching the font metrics.
  3051. (paint): Use getFontMetrics() helper method for
  3052. fetching the font metrics. Only paint if icon or text
  3053. are != null. Use cached insets.
  3054. (paintDisabledText): Don't store/restore color object. The
  3055. JComponent painting mechanism takes care of this by calling
  3056. create().
  3057. (paintEnabledText): Don't store/restore color object. The
  3058. JComponent painting mechanism takes care of this by calling
  3059. create().
  3060. 2006-11-14 Roman Kennke <kennke@aicas.com>
  3061. * gnu/java/awt/peer/GLightweightPeer.java
  3062. (handleEvent): Try to do something reasonable and trigger painting
  3063. for the lightweight component.
  3064. (getFontMetrics): Fetch and return a font metrics object from
  3065. the Toolkit.
  3066. 2006-11-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
  3067. * gnu/java/util/regex/RETokenNamedProperty.java:
  3068. (getHandler(String)): Add support for 'all'.
  3069. 2006-11-13 Andreas Tobler <a.tobler@schweiz.org>
  3070. * AUTHORS: Add myself.
  3071. 2006-11-13 Thomas Fitzsimmons <fitzsim@redhat.com>
  3072. * AUTHORS: Add Tania Bento, Thomas Fitzsimmons, Francis Kung and
  3073. Dalibor Topic. Re-order 'K' section. Remove trailing space from
  3074. Roman Kennke's entry.
  3075. 2006-11-13 Roman Kennke <kennke@aicas.com>
  3076. * java/awt/image/IndexColorModel.java
  3077. (createCompatibleSampleModel): Implemented missing method.
  3078. 2006-11-11 Andreas Tobler <a.tobler@schweiz.org>
  3079. * gnu/java/awt/peer/gtk/GtkImageConsumer.java (setPixels): Handle data
  3080. from big endian systems correctly.
  3081. 2006-11-11 Roman Kennke <kennke@aicas.com>
  3082. * gnu/javax/swing/text/html/css/CSSColor.java
  3083. (isValidColor): New helper method. Checks strings if they
  3084. form a valid color value.
  3085. * gnu/javax/swing/text/html/css/Length.java
  3086. (Length): Catch number format exceptions.
  3087. * javax/swing/text/html/CSS.java
  3088. (addInternal): New method. Checks for shorthand CSS attributes
  3089. and parses them.
  3090. (parseBackgroundShorthand): New method. Parses the background
  3091. shorthand attribute.
  3092. * javax/swing/text/html/HTMLDocument.java
  3093. (HTMLReader.LinkAction): Made class a subclass of HiddenAction.
  3094. (HTMLReader.LinkAction.start): Implemented to load the linked
  3095. stylesheet.
  3096. (HTMLReader.LinkAction.end): Removed. This is not needed.
  3097. * javax/swing/text/html/StyleSheet.java
  3098. (CSSStyleSheetParserCallback.declaration): Push declaration
  3099. through CSS.addInternal() to parse shorthand attributes.
  3100. (addCSSAttribute): Push declaration through CSS.addInternal()
  3101. to parse shorthand attributes.
  3102. (importStyleSheet): Implemented. This adds a stylesheet from
  3103. an URL.
  3104. * javax/swing/text/html/TableView.java
  3105. (calculateColumnRequirements): Increase column index for
  3106. non CellView children to avoid endless loop.
  3107. * javax/swing/text/CompositeView.java
  3108. (setParent): Comparen with numChildren not with real arraylength.
  3109. 2006-11-11 David Gilbert <david.gilbert@object-refinery.com>
  3110. * java/beans/beancontext/BeanContextSupport.java
  3111. (getChildBeanContextChild): Implemented.
  3112. 2006-11-10 Roman Kennke <kennke@aicas.com>
  3113. * javax/swing/text/View.java
  3114. (updateLayout): Only repaint when needed.
  3115. 2006-11-10 David Gilbert <david.gilbert@object-refinery.com>
  3116. * java/util/Collections.java
  3117. (sort(List)): Minor API doc addition,
  3118. (sort(List, Comparator)): Likewise.
  3119. 2006-11-10 David Fu <fchoong@netbeans.jp>
  3120. * javax/swing/text/html/HTMLWriter.java
  3121. (traverse): Removed Classpath specific handling of implied
  3122. tags.
  3123. (traverseHtmlFragment): Removed Classpath specific handling of
  3124. implied tags.
  3125. 2006-11-10 Roman Kennke <kennke@aicas.com>
  3126. * javax/swing/text/ParagraphView.java
  3127. (Row.getMaximumSize): Removed. This method is not necessary.
  3128. * javax/swing/text/html/TableView.java
  3129. (CellView): Moved attribute init to setPropertiesFromAttributes().
  3130. (setPropertiesFromAttributes): Fetch attributes here.
  3131. (RowView.RowView): Documented.
  3132. (RowView.getMaximumSpan): Overridden to restrict the max span
  3133. in the Y direction.
  3134. (RowView.layoutMajorAxis): Correctly layout the spans.
  3135. (columnWidths): New field. Stores the width attributes of
  3136. the columns.
  3137. (calculateColumnRequirements): Added support for relative
  3138. (== percent) width attributes.
  3139. (calculateMajorAxisRequirements): Removed.
  3140. (calculateMinorAxisRequirements): Removed unnecessary code.
  3141. (getMaximumSpan): Overridden to restrict the table's width.
  3142. (layoutColumns): Documented. Implement more clever table layout,
  3143. i.e. for relative columns etc.
  3144. (layoutMinorAxis): Don't mark rows invalid.
  3145. (updateGrid): Added docs. Initialize column widths.
  3146. 2006-11-09 Roman Kennke <kennke@aicas.com>
  3147. * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment,
  3148. * gnu/java/awt/peer/headless/HeadlessToolkit: New classes.
  3149. Implement basic headless toolkit.
  3150. * java/awt/Toolkit.java
  3151. (getDefaultToolkit): Check headless property and create
  3152. headless toolkit when true.
  3153. 2006-11-09 Ingo Proetel <proetel@aicas.com>
  3154. 2006-11-09 Roman Kennke <kennke@aicas.com>
  3155. * gnu/java/awt/peer/swing/SwingButtonPeer.java
  3156. (SwingButton.button): New field.
  3157. (SwingButton.SwingButton): Added constructor.
  3158. (SwingButton.isShowing): Access button field instead of
  3159. the surrounding class.
  3160. (SwingButton.getParent): Access button field instead of
  3161. the surrounding class.
  3162. (SwingButtonPeer): Call new SwingButton constructor.
  3163. * gnu/java/awt/peer/swing/SwingComponent.java:
  3164. Several documentation updates.
  3165. * gnu/java/awt/peer/swing/SwingComponentPeer.java
  3166. (currentPaintEvents): New field.
  3167. (peerFont): New field.
  3168. (SwingComponentPeer): Initialize currentPaintEvents fields.
  3169. (coalescePaintEvents): Implemented.
  3170. (dispose): Unregister peer from heavyweight list of its container.
  3171. (getGraphics): Fetch graphics from parent component.
  3172. (handleEvent): Discard paint event if its coalesced.
  3173. (init): Register component with its container for proper painting.
  3174. (paint): Call peerPaint().
  3175. (peerPaint): Added argument that indicates if we should update.
  3176. Call paint or update on the actual AWT component.
  3177. (peerPaintComponent): New method. Paints the peer (Swing) component.
  3178. (setFont): Set peerFont field.
  3179. * gnu/java/awt/peer/swing/SwingContainerPeer.java
  3180. (backbuffer): New field.
  3181. (focusOwner): New field.
  3182. (heavyweightDescendents): New field.
  3183. (SwingContainerPeer): Take Container as argument. Don't call init
  3184. yet.
  3185. (addHeavyweightDescendent): New method.
  3186. (getFocusOwner): New helper method.
  3187. (getInsets): Delegate to insets().
  3188. (handleKeyEvent): Dispatch event to focus owner.
  3189. (handleMouseEvent): Dispatch to child component.
  3190. (isDoubleBuffering): New helper method.
  3191. (peerPaint): Overridden to implement container painting with
  3192. double buffering.
  3193. (peerPaintChildren): New method. Paints the descendents of this
  3194. container.
  3195. (removeHeavyweightDescendent): New helper method.
  3196. * gnu/java/awt/peer/swing/SwingFramePeer.java
  3197. (peerPaint): Removed.
  3198. (peerPaintComponent): Overridden to paint the menu bar.
  3199. * gnu/java/awt/peer/swing/SwingLabelPeer.java
  3200. (SwingLabel.label): New field.
  3201. (SwingLabel.SwingLabel): Added constructor with Label argument.
  3202. (SwingLabel.getGraphics): Implemented to fetch the graphics from
  3203. the actual AWT component.
  3204. (SwingLabel.getParent): Implemented to fetch the parent from
  3205. the AWT component.
  3206. (SwingLabel.isShowing): Access the label field.
  3207. (SwingLabelPeer): Set alignment from label.
  3208. * gnu/java/awt/peer/swing/SwingListPeer.java: New class.
  3209. * gnu/java/awt/peer/swing/SwingMenuBarPeer.java: Documentation
  3210. fixlet.
  3211. * gnu/java/awt/peer/swing/SwingPanelPeer.java:
  3212. Don't be a lighweight peer.
  3213. (SwingPanelPeer): Call init.
  3214. * gnu/java/awt/peer/swing/SwingTextAreaPeer.java: New class.
  3215. * gnu/java/awt/peer/swing/SwingTextFieldPeer.java
  3216. (SwingTextField.textField): New field.
  3217. (SwingTextField.SwingTextField): New constructor.
  3218. (SwingTextField.isShowing): Access field not enclosing class.
  3219. (SwingTextField.getGraphics): New method.
  3220. (SwingTextField.getParent): New method.
  3221. (SwingTextFieldPeer): Call new constructor.
  3222. (select): Renamed arguments.
  3223. * gnu/java/awt/peer/swing/SwingWindowPeer.java
  3224. (SwingWindowPeer): Call init.
  3225. 2006-11-09 Tania Bento <tbento@redhat.com>
  3226. * javax/swing/JLabel.java
  3227. (JLabel(Icon)): Changed documentation; Changed text to null.
  3228. (JLabel(Icon,int)): Likewise.
  3229. (JLabel(text)): Changed documenation.
  3230. (JLabel(text,int)): Likewise.
  3231. (JLabel(text,Icon,int)): Changed documentation; Throw
  3232. IllegalArgumentException if int is not one of LEFT, RIGHT,
  3233. CENTER, LEADING or TRAILING.
  3234. 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
  3235. * java/beans/beancontext/BeanContextSupport.java
  3236. (BeanContextSupport): Use correct dtime default,
  3237. (BeanContextSupport(BeanContext)): Likewise,
  3238. (BeanContextSupport(BeanContext, Locale)): Likewise, plus renamed
  3239. locale argument,
  3240. (BeanContextSupport(BeanContext, Locale, boolean)): Likewise,
  3241. (BeanContextSupport(BeanContext, Locale, boolean, boolean)): Likewise.
  3242. 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
  3243. * java/beans/beancontext/BeanContextSupport.java
  3244. (getBeanContextPeer): Implemented.
  3245. 2006-11-09 Roman Kennke <kennke@aicas.com>
  3246. * javax/swing/text/html/BlockView.java
  3247. (cssHeight): Removed.
  3248. (cssWidth): Removed.
  3249. (cssSpans): New field. Replaces the two fields above.
  3250. (BlockView): Allocate cssSpans array.
  3251. (layoutMinorAxis): Fetch and use child span, not this view's span.
  3252. (setCSSSpan): Adjusted to use cssSpans array.
  3253. (setPropertiesFromAttributes): Adjusted to use cssSpans array.
  3254. 2006-11-09 Roman Kennke <kennke@aicas.com>
  3255. * javax/swing/text/html/InlineView.java
  3256. (nowrap): New field.
  3257. (getBreakWeight): Add support for nowrap.
  3258. (setPropertiesFromAttributes): Fetch the nowrap setting.
  3259. 2006-11-09 Roman Kennke <kennke@aicas.com>
  3260. * gnu/javax/swing/text/html/css/CSSParser.java
  3261. (parseRuleset): Use new Selector class.
  3262. (parseValue): Parse multiple anys, not only one.
  3263. (main): Allow stylesheet be specified on the command line.
  3264. Use new Selector class.
  3265. * gnu/javax/swing/text/html/css/CSSParserCallback.java
  3266. (startStatement): Use Selector class.
  3267. * gnu/javax/swing/text/html/css/CSSScanner.java
  3268. (readName): Actually read a character in the loop to avoid
  3269. endless loop.
  3270. * gnu/javax/swing/text/html/css/Length.java
  3271. (getValue): Only multiply when we have a percentage value.
  3272. * gnu/javax/swing/text/html/css/Selector.java:
  3273. New class. Provides handling of CSS selectors.
  3274. * javax/swing/text/html/StyleSheet.java
  3275. (CSSStyle.PREC_AUTHOR_IMPORTANT): New constant field.
  3276. (CSSStyle.PREC_AUTHOR_NORMAL): New constant field.
  3277. (CSSStyle.PREC_NORM): New constant field.
  3278. (CSSStyle.PREC_UA): New constant field.
  3279. (CSSStyle.PREC_USER_IMPORTANT): New constant field.
  3280. (CSSStyle.precedence): New field.
  3281. (CSSStyle.priority): Removed.
  3282. (CSSStyle.selector): New field.
  3283. (CSSStyle.CSSStyle(int,Selector)): Initialize with Selector
  3284. and precendence.
  3285. (CSSStyle.compareTo): Adjusted to use the precedence and
  3286. specificity of the selector.
  3287. (CSSStyleSheetParserCallback.precedence): New field.
  3288. (CSSStyleSheetParserCallback.selector): Removed.
  3289. (CSSStyleSheetParserCallback.style): New field.
  3290. (CSSStyleSheetParserCallback.CSSStyleSheetParserCallback):
  3291. Initialize with precedence.
  3292. (CSSStyleSheetParserCallback.declaration): Don't look up
  3293. existing rule, simply create new one.
  3294. (CSSStyleSheetParserCallback.endStatement): Append style
  3295. to stylesheet.
  3296. (CSSStyleSheetParserCallback.startStatement): Use new Selector
  3297. class.
  3298. (css): Changed to be ArrayList.
  3299. (addRule): Create parser with author-normal precendence.
  3300. (getRule): Fixed implementation.
  3301. (loadRules): Create parser with UA precendence.
  3302. (resolveStyle): Use Selector class for resolving and matching
  3303. stylesheet rules.
  3304. (translateHTMLToCSS): Added mappings for a couple of HTML
  3305. attributes.
  3306. 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
  3307. Fixes bug #29770
  3308. * java/beans/SimpleBeanInfo.java
  3309. (loadImage): Check for nulls.
  3310. 2006-11-09 Robert Schuster <robertschuster@fsfe.org>
  3311. * native/jni/java-nio/gnu_java_nio_VMChannel.c:
  3312. (getpeername): Added 16 byte offset to memcpy operation.
  3313. 2006-11-09 Robert Schuster <robertschuster@fsfe.org>
  3314. * native/jni/java-nio/gnu_java_nio_VMChannel.c:
  3315. (getsockname): Added 16 byte offset to memcpy operation.
  3316. 2006-11-08 Mark Wielaard <mark@klomp.org>
  3317. Fixes bug #29754
  3318. * java/io/OutputStreamWriter.java
  3319. (OutputStreamWriter(OutputStream,Charset)): Set encodingName.
  3320. (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
  3321. 2006-11-08 Roman Kennke <kennke@aicas.com>
  3322. * javax/swing/text/html/HTMLEditorKit.java
  3323. (getParser): Use plain HTML_401F DTD.
  3324. * javax/swing/text/html/HTMLDocument.java
  3325. (HTMLReader.print): Removed method and all calls to it.
  3326. (HTMLReader.printBuffer): Removed method and all calls to it.
  3327. (HTMLReader.inImpliedParagraph): New field.
  3328. (HTMLReader.inParagraph): New field.
  3329. (HTMLReader.addContent): Create implied p-tag if necessary.
  3330. (HTMLReader.addSpecialElement): Create implied p-tag if necessary.
  3331. (HTMLReader.blockClose): Close implied p-tag if necessary.
  3332. (HTMLReader.blockOpen): Close implied p-tag if necessary.
  3333. * gnu/javax/swing/text/html/parser/HTML_401Swing.java: Removed.
  3334. 2006-11-08 Roman Kennke <kennke@aicas.com>
  3335. * javax/swing/text/html/HTMLEditorKit.java
  3336. (HTMLFactory.create): Removed mapping for TD tag. This
  3337. is done in TableView.
  3338. * javax/swing/text/html/TableView.java:
  3339. Implemented from scratch.
  3340. 2006-11-07 Roman Kennke <kennke@aicas.com>
  3341. * gnu/javax/swing/text/html/parser/support/Parser.java
  3342. (_handleText): Check if text content is actually allowed before
  3343. passing empty text fragments on to the parser callbacks.
  3344. 2006-11-07 Mark Wielaard <mark@klomp.org>
  3345. * gnu/java/net/protocol/jar/Handler.java (parseURL): Flatten jar
  3346. path.
  3347. (flat): New method.
  3348. 2006-11-07 Tania Bento <tbento@redhat.com>
  3349. * java/awt/FlowLayout.java
  3350. (getSize): If parent does not have a component, then a
  3351. different formula is used to calcuate the width.
  3352. 2006-11-07 Roman Kennke <kennke@aicas.com>
  3353. * javax/swing/text/html/HTMLEditorKit.java
  3354. (HTMLFactory.create): Include ListView.
  3355. * javax/swing/text/html/ListView.java
  3356. (paint): Removed comment.
  3357. * javax/swing/text/html/StyleSheet.java
  3358. (CSSStyle.priority): New field.
  3359. (CSSStyle.CSSStyle(int)): New constructor with priority.
  3360. (CSSStyle.compareTo): New method. Used for sorting the styles.
  3361. (CSSStyleSheetParserCallback.declaration): Store the style
  3362. with the complete selector.
  3363. (ListPainter.attributes): Renamed as field.
  3364. (ListPainter.styleSheet): New field.
  3365. (ListPainter.type): New field.
  3366. (ListPainter.ListPainter): Pass StyleSheet to constructor.
  3367. (ListPainter.paint): Provide simplistic implementation.
  3368. (getListPainter): Pass StyleSheet to constructor.
  3369. (resolveStyle): Fixed CSS style resolving.
  3370. 2006-11-07 Roman Kennke <kennke@aicas.com>
  3371. * gnu/javax/swing/text/html/css/BorderWidth.java:
  3372. New class. Handles CSS border width values.
  3373. * gnu/javax/swing/text/html/css/Length.java
  3374. (floatValue): Made protected so that BorderWidth can access it.
  3375. * javax/swing/text/html/CSS.java
  3376. (Attribute.BORDER_BOTTOM_COLOR): New static field.
  3377. (Attribute.BORDER_BOTTOM_STYLE): New static field.
  3378. (Attribute.BORDER_LEFT_COLOR): New static field.
  3379. (Attribute.BORDER_LEFT_STYLE): New static field.
  3380. (Attribute.BORDER_RIGHT_COLOR): New static field.
  3381. (Attribute.BORDER_RIGHT_STYLE): New static field.
  3382. (Attribute.BORDER_TOP_COLOR): New static field.
  3383. (Attribute.BORDER_TOP_STYLE): New static field.
  3384. (getValue): Added some mappings for the border color and
  3385. border width values.
  3386. * javax/swing/text/html/CSSBorder.java: New class. Implements
  3387. CSS borders.
  3388. * javax/swing/text/html/StyleSheet.java
  3389. (BoxPainter.background): New field.
  3390. (BoxPainter.border): New field.
  3391. (BoxPainter.bottomInset): Documented.
  3392. (BoxPainter.leftInset): Documented.
  3393. (BoxPainter.rightInset): Documented.
  3394. (BoxPainter.topInset): Documented.
  3395. (BoxPainter.BoxPainter): Added support for borders and background.
  3396. (BoxPainter.getInset): Add border insets.
  3397. (BoxPainter.paint): Implemented. Paints the background and the
  3398. CSS border.
  3399. (addRule): Be less picky about parse and IO exceptions.
  3400. (getBoxPainter): Adjust to new BoxPainter constructor.
  3401. 2006-11-07 Andreas <a.tobler@schweiz.org>
  3402. * examples/Makefile.am: Add rule to install the *.html files we use
  3403. in the Swing Demo.
  3404. 2006-11-06 Francis Kung <fkung@redhat.com>
  3405. * gnu/java/awt/peer/gtk/ComponentGraphics.java
  3406. (fillRect): Handle custom composites.
  3407. (drawRenderedImage): Handle custom composites.
  3408. (drawImage): Handle custom composites.
  3409. (createBuffer): New method.
  3410. (drawLine): Handle custom composites.
  3411. (drawComposite): New method.
  3412. (fill): Handle custom composites.
  3413. (getNativeCM): New method.
  3414. (drawGlyphVector): Handle custom composites.
  3415. (drawRect): Handle custom composites.
  3416. (draw): Handle custom composites.
  3417. * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
  3418. (drawComposite): Unset composite during draw call, to prevent parent
  3419. from handling composite again.
  3420. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  3421. (getBufferCM): Added comments.
  3422. (getNativeCM): Made abstract.
  3423. (setComposite): Removed comments.
  3424. 2006-11-06 Roman Kennke <kennke@aicas.com>
  3425. * examples/gnu/classpath/examples/swing/HtmlDemo.java:
  3426. Fixed initial window size and start document.
  3427. 2006-11-06 Roman Kennke <kennke@aicas.com>
  3428. * javax/swing/text/html/HTMLDocument.java
  3429. (HTMLReader.addSpecialElement): Removed comment about
  3430. htmlAttributeSet.
  3431. (HTMLReader.handleComment): Create SimpleAttributeSet instead
  3432. of htmlAttributeSet.
  3433. * javax/swing/text/html/parser/DocumentParser.java
  3434. (gnuParser.handleStartTag): Use SimpleAttributeSet instead
  3435. of htmlAttributeSet.
  3436. * javax/swing/text/html/parser/ParserDelegator.java
  3437. (gnuParser.handleStartTag): Use SimpleAttributeSet instead
  3438. of htmlAttributeSet.
  3439. * gnu/javax/swing/text/html/parser/GnuParserDelegator.java
  3440. (gnuParser.handleStartTag): Use SimpleAttributeSet instead
  3441. of htmlAttributeSet.
  3442. * gnu/javax/swing/text/html/parser/support/Parser.java
  3443. (getAttributes): Return a SimpleAttributeSet.
  3444. (restOfTag): Don't set resolving parent here.
  3445. 2006-11-06 Tania Bento <tbento@redhat.com>
  3446. * java/awt/TextComponent.java
  3447. (setSelectionStart): Added check.
  3448. 2006-11-06 Tania Bento <tbento@redhat.com>
  3449. * java/awt/TextField.java
  3450. (minimumSize(int)): Check if minimum size has been previously
  3451. set and changed values of Dimension returned if peer == null.
  3452. (preferredSize(int)): Check if preferred size has been previously
  3453. set and changed values of Dimension returned if peer == null.
  3454. 2006-11-06 Roman Kennke <kennke@aicas.com>
  3455. * javax/swing/JTree.java
  3456. (TreeModelHandler.treeNodesRemoved): Implemented.
  3457. (TreeModelHandler.treeStructureChanged): Implemented.
  3458. (nodeStates): Made package private.
  3459. 2006-11-06 Francis Kung <fkung@redhat.com>
  3460. PR 29420
  3461. * javax/swing/JTree.java
  3462. (clearSelectionPathStates): New private method to clean up nodeStates.
  3463. (removeSelectionPath): Call clearSelectionPathStates().
  3464. (removeSelectionPaths): Call clearSelectionPathStates().
  3465. (removeSelectionRow): Call clearSelectionPathStates().
  3466. (setSelectionPath): Call clearSelectionPathStates().
  3467. (setSelectionPaths): Call clearSelectionPathStates().
  3468. (setSelectionRow): Call clearSelectionPathStates().
  3469. 2006-11-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
  3470. Fixes bug #29703
  3471. * java/util/regex/Matcher.java(reset): Reset inputCharIndexed.
  3472. 2006-11-06 Roman Kennke <kennke@aicas.com>
  3473. * examples/gnu/classpath/examples/swing/HtmlDemo.java:
  3474. Changed to implement a minimalistic browser.
  3475. * examples/gnu/classpath/examples/swing/forms.html,
  3476. * examples/gnu/classpath/examples/swing/textstyles.html,
  3477. * examples/gnu/classpath/examples/swing/welcome.html:
  3478. Some example content.
  3479. 2006-11-06 Roman Kennke <kennke@aicas.com>
  3480. * javax/swing/text/ComponentView.java
  3481. (setParent): Lock the document and repaint the hosting
  3482. container.
  3483. * javax/swing/text/FlowView.java
  3484. (FlowStrategy.createView): Removed comment.
  3485. (FlowView): Initialize span with Short.MAX_VALUE.
  3486. (getFlowStart): Return 0 unconditionally.
  3487. (layout): Moved code around to make it more readable.
  3488. (loadChildren): Always set the parent.
  3489. * javax/swing/text/GlyphView.java
  3490. (DefaultGlyphPainter.fontMetrics): New field.
  3491. (DefaultGlyphPainter.getAscent): Use new helper method to
  3492. synchronize the font metrics.
  3493. (DefaultGlyphPainter.getBoundedPosition): Use new helper method
  3494. to synchronize the font metrics.
  3495. (DefaultGlyphPainter.getDescent): Use new helper method to
  3496. synchronize the font metrics.
  3497. (DefaultGlyphPainter.getHeight): Use new helper method to
  3498. synchronize the font metrics.
  3499. (DefaultGlyphPainter.getSpan): Use new helper method to
  3500. synchronize the font metrics.
  3501. (DefaultGlyphPainter.modelToView): Use new helper method to
  3502. synchronize the font metrics.
  3503. (DefaultGlyphPainter.updateFontMetrics): New helper method for
  3504. font metrics caching.
  3505. (DefaultGlyphPainter.viewToModel): Use new helper method to
  3506. synchronize the font metrics. Fixed view to model mapping.
  3507. * javax/swing/text/View.java
  3508. (removeAll): Pass null to replace().
  3509. (setParent): Only reparent children that have this view as parent.
  3510. 2006-11-05 Mark Wielaard <mark@klomp.org>
  3511. * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
  3512. * include/gnu_java_nio_channels_FileChannelImpl.h: Removed.
  3513. * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
  3514. Removed.
  3515. * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
  3516. Removed.
  3517. * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
  3518. Remove gnu_java_nio_channels_FileChannelImpl.c.
  3519. 2006-11-03 Roman Kennke <kennke@aicas.com>
  3520. * javax/swing/text/html/BlockView.java
  3521. (attributes): New field.
  3522. (cssHeight): New field.
  3523. (cssWidth): New field.
  3524. (painter): New field.
  3525. (calculateMajorAxisRequirements): Overridden to account for
  3526. CSS settings.
  3527. (calculateMinorAxisRequirements): Overridden to account for
  3528. CSS settings.
  3529. (layoutMinorAxis): Overridden to account for CSS settings.
  3530. (changedUpdate): Formatting fixlet.
  3531. (constrainSize): New helper method.
  3532. (getAlignment): Fix alignment.
  3533. (getAttributes): Cache attributes for better performance.
  3534. (getStyleSheet): Fetch stylesheet from document rather than creating
  3535. a new one.
  3536. (paint): Remove comment.
  3537. (setCSSSpan): New helper method.
  3538. (setPropertiesFromAttributes): Implemented to fetch the
  3539. recognized properties.
  3540. * javax/swing/text/html/CSS.java
  3541. (getValue): Added mapping for width and height attributes.
  3542. * javax/swing/text/html/InlineView.java
  3543. (longestWord): New field.
  3544. (getLongestWord): New helper method.
  3545. (calculateLongestWord): New helper method.
  3546. (getMinimumSpan): Overridden to constrain the minimum span by the
  3547. longest word.
  3548. * javax/swing/text/html/ParagraphView.java
  3549. (cssHeight): New field.
  3550. (cssWidth): New field.
  3551. (calculateMinorAxisRequirements): Overridden to account for
  3552. CSS settings.
  3553. (setCSSSpan): New helper method.
  3554. (setPropertiesFromAttributes): Fetch CSS width and height. Added
  3555. null check.
  3556. * gnu/javax/swing/text/html/css/Length.java
  3557. (percentage): New field.
  3558. (Length): Determine percentage values.
  3559. (getValue(float)): New method for handling percentage values.
  3560. (isPercentage): New method.
  3561. 2006-11-03 Tania Bento <tbento@redhat.com>
  3562. * java/awt/TextArea.java
  3563. (getMinimumSize): Changed documentation.
  3564. (getPreferredSize): Changed documentation.
  3565. (getMinimumSize(int,int)): Changed documenation.
  3566. (getPreferredSize(int,int)): Changed documenation.
  3567. (minimumSize): Changed documentation.
  3568. (preferredSize): Changed documenation.
  3569. (minimumSize(int,int)): Changed documentation. Checked if
  3570. minimum size had been previously set and changed values of
  3571. Dimension returned if peer == null.
  3572. (preferredSize(int, int)): Checked if preferred size had been
  3573. previously set and changed values of Dimension returned if
  3574. peer = null.
  3575. 2006-11-03 Tania Bento <tbento@redhat.com>
  3576. * java/awt/event/ComponentEvent.java
  3577. (paramString): Changed format of string representation returned.
  3578. 2006-11-03 Roman Kennke <kennke@aicas.com>
  3579. * javax/swing/text/html/HTMLDocument.java
  3580. (HTMLReader.FormAction.start): Added support for textarea.
  3581. (HTMLReader.FormAction.end): Added support for textarea.
  3582. (HTMLReader.HeadAction.end): Call super to actually close the
  3583. block.
  3584. (HTMLReader.inTextArea): New field.
  3585. (HTMLReader.textAreaDocument): New field.
  3586. (HTMLReader.handleText): Call textAreaContent when inside
  3587. a textarea tag.
  3588. (HTMLReader.textAreaContent): Implemented to initialize
  3589. the text area's model.
  3590. * javax/swing/text/html/FormView.java
  3591. (createComponent): Added support for textarea tag.
  3592. 2006-11-03 Roman Kennke <kennke@aicas.com>
  3593. * javax/swing/text/html/HTMLDocument.java
  3594. (HTMLReader.IsindexAction.start): Implemented.
  3595. 2006-11-03 Roman Kennke <kennke@aicas.com>
  3596. * javax/swing/text/html/StyleSheet.java
  3597. (addRule): Implemented.
  3598. * javax/swing/text/html/HTMLDocument.java
  3599. (HTMLReader.inStyleTag): New field.
  3600. (HTMLReader.styles): New field.
  3601. (HTMLReader.HeadAction.end): Implemented to read all stylesheets,
  3602. if any.
  3603. (HTMLReader.StyleAction.start): Set inStyleTag flag.
  3604. (HTMLReader.StyleAction.end): Set inStyleTag flag.
  3605. (HTMLReader.handleText): When inside a style tag, add
  3606. content to the styles array.
  3607. 2006-11-02 Roman Kennke <kennke@aicas.com>
  3608. * javax/swing/text/html/FormView.java
  3609. (maxIsPreferred): New field.
  3610. (createComponent): Initialize components correctly.
  3611. (getMaximumSpan): Return the preferred span for components
  3612. that need this. The maxIsPreferred flag is set accordingly
  3613. in createComponent.
  3614. * javax/swing/text/html/HTMLDocument.java
  3615. (HTMLReader.FormAction.start): Implemented to set the
  3616. correct model as attribute.
  3617. (HTMLReader.FormAction.setModel): New helper method.
  3618. (HTMLReader.FormAction.end): Call super to finish the element.
  3619. Added TODO about things left to do.
  3620. (HTMLReader.handleComment): Use SimpleAttributeSet rather
  3621. than htmlAttributeSet.
  3622. * javax/swing/text/html/HTMLEditorKit.java
  3623. (HTMLFactory.create): Create BlockView for FORM tags.
  3624. Create FormView for INPUT, TEXTAREA and SELECT tags.
  3625. 2006-11-02 David Gilbert <david.gilbert@object-refinery.com>
  3626. * java/awt/geom/GeneralPath.java: API doc fixes.
  3627. 2006-11-02 Roman Kennke <kennke@aicas.com>
  3628. * javax/swing/text/html/ImageView.java
  3629. (getImageURL): Fetch attribute from element. Consider the
  3630. base URL for relative image locations.
  3631. 2006-11-02 Roman Kennke <kennke@aicas.com>
  3632. * javax/swing/JEditorPane.java
  3633. (setContentType): Strip off attributes.
  3634. * javax/swing/text/html/HTMLEditorKit.java
  3635. (LinkController.activateLink(int,JEditorPane,int,int): New
  3636. method. Implements activation of a hyperlink.
  3637. (LinkController.activateLinke(int,JEditorPane)): Delegate
  3638. to the other activateLink() method.
  3639. (LinkController.createHyperlinkEvent): New helper method.
  3640. (LinkController.mouseClicked): Implemented to activate the link.
  3641. (LinkController.mouseDragged): Added comment that this
  3642. method does nothing.
  3643. (LinkController.mouseMoved): Update cursor for hyperlinks.
  3644. (mouseHandler): Renamed field to linkController.
  3645. (HTMLEditorKit): Create a link controller.
  3646. (clone): Give the clone a new link controller.
  3647. (deinstall): De-install link controller as mouseMotionListener too.
  3648. (install): Install link controller as mouseMotionListener too.
  3649. 2006-11-02 Roman Kennke <kennke@aicas.com>
  3650. PR 29644
  3651. * javax/swing/text/FlowView.java
  3652. (FlowStrategy.changedUpdate): Reversed condition. This caused
  3653. wrong layout and bad performance.
  3654. (FlowStrategy.insertUpdate): Reversed condition. This caused
  3655. wrong layout and bad performance.
  3656. (FlowStrategy.removeUpdate): Reversed condition. This caused
  3657. wrong layout and bad performance.
  3658. (LogicalView): Changed to be a subclass of CompositeView.
  3659. (LogicalView()): Only take one Element argument.
  3660. (LogicalView.childAllocation): New method for implementing
  3661. the abstract CompositeView method.
  3662. (LogicalView.forwardUpdateToView): Overridden for correct
  3663. reparenting.
  3664. (getMinimumSpan): Overridden to handle line breaking correctly.
  3665. (getPreferredSpan): Implemented to handle line breaking correctly.
  3666. (getViewAtPoint): New method for implementing
  3667. the abstract CompositeView method.
  3668. (getViewIndexAtPosition): Overridden to handle leaf elements
  3669. correctly.
  3670. (isAfter): New method for implementing
  3671. the abstract CompositeView method.
  3672. (isBefore): New method for implementing
  3673. the abstract CompositeView method.
  3674. (loadChildren): Overridden to handle leaf elements
  3675. correctly.
  3676. (paint): New method for implementing
  3677. the abstract CompositeView method.
  3678. (calculateMinorAxisRequirements): Use preferredSpan in calculation.
  3679. (loadChildren): Initialize flow layout by sending a synthetic
  3680. insertUpdate() to the layout strategy.
  3681. * javax/swing/text/GlyphView.java
  3682. (DefaultGlyphPainter.getBoundedPosition): Fall back to Toolkit's
  3683. font metrics if component is not available. Add initial offset
  3684. to result.
  3685. (breakView): Be more clever when breaking the view.
  3686. (getBreakLocation): New helper method to determine a good
  3687. break location.
  3688. (getBreakWeight): Be more clever when breaking the view.
  3689. (getTabbedSpan): Make sure we have a painter. Use view's
  3690. start and end offset rather than the element's.
  3691. * javax/swing/text/Utilities.java
  3692. (drawTabbedText): Avoid useless add and sub with the y offset.
  3693. 2006-11-02 Roman Kennke <kennke@aicas.com>
  3694. PR 29644
  3695. * gnu/java/awt/peer/ClasspathFontPeer.java
  3696. (getStringBounds): Removed abstract method. This is replaced
  3697. in java.awt.Font to use a TextLayout.
  3698. * gnu/java/awt/peer/gtk/GtkWindowPeer.java
  3699. (GtkWindowPeer): Set a font on the window object.
  3700. * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
  3701. (FreetypeGlyphVector(Font,String,FontRenderContext,int)):
  3702. Changed to take char,int,int instead of String. Filter
  3703. control characters.
  3704. (FreetypeGlyphVector(Font,String,FontRenderContext)):
  3705. Create char array out of string.
  3706. (getLogicalBounds): Don't translate bounds. They already are
  3707. translated.
  3708. * gnu/java/awt/peer/gtk/GdkFontMetrics.java
  3709. (stringWidth): Filter out control characters.
  3710. * gnu/java/awt/peer/gtk/GdkFontPeer.java
  3711. (getStringBounds): Removed unneeded method.
  3712. (layoutGlyphVector): Pass char array directly to FreetypeGlyphVector
  3713. constructor.
  3714. * gnu/java/awt/peer/qt/QtFontPeer.java
  3715. (getStringBounds): Removed unneeded method.
  3716. * gnu/java/awt/peer/x/XFontPeer.java
  3717. (getStringBounds): Removed unneeded method.
  3718. * gnu/java/awt/peer/x/XFontPeer2.java
  3719. (getStringBounds): Removed unneeded method.
  3720. * java/awt/Font.java
  3721. (getStringBounds(char[],int,int,FontRenderContext)):
  3722. Use TextLayout to determine the bounds.
  3723. (getStringBounds(CharacterIterator,int,int,FontRenderContext)):
  3724. Delegate to the char[] version of this method.
  3725. (getStringBounds(String,FontRenderContext)):
  3726. Delegate to the char[] version of this method.
  3727. (getStringBounds(String,int,int,FontRenderContext)):
  3728. Delegate to the String version of this method.
  3729. 2006-11-01 Tania Bento <tbento@redhat.com>
  3730. * java/awt/ScrollPaneAdjustable.java
  3731. (paramString): Changed format of string representation returned.
  3732. (paramStringHelper): New private method.
  3733. 2006-11-01 Tania Bento <tbento@redhat.com>
  3734. * java/awt/GridBagLayout.java
  3735. (toString): Implemented method.
  3736. 2006-10-30 Thomas Fitzsimmons <fitzsim@redhat.com>
  3737. * native/plugin/gcjwebplugin.cc (GCJ_New): Move GLib threading
  3738. initialization to NP_Initialize.
  3739. (NP_Initialize): Initialize GLib threading.
  3740. 2006-10-31 Tania Bento <tbento@redhat.com>
  3741. * javax/swing/JTextField.java
  3742. (fireActionPerformed): When creating the new event, if
  3743. actionCommand == null, then getText() is used.
  3744. 2006-10-31 Francis Kung <fkung@redhat.com>
  3745. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  3746. (fillArc): Corrected arc type to Arc2D.PIE.
  3747. 2006-10-31 Roman Kennke <kennke@aicas.com>
  3748. * javax/swing/text/html/HTMLDocument.java
  3749. (HTMLReader.PreAction.end): Implemented.
  3750. (HTMLReader.PreAction.start): Implemented.
  3751. (HTMLReader.inPreTag): New field.
  3752. (HTMLReader.handleTag): When inside a pre tag, call preContent().
  3753. (HTMLReader.preContent): Implemented.
  3754. 2006-10-31 Tania Bento <tbento@redhat.com>
  3755. * javax/swing/JTextField.java
  3756. (fireActionPerformed): When creating the new event,
  3757. actionCommand should be used as the command, not
  3758. getText().
  3759. 2006-10-31 Roman Kennke <kennke@aicas.com>
  3760. * javax/swing/text/html/HTMLEditorKit.java
  3761. (write): Use HTMLWriter or MinimalHTMLWriter for writing
  3762. HTML or Styled documents.
  3763. 2006-10-31 David Fu <fchoong@netbeans.jp>
  3764. * javax/swing/text/html/HTMLWriter.java: New class.
  3765. 2006-10-30 Roman Kennke <kennke@aicas.com>
  3766. * java/awt/dnd/DragSourceContext.java
  3767. (dragExit): Use constant fields instead of 0.
  3768. (updateCurrentCursor): Completed implementation.
  3769. 2006-10-30 Roman Kennke <kennke@aicas.com>
  3770. * java/awt/dnd/DragGestureRecognizer.java
  3771. (resetRecognizer): Added API docs. Do not replace the events object
  3772. but rather clear() it. Removed not implemented tag.
  3773. 2006-10-30 Roman Kennke <kennke@aicas.com>
  3774. * java/awt/datatransfer/DataFlavor.java
  3775. (writeExternal): Remove not implemented tag.
  3776. 2006-10-30 Roman Kennke <kennke@aicas.com>
  3777. * java/awt/datatransfer/DataFlavor.java
  3778. (javaFileListFlavor): Don't explicitly specify class.
  3779. (plainTextFlavor): Don't explicitly specify class.
  3780. (mimeType): Changed to type MimeType. Remove final.
  3781. (representationClass): Remove final.
  3782. (DataFlavor): Don't do anything here.
  3783. (DataFlavor(Class,String,String)): Removed.
  3784. (DataFlavor(Class,String)): Initialize here.
  3785. (DataFlavor(String,String,ClassLoader)): Initialize in init().
  3786. (DataFlavor(String,String)): Initialize in init().
  3787. (DataFlavor(String)): Initialize in init().
  3788. (init): New initialization method.
  3789. (getMimeType): Delegate to MimeType.toString().
  3790. (getParameter(String,String)): Removed. Is now done in MimeType.
  3791. (getParameter(String)): Delegate to MimeType.
  3792. (getPrimaryType): Delegate to MimeType.
  3793. (getRepresentationClassFromMime): Removed.
  3794. (getRepresentationClassFromMimeThrows): Removed.
  3795. (getSubType): Delegate to MimeType.
  3796. (hashCode): Take MimeType.toString() for the hashCode.
  3797. (isFlavorRemoveObjectType): Return true only when representation
  3798. class is remove and serializable and the mime type is remote.
  3799. (isFlavorSerializedObjectType): Return true only when representation
  3800. class is serializable and the mime type is serialized.
  3801. (isMimeTypeEqual): Rewritten to delegate to MimeType.matches().
  3802. (isMimeTypeSerializedObject): Delegate to isMimeTypeEqual().
  3803. (readExternal): Implemented stub method.
  3804. (writeExternal): Implemented stub method.
  3805. * java/awt/datatransfer/MimeType.java: New helper class.
  3806. 2006-10-28 Roman Kennke <kennke@aicas.com>
  3807. * javax/swing/TransferHandler.java
  3808. (importData): Implemented stub method. Added API docs.
  3809. 2006-10-26 Christian Elias Naur <elias@oddlabs.com>
  3810. * native/jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_depth): New
  3811. function.
  3812. * native/jni/classpath/classpath_jawt.h: Likewise.
  3813. * native/jawt/jawt.c (_Jv_GetDrawingSurfaceInfo): Added
  3814. initializer for surface_info_x11->depth.
  3815. 2006-10-26 Tania Bento <tbento@redhat.com>
  3816. * java/awt/FileDialog.java:
  3817. (setFile): Changed if-clause condition.
  3818. 2006-10-25 Francis Kung <fkung@redhat.com>
  3819. * include/gnu_java_nio_VMChannel.h,
  3820. * include/java_net_VMNetworkInterface.h,
  3821. * include/gnu_java_nio_EpollSelectorImpl.h,
  3822. * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
  3823. * include/gnu_java_nio_FileChannelImpl.h,
  3824. * include/gnu_java_nio_KqueueSelectorImpl.h,
  3825. * include/gnu_java_nio_VMPipe.h,
  3826. * include/gnu_java_net_VMPlainSocketImpl.h: Regenerated.
  3827. 2006-10-25 Tania Bento <tbento@redhat.com>
  3828. * java/awt/Dialog.java: Created new private variable
  3829. next_dialog_number.
  3830. (Dialog(Frame, String, boolean, GraphicsConfiguration)):
  3831. Set cursor to default cursor.
  3832. (Dialog(Dialog, STring, boolean, GraphicsConfiguration)):
  3833. Same.
  3834. (generateName): New method.
  3835. (getUniqueLong): New private method.
  3836. * java/awt/FileDialog.java: Created new private variable
  3837. next_file_dialog_number.
  3838. (setFile): If file == "", set it to null.
  3839. (generateName): New method.
  3840. (getUniqueLong): New private method.
  3841. 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
  3842. * java/net/MulticastSocket.java:
  3843. (setNetworkInterface): Rewritten.
  3844. 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
  3845. * native/jni/java-net/javanet.h: Added declaration for
  3846. _javanet_create_inetaddress.
  3847. * native/jni/java-net/javanet.c:
  3848. (_javanet_create_inetaddress): Removed static keyword.
  3849. 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
  3850. * gnu/java/net/PlainDatagramSocketImpl.java:
  3851. (connect): Use VMChannel instance for connect call.
  3852. (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
  3853. (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
  3854. (setOption): Handle multicast options.
  3855. (getOption): Handle multicast options.
  3856. * gnu/java/net/PlainSocketImpl.java:
  3857. (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
  3858. (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
  3859. (setOption): Filter unappropriate options.
  3860. (getOption): Filter unappropriate options.
  3861. (connect): Use given SocketAddress.
  3862. (close): Reset address and port.
  3863. (getInetAddress):
  3864. * include/Makefile.am: Removed all occurences of
  3865. gnu_java_net_VMPlainDatagramSocketImpl.h.
  3866. * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
  3867. * native/jni/java-net/Makefile.am: Removed
  3868. gnu_java_net_VMPlainDatagramSocketImpl.c from sources.
  3869. * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
  3870. Removed.
  3871. as SocketException, declare to throw SocketException.
  3872. * native/jni/java-nio/gnu_java_nio_VMChannel.c: Added definitions
  3873. for SocketException and ConnectException.
  3874. (Java_gnu_java_nio_VMChannel_connect): Throw SocketException instead
  3875. of IOException.
  3876. (Java_gnu_java_nio_VMChannel_connect6): Throw SocketException instead
  3877. of IOException.
  3878. (Java_gnu_java_nio_VMChannel_accept): Rewritten.
  3879. (JCL_thread_interrupted): New function.
  3880. (initIDs): Added initialisation for isThreadInterrupted method id.
  3881. * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Added
  3882. CPNET_IP_TTL to java_sockopt enum.
  3883. (Java_gnu_java_net_VMPlainSocketImpl_setOption): Handle CPNET_IP_TTL
  3884. case, handle SO_LINGER case properly.
  3885. (Java_gnu_java_net_VMPlainSocketImpl_getOption): Handle CPNET_IP_TTL
  3886. case, handle SO_LINGER case properly.
  3887. (Java_gnu_java_net_VMPlainSocketImpl_getMulticastInterface): New
  3888. function.
  3889. (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface): New
  3890. function.
  3891. (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface6): New
  3892. function.
  3893. (Java_gnu_java_net_VMPlainSocketImpl_leave6): Fixed constant to be
  3894. IPV6_LEAVE_GROUP.
  3895. * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java: Removed.
  3896. * vm/reference/gnu/java/nio/VMChannel.java:
  3897. (connect(int, byte[], int, int)): Declare to throw SocketException.
  3898. (connect6): Declare to throw SocketException.
  3899. (connect(InetSocketAddress, int)): Catch IOException and rethrow
  3900. (isThreadInterrupted): New method.
  3901. * vm/reference/gnu/java/net/VMPlainSocketImpl.java: Added CP_IP_TTL
  3902. field.
  3903. (setTimeToLive): New method.
  3904. (getTimeToLive): New method.
  3905. (setMulticastInterface(int, InetAddress)): New method.
  3906. (setMulticastInterface(int, int, Inet4Address): New method.
  3907. (setMulticastInterface6(int, int, Inet6Address): New method.
  3908. (setOptions): Handle SO_LINGER case.
  3909. (getOptions): Add missing SO_REUSEADDR case.
  3910. * java/net/Socket.java:
  3911. (Socket(InetAddress, int, InetAddress, int, boolean)): Close socket
  3912. when exception was thrown out of connect().
  3913. (setSoLinger): Replaced instantiations with valueOf calls, replaced
  3914. Boolean.FALSE with Integer.valueOf(-1).
  3915. * native/jni/native-lib/cpio.h: Added cpio_closeOnExec declaration.
  3916. * native/jni/native-lib/cpio.c: Added cpio_closeOnExec implementation.
  3917. * NEWS: Documented VM interface changes.
  3918. 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
  3919. * java/net/Inet6Address.java:
  3920. (isMulticastAddress): Fixed check.
  3921. 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
  3922. Fixes PR29576
  3923. * java/net/MulticastSocket.java:
  3924. (getNetworkInterface): Return a special NetworkInterface instance
  3925. if the socket's multicast interface is set to any.
  3926. 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
  3927. Fixes PR29576
  3928. * java/net/NetworkInterface.java:
  3929. (createAnyInterface): New method.
  3930. (equals): Added if-statement to handle case where netif.name is null.
  3931. * vm/reference/java/net/VMNetworkInterface.java:
  3932. (hashCode): Rewritten.
  3933. (VMNetworkInterface): New constructor.
  3934. 2006-10-24 Thomas Fitzsimmons <fitzsim@redhat.com>
  3935. * tools/Makefile.am: Add ASM_JAR define to each tool's CFLAGS.
  3936. * tools/toolwrapper.c (main): Set bootclasspath, not classpath.
  3937. Add ASM_JAR to bootclasspath.
  3938. 2006-10-24 Tania Bento <tbento@redhat.com>
  3939. * java/awt/Scrollbar.java:
  3940. (setLineIncrement): Removed unnecessary if-clause and if
  3941. lineIncrement == 0, then it should be set to 1, not 0.
  3942. (setPageIncrement): Removed unnecessary if-clause and if
  3943. pageIncrement == 0, then it should be set to 1, not 0.
  3944. (setValues): If visibleAmount <= 0, it should be set to 1, not 0.
  3945. If maximum <= minimum, maximum should be set to mininum + 1. The
  3946. actual value of maximum is maximum - visibleAmount, so I made
  3947. this change to the appropriate if-check. Remove the two unneccessary
  3948. if-clauses.
  3949. 2006-10-23 Francis Kung <fkung@redhat.com>
  3950. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  3951. (cairoSetFont): New method.
  3952. (copy): Set font using setFont method.
  3953. (setFont): Call cairoSetFont.
  3954. (setup): Set font using setFont method.
  3955. * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added method.
  3956. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
  3957. (install_font_peer): Removed.
  3958. (cairoDrawGlyphVector): Removed call to install_font_peer.
  3959. (cairoSetFont): New method.
  3960. 2006-10-23 Thomas Fitzsimmons <fitzsim@redhat.com>
  3961. * gnu/java/awt/peer/NativeEventLoopRunningEvent.java: New file.
  3962. * gnu/java/awt/peer/gtk/GtkMainThread.java: Post
  3963. NativeEventLoopRunningEvent after GTK main loop start and stop.
  3964. * java/awt/EventQueue.java (isShutdown): Check nativeLoopRunning.
  3965. (getNextEvent): Set dispatchThread to null.
  3966. (postEventImpl): Set nativeLoopRunning.
  3967. (pop): Interrupt event dispatch thread.
  3968. * java/awt/Frame.java (noteFrame): Synchronize on weakFrames.
  3969. 2006-10-22 Christian Thalinger <twisti@complang.tuwien.ac.at>
  3970. * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c (config-int.h):
  3971. Added include.
  3972. * native/jni/java-nio/gnu_java_nio_VMChannel.c (config-int.h):
  3973. Likewise.
  3974. 2006-10-23 Marco Trudel <mtrudel@gmx.ch>
  3975. * gnu/javax/crypto/pad/PKCS7.java (unpad): Removed an unnecessary test.
  3976. * javax/crypto/CipherOutputStream.java: Re-implemented.
  3977. * gnu/javax/crypto/jce/cipher/CipherAdapter.java
  3978. (engineUpdate(byte[], int, int)): Always keep data for unpadding in padded
  3979. decryption mode and check if it is a complete block.
  3980. (engineUpdate(byte[], int, int, byte[], int)): Likewise.
  3981. (engineDoFinal(byte[], int, int)): In padded decryption mode, take
  3982. partially processed data into account.
  3983. 2006-10-21 Tom Tromey <tromey@redhat.com>
  3984. PR classpath/29086:
  3985. * java/util/AbstractCollection.java (toArray): Removed cast.
  3986. 2006-10-20 Tom Tromey <tromey@redhat.com>
  3987. * tools/gnu/classpath/tools/javah/JniIncludePrinter.java (printClass):
  3988. Don't use mangled class name for .h file.
  3989. * tools/gnu/classpath/tools/javah/JniStubPrinter.java (printClass):
  3990. Don't use mangled class name for .c file.
  3991. * tools/gnu/classpath/tools/javah/CniPrintStream.java (writeClass):
  3992. Handle classes from the default package.
  3993. 2006-10-20 Francis Kung <fkung@redhat.com>
  3994. * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added missing constants.
  3995. 2006-10-19 Francis Kung <fkung@redhat.com>
  3996. PR 29510
  3997. * java/awt/image/BufferedImage.java
  3998. (constructor): Updated some properties of default image types.
  3999. * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
  4000. (argb32): Updated field to match default in BufferedImage.
  4001. 2006-10-18 Roman Kennke <kennke@aicas.com>
  4002. PR 29419
  4003. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  4004. (copyArea): Changed size comparison to return when size == 0
  4005. too.
  4006. * javax/swing/JViewport.java
  4007. (paintBackingStore): Check width and height of blitted area
  4008. and only do blit if its > 0.
  4009. (paintBlit): Check width and height of blitted area
  4010. and only do blit if its > 0.
  4011. 2006-10-18 Roman Kennke <kennke@aicas.com>
  4012. PR 27091
  4013. * gnu/java/awt/peer/gtk/GtkFramePeer.java
  4014. (maximize): New native method.
  4015. (unmaximize): New native method.
  4016. (iconify): New native method.
  4017. (deiconify): New native method.
  4018. (getState): Implemented.
  4019. (setState): Implemented.
  4020. * gnu/java/awt/peer/gtk/GtkWindowPeer.java
  4021. (oldState): Rename to windowState and made protected, so that
  4022. the FramePeer can access it.
  4023. (postWindowEvent): Handle state change events more gently and
  4024. correctly.
  4025. * java/awt/Frame.java
  4026. (getState): Fetch state from getExtendedState().
  4027. (setExtendedState): Update the peer. Check if the state change
  4028. is actually supported.
  4029. (getExtendedState): Update the state from the peer.
  4030. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
  4031. (maximize): New method.
  4032. (unmaximize): New method.
  4033. (iconify): New method.
  4034. (deiconify): New method.
  4035. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
  4036. (AWT_FRAME_NORMAL): New macro.
  4037. (AWT_FRAME_ICONIFIED): New macro.
  4038. (AWT_FRAME_MAXIMIZED_BOTH): New macro.
  4039. (window_window_state_cb): Rewritten to handle window state changes
  4040. more gently (mostly on the java side of the world).
  4041. * include/gnu_java_awt_peer_gtk_GtkFramePeer.h: Regenerated.
  4042. 2006-10-18 Tania Bento <tbento@redhat.com>
  4043. * java/awt/CardLayout.java:
  4044. (maximumLayoutSize): Return a new Dimension with Integer.MAX_VALUE as
  4045. its height and width if Container passed as argument is null.
  4046. (gotoComponent): Consider the case where the component is not visible.
  4047. 2006-10-18 Thomas Fitzsimmons <fitzsim@redhat.com>
  4048. * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
  4049. Rename file...
  4050. * resource/gnu/classpath/tools/appletviewer/messages.properties:
  4051. New file.
  4052. * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
  4053. Remove file.
  4054. * tools/gnu/classpath/tools/appletviewer/AppletWarning.java:
  4055. Remove file.
  4056. * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java:
  4057. Likewise.
  4058. * tools/gnu/classpath/tools/appletviewer/Messages.java: New file.
  4059. * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
  4060. Retrieve user-visible strings through Messages.getString.
  4061. * tools/gnu/classpath/tools/appletviewer/Main.java: Likewise.
  4062. * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
  4063. Likewise.
  4064. * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
  4065. Likewise.
  4066. * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
  4067. Likewise.
  4068. * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
  4069. Likewise.
  4070. * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
  4071. Likewise.
  4072. * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
  4073. Likewise.
  4074. 2006-10-18 Roman Kennke <kennke@aicas.com>
  4075. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
  4076. (AWT_WINDOW_OPENED): Remove unnecessary macro.
  4077. (window_show_cb): Removed unnecessary function.
  4078. (connect_signals): Don't connect signal for show. *
  4079. gnu/java/awt/peer/gtk/GtkWindowPeer.java
  4080. (hasBeenShown): Removed. This is handled in java.awt.Window.
  4081. (postWindowEvent): Removed handling of WINDOW_OPENED. This is done
  4082. in java.awt.Window. * java/awt/Window.java
  4083. (dispose): Post WINDOW_CLOSED here, not WINDOW_OPENED.
  4084. 2006-10-18 Francis Kung <fkung@redhat.com>
  4085. * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
  4086. (drawRenderedImage): New method.
  4087. (drawImage): New method.
  4088. (CairoSurfaceGraphics): Set clip.
  4089. (createBuffer): New method.
  4090. (getBufferCM): New method.
  4091. (drawComposite): New method.
  4092. (fill): New method.
  4093. (getNativeCM): New method.
  4094. (drawGlyphVector): New method.
  4095. (draw): New method.
  4096. * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
  4097. (getNativeCM): Reflect renamed field.
  4098. * gnu/java/awt/peer/gtk/CairoSurface.java
  4099. (cairoCM_pre): Renamed from cairoColorModel.
  4100. (cairoColorModel): Set premultiplication to false.
  4101. 2006-10-18 Roman Kennke <kennke@aicas.com>
  4102. PR 28769
  4103. * javax/swing/JScrollPane.java
  4104. (viewportBorder): Made field private.
  4105. (wheelScrollingEnabled): Made field private.
  4106. (JScrollPane): Enabled wheel scrolling by default.
  4107. * javax/swing/JTree.java
  4108. (TreeSelectionRedirector.valueChanged): Don't repaint anything
  4109. here.
  4110. (getScrollableUnitIncrement): Fixed thinko.
  4111. * javax/swing/plaf/basic/BasicScrollBarUI.java
  4112. (static scrollByBlock): New static method to avoid code duplication
  4113. for the BasicScrollPane wheel scrolling.
  4114. (static scrollByUnits): New static method to avoid code duplication
  4115. for the BasicScrollPane wheel scrolling.
  4116. (scrollByBlock): Delegate to static helper method.
  4117. (scrollByUnit): Delegate to static helper method.
  4118. * javax/swing/plaf/basic/BasicScrollPaneUI.java
  4119. (MouseWheelHandler.mouseWheelMoved): Delegate to BasicScrollBarUI
  4120. static helper methods to avoid code duplication.
  4121. (MouseWheelHandler.bounds): Removed.
  4122. (MouseWheelHandler.getValue): Removed.
  4123. (MouseWheelHandler.scroll): Removed.
  4124. 2006-10-18 Roman Kennke <kennke@aicas.com>
  4125. PR 29502
  4126. * gnu/java/awt/peer/gtk/GtkWindowPeer.java
  4127. (updateComponent): Don't override this here.
  4128. * java/awt/Window.java
  4129. (addWindowListener): Ignore null listener. Set newEventsOnly flag.
  4130. (addWindowFocusListener): Ignore null listener. Set newEventsOnly
  4131. flag.
  4132. (addWindowStateListener): Ignore null listener. Set newEventsOnly
  4133. flag.
  4134. 2006-10-18 Roman Kennke <kennke@aicas.com>
  4135. * javax/swing/JEditorPane.java
  4136. (getStream): Try to detect and set the content type of the
  4137. connection stream.
  4138. 2006-10-18 Roman Kennke <kennke@aicas.com>
  4139. * javax/swing/RepaintManager.java
  4140. (RepaintWorkerEvent): Pass full set of params to super.
  4141. (RepaintWorker.dispatch): Overridden to allow apps to call this
  4142. via reflection.
  4143. (addDirtyRegion): Synchronize a little more to protect the
  4144. dirtyComponents field and avoid NPEs.
  4145. (invokeLater): Pass full set of params to RepaintWorkerEvent
  4146. constructor.
  4147. 2006-10-18 Roman Kennke <kennke@aicas.com>
  4148. * javax/swing/JEditorPane.java
  4149. (page): Removed field. The page is now stored in the correct
  4150. document property.
  4151. (getPage): Fetch page URL from document property.
  4152. (read): Set the document for this JEditorPane. Use a Reader
  4153. for reading in the document.
  4154. (setPage): Call getStream() to get the stream from which we read.
  4155. Fire property change. Store page in document property.
  4156. 2006-10-18 Roman Kennke <kennke@aicas.com>
  4157. * java/awt/datatransfer/DataFlavor.java
  4158. (DataFlavor(String)): Removed check for space in mime string.
  4159. 2006-10-18 Roman Kennke <kennke@aicas.com>
  4160. * java/awt/Container.java
  4161. (validateTree): Call ContainerPeer.begin|endLayout() rather than
  4162. begin|endValidate().
  4163. (validate): Call ContainerPeer.begin|endValidate() here.
  4164. Added some local vars to avoid NPEs.
  4165. 2006-10-18 Roman Kennke <kennke@aicas.com>
  4166. * native/target/.cvsignore
  4167. * native/target/Linux/.cvsignore
  4168. * native/target/generic/.cvsignore:
  4169. Added to let CVS ignore the generated Makefile and Makefile.in
  4170. files.
  4171. 2006-10-18 Roman Kennke <kennke@aicas.com>
  4172. PR 29448
  4173. * java/awt/Window.java
  4174. (eventTypeEnabled): Overridden to handle WindowEvents.
  4175. (processEvent): Switch between processWindowEvent(),
  4176. processWindowFocusEvent() and processWindowStateEvent() here,
  4177. rather than simply calling processWindowEvent().
  4178. (processWindowEvent): Only dispatch event to listener, do not
  4179. switch to processWindowFocusEvent() or processWindowStateEvent()
  4180. here.
  4181. * javax/swing/JFrame.java
  4182. (frameInit): Explicitly enable window and key events here.
  4183. (processWindowEvent): Throw out some unnecessary code.
  4184. * javax/swing/JWindow.java
  4185. (windowInit): Explicitly enable key events here.
  4186. * javax/swing/JDialog.java
  4187. (close_action): Renamed to closeAction.
  4188. (dialogInit): Explicitly enable window events here.
  4189. (getDefaultCloseOperation): Renamed close_action to closeAction.
  4190. (processWindowEvent): Throw out some unnecessary code.
  4191. Renamed close_action to closeAction.
  4192. (setDefaultCloseOperation): Renamed close_action to closeAction.
  4193. 2006-10-17 Thomas Fitzsimmons <fitzsim@redhat.com>
  4194. * gnu/java/awt/peer/gtk/GtkMainThread.java: Introduce running flag
  4195. to track native GTK event loop status.
  4196. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Set and
  4197. clear running flag when native GTK event loop starts and stops.
  4198. 2006-10-17 Roman Kennke <kennke@aicas.com>
  4199. * javax/swing/TransferHandler.java
  4200. (exportToClipboard): Implemented.
  4201. 2006-10-17 Francis Kung <fkung@redhat.com>
  4202. * gnu/java/awt/peer/gtk/BufferedImageGraphics.java (draw): Extend updated
  4203. region to account for pixel-shifting.
  4204. * gnu/java/awt/peer/gtk/CairoGraphics2D.java (shiftDrawCalls): Made
  4205. proctected.
  4206. 2006-10-17 Francis Kung <fkung@redhat.com>
  4207. PR 29450
  4208. * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
  4209. (getLogicalBounds): Translate individual glyphs before appending bounds.
  4210. (getOutline): Translate individual glyphs before appending outline.
  4211. 2006-10-17 Cameron McCormack <cam@mcc.id.au>
  4212. PR 29014
  4213. * java/awt/font/TextLayout.java
  4214. (bidi): New field.
  4215. (constructor): Store bidi in field.
  4216. (getCharacterLevel): Implemented.
  4217. 2006-10-17 Roman Kennke <kennke@aicas.com>
  4218. * javax/swing/TransferHandler.java
  4219. (PropertyTransferable): New inner class. Handles transfers
  4220. from component properties.
  4221. (createTransferable): Implemented.
  4222. 2006-10-17 Francis Kung <fkung@redhat.com>
  4223. * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
  4224. (drawComposite): Ensure composite does not extend beyond buffer
  4225. bounds.
  4226. * java/awt/image/Raster.java
  4227. (createChild): Ensure child does not extend beyond parent's
  4228. bounds.
  4229. * java/awt/image/WritableRaster.java
  4230. (createWritableChild): Ensure child does not extend beyond
  4231. parent's bounds.
  4232. 2006-10-17 Jeroen Frijters <jeroen@frijters.net>
  4233. * native/jni/classpath/jcl.c
  4234. (JNI_OnLoad): Corrected calling convention.
  4235. 2006-10-16 Roman Kennke <kennke@aicas.com>
  4236. * javax/swing/TransferHandler.java
  4237. (propertyName): New field.
  4238. (TransferHandler(String)): Store property name in field.
  4239. (canImport): Implemented stub method.
  4240. (exportDone): This is a no-op. Removed not-implemented mark.
  4241. (getPropertyDataFlavor): New helper method.
  4242. (getPropertyDescriptor): New helper method.
  4243. 2006-10-16 Roman Kennke <kennke@aicas.com>
  4244. * javax/swing/AbstractButton.java
  4245. (AccessibleJButton.getAfterIndex): Implemented.
  4246. (AccessibleJButton.getAtIndex): Implemented.
  4247. (AccessibleJButton.getBeforeIndex): Implemented.
  4248. (AccessibleJButton.getCharacterAttribute): Completed incomplete
  4249. method implementation.
  4250. 2006-10-16 Roman Kennke <kennke@aicas.com>
  4251. * javax/swing/JLabel.java
  4252. (AccessibleJLabel.getIndexAtPoint): Implemented.
  4253. (AccessibleJLabel.getCharacterBounds): Implemented.
  4254. (AccessibleJLabel.getTextRectangle): New helper method.
  4255. 2006-10-16 Roman Kennke <kennke@aicas.com>
  4256. * javax/swing/filechooser/FileSystemView.java
  4257. (getFileSystemView): Mark as implemented.
  4258. 2006-10-14 Roman Kennke <kennke@aicas.com>
  4259. PR 27957
  4260. * javax/swing/JComponent.java
  4261. (toolTipText): Removed field.
  4262. (createToolTip): Don't set tooltip text here. This is done
  4263. in the ToolTipManager.
  4264. (setToolTipText): Set tooltip text as client property.
  4265. (getToolTipText): Get tooltip text from client property.
  4266. * javax/swing/ToolTipManager.java
  4267. (currentComponent): Made field non-static and of type JComponent.
  4268. (currentPoint): Made field non-static.
  4269. (currentTip): Made field non-static.
  4270. (popup): Made field non-static.
  4271. (toolTipText): New field. Stores the current tooltip text.
  4272. (checkTipUpdate): New helper method. Checks for updates of
  4273. the tooltip text and triggers the appropriate actions.
  4274. (getContentPaneDeepestComponent): Removed unneeded casts.
  4275. (mouseEntered): Removed unneeded cast. Initially fetch tooltip
  4276. text from component.
  4277. (mouseMoved): Check for tooltip text updates.
  4278. (showTip): Set tooltip text from current setting.
  4279. 2006-10-14 Roman Kennke <kennke@aicas.com>
  4280. PR 27956
  4281. * javax/swing/JSlider.java
  4282. (setPaintLabels): Call setLabelTable() instead of setting
  4283. the field directly. This also updates the label's size.
  4284. 2006-10-13 Tom Tromey <tromey@redhat.com>
  4285. * tools/gnu/classpath/tools/javah/ClassWrapper.java (toString): New
  4286. method.
  4287. 2006-10-13 Tania Bento <tbento@redhat.com>
  4288. * java/awt/ScrollPane.java
  4289. (setLayout): Should throw AWTError whenever called.
  4290. 2006-10-13 Roman Kennke <kennke@aicas.com>
  4291. PR 29448
  4292. * java/awt/Component.java
  4293. (dispatchEventImpl): Special handle ComponentReshapeEvents to
  4294. update the AWT's knowledge about a component's size.
  4295. * gnu/java/awt/ComponentReshapeEvent.java: New class.
  4296. * gnu/java/awt/peer/gtk/GtkWindowPeer.java
  4297. (postConfigureEvent): Directly dispatch a ComponentReshapeEvent
  4298. to update the AWT's knowledge about the component bounds.
  4299. 2006-10-13 Tania Bento <tbento@redhat.com>
  4300. * java/awt/ScrollPaneAdjustable.java
  4301. (setMaximum): Should throw AWTError whenever called.
  4302. (setMinimum): Same.
  4303. (setVisibleAmount): Same.
  4304. 2006-10-13 Tania Bento <tbento@redhat.com>
  4305. * java/awt/ScrollPane.java
  4306. (addImpl): When calling super, index should be value passed,
  4307. not -1.
  4308. (getIsValidString): New helper method for paramString().
  4309. (getScrollbarDisplayString): New helper method for paramString().
  4310. (paramString): Changed format of outputted string.
  4311. 2006-10-13 David Gilbert <david.gilbert@object-refinery.com>
  4312. * javax/swing/tree/DefaultTreeSelectionModel.java
  4313. (clone): Added cast to TreePath[].
  4314. 2006-10-13 Roman Kennke <kennke@aicas.com>
  4315. PR 27780
  4316. * javax/swing/JMenuItem.java
  4317. (isDragging): New field. Indicates if we are inside a mouse
  4318. drag.
  4319. (createMenuDragMouseEvent): Removed unneeded method.
  4320. (processMenuDragMouseEvent): Track if we are dragging.
  4321. (processMouseEvent): Simply forward to processMenuDragMouseEvent().
  4322. * javax/swing/plaf/basic/BasicMenuItemUI.java
  4323. (MenuDragMouseHandler.menuDragMouseDragged): Fetch
  4324. MenuSelectionManager from event.
  4325. (MenuDragMouseHandler.menuDragMouseEntered): Fetch
  4326. MenuSelectionManager from event.
  4327. (MenuDragMouseHandler.menuDragMouseExited): Fetch
  4328. MenuSelectionManager from event.
  4329. (MenuDragMouseHandler.menuDragMouseReleased): Click on mouse
  4330. release inside menu item, otherwise clear selection.
  4331. (MenuInputHandler.mouseReleased): Avoid multiple calls to getX()
  4332. and getY(). Call doClick() rather than the doClick() of JMenuItem.
  4333. (doClick): Perform an immediate click.
  4334. 2006-10-13 Thomas Fitzsimmons <fitzsim@redhat.com>
  4335. * javax/swing/DefaultComboBoxModel.java (setSelectedItem): Simply
  4336. return if object is not in the list.
  4337. 2006-10-12 Andrew Haley <aph@redhat.com>
  4338. * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
  4339. * java/lang/ThreadLocal.java: Likewise.
  4340. 2006-10-12 Roman Kennke <kennke@aicas.com>
  4341. PR 27956
  4342. * javax/swing/JSlider.java
  4343. (LabelUIResource): New inner class. A JLabel as UIResource.
  4344. (createStandardLabels): Don't set label bounds here.
  4345. Create LabelUIResource instances.
  4346. (setInverted): Repaint.
  4347. (setLabelTable): Update the label UIs. Revalidate and repaint.
  4348. (setMajorTickSpacing): Update the label table. Repaint if
  4349. necessary.
  4350. (setMinorTickSpacing): Repaint if necessary.
  4351. (setOrientation): Revalidate.
  4352. (setPaintLabels): Revalidate and repaint.
  4353. (setPaintTicks): Revalidate and repaint.
  4354. (setPaintTrack): Repaint.
  4355. (updateLabelUIs): Set the label sizes here.
  4356. (updateUI): Also update the label UIs.
  4357. * javax/swing/plaf/basic/BasicSliderUI.java
  4358. (ComponentHandler.componentResized): Don't revalidate.
  4359. (FocusHandler.focusGained): Don't set field.
  4360. (FocusHandler.focusLost): Don't set field.
  4361. (PropertyChangeHandler.propertyChange): Calculate geometry
  4362. and repaint for a couple more properties.
  4363. (TrackListener.mouseReleased): Repaint.
  4364. (hasFocus): Removed unneeded field.
  4365. (calculateContentRect): No need to check for content size < 0.
  4366. (calculateFocusRect): Use insets from insetCache.
  4367. (calculateLabelRect): Fixed calculation of label rectangle.
  4368. It is relative to the tick rectangle, rather than the content
  4369. rectangle.
  4370. (calculateTickRect): Small restructuring to avoid unnecessary
  4371. comparisons.
  4372. (calculateTrackRect): Fixed calculation of track rectangle.
  4373. (getMaximumSize): Fixed. Fetch preferred size and set
  4374. the height of width to Short.MAX_VALUE.
  4375. (getMinimumHorizontalSize): Fixed to return UIManager value.
  4376. (getMinimumVerticalSize): Fixed to return UIManager value.
  4377. (getPreferredHorizontalSize): Fixed to return UIManager value.
  4378. (getPreferredVerticalSize): Fixed to return UIManager value.
  4379. (getMinimumSize): Fixed to return the UIManager value plus
  4380. insets added.
  4381. (getPreferredSize): Fixed to return the UIManager value plus
  4382. insets added.
  4383. (getWidthOfWidestLabel): Restructured for more cleanness and
  4384. efficiency.
  4385. (hitClip): New helper method.
  4386. (paintHorizontalLabel): Replaced by more efficient and clean
  4387. implementation.
  4388. (paintVerticalLabel): Replaced by more efficient and clean
  4389. implementation.
  4390. (paintLabels): Replaced by more efficient and clean
  4391. implementation.
  4392. (paint): Check if rectangles intersect with clip for maximum
  4393. efficiency.
  4394. (recalculateIfInsetsChanged): Fixed. This method should
  4395. recalculate only when the insets changed.
  4396. (setThumbLocation): Repaint with a reasonable clip.
  4397. (xPositionForValue): Made more clean and efficient.
  4398. (yPositionForValue): Made more clean and efficient.
  4399. * javax/swing/plaf/basic/BasicLookAndFeel.java
  4400. (initComponenDefaults): Added Slider.horizontalSize,
  4401. Slider.verticalSize, Slider.minimumHorizontalSize and
  4402. Slider.minimumVerticalSize properties.
  4403. * javax/swing/plaf/metal/MetalSliderUI.java
  4404. (getTickLength): Add 1 for horizontal sliders and 3 for
  4405. vertical sliders.
  4406. (paintMajorTickForHorizSlider): Fix colors. Fix line locations.
  4407. (paintMinorTickForHorizSlider): Fix colors. Fix line locations.
  4408. (paintMajorTickForVertSlider): Fix colors. Fix line locations.
  4409. (paintMinorTickForVertSlider): Fix colors. Fix line locations.
  4410. 2006-10-12 Roman Kennke <kennke@aicas.com>
  4411. PR 28696
  4412. * javax/swing/text/FlowView.java
  4413. (FlowStrategy.layout): Preserve logical views from getting lost.
  4414. (FlowStrategy.layoutRow): Fix line breaking.
  4415. (FlowStrategy.adjustRow): Fix line breaking.
  4416. (FlowStrategy.changedUpdate): Mark layout invalid, or repaint.
  4417. (FlowStrategy.insertUpdate): Mark layout invalid, or repaint.
  4418. (FlowStrategy.removeUpdate): Mark layout invalid, or repaint.
  4419. (createView): Don't check index.
  4420. (contains): New helper method.
  4421. (reparent): New helper method.
  4422. (layoutDirty): Removed unneeded field.
  4423. (FlowView): Removed layoutDirty field init.
  4424. (changedUpdate): Removed layoutDirty handling.
  4425. (insertUpdate): Removed layoutDirty handling.
  4426. (removeUpdate): Removed layoutDirty handling.
  4427. (layout): Use isLayoutValid() rather than the layoutDirty field.
  4428. * javax/swing/text/GlyphView.java
  4429. (startOffset): Removed.
  4430. (endOffset): Removed.
  4431. (offset): New field.
  4432. (length): New field.
  4433. (GlyphView): Initialize new fields. Removed old fields.
  4434. (createFragment): Create fragment with new relative offsets.
  4435. (getEndOffset): Work with new relative offsets.
  4436. (getStartOffset): Work with new relative offsets.
  4437. * javax/swing/text/ParagraphView.java
  4438. (Row.getStartOffset): Overidden to determine the minimum start
  4439. offset from the children.
  4440. (Row.getEndOffset): Overidden to determine the maximum end
  4441. offset from the children.
  4442. * javax/swing/text/html/BRView.java
  4443. Make subclass of InlineView.
  4444. (getBreakWeight): Fall back to super for Y_AXIS.
  4445. 2006-10-12 Roman Kennke <kennke@aicas.com>
  4446. PR 28733
  4447. * javax/swing/plaf/basic/BasicTabbedPaneUI.java
  4448. (TabPaneLayout.normalizeTabRuns): Replaced algorithm with
  4449. one that avoids faulty state that could cause division by zero
  4450. error.
  4451. 2006-10-12 Roman Kennke <kennke@aicas.com>
  4452. PR 28057
  4453. * javax/swing/plaf/basic/BasicRadioButtonUI.java
  4454. (paint): Determine correct icon. Added support for HTML label.
  4455. Added small optimizations.
  4456. (getPreferredSize): Only consider the buttons iconTextGap, and
  4457. only when the text is not null.
  4458. * javax/swing/plaf/basic/BasicLookAndFeel.java
  4459. (initComponentDefaults): Fetch border for RadioButton from
  4460. BasicButtons.getRadioButtonBorder().
  4461. * javax/swing/plaf/metal/MetalRadioButtonUI.java
  4462. (paintFocus): Paint focus rectangle one pixel smaller.
  4463. 2006-10-12 Roman Kennke <kennke@aicas.com>
  4464. PR 29418
  4465. * javax/swing/tree/AbstractLayoutCache.java
  4466. (getNodeDimensions): Don't throw InternalError, but instead
  4467. return null.
  4468. (getRowsForPaths): Check for null here.
  4469. (isFixedRowHeight): Returns true when rowHeight > 0.
  4470. (setSelectionModel): Set this as the row mapper for the selection
  4471. model.
  4472. * javax/swing/tree/VariableHeightLayoutCache.java
  4473. (NodeRecord.NodeRecord): Initialize bounds field.
  4474. (getBounds): Simply return the bounds field.
  4475. (row2Node): Changed to be an ArrayList.
  4476. (RECT_CACHE): New field. Caches a Rectangle instance.
  4477. (countRows): Added y parameter and return value. The method
  4478. now takes the current y position as parameter, and returns
  4479. the updated y position.
  4480. (getBounds): Fixed to return the correct bounds.
  4481. (getPathForRow): Replaced by fixed implementation.
  4482. (getPreferredHeight): Replaced by more efficient implementation.
  4483. This simply fetches the last node record and returns its lower
  4484. bounds.
  4485. (getPreferredWidth): Added null check.
  4486. (getVisibleChildCount): Added null check.
  4487. (getVisiblePathsFrom): Added null check.
  4488. (setExpandedState): Also expand the ancestors of the node
  4489. to be expanded.
  4490. (setModel): Set dirty flag rather than updating for real.
  4491. (setNodeDimensions): Overridden to set the dirty flag.
  4492. (setRowHeight): Overridden to set the dirty flag.
  4493. (update): Don't special case the root here, this is done now
  4494. in countRows().
  4495. 2006-10-12 Roman Kennke <kennke@aicas.com>
  4496. * javax/swing/JComponent.java
  4497. (paintImmediately2): Added support for components which need
  4498. to force themselves as paint root.
  4499. (isPaintRoot): New method. This should be overridden by components
  4500. which need to force themselves as paint root.
  4501. * javax/swing/JViewport.java
  4502. (isPaintRoot): Overridden to force the viewport as paint root
  4503. when running in backingstore mode.
  4504. 2006-10-12 Roman Kennke <kennke@aicas.com>
  4505. * javax/swing/tree/DefaultTreeSelectionModel.java
  4506. (PathPlaceHolder): New inner class. Wraps a path and its status
  4507. wrt to its newness.
  4508. (selectedPaths): New field. A supporting datastructure.
  4509. (tmpPaths): New field. A supporting datastructure.
  4510. (DefaultTreeSelectionModel): Initialize the list selection model,
  4511. the leadIndex and the supporting datastructures.
  4512. (addPropertyChangeListener): Create changeSupport object lazily.
  4513. (addSelectionPaths): Mostly rewritten to handle the different
  4514. selection modes correctly.
  4515. (addSelectionPath): Delegate to addSelectionPaths().
  4516. (arePathsContiguous): Replaced with more efficient implementation
  4517. using BitSet
  4518. (canPathBeAdded): Removed unneeded method.
  4519. (canPathsBeAdded): Replaced with more efficient implementation.
  4520. (clearSelection): Create correct event. Clear the fields correctly,
  4521. including the supporting datastructures.
  4522. (clone): Also clone the supporting datastructures and nullify
  4523. changeSupport field.
  4524. (getMaxSelectionRow): Delegate to list selection model.
  4525. (getMinSelectionRow): Delegate to list selection model.
  4526. (getPath): Removed unneeded method.
  4527. (getPropertyChangeListeners): Handle null changeSupport field
  4528. correctly.
  4529. (getRow): Handle null rowMapper field correctly.
  4530. (getSelectionRows): Handle invisible rows correctly.
  4531. (insureRowContinuity): Replaced by more efficient and correct
  4532. implementation.
  4533. (isRowSelected): Delegate to list selection model.
  4534. (notifyPathChange): Made more efficient by use of PathPlaceHolder
  4535. class.
  4536. (removePropertyChangeListener): Handle null changeSupport field.
  4537. (removeSelectionPaths): Mostly rewritten to handle the different
  4538. selection modes correctly.
  4539. (removeSelectionPath): Delegate to removeSelectionPaths().
  4540. (resetRowSelection): Handle list selection model.
  4541. (selectOne): Removed unneeded field.
  4542. (setRowMapper): Reset the row selection.
  4543. (setSelectionMode): Check for invalid mode and set to
  4544. DISCONTINUOUS_TREE_SELECTION in this case. Fire property change.
  4545. (setSelectionPaths): Mostly rewritten to handle the different
  4546. selection modes correctly.
  4547. (setSelectionPath): Delegate to setSelectionPaths().
  4548. (updateLeadIndex): Made more efficient.
  4549. 2006-10-11 Francis Kung <fkung@redhat.com>
  4550. * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
  4551. (buffer, locked): New fields.
  4552. (constructors): Initialize new variables.
  4553. (createBuffer): New method.
  4554. (draw): Implement custom composites.
  4555. (drawComposite): New method.
  4556. (drawGlyphVector): Implement custom composites.
  4557. (drawImage): Implement custom composites.
  4558. (drawRenderedImage): Implement custom composites.
  4559. (fill): Implement custom composites.
  4560. (getBufferCM): New method.
  4561. (getNativeCM): New method.
  4562. (updateBufferedImage): Fix premultiplication.
  4563. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  4564. (copy): Copy composite.
  4565. (drawImage): Set background properly.
  4566. (getBufferCM): New method.
  4567. (setComposite): Reset alpha composite when using custom composite.
  4568. * gnu/java/awt/peer/gtk/CairoSurface.java
  4569. (cairoColorModel): New field.
  4570. (nativeColorModel): Renamed.
  4571. (constructor): Use renamed createCairoSampleModel method.
  4572. (createCairoSampleModel): New method.
  4573. (createNativeSampleModel): Renamed.
  4574. (getBufferedImage): Use renamed cairoColorModel field.
  4575. * gnu/java/awt/peer/gtk/GtkVolatileImage.java
  4576. (gdkColorModel): New field.
  4577. (createGdkSampleModel): New method.
  4578. (getPixels): Added comments.
  4579. (getSnapshot): Use GDK colour and sample models.
  4580. * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
  4581. (createBuffer): Use GDK colour and sample models.
  4582. (getNativeCM): Added comments.
  4583. * java/awt/image/BufferedImage.java
  4584. (constructor): Set premultiplied flag properly.
  4585. 2006-10-11 Edwin Steiner <edwin.steiner@gmx.net>
  4586. * native/jni/java-nio/gnu_java_nio_VMChannel.c
  4587. (Java_gnu_java_nio_VMChannel_lock): Special case Long.MAX_VALUE.
  4588. 2006-10-10 Francis Kung <fkung@redhat.com>
  4589. PR 29372
  4590. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  4591. (createPath): Added isDraw parameter.
  4592. (draw): Updated createPath call.
  4593. (fill): Updated createPath call.
  4594. 2006-10-10 Tom Tromey <tromey@redhat.com>
  4595. PR classpath/29362:
  4596. * gnu/xml/transform/TransformerImpl.java (transform): Only strip if
  4597. there is a stylesheet.
  4598. 2006-10-10 Roman Kennke <kennke@aicas.com>
  4599. * java/awt/Toolkit.java
  4600. (getDefaultTookit): Make method synchronized to avoid
  4601. accidentally creating more than one toolkits from different
  4602. threads.
  4603. 2006-10-10 Roman Kennke <kennke@aicas.com>
  4604. * java/awt/LightweightDispatcher.java
  4605. (handleMouseEvent): Redispatch MOUSE_WHEEL events too.
  4606. (redispatch): Transfer the button to the redispatched event.
  4607. 2006-10-10 Francis Kung <fkung@redhat.com>
  4608. * java/awt/image/ColorModel.java (coerceData): Implemented.
  4609. 2006-10-09 Christian Elias Naur <elias@oddlabs.com>
  4610. * vm/reference/java/lang/VMClassLoader.java:
  4611. (defineClassWithTransformers): Use proper class name format.
  4612. 2006-10-09 Gary Benson <gbenson@redhat.com>
  4613. * java/net/ServerSocket.java
  4614. (implAccept): Add security check.
  4615. (accept): Close socket if security check fails.
  4616. (setSocketFactory): Add security check and already-set check.
  4617. 2006-10-09 Roman Kennke <kennke@aicas.com>
  4618. PR 29325
  4619. * javax/swing/JSplitPane.java
  4620. (dividerLocation): New field. Stores the divider location.
  4621. (JSplitPane): Initialize dividerLocation with -1.
  4622. (addImpl): Removed unneeded local variables.
  4623. (getDividerLocation): Manage dividerLocation in the JSplitPane
  4624. class, not in the UI.
  4625. (setDividerLocation): Manage dividerLocation in the JSplitPane
  4626. class, not in the UI. Only call the UI method for notification.
  4627. * javax/swing/plaf/basic/BasicSplitPaneUI.java
  4628. (BasicHorizontalLayoutManager.layoutContainer): Fetch divider
  4629. location from the JSplitPane. Honour the minimumSize, but only
  4630. if the divider location hasn't been set explicitly.
  4631. (BasicHorizontalLayoutManager.minimumLayoutSize): Removed unneeded
  4632. statement.
  4633. (BasicHorizontalLayoutManager.preferredLayoutSize): Removed unneeded
  4634. statement.
  4635. (BasicHorizontalLayoutManager.resetToPreferredSizes): Don't touch
  4636. the divider location.
  4637. (dividerLocationSet): New field.
  4638. (dividerLocation): Removed field.
  4639. (createActionMap): Fetch and set divider location on the JSplitPane.
  4640. (getDividerLocation): Return the actual real divider location.
  4641. (getMaximumSize): Removed unneeded cast.
  4642. (getPreferredSize): Removed unneeded cast.
  4643. (getMinimumSize): Removed unneeded cast.
  4644. (installUI): Initialize dividerLocationSet with false.
  4645. (uninstallUI): Initialize dividerLocationSet with false.
  4646. (setDividerLocation): Set dividerLocationSet to true.
  4647. 2006-10-09 Robert Schuster <robertschuster@fsfe.org>
  4648. * native/jni/java-net/gnu_java_net/VMPlainSocketImpl.c:
  4649. (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): Properly
  4650. convert jstring into char *.
  4651. (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): Dito.
  4652. (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): Dito.
  4653. (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): Dito.
  4654. (getif_address): Added const modifier to second argument.
  4655. (getif_index): Dito.
  4656. 2006-10-09 Roman Kennke <kennke@aicas.com>
  4657. * javax/swing/JTree.java
  4658. (isSelected): Added API docs.
  4659. 2006-10-09 Roman Kennke <kennke@aicas.com>
  4660. * javax/swing/JTree.java
  4661. (isSelected): Delegate to the selection model directly.
  4662. 2006-10-09 Robert Schuster <robertschuster@fsfe.org>
  4663. * gnu/java/nio/KqueueSelectorImpl.java: Renamed field
  4664. sizeof_struct_kevent to _sizeof_struct_kevent.
  4665. 2006-10-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  4666. * tools/gnu/classpath/tools/rmic/RMICException.java:
  4667. javadoc corrections, reformatted.
  4668. 2006-10-07 Christian Elias Naur <elias@oddlabs.com>
  4669. * gnu/java/lang/InstrumentationImpl.java:
  4670. Made constructor package visible.
  4671. 2006-10-05 Gary Benson <gbenson@redhat.com>
  4672. * java/net/Socket.java
  4673. (Socket): Perform security check on address not hostname.
  4674. 2006-10-04 Roman Kennke <kennke@aicas.com>
  4675. * javax/swing/tree/VariableHeightLayoutCache.java
  4676. (getBounds): When rect is null, create a new Rectangle.
  4677. 2006-10-04 Christian Thalinger <twisti@complang.tuwien.ac.at>
  4678. * native/jni/java-nio/javanio.c (cpnio_read, cpnio_readv)
  4679. (cpnio_write, cpnio_writev, cpnio_socket, cpnio_connect)
  4680. (cpnio_accept, cpnio_sendto, cpnio_recvfrom, cpnio_fcntl)
  4681. (cpnio_select): Use CPNIO_EXPORT.
  4682. * native/jni/java-nio/javanio.h (CPNIO_EXPORT): Define to static
  4683. inline instead of extern inline, as newer GCCs changed their
  4684. behavior.
  4685. 2006-10-04 Gary Benson <gbenson@redhat.com>
  4686. * java/net/InetAddress.java: Updated javadoc.
  4687. (<clinit>, getByLiteral): Throw InternalError on failures.
  4688. 2006-10-03 Francis Kung <fkung@redhat.com>
  4689. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  4690. (compCtx): New field for composite context.
  4691. (copy): Copy composite.
  4692. (dispose): Dispose of composite context.
  4693. (getNativeCM): New method.
  4694. (setComposite): Discard old composite context and set up new context.
  4695. (setRenderingHints): Update composite context.
  4696. * gnu/java/awt/peer/gtk/CairoSurface.java
  4697. (nativeColorModel): New field, renamed from nativeModel.
  4698. (nativeModel): Renamed field to nativeColorModel.
  4699. (CairoSurface(int, int)): Call new method to create sample model.
  4700. (createNativeSampleModel): New method.
  4701. (getBufferedImage): Updated variable name.
  4702. * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
  4703. (buffer): New field.
  4704. (createBuffer): New method.
  4705. (draw): New method.
  4706. (drawComposite): New method.
  4707. (drawGlyphVector): New method.
  4708. (drawImage(Image, AffineTransform, Color, ImageObserver)): New method.
  4709. (drawImage(Image, int, int, ImageObserver)): Check composite.
  4710. (drawImage(Image, int, int, int, int, ImageObserver)): Check composite.
  4711. (fill): New method.
  4712. (getNativeCM): New method.
  4713. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
  4714. (Java_gnu_java_awt_peer_gtk_GtkVolatileImage_nativeGetPixels): Use
  4715. intermediary pixbuf to grab on-screen pixels.
  4716. 2006-10-03 Tom Tromey <tromey@redhat.com>
  4717. PR classpath/28987:
  4718. * java/util/IdentityHashMap.java (tombstone): Removed.
  4719. (emptyslot): Removed.
  4720. (nullslot): New field.
  4721. (IdentityHashMap): Don't fill array.
  4722. (clear): Fill with null.
  4723. (hash): Now final. Use linear probing.
  4724. (xform): New method.
  4725. (unxform): Likewise.
  4726. (removeAtIndex): Likewise.
  4727. (clone, containsKey, containsValue, entrySet, get, hashCode,
  4728. keySet, put, remove, values): Updated.
  4729. (IdentityIterator, IdentityEntry): Likewise.
  4730. (writeObject): Likewise.
  4731. 2006-10-03 Tom Tromey <tromey@redhat.com>
  4732. * java/util/Locale.java (hashcode): Updated javadoc.
  4733. (hashcodeCache): Removed.
  4734. (Locale): Updated.
  4735. (hashCode): Updated.
  4736. (writeObject): New method.
  4737. (readObject): Updated.
  4738. 2006-10-02 Francis Kung <fkung@redhat.com>
  4739. * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
  4740. (updateBufferedImage): Recognise that raw data is alpha-premultiplied.
  4741. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  4742. (clearRect): Paint background colour with AlphaComposite.SRC rule.
  4743. (drawImage(Image, AffineTransform, Color, ImageObserver)): Alpha
  4744. pre-multiply data before drawing.
  4745. (fillRect): Draw using regular fill() method.
  4746. (setComposite): Handle null case with AlphaComposite.SrcOver default.
  4747. * gnu/java/awt/peer/gtk/CairoSurface.java
  4748. (nativeModel): Use correct value for alpha premultiplication (true).
  4749. * java/awt/image/BufferedImage.java
  4750. (coerceData): Update isPremultiplied field.
  4751. 2006-10-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
  4752. * gnu/classpath/ListenerData.java:
  4753. New class for holding listener data.
  4754. * gnu/java/lang/management/MemoryMXBeanImpl.java:
  4755. ListenerData class moved to its own file.
  4756. * javax/management/MBeanServerDelegate.java,
  4757. * javax/management/MBeanServerDelegateMBean.java,
  4758. * javax/management/MBeanServerNotification.java:
  4759. Implemented.
  4760. 2006-10-02 Tania Bento <tbento@redhat.com>
  4761. * java/ast/Rectangle.java:
  4762. (Rectangle(Rectangle)): Do not throw NPE.
  4763. (Rectangle(Point, Dimension)): Same.
  4764. (Rectangle(Point)): Same.
  4765. (Rectangle(Dimension)): Same.
  4766. 2006-09-29 Casey Marshall <csm@gnu.org>
  4767. PR 29190
  4768. * gnu/java/nio/EpollSelectionKeyImpl.java: extend
  4769. `AbstractSelectionKey.'
  4770. (cancel, isValid): removed.
  4771. * gnu/java/nio/EpollSelectorImpl.java (cancelledKeys): removed.
  4772. (events): new field.
  4773. (INITIAL_CAPACITY, MAX_DOUBLING_CAPACITY, CAPACITY_INCREMENT): new
  4774. fields.
  4775. (<clinit>): initialize those constants.
  4776. (<init>): don't initialize `cancelledKeys;' initialize `events.'
  4777. (doSelect): deregister cancelled keys; remove keys attached to
  4778. closed channels; wrap `epoll_wait' in `begin' and `end' calls; use
  4779. `events' buffer; reallocate `events' buffer if needed.
  4780. (register): reallocate `events' buffer if needed.
  4781. (reallocateBuffer): new method.
  4782. (cancel): removed.
  4783. 2006-09-29 Roman Kennke <kennke@aicas.com>
  4784. PR 28929
  4785. * javax/swing/JViewport.java
  4786. (cinit): Renamed system property to gnu.swing.scrollmode
  4787. to avoid bloat. Default to BACKINGSTORE, this is much
  4788. more reliable.
  4789. (repaint): Forward repaint() to parent as is specified.
  4790. 2006-09-29 Tania Bento <tbento@redhat.com>
  4791. * javax/swing/plaf/basic/BasicTableUI.java
  4792. (getPreferredSize): The number of iterations for the for-loop should be
  4793. the number of columns in the table's column model, not the number of
  4794. columns of the table.
  4795. * javax/swing/JTable.java
  4796. (JTable(TableModel, TableColumnModel, ListSelectionModel): Removed 4
  4797. lines that are not needed.
  4798. (initializeLocalVars): dragEnabled should be set to false, not true.
  4799. (getCellRenderer): Added a check to prevent an
  4800. ArrayIndexOutOfBoundsException.
  4801. (doLayout): The number of iterations for the for-loops should be the
  4802. number of columns in the table's column model, not the number of columns
  4803. of the table.
  4804. 2006-09-29 Roman Kennke <kennke@aicas.com>
  4805. * gnu/java/awt/java2d/AbstractGraphics2D.java: Updated
  4806. API docs.
  4807. (isOptimized): Initialize with true.
  4808. (paintRaster): Removed unneeded field.
  4809. (shapeCache): New static field. Caches certain shapes for reuse.
  4810. (computeIntersection): Removed unneeded casts.
  4811. (drawArc): Use shape cache.
  4812. (drawImage): Removed unneeded statement.
  4813. (drawLine): Use shape cache. Pass untranslated coordinates
  4814. to rawDrawLine().
  4815. (drawOval): Use shape cache.
  4816. (drawPolygon): Use shape cache.
  4817. (drawRect): Overridden to provide accelerated rectangle drawing
  4818. if possible and to use the shape cache.
  4819. (drawRoundRect): Use shape cache.
  4820. (fillArc): Use shape cache.
  4821. (fillOval): Use shape cache.
  4822. (fillPolygon): Use shape cache.
  4823. (fillRect): Pass untranslated coordinates to rawFillRect().
  4824. Use shape cache.
  4825. (fillRoundRect): Use shape cache.
  4826. (fillScanlineAA): Removed unneeded statement.
  4827. (fillScanline): Updated API docs.
  4828. (fillShapeAntialias): Removed unnecessary cast.
  4829. (fillShapeImpl): Update API docs. Removed unnecessary cast.
  4830. (fillShape): Updated API docs.
  4831. (getShapeCache): New helper method.
  4832. * gnu/java/awt/java2d/ShapeCache.java: New class. Caches
  4833. certain shapes for reuse in AbstractGraphics2D.
  4834. 2006-09-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
  4835. * javax/management/BadBinaryOpValueExpException.java:
  4836. (getExp()): Implemented.
  4837. * javax/management/MBeanConnection.java:
  4838. Renamed to MBeanServerConnection.
  4839. * javax/management/MBeanServer.java:
  4840. (setAttribute(Attribute)): Fixed...
  4841. (setAttribute(ObjectName,Attribute)): to this.
  4842. * javax/management/MBeanServerConnection.java:
  4843. Renamed from MBeanConnection.
  4844. * javax/management/QueryExp.java:
  4845. Extend Serializable.
  4846. * javax/management/ValueExp.java:
  4847. Likewise.
  4848. * javax/management/loading/ClassLoaderRepository.java:
  4849. (loadClass(String)): Throw ClassNotFoundException.
  4850. (loadClassBefore(ClassLoader,String)): Likewise.
  4851. (loadClassWithout(String, ClassLoader): Fixed...
  4852. (loadClassWithout(ClassLoader,String)): to this.
  4853. 2006-09-28 Roman Kennke <kennke@aicas.com>
  4854. * javax/swing/tree/DefaultTreeCellRenderer.java
  4855. (DefaultTreeCellRenderer): Fetch drawsFocusBorderAroundIcon
  4856. property from UIManager.
  4857. (paint): Rewritten to use super's implementation and only paint
  4858. background and focus indicator before.
  4859. (paintFocus): New helper method.
  4860. (getXOffset): New helper method.
  4861. 2006-09-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
  4862. * javax/management/BadBinaryOpValueExpException.java,
  4863. * javax/management/MBeanConnection.java,
  4864. * javax/management/MBeanServer.java,
  4865. * javax/management/ObjectInstance.java:
  4866. Implemented.
  4867. * javax/management/ObjectName.java:
  4868. (setMBeanServer(MBeanServer)): Implemented.
  4869. * javax/management/QueryExp.java,
  4870. * javax/management/ValueExp.java,
  4871. * javax/management/loading/ClassLoaderRepository.java:
  4872. Implemented.
  4873. 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
  4874. * gnu/java/nio/VMChannelOwner.java: Removed unneeded imports.
  4875. 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
  4876. * vm/reference/gnu/java/nio/VMChannel.java: Removed unneeded imports.
  4877. * vm/reference/gnu/java/nio/VMPipe.java: Removed unneeded imports.
  4878. * gnu/java/nio/EpollSelectorImpl.java:
  4879. (doSelect): Use Integer.valueOf() instead of constructor call.
  4880. (register): Use Integer.valueOf() instead of constructor call.
  4881. 2006-09-27 Roman Kennke <kennke@aicas.com>
  4882. * java/awt/Container.java
  4883. (addContainerListener): Activate newEventsOnly for the component.
  4884. Ignore null listeners.
  4885. 2006-09-27 Roman Kennke <kennke@aicas.com>
  4886. * java/awt/EventQueue.java
  4887. (Queue): New inner class. Implements the actual queue.
  4888. (LOW_PRIORITY): New constant field.
  4889. (NORM_PRIORITY): New constant field.
  4890. (queueHead): Removed. Moved into Queue.
  4891. (queueTail): Removed. Moved into Queue.
  4892. (queues): New field.
  4893. (EventQueue): Initialize two internal queues, one for
  4894. normal events, one for low priority events.
  4895. (getNextEventImpl): New helper method, fetches the next event.
  4896. (getNextEvent): Use getNextEventImpl() for fetching the event.
  4897. (peekEvent): Use getNextEventImpl() for fetching the event.
  4898. (peekEvent(int)): Search for event in all queues.
  4899. (postEventImpl(AWTEvent)): Moved actual posting into
  4900. postEventImpl(AWTEvent,int). Prioritize events here.
  4901. (postEventImpl(AWTEvent,int)): Take priority parameter and insert
  4902. event into correct queue. Re-enable event coalescing.
  4903. * gnu/java/awt/LowPriorityEvent.java: New marker interface.
  4904. * javax/swing/RepaintManager.java
  4905. (RepaintWorkerEvent): New internal class. This is a low priority
  4906. event for the repaint worker.
  4907. (addDirtyRegion): Use new internal invokeLater() for sending
  4908. a low priority event.
  4909. (addInvalidComponent): Use new internal invokeLater() for sending
  4910. a low priority event.
  4911. (commitBuffer): Added some null checks.
  4912. (invokeLater): New helper method. Sends a low priority
  4913. repaint worker event on the event queue.
  4914. 2006-09-27 Roman Kennke <kennke@aicas.com>
  4915. PR 29036
  4916. PR 29161
  4917. * javax/swing/plaf/basic/BasicButtonUI.java
  4918. (cachedInsets): New field.
  4919. (installListeners): Fire synthetic property change to initialize
  4920. TEXT_LAYOUT_CACHE for the button because the font has been
  4921. installed before.
  4922. (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
  4923. (paint): Use cached insets.
  4924. (paintText): Let new method forward to old one, not vice versa.
  4925. * javax/swing/plaf/basic/BasicMenuItemUI.java
  4926. (defaultAcceleratorLabelGap): Removed unused field.
  4927. (MenuGap): Removed unused field.
  4928. (propertyChangeListener): Made private.
  4929. (getAcceleratorRect): Removed unused method.
  4930. (getAcceleratorText): Removed unused method.
  4931. (getPath): Removed unnecessary cast.
  4932. (installListeners): Fire synthetic property change to initialize
  4933. TEXT_LAYOUT_CACHE for the button because the font has been
  4934. installed before.
  4935. (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
  4936. (layoutMenuItem): Removed unused statements.
  4937. 2006-09-27 Roman Kennke <kennke@aicas.com>
  4938. PR 29218
  4939. * javax/swing/tree/DefaultTreeModel.java
  4940. (isLeaf): Check if the node allows children when
  4941. asksAllowsChildren is true, otherwise fall back
  4942. to return the node's leaf property.
  4943. 2006-09-27 Mario Torre <neugens@limasoftware.net>
  4944. * scripts/check_jni_methods.sh: removed methods from the
  4945. ignore list:
  4946. Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class
  4947. Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache
  4948. Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class
  4949. Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
  4950. Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
  4951. * native/jni/gconf-peer/GConfNativePeer.c: fixed coding style
  4952. to better follow the GNU style.
  4953. * include/gnu_java_util_prefs_gconf_GConfNativePeer.h.
  4954. regenerated header file for GConfNativePeer.
  4955. 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
  4956. * INSTALL: Added information about grmic being built when ASM
  4957. is available, added information about gconf dependency, indented
  4958. Qt4 dependency section.
  4959. * configure.ac: Added information about grmic being built when ASM
  4960. is available.
  4961. 2006-09-27 Ian Rogers <ian.rogers@manchester.ac.uk>
  4962. * native/jni/classpath/jcl.c (JNI_OnLoad): Don't call
  4963. DeleteGlobalRef on a local ref.
  4964. 2006-09-24 Mario Torre <neugens@limasoftware.net>
  4965. * scripts/check_jni_methods.sh: added two new methods in the
  4966. ignore list:
  4967. Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
  4968. and
  4969. Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
  4970. * native/jni/gconf-peer/GConfNativePeer.c:
  4971. (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1keys):
  4972. refacored method name, renamed from
  4973. Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys.
  4974. Added code to unescape escaped GConf key names.
  4975. (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1nodes):
  4976. refacored method name, renamed from
  4977. Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes.
  4978. Added code to unescape escaped GConf key names.
  4979. (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key):
  4980. new function.
  4981. (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key):
  4982. new function.
  4983. * gnu/java/util/prefs/gconf/GConfNativePeer.java: removed
  4984. version javadoc tag.
  4985. (escapeString): new method.
  4986. (unescapeString): likewise.
  4987. (gconf_escape_key): new native method.
  4988. (gconf_unescape_key): likewise.
  4989. (gconf_client_suggest_sync): update native method signature, now
  4990. explicity throws BackingStoreException.
  4991. (gconf_client_all_nodes): update native method signature, now
  4992. explicity throws BackingStoreException. Refactored method name,
  4993. renamed from gconf_client_gconf_client_all_nodes.
  4994. (gconf_client_all_keys): update native method signature, now
  4995. explicity throws BackingStoreException. Refactored method name,
  4996. renamed from gconf_client_gconf_client_all_keys.
  4997. (getKeys): refactored to use the new method name
  4998. gconf_client_all_keys.
  4999. (getChildrenNodes): refactored to use the new method name
  5000. gconf_client_all_nodes.
  5001. * gnu/java/util/prefs/GConfBasedPreferences.java: removed
  5002. version javadoc tag.
  5003. (GConfBasedPreferences): Added code to escape node names from
  5004. invalid characters so that GConf now accept invalid node names.
  5005. (GConfBasedPreferences): Moved code to register the current
  5006. node to the list of nodes watched by GConf outside the constructor.
  5007. (childSpi): Added code to register the current node to the
  5008. list of nodes watched by GConf.
  5009. (getGConfKey): Added code to escape key names from
  5010. invalid characters so that GConf now accept invalid key names.
  5011. 2006-09-26 Tom Tromey <tromey@redhat.com>
  5012. * tools/gnu/classpath/tools/javah/Printer.java (Printer): Don't
  5013. call mkdirs in output-directory case.
  5014. (getPrintStream): Create output directory.
  5015. * tools/gnu/classpath/tools/javah/Main.java (makeOutputDirectory):
  5016. Don't call mkdirs.
  5017. 2006-09-27 Raif S. Naffah <raif@swiftdsl.com.au>
  5018. * tools/gnu/classpath/tools/javah/CniIncludePrinter.java (CniIncludePrinter):
  5019. Accept three additional arguments.
  5020. (writePreambleImpl): New method.
  5021. (getPrintStreamImpl): Likewise.
  5022. (printClass): Adapted to use new methods in Printer superclass.
  5023. * tools/gnu/classpath/tools/javah/CniStubPrinter.java: Likewise.
  5024. * tools/gnu/classpath/tools/javah/JniIncludePrinter.java: Likewise.
  5025. * tools/gnu/classpath/tools/javah/JniStubPrinter.java: Likewise.
  5026. * tools/gnu/classpath/tools/javah/Main.java (outFileName): New field.
  5027. (force): Likewise.
  5028. (getParser): Add support for -o option.
  5029. Check that only one of -d or -o is defined.
  5030. Add support for -jni option.
  5031. Add support for -force option.
  5032. (makeOutputFile): New method.
  5033. (writeHeaders): Removed File argument from signature.
  5034. (run): Take into account newly added fields.
  5035. Invoke concrete PrintStream implementations with augmented constructors.
  5036. * tools/gnu/classpath/tools/javah/Printer.java (outputFileObject): New field.
  5037. (isDirectory): Likewise.
  5038. (force): Likewise.
  5039. (wrotePreamble): Likewise.
  5040. (Printer): Changed ctor to accept three additional arguments.
  5041. (printClass): Changed signature to accept one ClassWrapper argument.
  5042. (writePreambleImpl): New abstract method.
  5043. (getPrintStreamImpl): Likewise.
  5044. (getPrintStream): New method.
  5045. (writePreamble): Likewise.
  5046. 2006-09-26 Tania Bento <tbento@redhat.com>
  5047. * java/awt/GridLayout.java
  5048. (toString): There is no common before hgap.
  5049. * java/awt/Rectangle.java
  5050. (Rectangle(Rectangle)): Throw NPE if Rectangle is null.
  5051. (Rectangle(Point, Rectangle)): Throw NPE if either Point or
  5052. Rectangle is null.
  5053. (Rectangle(Point)): Throw NPE if Point is null.
  5054. (Rectangle(Dimension)): Throw NPE if Dimension is null.
  5055. 2006-09-26 David Gilbert <david.gilbert@object-refinery.com>
  5056. * javax/swing/plaf/metal/MetalIconFactory.java
  5057. (FileIcon16.paintIcon): Apply vertical shift by the number of pixels
  5058. returned by getShift(),
  5059. (FileIcon16.getShift): Updated API docs,
  5060. (FolderIcon16.paintIcon): Apply vertical shift by the number of pixels
  5061. returned by getShift(),
  5062. (FolderIcon16.getShift): Updated API docs,
  5063. (TreeFolderIcon.getShift): Likewise,
  5064. (TreeLeafIcon.getShift): Likewise.
  5065. 2006-09-26 David Gilbert <david.gilbert@object-refinery.com>
  5066. * javax/swing/plaf/metal/MetalIconFactory.java
  5067. (FileIcon16.paintIcon): Fetch colors from look and feel,
  5068. (FolderIcon16.paintIcon): Likewise.
  5069. 2006-09-25 Casey Marshall <csm@gnu.org>
  5070. * gnu/java/nio/FileChannelImpl.java (read): revert back to using
  5071. `readScattering.'
  5072. (write): revert back to using `writeGathering.'
  5073. * vm/reference/gnu/java/nio/VMChannel.java (writeGathering): find
  5074. the first buffer that has data remaining, and start at that one.
  5075. 2006-09-25 Tom Tromey <tromey@redhat.com>
  5076. * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LDFLAGS): New
  5077. variable.
  5078. 2006-09-25 Tom Tromey <tromey@redhat.com>
  5079. * tools/.cvsignore: Updated.
  5080. 2006-09-25 Tom Tromey <tromey@redhat.com>
  5081. PR libgcj/29178:
  5082. * gnu/java/nio/charset/US_ASCII.java (Encoder.canEncode): New method.
  5083. (Encoder.canEncode): Likewise.
  5084. (Encoder.encodeLoop): Return unmappable for all non-ASCII characters.
  5085. * gnu/java/nio/charset/ByteCharset.java (Encoder.canEncode): New
  5086. method.
  5087. (Encoder.canEncode): Likewise.
  5088. * gnu/java/nio/charset/ISO_8859_1.java (Encoder.canEncode): New
  5089. method.
  5090. (Encoder.canEncode): Likewise.
  5091. 2006-09-25 Tom Tromey <tromey@redhat.com>
  5092. * native/fdlibm/mprec.c (mprec_calloc): Renamed.
  5093. (Balloc): Updated.
  5094. 2006-09-25 Francis Kung <fkung@redhat.com>
  5095. * java/awt/image/ColorModel.java
  5096. (coerceData): Made abstract.
  5097. (coerceDataWorker): New protected method.
  5098. * java/awt/image/ComponentColorModel.java
  5099. (coerceData): Return new instance of proper ColorModel.
  5100. * java/awt/image/DirectColorModel.java
  5101. (coerceData): Return new instance of proper ColorModel.
  5102. * java/awt/image/IndexColorModel.java
  5103. (coerceData): New method.
  5104. 2006-09-24 Casey Marshall <csm@gnu.org>
  5105. * gnu/java/nio/FileChannelImpl.java
  5106. (read): call `read' in a loop, don't use `readScattering.'
  5107. (write): call `write' in a loop, don't use `writeGathering.'
  5108. 2006-09-24 Mark Wielaard <mark@klomp.org>
  5109. * configure.ac: Move -pedantic from WARNING to STRICT flags.
  5110. 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
  5111. * java/nio/channels/spi/AbstractSelectableChannel.java
  5112. (register): Set interestOps and attachment when the key already
  5113. exists.
  5114. 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
  5115. * java/net/ServerSocket.java
  5116. (bind(SocketAddress,int)): Added support for null address.
  5117. Throw proper exception if already bound.
  5118. Handle unresolved addresses correctly. Ignore exceptions that
  5119. happen during close in error path (to prevent losing the original
  5120. exception.)
  5121. 2006-09-24 Mark Wielaard <mark@klomp.org>
  5122. Suggested by Aaron M. Ucko <ucko@debian.org>
  5123. Fixes bug #29203
  5124. * native/fdlibm/mprec.c (ulp): Define L as int32_t.
  5125. 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
  5126. * java/nio/channels/spi/AbstractSelectableChannel.java
  5127. (implCloseChannel): Cancel all keys after closing the channel.
  5128. 2006-09-22 Casey Marshall <csm@gnu.org>
  5129. * gnu/java/nio/EpollSelectorImpl.java (doSelect): remove keys
  5130. after we delete them.
  5131. (selectedKeys): return an empty set if nothing's been selected.
  5132. * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
  5133. (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): don't
  5134. throw an exception on EBADF.
  5135. (Java_gnu_java_nio_EpollSelectorImpl_epoll_1wait): don't
  5136. throw exception on EINTR, just return 0.
  5137. 2006-09-22 Casey Marshall <csm@gnu.org>
  5138. * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
  5139. remove `const' from `filename.'
  5140. * native/jni/native-lib/cpio.c (cpio_readDir): remove `const' from
  5141. `filename.'
  5142. * native/jni/native-lib/cpio.h (cpio_readDir): likewise.
  5143. 2006-09-22 Casey Marshall <csm@gnu.org>
  5144. * configure.ac (AC_CHECK_FUNCS): check for `readdir_r.'
  5145. * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
  5146. allocate `filename,' and handle changes to `cpio_readDir.'
  5147. * native/jni/native-lib/cpio.c (cpio_readDir): use `readdir_r' if
  5148. available; copy the filename into the destination buffer; return
  5149. an error code if readdir returns NULL, but errno is 0.
  5150. * native/jni/native-lib/cpio.h (cpio_readDir): change second
  5151. parameter to `const char *.'
  5152. 2006-09-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
  5153. * javax/management/ObjectName.java:
  5154. Implemented.
  5155. 2006-09-22 Thomas Fitzsimmons <fitzsim@redhat.com>
  5156. * resource/gnu/classpath/tools/orbd: New directory.
  5157. * resource/gnu/classpath/tools/rmic: Likewise.
  5158. * resource/gnu/classpath/tools/rmid: Likewise.
  5159. * resource/gnu/classpath/tools/rmiregistry: Likewise.
  5160. * resource/gnu/classpath/tools/tnameserv: Likewise.
  5161. * tools/gnu/classpath/tools/giop: Move contents to...
  5162. * tools/gnu/classpath/tools/orbd,
  5163. tools/gnu/classpath/tools/tnameserv: New directories.
  5164. * tools/gnu/classpath/tools/rmi/rmic: Move contents to...
  5165. * tools/gnu/classpath/tools/rmic: New directory.
  5166. * tools/gnu/classpath/tools/rmi/rmid: Move contents to...
  5167. * tools/gnu/classpath/tools/rmid: New directory.
  5168. * tools/gnu/classpath/tools/rmi/registry: Move contents to...
  5169. * tools/gnu/classpath/tools/rmiregistry: New directory.
  5170. * resource/gnu/classpath/tools/orbd/messages.properties: New file.
  5171. * resource/gnu/classpath/tools/rmic/messages.properties: Likewise.
  5172. * resource/gnu/classpath/tools/rmid/messages.properties: Likewise.
  5173. * resource/gnu/classpath/tools/rmiregistry/messages.properties:
  5174. Likewise.
  5175. * resource/gnu/classpath/tools/tnameserv/messages.properties:
  5176. Likewise.
  5177. * tools/gnu/classpath/tools/orbd/Main.java,
  5178. tools/gnu/classpath/tools/orbd/Messages.java,
  5179. tools/gnu/classpath/tools/orbd/PersistentContext.java,
  5180. tools/gnu/classpath/tools/orbd/PersistentContextMap.java,
  5181. tools/gnu/classpath/tools/orbd/PersistentMap.java,
  5182. tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java,
  5183. tools/gnu/classpath/tools/rmic/CompilationError.java,
  5184. tools/gnu/classpath/tools/rmic/Generator.java,
  5185. tools/gnu/classpath/tools/rmic/GiopIo.java,
  5186. tools/gnu/classpath/tools/rmic/HashFinder.java,
  5187. tools/gnu/classpath/tools/rmic/Main.java,
  5188. tools/gnu/classpath/tools/rmic/Messages.java,
  5189. tools/gnu/classpath/tools/rmic/MethodGenerator.java,
  5190. tools/gnu/classpath/tools/rmic/RMICException.java,
  5191. tools/gnu/classpath/tools/rmic/RmiMethodGenerator.java,
  5192. tools/gnu/classpath/tools/rmic/RmicBackend.java,
  5193. tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java,
  5194. tools/gnu/classpath/tools/rmic/SourceRmicCompiler.java,
  5195. tools/gnu/classpath/tools/rmic/Variables.java,
  5196. tools/gnu/classpath/tools/rmic/WrapUnWrapper.java,
  5197. tools/gnu/classpath/tools/rmic/templates,
  5198. tools/gnu/classpath/tools/rmid/ActivationSystemImpl.java,
  5199. tools/gnu/classpath/tools/rmid/ActivationSystemImpl_Stub.java,
  5200. tools/gnu/classpath/tools/rmid/Main.java,
  5201. tools/gnu/classpath/tools/rmid/Messages.java,
  5202. tools/gnu/classpath/tools/rmid/PersistentBidiHashTable.java,
  5203. tools/gnu/classpath/tools/rmiregistry/Main.java,
  5204. tools/gnu/classpath/tools/rmiregistry/Messages.java,
  5205. tools/gnu/classpath/tools/rmiregistry/PersistentHashTable.java,
  5206. tools/gnu/classpath/tools/rmiregistry/RegistryImpl.java,
  5207. tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Skel.java,
  5208. tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Stub.java,
  5209. tools/gnu/classpath/tools/tnameserv/Main.java,
  5210. tools/gnu/classpath/tools/tnameserv/Messages.java: New files.
  5211. * tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java: Import
  5212. RMIC.java from cp-tools.
  5213. * configure.ac (AC_CONFIG_FILES): Add tools/grmiregistry,
  5214. tools/gtnameserv, tools/gorbd, tools/grmid and tools/grmic.
  5215. (AC_CONFIG_COMMANDS): Add grmiregistry, gtnameserv, gorbd, grmid
  5216. and grmic.
  5217. * examples/Makefile.am (GLIBJ_CLASSPATH): Add tools.zip.
  5218. * gnu/CORBA/NamingService/NamingServiceTransient.java (main):
  5219. Rename...
  5220. (start): New method.
  5221. * tools/Makefile.am: Add build support for new tool wrappers.
  5222. * tools/gorbd.in: New file.
  5223. * tools/grmic.in: Likewise.
  5224. * tools/grmid.in: Likewise.
  5225. * tools/grmiregistry.in: Likewise.
  5226. * tools/gtnameserv.in: Likewise.
  5227. * tools/gnu/classpath/tools/AbstractMethodGenerator.java: Move to...
  5228. * tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java: New
  5229. file.
  5230. * tools/gnu/classpath/tools/HelpPrinter.java: Remove file.
  5231. * tools/gnu/classpath/tools/rmi/Persistent.java: Move to...
  5232. * tools/gnu/classpath/tools/common/Persistent.java: New file.
  5233. 2006-09-22 Ito Kazumitsu <kaz@maczuka.gcd.org>
  5234. Fixes bug #29047
  5235. * gnu/java/util/regex/RETokenRepeated.java
  5236. (findMatch): Rewriten without using recursive calls,
  5237. (FindMatchControlStack): New class,
  5238. (FindMatchControl): New class,
  5239. (TryAnotherResult): New class,
  5240. (tryAnother): New method.
  5241. 2006-09-22 Gary Benson <gbenson@redhat.com>
  5242. * java/net/SocketPermission.java
  5243. (processHostport): Cope with IPv6 addresses with a
  5244. one-digit first component.
  5245. 2006-09-22 Roman Kennke <kennke@aicas.com>
  5246. * java/awt/Component.java
  5247. (enableEvents): Set newEventsOnly flag.
  5248. * java/awt/Container.java
  5249. (dispatchEventImpl): Consume event if lightweight dispatcher
  5250. dispatched the event. Don't call processEvent() here, this
  5251. is already done in Component.dispatchEventImpl(). For
  5252. heavyweights or when the lightweight dispatcher could
  5253. not dispatch, fall back to calling super.
  5254. (dispatchNoLightweight): New helper method to avoid
  5255. recursivly calling the lightweight dispatcher.
  5256. * java/awt/LightweightDispatcher.java
  5257. (dragButton): Removed field.
  5258. (dragTarget): Removed field.
  5259. (mouseEventTarget): New field.
  5260. (convertPointToChild): Removed method.
  5261. (dispatchEvent): Don't depend on component beeing
  5262. a window.
  5263. (findTarget): Improved algorithm for finding a target.
  5264. Before we went down to the deepest component and went
  5265. up again to find a suitable target. Now we go
  5266. down only once, without going up.
  5267. (handleMouseEvent): Broke method down into some smaller
  5268. helper methods.
  5269. (isDragging): New helper method.
  5270. (isMouseListening): New helper method.
  5271. (redispatch): New helper method.
  5272. (trackEnterExit): New helper method.
  5273. 2006-09-22 David Gilbert <david.gilbert@object-refinery.com>
  5274. * javax/swing/SizeSequence.java
  5275. (getSize): Return 0 if index is out of bounds.
  5276. 2006-09-21 Tom Tromey <tromey@redhat.com>
  5277. * tools/gnu/classpath/tools/javah/PathOptionGroup.java
  5278. (PathOptionGroup): Make -I a joined option.
  5279. * tools/gnu/classpath/tools/keytool/CACertCmd.java: Updated.
  5280. * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Updated.
  5281. * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Updated.
  5282. * tools/gnu/classpath/tools/keytool/ExportCmd.java: Updated.
  5283. * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Updated.
  5284. * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Updated.
  5285. * tools/gnu/classpath/tools/keytool/ImportCmd.java: Updated.
  5286. * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Updated.
  5287. * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Updated.
  5288. * tools/gnu/classpath/tools/keytool/ListCmd.java: Updated.
  5289. * tools/gnu/classpath/tools/keytool/MainCmd.java: Updated.
  5290. * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Updated.
  5291. * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Updated.
  5292. * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Updated.
  5293. * tools/gnu/classpath/tools/appletviewer/Main.java: Updated.
  5294. * tools/gnu/classpath/tools/jar/Main.java: Updated.
  5295. * tools/gnu/classpath/tools/jarsigner/Main.java: Updated.
  5296. * tools/gnu/classpath/tools/javah/Main.java: Updated.
  5297. * tools/gnu/classpath/tools/native2ascii/Main.java: Updated.
  5298. * tools/gnu/classpath/tools/serialver/SerialVer.java: Updated.
  5299. * resource/gnu/classpath/tools/getopt/Messages.properties: Removed
  5300. unused entries.
  5301. * resource/gnu/classpath/tools/common/Messages.properties: New file.
  5302. * tools/gnu/classpath/tools/common/Messages.java: New file.
  5303. * tools/gnu/classpath/tools/getopt/Messages.java: Now package-private.
  5304. * tools/gnu/classpath/tools/common/ClasspathToolParser.java: Moved
  5305. from getopt.
  5306. (ClasspathToolParser): Add -J option here.
  5307. (ClasspathToolParser): Call other constructor in this class.
  5308. * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
  5309. Handle joined options.
  5310. (handleShortOptions): Likewise.
  5311. (handleShortOption): Removed.
  5312. (finalGroup): New field.
  5313. (Parser): Initialize new field. Don't add -J option.
  5314. (addFinal): New method.
  5315. * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Use
  5316. isJoined.
  5317. * tools/gnu/classpath/tools/getopt/Option.java (isJoined): New method.
  5318. (Option): Check short option for validity.
  5319. (Option): New constructors.
  5320. (joined): New field.
  5321. 2006-09-21 csm <csm@pollux.local>
  5322. * gnu/java/net/PlainDatagramSocketImpl.java (send): ignore
  5323. `InterruptedIOException;' try again if it gets thrown.
  5324. (receive): likewise, but re-throw `SocketTimeoutException.'
  5325. * gnu/java/nio/EpollSelectorImpl.java (doSelect): just return 0
  5326. if we have nothing to select.
  5327. 2006-09-21 Francis Kung <fkung@redhat.com>
  5328. * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
  5329. (getLogicalBounds): Respect glyph transformations.
  5330. (getGlyphOutline): Added null pointer check.
  5331. (getGlyphTransform): Do not generate identity transform (API permits null).
  5332. (setGlyphPosition): Do not invalidate transform.
  5333. (setGlyphTransform): Do not modify glyph position.
  5334. 2006-09-21 Francis Kung <fkung@redhat.com>
  5335. * java/awt/image/ColorModel.java (coerceData): Set alpha premultiplied flag.
  5336. 2006-09-21 Francis Kung <fkung@redhat.com>
  5337. * java/awt/image/ColorModel.java (coerceData): Return proper colour model.
  5338. * java/awt/image/ComponentColorModel.java (coerceData): Likewise.
  5339. * java/awt/image/DirectColorModel.java (coerceData): Likewise.
  5340. 2006-09-21 Tania Bento <tbento@redhat.com>
  5341. * javax/swing/JTabbedPane.java:
  5342. (insertTab): Notify ChangeListeners if the tab inserted is selected.
  5343. (setModel): A ChangeListener should be created only if there does not
  5344. currently exist one.
  5345. 2006-09-21 David Gilbert <david.gilbert@object-refinery.com>
  5346. * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
  5347. (MaximizeAction.actionPerformed): Change icon on maxButton.
  5348. 2006-09-21 Roman Kennke <kennke@aicas.com>
  5349. * javax/swing/plaf/basic/BasicScrollPaneUI.java
  5350. (syncScrollPaneWithViewport): Fixed typo (hsb vs. vsb).
  5351. Use more efficient getViewPosition() and getViewSize() methods
  5352. to avoid creating a rectangle.
  5353. (HSBChangeListener.stateChanged): Update the view position
  5354. unconditionally. Let the Viewport figure out if something
  5355. changed.
  5356. (VSBChangeListener.stateChanged): Update the view position
  5357. unconditionally. Let the Viewport figure out if something
  5358. changed.
  5359. * javax/swing/JViewport.java
  5360. (ViewListener.componentResized): Fire state change, because
  5361. the extentSize changes.
  5362. (extentSize): Removed unneeded field.
  5363. (viewSize): Removed unneeded field.
  5364. (getExtentSize): Return the viewport's size here.
  5365. (getViewRect): Reformatted.
  5366. (getViewSize): Reordered for only one return statement.
  5367. (paintImmediately2): Fixed up javadoc.
  5368. (paint): Removed unneeded statement.
  5369. (setExtentSize): Set viewport size and check for actual change
  5370. of value.
  5371. (setViewPosition): Simplified condition. Set scrollUnderway
  5372. true and don't set isViewSizeSet. Avoid creating one Point
  5373. object.
  5374. (setViewSize): Fixed != comparison with equals(). Set scrollUnderway
  5375. to false.
  5376. * javax/swing/JScrollBar.java
  5377. (ScrollBarListener): New class. Forwards change events from
  5378. the model as adjustment events.
  5379. (sbChangeListener): New field.
  5380. (JScrollBar): Install listener on new model.
  5381. (fireAdjustmentValueChanged(int,int,int)): Delegate to new helper
  5382. method.
  5383. (fireAdjustmentValueChanged(int,int,int,boolean)): New helper
  5384. method to allow custom isAdjusting value.
  5385. (setMaximum): Only forward to model.
  5386. (setMinimum): Only forward to model.
  5387. (setValue): Only forward to model.
  5388. (setVisibleAmount): Only forward to model.
  5389. (setValues): Only forward to model.
  5390. (setModel): Update the change listener.
  5391. 2006-09-20 Christian Thalinger <twisti@complang.tuwien.ac.at>
  5392. * java/util/Formatter.java (basicIntegralConversion): Removed
  5393. check for ZERO && !LEFT_JUSTIFY.
  5394. 2006-09-20 Roman Kennke <kennke@aicas.com>
  5395. PR 29036
  5396. * javax/swing/plaf/metal/DefaultMetalTheme.java
  5397. (PLAIN_CONTROL_TEXT_FONT): New constant field.
  5398. (BOLD_CONTROL_TEXT_FONT): New constant field.
  5399. (PLAIN_MENU_TEXT_FONT): New constant field.
  5400. (BOLD_MENU_TEXT_FONT): New constant field.
  5401. (controlTextFont): Removed.
  5402. (menuTextFont): Removed.
  5403. (CONTROL_TEXT_FONT): New constant field.
  5404. (MENU_TEXT_FONT): New constant field.
  5405. (getControlTextFont): Use getFont() helper method for fetching
  5406. the correct font.
  5407. (getMenuTextFont): Use getFont() helper method for fetching
  5408. the correct font.
  5409. (getFont): New helper method.
  5410. (isBoldMetal): New helper method.
  5411. 2006-09-20 Casey Marshall <csm@gnu.org>
  5412. * NEWS: mention epoll selector along with the kqueue one.
  5413. 2006-09-20 Casey Marshall <csm@gnu.org>
  5414. * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
  5415. (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): ignore ENOENT.
  5416. 2006-09-20 Francis Kung <fkung@redhat.com>
  5417. PR 29011
  5418. * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
  5419. (getGlyphTransform): Use translation instead of scale.
  5420. (performDefaultLayout): Increment position values instead of resetting, and
  5421. pre-increment instead of post-increment.
  5422. (setGlyphTransform): Handle null case with identity transform.
  5423. 2006-09-20 Casey Marshall <csm@gnu.org>
  5424. * configure.ac (AC_CHECK_HEADERS): check for `sys/epoll.h.'
  5425. (AC_CHECK_FUNCS): check for `epoll_create.'
  5426. * gnu/java/nio/EpollSelectionKeyImpl.java: new file.
  5427. * gnu/java/nio/EpollSelectorImpl.java: new file.
  5428. * gnu/java/nio/SelectorProviderImpl.java (epoll_failed): new class
  5429. field.
  5430. (openSelector): return epoll selector if requested and available.
  5431. * include/Makefile.am (H_FILES): add gnu_java_nio_EpollSelectorImpl.h.
  5432. (gnu_java_nio_EpollSelectorImpl.h): new target.
  5433. * include/gnu_java_nio_EpollSelectorImpl.h: new file.
  5434. * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): add
  5435. gnu_java_nio_EpollSelectorImpl.c.
  5436. * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c: new file.
  5437. 2006-09-20 Casey Marshall <csm@gnu.org>
  5438. * gnu/java/nio/SocketChannelImpl.java (finishConnect): don't
  5439. call `isConnected.'
  5440. (isConnected): return false if `connectionPending' is true.
  5441. 2006-09-20 Francis Kung <fkung@redhat.com>
  5442. PR 29011
  5443. * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
  5444. (constructor): Expanded glyphPositions array to accomodate Y-coordinates.
  5445. (getGlyphOutline): Call getGylphTransform to generate transform.
  5446. (getGylphPosition): Read position directly out of array.
  5447. (getGlyphPositions): Read positions directly out of array.
  5448. (getGlyphTransform): Generate transform based on gylphPositions array.
  5449. (performDefaultLayout): Populate glyphPositions array instead of transforms.
  5450. (setGlyphPosition): Set position directly into array.
  5451. (setGlyphTransform): Update positions array as well.
  5452. 2006-09-20 David Daney <ddaney@avtrex.com>
  5453. PR classpath/28661
  5454. * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Add
  5455. default content-type for POST method.
  5456. 2006-09-20 David Gilbert <david.gilbert@object-refinery.com>
  5457. * javax/swing/plaf/basic/BasicRadioButtonUI.java
  5458. (BasicRadioButtonUI): Don't fetch icon here,
  5459. (installDefaults): Initialise icon here,
  5460. (getDefaultIcon): Just return icon.
  5461. 2006-09-20 Mark Wielaard <mark@klomp.org>
  5462. * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
  5463. Add gnu_java_nio_channels_FileChannelImpl.c and javanio.h.
  5464. (EXTRA_DIST): Include javanio.c.
  5465. 2006-09-20 David Gilbert <david.gilbert@object-refinery.com>
  5466. * java/awt/geom/RoundRectangle2D.java:
  5467. (getPathIterator): Reimplemented,
  5468. and updated various API doc comments.
  5469. 2006-09-20 Roman Kennke <kennke@aicas.com>
  5470. * java/awt/Container.java
  5471. (addImpl): Set the new component's parent after it has been
  5472. added to the array. Call addNotify() and invalidate()
  5473. after the component has been added, so that the peer
  5474. gets to know about the component structure when it is created.
  5475. * java/awt/Window.java
  5476. (dispatchEventImpl): Only revalidate when window is resized,
  5477. let the other stuff be processed by the superclass.
  5478. (dispose): Post WINDOW_CLOSED event only when some listener
  5479. is registered or event is explicitly enabled.
  5480. (show): Post WINDOW_OPENED event when appropriate.
  5481. 2006-09-20 Roman Kennke <kennke@aicas.com>
  5482. * java/awt/Component.java
  5483. (addNotify): Invalidate here. Fetch peer font.
  5484. (getFont): Delegate to helper method, to protect from
  5485. overriding client code. Lock the tree while fetching the font.
  5486. (getFontImpl): New helper method. Moved code from getFont() in
  5487. here.
  5488. (removeNotify): Nullify peerFont too.
  5489. (setFont): Synchronize on tree and component to avoid threading
  5490. issues. Update the peerFont correctly.
  5491. (validate): Update the peer font if necessary, before validating.
  5492. (getGraphics): Revert to recursive graphics fetching.
  5493. Set component font on the Graphics object.
  5494. (translateEvent): Removed unnecessary cast.
  5495. * java/awt/Container.java
  5496. (invalidateTree): Made final and private. Made implementation
  5497. slightly more efficient.
  5498. (setFont): Get old and new font via getFont() to account for
  5499. the real font, and only invalidate the tree when they are not
  5500. the same and not equal.
  5501. (visitChild): Set the font of the child on the component graphics.
  5502. * java/awt/Frame.java
  5503. (setMenuBar): Create local reference of peer for thread safety.
  5504. Only call simple invalidate, not invalidateTree().
  5505. 2006-09-19 Cameron McCormack <cam@mcc.id.au>
  5506. PR 29012
  5507. * gnu/java/awt/peer/gtk/BufferedImageGraphics.java:
  5508. (constructor): Copy image field.
  5509. 2006-09-19 David Gilbert <david.gilbert@object-refinery.com>
  5510. * javax/swing/JMenuBar.java
  5511. (getHelpMenu): Implemented to throw an Error, and added API docs,
  5512. (getMargin): Added API docs,
  5513. (setMargin): Likewise.
  5514. 2006-09-19 David Gilbert <david.gilbert@object-refinery.com>
  5515. * javax/swing/AbstractButton.java
  5516. (AbstractButton): Don't call updateUI(),
  5517. * javax/swing/JButton.java
  5518. (JButton(String, Icon)): Call setModel() before init(),
  5519. * javax/swing/JMenuItem.java
  5520. (JMenuItem()): Delegate to another constructor,
  5521. (JMenuItem(Icon)): Likewise,
  5522. (JMenuItem(Action)): Set model,
  5523. (JMenuItem(String, Icon)): Likewise,
  5524. * javax/swing/JToggleButton.java
  5525. (init): Call setModel() before init().
  5526. 2006-09-19 Mark Wielaard <mark@klomp.org>
  5527. Fixes bug #29137
  5528. * java/util/logging/LogManager.java (addLogger): Always check for
  5529. existing children of a new Logger.
  5530. 2006-09-19 Roman Kennke <kennke@aicas.com>
  5531. * javax/swing/plaf/basic/BasicScrollPaneUI.java
  5532. (HSBChangeListener.stateChanged): Moved handling of header to
  5533. syncScrollPaneWithViewport().
  5534. (VSBChangeListener.stateChanged): Moved handling of header to
  5535. syncScrollPaneWithViewport().
  5536. (ViewportChangedHandler.stateChanged): Removed unused statements.
  5537. (syncScrollPaneWithViewport): Added null checks. Use setValues
  5538. rather then the single setter methods to avoid multiple
  5539. adjustments and side effects. Also snyc the headers here.
  5540. (updateScrollBarDisplayPolicy): Revalidate and repaint here.
  5541. (uninstallUI): Removed unnecessary cast and this qualifier as well
  5542. as the call to super.
  5543. 2006-09-19 Gary Benson <gbenson@redhat.com>
  5544. * java/net/ResolverCache.java: New class (a DNS cache).
  5545. * java/net/InetAddress.java
  5546. (internalGetCanonicalHostName, getAllByName): Use the above.
  5547. 2006-09-19 Jeroen Frijters <jeroen@frijters.net>
  5548. * gnu/java/nio/SocketChannelImpl.java: Removed unused import.
  5549. * java/net/ServerSocket.java
  5550. (port): New field.
  5551. (bind): Set port field.
  5552. (close): Set impl to null.
  5553. (isClosed): Check impl and channel instead of using VMChannel.
  5554. (toString): Use port field and getLocalPort() method.
  5555. * java/net/Socket.java
  5556. (isClosed): Check impl and channel instead of using VMChannel.
  5557. 2006-09-18 Tom Tromey <tromey@redhat.com>
  5558. * java/util/concurrent/CopyOnWriteArrayList.java
  5559. (CopyOnWriteArrayList): New constructor.
  5560. 2006-09-18 Casey Marshall <csm@gnu.org>
  5561. * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
  5562. (Java_gnu_java_net_VMPlainSocketImpl_listen): remove debug printf.
  5563. 2006-09-18 Tom Tromey <tromey@redhat.com>
  5564. * gnu/javax/net/ssl/provider/SSLSocket.java (isBound, isClosed,
  5565. isConnected): Removed old comment.
  5566. (getRemoteSocketAddress): Uncommented.
  5567. (setOOBInline, getOOBInline, setKeepAlive, getKeepAlive,
  5568. setTrafficClass, getTrafficClass, setReuseAddress,
  5569. getReuseAddress, shutdownInput, shutdownOutput, isInputShutdown,
  5570. isOutputShutdown): Uncommented.
  5571. 2006-09-18 David Pirkle <dpirkle@symyx.com>
  5572. Fixes PR 28589
  5573. * gnu/xml/transform/XSLURIResolver.java: Test SAXSource for specific
  5574. input stream during resolution.
  5575. 2006-09-18 Roman Kennke <kennke@aicas.com>
  5576. * java/awt/LightweightDispatcher.java
  5577. (findTarget): Correctly translate child coordinates.
  5578. Use Component.eventTypeEnabled() for checking if a component
  5579. has a certain event enabled.
  5580. (handleMouseEvent): Find the correct mouse event target.
  5581. Use Component.eventTypeEnabled() for checking if a component
  5582. has a certain event enabled.
  5583. 2006-09-18 Roman Kennke <kennke@aicas.com>
  5584. * java/awt/Component.java
  5585. (show): Test for the peer beeing lightweight directly.
  5586. (paintAll): Validate before painting. Don't paint when not
  5587. showing. Call peer.paint() when the component is heavyweight.
  5588. (repaint): Delegate to the parent when lightweight, rather
  5589. than skipping to the nearest heavyweight.
  5590. (createImage): Added null check to prevent NPE.
  5591. (dispatchEvent): Moved old event dispatching and toolkit
  5592. event dispatching to dispatchEventImpl.
  5593. (addComponentListener): Don't enable event. Only add listener
  5594. when not null. Switch to new event dispatching only.
  5595. (addFocusListener): Likewise.
  5596. (addHierarchyListener): Likewise.
  5597. (addHierarchyBoundsListener): Likewise.
  5598. (addKeyListener): Likewise.
  5599. (addMouseListener): Likewise.
  5600. (addMouseMotionListener): Likewise.
  5601. (addMouseWheelListener): Likewise.
  5602. (addInputMethodListener): Likewise.
  5603. (coalesceEvents): For mouse events coalesce them only when
  5604. their modifiers are equal. For paint events coalesce the events
  5605. when one contains the other, without going through complicated
  5606. heuristics.
  5607. (dispatchEventImpl): Moved old event dispatching and toolkit
  5608. event dispatching to dispatchEventImpl.
  5609. (coalescePaintEvents): Removed.
  5610. (HeavyweightInLightweightListener.componentHidden):
  5611. Fixed condition.
  5612. * java/awt/Container.java
  5613. (addImpl): Don't enable events on lightweights.
  5614. (remove): Reordered operations. Don't remove any listeners.
  5615. Throw ArrayIndexOutOfBoundsException when index >= ncomponents.
  5616. Only removeNotify() when peer is != null. Only invalidate if
  5617. not already invalid. Only fire ContainerEvent if there is
  5618. an interested listener or the event is enabled. Dispatch this
  5619. event directly without the event queue.
  5620. (removeAll): Likewise.
  5621. (paintComponents): Only paint when showing. Also paint heavyweights.
  5622. Don't paint the container itself.
  5623. (removeNotify): Create local variables for improved thread safety.
  5624. (addNotifyContainerChildren): Don't enable events for lightweights.
  5625. 2006-09-18 Roman Kennke <kennke@aicas.com>
  5626. * java/awt/EventQueue.java
  5627. (INITIAL_QUEUE_DEPTH): Removed obsolete field.
  5628. (next_in): Removed obsolete field.
  5629. (next_out): Removed obsolete field.
  5630. (queueHead): New field. Markes the head of the queue.
  5631. (queueTail): New field. Markes the tail of the queue.
  5632. (queue): Removed obsolete field.
  5633. (EventQueue): Documented empty block.
  5634. (getNextEvent): Changed array based implementation to single-linked
  5635. list based implementation.
  5636. (invokeAndWait): Use an Object as synchronization object rather
  5637. than the current thread.
  5638. (peekEvent(int)): Changed array based implementation to single-linked
  5639. list based implementation.
  5640. (peekEvent()): Changed array based implementation to single-linked
  5641. list based implementation.
  5642. (pop()): Changed array based implementation to single-linked
  5643. list based implementation.
  5644. (postEvent): Foward to postEventImpl.
  5645. (postEventImpl): Changed array based implementation to single-linked
  5646. list based implementation.
  5647. (push): Changed array based implementation to single-linked
  5648. list based implementation.
  5649. * java/awt/AWTEvent.java
  5650. (queueNext): New field. Implements a single-linked list for
  5651. the EventQueue.
  5652. 2006-09-17 Mark Wielaard <mark@klomp.org>
  5653. * javax/swing/text/html/HTMLEditorKit (getStyleSheet): Load
  5654. resource from HTMLEditorKit.class.
  5655. 2006-09-17 Mark Wielaard <mark@klomp.org>
  5656. * javax/swing/plaf/basic/BasicToolBarUI.java
  5657. (setBorderToNonRollover): Check whether border is null.
  5658. (setBorderToRollover): Likewise.
  5659. 2006-09-17 Mark Wielaard <mark@klomp.org>
  5660. * javax/swing/JTree.java (setLeadSelectionPath): Handle null path.
  5661. 2006-09-17 Mark Wielaard <mark@klomp.org>
  5662. * native/jni/java-nio/javanio.c (cpnio_fcntl): Last argument is long.
  5663. * native/jni/java-nio/javanio.h (cpnio_fcntl): Likewise.
  5664. * native/jni/java-nio/gnu_java_nio_VMChannel.c
  5665. (Java_gnu_java_nio_VMChannel_lock): Likewise.
  5666. (Java_gnu_java_nio_VMChannel_unlock): Likewise.
  5667. 2006-09-17 Casey Marshall <csm@gnu.org>
  5668. * native/jni/classpath/jcl.c (JNI_OnLoad): mark `reserved' as
  5669. unused.
  5670. 2006-09-17 Chris Burdess <dog@gnu.org>
  5671. Fixes PR 27610 27687.
  5672. * gnu/xml/dom/ls/SAXEventSink.java: Permit limited subclassing.
  5673. * gnu/xml/transform/SAXTemplatesHandler.java,
  5674. * gnu/xml/transform/SAXTransformerHandler.java: New files.
  5675. * gnu/xml/transform/TransformerFactoryImpl.java: Implement
  5676. SAXTransformerFactory.
  5677. 2006-09-16 Casey Marshall <csm@gnu.org>
  5678. * NEWS: updated.
  5679. * configure.ac (AC_CHECK_HEADERS): check for `sys/event.h'.
  5680. (AC_CHECK_FUNCS): add checks for readv, writev, getifaddrs,
  5681. kqueue, and kevent.
  5682. (HAVE_INET6): define if IPv6 is supported.
  5683. * gnu/java/net/PlainDatagramSocketImpl.java (channel): new field.
  5684. (native_fd): removed.
  5685. (impl): new field.
  5686. (<init>): throw IOException; initialize fields.
  5687. (finalize): removed.
  5688. (getNativeFD): removed.
  5689. (bind): use `PlainSocketImpl.bind.'
  5690. (create): use `PlainSocketImpl.initSocket.'
  5691. (disconnect): use `PlainSocketImpl.disconnect.'
  5692. (getLocalPort): new method.
  5693. (send): use `VMChannel.send.'
  5694. (receive): use `VMChannel.receive.'
  5695. (setOption): use `PlainSocketImpl.setOption.'
  5696. (getOption): use `PlainSocketImpl.getOption.'
  5697. (close): use `VMChannel.State.close.'
  5698. (join): use `PlainSocketImpl.join.'
  5699. (leave): use `PlainSocketImpl.leave.'
  5700. (joinGroup, leaveGroup): implemented.
  5701. * gnu/java/net/PlainSocketImpl.java: make non-final.
  5702. (native_fd): removed.
  5703. (impl): new field.
  5704. (channel): new field.
  5705. (<init>): initialize `impl.'
  5706. (finalize, getNativeFD): removed.
  5707. (setOption): use `PlainSocketImpl.setOption.'
  5708. (getOption): use `PlainSocketImpl.getOption.'
  5709. (shutdownInput): use `PlainSocketImpl.shutdownInput.'
  5710. (shutdownOutput): use `PlainSocketImpl.shutdownOutput.'
  5711. (create): create `channel,' initialize `impl's native state.
  5712. (connect): use `connect(SocketAddress, int).'
  5713. (connect): use `SocketChannelImpl.connect;' initialize `address'
  5714. and `port.'
  5715. (bind): use `VMPlainSocketImpl.bind.'
  5716. (listen): use `VMPlainSocketImpl.listen.'
  5717. (accept): use `SocketChannelImpl.accept.'
  5718. (available): use `VMChannel.available.'
  5719. (close): use `PlainSocketImpl.close.'
  5720. (sendUrgentData): use `PlainSocketImpl.sendUrgentData.'
  5721. (getVMChannel, getInetAddress, getLocalPort, getLocalAddress,
  5722. getPort): new methods.
  5723. (SocketInputStream.read): use `VMChannel.read.'
  5724. (SocketInputStream.read): use `SocketChannel.read.'
  5725. (SocketOutputStream.write): use `VMChannel.write.'
  5726. (SocketOutputStream.write): use `SocketChannel.write.'
  5727. * gnu/java/nio/DatagramChannelImpl.java: implement VMChannel.
  5728. (channel): new field.
  5729. (<init>): initialize `channel.'
  5730. (implCloseSelectableChannel): use `VMChannel.close.'
  5731. (implConfigureBlocking): use `VMChannel.setBlocking.'
  5732. (connect): use `VMChannel.connect.'
  5733. (disconnect): use `VMChannel.disconnect.'
  5734. (isConnected): use `VMChannel.getPeerAddress.'
  5735. (write): use `VMChannel.write.'
  5736. (write): use `VMChannel.writeGathering.'
  5737. (read): use `VMChannel.read.'
  5738. (read): use `VMChannel.readScattering.'
  5739. (receive): use `VMChannel.receive.'
  5740. (send): use `VMChannel.send.'
  5741. (getVMChannel): new method.
  5742. * gnu/java/nio/DatagramChannelSelectionKey.java (getNativeFD):
  5743. access native FD through VMChannel.State.
  5744. * gnu/java/nio/FileChannelImpl.java: moved from
  5745. gnu/java/nio/channels/FileChannelImpl.java.
  5746. * gnu/java/nio/FileLockImpl.java: fix imports.
  5747. * gnu/java/nio/KqueueSelectionKeyImpl.java: new file.
  5748. * gnu/java/nio/KqueueSelectorImpl.java: new file.
  5749. * gnu/java/nio/NIOSocket.java (impl): removed.
  5750. (channel): new field.
  5751. (<init>): init superclass with a `NIOSocketImpl;' init `channel.'
  5752. (getPlainSocketImpl, setChannel): removed.
  5753. (isConnected): new method.
  5754. * gnu/java/nio/NIOSocketImpl.java: new file.
  5755. * gnu/java/nio/PipeImpl.java (SourceChannelImpl): implement
  5756. `VMChannelOwner.'
  5757. (SourceChannelImpl.native_fd): removed.
  5758. (SourceChannelImpl.<init>): init with a `VMChannel.'
  5759. (SourceChannelImpl.getNativeFD): removed.
  5760. (SourceChannelImpl.getVMChannel): new method.
  5761. (SourceChannelImpl.implCloseSelectableChannel): implement.
  5762. (SinkChannelImpl): implement `VMChannelOwner.'
  5763. (SinkChannelImpl.native_fd): removed.
  5764. (SinkChannelImpl.<init>): init with a `VMChannel.'
  5765. (SinkChannelImpl.implCloseSelectableChannel): implement.
  5766. (SinkChannelImpl.getNativeFD): removed.
  5767. (SinkChannelImpl.getVMChannel): new method.
  5768. * gnu/java/nio/SelectionKeyImpl.java (getNativeFD): mark
  5769. deprecated.
  5770. * gnu/java/nio/SelectorProviderImpl.java (SELECTOR_IMPL_KQUEUE,
  5771. SELECTOR_IMPL_EPOLL, SELECTOR_IMPL): new constants.
  5772. (openSelector): return kqueue selector if available.
  5773. * gnu/java/nio/ServerSocketChannelImpl.java: implement
  5774. `VMChannelOwner.'
  5775. (channel): new field.
  5776. (<init>): init `channel.'
  5777. (finalizer): check if the `VMChannel.State' is valid.
  5778. (implCloseSelectableChannel): use `VMChannel.close.'
  5779. (implConfigureBlocking): use `VMChannel.setBlocking.'
  5780. (accept): use `VMChannel.accept.'
  5781. (getVMChannel): new method.
  5782. * gnu/java/nio/ServerSocketChannelSelectionKey.java (getNativeFD):
  5783. access native FD through `VMChannel.State.'
  5784. * gnu/java/nio/SocketChannelImpl.java: implement `VMChannelOwner.'
  5785. (impl): removed.
  5786. (channel, connected, connectAddress): new field.
  5787. (<init>): new constructors.
  5788. (getPlainSocketImpl): removed.
  5789. (implCloseSelectableChannel): use `VMChannel.close.'
  5790. (implConfigureBlocking): use `VMChannel.setBlocking.'
  5791. (connect): use `connect(SocketAddress,int).'
  5792. (connect): use `VMChannel.connect.'
  5793. (finishConnect): don't use a selector.
  5794. (isConnected): use `VMChannel.getPeerAddress.'
  5795. (read): use `VMChannel.read.'
  5796. (read): use `VMChannel.readScattering.'
  5797. (write): use `VMChannel.write.'
  5798. (write): use `VMChannel.writeGathering.'
  5799. (getVMChannel): new method.
  5800. * gnu/java/nio/SocketChannelSelectionKey.java (getNativeFD): get
  5801. native FD from `VMChannel.State.'
  5802. * gnu/java/nio/SocketChannelSelectionKeyImpl.java (getNativeFD):
  5803. get native FD from `VMChannel.State.'
  5804. * gnu/java/nio/VMChannelOwner.java: new file.
  5805. * gnu/java/nio/channels/FileChannelImpl.java: removed.
  5806. * include/Makefile.am: generate `gnu_java_nio_FileChannelImpl.h'
  5807. and `gnu_java_nio_KqueueSelectorImpl.h;' don't generate
  5808. `gnu_java_nio_channels_FileChannelImpl.h.'
  5809. * include/gnu_java_net_VMPlainSocketImpl.h: regenerated.
  5810. * include/gnu_java_nio_FileChannelImpl.h: new file.
  5811. * include/gnu_java_nio_KqueueSelectorImpl.h: new file.
  5812. * include/gnu_java_nio_VMChannel.h: regenerated.
  5813. * include/gnu_java_nio_VMPipe.h: regenerated.
  5814. * include/java_net_VMNetworkInterface.h: regenerated.
  5815. * java/io/FileDescriptor.java: fix imports.
  5816. * java/io/FileInputStream.java (<init>): handle exceptions.
  5817. (read): wrap the destination arary.
  5818. * java/io/FileOutputStream.java (<init>): handle exceptions.
  5819. (write): wrap the source array.
  5820. * java/io/RandomAccessFile.java (<init>): handle exceptions.
  5821. * java/net/DatagramSocket.java (<init>): handle exceptions.
  5822. (receive): handle length/port setting.
  5823. (connect): bind to any address/port if the argument is null.
  5824. * java/net/NetworkInterface.java (name, inetAddress): removed.
  5825. (netif): new field.
  5826. (<init>): make private.
  5827. (getName): return `netif.name.'
  5828. (getInetAddresses): access `netif.addresses.'
  5829. (getDisplayName): return `netif.name.'
  5830. (getByName, getByAddress): handle changes to `VMNetworkInterface.'
  5831. (condense): removed.
  5832. (getNetworkInterfaces): handle changes to `VMNetworkInterface.'
  5833. (equals): compare `netif' fields.
  5834. (hashCode): get hash codes from `netif.'
  5835. (toString): use a StringBuffer.
  5836. * java/net/ServerSocket.java (close): don't set `impl' to null.
  5837. (isClosed): use `VMChannel.State.isClosed.'
  5838. * java/net/Socket.java (getLocalAddress): don't use `getOption' if
  5839. the `SocketImpl' is a `PlainSocketImpl.'
  5840. (close): just close the `impl.'
  5841. (toString): use `super.toString' in the value we return.
  5842. (isConnected): just access `impl,' not `getImpl.'
  5843. (isBound): use `PlainSocketImpl' methods if we can.
  5844. (isClosed): look at `VMChannel.State.'
  5845. * native/jni/classpath/jcl.c (JNI_OnLoad): new function.
  5846. (JCL_NewRawDataObject): don't initialize cached fields here; throw
  5847. an exception if they were not.
  5848. (JCL_GetRawData): throw an exception if cached fields weren't
  5849. created.
  5850. * native/jni/java-lang/java_lang_VMProcess.c: handle
  5851. FileChannelImpl move.
  5852. * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
  5853. (IO_EXCEPTION, SOCKET_EXCEPTION, BIND_EXCEPTION,
  5854. THROW_NO_NETWORK): new macros.
  5855. (Java_gnu_java_net_VMPlainSocketImpl_bind): reipmlemented.
  5856. (Java_gnu_java_net_VMPlainSocketImpl_bind6): new function.
  5857. (Java_gnu_java_net_VMPlainSocketImpl_listen): reimplemented.
  5858. (java_sockopt): new enum.
  5859. (Java_gnu_java_net_VMPlainSocketImpl_setOption): reimplemented.
  5860. (Java_gnu_java_net_VMPlainSocketImpl_getOption): reimplemented.
  5861. (Java_gnu_java_net_VMPlainSocketImpl_shutdownInput):
  5862. reimplemented.
  5863. (Java_gnu_java_net_VMPlainSocketImpl_shutdownOutput):
  5864. reimplemented.
  5865. (Java_gnu_java_net_VMPlainSocketImpl_sendUrgentData): new
  5866. function.
  5867. (Java_gnu_java_net_VMPlainSocketImpl_join): new function.
  5868. (Java_gnu_java_net_VMPlainSocketImpl_join6): new function.
  5869. (Java_gnu_java_net_VMPlainSocketImpl_read): removed.
  5870. (Java_gnu_java_net_VMPlainSocketImpl_leave): new function.
  5871. (Java_gnu_java_net_VMPlainSocketImpl_leave6): new function.
  5872. (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): new function.
  5873. (Java_gnu_java_net_VMPlainSocketImpl_write): removed.
  5874. (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): new function.
  5875. (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): new function.
  5876. (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): new function.
  5877. (getif_address): new function.
  5878. (getif_index): new function.
  5879. * native/jni/java-net/java_net_VMNetworkInterface.c
  5880. (java_net_VMNetworkInterface_init,
  5881. java_net_VMNetworkInterface_addAddress): new file-scope globals.
  5882. (Java_java_net_VMNetworkInterface_initIds): new function.
  5883. (struct netif_entry): new struct.
  5884. (free_netif_list): new function.
  5885. (Java_java_net_VMNetworkInterface_getInterfaces): removed.
  5886. (Java_java_net_VMNetworkInterface_getVMInterfaces): new function.
  5887. * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): remove
  5888. gnu_java_nio_channels_FileChannelImpl.c, add
  5889. gnu_java_nio_KqueueSelectorImpl.c.
  5890. * native/jni/java-nio/gnu_java_nio_KqueueSelectorImpl.c: new file.
  5891. * native/jni/java-nio/gnu_java_nio_VMChannel.c
  5892. (INTERRUPTED_IO_EXCEPTION, SOCKET_TIMEOUT_EXCEPTION, ALIGN_UP,
  5893. ALIGN_DOWN): new macros.
  5894. (JCL_init_buffer): get the address through GetDirectBufferAddress
  5895. if possible.
  5896. (Java_gnu_java_nio_VMChannel_stdin_1fd,
  5897. Java_gnu_java_nio_VMChannel_stdout_1fd,
  5898. Java_gnu_java_nio_VMChannel_stderr_1fd): new functions.
  5899. (Java_gnu_java_nio_VMChannel_setBlocking): fix setting blocking
  5900. value.
  5901. (Java_gnu_java_nio_VMChannel_read): renamed...
  5902. (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): to
  5903. this; handle interrupted IO; add HAVE_READ check.
  5904. (Java_gnu_java_nio_VMChannel_write): renamed...
  5905. (Java_gnu_java_nio_VMChannel_write__ILjava_nio_ByteBuffer_2): to
  5906. this; handle zero-length write; add HAVE_WRITE check.
  5907. (Java_gnu_java_nio_VMChannel_receive): new function.
  5908. (Java_gnu_java_nio_VMChannel_send): new function.
  5909. (Java_gnu_java_nio_VMChannel_send6): new function.
  5910. (Java_gnu_java_nio_VMChannel_read__I): new function.
  5911. (Java_gnu_java_nio_VMChannel_write__II): new function.
  5912. (Java_gnu_java_nio_VMChannel_socket): new function.
  5913. (Java_gnu_java_nio_VMChannel_connect): new function.
  5914. (Java_gnu_java_nio_VMChannel_connect6): new function.
  5915. (Java_gnu_java_nio_VMChannel_getsockname): new function.
  5916. (Java_gnu_java_nio_VMChannel_getpeername): new function.
  5917. (Java_gnu_java_nio_VMChannel_accept): new function.
  5918. (Java_gnu_java_nio_VMChannel_disconnect): new function.
  5919. (Java_gnu_java_nio_VMChannel_close): new function.
  5920. (Java_gnu_java_nio_VMChannel_available): new function.
  5921. (FileChannel_mode): new enum.
  5922. (Java_gnu_java_nio_VMChannel_open): new function.
  5923. (Java_gnu_java_nio_VMChannel_position): new function.
  5924. (Java_gnu_java_nio_VMChannel_seek): new function.
  5925. (Java_gnu_java_nio_VMChannel_truncate): new funciton.
  5926. (Java_gnu_java_nio_VMChannel_lock): new function.
  5927. (Java_gnu_java_nio_VMChannel_unlock): new function.
  5928. (Java_gnu_java_nio_VMChannel_size): new function.
  5929. (Java_gnu_java_nio_VMChannel_map): new function.
  5930. (Java_gnu_java_nio_VMChannel_flush): new function.
  5931. * native/jni/java-nio/gnu_java_nio_VMPipe.c
  5932. (Java_gnu_java_nio_VMPipe_init): removed.
  5933. (Java_gnu_java_nio_VMPipe_pipe0): new function.
  5934. * native/jni/java-nio/javanio.c: new file.
  5935. * native/jni/java-nio/javanio.h: new file.
  5936. * native/jni/native-lib/cpnet.c (cpnet_getHostByName): fix for
  5937. systems without `gethostbyname_r.'
  5938. * vm/reference/gnu/java/net/VMPlainSocketImpl.java (nfd): new
  5939. field.
  5940. (<init>, <init>): new constructors.
  5941. (setOption, getOption): make instance methods; defer to native
  5942. implementation.
  5943. (connect): removed.
  5944. (bind): make an instance method; defer to native methods.
  5945. (accept): removed.
  5946. (available): removed.
  5947. (listen): make an instance method; defer to native method.
  5948. (read): removed.
  5949. (join, leave): new methods.
  5950. (write): removed.
  5951. (joinGroup, leaveGroup): new methods.
  5952. (shutdownInput, shutdownOutput): make instance methods.
  5953. (sendUrgentData): removed.
  5954. (State): new class.
  5955. * vm/reference/gnu/java/nio/VMChannel.java: make final.
  5956. (fd): removed.
  5957. (nfd): new field.
  5958. (<init>): new, public constructors.
  5959. (getVMChannel): methods removed.
  5960. (getState, getStdin, getStdout, getStderr, stdin_fd, stdout_fd,
  5961. stderr_fd): new methods.
  5962. (setBlocking): make an instance method.
  5963. (available): new method.
  5964. (read): get native fd from `nfd.'
  5965. (read): new single-byte read method.
  5966. (readScattering): get native fd from `nfd.'
  5967. (receive): new method.
  5968. (write, writeGathering): get native fd from `nfd.'
  5969. (send): new method.
  5970. (write): new single-byte write method.
  5971. (initSocket): new method.
  5972. (connect): new method.
  5973. (disconnect): new method.
  5974. (getLocalAddress): new method.
  5975. (getPeerAddress): new method.
  5976. (accept): new method.
  5977. (openFile): new method.
  5978. (position): new method.
  5979. (seek): new method.
  5980. (truncate): new method.
  5981. (lock): new method.
  5982. (unlock): new method.
  5983. (size): new method.
  5984. (map): new method.
  5985. (flush): new method.
  5986. (close): new method.
  5987. (State): new class.
  5988. (Kind): new class.
  5989. * vm/reference/gnu/java/nio/VMPipe.java (init): removed.
  5990. (pipe, pipe0): new method.
  5991. * vm/reference/java/net/VMNetworkInterface.java (name, addresses):
  5992. new fields.
  5993. (<clinit>): call `initIds.'
  5994. (initIds): new method.
  5995. (getInterfaces): removed.
  5996. (getVMInterfaces): new method.
  5997. (addAddress): new method.
  5998. * vm/reference/java/nio/channels/VMChannels.java: fix imports.
  5999. 2006-09-16 Chris Burdess <dog@gnu.org>
  6000. Fixes PR 28572.
  6001. * gnu/xml/transform/StreamSerializer.java: Don't escape XML entities
  6002. when in text output mode.
  6003. 2006-09-16 Chris Burdess <dog@gnu.org>
  6004. Fixes PR 27293.
  6005. * gnu/xml/dom/DomNode.java: Increment length of node during insert.
  6006. 2006-09-14 Michael Koch <konqueror@gmx.de>
  6007. * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Recreated.
  6008. 2006-09-15 Chistian Elias Naur <elias@oddlabs.com>
  6009. * java/io/ObjectStreamClass.java (setClass(Class, ObjectStreamClass)):
  6010. Added !cl.isArray() to serialVersionUID mismatch check.
  6011. 2006-09-14 Francis Kung <fkung@redhat.com>
  6012. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
  6013. (gnu_java_awt_peer_gtk_CairoGraphics2D_setGradient): Updated constants to
  6014. be compatibe with Cairo 1.2.x.
  6015. 2006-09-14 Francis Kung <fkung@redhat.com>
  6016. * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Added interpolation constants.
  6017. (cairoSurfaceSetFilter): Removed method.
  6018. (drawImage): Pass interpolation type as argument to drawing methods.
  6019. (drawPixels): Added interpolation parameter.
  6020. (drawRaster): Pass interpolation type as argument to drawing method.
  6021. (getInterpolation): New method.
  6022. (setRenderingHint): Store hints, but do not set interpolation in cairo.
  6023. (setRenderingHints): Store hints, but do not set interpolation in cairo.
  6024. * gnu/java/awt/peer/gtk/CairoSurface.java
  6025. (drawSurface): Added interpolation parameter.
  6026. (nativeDrawSurface): Added interpolation parameter.
  6027. * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
  6028. (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
  6029. parameter.
  6030. (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
  6031. * native/jni/gtk-peer/cairographics2d.h
  6032. (java_awt_rendering_hints_filter): Added bicubic interpolation constant.
  6033. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
  6034. (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
  6035. parameter.
  6036. (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
  6037. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
  6038. (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface): Added
  6039. interpolation parameter.
  6040. 2006-09-14 Gary Benson <gbenson@redhat.com>
  6041. * java/net/InetAddress.java
  6042. (internalGetCanonicalHostName): New method.
  6043. (getCanonicalHostName): Use internalGetCanonicalHostName.
  6044. (getByLiteral): New method.
  6045. (getAllByName): Use getByLiteral.
  6046. * java/net/SocketPermission.java
  6047. (host): Replaced with...
  6048. (hostname, address): New fields.
  6049. (equals, hashcode): Reflect the above.
  6050. (setHostPort): Parse host into hostname or address.
  6051. (implies): Rewrite host checks.
  6052. 2006-09-14 David Gilbert <david.gilbert@object-refinery.com>
  6053. Fixes PR28699
  6054. * java/awt/Menu.java
  6055. (insert(MenuItem, int)): Fixed loop range,
  6056. (insert(String, int)): Updated API docs.
  6057. 2006-09-14 Christian Thalinger <twisti@complang.tuwien.ac.at>
  6058. Fixes PR22800
  6059. * native/fdlibm/mprec.h (Storeinc): Define correctly for LE
  6060. architectures (like Arm).
  6061. * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits):
  6062. Reverted SWAP_DOUBLE patch.
  6063. (doubleToRawLongBits): Likewise.
  6064. (longBitsToDouble): Likewise.
  6065. 2006-09-14 David Gilbert <david.gilbert@object-refinery.com>
  6066. * java/awt/Menu.java: Reformatted source file.
  6067. 2006-09-14 Jeroen Frijters <jeroen@frijters.net>
  6068. * gnu/java/rmi/server/ActivatableRef.java
  6069. (readExternal, writeExternal): Partial fix for serialization format.
  6070. 2006-09-14 Jeroen Frijters <jeroen@frijters.net>
  6071. PR classpath/28984
  6072. * java/io/InputStreamReader.java
  6073. (read(char[],int,int)): Fixed bug.
  6074. 2006-09-13 Francis Kung <fkung@redhat.com>
  6075. * java/awt/image/BandCombineOp.java: Updated documentation.
  6076. (filter(Raster, WritableRaster)): Use int arrays, and added simple cache.
  6077. 2006-09-13 Tom Tromey <tromey@redhat.com>
  6078. PR classpath/29034:
  6079. * java/io/PipedReader.java (read): Return early if len==0.
  6080. * java/io/PipedInputStream.java (read): Return early if len==0.
  6081. 2006-09-13 Francis Kung <fkung@redhat.com>
  6082. * java/awt/image/ConvolveOp.java (filter(Raster, WritableRaster)):
  6083. Removed hard-coded max sample value.
  6084. * java/awt/image/RescaleOp.java (filter(Raster, WritableRaster)):
  6085. Fixed finding of max sample value.
  6086. 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
  6087. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  6088. (setPaint): Check null argument ('p').
  6089. 2006-09-12 Francis Kung <fkung@redhat.com>
  6090. PR 27940
  6091. * gnu/java/awt/java2d/TexturePaintContext.java
  6092. (constructor): Fixed typo, getMinY instead of getMaxX.
  6093. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  6094. (setPaint): Implemented support for custom Paint classes.
  6095. (setPaintPixels): Renamed from setTexturePixels, added repeat parameter.
  6096. (setTexturePixels): Renamed to setPaintPixels, added repeat parameter.
  6097. * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Renamed setTexturePixels
  6098. to setPaintPixels, and added repeat parameter.
  6099. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c:
  6100. Renamed setTexturePixels to setPaintPixels, and added repeat parameter.
  6101. 2006-09-12 Gary Benson <gbenson@redhat.com>
  6102. * java/net/NetworkInterface.java (getInetAddresses):
  6103. Fix port used in security check.
  6104. 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
  6105. * javax/swing/plaf/metal/DefaultMetalTheme.java
  6106. (CONTROL_TEXT_FONT): Renamed 'controlTextFont',
  6107. (MENU_TEXT_FONT): Renamed 'menuTextFont',
  6108. (getControlTextFont): Check 'swing.boldMetal' setting before
  6109. initialising font,
  6110. (getMenuTextFont): Likewise.
  6111. 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
  6112. * javax/swing/plaf/metal/OceanTheme.java
  6113. (addCustomEntriesToTable): Added 'List.focusCellHighlightBorder' entry.
  6114. 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
  6115. * javax/swing/plaf/metal/MetalIconFactory.java
  6116. (InternalFrameDefaultMenuIcon.paintIcon): Use theme colors.
  6117. 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
  6118. * javax/swing/AbstractSpinnerModel.java: API doc updates.
  6119. 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
  6120. * javax/swing/AbstractButton.java
  6121. (AbstractButton): Initialise textIconGap field.
  6122. 2006-09-11 Tom Tromey <tromey@redhat.com>
  6123. * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
  6124. "volatile" when needed.
  6125. 2006-09-11 David Gilbert <david.gilbert@object-refinery.com>
  6126. * java/text/AttributedCharacterIterator.java
  6127. (LANGUAGE): Initialise with lower case string,
  6128. (INPUT_METHOD_SEGMENT): Likewise,
  6129. (READING): Likewise,
  6130. * java/text/AttributedStringIterator.java
  6131. (getRunLimit): Check all attributes for changes.
  6132. 2006-09-11 David Gilbert <david.gilbert@object-refinery.com>
  6133. * java/text/AttributedCharacterIterator.java: Added @since tag,
  6134. renamed some variables (no underscores) and removed some spaces to
  6135. match the common style,
  6136. * java/text/AttributedString.java: Likewise,
  6137. * java/text/AttributedStringIterator.java: Likewise.
  6138. 2006-09-11 Gary Benson <gbenson@redhat.com>
  6139. * java/net/Inet4Address.java
  6140. (FAMILY): Renamed back to AF_INET.
  6141. (<init>, writeReplace): Reflect the above.
  6142. * java/net/Inet6Address.java
  6143. (FAMILY): Renamed back to AF_INET6.
  6144. (<init>): Reflect the above.
  6145. 2006-09-11 Cameron McCormack <cam-gcc-bugzilla@aka.mcc.id.au>
  6146. Fixes PR29010
  6147. * java/text/AttributedString.java
  6148. (AttributedString(AttributedCharacterIterator, int, int,
  6149. AttributedCharacterIterator.Attribute[])): Fixed check for defined
  6150. attribute.
  6151. 2006-09-11 Gary Benson <gbenson@redhat.com>
  6152. * java/net/Inet4Address.java
  6153. (AF_INET): Renamed to FAMILY.
  6154. (<init>, writeReplace): Reflect the above.
  6155. * java/net/Inet6Address.java
  6156. (AF_INET6): Renamed to FAMILY.
  6157. (<init>): Reflect the above.
  6158. 2006-09-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
  6159. Fixes bug #28867
  6160. Originally in Kaffe: 2004-04-16 Helmer Kraemer <hkraemer@freenet.de>
  6161. * java/net/ServerSocket.java(implAccept): Deleted socket.implCreated.
  6162. * java/net/Socket.java: Avoid creating a redundant file descriptor.
  6163. (implCreated): Deleted, (getImpl): Don't check impleCreated,
  6164. (bind): Call getImpl().create(true).
  6165. 2006-09-09 Chris Burdess <dog@gnu.org>
  6166. * gnu/xml/xpath/Expr.java: Ensure that node-set evaluation returns
  6167. an instance of org.w3c.dom.NodeList.
  6168. 2006-09-08 Thomas Fitzsimmons <fitzsim@redhat.com>
  6169. * tools/gnu/classpath/tools/appletviewer/Main.java: Warn about
  6170. missing security manager when run in standalone mode.
  6171. 2006-09-08 Francis Kung <fkung@redhat.com>
  6172. * java/awt/image/AffineTransformOp.java: Updated documentation.
  6173. (createCompatibleDestRaster): Updated formatting.
  6174. (filter(BufferedImage, BufferedImage)): Updated formatting.
  6175. (filter(Raster, WritableRaster)): Delegated processing to native peers for
  6176. if colour model is compatible.
  6177. (filterBicubic): Get entire pixel at once, and use appropriate array type.
  6178. (filterBilinear): Get entire pixel at once, and use appropriate array type.
  6179. 2006-09-08 Gary Benson <gbenson@redhat.com>
  6180. * java/net/InetAddress.java
  6181. (family): Updated javadoc and made private.
  6182. (<init>): Add an address family argument.
  6183. (readObject): Don't overwrite family.
  6184. * java/net/Inet4Address.java
  6185. (AF_INET): New constant.
  6186. (<init>): Use AF_INET as the family.
  6187. (writeReplace): Likewise.
  6188. * java/net/Inet6Address.java
  6189. (AF_INET6): New constant.
  6190. (<init>): Use AF_INET6 as the family.
  6191. 2006-09-08 Gary Benson <gbenson@redhat.com>
  6192. * java/net/InetAddress.java
  6193. (getHostName): Move lookup into getCanonicalHostName.
  6194. (getCanonicalHostName): Move lookup from getHostName,
  6195. Perform security check on canonical name (ie after lookup).
  6196. 2006-09-08 Gary Benson <gbenson@redhat.com>
  6197. * java/net/Inet4Address.java (isMulticastAddress,
  6198. isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
  6199. isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
  6200. isMCSiteLocal, isMCOrgLocal, getHostAddress): Moved
  6201. implementations from InetAddress.
  6202. * java/net/InetAddress.java (isMulticastAddress,
  6203. isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
  6204. isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
  6205. isMCSiteLocal, isMCOrgLocal, getHostAddress): Replace
  6206. implementations with UnsupportedOperationExceptions.
  6207. 2006-09-08 Gary Benson <gbenson@redhat.com>
  6208. * java/net/InetAddress.java
  6209. (inaddr_any): Removed.
  6210. (ANY_IF, LOCALHOST): Create using getByAddress.
  6211. (<init>): Updated javadoc.
  6212. (getHostName): Cache hostname even if the lookup failed.
  6213. (getByAddress): Create Inet4Address objects when passed
  6214. IPv4-mapped IPv6 addresses.
  6215. (aton): Removed.
  6216. (getAllByName): Create address objects using getByAddress.
  6217. Do not perform security checks unless actually required.
  6218. Do not strip whitespace from the hostname.
  6219. (getInaddrAny): Removed.
  6220. (getLocalHost): Return the loopback address if getByName
  6221. throws a SecurityException.
  6222. (readResolve): Updated javadoc.
  6223. * vm/reference/java/net/VMInetAddress.java (aton): Declared.
  6224. * include/java_net_VMInetAddress.h
  6225. (Java_java_net_VMInetAddress_aton): Likewise.
  6226. * native/jni/java-net/java_net_VMInetAddress.c
  6227. (Java_java_net_VMInetAddress_aton): New method.
  6228. * native/jni/native-lib/cpnet.h (cpnet_aton): Declared.
  6229. * native/jni/native-lib/cpnet.c (cpnet_aton): New method.
  6230. * configure.ac (AC_CHECK_FUNCS): Checks for cpnet_aton.
  6231. * java/net/Inet4Address.java (writeReplace): Updated javadoc.
  6232. * NEWS: Added note about updated VM interface.
  6233. 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
  6234. * javax/swing/plaf/basic/BasicInternalFrameUI.java
  6235. (setNorthPane): Assign component to titlePane.
  6236. 2006-09-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  6237. * gnu/CORBA/NamingService/NameParser.java (corbaloc):
  6238. Remove unused variable alt_addr.
  6239. * gnu/CORBA/NamingService/NameTransformer.java (toName):
  6240. Remove unused variables.
  6241. 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
  6242. * javax/swing/plaf/metal/MetalScrollBarUI.java
  6243. (installDefaults): Initialise scrollBarWidth from UI defaults here,
  6244. (createDecreaseButton): Don't fetch scrollBarWidth here,
  6245. (createIncreaseButton): Likewise.
  6246. 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
  6247. * java/awt/image/MemoryImageSource.java: Added API docs.
  6248. 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
  6249. * javax/swing/plaf/basic/BasicScrollBarUI.java
  6250. (installDefaults): Call configureScrollBarColors().
  6251. 2006-09-06 Francis Kung <fkung@redhat.com>
  6252. * java/awt/image/RescaleOp.java: Updated documentation and formatting.
  6253. (constructor): Make copy of arrays.
  6254. (createCompatibleDestImage): Changed treatment of null ColorModel.
  6255. (filter(BufferedImage, BufferedImage)): Re-implemented.
  6256. (filter(Raster, WritableRaster, boolean[])): New method.
  6257. (filter(Raster, WritableRaster)): Re-implemented.
  6258. (getOffsets): Prevent ArrayIndexOutOfBoundsException.
  6259. (getPoint2D): Cleaned up formatting.
  6260. (getScaleFactors): Prevent ArrayIndexOutOfBoundsException.
  6261. 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
  6262. * javax/swing/UIManager.java
  6263. (getBoolean(Object)): Reimplemented,
  6264. (getBoolean(Object, Locale)): Likewise,
  6265. (getBorder(Object)): Likewise,
  6266. (getBorder(Object, Locale)): Likewise,
  6267. (getColor(Object)): Likewise,
  6268. (getColor(Object, Locale)): Likewise,
  6269. (getDimension(Object)): Likewise,
  6270. (getDimension(Object, Locale)): Likewise,
  6271. (getFont(Object)): Likewise,
  6272. (getFont(Object, Locale)): Likewise,
  6273. (getIcon(Object)): Likewise,
  6274. (getIcon(Object, Locale)): Likewise,
  6275. (getInsets(Object)): Updated API docs,
  6276. (getInsets(Object, Locale)): Likewise,
  6277. (getInt(Object)): Reimplemented,
  6278. (getInt(Object, Locale)): Likewise,
  6279. (getString(Object)): Likewise,
  6280. (getString(Object, Locale)): Likewise.
  6281. 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
  6282. * javax/swing/UIManager.java
  6283. (MultiplexUIDefaults.MultiplexUIDefaults()): Don't allow null fallback,
  6284. (getDefaults): Initialise MultiplexUIDefaults with empty fallback.
  6285. 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
  6286. * javax/swing/plaf/metal/MetalLookAndFeel.java
  6287. (initComponentDefaults): Corrected various font defaults.
  6288. 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
  6289. * java/awt/List.java: Added @since to various methods.
  6290. 2006-09-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
  6291. * native/jni/native-lib/cpprocess.c:
  6292. (forkAndExec(char*,char*,int,int,pid_t,char*)):
  6293. Add redirection of stdout to stderr.
  6294. * native/jni/native-lib/cpprocess.h:
  6295. Added redirect argument.
  6296. * native/jni/java-lang/java_lang_VMProcess.c
  6297. (Java_java_lang_VMProcess_nativeSpawn): Readd redirect argument.
  6298. * vm/reference/java/lang/VMProcess.java: Likewise.
  6299. * include/java_lang_VMProcess.h: Regenerated.
  6300. 2006-09-05 Andreas Tobler <a.tobler@schweiz.ch>
  6301. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c: Adjust
  6302. __attribute to __attribute__.
  6303. * native/jni/java-nio/java_nio_MappedByteBufferImpl.c: Remove duplicate
  6304. header include.
  6305. 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
  6306. * java/awt/List.java: Source code reformatted.
  6307. 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  6308. * gnu/CORBA/CollocatedOrbs.java,
  6309. gnu/CORBA/SafeForDirectCalls.java: New files.
  6310. * gnu/CORBA/NamingService/Binding_iterator_impl.java:
  6311. Implement gnu.CORBA.SafeForDirectCalls.
  6312. * gnu/CORBA/NamingService/Ext.java: Likewise.
  6313. * gnu/CORBA/NamingService/TransientContext.java: Likewise.
  6314. * gnu/CORBA/OrbFunctional.java (createIor):Cache the address
  6315. of the local host. (ior_to_object): Return the local object
  6316. where possible. (run): Register/unregister this ORB.
  6317. * gnu/CORBA/Poa/LocalRequest.java (v_invoke): Call gnuPOA.checkDiscarding.
  6318. * gnu/CORBA/Poa/gnuPOA.java (checkDiscarding): Made package private.
  6319. * gnu/CORBA/Poa/gnuServantObject.java (noRetain): New field.
  6320. (constructors): Initialize noRetain. (_invoke): Drop servant
  6321. if noRetain is true. (getHandler): Always seach for the new servant
  6322. if noRetain is true.
  6323. * gnu/CORBA/SimpleDelegate.java (create_request): Implemented.
  6324. * NEWS: Added note about the new feature.
  6325. 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
  6326. * java/awt/Choice.java
  6327. (addItem): Fixed API doc glitch.
  6328. 2006-09-05 Francis Kung <fkung@redhat.com>
  6329. * java/awt/image/LookupOp.java: Updated documentation & formatting.
  6330. (createCompatibleDestImage): Re-implemented.
  6331. (filter(BufferedImage, BufferedImage)): Added check for src/dest image
  6332. compatibility, and use ColorConvertOp for color conversion if needed.
  6333. (filter(Raster, WritableRaster)): Made exceptions more descriptive.
  6334. 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  6335. gnu/CORBA/CDR/Vio.java,
  6336. org/omg/CORBA_2_3/ORB.java,
  6337. org/omg/CORBA_2_3/portable/InputStream.java,
  6338. org/omg/CORBA_2_3/portable/OutputStream.java,
  6339. org/omg/CosNaming/BindingIteratorHelper.java,
  6340. org/omg/CosNaming/BindingTypeHelper.java,
  6341. org/omg/CosNaming/NameComponentHelper.java,
  6342. org/omg/CosNaming/NameHelper.java,
  6343. org/omg/CosNaming/NamingContextExtHelper.java,
  6344. org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
  6345. org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
  6346. org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHolder.java,
  6347. org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
  6348. org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
  6349. org/omg/CosNaming/NamingContextHelper.java,
  6350. org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
  6351. org/omg/CosNaming/NamingContextPackage/InvalidName.java,
  6352. org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
  6353. org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
  6354. org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
  6355. org/omg/CosNaming/NamingContextPackage/NotFoundReasonHolder.java,
  6356. org/omg/DynamicAny/AnySeqHelper.java,
  6357. org/omg/DynamicAny/DynAnyFactoryHelper.java,
  6358. org/omg/DynamicAny/DynAnyFactoryOperations.java,
  6359. org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
  6360. org/omg/DynamicAny/DynAnyHelper.java,
  6361. org/omg/DynamicAny/DynAnyOperations.java,
  6362. org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
  6363. org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
  6364. org/omg/DynamicAny/DynAnySeqHelper.java,
  6365. org/omg/DynamicAny/DynArrayHelper.java,
  6366. org/omg/DynamicAny/DynEnumHelper.java,
  6367. org/omg/DynamicAny/DynFixedHelper.java,
  6368. org/omg/DynamicAny/DynSequenceHelper.java,
  6369. org/omg/DynamicAny/DynStructHelper.java,
  6370. org/omg/DynamicAny/DynStructOperations.java,
  6371. org/omg/DynamicAny/DynUnionHelper.java,
  6372. org/omg/DynamicAny/DynValueHelper.java,
  6373. org/omg/DynamicAny/NameDynAnyPairHelper.java,
  6374. org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
  6375. org/omg/IOP/CodecFactoryHelper.java,
  6376. org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
  6377. org/omg/IOP/CodecOperations.java,
  6378. org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
  6379. org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
  6380. org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
  6381. org/omg/IOP/ComponentIdHelper.java,
  6382. org/omg/IOP/ExceptionDetailMessage.java,
  6383. org/omg/IOP/MultipleComponentProfileHelper.java,
  6384. org/omg/IOP/ProfileIdHelper.java,
  6385. org/omg/IOP/ServiceContextListHelper.java,
  6386. org/omg/IOP/ServiceIdHelper.java,
  6387. org/omg/IOP/TAG_CODE_SETS.java,
  6388. org/omg/PortableInterceptor/ClientRequestInfoOperations.java,
  6389. org/omg/PortableInterceptor/ClientRequestInterceptorOperations.java,
  6390. org/omg/PortableInterceptor/CurrentHelper.java,
  6391. org/omg/PortableInterceptor/IORInfo.java,
  6392. org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
  6393. org/omg/PortableInterceptor/ORBIdHelper.java,
  6394. org/omg/PortableInterceptor/ORBInitInfoOperations.java,
  6395. org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
  6396. org/omg/PortableInterceptor/ORBInitializerOperations.java,
  6397. org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
  6398. org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
  6399. org/omg/PortableInterceptor/RequestInfoOperations.java,
  6400. org/omg/PortableInterceptor/ServerIdHelper.java,
  6401. org/omg/PortableInterceptor/ServerRequestInfoOperations.java,
  6402. org/omg/PortableInterceptor/ServerRequestInterceptorOperations.java,
  6403. org/omg/PortableServer/AdapterActivatorOperations.java,
  6404. org/omg/PortableServer/CurrentHelper.java,
  6405. org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
  6406. org/omg/PortableServer/ForwardRequestHelper.java,
  6407. org/omg/PortableServer/IdAssignmentPolicyValue.java,
  6408. org/omg/PortableServer/IdUniquenessPolicyValue.java,
  6409. org/omg/PortableServer/ImplicitActivationPolicyValue.java,
  6410. org/omg/PortableServer/LifespanPolicyValue.java,
  6411. org/omg/PortableServer/POA.java,
  6412. org/omg/PortableServer/POAHelper.java,
  6413. org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
  6414. org/omg/PortableServer/POAManagerPackage/State.java,
  6415. org/omg/PortableServer/POAOperations.java,
  6416. org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
  6417. org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
  6418. org/omg/PortableServer/POAPackage/InvalidPolicy.java,
  6419. org/omg/PortableServer/POAPackage/NoServantHelper.java,
  6420. org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
  6421. org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
  6422. org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
  6423. org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
  6424. org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
  6425. org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
  6426. org/omg/PortableServer/RequestProcessingPolicyValue.java,
  6427. org/omg/PortableServer/ServantActivatorHelper.java,
  6428. org/omg/PortableServer/ServantLocatorHelper.java,
  6429. org/omg/PortableServer/ServantLocatorOperations.java,
  6430. org/omg/PortableServer/ServantRetentionPolicyValue.java,
  6431. org/omg/PortableServer/ThreadPolicyValue.java,
  6432. org/omg/PortableServer/_ServantActivatorStub.java,
  6433. org/omg/PortableServer/_ServantLocatorStub.java,
  6434. org/omg/PortableServer/portable/Delegate.java: Documentation fixes.
  6435. 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  6436. * javax/rmi/CORBA/Tie.java,
  6437. org/omg/CORBA/AnyHolder.java,
  6438. org/omg/CORBA/AnySeqHelper.java,
  6439. org/omg/CORBA/AnySeqHolder.java,
  6440. org/omg/CORBA/BooleanHolder.java,
  6441. org/omg/CORBA/BooleanSeqHelper.java,
  6442. org/omg/CORBA/BooleanSeqHolder.java,
  6443. org/omg/CORBA/ByteHolder.java,
  6444. org/omg/CORBA/CharHolder.java,
  6445. org/omg/CORBA/CharSeqHelper.java,
  6446. org/omg/CORBA/CharSeqHolder.java,
  6447. org/omg/CORBA/Context.java,
  6448. org/omg/CORBA/CurrentHelper.java,
  6449. org/omg/CORBA/CustomValue.java,
  6450. org/omg/CORBA/DataOutputStream.java,
  6451. org/omg/CORBA/DefinitionKindHelper.java,
  6452. org/omg/CORBA/DomainManagerOperations.java,
  6453. org/omg/CORBA/DoubleHolder.java,
  6454. org/omg/CORBA/DoubleSeqHelper.java,
  6455. org/omg/CORBA/DoubleSeqHolder.java,
  6456. org/omg/CORBA/DynAny.java,
  6457. org/omg/CORBA/DynSequence.java,
  6458. org/omg/CORBA/DynValue.java,
  6459. org/omg/CORBA/DynamicImplementation.java,
  6460. org/omg/CORBA/FieldNameHelper.java,
  6461. org/omg/CORBA/FixedHolder.java,
  6462. org/omg/CORBA/FloatHolder.java,
  6463. org/omg/CORBA/FloatSeqHelper.java,
  6464. org/omg/CORBA/FloatSeqHolder.java,
  6465. org/omg/CORBA/IdentifierHelper.java,
  6466. org/omg/CORBA/IntHolder.java,
  6467. org/omg/CORBA/LocalObject.java,
  6468. org/omg/CORBA/LongHolder.java,
  6469. org/omg/CORBA/LongLongSeqHelper.java,
  6470. org/omg/CORBA/LongLongSeqHolder.java,
  6471. org/omg/CORBA/LongSeqHelper.java,
  6472. org/omg/CORBA/LongSeqHolder.java,
  6473. org/omg/CORBA/ORB.java,
  6474. org/omg/CORBA/ObjectHelper.java,
  6475. org/omg/CORBA/ObjectHolder.java,
  6476. org/omg/CORBA/OctetSeqHelper.java,
  6477. org/omg/CORBA/OctetSeqHolder.java,
  6478. org/omg/CORBA/PolicyErrorCodeHelper.java,
  6479. org/omg/CORBA/PolicyErrorHelper.java,
  6480. org/omg/CORBA/PolicyHelper.java,
  6481. org/omg/CORBA/PolicyListHelper.java,
  6482. org/omg/CORBA/PolicyTypeHelper.java,
  6483. org/omg/CORBA/PrincipalHolder.java,
  6484. org/omg/CORBA/RepositoryIdHelper.java,
  6485. org/omg/CORBA/Request.java,
  6486. org/omg/CORBA/ShortHolder.java,
  6487. org/omg/CORBA/ShortSeqHelper.java,
  6488. org/omg/CORBA/ShortSeqHolder.java,
  6489. org/omg/CORBA/StringSeqHelper.java,
  6490. org/omg/CORBA/StringSeqHolder.java,
  6491. org/omg/CORBA/ULongLongSeqHelper.java,
  6492. org/omg/CORBA/ULongLongSeqHolder.java,
  6493. org/omg/CORBA/ULongSeqHelper.java,
  6494. org/omg/CORBA/ULongSeqHolder.java,
  6495. org/omg/CORBA/UShortSeqHelper.java,
  6496. org/omg/CORBA/UShortSeqHolder.java,
  6497. org/omg/CORBA/ValueBaseHelper.java,
  6498. org/omg/CORBA/ValueBaseHolder.java,
  6499. org/omg/CORBA/VersionSpecHelper.java,
  6500. org/omg/CORBA/WCharSeqHelper.java,
  6501. org/omg/CORBA/WCharSeqHolder.java,
  6502. org/omg/CORBA/WStringSeqHelper.java,
  6503. org/omg/CORBA/WStringSeqHolder.java,
  6504. org/omg/CORBA/WrongTransactionHelper.java,
  6505. org/omg/CORBA/_IDLTypeStub.java,
  6506. org/omg/CORBA/_PolicyStub.java,
  6507. org/omg/CORBA/portable/BoxedValueHelper.java,
  6508. org/omg/CORBA/portable/Delegate.java,
  6509. org/omg/CORBA/portable/ObjectImpl.java,
  6510. org/omg/CORBA/portable/ServantObject.java,
  6511. org/omg/CORBA/portable/StreamableValue.java,
  6512. org/omg/CosNaming/BindingType.java,
  6513. org/omg/CosNaming/IstringHelper.java,
  6514. org/omg/DynamicAny/FieldNameHelper.java,
  6515. org/omg/PortableServer/Servant.java: Documentation fixes.
  6516. 2006-09-04 David Gilbert <david.gilbert@object-refinery.com>
  6517. * java/awt/Rectangle.java
  6518. (setRect(double, double, double, double)): Modified rounding of input
  6519. values.
  6520. 2006-09-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  6521. * gnu/javax/swing/text/html/parser/HTML_401F.java (defineElements):
  6522. Disallow H1 - H6 in the paragraphs.
  6523. * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
  6524. (preprocess): Leave at most one leading and/or trailing space.
  6525. * javax/swing/text/html/HTMLDocument.java (HTMLReader.handleText):
  6526. Do not add any text after closing the HTML tag.
  6527. 2006-09-02 Roman Kennke <kennke@aicas.com>
  6528. PR 28928
  6529. * javax/swing/plaf/basic/BasicTextUI.java
  6530. (RootView.getPreferredSpan): Default to 10 when there is no
  6531. real view.
  6532. (RootView.getMinimumSpan): Forward to view and default to 10
  6533. when there is no real view.
  6534. (RootView.getMaximumSpan): Return Integer.MAX_VALUE.
  6535. (getMaximumSize): Check for overflow.
  6536. * javax/swing/text/FieldView.java
  6537. (getResizeWeight): Removed unneeded assignment.
  6538. 2006-09-01 Francis Kung <fkung@redhat.com>
  6539. * java/awt/image/ColorConvertOp.java
  6540. (copyImage): Updated javadoc and comments.
  6541. (copyRaster): Add javadoc.
  6542. (createCompatibleColorModel): Add javadocs and comments.
  6543. (createCompatibleDestImage): Use correct transfer type.
  6544. (createCompatibleDestRaster): Add new parameter for transfer type.
  6545. (filter): Use correct transfer type.
  6546. * java/awt/image/ConvolveOp.java: Updated javadocs.
  6547. (createCompatibleDestImage): Set new image properties correctly.
  6548. (filter(BufferedImage, BufferedImage): Correct handling of premultiplication.
  6549. (filter(WritableRaster, Raster): Clip sample values to [0-255].
  6550. 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
  6551. * javax/swing/table/DefaultTableModel.java:
  6552. (checkSize): Added null check for dataVector.
  6553. 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
  6554. * javax/swing/plaf/basic/BasicSplitPaneUI.java:
  6555. (BasicHorizontalLayout.getAlignmentX): Return fixed value.
  6556. (BasicHorizontalLayout.getAlignmentY): Return fixed value.
  6557. 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
  6558. * javax/swing/plaf/metal/MetalCheckBoxIcon.java:
  6559. (paintIcon): Removed unused import statements, lowered cast requirement
  6560. from JCheckBox to AbstractButton.
  6561. 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
  6562. * javax/swing/plaf/basic/BasicLookAndFeel.java:
  6563. (initComponentDefaults): Added, changed and removed some
  6564. tabbed pane properties.
  6565. 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
  6566. * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java:
  6567. (createContent): Changed menu item name and tab naming.
  6568. 2006-09-01 Roman Kennke <kennke@aicas.com>
  6569. PR 28922
  6570. * javax/swing/plaf/basic/BasicHTML.java
  6571. (HTMLRootView.getAttributes): Overridden to return null.
  6572. (HTMLRootView.getElement): Overridden to return the view's
  6573. element.
  6574. 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
  6575. * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
  6576. (calculateTabAreaHeight): Use getTabRunOverlay method instead
  6577. of accessing variable directly.
  6578. (calculateTabAreaWidth): Dito.
  6579. 2006-08-31 Keith Seitz <keiths@redhat.com>
  6580. * include/jvmti.h: Include jvmti_md.h.
  6581. 2006-08-31 Keith Seitz <keiths@redhat.com>
  6582. From Martin Platter <motse@complang.tuwien.ac.at>:
  6583. * Makefile.am (include_HEADERS): Include jvmti.h.
  6584. * include/jvmti.h (jvmtiEnv) [!__cplusplus]: Add missing '*'.
  6585. (jvmtiError): Remove superfluous comma after last entry.
  6586. (jvmtiEvent): It's "BREAKPOINT" not "BERAKPOINT".
  6587. (_Jv_jvmtiEnv.StopThread): Add missing exception parameter.
  6588. (_Jv_jvmtiEnv.RawMonitorWait): Add missing millis parameter.
  6589. (_Jv_jvmtiEnv.GetSourceFileName): source_name_ptr is pointer to
  6590. character pointer.
  6591. (_Jv_JVMTIEnv::StopThread): Add missing exception parameter.
  6592. (_Jv_JVMTIEnv::RawMonitorWait): Add missing millis parameter.
  6593. (_Jv_JVMTIEnv::GetSourceFileName): source_name_ptr is pointer to
  6594. character pointer.
  6595. 2006-08-31 Roman Kennke <kennke@aicas.com>
  6596. * javax/swing/text/BoxView.java
  6597. (getWidth): Return the width with insets added, not with one
  6598. added and one removed.
  6599. (getHeight): Return the height with insets added, not with one
  6600. added and one removed.
  6601. * javax/swing/text/GlyphView.java
  6602. (DefaultGlyphPainter.viewToModel): Need to add the start offset.
  6603. * javax/swing/text/ParagraphView.java
  6604. (Row.getAlignment): Adjust alignment with respect to
  6605. the justification attribute.
  6606. (Row.getLeftInset): Overridden to adjust for firstLineIndent
  6607. attribute.
  6608. * javax/swing/text/html/CSS.java
  6609. (getValue): Convert length values.
  6610. * javax/swing/text/html/Paragraph.java
  6611. (painter): New field.
  6612. (paint): Implemented to delegate painting to the BoxPainter too.
  6613. (setPropertiesFromAttributes): Implemented to load attributes
  6614. from CSS.
  6615. * javax/swing/text/html/StyleSheet.java
  6616. (BoxPainter.as): Removed field.
  6617. (BoxPainter.leftInset): New field.
  6618. (BoxPainter.bottomInset): New field.
  6619. (BoxPainter.rightInset): New field.
  6620. (BoxPainter.topInset): New field.
  6621. (BoxPainter.BoxPainter): Implemented to load the insets from
  6622. CSS.
  6623. (BoxPainter.getInset): Implemented.
  6624. * gnu/javax/swing/text/html/Length.java: New class.
  6625. Converts CSS length units to usable values.
  6626. 2006-08-31 Andreas Tobler <a.tobler@schweiz.ch>
  6627. * configure.ac: Add check for gethostbyname_r.
  6628. Add check for MSG_NOSIGNAL and SO_NOSIGPIPE.
  6629. * native/jni/native-lib/cpnet.c (SOCKET_NOSIGNAL): Define
  6630. SOCKET_NOSIGNAL according to the configure check.
  6631. (cpnet_send): Use SOCKET_NOSIGNAL.
  6632. (cpnet_sendTo): Likewise.
  6633. (cpnet_getHostByName): Use gethostbyname in case gethostbyname_r is not
  6634. defined.
  6635. * native/jni/native-lib/cpio.c: Define O_SYNC and O_DSYNC in case they
  6636. are not available.
  6637. * lib/Makefile.am (cssfiles): Add new rule to install css files.
  6638. 2006-08-31 Roman Kennke <kennke@aicas.com>
  6639. * javax/swing/JEditorPane.java
  6640. (getPreferredSize): Replace preferred size with minimum
  6641. UI size only if the scrollable does _not_ track the viewport
  6642. size and only if the viewport's size is smaller than the
  6643. scrollable's size.
  6644. (getScrollableTracksViewportWidth): Avoid unnecessary multiple
  6645. method calls.
  6646. * javax/swing/plaf/basic/BasicTextUI.java
  6647. (getPreferredSize): Read-lock the document to avoid
  6648. concurrency problems.
  6649. (getMaximumSize): Return maximum size of the view.
  6650. Read-lock the document to avoid concurrency problems.
  6651. (getMinimumSize): Return minimum size of the view.
  6652. Read-lock the document to avoid concurrency problems.
  6653. 2006-08-31 Gary Benson <gbenson@redhat.com>
  6654. * java/net/SocketPermission.java
  6655. (maybeBracketIPv6Address): Renamed to processHostport.
  6656. (processHostport): Also translate "" to "localhost".
  6657. (setHostPort): Remove special cases for empty hostport and for
  6658. extra colons in hostport (processHostport handles these now).
  6659. 2006-08-31 Mark Wielaard <mark@klomp.org>
  6660. * javax/swing/text/ZoneView.java (Zone): Make static class.
  6661. Constructor takes axis parameter.
  6662. (createZone): Create Zone with getAxis() as major axis.
  6663. 2006-08-30 Roman Kennke <kennke@aicas.com>
  6664. * javax/swing/text/ZoneView.java
  6665. (loadChildren): Implemented.
  6666. (getViewIndexAtPosition): Implemented.
  6667. (checkZoneAt): New helper method.
  6668. (splitZone): New helper method.
  6669. (getPreferredZoneEnd): New helper method.
  6670. 2006-08-30 Roman Kennke <kennke@aicas.com>
  6671. * javax/swing/text/ZoneView.java: New class.
  6672. 2006-08-30 Roman Kennke <kennke@aicas.com>
  6673. * javax/swing/JMenu.java
  6674. (getMenu): Removed unneeded cast.
  6675. (getPopupMenuOrigin): Made positioning algorithm better respect
  6676. the screen bounds.
  6677. (setMenuLocation): Also set the location on the popup if it's
  6678. not null.
  6679. (setModel): Use menuChangeListener so that we don't override
  6680. the changeListener field from AbstractButton.
  6681. (setPopupMenuVisible): Use custom location if set, otherwise
  6682. fallback to getPopupMenuOrigin().
  6683. 2006-08-29 Roman Kennke <kennke@aicas.com>
  6684. * javax/swing/text/InternationalFormatter.java
  6685. (stringToValue): Fixed bounds check.
  6686. * javax/swing/text/MaskFormatter.java
  6687. (MaskFormatter): Don't explicitly set allosInvalid property.
  6688. (convertStringToValue): New helper method.
  6689. (convertValueToString): New helper method.
  6690. (convertValue): Removed. Replaced by the 2 convert* methods
  6691. above.
  6692. (getPadCharAt): Removed.
  6693. (isCharValid): Removed.
  6694. (pad): Removed.
  6695. (stringToValue): Fixed stringToValue conversion.
  6696. (stripLiterals): Removed.
  6697. (valueToString): Fixed valueToString conversion.
  6698. * javax/swing/text/DefaultFormatter.java
  6699. (DefaultFormatter): Default to commitsOnValidEdit = false.
  6700. 2006-08-29 Roman Kennke <kennke@aicas.com>
  6701. * javax/swing/text/TextAction.java
  6702. (getTextComponent): Check event for null and return null in
  6703. this case.
  6704. (augmentList): Augment Actions based on their names.
  6705. * javax/swing/text/DefaultEditorKit.java
  6706. (BeginAction.actionPerformed): Check target for null.
  6707. (BeginLineAction.actionPerformed): Check target for null.
  6708. (CopyAction.actionPerformed): Check target for null.
  6709. (CutAction.actionPerformed): Check target for null.
  6710. (EndAction.actionPerformed): Check target for null.
  6711. (EndLineAction.actionPerformed): Check target for null.
  6712. (InsertBreakAction.actionPerformed): Check target for null.
  6713. (InsertTabAction.actionPerformed): Check target for null.
  6714. (PasteAction.actionPerformed): Check target for null.
  6715. (SelectAllAction.actionPerformed): Check target for null.
  6716. (SelectionBeginAction.actionPerformed): Check target for null.
  6717. (SelectionBeginLineAction.actionPerformed): Check target for null.
  6718. (SelectionEndAction.actionPerformed): Check target for null.
  6719. (SelectionEndLineAction.actionPerformed): Check target for null.
  6720. (SelectLineAction.actionPerformed): Check target for null.
  6721. (SelectWordAction.actionPerformed): Check target for null.
  6722. 2006-08-29 Roman Kennke <kennke@aicas.com>
  6723. * javax/swing/plaf/basic/BasicTextUI.java
  6724. (FocusHandler): New class. This is moved from the anonymous
  6725. inner focus listener class to a static member class, and
  6726. is now shared between components.
  6727. (DocumentHandler): This class is combined with the PropertyHandler
  6728. into the Handler class.
  6729. (PropertyChangeHandler): This class is combined with the
  6730. DocumentHandler into the Handler class.
  6731. (Handler): New class. This combines the Property and Document
  6732. handler into one class.
  6733. (RootView.changedUpdate): Only forward if real view != null.
  6734. (RootView.insertUpdate): Only forward if real view != null.
  6735. (RootView.removeUpdate): Only forward if real view != null.
  6736. (documentHandler): Removed field and replaced by handler.
  6737. (focuslistener): Made field static and renamed to focusListener.
  6738. (handler): New field.
  6739. (kit): Lazily initialize field.
  6740. (rootView): Lazily initialize field.
  6741. (updateHandler): Removed and replaced by handler.
  6742. (getEditorKit): Lazily instantiate field.
  6743. (installDefaults): Don't set margin twice. Install correct
  6744. property for disabledTextColor. Moved caret and highlighter
  6745. initialization to installFixedDefaults.
  6746. (installFixedDefaults): New method. Installs defaults that
  6747. can't be overridden by subclasses.
  6748. (installListeners): Only install focus handler when new
  6749. system property gnu.swing.text.no-xlike-clipboard is not set.
  6750. Lazily initialize focus handler.
  6751. (installUI): Lazily initialize rootView. Install handler
  6752. both for property and document changes.
  6753. (uninstallDefaults): Uninstall the UI defaults.
  6754. (uninstallFixedDefaults): New method. Uninstalls the fixed
  6755. defaults.
  6756. (installListeners): Only uninstall focus handler when not null.
  6757. (uninstallUI): Uninstall property and document listener here.
  6758. 2006-08-29 Gary Benson <gbenson@redhat.com>
  6759. * java/net/SocketPermission.java
  6760. (maybeBracketIPv6Address): New method.
  6761. (<init>): Pass the hostport argument through the above.
  6762. * java/net/NetworkInterface.java (getInetAddresses):
  6763. Don't bracket IPv6 addresses.
  6764. 2006-08-28 Roman Kennke <kennke@aicas.com>
  6765. * javax/swing/text/BoxView.java
  6766. (calculateMinorAxisRequirements): Initialize max size
  6767. with Integer.MAX_VALUE.
  6768. * javax/swing/text/Utilities.java
  6769. (getBreakLocation): For simple chars, scan the text directly.
  6770. * javax/swing/text/WrappedPlainView.java
  6771. (tabBase): New field.
  6772. (tabSize): New field.
  6773. (calculateBreakPosition): Use Utilities. Fixed for correct
  6774. break calculation.
  6775. (changedUpdate): Update children directly.
  6776. (insertUpdate): Update children directly. Notify children.
  6777. (removeUpdate): Update children directly. Notify children.
  6778. (updateChildren): New helper method.
  6779. (nextTabStop): Fixed to return correct results.
  6780. (paint): Update tabBase.
  6781. (updateMetrics): Update tab size.
  6782. 2006-08-28 Roman Kennke <kennke@aicas.com>
  6783. * javax/swing/text/Position.java
  6784. (Bias.Forward): Initialize with 'Forward' rather then 'forward'.
  6785. (Bias.Backward): Initialize with 'Backward' rather then 'backward'.
  6786. 2006-08-28 Roman Kennke <kennke@aicas.com>
  6787. * javax/swing/text/View.java
  6788. (height): Removed unneeded field.
  6789. (width): Removed unneeded field.
  6790. (getBreakWeight): Return GoodBreakWeight when pos is after
  6791. the view's span.
  6792. (getToolTipText): Check view index more carefully. Avoid
  6793. Rectangle creation.
  6794. (insertUpdate): Only execute method body if view count > 0.
  6795. When updateChildren returns false, clear the ec variable.
  6796. (updateChildren): Added null checks.
  6797. (viewToModel): Initialize bias array correctly.
  6798. * javax/swing/text/CompositeView.java
  6799. (children): Made private.
  6800. (numChildren): New field.
  6801. (loadChildren): Check factory for null. Don't load children
  6802. when factory is null.
  6803. (replace): Removed null check. Nullify removed children. Made
  6804. growing the array more efficient.
  6805. (getViewCount): Return numChildren rather then the real array
  6806. size.
  6807. * javax/swing/text/BoxView.java
  6808. (getViewAtPoint): Fixed algorithm for finding the view.
  6809. (replace): Made array growing more efficient.
  6810. (replaceLayoutArray): New helper method for growing/patching
  6811. the layout arrays.
  6812. (viewToModel): Make sure we have a valid layout.
  6813. 2006-08-28 Tania Bento <tbento@redhat.com>
  6814. * java/awt/MenuShortcut.java
  6815. (MenuShortcut (int, boolean)): Set keyName.
  6816. (toString): Modified string output.
  6817. (setKeyName): New private method.
  6818. 2006-08-28 Roman Kennke <kennke@aicas.com>
  6819. * javax/swing/text/GapContent.java
  6820. (Mark.getOffset): Made assert less strict, include boundary.
  6821. (search): Made package private to avoid accessor method.
  6822. 2006-08-28 Roman Kennke <kennke@aicas.com>
  6823. * javax/swing/text/StringContent.java
  6824. (InsertUndo.positions): New field.
  6825. (InsertUndo.redo): Update the undo positions.
  6826. (InsertUndo.undo): Fetch the undo positions.
  6827. (Mark): New class. Layer of indirection to allow Positions
  6828. to be GC'ed while we still hold references to the Mark.
  6829. (RemoveUndo.len): New field.
  6830. (RemoveUndo.positions): New field.
  6831. (RemoveUndo.RemoveUndo): Fetch undo positions.
  6832. (RemoveUndo.redo): Re-fetch positions and string.
  6833. (RemoveUndo.undo): Update undo positions.
  6834. (StickyPosition.mark): New field.
  6835. (StickyPosition.offset): Removed field.
  6836. (StickyPosition.StickyPosition): Create new Mark. Register
  6837. Position in queueOfDeath. Update reference count on mark.
  6838. (StickyPosition.getOffset): Return offset stored in mark.
  6839. (StickyPosition.setOffset): Removed unneeded method.
  6840. (UndoPosRef): New class. Handles undo/redo on positions/marks.
  6841. (EMPTY): New field.
  6842. (marks): New field. Stores the marks.
  6843. (positions): Removed field.
  6844. (queueOfDeath): New field. Used for GCing the positions.
  6845. (StringContent): Initialize queueOfDeath.
  6846. (createPosition): Lazily create marks vector.
  6847. (garbageCollect): New helper method. Collects positions
  6848. to be GCed and updates their marks.
  6849. (getChars): Fixed bounds check.
  6850. (getPositionsInRange): When v == null, create new Vector,
  6851. otherwise use v. Store UndoPosRefs in vector.
  6852. (getString): Added comment about bug in RI.
  6853. (insertString): Use new helper method for replacing the array.
  6854. Correctly update positions.
  6855. (length): Removed this qualifier.
  6856. (remove): Use new helper method for replacing the array.
  6857. Correctly update positions.
  6858. (replace): New helper method for growing or patching the array.
  6859. (updateUndoPositions): Implemented. Updates the positions
  6860. for undo/redo operations.
  6861. 2006-08-27 Roman Kennke <kennke@aicas.com>
  6862. * javax/swing/text/StyleContext.java
  6863. (NamedStyle.attributes): Made field transient.
  6864. (NamedStyle.changeEvent): Made field transient.
  6865. (NamedStyle.name): Removed field. The name is stored as
  6866. attribute.
  6867. (NamedStyle.NamedStyle(String,Style)): Call setName() for
  6868. storing the name and check for null name and resolveParent.
  6869. Don't initialize changeEvent.
  6870. (NamedStyle.copyAttributes): Return a new NamedStyle,
  6871. rather than a plain copy of the attributes field.
  6872. (NamedStyle.fireStateChange): Lazily create changeEvent
  6873. field.
  6874. (NamedStyle.getName): Fetch name from attributes.
  6875. (NamedStyle.setName): Store name from attributes.
  6876. (NamedStyle.readObject): Implemented for correct
  6877. deserialization.
  6878. (NamedStyle.writeObject): Implemented for correct
  6879. serialization.
  6880. (NamedStyle.setResolveParent): When new parent is null,
  6881. remove resolveParent attribute. Use addAttribute() method
  6882. rather than StyleContext addAttribute().
  6883. (NamedStyle.toString): Fixed to produce output equal to the
  6884. RI.
  6885. (SmallAttributeSet.resolveParent): New field.
  6886. (SmallAttributeSet.SmallAttributeSet(AttributeSet)): Update
  6887. the resolveParent field correctly.
  6888. (SmallAttributeSet.SmallAttributeSet(Object[])): Don't copy
  6889. array but store it directly. Update
  6890. the resolveParent field correctly.
  6891. (SmallAttributeSet.clone): Return this as the object is
  6892. immutable.
  6893. (SmallAttributeSet.containsAttributes): Make sure that keys
  6894. and values are the same.
  6895. (SmallAttributeSet.containsAttribute): Make sure that keys
  6896. and values are the same.
  6897. (SmallAttributeSet.copyAttributes): Return this as the object is
  6898. immutable.
  6899. (SmallAttributeSet.equals): Fixed comparison. Two AttributeSet
  6900. are equal if they have the same number of attributes and
  6901. one contains the other.
  6902. (SmallAttributeSet.getAttribute): Improved lookup of
  6903. resolveParent.
  6904. (SmallAttributeSet.getResolveParent): Improved lookup of
  6905. resolveParent.
  6906. (SmallAttributeSet.isEqual): When comparing object is a
  6907. SmallAttributeSet, consider them equal only if they are the
  6908. same object.
  6909. (SmallAttributeSet.toString): Fixed to produce output equal to the
  6910. RI.
  6911. (attributeSetPool): New field.
  6912. (defaultStyleContext): Initialize lazily.
  6913. (defaultStyle): Removed field. This is stored in the style context
  6914. as attribute.
  6915. (listenerList): Removed field. The NamedStyle stores the
  6916. listeners.
  6917. (readAttributeKeys): New static field. Used for looking up
  6918. the serialization mappings when reading.
  6919. (search): New field. Used as search key.
  6920. (staticAttributeKeys): Replaced by read/writeAttributeKeys.
  6921. (styles): New field. Stores the styles and listeners.
  6922. (styleTable): Removed field. Replaced by styles field.
  6923. (writeAttributeKeys): New static field. Used for looking up
  6924. the serialization mappings when writing.
  6925. (static_initializer): Register mappings for all keys in
  6926. StyleConstants.
  6927. (StyleContext): Initialize styles correctly.
  6928. (addAttributes): Fixed caching of immutable attributes.
  6929. (addAttribute): Fixed caching of immutable attributes.
  6930. (removeAttributes): Fixed caching of immutable attributes.
  6931. (removeAttribute): Fixed caching of immutable attributes.
  6932. (addChangeListener): Add listener to styles field.
  6933. (removeChangeListener): Remove listener from styles field.
  6934. (getChangeListeners): Fetch listeners from styles field.
  6935. (addStyle): Add style to styles field.
  6936. (cleanupPool): New method.
  6937. (getDefaultStyleContext): Lazily create context.
  6938. (getEmptySet): Simply return SimpleAttributeSet.EMPTY.
  6939. (getMutableAttributeSet): New helper method. Used for
  6940. caching.
  6941. (getStaticAttribute): Fetch key from readAttributeKeys.
  6942. (getStyleNames): Return names from styles field.
  6943. (getStyle): Lookup style in styles field.
  6944. (removeStyle): Remove style from styles field.
  6945. (readAttributeSet): Fixed deserialization.
  6946. (writeAttributeSet): Fixed serialization.
  6947. (readObject): Fixed deserialization.
  6948. (writeObject): Fixed serialization.
  6949. (reclaim): Simply cleanup the pool.
  6950. (registerStaticAttributeKey): Store mapping in both ways.
  6951. (searchImmutableSet): New helper method for caching.
  6952. (toString): Fixed for output like the RI.
  6953. * javax/swing/text/StyleConstants.java
  6954. (keys): New field. Stores all known keys.
  6955. (StyleConstants): Store created key in keys list.
  6956. * javax/swing/event/EventListenerList.java
  6957. (readObject): Fixed deserialization.
  6958. (writeObject): Fixed serialization.
  6959. 2006-08-25 Roman Kennke <kennke@aicas.com>
  6960. * javax/swing/text/CompositeView.java
  6961. (insets): Removed. Replaced by single short fields.
  6962. (top): New field. Replaces insets.
  6963. (bottom): New field. Replaces insets.
  6964. (left): New field. Replaces insets.
  6965. (right): New field. Replaces insets.
  6966. (CompositeView): Initialize insets fields.
  6967. (createDefaultLocation): Removed unneeded method.
  6968. (getBottomInset): Return field directly.
  6969. (getTopInset): Return field directly.
  6970. (getLeftInset): Return field directly.
  6971. (getRightInset): Return field directly.
  6972. (getInsideAllocation): Adjusted to work on new insets fields.
  6973. (getViewIndex): Fixed check.
  6974. (loadChildren): Don't replace the old children.
  6975. (replace): Make sure that there is an array to operate on.
  6976. Only set parent to null, when it is this View.
  6977. (setInsets): Adjusted to work with new insets fields.
  6978. (setParagraphInsets): Fixed to pull insets directly from
  6979. StyleConstants.
  6980. 2006-08-25 Roman Kennke <kennke@aicas.com>
  6981. * javax/swing/text/ComponentView.java
  6982. (Interceptor): New inner helper class. Used to propagate
  6983. invalidate requests and cache component layout sizes.
  6984. (interceptor): New field.
  6985. (getAlignment): Fetch alignment from interceptor container.
  6986. (getComponent): Don't create component here. This is done
  6987. in setParent().
  6988. (getMaximumSpan): Fetch layout info from interceptor. Check
  6989. for illegal axis.
  6990. (getMinimumSpan): Fetch layout info from interceptor. Check
  6991. for illegal axis.
  6992. (getPreferredSpan): Fetch layout info from interceptor. Check
  6993. for illegal axis.
  6994. (modelToView): Fixed model to view mapping.
  6995. (viewToModel): Fixed view to model mapping.
  6996. (paint): Check for null. Set bounds on interceptor rather
  6997. then component.
  6998. (setParentImpl): Install interceptor between component
  6999. and hosting container.
  7000. (setParent): Call super.setParent() immediately.
  7001. 2006-08-25 Roman Kennke <kennke@aicas.com>
  7002. * javax/swing/text/LabelView.java
  7003. (setPropertiesFromAttributes): Only set background when
  7004. the corresponding attribute is actually defined, otherwise
  7005. set to null, as the StyleConstants would return black.
  7006. * javax/swing/text/DefaultStyledDocument.java
  7007. (ElementBuffer.documentEvent): Removed obsolete field.
  7008. (ElementBuffer.change): Do prepareEdits() and finishEdits()
  7009. to correctly update the element structure.
  7010. (ElementBuffer.insertContentTag): Removed unused statement.
  7011. (ElementBuffer.recreateAfterFracture): Removed
  7012. unused obsolete method.
  7013. (setCharacterAttributes): Removed unused statement.
  7014. 2006-08-25 Roman Kennke <kennke@aicas.com>
  7015. * examples/gnu/classpath/examples/swing/Demo.java
  7016. (LaterMain.run): Removed unused local variable.
  7017. (Demo): Don't put desktop in scrollpane.
  7018. (addChildren): Removed unused method.
  7019. (mkButtonBar): Added HTML demo.
  7020. (mkMenuBar): Added HTML demo.
  7021. (mkPanel): Removed unused method.
  7022. (mkScrollPane): Removed unused method.
  7023. (mkTree): Removed unused method.
  7024. (valign2str): Removed unused method.
  7025. * examples/gnu/classpath/examples/swing/HtmlDemo.java:
  7026. Initialize text field with some HTML that already works.
  7027. (DEBUG): New field. Set to true for debugging output.
  7028. (createContent): Dump element tree after parsing.
  7029. 2006-08-25 Roman Kennke <kennke@aicas.com>
  7030. * javax/swing/text/html/CSS.java
  7031. (getValue): Added color value conversion.
  7032. * javax/swing/text/html/HTMLDocument.java
  7033. (HTMLReader.ConvertAction): New class, converts HTML style tags
  7034. to CSS attributes.
  7035. (HTMLReader.initTags): Register ConvertAction for <font> tag.
  7036. * javax/swing/text/html/InlineView.java
  7037. (setPropertiesFromAttributes): Implemented to fetch
  7038. CSS character attributes.
  7039. * javax/swing/text/html/StyleSheet.java
  7040. (addCSSAttribute): Convert value.
  7041. (getBackground): Implemented to fetch CSS background color
  7042. attribute.
  7043. (getForeground): Implemented to fetch CSS color
  7044. attribute.
  7045. (getFont): Adjust font size for superscript and subscript.
  7046. (translateHTMLToCSS): Rudimentary implementation that
  7047. copies the original attributes, so that any CSS attributes in
  7048. there are preserved.
  7049. (stringToColor): Use CSSColor for conversion.
  7050. * gnu/javax/swing/text/html/css/CSSColor.java:
  7051. New class. Converts CSS color values to RGB color values.
  7052. * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
  7053. Removed. This is more or less replaced by CSSColor and the
  7054. ConvertAction in HTMLReader.
  7055. 2006-08-25 Roman Kennke <kennke@aicas.com>
  7056. * javax/swing/text/BoxView.java
  7057. (childReqs): Removed obsolete field.
  7058. (baselineLayout): Reimplemented for correct baseline layout.
  7059. (baselineRequirements): Reimplemented for correct baseline
  7060. layout.
  7061. (updateChildRequirements): Removed obsolete method.
  7062. * javax/swing/text/GlyphView.java
  7063. (DefaultGlyphPainter.getSpan): Removed unused statement.
  7064. (DefaultGlyphPainter.paint): Dont paint subscript/superscript
  7065. specially. The subscript/superscript layout is performed
  7066. via the alignment, the font is supplied by the StyleContext.
  7067. (breakView): Removed unused statements.
  7068. (getAlignment): Adjust alignment according to the
  7069. superscript/subscript setting.
  7070. (getFont): Reimplemented to fetch the font from the style
  7071. context, or from the document if the stylecontext is not
  7072. available.
  7073. (getPreferredSpan): Adjust span for superscript. Use switch
  7074. instead of if-else.
  7075. * javax/swing/text/LabelView.java
  7076. (setPropertiesFromAttributes): Fetch background and foreground
  7077. from document / style context.
  7078. (isSubscript): Resync properties if needed.
  7079. * javax/swing/text/ParagraphView.java
  7080. (Row.calculateMinorAxisRequirements): Overridden to perform
  7081. a baseline layout.
  7082. (Row.layoutMinorAxis): Overridden to perform a baseline layout.
  7083. 2006-08-24 Roman Kennke <kennke@aicas.com>
  7084. * javax/swing/text/Utilities.java
  7085. (BUF_LENGTH): Removed unused field.
  7086. (drawTabbedText): Removed unneeded cast.
  7087. (getBreakLocation): Removed unneeded cast.
  7088. Fixed offset to account for Segments not starting at 0.
  7089. 2006-08-24 Roman Kennke <kennke@aicas.com>
  7090. * javax/swing/plaf/basic/BasicTabbedPaneUI.java
  7091. (TabbedPaneLayout.normalizeTabRuns): Removed unused statement.
  7092. (TabbedPaneScrollLayout.layoutContainer): Likewise.
  7093. (ScrollingPane.updateUI): Likewise.
  7094. (calculateTabWidth): Rewritten to correctly and efficiently
  7095. layout the tab width.
  7096. (layoutLabel): Call SwingUtilities method with the tabPane
  7097. as argument.
  7098. (paintContentBorderLeftEdge): Removed unused statement.
  7099. (paintContentBorderRightEdge): Removed unused statement.
  7100. (paintContentBorder): Removed unused statement.
  7101. 2006-08-24 Roman Kennke <kennke@aicas.com>
  7102. * javax/swing/plaf/basic/BasicTextUI.java
  7103. (RootView.getAttributes): Overridden to return null,
  7104. as the RootView has no parent.
  7105. 2006-08-24 Roman Kennke <kennke@aicas.com>
  7106. * javax/swing/text/html/CSSParser.java: Removed.
  7107. * javax/swing/text/html/CSS.java
  7108. (getValue): New helper method. Returns special converter
  7109. instances for certain kinds of property values.
  7110. * javax/swing/text/html/HTMLDocument.java
  7111. (HTMLReader.CharacterAction.start): Don't translate tags
  7112. here. Instead, store the attributes directly with the tag
  7113. as key.
  7114. (content): Removed field. The Content object is handled
  7115. by AbstractDocument.
  7116. (styleSheet): Removed field. The styleSheet is the styleContext
  7117. of this document and handled by the DefaultStyledDocument already.
  7118. (HTMLDocument(Content,StyleSheet): Simply call super here.
  7119. The super classes already handle the content and styleContext.
  7120. (HTMLDocument()): Call this() with a default GapContent and
  7121. StyleSheet.
  7122. (getStyleSheet): Return the styleContext here.
  7123. (insertUpdate): New method. Overridden to add the
  7124. CONTENT dummy tag to the element's attributes.
  7125. (setBase): Set the base on the styleContext.
  7126. * javax/swing/text/html/HTMLEditorKit.java
  7127. (styleContext): Removed unneeded field.
  7128. (styleSheet): Made field private.
  7129. (HTMLEditorKit): Do nothing here. The StyleSheet is
  7130. created lazily in getStyleSheet(). A styleContext is not
  7131. needed here.
  7132. (getStyleSheet): Create StyleSheet correctly.
  7133. (insertHTML): Removed unneeded cast.
  7134. * javax/swing/text/html/InlineView.java
  7135. (attributes): New field.
  7136. (changedUpdate): Reload attributes. Trigger preferenceChanged.
  7137. (getAttributes): Implemented to fetch the attributes from
  7138. the stylesheet.
  7139. * javax/swing/text/html/MultiAttributeSet.java: New class.
  7140. Multiplexes between several AttributeSets.
  7141. * javax/swing/text/html/MultiStyle.java: New class.
  7142. Multiplexes between several Styles.
  7143. * javax/swing/text/html/ParagraphView.java
  7144. (attributes): New field.
  7145. (getAttributes): Implemented to fetch the attributes from
  7146. the stylesheet.
  7147. * javax/swing/text/html/StyleSheet.java
  7148. (CssParser): Removed inner class.
  7149. (CSSStyle): New inner class. Represents a style defined
  7150. by a CSS rule.
  7151. (CSSStyleSheetParserCallback): New class, for parsing
  7152. CSS stylesheets.
  7153. (css): New field. Stores the CSS rules.
  7154. (resolvedStyles): New field. Stores resolved styles.
  7155. (StyleSheet): Initialize resolvedStyles map.
  7156. (addRule): Removed bogus impl.
  7157. (getFont): Implemented to fetch font, based on CSS rules.
  7158. (getResolvedStyle): New helper method. Looks up resolved
  7159. styles, and resolves a style if necessary.
  7160. (resolveStyle): New pair of helper methods. Resolves
  7161. CSS style rules.
  7162. (getRule(String)): Provide rudimentary implementation.
  7163. (getRule(Tag,Element)): Implemented.
  7164. (getViewAttributes): Implemented.
  7165. (loadRules): Implemented.
  7166. (translateHTMLToCSS): Tagged as not implemented.
  7167. * javax/swing/text/html/ViewAttributeSet.java: New class.
  7168. 2006-08-24 Roman Kennke <kennke@aicas.com>
  7169. * javax/swing/text/FlowView.java:
  7170. (LogicalView.getAttributes): New method. Overrides super
  7171. impl to return the attributes of the FlowView instance.
  7172. * javax/swing/text/LabelView.java:
  7173. (setPropertiesFromAttributes): Fetch attributes from
  7174. View, rather then from the Element. (In the HTML
  7175. package the getAttributes() method is overridden to
  7176. return different attributes). Fetch font from the StyledDocument.
  7177. 2006-08-24 Roman Kennke <kennke@aicas.com>
  7178. * javax/swing/text/DefaultEditorKit.java:
  7179. (DefaultKeyTypedAction.actionPerform): Also filter
  7180. ALT and CTRL modifiers.
  7181. 2006-08-24 Roman Kennke <kennke@aicas.com>
  7182. * gnu/javax/swing/text/html/css/FontSize.java,
  7183. * gnu/javax/swing/text/html/css/FontStyle.java,
  7184. * gnu/javax/swing/text/html/css/FontWeight.java:
  7185. New classes. Used to convert CSS font attributes to AWT/Swing
  7186. Font constants.
  7187. 2006-08-24 Francis Kung <fkung@redhat.com>
  7188. * gnu/java/awt/color/PyccConverter.java: Throw UnsupportedOperationExceptions.
  7189. * java/awt/image/ColorConvertOp.java: Updated javadocs.
  7190. (srccs, dstcs, rasterValid): Variables removed.
  7191. (ColorConvertOp(RenderingHints)): Initialize spaces to empty array.
  7192. (copyRaster): Check for null rendering hints
  7193. (createCompatibleColorModel): New private method.
  7194. (createCompatibleDestImage): Re-implemented.
  7195. (createCompatibleDestRaster(Raster, ColorSpace, boolean)): New private method.
  7196. (createCompatibleDestRaster(Raster)): Re-implemented.
  7197. (filter(BufferedImage, BufferedImage)): Add checks; fix temp image creation.
  7198. (filter(Raster, WritableRaster)): Add checks; fix temp raster creation.
  7199. (getPoint2D): Clean up formatting.
  7200. * java/awt/image/ComponentColorModel.java
  7201. (constructor): use findBits method instead of passing null.
  7202. (findBits): New method.
  7203. 2006-08-24 Gary Benson <gbenson@redhat.com>
  7204. * java/net/NetworkInterface.java (getInetAddresses): Bracket IPv6
  7205. addresses.
  7206. 2006-08-24 Jeroen Frijters <jeroen@frijters.net>
  7207. * java/lang/ref/Reference.java
  7208. (queue, nextOnQueue): Made volatile.
  7209. (enqueue): Made thread safe.
  7210. * java/lang/ref/ReferenceQueue.java
  7211. (lock): New field.
  7212. (poll): Removed synchronized.
  7213. (enqueue): Changed to synchronize on lock object, to update Reference
  7214. state and return success status.
  7215. (dequeue, remove): Synchronize on lock object.
  7216. 2006-08-24 Jeroen Frijters <jeroen@frijters.net>
  7217. * java/security/SecureClassLoader.java
  7218. (protectionDomainCache): Changed to HashMap.
  7219. (SecureClassLoader): Removed redundant security check.
  7220. (defineClass(String,byte[],int,int,CodeSource): Moved
  7221. protection domain lookup/construction to new method.
  7222. (defineClass(String,ByteBuffer,CodeSource): New method.
  7223. (getProtectionDomain): New method.
  7224. 2006-08-23 Roman Kennke <kennke@aicas.com>
  7225. * javax/swing/JComponent.java
  7226. (isRepainting): Made package private.
  7227. (paintChild): New field.
  7228. (findOpaqueParent): Removed method. This is now in
  7229. paintImmediately().
  7230. (findOverlapFreeParent): Removed method. This is now
  7231. in paintImmediately2().
  7232. (findPaintRoot): Removed method. This is now
  7233. in paintImmediately2().
  7234. (isCompletelyObscured): Changed to take rectangle as single
  7235. ints as argument.
  7236. (isPaintingDoubleBuffered): Removed method. This is now
  7237. in paintImmediately2().
  7238. (isPartiallyObscured): New helper method.
  7239. (onTop): New helper method for optimization.
  7240. (paintChildren): Paint only to specific child when
  7241. requested like this from paintImmediately2().
  7242. (paintDoubleBuffered): Changed to take rectangle as single int
  7243. arguments.
  7244. (paintImmediately2): Changed to take rectangle as single int
  7245. arguments. Optimized determination of paint root.
  7246. (paintImmediately(Rectangle)): Change to delegate to
  7247. paintImmediately(int,int,int,int).
  7248. (paintImmediately(int,int,int,int)): Look for opaque ancestor
  7249. and start painting there.
  7250. (paint): Call paintDoubleBuffered() with int arguments. Only
  7251. paint component, when not completely occupied by opaque child.
  7252. (processKeyBinding): Removed unnecessary cast.
  7253. (isOccupiedByChild): New helper method.
  7254. * javax/swing/RepaintManager.java
  7255. (repaintUnderway): Removed obsolete field.
  7256. (commitRequests): Removed obsolete field.
  7257. (RepaintManager): Removed initialization of obsolete fields.
  7258. (addDirtyRegion): Removed unused statement.
  7259. (commitBuffer): Changed to take plain ints as argument.
  7260. (compileRepaintRoots): Optimized to avoid use of Rectangle.
  7261. Compute offsets in place, rather than using SwingUtilities.
  7262. (paintDirtyRegions): Removed unused field.
  7263. * javax/swing/JMenuItem.java
  7264. (onTop): Return true when not descendant of JInternalFrame.
  7265. * javax/swing/JPopupMenu.java
  7266. (onTop): Return true.
  7267. * javax/swing/JToolTip.java
  7268. (onTop): Return true.
  7269. * javax/swing/JViewport.java
  7270. (paintImmediately2): Change signature to match the
  7271. corresponding JComponent method.
  7272. 2006-08-23 Tania Bento <tbento@redhat.com>
  7273. * java/awt/Color.java
  7274. (brighter): Modified algorithm to correctly determine the
  7275. new brighter colour.
  7276. 2006-08-23 Roman Kennke <kennke@aicas.com>
  7277. * java/awt/Container.java
  7278. (maxSize): Removed field. This is already declared in Component.
  7279. (validateTree): Check for ContainerPeer. Don't addNotify here.
  7280. Only validate Component instances if they are invalid.
  7281. 2006-08-22 Roman Kennke <kennke@aicas.com>
  7282. * javax/swing/JComponent.java
  7283. (preferredSize): Removed field.
  7284. (maximumSize): Removed field.
  7285. (minimumSize): Removed field.
  7286. (getMaximumSize): Adjusted to delegate to Component, rather
  7287. then managing the size in JComponent.
  7288. (getMinimumSize): Adjusted to delegate to Component, rather
  7289. then managing the size in JComponent.
  7290. (getPreferredSize): Adjusted to delegate to Component, rather
  7291. then managing the size in JComponent.
  7292. (isMaximumSizeSet): Removed.
  7293. (isMinimumSizeSet): Removed.
  7294. (isPreferredSizeSet): Removed.
  7295. (setMaximumSize): Removed.
  7296. (setMinimumSize): Removed
  7297. (setPreferredSize): Removed.
  7298. 2006-08-22 Roman Kennke <kennke@aicas.com>
  7299. * javax/swing/AbstractButton.java
  7300. (ButtonChangeListener.stateChanged): Delegate to combined
  7301. handler.
  7302. (EventHandler): New inner class. Handles all three types
  7303. of events on the model.
  7304. (eventHandler): New field. Stores the combined event
  7305. handler.
  7306. (AbstractButton): Moved listener initialization to
  7307. setModel().
  7308. (createActionListener): Return combined handler.
  7309. (createChangeListener): Return combined handler.
  7310. (createItemListener): Return combined handler.
  7311. (getEventHandler): New helper method for creating the combined
  7312. handler.
  7313. (setModel): Initialize listeners here.
  7314. * javax/swing/plaf/basic/BasicButtonListener.java
  7315. (ButtonAction): New class. Implements the keyboard action
  7316. for buttons.
  7317. (checkOpacity): Implemented.
  7318. (createDefaultActionMap): New helper method.
  7319. (installKeyboardActions): Rewritten to install InputMap
  7320. and ActionMap according to 'new' keyboard input method.
  7321. (mouseClicked): Commented as no-op.
  7322. (mouseDragged): Commented as no-op.
  7323. (mouseMoved): Commented as no-op.
  7324. (propertyChange): Check for contentAreaFilled change and
  7325. update opacity. Pull handling of HTLM in font and text handler.
  7326. (stateChanged): Repaint button.
  7327. (uninstallKeyboardActions): Properly uninstall keyboard actions.
  7328. * javax/swing/plaf/basic/BasicButtonUI.java
  7329. (listener): Removed.
  7330. (sharedListener): New static field. Stores the shared listener.
  7331. (sharedUI): New static field. Stores the shared UI.
  7332. (createButtonListener): Return shared instance here.
  7333. (createUI): Return shared instance here.
  7334. (getButtonListener): New helper method. Looks for the
  7335. BasicButtonListener installed on a button and returns it.
  7336. (installDefaults): Correctly install rollover property here.
  7337. Fetch defaultTextShiftOffset. Initialize opaqueness correctly.
  7338. (installKeyboardActions): Fetch listener with new helper method.
  7339. (installListeners): Don't use removed field. Check for null.
  7340. (installUI): Added comment about order of method invocations.
  7341. (uninstallDefaults): Don't uninstall non-uninstallable properties.
  7342. (uninstallKeyboardActions): Fetch listener with new helper method.
  7343. (uninstallListeners): Fetch listener with new helper method.
  7344. (paintIcon): Paint icon offset when pressed and armed.
  7345. * javax/swing/plaf/metal/MetalButtonListener.java: Removed.
  7346. * javax/swing/plaf/metal/MetalButtonUI.java
  7347. (sharedUI): New field. Stores the shared UI.
  7348. (MetalButtonUI): Don't initialize fields here.
  7349. (createButtonListener): Removed method. Use super impl.
  7350. (createUI): Return shared instance.
  7351. (getDisabledTextColor): Update field here.
  7352. (getFocusColor): Update field here.
  7353. (getSelectColor): Update field here.
  7354. (installDefaults): Don't handle rollover property here.
  7355. (uninstallDefaults): Don't handle rollover property here.
  7356. (paintButtonPressed): Use accessor method to update the
  7357. field value.
  7358. 2006-08-21 Mark Wielaard <mark@klomp.org>
  7359. Merge NATIVE_LAYER branch.
  7360. 2006-08-20 Mark Wielaard <mark@klomp.org>
  7361. * doc/tools.texinfo: Add file from trunk.
  7362. * native/jni/Makefile.am (DIST_SUBDIRS): Add native-lib.
  7363. * native/jni/java-io/java_io_VMFile.c: Include lstat and readlink
  7364. headers.
  7365. * native/jni/java-lang/java_lang_VMProcess.c
  7366. (Java_java_lang_VMProcess_nativeSpawn): Remove redirect argument.
  7367. * native/jni/java-net/java_net_VMInetAddress.c
  7368. (Java_java_net_VMInetAddress_getHostByName): Remove unused variable.
  7369. * native/jni/native-lib/Makefile.am: Remove empty and nonexisting
  7370. files.
  7371. * native/jni/native-lib/cpio.c (cpio_setFileReadonly): Use correct
  7372. mask.
  7373. * native/jni/native-lib/cpnet.c (cpnet_connect): Removed unused
  7374. theaddr.
  7375. * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Moved from
  7376. cpnet.h.
  7377. * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Declare,
  7378. don't implement.
  7379. * vm/reference/java/lang/VMProcess.java: Removed unused redirect
  7380. argument.
  7381. * include/java_lang_VMProcess.h: Regenerated.
  7382. 2006-07-09 Guilhem Lavaux <guilhem@kaffe.org>
  7383. * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
  7384. (nativeReceive): Fixed the type of the arrays (use java types).
  7385. (nativeSendTo): Force throwing an exception if port is 0.
  7386. * native/jni/java-net/javanet.c:
  7387. (_javanet_accept): Throw SocketTimeoutException if ETIMEDOUT is
  7388. returned.
  7389. (_javanet_recvfrom): Likewise.
  7390. (_javanet_sendto): Throw a NullPointerException if the socket is
  7391. not connected and no address is given.
  7392. * native/jni/java-net/javanet.h
  7393. (NULL_EXCEPTION): Defined.
  7394. 2006-06-16 Guilhem Lavaux <guilhem@kaffe.org>
  7395. * native/jni/java-net/java_net_VMInetAddress.c
  7396. (Java_java_net_VMInetAddress_getHostByName): Fix detection of
  7397. error.
  7398. * native/jni/java-net/javanet.c
  7399. (_javanet_accept): Fixed bogus call to TARGET.
  7400. (_javanet_create_inetaddress): Fixed address generation. Fixed
  7401. bogus memory free.
  7402. (_javanet_bind): set "Reuse address" flag.
  7403. * native/jni/native-lib/cpio.c
  7404. (cpio_getModificationTime): Fixed type.
  7405. (cpio_removeFile): Use rmdir too.
  7406. * native/jni/native-lib/cpnet.c
  7407. (cpnet_getHostByName): Fixed error detection.
  7408. * native/jni/native-lib/cpnet.h
  7409. (cpnet_newIPV4address, cpnet_newIPV6address): Put zero in the
  7410. memory.
  7411. (cpnet_IPV4AddressToBytes): Fixed types.
  7412. 2006-06-10 Guilhem Lavaux <guilhem@kaffe.org>
  7413. * native/jni/native-lib/cpio.c
  7414. (cpio_openDir, cpio_closeDir, cpio_readDir): Implemented.
  7415. * native/jni/native-lib/cpnet.h:
  7416. (cpnet_bytesToIPV4Address): Fixed type casting to avoid being
  7417. messed by signs in jbyte.
  7418. * native/jni/native-lib/cpproc.h
  7419. (CPIO_EXEC_NUM_PIPES): Compilation fix.
  7420. 2006-05-09 Guilhem Lavaux <guilhem@kaffe.org>
  7421. * native/jni/native-lib/cpnet.c
  7422. (cpnet_getSocketTimeout, cpnet_setSocketTimeout): Reimplemented.
  7423. (waitForWritable, waitForReadable): New functions.
  7424. (socketTimeouts): New static global table to hold timeouts for all
  7425. socket fds.
  7426. (cpnet_accept,cpnet_bind,cpnet_sendTo,cpnet_recv,cpnet_recvFrom):
  7427. Added waitForXXXX safeguards to handle socket timeouts.
  7428. * native/jni/java-net/javanet.c
  7429. (_javanet_accept): Check for the right error value when a timeout
  7430. occurs.
  7431. 2006-03-25 Guilhem Lavaux <guilhem@kaffe.org>
  7432. * native/jni/java-io/Makefile.am,
  7433. native/jni/java-lang/Makefile.am,
  7434. native/jni/java-net/Makefile.am,
  7435. native/jni/java-nio/Makefile.am: Link to libclasspathnative.la now.
  7436. * native/jni/native-lib/Makefile.am: Added cpproc.c
  7437. * native/jni/native-lib/cpio.c: Implemented missing functions for
  7438. CPIO.
  7439. * native/jni/native-lib/cpnet.c
  7440. (cpnet_getHostByName): Fixed address array initialization.
  7441. * native/jni/native-lib/cpproc.c: Implemented.
  7442. 2006-02-19 Guilhem Lavaux <guilhem@kaffe.org>
  7443. * configure.ac: Invoke GCC_ATTRIBUTE_UNUSED.
  7444. * m4/gcc_attribute.m4: New file from ac_archive.
  7445. * native/jni/java-net/javanet.c: Adapted to cpnet API
  7446. modification.
  7447. * native/jni/native-lib/cpnet.c: Implemented.
  7448. * native/jni/native-lib/cpnet.h
  7449. (cpnet_openSocketDatagram,
  7450. cpnet_openSocketStream): These calls need an address family now.
  7451. (cpnet_IPV4AddressToBytes,
  7452. cpnet_bytesToIPV4Address): Convert the address to network order.
  7453. 2006-02-19 Guilhem Lavaux <guilhem@kaffe.org>
  7454. * native/jni/java-io/java_io_VMFile.c,
  7455. native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c,
  7456. native/jni/midi-dssi/dssi_data.h,
  7457. native/jni/native-lib/cpio.c,
  7458. native/jni/native-lib/cpmath.h: Removed cpmath
  7459. dependency. Fixed coding style.
  7460. 2006-02-18 Guilhem Lavaux <guilhem@kaffe.org>
  7461. * native/jni/java-lang/java_lang_VMProcess.c: Removed TARGET
  7462. dependency. Simplified the JNI code by moving some part into the
  7463. native layer.
  7464. * native/jni/native-lib/cpproc.h: New interface to handle processes.
  7465. 2006-02-18 Guilhem Lavaux <guilhem@kaffe.org>
  7466. * native/jni/java-net/java_net_VMInetAddress.c: Fixed compilation
  7467. errors. Removed any remaining TARGET invocations.
  7468. * native/jni/java-net/javanet.c
  7469. (_javanet_create_inetaddress): Removed spurious arr and
  7470. octets. Fixed compilation errors.
  7471. * native/jni/native-lib/cpnet.h
  7472. (cpnet_getHostname, cpnet_getHostByName, cpnet_getHostByAddr,
  7473. cpnet_setIPV4Any, cpnet_freeAddresses, cpnet_isIPV6Address,
  7474. cpnet_isIPV4Address): New functions.
  7475. (cpnet_bytesToIPV4Address): Fixed interface to be consistent with
  7476. the rest.
  7477. 2006-01-28 Guilhem Lavaux <guilhem@kaffe.org>
  7478. * native/jni/java-io/java_io_VMFile.c,
  7479. native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c,
  7480. native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
  7481. native/jni/java-net/javanet.c,
  7482. native/jni/java-net/javanet.h: Adapted the VM layer code
  7483. to the new native layer.
  7484. * native/jni/native-lib/cpnet.h
  7485. (cpnet_addMembership,
  7486. cpnet_dropMembership,
  7487. cpnet_getAvailableBytes): Added the declarations of
  7488. some new functions.
  7489. (cpnet_newIPV6Address,
  7490. cpnet_IPV6AddressToBytes,
  7491. cpnet_bytesToIPV6Address): Implemented.
  7492. (cpnet_newIPV4Address): Initialize the sin_family field.
  7493. 2006-01-28 Guilhem Lavaux <guilhem@kaffe.org>
  7494. * native/target: Removed.
  7495. * configure.ac: Removed target from CLASSPATH_INCLUDES and
  7496. Makefile generation.
  7497. * native/jni/native-lib/Makefile.am,
  7498. native/jni/native-lib/cpnet.h,
  7499. native/jni/native-lib/cpnet.c
  7500. native/jni/native-lib/cpio.h,
  7501. native/jni/native-lib/cpio.c,
  7502. native/jni/native-lib/cpmath.h: Imported new native compatibility
  7503. layer.
  7504. 2006-08-21 Roman Kennke <kennke@aicas.com>
  7505. * gnu/javax/swing/text/html/css/CSSParser.java:
  7506. New class.
  7507. * gnu/javax/swing/text/html/css/CSSParserCallback.java:
  7508. New interface.
  7509. * gnu/javax/swing/text/html/css/CSSParserException.java:
  7510. New exception.
  7511. * gnu/javax/swing/text/html/css/CSSScanner.java:
  7512. Adjusted API comments. Made all constants package private.
  7513. (EOF): New constant field.
  7514. (parseBuffer): Made package private.
  7515. (tokenEnd): Made package private.
  7516. (CSSScanner): Initialize lookahead buffer with -1.
  7517. (main): Print out to System.out rather then System.err.
  7518. (nextToken): Push back character after IDENT.
  7519. 2006-08-21 Jeroen Frijters <jeroen@frijters.net>
  7520. * java/io/File.java (normalizePath): Fixed handling of "//" and "\\".
  7521. 2006-08-21 Roman Kennke <kennke@aicas.com>
  7522. * gnu/javax/swing/text/html/css/CSSScanner.java
  7523. (main): Use buffered input stream.
  7524. (nextToken): Removed 65536 workaround. Use int value directly
  7525. without cast to char.
  7526. (readComment): Use int value directly without cast to char.
  7527. Cast to char only when putting the character into the buffer.
  7528. (readEscape): Likewise.
  7529. (readIdent): Likewise.
  7530. (readName): Likewise.
  7531. (readNum): Likewise.
  7532. (readString): Likewise.
  7533. (readWhitespace): Likewise.
  7534. 2006-08-21 Ingo Proetel <proetel@aicas.com>
  7535. * java/io/InputStreamReader.java
  7536. (bytesCache): New field.
  7537. (cacheLock): New field.
  7538. (read(byte[],int,int): Avoid allocations of new byte
  7539. array on every call and reuse cached byte array if possible.
  7540. 2006-08-21 Roman Kennke <kennke@aicas.com>
  7541. * gnu/java/net/local/LocalSocketImpl.java
  7542. Only load native lib if this is supported by runtime.
  7543. * native/jni/java-net/local.c
  7544. Include config.h unconditionally.
  7545. * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
  7546. Include config.h unconditionally.
  7547. 2006-08-21 Friedjof Siebert <siebert@aicas.com>
  7548. * java/io/ObjectInputStream.java
  7549. (objectLookupTable): Changed to be a Vector.
  7550. (ObjectInputStream): Initialize objectLookupTable as Vector.
  7551. (assignNewHandle): Store Object using handle index rather than
  7552. Hashtable, using the new rememberHandle() method.
  7553. (hierarchy): New method. This replaces inputGetObjectStreamClasses()
  7554. with a caching in ObjectStreamClass.
  7555. (inputGetObjectStreamClass): Replaced by hierarchy().
  7556. (lookupHandle): New method. Looks up an object by it's handle
  7557. index.
  7558. (parseContent): Avoid creating of Integer objects. Use
  7559. hierarchy() method for looking up the class hierarchy.
  7560. (processResolution): Use rememberHandle() to store
  7561. handle per index, rather than Hashtabling the object.
  7562. (readFields):
  7563. (rememberHandle): New method.
  7564. * java/io/ObjectOutputStream.java
  7565. (OIDLookupTable): Use ObjectIdentityMap2Int instead of
  7566. Hashtable for improved lookup performance.
  7567. (ObjectOutputStream): Initialize OIDLookupTable as
  7568. ObjectIdentityMap2Int.
  7569. (assignNewHandle): Change to use ObjectIdentityMap2Int.
  7570. (findHandle): Change to use ObjectIdentityMap2Int.
  7571. (getBooleanField): Removed.
  7572. (getByteField): Removed.
  7573. (getCharField): Removed.
  7574. (getDoubleField): Removed.
  7575. (getField): Removed.
  7576. (getFloatField): Removed.
  7577. (getIntField): Removed.
  7578. (getLongField): Removed.
  7579. (getObjectField): Removed.
  7580. (writeFields(Object,ObjectStreamClass)): Use new helper method.
  7581. (writeFields(Object,ObjectStreamField)): New helper method.
  7582. Use switch rather then if-else cascade.
  7583. (writeObject): Use int handle, rather then Integer.
  7584. * java/io/ObjectStreamClass.java
  7585. (hierarchy): New field. Caches the class hierarchy.
  7586. (methodCache): New field. Caches methods.
  7587. (readObjectSignature): New field. Stores the read signature.
  7588. (uidCache): New field. Caches UIDs.
  7589. (writeObjectSignature): New field. Stores the write signature.
  7590. (cacheMethods): Cache methods in methodCache.
  7591. (calculateClassID): Outsourced from getClassUID()
  7592. for computing the UIDs.
  7593. (getClassUIDFromField): Outsourced from getClassUID() for
  7594. fetching the UID from the class field.
  7595. (getClassUID): Use cached uid if possible. Use new helper
  7596. methods for fetching the UID from the field or computing
  7597. from scratch.
  7598. (getObjectStreamClasses): Removed. Replaced by more
  7599. efficient hierarchy() method, that also caches the result.
  7600. (hierarchy): Replaces getObjectStreamClasses() for caching
  7601. the result.
  7602. (loadedByBootOrApplicationClassLoader): New helper method.
  7603. (setClass): Invalidate hierarchy cache.
  7604. (setSuperclass): Invalidate hierarchy cache.
  7605. * java/io/ObjectStreamField.java
  7606. (field): Made field package private for access from other
  7607. classes.
  7608. * gnu/java/io/ObjectIdentityWrapper.java: Removed.
  7609. * gnu/java/io/ObjectIdentityMap2Int.java: Efficient
  7610. hashtable for mapping objects to ints.
  7611. 2006-08-21 Roman Kennke <kennke@aicas.com>
  7612. * java/io/File.java
  7613. (getAbsolutePath): Fetch absolute path from
  7614. VMFile.getAbsolutePath(). Moved actual impl to there.
  7615. (isAbsolute): Let VMFile determine the absoluteness.
  7616. (toURL): Let VMFile convert the filename.
  7617. * vm/reference/java/io/VMFile.java
  7618. (getAbsolutePath): New method.
  7619. (isAbsolute): New method.
  7620. (toURL): New method.
  7621. 2006-08-21 Jeroen Frijters <jeroen@frijters.net>
  7622. * NEWS: Added note about updated VM interface.
  7623. 2006-08-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
  7624. * java/lang/management/ManagementFactory.java:
  7625. Updated documentation.
  7626. 2006-08-20 Ito Kazumitsu <kaz@maczuka.gcd.org>
  7627. Fixes bug #28412
  7628. * gnu/java/util/regex/CharIndexed.java(move1, setHitEnd, hitEnd):
  7629. New methods.
  7630. * gnu/java/util/regex/CharIndexedCharSequence.java,
  7631. gnu/java/util/regex/CharIndexedInputStream.java: Implemented the
  7632. new methods above.
  7633. * gnu/java/util/regex/RE.java(REG_FIX_STARTING_POSITION): New flag,
  7634. (match): call the new method setHitEnd of the input,
  7635. (getMatchImpl): Handle the new flag REG_FIX_STARTING_POSITION,
  7636. Some optimization commented out, Use CharIndexed#move1 instead of move.
  7637. * gnu/java/util/regex/REMatch.java: Made some debugging methods public.
  7638. * gnu/java/util/regex/REToken.java(match): The method body has been
  7639. moved to an internal private method, (matchFake): New method,
  7640. (setHitEnd): New method.
  7641. * gnu/java/util/regex/RETokenChar.java(matchThis): Call setHitEnd
  7642. if the match is not complete, (matchOneString): Count the number of
  7643. characters which matched the pattern.
  7644. * gnu/java/util/regex/RETokenEnd.java(fake): New field,
  7645. (setFake): New method, (match): Call super.match or super.matchFake.
  7646. * gnu/java/util/regex/RETokenEndSub.java(setHitEnd): New method.
  7647. * gnu/java/util/regex/RETokenOneOf.java(match): call the new method
  7648. setHitEnd of the input,
  7649. * gnu/java/util/regex/RETokenRepeated.java(match): Likewise.
  7650. * java/util/regex/Matcher.java(lookingAt, match): Use the new flag
  7651. RE.REG_FIX_STARTING_POSITION, (hitEnd, toString): New methods.
  7652. 2006-08-18 Tom Tromey <tromey@redhat.com>
  7653. * gnu/javax/swing/text/html/css/CSSScanner.java (readWhitespace): Push
  7654. the 'int', not the cast char.
  7655. 2006-08-18 Roger Sayle <roger@eyesopen.com>
  7656. * scripts/check_jni_methods.sh: Don't use the "set -C" command
  7657. which isn't available in all shells.
  7658. 2006-08-18 Roger Sayle <roger@eyesopen.com>
  7659. * lib/Makefile.am (resources): Fix some shell portability issues.
  7660. 2006-08-18 Thomas Fitzsimmons <fitzsim@redhat.com>
  7661. * configure.ac (tool-wrappers): Check for ltdl support when tool
  7662. wrapper binaries are enabled.
  7663. * tools/Makefile.am (LIBJVM): Remove variable.
  7664. (AM_CPPFLAGS): Add LIBJVM define.
  7665. (gappletviewer_LDFLAGS, gjarsigner_LDFLAGS, gkeytool_LDFLAGS,
  7666. gjar_LDFLAGS, gnative2ascii_LDFLAGS, gserialver_LDFLAGS,
  7667. gjavah_LDFLAGS): Remove variables.
  7668. * tools/toolwrapper.c (main): Use dlopen to load libjvm library.
  7669. 2006-08-18 Tom Tromey <tromey@redhat.com>
  7670. * gnu/java/util/prefs/NodeWriter.java (writeParents): Removed
  7671. debugging prints.
  7672. * gnu/java/util/prefs/NodeReader.java (readNodes): Removed debugging
  7673. print.
  7674. (readEntries): Likewise.
  7675. 2006-08-17 Roman Kennke <kennke@aicas.com>
  7676. * javax/swing/plaf/basic/BasicTabbedPaneUI.java
  7677. (layoutLabel): Reset the text and icon rectangles.
  7678. 2006-08-17 Thomas Fitzsimmons <fitzsim@redhat.com>
  7679. PR classpath/28537
  7680. * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS):
  7681. Transform gappletviewer name using program_transform_name.
  7682. 2006-08-17 Jeroen Frijters <jeroen@frijters.net>
  7683. * javax/swing/filechooser/FileSystemView.java
  7684. (getFileSystemView): Always return UnixFileSystemView, since
  7685. that's the only one we got. Marked with NotImplementedException.
  7686. * javax/swing/plaf/basic/BasicFileChooserUI.java
  7687. (mouseClicked, installUI): Don't parse path by hand.
  7688. 2006-08-17 Roman Kennke <kennke@aicas.com>
  7689. * javax/swing/JComponent.java
  7690. (scrollRectToVisible): Handle intermediate non-JComponents
  7691. more gracefully.
  7692. 2006-08-17 Roman Kennke <kennke@aicas.com>
  7693. * javax/swing/RepaintManager.java
  7694. (blitBuffer): Removed. This is now done in commitBuffer().
  7695. (commitBuffer): Always paint on the root window or applet.
  7696. No need to look for intermediate heavyweights. Optimized
  7697. rectangle translation.
  7698. (commitRemainingBuffers): Removed. Not needed anymore.
  7699. (getHeavyweightParent): Removed. Not needed anymore.
  7700. (getOffscreenBuffer): Fetch offscreen image from the
  7701. actual root component.
  7702. (paintDirtyRegions): Don't call commitRemainingBuffers().
  7703. 2006-08-17 Roman Kennke <kennke@aicas.com>
  7704. * javax/swing/SwingUtilities.java
  7705. (clipString): New helper method for trimming strings.
  7706. (layoutCompoundLabelImpl): Fixed algorithm to conform
  7707. testsuites. Trim text if it's too long. Avoid creating
  7708. new Rectangles. Optimized for performance.
  7709. (layoutCompoundLabel): Use switch rather then if-else-chain.
  7710. * javax/swing/plaf/basic/BasicButtonUI.java
  7711. (viewR): New field.
  7712. (iconR): New field.
  7713. (textR): New field.
  7714. (paint): Reset and use cached rectangles. Only call paintIcon()
  7715. if icon is not null. Don't call paintButtonPressed() when
  7716. button is selected, only when it is both armed and pressed.
  7717. * javax/swing/plaf/basic/BasicGraphicsUtils.java
  7718. (getPreferredButtonSize): Reused cached rectangles rather
  7719. then creating new ones. Don't create new Rectangle via
  7720. Rectangle.union().
  7721. * javax/swing/plaf/basic/BasicLabelUI.java
  7722. (getPreferredSize): Correctly reset cached rectangles. Especially
  7723. the view rect must have a big size to give it room for layouting.
  7724. Short cut layout when text == null.
  7725. (paint): Correctly reset cached rectangles.
  7726. * javax/swing/plaf/basic/BasicMenuItemUI.java
  7727. (resetRectangles): New helper method.
  7728. (getPreferredMenuItemSize): Correctly reset the cached rectangles.
  7729. (paintMenuItem): Correctly reset the cached rectangles.
  7730. * javax/swing/plaf/basic/BasicRadioButtonUI.java
  7731. (getPreferredSize): Use cached Rectangle objects and initialize
  7732. them correctly.
  7733. (paint): Use cached Rectangle objects and initialize
  7734. them correctly.
  7735. 2006-08-17 David Gilbert <david.gilbert@object-refinery.com>
  7736. * java/util/Calendar.java: API doc additions.
  7737. 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
  7738. * javax/swing/DefaultButtonModel.java:
  7739. (setRollover): Simplified statement.
  7740. 2006-08-17 Jeroen Frijters <jeroen@frijters.net>
  7741. * gnu/java/rmi/server/RMIClassLoaderImpl.java
  7742. (loadClass): Rewritten to use getClassLoader.
  7743. (loadProxyClass): Implemented.
  7744. (getClassLoader): Fixed support for null or empty codebase.
  7745. * gnu/java/rmi/server/RMIObjectInputStream.java
  7746. (resolveClass): Use user class loader as default class loader.
  7747. (resolveProxyClass): Delegate to RMIClassLoader.loadProxyClass.
  7748. * gnu/javax/rmi/CORBA/UtilDelegateImpl.java
  7749. (loadClass): Simplified and use user class loader instead of
  7750. context class loader as default.
  7751. * java/io/ObjectInputStream.java
  7752. (currentLoader): Use VMStackWalker.firstNonNullClassLoader().
  7753. * vm/reference/gnu/classpath/VMStackWalker.java
  7754. (firstNonNullClassLoader): New method.
  7755. * vm/reference/java/io/VMObjectInputStream.java
  7756. (loaderAction, currentClassLoader): Removed.
  7757. 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
  7758. * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
  7759. (getTabBounds(JTabbedPane, int)): Added code to shift rectangle
  7760. by current scroll offset, added method documention.
  7761. (getTabBounds(int, Rectangle)): Added method documentation.
  7762. * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
  7763. (paintContentBorderLeftEdge): Changed y to 1.
  7764. 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
  7765. * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
  7766. (MouseHandler.mouseReleased): Implemented.
  7767. (MouseHandler.mousePressed): Added delegation to tabbed pane.
  7768. (MouseHandler.mouseEntered): Dito.
  7769. (MouseHandler.mouseExited): Dito.
  7770. (MouseHandler.mouseMoved): Dito.
  7771. (MouseHandler.redispatchEvent): New method.
  7772. (PropertyChangeHandler.propertyChange): Added extra block level,
  7773. added code to handle tab placement changes, added comment.
  7774. (updateViewPosition): Set unneeded coordinate to 0, added comment.
  7775. 2006-08-16 Roman Kennke <kennke@aicas.com>
  7776. * gnu/javax/swing/text/html/css/CSSScanner.java: New file.
  7777. * gnu/javax/swing/text/html/css/CSSLexicalException.java:
  7778. New file.
  7779. 2006-08-16 Mark Wielaard <mark@klomp.org>
  7780. * java/awt/Component.java (orientation): Renamed to
  7781. componentOrientation.
  7782. (setComponentOrientation): Use new field name.
  7783. (getComponentOrientation): Likewise.
  7784. 2006-08-16 Roman Kennke <kennke@aicas.com>
  7785. PR 28750
  7786. * javax/swing/plaf/basic/BasicTreeUI.java
  7787. (CellEditorHandler.editingCancelled): Call completeEditing
  7788. directly.
  7789. (CellEditorHandler.editingStopped): Call completeEditing
  7790. directly.
  7791. (NodeDimensionHandler.getNodeDimensions): Rewritten
  7792. to use the preferred sizes of the renderer and editor.
  7793. (TreeExpansionHandler.treeCollapsed): Complete editing
  7794. here.
  7795. (TreeSelectionHandler.valueChanged): Complete editing
  7796. here.
  7797. (cancelEditing): Call completeEditing with false, false and
  7798. false. Don't call finish (removed method).
  7799. (completeEditing(boolean,boolean,boolean): Only do something when
  7800. stopEditingInCompleteEditing is true. Nullify editingComponent
  7801. and editingPath. Remove editingComponent from tree. Update
  7802. the layout when necessary and repaint.
  7803. (completeEditing): Stop editing when necessary.
  7804. (editorRequestFocus): New helper method. Request focus
  7805. on the actual editor.
  7806. (finish) Removed. This is now done in completeEditing().
  7807. (prepareForUIInstall): Set stopEditingInCompleteEditing to true.
  7808. (setLargeModel): Complete editing here.
  7809. (setRootVisible): Complete editing here.
  7810. (setRowHeight): Complete editing here.
  7811. (setSelectionModel): Complete editing here.
  7812. (startEditing): Correctly initialize and start editing.
  7813. (updateExpandedDescendants): Complete editing here.
  7814. * javax/swing/tree/DefaultTreeCellEditor.java
  7815. (DefaultTextField): Fetch size from super and use renderer's height
  7816. if appropriate.
  7817. (EditorContainer.EditorContainer): Set layout to null, just
  7818. to make sure.
  7819. (EditorContainer.doLayout): Layout so that the editor
  7820. is offset to the right of the icon.
  7821. (EditorContainer.getPreferredSize): Implemented to
  7822. provide a reasonable preferred size.
  7823. (EditorContainer.paint): Position icon in the middle.
  7824. Also paint border if appropriate.
  7825. (EditorContainer.setBounds): Removed.
  7826. (RealEditorListener): Removed.
  7827. (DefaultTreeCellEditor): Set correct border.
  7828. (cancelCellEditing): Message real editor. Call finish().
  7829. (createCellEditor): Don't add listener.
  7830. (determineOffset): Correctly determine offset, and update
  7831. the icon.
  7832. (finish): New helper method.
  7833. (getTreeCellEditorComponent): Set correct font. Call
  7834. prepareForEditing() and determineOffset() to correctly initialize
  7835. the state.
  7836. (stopCellEditing): Messsage realEditor to stop editing. Call
  7837. finish to clean up.
  7838. (stopEditingTimer): Removed.
  7839. (valueChanged): Correctly reset lastPath.
  7840. * javax/swing/tree/DefaultTreeCellRenderer.java
  7841. (getPreferredSize): Return super plus some extra space for
  7842. better readability.
  7843. 2006-08-16 Roman Kennke <kennke@aicas.com>
  7844. * javax/swing/plaf/metal/MetalTreeUI.java
  7845. (LineStyleListener): New property listener, that updates
  7846. the line style setting if the corresponding property
  7847. changes.
  7848. (lineStyleListener): New field.
  7849. (lineStyle): New field.
  7850. (LINE_STYLE_ANGLED): New constant field.
  7851. (LINE_STYLE_HORIZONTAL): New constant field.
  7852. (LINE_STYLE_NONE): New constant field.
  7853. (LINE_STYLE_VALUE_ANGLED): New constant field.
  7854. (LINE_STYLE_VALUE_HORIZONTAL): New constant field.
  7855. (LINE_STYLE_VALUE_NONE): New constant field.
  7856. (LINE_STYLE_PROPERTY): New constant field.
  7857. (decodeLineStyle): Implemented.
  7858. (installUI): Install line style listener. Set initial
  7859. lineStyle.
  7860. (uninstallUI): Uninstall line style listener.
  7861. (paintHorizontalPartOfLeg): Only call super for angled
  7862. lineStyle.
  7863. (paintVerticalPartOfLeg): Only call super for angled
  7864. lineStyle.
  7865. (paintHorizontalSeparators): Implemented.
  7866. (paint): If lineStyle==HORIZONTAL, call
  7867. paintHorizontalSeparators().
  7868. * examples/gnu/classpath/examples/swing/TreeDemo.java
  7869. (createContent): Add panel for selecting line styles.
  7870. 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
  7871. * examples/gnu/classpath/demo/swing/TabbedPaneDemo.java:
  7872. (createContent): Rewritten.
  7873. (createPlacementChangingMenuItem): New method.
  7874. (createLayoutPolicyChangingMenuItem): New method.
  7875. (createTabbedPane): New method.
  7876. (createTabContent): New method.
  7877. 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
  7878. * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
  7879. (MouseHandler.mousePressed): Fixed indentation, intercept clicks on
  7880. disabled tabs, do proper revalidation in WRAP_TAB_LAYOUT mode.
  7881. 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
  7882. * javax/swing/text/WrappedPlainView.java:
  7883. (WrappedLine.modelToView): Provide variable pos as argument and not a fixed value.
  7884. (calculateBreakPosition): Add p0 to return value.
  7885. 2006-08-15 Roman Kennke <kennke@aicas.com>
  7886. * javax/swing/plaf/basic/BasicTreeUI.java
  7887. (MouseHandler.selectedOnPress): New field.
  7888. (MouseHandler.handleEvent): New helper method for handling
  7889. selection and start/stop editing for mouse events.
  7890. (MouseHandler.mouseDragged): Commented as no-op method.
  7891. (MouseHandler.mouseMoved): Commented as no-op method.
  7892. (MouseHandler.mousePressed): Use handleEvent() to handle
  7893. selection and editing handling.
  7894. (MouseHandler.mouseReleased): Use handleEvent() to handle
  7895. selection and editing handling.
  7896. (MouseInputHandler.MouseInputHandler): Register itself
  7897. as mouse listener on source. Redispatch event to
  7898. destination.
  7899. (MouseInputHandler.dispatch): New helper method.
  7900. (MouseInputHandler.mouseClicked): Dispatch event.
  7901. (MouseInputHandler.mouseDragged): Dispatch event.
  7902. (MouseInputHandler.mouseEntered): Stop dispatching
  7903. if dragging stopped.
  7904. (MouseInputHandler.mouseExited): Stop dispatching
  7905. if dragging stopped.
  7906. (MouseInputHandler.mouseMoved): Stop dispatching.
  7907. (MouseInputHandler.mousePressed): Marked as no-op.
  7908. (MouseInputHandler.mouseReleased): Dispatch and stop
  7909. dispatching afterwards.
  7910. (MouseInputHandler.removeFromSource): Implemented.
  7911. (PropertyChangeHandler.propertyChange): Also handle
  7912. editable property changes by calling setEditable().
  7913. (SelectionModelPropertyChangeHandler.propertyChange):
  7914. Reset row selection.
  7915. (startEditTimer): Removed.
  7916. (setCellEditor): Call updateEditor().
  7917. (setEditable): Call updateEditor().
  7918. (startEditingAtPath): Make path fully visible before starting
  7919. editing.
  7920. (startEditing): Maybe cancel previous edit session. Add
  7921. editing component itself, not its parent container.
  7922. Register MouseInputHandler for correctly redispatching
  7923. initial events.
  7924. (stopEditing): Message cellEditor and only completeEditing()
  7925. when approved by cell editor.
  7926. (updateCellEditor): Complete editing before updating
  7927. the cell editor. Get cell editor from JTree if possible,
  7928. otherwise create default editor. Update the listeners
  7929. on the editor.
  7930. * javax/swing/tree/DefaultTreeCellEditor.java
  7931. (CLICK_COUNT_TO_START): Removed.
  7932. (DefaultTreeCellEditor): Install correct border. Let setTree()
  7933. update the listeners. Don't initialize lastPath and font yet.
  7934. (actionPerformed): Implemented to start editing.
  7935. (createTreeCellEditor): Set click count to start to 1, rather than
  7936. 3.
  7937. (isCellEditable): Prepare editor here. Determine if we can
  7938. start immediately, or if we trigger a timer to do so.
  7939. (prepareForEditing): Don't removeAll() (not necessary),
  7940. check editingComponent to be non-null.
  7941. (setTree): Update listeners.
  7942. (shouldStartEditingTimer): Check for left mouse button.
  7943. (startEditingTimer): Lazily create timer.
  7944. 2006-08-15 Lillian Angel <langel@redhat.com>
  7945. * java/awt/dnd/DropTargetDragEvent.java
  7946. (getTransferable): Implemented.
  7947. 2006-08-15 Roman Kennke <kennke@aicas.com>
  7948. * java/util/Vector.java
  7949. (removeAll): Added comment about NPE.
  7950. (retainAll): Added comment about NPE.
  7951. 2006-08-15 Roman Kennke <kennke@aicas.com>
  7952. * java/util/zip/ZipFile.java
  7953. (UTF8DECODER): Removed.
  7954. (UTF8CHARSET): New constant field. Stores the UTF8 charset.
  7955. (utf8Decoder): New instance field.
  7956. (decodeChars): Lazily create UTF8 decoder. Use instance
  7957. field rather than a static field to avoid corruption.
  7958. 2006-08-15 Roman Kennke <kennke@aicas.com>
  7959. * java/io/PrintStream.java
  7960. (line_separator): Provide default for system property.
  7961. * java/io/FileDescriptor.java
  7962. (valid): Create local copy of channel field for better
  7963. threading safetly.
  7964. 2006-08-15 Ingo Proetel <proetel@aicas.com>
  7965. * java/util/zip/ZipFile.java
  7966. (PartialInputStream.UTF8DECODER): New constant field, used
  7967. for decoding UTF8 strings.
  7968. (readLeShort): Access buffer directly if it has enough bytes
  7969. available.
  7970. (readLeInt): Access buffer directly if it has enough bytes
  7971. available.
  7972. (decodeChars): New helper method for decoding UTF8 strings.
  7973. (readString): Avoid NIO charset decoder if possible.
  7974. 2006-08-15 Roman Kennke <kennke@aicas.com>
  7975. * java/util/Vector.java
  7976. (removeAll): Don't explicitly null-check here. The RI allows
  7977. null arguments when Vector is empty. In other cases we
  7978. implicitly throw an NPE.
  7979. (retainAll): Don't explicitly null-check here. The RI allows
  7980. null arguments when Vector is empty. In other cases we
  7981. implicitly throw an NPE.
  7982. 2006-08-14 Casey Marshall <csm@gnu.org>
  7983. Merge in ssl-nio-branch work. See `ChangeLog-ssl-nio' for a record
  7984. of changes made on this branch.
  7985. Files modified:
  7986. * gnu/classpath/debug/Component.java
  7987. * gnu/classpath/debug/SystemLogger.java
  7988. * gnu/java/security/action/GetPropertyAction.java
  7989. * gnu/java/security/action/GetSecurityPropertyAction.java
  7990. * gnu/javax/crypto/RSACipherImpl.java
  7991. * gnu/javax/net/ssl/PrivateCredentials.java
  7992. * gnu/javax/net/ssl/provider/Alert.java
  7993. * gnu/javax/net/ssl/provider/AlertException.java
  7994. * gnu/javax/net/ssl/provider/Certificate.java
  7995. * gnu/javax/net/ssl/provider/CertificateRequest.java
  7996. * gnu/javax/net/ssl/provider/CertificateType.java
  7997. * gnu/javax/net/ssl/provider/CertificateVerify.java
  7998. * gnu/javax/net/ssl/provider/CipherSuite.java
  7999. * gnu/javax/net/ssl/provider/ClientHello.java
  8000. * gnu/javax/net/ssl/provider/ClientKeyExchange.java
  8001. * gnu/javax/net/ssl/provider/CompressionMethod.java
  8002. * gnu/javax/net/ssl/provider/Constructed.java
  8003. * gnu/javax/net/ssl/provider/ContentType.java
  8004. * gnu/javax/net/ssl/provider/DiffieHellman.java
  8005. * gnu/javax/net/ssl/provider/Extension.java
  8006. * gnu/javax/net/ssl/provider/Finished.java
  8007. * gnu/javax/net/ssl/provider/Handshake.java
  8008. * gnu/javax/net/ssl/provider/Jessie.java
  8009. * gnu/javax/net/ssl/provider/ProtocolVersion.java
  8010. * gnu/javax/net/ssl/provider/Random.java
  8011. * gnu/javax/net/ssl/provider/ServerHello.java
  8012. * gnu/javax/net/ssl/provider/ServerKeyExchange.java
  8013. * gnu/javax/net/ssl/provider/Signature.java
  8014. * gnu/javax/net/ssl/provider/Util.java
  8015. * gnu/javax/net/ssl/provider/X509KeyManagerFactory.java
  8016. * gnu/javax/net/ssl/provider/X509TrustManagerFactory.java
  8017. * java/security/MessageDigest.java
  8018. * java/security/MessageDigestSpi.java
  8019. * java/security/Signature.java
  8020. * java/security/SignatureSpi.java
  8021. * javax/crypto/Mac.java
  8022. * javax/crypto/MacSpi.java
  8023. * javax/net/ssl/HandshakeCompletedEvent.java
  8024. * javax/net/ssl/HttpsURLConnection.java
  8025. * javax/net/ssl/SSLContext.java
  8026. * javax/net/ssl/SSLContextSpi.java
  8027. * javax/net/ssl/SSLSession.java
  8028. Files added:
  8029. * gnu/javax/net/ssl/provider/ServerKeyExchangeBuilder.java
  8030. * gnu/javax/net/ssl/provider/SSLv3HMacSHAImpl.java
  8031. * gnu/javax/net/ssl/provider/SimpleSessionContext.java
  8032. * gnu/javax/net/ssl/provider/ServerRSAParams.java
  8033. * gnu/javax/net/ssl/provider/SSLContextImpl.java
  8034. * gnu/javax/net/ssl/provider/ServerDHParams.java
  8035. * gnu/javax/net/ssl/provider/ClientHelloBuilder.java
  8036. * gnu/javax/net/ssl/provider/ClientDHE_PSKParameters.java
  8037. * gnu/javax/net/ssl/provider/SignatureAlgorithm.java
  8038. * gnu/javax/net/ssl/provider/CipherSuiteList.java
  8039. * gnu/javax/net/ssl/provider/ServerNameList.java
  8040. * gnu/javax/net/ssl/provider/SSLServerSocketImpl.java
  8041. * gnu/javax/net/ssl/provider/CompressionMethodList.java
  8042. * gnu/javax/net/ssl/provider/ServerRSA_PSKParameters.java
  8043. * gnu/javax/net/ssl/provider/ClientKeyExchangeBuilder.java
  8044. * gnu/javax/net/ssl/provider/TrustedAuthorities.java
  8045. * gnu/javax/net/ssl/provider/CertificateStatusRequest.java
  8046. * gnu/javax/net/ssl/provider/ServerHelloDone.java
  8047. * gnu/javax/net/ssl/provider/ServerDHE_PSKParameters.java
  8048. * gnu/javax/net/ssl/provider/SSLSocketImpl.java
  8049. * gnu/javax/net/ssl/provider/ServerHelloBuilder.java
  8050. * gnu/javax/net/ssl/provider/Record.java
  8051. * gnu/javax/net/ssl/provider/SSLRSASignatureImpl.java
  8052. * gnu/javax/net/ssl/provider/EncryptedPreMasterSecret.java
  8053. * gnu/javax/net/ssl/provider/PreSharedKeyManagerFactoryImpl.java
  8054. * gnu/javax/net/ssl/provider/KeyExchangeAlgorithm.java
  8055. * gnu/javax/net/ssl/provider/SSLServerSocketFactoryImpl.java
  8056. * gnu/javax/net/ssl/provider/CertificateBuilder.java
  8057. * gnu/javax/net/ssl/provider/ClientRSA_PSKParameters.java
  8058. * gnu/javax/net/ssl/provider/CertificateStatusType.java
  8059. * gnu/javax/net/ssl/provider/ExtensionList.java
  8060. * gnu/javax/net/ssl/provider/ClientCertificateTypeList.java
  8061. * gnu/javax/net/ssl/provider/ClientPSKParameters.java
  8062. * gnu/javax/net/ssl/provider/X500PrincipalList.java
  8063. * gnu/javax/net/ssl/provider/ServerHandshake.java
  8064. * gnu/javax/net/ssl/provider/ClientDiffieHellmanPublic.java
  8065. * gnu/javax/net/ssl/provider/SessionImpl.java
  8066. * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
  8067. * gnu/javax/net/ssl/provider/ServerPSKParameters.java
  8068. * gnu/javax/net/ssl/provider/TruncatedHMAC.java
  8069. * gnu/javax/net/ssl/provider/MaxFragmentLength.java
  8070. * gnu/javax/net/ssl/provider/HelloRequest.java
  8071. * gnu/javax/net/ssl/provider/ServerKeyExchangeParams.java
  8072. * gnu/javax/net/ssl/provider/UnresolvedExtensionValue.java
  8073. * gnu/javax/net/ssl/provider/CipherAlgorithm.java
  8074. * gnu/javax/net/ssl/provider/ClientHandshake.java
  8075. * gnu/javax/net/ssl/provider/ExchangeKeys.java
  8076. * gnu/javax/net/ssl/provider/CertificateURL.java
  8077. * gnu/javax/net/ssl/provider/EmptyExchangeKeys.java
  8078. * gnu/javax/net/ssl/provider/CertificateRequestBuilder.java
  8079. * gnu/javax/net/ssl/provider/SSLv3HMacMD5Impl.java
  8080. * gnu/javax/net/ssl/provider/Builder.java
  8081. * gnu/javax/net/ssl/provider/Debug.java
  8082. * gnu/javax/net/ssl/provider/SSLEngineImpl.java
  8083. * gnu/javax/net/ssl/provider/MacAlgorithm.java
  8084. * gnu/javax/net/ssl/provider/DelegatedTask.java
  8085. * gnu/javax/net/ssl/provider/InputSecurityParameters.java
  8086. * gnu/javax/net/ssl/provider/ClientHelloV2.java
  8087. * gnu/javax/net/ssl/provider/OutputSecurityParameters.java
  8088. * gnu/javax/net/ssl/provider/AbstractHandshake.java
  8089. * javax/net/ssl/SSLEngine.java
  8090. * javax/net/ssl/CertPathTrustManagerParameters.java
  8091. * javax/net/ssl/KeyStoreBuilderParameters.java
  8092. * javax/net/ssl/X509ExtendedKeyManager.java
  8093. * javax/net/ssl/SSLEngineResult.java
  8094. * gnu/javax/net/ssl/PreSharedKeyManager.java
  8095. * gnu/javax/net/ssl/Session.java
  8096. * gnu/javax/net/ssl/PreSharedKeyManagerParameters.java
  8097. * gnu/javax/net/ssl/SSLCipherSuite.java
  8098. * gnu/javax/net/ssl/AbstractSessionContext.java
  8099. * gnu/javax/net/ssl/SessionStoreException.java
  8100. * gnu/javax/net/ssl/SSLRecordHandler.java
  8101. * gnu/javax/net/ssl/SSLProtocolVersion.java
  8102. * gnu/javax/crypto/key/GnuPBEKey.java
  8103. * gnu/java/security/util/ByteBufferOutputStream.java
  8104. * gnu/java/security/Requires.java
  8105. * gnu/javax/security/auth/callback/CertificateCallback.java
  8106. Files removed:
  8107. * gnu/javax/net/ssl/provider/Context.java
  8108. * gnu/javax/net/ssl/provider/DigestInputStream.java
  8109. * gnu/javax/net/ssl/provider/DigestOutputStream.java
  8110. * gnu/javax/net/ssl/provider/Enumerated.java
  8111. * gnu/javax/net/ssl/provider/Extensions.java
  8112. * gnu/javax/net/ssl/provider/GNUSecurityParameters.java
  8113. * gnu/javax/net/ssl/provider/JCESecurityParameters.java
  8114. * gnu/javax/net/ssl/provider/JDBCSessionContext.java
  8115. * gnu/javax/net/ssl/provider/JessieDHPrivateKey.java
  8116. * gnu/javax/net/ssl/provider/JessieDHPublicKey.java
  8117. * gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java
  8118. * gnu/javax/net/ssl/provider/JessieRSAPublicKey.java
  8119. * gnu/javax/net/ssl/provider/KeyPool.java
  8120. * gnu/javax/net/ssl/provider/OverflowException.java
  8121. * gnu/javax/net/ssl/provider/RecordInput.java
  8122. * gnu/javax/net/ssl/provider/RecordInputStream.java
  8123. * gnu/javax/net/ssl/provider/RecordOutputStream.java
  8124. * gnu/javax/net/ssl/provider/RecordingInputStream.java
  8125. * gnu/javax/net/ssl/provider/SSLRSASignature.java
  8126. * gnu/javax/net/ssl/provider/SSLServerSocket.java
  8127. * gnu/javax/net/ssl/provider/SSLServerSocketFactory.java
  8128. * gnu/javax/net/ssl/provider/SSLSocket.java
  8129. * gnu/javax/net/ssl/provider/SSLSocketFactory.java
  8130. * gnu/javax/net/ssl/provider/SSLSocketInputStream.java
  8131. * gnu/javax/net/ssl/provider/SSLSocketOutputStream.java
  8132. * gnu/javax/net/ssl/provider/SecurityParameters.java
  8133. * gnu/javax/net/ssl/provider/Session.java
  8134. * gnu/javax/net/ssl/provider/SessionContext.java
  8135. * gnu/javax/net/ssl/provider/SynchronizedRandom.java
  8136. * gnu/javax/net/ssl/provider/XMLSessionContext.java
  8137. 2006-08-14 Roman Kennke <kennke@aicas.com>
  8138. * javax/swing/plaf/basic/BasicSplitPaneDivider.java
  8139. (DividerLayout.layoutContainer): Removed debug output.
  8140. * javax/swing/plaf/basic/BasicSplitPaneUI.java
  8141. (BasicHorizontalLayoutManager.axis): New field.
  8142. (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager(int)):
  8143. New constructor.
  8144. (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager()):
  8145. Call new axis constructor.
  8146. (BasicHorizontalLayoutManager.getAvailableSize): Refactored to
  8147. handle direction.
  8148. (BasicHorizontalLayoutManager.getInitialLocation): Refactored to
  8149. handle direction.
  8150. (BasicHorizontalLayoutManager.getPreferredSizeOfComponent):
  8151. Refactored to handle direction.
  8152. (BasicHorizontalLayoutManager.getSizeOfComponent): Refactored
  8153. to handle direction.
  8154. (BasicHorizontalLayoutManager.minimumLayoutSize): Refactored to
  8155. handle direction.
  8156. (BasicHorizontalLayoutManager.preferredLayoutSize): Refactored
  8157. to handle direction.
  8158. (BasicHorizontalLayoutManager.minimumSizeOfComponent): Refactored
  8159. to handle direction.
  8160. (BasicHorizontalLayoutManager.setComponentToSize): Refactored
  8161. to handle direction.
  8162. (BasicHorizontalLayoutManager.updateComponents): Don't reset
  8163. divider size.
  8164. (BasicVerticalLayoutManager.BasicVerticalLayoutManager):
  8165. New explicit constructor. Calls super with vertical axis.
  8166. (BasicVerticalLayoutManager.getAvailableSize): Functionality moved
  8167. to BasicHorizontalLayoutManager.
  8168. (BasicVerticalLayoutManager.getInitialLocation): Functionality
  8169. moved to BasicHorizontalLayoutManager.
  8170. (BasicVerticalLayoutManager.getPreferredSizeOfComponent):
  8171. Functionality moved to BasicHorizontalLayoutManager.
  8172. (BasicVerticalLayoutManager.getSizeOfComponent): Functionality
  8173. moved to BasicHorizontalLayoutManager.
  8174. (BasicVerticalLayoutManager.minimumLayoutSize): Functionality
  8175. moved to BasicHorizontalLayoutManager.
  8176. (BasicVerticalLayoutManager.minimumSizeOfComponent):
  8177. Functionality moved to BasicHorizontalLayoutManager.
  8178. (BasicVerticalLayoutManager.preferredLayoutSize): Functionality
  8179. moved to BasicHorizontalLayoutManager.
  8180. (BasicVerticalLayoutManager.setComponentToSize): Functionality
  8181. moved to BasicHorizontalLayoutManager.
  8182. * javax/swing/plaf/metal/MetalSplitPaneDivider.java
  8183. (BUTTON_SPRITE): Renamed to BUTTON_SPRITE_L.
  8184. (BUTTON_SPRITE_R): New constant field.
  8185. (MetalOneTouchButton.paint): Paint R sprite for right buttons,
  8186. L sprite for left buttons.
  8187. 2006-08-14 Andreas Tobler <a.tobler@schweiz.ch>
  8188. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
  8189. (query_formats): g_free 'name' after usage.
  8190. g_strfreev 'ch', the gdk_pixbuf_format_get_extensions instance.
  8191. g_strfreev 'ch', the gdk_pixbuf_format_get_mime_types instance.
  8192. 2006-08-14 Thomas Fitzsimmons <fitzsim@redhat.com>
  8193. PR classpath/27723
  8194. * configure.ac (MOZILLA_FOUND): Add pkg-config check for
  8195. seamonkey-plugin.
  8196. 2006-08-14 Francis Kung <fkung@redhat.com>
  8197. PR 28694
  8198. * java/awt/image/ColorModel.java
  8199. (coerceData): Added check for non-transparent images.
  8200. 2006-08-14 Francis Kung <fkung@redhat.com>
  8201. * java/awt/image/BandCombineOp.java
  8202. (BandCombineOp): Perform checks on validity of matrix.
  8203. (createCompatibleDestRaster): Add checks and choose raster type dynamically.
  8204. (filter): Updated to work with new matrix storage.
  8205. (getMatrix): Updated javadoc.
  8206. (getPoint2D): Formatting change.
  8207. 2006-08-14 Francis Kung <fkung@redhat.com>
  8208. * java/awt/image/AffineTransformOp.java
  8209. (AffineTransformOp): Updated javadoc.
  8210. (createCompatibleDestImage): Match behaviour of reference implementation.
  8211. (createCompatibleDestRaster): Formatting changes.
  8212. (filter(BufferedImage, BufferedImage)): Create compatible destination image.
  8213. (filter(Raster, WritableRaster)): Re-implemented.
  8214. (filterBicubic): New private method.
  8215. (filterBilinear): New private method.
  8216. (filterNearest): New private method.
  8217. (getBounds2D): No longer fixed around one point for rotations.
  8218. (getInterpolationType): Add support for bicubic interpolation.
  8219. 2006-08-14 Roman Kennke <kennke@aicas.com>
  8220. * javax/swing/plaf/metal/MetalLookAndFeel.java
  8221. (MetalLookAndFeel): Moved theme initialization to
  8222. getDefaults().
  8223. (createDefaultTheme): Forward to getCurrentTheme().
  8224. (getDefaults): Initialize theme before doing anything else.
  8225. (getCurrentTheme): Recognize swing.metalTheme property.
  8226. 2006-08-14 Roman Kennke <kennke@aicas.com>
  8227. * javax/swing/JTable
  8228. (getScrollableUnitIncrement): Expose partially exposed
  8229. row in scrolling direction.
  8230. 2006-08-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  8231. * javax/swing/JTable (getScrollableUnitIncrement):
  8232. Removing my name as the whole method body have been
  8233. recently completely replaced.
  8234. 2006-08-14 Roman Kennke <kennke@aicas.com>
  8235. PR 28028
  8236. * javax/swing/text/Utilities.java
  8237. (getTabbedTextOffset): Don't add p0 here.
  8238. 2006-08-14 Roman Kennke <kennke@aicas.com>
  8239. PR 28719
  8240. * javax/swing/plaf/basic/BasicScrollPaneUI.java
  8241. (MouseWheelHandler.mouseWheelMoved): Scroll negative delta
  8242. when wheel is going up.
  8243. 2006-08-14 Roman Kennke <kennke@aicas.com>
  8244. PR 28693
  8245. * javax/swing/plaf/basic/BasicSplitPaneDivider.java
  8246. (BasicOneTouchButton): New inner class.
  8247. (DividerLayout.changeButtonOrientation): Removed.
  8248. (DividerLayout.positionButtons): Moved into layoutContainer.
  8249. (DividerLayout.layoutContainer): Reworked for correct layout.
  8250. (OneTouchAction): New inner class.
  8251. (centerOneTouchButtons): New field.
  8252. (BasicSplitPaneDivider): Initialize centerOneTouchButton from
  8253. UIManager.
  8254. (createLeftOneTouchButton): Reimplemented to return
  8255. BasicOneTouchButton.
  8256. (createRightOneTouchButton): Reimplemented to return
  8257. BasicOneTouchButton.
  8258. (getPreferredSize): Reimplemented to return fixed preferredSize.
  8259. (oneTouchExpandableChanged): Add OneTouchAction action to
  8260. buttons. Don't install mouse listeners.
  8261. (MouseHandler.mousePressed): Removed handling of one touch buttons.
  8262. (paint): Don't trigger extra paint for buttons.
  8263. (propertyChange): Revalidate splitPane when orientation is changed.
  8264. (setBasicSplitPaneUI): Call oneTouchExpandableChanged only when
  8265. oneTouchExpandable is true.
  8266. * javax/swing/plaf/basic/BasicSplitPaneUI.java
  8267. (installDefaults): Install dividerSize on the divider too.
  8268. * javax/swing/plaf/metal/MetalSplitPaneDivider.java
  8269. (MetalDividerLayout): Removed. Functionality is already
  8270. in BasicSplitPaneDivider.DividerLayout.
  8271. (MetalOneTouchButton): New inner class.
  8272. (BUTTON_SPRITE): New constant field.
  8273. (MetalSplitPaneDivider): Don't change layout.
  8274. (createLeftOneTouchButton): Overridden to return custom button
  8275. for Metal.
  8276. (createRightOneTouchButton): Overridden to return custom button
  8277. for Metal.
  8278. (paint): Don't trigger button painting. Call super instead.
  8279. 2006-08-13 Roman Kennke <kennke@aicas.com>
  8280. * javax/swing/plaf/basic/BasicTableHeaderUI.java
  8281. (installKeyboardAction): Unmarked as stub. Added comment
  8282. explaining that the RI seems to do nothing here.
  8283. (uninstallKeyboardAction): Unmarked as stub. Added comment
  8284. explaining that the RI seems to do nothing here.
  8285. 2006-08-13 Roman Kennke <kennke@aicas.com>
  8286. PR 28135
  8287. * javax/swing/ScrollPaneLayout.java
  8288. (layoutContainer): Consider the viewportBorder of the
  8289. JScrollPane.
  8290. (minimumLayoutSize): Consider the viewportBorder of the
  8291. JScrollPane.
  8292. (preferredLayoutSize): Consider the viewportBorder of the
  8293. JScrollPane.
  8294. * javax/swing/plaf/basic/BasicScrollPaneUI.java
  8295. (installDefaults): Also install viewportBorder if specified.
  8296. (paint): Paint viewportBorder if present.
  8297. (uninstallDefaults): Uninstall viewportBorder if appropriate.
  8298. Don't nullify foreground, background and font. Uninstall
  8299. border via LookAndFeel helper method to avoid uninstall
  8300. user set border.
  8301. 2006-08-13 Roman Kennke <kennke@aicas.com>
  8302. PR 28696
  8303. * javax/swing/plaf/basic/BasicHTML.java
  8304. (HTMLRootView.HTMLRootView): Trigger initial layout.
  8305. (HTMLRootView.setSize): Overridden to forward to real view.
  8306. * javax/swing/plaf/basic/BasicToolTipUI.java
  8307. (PropertyChangeHandler): New inner class. Updates the HTML
  8308. renderer.
  8309. (propertyChangeHandler): New field.
  8310. (getMaximumSize): Add HTML width delta.
  8311. (getMinimumSize): Add HTML width delta.
  8312. (getPreferredSize): Reimplemented to use HTML view for size
  8313. calculation if appropriate, otherwise use simple stringWidth()
  8314. measurement.
  8315. (installListeners): Install propertyChangeHandler.
  8316. (uninstallListeners): Uninstall propertyChangeHandler.
  8317. (installUI): Update HTML renderer.
  8318. (uninstallUI): Update HTML renderer.
  8319. (paint): Reimplemented to use HTML view for rendering if
  8320. appropriate, simple drawString otherwise.
  8321. * javax/swing/plaf/metal/MetalToolTipUI.java
  8322. (getPreferredSize): Call super and add accelerator delta.
  8323. (paint): Simply call super.
  8324. 2006-08-13 Roman Kennke <kennke@aicas.com>
  8325. * javax/swing/JMenu.java
  8326. (changeListener): Renamed to menuChangeListener to avoid
  8327. shadowing changeListener field from AbstractButton.
  8328. 2006-08-13 Roman Kennke <kennke@aicas.com>
  8329. * javax/swing/JTree.java
  8330. (getScrollableUnitIncrement): Fixed direction.
  8331. (getScrollableBlockIncrement): Implemented to scroll one
  8332. page.
  8333. * javax/swing/tree/VariableHeightLayoutCache.java
  8334. (distance): Consider y + height already outside the node.
  8335. 2006-08-13 Roman Kennke <kennke@aicas.com>
  8336. * javax/swing/JTable.java
  8337. (getScrollableUnitIncrement): Fixed direction. Make it behave
  8338. like the RI.
  8339. (getScrollableBlockIncrement): Fixed direction. Make it behave
  8340. like the RI.
  8341. 2006-08-13 Roman Kennke <kennke@aicas.com>
  8342. * javax/swing/JList.java
  8343. (getScrollableUnitIncrement): Fixed direction. Implemented
  8344. horizontal scrolling. Improved usability.
  8345. (getScrollableBlockIncrement): Fixed direction. Improved usability.
  8346. 2006-08-13 Roman Kennke <kennke@aicas.com>
  8347. * javax/swing/plaf/basic/BasicScrollBarUI.java
  8348. (scrollByUnit): Scroll by -unit when direction is not positive
  8349. and +unit otherwise.
  8350. (scrollByBlock): Scroll by -unit when direction is not positive
  8351. and +unit otherwise.
  8352. 2006-08-13 Roman Kennke <kennke@aicas.com>
  8353. PR 28028
  8354. * javax/swing/text/PlainView.java
  8355. (paint): Limit painted area to the lines inside the clip
  8356. and allocation.
  8357. 2006-08-13 Roman Kennke <kennke@aicas.com>
  8358. * javax/swing/plaf/basic/BasicTextUI.java
  8359. (uninstallListeners): Unregister document listener.
  8360. 2006-08-13 Sven de Marothy <sven@physto.se>
  8361. * java/util/Locale.java
  8362. (hashcodeCache): New field.
  8363. (hashCode): use the above field instead of the serialized one
  8364. (writeObject): Removed method.
  8365. (readObject): Intern strings.
  8366. (equals): Revert to previous method.
  8367. 2006-08-13 Roman Kennke <kennke@aicas.com>
  8368. * javax/swing/JTabbedPane.java
  8369. (JTabbedPane): Call setModel() here and let this install the
  8370. change listener correctly.
  8371. (setModel): Correctly uninstall and reinstall ChangeListener when
  8372. model changes.
  8373. 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
  8374. PR Classpath/23952
  8375. * java/util/ResourceBundle.java (CACHE_SIZE): New constant.
  8376. (bundleCache): Replaced with an LRU of CACHE_SIZE elements.
  8377. (lastDefaultLocale): Removed.
  8378. (emptyLocale): Likewise.
  8379. (BundleKey.defaultLocale): New field.
  8380. (BundleKey.BundleKey): Add a Locale (as a 1st positional) argument.
  8381. (BundleKey.set): Likewise.
  8382. (BundleKey.equals): Take defaultLocal field into consideration.
  8383. (getBundle(String, Locale, ClassLoader)): Use updated BundleKey and LRU.
  8384. 2006-08-13 Roman Kennke <kennke@aicas.com>
  8385. * javax/swing/JMenu.java
  8386. (MenuChangeListener): New inner class, helps firing menu events.
  8387. (changeListener): New field.
  8388. (add(text)): Create new JMenuItem here and call add(JMenuItem).
  8389. (add(Action)): Create Action using createActionComponent()
  8390. and add via add(Component).
  8391. (setModel): Install and uninstall MenuChangeListener here.
  8392. 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
  8393. PR Classpath/27372
  8394. * java/math/BigInteger.java: Updated copyright year.
  8395. (init): Consume as little bytes as possible.
  8396. (BigInteger(int, int, Random)): Ensure bitLength bits are used.
  8397. (valueOf(String, int)): Throw NumberFormatException for malformed strings
  8398. as per RI's documentation.
  8399. 2006-08-13 Sven de Marothy <sven@physto.se>
  8400. * java/util/Locale.java
  8401. (hashcode): Is a serialized field, not transient.
  8402. (equals): Should NOT compare strings by reference.
  8403. (readObject/writeObject): Use the default methods and handle the hash
  8404. seperately.
  8405. 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
  8406. PR Classpath/28678
  8407. * gnu/java/security/Engine.java (getInstance(String, String, Provider)):
  8408. Updated documentation.
  8409. Formatting.
  8410. (getInstance(String, String, Provider, Object[])): Likewise.
  8411. Separate checks for null and empty string arguments.
  8412. Include as much information as possible in the exception's message.
  8413. Do not swallow original exception; instead use it as the cause of the
  8414. resulting exception.
  8415. * gnu/javax/security/auth/callback/AbstractCallbackHandler.java
  8416. (getInstance(String)): Updated documentation.
  8417. Formatting.
  8418. Store last exception caught when iterating through all providers.
  8419. If no implementation found, raise last exception if one was caught.
  8420. (getInstance(String, String)): Updated documentation.
  8421. Formatting.
  8422. Check for null or empty provider as per RI-5's documentation.
  8423. (getInstance(String, Provider)): Updated documentation.
  8424. Formatting.
  8425. Use as much information as possible in the exception message.
  8426. Do not swallow original exception; instead use it as the cause for the
  8427. ultimate raised exception(s).
  8428. * java/security/cert/CertificateFactory.java: Likewise.
  8429. * java/security/cert/CertPathBuilder.java: Likewise.
  8430. * java/security/cert/CertPathValidator.java: Likewise.
  8431. * java/security/cert/CertStore.java: Likewise.
  8432. * java/security/AlgorithmParameterGenerator.java: Likewise.
  8433. * java/security/AlgorithmParameters.java: Likewise.
  8434. * java/security/KeyFactory.java: Likewise.
  8435. * java/security/KeyPairGenerator.java: Likewise.
  8436. * java/security/KeyStore.java: Likewise.
  8437. * java/security/MessageDigest.java: Likewise.
  8438. * java/security/SecureRandom.java: Likewise.
  8439. * java/security/Signature.java: Likewise.
  8440. * javax/crypto/Cipher.java: Likewise.
  8441. * javax/crypto/ExemptionMechanism.java: Likewise.
  8442. * javax/crypto/KeyAgreement.java: Likewise.
  8443. * javax/crypto/KeyGenerator.java: Likewise.
  8444. * javax/crypto/Mac.java: Likewise.
  8445. * javax/crypto/SecretKeyFactory.java: Likewise.
  8446. * javax/net/ssl/KeyManagerFactory.java: Likewise.
  8447. * javax/net/ssl/SSLContext.java: Likewise.
  8448. * javax/net/ssl/TrustManagerFactory.java: Likewise.
  8449. 2006-08-13 Roman Kennke <kennke@aicas.com>
  8450. * javax/swing/JEditorPane.java
  8451. (getScrollableTracksViewportHeight): Also check maximum size.
  8452. * javax/swing/JTextPane.java
  8453. (insertIcon): Use input attributes for adding the icon
  8454. attribute.
  8455. * javax/swing/plaf/basic/BasicTextUI.java
  8456. (RootView.setSize): Overridden to forward to real view.
  8457. (getPreferredSize): Trigger setSize() on the view.
  8458. (viewToModel(JTextComponent,Point)): Pass Position.Bias array
  8459. to viewToModel() call, rather then null.
  8460. * javax/swing/text/ParagraphView.java
  8461. (changedUpdate): Invalide layout. Call super.
  8462. * javax/swing/text/SimpleAttributeSet.java
  8463. (clone): Use super's clone method to create clone.
  8464. * javax/swing/text/StyleConstants.java
  8465. (setIcon): Also set element name attribute.
  8466. * javax/swing/text/StyledEditorKit.java
  8467. (BoldAction.actionPerformed): Actually set the bold attribute,
  8468. not italic.
  8469. (setCharacterAttributes): Replaced with more straightforward
  8470. impl.
  8471. * javax/swing/text/TextAction.java
  8472. (getFocusedComponent): Implemented.
  8473. * javax/swing/text/Utilities.java
  8474. (getNextVisualPositionFrom): Pass Position.Bias arrays instead
  8475. of null.
  8476. * javax/swing/text/View.java
  8477. (changedUpdate): Nullify element change when updateChildren
  8478. says so.
  8479. 2006-08-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
  8480. * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
  8481. Fix documentation typos.
  8482. 2006-08-11 David Daney <ddaney@avtrex.com>
  8483. PR classpath/28580
  8484. * gnu/java/net/protocol/http/Request.java (readResponse): Call
  8485. createResponseBodyStream in more cases and with new parameter.
  8486. (createResponseBodyStream): Added new parameter mayHaveBody. Handle
  8487. HEAD and !mayHaveBody responses specially.
  8488. 2006-08-11 Roman Kennke <kennke@aicas.com>
  8489. * javax/swing/text/GlyphView.java
  8490. (DefaultGlyphPainter.modelToView): Fixed model->view mapping.
  8491. * javax/swing/text/LabelView.java
  8492. (valid): New flag indicating if the text attributes are valid.
  8493. (LabelView): Initialize valid field with false.
  8494. (setPropertiesFromAttributes): Call setter methods instead
  8495. of setting properties directly. Set valid to true.
  8496. (changedUpdate): Invalidate attributes. Call super.
  8497. (getBackground): Sync attributes if necessary.
  8498. (getForeground): Sync attributes if necessary.
  8499. (getFont): Sync attributes if necessary.
  8500. (isUnderline): Sync attributes if necessary.
  8501. (isSuperscript): Sync attributes if necessary.
  8502. (isStrikeThrough): Sync attributes if necessary.
  8503. (getFontMetrics): Sync attributes if necessary. Fetch font metrics
  8504. from toolkit if Container is not available yet.
  8505. 2006-08-11 Roman Kennke <kennke@aicas.com>
  8506. * javax/swing/text/PlainView.java
  8507. (tabBase): New field.
  8508. (tabSize): New field.
  8509. (updateMetrics): Update tabSize.
  8510. (lineToRect): Only allocate when really necessary.
  8511. (modelToView): Use tabBase for offset calculations.
  8512. (paint): Only allocate when really necessary. Update tabBase.
  8513. (nextTabStop): Fixed tab calculation.
  8514. (viewToModel): Correctly handle multiline text and locations
  8515. outside the view's bounds. Set bias.
  8516. (getLineLength): Use tabBase.
  8517. * javax/swing/text/Utilities.java
  8518. (drawTabbedText): Don't special case newlines. The views
  8519. must take care of this.
  8520. 2006-08-11 Roman Kennke <kennke@aicas.com>
  8521. * javax/swing/text/GapContent.java
  8522. (UndoPosRef): New inner class. Used for resetting positions
  8523. after undo/redo operations.
  8524. (InsertUndo.positions): New field.
  8525. (InsertUndo.undo): Store positions in removed range.
  8526. (InsertUndo.redo): Restore positions in re-inserted range.
  8527. (UndoRemove.positions): New field.
  8528. (UndoRemove.UndoRemove): Store positions in removed range.
  8529. (UndoRemove.undo): Restore positions in re-inserted range.
  8530. (UndoRemove.redo): Store positions in removed range.
  8531. (insertString): Create InsertUndo instance before actually
  8532. inserting the string.
  8533. (remove): Create UndoRemove instance before actually
  8534. removing.
  8535. (getPositionsInRange): Don't clear the Vector. Return Vector
  8536. of UndoPosRefs.
  8537. (updateUndoPositions): Implemented to reset all UndoPosRefs
  8538. in the vector.
  8539. 2006-08-11 Jeroen Frijters <jeroen@frijters.net>
  8540. * java/io/ObjectInputStream.java (readClassDescriptor):
  8541. Use class's class loader to resolve field types.
  8542. * java/io/ObjectStreamField.java
  8543. (ObjectStreamField(String,String,ClassLoader)): Removed.
  8544. (ObjectStreamField(String,String)): Don't try to resolve typename.
  8545. (resolveType): New method.
  8546. 2006-08-10 Roman Kennke <kennke@aicas.com>
  8547. * javax/swing/text/BoxView.java
  8548. (calculateMajorAxisRequirements): Sum up the preferred and
  8549. maximum sizes.
  8550. (isAfter): Also add in the rectangle's with/height.
  8551. (childAllocation): Don't trigger layout here.
  8552. (layoutMinorAxis): Removed debug output.
  8553. (getWidth): Consider the insets.
  8554. (getHeight): Consider the insets.
  8555. (setSize): Consider the insets.
  8556. (updateRequirements): Check axis and throw
  8557. IllegalArgumentException.
  8558. 2006-08-10 Roman Kennke <kennke@aicas.com>
  8559. * javax/swing/text/AbstractDocument.java
  8560. (BidiRootName): New constant field, denotes the element name
  8561. for bidi root elements.
  8562. (AsyncLoadPriority): New constant field, denotes the property
  8563. to store the asynchronousLoadPriority.
  8564. (I18N): New constant field, denotes the property for
  8565. I18N support.
  8566. (bidiRoot): Made field type BidiRootElement.
  8567. (AbstractDocument): Build initial element structure for
  8568. bidi.
  8569. (getAsynchronousLoadPriority): Implemented. Returns the
  8570. value stored in the document properties.
  8571. (setAsynchronousLoadPriority): Implemented. Sets the
  8572. value stored in the document properties.
  8573. (getEndPosition): Implemented to use a Position from the
  8574. content.
  8575. (getStartPosition): Implemented to use a Position from the
  8576. content.
  8577. (insertStringImpl): Update the I18N setting if necessary.
  8578. (insertUpdate): Update the bidi structure if necessary.
  8579. (postRemoveUpdate): Update the bidi structure if necessary.
  8580. (putProperty): Update the I18N setting and bidi structure
  8581. if necessary.
  8582. (updateBidi): New helper method for updating the bidi
  8583. structure.
  8584. (getBidis): New helper method. Fetches the Bidi analysers
  8585. for the paragraphs of the range to check.
  8586. (dump): Also dump the bidi structure.
  8587. (AbstractElement.dump): Indent the '>' correctly.
  8588. (AbstractElement.children): Check numChildren rather then
  8589. children.length.
  8590. (BidiRootElement): New inner class.
  8591. (BidiElement): New inner class.
  8592. 2006-08-10 Roman Kennke <kennke@aicas.com>
  8593. * javax/swing/text/GapContent.java
  8594. (getChars): Optimized to only copy array when really necessary.
  8595. Respect the partialReturn property.
  8596. 2006-08-10 Lillian Angel <langel@redhat.com>
  8597. * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
  8598. (getComponentPeer): Added check to prevent NPE.
  8599. 2006-08-10 Gary Benson <gbenson@redhat.com>
  8600. * java/security/AccessControlContext.java (<init>):
  8601. Avoid a duplicated AccessController.getContext() call.
  8602. 2006-08-09 Mark Wielaard <mark@klomp.org>
  8603. * doc/www.gnu.org/newsitems.txt: Add 0.92.
  8604. * doc/www.gnu.org/downloads/downloads.wml: Likewise.
  8605. * doc/www.gnu.org/announce/20060809.wml: New file.
  8606. 2006-08-09 Mark Wielaard <mark@klomp.org>
  8607. * configure.ac (VERSION): Set to 0.92-generics.
  8608. * NEWS: Add updates for 0.92 release.
  8609. 2006-08-09 Tom Tromey <tromey@redhat.com>
  8610. PR classpath/28658:
  8611. * java/text/SimpleDateFormat.java (parse): Let an unquoted space in
  8612. the pattern match any number of spaces in the text.
  8613. 2006-08-09 Sven de Marothy <sven@physto.se>
  8614. * java/awt/image/BufferedImage.java
  8615. (BufferedImage): Reimplement predefined-type constructor.
  8616. (observers/tileObservers): Field renamed to tileObservers.
  8617. (createDefaultIndexedColorModel): New method.
  8618. 2006-08-09 Tom Tromey <tromey@redhat.com>
  8619. PR classpath/28666:
  8620. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
  8621. (Java_gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice_nativeGetDisplayModes):
  8622. Create a 'short' array.
  8623. 2006-08-09 Tom Tromey <tromey@redhat.com>
  8624. * tools/gnu/classpath/tools/javah/JniHelper.java (getName): Properly
  8625. handle arrays.
  8626. * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
  8627. (writeFields): Print "L" after int constant. Don't mangle the field
  8628. name. Only print int/long fields.
  8629. 2006-08-09 Tom Tromey <tromey@redhat.com>
  8630. * tools/gnu/classpath/tools/javah/Main.java (getParser): Name program
  8631. "javah".
  8632. 2006-08-09 Sven de Marothy <sven@physto.se>
  8633. * javax/swing/JTree.java
  8634. (JTree): Default SelectionModel should be DefaultTreeSelectionModel.
  8635. (setSelectionModel): Null parameter should create an EmptySelectionM.
  8636. 2006-08-09 Roman Kennke <kennke@aicas.com>
  8637. * javax/swing/text/AbstractDocument.java
  8638. (insertString): Perform modifications inside a write lock.
  8639. (insertStringImpl): Don't lock here. This is already done
  8640. in insertString().
  8641. (replace): Perform modifications inside a write lock.
  8642. (AbstractElement.AbstractElement): Call addAttributes() to
  8643. add the attributes.
  8644. (AbstractElement.getName): Fetch name from the ElementNameAttibute.
  8645. (BranchElement.lastIndex): New field. Optimizes getElementIndex().
  8646. (BranchElement.BranchElement): Set lastIndex to -1.
  8647. (BranchElement.getElementIndex): Implemented more efficient
  8648. search.
  8649. 2006-08-09 Roman Kennke <kennke@aicas.com>
  8650. * javax/swing/text/DefaultStyledDocument.java
  8651. (Edit): Moved this inner class into ElementBuffer where it
  8652. is actually needed.
  8653. (edits): Moved this field into ElementBuffer.
  8654. (getEditForParagraphAndIndex): Removed obsolete method.
  8655. (insertUpdate): Added some optimizations and fixes. Split
  8656. out handling insertion after newlines.
  8657. (insertAfterNewline): New helper method. Handles insertions
  8658. after a newline.
  8659. (ElementBuffer.Edit): New inner class. Moved here from
  8660. DefaultStyledDocument.
  8661. (ElementBuffer.createdFracture): New field.
  8662. (ElementBuffer.documentEvent): Made private.
  8663. (ElementBuffer.edits): New field. Moved here from
  8664. DefaultStyledDocument.
  8665. (ElementBuffer.fracNotCreated): Replaced by createdFracture.
  8666. (ElementBuffer.fracturedChild): New field.
  8667. (ElementBuffer.fracturedParent): New field.
  8668. (ElementBuffer.insertPath): New field.
  8669. (ElementBuffer.lastFractured): Removed. Replaced by fracturedChild and
  8670. fracturedParent.
  8671. (ElementBuffer.offsetLastIndex): New field.
  8672. (ElementBuffer.offsetLastIndexReplace): New field.
  8673. (ElementBuffer.recreateLeafs): New field.
  8674. (ElementBuffer.ElementBuffer): Don't initialize stack here.
  8675. (ElementBuffer.canJoin): New helper method.
  8676. (ElementBuffer.changeUpdate): Changed to use elementStack with
  8677. Edits rather than Elements. Let the split method do the work.
  8678. (ElementBuffer.cloneAsNecessary): New helper method.
  8679. (ElementBuffer.createFracture): Changed to fracture the bottommost
  8680. child in the stack.
  8681. (ElementBuffer.finishEdit): New helper method. Moved out
  8682. from insertUpdate to perform the actual changes and update
  8683. the event.
  8684. (fracture): New helper method.
  8685. (insertContentTag): Fixed some bugs and changed to use Edit
  8686. instances in the stack, rather then Elements.
  8687. (insertElement): New helper method. Moved out from insertUpdate()
  8688. to process the ElementSpecs.
  8689. (insertFirstContentTag): Fixed some problems and changed to use Edit
  8690. instances in the stack, rather then Elements.
  8691. (insertFracture): Removed. Basically moved into createFracture()
  8692. and fracture().
  8693. (insertParagraph): Removed.
  8694. (insertUpdate): Split out the ElementSpec processing into
  8695. insertElement(). Use Edit instances in the stack. Fixed some
  8696. problems.
  8697. (insert): Split out the preparation and finishing code into
  8698. prepareEdit() and finishEdit().
  8699. (join): New helper method.
  8700. (pop): New helper method.
  8701. (prepareEdit): New helper method.
  8702. (recreateFracturedElement): New helper method.
  8703. (recreateLeaves): Removed.
  8704. (recreate): New helper method.
  8705. (removeElements): New helper method. Split out from removeUpdate().
  8706. (removeUpdate): Split out the actual removal. Use the
  8707. Edit stack to perform removal and perform the remove actions
  8708. and event updates afterwards, just like in insertImpl().
  8709. (remove): Use prepareEdit() and finishEdit().
  8710. (split): Replaced with more flexible impl.
  8711. 2006-08-09 Sven de Marothy <sven@physto.se>
  8712. * gnu/java/awt/peer/gtk/CairoSurface.java
  8713. Change class to extend WritableRaster and not DataBuffer.
  8714. (CairoDataBuffer): New inner class.
  8715. * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
  8716. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  8717. * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
  8718. Accomodate the above change.
  8719. 2006-08-09 Sven de Marothy <sven@physto.se>
  8720. * gnu/java/awt/peer/gtk/GtkMainThread.java
  8721. New file.
  8722. * gnu/java/awt/peer/gtk/GtkChoicePeer.java
  8723. * gnu/java/awt/peer/gtk/GtkComponentPeer.java
  8724. Replace GtkToolkit.mainThread with GtkMainThread.mainThread.
  8725. * gnu/java/awt/peer/gtk/GtkToolkit.java
  8726. Minor style fixes; removed unused fields,
  8727. set fields to private where possible.
  8728. (createDialog, createFrame, createWindow, createEmbeddedWindow):
  8729. Call GtkMainThread.createWindow().
  8730. * gnu/java/awt/peer/gtk/GtkWindowPeer.java
  8731. (dispose): New method.
  8732. * include/gnu_java_awt_peer_gtk_GtkToolkit.h
  8733. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
  8734. (gtkQuit): New native method.
  8735. 2006-08-08 Lillian Angel <langel@redhat.com>
  8736. * java/awt/Component.java
  8737. (setDropTarget): Added check.
  8738. 2006-08-08 Lillian Angel <langel@redhat.com>
  8739. * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
  8740. (GtkDragSourceContextPeer): Added FIXME. Changed call
  8741. to setTarget.
  8742. * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java
  8743. (GtkDropTargetContextPeer): Removed target initialization.
  8744. * java/awt/Component.java
  8745. (setTarget): Removed commented out code.
  8746. 2006-08-08 Mark Wielaard <mark@klomp.org>
  8747. * javax/swing/text/DefaultHighlighter.java: Qualify
  8748. Highlighter.HighlightPainter class name for gcj.
  8749. 2006-08-05 Roman Kennke <kennke@aicas.com>
  8750. * javax/swing/plaf/basic/BasicTableUI.java
  8751. (MouseInputHandler.mousePressed): Request focus on list
  8752. component.
  8753. 2006-08-05 Roman Kennke <kennke@aicas.com>
  8754. * javax/swing/plaf/basic/BasicListUI.java
  8755. (MouseInputHandler.mousePressed): Request focus on list
  8756. component.
  8757. 2006-08-05 Roman Kennke <kennke@aicas.com>
  8758. PR 28650
  8759. * javax/swing/plaf/basic/BasicMenuBarUI.java
  8760. (getActionMap): Store ActionMap in MenuBar.actionMap, rather
  8761. than Tree.actionMap.
  8762. * javax/swing/plaf/basic/BasicTreeUI.java
  8763. (action): Removed obsolete field.
  8764. (uninstallKeyboardActions): Removed action field handling.
  8765. (installKeyboardActions): Removed action field handling.
  8766. (createDefaultActions): Don't install removed TreeAction.
  8767. (TreeAction): Removed obsolete inner class.
  8768. (ActionListenerProxy): Removed obsolete inner class.
  8769. (MouseHandler.mousePressed): Request focus on JTree component
  8770. on mouse press.
  8771. 2006-08-08 Roman Kennke <kennke@aicas.com>
  8772. * javax/swing/plaf/basic/BasicListUI.java
  8773. (MouseInputHandler.mousePressed): Request focus on list
  8774. component.
  8775. 2006-08-08 Roman Kennke <kennke@aicas.com>
  8776. * javax/swing/plaf/basic/BasicTableUI.java
  8777. (MouseInputHandler.mousePressed): Request focus on list
  8778. component.
  8779. 2006-08-08 Roman Kennke <kennke@aicas.com>
  8780. * javax/swing/plaf/basic/BasicTextUI.java
  8781. (damageRange(JTextComponent,int,int)): Call damageRange() with
  8782. correct biases, rather than null.
  8783. (damageRange(JTextComponent,int,int,Bias,Bias)): Rewritten
  8784. to use simpler modelToView() approach without much special
  8785. casing. This seems not worth the effort and actually
  8786. caused problems. Added locking of the document.
  8787. * javax/swing/text/BoxView.java
  8788. (requirementsValid): New field.
  8789. (calculateMajorAxisRequirements): Rewritten without using
  8790. SizeRequirements. The SizeRequirements algorithms are slightly
  8791. different and too inefficient.
  8792. (calculateMinorAxisRequirements): Rewritten without using
  8793. SizeRequirements. The SizeRequirements algorithms are slightly
  8794. different and too inefficient.
  8795. (getAlignment): Simply return the alignment of the cached
  8796. requirements.
  8797. (getMaximumSpan): Add insets.
  8798. (getMinimumSpan): Add insets.
  8799. (getPreferredSpan): Add insets.
  8800. (layoutMajorAxis): Rewritten without using
  8801. SizeRequirements. The SizeRequirements algorithms are slightly
  8802. different and too inefficient.
  8803. (layoutMinorAxis): Rewritten without using
  8804. SizeRequirements. The SizeRequirements algorithms are slightly
  8805. different and too inefficient.
  8806. (modelToView): Call setSize() rather than layout().
  8807. (paint): Check clip for more efficient painting.
  8808. (preferenceChanged): Invalidate requirements here.
  8809. (replace): Invalidate requirements here.
  8810. (updateRequirements): Update requirements only when requirements
  8811. are marked invalid.
  8812. * javax/swing/text/CompositeView.java
  8813. (modelToView): Added some more checks and handling of corner cases.
  8814. * javax/swing/text/FlowView.java
  8815. (calculateMinorAxisRequirements): Set aligment to 0.5 and maximum
  8816. span to Integer.MAX_VALUE. Limit preferredSize to minimumSize.
  8817. * javax/swing/text/IconView.java
  8818. (getAlignment): Implemented to return 1.0 for vertical alignment.
  8819. * javax/swing/text/ParagraphView.java
  8820. (Row.getMaximumSpan): Implemented to let Rows span the whole
  8821. ParagraphView.
  8822. (getAlignment): Fixed horizontal alignment and vertical alignment
  8823. for empty paragraphs to be 0.5.
  8824. 2006-08-08 Roman Kennke <kennke@aicas.com>
  8825. * javax/swing/text/View.java
  8826. (modelToView): Added special handling for corner case at the end
  8827. of the view and for multiline views.
  8828. 2006-08-08 Roman Kennke <kennke@aicas.com>
  8829. * javax/swing/plaf/basic/BasicTextUI.java
  8830. (modelToView): Read-lock the document. Set size of the
  8831. root view before fetching the model-to-view mapping.
  8832. (getViewIndex): Check of the position is inside the range and
  8833. return -1 if this is not the case.
  8834. (getViewAtPosition(int,Rectangle): Update child allocation for valid
  8835. view index.
  8836. (getViewIndexAtPosition(int)): Delegate the index search to
  8837. the element since we have a 1:1 mapping between elements and
  8838. views here.
  8839. * javax/swing/text/DefaultCaret.java
  8840. (appear): Ignore BadLocationException.
  8841. (paint): Ignore BadLocationException.
  8842. * javax/swing/text/FlowView.java
  8843. (changedUpdate): Also notify the layoutPool view.
  8844. (removeUpdate): Also notify the layoutPool view.
  8845. * javax/swing/text/ParagraphView.java
  8846. (Row.getViewIndexAtPosition): Overridden to search linearily
  8847. through the view instead of relying on a 1:1 model to view
  8848. mapping.
  8849. * javax/swing/text/View.java
  8850. (removeUpdate): Clear ElementChange object if updateChildren
  8851. returns false.
  8852. (forwardUpdate): Special handle some boundary cases.
  8853. 2006-08-07 Raif S. Naffah <raif@swiftdsl.com.au>
  8854. * gnu/java/security/key/dss/DSSKey.java: Updated documentation.
  8855. (hasInheritedParameters): New method.
  8856. (equals): Updated documentation.
  8857. Take into consideration the outcome of hasInheritedParameters invocation.
  8858. (toString): Call hasInheritedParameters and adjust the result accordingly.
  8859. * gnu/java/security/key/dss/DSSKeyPairX509Codec.java (encodePublicKey):
  8860. Updated documentation.
  8861. Handle case of public keys with null p, q, and g MPIs.
  8862. (decodePublicKey): Handle case of absent or NULL p, q and g MPIs.
  8863. 2006-08-07 Tom Tromey <tromey@redhat.com>
  8864. PR libgcj/23682:
  8865. * java/nio/channels/SelectionKey.java (attach): Now synchronized.
  8866. (attachment): Likewise.
  8867. * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
  8868. synchronized.
  8869. (isValid): Likewise.
  8870. * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
  8871. (ch): Likewise.
  8872. (interestOps): Synchronize.
  8873. (readyOps): Likewise.
  8874. * gnu/java/nio/SelectorImpl.java (register): Synchronize around
  8875. interestOps call.
  8876. 2006-08-07 C. Scott Marshall <csm@gnu.org>
  8877. Fixes PR 28608.
  8878. * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
  8879. the mark has been set.
  8880. * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
  8881. (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
  8882. allocated data.
  8883. 2006-08-07 Sven de Marothy <sven@physto.se>
  8884. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  8885. (drawGlyphVector): Synchronize against font object when drawing.
  8886. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
  8887. (nativeDrawGlyphVector): Use pango locking when drawing.
  8888. (install_font_peer): Use pango locking when creating the cairo face.
  8889. 2006-08-06 Roman Kennke <kennke@aicas.com>
  8890. PR 28571
  8891. * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
  8892. (getPreferredSize): Renamed method to preferredSize(). That's
  8893. the one that gets called from java.awt.*.
  8894. * java/awt/peer/ComponentPeer.java
  8895. (getPreferredSize): Added specnote about this method never
  8896. beeing called in the RI.
  8897. (getMinimumSize): Added specnote about this method never
  8898. beeing called in the RI.
  8899. 2006-08-03 Sven de Marothy <sven@physto.se>
  8900. * gnu/java/awt/peer/gtk/ComponentGraphics.java
  8901. (grab, nativeGrab): New methods.
  8902. * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
  8903. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
  8904. (nativeGrab): New method.
  8905. * gnu/java/awt/peer/gtk/GtkComponentPeer.java
  8906. (print): Implement.
  8907. * java/awt/Component.java
  8908. (printAll): Should call peer print method.
  8909. 2006-08-06 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
  8910. * java/net/URL.java (getContent(Class[])): Implement.
  8911. 2006-08-06 Mark Wielaard <mark@klomp.org>
  8912. PR 28555
  8913. Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
  8914. * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
  8915. withParams is null.
  8916. * gnu/xml/transform/ForEachNode.java (clone): Check whether
  8917. sortKeys is null.
  8918. 2006-08-06 Roman Kennke <kennke@aicas.com>
  8919. * NEWS: Added note about the X peers.
  8920. * INSTALL: Added install notes about the X peers.
  8921. 2006-08-06 Raif S. Naffah <raif@swiftdsl.com.au>
  8922. Paul Jenner <psj@harker.dyndns.org>
  8923. * README: Update bug, patches and cvs instructions plus new URLs of
  8924. various external projects.
  8925. 2006-08-06 Thomas Fitzsimmons <fitzsim@redhat.com>
  8926. * configure.ac (MOZILLA_FOUND): Fall back to
  8927. mozilla-firefox-plugin.
  8928. 2006-08-06 Mario Torre <neugens@limasoftware.net>
  8929. Reported by Raif S. Naffah <raif@swiftdsl.com.au>
  8930. * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
  8931. g_type_init earlier in function to correctly initialize the
  8932. type system used by the backend.
  8933. 2006-08-05 Roman Kennke <kennke@aicas.com>
  8934. * javax/swing/text/DefaultHighlight.java
  8935. (DefaultHighlightPainter.paintHighlight): Removed method.
  8936. (DefaultHighlightPainter.paintLayer): Implemented.
  8937. (DefaultHighlightPainter.paint): Implemented more efficient
  8938. painting for multiline-highlights.
  8939. (HighlightEntry.p0): Changed to be a Position.
  8940. (HighlightEntry.p1): Changed to be a Position.
  8941. (HighlightEntry.HighlightEntry): Changed to take Position
  8942. arfuments.
  8943. (HighlightEntry.getStartOffset): Changed to return p0.getOffset();
  8944. (HighlightEntry.getEndOffset): Changed to return p1.getOffset();
  8945. (LayerHighlightEntry): New inner class. Extends HighlightEntry
  8946. and tracks the painted rectangle for efficient repainting.
  8947. (addHighlight): Handle layered highlight.
  8948. (changeHighlight): Handle layered highlight.
  8949. (paintLayeredHighlights): Implemented.
  8950. (paint): Paint only non-layered highlights here.
  8951. (removeAllHighlights): Trigger correct repaint.
  8952. (removeHighlight): Handle layered highlight here for
  8953. more efficient repainting.
  8954. * javax/swing/text/GlyphView.java
  8955. (paint): Handle layered highlights.
  8956. * javax/swing/text/PlainView.java
  8957. (paint): Handle layered highlights.
  8958. * javax/swing/text/WrappedPlainView.java
  8959. (WrappedLine.paint): Handle layered highlights.
  8960. 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  8961. PR 26972
  8962. * NEWS: As suggested by Paul Jennier, added note about the fix of
  8963. the InitialContext.
  8964. 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  8965. * NEWS: Added entry about the context factories for JNDI.
  8966. 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  8967. PR 27383
  8968. * gnu/CORBA/Connected_objects.java (size): New method.
  8969. * gnu/CORBA/OrbFunctional.java (countConnectedObjects):
  8970. New method.
  8971. * javax/naming/spi/NamingManager.java (getURLContext):
  8972. Also search for the URL context factories in
  8973. gnu/javax/naming/jndi/url.
  8974. * gnu/javax/naming/giop/ContextContinuation.java,
  8975. gnu/javax/naming/giop/CorbalocParser.java,
  8976. gnu/javax/naming/giop/GiopNamingEnumeration.java,
  8977. gnu/javax/naming/giop/GiopNamingServiceFactory.java,
  8978. gnu/javax/naming/giop/GiopNamingServiceURLContext.java,
  8979. gnu/javax/naming/giop/ListBindingsEnumeration.java,
  8980. gnu/javax/naming/giop/ListEnumeration.java,
  8981. gnu/javax/naming/jndi/url/corbaname/corbanameURLContextFactory.java,
  8982. gnu/javax/naming/jndi/url/rmi/ContextContinuation.java,
  8983. gnu/javax/naming/jndi/url/rmi/ListBindingsEnumeration.java,
  8984. gnu/javax/naming/jndi/url/rmi/ListEnumeration.java,
  8985. gnu/javax/naming/jndi/url/rmi/RmiContinuation.java,
  8986. gnu/javax/naming/jndi/url/rmi/RmiNamingEnumeration.java,
  8987. gnu/javax/naming/jndi/url/rmi/rmiURLContext.java,
  8988. gnu/javax/naming/jndi/url/rmi/rmiURLContextFactory.java: New files.
  8989. 2006-08-06 Sven de Marothy <sven@physto.se>
  8990. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  8991. (drawGlyphVector): Synchronize against font object when drawing.
  8992. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
  8993. (nativeDrawGlyphVector): Use pango locking when drawing.
  8994. (install_font_peer): Use pango locking when creating the cairo face.
  8995. 2006-08-06 C. Scott Marshall <csm@gnu.org>
  8996. Fixes PR 28608.
  8997. * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
  8998. the mark has been set.
  8999. * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
  9000. (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
  9001. allocated data.
  9002. 2006-08-06 Mark Wielaard <mark@klomp.org>
  9003. PR 28555
  9004. Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
  9005. * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
  9006. withParams is null.
  9007. * gnu/xml/transform/ForEachNode.java (clone): Check whether
  9008. sortKeys is null.
  9009. 2006-08-06 Raif S. Naffah <raif@swiftdsl.com.au>
  9010. Paul Jenner <psj@harker.dyndns.org>
  9011. * README: Update bug, patches and cvs instructions plus new URLs of
  9012. various external projects.
  9013. 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
  9014. * gnu/java/lang/management/BeanImpl.java:
  9015. (cacheMBeanInfo(MBeanInfo)): Override given MBeanInfo
  9016. with open variant.
  9017. (getCachedMBeanInfo()): Return open variant.
  9018. (getMBeanInfo()): Likewise.
  9019. (getTypeFromClass(Class)): Implemented.
  9020. (translateSignature(MBeanParameterInfo)): Likewise.
  9021. (translate(String)): Likewise.
  9022. * javax/management/StandardMBean.java:
  9023. (getMBeanInfo()): Return attribute names with capital letters,
  9024. as in docs for java.lang.management.ManagementFactory, and
  9025. ensure descriptions are not "".
  9026. * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java,
  9027. * javax/management/openmbean/OpenMBeanInfoSupport.java,
  9028. * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
  9029. (toString()): Use Arrays.toString().
  9030. * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
  9031. (OpenMBeanParameterInfoSupport(String, String, OpenType)):
  9032. Set open type here rather than in other constructors.
  9033. 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
  9034. * javax/management/MBeanFeatureInfo.java:
  9035. Make string variable package-private.
  9036. * javax/management/StandardMBean.java:
  9037. (getMBeanInterface()): Made final.
  9038. * javax/management/openmbean/SimpleType.java:
  9039. Made final.
  9040. 2006-08-05 Jeroen Frijters <jeroen@frijters.net>
  9041. * java/awt/Component.java (setDropTarget): Commented out GTK specific
  9042. code.
  9043. 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
  9044. * examples/gnu/classpath/examples/swing/FillRect.java,
  9045. * gnu/CORBA/Focused_ORB.java,
  9046. * gnu/CORBA/interfaces/gnuSocketFactory.java,
  9047. * gnu/classpath/ByteArray.java,
  9048. * gnu/classpath/ObjectPool.java,
  9049. * gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
  9050. * gnu/java/awt/peer/x/fonts.properties,
  9051. * gnu/java/security/util/Prime2.java,
  9052. * gnu/javax/imageio/gif/GIFStream.java,
  9053. * javax/swing/text/html/HTMLTableView.java,
  9054. * native/cni/Makefile.am,
  9055. * org/omg/CORBA/SendingContext/RunTimeOperations.java,
  9056. * org/omg/CORBA/SendingContext/Runtime.java,
  9057. * resource/gnu/regexp/MessagesBundle.properties,
  9058. * resource/gnu/regexp/MessagesBundle_fr.properties,
  9059. * resource/gnu/regexp/MessagesBundle_it.properties,
  9060. * tools/appletviewer.in,
  9061. * tools/jarsigner.in,
  9062. * tools/keytool.in,
  9063. * vm/reference/java/lang/management/VMThreadInfo.java:
  9064. Removed.
  9065. * examples/gnu/classpath/examples/awt/aicas.png,
  9066. * examples/gnu/classpath/examples/awt/palme.gif,
  9067. * examples/gnu/classpath/examples/java2d/aicas.png,
  9068. * examples/gnu/classpath/examples/java2d/palme.gif,
  9069. * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
  9070. * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png,
  9071. * java/awt/doc-files/capjoin.png,
  9072. * java/awt/geom/doc-files/Area-1.png,
  9073. * java/awt/geom/doc-files/Ellipse-1.png,
  9074. * java/awt/geom/doc-files/GeneralPath-1.png:
  9075. Added.
  9076. 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
  9077. * configdiag.jnlp:
  9078. Removed.
  9079. 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
  9080. * gnu/java/lang/management/BeanImpl.java:
  9081. (getAttribute(String)): Implemented.
  9082. 2006-08-05 Roman Kennke <kennke@aicas.com>
  9083. * javax/swing/text/JTextComponent.java
  9084. (AccessibleJTextComponent.dot): Renamed field into caretDot.
  9085. (AccessibleJTextComponent.textComp): Removed field
  9086. and replace with JTextComponent.this construct.
  9087. (AccessibleJTextComponent.AccessibleJTextComponent):
  9088. Fetch caret position.
  9089. (caretUpdate): Implemented. Fires property change events and
  9090. updates the caretDot field.
  9091. (changedUpdate): Implemented. Fires property change events.
  9092. (insertUpdate): Implemented. Fires property change events.
  9093. (removeUpdate): Implemented. Fires property change events.
  9094. (cut): Replaced textComp with JTextComponent.this construct.
  9095. (paste): Replaced textComp with JTextComponent.this construct.
  9096. (replaceText): Replaced textComp with JTextComponent.this construct.
  9097. (selectText): Replaced textComp with JTextComponent.this construct.
  9098. (getCaretPosition): Replaced textComp with JTextComponent.this
  9099. construct.
  9100. (getCharCount): Replaced textComp with JTextComponent.this construct.
  9101. (getSelectedText): Replaced textComp with JTextComponent.this
  9102. construct.
  9103. (getSelectionEnd): Replaced textComp with JTextComponent.this
  9104. construct.
  9105. (getSelectionStart): Replaced textComp with JTextComponent.this
  9106. construct.
  9107. (getTextRange): Replaced textComp with JTextComponent.this
  9108. construct.
  9109. (doAccessibleAction): Implemented.
  9110. (getAccessibleActionCount): Implemented.
  9111. (getAccessibleActionDescription): Implemented.
  9112. (getAccessibleStateSet): Implemented.
  9113. (getAfterIndex): Implemented.
  9114. (getBeforeIndex): Implemented.
  9115. (getAtIndex): Implemented.
  9116. (getAtIndexImpl): New helper method.
  9117. (getCharacterAttribute): Implemented.
  9118. (getCharacterBounds): Implemented.
  9119. (getIndexAtPoint): Implemented.
  9120. (insertTextAtIndex): Implemented.
  9121. (setAttributes): Implemented.
  9122. (setTextContents): Implemented.
  9123. 2006-08-05 Raif S. Naffah <raif@swiftdsl.com.au>
  9124. * configure.ac: Better handling of default-preferences-peer option.
  9125. 2006-08-04 Andreas Tobler <a.tobler@schweiz.ch>
  9126. * java/awt/BasicStroke.java (dashedStroke): Cast coords.clone to
  9127. double[].
  9128. 2006-08-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
  9129. * javax/management/openmbean/TabularData.java:
  9130. Documentation corrections.
  9131. * javax/management/openmbean/TabularDataSupport.java:
  9132. New file.
  9133. 2006-08-04 Francis Kung <fkung@redhat.com>
  9134. * java/awt/BasicStroke.java
  9135. (dashedStroke): Implemented.
  9136. 2006-08-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
  9137. * javax/management/BadAttributeValueExpException.java,
  9138. * javax/management/BadStringOperationException.java,
  9139. * javax/management/InstanceAlreadyExistsException.java,
  9140. * javax/management/InstanceNotFoundException.java,
  9141. * javax/management/InvalidApplicationException.java,
  9142. * javax/management/MBeanRegistrationException.java,
  9143. * javax/management/MalformedObjectNameException.java,
  9144. * javax/management/RuntimeErrorException.java,
  9145. * javax/management/RuntimeMBeanException.java,
  9146. * javax/management/ServiceNotFoundException.java:
  9147. New files.
  9148. 2006-08-04 Roman Kennke <kennke@aicas.com>
  9149. * javax/swing/SwingUtilities.java
  9150. (layoutCompoundLabel(JComponent,FontMetrics,String,Icon,int,int,int,
  9151. int,Rectangle,Rectangle,Rectangle,int)): Delegate to new
  9152. layoutCompoundLabelImpl().
  9153. (layoutCompoundLabel(FontMetrics,String,Icon,int,int,int,int,
  9154. Rectangle,Rectangle,Rectangle,int)): Delegate to new
  9155. layoutCompoundLabelImpl().
  9156. (layoutCompoundLabelImpl): New helper method. Moved impl from
  9157. layoutCompoundLabel() to here and added handling of HTML.
  9158. * javax/swing/plaf/basic/BasicButtonUI.java
  9159. (installUI): Update HTML view if appropriate.
  9160. (uninstallUI): New method. Do the usual uninstallUI things
  9161. and uninstall HTML view.
  9162. (getMinimumSize): New method. Adjusts the minimum size
  9163. by the HTML view minimum size.
  9164. (getMaximumSize): New method. Adjusts the maximum size
  9165. by the HTML view maximum size.
  9166. (getPreferredSize): Pass the button's iconTextGap to the
  9167. BasicGraphicsUtils method.
  9168. (paint): Let HTML view paint the text, if present.
  9169. * javax/swing/plaf/basic/BasicButtonListener.java
  9170. (propertyChange): Update the HTML view when the button's
  9171. text is changed.
  9172. 2006-08-04 Mario Torre <neugens@limasoftware.net>
  9173. Reported by Raif S. Naffah <raif@swiftdsl.com.au>
  9174. * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
  9175. g_type_init earlier in function to correctly initialize the
  9176. type system used by the backend.
  9177. 2006-08-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  9178. PR 26972
  9179. * javax/naming/Name.java (addAll, getPrefix, getSuffix):
  9180. Documented.
  9181. * gnu/javax/naming/ictxImpl/trans/GnuName.java: New file.
  9182. 2006-08-04 Robert Schuster <robertschuster@fsfe.org>
  9183. Reported by Henrik Gulbrandsen <henrik@gulbra.net>
  9184. Fixes PR27864.
  9185. * gnu/xml/dom/DomIterator.java:
  9186. (successor): Added if-statement.
  9187. 2006-08-04 Mark Wielaard <mark@klomp.org>
  9188. * scripts/Makefile.am (EXTRA_DIST): Add import-cacerts.sh.
  9189. 2006-08-04 Robert Schuster <robertschuster@fsfe.org>
  9190. * javax/swing/plaf/metal/MetalMenuBarUI.java:
  9191. (update): Check size and paint smaller gradient.
  9192. * javax/swing/plaf/metal/MetalBorders.java:
  9193. (MenuBarBorder): Removed borderColor field.
  9194. (MenuBarBorder.paintBorder): Added note, fetch color from UIManager or
  9195. MetalLookAndFeel.
  9196. 2006-08-03 Roman Kennke <kennke@aicas.com>
  9197. PR 27637
  9198. * javax/swing/plaf/basic/BasicInternalFrameUI.java
  9199. (ComponentHandler.componentResized): Reimplemented to handle
  9200. arbitrary parents.
  9201. (InternalFramePropertyChangeHandler.propertyChange): (Un)install
  9202. component listener on changed ancestor.
  9203. (installListeners): Install componentListener.
  9204. (uninstallListeners): Uninstall componentListener.
  9205. 2006-08-03 Carsten Neumann <cn-develop@gmx.net>
  9206. * StrictMath.java (cbrt): Return argument if it is a NaN.
  9207. (cosh): Likewise.
  9208. (expm1): Likewise.
  9209. (sinh): Likewise.
  9210. 2006-08-03 Carsten Neumann <cn-develop@gmx.net>
  9211. * java/lang/StrictMath.java (tanh): New method.
  9212. 2006-08-03 Raif S. Naffah <raif@swiftdsl.com.au>
  9213. * scripts/import-cacerts.sh: Batch CA certificates import script.
  9214. 2006-08-03 Roman Kennke <kennke@aicas.com>
  9215. PR 27606
  9216. * javax/swing/plaf/basic/BasicListUI.java
  9217. (paintCell): Pass row index to cell renderer.
  9218. * javax/swing/plaf/basic/MetalFileChooserUI.java
  9219. (DirectoryComboBoxRenderer.indentIcon): New field.
  9220. (DirectoryComboBoxRenderer.DirectoryComboBoxRenderer):
  9221. Initialize indentIcon.
  9222. (DirectoryComboBoxRenderer.getListCellRendererComponent):
  9223. Fall back to super and removed standard functionality.
  9224. Handle indentation.
  9225. (IndentIcon): New class. Wraps and indents another icon.
  9226. 2006-08-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
  9227. * javax/management/MBeanConstructorInfo.java:
  9228. (MBeanConstructorInfo(String,String,MBeanParameterInfo[]):
  9229. Copy array rather than directly assigning.
  9230. * javax/management/MBeanInfo.java:
  9231. (MBeanInfo(String,String,MBeanAttributeInfo[],
  9232. MBeanConstructorInfo[], MBeanOperationInfo[],
  9233. MBeanNotificationInfo[])): Likewise.
  9234. * javax/management/MBeanOperationInfo.java:
  9235. (MBeanOperationInfo(String,String,MBeanParameterInfo[],String,int)):
  9236. Likewise.
  9237. * javax/management/openmbean/OpenMBeanAttributeInfoSupport.java,
  9238. * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java:
  9239. New files.
  9240. * javax/management/openmbean/OpenMBeanInfo.java:
  9241. Corrected documentation.
  9242. * javax/management/openmbean/OpenMBeanInfoSupport.java:
  9243. New file.
  9244. * javax/management/openmbean/OpenMBeanOperationInfo.java:
  9245. Corrected documentation.
  9246. * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
  9247. New file.
  9248. * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
  9249. (MBeanParameterInfo(String,String,OpenType,Object,Object[])):
  9250. Call other constructor rather than reimplementing.
  9251. 2006-08-02 Lillian Angel <langel@redhat.com>
  9252. * java/awt/dnd/DragSource.java
  9253. (isDragImageSupported): Implemented.
  9254. (getDragThreshold): Changed default value.
  9255. * java/awt/dnd/DropTarget.java
  9256. (DropTarget): Default action is changed to ACTION_COPY_OR_MOVE.
  9257. (DropTarget): Likewise.
  9258. (DropTarget): If FlavorMap passed in is null, we should use the system default.
  9259. (addDropTargetListener): Added check to determine if new DropTargetListener
  9260. is this class. If so, an IllegalArgumentException is thrown. If the
  9261. new listener is null, nothing happens.
  9262. 2006-08-02 Thomas Fitzsimmons <fitzsim@redhat.com>
  9263. * configure.ac (MOZILLA_FOUND): Fall back to
  9264. mozilla-firefox-plugin.
  9265. 2006-08-02 Sven de Marothy <sven@physto.se>
  9266. * java/awt/geom/AffineTransform.java
  9267. (hashCode): Tweak impl.
  9268. * java/awt/font/FontRenderContext.java
  9269. (hashCode): Implement.
  9270. 2006-08-02 Carsten Neumann <cn-develop@gmx.net>
  9271. * java/lang/StrictMath.java (sinh): New method.
  9272. 2006-08-02 Roman Kennke <kennke@aicas.com>
  9273. PR 27605
  9274. * javax/swing/JComboBox.java
  9275. (setSelectedItem): Fire ActionEvent here.
  9276. * javax/swing/plaf/basic/BasicDirectoryModel.java
  9277. (directories): Changed to type Vector.
  9278. (files): New field.
  9279. (loadThread): New field.
  9280. (DirectoryLoadThread): New inner class. This loads the contents
  9281. of directories asynchronously.
  9282. (getDirectories): Return cached Vector.
  9283. (getFiles): Return cached Vector.
  9284. (getSize): Return plain size of contents Vector.
  9285. (propertyChange): Reread directory also for DIRECTORY_CHANGED,
  9286. FILE_FILTER_CHANGED, FILE_HIDING_CHANGED and FILE_VIEW_CHANGED.
  9287. (sort): Don't store sorted list in contents. This must be done
  9288. asynchronously from the EventThread.
  9289. (validateFileCache): Rewritten for asynchronous reading
  9290. of directory contents.
  9291. * javax/swing/plaf/basic/BasicFileChooserUI.java
  9292. (installListeners): Install model as PropertyChangeListener.
  9293. (uninstallListeners): Uninstall model as PropertyChangeListener.
  9294. (createPropertyChangeListener): Return null just like the
  9295. RI.
  9296. 2006-08-02 Sven de Marothy <sven@physto.se>
  9297. * gnu/java/awt/peer/gtk/GtkChoicePeer.java
  9298. (remove): Force event on removing item 0 when it's selected.
  9299. (handleEvent): Always call Choice.selected().
  9300. * java/awt/Choice.java:
  9301. (remove): Simplify and correct.
  9302. 2006-08-02 Mark Wielaard <mark@klomp.org>
  9303. PR 28535
  9304. * configure.ac (gconf-peer): Check for gdk-2.0.
  9305. * native/jni/gconf-peer/Makefile.am
  9306. (AM_LDFLAGS): Use GDK_LIBS.
  9307. (AM_CFLAGS): Use GDK_CFLAGS.
  9308. 2006-08-02 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
  9309. * java/net/URL.java (getContent(Class[])): Implement.
  9310. 2006-08-02 Roman Kennke <kennke@aicas.com>
  9311. PR 27624
  9312. * javax/swing/JMenu.java
  9313. (JMenu()): Removed setting of delay.
  9314. (JMenu(String)): Removed setting of delay.
  9315. (JMenu(Action)): Removed setting of delay.
  9316. (JMenu(String,boolean)): Removed setting of delay.
  9317. (setSelectedHelper): Removed unneeded method.
  9318. (setSelected): Simply set the model state.
  9319. (setPopupMenuVisible): Recognize the popup location
  9320. determined by getPopupMenuOrigin().
  9321. (getPopupMenuOrigin): Recognize the UI properties for
  9322. X and Y offset.
  9323. (menuSelectionChanged): Call setSelected() directly.
  9324. * javax/swing/JPopupMenu.java
  9325. (menuSelectionChanged): If invoker is a JMenu, then delegate
  9326. to that to get the position right.
  9327. * javax/swing/Popup.java
  9328. (LightweightPopup.show): Insert the popup as first component
  9329. in the layer, so that it overlaps it's caller.
  9330. * javax/swing/plaf/basic/BasicMenuItemUI.java
  9331. (getPath): Don't include the popup.
  9332. * javax/swing/plaf/basic/BasicMenuUI.java
  9333. (SelectMenuAction): New class. This invokes the popup when
  9334. a menu is selected.
  9335. (installDefaults): Install delay of 200 ms.
  9336. (setupPostTimer): Implemented.
  9337. (MouseInputHandler.mouseClicked): Do nothing here.
  9338. (MouseInputHandler.mouseEntered): Use MenuSelectionManager
  9339. magic to handle the selection. Open the menu via a timer.
  9340. (MouseInputHandler.mousePressed): Use MenuSelectionManager
  9341. magic to handle the selection. Open the menu via a timer.
  9342. (MenuDragMouseHandler.menuMouseDragged): Probably use
  9343. timer.
  9344. (menuDragMouseEntered): Do nothing here.
  9345. 2006-08-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
  9346. * javax/management/openmbean/InvalidOpenTypeException.java,
  9347. * javax/management/openmbean/KeyAlreadyExistsException.java:
  9348. New files.
  9349. 2006-08-02 Roman Kennke <kennke@aicas.com>
  9350. PR 27604
  9351. * javax/swing/plaf/basic/BasicChooserUI.java
  9352. (BasicFileView.getName): Fetch the real name from the
  9353. file chooser's FileSystemView.
  9354. * javax/swing/plaf/metal/MetalChooserUI.java
  9355. (DirectoryComboBoxRenderer.getListCellRendererComponent):
  9356. Set the text fetched from the JFileChooser.getName().
  9357. * javax/swing/FileSystemView.java
  9358. (createFileObject): When file is a filesystem root,
  9359. create a filesystem root object first.
  9360. (getSystemDisplayName): Return the filename. Added specnote
  9361. about ShellFolder class that is mentioned in the spec.
  9362. * javax/swing/UnixFileSystemView.java
  9363. (getSystemDisplayName): Implemented to return the real name
  9364. of a file, special handling files like '.' or '..'.
  9365. 2006-08-03 Mark Wielaard <mark@klomp.org>
  9366. * examples/gnu/classpath/examples/icons/badge.png: Add file.
  9367. 2006-08-03 Roman Kennke <kennke@aicas.com>
  9368. PR 28562
  9369. * javax/swing/plaf/basic/BasicOptionPaneUI.java
  9370. (PropertyChangeHandler.propertyChange): Cleanly reinstall
  9371. components when visual property chanegs.
  9372. 2006-08-03 Roman Kennke <kennke@aicas.com>
  9373. PR 28562
  9374. * javax/swing/plaf/basic/BasicOptionPaneUI.java
  9375. (PropertyChangeHandler.propertyChange): Uninstall and reinstall
  9376. component when visual properties change.
  9377. 2006-08-03 Roman Kennke <kennke@aicas.com>
  9378. PR 28534
  9379. * javax/swing/JTree.java
  9380. (JTree(TreeModel)): Set cell renderer to null.
  9381. * javax/swing/plaf/basic/BasicTreeUI.java
  9382. (setCellRenderer): Finish editing before setting the
  9383. cell renderer. Refresh the layout. Don't set the
  9384. currentCellRenderer field here (that's done in updateRenderer).
  9385. (updateRenderer): Handle createdRenderer field here too.
  9386. Set renderer to a default handler when the current renderer
  9387. in the JTree is null.
  9388. 2006-08-02 Raif S. Naffah <raif@swiftdsl.com.au>
  9389. PR Classpath/23899
  9390. * java/security/SecureRandom.java (next): Call nextBytes as per specs.
  9391. 2006-08-02 Raif S. Naffah <raif@swiftdsl.com.au>
  9392. PR Classpath/28556
  9393. * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (encodePrivateKey):
  9394. Updated documentation to clarify that RFC-2459 states that the parameters
  9395. field of the AlgorithmIdentifier element MUST be NULL if present.
  9396. Amended the code to reflect the specs.
  9397. (decodePrivateKey): Handle case of NULL AlgorithmIdentifier.parameters.
  9398. 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
  9399. * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
  9400. Call parameter 'defaultValue' not 'defValue'.
  9401. 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
  9402. * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
  9403. New file.
  9404. 2006-08-01 Roman Kennke <kennke@aicas.com>
  9405. PR 28562
  9406. * javax/swing/plaf/basic/BasicOptionPaneUI.java
  9407. (PropertyChangeHandler.propertyChange): Cleanly reinstall
  9408. components when visual property chanegs.
  9409. 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
  9410. * javax/management/openmbean/OpenMBeanAttributeInfo.java:
  9411. (toString()): Corrected documentation.
  9412. * javax/management/openmbean/OpenMBeanConstructorInfo.java,
  9413. * javax/management/openmbean/OpenMBeanInfo.java,
  9414. * javax/management/openmbean/OpenMBeanOperationInfo.java:
  9415. New files.
  9416. * javax/management/openmbean/OpenMBeanParameterInfo.java:
  9417. (toString()): Corrected documentation.
  9418. 2006-08-01 Tania Bento <tbento@redhat.com>
  9419. * java/awt/Choice.java
  9420. (remove(int)): Added documentation.
  9421. 2006-08-01 Tania Bento <tbento@redhat.com>
  9422. * java/awt/Choice.java
  9423. (remove(int)): An IllegalArgumentException should not be thrown
  9424. if int is invalid. Update selectedIndex and peer selection.
  9425. 2006-08-01 Tania Bento <tbento@redhat.com>
  9426. * java/awt/CardLayout.java
  9427. (toString): Changed format of string outputted.
  9428. (goToComponent): Changed the order of the if-clause.
  9429. 2006-07-31 Tom Tromey <tromey@redhat.com>
  9430. * INSTALL: Updated for ASM.
  9431. 2006-07-31 Tom Tromey <tromey@redhat.com>
  9432. PR libgcj/23682:
  9433. * java/nio/channels/SelectionKey.java (attach): Now synchronized.
  9434. (attachment): Likewise.
  9435. * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
  9436. synchronized.
  9437. (isValid): Likewise.
  9438. * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
  9439. (ch): Likewise.
  9440. (interestOps): Synchronize.
  9441. (readyOps): Likewise.
  9442. * gnu/java/nio/SelectorImpl.java (register): Synchronize around
  9443. interestOps call.
  9444. 2006-07-31 Roman Kennke <kennke@aicas.com>
  9445. * NEWS: Added note about the X peers.
  9446. * INSTALL: Added install notes about the X peers.
  9447. 2006-07-31 Carsten Neumann <cn-develop@gmx.net>
  9448. * StrictMath.java (getLowDWord): Return long instead of int.
  9449. (getHighDWord): Likewise.
  9450. (buildDouble): Take two long arguments.
  9451. (cbrt): Adapted to int -> long change.
  9452. (expm1): Likewise.
  9453. (cosh): Likewise.
  9454. 2006-07-31 Thomas Fitzsimmons <fitzsim@redhat.com>
  9455. * native/jni/qt-peer/Makefile.am (libqtpeer_la_LDFLAGS): Add
  9456. -avoid-version.
  9457. 2006-07-31 Raif S. Naffah <raif@swiftdsl.com.au>
  9458. * java/security/Provider.java: Updated copyright year.
  9459. Updated documentation.
  9460. Formatting.
  9461. (put): Updated documentation.
  9462. Added security manager check.
  9463. Canonicalize the key before adding its mapping.
  9464. (get): Override superclass implementation to use canonicalized keys.
  9465. (remove): Updated documentation.
  9466. Added security manager check.
  9467. Canonicalize the key before removing its mapping.
  9468. (clear): Updated documentation.
  9469. Added security manager check.
  9470. (toCanonicalKey): New method.
  9471. 2006-07-30 Matt Wringe <mwringe@redhat.com>
  9472. * gnu/java/security/Engine.java
  9473. (getInstance): Ignore self referencing aliases.
  9474. 2006-07-30 Mark Wielaard <mark@klomp.org>
  9475. * javax/swing/JComponent.java (getListeners): Revert
  9476. un-genericization.
  9477. 2006-07-30 Mark Wielaard <mark@klomp.org>
  9478. * resource/java/security/classpath.security: Add /dev/urandom as
  9479. default securerandom.source.
  9480. 2006-07-30 Mark Wielaard <mark@klomp.org>
  9481. * java/util/GregorianCalendar.java (maximums): Months can have up to
  9482. 6 weeks.
  9483. (nonLeniencyCheck): weeks is either 5 or 6.
  9484. 2006-07-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
  9485. * javax/management/openmbean/OpenMBeanAttributeInfo.java,
  9486. * javax/management/openmbean/OpenMBeanParameterInfo.java:
  9487. New files.
  9488. 2006-07-30 Matt Wringe <mwringe@redhat.com>
  9489. * gnu/java/security/Engine.java
  9490. (getInstance): Ignore self referencing aliases.
  9491. 2006-07-30 Sven de Marothy <sven@physto.se>
  9492. * java/awt/Choice.java:
  9493. (accessibleAction): Call select() directly.
  9494. (add, insert, remove): Reimplement.
  9495. (dispatchEventImpl): Always call super.
  9496. (processItemEvent): Does not set the index.
  9497. * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h
  9498. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
  9499. (append): removed.
  9500. (nativeAdd): Name changed to add.
  9501. (selection_changed_cb): Simplify callback.
  9502. * gnu/java/awt/peer/gtk/GtkChoicePeer.java
  9503. (selected): New field.
  9504. (add): Replaced with native impl.
  9505. (handleEvent): New method.
  9506. 2006-07-30 Sven de Marothy <sven@physto.se>
  9507. * java/awt/Choice.java:
  9508. Reformat, fix copyright year.
  9509. 2006-07-29 Mark Wielaard <mark@klomp.org>
  9510. * javax/swing/JComponent.java (paintingDoubleBuffered): Renamed
  9511. static field isPaintingDoubleBuffered to not have the same name
  9512. as a method.
  9513. 2006-07-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
  9514. * examples/gnu/classpath/examples/management/TestBeans.java:
  9515. New file.
  9516. * javax/management/MBeanAttributeInfo.java:
  9517. (toString()): Implemented.
  9518. * javax/management/MBeanConstructorInfo.java:
  9519. (toString()): Implemented.
  9520. * javax/management/MBeanFeatureInfo.java:
  9521. (toString()): Implemented.
  9522. * javax/management/MBeanInfo.java:
  9523. (toString()): Implemented.
  9524. * javax/management/MBeanNotificationInfo.java:
  9525. (toString()): Implemented.
  9526. * javax/management/MBeanOperationInfo.java:
  9527. (toString()): Implemented.
  9528. * javax/management/MBeanParameterInfo.java:
  9529. (toString()): Implemented.
  9530. * javax/management/StandardMBean.java:
  9531. (getMBeanInfo()): Fix attribute naming.
  9532. 2006-07-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
  9533. * gnu/java/lang/management/BeanImpl.java:
  9534. Extended javax.management.StandardMBean.
  9535. * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
  9536. * gnu/java/lang/management/CompilationMXBeanImpl.java,
  9537. * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
  9538. * gnu/java/lang/management/MemoryMXBeanImpl.java,
  9539. * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
  9540. * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
  9541. * gnu/java/lang/management/OperatingSystemMXBeanImpl.java,
  9542. * gnu/java/lang/management/RuntimeMXBeanImpl.java,
  9543. * gnu/java/lang/management/ThreadMXBeanImpl.java:
  9544. Call the superclass with the appropriate class.
  9545. * java/lang/management/ManagementFactory.java:
  9546. (getOperatingSystemMXBean()): Catch exception from
  9547. StandardMBean.
  9548. (getRuntimeMXBean()): Likewise.
  9549. (getClassLoadingMXBean()): Likewise.
  9550. (getThreadMXBean()): Likewise.
  9551. (getMemoryMXBean()): Likewise.
  9552. (getCompilationMXBean()): Likewise.
  9553. (getMemoryPoolMXBeans()): Likewise.
  9554. (getMemoryManagerMXBeans()): Likewise.
  9555. (getGarbageCollectorMXBeans()): Likewise.
  9556. * javax/management/MBeanFeatureInfo.java:
  9557. hashCode()): Fixed to check for null values.
  9558. 2006-07-29 Matt Wringe <mwringe@redhat.com>
  9559. * gnu/java/security/Engine.java
  9560. (getInstance): Add case insentivity to algorithm names
  9561. * java/security/Provider.java
  9562. (put): Stop using canonical key naming
  9563. (remove): Likewise
  9564. (toCanonicalKey): Method removed
  9565. (get): Method removed, no longer needs to overwrite
  9566. parent implementation
  9567. 2006-07-29 Mark Wielaard <mark@klomp.org>
  9568. * gnu/java/awt/peer/gtk/GdkTextLayout.java: Removed.
  9569. * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed.
  9570. * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
  9571. * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed.
  9572. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Removed.
  9573. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
  9574. Removed.
  9575. 2006-07-29 Sven de Marothy <sven@physto.se>
  9576. * java/math/BigDecimal.java
  9577. Adjust copyright date.
  9578. (divide(BigDecimal): Implement.
  9579. (precision): Reimplement.
  9580. (numDigitsInBigInteger, numDigitsInLong): Removed.
  9581. (toString): Get exponent from string length,
  9582. fix negative values with exponential form.
  9583. (toEngineeringString): Same as for toString.
  9584. (setScale): Throw ArithmeticException if scale < 0.
  9585. 2006-07-27 Francis Kung <fkung@redhat.com>
  9586. * gnu/java/awt/java2d/CubicSegment.java: Added import.
  9587. (cp1): Renamed from first().
  9588. (c2): Renamed from last().
  9589. (first): Renamed to cp1().
  9590. (getDisplacedSegments): Implemented.
  9591. (last): Renamed to cp2().
  9592. * gnu/java/awt/java2d/LineSegment.java
  9593. (cp1): Renamed from first().
  9594. (c2): Renamed from last().
  9595. (first): Renamed to cp1().
  9596. (last): Renamed to cp2().
  9597. * gnu/java/awt/java2d/QuadSegment.java
  9598. (cp1): Renamed from first().
  9599. (c2): Renamed from last().
  9600. (first): Renamed to cp1().
  9601. (last): Renamed to cp2().
  9602. * gnu/java/awt/java2d/Segment.java: Added comments.
  9603. (first): New field.
  9604. (Segment): Keep track of first element in list.
  9605. (add): Update first & last element variables.
  9606. (cp1): Renamed from first().
  9607. (c2): Renamed from last().
  9608. (first()): Renamed to cp1() to reduce ambiguity.
  9609. (last()): Renamed to cp2() to reduce ambiguity.
  9610. (reverseAll): Update first element variable..
  9611. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  9612. (draw): Remove flattening path iterator.
  9613. * java/awt/BasicStroke.java: Clarified comments.
  9614. (addSegments): Refactored some code into joinSegments and
  9615. joinInnerSegments.
  9616. (capEnd): Rename of Segment.first() and Segment.end().
  9617. (joinInnerSegments): New method.
  9618. (joinOuterSegments): New method.
  9619. (joinSegments): Refactored some code into joinOuterSegments.
  9620. (solidStroke): Connect segments together properly.
  9621. 2006-07-28 Thomas Fitzsimmons <fitzsim@redhat.com>
  9622. * native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add
  9623. -avoid-version.
  9624. * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LDFLAGS):
  9625. Likewise.
  9626. * native/jni/midi-alsa/Makefile.am (libgjsmalsa_la_LDFLAGS):
  9627. Likewise.
  9628. * native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_LDFLAGS):
  9629. Likewise.
  9630. 2006-07-28 Tom Tromey <tromey@redhat.com>
  9631. * configure.ac: Enable -Werror by default on Linux-with-gcc.
  9632. 2006-07-28 Lillian Angel <langel@redhat.com>
  9633. * native/jni/gtk-peer/GtkDragSourceContextPeer.c:
  9634. Removed function declarations.
  9635. (connect_signals_for_widget): Removed implementation because
  9636. stub functions have been removed.
  9637. (drag_begin_cb): Removed function.
  9638. (drag_motion_cb): Likewise.
  9639. (drag_data_get_cb): Likewise.
  9640. (drag_data_delete_cb): Likewise.
  9641. (drag_drop_cb): Likewise.
  9642. (drag_end_cb): Likewise.
  9643. (drag_data_received_cb): Likewise.
  9644. 2006-07-28 Mark Wielaard <mark@klomp.org>
  9645. * configure.ac: Set version to 0.93-pre.
  9646. 2006-07-29 Raif S. Naffah <raif@swiftdsl.com.au>
  9647. * tools/Makefile.am: Added source 1.4 compliance option when ECJ is used.
  9648. 2006-07-29 Raif S. Naffah <raif@swiftdsl.com.au>
  9649. * tools/gnu/classpath/tools/keytool/Command.java: Removed unused import.
  9650. (getCallbackHandler): Fully qualify linked class in javadoc.
  9651. * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (cmdOptionsParser): Removed.
  9652. * tools/gnu/classpath/tools/keytool/ImportCmd.java (imported): Likewise.
  9653. * tools/gnu/classpath/tools/keytool/Main.java (printHelp): Likewise.
  9654. 2006-07-27 Tom Tromey <tromey@redhat.com>
  9655. PR classpath/28486:
  9656. * java/net/URLStreamHandler.java (equals): Properly handle default
  9657. port. Rewrote javadoc. Don't compare 'authority' parts of URLs.
  9658. 2006-07-27 Roman Kennke <kennke@aicas.com>
  9659. * javax/swing/text/AbstractDocument.java
  9660. (documentCV): Made field private.
  9661. (bypass): Made field private.
  9662. (bidiRoot): New field.
  9663. (AbstractDocument): Initialize bidiRoot.
  9664. (getBidiRootElement): Return bidiRoot.
  9665. (getRootElements): Adjusted to also return the bidiRoot element.
  9666. (BranchElement.startOffset): Removed unneeded field.
  9667. (BranchElement.endOffset): Removed unneeded field.
  9668. (BranchElement.BranchElement): Removed unneeded fields.
  9669. (BranchElement.getEndOffset): Don't explicitly throw NPE here. This is
  9670. done automatically when there's no element left in the array.
  9671. (BranchElement.getStartOffset): Likewise.
  9672. (BranchElement.replace): Reordered calculations to avoid double
  9673. calculations.
  9674. (removeImpl): Silently ignore requests with length <= 0.
  9675. * javax/swing/text/GapContent.java
  9676. (createPosition): Removed explicit check for correct offset.
  9677. This class can deal with offsets outside the document.
  9678. (shiftEnd): Update all positions, even those outside the
  9679. document.
  9680. (adjustPositionsInRange): Fixed to also adjust positions outside
  9681. the document boundary.
  9682. 2006-07-18 Kyle Galloway <kgallowa@redhat.com>
  9683. * gnu/classpath/jdwp/event/ExceptionEvent.java: Added _klass field to hold
  9684. defining class.
  9685. (getParameter): Returns _klass field instead of determining
  9686. class from _instance.
  9687. (setCatchLoc): New method.
  9688. (writeData): Now assumes Location deals with empty locations instead of
  9689. using null.
  9690. * gnu/classpath/jdwp/util/Location.java (write): Check for empty
  9691. locations and write out accordingly.
  9692. (getEmptyLocation): New method.
  9693. 2006-07-27 Roman Kennke <kennke@aicas.com>
  9694. * javax/swing/text/SimpleAttributeSet.java
  9695. (EMPTY): Use EmptyAttributeSet for this field rather than
  9696. SimpleAttributeSet.
  9697. * javax/swing/text/EmptyAttributeSet.java: New class. Implements
  9698. an empty and immutable AttributeSet.
  9699. 2006-07-27 Roman Kennke <kennke@aicas.com>
  9700. * java/awt/Component.java
  9701. (reshape): Invalidate the component itself only when the
  9702. size has changed. Invalidate the parent always. Fixed
  9703. repainting. Pulled out the notification into
  9704. notifyReshape().
  9705. (notifyReshape): New helper method. Notify interested listeners
  9706. about a reshape.
  9707. (update): Simply call paint() without clearing the background.
  9708. This is done in Container.update() if appropriate.
  9709. (repaint): Delagate the repaint to the nearest heavyweight
  9710. parent (for lightweights) and send an UPDATE event, rather than
  9711. calling ComponentPeer.repaint().
  9712. * java/awt/Container.java
  9713. (backCleared): Removed field.
  9714. (paint): Removed handling of backCleared flag.
  9715. (update): Only paint if the container is actually
  9716. showing. Removed handling of backCleared flag.
  9717. 2006-07-27 Robert Schuster <robertschuster@fsfe.org>
  9718. * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Fixed copyright and
  9719. authorship.
  9720. (NavigateAction): New inner class.
  9721. (NavigatePageDownAction): New inner class.
  9722. (NavigatePageUpAction): New inner class.
  9723. (RequestFocusAction): New inner class.
  9724. (RequestFocusForVisibleComponentAction): New inner class.
  9725. (FocusHandler.focusGained): Implemented.
  9726. (FocusHandler.focusLost): Implemented.
  9727. (MouseHandler.mouseReleased): Implemented.
  9728. (MouseHandler.mousePressed): Rewritten.
  9729. (PropertyChangeHandler.propertyChange): Reset currentScrollOffset and
  9730. currentScrollLocation to 0.
  9731. (TabbedPaneLayout.calculateSize): Stored tab count in local variable,
  9732. removed local variables, fixed indentation to stay under 80 column
  9733. limit.
  9734. (TabbedPaneLayout.calculateTabRects): Decrease tab area position by
  9735. one, set selectedIndex to 0 if its negative, corrected start values
  9736. for normalization, suppressed padding when only one tab run,
  9737. (TabbedPaneLayout.minimumLayoutSize): Toggled argument value.
  9738. (TabbedPaneLayout.normalizeTabRuns): Fixed indentation to stay under
  9739. 80 column limit, corrected the starting value for the bounds fixing
  9740. phase.
  9741. (TabbedPaneLayout.preferredTabAreaWidth): Fixed indentation.
  9742. (TabbedPaneLayout.rotateTabInRuns): Corrected comparison value for
  9743. selectedRun, set start index for loop to 0.
  9744. (TabbedPaneScrollLayout.preferredLayoutSize): Toggled argument value.
  9745. (TabbedPaneScrollLayout.calculateTabRects): Rewritten.
  9746. (TabbedPaneScrollLayout.layoutContainer): Added scrolling button
  9747. alignment and visibility handling.
  9748. (TabSelectionHandler.stateChanged): Do revalidation only in wrap tab
  9749. layout mode.
  9750. (ScrollingPanel.ScrollingPanelUI.paint): Rewritten.
  9751. (currentScrollOffset): New field.
  9752. (tabRuns): Rewritten documentation.
  9753. (selectedColor): New field.
  9754. (tempTextRect): New field.
  9755. (tempIconRect): New field.
  9756. (scrollTab): New method.
  9757. (updateButtons): New method.
  9758. (updateViewPosition): New method.
  9759. (createLayoutManager): Reordered method calls, predefine new fields,
  9760. register proper listeners.
  9761. (uninstallComponents): Implemented.
  9762. (installDefaults): Corrected property names, fixed indentation,.
  9763. (uninstallDefaults): Set new fields to null.
  9764. (uninstallListeners): Remove listeners from components neccessary for
  9765. scrolling tab layout.
  9766. (installKeyboardActions): Implemented.
  9767. (uninstallKeyboardActions): Implemented.
  9768. (paint): Paint tab area background.
  9769. (paintTabArea): Fixed indentation, removed usage of local Rectangle
  9770. objects.
  9771. (getTabLabelShiftX): Rewritten.
  9772. (getTabLabelShiftY): Rewritten.
  9773. (paintFocusIndicator): Reindented.
  9774. (paintTabBorder): Rewritten.
  9775. (paintTabBackground): Corrected color usage, rewritten background
  9776. rectangle painting.
  9777. (paintContentBorderTopEdge): Rewritten.
  9778. (paintContentBorderBottomEdge): Rewritten.
  9779. (paintContentBorderLeftEdge): Rewritten.
  9780. (paintContentBorderRightEdge): Rewritten.
  9781. (tabForCoordinate): Return selected index when no tab could be
  9782. found, removed FIXME note.
  9783. (getRunForTab): Changed return value for first if-statement.
  9784. (navigateSelectedTab): Fixed last argument for both
  9785. getTabRunOffset() calls.
  9786. (selectedNextTabInRun): Added scrolling code.
  9787. (selectedPreviousTabInRun): Added scrolling code.
  9788. (selectedNextTab): Added scrolling code.
  9789. (selectedPreviousTab): Added scrolling code.
  9790. (selectAdjacentRunTab): Added scrolling code.
  9791. (getTextViewForTab): Added FIXME note.
  9792. (calculateTabHeight): Changed FIXME note.
  9793. (getTabRunOffset): Fixed indentation.
  9794. (getNextTabIndexInRun): Corrected return value.
  9795. (rotateInsets): Make TOP case the default in switch-statement.
  9796. (getActionMap): New method.
  9797. (createActionMap): New method.
  9798. * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
  9799. (createLayoutManager): Rewritten.
  9800. (paintLeftTabBorder): Do not paint left line when previous tab
  9801. is selected but current tab is the first in its run, do not paint
  9802. left line when current tab is selected and is first in its run.
  9803. (paintRightTabBorder): Added missing setColor() call, fixed color
  9804. usage, do not paint right line if previous tab is selected but
  9805. current tab is the first in its run.
  9806. (paintBottomTabBorder): Do not paint left line if tab is selected
  9807. and is the first tab in the last run.
  9808. (paintFocusIndicator): New method.
  9809. (getLabelShiftX): New method.
  9810. (getLabelShiftY): New method.
  9811. 2006-07-27 Andreas Tobler <a.tobler@schweiz.ch>
  9812. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
  9813. (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix): Remove
  9814. g_assert from unused obj.
  9815. (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Mark
  9816. obj as unused and remove g_assert on it.
  9817. 2006-07-26 Roman Kennke <kennke@aicas.com>
  9818. * javax/swing/RepaintManager.java
  9819. (markCompletelyDirty): Add dirty region with Integer.MAX_VALUE
  9820. for the component.
  9821. (isCompletelyDirty): Consider a component completely dirty
  9822. when it has a dirty region with Integer.MAX_VALUE.
  9823. 2006-07-26 Roman Kennke <kennke@aicas.com>
  9824. * java/awt/KeyboardFocusManager.java
  9825. (getGlobalFocusOwner): Explicitly check for thread security.
  9826. (getGlobalPermanentFocusOwner): Explicitly check for thread security.
  9827. (getGlobalFocusedWindow): Explicitly check for thread security.
  9828. (getGlobalActiveWindow): Explicitly check for thread security.
  9829. (getGlobalCurrentFocusCycleRoot): Explicitly check for thread security.
  9830. (getGlobalObject): Added new argument for specifying if
  9831. a security check should be performed or not.
  9832. (setGlobalObject): Don't check for thread security when
  9833. calling getGlobalObject.
  9834. 2006-07-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
  9835. * javax/management/MBeanConstructorInfo.java:
  9836. Documentation fix.
  9837. * javax/management/MBeanInfo.java:
  9838. (MBeanInfo(String,String,MBeanAttributeInfo[],
  9839. MBeanConstructorInfo[], MBeanOperationInfo[],
  9840. MBeanNotificationInfo[])): Implemented.
  9841. (equals(Object)): Likewise.
  9842. (getAttributes()): Likewise.
  9843. (getConstructors()): Likewise.
  9844. (getOperations()): Likewise.
  9845. (hashCode()): Likewise.
  9846. * javax/management/MBeanOperationInfo.java,
  9847. * javax/management/NotCompliantMBeanException.java,
  9848. * javax/management/StandardMBean.java:
  9849. New files.
  9850. 2006-07-26 Sven de Marothy <sven@physto.se>
  9851. * java/awt/geom/GeneralPath.java: Fix severe typo.
  9852. 2006-07-26 Sven de Marothy <sven@physto.se>
  9853. * include/java_lang_VMSystem.h
  9854. * vm/reference/java/lang/VMSystem.java
  9855. * native/jni/java-lang/java_lang_VMSystem.c
  9856. (nanoTime, currentTimeMillis): Switch the former to native code and
  9857. the latter to java.
  9858. 2006-07-26 Andreas Tobler <a.tobler@schweiz.ch>
  9859. * gnu/java/awt/peer/qt/QtCheckboxPeer.java: Removed unneeded imports.
  9860. * gnu/java/awt/peer/qt/QtComponentGraphics.java: Likewise.
  9861. * gnu/java/awt/peer/qt/QtComponentPeer.java: Likewise.
  9862. * gnu/java/awt/peer/qt/QtContainerPeer.java: Likewise.
  9863. * gnu/java/awt/peer/qt/QtDialogPeer.java: Likewise.
  9864. * gnu/java/awt/peer/qt/QtEmbeddedWindowPeer.java: Likewise.
  9865. * gnu/java/awt/peer/qt/QtFontMetrics.java: Likewise.
  9866. * gnu/java/awt/peer/qt/QtFontPeer.java: Likewise.
  9867. * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
  9868. * gnu/java/awt/peer/qt/QtGraphicsEnvironment.java: Likewise.
  9869. * gnu/java/awt/peer/qt/QtImage.java: Likewise.
  9870. * gnu/java/awt/peer/qt/QtImageConsumer.java: Likewise.
  9871. * gnu/java/awt/peer/qt/QtImageDirectGraphics.java: Likewise.
  9872. * gnu/java/awt/peer/qt/QtImageGraphics.java: Likewise.
  9873. * gnu/java/awt/peer/qt/QtMenuBarPeer.java: Likewise.
  9874. * gnu/java/awt/peer/qt/QtMenuItemPeer.java: Likewise.
  9875. * gnu/java/awt/peer/qt/QtPopupMenuPeer.java: Likewise.
  9876. * gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.java: Likewise.
  9877. * gnu/java/awt/peer/qt/QtScrollPanePeer.java: Likewise.
  9878. * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
  9879. * gnu/java/awt/peer/qt/QtVolatileImage.java: Likewise.
  9880. 2006-07-26 Roman Kennke <kennke@aicas.com>
  9881. * java/awt/KeyboardFocusManager.java
  9882. (getFocusOwner): Don't check permanent owner.
  9883. (getGlobalFocusOwner): Don't check permanent owner.
  9884. 2006-07-26 Carsten Neumann <cn-develop@gmx.net>
  9885. * StrictMath.java (cosh): New method.
  9886. (expm1): New method.
  9887. (EXPM1_Q1): New field.
  9888. (EXPM1_Q2): Likewise.
  9889. (EXPM1_Q3): Likewise.
  9890. (EXPM1_Q4): Likewise.
  9891. (EXPM1_Q6): Likewise.
  9892. 2006-07-26 Roman Kennke <kennke@aicas.com>
  9893. * javax/swing/plaf/basic/BasicButtonListener.java
  9894. (mousePressed): Request focus if appropriate.
  9895. * javax/swing/text/DefaultCaret.java
  9896. (mousePressed): Also handle the focus of the text component
  9897. as specified. Don't consume events.
  9898. 2006-07-26 Roman Kennke <kennke@aicas.com>
  9899. * gnu/java/awt/peer/gtk/GtkComponentPeer.java
  9900. (focusRequest): Removed field.
  9901. (postFocusEvent(int,boolean,Component)): Removed.
  9902. (postFocusEvent(int,boolean)): Reverted to post event using
  9903. the heavyweight component.
  9904. (requestFocus): Post focus event using the heavyweight
  9905. component.
  9906. * gnu/java/awt/peer/gtk/GtkWindowPeer.java
  9907. (requestFocus): Post focus event using the heavyweight
  9908. component.
  9909. * java/awt/AWTEvent.java
  9910. (isFocusManagerEvent): New field, indicating if this is
  9911. an event that is redispatched by the KeyboardFocusManager.
  9912. * java/awt/Component.java
  9913. (requestFocusImpl): Register component for
  9914. heavyweight->lightweight mapping.
  9915. (dispatchEventImpl): Retarget focus events before dispatching
  9916. to the KeyboardFocusManager. Use new AWTEvent flag instead
  9917. of locking hack. Dispatch all events through the
  9918. KeyboardFocusManager. Don't request focus on lightweight
  9919. components.
  9920. * java/awt/DefaultKeyboardFocusManager.java
  9921. (dispatchEvent): Pulled out handling of FOCUS_GAINED and
  9922. FOCUS_LOST.
  9923. (handleFocusGained): Fixed handling of temporary vs permanent
  9924. focus changes. Added some checks.
  9925. (handleFocusLost): Fixed handling of temporary vs permanent
  9926. focus changes. Added some checks.
  9927. * java/awt/EventDispatchThread.java
  9928. (run): Don't dispatch to KeyboardFocusManager here. This
  9929. is done in Component.dispatchEventImpl().
  9930. * java/awt/KeyboardFocusManager.java
  9931. (redispatchEvent): Use new AWTEvent flag instead of locking hack.
  9932. (focusRequests): New field.
  9933. (retargetFocusEvent): New method. Retargets focus events
  9934. that come from heavyweights to the correct lightweight component.
  9935. (addLightweightFocusRequest): New method. Stores a mapping
  9936. for later retargetting of heavyweight focus events.
  9937. * java/awt/Window.java
  9938. (addFocusListener): Removed bogus method. If at all, this
  9939. should be performed in the KeyboardFocusManager.
  9940. (Window): Don't install a focus listener on the Window.
  9941. 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
  9942. * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
  9943. (drawLine): Apply shift to line coordinates.
  9944. 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
  9945. * java/awt/image/ColorConvertOp.java: Fixed copyright header.
  9946. (copyimage): Do not call setRenderingHints() when the respective map
  9947. does not exist.
  9948. (filter): Removed code to clone the ColorModel instance.
  9949. * java/awt/image/ColorModel.java:
  9950. (cloneColorModel): Removed.
  9951. 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
  9952. * javax/swing/JTabbedPane.java:
  9953. (setSelectedIndex): Removed updating of component visibility status,
  9954. added note.
  9955. (remove(Component)): Use indexOfComponent() to find whether we have
  9956. to use super.remove(int) or removeTabAt().
  9957. 2006-07-26 Roman Kennke <kennke@aicas.com>
  9958. * javax/swing/JOptionPane.java
  9959. (createDialog): Add property change handler for closing
  9960. the dialog when the value property changes.
  9961. (ValuePropertyHandler): New inner helper class.
  9962. * javax/swing/plaf/basic/BasicOptionPaneUI.java
  9963. (OptionPaneCloseAction): New class.
  9964. (messageForeground): Removed field.
  9965. (messageBorder): Removed field.
  9966. (buttonBorder): Removed field.
  9967. (addIcon): Configure the new label.
  9968. (addMessageComponents): Configure newly created labels.
  9969. (burstStringInto): Likewise.
  9970. (createButtonArea): Install border here.
  9971. (createMessageArea): Install border and foreground here.
  9972. (createSeparator): Added comment and removed
  9973. NotImplementedException.
  9974. (installComponents): Don't install the UI defaults for the
  9975. message and button area here. This is moved to the
  9976. corresponding create* methods. Adjusted comment about
  9977. separator.
  9978. (installDefaults): Removed initialization of removed fields.
  9979. (installKeyboardActions): Implemented.
  9980. (getActionMap): New helper method.
  9981. (createDefaultActions): New helper method.
  9982. (uninstallDefaults): Removed de-initialization of removed fields.
  9983. (uninstallKeyboardActions): Implemented.
  9984. (configureLabel): New helper method.
  9985. * javax/swing/plaf/basic/BasicTableUI.java
  9986. (getActionMap): Fixed the UI property names.
  9987. * javax/swing/plaf/basic/BasicToolBarUI.java
  9988. (getActionMap): Fixed the UI property names.
  9989. 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
  9990. * java/awt/image/BandedSampleModel.java
  9991. (getDataElements): Check for negative x or y,
  9992. (getPixels): Likewise,
  9993. (getSamples): Likewise,
  9994. (setSamples): Likewise.
  9995. 2006-07-26 Roman Kennke <kennke@aicas.com>
  9996. * javax/swing/plaf/basic/BasicToolBarUI.java
  9997. (ToolBarAction): New inner class for handling keyboard
  9998. actions.
  9999. (installKeyboardActions): Implemented.
  10000. (getActionMap): New helper method.
  10001. (createDefaultActions): New helper method.
  10002. (installListeners): Install focus listener on toolbar's
  10003. children, rather than the toolbar itself.
  10004. (navigateFocusedComp): Implemented.
  10005. (uninstallKeyboardActions): Implemented.
  10006. (uninstallListeners): Uninstall focus listener from
  10007. toolbar's children, rather than the toolbar itself.
  10008. (ToolBarContListener.componentAdded): Install focus
  10009. listener on added child.
  10010. (ToolBarContListener.componentRemoved): Uninstall focus
  10011. listener from removed child.
  10012. (ToolBarFocusListener.ToolBarFocusListener): Nothing to do here.
  10013. (ToolBarFocusListener.focusGained): Implemented.
  10014. (ToolBarFocusListener.focusLost): Implemented.
  10015. 2006-07-26 Roman Kennke <kennke@aicas.com>
  10016. * java/awt/DefaultKeyboardFocusManager.java
  10017. (dispatchEvent): Notify old focus owner when it has lost
  10018. focus.
  10019. 2006-07-26 Roman Kennke <kennke@aicas.com>
  10020. * javax/swing/plaf/basic/BasicTableUI.java
  10021. (FocusHandler.focusGained): Implemented to refresh the
  10022. lead cell.
  10023. (FocusHandler.focusLost): Implemented to refresh the
  10024. lead cell.
  10025. (FocusHandler.repaintLeadCell): New helper method.
  10026. (MouseInputHandler.mouseEntered): Do nothing here.
  10027. (MouseInputHandler.mouseExited): Do nothing here.
  10028. (MouseInputHandler.mouseMoved): Do nothing here.
  10029. (installKeyboardActions): Rewritten to use a shared InputMap
  10030. and ActionMap and correctly install the maps via SwingUtilities
  10031. methods.
  10032. (getActionMap): New helper method.
  10033. (createDefaultActions): New helper method.
  10034. (ActionListenerProxy): Removed unneeded class.
  10035. (TableAction): Made class static.
  10036. (TableAction.actionPerformed): Determine table by fetching
  10037. the event source. Pass the table to helper methods.
  10038. Use __command__ hack to determine the action command.
  10039. (TableAction.getFirstVisibleColumnIndex): Get table as argument.
  10040. (TableAction.getLastVisibleColumnIndex): Get table as argument.
  10041. (TableAction.getFirstVisibleRowIndex): Get table as argument.
  10042. (TableAction.getLastVisibleRowIndex): Get table as argument.
  10043. (TableAction.advanceMultipleSelection): Get table as argument.
  10044. (uninstallDefaults): Do nothing here.
  10045. (uninstallKeyboardActions): Uninstall the keyboard actions.
  10046. 2006-07-26 Roman Kennke <kennke@aicas.com>
  10047. * javax/swing/JComponent.java
  10048. (processKeyBinding): Store the action command as property
  10049. in the Action instance that we call. This allows for
  10050. improvement on the side of the Action.
  10051. 2006-07-26 Roman Kennke <kennke@aicas.com>
  10052. * javax/swing/plaf/metal/MetalUtils.java
  10053. (fillMetalPattern): Use fillRect() instead of drawLine() to
  10054. fill single pixels.
  10055. 2006-07-26 Roman Kennke <kennke@aicas.com>
  10056. * javax/swing/text/GapContent.java
  10057. (getChars): Check for negative length and throw
  10058. BadLocationException.
  10059. 2006-07-26 Roman Kennke <kennke@aicas.com>
  10060. * javax/swing/plaf/basic/BasicMenuBarUI.java
  10061. (FocusAction): Made class static.
  10062. 2006-07-26 Roman Kennke <kennke@aicas.com>
  10063. * javax/swing/plaf/basic/BasicLookAndFeel.java
  10064. (initComponentDefaults): Add keyboard bindings for
  10065. PopupMenu.
  10066. 2006-07-26 Roman Kennke <kennke@aicas.com>
  10067. * javax/swing/UIManager.java
  10068. (getLookAndFeelDefaults): Return the look and feel defaults.
  10069. (setLookAndFeel): Improved exception messsage.
  10070. 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
  10071. * javax/swing/text/StringContent.java
  10072. (StringContent): Changed initialLength to 10.
  10073. 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
  10074. * java/util/Vector.java: Fixed API doc typo.
  10075. 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
  10076. * java/awt/image/BandedSampleModel.java
  10077. (createCompatibleSampleModel): Fixed typo in loop increment, set
  10078. correct scanlineStride, and updated API docs.
  10079. 2006-07-25 Roman Kennke <kennke@aicas.com>
  10080. * javax/swing/plaf/basic/BasicPopupMenuUI.java
  10081. (NavigateAction): New inner class. This is responsible for
  10082. keyboard navigation through menus.
  10083. (KeyboardHelper): New inner class. This manages the
  10084. keyboard mappings and focus when a popup opens or closes.
  10085. (keyboardHelper): New static field.
  10086. (numPopups): New static field.
  10087. (installUI): Create KeyboardHelper for first popup.
  10088. Call installKeyboardActions().
  10089. (installKeyboardActions): Removed NotImplementedException.
  10090. This method is a no-op.
  10091. (installKeyboardActionsImpl): New method. Installs keyboard
  10092. mapping when a popup is opened.
  10093. (getActionMap): New helper method.
  10094. (createDefaultActions): New helper method.
  10095. (uninstallUI): Uninstall KeyboardHelper when last Popup is
  10096. uninstalled. Call uninstallKeyboardActions().
  10097. (uninstallKeyboardActions): Removed NotImplementedException.
  10098. This method is a no-op.
  10099. (uninstallKeyboardActionsImpl): New method. Uninstalls keyboard
  10100. mapping when a popup is closed.
  10101. 2006-07-25 Roman Kennke <kennke@aicas.com>
  10102. * java/awt/Component.java
  10103. (requestFocus()): Reimplemented to use requestFocusImpl().
  10104. (requestFocus(boolean)): Reimplemented to use requestFocusImpl().
  10105. (requestFocusInWindow()): Reimplemented to use requestFocusImpl().
  10106. (requestFocusInWindow(boolean)): Reimplemented to use
  10107. requestFocusImpl().
  10108. (requestFocusImpl): Reimplemented focus request to use
  10109. new peer method. Also added some obvious additional checks
  10110. for rejecting focus requests early.
  10111. * java/awt/ComponentPeer.java
  10112. (requestFocus(Component,boolean,boolean,long)): Documented
  10113. this method.
  10114. * gnu/java/awt/peer/gtk/GtkComponentPeer.java
  10115. (requestFocus): New field.
  10116. (gtkWidgetHasFocus): New native method.
  10117. (gtkWidgetCanFocus): New native method.
  10118. (requestFocus): Replaced with assert false to prevent
  10119. usage of obsolete method.
  10120. (postFocusEvent(int,boolean,Component)): New overloaded method
  10121. for posting the focus event to a specific target.
  10122. (postFocusEvent(int,boolean)): Post event to requestFocus
  10123. component.
  10124. (requestFocus(Component,boolean,boolean,long)): Implemented.
  10125. (getWindowFor): New helper method.
  10126. (isLightweightDescendant): New helper method.
  10127. * gnu/java/awt/peer/gtk/GtkWindowPeer.java
  10128. (gtkWindowHasFocus): New native method.
  10129. (requestFocus(Component,boolean,boolean,long)): New method.
  10130. Overrides GtkComponentPeer method to specially handly the
  10131. case when a Window receives a focus request for a lightweight
  10132. child.
  10133. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
  10134. (gtkWidgetHasFocus): New native method.
  10135. (gtkWidgetCanFocus): New native method.
  10136. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
  10137. (gtkWindowHasFocus): New native method.
  10138. * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
  10139. * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
  10140. Regenerated.
  10141. 2006-07-25 Francis Kung <fkung@redhat.com>
  10142. * java/awt/DefaultKeyboardFocusManager.java
  10143. (dispatchEvent): Add check for valid component.
  10144. 2006-07-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
  10145. * javax/management/MBeanConstructorInfo.java:
  10146. New file.
  10147. * javax/management/MBeanNotificationInfo.java:
  10148. Documentation fix.
  10149. * javax/management/MBeanParameterInfo.java:
  10150. New file.
  10151. 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
  10152. * java/awt/peer/gtk/CairoGraphics.java:
  10153. (drawLine): Added special case for 1 pixel lines.
  10154. 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
  10155. Fixes PR27844.
  10156. * java/awt/peer/gtk/CairoGraphics.java:
  10157. (drawLine): Removed calls to shifted().
  10158. 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
  10159. * javax/swing/JTabbedPane.java:
  10160. (remove(Component)): Rewritten.
  10161. (setSelectedIndex): Implemented updating of component visibility state.
  10162. 2006-07-25 Sven de Marothy <sven@physto.se>
  10163. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
  10164. (init): Default to the actual depth in the worst case.
  10165. * java/awt/Font.java
  10166. (createFont(int, File)): New method.
  10167. 2006-07-25 Ito Kazumitsu <kaz@maczuka.gcd.org>
  10168. Fixes bug #28413
  10169. * gnu/java/util/regex/RETokenEnd.java(check_java_line_terminators):
  10170. New field.
  10171. (RETokenEnd): New constructer to set check_java_line_terminators.
  10172. (matchThis): Checck line terminators if check_java_line_terminators.
  10173. * gnu/java/util/regex/RETokenStart.java: Likewise.
  10174. * gnu/regexp/RE.java(initialize): Use the new constructors for
  10175. RETokenEnd and RETokenStart if REG_MULTILINE is set.
  10176. * java/util/regex/Pattern.java(Patteren): Changed so that
  10177. gnu/regexp/RE.java may use the new the new constructors.
  10178. 2006-07-25 Roman Kennke <kennke@aicas.com>
  10179. * java/awt/Container.java
  10180. (focusTraversalPolicyProvider): New field.
  10181. (isFocusTraversalPolicyProvider): New method.
  10182. (setFocusTraversalPolicyProvider): New method.
  10183. * java/awt/ContainerOrderFocusTraversalPolicy.java
  10184. (getFirstComponent): Use accept() instead of lengthy checks.
  10185. Don't fetch getComponents() to avoid copying of array.
  10186. Traverse down the hierarchy to find the first focused component.
  10187. * java/awt/DefaultKeyboardFocusManager.java
  10188. (dispatchEvent): Let the initial component request focus.
  10189. 2006-07-25 David Gilbert <david.gilbert@object-refinery.com>
  10190. * javax/swing/text/Segment.java
  10191. (last): Update current index before returning DONE for zero count.
  10192. 2006-07-24 Mark Wielaard <mark@klomp.org>
  10193. * javax/swing/tree/TreePath.java (equals): Swap path equals call.
  10194. 2006-07-25 Roman Kennke <kennke@aicas.com>
  10195. * javax/swing/plaf/basic/BasicMenuBarUI.java
  10196. (FocusAction): New inner class. Used to grab focus.
  10197. (installKeyboardActions): Implemented.
  10198. (uninstallKeyboardActions): Implemented.
  10199. (getActionMap): New helper method.
  10200. (createDefaultActions): New helper method.
  10201. 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
  10202. * examples/gnu/classpath/examples/swing/Demo.java:
  10203. (mkMenuBar): Install instantiable basic look and feel.
  10204. (InstantiableBasicLookAndFeel): New inner class.
  10205. 2006-07-25 Roman Kennke <kennke@aicas.com>
  10206. * javax/swing/plaf/basic/BasicInternalFrameUI.java
  10207. (GlassPaneDispatcher.dragTarget): New field.
  10208. (GlassPaneDispatcher.isDragging): New field.
  10209. (GlassPaneDispatcher.pressedComponent): Removed field.
  10210. (GlassPaneDispatcher.tempComponent): Removed field.
  10211. (GlassPaneDispatcher.pressCount): Removed field.
  10212. (GlassPaneDispatcher.mousePressed): Call
  10213. borderListener.mousePressed() to activate the frame.
  10214. (acquireComponentForMouseEvent): Removed method.
  10215. (handleEvent): Rewritten.
  10216. (redispatch): New method.
  10217. (InternalFramePropertyChangeListener.propertyChange):
  10218. Make glasspane invisible when frame is selected, and visible
  10219. if it gets deselected.
  10220. 2006-07-25 Roman Kennke <kennke@aicas.com>
  10221. * java/awt/LightweightDispatcher.java
  10222. (handleMouseEvent): Dispatch event to real target if
  10223. the dragTarget has become invisible in the meantime.
  10224. 2006-07-25 David Gilbert <david.gilbert@object-refinery.com>
  10225. * javax/swing/text/TabSet.java
  10226. (equals): New method override for 1.5,
  10227. (hashCode): Likewise,
  10228. (toString): Added spaces to match reference implementation.
  10229. 2006-07-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
  10230. * javax/management/IntrospectionException.java,
  10231. * javax/management/MBeanAttributeInfo.java:
  10232. New files.
  10233. * javax/management/MBeanNotificationInfo.java:
  10234. Documentation cleanups.
  10235. 2006-07-24 David Gilbert <david.gilbert@object-refinery.com>
  10236. * javax/swing/text/TabSet.java
  10237. (TabSet): Check for null argument,
  10238. (getTab): Throw IllegalArgumentException for index out of bounds,
  10239. (getTabIndexAfter): Changed test to '<=',
  10240. and updated API docs all over,
  10241. * javax/swing/text/TabStop.java: Updated API docs.
  10242. 2006-07-24 David Gilbert <david.gilbert@object-refinery.com>
  10243. * javax/swing/text/TabStop.java
  10244. (toString): Don't use 'left ' prefix, and added space between tab
  10245. location and '(w/leader)' suffix.
  10246. 2006-07-24 Francis Kung <fkung@redhat.com>
  10247. * javax/swing/JComboBox.java
  10248. (DefaultKeySelectionManager): Implemented.
  10249. (createDefaultKeySelectionManager): Implemented.
  10250. (getKeySelectionManager): Implemented.
  10251. (processKeyEvent): Removed duplicate code.
  10252. * javax/swing/JPopupMenu.java
  10253. (selectionModel): Changed visibility.
  10254. * javax/swing/plaf/basic/BasicComboBoxUI.java
  10255. (KeyHandler.keyPressed): Added navigation keys.
  10256. (configureEditor): Add key listener.
  10257. (installListeners): Install focus listener to combo box.
  10258. (isNavigationKey): Added enter, escape, and tab.
  10259. (selectPreviousPossibleValue): Added out of bounds check.
  10260. (unconfigureEditor): Remove key listener.
  10261. * javax/swing/plaf/metal/MetalComboBoxButton.java
  10262. (paintComponent): Highlight combo box when in focus.
  10263. 2006-07-24 Roman Kennke <kennke@aicas.com>
  10264. * javax/swing/SwingUtilities.java
  10265. (isLeftMouseButton): Fixed condition.
  10266. * java/awt/LightweightDispatcher.java
  10267. (handleMouseEvent): Dispatch MOUSE_ENTERED even when mouse
  10268. is dragged.
  10269. 2006-07-24 Roman Kennke <kennke@aicas.com>
  10270. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  10271. (setPaint): Fixed scaleX and scaleY.
  10272. 2006-07-24 Roman Kennke <kennke@aicas.com>
  10273. * javax/swing/JTable.java
  10274. (handleInsert): Repaint the whole table for variable row
  10275. height tables and an optimized region otherwise.
  10276. (handleDelete): Likewise.
  10277. (handleUpdate): Likewise.
  10278. 2006-07-24 Mario Torre <neugens@limasoftware.net>
  10279. * gnu/java/awt/peer/gtk/GtkToolkit.java (createDragGestureRecognizer):
  10280. now explicity registerListeners on GtkMouseDragGestureRecognizer
  10281. instance.
  10282. * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
  10283. (unregisterListeners): new method, overrided from base class
  10284. to rise visibility (from protected to public).
  10285. (registerListeners): Likewise.
  10286. (GtkMouseDragGestureRecognizer): fixed potential threading issue:
  10287. removed call to registerListeners from the constructor.
  10288. 2006-07-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
  10289. * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
  10290. * java/lang/management/MemoryPoolMXBean.java:
  10291. (getType()): Changed return type to MemoryType.
  10292. * java/lang/management/MemoryType.java:
  10293. New file.
  10294. 2006-07-23 Mark Wielaard <mark@klomp.org>
  10295. * configure.ac: Check for moc and moc-qt4.
  10296. 2006-07-23 David Gilbert <david.gilbert@object-refinery.com>
  10297. * java/awt/image/Kernel.java: API doc updates.
  10298. 2006-07-22 Andreas Tobler <a.tobler@schweiz.ch>
  10299. * gnu/java/awt/peer/gtk/CairoSurface.java: Optimize pixel swap code a
  10300. bit more.
  10301. 2006-07-22 Mark Wielaard <mark@klomp.org>
  10302. * java/lang/Iterable.java: Import all of java.util.
  10303. * lib/mkcollections.pl.in (javautilclasses): Add Iterable.
  10304. * lib/Makefile.am: Only search for .java files in COLLECTIONS_PREFIX.
  10305. 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
  10306. * doc/vmintegration.texinfo:
  10307. Document getType(String).
  10308. * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
  10309. * java/lang/management/MemoryPoolMXBean.java:
  10310. (getType()): Implemented.
  10311. * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java
  10312. (getType(String)): Implemented.
  10313. 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
  10314. * doc/vmintegration.texinfo:
  10315. Move end of itemization block.
  10316. 2006-07-22 Robert Schuster <robertschuster@fsfe.org>
  10317. * javax/swing/plaf/metal/MetalLookAndFeel.java:
  10318. (initComponentDefaults): Added new properties, added comments.
  10319. 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
  10320. * doc/vmintegration.texinfo:
  10321. Mention callback methods.
  10322. * gnu/java/lang/management/MemoryMXBeanImpl.java:
  10323. (fireNotification(String,String,long,long,long,long,long)):
  10324. Made package-private.
  10325. (fireThresholdExceededNotification(String,long,long,long,
  10326. long,long)): Likewise.
  10327. (fireCollectionThresholdExceededNotification(String,long,
  10328. long,long,long,long)): Likewise.
  10329. * java/lang/management/MemoryMXBean.java:
  10330. Document notifications.
  10331. 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
  10332. * gnu/java/lang/management/MemoryMXBeanImpl.java:
  10333. (fireNotification(String,String,long,long,long,long,long)):
  10334. Implemented.
  10335. (fireThresholdExceededNotification(String,long,long,long,
  10336. long,long)): Likewise.
  10337. (fireCollectionThresholdExceededNotification(String,long,
  10338. long,long,long,long)): Likewise.
  10339. * java/lang/management/MemoryNotificationInfo.java:
  10340. Use composite type from MemoryMXBeanImpl.
  10341. * javax/management/openmbean/CompositeData.java:
  10342. Correct documentation.
  10343. * javax/management/openmbean/CompositeDataSupport.java,
  10344. * javax/management/openmbean/InvalidKeyException.java:
  10345. New files.
  10346. 2006-07-22 Raif S. Naffah <raif@swiftdsl.com.au>
  10347. * gnu/java/security/util/IntegerUtil.java: New file.
  10348. 2006-07-22 Raif S. Naffah <raif@swiftdsl.com.au>
  10349. PR Classpath/28100
  10350. * gnu/javax/crypto/cipher/TripleDES.java: Updated documentation.
  10351. (KEY_SIZE): Likewise.
  10352. (adjustParity(int,byte[],int): New method.
  10353. (adjustParity(byte[],int): Call above method with 3 as 1st argument.
  10354. (isParityAdjusted(int,byte[],int)): New method.
  10355. (isParityAdjusted): Call above method with 3 as 1st argument.
  10356. (keySizes): Add 8 and 16 as other valid key sizes.
  10357. (makeKey): Amended to cater for 1, 2 and 3 independent DES keys.
  10358. 2006-07-22 Andreas Tobler <a.tobler@schweiz.ch>
  10359. * gnu/java/awt/peer/gtk/CairoSurface.java (CairoSurface): Rearrange
  10360. code for the pixel swap routine to be more efficient.
  10361. 2006-07-21 Carsten Neumann <cn-develop@gmx.net>
  10362. * java/util/CopyOnWriteArrayList.java (indexOf(E, int)): New method.
  10363. (lastIndexOf(E, int)): Likewise.
  10364. (add(E)): Increase the size of newData array by one.
  10365. (add(int, E)): Likewise.
  10366. 2006-07-20 Lillian Angel <langel@redhat.com>
  10367. * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
  10368. Removed unused fields.
  10369. (GtkMouseDragGestureRecognizer): Removed initializations.
  10370. 2006-07-20 Lillian Angel <langel@redhat.com>
  10371. * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
  10372. (GtkMouseDragGestureRecognizer): New constructor.
  10373. (GtkMouseDragGestureRecognizer): New constructor.
  10374. (GtkMouseDragGestureRecognizer): New constructor.
  10375. (mouseClicked): Removed FIXME.
  10376. (mousePressed): Implemented.
  10377. (mouseReleased): Implemented.
  10378. (mouseEntered): Implemented.
  10379. (mouseDragged): Implemented to check mouse point and trigger origin.
  10380. (mouseMoved): Removed FIXME.
  10381. (getDropActionFromEvent): New helper function used to convert mouse event
  10382. modifiers to a drop action.
  10383. * java/awt/dnd/DragSource.java
  10384. (getDragThreshold): Changed to return some arbitrary value for testing
  10385. purposes.
  10386. 2006-07-20 Roman Kennke <kennke@aicas.com>
  10387. * java/awt/LightweightDispatcher.java
  10388. (findTarget): Also consider components that have their eventMask
  10389. set, for compatibility with stonage AWT. Optimized check
  10390. for MouseListener.
  10391. (handleMouseEvent): Likewise.
  10392. 2006-07-20 Roman Kennke <kennke@aicas.com>
  10393. * javax/swing/JTable.java
  10394. (tableChanged): Split out handling of the event into multiple
  10395. subroutines.
  10396. (handleCompleteChange): New method. Clear the selection and
  10397. check the lead/anchor indices.
  10398. (handleInsert): New method. Check the lead/anchor indices.
  10399. Optimized repainting.
  10400. (handleDelete): New method. Check the lead/anchor indices.
  10401. Optimized repainting.
  10402. (handleUpdate): New method. Optimized repainting.
  10403. (checkSelection): New helper method.
  10404. (setSelectionModel): Update lead/anchor indices.
  10405. 2006-07-20 Lillian Angel <langel@redhat.com>
  10406. PR 28440
  10407. * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
  10408. (dispose): Reset all fields.
  10409. 2006-07-20 Roman Kennke <kennke@aicas.com>
  10410. * gnu/java/awt/peer/x/XToolkit.java
  10411. (createImage(InputStream)): Only copy image to Pixmap if
  10412. it's actually opaque. Transparent images are left as
  10413. BufferedImage and composited later onto the screen.
  10414. * gnu/java/awt/peer/x/XGraphics.java
  10415. (XGraphics): Fetch some parameters for image rendering.
  10416. (drawImage): Added special handling of transparent images.
  10417. (getRGB): New helper method.
  10418. (setRGB): New helper method.
  10419. 2006-07-20 Roman Kennke <kennke@aicas.com>
  10420. * gnu/javax/imageio/IIOInputStream.java: New class. Wraps
  10421. ImageInputStreams as normal InputStreams.
  10422. * gnu/javax/imageio/gif/GIFStream.java:
  10423. Moved to gnu/javax/imageio/IIOInputStream.java.
  10424. * gnu/javax/imageio/gif/GIFImageReader.java
  10425. (readImage): Use IIOInputStream.
  10426. * gnu/javax/imageio/gif/GIFImageReaderSpi.java
  10427. (canDecodeInput): Use IIOInputStream.
  10428. * gnu/javax/imageio/png/PNGException.java: Make subclass
  10429. of IOException.
  10430. * gnu/javax/imageio/png/PNGImageReader.java: New class.
  10431. Implements the ImageIO ImageReader for PNG.
  10432. * gnu/javax/imageio/png/PNGImageReaderSpi.java: New class.
  10433. Implements the ImageIO ImageReaderSpi for PNG.
  10434. * javax/imageio/spi/IIORegistry.java:
  10435. (IIORegistry): Add PNGImageReaderSpi.
  10436. 2006-07-20 David Gilbert <david.gilbert@object-refinery.com>
  10437. * java/awt/image/ComponentSampleModel.java
  10438. (getPixel): Added argument check,
  10439. (getSample): Modified exception message.
  10440. 2006-07-20 David Gilbert <david.gilbert@object-refinery.com>
  10441. PR Classpath/28422
  10442. * java/awt/image/ConvolveOp.java
  10443. (filter(Raster, WritableRaster)): Reimplemented,
  10444. (fillEdge): New private method.
  10445. 2006-07-19 Keith Seitz <keiths@redhat.com>
  10446. * include/jvmti.h (JVMTI_VERSION_1_0): Define.
  10447. (JVMTI_VERSION): Define.
  10448. 2006-07-19 Roman Kennke <kennke@aicas.com>
  10449. * resource/gnu/regexp/MessagesBundle.properties,
  10450. * resource/gnu/regexp/MessagesBundle_fr.properties,
  10451. * resource/gnu/regexp/MessagesBundle_it.properties:
  10452. Moved to resource/gnu/java/util/regex.
  10453. * resource/gnu/java/util/regex/MessagesBundle.properties,
  10454. * resource/gnu/java/util/regex/MessagesBundle_fr.properties,
  10455. * resource/gnu/java/util/regex/MessagesBundle_it.properties:
  10456. New files.
  10457. * gnu/java/util/regex/RE.java
  10458. Use new resource bundle location.
  10459. 2006-07-19 Roman Kennke <kennke@aicas.com>
  10460. * javax/swing/JComponent.java
  10461. (paintChildren): Refactored. The paintChildrenOptimized method
  10462. has been moved back in here. Added locking of the tree and
  10463. only check for completely obscured child components
  10464. when not optimized drawing enabled. Use Graphics.create() to
  10465. protect from irreversible changes.
  10466. (isCompletelyObscured): New helper method.
  10467. (paintComponent): Also use Graphics.create() for Graphics2D,
  10468. to protect from irreverible changes.
  10469. (clipAndTranslateGraphics): Refactored to use more efficient
  10470. iterative (vs recursive) approach.
  10471. * javax/swing/RepaintManager.java
  10472. (getOffscreenBuffer): Create image from root component.
  10473. 2006-07-19 Roman Kennke <kennke@aicas.com>
  10474. * gnu/java/awt/peer/x/XGraphics.java
  10475. (translate): Don't set the clip on the X server.
  10476. (clipRect): Use setXClip() to set the clip on the X server.
  10477. (hitClip): More efficient and correct implementation.
  10478. (setClip): Use setXClip() to set the clip on the X server.
  10479. (setClip(Shape)): Use setXClip() to set the clip on the X server.
  10480. (copyArea): Translate and clip the source rectangle correctly.
  10481. (dispose): Only flush when object is not yet disposed.
  10482. (clone): Use setXClip() to set the clip on the X server.
  10483. 2006-07-19 Sven de Marothy <sven@physto.se>
  10484. * gnu/javax/imageio/png/PNGChunk.java,
  10485. * gnu/javax/imageio/png/PNGData.java,
  10486. * gnu/javax/imageio/png/PNGDecoder.java,
  10487. * gnu/javax/imageio/png/PNGEncoder.java,
  10488. * gnu/javax/imageio/png/PNGException.java,
  10489. * gnu/javax/imageio/png/PNGFile.java,
  10490. * gnu/javax/imageio/png/PNGFilter.java,
  10491. * gnu/javax/imageio/png/PNGGamma.java,
  10492. * gnu/javax/imageio/png/PNGHeader.java,
  10493. * gnu/javax/imageio/png/PNGICCProfile.java,
  10494. * gnu/javax/imageio/png/PNGPalette.java,
  10495. * gnu/javax/imageio/png/PNGPhys.java,
  10496. * gnu/javax/imageio/png/PNGTime.java:
  10497. New files.
  10498. 2006-07-19 Sven de Marothy <sven@physto.se>
  10499. * java/net/Inet6Address.java:
  10500. (getScopedId, getScopedInterface): New methods.
  10501. 2006-07-19 Lillian Angel <langel@redhat.com>
  10502. * examples/gnu/classpath/examples/awt/Demo.java
  10503. (DragDropWindow): Fixed typo in Label text.
  10504. * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
  10505. (GtkDragSourceContextPeer): Removed unneeded initialization for field.
  10506. (startDrag): Initialized context field.
  10507. (transferablesFlavorsChanged): Removed FIXME. Nothing is done in this
  10508. function.
  10509. (dragEnter): New function.
  10510. (dragExit): Likewise.
  10511. (dragDropEnd): Likewise.
  10512. (dragMouseMoved): Likewise.
  10513. (dragOver): Likewise.
  10514. (dragActionChanged): Likewise.
  10515. 2006-07-19 Raif S. Naffah <raif@swiftdsl.com.au>
  10516. PR Classpath/26302
  10517. * resource/java/security/classpath.security: Updated copyright year.
  10518. (auth.login.defaultCallbackHandler): New property; set to our default
  10519. callback handler. This is needed by the LoginContext when no callback
  10520. handler was specified.
  10521. * javax/security/auth/login/LoginContext.java: Updated copyright year.
  10522. (LoginContext(4)): Assign passed parameters to local fields before invoking
  10523. lookup method.
  10524. 2006-07-19 Roman Kennke <kennke@aicas.com>
  10525. * gnu/java/awt/peer/x/XGraphics.java
  10526. (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
  10527. Fixed ordering of parameters.
  10528. 2006-07-18 Andrew John Hughes <gnu_andrew@member.fsf.org>
  10529. * gnu/java/lang/management/MemoryMXBeanImpl.java:
  10530. (MemoryMXBeanImpl()): Implemented.
  10531. (ListenerData): New private class.
  10532. (addNotificationListener(NotificationListener,
  10533. NotificationFilter, Object)): Implemented.
  10534. (getNotificationInfo()): Likewise.
  10535. (removeNotificationListener(NotificationListener)):
  10536. Likewise.
  10537. (removeNotificationListener(NotificationListener,
  10538. NotificationFilter, Object)): Likewise.
  10539. 2006-07-18 Roman Kennke <kennke@aicas.com>
  10540. * gnu/java/awt/peer/x/XFontPeer.java
  10541. (encodeFont): Be more flexible with font sizes.
  10542. (validSize): New helper method.
  10543. * gnu/java/awt/peer/x/XGraphics.java
  10544. (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
  10545. Implemented.
  10546. (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
  10547. Implemented.
  10548. * gnu/java/awt/peer/x/XImage.java
  10549. (properties): New field.
  10550. (getProperty): Implemented.
  10551. * resource/gnu/java/awt/peer/x/fonts.properties:
  10552. Added copyright header. Fixed font size field.
  10553. 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
  10554. * java/awt/image/BandedSampleModel.java
  10555. (createDataBuffer): New method override,
  10556. * java/awt/image/ByteLookupTable.java
  10557. (ByteLookupTable(int, byte[][])): Create new array to hold references,
  10558. (ByteLookuptable(int, byte[])): Check for null array,
  10559. * java/awt/image/ComponentSampleModel.java
  10560. (createDataBuffer): Removed unnecessary braces,
  10561. (getSample): Check (x, y) is within bounds,
  10562. * java/awt/image/ShortLookupTable.java
  10563. (ShortLookupTable(int, short[][])): Create new array to hold references,
  10564. (ShortLookupTable(int, short[])): Check for null array,
  10565. (getTable): Added API docs,
  10566. (lookupPixel): Source reformatting.
  10567. 2006-07-18 Tania Bento <tbento@redhat.com>
  10568. * java/awt/GridLayout.java
  10569. (setHgap): Illegal Argument Exception should not be thrown if
  10570. hgap < 0.
  10571. (setVgap): Illegal Argument Exception should not be thrown if
  10572. vgap < 0.
  10573. (toString): Opening square braket ([) should appear before hgap
  10574. value, not the name of the class.
  10575. 2006-07-18 Roman Kennke <kennke@aicas.com>
  10576. * lib/copy-vmresources.sh.in: Reverted.
  10577. * gnu/java/awt/peer/x/fonts.properties: Moved to resource/
  10578. * resource/gnu/java/awt/peer/x/fonts.properties: New file.
  10579. 2006-07-18 Roman Kennke <kennke@aicas.com>
  10580. * lib/copy-vmresources.sh.in: Include properties from X peers.
  10581. 2006-07-18 Raif S. Naffah <raif@swiftdsl.com.au>
  10582. PR Classpath/27205
  10583. * tools/gnu/classpath/tools/jarsigner/SFHelper.java (writeDSA): Check
  10584. certificate validity.
  10585. (getIssuerName): New method.
  10586. (getSubjectName): Likewise.
  10587. (getNotAfterDate): Likewise.
  10588. (getNotBeforeDate): Likewise.
  10589. * resource/gnu/classpath/tools/jarsigner/messages.properties: Added
  10590. messages for newly added messages in SFHelper.
  10591. 2006-07-18 Roman Kennke <kennke@aicas.com>
  10592. * gnu/java/awt/peer/x/XDialogPeer.java: New class.
  10593. * gnu/java/awt/peer/x/XEventPump.java
  10594. (handleEvent): Cast to XWindowPeer rather than XFramePeer.
  10595. * gnu/java/awt/peer/x/XFramePeer.java
  10596. Made a subclass of XWindowPeer, rather than SwingFramePeer.
  10597. * gnu/java/awt/peer/x/XGraphics.java
  10598. Made subclass of Graphics rather than Graphics2D. Removed
  10599. all Graphics2D specific method stubs.
  10600. (setColor): Map colors using the X color map that is
  10601. stored in XToolkit.
  10602. * gnu/java/awt/peer/x/XToolkit.java
  10603. (colorMap): New field.
  10604. (getLocalGraphicsEnvironment): Return new XGraphicsEnvironment
  10605. instance.
  10606. (createDialog): Implemented.
  10607. (createImage(ImageProducer)): Implemented.
  10608. (createImage(InputStream)): Use createImage(ImageProducer)
  10609. to convert the BufferedImage to an XImage.
  10610. * gnu/java/awt/peer/x/XWindowPeer.java
  10611. (XWindowPeer): Removed debug output.
  10612. 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
  10613. * java/awt/image/BufferedImageOp.java: API docs added,
  10614. * java/awt/image/RasterOp.java: Likewise.
  10615. 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
  10616. * java/awt/Graphics2D.java: API docs updated.
  10617. 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
  10618. * java/awt/image/WritableRaster.java: Added API docs and reformatted
  10619. source code.
  10620. 2006-07-18 Sven de Marothy <sven@physto.se>
  10621. * java/net/Inet6Address.java:
  10622. Add 1.5 serialized fields.
  10623. (getByAddress): New methods.
  10624. (readObject, writeObject): New methods.
  10625. (equals): Reimplement.
  10626. 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
  10627. * java/awt/image/Raster.java: Added API docs and reformatted source
  10628. code.
  10629. 2006-07-18 Andreas Tobler <a.tobler@schweiz.ch>
  10630. * gnu/java/awt/peer/gtk/BufferedImageGraphics.java: Remove unneeded
  10631. imports.
  10632. * gnu/java/awt/peer/gtk/CairoSurface.java: Likewise.
  10633. * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java: Likewise.
  10634. * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java: Likewise.
  10635. * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
  10636. * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
  10637. * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
  10638. * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java: Likewise.
  10639. * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Likewise.
  10640. * gnu/java/awt/peer/gtk/GtkContainerPeer.java: Likewise.
  10641. * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
  10642. * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
  10643. * gnu/java/awt/peer/gtk/GtkImage.java: Likewise.
  10644. * gnu/java/awt/peer/gtk/GtkImageConsumer.java: Likewise.
  10645. * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java: Likewise.
  10646. * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java: Likewise.
  10647. * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java: Likewise.
  10648. * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Likewise.
  10649. * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java: Likewise.
  10650. * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
  10651. * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
  10652. * gnu/java/awt/peer/gtk/VolatileImageGraphics.java: Likewise.
  10653. 2006-07-17 Andreas Tobler <a.tobler@schweiz.ch>
  10654. * javax/swing/text/html/HTMLEditorKit.java: Rearrange import statements
  10655. to make it compile again under jikes. Note added.
  10656. 2006-07-17 Lillian Angel <langel@redhat.com>
  10657. * examples/gnu/classpath/examples/awt/Demo.java
  10658. (Demo): Added new window for DnD demo.
  10659. (DragDropWindow): New class.
  10660. * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
  10661. Added new fields and declarations for native functions.
  10662. (GtkDragSourceContextPeer): Implemented.
  10663. (getComponentPeer): New function.
  10664. (startDrag): Partially implemented.
  10665. (getCursor): Implemented.
  10666. (setCursor): Implemented.
  10667. * include/GtkDragSourceContextPeer.h: New file.
  10668. * include/Makefile.am: Added new header file.
  10669. * java/awt/Component.java
  10670. (addNotify): Added call to the dropTarget's addNotify.
  10671. * java/awt/dnd/DragSource.java
  10672. (startDrag): Fixed code to use shared instances of peer and
  10673. context.
  10674. (getDragThreshold): Added stub.
  10675. * java/awt/dnd/DropTarget.java
  10676. (DropTarget): Implemented fully.
  10677. (addNotify): Added code to get the peer of the parent that is
  10678. not lightweight.
  10679. * java/awt/dnd/DropTargetDragEvent.java
  10680. (getTransferable): Added stub.
  10681. * native/jni/gtk-peer/GtkDragSourceContextPeer.c: New file.
  10682. * native/jni/gtk-peer/Makefile.am: Added new c file.
  10683. * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
  10684. Changed to extend GtkGenericPeer.
  10685. (GtkDropTargetContextPeer): New constructor.
  10686. * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
  10687. Changed to extend GtkGenericPeer.
  10688. (GtkDropTargetContextPeer): New constructor.
  10689. 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
  10690. * java/awt/image/SinglePixelPackedSampleModel.java
  10691. (createSubsetSampleModel): Added argument check and API docs.
  10692. 2006-07-17 Roman Kennke <kennke@aicas.com>
  10693. * gnu/java/awt/peer/x/XGraphics.java
  10694. (copyArea): Implemented.
  10695. 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
  10696. * java/awt/image/SinglePixelPackedSampleModel.java
  10697. (getSampleSize): Return copy of array,
  10698. (getOffset): Added API docs,
  10699. (getScanlineStride): Likewise,
  10700. (hashCode): Implemented.
  10701. 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
  10702. * java/awt/image/MultiPixelPackedSampleModel.java
  10703. (getOffset): Updated API docs and source reformatting,
  10704. (getBitOffset): Source reformatting only,
  10705. (getDataElements): Likewise,
  10706. (getPixel): Likewise,
  10707. (getPixels): Removed method override,
  10708. (setDataElements): Reimplemented.
  10709. 2006-07-17 Gary Benson <gbenson@redhat.com>
  10710. * resource/META-INF/services/.cvsignore: New file.
  10711. * lib/.cvsignore: Updated.
  10712. 2006-07-17 Roman Kennke <kennke@aicas.com>
  10713. * javax/swing/plaf/basic/BasicButtonListener.java
  10714. (propertyChange): Only do the text layout caching as long
  10715. as the noGraphics2D property isn't set.
  10716. * javax/swing/plaf/basic/BasicMenuItemUI.java
  10717. (PropertyChangeHandler.propertyChange): Only do the text layout
  10718. caching as long as the noGraphics2D property isn't set.
  10719. 2006-07-17 Roman Kennke <kennke@aicas.com>
  10720. * gnu/java/awt/peer/x/XGraphicsEnvironment.java
  10721. (XGraphicsEnvironment): Make constructor public so that it
  10722. can be called via Class.forName().newInstance().
  10723. * gnu/java/awt/peer/x/XImage.java
  10724. (XImage): Fetch GraphicsEnvironment via
  10725. GraphicsEnvironment.getLocalGraphicsEnvironment() rather
  10726. than the XToolkit method, to avoid double instantiation
  10727. of the XGraphicsEnvironment.
  10728. * gnu/java/awt/peer/x/XToolkit.java
  10729. (env): Removed field.
  10730. (getLocalGraphicsEnvironment): Removed impl. This method
  10731. should not be called since we set the graphicsenv property
  10732. in the constructor.
  10733. 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
  10734. * java/util/UUID.java:
  10735. (compareTo(Object)): Call compareTo(UUID).
  10736. (compareTo(UUID)): Implemented.
  10737. 2006-07-16 Tom Tromey <tromey@redhat.com>
  10738. * java/lang/StrictMath.java (cbrt): Added '@since'.
  10739. 2006-07-16 Carsten Neumann <cn-develop@gmx.net>
  10740. * java/lang/StrictMath.java (cbrt): New method.
  10741. (getLowDWord): New helper method.
  10742. (getHighDWord): Likewise.
  10743. (buildDouble): Likewise.
  10744. (CBRT_B1): New field.
  10745. (CBRT_B2): Likewise.
  10746. (CBRT_C): Likewise.
  10747. (CBRT_D): Likewise.
  10748. (CBRT_E): Likewise.
  10749. (CBRT_F): Likewise.
  10750. (CBRT_G): Likewise.
  10751. 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
  10752. * javax/management/MBeanInfo.java:
  10753. (getNotifications()): Implemented.
  10754. * javax/management/NotificationBroadcaster.java:
  10755. (removeNotificationListener(NotificationListener)):
  10756. Renamed from removeListener.
  10757. * javax/management/NotificationEmitter.java:
  10758. (removeNotificationListener(NotificationListener,
  10759. NotificationFilter, Object)): Likewise.
  10760. * javax/management/NotificationFilter.java:
  10761. Implement Serializable.
  10762. * javax/management/NotificationListener.java:
  10763. Implement java.util.EventListener.
  10764. * javax/rmi/ssl/SslRMIClientSocketFactory.java:
  10765. Implement Serializable.
  10766. 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
  10767. * java/lang/management/MemoryNotificationInfo.java:
  10768. New file.
  10769. 2006-07-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  10770. PR 28392
  10771. * gnu/javax/swing/text/html/parser/htmlValidator.java
  10772. (tagIsValidForContext): If it is not possible to insert any tag, but
  10773. is possible to insert a P, insert a P.
  10774. * gnu/javax/swing/text/html/parser/HTML_401Swing.java
  10775. (newInstance): Removed print statement. (getBodyElements):
  10776. Removed ABBR, ACRONYM, BDO, Q, S, SUB, SUP and ADDRESS from the
  10777. valid body level tags (will be enclosed into P's).
  10778. 2006-07-17 Raif S. Naffah <raif@swiftdsl.com.au>
  10779. * tools/gnu/classpath/tools/keytool/Command.java (setKeystoreURLParam):
  10780. Condition the creation of .keystore (a default keystore) based on the
  10781. createIfNotFound argument as well.
  10782. 2006-07-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  10783. PR 28392
  10784. * examples/gnu/classpath/examples/swing/HtmlDemo.java:
  10785. Removed heading p tag from the parsing example.
  10786. * gnu/javax/swing/text/html/parser/HTML_401F.java:
  10787. (createHtmlContentModel): Explained.
  10788. (defineElements): Call getBodyElements to get the body
  10789. elements. (getBodyElements): New method. (model):
  10790. Made protected from private.
  10791. * gnu/javax/swing/text/html/parser/htmlValidator.java
  10792. (openTag): Mind that current content model may be null.
  10793. (tagIsValidForContext): If the tag is PCDATA, and it is not
  10794. valid for context, but the paragraph (P) is valid for context,
  10795. suggest to insert the P tag here.
  10796. * javax/swing/text/html/HTMLDocument.java (HTMLReader.addContent,
  10797. HTMLReader.blockOpen, HTMLReader.blockClose): Do not handle
  10798. implied P tags here.
  10799. * javax/swing/text/html/HTMLEditorKit.java (getParser):
  10800. Get the custom parser, using HTML_401Swing.java DTD.
  10801. * javax/swing/text/html/parser/ParserDelegator.java:
  10802. Removed the obsolete note that HTMLEditorKit does not exist.
  10803. * gnu/javax/swing/text/html/parser/GnuParserDelegator.java,
  10804. gnu/javax/swing/text/html/parser/HTML_401Swing.java: New files.
  10805. 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
  10806. * javax/management/ListenerNotFoundException.java:
  10807. New file.
  10808. * javax/management/MBeanFeatureInfo.java:
  10809. (hashCode()): Use summation instead of multiplication
  10810. for consistency with other classes.
  10811. * javax/management/MBeanNotificationInfo.java,
  10812. * javax/management/Notification.java,
  10813. * javax/management/NotificationBroadcaster.java,
  10814. * javax/management/NotificationEmitter.java,
  10815. * javax/management/NotificationFilter.java,
  10816. * javax/management/NotificationListener.java:
  10817. New files.
  10818. * javax/management/OperationsException.java:
  10819. (serialVersionUID): Added.
  10820. 2006-07-16 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
  10821. Mark Wielaard <mark@klomp.org>
  10822. * java/io/PrintStream.java: Added four constructors, for File and
  10823. String describing a filename with or without explicit encoding.
  10824. 2006-07-16 Sven de Marothy <sven@physto.se>
  10825. * javax/rmi/ssl/SslRMIServerSocketFactory.java,
  10826. * javax/rmi/ssl/SslRMIClientSocketFactory.java:
  10827. New files.
  10828. 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
  10829. PR Classpath/28391
  10830. * tools/gnu/classpath/tools/keytool/Command.java (setKeyStoreParams(5)):
  10831. New method.
  10832. (setKeyStoreParams(4)): Call the above method with false as its 1st arg.
  10833. (setProviderClassNameParam): Made private.
  10834. (setKeystoreTypeParam): Likewise.
  10835. (setKeyPasswordParam): Likewise
  10836. (setKeystorePasswordParam): Likewise.
  10837. (setKeystoreURLParam): Now accepts 2 more arguments; the first a boolean to
  10838. create or not the keystore if it's not there, and the second is the store's
  10839. password to process before loading the keystore. Amended the code
  10840. accordingly.
  10841. * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Call super's
  10842. setKeyStoreParams(5) with true as its first argument.
  10843. * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
  10844. * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
  10845. 2006-07-16 Sven de Marothy <sven@physto.se>
  10846. * java/util/UUID.java: New file.
  10847. 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
  10848. * gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java: New file.
  10849. * gnu/javax/crypto/jce/cipher/AESKeyWrapSpi.java: New file.
  10850. * gnu/javax/crypto/jce/cipher/AES128KeyWrapSpi.java: Likewise.
  10851. * gnu/javax/crypto/jce/cipher/AES192KeyWrapSpi.java: Likewise.
  10852. * gnu/javax/crypto/jce/cipher/AES256KeyWrapSpi.java: Likewise.
  10853. * gnu/javax/crypto/jce/cipher/TripleDESKeyWrapSpi.java: Likewise.
  10854. * gnu/javax/crypto/jce/GnuCrypto.java (.run): Added mappings for newly
  10855. added Key Wrapping Algorithm SPIs.
  10856. 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
  10857. * javax/crypto/Cipher.java (getOutputSize): Allow SPIs initialised for key
  10858. wrapping/unwrapping to invoke their engineGetOutputSize.
  10859. 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
  10860. * gnu/javax/crypto/kwa/TripleDESKeyWrap.java (rnd): New field.
  10861. (engineInit): If a SecureRandom was specified then use it.
  10862. (nextRandomBytes): New method.
  10863. (engineWrap): Use above method.
  10864. * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java (prng): New field.
  10865. (getDefaultPRNG): New method.
  10866. * gnu/javax/crypto/kwa/AESKeyWrap.java (engineInit): Reset underlying AES.
  10867. * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java (SOURCE_OF_RANDOMNESS):
  10868. New constant.
  10869. 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
  10870. * gnu/javax/crypto/jce/params/BlockCipherParameters.java
  10871. (engineGetParameterSpec): Should be able to return an IvParameterSpec.
  10872. 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
  10873. * gnu/javax/crypto/cipher/DES.java (adjustParity): Index limit now takes
  10874. offset into consideration.
  10875. 2006-07-16 Mario Torre <neugens@limasoftware.net>
  10876. * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
  10877. Fixed comment. This functions now requires to be called
  10878. with gdk lock held, the comment states that.
  10879. (Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache):
  10880. Introduces gdk locks around critical regions of code.
  10881. (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
  10882. Likewise.
  10883. (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
  10884. Likewise.
  10885. (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1suggest_1sync):
  10886. Likewise.
  10887. (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
  10888. Likewise.
  10889. (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
  10890. Likewise.
  10891. (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
  10892. Likewise.
  10893. (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
  10894. Likewise.
  10895. (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir):
  10896. Likewise.
  10897. (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
  10898. Likewise.
  10899. (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
  10900. * native/jni/gconf-peer/Makefile.am: The GConf peer now depends on GTK.
  10901. 2006-07-15 Sven de Marothy <sven@physto.se>
  10902. * javax/swing/JFileChooser.java
  10903. Change default selection mode to FILES_ONLY.
  10904. * javax/swing/plaf/basic/BasicDirectoryModel.java
  10905. Document, fix selection mode filtering.
  10906. (renameFile): Implement
  10907. * javax/swing/plaf/basic/BasicFileChooserUI.java
  10908. (selectedDir): New field to handle selected directories,
  10909. disallow selecting of directories in FILES_ONLY mode.
  10910. * javax/swing/plaf/metal/MetalFileChooserUI.java:
  10911. (EditingActionListener.actionPerformed):
  10912. Stop editing on all actions (e.g. return-key press)
  10913. 2006-07-15 Mark Wielaard <mark@klomp.org>
  10914. * doc/vmintegration.texinfo (gnu.java.lang.management): Change xref
  10915. to code.
  10916. (JNI Implementation): Mark JVMTI Implementation as next.
  10917. (JVMTI Implementation): Mark JNI Implementation as prev.
  10918. 2006-07-15 Mark Wielaard <mark@klomp.org>
  10919. * include/Makefile.am: Remove
  10920. include/gnu_java_awt_peer_gtk_GdkTextLayout.h.
  10921. * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
  10922. * native/jni/gtk-peer/Makefile.am: Remove
  10923. gnu_java_awt_peer_gtk_GdkTextLayout.c
  10924. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
  10925. Removed.
  10926. * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: Regenerated.
  10927. 2006-07-15 Mark Wielaard <mark@klomp.org>
  10928. * autogen.sh: Recognize autoconf 2.60.
  10929. 2006-07-15 Keith Seitz <keiths@redhat.com>
  10930. * NEWS: Update for JVMTI and jvmti.h.
  10931. * doc/vmintegration.texinfo: Likewise.
  10932. * include/jvmti.h: New file.
  10933. 2006-07-15 Mark Wielaard <mark@klomp.org>
  10934. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
  10935. Removed C++ style comment.
  10936. 2006-07-15 Sven de Marothy <sven@physto.se>
  10937. * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java,
  10938. * java/awt/MouseInfo.java,
  10939. * java/awt/PointerInfo.java,
  10940. * java/awt/peer/MouseInfoPeer.java:
  10941. New files.
  10942. * java/awt/Image.java
  10943. (accelerationPriority): New field.
  10944. (setAccelerationPriority, getAccelerationPriority): New methods..
  10945. * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
  10946. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
  10947. * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
  10948. (getMouseCoordinates): New method.
  10949. * gnu/java/awt/peer/gtk/GtkFramePeer.java
  10950. (updateAlwaysOnTop): Remove stub overload.
  10951. * gnu/java/awt/ClasspathToolkit.java,
  10952. * gnu/java/awt/peer/gtk/GtkToolkit.java,
  10953. * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
  10954. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
  10955. (getMouseInfoPeer): New method.
  10956. (getMouseNumberOfButtons): New method.
  10957. * gnu/java/awt/peer/gtk/GtkWindowPeer.java
  10958. * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h
  10959. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
  10960. (gtkWindowSetAlwaysOnTop): New method.
  10961. (updateAlwaysOnTop): Implement.
  10962. * java/awt/Toolkit.java,
  10963. (getMouseInfoPeer): New method.
  10964. * java/awt/Window.java
  10965. (alwaysOnTop): New field.
  10966. (isAlwaysOnTop, setAlwaysOnTop): New methods.
  10967. * java/awt/peer/WindowPeer.java: Doc fix.
  10968. 2006-07-14 Sven de Marothy <sven@physto.se>
  10969. * java/awt/font/TextLayout.java:
  10970. (hitTestChar): Stub method.
  10971. * java/awt/font/TextMeasurer.java:
  10972. (getLayout): Throw exception on invalid argument.
  10973. 2006-07-14 Sven de Marothy <sven@physto.se>
  10974. * java/awt/image/DataBuffer.java
  10975. (DataBuffer): Call constructors in the correct order,
  10976. 2006-07-14 Mark Wielaard <mark@klomp.org>
  10977. Revert to previous implementation.
  10978. * java/awt/GridBagLayout.java (AdjustForGravity): Only adjust for
  10979. constraints insets.
  10980. 2006-07-14 Roman Kennke <kennke@aicas.com>
  10981. * gnu/java/awt/peer/x/XToolkit.java
  10982. (XToolkit): Install properties to SystemProperties
  10983. rather than System, to avoid SecurityManager.
  10984. (getImage(String)): Return error image when string is invalid.
  10985. (createImage(URL)): Moved image loading to helper method.
  10986. (createImage(ImageProducer)): Implemented.
  10987. (createImage(byte[],int,int)): Implemented.
  10988. (createImage(InputStream)): New helper method.
  10989. 2006-07-14 Tania Bento <tbento@redhat.com>
  10990. * java/awt/FlowLayout.java
  10991. (setHgap): No Excpetion should be thrown if hgap has
  10992. a negative value.
  10993. (setVgap): No Exception should be thrown if vgap has
  10994. a negative value.
  10995. 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
  10996. * java/awt/image/MultiPixelPackedSampleModel.java:
  10997. Added API docs all over.
  10998. 2006-07-14 Matt Wringe <mwringe@redhat.com>
  10999. * gnu/javax/crypto/jce/cipher/CipherAdapter.java
  11000. (engineInit): Throw InvalidAlgorithmParameterException
  11001. for invalid IVParameterSpec IV length.
  11002. 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
  11003. * java/awt/image/MultiPixelPackedSampleModel.java
  11004. (createDataBuffer): Include dataBitOffset in calculating the size for
  11005. the data buffer.
  11006. 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
  11007. * java/awt/image/MultiPixelPackedSampleModel.java
  11008. (getSampleSize()): Return a copy of the array,
  11009. (getTransferType()): New method override.
  11010. 2006-07-14 Roman Kennke <kennke@aicas.com>
  11011. * java/awt/CardLayout.java
  11012. (show): Validate parent to make sure that the layout is
  11013. valid.
  11014. 2006-07-14 Roman Kennke <kennke@aicas.com>
  11015. * java/awt/Component.java
  11016. (enable): Added tree locking.
  11017. (disable): Added tree locking.
  11018. (show): Added tree locking.
  11019. (hide): Added tree locking.
  11020. (getLocationOnScreen): Added tree locking.
  11021. (reshape): Added tree locking.
  11022. (addHierarchyListener): Added tree locking.
  11023. (removeHierarchyListener): Added tree locking.
  11024. (addHierarchyBoundsListener): Added tree locking.
  11025. (removeHierarchyBoundsListener): Added tree locking.
  11026. (addNotify): Added tree locking.
  11027. (removeNotify): Added tree locking.
  11028. * java/awt/Container.java
  11029. (invalidateTree): Added tree locking.
  11030. (getAlignmentX): Added tree locking.
  11031. (getAlignmentY): Added tree locking.
  11032. (addNotify): Added tree locking.
  11033. (setComponentZOrder): Added tree locking.
  11034. (getComponentZOrder): Added tree locking.
  11035. 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
  11036. * java/awt/image/MultiPixelPackedSampleModel.java
  11037. (createSubsetSampleModel): Restored argument check, but let null
  11038. through.
  11039. 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
  11040. * java/awt/image/MultiPixelPackedSampleModel.java
  11041. (createSubsetSampleModel): Removed argument check.
  11042. 2006-07-14 Roman Kennke <kennke@aicas.com>
  11043. * java/awt/Component.java
  11044. (numHierarchyListeners): New field.
  11045. (numHierarchyBoundsListeners): New field.
  11046. (show): Fire hierarchy events here. Only fire component event
  11047. if there is actually a listener for it.
  11048. (hide): Fire hierarchy events here. Only fire component event
  11049. if there is actually a listener for it.
  11050. (reshape): Fire hierarchy events here. Only fire component event
  11051. if there is actually a listener for it.
  11052. (addHierarchyListeners): Update listener counters.
  11053. (removeHierarchyListeners): Update listener counters.
  11054. (addHierarchyBoundsListeners): Update listener counters.
  11055. (removeHierarchyBoundsListeners): Update listener counters.
  11056. (fireHierarchyEvent): New helper method for firing hierarchy
  11057. events.
  11058. * java/awt/Container.java
  11059. (addImpl): Update listener counters. Fire hierarchy event.
  11060. (remove): Update listener counters. Fire hierarchy event.
  11061. (fireHierarchyEvent): New helper method for firing hierarchy
  11062. events.
  11063. (updateHierarchyListenerCount): New helper method for
  11064. updating the listener counters.
  11065. 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
  11066. * java/awt/image/MultiPixelPackedSampleModel.java
  11067. (equals): New method override,
  11068. (hashCode): Likewise.
  11069. 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
  11070. * java/awt/image/MultiPixelPackedSampleModel.java
  11071. (MultiPixelPackedSampleModel(int, int, int, int, int, int)):
  11072. Corrected scanlineStride calculation.
  11073. 2006-07-14 Raif S. Naffah <raif@swiftdsl.com.au>
  11074. * gnu/java/security/Registry.java (KWA_PREFIX): New constant.
  11075. (AES_KWA): Likewise.
  11076. (AES128_KWA): Likewise.
  11077. (AES192_KWA): Likewise.
  11078. (AES256_KWA): Likewise.
  11079. (RIJNDAEL_KWA): Likewise.
  11080. (TRIPLEDES_KWA): Likewise.
  11081. (DESEDE_KWA): Likewise.
  11082. * gnu/javax/crypto/kwa/AESKeyWrap.java: New file
  11083. * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java: Likewise.
  11084. * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java: Likewise.
  11085. * gnu/javax/crypto/kwa/KeyUnwrappingException.java: Likewise.
  11086. * gnu/javax/crypto/kwa/KeyWrappingAlgorithmFactory.java: Likewise.
  11087. * gnu/javax/crypto/kwa/TripleDESKeyWrap.java: Likewise.
  11088. 2006-07-14 Raif S. Naffah <raif@swiftdsl.com.au>
  11089. * gnu/javax/crypto/pad/IPad.java: Updated class documentation.
  11090. (PADDING_BLOCK_SIZE): New constant.
  11091. (init(Map attributes)): New method.
  11092. * gnu/javax/crypto/pad/BasePad.java (init): New method.
  11093. 2006-07-14 Mario Torre <neugens@limasoftware.net>
  11094. * gnu/java/security/OID.java (OID): Private Constructor removed as
  11095. it is not needed anymore.
  11096. (clone): Fixed. Now uses super.clone instead of the private
  11097. constructor as per specification of clone method.
  11098. (serialVersionUID): added new field to allow serialization.
  11099. 2006-07-13 Sven de Marothy <sven@physto.se>
  11100. * gnu/javax/imageio/gif/GIFImageReader.java
  11101. (read): Remove old debugging trace.
  11102. 2006-07-13 Andreas Tobler <a.tobler@schweiz.ch>
  11103. PR awt/28369:
  11104. * gnu/java/awt/peer/gtk/CairoSurface.java (ColorModel): Swap red and
  11105. blue mask.
  11106. 2006-07-13 Roman Kennke <kennke@aicas.com>
  11107. * java/awt/Component.java
  11108. (DEFAULT_MAX_SIZE): New static constant.
  11109. (preferredSize): Return copy of the actual value computed
  11110. by new helper method.
  11111. (preferredSizeImpl): New helper method. Adds locking and
  11112. correct handling of cached value.
  11113. (minimumSize): Return copy of the actual value computed
  11114. by new helper method.
  11115. (minimumSizeImpl): New helper method. Adds locking and
  11116. correct handling of cached value.
  11117. (getMaximumSize): Return copy of the actual value computed
  11118. by new helper method.
  11119. (maximumSizeImpl): New helper method. Adds locking and
  11120. correct handling of cached value.
  11121. (invalidate): Correct handling of cached layout information.
  11122. Added locking.
  11123. * java/awt/Container.java
  11124. (preferredSize): Minimized locking. Corrected handling of cached
  11125. values. Return copy of real value.
  11126. (minimumSize): Minimized locking. Corrected handling of cached
  11127. values. Return copy of real value.
  11128. (getMaximumSize): Minimized locking. Corrected handling of cached
  11129. values. Return copy of real value.
  11130. 2006-07-13 Tania Bento <tbento@redhat.com>
  11131. * gnu/java/awt/peer/ClasspathFontPeer.java
  11132. (isLogicalFontName): Return true if name == default.
  11133. (logicalFontNameToFaceName): Check if name == default,
  11134. and if so, return "Dialog.plain".
  11135. (setStandardAttributes(String, Map)): If name == null,
  11136. it should be set to "Default", not "SansSerif".
  11137. * java/awt/Canvas.java
  11138. (generateName): Fixed documentation.
  11139. * java/awt/CheckboxMenuItem.java
  11140. Added static variable "next_chkmenuitem_number".
  11141. (generateName): Added and implemented method.
  11142. (getUniqueLong): Likewise.
  11143. * java/awt/Choice.java
  11144. Added static variable "next_choice_number".
  11145. (generateName): Added and implemented method.
  11146. (getUniqueLong): Likewise.
  11147. * java/awt/Cursor.java
  11148. (Cursor(int)): Set name depending on the type passed.
  11149. * java/awt/List.java
  11150. Added static variable "next_list_number".
  11151. (generateName): Added and implemented method.
  11152. (getUniqueLong): Likewise.
  11153. * java/awt/Menu.java
  11154. Added static variable "next_menu_number".
  11155. (generateName): Added and implemented method.
  11156. (getUniqueLong): Likewise.
  11157. * java/awt/MenuBar.java
  11158. Added static variable "next_menubar_number".
  11159. (generateName): Added and implemented method.
  11160. (getUniqueLong): Likewise.
  11161. * java/awt/MenuComponent.java
  11162. (getName): Before returning name, check if name == null
  11163. and name is not explicity set. If this is the case,
  11164. name will be generated.
  11165. (generateName): Added and implemented method.
  11166. * java/awt/MenuItem.java
  11167. Added static variable "next_menuitem_number".
  11168. (generateName): Added and implemented method.
  11169. (getUniqueLong): Likewise.
  11170. * java/awt/PopupMenu.java
  11171. Added static variable "next_popup_number".
  11172. (generateName): Added and implemented method.
  11173. (getUniqueLong): Likewise.
  11174. * java/awt/ScrollPane.java
  11175. Added static variable "next_scrollpane_number".
  11176. (generateName): Added and implemented method.
  11177. (getUniqueLong): Likewise.
  11178. * java/awt/TextField.java
  11179. Added static variable "next_textfield_number".
  11180. (generateName): Added and implemented method.
  11181. (getUniqueLong): Likewise.
  11182. 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
  11183. * java/awt/image/SinglePixelPackedSampleModel.java
  11184. (SinglePixelPackageSampleModel(int, int, int, int, int[])): Convert
  11185. mask correctly as an unsigned integer,
  11186. (equals): New method override.
  11187. 2006-07-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  11188. * javax/swing/text/html/HTMLDocument.java (insertAfterEnd,
  11189. insertAfterStart, insertBeforeEnd): Removed stub markings.
  11190. 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
  11191. * java/awt/image/BandedSampleModel.java: API doc updates and source
  11192. code reformatting,
  11193. * java/awt/image/SinglePixelPackageSampleModel.java: Likewise.
  11194. 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
  11195. * java/awt/image/BandedSampleModel.java: API doc updates.
  11196. 2006-07-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  11197. * javax/swing/text/html/HTMLDocument.java (HTMLReader.parseStack):
  11198. Made package private. (HTMLReader.charAttr, HTMLReader.charAttrStack,
  11199. HTMLReader.insertTag, HTMLReader.insertTagEncountered,
  11200. HTMLReader.pushDepth, HTMLReader.popDepth): Documented.
  11201. (HRMLReader.blockClose): Mind that parser stack may be empty.
  11202. (HTMLReader.handeComment, HTMLReader.handleStartTag,
  11203. HTMLReader.handleEndTag, HTMLReader.handleSimpleTag): Rewritten.
  11204. (HTMLReader.shouldInsert): New method. (getElement(String)):
  11205. Pass HTML.Atrribute.ID. (insertAfterEnd, insertBeforeEnd,
  11206. insertAfterStart, insertBeforeStart, setInnerHTML, setOuterHTML):
  11207. Implemented. (getInsertingReader): New method.
  11208. * examples/gnu/classpath/examples/swing/HtmlDemo.java:
  11209. Added buttons to demonstrate the work of the insert actions.
  11210. 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
  11211. * java/awt/image/SampleModel.java: API doc updates and additions,
  11212. * java/awt/image/SinglePixelPackedSampleModel.java: Likewise.
  11213. 2006-07-12 Sven de Marothy <sven@physto.se>
  11214. * javax/swing/JFileChooser.java:
  11215. (createDialog): Close operation should cause a cancel.
  11216. 2006-07-12 Francis Kung <fkung@redhat.com>
  11217. * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Organized imports.
  11218. (cairoArc): New native method.
  11219. (cairoRestore): New native method.
  11220. (cairoSave): New native method.
  11221. (cairoScale): New native method.
  11222. (createPath): New method to centralize code from draw and fill.
  11223. (draw): Modified to use createPath method.
  11224. (fill): Modified to use createPath method.
  11225. * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added
  11226. function declarations.
  11227. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
  11228. (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoScale): New
  11229. method.
  11230. (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSave): New
  11231. method.
  11232. (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoArc): New
  11233. method.
  11234. 2006-07-12 Tom Tromey <tromey@redhat.com>
  11235. PR libgcj/27271:
  11236. * java/util/zip/ZipFile.java (getInputStream): Call addDummyByte
  11237. on PartialInputStream.
  11238. (PartialInputStream.dummyByteCount): New field.
  11239. (PartialInputStream.fillBuffer): Handle dummy byte.
  11240. (PartialInputStream.read): Likewise.
  11241. (PartialInputStream.addDummyByte): New method.
  11242. 2006-07-12 Mario Torre <neugens@limasoftware.net>
  11243. * native/jni/gconf-peer/GConfNativePeer.c
  11244. (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
  11245. Fixed C++ style comment.
  11246. 2006-07-12 David Gilbert <david.gilbert@object-refinery.com>
  11247. * java/util/Arrays.java
  11248. (asList): Updated API docs.
  11249. 2006-07-11 Robert Schuster <robertschuster@fsfe.org>
  11250. Fixes PR28350.
  11251. * native/jni/gconf-peer/GConfNativePeer.c:
  11252. (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
  11253. Changed if-expression.
  11254. (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
  11255. Added check for _value not being NULL.
  11256. 2006-07-11 Roman Kennke <kennke@aicas.com>
  11257. * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
  11258. (read): Use fd when local sockets are disabled to make the
  11259. compiler quite.
  11260. (write): Likewise.
  11261. 2006-07-11 Roman Kennke <kennke@aicas.com>
  11262. * java/awt/image/MultiPixelPackedSampleModel.java
  11263. (MultiPixelPackedSampleModel): Substract -1 so that the integer
  11264. division gets rounded up.
  11265. 2006-07-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
  11266. * java/lang/management/ManageFactory.java:
  11267. (getMemoryManagerMXBeans()): Use addAll, not add.
  11268. 2006-07-11 Vivek Lakshmanan <vivekl@redhat.com>
  11269. PR 27649:
  11270. * gnu/classpath/ByteArray.java: Removed (moved).
  11271. * gnu/java/security/util/ByteArray.java: New File.
  11272. * gnu/javax/crypto/RSACipherImpl.java: Reference
  11273. gnu.java.security.util.ByteArray instead of gnu.classpath.ByteArray.
  11274. 2006-07-11 Roman Kennke <kennke@aicas.com>
  11275. * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
  11276. (available): Pass fd as argument and avoid JNI class/field
  11277. lookup.
  11278. (read): Likewise.
  11279. (write): Likewise.
  11280. * include/gnu_java_net_local_LocalSocketImpl.h:
  11281. Regenerated.
  11282. * gnu/java/net/local/LocalSocketImpl.h
  11283. (available): Pass fd as argument and avoid JNI class/field
  11284. lookup.
  11285. (read): Likewise.
  11286. (write): Likewise.
  11287. 2006-07-11 Sven de Marothy <sven@physto.se>
  11288. * gnu/javax/sound/sampled/AU/AUReader.java:
  11289. Correct file extension from .as to .au.
  11290. 2006-07-11 Sven de Marothy <sven@physto.se>
  11291. * gnu/javax/sound/sampled/AU/AUReader.java:
  11292. New file.
  11293. * resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader:
  11294. Added new provider.
  11295. 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
  11296. * javax/swing/JTable.java
  11297. (setRowSelectionAllowed): Fire required PropertyChangeEvent,
  11298. (setColumnSelectionAllowed): Likewise.
  11299. 2006-07-10 Vivek Lakshmanan <vivekl@redhat.com>
  11300. PR 27649:
  11301. * gnu/classpath/debug/Simple1LineFormatter.java: Use
  11302. AccessController.doPrivileged instead of SystemProperties.getProperty.
  11303. * gnu/classpath/debug/SystemLogger.java: Likewise.
  11304. * gnu/java/security/PolicyFile.java: Likewise and cut unnecessary
  11305. repeated getProperty calls for "file.seperator".
  11306. (refresh): Since already in privileged block, call System.getProperty
  11307. instead of SystemProperties.getProperty.
  11308. * gnu/java/security/key/dss/DSSKey.java
  11309. (toString): Use AccessController.doPrivileged instead of
  11310. SystemProperties.getProperty.
  11311. * gnu/java/security/key/dss/DSSPrivateKey.java
  11312. (toString): Likewise.
  11313. * gnu/java/security/key/dss/DSSPublicKey.java
  11314. (toString): Likewise.
  11315. * gnu/java/security/key/rsa/GnuRSAKey.java
  11316. (toString): Likewise.
  11317. * gnu/java/security/key/rsa/GnuRSAPrivateKey.java
  11318. (toString): Likewise.
  11319. * gnu/java/security/key/rsa/GnuRSAPublicKey.java
  11320. (toString): Likewise.
  11321. * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
  11322. * gnu/javax/crypto/key/dh/GnuDHKey.java
  11323. (toString): Likewise.
  11324. * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
  11325. (toString): Likewise.
  11326. * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
  11327. (toString): Likewise.
  11328. 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
  11329. * javax/swing/AbstractButton.java
  11330. (disabledIcon): Fixed name (was 'disabeldIcon'),
  11331. (getDisabledIcon): Updated for corrected field name,
  11332. (setDisabledIcon): Fire a PropertyChangeEvent.
  11333. 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
  11334. * javax/swing/DefaultBoundedRangeModel.java
  11335. (readObject): New private method,
  11336. (writeObject): Likewise.
  11337. 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
  11338. * javax/swing/ButtonGroup.java
  11339. (add): Ignore null argument,
  11340. (remove): Ignore null argument. If removing selected button, clear the
  11341. sel field,
  11342. (findButton): Changed case for method name, and documented,
  11343. (setSelected): Updated for modification to findButton() method name,
  11344. (isSelected): Updated API docs.
  11345. 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
  11346. * java/awt/image/BufferedImage.java
  11347. (BufferedImage(int, int, int)): Use correct color space for
  11348. TYPE_BYTE_GRAY and TYPE_USHORT_GRAY, and throw an
  11349. IllegalArgumentException for an unrecognised type.
  11350. 2006-07-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
  11351. * java/lang/management/ManagementFactory.java:
  11352. (getMemoryPoolMXBeans): Genericized fully.
  11353. (getMemoryManagerMXBeans): Likewise.
  11354. (getGarbageCollectorMXBeans): Likewise.
  11355. 2006-07-10 Tom Tromey <tromey@redhat.com>
  11356. * java/lang/management/ManagementFactory.java (getMemoryPoolMXBeans):
  11357. Genericized.
  11358. (getMemoryManagerMXBeans): Likewise.
  11359. (getGarbageCollectorMXBeans): Likewise.
  11360. 2006-07-10 Mario Torre <neugens@limasoftware.net>
  11361. * java/awt/BasicStroke.java: Removed unused import.
  11362. * gnu/java/awt/java2d/CubicSegment.java (clone): Fixed.
  11363. * gnu/java/awt/java2d/LineSegment.java (clone): Fixed.
  11364. * gnu/java/awt/java2d/QuadSegment.java (clone): Fixed.
  11365. 2006-07-10 Matt Wringe <mwringe@redhat.com>
  11366. PR classpath/28212:
  11367. * javax/crypto/spec/SecretKeySpec.java
  11368. (equals): Check object type.
  11369. 2006-07-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  11370. * examples/gnu/classpath/examples/CORBA/SimpleCommunication/
  11371. communication/StructureToPassHelper.java,
  11372. examples/gnu/classpath/examples/CORBA/SimpleCommunication/
  11373. communication/StructureToReturnHelper.java,
  11374. examples/gnu/classpath/examples/CORBA/SimpleCommunication/
  11375. communication/TreeNodeHelper.java,
  11376. examples/gnu/classpath/examples/CORBA/SimpleCommunication/
  11377. communication/WeThrowThisExceptionHelper.java,
  11378. gnu/CORBA/ForwardRequestHelper.java,
  11379. org/omg/CORBA/CompletionStatusHelper.java,
  11380. org/omg/CORBA/CurrentHelper.java,
  11381. org/omg/CORBA/DefinitionKindHelper.java,
  11382. org/omg/CORBA/IDLTypeHelper.java,
  11383. org/omg/CORBA/NameValuePairHelper.java,
  11384. org/omg/CORBA/ObjectHelper.java,
  11385. org/omg/CORBA/ParameterModeHelper.java,
  11386. org/omg/CORBA/PolicyErrorCodeHelper.java,
  11387. org/omg/CORBA/PolicyErrorHelper.java,
  11388. org/omg/CORBA/PolicyHelper.java,
  11389. org/omg/CORBA/PolicyListHelper.java,
  11390. org/omg/CORBA/PolicyTypeHelper.java,
  11391. org/omg/CORBA/ServiceDetailHelper.java,
  11392. org/omg/CORBA/ServiceInformationHelper.java,
  11393. org/omg/CORBA/SetOverrideTypeHelper.java,
  11394. org/omg/CORBA/StringValueHelper.java,
  11395. org/omg/CORBA/UnionMemberHelper.java,
  11396. org/omg/CORBA/UnknownUserExceptionHelper.java,
  11397. org/omg/CORBA/VisibilityHelper.java,
  11398. org/omg/CORBA/WStringValueHelper.java,
  11399. org/omg/CORBA/WrongTransactionHelper.java,
  11400. org/omg/CosNaming/BindingHelper.java,
  11401. org/omg/CosNaming/BindingIteratorHelper.java,
  11402. org/omg/CosNaming/BindingListHelper.java,
  11403. org/omg/CosNaming/BindingTypeHelper.java,
  11404. org/omg/CosNaming/NameComponentHelper.java,
  11405. org/omg/CosNaming/NameHelper.java,
  11406. org/omg/CosNaming/NamingContextExtHelper.java,
  11407. org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
  11408. org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
  11409. org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
  11410. org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
  11411. org/omg/CosNaming/NamingContextHelper.java,
  11412. org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
  11413. org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java,
  11414. org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
  11415. org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
  11416. org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java,
  11417. org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
  11418. org/omg/DynamicAny/AnySeqHelper.java,
  11419. org/omg/DynamicAny/DynAnyFactoryHelper.java,
  11420. org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
  11421. org/omg/DynamicAny/DynAnyHelper.java,
  11422. org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
  11423. org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
  11424. org/omg/DynamicAny/DynAnySeqHelper.java,
  11425. org/omg/DynamicAny/DynArrayHelper.java,
  11426. org/omg/DynamicAny/DynEnumHelper.java,
  11427. org/omg/DynamicAny/DynFixedHelper.java,
  11428. org/omg/DynamicAny/DynSequenceHelper.java,
  11429. org/omg/DynamicAny/DynStructHelper.java,
  11430. org/omg/DynamicAny/DynUnionHelper.java,
  11431. org/omg/DynamicAny/DynValueHelper.java,
  11432. org/omg/DynamicAny/NameDynAnyPairHelper.java,
  11433. org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
  11434. org/omg/DynamicAny/NameValuePairHelper.java,
  11435. org/omg/DynamicAny/NameValuePairSeqHelper.java,
  11436. org/omg/IOP/CodecFactoryHelper.java,
  11437. org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
  11438. org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
  11439. org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
  11440. org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
  11441. org/omg/IOP/ComponentIdHelper.java,
  11442. org/omg/IOP/IORHelper.java,
  11443. org/omg/IOP/MultipleComponentProfileHelper.java,
  11444. org/omg/IOP/ProfileIdHelper.java,
  11445. org/omg/IOP/ServiceContextHelper.java,
  11446. org/omg/IOP/ServiceContextListHelper.java,
  11447. org/omg/IOP/ServiceIdHelper.java,
  11448. org/omg/IOP/TaggedComponentHelper.java,
  11449. org/omg/IOP/TaggedProfileHelper.java,
  11450. org/omg/PortableInterceptor/AdapterManagerIdHelper.java,
  11451. org/omg/PortableInterceptor/AdapterNameHelper.java,
  11452. org/omg/PortableInterceptor/AdapterStateHelper.java,
  11453. org/omg/PortableInterceptor/CurrentHelper.java,
  11454. org/omg/PortableInterceptor/ForwardRequestHelper.java,
  11455. org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
  11456. org/omg/PortableInterceptor/InvalidSlotHelper.java,
  11457. org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java,
  11458. org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
  11459. org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
  11460. org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
  11461. org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHelper.java,
  11462. org/omg/PortableServer/CurrentHelper.java,
  11463. org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
  11464. org/omg/PortableServer/ForwardRequestHelper.java,
  11465. org/omg/PortableServer/POAHelper.java,
  11466. org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
  11467. org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
  11468. org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
  11469. org/omg/PortableServer/POAPackage/InvalidPolicyHelper.java,
  11470. org/omg/PortableServer/POAPackage/NoServantHelper.java,
  11471. org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
  11472. org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
  11473. org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
  11474. org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
  11475. org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
  11476. org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
  11477. org/omg/PortableServer/ServantActivatorHelper.java,
  11478. org/omg/PortableServer/ServantLocatorHelper.java: Remove the
  11479. typecode caching and always use OrbRestricted.Singleton.
  11480. 2006-07-09 Tom Tromey <tromey@redhat.com>
  11481. * java/util/logging/LoggingMXBean.java (getLoggerNames): Genericized.
  11482. 2006-07-09 Mark Wielaard <mark@klomp.org>
  11483. * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasXRenderExtension):
  11484. New static final boolean field.
  11485. (getComponentGraphics): Use hasXRenderExtension.
  11486. (setClip): Override method for locking.
  11487. 2006-07-09 David Gilbert <david.gilbert@object-refinery.com>
  11488. * javax/swing/AbstractButton.java
  11489. (setHorizontalTextPosition): Added check for illegal argument,
  11490. (setVerticalTextPosition): Likewise.
  11491. 2006-07-09 David Gilbert <david.gilbert@object-refinery.com>
  11492. * javax/swing/Timer.java
  11493. (setDelay): Throw IllegalArgumentException for negative delay,
  11494. (setInitialDelay): Likewise,
  11495. * javax/swing/ToolTipManager.java
  11496. (setInitialDelay): Document IllegalArgumentException,
  11497. (setDismissDelay): Likewise,
  11498. (setReshowDelay): Likewise.
  11499. 2006-07-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
  11500. * java/lang/management/MemoryUsage.java:
  11501. (from(javax.management.openmbean.CompositeData)):
  11502. Implemented.
  11503. * java/lang/management/ThreadInfo.java:
  11504. Changed to use open types throughout for the state.
  11505. (ThreadInfo(long,String,String,long,long,String,
  11506. long,String,long,long,boolean,StackTraceElement[])):
  11507. New constructor.
  11508. (checkAttribute(javax.management.openmbean.CompositeType,
  11509. String, javax.management.openmbean.OpenType)): New method.
  11510. (from(javax.management.openmbean.CompositeData)):
  11511. Implemented.
  11512. (getLockName()): Fixed to use new variable.
  11513. (getLockOwnerId()): Likewise.
  11514. (getLockOwnerName()): Likewise.
  11515. (getThreadId()): Likewise.
  11516. (getThreadName()): Likewise.
  11517. (getThreadState()): Likewise.
  11518. (toString()): Refactored to use new variables.
  11519. * javax/management/openmbean/ArrayType.java:
  11520. New file.
  11521. * javax/management/openmbean/CompositeType.java:
  11522. Variables should be transient, not volatile.
  11523. * javax/management/openmbean/OpenDataException.java:
  11524. (serialVersionUID): Added.
  11525. * javax/management/openmbean/SimpleType.java:
  11526. New file.
  11527. * javax/management/openmbean/TabularType.java
  11528. Variables should be transient, not volatile.
  11529. 2006-07-09 Tom Tromey <tromey@redhat.com>
  11530. * tools/.cvsignore: Updated for new tools.
  11531. 2006-07-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
  11532. * javax/management/openmbean/CompositeData.java,
  11533. * javax/management/openmbean/CompositeType.java,
  11534. * javax/management/openmbean/OpenDataException.java,
  11535. * javax/management/openmbean/OpenType.java,
  11536. * javax/management/openmbean/TabularData.java,
  11537. * javax/management/openmbean/TabularType.java,
  11538. * javax/management/openmbean/package.html:
  11539. New files.
  11540. 2006-07-09 Mark Wielaard <mark@klomp.org>
  11541. * gnu/javax/print/ipp/IppRequest.java: Remove double assignment.
  11542. * gnu/java/rmi/server/UnicastServerRef.java: Likewise.
  11543. * gnu/java/rmi/server/ActivatableServerRef.java: Likewise.
  11544. 2006-07-08 Anthony Green <green@redhat.com>
  11545. * gnu/javax/sound/sampled/WAV/WAVReader.java,
  11546. resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader:
  11547. New files.
  11548. 2006-07-09 Mario Torre <neugens@limasoftware.net>
  11549. * native/jni/gconf-peer/GConfNativePeer.c:
  11550. Fixed indentation to be more compliant to the GNU coding
  11551. guidelines.
  11552. (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
  11553. Added explicit test for errors in the GConf backend.
  11554. (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
  11555. Added explicit test for errors in the GConf backend.
  11556. Fixed Segmentation Fault when non valid key names are given as input.
  11557. (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
  11558. likewise.
  11559. (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
  11560. Added explicit test for errors in the GConf backend.
  11561. * gnu/java/util/prefs/gconf/GConfNativePeer.java:
  11562. Added javadoc comments for all native methods.
  11563. (nodeExist): removed test to check for valid absolute path name
  11564. for nodes.
  11565. (startWatchingNode): likewise.
  11566. (stopWatchingNode): likewise.
  11567. (setString): likewise, plus fixed javadoc comments.
  11568. (unset): likekwise.
  11569. (getKey): likewise.
  11570. (getKeys): likewise, also fixed javadoc comments.
  11571. (getChildrenNodes): likewise.
  11572. * gnu/java/util/prefs/GConfBasedPreferences.java:
  11573. changed DEFAULT_USER_ROOT to /apps/classpath.
  11574. (constructor): Test to check for a valid absolute path for nodes
  11575. is now in the contructor for that node, instead of being on
  11576. each method of the backend.
  11577. (getGConfKey): removed empty new line.
  11578. 2006-07-08 Mark Wielaard <mark@klomp.org>
  11579. * .classpath: Add gnu/java/awt/peer/x/ to excludes.
  11580. 2006-07-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  11581. * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
  11582. Handle the forced break in the same way as exceeding the
  11583. available row space.
  11584. * javax/swing/text/html/HRuleView.java: Rewritten.
  11585. * javax/swing/text/html/HTMLDocument.java
  11586. (HTMLReader.addSpecialElement):Reserve two characters for
  11587. the special elements.
  11588. * examples/gnu/classpath/examples/swing/HtmlDemo.java
  11589. (text): Extended the HTML example to parse.
  11590. 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
  11591. * javax/swing/AbstractButton.java
  11592. (setHorizontalAlignment): Check for illegal argument,
  11593. (setVerticalAlignment): Likewise.
  11594. 2006-07-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  11595. * javax/swing/text/html/TableView.java
  11596. (getStyleSheet): New method. (RowView.getStyleSheet):
  11597. New method.
  11598. 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
  11599. * javax/swing/AbstractButton.java
  11600. (setRolloverIcon): Call setRolloverEnabled(true),
  11601. (setRolloverSelectedIcon): Likewise.
  11602. 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
  11603. * javax/swing/border/TitledBorder.java
  11604. (setTitlePosition): Added message to exception,
  11605. (setTitleJustification): Likewise.
  11606. 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
  11607. * javax/swing/plaf/metal/MetalLookAndFeel.java
  11608. (createDefaultTheme): Corrected API docs,
  11609. (initComponentDefaults): Added entry for 'TitledBorder.border',
  11610. (getCurrentTheme): Initialise theme if it is null.
  11611. 2006-07-07 Roman Kennke <kennke@aicas.com>
  11612. * java/awt/Component.java
  11613. (isValid): Return false when component has no peer,
  11614. don't query the showing state.
  11615. 2006-07-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  11616. * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
  11617. Advance the offset also in the case of the enforced break.
  11618. 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
  11619. * javax/swing/plaf/basic/BasicArrowButton.java
  11620. (MAXIMUM_SIZE): Removed field,
  11621. (MINIMUM_SIZE): Likewise,
  11622. (PREFERRED_SIZE): Likewise,
  11623. (getMaximumSize): Return new instance every time,
  11624. (getMinimumSize): Likewise,
  11625. (getPreferredSize): Likewise.
  11626. 2006-07-07 Roman Kennke <kennke@aicas.com>
  11627. * java/awt/LightweightDispatcher.java
  11628. (findTarget): Avoid array copying in
  11629. Container.getComponents().
  11630. 2006-07-07 Roman Kennke <kennke@aicas.com>
  11631. * javax/swing/JComponent.java
  11632. (paintChildrenWithOverlap): Avoid array copying in
  11633. Container.getComponents().
  11634. (paintChildrenOptimized): Avoid array copying in
  11635. Container.getComponents().
  11636. (fireAncestorEvent): Avoid array copying in
  11637. Container.getComponents().
  11638. (findOverlapFreeParent): Avoid array copying in
  11639. Container.getComponents().
  11640. 2006-07-07 Matt Wringe <mwringe@redhat.com>
  11641. * javax/crypto/spec/PBEKeySpec.java: Updated copyright year.
  11642. (passwordValid): New field.
  11643. (setPassword): New method.
  11644. (setSalt): Likewise.
  11645. (setIterationCount): Likewise.
  11646. (setKeyLength): Likewise.
  11647. (PBEKeySpec(char[])): Use new setter methods.
  11648. (PBEKeySpec(char[], byte[], int)): Likewise.
  11649. (PBEKeySpec(char[], byte[], int, int)): Likewise.
  11650. (clearPassword): Set passwordValid to false.
  11651. (getPassword): Check that clearPassword() was not called earlier.
  11652. Return a clone of the password.
  11653. (getSalt): Return a clone of the salt if it was not null.
  11654. 2006-07-07 Roman Kennke <kennke@aicas.com>
  11655. * java/awt/Component.java
  11656. (isValid): Always return false when component is
  11657. not showing.
  11658. (setFont): Always set font, even when setting
  11659. the same or equal font again.
  11660. 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
  11661. * javax/swing/plaf/metal/MetalIconFactory.java
  11662. (CheckBoxMenuItemIcon): Implement UIResource,
  11663. (FileChooserDetailViewIcon): Likewise,
  11664. (FileChooserHomeFolderIcon): Likewise,
  11665. (FileChooserListViewIcon): Likewise,
  11666. (FileChooserNewFolderIcon): Likewise,
  11667. (FileChooserUpFolderIcon): Removed redundant 'implements',
  11668. (RadioButtonMenuItemIcon): Implement UIResource,
  11669. (HorizontalSliderThumbIcon): Likewise,
  11670. (InternalFrameCloseIcon): Likewise,
  11671. (InternalFrameDefaultMenuIcon): Likewise,
  11672. (InternalFrameAltMaximizeIcon): Likewise,
  11673. (InternalFrameMaximizeIcon): Likewise,
  11674. (InternalFrameMinimizeIcon): Likewise,
  11675. (VerticalSliderThumbIcon): Likewise,
  11676. (TreeHardDriveIcon): Likewise,
  11677. (TreeFloppyDriveIcon): Likewise,
  11678. (TreeComputerIcon): Likewise,
  11679. (horizontalSliderThumbIcon): New field,
  11680. (verticalSliderThumbIcon): New field,
  11681. (getHorizontalSliderThumbIcon): Cache icon,
  11682. (getVerticalSliderThumbIcon): Likewise.
  11683. 2006-07-06 Mark Wielaard <mark@klomp.org>
  11684. * lib/Makefile.am (CLEANFILES): Add Makefile.deps.
  11685. (DISTCLEANFILES): Add standard.omit.
  11686. (clean-local): Remove Makefile.deps, only remove dirs.
  11687. 2006-07-06 Roman Kennke <kennke@aicas.com>
  11688. * java/awt/Component.java
  11689. (setFont): Only invalidate when component is valid.
  11690. * java/awt/Container.java
  11691. (setLayout): Only invalidate when component is valid.
  11692. 2006-07-06 Lillian Angel <langel@redhat.com>
  11693. * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
  11694. New class not fully implemented.
  11695. * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
  11696. New class not fully implemented.
  11697. * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
  11698. New class not fully implemented.
  11699. * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
  11700. New class not fully implemented.
  11701. * nu/java/awt/peer/gtk/GtkToolkit.java:
  11702. Fixed Imports.
  11703. (createDragSourceContextPeer): Implemented.
  11704. (createDragGestureRecognizer): New function to override
  11705. java.awt.Toolkit.createDragGestureRecognizer.
  11706. * java/awt/dnd/DragSource.java
  11707. (NoDragGestureRecognizer): Removed inner class.
  11708. (createDragGestureRecognizer): Re-Implemented to
  11709. call Toolkit's createDragGestureRecognizer.
  11710. (createDefaultDragGestureRecognizer): Re-Implemented to
  11711. call Toolkit's createDragGestureRecognizer.
  11712. * java/awt/dnd/DropTarget.java
  11713. (addNotify): Added check to determine type of peer and call
  11714. addDropTarget.
  11715. (removeNotify): Added call to removeDropTarget.
  11716. 2006-07-06 Tom Tromey <tromey@redhat.com>
  11717. * gnu/java/util/prefs/EventDispatcher.java (dispatch): Notify
  11718. 'queue'.
  11719. (run): Wait on queue, not 'this'.
  11720. 2006-07-06 Lillian Angel <langel@redhat.com>
  11721. * java/awt/dnd/DragSource.java
  11722. (startDrag): Implemented. Added comments describing
  11723. what the function should do. Removed FIXME.
  11724. 2006-07-06 Tania Bento <tbento@redhat.com>
  11725. * gnu/java/awt/Canvas.java
  11726. Added new private variable 'next_canvas_number'.
  11727. (generateName): Added.
  11728. (getUniqueLong): Added.
  11729. 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  11730. * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
  11731. (getColor): Made public.
  11732. * javax/swing/text/html/StyleSheet.java (stringToColor):
  11733. Use CharacterAttributeTranslator.getColor(String)
  11734. 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  11735. * javax/swing/text/html/HTMLEditorKit.java:
  11736. (HTMLFactory.createElement): Update reference to the html table view.
  11737. * javax/swing/text/html/HTMLTableView.java: Removed (renamed).
  11738. * javax/swing/text/html/TableView.java: New file.
  11739. 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  11740. * javax/swing/text/html/HTMLEditorKit.java:
  11741. (HTMLFactory.createElement): Uncomment
  11742. code for BRView and HRuleView.
  11743. * javax/swing/text/html/BRView.java,
  11744. javax/swing/text/html/HRuleView.java: New files.
  11745. 2006-07-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
  11746. * java/lang/Thread.java:
  11747. (getAllStackTraces(Map<Thread,StackTraceElement[]>)):
  11748. Added generic type signature.
  11749. 2006-07-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
  11750. * NEWS: Updated.
  11751. * doc/vmintegration.texinfo: Likewise.
  11752. * examples/gnu/classpath/examples/management/TestGarbageCollector.java,
  11753. * examples/gnu/classpath/examples/management/TestMemoryManager.java,
  11754. * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
  11755. * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
  11756. * java/lang/management/GarbageCollectorMXBean.java:
  11757. New files.
  11758. * java/lang/management/ManagementFactory.java:
  11759. (getGarbageCollectorMXBeans()): Implemented.
  11760. (getMemoryManagerMXBeans()): Likewise.
  11761. * vm/reference/gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
  11762. * vm/reference/gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java:
  11763. New files.
  11764. * vm/reference/java/lang/management/VMManagementFactory.java:
  11765. (getMemoryManagerNames()): Added.
  11766. (getGarbageCollectorNames()): Added.
  11767. 2006-07-05 Thomas Fitzsimmons <fitzsim@redhat.com>
  11768. * native/plugin/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
  11769. from lib_LTLIBRARIES.
  11770. (install-plugin): Depend on nativeexeclib_LTLIBRARIES.
  11771. 2006-07-05 Lillian Angel <langel@redhat.com>
  11772. * java/awt/dnd/DragGestureEvent.java:
  11773. Added new fields.
  11774. (DragGestureEvent): Initialized new fields, added to check and
  11775. added documentation.
  11776. (getSourceAsDragGestureRecognizer): Added documentation and
  11777. changed to use getSource.
  11778. (getComponent): Added documentation and fixed to return the proper
  11779. value.
  11780. (getDragSource): Likewise.
  11781. (getDragOrigin): Added documentation.
  11782. (iterator): Implemented and added documentation.
  11783. (toArray): Likewise.
  11784. (toArray): Likewise.
  11785. (getDragAction): Likewise.
  11786. (getTriggerEvent): Likewise.
  11787. (startDrag): Likewise.
  11788. * java/awt/dnd/DragGestureRecognizer.java
  11789. (resetRecognizer): Added FIXME.
  11790. * java/awt/dnd/DragSource.java:
  11791. Added new field.
  11792. (DragSource): Set ds to be null if headless.
  11793. (getDefaultDragSource): Added documentation and implemented.
  11794. (isDragImageSupported): Marked as unimplemented.
  11795. (startDrag): Likewise.
  11796. (createDragSourceContext): Implemented.
  11797. (NoDragGestureRecognizer): Formatted inner class.
  11798. * java/awt/dnd/DropTarget.java
  11799. (stop): Marked as unimplemented.
  11800. (actionPerformed): Likewise.
  11801. (addDropTargetListener): Added code to throw exception.
  11802. (removeDropTargetListener): Added check, removed FIXME.
  11803. (dragEnter): Implemented.
  11804. (dragOver): Implemented.
  11805. (dropActionChanged): Implemented.
  11806. (dragExit): Implemented.
  11807. (drop): Implemented.
  11808. (addNotify): Implemented.
  11809. (removeNotify): Implemented.
  11810. (createDropTargetContext): Implemented.
  11811. (createDropTargetAutoScroller): Implemented.
  11812. (initializeAutoscrolling): Implemented.
  11813. (updateAutoscroll): Implemented.
  11814. (clearAutoscroll): Implemented.
  11815. * java/awt/dnd/DropTargetContext.java
  11816. (dropComplete): Implemented.
  11817. (acceptDrag): Implemented.
  11818. (rejectDrag): Implemented.
  11819. (acceptDrop): Implemented.
  11820. (rejectDrop): Implemented.
  11821. (getCurrentDataFlavors): Implemented.
  11822. (getTransferable): Partially implemented.
  11823. * java/awt/dnd/DropTargetDragEvent.java
  11824. (getDropAction): Uncommented correct code.
  11825. * java/awt/dnd/DropTargetDropEvent.java
  11826. (dropComplete) :Implemented.
  11827. * java/awt/dnd/InvalidDnDOperationException.java
  11828. (InvalidDnDOperationException): Added call to super.
  11829. 2006-07-05 Robert Schuster <robertschuster@fsfe.org>
  11830. * javax/swing/plaf/basic/BasicArrowButton.java:
  11831. (paint): Removed getBounds() call, changed center point
  11832. calculation.
  11833. 2006-07-05 David Gilbert <david.gilbert@object-refinery.com>
  11834. * javax/swing/InputMap.java
  11835. (inputMap): Don't initialize yet,
  11836. (InputMap): Removed TODO,
  11837. (get): Check for null inputMap,
  11838. (put): Return immediately for null keyStroke, check for null inputMap
  11839. and initialize if necessary,
  11840. (remove): Check for null inputMap,
  11841. (size): Likewise,
  11842. (clear): Likewise,
  11843. (keys): Likewise,
  11844. (allKeys): Likewise,
  11845. (writeObject): Removed,
  11846. (readObject): Removed.
  11847. 2006-07-05 David Gilbert <david.gilbert@object-refinery.com>
  11848. * gnu/classpath/examples/swing/TabbedPaneDemo.java
  11849. (createContent): Use different labels for buttons.
  11850. 2006-07-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
  11851. * NEWS: Updated.
  11852. * doc/vmintegration.texinfo: Likewise.
  11853. * examples/gnu/classpath/examples/management/TestMemoryPool.java,
  11854. * gnu/java/lang/management/MemoryPoolMXBeanImpl.java:
  11855. New files.
  11856. * java/lang/management/ManagementFactory.java:
  11857. (getMemoryPoolMXBeans()): Implemented.
  11858. * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
  11859. * vm/reference/java/lang/management/VMManagementFactory.java:
  11860. New files.
  11861. 2006-07-04 Lillian Angel <langel@redhat.com>
  11862. * java/awt/dnd/DragSourceContext.java:
  11863. Removed FIXMEs from fields.
  11864. (DragSourceContext): Added code to initialize cursor and sourceActions.
  11865. (getDragSource): Added documentation.
  11866. (getComponent): Likewise.
  11867. (getTrigger): Likewise.
  11868. (getSourceActions): Added documentation and implemented.
  11869. (setCursor): Implemented. Added documentation.
  11870. (getCursor): Implemented. Added documentation.
  11871. (dragEnter): Added code to notify DragSource's listeners.
  11872. (dragOver): Likewise.
  11873. (dragExit): Likewise.
  11874. (dropActionChanged): Likewise.
  11875. (dragDropEnd): Likewise.
  11876. (dragMouseMoved): Implemented.
  11877. (getTransferable): Added API documentation.
  11878. (updateCurrentCursor): Added API documentation and partially implemented.
  11879. 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  11880. * javax/swing/plaf/basic/BasicTreeUI.java (KeyHandler): Implemented.
  11881. 2006-07-04 Lillian Angel <langel@redhat.com>
  11882. * java/awt/dnd/DragSourceContext.java
  11883. (DragSourceContext): Implemented fully. Fixed API docs.
  11884. (transferablesFlavorsChanged): Implemented.
  11885. (dragEnter): Implemented.
  11886. (dragOver): Implemented.
  11887. (dragExit): Implemented.
  11888. (dropActionChanged): Implemented.
  11889. (dragDropEnd): Implemented.
  11890. 2006-07-04 Lillian Angel <langel@redhat.com>
  11891. * javax/swing/plaf/basic/BasicOptionPaneUI.java:
  11892. Fixed name of constant.
  11893. (getIconWidth): Changed name of constant returned.
  11894. (getIconHeight): Likewise.
  11895. (paint): Likewise.
  11896. (createSeparator): Marked as unimplemented.
  11897. * javax/swing/plaf/basic/BasicTableUI.java
  11898. (focusGained): Marked as unimplemented.
  11899. (focusLost): Marked as unimplemented.
  11900. (mouseEntered): Likewise.
  11901. (mouseMoved): Likewise.
  11902. (uninstallDefaults): Likewise.
  11903. * javax/swing/plaf/basic/BasicToolBarUI.java
  11904. (mouseClicked): Changed comment.
  11905. (mouseEntered): Likewise.
  11906. (mouseExited): Likewise.
  11907. (mouseMoved): Likewise.
  11908. (setOrientation): Implemented.
  11909. (ToolBarFocusListener): Marked as unimplemented.
  11910. (focusGained): Marked as unimplemented.
  11911. (focusLost): Marked as unimplemented.
  11912. 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  11913. PR 28061
  11914. * javax/swing/plaf/basic/BasicTreeUI.java (isLocationInExpandControl):
  11915. Mind the effect of the root visibility on the position of the control.
  11916. Quess icon width 18. (paintVerticalPartOfLeg): Do no paint the
  11917. vertical line over first level nodes.
  11918. 2006-07-04 Lillian Angel <langel@redhat.com>
  11919. * javax/swing/plaf/basic/BasicMenuUI.java
  11920. (installKeyboardActions): Implemented to call super. Nothing else
  11921. needs to be done here.
  11922. (setupPostTimer): Marked as unimplemented.
  11923. (uninstallKeyboardActions): Implemented to call super. Nothing else
  11924. needs to be done here.
  11925. (mouseMoved): Removed TODO. Nothing to be done here.
  11926. (ChangeHandler): Implemented.
  11927. (menuDragMouseExited): Removed TODO. Nothing to be done here.
  11928. (menuDragMouseReleased): Removed TODO. Nothing to be done here.
  11929. (menuKeyReleased): Removed TODO. Nothing to be done here.
  11930. (menuKeyTyped): Marked as unimplemented.
  11931. 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  11932. PR 28061
  11933. * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
  11934. (getDefaults): Set hash color to black.
  11935. * javax/swing/plaf/basic/BasicLookAndFeel.java
  11936. (initComponentDefaults): Set hash color to grey blue.
  11937. * javax/swing/plaf/basic/BasicTreeUI.java
  11938. (instellDefaults): Set hash color.
  11939. * javax/swing/plaf/metal/MetalIconFactory.java
  11940. (TreeControlIcon.paint): Rewritten.
  11941. 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  11942. PR 28061
  11943. * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
  11944. Always cancel the current editing session before doing anything else,
  11945. return immediately if this fails.
  11946. (TreeHomeAction): Ensure that the lead selection path is visible after
  11947. the action is performed. TreeIncrementAction: Likewise. TreeToggleAction:
  11948. Likewise. TreeTraverseAction: Likewise.
  11949. 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  11950. PR 28061
  11951. * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
  11952. Returned back the code to handle the start of the click-pause-click
  11953. editing initiation, explained about this code.
  11954. (TreeStartEditingAction): New inner class.
  11955. (stopEditingInCompleteEditing): Explained about this field.
  11956. (completeEditing(boolean, boolean, boolean): Only return early
  11957. if there is no current editing session.
  11958. (createDefaultActions): Install TreeStartEditingAction and
  11959. TreeCancelEditingAction.
  11960. 2006-07-04 Mario Torre <neugens@limasoftware.net>
  11961. * configure.ac: Added new option --enable-default-preferences-peer
  11962. to pass user specified default preference backend.
  11963. If the GConf peer is built, GConf become the default backend.
  11964. * resource/META-INF/services/java.util.prefs.PreferencesFactory.in:
  11965. new file.
  11966. * lib/Makefile.am: excludes files terminating in 'in' from
  11967. the metafiles list.
  11968. * lib/copy-vmresources.sh.in: excludes files terminating in 'in'
  11969. from copy into META-INF.
  11970. * java/util/prefs/Preferences.java: added two new import
  11971. classes gnu.classpath.ServiceFactory and java.util.Iterator.
  11972. (getFactory): Now try to check for
  11973. a system defined default preference backend before to fall back on
  11974. FileBasedPreference.
  11975. 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  11976. PR 28061
  11977. * javax/swing/JTree.java (COLLAPSED): Initialise to Boolean.FALSE.
  11978. (EXPANDED): Initialise to Boolean.TRUE.
  11979. * javax/swing/plaf/basic/BasicTreeUI.java (completeUIInstall):
  11980. First configure layout cache and then set the assigned value
  11981. as row mapper. Set the root visibility property.
  11982. (toggleExpandState): Obtains expansion state from the layout cache.
  11983. 2006-07-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
  11984. * java/lang/management/MemoryPoolMXBean.java:
  11985. New file.
  11986. 2006-07-03 Raif S. Naffah <raif@swiftdsl.com.au>
  11987. * gnu/javax/crypto/RSACipherImpl.java: Source formatting.
  11988. 2006-07-03 Raif S. Naffah <raif@swiftdsl.com.au>
  11989. * gnu/javax/crypto/sasl/anonymous/AnonymousClient.java: Source formatting.
  11990. * gnu/javax/crypto/sasl/anonymous/AnonymousServer.java: Likewise.
  11991. * gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java: Likewise.
  11992. * gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java: Likewise.
  11993. * gnu/javax/crypto/sasl/crammd5/CramMD5Client.java: Likewise.
  11994. * gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java: Likewise.
  11995. * gnu/javax/crypto/sasl/crammd5/CramMD5Server.java: Likewise.
  11996. * gnu/javax/crypto/sasl/crammd5/CramMD5Util.java: Likewise.
  11997. * gnu/javax/crypto/sasl/crammd5/PasswordFile.java: Likewise.
  11998. * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
  11999. * gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java: Likewise.
  12000. * gnu/javax/crypto/sasl/plain/PlainClient.java: Likewise.
  12001. * gnu/javax/crypto/sasl/plain/PlainRegistry.java: Likewise.
  12002. * gnu/javax/crypto/sasl/plain/PlainServer.java: Likewise.
  12003. * gnu/javax/crypto/sasl/srp/CALG.java: Likewise.
  12004. * gnu/javax/crypto/sasl/srp/ClientStore.java: Likewise.
  12005. * gnu/javax/crypto/sasl/srp/IALG.java: Likewise.
  12006. * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
  12007. * gnu/javax/crypto/sasl/srp/PasswordFile.java: Likewise.
  12008. * gnu/javax/crypto/sasl/srp/SecurityContext.java: Likewise.
  12009. * gnu/javax/crypto/sasl/srp/ServerStore.java: Likewise.
  12010. * gnu/javax/crypto/sasl/srp/SRP.java: Likewise.
  12011. * gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java: Likewise.
  12012. * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
  12013. * gnu/javax/crypto/sasl/srp/SRPRegistry.java: Likewise.
  12014. * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
  12015. * gnu/javax/crypto/sasl/srp/StoreEntry.java: Likewise.
  12016. * gnu/javax/crypto/sasl/AuthInfo.java: Likewise.
  12017. * gnu/javax/crypto/sasl/AuthInfoProviderFactory.java: Likewise.
  12018. * gnu/javax/crypto/sasl/ClientFactory.java: Likewise.
  12019. * gnu/javax/crypto/sasl/ClientMechanism.java: Likewise.
  12020. * gnu/javax/crypto/sasl/ConfidentialityException.java: Likewise.
  12021. * gnu/javax/crypto/sasl/IAuthInfoProvider.java: Likewise.
  12022. * gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java: Likewise.
  12023. * gnu/javax/crypto/sasl/IllegalMechanismStateException.java: Likewise.
  12024. * gnu/javax/crypto/sasl/InputBuffer.java: Likewise.
  12025. * gnu/javax/crypto/sasl/IntegrityException.java: Likewise.
  12026. * gnu/javax/crypto/sasl/NoSuchMechanismException.java: Likewise.
  12027. * gnu/javax/crypto/sasl/NoSuchUserException.java: Likewise.
  12028. * gnu/javax/crypto/sasl/OutputBuffer.java: Likewise.
  12029. * gnu/javax/crypto/sasl/SaslEncodingException.java: Likewise.
  12030. * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
  12031. * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
  12032. * gnu/javax/crypto/sasl/SaslUtil.java: Likewise.
  12033. * gnu/javax/crypto/sasl/ServerFactory.java: Likewise.
  12034. * gnu/javax/crypto/sasl/ServerMechanism.java: Likewise.
  12035. * gnu/javax/crypto/sasl/UserAlreadyExistsException.java: Likewise.
  12036. 2006-07-02 Anthony Green <green@redhat.com>
  12037. * gnu/javax/sound/midi/file/MidiFileWriter.java (writeTrack): Make
  12038. sure that every track written ends with an End Of Track meta
  12039. message.
  12040. 2006-07-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
  12041. * java/lang/management/MemoryUsage.java:
  12042. (toString()): Fix missing MB for maximum memory usage.
  12043. 2006-07-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
  12044. * NEWS:
  12045. Updated to include VMCompilationMXBeanImpl.
  12046. * doc/vmintegration.texinfo:
  12047. Likewise, along with update to VMMemoryMXBeanImpl
  12048. as below.
  12049. * examples/gnu/classpath/examples/management/TestCompilation.java,
  12050. * gnu/java/lang/management/CompilationMXBeanImpl.java,
  12051. * java/lang/management/CompilationMXBeanImpl.java:
  12052. New files.
  12053. * java/lang/management/ManagementFactory.java:
  12054. (getCompilationMXBean()): Implemented.
  12055. * vm/reference/gnu/java/lang/management/VMCompilationMXBeanImpl.java:
  12056. New file.
  12057. * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
  12058. (getHeapMemoryUsage()): Added default implementation.
  12059. 2006-07-02 Anthony Green <green@redhat.com>
  12060. * NEWS: Mention MIDI file reader/writer providers.
  12061. 2006-07-02 Anthony Green <green@redhat.com>
  12062. * resource/META-INF/services/javax.sound.midi.spi.MidiFileWriter,
  12063. gnu/javax/sound/midi/file/MidiFileWriter.java,
  12064. gnu/javax/sound/midi/file/MidiDataOutputStream.java: New files.
  12065. 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
  12066. * NEWS:
  12067. Updated to include VMMemoryMXBeanImpl.
  12068. * doc/vmintegration.texinfo: Likewise.
  12069. * examples/gnu/classpath/examples/management/TestMemory.java:
  12070. New file.
  12071. * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
  12072. Remove redundant import.
  12073. * gnu/java/lang/management/MemoryMXBeanImpl.java:
  12074. New file.
  12075. * gnu/java/lang/management/ThreadMXBeanImpl.java:
  12076. Remove redundant import.
  12077. * java/lang/management/ManagementFactory.java:
  12078. (getMemoryMXBean()): Implemented.
  12079. * java/lang/management/MemoryMXBean.java,
  12080. * java/lang/management/MemoryUsage.java:
  12081. New files.
  12082. * java/lang/management/ThreadInfo.java:
  12083. (toString()): Updated documentation.
  12084. * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
  12085. New file.
  12086. 2006-07-01 Anthony Green <green@redhat.com>
  12087. * resource/META-INF/services/javax.sound.midi.spi.MidiFileReader,
  12088. gnu/javax/sound/midi/file/MidiFileReader.java,
  12089. gnu/javax/sound/midi/file/ExtendedMidiFileFormat.java,
  12090. gnu/javax/sound/midi/file/MidiDataInputStream.java: New files.
  12091. 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
  12092. * gnu/javax/crypto/prng/ARCFour.java: Source formatting.
  12093. * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
  12094. * gnu/javax/crypto/prng/Fortuna.java: Likewise.
  12095. * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
  12096. * gnu/javax/crypto/prng/PBKDF2.java: Likewise.
  12097. * gnu/javax/crypto/prng/PRNGFactory.java: Likewise.
  12098. * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
  12099. 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
  12100. * gnu/javax/crypto/pad/BasePad.java: Source formatting.
  12101. * gnu/javax/crypto/pad/IPad.java: Likewise.
  12102. * gnu/javax/crypto/pad/PadFactory.java: Likewise.
  12103. * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
  12104. * gnu/javax/crypto/pad/PKCS7.java: Likewise.
  12105. * gnu/javax/crypto/pad/SSL3.java: Likewise.
  12106. * gnu/javax/crypto/pad/TBC.java: Likewise.
  12107. * gnu/javax/crypto/pad/TLS1.java: Likewise.
  12108. * gnu/javax/crypto/pad/WrongPaddingException.java: Likewise.
  12109. 2006-07-01 Anthony Green <green@redhat.com>
  12110. * javax/sound/midi/SysexMessage.java (setMessage): Fix sysex
  12111. status byte test.
  12112. (setMessage): Fix it again, in a different setMessage method.
  12113. 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
  12114. * gnu/javax/crypto/mode/BaseMode.java: Source formatting.
  12115. * gnu/javax/crypto/mode/CBC.java: Likewise.
  12116. * gnu/javax/crypto/mode/CFB.java: Likewise.
  12117. * gnu/javax/crypto/mode/CTR.java: Likewise.
  12118. * gnu/javax/crypto/mode/EAX.java: Likewise.
  12119. * gnu/javax/crypto/mode/ECB.java: Likewise.
  12120. * gnu/javax/crypto/mode/IAuthenticatedMode.java: Likewise.
  12121. * gnu/javax/crypto/mode/ICM.java: Likewise.
  12122. * gnu/javax/crypto/mode/IMode.java: Likewise.
  12123. * gnu/javax/crypto/mode/ModeFactory.java: Likewise.
  12124. * gnu/javax/crypto/mode/OFB.java: Likewise.
  12125. 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
  12126. * gnu/javax/crypto/mac/BaseMac.java: Source formatting.
  12127. * gnu/javax/crypto/mac/HMac.java: Likewise.
  12128. * gnu/javax/crypto/mac/HMacFactory.java: Likewise.
  12129. * gnu/javax/crypto/mac/IMac.java: Likewise.
  12130. * gnu/javax/crypto/mac/MacFactory.java: Likewise.
  12131. * gnu/javax/crypto/mac/MacInputStream.java: Likewise.
  12132. * gnu/javax/crypto/mac/MacOutputStream.java: Likewise.
  12133. * gnu/javax/crypto/mac/OMAC.java: Likewise.
  12134. * gnu/javax/crypto/mac/TMMH16.java: Likewise.
  12135. * gnu/javax/crypto/mac/UHash32.java: Likewise.
  12136. * gnu/javax/crypto/mac/UMac32.java: Likewise.
  12137. 2006-07-01 Anthony Green <green@redhat.com>
  12138. * javax/sound/midi/Track.java (vector, eventSet): Initialize.
  12139. 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
  12140. * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Source formatting.
  12141. * gnu/javax/crypto/keyring/BaseKeyring.java: Likewise.
  12142. * gnu/javax/crypto/keyring/BinaryDataEntry.java: Likewise.
  12143. * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
  12144. * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
  12145. * gnu/javax/crypto/keyring/CompressedEntry.java: Likewise.
  12146. * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
  12147. * gnu/javax/crypto/keyring/Entry.java: Likewise.
  12148. * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
  12149. * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
  12150. * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
  12151. * gnu/javax/crypto/keyring/IKeyring.java: Likewise.
  12152. * gnu/javax/crypto/keyring/IPrivateKeyring.java: Likewise.
  12153. * gnu/javax/crypto/keyring/IPublicKeyring.java: Likewise.
  12154. * gnu/javax/crypto/keyring/MalformedKeyringException.java: Likewise.
  12155. * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java: Likewise.
  12156. * gnu/javax/crypto/keyring/MeteredInputStream.java: Likewise.
  12157. * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
  12158. * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
  12159. * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
  12160. * gnu/javax/crypto/keyring/PrimitiveEntry.java: Likewise.
  12161. * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Likewise.
  12162. * gnu/javax/crypto/keyring/Properties.java: Likewise.
  12163. * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
  12164. 2006-07-01 David Gilbert <david.gilbert@object-refinery.com>
  12165. * javax/swing/AbstractCellEditor.java: Source code formatting,
  12166. * javax/swing/AbstractSpinnerModel.java: Likewise,
  12167. * javax/swing/Box.java: Likewise,
  12168. * javax/swing/BoxLayout.java: Likewise,
  12169. * javax/swing/DefaultListModel.java: Likewise,
  12170. * javax/swing/GrayFilter.java: Likewise,
  12171. * javax/swing/LookAndFeel.java: Likewise,
  12172. * javax/swing/ProgressMonitor.java: Likewise,
  12173. * javax/swing/ProgressMonitorInputStream.java: Likewise,
  12174. * javax/swing/ScrollPaneLayout.java: Likewise,
  12175. * javax/swing/SpringLayout.java: Likewise,
  12176. * javax/swing/event/EventListenerList.java: Likewise,
  12177. * javax/swing/event/MenuEvent.java: Likewise,
  12178. * javax/swing/event/TreeExpansionListener.java: Likewise.
  12179. 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
  12180. * NEWS:
  12181. Mention threading bean and getState().
  12182. * doc/vmintegration.texinfo:
  12183. Update documentation for threading bean and new
  12184. method of VMThread.
  12185. 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
  12186. * examples/gnu/classpath/examples/management/TestClassLoading.java,
  12187. * examples/gnu/classpath/examples/management/TestOS.java,
  12188. * examples/gnu/classpath/examples/management/TestRuntime.java,
  12189. * examples/gnu/classpath/examples/management/TestThread.java:
  12190. New files.
  12191. 2006-07-01 Jeroen Frijters <jeroen@frijters.net>
  12192. * java/lang/ThreadGroup.java
  12193. (getThreadFromId, getThreadFromIdImpl): New methods.
  12194. 2006-07-01 Jeroen Frijters <jeroen@frijters.net>
  12195. * java/lang/Thread.java:
  12196. Make thread IDs start from 1 in a more efficient way.
  12197. 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
  12198. * java/lang/Thread.java:
  12199. Make thread IDs start from 1.
  12200. 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
  12201. * gnu/java/lang/management/BeanImpl.java:
  12202. New superclass for all bean implementations.
  12203. * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
  12204. Extend BeanImpl and call permission code there.
  12205. * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
  12206. Extend BeanImpl.
  12207. * gnu/java/lang/management/RuntimeMXBeanImpl.java:
  12208. Extend BeanImpl and call permission code there.
  12209. * gnu/java/lang/management/ThreadMXBeanImpl.java:
  12210. New file.
  12211. * java/lang/management/ManagementFactory.java:
  12212. (getThreadMXBean()): Implemented.
  12213. * java/lang/management/ThreadInfo.java:
  12214. (ThreadInfo(Thread,int)): Replaced...
  12215. (ThreadInfo(Thread,long,long,Object,Thread,long,long,
  12216. boolean, boolean, StackTraceElement[])): with this.
  12217. (getBlockedCount()): Refactored to use local variables.
  12218. (getBlockedTime()): Likewise.
  12219. (getLockName()): Likewise.
  12220. (getLockOwnerId()): Likewise.
  12221. (getLockOwnerName()): Likewise.
  12222. (getStackTrace()): Likewise.
  12223. (getWaitedCount()): Likewise.
  12224. (getWaitedTime()): Likewise.
  12225. (isInNative()): Likewise.
  12226. (isSuspended()): Likewise.
  12227. (toString()): Changed to use new local variables.
  12228. * java/lang/management/ThreadMXBean.java:
  12229. (getThreadInfo(long, int)): Corrected documentation.
  12230. (getThreadInfo(long[], int)): Likewise.
  12231. * vm/reference/gnu/java/lang/management/VMThreadMXBeanImpl.java:
  12232. New file.
  12233. * vm/reference/java/lang/management/VMThreadInfo.java:
  12234. Removed.
  12235. 2006-07-01 Raif S. Naffah <raif@swiftdsl.com.au>
  12236. * gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java: Source formatting.
  12237. * gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java: Likewise.
  12238. * gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java: Likewise.
  12239. * gnu/javax/crypto/key/dh/DiffieHellmanSender.java: Likewise.
  12240. * gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java: Likewise.
  12241. * gnu/javax/crypto/key/dh/ElGamalReceiver.java: Likewise.
  12242. * gnu/javax/crypto/key/dh/ElGamalSender.java: Likewise.
  12243. * gnu/javax/crypto/key/dh/GnuDHKey.java: Likewise.
  12244. * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
  12245. * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java: Likewise.
  12246. * gnu/javax/crypto/key/dh/GnuDHPublicKey.java: Likewise.
  12247. * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
  12248. * gnu/javax/crypto/key/srp6/SRP6Host.java: Likewise.
  12249. * gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java: Likewise.
  12250. * gnu/javax/crypto/key/srp6/SRP6SaslClient.java: Likewise.
  12251. * gnu/javax/crypto/key/srp6/SRP6SaslServer.java: Likewise.
  12252. * gnu/javax/crypto/key/srp6/SRP6TLSClient.java: Likewise.
  12253. * gnu/javax/crypto/key/srp6/SRP6TLSServer.java: Likewise.
  12254. * gnu/javax/crypto/key/srp6/SRP6User.java: Likewise.
  12255. * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Likewise.
  12256. * gnu/javax/crypto/key/srp6/SRPKey.java: Likewise.
  12257. * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
  12258. * gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java: Likewise.
  12259. * gnu/javax/crypto/key/srp6/SRPPrivateKey.java: Likewise.
  12260. * gnu/javax/crypto/key/srp6/SRPPublicKey.java: Likewise.
  12261. * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
  12262. * gnu/javax/crypto/key/GnuSecretKey.java: Likewise.
  12263. * gnu/javax/crypto/key/IKeyAgreementParty.java: Likewise.
  12264. * gnu/javax/crypto/key/IncomingMessage.java: Likewise.
  12265. * gnu/javax/crypto/key/KeyAgreementException.java: Likewise.
  12266. * gnu/javax/crypto/key/KeyAgreementFactory.java: Likewise.
  12267. * gnu/javax/crypto/key/OutgoingMessage.java: Likewise.
  12268. 2006-07-01 Roman Kennke <kennke@aicas.com>
  12269. * gnu/java/awt/java2d/AbstractGraphics2D.java
  12270. (transform): Make field protected.
  12271. (getDestinationRaster): Provide default implementation for
  12272. previously abstract method.
  12273. 2006-06-30 Tania Bento <tbento@redhat.com>
  12274. * java/awt/TextArea.java
  12275. (TextArea(String, int, int, int)): No longer throws
  12276. IllegalArgumentException if rows, columns, or scrollbarVisibility
  12277. values are invalid.
  12278. (TextArea(String, int, int, int)): If rows or columns are < 0,
  12279. they get set to 0. If scrollbarVisibility is < 0 or > 4, it
  12280. gets set to the default value of 0 (SCROLLBARS_BOTH).
  12281. (appendText): Added case when peer = null.
  12282. (insertText): Added case when peer == null.
  12283. (replaceText): Added case when peer == null.
  12284. * java/awt/TextComponent.java
  12285. (TextComponent(String)): If text == null, set it to "".
  12286. 2006-06-30 Lillian Angel <langel@redhat.com>
  12287. * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
  12288. (create): Added synchronized block around groupMap.get calls.
  12289. (setCheckboxGroup): Likewise.
  12290. 2006-06-30 Lillian Angel <langel@redhat.com>
  12291. * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
  12292. (create): Changed to be non-synchronized.
  12293. (setLabel): Likewise.
  12294. (setCheckboxGroup): Likewise.
  12295. (addToGroupMap): Likewise. Added synchronized block around
  12296. code.
  12297. (dispose): Changed to be non-synchronized.
  12298. 2006-06-30 Lillian Angel <langel@redhat.com>
  12299. * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
  12300. Changed all return values of native functions to void.
  12301. (create): Changed function to be synchronized. Removed
  12302. call to put value in groupMap, this is now done from
  12303. the native code.
  12304. (setState): Changed function to be synchronized.
  12305. (setLabel): Changed function to be synchronized.
  12306. (setCheckboxGroup): Changed function to be synchronized. Removed
  12307. call to put value in groupMap, this is now done from
  12308. the native code.
  12309. (postItemEvent): Changed function to be synchronized.
  12310. (addToGroupMap): New function. Called by native code to add
  12311. new value to the group.
  12312. (dispose): Changed function to be synchronized.
  12313. * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Updated
  12314. all functions.
  12315. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
  12316. (cp_gtk_checkbox_init_jni): Added code to link to
  12317. java function.
  12318. (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
  12319. Changed return value to void. Added call
  12320. to java function to set pointer in groupMap.
  12321. (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addtoGroup): Likewise. Also,
  12322. changed check to an assert. Also, removed call to set/del pointer.
  12323. (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup):
  12324. Likewise. Also, added check to determine if native_group should be
  12325. set to NULL.
  12326. (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): Likewise.
  12327. 2006-06-30 Sven de Marothy <sven@physto.se>
  12328. * gnu/java/awt/ClasspathToolkit.java,
  12329. * gnu/java/awt/peer/x/XToolkit.java,
  12330. * gnu/java/awt/peer/qt/QtToolkit.java,
  12331. * gnu/java/awt/peer/gtk/GtkToolkit.java,
  12332. Remove ClasspathTextLayoutPeer.
  12333. * gnu/java/awt/peer/gtk/GdkTextLayout.java,
  12334. * gnu/java/awt/peer/ClasspathTextLayoutPeer:
  12335. Files removed.
  12336. 2006-06-30 Sven de Marothy <sven@physto.se>
  12337. * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
  12338. (drawGlyphVector): Don't draw empty vectors.
  12339. 2006-06-30 Lillian Angel <langel@redhat.com>
  12340. Tom Fitzsimmons <fitzsim@redhat.com>
  12341. * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed class.
  12342. * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
  12343. Added current_group, groupMap fields. Added definitions for
  12344. new native functions.
  12345. (create): Removed FIXME. Added code to create the check button or
  12346. radio button when appropriate. Updated groupMap to contain
  12347. pointer to the newly created group.
  12348. (setCheckboxGroup): Added code to handle all cases. Removing
  12349. a button from a group, adding a button to a group, or changing the
  12350. group of a button.
  12351. (dispose): Changed to call super.
  12352. * include/Makefile.am: Removed reference to
  12353. gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h.
  12354. * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed file.
  12355. * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Added definitions
  12356. for new functions.
  12357. * native/jni/gtk-peer/Makefile.am: Removed reference to
  12358. gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c.
  12359. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
  12360. Removed file.
  12361. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
  12362. (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_combobox_get_widget):
  12363. Renamed to checkbox_get_widget.
  12364. (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals):
  12365. Changed to use checkbox_get_widget.
  12366. (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeSetCheckboxGroup):
  12367. Removed.
  12368. (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkWidgetModifyFont):
  12369. Changed to use checkbox_get_widget.
  12370. (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkButtonSetLabel):
  12371. Likewise.
  12372. (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createCheckButton):
  12373. New function. Creates checkbutton without a group.
  12374. (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
  12375. Creates a radio button in a group, using groupPointer. If groupPointer
  12376. is 0, then a new group is created.
  12377. (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addToGroup): Adds the
  12378. check button to a group, using groupPointer. A radio button is created
  12379. in its place. If groupPointer is 0, then a new group is created.
  12380. (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): The
  12381. radio button is removed from the group. A check button is created in
  12382. its place.
  12383. (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): The
  12384. radio button is moved to a new group.
  12385. 2006-06-30 Mark Wielaard <mark@klomp.org>
  12386. * configure.ac: Move standard.omit creation after dirs are created.
  12387. Cat standard.omit.in from srcdir. Make exclude regex more explicit.
  12388. * lib/Makefile.am (EXTRA_DIST): Add standard.omit.in.
  12389. (clean-local): Remove standard.omit.
  12390. * lib/gen-classlist.sh.in: Use omit file in build dir.
  12391. * lib/standard.omit.in: Make exclude regex more explicit.
  12392. 2006-06-30 Roman Kennke <kennke@aicas.com>
  12393. * lib/Makefile.am: Added Escher dir/jar to classpath when
  12394. requested.
  12395. * configure.ac: Moved handling of standard.omit to a place
  12396. where it actually gets executed.
  12397. 2006-06-30 David Gilbert <david.gilbert@object-refinery.com>
  12398. * java/awt/TextComponent.java: Reformatted source code,
  12399. * java/awt/TextField.java: Likewise.
  12400. 2006-06-29 Jeroen Frijters <jeroen@sumatra.nl>
  12401. * java/lang/Thread.java:
  12402. (getState()): Handle case of no VMThread
  12403. correctly.
  12404. 2006-06-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
  12405. * java/lang/Thread.java,
  12406. * java/lang/VMThread.java:
  12407. Reverted patch from 2006-06-28.
  12408. 2006-06-29 Roman Kennke <kennke@aicas.com>
  12409. * gnu/java/awt/peer/x/GLGraphics.java,
  12410. * gnu/java/awt/peer/x/ImageConverter.java,
  12411. * gnu/java/awt/peer/x/KeyboardMapping.java,
  12412. * gnu/java/awt/peer/x/XEventPump.java,
  12413. * gnu/java/awt/peer/x/XFontPeer.java,
  12414. * gnu/java/awt/peer/x/XFontPeer2.java,
  12415. * gnu/java/awt/peer/x/XFramePeer.java,
  12416. * gnu/java/awt/peer/x/XGraphics.java,
  12417. * gnu/java/awt/peer/x/XGraphics2D.java,
  12418. * gnu/java/awt/peer/x/XGraphicsConfiguration.java,
  12419. * gnu/java/awt/peer/x/XGraphicsDevice.java,
  12420. * gnu/java/awt/peer/x/XGraphicsEnvironment.java,
  12421. * gnu/java/awt/peer/x/XImage.java,
  12422. * gnu/java/awt/peer/x/XLightweightPeer.java,
  12423. * gnu/java/awt/peer/x/XToolkit.java,
  12424. * gnu/java/awt/peer/x/XWindowPeer.java,
  12425. * gnu/java/awt/peer/x/fonts.properties: New files.
  12426. * lib/standard.omit: Removed.
  12427. * lib/standard.omit.in: Added.
  12428. * configure.ac: Added configure option --with-escher. Added some
  12429. configury for omitting gnu.java.awt.peer.x package when
  12430. this option is not specified.
  12431. 2006-06-29 David Gilbert <david.gilbert@object-refinery.com>
  12432. * javax/swing/JComponent.java
  12433. (JComponent()): Initialize the locale here, not the default locale,
  12434. (getDefaultLocale): If null, return Locale.getDefault(),
  12435. (setDefaultLocale): Added API docs.
  12436. 2006-06-29 Tania Bento <tbento@redhat.com>
  12437. * java/awt/Container.java
  12438. (applyComponentOrientation): Implemented method.
  12439. 2006-06-29 Gary Benson <gbenson@redhat.com>
  12440. * java/io/File.java (listRoots): Merge security checks from libgcj.
  12441. 2006-06-29 Gary Benson <gbenson@redhat.com>
  12442. * java/io/FilePermission.java (implies): Work when path is "/".
  12443. 2006-06-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
  12444. * java/lang/Thread.java:
  12445. (Thread(ThreadGroup,Runnable,String,long)): Update
  12446. state.
  12447. (Thread(VMThread,String,int,boolean)): Likewise.
  12448. (join(long,int)): Likewise.
  12449. (resume()): Likewise.
  12450. (sleep(long,int)): Likewise.
  12451. (start()): Likewise.
  12452. (stop()): Likewise.
  12453. (suspend()): Likewise.
  12454. (die()): Likewise.
  12455. (getState()): Return either state or use VMThread.
  12456. * java/lang/VMThread.java:
  12457. (getState()): Added default implementation to return
  12458. thread.state
  12459. 2006-06-28 Andreas Tobler <a.tobler@schweiz.ch>
  12460. * gnu/java/awt/peer/gtk/CairoSurface.java: Swap the data from the
  12461. GdkPixbuf correctly on big endian systems. Fix a typo in the little
  12462. endian swapping code.
  12463. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
  12464. (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Swap the pixeldata
  12465. without alpha information correctly on big endian systems.
  12466. 2006-06-28 Roman Kennke <kennke@aicas.com>
  12467. * gnu/java/net/local/LocalSocket.java
  12468. (setSoTimeout): Don't throw exception and ignore request.
  12469. (getSoTimeout): Don't throw exception and always return 0.
  12470. 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
  12471. * javax/swing/JComponent.java
  12472. (getRegisteredKeyStrokes): Implemented.
  12473. 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
  12474. * javax/swing/JComponent.java
  12475. (verifyInputWhenFocusTarget): Initialise to true.
  12476. 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
  12477. * java/beans/VetoableChangeSupport.java
  12478. (addVetoableChangeListener(VetoableChangeListener)): Do nothing for
  12479. null listener,
  12480. (addVetoableChangeListener(String, VetoableChangeListener)): Do nothing
  12481. for null property name and/or listener,
  12482. * javax/swing/JComponent.java
  12483. (getListeners): Handle VetoableChangeListener.class as a special case,
  12484. (getVetoableChangeListeners): Fetch these from the
  12485. vetoableChangeSupport object.
  12486. 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
  12487. * javax/swing/JComponent.java
  12488. (componentPopupMenu): New field,
  12489. (inheritsPopupMenu): New field,
  12490. (getInheritsPopupMenu): Implemented,
  12491. (setInheritsPopupMenu): Likewise,
  12492. (getComponentPopupMenu): Likewise,
  12493. (setComponentPopupMenu): Likewise,
  12494. * javax/swing/JLabel.java
  12495. (JLabel(String, Icon, int)): Set inheritsPopupMenu to true.
  12496. 2006-06-28 Raif S. Naffah <raif@swiftdsl.com.au>
  12497. * gnu/javax/crypto/key/dh/GnuDHPublicKey.java (str): New field.
  12498. (toString): New method.
  12499. * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (str): New field.
  12500. (toString): New method.
  12501. * gnu/javax/crypto/key/dh/GnuDHKey.java (str): New field.
  12502. (toString): New method.
  12503. * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java (encodePrivateKey):
  12504. Handle case when Q is null.
  12505. (decodePrivateKey): Likewise.
  12506. * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java (encodePublicKey):
  12507. Likewise.
  12508. (decodePublicKey): Likewise.
  12509. * gnu/javax/crypto/jce/GnuCrypto.java (run): Added AlgorithmParameters
  12510. aliases for all block ciphers.
  12511. * gnu/javax/crypto/jce/DiffieHellmanImpl.java (result): Changed to byte[].
  12512. (engineDoPhase): Compute fully the shared secret.
  12513. (checkState): New method.
  12514. (reset): Likewise.
  12515. (engineGenerateSecret()): Reset key-agreement before returning.
  12516. (engineGenerateSecret(byte[],int)): Check for short-buffer.
  12517. Reset key-agreement before returning.
  12518. (engineGenerateSecret(String)): Reset key-agreement before returning.
  12519. (engineInit(Key,SecureRandom)): Call reset() before returning.
  12520. * gnu/javax/crypto/jce/params/BlockCipherParameters.java (log): New field.
  12521. (engineInit): Replace printing to System.out with conditional logging.
  12522. * gnu/javax/crypto/jce/cipher/CipherAdapter.java (engineInitHandler):
  12523. When the key-size is not specified, attempt best effort to find a suitable
  12524. value among those advertised by the cipher before setting it to the length
  12525. of provided key material.
  12526. 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
  12527. * javax/swing/table/DefaultTableColumnModel.java
  12528. (changeEvent): Don't initialize yet, removed FIXME,
  12529. (fireColumnModelChanged): Initialize changeEvent if necessary.
  12530. 2006-06-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
  12531. * java/lang/Thread.java:
  12532. (getAllStackTraces()): Implemented.
  12533. (getStackTrace()): Likewise.
  12534. 2006-06-27 Tania Bento <tbento@redhat.com>
  12535. * java/awt/Component.java
  12536. (setComponentOrientation): NPE should not be thrown.
  12537. 2006-06-27 Tom Tromey <tromey@redhat.com>
  12538. * configure.ac: Create gjar, gnative2ascii, gserialver.
  12539. * tools/gappletviewer.in: Quote $@.
  12540. * tools/gkeytool.in: Likewise.
  12541. * tools/gjarsigner.in: Likewise.
  12542. * tools/gjar.in: New file.
  12543. * tools/gnative2ascii.in: Likewise.
  12544. * tools/gserialver.in: Likewise.
  12545. * tools/Makefile.am (bin_PROGRAMS): Added gjar, gnative2ascii,
  12546. gserialver.
  12547. (bin_SCRIPTS): Likewise.
  12548. 2006-06-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
  12549. * java/lang/management/ThreadMXBean.java:
  12550. (getThreadInfo(long[])): Corrected return type.
  12551. (getThreadInfo(long[], int)): Likewise.
  12552. 2006-06-27 Mark Wielaard <mark@klomp.org>
  12553. * java/awt/datatransfer/Clipboard.java (addFlavorListener): Do
  12554. nothing when listener is null.
  12555. (removeFlavorListener): Likewise.
  12556. * java/awt/datatransfer/DataFlavor.java
  12557. (getRepresentationClassFromMime): Renamed to
  12558. getRepresentationClassFromMimeThrows.
  12559. (isRepresentationClassInputStream): Use Class.isAssignableFrom().
  12560. (isRepresentationClassSerializable): Likewise.
  12561. (isFlavorJavaFileListType): Likewise and check primary and
  12562. subtype.
  12563. (getParameter): Parameters are separated by semi-colons.
  12564. (DataFlavor(Class,String,String)): Do some sanity checks.
  12565. (DataFlavor(String,String,ClassLoader)): Call
  12566. getRepresentationClassFromMimeThrows.
  12567. (DataFlavor(String)): Likewise.
  12568. (equals(DataFlavor)): Special case primary type text and charset
  12569. parameter.
  12570. 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
  12571. * java/awt/Component.java
  12572. (setName): Fire required PropertyChangeEvent,
  12573. * java/awt/Label.java
  12574. (getText): Removed redundant brackets,
  12575. (generateName): New method (override),
  12576. (nextLabelNumber): New field,
  12577. (getUniqueLong): New method.
  12578. 2006-06-27 Roman Kennke <kennke@aicas.com>
  12579. * gnu/java/awt/peer/swing/SwingComponentPeer.java
  12580. (createImage): Delegate this to the parent.
  12581. (handleEvent): Only handle PAINT/UPDATE events when the
  12582. component is actually showing.
  12583. (hide): Repaint the parent after hiding a component.
  12584. (prepareImage): Have only one return point.
  12585. (setVisible): Delegate to show() and hide().
  12586. (createVolatileImage): Added null check to avoid NPE.
  12587. 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
  12588. * java/awt/Label.java: Reformatted source code.
  12589. 2006-06-27 Roman Kennke <kennke@aicas.com>
  12590. * java/awt/image/BufferedImage.java
  12591. (getSource): Use a fixed DirectColorModel to deliver the
  12592. RGB pixels to the ImageConsumer.
  12593. 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
  12594. * java/awt/Point.java
  12595. (setLocation(double, double)): Round to nearest integer coordinates.
  12596. 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
  12597. * java/awt/Component.java
  12598. (minSizeSet): New field,
  12599. (maxSize): Likewise,
  12600. (maxSizeSet): Likewise,
  12601. (isMaximumSizeSet): Implemented,
  12602. (isMinimumSizeSet): Likewise,
  12603. (isPreferredSizeSet): Likewise,
  12604. (setMaximumSize): Likewise,
  12605. (setMinimumSize): Likewise,
  12606. (setPreferredSize): Likewise.
  12607. 2006-06-27 Roman Kennke <kennke@aicas.com>
  12608. * javax/imageio/spi/IIORegistry.java
  12609. (IIORegistry): Added BMP codec.
  12610. 2006-06-27 Mark Wielaard <mark@klomp.org>
  12611. * javax/swing/JComponent.java
  12612. (firePropertyChange(String,char,char)): New override method.
  12613. 2006-06-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
  12614. * java/lang/Thread.java:
  12615. (getState()): New method.
  12616. * java/lang/management/ClassLoadingMXBean.java:
  12617. Corrected class documentation.
  12618. * java/lang/management/ManagementFactory.java:
  12619. Added new temporary marked stub to get thread bean.
  12620. * java/lang/management/OperatingSystemMXBean.java:
  12621. Corrected class documentation.
  12622. * java/lang/management/RuntimeMXBean.java:
  12623. Corrected class documentation.
  12624. * java/lang/management/ThreadInfo.java,
  12625. * java/lang/management/ThreadMXBean.java:
  12626. New classes.
  12627. * vm/reference/java/lang/VMThread.java:
  12628. (getState()): New method.
  12629. * vm/reference/java/lang/management/VMThreadInfo.java:
  12630. New VM class.
  12631. 2006-06-26 Sven de Marothy <sven@physto.se>
  12632. * gnu/javax/imageio/gif/GIFFile.java
  12633. * gnu/javax/imageio/gif/GIFImageReader.java
  12634. * gnu/javax/imageio/gif/GIFImageSpi.java
  12635. * gnu/javax/imageio/gif/GIFStream.java
  12636. New files.
  12637. * javax/imageio/spi/IIORegistry.java: Load new GIF decoder plugin.
  12638. 2006-06-26 Tania Bento <tbento@redhat.com>
  12639. * java/awt/List.java
  12640. (List): A list should have at least 4 visible rows.
  12641. (replaceItem): Should throw an ArrayIndexOutOfBoundsException,
  12642. not an IllegalArgumentException.
  12643. (makeVisible): Should not throw an IllegalArgumentException if
  12644. the specified index is out of range.
  12645. 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
  12646. * javax/swing/JList.java
  12647. (getNextMatch): Reimplemented to perform a circular search for the
  12648. matching item.
  12649. 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
  12650. * javax/swing/JList.java
  12651. (init): Set default value for visibleRowCount to 8,
  12652. (setVisibleRowCount): Fire PropertyChangeEvent when value changes.
  12653. 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
  12654. * javax/swing/JList.java
  12655. (valueIsAdjusting): Removed,
  12656. (init): Removed initialization of valueIsAdjusting field,
  12657. (getValueIsAdjusting): Fetch value from selection model,
  12658. (setValueIsAdjusting): Store value in selection model.
  12659. 2006-06-26 Roman Kennke <kennke@aicas.com>
  12660. * javax/swing/plaf/basic/BasicListUI.java
  12661. (installKeyboardActions): Rewritten to fit with the
  12662. ActionMap/InputMap architecture.
  12663. (uninstallKeyboardActions): Implemented.
  12664. (ListAction): Made private. Added TODO for splitting
  12665. up this bulk Action.
  12666. (ListAction.ListAction): New constructor. This one
  12667. takes a cmd parameter to be installed as actionCommand.
  12668. 2006-06-26 Raif S. Naffah <raif@swiftdsl.com.au>
  12669. * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Remove RCS Revision.
  12670. * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
  12671. 2006-06-26 Raif S. Naffah <raif@swiftdsl.com.au>
  12672. * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Source formatting.
  12673. * gnu/javax/crypto/jce/GnuSasl.java: Likewise.
  12674. * gnu/javax/crypto/jce/GnuCrypto.java: Likewise.
  12675. * gnu/javax/crypto/jce/DiffieHellmanImpl.java: Likewise.
  12676. * gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java: Likewise.
  12677. * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Likewise.
  12678. * gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java: Likewise.
  12679. * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
  12680. * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
  12681. * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
  12682. * gnu/javax/crypto/jce/prng/FortunaImpl.java: Likewise.
  12683. * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
  12684. * gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java: Likewise.
  12685. * gnu/javax/crypto/jce/params/DERWriter.java: Likewise.
  12686. * gnu/javax/crypto/jce/params/DERReader.java: Likewise.
  12687. * gnu/javax/crypto/jce/params/DEREncodingException.java: Likewise.
  12688. * gnu/javax/crypto/jce/params/BlockCipherParameters.java: Likewise.
  12689. * gnu/javax/crypto/jce/mac/UMac32Spi.java: Likewise.
  12690. * gnu/javax/crypto/jce/mac/UHash32Spi.java: Likewise.
  12691. * gnu/javax/crypto/jce/mac/TMMH16Spi.java: Likewise.
  12692. * gnu/javax/crypto/jce/mac/OMacTwofishImpl.java: Likewise.
  12693. * gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java: Likewise.
  12694. * gnu/javax/crypto/jce/mac/OMacSquareImpl.java: Likewise.
  12695. * gnu/javax/crypto/jce/mac/OMacSerpentImpl.java: Likewise.
  12696. * gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java: Likewise.
  12697. * gnu/javax/crypto/jce/mac/OMacKhazadImpl.java: Likewise.
  12698. * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
  12699. * gnu/javax/crypto/jce/mac/OMacDESImpl.java: Likewise.
  12700. * gnu/javax/crypto/jce/mac/OMacCast5Impl.java: Likewise.
  12701. * gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java: Likewise.
  12702. * gnu/javax/crypto/jce/mac/OMacAnubisImpl.java: Likewise.
  12703. * gnu/javax/crypto/jce/mac/MacAdapter.java: Likewise.
  12704. * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java: Likewise.
  12705. * gnu/javax/crypto/jce/mac/HMacTigerSpi.java: Likewise.
  12706. * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java: Likewise.
  12707. * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java: Likewise.
  12708. * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java: Likewise.
  12709. * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java: Likewise.
  12710. * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java: Likewise.
  12711. * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java: Likewise.
  12712. * gnu/javax/crypto/jce/mac/HMacMD5Spi.java: Likewise.
  12713. * gnu/javax/crypto/jce/mac/HMacMD4Spi.java: Likewise.
  12714. * gnu/javax/crypto/jce/mac/HMacMD2Spi.java: Likewise.
  12715. * gnu/javax/crypto/jce/mac/HMacHavalSpi.java: Likewise.
  12716. * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
  12717. * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
  12718. * gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java: Likewise.
  12719. * gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java: Likewise.
  12720. * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
  12721. * gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java: Likewise.
  12722. * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
  12723. * gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java: Likewise.
  12724. * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
  12725. * gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java: Likewise.
  12726. * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
  12727. * gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java: Likewise.
  12728. * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
  12729. * gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java: Likewise.
  12730. * gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java: Likewise.
  12731. * gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java: Likewise.
  12732. * gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java: Likewise.
  12733. * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
  12734. * gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java: Likewise.
  12735. * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
  12736. * gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java: Likewise.
  12737. * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
  12738. * gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java: Likewise.
  12739. * gnu/javax/crypto/jce/cipher/TwofishSpi.java: Likewise.
  12740. * gnu/javax/crypto/jce/cipher/TripleDESSpi.java: Likewise.
  12741. * gnu/javax/crypto/jce/cipher/SquareSpi.java: Likewise.
  12742. * gnu/javax/crypto/jce/cipher/SerpentSpi.java: Likewise.
  12743. * gnu/javax/crypto/jce/cipher/RijndaelSpi.java: Likewise.
  12744. * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
  12745. * gnu/javax/crypto/jce/cipher/NullCipherSpi.java: Likewise.
  12746. * gnu/javax/crypto/jce/cipher/KhazadSpi.java: Likewise.
  12747. * gnu/javax/crypto/jce/cipher/DESSpi.java: Likewise.
  12748. * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
  12749. * gnu/javax/crypto/jce/cipher/Cast5Spi.java: Likewise.
  12750. * gnu/javax/crypto/jce/cipher/BlowfishSpi.java: Likewise.
  12751. * gnu/javax/crypto/jce/cipher/ARCFourSpi.java: Likewise.
  12752. * gnu/javax/crypto/jce/cipher/AnubisSpi.java: Likewise.
  12753. * gnu/javax/crypto/jce/cipher/AESSpi.java: Likewise.
  12754. 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
  12755. * javax/swing/JList.java
  12756. (setLayoutOrientation): Check for valid argument.
  12757. 2006-06-26 Roman Kennke <kennke@aicas.com>
  12758. * javax/swing/JComponent.java
  12759. (firePropertyChange(String,int,int)): New method. Overrides
  12760. Component method and makes it public.
  12761. (firePropertyChange(String,boolean,boolean)): Likewise.
  12762. 2006-06-25 Vivek Lakshmanan <vivekl@redhat.com>
  12763. * gnu/java/security/.cvsignore: New File.
  12764. * gnu/java/security/Configuration.java.in: New File.
  12765. * gnu/java/security/Properties.java: Change import from
  12766. gnu.classpath.Configuration to gnu.java.security.Configuration.
  12767. * gnu/java/security/hash/Whirlpool.java: Likewise.
  12768. * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
  12769. * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
  12770. * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
  12771. * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
  12772. * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
  12773. * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
  12774. * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
  12775. * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
  12776. * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
  12777. * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
  12778. * gnu/java/security/pkcs/SignerInfo.java: Likewise.
  12779. * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
  12780. * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
  12781. * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
  12782. * gnu/java/security/util/Base64.java: Likewise.
  12783. * gnu/java/security/x509/X509CRL.java: Likewise.
  12784. * gnu/java/security/x509/X509CRLEntry.java: Likewise.
  12785. * gnu/java/security/x509/ext/Extension.java: Likewise.
  12786. * gnu/javax/crypto/cipher/Anubis.java: Likewise.
  12787. * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
  12788. * gnu/javax/crypto/cipher/Khazad.java: Likewise.
  12789. * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
  12790. * gnu/javax/crypto/cipher/Twofish.java: Likewise.
  12791. * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
  12792. * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
  12793. * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
  12794. * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
  12795. * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
  12796. * gnu/javax/crypto/keyring/Entry.java: Likewise.
  12797. * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
  12798. * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
  12799. * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
  12800. * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
  12801. * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
  12802. * gnu/javax/crypto/mac/OMAC.java: Likewise.
  12803. * gnu/javax/crypto/pad/BasePad.java: Likewise.
  12804. * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
  12805. * gnu/javax/crypto/pad/PKCS7.java: Likewise.
  12806. * gnu/javax/crypto/pad/TBC.java: Likewise.
  12807. * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
  12808. * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
  12809. * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
  12810. * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
  12811. * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
  12812. * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
  12813. * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Likewise.
  12814. * gnu/javax/security/auth/login/GnuConfiguration.java
  12815. (getAppConfigurationEntry): Change reference to
  12816. gnu.classpath.Configuration.DEBUG to gnu.java.security.Configuration.DEBUG.
  12817. (getConfigFromUserHome): Likewise.
  12818. (getInputStreamFromURL): Likewise.
  12819. (getUserHome): Likewise.
  12820. (init): Likewise.
  12821. (processSecurityProperties): Likewise.
  12822. (processSystemProperty): Likewise.
  12823. (processUserHome): Likewise.
  12824. * configure.ac: Add gnu/java/security/Configuration.java to AC_CONFIG_FILES list.
  12825. * lib/Makefile.am: Remove gnu/java/security/Configuration.java when required.
  12826. 2006-06-25 Carsten Neumann <cn-develop@gmx.net>
  12827. * javax/swing/text/DefaultCaret.java (isActive): New method.
  12828. 2006-06-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
  12829. * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
  12830. * java/lang/management/ClassLoadingMXBean.java:
  12831. (getTotalLoadedClassCount()): Corrected return type.
  12832. (getUnloadedClassCount()): Likewise.
  12833. * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
  12834. (getUnloadedClassCount()): Likewise.
  12835. 2006-06-25 Raif S. Naffah <raif@swiftdsl.com.au>
  12836. * gnu/javax/crypto/cipher/WeakKeyException.java: Source formatting.
  12837. * gnu/javax/crypto/cipher/Twofish.java: Likewise.
  12838. * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
  12839. * gnu/javax/crypto/cipher/Square.java: Likewise.
  12840. * gnu/javax/crypto/cipher/Serpent.java: Likewise.
  12841. * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
  12842. * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
  12843. * gnu/javax/crypto/cipher/Khazad.java: Likewise.
  12844. * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Likewise.
  12845. * gnu/javax/crypto/cipher/IBlockCipher.java: Likewise.
  12846. * gnu/javax/crypto/cipher/DES.java: Likewise.
  12847. * gnu/javax/crypto/cipher/CipherFactory.java: Likewise.
  12848. * gnu/javax/crypto/cipher/Cast5.java: Likewise.
  12849. * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
  12850. * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
  12851. * gnu/javax/crypto/cipher/Anubis.java: Likewise.
  12852. 2006-06-25 Raif S. Naffah <raif@swiftdsl.com.au>
  12853. * gnu/javax/crypto/assembly/TransformerException.java: Source formatting.
  12854. * gnu/javax/crypto/assembly/Transformer.java: Likewise.
  12855. * gnu/javax/crypto/assembly/Stage.java: Likewise.
  12856. * gnu/javax/crypto/assembly/PaddingTransformer.java: Likewise.
  12857. * gnu/javax/crypto/assembly/Operation.java: Likewise.
  12858. * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
  12859. * gnu/javax/crypto/assembly/LoopbackTransformer.java: Likewise.
  12860. * gnu/javax/crypto/assembly/Direction.java: Likewise.
  12861. * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
  12862. * gnu/javax/crypto/assembly/CascadeTransformer.java: Likewise.
  12863. * gnu/javax/crypto/assembly/CascadeStage.java: Likewise.
  12864. * gnu/javax/crypto/assembly/Cascade.java: Likewise.
  12865. * gnu/javax/crypto/assembly/Assembly.java: Likewise.
  12866. 2006-06-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
  12867. * NEWS,
  12868. * doc/vmintegration.texinfo:
  12869. Updated with information on new VM interface.
  12870. * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
  12871. * java/lang/management/ClassLoadingMXBean.java:
  12872. New files implementing the class loading bean.
  12873. * java/lang/management/ManagementFactory.java:
  12874. (getClassLoadingMXBean()): Implemented.
  12875. * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
  12876. New VM interface file.
  12877. 2006-06-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
  12878. * gnu/java/lang/management/RuntimeMXBeanImpl.java:
  12879. (isBootClassPathSupported()): Use SystemProperties
  12880. rather than System.getProperty.
  12881. 2006-06-24 Raif S. Naffah <raif@swiftdsl.com.au>
  12882. * gnu/java/security/Properties.java: Source formatting.
  12883. * gnu/java/security/Registry.java: Likewise.
  12884. 2006-06-24 Raif S. Naffah <raif@swiftdsl.com.au>
  12885. * gnu/java/security/util/Util.java: Source formatting.
  12886. * gnu/java/security/util/SimpleList.java: Likewise.
  12887. * gnu/java/security/util/Sequence.java: Likewise.
  12888. * gnu/java/security/util/PRNG.java: Likewise.
  12889. * gnu/java/security/util/ExpirableObject.java: Likewise.
  12890. * gnu/java/security/util/Base64.java: Likewise.
  12891. * gnu/java/security/sig/SignatureFactory.java: Likewise.
  12892. * gnu/java/security/sig/ISignatureCodec.java: Likewise.
  12893. * gnu/java/security/sig/ISignature.java: Likewise.
  12894. * gnu/java/security/sig/BaseSignature.java: Likewise.
  12895. * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Likewise.
  12896. * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
  12897. * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java: Likewise.
  12898. * gnu/java/security/sig/rsa/RSA.java: Likewise.
  12899. * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
  12900. * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java: Likewise.
  12901. * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java: Likewise.
  12902. * gnu/java/security/sig/dss/DSSSignatureRawCodec.java: Likewise.
  12903. * gnu/java/security/sig/dss/DSSSignature.java: Likewise.
  12904. * gnu/java/security/provider/X509CertificateFactory.java: Likewise.
  12905. * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
  12906. * gnu/java/security/provider/Gnu.java: Likewise.
  12907. * gnu/java/security/prng/RandomEventListener.java: Likewise.
  12908. * gnu/java/security/prng/RandomEvent.java: Likewise.
  12909. * gnu/java/security/prng/PRNGFactory.java: Likewise.
  12910. * gnu/java/security/prng/MDGenerator.java: Likewise.
  12911. * gnu/java/security/prng/LimitReachedException.java: Likewise.
  12912. * gnu/java/security/prng/IRandom.java: Likewise.
  12913. * gnu/java/security/prng/EntropySource.java: Likewise.
  12914. * gnu/java/security/prng/BasePRNG.java: Likewise.
  12915. 2006-06-23 Francis Kung <fkung@redhat.com>
  12916. * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java
  12917. (Harness.actionPerformed): Process additional options.
  12918. (J2dBenchmarkWrapper): Defer init call until after options are processed.
  12919. (J2dBenchmarkWrapper.setAlias): New method.
  12920. (J2dBenchmarkWrapper.setComposite): New method.
  12921. (J2dBenchmarkWrapper.setFill): New method.
  12922. (J2dBenchmarkWrapper.setRotation): New method.
  12923. (J2dBenchmarkWrapper.setShear): New method.
  12924. (J2dBenchmarkWrapper.setStroke): New method.
  12925. (J2dBenchmarkWrapper.setTranslation): New method.
  12926. (run): Add additional options to GUI.
  12927. * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
  12928. Added protected fields for various options.
  12929. (GraphicsTest.runSet_noClipping): Reset graphics settings between tests.
  12930. (GraphicsTest.runSet_withClipping): Reset graphics settings between tests.
  12931. (GraphicsTest.runSet_zeroClipping): Reset graphics settings between tests.
  12932. (getNextColor): Renamed to setRandom.
  12933. (init): Load additional image for texturing if needed.
  12934. (loadBufferedImage): New method.
  12935. (main): Accept additional command-line switches.
  12936. (prepareGraphics): New method.
  12937. (resetGraphics): New method.
  12938. (runTestSuite): Accept additional image-processing options.
  12939. (setRandom): Renamed from getNextColor; generate various random options
  12940. (test_drawArc): Rename getNextColor to setRandom.
  12941. (test_drawCubic): Likewise.
  12942. (test_drawEllipse): Likewise.
  12943. (test_drawGeneralPath): Likewise.
  12944. (test_drawImage): Likewise.
  12945. (test_drawLine): Likewise.
  12946. (test_drawQuadCurve): Likewise.
  12947. (test_drawRectangle): Likewise.
  12948. (test_drawRoundRectangle): Likewise.
  12949. (test_drawTransparentImage): Likewise.
  12950. (test_fillArc): Rename getNextColor to setRandom.
  12951. (test_fillEllipse): Likewise.
  12952. (test_fillGeneralPath): Likewise.
  12953. (test_fillRectangle): Likewise.
  12954. (test_fillRoundRectangle): Likewise.
  12955. (TestRecorder.getAverage): Round the average time.
  12956. 2006-06-23 Tom Tromey <tromey@redhat.com>
  12957. * java/util/logging/LoggingMXBean.java: New file.
  12958. * java/util/logging/LogManager.java (LOGGING_MXBEAN_NAME): New field.
  12959. (loggingBean): New field.
  12960. (getLoggingMXBean): New method.
  12961. 2006-06-23 Tania Bento <tbento@redhat.com>
  12962. * java/awt/TextField.java
  12963. (TextField): Default number of columns should be 0, not 1.
  12964. (TextField): Check if number of columns given as argument
  12965. is valid (>= 0) and set the number of columns accordingly.
  12966. (TextField): Check if the string passed is null. If it is,
  12967. set columns to 0, else columns is set to the length of
  12968. the string.
  12969. 2006-06-23 Roman Kennke <kennke@aicas.com>
  12970. * javax/swing/plaf/basic/BasicInternalFrameUI.java
  12971. (InternalFramePropertyChangeListener.propertyChange):
  12972. Don't call getPropertyName() repeatedly. Added null checks
  12973. to avoid NPEs. Call closeFrame() if the closed property
  12974. changes.
  12975. 2006-06-23 Roman Kennke <kennke@aicas.com>
  12976. * javax/swing/JInternalFrame.java
  12977. (maxTransition): Removed.
  12978. (JInternalFrame): Set maxium=false. Initialize desktopIcon here.
  12979. Don't initialize storedBounds here.
  12980. (dipose): Rewritten to correctly dispose the JInternalFrame.
  12981. (getDesktopIcon): Don't initialize desktopIcon here.
  12982. (getLayer): Delegate to JLayeredPane.getLayer().
  12983. (getNormalBounds): Return bounds when storedBounds == null,
  12984. otherwise storedBounds.
  12985. (hide): Don't change selection. Also hide the desktopIcon.
  12986. (moveToBack): Call getParent() only once.
  12987. (moveToFront): Call getParent() only once.
  12988. (pack): Call validate() to make sure that the layout is
  12989. propagated to the children.
  12990. (setClosed): Fire InternalFrameEvent first, before the
  12991. PropertyVetoEvent.
  12992. (setJMenuBar): Fire PropertyChangeEvent for this property.
  12993. (setLayer): Delegate to JLayeredPane.
  12994. (setLayeredPane): Check for null and throw IllegalArgumenException.
  12995. (setMaximum): Remove handling of maxTransition and normalBounds.
  12996. Should probably be done in the UI.
  12997. (setNormalBounds): Store Rectangle object directly, not a copy.
  12998. (setRootPane): Go into rootPaneCheckingEnabled mode so that
  12999. adding the RootPane doesn't add it to the contentPane.
  13000. Fire PropertyChangeEvent.
  13001. (setSelected): Added condition for when this property must not
  13002. be changed.
  13003. (show): Don't ask the DesktopPane to select the frame. Moved
  13004. code around to fire InternalFrameEvent before actually calling
  13005. super.show(). Also make the desktopIcon visible.
  13006. (setTitle): Fire PropertyChangeEvent unconditionally.
  13007. 2006-06-23 Roman Kennke <kennke@aicas.com>
  13008. * javax/swing/JLayeredPane.java
  13009. (getPosition): Moved code around to avoid unnecessary method calls.
  13010. (setPosition): Delegate to setLayer().
  13011. (insertIndexForLayer(int,int)): Delegate to new private helper method.
  13012. (insertIndexForLayer(Component,int,int)): New helper method
  13013. to support the use of setComponentZOrder() which doesn't remove
  13014. the component and thus the insertIndexForLayer must ignore
  13015. the component to be moved to get the index right.
  13016. (setLayer): Added check to prevent unnecessary execution of
  13017. method body. Changed to update the component order here.
  13018. Added repaint() to make sure that the update becomes visible.
  13019. (addImpl): Call setLayer() only when a constraint has been specified.
  13020. Validate and repaint the JLayeredPane.
  13021. 2006-06-23 Roman Kennke <kennke@aicas.com>
  13022. * java/awt/Container.java
  13023. (getComponentZOrder): Use ncomponents instead of
  13024. component.length so that we don't consider the empty space
  13025. after the last component.
  13026. 2006-06-22 Roman Kennke <kennke@aicas.com>
  13027. * javax/swing/JComponent.java
  13028. (vetoableChangeSupport): New field.
  13029. (removeVetoableChangeListener): Rewritten to use
  13030. vetoableChangeSupport.
  13031. (addVetoableChangeListener): Rewritten to use
  13032. vetoableChangeSupport.
  13033. (fireVetoableChange): Rewritten to use
  13034. vetoableChangeSupport.
  13035. (addPropertyChangeListener): Removed. This is handled in
  13036. Component already.
  13037. (firePropertyChange(String,boolean,boolean)): Likewise.
  13038. (firePropertyChange(String,char,char)): Likewise.
  13039. (firePropertyChange(String,int,int)): Likewise.
  13040. (revalidate): Don't do anything when the commponent has no
  13041. parent.
  13042. 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
  13043. * javax/swing/JLabel.java: Updated API docs.
  13044. 2006-06-22 Robert Schuster <robertschuster@fsfe.org>
  13045. * java/awt/Insets.java: Updated copyright year.
  13046. (toString): Changed string, removed a line from the
  13047. documentation.
  13048. 2006-06-22 Roman Kennke <kennke@aicas.com>
  13049. * javax/swing/text/AbstractDocument.java
  13050. (AbstractDocument): Set the i18n document property.
  13051. (removeImpl): Added checks for correct boundaries.
  13052. 2006-06-22 Roman Kennke <kennke@aicas.com>
  13053. * javax/swing/text/PlainDocument.java
  13054. (rootElement): Changed type to Element.
  13055. (tabSize): Removed field. This is stored in the document properties
  13056. instead.
  13057. (PlainDocument): Set tabSize property. Init rootElement without
  13058. cast.
  13059. (insertUpdate): Rewritten. The previous implementation did not
  13060. handle some corner cases properly and was a mess.
  13061. (removeUpdate): Cast rootElement to BranchElement.
  13062. 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
  13063. * javax/swing/plaf/basic/BasicLabelUI.java
  13064. (installKeyboardActions): Implemented,
  13065. (uninstallKeyboardActions): Implemented,
  13066. (propertyChange): Add handling for 'displayedMnemonic' and 'labelFor'
  13067. properties.
  13068. 2006-06-22 Robert Schuster <robertschuster@fsfe.org>
  13069. * javax/swing/JMenu.java:
  13070. (removeAll): Added check for popupMenu not being null.
  13071. 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
  13072. * javax/swing/JLabel.java
  13073. (getText): Updated API docs,
  13074. (setText): Corrected the check for an unchanged value, and the update
  13075. of the displayedMnemonicIndex.
  13076. 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
  13077. * javax/swing/JLabel.java
  13078. (setDisplayedMnemonic(int)): Fire property change event AFTER updating
  13079. field,
  13080. (setDisplayedMnemonicIndex): Modified argument checking to handle case
  13081. where label text is null.
  13082. 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
  13083. * javax/swing/JLabel.java
  13084. (setDisplayedMnemonic): Updated API docs,
  13085. (getDisplayedMnemonic): Removed unnecessary type-cast,
  13086. (setDisplayedMnemonicIndex): Removed unnecessary validation,
  13087. (getDisplayedMnemonicIndex): Updated API docs.
  13088. 2006-06-21 Jeroen Frijters <jeroen@frijters.net>
  13089. * java/util/Collections (entrySet): Fixed compile error.
  13090. 2006-06-21 David Gilbert <david.gilbert@object-refinery.com>
  13091. * javax/swing/DefaultListSelectionModel.java
  13092. (getSelectionMode): Updated API docs,
  13093. (setAnchorSelectionIndex): Added ListSelectionEvent generation,
  13094. (addSelectionInterval): If mode is SINGLE_SELECTION, just call
  13095. setSelectionInterval(),
  13096. (setSelectionInterval): Reimplemented SINGLE_SELECTION and
  13097. SINGLE_INTERVAL_SELECTION cases.
  13098. 2006-06-21 Roman Kennke <kennke@aicas.com>
  13099. * javax/swing/text/AbstractDocument.java
  13100. (BranchElement.numChildren): New field.
  13101. (BranchElement.BranchElement): Initialize children array with
  13102. one element (that's the least number of elements that makes sense).
  13103. Initialize numChildren.
  13104. (BranchElement.children): Use numChildren as boundary.
  13105. (BranchElement.getElement): Use numChildren as boundary.
  13106. (BranchElement.getElementCount): Use numChildren as boundary.
  13107. (BranchElement.getElementIndex): Use numChildren as boundary.
  13108. (BranchElement.getEndOffset): Use numChildren as boundary.
  13109. (BranchElement.getStartOffset): Use numChildren as boundary.
  13110. (BranchElement.positionToElement): Use numChildren as boundary.
  13111. (BranchElement.replace): Handle the children array more efficiently
  13112. by growing in blocks > 1, and reusing space from removed elements.
  13113. (LeafElement.startDelta): Removed.
  13114. (LeafElement.endDelta): Removed.
  13115. (LeafElement.LeafElement): Removed handling of deltas.
  13116. (LeafElement.getEndOffset): Likewise.
  13117. (LeafElement.getStartOffset): Likewise.
  13118. * javax/swing/text/JTextComponent.java
  13119. (setDocument): Added locking of the old document to avoid dangling
  13120. notification beeing delivered while the document is beeing
  13121. disconnected.
  13122. (getScrollableTracksViewportWidth): Fixed condition.
  13123. * javax/swing/text/PlainDocument.java
  13124. (createDefaultRoot): Create elements without AttributeSet.
  13125. * javax/swing/text/rtf/RTFParser.java
  13126. (parseFile): Handle slightly incorrect RTF gracefully.
  13127. * javax/swing/text/rtf/RTFScanner.java
  13128. (lastToken): New field.
  13129. (readTokenImpl): New method.
  13130. (peekToken): New method.
  13131. (readToken): Changed to call readTokenImpl or return the lastToken
  13132. if there's one present.
  13133. 2006-06-21 Tania Bento <tbento@redhat.com>
  13134. * javax/swing/JMenu.java
  13135. (remove): An IllegalArgumentException should be thrown if
  13136. either index < 0 or if index > 0 and there are no menu
  13137. components. Also, a check was added that ensures there are
  13138. menu components before removing the desired the component.
  13139. 2006-06-21 Lillian Angel <langel@redhat.com>
  13140. * javax/swing/text/DefaultCaret.java
  13141. (install): Added check to prevent NPE.
  13142. (propertyChange): Added checks to prevent NPEs.
  13143. 2006-06-21 Tania Bento <tbento@redhat.com>
  13144. * javax/swing/JMenu.java
  13145. Changed instantiation of popupMenu to null.
  13146. (JMenu): Instantiated popupMenu to new JPopupMenu.
  13147. (JMenu): Instantiated popupMenu to new JPopupMenu.
  13148. (add): Changed popupMenu to getPopupMenu().
  13149. (add): Changed popupMenu to getPopupMenu().
  13150. (add): Changed popupMenu to getPopupMenu().
  13151. (add): Changed popupMenu to getPopupMenu().
  13152. (remove): Changed popupMenu to getPopupMenu().
  13153. (remove): Changed popupMenu to getPopupMenu().
  13154. (insert): Changed popupMenu to getPopupMenu().
  13155. (setSelectedHelper): Changed popupMenu to getPopupMenu().
  13156. (isPopupMenuVisible): Changed popupMenu to getPopupMenu().
  13157. (setPopupMenuVisible): Changed popupMenu to getPopupMenu().
  13158. (getMenuComponentCount): Changed popupMenu to getPopupMenu().
  13159. (getMenuComponents): Changed popupMenu to getPopupMenu().
  13160. (getPopupMenu): Check first if popupMenu is null and if so,
  13161. instantiate it to a new JPopupMenu and set the invoker.
  13162. * javax/swing/plaf/basic/BasicPopupMenuUI.java
  13163. (popupMenuWillBecomeVisible): Component Listener should only
  13164. be added to the root container if the root container is not
  13165. null. This avoids a null pointer exception.
  13166. 2006-06-21 Tania Bento <tbento@redhat.com>
  13167. * javax/swing/JMenu.java
  13168. (JMenu): Delay should be set to 200, not default of 0.
  13169. (JMenu): Delay should be set to 200, not default of 0.
  13170. (JMenu): Delay should be set to 200, not default of 0.
  13171. (JMenu): Delay should be set to 200, not default of 0.
  13172. (remove): Added check that index >= 0 before removing
  13173. the component.
  13174. (getItem): Return null if item count equals 0.
  13175. (isTearOff): Should throw new error and not return false.
  13176. (getMenuComponent): Return null if popupMenu is null or
  13177. if there are no menu components.
  13178. 2006-06-21 Roman Kennke <kennke@aicas.com>
  13179. * java/awt/font/FontRenderContext.java:
  13180. (equals): Added special conditions for affineTransform beeing
  13181. null.
  13182. 2006-06-21 Roman Kennke <kennke@aicas.com>
  13183. * javax/swing/UIManager.java
  13184. (MultiplexUIDefaults.clear): Removed method. The fallback UIDefaults
  13185. must not be cleared.
  13186. 2006-06-21 Roman Kennke <kennke@aicas.com>
  13187. * javax/swing/plaf/metal/MetalUtils.java
  13188. (paintHorizontalGradient): Use paintHorizontalGradient2D when
  13189. Graphics2D is available. Use fillRect instead of drawLine, this
  13190. is much faster.
  13191. (paintVerticalGradient): Use paintHorizontalGradient2D when
  13192. Graphics2D is available. Use fillRect instead of drawLine, this
  13193. is much faster.
  13194. (paintHorizontalGradient2D): New method. Paints gradient
  13195. using Graphics2D functions.
  13196. (paintVerticalGradient2D): New method. Paints gradient
  13197. using Graphics2D functions.
  13198. 2006-06-21 Roman Kennke <kennke@aicas.com>
  13199. * javax/swing/plaf/basic/BasicButtonListener.java
  13200. (propertyChange): Create a TextLayout and store it in the button
  13201. when the 'text' property changes.
  13202. * javax/swing/plaf/basic/BasicButtonUI.java
  13203. (paintText): Call BasicGraphicsUtils utility method for
  13204. drawing strings, instead of Graphics.drawString().
  13205. * javax/swing/plaf/basic/BasicGraphicsUtils.java
  13206. (CACHE_TEXT_LAYOUT): New constant field. Used as a key for storing
  13207. cached text layouts as client properties in JComponents.
  13208. (drawString(JComponent,Graphics,String,int,int)): New helper method.
  13209. (drawStringUnderlineCharAt): New helper method.
  13210. * javax/swing/plaf/basic/BasicMenuItemUI.java
  13211. (PropertyChangeHandler.propertyChange): Update cached text layout
  13212. when 'text' property changes. Use equals() instead of == for
  13213. string comparison.
  13214. (paintText): Use new BasicGraphicsUtils methods for painting
  13215. the cached text layout.
  13216. (installListeners): Call super.installListeners() and remove
  13217. the unneeded listener installs.
  13218. (uninstallListeners): Call super.uninstallListeners() and remove
  13219. the unneeded listener uninstalls.
  13220. 2006-06-21 Roman Kennke <kennke@aicas.com>
  13221. * javax/swing/plaf/basic/BasicTextUI.java
  13222. (PropertyChangeHandler.propertyChange): Handle document listener
  13223. update here.
  13224. (background): Removed unneeded fields.
  13225. (inactiveBackground): Remove unneeded fields.
  13226. (installUI): Install the document listener. Slightly changed
  13227. order of operations. Don't trigger modelChanged().
  13228. (installDefaults): Only install properties when the
  13229. current properties are null or instances of UIResource.
  13230. (installListeners): Removed unnecessary listener installs.
  13231. (installDocumentListeners): Removed unneeded method.
  13232. (uninstallListeners): Removed unnecessary listener uninstalls.
  13233. (modelChanged): Removed call to installDocumentListeners().
  13234. * javax/swing/plaf/basic/BasicTextFieldUI.java
  13235. (propertyChange): Update the colors by fetching them from
  13236. SharedUIDefaults. Fixed conditions.
  13237. * javax/swing/plaf/basic/SharedUIDefaults.java
  13238. (getColor): New method.
  13239. 2006-06-21 Roman Kennke <kennke@aicas.com>
  13240. * javax/swing/SizeSequence.java
  13241. (SizeSequence): Initialize array with correct number of entries.
  13242. 2006-06-21 Roman Kennke <kennke@aicas.com>
  13243. * javax/swing/JSplitPane.java
  13244. (setDividerLocation): Substract divider size when computing
  13245. the absolute size.
  13246. 2006-06-21 Roman Kennke <kennke@aicas.com>
  13247. * javax/swing/JComponent.java
  13248. (paintChildrenWithOverlap): Determine opaque property by
  13249. calling the corresponding Component method, without requiring
  13250. a JComponent.
  13251. (paintChildrenOptimized): Removed old unneeded code.
  13252. (paintImmediately): Use JComponent's convertRectangleToAncestor()
  13253. method instead of SwingUtilities.convertRectangle(). This is
  13254. more efficient.
  13255. 2006-06-21 Roman Kennke <kennke@aicas.com>
  13256. * javax/swing/AbstractButton.java
  13257. (init): Call setText() instead of setting the property directly,
  13258. so that listeners (especially in the UI) get notified.
  13259. 2006-06-21 Roman Kennke <kennke@aicas.com>
  13260. * javax/swing/UIManager.java
  13261. (MultiplexUIDefaults): New inner class.
  13262. (currentUIDefaults): Changed type to be MultiplexUIDefaults.
  13263. (userUIDefaults): Changed name to be lookAndFeelDefaults.
  13264. (<cinit>): Call setLookAndFeel(String) instead of trying to load
  13265. directly. Print stacktrace if something goes wrong.
  13266. (get): Delegate call to currentUIDefaults.
  13267. (getDefaults): If currentUIDefaults is null, then lazily instantiate
  13268. it.
  13269. (getUI): Delegate call to currentUIDefaults.
  13270. (put): Delegate call to currentUIDefaults.
  13271. (setLookAndFeel): Initialize currentUIDefaults with
  13272. MultiplexUIDefaults. Set lookAndFeelDefaults.
  13273. (setLookAndFeel): Use current thread's context classloader for
  13274. loading the L&F.
  13275. 2006-06-21 Roman Kennke <kennke@aicas.com>
  13276. * javax/swing/text/GapContent.java
  13277. (GapContentPosition.GapContentPosition): Replace
  13278. Collections.binarySearch with call to local search() to make
  13279. sure we find the first object that equals the searched object.
  13280. (setPositionsInRange): Likewise.
  13281. (adjustPositionsInRange): Likewise.
  13282. (search): New helper method.
  13283. 2006-06-21 Gary Benson <gbenson@redhat.com>
  13284. * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Add security check.
  13285. * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
  13286. * gnu/java/awt/java2d/AbstractGraphics2D.java: Likewise.
  13287. 2006-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
  13288. * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS): Define
  13289. APPLETVIEWER_EXECUTABLE to gappletviewer.
  13290. 2006-06-20 Tom Tromey <tromey@redhat.com>
  13291. PR classpath/28095:
  13292. * java/net/URL.java (URL): Throw MalformedURLException if a
  13293. RuntimeException is caught. Chain exceptions.
  13294. 2006-06-20 Lillian Angel <langel@redhat.com>
  13295. * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
  13296. (create): Added check to prevent Seg Fault. Should not
  13297. set the label if it is null.
  13298. * gnu/java/awt/peer/gtk/GtkLabelPeer.java
  13299. (setText): Changed to be a non-native function. Calls
  13300. setNativeText if the String parameter is non-null.
  13301. (setNativeText): Replaces old native setText function.
  13302. * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h: Regenerated.
  13303. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
  13304. (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText): Removed.
  13305. Replaced by Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText.
  13306. (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText): Replaced
  13307. Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText.
  13308. 2006-06-20 Lillian Angel <langel@redhat.com>
  13309. * javax/swing/text/JTextComponent.java
  13310. (AccessibleJTextComponent): Rewrote all javadocs
  13311. for this inner class.
  13312. 2006-06-20 Francis Kung <fkung@redhat.com>
  13313. * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
  13314. Changed many members to be protected.
  13315. (J2dBenchmark): moved to init() instead.
  13316. (init): New method.
  13317. (main): Call init() after creating object
  13318. (testComplete): New method.
  13319. (test_drawArc): Use maxTests varialbe instead of constant.
  13320. (test_drawCubicCurve): Likewise.
  13321. (test_drawEllipse): Likewise.
  13322. (test_drawGeneralPath): Likewise.
  13323. (test_drawImage): Likewise.
  13324. (test_drawLine): Likewise.
  13325. (test_drawQuadCurve): Likewise.
  13326. (test_drawRectangle): Likewise.
  13327. (test_drawRoundRectangle): Likewise.
  13328. (test_drawTransparentImage): Likewise.
  13329. (test_fillArc): Likewise.
  13330. (test_fillEllipse): Likewise.
  13331. (test_fillGeneralPath): Likewise.
  13332. (test_fillRectangle): Likewise.
  13333. (test_fillRoundRectangle): Likewise.
  13334. (GraphicsTest.runSetNoClipping): Added runCount parameter.
  13335. (GraphicsTest.runSetWithClipping): Likewise.
  13336. (GraphicsTest.runSetZeroClipping): Likewise.
  13337. (GraphicsTest.run): Added checks for more option flags.
  13338. * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java:
  13339. New file.
  13340. 2006-06-20 Roman Kennke <kennke@aicas.com>
  13341. * javax/swing/text/GapContent.java
  13342. (GapContentPosition.mark): New field.
  13343. (GapContentPosition.index): Removed.
  13344. (GapContentPosition.GapContentPosition): Changed to take the
  13345. real offset as parameter. Added handling of reference counter.
  13346. Try to cleanup before creating new instances.
  13347. (getOffset): Delegate to the Mark method with same name.
  13348. (Mark): New class, encapsulating a mark.
  13349. (positionMarks): Removed field.
  13350. (numMarks): Removed field.
  13351. (marks): New field.
  13352. (queueOfDeath): New field.
  13353. (GapContent): Removed init of old fields, added init of new fields.
  13354. (createPosition): Added check for validity of arguments.
  13355. Create GapContentPosition directly with offset.
  13356. (shiftEnd): Pass end of buffer directly to adjustPositionsInRange.
  13357. (shiftGap): Pass end of buffer directly to adjustPositionsInRange.
  13358. (shiftGapStartDown): Call resetMarksAtZero().
  13359. (shiftGapEndUp): Call resetMarksAtZero().
  13360. (replace): Don't call resetMarksAtZero().
  13361. (setPositionInRange): Replaced by simpler algorithm, similar to
  13362. adjustPositionsInRange.
  13363. (adjustPositionsInRange): Adapted to use of Mark objects.
  13364. (resetMarksAtZero): Reset all marks that point to zero instead
  13365. of only the first one.
  13366. (dumpMarks): Adjusted to dump Mark objects.
  13367. (insertMark): Removed.
  13368. (garbageCollect): New method. Cleans up the marks list.
  13369. (binarySearch): Removed.
  13370. 2006-06-20 Lillian Angel <langel@redhat.com>
  13371. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  13372. (drawImage): Added call to updateColor because
  13373. Cairo seems to lose the current color.
  13374. 2006-06-20 Gary Benson <gbenson@redhat.com>
  13375. * java/awt/Toolkit.java: Add security check.
  13376. * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
  13377. * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
  13378. 2006-06-20 Raif S. Naffah <raif@swiftdsl.com.au>
  13379. * gnu/java/security/key/dss/DSSKey.java: Source formatting.
  13380. * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
  13381. * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
  13382. * gnu/java/security/key/dss/DSSKeyPairRawCodec.java: Likewise.
  13383. * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: Likewise.
  13384. * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
  13385. * gnu/java/security/key/dss/DSSPublicKey.java: Likewise.
  13386. * gnu/java/security/key/dss/FIPS186.java: Likewise.
  13387. * gnu/java/security/key/rsa/GnuRSAKey.java: Likewise.
  13388. * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
  13389. * gnu/java/security/key/rsa/GnuRSAPublicKey.java: Likewise.
  13390. * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
  13391. * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
  13392. * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Likewise.
  13393. * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
  13394. * gnu/java/security/key/IKeyPairCodec.java: Likewise.
  13395. * gnu/java/security/key/IKeyPairGenerator.java: Likewise.
  13396. * gnu/java/security/key/KeyPairCodecFactory.java: Likewise.
  13397. * gnu/java/security/key/KeyPairGeneratorFactory.java: Likewise.
  13398. 2006-06-19 Lillian Angel <langel@redhat.com>
  13399. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  13400. (drawImage): Should always use getRGB to get the pixels.
  13401. getData returns an incorrect array of pixels.
  13402. 2006-06-19 Raif S. Naffah <raif@swiftdsl.com.au>
  13403. * gnu/java/security/jce/hash/HavalSpi.java: Source formatting.
  13404. * gnu/java/security/jce/hash/MD2Spi.java: Likewise.
  13405. * gnu/java/security/jce/hash/MD4Spi.java: Likewise.
  13406. * gnu/java/security/jce/hash/MD5Spi.java: Likewise.
  13407. * gnu/java/security/jce/hash/MessageDigestAdapter.java: Likewise.
  13408. * gnu/java/security/jce/hash/RipeMD128Spi.java: Likewise.
  13409. * gnu/java/security/jce/hash/RipeMD160Spi.java: Likewise.
  13410. * gnu/java/security/jce/hash/Sha160Spi.java: Likewise.
  13411. * gnu/java/security/jce/hash/Sha256Spi.java: Likewise.
  13412. * gnu/java/security/jce/hash/Sha384Spi.java: Likewise.
  13413. * gnu/java/security/jce/hash/Sha512Spi.java: Likewise.
  13414. * gnu/java/security/jce/hash/TigerSpi.java: Likewise.
  13415. * gnu/java/security/jce/hash/WhirlpoolSpi.java: Likewise.
  13416. * gnu/java/security/jce/prng/HavalRandomSpi.java: Likewise.
  13417. * gnu/java/security/jce/prng/MD2RandomSpi.java: Likewise.
  13418. * gnu/java/security/jce/prng/MD4RandomSpi.java: Likewise.
  13419. * gnu/java/security/jce/prng/MD5RandomSpi.java: Likewise.
  13420. * gnu/java/security/jce/prng/RipeMD128RandomSpi.java: Likewise.
  13421. * gnu/java/security/jce/prng/RipeMD160RandomSpi.java: Likewise.
  13422. * gnu/java/security/jce/prng/SecureRandomAdapter.java: Likewise.
  13423. * gnu/java/security/jce/prng/Sha160RandomSpi.java: Likewise.
  13424. * gnu/java/security/jce/prng/Sha256RandomSpi.java: Likewise.
  13425. * gnu/java/security/jce/prng/Sha384RandomSpi.java: Likewise.
  13426. * gnu/java/security/jce/prng/Sha512RandomSpi.java: Likewise.
  13427. * gnu/java/security/jce/prng/TigerRandomSpi.java: Likewise.
  13428. * gnu/java/security/jce/prng/WhirlpoolRandomSpi.java: Likewise.
  13429. * gnu/java/security/jce/sig/DSSKeyFactory.java: Likewise.
  13430. * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Likewise.
  13431. * gnu/java/security/jce/sig/DSSParameters.java: Likewise.
  13432. * gnu/java/security/jce/sig/DSSRawSignatureSpi.java: Likewise.
  13433. * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
  13434. * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Likewise.
  13435. * gnu/java/security/jce/sig/RSAKeyFactory.java: Likewise.
  13436. * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
  13437. * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java: Likewise.
  13438. * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
  13439. 2006-06-19 Raif S. Naffah <raif@swiftdsl.com.au>
  13440. * NEWS: Updated (delayed) for security tools and tools.texinfo.
  13441. 2006-06-19 Roman Kennke <kennke@aicas.com>
  13442. * gnu/java/awt/peer/gtk/ComponentGraphics.java
  13443. (drawImage): Clip volatile image correctly.
  13444. (drawVolatileImage): Added arguments for clipping.
  13445. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
  13446. (drawVolatileImage): Added arguments for clipping. Clip image
  13447. correctly.
  13448. * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
  13449. 2006-06-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  13450. PR 28035
  13451. * java/rmi/server/UID.java (constructor): Synchronized
  13452. the whole constructor on the UID class.
  13453. 2006-06-19 Roman Kennke <kennke@aicas.com>
  13454. * javax/swing/RepaintManager.java
  13455. (addInvalidComponent): Only add component that are displayable,
  13456. that have displayable parents and that have a validateRoot.
  13457. Also, don't validate components that have a CellRendererPane
  13458. ancestor.
  13459. 2006-06-19 David Gilbert <david.gilbert@object-refinery.com>
  13460. * javax/swing/plaf/IconUIResource.java
  13461. (IconUIResource): Throw IllegalArgumentException for null icon.
  13462. 2006-06-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  13463. PR 28035
  13464. * java/rmi/server/UID.java (constructor): First increment
  13465. uidCounter, and then use the value.
  13466. 2006-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
  13467. * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
  13468. * java/awt/GridBagConstraints.java: Indent.
  13469. 2006-06-18 Tom Tromey <tromey@redhat.com>
  13470. * native/jni/gconf-peer/.cvsignore: New file.
  13471. 2006-06-18 Tom Tromey <tromey@redhat.com>
  13472. * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
  13473. Also handle short options.
  13474. 2006-06-18 Jim Huang <jserv@kaffe.org>
  13475. PR classpath/28076:
  13476. * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LIBADD):
  13477. Fixed typo.
  13478. 2006-06-19 Mark Wielaard <mark@klomp.org>
  13479. * include/Makefile.am: gnu_java_util_prefs_gconf_%.h should depend
  13480. on gnu/java/util/prefs/gconf/%.class.
  13481. * Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class: Fix
  13482. chache typo, should be cache.
  13483. (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
  13484. Declare tmp early.
  13485. (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
  13486. Likewise.
  13487. (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
  13488. Don't return a value for void function.
  13489. (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir)
  13490. Likewise.
  13491. (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
  13492. Mark clazz as unused. Return JNI_FALSE, not NULL for jboolean
  13493. function.
  13494. (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
  13495. Mark clazz ad unused.
  13496. 2006-06-18 Raif S. Naffah <raif@swiftdsl.com.au>
  13497. * gnu/java/security/hash/Whirlpool.java: Source formatting.
  13498. * gnu/java/security/hash/Tiger.java: Likewise.
  13499. * gnu/java/security/hash/Sha512.java: Likewise.
  13500. * gnu/java/security/hash/Sha384.java: Likewise.
  13501. * gnu/java/security/hash/Sha256.java: Likewise.
  13502. * gnu/java/security/hash/Sha160.java: Likewise.
  13503. * gnu/java/security/hash/RipeMD160.java: Likewise.
  13504. * gnu/java/security/hash/RipeMD128.java: Likewise.
  13505. * gnu/java/security/hash/MD5.java: Likewise.
  13506. * gnu/java/security/hash/MD4.java: Likewise.
  13507. * gnu/java/security/hash/MD2.java: Likewise.
  13508. * gnu/java/security/hash/IMessageDigest.java: Likewise.
  13509. * gnu/java/security/hash/Haval.java: Likewise.
  13510. * gnu/java/security/hash/HashFactory.java: Likewise.
  13511. * gnu/java/security/hash/BaseHash.java: Likewise.
  13512. 2006-06-18 Sven de Marothy <sven@physto.se>
  13513. * java/awt/event/KeyEvent.java:
  13514. (VK_WINDOWS, VK_CONTEXT_MENU, VK_BEGIN): Add new keysym fields.
  13515. * natve/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
  13516. Implement WINDOWS, ALT_GR and CONTEXT_MENU keysyms.
  13517. 2006-06-18 Raif S. Naffah <raif@swiftdsl.com.au>
  13518. * gnu/java/security/util/Prime2.java: Removed.
  13519. * gnu/java/security/key/dss/FIPS186.java: Remove unused imports.
  13520. (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
  13521. * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Remove unused imports.
  13522. (generate): Use isProbablePrime() in BigInteger instead of Prime2.
  13523. * gnu/javax/crypto/key/dh/RFC2631.java: Remove unused imports.
  13524. (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
  13525. * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Remove unused imports.
  13526. (checkParams): Use isProbablePrime() in BigInteger instead of Prime2.
  13527. * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Remove unused imports.
  13528. (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
  13529. * gnu/javax/net/ssl/provider/KeyPool.java: Remove unused imports.
  13530. (generateRSAKeyPair): Use isProbablePrime() in BigInteger instead of Prime2.
  13531. 2006-06-18 Sven de Marothy <sven@physto.se>
  13532. * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
  13533. * java/awt/font/TextMeasurer.java: Fix copyright date,
  13534. remove commented-out code.
  13535. 2006-06-18 Sven de Marothy <sven@physto.se>
  13536. * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
  13537. (FreetypeGlyphVector, clone): Implement cloning.
  13538. (getGlyphLogicalBounds): Bounds should be offset to the glyph position.
  13539. * java/awt/font/TextMeasurer.java: Implement.
  13540. * java/awt/font/LineBreakMeasurer.java:
  13541. Reimplement to use TextMeasurer.
  13542. * java/awt/font/TextLayout.java
  13543. New constructors.
  13544. (getBlackboxBounds, getLogicalHighlightShape): Reimplement.
  13545. (getText, getFont): New private static methods.
  13546. (setCharIndices): New method.
  13547. * java/text/AttributedString.java
  13548. (AttributedString): Fix constructor to stop at end point.
  13549. 2006-06-17 Tom Tromey <tromey@redhat.com>
  13550. * lib/gen-classlist.sh.in: Search all top-level directories, not
  13551. just 'org', in external.
  13552. 2006-06-12 Mario torre <neugens at limasoftware.net>
  13553. * gnu/java/util/prefs/GConfBasedPreferences.java: new class.
  13554. * gnu/java/util/prefs/GConfBasedFactory.java: new class.
  13555. * gnu/java/util/prefs/gconf/GConfNativePeer.java: new class.
  13556. * gnu_java_util_prefs_gconf_GConfNativePeer.h: generated
  13557. header file.
  13558. * classpath/native/jni/gconf-peer/GConfNativePeer.c: new C file.
  13559. * configure.ac: update to introduce new files. Added options
  13560. to build gconf native peer used by the GConf preference backend.
  13561. * include/Makefile.am: update to introduce new files.
  13562. * native/jni/Makefile.am update to introduce new files.
  13563. * scripts/check_jni_methods.sh: added three new ignored file
  13564. from check.
  13565. * native/jni/gconf-peer/Makefile.am: new Makefile needed to
  13566. build gconf-peer shared library.
  13567. 2006-06-17 Raif S. Naffah <raif@swiftdsl.com.au>
  13568. * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java:
  13569. Use Integer.valueOf() instead of new Integer().
  13570. * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
  13571. * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
  13572. * gnu/java/security/util/Sequence.java: Likewise.
  13573. * gnu/java/security/x509/ext/GeneralNames.java: Likewise.
  13574. * gnu/java/security/x509/X509Certificate.java: Likewise.
  13575. * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
  13576. * gnu/javax/crypto/cipher/Anubis.java: Likewise.
  13577. * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
  13578. * gnu/javax/crypto/cipher/Cast5.java: Likewise.
  13579. * gnu/javax/crypto/cipher/DES.java: Likewise.
  13580. * gnu/javax/crypto/cipher/Khazad.java: Likewise.
  13581. * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
  13582. * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
  13583. * gnu/javax/crypto/cipher/Serpent.java: Likewise.
  13584. * gnu/javax/crypto/cipher/Square.java: Likewise.
  13585. * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
  13586. * gnu/javax/crypto/cipher/Twofish.java: Likewise.
  13587. * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
  13588. * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
  13589. * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
  13590. * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Likewise.
  13591. * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
  13592. * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
  13593. * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: Likewise.
  13594. * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Likewise.
  13595. * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
  13596. * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
  13597. * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
  13598. * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
  13599. * gnu/javax/crypto/mac/UHash32.java: Likewise.
  13600. * gnu/javax/crypto/mac/UMac32.java: Likewise.
  13601. * gnu/javax/crypto/mode/BaseMode.java: Likewise.
  13602. * gnu/javax/crypto/mode/EAX.java: Likewise.
  13603. * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
  13604. * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
  13605. * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
  13606. * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java: Likewise.
  13607. * java/security/cert/X509CertSelector.java: Likewise.
  13608. 2006-06-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
  13609. * javax/management/DynamicMBean.java:
  13610. (setAttribute): Fixed to return void.
  13611. * javax/management/MBeanFeatureInfo.java:
  13612. New file.
  13613. 2006-06-17 Raif S. Naffah <raif@swiftdsl.com.au>
  13614. On behalf of Vivek Lakshmanan <vivekl@redhat.com>
  13615. * gnu/javax/crypto/jce/cipher/CipherAdapter.java
  13616. (engineInit(int, Key, SecureRandom)): Seperate common initialization logic
  13617. into engineInitHandler and reuse the code in
  13618. engineInit(int, Key, AlgorithmSpec, SecureRandom).
  13619. (engineInitHandler): New method.
  13620. (engineInit(int, Key, AlgorithmParameterSpec, SecureRandom)): When param is
  13621. null, use random or default information when possible.
  13622. 2006-06-16 Francis Kung <fkung@redhat.com>
  13623. * examples/gnu/classpath/examples/swing/Demo.java:
  13624. (mkButtonBar): Rename FillRect to JNIOverhead.
  13625. (mkMenuBar): Rename FillRect to JNIOverhead.
  13626. * examples/gnu/classpath/examples/swing/FillRect.java: Removed.
  13627. * examples/gnu/classpath/examples/java2d/J2dBenchmark.java: New file.
  13628. * examples/gnu/classpath/examples/java2d/JNIOverhead.java:
  13629. Moved from old FillRect.
  13630. 2006-06-16 Tom Tromey <tromey@redhat.com>
  13631. * tools/.cvsignore: Added new tool names.
  13632. 2006-06-16 Keith Seitz <keiths@redhat.com>
  13633. * gnu/classpath/jdwp/event/EventManager.java (getDefault): Redo
  13634. instantiation so that EventManager is created when getDefault
  13635. is first called.
  13636. * gnu/classpath/jdwp/Jdwp.java (Thread): Force creation
  13637. of EventManager.
  13638. 2006-06-16 Keith Seitz <keiths@redhat.com>
  13639. * gnu/classpath/jdwp/Jdwp.java (_initLock): New field.
  13640. (_initCount): New field.
  13641. (Jdwp): Don't set isDebugging until fully initialized.
  13642. (subcomponentInitialized): New method.
  13643. (run): Wait for PacketProcessor and JdwpConnection to
  13644. startup, then set isDebugging, and then let this thread
  13645. die.
  13646. * gnu/classpath/jdwp/transport/JdwpConnection.java
  13647. (run): Add synchronization notification.
  13648. * gnu/classpath/jdwp/processor/PacketProcessor.java
  13649. (run): Likewise.
  13650. 2006-06-16 Tom Tromey <tromey@redhat.com>
  13651. * NEWS: Updated for JSR 166.
  13652. 2006-06-16 Tom Tromey <tromey@redhat.com>
  13653. * lib/Makefile.am (compile_classpath): Added jsr166.
  13654. * configure.ac: Added external/jsr166/Makefile.
  13655. * external/Makefile.am (SUBDIRS): Added jsr166.
  13656. * external/jsr166/Makefile.am: New file.
  13657. * lib/gen-classlist.sh.in: Look in external/jsr166.
  13658. 2006-06-16 Kyle Galloway <kgallowa@redhat.com>
  13659. * gnu/classpath/jdwp/event/ExceptionEvent:
  13660. Added Object instance to javadoc in constructor
  13661. * gnu/classpath/jdwp/event/MethodEntryEvent:
  13662. Ditto.
  13663. * gnu/classpath/jdwp/event/MethodExitEvent:
  13664. Ditto,
  13665. * gnu/classpath/jdwp/event/SingleStepEvent:
  13666. Ditto.
  13667. 2006-06-16 Tom Tromey <tromey@redhat.com>
  13668. Imported JSR 166 reference implementation:
  13669. * .classpath: Added external/jsr166.
  13670. * java/util/concurrent/CopyOnWriteArrayList.java: New file.
  13671. * java/util/AbstractQueue.java: Removed.
  13672. * java/util/Queue.java: Removed.
  13673. * external/jsr166/java/util/concurrent/ScheduledThreadPoolExecutor.java
  13674. (runPeriodic): Added explicit cast.
  13675. * external/jsr166/java/util/ArrayDeque.java (clone): Use
  13676. elements.clone.
  13677. 2006-06-16 Tom Tromey <tromey@redhat.com>
  13678. * vm/reference/sun/reflect/Reflection.java (verifyMemberAccess):
  13679. Removed.
  13680. (getCallerClass): Now static.
  13681. * vm/reference/sun/reflect/misc/ReflectUtil.java: New file.
  13682. 2006-06-16 Lillian Angel <langel@redhat.com>
  13683. * java/awt/FileDialog.java
  13684. (FileDialog): Added @since tag to API docs.
  13685. (FileDialog): Likewise.
  13686. (FileDialog): Likewise.
  13687. * java/awt/Font.java:
  13688. Added @since tag to TYPE1_FONT field docs.
  13689. * javax/swing/plaf/basic/BasicScrollBarUI.java:
  13690. (isThumbRollover): Likewise.
  13691. (setThumbRollover): Likewise.
  13692. (getSupportsAbsolutePositioning): Likewise.
  13693. * javax/swing/plaf/basic/BasicSliderUI.java:
  13694. (isDragging): Likewise.
  13695. 2006-06-16 Lillian Angel <langel@redhat.com>
  13696. * java/awt/FileDialog.java
  13697. (FileDialog): Implemented.
  13698. (FileDialog): Implemented.
  13699. (FileDialog): Implemented.
  13700. * java/awt/Font.java:
  13701. Added TYPE1_FONT constant field.
  13702. 2006-06-16 Lillian Angel <langel@redhat.com>
  13703. * java/awt/font/TextLayout.java:
  13704. Removed unneeded imports.
  13705. * javax/swing/plaf/basic/BasicScrollBarUI.java:
  13706. Added new thumbRollover field.
  13707. (mouseMoved): Added code to set thumbRollover field.
  13708. (isThumbRollover): New function.
  13709. (setThumbRollover): New function.
  13710. (getSupportsAbsolutePositioning): Implemented. This
  13711. needs to be changed once the feature has been
  13712. implemented.
  13713. * javax/swing/plaf/basic/BasicSliderUI.java:
  13714. Added new dragging field.
  13715. (mouseDragged): Initialized dragging field.
  13716. (isDragging): New function.
  13717. * javax/swing/plaf/basic/BasicTabbedPaneUI.java
  13718. (focusGained): Marked as not implemented.
  13719. (focusLost): Likewise.
  13720. 2006-06-16 Kyle Galloway <kgallowa@redhat.com>
  13721. * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java:
  13722. Added check for null ThreadId to avoid null pointer
  13723. exception.
  13724. 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
  13725. * javax/swing/DefaultComboBoxModel.java
  13726. (removeElementAt): Set new selected item by calling setSelectedItem().
  13727. 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
  13728. * javax/swing/DefaultButtonModel.java
  13729. (setSelected): Use 'this', not null, for the item in the ItemEvent.
  13730. 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
  13731. * javax/swing/event/ListDataEvent.java: updated API docs, plus
  13732. (ListDataEvent): Handle case where index0 > index1,
  13733. (toString): Implemented.
  13734. 2006-06-16 Robert Schuster <robertschuster@fsfe.org>
  13735. * javax/swing/plaf/metal/MetalMenuBarUI.java:
  13736. (update): Added subexpression to if-statement.
  13737. 2006-06-16 Robert Schuster <robertschuster@fsfe.org>
  13738. * javax/swing/plaf/basic/BasicRadioButtonUI.java:
  13739. (installDefaults): Removed unneccessary code.
  13740. (paint): Removed complex if-cascade, revert to default icon if
  13741. icon property is not set.
  13742. (getPreferredSize): New method.
  13743. 2006-06-16 Roman Kennke <kennke@aicas.com>
  13744. PR 28027
  13745. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  13746. (drawImage): Don't use setClip() but instead clipRect() to
  13747. intersect the current clip with a new one.
  13748. 2006-06-15 Tom Tromey <tromey@redhat.com>
  13749. * scripts/sanitize-jsr166: New file.
  13750. * external/jsr166/IMPORTING: New file.
  13751. * vm/reference/sun/reflect/Reflection.java: New file.
  13752. * vm/reference/gnu/classpath/Unsafe.java: Moved...
  13753. * vm/reference/sun/misc/Unsafe.java: ...here.
  13754. 2006-06-15 Thomas Fitzsimmons <fitzsim@redhat.com>
  13755. * configure.ac: Rename appletviewer to gappletviewer, jarsigner to
  13756. gjarsigner and keytool to gkeytool.
  13757. * doc/tools.texinfo: Add note about tool exectable names.
  13758. * tools/Makefile.am: Rename appletviewer to gappletviewer,
  13759. jarsigner to gjarsigner and keytool to gkeytool.
  13760. * tools/appletviewer.in: Rename ...
  13761. * tools/gappletviewer.in: New file.
  13762. * tools/jarsigner.in: Rename ...
  13763. * tools/gjarsigner.in: New file.
  13764. * tools/keytool.in: Rename ...
  13765. * tools/gkeytool.in: New file.
  13766. * tools/toolwrapper.c: Simplify TOOLS_ZIP macro.
  13767. 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
  13768. * javax/management/AttributeList.java:
  13769. Add serialization UID.
  13770. * javax/management/DynamicMBean.java:
  13771. New file.
  13772. * javax/management/JMRuntimeException.java:
  13773. Add serialization UID and correct name
  13774. of serialized field.
  13775. * javax/management/MBeanInfo.java: New file.
  13776. 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
  13777. * javax/management/AttributeList.java,
  13778. * javax/management/JMRuntimeException.java,
  13779. * javax/management/RuntimeOperationsException.java:
  13780. New files.
  13781. 2006-06-15 Lillian Angel <langel@redhat.com>
  13782. * java/awt/font/TextLayout.java:
  13783. DEFAULT_CARET_POLICY changed to be public static final.
  13784. 2006-06-15 Tania Bento <tbento@redhat.com>
  13785. * javax/swing/plaf/metal/MetalScrollButton.java
  13786. (MetalScrollButton): Should set 'focusable' to false.
  13787. 2006-06-15 Tania Bento <tbento@redhat.com>
  13788. * javax/swing/plaf/basic/BasicArrowButton.java
  13789. (BasicArrowButton): Should set 'focusable' to false.
  13790. (BasicArrowButton): Should set 'focusable' to false.
  13791. 2006-06-15 Mark Wielaard <mark@klomp.org>
  13792. * gnu/java/awt/peer/gtk/GtkComponentPeer.java
  13793. (getGraphicsConfiguration): Return default screen device.
  13794. * gnu/java/awt/peer/gtk/GtkVolatileImage.java (component):
  13795. New field.
  13796. (GtkVolatileImage): Record initiating component.
  13797. * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
  13798. (getDeviceConfiguration): Return configuration of image component.
  13799. 2006-06-15 Mark Wielaard <mark@klomp.org>
  13800. * java/awt/geom/GeneralPath.java (closePath): Return if path already
  13801. closed.
  13802. 2006-06-15 Mark Wielaard <mark@klomp.org>
  13803. * java/awt/BasicStroke.java (createStrokedShape): Call getPathIterator
  13804. with null argument.
  13805. 2006-06-15 Kyle Galloway <kgallowa@redhat.com>
  13806. * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
  13807. (matches): Added explicit brackets to return statement.
  13808. 2006-06-15 Tania Bento <tbento@redhat.com>
  13809. * javax/swing/JRadioButtonMenuItem.java
  13810. (JRadioButtonMenuItem): Should set 'focusable' to false.
  13811. 2006-06-15 Tania Bento <tbento@redhat.com>
  13812. * javax/swing/JCheckBoxMenuItem.java
  13813. (JCheckBoxMenuItem): Should set 'focusable' to false.
  13814. 2006-06-15 Tania Bento <tbento@redhat.com>
  13815. * javax/swing/AbstractButton.java:
  13816. (AbstractButton): 'Focusable' should be set to true and not false.
  13817. 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
  13818. * java/lang/management/ManagementFactory.java:
  13819. Add private constructor to prevent instance creation.
  13820. * java/lang/management/ManagementPermission.java:
  13821. Make final.
  13822. 2006-06-15 Francis Kung <fkung@redhat.com>
  13823. * javax/swing/plaf/basic/BasicArrowButton.java:
  13824. (BasicArrowButton): move client property for not triggering out
  13825. of consturctor
  13826. * javax/swing/plaf/basic/BasicComboBoxUI.java:
  13827. (configureArrowButton): set client property for not triggering
  13828. (installUI): set client property for not triggering
  13829. * javax/swing/plaf/basic/BasicLookAndFeel.java:
  13830. (PopupHelper.mousePressed): check client property for triggering
  13831. 2006-06-15 Roman Kennke <kennke@aicas.com>
  13832. PR 28037
  13833. * javax/swing/RepaintManager.java
  13834. (blitBuffer): Substract coordinates the other way around.
  13835. 2006-06-15 Roman Kennke <kennke@aicas.com>
  13836. PR 28027
  13837. * javax/swing/JComponent.java
  13838. (paintImmediately2): Only paint component without double buffering
  13839. when all of it's parents have also double buffering disabled.
  13840. (isPaintingDoubleBuffered): New helper method.
  13841. 2006-06-15 David Gilbert <david.gilbert@object-refinery.com>
  13842. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  13843. (draw(Shape)): Pass null transform to getPathIterator(),
  13844. (getClip): Likewise,
  13845. * gnu/java/print/PostscriptGraphics2D.java
  13846. (drawStringShape): Pass null transform to getPathIterator(),
  13847. (writeShape): Likewise,
  13848. * java/awt/Shape.java: Small updates to API docs.
  13849. 2006-06-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
  13850. * javax/naming/InitialContext.java:
  13851. (list(javax.naming.Name)): Fixed generic type.
  13852. (list(String)): Likewise.
  13853. (listBindings(javax.naming.Name)): Likewise.
  13854. (listBindings(String)): Likewise.
  13855. 2006-06-14 Roman Kennke <kennke@aicas.com>
  13856. * javax/swing/plaf/basic/BasicComboBoxUI.java
  13857. (getAccessibleChildrenCount): Implemented.
  13858. (getAccessibleChild): Implemented.
  13859. (isNavigationKey): Implemented.
  13860. (KeyHandler.keyPressed): Implemented.
  13861. 2006-06-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
  13862. * java/lang/management/ManagementPermission.java:
  13863. Added serialization UID.
  13864. * javax/management/Attribute.java: Likewise.
  13865. * javax/management/MBeanException.java,
  13866. * javax/management/ReflectionException.java:
  13867. Added serialization UID and changed to extend
  13868. javax.management.JMException.
  13869. 2006-06-14 Lillian Angel <langel@redhat.com>
  13870. * java/awt/Component.java
  13871. (ignoreOldMouseEvents): Made static.
  13872. (translateEvent): Made static.
  13873. * java/awt/TextComponent.java
  13874. (ignoreOldMouseEvents): Made static.
  13875. 2006-06-14 Mark Wielaard <mark@klomp.org>
  13876. * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawLine): Lock and
  13877. call super.
  13878. (drawRect): Likewise.
  13879. (fillRect): Likewise.
  13880. 2006-06-14 Lillian Angel <langel@redhat.com>
  13881. * java/awt/Component.java
  13882. (ignoreOldMouseEvents): New helper function.
  13883. (translateEvent): Changed to be non-static and use new helper.
  13884. * java/awt/TextComponent.java
  13885. (ignoreOldMouseEvents): New helper function.
  13886. 2006-06-14 Roman Kennke <kennke@aicas.com>
  13887. * javax/swing/RepaintManager.java
  13888. (MERGE_REGIONS): New constant flag.
  13889. (commitBuffer): Exclude the merging of regions by default. This
  13890. was causing painting artifacts in some applications, especially
  13891. when different areas of the GUI are updated synchronously.
  13892. 2006-06-14 Roman Kennke <kennke@aicas.com>
  13893. * examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java:
  13894. New file. This is a benchmark for AWT 1.1 style graphics operations.
  13895. * examples/gnu/classpath/examples/awt/palme.gif: New file.
  13896. * examples/gnu/classpath/examples/awt/aicas.gif: New file.
  13897. 2006-06-14 Tom Tromey <tromey@redhat.com>
  13898. * java/io/File.java (getParent): Javadoc fix.
  13899. 2006-06-14 Tom Tromey <tromey@redhat.com>
  13900. * gnu/java/net/loader/JarURLLoader.java (initialize): Skip our own
  13901. jar.
  13902. * gnu/java/net/IndexListParser.java (IndexListParser): Call clearAll
  13903. when index entry does not exist.
  13904. 2006-06-14 Tania Bento <tbento@redhat.com>
  13905. * javax/swing/AbstractButton.java
  13906. (AbstractButton): Set focusable to false, not true.
  13907. 2006-06-14 Tania Bento <tbento@redhat.com>
  13908. * javax/swing/JMenuItem.java
  13909. (init): Changed horizontalAlignment from JButton.LEFT to JButton.LEADING.
  13910. 2006-06-14 Tania Bento <tbento@redhat.com>
  13911. * javax/swing/JCheckBoxMenuItem.java
  13912. (JCheckBoxMenuItem): Added check to set the selected state.
  13913. 2006-06-14 Roman Kennke <kennke@aicas.com>
  13914. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  13915. (cairoDrawLine): New native method.
  13916. (cairoDrawRect): New native method.
  13917. (cairoFillRect): New native method.
  13918. (drawLine): Use special native method.
  13919. (drawRect): Use special native method.
  13920. (fillRect): Use special native method.
  13921. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
  13922. (cairoDrawLine): New native method.
  13923. (cairoDrawRect): New native method.
  13924. (cairoFillRect): New native method.
  13925. * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
  13926. 2006-06-14 Mark Wielaard <mark@klomp.org>
  13927. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
  13928. (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Return when array
  13929. cannot be allocated.
  13930. 2006-06-14 Tom Tromey <tromey@redhat.com>
  13931. PR java/28024:
  13932. * m4/acinclude.m4 (REGEN_WITH_JAY): Use backquote, not $(...).
  13933. * configure.ac (QT_INCLUDE_DIR): Use backquote, not $(...).
  13934. 2006-06-14 Roman Kennke <kennke@aicas.com>
  13935. * javax/swing/JComponent.java
  13936. (isRepainting): New flag.
  13937. (paintImmediately2): Set isRepainting flag.
  13938. (getRoot): Removed obsolete method.
  13939. (paintDoubleBuffered): Differenciate between paint calls from
  13940. RepaintManager and from AWT refresh. Call
  13941. RepaintManager.commitBuffer with this and local coordinates.
  13942. (findOpaqueParent): Stop searching at heavyweight component. These
  13943. are always opaque.
  13944. (paintChildrenOptimized): Don't paint heavyweight children. These
  13945. should care for themselves.
  13946. (paintChildrenWithOverlap): Don't paint heavyweight children. These
  13947. should care for themselves.
  13948. * javax/swing/RepaintManager.java
  13949. (getOffscreenBuffer): Associate offscreen buffer with toplevel
  13950. windows only.
  13951. (getVolatileOffscreenBuffer): Associate offscreen buffer with
  13952. toplevel windows only.
  13953. (getRoot): Removed obsolete method.
  13954. (commitBuffer): Blit buffer on nearest heavyweight.
  13955. (blitBuffer): New helper method.
  13956. (getHeavyweightParent): New helper method.
  13957. (commitRemainingBuffers): Call blitBuffer instead of commitBuffer.
  13958. * javax/swing/SwingUtilities.java
  13959. (convertRectangleToAncestor): New helper method.
  13960. 2006-06-14 Raif S. Naffah <raif@swiftdsl.com.au>
  13961. * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Fixed a typo.
  13962. Condition all trace/debug code based on Configuration.DEBUG.
  13963. Use logger instead of STDOUT and ot STDERR.
  13964. 2006-06-13 Lillian Angel <langel@redhat.com>
  13965. * native/plugin/gcjwebplugin.cc
  13966. (NP_Initialize): Removed code to create whitelist file.
  13967. (GCJ_New): Added code to create whitelist file.
  13968. (plugin_user_trusts_documentbase): Fixed error message.
  13969. 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
  13970. * javax/swing/plaf/metal/MetalIconFactory.java
  13971. (HorizontalSliderThumbIcon.gradientMask): Modified by 1 pixel to
  13972. prevent overwriting border,
  13973. (VerticalSliderThumbIcon.gradientMask): Likewise.
  13974. 2006-06-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
  13975. * javax/management/AttributeNotFoundException.java,
  13976. * javax/management/InvalidAttributeValueException.java,
  13977. * javax/management/JMException.java,
  13978. * javax/management/MBeanException.java,
  13979. * javax/management/OperationsException.java,
  13980. * javax/management/ReflectionException.java:
  13981. New files.
  13982. 2006-06-13 Roman Kennke <kennke@aicas.com>
  13983. * java/awt/Component.java
  13984. (dispatchEvent): Handle events even when consumed (this might be
  13985. picked up later in the dispatching chain).
  13986. * javax/swing/plaf/basic/BasicLookAndFeel.java
  13987. (PopupHelper.mousePressed): Don't consume event. Only close popup
  13988. when target component isn't flagged as DONT_CANCEL_POPUP.
  13989. (DONT_CANCEL_POPUP): New package private constant for flagging
  13990. special components that don't trigger popup closing.
  13991. * javax/swing/plaf/basic/BasicArrowButton.java
  13992. (BasicArrowButton): Set client property for not triggering closing
  13993. of popups.
  13994. 2006-06-13 Lillian Angel <langel@redhat.com>
  13995. * java/awt/image/PixelGrabber.java
  13996. (PixelGrabber): Added to API documentation.
  13997. 2006-06-13 Keith Seitz <keiths@redhat.com>
  13998. From Kyle Galloway <kgallowa@redhat.com>:
  13999. * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
  14000. (ExceptionOnlyFilter): Allow null refId.
  14001. * gnu/classpath/jdwp/event/BreakpointEvent.java: Added _instance for
  14002. compatibility with filters.
  14003. (getParameter): Modified to allow access to above.
  14004. 2006-06-13 Sven de Marothy <sven@physto.se>
  14005. * gnu/java/awt/peer/gtk/CairoSurface.java
  14006. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
  14007. (create): Use stride in ints.
  14008. 2006-06-13 Keith Seitz <keiths@redhat.com>
  14009. From Kyle Galloway <kgallowa@redhat.com>:
  14010. * gnu/classpath/jdwp/event/ClassUnloadEvent.java: New file.
  14011. 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
  14012. * javax/swing/plaf/basic/BasicSliderUI.java
  14013. (calculateThumbSize): Removed unnecessary code,
  14014. (calculateThumbLocation): Shift position by one,
  14015. (calculateTickRect): Shift position by one when ticks are displayed,
  14016. (calculateLabelRect): Calculate rect differently according to whether
  14017. or not the labels are visible,
  14018. (paintTrack): Shift track down one pixel.
  14019. 2006-06-13 Lillian Angel <langel@redhat.com>
  14020. * java/awt/image/PixelGrabber.java
  14021. (PixelGrabber): Removed check to throw exception. JDK does
  14022. not do this.
  14023. (startGrabbing): Removed line to print stacktrace.
  14024. 2006-06-13 Mark Wielaard <mark@klomp.org>
  14025. * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage): Don't
  14026. allocate unused AffineTransform. Add comment about conversion to
  14027. BufferedImage.
  14028. * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawImage):
  14029. Recognize identity transform as "easy". Always convert to
  14030. BufferedImage before calling super.
  14031. 2006-06-13 Roman Kennke <kennke@aicas.com>
  14032. * java/awt/Component.java
  14033. (getGraphics): Translate child graphics correctly.
  14034. (dispatchEvent): Only dispatch event if it hasn't been consumed
  14035. yet by the global dispatcher.
  14036. * javax/swing/plaf/basic/BasicLookAndFeel.java
  14037. Added some API docs.
  14038. (PopupHelper.mousePressed): Consume the event after closing
  14039. opened menus.
  14040. 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
  14041. * javax/swing/plaf/basic/BasicCheckBoxUI.java: Source code formatting
  14042. changes only,
  14043. * javax/swing/plaf/basic/BasicComboBoxUI.java: Likewise,
  14044. * javax/swing/plaf/basic/BasicComboPopup.java: Likewise,
  14045. * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
  14046. * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise,
  14047. * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise,
  14048. * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise,
  14049. * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
  14050. * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise,
  14051. * javax/swing/plaf/basic/BasicRadioButtonUI.java: Likewise,
  14052. * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise,
  14053. * javax/swing/plaf/basic/BasicSliderUI.java: Likewise,
  14054. * javax/swing/plaf/basic/BasicTableHeaderUI.java: Likewise,
  14055. * javax/swing/plaf/basic/BasicTableUI.java: Likewise,
  14056. * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
  14057. * javax/swing/plaf/basic/BasicToolBarUI.java: Likewise,
  14058. * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
  14059. 2006-06-12 Sven de Marothy <sven@physto.se>
  14060. * java/awt/font/LineBreakMeasurer.java): Implement.
  14061. 2006-06-12 Keith Seitz <keiths@redhat.com>
  14062. From Kyle Galloway <kgallowa@redhat.com>:
  14063. * gnu/classpath/jdwp/event/SingleStepEvent.java: New file.
  14064. 2006-06-12 Keith Seitz <keiths@redhat.com>
  14065. From Kyle Galloway <kgallowa@redhat.com>:
  14066. * gnu/classpath/jdwp/event/MethodEntryEvent.java: New file.
  14067. * gnu/classpath/jdwp/event/MethodExitEvent.java: New file.
  14068. 2006-06-12 Roman Kennke <kennke@aicas.com>
  14069. * javax/swing/JComponent.java
  14070. (paintDoubleBuffered): Correctly translate and clip the Graphics
  14071. instance.
  14072. (clipAndTranslateGraphics): New helper method.
  14073. 2006-06-12 Roman Kennke <kennke@aicas.com>
  14074. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  14075. (copy): Use getClip() to copy the clip. Make copied transform
  14076. null when original transform is null. Set clip here.
  14077. (setTransform): Correctly update the clip.
  14078. (setTransformImpl): New method. Updates the actual transform for
  14079. Cairo.
  14080. (transform): Correctly update the clip.
  14081. (translate): Correctly update the clip.
  14082. (clip): Handle null clip and argument correctly.
  14083. (clipRect): Avoid creating new Rectangle objects.
  14084. (getClip): Get the correct copy of the clip.
  14085. (setClip): Correctly handle null argument.
  14086. * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
  14087. (CairoSurfaceGraphics): Don't set the clip here. The clip can either
  14088. be null or whatever has been set in copy().
  14089. * gnu/java/awt/peer/gtk/ComponentGraphics.java
  14090. (drawImage): Add translation to the image coordinates.
  14091. * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
  14092. (VolatileImageGraphics): Don't set clip here. The clip can either
  14093. be null or whatever has been set in copy().
  14094. 2006-06-12 Keith Seitz <keiths@redhat.com>
  14095. From Kyle Galloway <kgallowa@redhat.com>:
  14096. * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
  14097. (forCaught): Removed unused/unnecessary method.
  14098. (forUncaught): Likewise.
  14099. (matches): Implement.
  14100. 2006-06-12 Keith Seitz <keiths@redhat.com>
  14101. From Kyle Galloway <kgallowa@redhat.com>:
  14102. * gnu/classpath/jdwp/event/ExceptionEvent.java: New file.
  14103. 2006-06-12 Keith Seitz <keiths@redhat.com>
  14104. From Kyle Galloway <kgallowa@redhat.com>:
  14105. * gnu/classpath/jdwp/event/Event.java: Added constants for
  14106. type.
  14107. (getParameter): Changed parameter type from Class to int.
  14108. * gnu/classpath/jdwp/event/BreakpointEvent.java (getParameter):
  14109. Changed from Class type to constants.
  14110. * gnu/classpath/jdwp/event/ClassPrepareEventEvent.java (getParameter):
  14111. Likewise.
  14112. * gnu/classpath/jdwp/event/ThreadEndEvent.java (getParameter):
  14113. Likewise.
  14114. * gnu/classpath/jdwp/event/ThreadStartEvent.java (getParameter):
  14115. Likewise.
  14116. * gnu/classpath/jdwp/event/VmDeathEvent.java (getParameter):
  14117. Likewise.
  14118. * gnu/classpath/jdwp/event/VmInitEvent.java (getParameter):
  14119. Likewise.
  14120. * gnu/classpath/jdwp/event/ClassMatchFilter.java (matches):
  14121. Likewise.
  14122. * gnu/classpath/jdwp/event/ClassOnlyFilter.java (matches):
  14123. Likewise.
  14124. * gnu/classpath/jdwp/event/InstanceOnlyFilter.java (matches):
  14125. Likewise.
  14126. * gnu/classpath/jdwp/event/ThreadOnlyFilter.java (matches):
  14127. Likewise.
  14128. 2006-06-12 Lillian Angel <langel@redhat.com>
  14129. * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java
  14130. (StandaloneAppletWindow): Changed title of standalone window.
  14131. 2006-06-12 Lillian Angel <langel@redhat.com>
  14132. * javax/swing/plaf/basic/BasicTabbedPaneUI.java
  14133. (layoutContainer): Added missing selectedComponent assignment.
  14134. 2006-06-12 Lillian Angel <langel@redhat.com>
  14135. * javax/swing/plaf/basic/BasicTabbedPaneUI.java
  14136. (layoutContainer): Added check to prevent exception.
  14137. 2006-06-12 Tom Tromey <tromey@redhat.com>
  14138. * java/lang/Thread.java (uncaughtException): Javadoc fix.
  14139. 2006-06-12 Mark Wielaard <mark@klomp.org>
  14140. * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasLock):
  14141. New static field.
  14142. (ONE): Likewise.
  14143. (lock): New method.
  14144. (unlock): Likewise.
  14145. (draw): Use lock() and unlock().
  14146. (fill): Likewise.
  14147. (drawRenderedImage): Likewise.
  14148. (drawImage): Likewise.
  14149. (drawGlyphVector): Likewise.
  14150. 2006-06-12 Roman Kennke <kennke@aicas.com>
  14151. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  14152. (drawPixels): Include alpha in parameter list.
  14153. (cairoFill): Include alpha in parameter list.
  14154. (setComposite): Don't modify the color.
  14155. (draw(Shape))): Use fill when the current composite has an alpha
  14156. of != 1.0, so that the stroked shaped will be composited.
  14157. (fill(Shape)): Call cairoFill() with alpha.
  14158. (drawImage): Call drawPixels or drawSurface with alpha.
  14159. (drawGlyphVector): When composite alpha is != 1.0, render the
  14160. outline using fill() to enable compositing for text.
  14161. (drawRaster): Call drawPixels with alpha.
  14162. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  14163. (nativeDrawSurface): Include alpha in parameter list.
  14164. (drawSurface): Include alpha in parameter list. Pass it to
  14165. nativeDrawSurface().
  14166. * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
  14167. * include/gnu_java_awt_peer_gtk_CairoSurface.h:
  14168. Regenerated.
  14169. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
  14170. (drawPixels): Handle possible alpha for compositing.
  14171. (cairoFill): Likewise.
  14172. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
  14173. (nativeDrawSurface): Handle possible alpha for compositing.
  14174. 2006-06-12 Mark Wielaard <mark@klomp.org>
  14175. * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
  14176. Notify data when completely done. Wait for worker thread to finish.
  14177. Rethrow any pending exceptions.
  14178. (exception): New field.
  14179. (run): Store pending exception.
  14180. 2006-06-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
  14181. * java/lang/management/ManagementPermission.java:
  14182. New file.
  14183. 2006-06-12 Raif S. Naffah <raif@swiftdsl.com.au>
  14184. * doc/tools.texinfo: Replaced original author with "The GNU Classpath Team".
  14185. 2006-06-12 Raif S. Naffah <raif@swiftdsl.com.au>
  14186. * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
  14187. Use String.charAt().
  14188. 2006-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
  14189. * doc/tools.texinfo
  14190. (Applet Tools): New chapter.
  14191. (appletviewer Tool): New section.
  14192. (gcjwebplugin): New section.
  14193. 2006-06-11 Mark Wielaard <mark@klomp.org>
  14194. * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
  14195. Takes GdkPixbufWriter.
  14196. (GdkPixbufWriter): Implements Runnable.
  14197. (write(IIOMetadata,IIOImage,ImageWriteParam)): Start Thread for
  14198. data processing.
  14199. (DATADONE): New static final field.
  14200. (data): New field.
  14201. (write(byte[])): New method.
  14202. (run): Likewise.
  14203. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
  14204. (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initStaticState):
  14205. Get dataOutputWriteID from writeClass.
  14206. (stream_save_request): Change stream field to writer.
  14207. (save_to_stream): Remove FIXME, call writer.
  14208. (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage):
  14209. Store writer.
  14210. 2006-06-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
  14211. * NEWS:
  14212. Mention new VM interface and use of properties.
  14213. * doc/vmintegration.texinfo:
  14214. Update with new gnu.java.lang.management section.
  14215. * gnu/java/lang/management/RuntimeMXBeanImpl.java:
  14216. New file.
  14217. * java/lang/management/ManagementFactory.java:
  14218. (getRuntimeMXBean()): Implemented.
  14219. * vm/reference/gnu/java/lang/management/RuntimeMXBeanImpl.java:
  14220. New VM interface file.
  14221. 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
  14222. PR Classpath/26065
  14223. * gnu/javax/security/auth/login/GnuConfiguration.java: Condition all trace/
  14224. debug code based on Configuration.DEBUG.
  14225. Use logger instead of STDOUT and ot STDERR.
  14226. * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
  14227. * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
  14228. * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
  14229. * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
  14230. * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
  14231. * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
  14232. * gnu/javax/crypto/pad/TBC.java: Likewise.
  14233. * gnu/javax/crypto/pad/PKCS7.java: Likewise.
  14234. * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
  14235. * gnu/javax/crypto/pad/BasePad.java: Likewise.
  14236. * gnu/javax/crypto/mac/OMAC.java: Likewise.
  14237. * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
  14238. * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
  14239. * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
  14240. * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
  14241. * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
  14242. * gnu/javax/crypto/keyring/Entry.java: Likewise.
  14243. * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
  14244. * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
  14245. * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
  14246. * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
  14247. * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
  14248. * gnu/javax/crypto/cipher/Twofish.java: Likewise.
  14249. * gnu/javax/crypto/cipher/Khazad.java: Likewise.
  14250. * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
  14251. * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
  14252. * gnu/javax/crypto/cipher/Anubis.java: Likewise.
  14253. * gnu/java/security/Properties.java: Likewise.
  14254. * gnu/java/security/x509/X509CRLEntry.java: Likewise.
  14255. * gnu/java/security/x509/X509CRL.java: Likewise.
  14256. * gnu/java/security/x509/ext/Extension.java: Likewise.
  14257. * gnu/java/security/util/Prime2.java: Likewise.
  14258. * gnu/java/security/util/Base64.java: Likewise.
  14259. * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
  14260. * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
  14261. * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
  14262. * gnu/java/security/pkcs/SignerInfo.java: Likewise.
  14263. * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
  14264. * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
  14265. * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
  14266. * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
  14267. * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
  14268. * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
  14269. * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
  14270. * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
  14271. * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
  14272. * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
  14273. * gnu/java/security/hash/Whirlpool.java: Likewise.
  14274. 2006-06-11 Mark Wielaard <mark@klomp.org>
  14275. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
  14276. (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs):
  14277. Remove unused variable glyph_index.
  14278. 2006-06-11 Mark Wielaard <mark@klomp.org>
  14279. * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage):
  14280. Don't recurse, return false if not an BufferedImage and no image
  14281. source available.
  14282. * gnu/java/awt/peer/gtk/ComponentGraphics.java (draw): Add
  14283. end_gdk_drawing() to finally block.
  14284. (fill): Likewise.
  14285. (drawRenderedImage): Likewise.
  14286. (drawImage): Likewise.
  14287. (drawGlyphVector): Likewise.
  14288. 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
  14289. * doc/tools.texinfo: Added text for new -cacert command.
  14290. Re-structured sections.
  14291. * resource/gnu/classpath/tools/keytool/messages.properties: Added messages
  14292. for -cacert command.
  14293. * tools/gnu/classpath/tools/keytool/Main.java (CACERT_CMD): New constant.
  14294. (_CACERT): Likewise.
  14295. (shutdownThread): New field.
  14296. (Main): Install shutdown thread.
  14297. (main): Uninstall shutdown thread.
  14298. (start): Handle new -cacert command.
  14299. (getParser): Likewise.
  14300. (teardown): Increased visibility.
  14301. (ShutdownHook): New inner class.
  14302. * tools/gnu/classpath/tools/keytool/CACertCmd.java: New file.
  14303. 2006-06-11 Sven de Marothy <sven@physto.se>
  14304. * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
  14305. (setupGlyphMetrics): New method. Add glyphmetrics caching.
  14306. (getOutline): Operate on the shape directly.
  14307. * gnu/java/awt/peer/gtk/GdkFontPeer.java
  14308. (getGlyphMetrics,putGlyphMetrics): Add GlyphMetrics caching.
  14309. * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
  14310. (getGlyph renamed getGlyphs)
  14311. * java/awt/geom/AffineTransform.java
  14312. (getTranslateInstance): Set fields directly.
  14313. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
  14314. (getGlyphs): Get all glyph codes at once.
  14315. 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
  14316. PR Classpath/27853
  14317. * gnu/javax/crypto/RSACipherImpl.java (engineDoFinal): Was short by 1 byte.
  14318. 2006-06-11 Sven de Marothy <sven@physto.se>
  14319. * java/awt/font/TextLayout.java
  14320. (getLogicalHighlightShape): Add check.
  14321. * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
  14322. (getLogicalBounds, getGlyphPositions): Cache bounds, positions.
  14323. 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
  14324. * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
  14325. Check that every component of 'cn' starts with a valid Java identifier char.
  14326. 2006-06-10 Tom Tromey <tromey@redhat.com>
  14327. * java/io/File.java (pathSeparator): Typo fix.
  14328. 2006-06-10 Mark Wielaard <mark@klomp.org>
  14329. * native/jni/gtk-peer/cairographics2d.h (cp_gtk_get_cairo_t):
  14330. Removed.
  14331. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
  14332. Mark all unused parameters.
  14333. (cp_gtk_get_cairo_t): Removed.
  14334. (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix):
  14335. Don't mix declerations and statements.
  14336. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c:
  14337. Mark all unused parameters.
  14338. (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface):
  14339. Get cairographics2d pointer directly.
  14340. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
  14341. (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
  14342. Use jlong to pass pointer.
  14343. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
  14344. Mark all unused parameters.
  14345. * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
  14346. * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
  14347. * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
  14348. * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Regenerated.
  14349. * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h: Regenerated.
  14350. * include/java_io_VMFile.h: Regenerated.
  14351. 2006-06-10 Roman Kennke <kennke@aicas.com>
  14352. * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
  14353. (VolatileImageGraphics(VolatileImageGraphics)): Use clipRect()
  14354. instead of setClip(), so that an already present clip is intersected
  14355. and not resetted.
  14356. 2006-06-10 Mark Wielaard <mark@klomp.org>
  14357. * gnu/java/awt/peer/gtk/GdkFontPeer.java (GdkFontLineMetrics):
  14358. Call getSize() to avoid accessor method.
  14359. 2006-06-10 Mark Wielaard <mark@klomp.org>
  14360. * javax/swing/text/html/HTMLDocument.java (addSpecialElement):
  14361. Qualify ElementSpec.
  14362. 2006-06-10 Mark Wielaard <mark@klomp.org>
  14363. * lib/.cvsignore: Add sun.
  14364. * lib/Makefile.am (dist-hook): Likewise.
  14365. 2006-06-10 Roman Kennke <kennke@aicas.com>
  14366. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  14367. * gnu/java/awt/peer/gtk/CairoSurface.java
  14368. * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
  14369. * gnu/java/awt/peer/gtk/ComponentGraphics.java
  14370. * gnu/java/awt/peer/gtk/GtkVolatileImage.java
  14371. * native/jni/gtk-peer/cairographics2d.h
  14372. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
  14373. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
  14374. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
  14375. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
  14376. Changed method signatures and calls to pass native pointers directly
  14377. into the JNI code, in order to avoid costly lookups on each
  14378. JNI call.
  14379. * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
  14380. * include/gnu_java_awt_peer_gtk_CairoSurface.h,
  14381. * include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
  14382. * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h:
  14383. Regenerated
  14384. 2006-06-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  14385. PR 27973
  14386. * javax/swing/text/DefaultStyledDocument.java
  14387. (ElementBuffer.insertContentTag):
  14388. Do not recreate leaves and do not remove elements here.
  14389. 2006-06-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  14390. * javax/swing/text/html/HTMLDocument.java
  14391. (HTMLReader.HiddenAction): Implemented.
  14392. 2006-06-10 Roman Kennke <kennke@aicas.com>
  14393. * javax/swing/RepaintManager.java
  14394. (getVolatileOffscreenBuffer): Store the created buffer.
  14395. * javax/swing/JComponent.java
  14396. (paintDoubleBuffered): Try to use a volatile offscreen buffer
  14397. for better performance.
  14398. 2006-06-10 Roman Kennke <kennke@aicas.com>
  14399. * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
  14400. (VolatileImageGraphics(VolatileImageGraphics)): Initialize native
  14401. context correctly.
  14402. (getRealBounds): Overridden to return the correct bounds.
  14403. 2006-06-10 Roman Kennke <kennke@aicas.com>
  14404. * javax/swing/plaf/metal/MetalButtonUI.java
  14405. (update): Fixed to paint the gradient under the correct conditions.
  14406. (updateWidthGradient): Removed.
  14407. (isToolbarButton): New helper method.
  14408. (isDrawingGradient): New helper method.
  14409. 2006-06-09 Roman Kennke <kennke@aicas.com>
  14410. * javax/swing/JTabbedPane.java
  14411. (setSelectedIndex): Don't change the visibility of the components,
  14412. this is done by the UI class.
  14413. * javax/swing/plaf/basic/BasicTabbedPaneUI.java
  14414. (TabbedPaneLayout.layoutContainer): Change visibility of component
  14415. here, depending on the selected index. Only do this if the new
  14416. selected component is not null. Some programs seem to expect
  14417. this.
  14418. (visibleComponent): New field.
  14419. (getVisibleComponent): Changed to return visibleComponent field.
  14420. (setVisibleComponent): Changed to set the visibility of
  14421. the old and new visible component.
  14422. 2006-06-09 Roman Kennke <kennke@aicas.com>
  14423. * javax/swing/JComponent.java
  14424. (paintChildrenOptimized): Paint component with a new Graphics
  14425. object to protect the other painting code from modifications
  14426. done in that object, and avoid cleanup ops on possibly dispose()ed
  14427. Graphics object.
  14428. 2006-06-09 Sven de Marothy <sven@physto.se>
  14429. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
  14430. (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
  14431. Use GTK locks while disposing (Xlib) surface.
  14432. 2006-06-09 Tom Tromey <tromey@redhat.com>
  14433. * lib/Makefile.am (install-data-local): Copy 'sun' files.
  14434. (uninstall-local): Delete 'sun' directory.
  14435. (glibj.zip): Include 'sun' classes.
  14436. (clean-local): Delete 'sun' directory.
  14437. * lib/gen-classlist.sh.in: Search 'sun' subdirectories.
  14438. 2006-06-09 Roman Kennke <kennke@aicas.com>
  14439. * gnu/java/awt/java2d/AbstractGraphics2D.java
  14440. (drawImage): Fixed scaling.
  14441. (fillShape): Removed offset handling.
  14442. (fillShapeImpl): Limit scanlining to device bounds.
  14443. (getSegments): Removed offset handling.
  14444. * gnu/java/awt/java2d/PolyEdge.java
  14445. (toString): Include isClip flag in output.
  14446. 2006-06-08 Sven de Marothy <sven@physto.se>
  14447. * java/awt/font/TextLayout.java
  14448. (getOutline): Allow null transform.
  14449. 2006-06-08 Sven de Marothy <sven@physto.se>
  14450. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  14451. (drawString): Use TextLayout instead of GlyphVector.
  14452. 2006-06-08 Sven de Marothy <sven@physto.se>
  14453. * java/text/Bidi.java: Treat WS as neutral for rules N1 & N2.
  14454. * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
  14455. New constructor for bidirectionality.
  14456. (getGlyphMetrics): Return whitespace glyphs.
  14457. (getLogicalBounds): Offset rectangles to correct positions.
  14458. * gnu/java/awt/peer/gtk/GdkFontPeer.java
  14459. (getBaselineFor): Default to ROMAN_BASELINE.
  14460. (GdkFontLineMetrics): Guess some values for underline and
  14461. strikethrough.
  14462. (layoutGlyphVector): Use bidirectionality.
  14463. * java/awt/font/TextLayout.java: Implement, mostly.
  14464. 2006-06-09 Anthony Green <green@redhat.com>
  14465. PR classpath/27888:
  14466. * javax/swing/text/GapContent.java (binarySearch): Use unsigned shift.
  14467. * java/util/Collections.java (binarySearch): Use unsigned shift.
  14468. * java/util/Arrays.java (binarySearch): Use unsigned shift.
  14469. 2006-06-09 Tom Tromey <tromey@redhat.com>
  14470. * tools/.cvsignore: Added .deps.
  14471. 2006-06-09 Kazuya Ujihara <ujihara@aurora.dti.ne.jp>
  14472. PR classpath/27966:
  14473. * gnu/javax/security/auth/login/ConfigFileParser.java
  14474. (validateClassName): Quote '.' in regexp.
  14475. 2006-06-09 Tom Tromey <tromey@redhat.com>
  14476. PR classpath/23863:
  14477. * native/fdlibm/dtoa.c (_dtoa): Free contents of _Jv_reent when
  14478. finished.
  14479. * native/fdlibm/mprec.c: New version from newlib. Commented out
  14480. some includes. Added <assert.h>.
  14481. (_reent, _Bigint): New defines.
  14482. (_REENT_CHECK_MP, _REENT_MP_FREELIST, _REENT_MP_P5S): Likewise.
  14483. (__ULong, __Long): New types.
  14484. (_calloc_r): New function.
  14485. (Balloc): Dynamically add new _freelist entries as needed.
  14486. * native/fdlibm/mprec.h (struct _Jv_Bigint): Don't use
  14487. MAX_BIGNUMS to size _x[].
  14488. (struct _Jv_reent): _freelist now a _Jv_Bigint**. Removed
  14489. _allocation_map, num. Added _max_k.
  14490. 2006-06-09 Roman Kennke <kennke@aicas.com>
  14491. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  14492. (drawGlyphVector): Added fallback for non-FreetypeGlyphVector
  14493. implementations.
  14494. 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
  14495. * java/awt/image/BufferedImage.java
  14496. (BufferedImage(int, int, int)): Added API docs,
  14497. (getProperty(String)): Return correct value for undefined properties,
  14498. (getPropertyNames()): Added comments and removed FIXME.
  14499. 2006-06-09 Thomas Fitzsimmons <fitzsim@redhat.com>
  14500. * native/plugin/gcjwebplugin.cc (PLUGIN_ERROR_THREE): New macro.
  14501. (NP_Initialize): Use PLUGIN_ERROR_THREE in place of g_strconcat.
  14502. 2006-06-09 Francis Kung <fkung@redhat.com>
  14503. * javax/swing/plaf/basic/BasicComboBoxRenderer.java:
  14504. (getPreferredSize): Return correct height for null or empty
  14505. items.
  14506. 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
  14507. * java/awt/datatransfer/DataFlavor.java
  14508. (readExternal): Mark as stub,
  14509. (writeExternal): Likewise,
  14510. * java/awt/dnd/DropTargetContext.java
  14511. (dropComplete): Mark as stub,
  14512. (acceptDrag): Likewise,
  14513. (rejectDrag): Likewise,
  14514. (acceptDrop): Likewise,
  14515. (rejectDrop): Likewise,
  14516. (getCurrentDataFlavors): Likewise,
  14517. (getTransferable): Likewise,
  14518. * java/awt/dnd/DropTargetDropEvent.java
  14519. (dropComplete): Mark as stub.
  14520. 2006-06-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  14521. * gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java
  14522. (constructor): Do not lowercase the values.
  14523. * javax/swing/text/html/HTMLDocument.java
  14524. (HTMLReader.addSpecialElement): Implemented.
  14525. * examples/gnu/classpath/examples/swing/HtmlDemo.java: New file.
  14526. 2006-06-09 Raif S. Naffah <raif@swiftdsl.com.au>
  14527. On behalf of Matthew Wringe <mwringe@redhat.com>
  14528. * gnu/java/security/Registry.java (ISO10126_PAD): New constant.
  14529. * gnu/javax/crypto/pad/ISO10126.java: New class.
  14530. * gnu/javax/crypto/pad/PadFactory.java (names): New field.
  14531. (getInstance): Added support for ISO-10126 scheme.
  14532. (getNames): Likewise.
  14533. Cache result for speed.
  14534. 2006-06-09 Raif S. Naffah <raif@swiftdsl.com.au>
  14535. * gnu/javax/crypto/pad/BasePad.java (selfTest): Re-factored to allow more
  14536. flexible self-test by sub-classes.
  14537. (test1BlockSize): New method.
  14538. 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
  14539. * javax/swing/plaf/basic/BasicLookAndFeel.java
  14540. (initComponentDefaults): Corrected 'ScrollBar.focusInputMap' entry,
  14541. * javax/swing/plaf/basic/BasicScrollBarUI.java
  14542. (installKeyboardActions): Implemented,
  14543. (uninstallKeyboardActions): Implemented,
  14544. (getInputMap): New method,
  14545. (getActionMap): New method,
  14546. (createActionMap): New method,
  14547. (installUI): Call installKeyboardActions(),
  14548. (uninstallUI): Call uninstallKeyboardActions().
  14549. 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
  14550. * javax/swing/plaf/basic/BasicScrollPaneUI.java
  14551. (getActionMap): Use correct key to store action map.
  14552. 2006-06-09 Jeroen Frijters <jeroen@frijters.net>
  14553. * gnu/java/awt/font/opentype/truetype/VirtualMachine.java
  14554. (executeInstruction): Added NOT support.
  14555. 2006-06-09 Jeroen Frijters <jeroen@frijters.net>
  14556. * sun/reflect/annotation/AnnotationInvocationHandler.java:
  14557. New file.
  14558. 2006-06-08 Tom Tromey <tromey@redhat.com>
  14559. * java/text/Bidi.java (resolveNeutralTypes): Set j'th slot
  14560. of 'types'.
  14561. 2006-06-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
  14562. * java/lang/management/RuntimeMXBean.java:
  14563. New file.
  14564. 2006-06-08 Lillian Angel <langel@redhat.com>
  14565. * native/plugin/gcjwebplugin.cc:
  14566. (NP_Shutdown): Freed whitelist_filename.
  14567. 2006-06-08 Lillian Angel <langel@redhat.com>
  14568. * native/plugin/Makefile.am:
  14569. Removed DATA_DIRECTORY.
  14570. * native/plugin/gcjwebplugin.cc:
  14571. Added new global fields for whitelist_file
  14572. and data_directory. Removed WHITELIST_FILE.
  14573. (NP_Initialize): Initialized new fields. Also,
  14574. Changed to use new fields.
  14575. (NP_Shutdown): Freed data_directory.
  14576. (GCJ_New): Changed to use new fields.
  14577. (plugin_ask_user_about_documentbase): Likewise.
  14578. 2006-06-08 Lillian Angel <langel@redhat.com>
  14579. * native/plugin/Makefile.am:
  14580. Changed DATA_DIRECTORY to be ~/.gcjwebplugin.
  14581. * native/plugin/gcjwebplugin.cc:
  14582. Changed all instances of PLUGIN_DATA_DIRECTORY
  14583. to DATA_DIRECTORY.
  14584. 2006-06-08 Roman Kennke <kennke@aicas.com>
  14585. * java/awt/LightweightDispatcher.java
  14586. (handleMouseEvent): Replaced calls to AWTUtilities.convertPoint()
  14587. with convertPointToChild(). This is more efficient and avoids
  14588. problems with getLocationOnScreen().
  14589. (findTarget): Check for component beeing showing() early.
  14590. Simplified AWTUtilities.convertPoint() to a simple substraction
  14591. operation.
  14592. (convertPointToChild): New helper method.
  14593. 2006-06-08 Thomas Fitzsimmons <fitzsim@redhat.com>
  14594. * native/plugin/gcjwebplugin.cc (SECURITY_DESCRIPTION): Update
  14595. message.
  14596. 2006-06-08 Tom Fitzsimmons <fitzsim@redhat.com>
  14597. Lillian Angel <langel@redhat.com>
  14598. * native/plugin/gcjwebplugin.cc
  14599. (NP_Shutdown): Added code to free plugin mutex and whitelist file.
  14600. Also, reset initialized field.
  14601. 2006-06-08 Lillian Angel <langel@redhat.com>
  14602. * javax/swing/plaf/basic/BasicProgressBarUI.java
  14603. (paintString): Fixed to paint string at the correct location.
  14604. 2006-06-08 Roman Kennke <kennke@aicas.com>
  14605. * javax/swing/plaf/basic/BasicTreeUI.java
  14606. (createDefaultActions): Added new actions.
  14607. (TreePageAction.TreePageAction): Set action name.
  14608. (TreePageAction.actionPerformed): Implemented.
  14609. (TreePageAction.isEnabled): Implemented.
  14610. (TreeToggleAction.TreePageAction): Set action name.
  14611. (TreeToggleAction.actionPerformed): Implemented.
  14612. (TreeToggleAction.isEnabled): Implemented.
  14613. (TreeTraverseAction.TreeTraverseAction): Set action name.
  14614. (TreeTraverseAction.actionPerformed): Use action name as command.
  14615. (TreeTraverseAction.isEnabled): Implemented.
  14616. 2006-06-08 Roman Kennke <kennke@aicas.com>
  14617. * javax/swing/plaf/basic/BasicTreeUI.java
  14618. (installKeyboardActions): Rewritten to correctly install the UI
  14619. input and action maps.
  14620. (getActionMap): New helper method.
  14621. (createDefaultActionMap): New helper method.
  14622. (TreeHomeAction.TreeHomeAction()): Implemented.
  14623. (TreeHomeAction.actionPerformed): Implemented.
  14624. (TreeHomeAction.isEnabled): Implemented.
  14625. (TreeIncrementAction.TreeIncrementAction()): Implemented.
  14626. (TreeIncrementAction.actionPerformed): Use action name as command.
  14627. (TreeIncrementAction.isEnabled): Implemented.
  14628. 2006-06-08 Mark Wielaard <mark@klomp.org>
  14629. PR 27917
  14630. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
  14631. (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Ref pixbuf
  14632. and unref loader.
  14633. 2006-06-08 Mark Wielaard <mark@klomp.org>
  14634. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
  14635. (attrs): Removed unused static.
  14636. 2006-06-08 David Gilbert <david.gilbert@object-refinery.com>
  14637. * javax/swing/plaf/basic/BasicScrollPaneUI.java
  14638. (getInputMap): New method,
  14639. (getActionMap): New method,
  14640. (createActionMap): New method,
  14641. (installKeyboardActions): Implemented,
  14642. (uninstallKeyboardActions): Implemented.
  14643. 2006-06-08 Robert Schuster <robertschuster@fsfe.org>
  14644. * javax/swing/border/MatteBorder.java:
  14645. (MatteBorder(int,int,int,int,Icon)): Removed if-statement and exception
  14646. throwing.
  14647. (paintBorder): Added if-statement to abort painting early.
  14648. 2006-06-08 Robert Schuster <robertschuster@fsfe.org>
  14649. Fixes PR27864.
  14650. * gnu/xml/dom/DomIterator.java:
  14651. (successor): Changed expression.
  14652. 2006-06-08 Sven de Marothy <sven@physto.se>
  14653. * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
  14654. (defaultLayout): Do kerning.
  14655. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
  14656. (getKerning): Correct class name, removed unused variable.
  14657. 2006-06-07 Thomas Fitzsimmons <fitzsim@redhat.com>
  14658. * gnu/java/awt/peer/qt/QtToolkit.java (initToolkit): Load
  14659. libqtpeer.so unconditionally.
  14660. 2006-06-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
  14661. * java/util/InputMismatchException.java:
  14662. Documented.
  14663. 2006-06-07 Andreas Tobler <a.tobler@schweiz.ch>
  14664. * native/jawt/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
  14665. 2006-06-07 Roman Kennke <kennke@aicas.com>
  14666. * javax/swing/plaf/basic/BasicTreeUI.java
  14667. (completeUIUninstall): Implemented.
  14668. (uninstallUI): Moved some bits to completeUIUninstall(). Complete
  14669. editing before uninstalling anything.
  14670. (isToggleEvent): Implemented.
  14671. (selectPathForEvent): Make use of isToggleEvent().
  14672. (ComponentHandler.componentMoved): Implemented.
  14673. (ComponentHandler.startTimer): Implemented.
  14674. (ComponentHandler.getScrollPane): Implemented.
  14675. (ComponentHandler.actionPerformed): Implemented.
  14676. 2006-06-07 Francis Kung <fkung@redhat.com>
  14677. * javax/swing/JMenuBar.java:
  14678. (getSubElements): Do not return null values.
  14679. 2006-06-07 Roman Kennke <kennke@aicas.com>
  14680. PR 27902
  14681. * gnu/regexp/BacktrackStack.java
  14682. * gnu/regexp/CharIndexed.java
  14683. * gnu/regexp/CharIndexedCharArray.java
  14684. * gnu/regexp/CharIndexedCharSequence.java
  14685. * gnu/regexp/CharIndexedInputStream.java
  14686. * gnu/regexp/CharIndexedString.java
  14687. * gnu/regexp/CharIndexedStringBuffer.java
  14688. * gnu/regexp/RE.java
  14689. * gnu/regexp/REException.java
  14690. * gnu/regexp/REFilterInputStream.java
  14691. * gnu/regexp/REMatch.java
  14692. * gnu/regexp/REMatchEnumeration.java
  14693. * gnu/regexp/RESyntax.java
  14694. * gnu/regexp/REToken.java
  14695. * gnu/regexp/RETokenAny.java
  14696. * gnu/regexp/RETokenBackRef.java
  14697. * gnu/regexp/RETokenChar.java
  14698. * gnu/regexp/RETokenEnd.java
  14699. * gnu/regexp/RETokenEndOfPreviousMatch.java
  14700. * gnu/regexp/RETokenEndSub.java
  14701. * gnu/regexp/RETokenIndependent.java
  14702. * gnu/regexp/RETokenLookAhead.java
  14703. * gnu/regexp/RETokenLookBehind.java
  14704. * gnu/regexp/RETokenNamedProperty.java
  14705. * gnu/regexp/RETokenOneOf.java
  14706. * gnu/regexp/RETokenPOSIX.java
  14707. * gnu/regexp/RETokenRange.java
  14708. * gnu/regexp/RETokenRepeated.java
  14709. * gnu/regexp/RETokenStart.java
  14710. * gnu/regexp/RETokenWordBoundary.java
  14711. * gnu/regexp/UncheckedRE.java
  14712. * gnu/java/util/regex/BacktrackStack.java
  14713. * gnu/java/util/regex/CharIndexed.java
  14714. * gnu/java/util/regex/CharIndexedCharArray.java
  14715. * gnu/java/util/regex/CharIndexedCharSequence.java
  14716. * gnu/java/util/regex/CharIndexedInputStream.java
  14717. * gnu/java/util/regex/CharIndexedString.java
  14718. * gnu/java/util/regex/CharIndexedStringBuffer.java
  14719. * gnu/java/util/regex/RE.java
  14720. * gnu/java/util/regex/REException.java
  14721. * gnu/java/util/regex/REFilterInputStream.java
  14722. * gnu/java/util/regex/REMatch.java
  14723. * gnu/java/util/regex/REMatchEnumeration.java
  14724. * gnu/java/util/regex/RESyntax.java
  14725. * gnu/java/util/regex/REToken.java
  14726. * gnu/java/util/regex/RETokenAny.java
  14727. * gnu/java/util/regex/RETokenBackRef.java
  14728. * gnu/java/util/regex/RETokenChar.java
  14729. * gnu/java/util/regex/RETokenEnd.java
  14730. * gnu/java/util/regex/RETokenEndOfPreviousMatch.java
  14731. * gnu/java/util/regex/RETokenEndSub.java
  14732. * gnu/java/util/regex/RETokenIndependent.java
  14733. * gnu/java/util/regex/RETokenLookAhead.java
  14734. * gnu/java/util/regex/RETokenLookBehind.java
  14735. * gnu/java/util/regex/RETokenNamedProperty.java
  14736. * gnu/java/util/regex/RETokenOneOf.java
  14737. * gnu/java/util/regex/RETokenPOSIX.java
  14738. * gnu/java/util/regex/RETokenRange.java
  14739. * gnu/java/util/regex/RETokenRepeated.java
  14740. * gnu/java/util/regex/RETokenStart.java
  14741. * gnu/java/util/regex/RETokenWordBoundary.java
  14742. * gnu/java/util/regex/UncheckedRE.java
  14743. Moved gnu.regexp classes to gnu.java.util.regex package.
  14744. * java/util/regex/Matcher.java
  14745. * java/util/regex/Pattern.java
  14746. Adjusted import statements for new package name for gnu regexp.
  14747. 2006-06-07 Tom Tromey <tromey@redhat.com>
  14748. PR classpath/27905:
  14749. * gnu/java/nio/charset/Provider.java (loadExtended): Now synchronized.
  14750. Added missing charsets.
  14751. (charsetForName): Don't check 'extendedLoaded'.
  14752. 2006-06-07 Roman Kennke <kennke@aicas.com>
  14753. PR 27833
  14754. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  14755. (clip(Shape)): Implemented correctly, so that the current shape
  14756. gets intersected by the parameter shape.
  14757. 2006-06-07 Lillian Angel <langel@redhat.com>
  14758. * javax/swing/plaf/basic/BasicTabbedPaneUI.java
  14759. (getTabBounds): If this method is called with a tab index
  14760. that is not in the rects array, we need to re-layout the container
  14761. so it is created.
  14762. 2006-06-07 Lillian Angel <langel@redhat.com>
  14763. * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
  14764. (FreetypeGlyphVector): Removed assignment. Caused compilation error.
  14765. * java/lang/String.java
  14766. (codePointCount): Fixed check to match API. Shouldn't throw exception
  14767. if end == count. end is 1 more than the endIndex, so end == count is
  14768. possible.
  14769. 2006-06-07 Gary Benson <gbenson@redhat.com>
  14770. PR 24895
  14771. * native/jni/java-io/java_io_VMFile.c
  14772. (Java_java_io_VMFile_toCanonicalForm): New method.
  14773. * configure.ac: Added checks for lstat and readlink.
  14774. * include/java_io_VMFile.h: Added new method.
  14775. * vm/reference/java/io/VMFile.java: Use new method.
  14776. * gnu/java/io/PlatformHelper.java (toCanonicalForm): Removed.
  14777. * NEWS: Documented the above.
  14778. * java/io/File.java: Javadoc fix.
  14779. 2006-06-07 Roman Kennke <kennke@aicas.com>
  14780. PR 27920
  14781. * javax/swing/JTree.java
  14782. (JTree()): Initialize with default model.
  14783. (JTree(TreeModel)): Clear expanded state hashtable. Added comment
  14784. on the updateUI() / setModel() order.
  14785. (setModel): Correctly (un-)setup the listeners. Clear the expanded
  14786. paths.
  14787. * javax/swing/plaf/basic/BasicTreeUI.java
  14788. (BasicTreeUI()): Initialize listeners in installListeners().
  14789. (setModel): Complete editing on model change. Correctly resetup
  14790. the listeners. Update the layout cache accordingly.
  14791. (setShowRootHandles): Complete editing and update layout. Do not
  14792. call back into the JTree, this could cause cycles.
  14793. (prepareForUIInstall): Implemented. Moved some init code from
  14794. installUI() to this method.
  14795. (completeUIInstall): Implemented. Moved some init code from
  14796. installUI() to this method.
  14797. (createDefaultCellEditor): Check for type of renderer, and install
  14798. with null renderer when not DefaultTreeCellRenderer.
  14799. (updateLayoutCacheExpandedNodes): Added null check for tree root
  14800. to avoid NPE.
  14801. (updateRenderer): Call updateEditor().
  14802. (installListeners): Initialize the listeners here. Added some null
  14803. checks to avoid NPEs.
  14804. (installUI): Moved some init code to prepareForUIInstall() and
  14805. completeUIInstall().
  14806. (completeEditing): Return immediately if editing component is null
  14807. or if the setting is to not stop editing on complete editing.
  14808. (checkForClickInExpandControl): Call handleExpandControlClick()
  14809. instead of toggleExpandState() directly.
  14810. (isLocationInExpandControl): Rewritten to correctly determine the
  14811. expand click location.
  14812. (MouseHandler.mousePressed): Rewritten to make better use of the
  14813. instance methods of BasicTreeUI to handle the click.
  14814. (PropertyHandler.propertyChange): Handle model and cell renderer
  14815. updates.
  14816. * javax/swing/tree/DefaultTreeCellEditor.java
  14817. (DefaultTreeCellEditor): Removed initialization of the icon. This
  14818. is done so that the constructor can deal with null renderer as the
  14819. RI does. Maybe this needs more fixing.
  14820. * javax/swing/tree/TreePath.java
  14821. (isDescendant): Fixed this method. The previous version did too
  14822. much and compared the wrong things, which lead to a ClassCastException
  14823. in equals().
  14824. * javax/swing/tree/VariableHeightLayoutCache.java
  14825. (update): Do nothing when model is null.
  14826. (setModel): Clear the tables and update the layout. Added null
  14827. check to prevent NPE.
  14828. 2006-06-07 Sven de Marothy <sven@physto.se>
  14829. * gnu/java/awt/peer/gtk/GdkGlyphVector: Removed file.
  14830. 2006-06-07 Sven de Marothy <sven@physto.se>
  14831. * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
  14832. * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
  14833. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
  14834. New files.
  14835. * gnu/java/awt/peer/gtk/GdkFontPeer.java
  14836. (getGlyphVector): Removed native method.
  14837. (createGlyphVector, getStringBounds): Use new GV class.
  14838. * include/Makefile.am
  14839. * native/jni/gtk-peer/Makefile.am
  14840. Add new files.
  14841. * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
  14842. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
  14843. (getGlyphVector): Removed native method.
  14844. 2006-06-07 Chris Burdess <dog@gnu.org>
  14845. * gnu/classpath/debug/TeeInputStream.java,
  14846. gnu/classpath/debug/TeeOutputStream.java,
  14847. gnu/classpath/debug/TeeReader.java,
  14848. gnu/classpath/debug/TeeWriter.java: New classes for debugging streams.
  14849. * gnu/xml/stream/XMLParser.java: Use tee streams for debugging. Don't
  14850. read more characters than absolutely necessary in tryRead method.
  14851. 2006-06-07 Robert Schuster <robertschuster@fsfe.org>
  14852. * examples/gnu/classpath/examples/swing/Demo.java:
  14853. (mkMenuBar): Put look and feel radio buttons into
  14854. appropriate button group.
  14855. 2006-06-07 Chris Burdess <dog@gnu.org>
  14856. * gnu/xml/stream/SAXParser.java,
  14857. gnu/xml/stream/XMLParser.java: Add command line options for setting
  14858. parsing parameters (for simpler debugging).
  14859. * gnu/xml/transform/TransformerImpl.java: Try to ensure that I/O error
  14860. closing output stream is propagated to application.
  14861. 2006-06-06 Mark Wielaard <mark@klomp.org>
  14862. PR 27917
  14863. * gnu/java/awt/peer/gtk/CairoSurface.java (finalize): Call dispose.
  14864. * gnu/java/awt/peer/gtk/ComponentGraphics.java: Override dispose to
  14865. call disposeSurface.
  14866. (disposeSurface): New native method.
  14867. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
  14868. (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Free
  14869. pattern_pixels.
  14870. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
  14871. (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Call
  14872. cairo_pattern_destroy.
  14873. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
  14874. (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
  14875. New function to destroy the surface.
  14876. * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
  14877. * include/gnu_java_awt_peer_gtk_CairoSurface.h: Likewise.
  14878. * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Likewise.
  14879. 2006-06-06 Mark Wielaard <mark@klomp.org>
  14880. * include/jni.h (JDK1_1InitArgs): Mark pointer-to-function types
  14881. with JNICALL.
  14882. 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
  14883. * javax/swing/plaf/metal/MetalSplitPaneDivider.java
  14884. (paint): If has focus, paint special background color,
  14885. * javax/swing/plaf/basic/BasicSplitPaneUI.java
  14886. (FocusHandler.focusGained): Implemented,
  14887. (FocusHandler.focusLost): Implemented.
  14888. 2006-06-06 Tom Tromey <tromey@redhat.com>
  14889. * javax/swing/text/StyleContext.java (registerStaticAttributeKey):
  14890. Javadoc fix.
  14891. (writeAttributeSet): Implemented.
  14892. 2006-06-06 Tom Tromey <tromey@redhat.com>
  14893. * javax/swing/text/html/HTMLDocument.java (SpecialAction.start):
  14894. Implement.
  14895. (SpecialAction.end): Removed.
  14896. (IsindexAction.end): Likewise.
  14897. 2006-06-06 Tom Tromey <tromey@redhat.com>
  14898. * include/jni.h (JDK1_1InitArgs): New struct.
  14899. (JDK1_1AttachArgs): Likewise.
  14900. 2006-06-06 Tom Tromey <tromey@redhat.com>
  14901. * java/security/UnresolvedPermission.java (getUnresolvedType): New
  14902. method.
  14903. (getUnresolvedName): New method.
  14904. (getUnresolvedActions): New method.
  14905. (getUnresolvedCerts): New method.
  14906. 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  14907. * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
  14908. (getColor): Removed debugging code.
  14909. 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  14910. * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
  14911. (getColor): Added support for "rgb(red, green, blue)" notation.
  14912. (translateTag): Use Boolean.TRUE, not new Boolean().
  14913. 2006-06-06 Roman Kennke <kennke@aicas.com>
  14914. PR 27651
  14915. * javax/swing/JTree.java
  14916. (JTree(TreeModel)): Call updateUI() before setModel().
  14917. (setModel): Don't call updateUI here.
  14918. 2006-06-06 Lillian Angel <langel@redhat.com>
  14919. * native/plugin/gcjwebplugin.cc:
  14920. Fixed failure message and commenting.
  14921. (NP_Initialize): Added more comments.
  14922. 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
  14923. * javax/swing/JSplitPane.java
  14924. (AccessibleJSplitPane): API doc fixes,
  14925. (setDividerLocation): Likewise,
  14926. * javax/swing/plaf/basic/BasicLookAndFeel.java
  14927. (initComponentDefaults): Additions to SplitPane.ancestorInputMap,
  14928. * javax/swing/plaf/basic/BasicSplitPaneUI.java
  14929. (getInputMap): New method,
  14930. (getActionMap): New method,
  14931. (createActionMap): New method,
  14932. (installKeyboardActions): Implemented,
  14933. (uninstallKeyboardActions): Implemented.
  14934. 2006-06-06 Roman Kennke <kennke@aicas.com>
  14935. PR 27523
  14936. * javax/swing/MenuSelectionManager.java
  14937. (processKeyEvent): Added check to avoid
  14938. ArrayIndexOutOfBoundsException.
  14939. 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  14940. * gnu/javax/swing/text/html/htmlAttributeSet.java
  14941. (getAttributeNames): Rewritten
  14942. 2006-06-06 Chris Burdess <dog@gnu.org>
  14943. * gnu/xml/transform/TransformerImpl.java: Check type of created
  14944. document (more cases).
  14945. 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  14946. * gnu/javax/swing/text/html/htmlAttributeSet.java
  14947. (clone): New method. (copyAttributes): New method.
  14948. (getResolveParent): Comment fix. (getAttribute):
  14949. Rewritten. (addAttribute): Rewritten.
  14950. * gnu/javax/swing/text/html/SmallHtmlAttributeSet.java:
  14951. New file.
  14952. 2006-06-06 Roman Kennke <kennke@aicas.com>
  14953. PR 27522
  14954. * javax/swing/JMenuBar.java
  14955. (processKeyBindingHelper): Added null check to prevent NPE.
  14956. 2006-06-06 Roman Kennke <kennke@aicas.com>
  14957. * javax/swing/plaf/basic/BasicInternalFrameUI.java
  14958. (ShowSystemMenuAction): New class.
  14959. (installKeyboardActions): Implemented.
  14960. (uninstallKeyboardActions): Implemented.
  14961. * javax/swing/plaf/metal/MetalInternalFrameUI.java
  14962. (installKeyboardActions): Overridden to remove showSystemMenu action.
  14963. 2006-06-06 Chris Burdess <dog@gnu.org>
  14964. * gnu/xml/transform/TransformerImpl.java: Check type of created
  14965. document.
  14966. 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
  14967. * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
  14968. (getScreenDevices): Added explicit cast.
  14969. 2006-06-06 Roman Kennke <kennke@aicas.com>
  14970. * javax/swing/plaf/basic/BasicTextUI.java
  14971. (installKeyboardActions): Use shared input map. Correctly
  14972. install the input/action maps in the component's input/action
  14973. map hierarchies.
  14974. (getActionMap): New helper method for fetching an ActionMap from
  14975. the UIManager or creating a default one if there is none supplied
  14976. by the UIManager.
  14977. (createActionMap): Add the TransferHandler's actions here. Made
  14978. method private.
  14979. (getInputMap): Leave out unnecessary method parameter. Load
  14980. shared input map.
  14981. * javax/swing/plaf/basic/SharedUIDefaults.java: New file.
  14982. 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
  14983. * configure.ac: Added missing [ to expression.
  14984. 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
  14985. * configure.ac: Added missing { to expression.
  14986. 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
  14987. * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h: Regenerated.
  14988. * include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h: New file.
  14989. * include/Makefile.am: Added
  14990. gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.
  14991. * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java:
  14992. (GdkGraphicsConfiguration): Rewritten.
  14993. (getColorModel): Rewritten.
  14994. (getColorModel(int)): Rewritten.
  14995. (getBounds): Rewritten.
  14996. (createCompatibleVolatileImage): Implemented.
  14997. * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java: Added static
  14998. initializer.
  14999. (getDefaultScreenDevice): Rewritten.
  15000. (nativeGetDefaultScreenDevice): New method.
  15001. (getScreenDevices): Rewritten.
  15002. (nativeGetScreenDevices): New method.
  15003. (nativeInitState): New method.
  15004. * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Entirely
  15005. rewritten.
  15006. (X11DisplayMode): New inner class.
  15007. * native/jni/gtk-peer/Makefile.am: Added gdkdisplay.h and
  15008. gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
  15009. * native/jni/gtk-peer/gdkdisplay.h: New file.
  15010. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
  15011. (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_initStaticState):
  15012. New function.
  15013. (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_nativeInitState):
  15014. New function.
  15015. (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
  15016. _nativeGetScreenDevices):
  15017. New function.
  15018. (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
  15019. _nativeGetDefaultScreenDevice):
  15020. New function.
  15021. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c:
  15022. New file.
  15023. * configure.ac: Added check for Xrandr library.
  15024. 2006-06-06 Roman Kennke <kennke@aicas.com>
  15025. * javax/swing/plaf/basic/BasicTableUI.java
  15026. (getMaximumSize): Don't return null. Fixed calculation of
  15027. table height.
  15028. (getMinimumSize): Don't return null. Fixed calculation of
  15029. table height.
  15030. (getPreferredSize): Fixed calculation of with and height. Added
  15031. API docs.
  15032. (getHeight): New helper method.
  15033. 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
  15034. * javax/swing/JComponent.java
  15035. (getInputMap(int)): Throw IllegalArgumentException for unknown
  15036. condition argument, and added API docs,
  15037. (getInputMap()): Added API docs.
  15038. 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
  15039. * java/awt/BufferedImage.java: Added fourth 8 to bits4 field.
  15040. 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
  15041. * javax/swing/JTable.java
  15042. (AccessibleJTableHeaderCell.header): New field,
  15043. (AccessibleJTableHeaderCell.columnIndex): Likewise,
  15044. (AccessibleJTableHeaderCell.AccessibleJTableHeaderCell()): Initialise,
  15045. (AccessibleJTableHeaderCell.getColumnHeaderRenderer): New method,
  15046. (AccessibleJTableHeaderCell.getAccessibleContext): Implemented,
  15047. (AccessibleJTableHeaderCell.getAccessibleRole): Implemented,
  15048. (AccessibleJTable.getAccessibleChild(int)): Overridden,
  15049. (AccessibleJTable.getAccessibleAt): Reimplemented.
  15050. 2006-06-05 Sven de Marothy <sven@physto.se>
  15051. * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
  15052. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
  15053. * gnu/java/awt/peer/gtk/ComponentGraphics.java
  15054. (initFromVolatile): New method.
  15055. * gnu/java/awt/peer/gtk/GtkVolatileImage.java
  15056. * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
  15057. Reimplement.
  15058. * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
  15059. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
  15060. (copyArea, drawVolatileImage): New methods.
  15061. 2006-06-05 Tania Bento <tbento@redhat.com>
  15062. * javax/swing/JFrame.java
  15063. (frameInit): Set background color and fixed layout parameters.
  15064. 2006-06-05 Tom Tromey <tromey@redhat.com>
  15065. * NEWS: Mention VMURLConnection.
  15066. 2006-06-05 Lillian Angel <langel@redhat.com>
  15067. * native/plugin/gcjwebplugin.cc:
  15068. Added new field to keep track of initialization.
  15069. (plugin_start_appletviewer): Fixed to return an error value, if
  15070. an error was encountered when loading the appletviewer.
  15071. (GCJ_NEW): Added call to plugin_failed if the loading of the appletviewer
  15072. has failed.
  15073. (plugin_failed): New helper function. Shows a warning if the appletviewer
  15074. has not been installed.
  15075. (NP_Initialize): Added code to make sure this function is only called
  15076. once.
  15077. 2006-06-05 Lillian Angel <langel@redhat.com>
  15078. * native/plugin/Makefile.am:
  15079. Fixed to use a set plugin directory in the .mozilla directory.
  15080. All applet logs are now stored here, instead of /tmp.
  15081. * native/plugin/gcjwebplugin.cc:
  15082. Added new fields for security warning.
  15083. (GCJ_NEW): Added code to generate a security warning for all pages
  15084. that spawn an appletviewer. This warning asks the user if they trust
  15085. the applet and if they would like to add it to a 'whitelist'. This
  15086. whitelist keeps track of all the addresses the user would like
  15087. to trust indefinitely.
  15088. (plugin_user_trusts_documentbase): New helper function.
  15089. (plugin_add_documentbase_to_whitelist): New helper function.
  15090. (plugin_ask_user_about_documentbase): New helper function.
  15091. (plugin_in_pipe_callback): Fixed check to determine if channel_error
  15092. has been set.
  15093. (plugin_start_appletviewer): Likewise.
  15094. (plugin_create_applet_tag): Reset all fields to null after they have been
  15095. freed.
  15096. (plugin_send_message_to_appletviewer): Fixed all error checks to determine
  15097. if channel_error has been set.
  15098. (plugin_stop_appletviewer): Likewise.
  15099. (NP_Initialize): Likewise. Also, added code to determine if directory and file
  15100. should be created.
  15101. 2006-06-05 Francis Kung <fkung@redhat.com>
  15102. PR 27507
  15103. * gnu/java/awt/peer/gtk/GtkImage.java
  15104. (getSource): Added check to determine if in
  15105. errorLoading state.
  15106. * gnu/java/awt/peer/gtk/GtkToolkit.java
  15107. (createImage): Added check to prevent NPE.
  15108. 2006-06-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  15109. * javax/swing/text/html/HTMLEditorKit.java (HTMLFactory.create):
  15110. Create the ImageView, when applicable.
  15111. * gnu/javax/swing/text/html/CombinedAttributes.java,
  15112. javax/swing/text/html/ImageView.java: New files.
  15113. 2006-06-05 Roman Kennke <kennke@aicas.com>
  15114. PR 27834
  15115. * javax/swing/text/GapContent.java
  15116. (setPositionsInRange): Compare with startIndex and endIndex
  15117. rather than start and end.
  15118. (dumpMarks): Only dump real marks.
  15119. 2006-06-05 Sven de Marothy <sven@physto.se>
  15120. * gnu/java/awt/peer/gtk/ComponentGraphics.java
  15121. (ComponentGraphics): Use 0,0 as clip origin.
  15122. 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
  15123. * java/util/Formattable.java,
  15124. * java/util/FormattableFlags.java,
  15125. * java/util/Formatter.java:
  15126. Documented.
  15127. 2006-06-04 Tom Tromey <tromey@redhat.com>
  15128. * javax/naming/Context.java (list): Genericized.
  15129. (listBindings): Likewise.
  15130. * javax/naming/Reference.java (addrs): Genericized.
  15131. * javax/naming/InitialContext.java (myProps): Fixed type.
  15132. (init): Genericized.
  15133. 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
  15134. * java/util/DuplicateFormatFlagsException.java,
  15135. * java/util/FormatFlagsConversionMismatchException.java,
  15136. * java/util/FormatterClosedException.java,
  15137. * java/util/IllegalFormatCodePointException.java,
  15138. * java/util/IllegalFormatConversionException.java,
  15139. * java/util/IllegalFormatException.java,
  15140. * java/util/IllegalFormatFlagsException.java,
  15141. * java/util/IllegalFormatPrecisionException.java,
  15142. * java/util/IllegalFormatWidthException.java,
  15143. * java/util/MissingFormatArgumentException.java,
  15144. * java/util/MissingFormatWidthException.java,
  15145. * java/util/UnknownFormatConversionException.java,
  15146. * java/util/UnknownFormatFlagsException.java:
  15147. Documented.
  15148. 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
  15149. * java/lang/System.java:
  15150. (getenv()): Handle cases where split only
  15151. returns an array of size 1.
  15152. 2006-06-04 Sven de Marothy <sven@physto.se>
  15153. * gnu/java/awt/peer/gtk/GtkComponentPeer.java
  15154. (createVolatileImage): Pass peer to VolatileImage constructor.
  15155. * java/awt/Component.java
  15156. (createVolatileImage): Call peer method directly.
  15157. 2006-06-04 Sven de Marothy <sven@physto.se>
  15158. * gnu/java/awt/peer/gtk/CairoSurface.java
  15159. (getFlippedBuffer): New method.
  15160. (getGtkImage): Renamed method.
  15161. * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
  15162. * gnu/java/awt/peer/gtk/GtkVolatileImage.java
  15163. Renamed getSharedImage to getGtkImage.
  15164. * include/gnu_java_awt_peer_gtk_CairoSurface.h
  15165. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
  15166. (getFlippedBuffer): New method
  15167. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
  15168. Avoid window casts.
  15169. 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
  15170. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
  15171. (drawVolatile): Add casts.
  15172. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
  15173. (getOutline): Add casts.
  15174. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
  15175. Comment out unused prototype.
  15176. (getPixels): Add appropriate cast and comment out unused variable.
  15177. 2006-06-04 Raif S. Naffah <raif@swiftdsl.com.au>
  15178. * gnu/javax/crypto/sasl/SaslUtil.java: Remove unused import.
  15179. * gnu/javax/crypto/sasl/srp/SRPRegistry.java (PASSWORD_DB): Fix javadoc @link.
  15180. * gnu/javax/crypto/sasl/srp/PasswordFile.java: Removed unused import.
  15181. * gnu/javax/crypto/prng/CSPRNG.java (FILE_SOURCES): Fix javadoc @see.
  15182. (getSystemInstance): Fix javadoc @link.
  15183. (counter): Increased visibility.
  15184. * gnu/javax/crypto/pad/TLS1.java: Remove unused import.
  15185. * gnu/javax/crypto/pad/IPad.java: Fix javadoc @link.
  15186. * gnu/javax/crypto/pad/PKCS1_V1_5.java (PKCS1_V1_5): Likewise.
  15187. * gnu/javax/crypto/pad/PKCS7.java (PKCS7): Likewise.
  15188. * gnu/javax/crypto/pad/TBC.java (TBC): Likewise.
  15189. * gnu/javax/crypto/mode/CTR.java: Remove unused import.
  15190. * gnu/javax/crypto/mode/BaseMode.java (defaultBlockSize): Fix javadoc @see.
  15191. * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (getEncoded): Fix javadoc @see.
  15192. * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Fix javadoc @link.
  15193. * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Remove unused imports.
  15194. * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
  15195. * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
  15196. * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
  15197. * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
  15198. * gnu/javax/crypto/mac/OMAC.java: Likewise.
  15199. * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
  15200. * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
  15201. * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
  15202. * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
  15203. * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
  15204. * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
  15205. * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
  15206. * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
  15207. * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
  15208. * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
  15209. * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Fix javadoc @link.
  15210. * gnu/javax/crypto/jce/cipher/CipherAdapter.java (CipherAdapter): Likewise.
  15211. * gnu/javax/crypto/cipher/BaseCipher.java: Remove unused import.
  15212. * gnu/javax/crypto/assembly/Cascade.java: Fix javadoc @link.
  15213. * gnu/javax/crypto/assembly/Direction.java: Likewise.
  15214. * gnu/javax/crypto/assembly/Transformer.java: Likewise.
  15215. 2006-06-04 Raif S. Naffah <raif@swiftdsl.com.au>
  15216. * gnu/java/security/PolicyFile.java: Updated copyright year.
  15217. (logger): Increased visibility.
  15218. * gnu/java/security/x509/Util.java: Updated copyright year.
  15219. (hexDump): Fix javadoc @link.
  15220. * gnu/java/security/x509/ext/GeneralNames.java: Updated copyright year.
  15221. Removed unused import.
  15222. * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Fix javadoc @link.
  15223. * gnu/java/security/sig/ISignature.java (SOURCE_OF_RANDOMNESS): Likewise.
  15224. * gnu/java/security/util/ExpirableObject.java: Likewise.
  15225. (destroy): Likewise.
  15226. * gnu/java/security/util/SimpleList.java (SimpleList): Likewise.
  15227. * gnu/java/security/provider/PKIXCertPathValidatorImpl.java:
  15228. Updated copyright year.
  15229. (checkCRL): Fix javadoc @param.
  15230. 2006-06-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
  15231. * java/lang/annotation/IncompleteAnnotationException.java:
  15232. Documented.
  15233. 2006-06-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
  15234. * java/lang/ProcessBuilder.java:
  15235. Documented.
  15236. (environment): Create as a copy.
  15237. * java/lang/System.java:
  15238. (EnvironmentMap.EnvironmentMap(Map<String,String>)):
  15239. New constructor.
  15240. (EnvironmentMap.put(String,String)): Override superclass
  15241. method with checks for nulls and non-Strings.
  15242. 2006-06-02 Sven de Marothy <sven@physto.se>
  15243. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  15244. (cairoPreserveClip, cairoResetClip): New methods.
  15245. (setClip, clip): Reimplement.
  15246. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
  15247. * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
  15248. (cairoPreserveClip, cairoResetClip): New methods.
  15249. 2006-06-02 Sven de Marothy <sven@physto.se>
  15250. * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
  15251. * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
  15252. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
  15253. New files.
  15254. * gnu/java/awt/peer/gtk/ComponentGraphics.java
  15255. (drawImage): Overloads for VolatileImage drawing.
  15256. (drawVolatile): New method.
  15257. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
  15258. * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
  15259. (drawVolatile): New method.
  15260. * gnu/java/awt/peer/gtk/GtkVolatileImage.java
  15261. Unstub implementation.
  15262. * include/Makefile.am
  15263. * native/jni/gtk-peer/Makefile.am
  15264. Add new files.
  15265. * native/jni/gtk-peer/gtkpeer.h
  15266. New prototype.
  15267. 2006-06-03 Roman Kennke <kennke@aicas.com>
  15268. PR 27418
  15269. * javax/swing/plaf/basic/BasicTextUI.java
  15270. (damageRange): Added null check to avoid NPE.
  15271. 2006-06-03 Roman Kennke <kennke@aicas.com>
  15272. * javax/swing/text/PlainView.java
  15273. (updateDamage): Check for valid longestLine and initialize if
  15274. necessary.
  15275. 2006-06-03 Mark Wielaard <mark@klomp.org>
  15276. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c: Use C
  15277. comments, not C++.
  15278. 2006-06-02 Sven de Marothy <sven@physto.se>
  15279. PR 27879
  15280. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  15281. (copyArea): Implement.
  15282. (copyAreaImpl, getRealBounds): New methods.
  15283. * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
  15284. * gnu/java/awt/peer/gtk/ComponentGraphics.java
  15285. * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
  15286. (copyAreaImpl, getRealBounds): Implement.
  15287. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
  15288. (nativeCopyArea): Reimplement.
  15289. 2006-06-02 Andreas Tobler <a.tobler@schweiz.ch>
  15290. * configure.ac: Add -lX11 and -lXtst to XTEST_LIBS.
  15291. (XTEST_LIBS): New, substitute.
  15292. * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
  15293. 2006-06-02 Roman Kennke <kennke@aicas.com>
  15294. PR 26738
  15295. * javax/swing/text/PlainView.java
  15296. (updateDamage): Rewritten for correct repainting and revalidating.
  15297. (findLongestLine): New helper method.
  15298. (getLineLength): New helper method.
  15299. 2006-06-02 Sven de Marothy <sven@physto.se>
  15300. * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
  15301. * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
  15302. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
  15303. (nativeCopyArea): Change stride parameter to use # of ints.
  15304. (setPixels): Add checks.
  15305. * gnu/java/awt/peer/gtk/ComponentGraphics.java
  15306. (ComponentGraphics): Set background, clip.
  15307. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  15308. (Cairographics2D): Don't set clip.
  15309. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
  15310. Add flush.
  15311. 2006-06-02 Lillian Angel <langel@redhat.com>
  15312. PR 24458
  15313. * java/awt/DefaultKeyboardFocusManager.java
  15314. (dispatchEvent): Fixed to getFocusOwner, if that fails it tries
  15315. to get the focused window.
  15316. 2006-06-01 Miriam Schuster <schmir11@web.de>
  15317. * Makefile.am: Add fallback if "mozilla-plugin" is not available.
  15318. Fallbacks used: "firefox-plugin" and "xulrunner-plugin".
  15319. 2006-06-02 Roman Kennke <kennke@aicas.com>
  15320. * javax/swing/JTable.java
  15321. (columnSelectionChanged): Don't return when there's only one
  15322. column (might still need repainting). Correctly calculate
  15323. repaint rectangle.
  15324. (valueChanged): Use return value of SwingUtilities.computeUnion
  15325. as dirty region.
  15326. 2006-06-01 Keith Seitz <keiths@redhat.com>
  15327. From Martin Platter <motse@complang.tuwien.ac.at>:
  15328. * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
  15329. (executeSet): Fix buffer underflow reading reference ID.
  15330. * gnu/classpath/jdwp/processor/ThreadGroupReferenceCommandSet.java
  15331. (executeParent): Fix NPE if ThreadGroup is top-level ThreadGroup.
  15332. * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
  15333. (executeSuperclass): Handle case of Object with ID zero.
  15334. 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
  15335. * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Fixed typo.
  15336. * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
  15337. * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
  15338. * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
  15339. * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
  15340. * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
  15341. * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
  15342. * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
  15343. * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
  15344. * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
  15345. * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
  15346. 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
  15347. * tools/gnu/classpath/tools/keytool/Command.java (shutdownThread): New field.
  15348. (Command): Add the shutdown hook.
  15349. (doCommand): Remove the shutdown hook.
  15350. (ShutdownHook): New class.
  15351. 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
  15352. * tools/jarsigner.in: Use @VM_BINARY@.
  15353. * tools/keytool.in: Likewise.
  15354. 2006-06-01 Sven de Marothy <sven@physto.se>
  15355. * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
  15356. (setColor): Update the cairo paint.
  15357. 2006-06-01 Mark Wielaard <mark@klomp.org>
  15358. * java/util/logging/LogManager.java (createInstance): Always add
  15359. original exception on warning.
  15360. 2006-06-01 Lillian Angel <langel@redhat.com>
  15361. * tools/gnu/classpath/tools/appletviewer/AppletTag.java
  15362. (prependCodebase): Fixed check. No dirname was ever considered to
  15363. be a file, so every applet fell into the if-statement causing a lot
  15364. of classloading problems with the applets.
  15365. 2006-06-01 Sven de Marothy <sven@physto.se>
  15366. Patch submitted by Boris Dusek.
  15367. * native/jni/qt-peer/qtmenupeer.cpp
  15368. Fix segfault
  15369. 2006-06-01 Roman Kennke <kennke@aicas.com>
  15370. * javax/swing/JTable.java
  15371. (AccessibleJTableCell.getAccessibleRow): Added comment explaining
  15372. why the behaviour is like it is.
  15373. (AccessibleJTableCell.getAccessibleStateSet): Implemented.
  15374. (AccessibleJTableHeader): New inner class.
  15375. (AccessibleJTableHeaderCell): New inner class.
  15376. (AccessibleJTable.lastSelectedRow): New field.
  15377. (AccessibleJTable.lastSelectedColumn): New field.
  15378. (AccessibleJTable.caption): New field.
  15379. (AccessibleJTable.summary): New field.
  15380. (AccessibleJTable.rowDescriptions): New field.
  15381. (AccessibleJTable.columnDescriptions): New field.
  15382. (AccessibleJTable): Initialize lastSelectedRow and lastSelectedColumn.
  15383. (AccessibleJTable.getAccessibleSelection(int)): Implemented.
  15384. (AccessibleJTable.isAccessibleChildSelected): Implemented.
  15385. (AccessibleJTable.addAccessibleSelection): Implemented.
  15386. (AccessibleJTable.removeAccessibleSelection): Implemented.
  15387. (AccessibleJTable.clearAccessibleSelection): Implemented.
  15388. (AccessibleJTable.selectAllAccessibleSelection): Implemented.
  15389. (AccessibleJTable.valueChange): Implemented.
  15390. (AccessibleJTable.tableRowsInserted): Implemented.
  15391. (AccessibleJTable.tableRowsDeleted): Implemented.
  15392. (AccessibleJTable.handleRowChange): New helper method.
  15393. (AccessibleJTable.columnAdded): Implemented.
  15394. (AccessibleJTable.columnMarginChanged): Implemented.
  15395. (AccessibleJTable.columnMoved): Implemented.
  15396. (AccessibleJTable.columnRemoved): Implemented.
  15397. (AccessibleJTable.columnSelectionChanged): Implemented.
  15398. (AccessibleJTable.handleColumnChange): New helper method.
  15399. (AccessibleJTable.editingCanceled): Implemented.
  15400. (AccessibleJTable.editingStopped): Implemented.
  15401. (AccessibleJTable.getAccessibleRow): Implemented.
  15402. (AccessibleJTable.getAccessibleColumn): Implemented.
  15403. (AccessibleJTable.getAccessibleIndex): Implemented.
  15404. (AccessibleJTable.getAccessibleCaption): Implemented.
  15405. (AccessibleJTable.setAccessibleCaption): Implemented.
  15406. (AccessibleJTable.getAccessibleSummary): Implemented.
  15407. (AccessibleJTable.setAccessibleSummary): Implemented.
  15408. (AccessibleJTable.getAccessibleRowCount): Implemented.
  15409. (AccessibleJTable.getAccessibleColumnCount): Implemented.
  15410. (AccessibleJTable.getAccessibleAt): Implemented.
  15411. (AccessibleJTable.getAccessibleRowExtentAt): Implemented.
  15412. (AccessibleJTable.getAccessibleColumnExtentAt): Implemented.
  15413. (AccessibleJTable.getAccessibleRowHeader): Implemented.
  15414. (AccessibleJTable.setAccessibleRowHeader): Implemented.
  15415. (AccessibleJTable.getAccessibleColumnHeader): Implemented.
  15416. (AccessibleJTable.setAccessibleColumnHeader): Implemented.
  15417. (AccessibleJTable.getAccessibleRowDescription): Implemented.
  15418. (AccessibleJTable.setAccessibleRowDescription): Implemented.
  15419. (AccessibleJTable.getAccessibleColumnDescription): Implemented.
  15420. (AccessibleJTable.setAccessibleColumnDescription): Implemented.
  15421. (AccessibleJTable.isAccessibleSelected): Implemented.
  15422. (AccessibleJTable.isAccessibleRowSelected): Implemented.
  15423. (AccessibleJTable.isAccessibleColumnSelected): Implemented.
  15424. (AccessibleJTable.getSelectedAccessibleRows): Implemented.
  15425. (AccessibleJTable.getSelectedAccessibleColumns): Implemented.
  15426. (getAccessibleContext): Register listeners for the accessibility
  15427. class on the JTable.
  15428. 2006-06-01 Sven de Marothy <sven@physto.se>
  15429. * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
  15430. (setPaint): Scale +1 pixel larger.
  15431. 2006-06-01 Sven de Marothy <sven@physto.se>
  15432. PR 27854
  15433. * gnu/java/awt/Buffers.java (getData): Reimplement.
  15434. * gnu/java/awt/peer/gtk/CairoSurface.java
  15435. (getElem, setElem): Call native methods.
  15436. 2006-06-01 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  15437. * gnu/javax/swing/text/html/ImageViewIconFactory.java: New file.
  15438. 2006-06-01 Sven de Marothy <sven@physto.se>
  15439. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  15440. (drawImage): Check for zero size.
  15441. * gnu/java/awt/peer/gtk/GdkTextLayout.java:
  15442. (setFont): Declare new native method.
  15443. (GdkTextLayout): Read some attributes.
  15444. * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
  15445. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
  15446. (setFont): New native method.
  15447. 2006-06-01 Sven de Marothy <sven@physto.se>
  15448. * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
  15449. (updateBufferedImage): Fix some errors.
  15450. 2006-06-01 David Gilbert <david.gilbert@object-refinery.com>
  15451. * javax/swing/plaf/basic/BasicButtonUI.java: Minor source code style
  15452. fixes,
  15453. * javax/swing/plaf/basic/BasicDirectoryModel.java: Likewise,
  15454. * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
  15455. * javax/swing/plaf/basic/BasicIconFactory.java: Likewise,
  15456. * javax/swing/plaf/basic/BasicListUI.java: Likewise,
  15457. * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
  15458. * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise,
  15459. * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise,
  15460. * javax/swing/plaf/basic/BasicSpinnerUI.java: Likewise,
  15461. * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise,
  15462. * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise.
  15463. 2006-06-01 David Gilbert <david.gilbert@object-refinery.com>
  15464. * javax/swing/JComboBox.java: Minor source code formatting fixes,
  15465. * javax/swing/JEditorPane.java: Likewise,
  15466. * javax/swing/JFormattedTextField.java: Likewise,
  15467. * javax/swing/JLayeredPane.java: Likewise,
  15468. * javax/swing/JScrollPane.java: Likewise,
  15469. * javax/swing/JSlider.java: Likewise,
  15470. * javax/swing/JSpinner.java: Likewise,
  15471. * javax/swing/JTree.java: Likewise,
  15472. * javax/swing/JViewport.java: Likewise,
  15473. * javax/swing/UIDefaults.java: Likewise,
  15474. * javax/swing/UIManager.java: Likewise.
  15475. 2006-06-01 Sven de Marothy <sven@physto.se>
  15476. * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
  15477. (BufferedImageGraphics): Cache surfaces.
  15478. (updateBufferedImage): Copy directly for certain color models.
  15479. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  15480. (drawImage): Reimplement.
  15481. 2006-06-01 Sven de Marothy <sven@physto.se>
  15482. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
  15483. (setPixels): Don't swap, correct size.
  15484. 2006-05-31 Anthony Green <green@redhat.com>
  15485. PR 27828
  15486. * java/net/InetSocketAddress.java: Defer getting the host
  15487. name until somebody calls InetSocketAddress.getHostName().
  15488. Fix "represenation" typo.
  15489. 2006-06-01 Sven de Marothy <sven@physto.se>
  15490. * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
  15491. (updateBufferedImage): Simplify.
  15492. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
  15493. (getPixels): Don't swap.
  15494. 2006-06-01 Sven de Marothy <sven@physto.se>
  15495. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
  15496. (setGradient): Reimplement.
  15497. 2006-06-01 Andreas Tobler <a.tobler@schweiz.ch>
  15498. * native/jni/gtk-peer/cairographics2d.h: Rename/prefix function
  15499. CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t correctly.
  15500. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
  15501. (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Rename function
  15502. CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t.
  15503. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
  15504. (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
  15505. Likewise.
  15506. 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
  15507. * javax/swing/table/JTableHeader.java
  15508. (getColumnHeaderRenderer): New method,
  15509. (getAccessibleColumnHeaderRenderer): Delegate part to new
  15510. getColumnHeaderRenderer() method,
  15511. (getLocale): Implemented.
  15512. 2006-05-31 Andreas Tobler <a.tobler@schweiz.ch>
  15513. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
  15514. (cp_gtk_grab_current_drawable): Rename
  15515. cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable to
  15516. cp_gtk_grab_current_drawable, remove static declaration.
  15517. (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Renamed above
  15518. function.
  15519. (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative): Likewise.
  15520. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c:
  15521. Remove prototype of
  15522. cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable.
  15523. (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf): Rename
  15524. function.
  15525. (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf): Likewise.
  15526. * native/jni/gtk-peer/gtkpeer.h: Add prototype for
  15527. cp_gtk_grab_current_drawable here.
  15528. 2006-05-31 Sven de Marothy <sven@physto.se>
  15529. Should fix PR 27835
  15530. * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
  15531. (updateBufferedImage): Keep within image bounds.
  15532. 2006-05-31 Thomas Fitzsimmons <fitzsim@redhat.com>
  15533. Andreas Tobler <a.tobler@schweiz.ch>
  15534. * configure.ac: Check for libXrender when the GTK peers are
  15535. enabled, and set HAVE_XRENDER accordingly. Add -lXrender to
  15536. X_EXTRA_LIBS.
  15537. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
  15538. (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender)
  15539. [HAVE_XRENDER]: Call XRenderQueryExtension conditionally.
  15540. 2006-05-31 Lillian Angel <langel@redhat.com>
  15541. * javax/swing/plaf/basic/BasicProgressBarUI.java
  15542. (paintString): Implemented to paint the string vertically.
  15543. 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
  15544. * javax/swing/JTable.java
  15545. (AccessibleJTable.AccessibleJTable()): Check for null editor,
  15546. (AccessibleJTable.getAccessibleRole()): Overridden to return correct
  15547. value,
  15548. (AccessibleJTable.getAccessibleTable()): Likewise,
  15549. (getAccessibleContext): Create new context if required.
  15550. 2006-05-31 Roman Kennke <kennke@aicas.com>
  15551. * javax/swing/JTabbedPane.java
  15552. (AccessibleJTabbedPane.stateChanged): Implemented.
  15553. (Page.getAccessibleStateSet): Implemented.
  15554. (Page.getAccessibleIndexInParent): Implemented.
  15555. (getAccessibleContext): Add AccessibleJTabbedPane object
  15556. as ChangeListener to the JTabbedPane.
  15557. 2006-05-31 Roman Kennke <kennke@aicas.com>
  15558. * javax/swing/JMenuItem.java
  15559. (getAccessibleContext): Register accessible object as ChangeListener
  15560. to the JMenuItem.
  15561. (AccessibleJMenuItem.armed): New field.
  15562. (AccessibleJMenuItem.focusOwner): New field.
  15563. (AccessibleJMenuItem.pressed): New field.
  15564. (AccessibleJMenuItem.selected): New field.
  15565. (stateChanged): Implemented.
  15566. 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
  15567. * javax/swing/ListSelectionModel.java: Added API docs all over.
  15568. 2006-05-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  15569. * examples/gnu/classpath/examples/swing/FillRect.java
  15570. (paintComponent): Optionally paint lines rather than rectangles.
  15571. (createContent): Added option to test line painting.
  15572. 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
  15573. * javax/swing/event/EventListenerList.java
  15574. (getListenerList): Updated API docs.
  15575. 2006-05-30 Sven de Marothy <sven@physto.se>
  15576. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  15577. (drawImage): Clip scaled image to dest rectangle.
  15578. 2006-05-30 Sven de Marothy <sven@physto.se>
  15579. * gnu/java/awt/peer/gtk/CairoSurface.java:
  15580. (CairoSurface): Convert pixels properly.
  15581. * gnu/java/awt/peer/gtk/ComponentGraphics.java
  15582. Remove commented-out lines.
  15583. 2006-05-30 Sven de Marothy <sven@physto.se>
  15584. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  15585. (drawImage): Use Toolkit to convert to BufferedImage.
  15586. * gnu/java/awt/peer/gtk/CairoSurface.java
  15587. (CairoSurface(GtkImage)): New Constructor.
  15588. (getBufferedImage): New method.
  15589. * gnu/java/awt/peer/gtk/ComponentGraphics.java
  15590. Don't fill background - FIXME.
  15591. * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
  15592. Remove unused methods.
  15593. * gnu/java/awt/peer/gtk/GtkImage.java:
  15594. (pixbuflock): New field. Methods change to use this lock.
  15595. * gnu/java/awt/peer/gtk/GtkToolkit.java
  15596. (createImage): Use Cairo-backed surfaces via GtkImage instead of
  15597. GtkPixbufDecoder.
  15598. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
  15599. (setPixels): Correct length in bytes.
  15600. 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>
  15601. * gnu/java/awt/peer/gtk/CairoGraphics2D.java (static): Call
  15602. System.loadLibrary unconditionally.
  15603. * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
  15604. * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
  15605. * gnu/java/awt/peer/gtk/GdkTextLayout.java: Likewise.
  15606. * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
  15607. 2006-05-30 Mark Wielaard <mark@klomp.org>
  15608. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
  15609. (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative):
  15610. Mark unused parameters, remove unused variables.
  15611. 2006-05-30 Sven de Marothy <sven@physto.se>
  15612. * gnu/java/awt/peer/gtk/ComponentGraphics.java
  15613. (copyArea): Implemented.
  15614. * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
  15615. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
  15616. (copyAreaNative): New method.
  15617. 2006-05-30 Andreas Tobler <a.tobler@schweiz.ch>
  15618. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
  15619. (Java_gnu_java_awt_peer_gtk_CairoSurface_getPixels): Define i only
  15620. for non big endian systems.
  15621. (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Likewise.
  15622. 2006-05-30 Roman Kennke <kennke@aicas.com>
  15623. * gnu/java/awt/java2d/TexturePaintContext.java: New file.
  15624. * java/awt/TexturePaint.java
  15625. (createContext): Implemented.
  15626. 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
  15627. * javax/swing/table/DefaultTableMode.java: Initialize dataVector
  15628. field early.
  15629. 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
  15630. * java/awt/Container.java:
  15631. (removeAll): Reimplemented, added note.
  15632. 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
  15633. * java/awt/Container.java:
  15634. (removeAll): Implemented different removal mechanism, added note.
  15635. 2006-05-30 Lillian Angel <langel@redhat.com>
  15636. PR 27785
  15637. * java/awt/Component.java:
  15638. (translateEvent): Added handling to translate WindowEvents
  15639. * java/awt/Window.java:
  15640. Removed unneeded imports.
  15641. 2006-05-30 Mark Wielaard <mark@klomp.org>
  15642. * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Add
  15643. cairographics2d.h.
  15644. 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>
  15645. * gnu/java/awt/peer/gtk/GtkImage.java: Fix constructor javadoc.
  15646. 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  15647. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  15648. (clearRect): Do not reuse the fg field, call updateColor.
  15649. (drawRaster): Likewise.
  15650. (setColor): Call updateColor.
  15651. (updateColor): New method.
  15652. 2006-05-30 Mark Wielaard <mark@klomp.org>
  15653. * native/jni/classpath/jcl.h (JLONG_TO_PTR): New macro.
  15654. (PTR_TO_JLONG): Likewise.
  15655. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
  15656. (getPointer): Use new conversion macros.
  15657. (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Likewise.
  15658. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
  15659. (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext):
  15660. Likewise.
  15661. (setNativeObject): Likewise.
  15662. (getNativeObject): Likewise.
  15663. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
  15664. (cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable):
  15665. Mark static.
  15666. (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState):
  15667. Correctly cast XID and pointer values.
  15668. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
  15669. (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf):
  15670. Mark unused variables.
  15671. (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf):
  15672. Likewise.
  15673. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
  15674. (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
  15675. Remove unused cairographics2d struct.
  15676. (_moveTo, _lineTo, _quadTo, _curveTo): Mark arguments const.
  15677. (Java_gnu_java_awt_peer_gtk_GtkImage_initFromBuffer):
  15678. Use new conversion macros.
  15679. * native/jni/midi-dssi/dssi_data.h: Move conversion macros to jcl.h.
  15680. 2006-05-30 Mark Wielaard <mark@klomp.org>
  15681. * include/Makefile.am (gnu_java_nio_VMChannel.h): Added.
  15682. 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  15683. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  15684. (copy): Do not reuse the fd field.
  15685. (setColor): Do not set the color if the parameter
  15686. matches fd field.
  15687. (translate(double, double): Rewritten to use
  15688. AffineTransform.translate.
  15689. 2006-05-30 Sven de Marothy <sven@physto.se>
  15690. * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
  15691. * include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h
  15692. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
  15693. New files.
  15694. * include/Makefile.am
  15695. * native/jni/gtk-peer/Makefile.am
  15696. Add new files.
  15697. * gnu/java/awt/peer/gtk/CairoSurface.java
  15698. (getSharedGtkImage): New method.
  15699. * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
  15700. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
  15701. Fix copyArea.
  15702. * gnu/java/awt/peer/gtk/ComponentGraphics.java
  15703. Support a non-xrender context.
  15704. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
  15705. Plug memory leak.
  15706. * gnu/java/awt/peer/gtk/GtkImage.java
  15707. * include/gnu_java_awt_peer_gtk_GtkImage.h
  15708. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
  15709. (initFromBuffer): New method.
  15710. * native/jni/gtk-peer/gtkpeer.h:
  15711. Remove declarations of previouslyremoved methods.
  15712. 2006-05-29 Thomas Fitzsimmons <fitzsim@redhat.com>
  15713. * tools/Makefile.am [FOUND_CACAO] (LIBJVM): Define to -ljvm.
  15714. 2006-05-29 Mark Wielaard <mark@klomp.org>
  15715. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
  15716. (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Mark unused
  15717. arguments.
  15718. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
  15719. (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Declare size
  15720. early. Remove unused return statement in void function.
  15721. (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext): Declare
  15722. ptr early.
  15723. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
  15724. (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender): Mark
  15725. unused arguments.
  15726. (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Likewise.
  15727. (Java_gnu_java_awt_peer_gtk_ComponentGraphics_start_1gdk_1drawing):
  15728. Likewise.
  15729. (Java_gnu_java_awt_peer_gtk_ComponentGraphics_end_1gdk_1drawing):
  15730. Likewise.
  15731. 2006-05-29 Sven de Marothy <sven@physto.se>
  15732. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
  15733. (setPixels): Remove superfluous return statement.
  15734. 2006-05-29 Sven de Marothy <sven@physto.se>
  15735. * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
  15736. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  15737. * gnu/java/awt/peer/gtk/CairoSurface.java
  15738. * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
  15739. * gnu/java/awt/peer/gtk/ComponentGraphics.java
  15740. * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
  15741. * include/gnu_java_awt_peer_gtk_CairoSurface.h
  15742. * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
  15743. * native/jni/gtk-peer/cairographics2d.h
  15744. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
  15745. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
  15746. New files.
  15747. * gnu/java/awt/peer/gtk/GdkGraphics2D.java
  15748. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
  15749. * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h
  15750. Removed
  15751. * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
  15752. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
  15753. * gnu/java/awt/peer/gtk/GdkFontPeer.java
  15754. (releasePeerGraphicsResource): Moved to Font peer class.
  15755. * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
  15756. (createGraphics): Use new context classes.
  15757. * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
  15758. Use native BufferedImages where possible.
  15759. * gnu/java/awt/peer/gtk/GdkTextLayout.java
  15760. * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
  15761. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
  15762. Move GdkGraphics2D.drawGdkTextLayout to the GdkTextLayout class,
  15763. renamed to cairoDrawGdkTextLayout.
  15764. * gnu/java/awt/peer/gtk/GtkComponentPeer.java
  15765. (getGraphics): Use ComponentGraphics context.
  15766. (createImage): Use native BufferedImage.
  15767. * gnu/java/awt/peer/gtk/GtkImage.java:
  15768. * include/gnu_java_awt_peer_gtk_GtkImage.h
  15769. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
  15770. Remove pixmap support. (GtkImage(int, int) constructor, getGraphics)
  15771. Remove drawing methods.
  15772. * gnu/java/awt/print/JavaPrinterGraphics.java:
  15773. Use CairoSurface instead of GtkImage.
  15774. * include/Makefile.am
  15775. * native/jni/gtk-peer/Makefile.am
  15776. Update for new files.
  15777. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
  15778. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
  15779. Remove superfluous GtkImage code for GdkPixmaps.
  15780. * native/jni/gtk-peer/gtkpeer.h
  15781. Remove graphics2d structure.
  15782. 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  15783. * gnu/java/awt/peer/gtk/GdkGraphics2D.java (copying constructor):
  15784. Do not reuse fg in the constructor.
  15785. 2006-05-29 Carsten Neumann <cn-develop@gmx.net>
  15786. * java/io/ObjectStreamConstants.java: Added API docs.
  15787. 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  15788. * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setColor):
  15789. Take no action if this color is already set.
  15790. 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  15791. * gnu/java/awt/peer/gtk/GdkGraphics2D.java (translate):
  15792. Rewritten.
  15793. * examples/gnu/classpath/examples/swing/FillRect.java (paintComponent):
  15794. Optionally paint with translation. (createContent): Added option
  15795. to test painting with translation
  15796. 2006-05-29 Raif S. Naffah <raif@swiftdsl.com.au>
  15797. * java/util/logging/FileHandler.java (FileHandler): Set the instance field
  15798. pattern to the default value when null.
  15799. Pass field pattern, and not parameter with same name to createFileStream.
  15800. 2006-05-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
  15801. * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
  15802. New class implementing the OS bean.
  15803. * gnu/java/lang/management/package.html:
  15804. New file to document the gnu.java.lang.management package.
  15805. * java/lang/management/ManagementFactory.java:
  15806. New class to provide access to the OS bean.
  15807. * java/lang/management/OperatingSystemMXBean.java:
  15808. New interface.
  15809. * java/lang/management/package.html:
  15810. New file to document the java.lang.management package.
  15811. 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
  15812. * tools/gnu/classpath/tools/keytool/ImportCmd.java (GKR): New constant.
  15813. (JKS): Likewise.
  15814. (LIB): Likewise.
  15815. (SECURITY): Likewise.
  15816. (CACERTS): Likewise.
  15817. (CACERTS_GKR): Likewise.
  15818. (gkrCaCertsPathName): New field.
  15819. (jksCaCertsPathName): Likewise.
  15820. (selfSignedCertificate): Likewise.
  15821. (start): Initialize trusted certificate key stores if -trustcacerts is
  15822. specified.
  15823. (ensureReplyIsOurs): Initialize selfSignedCertificate.
  15824. (orderChain): Implemented.
  15825. (findTrustAndUpdate): Check a cacerts.gkr (GKR) and a cacert (JKS) trusted
  15826. certificate key stores if -trustcacerts option is specified.
  15827. (findTrustInCACerts): Removed.
  15828. (getCertPathParameters): New method.
  15829. (validate): New method.
  15830. * resource/gnu/classpath/tools/keytool/messages.properties: Added message.
  15831. 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
  15832. * java/util/logging/FileHandler.java (PROPERTY_PREFIX): New constant.
  15833. (PATTERN_KEY): Likewise.
  15834. (DEFAULT_PATTERN): Likewise.
  15835. (LIMIT_KEY): Likewise.
  15836. (DEFAULT_LIMIT): Likewise.
  15837. (COUNT_KEY): Likewise.
  15838. (DEFAULT_COUNT): Likewise.
  15839. (APPEND_KEY): Likewise.
  15840. (DEFAULT_APPEND): Likewise.
  15841. (FileHandler()): Use pattern value as set in logging.properties.
  15842. Use constants defined above.
  15843. (FileHandler(1)): Use constants defined above.
  15844. (FileHandler(2)): Likewise.
  15845. (FileHandler(3)): Likewise.
  15846. (FileHandler(4)): Likewise.
  15847. (createFileStream): Likewise.
  15848. 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
  15849. * java/util/logging/FileHandler.java: Reverted previous patch.
  15850. * java/util/logging/LogManager.java: Likewise.
  15851. 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
  15852. * java/util/logging/FileHandler.java (PATTERN_KEY): New constant.
  15853. (DEFAULT_PATTERN): Likewise.
  15854. (FileHandler()): Use configured pattern property if any; otherwise use a
  15855. default value as per RI documentation.
  15856. * java/util/logging/LogManager.java (getStringProperty): New method.
  15857. 2006-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
  15858. * NEWS: Announce libjawtgnu.so-to-libjawt.so rename.
  15859. 2006-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
  15860. * configure.ac (FOUND_CACAO): New automake conditional.
  15861. Add --enable-tool-wrappers.
  15862. * NEWS: Introduce the --enable-tool-wrappers option.
  15863. * tools/Makefile.am[CREATE_WRAPPERS]: Build wrapper binaries.
  15864. * tools/appletviewer.c: Remove file. Make tool-indepedent and
  15865. rename ...
  15866. * tools/toolwrapper.c: New file.
  15867. 2006-05-27 Dalibor Topic <robilad@kaffe.org>
  15868. * java/awt/Graphics2D.java: Use full class name for
  15869. PrinterJob in javadoc.
  15870. 2006-05-27 Andreas Tobler <a.tobler@schweiz.ch>
  15871. * native/jni/qt-peer/eventmethods.h (callVoidMethod): Silence warning.
  15872. (callMouseMethod): Likewise.
  15873. 2006-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
  15874. * native/jni/java-net/java_net_VMURLConnection.c:
  15875. Fix function declarations to specify unused parameters.
  15876. * scripts/check_jni_methods.sh:
  15877. Remove copies of the same function using uniq.
  15878. 2006-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
  15879. * vm/reference/java/net/VMURLConnection.java:
  15880. Make package-private and final.
  15881. 2006-05-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  15882. * examples/gnu/classpath/examples/swing/TableDemo.java
  15883. (TModed): Added editor for the icons column.
  15884. (createContent): Increase the row height by 2 px.
  15885. 2006-05-26 Tom Tromey <tromey@redhat.com>
  15886. PR classpath/27685:
  15887. * java/math/BigInteger.java (modPow): Correctly handle negative
  15888. exponent.
  15889. 2006-05-26 Tom Tromey <tromey@redhat.com>
  15890. * configure.ac: Check for magic.h and -lmagic.
  15891. * vm/reference/java/net/VMURLConnection.java: New file.
  15892. * include/java_net_VMURLConnection.h: New file.
  15893. * include/Makefile.am (H_FILES): Add VMURLConnection.h.
  15894. ($(top_srcdir)/include/java_net_VMURLConnection.h): New target.
  15895. * native/jni/java-net/Makefile.am (libjavanet_la_SOURCES):
  15896. Mention new file.
  15897. (libjavanet_la_LIBADD): Add $(LIBMAGIC).
  15898. * native/jni/java-net/java_net_VMURLConnection.c: New file.
  15899. 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
  15900. * tools/Makefile.am (installcheck-binSCRIPTS): Do nothing.
  15901. 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
  15902. * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
  15903. libjawtgnu.la libjawt.la.
  15904. 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
  15905. * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
  15906. gtkcairopeer.h.
  15907. 2006-05-25 Lillian Angel <langel@redhat.com>
  15908. PR 26174
  15909. * java/awt/Window.java
  15910. (Window): Moved code to helper.
  15911. (addWindowFocusListener): New function. Handles focus
  15912. listener code. Added code to handle focus lost/gained
  15913. from the window.
  15914. 2006-05-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
  15915. * configure.ac:
  15916. Make pkg-config check for GTK+ >= 2.8.
  15917. 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
  15918. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
  15919. (flush): Remove debugging printfs.
  15920. 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
  15921. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
  15922. (schedule_flush): New function.
  15923. (end_drawing_operation): Call schedule_flush.
  15924. 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
  15925. * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
  15926. paint performance demo.
  15927. * examples/gnu/classpath/examples/swing/FillRect.java: New file.
  15928. 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
  15929. * INSTALL: Bump GTK requirement to 2.8 or higher. Do not mention
  15930. Cairo version requirement. Do not mention --enable-gtk-cairo
  15931. configure option.
  15932. * NEWS: Add entry for GdkGraphics2D.
  15933. * configure.ac: Remove --enable-gtk-cairo and explicit checks for
  15934. Cairo library and headers.
  15935. * .externalToolBuilders/Configure.launch: Remove
  15936. --enable-gtk-cairo from configure line.
  15937. * gnu/classpath/Configuration.java.in (GTK_CAIRO_ENABLED): Remove
  15938. field.
  15939. * gnu/java/awt/BitwiseXORComposite.java: Fix javadoc typo.
  15940. * gnu/java/awt/peer/gtk/GdkFontPeer.java,
  15941. native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c : Remove
  15942. useGraphics2D references. Always assume Graphics2D is enabled.
  15943. * gnu/java/awt/peer/gtk/GdkGraphics.java,
  15944. native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Remove.
  15945. * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
  15946. native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
  15947. Unlocked method variants. Remove GTK_CAIRO_ENABLED and
  15948. useGraphics2D references. Always assume Graphics2D is enabled.
  15949. * gnu/java/awt/peer/gtk/GdkTextLayout.java: Remove instanceof
  15950. Graphics2D check. Always assume Graphics2D is enabled.
  15951. * gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
  15952. native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
  15953. (realize): Remove method.
  15954. * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
  15955. native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
  15956. (isRealized): Remove method.
  15957. (realize): Implement as a native method. Remove useGraphics2D
  15958. references. Always assume Graphics2D is enabled.
  15959. * gnu/java/awt/peer/gtk/GtkImage.java,
  15960. native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: Replace
  15961. GdkGraphics references with GdkGraphics2D references.
  15962. * gnu/java/awt/peer/gtk/GtkToolkit.java,
  15963. native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Remove
  15964. useGraphics2D references. Always assume Graphics2D is enabled.
  15965. * include/Makefile.am (GTKPEER_H_FILES): Remove
  15966. gnu_java_awt_peer_gtk_GdkGraphics.h.
  15967. * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerate.
  15968. * include/gnu_java_awt_peer_gtk_GdkGraphics.h: Remove.
  15969. * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h: Regenerate.
  15970. * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h: Likewise.
  15971. * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Likewise.
  15972. * native/jawt/Makefile.am (AM_LDFLAGS): Remove CAIRO_LIBS.
  15973. * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
  15974. gnu_java_awt_peer_gtk_GdkGraphics.c. Include
  15975. gnu_java_awt_peer_gtk_GdkGraphics2D.c unconditionally.
  15976. (AM_LDFLAGS): Remove CAIRO_LIBS.
  15977. (AM_CFLAGS): Remove CAIRO_CFLAGS.
  15978. * native/jni/gtk-peer/gtkcairopeer.h: Remove. Move declarations
  15979. to ...
  15980. * native/jni/gtk-peer/gtkpeer.h: Add Graphics2D declarations.
  15981. 2006-05-25 Lillian Angel <langel@redhat.com>
  15982. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
  15983. (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetSetCursorUnlocked):
  15984. Added check to prevent assertion error. If widget->window is null, then
  15985. use the parent widget's window to set the cursor on.
  15986. 2006-05-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  15987. * javax/swing/plaf/basic/BasicTreeUI.java (TreeCancelEditingAction):
  15988. Implemented.
  15989. 2006-05-24 Lillian Angel <langel@redhat.com>
  15990. * tools/gnu/classpath/tools/appletviewer/AppletTag.java
  15991. (prependCodeBase): Added check to determine if the documentbase
  15992. points to a directory or a file.
  15993. 2006-05-24 Sven de Marothy <sven@physto.se>
  15994. * java/awt/dnd/DragGestureRecognizer.java
  15995. (resetRecognizer): Implement.
  15996. (fireDragGestureRecognized): Implement.
  15997. 2006-05-24 David Gilbert <david.gilbert@object-refinery.com>
  15998. * javax/swing/plaf/basic/BasicComboBoxUI.java: Marked stub methods and
  15999. fixed source code formatting.
  16000. 2006-05-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  16001. * javax/swing/JTable.java (valueChanged): If is editing, stop editing.
  16002. 2006-05-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  16003. Reported by Antony Balkisson.
  16004. * javax/swing/JTable.java (selectAll): Return without action
  16005. if the table is empty.
  16006. 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  16007. * examples/gnu/classpath/examples/swing/TableDemo.java:
  16008. (SliderCell): New inner class. (setCustomEditors,
  16009. setInformativeHeaders): New fields. (createContent):
  16010. Rewritten.
  16011. * javax/swing/DefaultCellEditor.java
  16012. (JComboBoxDelegate.shouldSelectCell): New method.
  16013. * javax/swing/JTable.java (editCellAt): Call shouldSelectCell.
  16014. * javax/swing/plaf/basic/BasicTableUI.java
  16015. (MouseInputHandler.mouseClicked): Start editing on a single
  16016. click if the cell editor is not a default cell editor.
  16017. 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  16018. * javax/swing/naming/CompositeName.java,
  16019. javax/swing/naming/CompoundName.java:
  16020. Documented.
  16021. 2006-05-23 Archie Cobbs <archie@dellroad.org>
  16022. * vm/reference/java/lang/VMClassLoader.java: fix static initializer
  16023. ordering problem.
  16024. 2006-05-23 David Gilbert <david.gilbert@object-refinery.com>
  16025. * javax/swing/tree/AbstractLayoutCache.java: Coding style fixes,
  16026. * javax/swing/tree/DefaultMutableTreeNode.java: Likewise,
  16027. * javax/swing/tree/DefaultTreeCellRenderer.java: Likewise,
  16028. * javax/swing/tree/DefaultTreeModel.java: Likewise,
  16029. * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise,
  16030. * javax/swing/tree/ExpandVetoException.java: Likewise,
  16031. * javax/swing/tree/FixedHeightLayoutCache.java: Likewise,
  16032. * javax/swing/tree/RowMapper.java: Likewise,
  16033. * javax/swing/tree/TreeNode.java: Likewise,
  16034. * javax/swing/tree/TreeSelectionModel.java: Likewise,
  16035. * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
  16036. 2006-05-23 David Gilbert <david.gilbert@object-refinery.com>
  16037. * javax/swing/tree/DefaultTreeCellRenderer.java
  16038. (DefaultTreeCellRenderer): Changed key for
  16039. setBackgroundNonSelectionColor(),
  16040. plus API docs all over.
  16041. 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  16042. PR 27680
  16043. * javax/swing/JTable.java (booleanInvertingEditor): New field.
  16044. (defaultEditorsByColumnClass, defaultRenderersByColumnClass):
  16045. Initialise in constructor. (columnMoved): Cancel editing.
  16046. (createDefaultEditors): Rewritten. (editCellAt):
  16047. Just invert the value if this is a boolean cell.
  16048. (initialiseLocalVars): Do not initialise renderer and editor tables.
  16049. (setUI): Create editors and renderers here.
  16050. 2006-05-23 Robert Schuster <robertschuster@fsfe.org>
  16051. * examples/gnu/classpath/examples/awt/Demo.java:
  16052. (MainWindow.MainWindow): Added ResolutionWindow and FullscreenWindow
  16053. instance as subframe.
  16054. (ResolutionWindow): New inner class.
  16055. (FullscreenWindow): New inner class.
  16056. 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  16057. PR 27680
  16058. * javax/swing/JTable.java (BooleanCellRenderer, IconCellRenderer):
  16059. Set horizontal alignment to centered.
  16060. 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
  16061. * javax/accessibility/AccessibleContext.java
  16062. (getAccessibleComponent): Fixed typo in docs,
  16063. * javax/swing/JLabel.java:
  16064. (AccessibleJLabel.getAccessibleName): Check for explicit
  16065. accessibleName,
  16066. * javax/swing/JTableHeader.java
  16067. (AccessibleJTableHeaderEntry.columnIndex): New field,
  16068. (AccessibleJTableHeaderEntry.parent): New field,
  16069. (AccessibleJTableHeaderEntry.table): New field,
  16070. (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry()):
  16071. Implemented,
  16072. (AccessibleJTableHeaderEntry.getAccessibleColumnHeaderRenderer): New
  16073. utility method,
  16074. (AccessibleJTableHeaderEntry.addFocusListener): Implemented,
  16075. (AccessibleJTableHeaderEntry.addPropertyChangeListener): Implemented,
  16076. (AccessibleJTableHeaderEntry.contains): Implemented,
  16077. (AccessibleJTableHeaderEntry.getAccessibleAction): Implemented,
  16078. (AccessibleJTableHeaderEntry.getAccessibleAt): Implemented,
  16079. (AccessibleJTableHeaderEntry.getAccessibleChild): Implemented,
  16080. (AccessibleJTableHeaderEntry.getAccessibleChildrenCount): Implemented,
  16081. (AccessibleJTableHeaderEntry.getAccessibleComponent): Implemented,
  16082. (AccessibleJTableHeaderEntry.getAccessibleContext): Implemented,
  16083. (AccessibleJTableHeaderEntry.getAccessibleDescription): Implemented,
  16084. (AccessibleJTableHeaderEntry.getAccessibleIndexInParent): Implemented,
  16085. (AccessibleJTableHeaderEntry.getAccessibleName): Implemented,
  16086. (AccessibleJTableHeaderEntry.getAccessibleRole): Implemented,
  16087. (AccessibleJTableHeaderEntry.getAccessibleSelection): Implemented,
  16088. (AccessibleJTableHeaderEntry.getAccessibleStateSet): Implemented,
  16089. (AccessibleJTableHeaderEntry.getAccessibleText): Implemented,
  16090. (AccessibleJTableHeaderEntry.getAccessibleValue): Implemented,
  16091. (AccessibleJTableHeaderEntry.getBackground): Implemented,
  16092. (AccessibleJTableHeaderEntry.getBounds): Implemented,
  16093. (AccessibleJTableHeaderEntry.getCursor): Implemented,
  16094. (AccessibleJTableHeaderEntry.getFont): Implemented,
  16095. (AccessibleJTableHeaderEntry.getFontMetrics): Implemented,
  16096. (AccessibleJTableHeaderEntry.getForeground): Implemented,
  16097. (AccessibleJTableHeaderEntry.getLocation): Implemented,
  16098. (AccessibleJTableHeaderEntry.getLocationOnScreen): Implemented,
  16099. (AccessibleJTableHeaderEntry.getSize): Implemented,
  16100. (AccessibleJTableHeaderEntry.isEnabled): Implemented,
  16101. (AccessibleJTableHeaderEntry.isFocusTraversable): Implemented,
  16102. (AccessibleJTableHeaderEntry.isShowing): Implemented,
  16103. (AccessibleJTableHeaderEntry.isVisible): Implemented,
  16104. (AccessibleJTableHeaderEntry.removeFocusListener): Implemented,
  16105. (AccessibleJTableHeaderEntry.removePropertyChangeListener):
  16106. Implemented,
  16107. (AccessibleJTableHeaderEntry.requestFocus): Implemented,
  16108. (AccessibleJTableHeaderEntry.setAccessibleDescription): Implemented,
  16109. (AccessibleJTableHeaderEntry.setAccessibleName): Implemented,
  16110. (AccessibleJTableHeaderEntry.setBackground): Implemented,
  16111. (AccessibleJTableHeaderEntry.setBounds): Implemented,
  16112. (AccessibleJTableHeaderEntry.setCursor): Implemented,
  16113. (AccessibleJTableHeaderEntry.setEnabled): Implemented,
  16114. (AccessibleJTableHeaderEntry.setFont): Implemented,
  16115. (AccessibleJTableHeaderEntry.setForeground): Implemented,
  16116. (AccessibleJTableHeaderEntry.setLocation): Implemented,
  16117. (AccessibleJTableHeaderEntry.setSize): Implemented,
  16118. (AccessibleJTableHeaderEntry.setVisible): Implemented,
  16119. (AccessibleJTableHeader.getAccessibleRole): Implemented,
  16120. (AccessibleJTableHeader.getAccessibleChildrenCount): Implemented,
  16121. (AccessibleJTableHeader.getAccessibleChild): Implemented,
  16122. (AccessibleJTableHeader.getAccessibleAt): Implemented.
  16123. 2006-05-22 Tom Tromey <tromey@redhat.com>
  16124. * NEWS: Updated.
  16125. 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
  16126. * javax/swing/JLabel.java
  16127. (AccessibleJLabel.getAccessibleName): New method (override),
  16128. (setLabelFor): Fire 'labelFor' property change event before other
  16129. events.
  16130. 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
  16131. * javax/swing/JLabel.java
  16132. (AccessibleJLabel.getAccessibleRole): New method (override).
  16133. 2006-05-22 Tom Tromey <tromey@redhat.com>
  16134. * resource/gnu/classpath/tools/serialver/messages.properties: New
  16135. file.
  16136. * tools/gnu/classpath/tools/serialver/Messages.java: New file.
  16137. * tools/gnu/classpath/tools/serialver/SerialVer.java (classes): New
  16138. field.
  16139. (classpath): Likewise.
  16140. (run): New method.
  16141. (main): Use it.
  16142. (addFileURL): New method.
  16143. (getClassLoader): Likewise.
  16144. (printMessage): Likewise.
  16145. 2006-05-22 Tom Tromey <tromey@redhat.com>
  16146. * tools/gnu/classpath/tools/serialver/SerialVer.java: New file.
  16147. 2006-05-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  16148. * javax/swing/JTable.java (doLayout): In the column
  16149. resize mode, only repaing the changed part of the table.
  16150. (getLeftResizingBoundary): New method.
  16151. 2006-05-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  16152. * javax/naming/spi/InitialContextFactory.java,
  16153. javax/naming/spi/InitialContextFactoryBuilder.java,
  16154. javax/naming/spi/NamingManager.java,
  16155. javax/naming/spi/ObjectFactory.java,
  16156. javax/naming/spi/ResolveResult.java,
  16157. javax/naming/spi/Resolver.java,
  16158. javax/naming/spi/StateFactory.java: Documented.
  16159. 2006-05-21 Tom Tromey <tromey@redhat.com>
  16160. PR classpath/27688:
  16161. * tools/gnu/classpath/tools/jar/Extractor.java (allItems): Now
  16162. a WorkSet.
  16163. (initSet): Removed.
  16164. (shouldExtract): Removed.
  16165. (run): Updated.
  16166. * tools/gnu/classpath/tools/jar/WorkSet.java: New file.
  16167. * tools/gnu/classpath/tools/jar/Lister.java (readUntilEnd): New
  16168. method.
  16169. (listJar): Use it.
  16170. (allItems): New field.
  16171. (run): Initialize it.
  16172. (listJar): Use it.
  16173. 2006-05-22 Sven de Marothy <sven@physto.se>
  16174. * java/nio/CharBuffer.java
  16175. (wrap): Fix bounds checking.
  16176. 2004-08-26 Tom Tromey <tromey@redhat.com>
  16177. * java/io/OutputStream.java
  16178. (OutputStream): Implements Closeable, Flushable.
  16179. 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
  16180. * java/io/ObjectOutputStream.java:
  16181. (writeObject(Object)): Added enum support.
  16182. (writeClassDescriptor(ObjectStreamClass)): Likewise.
  16183. * java/io/ObjectStreamClass.java:
  16184. (isEnum()): New package-private method.
  16185. (setFlags(Class)): Added enum support.
  16186. * java/io/ObjectStreamConstants.java:
  16187. (SC_ENUM): Added.
  16188. 2006-03-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
  16189. * java/io/ObjectInputStream.java:
  16190. (parseContent(byte)): Added enum support.
  16191. * java/io/ObjectStreamConstants.java:
  16192. (TC_ENUM): Added.
  16193. (TC_MAX): Changed to new maximum, TC_ENUM.
  16194. 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
  16195. * java/beans/beancontext/BeanContextSupport.java:
  16196. (instantiateChild(String)): Implemented.
  16197. 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
  16198. * java/beans/beancontext/BeanContextSupport.java:
  16199. (add(Object)): Add further documentation.
  16200. (isEmpty()): Documented.
  16201. (propertyChange(PropertyChangeEvent)): Implemented.
  16202. (remove(Object)): Documented.
  16203. (remove(Object,boolean)): Documented and implemented.
  16204. (vetoableChange(PropertyChangeEvent)): Marked as
  16205. implemented (only subclasses appear to need this).
  16206. 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
  16207. * java/beans/beancontext/BeanContextSupport.java:
  16208. (add(Object)): Implement support for the child being
  16209. a BeanContextChild.
  16210. (avoidingGui()): Implemented.
  16211. (dontUseGui()): Likewise.
  16212. (needsGui()): Likewise.
  16213. (okToUseGui()): Likewise.
  16214. 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  16215. * javax/naming/Context.java,
  16216. javax/naming/ContextNotEmptyException.java,
  16217. javax/naming/Reference.java: Documented.
  16218. 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  16219. * javax/swing/text/html/MinimalHTMLWriter.java
  16220. (writeComponent, writeImage): Declare that the method
  16221. may throw the IOException.
  16222. 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  16223. PR 26972
  16224. * javax/naming/InitialContext.java (colon_list): Changed type to
  16225. hashset. (use_properties): New field. (init(Hashtable)): Rewritten.
  16226. (merge): Rewritten.
  16227. 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  16228. * javax/naming/InitialContext.java: Documented.
  16229. 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  16230. * javax/naming/NameParser.java,
  16231. javax/naming/NamingEnumeration.java,
  16232. javax/naming/PartialResultException.java,
  16233. javax/naming/SizeLimitExceededException.java,
  16234. javax/naming/spi/ObjectFactory.java,
  16235. javax/naming/spi/ObjectFactoryBuilder.java: Documented.
  16236. 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
  16237. * gnu/java/net/loader/JarURLLoader.java:
  16238. Use Map.Entry instead of LinkedHashMap.Entry
  16239. 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  16240. * javax/naming/Context.java: Documented.
  16241. 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  16242. * javax/naming/Referenceable.java: Documented.
  16243. * javax/naming/spi/NamingManager.java: Documented.
  16244. 2006-05-21 Raif S. Naffah <raif@swiftdsl.com.au>
  16245. * doc/tools.texinfo: Replaced references to MessageBundle.properties
  16246. to messages.properties.
  16247. * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
  16248. Renamed to messages.properties.
  16249. * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
  16250. Likewise.
  16251. * resource/gnu/classpath/tools/jarsigner/messages.properties:
  16252. Renamed from MessageBundle.properties.
  16253. Added copyright notice.
  16254. * resource/gnu/classpath/tools/keytool/messages.properties:
  16255. Likewise.
  16256. * tools/gnu/classpath/tools/jarsigner/Messages.java
  16257. (BUNDLE_NAME): Use messages instead of MessageBundle properties file.
  16258. (getFormattedString): Fixed a spelling mistake.
  16259. * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
  16260. 2006-05-20 Sven de Marothy <sven@physto.se>
  16261. * gnu/java/awt/font/opentype/NameDecoder.java
  16262. Made class public.
  16263. (getName): Use getShort instead of getChar(), fix PS name.
  16264. (decodeName): New method.
  16265. * gnu/java/awt/peer/gtk/GdkFontPeer.java
  16266. (getSubFamilyName): Implement.
  16267. (getPostScriptName): Use the NameDecoder class instead.
  16268. (parsePSName): Removed.
  16269. (getName): Added
  16270. 2006-05-20 Sven de Marothy <sven@physto.se>
  16271. * gnu/java/awt/peer/gtk/GdkFontPeer.java
  16272. (getTrueTypeTable): New native method.
  16273. (getPostScriptName): Reimplement.
  16274. (parsePSName): New method.
  16275. (getNumGlyphs): Implement.
  16276. * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: New native method.
  16277. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
  16278. (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTrueTypeTable):
  16279. New function. File is now explicitly dependent on FT2.
  16280. 2006-05-20 Tom Tromey <tromey@redhat.com>
  16281. * tools/gnu/classpath/tools/native2ascii/Messages.java: New file.
  16282. * resource/gnu/classpath/tools/native2ascii/messages.properties: New
  16283. file.
  16284. * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
  16285. (HandleFile): New class.
  16286. (input, output, encoding, reversed): New fields.
  16287. (createParser): New method.
  16288. (run): Likewise.
  16289. (main): Use 'run'.
  16290. * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java
  16291. (notifyFile): Throws OptionException.
  16292. 2006-05-20 Tom Tromey <tromey@redhat.com>
  16293. * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java: New file,
  16294. from cp-tools.
  16295. 2006-05-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
  16296. * native/jni/java-nio/gnu_java_nio_VMChannel.c:
  16297. (JCL_print_buffer): Fix to work with -Werror on 64-bit
  16298. platforms.
  16299. 2006-05-20 Sven de Marothy <sven@physto.se>
  16300. * java/awt/Font.java (getNumGlyphs): Call correct peer method.
  16301. 2006-05-20 Sven de Marothy <sven@physto.se>
  16302. * gnu/java/awt/print/JavaPrinterJob.java
  16303. (print): Use PostScriptGraphics2D.
  16304. * gnu/java/awt/print/PostScriptGraphics2D.java: New file.
  16305. 2006-05-20 Sven de Marothy <sven@physto.se>
  16306. * javax/swing/text/html/MinimalHTMLWriter.java: New file
  16307. 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
  16308. * gnu/java/security/OID.java: Updated copyright year.
  16309. (OID): Removed unused Javadoc param tag.
  16310. * gnu/java/security/prng/PRNGFactory.java: Removed unused import.
  16311. * gnu/java/security/hash/MD4.java: Fixed a Javadoc link.
  16312. 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
  16313. * gnu/javax/crypto/jce/keyring/GnuKeyring.java (engineAliases):
  16314. Formatting.
  16315. Added trace/debug statements.
  16316. (engineSetCertificateEntry): Ensure alias is not already used for a Key
  16317. Entry. Also ensure that any previous entry for this alias is removed
  16318. before a new one is added.
  16319. (engineGetKey): Do not trace/log passwords.
  16320. Trace key's class name only.
  16321. (engineSetKeyEntry): Ensure alias is not alredy used for a Trusted
  16322. Certificate Entry. Also ensure that previous entry for this alias is
  16323. removed before a new one is added.
  16324. (engineLoad): Do not trace/log passwords.
  16325. (engineStore): Likewise.
  16326. (engineSize): Use size of enumeration instead of collection size.
  16327. 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
  16328. * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Formatting.
  16329. (toString): New method.
  16330. * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java (decrypt):
  16331. Do not trace/log passwords.
  16332. Set masked to false before decoding envelope.
  16333. Do not set payload to null.
  16334. (encrypt): Set masked to true.
  16335. * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java (verify):
  16336. Do not trace/log passwords.
  16337. Set masked to false before decoding envelope.
  16338. Do not set payload to null.
  16339. Added trace/debug statements.
  16340. (authenticate): Do not trace/log passwords.
  16341. Set masked to true.
  16342. Added trace/debug statements.
  16343. (getMac): Added trace/debug statements.
  16344. * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java
  16345. (remove(String)): Changed the signature to return a boolean.
  16346. (toString): New method.
  16347. * gnu/javax/crypto/keyring/GnuPublicKeyring.java (containsCertificate):
  16348. Formatting
  16349. (getCertificate): Likewise.
  16350. (putCertificate): Likewise.
  16351. (load): Likewise.
  16352. Do not trace/log passwords.
  16353. (store): Likewise.
  16354. * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (getPrivateKey):
  16355. Do not trace/log passwords.
  16356. Added more trace/logging statements.
  16357. (putPrivateKey): Do not trace/log passwords.
  16358. Trace only key's class name.
  16359. Formatting.
  16360. (containsPublicKey): Formatting.
  16361. (getPublicKey): Likewise.
  16362. Trace only key's class name.
  16363. (putPublicKey): Trace only key's class name.
  16364. (containsCertPath): Formatting.
  16365. (getCertPath): Likewise.
  16366. (putCertPath): Likewise.
  16367. (load): Do not trace/log passwords.
  16368. Formatting.
  16369. (store): Likewise.
  16370. * gnu/javax/crypto/keyring/EnvelopeEntry.java (log): New field.
  16371. (add): Do not set payload to null.
  16372. Added trace/debug statements.
  16373. (containsAlias): Added trace/debug statements.
  16374. (get): Likewise.
  16375. (remove(Entry)): Likewise.
  16376. (remove(String)): Likewise.
  16377. Changed the signature to return a boolean.
  16378. Do not set payload to null unless really removed.
  16379. (toString): New method.
  16380. (decodeEnvelope): Clear entries before proceeding.
  16381. (makeAliasList): Added trace/debug statements.
  16382. Ensure only non-null aliases and alias-lists are added.
  16383. * gnu/javax/crypto/keyring/Entry.java (log): New field.
  16384. (TYPES): New constant.
  16385. (toString): New method.
  16386. (defaultDecode): Add trace/debug statement.
  16387. 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
  16388. * tools/gnu/classpath/tools/keytool/ListCmd.java (rfc):
  16389. Increased visibility.
  16390. (setup): Do not trace/log passwords.
  16391. (parsed): Was not setting correct (rfc) field; fixed.
  16392. (print1Chain): Formatting.
  16393. * tools/gnu/classpath/tools/keytool/DeleteCmd.java (setup):
  16394. Do not trace/log passwords.
  16395. * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup): Likewise.
  16396. * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Likewise.
  16397. * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
  16398. * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java (setup): Likewise.
  16399. * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java (setup): Likewise.
  16400. * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
  16401. (orderChain): Added FIXME.
  16402. * tools/gnu/classpath/tools/keytool/CertReqCmd.java (setup):
  16403. Do not trace/log passwords.
  16404. Removed commented out code.
  16405. * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java (setup): Likewise.
  16406. * tools/gnu/classpath/tools/keytool/SelfCertCmd.java (setup): Likewise.
  16407. * tools/gnu/classpath/tools/keytool/Command.java (doCommand): Formatting.
  16408. (setKeystoreURLParam): Likewise.
  16409. (setKeystorePasswordParam): Do not trace/log passwords.
  16410. (saveKeyStore): Likewise.
  16411. 2006-05-19 Roman Kennke <kennke@aicas.com>
  16412. * gnu/java/awt/java2d/AbstractGraphics2D.java
  16413. Added class docs.
  16414. (pixel): Removed obsolete field.
  16415. (draw(Shape)): Removed commented out code.
  16416. (drawImage): Formatting.
  16417. (drawString): Added optimization hook.
  16418. (setPaint): Removed rawSetForeground().
  16419. (getFontRenderContext): Return context with correct transform.
  16420. (drawGlyphVector): Draw complete outline in one go.
  16421. (copyArea): Added optimization hook.
  16422. (clearRect): Added optimization hook.
  16423. (drawImage): Added optimization hook.
  16424. (fillShape): (Temporarily) Set antialiasing off by default for
  16425. font rendering. Adjust the shape by some bits to improve rendering.
  16426. Pass clip bounds to the render methods.
  16427. (drawPixel): Removed.
  16428. (rawSetPixel): Removed.
  16429. (rawSetForeground): Removed.
  16430. (rawDrawLine): Default impl calls standard pipeline.
  16431. (rawDrawString): New method, calls standard pipeline for rendering.
  16432. (rawClearRect): New method, calls standard pipeline for rendering.
  16433. (rawFillRect): New method, calls standard pipeline for rendering.
  16434. (rawDrawImage): New method, calls standard pipeline for rendering.
  16435. (rawCopyArea): New method.
  16436. (copyAreaImpl): New method.
  16437. (rawFillShape): Renamed to fillShapeImpl(). Small optimization
  16438. for rendering.
  16439. (fillShapeAntialias): Fixed AA rendering.
  16440. (fillScanlineAA): Fixed AA rendering.
  16441. (getSegments): Take offset into account.
  16442. 2006-05-19 Sven de Marothy <sven@physto.se>
  16443. * javax/swing/text/AbstractWriter.java
  16444. (getText): Fix parameters (start, length) not (start, end).
  16445. 2006-05-19 Tom Tromey <tromey@redhat.com>
  16446. PR classpath/27444:
  16447. * gnu/java/net/loader/URLLoader.java (getClassPath): Documented.
  16448. Changed return type.
  16449. * java/net/URLClassLoader.java (urlloaders): Removed.
  16450. (addURLImpl): Updated.
  16451. * gnu/java/net/loader/JarURLLoader.java (initialized): New field.
  16452. (indexSet): Likewise.
  16453. (classPath): Changed type.
  16454. (JarURLLoader): New constructor.
  16455. (initialize): New method.
  16456. (getResource): Use index set if it exists.
  16457. (getClassPath): Updated.
  16458. * gnu/java/net/IndexListParser.java (IndexListParser): Avoid NPE.
  16459. (prefixes): New field.
  16460. (headers): Removed.
  16461. (IndexListParser): Fill in prefixes.
  16462. (clearAll): Clear prefixes.
  16463. (getHeaders): Changed return type.
  16464. 2006-05-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  16465. * javax/swing/plaf/basic/BasicTableHeaderUI.java
  16466. (MouseInputHandler.mouseExitted): No nothing there.
  16467. (MouseInputHandler.endDragging): Move column to the
  16468. first/last position if released outside the horizontal
  16469. table range.
  16470. 2006-05-19 Lillian Angel <langel@redhat.com>
  16471. * java/awt/font/GlyphVector.java
  16472. (getGlyphCharIndex): Implemented.
  16473. (getGlyphCharIndices): Implemented.
  16474. (getGlyphOutline): Implemented.
  16475. (getGlyphVisualBounds): Implemented.
  16476. (getGlyphVisualBounds): Implemented.
  16477. (getPixelBounds): Implemented.
  16478. (getLayoutFlags): Implemented.
  16479. 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
  16480. * java/awt/LightweightDispatcher.java: Added field dragButton and
  16481. documentation for it.
  16482. (handleMouseEvent): Rewritten MOUSE_PRESSED case in switch-statement,
  16483. added subexpression to if-clause in MOUSE_RELEASED case.
  16484. 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
  16485. * javax/swing/metal/MetalButtonUI.java:
  16486. (update): Removed some subexpression from if-clause and call
  16487. updateWithGradient.
  16488. (updateWithGradient): New method.
  16489. 2006-05-19 Roman Kennke <kennke@aicas.com>
  16490. * javax/swing/JComponent.java
  16491. (findOverlapFreeParent): Implemented algorithm for finding
  16492. overlapping in component hierarchy.
  16493. 2006-05-19 Jeroen Frijters <jeroen@frijters.net>
  16494. * java/lang/Thread.java
  16495. (contextClassLoaderIsSystemClassLoader): New field.
  16496. (Thread(ThreadGroup,Runnable)): Call createAnonymousThreadName.
  16497. (Thread(VMThread,String,int,boolean)): Call createAnonymousThreadName
  16498. and set contextClassLoaderIsSystemClassLoader.
  16499. (Thread(ThreadGroup,Runnable,String,long)):
  16500. Set contextClassLoaderIsSystemClassLoader.
  16501. (createAnonymousThreadName): New method.
  16502. (getContextClassLoader): Check contextClassLoaderIsSystemClassLoader
  16503. and fixed security check.
  16504. (setContextClassLoader): Clear contextClassLoaderIsSystemClassLoader.
  16505. 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
  16506. * javax/swing/plaf/basic/BasicToolBarUI.java:
  16507. (createNonRolloverBorder): Rewritten.
  16508. (createRolloverBorder): Rewritten.
  16509. (setToNonRolloverBorder): Store old border instance in hashtable.
  16510. (setToRolloverBorder): Store old border instance in hashtable, use
  16511. AbstractButton instead of JButton in statements.
  16512. (setBorderToNormal): Rewritten.
  16513. * javax/swing/plaf/metal/MetalLookAndFeel.java:
  16514. (initComponentDefaults): Added values for ToolBar.rolloverBorder and
  16515. ToolBar.nonrolloverBorder.
  16516. 2006-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
  16517. * javax/imageio/stream/ImageInputStreamImpl.java: Complete.
  16518. * javax/imageio/stream/MemoryCacheImageInputStream.java: Likewise.
  16519. 2006-05-18 Lillian Angel <langel@redhat.com>
  16520. * java/awt/font/GlyphMetrics.java
  16521. (getLSB): Implemented.
  16522. (getRSB): Implemented.
  16523. 2006-05-18 Lillian Angel <langel@redhat.com>
  16524. * java/awt/font/GraphicAttribute.java:
  16525. Documented entire class.
  16526. (GraphicAttribute): Added check for alignment.
  16527. (getBounds): Implemented.
  16528. (getJustificationInfo): Implemented.
  16529. 2006-05-18 Robert Schuster <robertschuster@fsfe.org>
  16530. * java/awt/LightweightDispatcher.java:
  16531. (handleMouseEvent): Added note, added subexpression to if-statement.
  16532. 2006-05-18 Robert Schuster <robertschuster@fsfe.org>
  16533. * javax/swing/plaf/basic/BasicToolBarUI.java:
  16534. (navigateFocusedComp): Marked as stub.
  16535. (createRolloverBorder): Create a different Border instance, added note.
  16536. * javax/swing/plaf/metal/MetalBorders.java:
  16537. (ButtonBorder): Added documentation.
  16538. (ButtonBorder.paintDefaultButtonBorder): Added else-block.
  16539. (ButtonBorder.paintOceanButtonBorder): Added else-block, added
  16540. subexpression into if-else cascade, added note.
  16541. 2006-05-18 Lillian Angel <langel@redhat.com>
  16542. * java/awt/font/ShapeGraphicAttribute.java:
  16543. Documented entire class.
  16544. (ShapeGraphicAttribute): Initialized bounds field.
  16545. (draw): Implemented.
  16546. (equals): Implemented.
  16547. (getAdvance): Implemented.
  16548. (getAscent): Implemented.
  16549. (getBounds): Implemented.
  16550. (getDescent): Implemented.
  16551. (hashCode): Implemented.
  16552. 2006-05-18 Roman Kennke <kennke@aicas.com>
  16553. * javax/swing/CellRendererPane.java
  16554. (CellRendererPane): Set CellRendererPane to invisible.
  16555. 2006-05-18 Roman Kennke <kennke@aicas.com>
  16556. * gnu/java/awt/peer/gtk/GdkGraphics.java
  16557. (clipRect): Removed old intersection statement.
  16558. 2006-05-18 Roman Kennke <kennke@aicas.com>
  16559. * gnu/java/awt/peer/gtk/GdkGraphics.java
  16560. (clipRect): Don't use Rectangle.intersection() to avoid creating
  16561. 2 unnecessary Rectangle instances and fix a clipping problem.
  16562. (computeIntersection): New helper method, adapted from SwingUtilities.
  16563. 2006-05-18 Roman Kennke <kennke@aicas.com>
  16564. * javax/swing/JComponent.java
  16565. (isCompletelyDirty): Removed.
  16566. (paint): Don't mark children as clean, this is no longer necessary.
  16567. (findOverlapFreeParent): Don't stop at Viewports, this breaks
  16568. painting when something overlaps the viewport (like a popup/menu).
  16569. * javax/swing/RepaintManager.java
  16570. (currentRepaintManagers): Made package private to avoid accessor
  16571. methods.
  16572. (dirtyComponents): Made private.
  16573. (dirtyComponentsWork): Made private.
  16574. (markCompletelyDirty): Fixed bounds of dirtyrect to be
  16575. component-local not parent-local. Do not set flag in JComponent.
  16576. (markCompletelyClean): Don't set JComponent flag.
  16577. (isCompletelyDirty): Rewritten to return true when the complete
  16578. component is marked dirty.
  16579. (paintDirtyRegions): Improved parent-merging so that the merged-in
  16580. components don't get painted too. 'Outsourced' the compilation
  16581. of the repaint root components.
  16582. (compileRepaintRoots): New helper method.
  16583. 2006-05-18 Roman Kennke <kennke@aicas.com>
  16584. PR 26368
  16585. * javax/swing/text/GapContent.java
  16586. (GapContentPosition(int)): Use adapted binarySearch method to
  16587. allow for having a greater array than number of entries.
  16588. (numMarks): New field, holds the end of the marks list.
  16589. (GapContent): Initialize positionMarks with size of 10 instead of 0.
  16590. (shiftGapStartDown): Adjusted for new setPositionsInRange signature.
  16591. (shiftGapEndUp): Adjusted for new setPositionsInRange signature.
  16592. (setPositionsInRange): Changed signature to narrow the purpose and
  16593. special cases inside. Reimplemented to crunch together equal marks.
  16594. (adjustPositionsInRange): Added assertion to make sure we do
  16595. not accidentally change the order of the mark. Added some debug
  16596. output for a special case of which I don't know if it even exists.
  16597. (resetMarksAtZero): Made impl simpler.
  16598. (dumpMarks): New debug helper method.
  16599. (insertMark): Grow array in bigger chunks to avoid excessive copying.
  16600. (binarySearch): New method. An adaption of Arrays.binarySearch()
  16601. that allows for an maxIndex parameter.
  16602. 2006-05-18 Roman Kennke <kennke@aicas.com>
  16603. * javax/swing/KeyboardManager.java
  16604. (topLevelLookup): Use WeakHashMap to avoid memory leak.
  16605. 2006-05-18 Jeroen Frijters <jeroen@frijters.net>
  16606. * gnu/java/net/loader/JarURLLoader.java
  16607. (JarURLLoader): Use a slightly more efficient URL constructor.
  16608. 2006-05-18 David Gilbert <david.gilbert@object-refinery.com>
  16609. * gnu/java/awt/print/JavaPrinterGraphics.java
  16610. (drawImage(Image, int, int, Color, ImageObserver)): Fix endless loop,
  16611. (drawImage(Image, int, int, ImageObserver)): Likewise,
  16612. (drawImage(Image, int, int, int, int, Color, ImageObserver)): Likewise,
  16613. (drawImage(Image, int, int, int, int, ImageObserver)): Likewise,
  16614. (drawImage(Image, int, int, int, int, int, int, int, int, Color,
  16615. ImageObserver)): Likewise,
  16616. (drawImage(Image, int, int, int, int, int, int, int, int,
  16617. ImageObserver)): Likewise.
  16618. 2006-05-17 Tom Tromey <tromey@redhat.com>
  16619. * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use a
  16620. LinkedHashSet.
  16621. 2006-05-17 David Gilbert <david.gilbert@object-refinery.com>
  16622. * javax/swing/border/AbstractBorder.java: Source code formatting fixes,
  16623. * javax/swing/border/BevelBorder.java: Likewise,
  16624. * javax/swing/border/CompoundBorder.java: Likewise,
  16625. * javax/swing/border/TitledBorder.java: Likewise.
  16626. 2006-05-17 David Gilbert <david.gilbert@object-refinery.com>
  16627. * javax/swing/table/AbstractTableModel.java: Formatting fixes,
  16628. * javax/swing/table/DefaultTableModel.java: Likewise,
  16629. * javax/swing/table/TableCellEditor.java: Likewise,
  16630. * javax/swing/table/TableCellRenderer.java: Likewise.
  16631. 2006-05-17 Lillian Angel <langel@redhat.com>
  16632. * java/awt/font/ImageGraphicAttribute.java:
  16633. Documented entire class.
  16634. (ImageGraphicAttribute): Changed to call this.
  16635. (ImageGraphicAttribute): Implemented.
  16636. (draw): Implemented.
  16637. (equals): Implemented.
  16638. (getAdvance): Implemented.
  16639. (getAscent): Implemented.
  16640. (getBounds): Implemented.
  16641. (getDescent): Implemented.
  16642. (hashCode): Implemented.
  16643. * javax/swing/text/html/HTMLDocument.java
  16644. (create): Removed. Sufficent enough for
  16645. super to be called.
  16646. (insert): Likewise.
  16647. (insertUpdate): Likewise.
  16648. (processHTMLFrameHyperlinkEvent): Marked as stub.
  16649. (start): Removed FIXME.
  16650. (end): Likewise.
  16651. (start): Called super.
  16652. (end): Called super.
  16653. (getElement): removed unneeded code.
  16654. (setParagraphAttribute): Removed. Sufficent enough
  16655. for super to be called.
  16656. (fireChangedUpdate): Likewise.
  16657. (fireUndoableEditUpdate): Likewise.
  16658. 2006-05-17 Lillian Angel <langel@redhat.com>
  16659. * java/awt/TexturePaint.java:
  16660. Added documentation for class and all functions.
  16661. (getTransparency): Implemented.
  16662. 2006-05-17 Roman Kennke <kennke@aicas.com>
  16663. * java/awt/LightweightDispatcher.java
  16664. (findTarget): Translate point to child components.
  16665. 2006-05-17 Roman Kennke <kennke@aicas.com>
  16666. PR 26368
  16667. * javax/swing/text/GapContent.java
  16668. (GapContentPosition): Do no more implement Comparable.
  16669. (GapContentPosition.mark): Removed field.
  16670. (GapContentPosition.index): New field to hold the index into
  16671. the positions array.
  16672. (GapContentPosition(int)): Rewritten to use the new indirection
  16673. to the positions array.
  16674. (GapContentPosition.compareTo): Removed.
  16675. (GapContentPosition.getOffset): Synchronized. Fetch mark from
  16676. positionMarks array.
  16677. (WeakPositionComparator): Removed obsolete class.
  16678. (positions): Changed type to WeakHashMap.
  16679. (positionMarks): New field, holds the marks of the positions.
  16680. (GapContent): Initialize new fields.
  16681. (createPosition): Rewritten to use the new indirection
  16682. to the positions array.
  16683. (getPositionsInRange): Rewritten to use the new indirection
  16684. to the positions array.
  16685. (setPositionsInRange): Rewritten to use the new indirection
  16686. to the positions array.
  16687. (adjustPositionsInRange): Rewritten to use the new indirection
  16688. to the positions array.
  16689. (insertMark): New helper method.
  16690. (clearPositionReferences): Removed obsolete methods.
  16691. 2006-05-17 Lillian Angel <langel@redhat.com>
  16692. * java/awt/GraphicsConfiguration.java
  16693. (getImageCapabilities): Implemented.
  16694. (getBufferCapabilities): Implemented.
  16695. 2006-05-17 Lillian Angel <langel@redhat.com>
  16696. * javax/swing/plaf/basic/BasicSliderUI.java
  16697. (focusGained): Implemented.
  16698. (focusLost): Implemented.
  16699. (paint): Added code to paint the focus.
  16700. * javax/swing/plaf/metal/MetalSliderUI.java
  16701. (paintThumb): Added code to set the thumbColor.
  16702. (paintFocus): Implemented properly.
  16703. 2006-05-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  16704. PR 27383
  16705. * javax/naming/spi/NamingManager.java (getURLContext):
  16706. Always search for the factory class in all possible places
  16707. and use VMStackWalker.
  16708. (forName): New method.
  16709. 2006-05-17 Roman Kennke <kennke@aicas.com>
  16710. * java/awt/LightweightDispatcher.java
  16711. (handleMouseEvent): Fixed search algorithm for finding the
  16712. mouse event target.
  16713. (findTarget): Fixed search algorithm for finding the
  16714. mouse event target.
  16715. 2006-05-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  16716. * javax/naming/spi/NamingManager.java: Documented.
  16717. 2006-05-17 Mark Wielaard <mark@klomp.org>
  16718. * THANKYOU: Add Trevor Linton <tlinton@xmission.com>.
  16719. * gnu/javax/imageio/jpeg/DCT.java: Cleanup Todo copyright.
  16720. * gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java: Likewise.
  16721. * gnu/javax/imageio/jpeg/ZigZag.java: Likewise.
  16722. 2006-05-17 Robert Schuster <robertschuster@fsfe.org>
  16723. Fixes PR 26947.
  16724. * javax/swing/plaf/basic/BasicInternalFrameUI.java: Updated copyright
  16725. year.
  16726. (BorderListener.mouseClicked): Detect double-clicks in title pane,
  16727. copied code from
  16728. BasicInternalFrameTitlePaneUI.MaximizeAction.actionPerformed().
  16729. 2006-05-17 Robert Schuster <robertschuster@fsfe.org>
  16730. Fixes PR 27626.
  16731. * java/awt/LightweightDispatcher.java:
  16732. (handleMouseEvent): Moved assignment into switch-block, added notes.
  16733. 2006-05-16 Lillian Angel <langel@redhat.com>
  16734. * javax/swing/text/StyleContext.java:
  16735. Changed staticAttributeKeys to be a Hashtable.
  16736. (getStaticAttribute): Implemented.
  16737. (getStaticAttributeKey): Implemented.
  16738. (readAttributeSet): Implemented.
  16739. (writeAttributeSet): Added FIXME. Not sure how
  16740. to implement this.
  16741. (readAttributes): Implemented.
  16742. (writeAttributes): Implemented.
  16743. (registerStaticAttibuteKey): Fixed to add key to
  16744. the hash table.
  16745. 2006-05-16 David Gilbert <david.gilbert@object-refinery.com>
  16746. * javax/swing/DefaultButtonModel.java
  16747. (setGroup): Removed event notification.
  16748. 2006-05-16 Lillian Angel <langel@redhat.com>
  16749. * javax/swing/plaf/basic/BasicComboBoxUI.java
  16750. (installKeyboardActions): Implemented.
  16751. (uninstallKeyboardActions): Implemented.
  16752. * javax/swing/plaf/basic/BasicComboPopup.java
  16753. (uninstallKeyboardActions): Removed FIXME. Nothing
  16754. to be done here.
  16755. (installKeyboardActions): Likewise.
  16756. * javax/swing/plaf/basic/BasicTextUI.java
  16757. (uninstallKeyboardActions): Implemented.
  16758. * javax/swing/plaf/basic/BasicTreeUI.java:
  16759. Added field for hashColor.
  16760. Marked stub methods.
  16761. (getHashColor): Implemented to use field.
  16762. (setHashColor): Likewise.
  16763. (getRowX): Implemented.
  16764. (NodeDimensions.getRowX): Changed to use BasicTreeUI.getRowX.
  16765. 2006-05-16 Roman Kennke <kennke@aicas.com>
  16766. PR 26521
  16767. * javax/swing/JTable.java
  16768. (rowHeights): New field.
  16769. (initializeLocalVars): Call setRowHeigt instead of rowHeight=,
  16770. in order to initialize rowHeights correctly.
  16771. (tableChanged): Nullify rowHeights when model changes. Only
  16772. create default columns from model when corresponding property
  16773. is set. Sync table model with rowHeights as appropriate.
  16774. (valueChanged): Call repaint with the correct rectangle.
  16775. (rowAtPoint): Handle rowHeights.
  16776. (getCellRect): Mostly rewritten. Check for boundaries
  16777. of model and return (0,0,0,0) or (0,0,width,height) when outside.
  16778. Handle component orientation. Round correctly.
  16779. (getRowHeight(int)): Implemented for variable row height.
  16780. (setRowHeight(int,int)): Implemented for variable row height.
  16781. (setRowHeight(int)): Nullify rowHeights.
  16782. (setModel): Notify tableChanged().
  16783. * javax/swing/plaf/basic/BasicTableUI.java
  16784. (installDefaults): Create rendererPane in installUI.
  16785. (installUI): Create and install rendererPane.
  16786. (uninstallUI): Uninstall rendererPane and nullify rendererPane
  16787. and table.
  16788. (paint): Correctly handle rowMargin.
  16789. 2006-05-16 Tom Tromey <tromey@redhat.com>
  16790. PR classpath/27563:
  16791. * java/text/NumberFormat.java (getIntegerInstance): Use
  16792. "integerFormat", not "numberFormat".
  16793. 2006-05-16 Lillian Angel <langel@redhat.com>
  16794. * javax/swing/JPopupMenu.java
  16795. (addMenuKeyListener): Implemented.
  16796. (removeMenuKeyListener): Implemented.
  16797. (getMenuKeyListeners): Implemented.
  16798. * javax/swing/ProgressMonitor.java:
  16799. Added new protected field.
  16800. (getAccessibleContext): Implemented.
  16801. 2006-05-16 Lillian Angel <langel@redhat.com>
  16802. * javax/swing/JFileChooser.java:
  16803. Added new private field.
  16804. (setDragEnabled): Implemented.
  16805. (getDragEnabled): Implemented.
  16806. 2006-05-16 Lillian Angel <langel@redhat.com>
  16807. * java/awt/Window.java
  16808. (applyResourceBundle): Implemented.
  16809. 2006-05-16 David Gilbert <david.gilbert@object-refinery.com>
  16810. * javax/swing/DefaultButtonModel.java
  16811. (setSelected): If new SELECTED state is false, clear ARMED and PRESSED
  16812. states also.
  16813. 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  16814. * javax/swing/JList.java (getSelectedValues):
  16815. Ask the value for the indexed array element.
  16816. 2006-05-16 Roman Kennke <kennke@aicas.com>
  16817. * javax/swing/JTable.java
  16818. (valueChanged): Also repaint when table has only 1 row. Fixed
  16819. repaint rectangle to span the entire changed rows.
  16820. 2006-05-16 Roman Kennke <kennke@aicas.com>
  16821. PR 24031
  16822. * javax/swing/JOptionPane.java
  16823. (startModal): Rewritten. The events are now dispatched, even
  16824. when the event dispatch thread gets blocked by the call
  16825. to this method. Also, mouse events get intercepted outside the
  16826. internal frame.
  16827. 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  16828. * javax/swing/plaf/basic/BasicInternalFrameUI.java
  16829. (BorderListener.mouseDragged):Do not set cursor
  16830. if the frame is being dragged.
  16831. 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  16832. * javax/swing/plaf/basic/BasicInternalFrameUI.java
  16833. (BorderListener): Rewritten. (InternalFrameBorder):
  16834. Made package private.
  16835. (InternalFrameBorder.offset):
  16836. Renamed to cornerSize, made package private.
  16837. (bSize): Made package private.
  16838. 2006-05-16 Roman Kennke <kennke@aicas.com>
  16839. * javax/swing/JMenu.java
  16840. (AccessibleJMenu.getAccessibleChildrenCount): Implemented.
  16841. (AccessibleJMenu.getAccessibleChild): Implemented.
  16842. (AccessibleJMenu.getAccessibleSelection): Implemented.
  16843. (AccessibleJMenu.getAccessibleSelection(int)): Implemented.
  16844. (AccessibleJMenu.isAccessibleChildSelected): Implemented.
  16845. (AccessibleJMenu.getAccessibleRole): Documented.
  16846. (AccessibleJMenu.getAccessibleSelectionCount): Implemented.
  16847. (AccessibleJMenu.addAccessibleSelection): Implemented.
  16848. (AccessibleJMenu.removeAccessibleSelection): Implemented.
  16849. (AccessibleJMenu.clearAccessibleSelection): Implemented.
  16850. (AccessibleJMenu.selectAllAccessibleSelection): Implemented.
  16851. (createPath): New helper method.
  16852. 2006-05-15 Tom Tromey <tromey@redhat.com>
  16853. * java/text/MessageFormat.java (format): Now varargs.
  16854. 2006-05-15 Tom Tromey <tromey@redhat.com>
  16855. * java/lang/Thread.java (State): Fixed typo.
  16856. 2006-05-15 Tom Tromey <tromey@redhat.com>
  16857. * java/net/URLClassLoader.java: Moved inner classes to
  16858. gnu.java.net.loader.
  16859. (factoryCache): Changed type.
  16860. (URL_LOADER_PREFIX): New constant.
  16861. (URLClassLoader): Updated for new factoryCache.
  16862. (addURLImpl): Use reflection to search for a loader.
  16863. (findClass): Use getClass method on URLLoader.
  16864. (getURLStreamHandler): Removed.
  16865. * gnu/java/net/loader/URLLoader.java: New file, extracted
  16866. from URLClassLoader.
  16867. * gnu/java/net/loader/Resource.java: Likewise.
  16868. * gnu/java/net/loader/FileResource.java: Likewise.
  16869. * gnu/java/net/loader/FileURLLoaderjava: Likewise.
  16870. * gnu/java/net/loader/JarURLLoader.java: Likewise.
  16871. * gnu/java/net/loader/JarURLResource.java: Likewise.
  16872. * gnu/java/net/loader/RemoteURLLoader.java: Likewise.
  16873. * gnu/java/net/loader/RemoteResource.java: Likewise.
  16874. * gnu/java/net/loader/ULRStreamHandlerCache.java: New file.
  16875. 2006-05-15 Sven de Marothy <sven@physto.se>
  16876. * native/target/generic/target_generic_network.h:
  16877. Add a pair of parenthesis.
  16878. 2006-05-15 Mark Wielaard <mark@klomp.org>
  16879. * java/awt/Graphics2D.java: Remove PrinterJob import.
  16880. 2006-05-15 Mark Wielaard <mark@klomp.org>
  16881. * doc/www.gnu.org/announce/20060515.wml: New file.
  16882. * doc/www.gnu.org/newsitems.txt: Add 0.91 release announcement.
  16883. * doc/www.gnu.org/downloads/downloads.wml: Add 0.91.
  16884. 2006-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
  16885. * NEWS: Announce inclusion of gcjwebplugin.
  16886. Announce inclusion of appletviewer.
  16887. * INSTALL: Note gcjwebplugin dependencies.
  16888. 2006-05-15 Mark Wielaard <mark@klomp.org>
  16889. * configure.ac (VERSION): Set to 0.91-generics.
  16890. 2006-05-15 Mark Wielaard <mark@klomp.org>
  16891. * NEWS: Add release date and VMClassLoader.getBootPackages()
  16892. changes.
  16893. 2006-05-15 Christian Thalinger <twisti@complang.tuwien.ac.at>
  16894. * README: Added CACAO to list of VMs.
  16895. 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  16896. * javax/swing/RepaintManager.java (paintDirtyRegions):
  16897. Break loop as soon as the component repaint is merged
  16898. with some parent. (ComponentComparator): Removed.
  16899. (comparator): Removed.
  16900. 2006-05-15 Roman Kennke <kennke@aicas.com>
  16901. * javax/swing/border/TitledBorder.java
  16902. (paintBorderWithTitle): Fixed indentation.
  16903. 2006-05-15 Roman Kennke <kennke@aicas.com>
  16904. * javax/swing/border/TitledBorder.java
  16905. (layoutBorderWithTitle): Fetch border using getBorder() instead
  16906. of using the border field directly. Allows for the use of
  16907. an UI supplied border in the case when a null border was set.
  16908. Fixed component orientation.
  16909. (paintBorderWithTitle): Fetch border using getBorder() instead
  16910. of using the border field directly. Allows for the use of
  16911. an UI supplied border in the case when a null border was set.
  16912. 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  16913. * javax/swing/RepaintManager.java (paintDirtyRegions): Rewritten.
  16914. (contains): New method.
  16915. 2006-05-15 Tom Tromey <tromey@redhat.com>
  16916. * resource/gnu/classpath/tools/jar/messages.properties: Fixed
  16917. argument indices.
  16918. * resource/gnu/classpath/tools/getopt/Messages.properties: Fixed
  16919. argument indices.
  16920. 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  16921. * javax/swing/JComponent.java (findOverlapParent): Stop loop at
  16922. JViewport's.
  16923. * javax/swing/RepaintManager.java (addDirtyRegion): Always add the given
  16924. region. (paintDirtyRegions): Rewritten.
  16925. 2006-05-15 Tom Tromey <tromey@redhat.com>
  16926. * tools/gnu/classpath/tools/jar/Main.java (setArchiveFile): Use
  16927. MessageFormat.
  16928. * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use
  16929. MessageFormat.
  16930. * tools/gnu/classpath/tools/jar/Extractor.java: Externalized strings.
  16931. (run): Use MessageFormat.
  16932. * resource/gnu/classpath/tools/jar/messages.properties: New file.
  16933. * tools/gnu/classpath/tools/jar/Creator.java: Externalized strings.
  16934. (writeFile): Use MessageFormat.
  16935. 2006-05-15 Jeroen Frijters <jeroen@frijters.net>
  16936. * java/awt/Toolkit.java (getDefaultToolkit): Use Class.forName()
  16937. instead of directly calling the class loader.
  16938. 2006-05-15 Tom Tromey <tromey@redhat.com>
  16939. * tools/gnu/classpath/tools/getopt/Option.java (getDescription):
  16940. Removed old comment.
  16941. * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java:
  16942. Externalized strings.
  16943. (getVersionString): Use MessageFormat.
  16944. * tools/gnu/classpath/tools/getopt/Messages.java: New file.
  16945. * resource/gnu/classpath/tools/getopt/Messages.properties: New file.
  16946. * tools/gnu/classpath/tools/getopt/Parser.java: Externalized strings.
  16947. (getArgument): Use a MessageFormat.
  16948. (handleLongOption): Likewise.
  16949. (parse): Likewise.
  16950. 2006-05-15 Robert Schuster <robertschuster@fsfe.org>
  16951. Fixes PR 27197.
  16952. * javax/swing/text/FieldView.java:
  16953. (paint): Calculate intersection between clip and allocation area and
  16954. set that as new clip.
  16955. 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
  16956. * javax/swing/text/JTextComponent.java: Marked stub methods.
  16957. 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
  16958. * javax/swing/JTable.java: Marked stub methods.
  16959. 2006-05-15 Raif S. Naffah <raif@swiftdsl.com.au>
  16960. * tools/gnu/classpath/tools/jarsigner/Main.java:
  16961. Increased visibility of fields used by parser anonymous classes.
  16962. (KEYTOOL_TOOL): New constant.
  16963. (cmdLineParser): Changed type to ToolParser.
  16964. (fileAndAlias): new field.
  16965. (main): Don't catch OptionException.
  16966. (processArgs): Removed validation checks; now handled by ToolParser.
  16967. (getParser): Removed.
  16968. (ToolParserCallback): New inner class.
  16969. (ToolParser): Likewise.
  16970. 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  16971. * javax/swing/JTable.java (TableTextArea.scrollRectToVisible):
  16972. Removed.
  16973. 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  16974. * javax/swing/DefaultDesktopManager.java (endDraggingFrame,
  16975. endResizingFrame): Do not repaint, unless in the outline mode.
  16976. 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
  16977. * javax/swing/JTabbedPane.java
  16978. (AccessibleJTabbedPane.getAccessibleRole): Implemented,
  16979. (AccessibleJTabbedPane.getAccessibleChildrenCount): Implemented,
  16980. (AccessibleJTabbedPane.getAccessibleSelection()): Implemented,
  16981. (AccessibleJTabbedPane.getAccessibleAt): Implemented,
  16982. (AccessibleJTabbedPane.getAccessibleSelectionCount): Implemented,
  16983. (AccessibleJTabbedPane.getAccessibleSelection(int)): Implemented,
  16984. (AccessibleJTabbedPane.isAccessibleChildSelected): Implemented,
  16985. (AccessibleJTabbedPane.addAccessibleSelection): Implemented,
  16986. (AccessibleJTabbedPane.removeAccessibleSelection): Implemented,
  16987. (AccessibleJTabbedPane.clearAccessibleSelection): Implemented,
  16988. (AccessibleJTabbedPane.selectAllAccessibleSelection): Implemented,
  16989. (Page.getAccessibleName): Implemented.
  16990. 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  16991. * javax/swing/DefaultDesktopManager.java (setBoundsForFrame):
  16992. Do not repaint nor revalidate here.
  16993. 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  16994. * javax/swing/RepaintManager.java (addDirtyRegion):
  16995. If there is a lightweight parent, recursively add the corresponding
  16996. region of the parent instead.
  16997. 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
  16998. * java/awt/Graphics2D.java: Added some API doc comments.
  16999. 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
  17000. * javax/swing/JTabbedPane.java
  17001. (paramString): Reimplemented,
  17002. (getAccessibleContext): Added API docs.
  17003. 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
  17004. * javax/swing/JFileChooser.java
  17005. (paramString): Reimplemented,
  17006. (getAccessibleContext): Updated API docs,
  17007. (AccessibleJFileChooser): Added API docs.
  17008. 2006-05-14 Tom Tromey <tromey@redhat.com>
  17009. * tools/gnu/classpath/tools/jar/Updater.java (run): No longer throws
  17010. OptionException.
  17011. * tools/gnu/classpath/tools/jar/Creator.java (run): No longer throws
  17012. OptionException.
  17013. * tools/gnu/classpath/tools/jar/Action.java (run): No longer throws
  17014. OptionException.
  17015. * tools/gnu/classpath/tools/jar/Indexer.java (run): Removed. Moved
  17016. validation to JarParser.
  17017. * tools/gnu/classpath/tools/jar/Main.java (JarParser): New class.
  17018. (run): Moved validation to JarParser. Don't throw OptionException.
  17019. (initializeParser): Create a JarParser.
  17020. (main): Don't catch OptionException.
  17021. * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): No longer
  17022. public.
  17023. (validate): New method.
  17024. (parse): Call it. Print '-help' in error message when long-only.
  17025. 2006-05-14 Tom Tromey <tromey@redhat.com>
  17026. * gnu/java/awt/print/JavaPrinterJob.java (setPrintable): Fixed
  17027. assignment.
  17028. 2006-05-15 Sven de Marothy <sven@physto.se>
  17029. * gnu/java/awt/print/JavaPrinterGraphics.java:
  17030. Sweeping changes I can't be bothered to document in detail.
  17031. * gnu/java/awt/print/JavaPrinterJob.java
  17032. (getPageAttributes): New method.
  17033. (setPageable,cancel,isCancelled): Implement.
  17034. 2006-05-14 David Gilbert <david.gilbert@object-refinery.com>
  17035. * javax/swing/JCheckBoxMenuItem.java
  17036. (requestFocus): Fixed typo in API docs,
  17037. (paramString): Just call super.paramString(),
  17038. (getAccessibleContext): Added API docs,
  17039. (AccessibleJCheckBoxMenuItem): Likewise.
  17040. 2006-05-14 Tom Tromey <tromey@redhat.com>
  17041. * tools/gnu/classpath/tools/jar/Indexer.java
  17042. (writeCommandLineEntries): Simplify insertion.
  17043. * tools/gnu/classpath/tools/jar/Main.java (run): Don't allow both
  17044. -m and -M.
  17045. 2006-05-14 Tom Tromey <tromey@redhat.com>
  17046. PR classpath/27514:
  17047. * gnu/java/net/IndexListParser.java (JAR_INDEX_FILE): Renamed. Now
  17048. constant.
  17049. (JAR_INDEX_VERSION_KEY): Likewise.
  17050. (IndexListParser): Updated.
  17051. (getVersionInfo): Likewise.
  17052. * tools/gnu/classpath/tools/jar/Indexer.java: New file.
  17053. * tools/gnu/classpath/tools/jar/Action.java (run): Now throws
  17054. OptionException.
  17055. * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Handle
  17056. -i.
  17057. (ModeOption): New constructor.
  17058. (parsed): Updated. Use setArchiveFile.
  17059. (setArchiveFile): New method.
  17060. (run): Handle no-argument case.
  17061. (main): Emit --help message on option error.
  17062. * tools/gnu/classpath/tools/jar/Updater.java (inputJar): New field.
  17063. (createManifest): New method.
  17064. (run): Updated. Throws OptionException. Correctly copy zip entry.
  17065. * tools/gnu/classpath/tools/jar/Creator.java (createManifest): New
  17066. method.
  17067. (writeManifest): Removed.
  17068. (outputStream): Now a JarOutputStream.
  17069. (writeCommandLineEntries): Changed parameters. Updated callers.
  17070. (run): Throws OptionException.
  17071. * java/util/jar/JarOutputStream.java (putNextEntry): Typo fix.
  17072. * java/util/jar/Manifest.java (read): Typo fix.
  17073. 2006-05-14 David Gilbert <david.gilbert@object-refinery.com>
  17074. * javax/swing/JMenuItem.java
  17075. (paramString): Fixed class name in API doc comment.
  17076. 2006-05-14 Tom Tromey <tromey@redhat.com>
  17077. * native/plugin/.cvsignore: Updated.
  17078. 2006-05-14 Mark Wielaard <mark@klomp.org>
  17079. * native/jni/java-net/javanet.c (_javanet_accept): Don't use C++
  17080. comments.
  17081. 2006-05-14 Chris Burdess <dog@gnu.org>
  17082. * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype
  17083. nodes to be preserved during cloneNode.
  17084. 2006-05-14 Mark Wielaard <mark@klomp.org>
  17085. PR 27459
  17086. * native/jni/java-net/javanet.c (_javanet_accept): Reset the
  17087. inherited timeout on socket.
  17088. 2006-05-14 Lillian Angel <langel@redhat.com>
  17089. * java/util/SimpleTimeZone.java: Reverted patch.
  17090. (SimpleTimeZone): Throw exception if startMonth ==
  17091. endMonth.
  17092. (SimpleTimeZone): Likewise.
  17093. (checkRule): Rewritten to properly check all values (more
  17094. efficently).
  17095. This code is now more stable, at least less buggy than before.
  17096. Fixed API documentation.
  17097. (setStartRule): Moved checkRule call to end.
  17098. (setStartRule): Likewise.
  17099. (setEndRule): Likewise.
  17100. (setEndRule): Likewise.
  17101. 2006-05-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  17102. * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
  17103. Initialise to -1.
  17104. 2006-05-14 Robert Schuster <robertschuster@fsfe.org>
  17105. PR classpath/27595
  17106. * javax/swing/text/AbstractDocument.java:
  17107. (insertString): Flipped if-expression and its blocks.
  17108. (remove): Dito.
  17109. (replace): Flipped if-expression and its blocks, added note, invoke
  17110. insertString and remove instead of insertStringImpl and removeImpl.
  17111. 2006-05-14 Raif S. Naffah <raif@swiftdsl.com.au>
  17112. * tools/gnu/classpath/tools/jarsigner/Main.java (main): Formatting.
  17113. 2006-05-14 Raif S. Naffah <raif@swiftdsl.com.au>
  17114. * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
  17115. Added help text.
  17116. * tools/gnu/classpath/tools/keytool/keytool.txt: Removed
  17117. * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java:
  17118. Increased visibility of fields used by parser anonymous classes.
  17119. (processArgs): Removed.
  17120. (getParser): New method.
  17121. * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
  17122. (setup): Mark (Eclipse) strings that need not be externalised.
  17123. (start): Likewise.
  17124. * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
  17125. * tools/gnu/classpath/tools/keytool/Main.java: Amended to use getopt
  17126. command line option parsing.
  17127. * tools/gnu/classpath/tools/keytool/ListCmd.java:
  17128. Increased visibility of fields used by parser anonymous classes.
  17129. (processArgs): Removed.
  17130. (setup): set 'all' local field.
  17131. (getParser): New method.
  17132. * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java:
  17133. Increased visibility of fields used by parser anonymous classes.
  17134. (processArgs): Removed.
  17135. (getParser): New method.
  17136. * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
  17137. (setNewKeyPassword): Fixed comments.
  17138. * tools/gnu/classpath/tools/keytool/ImportCmd.java:
  17139. Increased visibility of fields used by parser anonymous classes.
  17140. (processArgs): Removed.
  17141. (getParser): New method.
  17142. (findTrustInCACerts): Mark (Eclipse) strings that need not be
  17143. externalised.
  17144. * tools/gnu/classpath/tools/keytool/GenKeyCmd.java:
  17145. Increased visibility of fields used by parser anonymous classes.
  17146. (processArgs): Removed.
  17147. (setup): Mark (Eclipse) strings that need not be externalised.
  17148. (getParser): New method.
  17149. * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
  17150. * tools/gnu/classpath/tools/keytool/DeleteCmd.java:
  17151. Increased visibility of fields used by parser anonymous classes.
  17152. (processArgs): Removed.
  17153. (getParser): New method.
  17154. * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
  17155. (ATTRIBUTES_OPT): New constant.
  17156. * tools/gnu/classpath/tools/keytool/ExportCmd.java:
  17157. Increased visibility of fields used by parser anonymous classes.
  17158. (processArgs): Removed.
  17159. (setup): Mark (Eclipse) strings that need not be externalised.
  17160. (start): Likewise.
  17161. Reduced logging level.
  17162. (getParser): New method.
  17163. * tools/gnu/classpath/tools/keytool/Command.java
  17164. (processArgs): Made it concrete.
  17165. (getParser): New abstract method.
  17166. * tools/Makefile.am (KEYTOOL_HELPS): Removed.
  17167. 2006-05-13 Casey Marshall <csm@gnu.org>
  17168. Patch by Michael Barker <mike@middlesoft.co.uk>.
  17169. * gnu/java/nio/PipeImpl.java: Retrofitted to use VMChannel.
  17170. * gnu/java/nio/SelectorImpl.java (register): Added condition for
  17171. gnu.java.nio.SocketChannelSelectionKeyImpl.
  17172. * gnu/java/nio/SocketChannelSelectionKeyImpl.java: new file.
  17173. * gnu/java/nio/channels/FileChannelImpl.java: retrofitted to use
  17174. VMChannel.
  17175. * include/gnu_java_nio_VMChannel.h: new file.
  17176. * java/nio/FileChannel.java (read,write): changed to call abstract
  17177. method.
  17178. * native/jni/java-nio/gnu_java_nio_VMChannel.c: new file.
  17179. * native/jni/java-nio/Makefile.am (libjavanio_SOURCES): add
  17180. `gnu_java_nio_VMChannel.c.'
  17181. * vm/reference/gnu/java/nio/VMChannel.java: new file.
  17182. 2006-05-14 Robert Schuster <robertschuster@fsfe.org>
  17183. * javax/swing/text/AbstractDocument.java:
  17184. (insertString): Flipped if-expression and its blocks.
  17185. (remove): Dito.
  17186. (replace): Flipped if-expression and its blocks, added note, invoke
  17187. insertString and remove instead of insertStringImpl and removeImpl.
  17188. 2006-05-13 Tom Tromey <tromey@redhat.com>
  17189. * java/nio/ByteBufferImpl.java (compact): Always set position.
  17190. 2006-05-13 Sven de Marothy <sven@physto.se>
  17191. * gnu/java/awt/print/JavaPrinterGraphics.java
  17192. (spoolPostScript): Use a faster writer.
  17193. 2006-05-13 Sven de Marothy <sven@physto.se>
  17194. * gnu/java/awt/print/JavaPrinterGraphics.java
  17195. (colorTripleHex): Reimplement better.
  17196. 2006-05-13 Sven de Marothy <sven@physto.se>
  17197. * javax/swing/text/html/HTMLDocument.java
  17198. (CharacterAction.start): Translate tag to StyleAttribute.
  17199. (pushCharacterStyle): Push copy of attributes onto stack.
  17200. * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
  17201. New file
  17202. 2006-05-13 Sven de Marothy <sven@physto.se>
  17203. * gnu/javax/print/ipp/IppRequest.java (send): Set a timeout.
  17204. * java/awt/print/PrinterJob.java
  17205. (getPrinterJob): Return a JavaPrinterJob
  17206. (setPrintService,getPrintService): Implement.
  17207. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c:
  17208. (getPixels): Gtk_threads_enter required.
  17209. * gnu/java/awt/print/JavaPrinterGraphics.java
  17210. * gnu/java/awt/print/JavaPrinterJob.java
  17211. * gnu/java/awt/print/SpooledDocumet.java:
  17212. New files.
  17213. 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
  17214. * javax/swing/text/TextAction.java:
  17215. (HorizontalMovementAction): New inner class.
  17216. (VerticalMovementAction): New inner class.
  17217. * javax/swing/text/DefaultEditorKit.java: Added assigning instances of
  17218. new inner classes to array 'defaultActions'.
  17219. (SelectionBeginWordAction): New inner class.
  17220. (SelectionEndWordAction): New inner class.
  17221. (BeginWordAction): New inner class.
  17222. (EndWordAction): New inner class.
  17223. (PreviousWordAction.actionPerformed): Rewritten.
  17224. (SelectLineAction): New inner class.
  17225. (SelectWordAction): New inner class.
  17226. (SelectionDownAction): Rewritten.
  17227. (SelectionUpAction): Rewritten.
  17228. (DownAction): Rewritten.
  17229. (UpAction): Rewritten.
  17230. (SelectionForwardAction): Rewritten.
  17231. (SelectionBackwardAction): Rewritten.
  17232. (ForwardAction): Rewritten.
  17233. (BackwardAction): Rewritten.
  17234. (BeginAction): New inner class.
  17235. (EndAction): New inner class.
  17236. (DefaultKeyTypedAction.actionPerformed): Use int variant of
  17237. Character.isISOControl.
  17238. 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
  17239. * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
  17240. (WordFilter.getNextVisualPositionFrom): Added statement to check
  17241. for variable pt not being null.
  17242. 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
  17243. * javax/swing/text/Utilities.java:
  17244. (getNextWord): Fixed grammar in exception message.
  17245. (getPreviousWord): Changed expression in first if-clause, added sub-
  17246. expression to if-clause in while-loop.
  17247. (getWordStart): Changed expression in if-clause.
  17248. getNextVisualPositionFrom): Added package-private helper method.
  17249. 2006-05-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  17250. * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
  17251. Initialise to -1.
  17252. 2006-05-13 Raif S. Naffah <raif@swiftdsl.com.au>
  17253. * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
  17254. Added help text.
  17255. * tools/Makefile.am (JARSIGNER_HELPS): Removed.
  17256. * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Removed.
  17257. * tools/gnu/classpath/tools/jarsigner/Main.java:
  17258. Increased visibility of fields used by parser anonymous classes.
  17259. (HELP_PATH): Removed.
  17260. (cmdLineParser): New field.
  17261. (main): Handle JVM exit status.
  17262. Handle command line parsing exceptions.
  17263. (processArgs): Use getopt command line parser.
  17264. (getParser): New method.
  17265. (setupCommonParams): Removed checks now handled by processArgs().
  17266. (setupSigningParams): Likewise.
  17267. * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
  17268. Reuse an existing message-bundle constant.
  17269. 2006-05-12 Tom Tromey <tromey@redhat.com>
  17270. * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
  17271. Explicitly specify class for synchronization.
  17272. 2006-05-12 Tom Tromey <tromey@redhat.com>
  17273. * java/util/logging/Logger.java (resetLogger): Fixed typo.
  17274. 2006-05-12 Sven de Marothy <sven@physto.se>
  17275. * gnu/java/net/protocol/http/HTTPConnection.java (get): Add timeout parameter.
  17276. * gnu/java/net/protocol/http/HTTPURLConnection.java
  17277. (setConnectTimeout): New method.
  17278. (getConnection): Add timeout parameter.
  17279. * java/net/URLConnection.java
  17280. (getConnectTimeout, setConnectTimeout): Implement.
  17281. * native/target/generic/target_generic_network.h:
  17282. Set correct socket parameters SO_SNDTIMEO and SO_RCVTIMEO.
  17283. 2006-05-12 Sven de Marothy <sven@physto.se>
  17284. * gnu/javax/print/CupsServer.java
  17285. (CupsServer): Make the Cups host configurable.
  17286. * java/lang/System.java: Document the system property.
  17287. 2006-05-12 Roman Kennke <kennke@aicas.com>
  17288. * javax/swing/border/TitledBorder.java
  17289. (paintBorder): Rewritten for simplicity and correctness.
  17290. (layoutBorderWithTitle): New helper method.
  17291. (paintBorderWithTitle): New helper method.
  17292. (getBorderInsets): Rewritten.
  17293. (getMinimumSize): Rewritten.
  17294. (getRealJustification): Removed.
  17295. (getMeasurements): Removed.
  17296. (Measurements): Removed.
  17297. 2006-05-12 David Gilbert <david.gilbert@object-refinery.com>
  17298. * javax/swing/plaf/basic/BasicPanelUI.java
  17299. (sharedUI): New field,
  17300. (createUI): Return a shared instance rather than a new instance,
  17301. (installUI): Reformatted and added API docs,
  17302. (installDefaults): Install border if one is defined,
  17303. (uninstallDefaults): Uninstall border.
  17304. 2006-05-12 David Gilbert <david.gilbert@object-refinery.com>
  17305. * javax/swing/JProgressBar.java: Updated API docs all over.
  17306. 2006-05-11 Lillian Angel <langel@redhat.com>
  17307. * java/awt/ContainerOrderFocusTraversalPolicy.java
  17308. (getComponentAfter): Should not throw exception if
  17309. the ancestor is null. Added a check for this.
  17310. Also, changed to use new helper function, we should
  17311. iterate through all the components at least once.
  17312. (getNextAvailableComponent): New helper function.
  17313. (getPrevAvailableComponent): New helper function.
  17314. (getComponentBefore): Should not throw exception if
  17315. the ancestor is null. Added a check for this.
  17316. Also, changed to use new helper function, we should
  17317. iterate through all the components at least once.
  17318. (getFirstComponent): Changed check to manually check
  17319. fields. Calling accept() casts the object to a Component,
  17320. so different values may be returned.
  17321. (getLastComponent): Likewise.
  17322. 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
  17323. * javax/swing/plaf/metal/MetalBorders.java: Clean up formatting/style,
  17324. * javax/swing/plaf/metal/MetalButtonUI.java: Likewise,
  17325. * javax/swing/plaf/metal/MetalCheckBoxUI.java: Likewise,
  17326. * javax/swing/plaf/metal/MetalComboBoxButton.java: Likewise,
  17327. * javax/swing/plaf/metal/MetalComboBoxIcon.java: Likewise,
  17328. * javax/swing/plaf/metal/MetalFileChooserUI.java: Likewise,
  17329. * javax/swing/plaf/metal/MetalIconFactory.java: Likewise,
  17330. * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java: Likewise,
  17331. * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise,
  17332. * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java: Likewise,
  17333. * javax/swing/plaf/metal/MetalRootPaneUI.java: Likewise,
  17334. * javax/swing/plaf/metal/MetalScrollBarUI.java: Likewise,
  17335. * javax/swing/plaf/metal/MetalSeparatorUI.java: Likewise,
  17336. * javax/swing/plaf/metal/MetalSliderUI.java: Likewise,
  17337. * javax/swing/plaf/metal/MetalSplitPaneDivider.java: Likewise,
  17338. * javax/swing/plaf/metal/MetalTabbedPaneUI.java: Likewise,
  17339. * javax/swing/plaf/metal/MetalToolTipUI.java: Likewise,
  17340. * javax/swing/plaf/metal/MetalUtils.java: Likewise.
  17341. 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
  17342. * javax/swing/text/DefaultCaret.java: Made field 'textComponent'
  17343. package-private, added field 'active'.
  17344. (PropertyChangeHandler.propertyChange): Added variable 'name', added
  17345. cases to update field 'active'.
  17346. (mouseDragged): Added documentation, added if-clause to update
  17347. selection or caret position.
  17348. (mouseClicked): Added early return when text component is disabled.
  17349. (focusGained): Moved statements into an if-clause.
  17350. (focusLost): Added subexpression to if-clause.
  17351. (install): Preset value of 'active'.
  17352. (paint): Added subexpression to if-clause.
  17353. (isVisible): Extended return expression.
  17354. * javax/swing/text/JTextComponent.java:
  17355. (copy): Copy only if component is enabled.
  17356. (cut): Cut only if component is enabled and editable.
  17357. (paste): Dito.
  17358. 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
  17359. * javax/swing/plaf/multi/MultiComboBoxUI.java: Minor formatting change,
  17360. * javax/swing/plaf/multi/MultiFileChooserUI.java: Likewise,
  17361. * javax/swing/plaf/multi/MultiListUI.java: Likewise,
  17362. * javax/swing/plaf/multi/MultiLookAndFeel.java: Likewise,
  17363. * javax/swing/plaf/multi/MultiOptionPaneUI.java: Likewise,
  17364. * javax/swing/plaf/multi/MultiSplitPaneUI.java: Likewise,
  17365. * javax/swing/plaf/multi/MultiTabbedPaneUI.java: Likewise.
  17366. 2006-05-11 Roman Kennke <kennke@aicas.com>
  17367. * gnu/java/awt/font/GNUGlyphVector.java
  17368. (GNUGlyphVector): Don't apply the font renderer context's
  17369. transform.
  17370. 2006-05-11 Mark Wielaard <mark@klomp.org>
  17371. * java/util/logging/Logger.java (global): Initialize inside static
  17372. PrivilegedAction.
  17373. 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
  17374. * javax/swing/JFrame.java
  17375. (EXIT_ON_CLOSE): Added note to API docs,
  17376. (close_action): Renamed closeAction,
  17377. (JFrame()): Change title to "",
  17378. (JFrame(String)): Added API docs,
  17379. (getAccessibleContext): Likewise,
  17380. (getDefaultCloseOperation): Updated for renamed field, added API docs,
  17381. (processWindowEvent): Updated for renamed field,
  17382. (setDefaultCloseOperation): Likewise, and updated API docs.
  17383. 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
  17384. * javax/swing/JFrame.java
  17385. (paramString): Reimplemented,
  17386. * javax/swing/SwingUtilities.java
  17387. (convertWindowConstantToString): New method.
  17388. 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
  17389. * javax/swing/WindowConstants.java: Updated API docs.
  17390. 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
  17391. * javax/swing/plaf/basic/BasicToggleButtonUI.java: Updated API docs,
  17392. (createUI): Removed 'final' qualifier for parameter,
  17393. (paint): Reformatted.
  17394. 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
  17395. * javax/swing/plaf/basic/BasicCheckBoxUI.java: Added API docs plus,
  17396. (createUI): Removed 'final' qualifier on method argument.
  17397. 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
  17398. * javax/swing/plaf/basic/BasicCheckBoxUI.java
  17399. (getDefaultIcon): Removed this redundant method.
  17400. 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
  17401. * javax/swing/plaf/basic/BasicRadioButtonUI.java
  17402. (paint): Pass component size to paintFocus().
  17403. 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
  17404. * java/awt/Component.java:
  17405. (dispatchEventImpl): Added comment.
  17406. 2006-05-11 Mark Wielaard <mark@klomp.org>
  17407. * tools/gnu/classpath/tools/appletviewer/Main.java (main): Cast
  17408. Option constructor null argument to String.
  17409. 2006-05-11 Mark Wielaard <mark@klomp.org>
  17410. * java/awt/geom/GeneralPath.java (WIND_EVEN_ODD, WIND_NON_ZERO):
  17411. Fully qualify PathIterator constants
  17412. 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
  17413. * java/awt/Component.java:
  17414. (dispatchEventImpl): Added subexpression to if-clause.
  17415. 2006-05-11 Mark Wielaard <mark@klomp.org>
  17416. * java/util/Collections.java (UnmodifiableMapEntry): Qualify
  17417. Map.Entry.
  17418. 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
  17419. * javax/swing/TransferHandler.java: Marked stub methods.
  17420. 2006-05-10 Roman Kennke <kennke@aicas.com>
  17421. PR classpath/27481
  17422. * javax/swing/plaf/basic/BasicInternalFrameUI.java
  17423. (installDefaults): Set background of content pane to null, if
  17424. no custom color has been installed by the application yet.
  17425. 2006-05-10 Roman Kennke <kennke@aicas.com>
  17426. PR classpath/27481
  17427. * javax/swing/JRootPane.java
  17428. (createContentPane): Don't set background to null.
  17429. 2006-05-10 Sven de Marothy <sven@physto.se>
  17430. * java/awt/print/PrinterJob.java:
  17431. (lookupPrintServices): Un-comment-out.
  17432. 2006-05-11 Raif S. Naffah <raif@swiftdsl.com.au>
  17433. * tools/gnu/classpath/tools/getopt/OptionGroup.java
  17434. (FILLER): New constant.
  17435. (formatText(PrintStream,String,int)): New method.
  17436. (formatText(PrintStream,String,int,Locale)): Likewise.
  17437. (printHelp): Use formatText method.
  17438. * tools/gnu/classpath/tools/getopt/Parser.java
  17439. (MAX_LINE_LENGTH): New constant.
  17440. (formatText(PrintStream,String)): New method.
  17441. (formatText(PrintStream,String,Locale)): Likewise.
  17442. (printHelp): New method.
  17443. (printHelp(PrintStream)): Increased visibility to protected.
  17444. Use formatText method.
  17445. 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
  17446. * javax/swing/plaf/metal/MetalRadioButtonUI.java
  17447. (installDefaults): Use getPropertyPrefix() to allow subclasses to
  17448. modify the lookup key.
  17449. 2006-05-10 Lillian Angel <langel@redhat.com>
  17450. * java/util/SimpleTimeZone.java: Reverted patch.
  17451. (SimpleTimeZone): Throw exception if startMonth ==
  17452. endMonth.
  17453. (SimpleTimeZone): Likewise.
  17454. (checkRule): Rewritten to properly check all values (more
  17455. efficently).
  17456. This code is now more stable, at least less buggy than before.
  17457. Fixed API documentation.
  17458. (setStartRule): Moved checkRule call to end.
  17459. (setStartRule): Likewise.
  17460. (setEndRule): Likewise.
  17461. (setEndRule): Likewise.
  17462. 2006-05-10 Roman Kennke <kennke@aicas.com>
  17463. * gnu/java/awt/peer/swing/SwingComponent.java:
  17464. Some API comment fixlets.
  17465. * gnu/java/awt/peer/swing/SwingComponentPeer.java:
  17466. (createImage): Create a BufferedImage, not a Toolkit image.
  17467. (paint): Removed bogus API comment.
  17468. (prepareImage): Added checks to avoid NPE.
  17469. * gnu/java/awt/peer/swing/SwingContainerPeer.java:
  17470. (getInsets): Added check to avoid NPE.
  17471. (handleMouseEvent): Added check to avoid NPE.
  17472. * gnu/java/awt/peer/swing/SwingFramePeer.java:
  17473. Some API comment fixlets.
  17474. * gnu/java/awt/peer/swing/SwingMenuBarPeer.java:
  17475. Some API comment fixlets.
  17476. * gnu/java/awt/peer/swing/SwingTextFieldPeer.java:
  17477. Changed start_pos name to startPos.
  17478. * gnu/java/awt/peer/swing/SwingWindowPeer.java:
  17479. Some API comment fixlets.
  17480. 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
  17481. * java/awt/BasicStroke.java
  17482. (equals): Fixed typo in HTML tag for API doc comment.
  17483. 2006-05-10 Gary Benson <gbenson@redhat.com>
  17484. * java/lang/ThreadGroup.java (parent): Make package-private.
  17485. * java/lang/SecurityManager.java (checkAccess(Thread)):
  17486. Reference ThreadGroup.parent directly to avoid extra checks.
  17487. * java/lang/SecurityManager.java (checkAccess(ThreadGroup)):
  17488. Likewise.
  17489. 2006-05-10 Roman Kennke <kennke@aicas.com>
  17490. Reported by Ingo Proetel (proetel@aicas.com)
  17491. * java/awt/EventDispatchThread.java
  17492. (DEFAULT_PRIORITY): New constant field.
  17493. (EventDispatchThread()): Added gnu.awt.dispatchthread.priority
  17494. system property for adjusting the priority of the event
  17495. dispatch thread.
  17496. 2006-05-10 Roman Kennke <kennke@aicas.com>
  17497. Reported by Ingo Proetel (proetel@aicas.com)
  17498. * java/awt/image/ColorModel.java
  17499. (S_RGB_MODEL): New constant field.
  17500. (getRGBDefault): Return constant SRGBColorModel.
  17501. (SRGBColorModel): Specialized color model for sRGB.
  17502. 2006-05-10 Roman Kennke <kennke@aicas.com>
  17503. * java/awt/ColorPaintContext.java
  17504. (getRaster): Create Raster with (0,0) as source location.
  17505. 2006-05-10 Roman Kennke <kennke@aicas.com>
  17506. * gnu/java/awt/java2d/AlphaCompositeContext.java
  17507. (compose): Don't premultiply alpha to alpha itself.
  17508. 2006-05-10 Roman Kennke <kennke@aicas.com>
  17509. * gnu/java/awt/java2d/AbstractGraphics2D.java
  17510. (drawImage(Image,AffineTransform,ImageObserver)): Implemented.
  17511. (drawImageImpl(Image,AffineTransform,ImageObserver,Rectangle)):
  17512. New method.
  17513. (drawImage(BufferedImage,BufferedImageOp,int,int)): Implemented.
  17514. (drawRenderedImage(RenderedImage,AffineTransform)): Implemented.
  17515. (drawRenderedImageImpl(RenderedImage,AffineTransform,Rectangle)):
  17516. New method.
  17517. (drawRenderableImage(RenderableImage,AffineTransform)): Implemented.
  17518. (drawRenderableImageImpl(RenderableImage,AffineTransform,Rectangle)):
  17519. New method.
  17520. (scale): Inverse transform by doing 1/scale instead of -scale.
  17521. (drawImage(Image,int,int,ImageObserver)): Implemented.
  17522. (drawImage(Image,int,int,int,int,ImageObserver)): Implemented.
  17523. (drawImage(Image,int,int,Color,ImageObserver)): Implemented.
  17524. (drawImage(Image,int,int,int,int,Color,ImageObserver)): Implemented.
  17525. (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
  17526. Implemented.
  17527. (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
  17528. Implemented.
  17529. (fillScanline): Work on translated destination raster for
  17530. correct compositin.
  17531. (init): Fetch the clip after the destination raster is initialized.
  17532. * gnu/java/awt/java2d/ImagePaint.java: New file.
  17533. * gnu/java/awt/java2d/RasterGraphics
  17534. (drawImage): Removed.
  17535. 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
  17536. * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
  17537. Clarify option descriptions.
  17538. * tools/gnu/classpath/tools/appletviewer/Main.java: Use all
  17539. uppercase for metasyntactic variables.
  17540. 2006-05-09 Robert Schuster <robertschuster@fsfe.org>
  17541. PR classpath/24216
  17542. * javax/swing/text/AbstractDocument.java:
  17543. (insertString): Added more documentation, added argument check.
  17544. (remove): Added more documentation.
  17545. (removeImpl): Added argument check.
  17546. (replace): Added more documentation, added argument check.
  17547. 2006-05-09 Tom Tromey <tromey@redhat.com>
  17548. * tools/.cvsignore: Added appletviewer.
  17549. 2006-05-09 Tom Tromey <tromey@redhat.com>
  17550. * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): Skip
  17551. empty groups.
  17552. 2006-05-09 Tom Tromey <tromey@redhat.com>
  17553. * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp):
  17554. Special case for '-J'. Use space instead of '='.
  17555. * tools/gnu/classpath/tools/getopt/Parser.java (setHeader): Added
  17556. comment.
  17557. 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
  17558. * configure.ac: Add --disable-plugin and --with-vm options. Check
  17559. for plugin support headers and libraries.
  17560. * native/Makefile.am: Recurse into plugin directory.
  17561. * native/plugin/.cvsignore: New file.
  17562. * native/plugin/Makefile.am: New file.
  17563. * native/plugin/gcjwebplugin.cc: New file.
  17564. * tools/Makefile.am: Install appletviewer wrapper script.
  17565. * tools/appletviewer.in: Replace VM location heuristic with
  17566. VM_BINARY configure substitution.
  17567. 2006-05-09 Tom Tromey <tromey@redhat.com>
  17568. * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Added
  17569. an initial pass to look for short options. Added 'longOnly' option.
  17570. * tools/gnu/classpath/tools/appletviewer/Main.java (main): Removed -J
  17571. option.
  17572. * tools/gnu/classpath/tools/getopt/Parser.java (parsed): Put stadnard
  17573. options into final group. Added -J.
  17574. (add): Insert new groups before final group.
  17575. (printHelp): Updated.
  17576. 2006-05-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  17577. PR 27518
  17578. * tools/gnu/classpath/tools/giop/GRMIC.java (main),
  17579. tools/gnu/classpath/tools/rmi/RMIC.java (main):
  17580. Expect -classpath option.
  17581. * tools/gnu/classpath/tools/rmi/RMIC.txt,
  17582. tools/gnu/classpath/tools/giop/GRMIC.txt: Documenting
  17583. -classpath option.
  17584. tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
  17585. (classLoader): New field. (loadClass, setClassPath):
  17586. New methods.
  17587. 2006-05-09 Roman Kennke <kennke@aicas.com>
  17588. * gnu/java/awt/java2d/RasterGraphics.java
  17589. (RasterGraphics): Call init() and super().
  17590. (drawImage): Temporary drawImage impl until AbstractGraphics2D has
  17591. this.
  17592. 2006-05-09 Gary Benson <gbenson@redhat.com>
  17593. * java/lang/Thread.java (Thread): Always perform threadgroup
  17594. access checks on thread creation.
  17595. 2006-05-09 Chris Burdess <dog@gnu.org>
  17596. * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype nodes to
  17597. be preserved during cloneNode.
  17598. 2006-05-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  17599. PR 27517
  17600. * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
  17601. Do not demand all thrown exceptions to be an instance of RemoteException.
  17602. 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
  17603. * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
  17604. Use hash-style comments.
  17605. * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
  17606. Likewise.
  17607. 2006-05-09 David Gilbert <david.gilbert@object-refinery.com>
  17608. * javax/swing/JLabel.java
  17609. (paramString): Added more attribute details,
  17610. * javax/swing/SwingUtilities.java
  17611. (convertHorizontalAlignmentCodeToString): New method,
  17612. (convertVerticalAlignmentCodeToString): New method.
  17613. 2006-05-08 Tom Tromey <tromey@redhat.com>
  17614. * tools/gnu/classpath/tools/jar/Updater.java (run): Updated.
  17615. * tools/gnu/classpath/tools/jar/Main.java: Use javadoc for fields.
  17616. * tools/gnu/classpath/tools/jar/Lister.java (listJar): Use
  17617. ZipInputStream.
  17618. (run): Updated.
  17619. * tools/gnu/classpath/tools/jar/Extractor.java (run): Use System.err
  17620. for verbose.
  17621. (run): Use ZipInputStream.
  17622. (initSet): New method.
  17623. (shouldExtract): Likewise.
  17624. (run): Use new methods.
  17625. * tools/gnu/classpath/tools/jar/Creator.java
  17626. (writeCommandLineEntries): New overload.
  17627. (writeFile): Use System.err for verbose.
  17628. (writeManifest): New method.
  17629. (writtenItems): New field.
  17630. (writeFile): Update it.
  17631. (writeCommandLineEntries): Return void. Call writeManifest.
  17632. (addEntries): Don't add extra '/'.
  17633. * NEWS: Mention jar.
  17634. 2006-05-08 Lillian Angel <langel@redhat.com>
  17635. * gnu/java/net/IndexListParser.java: New class.
  17636. * java/net/URLClassLoader.java
  17637. (JarURLLoader): Fixed code to use new class.
  17638. 2006-05-08 Roman Kennke <kennke@aicas.com>
  17639. * javax/swing/JComboBox.java
  17640. (AccessibleJComboBox.getAccessibleChildrenCount): Implemented.
  17641. (AccessibleJComboBox.getAccessibleChild): Implemented.
  17642. (AccessibleJComboBox.getAccessibleSelection()): Implemented.
  17643. (AccessibleJComboBox.getAccessibleSelection(int)): Implemented.
  17644. (AccessibleJComboBox.isAccessibleChildSelected): Implemented.
  17645. (AccessibleJComboBox.getAccessibleAction): Implemented.
  17646. (AccessibleJComboBox.getAccessibleActionDescription): Implemented.
  17647. (AccessibleJComboBox.getAccessibleActionCount): Implemented.
  17648. (AccessibleJComboBox.doAccessibleAction): Implemented.
  17649. (AccessibleJComboBox.getAccessibleSelectionCount): Implemented.
  17650. (AccessibleJComboBox.addAccessibleSelection): Implemented.
  17651. (AccessibleJComboBox.removeAccessibleSelection): Implemented.
  17652. (AccessibleJComboBox.clearAccessibleSelection): Implemented.
  17653. (AccessibleJComboBox.selectAllAccessibleSelection): Implemented.
  17654. 2006-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
  17655. * configure.ac: Add support for building appletviewer.
  17656. * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
  17657. New file.
  17658. * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
  17659. New file.
  17660. * tools/appletviewer.c: New file.
  17661. * tools/appletviewer.in: New file.
  17662. * tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java:
  17663. New file.
  17664. * tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java:
  17665. New file.
  17666. * tools/gnu/classpath/tools/appletviewer/AppletTag.java: New file.
  17667. * tools/gnu/classpath/tools/appletviewer/AppletWarning.java: New
  17668. file.
  17669. * tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java:
  17670. New file.
  17671. * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
  17672. New file.
  17673. * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java: New
  17674. file.
  17675. * tools/gnu/classpath/tools/appletviewer/ErrorApplet.java: New
  17676. file.
  17677. * tools/gnu/classpath/tools/appletviewer/Main.java: New file.
  17678. * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
  17679. New file.
  17680. * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
  17681. New file.
  17682. * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
  17683. New file.
  17684. * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
  17685. New file.
  17686. * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
  17687. New file.
  17688. * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
  17689. New file.
  17690. * tools/gnu/classpath/tools/appletviewer/TagParser.java: New
  17691. file.
  17692. 2006-05-08 Tom Tromey <tromey@redhat.com>
  17693. * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java: New file.
  17694. * tools/gnu/classpath/tools/jar/Action.java: New file.
  17695. * tools/gnu/classpath/tools/jar/Creator.java: New file.
  17696. * tools/gnu/classpath/tools/jar/Entry.java: New file.
  17697. * tools/gnu/classpath/tools/jar/Extractor.java: New file.
  17698. * tools/gnu/classpath/tools/jar/Lister.java: New file.
  17699. * tools/gnu/classpath/tools/jar/Main.java: New file.
  17700. * tools/gnu/classpath/tools/jar/Updater.java: New file.
  17701. * tools/gnu/classpath/tools/getopt/Option.java: New file.
  17702. * tools/gnu/classpath/tools/getopt/OptionException.java: New file.
  17703. * tools/gnu/classpath/tools/getopt/OptionGroup.java: New file.
  17704. * tools/gnu/classpath/tools/getopt/Parser.java: New file.
  17705. * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java: New
  17706. file.
  17707. 2006-05-08 Lillian Angel <langel@redhat.com>
  17708. * java/net/URLClassLoader.java
  17709. (JarURLLoader): Added check to make sure the INDEX.LIST file
  17710. exists.
  17711. 2006-05-08 Roman Kennke <kennke@aicas.com>
  17712. * gnu/java/awt/java2d/AbstractGraphics2D.java
  17713. (fill): Removed commented out code.
  17714. (fillShape): Also determine the outline of the clip and feed
  17715. it into the rendering method. Use new helper method for
  17716. converting the shapes into lists of segments.
  17717. (getUserBounds): Removed obsolete method.
  17718. (rawFillShape): Respect the clip when rendering shapes.
  17719. (fillShapeAntialias): Adjusted signature for new clipped rendering.
  17720. However, the implementation can't clip still.
  17721. (getSegments): New helper method for converting a shape into
  17722. a list of segments.
  17723. (clipShape): Removed obsolete method.
  17724. * gnu/java/awt/java2d/PolyEdge.java
  17725. (isClip): New field.
  17726. (PolyEdge): Added isField argument to constructor.
  17727. 2006-05-08 Roman Kennke <kennke@aicas.com>
  17728. PR 27481
  17729. * javax/swing/JRootPane.java
  17730. (createContentPane): Set background of the content pane to null,
  17731. so that the content pane inherits its background from the
  17732. root pane.
  17733. 2006-05-08 Roman Kennke <kennke@aicas.com>
  17734. PR 27480
  17735. * javax/swing/ButtonGroup.java
  17736. (add): Check if new button is selected and if so, deselect other
  17737. buttons in the group.
  17738. 2006-05-08 Lillian Angel <langel@redhat.com>
  17739. PR 27444
  17740. * java/net/URLClassLoader.java
  17741. (JarURLLoader): Added code to go through
  17742. META-INF/INDEX.LIST file to load all jars listed.
  17743. 2006-05-08 Roman Kennke <kennke@aicas.com>
  17744. PR 27461
  17745. * javax/swing/ImageIcon.java
  17746. (ImageIcon(URL)): Set description to URL.toString().
  17747. 2006-05-08 Roman Kennke <kennke@aicas.com>
  17748. PR 27482
  17749. * javax/swing/JTable.java
  17750. (IconCellRenderer.getTableCellRendererComponent): Set icon to
  17751. null when cell value is null.
  17752. 2006-05-08 Roman Kennke <kennke@aicas.com>
  17753. PR 27484
  17754. * javax/swing/DefaultDesktopManager.java
  17755. (closeFrame): Don't perform default close action on the frame
  17756. to prevent endless loop.
  17757. 2006-05-08 Roman Kennke <kennke@aicas.com>
  17758. PR 27485
  17759. * javax/swing/table/DefaultTableModel.java
  17760. (addExtraRows): New helper method.
  17761. (checkSize): New helper method.
  17762. (setRowCount): Use addExtraRows helper method.
  17763. (addColumn): Use addExtraRows helper method.
  17764. (getColumnName): Check and adjust size if necessary using
  17765. checkSize().
  17766. 2006-05-08 Roman Kennke <kennke@aicas.com>
  17767. PR 27486
  17768. * javax/swing/JTable.java
  17769. (setValueAt): Allow setting values even when table is editable.
  17770. 2006-05-08 Tom Tromey <tromey@redhat.com>
  17771. * java/text/SimpleDateFormat.java (compileFormat): Added missing
  17772. space to error message.
  17773. 2006-05-08 David Gilbert <david.gilbert@object-refinery.com>
  17774. * javax/swing/AbstractButton.java: Fixed comment typos.
  17775. 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
  17776. PR classpath/27435:
  17777. * java/util/zip/DeflaterEngine.java:
  17778. (deflateFast(boolean,boolean)): Empty buffer when full.
  17779. 2006-05-07 Sven de Marothy <sven@physto.se>
  17780. Fixed PR27343
  17781. * java/util/Calendar.java (setTimeZone): Force recalculation.
  17782. 2006-05-07 Sven de Marothy <sven@physto.se>
  17783. Fixed PR27463
  17784. * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java
  17785. (propertyChange): Handle FRAME_ICON_PROPERTY property.
  17786. 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
  17787. PR classpath/27311:
  17788. * gnu/java/text/StringFormatBuffer.java:
  17789. (toString()): Implemented so we can see the contents.
  17790. * java/text/DecimalFormat.java:
  17791. (formatInternal(double,StringFormatBuffer,FieldPosition)):
  17792. Don't calculate the exponent when the number is 0 or less.
  17793. Also, use log10 instead of log now it's available.
  17794. 2006-05-07 Raif S. Naffah <raif@swiftdsl.com.au>
  17795. * gnu/javax/crypto/keyring/PrimitiveEntry.java (PrimitiveEntry):
  17796. Use instance's field creationDate not the constructor's argument.
  17797. * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java:
  17798. Removed unused imports.
  17799. Sorted imports.
  17800. (log): New field.
  17801. (decrypt): Added trace/debug/timing statements.
  17802. (encrypt): Likewise.
  17803. Use PRNG instead of instantiating every time a new SecureRandom.
  17804. * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java:
  17805. Removed unused imports.
  17806. Sorted imports.
  17807. (log): New field.
  17808. (verify): Added trace/debug/timing statements.
  17809. (authenticate): Likewise.
  17810. Use PRNG instead of instantiating every time a new SecureRandom.
  17811. 2006-05-07 Raif S. Naffah <raif@swiftdsl.com.au>
  17812. * gnu/classpath/debug/Simple1LineFormatter.java (DAT_FORMAT): Removed.
  17813. (THREAD_FORMAT): Likewise.
  17814. (dateFormat): Added field.
  17815. (threadFormat): Added field.
  17816. (format): Initialize instance fields if null.
  17817. Use StringBuilder instead of StringBuffer.
  17818. 2006-05-07 Roman Kennke <kennke@aicas.com>
  17819. * gnu/java/awt/java2d/RasterGraphics.java: New file.
  17820. 2006-05-07 Roman Kennke <kennke@aicas.com>
  17821. * gnu/java/awt/java2d/AbstractGraphics2D.java
  17822. (fillShape): Determine user space bounds of shape and feed them
  17823. into the actual rendering pipeline.
  17824. (rawSetPixel): Made non-abstract for now. Maybe remove later.
  17825. (rawSetForeground): Likewise.
  17826. (getDestinationColorModel): Removed.
  17827. (getDeviceBounds): Made non-abstract. Provide useful default impl.
  17828. (rawFillShape): Handle paint context.
  17829. (fillScanline): Implement painting and compositing.
  17830. (fillShapeAntialias): Handle paint context.
  17831. (fillScanlineAA): Implemented preliminary antialiasing based on
  17832. composite context. Not working yet.
  17833. (fillScanlineAlpha): Removed.
  17834. (init): Fetch destination raster.
  17835. (getDestinationRaster): New abstract method.
  17836. (updateRaster): New backend method.
  17837. 2006-05-07 Roman Kennke <kennke@aicas.com>
  17838. * gnu/java/awt/java2d/AlphaCompositeContext.java
  17839. (compose): Fixed loops, conditions and logic to make compositing
  17840. work correctly.
  17841. 2006-05-07 Roman Kennke <kennke@aicas.com>
  17842. * java/awt/ColorPaintContext.java
  17843. (ColorPaintContext): Fixed filling of the raster.
  17844. 2006-05-07 Sven de Marothy <sven@physto.se>
  17845. Fixed PR27455
  17846. * gnu/java/awt/peer/GLightweightPeer.java (mouseEntered): Remove.
  17847. * java/awt/Component.java (processMouseEvent):
  17848. Do lightweight cursor handling.
  17849. * javax/swing/plaf/basic/BasicTableHeaderUI.java
  17850. (endResizing,mouseMoved): Save and reset original cursor, not the
  17851. default one.
  17852. 2006-05-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  17853. PR 27298
  17854. * javax/swing/plaf/basic/BasicTreeUI.java (NodeDimensionsHandler.
  17855. getNodeDimensions): Mind the size of the node icon. (getRowX):
  17856. use totalChildIndent. (TreeExpansionHandler): Set maximal height
  17857. to zero on events. (nullIcon): New field. (getCurrentControlIcon):
  17858. Return nullIcon if there is no other icon. (getNodeIcon): New method.
  17859. (installDefaults): assign totalChildIndent. (installUI): Call
  17860. updateExpandedDescendants. (paintHorizontalPartOfLeg): Rewritten.
  17861. (paintRow): Rewritten. (updateRenderer): Do not set the renderer for
  17862. the tree.
  17863. 2006-05-06 Sven de Marothy <sven@physto.se>
  17864. Fixed PR27454
  17865. * gnu/java/awt/peer/gtk/GtkImage: (drawPixels,drawPixelsScaled):
  17866. Check for zero image sizes.
  17867. 2006-05-06 Olivier Jolly <olivier.jolly@pcedev.com>
  17868. Fixed PR27362
  17869. * java/util/Calendar.java (clear(int)): Forced internal state
  17870. completion before performing a field clearing.
  17871. 2006-05-06 Olivier Jolly <olivier.jolly@pcedev.com>
  17872. * java/util/Collections.java(UnmodifiableMap.UnmodifiableEntrySet.
  17873. UnmodifiableMapEntry): New Map.Entry implementation which is immutable.
  17874. (UnmodifiableMap.UnmodifiableEntrySet.iterator,
  17875. UnmodifiableMap.UnmodifiableEntrySet.toArray,
  17876. UnmodifiableMap.UnmodifiableEntrySet.toArray(Object[])): Used
  17877. UnmodifiableMapEntry as part of their return value.
  17878. 2006-05-06 Raif S. Naffah <raif@swiftdsl.com.au>
  17879. * tools/keytool.sh.in: Removed (renamed to keytool.in).
  17880. * tools/jarsigner.in: Removed (renamed to jarsigner.in).
  17881. * tools/Makefile.am: Include jarsigner and keytool classes in tools.zip.
  17882. Generate jarsigner and keytool scripts.
  17883. * tools/keytool.in: New file (renamed from keytool.sh.in).
  17884. * tools/jarsigner.in: New file (renamed from jarsigner.sh.in).
  17885. * tools/.cvsignore: Replaced *.sh with *
  17886. * configure.ac: Replaced tools/*.sh with tools/*.
  17887. 2006-05-05 Roman Kennke <kennke@aicas.com>
  17888. * java/awt/image/ColorModel.java
  17889. (getNormalizedComponents): Implemented.
  17890. 2006-05-05 Roman Kennke <kennke@aicas.com>
  17891. * javax/swing/plaf/basic/BasicRadioButtonUI.java
  17892. (paint): Query the button model for it's state, not the
  17893. button itself.
  17894. 2006-05-05 Roman Kennke <kennke@aicas.com>
  17895. * javax/swing/JTable.java
  17896. (tableChanged): Sync selection model with table model changes.
  17897. 2006-05-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  17898. * javax/swing/plaf/basic/BasicTreeUI.java (paint): Return early
  17899. if there are no visible nodes to paint.
  17900. 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
  17901. * javax/swing/JOptionPane.java: API doc updates.
  17902. 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
  17903. * javax/swing/JToolBar.java
  17904. (paramString): Reimplemented.
  17905. 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
  17906. * javax/swing/JScrollBar.java
  17907. (paramString): Reimplemented.
  17908. 2006-05-04 Tom Tromey <tromey@redhat.com>
  17909. PR classpath/27375:
  17910. * java/util/zip/ZipFile.java (entries): Now a LinkedHashMap.
  17911. (readEntries): Updated.
  17912. (getEntries): Likewise.
  17913. (getEntry): Likewise.
  17914. (getInputStream): Likewise.
  17915. 2006-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
  17916. * gnu/javax/imageio/jpeg/DCT.java,
  17917. gnu/javax/imageio/jpeg/HuffmanTable.java,
  17918. gnu/javax/imageio/jpeg/JPEGComponent.java,
  17919. gnu/javax/imageio/jpeg/JPEGDecoder.java,
  17920. gnu/javax/imageio/jpeg/JPEGException.java,
  17921. gnu/javax/imageio/jpeg/JPEGFrame.java,
  17922. gnu/javax/imageio/jpeg/JPEGImageInputStream.java,
  17923. gnu/javax/imageio/jpeg/JPEGImageReader.java,
  17924. gnu/javax/imageio/jpeg/JPEGImageReaderSpi.java,
  17925. gnu/javax/imageio/jpeg/JPEGMarker.java,
  17926. gnu/javax/imageio/jpeg/JPEGMarkerFoundException.java,
  17927. gnu/javax/imageio/jpeg/JPEGScan.java,
  17928. gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java,
  17929. gnu/javax/imageio/jpeg/ZigZag.java: New files.
  17930. 2006-05-04 Lillian Angel <langel@redhat.com>
  17931. * javax/swing/JLabel.java
  17932. (JLabel): Pass in an empty string for the text parameter.
  17933. (JLabel): Likewise.
  17934. (JLabel): Likewise.
  17935. 2006-05-04 Roman Kennke <kennke@aicas.com>
  17936. * javax/swing/plaf/basic/BasicButtonListener.java
  17937. (mouseEntered): Fixed conditions for changing states.
  17938. 2006-05-04 Roman Kennke <kennke@aicas.com>
  17939. * javax/swing/JOptionPane.java
  17940. (AccessibleJOptionPane.getAccessibleRole): Implemented method.
  17941. 2006-05-04 Roman Kennke <kennke@aicas.com>
  17942. * javax/swing/JLabel.java
  17943. (AccessibleJLabel.getSelectedText): Return null instead of "".
  17944. (AccessibleJLabel.getSelectionStart): Added comment why
  17945. return -1 is correct here.
  17946. (AccessibleJLabel.getSelectionEnd): Added comment why
  17947. return -1 is correct here.
  17948. (AccessibleJLabel.getCharacterAttribute): Added comment about what
  17949. to do here.
  17950. (AccessibleJLabel.getCharCount): Added comment about what
  17951. to do here.
  17952. (AccessibleJLabel.getCharacterBounds): Tagged as not implemented.
  17953. (AccessibleJLabel.getIndexAtPoint): Tagged as not implemented.
  17954. (paramString): Return super.paramString() here, this provides
  17955. a more meaningful output.
  17956. 2006-05-04 Roman Kennke <kennke@aicas.com>
  17957. * javax/swing/JComponent.java
  17958. (paint): Added null check to avoid NPE when clip == null.
  17959. 2006-05-04 Roman Kennke <kennke@aicas.com>
  17960. * javax/swing/AbstractButton.java
  17961. (addImpl): New method. Installs an OverlayLayout if no
  17962. other layout has been installed before.
  17963. (setLayout): New method. Detect if a client app installs a custom
  17964. layout.
  17965. 2006-05-04 Roman Kennke <kennke@aicas.com>
  17966. * javax/swing/table/DefaultTableCellRenderer.java
  17967. (noFocusBorder): Fixed width of empty border to 1.
  17968. (getTableCellRendererComponent): Don't change the colors for
  17969. focuses cells. Fixed border for focused cells.
  17970. 2006-05-04 Roman Kennke <kennke@aicas.com>
  17971. * javax/swing/JTable.java
  17972. (moveToCellBeingEdited): Adjust bounding box of editing component
  17973. to exactly cover the grid.
  17974. * javax/swing/plaf/basic/BasicTableUI.java
  17975. (paint): Paint grid to the bottom and right of the cells instead
  17976. of left and top. Adjust bounding box of cells accordingly.
  17977. * javax/swing/plaf/metal/MetalLookAndFeel.java
  17978. (initComponentDefaults): Fixed color of JTable selection border.
  17979. * javax/swing/plaf/metal/OceanTheme.java
  17980. (addCustomEntriesToTable): Fixed color of JTable selection border.
  17981. 2006-05-04 Raif S. Naffah <raif@swiftdsl.com.au>
  17982. * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup):
  17983. Use _alias instead of alias.
  17984. 2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
  17985. * configure.ac:
  17986. Set version to 0.92-pre.
  17987. * NEWS:
  17988. Add space for 0.92 entries.
  17989. 2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
  17990. * include/Makefile.am:
  17991. Added rules for gnu.java.net.local.LocalSocketImpl.h
  17992. * include/java_lang_VMSystem.h:
  17993. Regenerated correctly.
  17994. 2006-05-03 Sven de Marothy <sven@physto.se>
  17995. PR 24023, 24701
  17996. * java/awt/Image.java:
  17997. (getScaledInstance): Default to AreaAveraging for "smooth",
  17998. don't thrown an error on illegal flag values.
  17999. * java/awt/image/AreaAveragingScaleFilter.java: Implement.
  18000. 2006-05-03 Robert Schuster <robertschuster@fsfe.org>
  18001. * javax/swing/text/FieldView.java:
  18002. (adjustAllocation): Added if-block to return null when shape argument
  18003. is null.
  18004. * javax/swing/text/PlainView.java:
  18005. (updateDamage): Added if-block to return early if a is null.
  18006. 2006-05-03 Robert Schuster <robertschuster@fsfe.org>
  18007. * javax/swing/plaf/basic/BasicTextUI.java:
  18008. (changeUpdate): Added note.
  18009. (removeUpdate): Dito.
  18010. (insertUpdate): Dito.
  18011. (damageRange): Added if-block to return early.
  18012. (modelToView): Added check of getVisibleEditorRect's return value.
  18013. (getVisibleEditorRect): Return null instead of empty rectangle.
  18014. * javax/swing/text/DefaultCaret.java:
  18015. (clearHighlight): Removed if-clause to create a highlight entry if it
  18016. did not exist before.
  18017. * javax/swing/text/WrappedPlainView.java:
  18018. (WrappedLine.modelToView): Throw exception if allocation area is empty,
  18019. removed 2nd part of if-expression.
  18020. (WrappedLine.updateDamage): Added more documentation, added check
  18021. whether allocation area rectangle is null.
  18022. 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  18023. * javax/swing/JSplitPane.java (setDividerLocation(int)):
  18024. Reset to preferred sizes if the argument is negative.
  18025. 2006-05-03 David Gilbert <david.gilbert@object-refinery.com>
  18026. * javax/swing/JList.java: Added/updated API docs.
  18027. 2006-05-03 Lillian Angel <langel@redhat.com>
  18028. * javax/swing/JComponent.java
  18029. (getRoot): New private function. Gets the root appropriate
  18030. for painting. If an applet exists as a parent, then it is returned.
  18031. (paintDoubleBuffered): Changed to use new function.
  18032. * javax/swing/RepaintManager.java
  18033. (getRoot): New private function. Gets the root appropriate
  18034. for painting. If an applet exists as a parent, then it is returned.
  18035. (getOffscreenBuffer): Changed to use new function.
  18036. * javax/swing/SwingUtilties.java
  18037. (getRoot): Reverted last patch to return Window, even if
  18038. an Applet exists.
  18039. 2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au>
  18040. * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Re-implemented using
  18041. a pair of one public keyring and one private keyring.
  18042. * gnu/javax/crypto/keyring/GnuPublicKeyring.java (log): New field.
  18043. (containsCertificate): Added logging.
  18044. (getCertificate): Likewise.
  18045. (putCertificate): Likewsie.
  18046. (load): Likewise.
  18047. (store): Likewise.
  18048. * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (log): New field.
  18049. (containsPrivateKey): Added logging.
  18050. (getPrivateKey): Likewise.
  18051. (putPrivateKey): Likewise.
  18052. (containsPublicKey): Likewise.
  18053. (getPublicKey): Likewise.
  18054. (putPublicKey): Likewise.
  18055. (containsCertPath): Likewise.
  18056. (getCertPath): Likewise.
  18057. (putCertPath): Likewise.
  18058. (load): Likewise.
  18059. (store): Likewise.
  18060. 2006-05-03 Roman Kennke <kennke@aicas.com>
  18061. * gnu/java/awt/java2d/AlphaCompositeContext.java: New class.
  18062. * java/awt/AlphaComposite.java
  18063. (createContext): Implemented.
  18064. 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  18065. * gnu/java/awt/peer/gtk/GdkGraphics2D.java (drawRaster):
  18066. Set the current color again after drawing the raster.
  18067. 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  18068. * javax/swing/text/WrappedPlainView.java (WrappedLine.modelToView):
  18069. Do not check pos < currLineEnd if currLineStart == currLineEnd.
  18070. 2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au>
  18071. * tools/gnu/classpath/tools/keytool/Command.java (getCallbackHandler):
  18072. Assign returned value to field handler.
  18073. * tools/gnu/classpath/tools/jarsigner/Main.java (getCallbackHandler):
  18074. Likewise.
  18075. 2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  18076. * javax/swing/ScrollPaneLayout.java (layoutContainer):
  18077. Return without action if there is no view in the viewport.
  18078. * javax/swing/text/WrappedPlainView.java
  18079. (WrappedLine.getPreferredSpan): If metrics == null, update
  18080. metrics.
  18081. * javax/swing/tree/DefaultTreeModel.java (constructors):
  18082. Do not call setRoot, assign the root node directly.
  18083. 2006-05-02 Lillian Angel <langel@redhat.com>
  18084. * javax/swing/SwingUtilities.java
  18085. (getRoot): Should return the Applet if it exists.
  18086. Only return the Window if an Applet has not been
  18087. encountered.
  18088. 2006-05-02 Lillian Angel <langel@redhat.com>
  18089. * gnu/javax/swing/text/html/parser/support/Parser.java
  18090. (readAttributes): Reverted Audrius' last patch. There is
  18091. a slight difference in code between the NUMTOKEN and SLASH case.
  18092. 2006-05-02 Robert Schuster <robertschuster@fsfe.org>
  18093. * javax/swing/text/JTextComponent.java:
  18094. (setText): Throw InternalError from catch-block.
  18095. * javax/swing/text/GapContent.java:
  18096. (removed): Removed if-expression, changed '>' to '>='.
  18097. 2006-05-02 Roman Kennke <kennke@aicas.com>
  18098. * gnu/java/awt/java2d/AbstractGraphics2D.java
  18099. (AA_SAMPLING): New constant.
  18100. (alpha): New field. Used in the antialiasing renderer.
  18101. (edgeTable): New field. Used in the antialiasing renderer.
  18102. (AbstractGraphics2D): Initialize rendering hints wrt
  18103. anti-aliasing.
  18104. (draw): Clip after stroking. Commented out clipping for now,
  18105. it seems to be buggy.
  18106. (fill): Commented out clipping for now, it seems to be buggy.
  18107. (setComposite): Don't create composite context.
  18108. (setPaint): Only change paint when parameter is not null.
  18109. (translate): Call setClip() so subclasses can update their clip
  18110. too.
  18111. (clip): Call setClip() so subclasses can update their clip
  18112. too.
  18113. (drawGlyphVector): Added clipping, but left it commented out
  18114. because it's buggy.
  18115. (getClipBounds): Returns null when clip is null.
  18116. (drawLine): Call rawDrawLine with translation applied.
  18117. (filLRect): Call rawFillRect with translation applied.
  18118. (fillShape): Added support for anti-aliasing.
  18119. (rawSetForeground(int,int,int)): New method.
  18120. (rawFillShape): A couple of painting fixes.
  18121. (fillScanline): Implemented to call rawDrawLine.
  18122. (fillShapeAntialias): New method. Implements an anti-aliasing
  18123. shape filler.
  18124. (fillScanlineAA): New method. Used for the anti-aliasing
  18125. shape filler.
  18126. (fillScanlineAlpha): New method. Used for the anti-aliasing
  18127. shape filler.
  18128. (init): Initialize clip with the device bounds.
  18129. (updateOptimization): Fixed the optimization condition.
  18130. 2006-05-02 Robert Schuster <robertschuster@fsfe.org>
  18131. * javax/swing/text/GapContent.java:
  18132. (GapContent): Restrict size argument by 2.
  18133. (insertString): Changed expression from >= to >.
  18134. (remove): Changed right side of expression to 'length - 1', changed
  18135. exception message.
  18136. (getChars): Throw exception if where below 0.
  18137. (replace): Replaced call to setPositionsInRange() with
  18138. resetMarksAtZero(), removed note.
  18139. 2006-05-02 Roman Kennke <kennke@aicas.com>
  18140. PR 27326
  18141. * javax/swing/MenuSelectionManager.java
  18142. (setSelectedPath): Rewritten.
  18143. 2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  18144. * gnu/javax/swing/text/html/parser/support/Parser.java
  18145. (readAttributes): Merge case NUMTOKEN: and case SLASH:
  18146. sections.
  18147. 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
  18148. * tools/.cvsignore: Added keytool.sh.
  18149. * configure.ac: Added tools/keytool.sh to AC_CONFIG_FILES.
  18150. 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
  18151. * doc/tools.texinfo: New file.
  18152. * doc/Makefile.am: Generate tools documentation.
  18153. 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
  18154. * tools/keytool.sh.in: New file.
  18155. * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
  18156. * tools/gnu/classpath/tools/keytool/Command.java: Likewise.
  18157. * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
  18158. * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
  18159. * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
  18160. * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
  18161. * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
  18162. * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
  18163. * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
  18164. * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
  18165. * tools/gnu/classpath/tools/keytool/Main.java: Likewise.
  18166. * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
  18167. * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
  18168. * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
  18169. * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Likewise.
  18170. * tools/gnu/classpath/tools/keytool/keytool.txt: Likewise.
  18171. * tools/gnu/classpath/tools/keytool/package.html: Likewise.
  18172. * resource/gnu/classpath/tools/keytool/MessageBundle.properties: Likewise.
  18173. 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
  18174. * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Re-arranged to
  18175. resemble more closely man-page style text.
  18176. * tools/gnu/classpath/tools/jarsigner/SFHelper.java:
  18177. Mark (Eclipse) strings that need not be externalised.
  18178. (writeSF): Likewise.
  18179. (writeDSA): Likewise.
  18180. Use package-private Messages class to provide i18n-ready strings.
  18181. (startSigning):
  18182. Use package-private Messages class to provide i18n-ready strings.
  18183. (updateEntry): Likewise.
  18184. Mark (Eclipse) strings that need not be externalised.
  18185. (finishSigning): Likewise.
  18186. * tools/gnu/classpath/tools/jarsigner/Main.java:
  18187. Mark (Eclipse) strings that need not be externalised.
  18188. (main): Do not use constant strings as class name.
  18189. Use package-private Messages class to provide i18n-ready strings.
  18190. Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
  18191. (processArgs): Do not use constant strings as class name.
  18192. Mark (Eclipse) strings that need not be externalised.
  18193. Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
  18194. (start): Do not use constant strings as class name.
  18195. (teardown): Likewise.
  18196. Use ProviderUtil.
  18197. (setupCommonParams): Do not use constant strings as class name.
  18198. Use package-private Messages class to provide i18n-ready strings.
  18199. Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
  18200. (installNewProvider): Do not use constant strings as class name.
  18201. Use ProviderUtil.
  18202. (setupSigningParams): Do not use constant strings as class name.
  18203. Use package-private Messages class to provide i18n-ready strings.
  18204. Mark (Eclipse) strings that need not be externalised.
  18205. (getCallbackHandler): Use CallbackUtil.
  18206. * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
  18207. Use package-private Messages class to provide i18n-ready strings.
  18208. Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
  18209. * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
  18210. (verifySF): Likewise.
  18211. (verifySFEntries): Do not use constant strings as class name.
  18212. Use Boolean.valueOf instead of new Boolean().
  18213. (verifySFEntry): Mark (Eclipse) strings that need not be externalised.
  18214. * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
  18215. New file.
  18216. * tools/gnu/classpath/tools/jarsigner/package.html: Likewise.
  18217. * tools/gnu/classpath/tools/jarsigner/Messages.java: Likewise.
  18218. 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
  18219. * tools/gnu/classpath/tools/common/CallbackUtil.java: New file.
  18220. * tools/gnu/classpath/tools/common/ProviderUtil.java: Likewise.
  18221. * tools/gnu/classpath/tools/common/SecurityProviderInfo.java: Likewise.
  18222. 2006-05-01 Tom Tromey <tromey@redhat.com>
  18223. * java/nio/ByteBufferImpl.java (compact): Don't reset position
  18224. in empty case.
  18225. * gnu/java/nio/ChannelReader.java (read): Synchronize.
  18226. (close): Synchronize.
  18227. * java/nio/ShortBufferImpl.java (compact): Rewrote.
  18228. * java/nio/LongBufferImpl.java (compact): Rewrote.
  18229. * java/nio/IntBufferImpl.java (compact): Rewrote.
  18230. * java/nio/FloatBufferImpl.java (compact): Rewrote.
  18231. * java/nio/DoubleBufferImpl.java (compact): Rewrote.
  18232. * java/nio/CharBufferImpl.java (compact): Rewrote.
  18233. * gnu/java/nio/ChannelWriter.java: New file.
  18234. * java/nio/channels/Channels.java (newWriter): Implemented.
  18235. 2006-05-01 Lillian Angel <langel@redhat.com>
  18236. * java/util/SimpleTimeZone.java
  18237. (SimpleTimeZone): Do not throw exception if startMonth == endMonth.
  18238. (SimpleTimeZone): Likewise.
  18239. (checkRule): Rewritten to properly check all values (more efficently).
  18240. This code is now more stable, at least less buggy than before. Fixed
  18241. API documentation.
  18242. (setStartRule): Moved checkRule call to end.
  18243. (setStartRule): Likewise.
  18244. (setEndRule): Likewise.
  18245. (setEndRule): Likewise.
  18246. 2006-05-01 Tom Tromey <tromey@redhat.com>
  18247. * lib/.cvsignore: Added classes.2.
  18248. 2006-05-01 Tom Tromey <tromey@redhat.com>
  18249. * java/util/jar/JarFile.java (provider): Now package-private.
  18250. * java/lang/Enum.java (compareTo): Javadoc fix.
  18251. * java/lang/Boolean.java (compareTo): Javadoc fix.
  18252. 2006-05-01 Lillian Angel <langel@redhat.com>
  18253. * gnu/javax/swing/text/html/parser/support/Parser.java
  18254. (readAttributes): Formatted function. Added handling for
  18255. SLASH token. The value of an attribute may start with a slash
  18256. (i.e. a path). I added handling similar to to the NUMTOKEN code.
  18257. We should not be skipping over these type of attributes.
  18258. 2006-04-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
  18259. * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
  18260. * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
  18261. * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
  18262. * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
  18263. * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
  18264. * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
  18265. * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
  18266. * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
  18267. * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
  18268. * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
  18269. * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
  18270. * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
  18271. * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
  18272. * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
  18273. * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
  18274. * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
  18275. * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
  18276. * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
  18277. * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
  18278. * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
  18279. * include/gnu_java_awt_peer_gtk_GtkImage.h,
  18280. * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
  18281. * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
  18282. * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
  18283. * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
  18284. * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
  18285. * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
  18286. * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
  18287. * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
  18288. * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
  18289. * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
  18290. * include/gnu_java_awt_peer_gtk_GtkSelection.h,
  18291. * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
  18292. * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
  18293. * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
  18294. * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
  18295. * include/gnu_java_awt_peer_qt_MainQtThread.h,
  18296. * include/gnu_java_awt_peer_qt_QMatrix.h,
  18297. * include/gnu_java_awt_peer_qt_QPainterPath.h,
  18298. * include/gnu_java_awt_peer_qt_QPen.h,
  18299. * include/gnu_java_awt_peer_qt_QtAudioClip.h,
  18300. * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
  18301. * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
  18302. * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
  18303. * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
  18304. * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
  18305. * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
  18306. * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
  18307. * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
  18308. * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
  18309. * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
  18310. * include/gnu_java_awt_peer_qt_QtFontPeer.h,
  18311. * include/gnu_java_awt_peer_qt_QtFramePeer.h,
  18312. * include/gnu_java_awt_peer_qt_QtGraphics.h,
  18313. * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
  18314. * include/gnu_java_awt_peer_qt_QtImage.h,
  18315. * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
  18316. * include/gnu_java_awt_peer_qt_QtListPeer.h,
  18317. * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
  18318. * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
  18319. * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
  18320. * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
  18321. * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
  18322. * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
  18323. * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
  18324. * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
  18325. * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
  18326. * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
  18327. * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
  18328. * include/gnu_java_awt_peer_qt_QtToolkit.h,
  18329. * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
  18330. * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
  18331. * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
  18332. * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
  18333. * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
  18334. * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
  18335. * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
  18336. * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
  18337. * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
  18338. * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
  18339. * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
  18340. * include/gnu_xml_libxmlj_dom_GnomeElement.h,
  18341. * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
  18342. * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
  18343. * include/gnu_xml_libxmlj_dom_GnomeNode.h,
  18344. * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
  18345. * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
  18346. * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
  18347. * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
  18348. * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
  18349. * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
  18350. * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
  18351. * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
  18352. * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
  18353. * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
  18354. * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
  18355. * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
  18356. * include/java_lang_VMProcess.h:
  18357. Regenerated.
  18358. * native/jni/java-lang/java_lang_VMProcess.c:
  18359. Redirect when pipe_count is 2 not 3.
  18360. 2006-04-30 Sascha Brawer <sascha@brawer.ch>
  18361. * gnu/java/awt/font/FontDelegate.java,
  18362. * gnu/java/awt/font/FontFactory.java,
  18363. * gnu/java/awt/font/GNUGlyphVector.java,
  18364. * gnu/java/awt/font/opentype/CharGlyphMap.java,
  18365. * gnu/java/awt/font/opentype/GlyphNamer.java,
  18366. * gnu/java/awt/font/opentype/MacResourceFork.java,
  18367. * gnu/java/awt/font/opentype/NameDecoder.java,
  18368. * gnu/java/awt/font/opentype/OpenTypeFont.java,
  18369. * gnu/java/awt/font/opentype/OpenTypeFontFactory.java,
  18370. * gnu/java/awt/font/opentype/Scaler.java,
  18371. * gnu/java/awt/font/opentype/truetype/Fixed.java,
  18372. * gnu/java/awt/font/opentype/truetype/GlyphLoader.java,
  18373. * gnu/java/awt/font/opentype/truetype/GlyphLocator.java,
  18374. * gnu/java/awt/font/opentype/truetype/GlyphMeasurer.java,
  18375. * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java,
  18376. * gnu/java/awt/font/opentype/truetype/VirtualMachine.java,
  18377. * gnu/java/awt/font/opentype/truetype/Zone.java,
  18378. * gnu/java/awt/font/opentype/truetype/ZonePathIterator.java,
  18379. * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
  18380. * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png:
  18381. New files. Imported font framework from:
  18382. http://www.brawer.ch/software/fonts/
  18383. 2006-04-30 Roman Kennke <kennke@aicas.com>
  18384. * javax/swing/plaf/basic/BasicTabbedPaneUI.java
  18385. (lastTabInRun): Fix calculation of the last tab in a run. This
  18386. has caused painting problems sometimes, making the
  18387. last tab painted incorrectly.
  18388. 2006-04-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  18389. PR 27297
  18390. * javax/swing/JComponent.java (paintChildrenWithOverlap):
  18391. Use for and not while to prevent the endless loop.
  18392. 2006-04-29 David Gilbert <david.gilbert@object-refinery.com>
  18393. * javax/swing/JList.java
  18394. (paramString): Changed from public to protected.
  18395. 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
  18396. * tools/gnu/classpath/tools/HelpPrinter.java (printHelp): New method.
  18397. (printHelpAndExit): Re-factored to use the above method.
  18398. 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
  18399. * tools/jarsigner.sh.in: Changed license to GPL + Exception.
  18400. Use -Xbootclasspath/p instead of -cp when invoking the main class.
  18401. * tools/gnu/classpath/tools/jarsigner/Main.java:
  18402. Changed license to GPL + Exception.
  18403. (handler): New field.
  18404. (getCallbackHandler): New method.
  18405. (setupSigningParams): Use above method.
  18406. * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
  18407. Changed license to GPL + Exception.
  18408. * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
  18409. * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
  18410. * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
  18411. * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Updated copyright.
  18412. 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
  18413. * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java
  18414. (handleConfirmation): Use print instead of println.
  18415. (handleConfirmation): When case is YES_NO_OPTION, print default option
  18416. if one was set.
  18417. (handleLanguage): Use print instead of println.
  18418. 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
  18419. * gnu/java/security/x509/X500DistinguishedName.java: Updated copyright.
  18420. (putComponent): Handle O and OU components.
  18421. (getDer): Use correct (it2) iterator.
  18422. (readAttributeValue): Read next character and break if end-of-stream.
  18423. 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
  18424. * gnu/java/security/provider/Gnu.java (run):
  18425. Add "RSA" as an alias to MD5withRSA.
  18426. * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (encodePublicKey):
  18427. Always encode a NULL as the value of an algorithm parameters field.
  18428. * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (log): New field.
  18429. (encodePrivateKey): Added trace/log statements.
  18430. (decodePrivateKey): Likewise.
  18431. * gnu/java/security/key/rsa/RSAKeyPairGenerator.java (log): New field.
  18432. (setup): Added trace/log statements.
  18433. (generate): Likewise.
  18434. * gnu/java/security/key/rsa/GnuRSAPublicKey.java (str): New field.
  18435. (toString): New method.
  18436. * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (DEBUG): New constant.
  18437. (str): New field.
  18438. (toString): New method.
  18439. * gnu/java/security/key/rsa/GnuRSAKey.java (str): New field.
  18440. (getEncoded): Use defaultFormat.
  18441. (toString): New method.
  18442. * gnu/java/security/key/dss/DSSKey.java (toString):
  18443. Include defaultFormat in string.
  18444. * gnu/java/security/jce/sig/RSAKeyFactory.java (engineGeneratePublic):
  18445. Break if successfully decoded public key.
  18446. (engineGeneratePrivate): Break if successfully decoded private key.
  18447. 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
  18448. * java/security/Security.java <clinit>: Add our Callback provider.
  18449. * resource/java/security/classpath.security: Likewise
  18450. 2006-04-28 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  18451. PR 27296
  18452. * javax/swing/ScrollPaneLayout.java (layoutContainer):
  18453. Decide about scroll bars from the preferred view size, not
  18454. the current size.
  18455. * javax/swing/ViewportLayout.java (layoutContainer):
  18456. Do not change returned preferred size. Do not treat JScrollPane
  18457. specially.
  18458. 2006-04-28 Sven de Marothy <sven@physto.se>
  18459. * java/awt/image/ReplicateScaleFilter.java: Fix comment.
  18460. * javax/swing/ProgressMonitor.java (actionPerformed):
  18461. Avoid divide-by-zero.
  18462. 2006-04-28 Sven de Marothy <sven@physto.se>
  18463. * javax/swing/JSpinner.java: Fix default text justification.
  18464. * javax/swing/plaf/basic/BasicSpinnerUI.java: Fix spinner layout size.
  18465. 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
  18466. * javax/swing/JList.java
  18467. (getMinSelectionIndex): Return correct value, added API docs,
  18468. (getMaxSelectionIndex): Added API docs.
  18469. 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
  18470. * javax/swing/JList.java
  18471. (JList(Object[])): Pass new model directly to init(),
  18472. (JList(Vector)): Likewise,
  18473. (JList(ListModel)): Renamed argument and updated API docs,
  18474. (init): Throw IllegalArgumentException for null argument,
  18475. (setListData(Object[])): Delegate model creation,
  18476. (setListData(Vector)): Likewise,
  18477. (createListModel(Object[])): New private method,
  18478. (createListModel(Vector)): New private method,
  18479. (paramString): Implemented.
  18480. 2006-04-28 Tom Tromey <tromey@redhat.com>
  18481. * java/lang/Class.java (SYNTHETIC, ENUM, ANNOTATION): New fields.
  18482. (isEnum): Rewrote.
  18483. (isSynthetic): Likewise.
  18484. (isAnnotation): Likewise.
  18485. * vm/reference/java/lang/VMClass.java (isSynthetic): Removed.
  18486. (isAnnotation): Likewise.
  18487. (isEnum): Likewise.
  18488. 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
  18489. * javax/swing/text/View.java:
  18490. (getNextVisualPositionFrom): Call modelToView and viewToModel on parent
  18491. view.
  18492. 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
  18493. * javax/swing/text/View.java:
  18494. (getNextVisualPositionFrom): Rewritten.
  18495. * javax/swing/text/CompositeView.java:
  18496. (getNextEastWestVisualPositionFrom): Partly implemented.
  18497. (getNextNorthSouthVisualPositionFrom): Partly implemented.
  18498. 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
  18499. * javax/swing/JList.java
  18500. (setFixedCellHeight): Use correct property name for event.
  18501. 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
  18502. * javax/swing/text/Utilities.java:
  18503. (getNextWord): Use codePointAt instead of charAt, added note, changed
  18504. if-expression, added throwing of exception.
  18505. (getPreviousWord): Use codePointAt instead of charAt.
  18506. 2006-04-28 Jeroen Frijters <jeroen@frijters.net>
  18507. * java/lang/StringBuilder.java
  18508. (ensureCapacity, getChars, append(StringBuffer),
  18509. append(char[],int,int), delete, replace, insert(int,char[],int,int),
  18510. insert(int,String), insert(int,char), trimToSize): Replaced
  18511. System.arraycopy calls with VMSystem.arraycopy.
  18512. 2006-04-27 Tom Tromey <tromey@redhat.com>
  18513. * java/awt/image/renderable/RenderableImageProducer.java
  18514. (requestTopDownLeftRightResend): Implemented.
  18515. (run): Likewise.
  18516. (startProduction): Add new consumer.
  18517. 2006-04-27 Sven de Marothy <sven@physto.se>
  18518. * javax/swing/JLabel.java (setIcon): Repaint on setting the icon.
  18519. 2006-04-27 Roman Kennke <kennke@aicas.com>
  18520. * java/awt/LightweightDispatcher.java
  18521. Dispatch events only to targets that have a mouselistener
  18522. attached. Changed to also handle null targets.
  18523. 2006-04-27 Roman Kennke <kennke@aicas.com>
  18524. * NEWS: Added entries about accessibility support and L&F
  18525. window decorations.
  18526. 2006-04-27 Robert Schuster <robertschuster@fsfe.org>
  18527. * javax/swing/text/Utilities.java:
  18528. (getTabbedTextOffset): Introduced width variable, rewritten the check
  18529. which ends the loop.
  18530. (getBreakLocation): Call getTabbedTextOffset with rounding argument set
  18531. to false.
  18532. 2006-04-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  18533. * examples/gnu/classpath/examples/swing/TreeDemo.java
  18534. (createContent): Added root visibility and selection listener demos.
  18535. * javax/swing/JTree.java (setRootVisible): If false, unselect
  18536. the root node, if it is selected.
  18537. * javax/swing/plaf/basic/BasicTreeUI.java
  18538. (TreeTraverseAction.actionPerformed): Do not select the root if it
  18539. is not visible.
  18540. * javax/swing/tree/DefaultTreeSelectionModel.java (removeSelectionPath,
  18541. removeSelectionPaths): Reset lead to null if the current lead path is
  18542. removed from selection.
  18543. * javax/swing/tree/TreePath.java (getParentPath): Cache the parent path.
  18544. * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getPath):
  18545. Return the same path regardless is root visible or not. (update):
  18546. Reduce the identation if the root is not visible.
  18547. * javax/swing/tree/VariableHeightLayoutCache.java (NodeRecord.getPath):
  18548. Return the same path regardless is root visible or not. (update):
  18549. Reduce the identation if the root is not visible.
  18550. 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org
  18551. * javax/swing/plaf/basic/BasicTreeUI.java
  18552. (TreeAction.actionPerformed):Newly obtain the current lead
  18553. path that must stay visible.
  18554. (TreeTraverseAction.actionPerformed):Rewritten.
  18555. * javax/swing/tree/FixedHeightLayoutCache.java (countRows):
  18556. Do not treat root specially. (setModel): Assume the root node
  18557. initially expanded.
  18558. * javax/swing/tree/VariableHeightLayoutCache.java:(countRows):
  18559. Do not treat root specially. (setModel): Assume the root node
  18560. initially expanded.
  18561. 2006-04-26 Chris Burdess <dog@gnu.org>
  18562. Fixes PR 27290
  18563. * javax/xml/datatype/DatatypeFactory.java: Use complete
  18564. implementation resolution mechanism.
  18565. 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  18566. * javax/swing/tree/DefaultTreeModel.java (nodeStructureChanged):
  18567. Implemented.
  18568. * javax/swing/tree/DefaultTreeSelectionModel.java (toString):
  18569. Removed NoImplementException form the implemented method.
  18570. 2006-04-26 Tom Tromey <tromey@redhat.com>
  18571. * javax/net/ssl/HttpsURLConnection.java (HttpsURLConnection): Doesn't
  18572. throw IOException.
  18573. 2006-04-26 David Gilbert <david.gilbert@object-refinery.com>
  18574. * javax/swing/DefaultListSelectionModel.java
  18575. (clone): Initialise empty listener list,
  18576. (setSelectionMode): Throw IllegalArgumentException for bad input.
  18577. 2006-04-26 David Gilbert <david.gilbert@object-refinery.com>
  18578. * javax/swing/DefaultListSelectionModel.java
  18579. (clearSelection): Clear the Bitset.
  18580. 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  18581. * javax/swing/JTree.java (setLeadSelectionPath):
  18582. Repaint the new and old lead pathes.
  18583. * javax/swing/plaf/basic/BasicTreeUI.java
  18584. (FocusHandler): Repaint the lead row when focus changes.
  18585. (PropertyChangeHandler): Use existing constants, not the
  18586. string literals for the property names.
  18587. (TreeIncrementAction): Shrink the selection when moving
  18588. from the selection edge to the selection anchor.
  18589. (TreeSelectionHandler.valueChanged): Repaint the
  18590. new and old lead pathes.
  18591. (paintRow): Treat row as focused only if it is the lead row.
  18592. * javax/swing/tree/DefaultTreeCellRenderer.java
  18593. (getTreeCellRendererComponent): Set the vertical alignment to CENTER.
  18594. (paint): Rewritten.
  18595. * javax/swing/tree/DefaultTreeSelectionModel.java
  18596. (addSelectionPath): Event construction fix (old and new lead were
  18597. always the same).
  18598. (addSelectionPaths): Likewise.
  18599. * javax/swing/JComponent.java (setOpaque): Explained.
  18600. * javax/swing/tree/FixedHeightLayoutCache.java (getBounds):
  18601. Accept null.
  18602. * javax/swing/tree/VariableHeightLayoutCache.java (getBounds):
  18603. Accept null.
  18604. 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  18605. * examples/gnu/classpath/examples/swing/TreeDemo.java
  18606. (createContent): Call DefaultTreeModel.reload(), not the
  18607. tree.repaint(). Expand the parent of the added node.
  18608. * javax/swing/JTree.java (constructor): Do not call
  18609. UpdateUI (and documented why). (treeDidChange):
  18610. Added comment, excluding the misinterpretation of this method.
  18611. * javax/swing/plaf/basic/BasicTreeUI.java (componentListener,
  18612. focusListener, keyListener, mouseListener, propertyListener,
  18613. selectionModelPropertyChangeListener, treeModelListener,
  18614. treeSelectionListener): Made package private.
  18615. (PropertyChangeHandler): If the model changes, install the
  18616. listener on it. (installUI): Assign treeModel.
  18617. * javax/swing/tree/DefaultMutableTreeNode.java (add): Added
  18618. comment, excluding misinterpretation.
  18619. * javax/swing/tree/DefaultTreeModel.java (reload): Implemented.
  18620. (reload(TreeNode)): Implemented.
  18621. 2006-04-25 Tom Tromey <tromey@redhat.com>
  18622. * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
  18623. * javax/swing/tree/VariableHeightLayoutCache.java
  18624. (getVisiblePathsFrom): Genericized.
  18625. * javax/swing/tree/FixedHeightLayoutCache.java (getVisiblePathsFrom):
  18626. Genericized.
  18627. 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  18628. * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
  18629. If clicked on the other row, cancel the current editing session.
  18630. 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  18631. * javax/swing/plaf/basic/BasicTreeUI.java
  18632. (NodeDimensionsHandler.getRowX): Add half of the icon width.
  18633. (paintExpandControl): Always paint in one gap distance from the left
  18634. border of the path bounds.
  18635. (paintHorizontalPartOfLeg): Rewritted, taking the icon width
  18636. into consideration.
  18637. (paintVerticalPartOfLeg): Paint two gaps from the parent's bounds
  18638. left edge.
  18639. 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  18640. * javax/swing/plaf/basic/BasicTreeUI.java (paint): Rewritten.
  18641. 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  18642. * gnu/javax/swing/text/html/parser/support/Parser.java (readAttributes):
  18643. Allow slashes (/) in the unquoted parameter value.
  18644. 2006-04-25 Roman Kennke <kennke@aicas.com>
  18645. * gnu/java/awt/java2d/AbstractGraphics2D.java
  18646. (drawString(String,int,int)): Implemented.
  18647. (drawString(String,float,float)): Implemented.
  18648. (drawString(AttributedCharacterIterator,int,int)): Implemented.
  18649. (drawString(AttributedCharacterIterator,float,float)): Implemented.
  18650. (getFontRenderContext): Implemented.
  18651. (drawGlyphVector): Implemented.
  18652. (getFont): Implemented.
  18653. (setFont): Don't change font setting when null.
  18654. (getFontMetrics): Implemented.
  18655. (fillShape): Re-written to fill call rawFillShape() with a list
  18656. of the edges instead of double arrays.
  18657. (rawFillShape): Implemented using a polygon scanline conversion.
  18658. (fillScanline): New helper method.
  18659. (init): Initialize foreground black. Set font.
  18660. * gnu/java/awt/java2d/PolyEdge.java: New file.
  18661. * gnu/java/awt/java2d/PolyEdgeComparator.java: New file.
  18662. 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
  18663. * javax/swing/table/DefaultTableColumnModel.java: More API doc updates.
  18664. 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
  18665. * javax/swing/JTable.java: Fixed API doc tags,
  18666. * javax/swing/text/AsyncBoxView.java: Likewise,
  18667. * javax/swing/text/FlowView.java: Likewise.
  18668. 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
  18669. * javax/swing/table/DefaultTableColumnModel.java
  18670. (moveColumn): Call fireColumnMoved() not fireColumnAdded.
  18671. 2006-04-24 David Gilbert <david.gilbert@object-refinery.com>
  18672. * javax/swing/table/DefaultTableColumnModel.java
  18673. (DefaultTableColumnModel): Set selection model field and add 'this' as
  18674. listener directly,
  18675. (addColumn): Add 'this' as a PropertyChangeListener,
  18676. (removeColumn): Remove column before firing event, and remove 'this' as
  18677. a PropertyChangeListener,
  18678. (setSelectionModel): Remove 'this' as a listener from old model,
  18679. (propertyChange): Check for 'width' property rather than
  18680. TableColumn.COLUMN_WIDTH_PROPERTY.
  18681. 2006-04-24 Chris Burdess <dog@gnu.org>
  18682. Fixes PR 27262
  18683. * gnu/xml/dom/DomDocument.java: getElementById returns user-defined ID
  18684. attributes when no doctype exists.
  18685. 2006-04-24 David Gilbert <david.gilbert@object-refinery.com>
  18686. * javax/swing/event/ChangeEvent.java: Updated API docs,
  18687. * javax/swing/event/ChangeListener.java: Likewise,
  18688. * javax/swing/event/TableColumnModelEventListener.java: Likewise,
  18689. * javax/swing/table/DefaultTableColumnModel.java: Likewise,
  18690. * javax/swing/table/TableColumnModel.java: Likewise.
  18691. 2006-04-24 Robert Schuster <robertschuster@fsfe.org>
  18692. * javax/swing/text/Utilities.java:
  18693. (getBreakLocation): Introduced shift variable, added notes.
  18694. * javax/swing/text/WrappedPlainView.java:
  18695. (calculateBreakPosition): Decrease allocation area bounds by insets,
  18696. added early return when allocation area is empty, provide start offset
  18697. as argument.
  18698. (WrappedPlainView.WrappedLine): Change default value for numLines to 1.
  18699. (WrappedPlainView.WrappedLine.paint): Added count variable, update
  18700. numLines after loop.
  18701. (WrappedPlainView.WrappedLine.determineNumLines): Added early return.
  18702. (WrappedPlainView.WrappedLine.getPreferredSpan): Removed if-statement.
  18703. (WrappedPlainView.WrappedLine.viewToModel): Changed note, removed
  18704. decreasing variable end by one, changed break condition in while-loop,
  18705. added check for return value.
  18706. (WrappedPlainView.WrappedLine.updateDamage): Set numLines to one if
  18707. allocation area is empty.
  18708. 2006-04-24 Sven de Marothy <sven@physto.se>
  18709. * gnu/java/awt/java2d/Segment.java: New file.
  18710. * gnu/java/awt/java2d/CubicSegment.java: New file.
  18711. * gnu/java/awt/java2d/QuadSegment.java: New file.
  18712. * gnu/java/awt/java2d/LineSegment.java: New file.
  18713. * java/awt/BasicStroke.java
  18714. (start): New field.
  18715. (end): New field.
  18716. (createStrokedShape): Implemented.
  18717. (solidStroke): New method.
  18718. (dashedStroke): New method.
  18719. (capEnds): New method.
  18720. (convertPath): New method.
  18721. (addSegments): New method.
  18722. (capEnd): New method.
  18723. (lineIntersection): New method.
  18724. (joinSegments): New method.
  18725. 2006-04-24 Roman Kennke <kennke@aicas.com>
  18726. * gnu/java/awt/java2d/AbstractGraphics2D.java: Made implements
  18727. Cloneable.
  18728. (font): New field.
  18729. (clip): Changed clip to be in user space not in target space.
  18730. (isOptimized): Added flag to allow optimized drawing for
  18731. primitive operations (e.g. for Swing).
  18732. (AbstractGraphics2D()): Set foreground in init() to avoid trouble
  18733. with the paint context etc.
  18734. (draw): Clip the shape before drawing it.
  18735. (fill): Clip the shape before drawing it.
  18736. (setComposite): Update isOptimized flag.
  18737. (setPaint): Likewise.
  18738. (setStroke): Likewise.
  18739. (translate): Update the clip.
  18740. (rotate): Likewise.
  18741. (scale): Likewise.
  18742. (shear): Likewise.
  18743. (transform): Likewise.
  18744. (setTransform): Likewise.
  18745. (clip): Added optimization for rectangle clips.
  18746. (create): Implemented.
  18747. (clone): New method.
  18748. (setFont): Basic implementation.
  18749. (setClip): Update opimization flag.
  18750. (drawLine): Added possible optimization.
  18751. (fillRect): Added possible optimization.
  18752. (fillShape): Implemented shape-filling by filling the flattended
  18753. shape using polygon fill.
  18754. (drawPixel): Added basic painting.
  18755. (rawSetPixel): Changed signature to only take coordinates.
  18756. (rawSetForeground): New abstract method.
  18757. (getUserBounds): Implemented default for this method.
  18758. (rawDrawLine): New method.
  18759. (rawFillRect): New method.
  18760. (rawFillPolygon): New method.
  18761. (init): New method.
  18762. (updateOptimization): New method.
  18763. (computeIntersection): New method.
  18764. (updateClip): New method.
  18765. (clipShape): New method.
  18766. 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
  18767. * java/lang/Package.java: Added compatibility constructor to ease
  18768. VM interface migration.
  18769. 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
  18770. * java/lang/Class.java (getEnumConstants): Implemented without
  18771. delegating to VMClass.
  18772. * vm/reference/java/lang/VMClass.java (getEnumConstants): Removed.
  18773. 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
  18774. * java/lang/ClassLoader.java (definePackage): Added argument to
  18775. Package constructor.
  18776. * java/lang/Package.java (Package): Added ClassLoader argument.
  18777. (loader): New field.
  18778. (getDeclaredAnnotations): Implemented without help from VMPackage.
  18779. * vm/reference/java/lang/VMClassLoader.java (static): Added argument
  18780. to Package constructor.
  18781. * vm/reference/java/lang/VMPackage.java: Removed.
  18782. 2006-04-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  18783. * examples/gnu/classpath/examples/swing/TreeDemo.java:
  18784. (createContent): Added check box to swith between single and
  18785. multiple selection.
  18786. * javax/swing/JTree.java (leadSelectionPath): Removed.
  18787. (addSelectionInterval): Explained. (getLeadSelectionPath):
  18788. Request the path from model. (getPathsBetweenRows): Explained.
  18789. (setLeadSelectionPath): Set the path in model.
  18790. * javax/swing/plaf/basic/BasicTreeUI.java
  18791. (TreeIncrementAction.actionPerformed, isMultiSelectionEvent,
  18792. isToggleSelectionEvent, selectPath, selectPathForEvent): Rewritten.
  18793. (MouseHandler.mousePressed): Call selectPathForEvent.
  18794. 2006-04-23 Roman Kennke <kennke@aicas.com>
  18795. * gnu/java/awt/java2d/AbstractGraphics2D.java: New file.
  18796. 2006-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
  18797. * NEWS:
  18798. Mention changes to VMProcess and VMSystem.
  18799. * doc/vmintegration.texinfo:
  18800. Change documentation on VMProcess and VMSystem.
  18801. * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
  18802. * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
  18803. * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
  18804. * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
  18805. * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
  18806. * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
  18807. * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
  18808. * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
  18809. * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
  18810. * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
  18811. * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
  18812. * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
  18813. * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
  18814. * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
  18815. * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
  18816. * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
  18817. * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
  18818. * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
  18819. * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
  18820. * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
  18821. * include/gnu_java_awt_peer_gtk_GtkImage.h,
  18822. * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
  18823. * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
  18824. * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
  18825. * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
  18826. * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
  18827. * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
  18828. * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
  18829. * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
  18830. * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
  18831. * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
  18832. * include/gnu_java_awt_peer_gtk_GtkSelection.h,
  18833. * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
  18834. * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
  18835. * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
  18836. * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
  18837. * include/gnu_java_awt_peer_qt_MainQtThread.h,
  18838. * include/gnu_java_awt_peer_qt_QMatrix.h,
  18839. * include/gnu_java_awt_peer_qt_QPainterPath.h,
  18840. * include/gnu_java_awt_peer_qt_QPen.h,
  18841. * include/gnu_java_awt_peer_qt_QtAudioClip.h,
  18842. * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
  18843. * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
  18844. * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
  18845. * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
  18846. * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
  18847. * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
  18848. * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
  18849. * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
  18850. * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
  18851. * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
  18852. * include/gnu_java_awt_peer_qt_QtFontPeer.h,
  18853. * include/gnu_java_awt_peer_qt_QtFramePeer.h,
  18854. * include/gnu_java_awt_peer_qt_QtGraphics.h,
  18855. * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
  18856. * include/gnu_java_awt_peer_qt_QtImage.h,
  18857. * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
  18858. * include/gnu_java_awt_peer_qt_QtListPeer.h,
  18859. * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
  18860. * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
  18861. * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
  18862. * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
  18863. * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
  18864. * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
  18865. * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
  18866. * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
  18867. * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
  18868. * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
  18869. * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
  18870. * include/gnu_java_awt_peer_qt_QtToolkit.h,
  18871. * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
  18872. * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
  18873. * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
  18874. * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
  18875. * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
  18876. * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
  18877. * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
  18878. * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
  18879. * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
  18880. * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
  18881. * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
  18882. * include/gnu_xml_libxmlj_dom_GnomeElement.h,
  18883. * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
  18884. * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
  18885. * include/gnu_xml_libxmlj_dom_GnomeNode.h,
  18886. * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
  18887. * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
  18888. * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
  18889. * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
  18890. * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
  18891. * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
  18892. * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
  18893. * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
  18894. * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
  18895. * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
  18896. * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
  18897. * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
  18898. * include/java_lang_VMProcess.h,
  18899. * include/java_lang_VMSystem.h:
  18900. Regenerated with GCJ 4.1.
  18901. 2006-04-22 Casey Marshall <csm@gnu.org>
  18902. Fixes PR classpath/27228.
  18903. * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java
  18904. (initialize): also accept `DHParameterSpec.'
  18905. * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java (setup):
  18906. handle a passed-in `DHParameterSpec' properly.
  18907. (generate): don't check if the random exponent is less than `q -
  18908. 1' if no `q' was specified.
  18909. 2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  18910. * javax/swing/JTree.java (TreeSelectionRedirector.valueChanged):
  18911. Only repaint the patches, speficied in the passed event.
  18912. (expandPath): Do nothing if the path is already expanded.
  18913. (scrollPathToVisible): Only scroll to visible, do nothing else.
  18914. * javax/swing/plaf/basic/BasicTreeUI.java
  18915. (TreeExpansionHandler.treeColapsed): Revalidate and repaint.
  18916. (TreeExpansionHandler.treeExpanded): Revalidate and repaint.
  18917. (TreeTraverseAction.actionPerformed): Collapse the node on the
  18918. action "selectParent". (selectPath): Rewritten.
  18919. * javax/swing/tree/DefaultTreeSelectionModel.java (clearSelection):
  18920. Fire change event. (notifyPathChange): Implemented. (setSelectionPath):
  18921. Do not reuse selection array.
  18922. * javax/swing/tree/FixedHeightLayoutCache.java (getRowForPath):
  18923. Accept null.
  18924. * javax/swing/tree/VariableHeightLayoutCache.java (getRowForPath):
  18925. Accept null.
  18926. 2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  18927. * javax/swing/tree/DefaultTreeSelectionModel.java
  18928. (addSelectionPath): If the path cannot be added, set it.
  18929. (addSelectionPaths): Call insureRowContinuity.
  18930. (arePathsContiguous): Implemented.
  18931. (canPathBeAdded): New private method.
  18932. (canPathsBeAdded): Implemented.
  18933. (canPathsBeRemoved): Implemented.
  18934. (getPath): New private method.
  18935. (insureRowContinuity): Implemented.
  18936. (removeSelectionPath): Call insureRowContinuity.
  18937. (removeSelectionPaths): Call insureRowContinuity.
  18938. (resetRowSelection): Removed stub marking, not used in implementation
  18939. (nothing to do there).
  18940. (selectOne): New private method.
  18941. (setSelectionMode) Call insureRowContinuity.
  18942. (setSelectionPaths) Remove the current selection by clearing it.
  18943. 2006-04-22 Carsten Neumann <cn-develop@gmx.net>
  18944. * javax/sql/Array.java: Fixed eclipse API doc warnings, named method
  18945. parameters consistendly, documented some methods.
  18946. * java/sql/Blob.java: Likewise.
  18947. * java/sql/CallableStatement.java: Likewise.
  18948. * java/sql/Clob.java: Likewise.
  18949. * java/sql/Connection.java: Likewise.
  18950. * java/sql/DatabaseMetaData.java: Likewise.
  18951. * java/sql/Date.java: Likewise.
  18952. * java/sql/Driver.java: Likewise.
  18953. * java/sql/PreparedStatement.java: Likewise.
  18954. * java/sql/ResultSet.java: Likewise.
  18955. * java/sql/ResultSetMetaData.java: Likewise.
  18956. * java/sql/SQLData.java: Likewise.
  18957. * java/sql/SQLOutput.java: Likewise.
  18958. * java/sql/SQLWarning.java: Likewise.
  18959. * java/sql/Statement.java: Likewise.
  18960. * java/sql/Time.java: Likewise.
  18961. * java/sql/Timestamp.java: Likewise.
  18962. 2006-04-21 Jeroen Frijters <jeroen@frijters.net>
  18963. * java/lang/reflect/AccessibleObject.java:
  18964. Implemented AnnotatedElement.
  18965. (getAnnotation, getAnnotations, getDeclaredAnnotations,
  18966. isAnnotationPresent): New methods.
  18967. 2006-04-21 Tom Tromey <tromey@redhat.com>
  18968. PR classpath/27163:
  18969. * gnu/java/net/protocol/ftp/FTPConnection.java
  18970. (changeWorkingDirectory): Do nothing if path is empty.
  18971. 2006-04-21 Tom Tromey <tromey@redhat.com>
  18972. PR libgcj/27231:
  18973. * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Handle
  18974. case where no '/' appears in 'location'.
  18975. 2006-04-21 Tom Tromey <tromey@redhat.com>
  18976. * java/security/Security.java (<clinit>): Add all default providers.
  18977. * resource/java/security/classpath.security: Added comment.
  18978. 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
  18979. * javax/swing/SpinnerDateModel.java: Updated API docs all over,
  18980. * javax/swing/SpinnerNumberModel.java: Likewise.
  18981. 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
  18982. * javax/swing/SpinnerDateModel.java
  18983. (SpinnerDateModel(Date, Comparable, Comparable, int)): Fix argument
  18984. checking to call compareTo() on start and end.
  18985. 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
  18986. * javax/swing/border/AbstractBorder.java: API doc updates,
  18987. * javax/swing/border/BevelBorder.java: Likewise,
  18988. * javax/swing/border/CompoundBorder.java: Likewise,
  18989. * javax/swing/border/EtchedBorder.java: Likewise,
  18990. * javax/swing/border/LineBorder.java: Likewise,
  18991. * javax/swing/border/MatteBorder.java: Likewise,
  18992. * javax/swing/border/TitledBorder.java: Likewise.
  18993. 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
  18994. * gnu/javax/crypto/cipher/Anubis.java:
  18995. (selfTest): Use Boolean.valueOf() to avoid creating a new Boolean
  18996. instance,
  18997. * gnu/javax/crypto/cipher/Blowfish.java:
  18998. (selfTest): Likewise,
  18999. * gnu/javax/crypto/cipher/Cast5.java:
  19000. (selfTest): Likewise,
  19001. * gnu/javax/crypto/cipher/Khazad.java:
  19002. (selfTest): Likewise,
  19003. * gnu/javax/crypto/cipher/Rijndael.java:
  19004. (selfTest): Likewise,
  19005. * gnu/javax/crypto/cipher/Serpent.java:
  19006. (selfTest): Likewise,
  19007. * gnu/javax/crypto/cipher/Square.java:
  19008. (selfTest): Likewise,
  19009. * gnu/javax/crypto/cipher/Twofish.java:
  19010. (selfTest): Likewise,
  19011. * gnu/javax/crypto/mac/UMac32.java:
  19012. (selfTest): Likewise,
  19013. * gnu/javax/crypto/prng/CSPRNG.java:
  19014. (getSystemInstance): Likewise.
  19015. 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
  19016. * gnu/java/security/hash/Haval.java:
  19017. (selfTest): Use Boolean.valueOf() to avoid creating new Boolean
  19018. instance,
  19019. * gnu/java/security/hash/MD2.java:
  19020. (selfTest): Likewise,
  19021. * gnu/java/security/hash/MD4.java:
  19022. (selfTest): Likewise,
  19023. * gnu/java/security/hash/MD5.java:
  19024. (selfTest): Likewise,
  19025. * gnu/java/security/hash/RipeMD128.java:
  19026. (selfTest): Likewise,
  19027. * gnu/java/security/hash/RipeMD160.java:
  19028. (selfTest): Likewise,
  19029. * gnu/java/security/hash/Sha160.java:
  19030. (selfTest): Likewise,
  19031. * gnu/java/security/hash/Sha256.java:
  19032. (selfTest): Likewise,
  19033. * gnu/java/security/hash/Sha384.java:
  19034. (selfTest): Likewise,
  19035. * gnu/java/security/hash/Sha512.java:
  19036. (selfTest): Likewise,
  19037. * gnu/java/security/hash/Tiger.java:
  19038. (selfTest): Likewise,
  19039. * gnu/java/security/hash/Whirlpool.java:
  19040. (selfTest): Likewise.
  19041. 2006-04-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  19042. * javax/swing/plaf/basic/BasicTreeUI.java
  19043. (PropertyChangeHandler.propertyChange): Set the row mapper
  19044. for the selection model.
  19045. * javax/swing/tree/AbstractLayoutCache.java
  19046. (NodeDimensions.getNodeDimensions): Explained.
  19047. (getPreferredHeight, getPreferredWidth, isFixedRowHeight):
  19048. Implemented. (setRowHeight): Invalidate sizes.
  19049. * javax/swing/tree/DefaultTreeSelectionModel.java
  19050. (addSelectionPath, addSelectionPaths): Update lead row.
  19051. (removeSelectionPath, removeSelectionPaths): Do nothing if
  19052. selection is empty.
  19053. (clone): Only clone list selection model if it is not null.
  19054. (getRow): New method. (isRowSelected, getLeadSelectionRow,
  19055. setSelectionPath, setSelectionPaths, toString): Implemented.
  19056. * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getBounds):
  19057. Pass the empty rectangle. (isFixedRowHeight): New method.
  19058. * javax/swing/tree/VariableHeightLayoutCache.java
  19059. (NodeRecord.getBounds): Pass the empty rectangle.
  19060. 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
  19061. * gnu/java/security/Properties.java
  19062. (init): Use Boolean.valueOf() to avoid creating new Boolean instances.
  19063. 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
  19064. * gnu/classpath/jdwp/util/Value.java
  19065. (getUntaggedObj(ByteBuffer, Class)): Use Boolean.valueOf() to avoid
  19066. creating new Boolean instances.
  19067. 2006-04-20 Mark Wielaard <mark@klomp.org>
  19068. * java/awt/Toolkit.java (getDefaultToolkit): Get classloader in
  19069. PrivilegedAction. Access awt.toolkit through SystemProperties.
  19070. 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
  19071. * javax/swing/ActionMap.java: Removed unused imports,
  19072. * javax/swing/DefaultListSelectionModel.java
  19073. (clearSelection): Removed unused label,
  19074. * javax/swing/JScrollPane.java: Removed unused imports,
  19075. * javax/swing/UIManager.java: Likewise,
  19076. * javax/swing/table/DefaultTableCellRenderer.java: Likewise.
  19077. 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
  19078. * javax/swing/plaf/basic/BasicSpinnerUI.java: Removed unused imports,
  19079. * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise,
  19080. * javax/swing/plaf/basic/BasicTextFieldUI.java: Likewise,
  19081. * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
  19082. * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
  19083. 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
  19084. * java/sql/Array.java: Fixed Eclipse API doc warnings,
  19085. * java/sql/Blob.java: Likewise,
  19086. * java/sql/CallableStatement.java: Likewise,
  19087. * java/sql/Clob.java: Likewise,
  19088. * java/sql/Connection.java: Likewise,
  19089. * java/sql/DatabaseMetaData.java: Likewise,
  19090. * java/sql/Date.java: Likewise,
  19091. * java/sql/Driver.java: Likewise,
  19092. * java/sql/PreparedStatement.java: Likewise,
  19093. * java/sql/ResultSet.java: Likewise,
  19094. * java/sql/ResultSetMetaData.java: Likewise,
  19095. * java/sql/SQLData.java: Likewise,
  19096. * java/sql/SQLOutput.java: Likewise,
  19097. * java/sql/SQLWarning.java: Likewise,
  19098. * java/sql/Statement.java: Likewise,
  19099. * java/sql/Time.java: Likewise,
  19100. * java/sql/Timestamp.java: Likewise.
  19101. 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
  19102. * java/sql/DriverManager.java
  19103. (setLoginTimeout): Use incoming argument,
  19104. (setLogStream): Likewise,
  19105. (println): Fix API doc comment.
  19106. 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
  19107. * javax/swing/JMenuItem.java
  19108. (paramString): Updated API docs,
  19109. (getAccessibleContext): Added API docs,
  19110. (AccessibleJMenuItem.stateChanged): Marked as stub,
  19111. (AccessibleJMenuItem.getAccessibleRole): Added API docs,
  19112. * javax/swing/JSlider.java
  19113. (paramString): Fix for API docs,
  19114. * javax/swing/JToolTip.java
  19115. (getAccessibleContext): Fix for API docs.
  19116. 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
  19117. * javax/swing/JRadioButtonMenuItem.java
  19118. (paramString): Reimplemented,
  19119. (getAccessibleContext): API docs added,
  19120. (AccessibleJRadioButtonMenuItem.AccessibleJRadioButtonMenuItem()):
  19121. Likewise,
  19122. (AccessibleJRadioButtonMenuItem.getAccessibleRole): Likewise.
  19123. 2006-04-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  19124. * javax/swing/plaf/basic/BasicTreeUI.java
  19125. (finish): Invalidate path bounds.
  19126. (getMaxHeight): Set the row height to the layout cache.
  19127. (startEditing): Do not request to recalculated
  19128. row height and preferred size.
  19129. * javax/swing/tree/DefaultTreeCellEditor.java
  19130. (ICON_TEXT_GAP, ICON_TREE_GAP): Removed, replacing
  19131. with 0.
  19132. * javax/swing/tree/FixedHeightLayoutCache.java:
  19133. Rewritten.
  19134. 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
  19135. * javax/swing/JDesktopPane.java
  19136. (paramString): Reimplemented,
  19137. plus API doc updates in AccessibleJDesktopPane.
  19138. 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
  19139. * javax/swing/ImageIcon.java:
  19140. (AccessibleImageIcon.getAccessibleStateSet): Return null always,
  19141. (AccessibleImageIcon.getLocale): Declared exception and always return
  19142. null,
  19143. (getAccessibleContext): Updated API docs,
  19144. plus updated API docs all over AccessibleImageIcon.
  19145. 2006-04-20 Roman Kennke <kennke@aicas.com>
  19146. PR 27196
  19147. * javax/swing/plaf/basic/BasicTabbedPaneUI.java
  19148. (paintText): Fetch the ascent only once. Add the ascent to
  19149. the text rect also when tabs are disabled.
  19150. 2006-04-20 Christian Thalinger <twisti@complang.tuwien.ac.at>
  19151. * java/util/Locale.java (defaultLocale): Set to en_US per
  19152. default and use user.country but prioritize user.region if
  19153. defined.
  19154. (getLocale(String language, String country)): Renamed region to
  19155. country.
  19156. (getLocale(String language, String region, String variant)):
  19157. Likewise.
  19158. (getAvailableLocales): Likewise.
  19159. 2006-04-20 Roman Kennke <kennke@aicas.com>
  19160. PR 27222
  19161. * javax/swing/JList.java
  19162. (JList()): Call init() with DefaultListModel instance.
  19163. (JList(Object[])): Call init() with null.
  19164. (JList(Vector)): Call init() with null.
  19165. (JList(ListModel)): Call init() with model.
  19166. (init): Changed to take the model as argument. Don't call
  19167. setter methods and initialize stuff directly instead.
  19168. (getCellBounds): Check if UI is null.
  19169. 2006-04-20 Robert Schuster <robertschuster@fsfe.org>
  19170. * javax/swing/text/WrappedPlainView.java: Initialize
  19171. WrappedLine.numLines with -1.
  19172. (WrappedPlainView.WrappedLine.getPreferredSpan): Check whether
  19173. numLines is -1 and reculcalate the value appropriately.
  19174. (WrappedPlainView.WrappedLine.updateDamage): Set numLines to -1 if
  19175. allocation area is empty.
  19176. 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
  19177. * javax/swing/JTabbedPane.java
  19178. (AccessibleJTabbedPane.stateChanged): Marked as stub,
  19179. (AccessibleJTabbedPane.getAccessibleRole): Likewise,
  19180. (AccessibleJTabbedPane.getAccessibleChildrenCount): Likewise,
  19181. (AccessibleJTabbedPane.getAccessibleSelection): Likewise,
  19182. (AccessibleJTabbedPane.getAccessibleAt): Likewise,
  19183. (AccessibleJTabbedPane.getAccessibleSelectionCount): Likewise,
  19184. (AccessibleJTabbedPane.getAccessibleSelection(int)): Likewise,
  19185. (AccessibleJTabbedPane.isAccessibleChildSelected): Likewise,
  19186. (AccessibleJTabbedPane.addAccessibleSelection): Likewise,
  19187. (AccessibleJTabbedPane.removeAccessibleSelection): Likewise,
  19188. (AccessibleJTabbedPane.clearAccessibleSelection): Likewise,
  19189. (AccessibleJTabbedPane.selectAllAccessibleSelection): Likewise,
  19190. (Page.getAccessibleStateSet): Likewise,
  19191. (Page.getAccessibleIndexInParent): Likewise.
  19192. 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
  19193. * javax/swing/JProgressBar.java
  19194. (paramString): Reimplemented.
  19195. 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
  19196. * javax/swing/JButton.java: Updated API docs all over.
  19197. 2006-04-19 Roman Kennke <kennke@aicas.com>
  19198. * java/awt/Toolkit.java
  19199. (getDefaultToolkit): Use system classloader to load the
  19200. toolkit.
  19201. 2006-04-19 Robert Schuster <robertschuster@fsfe.org>
  19202. * javax/swing/text/DefaultCaret.java:
  19203. (DefaultCaret.Bypass.setDot): Call DefaultCaret.setDotImpl
  19204. instead of DefaultCaret.setDot.
  19205. 2006-04-19 Roman Kennke <kennke@aicas.com>
  19206. * native/jni/java-net/local.c
  19207. (local_read): Handle EINTR correctly.
  19208. (local_write): Likewise.
  19209. 2006-04-19 Riccardo Mottola <multix@gmail.com>
  19210. PR classpath/27062, PR classpath/25650:
  19211. * native/fdlibm/ieeefp.h: Check for _POWER and _IBMR2.
  19212. 2006-04-19 Tom Tromey <tromey@redhat.com>
  19213. * java/text/SimpleDateFormat.java (formatWithAttribute): Take absolute
  19214. value of 'pureMinutes'. PR classpath/27189.
  19215. 2006-04-19 Olivier Jolly <olivier.jolly@pcedev.com>
  19216. * vm/reference/java/lang/VMClassLoader.java (getBootPackages): Loads
  19217. boot packages list from the META-INF/INDEX.LIST file if it exists.
  19218. 2006-04-19 Raif S. Naffah <raif@swiftdsl.com.au>
  19219. Suggested by Stephen White <stephen-gnu-crypto@randomstuff.org.uk>
  19220. * gnu/javax/crypto/prng/IPBE.java: Updated documentation.
  19221. (ITERATION_COUNT): Removed modifiers.
  19222. (PASSWORD): Likewise.
  19223. (SALT): Likewise.
  19224. (PASSWORD_ENCODING): New property.
  19225. (DEFAULT_PASSWORD_ENCODING): New constant.
  19226. * gnu/javax/crypto/prng/PBKDF2.java (setup): Check for MAC's raw key
  19227. material (bytes) before a password (chars).
  19228. 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
  19229. * javax/swing/JMenu.java
  19230. (getAccessibleChildrenCount): Marked as stub,
  19231. (getAccessibleChild): Likewise,
  19232. (getAccessibleSelection): Likewise,
  19233. (getAccessibleSelection(int)): Likewise,
  19234. (isAccessibleChildSelected): Likewise,
  19235. (getAccessibleSelectionCount): Likewise,
  19236. (addAccessibleSelection): Likewise,
  19237. (removeAccessibleSelection): Likewise,
  19238. (clearAccessibleSelection): Likewise,
  19239. (selectAllAccessibleSelection): Likewise.
  19240. 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
  19241. * javax/swing/JSplitPane.java
  19242. (getAccessibleContext): Added API docs,
  19243. (paramString): Reimplemented,
  19244. (setOrientation): Updated API docs,
  19245. (setResizeWeight): Added argument checking and event notification.
  19246. 2006-04-18 Casey Marshall <csm@gnu.org>
  19247. Fixes PR classpath/25673
  19248. * java/security/KeyStore.java (getDefaultType): return "gkr" if no
  19249. property is set. Update JavaDoc to reflect this.
  19250. 2006-04-18 Lillian Angel <langel@redhat.com>
  19251. * gnu/xml/dom/DomDocument.java
  19252. (setCheckingCharacters): New function used to set
  19253. checkingCharacters flag.
  19254. * gnu/xml/dom/html2/DomHTMLParser.java
  19255. (parseDocument): Added call to set checkingCharacters flag
  19256. to false.
  19257. 2006-04-18 Lillian Angel <langel@redhat.com>
  19258. * gnu/xml/dom/DomDocument.java
  19259. (checkNCName): Reverted last patch. Added check for colon at
  19260. last position back in.
  19261. 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
  19262. * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
  19263. New file.
  19264. * examples/gnu/classpath/examples/swing/Demo.java:
  19265. (mkMenuBar): Added NavigationFilter demo.
  19266. 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
  19267. * javax/swing/JSeparator.java: Updated API docs all over, plus
  19268. (setOrientation): Fire PropertyChangeEvent,
  19269. (paramString): Reimplemented.
  19270. 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
  19271. * javax/swing/plaf/basic/BasicTextUI.java:
  19272. (getNextVisualPositionFrom): Implemented.
  19273. 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
  19274. * javax/swing/JPanel.java: Updated API docs all over, plus
  19275. (JPanel(LayoutManager, boolean)): Pass on null layout, set
  19276. double-buffer flag.
  19277. 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
  19278. * examples/gnu/classpath/examples/swing/DocumentFilterDemo.java:
  19279. New file.
  19280. * examples/gnu/classpath/examples/swing/Demo.java:
  19281. (mkMenuBar): Added DocumenFilter demo.
  19282. 2006-04-18 Tom Tromey <tromey@redhat.com>
  19283. * doc/www.gnu.org/include/layout.wml: Add FMJ.
  19284. 2006-04-18 Mark Wielaard <mark@klomp.org>
  19285. Reported by John Sullivan (johns@fsf.org)
  19286. * doc/www.gnu.org/stories.wml: Update JikesRVM location.
  19287. 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
  19288. * javax/swing/JInternalFrame.java
  19289. (JDesktopIcon.getAccessibleContext): Added API docs,
  19290. (getDefaultCloseOperation): Likewise,
  19291. (paramString): Added 'title' attribute,
  19292. (setDefaultCloseOperation): Added API docs.
  19293. 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
  19294. * javax/swing/JSlider.java
  19295. (paramString): Reimplemented.
  19296. 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
  19297. * javax/swing/JComboBox.java
  19298. (paramString): Reimplemented,
  19299. (getAccessibleContext): Added API docs,
  19300. (AccessibleJComboBox.getAccessibleRole): Likewise.
  19301. 2006-04-18 Roman Kennke <kennke@aicas.com>
  19302. * javax/swing/RepaintManager.java
  19303. (dirtyComponentsWork): New field.
  19304. (ComponentComparator): Use dirtyComponentsWork instead of
  19305. dirtyComponents.
  19306. (RepaintManager): Initialize new field.
  19307. (paintDirtyRegions): Swap dirtyComponents with dirtyComponentsWork
  19308. and work on the copy.
  19309. 2006-04-18 Roman Kennke <kennke@aicas.com>
  19310. * gnu/java/awt/peer/swing/SwingComponentPeer.java
  19311. (setBounds): Call reshape().
  19312. * gnu/java/awt/peer/swing/SwingContainerPeer.java
  19313. (SwingContainerPeer): Changed argument to be a Component
  19314. instead a Container.
  19315. (getInsets): Call insets().
  19316. (handleMouseEvent): Added null check to avoid NPE.
  19317. (handleMouseMotionEvent): Added null check to avoid NPE.
  19318. 2006-04-18 Roman Kennke <kennke@aicas.com>
  19319. PR 27185
  19320. * javax/swing/JComponent.java
  19321. (paintChildrenWithOverlap): When one child is not opaque, propagate
  19322. the dirty rectangles to the next child.
  19323. (paintChildrenOptimized): Removed unnecessary 'optimization'.
  19324. This actually didn't work right and probably gained nothing.
  19325. 2006-04-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  19326. * javax/swing/JTable.java (getCallRect): Do not cache rectangles.
  19327. (moveToCellBeingEdited): Do not clone the rectangle here.
  19328. 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
  19329. * javax/swing/plaf/basic/BasicSliderUI.java
  19330. (getActionMap): Fixed lookup key,
  19331. (createActionMap): Modified actions to fetch slider/ui from the event
  19332. source.
  19333. 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
  19334. * java/lang/Enum.java: Documented.
  19335. 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
  19336. * gnu/java/lang/InstrumentationImpl.java:
  19337. Moved from java.lang.
  19338. * java/lang/InstrumentationImpl.java:
  19339. Removed.
  19340. * vm/reference/gnu/java/lang/VMInstrumentationImpl.java:
  19341. Moved from java.lang.
  19342. * vm/reference/java/lang/VMClassLoader.java:
  19343. Corrected reference to InstrumentationImpl.
  19344. * vm/reference/java/lang/VMInstrumentationImpl.java:
  19345. Removed.
  19346. 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
  19347. * java/lang/annotation/Annotation.java:
  19348. Documented.
  19349. 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
  19350. * javax/swing/JToolBar.java
  19351. (AccessibleJToolBar.AccessibleJToolBar()): Updated API docs,
  19352. (AccessibleJToolBar.getAccessibleStateSet): Implemented,
  19353. (AccessibleJToolBar.getAccessibleRole): Updated API docs,
  19354. (getAccessibleContext): Likewise.
  19355. 2006-04-17 Dalibor Topic <robilad@kaffe.org>
  19356. * configure.ac:
  19357. Added CLASSPATH_CONVENIENCE substitution for convenience library LDFLAGS.
  19358. * native/fdlibm/Makefile.am,
  19359. native/jni/classpath/Makefile.am:
  19360. Don't use -module and -version-info for convenience libraries LDFLAGS.
  19361. Fixes libtool warnings.
  19362. 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
  19363. * javax/swing/plaf/basic/BasicComboBoxUI.java:
  19364. (installKeyboardActions): Marked as stub,
  19365. (uninstallKeyboardActions): Likewise,
  19366. * javax/swing/plaf/basic/BasicComboPopup.java:
  19367. (installKeyboardActions): Marked as stub,
  19368. (uninstallKeyboardActions): Likewise,
  19369. * javax/swing/plaf/basic/BasicInternalFrameUI.java:
  19370. (installKeyboardActions): Marked as stub,
  19371. (uninstallKeyboardActions): Likewise,
  19372. * javax/swing/plaf/basic/BasicLabelUI.java:
  19373. (installKeyboardActions): Marked as stub,
  19374. (uninstallKeyboardActions): Likewise,
  19375. * javax/swing/plaf/basic/BasicListUI.java:
  19376. (installKeyboardActions): Marked as stub,
  19377. (uninstallKeyboardActions): Likewise,
  19378. * javax/swing/plaf/basic/BasicMenuBarUI.java:
  19379. (installKeyboardActions): Marked as stub,
  19380. (uninstallKeyboardActions): Likewise,
  19381. * javax/swing/plaf/basic/BasicMenuUI.java:
  19382. (installKeyboardActions): Marked as stub,
  19383. (uninstallKeyboardActions): Likewise,
  19384. * javax/swing/plaf/basic/BasicOptionPaneUI.java:
  19385. (installKeyboardActions): Marked as stub,
  19386. (uninstallKeyboardActions): Likewise,
  19387. * javax/swing/plaf/basic/BasicPopupMenuUI.java:
  19388. (installKeyboardActions): Marked as stub,
  19389. (uninstallKeyboardActions): Likewise,
  19390. * javax/swing/plaf/basic/BasicScrollBarUI.java:
  19391. (installKeyboardActions): Marked as stub,
  19392. (uninstallKeyboardActions): Likewise,
  19393. * javax/swing/plaf/basic/BasicScrollPaneUI.java:
  19394. (installKeyboardActions): Marked as stub,
  19395. (uninstallKeyboardActions): Likewise,
  19396. * javax/swing/plaf/basic/BasicSplitPaneUI.java:
  19397. (installKeyboardActions): Marked as stub,
  19398. (uninstallKeyboardActions): Likewise,
  19399. * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
  19400. (installKeyboardActions): Marked as stub,
  19401. (uninstallKeyboardActions): Likewise,
  19402. * javax/swing/plaf/basic/BasicTableHeaderUI.java:
  19403. (installKeyboardActions): Marked as stub,
  19404. (uninstallKeyboardActions): Likewise,
  19405. * javax/swing/plaf/basic/BasicTableUI.java:
  19406. (installKeyboardActions): Marked as stub,
  19407. (uninstallKeyboardActions): Likewise,
  19408. * javax/swing/plaf/basic/BasicTextUI.java:
  19409. (installKeyboardActions): Marked as stub,
  19410. (uninstallKeyboardActions): Likewise,
  19411. * javax/swing/plaf/basic/BasicToolBarUI.java:
  19412. (installKeyboardActions): Marked as stub,
  19413. (uninstallKeyboardActions): Likewise.
  19414. 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
  19415. * javax/swing/plaf/basic/BasicSliderUI.java
  19416. (installKeyboardActions): Implemented,
  19417. (uninstallKeyboardActions): Implemented,
  19418. (scrollByBlock): Accept any value for direction,
  19419. (scrollByUnit): Likewise,
  19420. (getInputMap): New method,
  19421. (getActionMap): New method,
  19422. (createActionMap): New method.
  19423. 2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
  19424. * doc/vmintegration.texinfo:
  19425. Fix sectioning.
  19426. 2006-04-16 Tom Tromey <tromey@redhat.com>
  19427. * native/jni/java-net/Makefile.am (AM_CFLAGS): Removed --save-temps.
  19428. 2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
  19429. * NEWS:
  19430. Mention generics additions to the VM interface.
  19431. * doc/vmintegration.texinfo:
  19432. Added information on VMClass 1.5 additions and
  19433. VMSecureRandom.
  19434. 2006-04-16 Casey Marshall <csm@gnu.org>
  19435. * NEWS: add an entry mentioning local socket support.
  19436. 2006-04-16 Casey Marshall <csm@gnu.org>
  19437. * configure.ac (--enable-local-sockets): new enable argument.
  19438. (ENABLE_LOCAL_SOCKETS): new define.
  19439. * native/jni/java-net/Makefile.am (local_sources): new variable.
  19440. (lib_javanet_la_SOURCES): append `local_sources.'
  19441. * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c,
  19442. * native/jni/java-net/local.c,
  19443. * native/jni/java-net/local.h,
  19444. * include/gnu_java_net_local_LocalSocketImpl.h,
  19445. * gnu/java/net/local/LocalServerSocket.java,
  19446. * gnu/java/net/local/LocalSocket.java,
  19447. * gnu/java/net/local/LocalSocketAddress.java,
  19448. * gnu/java/net/local/LocalSocketImpl.java: new files.
  19449. 2006-04-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
  19450. * javax/accessibility/AccessibleAction.java:
  19451. (DECREMENT): Added field.
  19452. (INCREMENT): Likewise.
  19453. (TOGGLE_EXPAND): Likewise.
  19454. * javax/accessibility/AccessibleRole.java:
  19455. (EDITBAR): Added field.
  19456. (FOOTER): Likewise.
  19457. (HEADER): Likewise.
  19458. (PARAGRAPH): Likewise.
  19459. (PROGRESS_MONITOR): Likewise.
  19460. (RULER): Likewise.
  19461. * javax/accessibility/AccessibleState.java:
  19462. (INDETERMINATE): Added field.
  19463. (MANAGES_DESCENDANTS): Likewise.
  19464. (TRUNCATED): Likewise.
  19465. 2006-04-14 Tom Tromey <tromey@redhat.com>
  19466. * javax/swing/tree/DefaultTreeSelectionModel.java (getListeners):
  19467. Genericized.
  19468. * javax/swing/tree/AbstractLayoutCache.java (getVisiblePathsFrom):
  19469. Genericized.
  19470. 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
  19471. * javax/swing/text/DefaultCaret.java:
  19472. (getBypass): New method.
  19473. (moveDot): Rewritten.
  19474. (moveDotImpl): New method.
  19475. (setDot): Rewritten.
  19476. (setDotImpl): New method.
  19477. (DefaultCaret.Bypass): New class.
  19478. 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
  19479. * javax/swing/text/AbstractDocument.java:
  19480. (getBypass): New method.
  19481. (insertString): Rewritten.
  19482. (remove): Rewritten.
  19483. (replace): Rewritten.
  19484. (insertStringImpl): New method.
  19485. (removeImpl): New method.
  19486. (replaceImpl): New method.
  19487. (AbstractDocument.Bypass): New class.
  19488. 2006-04-14 Casey Marshall <csm@gnu.org>
  19489. Fixes PR classpath/24642
  19490. * NEWS: add note about SecureRandom changes, and addition of
  19491. VMSecureRandom.
  19492. * java/security/SecureRandom.java (isSeeded): new field.
  19493. (setSeed, setSeed): set `isSeeded' to `true.'
  19494. (nextBytes): seed this instance if `isSeeded' is false.
  19495. (getSeed): call `generateSeed.'
  19496. (SECURERANDOM_SOURCE, JAVA_SECURITY_EGD, logger): new constants.
  19497. (generateSeed, generateSeed): new methods.
  19498. * vm/reference/java/security/VMSecureRandom.java: new file.
  19499. 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
  19500. * javax/swing/text/FieldView.java:
  19501. (paint): Apply clipping rectangle of the allocation area
  19502. before painting the text.
  19503. * javax/swing/text/DefaultHighlighter.java:
  19504. (DefaultHighlighter.DefaultHighlightPainter): Use SwingUtilities to
  19505. compute union and intersection, calculate intersection with allocation
  19506. area before painting, adjust x and width when painting multiple lines
  19507. by the range of the allocation area.
  19508. 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
  19509. * javax/swing/text/DefaultHighlighter.java:
  19510. (paintLayeredHighlights): Marked as stub.
  19511. 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
  19512. * javax/swing/plaf/basic/BasicTextFieldUI.java:
  19513. (propertyChanged): Added note, change color only if current background
  19514. is a ColorUIResource instance.
  19515. 2006-04-14 Tom Tromey <tromey@redhat.com>
  19516. * java/beans/beancontext/BeanContextSupport.java (hasNext): No longer
  19517. a stub.
  19518. (next): Likewise.
  19519. 2006-04-14 Tom Tromey <tromey@redhat.com>
  19520. * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
  19521. 2006-04-14 Mark Wielaard <mark@klomp.org>
  19522. * java/lang/Thread.java (getUncaughtExceptionHandler): Return
  19523. thread group when exceptionHandler isn't set.
  19524. * vm/reference/java/lang/VMThread.java (run): Use result of
  19525. thread.getUncaughtExceptionHandler directly.
  19526. 2006-04-14 David Gilbert <david.gilbert@object-refinery.com>
  19527. * javax/swing/JSplitPane.java
  19528. (AccessibleJSplitPane.getAccessibleStateSet): Implemented,
  19529. (AccessibleJSplitPane.getAccessibleRole): Implemented,
  19530. (AccessibleJSplitPane.getAccessibleValue): Implemented,
  19531. (AccessibleJSplitPane.getCurrentAccessibleValue): Implemented,
  19532. (AccessibleJSplitPane.setCurrentAccessibleValue): Implemented,
  19533. (AccessibleJSplitPane.getMinimumAccessibleValue): Implemented,
  19534. (AccessibleJSplitPane.getMaximumAccessibleValue): Implemented.
  19535. 2006-04-10 Tom Tromey <tromey@redhat.com>
  19536. * javax/imageio/metadata/IIOMetadataFormatImpl.java (addObjectValue):
  19537. Fixed parameter bounds.
  19538. 2006-04-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
  19539. * gnu/javax/crypto/assembly/Assembly.java,
  19540. * gnu/javax/crypto/assembly/Cascade.java,
  19541. * gnu/javax/crypto/assembly/CascadeStage.java,
  19542. * gnu/javax/crypto/assembly/CascadeTransformer.java,
  19543. * gnu/javax/crypto/assembly/Direction.java,
  19544. * gnu/javax/crypto/assembly/LoopbackTransformer.java,
  19545. * gnu/javax/crypto/assembly/ModeStage.java,
  19546. * gnu/javax/crypto/assembly/Operation.java,
  19547. * gnu/javax/crypto/assembly/PaddingTransformer.java,
  19548. * gnu/javax/crypto/assembly/Stage.java,
  19549. * gnu/javax/crypto/assembly/Transformer.java,
  19550. * gnu/javax/crypto/cipher/Square.java,
  19551. * gnu/javax/crypto/jce/cipher/AESSpi.java,
  19552. * gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
  19553. * gnu/javax/crypto/jce/cipher/AnubisSpi.java,
  19554. * gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
  19555. * gnu/javax/crypto/jce/cipher/CipherAdapter.java,
  19556. * gnu/javax/crypto/jce/cipher/DESSpi.java,
  19557. * gnu/javax/crypto/jce/cipher/KhazadSpi.java,
  19558. * gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
  19559. * gnu/javax/crypto/jce/cipher/PBES2.java,
  19560. * gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
  19561. * gnu/javax/crypto/jce/cipher/SerpentSpi.java,
  19562. * gnu/javax/crypto/jce/cipher/SquareSpi.java,
  19563. * gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
  19564. * gnu/javax/crypto/jce/cipher/TwofishSpi.java,
  19565. * gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
  19566. * gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
  19567. * gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
  19568. * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
  19569. * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
  19570. * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
  19571. * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
  19572. * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
  19573. * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
  19574. * gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
  19575. * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
  19576. * gnu/javax/crypto/jce/mac/MacAdapter.java,
  19577. * gnu/javax/crypto/jce/mac/TMMH16Spi.java,
  19578. * gnu/javax/crypto/jce/mac/UHash32Spi.java,
  19579. * gnu/javax/crypto/jce/mac/UMac32Spi.java,
  19580. * gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
  19581. * gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
  19582. * gnu/javax/crypto/keyring/PrivateKeyEntry.java,
  19583. * gnu/javax/crypto/mode/IAuthenticatedMode.java,
  19584. * gnu/javax/crypto/pad/WrongPaddingException.java,
  19585. * gnu/javax/crypto/prng/ICMGenerator.java,
  19586. * gnu/javax/crypto/prng/IPBE.java,
  19587. * gnu/javax/crypto/prng/PBKDF2.java,
  19588. * gnu/javax/crypto/sasl/ConfidentialityException.java,
  19589. * gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
  19590. * gnu/javax/crypto/sasl/srp/IALG.java,
  19591. * gnu/javax/crypto/sasl/srp/SRPServer.java:
  19592. Remove CVS revision tags.
  19593. 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  19594. * javax/swing/plaf/basic/BasicTreeUI.java (getPreferredSize):
  19595. Removed debugging code.
  19596. 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  19597. * javax/swing/JTree.java (getPreferredSize): Return the
  19598. cloned instance.
  19599. * javax/swing/ViewportLayout.java (layoutContainer):
  19600. Do not manage the view size and location if the view is
  19601. in the scroll pane. Also manage size and location for
  19602. Scrollable, if it is not in the scroll pane.
  19603. * javax/swing/plaf/basic/BasicTreeUI.java,
  19604. * javax/swing/tree/FixedHeightLayoutCache.java,
  19605. * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
  19606. * gnu/javax/swing/tree/GnuPath.java: New file.
  19607. 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
  19608. * javax/swing/JToolBar.java
  19609. (AccessibleJToolBar.getAccessibleStateSet): Marked as stub.
  19610. 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
  19611. * examples/gnu/classpath/examples/swing/TextAreaDemo.java:
  19612. (createCustomColoredPanel): Set background color as demo intends,
  19613. changed custom selection color to red.
  19614. * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
  19615. Replaced various single variables with a Compound instance, added
  19616. custom highlighter demo.
  19617. (TextFieldDemo.DemoHighlightPainter): New class (taken from
  19618. TextAreaDemo).
  19619. (TextFieldDemo.Compound): New class.
  19620. (createTextFieldCompound): New method.
  19621. (createLeftAlignedPanel): Rewritten.
  19622. (createRightAlignedPanel): Rewritten.
  19623. (createCenteredPanel): Rewritten.
  19624. (createCustomColoredPanel): Removed.
  19625. (createCustomColoredPanel1): New method.
  19626. (createCustomColoredPanel2): New method.
  19627. (createCustomBordersPanel): New method.
  19628. (createMiscPanel): Rewritten.
  19629. (actionPerformed): Rewritten.
  19630. (createContent): Add panels of new compounds to main panel, put
  19631. main panel in a JScrollPane.
  19632. * examples/gnu/classpath/examples/swing/Demo.java:
  19633. (Demo): Put desktop in a scrollpane.
  19634. (mkMenuBar): Check availability of MetalLookAndFeel.getCurrentTheme()
  19635. method via reflection.
  19636. 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
  19637. * javax/swing/plaf/metal/MetalDesktopIconUI.java
  19638. (createUI): Return new instance rather than shared instance.
  19639. 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
  19640. * javax/swing/text/FieldView.java:
  19641. (checkContainer): Call updateVisibility() at the end.
  19642. 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
  19643. * java/awt/event/MouseEvent.java:
  19644. (paramString): Add value of 'consumed' variable in string.
  19645. 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
  19646. PR 26967
  19647. * javax/swing/JTextField.java: Removed scrollOffset variable.
  19648. (JTextField): Moved up initialization of horizontalVisibility field.
  19649. (getScrollOffset): Implemented.
  19650. (setScrollOffset): Implemented.
  19651. (getHorizonztalVisibility): Removed note.
  19652. (scrollRectToVisible): New method.
  19653. * javax/swing/text/FieldView.java: Added cachedSpan variable.
  19654. (checkContainer): New method.
  19655. (updateVisibility): New method.
  19656. (calculateHorizontalSpan): New method.
  19657. (adjustAllocation): Removed unneeded local variables, added code
  19658. to handle scrolling.
  19659. (getPreferredSpan): Use new method calculateHorizontalSpan,
  19660. avoid calculation by returning cached value cachedSpan.
  19661. (paint): Added check whether the hosted component is a JTextField.
  19662. (insertUpdate): Invalidate cached span value, update visibility
  19663. if neccessary.
  19664. (removeUpdate): Dito.
  19665. (changeUpdate): Dito.
  19666. 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
  19667. * javax/swing/JInternalFrame.java
  19668. (setTitle): Set old value to 'this.title', not 'title'.
  19669. 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
  19670. * javax/swing/JInternalFrame.java
  19671. (AccessibleJInternalFrame.getAccessibleName): Implemented,
  19672. (AccessibleJInternalFrame.getAccessibleRole): Implemented,
  19673. (AccessibleJInternalFrame.getAccessibleValue): Implemented,
  19674. (AccessibleJInternalFrame.getCurrentAccessibleValue): Implemented,
  19675. (AccessibleJInternalFrame.getMaximumAccessibleValue): Implemented,
  19676. (AccessibleJInternalFrame.getMinimumAccessibleValue): Implemented,
  19677. (AccessibleJInternalFrame.setCurrentAccessibleValue): Implemented,
  19678. (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleRole): Implemented,
  19679. (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleValue): Implemented,
  19680. (JDesktopIcon.AccessibleJDesktopIcon.getCurrentAccessibleValue):
  19681. Implemented,
  19682. (JDesktopIcon.AccessibleJDesktopIcon.getMaximumAccessibleValue):
  19683. Implemented,
  19684. (JDesktopIcon.AccessibleJDesktopIcon.getMinimumAccessibleValue):
  19685. Implemented,
  19686. (JDesktopIcon.AccessibleJDesktopIcon.setCurrentAccessibleValue):
  19687. Implemented,
  19688. (JInternalFrame()): Use "" for default title,
  19689. (getAccessibleContext): Updated API docs,
  19690. (getDesktopIcon): Likewise,
  19691. (getLayer): Check for layer in client properties, and return
  19692. DEFAULT_LAYER if no setting is found,
  19693. (getTitle): Updated API docs,
  19694. (setDesktopIcon): Fire property change event.
  19695. 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  19696. * javax/swing/ScrollPaneLayout.java (layoutContainer):
  19697. Mind that the presence of one scroll bar may cause the
  19698. need for another.
  19699. 2006-04-12 Ito Kazumitsu <kaz@maczuka.gcd.org>
  19700. * gnu/regexp/REToken.java(unicodeAware): New field,
  19701. (toLowerCase, toUpperCase): New methods.
  19702. * gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
  19703. gnu/regexp/RETokenNamedProperty.java, gnu/regexp/RETokenRange.java:
  19704. Use toLowerCase and toUpperCase defined in REToken instead of
  19705. those defined in java.lang.Character.
  19706. * gnu/regexp/gnu/regexp/RE.java(REG_ICASE_USASCII): New flag.
  19707. (initialize): Sets unicodeAware of the generated REToken to false if
  19708. REG_ICASE_USASCII is set.
  19709. * gnu/regexp/RETokenChar.java(constructor): Don't convert the character
  19710. to lower case and keep the original value.
  19711. (matchOneString): Use the new method charEquals to compare characters.
  19712. (charEquals): New method to compare characters.
  19713. * java/util/regex/Pattern.java: Sets the flag REG_ICASE_USASCII to true.
  19714. 2006-04-12 David Gilbert <david.gilbert@object-refinery.com>
  19715. * javax/swing/event/InternalFrameEvent.java:
  19716. (paramString): Implemented,
  19717. updated API docs all over.
  19718. 2006-04-12 Casey Marshall <csm@gnu.org>
  19719. * gnu/javax/crypto/prng/Fortuna.java (setup): call `fillBlock.'
  19720. (Generator.setup): call `fillBlock.'
  19721. 2006-04-12 Casey Marshall <csm@gnu.org>
  19722. Fixes PR classpath/24481.
  19723. * gnu/java/security/jce/prng/SecureRandomAdapter.java (<init>):
  19724. initialize the adaptee.
  19725. (setSeed): call `addRandomBytes;' don't re-initialize the adaptee.
  19726. * gnu/java/security/prng/MDGenerator.java (addRandomByte,
  19727. addRandomBytes): new methods.
  19728. 2006-04-12 Tom Tromey <tromey@redhat.com>
  19729. * java/io/DataOutputStream.java (writeUTF): Correctly handle zero
  19730. length strings.
  19731. 2006-04-12 Lillian Angel <langel@redhat.com>
  19732. * gnu/xml/dom/DomDocument.java
  19733. (checkNCName): Removed unneeded part of check.
  19734. * gnu/xml/dom/DomNode.java
  19735. (dispatchEvent): Added code to grow ancestors array
  19736. if needed. Changed checks to use depth of node instead.
  19737. Fixes an infinite loop and segmentation fault.
  19738. * gnu/xml/dom/html2/DomHTMLParser.java
  19739. (handleEndTag): No need to use/make a copy of the node.
  19740. Causes an infinite loop.
  19741. 2006-04-12 Tom Tromey <tromey@redhat.com>
  19742. PR classpath/27131:
  19743. * java/util/BitSet.java (get): Early return if to==from.
  19744. 2006-04-12 Mark Wielaard <mark@klomp.org>
  19745. * java/security/SecureRandom.java (algorithm): New private field.
  19746. (SecureRandom): Initialize algorithm.
  19747. (SecureRandom(SecureRandomSpi,Provider,String)): New private
  19748. constructor.
  19749. (getInstance): Call 3 argument constructor.
  19750. (getAlgorithm): New method.
  19751. 2006-04-12 Mark Wielaard <mark@klomp.org>
  19752. Port UncaughtExceptionHandler support from generics branch.
  19753. * NEWS: Document Thread.UncaughtExceptionHandler VMThread change.
  19754. 2006-04-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
  19755. * java/lang/Thread.java:
  19756. (setUncaughtExceptionHandler(UncaughtExceptionHandler):
  19757. Added docs and security check.
  19758. (getUncaughtExceptionHandler()): Documented.
  19759. (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
  19760. Added docs and security check.
  19761. (getDefaultUncaughtExceptionHandler()): Documented.
  19762. (getId()): Documented.
  19763. 2006-04-12 Tom Tromey <tromey@redhat.com>
  19764. * vm/reference/java/lang/VMThread.java (run): Use thread's
  19765. uncaught handler.
  19766. * java/lang/Thread.java (defaultHandler): New field.
  19767. (setDefaultUncaughtExceptionHandler,
  19768. getDefaultUncaughtExceptionHandler, setUncaughtExceptionHandler,
  19769. getUncaughtExceptionHandler): New methods.
  19770. * java/lang/ThreadGroup.java (ThreadGroup): Implements
  19771. UncaughtExceptionHandler.
  19772. (uncaughtException): Use getDefaultUncaughtExceptionHandler.
  19773. 2006-04-11 Bryce McKinlay <mckinlay@redhat.com>
  19774. * java/io/DataOutputStream.java (writeUTF): Re-use fixed length byte
  19775. buffer. Loop only once to determine Utf8 length when possible. Make
  19776. the inner loop bounded by buf.length.
  19777. (getUTFlength): New private method.
  19778. (buf): New private field.
  19779. 2006-04-11 Lillian Angel <langel@redhat.com>
  19780. * gnu/xml/dom/DomNodeIterator.java
  19781. (nextNode): Moved line of code to avoid an infinite loop.
  19782. * gnu/xml/dom/html2/DomHTMLAppletElement.java
  19783. (getCls): New function.
  19784. (setCls): Likewise.
  19785. (getSrc): Likewise.
  19786. (setSrc): Likewise.
  19787. * gnu/xml/dom/html2/DomHTMLDocument.java:
  19788. Added DomHTMLEmbedElement to map.
  19789. (getApplets): Added node name, 'embed'.
  19790. * gnu/xml/dom/html2/DomHTMLEmbedElement.java:
  19791. New class.
  19792. * gnu/xml/dom/html2/DomHTMLObjectElement.java
  19793. (getJavaCode): New function.
  19794. (setJavaCode): Likewise.
  19795. (getObject): Likewise.
  19796. (setObject): Likewise.
  19797. (getJavaObject): Likewise.
  19798. (setJavaObject): Likewise.
  19799. (getJavaArchive): Likewise.
  19800. (setJavaArchive): Likewise.
  19801. (getJavaCodeBase): Likewise.
  19802. (setJavaCodeBase): Likewise.
  19803. (getJavaType): Likewise.
  19804. (setJavaType): Likewise.
  19805. (setMayscript): Likewise.
  19806. (getMayscript): Likewise.
  19807. (setScriptable): Likewise.
  19808. (getScriptable): Likewise.
  19809. * gnu/xml/dom/html2/DomHTMLParser.java
  19810. (parseDocument): Should not check for well formedness
  19811. when parsing an html document.
  19812. * java/awt/Window.java
  19813. (dispatchEvent): Added check to avoid NPE.
  19814. 2006-04-10 Tom Tromey <tromey@redhat.com>
  19815. * javax/accessibility/AccessibleStreamable.java (getStream): Fixed
  19816. name.
  19817. * javax/accessibility/AccessibleRelation.java (EMBEDS): Fixed value.
  19818. (SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
  19819. 2006-04-10 Robert Schuster <robertschuster@fsfe.org>
  19820. * javax/swing/plaf/basic/BasicTextUI.java:
  19821. (getNextVisualPositionFrom): Marked as stub.
  19822. 2006-04-10 Roman Kennke <kennke@aicas.com>
  19823. * javax/swing/plaf/basic/BasicLookAndFeel.java
  19824. (initSystemColorDefaults): Changed to use loadSystemColorDefaults
  19825. and create the defaults as strings constants.
  19826. (loadSystemColors): Implemented stubbed method.
  19827. 2006-04-10 Tom Tromey <tromey@redhat.com>
  19828. * .settings/org.eclipse.core.resources.prefs: Set encoding for
  19829. ChangeLog.
  19830. 2006-04-10 Tom Tromey <tromey@redhat.com>
  19831. * java/io/CharArrayWriter.java (append): Javadoc fix.
  19832. (append): Likewise.
  19833. 2006-04-10 Tom Tromey <tromey@redhat.com>
  19834. * javax/accessibility/AccessibleTextSequence.java: New file.
  19835. * javax/accessibility/AccessibleRelation.java (CHILD_NODE_OF): New
  19836. field.
  19837. (CHILD_NODE_OF_PROPERTY, EMBEDDED_BY, EMBEDDED_BY_PROPERTY, EMBEDS,
  19838. EMBEDS_PROPERTY, FLOWS_FROM, FLOWS_FROM_PROPERTY, FLOWS_TO,
  19839. FLOWS_TO_PROPERTY, PARENT_WINDOW_OF, PARENT_WINDOW_OF_PROPERTY,
  19840. SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
  19841. * javax/accessibility/AccessibleExtendedText.java: New file.
  19842. * javax/accessibility/AccessibleContext.java
  19843. (ACCESSIBLE_COMPONENT_BOUNDS_CHANGED): New field.
  19844. (ACCESSIBLE_INVALIDATE_CHILDREN): Likewise.
  19845. (ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED): Likewise.
  19846. * javax/accessibility/AccessibleAttributeSequence.java: New file.
  19847. * javax/accessibility/AccessibleStreamable.java: New file.
  19848. * javax/accessibility/AccessibleText.java (getIndexAtPoint): Javadoc
  19849. fix.
  19850. 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  19851. * javax/swing/tree/AbstractLayoutCache.java
  19852. (getNodeDimensions, getRowsForPath): Implemented.
  19853. * javax/swing/tree/FixedHeightLayoutCache.java: Rewritten.
  19854. * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
  19855. 2006-04-10 Roman Kennke <kennke@aicas.com>
  19856. * javax/swing/tree/AbstractLayoutCache.java: Reformatted.
  19857. 2006-04-10 Roman Kennke <kennke@aicas.com>
  19858. * javax/swing/JInternalFrame.java
  19859. (AccessibleJInternalFrame): Marked all stubbed methods as such
  19860. by adding throws NotImplementedException.
  19861. 2006-04-10 Roman Kennke <kennke@aicas.com>
  19862. * javax/swing/JFileChooser.java
  19863. (getAccessibleContext): Don't create a new instance on each
  19864. call, instead store the accessible context in the
  19865. accessibleContext field.
  19866. 2006-04-10 Roman Kennke <kennke@aicas.com>
  19867. * javax/swing/JComboBox.java
  19868. (AccessibleJComboBox): Marked all stubbed methods as such
  19869. by adding throws NotImplementedException.
  19870. 2006-04-10 Roman Kennke <kennke@aicas.com>
  19871. * javax/swing/ActionMap.java
  19872. (readObject): Removed.
  19873. (writeObject): Removed.
  19874. 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  19875. * javax/swing/tree/DefaultTreeSelectionModel.java
  19876. (addSelectionPaths, setSelectionPaths): Call
  19877. insureUniqueness. (clone, setRowMapper): Implemented.
  19878. * TreePath (path): Marked final.
  19879. 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  19880. * javax/swing/tree/DefaultTreeSelectionModel.java:
  19881. Documented and autoformatted. (insureUniqueness):
  19882. Removed stub marking.
  19883. 2006-04-09 David Gilbert <david.gilbert@object-refinery.com>
  19884. * javax/swing/SizeSequence.java
  19885. (sizes): Don't initialise here,
  19886. (SizeSequence(int, int)): Initialise sizes field,
  19887. (SizeSequence(int[])): Clone argument instead of calling setSizes(),
  19888. (setSize): Do nothing when index is out of bounds,
  19889. (getIndex): Implemented,
  19890. (setSizes): Reimplemented,
  19891. (getSizes): Likewise,
  19892. (insertEntries): Likewise,
  19893. (removeEntries): Likewise,
  19894. plus added API docs all over.
  19895. 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org
  19896. * gnu/CORBA/gnuRequest.java (submit): Do not read any response after
  19897. one way message and retry after any IOException.
  19898. 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  19899. * gnu/CORBA/CDR/EncapsulationStream.java (constructor):
  19900. Set the byte order.
  19901. 2006-04-09 Wolfgang Baer <WBaer@gmx.de>
  19902. * org/omg/PortableServer/ServantLocatorPOA.java:
  19903. (preinvoke, postinvoke): Remove default implementation.
  19904. * org/omg/PortableServer/ServantActivatorPOA.java:
  19905. (incarnate, etherealize): Remove default implementation.
  19906. * org/omg/PortableInterceptor/ObjectReferenceFactory.java:
  19907. Extends from ValueBase and not from ObjectReferenceFactoryOperations.
  19908. (make_object): Moved method from ObjectReferenceFactoryOperations.
  19909. * org/omg/PortableInterceptor/ObjectReferenceFactoryOperations.java:
  19910. Removed unspecified interface.
  19911. * org/omg/DynamicAny/_DynAnyStub.java:
  19912. (_DynAnyStub(Delegate)): Removed constructor.
  19913. * org/omg/DynamicAny/_DynArrayStub.java,
  19914. * org/omg/DynamicAny/_DynAnyFactoryStub.java,
  19915. * org/omg/DynamicAny/_DynEnumStub.java,
  19916. * org/omg/DynamicAny/_DynFixedStub.java,
  19917. * org/omg/DynamicAny/_DynSequenceStub.java,
  19918. * org/omg/DynamicAny/_DynStructStub.java,
  19919. * org/omg/DynamicAny/_DynUnionStub.java,
  19920. * org/omg/DynamicAny/_DynValueStub.java:
  19921. Extend from ObjectImpl and not from _DynAnyStub.
  19922. (type, next, destroy, copy, rewind, assign, component_count,
  19923. current_component, equal, from_any, get_any, get_boolean, get_char,
  19924. get_double, get_dyn_any, get_float, get_long, get_longlong, get_octet,
  19925. get_reference, get_short, get_string, get_typecode, get_ulong,
  19926. get_ulonglong, get_ushort, get_val, get_wchar, get_wstring, insert_any,
  19927. insert_boolean, insert_char, insert_double, insert_dyn_any, insert_float,
  19928. insert_long, insert_longlong, insert_octet, insert_reference,
  19929. insert_short, insert_string, insert_typecode, insert_ulong,
  19930. insert_ulonglong, insert_ushort, insert_val, insert_wchar,
  19931. insert_wstring, seek, to_any): New methods copied from _DynAnyStub.
  19932. * org/omg/CosNaming/_BindingIteratorStub.java:
  19933. (_BindingIteratorStub(Delegate)): Made package private.
  19934. * org/omg/CosNaming/_NamingContextExtStub.java:
  19935. (_NamingContextExtStub(Delegate)): Made package private.
  19936. * org/omg/CosNaming/_NamingContextStub.java:
  19937. (_NamingContextStub(Delegate)): Made package private.
  19938. (throw4, throw5): Likewise.
  19939. * gnu/CORBA/NamingService/NameParser.java (resolve):
  19940. Adapt to package private constructor. Use _set_delegate instead.
  19941. * org/omg/CosNaming/NamingContextOperations.java: Do not extend IDLEntity.
  19942. * org/omg/CORBA/ORB.java:
  19943. (create_recursive_sequence_tc): Made abstract.
  19944. (get_default_context): Likewise.
  19945. * gnu/CORBA/OrbRestricted.java:
  19946. (create_recursive_sequence_tc): New moved method.
  19947. (get_default_context): Likewise.
  19948. * org/omg/CORBA/ParameterMode.java:
  19949. (PARAM_IN, PARAM_OUT, PARAM_INOUT): Made final.
  19950. 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  19951. * gnu/CORBA/GIOP/MessageHeader.java (write):
  19952. More informative exception.
  19953. * gnu/CORBA/IorDelegate.java (release): Do not close the socket.
  19954. * gnu/CORBA/SocketRepository.java (get_socket):
  19955. Removed debugging code.
  19956. 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  19957. * gnu/CORBA/gnuRequest.java (submit): Try to read the response for the
  19958. one way message, but ignore if EOF was received.
  19959. * gnu/CORBA/GIOP/MessageHeader.java (read): Set the minor code to
  19960. Minor.EOF if the end of file is received instead of the header.
  19961. 2006-04-09 Roman Kennke <kennke@aicas.com>
  19962. * javax/swing/plaf/metal/MetalRootPaneUI.java
  19963. (MetalTitlePane.IconifyAction): New inner class.
  19964. (MetalTitlePane.MaximizeAction): New inner class.
  19965. (MetalTitlePane.createActions): Create iconifyAction and
  19966. maximizeAction.
  19967. (MetalRootLayout.titlePane): New field.
  19968. (MetalRootLayout.MetalRootLayout): Take titlePane parameter in
  19969. constructor.
  19970. (MetalRootLayout.preferredLayoutSize): Changed to not make
  19971. assumptions about the actual component order.
  19972. (MetalRootLayout.layoutContainer): Changed to not make
  19973. assumptions about the actual component order.
  19974. (installWindowDecorations): Pass the titlePane as parameter to
  19975. the MetalRootLayout constructor.
  19976. (uninstallWindowDecorations): Changed to not make
  19977. assumptions about the actual component order.
  19978. 2006-04-08 Roman Kennke <kennke@aicas.com>
  19979. * javax/swing/plaf/metal/MetalRootPaneUI.java
  19980. (MetalTitlePane.MouseHandler): New inner class to handle dragging
  19981. of frames.
  19982. (MetalTitlePane.installListeners): Don't register a focus listener
  19983. on the window. This is a potential memory leak and must be
  19984. implemented on a different way. Install mouse listener here.
  19985. (installWindowDecorations): Fixed assertion condition. Always
  19986. insert the window decoration at index#1 in the layered
  19987. pane.
  19988. 2006-04-08 Roman Kennke <kennke@aicas.com>
  19989. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
  19990. (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetBoundsUnlocked):
  19991. Only resize window if actual width or height value changes.
  19992. Avoids nasty flicker when only setLocation() is beeing called
  19993. on a window.
  19994. 2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  19995. * gnu/CORBA/GIOP/MessageHeader.java (read): Throw more informative
  19996. exception if the magic sequence does not match.
  19997. 2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  19998. * gnu/CORBA/gnuRequest.java (p_invoke, submit): Do not try to read
  19999. response for the one way messages.
  20000. 2006-04-08 Roman Kennke <kennke@aicas.com>
  20001. * javax/swing/MenuSelectionManager.java
  20002. (processKeyEvent): Implemented stub method.
  20003. * javax/swing/JMenu.java
  20004. (processKeyEvent): Implemented stub method.
  20005. * javax/swing/JMenu.java
  20006. (processKeyEvent): Implemented stub method.
  20007. (processMenuKeyEvent): Implemented stub method.
  20008. 2006-04-08 Roman Kennke <kennke@aicas.com>
  20009. * javax/swing/AbstractAction.java
  20010. (readObject): Removed unneeded method.
  20011. (writeObject): Removed unneeded method.
  20012. 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
  20013. * javax/swing/plaf/synth/SynthPainter.java:
  20014. (paintSplitPaneDividerBorder): Removed.
  20015. 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
  20016. * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
  20017. (CLOSE_CMD, ICONIFY_CMD, MAXIMIZE_CMD, MOVE_CMD, RESTORE_CMD, SIZE_CMD):
  20018. No longer constants.
  20019. (static_initializer): Added to initialize above fields.
  20020. * javax/accessibility/AccessibleRelation.java (LABEL_FOR, LABELED_BY,
  20021. MEMBER_OF, CONTROLLER_FOR, CONTROLLED_BY): No longer constants.
  20022. (static_initializer): Added to initialize above fields.
  20023. 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
  20024. * java/awt/Dialog.java: Improved documentation all over.
  20025. (Dialog(Frame)): If gc is null use the owners GraphicsConfiguration.
  20026. (Dialog(Dialog)): Likewise.
  20027. 2006-04-08 Mark Wielaard <mark@klomp.org>
  20028. * java/util/jar/JarFile.java (provider): New static field.
  20029. (verify, verifyHashes, EntryInputStream.<init>): Pass provider
  20030. to `getInstance.'
  20031. 2006-04-08 Mark Wielaard <mark@klomp.org>
  20032. PR 27081
  20033. * java/lang/StackTraceElement.java (toString): Don't add space
  20034. between type and source indicator.
  20035. 2006-04-07 Casey Marshall <csm@gnu.org>
  20036. Fixes PR classpath/24464
  20037. * java/util/jar/JarFile.java (verify, verifyHashes,
  20038. EntryInputStream.<init>): pass the Gnu provider directly to
  20039. `getInstance.'
  20040. 2006-04-08 Raif S. Naffah <raif@swiftdsl.com.au>
  20041. PR classpath/27071
  20042. * gnu/java/security/hash/Whirlpool.java: Updated documentation.
  20043. (DIGEST0): Use version 3 test vector.
  20044. (Sd): Removed.
  20045. (S_box): New field: Version 3 S-box values.
  20046. (<clinit>): Use Version 3 circulant matrix to construct lookup tables.
  20047. (transform): Formating.
  20048. (padBuffer): Likewise.
  20049. (getResult): Likewise.
  20050. (selfTest): Likewise.
  20051. 2006-04-07 Tom Tromey <tromey@redhat.com>
  20052. * java/util/InvalidPropertiesFormatException.java
  20053. (serialVersionUID): New field.
  20054. (readObject, writeObject): New methods.
  20055. * java/util/Arrays.java (toString): Javadoc fixes.
  20056. * java/net/URLConnection.java: Cleaned up imports.
  20057. * java/lang/reflect/ParameterizedType.java: Javadoc fix.
  20058. * java/lang/reflect/MalformedParameterizedTypeException.java
  20059. (serialVersionUID): New field.
  20060. * java/lang/reflect/GenericSignatureFormatError.java
  20061. (serialVersionUID): New field.
  20062. * java/lang/Class.java (Class): Javado fixes.
  20063. (getComponentType): Likewise.
  20064. (getGenericInterfaces): Likewise.
  20065. (getTypeParameters): Likewise.
  20066. * java/io/CharArrayWriter.java (append): Javadoc fixes.
  20067. * java/lang/annotation/AnnotationFormatError.java (serialVersionUID):
  20068. New field.
  20069. * java/lang/TypeNotPresentException.java (serialVersionUID): New
  20070. field.
  20071. * java/lang/EnumConstantNotPresentException.java (serialVersionUID):
  20072. New field.
  20073. 2006-04-07 Wolfgang Baer <WBaer@gmx.de>
  20074. * java/awt/Dialog.java
  20075. (AccessibleAWTDialog): Added api docs
  20076. (AccessibleAWTDialog.getAccessibleStateSet):
  20077. Renamed from getAccessibleState.
  20078. * java/awt/Frame.java
  20079. (AccessibleAWTFrame): Added api docs
  20080. (AccessibleAWTFrame.getAccessibleStateSet):
  20081. Renamed from getAccessibleState.
  20082. 2006-04-07 Wolfgang Baer <WBaer@gmx.de>
  20083. * java/awt/Dialog.java: Reformatted.
  20084. 2006-04-07 Lillian Angel <langel@redhat.com>
  20085. * java/awt/Component.java
  20086. (eventTypeEnabled): Added code for HierarchyEvent.HIERARCHY_CHANGED,
  20087. HierarchyEvent.ANCESTOR_MOVED and HierarchyEvent.ANCESTOR_RESIZED.
  20088. 2006-04-07 Tom Tromey <tromey@redhat.com>
  20089. * java/beans/beancontext/BeanContextMembershipEvent.java
  20090. (serialVersionUID): New field.
  20091. * java/beans/beancontext/BeanContextServicesSupport.java
  20092. (addBeanContextServicesListener): Synchronize.
  20093. (addService): Implemented.
  20094. (createBCSChild): Implemented.
  20095. (BCSSChild): Added arguments.
  20096. (fireServiceAdded): Implemented.
  20097. (fireServiceRevoked): Implemented.
  20098. (getCurrentServiceSelectors): Implemented.
  20099. (hasService): Implemented.
  20100. (removeBeanContextServicesListener): Implemented.
  20101. (serviceAvailable): Implemented.
  20102. (serviceRevoked): Implemented.
  20103. * java/beans/beancontext/BeanContextSupport.java (BCSChild): Added
  20104. arguments.
  20105. (createBCSChild): Implemented.
  20106. (BeanContextSupport):
  20107. (addBeanContextMembershipListener): Synchronize.
  20108. (fireChildrenAdded): Implemented.
  20109. (fireChildrenRemoved): Implemented.
  20110. (BeanContextSupport): Use default locale.
  20111. (isEmpty): Implemented.
  20112. (isDesignTime): Implemented.
  20113. (size): Implemented.
  20114. (toArray): Synchronized.
  20115. (toArray): Likewise.
  20116. (iterator): Likewise.
  20117. (BCSIterator): Implemented.
  20118. (bcsChildren): Implemented.
  20119. (validatePendingAdd): Implemented.
  20120. (validatePendingRemove): Likewise.
  20121. (childJustAddedHook): Implemented.
  20122. (childJustRemovedHook): Likewise.
  20123. (classEquals): Likewise.
  20124. (toArray): Mark as stub.
  20125. (setDesignTime): Implemented.
  20126. (copyChildren): Implemented.
  20127. (containsKey): Implemented.
  20128. (contains): Likewise.
  20129. (containsAll): Likewise.
  20130. (getResource): Implemented.
  20131. (getResourceAsStream): Likewise.
  20132. (removeBeanContextMembershipListener): Likewise.
  20133. * java/beans/beancontext/BeanContextServiceRevokedEvent.java
  20134. (serialVersionUID): New field.
  20135. * java/beans/beancontext/BeanContextServiceAvailableEvent.java
  20136. (serialVersionUID): New field.
  20137. * java/beans/beancontext/BeanContext.java (instantiateChild): Javadoc
  20138. fix.
  20139. 2006-04-06 Roman Kennke <kennke@aicas.com>
  20140. PR 26937
  20141. * javax/swing/MenuSelectionManager.java
  20142. (setSelectedPath): Search one more item in the loop.
  20143. 2006-04-06 Tom Tromey <tromey@redhat.com>
  20144. * java/awt/image/renderable/RenderableImageProducer.java
  20145. (image, context, consumers): New fields.
  20146. (RenderableImageProducer): Implemented.
  20147. (setRenderContext): Likewise.
  20148. (addConsumer): Likewise.
  20149. (isConsumer): Likewise.
  20150. (removeConsumer): Likewise.
  20151. (startProduction): Likewise.
  20152. 2006-04-06 Roman Kennke <kennke@aicas.com>
  20153. * java/awt/Component.java
  20154. (AccessibleAWTComponent.getBounds): Return the component
  20155. bounds regardless of its showing state.
  20156. (AccessibleAWTComponent.getLocation): Return the component
  20157. location regardless of its showing state.
  20158. (AccessibleAWTComponent.getSize): Return the component
  20159. size regardless of its showing state.
  20160. 2006-04-06 Roman Kennke <kennke@aicas.com>
  20161. * javax/swing/JRootPane.java
  20162. (getAccessibleContext): New method. Provides an accessibleContext
  20163. for JRootPanes.
  20164. 2006-04-06 Roman Kennke <kennke@aicas.com>
  20165. * java/awt/Toolkit.java
  20166. (initAccessibility): Use the 'gnu.classpath.home.url' property
  20167. to determine the system confiuration directory.
  20168. * java/awt/Component.java
  20169. (dispatchEvent): Trigger Toolkit dispatching here.
  20170. (dispatchEventImpl): Moved Toolkit dispatching to dispatchEvent,
  20171. so it can't be overridden by subclasses and is performed in
  20172. any case.
  20173. 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
  20174. * javax/naming/Binding.java: Added API docs.
  20175. * javax/naming/NameClassPair.java: Added API docs.
  20176. (fullName): New field.
  20177. (setNameInNamespace): New 1.5 method.
  20178. (getNameInNamespace): Likewise.
  20179. 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
  20180. * javax/naming/CompositeName.java:
  20181. (readObject): New deserialization method.
  20182. (writeObject): New serialization method.
  20183. 2006-03-29 Nektarios K. Papadopoulos <npapadop at inaccessnetworks.com>
  20184. * javax/security/auth/x500/X500Principal.java
  20185. (readAttributeValue) Check for separator after quoted value was
  20186. failing in all cases.
  20187. 2006-04-06 Mark Wielaard <mark@klomp.org>
  20188. * java/lang/Class.java (getClassLoader): Don't do security check
  20189. when loader is null.
  20190. 2006-04-06 Roman Kennke <kennke@aicas.com>
  20191. * java/awt/Toolkit.java
  20192. (getDefaultToolkit): Initialize accessibility after setting
  20193. up the toolkit.
  20194. (initAccessibility): New helper method to setup accessibility.
  20195. 2006-04-06 Roman Kennke <kennke@aicas.com>
  20196. * javax/swing/AbstractButton.java
  20197. (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
  20198. (AccessibleAbstractButton.getAccessibleRelationSet): Implemented
  20199. stub.
  20200. (AccessibleAbstractButton.getIndexAtPoint): Implemented stub.
  20201. (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
  20202. (AccessibleAbstractButton.getCharacterBounds): Implemented stub.
  20203. (AccessibleAbstractButton.getCharCount): Implemented stub.
  20204. (AccessibleAbstractButton.getCaretPosition): Implemented stub.
  20205. (AccessibleAbstractButton.getCharacterAttribute): Implemented stub.
  20206. (AccessibleAbstractButton.getSelectionStart): Implemented stub.
  20207. (AccessibleAbstractButton.getSelectionEnd): Implemented stub.
  20208. (AccessibleAbstractButton.getSelectedText): Implemented stub.
  20209. (AccessibleAbstractButton.getTextRectangle): Removed unneeded
  20210. private method.
  20211. 2006-04-06 Roman Kennke <kennke@aicas.com>
  20212. * java/awt/Component.java
  20213. (AccessibleAWTComponent.getAccessibleStateSet): Don't handle opaque
  20214. state here. This is only done in JComponent.
  20215. * javax/swing/JComponent.java
  20216. (AccessibleJComponent.getAccessibleStateSet): Handle opaque flag
  20217. here.
  20218. (getNextFocusableComponent): Implemented stub method.
  20219. (grabFocus): Implemented stub method.
  20220. (unregisterKeyboardAction): Implemented stub method.
  20221. (setNextFocusableComponent): Implemented stub method.
  20222. * javax/swing/CompatibilityFocusTraversalPolicy.java: New file.
  20223. This is a helper class for providing compatibility with the older
  20224. Swing focus API.
  20225. 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
  20226. Fixes bug #26995
  20227. * javax/naming/directory/BasicAttribute.java,
  20228. * javax/naming/directory/BasicAttributes.java:
  20229. (readObject): New deserialization method.
  20230. (writeObject): New serialization method.
  20231. 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
  20232. * javax/xml/validation/SchemaFactory.java: Corrected since tag.
  20233. (getErrorHandler): Made method abstract.
  20234. (setErrorHanlder): Likewise.
  20235. * gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java
  20236. (getErrorHandler): Implement abstract method from superclass.
  20237. (setErrorHandler): Likewise.
  20238. (errorHandler): New field.
  20239. * gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java:
  20240. (getErrorHandler): Implement abstract method from superclass.
  20241. (setErrorHandler): Likewise.
  20242. (errorHandler): New field.
  20243. * javax/xml/XMLConstants.java: Corrected since tag.
  20244. (XMLConstants): Added private constructor.
  20245. * javax/xml/datatype/Duration.java: Corrected since tag.
  20246. (multiply): Made method abstract.
  20247. * javax/xml/datatype/DatatypeConstants.java: Corrected since tag.
  20248. (DatatypeConstants): Added private constructor.
  20249. * javax/xml/xpath/XPathConstants.java: Corrected since tag.
  20250. (XPathConstants): Added private constructor.
  20251. 2006-04-05 Tom Tromey <tromey@redhat.com>
  20252. * javax/security/auth/kerberos/ServicePermission.java: Now final.
  20253. 2006-04-05 Tom Tromey <tromey@redhat.com>
  20254. PR libgcj/26625:
  20255. * lib/Makefile.am (compile-classes): Touch the output file.
  20256. 2006-04-05 Roman Kennke <kennke@aicas.com>
  20257. * javax/swing/AbstractButton.java
  20258. (AccessibleAbstractButton.getAccessibleStateSet): Removed handling
  20259. of the focused state. This is already done in AccessibleAWTComponent.
  20260. 2006-04-05 Roman Kennke <kennke@aicas.com>
  20261. * javax/swing/JComponent.java
  20262. (accessibleContext): Fixed API doc for this field.
  20263. (AccessibleJComponent.AccessibleFocusHandler): Fixed API docs.
  20264. (AccessibleJComponent.AccessibleFocusHandler.focusGained):
  20265. Implemented and added API docs.
  20266. (AccessibleJComponent.AccessibleFocusHandler.focusLost):
  20267. Implemented and added API docs.
  20268. (AccessibleJComponent.AccessibleContainerHandler): Fixed API docs.
  20269. (AccessibleJComponent.AccessibleContainerHandler.componentAdded):
  20270. Implemented and added API docs.
  20271. (AccessibleJComponent.AccessibleContainerHandler.componentRemoved):
  20272. Implemented and added API docs.
  20273. (AccessibleJComponent.accessibleContainerHandler): Added API docs.
  20274. (AccessibleJComponent.accessibleFocusHandler): Added API docs.
  20275. (AccessibleJComponent.addPropertyChangeListener): Added API docs.
  20276. (AccessibleJComponent.removePropertyChangeListener): Added API docs.
  20277. (AccessibleJComponent.getAccessibleStateSet): Simply return
  20278. super here. Added comment about this.
  20279. 2006-04-05 Roman Kennke <kennke@aicas.com>
  20280. * javax/swing/JComponent.java
  20281. (AccessibleJComponent.addPropertyChangeListener): Install
  20282. ContainerHandler and FocusHandler here.
  20283. (AccessibleJComponent.removePropertyChangeListener): Uninstall
  20284. ContainerHandler and FocusHandler here.
  20285. (AccessibleJComponent.getAccessibleChildrenCount): Replaced
  20286. by super.getAccessibleChildrenCount().
  20287. (AccessibleJComponent.getAccessibleChild): Replaced
  20288. by super.getAccessibleChild().
  20289. (AccessibleJComponent.getAccessibleStateSet): Implemented by
  20290. adding OPAQUE to the supported states.
  20291. (AccessibleJComponent.getAccessibleName): Added titled border
  20292. and label fallbacks.
  20293. (AccessibleJComponent.getAccessibleDescription): Added tooltip
  20294. and label fallbacks.
  20295. (AccessibleJComponent.getAccessibleRole): Removed TODO.
  20296. (AccessibleJComponent.getAccessibleKeyBinding): Added comment
  20297. explaining why return null seems correct here.
  20298. * javax/swing/JLabel.java
  20299. (LABEL_PROPERTY): New constant.
  20300. (setLabelFor): Store label in labeled component's client properties
  20301. for the AccessibleJComponent to read.
  20302. 2006-04-05 Tom Tromey <tromey@redhat.com>
  20303. * java/util/zip/ZipFile.java (available): Defer to super if
  20304. entry's size is unknown.
  20305. 2006-04-05 Tom Tromey <tromey@redhat.com>
  20306. * java/net/MimeTypeMapper.java (MimeTypeMapper): Look for system
  20307. property with mime.types name.
  20308. * gnu/classpath/SystemProperties.java: Set
  20309. gnu.classpath.mime.types.file if not already set.
  20310. * java/net/URLConnection.java (defaultFactory): New field.
  20311. (guessContentTypeFromStream): Mark as unimplemented.
  20312. (getContentHandler): Updated with libgcj's implementation.
  20313. * gnu/java/net/DefaultContentHandlerFactory.java: New file,
  20314. from libgcj.
  20315. 2006-04-05 Bryce McKinlay <mckinlay@redhat.com>
  20316. PR classpath/27028
  20317. PR classpath/24752
  20318. * java/util/AbstractList.java (hasNext): Don't throw
  20319. ConcurrentModificationException. Update Javadoc.
  20320. (hasPrevious): Likewise.
  20321. (nextIndex): Likewise.
  20322. (previousIndex): Likewise.
  20323. * java/util/HashMap.java (hasNext): Likewise.
  20324. * java/util/Hashtable.java (hasNext): Likewise.
  20325. * java/util/IdentityHashMap.java (hasNext): Likewise.
  20326. * java/util/LinkedHashMap.java (hasNext): Likewise.
  20327. * java/util/LinkedList.java (nextIndex): Likewise.
  20328. (previousIndex): Likewise.
  20329. (hasNext): Likewise.
  20330. (hasPrevious): Likewise.
  20331. * java/util/TreeMap.java (hasNext): Likewise.
  20332. * java/util/WeakHashMap.java (hasNext): Likewise.
  20333. 2006-04-05 Roman Kennke <kennke@aicas.com>
  20334. * javax/swing/AbstractButton.java
  20335. (AccessibleAbstractButton.getAccessibleStateSet): Implemented stub.
  20336. (AccessibleAbstractButton.doAccessibleAction): Implemented stub.
  20337. (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
  20338. (AccessibleAbstractButton.getAccessibleActionCount): Implemented stub.
  20339. (AccessibleAbstractButton.getAccessibleActionDescription):
  20340. Implemented stub.
  20341. (AccessibleAbstractButton.getAccessibleText): Implemented stub.
  20342. (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
  20343. (AccessibleAbstractButton.getCurrentAccessibleValue): Implemented stub.
  20344. (AccessibleAbstractButton.setCurrentAccessibleValue): Implemented stub.
  20345. (AccessibleAbstractButton.getMinimumAccessibleValue): Implemented stub.
  20346. (AccessibleAbstractButton.getMaximumAccessibleValue): Implemented stub.
  20347. 2006-04-05 Roman Kennke <kennke@aicas.com>
  20348. * javax/swing/JComboBox.java
  20349. (selectWithKeyChar): Implemented stubbed method.
  20350. 2006-04-05 Roman Kennke <kennke@aicas.com>
  20351. * javax/swing/LookAndFeel.java
  20352. (installProperty): New method. Allows primitive typed properties
  20353. to be handled like UIResources.
  20354. * javax/swing/AbstractButton.java
  20355. (clientBorderPaintedSet): New field.
  20356. (clientRolloverEnabledSet): New field.
  20357. (clientIconTextGapSet): New field.
  20358. (clientContentAreaFilledSet): New field.
  20359. (setRolloverEnabled): Set the client field to true.
  20360. (setBorderPainted): Likewise.
  20361. (setIconTextGap): Likewise.
  20362. (setContentAreaFilled): Likewise.
  20363. (setUIProperty): New helper method.
  20364. * javax/swing/JComponent.java
  20365. (clientOpaqueSet): New field.
  20366. (clientAutoscrollsSet): New field.
  20367. (setAutoscrolls): Set the client field to true.
  20368. (setOpaque): Likewise.
  20369. (setUIProperty): New helper method.
  20370. * javax/swing/JDesktopPane.java
  20371. (clientDragModeSet): New field.
  20372. (setDragMode): Set the client field to true.
  20373. (setUIProperty): New helper method.
  20374. * javax/swing/JSplitPane.java
  20375. (clientDividerSizeSet): New field.
  20376. (clientOneTouchExpandableSet): New field.
  20377. (setDividerSize): Set the client field to true.
  20378. (setOneTouchExpandable): Likewise.
  20379. (setUIProperty): New helper method.
  20380. * javax/swing/JTable.java
  20381. (clientRowHeightSet): New field.
  20382. (setRowHeight): Set the client field to true.
  20383. (setUIProperty): New helper method.
  20384. * javax/swing/JTree.java
  20385. (clientRowHeightSet): New field.
  20386. (clientScrollsOnExpandSet): New field.
  20387. (clientShowsRootHandlesSet): New field.
  20388. (setRowHeight): Set the client field to true.
  20389. (setShowsRootHandles): Likewise.
  20390. (setScrollsOnExpand): Likewise.
  20391. (setUIProperty): New helper method.
  20392. 2006-04-05 Roman Kennke <kennke@aicas.com>
  20393. * java/awt/Component.java
  20394. (getFont): Don't request the font from the peer's graphics. The
  20395. graphics should instead get the font from the Component, which might
  20396. result in a loop.
  20397. (getFocusCycleAncestor): Don't special case Window.
  20398. (nextFocus): Moved implementation from the DefaultKeyboardFocusManager
  20399. to here. Correctly determine the focus cycle root.
  20400. (transferFocusBackward): Likewise.
  20401. (transferFocusUpCycle): Likewise.
  20402. * java/awt/Container.java
  20403. (transferFocusDownCycle): Moved implementation from
  20404. DefaultKeyboardFocusManager to here.
  20405. * java/awt/DefaultKeyboardFocusManager.java
  20406. (focusPreviousComponent): Moved implementation to
  20407. Component.transferFocusBackward().
  20408. (focusNextComponent): Moved implementation to
  20409. Component.nextFocus().
  20410. (upFocusCycle): Moved implementation to
  20411. Component.transferFocusUpCycle().
  20412. (downFocusCycle): Moved implementation to
  20413. Container.transferFocusDownCycle().
  20414. 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
  20415. * java/awt/image/ComponentSampleModel.java
  20416. (equals): Implemented,
  20417. (hashCode): Likewise.
  20418. 2006-04-05 Jeroen Frijters <jeroen@frijters.net>
  20419. * java/lang/Class.java
  20420. (cast): New method.
  20421. 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
  20422. * java/awt/image/ComponentSampleModel.java
  20423. (getBankIndices): Return a copy of the array, not a reference to the
  20424. original,
  20425. (getBandOffsets): Likewise.
  20426. 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
  20427. * java/awt/image/ComponentSampleModel.java: Added API docs all over.
  20428. 2006-04-04 Tom Tromey <tromey@redhat.com>
  20429. * java/net/MimeTypeMapper.java (MimeTypeMapper): Fixed indices.
  20430. 2006-04-04 Tom Tromey <tromey@redhat.com>
  20431. * java/net/MimeTypeMapper.java (mime_types): No longer static.
  20432. (MimeTypeMapper): Initialize.
  20433. (fillFromFile): New method.
  20434. (main): New method.
  20435. (mime_strings): Updated.
  20436. 2006-04-04 Tom Tromey <tromey@redhat.com>
  20437. * lib/gen-classlist.sh.in: Correct handle generated files.
  20438. 2006-04-04 Ito Kazumitsu <kaz@maczuka.gcd.org>
  20439. * gnu/regexp/CharIndexed.java(setAnchor): New method.
  20440. * gnu/regexp/CharIndexedInputStream.java(setAnchor): New method.
  20441. * gnu/regexp/CharIndexedCharSequence.java: New file.
  20442. * gnu/regexp/CharIndexedCharArray.java: Rewritten as an extention of
  20443. gnu.regexp.CharIndexedCharSequence.
  20444. * gnu/regexp/CharIndexedString.java: Likewise.
  20445. * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
  20446. * gnu/regexp/RE.java(makeCharIndexed): Make a new CharIndexed
  20447. using CharIndexedCharSequence. Use setAnchor when the input
  20448. object is already a CharIndexed.
  20449. * java/util/regex/Matcher.java(inputCharIndexed): New field
  20450. to be used as a parameter of the RE#getMatch.
  20451. 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
  20452. * java/awt/image/SampleModel.java: Reformatted.
  20453. 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
  20454. * java/awt/image/ComponentSampleModel.java
  20455. (ComponentSampleModel(int, int, int, int, int[])): Added API
  20456. documentation,
  20457. (ComponentSampleModel(int, int, int, int, int[], int[]): Throw
  20458. IllegalArgumentException for DataBuffer.TYPE_UNDEFINED, take copies
  20459. of the bandOffsets and bankIndices arguments, added API documentation,
  20460. * java/awt/image/SampleModel.java
  20461. (SampleModel(int, int, int, int): Throw IllegalArgumentException for
  20462. unrecognised dataTypes, w * h exceeds Integer.MAX_VALUE, and numBands
  20463. less than or equal to zero, added API documentation.
  20464. 2006-04-04 Lillian Angel <langel@redhat.com>
  20465. * java/util/zip/ZipFile.java
  20466. (getInputStream): Fixed to return size of ZipEntry
  20467. minus the total bytes read. This guarantees that the
  20468. right value is returned even if some bytes have already
  20469. been read.
  20470. 2006-04-04 Thomas Fitzsimmons <fitzsim@redhat.com>
  20471. * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java (messages):
  20472. Remove static modifier.
  20473. 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
  20474. * java/awt/image/ComponentSampleModel.java: Reformatted.
  20475. 2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com>
  20476. * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java: New file.
  20477. * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: Add
  20478. retrieval instructions to javadoc header.
  20479. * javax/imageio/ImageWriteParam.java: Fix javadoc for
  20480. compressionType field.
  20481. * lib/Makefile.am (propertydirs): Add javax directory.
  20482. (propertyfiles): Likewise.
  20483. * resource/javax/imageio/plugins/jpeg/MessagesBundle.properties:
  20484. New file.
  20485. 2006-04-03 Tom Tromey <tromey@redhat.com>
  20486. PR classpath/26971:
  20487. * javax/naming/directory/BasicAttribute.java: Added missing @since.
  20488. (BasicAttributeEnumeration.where): Initialize to 0.
  20489. (BasicAttributeEnumeration.nextElement): Post-increment 'where'.
  20490. 2006-04-03 Lillian Angel <langel@redhat.com>
  20491. PR classpath/24596 and PR classpath/26930
  20492. * java/util/zip/ZipFile.java
  20493. (getInputStream): Override available function for
  20494. InflaterInputStream instance.
  20495. 2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com>
  20496. * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: New file.
  20497. 2006-04-03 Tom Tromey <tromey@redhat.com>
  20498. * javax/security/auth/kerberos/ServicePermission.java: New file.
  20499. * javax/security/auth/kerberos/DelegationPermission.java: New file.
  20500. * javax/security/auth/kerberos/KerberosKey.java: New file.
  20501. * javax/security/auth/kerberos/KeyImpl.java: New file.
  20502. * javax/security/auth/kerberos/KerberosTicket.java: New file.
  20503. * javax/security/auth/kerberos/KerberosPrincipal.java: New file.
  20504. 2006-04-03 Sven de Marothy <sven@physto.se>
  20505. * gnu/java/awt/peer/gtk/GtkClipboard.java: Add support for
  20506. non-GtkImage images.
  20507. 2006-04-03 Mark Wielaard <mark@klomp.org>
  20508. * lib/gen-classlist.sh.in: Use classes.tmp, not classes.2
  20509. as temporary file name.
  20510. 2006-04-03 Dalibor Topic <robilad@kaffe.org>
  20511. * INSTALL: Documented --with-glibj-zip option.
  20512. 2006-04-03 Dalibor Topic <robilad@kaffe.org>
  20513. Fixed all pscan warnings.
  20514. * native/jni/classpath/jcl.c (JCL_ThrowException),
  20515. native/jni/classpath/jcl.h (DBG),
  20516. native/target/generic/target_generic.h (TARGET_NATIVE_LAST_ERROR_STRING_FORMAT),
  20517. native/target/generic/target_generic_misc.h (TARGET_NATIVE_MISC_FORMAT_STRING0):
  20518. Use "%s" format in fprintf and snprintf explicitely when printing a single
  20519. string to prevent format string exploits.
  20520. * native/jni/java-net/javanet.h (DBG): Removed duplicate
  20521. definition. Included jcl.h instead.
  20522. 2006-04-03 Raif S. Naffah <raif@swiftdsl.com.au>
  20523. * tools/gnu/classpath/tools/jarsigner/Main.java: Removed unused imports.
  20524. (provider): Made it protected.
  20525. (providerInstalled): New field.
  20526. (Main): Made it a 0-arguments constructor.
  20527. Removed throws clasue.
  20528. (main): Removed throws clause.
  20529. Call processArgs(args) after constructing instance.
  20530. Call teardown() before existing.
  20531. (processArgs): Added javadoc.
  20532. Reduced to throws Exception.
  20533. (start): Likewise.
  20534. (teardown): New method.
  20535. (setupCommonParams): Added javadoc.
  20536. Install designated provider if not already installed.
  20537. (installNewProvider): New method.
  20538. (setupSigningParams): Added javadoc.
  20539. Instantiate the KeyStore using type only.
  20540. * tools/gnu/classpath/tools/jarsigner/JarSigner.java:
  20541. Removed unused imports.
  20542. (start): Reduced to throws Exception.
  20543. * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
  20544. * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
  20545. Re-organized imports.
  20546. * gnu/java/security/key/KeyPairGeneratorFactory.java (getInstance):
  20547. Test ignoring case.
  20548. (getNames): Add "dsa" as an algorithm provided by this Factory.
  20549. (makeInstance): Construct IllegalArgumentException with 2 arguments.
  20550. 2006-04-03 Roman Kennke <kennke@aicas.com>
  20551. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
  20552. (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
  20553. Replaced g_free() with pango_item_free() to avoid problems
  20554. with the allocator.
  20555. 2006-04-03 Rafael H. Schloming <rafaels@redhat.com>
  20556. Fixes bug #26668
  20557. * java/util/logging/Level.java (parse): Document.
  20558. * java/util/logging/LogManager.java (rootLogger): Removed.
  20559. (LogManager): Just set loggers to new HashMap.
  20560. (getLogManager): Make synchronized. Create and init LogManager if it
  20561. doesn't exist yet.
  20562. (static): Removed block.
  20563. (MANAGER_PROPERTY): New private final string.
  20564. (makeLogManager): Use new property string, move warning to
  20565. createInstance() method.
  20566. (CONFIG_PROPERTY): New private final string.
  20567. (initLogManager): New method.
  20568. (addLogger): Use Logger.root, not rootLogger.
  20569. (findAncestor): Likewise.
  20570. (readConfiguration): Move warning to createInstance() method.
  20571. Add handlers directly to Logger.root. Warn about bad level values.
  20572. (getClassProperty): Use new locateClass() method.
  20573. (getInstanceProperty): Only catch specific newInstance Errors.
  20574. (createInstance): Make private and takes a string to use in warning
  20575. messages. Use new locateClass() method and generate appropriate
  20576. warning message.
  20577. (warn): New methods.
  20578. (locateClass): Locates a class through the context class loader and
  20579. system class loader as backup.
  20580. * java/util/logging/Logger.java (root): New static final field.
  20581. (Logger): Set parent to root.
  20582. (setParent): Directly check root field.
  20583. 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
  20584. * java/util/Collections.java:
  20585. (binarySearch(List, T)): Fixed signature.
  20586. (unmodifiableList(List)): Likewise.
  20587. (UnmodifiableList(List)): Fixed constructor.
  20588. (UnmodifiableRandomAccessList(List)): Likewise.
  20589. (unmodifiableMap(Map)): Fixed signature.
  20590. (UnmodifiableMap(Map)): Fixed constructor.
  20591. (unmodifiableSortedMap(Map)): Fixed signature.
  20592. (UnmodifiableSortedMap(Map)): Fixed constructor.
  20593. 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
  20594. * java/io/ObjectOutputStream.java:
  20595. (writeObject(Object)): Added enum support.
  20596. (writeClassDescriptor(ObjectStreamClass)): Likewise.
  20597. * java/io/ObjectStreamClass.java:
  20598. (isEnum()): New package-private method.
  20599. (setFlags(Class)): Added enum support.
  20600. * java/io/ObjectStreamConstants.java:
  20601. (SC_ENUM): Added.
  20602. 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
  20603. * javax/swing/text/Segment.java:
  20604. (setPosition): Make exception message more verbose.
  20605. * javax/swing/text/WrappedPlainView.java:
  20606. (insertUpdate): Removed unneeded repaint call.
  20607. (changeUpdate): Dito.
  20608. (removeUpdate): Dito.
  20609. (WrappedLine.determineNumLines): Do not return numLines, break
  20610. from loop if no new break point has been calculated.
  20611. (WrappedLine.updateDamage): Rewritten.
  20612. (WrappedLine.insertUpdate): Removed unneeded update code.
  20613. (WrappedLine.removeUpdate): Removed unneeded update code, added
  20614. comment.
  20615. 2006-04-02 Dalibor Topic <robilad@kaffe.org>
  20616. * configure.ac (with-glibj-zip): Added new option.
  20617. * examples/Makefile.am,
  20618. lib/Makefile.am,
  20619. tools/Makefile.am: Adapted build classpath to use glibj.zip,
  20620. in addition to classes in lib directory.
  20621. 2006-04-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  20622. * tools/gnu/classpath/tools/giop/GRMIC.java,
  20623. tools/gnu/classpath/tools/giop/IorParser.java,
  20624. tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
  20625. tools/gnu/classpath/tools/giop/grmic/Generator.java,
  20626. tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
  20627. tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
  20628. tools/gnu/classpath/tools/giop/grmic/HashFinder.java,
  20629. tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
  20630. tools/gnu/classpath/tools/rmi/RMIC.java,
  20631. tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
  20632. tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
  20633. tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java: Removed
  20634. linking exception from the licensing header.
  20635. * tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
  20636. Added licensing header.
  20637. 2006-04-02 Mark Wielaard <mark@klomp.org>
  20638. * tools/Makefile.am (bin_SCRIPTS): Renamed to jarsigner.sh.
  20639. (jarsigner): Removed.
  20640. 2006-04-02 Dalibor Topic <robilad@kaffe.org>
  20641. * configure.ac: don't check for isnan function.
  20642. * native/fdlibm/fdlibm.h: Always use the isnan macro.
  20643. 2006-04-02 Raif S. Naffah <raif@swiftdsl.com.au>
  20644. * configure.ac: Added tools/jarsigner.sh to AC_CONFIG_FILES.
  20645. * tools/Makefile.am: Generate jarsigner shell script.
  20646. * tools/jarsigner.sh.in: New template.
  20647. * tools/.cvsignore: Added jarsigner.sh.
  20648. 2006-04-02 Raif S. Naffah <raif@swiftdsl.com.au>
  20649. * tools/gnu/classpath/tools/jarsigner/HashUtils.java: Use GPL.
  20650. * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
  20651. * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
  20652. * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
  20653. * tools/gnu/classpath/tools/jarsigner/Main.java: Likewise.
  20654. Re-organised imports.
  20655. 2006-04-01 Bernhard Rosenkraenzer <bero@arklinux.org>
  20656. PR classpath/25924:
  20657. * java/awt/image/DirectColorModel.java (extractAndNormalizeSample):
  20658. Handle case where alpha==0.
  20659. 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
  20660. PR #26676
  20661. * javax/swing/text/Utilities.java:
  20662. (getTabbedTextOffset): Added check to decrement pos not below zero,
  20663. changed '>' comparison to '>='.
  20664. * javax/swing/text/WrappedPlainView.java:
  20665. (lineHeight): New field.
  20666. (calculateBreakPosition): Throw InternalError in catch block, removed
  20667. unneeded brackets, use specific version of
  20668. Utilities.getTabbedTextOffset.
  20669. (paint): Set various properties neccessary for drawing.
  20670. (WrappedLine.paint): Removed code to set field of outer class.
  20671. (WrappedLine.modelToView): Removed unneeded expression from
  20672. if-statement.
  20673. (WrappedLine.viewToModel): Initialize end with endOffset - 1, removed
  20674. -1 from return statement, copy only a subset into the Segment, removed
  20675. special handling of mark value - just return it, simplified
  20676. incrementation of currLineStart.
  20677. (WrappedLine.insertUpdate): Recalculate numLines, report preference
  20678. change to parent view.
  20679. (WrappedLine.removeUpdate): Dito.
  20680. 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
  20681. * javax/swing/text/Segment.java:
  20682. (toString): Return empty string when array is null.
  20683. 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
  20684. * javax/swing/plaf/basic/BasicTextUI.java:
  20685. (damageRange): Use SwingUtilities.computeUnion to avoid
  20686. unneccessary Rectangle instantiation.
  20687. 2006-04-01 Tom Tromey <tromey@redhat.com>
  20688. * java/security/cert/Certificate.java (serialVersionUID): Fixed.
  20689. 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
  20690. * javax/swing/text/CompositeView.java: Fixed copyright header.
  20691. * javax/swing/text/BoxView.java: Fixed copyright header.
  20692. * javax/swing/text/WrappedPlainView.java: Fixed copyright header.
  20693. * javax/swing/text/Utilities.java: Fixed copyright header.
  20694. 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
  20695. * javax/swing/text/CompositeView.java:
  20696. (modelToView): Throw BadLocationException when no child
  20697. view can be found, restructed to throw exception as early
  20698. as possible.
  20699. (viewToModel): Use mutable allocation as argument for viewToModel
  20700. call on child view.
  20701. * javax/swing/text/BoxView.java:
  20702. (getViewAtPoint): Call setBounds() r before method returns with
  20703. suitable child view.
  20704. * javax/swing/text/Utilities.java:
  20705. (getPositionBelow): Added try-catch-block around modelToView call,
  20706. added method return when BadLocationException was thrown.
  20707. * javax/swing/text/WrappedPlainView.java:
  20708. (WrappedLine.viewToModel): Changed '<=' to '<' in if-expression,
  20709. added note about meaning of rect.x and rect.width, removed unneeded
  20710. checks, added code to not return the last possible document offset.
  20711. 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
  20712. * javax/swing/text/WrappedPlainView.java:
  20713. (WrappedLine.viewToModel): Change < to <= in if-statement,
  20714. removed addition of currLineStart to return value.
  20715. * javax/swing/text/BoxView.java:
  20716. (getViewAtPoint): Use copy instead of r for method call
  20717. which modifies the second argument.
  20718. 2006-04-01 Mark Wielaard <mark@klomp.org>
  20719. Fixes PR26973
  20720. * java/util/jar/Attributes.java: Fully qualify java.util.Map.
  20721. 2006-03-31 Tom Tromey <tromey@redhat.com>
  20722. * lib/split-for-gcj.sh: Updated for multi-field format.
  20723. * lib/Makefile.am (CLEANFILES): Added classes.2.
  20724. * lib/gen-classlist.sh.in (GCJ): Removed. Create classes.1 and
  20725. classes.2 using multiple fields.
  20726. 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  20727. * javax/swing/JTable.java (columnSelectionChanged):
  20728. Removed print statement.
  20729. * javax/swing/DefaultListSelectionModel.java
  20730. (addSelectionInterval, removeSelectionInterval):
  20731. Fire the difference between selection. (setLeadSelectionIndex):
  20732. Fire the difference and mark current and previous lead
  20733. selection indexes for repaint.
  20734. 2006-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
  20735. * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: Eliminate
  20736. unnecessary copying.
  20737. * javax/imageio/plugins/jpeg/JPEGQTable.java: Likewise.
  20738. 2006-03-31 Lillian Angel <langel@redhat.com>
  20739. * java/awt/Component.java
  20740. (translateEvent): oldKey should be the value of the
  20741. key char.
  20742. 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  20743. * javax/swing/JTable.java (columnSelectionChanged):
  20744. Treat second repaint parameter as width.
  20745. 2006-03-31 Lillian Angel <langel@redhat.com>
  20746. PR classpath/26924
  20747. * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
  20748. (realize): New native function.
  20749. * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h:
  20750. Added new function declaration.
  20751. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
  20752. (realize): New function.
  20753. 2006-03-31 Robert Schuster <robertschuster@fsfe.org>
  20754. * javax/swing/text/GapContent.java:
  20755. (replace): Move all Position instances from gap's end to
  20756. it's start before increasing the gap start.
  20757. * javax/swing/plaf/basic/BasicTextAreaUI.java:
  20758. (propertyChanged): Update the view only instead of
  20759. indicating a document change.
  20760. 2006-03-31 Roman Kennke <kennke@aicas.com>
  20761. * javax/swing/JTextField.java
  20762. (fireActionPerformed): Put the textfields text in the action
  20763. instead of the action name.
  20764. 2006-04-01 Raif S. Naffah <raif@swiftdsl.com.au>
  20765. * tools/gnu/classpath/tools/jarsigner/Main.java (setupCommonParams):
  20766. Check for null jar-file argument.
  20767. (setupSigningParams): Check for null alias argument.
  20768. 2006-03-31 Roman Kennke <kennke@aicas.com>
  20769. * javax/swing/JComponent.java
  20770. (paintChildren): Split up in two cases, depending on the
  20771. optimizedDrawingEnabled flag.
  20772. (paintChildrenWithOverlap): New method. Paints children when
  20773. not optimizedDrawingEnabled. This implements better painting
  20774. algorithm for overlapping components, so that the painted
  20775. regions are minimized.
  20776. (paintChildrenOptimized): New method. Paints children when
  20777. when optimizedDrawingEnabled. This implements a painting
  20778. algorithm that is optimized for the case when all children
  20779. are guaranteed to be tiled.
  20780. 2006-03-31 Raif S. Naffah <raif@swiftdsl.com.au>
  20781. * tools/gnu/classpath/tools/jarsigner/SFHelper.java (updateEntry): Use
  20782. Attributes.putValue(String,String).
  20783. (finishSigning): Likewise.
  20784. * gnu/java/util/jar/JarUtils.java (MANIFEST_VERSION): New constant.
  20785. (SIGNATURE_VERSION): Likewise.
  20786. (readSFManifest): Use local string constant.
  20787. (readMainSection): Likewise.
  20788. (readVersionInfo): Likewise.
  20789. * java/util/jar/Attributes.java (MANIFEST_VERSION):
  20790. Redefined using JarUtils constant.
  20791. (SIGNATURE_VERSION): Likewise.
  20792. (putValue(Name,String)): Made it private.
  20793. 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  20794. * javax/swing/DefaultListSelectionModel.java (fireDifference):
  20795. New method. (clearSelection): Rewritten. (setSelectionInterval):
  20796. Fire the difference between current and new selection.
  20797. * javax/swing/JTable.java (columnSelectionChanged, valueChanged):
  20798. Only repaint the region, where selection has been changed.
  20799. * javax/swing/plaf/basic/BasicTableUI.java
  20800. (TableAction.actionPerformed): Do not change the column selection
  20801. when only row selection change is wanted (and in reverse) and
  20802. do not call the repaint() here.
  20803. 2006-03-31 David Gilbert <david.gilbert@object-refinery.com>
  20804. Fixes bug #26951
  20805. * javax/swing/DefaultComboBoxModel.java
  20806. (DefaultComboBoxModel(Vector)): Call getSize() instead of
  20807. vector.size(),
  20808. (addElement): Call list.addElement() rather than list.add(), and only
  20809. update selected item if it is currently null,
  20810. (removeElementAt): Update selected item, then remove the element.
  20811. 2006-03-31 David Gilbert <david.gilbert@object-refinery.com>
  20812. Fixes bug #26955
  20813. * java/awt/geom/Point2D.java
  20814. (distanceSq(double, double)): Fixed order of arguments,
  20815. (distanceSq(Point2D)): Likewise,
  20816. (distance(double, double)): Likewise,
  20817. (distance(Point2D)): Likewise.
  20818. 2006-03-30 Thomas Fitzsimmons <fitzsim@redhat.com>
  20819. * javax/imageio/plugins/jpeg/JPEGQTable.java: New file.
  20820. * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java
  20821. (ACChrominanceLengths, ACChrominanceValues, ACLuminanceLengths,
  20822. ACLuminanceValues, DCChrominanceLengths, DCChrominanceValues,
  20823. DCLuminanceLengths, DCLuminanceValues): Remove fields.
  20824. 2006-03-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  20825. * javax.swing.JTable (constructor): Initialize column
  20826. model column margin and table row margin before setting the
  20827. table column model. (initialiseLocalVars): Do not call
  20828. setIntercellSpacing.
  20829. 2006-03-30 Chris Burdess <dog@gnu.org>
  20830. * javax/xml/datatype/DatatypeFactory.java (newDurationDayTime): Fix
  20831. method signature.
  20832. * javax/xml/validation/SchemaFactoryLoader.java: New file.
  20833. 2006-03-30 Mark Wielaard <mark@klomp.org>
  20834. PR 26848
  20835. * java/awt/Window.java (dispatchEventImpl): On ComponentEvents
  20836. adjust bounds. On resize invalidate and validate container.
  20837. Always pass on ComponentEvents to Container super class.
  20838. * gnu/java/awt/peer/gtk/GtkFramePeer.java (setBounds): Adjust for
  20839. menuBar and pass to GtkWindowPeer super class.
  20840. (postConfigureEvent): Adjust menu bar width. Adjust y and height
  20841. bounds and pass to GtkWindowPeer super class.
  20842. * gnu/java/awt/peer/gtk/GtkWindowPeer.java (x, y, width, height):
  20843. New fields for local bounds.
  20844. (getX, getY): New methods.
  20845. (getWidth): Don't call into awtComponent.
  20846. (getHeight): Likewise.
  20847. (create): Cache local bounds.
  20848. (setLocation): Documented, made protected and just call
  20849. nativeSetLocation.
  20850. (setLocationUnlocked): Removed unused method.
  20851. (setBoundsUnlocked): Likewise.
  20852. (setBounds): Check whether bounds actually changed and cache local
  20853. bounds.
  20854. (setSize): Documented and made protected.
  20855. (setResizable): Documented and cache local bounds.
  20856. (postConfigureEvent): Update local bounds. Don't call awtComponent
  20857. directly but post ComponentEvents.
  20858. (show): Cache local bounds.
  20859. (getBounds): Override to return cached bounds.
  20860. 2006-03-30 Lillian Angel <langel@redhat.com>
  20861. * gnu/java/awt/peer/gtk/GdkGraphics.java
  20862. (drawImage): Added check to prevent NPE.
  20863. (drawImage): Likewise.
  20864. (drawImage): Likewise.
  20865. * java/awt/Choice.java
  20866. (dispatchEventImpl): New function. selectedIndex was
  20867. not being updated properly otherwise.
  20868. 2006-03-30 Roman Kennke <kennke@aicas.com>
  20869. * javax/swing/JTabbedPane.java
  20870. (removeTabAt): Removed debug code.
  20871. 2006-03-30 Roman Kennke <kennke@aicas.com>
  20872. PR 26045
  20873. * javax/swing/plaf/basic/BasicTextUI.java
  20874. (installKeyboardActions): Simply call getKeymap() and install this.
  20875. (createKeymap): Reimplemented to fetch a keymap from the UIManager.
  20876. 2006-03-30 Roman Kennke <kennke@aicas.com>
  20877. * javax/swing/JTabbedPane.java
  20878. (removeTabAt): Adjust selection correctly when removing a tab
  20879. before the selected tab. Also remove the component from the
  20880. container, not only the tab object. Repaint and revalidate the
  20881. component after the removal.
  20882. (removeAll): Set selection to -1 before removing the tabs.
  20883. 2006-03-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
  20884. * java/io/ObjectInputStream.java:
  20885. (parseContent(byte)): Added enum support.
  20886. * java/io/ObjectStreamConstants.java:
  20887. (TC_ENUM): Added.
  20888. (TC_MAX): Changed to new maximum, TC_ENUM.
  20889. 2006-03-29 Lillian Angel <langel@redhat.com>
  20890. Partial fix for bug #26929
  20891. * gnu/java/awt/peer/gtk/GtkPanelPeer.java
  20892. (updateComponent): Removed. We want to clear the panel
  20893. before painting.
  20894. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
  20895. (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Fixed typo.
  20896. Should set the background to the saved background color.
  20897. 2006-03-29 Mark Wielaard <mark@klomp.org>
  20898. Partial fix for bug #26848 (pack).
  20899. * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setVisible):
  20900. Always show instances of Window.
  20901. 2006-03-29 David Gilbert <david.gilbert@object-refinery.com>
  20902. * javax/swing/JSlider.java
  20903. (setPaintLabels): Only create standard labels if labelTable is null,
  20904. * javax/swing/plaf/basic/BasicSliderUI.java
  20905. (PropertyChangeHandler.propertyChange): Recalculate geometry for
  20906. "paintTicks" property change,
  20907. (calculateThumbSize): Updated API docs,
  20908. (calculateContentRect): Likewise,
  20909. (calculateTrackBuffer): Take into account the lowest and highest
  20910. labels when calculating buffer space,
  20911. (calculateTrackRect): Include labels, if visible, in the calculation of
  20912. the trackRect position,
  20913. (calculateTickRect): Height is zero if ticks are not painted,
  20914. (calculateLabelRect): Use max dimensions of actual labels,
  20915. (getWidthOfHighValueLabel): Use preferred size,
  20916. (getWidthOfLowValueLabel): Likewise,
  20917. (getHeightOfHighValueLabel): Likewise,
  20918. (getHeightOfLowValueLabel): Likewise,
  20919. (drawInverted): Just return slider setting,
  20920. (getHighestValueLabel): Updated API docs,
  20921. (paintTicks): Removed redundant (and buggy) code, replaced with calls
  20922. to xPositionForValue() and yPositionForValue(),
  20923. (paintHorizontalLabel): Removed full qualification of class name,
  20924. (paintVerticalLabel): Likewise,
  20925. (xPositionForValue): Reimplemented,
  20926. (yPositionForValue): Reimplemented,
  20927. * javax/swing/plaf/metal/MetalSliderUI.java
  20928. (paintTrack): Made track one pixel longer.
  20929. 2006-03-29 Tom Tromey <tromey@redhat.com>
  20930. PR gcc/26901:
  20931. * tools/Makefile.am (JCOMPILER): Added encoding options.
  20932. * examples/Makefile.am (JCOMPILER): Added encoding options.
  20933. 2006-03-29 Gary Benson <gbenson@redhat.com>
  20934. Partial fix for PR classpath/24895
  20935. * java/io/FilePermission.java (implies): Canonicalize paths.
  20936. 2006-03-29 Robert Schuster <robertschuster@fsfe.org>
  20937. PR 26888
  20938. * javax/swing/text/GapContent.java:
  20939. (replace): Added call to resetMarksAtZero.
  20940. 2006-03-29 Roman Kennke <kennke@aicas.com>
  20941. PR 23527
  20942. * javax/swing/plaf/basic/BasicMenuItemUI.java
  20943. (cachedRect): New field.
  20944. (BasicMenuItemUI): Initialize cachedRect field.
  20945. (getPreferredMenuItemSize): Use layoutMenuItem() helper method
  20946. to determine layout. Store maximum accelerator and text width
  20947. in client properties of parent to allow correct alignment
  20948. of accelerators among menu items of one menu.
  20949. (paintMenuItem): Outsourced menu item layout into layoutMenuItem
  20950. method. Align accelerators according to the values calculated
  20951. in getPreferredMenuItemSize.
  20952. (getAcceleratorString) New helper method.
  20953. (layoutMenuItem): New helper method.
  20954. 2006-03-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  20955. * gnu/java/rmi/activation/ActivationSystemTransient.java: Rewritten.
  20956. * gnu/java/rmi/activation/BidiTable.java: Rewritten.
  20957. * gnu/java/rmi/dgc/LeaseRenewingTask.java (constructor, sheduleLeases):
  20958. Avoid NPEs.
  20959. * gnu/java/rmi/server/ActivatableServerRef.java (getRefClass,
  20960. readExternal, writeExternal): New methods.
  20961. * gnu/java/rmi/server/UnicastRef.java (invokeCommon): Splitten into
  20962. two stages, invokeCommon(Remote, ...) and
  20963. invokeCommen(UnicastConnection, ...).
  20964. * java/rmi/server/RemoteObject.java (readObject, writeObject): Expect
  20965. also the ActivatableRef. toString(): Documented.
  20966. * gnu/java/rmi/server/ActivatableRef.java,
  20967. tools/gnu/classpath/tools/rmi/Persistent.java,
  20968. tools/gnu/classpath/tools/rmi/PersistentBidiHashTable.java,
  20969. tools/gnu/classpath/tools/rmi/PersistentHashTable.java,
  20970. tools/gnu/classpath/tools/rmi/REGISTRY.java,
  20971. tools/gnu/classpath/tools/rmi/REGISTRY.txt,
  20972. tools/gnu/classpath/tools/rmi/RMID.java,
  20973. tools/gnu/classpath/tools/rmi/RMID.txt,
  20974. tools/gnu/classpath/tools/rmi/registry/RegistryImpl.java,
  20975. tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java,
  20976. tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Stub.java,
  20977. tools/gnu/classpath/tools/rmi/registry/package.html,
  20978. tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl.java,
  20979. tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
  20980. New files.
  20981. * tools/README: Documented.
  20982. * NEWS: Added entry about the activation.
  20983. 2006-03-29 Roman Kennke <kennke@aicas.com>
  20984. PR 23527
  20985. * javax/swing/plaf/basic/BasicMenuItemUI.java
  20986. (viewRect): New field.
  20987. (textRect): New field.
  20988. (accelRect): New field.
  20989. (iconRect): New field.
  20990. (arrowIconRect): New field.
  20991. (checkIconRect): New field.
  20992. (BasicMenuItemUI): Initialize new fields.
  20993. (paintMenuItem): Rewritten to correctly layout and paint
  20994. the menu item in a more straightforward way. Use cached rectangle
  20995. objects for layout.
  20996. (paintAccelerator): Pulled inside the paintMenuItem method.
  20997. 2006-03-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  20998. * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav:
  20999. Do not use initCause with UnexpectedException.
  21000. * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
  21001. Likewise.
  21002. 2006-03-29 Mark Wielaard <mark@klomp.org>
  21003. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
  21004. (setCursorID): Removed unused static variable.
  21005. 2006-03-29 David Gilbert <david.gilbert@object-refinery.com>
  21006. * javax/swing/plaf/basic/BasicSliderUI.java: Reformatted.
  21007. 2006-03-29 Mark Wielaard <mark@klomp.org>
  21008. Fixes bug #26527
  21009. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
  21010. (gtkWidgetSetCursorUnlocked): Call gdk_flush().
  21011. 2006-03-28 Roman Kennke <kennke@aicas.com>
  21012. * javax/swing/UIManager.java
  21013. (installLookAndFeel): Implemented.
  21014. (setInstalledLookAndFeels): Implemented.
  21015. 2006-03-28 Roman Kennke <kennke@aicas.com>
  21016. * javax/swing/plaf/metal/MetalButtonUI.java
  21017. (update): Paint gradient only when the background color
  21018. is not a UIResource and if the button is neither armed nor
  21019. pressed and if the button is contentAreaFilled.
  21020. 2006-03-28 Roman Kennke <kennke@aicas.com>
  21021. * javax/swing/JLayeredPane.java
  21022. (addImpl): Repaint added component.
  21023. 2006-03-28 Ito Kazumitsu <kaz@maczuka.gcd.org>
  21024. * java/util/regex/Matcher.java: Reverted.
  21025. 2006-03-28 Roman Kennke <kennke@aicas.com>
  21026. * javax/swing/text/AsyncBoxView.java
  21027. (setEstimatedMajorSpan): Made method protected.
  21028. (getEstimatedMajorSpan): Made method protected.
  21029. * javax/swing/text/BoxView.java
  21030. (flipEastAndWestAtEnds): Fixed typo.
  21031. * javax/swing/text/InternationalFormatter.java
  21032. (getActions): Made method protected.
  21033. * javax/swing/text/Position.java
  21034. (Bias): Made class final.
  21035. * javax/swing/text/html/HTML.java
  21036. (MEDIA): Made field package private. Not specified.
  21037. (NOBR): Made field package private. Not specified.
  21038. * javax/swing/text/html/NullView.java
  21039. Made class package private.
  21040. * javax/swing/text/html/parser/Entity.java
  21041. Made class non-serializable as specified.
  21042. 2006-03-28 Roman Kennke <kennke@aicas.com>
  21043. * javax/swing/plaf/metal/MetalButtonUI.java
  21044. (update): Don't paint gradient if the background color is
  21045. no UIResource. Removed double getModel() call. Don't check for
  21046. OceanTheme.
  21047. 2006-03-28 Roman Kennke <kennke@aicas.com>
  21048. * javax/swing/plaf/basic/BasicMenuItemUI.java
  21049. (paint): Call paintMenuItem with the selectionBackground as
  21050. parameter.
  21051. (paintBackground): Fixed the condition and color for the background
  21052. painting.
  21053. 2006-03-28 Roman Kennke <kennke@aicas.com>
  21054. * javax/swing/plaf/metal/MetalTabbedPaneUI.java
  21055. (tabsOpaque): New field.
  21056. (paintLeftTabBorder): Paint some parts only when the tabs are
  21057. opaque. Determine the tab background using the paintLeftTabBorder()
  21058. helper method.
  21059. (paintRightTabBorder): Likewise.
  21060. (installDefaults): Fetch tabsOpaque property from the UIDefaults.
  21061. 2006-03-27 Tom Tromey <tromey@redhat.com>
  21062. PR classpath/25189:
  21063. * java/lang/Enum.java (valueOf): Ensure that the named field
  21064. is an enum constant.
  21065. (compareTo): Check class of enum.
  21066. 2006-03-27 Tom Tromey <tromey@redhat.com>
  21067. * java/lang/reflect/ParameterizedType.java: Javadoc fix.
  21068. 2006-03-27 Tom Tromey <tromey@redhat.com>
  21069. * vm/reference/java/lang/reflect/Method.java (METHOD_MODIFIERS):
  21070. New constant.
  21071. (getModifiersInternal): Renamed from getModifiers.
  21072. (getModifiers): New method.
  21073. (isBridge): Likewise.
  21074. (isSynthetic): Likewise.
  21075. (isVarArgs): Likewise.
  21076. * vm/reference/java/lang/reflect/Field.java (FIELD_MODIFIERS):
  21077. New constant.
  21078. (getModifiersInternal): Renamed from getModifiers.
  21079. (getModifiers): New method.
  21080. (isSynthetic): Likewise.
  21081. (isEnumConstant): Likewise.
  21082. * vm/reference/java/lang/reflect/Constructor.java
  21083. (getModifiersInternal): Renamed from getModifiers.
  21084. (getModifiers): New method
  21085. (CONSTRUCTOR_MODIFIERS): New constant.
  21086. (isSynthetic): New method.
  21087. (isVarArgs): Likewise.
  21088. * java/lang/reflect/Member.java (isSynthetic): New method.
  21089. 2006-03-28 Tom Tromey <tromey@redhat.com>
  21090. * java/net/Proxy.java (TYPE): Added missing ";".
  21091. 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
  21092. * java/math/RoundingMode.java:
  21093. Fixed serialization UID.
  21094. * java/net/Proxy.java:
  21095. (Type): Likewise.
  21096. 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
  21097. * java/io/CharArrayWriter.java:
  21098. (append(char)): Documented.
  21099. (append(CharSequence)): Likewise.
  21100. (append(CharSequence,int,int)): Likewise.
  21101. 2006-03-27 Jeroen Frijters <jeroen@frijters.net>
  21102. * vm/reference/java/lang/reflect/Constructor.java
  21103. (getTypeParameters): Check return value of getSignature for null.
  21104. * vm/reference/java/lang/reflect/Method.java
  21105. (getTypeParameters): Check return value of getSignature for null.
  21106. 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
  21107. * java/rmi/activation/ActivationGroup_Stub.java:
  21108. Made final.
  21109. 2006-03-27 Tom Tromey <tromey@redhat.com>
  21110. * java/io/CharArrayWriter.java (append): New overloads.
  21111. 2006-03-27 Lillian Angel <langel@redhat.com>
  21112. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
  21113. (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeDispose):
  21114. Added check for colormap. Prevents assertion error.
  21115. (Java_gnu_java_awt_peer_gtk_GdkGraphics_setFGColor):
  21116. Likewise.
  21117. (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeCopyState):
  21118. Likewise.
  21119. (Java_gnu_java_awt_peer_gtk_GdkGraphics_initState__II):
  21120. Likewise.
  21121. (Java_gnu_java_awt_peer_gtk_GdkGraphics_initFromImage):
  21122. Likewise.
  21123. (Java_gnu_java_awt_peer_gtk_GdkGraphics_initStateUnlocked):
  21124. Likewise.
  21125. 2006-03-27 Dalibor Topic <robilad@kaffe.org>
  21126. * m4/acinclude.m4 (CLASSPATH_FIND_JAVAC): Use
  21127. AC_MSG_ERROR instead of echoing the error message
  21128. that no compiler has been found manually.
  21129. 2006-03-27 Roman Kennke <kennke@aicas.com>
  21130. * javax/swing/RepaintManager.java
  21131. (commitBuffer): Use simple drawImage() method instead of the
  21132. scaling version.
  21133. 2006-03-27 Robert Schuster <robertschuster@fsfe.org>
  21134. * javax/swing/text/PlainView.java:
  21135. (drawLine): Use 'endOffset' instead of 'selectionEnd'
  21136. for painting the selected line.
  21137. 2006-03-27 David Gilbert <david.gilbert@object-refinery.com>
  21138. * javax/swing/plaf/basic/BasicSliderUI.java
  21139. (getThumbSize): Removed TODO and updated API docs.
  21140. 2006-03-27 Robert Schuster <robertschuster@fsfe.org>
  21141. * javax/swing/text/DefaultCaret.java:
  21142. (mouseClicked): Word selection rewritten.
  21143. (paint): Draw line inside the bounding rectangle.
  21144. (damage): Retrieve caret height from line height.
  21145. 2006-03-28 Raif S. Naffah <raif@swiftdsl.com.au>
  21146. * tools/gnu/classpath/tools/jarsigner/Main.java (processArgs): Check
  21147. for null args.
  21148. Check for -help option.
  21149. * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Added -help option.
  21150. 2006-03-27 Roman Kennke <kennke@aicas.com>
  21151. * javax/swing/text/FieldView.java
  21152. (getPreferredSpan): Don't include trailing newline in
  21153. calculations.
  21154. * javax/swing/text/PlainView.java
  21155. (drawLine): Don't include trailing newline.
  21156. (determineMaxLineLength): Don't include trailing newline.
  21157. (getLineBuffer): Made method final.
  21158. 2006-03-27 David Gilbert <david.gilbert@object-refinery.com>
  21159. * javax/swing/JSlider.java
  21160. (AccessibleJSlider.AccessibleJSlider): Minor API doc edit,
  21161. (AccessibleJSlider.getAccessibleRole): Removed declaration of
  21162. NotImplementedException,
  21163. (AccessibleJSlider.getAccessibleValue): Updated API docs.
  21164. 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
  21165. * java/lang/ProcessBuilder.java:
  21166. Made final.
  21167. 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
  21168. * gnu/java/net/protocol/http/Headers.java:
  21169. Match layout of file on HEAD.
  21170. * gnu/javax/swing/text/html/parser/htmlValidator.java:
  21171. Likewise.
  21172. * java/awt/datatransfer/DataFlavor.java
  21173. Likewise.
  21174. 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
  21175. * gnu/java/security/jce/hash/HavalSpi.java,
  21176. * gnu/java/security/jce/hash/MD2Spi.java,
  21177. * gnu/java/security/jce/hash/MD4Spi.java,
  21178. * gnu/java/security/jce/hash/MD5Spi.java,
  21179. * gnu/java/security/jce/hash/MessageDigestAdapter.java,
  21180. * gnu/java/security/jce/hash/RipeMD128Spi.java,
  21181. * gnu/java/security/jce/hash/RipeMD160Spi.java,
  21182. * gnu/java/security/jce/hash/Sha160Spi.java,
  21183. * gnu/java/security/jce/hash/Sha256Spi.java,
  21184. * gnu/java/security/jce/hash/Sha384Spi.java,
  21185. * gnu/java/security/jce/hash/Sha512Spi.java,
  21186. * gnu/java/security/jce/hash/TigerSpi.java,
  21187. * gnu/java/security/jce/hash/WhirlpoolSpi.java,
  21188. * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
  21189. * gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
  21190. * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
  21191. * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
  21192. * gnu/java/security/jce/sig/SignatureAdapter.java,
  21193. * gnu/java/security/key/IKeyPairCodec.java,
  21194. * gnu/java/security/key/IKeyPairGenerator.java,
  21195. * gnu/java/security/key/KeyPairGeneratorFactory.java,
  21196. * gnu/java/security/key/dss/DSSKey.java,
  21197. * gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
  21198. * gnu/java/security/key/dss/DSSPrivateKey.java,
  21199. * gnu/java/security/key/dss/DSSPublicKey.java,
  21200. * gnu/java/security/key/dss/FIPS186.java,
  21201. * gnu/java/security/key/rsa/GnuRSAKey.java,
  21202. * gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
  21203. * gnu/java/security/key/rsa/GnuRSAPublicKey.java,
  21204. * gnu/java/security/sig/ISignature.java,
  21205. * gnu/java/security/sig/ISignatureCodec.java,
  21206. * gnu/java/security/sig/dss/DSSSignature.java,
  21207. * gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
  21208. * gnu/java/security/sig/rsa/RSAPSSSignature.java,
  21209. * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
  21210. * gnu/java/security/util/Util.java:
  21211. Remove CVS revision tags.
  21212. 2006-03-26 Tom Tromey <tromey@redhat.com>
  21213. * java/io/InputStream.java (InputStream): Implements Closeable.
  21214. 2006-03-26 Ito Kazumitsu <kaz@maczuka.gcd.org>
  21215. * gnu/regexp/CharIndexed.java(setLastMatch, getLastMatch, getAnchor):
  21216. New methods.
  21217. * gnu/regexp/CharIndexedCharArray.java(setLastMatch, getLastMatch,
  21218. getAnchor): New methods.
  21219. * gnu/regexp/CharIndexedInputStream.java(setLastMatch, getLastMatch,
  21220. getAnchor): New methods.
  21221. * gnu/regexp/CharIndexedString.java(setLastMatch, getLastMatch,
  21222. getAnchor): New methods.
  21223. * gnu/regexp/CharIndexedStringBuffer.java(setLastMatch, getLastMatch,
  21224. getAnchor): New methods.
  21225. * gnu/regexp/REMatch.java(start1): New field.
  21226. * gnu/regexp/RE.java(initialize): Added support for \z and \G,
  21227. (match): set the starting position to start1[] instead of start[],
  21228. (getMatchImpl): Set the found REMatch to the input,
  21229. (makeCharIndexed): Made public.
  21230. * gnu/regexp/RETokenEndOfPreviousMatch.java: New file.
  21231. * gnu/regexp/RETokenEndSub.java(matchThis, findMatch):
  21232. set the value of start[] copying from start1[].
  21233. * gnu/regexp/RETokenLookBehind.java(matchThis): Added the settings of
  21234. offset.
  21235. * java/util/regex/Matcher.java(inputCharIndexed): New field
  21236. to be used as a parameter of the RE#getMatch.
  21237. 2006-03-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  21238. * gnu/java/rmi/activation/DefaultActivationGroup.java:
  21239. Documented the default jre spawning strategy (none).
  21240. * java/rmi/activation/ActivationGroup.java (currentGroupId,
  21241. getSystem): Obtain the acticivation system from the
  21242. DefaultActivationSystem.
  21243. 2006-03-26 Raif S. Naffah <raif@swiftdsl.com.au>
  21244. * tools/gnu/classpath/tools/jarsigner/Main.java (setupSigningParams):
  21245. Ask user for keystore password if one was not provided.
  21246. 2006-03-26 Raif S. Naffah <raif@swiftdsl.com.au>
  21247. * tools/README: Added Security tools section.
  21248. Documented the jarsigner tool.
  21249. 2006-03-25 David Gilbert <david.gilbert@object-refinery.com>
  21250. * javax/swing/JScrollBar.java
  21251. (AccessibleJScrollBar.getAccessibleStateSet): Implemented,
  21252. (AccessibleJScrollBar.getAccessibleRole): Likewise,
  21253. (AccessibleJScrollBar.getAccessibleValue): Likewise,
  21254. (AccessibleJScrollBar.getCurrentAccessibleValue): Likewise,
  21255. (AccessibleJScrollBar.setCurrentAccessibleValue): Likewise,
  21256. (AccessibleJScrollBar.getMinimumAccessibleValue): Likewise,
  21257. (AccessibleJScrollBar.getMaximumAccessibleValue): Likewise,
  21258. (getAccessibleContext): Updated API docs.
  21259. 2006-03-25 Tom Tromey <tromey@redhat.com>
  21260. * .externalToolBuilders/CreateLocaleData.launch: Run if resource files
  21261. change or if generator script changes.
  21262. 2006-03-25 Tom Tromey <tromey@redhat.com>
  21263. * javax/naming/ldap/StartTlsRequest.java: New file.
  21264. * javax/naming/ldap/StartTlsResponse.java: New file.
  21265. 2006-03-25 Olivier Jolly <olivier.jolly@pcedev.com>
  21266. * java/net/URLClassLoader.java (FileURLLoader.getResource): Added test
  21267. to validate all components of a resource path.
  21268. (FileURLLoader.walkPathComponents): Helper which ensures that we are
  21269. allowed to walk through every component of a resource path.
  21270. 2006-03-25 Michael Koch <konqueror@gmx.de>
  21271. * NEWS: Added item for CLDR 1.3 update.
  21272. 2006-03-25 Michael Koch <konqueror@gmx.de>
  21273. * resource/gnu/java/locale/LocaleInformation_ar_IN.properties,
  21274. resource/gnu/java/locale/LocaleInformation_ar_IQ.properties,
  21275. resource/gnu/java/locale/LocaleInformation_ar_KW.properties,
  21276. resource/gnu/java/locale/LocaleInformation_ar_LY.properties,
  21277. resource/gnu/java/locale/LocaleInformation_mn_MN.properties,
  21278. resource/gnu/java/locale/LocaleInformation_uz_AF.properties:
  21279. Removed locales.
  21280. 2006-03-25 Michael Koch <konqueror@gmx.de>
  21281. * resource/gnu/java/locale/LocaleInformation_az.properties,
  21282. resource/gnu/java/locale/LocaleInformation_bs.properties,
  21283. resource/gnu/java/locale/LocaleInformation_byn.properties,
  21284. resource/gnu/java/locale/LocaleInformation_byn_ER.properties,
  21285. resource/gnu/java/locale/LocaleInformation_el_CY.properties,
  21286. resource/gnu/java/locale/LocaleInformation_gez.properties,
  21287. resource/gnu/java/locale/LocaleInformation_gez_ER.properties,
  21288. resource/gnu/java/locale/LocaleInformation_gez_ET.properties,
  21289. resource/gnu/java/locale/LocaleInformation_haw.properties,
  21290. resource/gnu/java/locale/LocaleInformation_haw_US.properties,
  21291. resource/gnu/java/locale/LocaleInformation_kok.properties,
  21292. resource/gnu/java/locale/LocaleInformation_kok_IN.properties,
  21293. resource/gnu/java/locale/LocaleInformation_sid.properties,
  21294. resource/gnu/java/locale/LocaleInformation_sid_ET.properties,
  21295. resource/gnu/java/locale/LocaleInformation_sl_SI.properties,
  21296. resource/gnu/java/locale/LocaleInformation_sr_BA_Cyrl.properties,
  21297. resource/gnu/java/locale/LocaleInformation_sr_BA_Latn.properties,
  21298. resource/gnu/java/locale/LocaleInformation_sr_Cyrl.properties,
  21299. resource/gnu/java/locale/LocaleInformation_syr.properties,
  21300. resource/gnu/java/locale/LocaleInformation_syr_SY.properties,
  21301. resource/gnu/java/locale/LocaleInformation_tig.properties,
  21302. resource/gnu/java/locale/LocaleInformation_tig_ER.properties,
  21303. resource/gnu/java/locale/LocaleInformation_uz_AF_Arab.properties,
  21304. resource/gnu/java/locale/LocaleInformation_uz_Arab.properties,
  21305. resource/gnu/java/locale/LocaleInformation_uz_Latn.properties,
  21306. resource/gnu/java/locale/LocaleInformation_wal.properties,
  21307. resource/gnu/java/locale/LocaleInformation_wal_ET.properties:
  21308. New locales.
  21309. 2006-03-25 Michael Koch <konqueror@gmx.de>
  21310. * resource/gnu/java/locale/LocaleInformation_fa.properties,
  21311. resource/gnu/java/locale/LocaleInformation_kn.properties,
  21312. resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
  21313. resource/gnu/java/locale/LocaleInformation_ko.properties,
  21314. resource/gnu/java/locale/LocaleInformation_sl.properties,
  21315. resource/gnu/java/locale/LocaleInformation_so.properties,
  21316. resource/gnu/java/locale/LocaleInformation_so_DJ.properties,
  21317. resource/gnu/java/locale/LocaleInformation_so_ET.properties,
  21318. resource/gnu/java/locale/LocaleInformation_so_SO.properties,
  21319. resource/gnu/java/locale/LocaleInformation_sr.properties:
  21320. Random fixes I forgot to commit before.
  21321. 2006-03-25 Michael Koch <konqueror@gmx.de>
  21322. * resource/gnu/java/locale/LocaleInformation_ar_JO.properties,
  21323. resource/gnu/java/locale/LocaleInformation_ar_QA.properties,
  21324. resource/gnu/java/locale/LocaleInformation_ar_SA.properties,
  21325. resource/gnu/java/locale/LocaleInformation_ar_SY.properties,
  21326. resource/gnu/java/locale/LocaleInformation_ar_TN.properties,
  21327. resource/gnu/java/locale/LocaleInformation_ar_YE.properties,
  21328. resource/gnu/java/locale/LocaleInformation_as_IN.properties,
  21329. resource/gnu/java/locale/LocaleInformation_be_BY.properties,
  21330. resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
  21331. resource/gnu/java/locale/LocaleInformation_en.properties,
  21332. resource/gnu/java/locale/LocaleInformation_en_IN.properties,
  21333. resource/gnu/java/locale/LocaleInformation_en_PK.properties,
  21334. resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
  21335. resource/gnu/java/locale/LocaleInformation_es_PY.properties,
  21336. resource/gnu/java/locale/LocaleInformation_fa.properties,
  21337. resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
  21338. resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
  21339. resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
  21340. resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
  21341. resource/gnu/java/locale/LocaleInformation_ja_JP.properties,
  21342. resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
  21343. resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
  21344. resource/gnu/java/locale/LocaleInformation_or_IN.properties,
  21345. resource/gnu/java/locale/LocaleInformation_pa.properties,
  21346. resource/gnu/java/locale/LocaleInformation_pa_IN.properties,
  21347. resource/gnu/java/locale/LocaleInformation_ps_AF.properties,
  21348. resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
  21349. resource/gnu/java/locale/LocaleInformation_sa.properties,
  21350. resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
  21351. resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
  21352. resource/gnu/java/locale/LocaleInformation_te_IN.properties:
  21353. Updated currency formats.
  21354. 2006-03-25 Roman Kennke <kennke@aicas.com>
  21355. * javax/swing/text/AbstractDocument.java
  21356. (getAttributeContext): Made method final.
  21357. (getCurrentWriter): Likewise.
  21358. (getEndPosition): Likewise.
  21359. (getProperty): Likewise.
  21360. (getStartPosition): Likewise.
  21361. (putProperty): Likewise.
  21362. (readLock): Likewise.
  21363. (readUnlock): Likewise.
  21364. (writeLock): Likewise.
  21365. (writeUnlock): Likewise.
  21366. 2006-03-25 Roman Kennke <kennke@aicas.com>
  21367. * javax/swing/InputMap.java
  21368. (allKeys): Check if parent keys is null.
  21369. * javax/swing/KeyboardManager.java
  21370. (registerEntireMap): Also register map's parent keys.
  21371. * javax/swing/plaf/metal/MetalRootPaneUI.java
  21372. (propertyChange): Also call super.propertyChange().
  21373. 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
  21374. * tools/gnu/classpath/tools/jarsigner/HashUtils.java: New file.
  21375. * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
  21376. * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
  21377. * tools/gnu/classpath/tools/jarsigner/Main.java (Main): Likewise.
  21378. * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
  21379. * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Likewise.
  21380. 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
  21381. * gnu/java/util/jar/JarUtils.java: New file.
  21382. * java/util/jar/Manifest.java (CRLF): Removed.
  21383. (read_main_section): Likewise.
  21384. (read_version_info): Likewise.
  21385. (expect_header(String,BufferedReader)): Likewise.
  21386. (expect_header(String,BufferedReader,String)): Likewise.
  21387. (read_header_value): Likewise.
  21388. (read_attributes): Likewise.
  21389. (read_attribute): Likewise.
  21390. (read_individual_sections): Likewise.
  21391. (read_section_name): Likewise.
  21392. (write_main_section): Likewise.
  21393. (write_version_info): Likewise.
  21394. (write_header): Likewise.
  21395. (write_main_attributes): Likewise.
  21396. (write_attribute_entry): Likewise.
  21397. (write_individual_sections): Likewise.
  21398. (write_entry_attributes): Likewise.
  21399. (read): use JarUtils.
  21400. (write): Likewise.
  21401. 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
  21402. * gnu/java/security/pkcs/SignerInfo.java (log): New field.
  21403. (DEBUG): Removed.
  21404. (debug): Likewise.
  21405. (SignerInfo(BERReader)): Updated javadoc.
  21406. Use JDK logging.
  21407. (SignerInfo(X500Principal,BigInteger,OID,byte[],OID,byte[],byte[])):
  21408. New constructor.
  21409. (encode): New method.
  21410. * gnu/java/security/pkcs/PKCS7SignedData.java (log): New field.
  21411. (PKCS7_DATA): Removed.
  21412. (DEBUG): Likewise.
  21413. (debug): Likewise.
  21414. (PKCS7SignedData(BERReader)): Updated javadoc.
  21415. Use JDK logging.
  21416. (PKCS7SignedData(Set,PKCS7Data,Certificate[],X509CRL[],Set)): New
  21417. constructor.
  21418. (encode): New method.
  21419. * gnu/java/security/pkcs/PKCS7Data.java: New file.
  21420. * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java (log): New field.
  21421. (encodePrivateKey): Encode x (private MPN) as an OCTET STRING.
  21422. (decodePrivateKey): Decode x from an OCTET STRING.
  21423. * gnu/java/security/key/dss/DSSPublicKey.java (str): New field.
  21424. (toString): New method.
  21425. * gnu/java/security/key/dss/DSSPrivateKey.java (DEBUG): New field.
  21426. (str): Likewise.
  21427. (toString): New method.
  21428. * gnu/java/security/key/dss/DSSKey.java (str): New Field.
  21429. (toString): New method.
  21430. * gnu/java/security/provider/DSAParameterGenerator.java: Removed.
  21431. 2006-03-25 Roman Kennke <kennke@aicas.com>
  21432. * java/util/GregorianCalender.java
  21433. (computeTime): Fix comparison to correctly calculate the
  21434. calendar.
  21435. 2006-03-25 Wolfgang Baer <WBaer@gmx.de>
  21436. Fixes bug #26837
  21437. * java/awt/Window.java:
  21438. (setFocusCycleRoot): New overriden method.
  21439. (isFocusCycleRoot): Likewise.
  21440. (getFocusCycleRootAncestor): Likewise.
  21441. * java/awt/Container.java:
  21442. (getFocusTraversalPolicy): Check also for anchestor == null.
  21443. 2006-03-25 Mark Wielaard <mark@klomp.org>
  21444. Fixes bug #26863 reported by John K Peterson <johnandtina@byu.net>
  21445. * gnu/java/util/prefs/NodeWriter.java (writeRoot): Don't immediately
  21446. close root tag.
  21447. 2006-03-24 Tom Tromey <tromey@redhat.com>
  21448. * javax/imageio/stream/ImageOutputStreamImpl.java (writeBytes):
  21449. Rewrote.
  21450. (writeChar): Removed useless cast.
  21451. (writeChars(String)): Implemented.
  21452. (writeDouble): Rewrote.
  21453. (writeFloat): Likewise.
  21454. (writeUTF): Implemented.
  21455. * javax/imageio/stream/ImageInputStreamImpl.java (byteOrder): Default
  21456. to big endian.
  21457. 2006-03-24 Roman Kennke <kennke@aicas.com>
  21458. * javax/swing/JButton.java
  21459. (def): Replaced field with defaultCapable field.
  21460. (is_def): Removed field.
  21461. (JButton): Initialize defaultCapable with true.
  21462. (isDefaultButton): Documented and implemented method by querying
  21463. the button's root pane if present.
  21464. (isDefaultCapable): Changed def field to defaultCapable.
  21465. Added documentation.
  21466. (paramString): Call isDefaultButton() instead of accessing field,
  21467. which got removed.
  21468. (setDefaultCapable): Changed def field to defaultCapable.
  21469. Added documentation.
  21470. * javax/swing/JRootPane.java
  21471. (setDefaultButton): Only change the default button if the
  21472. new button is defaultCapable.
  21473. * javax/swing/plaf/basic/BasicRootPaneUI.java
  21474. (DefaultPressAction): New class.
  21475. (DefaultReleaseAction): New class.
  21476. (installKeyboardActions): Implemented.
  21477. (uninstallKeyboardActions): Implemented.
  21478. (propertyChange): Implemented.
  21479. * javax/swing/plaf/metal/MetalBorders.java
  21480. (ButtonBorder.paintBorder): 'Outsourced' default theme
  21481. painting to paintDefaultButtonBorder().
  21482. (ButtonBorder.paintDefaultButtonBorder): New helper method
  21483. to paint the border in the default theme. This also fixes
  21484. painting of the border for default buttons.
  21485. (ButtonBorder.paintOceanButtonBorder): Added support for
  21486. default button painting. Fixed border for pressed/default state.
  21487. * javax/swing/plaf/metal/MetalButtonUI.java
  21488. (update): Only paint gradient when in OceanTheme and when the
  21489. button is not armed.
  21490. 2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  21491. * gnu/java/rmi/activation/ActivationSystemTransient.java:
  21492. Inherit from Activator.
  21493. 2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  21494. * gnu/java/rmi/activation/DefaultActivationGroup.java (newInstance):
  21495. Print debug message if debug flag is set.
  21496. * gnu/java/rmi/activation/DefaultActivationSystem.java: Rewritten.
  21497. * gnu/java/rmi/server/ActivatableServerRef.java (activate): assign
  21498. detail, do not call iniCause(). (exportClass): New method.
  21499. * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
  21500. Ignore null (bootstrap) class loader.
  21501. * gnu/java/rmi/server/UnicastServerRef.java (methods, skel, stub,
  21502. buildMethodHash, findStubSkelClass, getHelperClass): Changed
  21503. visibility to protected.
  21504. * java/rmi/activation/Activatable.java (export, register): Rewritten.
  21505. (toStub): New method.
  21506. * java/rmi/activation/ActivationGroup.java (getSystem): Rewritten.
  21507. * java/rmi/activation/ActivationSystem.java (SYSTEM_PORT):
  21508. Explained property java.rmi.activation.port.
  21509. 2006-03-24 Tom Tromey <tromey@redhat.com>
  21510. * .externalToolBuilders/CreateLocaleData.launch: Updated.
  21511. * gnu/java/locale/.cvsignore: New file.
  21512. * lib/Makefile.am (LocaleData.java): Put in gnu/java/locale.
  21513. * java/util/Locale.java (getAvailableLocales): Clone result.
  21514. (getISOCountries): Likewise.
  21515. (getISOLanguages): Likewise.
  21516. * scripts/generate-locale-list.sh: Make class public. Added new
  21517. array.
  21518. * gnu/java/locale/LocaleHelper.java (getCollatorLocales): New method.
  21519. (getLocaleCount): Likewise.
  21520. * java/text/Collator.java (getInstance): Javadoc typo fix.
  21521. (getAvailableLocales): Wrote.
  21522. 2006-03-24 Roman Kennke <kennke@aicas.com>
  21523. * javax/swing/JTabbedPane.java
  21524. (getSelectedComponent): Return null when no component is
  21525. selected.
  21526. 2006-03-24 Mark Wielaard <mark@klomp.org>
  21527. * NEWS: Add cursor and selection improvements.
  21528. 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
  21529. * java/awt/Component.java
  21530. (getAccessibleName): Just return accessibleName,
  21531. * javax/swing/AbstractButton.java
  21532. (getAccessibleStateSet): Mark as stub,
  21533. (getAccessibleName): Implemented,
  21534. (getAcessibleIcon): Mark as stub,
  21535. (getAccessibleRelationSet): Likewise,
  21536. (getAccessibleAction): Likewise,
  21537. (getAccessibleValue): Likewise,
  21538. (getAccessibleActionCount): Likewise,
  21539. (getAccessibleActionDescription): Likewise,
  21540. (doAccessibleAction): Likewise,
  21541. (getCurrentAccessibleValue): Likewise,
  21542. (setCurrentAccessibleValue): Likewise,
  21543. (getMinimumAccessibleValue): Likewise,
  21544. (getMaximumAccessibleValue): Likewise,
  21545. (getAccessibleText): Likewise,
  21546. (getIndexAtPoint): Likewise,
  21547. (getCharacterBounds): Likewise,
  21548. (getCharCount): Likewise,
  21549. (getCaretPosition): Likewise,
  21550. (getAtIndex): Likewise,
  21551. (getAfterIndex): Likewise,
  21552. (getBeforeIndex): Likewise,
  21553. (getCharacterAttribute): Likewise,
  21554. (getSelectionStart): Likewise,
  21555. (getSelectionEnd): Likewise,
  21556. (getSelectedText): Likewise,
  21557. (getTextRectangle): Likewise,
  21558. (setIconTextGap): Fire PropertyChangeEvent, not state changed,
  21559. (getIconTextGap): Added @since 1.4,
  21560. (setContentAreaFilled): Reordered code to make event sequence match
  21561. reference implementation,
  21562. * javax/swing/JButton.java
  21563. (getSelectedObjects): Removed,
  21564. *javax/swing/JComponent.java
  21565. (getAccessibleName): Call super.
  21566. 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
  21567. * javax/swing/JProgressBar.java
  21568. (AccessibleJProgressBar.getAccessibleStateSet): Implemented,
  21569. (AccessibleJProgressBar.getAccessibleRole): Added API docs,
  21570. (AccessibleJProgressBar.getAccessibleValue): Implemented,
  21571. (AccessibleJProgressBar.getCurrentAccessibleValue): Likewise,
  21572. (AccessibleJProgressBar.setCurrentAccessibleValue): Likewise,
  21573. (AccessibleJProgressBar.getMinimumAccessibleValue): Likewise,
  21574. (AccessibleJProgressBar.getMaximumAccessibleValue): Likewise,
  21575. (getAccessibleContext): Added API docs.
  21576. 2006-03-23 Robert Schuster <robertschuster@fsfe.org>
  21577. * javax/swing/plaf/basic/BasicTextUI.java:
  21578. (FocusListener.focusLost): Put current selection into the system
  21579. clipboard.
  21580. 2006-03-23 Robert Schuster <robertschuster@fsfe.org>
  21581. * java/awt/Component.java:
  21582. (processMouseEvent): Remove call to consume event.
  21583. (dispatchEventImpl): Handle specific events first, do focus request
  21584. only when mouse event was not yet consumed.
  21585. * javax/swing/text/DefaultCaret.java:
  21586. (mousePressed): Rewritten.
  21587. (setDot): Changed order of operations.
  21588. (moveDot): Dito.
  21589. 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
  21590. * javax/swing/JComponent.java
  21591. (AccessibleJComponent.changeSupport): Removed field,
  21592. (AccessibleJComponent.AccessibleJComponent): Updated for removed field,
  21593. (AccessibleJComponent.addPropertyChangeListener): Call super,
  21594. (AccessibleJComponent.removePropertyChangeListener): Likewise,
  21595. * javax/swing/JSlider.java
  21596. (AccessibleJSlider.getAccessibleStateSet): Implemented,
  21597. (AccessibleJSlider.getAccessibleRole): Likewise,
  21598. (AccessibleJSlider.getAccessibleValue): Likewise,
  21599. (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
  21600. (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
  21601. (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
  21602. (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
  21603. (getAccessibleContext): Added API docs.
  21604. 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  21605. * gnu/java/rmi/activation/ActivationSystemTransient.java
  21606. (debug): Made public. (constructor): Made protected.
  21607. (activate, getActivationDesc): Throw more informative exceptions.
  21608. * gnu/java/rmi/server/UnicastConnectionManager.java (toString):
  21609. New method.
  21610. * gnu/java/rmi/server/UnicastRef.java (remoteToString):
  21611. Stub, implemented.
  21612. * gnu/java/rmi/server/UnicastServer.java (incomingMessageCall):
  21613. Documented.
  21614. * gnu/java/rmi/server/UnicastServerRef.java (incomingMessageCall):
  21615. Better exception.
  21616. * java/rmi/activation/Activatable.java (obtainId): Use the activation
  21617. system, passed in the activation descriptor field.
  21618. * java/rmi/activation/ActivationGroup.java (createGroup): Likewise.
  21619. * java/rmi/activation/ActivationGroupID.java (system, uid): Changed
  21620. to package private final. (equals): Compare uid, not the system.
  21621. (hashCode): Forward to uid.hashCode(). toString(): New method.
  21622. * java/rmi/activation/ActivationID.java (readObject, writeObject):
  21623. Rewritten. (equals): Compare UID only. toString(): New method.
  21624. * java/rmi/server/ObjID.java (eq): New method. (equals): Compare also
  21625. UID (space). (hashCode, toString): Rewritten.
  21626. * java/rmi/server/RemoteObjectInvocationHandler.java (noArgs):
  21627. New method. (invoke): Treat null as an empty array for parameters.
  21628. * java/rmi/server/UID.java (toString): Rewritten. (hashCode):
  21629. Include count, do not include the static machineId.
  21630. 2006-03-23 Tom Tromey <tromey@redhat.com>
  21631. * java/net/URLConnection.java (getContent(Class[])): Implemented.
  21632. 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  21633. * tools/gnu/classpath/tools/giop/GRMIC.java (main): Accept -force.
  21634. * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain -force.
  21635. * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
  21636. (force): New field. (setForce): New method. (compile): Handle -force.
  21637. * tools/gnu/classpath/tools/rmi/RMIC.java (main): Accept -force.
  21638. * tools/gnu/classpath/tools/rmi/RMIC.txt: Explain -force.
  21639. 2006-03-23 Roman Kennke <kennke@aicas.com>
  21640. * javax/swing/JTabbedPane.java
  21641. (Page.getBackground): Return the JTabbedPane's background,
  21642. rather than the page's component background.
  21643. (Page.getForeground): Return the JTabbedPane's foreground,
  21644. rather than the page's component foreground.
  21645. * javax/swing/plaf/basic/BasicTabbedPaneUI.java
  21646. (uninstallUI): Don't set colors to null.
  21647. * javax/swing/plaf/metal/MetalTabbedPaneUI.java
  21648. (paintTabBackground): Correctly determine the tab background.
  21649. (getUnselectedBackground): New helper method to
  21650. handle the UI property 'TabbedPane.unselectedBackground'
  21651. correctly.
  21652. 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  21653. * javax/swing/plaf/basic/BasicInternalFrameUI.java
  21654. (BorderListener.showingResizeCursor): New field.
  21655. (BorderListener.mouseMoved, BorderListner.mouseExited):
  21656. Implemented.
  21657. 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
  21658. * javax/swing/JComboBox.java
  21659. (selectWithKeyChar): Mark as stub,
  21660. * javax/swing/JFileChooser.java
  21661. (setDragEnabled): Mark as stub,
  21662. (getDragEnabled): Likewise,
  21663. * javax/swing/JSlider.java
  21664. (AccessibleJSlider.getAccessibleStateSet): Mark as stub,
  21665. (AccessibleJSlider.getAccessibleRole): Likewise,
  21666. (AccessibleJSlider.getAccessibleValue): Likewise,
  21667. (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
  21668. (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
  21669. (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
  21670. (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
  21671. * javax/swing/UIManager.java
  21672. (installLookAndFeel): Mark as stub,
  21673. (setInstalledLookAndFeels): Likewise.
  21674. 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
  21675. * javax/swing/filechooser/UnixFileSystemView.java
  21676. (getSystemDisplayName): Mark as stub,
  21677. (getSystemIcon): Likewise,
  21678. (getSystemTypeDescription): Likewise.
  21679. 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
  21680. * javax/swing/tree/AbstractLayoutCache.java
  21681. (getNodeDimensions): Mark as stub,
  21682. (getPreferredHeight): Likewise,
  21683. (getPreferredWidth): Likewise,
  21684. (getRowsForPaths): Likewise,
  21685. (isFixedRowHeight): Likewise,
  21686. * javax/swing/tree/DefaultTreeModel.java
  21687. (reload()): Mark as stub,
  21688. (reload(TreeNode)): Likewise,
  21689. (nodeStructureChanged): Likewise,
  21690. * javax/swing/tree/DefaultTreeSelectionModel.java
  21691. (clone): Mark as stub,
  21692. (setRowMapper): Likewise,
  21693. (setSelectionPaths): Likewise,
  21694. (isRowSelected): Likewise,
  21695. (resetRowSelection): Likewise,
  21696. (insureRowContinuity): Likewise,
  21697. (arePathsContiguous): Likewise,
  21698. (canPathsBeAdded): Likewise,
  21699. (canPathsBeRemoved): Likewise,
  21700. (notifyPathChange): Likewise,
  21701. (updateLeadIndex): Likewise,
  21702. (insureUniqueness): Likewise,
  21703. * javax/swing/tree/FixedHeightLayoutCache.java: Marked all methods as
  21704. stubs,
  21705. * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
  21706. 2006-03-22 Tom Tromey <tromey@redhat.com>
  21707. * javax/swing/text/StyleContext.java (getStaticAttribute): Mark as
  21708. stub.
  21709. (getStaticAttributeKey): Likewise.
  21710. (readAttributeSet): Likewise.
  21711. (writeAttributeSet): Likewise.
  21712. (readAttributes): Likewise.
  21713. (writeAttributes): Likewise.
  21714. * javax/swing/text/html/HTMLEditorKit.java (insertAtBoundary): Mark
  21715. as stub.
  21716. * javax/swing/text/html/HTMLDocument.java (setParagraphAttributes):
  21717. Mark as stub.
  21718. (fireChangedUpdate): Likewise.
  21719. (start): Likewise.
  21720. (end): Likewise.
  21721. (handleEndOfLineString): Likewise.
  21722. (textAreaContent): Likewise.
  21723. (preContent): Likewise.
  21724. (addSpecialElement): Likewise.
  21725. (setInnerHTML): Likewise.
  21726. (setOuterHTML): Likewise.
  21727. (insertBeforeStart): Likewise.
  21728. (insertBeforeEnd): Likewise.
  21729. (insertAfterEnd): Likewise.
  21730. (insertAfterStart): Likewise.
  21731. * javax/swing/table/JTableHeader.java (AccessibleJTableHeaderEntry):
  21732. Mark all methods as stub.s
  21733. * javax/swing/plaf/metal/MetalTreeUI.java (decodeLineStyle): Mark
  21734. as stub.
  21735. (paintHorizontalSeparators): Likewise.
  21736. * javax/swing/plaf/basic/BasicLookAndFeel.java (loadSystemColors):
  21737. Mark as stub.
  21738. * javax/swing/MenuSelectionManager.java (processKeyEvent): Mark as
  21739. stub.
  21740. * java/beans/beancontext/BeanContextSupport.java: Mark most methods
  21741. as stubs.
  21742. * java/beans/beancontext/BeanContextServicesSupport.java: Mark most
  21743. methods as stubs.
  21744. 2006-03-22 Mark Wielaard <mark@klomp.org>
  21745. * gnu/java/awt/peer/gtk/GtkCursor.java: New class.
  21746. 2006-03-22 Mark Wielaard <mark@klomp.org>
  21747. Fixes bug #26527
  21748. * gnu/java/awt/peer/gtk/GtkComponentPeer.java (gtkWidgetSetCursor):
  21749. Takes GtkImage, x and y coordinates.
  21750. (gtkWidgetSetCursorUnlocked): Likewise.
  21751. (GtkComponentPeer): Set cursor when set.
  21752. (setCursor): Handle GtkCursor.
  21753. * gnu/java/awt/peer/gtk/GtkToolkit.java (createCustomCursor):
  21754. New method.
  21755. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
  21756. (gtkWidgetSetCursor): Takes GtkImage, x and y coordinates.
  21757. (gtkWidgetSetCursorUnlocked): Likewise. Handle custom image.
  21758. * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Regenerated.
  21759. 2006-03-23 Roman Kennke <kennke@aicas.com>
  21760. PR 26805
  21761. * gnu/java/security/Registry.java
  21762. (PKCS5_PAD): Added pad PKCS#5 algorithm.
  21763. * gnu/javax/crypto/pad/PadFactory.java
  21764. (getInstance): For PKCS#5, also return PKCS#7 pad
  21765. algorithm.
  21766. (getNames): Added PKCS#5.
  21767. * javax/crypto/KeyGenerator.java
  21768. (getInstance): Initialize key generator before returning
  21769. it.
  21770. 2006-03-23 Ito Kazumitsu <kaz@maczuka.gcd.org>
  21771. * gnu/regexp/RE.java(REG_X_COMMENTS): New copilation flag,
  21772. (initialize): Ignore whiltespaces and comments if REG_X_COMMENTS is set.
  21773. * java/util/regex/Pattern.java(constructor): Set RE.REG_X_COMMENTS
  21774. if COMMENTS is set.
  21775. 2006-03-22 Tom Tromey <tromey@redhat.com>
  21776. * javax/swing/plaf/synth/SynthStyle.java (getInt): Implemented.
  21777. (getBoolean): Likewise.
  21778. (getString): Likewise.
  21779. (getIcon): Likewise.
  21780. 2006-03-22 Mark Wielaard <mark@klomp.org>
  21781. Fixes bug #26301
  21782. * gnu/java/awt/peer/GLightweightPeer.java: Extend MouseAdapter.
  21783. (GLightweightPeer(Component)): Install MouseListener.
  21784. (setCursor): Implement.
  21785. (mouseEntered): New method.
  21786. 2006-03-22 Tom Tromey <tromey@redhat.com>
  21787. * javax/swing/plaf/synth/ColorType.java (MAX_COUNT): No longer
  21788. constant.
  21789. * javax/swing/plaf/synth/SynthStyle.java (getColorForState): Now
  21790. protected.
  21791. (getFontForState): Likewise.
  21792. (getInsets): Added 'result' argument.
  21793. (getPainter): Renamed.
  21794. 2006-03-22 Tom Tromey <tromey@redhat.com>
  21795. * javax/swing/plaf/synth/SynthPainter.java
  21796. (paintScrollBarThumbBackground): Added 'orientation' argument.
  21797. (paintScrollBarThumbBorder): Likewise.
  21798. (paintSliderThumbBackground): Likewise.
  21799. (paintSliderThumbBorder): Likewise.
  21800. (paintTabbedPaneTabBackground): Added 'index' argument.
  21801. (paintTabbedPaneTabBorder): Likewise.
  21802. 2006-03-22 Tom Tromey <tromey@redhat.com>
  21803. * java/awt/ScrollPaneAdjustable.java (paramString): Implemented.
  21804. (toString): New method.
  21805. 2006-03-22 Tom Tromey <tromey@redhat.com>
  21806. * doc/hacking.texinfo (Source Code Style Guide): Mention
  21807. NotImplementedException.
  21808. * javax/imageio/stream/MemoryCacheImageOutputStream.java
  21809. (flushBefore): Mark as stub.
  21810. (read): Likewise.
  21811. * javax/imageio/stream/MemoryCacheImageInputStream.java (flushBefore):
  21812. Mark as stub.
  21813. * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Mark
  21814. as stub.
  21815. (write): Likewise.
  21816. (writeBit): Likewise.
  21817. (writeChars): Likewise.
  21818. (writeUTF): Likewise.
  21819. * javax/imageio/stream/FileCacheImageOutputStream.java (read): Mark
  21820. as stub.
  21821. (read): Likewise.
  21822. * java/net/URLConnection.java (getContent): Mark as stub.
  21823. * java/awt/Window.java (applyResourceBundle): Mark as stub.
  21824. * java/awt/TexturePaint.java (createContext): Mark as stub.
  21825. (getTransparency): Mark as stub.
  21826. * java/awt/ScrollPaneAdjustable.java (paramString): Mark as stub.
  21827. * java/awt/GridBagLayout.java (AdjustForGravity): Mark as stub.
  21828. * java/awt/GraphicsConfiguration.java (getBufferCapabilities): Mark as
  21829. stub.
  21830. (getImageCapabilities): Likewise.
  21831. * java/awt/BasicStroke.java (createStrokedShape): Mark as stub.
  21832. * java/awt/AlphaComposite.java (createContext): Mark as stub.
  21833. * java/awt/image/renderable/RenderableImageProducer.java: Mark all
  21834. methods as stubs.
  21835. * java/awt/font/TextMeasurer.java (deleteChar): Mark as stub.
  21836. (getAdvanceBetween): Likewise.
  21837. (getLayout): Likewise.
  21838. (insertChar): Likewise.
  21839. (getLineBreakIndex): Likewise.
  21840. * java/awt/font/ShapeGraphicAttribute.java (draw): Mark as stub.
  21841. (getAdvance): Likewise.
  21842. (getAscent): Likewise.
  21843. (getDescent): Likewise.
  21844. * java/awt/font/LineBreakMeasurer.java (deleteChar): Mark as stub.
  21845. (insertChar): Likewise.
  21846. (nextLayout): Likewise.
  21847. (nextLayout): Likewise.
  21848. (nextOffset): Likewise.
  21849. (nextOffset): Likewise.
  21850. * java/awt/font/ImageGraphicAttribute.java (draw): Mark as stub.
  21851. (equals): Likewise.
  21852. (getAdvance): Likewise.
  21853. (getAscent): Likewise.
  21854. (getBounds): Likewise.
  21855. (getDescent): Likewise.
  21856. (hashCode): Likewise.
  21857. (ImageGraphicAttribute): Likewise.
  21858. * java/awt/font/GraphicAttribute.java (getBounds): Mark as stub.
  21859. (getJustificationInfo): Likewise.
  21860. * java/awt/font/GlyphVector.java (getGlyphCharIndex): Mark as stub.
  21861. (getGlyphCharIndices): Likewise.
  21862. (getGlyphOutline): Likewise.
  21863. (getGlyphPixelBounds): Likewise.
  21864. (getLayoutFlags): Likewise.
  21865. (getPixelBounds): Likewise.
  21866. * java/awt/font/GlyphMetrics.java (getLSB): Mark as stub.
  21867. (getRSB): Likewise.
  21868. * java/nio/channels/Channels.java (newWriter): Mark as stub.
  21869. * java/awt/dnd/DragSourceContext.java: Marked most methods as stubs.
  21870. * java/awt/dnd/DragGestureRecognizer.java (fireDragGestureRecognized):
  21871. Mark as stub.
  21872. (resetRecognizer): Likewise.
  21873. * java/awt/datatransfer/SystemFlavorMap.java (getFlavorsForNative):
  21874. Mark as stub.
  21875. (getNativesForFlavor): Likewise.
  21876. * javax/swing/plaf/synth/SynthStyle.java: Mark all methods as stub.s
  21877. * javax/swing/plaf/synth/SynthLookAndFeel.java (updateStyles): Mark
  21878. as stub.
  21879. (getRegion): Likewise.
  21880. (createUI): Likewise.
  21881. (initialize): Likewise.
  21882. (uninitialize): Likewise.
  21883. (getDefaults): Likewise.
  21884. (load): Likewise.
  21885. (shouldUpdateStyleOnAncestorChanged): Likewise.
  21886. * javax/swing/plaf/synth/SynthGraphicsUtils.java (getMinimumSize):
  21887. Mark as stub.
  21888. (getPreferredSize): Likewise.
  21889. (getMaximumSize): Likewise.
  21890. (paintText): Likewise.
  21891. * java/text/RuleBasedCollator.java (getCollationElementIterator): Mark
  21892. as stub.
  21893. * java/text/Collator.java (getAvailableLocales): Mark as stub.
  21894. 2006-03-22 Wolfgang Baer <WBaer@gmx.de>
  21895. * java/io/ObjectStreamConstants.java: Added since tag.
  21896. (PROTOCOL_VERSION_1): Added javadoc.
  21897. (PROTOCOL_VERSION_2): Likewise.
  21898. * java/io/ObjectOutputStream.java:
  21899. (setDefaultProtocolVersion): Removed.
  21900. (useProtocolVersion): Fixed parameter tests. Updated javadoc.
  21901. 2006-03-21 Lillian Angel <langel@redhat.com>
  21902. * gnu/javax/imageio/bmp/BMPInfoHeader.java
  21903. (BMPInfoHeader): Removed debug lines.
  21904. * gnu/javax/imageio/bmp/EncodeRLE4.java
  21905. (encode): Implemented.
  21906. (uncompress): New function implemented to
  21907. uncompress the image before encoding.
  21908. * gnu/javax/imageio/bmp/EncodeRLE8.java
  21909. (encode): Implemented.
  21910. (uncompress): New function implemented to
  21911. uncompress the image before encoding.
  21912. 2006-03-21 Roman Kennke <kennke@aicas.com>
  21913. * javax/swing/text/html/FormView.java
  21914. (getImageData): New helper method.
  21915. 2006-03-21 Tom Tromey <tromey@redhat.com>
  21916. * vm/reference/gnu/classpath/Unsafe.java (arrayBaseOffset): Javadoc
  21917. fix.
  21918. (Unsafe): Now final.
  21919. 2006-03-21 Roman Kennke <kennke@aicas.com>
  21920. * javax/swing/text/html/FormView.java
  21921. (MouseEventListener): New inner class.
  21922. 2006-03-21 Roman Kennke <kennke@aicas.com>
  21923. * javax/swing/text/html/ListView.java: New file.
  21924. 2006-03-21 Tom Tromey <tromey@redhat.com>
  21925. * java/text/Bidi.java: Completed.
  21926. 2006-03-21 Anthony Balkissoon <abalkiss@redhat.com>
  21927. * javax/swing/JTable.java:
  21928. (columnAtPoint): Removed the null check, this method should throw a NPE
  21929. if the argument is null.
  21930. 2006-03-21 Robert Schuster <robertschuster@fsfe.org>
  21931. * javax/swing/text/DefaultHighlighter.java:
  21932. (DefaultHighlighter.DefaultHighlightPainter.paint): Rewritten.
  21933. 2006-03-21 Robert Schuster <robertschuster@fsfe.org>
  21934. * javax/swing/text/DefaultCaret.java: Added class variable denoting
  21935. the textcomponent having a selection.
  21936. (clearSelection): Clear 'componentWithSelection' variable.
  21937. (handleSelection): Clear selection of current component having a
  21938. selection before setting a new selection in another component.
  21939. (mouseDragged): Only react on left mouse button.
  21940. (mouseClicked): Only react on left mouse button.
  21941. 2006-03-21 Roman Kennke <kennke@aicas.com>
  21942. * javax/swing/plaf/metal/MetalTabbedPaneUI.java
  21943. (paintContentBorderTopEdge): Implemented.
  21944. (paintContentBorderBottomEdge): Implemented.
  21945. (paintContentBorderLeftEdge): Implemented.
  21946. (paintContentBorderRightEdge): Implemented.
  21947. (isLastTabInRun): New helper method.
  21948. 2006-03-21 Roman Kennke <kennke@aicas.com>
  21949. * javax/swing/JTabbedPane.java
  21950. (Page.getForeground): Fall back to returning the tabbed pane's
  21951. foreground if no foreground has been exclicitly set.
  21952. 2006-03-21 Roman Kennke <kennke@aicas.com>
  21953. * javax/swing/plaf/metal/MetalComboBoxButton.java
  21954. (setEnabled): Update colors of button correctly.
  21955. * javax/swing/plaf/metal/MetalComboBoxUI.java
  21956. (MetalPropertyChangeListener.propertyChange): Update the colors
  21957. of the list and the button when any of the color properties
  21958. of the ComboBox change.
  21959. 2006-03-21 Roman Kennke <kennke@aicas.com>
  21960. * javax/swing/plaf/basic/BasicButtonUI.java
  21961. (uninstallDefaults): Only nullify button colors if they are
  21962. not UIResource instances.
  21963. 2006-03-21 David Gilbert <david.gilbert@object-refinery.com>
  21964. * javax/swing/JComponent.java
  21965. (AccessibleJComponent.getAccessibleDescription): Call super,
  21966. * javax/swing/JToolTip.java: API doc updates all over, plus
  21967. (AccessibleJToolTip.getAccessibleDescription): Implemented,
  21968. (AccessibleJToolTip.getAccessibleRole): Implemented,
  21969. (getAccessibleContext): Implemented,
  21970. (paramString): Reimplemented,
  21971. (setComponent): Fire PropertyChangeEvent,
  21972. (setTipText): Likewise.
  21973. 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
  21974. * java/util/Formatter.java:
  21975. Make the class final.
  21976. 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
  21977. * java/lang/System.java:
  21978. (nanoTime()): Documented.
  21979. * java/lang/Thread.java:
  21980. (setUncaughtExceptionHandler(UncaughtExceptionHandler):
  21981. Added docs and security check.
  21982. (getUncaughtExceptionHandler()): Documented.
  21983. (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
  21984. Added docs and security check.
  21985. (getDefaultUncaughtExceptionHandler()): Documented.
  21986. (getId()): Documented.
  21987. (Thread.State): Documented.
  21988. * vm/reference/gnu/classpath/Unsafe.java:
  21989. Documented.
  21990. (getUnsafe()): Updated to handle security.
  21991. 2006-03-20 Tom Tromey <tromey@redhat.com>
  21992. * java/lang/System.java:
  21993. (nanoTime()): Implemented.
  21994. * java/lang/Thread.java:
  21995. (getId()): Implemented.
  21996. * java/util/AbstractMap.java:
  21997. (SimpleImmutableEntry): New 1.6 class.
  21998. (BasicMapEntry): Modified to be SimpleEntry.
  21999. * java/util/Collections.java:
  22000. Modified to use SimpleEntry.
  22001. * java/util/EnumMap.java: Likewise.
  22002. * java/util/HashMap.java: Likewise.
  22003. * java/util/Hashtable.java: Likewise.
  22004. * java/util/TreeMap.java: Likewise.
  22005. * vm/reference/gnu/classpath/Unsafe.java:
  22006. New class to handle low-level facilities for concurrency.
  22007. * vm/reference/java/lang/VMSystem.java:
  22008. (nanoTime()): Implemented.
  22009. 2006-03-20 Tom Tromey <tromey@redhat.com>
  22010. * java/security/cert/PKIXCertPathChecker.java: Javadoc fix.
  22011. * java/security/cert/CertStoreSpi.java: Added import for javadoc.
  22012. (CertStoreSpi): Updated throws clause.
  22013. * java/security/cert/CertPathValidatorSpi.java: Added import for
  22014. javadoc.
  22015. (engineValidate): Updated 'throws' clause.
  22016. * java/security/cert/PKIXParameters.java: Javadoc fix.
  22017. * java/security/cert/X509CertSelector.java
  22018. (setAuthorityKeyIdentifier): Javadoc fix.
  22019. 2006-03-20 Tom Tromey <tromey@redhat.com>
  22020. * .classpath: Build gnu.javax.swing.plaf.
  22021. 2006-03-20 Lillian Angel <langel@redhat.com>
  22022. * gnu/javax/imageio/bmp/BMPDecoder.java:
  22023. Removed unneeded import.
  22024. * gnu/javax/imageio/bmp/BMPEncoder.java:
  22025. New class.
  22026. * gnu/javax/imageio/bmp/BMPFileHeader.java
  22027. (BMPFileHeader): New constructor used to create info header
  22028. for an output stream.
  22029. (write): Fixed indexes.
  22030. * gnu/javax/imageio/bmp/BMPImageReaderSpi.java:
  22031. Initialized writerSpiNames field.
  22032. * gnu/javax/imageio/bmp/BMPImageWriter.java:
  22033. New class.
  22034. * gnu/javax/imageio/bmp/BMPImageWriterSpi.java:
  22035. New class.
  22036. * gnu/javax/imageio/bmp/BMPInfoHeader.java:
  22037. Change visibility for fields.
  22038. (BMPInfoHeader): New constructor used to create
  22039. file header for an output stream.
  22040. (intToDWord): New method. Converts an int to a
  22041. double word.
  22042. (intToWord): New method. Converts an int to a word.
  22043. * gnu/javax/imageio/bmp/DecodeBF32.java:
  22044. Removed unneeded imports.
  22045. * gnu/javax/imageio/bmp/EncodeRGB1.java:
  22046. New class.
  22047. * gnu/javax/imageio/bmp/EncodeRGB16.java:
  22048. New class.
  22049. * gnu/javax/imageio/bmp/EncodeRGB24.java:
  22050. New class.
  22051. * gnu/javax/imageio/bmp/EncodeRGB32.java:
  22052. New class.
  22053. * gnu/javax/imageio/bmp/EncodeRGB4.java:
  22054. New class.
  22055. * gnu/javax/imageio/bmp/EncodeRGB8.java:
  22056. New class.
  22057. * gnu/javax/imageio/bmp/EncodeRLE4.java:
  22058. New class.
  22059. * gnu/javax/imageio/bmp/EncodeRLE8.java:
  22060. New class.
  22061. * javax/imageio/ImageIO.java:
  22062. Fixed comment.
  22063. 2006-03-20 Roman Kennke <kennke@aicas.com>
  22064. * javax/swing/plaf/metal/MetalTabbedPaneUI.java
  22065. (TabbedPaneLayout.normalizeTabRuns): New method.
  22066. (createLayoutManager): Return the Metal TabbedPaneLayout, not super.
  22067. (paintTabBorder): Replaced if-else chain with switch.
  22068. (paintTopTabBorder): Rewritten to correctly paint tab. Also support
  22069. Ocean theme.
  22070. (paintBottomTabBorder): Rewritten to correctly paint tab. Also support
  22071. Ocean theme.
  22072. (paintLeftTabBorder): Rewritten to correctly paint tab. Also support
  22073. Ocean theme.
  22074. (paintRightTabBorder): Rewritten to correctly paint tab. Also support
  22075. Ocean theme.
  22076. (paintTabBackground): Fetch background color from the TabbedPane.
  22077. Fixed painting and improved by not using fillPolygon, and instead
  22078. using fillRectangle. Replaced if-else chain with switch.
  22079. (calculateMaxTabHeight): Added overridden method with FIXME.
  22080. (getTabRunOverlay): Overridden to provide overlay for LEFT or RIGHT
  22081. placement.
  22082. (paintContentBorderTopEdge): Added stub with FIXME.
  22083. (paintContentBorderBottomEdge): Added stub with FIXME.
  22084. (paintContentBorderLeftEdge): Added stub with FIXME.
  22085. (paintContentBorderRightEdge): Added stub with FIXME.
  22086. 2006-03-20 Roman Kennke <kennke@aicas.com>
  22087. * javax/swing/plaf/basic/BasicTabbedPaneUI.java
  22088. (tabsOpaque): New field.
  22089. (installDefaults): Fetch tabsOpaque property from UIManager.
  22090. (paintTab): Fill tab background when tabsOpaque property is true.
  22091. * javax/swing/plaf/basic/BasicLookAndFeel.java
  22092. (initComponentDefaults): Added TabbedPane.tabsOpaque property.
  22093. 2006-03-20 Roman Kennke <kennke@aicas.com>
  22094. * javax/swing/JTabbedPane.java
  22095. (Pane.getBackground): When no background was explicitly set, return
  22096. the JTabbedPane's background.
  22097. 2006-03-20 Wolfgang Baer <WBaer@gmx.de>
  22098. * org/omg/CORBA/ACTIVITY_COMPLETED.java,
  22099. * org/omg/CORBA/ACTIVITY_REQUIRED.java,
  22100. * org/omg/CORBA/BAD_INV_ORDER.java,
  22101. * org/omg/CORBA/BAD_CONTEXT.java,
  22102. * org/omg/CORBA/BAD_OPERATION.java,
  22103. * org/omg/CORBA/BAD_PARAM.java,
  22104. * org/omg/CORBA/BAD_QOS.java,
  22105. * org/omg/CORBA/BAD_TYPECODE.java,
  22106. * org/omg/CORBA/CODESET_INCOMPATIBLE.java,
  22107. * org/omg/CORBA/COMM_FAILURE.java,
  22108. * org/omg/CORBA/CurrentHolder.java,
  22109. * org/omg/CORBA/DATA_CONVERSION.java,
  22110. * org/omg/CORBA/FREE_MEM.java,
  22111. * org/omg/CORBA/IMP_LIMIT.java,
  22112. * org/omg/CORBA/INITIALIZE.java,
  22113. * org/omg/CORBA/INTERNAL.java,
  22114. * org/omg/CORBA/INTF_REPOS.java,
  22115. * org/omg/CORBA/INVALID_ACTIVITY.java,
  22116. * org/omg/CORBA/INVALID_TRANSACTION.java,
  22117. * org/omg/CORBA/INV_FLAG.java,
  22118. * org/omg/CORBA/INV_IDENT.java,
  22119. * org/omg/CORBA/INV_OBJREF.java,
  22120. * org/omg/CORBA/INV_POLICY.java,
  22121. * org/omg/CORBA/MARSHAL.java,
  22122. * org/omg/CORBA/NO_RESOURCES.java,
  22123. * org/omg/CORBA/NO_MEMORY.java,
  22124. * org/omg/CORBA/NO_IMPLEMENT.java,
  22125. * org/omg/CORBA/NO_PERMISSION.java,
  22126. * org/omg/CORBA/NO_RESPONSE.java,
  22127. * org/omg/CORBA/OBJECT_NOT_EXIST.java,
  22128. * org/omg/CORBA/OBJ_ADAPTER.java,
  22129. * org/omg/CORBA/ParameterModeHolder.java,
  22130. * org/omg/CORBA/PolicyError.java,
  22131. * org/omg/CORBA/PolicyErrorHolder.java,
  22132. * org/omg/CORBA/PolicyHolder.java,
  22133. * org/omg/CORBA/PolicyListHolder.java,
  22134. * org/omg/CORBA/REBIND.java,
  22135. * org/omg/CORBA/TIMEOUT.java,
  22136. * org/omg/CORBA/TRANSACTION_MODE.java,
  22137. * org/omg/CORBA/TRANSACTION_REQUIRED.java,
  22138. * org/omg/CORBA/TRANSACTION_ROLLEDBACK.java,
  22139. * org/omg/CORBA/TRANSACTION_UNAVAILABLE.java,
  22140. * org/omg/CORBA/TRANSIENT.java,
  22141. * org/omg/CORBA/TypeCodeHolder.java,
  22142. * org/omg/CORBA/UNKNOWN.java,
  22143. * org/omg/CORBA/UnionMember.java,
  22144. * org/omg/CORBA/UnknownUserException.java,
  22145. * org/omg/CORBA/UnknownUserExceptionHolder.java,
  22146. * org/omg/CORBA/WrongTransactionHolder.java,
  22147. * org/omg/IOP/IOR.java,
  22148. * org/omg/IOP/IORHolder.java,
  22149. * org/omg/IOP/MultipleComponentProfileHolder.java,
  22150. * org/omg/IOP/ServiceContextHolder.java,
  22151. * org/omg/IOP/ServiceContextListHolder.java,
  22152. * org/omg/IOP/TaggedComponentHolder.java,
  22153. * org/omg/IOP/TaggedProfileHolder.java,
  22154. * org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java,
  22155. * org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java,
  22156. * org/omg/PortableInterceptor/IORInterceptor_3_0Holder.java,
  22157. * org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java:
  22158. Made class final, various javadoc fixlets.
  22159. * org/omg/CORBA/CompletionStatus.java,
  22160. * org/omg/CORBA/PERSIST_STORE.java,
  22161. * org/omg/CORBA/ValueMember.java,
  22162. * org/omg/PortableInterceptor/ForwardRequest.java,
  22163. * org/omg/PortableInterceptor/InvalidSlot.java,
  22164. * org/omg/IOP/CodecPackage/TypeMismatch.java,
  22165. * org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java,
  22166. * org/omg/IOP/CodecPackage/FormatMismatch.java,
  22167. * org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java,
  22168. * org/omg/IOP/Encoding.java,
  22169. * org/omg/IOP/TaggedComponent.java,
  22170. * org/omg/IOP/TaggedProfile.java: Made class final.
  22171. * org/omg/CORBA/SystemException.java: Made class abstract.
  22172. * org/omg/CORBA/UserException.java: Made class abstract.
  22173. (UserException): Now protected.
  22174. (UserException(String)): Likewise.
  22175. * org/omg/Messaging/SyncScopeHelper.java: Now abstract, javadoc fixes.
  22176. (typecode): Removed unused private variable.
  22177. 2006-03-20 Chris Burdess <dog@gnu.org>
  22178. Fixes PR 26761
  22179. * gnu/xml/stream/XMLParser.java: Permit U+fffd as XML Char.
  22180. 2006-03-20 Roman Kennke <kennke@aicas.com>
  22181. * javax/swing/plaf/basic/BasicTabbedPaneUI.java
  22182. (paintTabArea): Look up tab run indices in tabRuns array instead
  22183. of using the index directly.
  22184. 2006-03-20 Roman Kennke <kennke@aicas.com>
  22185. * javax/swing/plaf/basic/BasicTabbedPaneUI.java
  22186. (paintTab): Fixed painting.
  22187. (paintText): Fixed text painting.
  22188. (paintFocusIndicator): Fixed painting of the focus rectangle.
  22189. (paintContentBorder): Fixed painting of the content area.
  22190. 2006-03-20 Mark Wielaard <mark@klomp.org>
  22191. * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (pixbufLock): New
  22192. static lock Object field.
  22193. (produce): Synchronize on pixbufLock when calling initState(),
  22194. pumpBytes() and pumpDone().
  22195. (finalize): Likewise when calling finish().
  22196. (GdkPixbufWriter.write): Likewise when calling streamImage().
  22197. * gnu/java/awt/peer/gtk/GtkImage.java (GtkImage(String)): Likewise
  22198. when calling loadPixbuf. Chain exception.
  22199. (GtkImage(byte[])): Likewise when calling loadImageFromData.
  22200. (GtkImage(URL)): Likewise.
  22201. (GtkImage(int,int)): Likewise when calling createPixmap().
  22202. (GtkImage(GtkImage,int,int,int)): Likewise when calling
  22203. createScaledPixmap().
  22204. (GtkImage(Pointer)): Likewise when calling createFromPixbuf().
  22205. (setImage): Likewise when calling createPixmap() and setPixels().
  22206. (getSource): Likewise when calling getPixels().
  22207. (flush): Likewise when calling freePixmap().
  22208. (finalize): Likewise.
  22209. (drawImage): Likewise when calling drawPixelsScaledFlipped() and
  22210. drawPixelsScaledFlipped().
  22211. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
  22212. (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initState): Remove
  22213. gdk_threads_enter/leave().
  22214. (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_finish): Likewise.
  22215. (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpDone): Likewise.
  22216. (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
  22217. (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpBytes): Likewise.
  22218. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
  22219. (Java_gnu_java_awt_peer_gtk_GtkImage_loadPixbuf): Likewise.
  22220. (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Likewise.
  22221. (Java_gnu_java_awt_peer_gtk_GtkImage_createFromPixbuf): Likewise.
  22222. (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Likewise.
  22223. (Java_gnu_java_awt_peer_gtk_GtkImage_setPixels): Likewise.
  22224. (Java_gnu_java_awt_peer_gtk_GtkImage_createPixmap): Likewise.
  22225. (Java_gnu_java_awt_peer_gtk_GtkImage_freePixmap): Likewise.
  22226. (Java_gnu_java_awt_peer_gtk_GtkImage_createScaledPixmap): Likewise.
  22227. 2006-03-20 Roman Kennke <kennke@aicas.com>
  22228. * javax/swing/plaf/basic/BasicTabbedPaneUI.java
  22229. (calculateTabHeight): Not need to use SwingUtilities here.
  22230. (getTabInsets): Do not rotate insets.
  22231. 2006-03-20 Roman Kennke <kennke@aicas.com>
  22232. * javax/swing/plaf/basic/BasicTabbedPaneUI.java
  22233. (paint): Make sure the layout is valid before painting.
  22234. (paintTabArea): Made tab painting more straightforward and efficient.
  22235. 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  22236. * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): Removed.
  22237. (getScrollableUnitIncrement): Rewritten.
  22238. * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): Removed.
  22239. (getScrollableUnitIncrement): Rewritten.
  22240. * javax/swing/plaf/basic/BasicScrollPaneUI.java
  22241. (ROWS_PER_WHEEL_CLICK): New field.
  22242. (MouseWheelHandler.mouseWheelMoved): Rewritten.
  22243. 2006-03-20 Roman Kennke <kennke@aicas.com>
  22244. * javax/swing/plaf/basic/BasicTabbedPaneUI.java
  22245. (paint): Make sure the layout is valid before painting.
  22246. (paintTabArea): Made tab painting more straightforward and efficient.
  22247. 2006-03-20 Roman Kennke <kennke@aicas.com>
  22248. * javax/swing/plaf/basic/BasicTabbedPaneUI.java
  22249. (MouseHandler.mousePressed): Rewritten for clearer and simpler
  22250. code.
  22251. (MouseHandler.mouseEntered): Implemented to set the rollover tab.
  22252. (MouseHandler.mouseMoved): Implemented to set the rollover tab.
  22253. (MouseHandler.mouseExited): Implemented to unset the rollover tab.
  22254. (TabbedPaneLayout.calculateLayoutInfo): Don't set the component's
  22255. bounds here. That is moved into layoutContainer().
  22256. (calculateSize): Correctly respect insets. Made code slightly more
  22257. clear and efficient.
  22258. (calculateTabRects): Rewritten completely. The old code was
  22259. not quite right and unstable in some situations.
  22260. (layoutContainer): Moved layout of tabbed pane's subcomponents
  22261. here.
  22262. (tabRunsDirty): New field.
  22263. (rolloverTab): New field.
  22264. (tabForCoordinate): Rewritten for simplicity and correctness.
  22265. (setRolloverTab): New method.
  22266. (getRolloverTab): New method.
  22267. 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  22268. * javax/swing/JTable.java (getScrollableUnitIncrement): Rewritten.
  22269. * javax/swing/JTree.java (getScrollableUnitIncrement): Rewritten.
  22270. (getScrollableUnitIncrement
  22271. * javax/swing/Scrollable.java: Documented.
  22272. * javax/swing/plaf/basic/BasicScrollPaneUI.java
  22273. (MouseWheelHandler):Rewritten.
  22274. 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
  22275. * doc/vmintegration.texinfo:
  22276. Updated with gnu.classpath.Unsafe
  22277. 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
  22278. * NEWS:
  22279. Updated with VMArray and Unsafe changes.
  22280. 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  22281. * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): New field.
  22282. (getScrollableUnitIncrement): Rewritten.
  22283. * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): New field.
  22284. (getScrollableUnitIncrement): Rewritten.
  22285. (getScrollableBlockIncrement): Rewritten.
  22286. * javax/swing/plaf/basic/BasicScrollPaneUI.java
  22287. (MouseWheelHandler): Implemented. (ViewportContainerListener):
  22288. New class. (containerListener): New field. (SCROLL_NON_SCROLABLES):
  22289. New field. (installListeners): Install wheel listeners.
  22290. (uninstallListeners): Uninstall wheel listeners.
  22291. * javax/swing/plaf/basic/BasicTableUI.java: Remove the implementation
  22292. of the MouseWheelListener. (installListeners): Do not install wheel
  22293. listener. (ROWS_PER_WHEEL_CLICK): Removed.
  22294. 2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
  22295. * vm/reference/gnu/classpath/Unsafe.java:
  22296. Documented.
  22297. (getUnsafe()): Updated to handle security.
  22298. 2006-03-19 Tom Tromey <tromey@redhat.com>
  22299. * vm/reference/gnu/classpath/Unsafe.java:
  22300. New class to handle low-level facilities for concurrency.
  22301. 2006-03-19 Mark Wielaard <mark@klomp.org>
  22302. * include/Makefile.am: Rename PlainDatagramSocketImpl to
  22303. VMPlainDatagramSocketImpl and PlainSocketImpl to VMPlainSocketImpl.
  22304. * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Regenerated.
  22305. * include/gnu_java_net_VMPlainSocketImpl.h: Likewise.
  22306. 2006-03-19 Mark Wielaard <mark@klomp.org>
  22307. * gnu/java/awt/peer/gtk/GdkFontPeer.java (getPostScriptName): Return
  22308. familyName.
  22309. * gnu/java/awt/peer/gtk/GtkFontPeer.java: Removed unused file.
  22310. 2006-03-19 Michael Koch <konqueror@gmx.de>
  22311. * resource/gnu/java/locale/LocaleInformation_aa_ET.properties,
  22312. resource/gnu/java/locale/LocaleInformation_am.properties,
  22313. resource/gnu/java/locale/LocaleInformation_am_ET.properties,
  22314. resource/gnu/java/locale/LocaleInformation_as_IN.properties,
  22315. resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
  22316. resource/gnu/java/locale/LocaleInformation_bg.properties,
  22317. resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
  22318. resource/gnu/java/locale/LocaleInformation_ca.properties,
  22319. resource/gnu/java/locale/LocaleInformation_cs.properties,
  22320. resource/gnu/java/locale/LocaleInformation_cy.properties,
  22321. resource/gnu/java/locale/LocaleInformation_da.properties,
  22322. resource/gnu/java/locale/LocaleInformation_de.properties,
  22323. resource/gnu/java/locale/LocaleInformation_dv.properties,
  22324. resource/gnu/java/locale/LocaleInformation_el.properties,
  22325. resource/gnu/java/locale/LocaleInformation_en.properties,
  22326. resource/gnu/java/locale/LocaleInformation_en_GB.properties,
  22327. resource/gnu/java/locale/LocaleInformation_en_IN.properties,
  22328. resource/gnu/java/locale/LocaleInformation_en_PK.properties,
  22329. resource/gnu/java/locale/LocaleInformation_en_SG.properties,
  22330. resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
  22331. resource/gnu/java/locale/LocaleInformation_es.properties,
  22332. resource/gnu/java/locale/LocaleInformation_es_AR.properties,
  22333. resource/gnu/java/locale/LocaleInformation_es_BO.properties,
  22334. resource/gnu/java/locale/LocaleInformation_es_CL.properties,
  22335. resource/gnu/java/locale/LocaleInformation_es_CO.properties,
  22336. resource/gnu/java/locale/LocaleInformation_es_CR.properties,
  22337. resource/gnu/java/locale/LocaleInformation_es_DO.properties,
  22338. resource/gnu/java/locale/LocaleInformation_es_EC.properties,
  22339. resource/gnu/java/locale/LocaleInformation_es_ES.properties,
  22340. resource/gnu/java/locale/LocaleInformation_es_GT.properties,
  22341. resource/gnu/java/locale/LocaleInformation_es_HN.properties,
  22342. resource/gnu/java/locale/LocaleInformation_es_MX.properties,
  22343. resource/gnu/java/locale/LocaleInformation_es_NI.properties,
  22344. resource/gnu/java/locale/LocaleInformation_es_PA.properties,
  22345. resource/gnu/java/locale/LocaleInformation_es_PE.properties,
  22346. resource/gnu/java/locale/LocaleInformation_es_PR.properties,
  22347. resource/gnu/java/locale/LocaleInformation_es_PY.properties,
  22348. resource/gnu/java/locale/LocaleInformation_es_SV.properties,
  22349. resource/gnu/java/locale/LocaleInformation_es_US.properties,
  22350. resource/gnu/java/locale/LocaleInformation_es_UY.properties,
  22351. resource/gnu/java/locale/LocaleInformation_es_VE.properties,
  22352. resource/gnu/java/locale/LocaleInformation_fa.properties,
  22353. resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
  22354. resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
  22355. resource/gnu/java/locale/LocaleInformation_fi.properties,
  22356. resource/gnu/java/locale/LocaleInformation_fr.properties,
  22357. resource/gnu/java/locale/LocaleInformation_fr_CA.properties,
  22358. resource/gnu/java/locale/LocaleInformation_ga.properties,
  22359. resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
  22360. resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
  22361. resource/gnu/java/locale/LocaleInformation_hr.properties,
  22362. resource/gnu/java/locale/LocaleInformation_hu.properties,
  22363. resource/gnu/java/locale/LocaleInformation_id.properties,
  22364. resource/gnu/java/locale/LocaleInformation_is.properties,
  22365. resource/gnu/java/locale/LocaleInformation_it.properties,
  22366. resource/gnu/java/locale/LocaleInformation_ja.properties,
  22367. resource/gnu/java/locale/LocaleInformation_kk.properties,
  22368. resource/gnu/java/locale/LocaleInformation_kl.properties,
  22369. resource/gnu/java/locale/LocaleInformation_km.properties,
  22370. resource/gnu/java/locale/LocaleInformation_ky.properties,
  22371. resource/gnu/java/locale/LocaleInformation_lo.properties,
  22372. resource/gnu/java/locale/LocaleInformation_lo_LA.properties,
  22373. resource/gnu/java/locale/LocaleInformation_lt.properties,
  22374. resource/gnu/java/locale/LocaleInformation_lt_LT.properties,
  22375. resource/gnu/java/locale/LocaleInformation_lv.properties,
  22376. resource/gnu/java/locale/LocaleInformation_mk.properties,
  22377. resource/gnu/java/locale/LocaleInformation_mn.properties,
  22378. resource/gnu/java/locale/LocaleInformation_mr.properties,
  22379. resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
  22380. resource/gnu/java/locale/LocaleInformation_ms.properties,
  22381. resource/gnu/java/locale/LocaleInformation_ms_BN.properties,
  22382. resource/gnu/java/locale/LocaleInformation_mt.properties,
  22383. resource/gnu/java/locale/LocaleInformation_nb.properties,
  22384. resource/gnu/java/locale/LocaleInformation_nl.properties,
  22385. resource/gnu/java/locale/LocaleInformation_nn.properties,
  22386. resource/gnu/java/locale/LocaleInformation_om_ET.properties,
  22387. resource/gnu/java/locale/LocaleInformation_or_IN.properties,
  22388. resource/gnu/java/locale/LocaleInformation_pa.properties,
  22389. resource/gnu/java/locale/LocaleInformation_pl.properties,
  22390. resource/gnu/java/locale/LocaleInformation_pt.properties,
  22391. resource/gnu/java/locale/LocaleInformation_ru.properties,
  22392. resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
  22393. resource/gnu/java/locale/LocaleInformation_ru_UA.properties,
  22394. resource/gnu/java/locale/LocaleInformation_sa.properties,
  22395. resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
  22396. resource/gnu/java/locale/LocaleInformation_sk.properties,
  22397. resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
  22398. resource/gnu/java/locale/LocaleInformation_sv.properties,
  22399. resource/gnu/java/locale/LocaleInformation_sw.properties,
  22400. resource/gnu/java/locale/LocaleInformation_sw_TZ.properties,
  22401. resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
  22402. resource/gnu/java/locale/LocaleInformation_te.properties,
  22403. resource/gnu/java/locale/LocaleInformation_te_IN.properties,
  22404. resource/gnu/java/locale/LocaleInformation_th.properties,
  22405. resource/gnu/java/locale/LocaleInformation_ti.properties,
  22406. resource/gnu/java/locale/LocaleInformation_ti_ER.properties,
  22407. resource/gnu/java/locale/LocaleInformation_ti_ET.properties,
  22408. resource/gnu/java/locale/LocaleInformation_tr.properties,
  22409. resource/gnu/java/locale/LocaleInformation_tt.properties,
  22410. resource/gnu/java/locale/LocaleInformation_uk.properties,
  22411. resource/gnu/java/locale/LocaleInformation_ur.properties,
  22412. resource/gnu/java/locale/LocaleInformation_uz.properties,
  22413. resource/gnu/java/locale/LocaleInformation_zh.properties,
  22414. resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
  22415. More updates for CLDR 1.3.
  22416. 2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
  22417. * doc/vmintegration.texinfo:
  22418. Updated to include VMArray.
  22419. * include/Makefile.am:
  22420. Replace java_lang_reflect_Array.h with
  22421. java_lang_reflect_VMArray.h
  22422. * include/java_lang_reflect_VMArray.h:
  22423. New autogenerated header.
  22424. * include/java_lang_reflect_Array.h:
  22425. Removed.
  22426. * java/lang/reflect/Array.java:
  22427. (newInstance(Class,int)): Calls VMArray.
  22428. (createMultiArray(Class,int[],int)): Likewise.
  22429. (createObjectArray(Class,int)): Removed.
  22430. * native/jni/java-lang/Makefile.am:
  22431. Replaced java_lang_reflect_Array.c with
  22432. java_lang_reflect_VMArray.c
  22433. * native/jni/java-lang/java_lang_reflect_VMArray.c:
  22434. Renamed from java_lang_reflect_Array.c.
  22435. * vm/reference/java/lang/reflect/VMArray.java:
  22436. (createObjectArray(Class,int)): Native method moved
  22437. from java.lang.reflect.Array.
  22438. 2006-03-19 Roman Kennke <kennke@aicas.com>
  22439. * gnu/javax/swing/plaf/metal/CustomizableTheme.java: New class.
  22440. * examples/gnu/classpath/examples/swing/MetalThemeEditor.java:
  22441. New class.
  22442. * examples/gnu/classpath/examples/swing/Demo.java
  22443. (mkButtonBar): Hook up theme editor.
  22444. (mkMenuBar): Hook up theme editor.
  22445. 2006-03-19 Roman Kennke <kennke@aicas.com>
  22446. * javax/swing/plaf/basic/BasicFileChooserUI.java
  22447. (ApproveSelectionAction.actionPerformed): Added case for when
  22448. nothing has been selected but the user has typed a filename
  22449. into the textfield.
  22450. (getFileName): Return the value of the text field.
  22451. 2006-03-19 Roman Kennke <kennke@aicas.com>
  22452. * javax/swing/JColorChooser.java
  22453. (createDialog): Create JDialog instead of ModalDialog. Make this
  22454. dialog modal by calling setModal(true).
  22455. (ModalDialog): Removed unnecessary inner class.
  22456. 2006-03-19 Tom Tromey <tromey@redhat.com>
  22457. * java/awt/font/NumericShaper.java: Rewrote.
  22458. 2006-03-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  22459. * javax/swing/plaf/basic/BasicTableUI.java:
  22460. Implement MouseWheelListener. (ROWS_PER_WHEEL_CLICK):
  22461. New field. MouseInputHandler.mouseWheelMoved): New method.
  22462. (installListeners): Register MouseInputHandler as
  22463. wheel listener also.
  22464. 2006-03-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  22465. PR 26746
  22466. * javax/swing/ViewportLayout.java (layoutContainer):
  22467. If Scrollable tracks dimension, set view size to the port size.
  22468. If port is larger than the view, move the view to the top/left.
  22469. 2006-03-19 Roman Kennke <kennke@aicas.com>
  22470. * javax/swing/MenuSelectionManager.java
  22471. (isComponentPartOfCurrentMenu): Also consider the first element
  22472. in a menu selection list. Make a isDescendentFrom check instead
  22473. of simple equals to also catch sub components.
  22474. 2006-03-19 Roman Kennke <kennke@aicas.com>
  22475. * javax/swing/JComboBox.java
  22476. (actionPerformed): Fetch selected item directly from the editor
  22477. instead of trying to get it from the event.
  22478. 2006-03-19 Roman Kennke <kennke@aicas.com>
  22479. * javax/swing/plaf/basic/BasicComboBoxEditor.java
  22480. (listener): Removed field.
  22481. (BasicComboBoxEditor): Removed initialization of listener field.
  22482. (addActionListener): Add listener directly to editor.
  22483. (removeActionListener): Remove listener directly from editor.
  22484. (ComboBoxEditorListener): Removed class.
  22485. * javax/swing/plaf/basic/BasicComboBoxUI.java
  22486. (getPreferredSize): Fixed to return the minimumSize.
  22487. (getMinimumSize): Improved code for more clearness.
  22488. (getMaximumSize): Return (32767,32767) as requested by the mauve test.
  22489. (rectangleForCurrentValue): Correctly respect insets.
  22490. (getDefaultSize): Return preferredSize here. Dont override height
  22491. with 100.
  22492. (getDisplaySize): Moved around code for more clearness. Added
  22493. handling of prototype renderer.
  22494. (ComboBoxLayoutManager.layoutContainer): Set editor bounds after
  22495. arrowButton bounds since the former depends on the latter.
  22496. * javax/swing/plaf/metal/MetalComboBoxButton.java:
  22497. (MetalComboBoxButton): Make button rollover disabled.
  22498. (isFocusTraversable): Return false unconditionally.
  22499. * javax/swing/plaf/metal/MetalComboBoxEditor.java:
  22500. (EditorTextField): New class. Fixes the size properties.
  22501. (MetalComboBoxEditor): Create instance of EditorTextField.
  22502. * javax/swing/plaf/metal/MetalComboBoxUI.java:
  22503. (getMinimumSize): Fixed editable size.
  22504. 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  22505. * javax/swing/JTable.java (BooleanCellRenderer): Rewritten.
  22506. 2006-03-18 Roman Kennke <kennke@aicas.com>
  22507. * javax/swing/plaf/metal/MetalToolBarUI.java
  22508. (update): Added overridden method to support OceanTheme.
  22509. 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  22510. * javax/swing/plaf/basic/BasicTableUI.java (KeyHandler.keyTyped):
  22511. Activate the cell editing on character keystroke.
  22512. 2006-03-18 Mark Wielaard <mark@klomp.org>
  22513. * java/awt/Component.java (eventTypeEnabled): Handle
  22514. MouseEvent.MOUSE_WHEEL.
  22515. * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postMouseWheelEvent):
  22516. New callback method.
  22517. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
  22518. (AWT_MOUSE_WHEEL): New constant.
  22519. (AWT_WHEEL_UNIT_SCROLL): Likewise.
  22520. (postMouseWheelEventID): New static variable.
  22521. (cp_gtk_component_init_jni): Record postMouseWheelEventID.
  22522. (cp_gtk_component_connect_mouse_signals): Connect scroll-event.
  22523. (button_number): Renamed to ...
  22524. (button_number_direction): variable to hold button number or scroll
  22525. direction.
  22526. (component_button_press_cb): Use button_number_direction.
  22527. (component_scroll_cb): New static callback function.
  22528. 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  22529. * javax.swing.JTable.java (TableTextField.scrollRectToVisible):
  22530. Return without action.
  22531. 2006-03-18 Mark Wielaard <mark@klomp.org>
  22532. * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintComponent):
  22533. Don't cast graphics object to GdkGraphics.
  22534. (updateComponent): Likewise.
  22535. 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  22536. * examples/gnu/classpath/examples/swing/TableDemo.java
  22537. (TModel.getColumnClass): Set second column to Icon.
  22538. (TModel.isCellEditable): Say icons are not editable.
  22539. (createContent): Fill the in second column with some icons from
  22540. MetalIconFactory.
  22541. 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  22542. * examples/gnu/classpath/examples/swing/Demo.java
  22543. (mkButtonBar): Set maximal button bar height to the preferred height.
  22544. 2006-03-18 Roman Kennke <kennke@aicas.com>
  22545. * javax/swing/plaf/basic/BasicComboPopup.java
  22546. (show): Substract insets from scroller width.
  22547. (getPopupHeightForRowCount): If height==0, return a default of 100
  22548. instead for empty ComboBoxes.
  22549. 2006-03-18 Roman Kennke <kennke@aicas.com>
  22550. * javax/swing/plaf/basic/BasicLookAndFeel.java
  22551. (PopupHelper.autoClosePopups): Removed field.
  22552. (PopupHelper.mousePressed): Removed processing of registered
  22553. autoclose popups.
  22554. (registerForAutoClose): Removed unneeded method.
  22555. (autoClosePopups): Removed unneeded method.
  22556. (registerForAutoClose): Removed unneeded method.
  22557. 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  22558. * javax.swing.JTable.java (TableTextField): Set border.
  22559. (moveToCellBeingEdited): Do not adjust the editor boundaries
  22560. 2006-03-18 Michael Koch <konqueror@gmx.de>
  22561. * resource/gnu/java/locale/LocaleInformation_aa.properties,
  22562. resource/gnu/java/locale/LocaleInformation_af.properties,
  22563. resource/gnu/java/locale/LocaleInformation_am.properties,
  22564. resource/gnu/java/locale/LocaleInformation_ar.properties,
  22565. resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
  22566. resource/gnu/java/locale/LocaleInformation_be.properties,
  22567. resource/gnu/java/locale/LocaleInformation_bg.properties,
  22568. resource/gnu/java/locale/LocaleInformation_bn.properties,
  22569. resource/gnu/java/locale/LocaleInformation_ca.properties,
  22570. resource/gnu/java/locale/LocaleInformation_cs.properties,
  22571. resource/gnu/java/locale/LocaleInformation_cy.properties,
  22572. resource/gnu/java/locale/LocaleInformation_da.properties,
  22573. resource/gnu/java/locale/LocaleInformation_de.properties,
  22574. resource/gnu/java/locale/LocaleInformation_de_CH.properties,
  22575. resource/gnu/java/locale/LocaleInformation_dz.properties,
  22576. resource/gnu/java/locale/LocaleInformation_en.properties,
  22577. resource/gnu/java/locale/LocaleInformation_eo.properties,
  22578. resource/gnu/java/locale/LocaleInformation_es.properties,
  22579. resource/gnu/java/locale/LocaleInformation_et.properties,
  22580. resource/gnu/java/locale/LocaleInformation_eu.properties,
  22581. resource/gnu/java/locale/LocaleInformation_fa.properties,
  22582. resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
  22583. resource/gnu/java/locale/LocaleInformation_fi.properties,
  22584. resource/gnu/java/locale/LocaleInformation_fo.properties,
  22585. resource/gnu/java/locale/LocaleInformation_fr.properties,
  22586. resource/gnu/java/locale/LocaleInformation_ga.properties,
  22587. resource/gnu/java/locale/LocaleInformation_gl.properties,
  22588. resource/gnu/java/locale/LocaleInformation_gu.properties,
  22589. resource/gnu/java/locale/LocaleInformation_he.properties,
  22590. resource/gnu/java/locale/LocaleInformation_hi.properties,
  22591. resource/gnu/java/locale/LocaleInformation_hr.properties,
  22592. resource/gnu/java/locale/LocaleInformation_hu.properties,
  22593. resource/gnu/java/locale/LocaleInformation_hy.properties,
  22594. resource/gnu/java/locale/LocaleInformation_id.properties,
  22595. resource/gnu/java/locale/LocaleInformation_is.properties,
  22596. resource/gnu/java/locale/LocaleInformation_it.properties,
  22597. resource/gnu/java/locale/LocaleInformation_ja.properties,
  22598. resource/gnu/java/locale/LocaleInformation_ka.properties,
  22599. resource/gnu/java/locale/LocaleInformation_km.properties,
  22600. resource/gnu/java/locale/LocaleInformation_ko.properties,
  22601. resource/gnu/java/locale/LocaleInformation_lo.properties,
  22602. resource/gnu/java/locale/LocaleInformation_lt.properties,
  22603. resource/gnu/java/locale/LocaleInformation_lv.properties,
  22604. resource/gnu/java/locale/LocaleInformation_mk.properties,
  22605. resource/gnu/java/locale/LocaleInformation_mr.properties,
  22606. resource/gnu/java/locale/LocaleInformation_ms.properties,
  22607. resource/gnu/java/locale/LocaleInformation_mt.properties,
  22608. resource/gnu/java/locale/LocaleInformation_nb.properties,
  22609. resource/gnu/java/locale/LocaleInformation_nl.properties,
  22610. resource/gnu/java/locale/LocaleInformation_nn.properties,
  22611. resource/gnu/java/locale/LocaleInformation_om.properties,
  22612. resource/gnu/java/locale/LocaleInformation_pl.properties,
  22613. resource/gnu/java/locale/LocaleInformation_ps.properties,
  22614. resource/gnu/java/locale/LocaleInformation_pt.properties,
  22615. resource/gnu/java/locale/LocaleInformation_pt_PT.properties,
  22616. resource/gnu/java/locale/LocaleInformation_ro.properties,
  22617. resource/gnu/java/locale/LocaleInformation_ru.properties,
  22618. resource/gnu/java/locale/LocaleInformation_sk.properties,
  22619. resource/gnu/java/locale/LocaleInformation_sl.properties,
  22620. resource/gnu/java/locale/LocaleInformation_so.properties,
  22621. resource/gnu/java/locale/LocaleInformation_sq.properties,
  22622. resource/gnu/java/locale/LocaleInformation_sr.properties,
  22623. resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
  22624. resource/gnu/java/locale/LocaleInformation_sv.properties,
  22625. resource/gnu/java/locale/LocaleInformation_sw.properties,
  22626. resource/gnu/java/locale/LocaleInformation_ta.properties,
  22627. resource/gnu/java/locale/LocaleInformation_te.properties,
  22628. resource/gnu/java/locale/LocaleInformation_th.properties,
  22629. resource/gnu/java/locale/LocaleInformation_tr.properties,
  22630. resource/gnu/java/locale/LocaleInformation_uk.properties,
  22631. resource/gnu/java/locale/LocaleInformation_uz.properties,
  22632. resource/gnu/java/locale/LocaleInformation_vi.properties,
  22633. resource/gnu/java/locale/LocaleInformation_zh.properties,
  22634. resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
  22635. Updated to use the new localized strings for currencies, languages,
  22636. variants, territories, etc.
  22637. 2006-03-18 Ito Kazumitsu <kaz@maczuka.gcd.org>
  22638. * gnu/regexp/REMatch.java(matchedCharIndexed): New field,
  22639. (start, end): Added comment about the negative values of them,
  22640. (finish): Saves the input text in matchedCharIndexed,
  22641. (toString): If the start or end index is out of bounds of the
  22642. matched text, get the substring from matchedCharIndexed.
  22643. Added special handlings in case start/end index < -1,
  22644. (getSubStartIndex, getStartIndex, getSubEndIndex, getEndIndex):
  22645. Added special handlings in case start/end index < -1,
  22646. * gnu/regexp/RETokenLookAhead.java(matchThis): Return the newly
  22647. found match, but keep the index as the original match.
  22648. * gnu/regexp/RETokenLookBehind.java(matchThis): Return the newly
  22649. found match, but keep the index as the original match.
  22650. * gnu/regexp/RETokenBackRef.java(matchThis): Added special handlings
  22651. in case start/end index < -1.
  22652. 2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  22653. * gnu/java/rmi/activation/ActivationSystemTransient.java (debug):
  22654. Set to false.
  22655. 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
  22656. * javax/swing/text/DefaultCaret.java:
  22657. (mouseClicked) Use setDot() and moveDot() instead of
  22658. JTextComponent.select().
  22659. 2006-03-17 Roman Kennke <kennke@aicas.com>
  22660. * javax/swing/plaf/metal/MetalComboBoxEditor.java
  22661. (MetalComboBoxEditorBorder.paintBorder): Implemented special
  22662. border painting for the Ocean theme.
  22663. (MetalComboBoxEditor): Create editor directly instead of going
  22664. to super.
  22665. 2006-03-17 Roman Kennke <kennke@aicas.com>
  22666. * javax/swing/text/JTextComponent.java
  22667. (JTextComponent): Make text components opaque.
  22668. 2006-03-17 Roman Kennke <kennke@aicas.com>
  22669. * javax/swing/plaf/metal/MetalComboBoxUI.java
  22670. (MetalComboBoxLayoutManager.layoutContainer): Forward to
  22671. layoutComboBox().
  22672. (MetalPropertyChangeListener.propertyChange): Update focusable
  22673. flag according to the enable and editable state.
  22674. (editablePropertyChanged): Removed unnecessary code.
  22675. (getMinimumSize): Rewritten to correctly compute the
  22676. size, respecting the insets of the components and the icon,
  22677. the visual properties of the combobox, etc.
  22678. (configureEditor): Update listeners correctly.
  22679. (unconfigureEditor): Update listeners correctly.
  22680. (layoutComboBox): Implemented.
  22681. 2006-03-17 Roman Kennke <kennke@aicas.com>
  22682. * javax/swing/plaf/metal/MetalComboBoxEditor.java
  22683. (MetalComboBoxEditorBorder): Made this a subclass of AbstractBorder
  22684. instead of Flush3DBorder.
  22685. (paintBorder): Fixed border painting.
  22686. (editorBorderInsets): Fixed border's insets.
  22687. 2006-03-17 Roman Kennke <kennke@aicas.com>
  22688. * javax/swing/plaf/metal/MetalComboBoxButton.java
  22689. (rendererPane): Documented.
  22690. (MetalComboBoxButton): Set enabled flag from ComboBox.
  22691. Set focusable flag from ComboBox's enabled flag.
  22692. (isFocusTraversable): Make button focus traversable if
  22693. ComboBox is not editable but enable.
  22694. (paintComponent): Fixed painting to correctly adjust
  22695. the boxes of the renderer and button.
  22696. 2006-03-17 Roman Kennke <kennke@aicas.com>
  22697. * javax/swing/plaf/basic/BasicButtonUI.java
  22698. (installDefaults): Only install UI margin if installed margin.
  22699. is null or a UIResource.
  22700. (uninstallDefaults): Only uninstall margin if it's
  22701. a UIResource.
  22702. 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
  22703. * javax/swing/text/DefaultCaret.java:
  22704. (mouseClicked) Use setDot() and moveDot() instead of
  22705. JTextComponent.select().
  22706. 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
  22707. * javax/swing/text/DefaultEditorKit.java: Refactored anonymous
  22708. inner classes into package-private inner classes, added actions
  22709. for caret movement and selection to the next and previous word
  22710. and an action which selects the whole text.
  22711. 2006-03-17 Thomas Fitzsimmons <fitzsim@redhat.com>
  22712. * javax/swing/Spring.java: Uncomment springdebug methods and
  22713. rename them toString.
  22714. * javax/swing/SpringLayout.java: Likewise.
  22715. 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
  22716. * javax/swing/text/FieldView.java:
  22717. (viewToModel): Added call to adjust allocation area.
  22718. 2006-03-17 Roman Kennke <kennke@aicas.com>
  22719. * javax/swing/plaf/basic/BasicComboBoxUI.java
  22720. (mouseListener): Removed field.
  22721. (buttonBackground): Removed field.
  22722. (buttonShadow): Removed field.
  22723. (buttonDarkShadow): Removed field.
  22724. (buttonHighlight): Removed field.
  22725. (BasicComboBoxUI): Initialize currentValuePane and cachedMinimumSize.
  22726. (installUI): Initialize and configure renderer and editor here.
  22727. (uninstallUI): Close popup before uninitializing.
  22728. Message popup that we are uninitializing. Clear layout.
  22729. (installDefaults): Install UI border. Don't install colors.
  22730. (installListeners): Install listeners fetched from the popup.
  22731. Remove handling of mouseListener.
  22732. (uninstallDefaults): Uninstall border. Don't handle colors.
  22733. (uninstallListeners): Don't handle mouseListener. Uninstall
  22734. listener from the popup.
  22735. (createMouseListener): Removed method.
  22736. (createRenderer): Create UIResource.
  22737. (installComponents): Cleaned up.
  22738. (uninstallComponents): Only remove renderer when it is
  22739. a UIResource.
  22740. (addEditor): Remove editor before adding new one.
  22741. Fetch editor from comboBox.
  22742. (removeEditor): Only do something when editor != null. Unconfigure
  22743. editor before removing.
  22744. (configureEditor): Add key listener. Call comboBox.configureEditor.
  22745. (unconfigureEditor): Removed key listener.
  22746. (configureArrowButton): Only handle when arrowButton != null.
  22747. Add mouse listeners to arrow button.
  22748. (unconfigureArrowButton): Remove listeners.
  22749. (createArrowButton): Don't handle colors here.
  22750. (setPopupVisible): Don't handle focus here.
  22751. (paint): Only paint when comboBox is not editable. Update
  22752. hasFocus flag.
  22753. (getPreferredSize): Implemented to be minimumSize + 4 pixels width.
  22754. (getMinimumSize): Respect insets here.
  22755. (getMaximumSize): Return preferredSize with width of 32767.
  22756. (getInsets): Return ComboBox insets.
  22757. (paintCurrentValue): Paint using currentValuePane.
  22758. Install correct colors. Don't revalidate.
  22759. (paintCurrentValueBackground): Implemented.
  22760. (getDefaultSize): Reimplemented using a default renderer.
  22761. (getDisplaySize): Reimplemented to use renderer.
  22762. (ComboBoxLayoutManager.preferredLayoutSize): Forward to component.
  22763. (ComboBoxLayoutManager.minimumLayoutSize): Forward to component.
  22764. (ComboBoxLayoutManager.layoutContainer): Fixed layout.
  22765. (FocusHandler.focusGained): Don't invalidate minimumSize.
  22766. (FocusHandler.focusLost): Don't invalidate minimumSize.
  22767. Only close popup if focus change is not temporary.
  22768. (ItemHandler.itemStateChanged): Don't invalidate minimumSize.
  22769. Reconfigure editor if not null.
  22770. (ListDataHandler.contentsChanged): Revalidate and reconfigure
  22771. editor if necessary.
  22772. (ListDataHandler.intervalAdded): Fixed updating of the display size.
  22773. (ListDataHandler.intervalRemoved): Forward to contentsChanged.
  22774. (MouseHandler): Removed unnecessary class.
  22775. 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
  22776. * examples/gnu/classpath/examples/swing/Demo.java:
  22777. (Demo): Set default closing operation to shutdown the runtime.
  22778. 2006-03-17 Roman Kennke <kennke@aicas.com>
  22779. * javax/swing/plaf/basic/BasicComboPopup.java
  22780. (BasicComboPopup): Create listeners here.
  22781. Configure components here.
  22782. (show): Correctly calculate bounds using computePopupBounds().
  22783. Make scroller fixed-size. Removed special autocloser handling.
  22784. (hide): Rewritten to use MenuSelectionHandler.
  22785. (createList): Don't set selection mode here.
  22786. (configureList): Correctly install colors and fonts and selectionMode.
  22787. (createScroller): Set scrollpane policies.
  22788. (configureScroller): Make scroller and scrollbar not-focusable.
  22789. (configurePopup): Make popup opaque and borderPainted.
  22790. (installComboBoxListeners): Don't install mouse listener on ComboBox.
  22791. (delegateFocus): Implemented.
  22792. (convertMouseEvent): Implemented.
  22793. (updateListBoxSelectionForEvent): Implemented to also handle
  22794. autoscrolling.
  22795. (InvocationMouseHandler.mousePressed): Delegate focus correctly.
  22796. Only open popup on left mouse-click.
  22797. (InvocationMouseHandler.mouseReleased): Rewritten.
  22798. (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
  22799. support autoscrolling.
  22800. (ItemHandler.itemStateChanged): Implemented to sync selection with
  22801. the comboBox.
  22802. (ListMouseHandler.mouseReleased): Fetch selected index directly
  22803. from list.
  22804. (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
  22805. the list box.
  22806. (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
  22807. When model changes, then update listeners correctly.
  22808. (uninstallListeners): Don't uninstall list listeners.
  22809. (uninstallComboBoxListeners): Don't uninstall mouse listeners
  22810. from comboBox.
  22811. (syncSelection): New helper method.
  22812. 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
  22813. * javax/swing/text/PlainView.java:
  22814. (drawLine): Rewritten.
  22815. (drawSelectedText): Corrected last argument for
  22816. Utilities.drawTabbedText() call.
  22817. (paint): Store start and end of selection in object variables,
  22818. store constant values of for-loop in local variables.
  22819. * javax/swing/text/Utilities.java:
  22820. (drawTabbedText): Add 'pixelWidth' to the return value, store
  22821. constant value of for-loop in local variable.
  22822. 2006-03-17 Roman Kennke <kennke@aicas.com>
  22823. * javax/swing/plaf/basic/BasicComboPopup.java
  22824. (BasicComboPopup): Create listeners here.
  22825. Configure components here.
  22826. (show): Correctly calculate bounds using computePopupBounds().
  22827. Make scroller fixed-size. Removed special autocloser handling.
  22828. (hide): Rewritten to use MenuSelectionHandler.
  22829. (createList): Don't set selection mode here.
  22830. (configureList): Correctly install colors and fonts and selectionMode.
  22831. (createScroller): Set scrollpane policies.
  22832. (configureScroller): Make scroller and scrollbar not-focusable.
  22833. (configurePopup): Make popup opaque and borderPainted.
  22834. (installComboBoxListeners): Don't install mouse listener on ComboBox.
  22835. (delegateFocus): Implemented.
  22836. (convertMouseEvent): Implemented.
  22837. (updateListBoxSelectionForEvent): Implemented to also handle
  22838. autoscrolling.
  22839. (InvocationMouseHandler.mousePressed): Delegate focus correctly.
  22840. Only open popup on left mouse-click.
  22841. (InvocationMouseHandler.mouseReleased): Rewritten.
  22842. (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
  22843. support autoscrolling.
  22844. (ItemHandler.itemStateChanged): Implemented to sync selection with
  22845. the comboBox.
  22846. (ListMouseHandler.mouseReleased): Fetch selected index directly
  22847. from list.
  22848. (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
  22849. the list box.
  22850. (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
  22851. When model changes, then update listeners correctly.
  22852. (uninstallListeners): Don't uninstall list listeners.
  22853. (uninstallComboBoxListeners): Don't uninstall mouse listeners
  22854. from comboBox.
  22855. (syncSelection): New helper method.
  22856. 2006-03-17 Roman Kennke <kennke@aicas.com>
  22857. * javax/swing/plaf/basic/BasicComboBoxRenderer.java
  22858. (noFocusBorder): Make border with insets of (1,1,1,1).
  22859. (BasicComboBoxRenderer): Make renderer opaque.
  22860. No need to explicitly set alignment.
  22861. (getListCellRendererComponent): Rewritten to correctly initialize
  22862. color and font.
  22863. 2006-03-17 Roman Kennke <kennke@aicas.com>
  22864. * javax/swing/JPopupMenu.java
  22865. (setVisible): Handle JPopupMenu opening and closing via
  22866. the MenuSelectionHandler.
  22867. 2006-03-17 Wolfgang Baer <WBaer@gmx.de>
  22868. * org/omg/DynamicAny/DynAnyPackage/InvalidValue.java: Now final.
  22869. * org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java: Likewise.
  22870. * org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.java:
  22871. Likewise.
  22872. * org/omg/CORBA/portable/RemarshalException.java: Likewise
  22873. * org/omg/CORBA/TypeCodePackage/BadKind.java: Likewise.
  22874. * org/omg/CORBA/TypeCodePackage/Bounds.java: Likewise.
  22875. * org/omg/CORBA/ORBPackage/InvalidName.java: Likewise.
  22876. * org/omg/CORBA/ORBPackage/InconsistentTypeCode.java: Likewise.
  22877. * org/omg/CORBA/DynAnyPackage/TypeMismatch.java: Likewise.
  22878. * org/omg/CORBA/DynAnyPackage/InvalidValue.java: Likewise.
  22879. * org/omg/CORBA/DynAnyPackage/InvalidSeq.java: Likewise.
  22880. * org/omg/CORBA/DynAnyPackage/Invalid.java: Likewise.
  22881. * org/omg/Dynamic/Parameter.java: Now final, javadoc fixes.
  22882. 2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  22883. * java/rmi/activation/Activatable.java: Implemented.
  22884. java/rmi/activation/ActivationDesc.java: Implemented.
  22885. java/rmi/activation/ActivationGroup.java: Implemented.
  22886. java/rmi/activation/ActivationGroupDesc.java: Implemented.
  22887. java/rmi/activation/ActivationID.java: Implemented.
  22888. java/rmi/activation/ActivationSystem.java: Implemented.
  22889. * gnu/java/rmi/server/UnicastServerRef.java
  22890. (exportObject, incommingMessageCall): Documented.
  22891. * java/rmi/activation/package.html: Documented.
  22892. * java/rmi/server/ObjID.java (objNum, space): Made package
  22893. protected.
  22894. * gnu/java/rmi/server/UnicastServer.java: Rewritten.
  22895. * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
  22896. Iteration bug fix.
  22897. * gnu/java/rmi/activation/ActivationSystemTransient.java: New file.
  22898. gnu/java/rmi/activation/BidiTable.java: New file.
  22899. gnu/java/rmi/activation/DefaultActivationGroup.java: New file.
  22900. gnu/java/rmi/activation/DefaultActivationSystem.java: New file.
  22901. gnu/java/rmi/server/ActivatableServerRef.java: New file.
  22902. 2006-03-17 Mark Wielaard <mark@klomp.org>
  22903. * java/security/BasicPermission.java (BasicPermission): Check
  22904. name equals empty string to force NullPointerException.
  22905. 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
  22906. PR classpath/26606
  22907. Commit patch by Caolan McNamara <caolanm@redhat.com>
  22908. * javax/swing/Spring.java: Complete implementation
  22909. * javax/swing/SpringLayout.java: Likewise.
  22910. 2006-03-16 Keith Seitz <keiths@redhat.com>
  22911. * gnu/classpath/jdwp/Jdwp.java (_mainThread): Not needed. Removed
  22912. all references.
  22913. (run): Remove catch clause for InterruptedException. It is no
  22914. longer necessary.
  22915. 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
  22916. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
  22917. (getFontMetrics): Handle monospaced fonts specially.
  22918. 2006-03-16 Keith Seitz <keiths@redhat.com>
  22919. * gnu/classpath/jdwp/Jdwp.java (getJdwpThreadGroup): New method.
  22920. * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
  22921. (suspendAllThreads): Use Jdwp.getJdwpThreadGroup.
  22922. Don't suspend the current thread unless it is not part of the JDWP
  22923. thread group.
  22924. 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
  22925. * gnu/java/awt/peer/gtk/GdkFontMetrics.java (getLeading): Always
  22926. return 0.
  22927. * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Get
  22928. font metrics through toolkit.
  22929. * gnu/java/awt/peer/gtk/GdkGraphics.java (getFontMetrics):
  22930. Likewise.
  22931. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
  22932. (getFontMetrics): To calculate Java logical ascent and descent
  22933. values, average Pango ink and logical values.
  22934. 2006-03-16 Anthony Balkissoon <abalkiss@redhat.com>
  22935. * java/lang/Character.java: Updated header comment.
  22936. 2006-03-16 Tom Tromey <tromey@redhat.com>
  22937. * javax/sound/sampled/AudioSystem.java (getAudioFileFormat): New
  22938. constructor.
  22939. * javax/sound/sampled/FloatControl.java: Now abstract.
  22940. * javax/sound/sampled/EnumControl.java: Now abstract.
  22941. * javax/sound/sampled/CompoundControl.java: Now abstract.
  22942. * javax/sound/sampled/BooleanControl.java: Now abstract.
  22943. 2006-03-16 Tom Tromey <tromey@redhat.com>
  22944. * java/awt/image/ConvolveOp.java (getBounds2D): Now final.
  22945. 2006-03-16 Roman Kennke <kennke@aicas.com>
  22946. * java/util/zip/ZipFile.java
  22947. (openFile): New helper method.
  22948. (ZipFile): Use new openFile method to ensure the proper
  22949. exception is thrown. This applies for all overloaded constructors.
  22950. 2006-03-16 Roman Kennke <kennke@aicas.com>
  22951. * java/text/DateFormatSymbols.java
  22952. (setAmPmStrings): Added null check and throw NPE.
  22953. (setEras): Likewise.
  22954. (setLocalPatternChars): Likewise.
  22955. (setMonths): Likewise.
  22956. (setShortMonths): Likewise.
  22957. (setShortWeekdays): Likewise.
  22958. (setWeekdays): Likewise.
  22959. (setZoneStrings): Likewise.
  22960. 2006-03-16 Roman Kennke <kennke@aicas.com>
  22961. * javax/swing/DefaultDesktopManager.java
  22962. (iconifyFrame): Repaint after removing the frame.
  22963. (removeIconFor): Repaint after removing the icon.
  22964. 2006-03-16 Roman Kennke <kennke@aicas.com>
  22965. * javax/swing/JInternalFrame.java
  22966. (remove): Respect the rootPaneCheckingEnabled flag here.
  22967. 2006-03-16 Roman Kennke <kennke@aicas.com>
  22968. * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
  22969. Moved from examples into gnu.javax.swing.. namespace.
  22970. * examples/gnu/classpath/examples/swing/GNULookAndFeel.java
  22971. Moved to gnu.javax.swing.. namespace.
  22972. * examples/gnu/classpath/examples/swing/Demo.java:
  22973. (themesMenu): New field. Used to disable theme switch in
  22974. non-Metal-L&Fs.
  22975. (mkMenuBar): Added L&F menu.
  22976. (ChangeThemeAction.actionPerformed): Only switch theme when
  22977. in Metal L&F.
  22978. (ChangeLAFAction): New class used for changing themes.
  22979. * javax/swing/UIManager.java
  22980. (installed): Added GNU L&F as installed L&F.
  22981. 2006-03-16 Mark Wielaard <mark@klomp.org>
  22982. * examples/gnu/classpath/examples/swing/badge.png: Removed.
  22983. * examples/gnu/classpath/examples/icons/badge.png: Added.
  22984. * examples/gnu/classpath/examples/swing/DemoDesktop.java: Use badge
  22985. from icon directory.
  22986. 2006-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
  22987. * examples/gnu/classpath/examples/awt/AnimationApplet.java: New
  22988. example.
  22989. * examples/gnu/classpath/examples/swing/FillRect.java: Likewise.
  22990. * examples/gnu/classpath/examples/awt/Demo.java: Add
  22991. AnimationApplet demo.
  22992. * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
  22993. demo.
  22994. 2006-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
  22995. PR classpath/26486
  22996. * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics): Remove
  22997. method.
  22998. (handleEvent): Likewise.
  22999. * gnu/java/awt/peer/gtk/GtkComponentPeer.java (isInRepaint):
  23000. Remove field.
  23001. (beginNativeRepaint): Remove method.
  23002. (endNativeRepaint): Likewise.
  23003. (handleEvent): Call paintComponent and updateComponent.
  23004. (paintComponent): New method.
  23005. (updateComponent): Likewise.
  23006. (repaint): Return early if width or height is less than one.
  23007. (postExposeEvent): Remove isInRepaint reference.
  23008. * gnu/java/awt/peer/gtk/GtkContainerPeer.java: (getGraphics):
  23009. Remove method.
  23010. * gnu/java/awt/peer/gtk/GtkDialogPeer.java (getGraphics): Inherit
  23011. from GtkWindowPeer.
  23012. (postMouseEvent): Likewise.
  23013. (postExposeEvent): Likewise.
  23014. * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (updateComponent):
  23015. Override to do nothing.
  23016. * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics): Inherit
  23017. from GtkWindowPeer.
  23018. (postMouseEvent): Likewise.
  23019. (postExposeEvent): Likewise.
  23020. * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Inherit
  23021. paint and update handling from GtkComponentPeer.
  23022. (updateComponent): Override to call paintComponent.
  23023. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Replace
  23024. gdk_flush calls with schedule_flush calls.
  23025. (flush): New function.
  23026. (schedule_flush): Likewise.
  23027. 2006-03-15 Tom Tromey <tromey@redhat.com>
  23028. * java/beans/beancontext/BeanContextSupport.java (BCSChild): New
  23029. constructor.
  23030. (BCSIterator): Likewise.
  23031. * java/beans/beancontext/BeanContextServicesSupport.java (BCSSChild):
  23032. New constructor.
  23033. (BCSSProxyServiceProvider): Likewise.
  23034. (BCSSServiceProvider): Likewise.
  23035. 2006-03-15 Tom Tromey <tromey@redhat.com>
  23036. * javax/sound/midi/Track.java (Track): New constructor.
  23037. (events): Now package-private.
  23038. * javax/sound/midi/MidiUnavailableException.java
  23039. (MidiUnavailableException): Removed invalid constructors.
  23040. * javax/sound/midi/MidiSystem.java (MidiSystem): New constructor.
  23041. * javax/sound/midi/InvalidMidiDataException.java
  23042. (InvalidMidiDataException): Removed invalid constructors.
  23043. * javax/sound/midi/Sequencer.java (hashCode): Now final.
  23044. * javax/sound/midi/SysexMessage.java (SysexMessage): Now protected.
  23045. * javax/sound/midi/ShortMessage.java (ShortMessage): Now protected.
  23046. (SYSTEM_EXCLUSIVE): Removed.
  23047. (getDataLength): Updated.
  23048. * javax/sound/midi/MidiDevice.java (Info): Now protected.
  23049. (equals): Now final
  23050. (getName): Now final.
  23051. (getVendor): Now final.
  23052. (getDescription): Likewise.
  23053. (hashCode): Likewise.
  23054. (getVersion): Likewise.
  23055. (toString): Likewise.
  23056. * javax/sound/midi/MetaMessage.java (MetaMessage): Now protected.
  23057. * javax/sound/sampled/ReverbType.java (getDecayTime): Now final.
  23058. (getEarlyReflectionDelay): Likewise.
  23059. (getEarlyReflectionIntensity): Likewise.
  23060. (getLateReflectionDelay): Likewise.
  23061. (getLateReflectionIntensity): Likewise.
  23062. (toString): Likewise.
  23063. * javax/sound/sampled/Port.java (toString): Now final.
  23064. * javax/sound/sampled/LineEvent.java (getFramePosition): Now final.
  23065. (getLine): Likewise.
  23066. (getType): Likewise.
  23067. * javax/sound/sampled/Mixer.java (Info): Now protected.
  23068. (getDescription): Now final.
  23069. (getName): Likewise.
  23070. (getVendor): Likewise.
  23071. (getVersion): Likewise.
  23072. (toString): Likewise.
  23073. * javax/sound/sampled/Control.java: Now abstract.
  23074. (Type.toString): Now final.
  23075. 2006-03-15 Keith Seitz <keiths@redhat.com>
  23076. * gnu/classpath/jdwp/util/LineTable.java (lines): Remove all occurances
  23077. of this redundant variable.
  23078. (LineTable): Assert that the number of line numbers and the number of
  23079. code indicies is the same.
  23080. 2006-03-15 Tom Tromey <tromey@redhat.com>
  23081. * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Now
  23082. final.
  23083. * javax/imageio/stream/ImageOutputStream.java (flushBefore): Javadoc
  23084. fix.
  23085. * java/util/zip/ZipFile.java (ENDNRD): New constant.
  23086. * java/util/zip/ZipConstants.java (ENDNRD, ENDDCD): Removed.
  23087. * java/util/zip/Inflater.java (end): Not deprecated.
  23088. * java/util/zip/Deflater.java (end): Not deprecated.
  23089. * java/text/Bidi.java (Bidi): Now final.
  23090. * java/nio/MappedByteBuffer.java (finalize): Now protected.
  23091. 2006-03-15 Keith Seitz <keiths@redhat.com>
  23092. * gnu/classpath/jdwp/util/Location.java: Rewrite using VMMethod.
  23093. (Location): Index is a long, not an int.
  23094. (getMethod): New method.
  23095. (getIndex): New method.
  23096. (toString): New method.
  23097. 2006-03-15 Tom Tromey <tromey@redhat.com>
  23098. * java/awt/image/RescaleOp.java (getRenderingHints): Now final.
  23099. * java/awt/image/LookupOp.java (filter): Now final.
  23100. (getBounds2D): Likewise.
  23101. (getPoint2D): Likewise.
  23102. (getTable): Likewise.
  23103. (getRenderingHints): Likewise.
  23104. * java/awt/image/ConvolveOp.java (filter): Now final.
  23105. (getBounds2D): Likewise.
  23106. (getKernel): Likewise.
  23107. (getPoint2D): Likewise.
  23108. (getRenderingHints): Likewise.
  23109. * java/awt/image/BandCombineOp.java (getPoint2D): Now final.
  23110. (getMatrix): Likewise.
  23111. (getBounds2D): Likewise.
  23112. (getRenderingHints): Likewise.
  23113. * java/awt/image/AffineTransformOp.java (getPoint2D): Now final.
  23114. * java/awt/Button.java (AccessibleAWTButton.serialVersionUID): Now
  23115. private.
  23116. * java/awt/dnd/DropTargetContext.java (TransferableProxy): Now
  23117. protected.
  23118. * java/awt/dnd/DropTarget.java (DropTargetAutoScroller): Now
  23119. protected.
  23120. * java/awt/MenuItem.java (AccessibleAWTMenuItem): Now protected.
  23121. 2006-03-15 Keith Seitz <keiths@redhat.com>
  23122. * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java:
  23123. Update javadoc.
  23124. (matches): Implement.
  23125. 2006-03-15 Keith Seitz <keiths@redhat.com>
  23126. * gnu/classpath/jdwp/event/BreakpointEvent.java: New file.
  23127. * gnu/classpath/jdwp/exception/NativeMethodException.java: New file.
  23128. 2006-03-15 Tom Tromey <tromey@redhat.com>
  23129. * java/lang/StrictMath.java (signum): New methods.
  23130. 2006-03-15 Tom Tromey <tromey@redhat.com>
  23131. * .settings/org.eclipse.jdt.core.prefs: Set tabs to 8 spaces.
  23132. 2006-03-15 Lillian Angel <langel@redhat.com>
  23133. PR classpath/24211
  23134. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
  23135. (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSurfaceSetFilterUnlocked):
  23136. Added check to avoid segmentation fault.
  23137. 2006-03-15 Lillian Angel <langel@redhat.com>
  23138. * java/awt/Container.java
  23139. (getComponentAt): Fixed documentation.
  23140. (getComponentAt): Likewise.
  23141. 2006-03-15 Roman Kennke <kennke@aicas.com>
  23142. * javax/swing/JComponent.java
  23143. (dragBuffer): New field.
  23144. (dragBufferInitialized): New field.
  23145. (paint): Added facility for buffered dragging of components.
  23146. (initializeDragBuffer): New method.
  23147. (getConditionForKeyStroke): Removed deprecated flag. Adjusted
  23148. API docs.
  23149. * javax/swing/plaf/basic/BasicInternalFrameUI.java
  23150. (BorderListener.mouseDragged): Turn on buffered dragging.
  23151. (BorderListener.mouseReleased): Turn off buffered dragging.
  23152. 2006-03-15 Lillian Angel <langel@redhat.com>
  23153. * java/awt/Container.java
  23154. (getComponentAt): Fixed documentation.
  23155. (getComponentAt): Likewise.
  23156. (findComponentAt): Likewise.
  23157. (findComponentAt): Likewise.
  23158. 2006-03-15 Roman Kennke <kennke@aicas.com>
  23159. * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
  23160. (PropertyChangeHandler.propertyChange): Call enableActions().
  23161. Fixed 'iconable' property name.
  23162. 2006-03-15 Chris Burdess <dog@gnu.org>
  23163. Fixes PR 26700
  23164. * gnu/xml/stream/XMLParser.java: Fix for detectEncoding false positive.
  23165. 2006-03-15 Roman Kennke <kennke@aicas.com>
  23166. * examples/gnu/classpath/examples/swing/Demo.java:
  23167. (desktop): New field.
  23168. (mkMenuBar): Added new subdemos.
  23169. (mkButtonWorld): Removed.
  23170. (CheckCellRenderer): Moved to ListDemo.
  23171. (LabelCellRenderer): Moved to ListDemo.
  23172. (mkTreeWorld): Moved to TreeDemo.
  23173. (mkDesktopWorld): Removed.
  23174. (mkTabWorld): Moved to TabbedPaneDemo.
  23175. (mkTabbedPane): Removed.
  23176. (Demo): Replaced 'worlds' tabbed pane with desktop.
  23177. (PopupAction): Made class non-static.
  23178. (PopupAction.actionPerformed): Bring up subdemos in internal
  23179. frame.
  23180. (mkButtonBar): Added new demos.
  23181. (createDesktop): New method.
  23182. * examples/gnu/classpath/examples/swing/DemoDesktop.java: New class.
  23183. * examples/gnu/classpath/examples/swing/ListDemo.java: New demo.
  23184. * examples/gnu/classpath/examples/swing/TreeDemo.java: New demo.
  23185. * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java: New demo.
  23186. * examples/gnu/classpath/examples/swing/badge.png: New image file.
  23187. 2006-03-15 Lillian Angel <langel@redhat.com>
  23188. * java/awt/Container.java
  23189. (getComponentAt): Fixed mistake in comments.
  23190. (getComponentAt): Likewise.
  23191. (locate): Likewise. Also, handled lightweight components.
  23192. Heavyweights take precedence over lightweights, so we should
  23193. iterate through the heavyweights first.
  23194. 2006-03-15 Lillian Angel <langel@redhat.com>
  23195. * java/awt/Container.java
  23196. (getComponentAt): Added API documentation.
  23197. (getComponentAt): Likewise.
  23198. (locate): Likewise. Also, removed lines to ignore
  23199. invisible components.
  23200. (findComponentAt): Added API documentation.
  23201. (findComponentAt): Added API documentation.
  23202. (findComponentForMouseEvent): Removed, never used.
  23203. 2006-03-15 Roman Kennke <kennke@aicas.com>
  23204. * javax/swing/Popup.java
  23205. (LightweightPopup.show): Repaint the panel after showing it.
  23206. 2006-03-15 Lillian Angel <langel@redhat.com>
  23207. * java/awt/Component.java
  23208. (show): repaint should only be called if the component
  23209. isShowing and isLightweight.
  23210. 2006-03-15 Roman Kennke <kennke@aicas.com>
  23211. * javax/swing/JInternalFrame.java
  23212. (setClosable): Made this property bound.
  23213. (setResizable): Made this property bound.
  23214. (setIconifiable): Made this property bound.
  23215. (setMaximizable): Made this property bound.
  23216. 2006-03-15 David Gilbert <david.gilbert@object-refinery.com>
  23217. * javax/swing/table/TableColumn.java
  23218. (sizeWidthToFit): Implemented.
  23219. 2006-03-15 David Gilbert <david.gilbert@object-refinery.com>
  23220. * javax/swing/table/TableColumn.java: API docs updated all over, plus
  23221. (setIdentifier): Fire required PropertyChangeEvent,
  23222. (setCellEditor): Likewise.
  23223. 2006-03-15 Roman Kennke <kennke@aicas.com>
  23224. * examples/gnu/classpath/examples/swing/ButtonDemo.java,
  23225. * examples/gnu/classpath/examples/swing/ComboBoxDemo.java,
  23226. * examples/gnu/classpath/examples/swing/FileChooserDemo.java,
  23227. * examples/gnu/classpath/examples/swing/ProgressBarDemo.java,
  23228. * examples/gnu/classpath/examples/swing/ScrollBarDemo.java,
  23229. * examples/gnu/classpath/examples/swing/SliderDemo.java,
  23230. * examples/gnu/classpath/examples/swing/SpinnerDemo.java,
  23231. * examples/gnu/classpath/examples/swing/TableDemo.java,
  23232. * examples/gnu/classpath/examples/swing/TextAreaDemo.java,
  23233. * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
  23234. Reworked to implemented DemoFactory and lazy loading of Sub-demos.
  23235. * examples/gnu/classpath/examples/swing/Demo.java:
  23236. Cleaned up. Reworked handling of Sub-demos to load lazily.
  23237. * examples/gnu/classpath/examples/swing/DemoFactory.java:
  23238. New interface. Used for loading the subdemos lazily.
  23239. 2006-03-15 Roman Kennke <kennke@aicas.com>
  23240. * javax/swing/plaf/basic/BasicToolBarUI.java
  23241. (PropertyListener.propertyChange): Added null check to avoid NPE.
  23242. 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
  23243. * javax/swing/table/TableColumn.java
  23244. (COLUMN_WIDTH_PROPERTY): Updated API docs,
  23245. (width): Likewise.
  23246. (minWidth): Likewise,
  23247. (preferredWidth): Likewise,
  23248. (maxWidth): Likewise,
  23249. (headerRenderer): Likewise,
  23250. (cellRenderer): Likewise,
  23251. (cellEditor): Likewise,
  23252. (changeSupport): Likewise,
  23253. (firePropertyChange(String, Object, Object)): Removed,
  23254. (firePropertyChange(String, int. int)): Likewise,
  23255. (firePropertyChange(String, boolean, boolean)): Likewise,
  23256. (setModelIndex): Fire property change,
  23257. (setHeaderValue): Call changeSupport directly to generate event,
  23258. (setHeaderRenderer): Likewise,
  23259. (setCellRenderer): Likewise,
  23260. (setWidth): Likewise,
  23261. (setPreferredWidth): Likewise,
  23262. (setMinWidth): Likewise,
  23263. (setMaxWidth): Likewise,
  23264. (createDefaultHeaderRenderer): Added API docs.
  23265. 2006-03-14 Roman Kennke <kennke@aicas.com>
  23266. * examples/gnu/classpath/examples/swing/Demo.java
  23267. Removed static initializer.
  23268. (mkMenuBar): Made method non-static. Added themes menu.
  23269. (ChangeThemeAction): New inner class, used to change themes.
  23270. 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
  23271. * javax/swing/table/TableColumn.java
  23272. (setMaxWidth): Updated width and preferredWidth if necessary,
  23273. (getMaxWidth): Updated API docs.
  23274. 2006-03-14 Roman Kennke <kennke@aicas.com>
  23275. * javax/swing/plaf/basic/BasicSliderUI.java
  23276. (TrackListener.mouseDragged): Only process event when slider is
  23277. enabled.
  23278. (TrackListener.mouseReleased): Only process event when slider is
  23279. enabled.
  23280. (TrackListener.mousePressed): Only process event when slider is
  23281. enabled.
  23282. 2006-03-14 Roman Kennke <kennke@aicas.com>
  23283. * NEWS: Added note about OceanTheme support.
  23284. 2006-03-14 Roman Kennke <kennke@aicas.com>
  23285. * javax/swing/plaf/metal/MetalIconFactory.java
  23286. (HorizontalSliderThumbIcon.gradientMask): New field
  23287. (HorizontalSliderThumbIcon.paintIcon): Added support for the
  23288. OceanTheme.
  23289. (VerticalSliderThumbIcon.gradientMask): New field
  23290. (VerticalSliderThumbIcon.paintIcon): Added support for the
  23291. OceanTheme.
  23292. * javax/swing/plaf/metal/MetalUtils.java
  23293. (paintHorizontalGradient): Fixed painting of 'masked' gradients.
  23294. (paintVerticalGradient): Fixed painting of 'masked' gradients.
  23295. 2006-03-14 Mark Wielaard <mark@klomp.org>
  23296. Fixes bug #26641
  23297. * java/awt/LightweightDispatcher.java (dispatchEvent): Return result
  23298. of handleMouseEvent.
  23299. (handleMouseEvent): Return boolean to indicate whether we handled the
  23300. event by passing it to a lightweight.
  23301. 2006-03-14 Wolfgang Baer <WBaer@gmx.de>
  23302. * org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java,
  23303. * org/omg/PortableServer/ServantActivatorPOA.java,
  23304. * org/omg/PortableServer/ServantLocatorPOA.java:
  23305. Make class abstract and minor api docs fixlets.
  23306. * org/omg/PortableServer/ForwardRequest.java,
  23307. * org/omg/PortableServer/ServantLocatorPackage/CookieHolder.java,
  23308. * org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java,
  23309. * org/omg/PortableServer/POAPackage/AdapterNonExistent.java,
  23310. * org/omg/PortableServer/POAPackage/InvalidPolicy.java,
  23311. * org/omg/PortableServer/POAPackage/NoServant.java,
  23312. * org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java,
  23313. * org/omg/PortableServer/POAPackage/ObjectNotActive.java,
  23314. * org/omg/PortableServer/POAPackage/ServantAlreadyActive.java,
  23315. * org/omg/PortableServer/POAPackage/ServantNotActive.java,
  23316. * org/omg/PortableServer/POAPackage/WrongAdapter.java,
  23317. * org/omg/PortableServer/POAPackage/WrongPolicy.java,
  23318. * org/omg/PortableServer/POAManagerPackage/AdapterInactive.java,
  23319. * org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java,
  23320. * org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java,
  23321. * org/omg/PortableServer/CurrentPackage/NoContext.java: Make class final.
  23322. 2006-03-14 Wolfgang Baer <WBaer@gmx.de>
  23323. * NEWS: Added entry about printing support.
  23324. 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
  23325. * javax/swing/table/TableColumn.java
  23326. (COLUMN_WIDTH_PROPERTY): Updated API docs,
  23327. (isResizable): Likewise,
  23328. (setWidth): Likewise,
  23329. (getWidth): Likewise,
  23330. (setPreferredWidth): Likewise,
  23331. (getPreferredWidth): Likewise,
  23332. (setMinWidth): Check for negative argument and update width and
  23333. preferredWidth if necessary,
  23334. (getMinWidth): Updated API docs.
  23335. 2006-03-14 Lillian Angel <langel@redhat.com>
  23336. * java/awt/Container.java
  23337. (addImpl): Removed call to repaint. No need to repaint here.
  23338. 2006-03-14 Roman Kennke <kennke@aicas.com>
  23339. * javax/swing/plaf/metal/MetalSliderUI.java
  23340. (paintTrack): Added OceanTheme support.
  23341. 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
  23342. * javax/swing/table/TableColumn.java
  23343. (setResizable): Fire PropertyChangeEvent if the flag value changes,
  23344. (isResizable): Updated API docs.
  23345. 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
  23346. * javax/swing/LookAndFeel.java: Updated API docs.
  23347. 2006-03-14 Roman Kennke <kennke@aicas.com>
  23348. * javax/swing/plaf/metal/MetalUtils.java
  23349. (paintGradient): Added support for 'masked' gradients.
  23350. (paintHorizontalGradient): Likewise.
  23351. (paintVerticalGradient): Likewise.
  23352. * javax/swing/plaf/metal/MetalIconFactory.java
  23353. (RadioButtonIcon.gradientMask): New field.
  23354. (RadioButtonIcon.paintIcon): Added mask for gradient painting.
  23355. 2006-03-14 Mark Wielaard <mark@klomp.org>
  23356. Fixes bug #26645.
  23357. * javax/swing/plaf/basic/BasicComboBoxEditor.java (listener):
  23358. New field.
  23359. (removeActionListener): Add listener to ComboBoxEditorListener.
  23360. (removeActionListener): Remove listener from ComboBoxEditorListener.
  23361. (ComboBoxEditorListener): New static helper class.
  23362. 2006-03-14 Roman Kennke <kennke@aicas.com>
  23363. * javax/swing/plaf/metal/MetalBorders.java
  23364. (getToolBarButtonBorder): Don't create a UIResource border
  23365. here.
  23366. * javax/swing/plaf/metal/MetalToolBarUI.java
  23367. (installUI): New overridden method. Installs the rollover property.
  23368. (uninstallUI): New overridden method. Resets the rollover property.
  23369. * javax/swing/plaf/metal/MetalUtils.java
  23370. (paintGradient): Fetch Float values from the UIManager. Adjusted
  23371. method signatures accordingly.
  23372. (paintHorizontalGradient): Adjusted signature to accept float
  23373. instead of double.
  23374. (paintVerticalGradient): Adjusted signature to accept float
  23375. instead of double.
  23376. * javax/swing/plaf/metal/OceanTheme.java
  23377. (addCustomEntriesToTable): Added missing UIDefaults entries,
  23378. except of Icons. Fixed gradient entries to use Float instead
  23379. of Double.
  23380. 2006-03-14 Roman Kennke <kennke@aicas.com>
  23381. * javax/swing/JInternalFrame.java
  23382. (JInternalFrame): Make JInternalFrame opaque.
  23383. * javax/swing/JToolBarFrame.java
  23384. (JToolBar): Make JToolBar opaque.
  23385. 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
  23386. * javax/swing/tree/TreeNode.java: Fixed bad API doc tags,
  23387. * javax/swing/tree/TreePath.java: Likewise.
  23388. 2006-03-13 Tom Tromey <tromey@redhat.com>
  23389. * javax/swing/text/html/StyleSheet.java (removeAttributes):
  23390. Genericized.
  23391. * javax/swing/plaf/synth/SynthLookAndFeel.java (load): Genericized.
  23392. * java/rmi/server/RMIClassLoader.java (loadProxyClass): Genericized.
  23393. 2006-03-13 Keith Seitz <keiths@redhat.com>
  23394. * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
  23395. (executeMethods): Output number of methods.
  23396. 2006-03-13 Roman Kennke <kennke@aicas.com>
  23397. * javax/swing/plaf/basic/BasicButtonUI.java
  23398. (uninstallDefaults): Only uninstall border if it's a UIResource.
  23399. * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
  23400. (SystemMenuBar.isFocusTraversable): Fixed typo in signature.
  23401. * javax/swing/plaf/basic/BasicInternalFrameUI.java
  23402. (installUI): Don't touch the opaque flag of the glassPane and
  23403. the frame. Don't invalidate.
  23404. * javax/swing/plaf/basic/BasicInternalFrameUI.java
  23405. (installUI): Don't touch the opaque flag of the glassPane.
  23406. * javax/swing/plaf/basic/BasicMenuBarUI.java
  23407. (properyChangeListener): Made field private.
  23408. (ChangeHandler): Made class private.
  23409. (ContainerHandler): Made class private.
  23410. (PropertyChangeHandler): Made class private.
  23411. * javax/swing/plaf/basic/BasicMenuUI.java
  23412. (MenuHandler): Made class private.
  23413. (PropertyChangeHandler): Removed unneeded class.
  23414. (MenuDragMouseHandler): Made class private.
  23415. (MenuKeyHandler): Made class private.
  23416. * javax/swing/plaf/basic/BasicPanelUI.java
  23417. (installDefaults): Made method protected. Don't set opaque
  23418. flag.
  23419. * javax/swing/plaf/basic/BasicScrollBarUI.java
  23420. (TrackListener.shouldScroll): Made method private.
  23421. * javax/swing/plaf/basic/BasicSplitPaneUI.java
  23422. (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager):
  23423. Made constructor package private.
  23424. * javax/swing/plaf/basic/BasicTableHeaderUI.java
  23425. (cellBorder): Made field private.
  23426. * javax/swing/plaf/basic/BasicTextUI.java
  23427. (installDefaults): Don't make component opaque.
  23428. * javax/swing/plaf/basic/BasicToolBarUI.java
  23429. (createNonRollOverBorder): Don't create UIResource border.
  23430. (createRollOverBorder): Don't create UIResource border.
  23431. (installComponents): Moved setRolloverBorders call here.
  23432. (installDefaults): Moved setRolloverBorders call from here.
  23433. (installUI): Don't make toolbar opaque.
  23434. (setBorderToNonRollover): Handle AbstractButton instead of
  23435. JButton here.
  23436. (uninstallComponents): Don't nullify class fields here.
  23437. 2006-03-13 David Gilbert <david.gilbert@object-refinery.com>
  23438. * javax/swing/SwingUtilities.java
  23439. (calculateInnerArea): handle null component, and replace
  23440. getLocalBounds() with getBounds(Rectangle) to avoid unnecessary object
  23441. creation.
  23442. 2006-03-13 Roman Kennke <kennke@aicas.com>
  23443. * javax/swing/JColorChooser.java
  23444. (updateUI): Don't call revalidate().
  23445. * javax/swing/JComboBox.java
  23446. (updateUI): Don't call invalidate().
  23447. * javax/swing/JDesktopPane.java
  23448. (updateUI): Don't call invalidate().
  23449. * javax/swing/JFileChooser.java
  23450. (updateUI): Don't call revalidate().
  23451. * javax/swing/JMenu.java
  23452. (updateUI): Don't call invalidate().
  23453. * javax/swing/JMenuBar.java
  23454. (updateUI): Don't call invalidate().
  23455. * javax/swing/JMenuItem.java
  23456. (updateUI): Don't call invalidate().
  23457. * javax/swing/JOptionPane.java
  23458. (updateUI): Don't call invalidate().
  23459. * javax/swing/JPopupMenu.java
  23460. (updateUI): Don't call invalidate().
  23461. * javax/swing/JProgressBar.java
  23462. (updateUI): Don't call invalidate().
  23463. * javax/swing/JScrollBar.java
  23464. (updateUI): Don't call invalidate() and repaint().
  23465. * javax/swing/JScrollPane.java
  23466. (updateUI): Rewritten to be like the other updateUI()
  23467. methods.
  23468. * javax/swing/JSlider.java
  23469. (updateUI): Don't call invalidate() and repaint().
  23470. * javax/swing/JSplitPane.java
  23471. (updateUI): Don't call invalidate() and repaint().
  23472. * javax/swing/JTabbedPane.java
  23473. (updateUI): Don't call invalidate().
  23474. * javax/swing/JTable.java
  23475. (updateUI): Don't call revalidate() and repaint().
  23476. * javax/swing/JToolBar.java
  23477. (updateUI): Don't call revalidate() and repaint().
  23478. * javax/swing/JToolTip.java
  23479. (updateUI): Don't call revalidate() and repaint().
  23480. 2006-03-13 Roman Kennke <kennke@aicas.com>
  23481. * javax/swing/SwingUtilities.java
  23482. (updateComponentTreeUI): Rewritten to be more robust. Handling of
  23483. menus and non-Swing components is improved.
  23484. (updateComponentTreeUIImpl): New helper method.
  23485. (replaceUIActionMap): Added check for uiActionMap==parent to
  23486. avoid loop.
  23487. (replaceUIInputMap): Added check for uiInputMap==parent to
  23488. avoid loop.
  23489. 2006-03-13 Wolfgang Baer <WBaer@gmx.de>
  23490. * gnu/classpath/debug/Component.java:
  23491. (IPP) New component for IPP debugging.
  23492. (EVERYTHING): Adapted to include IPP.
  23493. * javax/print/PrintServiceLookup.java:
  23494. (registerServiceProvider): New method.
  23495. (registerService): Likewise.
  23496. (lookupPrintServices): Likewise.
  23497. (lookupMultiDocPrintServices): Likewise.
  23498. (lookupDefaultPrintService): Likewise.
  23499. (static_initializer): Likewise.
  23500. (printServiceLookups): New field for found service providers.
  23501. (printServices): New field for application registered providers.
  23502. (systemProvider): New field for the system provider.
  23503. * javax/print/ServiceUI.java: New file.
  23504. * javax/print/package.html: Added more usage content.
  23505. * javax/print/event/package.html: Likewise.
  23506. * javax/print/attribute/package.html: Likewise.
  23507. * javax/print/attribute/standard/package.html: Likewise.
  23508. * gnu/javax/print/PrintUriException.java,
  23509. gnu/javax/print/PrintFlavorException.java,
  23510. gnu/javax/print/PrinterDialog.java,
  23511. gnu/javax/print/PrintAttributeException.java,
  23512. gnu/javax/print/CupsPrintServiceLookup.java,
  23513. gnu/javax/print/CupsServer.java,
  23514. gnu/javax/print/CupsPrintService.java,
  23515. gnu/javax/print/CupsMediaMapping.java,
  23516. gnu/javax/print/CupsIppOperation.java:
  23517. New implementation files of the Java Print Service API.
  23518. * gnu/javax/print/ipp/IppValueTag.java,
  23519. gnu/javax/print/ipp/MultiDocPrintJobImpl.java,
  23520. gnu/javax/print/ipp/IppStatusCode.java,
  23521. gnu/javax/print/ipp/IppUtilities.java,
  23522. gnu/javax/print/ipp/IppResponse.java,
  23523. gnu/javax/print/ipp/IppException.java,
  23524. gnu/javax/print/ipp/IppPrintService.java,
  23525. gnu/javax/print/ipp/IppRequest.java,
  23526. gnu/javax/print/ipp/IppMultiDocPrintService.java,
  23527. gnu/javax/print/ipp/IppDelimiterTag.java,
  23528. gnu/javax/print/ipp/DocPrintJobImpl.java:
  23529. New files of the IPP client implementation.
  23530. * gnu/javax/print/ipp/attribute/UnknownAttribute.java,
  23531. gnu/javax/print/ipp/attribute/StatusMessage.java,
  23532. gnu/javax/print/ipp/attribute/RequestedAttributes.java,
  23533. gnu/javax/print/ipp/attribute/NaturalLanguageSyntax.java,
  23534. gnu/javax/print/ipp/attribute/DocumentAccessError.java,
  23535. gnu/javax/print/ipp/attribute/DetailedStatusMessage.java,
  23536. gnu/javax/print/ipp/attribute/DefaultValueAttribute.java,
  23537. gnu/javax/print/ipp/attribute/CharsetSyntax.java:
  23538. New attribute syntax/role files of the printing implementation.
  23539. * gnu/javax/print/ipp/attribute/supported/UriSecuritySupported.java,
  23540. gnu/javax/print/ipp/attribute/supported/UriAuthenticationSupported.java,
  23541. gnu/javax/print/ipp/attribute/supported/SidesSupported.java,
  23542. gnu/javax/print/ipp/attribute/supported/PrintQualitySupported.java,
  23543. gnu/javax/print/ipp/attribute/supported/PrinterUriSupported.java,
  23544. gnu/javax/print/ipp/attribute/supported/PrinterResolutionSupported.java,
  23545. gnu/javax/print/ipp/attribute/supported/PageRangesSupported.java,
  23546. gnu/javax/print/ipp/attribute/supported/
  23547. OrientationRequestedSupported.java,
  23548. gnu/javax/print/ipp/attribute/supported/OperationsSupported.java,
  23549. gnu/javax/print/ipp/attribute/supported/
  23550. MultipleDocumentHandlingSupported.java,
  23551. gnu/javax/print/ipp/attribute/supported/
  23552. MultipleDocumentJobsSupported.java,
  23553. gnu/javax/print/ipp/attribute/supported/MediaSupported.java,
  23554. gnu/javax/print/ipp/attribute/supported/JobSheetsSupported.java,
  23555. gnu/javax/print/ipp/attribute/supported/JobHoldUntilSupported.java,
  23556. gnu/javax/print/ipp/attribute/supported/IppVersionsSupported.java,
  23557. gnu/javax/print/ipp/attribute/supported/
  23558. GeneratedNaturalLanguageSupported.java,
  23559. gnu/javax/print/ipp/attribute/supported/FinishingsSupported.java,
  23560. gnu/javax/print/ipp/attribute/supported/DocumentFormatSupported.java,
  23561. gnu/javax/print/ipp/attribute/supported/CompressionSupported.java,
  23562. gnu/javax/print/ipp/attribute/supported/CharsetSupported.java:
  23563. New supported attribute files.
  23564. * gnu/javax/print/ipp/attribute/printer/CharsetConfigured.java,
  23565. gnu/javax/print/ipp/attribute/printer/DocumentFormat.java,
  23566. gnu/javax/print/ipp/attribute/printer/MultipleOperationTimeOut.java,
  23567. gnu/javax/print/ipp/attribute/printer/NaturalLanguageConfigured.java,
  23568. gnu/javax/print/ipp/attribute/printer/PrinterCurrentTime.java,
  23569. gnu/javax/print/ipp/attribute/printer/PrinterDriverInstaller.java,
  23570. gnu/javax/print/ipp/attribute/printer/PrinterStateMessage.java,
  23571. gnu/javax/print/ipp/attribute/printer/PrinterUpTime.java:
  23572. New printer description attribute files.
  23573. * gnu/javax/print/ipp/attribute/job/AttributesCharset.java,
  23574. gnu/javax/print/ipp/attribute/job/AttributesNaturalLanguage.java,
  23575. gnu/javax/print/ipp/attribute/job/JobDetailedStatusMessages.java,
  23576. gnu/javax/print/ipp/attribute/job/JobDocumentAccessErrors.java,
  23577. gnu/javax/print/ipp/attribute/job/JobPrinterUri.java,
  23578. gnu/javax/print/ipp/attribute/job/JobId.java,
  23579. gnu/javax/print/ipp/attribute/job/JobMoreInfo.java,
  23580. gnu/javax/print/ipp/attribute/job/JobUri.java,
  23581. gnu/javax/print/ipp/attribute/job/JobStateMessage.java:
  23582. New job description attribute files.
  23583. * gnu/javax/print/ipp/attribute/defaults/CopiesDefault.java,
  23584. gnu/javax/print/ipp/attribute/defaults/DocumentFormatDefault.java,
  23585. gnu/javax/print/ipp/attribute/defaults/FinishingsDefault.java,
  23586. gnu/javax/print/ipp/attribute/defaults/JobHoldUntilDefault.java,
  23587. gnu/javax/print/ipp/attribute/defaults/JobPriorityDefault.java,
  23588. gnu/javax/print/ipp/attribute/defaults/JobSheetsDefault.java,
  23589. gnu/javax/print/ipp/attribute/defaults/MediaDefault.java,
  23590. gnu/javax/print/ipp/attribute/defaults/
  23591. MultipleDocumentHandlingDefault.java,
  23592. gnu/javax/print/ipp/attribute/defaults/NumberUpDefault.java,
  23593. gnu/javax/print/ipp/attribute/defaults/OrientationRequestedDefault.java,
  23594. gnu/javax/print/ipp/attribute/defaults/PrinterResolutionDefault.java,
  23595. gnu/javax/print/ipp/attribute/defaults/PrintQualityDefault.java,
  23596. gnu/javax/print/ipp/attribute/defaults/SidesDefault.java:
  23597. New default printing attribute files.
  23598. * resource/gnu/javax/print/PrinterDialog.properties: New file.
  23599. * resource/gnu/javax/print/PrinterDialog_de.properties: Likewise.
  23600. * examples/gnu/classpath/examples/print/Demo.java:
  23601. New demo application of the current implemented functionality.
  23602. 2006-03-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  23603. * java/rmi/activation/ActivationGroupDesc.java: Implemented.
  23604. java/rmi/activation/ActivationDesc.java.java,
  23605. java/rmi/activation/ActivationGroup.java,
  23606. java/rmi/activation/ActivationID.java,
  23607. java/rmi/activation/ActivationMonitor.java,
  23608. java/rmi/activation/ActivationSystem.java,
  23609. java/rmi/activation/package.html: Documenting.
  23610. 2006-03-13 Roman Kennke <kennke@aicas.com>
  23611. * javax/swing/JInternalFrame.java
  23612. (setSelected): Repaint frame when it is showing and the selection
  23613. state changes.
  23614. 2006-03-13 Roman Kennke <kennke@aicas.com>
  23615. * javax/swing/AbstractButton.java
  23616. (AbstractAccessibleButton.getAccessibleRelationSet): Return super....()
  23617. instead of null.
  23618. 2006-03-13 Roman Kennke <kennke@aicas.com>
  23619. * javax/accessibility/AccessibleContext.java
  23620. (getAccessibleRelationSet): Return empty set instead of null.
  23621. 2006-03-13 Roman Kennke <kennke@aicas.com>
  23622. * javax/swing/ImageIcon.java
  23623. (loadImage): Remove completed images from the MediaTracker. This
  23624. avoids a potential memory leak.
  23625. 2006-03-12 Wolfgang Baer <WBaer@gmx.de>
  23626. * javax/print/MultiDocPrintService.java,
  23627. * javax/print/MultiDocPrintJob.java,
  23628. * javax/print/MultiDoc.java: Added and enhanced documentation.
  23629. 2006-03-12 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  23630. * java/rmi/activation/ActivationID.java (uid): New field.
  23631. (writeExternal, readExternal): New methods.
  23632. (equals, hashCode): Rewritten.
  23633. * java/rmi/activation/ActivationInstantiator.java,
  23634. * java/rmi/activation/ActivationSystem.java,
  23635. * java/rmi/activation/Activator.java,
  23636. * java/rmi/activation/Activatable.java,
  23637. * java/rmi/activation/ActivationGroup.java,
  23638. * java/rmi/activation/ActivationGroupDesc.java:
  23639. Documented and autoformatted.
  23640. * java/rmi/activation/package.html: Added content.
  23641. 2006-03-12 Chris Burdess <dog@gnu.org>
  23642. Fixes PR 26652
  23643. * gnu/xml/stream/XMLParser.java: Fix for case when both reader and
  23644. encoding are specified.
  23645. 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
  23646. * javax/swing/DefaultSingleSelectionModel.java: API docs all over, plus
  23647. (changeEvent): Initialise in fireStateChange(),
  23648. (setSelectedIndex): Check if change is made before firing event,
  23649. (clearSelection): Delegate to setSelectedIndex(),
  23650. (fireStateChanged): Initialise changeEvent if necessary,
  23651. * javax/swing/SingleSelectionModel.java: API docs all over.
  23652. 2006-03-11 Tom Tromey <tromey@redhat.com>
  23653. * java/util/zip/InflaterInputStream.java: Reverted previous
  23654. patch.
  23655. 2006-03-11 Mark Wielaard <mark@klomp.org>
  23656. * java/text/AttributedCharacterIterator.java (Attribute.readResolve):
  23657. Compare name.
  23658. 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
  23659. * javax/swing/event/TreeSelectionEvent.java
  23660. (isAddedPath(TreePath)): Throw IllegalArgumentException if path is
  23661. not one of the added/removed paths,
  23662. (cloneWithSource): Reformatted.
  23663. 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
  23664. * javax/swing/tree/TreeCellEditor.java: Added API docs,
  23665. * javax/swing/tree/TreeCellRenderer.java: Likewise.
  23666. 2006-03-10 Casey Marshall <csm@gnu.org>
  23667. Fixes PR 23768.
  23668. * javax/crypto/Cipher.java (doFinal, doFinal, doFinal): don't
  23669. reset `state.'
  23670. (doFinal, update): new methods.
  23671. (init, init, init, init): initialize `state' after trying the
  23672. implementation, which can throw an exception.
  23673. * javax/crypto/CipherSpi.java (engineDoFinal, engineUpdate): new
  23674. methods.
  23675. 2006-03-11 Ito Kazumitsu <kaz@maczuka.gcd.org>
  23676. * gnu/regexp/BacktrackStack.java: New file.
  23677. * gnu/regexp/RE.java(findMatch): New method.
  23678. * gnu/regexp/REMatch.java(next,matchFlags,MF_FIND_ALL,
  23679. REMatchList): Removed. (backtrackStack): New field.
  23680. * gnu/regexp/REToken.java(match): Changed from an abstract
  23681. method to an ordinary method defined with the new method
  23682. matchThis. (matchThis, getNext, findMatch, returnsFixedLengthMatches,
  23683. findFixedLengthMatches, backtrack, toString): New methods.
  23684. * gnu/regexp/RETokenAny.java: Inplemented new methods of REToken.
  23685. * gnu/regexp/RETokenBackRef.java: Likewise.
  23686. * gnu/regexp/RETokenChar.java: Likewise.
  23687. * gnu/regexp/RETokenEnd.java: Likewise.
  23688. * gnu/regexp/RETokenEndSub.java: Likewise.
  23689. * gnu/regexp/RETokenIndependent.java: Likewise.
  23690. * gnu/regexp/RETokenLookAhead.java: Likewise.
  23691. * gnu/regexp/RETokenLookBehind.java: Likewise.
  23692. * gnu/regexp/RETokenNamedProperty.java: Likewise.
  23693. * gnu/regexp/RETokenPOSIX.java: Likewise.
  23694. * gnu/regexp/RETokenRange.java: Likewise.
  23695. * gnu/regexp/RETokenStart.java: Likewise.
  23696. * gnu/regexp/RETokenWordBoundary.java: Likewise
  23697. * gnu/regexp/RETokenOneOf.java: Rewriten.
  23698. * gnu/regexp/RETokenRepeated.java: Rewriten.
  23699. 2006-03-10 Roman Kennke <kennke@aicas.com>
  23700. * javax/swing/plaf/metal/MetalBorders.java
  23701. (RolloverButtonBorder.paintBorder): Only call super here.
  23702. * javax/swing/plaf/metal/MetalButtonListener.java
  23703. (propertyChange): Only call super here.
  23704. * javax/swing/plaf/metal/MetalButtonUI.java
  23705. (update): Changed condition from isOpaque() to isContentAreaFilled()
  23706. for the gradient fill.
  23707. * javax/swing/plaf/metal/MetalToggleButtonUI.java
  23708. (paintText): API doc fix. Makes paintText not deprecated as specified
  23709. but adds comment that this is obsolete.
  23710. * javax/swing/plaf/metal/MetalUtils.java
  23711. (fillMetalPattern): Fixed condition so that the Java2D is not
  23712. used when the noGraphics2D property is set.
  23713. 2006-03-10 Roman Kennke <kennke@aicas.com>
  23714. * javax/swing/plaf/metal/MetalLookAndFeel.java
  23715. (createDefaultTheme): Set OceanTheme as default metal theme.
  23716. 2006-03-10 Roman Kennke <kennke@aicas.com>
  23717. * javax/swing/text/WrappedPlainView.java
  23718. (metrics): Made field package private to avoid accessor method.
  23719. (WrappedLine.paint): Call drawLine with y offset of the font ascent.
  23720. The drawLine (righly) interprets the y parameter as the baseline.
  23721. * javax/swing/text/Utilities.java
  23722. (getBreakLocation): Don't consider the offset. The returned value
  23723. for getTabbedTextOffset is already relative to the offset.
  23724. 2006-03-10 Wolfgang Baer <WBaer@gmx.de>
  23725. * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
  23726. (dateFormat): Made private.
  23727. (put): Replace only the last occurance and the value.
  23728. (putAll): Save one iteration. Clarified documentation.
  23729. 2006-03-10 Tom Tromey <tromey@redhat.com>
  23730. * java/util/zip/InflaterInputStream.java (read): Replace with libgcj
  23731. implementation.
  23732. * java/util/zip/GZIPInputStream.java (readHeader): Use DEFLATED,
  23733. not '8'.
  23734. 2006-03-10 Lillian Angel <langel@redhat.com>
  23735. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c
  23736. (comboboxgroup_get_widget): New function.
  23737. (removed): Fixed to use new function to get the correct widget.
  23738. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
  23739. (nativeSetCheckboxGroup): Reverted last patch to use get_widget
  23740. function.
  23741. 2006-03-10 Lillian Angel <langel@redhat.com>
  23742. * java/awt/GridBagLayout.java
  23743. (ArrangeGrid): Added checks to determine if component
  23744. is placed last in a row or column. If so, the location
  23745. of the last component should be used to get the location
  23746. of the current component.
  23747. 2006-03-10 Lillian Angel <langel@redhat.com>
  23748. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
  23749. (nativeSetCheckboxGroup): No need to use new function here.
  23750. Should just pass in pointer.
  23751. 2006-03-10 Lillian Angel <langel@redhat.com>
  23752. * java/awt/GridBagLayout.java
  23753. (distributeSizeAndWeight): Change else if to else. This
  23754. allows for components to be added to a new row when
  23755. their gridheight is REMAINDER.
  23756. 2006-03-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  23757. * java/rmi/activation/ActivationDesc.java,
  23758. java/rmi/activation/ActivationGroupID.java,
  23759. java/rmi/activation/Activator.java,
  23760. java/rmi/server/Operation.java,
  23761. java/rmi/server/RemoteServer.java: Documented and formatted.
  23762. 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
  23763. * javax/swing/JToggleButton.java: Fixed API doc tags,
  23764. * javax/swing/OverlayLayout.java: Likewise.
  23765. 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
  23766. * javax/swing/DefaultCellEditor.java
  23767. (cancelCellEditing): Removed spurious API doc tag.
  23768. 2006-03-10 Lillian Angel <langel@redhat.com>
  23769. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
  23770. (create): Put checkbox widget into an event box so it paints properly.
  23771. (connectSignals): Fixed to use new function.
  23772. (nativeSetCheckboxGroup): Likewise.
  23773. (gtkToggleButtonSetActive): Likewise.
  23774. (gtkWidgetModifyFont): Likewise.
  23775. (gtkButtonSetLabel): Likewise.
  23776. (combobox_get_widget): New function.
  23777. 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
  23778. * javax/swing/text/rtf/package.html: New file.
  23779. 2006-03-10 Roman Kennke <kennke@aicas.com>
  23780. * javax/swing/plaf/metal/OceanTheme.java
  23781. (addCustomEntriesToTable): Fixed ScrollBar.gradient value.
  23782. * javax/swing/plaf/metal/MetalScrollBarUI.java
  23783. (paintThumb): Only draw Metal pattern if theme is not OceanTheme.
  23784. (paintThumbHorizontal): Added handling of OceanTheme.
  23785. (paintThumbVertical): Added handling of OceanTheme.
  23786. 2006-03-10 Roman Kennke <kennke@aicas.com>
  23787. Reported by Fridjof Siebert <siebert@aicas.com>
  23788. * java/awt/MediaTracker.java
  23789. (removeImage): Only set prev to e when the the images of the
  23790. entries are not the same. This avoids a potentially corrupt list.
  23791. 2006-03-10 Chris Burdess <dog@gnu.org>
  23792. PR 26620:
  23793. * gnu/xml/transform/TransformerImpl.java: Suspend wellformedness
  23794. checking while reindenting.
  23795. 2006-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
  23796. * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: New file.
  23797. 2006-03-09 Tom Tromey <tromey@redhat.com>
  23798. PR classpath/26585:
  23799. * tools/Makefile.am (TOOLSdir): Don't put tools.zip in tools
  23800. subdir. Added README.
  23801. (install-data-local): Removed.
  23802. (uninstall-local): Likewise.
  23803. (EXTRA_DIST): Removed.
  23804. 2006-03-09 Tom Tromey <tromey@redhat.com>
  23805. PR classpath/26623:
  23806. * native/jni/qt-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
  23807. Renamed.
  23808. * native/jni/midi-alsa/Makefile.am (nativeexeclib_LTLIBRARIES):
  23809. Renamed.
  23810. * native/jni/java-net/Makefile.am (nativeexeclib_LTLIBRARIES):
  23811. Renamed.
  23812. * native/jni/java-lang/Makefile.am (nativeexeclib_LTLIBRARIES):
  23813. Renamed.
  23814. * native/jni/xmlj/Makefile.am (nativeexeclib_LTLIBRARIES):
  23815. Renamed.
  23816. * native/jni/gtk-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
  23817. Renamed.
  23818. * native/jni/midi-dssi/Makefile.am (nativeexeclib_LTLIBRARIES):
  23819. Renamed.
  23820. * native/jni/java-io/Makefile.am (nativeexeclib_LTLIBRARIES):
  23821. Renamed.
  23822. * native/jni/java-nio/Makefile.am (nativeexeclib_LTLIBRARIES):
  23823. Renamed.
  23824. * native/jni/java-util/Makefile.am (nativeexeclib_LTLIBRARIES):
  23825. Renamed.
  23826. * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Renamed.
  23827. * configure.ac (nativeexeclibdir): Renamed from nativelibdir.
  23828. 2006-03-09 Keith Seitz <keiths@redhat.com>
  23829. * gnu/classpath/jdwp/processor/MethodCommandSet.java
  23830. (executeVariableTable): Use VMMethod instead of reflection.
  23831. (executeLineTable): Likewise.
  23832. * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
  23833. (executeMethods): Rewrite to use new VMVirtualMachine.getAllClassMethods.
  23834. * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
  23835. (getLineTable): Removed. Now resides in VMMethod.
  23836. (getVarTable): Likewise.
  23837. (getAllClassMethods): New method.
  23838. 2006-03-09 Keith Seitz <keiths@redhat.com>
  23839. * gnu/classpath/jdwp/event/EventManager.java: Update javadoc.
  23840. * gnu/classpath/jdwp/event/ThreadStartEvent.java
  23841. (ThreadStartEvent): Likewise.
  23842. * gnu/classpath/jdwp/event/VmDeathEvent.java (VmDeathEvent): Likewise.
  23843. * gnu/classpath/jdwp/event/filters/ConditionalFilter.java
  23844. (ConditionalFilter): Likewise.
  23845. * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
  23846. (ExceptionOnlyFilter): Likewise.
  23847. * gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java
  23848. (FieldOnlyFilter): Likewise.
  23849. * gnu/classpath/jdwp/event/filters/StepFilter.java (getDepth): Likewise.
  23850. (getSize): Likewise.
  23851. (StepFilter): Likewise.
  23852. * gnu/classpath/jdwp/id/JdwpId.java: Likewise (for _tag).
  23853. * gnu/classpath/jdwp/transport/JdwpPacket.java
  23854. (JdwpPacket): Likewise.
  23855. (fromBytes): Likewise.
  23856. * gnu/classpath/jdwp/transport/JdwpReplyPacket.java
  23857. (JdwpReplyPacket): Likewise.
  23858. * gnu/classpath/jdwp/util/Value.java (getUntaggedObj): Likewise.
  23859. * vm/reference/gnu/classpath/jdwp/VMIdManager.java
  23860. (getReferenceType): Likewise.
  23861. (newObjectId): Likewise.
  23862. * vm/reference/gnu/classpath/jdwp/VMMethod.java (readId): Likewise.
  23863. * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
  23864. (getFrames): Fix typo in parameter name and update javadoc.
  23865. (getClassMethod): Update javadoc.
  23866. 2006-03-09 David Gilbert <david.gilbert@object-refinery.com>
  23867. * javax/swing/event/TreeSelectionEvent.java: Updated API docs,
  23868. * javax/swing/event/TreeSelectionListener.java: Likewise.
  23869. 2006-03-09 Lillian Angel <langel@redhat.com>
  23870. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
  23871. (getHScrollbarHeight): Fixed property name.
  23872. (getVScrollbarHeight): Likewise.
  23873. 2006-03-09 Lillian Angel <langel@redhat.com>
  23874. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
  23875. (get_widget): New function.
  23876. (gtkWidgetSetParent): Changed to use new function.
  23877. (gtkWidgetSetCursorUnlocked): Likewise.
  23878. (gtkWidgetSetSensitive): Likewise.
  23879. (gtkWidgetRequestFocus): Likewise.
  23880. (gtkWindowGetLocationOnScreen): Likewise.
  23881. (gtkWidgetGetDimensions): Likewise.
  23882. (gtkWidgetGetPreferredDimensions): Likewise.
  23883. (setNativeBounds): Likewise.
  23884. (gtkWidgetGetBackground): Likewise.
  23885. (gtkWidgetGetForeground): Likewise.
  23886. (gtkWidgetSetBackground): Likewise.
  23887. (gtkWidgetSetForeground): Likewise.
  23888. (setVisibleNativeUnlocked): Likewise.
  23889. (isEnabled): Likewise.
  23890. (isRealized): Likewise.
  23891. (setNativeEventMask): Likewise.
  23892. 2006-03-09 Lillian Angel <langel@redhat.com>
  23893. PR Classpath\22163
  23894. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
  23895. (create): Added combobox widget to an event box.
  23896. (connectSignals): Added call to choice_get_widget to get the
  23897. combobox out of the event box.
  23898. (append): Likewise.
  23899. (nativeRemoveAll): Likewise.
  23900. (nativeRemove): Likwise.
  23901. (nativeAdd): Likewise.
  23902. (selectNative): Likewise.
  23903. (choice_get_widget): New function.
  23904. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
  23905. (create): Added list scroll window widget to an event box.
  23906. (connectSignals): Changed call to use new function to get the
  23907. correct widget out of the event box.
  23908. (getWidgetModifyFont): Likewise.
  23909. (getWidgetRequestFocus): Likewise.
  23910. (append): Likewise.
  23911. (add): Likewise.
  23912. (delItems): Likewise.
  23913. (select): Likewise.
  23914. (deselect): Likewise.
  23915. (getSize): Likewise.
  23916. (getSelectedIndexes): Likewise.
  23917. (makeVisible): Likewise.
  23918. (setMultipleMode): Likewise.
  23919. (list_get_widget): New function.
  23920. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
  23921. (create): Added scrollpane to an eventbox.
  23922. (setScrollPosition): Changed call to use new function to get the
  23923. correct widget out of the event box.
  23924. (gtkScrolledWindowSetHScrollIncrement): Likewise.
  23925. (gtkScrolledWindowSetVScrollIncrement): Likewise.
  23926. (getHScrollbarHeight): Likewise.
  23927. (getVScrollbarWidth): Likewise.
  23928. (setPolicy): Likewise.
  23929. (scrollpane_get_widget): New function.
  23930. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
  23931. (connectSignals): Changed call to use new function to get the
  23932. correct widget out of the event box.
  23933. (create): Added scrollbar to an eventbox.
  23934. (setLineIncrement): Changed call to use new function to get the
  23935. correct widget out of the event box.
  23936. (setPageIncrement): Likewise.
  23937. (setBarValues): Likewise.
  23938. (scrollbar_get_widget): New function.
  23939. * native/jni/gtk-peer/gnu_java_gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
  23940. (create): Added text area scroll window widget to an event box.
  23941. (connectSignals): Changed call to use new function to get the
  23942. correct widget out of the event box.
  23943. (insert): Likewise.
  23944. (replaceRange): Likewise.
  23945. (gtkWidgetModifyFont): Likewise.
  23946. (gtkWidgetRequestFocus): Likewise.
  23947. (getHScrollbarHeight): Likewise.
  23948. (getVScrollbarWidth): Likewise.
  23949. (getCaretPosition): Likewise.
  23950. (setCaretPosition):Likewise.
  23951. (getSelectionStart): Likewise.
  23952. (getSelectionEnd): Likewise.
  23953. (select): Likewise.
  23954. (setEditable): Likewise.
  23955. (getText): Likewise.
  23956. (setText): Likewise.
  23957. (textarea_get_widget): New function.
  23958. 2006-03-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  23959. * java/rmi/dgc/VMID.java:
  23960. (equals, hashCode, static initializer): Rewritten.
  23961. * java/rmi/dgc/package.html: Documented.
  23962. 2006-03-09 Mark Wielaard <mark@klomp.org>
  23963. * gnu/java/awt/peer/gtk/GtkClipboard.java (clipboard, selection):
  23964. New static field.
  23965. (stringMimeType, imageMimeType, filesMimeType): Initialize directly.
  23966. (canCache): Likewise.
  23967. (GtkClipboard): Take String argument.
  23968. (getInstance): Removed.
  23969. (getClipboardInstance, getSelectionInstance): New static methods.
  23970. (setSystemContents): Make synchronized. Takes boolean argument.
  23971. (initNativeState): Add clipboard and selection.
  23972. * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java
  23973. (announceClipboardChange, announcePrimaryChange): New static field.
  23974. (announce): Take GtkClipboard as argument.
  23975. (run): Check which clipboard to announce change for.
  23976. * gnu/java/awt/peer/gtk/GtkSelection.java (clipboard): New final
  23977. boolean field.
  23978. (GtkSelection): Take GtkClipboard as argument.
  23979. (requestText, requestImage, requestURIs, requestBytes): Add boolean
  23980. clipboard argument.
  23981. (requestMimeTypes): Likewise.
  23982. * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemSelection):
  23983. New method.
  23984. * java/awt/Toolkit.java (getSystemSelection): Document.
  23985. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
  23986. (cp_gtk_selection_instance): New var.
  23987. (current_selection, owner): Removed.
  23988. (clipboard_owner_change_cb): Use clipboard argument.
  23989. (initNativeState): Store clipboard and selection instances. Cache
  23990. setSystemContentsID, provideContentID, provideTextID, provideImageID,
  23991. and provideURIsID.
  23992. (clipboard_get_func): Use clipboard argument.
  23993. (clipboard_clear_func): Likewise. Always call method.
  23994. (advertiseContent): Don't cache method ids here. Check whether to
  23995. use clpboard or selection. Don't set owner or current_selection.
  23996. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c
  23997. (requestText, requestImage, requestURIs, requestBytes): Use extra
  23998. boolean argument to select clipboard.
  23999. * native/jni/gtk-peer/gtkpeer.h (cp_gtk_selection): New extern.
  24000. (cp_gtk_clipboard_instance, cp_gtk_selection_instance): Likewise.
  24001. * include/gnu_java_awt_peer_gtk_GtkClipboard.h: Regenerate.
  24002. * include/gnu_java_awt_peer_gtk_GtkSelection.h: Likewise.
  24003. 2006-03-09 Keith Seitz <keiths@redhat.com>
  24004. * gnu/classpath/jdwp/Jdwp.java: Remove unused imports.
  24005. * gnu/classpath/jdwp/event/EventRequest.java: Likewise.
  24006. * gnu/classpath/jdwp/event/filters/ClassMatchFilter.java: Likewise.
  24007. * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java: Likewise.
  24008. * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java: Likewise.
  24009. * gnu/classpath/jdwp/transport/ITransport.java: Likewise.
  24010. * vm/reference/gnu/classpath/jdwp/VMIdManager.java: Likewise.
  24011. * vm/reference/gnu/classpath/jdwp/VMMethod.java: Likewise.
  24012. * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
  24013. 2006-03-09 Mark Wielaard <mark@klomp.org>
  24014. * javax/swing/JList.java (ensureIndexIsVisible): Check whether cell
  24015. bounds for index is valid.
  24016. * javax/swing/plaf/basic/BasicListUI.java (valueChanged): Likewise.
  24017. (paint): Likewise.
  24018. (getCellBounds): Update documentation.
  24019. 2006-03-09 Arnaud Vandyck <avdyk@gnu.org>
  24020. * .classpath: added exclude pattern on source folders
  24021. (Makefiles, README and .cvsignore)
  24022. 2006-03-08 Michael Koch <konqueror@gmx.de>
  24023. * java/net/Proxy.java (NO_PROXY): Made final.
  24024. (equals): Likewise.
  24025. (hashCode): Likewise.
  24026. 2006-03-08 Keith Seitz <keiths@redhat.com>
  24027. * vm/reference/gnu/classpath/jdwp/VMMethod.java: New file.
  24028. * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
  24029. (getClassMethod): New method.
  24030. 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  24031. * java/rmi/server/UID.java (getMachineId): Include the host IP address.
  24032. 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  24033. * java/rmi/server/ObjID.java: Documented and autoformatted.
  24034. 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  24035. PR 26584
  24036. * tools/Makefile.am (install-data-local,
  24037. uninstall-local): Install/uninstall the tools/README only.
  24038. * tools/gnu/classpath/tools/giop/README: Updated.
  24039. * tools/README: New file.
  24040. 2006-03-08 Lillian Angel <langel@redhat.com>
  24041. * java/awt/GridBagLayout.java
  24042. (GetLayoutInfo): If the last component added had gridwidth == REMAINDER,
  24043. then the next item should be set to current_y (not 0).
  24044. 2006-03-08 Lillian Angel <langel@redhat.com>
  24045. * java/awt/GridBagLayout.java
  24046. (GetLayoutInfo): If gridy is RELATIVE and there is no component
  24047. in the bottom-most spot of the column, we need to place that component
  24048. at the y-location of the other components in that row. If there are
  24049. no other components in that row, then place it at y = 0.
  24050. 2006-03-08 David Gilbert <david.gilbert@object-refinery.com>
  24051. * javax/swing/ProgressMonitor.java: Updated API docs,
  24052. * javax/swing/ProgressMonitorInputStream.java: Likewise.
  24053. 2006-03-08 Michael Koch <konqueror@gmx.de>
  24054. * java/net/InetSocketAddress.java
  24055. (InetSocketAddress(String,int,resolve)): New private contructor.
  24056. (InetSocketAddress(String,int)): Use new private constructor.
  24057. (createUnresolved): New method.
  24058. 2006-03-07 Michael Koch <konqueror@gmx.de>
  24059. * gnu/java/net/DefaultProxySelector.java,
  24060. java/net/Proxy.java, java/net/ProxySelector.java:
  24061. New files.
  24062. 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  24063. * java/rmi/server/UID.java (constructor): Assign last and time fields
  24064. after pause.
  24065. 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  24066. * java/rmi/server/UID.java: New file (replacing).
  24067. 2006-03-08 Raif S. Naffah <raif@swiftdsl.com.au>
  24068. * java/util/jar/Manifest.java: Removed unused imports.
  24069. (CRLF): New constant.
  24070. (read): Added method documentation.
  24071. Use UTF-8 encoding instead of 8859_1.
  24072. (write): Added method documentation.
  24073. Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
  24074. (write_main_section): Replace PrintWriter arg with OutputStream.
  24075. Replace JarException with IOException.
  24076. (write_version_info): Likewise.
  24077. (write_main_attributes): Likewise.
  24078. (write_attribute_entry): Likewise.
  24079. (write_individual_sections): Likewise.
  24080. (write_entry_attributes): Likewise.
  24081. (write_header): Replace PrintWriter arg with OutputStream.
  24082. Re-implemented.
  24083. 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
  24084. * javax/swing/tree/DefaultMutableTreeNode.java
  24085. (getFirstChild): Updated API docs,
  24086. (getLastChild): Likewise,
  24087. (getChildAfter): Likewise,
  24088. (getChildBefore): Likewise,
  24089. (isNodeSibling): Return true if node == this,
  24090. (getSiblingCount): Updated API docs,
  24091. (getNextSibling): Likewise,
  24092. (getPreviousSibling): Likewise,
  24093. (isLeaf): Likewise,
  24094. (getFirstLeaf): Likewise,
  24095. (getLastLeaf): Likewise,
  24096. (getNextLeaf): Implemented,
  24097. (getPreviousLeaf): Implemented.
  24098. 2006-03-07 Tom Tromey <tromey@redhat.com>
  24099. * java/awt/image/ColorModel.java (getComponents): Javadoc fix.
  24100. * java/awt/datatransfer/FlavorEvent.java: Added missing @since.
  24101. * java/awt/dnd/DropTargetEvent.java (serialVersionUID): New field.
  24102. * java/awt/DefaultFocusTraversalPolicy.java (serialVersionUID): New
  24103. field.
  24104. 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
  24105. * javax/swing/tree/DefaultMutableTreeNode.java: API docs all over plus
  24106. (clone): Reimplemented,
  24107. (add): Throw IllegalArgumentException if child is an ancestor,
  24108. (remove(int)): Set child's parent to null,
  24109. (remove(MutableTreeNode)): Check arguments and set child's parent to
  24110. null,
  24111. (insert): Check allowsChildren flag, check for null argument, and
  24112. check for a node that is an ancestor,
  24113. (getIndex): Throw IllegalArgumentException for null argument,
  24114. (setAllowsChildren): If setting to false, remove existing children,
  24115. (removeAllChildren): Set parent to null for removed children.
  24116. 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
  24117. * javax/swing/tree/TreeNode.java: Reformatted and added API docs all
  24118. over.
  24119. 2006-03-06 Tom Tromey <tromey@redhat.com>
  24120. * java/lang/StrictMath.java (ulp): New methods.
  24121. * java/lang/Math.java (ulp): New methods.
  24122. 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  24123. * gnu/java/rmi/server/UnicastRef.java,
  24124. * gnu/java/rmi/server/UnicastServer.java: Formatted.
  24125. 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  24126. * gnu/java/rmi/server/CombinedClassLoader.java
  24127. (findClass, findLibrary, findResouce, findResources): check
  24128. all loaders in array.
  24129. 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  24130. PR 25526
  24131. * gnu/java/rmi/dgc/DGCImpl.java (LeaseRecord, leaseCache): Removed.
  24132. (RefProtector): new inner class. (dirty): Rewritten.
  24133. * gnu/java/rmi/server/UnicastRef.java (dgcId, dgcInterfaceHash,
  24134. dgcSequence, DIRTY, this_id): New fields. (equals, hashCode, notifyDGC):
  24135. new methods. (readExternal): Create LeaseRenewingTask if non local.
  24136. * gnu/java/rmi/server/UnicastServer.java (objects):
  24137. Use WeakHashMap. (refcache): Use WeakIdentityHashMap.
  24138. (getExported): New method.
  24139. * gnu/java/rmi/dgc/LeaseRenewingTask.java: New file.
  24140. 2006-03-06 Mark Wielaard <mark@klomp.org>
  24141. * doc/www.gnu.org/announce/20060306.wml: New file.
  24142. * doc/www.gnu.org/newsitems.txt: Add 0.90 release announcement.
  24143. * doc/www.gnu.org/downloads/downloads.wml: Add 0.90.
  24144. 2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
  24145. * javax/swing/plaf/metal/MetalLookAndFeel.java
  24146. (initComponentDefaults): Use Boolean.TRUE for
  24147. 'CheckBoxMenuItem.borderPainted'.
  24148. 2006-03-06 Wolfgang Baer <WBaer@gmx.de>
  24149. * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
  24150. (dateFormat): Made private.
  24151. (put): Replace only the last occurance and the value.
  24152. (putAll): Reimplemented with the put method.
  24153. 2006-03-06 Lillian Angel <langel@redhat.com>
  24154. PR classpath/26569
  24155. * java/awt/List.java
  24156. (preferredSize): Return the size of the list if the peer is
  24157. null.
  24158. * gnu/java/awt/peer/gtk/GtkListPeer.java
  24159. (preferredSize): Code was returning the minimum size of the
  24160. list. Added adjustment to the width of the list so it is a
  24161. proper size.
  24162. 2006-03-06 Wolfgang Baer <WBaer@gmx.de>
  24163. * gnu/java/net/protocol/http/HTTPURLConnection.java: Organized imports.
  24164. (getRequestProperty): Remove duplicated null check.
  24165. * java/net/URLConnection.java:
  24166. (URLConnection): Javadoc fix.
  24167. (addRequestProperty): Likewise.
  24168. (getDefaultRequestProperty): Likewise.
  24169. (getHeaderField): Likewise.
  24170. (getHeaderFieldDate): Likewise.
  24171. (getHeaderFieldKey): Likewise.
  24172. (getHeaderFields): Likewise.
  24173. (getRequestProperties): Likewise.
  24174. (getRequestProperty): Likewise.
  24175. (setDefaultRequestProperty): Likewise.
  24176. (setRequestProperty): Likewise.
  24177. 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
  24178. * examples/gnu/classpath/examples/swing/TextArea.java: New file.
  24179. * examples/gnu/classpath/examples/swing/Demo.java:
  24180. (mkButtonBar): Changed layout manager to GridLayout, added entry for
  24181. textarea example.
  24182. (mkMenuBar): Added entry for text area example.
  24183. 2006-03-06 Tom Tromey <tromey@redhat.com>
  24184. * javax/swing/plaf/synth/Region.java (FILE_CHOOSER): Renamed.
  24185. (FORMATTED_TEXT_FIELD): Likewise.
  24186. 2006-03-06 Tom Tromey <tromey@redhat.com>
  24187. * javax/swing/plaf/synth/SynthPainter.java: Finished.
  24188. 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
  24189. * examples/gnu/classpath/examples/swing/Demo.java:
  24190. (mkMenuBar): Added menu entry that will display the VM's name,
  24191. version and distributor.
  24192. 2006-03-06 Tom Tromey <tromey@redhat.com>
  24193. * javax/swing/plaf/synth/SynthLookAndFeel.java (getDescription):
  24194. Javadoc fix.
  24195. (getName): Likewise.
  24196. 2006-03-06 Raif S. Naffah <raif@swiftdsl.com.au>
  24197. * java/util/jar/Manifest.java: Removed unused imports.
  24198. (CRLF): New constant.
  24199. (read): Added method documentation.
  24200. Use UTF-8 encoding instead of 8859_1.
  24201. (write): Added method documentation.
  24202. Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
  24203. (write_main_section): Replace PrintWriter arg with OutputStream.
  24204. Replace JarException with IOException.
  24205. (write_version_info): Likewise.
  24206. (write_main_attributes): Likewise.
  24207. (write_attribute_entry): Likewise.
  24208. (write_individual_sections): Likewise.
  24209. (write_entry_attributes): Likewise.
  24210. (write_header): Replace PrintWriter arg with OutputStream.
  24211. Re-implemented.
  24212. 2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
  24213. * javax/swing/tree/FixedHeightLayoutCache.java: Reformatted and fixed
  24214. API doc tag warnings,
  24215. * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
  24216. 2006-03-06 Dalibor Topic <robilad@kaffe.org>
  24217. * gnu/java/net/protocol/file/Connection.java (unquote):
  24218. Update position in buffer after decoding a unicode character
  24219. outside of the basic plane.
  24220. 2006-03-06 Dalibor Topic <robilad@kaffe.org>
  24221. * java/net/URI.java
  24222. (quote): Pass Unicode characters outside the basic plane through.
  24223. 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
  24224. * javax/swing/plaf/basic/BasicTextUI.java:
  24225. (damageRange): Rewritten if-expressions to correctly identify the
  24226. break condition.
  24227. 2006-03-06 Mark Wielaard <mark@klomp.org>
  24228. * configure.ac: Set version to 0.90-generics.
  24229. * NEWS: Fix typos.
  24230. 2006-03-06 Mark Wielaard <mark@klomp.org>
  24231. Fixes bug #26568 reported by Paul Jenner <psj@harker.dyndns.org>
  24232. * native/fdlibm/fdlibm.h (__ieee754_rem_pio2): Return an int32_t.
  24233. (isnan): Define explicitly isnan if it is not a macro.
  24234. 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
  24235. * javax/swing/text/GapContent.java:
  24236. (insertString): Throw exception when argument is below
  24237. zero.
  24238. 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
  24239. * javax/swing/text/PlainDocument.java:
  24240. (insertUpdate): Extended if-expression, added
  24241. code to generate another Element when newly inserted characters
  24242. and old ones will be on the same line.
  24243. 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
  24244. * javax/swing/text/DefaultCaret.java:
  24245. (mouseDragged): Do selection when shift is pressed.
  24246. (mouseClicked): Implemented.
  24247. 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
  24248. * javax/swing/text/PlainDocument.java: Fix copyright header,
  24249. added author tags.
  24250. (insertUpdate): Do not copy the whole document any more, added some
  24251. more variables to prevent needless method calls.
  24252. 2006-03-06 Christian Thalinger <twisti@complang.tuwien.ac.at>
  24253. * configure.ac: Check for FREETYPE2. This is a reverted patch and
  24254. is required on Darwin.
  24255. * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Added FREETYPE2.
  24256. (AM_CFLAGS): Likewise.
  24257. 2006-03-06 Mark Wielaard <mark@klomp.org>
  24258. * NEWS: Add updates for 0.90 release.
  24259. 2006-03-05 Robert Schuster <robertschuster@fsfe.org>
  24260. * javax/swing/text/GapContent.java:
  24261. (insertString): Throw exception when argument is below
  24262. zero.
  24263. 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
  24264. * javax/swing/filechooser/FileFilter.java:
  24265. (accept): Fixed API doc tag,
  24266. (getDescription): Likewise,
  24267. * javax/swing/filechooser/FileView.java:
  24268. (isTraversable): Fixed API doc tag.
  24269. 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
  24270. * javax/swing/colorchooser/ColorSelectionModel.java: Reformatted and
  24271. added API docs all over.
  24272. 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
  24273. * javax/swing/plaf/ComboBoxUI.java: Fixed typo in class description,
  24274. and corrected a bad API doc tag.
  24275. 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
  24276. * javax/swing/undo/StateEditable.java
  24277. (restoreState): Fixed bad API doc tag,
  24278. * javax/swing/undo/UndoableEdit.java: Copied API doc comments from
  24279. AbstractUndoableEdit.java,
  24280. * javax/swing/undo/UndoableEditSupport.java
  24281. (createCompoundEdit): Fixed bad API doc tag,
  24282. * javax/swing/undo/UndoManager.java
  24283. (editToBeUndone): Fixed bad API doc tag,
  24284. (editToBeRedone): Likewise.
  24285. 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
  24286. * javax/swing/DefaultFocusManager.java: Fixed bad API doc tags,
  24287. * javax/swing/FocusManager.java: Likewise.
  24288. 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
  24289. * javax/swing/plaf/metal/MetalComboBoxButton.java
  24290. (MetalComboBoxButton(JComboBox, Icon, boolean, CellRendererPane,
  24291. JList)): Fixed API doc tag,
  24292. * javax/swing/plaf/metal/MetalInternalFrameTitlePane
  24293. (createLayout): Fixed API doc warning.
  24294. 2006-03-05 Tom Tromey <tromey@redhat.com>
  24295. * vm/reference/java/lang/reflect/Constructor.java (toString): Use
  24296. ClassHelper.getUserName.
  24297. * vm/reference/java/lang/reflect/Method.java (toString): Use
  24298. ClassHelper.getUserName.
  24299. (getUserTypeName): Removed.
  24300. * gnu/java/lang/ClassHelper.java (getUserName): New method.
  24301. * vm/reference/java/lang/reflect/Field.java (toString): Use
  24302. ClassHelper.getUserName.
  24303. 2006-03-05 Olivier Jolly <olivier.jolly@pcedev.com>
  24304. Fixes PR 22813
  24305. * java/net/URLClassLoader.java (FileURLLoader.getResource):
  24306. Allows directories as valid resources.
  24307. 2006-03-05 Mark Wielaard <mark@klomp.org>
  24308. * configure.ac (VERSION): Set to 0.90-pre-generics.
  24309. * Merge with CVS trunk from classpath-0_90-branch-point.
  24310. 2006-03-04 Tom Tromey <tromey@redhat.com>
  24311. * javax/swing/SpringLayout.java (Constraints): New constructor.
  24312. * javax/swing/Spring.java (width): New method.
  24313. (height): Likewise.
  24314. (scale): Likewise.
  24315. 2006-03-04 Mark Wielaard <mark@klomp.org>
  24316. * gnu/java/net/protocol/http/HTTPConnection.java (Pool.get): Remove
  24317. existing connection from pool before returning.
  24318. 2006-03-04 Mark Wielaard <mark@klomp.org>
  24319. * gnu/xml/stream/SAXParser.java (parse(InputSource)): Ignore
  24320. exceptions thrown by handlers while cleaning up and rethrow original
  24321. exception.
  24322. 2006-03-04 Tom Tromey <tromey@redhat.com>
  24323. * java/beans/PropertyDescriptor.java (createPropertyEditor): New
  24324. method.
  24325. (findConstructor): Likewise.
  24326. (instantiateClass): Likewise.
  24327. 2006-03-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  24328. * gnu/java/rmi/dgc/DGCImpl.java: More comments, boilerplate fix.
  24329. (dirty): Do not synchronize on Hashtable. Use the passed (requested)
  24330. lease value and not always the default one.
  24331. (LeaseRecord): Remember the array of objects, marked as dirty.
  24332. java/rmi/dgc/Lease.java: Boilerplate fix.
  24333. 2006-03-05 Raif S. Naffah <raif@swiftdsl.com.au>
  24334. * java/util/jar/Attributes.java (putValue): Made it public and updated
  24335. method documentation.
  24336. 2006-03-04 Mark Wielaard <mark@klomp.org>
  24337. * java/awt/Container.java (remove(int)): Always call removeNotify()
  24338. on removed Component.
  24339. 2006-03-04 Mark Wielaard <mark@klomp.org>
  24340. Fixes bug #26460 reported by Beat Wolf <asraniel@fryx.ch>.
  24341. * javax/swing/JEditorPane.java (setText): Check for empty String
  24342. with equals(), not equality (==).
  24343. 2006-03-04 Mark Wielaard <mark@klomp.org>
  24344. * javax/swing/text/html/HTMLDocument.java: Qualify ElementSpec as
  24345. DefaultStyledDocument.ElementSpec for gcj 4.0.x.
  24346. 2006-03-04 David Gilbert <david.gilbert@object-refinery.com>
  24347. * javax/swing/text/GapContent.java
  24348. (getArray): Mark as final.
  24349. 2006-03-04 David Gilbert <david.gilbert@object-refinery.com>
  24350. * javax/swing/text/StyleConstants.java
  24351. (CharacterConstants.Background): Marked final,
  24352. (CharacterConstants.BidiLevel): Likewise,
  24353. (CharacterConstants.Bold): Likewise,
  24354. (CharacterConstants.ComponentAttribute): Likewise,
  24355. (CharacterConstants.Family): Likewise,
  24356. (CharacterConstants.Size): Likewise,
  24357. (CharacterConstants.Foreground): Likewise,
  24358. (CharacterConstants.IconAttribute): Likewise,
  24359. (CharacterConstants.Italic): Likewise,
  24360. (CharacterConstants.StrikeThrough): Likewise,
  24361. (CharacterConstants.Subscript): Likewise,
  24362. (CharacterConstants.Superscript): Likewise,
  24363. (CharacterConstants.Underline): Likewise,
  24364. (ColorConstants.Foreground): Likewise,
  24365. (ColorConstants.Background): Likewise,
  24366. (FontConstants.Bold): Likewise,
  24367. (FontConstants.Family): Likewise,
  24368. (FontConstants.Italic): Likewise,
  24369. (FontConstants.Size): Likewise,
  24370. (ParagraphConstants.Alignment): Likewise,
  24371. (ParagraphConstants.FirstLineIndent): Likewise,
  24372. (ParagraphConstants.LeftIndent): Likewise,
  24373. (ParagraphConstants.LineSpacing): Likewise,
  24374. (ParagraphConstants.Orientation): Likewise,
  24375. (ParagraphConstants.RightIndent): Likewise,
  24376. (ParagraphConstants.SpaceAbove): Likewise,
  24377. (ParagraphConstants.SpaceBelow): Likewise,
  24378. (ParagraphConstants.TabSet): Likewise.
  24379. 2006-03-03 Tom Tromey <tromey@redhat.com>
  24380. * javax/net/ssl/SSLException.java: Added missing @since.
  24381. Wrote javadoc.
  24382. 2006-03-03 Tom Tromey <tromey@redhat.com>
  24383. * javax/net/ssl/SSLException.java (SSLException): New constructors.
  24384. (serialVersionUID): New field.
  24385. 2006-03-03 Tom Tromey <tromey@redhat.com>
  24386. * java/security/spec/InvalidKeySpecException.java
  24387. (InvalidKeySpecException): New constructors.
  24388. * java/security/cert/CertificateParsingException.java
  24389. (CertificateParsingException): New constructors.
  24390. * java/security/cert/CertificateEncodingException.java
  24391. (CertificateEncodingException): New constructors.
  24392. * java/security/cert/CertificateException.java (CertificateException):
  24393. New constructors.
  24394. * java/security/cert/CRLException.java (CRLException): New
  24395. constructors.
  24396. 2006-03-03 Tom Tromey <tromey@redhat.com>
  24397. * java/security/SignatureException.java (SignatureException): New
  24398. constructors.
  24399. * java/security/ProviderException.java (ProviderException): New
  24400. constructors.
  24401. * java/security/NoSuchAlgorithmException.java
  24402. (NoSuchAlgorithmException): New constructors.
  24403. * java/security/KeyStoreException.java (KeyStoreException): New
  24404. constructors.
  24405. * java/security/KeyManagementException.java (KeyManagementException):
  24406. New constructors.
  24407. * java/security/InvalidKeyException.java (InvalidKeyException): New
  24408. constructors.
  24409. * java/security/KeyException.java (KeyException): New constructors.
  24410. * java/security/InvalidAlgorithmParameterException.java
  24411. (InvalidAlgorithmParameterException): New constructors.
  24412. * java/security/DigestException.java (DigestException): New
  24413. constructors.
  24414. * java/security/GeneralSecurityException.java
  24415. (GeneralSecurityException): New constructors.
  24416. 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
  24417. * javax/swing/event/CaretEvent.java: Reformatting and fixed API doc
  24418. warnings,
  24419. * javax/swing/event/DocumentEvent.java: Likewise,
  24420. * javax/swing/event/EventListenerList.java: Likewise,
  24421. * javax/swing/event/MenuDragMouseEvent.java: Likewise,
  24422. * javax/swing/event/MenuKeyEvent.java: Likewise,
  24423. * javax/swing/event/TableColumnModelEvent.java: Likewise,
  24424. * javax/swing/event/TreeExpansionEvent.java: Likewise,
  24425. * javax/swing/event/TreeModelEvent.java: Likewise,
  24426. * javax/swing/event/TreeSelectionEvent.java: Likewise,
  24427. * javax/swing/event/UndoableEditEvent.java: Likewise.
  24428. 2006-03-03 Tom Tromey <tromey@redhat.com>
  24429. * java/awt/Insets.java (set): New method.
  24430. (equals): Added @since.
  24431. 2006-03-03 David Daney <ddaney@avtrex.com>
  24432. * gnu/java/net/protocol/http/HTTPURLConnection.java
  24433. (getRequestProperties): Rewrote.
  24434. (addRequestProperty): Rewrote.
  24435. (getHeaderFields): Rewrote.
  24436. (getHeaderField): Rewrote.
  24437. (getHeaderFieldKey): Rewrote.
  24438. (getHeaderField): Removed useless cast.
  24439. * gnu/java/net/protocol/http/Headers.java: Entire class rewritten.
  24440. * gnu/java/net/protocol/http/Request.java (dispatch): Use new Headers
  24441. interface.
  24442. (notifyHeaderHandlers): Use new Headers interface.
  24443. 2006-03-03 Tom Tromey <tromey@redhat.com>
  24444. * javax/naming/NamingException.java (getExplanation): Javadoc fix.
  24445. * javax/naming/spi/ResolveResult.java,
  24446. javax/naming/event/NamingExceptionEvent.java,
  24447. javax/naming/event/NamingEvent.java,
  24448. javax/naming/directory/SearchResult.java,
  24449. javax/naming/directory/SearchControls.java,
  24450. javax/naming/directory/SchemaViolationException.java,
  24451. javax/naming/directory/NoSuchAttributeException.java,
  24452. javax/naming/directory/ModificationItem.java,
  24453. javax/naming/directory/InvalidSearchFilterException.java,
  24454. javax/naming/directory/InvalidSearchControlsException.java,
  24455. javax/naming/directory/InvalidAttributesException.java,
  24456. javax/naming/directory/InvalidAttributeIdentifierException.java,
  24457. javax/naming/directory/AttributeModificationException.java,
  24458. javax/naming/directory/AttributeInUseException.java,
  24459. javax/naming/TimeLimitExceededException.java,
  24460. javax/naming/SizeLimitExceededException.java,
  24461. javax/naming/PartialResultException.java,
  24462. javax/naming/Reference.java,
  24463. javax/naming/ServiceUnavailableException.java,
  24464. javax/naming/OperationNotSupportedException.java,
  24465. javax/naming/NotContextException.java,
  24466. javax/naming/NoPermissionException.java,
  24467. javax/naming/NoInitialContextException.java,
  24468. javax/naming/NameNotFoundException.java,
  24469. javax/naming/NameAlreadyBoundException.java,
  24470. javax/naming/NameClassPair.java,
  24471. javax/naming/MalformedLinkException.java,
  24472. javax/naming/LinkLoopException.java,
  24473. javax/naming/LinkException.java,
  24474. javax/naming/LimitExceededException.java,
  24475. javax/naming/InvalidNameException.java,
  24476. javax/naming/InterruptedNamingException.java,
  24477. javax/naming/InsufficientResourcesException.java,
  24478. javax/naming/ContextNotEmptyException.java,
  24479. javax/naming/ConfigurationException.java,
  24480. javax/naming/CannotProceedException.java,
  24481. javax/naming/CommunicationException.java,
  24482. javax/naming/Binding.java,
  24483. javax/naming/AuthenticationNotSupportedException.java,
  24484. javax/naming/AuthenticationException.java: Added serialVersionUID.
  24485. 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
  24486. * javax/swing/event/TableColumnModelEvent.java: Reformatted.
  24487. 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
  24488. * javax/swing/event/TableModelListener.java: Updated API docs.
  24489. 2006-03-03 Mark Wielaard <mark@klomp.org>
  24490. * java/awt/Component.java (addNotify): Expand documentation.
  24491. 2006-03-03 Mark Wielaard <mark@klomp.org>
  24492. * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
  24493. Always call setParentAndBounds().
  24494. (setComponentBounds): Always call setBounds().
  24495. (setBounds): Call setVisible().
  24496. (setVisible): If no pixels are showing then don't make it visible.
  24497. * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): No need
  24498. to call setParentAndBounds() anymore.
  24499. 2006-03-03 Roman Kennke <kennke@aicas.com>
  24500. * javax/swing/JInternalFrame.java
  24501. (JInternalFrame): Set frame invisible.
  24502. (show): Reformatted.
  24503. * javax/swing/plaf/basic/BasicInternalFrameUI.java
  24504. (installDefaults): Do not set invisible here.
  24505. 2006-03-03 Roman Kennke <kennke@aicas.com>
  24506. * java/awt/Toolkit.java
  24507. (getScreenInsets): Return (0,0,0,0) here.
  24508. 2006-03-03 Roman Kennke <kennke@aicas.com>
  24509. * javax/swing/text/FlowView.java
  24510. (FlowStrategy.layoutRow): Added check for rowCount == 0.
  24511. (FlowStrategy.getLogicalView): Made method protected.
  24512. 2006-03-03 Chris Burdess <dog@gnu.org>
  24513. * gnu/xml/validation/relaxng/AnyNameNameClass.java,
  24514. gnu/xml/validation/relaxng/AttributePattern.java,
  24515. gnu/xml/validation/relaxng/ChoiceNameClass.java,
  24516. gnu/xml/validation/relaxng/ChoicePattern.java,
  24517. gnu/xml/validation/relaxng/DataPattern.java,
  24518. gnu/xml/validation/relaxng/Define.java,
  24519. gnu/xml/validation/relaxng/ElementPattern.java,
  24520. gnu/xml/validation/relaxng/EmptyPattern.java,
  24521. gnu/xml/validation/relaxng/FullSyntaxBuilder.java,
  24522. gnu/xml/validation/relaxng/Grammar.java,
  24523. gnu/xml/validation/relaxng/GrammarException.java,
  24524. gnu/xml/validation/relaxng/GrammarValidator.java,
  24525. gnu/xml/validation/relaxng/GroupPattern.java,
  24526. gnu/xml/validation/relaxng/InterleavePattern.java,
  24527. gnu/xml/validation/relaxng/ListPattern.java,
  24528. gnu/xml/validation/relaxng/NSNameNameClass.java,
  24529. gnu/xml/validation/relaxng/NameClass.java,
  24530. gnu/xml/validation/relaxng/NameNameClass.java,
  24531. gnu/xml/validation/relaxng/NotAllowedPattern.java,
  24532. gnu/xml/validation/relaxng/OneOrMorePattern.java,
  24533. gnu/xml/validation/relaxng/Param.java,
  24534. gnu/xml/validation/relaxng/Pattern.java,
  24535. gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java,
  24536. gnu/xml/validation/relaxng/RefPattern.java,
  24537. gnu/xml/validation/relaxng/TextPattern.java,
  24538. gnu/xml/validation/relaxng/ValuePattern.java: New RELAX NG grammar
  24539. builder and data model.
  24540. * gnu/xml/validation/xmlschema/AnyAttribute.java,
  24541. gnu/xml/validation/xmlschema/AttributeDeclaration.java,
  24542. gnu/xml/validation/xmlschema/AttributeUse.java,
  24543. gnu/xml/validation/xmlschema/ComplexType.java,
  24544. gnu/xml/validation/xmlschema/ElementDeclaration.java,
  24545. gnu/xml/validation/xmlschema/Particle.java,
  24546. gnu/xml/validation/xmlschema/ValidationException.java,
  24547. gnu/xml/validation/xmlschema/XMLSchema.java,
  24548. gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.java,
  24549. gnu/xml/validation/xmlschema/XMLSchemaBuilder.java,
  24550. gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.java,
  24551. gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java,
  24552. gnu/xml/validation/xmlschema/XMLSchemaTypeInfo.java,
  24553. gnu/xml/validation/xmlschema/XMLSchemaTypeInfoProvider.java,
  24554. gnu/xml/validation/xmlschema/XMLSchemaValidator.java,
  24555. gnu/xml/validation/xmlschema/XMLSchemaValidatorHandler.java: New
  24556. W3C XML Schema builder and schema components.
  24557. * javax/xml/validation/SchemaFactory.java: Recognise RELAX NG and W3C
  24558. XML Schema namespace URIs.
  24559. 2006-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
  24560. * NEWS: Add entry for --enable-collections.
  24561. * configure.ac: Add --enable-collections option.
  24562. * lib/Makefile.am (collections.jar): New target.
  24563. (glibj_DATA): Add $(COLLECTIONS).
  24564. * lib/mkcollections.pl.in (destpath): Set from COLLECTION_PREFIX
  24565. configure substitution.
  24566. (classpath): Read from command line.
  24567. (javautilclasses): Remove BasicMapEntry. Add RandomAccess.
  24568. 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
  24569. * javax/swing/SpringLayout.java: Fixed API doc warnings.
  24570. 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
  24571. * javax/swing/event/ListSelectionEvent.java
  24572. (toString): Implemented,
  24573. plus updated API docs all over.
  24574. 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
  24575. * javax/swing/event/ListSelectionEvent.java: Reformatted and fixed
  24576. API doc warnings,
  24577. * javax/swing/event/ListSelectionListener.java: Updated API docs.
  24578. 2006-03-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  24579. * gnu/java/rmi/dgc/DGCImpl.java,
  24580. java/rmi/dgc/DGC.java,
  24581. java/rmi/dgc/Lease.java: Formatted and commented.
  24582. 2006-03-03 Roman Kennke <kennke@aicas.com>
  24583. * NEWS: Added comment about text highlighting and copy+paste
  24584. in Swing.
  24585. 2006-03-03 Roman Kennke <kennke@aicas.com>
  24586. * javax/swing/JTabbedPane.java
  24587. (remove(int)): Call super.remove(int) instead of remove(Component).
  24588. Avoids a stack overflow.
  24589. 2006-03-03 Roman Kennke <kennke@aicas.com>
  24590. * javax/swing/JTable.java
  24591. (distributeSpillResizing): Avoid ArithmeticException by checking
  24592. divisor.
  24593. 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
  24594. * javax/swing/text/package.html: Added package description.
  24595. 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
  24596. * javax/swing/CellRendererPane.java: Minor API doc fix,
  24597. * javax/swing/ComboBoxModel.java: Updated API docs.
  24598. 2006-03-03 Chris Burdess <dog@gnu.org>
  24599. Fixes PR 26503
  24600. * gnu/xml/stream/EntityReferenceImpl.java,
  24601. gnu/xml/stream/FilteredEventReader.java,
  24602. gnu/xml/stream/SAXParser.java,
  24603. gnu/xml/stream/XIncludeFilter.java,
  24604. gnu/xml/stream/XMLEventAllocatorImpl.java,
  24605. gnu/xml/stream/XMLEventFactoryImpl.java,
  24606. gnu/xml/stream/XMLEventImpl.java,
  24607. gnu/xml/stream/XMLEventReaderImpl.java,
  24608. gnu/xml/stream/XMLEventWriterImpl.java,
  24609. gnu/xml/stream/XMLInputFactoryImpl.java,
  24610. gnu/xml/stream/XMLOutputFactoryImpl.java,
  24611. gnu/xml/stream/XMLParser.java,
  24612. javax/xml/stream/EventFilter.java,
  24613. javax/xml/stream/Location.java,
  24614. javax/xml/stream/StreamFilter.java,
  24615. javax/xml/stream/XMLEventFactory.java,
  24616. javax/xml/stream/XMLEventReader.java,
  24617. javax/xml/stream/XMLEventWriter.java,
  24618. javax/xml/stream/XMLInputFactory.java,
  24619. javax/xml/stream/XMLOutputFactory.java,
  24620. javax/xml/stream/XMLReporter.java,
  24621. javax/xml/stream/XMLResolver.java,
  24622. javax/xml/stream/XMLStreamConstants.java,
  24623. javax/xml/stream/XMLStreamReader.java,
  24624. javax/xml/stream/events/EntityDeclaration.java,
  24625. javax/xml/stream/events/EntityReference.java,
  24626. javax/xml/stream/events/XMLEvent.java,
  24627. javax/xml/stream/util/EventReaderDelegate.java,
  24628. javax/xml/stream/util/ReaderDelegate.java: Updated to final version of
  24629. StAX API as specified in JWSDP 2.0.
  24630. * gnu/xml/stream/EndEntityImpl.java,
  24631. gnu/xml/stream/LocationImpl.java,
  24632. gnu/xml/stream/StartEntityImpl.java,
  24633. gnu/xml/stream/XMLStreamReaderImpl.java,
  24634. javax/xml/stream/XMLFilter.java,
  24635. javax/xml/stream/XMLIterator.java,
  24636. javax/xml/stream/events/EndEntity.java,
  24637. javax/xml/stream/events/StartEntity.java: Removed legacy files.
  24638. 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
  24639. * javax/swing/CellEditor.java: API doc updates,
  24640. * javax/swing/DefaultCellEditor.java: Likewise.
  24641. 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
  24642. * javax/swing/AbstractListModel.java:
  24643. (AbstractListModel): Added API docs,
  24644. (fireContentsChanged): Minor API doc correction,
  24645. (fireIntervalAdded): Likewise,
  24646. (fireIntervalRemoved): Likewise.
  24647. 2006-03-03 Roman Kennke <kennke@aicas.com>
  24648. * NEWS: Added paragraph about Swing improvements.
  24649. 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
  24650. * javax/swing/AbstractAction.java: Updated API docs all over,
  24651. * javax/swing/AbstractCellRenderer.java: Minor reformatting, plus
  24652. (stopCellEditing): Minor API doc correction,
  24653. * javax/swing/UnsupportedLookAndFeelException.java
  24654. (UnsupportedLookAndFeelException): Changed argument name, updated API
  24655. docs.
  24656. 2006-03-03 Roman Kennke <kennke@aicas.com>
  24657. * javax/swing/plaf/metal/MetalUtils.java
  24658. (fillMetalPattern): Added switch to not use Graphics2D methods,
  24659. even if they are available.
  24660. 2006-03-03 Roman Kennke <kennke@aicas.com>
  24661. * javax/swing/plaf/basic/BasicHTML.java
  24662. (isHTMLString): Check for string beeing null.
  24663. * javax/swing/plaf/basic/BasicInternalFrameUI.java
  24664. (BasicInternalFrameListener.internalFrameActivated): Implemented.
  24665. (BasicInternalFrameListener.internalFrameDeactivated): Implemented.
  24666. (InternalFrameLayout): Don't touch the glass pane here.
  24667. (installUI): Fix handling of glass pane.
  24668. * javax/swing/plaf/basic/BasicLabelUI.java
  24669. (vr): New field.
  24670. (ir): New field.
  24671. (tr): New field.
  24672. (BasicLabelUI): Initialize new fields.
  24673. (getPreferredSize): Avoid creating new Rectangles by using
  24674. SwingUtilities method.
  24675. (paint): Avoid creating new Rectangles by reusing
  24676. new fields. Added some preliminary handling of HTML inside the
  24677. label.
  24678. (installComponents): Handle HTML by calling BasicHTML.updateRenderer.
  24679. (uninstallComponents): Clear HTML renderer.
  24680. (propertyChange): Check for HTML text and install renderer if
  24681. appropriate.
  24682. * javax/swing/plaf/basic/BasicListUI.java
  24683. (getCellBounds): Avoid creating new Rectangle by using SwingUtilities
  24684. method.
  24685. * javax/swing/plaf/basic/BasicTextUI.java
  24686. (RootView.getStartOffset): Implemented.
  24687. (RootView.getEndOffset): Implemented.
  24688. (RootView.getDocument): Implemented.
  24689. 2006-03-03 Roman Kennke <kennke@aicas.com>
  24690. * javax/swing/text/DefaultStyledDocument.java
  24691. (ElementBuffer.inserUpdate): Added check for zero-length
  24692. element.
  24693. * javax/swing/text/DefaultStyledDocument.java
  24694. (setIndex): Improved exception message.
  24695. * javax/swing/text/TableView.java
  24696. Made class abstract.
  24697. (TableRow.replace): Probably extend columnRequirements
  24698. arrays.
  24699. (TableRow.layoutMinorAxis): Call super.layoutMinorAxis instead
  24700. of super.layoutMajorAxis.
  24701. (columnRequirements): Made field package private.
  24702. (TableView): Do not load any child views here.
  24703. (layoutColumns): Implemented this method.
  24704. (updateColumnRequirements): New helper method.
  24705. * javax/swing/text/Utilities.java
  24706. (getBreakLocation): Also take offset into account when
  24707. finding end location.
  24708. * javax/swing/text/html/HTMLDocument.java
  24709. (HTMLReader.parseStack): New field.
  24710. (HTMLReader.blockOpen): Properly handle p-implied tags.
  24711. (HTMLReader.blockClose): Properly handle p-implied and empty tags.
  24712. (HTMLReader.addContent): Insert p-implied when adding content to
  24713. a block element.
  24714. * javax/swing/text/html/HTMLEditorKit.java
  24715. (HTMLFactory.create): Create HTMLTableView for <table> tags and
  24716. ParagraphView for TD tags. Print out warning for tags that don't have
  24717. matching view yet and create NullView for them.
  24718. (read): Only set document base when document != null.
  24719. * javax/swing/text/html/HTMLTableView.java:
  24720. New class
  24721. 2006-03-03 Roman Kennke <kennke@aicas.com>
  24722. * javax/swing/plaf/basic/BasicHTML.java
  24723. (HTMLRootView): New inner class.
  24724. (createHTMLView): Embed view inside a HTMLRootView.
  24725. 2006-03-03 Wolfgang Baer <WBaer@gmx.de>
  24726. * gnu/java/net/protocol/jar/Connection.java:
  24727. (connect): Throw FileNotFoundException.
  24728. (getInputStream): Remove duplicated code.
  24729. 2006-03-03 Roman Kennke <kennke@aicas.com>
  24730. * javax/swing/RepaintManager.java
  24731. (commitBuffer): Added null check for clip.
  24732. 2006-03-02 Lillian Angel <langel@redhat.com>
  24733. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
  24734. (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Fixed
  24735. to use GtkWidget instead of GTKMenu.
  24736. 2006-03-02 Lillian Angel <langel@redhat.com>
  24737. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
  24738. (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Changed to
  24739. use the submenu to get the list of children. This now works
  24740. in the same way as addItem.
  24741. 2006-03-02 Anthony Balkissoon <abalkiss@redhat.com>
  24742. * java/lang/StringBuilder.java:
  24743. (codePointAt): New method.
  24744. (codePointBefore): Likewise.
  24745. (codePointCount): Likewise.
  24746. (trimToSize): Likewise.
  24747. 2006-03-02 Tom Tromey <tromey@redhat.com>
  24748. * java/rmi/server/RMIClassLoader.java (getProviderInstance): Wrote.
  24749. 2006-03-02 Tom Tromey <tromey@redhat.com>
  24750. * java/rmi/server/RMIClassLoader.java (loadProxyClass): New method.
  24751. (getProviderInstance):
  24752. 2006-03-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
  24753. * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
  24754. Fix regression caused by move to VM variant.
  24755. PR classpath/22926.
  24756. 2006-03-01 Tom Tromey <tromey@redhat.com>
  24757. * vm/reference/java/net/VMNetworkInterface.java: Organized imports.
  24758. * vm/reference/java/net/VMInetAddress.java: Organized imports.
  24759. * vm/reference/java/lang/reflect/VMProxy.java (getProxyClass): Added
  24760. imports for javadoc.
  24761. (getProxyClass): Javadoc fixes.
  24762. (getProxyData): Likewise.
  24763. (generateProxyClass): Likewise.
  24764. * vm/reference/java/lang/VMSystem.java (setIn): Javadoc fix.
  24765. (setOut): Likewise.
  24766. (setErr): Likewise.
  24767. * vm/reference/java/lang/VMProcess.java: Javadoc fixes.
  24768. * vm/reference/java/lang/VMClassLoader.java (getResources): Javadoc
  24769. fix.
  24770. * vm/reference/java/lang/VMClass.java (getComponentType): Import for
  24771. javadoc.
  24772. (getModifiers): Likewise.
  24773. (getDeclaredClasses): Javadoc fix.
  24774. (getDeclaredFields): Likewise.
  24775. (getDeclaredMethods): Likewise.
  24776. (getDeclaredConstructors): Likewise.
  24777. * vm/reference/gnu/classpath/VMSystemProperties.java (preInit):
  24778. Javadoc fix.
  24779. 2006-03-01 Tom Tromey <tromey@redhat.com>
  24780. * gnu/java/net/protocol/http/ResponseHeaderHandler.java: Javadoc fix.
  24781. * gnu/java/net/protocol/http/HTTPConnection.java: Organized imports.
  24782. (getVersion): Javadoc fix.
  24783. (get): Likewise.
  24784. * gnu/java/net/protocol/http/Headers.java: Organized imports.
  24785. * gnu/java/net/protocol/ftp/FTPURLConnection.java: Organized imports.
  24786. 2006-03-01 David Daney <ddaney@avtrex.com>
  24787. * java/net/URL.java (URL(URL, String, URLStreamHandler)): Treat spec
  24788. as relative if it contains a colon but no protocol handler can be
  24789. found.
  24790. 2006-03-01 Roman Kennke <kennke@aicas.com>
  24791. * javax/swing/text/AbstractDocument.java
  24792. (LeafElement.LeafElement): Handle delta with respect to content
  24793. length not document length.
  24794. * javax/swing/text/CompositeView.java
  24795. (getViewIndex): Handle bias correctly.
  24796. * javax/swing/text/DefaultCaret.java
  24797. (paint): Align caret position to document bounds to avoid trouble
  24798. when removing large portions of content.
  24799. * javax/swing/text/DefaultStyledDocument.java
  24800. (ElementBuffer.insertFirstContentTag): Use pos instead of offset.
  24801. (ElementBuffer.createFracture): Copy old childs attribute. The
  24802. ElementSpec usually doesn't carry attribute information.
  24803. Use pos instead of offset.
  24804. (ElementBuffer.insertFracture): Use pos instead of offset.
  24805. (createDefaultRootElement): Don't use create* and instead directly
  24806. instantiate the elements.
  24807. (handleInsertAfterNewline): Compare the paragraphs startOffset
  24808. rather than previous paragraphs endOffset.
  24809. * javax/swing/text/JTextComponent.java
  24810. (getScrollableTracksViewportWidth): Remove unnecessary cast to
  24811. JViewport.
  24812. (getScrollableTracksViewportHeight): Remove unnecessary cast to
  24813. JViewport.
  24814. * javax/swing/text/PlainView.java
  24815. (damageLineRange): Avoid creating new Rectangle by using
  24816. SwingUtilities.
  24817. * javax/swing/text/View.java
  24818. (forwardUpdate): Correct the use of bias.
  24819. (modelToView): Avoid new Rectangles by using SwingUtilities.
  24820. (dump): Made (temprorarily) protected for use in BasicTextUI.
  24821. (dump(int)): Dump out the element of the view.
  24822. 2006-03-01 Lillian Angel <langel@redhat.com>
  24823. * NEWS: javax.imageio.plugins.bmp implementation.
  24824. 2006-03-01 Lillian Angel <langel@redhat.com>
  24825. * javax/imageio/ImageWriteParam.java:
  24826. Added documentation for fields.
  24827. * javax/imageio/plugins/bmp/BMPImageWriteParam.java:
  24828. New class implemented.
  24829. 2006-03-01 Tom Tromey <tromey@redhat.com>
  24830. * NEWS: Mention java.util.prefs update.
  24831. 2006-03-01 Tom Tromey <tromey@redhat.com>
  24832. * gnu/java/nio/channels/FileChannelImpl.java (position): Fixed typo.
  24833. * java/nio/charset/UnmappableCharacterException.java:
  24834. (serialVersionUID): New field.
  24835. * java/nio/charset/MalformedInputException.java:
  24836. (serialVersionUID): New field.
  24837. * java/nio/charset/CoderMalfunctionError.java:
  24838. (serialVersionUID): New field.
  24839. * java/nio/charset/CharacterCodingException.java:
  24840. (serialVersionUID): New field.
  24841. * java/nio/channels/UnsupportedAddressTypeException.java:
  24842. (serialVersionUID): New field.
  24843. * java/nio/channels/UnresolvedAddressException.java:
  24844. (serialVersionUID): New field.
  24845. * java/nio/channels/OverlappingFileLockException.java:
  24846. (serialVersionUID): New field.
  24847. * java/nio/channels/NotYetConnectedException.java:
  24848. (serialVersionUID): New field.
  24849. * java/nio/channels/NotYetBoundException.java
  24850. (serialVersionUID): New field.
  24851. * java/nio/channels/NonWritableChannelException.java
  24852. (serialVersionUID): New field.
  24853. * java/nio/channels/NonReadableChannelException.java
  24854. (serialVersionUID): New field.
  24855. * java/nio/channels/NoConnectionPendingException.java
  24856. (serialVersionUID): New field.
  24857. * java/nio/channels/IllegalSelectorException.java
  24858. (serialVersionUID): New field.
  24859. * java/nio/channels/IllegalBlockingModeException.java
  24860. (serialVersionUID): New field.
  24861. * java/nio/channels/FileLockInterruptionException.java
  24862. (serialVersionUID): New field.
  24863. * java/nio/channels/ConnectionPendingException.java
  24864. (serialVersionUID): New field.
  24865. * java/nio/channels/ClosedSelectorException.java (serialVersionUID):
  24866. New field.
  24867. * java/nio/channels/ClosedChannelException.java (serialVersionUID):
  24868. New field.
  24869. * java/nio/channels/ClosedByInterruptException.java
  24870. (serialVersionUID): New field.
  24871. * java/nio/channels/CancelledKeyException.java (serialVersionUID):
  24872. New field.
  24873. * java/nio/channels/AsynchronousCloseException.java
  24874. (serialVersionUID): New field.
  24875. * java/nio/channels/AlreadyConnectedException.java (serialVersionUID):
  24876. New field.
  24877. * java/nio/ReadOnlyBufferException.java (serialVersionUID): New field.
  24878. * java/nio/InvalidMarkException.java (serialVersionUID): New field.
  24879. * java/nio/BufferUnderflowException.java (serialVersionUID): New
  24880. field.
  24881. * java/nio/BufferOverflowException.java (serialVersionUID): New field.
  24882. * java/nio/channels/spi/AbstractInterruptibleChannel.java (end):
  24883. Javadoc fix. Added import.
  24884. * java/nio/channels/DatagramChannel.java (isConnected): Javadoc fix.
  24885. (validOps): Likewise.
  24886. * gnu/java/nio/charset/iconv/IconvProvider.java: Organized imports.
  24887. * gnu/java/nio/charset/iconv/IconvEncoder.java: Organized imports.
  24888. * gnu/java/nio/charset/iconv/IconvDecoder.java: Organized imports.
  24889. * java/nio/channels/Channels.java: Added import.
  24890. * java/nio/channels/FileChannel.java (lock): Typo fix.
  24891. (tryLock): Likewise.
  24892. 2006-03-01 Tom Tromey <tromey@redhat.com>
  24893. * java/util/prefs/Preferences.java (defaultFactoryClass): Use
  24894. FileBasedFactory.
  24895. * gnu/java/util/prefs/FileBasedPreferences.java: New file.
  24896. * java/util/prefs/AbstractPreferences.java (removeSpi): Typo fix.
  24897. (clear): Likewise.
  24898. (putSpi): Likewise.
  24899. (newNode): Likewise.
  24900. (node): Likewise.
  24901. * gnu/java/util/prefs/MemoryBasedFactory.java: Typo fix.
  24902. * gnu/java/util/prefs/FileBasedFactory.java (systemPreferences): New
  24903. field.
  24904. (systemRoot): Use it.
  24905. (userPreferences): New field.
  24906. (userRoot): Use it.
  24907. 2006-03-01 Jeroen Frijters <jeroen@frijters.net>
  24908. * java/util/ResourceBundle.java
  24909. (tryBundle): Catch and ignore all Exceptions.
  24910. 2006-02-28 Roman Kennke <kennke@aicas.com>
  24911. * javax/swing/plaf/basic/BasicScrollBarUI.java
  24912. (getPreferredSize): Fixed add a fixed space between the buttons
  24913. instead of something related to min/max.
  24914. (installComponents): Create and install buttons here.
  24915. (installDefaults): Don't create buttons here.
  24916. * javax/swing/plaf/metal/MetalScrollBarUI.java
  24917. (getMinimumThumbSize): Return (0,0) when UI is not yet installed.
  24918. (getPreferredSize): New method.
  24919. 2006-02-28 David Gilbert <david.gilbert@object-refinery.com>
  24920. * examples/gnu/classpath/examples/swing/Demo.java
  24921. (mkMenuBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
  24922. connected 'Spinner' action to SpinnerDemo,
  24923. (mkCheckbox): Removed,
  24924. (mkRadio): Likewise,
  24925. (mkSpinner): Likewise,
  24926. (mkToggle): Likewise,
  24927. (mkButtonBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
  24928. connected 'Spinner' action to SpinnerDemo.
  24929. 2006-02-28 Wolfgang Baer <WBaer@gmx.de>
  24930. * javax/print/ServiceUIFactory.java: Added documentation to class.
  24931. 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
  24932. PR classpath/26434
  24933. * javax/swing/DefaultListSelectionModel.java:
  24934. (addSelectionInterval): Return early if either of the arguments is -1.
  24935. (removeSelectionInterval): Likewise.
  24936. (setSelectionInterval): Likewise.
  24937. 2006-02-28 Lillian Angel <langel@redhat.com>
  24938. * javax/swing/text/DefaultFormatter.java
  24939. (stringToValue): Added NPE check.
  24940. 2006-02-28 Roman Kennke <kennke@aicas.com>
  24941. PR classpath/25675
  24942. * javax/swing/JList.java
  24943. (getPreferredScrollableViewportSize): Restored specified behaviour.
  24944. * javax/swing/plaf/metal/MetalFileChooserUI.java
  24945. (createList): Set filelist panel's preferredSize, so that it doesn't
  24946. get size into infinity for big lists.
  24947. 2006-02-28 Lillian Angel <langel@redhat.com>
  24948. * javax/swing/ViewportLayout.java
  24949. (layoutContainer): Should not extend container to be
  24950. minimum size. Mauve test shows that the preferred size
  24951. and the size of the viewport can be set smaller than
  24952. the minimum.
  24953. 2006-02-28 Lillian Angel <langel@redhat.com>
  24954. PR classpath/25675
  24955. * javax/swing/JList.java
  24956. (getPreferredScrollableViewportSize): Added a check to determine
  24957. if orientation is VERTICAL_WRAP. If it is, we should only
  24958. show 3 columns.
  24959. 2006-02-28 Lillian Angel <langel@redhat.com>
  24960. PR classpath/26003
  24961. * javax/swing/ViewportLayout.java:
  24962. Patch submitted by Audrius Meskauskas
  24963. (addLayoutComponent): Added documentation.
  24964. (removeLayoutComponent): Likewise.
  24965. (preferredLayoutSize): Likewise.
  24966. (minimumLayoutSize): Likewise.
  24967. (layoutContainer): Fixed code, so view is set
  24968. to the right position when inside a scrollpane.
  24969. 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
  24970. * java/math/BigInteger.java:
  24971. Committed patch by Rafael:
  24972. developer.classpath.org/pipermail/classpath-patches/
  24973. 2006-February/000473.html
  24974. (signum): Return early 0 if words == null and ival == 0.
  24975. (readObject): Handle special case of magnitude.length or signum being
  24976. 0.
  24977. (writeObject): If signum is zero return a zero-sized byte[].
  24978. 2006-02-28 Lillian Angel <langel@redhat.com>
  24979. * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
  24980. (create): Initially set the directory to the current working directory.
  24981. (setDirectory): Removed else-if. No need for this check.
  24982. 2006-02-28 Tom Tromey <tromey@redhat.com>
  24983. * .project: Run java builder before header generation.
  24984. 2006-02-28 Tom Tromey <tromey@redhat.com>
  24985. * gnu/java/util/prefs/MemoryBasedPreferences.java (childrenNamesSpi):
  24986. Javadoc fix.
  24987. * gnu/java/util/prefs/EventDispatcher.java: New file.
  24988. * gnu/java/util/prefs/NodeWriter.java (NodeWriter): Removed.
  24989. (NodeWriter): Specify UTF-8.
  24990. (writeHeader): Emit DOCTYPE.
  24991. * java/util/prefs/Preferences.java (getFactory): Add cause to
  24992. exception.
  24993. (exportNode): Documented.
  24994. (exportSubtree): Likewise.
  24995. (importPreferences): Likewise.
  24996. * java/util/prefs/NodeChangeEvent.java (readObject): New method.
  24997. (writeObject): Likewise.
  24998. * java/util/prefs/PreferenceChangeEvent.java (readObject): New method.
  24999. (writeObject): Likewise.
  25000. * java/util/prefs/AbstractPreferences.java (putBoolean): Use 1.4 code.
  25001. (nodeListeners): New field.
  25002. (preferenceListeners): Likewise.
  25003. (addNodeChangeListener): Implemented.
  25004. (addPreferenceChangeListener): Likewise.
  25005. (removeNodeChangeListener): Likewise.
  25006. (removePreferenceChangeListener): Likewise.
  25007. (fire): New methods.
  25008. (put): Fire event.
  25009. (remove): Likewise.
  25010. (purge): Likewise. Fixed synchronization.
  25011. (removeNode): Fixed synchronization.
  25012. (getNode): Fire event.
  25013. (flushNode): Fixed synchronization.
  25014. 2006-02-28 Roman Kennke <kennke@aicas.com>
  25015. * javax/swing/text/BranchElement.java
  25016. (startOffset): New field.
  25017. (endOffset): New field.
  25018. (BranchElement): Initialize new fields.
  25019. (getEndOffset): Rewritten to possibly return cached values
  25020. if element has no children.
  25021. (getStartOffset): Rewritten to possibly return cached values
  25022. if element has no children.
  25023. * javax/swing/text/LeafElement.java
  25024. (startDelta): New field.
  25025. (endDelta): New field.
  25026. (LeafElement): Handle possible delta of start/endOffset when
  25027. these parameters lie outside the document range.
  25028. (getStartOffset): Handle possible startDelta.
  25029. (getEndOffset): Handle possible startDelta.
  25030. 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
  25031. * NEWS: Added line about Unicode 4.0.0 support.
  25032. 2006-02-28 Roman Kennke <kennke@aicas.com>
  25033. * javax/swing/SwingUtilities.java
  25034. (layoutCompoundLabel): Set textIconGap to 0 when icon == null.
  25035. 2006-03-01 Raif S. Naffah <raif@swiftdsl.com.au>
  25036. * gnu/classpath/debug/Simple1LineFormatter.java: New file.
  25037. 2006-03-01 Raif S. Naffah <raif@swiftdsl.com.au>
  25038. * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
  25039. Amended class documentation.
  25040. (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
  25041. STRING.
  25042. (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
  25043. a BIT STRING construct.
  25044. * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: Amended class
  25045. documentation.
  25046. (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
  25047. STRING.
  25048. (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
  25049. a BIT STRING construct.
  25050. * gnu/java/security/jce/sig/SignatureAdapter.java (log): New field.
  25051. (engineVerify): Added logging.
  25052. 2006-02-28 Roman Kennke <kennke@aicas.com>
  25053. * java/awt/Component.java
  25054. (dispatchEventImpl): Let the Toolkit dispatch global events.
  25055. * java/awt/Container.java
  25056. (dispatchEventImpl): Let the LightweightDispatcher handle events
  25057. first.
  25058. * java/awt/EventQueue.java
  25059. (dispatchEvent): Don't do the global event dispatching here. This
  25060. is moved to the Component.
  25061. (globalDispatchEvent): Moved this method to Toolkit.
  25062. * java/awt/LightweightDispatcher.java
  25063. (instances): New field.
  25064. (getInstance): New method. Delivers an instance of
  25065. LightweightDispatcher.
  25066. (LightweightDispatcher): Made default constructor private.
  25067. (dispatchEvent): New method. Replaces the eventDispatched method.
  25068. This now returns true when the event was actually dispatched.
  25069. (eventDispatched): Replaced by dispatchEvent.
  25070. (handleMouseEvent): Send MOUSE_CLICKED to the same component that
  25071. received the last MOUSE_RELEASED.
  25072. * java/awt/Toolkit.java
  25073. (Toolkit): Don't register LightweightDispatcher as global event
  25074. handler.
  25075. (globalDispatchEvent): Moved here from EventQueue.
  25076. 2006-02-27 David Daney <ddaney@avtrex.com>
  25077. PR classpath/25851
  25078. * gnu/java/net/protocol/http/HTTPURLConnection.java (imports) Cleaned
  25079. up.
  25080. (getRequestProperties): Rewrote.
  25081. 2006-02-27 David Daney <ddaney@avtrex.com>
  25082. PR classpath/26312
  25083. * gnu/java/net/protocol/http/ChunkedInputStream.java (imports): Cleaned
  25084. up.
  25085. (ChunkedInputStream): Extend InputStream.
  25086. (in): New field.
  25087. (headers): Moved to top of class.
  25088. (constructor): Save referenct to in.
  25089. (read(byte[])): Removed method.
  25090. (read(byte[], int, int)): Made synchronized and throw IOException
  25091. on error parsing chunk header.
  25092. (available): New method.
  25093. (close): New method.
  25094. 2006-02-27 David Daney <ddaney@avtrex.com>
  25095. * gnu/java/net/protocol/http/HTTPURLConnection.java
  25096. (imports): Cleaned up.
  25097. (GetHTTPPropertiesAction): Removed, and moved contents to ...
  25098. (constructor): ... Here, using SystemProperties instead of System.
  25099. 2006-02-27 Lillian Angel <langel@redhat.com>
  25100. * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
  25101. (setDirectory): GtkFileChooser requires an absolute directory
  25102. name. Added a check to make the directory passed to nativeSetDirectory
  25103. is absolute.
  25104. 2006-02-27 Roman Kennke <kennke@aicas.com>
  25105. * javax/swing/SwingUtilities.java
  25106. (computeIntersection): Changed to store result in rect, instead of
  25107. creating new Rectangle instances. Fixed API docs accordingly.
  25108. (computeUnion): Changed to store result in rect, instead of
  25109. creating new Rectangle instances. Fixed API docs accordingly.
  25110. 2006-02-27 Roman Kennke <kennke@aicas.com>
  25111. * javax/swing/JViewport.java
  25112. (static_init): Changed default scrollmode to BLIT.
  25113. (paintSimple): Added some clipping to avoid painting problems.
  25114. (paintBlit): Added some clipping to avoid painting problems.
  25115. 2006-02-27 Roman Kennke <kennke@aicas.com>
  25116. * javax/swing/JComponent.java
  25117. (rectCache): Made field static to save memory.
  25118. (getVisibleRect): Don't use rectCache and create new Rectangle
  25119. instance instead.
  25120. (repaint(Rectangle)): Directly call RepaintManager.addDirtyRegion().
  25121. (repaint(long,int,int,int,int)): Directly call
  25122. RepaintManager.addDirtyRegion(). The visibleRect check is now
  25123. performed in the RepaintManager.
  25124. 2006-02-27 Roman Kennke <kennke@aicas.com>
  25125. * javax/swing/RepaintManager.java
  25126. (currentRepaintManagers): Made field private.
  25127. (rectCache): New field.
  25128. (addDirtyRegion): Clip dirty rectangle with visible rectangle of
  25129. component. Changed Rectangle handling to avoid unnecessary new
  25130. Rectangle instances.
  25131. (getOffscreenBuffer): Create buffer with size of the root window.
  25132. Respect the maximum buffer size here.
  25133. (commitBuffer): Align the regions so that they are inside the buffer
  25134. image and inside the clip. This avoids problems with a bug in GTKImage.
  25135. Fixed Rectangle handling to avoid creation of new Rectangle instances.
  25136. 2006-02-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
  25137. * native/fdlibm/e_acos.c,
  25138. * native/fdlibm/e_asin.c,
  25139. * native/fdlibm/e_atan2.c,
  25140. * native/fdlibm/e_cosh.c,
  25141. * native/fdlibm/e_exp.c,
  25142. * native/fdlibm/e_fmod.c,
  25143. * native/fdlibm/e_hypot.c,
  25144. * native/fdlibm/e_log.c,
  25145. * native/fdlibm/e_log10.c,
  25146. * native/fdlibm/e_rem_pio2.c,
  25147. * native/fdlibm/e_remainder.c,
  25148. * native/fdlibm/e_sinh.c,
  25149. * native/fdlibm/e_sqrt.c,
  25150. * native/fdlibm/k_cos.c,
  25151. * native/fdlibm/k_sin.c,
  25152. * native/fdlibm/k_tan.c,
  25153. * native/fdlibm/s_atan.c,
  25154. * native/fdlibm/s_cbrt.c,
  25155. * native/fdlibm/s_ceil.c,
  25156. * native/fdlibm/s_copysign.c,
  25157. * native/fdlibm/s_cos.c,
  25158. * native/fdlibm/s_expm1.c,
  25159. * native/fdlibm/s_fabs.c,
  25160. * native/fdlibm/s_finite.c,
  25161. * native/fdlibm/s_floor.c,
  25162. * native/fdlibm/s_log1p.c,
  25163. * native/fdlibm/s_rint.c,
  25164. * native/fdlibm/s_scalbn.c,
  25165. * native/fdlibm/s_sin.c,
  25166. * native/fdlibm/s_tan.c,
  25167. * native/fdlibm/s_tanh.c:
  25168. Fixed to call our macros rather than __HI and __LO.
  25169. * native/fdlibm/fdlibm.h:
  25170. Reintroduced previous extraction code.
  25171. (EXTRACT_WORDS(ix0,ix1,d)): Readded.
  25172. (GET_HIGH_WORD(i,d)): Readded.
  25173. (GET_LOW_WORD(i,d)): Readded.
  25174. (INSERT_WORDS(d,ix0,ix1)): Readded.
  25175. (SET_HIGH_WORD(d,i)): Readded.
  25176. (SET_LOW_WORD(d,i)): Readded.
  25177. * native/jni/gtk-peer/gthread-jni.c:
  25178. Use Glib macros to convert integers/pointers portably.
  25179. 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
  25180. * java/security/SecureRandom.java (SecureRandom): Use GNU-CRYPTO class
  25181. as the fallback SPI.
  25182. * gnu/java/security/provider/Gnu.java (run): Replaced mappings with new
  25183. ones referencing GNU-CRYPTO classes.
  25184. * gnu/java/security/provider/PKIXCertPathValidatorImpl.java
  25185. (engineValidate): Use GNU-CRYPTO class.
  25186. * gnu/java/security/provider/DiffieHellmanKeyFactoryImpl: Removed.
  25187. * gnu/java/security/provider/DiffieHellmanKeyPairGeneratorImpl: Likewise.
  25188. * gnu/java/security/provider/DSAKeyFactory: Likewise.
  25189. * gnu/java/security/provider/DSAKeyPairGenerator: Likewise.
  25190. * gnu/java/security/provider/DSAParameters: Likewise.
  25191. * gnu/java/security/provider/DSASignature: Likewise.
  25192. * gnu/java/security/provider/EncodedKeyFactory: Likewise.
  25193. * gnu/java/security/provider/GnuDHPublicKey: Likewise.
  25194. * gnu/java/security/provider/GnuDSAPrivateKey: Likewise.
  25195. * gnu/java/security/provider/GnuDSAPublicKey: Likewise.
  25196. * gnu/java/security/provider/GnuRSAPrivateKey: Likewise.
  25197. * gnu/java/security/provider/GnuRSAPublicKey: Likewise.
  25198. * gnu/java/security/provider/MD2withRSA: Likewise.
  25199. * gnu/java/security/provider/MD4withRSA: Likewise.
  25200. * gnu/java/security/provider/MD5: Likewise.
  25201. * gnu/java/security/provider/MD5withRSA: Likewise.
  25202. * gnu/java/security/provider/RSA: Likewise.
  25203. * gnu/java/security/provider/RSAKeyFactory: Likewise.
  25204. * gnu/java/security/provider/SHA: Likewise.
  25205. * gnu/java/security/provider/SHA1PRNG: Likewise.
  25206. * gnu/java/security/provider/SHA1withRSA: Likewise.
  25207. * gnu/javax/crypto/GnuDHPrivateKey: Likewise.
  25208. 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
  25209. * gnu/java/security/jce/sig/EncodedKeyFactory.java (log): New field.
  25210. (engineGeneratePublic): Added logging.
  25211. (engineGeneratePrivate): Likewise.
  25212. * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (log): New field.
  25213. (encodePublicKey): Added logging.
  25214. Clarified in method documentation that params is optional, but is
  25215. always NULL if present.
  25216. (decodePublicKey): Added logging.
  25217. Handle optional NULL element.
  25218. 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
  25219. * java/util/logging/FileHandler.java: Fixed a javadoc reference.
  25220. 2006-03-03 Tom Tromey <tromey@redhat.com>
  25221. * java/awt/MenuBar.java (shortcuts): Genericized.
  25222. 2006-03-03 Tom Tromey <tromey@redhat.com>
  25223. * java/beans/EventSetDescriptor.java (EventSetDescriptor):
  25224. Genericized.
  25225. (getListenerType): Likewise.
  25226. * java/beans/Introspector.java (getBeanInfo): Genericized.
  25227. * java/beans/DefaultPersistenceDelegate.java (initialize):
  25228. Genericized.
  25229. 2006-03-01 Anthony Balkissoon <abalkiss@redhat.com>
  25230. * java/math/BigDecimal.java:
  25231. (precision): Fixed overflow problem with large numbers.
  25232. (longValueExact): New method.
  25233. (intValueExact): Likewise.
  25234. (byteValueExact): Likewise.
  25235. (shortValueExact): Likewise.
  25236. 2006-03-01 Anthony Balkissoon <abalkiss@redhat.com>
  25237. * java/math/BigDecimal.java:
  25238. (remainder(BigDecimal)): New method.
  25239. (divideAndRemainder(BigDecimal)): Likewise.
  25240. (divideToIntegralValue(BigDecimal)): Likewise.
  25241. (floor): New implementation method.
  25242. 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
  25243. * java/math/BigDecimal.java:
  25244. (divide(BigDecimal, int, RoundingMode)): New method.
  25245. (divide(BigDecimal, RoundingMode)): Likewise.
  25246. (divide(BigDecimal, int, int)): Removed incorrect throwing of exception
  25247. when the new scale is < 0.
  25248. (setScale(int, RoundingMode)): New method.
  25249. (ulp): Likewise.
  25250. 2006-02-27 Anthony Balkissoon <abalkiss@redhat.com>
  25251. * java/math/BigDecimal.java: Replaced occurences of BigInteger.valueOf
  25252. with BigInteger.ZERO, BigInteger.ONE, BigInteger.TEN where appropriate.
  25253. (add(BigDecimal, MathContext)): New method.
  25254. (subtract(BigDecimal, MathContext)): Likewise.
  25255. (precision): Fixed to correctly handle BigIntegers with more than 19
  25256. digits.
  25257. (pow(int, MathContext)): New method.
  25258. 2006-02-27 Anthony Balkissoon <abalkiss@redhat.com>
  25259. * java/math/BigDecimal.java: Added @throws clause to constructors.
  25260. (mathContext): Removed this unneeded field.
  25261. (BigDecimal(int, MathContext)): New constructor.
  25262. (BigDecimal(BigInteger, int, MathContext)): Likewise.
  25263. (multiply(BigDecimal, MathContext)): New method.
  25264. (negate(MathContext)): Likewise.
  25265. (plus(MathContext)): Likewise.
  25266. (numDigitsInLong): Fixed to properly handle negatives.
  25267. 2006-02-25 Chris Burdess <dog@gnu.org>
  25268. * gnu/java/net/CRLFInputStream.java,
  25269. gnu/java/net/LineInputStream.java: Streams that use mark
  25270. capabilities on the underlying stream do not expose mark
  25271. functionality themselves.
  25272. * gnu/xml/stream/CRLFReader.java: Fix incorrect end condition when
  25273. off > 0.
  25274. 2006-02-25 Ito Kazumitsu <kaz@maczuka.gcd.org>
  25275. * gnu/regexp/REMatch.java(matchFlags): New int field used as
  25276. option flags passed to match methods.
  25277. (MF_FIND_ALL): New flag.
  25278. * gnu/regexp/RETokenOneOf.java(matchP): Unless MF_FIND_ALL is set,
  25279. do not try other possibilties once a match is found.
  25280. * gnu/regexp/RETokenRepeated.java(findDoables): Set MF_FIND_ALL
  25281. so that all possibilities can be found.
  25282. (match): Rewritten using new methods matchMinimum and _match.
  25283. (_match): New method which performs a depth-first recursive search.
  25284. (matchMinimum): New method.
  25285. (initVisited), (visitedContains), (addVisited): New methods for
  25286. manipulating an array of icharacter positions which _match has
  25287. already visited.
  25288. 2006-02-24 Anthony Balkissoon <abalkiss@redhat.com>
  25289. * java/math/BigDecimal.java:
  25290. (BigDecimal(long, MathContext)): New constructor.
  25291. (BigDecimal(BigInteger, MathContext)): Likewise.
  25292. (BigDecimal(String, MathContext)): Likewise.
  25293. (BigDecimal(double, MathContext)): Likewise.
  25294. (round): Fixed a typo where the precision field was used instead of a
  25295. call to the precision method, and also store the new precision in the
  25296. returned BigDecimal.
  25297. (abs(MathContext)): New method.
  25298. 2006-02-24 Anthony Balkissoon <abalkiss@redhat.com>
  25299. * java/math/BigDecimal.java
  25300. (toBigInteger): Fixed problem where this method couldn't handle
  25301. negative values for scale.
  25302. (toBigIntegerExact): New method.
  25303. (stripTrailingZeros): Likewise.
  25304. 2006-02-24 David Daney <ddaney@avtrex.com>
  25305. PR classpath/26082
  25306. * gnu/java/net/protocol/http/HTTPConnection.java (pool): Changed to
  25307. type Pool.
  25308. (Pool): New inner class.
  25309. (timeLastUsed): New field.
  25310. (setPool): Changed parameter type to Pool.
  25311. (release): Moved pool management logic to new class Pool.
  25312. * gnu/java/net/protocol/http/HTTPURLConnection.java (connectionPool):
  25313. Removed.
  25314. (maxConnections) : Removed.
  25315. (GetHTTPPropertiesAction.run): Don't initialize maxConnections.
  25316. (getConnection): Moved pool management logic to HTTPConnection.Pool.
  25317. 2006-02-24 Lillian Angel <langel@redhat.com>
  25318. * java/awt/Container.java:
  25319. Added new field. True if Container has been cleared and
  25320. heavyweights need to be repainted.
  25321. (paint): Fixed comment. Fixed to use backCleared and
  25322. reset backCleared.
  25323. (update): Set backCleared to true after the background
  25324. of the container has been cleared.
  25325. 2006-02-24 Lillian Angel <langel@redhat.com>
  25326. * java/awt/TextField.java
  25327. (addNotify): Added call to super.
  25328. 2006-02-24 Lillian Angel <langel@redhat.com>
  25329. * java/awt/Component.java
  25330. (reshape): Reverted last patch. Should have check here.
  25331. (addNotify): Added check. If parent is lightweight, then
  25332. initialize listener on the parent.
  25333. (HeavyweightInLightweightListener): New class.
  25334. 2006-02-24 Roman Kennke <kennke@aicas.com>
  25335. * javax/swing/plaf/basic/BasicComboPopup.java
  25336. (show): Register the popup with the autocloser after it has been
  25337. opened completely, by putting the registration on the eventqueue.
  25338. 2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
  25339. * gnu/java/security/prng/BasePRNG.java:
  25340. (clone()): Added cast of buffer to byte[].
  25341. * gnu/javax/crypto/mac/TMMH16.java:
  25342. (clone()): Fixed casting of cloned arrays.
  25343. * native/fdlibm/fdlibm.h:
  25344. Added missing defines from old fdlibm.h needed by Darwin.
  25345. (GET_FLOAT_WORD(i,d)): Re-added.
  25346. (SET_FLOAT_WORD(d,i)): Re-added.
  25347. 2006-02-24 Roman Kennke <kennke@aicas.com>
  25348. * java/awt/Container.java:
  25349. (dispatcher): Removed field.
  25350. (dispatchEventImpl): Removed lightweight dispatching.
  25351. (addNotifyContainerChildren): Removed LightweightDispatcher
  25352. handling.
  25353. (LightweightDispatcher): Removed class.
  25354. * java/awt/LightweightDispatcher.java: New class.
  25355. * java/awt/Toolkit.java
  25356. (Toolkit): Install LightweightDispatcher in global listener
  25357. array.
  25358. 2006-02-24 Chris Burdess <dog@gnu.org>
  25359. Fixes PR 26324
  25360. * gnu/java/net/CRLFInputStream.java: Fix incorrect end condition when
  25361. off > 0.
  25362. 2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
  25363. * NEWS: Mentions the VMMath runtime changes.
  25364. * doc/vmintegration.texinfo: Updated to include
  25365. VMMath.
  25366. 2006-02-24 Roman Kennke <kennke@aicas.com>
  25367. * javax/swing/plaf/basic/BasicLookAndFeel.java
  25368. (PopupHelper.autoClosePopups): New field.
  25369. (PopupHelper.mousePressed): Also autoclose any registered popups.
  25370. (PopupHelper.registerForAutoClose): New method.
  25371. (PopupHelper.autoClosePopups): New method.
  25372. (popupHelper): Changed type of field to PopupHelper.
  25373. (registerForAutoClose): New method.
  25374. * javax/swing/plaf/basic/BasicComboPopup.java
  25375. (show): Register this popup for autoclosing.
  25376. 2006-02-24 Raif S. Naffah <raif@swiftdsl.com.au>
  25377. * gnu/javax/crypto/mac/TMMH16.java (clone): New method.
  25378. * gnu/java/security/prng/MDGenerator.java (clone): New method.
  25379. * gnu/java/security/prng/BasePRNG.java (clone): Clone buffer.
  25380. 2006-02-24 Roman Kennke <kennke@aicas.com>
  25381. Reported by Ingo Proetel <proetel@aicas.com>
  25382. * java/util/logging/LogManager.java
  25383. (addLogger): Search the parent loggers for log level
  25384. configuration and inherit that.
  25385. (readConfiguration): Provide minimal default configuration
  25386. if no configuration can be found otherwise.
  25387. 2006-02-23 Anthony Balkissoon <abalkiss@redhat.com>
  25388. * java/math/BigDecimal.java:
  25389. (toString): Fixed a problem where the negative sign was being displayed
  25390. twice in the exponent.
  25391. (toEngineeringString): New method.
  25392. (toPlainString): Likewise.
  25393. (pow): Likewise.
  25394. 2006-02-23 Anthony Balkissoon <abalkiss@redhat.com>
  25395. * java/math/BigDecimal.java:
  25396. (toString): Rewrote this method to behave as specified. Added API
  25397. comments to explain behaviour.
  25398. (scaleByPowerOfTen): New method.
  25399. 2006-02-23 Roman Kennke <kennke@aicas.com>
  25400. * javax/swing/JRootPane.java
  25401. (isOptimizedDrawingEnabled): Implemented to return true
  25402. when the glassPane is not visible.
  25403. 2006-02-23 Roman Kennke <kennke@aicas.com>
  25404. * javax/swing/plaf/basic/BasicLookAndFeel.java
  25405. (PopupHelper): New inner class.
  25406. (popupHelper): New field.
  25407. (initialize): New method.
  25408. (uninitialize): New method.
  25409. * javax/swing/plaf/basic/BasicPopupMenuUI.java
  25410. (mouseInputListener): Removed field.
  25411. (PopupMenuHandler.popupMenuWillBecomeInvisible): Removed
  25412. handling of GlassPane.
  25413. (PopupMenuHandler.popupMenuWillBecomeVisible): Removed
  25414. handling of GlassPane.
  25415. (MouseInputHandler): Removed class.
  25416. 2006-02-23 Roman Kennke <kennke@aicas.com>
  25417. * java/awt/AWTEvent.java
  25418. (eventIdToMask): New utility method.
  25419. * java/awt/EventQueue.java
  25420. (dispatchEvent): Also globally dispatch events via the toolkit.
  25421. (globalDispatchEvent): New method.
  25422. * java/awt/Toolkit.java
  25423. (awtEventListeners): New field.
  25424. (Toolkit()): Initialize new field.
  25425. (createComponent): Create GLightweightPeer here.
  25426. (addAWTEventListener): Implemented and documented.
  25427. (removeAWTEventListener): Implemented and documented.
  25428. (getAWTEventListeners): Implemented and documented both method
  25429. variants.
  25430. * java/awt/event/AWTEventListenerProxy.java
  25431. (eventDispatched): Don't filter events here.
  25432. 2006-02-23 Chris Burdess <dog@gnu.org>
  25433. Fixes PR 26410
  25434. * gnu/xml/dom/DomDocumentBuilderFactory.java,
  25435. gnu/xml/dom/JAXPFactory.java,
  25436. gnu/xml/libxmlj/dom/GnomeDocumentBuilderFactory.java,
  25437. javax/xml/parsers/DocumentBuilderFactory.java: Add and trivially
  25438. implement DocumentBuilderFactory.get/setFeature methods.
  25439. 2006-02-23 Lillian Angel <langel@redhat.com>
  25440. * gnu/java/awt/peer/GLightweightPeer.java
  25441. (repaint): Scott's proposed fix. Send repaint to the
  25442. component's parent.
  25443. * gnu/java/awt/peer/gtk/GtkComponentPeer.java
  25444. (setBounds): Removed next_parent, not needed. Removed
  25445. lightweightChild, we always need to compensate for the
  25446. menu bar's height.
  25447. * java/awt/Component.java
  25448. (setBounds): Removed check. Caused lots of problems, because some
  25449. components were not being invalidated. Components should be
  25450. invalidated when they are resized or moved, and in some cases,
  25451. when a parent is resized/moved, the components do not know
  25452. about it and do not adjust.
  25453. * java/awt/Graphics.java
  25454. (hitClip): Scott's proposed fix. Added check to handle a
  25455. null clip.
  25456. 2006-02-23 Wolfgang Baer <WBaer@gmx.de>
  25457. * javax/print/attribute/standard/MediaSize.java:
  25458. (media): Field renamed to mediaName for serialization.
  25459. (MediaSize): Adapted to new fieldname.
  25460. (getMediaSizeName): Likewise.
  25461. * javax/print/attribute/HashAttributeSet.java:
  25462. (interfaceName): Field renamed to myInterface for serialization.
  25463. (HashAttributeSet): Adapted to the new fieldname.
  25464. (add): Likewise.
  25465. (addAll): Likewise.
  25466. (addInternal): Likewise.
  25467. (attributeMap): Made transient.
  25468. (readObject): New serialization method.
  25469. (writeObject): Likewise.
  25470. * javax/print/attribute/AttributeSetUtilities.java:
  25471. (SynchronizedAttributeSet.set): Field renamed to attrset for serialization.
  25472. (SynchronizedAttributeSet.add): Adapted to the new fieldname.
  25473. (SynchronizedAttributeSet.addAll): Likewise.
  25474. (SynchronizedAttributeSet.clear): Likewise.
  25475. (SynchronizedAttributeSet.containsKey): Likewise.
  25476. (SynchronizedAttributeSet.containsValue): Likewise.
  25477. (SynchronizedAttributeSet.equals): Likewise.
  25478. (SynchronizedAttributeSet.get): Likewise.
  25479. (SynchronizedAttributeSet.hashCode): Likewise.
  25480. (SynchronizedAttributeSet.isEmpty): Likewise.
  25481. (SynchronizedAttributeSet.remove): Likewise.
  25482. (SynchronizedAttributeSet.size): Likewise.
  25483. (SynchronizedAttributeSet.toArray): Likewise.
  25484. (UnmodifiableAttributeSet.set): Field renamed to attrset for serialization.
  25485. (UnmodifiableAttributeSet.add): Adapted to the new fieldname.
  25486. (UnmodifiableAttributeSet.addAll): Likewise.
  25487. (UnmodifiableAttributeSet.clear): Likewise.
  25488. (UnmodifiableAttributeSet.containsKey): Likewise.
  25489. (UnmodifiableAttributeSet.containsValue): Likewise.
  25490. (UnmodifiableAttributeSet.equals): Likewise.
  25491. (UnmodifiableAttributeSet.get): Likewise.
  25492. (UnmodifiableAttributeSet.hashCode): Likewise.
  25493. (UnmodifiableAttributeSet.isEmpty): Likewise.
  25494. (UnmodifiableAttributeSet.remove): Likewise.
  25495. (UnmodifiableAttributeSet.size): Likewise.
  25496. (UnmodifiableAttributeSet.toArray): Likewise.
  25497. * javax/print/attribute/standard/MediaPrintableArea.java:
  25498. (width): Field renamed to w for serialization.
  25499. (height): Field renamed to h for serialization.
  25500. (MediaPrintableArea): Adapted to the new fieldnames.
  25501. (MediaPrintableArea): Likewise.
  25502. (equals): Likewise.
  25503. (hashCode): Likewise.
  25504. (getHeight): Likewise.
  25505. (getWidth): Likewise.
  25506. 2006-02-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
  25507. * include/java_lang_VMMath.h:
  25508. (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Added.
  25509. (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Added.
  25510. (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Added.
  25511. (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)): Added.
  25512. (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Added.
  25513. (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Added.
  25514. (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Added.
  25515. (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Added.
  25516. * java/lang/Math.java:
  25517. (cbrt(double)): Implemented.
  25518. (cosh(double)): Implemented.
  25519. (expm1(double)): Implemented.
  25520. (hypot(double,double)): Implemented.
  25521. (log10(double)): Implemented.
  25522. (log1p(double)): Implemented.
  25523. (signum(double)): Implemented.
  25524. (signum(float)): Implemented.
  25525. (sinh(double)): Implemented.
  25526. (tanh(double)): Implemented.
  25527. * native/fdlibm/Makefile.am:
  25528. Added new files from fdlibm 5.3.
  25529. * native/fdlibm/e_acos.c,
  25530. * native/fdlibm/e_asin.c,
  25531. * native/fdlibm/e_atan2.c,
  25532. * native/fdlibm/e_exp.c,
  25533. * native/fdlibm/e_fmod.c,
  25534. * native/fdlibm/e_log.c,
  25535. * native/fdlibm/e_rem_pio2.c,
  25536. * native/fdlibm/e_remainder.c,
  25537. * native/fdlibm/e_scalb.c,
  25538. * native/fdlibm/e_sqrt.c,
  25539. * native/fdlibm/k_cos.c,
  25540. * native/fdlibm/k_rem_pio2.c,
  25541. * native/fdlibm/k_sin.c,
  25542. * native/fdlibm/k_tan.c,
  25543. * native/fdlibm/s_atan.c,
  25544. * native/fdlibm/s_ceil.c,
  25545. * native/fdlibm/s_copysign.c,
  25546. * native/fdlibm/s_cos.c,
  25547. * native/fdlibm/s_fabs.c,
  25548. * native/fdlibm/s_finite.c,
  25549. * native/fdlibm/s_floor.c,
  25550. * native/fdlibm/s_rint.c,
  25551. * native/fdlibm/s_scalbn.c,
  25552. * native/fdlibm/s_sin.c,
  25553. * native/fdlibm/s_tan.c,
  25554. * native/fdlibm/w_acos.c,
  25555. * native/fdlibm/w_asin.c,
  25556. * native/fdlibm/w_atan2.c,
  25557. * native/fdlibm/w_acos.c,
  25558. * native/fdlibm/w_exp.c,
  25559. * native/fdlibm/w_fmod.c,
  25560. * native/fdlibm/w_log.c,
  25561. * native/fdlibm/w_pow.c,
  25562. * native/fdlibm/w_remainder.c,
  25563. * native/fdlibm/w_sqrt.c:
  25564. Updated to fdlibm 5.3.
  25565. * native/fdlibm/e_cosh.c,
  25566. * native/fdlibm/e_hypot.c,
  25567. * native/fdlibm/e_log10.c,
  25568. * native/fdlibm/e_sinh.c,
  25569. * native/fdlibm/s_cbrt.c,
  25570. * native/fdlibm/s_expm1.c,
  25571. * native/fdlibm/s_log1p.c,
  25572. * native/fdlibm/s_tanh.c,
  25573. * native/fdlibm/w_cosh.c,
  25574. * native/fdlibm/w_hypot.c,
  25575. * native/fdlibm/w_log10.c,
  25576. * native/fdlibm/w_sinh.c:
  25577. Imported from fdlibm 5.3.
  25578. * native/fdlibm/fdlibm.h:
  25579. Imported from fdlibm 5.3 with Classpath additions.
  25580. * native/fdlibm/namespace.h:
  25581. Updated from new math_symbols file.
  25582. * native/jni/java-lang/java_lang_VMMath.c:
  25583. (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Implemented.
  25584. (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Implemented.
  25585. (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Implemented.
  25586. (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)):
  25587. Implemented.
  25588. (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Implemented.
  25589. (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Implemented.
  25590. (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Implemented.
  25591. (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Implemented.
  25592. * scripts/math_symbols:
  25593. Added tanh, expm1, log10 and log1p.
  25594. * vm/reference/java/lang/VMMath.java:
  25595. (cbrt(double)): Implemented.
  25596. (cosh(double)): Implemented.
  25597. (expm1(double)): Implemented.
  25598. (hypot(double,double)): Implemented.
  25599. (log10(double)): Implemented.
  25600. (log1p(double)): Implemented.
  25601. (sinh(double)): Implemented.
  25602. (tanh(double)): Implemented.
  25603. 2006-02-23 Wolfgang Baer <WBaer@gmx.de>
  25604. * javax/print/DocFlavor.java: Added documentation all over.
  25605. (BYTE_ARRAY.TEXT_HTML_HOST): Include host charset encoding to mimetype.
  25606. (BYTE_ARRAY.TEXT_PLAIN_HOST): Likewise.
  25607. (INPUT_STREAM.TEXT_HTML_HOST): Likewise.
  25608. (INPUT_STREAM.TEXT_PLAIN_HOST): Likewise.
  25609. (URL.TEXT_HTML_HOST): Likewise.
  25610. (URL.TEXT_PLAIN_HOST): Likewise.
  25611. (hostEncoding): Initialize with host default charset encoding.
  25612. (mediaSubtype): Made transient.
  25613. (mediaType): Likewise.
  25614. (params): Made transient. Changed type to TreeMap.
  25615. (className): Removed, changed to myClassName.
  25616. (myClassName): New field as defined in serialized form.
  25617. (DocFlavor): Adapted to new variable types, names.
  25618. (parseMimeType): Reimplemented.
  25619. (getParameter): Search with lowercase name.
  25620. (getRepresentationClassName): Adapted to changed variable name.
  25621. (hashCode): Likewise.
  25622. (toString): Reimplemented.
  25623. (readObject): New method for serialization.
  25624. (writeObject): Likewise.
  25625. 2006-02-23 Roman Kennke <kennke@aicas.com>
  25626. * javax/swing/RepaintManager.java
  25627. (commitBuffer): Clip the repaint area with the current clip.
  25628. 2006-02-23 Raif S. Naffah <raif@swiftdsl.com.au>
  25629. * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
  25630. (DEFAULT_PRIME_SIZE): Made public.
  25631. (DEFAULT_EXPONENT_SIZE): Likewise.
  25632. (setup): Handle DHParameterSpec as well.
  25633. * gnu/javax/crypto/key/dh/GnuDHKey.java (getEncoded): Return
  25634. defaultFormat instead of Raw.
  25635. * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java
  25636. (checkIsConstructed): Removed.
  25637. (checkIsBigInteger): Likewise.
  25638. (decodePublicKey): Use DerUtil.
  25639. * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java
  25640. (checkIsConstructed): Removed.
  25641. (checkIsBigInteger): Likewise.
  25642. (decodePrivateKey): Use DerUtil.
  25643. * gnu/javax/crypto/jce/GnuCrypto.java (run): Updated mapping of
  25644. KeyAgreement.DH.
  25645. Added mappings for AlgorithmParameters.DH and
  25646. AlgorithmParameterGenerator.DH.
  25647. * gnu/javax/crypto/jce/DiffieHellmanImpl.java: New file.
  25648. * gnu/javax/crypto/jce/sig/DHParametersGenerator.java: Likewise.
  25649. * gnu/javax/crypto/jce/sig/DHParameters.java: Likewise.
  25650. * gnu/javax/crypto/jce/sig/DHKeyFactory.java (engineGeneratePrivate):
  25651. Return result.
  25652. (engineGeneratePublic): Likewise.
  25653. * gnu/java/security/util/DerUtil.java: New file.
  25654. * gnu/java/security/sig/rsa/RSASignatureFactory.java (getNames):
  25655. Include only valid RSA PKCS1 (v1.5) signature names.
  25656. * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java
  25657. (RSAPKCS1V1_5SignatureX509Codec): Removed.
  25658. (checkIsConstructed): Likewise.
  25659. * gnu/java/security/sig/dss/DSSSignatureX509Codec.java
  25660. (checkIsConstructed): Removed.
  25661. (checkIsBigInteger): Likewise.
  25662. (decodeSignature): Use DerUtil.
  25663. * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
  25664. (checkIsConstructed): Removed.
  25665. (checkIsBigInteger): Likewise.
  25666. (decodePublicKey): Use DerUtil.
  25667. * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
  25668. (checkIsConstructed): Removed.
  25669. (checkIsBigInteger): Likewise.
  25670. (decodePrivateKey): Use DerUtil.
  25671. * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
  25672. (checkIsConstructed): Removed.
  25673. (checkIsBigInteger): Likewise.
  25674. (decodePublicKey): Use DerUtil.
  25675. * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
  25676. (checkIsConstructed): Removed.
  25677. (checkIsBigInteger): Likewise.
  25678. (decodePrivateKey): Use DerUtil.
  25679. * gnu/java/security/key/dss/DSSKeyPairGenerator.java
  25680. (DEFAULT_MODULUS_LENGTH): Made it public.
  25681. * gnu/java/security/key/dss/DSSKey.java (getEncoded): Return
  25682. defaultFormat instead of Raw.
  25683. * gnu/java/security/jce/sig/DSSParametersGenerator.java: New file.
  25684. * gnu/java/security/jce/sig/DSSParameters.java: Likewise..
  25685. * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePrivate):
  25686. Return result.
  25687. (engineGeneratePublic): Likewise.
  25688. * gnu/javax/crypto/DiffieHellmanImpl: Removed.
  25689. 2006-02-22 Anthony Balkissoon <abalkiss@redhat.com>
  25690. * java/math/BigDecimal.java:
  25691. (BigDecimal(char[], int, int, MathContext)): New constructor.
  25692. (BigDecimal(char[], MathContext)): Likewise.
  25693. (BigDecimal(char[])): Likewise.
  25694. (BigDecimal(char[], int, int)): Likewise.
  25695. (BigDecimal(String)): Fixed handling of exponent and scale.
  25696. 2006-02-22 Mark Wielaard <mark@klomp.org>
  25697. * java/awt/Checkbox.java (setState): Check that state actually changed
  25698. before calling peer.
  25699. (dispatchEventImpl): Set new state if ItemEvent.
  25700. * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (changing): Removed.
  25701. (create): Set currentState.
  25702. (setState): Make synchronized, check and set currentState before
  25703. calling gtkToggleButtonSetActive.
  25704. (postItemEvent): Make synchronized, check and set currentState before
  25705. posting ItemEvent.
  25706. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
  25707. (postItemEventID): Method now takes boolean.
  25708. (item_toggled_cb): Likewise.
  25709. 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
  25710. * javax/swing/text/DefaultHighlighter.java:
  25711. (changeHighlight): Added code to minimize the damaged area.
  25712. 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
  25713. * javax/swing/text/PlainView.java:
  25714. (getPreferredSpan): Added missing 'break'.
  25715. statement which corrects an unwanted fall through.
  25716. (updateDamage): Update maxLineLength correctly when text is
  25717. removed, call preferenceChanged accordingly.
  25718. (viewToModel): Restrict line number to be within 0 and the
  25719. number of elements-1.
  25720. 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
  25721. * javax/swing/text/Utilities.java:
  25722. (getPositionAbove): Prefer first value by changing comparison
  25723. from < to <=.
  25724. (getPositionBelow): Dito.
  25725. 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
  25726. * javax/swing/text/DefaultEditorKit.java: Added checks and fallback
  25727. behavior when magic caret position is null.
  25728. 2006-02-22 Roman Kennke <kennke@aicas.com>
  25729. * javax/swing/JTextField.java
  25730. (isValidateRoot): New method.
  25731. 2006-02-22 Roman Kennke <kennke@aicas.com>
  25732. * javax/swing/JEditorPane.java
  25733. (getPreferredSize): Rewritten to behave like the reference impl.
  25734. (getScrollableTracksViewportWidth): Likewise.
  25735. (getScrollableTracksViewportHeight): Likewise.
  25736. 2006-02-22 Roman Kennke <kennke@aicas.com>
  25737. * javax/swing/RepaintManager.java
  25738. (addInvalidComponent): Also consider the component itself.
  25739. 2006-02-22 Mark Wielaard <mark@klomp.org>
  25740. * javax/swing/text/html/HTMLDocument.java (createDefaultRoot): Fully
  25741. qualify AbstractDocument.AttributeContext.
  25742. (blockOpen): Likewise.
  25743. 2006-02-21 Anthony Balkissoon <abalkiss@redhat.com>
  25744. * java/math/BigDecimal.java:
  25745. (mathContext): New field.
  25746. (precision): Likewise.
  25747. (BigDecimal(int)): New constructor.
  25748. (BigDecimal(long)): Likewise.
  25749. (BigDecimal(BigInteger)): Added API docs.
  25750. (BigDecimal(BigInteger, int)): Removed incorrect NumberFormatException
  25751. and added API docs.
  25752. (plus): New method.
  25753. (round): Likewise.
  25754. (precision): Likewise.
  25755. (valueOf): Likewise.
  25756. (numDigitsInLong): New implementation method.
  25757. 2006-02-21 Anthony Balkissoon <abalkiss@redhat.com>
  25758. * java/math/MathContext.java: New class.
  25759. * java/math/RoundingMode: New Enum.
  25760. 2006-02-21 Mark Wielaard <mark@klomp.org>
  25761. * java/awt/Component.java (translateEvent): Translate
  25762. AdjustmentEvents to 1.0 Events.
  25763. * java/awt/Scrollbar.java (dispatchEventImpl): Set valueIsAdjusting.
  25764. Call setValue() before processing event.
  25765. * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java (setValues): Check
  25766. whether we are currently changing and being called back from the
  25767. Scrollbar component.
  25768. (setBarValues): New native method.
  25769. (postAdjustmentEvent): Mark AdjustmentEvent as user generated.
  25770. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
  25771. (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Renamed to
  25772. Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setBarValue
  25773. * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h: Regenerated.
  25774. 2006-02-21 Roman Kennke <kennke@aicas.com>
  25775. * javax/swing/text/View.java
  25776. (setParent): Set child parent to null when disconnecting
  25777. the view from the View hierarchy.
  25778. 2006-02-21 Wolfgang Baer <WBaer@gmx.de>
  25779. * javax/print/StreamPrintService.java: Added and enhanced documentation.
  25780. 2006-02-21 Roman Kennke <kennke@aicas.com>
  25781. * javax/swing/text/WrappedPlainView.java
  25782. (calculateBreakPosition): Changed to use the view's allocation instead
  25783. of the container's preferredSize.
  25784. 2006-02-21 Wolfgang Baer <WBaer@gmx.de>
  25785. * java/awt/CardLayout.java:
  25786. (first): Updated api documentation.
  25787. (last): Likewise.
  25788. (next): Likewise.
  25789. (previous): Likewise.
  25790. (show): Clarified api docs. Return if name is null. Throw
  25791. IllegalArgumentException if layout of container is not this.
  25792. (gotoComponent): Updated api documentation. Throw
  25793. IllegalArgumentException if layout of container is not this.
  25794. 2006-02-21 Roman Kennke <kennke@aicas.com>
  25795. * javax/swing/text/NavigationFilter.java
  25796. (getNextVisualPositionFrom): New method.
  25797. 2006-02-21 Roman Kennke <kennke@aicas.com>
  25798. * javax/swing/plaf/basic/BasicTextUI.java
  25799. (RootView.setView): Call setParent() on the view with this as
  25800. argument instead of null.
  25801. (setView): Don't set root view's parent here.
  25802. 2006-02-21 Roman Kennke <kennke@aicas.com>
  25803. * javax/swing/text/AbstractDocument.java
  25804. (AbstractElement.getAttribute): Use getResolveParent() to fetch
  25805. the resolving parent.
  25806. (AbstractElement.getResolveParent): Fixed to handle possible null
  25807. parent.
  25808. * javax/swing/text/BoxView.java
  25809. (childReqs): New field.
  25810. (paint): Added debugging code (commented out).
  25811. (getPreferredSpan): Rewritten to use new update* methods.
  25812. (getMaximumSpan): Rewritten to return Integer.MAX_VALUE
  25813. for the minor axis and preferredSpan for the major axis.
  25814. (getMinimumSpan): Rewritten to use new update* methods.
  25815. (baselineRequirements): Rewritten to avoid creation of
  25816. unnecessary SizeRequirements objects.
  25817. (baselineLayout): Rewritten to use new update* methods.
  25818. (calculateMajorAxisRequirements): Rewritten to avoid creation of
  25819. unnecessary SizeRequirements objects.
  25820. (calculateMinorAxisRequirements): Rewritten to avoid creation of
  25821. unnecessary SizeRequirements objects.
  25822. (layout): Some robustness fixes for the layout. Turned AssertionErrors
  25823. into warnings.
  25824. (layoutMajorAxis): Rewritten to use new update* methods.
  25825. (layoutMinorAxis): Rewritten to use new update* methods.
  25826. (getChildRequirements): Replaced by the update* methods.
  25827. (getAlignment): Use update* methods.
  25828. (updateChildRequirements): New methods. Updates the child requirements
  25829. if necessary.
  25830. (updateRequirements): New methods. Updates the BoxView requirements
  25831. if necessary.
  25832. * javax/swing/text/DefaultStyledDocument.java
  25833. (ElementBuffer.insert): Added warning for illegal replacement operation.
  25834. * javax/swing/text/FlowView.java
  25835. (layoutRow): When offset doesn't change, return -1.
  25836. (LogicalView): Now subclasses BoxView.
  25837. (loadChildren): Let the CompositeView.setParent() load the children
  25838. of the logicalView.
  25839. (calculateMinorRequirements): New overridden method.
  25840. * javax/swing/text/GlyphView.java
  25841. (DefaultGlyphPainter.paint): Fixed typo.
  25842. (startOffset): Made field private.
  25843. (endOffset): Made field private.
  25844. (paint): Call getStartOffset() and getEndOffset() instead of the
  25845. element methods.
  25846. (isStrikeThrough): Fixed typo.
  25847. (breakView): Use Utilities.getBreakLocation() to determine best
  25848. break location.
  25849. (changedUpdate): Call preferencedChange on this instead of parent.
  25850. (removeUpdate): Call preferencedChange on this instead of parent.
  25851. * javax/swing/text/ParagraphView.java
  25852. (Row.getAlignment): For Y_AXIS, call super.
  25853. (getAlignment): Likewise.
  25854. * javax/swing/text/Utilities.java
  25855. (getBreakLocation): Set Segment object directly on the BreakIterator.
  25856. * javax/swing/text/html/HTML.java
  25857. (Attribute): Made class non-serializable and final as specified.
  25858. (Attribute(String)): Made constructor private.
  25859. (Attribute.compareTo): Removed.
  25860. (Attribute.equals): Removed.
  25861. (Attribute.hashCode): Removed.
  25862. (Tag): Made class non-comparable and non-serializable as specified.
  25863. (Tag.compareTo): Removed.
  25864. (Tag.equals): Removed.
  25865. (Tag.hashCode): Removed.
  25866. * javax/swing/text/html/HTMLDocument.java
  25867. (HTMLReader.blockOpen): Add tag as name attribute to element.
  25868. * javax/swing/text/html/HTMLEditorKit.java
  25869. (HTMLFactory.create): Create NullView for <head> tags, removed unused
  25870. fallback.
  25871. * javax/swing/text/html/InlineView.java
  25872. (setPropertiesFromAttributes): Call super.
  25873. * javax/swing/text/html/NullView.java: New class.
  25874. 2006-02-21 Roman Kennke <kennke@aicas.com>
  25875. PR classpath/26368
  25876. * javax/swing/text/GapContent.java
  25877. (GapContentPosition): Made class private.
  25878. (InsertUndo): Made class private.
  25879. (UndoRemove): Made class private.
  25880. (WeakPositionComparator): New inner class.
  25881. (positions): Made field private.
  25882. (createPosition): Clear up GC'ed positions before creating
  25883. a new one. Store position as WeakReference.
  25884. (getPositionsInRange): Changed to handle WeakReference
  25885. positions.
  25886. (setPositionsInRange): Changed to handle WeakReference
  25887. positions.
  25888. (adjustPositionsInRange): Changed to handle WeakReference
  25889. positions.
  25890. (dumpPositions): Handle WeakReference positions.
  25891. (clearPositionReferences): New method.
  25892. 2006-02-21 Robert Schuster <robertschuster@fsfe.org>
  25893. * javax/swing/plaf/basic/BasicTextUI.java:
  25894. (paint): Remove unneccessary part of the if-expression.
  25895. (damageRange): Added case where the range spans multiple lines.
  25896. * javax/swing/text/DefaultCaret.java:
  25897. (clearHighlight): New method.
  25898. (handleHighlight): Removed unneccessary part of the if-expression.
  25899. (setDot): Use clearHighlight method.
  25900. * javax/swing/text/DefaultHighlighter.java: Use ArrayList instead
  25901. of Vector.
  25902. (paint): Prevented calling size() on every loop iteration, fixed
  25903. calculation of allocation area bounds.
  25904. (getHighlights): Implemented.
  25905. (removeHighlight): Mark damaged area in textcomponent.
  25906. (addHighlight): Mark damaged area in textcomponent.
  25907. (changeHighlight): Mark damaged area in textcomponent.
  25908. (DefaultHighlighter.HighlightEntry): Made it a real
  25909. Highlighter.Highlight implementation.
  25910. (DefaultHighlighter.DefaultHighlightPainter.paint): Fixed
  25911. calculations.
  25912. 2006-02-20 Stuart Ballard <stuart.a.ballard@gmail.com>
  25913. * java/util/zip/ZipConstants.java
  25914. (LOCSIG): Change type to long.
  25915. (EXTSIG): Likewise.
  25916. (CENSIG): Likewise.
  25917. (ENDSIG): Likewise.
  25918. * java/util/zip/ZipOutputStream.java
  25919. (writeLeInt(long)): New method.
  25920. 2006-02-21 Michael Koch <konqueror@gmx.de>
  25921. * gnu/javax/net/ssl/provider/PRNG.java: Removed.
  25922. 2006-02-20 Mark Wielaard <mark@klomp.org>
  25923. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
  25924. (begin_drawing_operation): Output stacktrace and return on bad cairo
  25925. status.
  25926. (end_drawing_operation): Likewise. And reset cairo_t.
  25927. 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
  25928. * javax/swing/text/DefaultEditorKit.java: Fixed comparison
  25929. in backward selection action.
  25930. 2006-02-20 Olivier Jolly <olivier.jolly@pcedev.com>
  25931. * java/lang/reflect/Proxy.java:
  25932. (ProxyData.getProxyData): Skipped overriding of core methods.
  25933. (ProxyData.isCoreObjectMethod): New method.
  25934. 2006-02-20 Mark Wielaard <mark@klomp.org>
  25935. * gnu/java/nio/charset/Provider.java (Provider): Package private.
  25936. 2006-02-20 Roman Kennke <kennke@aicas.com>
  25937. * javax/swing/text/html/Option.java: New class.
  25938. 2006-02-20 Lillian Angel <langel@redhat.com>
  25939. * java/swt/Window.java
  25940. (show): Calling show() on the owned windows caused problems.
  25941. Changed back to get the peer and call setVisible.
  25942. 2006-02-20 Roman Kennke <kennke@aicas.com>
  25943. * javax/swing/plaf/basic/BasicTextUI.java
  25944. (damageRange): Implemented this method.
  25945. 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
  25946. * javax/swing/text/GapContent.java:
  25947. (shiftGapEndUp): Corrected new mark value.
  25948. * javax/swing/text/AbstractDocument.java:
  25949. (remove): Changed order of operations.
  25950. 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
  25951. * javax/swing/text/GapContent.java:
  25952. (shiftGapEndUp): Reverted.
  25953. * javax/swing/text/AbstractDocument.java:
  25954. (remove): Reverted.
  25955. 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
  25956. * javax/swing/text/GapContent.java:
  25957. (shiftGapEndUp): Corrected new mark value.
  25958. * javax/swing/text/AbstractDocument.java:
  25959. (remove): Changed order of operations.
  25960. 2006-02-20 Mark Wielaard <mark@klomp.org>
  25961. * java/awt/Menu.java (add(MenuItem)): Use item.getParent() to get
  25962. parent field.
  25963. (insert): Likewise.
  25964. (addNotify): Add the item after addNotifying it.
  25965. * java/awt/MenuBar.java (setHelpMenu): Only call removeNotify() when
  25966. there is a peer. Use getParent() and setParent() to manipulate parent
  25967. field.
  25968. (add(Menu)): Use getParent() and setParent() to manipulate parent
  25969. field. Call addNotify() and addMenu() when there is a peer.
  25970. (remove(int)): Call removeNotify() and delMenu() when there is a peer.
  25971. (addNotify): Use getPeer()/setPeer(). Call addMenu() and addHelpMenu()
  25972. when there is a peer.
  25973. * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Document.
  25974. (GtkMenuComponentPeer): Document. Take MenuComponent as argument.
  25975. (setFont): Call setFont(Font).
  25976. (setFont(Font)): Document. Only set font when not null.
  25977. * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (create): Document. Made
  25978. protected.
  25979. (connectSignals): Likewise.
  25980. (GtkMenuItemPeer): Document. Don't try to add item. Always call
  25981. connectSignals().
  25982. * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java (create): Make
  25983. protected.
  25984. (postMenuActionEvent): Document.
  25985. * gnu/java/awt/peer/gtk/GtkMenuPeer.java (create): Document. Made
  25986. protected.
  25987. (addItem): Document. Made private.
  25988. (addTearOff): Made private.
  25989. (connectSignals): New protected overridden method.
  25990. (GtkMenuPeer): Correctly cast setupAccelGroup() arguments.
  25991. * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (hasHelpMenu): New field.
  25992. (create): Document.
  25993. (addMenu): Made private, take GtkMenuPeer as argument and document.
  25994. (GtkMenuBarPeer): Document.
  25995. (nativeSetHelpMenu): Removed.
  25996. (addHelpMenu): Implement.
  25997. (delMenu): Document.
  25998. (addMenu): Implement.
  25999. * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java (setParent): Removed.
  26000. * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h: Regenerated.
  26001. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
  26002. (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_nativeSetHelpMenu):
  26003. Removed.
  26004. 2006-02-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  26005. * gnu/java/rmi/server/RMIObjectInputStream.java (resolveProxyClass):
  26006. Expect that proxy interfaces may have different class loaders.
  26007. * gnu/java/rmi/server/UnicastServerRef.java: Rewritten.
  26008. * java/rmi/registry/Registry.java,
  26009. * java/rmi/server/UnicastRemoteObject.java:
  26010. Documented about proxy stubs.
  26011. * gnu/java/rmi/server/CombinedClassLoader.java,
  26012. java/rmi/server/RemoteObjectInvocationHandler.java: New files.
  26013. * NEWS: Added entry.
  26014. 2006-02-19 Mark Wielaard <mark@klomp.org>
  26015. * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): Set
  26016. Parent and Bounds of our children if either or parent is showing, or
  26017. we are a Window and are showing ourselves now.
  26018. 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  26019. * gnu/classpath/tools/rmi/rmic/RmicCompiler.java (convertStubName):
  26020. New method.
  26021. * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav:
  26022. Another stub name fix.
  26023. 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  26024. * gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
  26025. Call convertStubName. (convertStubName): New method.
  26026. * gnu/classpath/tools/rmi/RMIC.java (main): Stub name fix.
  26027. * gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java
  26028. (convertStubName): New method.
  26029. (getMethodHashCode):
  26030. Use existing gnu.java.rmi.server.RMIHashes.getMethodHash.
  26031. * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: Stub name fix.
  26032. 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  26033. * java/rmi/server/UnicastRemoteObject.java: Documenting.
  26034. 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  26035. * gnu/java/rmi/server/UnicastServerRef.java: Reformatted.
  26036. 2006-02-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  26037. * javax/swing/JViewport.java (paintBackingStore): If the component has
  26038. not been scrolled, only repaint the buffer part, indicated by
  26039. the parameter graphics clip.
  26040. 2006-02-19 Raif S. Naffah <raif@swiftdsl.com.au>
  26041. * gnu/javax/crypto/key/OutgoingMessage.java (writePublicKey): Handle new
  26042. internal format.
  26043. (writePrivateKey): Likewise.
  26044. (writeKey): New method.
  26045. (getKeyType): Likewise.
  26046. * gnu/javax/crypto/key/IncomingMessage.java (readPublicKey): Handle new
  26047. internal format.
  26048. (readPrivateKey): Likewise.
  26049. (getKeyPairCodec): New method.
  26050. * gnu/javax/crypto/key/srp6/SRPKey.java (getFormat): Always return Raw.
  26051. * gnu/javax/crypto/key/dh/GnuDHKey.java (getFormat): Use FormatUtil.
  26052. * gnu/java/security/Registry.java (RSA_SIG_PREFIX): New constant.
  26053. (RSA_PSS_ENCODING): Likewise..
  26054. (RSA_PKCS1_V1_5_ENCODING): Likewise.
  26055. (RSA_PSS_SIG): Redefined using other constants.
  26056. (RSA_PKCS1_V1_5_SIG): Likewise.
  26057. (MAGIC_RAW_RSA_PKCS1V1_5_SIGNATURE): New constant.
  26058. * gnu/java/security/util/FormatUtil.java: New file.
  26059. * gnu/java/security/sig/SignatureFactory.java (names): New field.
  26060. (getInstance): Let RSASignatureFactory handle RSA signature names.
  26061. (getNames): Handle new RSA signature (with format) names.
  26062. * gnu/java/security/sig/SignatureCodecFactory.java: New file.
  26063. * gnu/java/security/sig/BaseSignature.java (BaseSignature): Add check
  26064. for null md.
  26065. (name): Include hash algorithm name.
  26066. * gnu/java/security/sig/rsa/RSASignatureFactory.java: New file.
  26067. * gnu/java/security/sig/rsa/RSAPSSSignature.java
  26068. (RSAPSSSignature): Call constructor with IMessageDigest.
  26069. (RSAPSSSignature(ImessageDigest,int)): New constructor.
  26070. * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureRawCodec.java: New
  26071. file.
  26072. * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
  26073. Likewise.
  26074. * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java
  26075. (RSAPKCS1V1_5Signature(String)): Call constructor with IMessageDigest.
  26076. (RSAPKCS1V1_5Signature(IMessageDigest)): New constructor.
  26077. * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java (getInstance): Added
  26078. hash algorithm name to exception.
  26079. * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: New file.
  26080. * gnu/java/security/key/KeyPairCodecFactory.java
  26081. (names): New class field.
  26082. (getInstance(Sitrng)): Deconstruct and call getInstance(String,String).
  26083. (getInstance(String,String)): New method.
  26084. (getInstance(String,int)): New method.
  26085. (getInstance(byte[])): Removed.
  26086. (getInstance(Key)): Handle new formats.
  26087. (getNames): Likewise.
  26088. (getEncodingName(int)): Moved to FormatUtil.
  26089. (getEncodingShortName(int)): Likewise.
  26090. (getRawCodec(String)): New method.
  26091. (getX509Codec(String)): Likewise.
  26092. (getPKCS8Codec(String)): Likewise.
  26093. (getRawCodec(Key)): Likewise.
  26094. (getX509Codec(Key)): Likewise.
  26095. (getPKCS8Codec(Key)): Likewise.
  26096. * gnu/java/security/key/dss/DSSKey.java (getFormat): Use FormatUtil.
  26097. * gnu/java/security/key/rsa/GnuRSAKey.java (getFormat): Likewise.
  26098. * gnu/java/security/jce/sig/SHA512withRSA.java: New File.
  26099. * gnu/java/security/jce/sig/SHA384withRSA.java: Likewise.
  26100. * gnu/java/security/jce/sig/SHA256withRSA.java: Likewise.
  26101. * gnu/java/security/jce/sig/SHA160withRSA.java: Likewise.
  26102. * gnu/java/security/jce/sig/SHA160withDSS.java: Likewsie.
  26103. * gnu/java/security/jce/sig/MD5withRSA.java: Likewise.
  26104. * gnu/java/security/jce/sig/MD2withRSA.java: Likewise.
  26105. 2006-02-18 Mark Wielaard <mark@klomp.org>
  26106. * java/awt/dnd/DragSource.java (getDefaultDragSource): Return new
  26107. DragSource.
  26108. (NoDragGestureRecognizer): New static class.
  26109. (createDragGestureRecognizer): Return NoDragGestureRecognizer when
  26110. Toolkit doesn't support drag and drop.
  26111. 2006-02-18 Mark Wielaard <mark@klomp.org>
  26112. * javax/swing/AbstractAction.java (AbstractAction()): Nothing to do.
  26113. (AbstractAction(String)): Just call putValue() for NAME.
  26114. (putValue): Nothing to do is old and new value are both null.
  26115. 2006-02-18 Mark Wielaard <mark@klomp.org>
  26116. * javax/swing/JRootPane.java (layoutContainer): Get contentPane
  26117. through getContentPane().
  26118. (preferredLayoutSize): Likewise.
  26119. 2006-02-18 Mark Wielaard <mark@klomp.org>
  26120. * javax/swing/JMenuBar.java (paintBorder): Check whether border is
  26121. actually set before painting.
  26122. 2006-02-18 Mark Wielaard <mark@klomp.org>
  26123. * javax/swing/text/html/HTMLDocument.java (addContent):
  26124. Fully qualify AbstractDocument.AttributeContext and
  26125. DefaultStyledDocument.ElementSpec.ContentType for gcj 4.0.
  26126. 2006-02-18 Mark Wielaard <mark@klomp.org>
  26127. * java/awt/datatransfer/DataFlavor.java (tryToLoadClass): Rewritten.
  26128. (getRepresentationClassFromMime): Add exception cause to
  26129. IllegalArgumentException.
  26130. 2006-02-17 Lillian Angel <langel@redhat.com>
  26131. * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
  26132. Removed unneeded import.
  26133. * gnu/java/awt/peer/gtk/GtkFramePeer.java:
  26134. Removed unneeded imports.
  26135. * java/awt/BorderLayout.java:
  26136. Fixed comment, this is not yet handled in the JDK 1.5.
  26137. * java/awt/Container.java:
  26138. Removed unneeded import.
  26139. 2006-02-17 Lillian Angel <langel@redhat.com>
  26140. * gnu/java/awt/peer/gtk/GtkComponentPeer.java
  26141. (setBounds): Removed check. Coordinates should always be changed
  26142. to incorporate the parent's coordinates.
  26143. * gnu/java/awt/peer/gtk/GtkFramePeer.java
  26144. (setMenuBar): Added checks. Don't validate component if it has
  26145. not been validated yet, it will be validated later. Only validate
  26146. if it has already been validated, in that case it needs to be
  26147. revalidated.
  26148. * java/awt/Window.java
  26149. (show): Added check. If the window is visible, then bring it to the
  26150. front. Otherwise, iterate through all its children windows and show them.
  26151. No need to do both.
  26152. 2006-02-17 Roman Kennke <kennke@aicas.com>
  26153. * javax/swing/text/html/ParagraphView.java: New file.
  26154. 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  26155. * javax/swing/JTable.java (getCellRect): return +rowMargin if spacing
  26156. is included. (moveToCellBeingEdited): Adjusted to start editing at the
  26157. same location where was the initial text.
  26158. * javax/swing/plaf/basic/BasicTableUI.java (paint): Rewritten.
  26159. 2006-02-17 Chris Burdess <dog@gnu.org>
  26160. Fixes PRs 26319, 26320, 26321, 26322, 26325
  26161. * gnu/xml/stream/SAXParser.java: On error, reset parser before
  26162. rethrowing exception.
  26163. * gnu/xml/stream/XMLParser.java: Only report "illegal use of
  26164. 1.1-style prefix unbinding in 1.0 document" error for xmlns
  26165. prefixes, not xmlns attributes. Fix a problem with empty namespace
  26166. stack at the end of a document. Permit parameter entity references
  26167. in element and attribute-list definition name area. Corrected
  26168. normalisation of whitespace character entity references in CDATA
  26169. attribute values. Fixed number of characters read following a
  26170. reset when detecting end of character data with characters after a
  26171. Unicode surrogate pair.
  26172. 2006-02-17 Roman Kennke <kennke@aicas.com>
  26173. * javax/swing/text/html/HTMLEditorKit.java
  26174. (HTMLFactory.create): Create InlineView for content tags.
  26175. * javax/swing/text/html/HTMLDocument.java
  26176. (HTMLReader.flush): Call create() on first flush and insert
  26177. on subsequent flushes.
  26178. 2006-02-17 Roman Kennke <kennke@aicas.com>
  26179. * javax/swing/text/AbstractDocument.java
  26180. (BranchElement.getStartOffset): Implemented workaround for wrong
  26181. NPE.
  26182. (BranchElement.getEndOffset): Implemented workaround for wrong
  26183. NPE.
  26184. (ElementBuffer.split): Use createBranchElement() instead of
  26185. new BranchElement().
  26186. (ElementBuffer.insertFracture): Use createBranchElement() instead of
  26187. new BranchElement().
  26188. (ElementBuffer.recreateAfterFracture): Use createBranchElement()
  26189. instead of new BranchElement().
  26190. (createDefaultRoot): Use createBranchElement() and createLeafElement
  26191. instead of the constructors.
  26192. (create): Rewritten.
  26193. 2006-02-17 Keith Seitz <keiths@redhat.com>
  26194. * gnu/classpath/jdwp/id/JdwpId.java (size): Remove.
  26195. (SIZE): New constant.
  26196. * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
  26197. (executeIDsizes): Use SIZE constant.
  26198. * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): Remove.
  26199. (SIZE): New constant.
  26200. 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  26201. * javax/swing/JTable.java (IconCellRenderer): Set the component
  26202. text to empty string. (createDefaultRenderers): Register
  26203. IconCellRenderer also for ImageIcon.
  26204. (getCellEditor(int, int), getCellRenderer(int, int)):
  26205. Use model index for data model and column index for column model.
  26206. (getColumnClass): Convert to model index before requesting class
  26207. from model.
  26208. 2006-02-17 Roman Kennke <kennke@aicas.com>
  26209. * javax/swing/text/html/HTMLDocument.java
  26210. (createDefaultRoot): Implemented.
  26211. (createLeafElement): Implemented.
  26212. (createBranchElement): Implemented.
  26213. (BlockElement.getName): Fixed to handle HTML.Tag objects as name.
  26214. (RunElement.getName): Fixed to handle HTML.Tag objects as name.
  26215. (HTMLReader.ParagraphAction.start): Call blockOpen at the very least.
  26216. (HTMLReader.ParagraphAction.end): Call blockClose at the very least.
  26217. (HTMLReader.blockOpen): Add name attribute with the current tag.
  26218. (HTMLReader.addContent): Add name attribute with HTML.Tag.CONTENT.
  26219. 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  26220. * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
  26221. Rewritten.
  26222. * javax/swing/table/JTableHeader.java: Documenting related methods.
  26223. 2006-02-17 Jeroen Frijters <jeroen@frijters.net>
  26224. Fixes PR 25752
  26225. * gnu/java/net/protocol/ftp/FTPURLConnection.java
  26226. (connect): Changed to use SystemProperties.
  26227. (getInputStream): Try changeWorkingDirectory to figure out if
  26228. url is a directory, if not use retrieve.
  26229. (getOutputStream): Don't worry about directories, simply always
  26230. try to do a store.
  26231. 2006-02-17 Jeroen Frijters <jeroen@frijters.net>
  26232. * gnu/java/net/protocol/ftp/ActiveModeDTP.java
  26233. (ActiveModeDTP): Mark accept thread as daemon.
  26234. 2006-02-17 Michael Koch <konqueror@gmx.de>
  26235. * tools/.cvsignore: Ignore tools.zip.
  26236. 2006-02-16 Keith Seitz <keiths@redhat.com>
  26237. * vm/reference/gnu/classpath/jdwp/VMIdManager.java (newReferenceTypeId):
  26238. Set the ID's reference.
  26239. (<clinit>): Remove comments for field, method, and frame ID types,
  26240. which will not be handled by VMIdManager.
  26241. 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  26242. * javax/swing/JTable.java (getCellEditor, getCellRenderer):
  26243. Use model index, not the column number.
  26244. * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
  26245. Rewritten. (draggingHeaderRect): New field. (paint): Animate column
  26246. movement by painting draggingHeaderRect.
  26247. * NEWS: Added entry about JTable columns.
  26248. 2006-02-16 Keith Seitz <keiths@redhat.com>
  26249. * gnu/classpath/jdwp/id/JdwpId.java (size): Make static. Return
  26250. default size of eight bytes.
  26251. * gnu/classpath/jdwp/id/ObjectId.java (size): Remove.
  26252. * gnu/classpath/jdwp/id/ReferenceTypeId.java (size): Remove.
  26253. * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
  26254. (executeIDsizes): Use new static methods.
  26255. * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): New static
  26256. method.
  26257. 2006-02-16 David Daney <ddaney@avtrex.com>
  26258. PR classpath/26312
  26259. * gnu/java/net/protocol/http/ChunkedInputStream.java (read): Mask
  26260. return value with 0xff.
  26261. 2006-02-16 Keith Seitz <keiths@redhat.com>
  26262. * gnu/classpath/jdwp/event/EventRequest.java (getFilters): New method.
  26263. (matches): Use Iterator instead of ListIterator.
  26264. 2006-02-16 Keith Seitz <keiths@redhat.com>
  26265. * gnu/classpath/jdwp/Jdwp.java (_doInitialization): Name the packet
  26266. processor thread for easier debugging.
  26267. (_enforceSuspendPolicy): Suspend the current thread, not the JDWP
  26268. main thread.
  26269. 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  26270. * javax/swing/JTable.java
  26271. (TableColumnPropertyChangeHandler.propertyChange): Return without
  26272. action if table header resizing column in not null. (doLayout):
  26273. Only repaint the header if it is not null.
  26274. * javax/swing/plaf/basic/BasicTableHeaderUI.java
  26275. (MouseInputHandler.mouseExited, MouseInputHandler.mouseReleased):
  26276. Rewritten. (MouseInputHandler.endResizing): New method.
  26277. 2006-02-16 Roman Kennke <kennke@aicas.com>
  26278. * javax/swing/text/html/InlineView.java: New file.
  26279. 2006-02-16 Roman Kennke <kennke@aicas.com>
  26280. * javax/swing/JTabbedPane.java
  26281. (AccessibleJTable.getAccessibleChild): Implemented to return
  26282. the Page instance for the specified index.
  26283. (Page): Changed to implement Accessible and extend
  26284. AccessibleContext.
  26285. (Page.getAccessibleContext): New method.
  26286. (Page.getAccessibleRole): New method.
  26287. (Page.getAccessibleStateSet): New method.
  26288. (Page.getAccessibleIndexInParent): New method.
  26289. (Page.getAccessibleChildrenCount): New method.
  26290. (Page.getAccessibleChild): New methdod.
  26291. (Page.getLocale): New method.
  26292. 2006-02-16 Roman Kennke <kennke@aicas.com>
  26293. * javax/swing/plaf/basic/BasicTabbedPaneUI.java
  26294. (TabbedPaneLayout.calculateTabRects): Expand tabRuns array when
  26295. tabCount gets greater than tabRuns.length.
  26296. (TabbedPaneScrollLayout.calculateTabRects): Expand tabRuns array
  26297. when tabCount gets greater than tabRuns.length.
  26298. (paintTabArea): Don't set tabCount == runCount.
  26299. 2006-02-16 Roman Kennke <kennke@aicas.com>
  26300. * javax/swing/plaf/basic/BasicTextUI.java
  26301. (installUI): Moved installation of PropertyChangeListener
  26302. to installListeners(). Call modelChanged() after everything is
  26303. is installed.
  26304. (installListeners): Install PropertyChangeListener here.
  26305. (uninstallUI): Moved uninstallation of PropertyChangeListener
  26306. to uninstallListeners.
  26307. (uninstallListeners): Uninstall PropertyChangeListener here.
  26308. 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  26309. * javax/swing/JTable.java (doLayout):
  26310. case AUTO_RESIZE_SUBSEQUENT_COLUMNS rewritten. Repaint the header
  26311. on exit.
  26312. javax/swing/plaf/basic/BasicTableHeaderUI.java
  26313. (MouseInputHandler.mouseDragged): Do not repaint the header.
  26314. 2006-02-16 Roman Kennke <kennke@aicas.com>
  26315. * javax/swing/JViewport.java
  26316. (static_initializer): Set default scrollMode to backingstore.
  26317. 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  26318. * javax/swing/JTable.java (moveToCellBeingEdited): Clone the value,
  26319. returned by getCellRect. To not translate the component.
  26320. 2006-02-16 Roman Kennke <kennke@aicas.com>
  26321. * javax/swing/JComponent.java
  26322. (rectCache): Made field non-static to avoid nasty interferences.
  26323. (computeVisibleRect): Avoid creation of new Rectangles and double
  26324. calculations on ints by using Swing.computeIntersection() instead
  26325. of Rectangle2D.intersect().
  26326. (repaint): Interect the dirty region with the visible rectangle
  26327. of this component to avoid unnecessary painting.
  26328. 2006-02-16 Gary Benson <gbenson@redhat.com>
  26329. * java/lang/Thread.java (stop): Add a missing access check.
  26330. 2006-02-16 Robert Schuster <robertschuster@fsfe.org>
  26331. * javax/swing/text/JTextComponent.java:
  26332. (replaceSelection): Added code to update the magic caret position.
  26333. * javax/swing/text/DefaultEditorKit.java: Added code to update
  26334. the magic caret position of the text component in all relevant
  26335. movement actions, make use of the magic caret position in up
  26336. and down movements and selections, simplified some actions
  26337. (code-wise).
  26338. 2006-02-15 Anthony Balkissoon <abalkiss@redhat.com>
  26339. * gnu/java/lang/CharData.java: Regenerated from
  26340. doc/unicode/UnicodeData-4.0.0.txt, doc/unicode/SpecialCasing-4.0.0.txt
  26341. and scripts/unicode-muncher.pl.
  26342. * java/lang/Character.java:
  26343. (PrivateUseCharacters): New private static class.
  26344. (UnassignedCharacters): Likewise.
  26345. (blocks): Changed from char[] to char[][] to reflect the changes in
  26346. gnu/java/lang/CharData. There is now one char[] per Unicode code
  26347. plane.
  26348. (data): Likewise.
  26349. (numValue): Likewise.
  26350. (upper): Likewise.
  26351. (lower): Likewise.
  26352. (direction): Likewise.
  26353. (readChar): Replaced this method with new method readCodePoint.
  26354. (readCodePoint): New method.
  26355. (isLowerCase(char)): Redirected to new isLowerCase(int).
  26356. (isLowerCase(int)): New method.
  26357. (isUpperCase(char)): Redirected to new isUpperCase(int).
  26358. (isUpperCase(int)): New method.
  26359. (isTitleCase(char)): Redirected to new isTitleCase(int).
  26360. (isTitleCase(int)): New method.
  26361. (isDigit(char)): Redirected to new isDigit(int).
  26362. (isDigit(int)): New method.
  26363. (isDefined(char)): Redirected to new isDefined(int).
  26364. (isDefined(int)): New method.
  26365. (isLetter(char)): Redirected to new isLetter(int).
  26366. (isLetter(int)): New method.
  26367. (isLetterOrDigit(char)): Redirected to new isLetterOrDigit(int).
  26368. (isLetterOrDigit(int)): New method.
  26369. (isJavaIdentifierStart(char)): Redirected to new
  26370. isJavaIdentifierStart(int).
  26371. (isJavaIdentifierStart(int)): New method.
  26372. (isJavaIdentifierPart(char)): Redirected to new
  26373. isJavaIdentifierPart(int).
  26374. (isJavaIdentifierPart(int)): New method.
  26375. (isUnicodeIdentifierStart(char)): Redirected to new
  26376. isUnicodeIdentifierStart(int).
  26377. (isUnicodeIdentifierStart(int)): New method.
  26378. (isUnicodeIdentifierPart(char)): Redirected to new
  26379. isUnicodeIdentifierPart(int).
  26380. (isUnicodeIdentifierPart(int)): New method.
  26381. (isIdentifierIgnorable(char)): Redirected to new
  26382. isIdentifierIgnorable(int).
  26383. (isIdentifierIgnorable(int)): New method.
  26384. (toLowerCase(char)): Changed access to lower to correspond with new
  26385. char[][] type of lower.
  26386. (toLowerCase(int)) New method.
  26387. (toUpperCase(char)): Changed access to upper to correspond with new
  26388. char[][] type of upper.
  26389. (toUpperCase(int)): New method.
  26390. (toTitleCase(int)): New method.
  26391. (digit(char, int)): Replaced call to readChar with call to
  26392. readCodePoint and changed access to numValue to reflect new char[][]
  26393. type of numValue.
  26394. (digit(int, int)): New method.
  26395. (getNumericValue(char)): Changed access to numValue to reflect new
  26396. char[][] type of numValue.
  26397. (getNumericValue(int)): New method.
  26398. (isSpaceChar(char)): Redirected to new isSpaceChar(int).
  26399. (isSpaceChar(int)): New method.
  26400. (isWhitespace(char)): Redirected to new isWhitespace(int).
  26401. (isWhitespace(int)): New method.
  26402. (isISOControl(char)): Redirected to new isISOControl(int).
  26403. (isISOControl(int)): New method.
  26404. (getType(char)): Redirected to new getType(int).
  26405. (getType(int)): New method.
  26406. (getDirectionality(char)): Redirected to new getDirectionality(int).
  26407. (getDirectionality(int)): New method.
  26408. (isMirrored(char)): Changed call to readChar to readCodePoint.
  26409. (isMirrored(int)): New method.
  26410. * java/lang/String.java:
  26411. (upperCaseExpansion): Changed access to Character.direction to reflect
  26412. new char[][] type of direction.
  26413. (offsetByCodePoints): New method.
  26414. * scripts/unicode-muncher.pl: Adapted this script to handle Unicode
  26415. 4.0.0 which introduced supplementary character assignments.
  26416. 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  26417. * javax/swing/JTable.java,
  26418. javax/swing/plaf/basic/BasicTableHeaderUI.java,
  26419. javax/swing/table/DefaultTableModel.java: Documented.
  26420. 2006-02-15 Lillian Angel <langel@redhat.com>
  26421. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
  26422. Removed duplicate methods.
  26423. 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  26424. * javax/swing/JTable.java (distributeSpillResizing): New method.
  26425. (doLayout): Use distributeSpillResizing when resizing.
  26426. * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
  26427. Rewritten. (installListeners): Add mouse motion listener.
  26428. (uninstallListeners): Remove mouse motion listener.
  26429. 2006-02-15 Lillian Angel <langel@redhat.com>
  26430. * gnu/java/awt/peer/gtk/GtkDialogPeer.java
  26431. (setVisible): Removed method.
  26432. * gnu/java/awt/peer/gtk/GtkWindowPeer.java
  26433. (setLocation): New method.
  26434. (setLocationUnlocked): New method.
  26435. (show): Changed to use setLocation instead of setBounds.
  26436. * java/awt/Component.java
  26437. (show): Should call peer.show(), not peer.setVisible(), so the
  26438. location of the component is correctly set.
  26439. (preferredSize): Added curly braces so else statements are
  26440. properly associated with if's.
  26441. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
  26442. (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetLocation):
  26443. New function.
  26444. (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSet
  26445. LocationUnlocked): New function.
  26446. * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
  26447. Added declarations for Java_gnu_java_awt_peer_gtk_
  26448. GtkWindowPeer_nativeSetLocation and
  26449. Java_gnu_java_awt_peer_gtk_GtkWindowPeer
  26450. _nativeSetLocationUnlocked.
  26451. 2006-02-15 Mark Wielaard <mark@klomp.org>
  26452. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
  26453. (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
  26454. Downcast gtk_plug_new result when used.
  26455. 2006-02-15 Olivier Jolly <olivier.jolly@pcedev.com>
  26456. * java/io/ObjectOutputStream.java (writeClassDescriptor):
  26457. Call assignNewHandle() after writing Proxy class.
  26458. 2006-02-15 Olivier jolly <olivier.jolly@pcedev.com>
  26459. Fixes bug #14144
  26460. * java/io/ObjectInputStream.java (readClassDescriptor):
  26461. Class doesn't have to be abstract for first_nonserial.
  26462. 2006-02-15 Roman Kennke <kennke@aicas.com>
  26463. * javax/swing/JInternalFrame.java
  26464. (setClosed): Call dispose to actually make the frame invisible
  26465. and unselected.
  26466. 2006-02-15 Roman Kennke <kennke@aicas.com>
  26467. * javax/swing/JInternalFrame.java
  26468. (dispose): Call setVisible(false) instead of hide.
  26469. (doDefaultCloseOperation): Likewise.
  26470. 2006-02-15 Roman Kennke <kennke@aicas.com>
  26471. * javax/swing/JComponent.java
  26472. (paintChildren): Also check for the visibility of a child component
  26473. to avoid artifacts.
  26474. (repaint): Simply add this component to the RepaintManager rather than
  26475. trying to do useless optimization here.
  26476. 2006-02-15 David Gilbert <david.gilbert@object-refinery.com>
  26477. * javax/swing/JSpinner.java
  26478. (DefaultEditor.DefaultEditor(JSpinner)): Add self to text field as a
  26479. PropertyChangeListener,
  26480. (DefaultEditor.getSpinner): Updated API docs,
  26481. (DefaultEditor.dismiss): Likewise,
  26482. (DefaultEditor.getTextField): Likewise,
  26483. (DefaultEditor.layoutContainer): Likewise,
  26484. (DefaultEditor.minimumLayoutSize): Likewise,
  26485. (DefaultEditor.preferredLayoutSize): Likewise,
  26486. (DefaultEditor.propertyChange): Implemented,
  26487. (DefaultEditor.stateChanged): Implemented,
  26488. (DefaultEditor.removeLayoutComponent): Updated API docs,
  26489. (DefaultEditor.addLayoutComponent): Likewise,
  26490. (NumberEditor.NumberEditor(JSpinner)): Set formatter for text field,
  26491. (NumberEditor.NumberEditor(JSpinner, String)): Likewise,
  26492. (NumberEditor.getFormat): Implemented,
  26493. (NumberEditor.getModel): Updated API docs,
  26494. (NumberEditorFormatter): New static inner class,
  26495. (ListEditor.getModel): Updated API docs,
  26496. (DateEditor.dateFormat): Removed,
  26497. (DateEditor.DateEditor(JSpinner)): Set formatter for text field,
  26498. (DateEditor.DateEditor(JSpinner, String)): Likewise,
  26499. (DateEditor.init): Removed,
  26500. (DateEditor.getFormat): Reimplemented,
  26501. (DateEditorFormatter): New static inner class,
  26502. (ModelListener): New inner class,
  26503. (model): Updated API docs,
  26504. (editor): Likewise,
  26505. (listener): Removed,
  26506. (JSpinner()): Updated API docs,
  26507. (JSpinner(SpinnerModel)): Set up ModelListener,
  26508. (setEditor): Fire property change,
  26509. (getModel): Updated API docs,
  26510. (setModel): Removed check for null editor,
  26511. (setValue): Updated API docs,
  26512. (getUIClassID): Updated API docs,
  26513. (createEditor): Handle SpinnerListModel case,
  26514. * javax/swing/plaf/basic/BasicSpinnerUI.java
  26515. (createUI): Updated API docs,
  26516. (createPropertyChangeListener): Added FIXME,
  26517. (installDefaults): Set text field border to null,
  26518. (DefaultLayoutManager): Updated API docs,
  26519. (DefaultLayoutManager.layoutContainer): Modified layout,
  26520. (DefaultLayoutManager.minimumLayoutSize): Ignore button heights,
  26521. (DefaultLayoutManager.preferredLayoutSize): Likewise,
  26522. (DefaultLayoutManager.removeLayoutComponent): Removed tabs,
  26523. (DefaultLayoutManager.addLayoutComponent): Likewise,
  26524. (DefaultLayoutManager.minSize): Renamed prefSize,
  26525. (DefaultLayoutManager.setBounds): Reformatted,
  26526. (DefaultLayoutManager.editor): Added API docs,
  26527. (DefaultLayoutManager.next): Likewise,
  26528. (DefaultLayoutManager.previous): Likewise,
  26529. * javax/swing/plaf/metal/MetalLookAndFeel.java
  26530. (initComponentDefaults): Added entry for 'Spinner.border',
  26531. * examples/gnu/classpath/examples/swing/SpinnerDemo.java: New file.
  26532. 2006-02-15 Chris Burdess <dog@gnu.org>
  26533. * gnu/xml/validation/datatype/BooleanType.java,
  26534. gnu/xml/validation/datatype/ByteType.java,
  26535. gnu/xml/validation/datatype/DateTimeType.java,
  26536. gnu/xml/validation/datatype/DateType.java,
  26537. gnu/xml/validation/datatype/DecimalType.java,
  26538. gnu/xml/validation/datatype/DoubleType.java,
  26539. gnu/xml/validation/datatype/DurationType.java,
  26540. gnu/xml/validation/datatype/FloatType.java,
  26541. gnu/xml/validation/datatype/GDayType.java,
  26542. gnu/xml/validation/datatype/GMonthDayType.java,
  26543. gnu/xml/validation/datatype/GMonthType.java,
  26544. gnu/xml/validation/datatype/GYearMonthType.java,
  26545. gnu/xml/validation/datatype/GYearType.java,
  26546. gnu/xml/validation/datatype/IntType.java,
  26547. gnu/xml/validation/datatype/IntegerType.java,
  26548. gnu/xml/validation/datatype/LongType.java,
  26549. gnu/xml/validation/datatype/MaxExclusiveFacet.java,
  26550. gnu/xml/validation/datatype/MaxInclusiveFacet.java,
  26551. gnu/xml/validation/datatype/MinExclusiveFacet.java,
  26552. gnu/xml/validation/datatype/MinInclusiveFacet.java,
  26553. gnu/xml/validation/datatype/NegativeIntegerType.java,
  26554. gnu/xml/validation/datatype/NonNegativeIntegerType.java,
  26555. gnu/xml/validation/datatype/NonPositiveIntegerType.java,
  26556. gnu/xml/validation/datatype/PositiveIntegerType.java,
  26557. gnu/xml/validation/datatype/ShortType.java,
  26558. gnu/xml/validation/datatype/SimpleType.java,
  26559. gnu/xml/validation/datatype/TimeType.java,
  26560. gnu/xml/validation/datatype/TypeBuilder.java,
  26561. gnu/xml/validation/datatype/UnsignedByteType.java,
  26562. gnu/xml/validation/datatype/UnsignedIntType.java,
  26563. gnu/xml/validation/datatype/UnsignedLongType.java,
  26564. gnu/xml/validation/datatype/UnsignedShortType.java: Provide value
  26565. objects for datatypes. Make maxExclusive,minExclusive,maxInclusive,
  26566. minInclusive facets use the value space of the base type, and
  26567. implement.
  26568. 2006-02-15 Mark Wielaard <mark@klomp.org>
  26569. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
  26570. (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
  26571. gtk_plug_new() returns a GtkWindow.
  26572. 2006-02-15 David Gilbert <david.gilbert@object-refinery.com>
  26573. * javax/swing/SpinnerNumberModel.java
  26574. (getNextValue): Check for null maximum,
  26575. (getPreviousValue): Check for null minimum.
  26576. 2006-02-15 Roman Kennke <kennke@aicas.com>
  26577. * javax/swing/plaf/basic/BasicTableUI.java
  26578. (paint): Paint vertical and horizontal lines one pixel shifted
  26579. left/top.
  26580. 2006-02-15 Jeroen Frijters <jeroen@frijters.net>
  26581. * java/util/zip/ZipFile.java
  26582. (checkZipFile): Inlined readLeInt and rewritten for robustness.
  26583. (readLeShort(DataInput,byte[]), readLeInt(DataInput,byte[],
  26584. readLeShort(byte[],int), readLeInt(byte[],int)): Removed.
  26585. (readEntries): Rewritten to use PartialInputStream.
  26586. (locBuf, checkLocalHeader): Removed.
  26587. (getInputStream): Rewritten to use new PartialInputStream.
  26588. (PartialInputStream): Rewritten to do buffering.
  26589. 2006-02-15 Michael Koch <konqueror@gmx.de>
  26590. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
  26591. (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
  26592. Make sure the embedded window gets no decorations.
  26593. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
  26594. (window_get_frame_extents): Return early of the window has no
  26595. decorations.
  26596. 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  26597. * examples/gnu/classpath/examples/swing/TableDemo.java
  26598. (TModel, createContent): Explain which value appears in the header.
  26599. * javax/swing/JTable.java (setColumnModel): Only set the
  26600. column header value if the getHeaderValue() returns null.
  26601. 2006-02-14 Mark Wielaard <mark@klomp.org>
  26602. Fixes bug #23931
  26603. * gnu/java/awt/peer/gtk/GtkImage.java (errorImage): New static field.
  26604. (getErrorImage): New static method.
  26605. * gnu/java/awt/peer/gtk/GtkToolkit.java (GtkErrorImage): Removed.
  26606. (bufferedImageOrError): Renamed to ...
  26607. (imageOrError): Renamed from bufferedImageOrError, takes Image.
  26608. Returns GtkImage.getErrorImage() when argument null.
  26609. (createImage(String)): Always use imageOrError.
  26610. (createImage(URL)): Likewise.
  26611. (createImage(ImageProducer)): Likewise.
  26612. (createImage(byte[],int,int)): Likewise.
  26613. 2006-02-14 Roman Kennke <kennke@aicas.com>
  26614. * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Removed
  26615. unneeded imports.
  26616. * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
  26617. * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
  26618. * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise.
  26619. * javax/swing/plaf/basic/BasicSplitPaneDivider.java: Likewise.
  26620. * javax/swing/plaf/basic/BasicHTML.java: Fixed API comment.
  26621. 2006-02-14 Roman Kennke <kennke@aicas.com>
  26622. * javax/swing/text/AsyncBoxView.java
  26623. (ChildState.locator): Removed wrong field.
  26624. (ChildState): Removed initialization of removed field.
  26625. (locator): Changed access modifier to be protected as specified.
  26626. 2006-02-14 Roman Kennke <kennke@aicas.com>
  26627. * javax/swing/ToolTipManager.java: Removed unneeded imports.
  26628. * javax/swing/Timer.java: Some small reindention.
  26629. (task): Made package private to avoid synthetic accessor method.
  26630. 2006-02-14 Roman Kennke <kennke@aicas.com>
  26631. * javax/swing/SwingUtilities.java
  26632. (layoutCompoundLabel): Dont set textIconGap to 0 when there is
  26633. no icon.
  26634. 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  26635. * examples/gnu/classpath/examples/swing/TableDemo.java:
  26636. Making the columns variable width.
  26637. * javax/swing/JTable.java (distributeSpill, doLayout):
  26638. Call getPreferredSize and not getSize().
  26639. 2006-02-14 Roman Kennke <kennke@aicas.com>
  26640. * javax/swing/DefaultCellEditor.java
  26641. (DefaultCellEditor): API doc fixlet.
  26642. 2006-02-14 Roman Kennke <kennke@aicas.com>
  26643. * javax/swing/JViewport.java
  26644. (isPaintRoot): New field.
  26645. (repaint): Only call super here. Also added a comment regarding
  26646. the diversion from the JDK.
  26647. (paintBlit): Implemented real blitting.
  26648. (paintImmediately2): New method. Overrides the same package private
  26649. method in JComponent.
  26650. 2006-02-14 Roman Kennke <kennke@aicas.com>
  26651. * javax/swing/plaf/basic/BasicTableUI.java
  26652. (paint): Check for boundary cases when determining the painting
  26653. area.
  26654. 2006-02-14 Mark Wielaard <mark@klomp.org>
  26655. * java/awt/Menu.java (add): Always set parent of item to this. Call
  26656. addNotify() on item when we have a MenuPeer already.
  26657. (insert): Always adjust parent for item. Call addNotify() on item if
  26658. we already have a peer.
  26659. (remove(int)): Always clear item parent. Call removeNotify() on item
  26660. if we had a peer.
  26661. 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  26662. * javax/swing/JTable.java (rowAtPoint): Return -1 if the computed
  26663. row == getRowCount().
  26664. 2006-02-14 Lillian Angel <langel@redhat.com>
  26665. * gnu/java/awt/peer/gtk/GtkDialogPeer.java
  26666. (setVisible): New method to override super. Need to set the
  26667. native bounds of the component, so it appears at the
  26668. correct location.
  26669. 2006-02-14 Mark Wielaard <mark@klomp.org>
  26670. * java/awt/Frame.java (setMenuBar): Update MenuBar parent.
  26671. (remove): If menu component is the current MenuBar remove it,
  26672. otherwise call super.remove().
  26673. * java/awt/MenuBar.java (frame): Remove field.
  26674. * java/awt/MenuComponent.java (postEvent): Use getParent() always.
  26675. 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  26676. * tools/gnu/classpath/tools/giop/NameServicePersistent.java: Refer
  26677. to NameServicePersistent.
  26678. * tools/gnu/classpath/tools/giop/NameServicePersistent.txt: New file.
  26679. * tools/gnu/classpath/tools/giop/NamingServicePersistent.txt: Deleted.
  26680. 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  26681. * NEWS: Updated tool status.
  26682. * gnu/CORBA/NamingService/NamingMap.java (Map): Made protected.
  26683. (constructor, bind, rebind): Rewritten.
  26684. * gnu/CORBA/NamingService/TransientContext.java: Rewritten.
  26685. * tools/gnu/classpath/tools/giop/README: Updated.
  26686. * tools/gnu/classpath/tools/giop/NameServicePersistent.java,
  26687. tools/gnu/classpath/tools/giop/NamingServicePersistent.txt,
  26688. tools/gnu/classpath/tools/giop/nameservice/PersistentContext.java,
  26689. tools/gnu/classpath/tools/giop/nameservice/PersistentContextMap.java,
  26690. tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:
  26691. New files.
  26692. 2006-02-14 David Gilbert <david.gilbert@object-refinery.com>
  26693. * javax/swing/JComponent.java
  26694. (getListeners): Check for PropertyChangeListener.class and delegate to
  26695. getPropertyChangeListeners() for that case.
  26696. 2006-02-13 Roman Kennke <kennke@aicas.com>
  26697. * javax/swing/plaf/basic/BasicTableUI.java
  26698. (paint): Determine the cells that need painting based on the
  26699. current clip. Use getCellRect() for calculating the cell
  26700. bounds.
  26701. 2006-02-13 Roman Kennke <kennke@aicas.com>
  26702. * javax/swing/JTable.java
  26703. (rectCache): New field.
  26704. (getCellRect): Returns cached Rectangle instance.
  26705. 2006-02-13 Roman Kennke <kennke@aicas.com>
  26706. * javax/swing/JLayeredPane.java
  26707. (removeAll): New method. Avoid potential memory leak.
  26708. (isOptimizedDrawingEnabled): Replaced heuristic with accurate
  26709. calculation.
  26710. 2006-02-14 Stuart Ballard <stuart.a.ballard@gmail.com>
  26711. * javax/swing/undo/StateEdit.java (RCSID): Match Sun's value.
  26712. * javax/swing/undo/StateEditable.java (RCSID): Likewise.
  26713. 2006-02-13 Tom Tromey <tromey@redhat.com>
  26714. * vm/reference/java/lang/reflect/Method.java: Javadoc fix.
  26715. * vm/reference/java/lang/reflect/Constructor.java: Javadoc fix.
  26716. 2006-02-13 Roman Kennke <kennke@aicas.com>
  26717. * javax/swing/RepaintManager.java
  26718. (offscreenBuffers): New field.
  26719. (doubleBuffer): Removed field.
  26720. (repaintUnderway): New field.
  26721. (commitRequests): New field.
  26722. (RepaintManager): Initialize new fields.
  26723. (paintDirtyRegions): Handle repaintUnderway flag. Commit
  26724. buffers when done.
  26725. (getOffscreenBuffer): Returns the offscreen buffer for the
  26726. corresponding root component.
  26727. (commitBuffer): New method.
  26728. (commitRemainingBuffers): New method.
  26729. * javax/swing/JComponent.java
  26730. (paint): Call paintDoubleBuffered with the current clip.
  26731. (paintImmediately2): Don't paint on screen here.
  26732. (paintDoubleBuffered): Rewritten for real double buffering.
  26733. (paintSimple): Draw to screen in this method.
  26734. 2006-02-13 Roman Kennke <kennke@aicas.com>
  26735. * javax/swing/JRootPane.java
  26736. (JRootPane): Set opaque property to true.
  26737. 2006-02-13 Tom Tromey <tromey@redhat.com>
  26738. * .classpath: Updated for external/relaxngDatatype.
  26739. 2006-02-13 Chris Burdess <dog@gnu.org>
  26740. * gnu/xml/stream/UnicodeReader.java,
  26741. gnu/xml/validation/datatype/Annotation.java,
  26742. gnu/xml/validation/datatype/AnySimpleType.java,
  26743. gnu/xml/validation/datatype/AnyType.java,
  26744. gnu/xml/validation/datatype/AnyURIType.java,
  26745. gnu/xml/validation/datatype/AtomicSimpleType.java,
  26746. gnu/xml/validation/datatype/Base64BinaryType.java,
  26747. gnu/xml/validation/datatype/BooleanType.java,
  26748. gnu/xml/validation/datatype/ByteType.java,
  26749. gnu/xml/validation/datatype/DateTimeType.java,
  26750. gnu/xml/validation/datatype/DateType.java,
  26751. gnu/xml/validation/datatype/DecimalType.java,
  26752. gnu/xml/validation/datatype/DoubleType.java,
  26753. gnu/xml/validation/datatype/DurationType.java,
  26754. gnu/xml/validation/datatype/EntitiesType.java,
  26755. gnu/xml/validation/datatype/EntityType.java,
  26756. gnu/xml/validation/datatype/EnumerationFacet.java,
  26757. gnu/xml/validation/datatype/Facet.java,
  26758. gnu/xml/validation/datatype/FloatType.java,
  26759. gnu/xml/validation/datatype/FractionDigitsFacet.java,
  26760. gnu/xml/validation/datatype/GDayType.java,
  26761. gnu/xml/validation/datatype/GMonthDayType.java,
  26762. gnu/xml/validation/datatype/GMonthType.java,
  26763. gnu/xml/validation/datatype/GYearMonthType.java,
  26764. gnu/xml/validation/datatype/GYearType.java,
  26765. gnu/xml/validation/datatype/HexBinaryType.java,
  26766. gnu/xml/validation/datatype/IDRefType.java,
  26767. gnu/xml/validation/datatype/IDRefsType.java,
  26768. gnu/xml/validation/datatype/IDType.java,
  26769. gnu/xml/validation/datatype/IntType.java,
  26770. gnu/xml/validation/datatype/IntegerType.java,
  26771. gnu/xml/validation/datatype/LanguageType.java,
  26772. gnu/xml/validation/datatype/LengthFacet.java,
  26773. gnu/xml/validation/datatype/ListSimpleType.java,
  26774. gnu/xml/validation/datatype/LongType.java,
  26775. gnu/xml/validation/datatype/MaxExclusiveFacet.java,
  26776. gnu/xml/validation/datatype/MaxInclusiveFacet.java,
  26777. gnu/xml/validation/datatype/MaxLengthFacet.java,
  26778. gnu/xml/validation/datatype/MinExclusiveFacet.java,
  26779. gnu/xml/validation/datatype/MinInclusiveFacet.java,
  26780. gnu/xml/validation/datatype/MinLengthFacet.java,
  26781. gnu/xml/validation/datatype/NCNameType.java,
  26782. gnu/xml/validation/datatype/NMTokenType.java,
  26783. gnu/xml/validation/datatype/NMTokensType.java,
  26784. gnu/xml/validation/datatype/NameType.java,
  26785. gnu/xml/validation/datatype/NegativeIntegerType.java,
  26786. gnu/xml/validation/datatype/NonNegativeIntegerType.java,
  26787. gnu/xml/validation/datatype/NonPositiveIntegerType.java,
  26788. gnu/xml/validation/datatype/NormalizedStringType.java,
  26789. gnu/xml/validation/datatype/NotationType.java,
  26790. gnu/xml/validation/datatype/PatternFacet.java,
  26791. gnu/xml/validation/datatype/PositiveIntegerType.java,
  26792. gnu/xml/validation/datatype/QNameType.java,
  26793. gnu/xml/validation/datatype/ShortType.java,
  26794. gnu/xml/validation/datatype/SimpleType.java,
  26795. gnu/xml/validation/datatype/StringType.java,
  26796. gnu/xml/validation/datatype/TimeType.java,
  26797. gnu/xml/validation/datatype/TokenType.java,
  26798. gnu/xml/validation/datatype/TotalDigitsFacet.java,
  26799. gnu/xml/validation/datatype/Type.java,
  26800. gnu/xml/validation/datatype/TypeBuilder.java,
  26801. gnu/xml/validation/datatype/TypeLibrary.java,
  26802. gnu/xml/validation/datatype/TypeLibraryFactory.java,
  26803. gnu/xml/validation/datatype/UnionSimpleType.java,
  26804. gnu/xml/validation/datatype/UnsignedByteType.java,
  26805. gnu/xml/validation/datatype/UnsignedIntType.java,
  26806. gnu/xml/validation/datatype/UnsignedLongType.java,
  26807. gnu/xml/validation/datatype/UnsignedShortType.java,
  26808. gnu/xml/validation/datatype/WhiteSpaceFacet.java,
  26809. resource/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory:
  26810. RELAX NG datatype library implementation for XML Schema Datatypes.
  26811. 2006-02-13 Chris Burdess <dog@gnu.org>
  26812. * LICENCE,
  26813. NEWS,
  26814. configure.ac,
  26815. doc/README.jaxp,
  26816. external/Makefile.am,
  26817. external/relaxngDatatype/.cvsignore,
  26818. external/relaxngDatatype/Makefile.am,
  26819. external/relaxngDatatype/README.txt,
  26820. external/relaxngDatatype/copying.txt,
  26821. external/relaxngDatatype/org/relaxng/datatype/Datatype.java,
  26822. external/relaxngDatatype/org/relaxng/datatype/DatatypeBuilder.java,
  26823. external/relaxngDatatype/org/relaxng/datatype/DatatypeException.java,
  26824. external/relaxngDatatype/org/relaxng/datatype/DatatypeLibrary.java,
  26825. external/relaxngDatatype/org/relaxng/datatype/DatatypeLibraryFactory.java,
  26826. external/relaxngDatatype/org/relaxng/datatype/DatatypeStreamingValidator.java,
  26827. external/relaxngDatatype/org/relaxng/datatype/ValidationContext.java,
  26828. external/relaxngDatatype/org/relaxng/datatype/helpers/DatatypeLibraryLoader.java,
  26829. external/relaxngDatatype/org/relaxng/datatype/helpers/ParameterlessDatatypeBuilder.java,
  26830. external/relaxngDatatype/org/relaxng/datatype/helpers/StreamingValidatorImpl.java,
  26831. lib/Makefile.am,
  26832. lib/gen-classlist.sh.in: Added external RELAX NG pluggable
  26833. datatypes library API.
  26834. 2006-02-13 Mark Wielaard <mark@klomp.org>
  26835. * gnu/java/awt/peer/gtk/GtkGenericPeer.java (awtWidget): Made field
  26836. final.
  26837. (gtkWidgetModifyFont(Font)): New protected helper method.
  26838. (gtkWidgetModifyFont(String,int,int)): Made protected and document.
  26839. * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetModifyFont): Made
  26840. protected and document.
  26841. * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (gtkWidgetModifyFont):
  26842. Likewise.
  26843. * gnu/java/awt/peer/gtk/GtkLabelPeer.java (gtkWidgetModifyFont):
  26844. Likewise.
  26845. * gnu/java/awt/peer/gtk/GtkListPeer.java (gtkWidgetModifyFont):
  26846. Likewise.
  26847. * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (create): Made protected.
  26848. (setFont): Removed method. Done in GtkMenuComponent.
  26849. * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Made
  26850. abstract and protected.
  26851. (setFont): Made private, add implementation.
  26852. (setFont(Font)): Implemented.
  26853. * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (gtkWidgetModifyFont):
  26854. Made protected and document.
  26855. (create): Made protected.
  26856. (setFont): Removed method. Done in GtkMenuComponent.
  26857. * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
  26858. (gtkWidgetModifyFont): Made protected and document.
  26859. * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkWidgetModifyFont):
  26860. Removed, similar to GtkGenericPeer super class implementation.
  26861. * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h: Regenerated.
  26862. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
  26863. (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_gtkWidgetModifyFont):
  26864. Removed.
  26865. 2006-02-13 Mark Wielaard <mark@klomp.org>
  26866. * java/lang/Math.java (static): Explicitly call
  26867. System.loadLibrary("javalang").
  26868. 2006-02-13 Wolfgang Baer <WBaer@gmx.de>
  26869. * javax/print/StreamPrintServiceFactory.java: New file.
  26870. 2006-02-13 Tom Tromey <tromey@redhat.com>
  26871. * tools/.cvsignore: Added Makefile.
  26872. 2006-02-13 Wolfgang Baer <WBaer@gmx.de>
  26873. * java/awt/print/PrinterGraphics.java: Reformatted.
  26874. * java/awt/print/Paper.java: Likewise.
  26875. * java/awt/print/PageFormat.java: Likewise.
  26876. * java/awt/print/Pageable.java: Likewise.
  26877. 2006-02-13 Lillian Angel <langel@redhat.com>
  26878. * java/awt/BorderLayout.java
  26879. (layoutContainer): Rewrote part of this function to
  26880. properly set the bounds of the components.
  26881. (setBounds): Removed method, not needed.
  26882. 2006-02-13 Roman Kennke <kennke@aicas.com>
  26883. * javax/swing/text/DefaultStyledDocument.java
  26884. (ElementBuffer.clone): Fixed replace call.
  26885. (clone): Removed method.
  26886. 2006-02-13 Roman Kennke <kennke@aicas.com>
  26887. * java/rmi/server/UnicastRemoteObject.java: Reformatted.
  26888. 2006-02-13 Roman Kennke <kennke@aicas.com>
  26889. * java/rmi/server/UnicastRemoteObject.java
  26890. (exportObject(Remote)): Forward method call to export(Remote,int).
  26891. 2006-02-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
  26892. * include/Makefile.am:
  26893. Swapped Math.h for VMMath.h
  26894. * include/java_lang_Math.h:
  26895. Removed.
  26896. * include/java_lang_VMMath.h:
  26897. New autogenerated header for the new class.
  26898. * java/lang/Math.java:
  26899. (sin(double)): Changed to link to VMMath.
  26900. (cos(double)): Changed to link to VMMath.
  26901. (tan(double)): Changed to link to VMMath.
  26902. (asin(double)): Changed to link to VMMath.
  26903. (acos(double)): Changed to link to VMMath.
  26904. (atan(double)): Changed to link to VMMath.
  26905. (atan2(double)): Changed to link to VMMath.
  26906. (exp(double)): Changed to link to VMMath.
  26907. (log(double)): Changed to link to VMMath.
  26908. (sqrt(double)): Changed to link to VMMath.
  26909. (pow(double,double)): Changed to link to VMMath.
  26910. (IEEEremainder(double,double)): Changed to link to VMMath.
  26911. (ceil(double)): Changed to link to VMMath.
  26912. (floor(double)): Changed to link to VMMath.
  26913. (rint(double)): Changed to link to VMMath.
  26914. * native/jni/java-lang/Makefile.am:
  26915. Replaced java_lang_Math.c with java_lang_VMMath.c
  26916. * native/jni/java-lang/java_lang_Math.c:
  26917. Removed.
  26918. * native/jni/java-lang/java_lang_VMMath.c:
  26919. Renamed from java_lang_Math.c.
  26920. * vm/reference/java/lang/VMMath.java:
  26921. New class.
  26922. (sin(double)): New native method.
  26923. (cos(double)): New native method.
  26924. (tan(double)): New native method.
  26925. (asin(double)): New native method.
  26926. (acos(double)): New native method.
  26927. (atan(double)): New native method.
  26928. (atan2(double)): New native method.
  26929. (exp(double)): New native method.
  26930. (log(double)): New native method.
  26931. (sqrt(double)): New native method.
  26932. (pow(double,double)): New native method.
  26933. (IEEEremainder(double,double)): New native method.
  26934. (ceil(double)): New native method.
  26935. (floor(double)): New native method.
  26936. (rint(double)): New native method.
  26937. 2006-02-13 Lillian Angel <langel@redhat.com>
  26938. * java/awt/Component.java
  26939. (repaint): No need to call isShowing, it is done in the other repaint call.
  26940. (repaint): Likewise.
  26941. (repaint): Likewise.
  26942. 2006-02-13 Lillian Angel <langel@redhat.com>
  26943. * java/awt/Component.java
  26944. (repaint): Reverted last change.
  26945. (repaint): Likewise.
  26946. (repaint): Likewise.
  26947. 2006-02-13 Lillian Angel <langel@redhat.com>
  26948. * gnu/java/awt/peer/gtk/GtkPanelPeer.java
  26949. (handleEvent): Made more efficent by handling paint event and
  26950. setting the clip for the graphics.
  26951. * gnu/java/awt/peer/gtk/GtkWindowPeer.java
  26952. (handleEvent): Likewise.
  26953. * java/awt/Component.java
  26954. (repaint): No need to call isShowing, it is done in the other repaint call.
  26955. (repaint): Likewise.
  26956. (repaint): Likewise.
  26957. 2006-02-13 Roman Kennke <kennke@aicas.com>
  26958. * javax/swing/text/AbstractDocument.java
  26959. (setParent): Added API docs. Call setParent(null) on children before
  26960. disconnecting this view from the View hierarchy.
  26961. 2006-02-13 Roman Kennke <kennke@aicas.com>
  26962. * javax/swing/text/AbstractDocument.java
  26963. (readUnlock): Don't attempt to unlock when the current threads also
  26964. holds a write lock.
  26965. 2006-02-13 David Gilbert <david.gilbert@object-refinery.com>
  26966. * javax/swing/plaf/metal/MetalBorders.java
  26967. (ButtonBorder.getBorderInsets(Component)): Return insets directly,
  26968. (ButtonBorder.getBorderInsets(Component, Insets)): Don't check for null
  26969. insets argument,
  26970. (Flush3DBorder.borderInsets): New field,
  26971. (Flush3DBorder.getBorderInsets(Component)): Return insets directly,
  26972. (Flush3DBorder.getBorderInsets(Component, Insets)): Don't check for
  26973. null insets argument, and populate result from borderInsets,
  26974. (PaletteBorder.borderInsets): New field,
  26975. (PaletteBorder.getBorderInsets(Component)): Return insets directly,
  26976. (PaletteBorder.getBorderInsets(Component, Insets)): Don't check for
  26977. null insets argument, and populate result from borderInsets,
  26978. (InternalFrameBorder.borderInsets): New field,
  26979. (InternalFrameBorder.getBorderInsets(Component)): Return insets
  26980. directly,
  26981. (InternalFrameBorder.getBorderInsets(Component, Insets)): Don't check
  26982. for null insets argument, and populate result from borderInsets,
  26983. (MenuItemBorder.borderInsets): Initialise to correct value.
  26984. 2006-02-13 Roman Kennke <kennke@aicas.com>
  26985. * javax/swing/text/AsyncBoxView.java: New file.
  26986. 2006-02-13 Ito Kazumitsu <kaz@maczuka.gcd.org>
  26987. Fixes bug #26166
  26988. * gnu/regexp/RE.java(initialize): Parsing of character class expression
  26989. was moved to a new method parseCharClass.
  26990. (parseCharClass): New method originally in initialize. Added parsing
  26991. of nested character classes.
  26992. (ParseCharClassResult): New inner class used as a return value of
  26993. parseCharClass.
  26994. (getCharExpression),(getNamedProperty): Made static.
  26995. * gnu/regexp/RESyntax.java(RE_NESTED_CHARCLASS): New syntax flag.
  26996. * gnu/regexp/RETokenOneOf.java(addition): New Vector for storing
  26997. nested character classes.
  26998. (RETokenOneOf): New constructor accepting the Vector addition.
  26999. (getMinimumLength), (getMaximumLength): Returns 1 if the token
  27000. stands for only one character.
  27001. (match): Added the processing of the Vector addition.
  27002. (matchN), (matchP): Do not check next token if addition is used.
  27003. 2006-02-12 Olivier Jolly <olivier.jolly@pcedev.com>
  27004. * AUTHORS: add self.
  27005. 2006-02-12 Tom Tromey <tromey@redhat.com>
  27006. * gnu/classpath/ServiceProviderLoadingAction.java: Javadoc fix.
  27007. * gnu/classpath/ServiceFactory.java (ServiceIterator): Javadoc fix.
  27008. (securityContext): Likewise.
  27009. (log): Likewise.
  27010. 2006-02-12 Dalibor Topic <robilad@kaffe.org>
  27011. Fixes PR 26218.
  27012. * gnu/java/net/protocol/file/Connection.java (unquote):
  27013. Convert Unicode characters outside basic plane to UTF-8,
  27014. rather than throwing an exception.
  27015. 2006-02-12 Tom Tromey <tromey@redhat.com>
  27016. * javax/sound/sampled/LineEvent.java (readObject): New method.
  27017. (writeObject): Likewise.
  27018. (serialVersionUID): New field.
  27019. 2006-02-12 Mark Wielaard <mark@klomp.org>
  27020. * java/beans/PropertyChangeSupport.java (addPropertyChangeListener):
  27021. Silently ignores null listener.
  27022. (addPropertyChangeListener(String, PropertyChangeListener): Likewise.
  27023. (getPropertyChangeListeners): Returns empty PropertyChangeListener
  27024. array for null propertyName.
  27025. 2006-02-12 Wolfgang Baer <WBaer@gmx.de>
  27026. * java/rmi/MarshalledObject.java: Added api docs to the class.
  27027. * java/rmi/Remote.java: Added interface api docs.
  27028. * java/rmi/package.html: Added package description.
  27029. * java/rmi/AccessException.java: Minor api doc fixes.
  27030. * java/rmi/NoSuchObjectException.java: Likewise.
  27031. * java/rmi/AlreadyBoundException.java: Likewise.
  27032. * java/rmi/RemoteException.java: Likewise.
  27033. * java/rmi/NotBoundException.java: Likewise.
  27034. * java/rmi/RMISecurityException.java: Likewise.
  27035. * java/rmi/StubNotFoundException.java: Likewise.
  27036. 2006-02-12 Mark Wielaard <mark@klomp.org>
  27037. * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent): Call
  27038. q() to get EventQueue.
  27039. * gnu/java/awt/peer/gtk/GtkGenericPeer.java (q): Remove static field.
  27040. (enableQueue): Remove static method.
  27041. * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemEventQueueImpl):
  27042. Don't call GtkGenericPeer.enableQueue().
  27043. 2006-02-12 Wolfgang Baer <WBaer@gmx.de>
  27044. * java/rmi/MarshalledObject.java: Reformatted.
  27045. * java/rmi/Naming.java: Likewise.
  27046. 2006-02-12 Jeroen Frijters <jeroen@frijters.net>
  27047. * java/io/InputStream.java
  27048. (read(byte[],int,int)): Changed argument validation to prevent
  27049. integer overflow. Remove redundant check.
  27050. 2006-02-12 Jeroen Frijters <jeroen@frijters.net>
  27051. Fixes PR 26220
  27052. * java/io/InputStreamReader.java
  27053. (InputStreamReader(InputStream)): Use SystemProperties.
  27054. (InputStreamReader(InputStream,Charset)): Corrected @since tag.
  27055. Throw NullPointerException if in is null.
  27056. Added maxBytesPerChar initialisation.
  27057. (InputStreamReader(InputStream,CharsetDecoder)): Corrected @since tag.
  27058. Throw NullPointerException if in is null.
  27059. 2006-02-12 Raif S. Naffah <raif@swiftdsl.com.au>
  27060. * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
  27061. (GnuDHPublicKey(4)): Call constructor with 5 arguments.
  27062. (GnuDHPublicKey): New constructor.
  27063. (getEncoded): Removed.
  27064. (valueOf): Added support for ASN.1 encoding.
  27065. (getEncoded(int)): Likewise.
  27066. (equals): New method.
  27067. * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
  27068. (GnuDHPrivateKey(4)): Call constructor with 5 arguments.
  27069. (GnuDHPrivateKey(5)): New constructor.
  27070. (getEncoded): Removed.
  27071. (valueOf): Added support for ASN.1 encoding.
  27072. (getEncoded(int)): Likewise.
  27073. (equals): New method.
  27074. * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
  27075. (PREFERRED_ENCODING_FORMAT): New constant.
  27076. (DEFAULT_ENCODING_FORMAT): Likewise.
  27077. (preferredFormat): New field.
  27078. (setup): Handle preferred encoding format identifier.
  27079. (generate): Call constructors with format identifier.
  27080. * gnu/javax/crypto/key/dh/GnuDHKey.java (defaultFormat): New field.
  27081. (GnuDHKey): Added an int argument.
  27082. (getEncoded): New method.
  27083. (getFormat): New implementation.
  27084. (getEncoded(int)): New abstract method.
  27085. * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java: New file.
  27086. * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java: Likewise.
  27087. * gnu/javax/crypto/jce/GnuCrypto.java (run): Added mappings for DH
  27088. key-pair generator and key-factory.
  27089. * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: New file.
  27090. * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
  27091. * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Made it public.
  27092. * gnu/java/security/jce/sig/EncodedKeyFactory.java
  27093. (invokeConstructor): New method.
  27094. (getConcreteClass): Likewise.
  27095. (getConcreteCtor): Likewise.
  27096. (invokeValueOf): Likewise.
  27097. (getValueOfMethod): Likewise.
  27098. (engineGeneratePublic): Add support for DH keys.
  27099. (engineGeneratePrivate): Likewise.
  27100. (decodeDHPublicKey(DHPublicKeySpec)): New method.
  27101. (decodeDHPublicKey(byte[])): Likewise.
  27102. (decodeDHPrivateKey(DHPrivateKeySpec)): Likewise.
  27103. (decodeDHPrivateKey(byte[])): Likewise.
  27104. 2006-02-11 Mark Wielaard <mark@klomp.org>
  27105. * gnu/java/awt/peer/gtk/GtkComponentPeer.java (repaintTimer):
  27106. Removed field.
  27107. (repaint): Immediately post to queue when tm <= 0, otherwise call
  27108. RepaintTimerTask.schedule().
  27109. (RepaintTimerTask): Make static.
  27110. (RepaintTimerTask.repaintTimer): New static final field.
  27111. (RepaintTimerTask.awtComponent): New field.
  27112. (schedule): New static method.
  27113. 2006-02-11 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  27114. * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
  27115. * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java
  27116. * tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
  27117. tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
  27118. tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav:
  27119. Rewritten.
  27120. * tools/gnu/classpath/tools/giop/grmic/HashFinder.java: New file.
  27121. 2006-02-11 Raif S. Naffah <raif@swiftdsl.com.au>
  27122. * gnu/java/security/jce/sig/EncodedKeyFactory.java
  27123. (engineGeneratePublic): Added support for raw key-specifications.
  27124. (engineGeneratePrivate): Likewise.
  27125. (decodeDSSPublicKey): New method.
  27126. (decodeRSAPublicKey): Likewise.
  27127. (decodeDSSPrivateKey): Likewise.
  27128. (decodeRSAPrivateKey): Likewise.
  27129. * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
  27130. (encodePrivateKey): Throw InvalidParameterException.
  27131. (decodePublicKey): Likewise.
  27132. (decodePrivateKey): Likewise.
  27133. * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
  27134. (encodePublicKey): Likewise.
  27135. (encodePrivateKey): Likewise.
  27136. (decodePublicKey): Likewise.
  27137. * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
  27138. (encodePrivateKey): Likewise.
  27139. (decodePublicKey): Likewise.
  27140. (decodePrivateKey): Likewise.
  27141. * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
  27142. (encodePublicKey): Likewise.
  27143. (encodePrivateKey): Likewise.
  27144. (decodePublicKey): Likewise.
  27145. 2006-02-10 Roman Kennke <kennke@aicas.com>
  27146. * javax/swing/text/StyleContext.java
  27147. (registerStaticAttributeKey): New static method.
  27148. 2006-02-10 Roman Kennke <kennke@aicas.com>
  27149. * javax/swing/text/DefaultStyledDocument.java
  27150. (ElementBuffer.clone): New method.
  27151. 2006-02-10 Roman Kennke <kennke@aicas.com>
  27152. * javax/swing/text/ParagraphView.java
  27153. (findOffsetToCharactersInString): New method.
  27154. (getClosestPositionTo): New method.
  27155. (getPartialSize): New method.
  27156. (getTabBase): New method.
  27157. (adjustRow): New method.
  27158. (breakView): New method.
  27159. (getBreakWeight): New method.
  27160. 2006-02-10 Roman Kennke <kennke@aicas.com>
  27161. * javax/swing/text/GapContent.java
  27162. (updateUndoPositions): New method.
  27163. * javax/swing/text/StringContent.java
  27164. (updateUndoPositions): New method.
  27165. 2006-02-10 Raif S. Naffah <raif@swiftdsl.com.au>
  27166. * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(9)):
  27167. Made it public.
  27168. * gnu/java/security/jce/sig/RSAKeyFactory.java: New file.
  27169. * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePublic):
  27170. Added support for encoded key specifications.
  27171. (engineGeneratePrivate): Likewise.
  27172. (engineGetKeySpec): Likewise.
  27173. (engineTranslateKey): Corrected order of MPIs and use ctors with 5 args.
  27174. 2006-02-10 Robert Schuster <robertschuster@fsfe.org>
  27175. * javax/swing/text/Utilities.java:
  27176. (getTabbedTextOffset): Fixed usage of variable p0.
  27177. (getPositionAbove): Rewritten.
  27178. (getPositionBelow): Rewritten.
  27179. 2006-02-09 Roman Kennke <kennke@aicas.com>
  27180. * javax/swing/text/BoxView.java
  27181. (getAxis): Added @since tag.
  27182. (setAxis): Added @since tag.
  27183. (layoutChanged): Added @since tag.
  27184. (isLayoutValid): Added @since tag.
  27185. (paint): Don't call setSize here. This is done in RootView already.
  27186. (getMaximumSpan): Reimplemented to return the requirements'
  27187. maximum size. Added API docs.
  27188. (getMinimumSpan): New method.
  27189. (layout): Fixed layout order.
  27190. (modelToView): Call layout instead of setSize here.
  27191. (getResizeWeight): New method.
  27192. (getChildAllocation): New method.
  27193. (forwardUpdate): New method.
  27194. (viewToModel): New method.
  27195. (flipEastEndWestEnds): New method.
  27196. * javax/swing/text/CompositeView.java
  27197. (modelToView): Made this method more robust by returning a default
  27198. location if it's not possible to calculate one via the children.
  27199. This default location returns the left or right edge of this
  27200. view.
  27201. (createDefaultLocation): New helper method.
  27202. * javax/swing/text/IconView.java
  27203. (modelToView): Don't throw BadLocationException. This should
  27204. really only be thrown if the position is outside the document
  27205. model, not if it's outside the view's boundary.
  27206. 2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  27207. * tools/Makefile.am: Handle rmi and giop folders separately.
  27208. 2006-02-09 David Gilbert <david.gilbert@object-refinery.com>
  27209. * javax/swing/SpinnerDateModel.java: Updated API docs all over,
  27210. * javax/swing/SpinnerNumberModel.java: Likewise.
  27211. 2006-02-09 David Gilbert <david.gilbert@object-refinery.com>
  27212. * javax/swing/SpinnerDateModel.java: Removed tabs,
  27213. * javax/swing/SpinnerNumberModel.java: Likewise.
  27214. 2006-02-09 Anthony Balkissoon <abalkiss@redhat.com>
  27215. * doc/unicode/SpecialCasing-4.0.0.txt: New file.
  27216. * doc/unicode/UnicodeData-4.0.0.txt: New file.
  27217. 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
  27218. Fixes bug #26081
  27219. * gnu/java/net/protocol/http/HTTPURLConnection.java:
  27220. (isRedirect): Removed, moved to Response.java.
  27221. (connect): If error condition redirect responseSink to errorSink.
  27222. (getInputStream): If error condition throw IOException, for the error
  27223. codes 404 and 410 throw a FileNotFoundException.
  27224. * gnu/java/net/protocol/http/Response.java (isError): New method.
  27225. (isRedirect): New method, moved from HTTPURLConnection.java.
  27226. 2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  27227. * tools/Makefile.am: Add tools/gnu/classpath/tools/rmi folder.
  27228. * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain it called from RMIC.
  27229. * tools/gnu/classpath/tools/giop/grmic/Generator.java (getResource):
  27230. Better diagnostic.
  27231. * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java:
  27232. Rewritten.
  27233. * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java: Implement
  27234. AbstractMethodGenerator.
  27235. * tools/gnu/classpath/tools/AbstractMethodGenerator.java,
  27236. tools/gnu/classpath/tools/rmi/RMIC.java,
  27237. tools/gnu/classpath/tools/rmi/RMIC.txt,
  27238. tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
  27239. tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
  27240. tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java,
  27241. tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav,
  27242. tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav,
  27243. tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
  27244. New files.
  27245. * NEWS: Corrected entry about the tools.
  27246. 2006-02-09 Lillian Angel <langel@redhat.com>
  27247. * gnu/java/awt/peer/gtk/GtkComponentPeer.java
  27248. (handleEvent): Added more to check to prevent assertion errors.
  27249. * gnu/java/awt/peer/gtk/GtkPanelPeer.java
  27250. (handleEvent): Likewise.
  27251. * gnu/java/awt/peer/gtk/GtkWindowPeer.java
  27252. (handleEvent): Likewise.
  27253. 2006-02-09 Mark Wielaard <mark@klomp.org>
  27254. * javax/swing/JTable.java (tableChanged): Interpret null event as
  27255. "everything changed".
  27256. 2006-02-09 Roman Kennke <kennke@aicas.com>
  27257. * javax/swing/text/DefaultCaret.java
  27258. (DocumentHandler.removeUpdate): When update policy is
  27259. 'on eventqueue', and the update doesn't come from the
  27260. event queue, check if the current dot location is still
  27261. valid.
  27262. (moveDot): Make sure the new dot location is valid.
  27263. (setDot): Set the mark the same as the dot.
  27264. 2006-02-09 Roman Kennke <kennke@aicas.com>
  27265. * javax/swing/text/AbstractDocument.java
  27266. (remove): Perform all operations within a write lock and in the
  27267. correct order.
  27268. 2006-02-09 Mark Wielaard <mark@klomp.org>
  27269. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
  27270. (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Make sure max is
  27271. creater than min, adjusting page_size if necessary.
  27272. (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Likewise.
  27273. 2006-02-09 Lillian Angel <langel@redhat.com>
  27274. * gnu/java/awt/peer/gtk/GtkPanelPeer.java
  27275. (handleEvent): Added code to handle PaintEvent.UPDATE.
  27276. Sun does not call update(Graphics g) on Panels.
  27277. * gnu/java/awt/peer/gtk/GtkWindowPeer.java
  27278. (handleEvent): New method. Added code to handle PaintEvent.UPDATE.
  27279. Sun does not call update(Graphics g) on Panels.
  27280. 2006-02-09 Roman Kennke <kennke@aicas.com>
  27281. * javax/swing/text/BoxView.java
  27282. (myAxis): Made field private.
  27283. (xLayoutValid): Replaced by layoutValid array.
  27284. (yLayoutValid): Replaced by layoutValid array.
  27285. (layoutValid): New field.
  27286. (spansX): Replaced by spans array.
  27287. (spansY): Replaced by spans array.
  27288. (spans): New field.
  27289. (offsetsX): Replaced by offsets array.
  27290. (offsetsY): Replaced by offsets array.
  27291. (offsets): New field.
  27292. (requirements): New field.
  27293. (BoxView): Initialize new fields.
  27294. (layoutChanged): Rewritten to use the layoutValid array.
  27295. (isLayoutValid): Rewritten to use the layoutValid array.
  27296. (replace): Use the new arrays.
  27297. (getPreferredSpan): Rewritten to call calculateXXXRequirements
  27298. instead of baselineRequirements.
  27299. (baselineRequirements): Rewritten to calculate baseline requirements.
  27300. (baselineLayout): Rewritten to calculate baseline layout.
  27301. (childAllocation): Use new arrays.
  27302. (layout): Rewritten. Only update the layout if necessary.
  27303. (layoutMajorAxis): Directly set layoutValid.
  27304. (layoutMinorAxis): Directly set layoutValid. Use cached size
  27305. requirements.
  27306. (getWidth): Use new span array.
  27307. (getHeight): Likewise.
  27308. (setSize): Rewritten to simply call layout().
  27309. (validateLayout): Removed unneeded method.
  27310. (getSpan): Use new arrays.
  27311. (getOffset): Use new arrays.
  27312. (getAlignment): Use cached requirements if possible.
  27313. (preferenceChanged): Use new arrays.
  27314. * javax/swing/text/FlowView.java
  27315. (FlowStrategy.insertUpdate): Do nothing here.
  27316. (FlowStrategy.removeUpdate): Do nothing here.
  27317. (FlowStrategy.changedUpdate): Do nothing here.
  27318. (FlowStrategy.layoutRow): Rewritten.
  27319. (FlowStrategy.createView): Rewritten.
  27320. (FlowStrategy.adjustRow): New method.
  27321. (LogicalView.getViewIndex): Fixed condition for finding child
  27322. view.
  27323. (layoutDirty): New field indicating the state of the layout.
  27324. (FlowView): Initialize new field.
  27325. (loadChildren): Set parent on logical view so that preferenceChanges
  27326. get propagated upwards.
  27327. (layout): Rewritten to match the specs.
  27328. (insertUpdate): Set layout to dirty.
  27329. (removeUpdate): Set layout to dirty.
  27330. (changedUpdate): Set layout to dirty.
  27331. * javax/swing/text/GlyphView.java
  27332. (getBreakWeight): Rewritten to use the Utilities class. Commented
  27333. out though because that is broken.
  27334. (insertUpdate): Call preferenceChanged on this object instead of
  27335. parent.
  27336. * javax/swing/text/ParagraphView.java
  27337. (Row.loadChildren): Overridden to be a noop to prevent initial
  27338. creation of child views. This is carried out by the flow layout.
  27339. * javax/swing/text/View.java
  27340. (getPreferredSpan): Added API docs.
  27341. (getResizeWeight): Added API docs.
  27342. (getMaximumSpan): Added API docs. Rewritten to only have one exit
  27343. point.
  27344. (getMinimumSpan): Added API docs. Rewritten to return 0 when
  27345. resizable instead of Integer.MAX_VALUE.
  27346. (getAlignment): Added API docs.
  27347. (replace): Added API docs.
  27348. (forwardUpdate): Rewritten to only notify child views that need to
  27349. be notified.
  27350. 2006-02-09 Roman Kennke <kennke@aicas.com>
  27351. * javax/swing/plaf/basic/BasicTextUI.java
  27352. (RootView.paint): Call setSize() before painting the view.
  27353. 2006-02-09 Ito Kazumitsu <kaz@maczuka.gcd.org>
  27354. Fixes bug #26112
  27355. * gnu/regexp/RE.java(REG_REPLACE_USE_BACKSLASHESCAPE): New execution
  27356. flag which enables backslash escape in a replacement.
  27357. (getReplacement): New public static method.
  27358. (substituteImpl),(substituteAllImpl): Use getReplacement.
  27359. * gnu/regexp/REMatch.java(substituteInto): Replace $n even if n>=10.
  27360. * java/util/regex/Matcher.java(appendReplacement)
  27361. Use RE#getReplacement.
  27362. (replaceFirst),(replaceAll): Use RE.REG_REPLACE_USE_BACKSLASHESCAPE.
  27363. 2006-02-09 Raif S. Naffah <raif@swiftdsl.com.au>
  27364. * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: New file.
  27365. * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
  27366. * gnu/java/security/key/rsa/RSAKeyPairGenerator.java
  27367. (PREFERRED_ENCODING_FORMAT): New constant.
  27368. (DEFAULT_ENCODING_FORMAT): Likewise.
  27369. (preferredFormat): New field.
  27370. (setup): Add support for preferred encoding format.
  27371. (generate): Call key constructors with explicit format identifier.
  27372. * gnu/java/security/key/rsa/GnuRSAPublicKey.java (GnuRSAPublicKey(2)):
  27373. Call constructor with 3 arguments..
  27374. (GnuRSAPublicKey(3)): New constructor.
  27375. (valueOf): Added support for ASN.1 format.
  27376. (getEncoded): Likewise.
  27377. * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(4)):
  27378. Call constructor with 5 arguments.
  27379. (GnuRSAPrivateKey(5)): New constructor.
  27380. (GnuRSAPrivateKey(9)): New constructor.
  27381. (valueOf): Added support for ASN.1 format.
  27382. (getEncoded): Likewise.
  27383. * gnu/java/security/key/rsa/GnuRSAKey.java (defaultFormat): New field.
  27384. (GnuRSAKey): Modified constructor.
  27385. (getFormat): Return preferred format identifier.
  27386. * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
  27387. (decodePrivateKey): Fixed documentation.
  27388. Check Version field.
  27389. * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java
  27390. (initialize(int,SecureRandom)): Set ASN.1 as the preferred encoding
  27391. format.
  27392. (initialize(AlgorithmParameterSpec,SecureRandom)): Likewise.
  27393. * gnu/java/security/jce/sig/EncodedKeyFactory.java
  27394. (engineGeneratePublic): Added support for RSA.
  27395. (engineGeneratePrivate): Likewise.
  27396. 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
  27397. * java/net/URLConnection.java:
  27398. (setAllowUserInteraction): Throw IllegalStateException if connected.
  27399. (getRequestProperty): Document return value if key is null.
  27400. * gnu/java/net/protocol/http/HTTPURLConnection.java:
  27401. (getRequestProperty): Return null if key is null.
  27402. (getRequestProperties): Throw IllegalStateException if connected.
  27403. (setRequestProperty): Call super method for exception tests.
  27404. (addRequestProperty): Likewise.
  27405. 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
  27406. * gnu/java/net/protocol/http/Request.java:
  27407. (Request): Remove initialization of removed field.
  27408. (requestBodyNegotiationThreshold): Removed now unused field.
  27409. (setRequestBodyNegotiationThreshold): Remove now unused method.
  27410. (dispatch): Do not use 'Expect 100-continue' header if content-length
  27411. is over a treshold. If user specified 'Expect 100-continue' still
  27412. initialize the expectingContinue variable.
  27413. 2006-02-08 David Gilbert <david.gilbert@object-refinery.com>
  27414. * javax/swing/SpinnerNumberModel.java
  27415. (SpinnerNumberModel(Number, Comparable, Comparable, Number): Allow
  27416. maximum and minimum to take null values,
  27417. (setValue): Only fire ChangeEvent if new value is different to old
  27418. value,
  27419. (setMinimum): Fixed test for updating value,
  27420. (setMaximum): Likewise,
  27421. (setStepSize): Likewise.
  27422. 2006-02-08 Tom Tromey <tromey@redhat.com>
  27423. * tools/.cvsignore: Added Makefile.in.
  27424. 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  27425. * java/rmi/server/RemoteRef.java,
  27426. java/rmi/server/RemoteStub.java: Commented.
  27427. 2006-02-08 David Gilbert <david.gilbert@object-refinery.com>
  27428. * javax/swing/SpinnerDateModel.java
  27429. (SpinnerDateModel(Date, Comparable, Comparable, int)): Added argument
  27430. checks,
  27431. (getPreviousValue): Check result against start, not end,
  27432. (setValue): Check that value actually changes before firing
  27433. ChangeEvent.
  27434. 2006-02-08 Lillian Angel <langel@redhat.com>
  27435. * java/awt/Choice.java
  27436. (select): Fixed up code, added some checks to prevent errors.
  27437. (dispatchEventImpl): Removed. This function is not needed. It
  27438. causes several assertion errors.
  27439. 2006-02-08 Roman Kennke <kennke@aicas.com>
  27440. * javax/swing/text/PlainView.java
  27441. (drawLine): Call drawUnselectedText() with end offset - 1 to avoid
  27442. drawing unnecessary characters.
  27443. 2006-02-08 Lillian Angel <langel@redhat.com>
  27444. * gnu/java/awt/peer/gtk/GtkComponentPeer.java
  27445. (handleEvent): Fixed check to determine if height or
  27446. width is less than 1.
  27447. 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  27448. *tools/Makefile.am (ALL_TOOLS_FILES): Add $(TOOLS_HELPS).
  27449. 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  27450. * examples/gnu/classpath/examples/CORBA/swing/x5/_GameManagerImpl_Tie.java,
  27451. examples/gnu/classpath/examples/CORBA/swing/x5/_PlayerImpl_Tie.java:
  27452. Documenting the code generator.
  27453. * gnu/CORBA/IOR.java (toStringFormatted,
  27454. CodeSet_component.toStringFormatted): New methods.
  27455. * tools/Makefile.am (TOOLS_JAVA_FILES, READMES): Rewritten.
  27456. * tools/gnu/classpath/tools/giop/README: Rewritten.
  27457. * tools/gnu/classpath/tools/giop/GRMIC.java (main): Rewritten.
  27458. (printHelpAndExit): Removed.
  27459. *tools/gnu/classpath/tools/giop/IorParser.java,
  27460. tools/gnu/classpath/tools/giop/IorParser.txt,
  27461. tools/gnu/classpath/tools/giop/NameService.java,
  27462. tools/gnu/classpath/tools/giop/NamingService.txt,
  27463. tools/gnu/classpath/tools/HelpPrinter.java: New files.
  27464. NEWS: Added note about GIOP tools.
  27465. 2006-02-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  27466. * .classpath: New source patch (tools).
  27467. * Makefile.am (SUBDIRS, DIST_SUBDIRS): added "tools".
  27468. * configure.ac (AC_CONFIG_FILES): added tools/Makefile
  27469. * tools/gnu/classpath/tools/Makefile.am,
  27470. tools/gnu/classpath/tools/giop/GRMIC.java
  27471. tools/gnu/classpath/tools/giop/GRMIC.txt,
  27472. tools/gnu/classpath/tools/giop/README,
  27473. tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
  27474. tools/gnu/classpath/tools/giop/grmic/Generator.java,
  27475. tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
  27476. tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
  27477. tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
  27478. tools/gnu/classpath/tools/giop/grmic/templates/ImplTie.jav,
  27479. tools/gnu/classpath/tools/giop/grmic/templates/Stub.jav,
  27480. tools/gnu/classpath/tools/giop/grmic/templates/StubMethod.jav,
  27481. tools/gnu/classpath/tools/giop/grmic/templates/StubMethodVoid.jav,
  27482. tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
  27483. tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
  27484. tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav: New files.
  27485. 2006-02-07 David Gilbert <david.gilbert@object-refinery.com>
  27486. * java/awt/BasicStroke.java: Updated API docs all over,
  27487. * java/awt/doc-files/capjoin.png: New file.
  27488. 2006-02-07 Lillian Angel <langel@redhat.com>
  27489. * gnu/java/awt/peer/gtk/GtkComponentPeer.java
  27490. (handleEvent): Added check. Should not paint or update the
  27491. component if it's width and height are both 0.
  27492. 2006-02-07 Roman Kennke <kennke@aicas.com>
  27493. * javax/swing/text/AbstractDocument.java
  27494. (insertString): Enclose locking/unlocking in try-finally block
  27495. and also keep locked while notifying the listeners.
  27496. 2006-02-07 Roman Kennke <kennke@aicas.com>
  27497. * javax/swing/text/GlyphView.java
  27498. (GlyphView): Initialize startOffset and endOffset with -1 (indicating
  27499. element boundary).
  27500. (getStartOffset): Return element boundary if startOffset < 0.
  27501. (getEndOffset): Return element boundary if endOffset < 0.
  27502. (createFragment): Set startOffset and endOffset fields of fragment
  27503. if one of p0 or p1 is not at the element boundary.
  27504. 2006-02-07 Roman Kennke <kennke@aicas.com>
  27505. * javax/swing/CellRendererPane.java
  27506. (paintComponent): Enclosed painting in try finally to properly
  27507. clean up even when throwing an exception.
  27508. 2006-02-07 Roman Kennke <kennke@aicas.com>
  27509. * javax/swing/UIManager.java
  27510. (listeners): Made this an instance of
  27511. java.beans.PropertyChangeSupport instead of the obsoleted
  27512. SwingPropertyChangeSupport.
  27513. 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
  27514. * javax/swing/text/DefaultEditorToolkit.java: Changed behavior
  27515. of actions "delete-next" and "delete-previous", added new TextAction
  27516. implementations for "selection-begin", "selection-begin-line",
  27517. "selection-end" and "selection-end-line".
  27518. 2006-02-07 Roman Kennke <kennke@aicas.com>
  27519. * javax/swing/plaf/basic/BasicTextUI.java
  27520. (paint): Acquire read lock on the document before calling
  27521. paintSafely.
  27522. (paintSafely): Added comment about what this method does.
  27523. (paintBackground): Implemented to actually paint the background.
  27524. (update): Overridden to _not_ paint the background. This is done
  27525. in paintBackground in this UI.
  27526. 2006-02-07 Roman Kennke <kennke@aicas.com>
  27527. * javax/swing/text/View.java
  27528. (forwardUpdate): Don't notify newly added child views as specified.
  27529. 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
  27530. * gnu/java/beans/decoder/DefaultExceptionListener.java: Removed.
  27531. 2006-02-07 Roman Kennke <kennke@aicas.com>
  27532. * javax/swing/text/DefaultStyledDocument.java
  27533. (ElementBuffer.insert): Only register change when the element
  27534. actually changed.
  27535. 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
  27536. * gnu/java/security/key/KeyPairCodecFactory.java (getEncodingName): New
  27537. method.
  27538. (getEncodingShortName): Likewise.
  27539. * gnu/java/security/key/IKeyPairCodec.java (X509_FORMAT): New constant.
  27540. (PKCS8_FORMAT): Likewise.
  27541. (ASN1_FORMAT): Likewise.
  27542. * gnu/java/security/key/dss/DSSPublicKey.java (DSSPublicKey(4)): Call
  27543. constructor with 5 arguments.
  27544. (DSSPublicKey(5)): New constructor.
  27545. (valueOf): Handle ASN.1 encoding.
  27546. (getEncoded): Likewise.
  27547. * gnu/java/security/key/dss/DSSPrivateKey.java (DSSPrivateKey(4)): Call
  27548. constructor with 5 arguments.
  27549. (DSSPrivateKey(5)): New constructor.
  27550. (valueOf): Handle ASN.1 encoding.
  27551. (getEncoded): Likewise.
  27552. * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: New file.
  27553. * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
  27554. * gnu/java/security/key/dss/DSSKeyPairGenerator.java
  27555. (PREFERRED_ENCODING_FORMAT): New constant.
  27556. (DEFAULT_ENCODING_FORMAT): Likewise.
  27557. (preferredFormat): New field.
  27558. (setup): Handle preferred format ID.
  27559. (generate): Use new ctors with 5 arguments.
  27560. * gnu/java/security/key/dss/DSSKey.java (DSSKey): Now accepts a format
  27561. ID as an additional argument.
  27562. (defaultFormat): new field.
  27563. (getFormat): Returns the preferred format as a short string.
  27564. * gnu/java/security/jce/sig/DSSKeyFactory.java: New file.
  27565. * gnu/java/security/jce/sig/EncodedKeyFactory.java (engineGetKeySpec):
  27566. Likewise
  27567. * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java
  27568. (initialize(AlgorithmParameterSpec)): Set ASN.1 as the preferred
  27569. encoding format.
  27570. (initialize(int,boolean,SecureRandom)): Likewise.
  27571. * gnu/java/security/der/DERWriter.java (writeBitString): Use
  27572. writeLength() instead of write().
  27573. return buf.length + 1 instead of buf.length.
  27574. 2006-02-07 Roman Kennke <kennke@aicas.com>
  27575. * javax/swing/plaf/basic/BasicTextUI.java
  27576. (RootView.preferenceChange): Changed view parameter to view so
  27577. that it doesn't hide a field of that class.
  27578. (RootView.getViewCount): Rewritten to clean up ECJ warning.
  27579. (RootView.modelToView): Removed unnecessary cast from View to View.
  27580. (PropertyChangeHandler): Made inner class private.
  27581. (updateHandler): Made field private.
  27582. (getVisibleEditorRect): Removed unneeded local variable that
  27583. shadowed a field with the same name and purpose.
  27584. 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
  27585. * javax/swing/text/JTextComponent.java:
  27586. (getSelectedText): Calculate offset and use that as
  27587. second argument.
  27588. 2006-02-07 Roman Kennke <kennke@aicas.com>
  27589. * javax/swing/JTextPane.java
  27590. (setCharacterAttributes): Replace input attributes when
  27591. replace==true.
  27592. 2006-02-07 Roman Kennke <kennke@aicas.com>
  27593. * java/awt/Component.java
  27594. (firePropertyChange(String,byte,byte)): Made method public.
  27595. (firePropertyChange(String,char,char)): Made method public.
  27596. (firePropertyChange(String,short,short)): Made method public.
  27597. (firePropertyChange(String,long,long)): Made method public.
  27598. (firePropertyChange(String,float,float)): Made method public.
  27599. (firePropertyChange(String,double,double)): Made method public.
  27600. 2006-02-06 Tom Tromey <tromey@redhat.com>
  27601. * gnu/CORBA/NamingService/NamingServiceTransient.java (main): Use
  27602. 2006.
  27603. * gnu/java/rmi/registry/RegistryImpl.java (version): Use 2006.
  27604. 2006-02-06 Anthony Green <green@redhat.com>
  27605. * gnu/xml/aelfred2/XmlParser.java: Add missing break;.
  27606. 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
  27607. * .settings/org.eclipse.jdt.core.prefs:
  27608. Force a line split on extends and implements.
  27609. Force a white-space after unary operators.
  27610. Don't force a new-line after @params.
  27611. Add new-line at end-of-file.
  27612. * scripts/eclipse-gnu.xml: Export version of the above named GNU.
  27613. 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
  27614. * gnu/java/security/provider/GnuDSAPublicKey.java (getEncoded): Use
  27615. Registry constant.
  27616. * gnu/java/security/provider/GnuDSAPrivateKey.java (getEncoded):
  27617. Likewise.
  27618. * gnu/java/security/provider/GnuRSAPrivateKey.java (getEncoded):
  27619. Likewise.
  27620. * gnu/java/security/provider/GnuRSAPublicKey.java (getEncoded):
  27621. Likewise.
  27622. * gnu/java/security/provider/EncodedKeyFactory.java
  27623. (ID_DSA): Redefined in terms of Registry constant.
  27624. (ID_DSA): Redefined in terms of Registry constant.
  27625. (ID_DH): Redefined in terms of Registry constant.
  27626. * gnu/java/security/Registry.java (X509_ENCODING): New constant.
  27627. (PKCS8_ENCODING): Likewise.
  27628. (ASN1_ENCODING): Likewise.
  27629. (RAW_ENCODING_SHORT_NAME): Likewise.
  27630. (X509_ENCODING_SORT_NAME): Likewise.
  27631. (PKCS8_ENCODING_SHORT_NAME): Likewise.
  27632. (ASN1_ENCODING_SHORT_NAME): Likewise.
  27633. (X509_ENCODING_ID): Likewise.
  27634. (PKCS8_ENCODING_ID): Likewise.
  27635. (ASN1_ENCODING_ID): Likewise.
  27636. (DSA_OID_STRING): Likewise.
  27637. (RSA_OID_STRING): Likewise.
  27638. (DH_OID_STRING): Likewise.
  27639. 2006-02-06 Roman Kennke <kennke@aicas.com>
  27640. * javax/swing/text/GlyphView.java:
  27641. (DefaultGlyphPainter.paint): Store/restore Graphics color setting.
  27642. Only fill background if there is a background set on the view.
  27643. Call Utilities.drawTabbedText with the baseline height, rather than
  27644. the upper left corner of the view rectangle.
  27645. (getBackground): Return null if no background is set.
  27646. * javax/swing/text/GlyphView.java:
  27647. (setPropertiesFromAttributes): Use null for background when no
  27648. background is set. StyleConstants.getBackground() doesn't work
  27649. for this, because it returns Color.BLACK in that case.
  27650. 2006-02-06 Roman Kennke <kennke@aicas.com>
  27651. * java/awt/Container.java
  27652. (changeSupport): Removed duplicate (from Component) field.
  27653. (addPropertyChangeListener): Call super.
  27654. 2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
  27655. * java/util/regex/Matcher.java(matches):
  27656. set RE.REG_TRY_ENTIRE_MATCH as an execution flag of getMatch.
  27657. 2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
  27658. Fixes bug #25812
  27659. * gnu/regexp/CharIndexed.java(lookBehind),(length): New method.
  27660. * gnu/regexp/CharIndexedCharArray.java
  27661. (lookBehind),(length): Implemented.
  27662. * gnu/regexp/CharIndexedInputStream.java: Likewise.
  27663. * gnu/regexp/CharIndexedString.java: Likewise.
  27664. * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
  27665. * gnu/regexp/REToken.java(getMaximumLength): New method.
  27666. * gnu/regexp/RE.java(internal constructor RE): Added new argument
  27667. maxLength.
  27668. (initialize): Parse (?<=X), (?<!X), (?>X).
  27669. (getMaximumLength): Implemented.
  27670. * gnu/regexp/RETokenAny.java(getMaximumLength): Implemented.
  27671. * gnu/regexp/RETokenChar.java: Likewise.
  27672. * gnu/regexp/RETokenEnd.java: Likewise.
  27673. * gnu/regexp/RETokenEndSub.java: Likewise.
  27674. * gnu/regexp/RETokenLookAhead.java: Likewise.
  27675. * gnu/regexp/RETokenNamedProperty.java: Likewise.
  27676. * gnu/regexp/RETokenOneOf.java: Likewise.
  27677. * gnu/regexp/RETokenPOSIX.java: Likewise.
  27678. * gnu/regexp/RETokenRange.java: Likewise.
  27679. * gnu/regexp/RETokenRepeated.java: Likewise.
  27680. * gnu/regexp/RETokenStart.java: Likewise.
  27681. * gnu/regexp/RETokenWordBoundary.java: Likewise.
  27682. * gnu/regexp/RETokenIndependent.java: New file.
  27683. * gnu/regexp/RETokenLookBehind.java: New file.
  27684. 2006-02-06 Roman Kennke <kennke@aicas.com>
  27685. * java/awt/Component.java
  27686. (firePropertyChange(String,byte,byte)): New method.
  27687. (firePropertyChange(String,char,char)): New method.
  27688. (firePropertyChange(String,short,short)): New method.
  27689. (firePropertyChange(String,long,long)): New method.
  27690. (firePropertyChange(String,float,float)): New method.
  27691. (firePropertyChange(String,double,double)): New method.
  27692. 2006-02-06 Roman Kennke <kennke@aicas.com>
  27693. * javax/swing/JComponent.java
  27694. (AccessibleJComponent.changeSupport): Changed to be a
  27695. java.beans.PropertyChangeSupport rather than
  27696. SwingPropertyChangeSupport.
  27697. (AccessibleJComponent.AccessibleJComponent()): Change initialization
  27698. of above field.
  27699. (changeSupport): Removed unneeded field.
  27700. (removePropertyChangeListener): Removed unneeded methods.
  27701. (addPropertyChangeListener): Removed unneeded methods.
  27702. (getPropertyChangeListeners): Removed unneeded methods.
  27703. (firePropertyChange(String,boolean,boolean)): Changed to simply
  27704. call super. Added specnote.
  27705. (firePropertyChange(String,char,char)): Changed to simply
  27706. call super. Added specnote.
  27707. (firePropertyChange(String,int,int)): Changed to simply
  27708. call super. Added specnote.
  27709. (firePropertyChange(String,byte,byte)): Removed.
  27710. (firePropertyChange(String,Object,Object)): Removed.
  27711. (firePropertyChange(String,double,double)): Removed.
  27712. (firePropertyChange(String,float,float)): Removed.
  27713. (firePropertyChange(String,long,long)): Removed.
  27714. (firePropertyChange(String,short,short)): Removed.
  27715. 2006-02-06 Roman Kennke <kennke@aicas.com>
  27716. * javax/swing/event/SwingPropertyChangeSupport.java
  27717. (listeners): Removed field.
  27718. (propertyListeners): Removed field.
  27719. (source): Removed field.
  27720. (SwingPropertyChangeSupport()): Removed initialization of removed
  27721. fields.
  27722. (addPropertyChangeListener): Removed methods.
  27723. (removePropertyChangeListener): Removed methods.
  27724. (getPropertyChangeListeners): Removed methods.
  27725. (firePropertyChange): Removed methods.
  27726. (hasListeners): Removed methods.
  27727. 2006-02-06 Jeroen Frijters <jeroen@frijters.net>
  27728. Fixes PR 25313
  27729. * java/net/InetAddress.java
  27730. (readResolve): Implemented.
  27731. 2006-02-06 Jeroen Frijters <jeroen@frijters.net>
  27732. Fixes PR 26121
  27733. * java/io/ObjectInputStream.java
  27734. (readNextBlock()): Handle TC_RESET.
  27735. 2006-02-06 Wolfgang Baer <WBaer@gmx.de>
  27736. * javax/print/attribute/standard/Compression.java,
  27737. * javax/print/attribute/standard/Finishings.java,
  27738. * javax/print/attribute/standard/JobMediaSheets.java,
  27739. * javax/print/attribute/standard/JobSheets.java,
  27740. * javax/print/attribute/standard/JobState.java,
  27741. * javax/print/attribute/standard/JobStateReason.java,
  27742. * javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
  27743. * javax/print/attribute/standard/PrintQuality.java,
  27744. * javax/print/attribute/standard/Media.java,
  27745. * javax/print/attribute/standard/MultipleDocumentHandling.java,
  27746. * javax/print/attribute/standard/PrinterStateReason.java,
  27747. * javax/print/attribute/standard/PDLOverrideSupported.java:
  27748. (getName): Make method final.
  27749. (getCategory): Likewise.
  27750. * javax/print/attribute/standard/MediaSize.java:
  27751. (getName): Make method final.
  27752. (getCategory): Likewise.
  27753. (ISO): Added private default constructor.
  27754. (NA): Likewise.
  27755. (JIS): Likewise.
  27756. (Other): Likewise.
  27757. (Engineering): Likewise.
  27758. 2006-02-06 Wolfgang Baer <WBaer@gmx.de>
  27759. * native/jni/java-net/javanet.c (_javanet_connect):
  27760. Throw ConnectException instead of IOException if connection failed.
  27761. * native/jni/java-net/javanet.h:
  27762. Add a define for java.net.ConnectException
  27763. 2006-02-05 Mark Wielaard <mark@klomp.org>
  27764. Fixes bug #26101
  27765. reported by Egon Willighagen <egon.willighagen@gmail.com>
  27766. * javax/swing/DefaultListCellRenderer.java
  27767. (getListCellRendererComponent): Turn null value into empty string.
  27768. 2006-02-04 Ito Kazumitsu <kaz@maczuka.gcd.org>
  27769. * gnu/regexp/RETokenNamedProperty.java(getHandler): Check for
  27770. a Unicode block if the name starts with "In".
  27771. (UnicodeBlockHandler): New inner class.
  27772. 2006-02-04 Roman Kennke <kennke@aicas.com>
  27773. * java/awt/Container.java
  27774. (getComponentZOrder): New method.
  27775. (setComponentZOrder): New method.
  27776. * javax/swing/JLayeredPane.java
  27777. (setPosition): Reimplemented to use setComponentZOrder().
  27778. (getIndexOf): Reimplemented to use getComponentZOrder().
  27779. (addImpl): Pass layerContraint to super call. Important for possibly
  27780. installed layout managers.
  27781. (swapComponents): Remove unneeded method.
  27782. 2006-02-04 Raif S. Naffah <raif@swiftdsl.com.au>
  27783. * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Implement
  27784. DSAKeyPairGenerator.
  27785. (initialize(int,SecureRandom)): Call initialize(keysize, false, random).
  27786. (initialize(AlgorithmParameterSpec,SecureRandom)): More explicit error
  27787. message.
  27788. Surround call to adaptee in a try/catch.
  27789. (initialize((DSAParams,SecureRandom)): New method.
  27790. (initialize(int,boolean,SecureRandom)): New method.
  27791. * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Extends
  27792. KeyPairGenerator rather than KeyPairGeneratorSpi.
  27793. (KeyPairGeneratorAdapter): Call super with algorithm name.
  27794. 2006-02-04 Raif S. Naffah <raif@swiftdsl.com.au>
  27795. * gnu/javax/crypto/sasl/srp/SRPServer.java (prng): New field.
  27796. (getDefaultPRNG): New method.
  27797. (parseO): Use method above.
  27798. * gnu/javax/crypto/sasl/srp/SRPClient.java (prng): New field.
  27799. (getDefaultPRNG): New method.
  27800. (createO): Use method above.
  27801. * gnu/javax/crypto/sasl/srp/KDF.java (prng): New class field.
  27802. (nextByte): Use above field.
  27803. * gnu/javax/crypto/pad/PKCS1_V1_5.java (selfTest): Use PRNG instance.
  27804. * gnu/java/security/sig/rsa/RSA.java: New class field.
  27805. (newR): Use above field
  27806. * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java (prng): New field.
  27807. (encode): Use field.above.
  27808. * gnu/java/security/key/dss/FIPS186.java (prng): New field.
  27809. (getDefaultPRNG): new method.
  27810. (nextRandomBytes): Use above method.
  27811. * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
  27812. * gnu/java/security/sig/BaseSignature.java: Likewise.
  27813. * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
  27814. * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
  27815. * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
  27816. * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
  27817. * gnu/java/security/key/dss/DSSKeyPairGenerator.java (prng): New field.
  27818. (getDefaultPRNG): new method.
  27819. (nextRandomBytes): Use above method.
  27820. (STRICT_DEFAULTS): new class field.
  27821. (USE_DEFAULTS): more documentation to clarify behavior.
  27822. (setup): amended to handle new attribute.
  27823. * gnu/java/security/util/PRNG.java: New file.
  27824. 2006-02-03 Lillian Angel <langel@redhat.com>
  27825. * javax/swing/plaf/basic/BasicColorChooserUI.java:
  27826. chooser field should be protected, not package-private.
  27827. 2006-02-03 Lillian Angel <langel@redhat.com>
  27828. * javax/swing/text/DefaultStyledDocument.java
  27829. (changeUpdate): Cleaned up code.
  27830. (split): Likewise.
  27831. (insertUpdate): Set offset to be equal to pos after
  27832. insertContentTag call.
  27833. (insertContentTag): If paragraph has no children, should use
  27834. replace instead of Edit.
  27835. (insertFracture): Moved around code to prevent any exception. Also,
  27836. left side of tree should not be recreated if it has already been
  27837. edited. In that case, we should only be creating a new right branch
  27838. when fracturing.
  27839. (getEditForParagraphAndIndex): No need to check index. We should
  27840. use the same edit for each paragraph.
  27841. 2006-02-03 Mark Wielaard <mark@klomp.org>
  27842. * javax/swing/event/SwingPropertyChangeSupport.java
  27843. (propertyListeners): Change type to HashMap.
  27844. (SwingPropertyChangeSupport): Allocate HashMap.
  27845. 2006-02-03 Raif S. Naffah <raif@swiftdsl.com.au>
  27846. * java/security/KeyPairGenerator.java (getInstance): Test for
  27847. instanceof KeyPairGenerator before KeyPairGeneratorSpi.
  27848. 2006-02-02 Roman Kennke <kennke@aicas.com>
  27849. * javax/swing/RepaintManager.java
  27850. Made fields private.
  27851. (RepaintWorker.run): Enclosed work stuff in try finally block in
  27852. order to clean up correctly if invalidation or painting fails,
  27853. otherwise we would get no more RepaintWorkers onto the EventQueue.
  27854. Also, now the RepaintWorker is marked 'dead' only after it has
  27855. finished its work, avoid more than one RepaintWorker on the queue.
  27856. (ComponentComparator.compareTo): Compare dirty rectangle sizes
  27857. instead of hierarchy depths.
  27858. (workDirtyComponents): Removed unused field.
  27859. (repaintOrder): Removed unused field.
  27860. (workRepaintOrder): Removed unused field.
  27861. (workInvalidComponents): Removed unused field.
  27862. (RepaintManager()): Removed initialization of removed fields.
  27863. (addInvalidComponent): Fine tuned synchronization.
  27864. (removeInvalidComponent): Fine tune synchronization.
  27865. (addDirtyRegion): Short circuit invalid dirty regions. Fine tuned
  27866. synchronization. Don't manager repaintOrder here.
  27867. (insertRepaintOrder): Removed method.
  27868. (markCompletelyClean): Fine tuned synchronization.
  27869. (validateInvalidComponents): Dont use a working copy of the
  27870. invalidComponents list, instead fine tuned synchronization on this
  27871. list. Also, don't search validateRoot, this is already done in
  27872. addInvalidComponent().
  27873. (paintDirtyRegions): Compute repaint order here, based on size of
  27874. damaged regions. Fine tuned synchronization. Avoid use of working
  27875. copies of dirtyComponent.
  27876. 2006-02-02 Lillian Angel <langel@redhat.com>
  27877. * javax/swing/text/DefaultStyledDocument.java
  27878. (insertUpdate): JoinNextDirection should push the
  27879. 'next' paragraph on the stack.
  27880. 2006-02-02 Lillian Angel <langel@redhat.com>
  27881. * javax/swing/text/DefaultStyledDocument.java
  27882. (insertUpdate): Rewrote code for Originate. This prevents
  27883. leaves being created multiple times. If it is on the last
  27884. ElementSpec, the leaves need to be created right then;
  27885. otherwise, only a branch is created.
  27886. (insertContentTag): Rewrote to add new leaf directly if
  27887. this is a branch with no children. Otherwise, it
  27888. recreates the remainder of the tree as before.
  27889. 2006-02-02 Ito Kazumitsu <kaz@maczuka.gcd.org>
  27890. * gnu/regexp/REMatch.java(REMatchList): New inner utility class
  27891. for making a list of REMatch instances.
  27892. * gnu/regexp/RETokenOneOf.java(match): Rewritten using REMatchList.
  27893. * gnu/regexp/RETokenRepeated.java(findDoables): New method.
  27894. (match): Rewritten using REMatchList.
  27895. (matchRest): Rewritten using REMatchList.
  27896. 2006-02-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  27897. * examples/gnu/classpath/examples/CORBA/swing/x5/PlayingDesk.java
  27898. (friendsMove): Call repaint() only after endOfGame is assigned.
  27899. 2006-02-02 Mark Wielaard <mark@klomp.org>
  27900. Fixes bug #25769 reported by Artemus Harper <subanark@gmail.com>
  27901. * java/util/AbstractCollection.java (toString): Only use Iterator,
  27902. check whether collection contains itself.
  27903. 2006-02-01 Casey Marshall <csm@gnu.org>
  27904. Partial fix for PR classpath/25143.
  27905. * javax/crypto/EncryptedPrivateKeyInfo.java (algName): new field.
  27906. (<init>): fill in `algName,' derive `algOid' from `algName.'
  27907. (getOid): new method.
  27908. (encode): embed NULL value for parameters if `params' is `null.'
  27909. 2006-02-01 Casey Marshall <csm@gnu.org>
  27910. Tag check and OTHER_NAME fixes suggested by Rafael Teixeira
  27911. <monoman@gmail.com>.
  27912. * gnu/java/security/x509/ext/GeneralNames.java (<init>): fix tag
  27913. check; fix OTHER_NAME parsing; fix DIRECTORY_NAME parsing.
  27914. 2006-02-01 Casey Marshall <csm@gnu.org>
  27915. toString fix suggested by Rafael Teixeira <monoman@gmail.com>.
  27916. * gnu/java/security/der/DERValue.java
  27917. (getLength, getEncoded, getEncodedLength): throw an exception,
  27918. don't initialize `encoded' to a bogus value.
  27919. (toString): return a more helpful string.
  27920. Partial fix for PR classpath/25144.
  27921. * gnu/java/security/der/DERWriter.java (write): if the value is
  27922. the pseudo-value used for CONSTRUCTED, write the encoded value
  27923. directly.
  27924. 2006-02-01 Tom Tromey <tromey@redhat.com>
  27925. * java/security/Security.java (loadProviders): Use system class
  27926. loader.
  27927. 2006-02-01 Mark Wielaard <mark@klomp.org>
  27928. * gnu/regexp/RE.java (getRETokenNamedProperty): Chain exception.
  27929. * gnu/regexp/RETokenNamedProperty.java (LETTER, MARK, SEPARATOR,
  27930. SYMBOL, NUMBER, PUNCTUATION, OTHER): New final byte[] fields.
  27931. (getHandler): Check for grouped properties L, M, Z, S, N, P or C.
  27932. (UnicodeCategoriesHandler): New private static class.
  27933. 2006-02-01 Lillian Angel <langel@redhat.com>
  27934. * javax/swing/text/DefaultStyledDocument.java:
  27935. Removed unneeded fields.
  27936. (insertUpdate): Removed field initialization.
  27937. (insertContentTag): Rewrote part of function. Still
  27938. not complete.
  27939. 2006-02-01 Lillian Angel <langel@redhat.com>
  27940. * javax/swing/text/DefaultStyledDocument.java
  27941. (insertParagraph): Cleaned up code.
  27942. (insertFirstContentTag): Fixed call to recreateLeaves.
  27943. (insertContentTag): Added check to code to determine where
  27944. content should be inserted with respect to next element.
  27945. (createFracture): Removed check, recreateLeaves is called in
  27946. other places when needed.
  27947. (recreateLeaves): Added new parameter for paragraph instead
  27948. of checking the stack. Removed editing for newBranch, replaced
  27949. with a replace call.
  27950. 2006-02-01 Anthony Balkissoon <abalkiss@redhat.com>
  27951. * doc/unicode/Blocks-4.0.0.txt: New file.
  27952. * java/lang/Character.java: Regenerated inner class UnicodeBlock from
  27953. scripts/unicode-blocks.pl and doc/unicode/Blocks-4.0.0.txt.
  27954. * scripts/unicode-blocks.pl: Copied this over from the generics branch
  27955. but replaced some 1.5-only features (such as enum).
  27956. 2006-01-31 Roman Kennke <kennke@aicas.com>
  27957. * javax/swing/text/PasswordView.java
  27958. (drawSelectedText): Use drawEchoCharacter() method to draw echo
  27959. character.
  27960. (drawUnselectedText): Use drawEchoCharacter() method to draw echo
  27961. character.
  27962. 2006-01-31 Roman Kennke <kennke@aicas.com>
  27963. * javax/swing/JTextField.java
  27964. (getPreferredSize): Also include textfield's insets in width
  27965. calculation.
  27966. 2006-01-31 Roman Kennke <kennke@aicas.com>
  27967. * javax/swing/plaf/basic/BasicTextUI.java
  27968. (getPreferredSize): Include the textcomponent's insets in
  27969. preferredSize.
  27970. 2006-01-31 Roman Kennke <kennke@aicas.com>
  27971. * javax/swing/table/DefaultTableCellRenderer.java
  27972. (getTableCellRendererComponent): Moved setting of the value into
  27973. setValue(). Removed (bogus) special handling of JTextField values.
  27974. (setValue): Made ?: statement more clear by rewriting it
  27975. with if .. else.
  27976. 2006-01-31 Roman Kennke <kennke@aicas.com>
  27977. * javax/swing/JLayeredPane.java
  27978. (insertIndexForLayer): Fixed algorithm to correctly determine
  27979. inser index for positions >= 0.
  27980. (addImpl): Fixed API docs for the index parameter.
  27981. 2006-01-31 Mark Wielaard <mark@klomp.org>
  27982. * java/net/URI.java (getURIGroup): Check for null to see whether
  27983. group actually exists.
  27984. 2006-01-31 Lillian Angel <langel@redhat.com>
  27985. * javax/swing/text/DefaultStyledDocument.java
  27986. (changeUpdate): Fixed calls to split to incorporate
  27987. new parameter.
  27988. (insertParagraph): Likewise. Uses 0 as editIndex
  27989. because inserting into a new paragraph.
  27990. (insertContentTag): Fixed check to use
  27991. recreateLeaves. Added a FIXME comment.
  27992. (split): Added a new parameter for edits.
  27993. 2006-01-31 Roman Kennke <kennke@aicas.com>
  27994. * javax/swing/plaf/basic/BasicRootPaneUI.java
  27995. (installDefaults): Don't install a background color here.
  27996. 2006-01-31 Lillian Angel <langel@redhat.com>
  27997. * javax/swing/text/DefaultStyledDocument.java
  27998. (insert): Removed comment.
  27999. (insertUpdate): Added comment.
  28000. (recreateLeaves): Removed call to push newBranch onto the
  28001. stack. This does not need to be done here.
  28002. 2006-01-31 Chris Burdess <dog@gnu.org>
  28003. * gnu/xml/stream/SAXParser.java,
  28004. gnu/xml/stream/UnicodeReader.java,
  28005. gnu/xml/stream/XIncludeFilter.java,
  28006. gnu/xml/stream/XMLParser.java: Fix case where resolved InputSource
  28007. only resolved the system ID not the stream. Make some utility methods
  28008. public and static for use by other private XML APIs.
  28009. * java/lang/ClassNotFoundException.java: Ensure that initCause can be
  28010. called without throwing IllegalStateException.
  28011. * java/util/logging/SimpleFormatter.java: Write thrown exception if
  28012. provided.
  28013. 2006-01-31 Ito Kazumitsu <kaz@maczuka.gcd.org>
  28014. Fixes bug #22873
  28015. * gnu/regexp/REMatch(toString(int)): Throw IndexOutOfBoundsException
  28016. for an invalid index and return null for a skipped group.
  28017. 2006-01-31 Ito Kazumitsu <kaz@maczuka.gcd.org>
  28018. Fixes bug #26002
  28019. * gnu/regexp/gnu/regexp/RE.java(initialize): Parse /\p{prop}/.
  28020. (NamedProperty): New inner class.
  28021. (getNamedProperty): New method.
  28022. (getRETokenNamedProperty): New Method.
  28023. * gnu/regexp/RESyntax.java(RE_NAMED_PROPERTY): New syntax falg.
  28024. * gnu/regexp/RETokenNamedProperty.java: New file.
  28025. 2006-01-31 Roman Kennke <kennke@aicas.com>
  28026. * javax/swing/plaf/PlainView.java
  28027. (paint): Call drawLine with baseline coordinates.
  28028. (drawLine): Documented and indented this method.
  28029. (drawUnselecetedText): Documented and indented this method.
  28030. * javax/swing/plaf/text/Utilites.java
  28031. (drawTabbedText): The coordinates denote the baseline of the text
  28032. not the upper left corner.
  28033. 2006-01-31 Roman Kennke <kennke@aicas.com>
  28034. * javax/swing/plaf/basic/BasicTextUI.java
  28035. (createKeymap): Don't store KeyBindings[] as focusInputMap in
  28036. UIManager. Added FIXME regarding the implementation of this method.
  28037. 2006-01-30 David Gilbert <david.gilbert@object-refinery.com>
  28038. * examples/gnu/classpath/examples/swing/ButtonDemo.java
  28039. (ButtonDemo): Move content initialisation to new method,
  28040. (initFrameContent): New method,
  28041. (main): Call initFrameContent(),
  28042. * examples/gnu/classpath/examples/swing/ComboBoxDemo.java: Likewise,
  28043. * examples/gnu/classpath/examples/swing/FileChooserDemo.java: Likewise,
  28044. * examples/gnu/classpath/examples/swing/ScrollBarDemo.java: Likewise,
  28045. * examples/gnu/classpath/examples/swing/SliderDemo.java: Likewise,
  28046. * examples/gnu/classpath/examples/swing/TextFieldDemo.java: Likewise.
  28047. 2006-01-30 David Gilbert <david.gilbert@object-refinery.com>
  28048. * examples/gnu/classpath/examples/swing/Demo.java
  28049. (Demo): Set frame size,
  28050. (mkButtonBar): Removed stacked sub-panels.
  28051. 2006-01-30 Lillian Angel <langel@redhat.com>
  28052. * javax/swing/text/DefaultStyledDocument.java:
  28053. Added new fields.
  28054. (insert): Initialized fields. Removed call to addEdit,
  28055. and created ElementEdit instead.
  28056. (insertUpdate): Added check for fracturing. If the
  28057. fracturing was not successful, we should push the
  28058. last element back on the stack.
  28059. (insertParagraph): Fixed call to getEditForParagraphAndIndex.
  28060. Also, changed replace calls to use Edit.
  28061. (insertFirstContentTag): Removed unneeded check and fixed call
  28062. to recreateLeaves.
  28063. (insertContent): Fixed check to use new fields. Added code in
  28064. to check if leaves overlap.
  28065. (createFracture): Fixed call to recreateLeaves.
  28066. (recreateLeaves): Fixed code and cleaned it up a bit.
  28067. (insertFracture): Set fracNotCreated field.
  28068. (addEdit): Removed, this method is not needed.
  28069. 2006-01-30 Roman Kennke <kennke@aicas.com>
  28070. * javax/swing/JRootPane.java
  28071. (RootLayout.prefSize): Removed caching for preferredSize.
  28072. (RootLayout.invalidateLayout): Likewise.
  28073. (RootLayout.preferredLayoutSize): Likewise.
  28074. 2006-01-30 Roman Kennke <kennke@aicas.com>
  28075. PR classpath/26035
  28076. * javax/swing/JFrame.java
  28077. (frameInit): Handle the defaultLookAndFeelDecorated flag.
  28078. * javax/swing/plaf/metal/MetalRootPaneUI.java
  28079. (MetalFrameBorder): New inner class, provides the border for
  28080. top level containers with L&F decorations.
  28081. (MetalTitlePane): New inner class, provides the title pane for
  28082. top level containers with L&F decorations.
  28083. (MetalRootLayout): New inner class. Used to layout the root pane
  28084. when L&F window decorations are enabled.
  28085. (installUI): New method. Handles window decorations.
  28086. (uninstallUI): New method. Handles window decorations.
  28087. (propertyChange): Handles window decorations.
  28088. (installWindowDecorations): New method. Handles window
  28089. decorations.
  28090. (uninstallWindowDecorations): New method. Handles window
  28091. decorations.
  28092. * javax/swing/plaf/metal/MetalLookAndFeel.java
  28093. (getSupportsWindowDecorations): Overridden to return true.
  28094. 2006-01-30 Mark Wielaard <mark@klomp.org>
  28095. * javax/swing/JProgressBar.java (JProgressBar(int)): Document
  28096. IllegalArgumentException when orientation is illegal.
  28097. (JProgressBar(int, int, int)): Likewise and throw exception.
  28098. (setOrientation): Likewise.
  28099. 2006-01-30 Roman Kennke <kennke@aicas.com>
  28100. * javax/swing/ViewportLayout.java
  28101. (minimumLayoutSize): Rewritten to unconditionally return (4,4).
  28102. 2006-01-30 Mark Wielaard <mark@klomp.org>
  28103. * javax/swing/JProgressBar.java (orientation): Always set by
  28104. constructor.
  28105. (JProgressBar(int)): Document default on 'illegal' value.
  28106. (JProgressBar(int, int, int)): Likewise and set orientation to
  28107. HORIZONTAL when 'illegal'.
  28108. (setOrientation): Likewise.
  28109. 2006-01-30 Roman Kennke <kennke@aicas.com>
  28110. * javax/swing/plaf/basic/BasicListUI.java
  28111. (ListDataHandler.contentsChanged): Update the
  28112. updateLayoutStateNeeded flag.
  28113. (ListDataHandler.intervalAdded): Update the
  28114. updateLayoutStateNeeded flag.
  28115. (ListDataHandler.intervalRemoved): Update the
  28116. updateLayoutStateNeeded flag.
  28117. (PropertyChangeHandler.propertyChange): Correctly update the
  28118. listeners on new list model.
  28119. (maybeUpdateLayoutState): Don't consider the validation state
  28120. of the list.
  28121. 2006-01-30 Mark Wielaard <mark@klomp.org>
  28122. * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
  28123. sortKeys is null.
  28124. 2006-01-30 Roman Kennke <kennke@aicas.com>
  28125. * javax/swing/JLayeredPane.java
  28126. (insertIndexForLayer): Fixed algorithm to correctly insert
  28127. components within different layers and -1 position.
  28128. 2006-01-30 Mark Wielaard <mark@klomp.org>
  28129. * doc/api/Makefile.am (create_html): Add -validhtml.
  28130. 2006-01-30 Roman Kennke <kennke@aicas.com>
  28131. * javax/swing/JLayeredPane.java
  28132. (insertIndexForLayer): Fixed algorithm to correctly insert
  28133. components within same layer and -1 position.
  28134. 2006-01-30 Ito Kazumitsu <kaz@maczuka.gcd.org>
  28135. Fixes bug #24876
  28136. * gnu/regexp/gnu/regexp/RE.java(REG_TRY_ENTIRE_MATCH):
  28137. New execution flag.
  28138. (getMatchImpl): if REG_TRY_ENTIRE_MATCH is set, add an
  28139. implicit RETokenEnd at the end of the regexp chain.
  28140. Do not select the longest match, but select the first match.
  28141. (match): Do not take care of REMatch.empty.
  28142. * gnu/regexp/REMatch.java(empty): To be used only in RETokenRepeated.
  28143. * gnu/regexp/RETokenOneOf.java: Corrected a typo in a comment.
  28144. * gnu/regexp/RETokenBackRef.java: Do not take care of REMatch.empty.
  28145. * gnu/regexp/RETokenRepeated.java (match): Rewrote stingy matching.
  28146. Do not take care of REMatch.empty. Set and check REMatch.empty
  28147. when trying to match the single token.
  28148. 2006-01-30 Mark Wielaard <mark@klomp.org>
  28149. * java/awt/Cursor.java (toString): Include name and type.
  28150. 2006-01-30 Raif S. Naffah <raif@swiftdsl.com.au>
  28151. * gnu/javax/crypto/mac/HMac.java (clone): Clone ipadHash, opadHash, and
  28152. the ipad buffer.
  28153. * gnu/javax/crypto/mac/BaseMac.java (clone): Clone underlyingHash.
  28154. 2006-01-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  28155. PR 26027
  28156. * javax/swing/plaf/basic/BasicListUI.java (maybeUpdateLayoutState):
  28157. Consider the validation state of the list.
  28158. 2006-01-29 Robert Schuster <robertschuster@fsfe.org>
  28159. * gnu/java/beans/DefaultExceptionListener.java: Constant public field
  28160. INSTANCE added.
  28161. * java/beans/XMLDecoder.java:
  28162. (setExceptionListener): Use shared DefaultExceptionListener
  28163. instance.
  28164. * java/beans/Encoder.java:
  28165. (setExceptionListener): Use shared DefaultExceptionListener
  28166. instance.
  28167. 2006-01-29 Roman Kennke <kennke@aicas.com>
  28168. * javax/swing/ScrollPaneLayout.java
  28169. (minimumLayoutSize): Rewritten to match JDKs behaviour.
  28170. 2006-01-29 Mark Wielaard <mark@klomp.org>
  28171. * java/net/SocketPermission.java (setActions): Trim and lower case
  28172. action.
  28173. 2006-01-29 Raif S. Naffah <raif@swiftdsl.com.au>
  28174. * gnu/java/security/util/Prime2.java (passEulerCriterion): Was
  28175. incorrectly failing primality test for some known primes. Fixed.
  28176. (passFermatLittleTheorem): Removed.
  28177. (passMillerRabin): Removed.
  28178. (isProbablePrime): Cache primes that pass the primality tests.
  28179. Use BigInteger.isProbablePrime(int) for primality tests.
  28180. (debugBI): New static debugging method.
  28181. 2006-01-28 Roman Kennke <kennke@aicas.com>
  28182. * javax/swing/plaf/basic/BasicListUI.java
  28183. (updateLayoutState): Removed unneeded special case for VERTICAL.
  28184. 2006-01-28 Roman Kennke <kennke@aicas.com>
  28185. * javax/swing/plaf/basic/BasicListUI.java
  28186. (getCellBounds): Determine correct list width when having a
  28187. layoutOrientation of VERTICAL.
  28188. (maybeUpdateLayoutState): Don't consider the validation state of
  28189. the list.
  28190. 2006-01-28 Mark Wielaard <mark@klomp.org>
  28191. Reported by Dimitri Fontaine <dimitri@dalibo.com>
  28192. * java/awt/print/NoPrinterJob.java: New (fake) class.
  28193. * java/awt/print/PrinterJob.java (getPrinterJob): Return NoPrinterJob.
  28194. 2006-01-28 Mark Wielaard <mark@klomp.org>
  28195. * gnu/javax/crypto/mac/HMac.java (clone): Cast cloned ipad to byte[].
  28196. 2006-01-28 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  28197. * gnu/classpath/examples/swing/Demo.java (mkTree): Make a larger tree.
  28198. (addChildren): New method.
  28199. 2006-01-28 Raif S. Naffah <raif@swiftdsl.com.au>
  28200. * gnu/javax/crypto/jce/mac/MacAdapter.java (MacAdapter(IMac, Map)): New
  28201. constructor for cloning purposes.
  28202. (clone): New implementation that ensures cloning.
  28203. * gnu/javax/crypto/mac/HMac.java (clone): Implement Cloneable.
  28204. * gnu/java/security/Registry.java: Changed value of GNU_SECURITY to
  28205. "GNU".
  28206. 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  28207. * javax/swing/plaf/basic/BasicTreeUI.java (updateCachedPreferredSize):
  28208. Call updateCurrentVisiblePath.
  28209. 2006-01-27 Roman Kennke <kennke@aicas.com>
  28210. * examples/gnu/classpath/examples/swing/MiniDemo.java: New file.
  28211. 2006-01-27 Roman Kennke <kennke@aicas.com>
  28212. * examples/gnu/classpath/examples/swing/ButtonDemo.java
  28213. (createContent): Only create new content if we don't have one
  28214. already.
  28215. * examples/gnu/classpath/examples/swing/ComboBoxDemo.java
  28216. (createContent): Only create new content if we don't have one
  28217. already.
  28218. * examples/gnu/classpath/examples/swing/FileChooserDemo.java
  28219. (createContent): Only create new content if we don't have one
  28220. already.
  28221. * examples/gnu/classpath/examples/swing/ScrollBarDemo.java
  28222. (createContent): Only create new content if we don't have one
  28223. already.
  28224. * examples/gnu/classpath/examples/swing/SliderDemo.java
  28225. (createContent): Only create new content if we don't have one
  28226. already.
  28227. * examples/gnu/classpath/examples/swing/TableDemo.java
  28228. (createContent): Only create new content if we don't have one
  28229. already.
  28230. * examples/gnu/classpath/examples/swing/TextFieldDemo.java
  28231. (createContent): Only create new content if we don't have one
  28232. already.
  28233. 2006-01-27 Lillian Angel <langel@redhat.com>
  28234. * javax/swing/text/DefaultStyledDocument.java
  28235. (insertFirstContentTag): Removed check, not needed. This
  28236. still needs to be fixed for some cases. Added call to
  28237. recreateLeaves.
  28238. (createFracture): Added call to recreateLeaves.
  28239. (recreateLeaves): New method used to recreate all the
  28240. leaves after the initial insertion. This still needs
  28241. more work.
  28242. (handleInsertAfterNewline): Removed else, not needed.
  28243. 2006-01-27 Roman Kennke <kennke@aicas.com>
  28244. * javax/swing/JLayeredPane.java
  28245. (inserIndexForLayer): Fixed direction of search.
  28246. 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  28247. * javax/swing/JTree.java (constructor): Put EXPANDED for the root
  28248. node into nodeStates.
  28249. 2006-01-27 Roman Kennke <kennke@aicas.com>
  28250. * javax/swing/JLayeredPane.java
  28251. (FRAME_CONTENT_LAYER): Made field final.
  28252. (componentToLayer): Made field private.
  28253. (rectCache): Removed field.
  28254. (layers): Removed field.
  28255. (JLayeredPane()): Removed initialization of removed fields.
  28256. (getLayer): Rewritten to make use of client properties in
  28257. JComponents and to be more straighforward.
  28258. (static getLayer): Rewritten to make use of client properties in
  28259. JComponents.
  28260. (layerToRange): Removed method.
  28261. (incrLayer): Removed method.
  28262. (decrLayer): Removed method.
  28263. (highestLayer): Rewritten to be more straightforward.
  28264. (lowestLayer): Rewritten to be more straightforward.
  28265. (getPosition): Rewritten to be more straightforward.
  28266. (getComponentsInLayer): Rewritten to be more straightforward.
  28267. (getComponentCountInLayer): Rewritten to be more straightforward.
  28268. (getIndexOf): Rewritten to be more straightforward.
  28269. (inserIndexForLayer): Rewritten to be more straightforward.
  28270. (remove): Rewritten to be more straightforward.
  28271. (setLayer): Rewritten to be more straightforward.
  28272. (addImpl): Rewritten to be more straightforward.
  28273. (putLayer): Rewritten to be more straightforward.
  28274. 2006-01-27 Anthony Balkissoon <abalkiss@redhat.com>
  28275. * java/lang/Character.java:
  28276. (offsetByCodePoints(CharSequence, int, int)): New API method.
  28277. (offsetByCodePoints(char[], int, int, int, int)): Likewise.
  28278. (toChars): Throw the Exception that the docs say we throw.
  28279. (codePointAt): Fixed an off-by-one error in the bounds of the if
  28280. statement.
  28281. * java/lang/String.java:
  28282. (String(int[], int, int)): New API constructor.
  28283. 2006-01-27 Lillian Angel <langel@redhat.com>
  28284. * javax/swing/text/DefaultStyledDocument.java
  28285. (insert): Moved this loop to insertUpdate.
  28286. (insertUpdate): Likewise. Fixed variable
  28287. names. Incremented pos if new paragraph
  28288. is inserted.
  28289. (split): Changed edits to use replace instead. Prevents
  28290. assertion errors.
  28291. (insertFirstContentTag): Removed else.
  28292. (insertContentTag): Implemented else for JoinNextDirection.
  28293. (createFracture): Fixed up code, still not fully complete.
  28294. (insertFracture): Fixed to use return value from
  28295. recreateAfterFracture.
  28296. (recreateAfterFracture): Changed to return an array of the
  28297. elements to be added. This prevents an assertion error.
  28298. (contains): New function checks if an element is already in
  28299. the Vector. Vector's contain function was not enough to use.
  28300. (addAddedElement): Changed to use new contains function.
  28301. (addAddedElements): Likewise.
  28302. (addRemovedElement): Likewise.
  28303. (addRemovedElements): Likewise.
  28304. 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  28305. PR 25520
  28306. * vm/reference/java/io/VMObjectInputStream.java (loaderAction.run):
  28307. If no user class loaders found on the stack, return the thread
  28308. context class loader. (currentClassLoader): Explained.
  28309. 2006-01-27 Roman Kennke <kennke@aicas.com>
  28310. * java/awt/Container.java
  28311. (swapComponents): Removed unspecified method.
  28312. * javax/swing/JLayeredPane.java
  28313. (setPosition): Reimplemented correctly.
  28314. (swapComponents): New helper method.
  28315. 2006-01-27 Mark Wielaard <mark@klomp.org>
  28316. * configure.ac: Set version to 0.21-pre.
  28317. 2006-01-27 Roman Kennke <kennke@aicas.com>
  28318. PR classpath/25968
  28319. * javax/swing/JComponent.java
  28320. (findOverlapFreeParent): Improved the algorithm to make better use
  28321. of the optimizedDrawingEnabled flag.
  28322. * javax/swing/JLayeredPane.java
  28323. (isOptimizedDrawingEnabled): Reimplemented to match the specs.
  28324. * javax/swing/JViewport.java
  28325. (computeBlit): Fixed check to decide if blitting is possible or not,
  28326. so that it doesn't blit if nothing was scrolled (in order to
  28327. update the buffer when the view updates itself).
  28328. 2006-01-27 Roman Kennke <kennke@aicas.com>
  28329. * javax/swing/plaf/metal/MetalFileChooserUI.java
  28330. (createList): Don't set scrollbar policy.
  28331. 2006-01-27 Roman Kennke <kennke@aicas.com>
  28332. * javax/swing/plaf/basic/BasicPopupMenuUI.java
  28333. (PopupMenuHandler.popupMenuWillBecomeInvisible):
  28334. Fixed to also handle non-Swing toplevel containers.
  28335. (PopupMenuHandler.popupMenuWillBecomeVisible):
  28336. Fixed to also handle non-Swing toplevel containers.
  28337. * javax/swing/Popup.java
  28338. (JWindowPopup.JWindowPopup()): Correctly set parent window on
  28339. popup.
  28340. 2006-01-27 Roman Kennke <kennke@aicas.com>
  28341. * javax/swing/plaf/basic/BasicInternalFrameUI.java
  28342. (InternalFramePropertyChangeListener): Don't implement
  28343. VetoableChangeListener.
  28344. (InternalFramePropertyChangeListener.vetoableChange): Removed.
  28345. (internalFrameVetoableChangeListener): Removed unneeded field.
  28346. (installListeners): Don't install vetoableChangeListener.
  28347. * javax/swing/event/DocumentEvent.java
  28348. (EventType): Made class final.
  28349. 2006-01-27 Roman Kennke <kennke@aicas.com>
  28350. * javax/swing/SwingUtilities.java
  28351. (calculateInsetArea): Removed unneeded method. The method
  28352. calculateInnerArea has the same purpose and is actually specified.
  28353. (calculateInnerArea): Rewritten to not use calculateInsetArea.
  28354. * javax/swing/plaf/basic/BasicMenuItemUI.java
  28355. (paintMenuItem): Use SwingUtilities.calculateInnerArea() instead
  28356. of SwingUtilities.calculateInsetArea().
  28357. 2006-01-27 Roman Kennke <kennke@aicas.com>
  28358. * javax/swing/plaf/basic/BasicTreeUI.java
  28359. (installDefaults): Removed requestFocusInWindow() call.
  28360. * javax/swing/JComponent.java
  28361. (requestFocusInWindow(boolean)): Made method protected.
  28362. (printComponent): Made method protected.
  28363. (printChildren): Made method protected.
  28364. (printComponent): Made method protected.
  28365. (printBorder): Made method protected.
  28366. 2006-01-27 Roman Kennke <kennke@aicas.com>
  28367. * javax/swing/AbstractButton.java
  28368. (ButtonChangeListener.ButtonChangeListener()): Made constructor
  28369. package private.
  28370. * javax/swing/ImageIcon.java
  28371. (component): Made field final.
  28372. (tracker): Made field final.
  28373. * javax/swing/JApplet.java
  28374. (AccessibleJApplet.AccessibleJApplet): Made constructor protected.
  28375. * javax/swing/JCheckBox.java
  28376. (AccessibleJCheckBox.AccessibleJCheckBox): Made constructor
  28377. protected.
  28378. * javax/swing/JDialog.java
  28379. (AccessibleJDialog.AccessibleJDialog): Made constructor protected.
  28380. * javax/swing/JFrame.java
  28381. (AccessibleJFrame.AccessibleJFrame): Made constructor protected.
  28382. * javax/swing/JLayeredPane.java
  28383. (AccessibleJLayered.AccessibleJLayeredPane): Made constructor
  28384. protected.
  28385. (DEFAULT_LAYER): Made field final.
  28386. (PALETTE_LAYER): Made field final.
  28387. (MODAL_LAYER): Made field final.
  28388. (POPUP_LAYER): Made field final.
  28389. (DRAG_LAYER): Made field final.
  28390. * javax/swing/JMenu.java
  28391. (ActionChangeListener): Made class private.
  28392. * javax/swing/JOptionPane.java
  28393. (UNITITIALIZED_VALUE): Made field final.
  28394. * javax/swing/JPanel.java
  28395. (AccessibleJPanel.AccessibleJPanel): Made constructor protected.
  28396. * javax/swing/JPopupMenu.java
  28397. (ActionChangeListener): Made class private.
  28398. * javax/swing/JTree.java
  28399. (paramString): Made method protected.
  28400. * javax/swing/JViewport.java
  28401. (AccessibleJViewport.AccessibleJViewport): Made constructor protected.
  28402. * javax/swing/JWindow.java
  28403. (AccessibleJWindow.AccessibleJWindow): Made constructor protected.
  28404. * javax/swing/RepaintManager.java
  28405. (RepaintWorker): Made class private.
  28406. 2006-01-27 Roman Kennke <kennke@aicas.com>
  28407. * gnu/java/awt/peer/swing/SwingComponentPeer.java
  28408. (handleEvent): Removed debug statement.
  28409. 2006-01-27 Roman Kennke <kennke@aicas.com>
  28410. * java/awt/Component.java
  28411. (coalescePaintEvents): Don't try to optimize coalescing. This hurts
  28412. more than it helps.
  28413. 2006-01-26 Lillian Angel <langel@redhat.com>
  28414. * javax/swing/text/DefaultStyledDocument.java
  28415. (createFracture): Commented out a known problem,
  28416. added FIXME tag.
  28417. 2006-01-26 Lillian Angel <langel@redhat.com>
  28418. * javax/swing/text/DefaultStyledDocument.java
  28419. (ElementBuffer): Added fields.
  28420. (remove): Initialized pos.
  28421. (change): Likewise.
  28422. (insert): Likewise.
  28423. (insertUpdate): Incremented pos. Fixed check, createFracture should
  28424. be called on first tag if it is not ContentType.
  28425. (insertFirstContentTag): Reworked to use proper offsets and
  28426. set offset accordingly. This might need more work in the future.
  28427. (insertContentTag): Likewise. Fixed to use pos, instead of
  28428. offset.
  28429. (createFracture): Fixed to recreate other leaves. Still needs
  28430. more work.
  28431. (insertFracture): Reimplemented.
  28432. (recreateAfterFracture): New method.
  28433. (getParagraphElement): Reimplemented, more efficent.
  28434. 2006-01-26 Christian Thalinger <twisti@complang.tuwien.ac.at>
  28435. * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits)
  28436. (doubleToRawLongBits, longBitsToDouble): Swap the byte
  28437. ordering for little-endian arms without VFP.
  28438. 2006-01-26 Raif S. Naffah <raif@swiftdsl.com.au>
  28439. PR classpath/25981
  28440. * gnu/javax/crypto/jce/GnuCrypto.java (run): Added KeyGenerator entries.
  28441. 2006-01-26 Mark Wielaard <mark@klomp.org>
  28442. Fixes bug #25970 reported by Michael Kay <mike@saxonica.com>
  28443. * java/math/BigDecimal.java (compareTo): Don't strip trailing zeros.
  28444. Add trailing zeros to the fraction of the decimal with the smallest
  28445. scale.
  28446. 2006-01-26 Roman Kennke <kennke@aicas.com>
  28447. * javax/swing/text/html/ObjectView.java: New file.
  28448. 2006-01-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  28449. * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
  28450. Call startEditing when appropriate.
  28451. (WAIT_TILL_EDITING, EDIT, startEditTimer): New fields.
  28452. (startEditing): Always edit if directly ordered from
  28453. MouseHandler.mousePressed.
  28454. * javax/swing/tree/DefaultTreeCellEditor.java (CLICK_COUNT_TO_START):
  28455. New field. (createTreeCellEditor): Set click count to start.
  28456. (getTreeCellEditorComponent): Assing realEditor directly.
  28457. 2006-01-25 Casey Marshall <csm@gnu.org>
  28458. Merging GNU Crypto and Jessie.
  28459. * NEWS: mention the merge in the 0.21 notes.
  28460. * gnu/classpath/debug/Component.java (SSL_APPLICATION): removed.
  28461. (SSL_RECORD_LAYER): new constants.
  28462. * gnu/java/security/provider/Gnu.java (<init>): add new algorithms
  28463. to provider.
  28464. * resource/java/security/classpath.security: add new providers.
  28465. * gnu/javax/crypto/assembly/Assembly.java,
  28466. gnu/javax/crypto/assembly/Cascade.java,
  28467. gnu/javax/crypto/assembly/CascadeStage.java,
  28468. gnu/javax/crypto/assembly/CascadeTransformer.java,
  28469. gnu/javax/crypto/assembly/DeflateTransformer.java,
  28470. gnu/javax/crypto/assembly/Direction.java,
  28471. gnu/javax/crypto/assembly/LoopbackTransformer.java,
  28472. gnu/javax/crypto/assembly/ModeStage.java,
  28473. gnu/javax/crypto/assembly/Operation.java,
  28474. gnu/javax/crypto/assembly/PaddingTransformer.java,
  28475. gnu/javax/crypto/assembly/Stage.java,
  28476. gnu/javax/crypto/assembly/Transformer.java,
  28477. gnu/javax/crypto/assembly/TransformerException.java,
  28478. gnu/javax/crypto/cipher/Anubis.java,
  28479. gnu/javax/crypto/cipher/BaseCipher.java,
  28480. gnu/javax/crypto/cipher/Blowfish.java,
  28481. gnu/javax/crypto/cipher/Cast5.java,
  28482. gnu/javax/crypto/cipher/CipherFactory.java,
  28483. gnu/javax/crypto/cipher/DES.java,
  28484. gnu/javax/crypto/cipher/IBlockCipher.java,
  28485. gnu/javax/crypto/cipher/IBlockCipherSpi.java,
  28486. gnu/javax/crypto/cipher/Khazad.java,
  28487. gnu/javax/crypto/cipher/NullCipher.java,
  28488. gnu/javax/crypto/cipher/Rijndael.java,
  28489. gnu/javax/crypto/cipher/Serpent.java,
  28490. gnu/javax/crypto/cipher/Square.java,
  28491. gnu/javax/crypto/cipher/TripleDES.java,
  28492. gnu/javax/crypto/cipher/Twofish.java,
  28493. gnu/javax/crypto/cipher/WeakKeyException.java,
  28494. gnu/javax/crypto/jce/GnuCrypto.java,
  28495. gnu/javax/crypto/jce/GnuSasl.java,
  28496. gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java,
  28497. gnu/javax/crypto/jce/cipher/AESSpi.java,
  28498. gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
  28499. gnu/javax/crypto/jce/cipher/AnubisSpi.java,
  28500. gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
  28501. gnu/javax/crypto/jce/cipher/Cast5Spi.java,
  28502. gnu/javax/crypto/jce/cipher/CipherAdapter.java,
  28503. gnu/javax/crypto/jce/cipher/DESSpi.java,
  28504. gnu/javax/crypto/jce/cipher/KhazadSpi.java,
  28505. gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
  28506. gnu/javax/crypto/jce/cipher/PBES2.java,
  28507. gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
  28508. gnu/javax/crypto/jce/cipher/SerpentSpi.java,
  28509. gnu/javax/crypto/jce/cipher/SquareSpi.java,
  28510. gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
  28511. gnu/javax/crypto/jce/cipher/TwofishSpi.java,
  28512. gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java,
  28513. gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java,
  28514. gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java,
  28515. gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java,
  28516. gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java,
  28517. gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java,
  28518. gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java,
  28519. gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java,
  28520. gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java,
  28521. gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java,
  28522. gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java,
  28523. gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java,
  28524. gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java,
  28525. gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java,
  28526. gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java,
  28527. gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java,
  28528. gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java,
  28529. gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java,
  28530. gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java,
  28531. gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java,
  28532. gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java,
  28533. gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java,
  28534. gnu/javax/crypto/jce/keyring/GnuKeyring.java,
  28535. gnu/javax/crypto/jce/mac/HMacHavalSpi.java,
  28536. gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
  28537. gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
  28538. gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
  28539. gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
  28540. gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
  28541. gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
  28542. gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
  28543. gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
  28544. gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
  28545. gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
  28546. gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
  28547. gnu/javax/crypto/jce/mac/MacAdapter.java,
  28548. gnu/javax/crypto/jce/mac/OMacAnubisImpl.java,
  28549. gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java,
  28550. gnu/javax/crypto/jce/mac/OMacCast5Impl.java,
  28551. gnu/javax/crypto/jce/mac/OMacDESImpl.java,
  28552. gnu/javax/crypto/jce/mac/OMacImpl.java,
  28553. gnu/javax/crypto/jce/mac/OMacKhazadImpl.java,
  28554. gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java,
  28555. gnu/javax/crypto/jce/mac/OMacSerpentImpl.java,
  28556. gnu/javax/crypto/jce/mac/OMacSquareImpl.java,
  28557. gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java,
  28558. gnu/javax/crypto/jce/mac/OMacTwofishImpl.java,
  28559. gnu/javax/crypto/jce/mac/TMMH16Spi.java,
  28560. gnu/javax/crypto/jce/mac/UHash32Spi.java,
  28561. gnu/javax/crypto/jce/mac/UMac32Spi.java,
  28562. gnu/javax/crypto/jce/params/BlockCipherParameters.java,
  28563. gnu/javax/crypto/jce/params/DEREncodingException.java,
  28564. gnu/javax/crypto/jce/params/DERReader.java,
  28565. gnu/javax/crypto/jce/params/DERWriter.java,
  28566. gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java,
  28567. gnu/javax/crypto/jce/prng/CSPRNGSpi.java,
  28568. gnu/javax/crypto/jce/prng/FortunaImpl.java,
  28569. gnu/javax/crypto/jce/prng/ICMRandomSpi.java,
  28570. gnu/javax/crypto/jce/prng/UMacRandomSpi.java,
  28571. gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java,
  28572. gnu/javax/crypto/jce/spec/TMMHParameterSpec.java,
  28573. gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java,
  28574. gnu/javax/crypto/key/BaseKeyAgreementParty.java,
  28575. gnu/javax/crypto/key/GnuSecretKey.java,
  28576. gnu/javax/crypto/key/IKeyAgreementParty.java,
  28577. gnu/javax/crypto/key/IncomingMessage.java,
  28578. gnu/javax/crypto/key/KeyAgreementException.java,
  28579. gnu/javax/crypto/key/KeyAgreementFactory.java,
  28580. gnu/javax/crypto/key/OutgoingMessage.java,
  28581. gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java,
  28582. gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java,
  28583. gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java,
  28584. gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
  28585. gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java,
  28586. gnu/javax/crypto/key/dh/ElGamalReceiver.java,
  28587. gnu/javax/crypto/key/dh/ElGamalSender.java,
  28588. gnu/javax/crypto/key/dh/GnuDHKey.java,
  28589. gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java,
  28590. gnu/javax/crypto/key/dh/GnuDHPrivateKey.java,
  28591. gnu/javax/crypto/key/dh/GnuDHPublicKey.java,
  28592. gnu/javax/crypto/key/dh/RFC2631.java,
  28593. gnu/javax/crypto/key/srp6/SRP6Host.java,
  28594. gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java,
  28595. gnu/javax/crypto/key/srp6/SRP6SaslClient.java,
  28596. gnu/javax/crypto/key/srp6/SRP6SaslServer.java,
  28597. gnu/javax/crypto/key/srp6/SRP6TLSClient.java,
  28598. gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
  28599. gnu/javax/crypto/key/srp6/SRP6User.java,
  28600. gnu/javax/crypto/key/srp6/SRPAlgorithm.java,
  28601. gnu/javax/crypto/key/srp6/SRPKey.java,
  28602. gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java,
  28603. gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java,
  28604. gnu/javax/crypto/key/srp6/SRPPrivateKey.java,
  28605. gnu/javax/crypto/key/srp6/SRPPublicKey.java,
  28606. gnu/javax/crypto/keyring/AuthenticatedEntry.java,
  28607. gnu/javax/crypto/keyring/BaseKeyring.java,
  28608. gnu/javax/crypto/keyring/BinaryDataEntry.java,
  28609. gnu/javax/crypto/keyring/CertPathEntry.java,
  28610. gnu/javax/crypto/keyring/CertificateEntry.java,
  28611. gnu/javax/crypto/keyring/CompressedEntry.java,
  28612. gnu/javax/crypto/keyring/EncryptedEntry.java,
  28613. gnu/javax/crypto/keyring/Entry.java,
  28614. gnu/javax/crypto/keyring/EnvelopeEntry.java,
  28615. gnu/javax/crypto/keyring/GnuPrivateKeyring.java,
  28616. gnu/javax/crypto/keyring/GnuPublicKeyring.java,
  28617. gnu/javax/crypto/keyring/IKeyring.java,
  28618. gnu/javax/crypto/keyring/IPrivateKeyring.java,
  28619. gnu/javax/crypto/keyring/IPublicKeyring.java,
  28620. gnu/javax/crypto/keyring/MalformedKeyringException.java,
  28621. gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java,
  28622. gnu/javax/crypto/keyring/MeteredInputStream.java,
  28623. gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java,
  28624. gnu/javax/crypto/keyring/PasswordEncryptedEntry.java,
  28625. gnu/javax/crypto/keyring/PasswordProtectedEntry.java,
  28626. gnu/javax/crypto/keyring/PrimitiveEntry.java,
  28627. gnu/javax/crypto/keyring/PrivateKeyEntry.java,
  28628. gnu/javax/crypto/keyring/Properties.java,
  28629. gnu/javax/crypto/keyring/PublicKeyEntry.java,
  28630. gnu/javax/crypto/mac/BaseMac.java,
  28631. gnu/javax/crypto/mac/HMac.java,
  28632. gnu/javax/crypto/mac/HMacFactory.java,
  28633. gnu/javax/crypto/mac/IMac.java,
  28634. gnu/javax/crypto/mac/MacFactory.java,
  28635. gnu/javax/crypto/mac/MacInputStream.java,
  28636. gnu/javax/crypto/mac/MacOutputStream.java,
  28637. gnu/javax/crypto/mac/OMAC.java,
  28638. gnu/javax/crypto/mac/TMMH16.java,
  28639. gnu/javax/crypto/mac/UHash32.java,
  28640. gnu/javax/crypto/mac/UMac32.java,
  28641. gnu/javax/crypto/mode/BaseMode.java,
  28642. gnu/javax/crypto/mode/CBC.java,
  28643. gnu/javax/crypto/mode/CFB.java,
  28644. gnu/javax/crypto/mode/CTR.java,
  28645. gnu/javax/crypto/mode/EAX.java,
  28646. gnu/javax/crypto/mode/ECB.java,
  28647. gnu/javax/crypto/mode/IAuthenticatedMode.java,
  28648. gnu/javax/crypto/mode/ICM.java,
  28649. gnu/javax/crypto/mode/IMode.java,
  28650. gnu/javax/crypto/mode/ModeFactory.java,
  28651. gnu/javax/crypto/mode/OFB.java,
  28652. gnu/javax/crypto/pad/BasePad.java,
  28653. gnu/javax/crypto/pad/IPad.java,
  28654. gnu/javax/crypto/pad/PKCS1_V1_5.java,
  28655. gnu/javax/crypto/pad/PKCS7.java,
  28656. gnu/javax/crypto/pad/PadFactory.java,
  28657. gnu/javax/crypto/pad/SSL3.java,
  28658. gnu/javax/crypto/pad/TBC.java,
  28659. gnu/javax/crypto/pad/TLS1.java,
  28660. gnu/javax/crypto/pad/WrongPaddingException.java,
  28661. gnu/javax/crypto/prng/ARCFour.java,
  28662. gnu/javax/crypto/prng/CSPRNG.java,
  28663. gnu/javax/crypto/prng/Fortuna.java,
  28664. gnu/javax/crypto/prng/ICMGenerator.java,
  28665. gnu/javax/crypto/prng/IPBE.java,
  28666. gnu/javax/crypto/prng/PBKDF2.java,
  28667. gnu/javax/crypto/prng/PRNGFactory.java,
  28668. gnu/javax/crypto/prng/UMacGenerator.java,
  28669. gnu/javax/crypto/sasl/AuthInfo.java,
  28670. gnu/javax/crypto/sasl/AuthInfoProviderFactory.java,
  28671. gnu/javax/crypto/sasl/ClientFactory.java,
  28672. gnu/javax/crypto/sasl/ClientMechanism.java,
  28673. gnu/javax/crypto/sasl/ConfidentialityException.java,
  28674. gnu/javax/crypto/sasl/IAuthInfoProvider.java,
  28675. gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java,
  28676. gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
  28677. gnu/javax/crypto/sasl/InputBuffer.java,
  28678. gnu/javax/crypto/sasl/IntegrityException.java,
  28679. gnu/javax/crypto/sasl/NoSuchMechanismException.java,
  28680. gnu/javax/crypto/sasl/NoSuchUserException.java,
  28681. gnu/javax/crypto/sasl/OutputBuffer.java,
  28682. gnu/javax/crypto/sasl/SaslEncodingException.java,
  28683. gnu/javax/crypto/sasl/SaslInputStream.java,
  28684. gnu/javax/crypto/sasl/SaslOutputStream.java,
  28685. gnu/javax/crypto/sasl/SaslUtil.java,
  28686. gnu/javax/crypto/sasl/ServerFactory.java,
  28687. gnu/javax/crypto/sasl/ServerMechanism.java,
  28688. gnu/javax/crypto/sasl/UserAlreadyExistsException.java,
  28689. gnu/javax/crypto/sasl/anonymous/AnonymousClient.java,
  28690. gnu/javax/crypto/sasl/anonymous/AnonymousServer.java,
  28691. gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java,
  28692. gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java,
  28693. gnu/javax/crypto/sasl/crammd5/CramMD5Client.java,
  28694. gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java,
  28695. gnu/javax/crypto/sasl/crammd5/CramMD5Server.java,
  28696. gnu/javax/crypto/sasl/crammd5/CramMD5Util.java,
  28697. gnu/javax/crypto/sasl/crammd5/PasswordFile.java,
  28698. gnu/javax/crypto/sasl/plain/PasswordFile.java,
  28699. gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java,
  28700. gnu/javax/crypto/sasl/plain/PlainClient.java,
  28701. gnu/javax/crypto/sasl/plain/PlainRegistry.java,
  28702. gnu/javax/crypto/sasl/plain/PlainServer.java,
  28703. gnu/javax/crypto/sasl/srp/CALG.java,
  28704. gnu/javax/crypto/sasl/srp/ClientStore.java,
  28705. gnu/javax/crypto/sasl/srp/IALG.java,
  28706. gnu/javax/crypto/sasl/srp/KDF.java,
  28707. gnu/javax/crypto/sasl/srp/PasswordFile.java,
  28708. gnu/javax/crypto/sasl/srp/SRP.java,
  28709. gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java,
  28710. gnu/javax/crypto/sasl/srp/SRPClient.java,
  28711. gnu/javax/crypto/sasl/srp/SRPRegistry.java,
  28712. gnu/javax/crypto/sasl/srp/SRPServer.java,
  28713. gnu/javax/crypto/sasl/srp/SecurityContext.java,
  28714. gnu/javax/crypto/sasl/srp/ServerStore.java,
  28715. gnu/javax/crypto/sasl/srp/StoreEntry.java,
  28716. gnu/javax/net/ssl/Base64.java,
  28717. gnu/javax/net/ssl/EntropySource.java,
  28718. gnu/javax/net/ssl/NullManagerParameters.java,
  28719. gnu/javax/net/ssl/PrivateCredentials.java,
  28720. gnu/javax/net/ssl/SRPManagerParameters.java,
  28721. gnu/javax/net/ssl/SRPTrustManager.java,
  28722. gnu/javax/net/ssl/StaticTrustAnchors.java,
  28723. gnu/javax/net/ssl/provider/Alert.java,
  28724. gnu/javax/net/ssl/provider/AlertException.java,
  28725. gnu/javax/net/ssl/provider/Certificate.java,
  28726. gnu/javax/net/ssl/provider/CertificateRequest.java,
  28727. gnu/javax/net/ssl/provider/CertificateType.java,
  28728. gnu/javax/net/ssl/provider/CertificateVerify.java,
  28729. gnu/javax/net/ssl/provider/CipherSuite.java,
  28730. gnu/javax/net/ssl/provider/ClientHello.java,
  28731. gnu/javax/net/ssl/provider/ClientKeyExchange.java,
  28732. gnu/javax/net/ssl/provider/CompressionMethod.java,
  28733. gnu/javax/net/ssl/provider/Constructed.java,
  28734. gnu/javax/net/ssl/provider/ContentType.java,
  28735. gnu/javax/net/ssl/provider/Context.java,
  28736. gnu/javax/net/ssl/provider/DiffieHellman.java,
  28737. gnu/javax/net/ssl/provider/DigestInputStream.java,
  28738. gnu/javax/net/ssl/provider/DigestOutputStream.java,
  28739. gnu/javax/net/ssl/provider/Enumerated.java,
  28740. gnu/javax/net/ssl/provider/Extension.java,
  28741. gnu/javax/net/ssl/provider/Extensions.java,
  28742. gnu/javax/net/ssl/provider/Finished.java,
  28743. gnu/javax/net/ssl/provider/GNUSecurityParameters.java,
  28744. gnu/javax/net/ssl/provider/Handshake.java,
  28745. gnu/javax/net/ssl/provider/JCESecurityParameters.java,
  28746. gnu/javax/net/ssl/provider/JDBCSessionContext.java,
  28747. gnu/javax/net/ssl/provider/Jessie.java,
  28748. gnu/javax/net/ssl/provider/JessieDHPrivateKey.java,
  28749. gnu/javax/net/ssl/provider/JessieDHPublicKey.java,
  28750. gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java,
  28751. gnu/javax/net/ssl/provider/JessieRSAPublicKey.java,
  28752. gnu/javax/net/ssl/provider/KeyPool.java,
  28753. gnu/javax/net/ssl/provider/MacException.java,
  28754. gnu/javax/net/ssl/provider/OverflowException.java,
  28755. gnu/javax/net/ssl/provider/PRNG.java,
  28756. gnu/javax/net/ssl/provider/ProtocolVersion.java,
  28757. gnu/javax/net/ssl/provider/Random.java,
  28758. gnu/javax/net/ssl/provider/RecordInput.java,
  28759. gnu/javax/net/ssl/provider/RecordInputStream.java,
  28760. gnu/javax/net/ssl/provider/RecordOutputStream.java,
  28761. gnu/javax/net/ssl/provider/RecordingInputStream.java,
  28762. gnu/javax/net/ssl/provider/SRPTrustManagerFactory.java,
  28763. gnu/javax/net/ssl/provider/SSLHMac.java,
  28764. gnu/javax/net/ssl/provider/SSLRSASignature.java,
  28765. gnu/javax/net/ssl/provider/SSLRandom.java,
  28766. gnu/javax/net/ssl/provider/SSLServerSocket.java,
  28767. gnu/javax/net/ssl/provider/SSLServerSocketFactory.java,
  28768. gnu/javax/net/ssl/provider/SSLSocket.java,
  28769. gnu/javax/net/ssl/provider/SSLSocketFactory.java,
  28770. gnu/javax/net/ssl/provider/SSLSocketInputStream.java,
  28771. gnu/javax/net/ssl/provider/SSLSocketOutputStream.java,
  28772. gnu/javax/net/ssl/provider/SecurityParameters.java,
  28773. gnu/javax/net/ssl/provider/ServerHello.java,
  28774. gnu/javax/net/ssl/provider/ServerKeyExchange.java,
  28775. gnu/javax/net/ssl/provider/Session.java,
  28776. gnu/javax/net/ssl/provider/SessionContext.java,
  28777. gnu/javax/net/ssl/provider/Signature.java,
  28778. gnu/javax/net/ssl/provider/SynchronizedRandom.java,
  28779. gnu/javax/net/ssl/provider/TLSHMac.java,
  28780. gnu/javax/net/ssl/provider/TLSRandom.java,
  28781. gnu/javax/net/ssl/provider/Util.java,
  28782. gnu/javax/net/ssl/provider/X509KeyManagerFactory.java,
  28783. gnu/javax/net/ssl/provider/X509TrustManagerFactory.java,
  28784. gnu/javax/net/ssl/provider/XMLSessionContext.java,
  28785. gnu/javax/security/auth/Password.java,
  28786. gnu/javax/security/auth/callback/AWTCallbackHandler.java,
  28787. gnu/javax/security/auth/callback/AbstractCallbackHandler.java,
  28788. gnu/javax/security/auth/callback/ConsoleCallbackHandler.java,
  28789. gnu/javax/security/auth/callback/DefaultCallbackHandler.java,
  28790. gnu/javax/security/auth/callback/GnuCallbacks.java,
  28791. gnu/javax/security/auth/callback/SwingCallbackHandler.java,
  28792. gnu/java/security/Registry.java,
  28793. gnu/java/security/Properties.java,
  28794. gnu/java/security/hash/BaseHash.java,
  28795. gnu/java/security/hash/HashFactory.java,
  28796. gnu/java/security/hash/Haval.java,
  28797. gnu/java/security/hash/IMessageDigest.java,
  28798. gnu/java/security/hash/MD2.java,
  28799. gnu/java/security/hash/MD4.java,
  28800. gnu/java/security/hash/MD5.java,
  28801. gnu/java/security/hash/RipeMD128.java,
  28802. gnu/java/security/hash/RipeMD160.java,
  28803. gnu/java/security/hash/Sha160.java,
  28804. gnu/java/security/hash/Sha256.java,
  28805. gnu/java/security/hash/Sha384.java,
  28806. gnu/java/security/hash/Sha512.java,
  28807. gnu/java/security/hash/Tiger.java,
  28808. gnu/java/security/hash/Whirlpool.java,
  28809. gnu/java/security/jce/hash/HavalSpi.java,
  28810. gnu/java/security/jce/hash/MD2Spi.java,
  28811. gnu/java/security/jce/hash/MD4Spi.java,
  28812. gnu/java/security/jce/hash/MD5Spi.java,
  28813. gnu/java/security/jce/hash/MessageDigestAdapter.java,
  28814. gnu/java/security/jce/hash/RipeMD128Spi.java,
  28815. gnu/java/security/jce/hash/RipeMD160Spi.java,
  28816. gnu/java/security/jce/hash/Sha160Spi.java,
  28817. gnu/java/security/jce/hash/Sha256Spi.java,
  28818. gnu/java/security/jce/hash/Sha384Spi.java,
  28819. gnu/java/security/jce/hash/Sha512Spi.java,
  28820. gnu/java/security/jce/hash/TigerSpi.java,
  28821. gnu/java/security/jce/hash/WhirlpoolSpi.java,
  28822. gnu/java/security/jce/prng/HavalRandomSpi.java,
  28823. gnu/java/security/jce/prng/MD2RandomSpi.java,
  28824. gnu/java/security/jce/prng/MD4RandomSpi.java,
  28825. gnu/java/security/jce/prng/MD5RandomSpi.java,
  28826. gnu/java/security/jce/prng/RipeMD128RandomSpi.java,
  28827. gnu/java/security/jce/prng/RipeMD160RandomSpi.java,
  28828. gnu/java/security/jce/prng/SecureRandomAdapter.java,
  28829. gnu/java/security/jce/prng/Sha160RandomSpi.java,
  28830. gnu/java/security/jce/prng/Sha256RandomSpi.java,
  28831. gnu/java/security/jce/prng/Sha384RandomSpi.java,
  28832. gnu/java/security/jce/prng/Sha512RandomSpi.java,
  28833. gnu/java/security/jce/prng/TigerRandomSpi.java,
  28834. gnu/java/security/jce/prng/WhirlpoolRandomSpi.java,
  28835. gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
  28836. gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
  28837. gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
  28838. gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java,
  28839. gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
  28840. gnu/java/security/jce/sig/SignatureAdapter.java,
  28841. gnu/java/security/key/IKeyPairCodec.java,
  28842. gnu/java/security/key/IKeyPairGenerator.java,
  28843. gnu/java/security/key/KeyPairCodecFactory.java,
  28844. gnu/java/security/key/KeyPairGeneratorFactory.java,
  28845. gnu/java/security/key/dss/DSSKey.java,
  28846. gnu/java/security/key/dss/DSSKeyPairGenerator.java,
  28847. gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
  28848. gnu/java/security/key/dss/DSSPrivateKey.java,
  28849. gnu/java/security/key/dss/DSSPublicKey.java,
  28850. gnu/java/security/key/dss/FIPS186.java,
  28851. gnu/java/security/key/rsa/GnuRSAKey.java,
  28852. gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
  28853. gnu/java/security/key/rsa/GnuRSAPublicKey.java,
  28854. gnu/java/security/key/rsa/RSAKeyPairGenerator.java,
  28855. gnu/java/security/key/rsa/RSAKeyPairRawCodec.java,
  28856. gnu/java/security/prng/BasePRNG.java,
  28857. gnu/java/security/prng/EntropySource.java,
  28858. gnu/java/security/prng/IRandom.java,
  28859. gnu/java/security/prng/LimitReachedException.java,
  28860. gnu/java/security/prng/MDGenerator.java,
  28861. gnu/java/security/prng/PRNGFactory.java,
  28862. gnu/java/security/prng/RandomEvent.java,
  28863. gnu/java/security/prng/RandomEventListener.java,
  28864. gnu/java/security/sig/BaseSignature.java,
  28865. gnu/java/security/sig/ISignature.java,
  28866. gnu/java/security/sig/ISignatureCodec.java,
  28867. gnu/java/security/sig/SignatureFactory.java,
  28868. gnu/java/security/sig/dss/DSSSignature.java,
  28869. gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
  28870. gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java,
  28871. gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java,
  28872. gnu/java/security/sig/rsa/EMSA_PSS.java,
  28873. gnu/java/security/sig/rsa/RSA.java,
  28874. gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java,
  28875. gnu/java/security/sig/rsa/RSAPSSSignature.java,
  28876. gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
  28877. gnu/java/security/util/Base64.java,
  28878. gnu/java/security/util/ExpirableObject.java,
  28879. gnu/java/security/util/Prime2.java,
  28880. gnu/java/security/util/Sequence.java,
  28881. gnu/java/security/util/SimpleList.java,
  28882. gnu/java/security/util/Util.java,
  28883. resource/gnu/javax/security/auth/callback/MessagesBundle.properties:
  28884. new files imported from GNU Crypto and Jessie.
  28885. 2006-01-25 Tom Tromey <tromey@redhat.com>
  28886. * gnu/java/net/protocol/http/ChunkedInputStream.java (read):
  28887. Fixed calculation of number of bytes to read.
  28888. (size, count, meta, eof): Document.
  28889. 2006-01-25 Anthony Balkissoon <abalkiss@redhat.com>
  28890. * java/lang/Character.java:
  28891. (codePointCount(char[], int, int)): New API method.
  28892. (codePointCount(CharSequence, int, int)): Likewise.
  28893. 2006-01-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  28894. PR 25205
  28895. * javax/swing/DefaultCellEditor.java (getTreeCellEditorComponent):
  28896. Rewritten.
  28897. * javax/swing/JTree.java (stopEditing, cancelEditing): Return without
  28898. action if not editing.
  28899. * javax/swing/plaf/basic/BasicTreeUI.java
  28900. (CellEditorHandler.editingCancelled): Delegate to cancelEditing.
  28901. (CellEditorHandler.editingStopped): Delegate to stopEditing.
  28902. (EditorUpdateTimer): Removed.
  28903. (TreeAction.actionPerformed): Stop and not cancel the current editing
  28904. when starting editing another node.
  28905. (editorTimer, newVal): Removed.
  28906. (cancelEditing): Do not send the cancel message.
  28907. (completeEditing): Obtain the edited value from the editor.
  28908. (finish): New method.
  28909. (paintRow): Do not paint the editing component here.
  28910. (startEditing, stopEditing): Rewritten.
  28911. * javax/swing/tree/DefaultTreeCellEditor.java
  28912. (DefaultTextField): Added SVUID.
  28913. (EditorContainer): Rewritten.
  28914. (RealEditorListener): New inner class.
  28915. (ICON_TEXT_GAP, TREE_ICON_GAP: New constants).
  28916. (constructor): Add cell editor listener. Do not instantiate timer.
  28917. (actionPerformed): Return without action.
  28918. (cancelCellEditing): Rewritten.
  28919. (createTreeCellEditor): Add cell editor listener to the editor.
  28920. (getCellEditorValue): Request the value from the realEditor.
  28921. (isCellEditable): Removed timer management.
  28922. (prepareForEditing): Remove all components befor adding the
  28923. editingComponent.
  28924. (startEditingTimer): Start only if it is not null.
  28925. (stopCellEditing): Rewritten.
  28926. (stopEditingTimer): New method.
  28927. (valueChanged): Do not configure editing component here.
  28928. 2006-01-25 Roman Kennke <kennke@aicas.com>
  28929. * javax/swing/text/html/FormView.java: New file.
  28930. 2006-01-25 Roman Kennke <kennke@aicas.com>
  28931. * javax/swing/JSplitPane.java
  28932. (addImpl): Call resetToPreferredSizes() when no dividerLocation
  28933. has been set in order to set an initial layout.
  28934. * javax/swing/plaf/basic/BasicSplitPaneUI.java
  28935. (BasicHorizontalLayoutManager.layoutContainer): Fixed error for
  28936. layout of the right component.
  28937. (BasicHorizontalLayoutManager.resetToPreferredSizes): Set the
  28938. dividerLocation to the size of the left component.
  28939. (createDefaultNonContinuousLayoutDivider): Fetch the color from
  28940. the UIManager.
  28941. (setDividerLocation): Don't validate the location here. Sometimes
  28942. the divider needs to be set to an invalid location.
  28943. (startDragging): Don't revalidate and repaint here.
  28944. (finishDraggingTo): Don't repaint here. Also, don't call
  28945. dragDividerTo() here.
  28946. * javax/swing/plaf/basic/BasicLookAndFeel.java
  28947. (initComponentDefaults): Added SplitPaneDivider.draggingColor
  28948. default value.
  28949. 2006-01-25 Roman Kennke <kennke@aicas.com>
  28950. * javax/swing/JSplitPane.java
  28951. (addImpl): Removed invalidate() and layout() call.
  28952. * javax/swing/plaf/basic/BasicSplitPaneUI.java
  28953. (PropertyHandler.propertyChange): Remove layoutContainer() and
  28954. repaint() call.
  28955. 2006-01-25 Roman Kennke <kennke@aicas.com>
  28956. * configure.ac
  28957. * native/Makefile.am
  28958. * native/jni/classpath/Makefile.am
  28959. * native/jni/classpath/jcl.c
  28960. * native/jni/classpath/jcl.h
  28961. * native/jni/classpath/native_state.c
  28962. * native/jni/gtk-peer/Makefile.am
  28963. * native/jni/java-io/Makefile.am
  28964. * native/jni/java-io/java_io_VMFile.c
  28965. * native/jni/java-io/java_io_VMObjectStreamClass.c
  28966. * native/jni/java-lang/Makefile.am
  28967. * native/jni/java-net/Makefile.am
  28968. * native/jni/java-net/java_net_VMInetAddress.c
  28969. * native/jni/java-net/javanet.c
  28970. * native/jni/java-net/javanet.h
  28971. * native/jni/java-nio/Makefile.am
  28972. * native/jni/java-nio/gnu_java_nio_VMPipe.c
  28973. * native/jni/java-nio/gnu_java_nio_VMSelector.c
  28974. * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
  28975. * native/jni/java-nio/java_nio_MappedByteBufferImpl.c
  28976. * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
  28977. * native/jni/java-util/Makefile.am
  28978. * native/jni/java-util/java_util_VMTimeZone.c
  28979. * native/jni/midi-dssi/Makefile.am
  28980. * native/jni/xmlj/Makefile.am
  28981. * native/target/Makefile.am
  28982. * native/target/Linux/target_native_math.h
  28983. * native/target/Linux/target_native_memory.h
  28984. * native/target/Linux/Makefile.am
  28985. * native/target/Linux/target_native_io.h
  28986. * native/target/Linux/target_native_math_float.h
  28987. * native/target/Linux/target_native_math_int.h
  28988. * native/target/generic/target_generic.c
  28989. * native/target/generic/target_generic_io.c
  28990. * native/target/generic/target_generic_math.h
  28991. * native/target/generic/target_generic_memory.h
  28992. * native/target/generic/target_generic_misc.c
  28993. * native/target/generic/target_generic_network.c
  28994. * native/target/generic/Makefile.am
  28995. * native/target/generic/target_generic.h
  28996. * native/target/generic/target_generic_file.h
  28997. * native/target/generic/target_generic_io.h
  28998. * native/target/generic/target_generic_math_float.h
  28999. * native/target/generic/target_generic_math_int.h
  29000. * native/target/generic/target_generic_misc.h
  29001. * native/target/generic/target_generic_network.h:
  29002. Reverted target native related changes back to the state of the
  29003. 0.20 release.
  29004. * native/target/MinGW/.cvsignore
  29005. * native/target/MinGW/Makefile.am
  29006. * native/target/MinGW/target_native.h
  29007. * native/target/MinGW/target_native_file.h
  29008. * native/target/MinGW/target_native_io.h
  29009. * native/target/MinGW/target_native_math.h
  29010. * native/target/MinGW/target_native_memory.h
  29011. * native/target/MinGW/target_native_misc.h
  29012. * native/target/MinGW/target_native_network.h
  29013. * native/target/RTEMS/.cvsignore
  29014. * native/target/RTEMS/Makefile.am
  29015. * native/target/RTEMS/target_native.h
  29016. * native/target/RTEMS/target_native_file.h
  29017. * native/target/RTEMS/target_native_io.h
  29018. * native/target/RTEMS/target_native_math.h
  29019. * native/target/RTEMS/target_native_memory.h
  29020. * native/target/RTEMS/target_native_misc.h
  29021. * native/target/RTEMS/target_native_network.h
  29022. * native/target/SunOS/.cvsignore
  29023. * native/target/SunOS/Makefile.am
  29024. * native/target/SunOS/target_native.h
  29025. * native/target/SunOS/target_native_file.h
  29026. * native/target/SunOS/target_native_io.h
  29027. * native/target/SunOS/target_native_math.h
  29028. * native/target/SunOS/target_native_memory.h
  29029. * native/target/SunOS/target_native_misc.h
  29030. * native/target/SunOS/target_native_network.h
  29031. * native/target/embOS/.cvsignore
  29032. * native/target/embOS/Makefile.am
  29033. * native/target/embOS/target_native.h
  29034. * native/target/embOS/target_native_file.h
  29035. * native/target/embOS/target_native_io.c
  29036. * native/target/embOS/target_native_io.h
  29037. * native/target/embOS/target_native_math.h
  29038. * native/target/embOS/target_native_memory.h
  29039. * native/target/embOS/target_native_misc.h
  29040. * native/target/embOS/target_native_network.h
  29041. * native/target/posix/.cvsignore
  29042. * native/target/posix/Makefile.am
  29043. * native/target/posix/target_posix.c
  29044. * native/target/posix/target_posix.h
  29045. * native/target/posix/target_posix_file.c
  29046. * native/target/posix/target_posix_file.h
  29047. * native/target/posix/target_posix_io.c
  29048. * native/target/posix/target_posix_io.h
  29049. * native/target/posix/target_posix_math.c
  29050. * native/target/posix/target_posix_math.h
  29051. * native/target/posix/target_posix_memory.c
  29052. * native/target/posix/target_posix_memory.h
  29053. * native/target/posix/target_posix_misc.c
  29054. * native/target/posix/target_posix_misc.h
  29055. * native/target/posix/target_posix_network.c
  29056. * native/target/posix/target_posix_network.h:
  29057. Removed.
  29058. 2006-01-24 Wolfgang Baer <WBaer@gmx.de>
  29059. * javax/print/PrintService.java,
  29060. * javax/print/DocPrintJob.java,
  29061. * javax/print/CancelablePrintJob.java:
  29062. Added and enhanced api documentation for class and methods.
  29063. 2006-01-24 Wolfgang Baer <WBaer@gmx.de>
  29064. * javax/print/SimpleDoc.java: Make class final.
  29065. * javax/print/attribute/standard/PrinterIsAcceptingJobs.java: Likewise.
  29066. * javax/print/attribute/DateTimeSyntax.java:
  29067. (toString): New overridden method.
  29068. * javax/print/attribute/standard/JobStateReasons.java:
  29069. (add): Use the super.add method to avoid recursion.
  29070. * javax/print/attribute/standard/PrinterStateReasons.java:
  29071. (put): Use the super.put method to avoid recursion.
  29072. 2006-01-24 Robert Schuster <robertschuster@fsfe.org>
  29073. * java/beans/XMLEncoder.java:
  29074. (writeExpression): Added early return (fixes PR #25941).
  29075. (setExceptionListener, anonymous Class): Removed printStackTrace
  29076. call.
  29077. * java/beans/Encoder: Removed unused imports.
  29078. (setupDefaultPersistenceDelegates): Removed unneccessary
  29079. PersistenceDelegates for subclasses.
  29080. * java/beans/PersistenceDelegate:
  29081. (initialize): Use local variable as first argument as it was
  29082. intended once.
  29083. * java/beans/DefaultPersistenceDelegate:
  29084. (initialize): Added call to superclass' implementation, added
  29085. early return.
  29086. 2006-01-24 Tom Tromey <tromey@redhat.com>
  29087. * java/util/regex/PatternSyntaxException.java: Added @since.
  29088. * java/util/regex/Matcher.java (Matcher): Implements MatchResult.
  29089. * java/util/regex/MatchResult.java: New file.
  29090. 2006-01-24 David Gilbert <david.gilbert@object-refinery.com>
  29091. * javax/swing/text/StringContent.java: Added API docs all over, plus
  29092. minor reformatting.
  29093. 2006-01-24 Gary Benson <gbenson@redhat.com>
  29094. * java/net/SocketPermission.java: Implemented serialization.
  29095. 2006-01-24 David Gilbert <david.gilbert@object-refinery.com>
  29096. * javax/swing/text/StringContent.java
  29097. (remove): Modified argument check to prevent removal of last character,
  29098. (getChars): Removed null argument check to allow NullPointerException,
  29099. added API docs,
  29100. (checkLocation): Added API docs and white space.
  29101. 2006-01-23 Lillian Angel <langel@redhat.com>
  29102. * javax/swing/text/DefaultStyledDocument.java
  29103. (insertUpdate): Should only call createFracture with
  29104. StartTagType. Added check.
  29105. (insertContentTag): Should use the tags length for splitting.
  29106. Also, added a check to determine if current's start and end offset are
  29107. equal to the offset and endOffset. If so, only one leaf element
  29108. should be added.
  29109. (createFracture): Removed FIXME. This function is complete.
  29110. (split): Added calls to replace. Changed so the child is
  29111. added immediately to the paragraph. Prevents NPEs.
  29112. 2006-01-23 Mark Wielaard <mark@klomp.org>
  29113. * examples/Makefile.am (EXAMPLE_ZIP): Group cd and commands.
  29114. 2006-01-23 Tom Tromey <tromey@redhat.com>
  29115. * gnu/java/security/x509/X509Certificate.java (parse):
  29116. Unconditionally read value; for version==1 case when reading
  29117. algorithm ID.
  29118. 2006-01-23 Roman Kennke <kennke@aicas.com>
  29119. * javax/swing/plaf/synth/ColorType.java,
  29120. * javax/swing/plaf/synth/Region.java,
  29121. * javax/swing/plaf/synth/SynthConstants.java,
  29122. * javax/swing/plaf/synth/SynthContext.java
  29123. * javax/swing/plaf/synth/SynthGraphicsUtils.java,
  29124. * javax/swing/plaf/synth/SynthLookAndFeel.java,
  29125. * javax/swing/plaf/synth/SynthPainter.java,
  29126. * javax/swing/plaf/synth/SynthStyle.java,
  29127. * javax/swing/plaf/synth/SynthStyleFactory.java,
  29128. * javax/swing/plaf/synth/package.html:
  29129. New files. Added the public API and framework classes for the
  29130. Synth look and feel.
  29131. 2006-01-23 David Gilbert <david.gilbert@object-refinery.com>
  29132. * javax/swing/text/Segment.java: API docs all over.
  29133. 2006-01-23 Lillian Angel <langel@redhat.com>
  29134. * javax/swing/text/DefaultStyledDocument.java
  29135. (split): Should not use createLeafElement and createBranchElement here.
  29136. We should just instaniate the LeafElements and BranchElements instead
  29137. to avoid the case where create*Element is overridden.
  29138. 2006-01-23 Lillian Angel <langel@redhat.com>
  29139. * javax/swing/text/DefaultStyledDocument.java
  29140. (insertFirstContentTag): Moved check outside of if-statement.
  29141. This should be checked before creating the new leaf element.
  29142. (insertFracture): Fixed check to prevent an NPE. The previous
  29143. leaf should only be recreated if it has been created by
  29144. insertFirstContentTag. Also, fixed up code: if the endOffset is
  29145. greater than the offset, then we need to create a temp leaf
  29146. as a place holder. Otherwise, the leaf elements should be
  29147. created normally.
  29148. 2006-01-23 Gary Benson <gbenson@redhat.com>
  29149. * java/net/SocketPermission.java: Almost completely rewritten.
  29150. 2006-01-23 Lillian Angel <langel@redhat.com>
  29151. * javax/swing/text/DefaultStyledDocument.java
  29152. (insertFracture): Set temp leaf's attributes to prevent an NPE.
  29153. 2006-01-23 Lillian Angel <langel@redhat.com>
  29154. * javax/swing/text/DefaultStyledDocument.java:
  29155. Formatted ElementBuffer and added new fields.
  29156. (remove): Added check to determine if length is 0.
  29157. (insertFirstContentTag): Initialized firstCreated to the element that is created
  29158. by the first tag encountered. Removed check in JoinPreviousDirection case, no
  29159. longer needed. In OriginateDirection case, added a loop to remove all old leafs
  29160. that have been recreated.
  29161. (insertContentTag): Cleaned up code. Removed checks that did not do anything.
  29162. (insertFracture): Fixed up code, removed unneeded objects and checks. Added
  29163. FIXME tags to the lines that need to be rewritten.
  29164. 2006-01-23 Mark Wielaard <mark@klomp.org>
  29165. * examples/Makefile.am: Add support for fastjar.
  29166. 2006-01-23 Ito Kazumitsu <kaz@maczuka.gcd.org>
  29167. * gnu/regexp/REToken.java(empty): Made Cloneable.
  29168. * gnu/regexp/RETokenOneOf.java(match): RE.java(match):
  29169. Use separate methods matchN and matchP depending on the
  29170. boolean negative.
  29171. (matchN): New method used when negative. Done as before.
  29172. (matchP): New method used when not negative. Each token is
  29173. tried not by itself but by a clone of it.
  29174. 2006-01-23 Chris Burdess <dog@gnu.org>
  29175. Fixes bug #25906
  29176. * gnu/xml/dom/DomCharacterData.java: Use a separate empty node list
  29177. class to avoid getLength method contention.
  29178. * gnu/xml/stream/SAXParser.java: Rethrow correct exception.
  29179. 2006-01-23 Chris Burdess <dog@gnu.org>
  29180. * native/jni/java-util/Makefile.am: Include library required
  29181. explicitly by BSD systems.
  29182. * native/target/generic/target_generic_misc.h: Remove old commented
  29183. out code.
  29184. * native/target/generic/target_generic_network.h: Fallbacks (to
  29185. SO_NOSIGPIPE and then 0) for non-portable glibc MSG_NOSIGNAL.
  29186. 2006-01-22 Tom Tromey <tromey@redhat.com>
  29187. * native/target/posix/.cvsignore: Added .deps.
  29188. 2006-01-22 Mark Wielaard <mark@klomp.org>
  29189. Fixes bug #25832,
  29190. reported by James Damour <James.Damour@corp.request.com>
  29191. * java/awt/Container.java (addImpl): Use empty string as name when
  29192. null constraints for LayoutManager.addLayoutComponent().
  29193. 2006-01-22 Chris Burdess <dog@gnu.org>
  29194. Fixes bug #25903
  29195. * gnu/xml/dom/DomDocumentBuilder.java: Default to using file URL
  29196. representing current directory as base for relative URLs.
  29197. 2006-01-22 Ito Kazumitsu <kaz@maczuka.gcd.org>
  29198. Fixes bug #25837
  29199. * gnu/regexp/REMatch.java(empty): New boolean indicating
  29200. an empty string matched.
  29201. * gnu/regexp/RE.java(match): Sets empty flag when an empty
  29202. string matched.
  29203. (initialize): Support back reference \10, \11, and so on.
  29204. (parseInt): renamed from getEscapedChar and returns int.
  29205. * gnu/regexp/RETokenRepeated.java(match): Sets empty flag
  29206. when an empty string matched. Fixed a bug of the case where
  29207. an empty string matched. Added special handling of {0}.
  29208. * gnu/regexp/RETokenBackRef.java(match): Sets empty flag
  29209. when an empty string matched. Fixed the case insensitive matching.
  29210. 2006-01-21 Roman Kennke <kennke@aicas.com>
  29211. * javax/swing/plaf/metal/MetalSplitPaneDivider.java
  29212. (paint): Added painting of border if one is installed.
  29213. 2006-01-21 Roman Kennke <kennke@aicas.com>
  29214. PR classpath/25843:
  29215. * javax/swing/plaf/basic/BasicBorders.java
  29216. (getSplitPaneDividerBorder): Use new border constructor
  29217. without arguments.
  29218. (SplitPaneDividerBorder.highlight): Removed unneeded field.
  29219. (SplitPaneDividerBorder.shadow): Removed unneeded field.
  29220. (SplitPaneDividerBorder()): Changed constructor to do nothing. The
  29221. colors are fetched dynamically in the paintBorder method.
  29222. (SplitPaneDividerBorder.paintBorder): Fetch colors dynamically from
  29223. the look and feel.
  29224. (SplitPaneDividerBorder.isBorderOpaque): Returns true
  29225. unconditionally.
  29226. * javax/swing/plaf/basic/BasicLookAndFeel.java
  29227. (initComponentDefaults): Added default for SplitPaneDivider.border.
  29228. * javax/swing/plaf/basic/BasicSplitPaneDivider.java
  29229. (tmpBorder): Removed unneeded inner class.
  29230. (BasicSplitPaneDivider): Removed setting of border.
  29231. (setSplitPaneUI): Don't add the mouse handler to the splitpane
  29232. itself.
  29233. * javax/swing/plaf/basic/BasicSplitPaneUI.java
  29234. (BasicHorizontalLayoutManager.layoutContainer): Mostly rewritten
  29235. to get behaviour right.
  29236. (BasicHorizontalLayoutManager.distributeExtraSpace): Removed
  29237. implementation. This must be rewritten since the layout now works
  29238. slightly different (basically, it shouldn't modify the sizes[]
  29239. here but instead the dividerLocation.
  29240. (dividerLocation): New field.
  29241. (installDefaults): Initialize border on divider.
  29242. (uninstallDefaults): Only remove background color and border from
  29243. splitPane if they are instances of UIDefaults (== not set by
  29244. application).
  29245. (setDividerLocation): Set the dividerLocation field instead of
  29246. doing stunt acts here.
  29247. (getDividerLocation): Return dividerLocation field.
  29248. (getMinimumDividerLocation): Fixed calculation of minimum location.
  29249. 2006-01-21 Guilhem Lavaux <guilhem@kaffe.org>
  29250. * m4/acinclude.m4
  29251. (CLASSPATH_WITH_GLIBJ): Add support for fastjar.
  29252. * lib/Makefile.am: Likewise.
  29253. 2006-01-21 Roman Kennke <kennke@aicas.com>
  29254. * javax/swing/PopupFactory.java
  29255. (getPopup): If there is no Swing root found in any way, use a
  29256. heavyweight popup. This is useful for mixed Swing/AWT GUIs, or
  29257. for the Swing AWT peers.
  29258. 2006-01-20 Tom Tromey <tromey@redhat.com>
  29259. * gnu/java/net/protocol/http/HTTPURLConnection.java (connect):
  29260. Read response body for redirect.
  29261. 2006-01-20 Chris Burdess <dog@gnu.org>
  29262. * gnu/java/net/protocol/http/HTTPURLConnection.java: Don't follow
  29263. redirects on 304.
  29264. 2006-01-20 Lillian Angel <langel@redhat.com>
  29265. * javax/swing/text/DefaultStyledDocument.java
  29266. (pad): Removed, not needed.
  29267. (printElements): Likewise.
  29268. (printEdit): Likewise.
  29269. 2006-01-20 Roman Kennke <kennke@aicas.com>
  29270. * javax/swing/text/DefaultFormatter.java
  29271. (DefaultFormatter): Don't set a value class.
  29272. 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  29273. * javax/swing/DefaultCellEditor.java: Commented.
  29274. 2006-01-19 Roman Kennke <kennke@aicas.com>
  29275. * javax/swing/JOptionPane.java
  29276. Added cast to Frame for JDialog constructor.
  29277. 2006-01-19 Roman Kennke <kennke@aicas.com>
  29278. * javax/swing/JWindow.java
  29279. (JWindow(Window)): Fixed to accept null owner argument.
  29280. (JWindow(Window,GraphicsConfiguration)): Fixed to accept null
  29281. owner argument.
  29282. * javax/swing/SwingUtilities.java
  29283. (getOwnerFrame): Owner parameter and return value are fixed to
  29284. be of type Window for compatibity with the above JWindow
  29285. constructor.
  29286. * javax/swing/JDialog.java
  29287. (JDialog): Added cast to Frame to make sure the correct constructor
  29288. is called.
  29289. * javax/swing/JFileChooser.java
  29290. (createDialog): Added cast to Frame for JDialog constructor.
  29291. 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  29292. * javax/swing/JTable.java (rowAtPoint): Rewritten.
  29293. 2006-01-19 Roman Kennke <kennke@aicas.com>
  29294. * javax/swing/JWindow.java: Added API docs to the constructors.
  29295. 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  29296. * javax/swing/JTable.java: Commenting method headers.
  29297. (EditorUpdateTimer): Removed.
  29298. 2006-01-19 Roman Kennke <kennke@aicas.com>
  29299. * javax/swing/JDialog.java
  29300. (JDialog()): Call SwingUtilities.getOwnerFrame() with null.
  29301. (JDialog(Frame,String,boolean,GraphicsConfiguration)): Call
  29302. SwingUtilities.getOwnerFrame() with the owner argument.
  29303. * javax/swing/JFileChooser.java
  29304. (showOpenDialog(Component)): Call pack() on the dialog instead of
  29305. setting a fixed height.
  29306. (showSaveDialog()): Likewise.
  29307. (showDialog()): Likewise.
  29308. (createDialog): Call SwingUtilities.getOwnerFrame() with null.
  29309. * javax/swing/JOptionPane.java: Call SwingUtilities.getOwnerFrame()
  29310. with null.
  29311. * javax/swing/JWindow.java
  29312. (JWindow()): Call SwingUtilities.getOwnerFrame() with null.
  29313. (JWindow(Frame)): Call SwingUtilities.getOwnerFrame() with owner
  29314. argument.
  29315. * javax/swing/SwingUtilities.java
  29316. (getOwnerFrame): Changed to take a owner parameter that is returned
  29317. as owner frame when not null.
  29318. 2006-01-19 Roman Kennke <kennke@aicas.com>
  29319. * gnu/java/awt/peer/swing/SwingFramePeer.java
  29320. (handleMouseEvent): Fixed handling of mouse events.
  29321. (handleMouseMotionEvent): Fixed handling of mouse events.
  29322. 2006-01-19 Roman Kennke <kennke@aicas.com>
  29323. * native/target/generic/target_generic_misc.c:
  29324. (targetGenericMisc_formatString): Added missing method.
  29325. 2006-01-19 Wolfgang Baer <WBaer@gmx.de>
  29326. * m4/acinclude.m4: Test also for ecj found before exiting configure
  29327. with no javac found error message.
  29328. 2006-01-19 Ito Kazumitsu <kaz@maczuka.gcd.org>
  29329. Fixes bug #23212
  29330. * gnu/regexp/RE.java(initialize): Support escaped characters such as
  29331. \0123, \x1B, \u1234.
  29332. (getEscapedChar): New method.
  29333. (CharExpression): New inner class.
  29334. (getCharExpression): New Method.
  29335. * gnu/regexp/RESyntax.java(RE_OCTAL_CHAR, RE_HEX_CHAR,
  29336. RE_UNICODE_CHAR): New syntax bits.
  29337. 2006-01-19 Roman Kennke <kennke@aicas.com>
  29338. * native/target/Makefile.am: Fixed so that posix stuff is really
  29339. only built when requested.
  29340. 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  29341. * javax/swing/JTable.java (editingStopped, editingCancelled):
  29342. Repaint the edited cell.
  29343. (setValueAt): Do not add the value object to this container.
  29344. (editorTimer, rowBeingEdited, columnBeingEdited, oldCellValue): Removed.
  29345. (editingStopped): Use editingRow, editingColumn and not
  29346. rowBeingEdited, columnBeingEdited. (editValueAt): rewritten.
  29347. (doLayout): Move the editor component, if present, into the new
  29348. location and call repaint(). (moveToCellBeingEdited): new method.
  29349. (TableTextField): new inner class.
  29350. (getDefaultEditor): Instantiante TableTextField, not JTextField.
  29351. (setValueAt): Repaint the changed segment.
  29352. (createDefaultEditors): Implemented.
  29353. (BooleanCellRenderer): Center the checkbox and use the default foreground
  29354. and background colors.
  29355. * javax/swing/plaf/basic/BasicTableUI.java
  29356. (paintCell): Do not paint the caret here. Do not accept unused parameters.
  29357. (paint): No need to allocate rectangle for each cell.
  29358. * javax/swing/DefaultCellEditor.java: Rewritten.
  29359. * examples/gnu/classpath/examples/swing/Demo.java (mkTable):
  29360. Use TableDemo.java table example.
  29361. * examples/gnu/classpath/examples/swing/TableDemo.java: New file.
  29362. 2006-01-19 Roman Kennke <kennke@aicas.com>
  29363. * configure.ac: Added/fixed --enable-posix-layer option to enable
  29364. build of posix layer.
  29365. * native/target/Makefile.am: Added build for posix layer.
  29366. 2006-01-19 Christian Thalinger <twisti@complang.tuwien.ac.at>
  29367. * configure.ac: Set TARGET to Linux per default.
  29368. * native/target/Makefile.am (libtarget_la_LIBADD): Removed
  29369. libtargetos.la.
  29370. * native/target/Linux/Makefile.am: Don't build a libtargetos.la.
  29371. * native/target/generic/Makefile.am (INCLUDES): Renamed to
  29372. AM_CPPFLAGS.
  29373. 2006-01-19 Raif S. Naffah <raif@swiftdsl.com.au>
  29374. * java/security/interfaces/RSAMultiPrimePrivateCrtKey.java: Replaced
  29375. what looked like proprietary documentation with original or new one.
  29376. * java/security/spec/PSSParameterSpec.java: Likewise.
  29377. * java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java: Likewise.
  29378. * java/security/spec/RSAOtherPrimeInfo.java: Likewise.
  29379. * java/security/AlgorithmParameterGenerator.java: Likewise.
  29380. * java/security/AlgorithmParameters.java: Likewise.
  29381. * java/security/Identity.java: Likewise.
  29382. * java/security/IdentityScope.java: Likewise.
  29383. * java/security/KeyFactory.java: Likewise.
  29384. * java/security/KeyPairGenerator.java: Likewise.
  29385. * java/security/MessageDigest.java: Likewise.
  29386. * java/security/Policy.java: Likewise.
  29387. * java/security/ProtectionDomain.java: Likewise.
  29388. * java/security/Security.java: Likewise.
  29389. * java/security/Signature.java: Likewise.
  29390. * java/security/SignatureSpi.java: Likewise.
  29391. * java/security/SignedObject.java: Likewise.
  29392. * java/security/Signer.java: Likewise.
  29393. 2006-01-18 Roman Kennke <kennke@aicas.com>
  29394. * configure.ac: Added --enable-posix-layer option to enable
  29395. build of the posix target layer.
  29396. 2006-01-18 Roman Kennke <kennke@aicas.com>
  29397. * native/jni/java-net/java_net_VMInetAddress.c
  29398. (Java_java_net_VMInetAddress_lookupInaddrAny): Use target native macro
  29399. for INADDR_ANY.
  29400. 2006-01-18 Roman Kennke <kennke@aicas.com>
  29401. * native/jni/java-util/java_util_VMTimeZone.c:
  29402. (Java_java_util_VMTimeZone_getSystemTimeZoneId): Rewritten
  29403. to use target native layer.
  29404. (jint_to_charbuf): Removed unneeded helper function.
  29405. 2006-01-18 Roman Kennke <kennke@aicas.com>
  29406. * native/jni/java-nio/gnu_java_nio_VMPipe.c:
  29407. Removed unnecessary include.
  29408. * native/jni/java-nio/gnu_java_nio_VMSelector.c:
  29409. Reorganized includes to only include sys/* headers when available.
  29410. * native/jni/java-nio/java_nio_MappedByteBufferImpl.c:
  29411. (get_pagesize): Return 0 when nothing else works.
  29412. (Java_java_nio_MappedByteBufferImpl_unmapImpl):
  29413. Replaced munmap() and strerror() with corresponding target macros.
  29414. (Java_java_nio_MappedByteBufferImpl_isLoadedImpl):
  29415. Replaced strerror() with corresponding target macro.
  29416. (Java_java_nio_MappedByteBufferImpl_forceImpl):
  29417. Replaced strerror() with corresponding target macro.
  29418. * native/jni/java-nio/java_nio_VMDirectByteBuffer.c:
  29419. (Java_java_nio_VMDirectByteBuffer_allocate):
  29420. Replaced malloc() with the corresponding target macro.
  29421. (Java_java_nio_VMDirectByteBuffer_free):
  29422. Replaced free() with the corresponding target macro.
  29423. (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2IB):
  29424. Add index to pointer when assigning the value.
  29425. (Java_java_nio_VMDirectByteBuffer_get__Lgnu_classpath_Pointer_2I_3BII):
  29426. Replaced memcpy with corresponding target macro. Add index when
  29427. doing the memcpy, not when fetching the pointer.
  29428. (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2I_3BII):
  29429. Replaced memcpy with corresponding target macro.
  29430. (Java_java_nio_VMDirectByteBuffer_shiftDown):
  29431. Replaced memmove with the corresponding target macro.
  29432. 2006-01-17 Tom Tromey <tromey@redhat.com>
  29433. PR classpath/20198:
  29434. * java/net/URLClassLoader.java (FileURLLoader): Added argument.
  29435. (JarURLLoader): Likewise.
  29436. (addURLImpl): Canonicalize file URLs.
  29437. 2006-01-17 Christian Thalinger <twisti@complang.tuwien.ac.at>
  29438. * configure.ac: Set TARGET.
  29439. * native/Makefile.am, native/jni/classpath/Makefile.am,
  29440. native/jni/gtk-peer/Makefile.am, native/jni/java-io/Makefile.am,
  29441. native/jni/java-lang/Makefile.am, native/jni/java-net/Makefile.am,
  29442. native/jni/java-nio/Makefile.am, native/jni/midi-dssi/Makefile.am,
  29443. native/jni/xmlj/Makefile.am, native/target/Makefile.am,
  29444. native/target/Linux/Makefile.am,
  29445. native/target/generic/Makefile.am,
  29446. native/target/posix/Makefile.am: Build libclasspath.so with jcl
  29447. and target stuff linked in and link it against lib*.so libraries.
  29448. 2006-01-17 Roman Kennke <kennke@aicas.com>
  29449. * native/jni/java-net/javanet.c:
  29450. (_javanet_connect): Changed type of some local variables to jint.
  29451. Fixed error handling to throw a SocketTimeoutException if the
  29452. connection attempt times out.
  29453. (_javanet_bind): Changed type of some local variables to jint.
  29454. (_javanet_accept): Likewise.
  29455. (_javanet_recvfrom): Likewise.
  29456. (_javanet_sendto): Fixed error handling to throw a
  29457. PortUnreachableException when connection is refused.
  29458. (_javanet_get_option): Changed type of some local variables to jint.
  29459. Implemented SOCKOPT_SO_BROADCAST.
  29460. (_javanet_shutdownInput): Replaced shutdown call with corresponding
  29461. target native macro.
  29462. (_javanet_shutdownOutput): Replaced shutdown call with corresponding
  29463. target native macro.
  29464. * native/jni/java-net/javanet.h:
  29465. Defined SOCKET_TIMEOUT_EXCEPTION, PORT_UNREACHABLE_EXCEPTION and
  29466. SOCKOPT_SO_BROADCAST.
  29467. 2006-01-17 Lillian Angel <langel@redhat.com>
  29468. * javax/swing/text/DefaultStyledDocument.java
  29469. (insert): Cleaned up loop. No need to make so many calls
  29470. to getAddedElements and getRemovedElements.
  29471. (insertFracture): Removed unneeded array.
  29472. 2006-01-17 Lillian Angel <langel@redhat.com>
  29473. * javax/swing/text/JTextComponent.java
  29474. (AccessibleJTextComponent): Implemented.
  29475. (getCaretPosition): Implemented.
  29476. (getSelectedText): Implemented.
  29477. (getSelectionStart): Implemented.
  29478. (getSelectionEnd): Implemented.
  29479. (getSelectionEnd): Implemented.
  29480. (getCharCount): Implemented.
  29481. (insertTextAtIndex): Implemented.
  29482. (getTextRange): Implemented.
  29483. (delete): Implemented.
  29484. (cut): Implemented.
  29485. (paste): Implemented.
  29486. (replaceText): Implemented.
  29487. (selectText): Implemented.
  29488. 2006-01-17 Anthony Balkissoon <abalkiss@redhat.com>
  29489. * javax/swing/text/DefaultStyledDocument.java:
  29490. (pad): New debugging method.
  29491. (printElements): Likewise.
  29492. (printPendingEdits): Likewise.
  29493. (printElement): Likewise.
  29494. (Edit): Improved docs, moved this class to be an inner class of
  29495. ElementBuffer since it only applies within that scope. Changed added
  29496. and removed to be Vectors instead of arrays because we need to be able
  29497. to add to them after construction.
  29498. (ElementBuffer): Updated docs with link to article that helped in this
  29499. classes implementation.
  29500. (ElementBuffer.Edit.getRemovedElements): New method.
  29501. (ElementBuffer.Edit.getAddedElements): Likewise.
  29502. (ElementBuffer.Edit.addRemovedElement): Likewise.
  29503. (ElementBuffer.Edit.addRemovedElements): Likewise.
  29504. (ElementBuffer.Edit.addAddedElement): Likewise.
  29505. (ElementBuffer.Edit.addAddedElements): Likewise.
  29506. (ElementBuffer.Edit<init>): Improved docs, call addRemovedElements and
  29507. addAddedElements.
  29508. (ElementBuffer.getEditForParagraphAndIndex): New method.
  29509. (ElementBuffer.removeUpdate): Changed type of paragraph to
  29510. BranchElement. Corrected style of adding the edit to use the new Edit
  29511. facilities.
  29512. (ElementBuffer.changeUpdate): Changed style of adding the edit to use
  29513. the new Edit facilities.
  29514. (ElementBuffer.split): Likewise.
  29515. (ElementBuffer.insertParagraph): Likewise.
  29516. (ElementBuffer.insertContentTag): Likewise.
  29517. (ElementBuffer.insert): Push all BranchElements until the deepest one,
  29518. not just the root and the first one. Apply the structural changes to
  29519. the tree at the same time as updating the DocumentEvent.
  29520. (ElementBuffer.insertUpdate): Fixed docs. Removed the special case
  29521. handling of EndTags as the first ElementSpec. Instead have to handle
  29522. ContentTags as a special case if they are the first ElementSpec and if
  29523. not have to fracture the tree.
  29524. (ElementBuffer.createFracture): New method. May not be complete yet.
  29525. Added FIXME indicating what may remain to be done.
  29526. (ElementBuffer.insertFirstContentTag): New method.
  29527. (ElementBuffer.insertFracture): Added FIXME explaining what remains to
  29528. be done. Changed the adding of edits to use the new Edit facilities.
  29529. Removed the adding of edits for Elements that weren't in the tree prior
  29530. to the insertion.
  29531. (insertUpdate): Removed incorrect condition for setting a StartTag's
  29532. direction to JoinNextDirection.
  29533. * javax/swing/text/StyleContent.java:
  29534. (SmallAttributeSet.toString): Fixed an off-by-one error in the loop
  29535. that was causing an ArrayOutOfBoundsException.
  29536. 2006-01-17 Roman Kennke <kennke@aicas.com>
  29537. * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
  29538. (Java_gnu_java_nio_channels_FileChannelImpl_init): Improved
  29539. exception messages a little.
  29540. (Java_gnu_java_nio_channels_FileChannelImpl_open): Provided
  29541. alternative implementation for systems without filesystems.
  29542. Replaced snprintf with the corresponding target native macro.
  29543. (Java_gnu_java_nio_channels_FileChannelImpl_implCloseChannel):
  29544. Only do something when we have a filesystem.
  29545. (Java_gnu_java_nio_channels_FileChannelImpl_available): Provided
  29546. alternative implementation for systems without filesystems.
  29547. (Java_gnu_java_nio_channels_FileChannelImpl_size): Provided
  29548. alternative implementation for systems without filesystems.
  29549. (Java_gnu_java_nio_channels_FileChannelImpl_implPosition): Provided
  29550. alternative implementation for systems without filesystems.
  29551. (Java_gnu_java_nio_channels_FileChannelImpl_seek):
  29552. Only do something when we have a filesystem.
  29553. (Java_gnu_java_nio_channels_FileChannelImpl_implTruncate):
  29554. Only do something when we have a filesystem.
  29555. (Java_gnu_java_nio_channels_FileChannelImpl_mapImpl): Provided
  29556. alternative implementation for systems without filesystems.
  29557. (Java_gnu_java_nio_channels_FileChannelImpl_read__):
  29558. Replaced ssize_t variables with jint. Provided
  29559. alternative implementation for systems without filesystems.
  29560. (Java_gnu_java_nio_channels_FileChannelImpl_read___3BII):
  29561. Replaced ssize_t variables with jint. Provided
  29562. alternative implementation for systems without filesystems.
  29563. (Java_gnu_java_nio_channels_FileChannelImpl_write__I):
  29564. Replaced ssize_t variables with jint. Provided
  29565. alternative implementation for systems without filesystems.
  29566. (Java_gnu_java_nio_channels_FileChannelImpl_force):
  29567. Only do something when we have a filesystem.
  29568. (Java_gnu_java_nio_channels_FileChannelImpl_write___3BII):
  29569. Replaced ssize_t variables with jint. Provided
  29570. alternative implementation for systems without filesystems.
  29571. (Java_gnu_java_nio_channels_FileChannelImpl_lock): Reimplemented
  29572. to use the corresponding target native macro.
  29573. (Java_gnu_java_nio_channels_FileChannelImpl_unlock): Reimplemented
  29574. to use the corresponding target native macro.
  29575. 2006-01-17 Lillian Angel <langel@redhat.com>
  29576. * javax/swing/text/DefaultTextUI.java:
  29577. Added deprecated tag.
  29578. * javax/swing/text/JTextComponent.java
  29579. (AccessibleJTextComponent): Fixed API doc and
  29580. partiall9 implemented.
  29581. (getCaretPosition): Fixed API doc and implemented.
  29582. (getSelectedText): Fixed API doc.
  29583. (getSelectionStart): Likewise.
  29584. (getSelectionEnd): Likewise.
  29585. (caretUpdate): Fixed API doc and
  29586. partially implemented.
  29587. (getAccessibleStateSet): Likewise.
  29588. (getAccessibleRole): Fixed API doc and implemented.
  29589. (getAccessibleEditableText): Implemented.
  29590. (getAccessibleText): Fixed API doc and implemented.
  29591. (insertUpdate): Fixed API doc.
  29592. (changedUpdate): Likewise.
  29593. (getIndexAtPoint): Likewise.
  29594. (getRootEditorRect): Removed.
  29595. (getCharacterBounds): Fixed API doc.
  29596. (getCharCount): Likewise.
  29597. (getCharacterAttribute): Likewise.
  29598. (getAtIndex): Likewise.
  29599. (getAfterIndex): Likewise.
  29600. (getBeforeIndex): Likewise.
  29601. (getAccessibleActionCount): Added function stub.
  29602. (getAccessibleActionDescription): Added function,
  29603. partially implemented.
  29604. (doAccessibleAction): Added function stub.
  29605. (setTextContents): Likewise.
  29606. (insertTextAtIndex): Likewise.
  29607. (delete): Likewise.
  29608. (cut): Likewise.
  29609. (paste): Likewise.
  29610. (replaceText): Likewise.
  29611. (selectText): Likewise.
  29612. (setAttributes): Likewise.
  29613. (getAccessibleContext): Implemented.
  29614. 2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
  29615. Fixes bug #25817
  29616. * gnu/regexp/RETokenRange.java(constructor):
  29617. Keep lo and hi as they are.
  29618. (match): Changed the case insensitive comparison.
  29619. 2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
  29620. * gnu/regexp/RETokenChar.java(chain):
  29621. Do not concatenate tokens whose insens flags are diffent.
  29622. 2006-01-17 Roman Kennke <kennke@aicas.com>
  29623. * native/target/generic/target_generic_network.c:
  29624. (targetGenericNetwork_receive): Fixed signature to match the
  29625. corresponding .h file.
  29626. (targetGenericNetwork_receiveWithAddressPort): Fixed signature
  29627. to match the corresponding .h file.
  29628. 2006-01-17 Roman Kennke <kennke@aicas.com>
  29629. * native/jni/classpath/jcl.c:
  29630. (JCL_malloc): Replaced calls to malloc with the corresponding
  29631. target layer macro.
  29632. (JCL_free): Replaced calls to free with the corresponding
  29633. target layer macro.
  29634. * native/jni/classpath/native_state.c:
  29635. (cp_gtk_init_state_table_with_size): Replaced calls to malloc and
  29636. calloc with the corresponding target layer macro.
  29637. (remove_node): Replaced calls to free with the corresponding
  29638. target layer macro.
  29639. (add_node): Replaced calls to malloc with the corresponding
  29640. target layer macro.
  29641. 2006-01-17 Roman Kennke <kennke@aicas.com>
  29642. * native/jni/java-io/java_io_VMObjectStreamClass.c:
  29643. (getFieldReference): Use MALLOC/FREE macros for portability instead
  29644. of direct call to malloc() and free().
  29645. 2006-01-17 Roman Kennke <kennke@aicas.com>
  29646. * native/jni/classpath/jcl.c: Added missing imports.
  29647. (JCL_realloc): Fixed signature to include oldsize. This is needed
  29648. for some targets. Make this function use the MEMORY_REALLOC macro
  29649. for portability.
  29650. * native/jni/classpath/jcl.h
  29651. (JCL_realloc): Adjusted signature.
  29652. * native/jni/java-io/java_io_VMFile.c:
  29653. (Java_java_io_VMFile_create): Use target layer macro for handling
  29654. errno, for portability.
  29655. (Java_java_io_VMFile_length): Release filename string in error cases
  29656. before returning.
  29657. (Java_java_io_VMFile_list): Initialize filename variable. Use new
  29658. version of JCL_realloc.
  29659. * native/jni/java-net/java_net_VMInetAddress.c:
  29660. (Java_java_net_VMInetAddress_getHostByName): Use renamed macro
  29661. TARGET_NATIVE_NETWORK_GET_HOSTADDRESS_BY_NAME.
  29662. * native/jni/java-net/javanet.c:
  29663. (_javanet_bind): Make errorstr variable const to avoid compiler
  29664. warning.
  29665. (_javanet_set_option): Fixed typo.
  29666. (_javanet_get_option): Fixed typo.
  29667. * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
  29668. (Java_gnu_java_nio_channels_FileChannelImpl_open): Made
  29669. error_string variable const to avoid compiler warning.
  29670. * native/target/generic/target_generic_file.h:
  29671. Replaced // comments with /* */ comments to avoid compiler warnings.
  29672. Added some spaces to make code better readable.
  29673. * native/target/generic/target_generic_memory.h:
  29674. Replaced // comments with /* */ comments to avoid compiler warnings.
  29675. * native/target/generic/target_generic_misc.c:
  29676. Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
  29677. compiler warnings due to use of varargs.
  29678. * native/target/generic/target_generic_misc.h:
  29679. Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
  29680. compiler warnings due to use of varargs.
  29681. * native/target/generic/target_generic_network.h:
  29682. Replaced // comments with /* */ comments to avoid compiler warnings.
  29683. (targetGenericNetwork_receive): Fixed signature to use signed chars
  29684. for buffer parameter to avoid warning when passing a jbyte to the
  29685. function.
  29686. 2006-01-17 David Gilbert <david.gilbert@object-refinery.com>
  29687. * javax/swing/text/StyleConstants.java
  29688. (getAlignment): Removed isDefined() check, so that resolving parent is
  29689. used for lookup,
  29690. (getBackground): Likewise, plus changed default value to Color.BLACK,
  29691. (getBidiLevel): Removed isDefined() check,
  29692. (getComponent): Likewise,
  29693. (getFirstLineIndent): Likewise,
  29694. (getFontFamily): Likewise,
  29695. (getFontSize): Likewise,
  29696. (getForeground): Likewise,
  29697. (getIcon): Likewise,
  29698. (getLeftIndent): Likewise,
  29699. (getLineSpacing): Likewise,
  29700. (getRightIndent): Likewise,
  29701. (getSpaceAbove): Likewise,
  29702. (getSpaceBelow): Likewise,
  29703. (getTabSet): Likewise,
  29704. (isBold): Likewise,
  29705. (isItalic): Likewise,
  29706. (isStrikeThrough): Likewise,
  29707. (isSubscript): Likewise,
  29708. (isSuperscript): Likewise,
  29709. (isUnderline): Likewise.
  29710. 2006-01-17 Gary Benson <gbenson@redhat.com>
  29711. * java/lang/System.java (setSecurityManager): Catch
  29712. ClassNotFoundException not Throwable.
  29713. 2006-01-16 Anthony Green <green@redhat.com>
  29714. PR classpath/25803
  29715. * gnu/java/net/protocol/http/Request.java
  29716. (createResponseBodyStream): Remove Content-Encoding for
  29717. compressed streams.
  29718. 2006-01-16 Chris Burdess <dog@gnu.org>
  29719. * gnu/xml/stream/XMLParser.java,
  29720. gnu/xml/stream/XMLStreamWriterImpl.java: Thoroughly check
  29721. XMLStreamWriter arguments for conformance to the XML specifications.
  29722. * gnu/xml/transform/Stylesheet.java,
  29723. gnu/xml/transform/Template.java,
  29724. gnu/xml/transform/TransformerImpl.java,
  29725. gnu/xml/xpath/LangFunction.java,
  29726. gnu/xml/xpath/Selector.java: better handling of template priorities;
  29727. fix indents when pretty-printing; recursive tests for xml:lang.
  29728. * gnu/xml/util/XHTMLWriter.java,
  29729. gnu/xml/util/XMLWriter.java: Deprecate old serializer classes.
  29730. 2006-01-16 Roman Kennke <kennke@aicas.com>
  29731. * native/target/MinGW/.cvsignore: New file.
  29732. * native/target/RTEMS/.cvsignore: New file.
  29733. * native/target/SunOS/.cvsignore: New file.
  29734. * native/target/embOS/.cvsignore: New file.
  29735. * native/target/posix/.cvsignore: New file.
  29736. 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
  29737. * javax/swing/text/StyleConstants.java: Updated API docs all over.
  29738. 2006-01-16 Roman Kennke <kennke@aicas.com>
  29739. * configure.ac: Include new target native directories in build.
  29740. 2006-01-16 Roman Kennke <kennke@aicas.com>
  29741. * native/target/generic/target_generic_file.h: Added missing
  29742. include.
  29743. * native/target/generic/target_generic_network.c: Fixed several
  29744. typos and includes.
  29745. * native/target/generic/target_generic_network.h: Likewise.
  29746. 2006-01-16 Roman Kennke <kennke@aicas.com>
  29747. * native/target/Makefile.am: Adjusted SUBDIRS and DIST_SUBDIRS
  29748. to include the new targets.
  29749. * native/target/posix/Makefile.am: Fixed filenames.
  29750. 2006-01-16 Roman Kennke <kennke@aicas.com>
  29751. * native/target/Makefile.am: Include new targets.
  29752. * native/target/Linux/Makefile.am: Include new memory layer.
  29753. * native/target/MinGW/Makefile.am: New file. Includes MinGW in dist.
  29754. * native/target/RTEMS/Makefile.am: New file. Includes RTEMS in dist.
  29755. * native/target/SunOS/Makefile.am: New file. Includes SunOS in dist.
  29756. * native/target/embOS/Makefile.am: New file. Includes embOS in dist.
  29757. * native/target/generic/Makefile.am: Include new memory and math
  29758. layer.
  29759. * native/target/posix/Makefile.am: New file. Includes posix in dist.
  29760. 2006-01-16 Ito Kazumitsu <kaz@maczuka.gcd.org>
  29761. Fixes bug #22884
  29762. * gnu/regexp/RE.java(initialize): Parse embedded flags.
  29763. * gnu/regexp/RESyntax.java(RE_EMBEDDED_FLAGS): New syntax bit.
  29764. 2006-01-16 Roman Kennke <kennke@aicas.com>
  29765. * native/target/generic/target_generic_network.c: Fixed typo.
  29766. * native/target/generic/target_generic_network.h: Fixed typo.
  29767. 2006-01-16 Nicolas Geoffray <nicolas.geoffray@menlina.com>
  29768. * doc/vmintegration.texinfo: Updated subsection of the
  29769. java.lang.InstrumentationImpl documentation.
  29770. 2006-01-16 Roman Kennke <kennke@aicas.com>
  29771. * native/target/RTEMS/target_native.h,
  29772. * native/target/RTEMS/target_native_file.h,
  29773. * native/target/RTEMS/target_native_io.h,
  29774. * native/target/RTEMS/target_native_math.h,
  29775. * native/target/RTEMS/target_native_memory.h,
  29776. * native/target/RTEMS/target_native_misc.h,
  29777. * native/target/RTEMS/target_native_network.h:
  29778. New files. Implement the target native layer for the RTEMS platform.
  29779. 2006-01-16 Roman Kennke <kennke@aicas.com>
  29780. * native/target/SunOS/target_native.h,
  29781. * native/target/SunOS/target_native_file.h,
  29782. * native/target/SunOS/target_native_io.h,
  29783. * native/target/SunOS/target_native_math.h,
  29784. * native/target/SunOS/target_native_memory.h,
  29785. * native/target/SunOS/target_native_misc.h,
  29786. * native/target/SunOS/target_native_network.h:
  29787. New files. Implement the target native layer for the SunOS platform.
  29788. 2006-01-16 Roman Kennke <kennke@aicas.com>
  29789. * native/target/MinGW/target_native.h,
  29790. * native/target/MinGW/target_native_file.h,
  29791. * native/target/MinGW/target_native_io.h,
  29792. * native/target/MinGW/target_native_math.h,
  29793. * native/target/MinGW/target_native_memory.h,
  29794. * native/target/MinGW/target_native_misc.h,
  29795. * native/target/MinGW/target_native_network.h:
  29796. New files. Implement the target native layer for the MinGW
  29797. platform.
  29798. 2006-01-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  29799. PR 25770
  29800. * javax/swing/DefaultCellEditor.java
  29801. (delegate): Assign new instance immediately.
  29802. (DefaultCellEditor(JTextField textfield)): Require 2 clicks.
  29803. (getTableCellEditorComponent): Rewritten.
  29804. (prepareAsJTextField):New method (add listener only once).
  29805. * javax/swing/JTable.java
  29806. (editingCanceled): Rewritten.
  29807. (editingStopped ): Rewritten.
  29808. (rowAtPoint): Mind row margin.
  29809. (getCellRect): Mind row margin.
  29810. (getDefaultEditor): Removing JTextComponent border.
  29811. (editCellAt): Rewritten.
  29812. * javax/swing/plaf/basic/BasicTableUI.java (MouseInputHandler):
  29813. Activate editing mode by the mouse clicks.
  29814. (getMaximumSize): Mind row margin.
  29815. (getPreferredSize): Mind row margin.
  29816. (TableAction): Added 'stop editing' command.
  29817. 2006-01-16 Roman Kennke <kennke@aicas.com>
  29818. * jni/java-io/java_io_VMFile.c
  29819. (Java_java_io_VMFile_list): Use new 4 argument version of
  29820. TARGET_NATIVE_FILE_READ_DIR macro.
  29821. * target/Linux/target_native_io.h: Fixed comment at #endif.
  29822. * target/Linux/target_native_memory.h: New file. Contains
  29823. portability macros for memory operations.
  29824. * target/generic/target_generic.c: New file. Contains some functions
  29825. for portability.
  29826. * target/generic/target_generic.h: Use posix target and shorter macro
  29827. names if CP_NEW is set.
  29828. * target/generic/target_generic_file.h: Use posix target and shorter
  29829. macro names if CP_NEW is set.
  29830. (TARGET_NATIVE_FILE_READ_DIR): New parameter for maxNameLength.
  29831. * target/generic/target_generic_io.c: New file. Contains some
  29832. functions for IO portability.
  29833. * target/generic/target_generic_io.h: Use posix target and shorter
  29834. macro names if CP_NEW is set.
  29835. * target/generic/target_generic_misc.c: New file. Contains some
  29836. functions for miscallaneaous portability issues.
  29837. * target/generic/target_generic_misc.h: Use posix target and shorter
  29838. macro names if CP_NEW is set.
  29839. * target/generic/target_generic_network.c: New file. Contains some
  29840. functions for networking portability.
  29841. * target/generic/target_generic_network.h: Use posix target and
  29842. shorter macro names if CP_NEW is set.
  29843. * target/posix/Makefile.am,
  29844. * target/posix/target_posix.c,
  29845. * target/posix/target_posix.h,
  29846. * target/posix/target_posix_file.c,
  29847. * target/posix/target_posix_file.h,
  29848. * target/posix/target_posix_io.c,
  29849. * target/posix/target_posix_io.h,
  29850. * target/posix/target_posix_math.c,
  29851. * target/posix/target_posix_math.h,
  29852. * target/posix/target_posix_memory.c,
  29853. * target/posix/target_posix_memory.h,
  29854. * target/posix/target_posix_misc.c,
  29855. * target/posix/target_posix_misc.h,
  29856. * target/posix/target_posix_network.c,
  29857. * target/posix/target_posix_network.h:
  29858. New files. This implements the target native layer macros for
  29859. Posix-like systems.
  29860. 2006-01-16 Gary Benson <gbenson@redhat.com>
  29861. * java/net/SocketPermission.java (implies): Fix action checks.
  29862. 2006-01-16 Roman Kennke <kennke@aicas.com>
  29863. * native/target/generic/target_generic_math_float.h: Removed. This
  29864. file has been replaced by target_generic_math.h.
  29865. * native/target/generic/target_generic_math_int.h: Removed. This
  29866. file has been replaced by target_generic_math.h.
  29867. * native/target/generic/target_generic_math.h: New file. Replaces
  29868. the old _int and _float versions.
  29869. * native/target/Linux/target_native_math_float.h: Removed. This
  29870. file has been replaced by target_native_math.h.
  29871. * native/target/Linux/target_native_math_int.h: Removed. This
  29872. file has been replaced by target_native_math.h.
  29873. * native/target/Linux/target_native_math.h: New file. Replaces
  29874. the old _int and _float versions.
  29875. * native/target/Linux/Makefile.am: Adjusted for the changed
  29876. filenames.
  29877. * native/jni/java-io/java_io_VMFile.c: Include target_native_math.h
  29878. instead of target_native_math_int.h.
  29879. * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
  29880. Likewise.
  29881. * native/target/generic/target_generic_file.h: Likewise.
  29882. 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
  29883. * javax/swing/text/MutableAttributeSet.java: Updated API docs all over.
  29884. 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
  29885. * javax/swing/text/SimpleAttributeSet.java
  29886. (SimpleAttributeSet()): Initialise storage directly,
  29887. (SimpleAttributeSet(AttributeSet)): Removed null check and documented
  29888. NullPointerException,
  29889. (containsAttribute): If key is found locally, don't check resolving
  29890. parent if the value doesn't match,
  29891. (getAttribute): Removed redundant instanceof and cast.
  29892. 2006-01-16 Gary Benson <gbenson@redhat.com>
  29893. * java/lang/System.java (setSecurityManager): Ensure policy
  29894. files are loaded before a security manager is put in place.
  29895. 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
  29896. * javax/swing/text/SimpleAttributeSet.java: Updated API docs all over.
  29897. 2006-01-16 Wolfgang Baer <WBaer@gmx.de>
  29898. * javax/print/attribute/standard/MediaSize.java:
  29899. (static_initializer): Added comment.
  29900. (MediaSize): Added javadoc to mention cache registration.
  29901. (MediaSize): Likewise.
  29902. (MediaSize): Likewise.
  29903. (MediaSize): Likewise.
  29904. 2006-01-16 Raif S. Naffah <raif@swiftdsl.com.au>
  29905. PR classpath/25202
  29906. * gnu/javax/security/auth/login/ConfigFileTokenizer.java: New class.
  29907. * gnu/javax/security/auth/login/ConfigFileParser.java: New class.
  29908. * gnu/javax/security/auth/login/GnuConfiguration.java: New class.
  29909. * javax/security/auth/login/AppConfigurationEntry.java: Updated
  29910. copyright year.
  29911. (toString): Added method implementation.
  29912. (LoginModuleControlFlag.toString): Removed class name from result.
  29913. * javax/security/auth/login/Configuration.java: Updated copyright year.
  29914. (getConfig(): replaced calls to NullConfiguration with
  29915. GnuConfiguration.
  29916. 2006-01-15 Tom Tromey <tromey@redhat.com>
  29917. * javax/swing/text/html/HTMLDocument.java (parseBuffer): Genericized.
  29918. * javax/swing/text/StyleContext.java (removeAttributes): Genericized.
  29919. * java/beans/PersistenceDelegate.java (initialize): Genericized.
  29920. * java/beans/Encoder.java (getPersistenceDelegate): Genericized.
  29921. (setPersistenceDelegate): Likewise.
  29922. 2006-01-15 Wolfgang Baer <WBaer@gmx.de>
  29923. * javax/print/attribute/standard/PrinterStateReasons.java:
  29924. (printerStateReasonSet): Genericize the return type.
  29925. 2006-01-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  29926. * javax/swing/table/DefaultTableCellRenderer.java
  29927. (getTableCellRendererComponent): Render null as the empty cell.
  29928. 2006-01-14 Anthony Green <green@redhat.com>
  29929. * java/net/ServerSocket.java (accept): Remove bogus
  29930. security check.
  29931. (implAccept): Add FIXME comment.
  29932. 2006-01-14 Wolfgang Baer <WBaer@gmx.de>
  29933. Fixes bug #25387
  29934. * javax/print/Doc.java: Added and enhanced documentation.
  29935. * javax/print/SimpleDoc.java: New file.
  29936. 2006-01-14 Wolfgang Baer <WBaer@gmx.de>
  29937. * javax/print/attribute/standard/MediaSize.java:
  29938. (Other.TABLOID): New MediaSize added in 1.5
  29939. 2006-01-14 Chris Burdess <dog@gnu.org>
  29940. * gnu/xml/stream/SAXParser.java: Ensure that parser is reset
  29941. correctly when I/O and runtime exceptions occur during parsing.
  29942. 2006-01-13 Roman Kennke <kennke@aicas.com>
  29943. * gnu/java/awt/peer/swing/SwingButtonPeer.java,
  29944. * gnu/java/awt/peer/swing/SwingCanvasPeer.java,
  29945. * gnu/java/awt/peer/swing/SwingComponent.java,
  29946. * gnu/java/awt/peer/swing/SwingComponentPeer.java,
  29947. * gnu/java/awt/peer/swing/SwingContainerPeer.java,
  29948. * gnu/java/awt/peer/swing/SwingFramePeer.java,
  29949. * gnu/java/awt/peer/swing/SwingLabelPeer.java,
  29950. * gnu/java/awt/peer/swing/SwingMenuBarPeer.java,
  29951. * gnu/java/awt/peer/swing/SwingMenuItemPeer.java,
  29952. * gnu/java/awt/peer/swing/SwingMenuPeer.java,
  29953. * gnu/java/awt/peer/swing/SwingPanelPeer.java,
  29954. * gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
  29955. * gnu/java/awt/peer/swing/SwingToolkit.java,
  29956. * gnu/java/awt/peer/swing/SwingWindowPeer.java,
  29957. * gnu/java/awt/peer/swing/package.html:
  29958. New files. Implemented some basic AWT peers based on Swing.
  29959. 2006-01-13 Roman Kennke <kennke@aicas.com>
  29960. * java/awt/peer/ComponentPeer.java: Added API docs all over.
  29961. 2006-01-13 Roman Kennke <kennke@aicas.com>
  29962. * java/awt/MenuComponent.java: Reformatted to better match our
  29963. coding style.
  29964. 2006-01-13 Roman Kennke <kennke@aicas.com>
  29965. * java/awt/Frame.java: Reformatted to better match our
  29966. coding style.
  29967. 2006-01-13 Roman Kennke <kennke@aicas.com>
  29968. * java/awt/MenuBar.java
  29969. (accessibleContext): Removed unnecessary field. This is already
  29970. defined in MenuComponent.
  29971. (setHelpMenu): Renamed the peer variable to myPeer because it was
  29972. hiding a field of MenuComponent.
  29973. (addNotify): Removed unnecessary cast.
  29974. 2006-01-13 Roman Kennke <kennke@aicas.com>
  29975. * java/awt/MenuBar.java: Reformatted to better match our
  29976. coding style.
  29977. 2006-01-13 Roman Kennke <kennke@aicas.com>
  29978. * java/awt/MenuBar.java
  29979. (frame): New field.
  29980. (removeNotify): Clear frame field when beeing removed from the
  29981. frame.
  29982. * java/awt/Frame.java
  29983. (setMenuBar): Store a reference of the frame in the MenuBar.
  29984. * java/awt/MenuComponent.java
  29985. (postEvent): Implemented to forward the call to the parent until
  29986. a parent can handle the event.
  29987. (dispatchEvent): Moved handling of old style events from
  29988. dispatchEventImpl() to here.
  29989. (dispatchEventImpl): Moved handling of old style events to
  29990. dispatchEvent().
  29991. 2006-01-13 Roman Kennke <kennke@aicas.com>
  29992. * java/awt/Component.java
  29993. (dispatchEvent): Moved handling of old style events from
  29994. dispatchEventImpl() to this method.
  29995. (translateEvent): Removed unnecessary cast.
  29996. (dispatchEventImpl): Moved handling of old style events to
  29997. dispatchEvent().
  29998. 2006-01-13 Lillian Angel <langel@redhat.com>
  29999. * javax/swing/text/DefaultStyledDocument.java
  30000. (createDefaultRoot): Removed FIXME.
  30001. (setLogicalStyle): Added fireUndoableEditUpdate call and
  30002. removed FIXME.
  30003. 2006-01-13 Lillian Angel <langel@redhat.com>
  30004. * javax/swing/text/DefaultStyledDocument.java
  30005. (Edit): New inner class.
  30006. (changeUpdate): Changed addEdit call to add a new
  30007. instance of Edit to the edits Vector, so addEdits can
  30008. be done later.
  30009. (split): Likewise.
  30010. (insertParagraph): Likewise.
  30011. (insertFracture): Likewise.
  30012. (insertContentTag): Likewise.
  30013. (insert): Added loop to go through edits Vector and perform
  30014. addEdit on each object.
  30015. 2006-01-13 Chris Burdess <dog@gnu.org>
  30016. * gnu/xml/transform/AbstractNumberNode.java,
  30017. gnu/xml/transform/ApplyImportsNode.java,
  30018. gnu/xml/transform/ApplyTemplatesNode.java,
  30019. gnu/xml/transform/AttributeNode.java,
  30020. gnu/xml/transform/CallTemplateNode.java,
  30021. gnu/xml/transform/ChooseNode.java,
  30022. gnu/xml/transform/CommentNode.java,
  30023. gnu/xml/transform/CopyNode.java,
  30024. gnu/xml/transform/CopyOfNode.java,
  30025. gnu/xml/transform/DocumentFunction.java,
  30026. gnu/xml/transform/ElementNode.java,
  30027. gnu/xml/transform/ForEachNode.java,
  30028. gnu/xml/transform/IfNode.java,
  30029. gnu/xml/transform/LiteralNode.java,
  30030. gnu/xml/transform/MessageNode.java,
  30031. gnu/xml/transform/OtherwiseNode.java,
  30032. gnu/xml/transform/ParameterNode.java,
  30033. gnu/xml/transform/ProcessingInstructionNode.java,
  30034. gnu/xml/transform/Stylesheet.java,
  30035. gnu/xml/transform/Template.java,
  30036. gnu/xml/transform/TemplateNode.java,
  30037. gnu/xml/transform/TextNode.java,
  30038. gnu/xml/transform/TransformerImpl.java,
  30039. gnu/xml/transform/ValueOfNode.java,
  30040. gnu/xml/transform/WhenNode.java,
  30041. gnu/xml/xpath/NodeTypeTest.java,
  30042. gnu/xml/xpath/Selector.java: simplified debugging output; ignore
  30043. with-param parameters when template does not define parameters; apply
  30044. conflict resolution for templates; strip whitespace on documents
  30045. retrieved via document() function; allow node() to match document
  30046. nodes.
  30047. 2006-01-13 Mark Wielaard <mark@klomp.org>
  30048. * doc/www.gnu.org/announce/20060113.wml: New file.
  30049. * doc/www.gnu.org/newsitems.txt: Add 0.20 release announcement.
  30050. * doc/www.gnu.org/downloads/downloads.wml: Add 0.20.
  30051. 2006-01-13 Lillian Angel <langel@redhat.com>
  30052. * javax/swing/text/DefaultStyledDocument.java:
  30053. Removed unused fields.
  30054. (insert): Removed unused fields.
  30055. (endEdit): Removed, not needed.
  30056. (insertUpdate): Removed call to endEdit.
  30057. (prepareContentInsertion): Removed, not needed.
  30058. (insertContentTag): Removed call to prepareContentInsertion.
  30059. (printElements): Removed, not needed.
  30060. (attributeSetsAreSame): Removed, not needed.
  30061. 2005-01-13 Mark Wielaard <mark@klomp.org>
  30062. * java/lang/reflect/Modifier.java (toString(int, StringBuffer)):
  30063. Duplicate of toString(int, StringBuilder).
  30064. 2005-01-13 Mark Wielaard <mark@klomp.org>
  30065. * configure.ac: Set version to 0.20.
  30066. * NEWS: Add entries for all the new work done.
  30067. 2005-01-13 Mark Wielaard <mark@klomp.org>
  30068. * javax/swing/text/DefaultCaret.java: Chain all AssertionErrors.
  30069. 2005-01-13 Mark Wielaard <mark@klomp.org>
  30070. * java/util/regex/Pattern.java (Pattern): Chain REException.
  30071. 2006-01-13 Chris Burdess <dog@gnu.org>
  30072. * gnu/xml/xpath/NameTest.java: Removed debugging output.
  30073. 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
  30074. * java/security/Security.java
  30075. (getProperty): Added hack to skip security check when trusted
  30076. code is direct caller.
  30077. 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
  30078. * java/io/PrintStream.java
  30079. (line_separator, PrintStream(OutputStream,boolean)): Use
  30080. SystemProperties.
  30081. 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
  30082. * gnu/java/nio/charset/Provider.java: Added comment about its
  30083. special relation with CharsetProvider.
  30084. (static): Removed.
  30085. * gnu/java/nio/charset/iconv/IconvProvider.java: Added comment about
  30086. its special relation with CharsetProvider.
  30087. (static): Removed.
  30088. * java/nio/charset/spi/CharsetProvider.java
  30089. (CharsetProvider): Add special case to skip security check for
  30090. built in providers.
  30091. 2005-01-13 Mark Wielaard <mark@klomp.org>
  30092. * javax/swing/JMenuItem.java (JMenuItem(Action)): Check whether
  30093. name, accel, mnemonic and command are defined before setting.
  30094. 2005-01-12 Mark Wielaard <mark@klomp.org>
  30095. * javax/swing/plaf/metal/MetalFileChooserUI.java
  30096. (FileRenderer.getListCellRendererComponent): Set empty name and null
  30097. icon when File is null.
  30098. 2006-01-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  30099. * gnu/java/rmi/server/UnicastRef.java (newCall):
  30100. Throw ConnectException after catching IOException.
  30101. 2006-01-12 Lillian Angel <langel@redhat.com>
  30102. * javax/swing/text/DefaultStyledDocument.java
  30103. (insertUpdate): Removed unneeded check.
  30104. 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
  30105. * javax/swing/text/DefaultStyledDocument.java:
  30106. (ElementBuffer.insertContentTag): If the direction is JoinNextDirection
  30107. and we haven't come immediately after a fracture, adjust the Element
  30108. offsets. Added comment explaining the situation.
  30109. (insert): Return early if no ElementSpecs passed in. Removed redundant
  30110. call to insertUpdate. Fired the UndoableEditUpdate.
  30111. 2006-01-12 Ito Kazumitsu <kaz@maczuka.gcd.org>
  30112. Fixes bug #22802
  30113. * gnu/regexp/RE.java(initialize): Fixed the parsing of
  30114. character classes within a subexpression.
  30115. 2006-12-12 Lillian Angel <langel@redhat.com>
  30116. * javax/swing/text/DefaultStyledDocument.java
  30117. (insertUpdate): Added check to check if attribute set is
  30118. empty.
  30119. (insertUpdate): Added check to determine if last character
  30120. is a newline. If it is, we should not be fracturing.
  30121. (insert): Added check to determine if attribute set is empty.
  30122. If it is, insertUpdate should not be called.
  30123. 2006-12-12 Guilhem Lavaux <guilhem@kaffe.org>
  30124. * configure.ac: Check for isnan.
  30125. * native/fdlibm/fdlibm.h: If we have a isnan function then do not
  30126. define the macro.
  30127. 2006-01-12 Chris Burdess <dog@gnu.org>
  30128. * gnu/xml/stream/XMLParser.java: Corrected the handling of some XML
  30129. 1.1 character ranges.
  30130. 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
  30131. * javax/swing/TransferHandler.java:
  30132. (TransferAction<init>): Call super constructor. Fixes Mauve regression
  30133. gnu/testlet/javax/swing/JTextField/CopyPaste.
  30134. 2006-01-12 Christian Thalinger <twisti@complang.tuwien.ac.at>
  30135. * resource/Makefile.am: Install
  30136. logging.properties into $(prefix)/lib.
  30137. * resource/Makefile.am (securitydir): Changed to
  30138. $(prefix)/lib/security.
  30139. 2006-01-12 Roman Kennke <kennke@aicas.com>
  30140. * javax/swing/JTextField.java
  30141. (createDefaultModel): Moved installation of the filterNewlines
  30142. property to setDocument().
  30143. (setDocument): New method. Installs the filterNewlines property
  30144. on the document.
  30145. 2006-01-12 Chris Burdess <dog@gnu.org>
  30146. * gnu/xml/dom/DomNode.java,
  30147. gnu/xml/transform/ElementAvailableFunction.java: Removed debugging
  30148. output.
  30149. * gnu/xml/xpath/NameTest.java,
  30150. gnu/xml/xpath/NamespaceTest.java,
  30151. gnu/xml/xpath/Selector.java: Fix regression for namespace axis
  30152. navigation.
  30153. * gnu/xml/transform/MessageNode.java: Use standard logging system
  30154. for outputting messages.
  30155. 2006-01-12 Tom Tromey <tromey@redhat.com>
  30156. * java/net/InetAddress.java (DEFAULT_CACHE_SIZE): Removed.
  30157. (DEFAULT_CACHE_PERIOD, DEFAULT_CACHE_PURGE_PCT): Likewise.
  30158. (cache_size, cache_period, cache_purge_pct, cache): Likewise.
  30159. (static initializer): Removed cache code.
  30160. (checkCacheFor, addToCache): Removed.
  30161. (getAllByName): Removed cache code.
  30162. (lookup_time): Removed.
  30163. (InetAddress): Updated.
  30164. 2006-01-12 Chris Burdess <dog@gnu.org>
  30165. * gnu/xml/dom/DomDocument.java,
  30166. gnu/xml/dom/DomElement.java,
  30167. gnu/xml/dom/DomNode.java,
  30168. gnu/xml/stream/XMLParser.java,
  30169. gnu/xml/transform/Bindings.java,
  30170. gnu/xml/transform/ElementAvailableFunction.java,
  30171. gnu/xml/transform/ElementNode.java,
  30172. gnu/xml/transform/FunctionAvailableFunction.java,
  30173. gnu/xml/transform/NamespaceProxy.java,
  30174. gnu/xml/transform/StreamSerializer.java,
  30175. gnu/xml/transform/Stylesheet.java,
  30176. gnu/xml/transform/TransformerImpl.java,
  30177. gnu/xml/xpath/Selector.java: Implement isEqualNode correctly for
  30178. document and element nodes; correct coalescing semantics when parsing;
  30179. attribute-sets can only refer to top-level variables and parameters;
  30180. fix namespace retrieval during element-available and
  30181. function-available functions; implement xsl:fallback for extension
  30182. elements; tokenize whitespace correctly during whitespace stripping;
  30183. correct following and previous node axes selectors.
  30184. 2006-01-12 Roman Kennke <kennke@aicas.com>
  30185. * java/util/Hashtable.java
  30186. (KeyEnumerator.nextElement): Added null check to avoid NPE.
  30187. (ValueEnumerator.nextElement): Added null check to avoid NPE.
  30188. 2006-01-12 Lillian Angel <langel@redhat.com>
  30189. * javax/swing/text/GapContent.java
  30190. (UndoInsertString): Changed name of class to InsertUndo to match the JDK.
  30191. 2006-01-12 Mark Wielaard <mark@klomp.org>
  30192. * vm/reference/gnu/java/net/VMPlainSocketImpl.java (connect):
  30193. Throw UnknowHostException when name could not be resolved.
  30194. 2006-01-12 Jeroen Frijters <jeroen@frijters.net>
  30195. * java/net/URL.java
  30196. (static, getURLStreamHandler): Use SystemProperties.
  30197. 2006-01-12 Mark Wielaard <mark@klomp.org>
  30198. * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java (receive):
  30199. Use packet.getLength().
  30200. * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
  30201. (nativeReceive): Check whether the receiver wants zero bytes.
  30202. 2006-01-12 Mark Wielaard <mark@klomp.org>
  30203. * native/jni/java-net/javanet.c (_javanet_recvfrom): Return -1 when
  30204. other side orderly closed connection.
  30205. * vm/reference/gnu/java/net/VMPlainSocketImpl.java
  30206. (read(PlainSocketImpl)): Mask byte to return unsigned int. Return -1
  30207. when end of stream reached.
  30208. 2006-01-12 Mark Wielaard <mark@klomp.org>
  30209. * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
  30210. Remove asserts.
  30211. * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Likewise.
  30212. * native/jni/java-net/java_net_VMInetAddress.c: Likewise.
  30213. * native/jni/java-net/java_net_VMNetworkInterface.c: Likewise.
  30214. * native/jni/java-net/javanet.c: Likewise.
  30215. 2006-01-12 Mark Wielaard <mark@klomp.org>
  30216. * native/fdlibm/mprec.c (Balloc): Disable assert to workaround
  30217. PR classpath/23863.
  30218. 2006-01-11 Chris Burdess <dog@gnu.org>
  30219. * gnu/xml/transform/AttributeNode.java,
  30220. gnu/xml/transform/ElementNode.java,
  30221. gnu/xml/transform/LiteralNode.java,
  30222. gnu/xml/transform/StreamSerializer.java,
  30223. gnu/xml/transform/StrippingInstruction.java,
  30224. gnu/xml/transform/Stylesheet.java,
  30225. gnu/xml/transform/TransformerImpl.java,
  30226. gnu/xml/transform/ValueOfNode.java,
  30227. gnu/xml/xpath/Expr.java,
  30228. gnu/xml/xpath/LocalNameFunction.java,
  30229. gnu/xml/xpath/NameFunction.java,
  30230. gnu/xml/xpath/NameTest.java,
  30231. gnu/xml/xpath/NamespaceUriFunction.java,
  30232. gnu/xml/xpath/NodeTypeTest.java,
  30233. gnu/xml/xpath/SubstringFunction.java,
  30234. javax/xml/namespace/QName.java: don't determine element namespace
  30235. from namespace aliases when specified; better namespace handling
  30236. when serializing elements; don't create HTML meta element unless
  30237. head element exists; correct encoding of CDATA sections containing
  30238. ']]>'; encode HTML character entity references; use ISO-Latin-1 as
  30239. default encoding for HTML output; rewrite of XSLT
  30240. strip-space/preserve-space handling; correct doctype-public and
  30241. doctype-system output attributes; insert generated doctype before
  30242. document element; fixed result tree whitespace stripping
  30243. algorithm; fixed semantics of XPath name, local-name, and
  30244. namespace-uri functions; name tests handle XML/XMLNS namespaces
  30245. correctly; fixed semantics of processing-instruction node test.
  30246. * gnu/xml/transform/TransformerFactoryImpl.java: Add main method to
  30247. aid debugging.
  30248. 2006-01-11 Lillian Angel <langel@redhat.com>
  30249. * javax/swing/text/DefaultStyledDocument.java
  30250. (insertFracture): Added calls to addEdit for each time a structure
  30251. is changed. addEdit is called on the newBranch, previous, and parent
  30252. structures.
  30253. 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
  30254. * javax/swing/text/DefaultStyledDocument.java:
  30255. (ElementBuffer.insertContentTag): Don't adjust the structure here.
  30256. This will have been taken care of in insertFracture. Added a comment
  30257. explaining that we need to add edits to the DocumentEvent and that
  30258. this may be the place to do it.
  30259. 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
  30260. * javax/swing/text/DefaultStyledDocument.java:
  30261. (ElementBuffer.insertUpdate): Properly recreate Elements if the first
  30262. tag is an end tag. Avoid NPE by pushing the proper Element on to the
  30263. elementStack when there is a start tag with JoinNextDirection.
  30264. 2006-01-11 Roman Kennke <kennke@aicas.com>
  30265. Reported by: Fridjof Siebert <siebert@aicas.com>
  30266. * java/util/Hashtable.java
  30267. (KEYS): Removed unneeded field.
  30268. (VALUES): Removed unneeded field.
  30269. (ENTRIES): Removed unneeded field.
  30270. (keys): Return a KeyEnumerator instance.
  30271. (elements): Returns a ValueEnumerator instance.
  30272. (toString): Use an EntryIterator instance.
  30273. (keySet): Return a KeyIterator instance.
  30274. (values): Return a ValueIterator instance.
  30275. (entrySet): Return an EntryIterator instance.
  30276. (hashCode): Use EntryIterator instance.
  30277. (rehash): Changed this loop to avoid redundant reads and make
  30278. it obvious that null checking is not needed.
  30279. (writeObject): Use EntryIterator instance.
  30280. (HashIterator): Removed class.
  30281. (Enumerator): Removed class.
  30282. (EntryIterator): New class.
  30283. (KeyIterator): New class.
  30284. (ValueIterator): New class.
  30285. (EntryEnumerator): New class.
  30286. (KeyEnumerator): New class.
  30287. (ValueEnumerator): New class.
  30288. 2006-01-11 Lillian Angel <langel@redhat.com>
  30289. * javax/swing/text/DefaultStyledDocument.java
  30290. (toString): Shouldn't append the '>' character here.
  30291. (createDefaultRoot): Should not set the resolve parent. This
  30292. causes problems when comparing attribute sets.
  30293. 2006-01-10 Anthony Balkissoon <abalkiss@redhat.com>
  30294. * javax/swing/text/DefaultStyledDocument.java:
  30295. (ElementBuffer.insertUpdate): Rewritten to properly handle start and
  30296. end tags.
  30297. (ElementBuffer.insertFracture): New method.
  30298. (ElementBuffer.insertContentTag): Removed unnecessary case for
  30299. JoinFractureDirection - this only applies to start tags, not content
  30300. tags.
  30301. (insertUpdate): Corrected conditions for setting direction to
  30302. JoinNextDirection.
  30303. 2006-01-10 Roman Kennke <kennke@aicas.com>
  30304. * Makefile.am (EXTRA_DIST): Added ChangeLog-2004.
  30305. * ChangeLog-2005: New File.
  30306. 2006-01-10 Roman Kennke <kennke@aicas.com>
  30307. * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
  30308. (get): Release the array with the correct pointer.
  30309. (put): Release the array with the correct pointer. Copy the array
  30310. around _before_ releasing it.
  30311. 2006-01-10 Roman Kennke <kennke@aicas.com>
  30312. * javax/swing/ViewportLayout.java
  30313. (layoutContainer): Fixed condition, to avoid ClasscastException.
  30314. 2006-01-10 Roman Kennke <kennke@aicas.com>
  30315. * javax/swing/plaf/basic/BasicSplitPaneDivider.java
  30316. (MouseHandler.mousePressed): Fixed indendation.
  30317. (MouseHandler.mouseDragged): Fixed indendation.
  30318. 2006-01-10 Roman Kennke <kennke@aicas.com>
  30319. * javax/swing/plaf/basic/BasicLookAndFeel.java
  30320. (playSound): Added @since 1.4 to the API docs.
  30321. 2006-01-10 Roman Kennke <kennke@aicas.com>
  30322. * javax/swing/plaf/basic/BasicListUI.java
  30323. (maybeUpdateLayoutState): Also update the layout state, if the
  30324. list has been invalidated since the last update.
  30325. 2006-01-10 Roman Kennke <kennke@aicas.com>
  30326. * javax/swing/plaf/ComponentUI.java
  30327. (update): Fixed indendation.
  30328. 2006-01-10 Roman Kennke <kennke@aicas.com>
  30329. * javax/swing/ViewportLayout.java
  30330. (layoutContainer): Fixed condition, so that Scrollable components
  30331. are always forced to have to Viewport size, when they
  30332. return true for getScrollableTracksViewportHeight() and ..Width().
  30333. 2006-01-10 Roman Kennke <kennke@aicas.com>
  30334. * javax/swing/RepaintManager.java
  30335. (validateInvalidComponents): Fixed condition to avoid NPE.
  30336. 2006-01-10 Roman Kennke <kennke@aicas.com>
  30337. * javax/swing/JViewport.java:
  30338. (static_initializer): Removed unused variable myScrollMode.
  30339. 2006-01-10 Roman Kennke <kennke@aicas.com>
  30340. * javax/swing/JTabbedPane.java:
  30341. Cleared API docs a little.
  30342. 2006-01-10 Roman Kennke <kennke@aicas.com>
  30343. * java/util/StringTokenizer.java
  30344. (StringTokenizer(String, String, boolean)):
  30345. Don't trigger NPE here for conformance with the spec.
  30346. 2006-01-10 Roman Kennke <kennke@aicas.com>
  30347. * java/util/ArrayList.java
  30348. (DEFAULT_CAPACITY): Changed default capacity to 10, as specified.
  30349. 2006-01-10 Roman Kennke <kennke@aicas.com>
  30350. * gnu/java/awt/peer/gtk/GdkGraphics2D.java
  30351. (GdkGraphics2D(GdkGraphics2D)): Added null check for the bg
  30352. field to avoid NPE.
  30353. 2006-01-10 Roman Kennke <kennke@aicas.com>
  30354. * native/jni/java-net/javanet.c
  30355. (_javanet_shutdownOutput): Replaced strerror() with
  30356. TARGET_NATIVE_LAST_ERROR_STRING() for portability.
  30357. (_javanet_shutdownInput): Replaced strerror() with
  30358. TARGET_NATIVE_LAST_ERROR_STRING() for portability.
  30359. 2006-01-10 Robert Schuster <robertschuster@fsfe.org>
  30360. * java/beans/EventSetDescriptor.java: Reformatted and
  30361. fixed API docs.
  30362. 2006-01-10 Roman Kennke <kennke@aicas.com>
  30363. * java/lang/SecurityManager.java
  30364. Fully qualified AWT class references in API docs.
  30365. 2006-01-10 Robert Schuster <robertschuster@fsfe.org>
  30366. * java/beans/EventSetDescriptor.java:
  30367. (getGetListenerMethod): New method.
  30368. 2006-01-10 Mark Wielaard <mark@klomp.org>
  30369. * lib/Makefile.am (GCJX): Add -g to get linenumber info.
  30370. 2006-01-10 Jeroen Frijters <jeroen@frijters.net>
  30371. PR classpath/25727
  30372. * java/util/Hashtable.java
  30373. (contains): Call equals on existing value.
  30374. (containsKey, get, put, remove): Call equals on existing key.
  30375. (getEntry): Call equals on existing entry.
  30376. 2006-01-10 Jeroen Frijters <jeroen@frijters.net>
  30377. PR classpath/24618
  30378. * java/util/AbstractMap.java
  30379. (equals(Object,Object)): Test for identity first.
  30380. * java/util/WeakHashMap.java
  30381. (WeakBucket.WeakEntry.equals): Use helper method to determine equality.
  30382. (WeakBucket.WeakEntry.toString): Fixed string representation of
  30383. null key.
  30384. (internalGet): Use helper method to determine equality.
  30385. 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
  30386. * java/beans/EventSetDescriptor.java: Implemented the two 1.4
  30387. constructors.
  30388. 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
  30389. * javax/swing/text/PlainDocument.java:
  30390. (insertUpdate): Handle special case of an insertion immediately
  30391. following a newline character.
  30392. 2006-01-09 Roman Kennke <kennke@aicas.com>
  30393. * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
  30394. (connect): Added stream parameter to _connect() call.
  30395. * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
  30396. (connect): Added stream parameter to _connect() call.
  30397. * native/jni/java-net/javanet.c
  30398. (_javanet_create_localfd): Added stream parameter. Look up
  30399. fd field based on the stream parameter either in SocketImpl or
  30400. in DatagramSocketImpl.
  30401. (_javanet_connect): Added stream parameter. Call create_localfd
  30402. using this stream parameter. Set localPort field either in
  30403. SocketImpl or in DatagramSocketImpl, depending on the stream
  30404. flag.
  30405. * native/jni/java-net/javanet.c
  30406. (_javanet_connect): Added stream parameter.
  30407. 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  30408. * javax.management.Attribute.java: Grammar and
  30409. formatting fixes.
  30410. 2006-01-09 Mark Wielaard <mark@klomp.org>
  30411. * gnu/java/nio/channels/FileChannelImpl.java (map): Throw correct
  30412. exception when channel is not readable or writable.
  30413. * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
  30414. (mapImpl): Add PROT_WRITE when mode == 'c' (MAP_PRIVATE). Make sure
  30415. there is enough space to mmap().
  30416. 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
  30417. * java/beans/Introspector.java:
  30418. (getBeanInfo(Class, int)): New method.
  30419. (getBeanInfo(Class, Class): Moved common code in a new method.
  30420. (merge): New method.
  30421. 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
  30422. * java/beans/XMLEncoder.java: Fix spelling mistakes.
  30423. 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
  30424. * javax/swing/text/DefaultStyledDocument.java:
  30425. (insertUpdate): Removed call to checkForInsertAfterNewline and instead
  30426. inlined this method because it needs to change the value of the
  30427. finalStartTag and finalStartDirection variables.
  30428. (checkForInsertAfterNewline): Removed this method.
  30429. (handleInsertAfterNewline): Added case for making the start tag's
  30430. direction JoinNextDirection.
  30431. 2006-01-09 Lillian Angel <langel@redhat.com>
  30432. * javax/swing/plaf/basic/BasicTreeUI.java:
  30433. Added new field.
  30434. (setRowHeight): Row height is set to the max height of
  30435. all the nodes, or 20 as a default value.
  30436. (getPathBounds): Cleaned up code.
  30437. (getMaxHeight): New helper function that gets the max
  30438. height of all the rows.
  30439. (getClosestPathForLocation): Fixed to use getMaxHeight.
  30440. (updateCachedPreferredSize): Likewise.
  30441. (installUI): Shouldn't expand tree on startup.
  30442. (getNodeDimensions): Fixed to use getMaxHeight.
  30443. 2006-01-09 Mark Wielaard <mark@klomp.org>
  30444. * javax/swing/JList.java (setSelectedIndex): Clear selection when
  30445. argument is negative.
  30446. 2006-01-08 Mark Wielaard <mark@klomp.org>
  30447. * java/net/InetAddress.java (getInaddrAny): Explicitly set hostName.
  30448. 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  30449. * javax.management.Attribute.java: New file.
  30450. 2006-01-09 Roman Kennke <kennke@aicas.com>
  30451. * java/net/DatagramSocketImpl.java
  30452. (localPort): Renamed to localport for correct access from native
  30453. code.
  30454. 2006-01-09 Roman Kennke <kennke@aicas.com>
  30455. * javax/swing/Popup.java
  30456. (LightweightPopup.hide): Repaint the layered pane when popup is
  30457. removed.
  30458. 2006-01-09 Roman Kennke <kennke@aicas.com>
  30459. * java/awt/Container.java
  30460. (remove): Don't repaint the container here.
  30461. 2006-01-08 Tom Tromey <tromey@redhat.com>
  30462. * java/lang/InheritableThreadLocal.java: Organized imports.
  30463. 2006-01-08 Ito Kazumitsu <kaz@maczuka.gcd.org>
  30464. Fixes bug #25679
  30465. * gnu/regexp/RETokenRepeated.java(match): Optimized the case
  30466. when an empty string matched an empty token.
  30467. 2006-01-08 Chris Burdess <dog@gnu.org>
  30468. * gnu/xml/stream/SAXParser.java: Check standalone status for mixed
  30469. content models from external entities.
  30470. * gnu/xml/stream/UnicodeReader.java: Report error instead of
  30471. attempting to continue with unpaired surrogates.
  30472. * gnu/xml/stream/XMLParser.java: Don't normalize LF equivalents when
  30473. resolving entities with character entity references; better
  30474. checking of valid character ranges; don't report an error for URI
  30475. fragments in notation declarations; check unbound namespace
  30476. prefixes for elements and attributes, including XML 1.1 unbinding
  30477. syntax; namespace-aware checking of attribute duplicates.
  30478. 2006-01-08 Robert Schuster <robertschuster@fsfe.org>
  30479. * java/beans/Statement.java: Doc fixes.
  30480. (doExecute): Workaround for Class.forName call.
  30481. (toString): Made output look more like on the JDK.
  30482. * java/beans/Expression.java: Doc fixes.
  30483. (toString): Made output look more like on the JDK.
  30484. * java/beans/PersistenceDelegate.java,
  30485. java/beans/DefaultPersistenceDelegate.java,
  30486. java/beans/Encoder.java,
  30487. java/beans/XMLEncoder.java: New file.
  30488. * gnu/java/beans/encoder/ArrayPersistenceDelegate.java,
  30489. gnu/java/beans/encoder/ClassPersistenceDelegate.java,
  30490. gnu/java/beans/encoder/CollectionPersistenceDelegate.java,
  30491. gnu/java/beans/encoder/Context.java,
  30492. gnu/java/beans/encoder/GenericScannerState.java,
  30493. gnu/java/beans/encoder/IgnoringScannerState.java,
  30494. gnu/java/beans/encoder/MapPersistenceDelegate.java,
  30495. gnu/java/beans/encoder/ObjectId.java,
  30496. gnu/java/beans/encoder/PrimitivePersistenceDelegate.java,
  30497. gnu/java/beans/encoder/ReportingScannerState.java,
  30498. gnu/java/beans/encoder/Root.java,
  30499. gnu/java/beans/encoder/ScanEngine.java,
  30500. gnu/java/beans/encoder/ScannerState.java,
  30501. gnu/java/beans/encoder/StAXWriter.java,
  30502. gnu/java/beans/encoder/Writer.java: New file.
  30503. * gnu/java/beans/encoder/elements/Array_Get.java,
  30504. gnu/java/beans/encoder/elements/Element.java,
  30505. gnu/java/beans/encoder/elements/List_Set.java,
  30506. gnu/java/beans/encoder/elements/Array_Set.java,
  30507. gnu/java/beans/encoder/elements/NullObject.java,
  30508. gnu/java/beans/encoder/elements/StaticMethodInvocation.java,
  30509. gnu/java/beans/encoder/elements/StaticFieldAccess.java,
  30510. gnu/java/beans/encoder/elements/StringReference.java,
  30511. gnu/java/beans/encoder/elements/ClassResolution.java,
  30512. gnu/java/beans/encoder/elements/ArrayInstantiation.java,
  30513. gnu/java/beans/encoder/elements/PrimitiveInstantiation.java,
  30514. gnu/java/beans/encoder/elements/ObjectReference.java,
  30515. gnu/java/beans/encoder/elements/ObjectInstantiation.java,
  30516. gnu/java/beans/encoder/elements/List_Get.java,
  30517. gnu/java/beans/encoder/elements/MethodInvocation.java: New file.
  30518. 2006-01-08 Chris Burdess <dog@gnu.org>
  30519. * java/lang/Character.java (toChars,toCodePoint): Correct these
  30520. methods to use algorithms from Unicode specification.
  30521. 2006-01-08 Mark Wielaard <mark@klomp.org>
  30522. * native/jni/xmlj/Makefile.am (libxmlj_la_LIBADD): Add jcl.o.
  30523. 2006-01-07 Paul Jenner <psj@harker.dyndns.org>
  30524. Fixes bug #25711
  30525. * examples/Makefile.am: Corrected DESTDIR install paths.
  30526. 2006-01-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  30527. * org/omg/CORBA/INVALID_ACTIVITY.java: Removed non -
  30528. ASCII character (line 46).
  30529. 2006-01-07 Roman Kennke <kennke@aicas.com>
  30530. * javax/swing/text/TableView.java: New file.
  30531. 2006-01-07 Chris Burdess <dog@gnu.org>
  30532. * gnu/xml/stream/BufferedReader.java: Removed commented out code.
  30533. * gnu/xml/stream/XIncludeFilter.java: Correct XML Base behaviour.
  30534. * gnu/xml/stream/XMLParser.java: Make additional StAX properties
  30535. available; correct handling of unparsed entity references;
  30536. absolutize all base URIs; remove commented out code.
  30537. 2006-01-07 Chris Burdess <dog@gnu.org>
  30538. * gnu/xml/stream/SAXParser.java,
  30539. gnu/xml/stream/XMLParser.java: Add SAX property to return base
  30540. URI of the current event.
  30541. 2006-01-07 Chris Burdess <dog@gnu.org>
  30542. * gnu/xml/stream/SAXParser.java: Add SAX feature to set XML Base
  30543. aware processing.
  30544. 2006-01-07 Chris Burdess <dog@gnu.org>
  30545. * gnu/xml/stream/SAXParser.java,
  30546. gnu/xml/stream/XIncludeFilter.java,
  30547. gnu/xml/stream/XMLParser.java: Updated documentation.
  30548. 2006-01-07 Chris Burdess <dog@gnu.org>
  30549. * AUTHORS: add self.
  30550. 2006-01-06 Casey Marshall <csm@gnu.org>
  30551. * AUTHORS: add myself.
  30552. 2006-01-06 Casey Marshall <csm@gnu.org>
  30553. PR classpath/25699
  30554. * javax/crypto/CipherInputStream.java (logger): new constant.
  30555. (cipher): make final.
  30556. (outLength, inBuffer, inLength): removed.
  30557. (isStream): make final.
  30558. (VIRGIN, LIVING, DYING, DEAD, state): removed.
  30559. (eof): new field.
  30560. (<init>): call `super,' not `this;' remove `inBuffer' and
  30561. `outBuffer' initialization; init `eof;' add debug logging.
  30562. (<init>): call `this' with a new null cipher.
  30563. (available): fix javadoc to reflect the real semantics; if we
  30564. don't have a buffer, call `nextBlock.'
  30565. (close): synchronize.
  30566. (read): synchronize; fix testing for buffered data.
  30567. (read): synchronize; add `skip' semantics if first argument is
  30568. `null;' decrypt stream cipher data only if there is any; fix tests
  30569. for buffered data.
  30570. (skip): stop using `available' to see how many data are buffered.
  30571. (nextBlock): simplify to use cipher-allocated output buffers
  30572. instead of internally allocated ones.
  30573. 2006-01-06 Tom Tromey <tromey@redhat.com>
  30574. * java/lang/String.java (codePointCount): Fixed javadoc.
  30575. 2006-01-06 Tom Tromey <tromey@redhat.com>
  30576. * java/lang/String.java (contains): Added @since.
  30577. 2006-01-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
  30578. Fixes bug #25616
  30579. * gnu/regexp/RE.java(initialize): Allow repeat.empty.token.
  30580. * gnu/regexp/RETokenRepeated.java(match): Break the loop
  30581. when an empty string matched an empty token.
  30582. 2006-01-06 Jeroen Frijters <jeroen@frijters.net>
  30583. PR classpath/24858
  30584. * gnu/java/util/WeakIdentityHashMap.java: New file.
  30585. * java/lang/InheritableThreadLocal.java
  30586. (newChildThread): Modified to remove key indirection.
  30587. * java/lang/Thread.java
  30588. (locals): Changed type to WeakIdentityHashMap.
  30589. (getThreadLocals): Instantiate WeakIdentityHashMap instead of
  30590. WeakHashMap.
  30591. * java/lang/ThreadLocal.java
  30592. (key, Key): Removed.
  30593. (get, set): Changed to use "this" instead of "key".
  30594. 2006-01-06 Dalibor Topic <robilad@kaffe.org>
  30595. * native/fdlibm/Makefile.am (libfdlibm_la_SOURCES): Removed java-assert.h.
  30596. * native/fdlibm/java-assert.h: Removed file.
  30597. * native/fdlibm/mprec.c: Include assert.h. Don't include java-assert.h.
  30598. Replaced use of JvAssert by assert.
  30599. 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
  30600. * javax/swing/text/DefaultCaret.java:
  30601. (setDot): Fixed paramater to Math.max to be this.dot and not the
  30602. parameter dot.
  30603. 2006-01-05 Roman Kennke <kennke@aicas.com>
  30604. * javax/swing/plaf/basic/BasicListUI.java
  30605. (getCellHeight): New helper method.
  30606. (getCellBounds): Use new helper method for determining the cell
  30607. height.
  30608. (paint): Don't call list.indexToLocation() but instead call
  30609. directly into the same UI method.
  30610. (locationToIndex): Fixed calculation of # visible rows and handling
  30611. of cell heights.
  30612. (indexToLocation): Fixed calculation of # visible rows and handling
  30613. of cell heights.
  30614. 2006-01-05 Roman Kennke <kennke@aicas.com>
  30615. * javax/swing/plaf/metal/MetalFileChooserUI.java
  30616. (createList): Set VERTICAL_SCROLLBAR_NEVER mode on the JScrollPane
  30617. in the file chooser.
  30618. 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
  30619. * javax/swing/JTextPane.java:
  30620. (replaceSelection): If the document is an AbstractDocument, use replace
  30621. rather than remove and insert.
  30622. * javax/swing/event/EventListenerList.java:
  30623. (getListeners): Reversed the order of the listeners to match the
  30624. reference implementation.
  30625. * javax/swing/text/AbstractDocument.java:
  30626. (insertString): Add the UndoableEdit from the content.insertString call
  30627. to the DocumentEvent.
  30628. (DefaultDocumentEvent.toString): Implemented.
  30629. * javax/swing/text/DefaultCaret.java:
  30630. (setDot): Make sure dot is > 0 and less than the length of the
  30631. document.
  30632. * javax/swing/text/DefaultStyledDocument.java:
  30633. (ElementBuffer.insertUpdate): Set the modified tag of the document
  30634. event when we get start and end tags. This ensures that we create the
  30635. proper BranchElements in endEdit().
  30636. (ElementBuffer.insertUpdate): Added FIXME to handle
  30637. JoinFractureDirection case.
  30638. (insertUpdate): Added code to check if we're inserting immediately
  30639. after a newline and to handle this case (create start and end tags).
  30640. Only change the direction of the first and last tags if they are of
  30641. type ContentType.
  30642. (checkForInsertAfterNewline): New helper method.
  30643. (handleInsertAfterNewline): Likewise.
  30644. * javax/swing/text/View.java:
  30645. (updateLayout): Avoid NPE by checking if shape is null. Repaint
  30646. container.
  30647. 2006-01-05 Mark Wielaard <mark@klomp.org>
  30648. * newsitems.txt: Add fosdem meeting.
  30649. * events/events.wml: Likewise.
  30650. * events/fosdem06.wml: New file.
  30651. 2006-01-05 Lillian Angel <langel@redhat.com>
  30652. * javax/swing/text/GapContent.java
  30653. (createPosition): No positions should be created inside the
  30654. gap. Fixed check to ensure this does not happen.
  30655. 2006-01-05 Roman Kennke <kennke@aicas.com>
  30656. * javax/swing/RepaintManager.java
  30657. (validateInvalidComponents): Search for the validate root
  30658. and start validating there.
  30659. 2006-01-05 Roman Kennke <kennke@aicas.com>
  30660. * javax/swing/plaf/basic/BasicListUI.java
  30661. (ComponentHandler): Removed unneeded class.
  30662. (ListDataHandler.contentsChanged): Revalidate instead of calling
  30663. damageLayout().
  30664. (ListDataHandler.intervalAdded): Revalidate instead of calling
  30665. damageLayout().
  30666. (ListDataHandler.intervalRemoved): Revalidate instead of calling
  30667. damageLayout().
  30668. (PropertyChangeHandler.propertyChange): Or flags together instead
  30669. of adding them. Don't call damageLayout().
  30670. (componentListener): Removed unnecessary field.
  30671. (damageLayout): Removed unnecessary method.
  30672. (installListeners): Don't install unnecessary listeners.
  30673. (uninstallListeners): Dito.
  30674. (getPreferredSize): Don't ask for the real list height and
  30675. calculate with the previously calculated list height.
  30676. (locationToIndex): Renamed list parameter to l so that it doesn't
  30677. shadow the field with the same name.
  30678. (indexToLocation): Renamed list parameter to l so that it doesn't
  30679. shadow the field with the same name.
  30680. 2006-01-04 Tom Tromey <tromey@redhat.com>
  30681. * include/.cvsignore: Ignore config-int.h.
  30682. 2006-01-04 Roman Kennke <kennke@aicas.com>
  30683. * javax/swing/plaf/basic/BasicListUI.java
  30684. (getPreferredSize): Rewritten to match the specs.
  30685. 2006-01-04 Roman Kennke <kennke@aicas.com>
  30686. * javax/swing/JFileChooser.java
  30687. (showOpenDialog): Set fixed width on the dialog.
  30688. (showSaveDialog): Set fixed width on the dialog.
  30689. (showDialog): Set fixed width on the dialog.
  30690. 2006-01-04 Roman Kennke <kennke@aicas.com>
  30691. * javax/swing/plaf/basic/BasicListUI.java
  30692. (locationToIndex): Added FIXME about getVisibleRowCount() usage.
  30693. Adjusted iteration to not use visibleRowCount and instead iterate
  30694. over the real number of elements in cellHeights.
  30695. (indexToLocation): Added FIXME about getVisibleRowCount() usage.
  30696. Adjusted iteration to not use visibleRowCount and instead iterate
  30697. over the real number of elements in cellHeights.
  30698. 2006-01-04 Roman Kennke <kennke@aicas.com>
  30699. * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
  30700. * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
  30701. Added __attribute__((__unused__)) macros to avoid gcc warnings.
  30702. 2006-01-04 Roman Kennke <kennke@aicas.com>
  30703. * vm/reference/gnu/java/net/VMPlainSocketImpl.java: New VM class.
  30704. * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java:
  30705. New VM class.
  30706. * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: New file.
  30707. * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
  30708. New file.
  30709. * native/jni/java-net/gnu_java_net_PlainDatagramSocketImpl.c:
  30710. Removed.
  30711. * native/jni/java-net/gnu_java_net_PlainSocketImpl.c: Removed.
  30712. * native/jni/java-net/Makefile.am: Adjusted for new source files.
  30713. * gnu/java/net/PlainDatagramSocketImpl.java: Use new VM interface.
  30714. * gnu/java/net/PlainSocketImpl.java: Use new VM interface.
  30715. * include/gnu_java_net_PlainDatagramSocketImpl.h: Removed.
  30716. * include/gnu_java_net_PlainSocketImpl.h: Removed.
  30717. * include/gnu_java_net_VMPlainDatagramSocketImpl.h: New header file.
  30718. * include/gnu_java_net_VMPlainSocketImpl.h: New header file.
  30719. 2006-01-04 Lillian Angel <langel@redhat.com>
  30720. * javax/swing/plaf/metal/MetalFileChooserUI.java
  30721. (propertyChange): Fixed to change the combo box label
  30722. appropriately. Also, fixed to set the textfield's text
  30723. correctly.
  30724. (editFile): Fixed size of editing field.
  30725. (installComponents): Correctly aligned all panels.
  30726. (installStrings): Fixed to set the label's text
  30727. appropriately depending on the dialog type.
  30728. 2006-01-04 Lillian Angel <langel@redhat.com>
  30729. PR classpath/25473
  30730. PR classpath/25479
  30731. * javax/swing/JTree.java
  30732. (JTree): Because some L&F defaults have been updated,
  30733. the selectionMode for the tree needed to be set to SINGLE.
  30734. * javax/swing/plaf/basic/BasicFileChooserUI.java:
  30735. Initialized accessoryPanel.
  30736. * javax/swing/plaf/metal/MetalFileChooserUI.java
  30737. (installComponents): Added accessoryPanel to the filechooser.
  30738. 2006-01-04 Dalibor Topic <robilad@kaffe.org>
  30739. * configure.ac: Added AX_CREATE_STDINT_H
  30740. * include/Makefile.am (DISTCLEANFILES): Remove config-int.h.
  30741. * m4/ax_create_stdint_h.m4: New file.
  30742. * native/fdlibm/mprec.h: Include config-int.h. Removed C99
  30743. typedefs. Removed stdint.h and inttypes.h includes.
  30744. 2006-01-03 Mark Wielaard <mark@klomp.org>
  30745. * javax/swing/JMenuItem.java (configurePropertiesFromAction): Only
  30746. register keyboard action when accelerator is not null.
  30747. * javax/swing/plaf/basic/BasicMenuItemUI.java (propertyChange): Only
  30748. re-register accelerator if not null.
  30749. (installKeyboardActions): Only put accelerator in map when not null.
  30750. 2006-01-04 Lillian Angel <langel@redhat.com>
  30751. * javax/swing/plaf/basic/BasicLookAndFeel.java
  30752. (initComponentDefaults): Removed unneeded default.
  30753. * javax/swing/plaf/metal/MetalLookAndFeel.java
  30754. (initComponentDefaults): Added and fixed several defaults.
  30755. 2006-01-04 Roman Kennke <kennke@aicas.com>
  30756. * javax/swing/plaf/basic/BasicHTML.java: New class.
  30757. 2006-01-03 Tom Tromey <tromey@redhat.com>
  30758. * java/io/OutputStreamWriter.java (OutputStreamWriter): Added @since.
  30759. * java/io/InputStreamReader.java (InputStreamReader): Added @since.
  30760. 2006-01-03 Mark Wielaard <mark@klomp.org>
  30761. * org/omg/CORBA/INVALID_ACTIVITY.java: Remove non-ascii characters.
  30762. 2006-01-03 Mark Wielaard <mark@klomp.org>
  30763. * javax/swing/plaf/metal/MetalLookAndFeel.java (MetalLookAndFeel):
  30764. Always call createDefaultTheme().
  30765. (createDefaultTheme): Check whether theme is still null.
  30766. 2006-01-03 Mark Wielaard <mark@klomp.org>
  30767. * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setBackground): Set to
  30768. Color.WHITE if null.
  30769. 2006-01-03 Lillian Angel <langel@redhat.com>
  30770. * javax/swing/plaf/metal/MetalLookAndFeel.java
  30771. (getDescription): Fixed to return the correct string.
  30772. (getID): Likewise.
  30773. (getName): Likewise.
  30774. (getDefaults): Added check to avoid NPE.
  30775. (getAcceleratorForeground): Likewise.
  30776. (getAcceleratorSelectedForeground): Likewise.
  30777. (getBlack): Likewise.
  30778. (getControl): Likewise.
  30779. (getControlDarkShadow): Likewise.
  30780. (getControlDisabled): Likewise.
  30781. (getControlHighlight): Likewise.
  30782. (getControlInfo): Likewise.
  30783. (getControlShadow): Likewise.
  30784. (getControlTextColor): Likewise.
  30785. (getControlTextFont): Likewise.
  30786. (getDesktopColor): Likewise.
  30787. (getFocusColor): Likewise.
  30788. (getHighlightedTextColor): Likewise.
  30789. (getInactiveControlTextColor): Likewise.
  30790. (getInactiveSystemTextColor): Likewise.
  30791. (getMenuBackground): Likewise.
  30792. (getMenuDisabledForeground): Likewise.
  30793. (getMenuForeground): Likewise.
  30794. (getMenuSelectedBackground): Likewise.
  30795. (getMenuSelectedForeground): Likewise.
  30796. (getMenuTextFont): Likewise.
  30797. (getPrimaryControl): Likewise.
  30798. (getPrimaryControlDarkShadow): Likewise.
  30799. (getPrimaryControlHighlight): Likewise.
  30800. (getPrimaryControlInfo): Likewise.
  30801. (getPrimaryControlShadow): Likewise.
  30802. (getSeparatorBackground): Likewise.
  30803. (getSeparatorForeground): Likewise.
  30804. (getSubTextFont): Likewise.
  30805. (getSystemTextColor): Likewise.
  30806. (getSystemTextFont): Likewise.
  30807. (getTextHighlightColor): Likewise.
  30808. (getUserTextColor): Likewise.
  30809. (getUserTextFont): Likewise.
  30810. (getWhite): Likewise.
  30811. (getWindowBackground): Likewise.
  30812. (getWindowTitleBackground): Likewise.
  30813. (getWindowTitleFont): Likewise.
  30814. (getWindowTitleForeground): Likewise.
  30815. (getWindowTitleInactiveBackground): Likewise.
  30816. (getWindowTitleInactiveForeground): Likewise.
  30817. 2006-01-03 Mark Wielaard <mark@klomp.org>
  30818. * javax/swing/JTextArea.java
  30819. (JTextArea(Document,text,int,int)): Only call setText() when text is
  30820. not null.
  30821. 2006-01-03 Lillian Angel <langel@redhat.com>
  30822. * javax/swing/plaf/basic/BasicFileChooserUI.java
  30823. (installStrings): Fixed installation of defaults that
  30824. were changed in BasicLookAndFeel.
  30825. * javax/swing/plaf/basic/BasicTabbedPaneUI.java
  30826. (installDefaults): Fixed installation of defaults that
  30827. were changed in BasicLookAndFeel.
  30828. 2006-01-03 Lillian Angel <langel@redhat.com>
  30829. * javax/swing/plaf/basic/BasicLookAndFeel.java
  30830. (initComponentDefaults): Fixed several defaults that differed
  30831. from the JDK.
  30832. 2006-01-03 Lillian Angel <langel@redhat.com>
  30833. * javax/swing/tree/DefaultTreeSelectionModel.java
  30834. (DefaultTreeSelectionModel): Default should be DISCONTIGUOUS_TREE_SELECTION.
  30835. 2006-01-03 Lillian Angel <langel@redhat.com>
  30836. * javax/swing/AbstractAction.java
  30837. (AbstractAction): Fixed to pass in null. Should not be
  30838. an empty string. Removed TODO comment.
  30839. (AbstractAction): Removed TODO comment.
  30840. * javax/swing/JList.java
  30841. (init): Default selection mode should be MULTIPLE_INTERVAL_SELECTION.
  30842. * javax/swing/JMenuItem.java
  30843. (JMenuItem): Set all defaults if the action passed in is not null.
  30844. * javax/swing/JProgressBar.java
  30845. (JProgressBar): Added check to prevent NPE.
  30846. 2006-01-03 Lillian Angel <langel@redhat.com>
  30847. * javax/swing/plaf/basic/BasicListUI.java
  30848. (getPreferredSize): The JDK adds some extra space to
  30849. the list, so we should as well.
  30850. * javax/swing/plaf/metal/MetalFileChooserUI.java
  30851. (getPreferredSize): Should only take the fileListPanel's
  30852. width into account when getting the size. Also, the buttonPanel's
  30853. size should not be checked, since it is in the bottomPanel already.
  30854. (getMinimumSize): Likewise.
  30855. 2006-01-03 Lillian Angel <langel@redhat.com>
  30856. * javax/swing/JList.java
  30857. (init): visibleRowCount should be 7, like the JDK.
  30858. * javax/swing/plaf/metal/MetalFileChooserUI.java
  30859. (installComponents): No need to add the fileFilterCombo
  30860. to a panel. It can be added to the row directly.
  30861. 2006-01-03 Lillian Angel <langel@redhat.com>
  30862. PR classpath/25480 PR classpath/25478
  30863. * javax/swing/plaf/basic/BasicScrollPaneUI.java
  30864. (updateViewport): Made changes suggested by
  30865. Chris Lansdown.
  30866. * javax/swing/plaf/metal/MetalFileChooserUI.java:
  30867. Removed unneeded import.
  30868. (createList): Removed comment, JList wrapping
  30869. now works.
  30870. (getPreferredSize): Made changes suggested by
  30871. Chris Lansdown. Uses fileListPanel, instead
  30872. of fileList.
  30873. (getMinimumSize): Uses fileListPanel, instead
  30874. of fileList.
  30875. * javax/swing/plaf/metal/MetalRadioButtonUI.java
  30876. (paintFocus): Fixed height.
  30877. 2006-01-03 Roman Kennke <kennke@aicas.com>
  30878. * javax/swing/plaf/basic/BasicListUI.java
  30879. (locationToIndex): Added check to avoid ArrayOutOfBoundsException.
  30880. 2006-01-03 Roman Kennke <kennke@aicas.com>
  30881. * javax/swing/plaf/basic/BasicListUI.java
  30882. (locationToIndex): Special case for when variable cell heights
  30883. are possible. (cellHeights is used instead of cellHeight).
  30884. (indexToLocation): Special case for when variable cell heights
  30885. are possible. (cellHeights is used instead of cellHeight).
  30886. 2006-01-03 Roman Kennke <kennke@aicas.com>
  30887. * javax/swing/text/DefaultStyledDocument.java
  30888. (ElementBuffer.remove): New method.
  30889. (ElementBuffer.removeUpdate): New method.
  30890. (removeUpdate): New method.
  30891. 2006-01-03 Roman Kennke <kennke@aicas.com>
  30892. * lib/Makefile.am:
  30893. (dist-hook): Preserve attributes of Java sources when copying to
  30894. dist dir.
  30895. 2006-01-03 Raif S. Naffah <raif@swiftdsl.com.au>
  30896. * AUTHORS: Added self.
  30897. * java/security/Security.java (getProvider): Ensures provider's name is
  30898. not null, not an empty string, and is trimmed before usage.
  30899. 2006-01-01 Audrius Meskauskas <AudriusA@Bioinformatics.org>
  30900. * gnu/CORBA/Poa/AOM.java (add):
  30901. Changed parameter Object into gnuServantObject.
  30902. (Obj.object): Changed type to gnuServantObject.
  30903. (findObject): Rewritten.
  30904. 2006-01-01 Andreas Tobler <a.tobler@schweiz.ch>
  30905. * native/jni/qt-peer/mainqtthread.cpp: Remove call to disable double
  30906. buffering. Ability has gone in Qt-4.1.x.
  30907. * configure.ac (QT_CFLAGS): Check for 4.1.0 version and for QtCore
  30908. to have the right include flags.
  30909. 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
  30910. * java/security/MessageDigest.java (getInstance(String,String)):
  30911. Use trimmed copy of provider name.
  30912. * gnu/java/security/Engine.java
  30913. (getInstance(String,String,Provider,Object[])): Use trimmed copy of
  30914. service and algorithm names.
  30915. 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
  30916. * java/net/InetAddress.java (getAllByName): use LOCALHOST if
  30917. localhost is null or is an empty string. Trim hostname before
  30918. lookup.