ChangeLog-2004 542 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949
  1. 2004-12-31 Andreas Jaeger <aj@suse.de>
  2. * testsuite/lib/libjava.exp (libjava_find_gij): Handle multilibs.
  3. 2004-12-20 Tom Tromey <tromey@redhat.com>
  4. * java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault):
  5. Re-enable duplicate class registration error.
  6. * testsuite/libjava.jar/jar.exp (gcj_jar_interpret): Updated.
  7. * testsuite/libjava.verify/verify.exp (gcj_verify_run): Updated.
  8. * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Updated.
  9. * testsuite/lib/libjava.exp (libjava_find_spec): Don't use
  10. get_multilibs.
  11. (libjava_find_gij): Likewise. Changed return result if gij not
  12. found.
  13. (test_libjava_from_javac): Updated.
  14. PR java/15001
  15. * testsuite/libjava.jni/iface.c: New file.
  16. * testsuite/libjava.jni/iface.out: New file.
  17. * testsuite/libjava.jni/iface.java: New file.
  18. 2004-12-19 Kelley Cook <kcook@gcc.gnu.org>
  19. * include/config.h.in: Regenerate.
  20. 2004-12-10 Andrew Haley <aph@redhat.com>
  21. PR java/15001
  22. * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Look up
  23. abstract methods by name.
  24. 2004-12-08 Ranjit Mathew <rmathew@hotmail.com>
  25. * java/util/IdentityHashMap.java (put): Replace mistaken use
  26. of "<<" by "*".
  27. 2004-12-06 Tom Tromey <tromey@redhat.com>
  28. For PR java/14853:
  29. * testsuite/libjava.compile/PR14853.java: New file.
  30. * testsuite/libjava.compile/PR14853.xfail: New file.
  31. 2004-12-03 Richard Sandiford <rsandifo@redhat.com>
  32. PR libgcj/7305
  33. * configure.ac: Use TL_AC_GXX_INCLUDE_DIR.
  34. * Makefile.am (install-data-local): Install headers into
  35. $(gxx_include_dir) rather than $(includedir).
  36. (AM_MAKEFLAGS): Pass down gxx_include_dir.
  37. * gcj/Makefile.am (gcjdir): Set to $(gxx_include_dir)/gcj.
  38. * include/Makefile.am (tool_include__HEADERS): Define this...
  39. (include_HEADERS): ...instead of this.
  40. * configure, aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate.
  41. * include/Makefile.in, testsuite/Makefile.in: Regenerate.
  42. 2004-12-02 Tom Tromey <tromey@redhat.com>
  43. For PR java/16675:
  44. * testsuite/libjava.compile/PR16675.java: New file.
  45. 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
  46. * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
  47. * configure, aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate.
  48. * include/Makefile.in, testsuite/Makefile.in: Regenerate.
  49. 2004-12-01 Tom Tromey <tromey@redhat.com>
  50. * include/no-threads.h (_Jv_ThreadDestroyData): Removed argument
  51. name.
  52. (_Jv_ThreadRegister): Likewise.
  53. (_Jv_MutexCheckMonitor): Likewise.
  54. * link.cc: Include limits.h.
  55. 2004-12-01 Bryce McKinlay <mckinlay@redhat.com>
  56. PR libgcj/18699
  57. * testsuite/libjava.lang/PR18699.java,
  58. testsuite/libjava.lang/PR18699.out: New test.
  59. 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
  60. * gnu/java/awt/peer/gtk/GdkGraphics.java (drawImage variants):
  61. Update image observer.
  62. * gnu/java/awt/peer/gtk/GtkComponentPeer.java (createImage):
  63. Start image production.
  64. * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar): Protect
  65. against negative menu bar widths.
  66. (setBounds): Likewise.
  67. (postConfigureEvent): Likewise.
  68. * gnu/java/awt/peer/gtk/GtkImage.java (imageComplete): Don't
  69. remove consumer unless only a single frame has completed.
  70. * gnu/java/awt/peer/gtk/GtkImagePainter.java (GtkImagePainter):
  71. Add observer parameter.
  72. (setPixels): Update image observer.
  73. (imageComplete): Likewise.
  74. * java/applet/Applet.java (width): New field.
  75. (height): Likewise.
  76. (setStub): Set size if width or height field has been set.
  77. (resize): If stub is null save width and height values.
  78. * java/awt/Component.java (reshape): Protect against null
  79. parent.
  80. * java/awt/image/MemoryImageSource.java
  81. (MemoryImageSource(int,int,ColorModel,byte[],int,int)):
  82. Document.
  83. (MemoryImageSource(int,int,ColorModel,int[],int,int)):
  84. Likewise.
  85. (MemoryImageSource(int,int,ColorModel,byte[],int,int,Hashtable)):
  86. Reference pixel array directly, rather than creating a local
  87. copy.
  88. (MemoryImageSource(int,int,ColorModel,int[],int,int,Hashtable)):
  89. Likewise.
  90. (newPixels(int,int,int,int)): Fix for loop and array copy
  91. bounds.
  92. (newPixels(int,int,int,int,boolean)): Likewise.
  93. (startProduction): If animated call imageComplete with
  94. SINGLEFRAME.
  95. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Uncomment
  96. gdk_flush lines.
  97. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
  98. (drawPixels): Return if g is null or g->drawable is not a gdk
  99. drawable.
  100. 2004-11-30 Michael Koch <konqueror@gmx.de>
  101. * javax/swing/DefaultSingleSelectionModel.java,
  102. javax/swing/JPasswordField.java,
  103. javax/swing/tree/AbstractLayoutCache.java:
  104. Reformatted and javadocs cleaned up.
  105. 2004-11-30 Michael Koch <konqueror@gmx.de>
  106. * java/awt/Component.java:
  107. Fixed argument names to match javadocs.
  108. (setFont): Rewritten set property first and then fire event.
  109. (setLocale): Likewise.
  110. * javax/swing/text/JTextComponent.java
  111. (setEditable): Likewise.
  112. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  113. * java/awt/Button.java
  114. (AccessibleAWTButton.getAccessibleActionDescription): Explain the
  115. source of 'click'.
  116. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  117. * java/awt/Checkbox.java: Remove stub comments.
  118. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  119. * java/awt/Button.java
  120. (AccessibleAWTButton.getAccessibleActionDescription): Return
  121. 'click'.
  122. 2004-11-30 Michael Koch <konqueror@gmx.de>
  123. * java/awt/CardLayout.java:
  124. Made some constants static.
  125. (serialVersionUID): Made private.
  126. (addLayoutComponent): Simplified code.
  127. * java/awt/event/InputEvent.java
  128. (getModifiersEx): Added missing @param tag.
  129. * java/awt/image/RGBImageFilter.java
  130. (filterRGBPixels): Reformatted, removed wrong @param tag.
  131. 2004-11-30 Michael Koch <konqueror@gmx.de>
  132. * javax/swing/text/FieldView.java,
  133. javax/swing/text/JTextComponent.java:
  134. Removed debug code.
  135. 2004-11-30 Michael Koch <konqueror@gmx.de>
  136. * javax/swing/BorderFactory.java
  137. (BorderFactory): Added private constructor.
  138. * javax/swing/SwingUtilities.java
  139. (SwingUtilities): Likewise.
  140. (computeStringWidth): New method.
  141. 2004-11-30 Michael Koch <konqueror@gmx.de>
  142. * java/awt/color/ICC_Profile.java
  143. (icSigNamedColorTag): Removed.
  144. * java/awt/datatransfer/DataFlavor.java
  145. (isMimeTypeEqual): Made final.
  146. * java/awt/image/AffineTransformOp.java:
  147. Reworked javadocs.
  148. (TYPE_BICUBIC): Added @since tag.
  149. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  150. * java/awt/Checkbox.java (AccessibleAWTCheckBox): Remove todo
  151. comments.
  152. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  153. * java/awt/Checkbox.java (itemStateChanged): Implement function.
  154. (getAccessibleContext): Add AccessibleAWTCheckBox to item listeners.
  155. 2004-11-30 Sven de Marothy <sven@physto.se>
  156. * java/awt/Polygon.java (contains): Reimplemented.
  157. 2004-11-30 Michael Koch <konqueror@gmx.de>
  158. * java/awt/print/PrinterJob.java: Reformatted.
  159. 2004-11-30 Michael Koch <konqueror@gmx.de>
  160. * java/awt/image/AffineTransformOp.java,
  161. java/awt/image/ColorConvertOp.java,
  162. java/awt/image/LookupOp.java,
  163. java/awt/image/RescaleOp.java:
  164. Added final keywords where they belong.
  165. 2004-11-30 Michael Koch <konqueror@gmx.de>
  166. * java/awt/CardLayout.java,
  167. java/awt/Component.java,
  168. java/awt/Font.java,
  169. java/awt/image/SinglePixelPackedSampleModel.java:
  170. Fixed javadocs and argument names all over.
  171. 2004-11-30 Michael Koch <konqueror@gmx.de>
  172. * java/awt/image/DataBufferShort.java: Fixed file header.
  173. * java/awt/image/DataBufferUShort.java: Likewise.
  174. (DataBufferUShort): Throw NullPointerException if dataArray is null.
  175. 2004-11-30 Sven de Marothy <sven@physto.se>
  176. * java/awt/geom/Arc2D.java
  177. (setAngleStart): Corrected (wrong sign on atan2 y parameter).
  178. (setAngles): Likewise.
  179. (containsAngle): Return false on zero extent, don't include
  180. final angle.
  181. (contains): Treat OPEN-type arcs like CHORD ones, not as PIE
  182. ones.
  183. 2004-11-30 Sven de Marothy <sven@physto.se>
  184. * java/awt/geom/AffineTransform.java,
  185. (inverseTransform): Fixed bug and simplified code.
  186. (createTransformedShape): Return null on null parameter.
  187. 2004-11-30 Michael Koch <konqueror@gmx.de>
  188. * java/awt/color/ICC_ColorSpace.java,
  189. java/awt/color/ICC_Profile.java,
  190. java/awt/color/ICC_ProfileGray.java,
  191. java/awt/color/ICC_ProfileRGB.java:
  192. Re-indent copyright header to be standardish.
  193. * java/awt/datatransfer/StringSelection.java:
  194. Reformatted.
  195. * java/awt/geom/Area.java
  196. (EPSILON): Made static.
  197. (RS_EPSILON): Likewise.
  198. (PE_EPSILON): Likewide.
  199. 2004-11-30 Sven de Marothy <sven@physto.se>
  200. * javax/swing/SwingUtilities.java:
  201. (computeDifference): Implemented
  202. (computeIntersection): Likewise
  203. (computeUnion): Likewise
  204. (isRectangleContainingRectangle): Likewise
  205. 2004-11-30 Michael Koch <konqueror@gmx.de>
  206. * java/awt/BasicStroke.java,
  207. java/awt/Button.java,
  208. java/awt/Canvas.java,
  209. java/awt/CheckboxMenuItem.java,
  210. java/awt/Container.java,
  211. java/awt/EventQueue.java,
  212. java/awt/FileDialog.java,
  213. java/awt/FlowLayout.java,
  214. java/awt/FontMetrics.java,
  215. java/awt/Graphics.java,
  216. java/awt/GridLayout.java,
  217. java/awt/KeyboardFocusManager.java,
  218. java/awt/Label.java,
  219. java/awt/LayoutManager2.java,
  220. java/awt/List.java,
  221. java/awt/MenuBar.java,
  222. java/awt/Scrollbar.java,
  223. java/awt/Toolkit.java,
  224. java/awt/Window.java,
  225. java/awt/datatransfer/DataFlavor.java,
  226. java/awt/datatransfer/FlavorTable.java,
  227. java/awt/event/ActionListener.java,
  228. java/awt/event/HierarchyBoundsAdapter.java,
  229. java/awt/geom/Arc2D.java,
  230. java/awt/geom/Rectangle2D.java,
  231. java/awt/geom/RectangularShape.java,
  232. java/awt/im/spi/InputMethod.java,
  233. java/awt/image/ByteLookupTable.java,
  234. java/awt/image/ColorModel.java,
  235. java/awt/image/DirectColorModel.java,
  236. java/awt/image/ShortLookupTable.java,
  237. java/awt/print/Book.java:
  238. Fixed javadocs and method argument names all over.
  239. 2004-11-30 Michael Koch <konqueror@gmx.de>
  240. * gnu/java/awt/peer/gtk/GdkFontPeer.java
  241. (buildString): Optimise String building.
  242. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  243. * java/awt/TextArea.java (AccessibleAWTTextArea,
  244. getAccessibleContext): Implement.
  245. * java/awt/TextField.java (AccessibleAWTTextField,
  246. getAccessibleContext): Implement.
  247. 2004-11-30 Tom Tromey <tromey@redhat.com>
  248. * Makefile.in: Rebuilt.
  249. * Makefile.am (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.lo):
  250. Fixed typo.
  251. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  252. * java/awt/Menu.java (AccessibleAWTMenu, getAccessibleContext):
  253. Implement.
  254. * java/awt/PopupMenu.java (AccessibleAWTMenu, getAccessibleContext):
  255. Implement.
  256. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  257. * java/awt/print/PrinterJob.java (lookupPrintServices,
  258. getPrintService, setPrintService): Implement.
  259. (lookupStreamPrintServices): Add commented out implementation.
  260. (printer): New field.
  261. 2004-11-30 Mark Wielaard <mark@klomp.org>
  262. * javax/swing/ToolTipManager.java (mouseMoved): Set currentComponent
  263. when not yet set.
  264. 2004-11-30 Sven de Marothy <sven@physto.se>
  265. * java/awt/geom/GeneralPath.java (evaluateCrossings):
  266. Fixed epsilon value, should always be nonzero.
  267. 2004-11-30 Paul Jenner <psj.home@ntlworld.com>
  268. * java/awt/image/Raster.java
  269. (createPackedRaster): Implemented.
  270. 2004-11-30 Graydon Hoare <graydon@redhat.com>
  271. * javax/swing/plaf/basic/BasicTextUI.java:
  272. Listen to focus events, indicate focus via caret.
  273. * javax/swing/text/GapContent.java (getString): Return substring.
  274. * javax/swing/text/PlainDocument.java (reindex): New method.
  275. (createDefaultRoot): Call it.
  276. (insertUpdate): Likewise.
  277. (removeUpdate): Likewise.
  278. * javax/swing/text/Utilities.java (drawTabbedText): Always advance
  279. on tab and newline, even if no painting happens.
  280. 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
  281. * Makefile.am: List peer JNI header: Java source file
  282. dependencies explicitly. Likewise for JNI .lo: JNI header
  283. dependencies.
  284. * Makefile.in: Regenerate.
  285. 2004-11-30 Graydon Hoare <graydon@redhat.com>
  286. * Makefile.am: Add entry for BasicTextPaneUI.java
  287. * Makefile.in: Regenerate.
  288. * gnu/java/awt/peer/gtk/GdkGraphics2D.java
  289. (GdkGraphics2D): Set clip after transform.
  290. (drawImage): Protect against null image.
  291. * gnu/java/awt/peer/gtk/GtkFramePeer.java
  292. (setIconImage): Protect against non-GtkImage args.
  293. * gnu/java/awt/peer/gtk/GtkToolkit.java
  294. (checkImage): Protect against non-GtkImage args.
  295. * java/awt/print/PrinterJob.java:
  296. (print): Add variant taking PrintRequestAttributeSet.
  297. (printDialog): Likewise.
  298. * javax/swing/JComponent.java:
  299. (transferHandler): New field.
  300. (getComponentGraphics): Build new Graphics for each sub-paint.
  301. (getTransferHandler): New method.
  302. (setTransferHandler): New method.
  303. * javax/swing/JDesktopPane.java
  304. (setDragMode): Force LIVE_DRAG_MODE.
  305. * javax/swing/JMenuItem.java
  306. (menuSelectionChanged): Protect against null parent.
  307. * javax/swing/JTable.java (setDefaultRenderer): New method.
  308. * javax/swing/JTree.java: Get basic ctors and UI working.
  309. * javax/swing/JViewport.java (JViewport): Set scroll mode.
  310. * javax/swing/RepaintManager.java
  311. (addDirtyRegion): Skip empty regions.
  312. * javax/swing/ScrollPaneLayout.java (minimumLayoutSize): Do not
  313. bound scrollpane minimum by central view minimum.
  314. * javax/swing/ToolTipManager.java
  315. (showTip): Guard against null component.
  316. * javax/swing/TransferHandler.java: Stub out.
  317. * javax/swing/plaf/basic/BasicLookAndFeel.java:
  318. Add entry for TextPaneUI, change Tree icons to pngs.
  319. * javax/swing/plaf/basic/BasicMenuItemUI.java:
  320. (installDefaults): Set text position and alignment.
  321. (paintMenuItem): Layout icon with normal compound function.
  322. * javax/swing/plaf/basic/BasicTableHeaderUI.java:
  323. (getMaximumSize): Delete.
  324. (getMinimumSize): Delete.
  325. (getPreferredSize): Use column model's total width.
  326. * javax/swing/plaf/basic/BasicTextPaneUI.java: New file.
  327. * javax/swing/plaf/basic/BasicTextUI.java
  328. (modelChanged): Make resilient against nulls.
  329. * javax/swing/plaf/basic/BasicTreeUI.java:
  330. Add some simplistic config / painting functions.
  331. * javax/swing/plaf/basic/BasicViewportUI.java
  332. (paintSimple): Add new non-backingstore paint mode.
  333. (paintBackingStore): Split out backing store code.
  334. (paint): Switch on painting mode.
  335. * javax/swing/text/SimpleAttributeSet.java
  336. (SimpleAttributeSet): Resist nulls.
  337. * javax/swing/tree/DefaultTreeCellRenderer.java: Implement.
  338. * javax/swing/tree/DefaultTreeModel.java: Partially implement.
  339. 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
  340. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c (setFont):
  341. Set pango context's description and language.
  342. 2004-11-30 Mark Wielaard <mark@klomp.org>
  343. * java/awt/image/LookupOp.java: Comments and indentation fixes.
  344. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  345. * java/awt/Checkbox.java (AccessibleAWTCheckBox): Implement.
  346. (getAccessibleContext): Implement.
  347. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  348. * java/awt/TextComponent.java (AccessibleAWTTextComponent):
  349. Implement.
  350. (getIndexAtPoint, getCharacterBounds): New methods.
  351. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  352. * java/awt/Button.java (AccessibleAWTButton): Implement.
  353. 2004-11-30 Mark Wielaard <mark@klomp.org>
  354. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
  355. (filenameFilterCallback): Made static.
  356. 2004-11-30 Michael Koch <konqueror@gmx.de>
  357. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
  358. (cairoShowGlyphs) Removed.
  359. 2004-11-30 Sven de Marothy <sven@physto.se>
  360. * gnu/java/awt/color/RgbProfileConverter.java (RgbProfileConverter):
  361. Don't invert matrix when reverse CLUT is available.
  362. * gnu/java/awt/color/LinearRGBConverter.java: Documentation update.
  363. * java/awt/color/ICC_ColorSpace.java: Likewise.
  364. * java/awt/color/ICC_Profile.java: Likewise.
  365. * java/awt/color/ICC_ProfileGray.java: Likewise.
  366. * java/awt/color/ICC_ProfileRGB.java: Likewise.
  367. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  368. * java/awt/MenuItem.java (AccessibleAWTMenuItem): Implement.
  369. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  370. * java/awt/Choice.java (AccessibleAWTChoice): Implement.
  371. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  372. * java/awt/image/BandedSampleModel.java (scanlineStride): Remove
  373. field hiding ComponentSampleModel.scanlineStride.
  374. 2004-11-30 Noa Resare <noa@resare.com>
  375. * java/awt/geom/GeneralPath.java (currentSegment):
  376. Fix typo in transform.transform() invocation.
  377. 2004-11-30 Sven de Marothy <sven@physto.se>
  378. * gnu/java/awt/peer/gtk/GtkComponentPeer.java
  379. (createImage): Created bitmap should be filled with bg color
  380. 2004-11-30 Noa Resare <noa@resare.com>
  381. * java/awt/Choice.java (add):
  382. Implement correct selection behavior when peer == null.
  383. (insert): Likewise.
  384. (remove): Likewise.
  385. 2004-11-30 Mark Wielaard <mark@klomp.org>
  386. * gnu/java/awt/peer/gtk/GtkChoicePeer.java (GtkChoicePeer):
  387. Call select() when Choice has a selected item.
  388. 2004-11-30 Michael Koch <address@bogus.example.com>
  389. * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
  390. jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
  391. jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c,
  392. jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c,
  393. jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
  394. jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
  395. jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
  396. jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c,
  397. jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c,
  398. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
  399. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
  400. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
  401. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c,
  402. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
  403. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
  404. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
  405. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
  406. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
  407. Fixed method names to start at begin of line. This is desired by GNU
  408. coding style guide.
  409. 2004-11-30 Michael Koch <konqueror@gmx.de>
  410. * gnu/java/awt/peer/gtk/GtkComponentPeer.java
  411. (gtkWidgetSetVisible): Unused. Removed.
  412. (connectJObject): Likewise.
  413. * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
  414. (gtkScrolledWindowSetScrollPosition): Commented out.
  415. 2004-11-30 Mark Wielaard <mark@klomp.org>
  416. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
  417. (Java_gnu_java_awt_peer_gtk_GdkTextLayout_setText): Installed and
  418. renamed from Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setText.
  419. 2004-11-30 Mark Wielaard <mark@klomp.org>
  420. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
  421. (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setText): Removed.
  422. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
  423. (init_dpi_conversion_factor): Correct prototype.
  424. 2004-11-30 Sven de Marothy <sven@physto.se>
  425. * java/awt/image/ConvolveOp.java: Added missing
  426. copyright notice.
  427. 2004-11-30 Robert Schuster <theBohemian@gmx.net>
  428. Fixes bug #10908
  429. * gnu/java/beans/IntrospectionIncubator.java:
  430. (addMethod): static methods are discarded now, too.
  431. 2004-11-30 Mark Wielaard <mark@klomp.org>
  432. * Makefile.am (awt_java_source_files): Add new gnu/java/awt/color
  433. java source files.
  434. * Makefile.in: Regenerated.
  435. 2004-11-30 Sven de Marothy <sven@physto.se>
  436. * gnu/java/awt/color/CieXyzConverter.java,
  437. gnu/java/awt/color/GrayScaleConverter.java,
  438. gnu/java/awt/color/SrgbConverter.java,
  439. gnu/java/awt/color/ClutProfileConverter.java,
  440. gnu/java/awt/color/LinearRGBConverter.java,
  441. gnu/java/awt/color/TagEntry.java,
  442. gnu/java/awt/color/ColorLookUpTable.java,
  443. gnu/java/awt/color/ProfileHeader.java,
  444. gnu/java/awt/color/ToneReproductionCurve.java,
  445. gnu/java/awt/color/ColorSpaceConverter.java,
  446. gnu/java/awt/color/PyccConverter.java,
  447. gnu/java/awt/color/GrayProfileConverter.java,
  448. gnu/java/awt/color/RgbProfileConverter.java:
  449. New files.
  450. * java/awt/color/ICC_ColorSpace.java,
  451. java/awt/color/ICC_Profile.java,
  452. java/awt/color/ICC_ProfileGray.java,
  453. java/awt/color/ICC_ProfileRGB.java:
  454. Implemented (sans PhotoYCC color space).
  455. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  456. * java/awt/image/AffineTransformOp.java (filter): Implement
  457. bilinear interpolation for Rasters.
  458. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  459. * java/awt/image/IndexColorModel.java (IndexColorModel): Actually
  460. use the provided colormap. Throw documented exceptions. Document
  461. exceptions.
  462. 2004-11-30 Paul Jenner <psj.home@ntlworld.com>
  463. * java/awt/image/IndexColorModel.java (IndexColorModel): Fix
  464. constructor.
  465. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  466. * java/awt/image/AffineTransformOp.java: Add TYPE_BICUBIC.
  467. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  468. * java/awt/image/AffineTransformOp.java (filter): Implement Raster
  469. filtering.
  470. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  471. * java/awt/image/ComponentSampleModel.java (getDataElements,
  472. setDataElements): Implement SHORT, FLOAT, and INT transfer types.
  473. 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
  474. * java/awt/Font.java (name): New field.
  475. (size): Likewise.
  476. (style): Likewise.
  477. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  478. * java/awt/image/Raster.java (createBandedRaster): Implement.
  479. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  480. * java/awt/image/ConvolveOp.java: New class.
  481. * Makefile.am: Add ConvolveOp.
  482. * Makefile.in: Regenerate.
  483. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  484. * java/awt/image/RescaleOp.java (BandCombineOp, ColorConvertOp,
  485. LookupOp, RescaleOp): Fix loop bounds.
  486. 2004-11-30 jlquinn <jlquinn@optonline.net>
  487. * Makefile.am: Fix typo in BandCombineOp.
  488. * Makefile.in: Regenerate.
  489. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  490. * java/awt/image/BandCombineOp.java: New class.
  491. * Makefile.am: Add BandCombineOp.
  492. * Makefile.in: Regenerate.
  493. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  494. * java/awt/image/LookupOp.java: New class.
  495. * Makefile.am: Add LookupOp.
  496. * Makefile.in: Regenerate.
  497. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  498. * java/awt/image/SampleModel.java (createSubsetSampleModel): Add
  499. javadocs.
  500. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  501. * java/awt/image/ColorModel.java (cloneColorModel): Fix line
  502. wrap. Use Boolean.valueOf.
  503. 2004-11-30 Michael Koch <konqueror@gmx.de>
  504. * gnu/java/awt/peer/gtk/GdkGraphics2D.java
  505. (releasePeerGraphicsResource): Fixed typo in method name.
  506. * gnu/java/awt/peer/gtk/GdkFontPeer.java
  507. (finalize): Fixed typo in releasePeerGraphicsResource.
  508. 2004-11-30 Michael Koch <konqueror@gmx.de>
  509. * java/awt/font/TextAttribute.java
  510. (RUN_DIRECTION_LTR): Initialie with static value instead of
  511. calculating it.
  512. (RUN_DIRECTION_RTL): Likewise.
  513. (STRIKETHROUGH_ON): Likewise.
  514. (SWAP_COLORS_ON): Likewise.
  515. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  516. * java/awt/image/ColorConvertOp.java: New class.
  517. * java/awt/image/ColorModel.java (cloneColorModel): New method.
  518. * Makefile.am: Add ColorConvertOp.
  519. * Makefile.in: Regenerate.
  520. 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
  521. * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
  522. Track Window focus owner on FOCUS_GAINED events.
  523. 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
  524. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
  525. (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
  526. 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
  527. * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c
  528. (Java_gnu_java_awt_peer_gtk_GThreadNativeMethodRunner_nativeRun):
  529. Fix pointer warning.
  530. 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
  531. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
  532. (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFilenameFilter):
  533. Fix pointer warning.
  534. * jni/gtk-peer/gtkpeer.h: Introduce widget_union to fix type punned
  535. warnings.
  536. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
  537. (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Use widget_union
  538. to fix type punned pointer warning.
  539. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
  540. Likewise.
  541. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
  542. (window_get_new_state): Introduce unions to fix warnings as above.
  543. (window_property_changed_cb): Likewise.
  544. (window_active_state_change_cb): Mark unused variables unused.
  545. (window_focus_state_change_cb): Likewise.
  546. (window_focus_in_cb): Likewise.
  547. (window_focus_out_cb): Likewise.
  548. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
  549. (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Convert
  550. PangoFontMap correctly with PANGO_FT2FONT_MAP macro.
  551. 2004-11-30 Michael Koch <konqueror@gmx.de>
  552. * javax/swing/JMenuBar.java
  553. (updateUI): Simplified.
  554. * javax/swing/tree/DefaultTreeSelectionModel.java:
  555. Reorganized import statements.
  556. 2004-11-30 Michael Koch <konqueror@gmx.de>
  557. * java/awt/font/TextAttribute.java,
  558. javax/swing/JComponent.java,
  559. javax/swing/JInternalFrame.java,
  560. javax/swing/table/TableColumn.java,
  561. javax/swing/text/StyleConstants.java:
  562. Replaced "new Boolean(boolean)" with "Boolean.valueOf(boolean)".
  563. 2004-11-30 Michael Koch <konqueror@gmx.de>
  564. * javax/swing/tree/DefaultTreeCellEditor.java,
  565. javax/swing/tree/DefaultTreeModel.java,
  566. javax/swing/tree/DefaultTreeSelectionModel.java:
  567. Jalopied.
  568. 2004-11-30 Michael Koch <konqueror@gmx.de>
  569. * javax/swing/tree/DefaultTreeCellEditor.java
  570. (EditorContainer.EditorContainer): Fixed arguments.
  571. (EditorContainer.EditorContainer): New method.
  572. (DefaultTextField.DefaultTextField): Fixed arguments, implemented.
  573. (DefaultTextField.getBorder): Implemented.
  574. (listenerList): New field.
  575. (addCellEditorListener): Implemented.
  576. (removeCellEditorListener): Implemented.
  577. (getCellEditorListeners): New method.
  578. * javax/swing/tree/DefaultTreeModel.java
  579. (addTreeModelListener): Fixed javadoc.
  580. (removeTreeModelListener): Likewise.
  581. (getTreeModelListeners): New method.
  582. (fireTreeNodesChanged): Implemented.
  583. (fireTreeNodesInserted): Likewise.
  584. (fireTreeNodesRemoved): Likewise.
  585. (fireTreeStructureChanged): Likewise.
  586. (getListeners): Fixed javadoc.
  587. * javax/swing/tree/DefaultTreeSelectionModel.java
  588. (addTreeSelectionListener): Implemented.
  589. (removeTreeSelectionListener): Likewise.
  590. (fireValueChanged): Likewise.
  591. (getListeners): Likewise.
  592. (addPropertyChangeListener): Likewise.
  593. (removePropertyChangeListener): Likewise.
  594. (getTreeSelectionListeners): New method.
  595. (getPropertyChangeListeners): Likewise.
  596. 2004-11-30 Michael Koch <konqueror@gmx.de>
  597. * javax/swing/plaf/basic/BasicScrollBarUI.java
  598. (maximumThumbSize): Removed static keyword.
  599. (minimumThumbSize): Likewise.
  600. * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
  601. (CloseAction): Made public.
  602. (IconifyAction): Likewise.
  603. (MaximizeAction): Likewise.
  604. (MoveAction): Likewise.
  605. (RestoreAction): Likewise.
  606. (SizeAction): Likewise.
  607. (SystemMenuBar): Likewise.
  608. * javax/swing/plaf/basic/BasicSliderUI.java
  609. (TrackListener): Likewise.
  610. * javax/swing/plaf/basic/BasicSplitPaneUI.java
  611. (KeyboardDownRightHandler): Likewise.
  612. (KeyboardEndHandler): Likewise.
  613. (KeyboardHomeHandler): Likewise.
  614. (KeyboardResizeToggleHandler): Likewise.
  615. (KeyboardUpLeftHandler): Likewise.
  616. (PropertyHandler): Likewise.
  617. * javax/swing/plaf/basic/BasicTabbedPaneUI.java
  618. (PropertyChangeHandler): Likewise.
  619. (TabSelectionHandler): Likewise.
  620. 2004-11-30 Michael Koch <konqueror@gmx.de>
  621. * javax/swing/text/JTextComponent.java
  622. (getKeymap): Made public.
  623. 2004-11-30 Michael Koch <konqueror@gmx.de>
  624. * javax/swing/JEditorPane.java
  625. (getStream): Throws IOException.
  626. (read): Likewise.
  627. * javax/swing/JRootPane.java
  628. (createContentPane): Fixed return type.
  629. * javax/swing/JSpinner.java
  630. (commitEdit): Throws ParseException.
  631. * javax/swing/plaf/metal/MetalLookAndFeel.java
  632. (serialVersionUID): New field.
  633. * javax/swing/table/TableColumn.java
  634. (resizedPostingDisableCount): Added @deprecated tag.
  635. (disableResizedPosting): Likewise.
  636. (enableResizedPosting): Likewise.
  637. * javax/swing/text/Document.java
  638. (TitleProperty): Fixed value.
  639. * javax/swing/tree/TreeCellEditor.java
  640. (TreeCellEditor): Extends CellEditor.
  641. 2004-11-30 Michael Koch <konqueror@gmx.de>
  642. * javax/swing/JWindow.java
  643. javax/swing/SpinnerModel.java
  644. javax/swing/Timer.java
  645. javax/swing/event/MenuKeyEvent.java
  646. javax/swing/plaf/basic/BasicButtonUI.java
  647. javax/swing/plaf/basic/BasicIconFactory.java
  648. javax/swing/plaf/basic/BasicTabbedPaneUI.java
  649. javax/swing/text/AttributeSet.java
  650. javax/swing/text/Highlighter.java
  651. javax/swing/text/StyleConstants.java
  652. javax/swing/tree/TreeCellEditor.java:
  653. Removed redundant and reordered modifiers.
  654. 2004-11-30 Michael Koch <konqueror@gmx.de>
  655. * javax/swing/plaf/basic/BasicToolTipUI.java:
  656. Reformatted copyright header.
  657. 2004-11-30 Michael Koch <konqueror@gmx.de>
  658. * javax/swing/AbstractAction.java,
  659. javax/swing/AbstractButton.java,
  660. javax/swing/AbstractCellEditor.java,
  661. javax/swing/AbstractListModel.java,
  662. javax/swing/AbstractSpinnerModel.java,
  663. javax/swing/ActionMap.java,
  664. javax/swing/BorderFactory.java,
  665. javax/swing/Box.java,
  666. javax/swing/ButtonModel.java,
  667. javax/swing/CellEditor.java,
  668. javax/swing/CellRendererPane.java,
  669. javax/swing/DefaultBoundedRangeModel.java,
  670. javax/swing/DefaultButtonModel.java,
  671. javax/swing/DefaultCellEditor.java,
  672. javax/swing/DefaultDesktopManager.java,
  673. javax/swing/DefaultListCellRenderer.java,
  674. javax/swing/DefaultListSelectionModel.java,
  675. javax/swing/DefaultSingleSelectionModel.java,
  676. javax/swing/GrayFilter.java,
  677. javax/swing/InputMap.java,
  678. javax/swing/JApplet.java,
  679. javax/swing/JCheckBoxMenuItem.java,
  680. javax/swing/JColorChooser.java,
  681. javax/swing/JComboBox.java,
  682. javax/swing/JComponent.java,
  683. javax/swing/JDesktopPane.java,
  684. javax/swing/JDialog.java,
  685. javax/swing/JEditorPane.java,
  686. javax/swing/JFileChooser.java,
  687. javax/swing/JFormattedTextField.java,
  688. javax/swing/JFrame.java,
  689. javax/swing/JInternalFrame.java,
  690. javax/swing/JLabel.java,
  691. javax/swing/JLayeredPane.java,
  692. javax/swing/JList.java,
  693. javax/swing/JMenu.java,
  694. javax/swing/JMenuBar.java,
  695. javax/swing/JMenuItem.java,
  696. javax/swing/JOptionPane.java,
  697. javax/swing/JPanel.java,
  698. javax/swing/JPasswordField.java,
  699. javax/swing/JPopupMenu.java,
  700. javax/swing/JRadioButtonMenuItem.java,
  701. javax/swing/JRootPane.java,
  702. javax/swing/JSpinner.java,
  703. javax/swing/JSplitPane.java,
  704. javax/swing/JTabbedPane.java,
  705. javax/swing/JTable.java,
  706. javax/swing/JTextArea.java,
  707. javax/swing/JTextPane.java,
  708. javax/swing/JToggleButton.java,
  709. javax/swing/JToolBar.java,
  710. javax/swing/JToolTip.java,
  711. javax/swing/JTree.java,
  712. javax/swing/JViewport.java,
  713. javax/swing/ListModel.java,
  714. javax/swing/LookAndFeel.java,
  715. javax/swing/MenuSelectionManager.java,
  716. javax/swing/ProgressMonitorInputStream.java,
  717. javax/swing/RepaintManager.java,
  718. javax/swing/RootPaneContainer.java,
  719. javax/swing/ScrollPaneLayout.java,
  720. javax/swing/SpringLayout.java,
  721. javax/swing/SwingUtilities.java,
  722. javax/swing/Timer.java,
  723. javax/swing/ToolTipManager.java,
  724. javax/swing/UIDefaults.java,
  725. javax/swing/UIManager.java,
  726. javax/swing/border/MatteBorder.java,
  727. javax/swing/colorchooser/AbstractColorChooserPanel.java,
  728. javax/swing/colorchooser/ColorSelectionModel.java,
  729. javax/swing/colorchooser/DefaultColorSelectionModel.java,
  730. javax/swing/colorchooser/DefaultHSBChooserPanel.java,
  731. javax/swing/colorchooser/DefaultPreviewPanel.java,
  732. javax/swing/colorchooser/DefaultRGBChooserPanel.java,
  733. javax/swing/colorchooser/DefaultSwatchChooserPanel.java,
  734. javax/swing/event/AncestorEvent.java,
  735. javax/swing/event/HyperlinkEvent.java,
  736. javax/swing/event/InternalFrameEvent.java,
  737. javax/swing/event/MenuDragMouseEvent.java,
  738. javax/swing/event/TableColumnModelEvent.java,
  739. javax/swing/event/TableModelEvent.java,
  740. javax/swing/event/TreeExpansionEvent.java,
  741. javax/swing/event/TreeModelEvent.java,
  742. javax/swing/event/TreeSelectionEvent.java,
  743. javax/swing/event/TreeWillExpandListener.java,
  744. javax/swing/event/UndoableEditEvent.java,
  745. javax/swing/filechooser/FileView.java,
  746. javax/swing/plaf/BorderUIResource.java,
  747. javax/swing/plaf/ComponentUI.java,
  748. javax/swing/plaf/FileChooserUI.java,
  749. javax/swing/plaf/IconUIResource.java,
  750. javax/swing/plaf/ListUI.java,
  751. javax/swing/plaf/PopupMenuUI.java,
  752. javax/swing/plaf/SplitPaneUI.java,
  753. javax/swing/plaf/TabbedPaneUI.java,
  754. javax/swing/plaf/TextUI.java,
  755. javax/swing/plaf/TreeUI.java,
  756. javax/swing/plaf/basic/BasicArrowButton.java,
  757. javax/swing/plaf/basic/BasicBorders.java,
  758. javax/swing/plaf/basic/BasicButtonUI.java,
  759. javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
  760. javax/swing/plaf/basic/BasicColorChooserUI.java,
  761. javax/swing/plaf/basic/BasicComboBoxEditor.java,
  762. javax/swing/plaf/basic/BasicComboBoxRenderer.java,
  763. javax/swing/plaf/basic/BasicComboBoxUI.java,
  764. javax/swing/plaf/basic/BasicComboPopup.java,
  765. javax/swing/plaf/basic/BasicDesktopIconUI.java,
  766. javax/swing/plaf/basic/BasicDesktopPaneUI.java,
  767. javax/swing/plaf/basic/BasicIconFactory.java,
  768. javax/swing/plaf/basic/BasicInternalFrameTitlePane.java,
  769. javax/swing/plaf/basic/BasicInternalFrameUI.java,
  770. javax/swing/plaf/basic/BasicListUI.java,
  771. javax/swing/plaf/basic/BasicLookAndFeel.java,
  772. javax/swing/plaf/basic/BasicMenuBarUI.java,
  773. javax/swing/plaf/basic/BasicMenuItemUI.java,
  774. javax/swing/plaf/basic/BasicMenuUI.java,
  775. javax/swing/plaf/basic/BasicOptionPaneUI.java,
  776. javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java,
  777. javax/swing/plaf/basic/BasicPopupMenuUI.java,
  778. javax/swing/plaf/basic/BasicProgressBarUI.java,
  779. javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
  780. javax/swing/plaf/basic/BasicRootPaneUI.java,
  781. javax/swing/plaf/basic/BasicScrollBarUI.java,
  782. javax/swing/plaf/basic/BasicSeparatorUI.java,
  783. javax/swing/plaf/basic/BasicSliderUI.java,
  784. javax/swing/plaf/basic/BasicSpinnerUI.java,
  785. javax/swing/plaf/basic/BasicSplitPaneDivider.java,
  786. javax/swing/plaf/basic/BasicSplitPaneUI.java,
  787. javax/swing/plaf/basic/BasicTabbedPaneUI.java,
  788. javax/swing/plaf/basic/BasicTableHeaderUI.java,
  789. javax/swing/plaf/basic/BasicTableUI.java,
  790. javax/swing/plaf/basic/BasicTextAreaUI.java,
  791. javax/swing/plaf/basic/BasicTextFieldUI.java,
  792. javax/swing/plaf/basic/BasicTextUI.java,
  793. javax/swing/plaf/basic/BasicToolBarSeparatorUI.java,
  794. javax/swing/plaf/basic/BasicToolBarUI.java,
  795. javax/swing/plaf/basic/BasicToolTipUI.java,
  796. javax/swing/plaf/basic/BasicTreeUI.java,
  797. javax/swing/plaf/basic/BasicViewportUI.java,
  798. javax/swing/plaf/basic/ComboPopup.java,
  799. javax/swing/table/AbstractTableModel.java,
  800. javax/swing/table/DefaultTableCellRenderer.java,
  801. javax/swing/table/DefaultTableColumnModel.java,
  802. javax/swing/table/DefaultTableModel.java,
  803. javax/swing/table/JTableHeader.java,
  804. javax/swing/table/TableCellEditor.java,
  805. javax/swing/table/TableCellRenderer.java,
  806. javax/swing/table/TableColumn.java,
  807. javax/swing/table/TableColumnModel.java,
  808. javax/swing/text/AbstractDocument.java,
  809. javax/swing/text/Caret.java,
  810. javax/swing/text/DefaultCaret.java,
  811. javax/swing/text/DefaultEditorKit.java,
  812. javax/swing/text/DefaultHighlighter.java,
  813. javax/swing/text/EditorKit.java,
  814. javax/swing/text/JTextComponent.java,
  815. javax/swing/text/LayeredHighlighter.java,
  816. javax/swing/text/PasswordView.java,
  817. javax/swing/text/SimpleAttributeSet.java,
  818. javax/swing/text/StyleConstants.java,
  819. javax/swing/text/StyleContext.java,
  820. javax/swing/text/StyledEditorKit.java,
  821. javax/swing/text/TextAction.java,
  822. javax/swing/text/View.java,
  823. javax/swing/tree/AbstractLayoutCache.java,
  824. javax/swing/tree/DefaultTreeCellRenderer.java,
  825. javax/swing/tree/DefaultTreeModel.java,
  826. javax/swing/tree/DefaultTreeSelectionModel.java,
  827. javax/swing/tree/FixedHeightLayoutCache.java,
  828. javax/swing/tree/TreeCellRenderer.java,
  829. javax/swing/tree/TreeSelectionModel.java,
  830. javax/swing/tree/VariableHeightLayoutCache.java,
  831. javax/swing/undo/AbstractUndoableEdit.java,
  832. javax/swing/undo/UndoableEditSupport.java:
  833. Imports cleaned up.
  834. 2004-11-30 Michael Koch <konqueror@gmx.de>
  835. * java/awt/Container.java,
  836. java/awt/Font.java,
  837. java/awt/font/TextLayout.java:
  838. Imports cleaned up.
  839. 2004-11-30 Michael Koch <konqueror@gmx.de>
  840. * javax/swing/AbstractButton.java
  841. (getLabel): Added @deprecated tag.
  842. (setLabel): Likewise.
  843. * javax/swing/FocusManager.java
  844. (disableSwingFocusManager): Likewise.
  845. (isFocusManagerEnabled): Likewise.
  846. * javax/swing/JComponent.java
  847. (isManagingFocus): Added version to @deprecated tag.
  848. (getNextFocusableComponent): Moved @deprecated tag to bottom of
  849. javadoc.
  850. (getConditionForKeyStroke): Likewise.
  851. (getActionForKeyStroke): Likewise.
  852. * javax/swing/JDesktopPane.java
  853. (LIVE_DRAG_MODE): Added @specnote tag.
  854. (OUTLINE_DRAG_MODE): Likewise.
  855. * javax/swing/JInternalFrame.java
  856. (MENU_BAR_PROPERTY): Fixed value.
  857. (getMenuBar): Added @deprecated tag.
  858. (setMenuBar): Likewise.
  859. * javax/swing/JViewport.java
  860. (isBackingStoreEnabled): Likewise.
  861. (setBackingStoreEnabled): Likewise.
  862. * javax/swing/plaf/basic/BasicDesktopPaneUI.java
  863. (closeKey): Likewise.
  864. (maximizeKey): Likewise.
  865. (minimizeKey): Likewise.
  866. (navigateKey): Likewise.
  867. (navigateKey2): Likewise.
  868. * javax/swing/plaf/basic/BasicInternalFrameUI.java
  869. (openMenuKey): Likewise.
  870. * javax/swing/plaf/basic/BasicSplitPaneUI.java
  871. (keyboardDownRightListener): Likewise.
  872. (keyboardEndListener): Likewise.
  873. (keyboardHomeListener): Likewise.
  874. (keyboardResizeToggleListener): Likewise.
  875. (keyboardUpLeftListener): Likewise.
  876. (dividerResizeToggleKey): Likewise.
  877. (downKey): Likewise.
  878. (endKey): Likewise.
  879. (homeKey): Likewise.
  880. (leftKey): Likewise.
  881. (rightKey): Likewise.
  882. (upKey): Likewise.
  883. (createKeyboardUpLeftListener): Likewise.
  884. (createKeyboardDownRightListener): Likewise.
  885. (createKeyboardHomeListener): Likewise.
  886. (createKeyboardEndListener): Likewise.
  887. (createKeyboardResizeToggleListener): Likewise.
  888. (getDividerBorderSize): Likewise.
  889. * javax/swing/plaf/basic/BasicTabbedPaneUI.java
  890. (downKey): Likewise.
  891. (leftKey): Likewise.
  892. (rightKey): Likewise.
  893. (upKey): Likewise.
  894. 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
  895. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
  896. (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Use the
  897. GTK_TEXT_VIEW macro.
  898. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
  899. (connect_awt_hook_cb): Mark unused variable unused.
  900. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c (selection_get):
  901. Do the cast right.
  902. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
  903. (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_create): According to
  904. the gtk API gtk_combo_box_new_text actually returns a GtkWidget.
  905. Remove unused var menu.
  906. (selection_changed): Remove unused value.
  907. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
  908. (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_setNativeBounds): Fix pointer
  909. warning with using an intermediate variable.
  910. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
  911. (area_updated): Fix unused var warning for BE archs.
  912. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
  913. (Java_gnu_java_awt_peer_gtk_GdkGraphics_connectSignals): Remove unused
  914. var.
  915. (realize_cb): Mark unused variable unused.
  916. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
  917. (seek_glyphstring_idx): Fix a C90 warning.
  918. * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c
  919. (Java_gnu_java_awt_peer_gtk_GThreadNativeMethodRunner_nativeRun):
  920. Mark unused arguments unused.
  921. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
  922. (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_initState),
  923. (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setGlyphCodes),
  924. (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_glyphCharIndex),
  925. (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_glyphIsHorizontal):
  926. Likewise.
  927. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
  928. (Java_gnu_java_awt_peer_gtk_GdkFontMetrics_getPeerFontMetrics),
  929. (Java_gnu_java_awt_peer_gtk_GdkFontMetrics_getPeerTextMetrics):
  930. Likewise.
  931. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
  932. (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFilenameFilter):
  933. Likewise.
  934. (filenameFilterCallback): Remove unused var.
  935. (handle_response): Declare str_fileName and remove last else statement.
  936. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
  937. New File.
  938. (nativeGetNumFontsFamilies) New function.
  939. (nativeGetFontFamilies) Likewise.
  940. * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
  941. (getAvailableFontFamilyNames): Implement.
  942. * Makefile.am (gtk_c_source_files): Add GdkGraphicsEnvironment.c.
  943. * Makefile.in: Regenerate.
  944. 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
  945. * gnu/java/awt/peer/ClasspathFontPeer.java
  946. (setStandardAttributes(String,Map)): If size attribute doesn't
  947. exist, default to size 12. Clamp size value to a minimum of 1.
  948. 2004-11-30 Jeroen Frijters <jeroen@frijters.net>
  949. * javax/swing/JDialog.java
  950. (decorated): Likewise.
  951. * javax/swing/JFrame.java
  952. (defaultLookAndFeelDecorated): Likewise.
  953. 2004-11-30 Jeroen Frijters <jeroen@frijters.net>
  954. * javax/swing/plaf/basic/BasicToolBarUI.java
  955. (offset, regular): Made final.
  956. * javax/swing/plaf/basic/BasicScrollBarUI.java
  957. (DECREASE_HIGHLIGHT, INCREASE_HIGHLIGHT, NO_HIGHLIGHT,
  958. POSITIVE_SCROLL, NEGATIVE_SCROLL): Made final.
  959. 2004-11-30 Michael Koch <konqueror@gmx.de>
  960. * gnu/java/awt/BitwiseXORComposite.java,
  961. gnu/java/awt/ClasspathToolkit.java,
  962. gnu/java/awt/image/XBMDecoder.java,
  963. gnu/java/awt/peer/GLightweightPeer.java,
  964. gnu/java/awt/peer/gtk/GdkGlyphVector.java:
  965. Reorganized import statements.
  966. 2004-11-30 Jeroen Frijters <jeroen@frijters.net>
  967. * java/awt/Button.java
  968. (next_button_number): Removed useless initializer.
  969. * java/awt/Frame.java
  970. (next_frame_number): Likewise.
  971. * java/awt/Panel.java
  972. (next_panel_number): Likewise,
  973. * java/awt/Scrollbar.java
  974. (next_scrollbar_number): Likewise.
  975. * java/awt/TextArea.java
  976. (next_text_number): Likewise.
  977. 2004-11-30 Michael Koch <konqueror@gmx.de>
  978. * java/awt/image/ByteLookupTable.java
  979. (ByteLookupTable) :Fixed HTML entities in javadocs.
  980. (lookupPixel): Fix case when dst is null.
  981. * java/awt/image/ShortLookupTable.java
  982. (ShortLookupTable) :Fixed HTML entities in javadocs.
  983. (lookupPixel): Fix case when dst is null.
  984. * java/awt/image/DataBufferByte.java,
  985. java/awt/image/DataBufferDouble.java,
  986. java/awt/image/DataBufferFloat.java,
  987. java/awt/image/DataBufferInt.java,
  988. java/awt/image/DataBufferShort.java,
  989. java/awt/image/DataBufferUShort.java:
  990. Fix initialization of bankData in constructors.
  991. 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
  992. * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
  993. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
  994. (setNativeBounds): Set GtkEventBox, GtkButton and GtkLabel size
  995. requests.
  996. * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
  997. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
  998. (setNativeBounds): Make package private. Set size request even
  999. if GTK parent is NULL.
  1000. * gnu/java/awt/peer/gtk/GtkLabelPeer.java,
  1001. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
  1002. (setNativeBounds): Set GtkEventBox and GtkLabel size requests.
  1003. 2004-11-30 Mark Wielaard <mark@klomp.org>
  1004. Workaround for bug #17952.
  1005. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
  1006. (request_frame_extents): Check window->window != NULL.
  1007. 2004-11-30 Mark Wielaard <mark@klomp.org>
  1008. * jni/gtk-peer/gdkfont.h: Include gtkpeer.h not gtkcairopeer.h.
  1009. 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
  1010. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Use
  1011. native_text_layout_state_table here.
  1012. * jni/gtk-peer/gdkfont.h: Mark native_text_layout_state_table extern.
  1013. 2004-11-30 Mark Wielaard <mark@klomp.org>
  1014. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
  1015. (setChars): Only call pango_itemize() when vec->glyphitems != NULL.
  1016. Only call pango_shape() when gi->glyphs->num_glyphs > 0.
  1017. 2004-11-30 Michael Koch <konqueror@gmx.de>
  1018. * gnu/java/awt/peer/gtk/GtkToolkit.java:
  1019. Merged import statements.
  1020. 2004-11-30 Michael Koch <konqueror@gmx.de>
  1021. * gnu/java/awt/peer/gtk/GdkGraphics2D.java
  1022. (isBufferedImageGraphics): Simplified.
  1023. 2004-11-30 Paul Jenner <psj.home@ntlworld.com>
  1024. * javax/swing/JTree.java
  1025. (isRootVisible): Fixed typo in method name.
  1026. * javax/swing/JScrollBar.java
  1027. (setValues): Likewise.
  1028. * javax/swing/JScrollPane.java
  1029. (createScrollListener): Call JScrollBar.setValues.
  1030. 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
  1031. * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate):
  1032. Don't call setParentAndBounds on GtkWindowPeers.
  1033. * java/awt/Component.java (static): Don't set default keyboard
  1034. focus manager.
  1035. * java/awt/KeyboardFocusManager.java
  1036. (getCurrentKeyboardFocusManager): If current keyboard focus
  1037. manager is null set a default.
  1038. * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
  1039. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
  1040. (gtkWidgetSetBackground): New method.
  1041. (block_expose_events_cb): New function.
  1042. (connectSignals): Block the AWT's expose event processing on
  1043. button press and release.
  1044. (gtkSetLabel): Set text on proper widget.
  1045. (gtkWidgetModifyFont): Modify font on proper widget.
  1046. (gtkWidgetSetBackground): Set normal, active and prelight
  1047. colours.
  1048. (gtkWidgetSetForeground): Set forground colour of proper widget.
  1049. (gtkActivate): Activate the correct widget.
  1050. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
  1051. Only clear rectangle if the backing component is not an event
  1052. box.
  1053. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
  1054. (beginNativeRepaintID): New variable.
  1055. (endNativeRepaintID): Likewise.
  1056. (gtkInit): Initialize new fields with method IDs.
  1057. * jni/gtk-peer/gtkpeer.h (beginNativeRepaintID): Declare extern.
  1058. (endNativeRepaintID): Likewise.
  1059. 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
  1060. * javax/swing/JList.java (init): Revert accidental commit.
  1061. * gnu/java/awt/peer/gtk/GdkGraphics.java,
  1062. jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (GdkGraphics):
  1063. Call initComponentGraphics or connectSignals depending on
  1064. component's realization status.
  1065. (realize_cb): New function.
  1066. (initComponentGraphics): New method.
  1067. (connectSignals): New method.
  1068. (clipRect): Return immediately if component is not realized.
  1069. (setClip): Likewise.
  1070. (translate): Likewise.
  1071. (drawImage variants): Return false immediately if component is
  1072. not realized.
  1073. * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
  1074. jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
  1075. (connectSignals): New method.
  1076. (GdkGraphics2D): Call initComponentGraphics2D or connectSignals
  1077. depending on component's realization status. Move other
  1078. initialization calls to ...
  1079. (initComponentGraphics2D): New method.
  1080. (realize_cb): New function.
  1081. (cairoSetMatrix): Return immediately if gr is NULL.
  1082. (cairoNewPath): Likewise.
  1083. (cairoRectangle): Likewise.
  1084. (cairoClip): Likewise.
  1085. * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
  1086. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
  1087. (gtkWidgetRepaintArea): Remove method.
  1088. (isRealized): New method.
  1089. (GtkComponentPeer): Move setParent, connectJObject and setCursor
  1090. calls to setParentAndBounds. Call setParentAndBounds.
  1091. (setParentAndBounds): New method.
  1092. (setComponentBounds): Return immediately if bounds are all zero.
  1093. (repaint): Remove call to gtkWidgetRepaintArea. Return
  1094. immediately if requested paint region is 0x0.
  1095. (setCursor): New method.
  1096. (gtkWidgetSetParent): Only set widget's parent if its parent is
  1097. currently NULL.
  1098. (setNativeBounds): Only set widget's bounds if it has a parent.
  1099. (connectSignals): Don't call gtk_widget_realize. Connect
  1100. "realize" signal to connect_awt_hook_cb handler.
  1101. * gnu/java/awt/peer/gtk/GtkContainerPeer.java (isValidating):
  1102. New field.
  1103. (beginValidate): Set isValidating true.
  1104. (endValidate): Set parents and bounds for children first, then
  1105. for this. Set isValidating false.
  1106. * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
  1107. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
  1108. (connectJObject): Remove method.
  1109. (connectSignals): Don't call gtk_widget_realize.
  1110. * gnu/java/awt/peer/gtk/GtkListPeer.java,
  1111. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
  1112. (connectJObject): Remove method.
  1113. (connectSignals): Don't call gtk_widget_realize.
  1114. * gnu/java/awt/peer/gtk/GtkPanelPeer.java,
  1115. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
  1116. (connectJObject): Remove method.
  1117. * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
  1118. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
  1119. (connectJObject): Remove method.
  1120. * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
  1121. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
  1122. (create): Don't call gtk_widget_realize.
  1123. (connectJObject): Remove method.
  1124. (connectSignals): Don't call gtk_widget_realize. Connect
  1125. "realize" signal to connect_awt_hook_cb handler.
  1126. (nativeSetBounds): Don't attempt to move GDK window if it is
  1127. NULL.
  1128. * java/awt/Container.java (addImpl): Don't call comp.addNotify
  1129. if peer is not null.
  1130. (validateTree): Create peers for all children before calling
  1131. doLayout.
  1132. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
  1133. (connectSignals): Don't call gtk_widget_realize.
  1134. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
  1135. (connect_awt_hook_cb): New function.
  1136. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
  1137. (initComponentGraphicsID): New variable.
  1138. (initComponentGraphics2DID): Likewise.
  1139. (setCursorID): Likewise.
  1140. (gtkInit): Initialize new fields with method IDs.
  1141. * jni/gtk-peer/gtkpeer.h (initComponentGraphicsID): Declare
  1142. extern.
  1143. (initComponentGraphics2DID): Declare extern.
  1144. (setCursorID): Likewise.
  1145. (connect_awt_hook_cb): Declare function.
  1146. 2004-11-30 Michael Koch <konqueror@gmx.de>
  1147. * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
  1148. gnu/java/awt/peer/gtk/GdkGlyphVector.java,
  1149. gnu/java/awt/peer/gtk/GdkGraphics2D.java,
  1150. gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
  1151. gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
  1152. gnu/java/awt/peer/gtk/GtkButtonPeer.java,
  1153. gnu/java/awt/peer/gtk/GtkClipboard.java,
  1154. gnu/java/awt/peer/gtk/GtkDialogPeer.java,
  1155. gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
  1156. gnu/java/awt/peer/gtk/GtkFontPeer.java,
  1157. gnu/java/awt/peer/gtk/GtkListPeer.java,
  1158. gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
  1159. gnu/java/awt/peer/gtk/GtkToolkit.java,
  1160. gnu/java/awt/peer/gtk/GtkWindowPeer.java:
  1161. Import statements reworked. Some little reformattings.
  1162. 2004-11-30 Michael Koch <konqueror@gmx.de>
  1163. * java/awt/image/AffineTransformOp.java
  1164. (TYPE_BILINEAR): Initialize with 2.
  1165. * java/awt/print/Printable.java: Jalopied.
  1166. (PAGE_EXISTS): Initialize with 0;
  1167. (NO_SUCH_PAGE): Initialized with 1.
  1168. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  1169. * Makefile.am: Add BufferedImageFilter.java.
  1170. * Makefile.in: Regenerate.
  1171. 2004-11-30 Graydon Hoare <graydon@redhat.com>
  1172. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
  1173. (install_font_peer): Minor bug fixes to track cairo font semantics.
  1174. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  1175. * java/awt/image/BufferedImageFilter.java: Implement.
  1176. 2004-11-30 Graydon Hoare <graydon@redhat.com>
  1177. * Makefile.am
  1178. (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c)
  1179. (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c)
  1180. (gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java)
  1181. (gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java): Remove.
  1182. (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c)
  1183. (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c)
  1184. (gnu/java/awt/peer/gtk/GdkTextLayout.java)
  1185. (gnu/java/awt/peer/gtk/GdkFontPeer.java)
  1186. (gnu/java/awt/peer/ClasspathTextLayoutPeer.java): Add
  1187. * Makefile.in: Regenerate.
  1188. * gnu/awt/xlib/XToolkit.java
  1189. (getClasspathTextLayoutPeer): Add stub.
  1190. * gnu/java/awt/ClasspathToolkit.java
  1191. (getClasspathTextLayoutPeer) Add.
  1192. * gnu/java/awt/peer/ClasspathFontPeer.java
  1193. (copyStyleToAttrs)
  1194. (copySizeToAttrs): Make public.
  1195. * gnu/java/awt/peer/ClasspathTextLayoutPeer.java: New file.
  1196. * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: Remove.
  1197. * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: Remove.
  1198. * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Rewrite.
  1199. * gnu/java/awt/peer/gtk/GdkFontPeer.java: New file.
  1200. * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Adjust type names.
  1201. * gnu/java/awt/peer/gtk/GdkGraphics.java
  1202. (getFontPeer): New function.
  1203. (drawString): Pass font peer to native side.
  1204. * gnu/java/awt/peer/gtk/GdkGraphics2D.java
  1205. (cairoSetFont)
  1206. (cairoShowGlyphs)
  1207. (PainterThread): Remove.
  1208. (GdkGraphics2D): Set hints during construction.
  1209. (shifted)
  1210. (walkPath)
  1211. (draw)
  1212. (setRenderingHint)
  1213. (setRenderingHints): Reimplement normalization logic.
  1214. (getDefaultHints)
  1215. (updateBufferedImage)
  1216. (isBufferedImageGraphics)
  1217. (updateImagePixels)
  1218. (drawImage): Make final.
  1219. (drawImage): Always paint synchronously.
  1220. (drawString)
  1221. (drawGlyphVector): Rewrite.
  1222. (releasePeerGraphicResource)
  1223. (getPeerTextMetrics)
  1224. (getPeerFontMetrics)
  1225. (drawGdkGlyphVector)
  1226. (drawGdkTextLayout)
  1227. (cairoDrawGdkGlyphVector)
  1228. (cairoDrawGdkTextLayout)
  1229. (cairoDrawString)
  1230. (getFontPeer): New functions.
  1231. * gnu/java/awt/peer/gtk/GdkTextLayout.java: New file.
  1232. * gnu/java/awt/peer/gtk/GtkComponentPeer.java
  1233. (getFontMetrics): Get metrics via toolkit, to hit cache.
  1234. * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Use getFontMetrics.
  1235. * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
  1236. * gnu/java/awt/peer/gtk/GtkToolkit.java (LRUCache): New class.
  1237. (fontCache)
  1238. (metricsCache)
  1239. (imageCache): New members.
  1240. (getFontMetrics)
  1241. (getImage)
  1242. (getClasspathFontPeer): Use caches.
  1243. (getFontPeer): Route through getClasspathFontPeer.
  1244. * java/awt/Font.java (attrsToMap): Remove, adjust ctors.
  1245. * java/awt/font/TextLayout.java: Implement in terms of peer.
  1246. * javax/swing/plaf/basic/BasicSliderUI.java
  1247. (paintThumb): Use polyline rather than polygon.
  1248. * javax/swing/plaf/basic/BasicGraphicsUtils.java:
  1249. Update comment but, alas, still do not switch to using TextLayouts.
  1250. * javax/swing/text/Utilities.java (drawTabbedText):
  1251. Draw text run-at-a-time, not char-at-a-time.
  1252. * jni/gtk-peer/gdkfont.h: Publicize some of the font interface, add
  1253. layout table.
  1254. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
  1255. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
  1256. Remove files.
  1257. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Rewrite to
  1258. incorporate brains of old GdkClasspathFontPeerMetrics.
  1259. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c: Rewrite to
  1260. incorporate brains of old GdkClasspathFontPeer.
  1261. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: New file.
  1262. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
  1263. (drawString): Rewrite to use persistent layout in peer font.
  1264. Comment out extraneous gdk_flush calls.
  1265. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
  1266. (metrics_cairo)
  1267. (metrics_surface): New static variables.
  1268. (paint_glyph_run)
  1269. (install_font_peer): New helper functions.
  1270. (releasePeerGraphicResource)
  1271. (getPeerTextMetrics)
  1272. (getPeerFontMetrics)
  1273. (cairoDrawGdkTextLayout)
  1274. (cairoDrawGdkGlyphVector): New native methods.
  1275. (cairoDrawString): Rewrite, leaving layout-based version
  1276. commented out for the time being.
  1277. * jni/gtk-peer/gtkpeer.h (graphics): Add fields for pango stuff.
  1278. 2004-11-30 David Gilbert <david.gilbert@object-refinery.com>
  1279. * java/awt/geom/AffineTransform.java:
  1280. Fixed javadocs overall.
  1281. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  1282. * java/awt/image/ComponentColorModel.java: Remove FIXME comment since
  1283. it's correct.
  1284. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  1285. * java/awt/image/IndexColorModel.java: Fix use of immutable
  1286. BigIntegers.
  1287. 2004-11-30 Tom Tromey <tromey@redhat.com>
  1288. * javax/swing/plaf/basic/BasicOptionPaneUI.java (MessageIcon):
  1289. Renamed from 'messageIcon'.
  1290. (errorIcon, infoIcon, warningIcon, questionIcon): Updated.
  1291. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  1292. * java/awt/image/RescaleOp.java: Fix formatting.
  1293. 2004-11-30 Olga Rodimina <rodimina@redhat.com>
  1294. * javax/swing/plaf/basic/BasicComboPopup.java
  1295. (SCROLL_DOWN): made final.
  1296. (SCROLL_UP): made final.
  1297. 2004-11-30 Olga Rodimina <rodimina@redhat.com>
  1298. * javax/swing/plaf/basic/BasicComboPopup.java:
  1299. Added javadocs for undocumented fields.
  1300. (show): scroll down to the selected item and
  1301. highlight selected item.
  1302. (startAutoScrolling): Implemented.
  1303. (stopAutoScrolling): Implemented.
  1304. (autoScrollUp): Implemented.
  1305. (autoScrollDown): Implemented.
  1306. (InvocationMouseHandler.mouseReleased): Implemented.
  1307. (InvocationMouseMotionHandler.mouseDragged): Implemented.
  1308. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  1309. * java/awt/image/RescaleOp.java: Implement.
  1310. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  1311. * java/awt/image/IndexColorModel.java (getRGBs,
  1312. convertToIntDiscrete): Implement.
  1313. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  1314. * java/awt/image/IndexColorModel.java: Add class docs.
  1315. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  1316. * java/awt/image/IndexColorModel.java (isValid, getValidPixels):
  1317. Implement.
  1318. 2004-11-30 Michael Koch <konqueror@gmx.de>
  1319. * java/awt/MenuBar.java,
  1320. java/awt/peer/MenuBarPeer.java:
  1321. Revert accidentally commited changes.
  1322. 2004-11-30 Michael Koch <konqueror@gmx.de>
  1323. * java/awt/AWTKeyStroke.java,
  1324. java/awt/Canvas.java,
  1325. java/awt/CardLayout.java,
  1326. java/awt/CheckboxMenuItem.java,
  1327. java/awt/Component.java,
  1328. java/awt/Container.java,
  1329. java/awt/DefaultKeyboardFocusManager.java,
  1330. java/awt/EventDispatchThread.java,
  1331. java/awt/FileDialog.java,
  1332. java/awt/FlowLayout.java,
  1333. java/awt/Font.java,
  1334. java/awt/Frame.java,
  1335. java/awt/Graphics2D.java,
  1336. java/awt/GraphicsEnvironment.java,
  1337. java/awt/GridBagConstraints.java,
  1338. java/awt/GridBagLayout.java,
  1339. java/awt/GridLayout.java,
  1340. java/awt/Image.java,
  1341. java/awt/KeyboardFocusManager.java,
  1342. java/awt/Label.java,
  1343. java/awt/List.java,
  1344. java/awt/MediaTracker.java,
  1345. java/awt/Menu.java,
  1346. java/awt/MenuBar.java,
  1347. java/awt/MenuComponent.java,
  1348. java/awt/Panel.java,
  1349. java/awt/PopupMenu.java,
  1350. java/awt/ScrollPane.java,
  1351. java/awt/Scrollbar.java,
  1352. java/awt/SystemColor.java,
  1353. java/awt/TextArea.java,
  1354. java/awt/TextField.java,
  1355. java/awt/Toolkit.java,
  1356. java/awt/Window.java,
  1357. java/awt/color/ICC_Profile.java,
  1358. java/awt/datatransfer/DataFlavor.java,
  1359. java/awt/datatransfer/StringSelection.java,
  1360. java/awt/datatransfer/SystemFlavorMap.java,
  1361. java/awt/dnd/Autoscroll.java,
  1362. java/awt/dnd/DropTarget.java,
  1363. java/awt/dnd/DropTargetContext.java,
  1364. java/awt/dnd/DropTargetDragEvent.java,
  1365. java/awt/dnd/peer/DropTargetContextPeer.java,
  1366. java/awt/event/AdjustmentEvent.java,
  1367. java/awt/event/InputEvent.java,
  1368. java/awt/event/InvocationEvent.java,
  1369. java/awt/event/KeyEvent.java,
  1370. java/awt/event/MouseEvent.java,
  1371. java/awt/font/TextLayout.java,
  1372. java/awt/geom/GeneralPath.java,
  1373. java/awt/geom/Point2D.java,
  1374. java/awt/im/InputContext.java,
  1375. java/awt/im/spi/InputMethodContext.java,
  1376. java/awt/image/AffineTransformOp.java,
  1377. java/awt/image/BufferedImage.java,
  1378. java/awt/image/ColorModel.java,
  1379. java/awt/image/ComponentColorModel.java,
  1380. java/awt/image/CropImageFilter.java,
  1381. java/awt/image/DirectColorModel.java,
  1382. java/awt/image/MemoryImageSource.java,
  1383. java/awt/image/PackedColorModel.java,
  1384. java/awt/image/PixelGrabber.java,
  1385. java/awt/image/RasterOp.java,
  1386. java/awt/peer/MenuBarPeer.java:
  1387. Some fixes for checkstyle. Import statement and modifier order
  1388. redordering.
  1389. 2004-11-30 Michael Koch <konqueror@gmx.de>
  1390. * javax/swing/JTable.java
  1391. (setModel): Reimplemented.
  1392. 2004-11-30 Michael Koch <konqueror@gmx.de>
  1393. * javax/swing/JTextArea.java
  1394. (append): Re-implemented.
  1395. (insert): Likewise.
  1396. 2004-11-30 Michael Koch <konqueror@gmx.de>
  1397. * javax/swing/JSpinner.java
  1398. (serialVersionUID): New static field.
  1399. * javax/swing/JToggleButton.java
  1400. (JToggleButton): Fixed email addresses.
  1401. * javax/swing/SpinnerNumberModel.java
  1402. (serialVersionUID): Added javadoc.
  1403. 2004-11-30 Michael Koch <konqueror@gmx.de>
  1404. * javax/swing/JTextArea.java:
  1405. Don't use JTextComponent.doc directly. GCJ from java-gui-branch has a
  1406. bug here which is fixed in HEAD ...
  1407. 2004-11-30 Andrew John Hughes <address@hidden>
  1408. * javax/swing/JTextArea.java: Added additional
  1409. documentation.
  1410. 2004-11-30 Andrew John Hughes <address@hidden>
  1411. * javax/swing/JRadioButton.java:
  1412. Implemented additional constructors and accessibility
  1413. classes. Added documentation and fixed a typo in
  1414. AbstractButton.
  1415. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  1416. * java/awt/image/IndexColorModel.java (IndexColorModel): Implement
  1417. missing constructor.
  1418. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  1419. * java/awt/image/ComponentColorModel.java (ComponentColorModel):
  1420. Implement missing 1.4 constructor.
  1421. 2004-11-30 Andrew John Hughes <address@hidden>
  1422. * javax/swing/JToggleButton.java:
  1423. Implemented additional constructors and accessibility
  1424. classes. Added documentation and fixed a typo in
  1425. AbstractButton.
  1426. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  1427. * java/awt/image/ColorModel.java (getDataElement,
  1428. getDataElements): Document since 1.4.
  1429. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  1430. * java/awt/image/BandedSampleModel.java: Implement.
  1431. * Makefile.am: Add java/awt/image/BandedSampleModel.java.
  1432. * Makefile.in: Regenerated.
  1433. 2004-11-30 Michael Koch <konqueror@gmx.de>
  1434. * java/awt/Window.java: Fixed whitespace difference with GNU
  1435. classpath.
  1436. 2004-11-30 Mark Wielaard <mark@klomp.org>
  1437. * Makefile.am: Add javax/swing/SpinnerListModel.java.
  1438. * Makefile.in: Regenerated.
  1439. 2004-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
  1440. * javax/swing/SpinnerListModel.java, javax/swing/SpinnerModel.java
  1441. Implemented SpinnerListModel. Added documentation to
  1442. SpinnerModel.
  1443. 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
  1444. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
  1445. (init_dpi_conversion_factor): Apply the patch from main correctly.
  1446. 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
  1447. 2004-11-30 Tom Tromey <tromey@redhat.com>
  1448. Bug 9948.
  1449. * javax/swing/JDesktopPane.java (LIVE_DRAG_MODE): Now final.
  1450. (OUTLINE_DRAG_MODE): LIVE_DRAG_MODE.
  1451. * javax/swing/plaf/basic/BasicSplitPaneUI.java
  1452. (NON_CONTINUOUS_DIVIDER): Now final. Initialize.
  1453. 2004-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
  1454. * java/awt/Canvas.java
  1455. (AccessibleAWTCanvas): added serialization UID
  1456. * java/awt/Label.java
  1457. (AccessibleAWTLabel): added serialization UID
  1458. * javax/swing/JRootPane.java
  1459. (AccessibleJRootPane): added comment to existing UID
  1460. * javax/swing/JSpinner.java
  1461. (DefaultEditor): added serialization UID
  1462. (NumberEditor): added serialization UID
  1463. * javax/swing/text/html/HTML.java
  1464. (UnknownTag): added serialization UID
  1465. 2004-11-30 Jeroen Frijters <jeroen@frijters.net>
  1466. * javax/swing/JInternalFrame.java
  1467. (CONTENT_PANE_PROPERTY,FRAME_ICON_PROPERTY,GLASS_PANE_PROPERTY,
  1468. IS_CLOSED_PROPERTY,IS_ICON_PROPERTY,IS_MAXIMUM_PROPERTY,
  1469. IS_SELECTED_PROPERTY,LAYERED_PANE_PROPERTY,MENU_BAR_PROPERTY,
  1470. ROOT_PANE_PROPERTY,TITLE_PROPERTY): Made final as per API spec.
  1471. * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
  1472. (CLOSE_CMD,ICONIFY_CMD,MAXIMIZE_CMD,MOVE_CMD,RESTORE_CMD,SIZE_CMD):
  1473. Made final as per API spec.
  1474. 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
  1475. * jni/gtk-peer/gtkpeer.h: Remove duplicated copyright string.
  1476. 2004-11-30 Sven de Marothy <sven@physto.se>
  1477. * java/awt/geom/Arc2D.java: Reformatted.
  1478. (setArc): Correct documentation to say 'upper left corner'.
  1479. (setArcByTangent,contains,intersects): Implemented.
  1480. (containsAngle): Corrected to handle negative extents.
  1481. (ArcIterator): Set to private.
  1482. (ArcIterator): Corrected for CHORD-type arcs, negative extents.
  1483. (intersects): Fix: Now checks the arc segment.
  1484. (contains): Cleaned up.
  1485. * java/awt/geom/CubicCurve2a.javaD: Fix insideness-test. Reindent.
  1486. (contains): Implemented.
  1487. (intersects): Implemented.
  1488. * java/awt/geom/QuadCurve2D.java: Fix insideness-test. Reindent.
  1489. * java/awt/geom/GeneralPath: Fix insideness-test. Reindent and
  1490. document. Fully (re)implemented using separate xpoints and ypoints
  1491. float[] coords.
  1492. 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
  1493. * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
  1494. * configure: Regenerate.
  1495. * include/config.h.in: Likewise.
  1496. * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
  1497. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
  1498. macro to gtkpeer.h.
  1499. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
  1500. (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
  1501. pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
  1502. architectures.
  1503. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
  1504. Likewise.
  1505. 2004-11-30 David Gilbert <david.gilbert@object-refinery.com>
  1506. * java/awt/SystemColor.java: Fix @link doc entries.
  1507. 2004-11-30 David Gilbert <david.gilbert@object-refinery.com>
  1508. * java/awt/RenderingHints.java: Documented.
  1509. (RenderingHints): Accept null init Map.
  1510. (putAll): Preprocess map to generate appropriate exceptions.
  1511. (remove): Cast object to Key and remove from hintMap.
  1512. 2004-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
  1513. * java/awt/MenuComponent.java, java/awt/MenuBar.java:
  1514. Implementation of accessibility classes and methods
  1515. for these two components.
  1516. 2004-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
  1517. * java/awt/KeyboardFocusManager.java:
  1518. Added missing documentation.
  1519. 2004-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
  1520. * java/awt/Label.java, java/awt/Canvas.java:
  1521. Added accessibility classes to AWT Label and Canvas,
  1522. as well as additional documentation for Canvas.
  1523. 2004-11-30 David Gilbert <address@bogus.example.com>
  1524. * java/awt/image/DataBuffer.java: Update API documentation.
  1525. * java/awt/image/DataBufferByte.java: Likewise.
  1526. * java/awt/image/DataBufferDouble.java: Likewise.
  1527. * java/awt/image/DataBufferFloat.java: Likewise.
  1528. * java/awt/image/DataBufferInt.java: Likewise.
  1529. * java/awt/image/DataBufferShort.java: Likewise.
  1530. * java/awt/image/DataBufferUShort.java: Likewise.
  1531. 2004-11-30 Dalibor Topic <robilad@kaffe.org>
  1532. * java/awt/Component.java (postEvent):
  1533. Only delegate to parent if a parent exists.
  1534. Reported by: Stephane Meslin-Weber <steph@tangency.co.uk>
  1535. 2004-11-30 Sven de Marothy <sven@physto.se>
  1536. *java/awt/AWTEventMulticaster.java,
  1537. java/awt/Adjustable.java,
  1538. java/awt/Point.java,
  1539. java/awt/Polygon.java,
  1540. java/awt/Rectangle.java,
  1541. java/awt/Shape.java,
  1542. java/awt/geom/Area.java,
  1543. java/awt/geom/Ellipse2D.java,
  1544. java/awt/geom/PathIterator.java,
  1545. java/awt/geom/Point2D.java,
  1546. java/awt/geom/Rectangle2D.java,
  1547. java/lang/Comparable.java,
  1548. java/util/Arrays.java:
  1549. Fixed documentation errors
  1550. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  1551. * java/awt/image/ComponentSampleModel.java: Add documentation.
  1552. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  1553. * java/awt/image/ComponentSampleModel.java (constructor):
  1554. Initialize numBanks when figuring out the max bank index.
  1555. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  1556. * java/awt/image/Raster.java (createPackedRaster): Implement
  1557. MultiPixelPackedSampleModel codepath.
  1558. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  1559. * java/awt/image/MultiPixelPackedSampleModel.java: Implement.
  1560. * Makefile.am: Add MultiPixelPackedSampleModel.java.
  1561. * Makefile.in: Regenerate.
  1562. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  1563. * java/awt/image/Raster.java (getNumBands): Implement.
  1564. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  1565. * java/awt/image/Raster.java
  1566. (createPackedRaster(int,int,int,int,int,Point)): Implement for
  1567. bands>1.
  1568. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  1569. * java/awt/image/SinglePixelPackedSampleModel.java
  1570. (SinglePixelPackedSampleModel): Throw exception for unsupported
  1571. datatype.
  1572. 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
  1573. * java/awt/image/ColorModel.java (getDataElement): Implemented.
  1574. Update javadoc.
  1575. (getDataElements): Add missing version. Remove bogus version.
  1576. Update javadoc.
  1577. 2004-11-30 Olga Rodimina <rodimina@redhat.com>
  1578. * javax/swing/plaf/basic/BasicComboBoxUI.java:
  1579. (paintCurrentValue): Pass correct parameters to
  1580. getListCellRendererComponent().
  1581. (ListDataHandler.intervalRemoved): Implemented.
  1582. (PropertyChangeHandler.propertyChange): Handle changes in
  1583. MODEL_CHANGED_PROPERTY of the JComboBox
  1584. * javax/swing/plaf/basic/BasicComboPopup.java:
  1585. (BasicComboPopup): Moved code that configures popup to
  1586. configurePopup() and call it instead.
  1587. (firePopupMenuWillBecomeVisible): Implemented.
  1588. (firePopupMenuWillBecomeInvisible): Likewise.
  1589. (firePopupMenuCanceled): Likewise.
  1590. (configureList): Set list's visibleRowCount same as
  1591. comboBox's visibleRowCount.
  1592. (configurePopup): Implemented.
  1593. (getPopupHeightForRowCount): Get item's from JComboBox's model and
  1594. not from model of the JList.
  1595. (ListMouseMotionHandler.mouseMoved): Implemented.
  1596. (PropertyChangeHandler.propertyChange): Handles change in the
  1597. JComboBox's model.
  1598. 2004-11-30 Michael Koch <konqueror@gmx.de>
  1599. * javax/swing/JComponent.java
  1600. (isMaximumSizeSet): New method.
  1601. (isMinimumSizeSet): Likewise.
  1602. (isPreferredSizeSet): Likewise.
  1603. 2004-11-30 Michael Koch <konqueror@gmx.de>
  1604. * javax/swing/JSpinner.java:
  1605. Some Re-formatting.
  1606. (spinner): New field.
  1607. (DefaultEditor): New method.
  1608. (getSpinner): Likewise.
  1609. (NumberEdito): Likewise.
  1610. (getModel): Likewise
  1611. 2004-11-30 Michael Koch <konqueror@gmx.de>
  1612. * javax/swing/InputVerifier.java:
  1613. Re-formatted.
  1614. * javax/swing/JComponent.java
  1615. (inputVerifier): New property field.
  1616. (getInputVerifier): New method.
  1617. (setInputVerifier): Likewise.
  1618. 2004-11-30 Michael Koch <konqueror@gmx.de>
  1619. * javax/swing/JComponent.java
  1620. (JComponent): Added javadoc comment.
  1621. (setBorder): Fire property change eventr.
  1622. (setEnabled): Likewise.
  1623. (setMaximumSize): Likewise.
  1624. (setMinimumSize): Likewise.
  1625. (setPreferredSize): Likewise.
  1626. (setOpaque): Likewise.
  1627. 2004-11-30 Michael Koch <konqueror@gmx.de>
  1628. * javax/swing/JTextField.java
  1629. (action): New field.
  1630. (actionCommand): Likewise.
  1631. (actionPropertyChangeListener): Likewise.
  1632. (setHorizontalAlignment): Abort soon if new value == old value. Fire
  1633. event before repainting.
  1634. (postActionEvent): New method.
  1635. (getAction): Likewise.
  1636. (setAction): Likewise.
  1637. (getActionCommand): Likewise.
  1638. (setActionCommand): Likewise.
  1639. (createActionPropertyChangeListener): Likewise.
  1640. (configurePropertiesFromAction): Likewise.
  1641. 2004-11-30 Michael Koch <konqueror@gmx.de>
  1642. * javax/swing/DebugGraphics.java:
  1643. Re-formatted. Fixed some javadocs.
  1644. * javax/swing/JApplet.java
  1645. (rootPaneCheckingEnabled): Renamed from checking.
  1646. * javax/swing/JCheckBox.java
  1647. (BORDER_PAINTED_FLAT_CHANGED_PROPERTY): New statif field.
  1648. * javax/swing/JFrame.java:
  1649. Re-formatted a bit and reordered some methods.
  1650. (rootPaneCheckingEnabled): Renamed from checking.
  1651. (getPreferredSize): Simplified.
  1652. * javax/swing/JTextArea.java
  1653. (getColumnWidth): New method.
  1654. (getLineCount): Likewise.
  1655. (getLineStartOffset): Likewise.
  1656. (getLineEndOffset): Likewise.
  1657. (getLineOfOffset): Likewise.
  1658. (getRowHeight): Likewise.
  1659. (insert): Likewise.
  1660. (replaceRange): Likewise.
  1661. * javax/swing/JTextField.java
  1662. (scrollOffset): new field.
  1663. (getScrollOffset): New method.
  1664. (setScrollOffset): Likewise.
  1665. (getColumnWidth): Likewise.
  1666. * javax/swing/JTree.java
  1667. (ANCHOR_SELECTION_PATH_PROPERTY): New static field.
  1668. (CELL_EDITOR_PROPERTY): Likewise.
  1669. (CELL_RENDERER_PROPERTY): Likewise.
  1670. (EDITABLE_PROPERTY): Likewise.
  1671. (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
  1672. (INVOKES_STOP_CELL_EDITING_PROPERTY): Likewise.
  1673. (LARGE_MODEL_PROPERTY): Likewise.
  1674. (LEAD_SELECTION_PATH_PROPERTY): Likewise.
  1675. (ROOT_VISIBLE_PROPERTY): Likewise.
  1676. (ROW_HEIGHT_PROPERTY): Likewise.
  1677. (SCROLLS_ON_EXPAND_PROPERTY): Likewise.
  1678. (SELECTION_MODEL_PROPERTY): Likewise.
  1679. (SHOWS_ROOT_HANDLES_PROPERTY): Likewise.
  1680. (TOGGLE_CLICK_COUNT_PROPERTY): Likewise.
  1681. (TREE_MODEL_PROPERTY): Likewise.
  1682. (VISIBLE_ROW_COUNT_PROPERTY): Likewise.
  1683. (cellEditor): New field.
  1684. (invokesStopCellEditing): Likewise.
  1685. (largeModel): Likewise.
  1686. (rowHeight): Likewise.
  1687. (scrollsOnExpand): Likewise.
  1688. (selectionModel): Likewise.
  1689. (toggleClickCount): Likewise.
  1690. (visibleRowCount): Likewise.
  1691. (setShowsRootHandles): Fixed typo in method name.
  1692. (getCellEditor): New method.
  1693. (setCellEditor): Likewise.
  1694. (getSelectionModel): Likewise.
  1695. (setSelectionModel): Likewise.
  1696. (getVisibleRowCount): Likewise.
  1697. (setVisibleRowCount): Likewise.
  1698. (isLargeModel): Likewise.
  1699. (setLargeModel): Likewise.
  1700. (getRowHeight): Likewise.
  1701. (setRowHeight): Likewise.
  1702. (getInvokesStopCellEditing): Likewise.
  1703. (setInvokesStopCellEditing): Likewise.
  1704. (getToggleClickCount): Likewise.
  1705. (setToggleClickCount): Likewise.
  1706. (getScrollsOnExpand): Likewise.
  1707. (setScrollsOnExpand): Likewise.
  1708. * javax/swing/table/DefaultTableColumnModel.java
  1709. (addColumnModelListener): Fixed javadoc.
  1710. (removeColumnModelListener): Implemented. Fixed javadoc.
  1711. (getColumnModelListeners): New method.
  1712. * javax/swing/table/JTableHeader.java
  1713. (columnModel): Made protected.
  1714. (draggedColumn): Likewise.
  1715. (draggedDistance): Likewise.
  1716. (reorderingAllowed): Likewise.
  1717. (resizingAllowed): Likewise.
  1718. (resizingColumn): Likewise.
  1719. (table): Likewise.
  1720. (updateTableInRealTime): Likewise.
  1721. (createDefaultColumnModel): Renamed from
  1722. createDefaultTableColumnModel.
  1723. (setDefaultRenderer): New method.
  1724. * javax/swing/table/TableColumn.java
  1725. (getPropertyChangeListeners): New method.
  1726. * javax/swing/text/DefaultHighlighter.java
  1727. (drawsLayeredHighlights): New field.
  1728. (getDrawsLayeredHighlights): New method.
  1729. (setDrawsLayeredHighlights): Likewise.
  1730. * javax/swing/text/DocumentFilter.java
  1731. (FilterBypass): New inner class.
  1732. (insertString): New method.
  1733. (remove): Likewise.
  1734. (replace): Likewise.
  1735. * javax/swing/text/JTextComponent.java
  1736. (dragEnabled): New field.
  1737. (getSelectedText): New method.
  1738. (getDragEnabled): Likewise.
  1739. (setDragEnabled): Likewise.
  1740. (replaceSelection): Reimplemented.
  1741. * javax/swing/text/NavigationFilter.java
  1742. (FilterBypass): New inner class.
  1743. (NavigationFilter): New method.
  1744. (moveDot): Likewise.
  1745. (setDot): Likewise.
  1746. * javax/swing/text/SimpleAttributeSet.java
  1747. (EMPTY): Made public final.
  1748. 2004-11-30 Michael Koch <konqueror@gmx.de>
  1749. * javax/swing/SpinnerNumberModel.java
  1750. (getMinimum): New method.
  1751. (setMinimum): Likewise.
  1752. (getMaximum): Likewise.
  1753. (setMaximum): Likewise.
  1754. (getStepSize): Likewise.
  1755. (setStepSize): Likewise.
  1756. 2004-11-30 Michael Koch <konqueror@gmx.de>
  1757. * javax/swing/JMenu.java
  1758. (getMenuListeners): New method.
  1759. (fireMenuSelected): Simplified.
  1760. * javax/swing/JRootPane.java
  1761. (NONE): New static field.
  1762. (FRAME): Likewise.
  1763. (PLAIN_DIALOG): Likewise.
  1764. (INFORMATION_DIALOG): Likewise.
  1765. (ERROR_DIALOG): Likewise.
  1766. (COLOR_CHOOSER_DIALOG): Likewise.
  1767. (FILE_CHOOSER_DIALOG): Likewise.
  1768. (QUESTION_DIALOG): Likewise.
  1769. (WARNING_DIALOG): Likewise.
  1770. (defaultButton): New field.
  1771. (getDefaultButton): New method.
  1772. (setDefaultButton): Likewise.
  1773. * javax/swing/JScrollPane.java
  1774. (getUI): New method.
  1775. (setUI): Likewise.
  1776. * javax/swing/JTable.java
  1777. (getUI): Javadoc added.
  1778. (setUI): New method.
  1779. * javax/swing/JViewport.java
  1780. (getUI): New method.
  1781. (setUI): Likewise.
  1782. * javax/swing/UIDefaults.java
  1783. (removePropertyChangeListener): Made public.
  1784. 2004-11-30 Michael Koch <konqueror@gmx.de>
  1785. * javax/swing/JApplet.java, javax/swing/JFrame.java:
  1786. Re-indented.
  1787. 2004-11-30 Michael Koch <konqueror@gmx.de>
  1788. * javax/swing/AbstractButton.java:
  1789. Little re-formatting.
  1790. (changeEvent): Made protected.
  1791. (fireStateChanged): Removed argument.
  1792. (setHorizontalAlignment): Abort method when old value is equal too new
  1793. value.
  1794. (setHorizontalTextPosition): Likewise.
  1795. (setVerticalAlignment): Likewise.
  1796. (setVerticalTextPosition): Likewise.
  1797. (setBorderPainted): Likewise.
  1798. (setIcon): Likewise.
  1799. (setText): Likewise.
  1800. (setIconTextGap): Likewise.
  1801. (setMargin): Likewise.
  1802. (setPressedIcon): Likewise.
  1803. (setFocusPainted): Likewise.
  1804. (setDisabledSelectedIcon): Likewise.
  1805. (setRolloverIcon): Likewise.
  1806. (setRolloverSelectedIcon): Likewise.
  1807. (setSelectedIcon): Likewise.
  1808. (setContentAreaFilled): Likewise.
  1809. 2004-11-30 Kim Ho <kho@redhat.com>
  1810. * javax/swing/plaf/basic/BasicArrowButton.java:
  1811. Jalopy. Reimplement.
  1812. * javax/swing/plaf/basic/BasicScrollBarUI.java:
  1813. Jalopy.
  1814. (arrowIcon, upIcon, downIcon, leftIcon,
  1815. rightIcon): Removed.
  1816. (createIncreaseButton): Use BasicArrowButton.
  1817. (createDecreaseButton): Ditto.
  1818. * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
  1819. (createRightOneTouchButton): Remove button border.
  1820. (createLeftOneTouchButton): Ditto.
  1821. 2004-11-30 Michael Koch <konqueror@gmx.de>
  1822. * javax/swing/JSpinner.java
  1823. (setModel): New method.
  1824. * javax/swing/SpringLayout.java
  1825. (Constraints): May not be final.
  1826. 2004-11-30 Michael Koch <konqueror@gmx.de>
  1827. * gnu/java/awt/peer/gtk/GtkClipboard.java,
  1828. java/awt/datatransfer/Clipboard.java,
  1829. java/awt/datatransfer/ClipboardOwner.java:
  1830. Reformated to make it use our coding standard.
  1831. 2004-11-30 Michael Koch <konqueror@gmx.de>
  1832. * javax/swing/SpinnerNumberModel.java
  1833. (SpinnerNumberModel): Implements java.io.Serializable.
  1834. (serialVersionUID): New field.
  1835. (SpinnerNumberModel): Added missing @throws tags to javadocs.
  1836. * javax/swing/UIManager.java
  1837. (get): New method.
  1838. (getBoolean): Likewise.
  1839. (getBorder): Likewise.
  1840. (getColor): Likewise.
  1841. (getDimension): Likewise.
  1842. (getFont): Likewise.
  1843. (getIcon): Likewise.
  1844. (getInsets): Likewise.
  1845. (getInt): Likewise.
  1846. (getString): Likewise.
  1847. 2004-11-30 Michael Koch <konqueror@gmx.de>
  1848. * javax/swing/JPasswordField.java:
  1849. Reformated. Implemented construtors.
  1850. * javax/swing/plaf/basic/BasicPasswordFieldUI.java
  1851. (create): New method.
  1852. * javax/swing/text/PlainView.java
  1853. (selectedColor): Made package-private to allow access from sub-classes
  1854. in same package too.
  1855. (unselectedColor): Likewise.
  1856. (font): Likewise.
  1857. (drawSelectedText): Make protected.
  1858. (drawUnselectedText): Likewise.
  1859. * javax/swing/text/PasswordView.java: New file.
  1860. * Makefile.am: Added javax/swing/text/PasswordView.java.
  1861. * Makefile.in: Regenerated.
  1862. 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
  1863. * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar): Set menu
  1864. bar's width.
  1865. * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (nativeSetHelpMenu):
  1866. Add FIXME comment.
  1867. (addHelpMenu): Elide call to nativeSetHelpMenu.
  1868. * java/awt/Menu.java (isTearOff): Rename to tearOff.
  1869. (menuSerializedDataVersion): Initialize to 1.
  1870. (separatorLabel): Mark transient.
  1871. (insert(MenuItem,int)): Implement.
  1872. * java/awt/MenuBar.java (setHelpMenu): Call getPeer to retrieve
  1873. peer.
  1874. (countMenus): Count help menu.
  1875. * java/awt/MenuComponent.java (nameExplicitlySet, newEventsOnly,
  1876. accessibleContext): Add fields.
  1877. * java/awt/MenuItem.java: Remove event mask FIXME.
  1878. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
  1879. (gtkWidgetModifyFont): Only set font if label is non-NULL.
  1880. (setLabel): Don't treat "-" specially.
  1881. 2004-11-30 Kim Ho <kho@redhat.com>
  1882. * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
  1883. (stateChanged): Only update the image and the track if
  1884. the values are not being adjusted.
  1885. (updateChooser): Grab the new mouse point from the
  1886. spinner values. Update the image and track only if
  1887. the values are not being adjusted.
  1888. (getHSBValues): New method.
  1889. * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
  1890. (SliderHandler::stateChanged): Changed internalChange
  1891. to updateChange. Set sliderChange.
  1892. (SpinnerHandler::stateChanged): Ditto. Set spinnerChange.
  1893. (spinnerChange): New variable.
  1894. (sliderChange): Ditto.
  1895. (updateChange): Renamed from internalChange.
  1896. (updateChooser): Do not update sliders if the sliders
  1897. were the original source of the change. Ditto for spinners.
  1898. * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
  1899. (mousePress): Don't scroll the JViewport if there will
  1900. be extra space at the end of the run. Change layout() to
  1901. revalidate().
  1902. (calculateSize): Use the component's width/height unless
  1903. it is smaller than the max tab width/height.
  1904. (calculateTabRects): Subtract the tab run overlay.
  1905. (rotateTabRuns): Don't rotate if there's only one run.
  1906. (layoutContainer): Reuse the viewport point.
  1907. (createLayoutManager): Set the viewport to use no layout.
  1908. (paintTabArea): Don't paint the tabs that are not visible
  1909. to the JViewport.
  1910. (paintContentBorderTopEdge): Check for scroll tab layout before
  1911. looking for gap.
  1912. (paintContentBorderLeftEdge): Ditto.
  1913. (paintContentBorderBottomEdge): Ditto.
  1914. (paintContentBorderRightEdge): Ditto.
  1915. 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
  1916. * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetSetFont):
  1917. Rename ...
  1918. (gtkWidgetModifyFont): New method.
  1919. * gnu/java/awt/peer/gtk/GtkFramePeer.java,
  1920. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
  1921. (setMenuBarWidth): New method.
  1922. (setBounds): Set the menu bar width.
  1923. (postConfigureEvent): Set the menu bar width if the window's
  1924. width has changed.
  1925. * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (GtkMenuBarPeer):
  1926. Don't call create.
  1927. (setFont): New method.
  1928. * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): New
  1929. method.
  1930. (setFont): Likewise.
  1931. (GtkMenuComponentPeer): Call create and setFont.
  1932. * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
  1933. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
  1934. (connectSignals): Make package private.
  1935. (gtkWidgetModifyFont): New method.
  1936. (create): Likewise.
  1937. (GtkMenuItemPeer): Don't call create.
  1938. (setFont): New method.
  1939. * java/awt/CheckboxMenuItem.java (addNotify): Fix peer == null
  1940. condition.
  1941. * java/awt/Container.java (validateTree): Fix comment typos.
  1942. * java/awt/MenuComponent.java (getFont): Return parent's font if
  1943. our font is null.
  1944. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
  1945. (create): Remove call to deprecated
  1946. gtk_check_menu_item_set_show_toggle function.
  1947. 2004-11-30 Hans Boehm <Hans.Boehm@hp.com>
  1948. * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
  1949. (Almost everywhere): add LOG calls, fix, add comments.
  1950. (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
  1951. Add explicit check for LOCKED bit in slow case (PR 16662).
  1952. (_Jv_MonitorExit): Add casts in debug-only code.
  1953. Always release LOCKED bit before throwing exception.
  1954. (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
  1955. isn't. Handle easy cases without lock acquisition.
  1956. (Object::wait): Use NotifyAll for lock inflation.
  1957. 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
  1958. * gnu/java/awt/peer/gtk/GtkFramePeer.java,
  1959. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
  1960. (gtkFixedMove): Remove method.
  1961. 2004-11-30 Sven de Marothy <sven@physto.se>
  1962. * java/awt/geom/Area.java: Implemented.
  1963. 2004-11-30 Mark Wielaard <mark@klomp.org>
  1964. * java/awt/geom/Arc2D.java (ArcIterator): Make package private.
  1965. 2004-11-30 Sven de Marothy <sven@physto.se>
  1966. * java/awt/geom/Arc2D.java
  1967. Reformatted.
  1968. (setArc): Correct documentation to say 'upper left corner'.
  1969. (setArcByTangent,contains,intersects): Implemented.
  1970. (containsAngle): Corrected to handle negative extents.
  1971. (ArcIterator): Set to private.
  1972. (ArcIterator): Corrected for CHORD-type arcs, negative extents.
  1973. * java/awt/geom/Ellipse2D.java
  1974. Documented.
  1975. (contains,intersects): Implemented.
  1976. * java/awt/geom/Line2D.java
  1977. (linesIntersect): Correct handling of special cases.
  1978. 2004-11-30 Mark Wielaard <mark@klomp.org>
  1979. * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Use
  1980. Color.BLACK if c == null, don't create new Color object each time.
  1981. * gnu/java/awt/peer/gtk/GdkGraphics2D.java (comp): New private
  1982. field.
  1983. (setColor): Use Color.BLACK when argument null.
  1984. (setComposite): Set this.comp field.
  1985. (getComposite): Return this.comp, or AlphaComposite.SrcOver when null.
  1986. (DrawState.comp): New private field.
  1987. (DrawState.save): Save Composite.
  1988. (DrawState.restore): Restore comp field.
  1989. * java/awt/FontMetrics.java (gRC): New static final private field.
  1990. (getLineMetrics(String, Graphics)): New method.
  1991. (getLineMetrics(String, int, int, Graphics)): Likewise.
  1992. (getLineMetrics(char[], int, int, Graphics)): Likewise.
  1993. (getLineMetrics(CharacterIterator, int, int, Graphics)): Likewise.
  1994. * javax/swing/JMenu.java (JMenu(String, boolean)): Ignore tearoff
  1995. argument. PR SWING/17294.
  1996. * javax/swing/plaf/basic/BasicGraphicsUtils.java (): Always use
  1997. the fall-back code since none of the TextArea methods are really
  1998. implemented now. PR SWING/17296.
  1999. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
  2000. (GdkGlyphVector_setChars): Replace assert() with if block when
  2001. pango_itemize() returns null. PR AWT/17295.
  2002. (GdkGlyphVector_allInkExtents): Likewise when vec->glyphitems is null.
  2003. 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
  2004. * Makefile.am (gtk_c_source_files): Add
  2005. gnu_java_awt_peer_gtk_GtkFramePeer.c.
  2006. * Makefile.in: Regenerate.
  2007. * gnu/java/awt/peer/gtk/GdkGraphics.java (getClipBounds): Remove
  2008. comment.
  2009. * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
  2010. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
  2011. (create): Pack GtkButton in GtkEventBox.
  2012. (connectJObject): Remove.
  2013. (focus_in_cb): New function.
  2014. (focus_out_cb): Likewise.
  2015. (connectSignals): Connect focus-in-event and focus-out-event
  2016. signals.
  2017. (gtkSetFont): Rename to ...
  2018. (gtkWidgetModifyFont): New method.
  2019. (gtkWidgetRequestFocus): New method.
  2020. * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
  2021. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
  2022. (gtkSetFont): Rename to ...
  2023. (gtkWidgetModifyFont): New method.
  2024. * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
  2025. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
  2026. (isInRepaint): New field.
  2027. (gtkSetFont): Remove method.
  2028. (addExposeFilter): Likewise.
  2029. (removeExposeFilter): Likewise.
  2030. (gtkWidgetQueueDrawArea): Rename to ...
  2031. (gtkWidgetRepaintArea): New method.
  2032. (beginNativeRepaint): New method.
  2033. (endNativeRepaint): New method.
  2034. (setComponentBounds): Move implementation here from
  2035. GtkComponentPeer.
  2036. (paint): Remove implementation.
  2037. (repaint): Wrap call to gtkWidgetRepaintArea with calls to
  2038. beginNativeRepaint and endNativeRepaint.
  2039. (setBounds): Use menu bar height in bounds calculation.
  2040. (postExposeEvent): Only post paint event if we're not doing a
  2041. native repaint.
  2042. (gtkWidgetSetParent): Replace gtk_layout_put with gtk_fixed_put.
  2043. (setNativeBounds): Replace gtk_layout_move with gtk_fixed_move.
  2044. (find_gtk_layout): Remove function.
  2045. (filter_expose_event_handler): Likewise.
  2046. * gnu/java/awt/peer/gtk/GtkDialogPeer.java (postExposeEvent):
  2047. Likewise.
  2048. * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
  2049. (setComponentBounds): Call GtkComponentPeer's
  2050. setComponentBounds.
  2051. * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight):
  2052. New method.
  2053. (moveLayout): Rename to ...
  2054. (gtkFixedMove): New method.
  2055. (gtkLayoutSetVisible): Rename to ...
  2056. (gtkFixedSetVisible): New method.
  2057. (setMenuBar): Rearrange, to make the three separate cases
  2058. clearer.
  2059. (postExposeEvent): Only post paint event if we're not doing a
  2060. native repaint.
  2061. * gnu/java/awt/peer/gtk/GtkGenericPeer.java,
  2062. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
  2063. (gtkWidgetModifyFont): New method.
  2064. * gnu/java/awt/peer/gtk/GtkImagePainter.java
  2065. (GtkImagePainter(GtkImage,GdkGraphics,int,int,int,int,Color)):
  2066. Call run directly, rather than spawning a new thread.
  2067. (GtkImagePainter(GtkImage,GdkGraphics,int,int,int,int,int,int,int,int,Color)):
  2068. Likewise.
  2069. * gnu/java/awt/peer/gtk/GtkLabelPeer.java,
  2070. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (gtkSetFont):
  2071. Rename to ...
  2072. (gtkWidgetModifyFont): New method.
  2073. (create): Rename ebox to eventbox.
  2074. * gnu/java/awt/peer/gtk/GtkListPeer.java,
  2075. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
  2076. Rename to ...
  2077. (gtkWidgetModifyFont): New method.
  2078. * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
  2079. (GtkMenuComponentPeer): Set the default font.
  2080. * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
  2081. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
  2082. (gtkSetFont): Rename to ...
  2083. (gtkWidgetModifyFont): New method.
  2084. * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
  2085. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
  2086. * java/awt/Component.java (locale): Initialize to default
  2087. locale.
  2088. * java/awt/Container.java (invalidateTree): Make
  2089. package-private.
  2090. (paint): Paint self first.
  2091. (setMenuBar): Call invalidateTree.
  2092. * java/awt/Panel.java (dispatchEventImpl): Remove method.
  2093. * java/awt/Window.java (show): Call no-parameter variant of
  2094. requestFocusInWindow.
  2095. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (initState):
  2096. Remove special case for window widget.
  2097. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
  2098. (grab_current_drawable): Likewise.
  2099. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
  2100. (create): Replace GtkLayout with GtkFixed.
  2101. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
  2102. (pre_event_handler): Remove special cases for GDK_EXPOSE events.
  2103. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c: New file.
  2104. Move all GtkFramePeer native method implementations here from
  2105. gnu_java_awt_peer_gtk_GtkWindowPeer.c.
  2106. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
  2107. Replace GtkLayout with GtkFixed.
  2108. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
  2109. (find_layout): Remove function.
  2110. (create): Replace GtkLayout with GtkFixed.
  2111. (connectSignals): Remove find_layout call.
  2112. (toBack): Replace XFlush with gdk_flush.
  2113. (toFront): Replace XFlush with gdk_flush.
  2114. Move GtkFramePeer native method implementations to
  2115. gnu_java_awt_peer_gtk_GtkFramePeer.c.
  2116. * jni/gtk-peer/gtkpeer.h: Remove declaration of find_gtk_layout.
  2117. 2004-11-30 Michael Koch <konqueror@gmx.de>
  2118. * javax/swing/JTextArea.java
  2119. (lineWrap): Renamed from "wrapping".
  2120. (wrapStyleWord): NEw field.
  2121. (getLineWrap): Re-edited javadoc comment.
  2122. (setLineWrap): Likewise.
  2123. (getWrapStyleWord): New method.
  2124. (setWrapStyleWord): Likewise.
  2125. 2004-11-29 Kelley Cook <kcook@gcc.gnu.org>
  2126. * configure: Regenerate for libtool change.
  2127. 2004-11-29 Tom Tromey <tromey@redhat.com>
  2128. * gnu/gcj/tools/gcj_dbtool/Main.java (main): Mention gcj-dbtool.
  2129. Recognize --help and --version.
  2130. (usage): Mention gcj-dbtool. Added "out" argument.
  2131. (insist): Updated.
  2132. 2004-11-29 Eric Botcazou <ebotcazou@libertysurf.fr>
  2133. * link.cc (link_symbol_table): Do not use intptr_t.
  2134. 2004-11-28 Mark Wielaard <mark@klomp.org>
  2135. * mauve-libgcj: Disable SpinnerListModel, SwingUtilities and
  2136. XMLDecoder tests which currently don't compile.
  2137. 2004-11-27 Andrew Haley <aph@redhat.com>
  2138. * link.cc (ensure_class_linked): Conditionally compile
  2139. _Jv_IsInterpretedClass on INTERPRETER.
  2140. (print_class_loaded): Likewise.
  2141. (wait_for_state): Likewise.
  2142. * include/jvm.h (ROUND): Move to here from include/java-interp.h.
  2143. * include/java-interp.h (ROUND): Remove.
  2144. 2004-11-25 Tom Tromey <tromey@redhat.com>
  2145. * gnu/gcj/util/natDebug.cc (getField): Don't qualify name.
  2146. * java/lang/Class.h (_Jv_Linker): Declare.
  2147. (Class): Fix names of friends.
  2148. (_Jv_getInterfaceMethod): Declare.
  2149. 2004-11-25 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  2150. * testsuite/lib/libjava.exp (libjava_arguments): Add new global
  2151. variable libjava_ld_library_path.
  2152. (gcj_invoke, libjava_invoke): Use it to set ld_library_path.
  2153. 2004-11-25 Bryce McKinlay <mckinlay@redhat.com>
  2154. * java/util/ResourceBundle.java (BundleKey): Don't implement
  2155. Cloneable.
  2156. (BundleKey.clone): Removed.
  2157. (getBundle): Copy BundleKey using constructor, not clone().
  2158. 2004-11-25 Kelley Cook <kcook@gcc.gnu.org>
  2159. * configure: Regenerate for libtool reversion.
  2160. 2004-11-25 Michael Koch <konqueror@gmx.de>
  2161. * Makefile.am: Added most of javax.print again.
  2162. * Makefile.in: Regenerated.
  2163. 2004-11-25 Michael Koch <konqueror@gmx.de>
  2164. * Makefile.am: Added most of javax.print again.
  2165. * Makefile.in: Regenerated.
  2166. 2004-11-24 Tom Tromey <tromey@redhat.com>
  2167. * Merged gcj-abi-2-dev-branch to trunk.
  2168. 2004-11-16 Tom Tromey <tromey@redhat.com>
  2169. * include/java-interp.h (_Jv_DefineClass): Updated.
  2170. * java/lang/natVMClassLoader.cc (defineClass): Pass protection
  2171. domain to class reader.
  2172. * defineclass.cc (parse): Use print_class_loaded.
  2173. Include ProtectionDomain.h.
  2174. (_Jv_DefineClass): Added ProtectionDomain argument.
  2175. (_Jv_ClassReader): Likewise.
  2176. * include/jvm.h (_Jv_Linker::print_class_loaded): Declare.
  2177. * link.cc: Include CodeSource.h.
  2178. (print_class_loaded): New function.
  2179. (wait_for_state): Use it.
  2180. 2004-11-16 Andrew Haley <aph@redhat.com>
  2181. * gnu/gcj/util/Debug.java (print): Add RawDataManaged.
  2182. 2004-11-16 Andrew Haley <aph@redhat.com>
  2183. * configure.ac (LIBGCJ_LD_SYMBOLIC): AC_SUBST this definition.
  2184. * configure.host: Define libgcj_ld_symbolic for Linux hosts.
  2185. * Makefile.am (lib_*_la_LDFLAGS): Add LIBGCJ_LD_SYMBOLIC.
  2186. * configure: Regenerate.
  2187. * Makefile.in: Regenerate.
  2188. 2004-11-15 Andrew Haley <aph@redhat.com>
  2189. * boehm.cc (_Jv_GCRegisterDisappearingLink): Check that *objp is a
  2190. gc-allocated object.
  2191. 2004-11-15 Andrew Haley <aph@redhat.com>
  2192. * java/net/URLClassLoader.java
  2193. (URLLoader.getClassPath): New method.
  2194. (JarURLLoader.JarURLLoader): Read mainfest to parse "Class-Path"
  2195. attribute and add URLs for each entry.
  2196. (JarURLLoader.classPath): New field.
  2197. (JarURLLoader.getClassPath): New method.
  2198. (addURLImpl): Scan through the list of extraUrls in the new
  2199. loader, adding them to our urlinfos.
  2200. (definePackage, findURLResource, findResources): Use
  2201. urlinfos.size(), not urls.size().
  2202. 2004-11-11 Tom Tromey <tromey@redhat.com>
  2203. * gnu/gcj/runtime/natSharedLibLoader.cc (ensureSupersLinked): New
  2204. method.
  2205. * gnu/gcj/runtime/SharedLibHelper.java (findClass): Ensure supers
  2206. linked.
  2207. (ensureSupersLinked): Declare.
  2208. * java/lang/natVMClassLoader.cc (loadClass): Ensure supers
  2209. linked.
  2210. 2004-11-10 Tom Tromey <tromey@redhat.com>
  2211. * gij.cc (main): Treat -verbose the same as -verbose:class.
  2212. (help): Document -verbose and -verbose:class.
  2213. * link.cc (verbose_class_flag): Declare.
  2214. (wait_for_state): Print message when handling precompiled class.
  2215. * java/lang/natClass.cc (verbose_class_flag): Moved to link.cc.
  2216. 2004-11-09 Tom Tromey <tromey@redhat.com>
  2217. * testsuite/libjava.lang/assign2.out: New file.
  2218. * testsuite/libjava.lang/assign2.java: New file.
  2219. * java/lang/natRuntime.cc (insertSystemProperties): Set
  2220. java.version to 1.4.2 and java.specification.version to 1.4. Set
  2221. java.runtime.version.
  2222. 2004-11-08 Tom Tromey <tromey@redhat.com>
  2223. * java/lang/natClass.cc (_Jv_IsAssignableFromSlow): Ensure
  2224. supers installed.
  2225. * link.cc (verify_type_assertions): Don't link supers.
  2226. * include/jvm.h (_Jv_Linker::search_method_in_class): Declare.
  2227. * include/java-interp.h (class _Jv_InterpClass)
  2228. <_Jv_PrepareMissingMethods>: No longer `friend'.
  2229. * java/lang/Class.h (_Jv_SearchMethodInClass): No longer
  2230. `friend'.
  2231. (_Jv_PrepareMissingMethods, _Jv_PrepareCompiledClass,
  2232. _Jv_GetInterfaces, _Jv_GenerateITable, _Jv_FindIIndex,
  2233. _Jv_AppendPartialITable, _Jv_LinkSymbolTable,
  2234. _Jv_LayoutInterfaceMethods, _Jv_SetVTableEntries, _Jv_MakeVTable,
  2235. _Jv_linkExceptionClassTable, _Jv_WaitForState): Likewise.
  2236. * link.cc (search_method_in_class): Renamed from
  2237. _Jv_SearchMethodInClass.
  2238. (resolve_pool_entry): Updated.
  2239. * include/jvm.h (_Jv_CheckAssignment): Removed.
  2240. * java/lang/natClass.cc (_Jv_CheckAssignment): Removed.
  2241. 2004-11-05 Tom Tromey <tromey@redhat.com>
  2242. * link.cc (verify_type_assertions): Ensure classes have supers
  2243. linked. Strip off array types first.
  2244. 2004-11-05 Bryce McKinlay <mckinlay@redhat.com>
  2245. * link.cc: Include VerifyError.h.
  2246. (_Jv_Linker::verify_type_assertions): New. Read and evaluate entries
  2247. in the type assertion table.
  2248. * include/execution.h (_Jv_CompiledEngine::do_verify): Use
  2249. verify_type_assertions.
  2250. * include/jvm.h (_Jv_Linker::verify_type_assertions): declare.
  2251. * java/lang/Class.h (JV_ASSERT_END_OF_TABLE,
  2252. JV_ASSERT_TYPES_COMPATIBLE, JV_ASSERT_IS_INSTANTIABLE): Declare
  2253. assertion code values.
  2254. (struct _Jv_TypeAssertion): Declare.
  2255. (assertion_table): New class field.
  2256. (verify): Remove class field.
  2257. 2004-11-05 Andrew Haley <aph@redhat.com>
  2258. * Makefile.am: Move jv_dbtool.java to
  2259. gnu/gcj/tools/gcj_dbtool/Main.java.
  2260. * Makefile.in: Rebuild.
  2261. * java/lang/VMCompiler.java: Rename property
  2262. "gnu.gcj.precompiled.db" to "gnu.gcj.precompiled.db.path".
  2263. * gnu/gcj/tools/gcj_dbtool/Main.java: moved here from
  2264. jv_dbtool.java.
  2265. 2004-11-05 Andrew Haley <aph@redhat.com>
  2266. * jv_dbtool.java (main): Allow the user to specify the size of the
  2267. database. Display the capacity and the size.
  2268. (usage): Show the new option.
  2269. 2004-11-04 Tom Tromey <tromey@redhat.com>
  2270. * include/jvm.h (_Jv_Linker::set_vtable_entries): Updated.
  2271. * link.cc (make_vtable): Use correct index when searching for
  2272. missing method's name. Don't use `flags'.
  2273. (set_vtable_entries): Removed `flags' argument. Don't recurse
  2274. into superclasses.
  2275. (link_symbol_table): Ensure target class method table is
  2276. complete. Ensure target fields are laid out before entering
  2277. loop.
  2278. * java/lang/natClass.cc (_Jv_getInterfaceMethod): Indentation
  2279. fix.
  2280. * interpret.cc (do_verify): Don't verify abstract methods.
  2281. 2004-11-01 Tom Tromey <tromey@redhat.com>
  2282. * link.cc (wait_for_state): Call verify_class.
  2283. * verify.cc (state::check_no_uninitialized_objects): Removed.
  2284. (push_jump): Updated.
  2285. (push_exception_jump): Likewise.
  2286. (handle_ret_insn): Likewise.
  2287. (handle_jsr_insn): Likewise.
  2288. 2004-10-28 Andrew Haley <aph@redhat.com>
  2289. * gnu/gcj/runtime/PersistentByteMap.java: New file.
  2290. * jv_dbtool.java: New file.
  2291. * Makefile.am (bin_PROGRAMS): Add jv-dbtool
  2292. (jv_dbtool_SOURCES, jv_dbtool_LDFLAGS, jv_dbtool_LINK)
  2293. (jv_dbtool_LDADD, jv_dbtool_DEPENDENCIES): New.
  2294. * Makefile.in: Regenerate,
  2295. * java/lang/VMCompiler.java: Import NoSuchAlgorithmException,
  2296. Enumeration, StringTokenizer, Vector, PersistentByteMap.
  2297. (precompiledMapFiles): New variable.
  2298. (VMCompiler static intializer): Read "gnu.gcj.precompiled.db" to
  2299. initialize precompiledMapFiles.
  2300. (compileClass): Look at the database of precompiled class files
  2301. before firing up gcj.
  2302. * gnu/gcj/runtime/VMClassLoader.java (findClass): Fix comment.
  2303. 2004-10-27 Andrew Haley <aph@redhat.com>
  2304. * java/lang/VMCompiler.java (compileClass): try looking for
  2305. precompiledMapFiles.
  2306. * gnu/gcj/runtime/PersistentByteMap.java: New file.
  2307. 2004-10-27 Tom Tromey <tromey@redhat.com>
  2308. * link.cc (ensure_class_linked): Only resolve classes for
  2309. compiled classes.
  2310. (add_miranda_methods): Ensure interface supers are installed.
  2311. (resolve_pool_entry): Better error message.
  2312. 2004-10-25 Tom Tromey <tromey@redhat.com>
  2313. * boehm.cc (_Jv_MarkObj): Test aux_info before dereferencing it.
  2314. * java/util/ResourceBundle.java (tryBundle): Use
  2315. Class.isAssignableFrom rather than catching ClassCastException.
  2316. * java/util/zip/InflaterInputStream.java (fill): Don't throw an
  2317. exception if we hit EOF of `in'.
  2318. (read): Handle case where inflating returns -1.
  2319. * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
  2320. initialize `iter'.
  2321. * gnu/java/text/SentenceBreakIterator.java
  2322. (SentenceBreakIterator): Don't initialize `iter'.
  2323. * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
  2324. initialize `iter'.
  2325. * gnu/java/text/CharacterBreakIterator.java
  2326. (CharacterBreakIterator): Don't initialize `iter'.
  2327. * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
  2328. constructor.
  2329. * java/text/BreakIterator.java: Updated documentation.
  2330. 2004-10-20 Tom Tromey <tromey@redhat.com>
  2331. * java/util/ResourceBundle.java (tryBundle): Also ignore
  2332. ClassCastException.
  2333. 2004-10-18 Tom Tromey <tromey@redhat.com>
  2334. * interpret.cc (do_post_miranda_hook): New method.
  2335. * include/execution.h (_Jv_ExecutionEngine::post_miranda_hook):
  2336. New field.
  2337. (_Jv_CompiledEngine::do_post_miranda_hook): New method.
  2338. (_Jv_CompiledEngine): Initialize new field.
  2339. (_Jv_InterpreterEngine::do_post_miranda_hook): Declare.
  2340. (_Jv_InterpreterEngine): Initialize new field.
  2341. * link.cc (resolve_pool_entry): Put Miranda methods in target
  2342. class.
  2343. (ensure_method_table_complete): Call post_miranda_hook.
  2344. * java/lang/natVMClassLoader.cc (defineClass): Don't set class'
  2345. aux_info.
  2346. * defineclass.cc (read_one_method_attribute): Use _Jv_AllocBytes.
  2347. (parse): Set class' aux_info here.
  2348. * boehm.cc (_Jv_MarkObj): Mark `throws'.
  2349. * boehm.cc: Re-merged with trunk.
  2350. 2004-10-18 Andrew Haley <aph@redhat.com>
  2351. PR java/18036:
  2352. * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
  2353. and correct logic used to find interpreter.
  2354. 2004-10-13 Andrew Haley <aph@redhat.com>
  2355. * interpret.cc (_Jv_InterpMethod::run): Initialize
  2356. _Jv_StartOfInterpreter.
  2357. (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
  2358. (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
  2359. * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
  2360. _Unwind_FindEnclosingFunction to discover whether PC is within the
  2361. interpreter.
  2362. 2004-10-13 Tom Tromey <tromey@redhat.com>
  2363. * link.cc (find_iindex): Copy correct number of slots to new
  2364. ioffsets.
  2365. 2004-10-12 Tom Tromey <tromey@redhat.com>
  2366. * testsuite/libjava.loader/loader.exp (gcj_object_file_name): New
  2367. proc.
  2368. (gcj_loader_test_one): Use it.
  2369. (gcj_loader_run): Likewise.
  2370. * prims.cc: Don't include FirstThread.h.
  2371. 2004-10-06 Tom Tromey <tromey@redhat.com>
  2372. * link.cc (ensure_method_table_complete): Ensure superclass
  2373. Miranda methods installed.
  2374. * include/java-interp.h (class _Jv_JNIMethod): Added
  2375. JV_MARKOBJ_DECL as a friend.
  2376. * interpret.cc (ncode): Allocate jni_arg_types field with GC.
  2377. * boehm.cc (_Jv_MarkObj): Skip abstract methods when marking
  2378. interpreter method structures. Mark jni_arg_types of JNI
  2379. methods.
  2380. * defineclass.cc (parse): Use JV_STATE_READ.
  2381. * java/lang/Class.h (JV_STATE_READ): New enum value.
  2382. 2004-10-05 Tom Tromey <tromey@redhat.com>
  2383. * link.cc (resolve_pool_entry): Add signature info to missing
  2384. method's information.
  2385. * gnu/gcj/util/Debug.java (Debug(int,boolean)): New constructor.
  2386. * gnu/gcj/util/natDebug.cc (_Jv_StaticDeepDebug): New function.
  2387. 2004-10-04 Tom Tromey <tromey@redhat.com>
  2388. * boehm.cc (_Jv_MarkObj): Correctly indicate base pointer when
  2389. marking IDT.
  2390. 2004-09-29 Tom Tromey <tromey@redhat.com>
  2391. * Makefile.am (libgcj_la_SOURCES): Mention link.cc, not
  2392. resolve.cc.
  2393. * include/jvm.h (class _Jv_Linker): Renamed from _Jv_Resolver.
  2394. * jni.cc: Use _Jv_Linker.
  2395. * interpret.cc: Use _Jv_Linker.
  2396. * java/lang/reflect/natField.cc (getType): Use _Jv_Linker.
  2397. * java/lang/natClassLoader.cc: Use _Jv_Linker.
  2398. * java/lang/natVMClassLoader.cc (resolveClass): Use _Jv_Linker.
  2399. * java/lang/Class.h: Use _Jv_Linker.
  2400. * java/lang/natClass.cc (initializeClass): Use _Jv_Linker.
  2401. * resolve.cc: Renamed ...
  2402. * link.cc: ... here. Use _Jv_Linker.
  2403. * defineclass.cc (checkExtends): Use _Jv_Linker.
  2404. 2004-09-17 Tom Tromey <tromey@redhat.com>
  2405. * defineclass.cc (handleCodeAttribute): Don't reference
  2406. `deferred'.
  2407. (handleMethodsEnd): Likewise.
  2408. * include/java-interp.h (_Jv_MethodBase::deferred): Removed
  2409. field.
  2410. (_Jv_Defer_Resolution): Don't declare or define.
  2411. * interpret.cc (do_create_ncode): Don't resolve deferred method
  2412. pointers.
  2413. * java/lang/Class.h (_Jv_Defer_Resolution): Don't declare.
  2414. * resolve.cc (link_symbol_table): No need to defer resolution.
  2415. 2004-09-14 Tom Tromey <tromey@redhat.com>
  2416. * boehm.cc (MAYBE_MARK): Remove unused `Exit' argument.
  2417. (_Jv_MarkObj): Updated.
  2418. (_Jv_MarkArray): Likewise.
  2419. * include/jvm.h (StringClass): Removed.
  2420. * jni.cc (_Jv_JNI_ThrowNew): Don't use StringClass.
  2421. * interpret.cc (_Jv_InitField): Don't use StringClass.
  2422. * java/lang/natString.cc (_Jv_StringFindSlot): Don't use
  2423. StringClass.
  2424. (rehash): Likewise
  2425. (intern): Likewise.
  2426. (_Jv_FinalizeString): Likewise.
  2427. (_Jv_NewStringUtf8Const): Likewise.
  2428. (equals): Likewise.
  2429. * prims.cc (JvConvertArgv): Don't use StringClass.
  2430. * gcj/field.h (struct _Jv_Field): Don't mention COMPACT_FIELDS.
  2431. * resolve.cc (ensure_fields_laid_out): Don't mention
  2432. COMPACT_FIELDS.
  2433. * defineclass.cc (handleField): Don't mention COMPACT_FIELDS.
  2434. * boehm.cc (_Jv_MarkObj): Don't mention COMPACT_FIELDS.
  2435. * java/lang/reflect/natField.cc (getType): Use resolve_field.
  2436. * java/lang/natVMClassLoader.cc (resolveClass): New native
  2437. implementation.
  2438. (linkClass0): Removed.
  2439. (markClassErrorState0): Likewise.
  2440. * java/lang/natClassLoader.cc: Include execution.h. Moved class
  2441. preparation code to resolve.cc.
  2442. (_Jv_RegisterClassHookDefault): Set class's execution engine if
  2443. not already set.
  2444. (_Jv_FindClass): Use wait_for_state.
  2445. (_Jv_NewArrayClass): Likewise. Simplified permissions setting.
  2446. * java/lang/natClass.cc (_Jv_IsInstanceOf): Include execution.h.
  2447. Moved interface table and class preparation code to resolve.cc.
  2448. (finalize): Rewrote.
  2449. (initializeClass): Simplified locking and class preparation.
  2450. * java/lang/VMClassLoader.java (linkClass0): Removed.
  2451. (markClassErrorState0): Likewise.
  2452. (resolveClass): Now native.
  2453. (transformException): New method.
  2454. * java/lang/Class.h (getSuperclass): Don't try to resolve super
  2455. reference.
  2456. (getInterface): Likewise.
  2457. (size): Likewise.
  2458. (set_state): New method.
  2459. (Class): Updated friend declarations.
  2460. (verify): Field now private.
  2461. (engine): New field.
  2462. * include/jvm.h (class _Jv_Resolver): New class declaration.
  2463. (_Jv_ResolveField): Removed declaration.
  2464. (_Jv_CheckAccessNoInit): Likewise.
  2465. (_Jv_isBinaryCompatible): Removed.
  2466. * include/java-interp.h (class _Jv_MethodBase): Updated friend
  2467. declarations.
  2468. (class _Jv_InterpMethod): Likewise.
  2469. (class _Jv_InterpClass): Likewise.
  2470. (class _Jv_JNIMethod): Likewise.
  2471. * include/execution.h: New file.
  2472. * gnu/gcj/runtime/natSharedLibLoader.cc: Include execution.h.
  2473. (_Jv_sharedlib_register_hook): Set `engine' on loaded class.
  2474. Register class after setting fields.
  2475. * resolve.cc: Include execution.h, VerifyError.h. Moved
  2476. interpreter-specific code to interpret.cc.
  2477. (uaddr): New location.
  2478. (struct aligner): Likewise.
  2479. (ALIGNOF): Likewise.
  2480. (INITIAL_IOFFSETS_LEN): Interface dispatch code moved here.
  2481. (INITIAL_IFACES_LEN): Likewise.
  2482. (null_idt): Likewise.
  2483. (_Jv_GetMethodString): Likewise.
  2484. (_Jv_ThrowNoSuchMethodError): Likewise.
  2485. (_Jv_abstractMethodError): Likewise.
  2486. (_Jv_Resolver::get_alignment_from_class): Renamed.
  2487. (_Jv_Resolver::resolve_field): Likewise.
  2488. (_Jv_Resolver::resolve_pool_entry): Likewise.
  2489. (_Jv_Resolver::resolve_class_ref): Likewise.
  2490. (_Jv_Resolver::prepare_constant_time_tables): Likewise.
  2491. (_Jv_Resolver::indexof): Likewise.
  2492. (_Jv_Resolver::get_interfaces): Likewise.
  2493. (_Jv_Resolver::generate_itable): Likewise.
  2494. (_Jv_Resolver::append_partial_itable): Likewise.
  2495. (_Jv_Resolver::find_iindex): Likewise.
  2496. (_Jv_Resolver::link_symbol_table): Likewise.
  2497. (_Jv_Resolver::link_exception_table): Likewise.
  2498. (_Jv_Resolver::layout_interface_methods): Likewise.
  2499. (_Jv_Resolver::layout_vtable_methods): Likewise.
  2500. (_Jv_Resolver::set_vtable_entries): Likewise.
  2501. (_Jv_Resolver::make_vtable): Likewise.
  2502. (_Jv_Resolver::ensure_fields_laid_out): Likewise.
  2503. (_Jv_Resolver::ensure_class_linked): Likewise.
  2504. (_Jv_Resolver::ensure_supers_installed): Likewise.
  2505. (_Jv_Resolver::add_miranda_methods): Likewise.
  2506. (_Jv_Resolver::ensure_method_table_complete): Likewise.
  2507. (_Jv_Resolver::verify_class): Likewise.
  2508. (_Jv_Resolver::wait_for_state): Likewise.
  2509. * prims.cc (_Jv_soleCompiledEngine): New global.
  2510. (_Jv_CheckAccess): Use _Jv_IsAssignableFromSlow.
  2511. (_Jv_CheckAccessNoInit): Removed.
  2512. * jni.cc (_Jv_JNI_GetAnyFieldID): Use resolve_field.
  2513. * interpret.cc: Include platform.h, ClassFormatError.h,
  2514. Modifier.h, execution.h.
  2515. (_Jv_soleInterpreterEngine): New global.
  2516. (compile): Use resolve_pool_entry.
  2517. (run): Likewise.
  2518. (_Jv_InitField): New location.
  2519. (skip_one_type): Likewise.
  2520. (get_ffi_type_from_signature): Likewise.
  2521. (_Jv_count_arguments): Likewise.
  2522. (init_cif): Likewise.
  2523. (ncode_closure): Likewise.
  2524. (ffi_closure_fun): Likewise.
  2525. (ncode): Likewise.
  2526. (throw_class_format_error): Likewise.
  2527. (throw_class_format_error): Likewise.
  2528. (_Jv_InterpreterEngine::do_verify): New method.
  2529. (_Jv_InterpreterEngine::do_create_ncode): Likewise.
  2530. (_Jv_InterpreterEngine::do_allocate_static_fields): Likewise.
  2531. (_Jv_InterpreterEngine::do_resolve_method): Likewise.
  2532. * defineclass.cc: Include execution.h.
  2533. (_Jv_ClassReader): Initialize size_in_bytes, vtable_method_count,
  2534. engine.
  2535. (checkExtends): Ensure superclass has supers installed.
  2536. (_Jv_ClassNameSamePackage): Clarify usage constraints.
  2537. * boehm.cc (GC_enable, GC_disable): Declare at top of file.
  2538. (_Jv_MarkObj): Unconditionally mark vtable. Mark interface
  2539. dispatch tables.
  2540. 2004-09-13 Tom Tromey <tromey@redhat.com>
  2541. * mauve-libgcj: List some classes we don't have.
  2542. 2004-09-10 Andrew Haley <aph@redhat.com>
  2543. * java/lang/Class.h (_Jv_getInterfaceMethod(): new friend.
  2544. * java/lang/natClass.cc (initializeClass): Check itable.
  2545. (_Jv_getInterfaceMethod): New.
  2546. (_Jv_LinkSymbolTable): Rewrite code that handles inerface calls.
  2547. Check that an interface method isn't called with invokevirtual.
  2548. * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Make sure
  2549. super_meth is virtual.
  2550. 2004-09-01 Tom Tromey <tromey@redhat.com>
  2551. * java/lang/Class.h (_Jv_CheckAccessNoInit): Declare as friend.
  2552. * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use
  2553. _Jv_CheckAccessNoInit.
  2554. * include/jvm.h (_Jv_CheckAccessNoInit): Declare.
  2555. * prims.cc (_Jv_CheckAccessNoInit): New method.
  2556. * java/lang/reflect/natMethod.cc (invoke): Check access against
  2557. declaring class, not object's class.
  2558. * java/lang/natClass.cc (_Jv_LookupDeclaredMethod): Added another
  2559. argument.
  2560. (_Jv_LayoutVTableMethods): Perform checks of accessibility of
  2561. overridden method.
  2562. * java/lang/Class.h (_Jv_LookupDeclaredMethod): Added another
  2563. argument.
  2564. 2004-08-30 Andrew Haley <aph@redhat.com>
  2565. * java/lang/natClass.cc (_Jv_CheckAssignment): Catch
  2566. ClassNotFoundException.
  2567. Throw NoClassDefFoundError.
  2568. * java/lang/natClassLoader.cc (_Jv_FindClassInCache): Remove call
  2569. to klass->verify() from here ...
  2570. (_Jv_PrepareCompiledClass): ...and put it here.
  2571. 2004-08-27 Andrew Haley <aph@redhat.com>
  2572. * java/lang/natClassLoader.cc (_Jv_FindClassInCache): Call
  2573. klass->verify().
  2574. * java/lang/natClass.cc (_Jv_LinkSymbolTable): Add debugging.
  2575. (_Jv_LinkSymbolTable): Call Jv_LayoutClass on target class.
  2576. 2004-08-27 Tom Tromey <tromey@redhat.com>
  2577. * java/lang/Class.h (_Jv_IsAssignableFromSlow): Declare as
  2578. friend.
  2579. * java/lang/natClass.cc (_Jv_CheckAssignment): New function.
  2580. (_Jv_IsAssignableFromSlow): New function.
  2581. Include VerifyError.h.
  2582. * include/jvm.h (_Jv_CheckAssignment): Declare.
  2583. 2004-08-18 Andrew Haley <aph@redhat.com>
  2584. * java/lang/VMCompiler.java (loadSharedLibrary): Add className
  2585. argument. Pass it to findClass instead of fileName.
  2586. (compileClass): Pass class name to loadSharedLibrary.
  2587. 2004-06-22 Andrew Haley <aph@redhat.com>
  2588. * testsuite/libjava.compile/compile.exp: Force indirect dispatch.
  2589. 2004-06-15 Andrew Haley <aph@redhat.com>
  2590. * java/lang/natSystem.cc (getenv0): Don't assume environment
  2591. variable is Latin 1 coded.
  2592. 2004-06-07 Andrew Haley <aph@redhat.com>
  2593. * java/lang/System.java: (getenv0): New method.
  2594. (getenv): Add security check. Do the right thing.
  2595. * java/lang/natSystem.cc (getenv0): New method.
  2596. 2004-04-19 Andrew Haley <aph@redhat.com>
  2597. * gnu/gcj/runtime/NameFinder.java: Call waitFor() on the processes
  2598. we destroy.
  2599. * gnu/java/net/natPlainSocketImplPosix.cc (read): The value byte
  2600. is returned as an int in the range 0 to 255.
  2601. 2004-08-13 Tom Tromey <tromey@redhat.com>
  2602. * java/lang/natClass.cc (_Jv_LinkSymbolTable): Prepare the target
  2603. class if it is interpreted.
  2604. 2004-08-12 Tom Tromey <tromey@redhat.com>
  2605. * java/lang/natClassLoader.cc (_Jv_WaitForState): Updated.
  2606. * java/lang/Class.h (_Jv_ResolveClassRef): Updated declaration.
  2607. (Class::getSuperclass): Updated.
  2608. (Class::getInterfaces): Likewise.
  2609. (Class::size): Updated.
  2610. (_Jv_LayoutClass): Updated declaration.
  2611. * java/lang/natClass.cc (_Jv_ResolveClassRef): Changed interface.
  2612. Synchronize on class.
  2613. (_Jv_LayoutClass): Changed interface.
  2614. (initializeClass): Updated.
  2615. (_Jv_LinkSymbolTable): Likewise.
  2616. * java/lang/Class.h (Class::_Jv_isBinaryCompatible): Declare as
  2617. friend.
  2618. * java/lang/natClassLoader.cc (_Jv_WaitForState): Use
  2619. _Jv_isBinaryCompatible.
  2620. * java/lang/natClass.cc (initializeClass): Use
  2621. _Jv_isBinaryCompatible.
  2622. (_Jv_LinkSymbolTable): Likewise.
  2623. * include/jvm.h (_Jv_isBinaryCompatible): New function.
  2624. 2004-08-11 Tom Tromey <tromey@redhat.com>
  2625. * gcj/javaprims.h: Regenerated.
  2626. * java/lang/natClassLoader.cc (getClassLoader0): Removed.
  2627. (_registerClass): Likewise.
  2628. * Makefile.in: Rebuilt.
  2629. * Makefile.am (core_java_source_files): Added VMCompiler.
  2630. * java/lang/Compiler.java: Rewrote in terms of VMCompiler.
  2631. * java/lang/VMCompiler.java: New file.
  2632. * gnu/gcj/runtime/SharedLibHelper.java (findClass): Removed
  2633. `verbose' code.
  2634. (copyFile): Don't use fully-qualified name.
  2635. (h): Removed.
  2636. * java/lang/natVMClassLoader.cc: Include VMCompiler.h.
  2637. (defineClass): Use VMCompiler.
  2638. * java/lang/ClassLoader.java (defineClass): Removed jit
  2639. compilation code and `verbose' code.
  2640. (getClassLoader0): Removed.
  2641. (_registerClass): Likewise.
  2642. (SharedLibHelpers): Removed.
  2643. 2004-08-10 Tom Tromey <tromey@redhat.com>
  2644. * java/net/URLClassLoader.java (URLLoader(URLClassLoader, URL,
  2645. URL)): New constructor.
  2646. (SoURLLoader): Likewise.
  2647. (JarURLLoader): Create SoURLLoader with override URL.
  2648. 2004-08-10 Mark Wielaard <mark@klomp.org>
  2649. * Makefile.in: Rebuilt.
  2650. * Makefile.am (interpret.lo): New rule.
  2651. 2004-08-05 Andrew Haley <aph@redhat.com>
  2652. * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Look
  2653. aside for "GCJLIBS" in directory where jarfiles are loaded.
  2654. (JarURLLoader.getClass): New method.
  2655. (JarURLLoader.toString): New method.
  2656. (FileResource.toString): New method.
  2657. * java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault):
  2658. Remove "Duplicate class registration: " bug.
  2659. (_registerClass): New method.
  2660. * java/lang/natClass.cc (_Jv_LinkSymbolTable): Check method index.
  2661. (_Jv_LinkSymbolTable): Call _Jv_LayoutClass().
  2662. Add debugging.
  2663. (_Jv_LayoutClass): Use getSuperclass() rather than directly
  2664. accessing the field.
  2665. * java/lang/ClassLoader.java (SharedLibHelpers): New variable.
  2666. (defineClass): Call gcj to JIT-compile a class.
  2667. (_registerClass): New method.
  2668. * gnu/gcj/runtime/SharedLibHelper.java (findHelper): A shared
  2669. library name can refer to more than one loaded library, so use a
  2670. Set of SharedLibHelpers.
  2671. If a shared library is already loaded, take a copy.
  2672. (copyFile): New function.
  2673. * testsuite/libjava.compile/compile.exp: Force
  2674. -findirect-dispatch.
  2675. * java/security/BasicPermission.java: Remove bogus checks.
  2676. * java/lang/System.java (getenv0): New method.
  2677. * java/lang/natSystem.cc (getenv0): New method.
  2678. 2004-05-24 Andrew Haley <aph@redhat.com>
  2679. * java/lang/natClass.cc (_Jv_LayoutClass): Remove warning message.
  2680. 2004-04-20 Bryce McKinlay <mckinlay@redhat.com>
  2681. * Merged with HEAD as of 20040514. Diff against
  2682. gcj-abi-2-merge-20040514.
  2683. 2004-04-16 Andrew Haley <aph@redhat.com>
  2684. * java/lang/natClassLoader.cc (_Jv_WaitForState): Call
  2685. _Jv_LayoutClass.
  2686. (_Jv_PrepareCompiledClass): Cast address to uaddr for comparison.
  2687. (_Jv_PrepareCompiledClass): If we throw an exception during
  2688. preparation, restore state.
  2689. (ClassLoader::getClassLoader0): New method.
  2690. * java/lang/natClass.cc (get_alignment_from_class): Moved here
  2691. from resolve.cc.
  2692. (ALIGNOF): Use offsetof, not __alignof__.
  2693. (_Jv_ResolveClassRef): Resolve a reference to a class in a
  2694. constant pool.
  2695. (getInterfaces): Emit debug output if interface hasn't been
  2696. resolved.
  2697. (initializeClass): Call _Jv_LayoutClass.
  2698. (_Jv_LinkSymbolTable): Add debugging output.
  2699. (_Jv_LinkSymbolTable): NoClassDefFoundError if target_class isn't
  2700. found.
  2701. (_Jv_LinkSymbolTable): Call _Jv_PrepareClass.
  2702. (_Jv_LinkSymbolTable): Pass the real class loader to
  2703. _Jv_FindClass.
  2704. (_Jv_linkExceptionClassTable): Don't throw if we fail to find an
  2705. exception class.
  2706. (_Jv_LinkSymbolTable): Assert if we find a static field reference
  2707. to an interpreted class.
  2708. (_Jv_LayoutVTableMethods): Use klass->getSuperclass to get the
  2709. superclass.
  2710. (_Jv_LayoutClass): Moved here; it was part of _Jv_PrepareClass in
  2711. resolve.cc.
  2712. * java/lang/VMSecurityManager.java: Check for the system class
  2713. loader as well as loader != null.
  2714. * java/lang/SecurityManager.java (checkPermission): Remove
  2715. security check.
  2716. (checkRead): Likewise.
  2717. (checkConnect): Likewise.
  2718. * java/lang/ClassLoader.java (loadClass): Include all class
  2719. loaders in stack trace string.
  2720. Look for class in "gcjlib.so" in the same directory.
  2721. (getSystemClassLoader) Use getClassLoader0.
  2722. (getClassLoader0): New native method.
  2723. * java/lang/Class.h (getSuperclass): New method.
  2724. (getInterface): New method.
  2725. (size): Lay out class if needed.
  2726. (firstMethodIndex): New method.
  2727. (Jv_ResolveClassRef): New declaration.
  2728. (_Jv_LinkSymbolTable): New declaration.
  2729. * java/io/ObjectOutputStream.java: Add DEBUG statements
  2730. everywhere.
  2731. (dumpElementln): New method.
  2732. (depth): New field.
  2733. * java/io/ObjectInputStream.java (MyIOException): new, for
  2734. debugging.
  2735. Everywhere: use MyIOException rather than IOException.
  2736. Indent debugging output to make nesting visible.
  2737. (currentClassLoader): Make native
  2738. (callersClassLoader): New field.
  2739. (depth): New field.
  2740. * java/io/natObjectInputStream.cc (getCallersClassLoader): New
  2741. method.
  2742. (readObject): ENDBLOCKDATA is generated if the class has a write
  2743. method, not if it has a read method.
  2744. * include/jvm.h (_Jv_CallAnyMethodA): Add new arg, iface.
  2745. * gnu/javax/rmi/CORBA/DelegateFactory.java: Use the
  2746. getContextClassLoader form the current thread after our own class
  2747. loader.
  2748. * gnu/gcj/runtime/SharedLibHelper.java (findClass): Class loader
  2749. debugging.
  2750. (toString): New method.
  2751. * verify.cc (class _Jv_BytecodeVerifier): Don't directly access
  2752. interfaces array.
  2753. * resolve.cc (_Jv_PrepareMissingMethods): If interface looks like
  2754. a constant pool entry, resolve it now.
  2755. (_Jv_PrepareClass): Break out part of this function to Jv_LayoutClass
  2756. in natClass.cc.
  2757. Move get_alignment_from_class to natClass.cc.
  2758. * prims.cc (_Jv_AllocObjectNoFinalizer): Use size field from class.
  2759. (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
  2760. * defineclass.cc (checkExtends): Don't access superclass field
  2761. directly.
  2762. * Makefile.in: regenerate.
  2763. * gnu/gcj/util/natDebug.cc: New
  2764. * gnu/gcj/util/Debug.java: New.
  2765. * Makefile.am (java/io/ObjectInputStream.lo): Use
  2766. -fno-optimize-sibling-calls.
  2767. * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
  2768. _Jv_LookupInterfaceMethodIdx to calculate the address of a method
  2769. in an interface.
  2770. * include/jvm.h (_Jv_CallAnyMethodA): Add new arg: iface.
  2771. 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
  2772. * configure: Regenerate for libtool change.
  2773. 2004-11-24 Michael Koch <konqueror@gmx.de>
  2774. * gnu/java/security/PolicyFile.java: New file.
  2775. * Makefile.am: Added gnu/java/security/PolicyFile.java.
  2776. * Makefile.in: Regenerated.
  2777. 2004-11-24 Michael Koch <konqueror@gmx.de>
  2778. * java/lang/Character.java, scripts/unicode-blocks.pl:
  2779. Reorder "final static" to "static final".
  2780. 2004-11-24 Michael Koch <konqueror@gmx.de>
  2781. * java/util/ResourceBundle.java: Reformatted.
  2782. (tryBundle): Fixed javadoc.
  2783. 2004-11-24 Jeroen Frijters <jeroen@frijters.net>
  2784. * java/text/MessageFormat.java
  2785. (formatInternal): Made private.
  2786. 2004-11-24 Michael Koch <konqueror@gmx.de>
  2787. * java/nio/DirectByteBufferImpl.java
  2788. (ReadWrite.ReadWrite): New constructor.
  2789. (DirectByteBufferImpl): Likewise.
  2790. * jni.cc (_Jv_JNI_NewDirectByteBuffer):
  2791. Use DirectByteBufferImpl.ReadWrite.
  2792. * Makefile.am:
  2793. Generate java/nio/DirectByteBufferImpl$ReadWrite.h.
  2794. * Makefile.in: Rgenerated.
  2795. 2004-11-24 Jeroen Frijters <address@bogus.example.com>
  2796. * java/nio/DirectByteBufferImpl.java
  2797. (ReadOnly): New inner subclass.
  2798. (ReadWrite): New inner subclass.
  2799. (owner): Made final and private.
  2800. (address): Made final.
  2801. (DirectByteBufferImpl(int)): New constructor.
  2802. (DirectByteBufferImpl(Object,RawData,int,int,int)): New constructor.
  2803. (DirectByteBufferImpl(Object,RawData,int,int,int,boolean)): Removed.
  2804. (allocate): Modified to instantiate ReadWrite subclass.
  2805. (finalize): Fixed to only free the buffer, if we own it.
  2806. (put): Removed read-only check.
  2807. (slice, duplicate): Modified to instantiate appropriate subclass.
  2808. (isReadOnly): Removed.
  2809. * java/nio/MappedByteBufferImpl.java
  2810. (slice, duplicate): Modified to instantiate appropriate
  2811. DirectByteBufferImpl subclass.
  2812. 2004-11-24 Michael Koch <konqueror@gmx.de>
  2813. * gnu/java/nio/NIOServerSocket.java: Added email to @author tag.
  2814. * java/nio/DirectByteBufferImpl.java:
  2815. Moved native methods to java.nio.VMDirectByteBuffer class.
  2816. * java/nio/MappedByteBufferImpl.java:
  2817. Use native methods from java.nio.VMDirectByteBuffer class.
  2818. * java/nio/VMDirectByteBuffer.java: New file,
  2819. * java/nio/natDirectByteBufferImpl.cc:
  2820. Moved all methods into java.nio.VMDirectByteBuffer class.
  2821. * java/nio/channels/spi/AbstractSelectableChannel.java
  2822. (register): Only re-use valid keys.
  2823. * Makefile.am: Added java/nio/VMDirectByteBuffer.java.
  2824. * Makefile.in: Regenerated.
  2825. 2004-11-24 Michael Koch <konqueror@gmx.de>
  2826. * java/nio/DirectByteBufferImpl.java,
  2827. java/nio/MappedByteBufferImpl.java:
  2828. Reformatted.
  2829. 2004-11-23 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  2830. * testsuite/lib/libjava.exp,
  2831. testsuite/libjava.jacks/jacks.exp: Use new procs in target-libpath.exp.
  2832. 2004-11-23 Richard Sandiford <rsandifo@redhat.com>
  2833. * configure.host: Enable the interpreter for mips*-*-linux*.
  2834. 2004-11-23 Michael Koch <konqueror@gmx.de>
  2835. * java/lang/String.java (rehash): Removed.
  2836. * java/lang/natString.cc (rehash): Made static.
  2837. (_Jv_NewStringUtf8Const): Use static rehash method.
  2838. 2004-11-23 Michael Koch <konqueror@gmx.de>
  2839. * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
  2840. include/Makefile.in, testsuite/Makefile.in: Regenerated.
  2841. 2004-11-22 Eric Botcazou <ebotcazou@libertysurf.fr>
  2842. PR target/18444
  2843. * configure.ac (threading): Accept 'posix95'.
  2844. * configure: Regenerate.
  2845. 2004-11-22 Michael Koch <konqueror@gmx.de>
  2846. * gnu/java/nio/SocketChannelImpl.java
  2847. (read): Made check for blocking un-ambiguous.
  2848. Removed wrong check for data array length.
  2849. 2004-11-21 Michael Koch <konqueror@gmx.de>
  2850. * gnu/java/nio/SocketChannelImpl.java
  2851. (read): Only return 0 when no bytes for reading available in
  2852. non-blocking mode.
  2853. * java/nio/channels/SocketChannel.java:
  2854. Added some missing @return tags.
  2855. 2004-11-21 Michael Koch <konqueror@gmx.de>
  2856. * java/beans/PropertyChangeSupport.java
  2857. (propertyChangeSupportSerializedDataVersion): Made static.
  2858. * java/beans/VetoableChangeSupport.java
  2859. (propertyChangeSupportSerializedDataVersion): Likewise.
  2860. 2004-11-18 Jeroen Frijters <jeroen@frijters.net>
  2861. * java/net/URLStreamHandler.java
  2862. (parseURL): Fixed file path canonicalisation.
  2863. 2004-11-18 Jeroen Frijters <jeroen@frijters.net>
  2864. * java/net/URLStreamHandler.java
  2865. (parseURL): Fixed file path canonicalisation.
  2866. 2004-11-18 Michael Koch <konqueror@gmx.de>
  2867. * java/net/URLClassLoader.java: Whitespace cleanup.
  2868. 2004-11-18 Robert Schuster <address@bogus.example.com>
  2869. Complete 1.4 support
  2870. * java/beans/PropertyDescriptor.java:
  2871. (setReadMethod): New method
  2872. (setWriteMethod): New method
  2873. (equals): Implemented (1.4)
  2874. (checkMethods): operates on arguments now (private)
  2875. 2004-11-18 Mattias Rehnberg <Mattias.Rehnberg@home.se>
  2876. * java/net/Inet6Address.java (getHostAddress): Fix textual
  2877. representation of IPv6 address with embedded zeroes
  2878. to conform to RFC 2373.
  2879. 2004-11-18 Jeroen Frijters <address@bogus.example.com>
  2880. * java/lang/StackTraceElement.java: Made final.
  2881. * java/nio/channels/Channels.java: Added private constructor.
  2882. * java/rmi/Naming.java: Added private constructor.
  2883. * java/rmi/registry/LocateRegistry.java: Added private constructor.
  2884. * java/rmi/server/RMIClassLoader.java: Added private constructor.
  2885. * java/security/KeyPairGeneratorSpi.java
  2886. (clone): Made protected and simplified implementation.
  2887. * java/text/DateFormat.java
  2888. (allFields): Made package accessible.
  2889. * java/text/DecimalFormat.java
  2890. (formatInternal): Made private.
  2891. * java/text/Format.java
  2892. (formatInternal): Made private.
  2893. * java/util/logging/Handler.java: Made constructor protected.
  2894. * java/util/regex/Matcher.java: Made final.
  2895. * java/util/regex/Pattern.java: Made final.
  2896. * javax/crypto/CipherInputStream.java
  2897. (mark): Corrected mark parameter type (from long to int).
  2898. * javax/crypto/ExemptionMechanism.java
  2899. (finalize): Added.
  2900. * javax/crypto/Mac.java
  2901. (getMacLength): Made final.
  2902. (clone): Made final.
  2903. * javax/imageio/ImageIO.java: Added private constructor.
  2904. * javax/imageio/stream/ImageInputStreamImpl.java
  2905. (checkClosed): Made final.
  2906. * javax/net/ssl/SSLPermission.java: Made final.
  2907. * javax/print/DocFlavor.java
  2908. (hostEncoding): Added work-around to prevent the field from being
  2909. a compile time constant.
  2910. * javax/print/attribute/AttributeSetUtilities.java: Added private
  2911. constructor.
  2912. (UnmodifiableDocAttributeSet): Made private.
  2913. (UnmodifiablePrintJobAttributeSet): Made private.
  2914. (UnmodifiablePrintRequestAttributeSet): Made private.
  2915. (UnmodifiablePrintServiceAttributeSet): Made private.
  2916. (SynchronizedAttributeSet): Made private.
  2917. (SynchronizedDocAttributeSet): Made private.
  2918. (SynchronizedPrintJobAttributeSet): Made private.
  2919. (SynchronizedPrintRequestAttributeSet): Made private.
  2920. (SynchronizedPrintServiceAttributeSet): Made private.
  2921. * javax/security/auth/PrivateCredentialPermission.java: Made final.
  2922. 2004-11-18 Craig Black <craig.black@aonix.com>
  2923. * gnu/java/beans/BeanInfoEmbryo.java: Use TreeMap for proper sorting.
  2924. 2004-11-18 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
  2925. * Makefile.am: Correct friend function declaration.
  2926. * Makefile.in: Regenerated.
  2927. * include/boehm-gc.h (JV_MARKOBJ_DECL, JV_MARKARRAY_DECL): Add
  2928. scope to function names. Declare functions directly.
  2929. * libjava/java/lang/Class.h
  2930. (java::lang::Class): Correct friend class declaration.
  2931. (_Jv_InitClass, _Jv_GetArrayClass): Move definition to global
  2932. scope.
  2933. * libjava/java/lang/Class.h
  2934. (java::lang::Object): Correct friend class declaration.
  2935. 2004-11-17 David Daney <ddaney@avtrex.com>
  2936. * java/io/BufferedInputStream.java (skip): Return zero on EOF.
  2937. 2004-11-17 Michael Koch <konqueror@gmx.de>
  2938. * java/net/Socket.java (getPort): Return 0 in error case.
  2939. 2004-11-17 Michael Koch <konqueror@gmx.de>
  2940. * java/nio/DirectByteBufferImpl.java
  2941. (owner): Updated comment.
  2942. (allocate): New method.
  2943. 2004-11-17 Michael Koch <konqueror@gmx.de>
  2944. * java/net/URL.java (URL): Handle case when argument is null.
  2945. 2004-11-17 Michael Koch <konqueror@gmx.de>
  2946. * java/beans/Beans.java,
  2947. java/beans/PropertyChangeEvent.java,
  2948. java/beans/PropertyEditorSupport.java:
  2949. Fixed javadocs.
  2950. 2004-11-17 Michael Koch <konqueror@gmx.de>
  2951. * java/util/Timer.java (DEFAULT_SIZE): Made static.
  2952. 2004-11-17 Michael Koch <konqueror@gmx.de>
  2953. * java/net/InetAddress.java (getCanonicalHostName):
  2954. Support IPv6 addresses.
  2955. 2004-11-16 Michael Koch <konqueror@gmx.de>
  2956. * java/lang/Object.java: Added javadocs all over (merged from GNU
  2957. classpath).
  2958. 2004-11-16 Andreas Tobler <a.tobler@schweiz.ch>
  2959. * java/security/Security.java (Security): Silence the warning about no
  2960. providers found in the no debug case.
  2961. 2004-11-16 Michael Koch <konqueror@gmx.de>
  2962. * java/net/InetAddress.java
  2963. (toString): Merged from GNU classpath.
  2964. 2004-11-16 Michael Koch <konqueror@gmx.de>
  2965. * java/awt/geom/doc-files/Area-1.png,
  2966. java/awt/geom/doc-files/Ellipse-1.png,
  2967. java/awt/geom/doc-files/GeneralPath-1.png:
  2968. New files.
  2969. 2004-11-16 Michael Koch <konqueror@gmx.de>
  2970. * java/util/Currency.java (cache): Fix modifier order.
  2971. 2004-11-16 Michael Koch <konqueror@gmx.de>
  2972. * java/io/BufferedReader.java,
  2973. java/io/FileInputStream.java,
  2974. java/io/FileOutputStream.java,
  2975. java/io/FileWriter.java,
  2976. java/io/OutputStreamWriter.java,
  2977. java/io/PipedInputStream.java,
  2978. java/io/PipedOutputStream.java,
  2979. java/io/PipedReader.java,
  2980. java/io/PipedWriter.java,
  2981. java/io/PrintStream.java,
  2982. java/io/PushbackInputStream.java,
  2983. java/io/RandomAccessFile.java,
  2984. java/io/Reader.java,
  2985. java/io/StreamTokenizer.java,
  2986. java/io/StringReader.java,
  2987. java/net/NetworkInterface.java,
  2988. java/net/URLClassLoader.java,
  2989. java/nio/ByteOrder.java,
  2990. java/nio/channels/Channel.java:
  2991. Fixed javadocs all over.
  2992. 2004-11-16 Andreas Tobler <a.tobler@schweiz.ch>
  2993. * Makefile.am: Add imported files.
  2994. * Makefile.in: Regenerate.
  2995. 2004-10-24 Casey Marshall <csm@gnu.org>
  2996. * javax/security/auth/login/LoginContext.java: Implemented.
  2997. * javax/security/auth/login/Configuration.java (getConfig): New method.
  2998. * javax/security/auth/spi/LoginModule.java,
  2999. * gnu/java/security/action/GetSecurityPropertyAction.java: New files.
  3000. 2004-11-15 Andreas Tobler <a.tobler@schweiz.ch>
  3001. Import/Merge the X.509 certificate code from Classpath.
  3002. * Makefile.am: Add imported files.
  3003. * Makefile.in: Regenerate.
  3004. 2004-11-07 Casey Marshall <csm@gnu.org>
  3005. * gnu/java/security/provider/Gnu.java(<init>): Add entries in a
  3006. priviliged action. Add new algorithms.
  3007. * gnu/java/security/provider/X509CertificateFactory.java
  3008. (engineGenerateCertificate): Chain exceptions.
  3009. (engineGenerateCertificates): Likewise.
  3010. (engineGenerateCRL): Likewise.
  3011. (engineGenerateCRLs): Likewise.
  3012. (engineGenerateCertPath): New methods.
  3013. (generateCert): Throw exception if 'inStream' is null.
  3014. (generateCRL): Likewise.
  3015. * gnu/java/security/x509/X500DistinguishedName.java: Replaced with
  3016. version from GNU Crypto CVS.
  3017. * gnu/java/security/x509/X509CRL.java: Likewise.
  3018. * gnu/java/security/x509/X509CRLEntry.java: Likewise.
  3019. * gnu/java/security/x509/X509Certificate.java: Likewise.
  3020. * java/security/cert/TrustAnchor.java: Call 'toString' and not
  3021. toRFC2253.
  3022. * gnu/java/security/provider/CollectionCertStoreImpl.java,
  3023. * gnu/java/security/provider/EncodedKeyFactory.java,
  3024. * gnu/java/security/provider/GnuDHPublicKey.java,
  3025. * gnu/java/security/provider/GnuRSAPrivateKey.java,
  3026. * gnu/java/security/provider/GnuRSAPublicKey.java,
  3027. * gnu/java/security/provider/MD2withRSA.java,
  3028. * gnu/java/security/provider/MD4withRSA.java,
  3029. * gnu/java/security/provider/MD5withRSA.java,
  3030. * gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
  3031. * gnu/java/security/provider/RSA.java,
  3032. * gnu/java/security/provider/RSAKeyFactory.java,
  3033. * gnu/java/security/provider/SHA1withRSA.java,
  3034. * gnu/java/security/x509/GnuPKIExtension.java,
  3035. * gnu/java/security/x509/PolicyNodeImpl.java,
  3036. * gnu/java/security/x509/Util.java,
  3037. * gnu/java/security/x509/X509CRLSelectorImpl.java,
  3038. * gnu/java/security/x509/X509CertPath.java,
  3039. * gnu/java/security/x509/X509CertSelectorImpl.java,
  3040. * gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
  3041. * gnu/java/security/x509/ext/BasicConstraints.java,
  3042. * gnu/java/security/x509/ext/CRLNumber.java,
  3043. * gnu/java/security/x509/ext/CertificatePolicies.java,
  3044. * gnu/java/security/x509/ext/ExtendedKeyUsage.java,
  3045. * gnu/java/security/x509/ext/Extension.java,
  3046. * gnu/java/security/x509/ext/GeneralNames.java,
  3047. * gnu/java/security/x509/ext/IssuerAlternativeNames.java,
  3048. * gnu/java/security/x509/ext/KeyUsage.java,
  3049. * gnu/java/security/x509/ext/PolicyConstraint.java,
  3050. * gnu/java/security/x509/ext/PolicyMappings.java,
  3051. * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
  3052. * gnu/java/security/x509/ext/ReasonCode.java,
  3053. * gnu/java/security/x509/ext/SubjectAlternativeNames.java,
  3054. * gnu/java/security/x509/ext/SubjectKeyIdentifier.java: New files.
  3055. 2004-11-07 Casey Marshall <csm@gnu.org>
  3056. * gnu/java/security/x509/X509CRL.java:
  3057. Missed import statements in previous checkin.
  3058. 2004-11-07 Casey Marshall <csm@gnu.org>
  3059. * gnu/java/security/x509/X509CertPath.java (parse): Fixed reference
  3060. to 'X509CertificateImpl' from previous checkin.
  3061. 2004-11-12 Andrew Pinski <pinskia@physics.uc.edu>
  3062. PR other/14264
  3063. * testsuite/lib/libjava.exp: Set LC_ALL and LANG to C.
  3064. 2004-11-11 Casey Marshall <csm@gnu.org>
  3065. * gnu/java/nio/FileLock.java (isValid): locks are valid if the
  3066. channel is open.
  3067. * gnu/java/nio/channels/natFileChannelPosix.cc (lock): use
  3068. 'F_RDLCK' for shared locks, 'F_WRLCK' for exclusive locks.
  3069. 2004-11-11 Robert Schuster <thebohemian@gmx.net>
  3070. Fixed regression:
  3071. * gnu/java/beans/IntrospectionIncubator.java:
  3072. (addMethod): Corrected classification of normal and property methods.
  3073. (capitalize): Added documentation.
  3074. (DoubleKey): [class] Added documentation.
  3075. 2004-11-09 Tom Tromey <tromey@redhat.com>
  3076. * include/jni.h: Added FIXME.
  3077. 2004-11-08 Tom Tromey <tromey@redhat.com>
  3078. * java/util/GregorianCalendar.java: Removed unused imports.
  3079. * java/util/Vector.java: Removed unused import.
  3080. 2004-11-07 Michael Koch <konqueror@gmx.de>
  3081. * java/lang/Process.java:
  3082. Import cleanups.
  3083. 2004-11-07 Jeroen Frijters <jeroen@frijters.net>
  3084. * java/util/zip/ZipEntry.java
  3085. (KNOWN_SIZE, KNOWN_CSIZE, KNOWN_CRC, KNOWN_TIME): Made final.
  3086. 2004-11-07 Robert Schuster <theBohemian@gmx.net>
  3087. Fixes bug #10908
  3088. * gnu/java/beans/IntrospectionIncubator.java:
  3089. (addMethod): static methods are discarded now, too.
  3090. 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
  3091. * java/util/GregorianCalendar.java
  3092. Added/amended documentation.
  3093. 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
  3094. * java/util/Collections.java
  3095. Added documentation.
  3096. * java/util/SortedMap.java
  3097. Clarified some method examples.
  3098. * java/util/SortedSet.java
  3099. Clarified some method examples.
  3100. 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
  3101. * java/util/Currency.java
  3102. Documented variables and methods more fully.
  3103. Caches the currency instances, so that a request
  3104. for a locale, l, only ever returns the same
  3105. instance (i.e. successive calls to getInstance(l)
  3106. are reference equivalent (==)).
  3107. 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
  3108. * java/util/Date.java
  3109. Added missing documentation.
  3110. 2004-11-06 Michael Koch <konqueror@gmx.de>
  3111. * java/util/zip/CheckedInputStream.java,
  3112. java/util/zip/InflaterInputStream.java,
  3113. java/util/zip/ZipFile.java,
  3114. java/util/zip/ZipInputStream.java:
  3115. Import cleanups.
  3116. 2004-11-06 Tom Tromey <tromey@redhat.com>
  3117. * gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
  3118. package-private.
  3119. (connections): Likewise.
  3120. (scavenger): Likewise.
  3121. * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
  3122. package-private.
  3123. * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
  3124. package-private.
  3125. (ptr): Likewise.
  3126. * gnu/classpath/ServiceFactory.java (log): Now package-private.
  3127. 2004-11-06 Tom Tromey <tromey@redhat.com>
  3128. * javax/naming/directory/BasicAttributes.java (attributes): Now
  3129. package-private.
  3130. * javax/imageio/spi/ServiceRegistry.java (categories): Now
  3131. package-private.
  3132. 2004-11-06 Tom Tromey <tromey@redhat.com>
  3133. * java/net/URLClassLoader.java (URLClassLoader): Now
  3134. package-private.
  3135. * java/nio/charset/CoderResult.java (CoderResult): Now
  3136. package-private.
  3137. (get): Likewise.
  3138. (Cache): Likewise. Don't synchronize on `this'.
  3139. * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
  3140. package-private.
  3141. * java/util/TimeZone.java (timezones): Now package-private.
  3142. 2004-11-06 Tom Tromey <tromey@redhat.com>
  3143. * java/security/Permissions.java (perms): Now package-private.
  3144. * java/security/UnresolvedPermission.java (permissions): Now
  3145. package-private.
  3146. 2004-11-06 Tom Tromey <tromey@redhat.com>
  3147. * java/io/FilePermission.java: Reindented.
  3148. 2004-11-06 Tom Tromey <tromey@redhat.com>
  3149. * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
  3150. package-private.
  3151. (setBlockDataMode): Likewise.
  3152. 2004-11-06 Tom Tromey <tromey@redhat.com>
  3153. * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
  3154. package-private.
  3155. (Encoder): Likewise.
  3156. * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
  3157. (Encoder): Likewise.
  3158. * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
  3159. package-private.
  3160. (Encoder): Likewise.
  3161. 2004-11-06 Mark Wielaard <mark@klomp.org>
  3162. * Makefile.am: Add new javax.imageio files.
  3163. * Makefile.in: Regenerated.
  3164. 2004-11-06 Michael Koch <konqueror@gmx.de>
  3165. * javax/imageio/event/IIOReadProgressListener.java,
  3166. javax/imageio/event/IIOReadUpdateListener.java,
  3167. javax/imageio/event/IIOReadWarningListener.java,
  3168. javax/imageio/event/IIOWriteProgressListener.java,
  3169. javax/imageio/event/IIOWriteWarningListener.java,
  3170. javax/imageio/metadata/IIOMetadataFormat.java,
  3171. javax/imageio/stream/FileCacheImageInputStream.java,
  3172. javax/imageio/stream/FileCacheImageOutputStream.java,
  3173. javax/imageio/stream/ImageInputStreamImpl.java:
  3174. Import cleanup.
  3175. * javax/imageio/metadata/package.html: New file.
  3176. 2004-11-06 Michael Koch <konqueror@gmx.de>
  3177. * javax/imageio/spi/ImageReaderSpi.java
  3178. (isOwnReader): New method.
  3179. * javax/imageio/spi/ImageWriterSpi.java
  3180. (isOwnWriter): Likewise.
  3181. 2004-11-06 Michael Koch <konqueror@gmx.de>
  3182. * javax/imageio/ImageWriter.java
  3183. (convertImageMetadata): New abstract method.
  3184. (convertStreamMetadata): Likewise.
  3185. (write): Likewise.
  3186. * javax/imageio/stream/FileCacheImageInputStream.java
  3187. (close): Fixed setting of stream to null.
  3188. (checkStreamClosed): Throws IOException.
  3189. 2004-11-06 Michael Koch <konqueror@gmx.de>
  3190. * javax/imageio/stream/FileCacheImageInputStream.java,
  3191. javax/imageio/stream/FileCacheImageOutputStream.java,
  3192. javax/imageio/stream/FileImageInputStream.java,
  3193. javax/imageio/stream/FileImageOutputStream.java,
  3194. javax/imageio/stream/MemoryCacheImageInputStream.java,
  3195. javax/imageio/stream/MemoryCacheImageOutputStream.java:
  3196. New files.
  3197. 2004-11-06 Michael Koch <konqueror@gmx.de>
  3198. * javax/imageio/metadata/IIOInvalidTreeException.java,
  3199. javax/imageio/metadata/IIOMetadataFormatImpl.java,
  3200. javax/imageio/metadata/IIOMetadataNode.java:
  3201. New stub files.
  3202. 2004-11-06 Michael Koch <konqueror@gmx.de>
  3203. * javax/imageio/stream/ImageInputStreamImpl.java,
  3204. javax/imageio/stream/ImageOutputStreamImpl.java:
  3205. New files.
  3206. 2004-11-06 Michael Koch <konqueror@gmx.de>
  3207. * javax/imageio/ImageIO.java:
  3208. Added much new methods.
  3209. 2004-11-06 Michael Koch <konqueror@gmx.de>
  3210. * javax/imageio/ImageReader.java,
  3211. javax/imageio/ImageWriter.java,
  3212. javax/imageio/spi/ImageWriterSpi.java:
  3213. Add SOME new methods.
  3214. 2004-11-06 Michael Koch <konqueror@gmx.de>
  3215. * javax/imageio/IIOParam.java,
  3216. javax/imageio/ImageReadParam.java,
  3217. javax/imageio/ImageReader.java,
  3218. javax/imageio/ImageWriter.java:
  3219. Mostly implemented.
  3220. * javax/imageio/spi/ImageReaderSpi.java,
  3221. javax/imageio/spi/ImageWriterSpi.java:
  3222. New files.
  3223. 2004-11-06 Michael Koch <konqueror@gmx.de>
  3224. * javax/imageio/ImageWriteParam.java,
  3225. javax/imageio/metadata/IIOMetadataFormat.java:
  3226. Implemented.
  3227. 2004-11-06 Michael Koch <konqueror@gmx.de>
  3228. * javax/imageio/ImageTypeSpecifier.java:
  3229. Mostly implemented.
  3230. 2004-11-06 Michael Koch <konqueror@gmx.de>
  3231. * javax/imageio/metadata/IIOMetadata.java:
  3232. Mostly implemented.
  3233. 2004-11-06 Michael Koch <konqueror@gmx.de>
  3234. * javax/imageio/IIOImage.java,
  3235. javax/imageio/ImageReadParam.java,
  3236. javax/imageio/metadata/IIOMetadataController.java,
  3237. javax/imageio/metadata/IIOMetadataFormat.java:
  3238. New files.
  3239. * javax/imageio/stream/ImageOutputStream.java:
  3240. Implemented.
  3241. 2004-11-06 Michael Koch <konqueror@gmx.de>
  3242. * javax/imageio/IIOParam.java,
  3243. javax/imageio/IIOParamController.java,
  3244. javax/imageio/ImageTypeSpecifier.java,
  3245. javax/imageio/ImageWriteParam.java,
  3246. javax/imageio/metadata/IIOMetadata.java:
  3247. New files.
  3248. * javax/imageio/ImageTranscoder.java:
  3249. Implemented.
  3250. 2004-11-06 Michael Koch <konqueror@gmx.de>
  3251. * javax/imageio/spi/ImageInputStreamSpi.java,
  3252. javax/imageio/spi/ImageOutputStreamSpi.java:
  3253. Reworked import startments.
  3254. * javax/imageio/spi/ServiceRegistry.java:
  3255. Reworked import startments. Fixed XHTML in javadocs.
  3256. (ServiceRegistry): Added @param tag to javadoc.
  3257. * javax/imageio/stream/ImageInputStream.java
  3258. (mark): Doesn't throws IOException;
  3259. 2004-11-06 Michael Koch <konqueror@gmx.de>
  3260. * javax/imageio/ImageIO.java:
  3261. New file.
  3262. 2004-11-06 Michael Koch <konqueror@gmx.de>
  3263. * javax/imageio/spi/IIORegistry.java
  3264. (static): Don't register ImageReaderSpi.class and
  3265. ImageWriterSpi.class yet.
  3266. 2004-11-06 Michael Koch <konqueror@gmx.de>
  3267. * javax/imageio/spi/IIORegistry.java:
  3268. New file.
  3269. 2004-11-06 Noa Resare <noa@resare.com>
  3270. * java/net/Socket.java (getPort): Return 0 instead of -1 on
  3271. unconnected sockets.
  3272. 2004-11-06 Michael Koch <konqueror@gmx.de>
  3273. * java/lang/StringBuffer.java,
  3274. java/lang/Throwable.java,
  3275. java/security/spec/DSAParameterSpec.java,
  3276. java/util/zip/ZipEntry.java,
  3277. java/util/zip/ZipFile.java,
  3278. java/util/zip/ZipInputStream.java,
  3279. java/util/zip/ZipOutputStream.java:
  3280. Removed redundant and reordered modifiers.
  3281. 2004-11-06 Mattias Rehnberg <Mattias.Rehnberg@home.se>
  3282. * java/io/Vector.java
  3283. (writeObject): New function to serialized output thread safe.
  3284. * java/io/ObjectOutputStream.java
  3285. (writeObject): Move the assignment of the class handle to after
  3286. the assignment of class descriptor handle.
  3287. 2004-11-06 Robert Schuster <thebohemian@gmx.net>
  3288. Fixes documentation and indentation
  3289. * java/beans/PropertyEditorSupport.java:
  3290. reworked initial API doc
  3291. (value): changed name from val
  3292. 2004-11-06 Robert Schuster <thebohemian@gmx.net>
  3293. Updates to 1.5
  3294. * java/beans/PropertyEditorSupport.java
  3295. (PropertyEditorSupport()): Changed modifier to public
  3296. (PropertyEditorSupport(Object): Changed modifier to public
  3297. (setSource): New method
  3298. (getSource): New method
  3299. 2004-11-06 Robert Schuster <thebohemian@gmx.net>
  3300. Fixes bug #10799
  3301. * java/beans/PropertyEditorSupport.java
  3302. (setValue): Fire property change event
  3303. 2004-11-03 Tom Tromey <tromey@redhat.com>
  3304. * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
  3305. * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
  3306. returns jobjectArray.
  3307. (_Jv_JNIEnv::NewObjectArray): Likewise.
  3308. 2004-11-01 Tom Tromey <tromey@redhat.com>
  3309. * verify.cc (state::check_no_uninitialized_objects): Removed.
  3310. (push_jump): Updated.
  3311. (push_exception_jump): Likewise.
  3312. (handle_ret_insn): Likewise.
  3313. (handle_jsr_insn): Likewise.
  3314. 2004-10-30 Mark Wielaard <mark@klomp.org>
  3315. PR libgcj/18234
  3316. * java/lang/Runtime.java (static): Call init().
  3317. (Runtime): Remove call to init().
  3318. (init): Make static.
  3319. 2004-10-28 David Daney <ddaney@avtrex.com>
  3320. * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
  3321. * Makefile.am: Build it.
  3322. * Makefile.in: Regenerate.
  3323. 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
  3324. PR libgcj/18104
  3325. * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a
  3326. colon.
  3327. * Makefile.in: Regenerate.
  3328. * configure: Regenerate.
  3329. * configure.ac (CLASSPATH_SEPARATOR): Define.
  3330. * gcj/Makefile.in: Regenerate.
  3331. * include/Makefile.in: Regenerate.
  3332. * testsuite/Makefile.in: Regenerate.
  3333. * testsuite/lib/libjava.exp (libjava_arguments): Fix
  3334. CLASSPATH separator handling for Windows.
  3335. 2004-10-26 Michael Koch <konqueror@gmx.de>
  3336. * gnu/java/net/protocol/http/Connection.java
  3337. (getOutputStream): Implicitely switch to POST method.
  3338. 2004-10-26 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
  3339. * libjava/java/lang/Class.h
  3340. (java::lang::Class): Correct friend class declaration.
  3341. 2004-10-25 Geoffrey Keating <geoffk@apple.com>
  3342. * Makefile.am (DARWIN_CRT_SRC): New.
  3343. (libgcj_la_SOURCES): Use it.
  3344. * configure.ac: Define USING_DARWIN_CRT when on Darwin.
  3345. * darwin.cc: New file.
  3346. * include/jvm.h (_Jv_RegisterClasses): Constify.
  3347. (_Jv_RegisterClasses_Counted): New prototype.
  3348. * java/lang/Class.h: Include stddef.h.
  3349. (_Jv_RegisterClasses): Constify.
  3350. (_Jv_RegisterClasses_Counted): New prototype.
  3351. (Object): Make '_Jv_RegisterClasses_Counted' a friend.
  3352. * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
  3353. (_Jv_RegisterClasses_Counted): New function.
  3354. * configure: Regenerate.
  3355. * Makefile.in: Regenerate.
  3356. * gcj/Makefile.in: Regenerate.
  3357. * include/Makefile.in: Regenerate.
  3358. * testsuite/Makefile.in: Regenerate.
  3359. 2004-10-25 Tom Tromey <tromey@redhat.com>
  3360. * java/util/ResourceBundle.java (tryBundle): Use
  3361. Class.isAssignableFrom rather than catching ClassCastException.
  3362. 2004-10-25 Tom Tromey <tromey@redhat.com>
  3363. * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
  3364. initialize `iter'.
  3365. * gnu/java/text/SentenceBreakIterator.java
  3366. (SentenceBreakIterator): Don't initialize `iter'.
  3367. * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
  3368. initialize `iter'.
  3369. * gnu/java/text/CharacterBreakIterator.java
  3370. (CharacterBreakIterator): Don't initialize `iter'.
  3371. * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
  3372. constructor.
  3373. * java/text/BreakIterator.java: Updated documentation.
  3374. 2004-10-25 Eric Botcazou <ebotcazou@libertysurf.fr>
  3375. PR other/18138
  3376. * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
  3377. 2004-10-23 Michael Koch <konqueror@gmx.de>
  3378. * javax/print/DocFlavor.java,
  3379. javax/print/attribute/standard/JobStateReason.java,
  3380. javax/print/attribute/standard/MultipleDocumentHandling.java:
  3381. Added missing constants.
  3382. 2004-10-22 Tom Tromey <tromey@redhat.com>
  3383. * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
  3384. typo.
  3385. 2004-10-22 Michael Koch <konqueror@gmx.de>
  3386. PR libjava/14009
  3387. * gnu/java/net/protocol/http/Connection.java
  3388. (sendRequest): Handle case when url.getFile() returns an empty string.
  3389. 2004-10-22 Michael Koch <konqueror@gmx.de>
  3390. * java/lang/Math.java,
  3391. java/lang/StackTraceElement.java,
  3392. java/nio/Buffer.java,
  3393. java/nio/ByteBuffer.java,
  3394. java/nio/CharBuffer.java,
  3395. java/nio/DoubleBuffer.java,
  3396. java/nio/FloatBuffer.java,
  3397. java/nio/IntBuffer.java,
  3398. java/nio/LongBuffer.java,
  3399. java/nio/ShortBuffer.java,
  3400. java/nio/charset/Charset.java,
  3401. java/rmi/server/RMIClassLoader.java,
  3402. java/rmi/server/RMISocketFactory.java,
  3403. java/security/Policy.java,
  3404. java/text/ChoiceFormat.java,
  3405. java/text/CollationElementIterator.java,
  3406. java/text/DateFormat.java,
  3407. java/text/DecimalFormat.java,
  3408. java/text/DecimalFormatSymbols.java,
  3409. java/text/MessageFormat.java,
  3410. java/text/NumberFormat.java,
  3411. java/text/RuleBasedCollator.java,
  3412. java/text/SimpleDateFormat.java,
  3413. java/util/BitSet.java,
  3414. java/util/Calendar.java,
  3415. java/util/Collections.java,
  3416. java/util/IdentityHashMap.java,
  3417. java/util/Locale.java,
  3418. java/util/TreeMap.java,
  3419. java/util/logging/LogRecord.java,
  3420. java/util/logging/XMLFormatter.java,
  3421. java/util/prefs/AbstractPreferences.java,
  3422. java/util/prefs/Preferences.java,
  3423. javax/crypto/interfaces/DHPrivateKey.java,
  3424. javax/crypto/interfaces/DHPublicKey.java,
  3425. javax/crypto/interfaces/PBEKey.java,
  3426. javax/net/ssl/HandshakeCompletedEvent.java,
  3427. javax/security/auth/Subject.java:
  3428. Removed redundant and reordered modifiers.
  3429. 2004-10-22 Ulrich Weigand <uweigand@de.ibm.com>
  3430. * gnu/java/net/natPlainSocketImplPosix.cc
  3431. (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
  3432. with 'int *' argument instead of 'long *'.
  3433. 2004-10-21 Michael Koch <konqueror@gmx.de>
  3434. * java/net/NetworkInterface.java,
  3435. java/text/Format.java,
  3436. javax/security/auth/x500/X500Principal.java,
  3437. javax/security/auth/x500/X500PrivateCredential.java,
  3438. javax/security/cert/X509CertBridge.java,
  3439. javax/security/sasl/Sasl.java,
  3440. javax/sql/XAConnection.java:
  3441. Import cleanup.
  3442. 2004-10-21 Michael Koch <konqueror@gmx.de>
  3443. * javax/net/ssl/HandshakeCompletedEvent.java,
  3444. javax/net/ssl/KeyManagerFactory.java,
  3445. javax/net/ssl/SSLContext.java,
  3446. javax/net/ssl/SSLServerSocketFactory.java,
  3447. javax/net/ssl/SSLSession.java,
  3448. javax/net/ssl/SSLSocketFactory.java,
  3449. javax/net/ssl/TrustManagerFactory.java:
  3450. Import cleanup.
  3451. 2004-10-21 Michael Koch <konqueror@gmx.de>
  3452. * javax/naming/directory/BasicAttribute.java,
  3453. javax/naming/directory/BasicAttributes.java,
  3454. javax/naming/directory/InitialDirContext.java,
  3455. javax/naming/event/NamingEvent.java,
  3456. javax/naming/ldap/ControlFactory.java,
  3457. javax/naming/ldap/ExtendedRequest.java,
  3458. javax/naming/ldap/InitialLdapContext.java,
  3459. javax/naming/ldap/LdapReferralException.java,
  3460. javax/naming/spi/DirObjectFactory.java,
  3461. javax/naming/spi/DirStateFactory.java,
  3462. javax/naming/spi/DirectoryManager.java,
  3463. javax/naming/spi/InitialContextFactory.java,
  3464. javax/naming/spi/InitialContextFactoryBuilder.java,
  3465. javax/naming/spi/NamingManager.java,
  3466. javax/naming/spi/ObjectFactory.java,
  3467. javax/naming/spi/ObjectFactoryBuilder.java,
  3468. javax/naming/spi/StateFactory.java:
  3469. Import cleanup.
  3470. 2004-10-21 Michael Koch <konqueror@gmx.de>
  3471. * javax/crypto/Cipher.java,
  3472. javax/crypto/EncryptedPrivateKeyInfo.java,
  3473. javax/crypto/ExemptionMechanism.java,
  3474. javax/crypto/KeyAgreement.java,
  3475. javax/crypto/KeyGenerator.java,
  3476. javax/crypto/Mac.java,
  3477. javax/crypto/SecretKeyFactory.java,
  3478. javax/crypto/SecretKeyFactorySpi.java,
  3479. javax/crypto/spec/SecretKeySpec.java:
  3480. Import cleanup.
  3481. 2004-10-21 Michael Koch <konqueror@gmx.de>
  3482. * java/security/AlgorithmParameterGenerator.java,
  3483. java/security/AlgorithmParameters.java,
  3484. java/security/AlgorithmParametersSpi.java,
  3485. java/security/AllPermission.java,
  3486. java/security/BasicPermission.java,
  3487. java/security/Certificate.java,
  3488. java/security/CodeSource.java,
  3489. java/security/DigestInputStream.java,
  3490. java/security/DigestOutputStream.java,
  3491. java/security/GuardedObject.java,
  3492. java/security/KeyFactory.java,
  3493. java/security/KeyFactorySpi.java,
  3494. java/security/KeyPairGenerator.java,
  3495. java/security/KeyStore.java,
  3496. java/security/KeyStoreSpi.java,
  3497. java/security/Permissions.java,
  3498. java/security/Security.java,
  3499. java/security/Signature.java,
  3500. java/security/UnresolvedPermission.java,
  3501. java/security/cert/CertPathBuilder.java,
  3502. java/security/cert/CertPathValidator.java,
  3503. java/security/cert/CertStore.java,
  3504. java/security/cert/Certificate.java,
  3505. java/security/cert/CertificateFactory.java,
  3506. java/security/cert/PolicyQualifierInfo.java,
  3507. java/security/cert/TrustAnchor.java,
  3508. java/security/cert/X509CRL.java,
  3509. java/security/cert/X509CRLSelector.java,
  3510. java/security/cert/X509CertSelector.java:
  3511. Import cleanup.
  3512. 2004-10-21 Michael Koch <konqueror@gmx.de>
  3513. * java/rmi/MarshalledObject.java,
  3514. java/rmi/Naming.java,
  3515. java/rmi/activation/Activatable.java,
  3516. java/rmi/activation/ActivationGroup.java,
  3517. java/rmi/activation/ActivationGroupDesc.java,
  3518. java/rmi/activation/ActivationInstantiator.java,
  3519. java/rmi/activation/ActivationMonitor.java,
  3520. java/rmi/activation/ActivationSystem.java,
  3521. java/rmi/activation/Activator.java,
  3522. java/rmi/registry/LocateRegistry.java,
  3523. java/rmi/registry/Registry.java,
  3524. java/rmi/server/LogStream.java,
  3525. java/rmi/server/ObjID.java,
  3526. java/rmi/server/RMIClientSocketFactory.java,
  3527. java/rmi/server/RMIServerSocketFactory.java,
  3528. java/rmi/server/RMISocketFactory.java,
  3529. java/rmi/server/RemoteCall.java,
  3530. java/rmi/server/RemoteServer.java,
  3531. java/rmi/server/ServerRef.java,
  3532. java/rmi/server/UID.java,
  3533. java/rmi/server/UnicastRemoteObject.java:
  3534. Import cleanup.
  3535. 2004-10-21 Tom Tromey <tromey@redhat.com>
  3536. * java/util/zip/InflaterInputStream.java (fill): Don't throw an
  3537. exception if we hit EOF of `in'.
  3538. (read): Handle case where inflating returns -1.
  3539. 2004-10-21 Ulrich Weigand <uweigand@de.ibm.com>
  3540. * gnu/java/nio/channels/natFileChannelPosix.cc
  3541. (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
  3542. argument instead of 'long *'.
  3543. 2004-10-21 Tom Tromey <tromey@redhat.com>
  3544. * java/util/ResourceBundle.java (tryBundle): Also ignore
  3545. ClassCastException.
  3546. 2004-10-21 Kaz Kojima <kkojima@gcc.gnu.org>
  3547. * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
  3548. for all sh*-*-linux* targets.
  3549. * configure: Regenerate.
  3550. * include/sh-signal.h: New file.
  3551. 2004-10-21 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
  3552. * java/lang/ieeefp.h: Add m32r support.
  3553. 2004-10-20 Andreas Schwab <schwab@suse.de>
  3554. * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
  3555. to uaddr, not int.
  3556. * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
  3557. Likewise.
  3558. 2004-10-20 Michael Koch <konqueror@gmx.de>
  3559. * javax/print/attribute/standard/ColorSupported.java,
  3560. javax/print/attribute/standard/Compression.java,
  3561. javax/print/attribute/standard/Copies.java,
  3562. javax/print/attribute/standard/CopiesSupported.java,
  3563. javax/print/attribute/standard/DateTimeAtCompleted.java,
  3564. javax/print/attribute/standard/DateTimeAtCreation.java,
  3565. javax/print/attribute/standard/DateTimeAtProcessing.java,
  3566. javax/print/attribute/standard/DocumentName.java,
  3567. javax/print/attribute/standard/Fidelity.java,
  3568. javax/print/attribute/standard/Finishings.java,
  3569. javax/print/attribute/standard/JobHoldUntil.java,
  3570. javax/print/attribute/standard/JobImpressions.java,
  3571. javax/print/attribute/standard/JobImpressionsCompleted.java,
  3572. javax/print/attribute/standard/JobImpressionsSupported.java,
  3573. javax/print/attribute/standard/JobKOctets.java,
  3574. javax/print/attribute/standard/JobKOctetsProcessed.java,
  3575. javax/print/attribute/standard/JobKOctetsSupported.java,
  3576. javax/print/attribute/standard/JobMediaSheets.java,
  3577. javax/print/attribute/standard/JobMediaSheetsCompleted.java,
  3578. javax/print/attribute/standard/JobMediaSheetsSupported.java,
  3579. javax/print/attribute/standard/JobMessageFromOperator.java,
  3580. javax/print/attribute/standard/JobName.java,
  3581. javax/print/attribute/standard/JobOriginatingUserName.java,
  3582. javax/print/attribute/standard/JobPriority.java,
  3583. javax/print/attribute/standard/JobPrioritySupported.java,
  3584. javax/print/attribute/standard/JobSheets.java,
  3585. javax/print/attribute/standard/JobState.java,
  3586. javax/print/attribute/standard/JobStateReason.java,
  3587. javax/print/attribute/standard/JobStateReasons.java,
  3588. javax/print/attribute/standard/Media.java,
  3589. javax/print/attribute/standard/MultipleDocumentHandling.java,
  3590. javax/print/attribute/standard/NumberOfDocuments.java,
  3591. javax/print/attribute/standard/NumberOfInterveningJobs.java,
  3592. javax/print/attribute/standard/NumberUp.java,
  3593. javax/print/attribute/standard/NumberUpSupported.java,
  3594. javax/print/attribute/standard/OrientationRequested.java,
  3595. javax/print/attribute/standard/OutputDeviceAssigned.java,
  3596. javax/print/attribute/standard/PDLOverrideSupported.java,
  3597. javax/print/attribute/standard/PageRanges.java,
  3598. javax/print/attribute/standard/PagesPerMinute.java,
  3599. javax/print/attribute/standard/PagesPerMinuteColor.java,
  3600. javax/print/attribute/standard/PrintQuality.java,
  3601. javax/print/attribute/standard/PrinterInfo.java,
  3602. javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
  3603. javax/print/attribute/standard/PrinterLocation.java,
  3604. javax/print/attribute/standard/PrinterMakeAndModel.java,
  3605. javax/print/attribute/standard/PrinterMessageFromOperator.java,
  3606. javax/print/attribute/standard/PrinterMoreInfo.java,
  3607. javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
  3608. javax/print/attribute/standard/PrinterName.java,
  3609. javax/print/attribute/standard/PrinterStateReason.java,
  3610. javax/print/attribute/standard/PrinterStateReasons.java,
  3611. javax/print/attribute/standard/PrinterURI.java,
  3612. javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
  3613. javax/print/attribute/standard/RequestingUserName.java:
  3614. Reorganized imports and removed redundant final modifiers.
  3615. 2004-10-20 Michael Koch <konqueror@gmx.de>
  3616. * javax/security/sasl/SaslClient.java,
  3617. javax/security/sasl/SaslClientFactory.java,
  3618. javax/security/sasl/SaslException.java,
  3619. javax/security/sasl/SaslServer.java,
  3620. javax/security/sasl/SaslServerFactory.java:
  3621. Remvoed CVS tags.
  3622. 2004-10-20 Michael Koch <konqueror@gmx.de>
  3623. * javax/security/auth/login/NullConfiguration.java,
  3624. javax/security/auth/x500/X500Principal.java,
  3625. javax/security/cert/X509Certificate.java,
  3626. javax/security/sasl/AuthenticationException.java,
  3627. javax/security/sasl/AuthorizeCallback.java,
  3628. javax/security/sasl/RealmCallback.java,
  3629. javax/security/sasl/RealmChoiceCallback.java,
  3630. javax/security/sasl/Sasl.java,
  3631. javax/security/sasl/SaslClient.java,
  3632. javax/security/sasl/SaslClientFactory.java,
  3633. javax/security/sasl/SaslException.java,
  3634. javax/security/sasl/SaslServer.java,
  3635. javax/security/sasl/SaslServerFactory.java:
  3636. Cleaned up import statements and copyright notices.
  3637. 2004-10-20 Michael Koch <konqueror@gmx.de>
  3638. * gnu/java/rmi/rmic/RMIC.java: Reformatted.
  3639. 2004-10-20 Michael Koch <konqueror@gmx.de>
  3640. * java/sql/Timestamp.java,
  3641. java/text/AttributedCharacterIterator.java,
  3642. java/text/AttributedString.java,
  3643. java/util/zip/CheckedOutputStream.java,
  3644. java/util/zip/DeflaterOutputStream.java,
  3645. java/util/zip/ZipFile.java,
  3646. javax/crypto/Cipher.java,
  3647. javax/crypto/ExemptionMechanismException.java,
  3648. javax/crypto/SecretKey.java,
  3649. javax/crypto/SecretKeyFactory.java,
  3650. javax/naming/directory/ModificationItem.java,
  3651. javax/naming/directory/SearchControls.java,
  3652. javax/naming/event/NamingListener.java,
  3653. javax/naming/ldap/Control.java,
  3654. javax/naming/ldap/ExtendedResponse.java,
  3655. javax/net/ssl/SSLSocketFactory.java:
  3656. Reorganized imports and fixed copyright headers.
  3657. 2004-10-20 Michael Koch <konqueror@gmx.de>
  3658. * java/util/logging/ConsoleHandler.java,
  3659. java/util/logging/ErrorManager.java,
  3660. java/util/logging/FileHandler.java,
  3661. java/util/logging/Filter.java,
  3662. java/util/logging/Formatter.java,
  3663. java/util/logging/Handler.java,
  3664. java/util/logging/Level.java,
  3665. java/util/logging/LogManager.java,
  3666. java/util/logging/LogRecord.java,
  3667. java/util/logging/Logger.java,
  3668. java/util/logging/LoggingPermission.java,
  3669. java/util/logging/MemoryHandler.java,
  3670. java/util/logging/SimpleFormatter.java,
  3671. java/util/logging/SocketHandler.java,
  3672. java/util/logging/StreamHandler.java,
  3673. java/util/logging/XMLFormatter.java:
  3674. Standardized copyrigth header.
  3675. 2004-10-20 Michael Koch <konqueror@gmx.de>
  3676. * java/security/AlgorithmParameterGenerator.java,
  3677. java/security/AlgorithmParameters.java,
  3678. java/security/DigestInputStream.java,
  3679. java/security/Identity.java,
  3680. java/security/KeyFactory.java,
  3681. java/security/KeyPairGenerator.java,
  3682. java/security/KeyStore.java,
  3683. java/security/MessageDigest.java,
  3684. java/security/MessageDigestSpi.java,
  3685. java/security/Policy.java,
  3686. java/security/SecureRandom.java,
  3687. java/security/Security.java,
  3688. java/security/Signature.java,
  3689. java/security/SignatureSpi.java,
  3690. java/security/cert/CertPathBuilder.java,
  3691. java/security/cert/CertPathValidator.java,
  3692. java/security/cert/CertStore.java,
  3693. java/security/cert/Certificate.java,
  3694. java/security/cert/CertificateFactory.java,
  3695. java/security/cert/PolicyQualifierInfo.java,
  3696. java/security/cert/TrustAnchor.java,
  3697. java/security/cert/X509CRL.java,
  3698. java/security/cert/X509CRLEntry.java,
  3699. java/security/cert/X509Certificate.java,
  3700. java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
  3701. Import statements reorganized, some little formatting issues,
  3702. used java-style array declarations, added comments in empty catch
  3703. blocks.
  3704. 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
  3705. * java/security/Security.java
  3706. (static): Use AccessController.doPrivileged to get system property.
  3707. 2004-10-18 Sven de Marothy <sven@physto.se>
  3708. * java/nio/ByteBufferHelper.java
  3709. (putDouble): Use Double.toRawLongBits instead.
  3710. 2004-10-18 Mark Wielaard <mark@klomp.org>
  3711. Andrew Haley <aph@redhat.com>
  3712. * testsuite/libjava.lang/ExtraClassLoader.java: New.
  3713. 2004-10-18 Andrew Haley <aph@redhat.com>
  3714. PR java/18036:
  3715. * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
  3716. and correct logic used to find interpreter.
  3717. 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
  3718. * java/util/logging/LogManager.java
  3719. (findAncestor): Fixed IndexOutOfBoundsException.
  3720. 2004-10-18 Michael Koch <konqueror@gmx.de>
  3721. * java/io/BufferedInputStream.java: Fixed @author tag.
  3722. (read): Simplified expression.
  3723. (read): Merged javadoc a bit more.
  3724. (read): Renamed 'remain' to 'totalBytesRead'.
  3725. * java/io/DataInputStream.java,
  3726. java/io/DataOutputStream.java,
  3727. java/io/ObjectInputStream.java,
  3728. java/io/ObjectOutputStream.java:
  3729. Reworked modifier order.
  3730. 2004-10-18 Michael Koch <konqueror@gmx.de>
  3731. * java/net/Inet4Address.java: Merged file header and javadocs.
  3732. * java/net/Inet6Address.java: Likewise.
  3733. * java/net/InetAddress.java
  3734. (getCanonicalHostName): Create Inet4Address object instead of
  3735. InetAddress and add comment regarding IPv6.
  3736. (toString): Simplified.
  3737. 2004-10-18 Michael Koch <konqueror@gmx.de>
  3738. * gnu/java/net/protocol/http/Connection.java,
  3739. java/nio/MappedByteBufferImpl.java,
  3740. java/text/RuleBasedCollator.java,
  3741. java/util/ResourceBundle.java:
  3742. Reworked import statements.
  3743. 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
  3744. * java/security/IdentityScope.java
  3745. (systemScope): Removed useless initializer.
  3746. * java/security/Policy.java
  3747. (currentPolicy): Likewise.
  3748. 2004-10-18 Michael Koch <konqueror@gmx.de>
  3749. * java/lang/System.java: Revert accidential change.
  3750. 2004-10-18 Michael Koch <konqueror@gmx.de>
  3751. * java/lang/Math.java,
  3752. java/lang/Package.java,
  3753. java/lang/Runtime.java,
  3754. java/lang/StrictMath.java,
  3755. java/lang/System.java,
  3756. java/lang/Thread.java,
  3757. java/lang/ThreadLocal.java,
  3758. java/lang/Void.java:
  3759. Reworked import statements, HTML in javadocs and modifier orders.
  3760. 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
  3761. * java/util/Timer.java
  3762. (nr): Removed useless initializer.
  3763. * java/util/logging/LogRecord.java
  3764. (lastSeqNum): Likewise.
  3765. * javax/naming/spi/NamingManager.java
  3766. (icfb, ofb): Likewise.
  3767. 2004-10-18 Michael Koch <konqueror@gmx.de>
  3768. * gnu/java/net/PlainDatagramSocketImpl.java:
  3769. Reworked import statements.
  3770. * gnu/java/security/provider/DSAParameters.java:
  3771. Fixed copyrigth years.
  3772. * java/net/JarURLConnection.java:
  3773. Fixed HTML in @author tags.
  3774. 2004-10-18 Michael Koch <konqueror@gmx.de>
  3775. * java/rmi/activation/ActivationSystem.java
  3776. (SYSTEM_PORT): Initialize with correct port number.
  3777. 2004-10-18 Michael Koch <konqueror@gmx.de>
  3778. * java/lang/reflect/Proxy.java: Improved javadocs.
  3779. 2004-10-18 Michael Koch <konqueror@gmx.de>
  3780. * java/lang/reflect/AccessibleObject.java
  3781. (checkPermission): Removed redundant final modifier.
  3782. (secureSetAccessible): Likewise.
  3783. * java/lang/reflect/Proxy.java:
  3784. Reworked import statements.
  3785. (generate): Removed redundant final modifier.
  3786. * java/lang/reflect/ReflectPermission.java:
  3787. Reorder package declaration and import statement.
  3788. 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
  3789. * java/lang/reflect/Proxy.java
  3790. (count): Removed useless initializer.
  3791. 2004-10-17 Michael Koch <konqueror@gmx.de>
  3792. * java/net/BindException.java,
  3793. java/net/ConnectException.java,
  3794. java/net/ContentHandler.java,
  3795. java/net/ContentHandlerFactory.java,
  3796. java/net/DatagramPacket.java,
  3797. java/net/DatagramSocket.java,
  3798. java/net/DatagramSocketImpl.java,
  3799. java/net/DatagramSocketImplFactory.java,
  3800. java/net/FileNameMap.java,
  3801. java/net/HttpURLConnection.java,
  3802. java/net/MalformedURLException.java,
  3803. java/net/MulticastSocket.java,
  3804. java/net/NetworkInterface.java,
  3805. java/net/NoRouteToHostException.java,
  3806. java/net/PasswordAuthentication.java,
  3807. java/net/PortUnreachableException.java,
  3808. java/net/ProtocolException.java,
  3809. java/net/ServerSocket.java,
  3810. java/net/Socket.java,
  3811. java/net/SocketException.java,
  3812. java/net/SocketImpl.java,
  3813. java/net/SocketImplFactory.java,
  3814. java/net/SocketOptions.java,
  3815. java/net/SocketPermission.java,
  3816. java/net/SocketTimeoutException.java,
  3817. java/net/URI.java,
  3818. java/net/URISyntaxException.java,
  3819. java/net/URL.java,
  3820. java/net/URLDecoder.java,
  3821. java/net/URLEncoder.java,
  3822. java/net/URLStreamHandler.java,
  3823. java/net/URLStreamHandlerFactory.java,
  3824. java/net/UnknownHostException.java,
  3825. java/net/UnknownServiceException.java:
  3826. Big import statement and @author tag cleanup.
  3827. 2004-10-17 Michael Koch <konqueror@gmx.de>
  3828. * gnu/java/security/OID.java,
  3829. gnu/java/security/provider/DSAParameters.java,
  3830. gnu/java/security/provider/DSASignature.java,
  3831. gnu/java/security/x509/X500DistinguishedName.java,
  3832. gnu/java/security/x509/X509CRL.java:
  3833. Import statements cleaned up.
  3834. 2004-10-16 Michael Koch <konqueror@gmx.de>
  3835. * gnu/java/nio/NIODatagramSocket.java,
  3836. gnu/java/nio/ServerSocketChannelImpl.java:
  3837. Reorganized import statements.
  3838. 2004-10-16 Michael Koch <konqueror@gmx.de>
  3839. * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
  3840. gnu/java/rmi/rmic/RMIC.java,
  3841. gnu/java/rmi/server/RMIHashes.java,
  3842. gnu/java/rmi/server/RMIObjectInputStream.java,
  3843. gnu/java/rmi/server/RMIObjectOutputStream.java,
  3844. gnu/java/rmi/server/UnicastConnection.java,
  3845. gnu/java/rmi/server/UnicastConnectionManager.java,
  3846. gnu/java/rmi/server/UnicastRemoteCall.java,
  3847. gnu/java/rmi/server/UnicastServer.java,
  3848. gnu/java/rmi/server/UnicastServerRef.java,
  3849. java/rmi/MarshalledObject.java,
  3850. java/rmi/Naming.java,
  3851. java/rmi/RMISecurityManager.java,
  3852. java/rmi/Remote.java,
  3853. java/rmi/activation/Activatable.java,
  3854. java/rmi/activation/ActivationDesc.java,
  3855. java/rmi/activation/ActivationGroup.java,
  3856. java/rmi/activation/ActivationGroupDesc.java,
  3857. java/rmi/activation/ActivationGroupID.java,
  3858. java/rmi/activation/ActivationID.java,
  3859. java/rmi/activation/ActivationInstantiator.java,
  3860. java/rmi/activation/ActivationMonitor.java,
  3861. java/rmi/activation/ActivationSystem.java,
  3862. java/rmi/activation/Activator.java,
  3863. java/rmi/dgc/DGC.java,
  3864. java/rmi/dgc/Lease.java,
  3865. java/rmi/dgc/VMID.java,
  3866. java/rmi/registry/LocateRegistry.java,
  3867. java/rmi/registry/Registry.java,
  3868. java/rmi/registry/RegistryHandler.java,
  3869. java/rmi/server/LoaderHandler.java,
  3870. java/rmi/server/LogStream.java,
  3871. java/rmi/server/ObjID.java,
  3872. java/rmi/server/Operation.java,
  3873. java/rmi/server/RMIClassLoader.java,
  3874. java/rmi/server/RMIClassLoaderSpi.java,
  3875. java/rmi/server/RMIClientSocketFactory.java,
  3876. java/rmi/server/RMIFailureHandler.java,
  3877. java/rmi/server/RMIServerSocketFactory.java,
  3878. java/rmi/server/RMISocketFactory.java,
  3879. java/rmi/server/RemoteCall.java,
  3880. java/rmi/server/RemoteObject.java,
  3881. java/rmi/server/RemoteRef.java,
  3882. java/rmi/server/RemoteServer.java,
  3883. java/rmi/server/RemoteStub.java,
  3884. java/rmi/server/ServerRef.java,
  3885. java/rmi/server/Skeleton.java,
  3886. java/rmi/server/SkeletonMismatchException.java,
  3887. java/rmi/server/UID.java,
  3888. java/rmi/server/UnicastRemoteObject.java,
  3889. java/rmi/server/Unreferenced.java:
  3890. File headers and import statements cleaned up.
  3891. 2004-10-16 Michael Koch <konqueror@gmx.de>
  3892. * libjava/gnu/java/nio/charset/UTF_16.java,
  3893. libjava/gnu/java/nio/charset/UTF_16BE.java,
  3894. libjava/gnu/java/nio/charset/UTF_16LE.java,
  3895. libjava/java/nio/ByteOrder.java,
  3896. libjava/java/nio/MappedByteBuffer.java,
  3897. libjava/java/nio/channels/Channels.java,
  3898. libjava/java/nio/channels/spi/SelectorProvider.java,
  3899. libjava/java/nio/charset/Charset.java:
  3900. Cleanup.
  3901. 2004-10-16 Michael Koch <konqueror@gmx.de>
  3902. * gnu/java/nio/charset/UTF_16Encoder.java
  3903. (UTF_16Encoder): Fixed maxBytesPerChar handling.
  3904. 2004-10-16 Michael Koch <konqueror@gmx.de>
  3905. * java/math/BigDecimal.java, java/math/BigInteger.java:
  3906. Reorganized import statements, removed redundant and
  3907. reorganized modifiers.
  3908. 2004-10-16 Michael Koch <konqueror@gmx.de>
  3909. * gnu/java/beans/ExplicitBeanInfo.java:
  3910. Explicitely import java.awt.Image.
  3911. (getIcon): Fixed off-by-one error.
  3912. 2004-10-15 Andrew Haley <aph@redhat.com>
  3913. * Makefile.am (nat_files, xlib_nat_files): New.
  3914. * Makefile.in: Regenerate.
  3915. 2004-10-14 Ulrich Weigand <uweigand@de.ibm.com>
  3916. * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
  3917. ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
  3918. 2004-10-13 Andrew Haley <aph@redhat.com>
  3919. * interpret.cc (_Jv_InterpMethod::run): Initialize
  3920. _Jv_StartOfInterpreter.
  3921. (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
  3922. (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
  3923. * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
  3924. _Unwind_FindEnclosingFunction to discover whether PC is within the
  3925. interpreter.
  3926. 2004-10-12 Rutger Ovidius <ovidr@users.sourceforge.net>
  3927. PR libgcj/17903:
  3928. * testsuite/libjava.lang/md5test.java: New file.
  3929. * testsuite/libjava.lang/md5test.out: Likewise.
  3930. * testsuite/libjava.lang/shatest.java: Likewise.
  3931. * testsuite/libjava.lang/shatest.out: Likewise.
  3932. 2004-10-11 Richard Henderson <rth@redhat.com>
  3933. * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
  3934. (_Jv_ThreadSelf): Use __builtin_thread_pointer.
  3935. 2004-10-08 Bryce McKinlay <mckinlay@redhat.com>
  3936. * java/util/Calendar.java (set): Invalidate DST_OFFSET
  3937. field as a DST boundary may have been crossed.
  3938. * java/util/GregorianCalendar.java (add): Throw
  3939. IllegalArgumentException on attempt to add to DST_OFFSET or
  3940. ZONE_OFFSET fields. Update javadoc.
  3941. 2004-10-09 Michael Koch <konqueror@gmx.de>
  3942. * java/io/CharArrayWriter.java
  3943. (resize): Removed redundant 'final' modifier.
  3944. * java/io/DataInputStream.java
  3945. (readFully): Throw IndexOutOfBoundsException of len < 0.
  3946. * java/io/FileDescriptor.java,
  3947. java/io/FileInputStream.java,
  3948. java/io/FileOutputStream.java,
  3949. java/io/ObjectOutputStream.java,
  3950. java/io/ObjectStreamClass.java,
  3951. java/io/PipedInputStream.java,
  3952. java/io/RandomAccessFile.java:
  3953. Reorganized import statements.
  3954. 2004-10-09 Michael Koch <konqueror@gmx.de>
  3955. * gnu/java/rmi/rmic/RMIC.java,
  3956. gnu/java/rmi/server/RMIHashes.java,
  3957. gnu/java/rmi/server/RMIObjectInputStream.java,
  3958. gnu/java/rmi/server/UnicastConnection.java,
  3959. gnu/java/rmi/server/UnicastConnectionManager.java,
  3960. gnu/java/rmi/server/UnicastRemoteCall.java,
  3961. gnu/java/rmi/server/UnicastServerRef.java:
  3962. Reworked import statements and fixed file headers.
  3963. 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
  3964. * configure.ac (*-*-freebsd[[1234]]*): Refine error message
  3965. emission rule.
  3966. * configure: Rebuilt.
  3967. 2004-09-30 Tom Tromey <tromey@redhat.com>
  3968. * java/text/MessageFormat.java (Field): Constructor now
  3969. protected.
  3970. 2004-09-30 Tom Tromey <tromey@redhat.com>
  3971. * javax/crypto/MacSpi.java: Fixed typo.
  3972. 2004-09-30 Michael Koch <konqueror@gmx.de>
  3973. * java/net/InetAddress.java: Reformatted.
  3974. (loopback): Initialize with Inet4Address object.
  3975. (static): Initialize ANY_IF with Inet4Address object.
  3976. (InetAddress): Removed unused package-private constructor.
  3977. 2004-09-30 Michael Koch <konqueror@gmx.de>
  3978. * java/beans/Beans.java,
  3979. java/beans/EventHandler.java,
  3980. java/beans/EventSetDescriptor.java,
  3981. java/beans/Introspector.java,
  3982. java/beans/PropertyEditorManager.java,
  3983. java/beans/beancontext/BeanContext.java,
  3984. java/beans/beancontext/BeanContextChild.java,
  3985. java/beans/beancontext/BeanContextChildSupport.java,
  3986. java/beans/beancontext/BeanContextMembershipEvent.java:
  3987. Reordered import statements and removed redundant modifiers.
  3988. 2004-09-29 Tom Tromey <tromey@redhat.com>
  3989. PR libgcj/17715:
  3990. * Makefile.in: Rebuilt.
  3991. * Makefile.am (libgcj-@gcc_version@.jar): Include properties
  3992. files.
  3993. (all_property_files): New macro.
  3994. * Makefile.in: Rebuilt.
  3995. * Makefile.am (ordinary_java_source_files): Re-sorted.
  3996. (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
  3997. 2004-09-28 Tom Tromey <tromey@redhat.com>
  3998. * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
  3999. PR libgcj/17222:
  4000. * Makefile.am (libgcj.la): Restored.
  4001. * Makefile.in: Rebuilt.
  4002. 2004-09-28 Michael Koch <konqueror@gmx.de>
  4003. * java/net/URLConnection.java: Reformatted.
  4004. * java/net/URLClassLoader.java: Reformatted.
  4005. (getContent): Reordered return of content.
  4006. (getContentHandler): Don't check for null explicitely.
  4007. 2004-09-27 Michael Koch <konqueror@gmx.de>
  4008. * java/io/BufferedInputStream.java
  4009. (BufferedInputStream): Added Jeroen Frijters to authors.
  4010. (count): Don't explicitely initialize with default value.
  4011. (pos): Likewise.
  4012. (marklimit): Likewise.
  4013. (read): Changed boolean expression to match GNU classpath' version.
  4014. (reset): Add proper message to exception.
  4015. (skip): Check for closed stream.
  4016. (refill): Likewise.
  4017. 2004-09-26 Per Bothner <per@bothner.com>
  4018. * prims.cc (unblock_signal): Annotate signum with __unused__ to
  4019. avoid warnings in the non-POSIX_VERSION case.
  4020. Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
  4021. so place it inside an #if block.
  4022. * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
  4023. * include/i386-signal.h (SIGNAL_HANDLER): Likewise
  4024. * include/mips-signal.h (SIGNAL_HANDLER): Likewise
  4025. * include/sparc-signal.h (SIGNAL_HANDLER): Likewise
  4026. 2004-09-26 Per Bothner <per@bothner.com>
  4027. * prims.cc (process_gcj_properties): Optimization.
  4028. 2004-09-26 Per Bothner <per@bothner.com>
  4029. * java/util/Collections.java (sort): Copy from array in forwards
  4030. order, rather than reverse order which may be much less efficient.
  4031. 2004-09-26 Mark Wielaard <mark@klomp.org>
  4032. * java/lang/System.java (properties): Make package private.
  4033. * java/lang/Throwable.java (StaticData.nl): Initialize through
  4034. directly accessing System.properties.getProperty().
  4035. * java/lang/Throwable.java (nl): Remove static field.
  4036. (StaticData): New private static inner class.
  4037. (stackTraceStringBuffer): Use StaticData.nl.
  4038. 2004-09-26 Casey Marshall <csm@gnu.org>
  4039. * java/security/ProtectionDomain.java
  4040. (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
  4041. `true'.
  4042. * java/security/SecureClassLoader.java
  4043. (defineClass): make protection domain dynamically bound.
  4044. (getPermissions): call `getCurrentPolicy' to avoid permission
  4045. check.
  4046. 2004-09-25 Mark Wielaard <mark@klomp.org>
  4047. * Makefile.am (core_java_source_files): Add VMTimeZone.java.
  4048. (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
  4049. * Makefile.in: Regenerated.
  4050. * gcj/javaprims.h: Regenerated.
  4051. * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
  4052. (getDefaultTimeZone): Make package private. Check that GMToffset
  4053. contains at least one digit.
  4054. (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
  4055. VMTimeZone.
  4056. * util/VMTimeZone.java: New file with above methods.
  4057. * java/util/natTimeZone.cc: Removed (renamed).
  4058. * java/util/natVMTimeZone.cc: Added (renamed).
  4059. 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
  4060. * java/util/TimeZone.java
  4061. (getDefaultTimeZone): Fixed test to distinguish between hours and
  4062. minutes in specified timezone.
  4063. 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
  4064. * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
  4065. handling of default package. (generate): Removed confused comments
  4066. and code about making Method and Field accessible.
  4067. 2004-09-25 Tom Tromey <tromey@redhat.com>
  4068. PR java/17500:
  4069. * testsuite/libjava.compile/pr17500.java: New file.
  4070. 2004-09-25 Shashank Bapat <shashankbapat@yahoo.com>
  4071. Mark Wielaard <mark@klomp.org>
  4072. * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
  4073. * gnu/regexp/RETokenLookAhead.java: New file.
  4074. * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
  4075. * Makefile.in: Regenerated.
  4076. 2004-09-25 Michael Koch <konqueror@gmx.de>
  4077. * java/io/ObjectStreamField.java:
  4078. Removed unused import statement.
  4079. 2004-09-24 Tom Tromey <tromey@redhat.com>
  4080. PR java/15656:
  4081. * testsuite/libjava.compile/pr15656.xfail: New file.
  4082. * testsuite/libjava.compile/pr15656.java: new file.
  4083. PR java/16789:
  4084. * testsuite/libjava.lang/pr16789.out: New file.
  4085. * testsuite/libjava.lang/pr16789.java: New file.
  4086. 2004-09-24 Andrew Haley <aph@redhat.com>
  4087. PR java/16927
  4088. * testsuite/libjava.compile/AssertBug.java: New file.
  4089. 2004-09-24 Casey Marshall <csm@gnu.org>
  4090. * java/util/PropertyPermissionCollection.java
  4091. (implies): avoid infinite loop.
  4092. 2004-09-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
  4093. * javax/security/auth/PrivateCredentialPermission.java
  4094. (PrivateCredentialPermission): added serialization UID
  4095. 2004-09-24 Ilya Perminov <iperminov@logicalsoft.com>
  4096. * gnu/java/rmi/server/UnicastServer.java
  4097. (incomingMessageCall): Added code to handle Errors.
  4098. * gnu/java/rmi/server/UnicastServerRef.java
  4099. (incomingMessageCall): Added code to handle Errors.
  4100. 2004-09-24 Tom Tromey <tromey@redhat.com>
  4101. * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
  4102. (definedPackages): Likewise.
  4103. 2004-09-24 Michael Koch <konqueror@gmx.de>
  4104. * java/io/ObjectInputStream.java:
  4105. Re-ordered imports.
  4106. 2004-09-24 Casey Marshall <csm@gnu.org>
  4107. * java/io/ObjectInputStream.java (callReadMethod): re-throw
  4108. `ClassNotFoundException'.
  4109. 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
  4110. * java/io/ObjectInputStream.java (readObject): Delegate instantation
  4111. of Externalizable classes to ObjectStreamClass.
  4112. * java/io/ObjectStreamClass.java (newInstance): New method to
  4113. instantiate Externalizable (while ignoring the accessibility of
  4114. the constructor). (constructor): New field to cache the constructor.
  4115. 2004-09-24 Mark Wielaard <mark@klomp.org>
  4116. * java/net/URL.java (systemClassLoader): New static field.
  4117. (getURLStreamHandler): Always use system/application classloader
  4118. for finding URLStreamhandler. Remove unecessary instanceof checks.
  4119. 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
  4120. * java/net/URL.java
  4121. (set): This method now matches the behaviour of the JDK.
  4122. (DEFAULT_SEARCH_PATH): Added "gnu.inet".
  4123. 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
  4124. * java/net/URL.java (URL): Delete whitespaces in the protocol string.
  4125. 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
  4126. * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
  4127. Don't set authority if host isn't specified.
  4128. 2004-09-24 Michael Koch <konqueror@gmx.de>
  4129. * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
  4130. * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
  4131. * gnu/java/nio/VMPipe.java,
  4132. gnu/java/nio/VMSelector.java:
  4133. New files.
  4134. * gnu/java/nio/natPipeImplEcos.cc,
  4135. gnu/java/nio/natPipeImplPosix.cc,
  4136. gnu/java/nio/natPipeImplWin32.cc:
  4137. Ported to VMPipe.
  4138. * gnu/java/nio/natSelectorImplEcos.cc,
  4139. gnu/java/nio/natSelectorImplPosix.cc,
  4140. gnu/java/nio/natSelectorImplWin32.cc:
  4141. Ported to VMSelector.
  4142. * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
  4143. gnu/java/nio/VMSelector.java.
  4144. * Makefile.in: Regenerated.
  4145. 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
  4146. * java/lang/StackTraceElement.java
  4147. (className): Renamed field to declaringClass to be compatible
  4148. with Sun serialization format.
  4149. 2004-09-23 Michael Koch <konqueror@gmx.de>
  4150. * java/applet/AppletContext.java,
  4151. java/applet/Applet.java,
  4152. java/applet/AppletStub.java,
  4153. java/applet/AudioClip.java:
  4154. Jalopied and checkstyle clean.
  4155. * javax/swing/JCheckBox.java: Reformated.
  4156. (JCheckBox): Fixed all constructors.
  4157. (isBorderPaintedFlat): New method.
  4158. (setBorderPaintedFlat): New method.
  4159. * javax/swing/JEditorPane.java
  4160. (createEditorKitForContentType): Made public.
  4161. (scrollToReference): Likewise.
  4162. * javax/swing/JTextArea.java
  4163. (setLineWrap): Fire property change.
  4164. * javax/swing/JToggleButton.java
  4165. (JToggleButton): New constructor.
  4166. (JToggleButton): Simplified.
  4167. * javax/swing/text/AttributeSet.java
  4168. (FontAttribute): Renamed from FontCharacterAttribute.
  4169. * javax/swing/text/JTextComponent.java
  4170. (KeyBinBinding): Added javadoc.
  4171. (JTextComponent): Likewise.
  4172. (getAccessibleContext): Fixed javadoc.
  4173. * javax/swing/text/View.java
  4174. (View): Added javadoc.
  4175. * javax/swing/text/TabableView.java: New file.
  4176. * Makefile.am: Added javax/swing/text/TabableView.java.
  4177. * Makefile.in: Regenerated.
  4178. 2004-09-23 Mark Wielaard <mark@klomp.org>
  4179. * java/util/Collections.java
  4180. (binarySearch(List, Object, Comparator)): Explicitly
  4181. reverse direction in list iterator.
  4182. (rotate): Just return when list is empty.
  4183. 2004-09-23 Tom Tromey <tromey@redhat.com>
  4184. PR java/17329:
  4185. * testsuite/libjava.compile/pr17329.java: New file.
  4186. PR java/17380:
  4187. * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
  4188. 9.2-implicit-7.
  4189. 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
  4190. * Makefile.am: Run aclocal with -I ../config
  4191. * acinclude.m4: Delete macros picked up from ../config and tidy.
  4192. (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
  4193. * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
  4194. * include/Makefile.in, testsuite/Makefile.in: Regenerate.
  4195. 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
  4196. * aclocal.m4: Regenerate with aclocal 1.9.2.
  4197. * configure: Regenerate.
  4198. * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
  4199. * include/Makefile.in, testsuite/Makefile.in: Likewise.
  4200. 2004-09-22 David Daney <ddaney@avtrex.com>
  4201. PR libgcj/17623
  4202. * java/net/URL.java (URL): Copy userInfo from context.
  4203. (getUserInfo): Return cached userInfo if present.
  4204. 2004-09-22 Tom Tromey <tromey@redhat.com>
  4205. PR libgcj/6182:
  4206. * mauve-libgcj: Enable java.lang.Character tests.
  4207. 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
  4208. * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
  4209. dependencies.
  4210. (lib_org_ietf_jgss_la_LIBADD): Likewise.
  4211. * Makefile.in: Regenerated.
  4212. 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
  4213. * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
  4214. * configure: Regenerate.
  4215. * include/config.h.in: Likewise.
  4216. * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
  4217. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
  4218. macro to gtkpeer.h.
  4219. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
  4220. (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
  4221. pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
  4222. architectures.
  4223. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
  4224. Likewise.
  4225. 2004-09-22 Tom Tromey <tromey@redhat.com>
  4226. PR libgcj/14446:
  4227. * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
  4228. when comparing CRCs.
  4229. * java/util/zip/InflaterInputStream.java (onebytebuffer): New
  4230. field.
  4231. (read()): New overload.
  4232. 2004-09-21 Tom Tromey <tromey@redhat.com>
  4233. * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
  4234. Indentation fix.
  4235. 2004-09-21 Michael Koch <konqueror@gmx.de>
  4236. * java/net/Socket.java
  4237. (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
  4238. 2004-09-21 Casey Marshall <csm@gnu.org>
  4239. * javax/crypto/MacSpi.java (clone): Provide meaningful
  4240. implementation.
  4241. 2004-09-21 Tom Tromey <tromey@redhat.com>
  4242. PR libgcj/16869:
  4243. * Makefile.in: Rebuilt.
  4244. * Makefile.am (MOSTLYCLEANFILES): Removed.
  4245. (mostlyclean-local): Remove header files.
  4246. 2004-09-21 Casey Marshall <csm@gnu.org>
  4247. * java/security/cert/X509CRLSelector.java:
  4248. (match): remove unreachable try-catch clauses.
  4249. Reported by: Dalibor Topic <robilad@kaffe.org>
  4250. 2004-09-21 Mark Wielaard <mark@klomp.org>
  4251. * java/util/TreeMap.java (root): Don't initialize.
  4252. (TreeMap(Comparator)): Call fabricateTree(0).
  4253. (fabricateTree): Initialize root and size when count is 0.
  4254. 2004-09-21 Sven de Marothy <sven@physto.se>
  4255. * java/nio/ByteBuffer.java (hashCode): Implemented.
  4256. * java/nio/CharBuffer.java: Likewise.
  4257. * java/nio/DoubleBuffer.java: Likewise.
  4258. * java/nio/FloatBuffer.java: Likewise.
  4259. * java/nio/LongBuffer.java: Likewise.
  4260. * java/nio/IntBuffer.java: Likewise.
  4261. * java/nio/ShortBuffer.java: Likewise.
  4262. 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
  4263. * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
  4264. 2004-09-21 Michael Koch <konqueror@gmx.de>
  4265. * javax/net/ssl/SSLServerSocket.java:
  4266. Removed comment about "Do not edit this file, it's generated.".
  4267. 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
  4268. Import the big Crypto/Jessie/Security merge from Classpath.
  4269. * Makefile.am: Add imported files.
  4270. * Makefile.in: Regenerate.
  4271. 2004-08-14 Casey Marshall <csm@gnu.org>
  4272. The Big Crypto Merge of 2004.
  4273. * javax/security/auth/x500/X500Principal.java: Replaced with GNU
  4274. Crypto's version.
  4275. Files imported from GNU Crypto.
  4276. * javax/crypto/BadPaddingException.java
  4277. * javax/crypto/Cipher.java
  4278. * javax/crypto/CipherInputStream.java
  4279. * javax/crypto/CipherOutputStream.java
  4280. * javax/crypto/CipherSpi.java
  4281. * javax/crypto/EncryptedPrivateKeyInfo.java
  4282. * javax/crypto/ExemptionMechanism.java
  4283. * javax/crypto/ExemptionMechanismException.java
  4284. * javax/crypto/ExemptionMechanismSpi.java
  4285. * javax/crypto/IllegalBlockSizeException.java
  4286. * javax/crypto/KeyAgreement.java
  4287. * javax/crypto/KeyAgreementSpi.java
  4288. * javax/crypto/KeyGenerator.java
  4289. * javax/crypto/KeyGeneratorSpi.java
  4290. * javax/crypto/Mac.java
  4291. * javax/crypto/MacSpi.java
  4292. * javax/crypto/Makefile.am
  4293. * javax/crypto/NoSuchPaddingException.java
  4294. * javax/crypto/NullCipher.java
  4295. * javax/crypto/NullCipherImpl.java
  4296. * javax/crypto/SealedObject.java
  4297. * javax/crypto/SecretKey.java
  4298. * javax/crypto/SecretKeyFactory.java
  4299. * javax/crypto/SecretKeyFactorySpi.java
  4300. * javax/crypto/ShortBufferException.java
  4301. * javax/crypto/interfaces/DHKey.java
  4302. * javax/crypto/interfaces/DHPrivateKey.java
  4303. * javax/crypto/interfaces/DHPublicKey.java
  4304. * javax/crypto/interfaces/PBEKey.java
  4305. * javax/crypto/spec/DESKeySpec.java
  4306. * javax/crypto/spec/DESedeKeySpec.java
  4307. * javax/crypto/spec/DHGenParameterSpec.java
  4308. * javax/crypto/spec/DHParameterSpec.java
  4309. * javax/crypto/spec/DHPrivateKeySpec.java
  4310. * javax/crypto/spec/DHPublicKeySpec.java
  4311. * javax/crypto/spec/IvParameterSpec.java
  4312. * javax/crypto/spec/PBEKeySpec.java
  4313. * javax/crypto/spec/PBEParameterSpec.java
  4314. * javax/crypto/spec/RC2ParameterSpec.java
  4315. * javax/crypto/spec/RC5ParameterSpec.java
  4316. * javax/crypto/spec/SecretKeySpec.java
  4317. * javax/security/auth/AuthPermission.java
  4318. * javax/security/auth/DestroyFailedException.java
  4319. * javax/security/auth/Destroyable.java
  4320. * javax/security/auth/Policy.java
  4321. * javax/security/auth/PrivateCredentialPermission.java
  4322. * javax/security/auth/RefreshFailedException.java
  4323. * javax/security/auth/Refreshable.java
  4324. * javax/security/auth/Subject.java
  4325. * javax/security/auth/SubjectDomainCombiner.java
  4326. * javax/security/auth/callback/Callback.java
  4327. * javax/security/auth/callback/CallbackHandler.java
  4328. * javax/security/auth/callback/ChoiceCallback.java
  4329. * javax/security/auth/callback/ConfirmationCallback.java
  4330. * javax/security/auth/callback/LanguageCallback.java
  4331. * javax/security/auth/callback/NameCallback.java
  4332. * javax/security/auth/callback/PasswordCallback.java
  4333. * javax/security/auth/callback/TextInputCallback.java
  4334. * javax/security/auth/callback/TextOutputCallback.java
  4335. * javax/security/auth/callback/UnsupportedCallbackException.java
  4336. * javax/security/auth/login/AccountExpiredException.java
  4337. * javax/security/auth/login/AppConfigurationEntry.java
  4338. * javax/security/auth/login/Configuration.java
  4339. * javax/security/auth/login/CredentialExpiredException.java
  4340. * javax/security/auth/login/FailedLoginException.java
  4341. * javax/security/auth/login/LoginContext.java
  4342. * javax/security/auth/login/LoginException.java
  4343. * javax/security/auth/login/NullConfiguration.java
  4344. * javax/security/auth/x500/X500PrivateCredential.java
  4345. * javax/security/sasl/AuthenticationException.java
  4346. * javax/security/sasl/AuthorizeCallback.java
  4347. * javax/security/sasl/RealmCallback.java
  4348. * javax/security/sasl/RealmChoiceCallback.java
  4349. * javax/security/sasl/Sasl.java
  4350. * javax/security/sasl/SaslClient.java
  4351. * javax/security/sasl/SaslClientFactory.java
  4352. * javax/security/sasl/SaslException.java
  4353. * javax/security/sasl/SaslServer.java
  4354. * javax/security/sasl/SaslServerFactory.java
  4355. * org/ietf/jgss/ChannelBinding.java
  4356. * org/ietf/jgss/GSSContext.java
  4357. * org/ietf/jgss/GSSCredential.java
  4358. * org/ietf/jgss/GSSException.java
  4359. * org/ietf/jgss/GSSManager.java
  4360. * org/ietf/jgss/GSSName.java
  4361. * org/ietf/jgss/MessageProp.java
  4362. * org/ietf/jgss/Oid.java
  4363. * org/ietf/jgss/MessagesBundle.properties
  4364. Files imported from Jessie <http://www.nongnu.org/jessie/>
  4365. * javax/net/ServerSocketFactory.java
  4366. * javax/net/SocketFactory.java
  4367. * javax/net/VanillaServerSocketFactory.java
  4368. * javax/net/VanillaSocketFactory.java
  4369. * javax/net/ssl/HandshakeCompletedEvent.java
  4370. * javax/net/ssl/HandshakeCompletedListener.java
  4371. * javax/net/ssl/HostnameVerifier.java
  4372. * javax/net/ssl/HttpsURLConnection.java
  4373. * javax/net/ssl/KeyManager.java
  4374. * javax/net/ssl/KeyManagerFactory.java
  4375. * javax/net/ssl/KeyManagerFactorySpi.java
  4376. * javax/net/ssl/ManagerFactoryParameters.java
  4377. * javax/net/ssl/SSLContext.java
  4378. * javax/net/ssl/SSLContextSpi.java
  4379. * javax/net/ssl/SSLException.java
  4380. * javax/net/ssl/SSLHandshakeException.java
  4381. * javax/net/ssl/SSLKeyException.java
  4382. * javax/net/ssl/SSLPeerUnverifiedException.java
  4383. * javax/net/ssl/SSLPermission.java
  4384. * javax/net/ssl/SSLProtocolException.java
  4385. * javax/net/ssl/SSLServerSocket.java
  4386. * javax/net/ssl/SSLServerSocketFactory.java
  4387. * javax/net/ssl/SSLSession.java
  4388. * javax/net/ssl/SSLSessionBindingEvent.java
  4389. * javax/net/ssl/SSLSessionBindingListener.java
  4390. * javax/net/ssl/SSLSessionContext.java
  4391. * javax/net/ssl/SSLSocket.java
  4392. * javax/net/ssl/SSLSocketFactory.java
  4393. * javax/net/ssl/TrivialHostnameVerifier.java
  4394. * javax/net/ssl/TrustManager.java
  4395. * javax/net/ssl/TrustManagerFactory.java
  4396. * javax/net/ssl/TrustManagerFactorySpi.java
  4397. * javax/net/ssl/X509KeyManager.java
  4398. * javax/net/ssl/X509TrustManager.java
  4399. * javax/security/cert/Certificate.java
  4400. * javax/security/cert/CertificateEncodingException.java
  4401. * javax/security/cert/CertificateException.java
  4402. * javax/security/cert/CertificateExpiredException.java
  4403. * javax/security/cert/CertificateNotYetValidException.java
  4404. * javax/security/cert/CertificateParsingException.java
  4405. * javax/security/cert/X509CertBridge.java
  4406. * javax/security/cert/X509Certificate.java
  4407. 2004-08-20 Casey Marshall <csm@gnu.org>
  4408. * java/security/cert/X509CRLSelector.java: New file.
  4409. * java/security/cert/X509CertSelector.java: New file.
  4410. 2004-09-15 Michael Koch <konqueror@gmx.de>
  4411. * gnu/java/net/protocol/file/Handler.java
  4412. (openConnection): Don't throw exception if host part for file: URI is
  4413. present. setURL() keeps file: protocol if ftp: protocol is not
  4414. available.
  4415. 2004-09-14 Richard Henderson <rth@redhat.com>
  4416. * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
  4417. value of sigsuspend.
  4418. 2004-09-12 Tom Tromey <tromey@redhat.com>
  4419. * javax/naming/CompoundName.java (CompoundName): Don't check for
  4420. separator in "flat" case.
  4421. 2004-09-12 Michael Koch <konqueror@gmx.de>
  4422. * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
  4423. AM_CONFIG_HEADER by AC_CONFIG_FILES.
  4424. * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
  4425. Regenerate.
  4426. 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
  4427. PR libgcj/14751
  4428. * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
  4429. handle in newly-allocated _Jv_Thread_t.
  4430. (_Jv_ThreadDestroyData): Close thread handle.
  4431. (_Jv_ThreadStart): Remove obsolete comment.
  4432. Store handle of newly-created thread in _Jv_Thread_t.
  4433. * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
  4434. before including <windows.h>
  4435. #define _Jv_HaveCondDestroy
  4436. 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
  4437. * java/lang/natThread.cc (finalize_native): Destroy
  4438. join conditional variable and mutex if these destroy
  4439. operations are supported.
  4440. 2004-09-10 Dalibor Topic <robilad@kaffe.org>
  4441. * gnu/java/net/protocol/file/Connection.java (permission): New field.
  4442. (DEFAULT_PERMISSION): New constant.
  4443. (Connection): Create a FilePermission with permission to read file.
  4444. 2004-09-10 Michael Koch <konqueror@gmx.de>
  4445. * gnu/java/net/protocol/file/Connection.java
  4446. (getLastModified): Moved around.
  4447. (getPermission): Return stored permission.
  4448. 2004-09-10 Michael Koch <konqueror@gmx.de>
  4449. * Makefile.in: Regenerate.
  4450. 2004-09-10 Michael Koch <konqueror@gmx.de>
  4451. * Makefile.am: Reverted accidently commited stuff.
  4452. * configure: Regenerated.
  4453. 2004-09-10 Michael Koch <konqueror@gmx.de>
  4454. * gnu/java/net/protocol/file/Connection.java
  4455. (lineSeparator): Made non-final.
  4456. (static): Removed.
  4457. (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
  4458. instead of StringBufferInputStream.
  4459. 2004-09-10 Michael Koch <konqueror@gmx.de>
  4460. * gnu/java/net/protocol/file/Connection.java
  4461. (connect): Handle file is a directory case.
  4462. 2004-09-10 Michael Koch <konqueror@gmx.de>
  4463. * Makefile.am
  4464. (xlib_includes): Removed.
  4465. (AM_CPPFLAGS): Renamed from INCLUDES.
  4466. (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
  4467. * Makefile.in: Regenerate.
  4468. 2004-09-09 Michael Koch <konqueror@gmx.de>
  4469. * java/security/ProtectionDomain.java,
  4470. * java/util/PropertyPermissionCollection.java:
  4471. Fixed javadocs all over.
  4472. 2004-09-09 Sven de Marothy <sven@physto.se>
  4473. Patch from David Gilbert <david.gilbert@object-refinery.com>
  4474. * java/lang/Comparable.java: Fixed documentation errors.
  4475. * java/util/Arrays.java: Likewise.
  4476. 2004-09-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
  4477. * java/net/Inet4Address.java
  4478. (Inet4Address): Added comment to serialization UID.
  4479. * java/text/Format.java
  4480. (Format): Added comment to serialization UID.
  4481. 2004-09-09 Michael Koch <konqueror@gmx.de>
  4482. * java/lang/System.java
  4483. (err): Fixed javadoci to point to setErr() and not setOut().
  4484. 2004-09-09 Jeroen Frijters <jeroen@frijters.net>
  4485. (normalizePath): Added special case for windows systems.
  4486. 2004-09-09 Michael Koch <konqueror@gmx.de>
  4487. * java/io/File.java
  4488. (dupSeparator): Made private.
  4489. (File(URI)): New constructor.
  4490. (getParentFile): Fixed javadoc.
  4491. (createTempFile): Reformated.
  4492. (setReadOnly): Added comment.
  4493. (deleteOnExit): Merged javadoc with classpath version.
  4494. 2004-09-09 Michael Koch <konqueror@gmx.de>
  4495. * Makefile.am: Don't try to include deps.mk.
  4496. * Makefile.in: Regenerated.
  4497. 2004-09-08 Bryce McKinlay <mckinlay@redhat.com>
  4498. * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
  4499. .d files.
  4500. * configure: Rebuilt.
  4501. 2004-09-04 Mohan Embar <gnustuff@thisiscool.com>
  4502. * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
  4503. Changed pfn from static local to local.
  4504. 2004-09-03 Bryce McKinlay <mckinlay@redhat.com>
  4505. H.J. Lu <hongjiu.lu@intel.com>
  4506. PR libgcj/17290
  4507. * Makefile.am (GCJCOMPILE): Remove definition.
  4508. (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
  4509. Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
  4510. * Makefile.in: Rebuilt.
  4511. 2004-09-03 Kelley Cook <kcook@gcc.gnu.org>
  4512. * configure.ac (enable-gc-debug): Update help for new syntax.
  4513. * configure: Regenerate.
  4514. 2004-09-03 David Daney <ddaney@avtrex.com>
  4515. * include/mips-signal.h: Update copyright.
  4516. 2004-09-03 David Daney <ddaney@avtrex.com>
  4517. * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
  4518. * include/mips-signal.h: Added HANDLE_FPE support.
  4519. 2004-08-31 Michael Koch <konqueror@gmx.de>
  4520. * javax/swing/plaf/basic/BasicTextAreaUI.java
  4521. (create): New method.
  4522. * javax/swing/text/DefaultHighlighter.java
  4523. (DefaultHighlightPainter.debugRect): Removed.
  4524. * javax/swing/text/StyleContext.java
  4525. (DEFAULT_STYLE): New field.
  4526. 2004-08-31 Michael Koch <konqueror@gmx.de>
  4527. * javax/swing/plaf/basic/BasicLookAndFeel.java
  4528. (initComponentDefaults): Add keybindings for selection.backward and
  4529. selection-forward for text components.
  4530. * javax/swing/plaf/basic/BasicTextUI.java
  4531. (paintSafely): Paint highlight only when something is actually
  4532. selected.
  4533. * javax/swing/text/DefaultCaret.java
  4534. (handleHighlight): New method.
  4535. (setSelectionVisible): Don't do anything when nothing changes.
  4536. Handle highlight.
  4537. (moveDot): Reimplemented. Handle highlight.
  4538. (setDot): Set mark too. Handle highlight.
  4539. (getSelectionPainter): New method.
  4540. * javax/swing/text/DefaultEditorKit.java
  4541. (defaultActions): Added new actions for text selection.
  4542. * javax/swing/text/DefaultHighlighter.java
  4543. (DefaultHighlightPainter): New inner class.
  4544. (DefaultPainter): New field.
  4545. (paint): Implemented.
  4546. * javax/swing/text/PlainView.java
  4547. (paint): Don't draw background here again.
  4548. * javax/swing/text/Utilities.java
  4549. (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
  4550. (drawTabbedText): Likewise.
  4551. 2004-08-31 Graydon Hoare <graydon@redhat.com>
  4552. * javax/swing/JComponent.java
  4553. (resetKeyboardActions): Add null checks.
  4554. 2004-08-31 Graydon Hoare <graydon@redhat.com>
  4555. * javax/swing/DefaultButtonModel.java:
  4556. Skip group notification when no group is set.
  4557. 2004-08-31 Graydon Hoare <graydon@redhat.com>
  4558. * javax/swing/JColorChooser.java:
  4559. Make a couple inner classes static, for jikes.
  4560. 2004-08-31 Michael Koch <konqueror@gmx.de>
  4561. * javax/swing/plaf/basic/BasicTextUI.java
  4562. (RottView.modelToView): New method.
  4563. (UpdateHandler): Renamed from EventHandler.
  4564. (updateHandler): Renamed from eventHandler.
  4565. (modelToView): Implemented.
  4566. * javax/swing/text/AbstractDocument.java
  4567. (BranchElement.getElement): Return null for non-existing indeces.
  4568. (BranchElement.getElementIndex): Return 0 in some corner cases.
  4569. * javax/swing/text/FieldView.java
  4570. (modelToView): New method.
  4571. * javax/swing/text/PlainView.java
  4572. (modelToView): Made public.
  4573. 2004-08-31 Kim Ho <kho@redhat.com>
  4574. * Makefile.am: New files.
  4575. * Makefile.in: Regenerate.
  4576. * gcj/Makefile.in: Regenerate.
  4577. * include/Makefile.in: Regenerate.
  4578. * java/awt/Color.java: Fix documentation.
  4579. (RGBtoHSB): Use floats for conversions.
  4580. * javax/swing/ButtonGroup.java: Run Jalopy.
  4581. (setSelected): Reimplement.
  4582. * javax/swing/DefaultButtonModel.java: Run Jalopy.
  4583. (changeState): Let ButtonGroup know that the button
  4584. is changing state.
  4585. * javax/swing/JColorChooser.java: Implement.
  4586. * javax/swing/JLabel.java: Run Jalopy.
  4587. * javax/swing/JSpinner.java: Run Jalopy.
  4588. (setValue): New method.
  4589. * javax/swing/JTabbedPane.java: Run Jalopy.
  4590. (removeTabAt): Call correct remove method.
  4591. * javax/swing/SpinnerNumberModel.java: Run Jalopy.
  4592. (getPreviousValue): Compare minimum value.
  4593. * javax/swing/Timer.java: Run Jalopy.
  4594. (run): Comment out println.
  4595. * javax/swing/ToolTipManager.java:
  4596. (mouseMoved): Get new tooltip text for location.
  4597. * javax/swing/colorchooser/AbstractColorChooserPanel.java:
  4598. Jalopy and Javadoc.
  4599. * javax/swing/colorchooser/ColorChooserComponentFactory.java:
  4600. Implement.
  4601. * javax/swing/colorchooser/DefaultColorSelectionModel.java:
  4602. Run Jalopy.
  4603. (setSelectedColor): Fire ChangeEvent.
  4604. * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
  4605. New file. Implement.
  4606. * javax/swing/colorchooser/DefaultPreviewPanel.java:
  4607. Ditto.
  4608. * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
  4609. Ditto.
  4610. * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
  4611. Ditto.
  4612. * javax/swing/plaf/basic/BasicArrowButton.java:
  4613. (getArrow): Fix size of upward pointing button.
  4614. * javax/swing/plaf/basic/BasicColorChooserUI.java:
  4615. Implement.
  4616. * javax/swing/plaf/basic/BasicSliderUI.java:
  4617. (getWidthOfWidestLabel): Use preferred dimensions.
  4618. (getHeightOfTallestLabel): Ditto.
  4619. * javax/swing/plaf/basic/BasicSpinnerUI.java:
  4620. Run Jalopy.
  4621. (mousePressed): Disable changes to spinner if it is not enabled.
  4622. * testsuite/Makefile.in: Regenerate.
  4623. 2004-08-31 Michael Koch <konqueror@gmx.de>
  4624. * javax/swing/plaf/basic/BasicTableHeaderUI.java,
  4625. javax/swing/plaf/basic/BasicTableUI.java:
  4626. Added copyright notice.
  4627. 2004-08-31 Olga Rodimina <rodimina@redhat.com>
  4628. * Makefile.am: Added new files.
  4629. * Makefile.in: Regenerate.
  4630. * javax/swing/ComboBoxEditor.java: Added javadocs.
  4631. * javax/swing/ComboBoxModel.java: Likewise.
  4632. * javax/swing/DefaultComboBoxModel.java: Implemented.
  4633. * javax/swing/DefaultListCellRenderer.java: Added javadocs
  4634. and ran through jalopy to fix formatting style.
  4635. (getListCellRendererComponent): Use appropriate border
  4636. if renderer has focus and use noFocusBorder when it doesn't.
  4637. * javax/swing/JComboBox.java: Implemented.
  4638. * javax/swing/JList.java:
  4639. (locationToIndex): New Method. Implemented.
  4640. (indexToLocation): New Method.
  4641. * javax/swing/JPopupMenu.java:
  4642. (visible): New field.
  4643. (isVisible): Changed to use new field above.
  4644. (setVisible): Likewise.
  4645. * javax/swing/MutableComboBoxModel.java: Added javadocs.
  4646. * javax/swing/plaf/basic/BasicArrowButton.java:
  4647. (shadow): Changed default color to Color.gray.
  4648. * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
  4649. UI delegate for JComboBox.
  4650. * javax/swing/plaf/basic/BasicComboPopup.java: New File.
  4651. Popup menu containing list of JComboBox's items.
  4652. * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
  4653. * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
  4654. * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
  4655. * javax/swing/plaf/basic/BasicComboPopup.java: New File.
  4656. * javax/swing/plaf/basic/BasicPopupMenuUI.java:
  4657. (popupMenuWillBecomeVisible): Set selected path to the first
  4658. element only if it is of type MenuElement. Also fix formatting
  4659. style.
  4660. * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
  4661. methods signatures.
  4662. 2004-08-31 Michael Koch <konqueror@gmx.de>
  4663. * javax/swing/text/AbstractDocument.java
  4664. (createBranchElement): Use new constructor of BranchElement.
  4665. (createLeafElement): Renamed arguments.
  4666. (getRootElements): Implemented.
  4667. (BranchElement.start): Removed.
  4668. (BranchElement.end): Likewise.
  4669. (BranchElement.BranchElement): Fixed arguments.
  4670. (BranchElement.getEndOffset): Reimplemented.
  4671. (BranchElement.getStartOffset): Likewis.
  4672. * javax/swing/text/DefaultCaret.java
  4673. (paint): Draw simple vertical line as caret instead of a rectangle.
  4674. * javax/swing/text/JTextComponent.java
  4675. (setText): Use doc directly.
  4676. * javax/swing/text/PlainView.java
  4677. (nextTabStop): Implemented.
  4678. * javax/swing/text/Utilities.java
  4679. (drawTabbedText): nextTabStop() returns an absolute x position.
  4680. (getTabbedTextWidth): Likewise.
  4681. 2004-08-31 Graydon Hoare <graydon@redhat.com>
  4682. * java/awt/Component.java
  4683. (isFocusTraversable): Predicate on isLightweight()
  4684. (setFocusable): Set isFocusTraversableOverridden.
  4685. (requestFocus): Predicate peer dispatch on !isLightweight()
  4686. (requestFocusInWindow): Likewise.
  4687. (dispatchEventImpl): Coordinate with KeyboardFocusManager.
  4688. * java/awt/Container.java
  4689. (dispatchEventImpl): Predicate on event mask.
  4690. (LightweightDispatcher): Remove focus machinery.
  4691. * java/awt/DefaultFocusTraversalPolicy.java
  4692. (accept): Expand predicate to include isFocusable().
  4693. * java/awt/DefaultKeyboardFocusManager.java:
  4694. Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
  4695. * java/awt/KeyboardFocusManager.java
  4696. (redispatchEvent): Synchronize on event to prevent feedback.
  4697. * javax/swing/AbstractButton.java
  4698. (ButtonFocusListener): Remove class.
  4699. (init): Set focusPainted, focusable.
  4700. * javax/swing/ActionMap.java (get): Check parent for null.
  4701. * javax/swing/InputMap.java (get): Likewise.
  4702. * javax/swing/JComponent.java
  4703. (inputMap_whenFocused): New InputMap.
  4704. (inputMap_whenAncestorOfFocused): Likewise.
  4705. (inputMap_whenInFocusedWindow): Likewise.
  4706. (getActionForKeyStroke): Rewrite.
  4707. (getConditionForKeystroke): Likewise.
  4708. (ActionListenerProxy): New private class.
  4709. (setInputMap): Implement.
  4710. (getInputMap): Likewise.
  4711. (setActionMap): Likewise.
  4712. (getActionMap): Likewise.
  4713. (processComponentKeyEvent): New empty method.
  4714. (processKeyEvent): Implement.
  4715. (processKeyBinding): Likewise.
  4716. (resetKeyboardActions): Rewrite.
  4717. * javax/swing/KeyStroke.java: Rewrite.
  4718. * javax/swing/SwingUtilities.java
  4719. (notifyAction): Implement.
  4720. (replaceUIActionMap): Likewise.
  4721. (replaceUIInputMap): Likewise.
  4722. * javax/swing/plaf/basic/BasicButtonListener.java
  4723. (focusGained): Implement.
  4724. (focusLost): Repaint if focusPainted().
  4725. (installKeyboardActions): Install pressed / released actions.
  4726. (uninstallKeyboardActions): Implement.
  4727. * javax/swing/plaf/basic/BasicButtonUI.java
  4728. (focusColor): New field.
  4729. (installDefaults): Load focus color, install input map.
  4730. (installKeyboardActions): Implement.
  4731. (uninstallKeyboardActions): Likewise.
  4732. (paintFocus): Rewrite.
  4733. * javax/swing/plaf/basic/BasicLookAndFeel.java
  4734. (Button.focus): New default, midPurple.
  4735. * javax/swing/plaf/basic/BasicTextUI.java
  4736. (kit): Make static.
  4737. (installUI): Get doc from kit, load defaults.
  4738. (getKeymapName): Implement.
  4739. (createKeymap): Likewise.
  4740. (installKeyboardActions): Likewise.
  4741. (getInputMap): Likewise.
  4742. (getActionMap): Likewise.
  4743. (createActionMap): Likewise.
  4744. * javax/swing/text/AbstractDocument.java
  4745. (getStartPosition): Implement.
  4746. (getEndPosition): Likewise.
  4747. * javax/swing/text/DefaultEditorKit.java
  4748. (CopyAction): New class.
  4749. (CutAction): Likewise.
  4750. (DefaultKeyTypedAction): Likewise.
  4751. (InsertBreakAction): Likewise.
  4752. (InsertContentAction): Likewise.
  4753. (InsertTabAction): Likewise.
  4754. (PasteAction): Likewise.
  4755. (defaultActions): New static table.
  4756. (createCaret): Implement.
  4757. (getActions): Likewise.
  4758. * javax/swing/text/JTextComponent.java
  4759. (KeymapWrapper): New private class.
  4760. (KeymapActionMap): Likewise.
  4761. (DefaultKeymap): New class.
  4762. (keymaps): New static table.
  4763. (keymap): New field.
  4764. (getKeymap): Implement.
  4765. (removeKeymap): Likewise.
  4766. (addKeymap): Likewise.
  4767. (setKeymap): Likewise.
  4768. (loadKeymap): Likewise.
  4769. (getActions): Likewise.
  4770. (margin): New field.
  4771. (JTextComponent): Build and install default keymap.
  4772. * javax/swing/text/TextAction.java
  4773. (textAction): Call super properly.
  4774. (getTextComponent): Implement.
  4775. * javax/swing/text/Utilities.java
  4776. (drawTabbedText): Adjust position by ascent.
  4777. 2004-08-31 David Jee <djee@redhat.com>
  4778. PR AWT/17156
  4779. * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
  4780. (setEnabled): Make it a native method.
  4781. * java/awt/DefaultKeyboardFocusManager.java
  4782. (postProcessKeyEvent): Only post event if the menu item
  4783. is active.
  4784. * java/awt/MenuItem.java:
  4785. Private field 'enabled' should be true by default.
  4786. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
  4787. (setEnabled): New function.
  4788. 2004-08-31 David Jee <djee@redhat.com>
  4789. PR AWT/17059
  4790. * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
  4791. (nativeSetHelpMenu): New native method declaration.
  4792. (addHelpMenu): Call nativeSetHelpMenu().
  4793. (addMenu): Remove.
  4794. * java/awt/MenuBar.java
  4795. (setHelpMenu): Call addNotify() on the new help menu.
  4796. (add): Call addNotify() on the new menu.
  4797. (addNotify): Set the help menu if one exists.
  4798. * java/awt/peer/MenuBarPeer.java
  4799. (addMenu): Remove.
  4800. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
  4801. (nativeSetHelpMenu): New method.
  4802. 2004-08-31 Graydon Hoare <graydon@redhat.com>
  4803. * Makefile.am: Add new files.
  4804. * Makefile.in: Regenerate.
  4805. * javax/swing/Box.java: Fix setting of layout in ctor.
  4806. * javax/swing/JScrollPane.java: Scroll headers as well.
  4807. * javax/swing/JTable.java: Reimplement.
  4808. * javax/swing/JViewPort.java: Only add non-null children.
  4809. * javax/swing/ScrollPaneLayout.java: Correct header calculations.
  4810. * javax/swing/Timer.java: Fix stopping null waker.
  4811. * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
  4812. * javax/swing/plaf/basic/BasicTableUI.java: New file.
  4813. * javax/swing/table/DefaultTableCellRenderer.java: Configure.
  4814. * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
  4815. * javax/swing/table/DefaultTableModel.java: Clean up.
  4816. * javax/swing/table/JTableHeader.java: Implement.
  4817. 2004-08-31 Mark Wielaard <mark@klomp.org>
  4818. * javax/swing/JSpinner.java (getChangeListeners): Remove double
  4819. semi-colon.
  4820. 2004-08-31 Mark Wielaard <mark@klomp.org>
  4821. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
  4822. Declare variables at top of functions/block.
  4823. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
  4824. 2004-08-31 Mark Wielaard <mark@klomp.org>
  4825. * java/lang/Rectangle.java (intersects): Check r.width and r.height
  4826. first.
  4827. 2004-08-31 Michael Koch <konqueror@gmx.de>
  4828. * javax/swing/text/PlainView.java
  4829. (selectedColor): New field.
  4830. (unselectedColor): Likewise.
  4831. (font): Likewise.
  4832. (updateMetrics): New method.
  4833. (lineToRect): Likewise.
  4834. (modelToView): Likewise.
  4835. (drawSelectedText): Use color from JTextComponent ad draw with
  4836. Utilities class.
  4837. (drawUnselectedText): Likewise.
  4838. (paint): Initialize helper fields.
  4839. * javax/swing/text/View.java
  4840. (getChildAllocation): New method.
  4841. (getViewIndex): Likewise.
  4842. (getToolTipText): Likewise.
  4843. 2004-08-31 Michael Koch <konqueror@gmx.de>
  4844. * javax/swing/text/Utilities.java
  4845. (drawTabbedText): Reimplemented.
  4846. (getTabbedTextWidth): Likewise.
  4847. 2004-08-31 Michael Koch <konqueror@gmx.de>
  4848. * javax/swing/plaf/basic/BasicTextUI.java
  4849. (installDefaults): Install caret and highlighter.
  4850. (modelToView): Use Bias.Forward when calling sibling.
  4851. * javax/swing/text/AbstractDocument.java
  4852. (ElementEdit): Implements DocumentEvent.ElementChange.
  4853. (ElementEdit.ElementEdit): New method.
  4854. (ElementEdit.getChildrenAdded): Likewise.
  4855. (ElementEdit.getChildrenRemoved): Likewise.
  4856. (ElementEdit.getElement): Likewise.
  4857. (ElementEdit.getIndex): Likewise.
  4858. * javax/swing/text/DefaultCaret.java
  4859. (color): Removed.
  4860. (textComponent): Renamed from parent, made private.
  4861. (selectionVisible): Renamed from vis_sel, made private.
  4862. (blinkRate): Renamed from blink, made private.
  4863. (magicCaretPosition): Renamed from magic, made private.
  4864. (visible): Renamed from vis, made private.
  4865. (dot): Made private.
  4866. (mark): Likewise.
  4867. (deinstall): Remove as MouseMotionListener.
  4868. (install): Initialize textComponent first. Add as MouseMotionListener.
  4869. (paint): Reimplemented.
  4870. * javax/swing/text/JTextComponent.java
  4871. (setCaret): Deinstall old caret, install new one and fire property
  4872. change after setting property.
  4873. (setHighlighter): Deinstall old highlighter, install new one and fire
  4874. property change after setting property.
  4875. (setCaretColor): Fire property change after setting property.
  4876. (setDisabledTextColor): Likewise.
  4877. (setSelectedTextColor): Likewise.
  4878. (setSelectionColor): Likewise.
  4879. (modelToView): New method.
  4880. 2004-08-31 Michael Koch <konqueror@gmx.de>
  4881. * javax/swing/text/AbstractDocument.java
  4882. (getText): Simplified.
  4883. * javax/swing/text/Segment.java
  4884. (current): New field.
  4885. (current): Reimplemented.
  4886. (first): Likewise.
  4887. (getIndex): Likewise.
  4888. (last): Likewise.
  4889. (next): Likewise.
  4890. (previous): Likewise.
  4891. (setIndex): Likewise.
  4892. 2004-08-31 Michael Koch <konqueror@gmx.de>
  4893. * javax/swing/plaf/basic/BasicButtonUI.java
  4894. (defaultTextIconGap): Made protected.
  4895. (defaultTextShiftOffset): Likewise.
  4896. (textShiftOffset): New field.
  4897. (clearTextShiftOffset): New method.
  4898. (getTextShiftOffset): Likewise.
  4899. (setTextShiftOffset): Likewise.
  4900. 2004-08-31 Michael Koch <konqueror@gmx.de>
  4901. * javax/swing/plaf/basic/BasicTextUI.java
  4902. (installUI): Add eventHandler as property listener.
  4903. (uninstallUI): remove eventHandler as propert listener.
  4904. (installDefaults): Added comment.
  4905. (installListeners): Likewise.
  4906. (installKeyboardActions): Likewise.
  4907. (uninstallDefaults): Likewise.
  4908. (uninstallListeners): Likewise.
  4909. (uninstallKeyboardActions): Likewise.
  4910. 2004-08-31 Michael Koch <konqueror@gmx.de>
  4911. * javax/swing/text/AbstractDocument.java:
  4912. Fixed some typos in comments.
  4913. (insertString): Reimplemented.
  4914. (remove): Likewise.
  4915. (replace): New method.
  4916. (children): Dont use fully qualified class name.
  4917. (DefaultDocumentEvent.offset): Renamed from off.
  4918. (DefaultDocumentEvent.length): Renamed from len.
  4919. (DefaultDocumentEvent.type): New field.
  4920. (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
  4921. (DefaultDocumentEvent.getType): Implemented.
  4922. 2004-08-31 Michael Koch <konqueror@gmx.de>
  4923. * javax/swing/plaf/basic/BasicTextUI.java
  4924. (RootView.textComponent): Removed.
  4925. (RootView.RootView): Don't initialize textComponent.
  4926. (RootView.getViewFactory): New method.
  4927. (EventHandler): New inner class.
  4928. (rootView): Initialize at instance creation.
  4929. (eventHandler): New field.
  4930. (installUI): Don't create view hierarchy directly,
  4931. call modelChanged() instead.
  4932. (modelChanged): New method.
  4933. * javax/swing/text/JTextComponent.java
  4934. (setDocument): Fire property change event.
  4935. 2004-08-31 Michael Koch <konqueror@gmx.de>
  4936. * javax/swing/plaf/basic/BasicTextUI.java
  4937. (RootView.paint): Removed debug output.
  4938. (paintSafely): Draw highlighter before text.
  4939. (paintBackground): Use background color of text component.
  4940. * javax/swing/plaf/basic/BasicToggleButtonUI.java:
  4941. Reformatted.
  4942. 2004-08-31 Michael Koch <konqueror@gmx.de>
  4943. * javax/swing/plaf/basic/BasicToolBarUI.java
  4944. (BasicToolBarUI): Fixed arguments for constructor.
  4945. (createUI): Fixed creation of object.
  4946. 2004-08-31 Michael Koch <konqueror@gmx.de>
  4947. * javax/swing/DefaultListSelectionModel.java
  4948. (fireValueChanged): Renamed from fireSelectionValueChanged,
  4949. made protected.
  4950. 2004-08-31 Michael Koch <konqueror@gmx.de>
  4951. * javax/swing/text/TabSet.java
  4952. (TabSet): Implements java.io.Serializable.
  4953. * javax/swing/text/TabStop.java
  4954. (TabStop): Implements java.io.Serializable.
  4955. (TabStop): Made public.
  4956. 2004-08-31 Michael Koch <konqueror@gmx.de>
  4957. * javax/swing/JComponent.java
  4958. (setUI): Fire PropertyChange.
  4959. * javax/swing/JLabel.java
  4960. (text): Renamed from labelText.
  4961. (horizontalAlignment): New default vlaue.
  4962. (icon): Renamed from activeIcon.
  4963. (displayedMnemonic): Renamed from mnemonicKey, added default value.
  4964. (displayedMnemonicIndex): Renamed from underlineChar.
  4965. (setDisplayedMnemonic): Reimplemented.
  4966. * javax/swing/JRadioButton.java
  4967. (JRadioButton): New constructors.
  4968. * javax/swing/JTextField.java
  4969. (JTextField): Throw exception if colums < 0, initialitialz
  4970. this.columns directly and initialize document with text conditionally.
  4971. 2004-08-31 Michael Koch <konqueror@gmx.de>
  4972. * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
  4973. javax/swing/plaf/basic/BasicPasswordFieldUI.java,
  4974. javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
  4975. * javax/swing/text/FieldView.java
  4976. (paint): Just call super method for now.
  4977. * Makefile.am: Added new files.
  4978. * Makefile.in: Regenerated.
  4979. 2004-08-31 Ka-Hing Cheung <kahing@javabsp.org>
  4980. * javax/swing/AbstractSpinnerModel.java,
  4981. javax/swing/JSpinner.java,
  4982. javax/swing/SpinnerNumberModel.java,
  4983. javax/swing/plaf/basic/BasicSpinnerUI.java:
  4984. New files.
  4985. * javax/swing/plaf/basic/BasicLookAndFeel.java
  4986. (initClassDefaults): Added defaults for BasicSpinnerUI.
  4987. 2004-08-31 Michael Koch <konqueror@gmx.de>
  4988. * Makefile.am: Added new files.
  4989. * Makefile.in: Regenerated.
  4990. 2004-08-31 Michael Koch <konqueror@gmx.de>
  4991. * javax/swing/TransferHandler.java,
  4992. javax/swing/plaf/basic/ComboPopup.java: New files
  4993. * Makefile.am: Added javax/swing/TransferHandler.java and
  4994. javax/swing/plaf/basic/ComboPopup.java
  4995. * Makefile.in: Regenerated.
  4996. 2004-08-31 Roman Kennke <roman@ontographics.com>
  4997. * javax/swing/text/Utilities.java: New file.
  4998. 2004-08-31 Michael Koch <konqueror@gmx.de>
  4999. * Makefile.am: Added javax/swing/text/Utilities.java.
  5000. * Makefile.in: Regenerated.
  5001. 2004-08-31 Graydon Hoare <graydon@redhat.com>
  5002. * javax/swing/text/SimpleAttributeSet.java: New file.
  5003. * javax/swing/text/StyleConstants.java: New file.
  5004. * javax/swing/text/StyleContext.java: New file.
  5005. * javax/swing/text/TabSet.java: New file.
  5006. * javax/swing/text/TabStop.java: New file.
  5007. * javax/swing/text/AbstactDocument.java:
  5008. (AbstractElement): Implement attribute support.
  5009. * javax/swing/text/AttributeSet.java
  5010. (NameAttribute): New static field.
  5011. (ResolveAttribute): New static field.
  5012. * Makefile.am: Update for new files.
  5013. * Makefile.in: Regenerate.
  5014. 2004-08-31 Craig Black <craig.black@aonix.com>
  5015. * gnu/java/awt/peer/gtk/GdkGraphics.java
  5016. (drawImage): Add support for scaling pixmaps.
  5017. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
  5018. (copyAndScalePixmap): New native method.
  5019. 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
  5020. PR AWT/16121
  5021. * jni/gtk-peer/gthread-jni.c: Include stdio.h. Eliminate
  5022. type-punning compiler warnings using unions.
  5023. (throw): Replace bzero with memset.
  5024. 2004-08-31 Andreas Tobler <a.tobler@schweiz.ch>
  5025. Thomas Fitzsimmons <fitzsim@redhat.com>
  5026. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
  5027. NSA_PB macros to gtkpeer.h. Include gtkpeer.h.
  5028. * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
  5029. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
  5030. (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
  5031. 2004-08-31 Mark Wielaard <mark@klomp.org>
  5032. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
  5033. #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
  5034. and stdlib.h, not gtkpeer.h.
  5035. (*vm): New static variable.
  5036. (areaPreparedID): Make static.
  5037. (areaUpdatedID): Likewise.
  5038. (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
  5039. (area_prepared): Likewise.
  5040. (area_updated): Likewise.
  5041. (closed): Likewise.
  5042. (initStaticState): Initialize *vm javaVM.
  5043. (pumpBytes): Use given env, not global gdk_env.
  5044. 2004-08-31 Mark Wielaard <mark@klomp.org>
  5045. * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
  5046. comments.
  5047. 2004-08-31 Sven de Marothy <sven@physto.se>
  5048. * java/awt/geom/CubicCurve2D.java: Reindent.
  5049. (contains): Implemented.
  5050. (intersects): Implemented.
  5051. * java/awt/geom/QuadCurve2D.java: Likewise.
  5052. * java/awt/geom/GeneralPath.java: Reindent and document.
  5053. Fully (re)implemented using separate xpoints and ypoints
  5054. float[] coords.
  5055. * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
  5056. 2004-08-31 Michael Koch <konqueror@gmx.de>
  5057. * javax/swing/JMenuItem.java
  5058. (getMenuDragMouseListeners): New method.
  5059. (getMenuKeyListeners): Likewise.
  5060. 2004-08-31 Michael Koch <konqueror@gmx.de>
  5061. * javax/swing/AbstractButton.java
  5062. (model): Made protected.
  5063. (actionListener): Likewise.
  5064. (changeListener): Likewise.
  5065. (itemListener): Likewise.
  5066. (multiClickThreshhold): New field.
  5067. (getActionListeners): New method.
  5068. (getChangeListeners): Likewise.
  5069. (getItemListeners): Likewise.
  5070. (fireItemStateChanged): Simplified implementation.
  5071. (fireActionPerformed): Likewise.
  5072. (fireStateChanged): Likewise.
  5073. (getMultiClickThreshhold): New method.
  5074. (setMultiClickThreshhold): Likewise.
  5075. 2004-08-31 Tom Tromey <tromey@redhat.com>
  5076. * java/awt/image/Kernel.java (clone): Use super.clone().
  5077. 2004-08-31 David Jee <djee@redhat.com>
  5078. PR AWT/16682
  5079. * gnu/java/awt/peer/gtk/GtkFramePeer.java
  5080. (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
  5081. (nativeSetIconImageFromData): New native method declaration.
  5082. (setIconImage): Handle images not produced from GdkPixbufDecoder.
  5083. * gnu/java/awt/peer/gtk/GtkImage.java
  5084. (getPixelCache): New method.
  5085. (getColorModel): New method.
  5086. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
  5087. (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
  5088. (free_pixbuf_data): New helper function.
  5089. (nativeSetIconImageFromData): New function.
  5090. 2004-08-31 Graydon Hoare <graydon@redhat.com>
  5091. PR SWING/16576
  5092. * javax/swing/JLayeredPane.java
  5093. (setLayer): Permit changing layer after addition.
  5094. (setPosition): Permit over-length positions.
  5095. (layerToRange): Compare intValue()s.
  5096. * javax/swing/Box.java (createHorizontalBox): Implement.
  5097. (createRigidArea): Likewise.
  5098. (createVerticalBox): Likewise.
  5099. 2004-08-31 Kim Ho <kho@redhat.com>
  5100. * java/awt/Component.java:
  5101. (processMouseEvent): Consume event after
  5102. listeners process it.
  5103. (processMouseMotionEvent): ditto.
  5104. (processMouseWheelEvent): ditto.
  5105. * java/awt/Container.java:
  5106. (acquireComponentForMouseEvent):
  5107. Do not dispatch to events that have been
  5108. removed from the Container.
  5109. (handleEvent): Consume the MouseEvents.
  5110. * javax/swing/RepaintManager.java:
  5111. (paintDirtyRegions): Do not add to list of
  5112. damaged areas if the component has no root.
  5113. 2004-08-31 Michael Koch <konqueror@gmx.de>
  5114. * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
  5115. 2004-08-31 Mark Wielaard <mark@klomp.org>
  5116. * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
  5117. null when a MissingResourceException is thrown. Should never happen.
  5118. 2004-08-31 Mark Wielaard <mark@klomp.org>
  5119. * java/awt/EventQueue.java (postEvent): Throw NullPointerException
  5120. when argument is null.
  5121. 2004-08-31 Mark Wielaard <mark@klomp.org>
  5122. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
  5123. (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
  5124. Define hid at start of function.
  5125. (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
  5126. Likewise.
  5127. 2004-08-31 Mark Wielaard <mark@klomp.org>
  5128. * gnu/java/awt/EmbeddedWindow.java: Reindent.
  5129. * javax/swing/JButton.java: Reindent.
  5130. * javax/swing/JCheckBox.java: Reindent.
  5131. 2004-08-31 Mark Wielaard <mark@klomp.org>
  5132. * Makefile.am (gtk_c_source_files): Added
  5133. jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
  5134. (gtk_awt_peer_sources): Added
  5135. gnu/java/awt/peer/gtk/GThreadMutex.java and
  5136. gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
  5137. * Makefile.in: Regenerated.
  5138. 2004-08-31 Archie Cobbs <archie@dellroad.org>
  5139. * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
  5140. 2004-08-31 Steven Augart <augart@watson.ibm.com>
  5141. * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types):
  5142. Added jfieldID, jmethodID.
  5143. 2004-08-31 Mark Wielaard <mark@klomp.org>
  5144. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
  5145. (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
  5146. gdk_env before calling any gdk or gtk function.
  5147. * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
  5148. (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
  5149. (run): Set gtkInitCalled.
  5150. 2004-08-31 Steven Augart <augart@watson.ibm.com>
  5151. * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of
  5152. the gnu.classpath.awt.gtk.portable.native.sync system property to C.
  5153. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
  5154. (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
  5155. portableNativeSync. Delegate PORTABLE_NATIVE_SYNC work to
  5156. init_glib_threads.
  5157. (init_glib_threads): New function.
  5158. 2004-08-31 Mark Wielaard <mark@klomp.org>
  5159. * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
  5160. PRIORITY when not already defined in header file.
  5161. 2004-08-31 Mark Wielaard <mark@klomp.org>
  5162. * jni/gtk-peer/gthread-jni.c (setup_cache): Call
  5163. ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
  5164. 2004-08-31 Steven Augart <augart@watson.ibm.com>
  5165. * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
  5166. Implemented missing functions for GTK2.
  5167. Added error handling.
  5168. Renamed static functions out of the g_ namespace.
  5169. Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN,
  5170. EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
  5171. Rewrote global-reference code.
  5172. Eliminated cascading errors.
  5173. (mutex_trylock_jni_impl) Fully implemented.
  5174. (cond_timed_wait_jni_impl) Went from millisecond to microsecond
  5175. resolution.
  5176. (setup_cache) New function.
  5177. (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
  5178. bug where they were not unlocking the GMutex associated with the
  5179. condition variable during the wait on that condition variable.
  5180. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
  5181. native/jni/gtk-peer/gthread-jni.c,
  5182. native/jni/gtk-peer/gthread-jni.h
  5183. (g_thread_jni_functions): Renamed to ...
  5184. (portable_native_sync_jni_functions): this name.
  5185. (gdk_vm): Renamed to...
  5186. (the_vm): this name.
  5187. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
  5188. (gdk_vm): Removed duplicate definition.
  5189. (gtkInit): Removed stray message to stdout.
  5190. (gtkInit): Use g_malloc and g_free instead of malloc and free.
  5191. (gtkInit): Fix a const assignment bug.
  5192. (gtkInit): Simplified code.
  5193. * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
  5194. native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
  5195. native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
  5196. gnu/java/awt/peer/gtk/GThreadMutex.java:
  5197. New files.
  5198. 2004-08-31 Mark Wielaard <mark@klomp.org>
  5199. * javax/swing/Box.java: Put FIXME comment above class declaration.
  5200. * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
  5201. * javax/swing/JCheckBox.java: Likewise.
  5202. * javax/swing/JDialog.java: Likewise.
  5203. * javax/swing/JRadioButton.java: Likewise.
  5204. * javax/swing/JToggleButton.java: Likewise.
  5205. * javax/swing/UIManager.java: Likewise.
  5206. * javax/swing/border/TitledBorder.java: Likewise.
  5207. * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
  5208. * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
  5209. * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
  5210. * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
  5211. * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
  5212. * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
  5213. * javax/swing/text/JTextComponent.java: Likewise.
  5214. 2004-08-31 David Jee <djee@redhat.com>
  5215. PR AWT/16682
  5216. * gnu/java/awt/peer/gtk/GtkFramePeer.java
  5217. (setIconImage): Add a FIXME for unhandled cases.
  5218. 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
  5219. PR AWT/16040
  5220. * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
  5221. getModifiers. Replace old button masks with new ones.
  5222. * gnu/awt/xlib/XEventLoop.java: Likewise.
  5223. * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
  5224. * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
  5225. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
  5226. * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
  5227. * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
  5228. * java/awt/AWTKeyStroke.java: Remove old modifier masks.
  5229. * java/awt/Component.java: Replace old modifier masks with new
  5230. ones.
  5231. * java/awt/Container.java: Call getModifiersEx, not
  5232. getModifiers.
  5233. * java/awt/DefaultKeyboardFocusManager.java: Likewise. Remove
  5234. old modifier masks.
  5235. * javax/swing/JMenuItem.java: Replace old button masks with new
  5236. ones.
  5237. * javax/swing/KeyStroke.java: Call getModifiersEx, not
  5238. getModifiers.
  5239. * javax/swing/SwingUtilities.java: Likewise.
  5240. * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
  5241. * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
  5242. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
  5243. mask macros with new ones.
  5244. * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
  5245. macros with new ones representing new masks.
  5246. 2004-08-31 Craig Black <craig.black@aonix.com>
  5247. * gnu/java/awt/peer/gtk/GdkGraphics.java
  5248. (drawRoundRect): Implemented.
  5249. (fillRoundRect): Implemented.
  5250. * gnu/java/awt/peer/gtk/GdkGraphics2D.java
  5251. (drawRoundRect): Reimplemented to match GdkGraphics.
  5252. (fillRoundRect): Reimplemented to match GdkGraphics.
  5253. 2004-08-31 Mark Wielaard <mark@klomp.org>
  5254. * Makefile.in: Regenerated.
  5255. 2004-08-31 Michael Koch <konqueror@gmx.de>
  5256. * gnu/java/awt/EmbeddedWindow.java
  5257. (addNotify): Use AccessController to allow execution of privileged
  5258. code.
  5259. 2004-08-31 Michael Koch <konqueror@gmx.de>
  5260. * gnu/java/awt/EmbeddedWindow.java
  5261. (static): Removed.
  5262. (addNotify): Set peer via reflection.
  5263. (setWindowPeer): Removed.
  5264. * gnu/java/awt/natEmbeddedWindow.cc: Removed.
  5265. * Makefile.am (nat_source_files):
  5266. Removed gnu/java/awt/natEmbeddedWindow.cc.
  5267. 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
  5268. * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
  5269. and gnu/java/security/action/SetAccessibleAction.java.
  5270. 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
  5271. * gnu/java/security/action/GetPropertyAction.java (setParameters):
  5272. Renamed from 'setName'. New 2-argument form with default value.
  5273. (run): Pass default 'value' parameter to System.getProperty().
  5274. * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
  5275. typos.
  5276. 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
  5277. * gnu/java/security/action/GetPropertyAction.java: New class.
  5278. * gnu/java/security/action/SetAccessibleAction.java: New class.
  5279. 2004-08-31 David Jee <djee@redhat.com>
  5280. * gnu/java/awt/peer/gtk/GtkFramePeer.java
  5281. (setIconImage): Check if image is null.
  5282. 2004-08-31 David Jee <djee@redhat.com>
  5283. * gnu/java/awt/peer/gtk/GtkFramePeer.java
  5284. (create): Set the icon image.
  5285. (nativeSetIconImage): New native method declaration.
  5286. (setIconImage): Implement.
  5287. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
  5288. (nativeSetIconImage): New function.
  5289. 2004-08-31 Dalibor Topic <robilad@kaffe.org>
  5290. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
  5291. (filenameFilterCallback): Declare local variable accepted before use.
  5292. 2004-08-31 Dalibor Topic <robilad@kaffe.org>
  5293. * gnu/java/awt/ComponentDataBlitOp.java:
  5294. Cleaned up imports.
  5295. 2004-08-31 Tom Tromey <tromey@redhat.com>
  5296. * gnu/java/awt/peer/GLightweightPeer.java,
  5297. gnu/java/awt/peer/gtk/GdkGraphics2D.java,
  5298. gnu/java/awt/peer/gtk/GtkComponentPeer.java,
  5299. javax/swing/JScrollPane.java: Removed
  5300. redundant imports.
  5301. 2004-08-31 David Jee <djee@redhat.com>
  5302. * java/awt/DefaultKeyboardFocusManager.java
  5303. (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
  5304. event. Fix shift modifier checking.
  5305. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
  5306. (accel_attach): Remove.
  5307. (setupAccelGroup): Remove calls to accel_attach.
  5308. 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
  5309. * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
  5310. * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
  5311. * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
  5312. GtkArgList.java.
  5313. (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
  5314. * Makefile.in: Regenerate.
  5315. * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
  5316. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
  5317. (create(String)): New method.
  5318. (create): Call new create method.
  5319. (getArgs): Remove method.
  5320. * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
  5321. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
  5322. (nativeCreate): Rename to create.
  5323. (gtkSetLabel): Rename to gtkButtonSetLabel.
  5324. (gtkToggleButtonSetActive): New method.
  5325. (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
  5326. (setState): Replace set call with gtkToggleButtonSetActive.
  5327. (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
  5328. (getArgs): Remove method.
  5329. * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
  5330. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
  5331. (gtkWidgetSetSensitive): New method.
  5332. (gtkWidgetSetParent): Likewise.
  5333. (GtkComponentPeer): Call setParent, setComponentBounds and
  5334. setVisibleAndEnabled.
  5335. (setParent): New method.
  5336. (setComponentBounds): New method.
  5337. (setVisibleAndEnabled): New method.
  5338. (setEnabled): Call gtkWidgetSetSensitive.
  5339. (getArgs): Remove method.
  5340. Remove all set methods.
  5341. * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
  5342. gtkWindowSetModal, setTitle and setResizable.
  5343. (getArgs): Remove method.
  5344. * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
  5345. (setComponentBounds): New method.
  5346. * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
  5347. Replace set call with gtkWindowSetResizable.
  5348. (getArgs): Remove method.
  5349. (create): Call setTitle and setResizable.
  5350. * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
  5351. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
  5352. (gtkWindowSetTitle): New method.
  5353. (gtkWindowSetResizable): New method.
  5354. (gtkWindowSetModal): New method.
  5355. (setParent): New method.
  5356. (setVisibleAndEnabled): New method.
  5357. (getArgs): Remove method.
  5358. (setTitle): Call gtkWindowSetTitle.
  5359. (setResizable): Call gtkWindowSetResizable.
  5360. * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
  5361. and off locking instrumentation.
  5362. 2004-08-31 Kim Ho <kho@redhat.com>
  5363. * Makefile.am: Add new file.
  5364. * Makefile.in: Regenerate.
  5365. * gcj/Makefile.in: Regenerate
  5366. * include/Makefile.in:
  5367. * java/awt/Container.java:
  5368. (acquireComponentForMouseEvent): Respect
  5369. the event mask when looking for candidate.
  5370. * javax/swing/JComponent.java:
  5371. Remove toolTip field.
  5372. (createToolTip): Create a tooltip on demand.
  5373. (setToolTipText): Register with the ToolTipManager.
  5374. (getToolTipText(MouseEvent)): Return getToolTipText().
  5375. * javax/swing/JToolTip.java: Implement.
  5376. * javax/swing/Timer.java: Jalopy.
  5377. (restart): Call stop, then start.
  5378. (stop): Interrupt the timer rather than wait for
  5379. the timer to come to a stop naturally.
  5380. * javax/swing/ToolTipManager.java: Implement.
  5381. * javax/swing/plaf/basic/BasicLookAndFeel.java:
  5382. Change ToolTip.background color.
  5383. * javax/swing/plaf/basic/BasicToolTipUI.java:
  5384. Implement.
  5385. * testsuite/Makefile.in: Regenerate
  5386. 2004-08-31 Jerry Quinn <jlquinn@optonline.net>
  5387. * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
  5388. constructor param comments.
  5389. 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
  5390. * java/awt/Component.java: Document AWT 1.0 event handler
  5391. methods.
  5392. 2004-08-31 Roman Kennke <roman@ontographics.com>
  5393. * javax/swing/Box.java:
  5394. (createGlue): Implemented
  5395. (createHorizontalGlue): Implemented
  5396. (createHorizontalStrut): Implemented
  5397. (createVerticalGlue): Implemented
  5398. (createVerticalStrut): Implemented
  5399. 2004-08-31 David Jee <djee@redhat.com>
  5400. * gnu/java/awt/peer/gtk/GtkChoicePeer.java
  5401. (GtkChoicePeer): Do not automatically select first item.
  5402. (getHistory): Remove.
  5403. (nativeGetSelected): New method.
  5404. (nativeRemoveAll): New method.
  5405. (add): Use nativeGetSelected() instead of getHistory().
  5406. (remove): Likewise.
  5407. (removeAll): Call nativeRemoveAll().
  5408. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
  5409. (create): Migrate to GtkComboBox.
  5410. (append): Likewise.
  5411. (nativeAdd): Likewise.
  5412. (nativeRemove): Likewise.
  5413. (select): Likewise.
  5414. (nativeRemoveAll): New method.
  5415. (nativeGetSelected): New method.
  5416. (selection_changed): New method.
  5417. (getHistory): Remove.
  5418. (item_activate): Remove.
  5419. (item_removed): Remove.
  5420. (connect_choice_item_selectable_hook): Remove.
  5421. 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
  5422. * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
  5423. variable in setEditable call.
  5424. * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
  5425. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
  5426. (gtkWidgetSetBackground): New method.
  5427. (gtkWidgetSetForeground): Likewise.
  5428. (create): Set peer's editable state based on awtComponent's.
  5429. * java/awt/Button.java (Button()): Use empty string rather than
  5430. null in no-label constructor.
  5431. 2004-08-31 Roman Kennke <roman@ontographics.com>
  5432. * javax/swing/BoxLayout.java: Reimplement.
  5433. 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
  5434. * gnu/java/awt/peer/gtk/GdkGraphics.java,
  5435. gnu_java_awt_peer_gtk_GdkGraphics.c
  5436. (initState(GtkComponentPeer)): Don't return array of colour
  5437. values.
  5438. (GdkGraphics(int,int)): Set default font to size 12.
  5439. (GdkGraphics(GtkComponentPeer)): Set graphics colour to
  5440. component's foreground colour.
  5441. * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
  5442. gnu_java_awt_peer_gtk_GdkGraphics2D.c
  5443. (initState(GtkComponentPeer)): Don't return array of colour
  5444. values.
  5445. (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
  5446. colours to component's colours.
  5447. (current_colors_of_widget): Remove function.
  5448. * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
  5449. Return a new graphics object.
  5450. * java/awt/Font.java (toString): Fix format.
  5451. * java/awt/Graphics.java (toString): Likewise.
  5452. 2004-08-31 Craig Black <craig.black@aonix.com>
  5453. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
  5454. (addTearOff): New function.
  5455. * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
  5456. New native method.
  5457. (init): Call addTearOff() when menu.isTearOff().
  5458. 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
  5459. * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
  5460. Default implementation.
  5461. * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
  5462. Implement using GdkPixbufDecoder.
  5463. 2004-08-31 David Jee <djee@redhat.com>
  5464. * gnu/java/awt/peer/gtk/GtkComponentPeer.java
  5465. (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
  5466. setting the size of GtkFileDialogPeers.
  5467. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
  5468. (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
  5469. use their default sizes rather than their natural requisitions.
  5470. 2004-08-31 Michael Koch <konqueror@gmx.de>
  5471. * javax/swing/JFormattedTextField.java
  5472. (JFormattedTextField): Implemented.
  5473. * javax/swing/text/DefaultEditorKit.java
  5474. (BeepAction): New inner class.
  5475. * javax/swing/text/Segment.java
  5476. (partialReturn): New field.
  5477. (setPartialReturn): New method.
  5478. (isPartialReturn): Likewise.
  5479. * javax/swing/text/View.java
  5480. (createFragment): Fixed typo.
  5481. (getStartOffset): New method.
  5482. (getEndOffset): Likewise.
  5483. 2004-08-31 Michael Koch <konqueror@gmx.de>
  5484. * javax/swing/table/DefaultTableColumnModel.java
  5485. (serialVersionUID): Made private.
  5486. (listenerList): Initialize.
  5487. (changeEvent): Initialize.
  5488. * javax/swing/table/JTableHeader.java
  5489. (JTableHeader): New constructors.
  5490. (createDefaultColumnModel): New method.
  5491. * javax/swing/table/TableColumn.java
  5492. (setHeaderRenderer): Simplified code.
  5493. (setCellRenderer): Likewise.
  5494. (setWidth): Likewise.
  5495. 2004-08-31 Tom Tromey <tromey@redhat.com>
  5496. * java/text/AttributedString.java (AttributedString): Use
  5497. ArrayList to build array of attribute ranges. Don't use
  5498. `attribs' before it is set.
  5499. 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
  5500. * HACKING: Remove reference to special automake. No longer needed.
  5501. 2004-08-30 Tom Tromey <tromey@redhat.com>
  5502. * gnu/java/security/util/Prime.java (generateRandomPrime): Use
  5503. return result from `add'.
  5504. 2004-08-30 Tom Tromey <tromey@redhat.com>
  5505. * java/rmi/server/UID.java (UID): Read `nextCount', not count.
  5506. 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
  5507. * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
  5508. 2004-08-30 Jeroen Frijters <jeroen@frijters.net>
  5509. * java/io/File.java File(String,String): Fixed handling of empty
  5510. path.
  5511. 2004-08-30 Casey Marshall <csm@gnu.org>
  5512. Author e-mail updated for all files.
  5513. * gnu/java/security/OID.java (equals): Test if the aurgment is an
  5514. instance of OID.
  5515. (compareTo): Use `equals'.
  5516. * gnu/java/security/der/BitString.java (equals): Test if the
  5517. argument is an instance of BitString.
  5518. * gnu/java/security/der/DERReader.java: Removed NIO imports. Made
  5519. class final. Made fields private.
  5520. (<init>): New constructor.
  5521. (skip): New method.
  5522. (makeString): Made static; don't use NIO.
  5523. (fromIso88591, fromUtf16Be, fromUtf8): New methods.
  5524. * gnu/java/security/der/DERWriter.java: Fixed imports.
  5525. (writeString): Don't use NIO.
  5526. (toIso88591, toUtf16Be, toUtf8): New methods.
  5527. * gnu/java/security/der/DERValue.java: Formatting changes only.
  5528. * gnu/java/security/der/DER.java: Likewise.
  5529. 2004-08-30 Tom Tromey <tromey@redhat.com>
  5530. * java/nio/CharBuffer.java (put): Fix typo.
  5531. * java/nio/DoubleBuffer.java (put): Fix typo.
  5532. * java/nio/FloatBuffer.java (put): Fix typo.
  5533. * java/nio/IntBuffer.java (put): Fix typo.
  5534. * java/nio/LongBuffer.java (put): Fix typo.
  5535. * java/nio/ShortBuffer.java (put): Fix typo.
  5536. 2004-08-30 Florian Weimer <fw@deneb.enyo.de>
  5537. * java/nio/ByteBuffer.java (put): Fix typo.
  5538. 2004-08-30 Casey Marshall <csm@gnu.org>
  5539. * java/security/DummyKeyPairGenerator.java (clone): Removed
  5540. useless instanceof check.
  5541. * java/security/DummyMessageDigest.java (clone): Likewise.
  5542. * java/security/DummySignature.java (clone): Likewise.
  5543. * java/security/MessageDigest.java (clone): Remove useless
  5544. instanceof check.
  5545. * java/security/MessageDigestSpi.java (clone): Likewise.
  5546. * java/security/Signature.java (clone): Provide meaningful
  5547. implementation.
  5548. * java/security/SignatureSpi.java (clone): Likewise.
  5549. 2004-08-29 Mark Wielaard <mark@klomp.org>
  5550. * java/util/Arrays.java
  5551. (sort(byte[], int, int)): Check fromIndex < 0.
  5552. (sort(char[], int, int)): Likewise.
  5553. (sort(short[], int, int)): Likewise.
  5554. (sort(int[], int, int)): Likewise.
  5555. (sort(long[], int, int)): Likewise.
  5556. (sort(float[], int, int)): Likewise.
  5557. (sort(double[], int, int)): Likewise.
  5558. (sort(Object[], int, int, Comparator)): Likewise.
  5559. (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
  5560. (qsort(char[], int, int)): Likewise.
  5561. (qsort(short[], int, int)): Likewise.
  5562. (qsort(int[], int, int)): Likewise.
  5563. (qsort(long[], int, int)): Likewise.
  5564. (qsort(float[], int, int)): Likewise.
  5565. (qsort(double[], int, int)): Likewise.
  5566. 2004-08-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
  5567. * java/util/AbstractCollection.java, java/util/AbstractList.java,
  5568. java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
  5569. java/util/ArrayList.java, java/util/Arrays.java,
  5570. java/util/BitSet.java, java/util/Calendar.java,
  5571. java/util/Collection.java, java/util/ListIterator.java,
  5572. java/util/Map.java, java/util/SortedSet.java:
  5573. Added additional exceptions to documentation, along
  5574. with some additions and corrections.
  5575. 2004-08-27 Hans Boehm <Hans.Boehm@hp.com>
  5576. * configure.ac: Handle --enable-gc-debug.
  5577. * configure: Regenerate.
  5578. * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
  5579. * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
  5580. Rearrange include file order.
  5581. (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
  5582. (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
  5583. (disable_gc_mutex): Delete along with all references.
  5584. (_Jv_MarkObj, _Jv_MarkArray): Use public types,
  5585. adjust for debug header size.
  5586. (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
  5587. debug case.
  5588. (_Jv_AllocArray): Declare min_heap_addr only if needed.
  5589. (gcj_describe_type_fn): New.
  5590. (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
  5591. Register gcj_describe_type_fn.
  5592. * include/boehm-gc.h:
  5593. (_Jv_AllocObj, _Jv_allocPtrFreeObj):
  5594. Don't define, but declare, for debug case.
  5595. * java/lang/natObject.cc:
  5596. (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
  5597. 2004-08-26 Mark Wielaard <mark@klomp.org>
  5598. Fixes PR libgcj/17002:
  5599. * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
  5600. a TimeZoneId string and then try to convert that to a TimeZone with
  5601. getDefaultSystemTimeZone(String).
  5602. (timezones0): Changed type from Hashtable to HashMap.
  5603. (timezones): Create HashMap, not Hashtable.
  5604. (getDefaultTimeZone): New method, rewritten from CNI version.
  5605. (readTimeZoneFile): New method.
  5606. (readtzFile): Likewise.
  5607. (skipFully): Likewise.
  5608. * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
  5609. getDefaultTimeZoneId and rewritten.
  5610. (getDefaultTimeZoneId): Rewritten in java.
  5611. 2004-08-25 David Daney <daney@avtrex.com>
  5612. * Makefile.am (AM_GCJFLAGS): Add LIBGCJ_JAVAFLAGS.
  5613. * Makefile.in: Regenerated.
  5614. 2004-08-23 Bryce McKinlay <mckinlay@redhat.com>
  5615. * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
  5616. only if jvmpi is enabled.
  5617. (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
  5618. (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
  5619. (_Jv_AllocString): Likewise.
  5620. (_Jv_AllocPtrFreeObject): Likewise.
  5621. 2004-08-23 Hans Boehm <Hans.Boehm@hp.com>
  5622. * defineclass.cc: Include <stdio.h>.
  5623. * java/lang/natClassLoader.cc: Include <stdio.h>.
  5624. 2004-08-21 Andreas Tobler <a.tobler@schweiz.ch>
  5625. Michael Koch <konqueror@gmx.de>
  5626. * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
  5627. * Makefile.in: Regenerated.
  5628. 2004-08-20 Michael Koch <konqueror@gmx.de>
  5629. * configure.ac: Replaced all AC_TRY_COMPILE macros with
  5630. AC_COMPILE_IFELSE macros.
  5631. 2004-08-20 Michael Koch <konqueror@gmx.de>
  5632. * configure.in: Renamed to configure.ac.
  5633. * configure.ac: New file.
  5634. * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
  5635. include/config.h.in, testsuite/Makefile.in: Regenerated.
  5636. 2004-08-20 Michael Koch <konqueror@gmx.de>
  5637. * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
  5638. * aclocal.m4, configure: Regenerated.
  5639. 2004-08-19 Thomas Fitzsimmons <fitzsim@redhat.com>
  5640. Michael Koch <konqueror@gmx.de>
  5641. * configure.in, Makefile.am: Ported to automake 1.9.
  5642. * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
  5643. include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
  5644. Regenerated.
  5645. 2004-08-19 Tom Tromey <tromey@redhat.com>
  5646. * java/net/DatagramSocket.java: Fixed typo.
  5647. 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
  5648. PR libgcj/17081
  5649. * java/net/URI.java (string): New field. Make all other fields
  5650. transient.
  5651. (readObject): Implemented.
  5652. (writeObject): Implemented.
  5653. (URI): Set 'string'.
  5654. 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
  5655. PR libgcj/17079
  5656. * java/util/logging/Handler.java (isLoggable): Accept record if its
  5657. log level equals the threshold level. From Robin Green.
  5658. 2004-08-18 David Daney <ddaney@avtrex.com>
  5659. * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
  5660. instead of sigwait.
  5661. 2004-08-17 Michael Koch <konqueror@gmx.de>
  5662. * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
  5663. * Makefile.in: Regenerated.
  5664. 2004-08-16 Tom Tromey <tromey@redhat.com>
  5665. PR java/8473:
  5666. * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
  5667. 2004-08-16 Michael Koch <konqueror@gmx.de>
  5668. * Makefile.am
  5669. (math_c_files): Renamed from c_files.
  5670. (math_c_source_files): Renamed from c_source_files.
  5671. * Makefile.in,
  5672. gcj/Makefile.in,
  5673. include/Makefile.in,
  5674. testsuite/Makefile.in: Regenerated.
  5675. 2004-08-16 Bryce McKinlay <mckinlay@redhat.com>
  5676. * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
  5677. to avoid autoconf warning.
  5678. * configure: Rebuilt.
  5679. 2004-08-14 Andreas Tobler <a.tobler@schweiz.ch>
  5680. * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
  5681. localhostAddress to loopbackAddress.
  5682. * java/net/natInetAddressWin32.cc (lookup): Likewise.
  5683. 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
  5684. * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
  5685. boehm-gc's include dirs.
  5686. * configure: Rebuilt.
  5687. * include/boehm-gc.h: Include gc_config.h.
  5688. 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
  5689. * java/net/InetAddress.java (loopbackAddress): Renamed from
  5690. localhostAddress.
  5691. (getByName): Return loopback address for null hostname, without
  5692. security check. Use lookup(), not getAllByName.
  5693. (getAllByName): Return loopback address for null hostname, without
  5694. security check.
  5695. * java/net/natInetAddressPosix.cc (lookup): Don't perform security
  5696. check here.
  5697. 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
  5698. PR libgcj/17020
  5699. Reported by Robin Green.
  5700. * defineclass.cc (handleField): Don't throw exception on unrecognised
  5701. modifier. Add FIXME comments for spec compliance.
  5702. (handleMethod): Likewise.
  5703. 2004-08-10 Hans Boehm <Hans.Boehm@hp.com>
  5704. PR libgcj/16662
  5705. * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
  5706. (Almost everywhere): add LOG calls, fix, add comments.
  5707. (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
  5708. Add explicit check for LOCKED bit in slow case (PR 16662).
  5709. (_Jv_MonitorExit): Add casts in debug-only code.
  5710. Always release LOCKED bit before throwing exception.
  5711. (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
  5712. isn't. Handle easy cases without lock acquisition.
  5713. (Object::wait): Use NotifyAll for lock inflation.
  5714. 2004-08-12 David Daney <ddaney@avtrex.com>
  5715. * testsuite/libjava.lang/Process_1.java: New test.
  5716. * testsuite/libjava.lang/Process_2.java: New test.
  5717. * testsuite/libjava.lang/Process_3.java: New test.
  5718. * testsuite/libjava.lang/Process_4.java: New test.
  5719. * testsuite/libjava.lang/Process_5.java: New test.
  5720. * testsuite/libjava.lang/Process_6.java: New test.
  5721. * testsuite/libjava.lang/Process_1.out: Expected result.
  5722. * testsuite/libjava.lang/Process_2.out: Expected result.
  5723. * testsuite/libjava.lang/Process_3.out: Expected result.
  5724. * testsuite/libjava.lang/Process_4.out: Expected result.
  5725. * testsuite/libjava.lang/Process_5.out: Expected result.
  5726. * testsuite/libjava.lang/Process_6.out: Expected result.
  5727. 2004-08-12 David Daney <ddaney@avtrex.com>
  5728. PR libgcj/11801
  5729. * java/lang/PosixProcess.java: Rewrote.
  5730. * java/lang/natPosixProcess.cc: Rewrote.
  5731. * java/lang/Runtime.java (execInternal): Declare throws IOException.
  5732. * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
  5733. * posix-threads.cc (block_sigchld) New function.
  5734. (_Jv_ThreadRegister) Use it.
  5735. (_Jv_ThreadStart) Use it.
  5736. * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
  5737. * Makefile.am: ... to specify extra native headers.
  5738. * configure: Regenerated.
  5739. * include/config.h: Regenerated.
  5740. * Makefile.in: Regenerated.
  5741. * gcj/Makefile.in: Regenerated.
  5742. * include/Makefile.in: Regenerated.
  5743. * testsuite/Makefile.in: Regenerated.
  5744. 2004-08-12 Diego Novillo <dnovillo@redhat.com>
  5745. PR tree-optimization/16867
  5746. * testsuite/libjava.lang/PR16867.java: New test.
  5747. 2004-08-09 Per Bothner <per@bothner.com>
  5748. * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
  5749. with private fields and access methods.
  5750. (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
  5751. * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
  5752. * prims.cc (_Jv_Utf8COnst::init): New method implementation.
  5753. ( _Jv_makeUtf8Const): Rewrite using new constructors.
  5754. (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
  5755. * defineclass.cc: Use new _Utf8Const access/convenience methods.
  5756. * jni.cc: Likewise.
  5757. * resolve.cc: Likewise.
  5758. * gcj/field.h: Likewise.
  5759. * include/jvm.h: Likewise.
  5760. * java/lang/Class.h: Likewise.
  5761. * java/lang/natClass.cc: Likwise.
  5762. * java/lang/natClassLoader.cc: Likewise
  5763. * java/lang/reflect/natMethod.cc: Likewise
  5764. * verify.cc: Likewise.
  5765. (_Jv_BytecodeVerifier::make_utf8_const): Optimize.
  5766. (~_Jv_BytecodeVerifier): Don't need second _Jv_Free call.
  5767. 2004-08-10 Andrew Haley <aph@redhat.com>
  5768. * testsuite/libjava.lang/err14.java: New file.
  5769. * testsuite/libjava.lang/err14.out: New file.
  5770. 2004-08-05 Andreas Tobler <a.tobler@schweiz.ch>
  5771. * Makefile.am: Fix missing rename from x_nat_headers to
  5772. xlib_nat_headers.
  5773. * Makefile.in: Regenerated.
  5774. 2004-08-04 Andrew Haley <aph@redhat.com>
  5775. * java/security/BasicPermission.java: Don't check wildcards.
  5776. 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
  5777. Michael Koch <konqueror@gmx.de>
  5778. * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
  5779. * configure.in: Replaced all usages of AC_LINK_FILES by
  5780. AC_CONFIG_LINKS.
  5781. * aclocal.m4,
  5782. configure: Regenerated.
  5783. 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
  5784. Michael Koch <konqueror@gmx.de>
  5785. * acconfig.h: Removed.
  5786. * Makefile.am: Rename variables for xlib peer to include xlib and
  5787. gtk_c_headers to gtk_jni_headers.
  5788. * Makefile.in: Regenerated.
  5789. 2004-08-04 Andrew Haley <aph@redhat.com>
  5790. * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
  5791. debugging.
  5792. 2004-08-03 Nathanael Nerode <neroden@gcc.gnu.org>
  5793. * configure.in: Eliminate uses of changequote (mostly by quoting []).
  5794. Replace most top level 'dnl' comments with '#' comments, conforming
  5795. to new autoconf style. Use AS_HELP_STRING throughout; improve a few
  5796. help strings.
  5797. * configure: Rebuilt.
  5798. 2004-07-17 Nathanael Nerode <neroden@gcc.gnu.org>
  5799. * acinclude.m4: Include no-executables.m4.
  5800. * aclocal.m4: Rebuild.
  5801. * configure.in: Convert to the autoconf 2.59 version of
  5802. of the no-executables hack, and also of the nonstandard CXX
  5803. hack and the multilibbed CC and CXX hack. Change prerequisite
  5804. to autoconf 2.59.
  5805. * configure: Rebuild with autoconf 2.59. (Woo-hoo!)
  5806. * Makefile.in, gcj/Makefile.in, include/Makefile.in,
  5807. testsuite/Makefile.in: Regenerate.
  5808. 2004-08-03 Tom Tromey <tromey@redhat.com>
  5809. * jni.cc: Reindented.
  5810. 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
  5811. * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
  5812. 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
  5813. * testsuite/libjava.compile/PR16701.java: New test.
  5814. 2004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
  5815. * java/util/Collection.java, java/util/List.java,
  5816. java/util/Map.java, java/util/Set.java,
  5817. java/util/SortedMap.java, java/util/SortedSet.java:
  5818. Added additional exceptions to documentation.
  5819. 2004-08-01 Danny Smith <dannysmith@users.sourceforge.net>
  5820. PR libgcj/16814
  5821. * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
  5822. * configure. Regenerate.
  5823. * include/win32.h: Explicitly include winsock2.h
  5824. * win32.cc (_Jv_platform_initialize): Require version 2.2 of
  5825. Winsock api.
  5826. 2004-07-30 Michael Koch <konqueror@gmx.de>
  5827. * java/util/zip/GZIPInputStream.java
  5828. (GZIPInputStream): Increase buffer size to 4k.
  5829. * java/util/zip/GZIPOutputStream.java
  5830. (GZIPOutputStream): Likewise.
  5831. * java/util/zip/Inflater.java
  5832. (setInput): Merged formating with GNU classpath.
  5833. * java/util/zip/InflaterInputStream.java
  5834. (InflaterInputStream): Increase buffer size to 4k.
  5835. (fill): Throw exception if stream ends early.
  5836. (read): Merged endless-loop with GNU classpath.
  5837. (skip): Increase buffer size to 2k.
  5838. 2004-07-30 Michael Koch <konqueror@gmx.de>
  5839. * gnu/java/awt/EmbeddedWindow.java
  5840. (addNotify): Use AccessController to allow execution of privileged
  5841. code.
  5842. 2004-07-29 Michael Koch <konqueror@gmx.de>
  5843. * gnu/java/lang/MainThread.java:
  5844. Explicitely import used classes.
  5845. (args): Make it type String[].
  5846. 2004-07-29 Dalibor Topic <robilad@kaffe.org>
  5847. * gnu/java/awt/ComponentDataBlitOp.java,
  5848. gnu/java/beans/ExplicitBeanInfo.java,
  5849. gnu/java/beans/IntrospectionIncubator.java,
  5850. gnu/java/beans/editors/ColorEditor.java,
  5851. gnu/java/beans/editors/FontEditor.java,
  5852. gnu/java/beans/editors/NativeBooleanEditor.java,
  5853. gnu/java/beans/editors/NativeByteEditor.java,
  5854. gnu/java/beans/editors/NativeDoubleEditor.java,
  5855. gnu/java/beans/editors/NativeFloatEditor.java,
  5856. gnu/java/beans/editors/NativeIntEditor.java,
  5857. gnu/java/beans/editors/NativeLongEditor.java,
  5858. gnu/java/beans/editors/NativeShortEditor.java,
  5859. gnu/java/beans/editors/StringEditor.java,
  5860. gnu/java/io/ClassLoaderObjectInputStream.java,
  5861. gnu/java/io/decode/Decoder.java,
  5862. gnu/java/io/encode/Encoder.java,
  5863. gnu/java/lang/ClassHelper.java,
  5864. gnu/java/locale/Calendar.java,
  5865. gnu/java/locale/Calendar_de.java,
  5866. gnu/java/locale/Calendar_en.java,
  5867. gnu/java/locale/Calendar_nl.java,
  5868. gnu/java/locale/LocaleInformation_de.java,
  5869. gnu/java/locale/LocaleInformation_en.java,
  5870. gnu/java/locale/LocaleInformation_nl.java:
  5871. Cleaned up imports.
  5872. 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
  5873. * README: Remove obsolete info. Update bug URL.
  5874. * THANKS: Updated.
  5875. * NEWS: Updated with news up to GCC 3.4 release.
  5876. 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
  5877. * gnu/java/security/action/GetPropertyAction.java (setParameters):
  5878. Renamed from 'setName'. New 2-argument form with default value.
  5879. (run): Pass default 'value' parameter to System.getProperty().
  5880. * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
  5881. typos.
  5882. * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
  5883. not 'setName'.
  5884. 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
  5885. * configure.in: Check for minimum GTK version 2.4 requirement.
  5886. * configure: Rebuilt.
  5887. 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
  5888. * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
  5889. * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
  5890. Reduce sleep time.
  5891. * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
  5892. compiler bug.
  5893. * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
  5894. address. Reduce sleep times. Synchronize with target threads before
  5895. attempting to interrupt them. Don't try to calibrate yeild count,
  5896. instead, always loop for a fixed time.
  5897. * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
  5898. * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
  5899. * testsuite/libjava.lang/Thread_Wait.java: Likewise.
  5900. * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
  5901. * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
  5902. * testsuite/libjava.lang/pr179.java: Likewise.
  5903. * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
  5904. time. Remove upper bounds check on sleep time.
  5905. 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
  5906. * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
  5907. * testsuite/libjava.lang/Thread_HoldsLock.out: New.
  5908. 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
  5909. * java/io/File.java (toURI): Throw RuntimeException, not
  5910. InternalError.
  5911. * java/lang/Runtime.java (exit): Qualify static sleep() call with
  5912. class name, not instance.
  5913. 2004-07-24 Bryce McKinlay <mckinlay@redhat.com>
  5914. * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
  5915. and gnu/java/security/action/SetAccessibleAction.java.
  5916. * Makefile.in: Rebuilt.
  5917. 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
  5918. * prims.cc (_Jv_InitPrimClass): Don't create an array class.
  5919. (_Jv_CreateJavaVM): Don't pass array vtable parameter to
  5920. _Jv_InitPrimClass.
  5921. (DECLARE_PRIM_TYPE): Don't declare array vtables.
  5922. * include/jvm.h (struct _Jv_ArrayVTable): Removed.
  5923. * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
  5924. 2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
  5925. * Makefile.am: Replace jar, rmic and rmiregistry references with
  5926. gjar, grmic and grmiregistry.
  5927. * configure.in: Likewise.
  5928. * Makefile.in: Regenerate.
  5929. * configure: Likewise.
  5930. * gcj/Makefile.in: Likewise.
  5931. * include/Makefile.in: Likewise.
  5932. * testsuite/Makefile.in: Likewise.
  5933. 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
  5934. * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
  5935. for privileged getProperty calls.
  5936. * java/io/ObjectOutputStream.java (getField): No longer static. Use
  5937. SetAccessibleAction instead of anonymous class for doPrivileged call.
  5938. (getMethod): Likewise.
  5939. (setAccessible): New field. PrivilegedAction object to use when
  5940. calling setAccessible.
  5941. * java/io/ObjectStreamClass.java (calculateOffsets): Use
  5942. SetAccessibleAction instead of anonymous class for diPrivileged call.
  5943. (setFields): Likewise.
  5944. (getClassUID): Likewise.
  5945. (findMethod): Likewise.
  5946. * gnu/java/security/action/GetPropertyAction.java: New class.
  5947. * gnu/java/security/action/SetAccessibleAction.java: New class.
  5948. 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
  5949. * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
  5950. for final fields.
  5951. * testsuite/libjava.lang/Serialization.java: New test.
  5952. * testsuite/libjava.lang/Serialization.out: New.
  5953. 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
  5954. * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
  5955. missed in last commit.
  5956. 2004-07-23 Mark Wielaard <mark@klomp.org>
  5957. * java/lang/System.java (static): Set http.agent system property when
  5958. not yet set.
  5959. * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
  5960. from system property inside AccessController.doPrivileged() call.
  5961. (proxyPort): Made package private.
  5962. (proxyInUse): Likewise.
  5963. (proxyHost): Likewise.
  5964. (userAgent): Likewise.
  5965. 2004-07-23 Mark Wielaard <mark@klomp.org>
  5966. * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
  5967. implementation.
  5968. 2004-07-22 Bryce McKinlay <mckinlay@redhat.com>
  5969. * Makefile.am (ordinary_java_source_files): Add
  5970. DefaultContentHandlerFactory.java.
  5971. * Makefile.in: Rebuilt.
  5972. * java/net/URLConnection.java (defaultFactory): New field.
  5973. (getContent):
  5974. (getContentHandler): Renamed from 'setContentHandler'. Try
  5975. defaultFactory after user-set factory, if any. Search for content
  5976. handler implementations in gnu.java.net.content, not gnu.gcj.content.
  5977. * gnu/java/net/protocol/file/Connection.java (getHeaderField):
  5978. Implemented.
  5979. (getLastModified): Implemented.
  5980. (getPermission): Create file permission here, instead of in
  5981. constructor.
  5982. * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
  5983. Implemented.
  5984. * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
  5985. Implemented.
  5986. (getLastModified): Implemented.
  5987. * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
  5988. Default implementation.
  5989. * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
  5990. Implement using GdkPixbufDecoder.
  5991. 2004-07-21 Michael Koch <konqueror@gmx.de>
  5992. * javax/swing/JTextArea.java
  5993. (setLineWrap): Fire property change event after new value is set.
  5994. (setTabSize): Likewise.
  5995. 2004-07-21 Michael Koch <konqueror@gmx.de>
  5996. * javax/swing/JTable.java
  5997. (autoCreateColumnsFromModel): New field.
  5998. (autoResizeMode): Likewise.
  5999. (cellEditor): Likewise.
  6000. (cellSelectionEnabled): Likewise.
  6001. (columnModel): Likewise.
  6002. (dataModel): Likewise.
  6003. (defaultEditorsByColumnClass): Likewise.
  6004. (defaultRenderersByColumnClass): Likewise.
  6005. (editingColumn): Likewise.
  6006. (editingRow): Likewise.
  6007. (gridColor): Likewise.
  6008. (preferredViewportSize): Likewise.
  6009. (rowHeight): Likewise.
  6010. (rowMargin): Likewise.
  6011. (rowSelectionAllowed): Likewise.
  6012. (selectionBackground): Likewise.
  6013. (selectionForeground): Likewise.
  6014. (selectionModel): Likewise.
  6015. (showHorizontalLines): Likewise.
  6016. (showVerticalLines): Likewise.
  6017. (tableHeader): Likewise.
  6018. (JTable): Implemented.
  6019. (getColumnModel): Likewise.
  6020. (getSelectedRow): Likewise.
  6021. (getSelectionModel): Likewise.
  6022. (setModel): Likewise.
  6023. (setSelectionModel): Likewise.
  6024. (createScrollPaneForTable): New method.
  6025. (createDefaultDataModel): Likewise.
  6026. (createDefaultListSelectionModel): Likewise.
  6027. (getModel): Likewise.
  6028. (getTableHeader): Likewise.
  6029. (setTableHeader): Likewise.
  6030. (getColumnSelectionAllowed): Likewise.
  6031. (setColumnSelectionAllowed): Likewise.
  6032. (getRowSelectionAllowed): Likewise.
  6033. (setRowSelectionAllowed): Likewise.
  6034. (getAutoResizeMode): Likewise.
  6035. (setAutoResizeMode): Likewise.
  6036. (getColumnCount): Likewise.
  6037. (getRowCount): Likewise.
  6038. (getCellRenderer): Likewise.
  6039. * javax/swing/JTree.java
  6040. (cellRenderer): New field.
  6041. (editable): Likewise.
  6042. (rootVisible): Likewise.
  6043. (showsRootHandles): Likewise.
  6044. (getModel): New method.
  6045. (setModel): Likewise.
  6046. (isEditable): Likewise.
  6047. (setEditable): Likewise.
  6048. (isRootVisbile): Likewise.
  6049. (setRootVisible): Likewise.
  6050. (getShowsRootHandles): Likewise.
  6051. (setShowRootHandles): Likewise.
  6052. (getCellRenderer): Likewise.
  6053. (setCellRenderer): Likewise.
  6054. 2004-07-21 Michael Koch <konqueror@gmx.de>
  6055. * javax/swing/JFormattedTextField.java
  6056. (setDocument): Implemented.
  6057. * javax/swing/JRootPane.java:
  6058. Fixed javadocs.
  6059. * javax/swing/JTable.java
  6060. (getDefaultRenderer): New method.
  6061. * javax/swing/JTextField.java
  6062. (setFont): Likewise.
  6063. (getPreferredSize): Likewise.
  6064. * javax/swing/JToggleButton.java
  6065. (getAccessibleContext): Fix javadoc.
  6066. * javax/swing/JTree.java:
  6067. Add some javadocs.
  6068. * javax/swing/JViewport.java:
  6069. Likewise.
  6070. 2004-07-21 David Jee <djee@redhat.com>
  6071. * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
  6072. Collect all native method declaration at the top.
  6073. (create): Set the filename filter if necessary.
  6074. (setDirectory): Call nativeSetDirectory().
  6075. (setFilenameFilter): Implement.
  6076. (filenameFilterCallback): New method.
  6077. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
  6078. (create): Configure dialog to show hidden files.
  6079. (filenameFilterCallback): New function.
  6080. (nativeSetFilenameFilter): New function.
  6081. (nativeSetDirectory): New function.
  6082. 2004-07-21 Kim Ho <kho@redhat.com>
  6083. * javax/swing/plaf/basic/BasicSliderUI.java:
  6084. Ran Jalopy.
  6085. (paintTrack): Fill the track before painting
  6086. the borders.
  6087. 2004-07-21 Graydon Hoare <graydon@redhat.com>
  6088. patch from Roman Kennke <roman@ontographics.com>
  6089. * javax/swing/Spring.java: New file.
  6090. * javax/swing/SpringLayout.java: New file.
  6091. * Makefile.am: Add new files.
  6092. * Makefile.in: Regenerate.
  6093. 2004-07-21 Graydon Hoare <graydon@redhat.com>
  6094. * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
  6095. * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
  6096. * javax/swing/ScrollPaneLayout.java: Likewise.
  6097. 2004-07-21 Kim Ho <kho@redhat.com>
  6098. * javax/swing/DefaultDesktopManager.java:
  6099. (findMinimum): Removed.
  6100. (resizeFrame): Trust the UI to pass valid
  6101. bounds.
  6102. * javax/swing/JOptionPane.java:
  6103. Implemented showInternalXXXDialog methods.
  6104. (startModal): New method.
  6105. * javax/swing/plaf/basic/BasicInternalFrameUI.java:
  6106. (BorderListener::mouseDragged): Verify that the new
  6107. bounds are valid before passing them to the DesktopManager.
  6108. (preferredLayoutSize): Delegate
  6109. to getSize.
  6110. (minimumLayoutSize): Ditto.
  6111. (getSize): New method.
  6112. (GlassPaneDispatcher): Reimplemented by copying
  6113. a stripped down LightweightDispatcher from Container.
  6114. (getMinimumSize): Call minimumLayoutSize.
  6115. * javax/swing/plaf/basic/BasicOptionPaneUI.java:
  6116. Ran Jalopy.
  6117. (mousePressed): Add ability to properly close
  6118. JInternalFrames.
  6119. * javax/swing/plaf/basic/BasicToolBarUI.java:
  6120. (DragWindow): Set owner for DragWindow.
  6121. 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
  6122. * java/awt/image/ShortLookupTable.java: New file.
  6123. * java/awt/image/ByteLookupTable.java: New file.
  6124. * Makefile.am: Added new files.
  6125. * Makefile.in: Regenerated.
  6126. 2004-07-21 David Jee <djee@redhat.com>
  6127. * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
  6128. (create(GtkContainerPeer)): New native method.
  6129. (create()): Call native create(), passing in the parent frame
  6130. as the paramter. Natively set the current file and directory.
  6131. (setFile): Construct an absolute filename before passing it to
  6132. the native peer.
  6133. (nativeGetDirectory): New method.
  6134. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
  6135. (window_closed): Removed.
  6136. (ok_clicked): Likewise.
  6137. (cancel_clicked): Likewise.
  6138. (handle_response): New method.
  6139. (create): Use GtkFileChooserDialog.
  6140. (connectSignals): Connect to handle_response.
  6141. (nativeGetDirectory): New method.
  6142. (nativeSetFile): Use GtkFileChooserDialog.
  6143. 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
  6144. * java/awt/image/LookupTable.java: New file.
  6145. * Makefile.am: Added new file.
  6146. * Makefile.in: Regenerated.
  6147. 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
  6148. * java/awt/image/Kernel.java: New file.
  6149. * Makefile.am: Added new file.
  6150. * Makefile.in: Regenerated.
  6151. 2004-07-21 Olga Rodimina <rodimina@redhat.com>
  6152. * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
  6153. * javax/swing/JMenu.java: Likewise.
  6154. * javax/swing/JMenuBar.java: Likewise.
  6155. (MARGIN_CHANGED_PROPERTY): New property.
  6156. (setMargin): Implemented.
  6157. * javax/swing/JMenuItem.java: Fixed javadocs.
  6158. * javax/swing/JPopupMenuUI.java: Fixed javadocs.
  6159. (LABEL_CHANGED_PROPERTY): New property.
  6160. (add): changed to use createActionComponent.
  6161. (createActionComponent): Implemented.
  6162. (setLabel): Fire PropertyChangeEvent if label property
  6163. changes.
  6164. * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
  6165. * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
  6166. (ContainerHandler): Repaint if margin property has changed.
  6167. * javax/swing/plaf/basic/BasicMenuItemUI.java:
  6168. (installUI): Call installComponents().
  6169. (uninstallUI): Call uinstallComponents().
  6170. * javax/swing/plaf/basic/BasicMenuUI.java:
  6171. Fixed javadocs.
  6172. * javax/swing/plaf/basic/BasicPopupMenuUI.java:
  6173. Likewise.
  6174. 2004-07-21 Kim Ho <kho@redhat.com>
  6175. * javax/swing/plaf/basic/BasicToolBarUI.java:
  6176. (DragWindow): Use the right constructor.
  6177. 2004-07-21 Kim Ho <kho@redhat.com>
  6178. * javax/swing/JToolBar.java:
  6179. (layoutContainer): Use getComponents.
  6180. * javax/swing/plaf/basic/BasicToolBarUI.java:
  6181. (DragWindow): Don't use SwingUtilities'
  6182. getOwnerFrame
  6183. (ToolBarDialog): ditto.
  6184. 2004-07-21 Kim Ho <kho@redhat.com>
  6185. * javax/swing/JRootPane.java:
  6186. Ran jalopy.
  6187. (layoutContainer): Set the glasspane's size to
  6188. be the same as the content pane.
  6189. (createGlassPane): Set opaque property to false.
  6190. 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
  6191. * java/awt/Component.java (requestFocus()): Don't handle Panels
  6192. specially.
  6193. (requestFocus(boolean)): Likewise.
  6194. (requestFocusInWindow(boolean)): Likewise.
  6195. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
  6196. Set GTK_CAN_FOCUS flag.
  6197. 2004-07-21 Kim Ho <kho@redhat.com>
  6198. * Makefile.am: Added new file.
  6199. * Makefile.in: Regenerated.
  6200. * gcj/Makefile.in: Regenerated.
  6201. * include/Makefile.in: Regenerated.
  6202. * javax/swing/AbstractButton.java:
  6203. Add rollOverEnabled property.
  6204. (setRolloverEnabled): Use new property.
  6205. (isRolloverEnabled): Use new property.
  6206. * javax/swing/JTabbedPane.java:
  6207. (setComponent): Remove useless JTabbedPane.this.
  6208. * javax/swing/JToolBar.java: Finish implementation.
  6209. * javax/swing/plaf/basic/BasicArrowButton.java:
  6210. (paint): Moved border painting to a border.
  6211. * javax/swing/plaf/basic/BasicLookAndFeel.java:
  6212. Change JToolBar look and feel defaults.
  6213. * javax/swing/plaf/basic/BasicOptionPaneUI.java
  6214. (actionPerformed): Return Integer index instead of name.
  6215. (addButtonComponents): Check to see if component is
  6216. JButton last.
  6217. (createMessageArea): Don't use components that are not
  6218. completed yet.
  6219. (getIconForType): Use temporary icons.
  6220. * javax/swing/plaf/basic/BasicSliderUI.java:
  6221. (mousePressed): Do not return if it's on thumb.
  6222. (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
  6223. (paintMinorTickForVertSlider): ditto.
  6224. (paintMajorTickForHorizSlider): ditto.
  6225. (paintMajorTickForVertSlider): ditto.
  6226. * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
  6227. Add a border around the SplitPaneDivider.
  6228. * javax/swing/plaf/basic/BasicSplitPaneUI.java:
  6229. Remove comments.
  6230. * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
  6231. New file. Implemented.
  6232. * javax/swing/plaf/basic/BasicToolBarUI.java:
  6233. Implemented.
  6234. * testsuite/Makefile.in: Regenerated.
  6235. 2004-07-21 Graydon Hoare <graydon@redhat.com>
  6236. * javax/swing/Timer.java (run): Queue events each time cycle.
  6237. 2004-07-21 David Jee <djee@redhat.com>
  6238. * gnu/java/awt/peer/gtk/GtkImagePainter.java
  6239. (imageComplete): Call image.imageComplete().
  6240. * java/awt/image/MemoryImageSource.java:
  6241. Reimplement consumers as a Vector instead of a Hashtable. This is
  6242. because enumeration on a Hashtable is not thread-safe.
  6243. (addConsumer): Adapt to Vector consumers.
  6244. (isConsumer): Adapt to Vector consumers.
  6245. (removeConsumer): Adapt to Vector consumers.
  6246. (startProduction): Adapt to Vector consumers. Call imageComplete()
  6247. with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
  6248. (newPixels): Adapt to Vector consumers.
  6249. (sendPicture): Set the color model of the image consumer.
  6250. (newPixels(IIII)): Adapt to Vector consumers.
  6251. (newPixels(IIIIB)): Adapt to Vector consumers.
  6252. 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
  6253. * java/awt/Component.java (deliverEvent): Implement.
  6254. (postEvent): Implement.
  6255. (handleEvent): Implement.
  6256. (translateEvent): New method.
  6257. (dispatchEventImpl): Document. Add AWT 1.0 event handling.
  6258. * java/awt/Container.java (deliverEvent): Implement.
  6259. * java/awt/Event.java (paramString): Fix formatting.
  6260. * java/awt/Font.java (toString): Likewise.
  6261. * java/awt/Window.java (postEvent): Implement.
  6262. 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
  6263. * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
  6264. Set window's focus owner upon receiving a FOCUS_LOST event.
  6265. * java/awt/Window.java (Window()): Refocus the previously
  6266. focused component within the window when the window regains the
  6267. top-level focus.
  6268. (setFocusOwner): New method.
  6269. * java/awt/Component.java (requestFocus): Add FIXME.
  6270. * libgcj.pc.in: Remove library flags.
  6271. 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
  6272. * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
  6273. MOUSE_PRESSED event.
  6274. * java/awt/Component.java (requestFocus()): Handle Panel
  6275. specially. Post FOCUS_LOST event on opposite component.
  6276. (requestFocus(boolean)): Likewise.
  6277. (requestFocusInWindow(boolean)): Likewise.
  6278. (paramString): Reorder dimension fields.
  6279. * java/awt/Container.java (paramString): Fix string format.
  6280. * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
  6281. Handle FOCUS_LOST events. Don't handle Windows specially. Only
  6282. process key events if the focus owner is non-null.
  6283. (dispatchKeyEvent): Likewise.
  6284. * java/awt/Frame.java (paramString): Fix formatting.
  6285. (generateName): New method.
  6286. (getUniqueLong): Likewise.
  6287. * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
  6288. the temporary focus owner is null. If so, return the permanent
  6289. focus owner.
  6290. * java/awt/Panel.java (generateName): New method.
  6291. (getUniqueLong): Likewise.
  6292. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
  6293. signal handling to make callbacks more specific.
  6294. 2004-07-21 Michael Koch <konqueror@gmx.de>
  6295. * javax/swing/text/Position.java
  6296. (Bias): Implemented.
  6297. 2004-07-21 Michael Koch <konqueror@gmx.de>
  6298. * javax/swing/LookAndFeel.java
  6299. (provideErrorFeedback): New method.
  6300. 2004-07-21 Michael Koch <konqueror@gmx.de>
  6301. * javax/swing/JTextArea.java
  6302. (tabSize): New field.
  6303. (getTabSize): New method.
  6304. (setTabSize): Likewise.
  6305. 2004-07-21 Michael Koch <konqueror@gmx.de>
  6306. * javax/swing/ActionMap.java:
  6307. Fixed javadocs all over.
  6308. (serialVersionUID): Made private.
  6309. (parent): Don't explicitely initialize with default value.
  6310. (get): SImplified.
  6311. (keys): Reimplemented.
  6312. (allKeys): Likewise.
  6313. (convertSet): Removed.
  6314. * javax/swing/ComponentInputMap.java:
  6315. Fixed javadocs all over.
  6316. (ComponentInputMap): Implemented.
  6317. (put): Likewise.
  6318. (clear): Likewise.
  6319. (remove): Likewise.
  6320. (SetParent): Likewise.
  6321. (getComponent): Likewise.
  6322. * javax/swing/InputMap.java:
  6323. Fixed javadocs all over.
  6324. (serialVersionUID): Made private.
  6325. (parent): Don't explicitely initialize with default value.
  6326. (get): SImplified.
  6327. (keys): Reimplemented.
  6328. (allKeys): Likewise.
  6329. (convertSet): Removed.
  6330. 2004-07-21 Michael Koch <konqueror@gmx.de>
  6331. * javax/swing/ActionMap.java,
  6332. javax/swing/ComponentInputMap.java,
  6333. javax/swing/InputMap.java,
  6334. javax/swing/table/DefaultTableColumnModel.java,
  6335. javax/swing/table/TableColumn.java,
  6336. javax/swing/table/TableColumnModel.java,
  6337. javax/swing/table/TableModel.java,
  6338. javax/swing/text/AbstractDocument.java,
  6339. javax/swing/text/TextAction.java:
  6340. Reformated.
  6341. 2004-07-21 Graydon Hoare <graydon@redhat.com>
  6342. * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
  6343. Make method non-static.
  6344. * javax/swing/AbstractButton.java:
  6345. Rename fields to match property names where possible.
  6346. (iconTextGap): New property.
  6347. * javax/swing/JCheckBox.java: Match AbstractButton changes.
  6348. (init) New method, call from after various constructors.
  6349. * javax/swing/JComponent.java (revalidate):
  6350. Invalidate before queueing repair.
  6351. * javax/swing/JList.java (getPreferredScrollableViewportSize):
  6352. Reimplement in terms of visibleRowCount property.
  6353. * javax/swing/JMenuButton.java: Match AbstractButton changes.
  6354. * javax/swing/JScrollPane.java (createScrollListener):
  6355. Remove tracing chatter.
  6356. * javax/swing/JToggleButton.java: Match AbstractButton changes.
  6357. * javax/swing/RepaintManager.java (addInvalidComponent):
  6358. Don't invalidate.
  6359. * javax/swing/ScrollPaneLayout.java: Various corrections to layout
  6360. calculations.
  6361. * javax/swing/SwingUtilities.java (layoutCompoundLabel):
  6362. Mimic sun behavior on top left/right positioning.
  6363. * javax/swing/ViewportLayout.java (preferredLayoutSize):
  6364. Remove mistaken use of preferredScrollableViewportSize here.
  6365. (layoutContainer): Use view's preferred size as basis.
  6366. * javax/swing/plaf/basic/BasicButtonUI.java:
  6367. Set, get, and use textIconGap property.
  6368. (paint) Paint text returned from layout (with ellipsis).
  6369. * javax/swing/plaf/basic/BasicListUI.java:
  6370. Remove tracing chatter, correct various minor calculations.
  6371. (getCellBounds): Update layout state before calculating.
  6372. * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
  6373. Use margin default similar to sun's.
  6374. * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
  6375. (createIncreaseIcon): Center icon, minimize margins.
  6376. (createDecreaseIcon): Likewise.
  6377. * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
  6378. Implement.
  6379. (installUI): Call it.
  6380. (uninstallDefaults): Implement.
  6381. (uninstallUI): Call it.
  6382. * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
  6383. Call existing Window constructor.
  6384. * javax/swing/plaf/basic/BasicViewportUI.java (paint):
  6385. Set clip before painting.
  6386. 2004-07-21 Olga Rodimina <rodimina@redhat.com>
  6387. * javax/swing/JMenuItem.java:
  6388. (processMouseEvent): Reimplemented to deal with
  6389. mouse drag events.
  6390. (createMenuDragMouseEvent): New private helper method.
  6391. Creates MenuDragMouseEvent.
  6392. * javax/swing/MenuSelectionManager.java
  6393. (componentForPoint): Implemented.
  6394. (isComponentPartOfCurrentMenu): Made public.
  6395. (processMouseEvent): Reimplemented to deal with
  6396. mouse drag events.
  6397. (setSelectedPath): Corrected small mistake that caused
  6398. path to be set incorrectly.
  6399. (getPath): If given component is JMenu then also add this
  6400. menu's popup menu to the selected path.
  6401. * javax/swing/plaf/basic/BasicMenuItemUI.java:
  6402. (getPath): Ditto.
  6403. (getPreferredSize): Call getPreferredMenuItemSize().
  6404. (getPreferredItemSize): Moved code from getPreferredSize to here.
  6405. (installListeners): Install MouseMotionListeners.
  6406. (MouseInputHandler): Pass mouse release event to MenuSelectionManager
  6407. if mouse wasn't released in the bounds of this menu item.
  6408. (MenuDragMouseHandler): Implemented.
  6409. * javax/swing/plaf/basic/BasicMenuUI.java:
  6410. (installListeners): Install MouseMotionListener and
  6411. MenuDrageMouseListener.
  6412. (MenuDragMouseHandler): Implemented.
  6413. * javax/swing/plaf/basic/BasicPopupMenuUI.java:
  6414. (uninstallListeners): Implemented.
  6415. 2004-07-21 Michael Koch <konqueror@gmx.de>
  6416. * javax/swing/JCheckBox.java: Reformated.
  6417. (JCheckBox): Fixed all constructors.
  6418. (isBorderPaintedFlat): New method.
  6419. (setBorderPaintedFlat): New method.
  6420. * javax/swing/JEditorPane.java
  6421. (createEditorKitForContentType): Made public.
  6422. (scrollToReference): Likewise.
  6423. * javax/swing/JTextArea.java
  6424. (setLineWrap): Fire property change.
  6425. * javax/swing/JToggleButton.java
  6426. (JToggleButton): New constructor.
  6427. (JToggleButton): Simplified.
  6428. * javax/swing/text/AttributeSet.java
  6429. (FontAttribute): Renamed from FontCharacterAttribute.
  6430. * javax/swing/text/JTextComponent.java
  6431. (KeyBinBinding): Added javadoc.
  6432. (JTextComponent): Likewise.
  6433. (getAccessibleContext): Fixed javadoc.
  6434. * javax/swing/text/View.java
  6435. (View): Added javadoc.
  6436. * javax/swing/text/TabableView.java: New file.
  6437. * Makefile.am: Added javax/swing/text/TabableView.java.
  6438. * Makefile.in: Regenerated.
  6439. 2004-07-21 Graydon Hoare <graydon@redhat.com>
  6440. * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
  6441. * gnu/java/awt/peer/gtk/GtkToolkit.java
  6442. (GtkErrorImage): New helper class.
  6443. (bufferedImageOrError): New helper method.
  6444. (createImage): Use it.
  6445. 2004-07-21 David Jee <djee@redhat.com>
  6446. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
  6447. (setCaretPosition): Scroll the text view so the new caret position
  6448. is visible on screen.
  6449. 2004-07-21 David Jee <djee@redhat.com>
  6450. * gnu/java/awt/peer/gtk/GtkContainerPeer.java
  6451. (setBounds): Do not validate awtComponent here.
  6452. * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
  6453. (getPreferredSize): New method.
  6454. * java/awt/ScrollPane.java
  6455. (ScrollPane): Set default size to 100x100.
  6456. (addNotify): If child is not a Panel, wrap it with a new Panel.
  6457. (paramString): Implement.
  6458. 2004-07-21 Olga Rodimina <rodimina@redhat.com>
  6459. * javax/swing/JMenu.java:
  6460. (setSelected): Display popup menu only if this menu
  6461. is showing on the screen.
  6462. * javax/swing/JPopupMenu.java:
  6463. (processMouseEvent): Added comment.
  6464. (processKeyEvent): Likewise.
  6465. * javax/swing/MenuSelectionManager.java:
  6466. (clearSelectedPath): Only fireStateChanged() after
  6467. selected path was changed, not before.
  6468. (setSelectedPath): Likewise.
  6469. * javax/swing/plaf/basic/BasicMenuItemUI.java:
  6470. (paintMenuItem): Corrected position of menu item's
  6471. icon.
  6472. * javax/swing/plaf/basic/BasicPopupMenuUI.java:
  6473. (installUI): Correct setDefaultLightWeightPopupEnabled call.
  6474. (popupMenuCanceled): Reimplemented.
  6475. (popupMenuWillBecomeVisible): Select first menu item by default
  6476. when displaying free floating popup menus.
  6477. (TopWindowListener): Reimplemented.
  6478. 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
  6479. * java/awt/Panel.java (dispatchEventImpl): Override to prevent
  6480. Panel from being painted twice when it is first shown.
  6481. 2004-07-21 Olga Rodimina <rodimina@redhat.com>
  6482. * java/awt/Window.java: Reverted changes from my
  6483. previous patch for creating window without an owner.
  6484. * javax/swing/SwingUtilities.java:
  6485. (SwingUtilities.OwnerFrame): made static.
  6486. (OwnerFrame.setVisible): New method. Overridden with
  6487. empty implementation.
  6488. (OwnerFrame.isShowing): New method. Ovverridden
  6489. to return always true.
  6490. 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
  6491. * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
  6492. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
  6493. (GtkComponentPeer): Remove temporary try/catch block.
  6494. (setVisible): Call show and hide.
  6495. (show): Make native.
  6496. (hide): Likewise.
  6497. (getArgs): Don't add "visible" argument.
  6498. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
  6499. (property_notify_predicate): Return Bool instead of int.
  6500. (find_layout): New function.
  6501. (connectJObject): Call find_layout.
  6502. (connectSignals): Likewise.
  6503. (moveLayout): Likewise.
  6504. (gtkLayoutSetVisible): Likewise.
  6505. 2004-07-21 Mark Wielaard <mark@klomp.org>
  6506. * java/awt/event/InvocationEvent.java (dispatch): Synchronize
  6507. on notifier object before calling notifyAll().
  6508. 2004-07-21 Olga Rodimina <rodimina@redhat.com>
  6509. * java/awt/Window.java: Changed constructors to use new
  6510. method that is described below. Constructors call this
  6511. methods only if newly created window should have an owner.
  6512. (setWindowOwner): New method. Implementation for
  6513. this method is moved from this(owner,configuration).
  6514. * javax/swing/JWindow.java:
  6515. (JWindow): Reimplement to use SwingUtilities.ownerFrame
  6516. instead of owner.
  6517. * javax/swing/SwingUtilities.java:
  6518. (ownerFrame): Change type of this field to OwnerFrame.
  6519. (getOwnerFrame): Changed to return object of type OwnerFrame.
  6520. (SwingUtilities.OwnerFrame): New class. Represents owner
  6521. of a Window that is not provided with one.
  6522. 2004-07-21 Olga Rodimina <rodimina@redhat.com>
  6523. * javax/swing/AbstractButton.java:
  6524. (configurePropertiesFromAction): Set action command
  6525. to button's text by default if action command is not
  6526. explicitely specified.
  6527. * javax/swing/JMenu.java: Remove unnecessary listener
  6528. and methods relevant to it.
  6529. (setSelected): Reimplemented.
  6530. (menuSelectionChanged): Moved most part of implementation to
  6531. setSelected() and call it instead.
  6532. * javax/swing/JMenuItem.java:
  6533. (init): Comment out statement that sets paint_border to false.
  6534. (configurePropertiesFromAction): Do not set accelerator
  6535. for JMenu.
  6536. (menuSelectionChanged): Change selected index in the selection
  6537. model of menu item's parent.
  6538. * javax/swing/JPopupMenu.java:
  6539. (remove): Set constraints.fill field to GridBagConstraints.BOTH
  6540. instead of GridBagConstraints.HORIZONTAL.
  6541. (insert): Likewise.
  6542. (createActionChangeListener): Implemented.
  6543. (setVisible): Correct location of HeavyWeightMenu and
  6544. don't firePopupMenuCanceled().
  6545. (menuSelectionChanged): Implemented.
  6546. (ActionChangeListener): New Listener. Implemented.
  6547. * javax/swing/plaf/basic/BasicMenuBarUI.java:
  6548. (BasicMenuBarUI.ContainerHandler): Implemented.
  6549. * javax/swing/plaf/basic/BasicMenuItemUI.java:
  6550. (paintMenuItem): Uncommented out code that paints
  6551. icon, now that icons are working properly.
  6552. (PropertyChangeListener): Implemented.
  6553. * javax/swing/plaf/basic/BasicPopupMenuUI.java:
  6554. Added javadocs.
  6555. (topWindowListener): New field.
  6556. (Constructor): initialize topWindowListener.
  6557. (BasicPopupMenuUI.TopWindowListener): Implemented.
  6558. (BasicPopupMenuUI.PopupMenuHandler): Implemented.
  6559. (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
  6560. Implemented.
  6561. 2004-07-21 Michael Koch <konqueror@gmx.de>
  6562. * javax/swing/plaf/basic/BasicButtonUI.java
  6563. (paintFocus): Fixed method signature.
  6564. (paintButtonPressed): Likewise.
  6565. (paintButtonNormal): Likewise.
  6566. (paintText): New method.
  6567. * javax/swing/plaf/basic/BasicLabelUI.java
  6568. (paint): Re-indented.
  6569. * javax/swing/plaf/basic/BasicTextUI.java
  6570. (installUI): Set parent textComponent to opaque.
  6571. * javax/swing/text/DefaultHighlighter.java
  6572. (checkPositions): New helper method.
  6573. (addHighlight): Throws BadLocationException, check positions.
  6574. (changeHighlight): Likewise.
  6575. * javax/swing/text/EditorKit.java
  6576. (EditorKit): Implements Serializable.
  6577. * javax/swing/text/JTextComponent.java
  6578. (getUI): Added javadoc.
  6579. (setUI): Likewise.
  6580. (upadteUI): Added javadoc, don't revalidate and repaint.
  6581. 2004-07-21 David Jee <djee@redhat.com>
  6582. * java/awt/GridBagLayout.java
  6583. (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
  6584. * javax/swing/AbstractButton.java
  6585. (setText): Reindent.
  6586. * javax/swing/RepaintManager.java
  6587. (addInvalidComponent): Find the first ancestor that isValidateRoot().
  6588. 2004-07-21 Michael Koch <konqueror@gmx.de>
  6589. * javax/swing/JFormattedTextField.java
  6590. (value): New field.
  6591. (JFormattedTextField): Implemented.
  6592. (getValue): Likewise.
  6593. (setValue): Likewise.
  6594. * javax/swing/LookAndFeel.java
  6595. (getSupportsWindowDecorations): New method.
  6596. * javax/swing/UIDefaults.java:
  6597. Use java.beans.PropertyChangeSupport instead of doing all ourself.
  6598. (addPropertyChangeListener): Made public.
  6599. (addResourceBundle): Likewise.
  6600. (removeResourceBundle): Likewise.
  6601. (setDefaultLocale): Likewise.
  6602. * javax/swing/plaf/basic/BasicRootPaneUI.java
  6603. (BasicRootPaneUI): Implements PropertyChangeListener.
  6604. (propertyChange): New method.
  6605. * javax/swing/plaf/basic/BasicTextUI.java
  6606. (BasicHighlighter): New inner class.
  6607. (createHighlighter): New method.
  6608. * javax/swing/plaf/basic/BasicToolBarUI.java
  6609. (DragWindow): Extends java.awt.Window.
  6610. * javax/swing/text/JTextComponent.java
  6611. (getDocument): Removed debug output.
  6612. * javax/swing/plaf/basic/BasicTextFieldUI.java,
  6613. javax/swing/text/DefaultHighlighter.java,
  6614. javax/swing/text/FieldView.java,
  6615. javax/swing/text/PlainView.java: New files.
  6616. * Makefile.am: Added new files.
  6617. * Makefile.in: Regenerated.
  6618. 2004-07-21 Michael Koch <konqueror@gmx.de>
  6619. * javax/swing/JEditorPane.java
  6620. (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
  6621. (createEditorKitForContentType): Likewise.
  6622. * javax/swing/text/DefaultEditorKit.java
  6623. (serialVersionUID): Added constant field.
  6624. (EndOfLineStringPropery): Fixed typo.
  6625. (DefaultEditorKit): New constructor.
  6626. * javax/swing/text/Segment.java:
  6627. Import java.text.CharacterIterator.
  6628. * javax/swing/text/CharacterIterator.java,
  6629. javax/swing/text/PlainEditorKit.java: Removed.
  6630. * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
  6631. javax/swing/text/PlainEditorKit.java.
  6632. * Makefile.in: Regenerated.
  6633. 2004-07-21 Michael Koch <konqueror@gmx.de>
  6634. * javax/swing/JButton.java,
  6635. javax/swing/text/DefaultEditorKit.java,
  6636. javax/swing/text/EditorKit.java,
  6637. javax/swing/text/Segment.java,
  6638. javax/swing/text/StyledEditorKit.java:
  6639. Reformatted.
  6640. 2004-07-21 Michael Koch <konqueror@gmx.de>
  6641. * javax/swing/ImageIcon.java
  6642. (file): Removed.
  6643. (description): Renamed from descr.
  6644. (ImageIcon): Added missing constructors.
  6645. (setParent): Removed.
  6646. (setImageObserver): New method.
  6647. (getImageObserver): New method.
  6648. (paintIcon): Handle observer = null.
  6649. * javax/swing/JButton.java
  6650. (removeNotify): Fixed javadoc.
  6651. (updateUI): Simplified.
  6652. * javax/swing/JRootPane.java
  6653. (serialVersionUID): New constant field.
  6654. * javax/swing/UIManager.java:
  6655. Fixed javadocs all over.
  6656. (setLookAndFeel): Throws UnsupportedLookAndFeelException.
  6657. * javax/swing/text/AbstractDocument.java
  6658. (createPosition): Throws BadLocationException.
  6659. (getText): Likewise.
  6660. (remove): Likewise.
  6661. * javax/swing/text/ComponentView.java
  6662. (modelToView): Likewise.
  6663. * javax/swing/text/DefaultEditorKit.java:
  6664. Made all public methods public.
  6665. (read): Throws BadLocationException and IOException.
  6666. (write): Likewise.
  6667. * javax/swing/text/EditorKit.java:
  6668. Made all public methods public.
  6669. (serialVersionUID): New constant field.
  6670. (clone): New method.
  6671. (read): Throws BadLocationException and IOException.
  6672. (write): Likewise.
  6673. * javax/swing/text/Segment.java
  6674. (array): Made public.
  6675. (count): Likewise.
  6676. (offset): Likewise.
  6677. (Segment): New constructors.
  6678. (clone): Reimplemented.
  6679. * javax/swing/text/StyledEditorKit.java
  6680. (serialVersionUID): New constant field.
  6681. 2004-07-21 Graydon Hoare <graydon@redhat.com>
  6682. * java/awt/image/BufferedImage.java
  6683. (getSource): Implement.
  6684. * javax/swing/ImageIcon.java
  6685. (ImageIcon): Implement ctor.
  6686. * javax/swing/ScrollPaneLayout.java
  6687. (preferredLayoutSize): Be more careful about nulls.
  6688. 2004-07-21 Michael Koch <konqueror@gmx.de>
  6689. * javax/swing/text/AttributeSet.java
  6690. (CharacterAttribute): New interface
  6691. (ColorAttribute): Likewise.
  6692. (FontCharacterAttribute): Likewise.
  6693. (ParagraphAttribute): Likewise.
  6694. * javax/swing/text/DefaultCaret.java
  6695. (moveCaret): New method.
  6696. (positionCaret): Likewise.
  6697. (repaint): Made protected.
  6698. * javax/swing/text/JTextComponent.java
  6699. (KeyBinding): Made it static.
  6700. * javax/swing/text/View.java
  6701. (getContainer): Honor parent == null.
  6702. 2004-07-21 Michael Koch <konqueror@gmx.de>
  6703. * javax/swing/text/AbstractDocument.java:
  6704. Reformatted.
  6705. 2004-07-21 Michael Koch <konqueror@gmx.de>
  6706. * javax/swing/plaf/basic/BasicRootPaneUI.java:
  6707. Import javax.swing.UIManager explicitely.
  6708. * javax/swing/plaf/basic/BasicTabbedPaneUI.java
  6709. (ScrollingButton): Made it static.
  6710. 2004-07-21 Michael Koch <konqueror@gmx.de>
  6711. * javax/swing/UIDefaults.java
  6712. (ActiveValue): Made public.
  6713. (LazyValue): Likewise.
  6714. * javax/swing/plaf/basic/BasicTextUI.java
  6715. (RootView): Reintroduced.
  6716. (view): Removed.
  6717. (rootView): New field.
  6718. (installUI): Create document if needed, initialize rootView.
  6719. (uninstallUI): Hanle rootView.
  6720. (paint): Likewise.
  6721. (getRootView): Likewise.
  6722. (setView): Likewise.
  6723. * javax/swing/text/DefaultCaret.java:
  6724. Renamed all "evt" variables to "event".
  6725. 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
  6726. * libgcj.spec.in: Add -l-java-util-logging.
  6727. 2004-07-21 Andreas Tobler <a.tobler@schweiz.ch>
  6728. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
  6729. (init_dpi_conversion_factor): Check for int_dpi < 0 in case
  6730. gtk-xft-dpi can no calculate the right value.
  6731. (dpi_changed_cb): Mark *pspec as unsused.
  6732. 2004-07-21 David Jee <djee@redhat.com>
  6733. * java/awt/Component.java
  6734. (move): Delegate to setBounds().
  6735. (resize): Likewise.
  6736. (reshape): Fix so it repaints parent and self only when necessary.
  6737. 2004-07-21 David Jee <djee@redhat.com>
  6738. * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
  6739. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
  6740. (GtkComponentPeer): Revert previous patch from 2004-06-22.
  6741. (setVisible): Likewise.
  6742. (show): Likewise.
  6743. (hide): Likewise.
  6744. (getArgs): Likewise.
  6745. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
  6746. (property_notify_predicate): Likewise.
  6747. (find_layout): Likewise.
  6748. (connectJObject): Likewise.
  6749. (connectSignals): Likewise.
  6750. (moveLayout): Likewise.
  6751. (gtkLayoutSetVisible): Likewise.
  6752. 2004-07-21 Graydon Hoare <graydon@redhat.com>
  6753. * Makefile.am
  6754. (jv_convert_LDADD):
  6755. (gij_LDADD):
  6756. (rmic_LDADD):
  6757. (rmiregistry_LDADD): Add lib-java-util-logging.la
  6758. * Makefile.in: Regenerate.
  6759. 2004-07-21 Michael Koch <konqueror@gmx.de>
  6760. * javax/swing/text/AbstractDocument.java
  6761. (replace): Dont use protected method of java.util.Vector directly.
  6762. 2004-07-21 Michael Koch <konqueror@gmx.de>
  6763. * javax/swing/plaf/basic/BasicTextUI.java
  6764. (installUI): Call specialized install methods.
  6765. (installDefaults): New method.
  6766. (installListeners): Likewise.
  6767. (installKeyboardActions): Likewise.
  6768. (uninstallUI): Likewise.
  6769. (uninstallDefaults): New method.
  6770. (uninstallListeners): Likewise.
  6771. (uninstallKeyboardActions): Likewise.
  6772. (getPropertyPrefix): New abstract method.
  6773. (paint): Made final, just call paintSafely().
  6774. (paintSavely): New method.
  6775. (paintBackground): Likewise.
  6776. (getVisibleEditorRect): Likewise.
  6777. * javax/swing/text/LayeredHighlighter.java,
  6778. javax/swing/text/TabExpander.java: New files.
  6779. * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
  6780. and javax/swing/text/TabExpander.java.
  6781. * Makefile.in: Regenerated.
  6782. 2004-07-21 Michael Koch <konqueror@gmx.de>
  6783. * javax/swing/plaf/basic/BasicTextUI.java
  6784. (BasicTextUI): Made abstract.
  6785. (BasicCaret): New inner class.
  6786. (view): Don't explicitely initialize with "null".
  6787. (textComponent): New field.
  6788. (textColor): Removed.
  6789. (disabledTextColor): Removed.
  6790. (normalBackgroundColor): Removed.
  6791. (RootView): Removed commented out inner class.
  6792. (createUI): Removed.
  6793. (createCaret): New method.
  6794. (getComponent): Likewise.
  6795. (installUI): Initialize textComponent only.
  6796. (getPreferredSize): Use installed JTextComponent.
  6797. (setView): New method.
  6798. (create): Likewise.
  6799. * javax/swing/text/JTextComponent.java
  6800. (highlighter): New field.
  6801. (caretColor): Likewise.
  6802. (disabledTextColor): Likewise.
  6803. (seletedTextColor): Likewise.
  6804. (selectionColor): Likewise.
  6805. (setUI): New method.
  6806. (getCaretColor): Likewise.
  6807. (setCaretColor): Likewise.
  6808. (getDisabledColor): Likewise.
  6809. (setDisabledColor): Likewise.
  6810. (getSelectedTextColor): Likewise.
  6811. (setSelectedTextColor): Likewise.
  6812. (getSelectionColor): Likewise.
  6813. (setSelectionColor): Likewise.
  6814. (getHighlighter): Likewise.
  6815. (setHighlighter): Likewise.
  6816. (replaceSelection): Likewise.
  6817. 2004-07-21 Michael Koch <konqueror@gmx.de>
  6818. * javax/swing/plaf/basic/BasicScrollPaneUI.java
  6819. (BasicScrollPaneUI): Implements ScrollPaneConstants.
  6820. * javax/swing/plaf/basic/BasicToolBarUI.java
  6821. (BasicToolBarUI): Implements SwingConstants.
  6822. 2004-07-21 Michael Koch <konqueror@gmx.de>
  6823. * javax/swing/JPopupMenu.java: Removed CVS tags.
  6824. * javax/swing/UIDefaults.java: Reformatted.
  6825. * javax/swing/plaf/basic/BasicRootPaneUI.java:
  6826. Explicitely import used classes.
  6827. 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
  6828. * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
  6829. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
  6830. (GtkComponentPeer): Remove temporary try/catch block.
  6831. (setVisible): Call show and hide.
  6832. (show): Make native.
  6833. (hide): Likewise.
  6834. (getArgs): Don't add "visible" argument.
  6835. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
  6836. (property_notify_predicate): Return Bool instead of int.
  6837. (find_layout): New function.
  6838. (connectJObject): Call find_layout.
  6839. (connectSignals): Likewise.
  6840. (moveLayout): Likewise.
  6841. (gtkLayoutSetVisible): Likewise.
  6842. 2004-07-21 Olga Rodimina <rodimina@redhat.com>
  6843. * javax/swing/AbstractButton.java:
  6844. (setDisplayedMnemonicIndex): Check if button
  6845. text is not null before checking its length.
  6846. * javax/swing/JMenuItem.java:
  6847. (processMouseEvent): Disarm menu item if mouse has
  6848. exited it.
  6849. * javax/swing/plaf/basic/BasicMenuUI.java:
  6850. (MouseInputHandler.mouseEntered): Do not raise
  6851. popup menu if this menu is already selected.
  6852. (MouseInputHandler.mousePressed): Do not fire
  6853. MenuEvents.
  6854. (MenuHandler): Implemented.
  6855. 2004-07-21 Olga Rodimina <rodimina@redhat.com>
  6856. * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
  6857. (getSelectedObjects): Implemented.
  6858. * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
  6859. * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
  6860. Added javadoc for few methods.
  6861. (processMouseEvent): Made public.
  6862. * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
  6863. (processMouseEvent): Likewise.
  6864. 2004-07-21 Olga Rodimina <rodimina@redhat.com>
  6865. * javax/swing/AbstractButton.java:
  6866. (init): Set display mnemonic index to -1.
  6867. (setMnemonic(char)): Use setMnemonic(int).
  6868. (setMnemonic(int)): Set display mnemonic index.
  6869. (getDisplayedMnemonicIndex): Change method signature
  6870. by removing 'index' parameter.
  6871. * javax/swing/plaf/basic/BasicLookAndFeel.java:
  6872. Added default for Menu.selectionBackground.
  6873. * javax/swing/plaf/basic/BasicMenuItemUI.java:
  6874. (paintMenuItem): Change background color of the selected
  6875. menu item.
  6876. (paintText): Paint differently when menu item is disabled.
  6877. Also paint mnemonic if it appears in the menu item's label.
  6878. (paintAccelerator): Paint accelerator differently
  6879. if menu item is disabled.
  6880. * javax/swing/plaf/basic/BasicMenuUI.java:
  6881. (installDefaults): Install defaults for
  6882. selectionForeground and selectionBackground.
  6883. (uninstallDefaults): Uninstall defauls for
  6884. selectionForeground and selectionBackground.
  6885. 2004-07-21 Michael Koch <konqueror@gmx.de>
  6886. * javax/swing/text/AbstractDocument.java
  6887. (BranchElement): Implemented.
  6888. (LeafElement): Implemented.
  6889. * javax/swing/text/DefaultCaret.java:
  6890. Import used classes.
  6891. (serialVersionUID): New constant.
  6892. * javax/swing/text/JTextComponent.java
  6893. (AccessibleJTextComponent): Removed dead declaration.
  6894. (caretPos): Removed.
  6895. (setCaret): New method.
  6896. * javax/swing/text/PlainDocument.java
  6897. (rootElement): New field.
  6898. (PlainDocument): Initialize rootElement.
  6899. (createDefaultRoot): New method.
  6900. (getDefaultRootElement): Implemented.
  6901. * javax/swing/text/View.java: Reformatted.
  6902. * javax/swing/text/ViewFactory.java
  6903. (create): Added javadoc.
  6904. 2004-07-21 Michael Koch <konqueror@gmx.de>
  6905. * javax/swing/ToolTipManager.java: Reformatted.
  6906. 2004-07-21 Rodimina Olga <rodimina@redhat.com>
  6907. * javax/swing/AbstractButton.java
  6908. (changeEvent): New field.
  6909. (fireItemStateChanged): Change source of the event
  6910. to 'this' before firing it to button listeners.
  6911. (fireActionPerformed): Likewise.
  6912. (fireStateChanged): Likewise.
  6913. (createActionListener): Do not set source
  6914. of the event to AbstractButton.
  6915. * javax/swing/plaf/basic/BasicMenuBarUI.java:
  6916. (ContainerHandler.componentAdded): Removed
  6917. print out statement.
  6918. (ContainerHandler.componentRemoved): Likewise.
  6919. 2004-07-21 Michael Koch <konqueror@gmx.de>
  6920. * javax/swing/text/Highlighter.java: New file.
  6921. * Makefile.am: Added javax/swing/text/Highlighter.java.
  6922. * Makefile.in: Regenerated.
  6923. 2004-07-21 Michael Koch <konqueror@gmx.de>
  6924. * javax/swing/ToolTipManager.java
  6925. (stillInsideTimerAction): Fixed constructor arguments.
  6926. (outsideTimerAction): Likewise.
  6927. (insideTimerAction): Likewise.
  6928. 2004-07-21 Michael Koch <konqueror@gmx.de>
  6929. * javax/swing/JButton.java: Reformatted.
  6930. * javax/swing/JFormattedTextField.java
  6931. (getUIClassID): Implemented.
  6932. * javax/swing/JRootPane.java
  6933. (serialVersionUID): New constant.
  6934. * javax/swing/JTextField.java
  6935. (align): New field.
  6936. (JTextField): Simplified.
  6937. (getUIClassID): New method.
  6938. (getActionListeners): Added @since tag.
  6939. (setColumns): Invalidate layout and repaint.
  6940. (getHorizontalAlignment): New method.
  6941. (setHorizontalAlignment): New method.
  6942. (selectAll): Removed.
  6943. * javax/swing/SwingUtilities.java
  6944. (getAncestorOfClass): Removed redundant @see tag.
  6945. (isLeftMouseButton): Fixed implementation.
  6946. (isMiddleMouseButton): Likewise.
  6947. (isRightMouseButton): Likewise.
  6948. * javax/swing/text/AbstractDocument.java
  6949. (AttributeContext.addAttribute): New method.
  6950. (AttributeContext.addAttributes): New method.
  6951. (AttributeContext.getEmptySet): New method.
  6952. (AttributeContext.reclaim): New method.
  6953. (AttributeContext.removeAttribute): New method.
  6954. (AttributeContext.removeAttributes): New method.
  6955. * javax/swing/text/Document.java
  6956. (createPosition): Throws BadLocationException.
  6957. (getText): Likewise.
  6958. (remove): Likewise.
  6959. * javax/swing/text/JTextComponent.java
  6960. (getText): Return null if no document is set. Catch
  6961. BadLocationException.
  6962. (getUI): Return ui.
  6963. (updateUI): Simplified.
  6964. 2004-07-21 Michael Koch <konqueror@gmx.de>
  6965. * javax/swing/JButton.java
  6966. (removeNotify): Fixed javadoc.
  6967. (updateUI): Simplified.
  6968. 2004-07-21 David Jee <djee@redhat.com>
  6969. * gnu/java/awt/image/ImageDecoder.java
  6970. (startProduction): Only add consumer if it's not added yet.
  6971. * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
  6972. (GdkPixbufDecoder): Don't call initState() here.
  6973. (produce): Call initState() here, to ensure area_prepared and
  6974. area_updated signals are properly connected.
  6975. * gnu/java/awt/peer/gtk/GtkImage.java
  6976. (setColorModel): Use equals() to compare ColorModel objects.
  6977. (setPixels): Likewise.
  6978. * java/awt/image/ColorModel.java
  6979. (equals): Fix typo. Use Arrays.equals() to compare int arrays.
  6980. * java/awt/image/RGBImageFilter.java
  6981. (setColorModel): Set consumer's color model.
  6982. (setPixels): Use equals() to compare ColorModel objects.
  6983. 2004-07-21 Bryce McKinlay <mckinlay@redhat.com>
  6984. * java/net/URLConnection.java (position): New field.
  6985. (dateFormat1, dateFormat2, dateFormat3): Removed.
  6986. (dateFormats): New field.
  6987. (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
  6988. each time instead of re-allocating.
  6989. (initializeDateFormats): Initialize 'dateFormats'.
  6990. 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
  6991. PR libgcj/16591
  6992. * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
  6993. is defined.
  6994. 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
  6995. * java/net/Socket.java (getImpl): Now private. Remove comment.
  6996. 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
  6997. * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
  6998. of chained Writer when calling super-constructor.
  6999. * java/io/FilterWriter.java (FilterWriter): Likewise.
  7000. * java/io/PrintWriter.java (PrintWriter): Likewise.
  7001. 2004-07-19 Bryce McKinlay <mckinlay@redhat.com>
  7002. * prims.cc (process_gcj_properties): Don't increment i within LHS
  7003. of assignment.
  7004. 2004-07-19 Per Bothner <per@bothner.com>
  7005. Print -verbose:message on "loading", not initialization.
  7006. * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order.
  7007. * defineclass.cc (_Jv_ClassReader::parse): Print message if
  7008. gcj::verbose_class_flag.
  7009. * java/lang/natClass.cc (initializeClass): Don't print message here.
  7010. * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was
  7011. _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
  7012. (_Jv_PrepareCompiledClass): Likewise.
  7013. 2004-07-18 Matthias Klose <doko@debian.org>
  7014. * configure.in: Substitute target_noncanonical.
  7015. * configure: Regenerate
  7016. 2004-07-17 Michael Koch <konqueror@gmx.de>
  7017. * java/lang/String.java: Fixed javadocs all over.
  7018. 2004-07-17 Mark Wielaard <mark@klomp.org>
  7019. * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
  7020. when size is smaller.
  7021. * java/io/RandomAccessFile.java (setLength): Use truncate for
  7022. shrinking the file and seek plus write for expanding the file.
  7023. 2004-07-17 Michael Koch <konqueror@gmx.de>
  7024. * gnu/java/nio/channels/natFileChannelPosix.cc
  7025. (implTruncate): Always save current position. Only reposition file
  7026. pointer to where we started if not beyond new lenght. Reposition file
  7027. pointer to file length if it points beyond the end of file.
  7028. 2004-07-17 Mark Wielaard <mark@klomp.org>
  7029. * javax/swing/Box.java: Put FIXME comment above class declaration.
  7030. * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
  7031. * javax/swing/JCheckBox.java: Likewise.
  7032. * javax/swing/JDialog.java: Likewise.
  7033. * javax/swing/JRadioButton.java: Likewise.
  7034. * javax/swing/JToggleButton.java: Likewise.
  7035. * javax/swing/UIManager.java: Likewise.
  7036. * javax/swing/border/TitledBorder.java: Likewise.
  7037. * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
  7038. * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
  7039. * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
  7040. * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
  7041. * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
  7042. * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
  7043. * javax/swing/text/JTextComponent.java: Likewise.
  7044. 2004-07-17 Jeroen Frijters <jeroen@frijters.net>
  7045. * java/net/DatagramPacket.java (setAddress): Removed check for
  7046. null address.
  7047. 2004-07-17 Michael Koch <konqueror@gmx.de>
  7048. * java/net/DatagramSocket.java
  7049. (getLocalAddress): Check if socket is bound or not.
  7050. * java/net/Socket.java
  7051. (getLocalAddrss): Check if socket is bound or not.
  7052. (getPort): Return -1 when not connected. Dont check getImpl() for
  7053. null.
  7054. (setReuseAddress): Check if socket is closed.
  7055. (isConnected): Check if getImpl() returns null.
  7056. 2004-07-17 Mark Wielaard <mark@klomp.org>
  7057. * java/awt/event/InvocationEvent.java (dispatch): Synchronize
  7058. on notifier object before calling notifyAll().
  7059. 2004-07-17 Michael Koch <konqueror@gmx.de>
  7060. * gnu/java/nio/channels/FileChannelImpl.java
  7061. (finalize): Added javadoc.
  7062. 2004-07-17 Guilhem Lavaux <guilhem@kaffe.org>
  7063. * java/text/CollationElementIterator.java
  7064. (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
  7065. (setText): Use ArrayList instead of Vector.
  7066. 2004-07-17 Michael Koch <konqueror@gmx.de>
  7067. * java/nio/ByteOrder.java
  7068. (static): Removed. Not needed.
  7069. Thanks to Patrick Reali for noticing.
  7070. * java/nio/charset/CharsetDecoder.java
  7071. (decode): Fix for classpath bug #9177: Reset state before flipping.
  7072. 2004-07-17 Michael Koch <konqueror@gmx.de>
  7073. * java/security/Security.java: Fixed javadocs all over.
  7074. 2004-07-17 Michael Koch <konqueror@gmx.de>
  7075. * gnu/java/awt/EmbeddedWindow.java
  7076. (static): Removed.
  7077. (addNotify): Set peer via reflection.
  7078. (setWindowPeer): Removed.
  7079. * gnu/java/awt/natEmbeddedWindow.cc: Removed.
  7080. * Makefile.am (nat_source_files):
  7081. Removed gnu/java/awt/natEmbeddedWindow.cc.
  7082. * Makefile.in: Regenerated.
  7083. 2004-07-17 Richard Earnshaw <rearnsha@arm.com>
  7084. * configure.in(ZIP, GCJH): Remove white space around '=' in variable
  7085. assignment.
  7086. * configure: Regenerated.
  7087. 2004-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
  7088. * configure.in: Use build_noncanonical rather than build_alias.
  7089. * configure: Rebuild.
  7090. * configure.in: Eliminate CANADIAN and NULL_TARGET variables
  7091. by logic refactoring. Move default definition of NATIVE closer
  7092. to first alternate definition.
  7093. * configure: Regenerate.
  7094. * Makefile.am: Set ZIP and GCJH directly using autoconf.
  7095. * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
  7096. gcj/Makefile.in: Regenerate.
  7097. * configure.in: Set ZIP and GCJH. Remove redundant condition
  7098. in AM_CONDITIONAL(NATIVE,...)
  7099. * configure: Regenerate.
  7100. 2004-07-15 Nathanael Nerode <neroden@gcc.gnu.org>
  7101. * configure.in: Use target_noncanonical rather than
  7102. target_alias for forward-compatibility with autoconf 2.59.
  7103. * configure: Regenerate.
  7104. * Makefile.am, gcj/Makefile.am, include/Makefile.am,
  7105. testsuite/Makefile.am: Substitute target_noncanonical.
  7106. * Makefile.in, gcj/Makefile.in, include/Makefile.in,
  7107. testsuite/Makefile.in: Regenerate.
  7108. * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
  7109. Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
  7110. * acinclude.m4: Include acx.m4.
  7111. * aclocal.m4: Regenerate.
  7112. * configure: Regenerate.
  7113. 2004-07-15 Bryce McKinlay <mckinlay@redhat.com>
  7114. PR libgcj/16574
  7115. * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
  7116. (decimalFormat): New static variable.
  7117. (sbuf): Likewise.
  7118. (getTime): New. Override Date.getTime().
  7119. (toString): Synchronize. Use decimalFormat to format nanos value
  7120. correctly. Truncate extra zeros.
  7121. (before): Compare getNanos() only if getTime() is equal.
  7122. (after): Likewise.
  7123. 2004-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
  7124. * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
  7125. * configure.in: ...here.
  7126. * aclocal.m4: Regenerate.
  7127. * configure: Regenerate.
  7128. * aclocal.m4: Rebuilt with aclocal gcj-1.4.
  7129. * configure: Rebuilt with autoconf 2.13.
  7130. * Makefile.in, gcj/Makefile.in, include/Makefile.in,
  7131. testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
  7132. 2004-07-14 Bryce McKinlay <mckinlay@redhat.com>
  7133. PR libgcj/16204
  7134. * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
  7135. large file support.
  7136. * Makefile.in: Rebuilt.
  7137. * testsuite/libjava.lang/LargeFile.java: New test case.
  7138. * testsuite/libjava.lang/LargeFile.out: New file.
  7139. 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
  7140. * java/beans/EventHandler.java: Remove debugging statements.
  7141. 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
  7142. * java/beans/EventHandler.java: New file.
  7143. * Makefile.am (awt_java_source_files): Add EventHandler.java.
  7144. * Makefile.in, gcj/Makefile.in, include/Makefile.in,
  7145. testsuite/Makefile.in: Regenerate.
  7146. 2004-07-14 Andreas Tobler <a.tobler@schweiz.ch>
  7147. * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
  7148. flag to the gcj_setup.
  7149. (gcj_jacks_run): Check tclsh version and launch jacks directly with
  7150. the tclsh.
  7151. * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
  7152. deprecation flag change. 58 XFAILS removed.
  7153. 2004-07-14 Ulrich Weigand <uweigand@de.ibm.com>
  7154. * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
  7155. -fno-use-divide-subroutine.
  7156. * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
  7157. (HANDLE_FPE): Define.
  7158. (SIGNAL_HANDLER): Change third argument to ucontext_t *.
  7159. (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
  7160. (HANDLE_DIVIDE_OVERFLOW): Define.
  7161. 2004-07-14 Michael Koch <konqueror@gmx.de>
  7162. Matthias Klose <doko@debian.org>
  7163. * java/awt/im/InputContext.java: Initialize in, line.
  7164. 2004-07-13 Ulrich Weigand <uweigand@de.ibm.com>
  7165. * interpret.cc (run): Correctly access libffi return values of
  7166. integral smaller-than-int type; these are implicitly promoted.
  7167. 2004-07-13 Bryce McKinlay <mckinlay@redhat.com>
  7168. PR libgcj/7587
  7169. * interpret.cc (compile_mutex): New.
  7170. (_Jv_InitInterpreter): New. Initialize compile_mutex.
  7171. (run): Lock compile_mutex before calling compile() if compilation is
  7172. required.
  7173. * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
  7174. * include/java-interp.h (_Jv_InitInterpreter): Declare.
  7175. 2004-07-12 Bryce McKinlay <mckinlay@redhat.com>
  7176. PR libgcj/15713
  7177. * include/jvm.h (_Jv_value): New union type.
  7178. * gcj/field.h (_Jv_Field): Add new _addr union field variants
  7179. * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
  7180. union members.
  7181. 2004-07-12 Scott Gilbertson <scottg@mantatest.com>
  7182. * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
  7183. * gnu/awt/xlib/XOffScreenImage.java
  7184. (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
  7185. constructor argument. Add constructor using ImageProducer.
  7186. (getSource): Implement.
  7187. (imageComplete): New method.
  7188. (setColorModel): New method.
  7189. (setDimensions): New method.
  7190. (setHints): New method.
  7191. (setPixels): New method.
  7192. (setProperties): New method.
  7193. * gnu/gcj/xlib/GC.java (drawPoint): New native method.
  7194. * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
  7195. 2004-07-11 Bryce McKinlay <mckinlay@redhat.com>
  7196. PR libgcj/16478
  7197. * prims.cc (_Jv_CreateJavaVM): Fix comment.
  7198. * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
  7199. (finalizerReady): Now native.
  7200. (run): Likewise.
  7201. (runFinalizers): Removed.
  7202. * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
  7203. a primitive lock, and don't hold it while running the finalizers.
  7204. (runFinalizers): Implement. Don't aquire any Java lock.
  7205. (finalizerReady): Use lock primitives to signal finalizer thread.
  7206. 2004-07-11 Mark Wielaard <mark@klomp.org>
  7207. Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
  7208. * java/net/URLStreamHandler.java (parseURL): When url file part
  7209. doesn't contain a '/' just ignore context.
  7210. 2004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
  7211. * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
  7212. (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
  7213. (MAKE_THROW_FRAME): Do not modify PSW address.
  7214. (INIT_SEGV): Install SIGINFO-style signal handler.
  7215. (INIT_FPE): Likewise.
  7216. 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
  7217. * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
  7218. status. 21 xfail's removed, 1 added.
  7219. 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
  7220. * gcj/javaprims.h: Regenerate CNI namespace definitions.
  7221. 2004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
  7222. * java/text/MessageFormat.java
  7223. (formatInternal): Append "{n}" if argument n is unavailable.
  7224. (format(Object, StringBuffer, FieldPosition)): This
  7225. should be equivalent to format(Object[],
  7226. StringBuffer, FieldPosition).
  7227. 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
  7228. * java.util.Calendar.java (cache): New private static field. Cached
  7229. mappings of locales->calendar classes.
  7230. (ctorArgTypes): New private static field. Singleton argument for
  7231. calendar class constructor lookup.
  7232. (getInstance): Cache Locale->Calendar class mappings using HashMap.
  7233. Optimize by bypassing reflection instantiation for the
  7234. GregorianCalendar case.
  7235. 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
  7236. * java/util/Calendar.java: Use getSystemClassLoader as argument for
  7237. ResourceBundle.getBundle() calls.
  7238. * java/util/GregorianCalendar.java: Likewise.
  7239. * java/util/Currency.java: Likewise.
  7240. * java/text/BreakIterator.java: Likewise.
  7241. * java/text/Collator.java: Likewise.
  7242. * java/text/DateFormat.java: Likewise.
  7243. * java/text/DateFormatSymbols.java: Likewise.
  7244. * java/text/DecimalFormatSymbols.java: Likewise.
  7245. * java/text/NumberFormat.java: Likewise.
  7246. * java/awt/Window.java: Likewise.
  7247. 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
  7248. * java/util/ResourceBundle.java (bundleCache): Renamed from
  7249. resourceBundleCache. Update comments.
  7250. (getObject): Don't catch MissingResourceException.
  7251. (getBundle(String)): Remove 'final'. Use system classloader if
  7252. getCallingClassLoader returned null.
  7253. (getBundle(String, Locale)): Likewise.
  7254. (BundleKey): New private class. HashMap key for bundle cache lookup.
  7255. (lookupKey): New. Singleton instance of BundleKey.
  7256. (nullEntry): New. Cache entry to represent failed lookups.
  7257. (getBundle(String, Locale, ClassLoader)): Re-written to use new
  7258. caching strategy, no-allocation lookup, and new tryBundle methods.
  7259. (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
  7260. name using given classloader.
  7261. (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
  7262. baseName for given Locale and attempt to load bundle.
  7263. 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
  7264. * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
  7265. illegal protected method calls.
  7266. 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
  7267. Fix or remove some bogus test cases.
  7268. * testsuite/libjava.compile/pr10459_2.java: Removed.
  7269. * testsuite/libjava.compile/pr10459.java: Test using its own method,
  7270. not Object.clone().
  7271. * testsuite/libjava.compile/inner_data.java: Test against its own
  7272. protected field.
  7273. 2004-07-09 Michael Koch <konqueror@gmx.de>
  7274. * scripts/unicode-muncher.pl: Updated to version 2.1
  7275. from GNU classpath. Added some clarifications on where to find the
  7276. needed files from www.unicode.org.
  7277. * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
  7278. gnu/gcj/convert/UnicodeData-3.0.0.txt:
  7279. Removed, these can directly be downloaded from www.unicode.org if
  7280. needed.
  7281. * gnu/java/lang/CharData.java: Regenerated.
  7282. * include/java-chartables.h: Regenerated.
  7283. * Makefile.am (ordinary_java_source_files):
  7284. Removed gnu/java/lang/CharData.java.
  7285. * Makefile.in: Regenerated.
  7286. 2004-07-09 Michael Koch <konqueror@gmx.de>
  7287. * java/security/AccessControlContext.java,
  7288. java/security/SecureClassLoader.java:
  7289. Fixed javadocs.
  7290. 2004-07-09 Michael Koch <konqueror@gmx.de>
  7291. * java/io/ObjectInputStream.java (readFields): Use long datatype
  7292. when shifting byte values more then 24 bits left.
  7293. 2004-07-09 Michael Koch <konqueror@gmx.de>
  7294. * java/util/zip/DeflaterOutputStream.java,
  7295. java/util/zip/GZIPInputStream.java,
  7296. java/util/zip/GZIPOutputStream.java,
  7297. java/util/zip/InflaterInputStream.java:
  7298. Reformatted. Added javadocs. Reordered all stuff.
  7299. Renamed variables to be more clear.
  7300. 2004-07-09 Michael Koch <konqueror@gmx.de>
  7301. * javax/imageio/IIOException.java,
  7302. javax/imageio/event/IIOReadProgressListener.java,
  7303. javax/imageio/event/IIOReadUpdateListener.java,
  7304. javax/imageio/event/IIOReadWarningListener.java,
  7305. javax/imageio/event/IIOWriteProgressListener.java,
  7306. javax/imageio/event/IIOWriteWarningListener.java:
  7307. New files.
  7308. * Makefile.am: Added new files.
  7309. * Makefile.in: Regenerated.
  7310. 2004-07-09 Guilhem Lavaux <guilhem@kaffe.org>
  7311. * java/text/RuleBasedCollator.java
  7312. (mergeRules): Use ArrayList instead of Vector.
  7313. (subParseString): likewise.
  7314. (parseString): likewise.
  7315. (buildCollationVector): likewise.
  7316. (getCollationKey): likewise.
  7317. 2004-07-09 Dalibor Topic <robilad@kaffe.org>
  7318. * java/text/DateFormat.java (parse):
  7319. Improved javadoc. Improved exception message.
  7320. 2004-07-09 Mark Wielaard <mark@klomp.org>
  7321. * gnu/java/nio/SelectorImpl.java (select): Call static Thread
  7322. interrupted() method to clear interupt flag of our Thread.
  7323. 2004-07-09 Dalibor Topic <robilad@kaffe.org>
  7324. * java/nio/Buffer.java,
  7325. java/nio/ByteBuffer.java,
  7326. java/nio/ByteBufferHelper.java,
  7327. java/nio/ByteBufferImpl.java,
  7328. java/nio/CharBuffer.java,
  7329. java/nio/CharBufferImpl.java,
  7330. java/nio/CharViewBufferImpl.java,
  7331. java/nio/DirectByteBufferImpl.java,
  7332. java/nio/DoubleBuffer.java,
  7333. java/nio/DoubleBufferImpl.java,
  7334. java/nio/DoubleViewBufferImpl.java,
  7335. java/nio/FloatBuffer.java,
  7336. java/nio/FloatBufferImpl.java,
  7337. java/nio/FloatViewBufferImpl.java,
  7338. java/nio/IntBuffer.java,
  7339. java/nio/IntBufferImpl.java,
  7340. java/nio/IntViewBufferImpl.java,
  7341. java/nio/LongBuffer.java,
  7342. java/nio/LongBufferImpl.java,
  7343. java/nio/LongViewBufferImpl.java,
  7344. java/nio/MappedByteBufferImpl.java,
  7345. java/nio/ShortBuffer.java,
  7346. java/nio/ShortBufferImpl.java,
  7347. java/nio/ShortViewBufferImpl.java:
  7348. Fixed javadocs all over. Improved input error
  7349. checking.
  7350. * java/nio/Buffer.java
  7351. (checkForUnderflow, checkForOverflow, checkIndex,
  7352. checkIfReadOnly, checkArraySize): New helper methods
  7353. for error checking.
  7354. * java/nio/ByteBufferHelper.java
  7355. (checkRemainingForRead, checkRemainingForWrite,
  7356. checkAvailableForRead, checkAvailableForWrite): Removed
  7357. no longer needed methods.
  7358. 2004-07-09 Michael Koch <konqueror@gmx.de>
  7359. * gnu/regexp/CharIndexedInputStream.java:
  7360. Reordered imports to match classpath.
  7361. 2004-07-09 Michael Koch <konqueror@gmx.de>
  7362. * gnu/java/awt/EmbeddedWindow.java:
  7363. Load native library for setWindowPeer method.
  7364. 2004-07-08 Randolph Chung <tausq@debian.org>
  7365. * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
  7366. * configure: Regenerate.
  7367. * configure.host: Set can_unwind_signal for hppa*-linux.
  7368. * include/pa-signal.h: New file.
  7369. 2004-07-07 Per Bothner <per@bothner.com>
  7370. * Makefile.am: Add rules to build libgij from just gij.cc.
  7371. * include/jvm.h (namespace jcj): Declare verbose_class_flag
  7372. * java/lang/natClass.cc (gcj::verbose_class_flag): New variable.
  7373. (initializeClass): If verbose_class_flag, print message.
  7374. * gij.cc (main): Handle -verbose:class flag.
  7375. 2004-07-07 Andreas Tobler <a.tobler@schweiz.ch>
  7376. * configure.host: Enable hash synchronization on Darwin.
  7377. * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
  7378. ';', since this is a comment on Darwin.
  7379. (compare_and_swap_release): Likewise.
  7380. 2004-07-06 Mohan Embar <gnustuff@thisiscool.com>
  7381. * java/net/URLStreamHandler.java (parseURL): Canonicalize
  7382. file portion of URL in addition to spec for file: protocol.
  7383. 2004-07-05 Anthony Green <green@redhat.com>
  7384. * java/io/File.java (toURI): Merge from Classpath.
  7385. 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
  7386. * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
  7387. before passing to URL constructor. Rethrow any MalformedURLException
  7388. as a RuntimeException. Catch MalformedURLException specifically, not
  7389. all exceptions.
  7390. 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
  7391. * java/util/Locale.java (readObject): Intern strings read from object
  7392. stream.
  7393. 2004-07-04 Michael Koch <konqueror@gmx.de>
  7394. * gnu/gcj/runtime/FirstThread.java,
  7395. gnu/gcj/runtime/natFirstThread.cc: Removed.
  7396. * gnu/java/lang/MainThread.java,
  7397. gnu/java/lang/natMainThread.cc: New files.
  7398. * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
  7399. * Makefile.am: Added new files and removed deleted ones.
  7400. * Makefile.in: Regenerated.
  7401. 2004-07-03 Mark Wielaard <mark@klomp.org>
  7402. Anthony Green <green@redhat.com>
  7403. * java/net/URL.java (getFile): Clarify return value doc.
  7404. (getPath): Return null if file is empty - not empty String.
  7405. (set): Convert protocol to lower case before doing anything.
  7406. Only change the protocol handler if it's different.
  7407. 2004-07-03 Anthony Green <green@redhat.com>
  7408. * java/net/URL.java (URL): Convert protocol to lower case before
  7409. doing anything, so we getURLStreamHandler() with the proper value.
  7410. 2004-07-02 Bryce McKinlay <mckinlay@redhat.com>
  7411. * java/util/Locale.java (hashcode): Made transient.
  7412. (hashCode): No longer synchronized.
  7413. (equals): Remove comment.
  7414. (writeObject): No longer synchronized. Implement using writeObject
  7415. calls instead of tweaking hashCode field. Update doc.
  7416. (readObject): Implement using readObject calls.
  7417. 2004-06-26 Geoffrey Keating <geoffk@apple.com>
  7418. Andreas Tobler <a.tobler@schweiz.ch>
  7419. * configure.host (powerpc-*-darwin*): New case, define
  7420. can_unwind_signal.
  7421. * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
  7422. * configure: Regenerate.
  7423. * include/darwin-signal.h: New.
  7424. 2004-06-30 Jerry Quinn <jlquinn@optonline.net>
  7425. * java/beans/Statement.java (doExecute): Fix formatting.
  7426. 2004-06-29 Per Bothner <per@bothner.com>
  7427. * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
  7428. etc etc): Remove needless parenthesis, which causes __stdcall__
  7429. attribute on MinGW to get ignored.
  7430. 2004-06-29 Bryce McKinlay <mckinlay@redhat.com>
  7431. * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
  7432. 2004-06-28 Bryce McKinlay <mckinlay@redhat.com>
  7433. * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
  7434. 2004-06-28 Jerry Quinn <jlquinn@optonline.net>
  7435. * java/beans/Expression.java: New file.
  7436. * java/beans/Statement.java: New file.
  7437. * Makefile.am: Added new files.
  7438. * Makefile.in: Re-generate.
  7439. 2004-06-27 Mark Wielaard <mark@klomp.org>
  7440. * java/io/FilePermission.java (usingPerms): Removed.
  7441. (actionsString): Made final.
  7442. (cachePerms): Renamed to checkPerms.
  7443. (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
  7444. on action String.
  7445. (FilePermission): Check arguments, call checkPerms().
  7446. (equals): Remove cachePerms() call.
  7447. (implies): Likewise.
  7448. 2004-06-27 Mark Wielaard <mark@klomp.org>
  7449. * gnu/java/net/protocol/http/Connection.java (userAgent): New static
  7450. final field.
  7451. (sendRequest): Use new field in user-agent http agent.
  7452. 2004-06-27 Mark Wielaard <mark@klomp.org>
  7453. * java/awt/EventQueue.java (postEvent): Throw NullPointerException
  7454. when argument is null.
  7455. 2004-06-26 Mark Wielaard <mark@klomp.org>
  7456. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
  7457. (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
  7458. GetMethodID call.
  7459. (cancel_clicked): Likewise.
  7460. 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
  7461. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
  7462. (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
  7463. can not calculate the right value.
  7464. (dpi_changed_cb): Likewise. Mark *pspec as unused.
  7465. 2004-06-24 Bryce McKinlay <mckinlay@redhat.com>
  7466. * testsuite/libjava.jacks/jacks.xfail: Remove
  7467. 15.9.1-qualified-concrete-20.
  7468. 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
  7469. * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
  7470. encoding name to iconv.
  7471. * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
  7472. 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
  7473. PR libgcj/16134:
  7474. * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
  7475. encoding name before cache lookup. Thanks to Hannes Wallnoefer.
  7476. * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
  7477. 2004-06-21 Andrew Haley <aph@redhat.com>
  7478. * java/io/ObjectOutputStream.java: Add DEBUG statements
  7479. everywhere.
  7480. (dumpElementln): New method.
  7481. (depth): New field.
  7482. * java/io/ObjectInputStream.java
  7483. (currentClassLoader): Make native.
  7484. (callersClassLoader): New field.
  7485. (depth): New field.
  7486. (readObject): ENDBLOCKDATA is generated if the class has a write
  7487. method, not if it has a read method.
  7488. (readObject): Save and restore this.currentObject and
  7489. this.currentObjectStreamClass around calls to callReadMethod().
  7490. * java/io/natObjectInputStream.cc (getCallersClassLoader): New
  7491. method.
  7492. 2004-06-18 Andreas Tobler <a.tobler@schweiz.ch>
  7493. * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
  7494. darwin.
  7495. 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
  7496. * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
  7497. if desired, before the default class loader is initialised.
  7498. Call INIT_SEGV only if HANDLE_SEGV is defined.
  7499. 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
  7500. * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
  7501. directory only if it actually exists.
  7502. 2004-06-18 Graydon Hoare <graydon@redhat.com>
  7503. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
  7504. Fix up non-ansi comments.
  7505. 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
  7506. * javax/swing/text/AbstractDocument.java: Adding missing import
  7507. for javax.swing.event.EventListenerList.
  7508. * javax/swing/text/DefaultCaret.java: Likewise.
  7509. 2004-06-17 Michael Koch <konqueror@gmx.de>
  7510. * javax/swing/JToolBar.java
  7511. (name): Removed.
  7512. (JToolBar): Use Component.setName(String) instead of doing it all
  7513. alone.
  7514. * javax/swing/Timer.java
  7515. (queueEvent): Added missing modifier.
  7516. 2004-06-17 Olga Rodimina <rodimina@redhat.coom>
  7517. * Makefile.am: Added new file.
  7518. * Makefile.in: Re-generate.
  7519. * javax/swing/JMenu.java:
  7520. (insertSeparator): Implemented.
  7521. * javax/swing/JPopupMenu.java:
  7522. (JPopupMenu.Separator): Implemented.
  7523. * javax/swing/MenuSelectionManager.java:
  7524. (processMouseEvent): Use java.awt.Component
  7525. for event source instead of javax.swing.JComponent.
  7526. * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
  7527. New File. Implemented.
  7528. 2004-06-16 David Jee <djee@redhat.com>
  7529. * java/awt/GridBagLayout.java
  7530. (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
  7531. Make sure pos_x and pos_y are never negative.
  7532. 2004-04-16 Andrew Overholt <overholt@redhat.com>
  7533. * Makefile.am: Add new file.
  7534. * Makefile.in: Re-generate.
  7535. * javax/swing/JToolBar.java
  7536. Partially implemented.
  7537. * javax/swing/plaf/basic/BasicToolBarUI.java
  7538. New file. Partially implemented.
  7539. 2004-06-16 Graydon Hoare <graydon@redhat.com>
  7540. * gnu/java/awt/peer/gtk/GdkGraphics2D.java
  7541. (setComposite): Accept AlphaComposite arguments.
  7542. * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
  7543. (createBufferedImage): Add new overloads.
  7544. * gnu/java/awt/peer/gtk/GtkToolkit.java
  7545. (createImage): Use GdkPixbufDecoder.createBufferedImage
  7546. when useGraphics2D() is true.
  7547. (getImage): Delegate to createImage.
  7548. * javax/swing/JList.java
  7549. (isSelectionEmpty):
  7550. (getFirstVisibleIndex):
  7551. (getLastVisibleIndex):
  7552. (setSelectedValue):
  7553. (ensureIndexIsVisible): New methods.
  7554. * javax/swing/Timer.java: Reimplement.
  7555. 2004-06-16 Michael Koch <konqueror@gmx.de>
  7556. * javax/swing/text/AbstractDocument.java
  7557. (AbstracElement): Made public, implements java.io.Serializable.
  7558. (AttributeContext): Made public.
  7559. (BranchElement): Likewise.
  7560. (Content): Likewise.
  7561. (DefaultDocumentEvent): Made public, extends
  7562. javax.swing.undo.CompoundEdit.
  7563. (ElementEdit): Made public, extends
  7564. javax.swing.undo.AbstractUndoableEdit.
  7565. (LeafElement): Made public.
  7566. (LeafElement.LeafElement): Made public.
  7567. 2004-06-16 Michael Koch <konqueror@gmx.de>
  7568. * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
  7569. methods (that were obviously never be intended to get included hi this
  7570. class. Added some methods too.
  7571. 2004-06-16 Michael Koch <konqueror@gmx.de>
  7572. * javax/swing/text/PlainDocument.java
  7573. (serialVersionUID): New constant.
  7574. (lineLimitAttribute): Likewise.
  7575. (tabSizeAttribute): Likewise.
  7576. (tabSize): New field.
  7577. (PlainDocument): Made public.
  7578. (PlainDocument): New constructor.
  7579. 2004-06-16 Michael Koch <konqueror@gmx.de>
  7580. * javax/swing/text/AbstractDocument.java
  7581. (insertString): Throws BadLocationException.
  7582. * javax/swing/text/Document.java
  7583. (insertString): Likewise.
  7584. * javax/swing/text/JTextComponent.java:
  7585. Javadocs and comments cleaned up.
  7586. 2004-06-16 Michael Koch <konqueror@gmx.de>
  7587. * javax/swing/event/UndoableEditListener.java: Reformatted.
  7588. * javax/swing/text/AbstractDocument.java
  7589. (AbstractDocument): Implements java.io.Serializable.
  7590. (doc_list): Removed.
  7591. (undo_list): Removed.
  7592. (AbstractElement.serialVerionUID): New field.
  7593. (BranchElement.serialVerionUID): Likewise.
  7594. (DefaultDocumentEvent.serialVerionUID): Likewise.
  7595. (ElementEdit.serialVerionUID): Likewise.
  7596. (LeafElement.serialVerionUID): Likewise.
  7597. (serialVerionUID): Likewise.
  7598. (BAD_LOCATION): New constant.
  7599. (BidiElementName): Likewise.
  7600. (ContentElementName): Likewise.
  7601. (ParagraphElementName): Likewise.
  7602. (SectionElementName): Likewise.
  7603. (ElementNameAttribute): Likewise.
  7604. (AbstractDocument): Made protected.
  7605. (AbstractDocument): New construtor.
  7606. (listenerList): New field.
  7607. (fireChangedUpdate): Implemented.
  7608. (fireInsertUpdate): Likewise.
  7609. (fireRemoveUpdate): Likewise.
  7610. (fireUndoableEditUpdate): Likewise.
  7611. (getListeners): Likewise.
  7612. (addDocumentListener): Likewise.
  7613. (removeDocumentListener): Likewise.
  7614. (addUndoableEditListener): Likewise.
  7615. (removeUndoableEditListener): Likewise.
  7616. (getDocumentListeners): New method.
  7617. (getUndoableEditListeners): Likewise.
  7618. (getAsynchronousLoadPriority): Made public.
  7619. (getBidiRootElement): Likewise.
  7620. (setAsynchronousLoadPriority): Likewise.
  7621. (setDocumentProperties): Likewise.
  7622. * javax/swing/text/BadLocationException.java
  7623. (serialVerionUID): New field.
  7624. * javax/swing/text/DefaultCaret.java
  7625. (changeEvent): New field.
  7626. (listenerList): Likewise.
  7627. (changes): Removed.
  7628. (addChangeListener): Reimplemented.
  7629. (removeChangeListener): Likewise.
  7630. (getListeners): New method.
  7631. (getChangeListeners): Likwise.
  7632. (getComponent): Likewise.
  7633. * javax/swing/text/GapContent.java
  7634. (GapContent): Implements java.io.Serializable.
  7635. (serialVerionUID): New field.
  7636. 2004-06-16 Michael Koch <konqueror@gmx.de>
  7637. * javax/swing/JTree.java
  7638. (treeModel): New field.
  7639. (JTree): New constructors, one existing one made public.
  7640. (createTreeModel): New method.
  7641. (addTreeExpansionListener): Likewise.
  7642. (removeTreeExpansionListener): Likewise.
  7643. (getTreeExpansionListeners): Likewise.
  7644. (fireTreeCollapsed): Likewise.
  7645. (fireTreeExpanded): Likewise.
  7646. (addTreeSelectionListener): Likewise.
  7647. (removeTreeSelectionListener): Likewise.
  7648. (getTreeSelectionListeners): Likewise.
  7649. (fireValueChanged): Likewise.
  7650. (addTreeWillExpandListener): Likewise.
  7651. (removeTreeWillExpandListener): Likewise.
  7652. (getTreeWillExpandListeners): Likewise.
  7653. (fireTreeWillCollapse): Likewise.
  7654. (fireTreeWillExpand): Likewise.
  7655. 2004-06-16 Michael Koch <konqueror@gmx.de>
  7656. * javax/swing/JTree.java: Reformatted.
  7657. 2004-06-16 Michael Koch <konqueror@gmx.de>
  7658. * javax/swing/JTextArea.java: New file.
  7659. * javax/swing/JTextField.java
  7660. (actions): Removed.
  7661. (notifyAction): New constant.
  7662. (columns): New field.
  7663. (JTextField): New constructors.
  7664. (createDefaultModel): New method.
  7665. (addActionListener): Reimplmemented.
  7666. (removeActionListener): Reimplemented.
  7667. (getActionListeners): New method.
  7668. (fireActionPerformed): New method.
  7669. (getColumns): New method.
  7670. (setColumne): New method.
  7671. * javax/swing/text/JTextComponent.java
  7672. (AccessibleJTextComponent.serialVersionUID): New field.
  7673. (serialVersionUID): Likewise.
  7674. (DEFAULT_KEYMAP): Likewise.
  7675. (FOCUS_ACCELERATOR_KEY): Likewise.
  7676. (doc): Made private.
  7677. (icon_gap): Likewise.
  7678. (icon): Likewise.
  7679. (align): Likewise.
  7680. (JTextComponent): Some constructors removed.
  7681. (getScrollableTracksViewportHeight): New method.
  7682. (getScrollableTracksViewportWidth): Likewise.
  7683. * Makefile.am: Added javax/swing/JTextArea.java.
  7684. * Makefile.in: Regenerated.
  7685. 2004-06-15 Graydon Hoare <graydon@redhat.com>
  7686. * javax/swing/ImageIcon.java (ImageIcon): New constructor.
  7687. * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
  7688. * javax/swing/JViewport.java
  7689. (getExtentSize): Return size rather than preferred size.
  7690. (toViewCoordinates): New methods.
  7691. (getViewSize): Return size rather than preferred size.
  7692. (setViewSize): Note view size as set.
  7693. * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
  7694. * javax/swing/plaf/basic/BasicScrollBarUI.java
  7695. (getPreferredSize): Don't redo layout.
  7696. * javax/swing/plaf/basic/BasicViewportUI.java
  7697. (paint): Translate image properly and eat exceptions.
  7698. 2004-06-15 Kim Ho <kho@redhat.com>
  7699. * javax/swing/JTabbedPane.java
  7700. (setComponent): Remove old component and
  7701. add new component.
  7702. (setSelectedIndex): Don't operate on the
  7703. components if they're null. Don't set index
  7704. on the model if the index is the same.
  7705. (insertTab): Don't add or hide the component
  7706. if it's null. Repaint the container.
  7707. * javax/swing/plaf/basic/BasicLookAndFeel.java
  7708. Change colors for TabbedPane.
  7709. * javax/swing/plaf/basic/BasicTabbedPaneUI.java
  7710. (mousePressed): Re-layout and paint the component.
  7711. (layoutContainer): Don't set location on the view.
  7712. (ScrollingViewport::paint): Remove.
  7713. 2004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
  7714. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
  7715. (gtkWidgetDispatchKeyEvent): Change warning message to comment.
  7716. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
  7717. Wrap baseline y value in PANGO_PIXELS macro, rather than simply
  7718. dividing by PANGO_SCALE. Call gdk_flush before leaving GDK
  7719. critical region.
  7720. (drawLine): Call gdk_flush before leaving GDK critical region.
  7721. (fillRect): Likewise.
  7722. (drawRect): Likewise.
  7723. (copyArea): Likewise.
  7724. (copyPixmap): Likewise.
  7725. (clearRect): Likewise.
  7726. (drawArc): Likewise.
  7727. (drawPolyline): Likewise.
  7728. (drawPolygon): Likewise.
  7729. (fillPolygon): Likewise.
  7730. (fillArc): Likewise.
  7731. (drawOval): Likewise.
  7732. (fillOval): Likewise.
  7733. * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
  7734. style parameter.
  7735. (GdkFontMetrics): Add style argument to initState call.
  7736. (stringWidth(String,int,int,String)): Add style parameter.
  7737. (stringWidth(String)): Add style argument to stringWidth call.
  7738. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
  7739. (initState): Set pango font style and weight based on AWT style
  7740. parameter. Pass default GTK language to
  7741. pango_context_get_metrics. Use PANGO_PIXELS macro rather than
  7742. simply dividing by PANGO_SCALE.
  7743. (stringWidth): Set pango font style and weight based on AWT style
  7744. parameter.
  7745. * java/awt/Button.java (next_button_number): New field.
  7746. (paramString): Change output.
  7747. (generateName): New method.
  7748. (getUniqueLong): New method.
  7749. 2004-06-14 Kim Ho <kho@redhat.com>
  7750. * javax/swing/JTabbedPane.java:
  7751. (setComponentAt): Set the component, not
  7752. the enabled status.
  7753. * javax/swing/plaf/basic/BasicDesktopIconUI.java
  7754. (actionPerformed): Let deiconize catch exception.
  7755. 2004-06-14 Olga Rodimina <rodimina@redhat.com>
  7756. * javax/swing/JPopupMenu.java:
  7757. (setVisible): Corrected location of a
  7758. heavyweight popup menu.
  7759. 2004-06-14 Olga Rodimina <rodimina@redhat.com>
  7760. * javax/swing/MenuSelectionManager.java:
  7761. Ran through jalopy to fix formatting style.
  7762. 2004-06-14 Olga Rodimina <rodimina@redhat.com>
  7763. * javax/swing/JLayeredPane.java:
  7764. (remove): Revalidate and repaint layered pane after
  7765. the component was removed.
  7766. javax/swing/JMenu.java:
  7767. (setVisible): Display popup menu at the user location,
  7768. if one was set by the user.
  7769. (setMenuLocation): Reimplemented. Fixed javadoc.
  7770. * javax/swing/JMenuBar.java: Added javadoc.
  7771. (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
  7772. (MODEL_CHANGED_PROPERTY): New Property.
  7773. (isSelected): Implemented.
  7774. (setBorderPainted): Fire PropertyChangeEvent
  7775. if paintBorder property changes.
  7776. (setSelected): Implemented.
  7777. (setSelectionModel): Implemented.
  7778. * javax/swing/JPopupMenu.java: Added Javadoc
  7779. (pack): Implemented.
  7780. (setVisible): Reimplemented.
  7781. (show): Fixed location.
  7782. (JPopupMenu.LigthWeightPopup): Reimplemented to use
  7783. Container instead of JPanel.
  7784. * javax/swing/MenuSelectionManager.java: Added Javadocs.
  7785. (clearSelectedPath): Reimplemented to clear selectedPath
  7786. in reverse order.
  7787. (processMouseEvent): Reimplemented.
  7788. (setSelectedPath): Fire stateChange event indicating that
  7789. selected menu path has changed.
  7790. (getPath): Change to use ArrayList instead of Vector.
  7791. * javax/swing/plaf/basic/BasicMenuBarUI.java:
  7792. (installUI): call installKeyboardActions().
  7793. (uninstallUI): call uninstallKeyboardActions().
  7794. 2004-06-13 Michael Koch <konqueror@gmx.de>
  7795. * javax/swing/text/DefaultCaret.java,
  7796. javax/swing/text/BadLocationException.java:
  7797. Reformatted.
  7798. 2004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com>
  7799. * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
  7800. DEFAULT_COLS): New variables.
  7801. (create): Don't allow 0 rows or 0 columns. Instead, set the
  7802. values to DEFAULT_ROWS or DEFAULT_COLS.
  7803. (getMinimumSize): Likewise.
  7804. (getPreferredSize): Likewise.
  7805. (minimumSize): Likewise.
  7806. (preferredSize): Likewise.
  7807. (create): Set peer's editable state.
  7808. * java/awt/TextArea.java (TextArea()): Set rows and columns to
  7809. zero. Update javadocs.
  7810. (TextArea(String)): Likewise.
  7811. (TextArea(int,int)): Fix javadocs.
  7812. (TextArea(String,int,int,int)): Only throw exception if one of
  7813. rows or columns is zero. Fix javadocs.
  7814. 2004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
  7815. * java/awt/AWTEvent.java (toString): Handle MenuComponents in
  7816. addition to Components.
  7817. * java/awt/MenuItem.java (dispatchEventImpl): If the event
  7818. wasn't consumed by normal processing, send it to the parent
  7819. menu.
  7820. * gnu/java/awt/peer/gtk/GtkImagePainter.java
  7821. (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
  7822. translation.
  7823. 2004-06-11 David Jee <djee@redhat.com>
  7824. * java/awt/MediaTracker.java
  7825. (addImage(Image,int)): Call imageUpdate() to udpate image status.
  7826. (addImage(Image,int,int,int)): Likewise.
  7827. 2004-06-11 Michael Koch <konqueror@gmx.de>
  7828. * javax/swing/text/AbstractDocument.java,
  7829. javax/swing/text/Document.java,
  7830. javax/swing/text/GapContent.java,
  7831. javax/swing/text/JTextComponent.java,
  7832. javax/swing/text/PlainDocument.java:
  7833. Reformatted.
  7834. 2004-06-11 Michael Koch <konqueror@gmx.de>
  7835. * javax/swing/JRootPane.java
  7836. (AccessibleJRootPane.serialVersionUID): New field.
  7837. (AccessibleJRootPane.AccessibleJRootPane): New constructor.
  7838. (AccessibleJRootPane.getAccessibleRole): New method.
  7839. (RootLayout): Implements Serializable.
  7840. (RootLayout.serialVersionUID): New field.
  7841. (RootLayout.RootLayout): New constructor.
  7842. (setJMenuBar): Made public.
  7843. (getJMenuBar): Likewise.
  7844. (JRootPane): Likewise.
  7845. (createContentPane): Likewise.
  7846. (createGlassPane): Likewise.
  7847. (createLayeredPane): Likewise.
  7848. 2004-06-11 Michael Koch <konqueror@gmx.de>
  7849. * javax/swing/SwingUtilities.java
  7850. (isLeftMouseButton): Fixed javadoc.
  7851. (isMiddleMouseButton): Likewise.
  7852. (isRightMouseButton): Likewise.
  7853. 2004-06-11 Michael Koch <konqueror@gmx.de>
  7854. * javax/swing/JScrollPane.java
  7855. (serialVersionUID): New field.
  7856. (columnHeader): Made protected.
  7857. (rowHeader): Likewise.
  7858. (lowerLeft): Likewise.
  7859. (lowerRight): Likewise.
  7860. (upperLeft): Likewise.
  7861. (upperRight): Likewise.
  7862. (horizontalScrollBar): Likewise.
  7863. (horizontalScrollBarPolicy): Likewise.
  7864. (verticalScrollBar): Likewise.
  7865. (verticalScrollBarPolicy): Likewise.
  7866. (viewport): Likewise.
  7867. 2004-06-11 Michael Koch <konqueror@gmx.de>
  7868. * javax/swing/LookAndFeel.java: Fixed javadocs.
  7869. 2004-06-11 Michael Koch <konqueror@gmx.de>
  7870. * javax/swing/JEditorPane.java: Fixed javadocs.
  7871. (JEditorPane): Removed redundant call to to this().
  7872. (fireHyperlinkUpdate): Implemented.
  7873. 2004-06-10 Olga Rodimina <rodimina@redhat.com>
  7874. * javax/swing/JMenu.java: Fixed file name
  7875. in the file comment.
  7876. 2004-06-10 Olga Rodimina <rodimina@redhat.com>
  7877. * javax/swing/JMenu.java: Added javadoc.
  7878. (JMenu): Added MenuChangeListener to listen to
  7879. ChangeEvents occuring in menu's model.
  7880. (insert): Throw IllegalArgumentException if
  7881. index is less than 0
  7882. (setSelected): Reimplement.
  7883. (setPopupMenuVisible): Call menu's model isEnabled()
  7884. (setDelay): Throw IllegalArgumentException if
  7885. given amount of delay is less than 0.
  7886. (createActionComponent): Implemented.
  7887. (createActionChangeListener): Implemented.
  7888. (addSeparator): Implemented.
  7889. (getItem): Throw IllegalArgumentException if index is
  7890. less than 0.
  7891. (getItemCount): Implemented.
  7892. (fireMenuSelected): Changed to use menuEvent.
  7893. (fireMenuDeselected): Likewise.
  7894. (fireMenuCanceled): Likewise.
  7895. (setAccelerator): Changed to throw an error if this
  7896. method is used.
  7897. (doClick): Implemented.
  7898. (JMenu.ActionChangedListener): New inner class to handle
  7899. PropertyChangeEvents occuring in the actions associated with menu.
  7900. * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
  7901. (BasicMenuUI): Added PropertyChangeListener to the menu.
  7902. (createChangeListener): Implemented.
  7903. (createMenuDragMouseListener): Likewise.
  7904. (createMenuKeyListener): Likewise.
  7905. (createPropertyChangeListener): Likewise.
  7906. (uninstallListeners): Likewise.
  7907. (BasicMenuUI.MouseInputHandler): Reimplemented.
  7908. (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
  7909. (BasicMenuUI.ChangeHandler): Likewise.
  7910. (BasicMenuUI.MenuDragMouseHandler): Likewise.
  7911. (BasicMenuUI.MenuKeyHandler): Likewise.
  7912. 2004-06-10 David Jee <djee@redhat.com>
  7913. * java/awt/MediaTracker.java
  7914. (imageUpdate): Only do notifyAll() if the image is complete.
  7915. 2004-06-10 Olga Rodimina <rodimina@redhat.com>
  7916. * javax/swing/JApplet.java:
  7917. (getJMenuBar): Made public.
  7918. (setJMenuBar): Likewise.
  7919. * javax/swing/JFrame.java:
  7920. (getJMenuBar): Made public.
  7921. (setJMenuBar): Likewise.
  7922. * javax/swing/JWindow.java:
  7923. (getJMenuBar): Removed.
  7924. (setJMenuBar): Removed.
  7925. 2004-06-10 Michael Koch <konqueror@gmx.de>
  7926. * javax/swing/JEditorPane.java
  7927. (createEditorKitForContentType): Fixed visibility.
  7928. (fireHyperlinkUpdate): Likewise.
  7929. (getContentType): Likewise.
  7930. (getEditorKit): Likewise.
  7931. (getEditorKitForContentType): Likewise.
  7932. (getPage): Likewise.
  7933. (read): Likewise.
  7934. (registerEditorKitForContentTyoe): Likewise.
  7935. (replaceSelection): Likewise.
  7936. (setContentType): Likewise.
  7937. (setEditorKit): Likewise.
  7938. (setPage): Likewise.
  7939. 2004-06-10 Michael Koch <konqueror@gmx.de>
  7940. * javax/swing/Timer.java
  7941. (Timer): New constructor.
  7942. * javax/swing/plaf/basic/BasicProgressBarUI.java
  7943. (animationTimer): Don't initialize at construction.
  7944. (startAnimationTimer): Added since tag.
  7945. (stopAnimationTimer): Likewise.
  7946. (installUI): Use new Timer constructor.
  7947. * javax/swing/plaf/basic/BasicScrollBarUI.java
  7948. (installUI): Likewise.
  7949. * javax/swing/plaf/basic/BasicSliderUI.java
  7950. (installUI): Likewise.
  7951. 2004-06-10 Michael Koch <konqueror@gmx.de>
  7952. * javax/swing/ButtonGroup.java
  7953. (serialVersionUID): Made private.
  7954. (buttons): Renamed from v, added javadoc.
  7955. (sel): Added javadoc.
  7956. (ButtonGroup): Likewise.
  7957. (add): Likewise.
  7958. (remove): Likewise.
  7959. (getElements): Likewise.
  7960. (getSelection): Likewise.
  7961. (setSelected): Likewise.
  7962. (isSelected): Likewise.
  7963. (getButtonCount): Likewise.
  7964. 2004-06-10 Michael Koch <konqueror@gmx.de>
  7965. * javax/swing/ButtonGroup.java,
  7966. javax/swing/ImageIcon.java,
  7967. javax/swing/JEditorPane.java,
  7968. javax/swing/JRootPane.java,
  7969. javax/swing/JTextField.java,
  7970. javax/swing/LookAndFeel.java,
  7971. javax/swing/plaf/basic/BasicTextUI.java:
  7972. Reindented.
  7973. 2004-06-10 Michael Koch <konqueror@gmx.de>
  7974. * javax/swing/text/Style.java: Added javadocs.
  7975. 2004-06-10 Michael Koch <konqueror@gmx.de>
  7976. * javax/swing/JComponent.java
  7977. (fireVetoableChange): Removed redundant cast.
  7978. * javax/swing/JLabel.java
  7979. (getDisabledIcon): Save icon for next call.
  7980. 2004-06-10 Michael Koch <konqueror@gmx.de>
  7981. * javax/swing/KeyStroke.java
  7982. (getKeyStroke(char,boolean)): Marked deprecated.
  7983. 2004-06-10 Michael Koch <konqueror@gmx.de>
  7984. * javax/swing/DefaultCellEditor.java,
  7985. javax/swing/GrayFilter.java,
  7986. javax/swing/event/DocumentEvent.java,
  7987. javax/swing/text/JTextComponent.java,
  7988. javax/swing/text/MutableAttributeSet.java:
  7989. Reindented.
  7990. 2004-06-10 Michael Koch <konqueror@gmx.de>
  7991. * javax/swing/plaf/BorderUIResource.java:
  7992. Added serialVersionUID all over.
  7993. 2004-06-10 Sascha Brawer <brawer@dandelis.ch>
  7994. * javax/swing/undo/UndoManager.java: Re-written from scratch.
  7995. 2004-06-10 Michael Koch <konqueror@gmx.de>
  7996. * javax/swing/table/DefaultTableCellRenderer.java
  7997. (noFocusBorder): Initialize directly.
  7998. 2004-06-10 Michael Koch <konqueror@gmx.de>
  7999. * javax/swing/plaf/basic/BasicArrowButton.java
  8000. (setDirection): Use method argument.
  8001. 2004-06-10 Michael Koch <konqueror@gmx.de>
  8002. * javax/swing/plaf/BorderUIResource.java,
  8003. javax/swing/plaf/ComponentUI.java,
  8004. javax/swing/undo/CompoundEdit.java,
  8005. javax/swing/undo/StateEdit.java:
  8006. Fixed javadocs all over.
  8007. 2004-06-10 Michael Koch <konqueror@gmx.de>
  8008. * javax/swing/DefaultButtonModel.java
  8009. (ARMED): Made public final, fixed value.
  8010. (ENABLED): Likewise.
  8011. (PRESSED): Likewise.
  8012. (ROLLOVER): Likewise.
  8013. (SELECTED): Likewise.
  8014. (stateMask): Initialize directly.
  8015. (listenerList): Likewise.
  8016. (mnemonic): Likewise.
  8017. (fireStateChanged): Removed argument, use changeEvent as event.
  8018. All places where this method is called are fixed too.
  8019. (getActionCommant): Fixed javadoc.
  8020. (setGroup): Fixed javadoc.
  8021. (getGroup): New method.
  8022. 2004-06-09 Olga Rodimina <rodimina@redhat.com>
  8023. * javax/swing/AbstractButton.java
  8024. (AbstractButton): Use init() to initialize the button.
  8025. (init): New Method. Initializes AbstractButton.
  8026. * javax/swing/JMenuItem.java: Documented.
  8027. (JMenuItem): Reimplemented.
  8028. (init): Implemented.
  8029. (setEnabled): Changed to call super.setEnabled()
  8030. (processMouseEvent): Reimplemented.
  8031. (fireMenuKeyPressed): Implemented.
  8032. (fireMenuKeyReleased): Implemented.
  8033. (fireMenuKeyTyped): Implemented.
  8034. (menuSelectionChanged): disarm the model if the menu item was
  8035. deselected.
  8036. * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
  8037. (getPath): Change to use ArrayList instead of Vector.
  8038. (getPreferredSize): Renamed variable.
  8039. (paintMenuItem): Paint margin area of menu item.
  8040. (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
  8041. (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
  8042. menu item's bounds before clearing the selection.
  8043. 2004-06-09 David Jee <djee@redhat.com>
  8044. * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
  8045. (GtkTextComponentPeer): Set caret position to 0.
  8046. * java/awt/TextComponent.java
  8047. (setText): Set caret position to 0.
  8048. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
  8049. (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
  8050. Handle GtkScrolledWindow separately. Fix signal handler blocking.
  8051. (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
  8052. Likewise.
  8053. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
  8054. (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
  8055. visible.
  8056. 2004-06-09 Kim Ho <kho@redhat.com>
  8057. * Makefile.am: New files
  8058. * Makefile.in: Regenerated
  8059. * java/awt/Container.java
  8060. (getComponentAt): Removed.
  8061. * javax/swing/AbstractAction.java
  8062. (ENABLED_PROPERTY): New property.
  8063. (putValue): Fire PropertyChangeEvents.
  8064. (setEnabled): ditto.
  8065. (firePropertyChange): Javadoc and implement
  8066. convenience method.
  8067. * javax/swing/AbstractButton.java
  8068. (setAction): Don't create PropertyChangeListener
  8069. if new Action is null.
  8070. (setIcon): Don't set icon till after comparing
  8071. it.
  8072. (configurePropertiesFromAction): Check mnemonic
  8073. key before calling intValue().
  8074. (createActionPropertyChangeListener): Check
  8075. properties rather than bulk change.
  8076. * javax/swing/DefaultDesktopManager.java:
  8077. Implement.
  8078. * javax/swing/DesktopManager.java:
  8079. Jalopy and javadoc.
  8080. * javax/swing/JComponent.java
  8081. (fireVetoableChange): Implement.
  8082. (paintImmediately): Use root component.
  8083. * javax/swing/JDesktopPane.java: Implement
  8084. * javax/swing/JInternalFrame.java: Implement
  8085. * javax/swing/JLabel.java
  8086. (getDisabledIcon): Return grayscaled icon if
  8087. no disabled icon specified.
  8088. * javax/swing/JMenuBar.java
  8089. (getComponentAtIndex): Use getComponent
  8090. * javax/swing/JOptionPane.java
  8091. (getDesktopPaneForComponent): Use SwingUtilities'
  8092. getAncestorOfClass
  8093. (getFrameForComponent): ditto.
  8094. * javax/swing/JSplitPane.java
  8095. (remove): Use getComponent.
  8096. * javax/swing/SwingUtilities.java
  8097. (convertPoint): Implement.
  8098. * javax/swing/plaf/basic/BasicButtonUI.java
  8099. (paintButtonNormal): Check opaqueness before
  8100. filling background.
  8101. * javax/swing/plaf/basic/BasicDesktopIconUI.java:
  8102. Implement
  8103. * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
  8104. Implement.
  8105. * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
  8106. Implement.
  8107. * javax/swing/plaf/basic/BasicInternalFrameUI.java:
  8108. Implement.
  8109. * javax/swing/plaf/basic/BasicLookAndFeel.java:
  8110. Change InternalFrame and Desktop colors.
  8111. 2004-06-09 David Jee <djee@redhat.com>
  8112. * java/awt/Container.java
  8113. (remove): Do not set component to invisible.
  8114. 2004-06-09 Michael Koch <konqueror@gmx.de>
  8115. * javax/swing/tree/DefaultMutableTreeNode.java
  8116. (getLeafCount): Renamed enum to e.
  8117. 2004-06-09 Michael Koch <konqueror@gmx.de>
  8118. * javax/swing/plaf/basic/BasicSplitPaneDivider.java
  8119. (positionForMouseEvent): Removed redundant semicolon.
  8120. (continueDrag): Use method arguments.
  8121. 2004-06-09 Michael Koch <konqueror@gmx.de>
  8122. * javax/swing/border/TitledBorder.java,
  8123. javax/swing/filechooser/FileSystemView.java,
  8124. javax/swing/plaf/basic/BasicButtonListener.java,
  8125. javax/swing/plaf/basic/BasicGraphicsUtils.java,
  8126. javax/swing/plaf/basic/BasicLabelUI.java,
  8127. javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
  8128. javax/swing/plaf/basic/BasicScrollBarUI.java,
  8129. javax/swing/plaf/basic/BasicScrollPaneUI.java,
  8130. javax/swing/plaf/basic/BasicSliderUI.java,
  8131. javax/swing/plaf/basic/BasicTabbedPaneUI.java,
  8132. javax/swing/plaf/basic/BasicToggleButtonUI.java,
  8133. javax/swing/table/JTableHeader.java,
  8134. javax/swing/text/AbstractDocument.java,
  8135. javax/swing/text/DefaultCaret.java,
  8136. javax/swing/text/StyledEditorKit.java,
  8137. javax/swing/tree/DefaultTreeCellEditor.java:
  8138. Reworked import statements.
  8139. 2004-06-08 Graydon Hoare <graydon@redhat.com>
  8140. * javax/swing/Box.java: Temporarily comment out code
  8141. broken due to visibility bug.
  8142. 2004-06-09 Michael Koch <konqueror@gmx.de>
  8143. * javax/swing/ImageIcon.java
  8144. (ImageIcon): Added missing constructor.
  8145. 2004-06-08 Michael Koch <konqueror@gmx.de>
  8146. * javax/swing/JToggleButton.java
  8147. (JToggleButton): New constructor.
  8148. (getAccessibleContext): Moved documentation into javadoc.
  8149. (getUIClassID): Likewise.
  8150. 2004-06-08 Michael Koch <konqueror@gmx.de>
  8151. * javax/swing/AbstractButton.java
  8152. (getDisabledIcon): Create disabled icon if none exists yet.
  8153. 2004-06-08 Michael Koch <konqueror@gmx.de>
  8154. * javax/swing/plaf/basic/BasicLookAndFeel.java
  8155. (initClassDefaults): Added FormattedTextFieldUI.
  8156. (loadResourceBundle): Renamed enum to e.
  8157. 2004-06-08 Michael Koch <konqueror@gmx.de>
  8158. * javax/swing/plaf/basic/BasicButtonUI.java
  8159. (paintIcon): Simplified.
  8160. (paintText): Paint disabled button correctly.
  8161. 2004-06-08 Michael Koch <konqueror@gmx.de>
  8162. * javax/swing/JComponent.java
  8163. (createToolTip): Use official JToolTip API.
  8164. 2004-06-08 Michael Koch <konqueror@gmx.de>
  8165. * javax/swing/JToolTip.java
  8166. (JToolTip): No arguments in API.
  8167. (setTipText): New method.
  8168. 2004-06-08 Michael Koch <konqueror@gmx.de>
  8169. * javax/swing/SwingUtilities.java
  8170. (isLeftMouseButton): New method.
  8171. (isMiddleMouseButton): New method.
  8172. (isRightMouseButton): New method.
  8173. 2004-06-08 Michael Koch <konqueror@gmx.de>
  8174. * javax/swing/AbstractButton.java,
  8175. javax/swing/CellRendererPane.java,
  8176. javax/swing/JCheckBoxMenuItem.java,
  8177. javax/swing/JColorChooser.java,
  8178. javax/swing/JComboBox.java,
  8179. javax/swing/JComponent.java,
  8180. javax/swing/JDesktopPane.java,
  8181. javax/swing/JFileChooser.java,
  8182. javax/swing/JMenu.java,
  8183. javax/swing/JMenuItem.java,
  8184. javax/swing/JOptionPane.java,
  8185. javax/swing/JPasswordField.java,
  8186. javax/swing/JPopupMenu.java,
  8187. javax/swing/JProgressBar.java,
  8188. javax/swing/JRadioButtonMenuItem.java,
  8189. javax/swing/JScrollBar.java,
  8190. javax/swing/JSeparator.java,
  8191. javax/swing/JSlider.java,
  8192. javax/swing/JSplitPane.java,
  8193. javax/swing/JTabbedPane.java,
  8194. javax/swing/JTextField.java,
  8195. javax/swing/JToolBar.java,
  8196. javax/swing/text/JTextComponent.java:
  8197. Fixed all constructors of accessibility classes.
  8198. 2004-06-08 Michael Koch <konqueror@gmx.de>
  8199. * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
  8200. over.
  8201. 2004-06-08 Michael Koch <konqueror@gmx.de>
  8202. * javax/swing/Box.java
  8203. (AccessibleBoxFiller): Extends AccessibleAWTComponent.
  8204. (AccessibleBoxFiller.serialVersionUID): New member variable.
  8205. * javax/swing/DefaultButtonModel.java
  8206. (stateMask): Made protected.
  8207. (listenerList): Likewise.
  8208. (changeEvent): Likewise.
  8209. (group): Likewise.
  8210. (mnemonic): Likewise.
  8211. (actionCommand): Likewise.
  8212. (getListeners): New method.
  8213. (getActionListeners): New method.
  8214. (getItemListeners): New method.
  8215. (getChangeListeners): New method.
  8216. (fireItemStateChanged): Simplified.
  8217. (fireActionPerformed): Simplified.
  8218. (fireStateChanged): Simplified.
  8219. * javax/swing/JFrame.java
  8220. (JFrame): Implements WindowContants.
  8221. (HIDE_ON_CLOSE): Removed.
  8222. (EXIT_ON_CLOSE): Removed.
  8223. (DISPOSE_ON_CLOSE): Removed.
  8224. (DO_NOTHING_ON_CLOSE): Removed.
  8225. (processWindowEvent): Exit with code 0.
  8226. (setDefaultCloseOperation): Do security check before setting value.
  8227. * javax/swing/JOptionPane.java
  8228. (message): Initialize only in constructor.
  8229. * javax/swing/JToolTip.java: Removed unused imports.
  8230. * javax/swing/JViewport.java
  8231. (serialVersionUID): New member variable.
  8232. (SIMPLE_SCROLL_MODE): Made final, fixed value.
  8233. (BLIT_SCROLL_MODE): Likewise.
  8234. (BACKINGSTORE_SCROLL_MODE): Likewise.
  8235. (scrollUnderway): Made protected.
  8236. (isViewSizeSet): Likewise.
  8237. * javax/swing/ListModel.java: Fixed javadoc.
  8238. * javax/swing/Popup.java: Likewise.
  8239. * javax/swing/RepaintManager.java
  8240. (paintDirtyRegions): Don't use internal classes of
  8241. java.util.AbstractMap.
  8242. * javax/swing/ScrollPaneConstants.java: Reindented.
  8243. * javax/swing/ScrollPaneLayout.java
  8244. (viewport): Made protected.
  8245. (verticalScrollBar): Made protected, renamed to vsb.
  8246. (horizontalScrollBar): Made protected, renamed to hsb.
  8247. (rowHeader): Made protected, renamed to rowHead.
  8248. (columnHeader): Made protected, renamed to colHead.
  8249. (lowerLeft): Made protected.
  8250. (lowerRight): Made protected.
  8251. (upperLeft): Made protected.
  8252. (upperRight): Made protected.
  8253. (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
  8254. (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
  8255. 2004-06-07 Bernd Schmidt <bernds@btinternet.com>
  8256. * java/awt/MediaTracker.java (imageUpdate): Only set status to
  8257. LOADING if flags has SOMEBITS set.
  8258. 2004-06-07 Michael Koch <konqueror@gmx.de>
  8259. * javax/swing/AbstractButton.java: Reorganized imports.
  8260. * javax/swing/ActionMap.java: Likewise.
  8261. * javax/swing/DefaultButtonModel.java: Likewise.
  8262. * javax/swing/DefaultListModel.java: Likewise.
  8263. * javax/swing/ImageIcon.java: Likewise.
  8264. (serialVersionUID): New member variable.
  8265. * javax/swing/JComboBox.java: Reorganized imports.
  8266. * javax/swing/JComponent.java: Likewise.
  8267. (ui): Made protected.
  8268. (listenerList): Made protected.
  8269. (TOOL_TIP_TEXT_KEY): New constant.
  8270. (scrollRectToVisible): Removed redundant null check.
  8271. * javax/swing/JFrame.java: Reorganized imports.
  8272. * javax/swing/JInternalFrame.java: Reorganized imports.
  8273. * javax/swing/JProgressBar.java: Likewise.
  8274. * javax/swing/JRootPane.java: Likewise.
  8275. * javax/swing/JScrollBar.java: Likewise.
  8276. * javax/swing/JSeparator.java: Likewise.
  8277. * javax/swing/JSlider.java: Likewise.
  8278. * javax/swing/JTabbedPane.java: Likewise.
  8279. * javax/swing/JTextField.java: Likewise.
  8280. * javax/swing/JToolBar.java: Likewise.
  8281. * javax/swing/JTree.java: Likewise.
  8282. * javax/swing/JViewport.java: Likewise.
  8283. * javax/swing/JWindow.java: Likewise.
  8284. * javax/swing/KeyStroke.java: Likewise.
  8285. * javax/swing/LookAndFeel.java: Likewise.
  8286. * javax/swing/MenuSelectionManager.java: Likewise.
  8287. * javax/swing/SwingUtilities.java: Likewise.
  8288. * javax/swing/Timer.java: Likewise.
  8289. * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
  8290. * javax/swing/JList.java
  8291. (HORIZONTAL_WRAP): Made final, fixed value.
  8292. (VERTICAL): Likewise.
  8293. (VERTICAL_WRAP): Likewise.
  8294. 2004-06-07 Michael Koch <konqueror@gmx.de>
  8295. * javax/swing/AbstractButton.java
  8296. (serialVersionUID): New member variable.
  8297. (AccessibleAbstractButton.serialVersionUID): Likewise.
  8298. (AbstractButton): Made public.
  8299. * javax/swing/Box.java
  8300. (AccessibleBox.serialVersionUID): New member variable.
  8301. (Filler.serialVersionUID): Likewise.
  8302. * javax/swing/DefaultListSelectionModel.java
  8303. (serialVersionUID): Likewise.
  8304. * javax/swing/JApplet.java
  8305. (serialVersionUID): Likewise.
  8306. * javax/swing/JCheckBox.java
  8307. (serialVersionUID): Likewise.
  8308. * javax/swing/JCheckBoxMenuItem.java
  8309. (serialVersionUID): Likewise.
  8310. (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
  8311. * javax/swing/JColorChooser.java
  8312. (serialVersionUID): Likewise.
  8313. (AccessibleJColorChooser.serialVersionUID): Likewise.
  8314. * javax/swing/JComponent.java
  8315. (serialVersionUID): Made private.
  8316. (AccessibleJComponent.serialVersionUID): New member variable.
  8317. * javax/swing/JDesktopPane.java
  8318. (serialVersionUID): Likewise.
  8319. * javax/swing/JDialog.java
  8320. (serialVersionUID): Likewise.
  8321. * javax/swing/JFormattedTextField.java
  8322. (serialVersionUID): Fixed value.
  8323. * javax/swing/JFrame.java
  8324. (serialVersionUID): New member variable.
  8325. (getDefaultCloseOpertation): Made public.
  8326. * javax/swing/JLayeredPane.java
  8327. (serialVersionUID): Likewise.
  8328. (LAYER_PROPERTY): Made final, fixed value.
  8329. (JLayeredPane): Made public.
  8330. * javax/swing/JMenu.java
  8331. (AccessibleJMenu.serialVersionUID): New member variable.
  8332. (WinListener.serialVersionUID): Likewise.
  8333. * javax/swing/JMenuBar.java
  8334. (serialVersionUID): Likewise.
  8335. (getComponentAtIndex): Added @deprecated tag.
  8336. * javax/swing/JMenuItem.java
  8337. (serialVersionUID): New member variable.
  8338. (AccessibleJMenuItem.serialVersionUID): Likewise.
  8339. * javax/swing/JOptionPane.java
  8340. (serialVersionUID): Likewise.
  8341. (AccessibleJOptionPane.serialVersionUID): Likewise.
  8342. * javax/swing/JPopupMenu.java
  8343. (serialVersionUID): Likewise.
  8344. (AccessibleJPopupMenu.serialVersionUID): Likewise.
  8345. (getPopupMenuListeners): New method.
  8346. (getComponentAtIndex): Added @deprecated tag.
  8347. * javax/swing/JProgressBar.java
  8348. (serialVersionUID): New member variable.
  8349. (AccessibleJProgressBar.serialVersionUID): Likewise.
  8350. * javax/swing/JRadioButton.java
  8351. (serialVersionUID): Likewise.
  8352. * javax/swing/JRadioButtonMenuItem.java
  8353. (serialVersionUID): Likewise.
  8354. (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
  8355. * javax/swing/JScrollBar.java
  8356. (serialVersionUID): Likewise.
  8357. (AccessibleJScrollBar.serialVersionUID): Likewise.
  8358. * javax/swing/JSeparator.java
  8359. (serialVersionUID): Likewise.
  8360. (AccessibleJSeparator.serialVersionUID): Likewise.
  8361. * javax/swing/JSlider.java: Fixed javadocs.
  8362. (AccessibleJSlider.serialVersionUID): New member variable.
  8363. * javax/swing/JSplitPane.java: Added copyright statement.
  8364. (serialVersionUID): New member variable.
  8365. (AccessibleJSplitPane.serialVersionUID): Likewise.
  8366. * javax/swing/JTabbedPane.java
  8367. (serialVersionUID): Likewise.
  8368. (AccessibleJTabbedPane.serialVersionUID): Likewise.
  8369. (ModelListener.serialVersionUID): Likewise.
  8370. (ModelListener.ModelListener): New constructor.
  8371. (SCROLL_TAB_LAYOUT): Made public final, fixed value.
  8372. (WRAP_TAB_LAYOUT): Likewise.
  8373. * javax/swing/JTable.java
  8374. (serialVersionUID): New member variable.
  8375. * javax/swing/JToggleButton.java
  8376. (serialVersionUID): Likewise.
  8377. (ToggleButtonModel): Made static.
  8378. (ToggleButtonModel.serialVersionUID): New member variable.
  8379. * javax/swing/JToolTip.java
  8380. (serialVersionUID): Likewise.
  8381. * javax/swing/JTree.java
  8382. (serialVersionUID): Likewise.
  8383. * javax/swing/JWindow.java
  8384. (serialVersionUID): Likewise.
  8385. * javax/swing/Timer.java
  8386. (serialVersionUID): Likewise.
  8387. 2004-06-06 Michael Koch <konqueror@gmx.de>
  8388. * javax/swing/SwingConstants.java
  8389. (NEXT): New constant.
  8390. (PREVIOUS): Likewise.
  8391. * javax/swing/UIManager.java
  8392. (LookAndFeel): Made public.
  8393. (LookAndFeel.getClassName): Likewise.
  8394. (LookAndFeel.getName): Likewise.
  8395. 2004-06-02 Olga Rodimina <rodimina@redhat.com>
  8396. * javax/swing/JCheckBoxMenuItem.java:
  8397. Removed CVS tags.
  8398. * javax/swing/JMenu.java: Likewise.
  8399. * javax/swing/JMenuBar.java: Likewise.
  8400. * javax/swing/JMenuItem.java: Likewise.
  8401. * javax/swing/JPopupMenu.java: Likewise.
  8402. * javax/swing/JRadioButtonMenuItem.java: Likewise.
  8403. * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
  8404. * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
  8405. * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
  8406. * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
  8407. * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
  8408. * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
  8409. 2004-05-31 Olga Rodimina <rodimina@redhat.com>
  8410. * javax/swing/plaf/basic/BasicMenuUI.java:
  8411. (MouseEntered): Do not call getPath() from MenuSelectionManager.
  8412. Call getPath() from super class instead.
  8413. 2004-05-31 David Jee <djee@redhat.com>
  8414. * java/awt/Container.java
  8415. (remove): Set component visibility to false after removing it.
  8416. 2004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
  8417. * java/awt/Component.java (getForeground): Return SystemColor if
  8418. parent is null.
  8419. (getBackground): Likewise.
  8420. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
  8421. (item_highlighted): New function.
  8422. (connectSignals): Set item_highlighted as list's select
  8423. function.
  8424. * java/applet/Applet.java: Revert changes from 2004-04-29,
  8425. 2004-03-15 and 2004-03-14.
  8426. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
  8427. Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
  8428. factor.
  8429. * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
  8430. "Dialog" as the default font.
  8431. * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
  8432. Likewise.
  8433. * java/awt/Component.java (getFont): Return "Dialog" font by
  8434. default.
  8435. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
  8436. Multiply size argument to pango_font_description_set_size by the
  8437. DPI conversion factor rather than by PANGO_SCALE.
  8438. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
  8439. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
  8440. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
  8441. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
  8442. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
  8443. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
  8444. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
  8445. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
  8446. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
  8447. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
  8448. Divide baseline y coordinate by DPI conversion factor rather
  8449. than by PANGO_SCALE.
  8450. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
  8451. (area_prepared): Fix typo.
  8452. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
  8453. (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
  8454. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
  8455. (dpi_conversion_factor): New global variable.
  8456. (init_dpi_conversion_factor): New function to calculate and
  8457. track DPI conversion factor.
  8458. (dpi_changed_cb): New callback.
  8459. * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
  8460. 2004-05-27 David Jee <djee@redhat.com>
  8461. * gnu/java/awt/peer/gtk/GtkComponentPeer.java
  8462. (getGraphics): Return a new GdkGraphics instance.
  8463. * gnu/java/awt/peer/gtk/GtkContainerPeer.java
  8464. (getGraphics): Call super.getGraphics().
  8465. 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
  8466. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
  8467. (setNativeBounds): Clamp width and height values to >= 0.
  8468. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
  8469. (find_fg_color_widget): Handle GtkOptionMenu specially.
  8470. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
  8471. (pre_event_handler): Only post configure events to visible
  8472. top-level windows.
  8473. 2004-05-26 David Jee <djee@redhat.com>
  8474. * java/awt/BorderLayout.java
  8475. (layoutContainer): Fix size calculations.
  8476. 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
  8477. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
  8478. (window_wm_protocols_filter): Remove function.
  8479. (create): Remove filter that removes WM_TAKE_FOCUS client
  8480. messages.
  8481. 2004-06-17 Anthony Green <green@redhat.com>
  8482. * java/util/zip/ZipFile.java (getInputStream): Return null if
  8483. entry not found.
  8484. * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
  8485. directory contents to the class path.
  8486. 2004-06-15 Andrew Haley <aph@redhat.com>
  8487. * java/lang/natSystem.cc (getenv0): Don't assume environment
  8488. variable is Latin 1 coded.
  8489. 2004-06-14 Andreas Jaeger <aj@suse.de>
  8490. * configure.in: Support --enable-version-specific-runtime-libs.
  8491. * configure: Regenerated.
  8492. 2004-06-14 Bryce McKinlay <mckinlay@redhat.com>
  8493. * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
  8494. to pass ClassLoader argument.
  8495. * java/util/GregorianCalendar.java: Likewise.
  8496. * java/util/Currency.java: Likewise.
  8497. * java/text/BreakIterator.java: Likewise.
  8498. * java/text/Collator.java: Likewise.
  8499. * java/text/DateFormat.java: Likewise.
  8500. * java/text/DateFormatSymbols.java: Likewise.
  8501. * java/text/DecimalFormatSymbols.java: Likewise.
  8502. * java/text/NumberFormat.java: Likewise.
  8503. * java/awt/Window.java: Likewise.
  8504. 2004-06-14 Andrew Haley <aph@redhat.com>
  8505. * java/lang/System.java: (getenv0): New method.
  8506. (getenv): Add security check. Do the right thing.
  8507. * java/lang/natSystem.cc (getenv0): New method.
  8508. 2004-06-12 Mark Wielaard <mark@klomp.org>
  8509. * javax/swing/RepaintManager.java
  8510. (paintDirtyRegions): Use entrySet(), not values().
  8511. 2004-06-10 Mark Wielaard <mark@klomp.org>
  8512. * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
  8513. NoSuchMethodError.
  8514. 2004-06-11 Jerry Quinn <jlquinn@optonline.net>
  8515. * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae
  8516. when we already know the answer.
  8517. * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
  8518. (setStartRule,setEndRule): Don't take abs of day number.
  8519. (getOffset): Clarify docs. Add argument checks.
  8520. (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
  8521. (equals,hasSameRules,toString,readObject): Use startTimeMode and
  8522. endTimeMode.
  8523. 2004-06-10 Tom Tromey <tromey@redhat.com>
  8524. * interpret.cc (run): Handle wide fload.
  8525. 2004-06-06 Jerry Quinn <jlquinn@optonline.net>
  8526. * java/util/zip/ZipEntry.java (setTime): Remove scaling.
  8527. 2004-06-05 Michael Koch <konqueror@gmx.de>
  8528. * javax/swing/SwingConstants.java
  8529. (NEXT): New constant.
  8530. (PREVIOUS): Likewise.
  8531. 2004-06-05 Michael Koch <konqueror@gmx.de>
  8532. * javax/swing/UIManager.java
  8533. (LookAndFeel): Made public.
  8534. (LookAndFeel.getName): Likewise.
  8535. (LookAndFeel.getClassName): Likewise.
  8536. 2004-06-03 Michael Koch <konqueror@gmx.de>
  8537. * gnu/java/awt/peer/gtk/GtkComponentPeer.java
  8538. (requestFocus): Revert last changes.
  8539. (gtkRequestFocus): Removed.
  8540. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
  8541. (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
  8542. Renamed to ...
  8543. (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
  8544. Reverted last patch.
  8545. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
  8546. (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
  8547. Reverted comment change.
  8548. 2004-06-02 Olga Rodimina <rodimina@redhat.com>
  8549. * javax/swing/JCheckBoxMenuItem.java:
  8550. Removed CVS tags.
  8551. * javax/swing/JMenu.java: Likewise.
  8552. * javax/swing/JMenuBar.java: Likewise.
  8553. * javax/swing/JMenuItem.java: Likewise.
  8554. * javax/swing/JPopupMenu.java: Likewise.
  8555. * javax/swing/JRadioButtonMenuItem.java: Likewise.
  8556. * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
  8557. * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
  8558. * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
  8559. * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
  8560. * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
  8561. * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
  8562. 2004-06-01 Tom Tromey <tromey@redhat.com>
  8563. * java/io/ObjectStreamField.java: Cleaned up imports.
  8564. 2004-06-01 Michael Koch <konqueror@gmx.de>
  8565. * java/io/ObjectStreamField.java: Style and javadoc cleanup.
  8566. 2004-06-01 Mark Wielaard <mark@klomp.org>
  8567. * java/io/Writer.java (Writer(Object)): Fixed API doc.
  8568. 2004-06-01 Michael Koch <konqueror@gmx.de>
  8569. * java/security/Security.java
  8570. (insertProviderAt): Use equals() instead of ==.
  8571. (removeProvicer): Likewise.
  8572. (getProvider): Likewise.
  8573. * java/security/Signature.java
  8574. (sign): Don't set state to UNINITIALIZED.
  8575. (verify): Likewise.
  8576. 2004-06-01 Mark Wielaard <mark@klomp.org>
  8577. * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
  8578. Implement by calling gtkRequestFocus.
  8579. (gtkRequestFocus): New native method.
  8580. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
  8581. (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
  8582. Renamed to ...
  8583. (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
  8584. New function name.
  8585. (filter_expose_event_handler):
  8586. Mark static.
  8587. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
  8588. (menu_pos): Mark static.
  8589. 2004-06-01 Michael Koch <konqueror@gmx.de>
  8590. * java/text/CollationElementIterator.java,
  8591. java/text/CollationKey.java,
  8592. java/text/RuleBasedCollator.java: New versions from GNU classpath.
  8593. * testsuite/libjava.mauve/xfails: Removed all
  8594. java.text.CollationElementIterator tests.
  8595. 2004-06-01 Michael Koch <konqueror@gmx.de>
  8596. * java/util/zip/InflaterInputStream.java: Merged more with Classpath
  8597. version.
  8598. * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
  8599. Java 1.5 keyword usage.
  8600. 2004-05-31 Olga Rodimina <rodimina@redhat.com>
  8601. * javax/swing/plaf/basic/BasicMenuUI.java:
  8602. (MouseEntered): Do not call getPath() from MenuSelectionManager.
  8603. Call getPath() from super class instead.
  8604. 2004-05-31 Michael Koch <konqueror@gmx.de>
  8605. * java/io/SequenceInputStream.java:
  8606. Rename enum to e because enum is a keyword in Java 1.5.
  8607. 2004-05-31 Michael Koch <konqueror@gmx.de>
  8608. * gnu/java/rmi/rmic/CompilerProcess.java:
  8609. Fixed javadoc to by XHTML compliant.
  8610. 2004-05-30 Mark Wielaard <mark@klomp.org>
  8611. * java/awt/Toolkit.java (loadSystemColors): Implement.
  8612. 2004-05-30 Michael Koch <konqueror@gmx.de>
  8613. * java/lang/System.java: Reordered imports.
  8614. 2004-05-30 Guilhem Lavaux <guilhem@kaffe.org>
  8615. * java/text/DecimalFormat.java
  8616. (parse): Fixed parsing of decimal strings. Number of maximum
  8617. digits to be read should now work.
  8618. * java/text/SimpleDateFormat.java
  8619. (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
  8620. formatter. This fixes DateFormatTest.
  8621. 2004-05-30 Michael Koch <konqueror@gmx.de>
  8622. * java/nio/Buffer.java
  8623. (limit): Fixed off by one error.
  8624. * java/nio/CharBuffer.java
  8625. (wrap): Fixed arguments, added javadocs.
  8626. 2004-05-30 Michael Koch <konqueror@gmx.de>
  8627. * gnu/java/beans/BeanInfoEmbryo.java,
  8628. java/awt/im/InputContext.java,
  8629. javax/swing/tree/DefaultMutableTreeNode.java:
  8630. Rename enum to e because enum is a keyword in Java 1.5.
  8631. 2004-05-30 Michael Koch <konqueror@gmx.de>
  8632. * gnu/java/math/MPN.java,
  8633. java/awt/geom/Arc2D.java:
  8634. Fixed javadocs all over.
  8635. 2004-05-30 Michael Koch <konqueror@gmx.de>
  8636. * java/awt/DefaultKeyboardFocusManager.java
  8637. (dispatchEvent): Call method to get key event dispatchers.
  8638. (dispatchKeyEvent): Call method to get key event post processors.
  8639. * javax/swing/JComponent.java
  8640. (listenerList): Made protected.
  8641. * javax/swing/JOptionPane.java
  8642. (message): Don't initialize.
  8643. (JOptionPane): Set message text.
  8644. * javax/swing/JPopupMenu.java
  8645. (show): Fixed typo in argument name.
  8646. * javax/swing/RepaintManager.java
  8647. (paintDirtyRegions): Use public API of java.util.Map.
  8648. * javax/swing/plaf/basic/BasicSplitPaneDivider.java
  8649. (positionForMouseEvent): Removed redundant ';'.
  8650. (continueDrag): Use method arguments.
  8651. 2004-05-29 Ranjit Mathew <rmathew@hotmail.com>
  8652. * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
  8653. results.
  8654. 2004-05-28 Bryce McKinlay <mckinlay@redhat.com>
  8655. * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
  8656. _Jv_AllocBytes.
  8657. * gnu/gcj/RawDataManaged.java: New file.
  8658. * java/lang/Thread.java (data): Declare as RawDataManaged.
  8659. * java/lang/natThread.cc (init_native): Cast natThread data to
  8660. RawDataManaged, not jobject.
  8661. * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
  8662. * Makefile.in: Rebuilt.
  8663. 2004-05-27 Jerry Quinn <jlquinn@optonline.net>
  8664. * java/util/SimpleTimeZone.java: Reverting my last change until I
  8665. can fix it properly.
  8666. 2004-05-27 Michael Koch <konqueror@gmx.de>
  8667. * javax/swing/JPopupMenu.java
  8668. (isVisible): Do not use visible directly.
  8669. (setVisible): Likewise.
  8670. * javax/swing/JWindow.java
  8671. (JWindow): call accessible constructor.
  8672. * javax/swing/RepaintManager.java
  8673. (paintDirtyRegions): Use public methods to obtain iterator.
  8674. 2004-05-25 David Jee <djee@redhat.com>
  8675. * java/awt/Container.java
  8676. (remove): Set component's parent to null only after we removed the
  8677. component from its parent's layout manager.
  8678. 2004-05-25 David Jee <djee@redhat.com>
  8679. * gnu/java/awt/peer/gtk/GtkComponentPeer.java
  8680. (GtkComponentPeer): Set bounds regardless of whether awtComponent
  8681. is valid.
  8682. * gnu/java/awt/peer/gtk/GtkListPeer.java
  8683. (getSize): Change native method declaration.
  8684. (minimumSize): Pass visible row count into getSize().
  8685. (preferredSize): Likewise.
  8686. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
  8687. (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
  8688. natural size. Use visible row count to determine the final height
  8689. value to return.
  8690. 2004-05-21 Graydon Hoare <graydon@redhat.com>
  8691. * gnu/java/awt/peer/gtk/GdkGraphics2D.java
  8692. (setClip): Minor correction to order of operations.
  8693. * javax/swing/JScrollPane.java: Extend sketchy implementation.
  8694. * javax/swing/ScrollPaneLayout.java: Likewise.
  8695. * javax/swing/JViewPort.java: Likewise.
  8696. * javax/swing/ViewportLayout.java: Likewise.
  8697. * javax/swing/JComponent.java: Rewrite.
  8698. * javax/swing/RepaintManager.java: Likewise.
  8699. * javax/swing/JLayeredPane.java: Change validate() to revalidate().
  8700. * javax/swing/JList.java
  8701. (setSelectedIndices):
  8702. (getSelectedIndices):
  8703. (getSelectedValues): New functions.
  8704. (getPreferredScrollableViewportSize): Return preferred size.
  8705. (getScrollableUnitIncrement):
  8706. (getScrollableBlockIncrement): Initial implementations.
  8707. * javax/swing/JRootPane.java: Clean up slightly.
  8708. (getUI):
  8709. (setUI):
  8710. (updateUI):
  8711. (getUIClassID):
  8712. (isValidateRoot): Add overrides from JComponent.
  8713. * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
  8714. * javax/swing/UIManager.java (getDimension): Return the dimension.
  8715. * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
  8716. * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
  8717. * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
  8718. * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
  8719. * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
  8720. * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
  8721. * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
  8722. * javax/swing/plaf/basic/BasicRootPaneUI.java:
  8723. Likewise, and set background.
  8724. * javax/swing/plaf/basic/BasicListUI.java:
  8725. Likewise, and improve a bit.
  8726. * javax/swing/plaf/basic/BasicScrollBarUI.java:
  8727. Likewise, and adjust calculations.
  8728. * javax/swing/plaf/basic/BasicViewportUI.java:
  8729. Likewise, and improve a bit.
  8730. * javax/swing/plaf/basic/BasicLookAndFeel.java
  8731. (Button.margin): Shrink.
  8732. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
  8733. Hack to set horizontal always, workaround pango.
  8734. * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
  8735. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
  8736. Synchronize more often, check cairo status after ops,
  8737. handle changes to cairo pattern API, check for disposal.
  8738. 2004-05-21 Olga Rodimina <rodimina@redhat.com>
  8739. * javax/swing/plaf/basic/BasicMenuItemUI.java:
  8740. (BasicMenuItemUI): Create propertyChangeListener.
  8741. (getPath):Implemented.
  8742. (installListeners): Add propertyChangeListener to menuItem.
  8743. (uninstallListeners): Remove propertyChangeListener from menuItem.
  8744. (update): Implemented.
  8745. * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
  8746. (mouseEntered): Take insets of popup menu into account when
  8747. calculating position of popup menu.
  8748. 2004-05-18 Olga Rodimina <rodimina@redhat.com>
  8749. * Makefile.am: Added new file.
  8750. * Makefile.in: Regenerate.
  8751. * javax/swing/JMenuBar.java:
  8752. Started implementation.
  8753. * javax/swing/JPopupMenu.java:
  8754. (setVisible): Fixed location of lightweight/mediumweight
  8755. popup menu.
  8756. (show): Fixed location of PopupMenu.
  8757. * javax/swing/plaf/basic/BasicMenuBarUI.java:
  8758. New file. UI Delegate for JMenuBar.
  8759. * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
  8760. (mouseEntered): Corrected position of the submenu.
  8761. 2004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
  8762. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
  8763. to _gtk_accel_group_attach.
  8764. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
  8765. Likewise.
  8766. * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
  8767. package access. Don't override setFont.
  8768. * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
  8769. * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
  8770. gtkWidgetRequestFocus package access.
  8771. * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
  8772. setFont.
  8773. * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
  8774. Give gtkWidgetRequestFocus package access.
  8775. * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
  8776. gtkWidgetRequestFocus package access. Don't override setFont.
  8777. * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
  8778. setFont.
  8779. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
  8780. (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
  8781. region.
  8782. (gtkSetFont): Likewise.
  8783. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
  8784. Implement.
  8785. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
  8786. (gtkSetFont): Whitespace fix.
  8787. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
  8788. (gtkWidgetSetUsize): Remove method.
  8789. 2004-05-18 David Jee <djee@redhat.com>
  8790. * java/awt/image/MemoryImageSource.java
  8791. (newPixels(int,int,int,int,boolean)): Set only the specified
  8792. rectangle of pixels.
  8793. (newPixels(byte[],ColorModel,int,int)): Implement.
  8794. (newPixels(int[],ColorModel,int,int)): Implement.
  8795. 2004-05-18 Olga Rodimina <rodimina@redhat.com>
  8796. * Makefile.am: Added new file.
  8797. * Makefile.in: Regenerate.
  8798. * javax/swing/JMenu.java: Started
  8799. implementation.
  8800. * javax/swing/JPopupMenu.java:
  8801. (insert): If specified index is -1, then
  8802. add component at the end.
  8803. (isPopupTrigger): Reimplemented.
  8804. (JPopupMenu.LightWeightPopup): setBounds
  8805. of the lightWeightPopup before adding it
  8806. to the layeredPane.
  8807. (javax/swing/plaf/basic/BasicIconFactory.java):
  8808. (getMenuArrowIcon): Implemented.
  8809. * javax/swing/plaf/basic/BasicMenuItemUI.java:
  8810. (getPreferredSize): Add size of the arrow icon
  8811. if this menu item is instance of JMenu.
  8812. (paintMenuItem): Paint arrow icon if this
  8813. menu item is a submenu.
  8814. * javax/swing/plaf/basic/BasicMenuUI.java:
  8815. New File. UI Delegate for JMenu.
  8816. 2004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com>
  8817. * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
  8818. Post KEY_TYPED events.
  8819. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
  8820. (generates_key_typed_event): Remove function.
  8821. 2004-05-17 Olga Rodimina <rodimina@redhat.com>
  8822. * javax/swing/JRootPane.java
  8823. (JRootPane.RootLayout): Reimplemented to
  8824. set bounds of contentPane and menuBar.
  8825. (setJMenuBar): Add menu bar to the layered pane.
  8826. (createLayeredPane): Set layout of layeredPane
  8827. to null.
  8828. * javax/swing/JLayeredPane.java:
  8829. (addImpl): Calculate index of the component in the
  8830. layeredPane according to the specified position within
  8831. the layer.
  8832. 2004-05-17 David Jee <djee@redhat.com>
  8833. * gnu/java/awt/peer/gtk/GtkImagePainter.java
  8834. (setPixels): Change color model to the default model after
  8835. converting pixels.
  8836. * java/awt/image/MemoryImageSource.java
  8837. (newPixels): Set only the specified rectangle of pixels.
  8838. 2004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com>
  8839. * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
  8840. -l-java-beans -l-javax-accessibility -l-javax-swing.
  8841. * java/awt/AWTEvent.java (toString): Print source's name rather
  8842. than the source itself.
  8843. 2004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
  8844. * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
  8845. native.
  8846. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
  8847. (gdk_color_to_java_color): New function.
  8848. * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
  8849. 2004-05-12 David Jee <djee@redhat.com>
  8850. * java/awt/image/RGBImageFilter.java:
  8851. Initialize origmodel as null.
  8852. (makeColor): Fix pixel component order.
  8853. (filterRGBPixels): Fix pixel iteration.
  8854. (setPixels): Add extra checks for index color model. Convert pixels
  8855. to default color model if necessary.
  8856. (convertColorModelToDefault): New override method for byte pixels.
  8857. (convertColorModelToDefault): For int pixels, fix pixel iteration.
  8858. (makeColorbyDefaultCM): New override method for byte pixels.
  8859. (makeColorbyDefaultCM): For int pixel, add color model as argument.
  8860. (makeColor): Fix pixel component order.
  8861. 2004-05-11 Kim Ho <kho@redhat.com>
  8862. * javax/swing/Box.java:
  8863. Comment out more parts of Box.Filler.
  8864. 2004-05-11 Kim Ho <kho@redhat.com>
  8865. * javax/swing/Box.java:
  8866. Remove reference to AccessibleAWTComponent so
  8867. it compiles again.
  8868. 2004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com>
  8869. * gnu/java/awt/peer/gtk/GtkListPeer.java,
  8870. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
  8871. implementation of list peer to use GtkTreeView instead of
  8872. deprecated GtkCList.
  8873. 2004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
  8874. * gnu/java/awt/peer/gtk/GtkComponentPeer.java
  8875. (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
  8876. (handleEvent): Remove keyChar argument to
  8877. gtkWidgetDispatchKeyEvent calls.
  8878. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
  8879. compiler warnings.
  8880. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
  8881. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
  8882. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
  8883. Likewise.
  8884. 2004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
  8885. * gnu/java/awt/peer/gtk/GtkComponentPeer.java
  8886. (gtkWidgetRequestFocus): Mark protected.
  8887. (GtkComponentPeer): Only set the peer's bounds if its component
  8888. is valid.
  8889. * java/awt/Component.java (static): Set the default keyboard
  8890. focus manager.
  8891. (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
  8892. requestFocusInWindow(temporary)): Don't request focus if the
  8893. component is not showing. Get tree lock before traversing
  8894. component hierarchy.
  8895. * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
  8896. Only set the global focus owner if it is not a Window.
  8897. (processKeyEvent): Consume keystrokes associated with the focus
  8898. traversal keystroke.
  8899. (focusPreviousComponent, focusNextComponent, upFocusCycle,
  8900. downFocusCycle): Call requestFocusInWindow instead of
  8901. requestFocus.
  8902. * java/awt/EventDispatchThread.java (run): Move setting of
  8903. default keyboard focus manager to Component.java.
  8904. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
  8905. (awt_keycode_to_keysym): New function.
  8906. (gtkWidgetDispatchKeyEvent): Finish implementation.
  8907. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
  8908. (pre_event_handler): Add FIXME comment.
  8909. * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
  8910. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
  8911. (gtkWidgetRequestFocus): New method.
  8912. * java/awt/TextArea.java (TextArea): Set focus traversal keys to
  8913. disable Tab and Shift-Tab keystrokes.
  8914. (addNotify, appendText, insertText, replaceText): Simplify peer
  8915. retrieval code.
  8916. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
  8917. (connectSignals): Remove connections to "commit" signals.
  8918. Remove C++-style comments.
  8919. * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
  8920. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
  8921. (handleEvent): Activate GTK button when the space bar key is
  8922. pressed.
  8923. (gtkActivate): New method.
  8924. 2004-05-06 David Jee <djee@redhat.com>
  8925. * java/awt/image/CropImageFilter.java
  8926. (setPixels): Implement for byte array pixels.
  8927. * java/awt/image/ReplicateScaleFilter.java
  8928. (setPixels): Implement for byte array pixels.
  8929. (replicatePixels): Overload for byte array pixels.
  8930. 2004-05-06 Kim Ho <kho@redhat.com>
  8931. * javax/swing/Box.java:
  8932. (getAccessibleContext): Return an instance of the
  8933. correct class.
  8934. 2004-05-05 David Jee <djee@redhat.com>
  8935. * gnu/java/awt/peer/gtk/GdkGraphics.java
  8936. (drawImage): When component is null, use SystemColor.window as
  8937. the default bgcolor.
  8938. * gnu/java/awt/peer/gtk/GtkImage.java
  8939. (setPixels): We can avoid iterating through the pixel rows only
  8940. when height is 1.
  8941. * java/awt/Image.java
  8942. (getScaledInstance): Partially implement.
  8943. * java/awt/image/CropImageFilter.java
  8944. (setProperties): Fix "filter" property.
  8945. (setPixels): Implement.
  8946. * java/awt/image/ReplicateScaleFilter.java
  8947. (setDimensions): Use scaled dimensions.
  8948. (setPixels): Implement.
  8949. (replicatePixels): New method.
  8950. 2004-05-05 David Jee <djee@redhat.com>
  8951. * gnu/java/awt/peer/gtk/GtkImagePainter.java
  8952. (convertPixels): If either pixels or model is null, return null.
  8953. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
  8954. (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
  8955. is null, do nothing and return.
  8956. 2004-05-03 Kim Ho <kho@redhat.com>
  8957. * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
  8958. (getGraphics): Like GtkFramePeer, the Graphics
  8959. object needs to be translate to account for
  8960. window decorations.
  8961. (postMouseEvent): New method. Account for
  8962. translation.
  8963. (postExposeEvent): ditto.
  8964. * javax/swing/Box.java: Stubbed.
  8965. * javax/swing/JDialog.java: Ran through jalopy
  8966. to fix indentation.
  8967. (JDialog): Call SwingUtilities' getOwnerFrame
  8968. for null owners.
  8969. (setLayout): Check isRootPaneCheckingEnabled
  8970. * javax/swing/JOptionPane.java: Re-implemented.
  8971. * javax/swing/SwingUtilities.java:
  8972. (getOwnerFrame): Static method to grab a default
  8973. owner frame for Dialogs that don't specify owners.
  8974. * javax/swing/event/SwingPropertyChangeSupport.java:
  8975. (firePropertyChange): Fix early exit condition.
  8976. * javax/swing/plaf/basic/BasicLabelUI.java:
  8977. (paint): Avoid painting text if it is null
  8978. or empty.
  8979. * javax/swing/plaf/basic/BasicOptionPaneUI.java:
  8980. Implement.
  8981. 2004-05-03 Olga Rodimina <rodimina@redhat.com>
  8982. * Makefile.am: Added new file.
  8983. * Makefile.in: Regenerate.
  8984. * javax/swing/JPopupMenu.java:
  8985. Started implementation.
  8986. * javax/swing/JWindow.java
  8987. (JWindow): call super() if parent for window
  8988. is not specified.
  8989. * javax/swing/plaf/basic/BasicPopupMenuUI.java:
  8990. New File. UI Delegate for JPopupMenu.
  8991. 2004-04-30 Olga Rodimina <rodimina@redhat.com>
  8992. * javax/swing/JApplet.java: Indicated that JApplet
  8993. implements RootPaneContainer and made method of this
  8994. interface public.
  8995. * javax/swing/JFrame.java: Ditto.
  8996. * javax/swing/JWindow.java: Ditto.
  8997. 2004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com>
  8998. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
  8999. (nativeSetBounds): Call gdk_window_move in addition to
  9000. gtk_window_move.
  9001. * java/applet/Applet.java (preferredSize): Call parent's
  9002. preferredSize if the applet stub is null.
  9003. (minimumSize): Likewise for parent's minimumSize.
  9004. 2004-04-27 Olga Rodimina <rodimina@redhat.com>
  9005. * javax/swing/JMenuItem.java
  9006. (createActionPropertyChangeListener): Implemented.
  9007. (processMouseEvent): Ditto.
  9008. (fireMenuDragMouseEntered): Ditto.
  9009. (fireMenuDragMouseExited): Ditto.
  9010. (fireMenuDragMouseDragged): Ditto.
  9011. (fireMenuDragMouseReleased): Ditto.
  9012. (menuSelectionChanged): Ditto.
  9013. (getSubElements): Ditto.
  9014. (getComponent): Ditto.
  9015. (addMenuDragMouseListener): Ditto.
  9016. (removeMenuDragMouseListener):Ditto.
  9017. (addMenuKeyListener): Ditto.
  9018. (removeMenuKeyListener): Ditto.
  9019. * javax/swing/plaf/basic/BasicMenuItemUI.java
  9020. (doClick): Imlemented.
  9021. * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
  9022. Don't handle mouse events here. Pass them to
  9023. MenuSelectionManager.
  9024. 2004-04-26 Olga Rodimina <rodimina@redhat.com>
  9025. Used correct version of jalopy configuration
  9026. file to fix style in the files below.
  9027. 2004-04-26 Olga Rodimina <rodimina@redhat.com>
  9028. * javax/swing/JCheckBoxMenuItem.java:
  9029. Fixed style and removed unnecessary comments.
  9030. * javax/swing/JMenuItem.java: Ditto.
  9031. * javax/swing/JRadioButtonMenuItem.java: Ditto.
  9032. * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
  9033. * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
  9034. * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
  9035. 2004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com>
  9036. * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
  9037. C-style.
  9038. * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
  9039. * java/awt/ContainerOrderFocusTraversalPolicy.java
  9040. (getComponentAfter): Start from current component and work up
  9041. the component hierarchy until an acceptable component is found.
  9042. Synchronize on tree lock.
  9043. (getComponentBefore): Likewise.
  9044. 2004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
  9045. * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
  9046. focus-related debugging messages.
  9047. * java/awt/DefaultKeyboardFocusManager.java: Likewise.
  9048. * java/awt/EventDispatchThread.java: Likewise.
  9049. * java/awt/KeyboardFocusManager.java: Likewise.
  9050. * java/awt/Window.java: Likewise.
  9051. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
  9052. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
  9053. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
  9054. new C++-style comments to C-style comments.
  9055. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
  9056. * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
  9057. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
  9058. (handleEvent): Dispatch key press and key release events to
  9059. backing widget.
  9060. (requestFocus): Post a FOCUS_GAINED event to the event queue.
  9061. (gtkWidgetRequestFocus): New method.
  9062. (gtkWidgetDispatchKeyEvent): Likewise.
  9063. * java/awt/Component.java (requestFocus, requestFocus(boolean),
  9064. requestFocusInWindow, requestFocusInWindow(boolean),
  9065. getFocusCycleRootAncestor, nextFocus, transferFocus,
  9066. transferFocusBackward, transferFocusUpCycle, hasFocus,
  9067. isFocusOwner): Implement and document focus-handling methods.
  9068. (setFocusTraversalKeys): Inherit focus traversal keys when
  9069. keystrokes argument is null. Fix focus-handling documentation
  9070. throughout class.
  9071. * java/awt/Container.java (setFocusTraversalKeys,
  9072. getFocusTraversalKeys, areFocusTraversalKeysSet,
  9073. isFocusCycleRoot, setFocusTraversalPolicy,
  9074. getFocusTraversalPolicy, isFocusTraversalPolicySet,
  9075. setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
  9076. Implement and document focus-handling methods.
  9077. (transferFocusBackward): Remove method.
  9078. (readObject, writeObject): Implement and document serialization
  9079. methods.
  9080. * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
  9081. and document.
  9082. * java/awt/DefaultFocusTraversalPolicy.java: Implement and
  9083. document.
  9084. * java/awt/DefaultKeyboardFocusManager.java: Implement and
  9085. partially document.
  9086. * java/awt/EventDispatchThread.java (run): Set default keyboard
  9087. focus manager. Attempt to dispatch each event to the keyboard
  9088. focus manager before normal dispatch.
  9089. * java/awt/KeyboardFocusManager.java: Implement and partially
  9090. document.
  9091. * java/awt/Window.java (Window): Set focusCycleRoot to true.
  9092. (show): Focus initial component when window is shown for the
  9093. first time.
  9094. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
  9095. (pre_event_handler): Replace complex key press and key release
  9096. logic with simple callbacks into GtkComponentPeer.
  9097. * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
  9098. 2004-04-21 Olga Rodimina <rodimina@redhat.com>
  9099. * javax/swing/MenuSelectionManager.java
  9100. (componentForPoint): Added new method.
  9101. (defaultManager): New Method. Implemented.
  9102. (getSelectedPath): Ditto.
  9103. (isComponentPartOfCurrentMenu): Ditto.
  9104. (processKeyEvent): Added new method.
  9105. (processMouseEvent): New Method. Implemented.
  9106. (setSelectedPath): Ditto.
  9107. (getPath): Ditto.
  9108. 2004-04-19 Kim Ho <kho@redhat.com>
  9109. * java/awt/Container.java:
  9110. (remove): Set the component's parent to null.
  9111. (getComponentAt): Implement.
  9112. * javax/swing/JComponent.java:
  9113. (JComponent): Initialize defaultLocale
  9114. (getDefaultLocale): Implement.
  9115. (setDefaultLocale): ditto.
  9116. * javax/swing/JSlider.java:
  9117. (JSlider): Fix calculation of value.
  9118. * javax/swing/JSplitPane.java: Implement.
  9119. * javax/swing/plaf/basic/BasicLookAndFeel.java:
  9120. Change SplitPane's default divider size.
  9121. * javax/swing/plaf/basic/BasicScrollBarUI.java:
  9122. (paint): Remove unused code.
  9123. * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
  9124. Added comments and ran through jalopy.
  9125. (setBasicSplitPaneUI): Get reference to hidden divider
  9126. and set up one touch buttons if necessary.
  9127. (setBorder): Fire propertyChangeEvent only if
  9128. borders are different.
  9129. (getPreferredSize): Defer to layout manager.
  9130. (propertyChange): Implement.
  9131. (oneTouchExpandableChanged): ditto.
  9132. (createLeftOneTouchButton): Use BasicArrowButton.
  9133. (createRightOneTouchButton): ditto.
  9134. (moveDividerTo): New method. Moves the divider
  9135. to a set location based on the last divider location.
  9136. (BasicSplitPaneDivider::MouseHandler): Implement.
  9137. (BasicSplitPaneDivider::OneTouchButton): Removed.
  9138. (BasicSplitPaneDivider::DragController): Implement.
  9139. (BasicSplitPaneDivider::VerticalDragController):
  9140. ditto.
  9141. (BasicSplitPaneDivider::DividerLayout): ditto.
  9142. * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
  9143. * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
  9144. (calculateLayoutInfo): Don't show component if it's
  9145. null.
  9146. (paintTab): Fix title paint logic.
  9147. 2004-05-26 Jerry Quinn <jlquinn@optonline.net>
  9148. PR libgcj/8321
  9149. * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
  9150. (setStartRule,setEndRule): Don't take abs of day number.
  9151. (getOffset): Clarify docs. Add argument checks.
  9152. (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
  9153. (equals,hasSameRules,toString,readObject): Use startTimeMode and
  9154. endTimeMode.
  9155. * testsuite/libjava.mauve/xfails
  9156. (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
  9157. 2004-05-21 Bryce McKinlay <mckinlay@redhat.com>
  9158. Layout interfaces during preparation, not initialization.
  9159. * java/lang/natClass.cc (initializeClass): Move
  9160. _Jv_LayoutInterfaceMethods call...
  9161. * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
  9162. 2004-05-19 Anthony Green <green@localhost.localdomain>
  9163. * Makefile.am (awt_java_source_files): Remove javax.rmi and
  9164. gnu.javax.rmi code.
  9165. * Makefile.in: Rebuilt.
  9166. * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
  9167. javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
  9168. javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
  9169. javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
  9170. javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
  9171. gnu/javax/rmi/CORBA/DelegateFactory.java,
  9172. gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
  9173. gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
  9174. gnu/javax/rmi/CORBA/StubDelegateImpl.java,
  9175. gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
  9176. gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
  9177. gnu/javax/rmi/PortableServer.java: Remove files.
  9178. 2004-05-19 Anthony Green <green@redhat.com>
  9179. * Makefile.am: Define JAVA_EXT_DIRS.
  9180. * Makefile.in: Rebuilt.
  9181. * java/lang/natRuntime.cc (insertSystemProperties): Set
  9182. java.ext.dirs property.
  9183. 2004-05-16 Mark Wielaard <mark@klomp.org>
  9184. * java/io/Writer.java (Writer(Object)): Check for null lock object.
  9185. 2004-05-15 Mark Wielaard <mark@klomp.org>
  9186. * doc/cni.sgml: Removed, merged into gcj.texi.
  9187. 2004-05-15 Mark Wielaard <mark@klomp.org>
  9188. * Makefile.am (ordinary_java_source_files): Add new javax.print
  9189. classes.
  9190. * Makefile.in: Regenerated.
  9191. 2004-05-15 Michael Koch <konqueror@gmx.de>
  9192. * javax/print/attribute/standard/DateTimeAtCompleted.java,
  9193. javax/print/attribute/standard/DateTimeAtCreation.java,
  9194. javax/print/attribute/standard/DateTimeAtProcessing.java,
  9195. javax/print/attribute/standard/DocumentName.java,
  9196. javax/print/attribute/standard/JobHoldUntil.java,
  9197. javax/print/attribute/standard/JobImpressionsCompleted.java,
  9198. javax/print/attribute/standard/JobMessageFromOperator.java,
  9199. javax/print/attribute/standard/JobName.java,
  9200. javax/print/attribute/standard/JobOriginatingUserName.java,
  9201. javax/print/attribute/standard/JobPriority.java,
  9202. javax/print/attribute/standard/JobPrioritySupported.java,
  9203. javax/print/attribute/standard/NumberOfInterveningJobs.java,
  9204. javax/print/attribute/standard/OutputDeviceAssigned.java,
  9205. javax/print/attribute/standard/PrinterInfo.java,
  9206. javax/print/attribute/standard/PrinterLocation.java,
  9207. javax/print/attribute/standard/PrinterMakeAndModel.java,
  9208. javax/print/attribute/standard/PrinterMessageFromOperator.java,
  9209. javax/print/attribute/standard/PrinterName.java,
  9210. javax/print/attribute/standard/QueuedJobCount.java,
  9211. javax/print/attribute/standard/RequestingUserName.java:
  9212. Fixed javadocs all over.
  9213. 2004-05-15 Michael Koch <konqueror@gmx.de>
  9214. * javax/print/DocFlavor.java,
  9215. javax/print/attribute/standard/ColorSupported.java,
  9216. javax/print/attribute/standard/Compression.java,
  9217. javax/print/attribute/standard/CopiesSupported.java,
  9218. javax/print/attribute/standard/Fidelity.java,
  9219. javax/print/attribute/standard/Finishings.java,
  9220. javax/print/attribute/standard/JobImpressionsSupported.java,
  9221. javax/print/attribute/standard/JobKOctetsSupported.java,
  9222. javax/print/attribute/standard/JobMediaSheetsSupported.java,
  9223. javax/print/attribute/standard/JobSheets.java,
  9224. javax/print/attribute/standard/JobState.java,
  9225. javax/print/attribute/standard/JobStateReason.java,
  9226. javax/print/attribute/standard/JobStateReasons.java,
  9227. javax/print/attribute/standard/Media.java,
  9228. javax/print/attribute/standard/MediaSizeName.java,
  9229. javax/print/attribute/standard/MultipleDocumentHandling.java,
  9230. javax/print/attribute/standard/NumberUpSupported.java,
  9231. javax/print/attribute/standard/OrientationRequested.java,
  9232. javax/print/attribute/standard/PDLOverrideSupported.java,
  9233. javax/print/attribute/standard/PageRanges.java,
  9234. javax/print/attribute/standard/PresentationDirection.java,
  9235. javax/print/attribute/standard/PrintQuality.java,
  9236. javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
  9237. javax/print/attribute/standard/PrinterMoreInfo.java,
  9238. javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
  9239. javax/print/attribute/standard/PrinterResolution.java,
  9240. javax/print/attribute/standard/PrinterState.java,
  9241. javax/print/attribute/standard/PrinterStateReason.java,
  9242. javax/print/attribute/standard/PrinterStateReasons.java,
  9243. javax/print/attribute/standard/PrinterURI.java,
  9244. javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
  9245. javax/print/attribute/standard/Severity.java,
  9246. javax/print/attribute/standard/SheetCollate.java,
  9247. javax/print/attribute/standard/Sides.java:
  9248. Added serialVersionUID and removed final keyword where it doenst
  9249. belong.
  9250. 2004-05-15 Michael Koch <konqueror@gmx.de>
  9251. * javax/print/PrintServiceLookup.java: New file.
  9252. 2004-05-15 Michael Koch <konqueror@gmx.de>
  9253. * javax/print/DocFlavor.java:
  9254. Implemented all flavor classes.
  9255. 2004-05-15 Michael Koch <konqueror@gmx.de>
  9256. * javax/print/attribute/standard/ColorSupported.java,
  9257. javax/print/attribute/standard/Compression.java,
  9258. javax/print/attribute/standard/CopiesSupported.java,
  9259. javax/print/attribute/standard/Fidelity.java,
  9260. javax/print/attribute/standard/Finishings.java,
  9261. javax/print/attribute/standard/JobImpressionsSupported.java,
  9262. javax/print/attribute/standard/JobKOctetsSupported.java,
  9263. javax/print/attribute/standard/JobMediaSheetsSupported.java,
  9264. javax/print/attribute/standard/JobSheets.java,
  9265. javax/print/attribute/standard/JobState.java,
  9266. javax/print/attribute/standard/JobStateReason.java,
  9267. javax/print/attribute/standard/JobStateReasons.java,
  9268. javax/print/attribute/standard/Media.java,
  9269. javax/print/attribute/standard/MediaSizeName.java,
  9270. javax/print/attribute/standard/MultipleDocumentHandling.java,
  9271. javax/print/attribute/standard/NumberUpSupported.java,
  9272. javax/print/attribute/standard/OrientationRequested.java,
  9273. javax/print/attribute/standard/PDLOverrideSupported.java,
  9274. javax/print/attribute/standard/PageRanges.java,
  9275. javax/print/attribute/standard/PresentationDirection.java,
  9276. javax/print/attribute/standard/PrintQuality.java,
  9277. javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
  9278. javax/print/attribute/standard/PrinterMoreInfo.java,
  9279. javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
  9280. javax/print/attribute/standard/PrinterResolution.java,
  9281. javax/print/attribute/standard/PrinterState.java,
  9282. javax/print/attribute/standard/PrinterStateReason.java,
  9283. javax/print/attribute/standard/PrinterStateReasons.java,
  9284. javax/print/attribute/standard/PrinterURI.java,
  9285. javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
  9286. javax/print/attribute/standard/Severity.java,
  9287. javax/print/attribute/standard/SheetCollate.java,
  9288. javax/print/attribute/standard/Sides.java: New files.
  9289. 2004-05-15 Michael Koch <konqueror@gmx.de>
  9290. * javax/print/Doc.java
  9291. (getPrintData): Throws IOException.
  9292. (getReaderForText): Likewise.
  9293. (getStreamForBytes): Likewise.
  9294. * javax/print/DocFlavor.java:
  9295. Fixed filename in copyright.
  9296. (serialVersionUID): New field.
  9297. * javax/print/ServiceUIFactory.java:
  9298. Made all constants final.
  9299. * javax/print/AttributeException.java
  9300. javax/print/MultiDoc.java
  9301. javax/print/MultiDocPrintJob.java
  9302. javax/print/MultiDocPrintService.java
  9303. javax/print/StreamPrintService.java
  9304. javax/print/URIException.java: New files.
  9305. * javax/print/Makefile.am
  9306. (EXTRA_DIST): Added all new files.
  9307. 2004-05-15 Michael Koch <konqueror@gmx.de>
  9308. * javax/print/attribute/standard/Copies.java,
  9309. javax/print/attribute/standard/DateTimeAtCompleted.java,
  9310. javax/print/attribute/standard/DateTimeAtCreation.java,
  9311. javax/print/attribute/standard/DateTimeAtProcessing.java,
  9312. javax/print/attribute/standard/DocumentName.java,
  9313. javax/print/attribute/standard/JobHoldUntil.java,
  9314. javax/print/attribute/standard/JobImpressions.java,
  9315. javax/print/attribute/standard/JobImpressionsCompleted.java,
  9316. javax/print/attribute/standard/JobKOctets.java,
  9317. javax/print/attribute/standard/JobKOctetsProcessed.java,
  9318. javax/print/attribute/standard/JobMediaSheets.java,
  9319. javax/print/attribute/standard/JobMediaSheetsCompleted.java,
  9320. javax/print/attribute/standard/JobMessageFromOperator.java,
  9321. javax/print/attribute/standard/JobName.java,
  9322. javax/print/attribute/standard/JobOriginatingUserName.java,
  9323. javax/print/attribute/standard/JobPriority.java,
  9324. javax/print/attribute/standard/JobPrioritySupported.java,
  9325. javax/print/attribute/standard/NumberOfDocuments.java,
  9326. javax/print/attribute/standard/NumberOfInterveningJobs.java,
  9327. javax/print/attribute/standard/NumberUp.java,
  9328. javax/print/attribute/standard/OutputDeviceAssigned.java,
  9329. javax/print/attribute/standard/PagesPerMinute.java,
  9330. javax/print/attribute/standard/PagesPerMinuteColor.java:
  9331. Fixed @return tag all over.
  9332. 2004-05-15 Michael Koch <konqueror@gmx.de>
  9333. * javax/print/attribute/AttributeSetUtilities.java
  9334. (verifyCategoryForValue): Fixed typo in javadoc.
  9335. * javax/print/attribute/HashAttributeSet.java
  9336. (containsKey): Fixed @return tag.
  9337. (comtainsValue): Likewise.
  9338. (equals): Likewise.
  9339. * javax/print/attribute/IntegerSyntax.java
  9340. (equals): Likewise.
  9341. * javax/print/attribute/ResolutionSyntax.java
  9342. (equals): Likewise.
  9343. (getCrossFeedResolution): Removed unused code.
  9344. (getFeedResolution): Likewise.
  9345. * javax/print/attribute/SetOfIntegerSyntax.java
  9346. (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
  9347. (equals): Fixed @return tag.
  9348. * javax/print/attribute/TextSyntax.java
  9349. (TextSyntax): Take locale into account.
  9350. (hashCode): Better implementation.
  9351. 2004-05-15 Michael Koch <konqueror@gmx.de>
  9352. * javax/print/CancelablePrintJob.java,
  9353. javax/print/Doc.java,
  9354. javax/print/DocFlavor.java,
  9355. javax/print/DocPrintJob.java,
  9356. javax/print/FlavorException.java,
  9357. javax/print/PrintException.java,
  9358. javax/print/PrintService.java,
  9359. javax/print/ServiceUIFactory.java: New files.
  9360. 2004-05-15 Mark Wielaard <mark@klomp.org>
  9361. * gnu/regexp/CharIndexedReader.java: Removed.
  9362. * gnu/regexp/REFilterReader.java: Likewise.
  9363. * gnu/regexp/RETokenLookAhead.java: Likewise.
  9364. * Makefile.am (ordinary_java_source_files): Remove above classes.
  9365. * Makefile.in: Regenerated.
  9366. 2004-05-14 Tom Tromey <tromey@redhat.com>
  9367. * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
  9368. not `XGraphicsConfiguration.XOffScreenImage'.
  9369. 2004-05-14 Scott Gilbertson <scottg@mantatest.com>
  9370. * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
  9371. 2004-05-14 Steven Augart <augart@watson.ibm.com>
  9372. * include/jni.h (_Jv_func): Removed.
  9373. (struct JNINativeInterface): Use `void *' for reserved slots.
  9374. (struct JNIInvokeInterface): Likewise.
  9375. 2004-05-11 Michael Koch <konqueror@gmx.de>
  9376. * gnu/java/net/natPlainSocketImplPosix.cc
  9377. (read): Fixed typo in expression.
  9378. 2004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
  9379. * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
  9380. ld_library_additions. Adjust all calls to libjava_invoke to match
  9381. the new argument.
  9382. * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
  9383. path to cxxflagslist.
  9384. Pass path of libstdc++ to libjava_invoke.
  9385. * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
  9386. libjava_invoke arguments.
  9387. 2004-05-10 Ranjit Mathew <rmathew@hotmail.com>
  9388. * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
  9389. reality.
  9390. 2004-05-07 Ranjit Mathew <rmathew@gmail.com>
  9391. * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
  9392. main binary against the JNI shared library.
  9393. 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
  9394. * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
  9395. WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
  9396. (SimpleTimeZone): Tweak docs. Add new variation.
  9397. (setStartRule,setEndRule): Add new variations. Use
  9398. startTimeMode and endTimeMode.
  9399. 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
  9400. * java/util/Calendar.java (getActualMinimum,
  9401. getActualMaximum): Remove abstract. Implement.
  9402. 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
  9403. Run the jni tests using the interpreter.
  9404. * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
  9405. options_cxx to shared lib compile command.
  9406. (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
  9407. they are used to link the shared lib, not the main binary.
  9408. Use libjava_invoke to run gij.
  9409. 2004-05-06 Michael Koch <konqueror@gmx.de>
  9410. * java/util/logging/Level.java
  9411. (parse): Use == instead of String.equals().
  9412. 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
  9413. * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
  9414. verify_field_signature and verify_method_signature, not
  9415. _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
  9416. (_Jv_ClassReader::handleField): Likewise.
  9417. (_Jv_ClassReader::handleMethod): Likewise.
  9418. 2004-05-06 Michael Koch <konqueror@gmx.de>
  9419. * javax/swing/table/TableColumn.java:
  9420. Reformated.
  9421. 2004-05-06 Michael Koch <konqueror@gmx.de>
  9422. * javax/imageio/spi/ImageReaderWriterSpi.java
  9423. (ImageReaderWriterSpi): Made it public.
  9424. * javax/imageio/stream/ImageInputStream.java:
  9425. Clean up imports.
  9426. 2004-05-06 Michael Koch <konqueror@gmx.de>
  9427. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
  9428. Removed empty line.
  9429. 2004-05-06 Michael Koch <konqueror@gmx.de>
  9430. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
  9431. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
  9432. New files.
  9433. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
  9434. Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
  9435. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
  9436. Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
  9437. their own source file.
  9438. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
  9439. Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
  9440. their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
  9441. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
  9442. (create): Define variable on top of function.
  9443. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
  9444. (menu_pos): Prototyped.
  9445. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
  9446. (setTitle): Removed.
  9447. * jni/gtk-peer/gthread-jni.c
  9448. (gdk_threads_wake): Removed.
  9449. * Makefile.am (gtk_c_source_files): Added new files
  9450. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
  9451. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
  9452. * Makefile.in: Regenerated.
  9453. 2004-05-05 Bryce McKinlay <mckinlay@redhat.com>
  9454. * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
  9455. call.
  9456. 2004-05-05 Mark Wielaard <mark@klomp.org>
  9457. * javax/swing/AbstractButton.java: Replace special HTML entities with
  9458. ASCII equivalent.
  9459. * javax/swing/DefaultBoundedRangeModel.java: Likewise.
  9460. * javax/swing/DefaultButtonModel.java: Likewise.
  9461. * javax/swing/DefaultListModel.java: Likewise.
  9462. * javax/swing/JList.java: Likewise.
  9463. * javax/swing/JSlider.java: Likewise.
  9464. * javax/swing/ListModel.java: Likewise.
  9465. * javax/swing/Popup.java: Likewise.
  9466. * javax/swing/SwingUtilities.java: Likewise.
  9467. 2004-05-05 Michael Koch <konqueror@gmx.de>
  9468. * javax/swing/AbstractButton.java,
  9469. javax/swing/ActionMap.java,
  9470. javax/swing/DefaultButtonModel.java,
  9471. javax/swing/DefaultListModel.java,
  9472. javax/swing/ImageIcon.java,
  9473. javax/swing/JComboBox.java,
  9474. javax/swing/JComponent.java,
  9475. javax/swing/JFrame.java,
  9476. javax/swing/JInternalFrame.java,
  9477. javax/swing/JMenuBar.java,
  9478. javax/swing/JMenuItem.java,
  9479. javax/swing/JOptionPane.java,
  9480. javax/swing/JProgressBar.java,
  9481. javax/swing/JRootPane.java,
  9482. javax/swing/JScrollBar.java,
  9483. javax/swing/JScrollPane.java,
  9484. javax/swing/JSeparator.java,
  9485. javax/swing/JSlider.java,
  9486. javax/swing/JTabbedPane.java,
  9487. javax/swing/JTable.java,
  9488. javax/swing/JTextField.java,
  9489. javax/swing/JToolBar.java,
  9490. javax/swing/JToolTip.java,
  9491. javax/swing/JTree.java,
  9492. javax/swing/JViewport.java,
  9493. javax/swing/JWindow.java,
  9494. javax/swing/KeyStroke.java,
  9495. javax/swing/LookAndFeel.java,
  9496. javax/swing/SwingUtilities.java,
  9497. javax/swing/Timer.java,
  9498. javax/swing/ToolTipManager.java,
  9499. javax/swing/UIDefaults.java,
  9500. javax/swing/border/TitledBorder.java,
  9501. javax/swing/filechooser/FileSystemView.java,
  9502. javax/swing/plaf/basic/BasicButtonListener.java,
  9503. javax/swing/plaf/basic/BasicButtonUI.java,
  9504. javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
  9505. javax/swing/plaf/basic/BasicGraphicsUtils.java,
  9506. javax/swing/plaf/basic/BasicLabelUI.java,
  9507. javax/swing/plaf/basic/BasicMenuItemUI.java,
  9508. javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
  9509. javax/swing/plaf/basic/BasicRootPaneUI.java,
  9510. javax/swing/plaf/basic/BasicScrollBarUI.java,
  9511. javax/swing/plaf/basic/BasicScrollPaneUI.java,
  9512. javax/swing/plaf/basic/BasicSliderUI.java,
  9513. javax/swing/plaf/basic/BasicTabbedPaneUI.java,
  9514. javax/swing/plaf/basic/BasicToggleButtonUI.java,
  9515. javax/swing/table/JTableHeader.java,
  9516. javax/swing/text/AbstractDocument.java,
  9517. javax/swing/text/DefaultCaret.java,
  9518. javax/swing/text/StyledEditorKit.java,
  9519. javax/swing/tree/DefaultTreeCellEditor.java:
  9520. Cleaned up imports.
  9521. 2004-05-05 Michael Koch <konqueror@gmx.de>
  9522. * java/util/prefs/AbstractPreferences.java
  9523. (AbstractPreferences): Added parenthesis for clarity.
  9524. Closes classpath bug #7940.
  9525. 2004-05-05 Tom Tromey <tromey@redhat.com>
  9526. * javax/naming/CompoundName.java (endsWith): Look at correct
  9527. element of source name.
  9528. 2004-05-05 Mark Wielaard <mark@klomp.org>
  9529. Reported by f.haeglsperger@gmx.de [classpath patch #2485]
  9530. * java/util/HashMap.java (rehash): Add entry at start of bucket.
  9531. 2004-05-05 Tom Tromey <tromey@redhat.com>
  9532. * java/io/BufferedReader.java (skip): Removed unused
  9533. variable.
  9534. 2004-05-05 Michael Koch <konqueror@gmx.de>
  9535. * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
  9536. 2004-05-05 Dalibor Topic <robilad@kaffe.org>
  9537. * java/text/AttributedString.java,
  9538. java/text/AttributedStringIterator.java,
  9539. java/text/Collator.java,
  9540. java/text/DecimalFormatSymbols.java,
  9541. java/text/NumberFormat.java,
  9542. java/text/RuleBasedCollator.java:
  9543. Cleaned up imports.
  9544. 2004-05-05 Tom Tromey <tromey@redhat.com>
  9545. * java/text/Format.java: Cleaned up imports.
  9546. * java/text/DecimalFormat.java: Cleaned up imports.
  9547. * java/security/SecureRandom.java: Cleaned up imports.
  9548. (SecureRandom): Removed unused variable.
  9549. * java/security/UnresolvedPermission.java: Cleaned up imports.
  9550. * java/util/Date.java (parse): Removed unused variable.
  9551. * java/util/ResourceBundle.java: Cleaned up imports.
  9552. (getBundle): Removed unused variable.
  9553. (tryBundle): Likewise.
  9554. * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
  9555. 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
  9556. * java/text/SimpleDateFormat.java:
  9557. (formatWithAttribute): New method. It implements
  9558. the formatting process with attributes.
  9559. (format): Use formatWithAttribute.
  9560. (formatToCharacterIterator): New method. Use
  9561. formatWithAttribute.
  9562. 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
  9563. * java/text/MessageFormat.java:
  9564. (class Field): New class.
  9565. (formatToCharacterIterator): New method.
  9566. (format): Use formatInternal now.
  9567. (formatInternal): New method. String formatter should
  9568. be done here (with attributes). Attributes merging supported.
  9569. (parse): More documentation.
  9570. (getFormatsByArgumentIndex): New method.
  9571. (setFormatByArgumentIndex): New method.
  9572. (setFormatsByArgumentIndex): New method.
  9573. 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
  9574. * java/text/DecimalFormat.java
  9575. (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
  9576. (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
  9577. (parse): Fixed handling of exponentiation notation and grouping.
  9578. 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
  9579. * java/text/DecimalFormat.java
  9580. (scanFix): Build attribute array. Fixed error reporting.
  9581. (applyPatternWithSymbols): Store attributes for the prefix and
  9582. suffix.
  9583. (formatInternal): New method. Changed the way the string is
  9584. computed. Implemented attributes. Cleant up rounding in
  9585. exponential notation.
  9586. (format): Use formatInternal.
  9587. (formatToCharacterIterator): New method.
  9588. (exponentRound, negativePrefixRanges, positivePrefixRanges,
  9589. negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
  9590. positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
  9591. New fields.
  9592. 2004-05-04 Dalibor Topic <robilad@kaffe.org>
  9593. * java/security/interfaces/DSAKeyPairGenerator.java,
  9594. java/security/interfaces/DSAPrivateKey.java,
  9595. java/security/interfaces/DSAPublicKey.java,
  9596. java/security/interfaces/RSAPrivateKey.java,
  9597. java/security/interfaces/RSAPublicKey.java:
  9598. Cleaned up imports.
  9599. 2004-05-04 Michael Koch <konqueror@gmx.de>
  9600. * java/nio/ByteBuffer.java,
  9601. java/nio/CharBuffer.java,
  9602. java/nio/DoubleBuffer.java,
  9603. java/nio/FloatBuffer.java,
  9604. java/nio/IntBuffer.java,
  9605. java/nio/LongBuffer.java,
  9606. java/nio/ShortBuffer.java:
  9607. (compareTo): Fixed bogus implementation in all buffer classes.
  9608. 2004-05-04 Ingo Proetel <proetel@aicas.com>
  9609. * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
  9610. 32 bit pixels not 8 bit pixels.
  9611. (isCompatibleRaster): Added javadoc comment.
  9612. 2004-05-04 Ingo Proetel <proetel@aicas.com>
  9613. * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
  9614. scanline stride.
  9615. 2004-05-04 Ingo Proetel <proetel@aicas.com>
  9616. * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
  9617. (getColorModel): Return the actual color model.
  9618. (getRaster): Implemented.
  9619. (ColorRaster): New inner class.
  9620. * java/awt/SystemColor.java (createContext): Use ColorModel when creating
  9621. a PaintContext.
  9622. * java/awt/Color.java (<init>): Make exception more verbose.
  9623. (createContext): Use ColorModel when creating a PaintContext.
  9624. 2004-05-04 Michael Koch <konqueror@gmx.de>
  9625. * gnu/java/text/CharacterBreakIterator.java
  9626. (previous): Removed unused variable.
  9627. 2004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
  9628. * gnu/java/text/FormatBuffer.java,
  9629. gnu/java/text/AttributedFormatBuffer.java,
  9630. gnu/java/text/StringFormatBuffer.java: New classes to implement
  9631. attributed iterators in java.text.
  9632. * gnu/java/text/FormatCharacterIterator.java: Moved
  9633. from java/text as it is an internal class.
  9634. * java/text/FormatCharacterIterator.java: Removed.
  9635. * java/text/Format.java:
  9636. Import gnu.java.text.FormatCharacterIterator.
  9637. * Makefile.am (java_source_files): Added new files.
  9638. * Makefile.in: Regenerated.
  9639. 2004-05-04 Mark Wielaard <mark@klomp.org>
  9640. * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
  9641. 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
  9642. * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
  9643. * Makefile.in: Rebuilt.
  9644. 2004-05-03 Mark Wielaard <mark@klomp.org>
  9645. * gnu/java/security/der/DERReader.java: Call static methods staticly.
  9646. * java/awt/TextComponent.java (select): Use selectionEnd parameter.
  9647. * java/net/URL.java
  9648. (set(String, String, int, String, String, String, String, String)):
  9649. Assign this.file to path or path + "?" + query.
  9650. * java/util/Arrays.java: Call static methods staticly.
  9651. * java/util/zip/ZipEntry.java: Likewise.
  9652. * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
  9653. dir to this.direction.
  9654. * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
  9655. Assign static field only once.
  9656. (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
  9657. 2004-05-03 Mark Wielaard <mark@klomp.org>
  9658. * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
  9659. unused variables hScrollbarHeight and vScrollbarWidth.
  9660. (preferredSize): Likewise.
  9661. * gnu/java/security/provider/DSAParameters.java (engineToString):
  9662. Removed unused call to System.getProperty("line.seperator");
  9663. * java/security/Security.java (loadProviders): Return result.
  9664. 2004-05-03 Tom Tromey <tromey@redhat.com>
  9665. * java/net/URLStreamHandler.java (toExternalForm): Removed
  9666. unused variables.
  9667. unused constructor.
  9668. * java/math/BigDecimal.java (divide): Removed unused variable.
  9669. * java/lang/Throwable.java: Cleaned up imports.
  9670. * java/lang/ClassLoader.java: Cleaned up imports.
  9671. * java/io/FilePermission.java (implies): Removed unused
  9672. variable.
  9673. * java/awt/TextComponent.java: Removed unused import.
  9674. * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
  9675. * gnu/java/util/DoubleEnumeration.java: Removed unused import.
  9676. * gnu/java/text/WordBreakIterator.java: Removed unused import.
  9677. * gnu/java/text/SentenceBreakIterator.java: Removed unused
  9678. import.
  9679. * gnu/java/text/LineBreakIterator.java: Removed unused import.
  9680. * gnu/java/text/CharacterBreakIterator.java: Removed
  9681. unused import.
  9682. * gnu/java/security/provider/DSAKeyPairGenerator.java:
  9683. Cleaned up imports.
  9684. * gnu/java/security/der/DERWriter.java: Cleaned up imports.
  9685. * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
  9686. unused method.
  9687. * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
  9688. * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
  9689. * gnu/java/io/Base64InputStream.java: Cleaned up imports.
  9690. * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
  9691. * gnu/classpath/ServiceFactory.java: Cleaned up imports.
  9692. (lookupProviders): Removed unused variable.
  9693. (loadNextServiceProvider): Likewise.
  9694. * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
  9695. 2004-05-03 Michael Koch <konqueror@gmx.de>
  9696. Fixes PR libgcj/14695:
  9697. * java/net/NetworkInterface.java
  9698. (getByName): Return null when no interface was found.
  9699. 2004-04-30 Ranjit Mathew <rmathew@hotmail.com>
  9700. Tom Tromey <tromey@redhat.com>
  9701. * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
  9702. additional option "-Wmissing-prototypes" for compiling C sources.
  9703. Print actual filename for pass/fail rather than $name.c.
  9704. * testsuite/libjava.jni/PR15133.java: New testcase file.
  9705. * testsuite/libjava.jni/PR15133.c: Likewise.
  9706. * testsuite/libjava.jni/PR15133.out: Likewise.
  9707. 2004-04-30 Roger Sayle <roger@eyesopen.com>
  9708. * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
  9709. ceil and floor.
  9710. 2004-04-25 Ranjit Mathew <rmathew@hotmail.com>
  9711. * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
  9712. limit the maximum heap size to avoid unnecessary thrashing.
  9713. 2004-04-24 Jerry Quinn <jlquinn@optonline.net>
  9714. * java/text/CollationElementIterator.java (reset): Reset
  9715. lookahead variables.
  9716. 2004-04-23 Mark Wielaard <mark@klomp.org>
  9717. * jni/classpath/jcl.c: Changed C++ comments into C comments.
  9718. 2004-04-23 Dalibor Topic <robilad@kaffe.org>
  9719. * java/sql/DriverManager.java:
  9720. Cleaned up imports.
  9721. 2004-04-23 Michael Koch <konqueror@gmx.de>
  9722. * java/net/URL.java
  9723. (hashcode): Don't initialize with default value explicitely.
  9724. (getContent): Removed redundant "final" keyword.
  9725. (openStream): Likewise.
  9726. (getURLStreamHandler): Fixed coding style.
  9727. * java/net/URLConnection.java
  9728. (defaultAllowUserInteraction): Don't initialize with default value
  9729. explicitely.
  9730. (connected): Likewise.
  9731. (doOutput): Likewise.
  9732. (ifModifiedSince): Likewise.
  9733. (dateformats_initialized): Likewise.
  9734. (setURLStreamHander): Use StreamTokenizer where it belongs to.
  9735. 2004-04-23 Michael Koch <konqueror@gmx.de>
  9736. * gnu/java/nio/channels/FileChannelImpl.java
  9737. (SET, CUR): Unused, removed.
  9738. (read): Implement here directly.
  9739. (implRead): Removed.
  9740. (write): Implement here directly.
  9741. (implWrite): Removed.
  9742. 2004-04-23 Dalibor Topic <robilad@kaffe.org>
  9743. * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
  9744. javax/rmi/CORBA/Stub.java,
  9745. javax/rmi/CORBA/Util.java,
  9746. javax/rmi/CORBA/ValueHandler.java,
  9747. javax/rmi/CORBA/ValueHandler.java,
  9748. javax/rmi/PortableRemoteObject.java:
  9749. Cleaned up imports.
  9750. 2004-04-23 Dalibor Topic <robilad@kaffe.org>
  9751. * java/util/jar/JarFile.java,
  9752. java/util/jar/JarInputStream.java,
  9753. java/util/jar/JarOutputStream.java,
  9754. java/util/jar/Manifest.java:
  9755. Cleaned up imports.
  9756. 2004-04-23 Dalibor Topic <robilad@kaffe.org>
  9757. * java/util/ArrayList.java,
  9758. java/util/Calendar.java,
  9759. java/util/Currency.java,
  9760. java/util/HashMap.java,
  9761. java/util/HashSet.java,
  9762. java/util/Hashtable.java,
  9763. java/util/LinkedList.java,
  9764. java/util/Properties.java,
  9765. java/util/PropertyPermission.java,
  9766. java/util/TimeZone.java,
  9767. java/util/TreeMap.java,
  9768. java/util/TreeSet.java,
  9769. java/util/Vector.java,
  9770. java/util/WeakHashMap.java:
  9771. Cleaned up imports.
  9772. 2004-04-23 Dalibor Topic <robilad@kaffe.org>
  9773. * java/util/logging/FileHandler.java,
  9774. java/util/logging/Formatter.java,
  9775. java/util/logging/Handler.java,
  9776. java/util/logging/Logger.java,
  9777. java/util/logging/SimpleFormatter.java,
  9778. java/util/logging/XMLFormatter.java:
  9779. Cleaned up imports.
  9780. 2004-04-22 Mark Wielaard <mark@klomp.org>
  9781. * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
  9782. -Wno-long-long flags variable.
  9783. (gtk_c_files): Use PEDANTIC_CFLAGS.
  9784. * Makefile.in: Regenerated.
  9785. 2004-04-22 Mark Wielaard <mark@klomp.org>
  9786. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
  9787. Changed C++ comments into C comments.
  9788. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
  9789. Likewise.
  9790. 2004-04-22 Michael Koch <konqueror@gmx.de>
  9791. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
  9792. Merged copyright year with GNU classpath.
  9793. 2004-04-22 Dalibor Topic <robilad@kaffe.org>
  9794. * javax/security/auth/x500/X500Principal.java:
  9795. Cleaned up imports.
  9796. 2004-04-22 Dalibor Topic <robilad@kaffe.org>
  9797. * javax/swing/JSlider.java:
  9798. Fixed HTML tags in comments.
  9799. 2004-04-22 Dalibor Topic <robilad@kaffe.org>
  9800. * javax/accessibility/AccessibleText.java:
  9801. Cleaned up imports.
  9802. 2004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
  9803. * java/net/URLStreamHandler.java
  9804. (parseURL): Convert the file path to using '/' instead of native
  9805. file separator.
  9806. 2004-04-22 Guilhem Lavaux <guilhem@kaffe.org>
  9807. * java/net/URL.java
  9808. (userInfo): New field.
  9809. (URL): Set authority to the right value.
  9810. (setURL): Fixed authority and file initialization.
  9811. * java/net/URLStreamHandler.java
  9812. (parseURL): Take care of the query tag. Build authority.
  9813. (toExternalForm): Fixed URL building using authority.
  9814. 2004-04-22 Michael Koch <konqueror@gmx.de>
  9815. * java/net/Socket.java
  9816. (impl): Made package-private.
  9817. * java/net/ServerSocket.java
  9818. (implAccept): Access Socket.impl field directly.
  9819. 2004-04-22 Dalibor Topic <robilad@kaffe.org>
  9820. * java/util/prefs/Preferences.java,
  9821. java/util/prefs/InvalidPreferencesFormatException.java,
  9822. java/util/prefs/BackingStoreException.java,
  9823. java/util/prefs/AbstractPreferences.java:
  9824. Cleaned up imports.
  9825. 2004-04-22 Dalibor Topic <robilad@kaffe.org>
  9826. * java/util/regex/Matcher.java,
  9827. java/util/regex/Pattern.java:
  9828. Cleaned up imports.
  9829. 2004-04-22 Michael Koch <konqueror@gmx.de>
  9830. * java/nio/charset/IllegalCharsetNameException.java
  9831. (charsetName): Made private.
  9832. (IllegalCharsetNameException): Added @param tag to javadoc.
  9833. (getCharsetName): Added @return tag to javadoc.
  9834. * java/nio/charset/MalformedInputException.java
  9835. (MalformedInputException): Added @param tag to javadoc.
  9836. (getInputLength): Revised method description, added @return tag.
  9837. (getMessage): Added @return tag.
  9838. 2004-04-22 Jerry Quinn <jlquinn@optonline.net>
  9839. * java/awt/Font.java (deriveFont): Implement missing variants.
  9840. * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
  9841. missing variants.
  9842. 2004-04-21 Bryce McKinlay <mckinlay@redhat.com>
  9843. * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
  9844. Set method->index values for interface methods to their itable index.
  9845. (initializeClass): Call _Jv_LayoutInterfaceMethods.
  9846. 2004-04-21 Michael Koch <konqueror@gmx.de>
  9847. * java/nio/DirectByteBufferImpl.java
  9848. (shiftDown): Made static, give address as argument and
  9849. provide a convenience method that overwrites shiftDown in
  9850. ByteBufferImpl and calls the native shiftDown.
  9851. * java/nio/MappedByteBufferImpl.java
  9852. (): Use optimized method in DirectByteBufferImpl.
  9853. * java/nio/natDirectByteBufferImpl.cc
  9854. (shiftDown): Changed method signature. Removed usage of array_offset.
  9855. 2004-04-21 Michael Koch <konqueror@gmx.de>
  9856. * gnu/java/net/natPlainSocketImplPosix.cc
  9857. (SocketInputStream::read): Make sure returned data is a byte value.
  9858. 2004-04-21 Michael Koch <konqueror@gmx.de>
  9859. * gnu/classpath/ServiceFactory.java,
  9860. gnu/classpath/ServiceProviderLoadingAction.java,
  9861. javax/imageio/ImageReader.java,
  9862. javax/imageio/ImageTranscoder.java,
  9863. javax/imageio/ImageWriter.java,
  9864. javax/imageio/package.html,
  9865. javax/imageio/spi/IIOServiceProvider.java,
  9866. javax/imageio/spi/ImageInputStreamSpi.java,
  9867. javax/imageio/spi/ImageOutputStreamSpi.java,
  9868. javax/imageio/spi/ImageReaderWriterSpi.java,
  9869. javax/imageio/spi/ImageTranscoderSpi.java,
  9870. javax/imageio/spi/RegisterableService.java,
  9871. javax/imageio/spi/ServiceRegistry.java,
  9872. javax/imageio/spi/package.html,
  9873. javax/imageio/stream/IIOByteBuffer.java,
  9874. javax/imageio/stream/ImageInputStream.java,
  9875. javax/imageio/stream/ImageOutputStream.java,
  9876. javax/imageio/stream/package.html:
  9877. New files.
  9878. * Makefile.am
  9879. (ordinary_java_source_files): Added
  9880. gnu/classpath/ServiceFactory.java and
  9881. gnu/classpath/ServiceProviderLoadingAction.java.
  9882. (javax_source_files): Added
  9883. javax/imageio/ImageReader.java,
  9884. javax/imageio/ImageTranscoder.java,
  9885. javax/imageio/ImageWriter.java,
  9886. javax/imageio/spi/IIOServiceProvider.java,
  9887. javax/imageio/spi/ImageInputStreamSpi.java,
  9888. javax/imageio/spi/ImageOutputStreamSpi.java,
  9889. javax/imageio/spi/ImageReaderWriterSpi.java,
  9890. javax/imageio/spi/ImageTranscoderSpi.java,
  9891. javax/imageio/spi/RegisterableService.java,
  9892. javax/imageio/spi/ServiceRegistry.java,
  9893. javax/imageio/stream/IIOByteBuffer.java,
  9894. javax/imageio/stream/ImageInputStream.java and
  9895. javax/imageio/stream/ImageOutputStream.java.
  9896. * Makefile.in: Regenerated.
  9897. 2004-04-21 Michael Koch <konqueror@gmx.de>
  9898. * java/util/Properties.java
  9899. (load): Fix wrongly merged fix.
  9900. 2004-04-21 Mark Wielaard <mark@klomp.org>
  9901. * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
  9902. malloc and free buf.
  9903. 2004-04-21 Dalibor Topic <robilad@kaffe.org>
  9904. * javax/naming/AuthenticationException.java,
  9905. javax/naming/AuthenticationNotSupportedException.java,
  9906. javax/naming/CannotProceedException.java,
  9907. javax/naming/CommunicationException.java,
  9908. javax/naming/CompoundName.java,
  9909. javax/naming/ConfigurationException.java,
  9910. javax/naming/ContextNotEmptyException.java,
  9911. javax/naming/InitialContext.java,
  9912. javax/naming/InsufficientResourcesException.java,
  9913. javax/naming/InterruptedNamingException.java,
  9914. javax/naming/LimitExceededException.java,
  9915. javax/naming/LinkException.java,
  9916. javax/naming/LinkLoopException.java,
  9917. javax/naming/LinkRef.java,
  9918. javax/naming/MalformedLinkException.java,
  9919. javax/naming/Name.java,
  9920. javax/naming/NameAlreadyBoundException.java,
  9921. javax/naming/NameNotFoundException.java,
  9922. javax/naming/NamingSecurityException.java,
  9923. javax/naming/NoInitialContextException.java,
  9924. javax/naming/NoPermissionException.java,
  9925. javax/naming/NotContextException.java,
  9926. javax/naming/PartialResultException.java,
  9927. javax/naming/ReferralException.java,
  9928. javax/naming/ServiceUnavailableException.java,
  9929. javax/naming/SizeLimitExceededException.java,
  9930. javax/naming/TimeLimitExceededException.java,
  9931. javax/naming/directory/Attribute.java,
  9932. javax/naming/directory/Attributes.java,
  9933. javax/naming/directory/SearchResult.java,
  9934. javax/naming/event/NamingExceptionEvent.java,
  9935. javax/naming/spi/ResolveResult.java:
  9936. Cleaned up imports.
  9937. 2004-04-21 Mark Wielaard <mark@klomp.org>
  9938. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
  9939. Changed C++ comments into C comments. Removed commented out code.
  9940. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
  9941. Likewise.
  9942. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
  9943. Likewise.
  9944. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
  9945. Likewise.
  9946. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
  9947. Likewise.
  9948. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
  9949. Likewise.
  9950. * native/jni/gtk-peer/gthread-jni.c:
  9951. Likewise.
  9952. 2004-04-21 Mark Wielaard <mark@klomp.org>
  9953. * javax/awt/JFrame.java: Implement WindowConstants. Remove final
  9954. static fields defined in interface.
  9955. * javax/awt/JDialog.java: Likewise.
  9956. (JDialog): Make constructors public.
  9957. (getDefaultCloseOperation): Make public.
  9958. (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
  9959. (setDefaultCloseOperation): Make public. Check argument. Add API doc.
  9960. * javax/swing/JViewport.java (JViewport): Make constructor public.
  9961. 2004-04-21 Michael Koch <konqueror@gmx.de>
  9962. * java/util/Map.java
  9963. (Entry): Removed redundant "static" modifier.
  9964. * java/text/AttributedCharacterIterator.java:
  9965. Updated copyright year.
  9966. 2004-04-20 Michael Koch <konqueror@gmx.de>
  9967. * javax/naming/directory/SearchControls.java:
  9968. Don't explicitely extend java.lang.Object.
  9969. * javax/naming/spi/DirStateFactory.java:
  9970. Merged copyright year with GNU classpath.
  9971. 2004-04-20 Michael Koch <konqueror@gmx.de>
  9972. * java/nio/channels/Channels.java:
  9973. Merged coding style with GNU classpath.
  9974. 2004-04-20 Michael Koch <konqueror@gmx.de>
  9975. * java/net/ServerSocket.java
  9976. Merged coding style from GNU classpath.
  9977. 2004-04-20 Michael Koch <konqueror@gmx.de>
  9978. * java/io/BufferedWriter.java:
  9979. Reordered variables to be at top of the class.
  9980. (localFlush): Removed redundant final keyword.
  9981. 2004-04-20 Ingo Proetel <proetel@aicas.com>
  9982. * java/awt/event/MouseEvent.java (<init>): fixed field assignment
  9983. 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
  9984. * java/text/DecimalFormat.java (scanFix): Removed suffix check
  9985. for percent and permill check.
  9986. 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
  9987. * java/text/FieldPosition.java
  9988. (FieldPosition) Constructor now behaves as it should according
  9989. to the java documentation.
  9990. 2004-04-20 Mark Wielaard <mark@klomp.org>
  9991. * java/util/Properties.java: Use the word umlaut, not &auml; in api
  9992. documentation.
  9993. 2004-04-20 Michael Koch <konqueror@gmx.de>
  9994. * java/nio/Buffer.java,
  9995. java/nio/channels/AlreadyConnectedException.java,
  9996. java/nio/channels/AsynchronousCloseException.java,
  9997. java/nio/channels/ByteChannel.java,
  9998. java/nio/channels/CancelledKeyException.java,
  9999. java/nio/channels/Channel.java,
  10000. java/nio/channels/Channels.java,
  10001. java/nio/channels/ClosedByInterruptException.java,
  10002. java/nio/channels/ClosedChannelException.java,
  10003. java/nio/channels/ClosedSelectorException.java,
  10004. java/nio/channels/ConnectionPendingException.java,
  10005. java/nio/channels/DatagramChannel.java,
  10006. java/nio/channels/FileChannel.java,
  10007. java/nio/channels/FileLock.java,
  10008. java/nio/channels/FileLockInterruptionException.java,
  10009. java/nio/channels/GatheringByteChannel.java,
  10010. java/nio/channels/IllegalBlockingModeException.java,
  10011. java/nio/channels/IllegalSelectorException.java,
  10012. java/nio/channels/InterruptibleChannel.java,
  10013. java/nio/channels/NoConnectionPendingException.java,
  10014. java/nio/channels/NonReadableChannelException.java,
  10015. java/nio/channels/NonWritableChannelException.java,
  10016. java/nio/channels/NotYetBoundException.java,
  10017. java/nio/channels/NotYetConnectedException.java,
  10018. java/nio/channels/OverlappingFileLockException.java,
  10019. java/nio/channels/Pipe.java,
  10020. java/nio/channels/ReadableByteChannel.java,
  10021. java/nio/channels/ScatteringByteChannel.java,
  10022. java/nio/channels/SelectableChannel.java,
  10023. java/nio/channels/SelectionKey.java,
  10024. java/nio/channels/Selector.java,
  10025. java/nio/channels/ServerSocketChannel.java,
  10026. java/nio/channels/SocketChannel.java,
  10027. java/nio/channels/UnresolvedAddressException.java,
  10028. java/nio/channels/UnsupportedAddressTypeException.java,
  10029. java/nio/channels/WritableByteChannel.java,
  10030. java/nio/channels/spi/AbstractInterruptibleChannel.java,
  10031. java/nio/channels/spi/AbstractSelectableChannel.java,
  10032. java/nio/channels/spi/AbstractSelectionKey.java,
  10033. java/nio/channels/spi/AbstractSelector.java,
  10034. java/nio/channels/spi/SelectorProvider.java,
  10035. java/nio/charset/spi/CharsetProvider.java:
  10036. Fixed javadocs and jalopied all over java.nio.
  10037. 2004-04-20 Michael Koch <konqueror@gmx.de>
  10038. * java/nio/ByteBufferImpl.java,
  10039. java/nio/CharBufferImpl.java,
  10040. java/nio/DirectByteBufferImpl.java,
  10041. java/nio/DoubleBufferImpl.java,
  10042. java/nio/DoubleViewBufferImpl.java,
  10043. java/nio/FloatBufferImpl.java,
  10044. java/nio/FloatViewBufferImpl.java,
  10045. java/nio/IntBufferImpl.java,
  10046. java/nio/IntViewBufferImpl.java,
  10047. java/nio/LongBufferImpl.java,
  10048. java/nio/LongViewBufferImpl.java,
  10049. java/nio/MappedByteBufferImpl.java,
  10050. java/nio/ShortBufferImpl.java,
  10051. java/nio/ShortViewBufferImpl.java:
  10052. Made sure all classes are final and removed final keyword from all
  10053. methods.
  10054. 2004-04-20 Michael Koch <konqueror@gmx.de>
  10055. * java/rmi/MarshalledObject.java,
  10056. java/rmi/Naming.java,
  10057. java/rmi/RemoteException.java,
  10058. java/rmi/activation/ActivationException.java,
  10059. java/rmi/server/ServerCloneException.java,
  10060. java/security/AccessController.java,
  10061. java/security/AlgorithmParameterGenerator.java,
  10062. java/security/AlgorithmParameters.java,
  10063. java/security/CodeSource.java,
  10064. java/security/Identity.java,
  10065. java/security/IdentityScope.java,
  10066. java/security/KeyPairGenerator.java,
  10067. java/security/KeyStore.java,
  10068. java/security/Security.java,
  10069. java/security/Signature.java,
  10070. java/security/SignatureSpi.java,
  10071. java/security/SignedObject.java,
  10072. java/security/spec/DSAParameterSpec.java,
  10073. java/security/spec/DSAPrivateKeySpec.java,
  10074. java/security/spec/DSAPublicKeySpec.java,
  10075. java/sql/Array.java,
  10076. java/sql/DatabaseMetaData.java,
  10077. java/sql/ResultSet.java,
  10078. java/text/ChoiceFormat.java,
  10079. java/text/CollationElementIterator.java,
  10080. java/text/CollationKey.java,
  10081. java/text/Collator.java,
  10082. java/text/DateFormat.java,
  10083. java/text/DateFormatSymbols.java,
  10084. java/text/DecimalFormatSymbols.java,
  10085. java/text/Format.java,
  10086. java/text/ParsePosition.java,
  10087. java/text/RuleBasedCollator.java,
  10088. java/text/SimpleDateFormat.java,
  10089. java/text/StringCharacterIterator.java,
  10090. java/util/Collections.java,
  10091. java/util/PropertyResourceBundle.java,
  10092. java/util/ResourceBundle.java,
  10093. java/util/StringTokenizer.java,
  10094. java/util/jar/Attributes.java,
  10095. java/util/logging/ConsoleHandler.java,
  10096. java/util/logging/LogManager.java,
  10097. java/util/logging/MemoryHandler.java,
  10098. java/util/logging/SocketHandler.java,
  10099. javax/naming/NamingException.java:
  10100. Fixed javadoc, coding style and argument names all over.
  10101. 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
  10102. * java/io/FileDescriptor.java: (FileDescriptor) Added public
  10103. constructor. (valid) Added null check.
  10104. 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
  10105. Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
  10106. * java/io/FileOutputStream.java
  10107. (FileOutputStream) Reorganized constructors. Constructors now
  10108. check whether the given path is directory.
  10109. 2004-04-20 Michael Koch <konqueror@gmx.de>
  10110. * java/net/Authenticator.java,
  10111. java/net/BindException.java,
  10112. java/net/ConnectException.java,
  10113. java/net/ContentHandler.java,
  10114. java/net/ContentHandlerFactory.java,
  10115. java/net/DatagramPacket.java,
  10116. java/net/DatagramSocket.java,
  10117. java/net/DatagramSocketImpl.java,
  10118. java/net/DatagramSocketImplFactory.java,
  10119. java/net/FileNameMap.java,
  10120. java/net/HttpURLConnection.java,
  10121. java/net/Inet4Address.java,
  10122. java/net/Inet6Address.java,
  10123. java/net/InetAddress.java,
  10124. java/net/InetSocketAddress.java,
  10125. java/net/JarURLConnection.java,
  10126. java/net/MalformedURLException.java,
  10127. java/net/MulticastSocket.java,
  10128. java/net/NetPermission.java,
  10129. java/net/NetworkInterface.java,
  10130. java/net/NoRouteToHostException.java,
  10131. java/net/PasswordAuthentication.java,
  10132. java/net/PortUnreachableException.java,
  10133. java/net/ProtocolException.java,
  10134. java/net/ServerSocket.java,
  10135. java/net/Socket.java,
  10136. java/net/SocketAddress.java,
  10137. java/net/SocketException.java,
  10138. java/net/SocketImpl.java,
  10139. java/net/SocketImplFactory.java,
  10140. java/net/SocketOptions.java,
  10141. java/net/SocketPermission.java,
  10142. java/net/SocketTimeoutException.java,
  10143. java/net/URI.java,
  10144. java/net/URISyntaxException.java,
  10145. java/net/URL.java,
  10146. java/net/URLClassLoader.java,
  10147. java/net/URLConnection.java,
  10148. java/net/URLDecoder.java,
  10149. java/net/URLEncoder.java,
  10150. java/net/URLStreamHandler.java,
  10151. java/net/URLStreamHandlerFactory.java,
  10152. java/net/UnknownHostException.java,
  10153. java/net/UnknownServiceException.java:
  10154. Fixed javadocs, coding style and argument names all over.
  10155. 2004-04-20 Michael Koch <konqueror@gmx.de>
  10156. * java/lang/Byte.java,
  10157. java/lang/CharSequence.java,
  10158. java/lang/ClassLoader.java,
  10159. java/lang/Compiler.java,
  10160. java/lang/Double.java,
  10161. java/lang/Float.java,
  10162. java/lang/Integer.java,
  10163. java/lang/Long.java,
  10164. java/lang/Math.java,
  10165. java/lang/Number.java,
  10166. java/lang/Package.java,
  10167. java/lang/Runtime.java,
  10168. java/lang/RuntimePermission.java,
  10169. java/lang/SecurityManager.java,
  10170. java/lang/Short.java,
  10171. java/lang/StringBuffer.java,
  10172. java/lang/System.java,
  10173. java/lang/ThreadGroup.java,
  10174. java/lang/Throwable.java,
  10175. java/lang/reflect/InvocationHandler.java,
  10176. java/lang/reflect/Proxy.java:
  10177. Fixed javadocs, coding style and argument names all over.
  10178. 2004-04-20 Michael Koch <konqueror@gmx.de>
  10179. * java/io/BufferedWriter.java,
  10180. java/io/ByteArrayInputStream.java,
  10181. java/io/CharArrayWriter.java,
  10182. java/io/DataInput.java,
  10183. java/io/DataInputStream.java,
  10184. java/io/File.java,
  10185. java/io/FilterInputStream.java,
  10186. java/io/InputStream.java,
  10187. java/io/InputStreamReader.java,
  10188. java/io/ObjectInputStream.java,
  10189. java/io/ObjectStreamClass.java,
  10190. java/io/PipedInputStream.java,
  10191. java/io/PipedReader.java,
  10192. java/io/PushbackInputStream.java,
  10193. java/io/PushbackReader.java,
  10194. java/io/RandomAccessFile.java,
  10195. java/io/SerializablePermission.java,
  10196. java/io/StreamTokenizer.java,
  10197. java/io/StringWriter.java,
  10198. java/io/WriteAbortedException.java,
  10199. java/io/Writer.java:
  10200. Fixed javadocs all over, rename arguments to match javadocs,
  10201. fixed coding style.
  10202. 2004-04-20 Ingo Proetel <proetel@aicas.com>
  10203. * java/awt/FontMetrics.java:
  10204. (charsWidth): fixed accumulation of total_width
  10205. (getWidth): simple default implementation
  10206. * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
  10207. in Rectangle constructor.
  10208. * java/awt/image/Raster.java (toString): Added method.
  10209. * java/awt/image/SampleModel.java (<init>): Added error cause
  10210. information to thrown exception.
  10211. * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
  10212. New method.
  10213. (setDataElements): New method.
  10214. (setPixels): New method.
  10215. (toString): New method.
  10216. 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
  10217. * java/awt/image/ComponentColorModel.java
  10218. (createCompatibleSampleModel): Return PixelInterleavedSampleModel
  10219. for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
  10220. Mauve tests on this method. Improved documentation.
  10221. 2004-04-20 Michael Koch <konqueror@gmx.de>
  10222. * javax/swing/JLayeredPane.java,
  10223. javax/swing/plaf/BorderUIResource.java,
  10224. javax/swing/plaf/ComponentUI.java,
  10225. javax/swing/undo/CompoundEdit.java,
  10226. javax/swing/undo/StateEdit.java:
  10227. Fixed HTML tags in javadocs all over.
  10228. 2004-04-20 Michael Koch <konqueror@gmx.de>
  10229. * javax/print/attribute/EnumSyntax.java
  10230. (getOffset): Made protected.
  10231. * javax/print/attribute/HashAttributeSet.java
  10232. (HashAttributeSet): Likewise.
  10233. * javax/print/attribute/ResolutionSyntax.java
  10234. (getFeedResolution): Fixed typo in exception name.
  10235. (getCrossFeedResolution): Likewise.
  10236. * javax/print/attribute/SetOfIntegerSyntax.java
  10237. (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
  10238. * javax/print/attribute/TextSyntax.java
  10239. (TextSyntax): Handle locale correctly.
  10240. (hashCode): Calc better hashcode value.
  10241. (equals): Fixed @return tag.
  10242. (toString): New method.
  10243. 2004-04-20 Michael Koch <konqueror@gmx.de>
  10244. * gnu/java/nio/FileLockImpl.java
  10245. (static): Removed, not needed anymore.
  10246. * gnu/java/nio/channels/FileChannelImpl.java
  10247. (FileChannelImpl): Made final.
  10248. (mode): Made private.
  10249. (READ, WRITE, APPEND): Made public.
  10250. (EXCL, SYNC, DSYNC): Likewise.
  10251. (static): Load native JNI library, when needed.
  10252. (length): Unused, removed.
  10253. (available): Made public.
  10254. (implPosition): Throws IOException.
  10255. (seek): Likewise.
  10256. (implTruncate): Likewise.
  10257. (unlock): Likewise.
  10258. (lock): Likewise.
  10259. 2004-04-20 Michael Koch <konqueror@gmx.de>
  10260. * java/awt/AWTPermission.java,
  10261. java/awt/Component.java,
  10262. java/awt/ComponentOrientation.java,,
  10263. java/awt/Dialog.java,
  10264. java/awt/FontMetrics.java,
  10265. java/awt/Graphics.java,
  10266. java/awt/datatransfer/DataFlavor.java,
  10267. java/beans/Introspector.java,
  10268. java/beans/PropertyEditor.java,
  10269. java/beans/PropertyEditorManager.java,
  10270. java/beans/beancontext/BeanContextServiceProvider.java:
  10271. Fixed HTML tags in javadocs all over.
  10272. 2004-04-20 Mark Wielaard <mark@klomp.org>
  10273. * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
  10274. MissingResourceException is thrown.
  10275. * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
  10276. null when a MissingResourceException is thrown. Should never happen.
  10277. 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
  10278. * java/awt/image/DataBufferShort.java,
  10279. java/awt/image/DataBufferFloat.java,
  10280. java/awt/image/DataBufferDouble.java,
  10281. java/awt/image/PixelInterleavedSampleModel.java: New files.
  10282. * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
  10283. getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
  10284. 2004-04-20 Michael Koch <konqueror@gmx.de>
  10285. * Makefile.am (java_source_files): Added
  10286. java/awt/image/DataBufferDouble.java,
  10287. java/awt/image/DataBufferFloat.java,
  10288. java/awt/image/DataBufferShort.java and
  10289. java/awt/image/PixelInterleavedSampleModel.java.
  10290. * Makefile.in: Regenerated.
  10291. 2004-04-19 Bryce McKinlay <mckinlay@redhat.com>
  10292. * gcj/cni.h (JvAllocObject): Remove these obsolete,
  10293. undocumented CNI calls.
  10294. * include/java-interp.h (_Jv_InterpClass): No longer
  10295. extends java.lang.Class.
  10296. * java/lang/Class.h (Class): Add new field `aux_info'.
  10297. * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
  10298. * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
  10299. Use Class->aux_info instead.
  10300. * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
  10301. * resolve.cc: Remove Class<->_Jv_InterpClass casts.
  10302. Use Class->aux_info instead.
  10303. * java/io/natObjectInputStream.cc (allocateObject): Use
  10304. _Jv_AllocObject.
  10305. * java/lang/natClass.cc (newInstance): Likewise.
  10306. * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
  10307. * java/lang/natObject.cc (clone): Likewise.
  10308. * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
  10309. * java/lang/natVMClassLoader.cc (defineClass): Don't use
  10310. JvAllocObject. Allocate klass->aux_info here for interpreted
  10311. class.
  10312. 2004-04-17 Mark Wielaard <mark@klomp.org>
  10313. * javax/swing/JToggleButton.java (ToggleButtonModel):
  10314. Make public static inner class.
  10315. * javax/swing/JTabbedPane.java (setComponentAt):
  10316. Call Page.setComponent().
  10317. (SCROLL_TAB_LAYOUT): Make public, value is 1.
  10318. (WRAP_TAB_LAYOUT): Make public, value is 0.
  10319. * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
  10320. Make private static inner class.
  10321. 2004-04-16 Bryce McKinlay <mckinlay@redhat.com>
  10322. * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
  10323. arguments to match new signature. Remove FIXME comments.
  10324. 2004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com>
  10325. * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
  10326. Remove method.
  10327. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
  10328. unused code.
  10329. 2004-04-02 Olga Rodimina <rodimina@redhat.com>
  10330. * Makefile.am: Added new file.
  10331. * Makefile.in: Regenerate.
  10332. * javax/swing/ImageIcon.java:
  10333. (ImageIcon(file)): set description of the icon
  10334. to the file name
  10335. * javax/swing/JCheckBoxMenuItem.java:
  10336. Mostly Implemented. Work in progress.
  10337. * javax/swing/JRadioButtonMenuItem.java:
  10338. Reimplement constructors to use JToggleButtonModel.
  10339. * javax/swing/plaf/basic/BasicIconFactory.java:
  10340. (getCheckBoxMenuItemIcon): return check box
  10341. icon.
  10342. * javax/swing/plaf/basic/BasicMenuItemUI.java:
  10343. paint menu item selected only when it is armed and
  10344. pressed.
  10345. 2004-04-02 David Jee <djee@redhat.com>
  10346. * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
  10347. (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
  10348. * java/awt/Component.java
  10349. (add): Set the parent of the popup as this component.
  10350. * java/awt/PopupMenu.java
  10351. (addNotify): Create popup menu when peer is null.
  10352. (show): Call addNotify() if peer is null.
  10353. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
  10354. (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
  10355. argument for gtk_menu_popup() as zero. This causes the popup menu to
  10356. respond to any mouse button.
  10357. 2004-03-31 Olga Rodimina <rodimina@redhat.com>
  10358. * Makefile.am: Added new file.
  10359. * Makefile.in: Regenerate.
  10360. * javax/swing/JRadioButtonMenuItem.java:
  10361. Implemented.
  10362. * javax/swing/plaf/basic/BasicIconFactory.java:
  10363. (getRadioButtonMenuItemIcon): Return
  10364. radio button icon.
  10365. * javax/swing/plaf/basic/BasicMenuItemUI.java:
  10366. (getPreferredSize): Add size of checkIcon if it
  10367. exists.
  10368. (installDefaults): Don't initialize checkIcon.
  10369. It's value will be set in subclasses.
  10370. (uninstallDefaults): remove uninstallation of
  10371. checkIcon.
  10372. (paint): Moved code to paintMenuItem().
  10373. (paintMenuItem): Implemented.
  10374. * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
  10375. UI delegate for JRadioButtonMenuItem.
  10376. 2004-03-29 Olga Rodimina <rodimina@redhat.com>
  10377. * javax/swing/plaf/basic/BasicMenuItemUI.java:
  10378. Corrected position of the accelerator.
  10379. 2004-03-29 Olga Rodimina <rodimina@redhat.com>
  10380. * Makefile.am: Added new file.
  10381. * Makefile.in: Regenerate.
  10382. * javax/swing/JMenuItem.java: Partly
  10383. implemented. Work in progress
  10384. * javax/swing/plaf/basic/BasicLookAndFeel.java:
  10385. Changed default value of acceleratorDelimiter.
  10386. * javax/swing/plaf/basic/BasicMenuItemUI.java:
  10387. New class. Partly implemented.
  10388. 2004-03-26 Mark Wielaard <mark@klomp.org>
  10389. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
  10390. (item_activate): Declare label before use.
  10391. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
  10392. (gtkSetFont): Removed unused variable label.
  10393. (addExposeFilter): Declare variables before use.
  10394. (removeExposeFilter): Likewise.
  10395. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
  10396. (ok_clicked): Declare str_fileName before use.
  10397. 2004-03-26 David Jee <djee@redhat.com>
  10398. * gnu/java/awt/peer/gtk/GtkMenuPeer.java
  10399. (addSeparator): Remove.
  10400. * java/awt/Menu.java
  10401. (separator): Remove static final MenuItem field.
  10402. (separatorLabel): New static final String field.
  10403. (addSeparator): Do not use peer method; use add(MenuItem) instead.
  10404. Use separatorLabel to denote that it is a separator.
  10405. (insertSeparator): Create a new MenuItem with separatorLabel, instead
  10406. of reusing the static separator instance, because a MenuItem instance
  10407. can't be added more than once without being cloned.
  10408. * java/awt/peer/MenuPeer.java
  10409. (addSeparator): Remove from interface.
  10410. 2004-03-26 David Jee <djee@redhat.com>
  10411. * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
  10412. (connectSignals): New native method declaration.
  10413. (GtkMenuItemPeer): Connect signals if the parent is a Menu.
  10414. * java/awt/MenuItem.java
  10415. (getActionCommand): Return the label if the action command is not set.
  10416. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
  10417. (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
  10418. gtk_menu_shell_append().
  10419. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
  10420. (item_activate): Fix argument type.
  10421. (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
  10422. signal here.
  10423. (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
  10424. method.
  10425. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
  10426. (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
  10427. given. Add the menu widget's top-level GtkWindow to the global window
  10428. group, so it can grab the pointer.
  10429. (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
  10430. gtk_menu_shell_append().
  10431. 2004-03-23 Graydon Hoare <graydon@redhat.com>
  10432. * java/text/AttributedString.java
  10433. (addAttribute): Fix off-by-one.
  10434. (getIterator): Likewise.
  10435. * java/text/AttributedStringIterator.java
  10436. (getRunLimit): Correct logic.
  10437. (getRunStart): Likewise.
  10438. (getAttribute): Fix inequality.
  10439. (getAttributes): Likewise.
  10440. * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
  10441. 2004-03-23 Kim Ho <kho@redhat.com>
  10442. * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
  10443. (calculateSizes): Return real width and height.
  10444. 2004-03-23 Kim Ho <kho@redhat.com>
  10445. * javax/swing/plaf/basic/BasicTabbedPaneUI.java
  10446. (calculateTabRects): Set the selectedRun before
  10447. trying to rotate tabs.
  10448. 2004-03-23 Kim Ho <kho@redhat.com>
  10449. * Makefile.am: New file
  10450. * Makefile.in: Regenerate
  10451. * java/awt/Graphics.java: (drawRect):
  10452. Draw to the correct point.
  10453. * javax/swing/DefaultSingleSelectionModel.java
  10454. (isSelected): Return true if the selected index
  10455. is not -1.
  10456. * javax/swing/JLabel.java: Do not change mnemonic
  10457. index if text is null.
  10458. * javax/swing/JProgressBar.java: Use JComponent's
  10459. EventListenerList.
  10460. * javax/swing/JScrollBar.java: Ditto.
  10461. * javax/swing/JSlider.java: Ditto.
  10462. * javax/swing/JTabbedPane.java: Reimplement.
  10463. * javax/swing/plaf/basic/BasicLookAndFeel.java:
  10464. Add defaults for TabbedPane.
  10465. * javax/swing/plaf/basic/BasicArrowButton.java:
  10466. Implement
  10467. * javax/swing/plaf/basic/BasicProgressBarUI.java:
  10468. (paintDeterminate): Don't paint String if it's
  10469. empty.
  10470. (paintIndeterminate): ditto.
  10471. * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
  10472. Reimplement.
  10473. 2004-03-19 Michael Koch <konqueror@gmx.de>
  10474. * java/awt/image/AffineTransformOp.java
  10475. (AffineTransformOp): Made public.
  10476. * javax/swing/JComponent.java
  10477. (listenerList): Made protected.
  10478. (accessibleContext): Likewise.
  10479. * javax/swing/JList.java
  10480. (valueChanged): Dont use internal fields of ListSelectionEvent.
  10481. * javax/swing/JViewport.java
  10482. (getView): Dont use internal fields of Component.
  10483. (addImpl): Likewise.
  10484. * javax/swing/Timer.java
  10485. (isRunning): Made public.
  10486. (start): Likewise.
  10487. (stop): Likewise.
  10488. * javax/swing/UIDefaults.java
  10489. (getInt): Made public.
  10490. * javax/swing/plaf/basic/BasicListUI.java
  10491. (mousePressed): Dont use internal fields of MouseEvent.
  10492. (propertyChanged): Dont use internal fields of PropertyChangeEvent.
  10493. * javax/swing/plaf/basic/BasicScrollBarUI.java
  10494. (arrowIcon): Made static.
  10495. * javax/swing/plaf/basic/BasicViewportUI.java
  10496. (stateChanged): Dont use internal field on ChangeEvent.
  10497. * javax/swing/text/JTextComponent.java
  10498. (getUI): Call UIManager.getUI().
  10499. (updateUI): Use getUI().
  10500. 2004-03-19 Graydon Hoare <graydon@redhat.com>
  10501. * javax/swing/JComponent.java: Turn off double buffer by default.
  10502. * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
  10503. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
  10504. (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
  10505. Use cairo to copy areas.
  10506. (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
  10507. Initialize and set clip region.
  10508. 2004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
  10509. * java/applet/Applet.java (preferredSize): Override deprecated
  10510. variant of getPreferredSize.
  10511. (minimumSize): Override deprecated variant of getMinimumSize.
  10512. 2004-03-15 Olga Rodimina <rodimina@redhat.com>
  10513. * gnu/java/awt/peer/gtk/GdkGraphics2D.java
  10514. (drawImage(img,xform,bgcolor,obs)): New Method.
  10515. Helper function that every drawImage method will
  10516. use.
  10517. (drawRaster): Added new parameter, bgcolor. All
  10518. transparent pixels are changed to bgcolor before
  10519. image is drawn.
  10520. (drawRenderedImage): Fixed to use changed drawRaster().
  10521. (drawImage(image,xform,obs): Fixed to use new helper function
  10522. (drawImage(image,op,x,y)): Ditto.
  10523. (drawImage (img,x,y,observer)): Ditto.
  10524. ((PainterThread) bgcolor): New Field.
  10525. ((PainterThread) (setPixels)): Changed all transparent pixels
  10526. to bgcolor.
  10527. (drawImage(img,x,y,width,height,bgcolor,observer)):
  10528. Fixed FIXME - all the transparent pixels are
  10529. changed to the specified bgcolor.
  10530. (drawImage(img, x, y, width, height, observer): Changed to
  10531. use function above.
  10532. (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
  10533. Fixed FIXME- changed all transparent pixels to bgcolor.
  10534. (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
  10535. Changed to use function above.
  10536. 2004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com>
  10537. * java/applet/Applet.java (dimensions): New field.
  10538. (getDimensions): New method.
  10539. (getPreferredSize): Call getDimensions.
  10540. (getMinimumSize): Likewise.
  10541. 2004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
  10542. * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
  10543. * jni/classpath/jnilink.c: Likewise.
  10544. * java/applet/Applet.java (getPreferredSize): New method.
  10545. (getMinimumSize): New method.
  10546. 2004-04-15 Bryce McKinlay <mckinlay@redhat.com>
  10547. * prims.cc (_Jv_AllocObject): Remove `size' argument.
  10548. (_Jv_AllocObjectNoFinalizer): Likewise.
  10549. (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
  10550. (_Jv_AllocPtrFreeObject): Likewise.
  10551. (_Jv_AllocString): Moved from natString.cc. Call collector interface
  10552. directly even in the JVMPI case.
  10553. * gcj/cni.h (JvAllocObject): Remove `size' argument from
  10554. _Jv_AllocObject calls.
  10555. * gcj/javaprims.h: Update prototypes.
  10556. * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
  10557. * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
  10558. * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
  10559. 2004-04-14 Andrew Haley <aph@redhat.com>
  10560. Bryce McKinlay <mckinlay@redhat.com>
  10561. * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
  10562. _Jv_LookupInterfaceMethodIdx for calls to interfaces.
  10563. * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
  10564. * testsuite/libjava.lang/InvokeInterface.java: New file.
  10565. * testsuite/libjava.lang/InvokeInterface.out: New file.
  10566. 2004-04-09 Ranjit Mathew <rmathew@hotmail.com>
  10567. * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
  10568. modified lookup().
  10569. * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
  10570. StackTraceElement directly.
  10571. (newElement): New native helper method to create StackTraceElement
  10572. bypassing Java access control.
  10573. (createStackTraceElement): Use newElement() instead of directly
  10574. calling StackTraceElement's constructor.
  10575. * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
  10576. 2004-04-01 Michael Koch <konqueror@gmx.de>
  10577. * java/lang/SecurityManager.java
  10578. (checkAwtEventQueueAccess): Implemented.
  10579. 2004-04-01 Gary Benson <gbenson@redhat.com>
  10580. * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
  10581. (_Jv_SearchMethodInClass): Likewise.
  10582. 2004-03-26 Peter Moon <peterm@miraculum.com>
  10583. * java/text/NumberFormat.java: Fix spelling of setCurrency
  10584. method.
  10585. 2004-03-21 Anthony Green <green@redhat.com>
  10586. * java/lang/natClass.cc (getClassLoader): Circumvent infinite
  10587. recursion when searching for the system ClassLoader.
  10588. 2004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
  10589. * java/net/ServerSocket.java
  10590. (accept): Close the socket when error occured.
  10591. 2004-03-21 Jeroen Frijters <jeroen@frijters.net>
  10592. * java/net/URI.java (parseURI): Added unquoting.
  10593. (unquote): New method.
  10594. (quoteAuthority): Implemented.
  10595. (quote(String,String)): New method.
  10596. (quotePath): Implemented.
  10597. (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
  10598. (getSchemeSpecificPart): Removed FIXME comment.
  10599. (getRawAuthority): Return new rawAuthority field.
  10600. (getAuthority): Removed FIXME comment.
  10601. (getRawUserInfo): Return new rawUserInfo field.
  10602. (getUserInfo): Removed FIXME comment.
  10603. (getRawPath): Return new rawPath field.
  10604. (getPath): Removed FIXME comment.
  10605. (getRawQuery): Return new rawQuery field.
  10606. (getQuery): Removed FIXME comment.
  10607. (getRawFragment): Return new rawFragment field.
  10608. (getFragment): Removed FIXME comment.
  10609. 2004-03-20 Michael Koch <konqueror@gmx.de>
  10610. * java/net/URLConnection.java: Merged copyright year with classpath.
  10611. 2004-03-20 Norbert Frese <postfach@nfrese.net>
  10612. * gnu/java/rmi/server/RMIIncomingThread.java: New file.
  10613. * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
  10614. Create a new RMIObjectOuputStream/RMIObjectInputStream for every
  10615. rmi-message.
  10616. (getObjectInputStream): Return object reference, throw IOException if null.
  10617. (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
  10618. (getObjectOutputStream): Return object reference, throw IOException if null.
  10619. (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
  10620. * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
  10621. (UnicastConnectionManager): Throw RemoteException if port is not available.
  10622. (getInstance): Throw RemoteException.
  10623. (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
  10624. * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
  10625. Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
  10626. Collect Exceptions which are returned by a rmi-call and fix void returns.
  10627. * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
  10628. Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
  10629. * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
  10630. (dispatch): Answer ping messages which are sent by other java implementions.
  10631. (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
  10632. for every rmi-message and fix void return problems.
  10633. * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
  10634. (UnicastServerRef): Throw RemoteException.
  10635. (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
  10636. In some situations it is necessary to export a subclass of the class which has the _Stub.
  10637. For instance when the class with has the _Stub is abstract.
  10638. (findStubSkelClass): New method which looks for the class which has the _Stub.
  10639. (getClientHost): Implementated.
  10640. * gcc/libjava/java/rmi/server/RemoteServer.java
  10641. (getClientHost): Implementated.
  10642. * gcc/libjava/Makefile.am (rmi_java_source_files):
  10643. Added gnu/java/rmi/server/RMIIncomingThread.java.
  10644. * Makefile.in: Regenerated.
  10645. 2004-03-20 Michael Koch <konqueror@gmx.de>
  10646. * java/net/InetAddress.java
  10647. (getLocalHostname): Added javadoc.
  10648. 2004-03-19 Per Bothner <per@bothner.com>
  10649. * configure.in: FILE variable overrides FLATFORM when linking
  10650. natFileChannelXXX.cc.
  10651. * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored.
  10652. (write): Call diag_write, as in old natFileDescriptorEcos.cc.
  10653. 2004-03-19 Per Bothner <per@bothner.com>
  10654. * gnu/gcj/convert/Input_UnicodeBig.java: New class..
  10655. * gnu/gcj/convert/Input_UnicodeLittle.java: New class.
  10656. * Makefile.am: Update accordingly.
  10657. * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be"
  10658. as aliases for UnicodeLittle and UnicodeBig.
  10659. 2004-03-20 Mark Wielaard <mark@klomp.org>
  10660. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
  10661. (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
  10662. Don't access ws when it is null.
  10663. (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
  10664. Likewise.
  10665. 2004-03-19 Jeroen Frijters <jeroen@frijters.net>
  10666. * java/lang/ThreadGroup.java (list): Changed print to println.
  10667. 2004-03-19 Mark Wielaard <mark@klomp.org>
  10668. * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
  10669. happy.
  10670. 2004-02-10 Randolph Chung <tausq@debian.org>
  10671. * configure.in: Build java for hppa target.
  10672. * configure: Regenerate.
  10673. * libjava/configure.host (hppa-*): Add target.
  10674. * libjava/sysdeps/pa/lock.h: New file.
  10675. 2004-03-19 Mark Wielaard <mark@klomp.org>
  10676. Reported by Stephen Crawley
  10677. * java/io/FilePermission.java (implies): Use String.length() -1 to
  10678. access last char of String.
  10679. 2004-03-19 Michael Koch <konqueror@gmx.de>
  10680. * java/awt/image/AffineTransformOp.java
  10681. (AffineTransformOp): Made public.
  10682. * javax/swing/JComponent.java
  10683. (listenerList): Made protected.
  10684. (accessibleContext): Likewise.
  10685. * javax/swing/JList.java
  10686. (valueChanged): Dont use internal fields of ListSelectionEvent.
  10687. * javax/swing/JViewport.java
  10688. (getView): Dont use internal fields of Component.
  10689. (addImpl): Likewise.
  10690. * javax/swing/Timer.java
  10691. (isRunning): Made public.
  10692. (start): Likewise.
  10693. (stop): Likewise.
  10694. * javax/swing/UIDefaults.java
  10695. (getInt): Made public.
  10696. * javax/swing/plaf/basic/BasicListUI.java
  10697. (mousePressed): Dont use internal fields of MouseEvent.
  10698. (propertyChanged): Dont use internal fields of PropertyChangeEvent.
  10699. * javax/swing/plaf/basic/BasicScrollBarUI.java
  10700. (arrowIcon): Made static.
  10701. * javax/swing/plaf/basic/BasicViewportUI.java
  10702. (stateChanged): Dont use internal field on ChangeEvent.
  10703. * javax/swing/text/JTextComponent.java
  10704. (getUI): Call UIManager.getUI().
  10705. (updateUI): Use getUI().
  10706. 2004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  10707. * verify.cc: Undef PC.
  10708. 2004-03-18 Michael Koch <konqueror@gmx.de>
  10709. * java/nio/channels/spi/AbstractSelectableChannel.java
  10710. (keys): Initialize at declaration.
  10711. (locate): keys cant be null.
  10712. (add): Removed.
  10713. (addSelectionKey): New method.
  10714. (removeSelectionKey): New method.
  10715. * java/nio/channels/spi/AbstractSelectionKey.java
  10716. (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
  10717. * java/nio/channels/spi/AbstractSelector.java
  10718. (provider): Javadoc added.
  10719. (cancelledKeys): Javadoc added.
  10720. (cancelKey): Javadoc added, add key to cancelledKeys.
  10721. (deregister): Implemented.
  10722. 2004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  10723. * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
  10724. MAP_FAILED to void *.
  10725. 2004-03-12 Graydon Hoare <graydon@redhat.com>
  10726. * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
  10727. * javax/swing/JComponent.java (paint): Use persistent double buffer.
  10728. * javax/swing/JList.java (ListListener): Revalidate on changes.
  10729. * javax/swing/JScrollPane.java: Reimplement.
  10730. * javax/swing/JViewport.java: Reimplement.
  10731. * javax/swing/ScrollPaneLayout.java: Reimplement.
  10732. * javax/swing/ViewportLayout.java: Tidy up.
  10733. * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
  10734. * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
  10735. * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
  10736. * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
  10737. backing store only.
  10738. 2004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com>
  10739. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
  10740. (window_wm_protocols_filter): New function.
  10741. (window_focus_in_cb): Remove function.
  10742. (window_focus_out_cb): Likewise.
  10743. (window_focus_or_active_state_change_cb): New function.
  10744. (create): Add filter that removes WM_TAKE_FOCUS client messages.
  10745. (connectSignals): Don't attach handlers to focus-in-event or
  10746. focus-out-event signals. Handle notify signal.
  10747. 2004-03-11 David Jee <djee@redhat.com>
  10748. * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
  10749. (gtkSetLabel): New native method declaration.
  10750. (setLabel): Use gtkSetLabel.
  10751. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
  10752. (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
  10753. 2004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
  10754. * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
  10755. black when color argument is null.
  10756. 2004-03-10 Kim Ho <kho@redhat.com>
  10757. * java/awt/Container.java: Remove check
  10758. for drag events.
  10759. 2004-03-10 Kim Ho <kho@redhat.com>
  10760. * java/awt/Container.java: (visitChild):
  10761. Remove candidate clip. Use the component
  10762. clip to intersect.
  10763. * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
  10764. (handleEvent): Use the PaintEvent's clip.
  10765. 2004-03-10 Kim Ho <kho@redhat.com>
  10766. * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
  10767. (handleEvent): Don't set the clip for the
  10768. Graphics object.
  10769. 2004-03-09 Graydon Hoare <graydon@redhat.com>
  10770. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
  10771. Fix double <-> fixed macros, reset font transform.
  10772. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
  10773. Likewise.
  10774. 2004-03-09 Kim Ho <kho@redhat.com>
  10775. * java/awt/Container.java: (visitChild): Move
  10776. the x and y coordinate of the component rectangle
  10777. to correct position.
  10778. (handleEvent): Forward drag events to the pressed
  10779. component.
  10780. * javax/swing/plaf/basic/BasicScrollBarUI.java:
  10781. Fix comments.
  10782. (ArrowButtonListener::mousePressed): Stop the
  10783. existing timer.
  10784. (mouseDragged): Implement.
  10785. (TrackListener::mousePressed): Only react if
  10786. the press doesn't occur on the thumb, otherwise
  10787. just set the offset.
  10788. (TrackListener::mouseReleased): Unset the isAdjusting
  10789. value.
  10790. (createIncreaseIcon): Switch icon.
  10791. (createDecreaseIcon): Switch icon.
  10792. (calculatePreferredSize): Use width.
  10793. (getThumbBounds): Use the top as the lower value.
  10794. (layoutVScrollBar): Switch the button locations.
  10795. (paintIncreaseHighlight): Paint correct side of thumb.
  10796. (paintDecreaseHighlight): ditto.
  10797. (valueForYPosition): Use top as the lower value.
  10798. * javax/swing/plaf/basic/BasicSliderUI.java:
  10799. Fix comments.
  10800. (mouseDragged): Implement.
  10801. (mousePressed): Only react when the thumb isn't
  10802. pressed, otherwise just set offset.
  10803. (mouseReleased): Handle a release of the thumb.
  10804. (scrollDueToClickInTrack): Stop the timer first.
  10805. * javax/swing/JProgressBar.java:
  10806. (setString): Fix change condition.
  10807. * javax/swing/JSeparator.java:
  10808. Remove println's.
  10809. 2004-03-08 David Jee <djee@redhat.com>
  10810. * java/awt/image/AffineTransformOp.java:
  10811. (filter): Use Graphics2D interface instead of directly using the
  10812. GdkGraphics2D peer.
  10813. 2004-03-05 David Jee <djee@redhat.com>
  10814. * gnu/java/awt/peer/gtk/GtkButtonPeer.java
  10815. (handleEvent): Action events are generated upon MOUSE_RELEASED.
  10816. * java/awt/Container.java
  10817. (acquireComponentForMouseEvent): Fixed.
  10818. (handleEvent): Fixed.
  10819. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
  10820. (state_to_awt_mods_with_button_states): New method.
  10821. (pre_event_handler): Fixed mouse event generation.
  10822. 2004-03-05 Olga Rodimina <rodimina@redhat.com>
  10823. gnu/java/awt/peer/gtk/GdkGraphics2D.java
  10824. (GdkGraphics2D (BufferedImage)): Initialize
  10825. pixmap associated with specified BufferedImage.
  10826. (setPaint): Changed implementation of Texture
  10827. Paint to use AffineTransformOp.
  10828. * java/awt/image/AffineTransformOp.java
  10829. (createCompatibleDestRaster): Throw RasterFormatException
  10830. if resulting width or height of raster is 0.
  10831. 2004-03-04 Olga Rodimina <rodimina@redhat.com>
  10832. * java/awt/image/AffineTransformOp.java:
  10833. Removed unnecessary field interpolationType.
  10834. Formatted some of the lines to be consistent with
  10835. the GNU style.
  10836. (AffineTransformOp): Create new RenderingHints
  10837. containing specified interpolation type.
  10838. (createCompatibleDestImage): Implemented.
  10839. (createCompatibleDestRaster): Implemented.
  10840. (filter): Implemented.
  10841. (getBounds2D(BufferedImage)): Implemented.
  10842. (getBounds2D(Raster)): Implemented.
  10843. (getInterpolationType): Get interpolation value from
  10844. rendering hints.
  10845. 2004-03-04 David Jee <djee@redhat.com>
  10846. * gnu/java/awt/peer/gtk/GtkContainerPeer.java
  10847. (setFont): Check if child peers are null.
  10848. 2004-03-04 Graydon Hoare <graydon@redhat.com>
  10849. * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
  10850. .libs in -L option.
  10851. (libjava_arguments): Add new libraries to argument list.
  10852. 2004-03-02 Olga Rodimina <rodimina@redhat.com>
  10853. * Makefile.am: Added java/awt/image/AffineTransformOp.java
  10854. * Makefile.in: Re-generated.
  10855. * java/awt/image/AffineTransformOp.java: New Class.
  10856. 2004-03-01 Olga Rodimina <rodimina@redhat.com>
  10857. * gnu/java/awt/peer/gtk/GdkGraphics2D.java
  10858. (setPaint): Interpret correctly TexturePaint's
  10859. anchor rectangle.
  10860. (drawImage): Fixed scale factors of the affine
  10861. transform.
  10862. 2004-02-27 David Jee <djee@redhat.com>
  10863. * gnu/java/awt/peer/gtk/GdkGraphics.java
  10864. (GdkGraphics(Component)): Inherit font from component.
  10865. (drawString): Use font style.
  10866. * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
  10867. (gtkSetFont): New native method declaration.
  10868. (setFont): New method.
  10869. * gnu/java/awt/peer/gtk/GtkComponentPeer.java
  10870. (gtkSetFont): New native method declaration.
  10871. (setFont): Call new native method gtkSetFont.
  10872. * gnu/java/awt/peer/gtk/GtkContainerPeer.java
  10873. (setFont): For all child components who do not their fonts set,
  10874. set their peers' fonts with this container's font.
  10875. * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
  10876. Move all native method declarations to the top for readability.
  10877. (gtkSetFont): New native method declaration.
  10878. (setFont): New method.
  10879. * java/awt/Component.java
  10880. (setFont): Invalidate after setting the font.
  10881. * java/awt/Container.java
  10882. (invalidateTree): New method.
  10883. (setFont): Invalidate the container tree after setting the font.
  10884. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
  10885. (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
  10886. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
  10887. (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
  10888. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
  10889. (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
  10890. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
  10891. (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
  10892. 2004-02-27 Olga Rodimina <rodimina@redhat.com>
  10893. * gnu/java/awt/peer/gtk/GdkGraphics2D.java
  10894. (updateBufferedImage): New helper function.
  10895. Updates BufferedImage in memory if it was changed.
  10896. (draw): changed to update BufferedImage in memory after
  10897. this drawing operation
  10898. (fill): Ditto.
  10899. (draw3DRect): Ditto.
  10900. (fill3DRect): Ditto.
  10901. (clearRect): Ditto.
  10902. (drawRaster): Ditto.
  10903. (drawImage) : Ditto. Update only in case of GtkOffScreenImage with
  10904. no affine transformation.
  10905. (drawGlyphVector): Ditto.
  10906. 2004-02-26 Olga Rodimina <rodimina@redhat.com>
  10907. * gnu/java/awt/peer/gtk/GdkGraphics2D.java
  10908. (isBufferedImageGraphics): New Helper function.
  10909. Returns true if this graphics2d can be used to draw
  10910. into buffered image and false otherwise.
  10911. (updateImagePixels): New Helper function.
  10912. Updates pixels in the BufferedImage.
  10913. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
  10914. (getImagePixels): New function. Returns pixels
  10915. of the buffered image associated with
  10916. this Graphics2D.
  10917. 2004-02-26 David Jee <djee@redhat.com>
  10918. * java/awt/BorderLayout.java
  10919. (layoutContainer): Fix width and height calculations to ensure
  10920. that they're non-negative.
  10921. * java/awt/Component.java
  10922. (setBackground): If c is null, inherit from closest ancestor whose
  10923. background color is set.
  10924. 2004-02-26 Kim Ho <kho@redhat.com>
  10925. * Makefile.am: Add new files.
  10926. * Makefile.in: Re-generate.
  10927. * javax/swing/JProgressBar.java:
  10928. (JProgressBar(int, int int)): Throw
  10929. IllegalArgumentException if orientation is
  10930. invalid.
  10931. (JProgressBar(BoundedRangeModel)): Create
  10932. ChangeListener and register it. UpdateUI.
  10933. (getChangeListeners): Implement.
  10934. (setModel): Reset ChangeListener.
  10935. * javax/swing/JScrollBar.java: Implement.
  10936. * javax/swing/JSeparator.java: Implement.
  10937. * javax/swing/JSlider.java:
  10938. (JSlider(int, int, int, int)): Throw
  10939. IllegalArgumentException if orientation
  10940. is invalid.
  10941. (getChangeListeners): Fix method name.
  10942. * javax/swing/SwingUtilities.java:
  10943. (layoutCompoundLabel): If there is no text,
  10944. set the text rectangle dimensions to 0.
  10945. * javax/swing/plaf/basic/BasicButtonUI.java:
  10946. (paint): If there is no text, don't paint it.
  10947. * javax/swing/plaf/basic/BasicScrollBarUI.java:
  10948. Implement.
  10949. * javax/swing/plaf/basic/BasicSeparatorUI.java:
  10950. Implement.
  10951. * javax/swing/plaf/basic/BasicSliderUI.java:
  10952. (propertyChange): If the model changes, change
  10953. the listeners accordingly.
  10954. 2004-02-25 Graydon Hoare <graydon@redhat.com>
  10955. * javax/swing/AbstractButton.java: Add "final" qualifiers.
  10956. * javax/swing/JList.java: Reimplement.
  10957. * javax/swing/DefaultListSelectionModel.java: Reimplement.
  10958. * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
  10959. * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
  10960. * javax/swing/ListModel.java: Javadoc.
  10961. * javax/swing/ListSelectionModel.java: Add missing methods.
  10962. * javax/swing/AbstractListModel.java: Javadoc and corrections.
  10963. * javax/swing/DefaultListModel.java: Javadoc and corrections.
  10964. * javax/swing/ListModel.java: Javadoc and corrections.
  10965. * javax/swing/DefaultListCellRenderer.java: Minor tidying.
  10966. 2004-02-25 David Jee <djee@redhat.com>
  10967. * gnu/java/awt/peer/gtk/GtkFontPeer.java
  10968. (GtkFontPeer): Change default size to 12.
  10969. * gnu/java/awt/peer/gtk/GtkToolkit.java
  10970. (getFontPeer): Change default size to 12.
  10971. (getClasspathFontPeer): Likewise. Set default name to "Default".
  10972. * java/awt/Font.java
  10973. (Font(Map)): Call Font(String,Map).
  10974. (Font(String,Map)): If attrs is null, initialize it as an empty
  10975. HashMap, which will ensure that the Font will get default attributes.
  10976. 2004-02-25 David Jee <djee@redhat.com>
  10977. * gnu/java/awt/peer/gtk/GtkFontPeer.java
  10978. (GtkFontPeer(String,int)): Call the new constructor with size 1.
  10979. (GtkFontPeer(String,int,int)): New constructor with size attribute.
  10980. * gnu/java/awt/peer/gtk/GtkToolkit.java
  10981. (getFontPeer(String,int)): Call the new overload method with size 1.
  10982. (getFontPeer(String,int,int)): New method. Overloaded with size
  10983. attribute.
  10984. (getClasspathFontPeer): Set the size of the font.
  10985. 2004-02-24 Olga Rodimina <rodimina@redhat.com>
  10986. * gnu/java/awt/peer/gtk/GdkGraphics2D.java
  10987. (bimage): New field.
  10988. (GdkGraphics2D): New Constructor. Constructs Graphics
  10989. object that can be used to draw into the Buffered Image.
  10990. * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
  10991. (GdkGraphicsEnvironment): Fixed to include public
  10992. keyword.
  10993. (createGraphics): Implemented.
  10994. * gnu/java/awt/peer/gtk/GtkToolkit.java
  10995. (getLocalGraphicsEnvironment): Implemented.
  10996. * java/awt/GraphicsEnvironment.java:
  10997. (getLocalGraphicsEnvironment): Implemented.
  10998. * java/awt/image/BufferedImage.java:
  10999. (createGraphics): Implemented.
  11000. 2004-02-24 David Jee <djee@redhat.com>
  11001. * java/awt/Component.java
  11002. (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
  11003. * java/awt/Container.java
  11004. (addNotifyContainerChildren): Fix event enabling.
  11005. 2004-02-23 Olga Rodimina <rodimina@redhat.com>
  11006. * Makefile.am: Added
  11007. gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
  11008. * Makefile.in: Re-generated.
  11009. * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
  11010. New Class.
  11011. 2004-02-19 Kim Ho <kho@redhat.com>
  11012. * Makefile.am: Add BasicProgressBarUI
  11013. * Makefile.in: Regenerate.
  11014. * javax/swing/JProgressBar.java:
  11015. Re-implement.
  11016. * javax/swing/plaf/basic/BasicLookAndFeel.java
  11017. Add constants for JProgressBar.
  11018. * javax/swing/plaf/basic/BasicProgressBarUI.java
  11019. Implement.
  11020. * javax/swing/plaf/basic/BasicSliderUI.java
  11021. Change comments.
  11022. (calculateGeometry): New method
  11023. (paint): Remove unnecessary size calculations.
  11024. 2004-02-18 Olga Rodimina <rodimina@redhat.com>
  11025. * gnu/java/awt/peer/gtk/GdkGraphics2D.java
  11026. (drawRaster): Fixed small error that caused
  11027. imageToUser transformation to be set incorrectly.
  11028. (toString): Implemented.
  11029. 2004-02-18 David Jee <djee@redhat.com>
  11030. * java/awt/CardLayout.java
  11031. (addLayoutComponent): Show the first component added as the default.
  11032. (removeLayoutComponent): After removing, show the next component.
  11033. (gotoComponent): If there is only one component, show it and return.
  11034. 2004-02-18 Kim Ho <kho@redhat.com>
  11035. * javax/swing/JSlider.java: Re-order
  11036. modifiers.
  11037. * javax/swing/JLabel.java: Re-order
  11038. modifiers.
  11039. * javax/swing/JComponent.java:
  11040. (addPropertyChangeListener):
  11041. Implement.
  11042. (removePropertyChangeListener):
  11043. ditto.
  11044. (firePropertyChangeEvent):
  11045. ditto.
  11046. 2004-02-17 David Jee <djee@redhat.com>
  11047. * java/awt/Component.java
  11048. (show): Dispatch ComponentEvent via system event queue.
  11049. (hide): Likewise.
  11050. (move): Likewise.
  11051. (resize): Likewise.
  11052. (reshape): Likewise.
  11053. * java/awt/Window.java
  11054. (setBoundsCallback): Likewise.
  11055. 2004-02-17 David Jee <djee@redhat.com>
  11056. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
  11057. (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
  11058. Use gtk_widget_set_size_request() instead of the deprecated
  11059. gtk_widget_set_usize().
  11060. 2004-02-17 Kim Ho <kho@redhat.com>
  11061. * javax/swing/JSlider.java: Fix comments and
  11062. make property strings constants.
  11063. (createStandardLabels): Use the labels
  11064. preferred size as bounds.
  11065. * javax/swing/plaf/basic/BasicSliderUI.java
  11066. Fix comments.
  11067. (ScrollHandler::actionPerformed): Don't
  11068. calculate the timer stop value. Let the
  11069. MouseListeners find the stop location.
  11070. (getPreferredHorizontalSize): Re-implement.
  11071. (getPreferredVerticalSize): ditto.
  11072. (getMinimumHorizontalSize): ditto.
  11073. (getMinimumVerticalSize): ditto.
  11074. (getPreferredSize): ditto.
  11075. (getMinimumSize): ditto.
  11076. (getMaximumSize): ditto.
  11077. (paintTicks): Use doubles to find the
  11078. tick location.
  11079. (paintHorizontalLabel): Use preferredSize
  11080. as initial width and height.
  11081. (paintVerticalLabel): ditto.
  11082. 2004-02-17 Kim Ho <kho@redhat.com>
  11083. * javax/swing/JLabel.java: Changed
  11084. property strings to constants.
  11085. (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
  11086. New property.
  11087. (setText): Change mnemonic index if
  11088. text is too short.
  11089. (setDisplayedMnemonicIndex): Fire property
  11090. change event.
  11091. (getDisplayedMnemonicIndex): Remove check
  11092. against short text.
  11093. 2004-02-17 Olga Rodimina <rodimina@redhat.com>
  11094. * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
  11095. (drawImage(img,xform,obs)): Invert xform before
  11096. passing the xform to cairo.
  11097. (drawImage(img,x,y,bgcolor,obs)): Implemented.
  11098. (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
  11099. implemented.
  11100. (drawImage (img,x,y,w,h,obs)): Implemented.
  11101. (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
  11102. bgcolor,obs)): Partly implemented.
  11103. (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
  11104. Implemented.
  11105. * java/awt/image/BufferedImage.java:
  11106. (copyData): if dest is null, create raster with same
  11107. dimensions as the current image.
  11108. 2004-02-16 Graydon Hoare <graydon@redhat.com>
  11109. * javax/swing/plaf/basic/BasicLabelUI.java
  11110. (getPreferredSize): Use layoutCL.
  11111. * javax/swing/plaf/basic/BasicGraphicsUtils.java
  11112. (getPreferredButtonSize): Start with empty view rect, layout using
  11113. component's preferred alignment.
  11114. * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
  11115. List defaults.
  11116. 2004-02-16 David Jee <djee@redhat.com>
  11117. * java/awt/Component.java
  11118. (show): Dispatch COMPONENT_SHOWN ComponentEvent.
  11119. (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
  11120. (move): Erase old bounds and repaint new bounds. Dispatch
  11121. COMPONENT_MOVED ComponentEvent.
  11122. (resize): Erase old bounds and repaint new bounds. Dispatch
  11123. COMPONENT_RESIZED ComponentEvent.
  11124. (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
  11125. ComponentEvents.
  11126. * java/awt/Window.java
  11127. (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
  11128. ComponentEvents.
  11129. 2004-02-16 Olga Rodimina <rodimina@redhat.com>
  11130. * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
  11131. (setRenderingHint): Added implementation of
  11132. Interpolation rendering hints.
  11133. (setRenderingHints): Ditto.
  11134. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
  11135. (drawPixels): fixed to allow user to choose type
  11136. of filtering that should be used when displaying images.
  11137. (cairoSurfaceSetFilter): New method. Sets filter type for
  11138. interpolation of pixel values.
  11139. 2004-02-16 David Jee <djee@redhat.com>
  11140. * java/awt/GridBagLayout.java
  11141. (calcCellSizes): Rows or columns with zero sizes should still be
  11142. considered for extra space distribution.
  11143. 2004-02-16 Kim Ho <kho@redhat.com>
  11144. * javax/swing/JLabel.java: Re-implement.
  11145. * javax/swing/plaf/basic/BasicLabelUI.java
  11146. Re-implement.
  11147. * javax/swing/plaf/basic/BasicLookAndFeel.java:
  11148. Added constant.
  11149. 2004-02-16 Kim Ho <kho@redhat.com>
  11150. * javax/swing/JSlider.java: Fix indentation and comments.
  11151. (setModel): Remove null check to conform with Sun's.
  11152. (setOrientation): Throw exception if not
  11153. HORIZONTAL or VERTICAL.
  11154. (getInverted): Use private variable instead of
  11155. ComponentOrientation.
  11156. (setInverted): ditto.
  11157. * javax/swing/plaf/basic/BasicSliderUI.java:
  11158. Fix indentation and comments.
  11159. (propertyChange): Remove check for inverted slider, handle
  11160. in main paint.
  11161. (getMinimumSize): Return preferred size.
  11162. (getMaximumSize): ditto.
  11163. (calculateFocusRect): Don't relocate rectangle.
  11164. (drawInverted): Return XOR of the slider's inversion and
  11165. the component's orientation.
  11166. (paint): Update leftToRightCache
  11167. 2004-02-13 David Jee <djee@redhat.com>
  11168. * java/awt/GridBagLayout.java
  11169. (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
  11170. code to helper methods.
  11171. (sortBySpan): New helper method.
  11172. (distributeSizeAndWeight): Likewise.
  11173. (calcCellWeights): Likewise.
  11174. (calcCellSizes): Add comments.
  11175. 2004-02-13 David Jee <djee@redhat.com>
  11176. * java/awt/Component.java
  11177. (show): Only do something if component is invisible at the moment.
  11178. (hide): Only do something if component is visible at the moment.
  11179. (reshape): If lightweight, erase old bounds and repaint new bounds.
  11180. 2004-02-13 Kim Ho <kho@redhat.com>
  11181. * Makefile.am: Updated for new file.
  11182. * Makefile.in: Regenerated.
  11183. * javax/swing/JSlider.java: Reimplement.
  11184. * javax/swing/SwingUtilities.java
  11185. (layoutCompoundLabel): Use icon height
  11186. instead of width.
  11187. (paintComponent): Implement.
  11188. * javax/swing/plaf/basic/BasicLookAndFeel.java:
  11189. Add JSlider defaults.
  11190. * javax/swing/plaf/basic/BasicSliderUI.java:
  11191. Implement. New file.
  11192. 2004-03-17 Michael Koch <konqueror@gmx.de>
  11193. * gnu/java/net/PlainDatagramSocketImpl.java
  11194. (RECEIVE_LOCK): New member field.
  11195. (SEND_LOCK): New member field.
  11196. (send0): New method.
  11197. (send): Synchronize on SEND_LOCK.
  11198. (receive0): New method.
  11199. (receive): Synchronize on RECEIVE_LOCK.
  11200. * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
  11201. gnu/java/net/natPlainDatagramSocketImplPosix.cc,
  11202. gnu/java/net/natPlainDatagramSocketImplWin32.cc
  11203. (send0): Renamed from send.
  11204. (receive0): Renamed from receive.
  11205. 2004-03-17 Michael Koch <konqueror@gmx.de>
  11206. * gnu/java/net/natPlainSocketImplPosix.cc
  11207. (write): Just call write(jbyteArray, offset, len).
  11208. (read): Just call read(jbyteArray, offset, len).
  11209. 2004-03-16 Michael Koch <konqueror@gmx.de>
  11210. * javax/swing/JTabbedPane.java
  11211. (serialVersionUID): New field.
  11212. 2004-03-16 Norbert Frese <postfach@nfrese.net>
  11213. * java/net/InetAddress.java
  11214. (getByName): Handle hostname == "" case.
  11215. 2004-03-16 Dalibor Topic <robilad@kaffe.org>
  11216. Reported by: Adam Heath <doogie@debian.org>
  11217. * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
  11218. class loader.
  11219. 2004-03-15 Michael Koch <konqueror@gmx.de>
  11220. * java/util/Locale.java: Reverting my last patch
  11221. and add a comment why the original version was okay.
  11222. 2004-03-14 Andreas Tobler <a.tobler@schweiz.ch>
  11223. * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
  11224. munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
  11225. (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
  11226. (MappedByteBufferImpl::forceImpl): Use msync_adptor.
  11227. 2004-03-12 Michael Koch <konqueror@gmx.de>
  11228. * java/text/DateFormatSymbols.java: Fixed file name in copyright.
  11229. 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
  11230. * java/net/URI.java (toURL): Implemented.
  11231. 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
  11232. * java/net/URI.java
  11233. (URI_REGEXP) updated to contain scheme specific part.
  11234. (SCHEME_SPEC_PART_GROUP) new constant.
  11235. (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
  11236. updated to make room for SCHEME_SPEC_PART_GROUP.
  11237. (parseURI) parse scheme specific part.
  11238. (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
  11239. getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
  11240. getQuery, getFragment) implemented.
  11241. 2004-03-12 Dalibor Topic <robilad@kaffe.org>
  11242. * libraries/javalib/java/net/URI.java
  11243. partially implemented using java.util.regex.
  11244. (URI_REGEXP) new constant. Used to parse URIs.
  11245. (SCHEME_GROUP) new constant representing index of scheme group
  11246. in parsed URI.
  11247. (AUTHORITY_GROUP) new constant representing index of authority
  11248. group in parsed URI.
  11249. (PATH_GROUP) new constant representing index of path group in
  11250. parsed URI.
  11251. (QUERY_GROUP) new constant representing index of query group in
  11252. parsed URI.
  11253. (FRAGMENT_GROUP) new constant representing index of fragment
  11254. group in parsed URI.
  11255. (getURIGroup) new static utility method.
  11256. (parseURI) implemented.
  11257. (quote) stub for new static utility method.
  11258. (quoteAuthority) stub for new static utility method.
  11259. (quoteHost) stub for new static utility method.
  11260. (quotePath) stub for new static utility method.
  11261. (quoteUserInfo) stub for new static utility method.
  11262. (URI) implemented.
  11263. (create) don't throw URISyntaxException. Implemented.
  11264. (toString) implemented.
  11265. 2004-03-12 Michael Koch <konqueror@gmx.de>
  11266. * java/net/HttpURLConnection.java
  11267. (getResponseCode): Fix another typo in javadoc.
  11268. 2004-03-11 Michael Koch <konqueror@gmx.de>
  11269. * java/util/logging/Level.java
  11270. (parse): Use String.equals() instead of ==.
  11271. 2004-03-11 Michael Koch <konqueror@gmx.de>
  11272. * gnu/java/net/protocol/jar/Connection.java
  11273. (getContentLength): New method.
  11274. 2004-03-11 Michael Koch <konqueror@gmx.de>
  11275. * gnu/java/net/PlainSocketImpl.java:
  11276. Reformated to merge better with classpath's version.
  11277. 2004-03-11 Michael Koch <konqueror@gmx.de>
  11278. * java/util/Locale.java
  11279. (getISO3Language): Use String.equals() instead of ==.
  11280. (getISO3Country): Likewise.
  11281. 2004-03-11 Dalibor Topic <robilad@kaffe.org>
  11282. * java/text/AttributedString.java
  11283. (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
  11284. Use HashMap instead of Hashtable since value can be null, and
  11285. you can not store a null value in a Hashtable.
  11286. 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
  11287. * java/text/AttributedStringIterator.java
  11288. (getAllAttributesKey): Return only keys concerned
  11289. by the current iterator.
  11290. (getAttributes): Use strict inequality for
  11291. end_index.
  11292. 2004-03-11 Michael Koch <konqueror@gmx.de>
  11293. * java/net/HttpURLConnection.java:
  11294. Fixed typo in javadoc.
  11295. 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
  11296. * java/io/BufferedInputStream.java (marktarget): New field for max
  11297. mark limit.
  11298. (CHUNKSIZE): New constant for incremental mark buffer allocation.
  11299. (mark): Use new fields.
  11300. (read): Likewise.
  11301. (read(byte[],int,int)): Likewise.
  11302. (skip): Likewise.
  11303. (refill): Likewise.
  11304. 2004-03-11 Mark Wielaard <mark@klomp.org>
  11305. * java/beans/BeanDescriptor.java (BeanDescriptor):
  11306. Set the FeatureDescriptor programmatic name.
  11307. 2004-03-11 Michael Koch <konqueror@gmx.de>
  11308. * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
  11309. This file was was just copied form java/io/natFileDescriptorEcos.cc
  11310. and never changed to compile correctly.
  11311. 2004-03-11 Michael Koch <konqueror@gmx.de>
  11312. * gnu/java/nio/PipeImpl.java
  11313. (SourceChannelImpl): Made final.
  11314. (read): Implemented.
  11315. (SinkChannelImpl): Made final.
  11316. (write): Implemented.
  11317. 2004-03-11 Michael Koch <konqueror@gmx.de>
  11318. * gnu/java/net/PlainDatagramSocketImpl.java:
  11319. Reformated to match classpath's version more.
  11320. 2004-03-11 Michael Koch <konqueror@gmx.de>
  11321. * gnu/java/awt/peer/ClasspathFontPeer.java:
  11322. Fixed javadoc to be correct xhtml.
  11323. * gnu/java/awt/peer/gtk/GtkArgList.java
  11324. (add): Use Boolean.valueOf() instead of new Boolean().
  11325. 2004-03-09 Michael Koch <konqueror@gmx.de>
  11326. * java/lang/Thread.java
  11327. (runnable): Moved around.
  11328. (daemon): Renamed from daemon_flag.
  11329. (contextClassLoader): Renamed from context_class_loader.
  11330. (Thread): Reordered constructors.
  11331. (activeCount): Use group directly.
  11332. (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
  11333. (holdsLock): Reworked javadoc.
  11334. (setDaemon): Reworked.
  11335. * java/lang/natThread.cc
  11336. (destroy): Removed.
  11337. 2004-03-08 Anthony Green <green@redhat.com>
  11338. * Makefile.am: Build property resource files into libgcj.
  11339. * Makefile.in: Rebuilt.
  11340. * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
  11341. java/util/regex/PatternSyntaxException.java,
  11342. gnu/regexp/CharIndexed.java,
  11343. gnu/regexp/CharIndexedCharArray.java,
  11344. gnu/regexp/CharIndexedInputStream.java,
  11345. gnu/regexp/CharIndexedReader.java,
  11346. gnu/regexp/CharIndexedString.java,
  11347. gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
  11348. gnu/regexp/REException.java,
  11349. gnu/regexp/REFilterInputStream.java,
  11350. gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
  11351. gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
  11352. gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
  11353. gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
  11354. gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
  11355. gnu/regexp/RETokenLookAhead.java,
  11356. gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
  11357. gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
  11358. gnu/regexp/RETokenStart.java,
  11359. gnu/regexp/RETokenWordBoundary.java,
  11360. gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
  11361. 2004-03-03 Per Bothner <per@bothner.com>
  11362. * java/nio/channels/Channels.java (newInputStream, newOutputStream):
  11363. Optimize when argument is a FileChannelImpl.
  11364. (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
  11365. New native methods.
  11366. * java/nio/channels/natChannels.cc: New file for new native methods.
  11367. * Makefile.am: Update accordingly.
  11368. 2004-03-02 Jan Hubicka <jh@suse.cz>
  11369. * configure.host: Pass -fno-omit-frame-pointer for i386.
  11370. * configure.in: Likewise.
  11371. * configure: Regenerate.
  11372. 2004-03-01 Per Bothner <per@bothner.com>
  11373. * java/lang/natPosixProcess.cc (startProcess): Fix thinko.
  11374. 2004-02-29 Per Bothner <per@bothner.com>
  11375. * java/nio/channels/FileChannelImpl.java: Moved to package
  11376. gnu/java/nio/channels, since we need to refer to it from java.io.
  11377. * java/nio/channels/natFileChannelImpl.cc: Removed file.
  11378. * gnu/java/nio/channels/FileChannelImpl.java: New class, renamed
  11379. from java/nio/channels. Don't depend on FileDescriptor.
  11380. (in, out, err): New static fields.
  11381. (mode): New field.
  11382. (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC): Moved constants
  11383. from FileDescriptor.
  11384. (by): Removed MappedByteBuffer field.
  11385. (map): New working implementation.
  11386. * gnu/java/nio/channels/natFileChannelPosix.cc: New file, though
  11387. some code "ported" from natFileDescriptoPosix.cc.
  11388. * gnu/java/nio/channels/natFileChannelEcos.cc: Likewise.
  11389. * gnu/java/nio/channels/natFileChannelWin32.cc Likewise.
  11390. * java/io/FileDescriptor.java: Implement on top of FileChannel.
  11391. Remove native methods.
  11392. * Makefile.am, configure.in: Updated accordingly.
  11393. * gnu/java/nio/FileLockImpl.java (fd): Remove field, replacing it by:
  11394. (ch): New FileChannelImpl field. Update constructor to match.
  11395. (releaseImpl): Remove native method. Instead ...
  11396. (release): Call unlock on channel.
  11397. * gnu/java/nio/natFileLockImpl.cc: Removed file.
  11398. * java/io/natFileDescriptorEcos.cc: Remove file.
  11399. * java/io/natFileDescriptorPosix.cc: Remove file.
  11400. * java/io/natFileDescriptorWin32.cc: Remove file.
  11401. * java/io/FileInputStream.java (ch): Change type to FileChannelImpl.
  11402. (<init>(File)): Allocate a FileChannelImpl, not a FileDescriptor.
  11403. (<init>(FileChannelImpl)): New package-private constructor.
  11404. (<init>(FileDescriptor)): Extract FileChannelImpl from arg.
  11405. (available, close, read, skip): Implement using FileChannelImpl.
  11406. (getFD): Allocate FileDescriptor if needed.
  11407. (getChannel): Is now trivial.
  11408. * java/io/FileOutputStream.java: Corresponding changes.
  11409. * java/io/RandomAccessFile.java: Corresponding changes.
  11410. * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
  11411. unmapImpl): New dummy methods, to be overridden by subclass.
  11412. (finalize, isLoaded, load, force): New methods.
  11413. * java/nio/MappedByteBufferImpl.java: More-or-less rewrite.
  11414. Now works, at least for read mapping.
  11415. * java/lang/natPosixProcess.cc (startProcess): Implement standard
  11416. streams using FileChannelImpl, not FileDescriptor.
  11417. * java/lang/natWin32Process.cc (startProcess): Likewise.
  11418. 2004-02-28 Michael Koch <konqueror@gmx.de>
  11419. * java/io/ObjectInputStream.java: Compile fix, damn I commited the
  11420. wrong code.
  11421. 2004-02-28 Guilhem Lavaux <guilhem@kaffe.org>
  11422. * java/io/ObjectInputStream.java
  11423. (readClassDescriptor): Keep elements of the mapping non null.
  11424. (checkTypeConsistency): New method.
  11425. (readFields): Fixed main loop and base logic. Small reindentation.
  11426. * java/io/ObjectStreamField.java
  11427. (lookupField): New method to update the field reference.
  11428. (checkFieldType): New method.
  11429. * java/io/ObjectStreamClass.java
  11430. (setClass, setFields): Call lookupField when building the field
  11431. database. Check the real field type.
  11432. 2004-02-28 Michael Koch <konqueror@gmx.de>
  11433. * java/nio/ByteOrder.java
  11434. (nativeOrder): Use equals() to compare strings.
  11435. 2004-02-26 Michael Koch <konqueror@gmx.de>
  11436. * gnu/java/nio/FileLockImpl.java
  11437. (finalize): Made protected.
  11438. * java/nio/channels/FileChannel.java
  11439. (MapMode.READ_ONLY): Made final.
  11440. (MapMode.READ_WRITE): Made final.
  11441. (MapMode.PRIVATE): Made final.
  11442. * java/nio/channels/SocketChannel.java
  11443. (open): Simplified code.
  11444. * java/nio/channels/spi/AbstractSelectableChannel.java
  11445. (registered): Unused, removed.
  11446. (keyFor): Check channel is open, only locate key
  11447. and not add a new one.
  11448. (register): Don't delete attachments.
  11449. 2004-02-26 Michael Koch <konqueror@gmx.de>
  11450. * gnu/java/awt/ComponentDataBlitOp.java
  11451. (INSTANCE): Made final.
  11452. * gnu/java/awt/image/ImageDecoder.java:
  11453. Reworked imports.
  11454. (cm): Unused, removed.
  11455. 2004-02-26 Michael Koch <konqueror@gmx.de>
  11456. * gnu/java/nio/DatagramChannelImpl.java
  11457. (send): Check if target address is resolved.
  11458. 2004-02-26 Michael Koch <konqueror@gmx.de>
  11459. * Makefile.am: Generate and install headers for inner classes in
  11460. java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
  11461. * Makefile.in: Regenerated.
  11462. 2004-02-24 Anthony Green <green@redhat.com>
  11463. * java/lang/StringBuffer.java: No need to NULL out remainder of
  11464. buffer since ensureCapacity_unsynchronized will have done this for
  11465. us.
  11466. 2004-02-20 Michael Koch <konqueror@gmx.de>
  11467. * gnu/java/net/protocol/jar/Handler.java
  11468. (): Removed unneeded check for file != null. java.net.URL.getFile()
  11469. returns an empty string but never null.
  11470. 2004-02-20 Michael Koch <konqueror@gmx.de>
  11471. * gnu/gcj/convert/Convert.java
  11472. (main): Use equals() to compare strings.
  11473. 2004-02-20 Michael Koch <konqueror@gmx.de>
  11474. * javax/swing/AbstractButton.java: Made several constants final.
  11475. (getRolloverSelectedIcon): Made public.
  11476. (getSelectedIcon): Made public.
  11477. 2004-02-16 Per Bothner <per@bothner.com>
  11478. * java/nio/CharBufferImpl.java: Inline super constructor.
  11479. * java/nio/DoubleBufferImpl.java: Likewise.
  11480. * java/nio/FloatBufferImpl.java: Likewise.
  11481. * java/nio/IntBufferImpl.java: Likewise.
  11482. * java/nio/LongBufferImpl.java: Likewise.
  11483. * java/nio/ShortBufferImpl.java: Likewise.
  11484. * java/nio/CharBuffer.java: Remove unused constructor.
  11485. * java/nio/DoubleBuffer.java: Likewise.
  11486. * java/nio/FloatBuffer.java: Likewise.
  11487. * java/nio/IntBuffer.java: Likewise.
  11488. * java/nio/LongBuffer.java: Likewise.
  11489. * java/nio/ShortBuffer.java: Likewise.
  11490. * java/nio/CharViewBufferImpl.java: New convenience constructor.
  11491. Fix buggy call to super constructor.
  11492. * java/nio/DoubleViewBufferImpl.java: Likewise.
  11493. * java/nio/FloatViewBufferImpl.java: Likewise.
  11494. * java/nio/IntViewBufferImpl.java: Likewise.
  11495. * java/nio/LongViewBufferImpl.java: Likewise.
  11496. * java/nio/ShortViewBufferImpl.java: Likewise.
  11497. * java/nio/ByteBuffer.java (endian): Make non-private so other
  11498. java.nio classes can inherit it.
  11499. (<init>): Don't bother clearing array_offset.
  11500. * java/nio/ByteBuffer.java (allocate): Re-implement using wrap.
  11501. * java/nio/ByteBuffer.java (get(byte[],int,int)): Check underflow.
  11502. Remove redundant test.
  11503. * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
  11504. asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
  11505. Use new XxxViewBufferImpl constructors.
  11506. * java/nio/MappedByteBufferImpl.java: Likewise.
  11507. * java/nio/DirectByteBufferImpl.java: Likewise.
  11508. * java/nio/ByteBufferImpl.java: Remove one constructor.
  11509. Inline super in remaining constructor.
  11510. * java/nio/ByteBuffer.java: Remove unused constructor.
  11511. * java/nio/ByteBufferImpl.java (shiftDown): New optimized method.
  11512. * java/nio/ByteBufferImpl.java (get, put): Add array_offset.
  11513. * java/nio/DirectByteBufferImpl.java (owner): New field.
  11514. (offset): Remove unused field.
  11515. (<init>): Modify one and add another constructor. Change callers.
  11516. (allocateDirect): Removed - not used.
  11517. (getImpl, putImpl): Make static and pass address explicitly,
  11518. to make them useful for MappedByteBufferImpl.
  11519. (get, put): Check for underflow. Modify for new getImpl.
  11520. (getImpl): New native method where target is array.
  11521. (get(byte[],int,int)): Use the above.
  11522. (adjustAddress): New static native method.
  11523. (slice, duplicate, asReadOnly): New implementations.
  11524. * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
  11525. adjustAddress): New or updated native methods.
  11526. 2004-02-15 Ito Kazumitsu <kaz@maczuka.gcd.org>
  11527. * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
  11528. overflow of fieldmapping.
  11529. 2004-02-14 Sascha Brawer <brawer@dandelis.ch>
  11530. * javax/swing/undo/UndoManager.java: Re-written from scratch.
  11531. 2004-02-14 Per Bothner <per@bothner.com>
  11532. * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
  11533. Set closed before calling implCloseChannel, as in the spec.
  11534. 2004-02-09 Graydon Hoare <graydon@redhat.com>
  11535. * javax/swing/ToggleButtonModel.java: Remove dead class.
  11536. * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
  11537. * javax/swing/plaf/basic/BasicButtonListener.java: New class.
  11538. * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
  11539. * Makefile.am: Update for new and removed files.
  11540. * Makefile.in: Regenerate.
  11541. * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
  11542. * javax/swing/AbstractButton.java
  11543. (AbstractButton): Initialize fields correctly in ctor.
  11544. * javax/swing/JCheckbox.java
  11545. (JCheckBox): Override painting flags.
  11546. * javax/swing/DefaultButtonModel.java: Conform to sun.
  11547. * javax/swing/JComponent.java (paint): Fill with background color
  11548. if available.
  11549. (processComponentKeyEvent)
  11550. (processFocusEvent)
  11551. (processKeyEvent)
  11552. (processMouseMotionEvent): Remove event-consuming empty methods.
  11553. (getUIClassID): Return "ComponentUI" not "JComponent"
  11554. * javax/swing/JFrame.java: Remove some debugging chatter.
  11555. (JFrame): Subscribe to window events.
  11556. * javax/swing/JRadioButton.java
  11557. (JRadioButton): Override painting flags.
  11558. * javax/swing/JRootPane.java
  11559. (JRootPane): Set background from UIDefaults.
  11560. * javax/swing/JToggleButton.java
  11561. (ToggleButtonModel): New inner class.
  11562. (JToggleButton): Override layout alighment.
  11563. * javax/swing/SwingUtilities.java:
  11564. (getLocalBounds): Return width and height, not x and y.
  11565. (calculateInnerArea): Use local bounds, not bounds.
  11566. (layoutCompoundLabel): Provide overridden form.
  11567. (layoutCompoundLabel): Correct bugs.
  11568. * javax/swing/UIDefaults.java: Correct comment.
  11569. * javax/swing/plaf/basic/BasicButtonUI.java:
  11570. Move most logic into defaults, external listener.
  11571. (paintIcon): Implement icon painting.
  11572. (paint): Fix state painting to conform to changes in model.
  11573. * javax/swing/plaf/basic/BasicCheckBoxUI.java:
  11574. Remove most dead/wrong methods.
  11575. (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
  11576. * javax/swing/plaf/basic/BasicIconFactory.java:
  11577. (DummyIcon): New class.
  11578. (getMenuItemCheckIcon)
  11579. (getMenuItemArrowIcon)
  11580. (getMenuArrowIcon)
  11581. (getCheckBoxMenuItemIcon)
  11582. (getRadioButtonMenuItemIcon)
  11583. (createEmptyFrameIcon): Return DummyIcons, not null.
  11584. (getCheckBoxIcon): Implement an icon that looks like sun's.
  11585. (getRadioButtonIcon): Implement an icon that looks like sun's.
  11586. * javax/swing/plaf/basic/BasicLookAndFeel.java
  11587. (initComponentDefaults): Fix impossible values, add some missing.
  11588. * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
  11589. * javax/swing/plaf/basic/BasicRadioButtonUI.java:
  11590. Remove most dead/wrong methods.
  11591. (icon): New field.
  11592. (getDefaultIcon): New method.
  11593. * javax/swing/plaf/basic/BasicToggleButtonUI.java:
  11594. Remove most dead/wrong methods.
  11595. * javax/swing/plaf/metal/MetalLookAndFeel.java
  11596. (getDefaults): Return super.getDefaults(), not BasicDefaults.
  11597. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
  11598. (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
  11599. Implement "clearing" as drawing, when on pixmap drawables.
  11600. * javax/swing/JButton.java (getUIClassID):
  11601. * javax/swing/JCheckBox.java (getUIClassID):
  11602. * javax/swing/JEditorPane.java (getUIClassID):
  11603. * javax/swing/JLabel.java (getUIClassID):
  11604. * javax/swing/JList.java (getUIClassID):
  11605. * javax/swing/JOptionPane.java (getUIClassID):
  11606. * javax/swing/JPanel.java (getUIClassID):
  11607. * javax/swing/JPasswordField.java (uiClassID):
  11608. * javax/swing/JRadioButton.java (getUIClassID):
  11609. * javax/swing/JRootPane.java (getUIClassID):
  11610. * javax/swing/JScrollPane.java (getUIClassID):
  11611. * javax/swing/JTabbedPane.java (getUIClassID):
  11612. * javax/swing/JToggleButton.java (getUIClassID):
  11613. * javax/swing/JTree.java (getUIClassID):
  11614. * javax/swing/JViewport.java (getUIClassID):
  11615. * javax/swing/text/JTextComponent.java (getUIClassID):
  11616. Return "fooUI" not "Jfoo"
  11617. 2004-02-11 Michael Koch <konqueror@gmx.de>
  11618. * java/net/DatagramSocket.java
  11619. (setReuseAddress): Use Boolean.valueOf() instead of creating a new
  11620. Boolean object.
  11621. (setBroadcast): Likewise.
  11622. * java/net/MulticastSocket.java
  11623. (setLoopbackMode): Likewise.
  11624. * java/net/ServerSocket.java
  11625. (setReuseAddress): Likewise.
  11626. * java/net/Socket.java
  11627. (setTcpNoDelay): Likewise.
  11628. (setSoLinger): Likewise.
  11629. (setOOBInline): Likewise.
  11630. (setKeepAlive): Likewise.
  11631. (setReuseAddress): Likewise.
  11632. * java/net/URLConnection.java
  11633. (setContentHandler): Replace == with equals().
  11634. * java/net/URLStreamHandler.java
  11635. (hostSEquals): Fix checking host addresses.
  11636. (toExternalForm): Dont check protocol for null. We know already its
  11637. not null.
  11638. 2004-02-10 David Jee <djee@redhat.com>
  11639. * java/awt/BorderLayout.java
  11640. (calcCompSize): Invisible components get zero dimensions.
  11641. * java/awt/Button.java
  11642. (setLabel): Set actionCommand.
  11643. * java/awt/Component.java
  11644. (show): Invalidate component and parent container.
  11645. (hide): Likewise.
  11646. 2004-02-10 David Jee <djee@redhat.com>
  11647. * java/awt/GridBagLayout.java
  11648. (GridBagLayout): New private field, internalcomptable.
  11649. (lookupInternalConstraints): New method.
  11650. (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
  11651. (GetLayoutInfo): Reimplement.
  11652. (calcCellSizes): Ignore rows/columns with size 0.
  11653. 2004-02-10 Michael Koch <konqueror@gmx.de>
  11654. * gnu/java/awt/EmbeddedWindow.java
  11655. (setHandle): Use java.awt.Component.getPeer() instead of
  11656. java.awt.Component.peer directly.
  11657. 2004-02-10 David Jee <djee@redhat.com>
  11658. * gnu/java/awt/peer/gtk/GtkButtonPeer.java
  11659. (gtkSetLabel): New native method definition.
  11660. (setLabel): Use gtkSetLabel.
  11661. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
  11662. (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
  11663. 2004-02-10 Alan Modra <amodra@bigpond.net.au>
  11664. * include/powerpc-signal.h: Revert 2004-01-21 change.
  11665. (INIT_SEGV, INIT_FPE): Provide powerpc64 versions. Check return
  11666. from syscall for ppc32 versions.
  11667. 2004-02-08 Per Bothner <per@bothner.com>
  11668. * java/nio/ByteBuffer.java (shiftDown): New helper method.
  11669. * java/nio/natDirectByteBufferImpl.cc (shiftDown): New implementation.
  11670. * java/nio/ByteBufferImpl.java (compact): Use new shiftDown method.
  11671. * sava/nio/ByteBufferHelper.java: Remove redundant 'final' specifiers.
  11672. Pass ByteOrder parameter to most methods, since the underlying
  11673. ByteBuffer's order isn't always what we should use.
  11674. * java/nio/ByteBufferImpl.java: Pass byte-order various places.
  11675. * java/nio/DirectByteBufferImpl.java: Likewise.
  11676. Use ByteBufferHelper methods.
  11677. * java/nio/MappedByteBufferImpl.java: Likewise.
  11678. (compact): Use shiftDown.
  11679. * java/nio/CharViewBufferImpl.java (<init>): Pass byte-order.
  11680. (get, put): Use ByteBufferHelper.
  11681. (compact): Use new shiftDown method.
  11682. (duplicate(boolean)): New helper method.
  11683. (duplicate, asReadOnlyBuffer): Use it.
  11684. (order): Return endian field.
  11685. * java/nio/DoubleViewBufferImpl.java: Likewise.
  11686. * java/nio/FloatViewBufferImpl.java: Likewise.
  11687. * java/nio/IntViewBufferImpl.java: Likewise.
  11688. * java/nio/LongViewBufferImpl.java: Likewise.
  11689. * java/nio/ShortViewBufferImpl.java: Likewise.
  11690. * java/nio/CharViewBufferImpl.java (subsequence): Redundant test.
  11691. * java/nio/DirectByteBufferImpl.java (shiftDown): New native method.
  11692. (compact): Re-implement using shiftDown.
  11693. 2004-02-08 Andreas Jaeger <aj@suse.de>
  11694. * include/x86_64-signal.h: Fix typo.
  11695. 2004-02-08 Diego Novillo <dnovillo@redhat.com>
  11696. * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
  11697. qualifier to _regs.
  11698. (HANDLE_DIVIDE_OVERFLOW): Likewise.
  11699. 2004-02-06 Michael Koch <konqueror@gmx.de>
  11700. * java/io/ObjectInputStream.java
  11701. (currentClassLoader): Reverted to old version of this method.
  11702. 2004-02-06 Jeroen Frijters <jeroen@frijters.net>
  11703. * java/io/ObjectInputStream.java: Made all calls
  11704. to dumpElement[ln] conditional on dump flag. (readObject): Changed to
  11705. use cached info from ObjectStreamClass. (readClassDescriptor):
  11706. Cache more information in ObjectStreamClass. (processResolution,
  11707. readFields): Use cached info from ObjectStreamClass.
  11708. (newObject): Throw exception instead of returning null for failure.
  11709. (getField, getMethod, callReadMethod, setBooleanField, setByteField,
  11710. setCharField, setDoubleField, setFloatField, setIntField,
  11711. setLongField, setShortField, setObjectField, readObjectParams):
  11712. Removed. (dumpElement, dumpElementln): Removed dump flag condition
  11713. check.
  11714. * java/io/ObjectStreamField.java (hasReadMethod): Removed.
  11715. (setClass): Added call to cacheMethods() (findMethod): New method.
  11716. (cacheMethods): New method. (ObjectStreamClass): Added call to
  11717. cacheMethods(). (setFields): Cache fields. (getClassUID): Use
  11718. AccessController.doPrivileged to invoke setAccessible.
  11719. (readObjectMethod, readResolveMethod, realClassIsSerializable,
  11720. realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
  11721. New fields.
  11722. * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
  11723. (ObjectStreamField): Removed FIXME workaround. (getTypeString,
  11724. isPrimitive): Made safe for cases where type == null.
  11725. (setBooleanField, setByteField, setCharField, setShortField,
  11726. setIntField, setLongField, setFloatField, setDoubleField,
  11727. setObjectField): New methods.
  11728. 2004-02-05 Thomas Fitzsimmons <fitzsim@redhat.com>
  11729. * java/awt/Component.java (getFont): Return a default font
  11730. instead of null.
  11731. * java/awt/Scrollbar.java (next_scrollbar_number): New field.
  11732. (Scrollbar (int, int, int, int, int)): Make default page
  11733. increment 10.
  11734. (setValues): Only call peer.setValues if one of the values has
  11735. changed.
  11736. (generateName): New method.
  11737. (getUniqueLong): New method.
  11738. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
  11739. (range_scrollbar): Remove structure.
  11740. (post_adjustment_event): Remove function.
  11741. (post_change_event): Accept jobject argument.
  11742. (create): Cast jints to gdoubles. Round scrollbar values to the
  11743. nearest integer. Clamp min, max and value settings.
  11744. (connectJObject): Connect hook to widget->window.
  11745. (connectSignals): Remove range_scrollbar structure variables.
  11746. Remove "move-slider" connection. Pass global peer reference to
  11747. "value-changed" callback.
  11748. (setLineIncrement): Cast jint value to gdouble.
  11749. (setPageIncrement): Likewise.
  11750. (setValues): Likewise. Clamp min, max and value settings.
  11751. 2004-02-05 Michael Koch <konqueror@gmx.de>
  11752. * javax/swing/AbstractCellEditor.java
  11753. (getCellEditorValue): Removed.
  11754. * javax/swing/Box.java: Reformated.
  11755. (serialVersionUID): New field.
  11756. * javax/swing/ButtonGroup.java:
  11757. Removed some weird whitespace.
  11758. * javax/swing/CellEditor.java: Reformated.
  11759. * javax/swing/CellRendererPane.java
  11760. (serialVersionUID): New field.
  11761. (AccessibleCellRendererPaneserialVersionUID): New field.
  11762. * javax/swing/DefaultListModel.java
  11763. (serialVersionUID): New field.
  11764. * javax/swing/JEditorPane.java
  11765. (serialVersionUID): New field.
  11766. (setPage): Throws IOException.
  11767. (addHyperlinkListener): Implemented.
  11768. (removeHyperlinkListener): Implemented.
  11769. (getHyperlinkListener): New method.
  11770. * javax/swing/JFileChooser.java
  11771. (serialVersionUID): New field.
  11772. (AccessibleJFileChooser.serialVersionUID): New field.
  11773. (addActionListener): Implemented.
  11774. (removeActionListener): Implemented.
  11775. (getActionListeners): New method.
  11776. * javax/swing/JFormattedTextField.java
  11777. (serialVersionUID): New field.
  11778. (AbstractFormatter.serialVersionUID): New field.
  11779. (clone): Throws CloneNotSupportedException
  11780. (setEditValid): Add missing argument.
  11781. (stringToValue): Throws ParseExcpetion.
  11782. (valueToString): Throws ParseException.
  11783. (commitEdit): Throws ParseException.
  11784. * javax/swing/JLabel.java
  11785. (serialVersionUID): New field.
  11786. * javax/swing/JList.java
  11787. (serialVersionUID): New field.
  11788. (addListSelectionListener): Reformated.
  11789. (removeListSelectionListener): Reformated.
  11790. (getListSelectionListeners): New method.
  11791. * javax/swing/colorchooser/AbstractColorChooserPanel.java:
  11792. Reformated.
  11793. (serialVersionUID): New field.
  11794. * javax/swing/table/AbstractTableModel.java
  11795. (getValueAt): Removed.
  11796. (getColumnCount): Removed.
  11797. (getRowCount): Removed.
  11798. 2004-02-05 Michael Koch <konqueror@gmx.de>
  11799. * java/awt/datatransfer/DataFlavor.java
  11800. (imageFlavor): Javadoc added.
  11801. (javaJVMLocalObjectType): Fixed.
  11802. 2004-02-05 Michael Koch <konqueror@gmx.de>
  11803. * java/lang/Thread.java
  11804. (Thread): Reordered.
  11805. (setContextClassLoader): Fixed javadoc comment.
  11806. (setPriority): Reordered.
  11807. (yield): Reordered.
  11808. (initialize_native): Reordered.
  11809. (gen_name): Reordered.
  11810. 2004-02-05 Michael Koch <konqueror@gmx.de>
  11811. * java/lang/Thread.java: Reordered fields, reformated much code,
  11812. no functional changes, some variables renamed, javadoc comments
  11813. merged.
  11814. 2004-02-05 Michael Koch <konqueror@gmx.de>
  11815. * java/util/zip/Deflater.java,
  11816. java/util/zip/DeflaterOutputStream.java,
  11817. java/util/zip/GZIPInputStream.java:
  11818. Reformated and javadoc comments merged from classpath.
  11819. 2004-02-05 Michael Koch <konqueror@gmx.de>
  11820. * gnu/java/nio/NIOServerSocket.java
  11821. (impl): Unused, removed.
  11822. * gnu/java/nio/SocketChannelImpl.java
  11823. (finnishConnect): Don't throw NoConnectionPendingException if not
  11824. connected or no connection pending.
  11825. 2004-02-02 Graydon Hoare <graydon@redhat.com>
  11826. * javax/swing/SwingUtilities.java: Many new functions.
  11827. * java/awt/Container.java (LightweightDispatcher): Reimplement.
  11828. * javax/swing/basic/BasicGraphicsUtils.java
  11829. (getPreferredButtonSize): Start layout from top-left corner.
  11830. 2004-02-04 Olga Rodimina <rodimina@redhat.com>
  11831. * java/awt/geom/AffineTransform.java:
  11832. Corrected comments on the field definitions for
  11833. m11 and m10.
  11834. (shear): Fixed few errors that caused shear
  11835. transformation to be performed incorrectly.
  11836. (createInverse): Fixed to return correct
  11837. inverse of the given matrix.
  11838. 2004-02-03 Tom Tromey <tromey@redhat.com>
  11839. * java/lang/natPosixProcess.cc (startProcess): Handle case where
  11840. PATH or LD_LIBRARY_PATH is not set in parent environment.
  11841. 2004-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
  11842. * gnu/java/awt/peer/gtk/GtkListPeer.java,
  11843. java/awt/BorderLayout.java, java/awt/CardLayout.java,
  11844. java/awt/CheckboxGroup.java, java/awt/Choice.java,
  11845. java/awt/Component.java, java/awt/Container.java,
  11846. java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
  11847. java/awt/LayoutManager2.java, java/awt/List.java,
  11848. java/awt/Menu.java, java/awt/MenuBar.java,
  11849. java/awt/MenuItem.java, java/awt/Polygon.java,
  11850. java/awt/Rectangle.java, java/awt/ScrollPane.java,
  11851. java/awt/Scrollbar.java, java/awt/TextArea.java,
  11852. java/awt/TextField.java,
  11853. java/awt/image/renderable/RenderContext.java,
  11854. javax/swing/JApplet.java: Fix handling of alias methods, where a
  11855. method has been deprecated in favour of a new one with the same
  11856. funtion but a different name. Put the method implementation in
  11857. the deprecated method and have the new method call the
  11858. deprecated one. Make all other code call the new method.
  11859. 2004-02-03 Mohan Embar <gnustuff@thisiscool.com>
  11860. * gnu/java/nio/DatagramChannelImpl.java
  11861. (inChannelOperation): New field.
  11862. (isInChannelOperation): New accessor.
  11863. (setInChannelOperation): New modifier.
  11864. (receive): Use capacity() - position() of destination
  11865. buffer instead of remaining(). Set and reset our "in
  11866. channel operation indicator" before and after delegating
  11867. the receive to our datagram socket. Removed testing code.
  11868. Update destination buffer's current position if it is
  11869. backed by a byte array (hasArray() is true).
  11870. (send): Set and reset our "in channel operation indicator"
  11871. before and after delegating the send to our datagram socket.
  11872. Removed testing code. Update source buffer's current position
  11873. if it is backed by a byte array (hasArray() is true).
  11874. * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
  11875. Use capacity() - position() of destination buffer instead
  11876. of remaining().
  11877. * java/net/DatagramSocket.java (receive): Don't throw an
  11878. IllegalBlockingModeException if we have a non-blocking
  11879. channel which initiated this operation.
  11880. (send): Likewise.
  11881. 2004-02-01 Thomas Fitzsimmons <fitzsim@redhat.com>
  11882. * configure.in: Add pkgconfig check for glib and gthread.
  11883. * configure: Regenerate.
  11884. 2004-02-01 Michael Koch <konqueror@gmx.de>
  11885. * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
  11886. arguments.
  11887. * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
  11888. * verify.cc (debug_print): Mark 'fmt' unused.
  11889. 2004-01-30 Michael Koch <konqueror@gmx.de>
  11890. * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
  11891. * configure: Regenerated.
  11892. * glib-2.0.m4: Removed.
  11893. * gtk-2.0.m4: Removed.
  11894. * libart.m4: Removed.
  11895. * pkg.m4: New file.
  11896. 2004-01-30 Mohan Embar <gnustuff@thisiscool.com>
  11897. * gnu/java/net/PlainSocketImpl.java
  11898. (inChannelOperation): New field.
  11899. (isInChannelOperation): New accessor.
  11900. (setInChannelOperation): New modifier.
  11901. * gnu/java/nio/ServerSocketChannelImpl.java
  11902. (accept): Set and reset our server socket's PlainSocketImpl's
  11903. "in channel operation" indicator before and after delegating
  11904. the accept to our server socket.
  11905. * gnu/java/nio/SocketChannelImpl.java
  11906. (connect): Set and reset our socket's PlainSocketImpl's "in channel
  11907. operation" indicator before and after delegating the operation to
  11908. our socket.
  11909. (read): Likewise.
  11910. (write): Likewise.
  11911. * java/net/ServerSocket.java (implAccept): Don't throw an
  11912. IllegalBlockingModeException if we have a non-blocking
  11913. channel which initiated this accept operation.
  11914. * java/net/Socket.java (connect): Don't throw an
  11915. IllegalBlockingModeException if we have a non-blocking
  11916. channel which initiated this connect operation.
  11917. * java/nio/channels/spi/AbstractSelectableChannel.java
  11918. (configureBlocking): Only call implConfigureBlocking() if
  11919. the desired blocking mode is different from our current one.
  11920. 2004-01-29 Mohan Embar <gnustuff@thisiscool.com>
  11921. * java/io/BufferedReader.java (sbuf): New field.
  11922. (readLine): Use String.valueOf instead of new String() as per
  11923. Per Bothner's suggestion. Use instance sbuf field instead of a
  11924. local StringBuffer instance.
  11925. * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
  11926. caller's buffer to refill().
  11927. (read(void)): Pass our internal work buffer to refill if our
  11928. input queue is empty.
  11929. (refill): Changed return type to int. Use the specified buffer
  11930. instead of our work buffer as per Bryce McKinlay's suggestion.
  11931. Return the number of characters read or -1 for EOF.
  11932. 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
  11933. * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
  11934. 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
  11935. * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
  11936. * Makefile.in: Re-generated.
  11937. * gnu/awt/xlib/XFontPeer.java: New file.
  11938. * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
  11939. (setClip): Commented out debug printout.
  11940. * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
  11941. (getFontPeer): Return XFontPeer.
  11942. (getLocalGraphicsEnvironment): New method.
  11943. (getClasspathFontPeer): New method.
  11944. (createFont): New method.
  11945. 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
  11946. * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
  11947. return null.
  11948. 2004-01-29 Kim Ho <kho@redhat.com>
  11949. * gnu/java/awt/peer/gtk/GtkFramePeer.java
  11950. (gtkLayoutSetVisible): New method
  11951. (setMenuBar): Hide layout before setting MenuBar
  11952. and reshow it after.
  11953. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
  11954. (gtkLayoutSetVisible): Hide or show the Gtk Layout.
  11955. 2004-01-28 Michael Koch <konqueror@gmx.de>
  11956. * gnu/java/lang/ClassHelper.java
  11957. (getPackagePortion): Removed.
  11958. 2004-01-28 Michael Koch <konqueror@gmx.de>
  11959. * javax/swing/JComponent.java
  11960. (listenerList): Initalize globally.
  11961. (ancestor_list): Removed.
  11962. (veto_list): Removed.
  11963. (change_list): Removed.
  11964. (get_veto_list): Removed.
  11965. (get_change_list): Removed.
  11966. (get_ancestor_list): Removed.
  11967. (removeAncestorListener): Reimplemented.
  11968. (removePropertyChangeListener): Likewise.
  11969. (removeVetoableChangeListener): Likewise.
  11970. (addAncestorListener): Likewise.
  11971. (addPropertyChangeListener): Likewise.
  11972. (addVetoableChangeListener): Likewise.
  11973. (getListeners): New method.
  11974. (getAncestorListeners): Likewise.
  11975. (getVetoableChangeListeners): Likewise.
  11976. (fireVetoableChange): Throws PropertyVetoException.
  11977. * javax/swing/JEditorPane.java
  11978. (JEditorPane): Throws IOException.
  11979. 2004-01-28 David Jee <djee@redhat.com>
  11980. * gnu/java/awt/peer/gtk/GtkFramePeer.java
  11981. (create): Set the default foreground color to
  11982. java.awt.SystemColor.windowText.
  11983. 2004-01-27 Michael Koch <konqueror@gmx.de>
  11984. * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
  11985. * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
  11986. Reindented to merge with classpath.
  11987. 2004-01-27 David Jee <djee@redhat.com>
  11988. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
  11989. (addExposeFilter): Handle GtkFramePeer separately.
  11990. (removeExposeFilter): Likewise.
  11991. 2004-01-27 Michael Koch <konqueror@gmx.de>
  11992. * gnu/java/net/protocol/http/Connection.java
  11993. (getOutputStream): Fixed typo.
  11994. 2004-01-27 Michael Koch <konqueror@gmx.de>
  11995. * java/lang/Class.java
  11996. (getConstructor): Removed SecurityException from throws clause.
  11997. (_getConstructors): Likewise.
  11998. (getConstructors): Likewise.
  11999. (getDeclaredConstructor): Likewise.
  12000. (getDeclaredClasses): Likewise.
  12001. (getDeclaredConstructors): Likewise.
  12002. (getDeclaredField): Likewise.
  12003. (getDeclaredMethod): Likewise.
  12004. (getDeclaredMethods): Likewise.
  12005. (getField): Likewise.
  12006. (getMethod): Likewise.
  12007. (getMethods): Likewise.
  12008. 2004-01-27 Kim Ho <kho@redhat.com>
  12009. * gnu/java/awt/peer/gtk/GtkFramePeer.java
  12010. (removeMenuBarPeer): Remove MenuBarPeer argument.
  12011. * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
  12012. (dispose): Call native method.
  12013. * java/awt/Frame.java (setMenuBar): Create and remove
  12014. MenuBar peers only if the Frame has a peer.
  12015. (addNotify): Create the MenuBar peer if one exists.
  12016. (removeNotify): Remove MenuBar peer if one exists.
  12017. * java/awt/Menu.java: Fix imports.
  12018. (addNotify): Don't use full class name.
  12019. (removeNotify): Call removeNotify on all children.
  12020. * java/awt/MenuBar.java (removeNotify): Call
  12021. removeNotify on all children.
  12022. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
  12023. (removeMenuBarPeer): Remove MenuBarPeer argument.
  12024. Iterate through children to find the Frame's MenuBar.
  12025. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
  12026. New file.
  12027. (dispose): Remove references to the MenuComponent.
  12028. 2004-01-27 Michael Koch <konqueror@gmx.de>
  12029. * javax/swing/AbstractCellEditor.java: Reformated.
  12030. * javax/swing/DefaultListSelectionModel.java
  12031. (listenerList): Made protected.
  12032. (addListSelectionListener): Javadoc added.
  12033. (removeListSelectionListener): Likewise.
  12034. (getListeners): Likewise.
  12035. (getListSelectionListeners): Likewise.
  12036. * javax/swing/JComboBox.java: Merged copyright year.
  12037. * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
  12038. 2004-01-26 Andrew Haley <aph@redhat.com>
  12039. * javax/swing/table/JTableHeader.java: Extend JComponent
  12040. 2004-01-26 Kim Ho <kho@redhat.com>
  12041. * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
  12042. Fix spacing.
  12043. 2004-01-26 Kim Ho <kho@redhat.com>
  12044. * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
  12045. method.
  12046. (setMenuBar): Shift the Gtk layout up/down by the MenuBar
  12047. height and let the Layout Managers readjust anything that
  12048. needs to move.
  12049. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
  12050. (moveLayout): New method. Shift everything in the Gtk
  12051. layout in the Y direction by an offset.
  12052. 2004-01-26 David Jee <djee@redhat.com>
  12053. * gnu/java/awt/peer/gtk/GtkComponentPeer.java
  12054. (handleEvent): Implemented. Handles PaintEvents.
  12055. (paint): Implemented. Use GTK native methods to queue updates
  12056. for this heavyweight peer.
  12057. * gnu/java/awt/peer/gtk/GtkContainerPeer.java
  12058. (handleEvent): Removed.
  12059. * java/awt/Component.java
  12060. (paint): Implemented. Explictly paint the heavyweight peer.
  12061. (update): Clear the background for heavyweight components.
  12062. (paintAll): No need to call peer.paint() anymore.
  12063. (processEvent): Don't process PaintEvents here. It's now done in
  12064. the peer's handleEvent().
  12065. (processPaintEvent): Removed.
  12066. * java/awt/Container.java
  12067. (paint): No need to call super.paint(). Visit heavyweight
  12068. children as well.
  12069. (update): Don't clear the background here. It's done in
  12070. Component.update().
  12071. (visitChildren): Added check to not recurse into Containers.
  12072. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
  12073. (filter_expose_event_handler): New method. Filter unwanted
  12074. expose events while painting heavyweight peers.
  12075. (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
  12076. New method. Connect filter and block pre_event_handler.
  12077. (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
  12078. New method. Disconnect filter and unblock pre_event_handler.
  12079. (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
  12080. New method. Invalidate and update given area.
  12081. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
  12082. (pre_event_handler): Add checks for unwanted expose events.
  12083. 2004-01-26 David Jee <djee@redhat.com>
  12084. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
  12085. (find_bg_color_widget): For GtkButton, return its child.
  12086. 2004-01-26 Kim Ho <kho@redhat.com>
  12087. * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
  12088. private.
  12089. (setMenuBar): Grab MenuBar height and change insets.
  12090. (setBounds): Account for MenuBar height.
  12091. (postInsetsChangedEvent): Ditto.
  12092. (postSizeAllocateEvent): Remove.
  12093. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
  12094. (menubar_resize_cb): Remove
  12095. (setMenuBarPeer): Remove callback.
  12096. (getMenuBarHeight): Use size requisition instead of
  12097. allocation.
  12098. 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
  12099. * java/awt/TextArea.java: Fix indentation. Flesh out javadocs.
  12100. (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
  12101. when peer is null.
  12102. (setColumns): Remove FIXME -- peer will retrieve number of
  12103. columns by calling getColumns.
  12104. (setRows): Likewise for number of rows.
  12105. (next_text_number): New field.
  12106. (paramString): Fix param string.
  12107. (generateName): New method.
  12108. (getUniqueLong): New method.
  12109. 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
  12110. * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
  12111. image observer of image loading status.
  12112. (getImage (String)): Start image production.
  12113. (getImage (URL)): Likewise.
  12114. 2004-01-25 Michael Koch <konqueror@gmx.de>
  12115. * java/lang/Class.java: Imports reworked, reformated.
  12116. (Class): Javadoc added.
  12117. (forName): Likewise.
  12118. (getClasses): Likewise.
  12119. (getClassLoader): Likewise.
  12120. (getComponentType): Likewise.
  12121. (getConstructor): Likewise.
  12122. (getConstructors): Likewise.
  12123. (getDeclaredConstructor): Likewise.
  12124. (getDeclaredClasses): Likewise.
  12125. (getDeclaredConstructors): Likewise.
  12126. (getDeclaredField): Likewise.
  12127. (getDeclaredMethod): Likewise.
  12128. (getDeclaredMethods): Likewise.
  12129. (getDeclaringClass): Likewise.
  12130. (getField): Likewise.
  12131. (getInterfaces): Likewise.
  12132. (getMethod): Likewise.
  12133. (getMethods): Likewise.
  12134. (getModifiers): Likewise.
  12135. (getName): Likewise.
  12136. (getResource): Likewise.
  12137. (getResourceAsStream): Likewise.
  12138. (getSigners): Likewise.
  12139. (setSigners): Likewise.
  12140. (getSuperclass): Likewise.
  12141. (isArray): Likewise.
  12142. (isAssignableFrom): Likewise.
  12143. (isInstance): Likewise.
  12144. (isInterface): Likewise.
  12145. (isPrimitive): Likewise.
  12146. (newInstance): Likewise.
  12147. (getProtectionDomain): Likewise.
  12148. (toString): Likewise.
  12149. (Class): Moved.
  12150. (initializeClass): Likewise.
  12151. (finalize): Likewise.
  12152. 2004-01-24 Michael Koch <konqueror@gmx.de>
  12153. * gnu/java/net/protocol/jar/Connection.java
  12154. (hdrHash): Removed.
  12155. (hdrVec): Removed.
  12156. (gotHeaders): Removed.
  12157. (getHeaderField): Removed.
  12158. (getHeaderFields): Removed.
  12159. (getHeaderFieldKey): Removed.
  12160. (getKey): Removed.
  12161. (getField): Removed.
  12162. (getHeaders): Removed.
  12163. 2004-01-24 Michael Koch <konqueror@gmx.de>
  12164. * Makefile.am: Added library version to gtk peer lib.
  12165. * Makefile.in: Regenerated.
  12166. 2004-01-24 Michael Koch <konqueror@gmx.de>
  12167. * java/util/zip/InflaterInputStream.java: Merged class documentation
  12168. with classpath.
  12169. 2004-01-21 Jakub Jelinek <jakub@redhat.com>
  12170. * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
  12171. header. For __powerpc64__ provide the default-signal.h definitions
  12172. for now.
  12173. * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
  12174. instead of the dummy definitions.
  12175. * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
  12176. (powerpc64*-*): Remove with_libffi_default.
  12177. Only add -mminimal-toc for 64-bit compilations.
  12178. * configure.in: Use powerpc-signal.h on powerpc64 as well.
  12179. (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
  12180. Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
  12181. * configure: Rebuilt.
  12182. 2004-01-23 Michael Koch <konqueror@gmx.de>
  12183. * gnu/java/nio/FileLockImpl.java: Compile fixes.
  12184. 2004-01-23 Michael Koch <konqueror@gmx.de>
  12185. * java/lang/VMClassLoader.java: Reworked imports.
  12186. 2004-01-23 Michael Koch <konqueror@gmx.de>
  12187. * javax/swing/AbstractAction.java: Reformated.
  12188. 2004-01-23 Michael Koch <konqueror@gmx.de>
  12189. * java/text/CollationElementIterator.java:
  12190. (setText): New method.
  12191. 2004-01-23 Michael Koch <konqueror@gmx.de>
  12192. * gnu/java/nio/FileLockImpl.java:
  12193. Fixed filename in copyright.
  12194. (released): Removed.
  12195. (finalize): New method.
  12196. * gnu/java/nio/natFileLockImpl.cc
  12197. (releaseImpl): Implemented.
  12198. * java/nio/channels/FileChannelImpl.java:
  12199. Reworked imports.
  12200. (lock): Implemented.
  12201. (lockImpl): New method.
  12202. (tryLock): Implemented.
  12203. (tryLockImpl): New method.
  12204. * java/nio/channels/natFileChannelImpl.cc
  12205. (lockImpl): New method.
  12206. (tryLockImpl): New method.
  12207. 2004-01-23 Michael Koch <konqueror@gmx.de>
  12208. * java/io/FileDescriptor.java
  12209. (lock): New method.
  12210. (tryLock): New method.
  12211. (unlock): New method.
  12212. * java/io/natFileDescriptorEcos.cc
  12213. (lock): New method.
  12214. (tryLock): New method.
  12215. (unlock): New method.
  12216. * java/io/natFileDescriptorPosix.cc
  12217. (lock): New method.
  12218. (tryLock): New method.
  12219. (unlock): New method.
  12220. * java/io/natFileDescriptorWin32.cc
  12221. (lock): New method.
  12222. (tryLock): New method.
  12223. (unlock): New method.
  12224. 2004-01-23 Michael Koch <konqueror@gmx.de>
  12225. * java/io/FileDescriptor.java
  12226. (sync): Moved around, added javadoc.
  12227. (valid): Likewise.
  12228. (open): Likewise.
  12229. (write): Likewise.
  12230. (close): Likewise.
  12231. (setLength): Likewise.
  12232. (seek): Likewise.
  12233. (getLength): Likewise.
  12234. (getFilePointer): Likewise.
  12235. (read): Likewise.
  12236. (available): Likewise.
  12237. (finalize): Likewise.
  12238. 2004-01-23 Michael Koch <konqueror@gmx.de>
  12239. * javax/swing/AbstractAction.java: Reformated.
  12240. (getPropertyChangeListeners): New method.
  12241. * javax/swing/AbstractCellEditor.java: Reformated.
  12242. (getCellEditorListeners): New method.
  12243. * javax/swing/DefaultListSelectionModel.java
  12244. (listenerList): New field.
  12245. (listeners): Removed.
  12246. (get_listeners): Removed.
  12247. (addListSelectionListener): Rewritten.
  12248. (removeListSelectionListener): Rewritten.
  12249. (getListSelectionListeners): New method.
  12250. (getListeners): New method.
  12251. * javax/swing/JComboBox.java: Imports reworked.
  12252. (addActionListener): Implemented.
  12253. (removeActionListener): Implemented.
  12254. (addItemListener): Implemented.
  12255. (removeItemListener): Implemented.
  12256. (addPopupMenuListener): Implemented.
  12257. (removePopupMenuListener): Implemented.
  12258. (getActionListeners): New method.
  12259. (getItemListeners): New method.
  12260. (getPopupMenuListeners): New method.
  12261. 2004-01-23 Michael Koch <konqueror@gmx.de>
  12262. * gnu/java/net/protocol/http/Connection.java
  12263. (connect): Don't initialize bufferedOutputStream if not needed.
  12264. (sendRequest): Set property for content length if content is present.
  12265. Write content only if present.
  12266. (getOutputStream): Check if already connected, dont connect,
  12267. initalize bufferedOutputStream if needed.
  12268. 2004-01-23 Michael Koch <konqueror@gmx.de>
  12269. * java/io/FileDescriptor.java
  12270. (in, out, err): Added javadoc.
  12271. (static): Merged loading code.
  12272. (fd, position): Moved around.
  12273. 2004-01-23 Michael Koch <konqueror@gmx.de>
  12274. * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
  12275. New file.
  12276. 2004-01-23 Michael Koch <konqueror@gmx.de>
  12277. * java/lang/Class.java,
  12278. java/lang/Object.java,
  12279. java/lang/Thread.java: Merged copyright with classpath.
  12280. 2004-01-23 Michael Koch <konqueror@gmx.de>
  12281. * java/io/FileDescriptor.java: Merged copyright with classpath to
  12282. start merging this class.
  12283. 2004-01-22 Tom Tromey <tromey@redhat.com>
  12284. PR libgcj/13107:
  12285. * testsuite/libjava.lang/pr13107_2.xfail: New file.
  12286. * testsuite/libjava.lang/pr13107_3.xfail: New file.
  12287. * testsuite/libjava.lang/pr13107_3.java: New file.
  12288. * testsuite/libjava.lang/pr13107_3.out: New file.
  12289. * testsuite/libjava.lang/pr13107_2.java: New file.
  12290. * testsuite/libjava.lang/pr13107_2.out: New file.
  12291. * testsuite/libjava.lang/pr13107.java: New file.
  12292. * testsuite/libjava.lang/pr13107.out: New file.
  12293. * verify.cc (jsr_ptrs): Removed.
  12294. (entry_points): Likewise.
  12295. (struct subr_info): Likewise.
  12296. (struct subr_entry_info): Likewise.
  12297. (type_val::unused_by_subroutine_type): Likewise.
  12298. (type::merge): Don't handle unused_by_subroutine_type.
  12299. (type::print): Likewise.
  12300. (state::flags): Removed.
  12301. (state::subroutine): Likewise.
  12302. (state::seen_subrs): Likewise.
  12303. (state::NO_STACK): Likewise.
  12304. (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
  12305. (state): Updated all methods.
  12306. (state::clean_subrs): Removed.
  12307. (state::state): Removed `ret_semantics' flag.
  12308. (state::copy): Likewise.
  12309. (state::add_subr): Removed.
  12310. (state::enter_subroutine): Likewise.
  12311. (type::set_return_address): New method.
  12312. (handle_jsr_insn): Set return address on the type. Always
  12313. invalidate PC after call.
  12314. (check_nonrecursive_call): Removed.
  12315. (~_Jv_BytecodeVerifier): Updated.
  12316. (branch_prepass): Removed special handling of jsr.
  12317. (note_branch_target): Likewise.
  12318. (get_subroutine): Removed.
  12319. (state::merge): Don't merge subroutines and don't handle
  12320. NO_STACK. Removed ret_semantics and jsr_semantics arguments.
  12321. (state::note_variable): Removed.
  12322. (state::is_unmerged_ret_state): Likewise.
  12323. (state::print): Updated.
  12324. (set_variable): Likewise.
  12325. (merge_into): Renamed from push_jump_merge. Removed ret_semantics
  12326. and jsr_semantics arguments. Updated for new reverification
  12327. list.
  12328. (pop_jump): Rewrote.
  12329. (construct_primitive_array_type): Updated.
  12330. (state::next): Removed.
  12331. (INVALID_STATE): New define.
  12332. (state::INVALID): Removed.
  12333. (state::NO_NEXT): New value.
  12334. (state::pc, state::next): New fields.
  12335. (state::get_pc): New method.
  12336. (next_verify_pc): Removed.
  12337. (next_verify_state): New field.
  12338. (verify_instructions_0): Always check for falling off end.
  12339. (linked): New type.
  12340. (linked_utf8): Removed.
  12341. (states): Changed type.
  12342. (type::state_mergeable_p): New method.
  12343. (state::state_mergeable_p): Likewise.
  12344. (handle_ret_insn): Removed most code.
  12345. (state::reverify): New method.
  12346. (add_new_state): Likewise.
  12347. (state::set_pc): Likewise.
  12348. 2004-01-22 Jeff Sturm <jsturm@one-point.com>
  12349. PR java/13733
  12350. * testsuite/libjava.compile/PR13733.java: New file.
  12351. * testsuite/libjava.compile/PR13733.xfail: New file.
  12352. 2004-01-22 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
  12353. Michael Koch <konqueror@gmx.de>
  12354. * javax/swing/table/DefaultTableCellRenderer.java
  12355. (DefaultTableCellRenderer): Added javadoc for the class and for
  12356. the constructor, Border instance, create an EmptyBorder.
  12357. (UIResource): Removed the comment at the end of the class
  12358. (setForeground): New method.
  12359. (setBackground): New method.
  12360. (updateUI): New method.
  12361. (getTableCellRendererComponent): Rewritten with the help of
  12362. dvholten and Stephane Meslin-Weber.
  12363. (validate): New method.
  12364. (repaint): New method.
  12365. (firePropertyChange): New method.
  12366. (setValue): New method.
  12367. 2004-01-22 Thomas Fitzsimmons <fitzsim@redhat.com>
  12368. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
  12369. (connectJObject): Replace printf calls with g_assert statements.
  12370. Move property-notify-event signal connection to ...
  12371. (connectSignals): Connect property-notify-event signal. Iterate
  12372. through the vbox's children to find layout.
  12373. 2004-01-22 Graydon Hoare <graydon@redhat.com>
  12374. * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
  12375. * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
  12376. Predicate static initialization on GtkToolkit.useGraphics2D().
  12377. * java/awt/Component.java (processPaintEvent): Consume event.
  12378. * javax/swing/AbstractButton.java: Reimplement, document.
  12379. * javax/swing/DefaultButtonModel.java: Reimplement, document.
  12380. * javax/swing/JComponent.java (paint): Use double buffer.
  12381. (listenerList): Enable member.
  12382. * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
  12383. * javax/swing/JToggleButton.java
  12384. (JToggleButton): Modify model constructor.
  12385. * javax/swing/SwingUtilities.java
  12386. (layoutCompoundLabel): Adjust arithmetic.
  12387. * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
  12388. * javax/swing/plaf/basic/BasicGraphicsUtils.java
  12389. (getPreferredButtonSize): Include margins in calculation.
  12390. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
  12391. (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
  12392. Receive up events from subordinate layout component.
  12393. 2004-01-21 Thomas Fitzsimmons <fitzsim@redhat.com>
  12394. * java/awt/Component.java (show): Set visible to true before
  12395. showing the peer.
  12396. 2004-01-21 Kim Ho <kho@redhat.com>
  12397. * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
  12398. Fix comments.
  12399. (removeMenuBarPeer): Make package private.
  12400. (setMenuBarPeer): Make package private.
  12401. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
  12402. (menubar_resize_cb): Mark attributes unused.
  12403. (getMenuBarHeight): ditto.
  12404. 2004-01-21 David Jee <djee@redhat.com>
  12405. * java/awt/Container.java
  12406. (LightweightDispatcher.handleEvent): Add an extra check to avoid
  12407. dispatching MOUSE_ENTERED event twice. Translate the point for
  12408. the mouse event target before dispatching the event.
  12409. 2004-01-20 Jakub Jelinek <jakub@redhat.com>
  12410. * Makefile.am (lib_org_w3c_dom_la_LIBADD,
  12411. lib_org_w3c_dom_la_LDFLAGS): New.
  12412. (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
  12413. * Makefile.in: Rebuilt.
  12414. 2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com>
  12415. * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
  12416. Calculate proper offsets for heavyweight components packed in
  12417. lightweight containers.
  12418. * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
  12419. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
  12420. (native create): Add width parameter.
  12421. (create): Calculate text entry width based on current font's
  12422. metrics and number of columns. Set TextField's font if not
  12423. already set. Call native create.
  12424. (gtkEntryGetBorderWidth): New native method.
  12425. (gtkEntryGetSize): Remove method.
  12426. (getMinimumSize): Call minimumSize.
  12427. (getPreferredSize): Call preferredSize.
  12428. (minimumSize): Calculate minimum size based on backing
  12429. GtkEntry's borders, font metrics and number of columns.
  12430. (preferredSize): Likewise for preferred size.
  12431. (get_border_width): New static function.
  12432. * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
  12433. Override GtkWindowPeer's setResizable method to account for menu
  12434. bar height when setting the frame's size.
  12435. 2004-01-19 Matthias Klose <doko@debian.org>
  12436. * libtool-version: Increased `current' to 6.
  12437. 2004-01-19 Kim Ho <kho@redhat.com>
  12438. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
  12439. (connectJObject): Iterate through the vbox's children to find layout.
  12440. 2004-01-19 Fernando Nasser <fnasser@redhat.com>
  12441. * java/awt/EventQueue.java (invokeAndWait): Use list-aware
  12442. isDispatchThread method to replace wrong test condition.
  12443. 2004-01-19 Fernando Nasser <fnasser@redhat.com>
  12444. * java/awt/EventQueue.java (pop): Prevent racing condition to add
  12445. events to the queue out of order by acquiring locks in the proper
  12446. order and not by releasing one before acquiring the other.
  12447. 2004-01-19 Fernando Nasser <fnasser@redhat.com>
  12448. * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
  12449. visible so that dialog can be reused.
  12450. 2004-01-19 Fernando Nasser <fnasser@redhat.com>
  12451. * java/awt/EventQueue.java (getCurrentEvent): Consider that system
  12452. events may be handled by any queue in the stack.
  12453. 2004-01-19 Kim Ho <kho@redhat.com>
  12454. * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
  12455. MenuBarPeer parameter.
  12456. (removeMenuBarPeer): New native method.
  12457. (setMenuBar): Call remove if menu bar is null. Adjust insets
  12458. appropriately.
  12459. (postSizeAllocateEvent): New method. Called when menu bar size is
  12460. allocated. Adjust insets and redo layout.
  12461. (GtkFramePeer): Set menu bar during frame creation.
  12462. (postConfigureEvent): Adjust position and size to accomodate
  12463. menu bar.
  12464. * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
  12465. * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
  12466. (addNotify): Create the peer if it doesn't exist and call addNotify
  12467. for the menu's items.
  12468. * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
  12469. * java/awt/MenuItem.java (addNotify): Create the peer if it
  12470. doesn't exist.
  12471. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
  12472. (removeMenuBarPeer): New method. Remove menu bar on the current
  12473. frame.
  12474. (setMenuBarPeer): Add the menu bar to the current frame and the
  12475. callback for size-allocate events on the menu bar.
  12476. (getMenuBarHeight): Add menu bar parameter.
  12477. (menubar_resize_cb): New callback method for postSizeAllocate events.
  12478. Also: Fix indentation on last ChangeLog entry.
  12479. 2004-01-16 Kim Ho <kho@redhat.com>
  12480. * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
  12481. (gtkWidgetGetDimensions): Remove.
  12482. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
  12483. (gtkWidgetGetDimensions): Remove.
  12484. 2004-01-16 Tom Tromey <tromey@redhat.com>
  12485. * java/awt/Container.java: Typo and indentation fixes.
  12486. * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
  12487. * java/lang/natVMClassLoader.cc: ...here. New file.
  12488. * Makefile.in: Rebuilt.
  12489. * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
  12490. 2004-01-16 Fernando Nasser <fnasser@redhat.com>
  12491. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
  12492. Discard GDK_ENTER_NOTIFY related to ungrabs.
  12493. 2004-01-16 Fernando Nasser <fnasser@redhat.com>
  12494. * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
  12495. is called for an intermediate queue.
  12496. 2004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com>
  12497. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
  12498. (window_property_changed_cb): Set id_set.
  12499. 2004-01-16 Kim Ho <kho@redhat.com>
  12500. * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
  12501. it is a FileDialog and has dimensions of 0 by 0, then the initial
  12502. size is set to size request plus insets.
  12503. * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
  12504. (gtkWidgetGetDimensions): Override method.
  12505. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
  12506. (gtkWidgetGetDimensions): Override method. Returns size request plus
  12507. insets.
  12508. 2004-01-16 Andrew Haley <aph@redhat.com>
  12509. * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
  12510. * sysdep/i386/locks.h: Likewise.
  12511. 2004-01-16 Fernando Nasser <fnasser@redhat.com>
  12512. * java/awt/EventDispatchThread.java (run): Stop running when
  12513. interrupted.
  12514. * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
  12515. Reset the queue after transferring its contents.
  12516. (push): Start a new dispatch thread if none is running.
  12517. 2004-01-16 Olga Rodimina <rodimina@redhat.com>
  12518. * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
  12519. (doPolygon): set fill rule of polygon to
  12520. WIND_EVEN_ODD by default.
  12521. 2004-01-15 Olga Rodimina <rodimina@redhat.com>
  12522. * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
  12523. Implemented rendering hints related methods.
  12524. (getDefaultHints): New helper method. Returns
  12525. default rendering hints.
  12526. (walkPath): changed to normalize path if
  12527. the KEY_STROKE_CONTROL key is in "normalize" mode.
  12528. (draw3DRect): changed coordinates of rectangle by +0.5
  12529. if in "normalize" mode.
  12530. 2004-01-15 Tom Tromey <tromey@redhat.com>
  12531. * Makefile.in: Rebuilt.
  12532. * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
  12533. (%.lo: %.java) Filter out StackTrace.lo.
  12534. 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
  12535. * configure.in: Add in AC_PREREQ(2.13)
  12536. * libltdl/configure.ac: Update to AC_PREREQ(2.57). Delete
  12537. FIXME comment.
  12538. 2004-01-14 Nathan Bryant <nbryant@optonline.net>
  12539. Tom Tromey <tromey@redhat.com>
  12540. PR libgcj/12001:
  12541. * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
  12542. array to superclass.
  12543. (init): Changed interface; add URLs here.
  12544. (initialize): New static method.
  12545. * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
  12546. (_Jv_RunMain): ... not here.
  12547. 2004-01-14 Michael Koch <konqueror@gmx.de>
  12548. * java/text/MessageFormat.java:
  12549. Added descriptions to exceptions.
  12550. This fixes PR libgcj/2429.
  12551. 2004-01-13 Fernando Nasser <fnasser@redhat.com>
  12552. * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
  12553. (push): Make sure push is performed at the top of the thread stack.
  12554. 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
  12555. * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
  12556. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
  12557. (native create): Add width and height parameters. Set text
  12558. view's size request according to new parameters.
  12559. (create): Calculate text view size based on current font's
  12560. metrics and number of rows and columns. Set TextArea's font if
  12561. not already set. Call native create.
  12562. (getMinimumSize): Call minimumSize.
  12563. (getPreferredSize): Call preferredSize.
  12564. (getHScrollbarHeight): New method.
  12565. (getVScrollbarWidth): New method.
  12566. (minimumSize): Calculate minimum size based on scrollbar
  12567. visibility, scrollbar sizes, font metrics and number of rows and
  12568. columns.
  12569. (preferredSize): Likewise for preferred size.
  12570. (gtkTextGetSize): Remove method.
  12571. 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
  12572. * gnu/java/awt/peer/gtk/GtkComponentPeer.java
  12573. (initializeInsets): Remove method.
  12574. (GtkComponentPeer): Initialize insets field. Remove call to
  12575. initializeInsets.
  12576. * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
  12577. Remove method.
  12578. * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
  12579. Remove method.
  12580. * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
  12581. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
  12582. (latestInsets): Remove field.
  12583. (native create): Add insets parameter. Call
  12584. window_get_frame_extents. Set the window's default size and
  12585. size request based on its frame extents.
  12586. (create): Initialize insets.
  12587. (postInsetsChangedEvent): New method.
  12588. (postConfigureEvent): Remove parameters top, left, bottom,
  12589. right. Remove insets-related logic.
  12590. (connectJObject): Handle property-notify-event.
  12591. (window_get_frame_extents, request_frame_extents,
  12592. property_notify_predicate, window_property_changed_cb): New
  12593. static functions.
  12594. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
  12595. (pre_event_handler): Remove insets-related logic for configure
  12596. events.
  12597. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
  12598. Update postConfigureEvent signature.
  12599. 2004-01-13 Fernando Nasser <fnasser@redhat.com>
  12600. * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
  12601. to handle Window "Closing" events.
  12602. 2004-01-13 David Jee <djee@redhat.com>
  12603. * gnu/java/awt/peer/gtk/GtkContainerPeer.java
  12604. (setBackground): New method. Children with no explicitly-set
  12605. background will be repainted with the parent container's new
  12606. background color.
  12607. 2004-01-13 David Jee <djee@redhat.com>
  12608. * Makefile.am: Add BitwiseXORComposite.java.
  12609. * Makefile.in: Regenerated.
  12610. * gcj/Makefile.in: Regenerated.
  12611. * include/Makefile.in: Regenerated.
  12612. * testsuite/Makefile.in: Regenerated.
  12613. 2004-01-12 Fernando Nasser <fnasser@redhat.com>
  12614. * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
  12615. not show modal dialogs twice and so that it allows showing a modal
  12616. dialog from another modal dialog.
  12617. 2004-01-12 Fernando Nasser <fnasser@redhat.com>
  12618. * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
  12619. and run secondary dispatch thread to process event queue while this
  12620. thread is blocked.
  12621. 2004-01-12 Graydon Hoare <graydon@redhat.com>
  12622. * gnu/java/awt/gtk/GdkGraphics2D.java
  12623. (static): Check GtkToolkit before initializing static state.
  12624. (Graphics2D): Don't construct transform with 0.5 unit offset.
  12625. 2004-01-12 Sascha Brawer <brawer@dandelis.ch>
  12626. * gnu/java/awt/BitwiseXORComposite.java: Add.
  12627. * gnu/java/awt/peer/gtk/GdkGraphics2D.java
  12628. (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
  12629. (BitwiseXORComposite): Remove inner class.
  12630. 2004-01-11 Michael Koch <konqueror@gmx.de>
  12631. * gnu/java/lang/reflect/TypeSignature.java
  12632. (getEncodingOfClass): Documentation fixed.
  12633. (getClassForEncoding): Give class loader to Class.forName().
  12634. Documentation fixed.
  12635. 2004-01-11 Sascha Brawer <brawer@dandelis.ch>
  12636. * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
  12637. 2004-01-11 Michael Koch <konqueror@gmx.de>
  12638. * javax/swing/undo/StateEditable.java
  12639. (RCSID): Removed redundant modifiers.
  12640. 2004-01-10 Michael Koch <konqueror@gmx.de>
  12641. * javax/print/attribute/EnumSyntax.java
  12642. (getStringTable): Made protected.
  12643. (getEnumValueTable): Likewise.
  12644. * javax/print/attribute/standard/JobKOctetsProcessed.java
  12645. (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
  12646. * javax/print/attribute/standard/JobMediaSheetsCompleted.java
  12647. (JobMediaSheetsCompleted): Made class final.
  12648. * javax/print/attribute/standard/OutputDeviceAssigned.java
  12649. (getName): Fixed typo.
  12650. * javax/print/attribute/standard/RequestingUserName.java
  12651. (serialVersionUID): Fixed value.
  12652. 2004-01-10 Michael Koch <konqueror@gmx.de>
  12653. * javax/swing/plaf/basic/BasicButtonUI.java,
  12654. javax/swing/plaf/basic/BasicCheckBoxUI.java,
  12655. javax/swing/plaf/basic/BasicListUI.java,
  12656. javax/swing/plaf/basic/BasicOptionPaneUI.java,
  12657. javax/swing/plaf/basic/BasicPanelUI.java,
  12658. javax/swing/plaf/basic/BasicRadioButtonUI.java,
  12659. javax/swing/plaf/basic/BasicScrollPaneUI.java,
  12660. javax/swing/plaf/basic/BasicToggleButtonUI.java,
  12661. javax/swing/plaf/basic/BasicViewportUI.java:
  12662. Fixed import statements.
  12663. 2004-01-10 Michael Koch <konqueror@gmx.de>
  12664. * gnu/java/awt/image/ImageDecoder.java
  12665. (produce): Made public.
  12666. * gnu/java/awt/peer/GLightweightPeer.java,
  12667. gnu/java/awt/peer/gtk/GtkToolkit.java:
  12668. Reformated.
  12669. 2004-01-10 Michael Koch <konqueror@gmx.de>
  12670. * javax/swing/JRadioButtonMenuItem.java,
  12671. javax/swing/JSeparator.java,
  12672. javax/swing/JSplitPane.java,
  12673. javax/swing/JTextPane.java,
  12674. javax/swing/JToolBar.java,
  12675. javax/swing/ListCellRenderer.java,
  12676. javax/swing/ListModel.java,
  12677. javax/swing/MenuElement.java,
  12678. javax/swing/OverlayLayout.java,
  12679. javax/swing/ProgressMonitor.java,
  12680. javax/swing/ProgressMonitorInputStream.java,
  12681. javax/swing/Renderer.java,
  12682. javax/swing/RootPaneContainer.java,
  12683. javax/swing/Scrollable.java,
  12684. javax/swing/SingleSelectionModel.java,
  12685. javax/swing/ToolTipManager.java,
  12686. javax/swing/ViewportLayout.java,
  12687. javax/swing/event/DocumentEvent.java,
  12688. javax/swing/event/SwingPropertyChangeSupport.java,
  12689. javax/swing/event/TreeSelectionEvent.java,
  12690. javax/swing/event/UndoableEditEvent.java,
  12691. javax/swing/text/AbstractDocument.java,
  12692. javax/swing/text/AttributeSet.java,
  12693. javax/swing/text/Caret.java,
  12694. javax/swing/text/ComponentView.java,
  12695. javax/swing/text/DefaultCaret.java,
  12696. javax/swing/text/DefaultEditorKit.java,
  12697. javax/swing/text/Document.java,
  12698. javax/swing/text/EditorKit.java,
  12699. javax/swing/text/GapContent.java,
  12700. javax/swing/text/Keymap.java,
  12701. javax/swing/text/MutableAttributeSet.java,
  12702. javax/swing/text/PlainEditorKit.java,
  12703. javax/swing/text/Segment.java,
  12704. javax/swing/text/Style.java,
  12705. javax/swing/text/StyledDocument.java,
  12706. javax/swing/text/StyledEditorKit.java,
  12707. javax/swing/text/TextAction.java,
  12708. javax/swing/text/View.java: Fixed import statements.
  12709. 2004-01-08 Graydon Hoare <graydon@redhat.com>
  12710. * javax/swing/JLayeredPane.java: Rewrite to accomodate
  12711. djee@redhat.com's recent inverse ordering of Container elements.
  12712. 2004-01-09 Michael Koch <konqueror@gmx.de>
  12713. * gnu/java/lang/ArrayHelper.java
  12714. (equalsArray): Removed.
  12715. 2004-01-09 Andrew Haley <aph@redhat.com>
  12716. * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
  12717. a Utf8Const field before looking at its class.
  12718. 2004-01-09 Michael Koch <konqueror@gmx.de>
  12719. * javax/print/attribute/standard/DocumentName.java,
  12720. javax/print/attribute/standard/JobHoldUntil.java,
  12721. javax/print/attribute/standard/JobMessageFromOperator.java,
  12722. javax/print/attribute/standard/JobName.java,
  12723. javax/print/attribute/standard/JobOriginatingUserName.java,
  12724. javax/print/attribute/standard/OutputDeviceAssigned.java,
  12725. javax/print/attribute/standard/PrinterInfo.java,
  12726. javax/print/attribute/standard/PrinterLocation.java,
  12727. javax/print/attribute/standard/PrinterMakeAndModel.java,
  12728. javax/print/attribute/standard/PrinterMessageFromOperator.java,
  12729. javax/print/attribute/standard/PrinterName.java,
  12730. javax/print/attribute/standard/RequestingUserName.java: New files.
  12731. * Makefile.am (javax_source_files): Added new files.
  12732. * Makefile.in: Regenerated.
  12733. 2004-01-09 Michael Koch <konqueror@gmx.de>
  12734. * javax/swing/AbstractAction.java,
  12735. javax/swing/AbstractSet.java,
  12736. javax/swing/Action.java,
  12737. javax/swing/ActionMap.java,
  12738. javax/swing/BoundedRangeModel.java,
  12739. javax/swing/ButtonModel.java,
  12740. javax/swing/CellEditor.java,
  12741. javax/swing/CellRendererPane.java,
  12742. javax/swing/ComboBoxEditor.java,
  12743. javax/swing/DebugGraphics.java,
  12744. javax/swing/DefaultCellEditor.java,
  12745. javax/swing/DefaultCellRenderer.java,
  12746. javax/swing/DefaultComboBoxModel.java,
  12747. javax/swing/DefaultDesktopManager.java,
  12748. javax/swing/DefaultFocusManager.java,
  12749. javax/swing/DefaultListCellRenderer.java,
  12750. javax/swing/Icon.java,
  12751. javax/swing/JButton.java,
  12752. javax/swing/JCheckBoxMenuItem.java,
  12753. javax/swing/JDesktopPane.java,
  12754. javax/swing/JEditorPane.java,
  12755. javax/swing/JMenu.java,
  12756. javax/swing/JPanel.java,
  12757. javax/swing/JPasswordField.java,
  12758. javax/swing/JPopupMenu.java,
  12759. javax/swing/JProgressBar.java: Reworked imports.
  12760. 2004-01-09 Michael Koch <konqueror@gmx.de>
  12761. * java/awt/geom/PathIterator.java
  12762. (WIND_EVEN_ODD): Removed redundant modifiers.
  12763. (WIND_NON_ZERO): Likewise.
  12764. (SEG_MOVETO): Likewise.
  12765. (SEG_LINETO): Likewise.
  12766. (SEG_QUADTO): Likewise.
  12767. (SEG_CUBICTO): Likewise.
  12768. (SEG_CLOSE): Likewise.
  12769. * java/awt/image/SinglePixelPackedSampleModel.java:
  12770. Removed redundant semicolon.
  12771. * java/io/ObjectInputStream.java
  12772. (inputGetObjectStreamClasses): Removed unused variable "ret_val".
  12773. * java/util/logging/Filter.java
  12774. (isLoggable): Removed redundant modifier.
  12775. * java/util/logging/LogManager.java:
  12776. Removed redundant semicolon.
  12777. * java/util/logging/XMLFormatter.java
  12778. (format): Removed unused variable "key".
  12779. 2004-01-08 Fernando Nasser <fnasser@redhat.com>
  12780. * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
  12781. New name for the former setFile native method.
  12782. (setFile): New method.
  12783. (setDirectory): Implemented.
  12784. (connectSignals): New native method.
  12785. (setFilenameFilter): Improve comment.
  12786. (getGraphics): Comment.
  12787. (gtkHideFileDialog): New method.
  12788. (gtkDisposeFileDialog): New method.
  12789. (gtkSetFilename): New method.
  12790. * java/awt/Dialog.java (show): Block on modal dialogs, but only
  12791. for FileDialog for now.
  12792. (hide): New method.
  12793. (dispose): New method.
  12794. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
  12795. (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
  12796. deprecated creation functions. Make dialog modal. Add it to the
  12797. window group.
  12798. (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
  12799. function.
  12800. (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
  12801. Rename to...
  12802. (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
  12803. name.
  12804. (window_closed): New function.
  12805. (ok_clicked): New function.
  12806. (cancel_clicked): New function.
  12807. 2004-01-08 Michael Koch <konqueror@gmx.de>
  12808. * javax/swing/JLayeredPane.java: Revert changes to standard
  12809. boilerplate, reworked imports.
  12810. 2004-01-07 Tom Tromey <tromey@redhat.com>
  12811. PR libgcj/13439:
  12812. * verify.cc (state::merge): Copy changed locals out of subroutine
  12813. in NO_STACK case.
  12814. (state::FLAG_CHANGED): New const.
  12815. (state::FLAG_UNUSED): Likewise.
  12816. (state::local_changed): Removed. Updated all users.
  12817. (state::flags): New field.
  12818. (state::merge): Added jsr_semantics argument, more logic.
  12819. (push_jump_merge): Added jsr_semantics argument.
  12820. (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
  12821. merging through the jsr instruction.
  12822. 2004-01-07 Tom Tromey <tromey@redhat.com>
  12823. * scripts/MakeDefaultMimeTypes.java: Use \n, not
  12824. backslash-newline.
  12825. 2004-01-07 Graydon Hoare <graydon@redhat.com>
  12826. * java/awt/Container.java (LightweightDispatcher): Implement.
  12827. (visitChild): Reuse graphics object.
  12828. (dispatchEventImpl): Optionally dispatch to lightweight.
  12829. (addNotifyContainerChildren): Build LightweightDispatcher.
  12830. 2004-01-07 David Jee <djee@redhat.com>
  12831. * java/awt/Container.java
  12832. (update): Clear only the clipped region, instead of clearing the
  12833. entire Container.
  12834. (visitChildren): Visit children in descending order.
  12835. 2004-01-07 Michael Koch <konqueror@gmx.de>
  12836. * java/lang/reflect/Array.java: Merged documentation with classpath.
  12837. 2004-01-07 Michael Koch <konqueror@gmx.de>
  12838. * java/text/CollationElementIterator.java
  12839. (textIndex): Renamed from index.
  12840. * java/text/CollationKey.java
  12841. (collator): New member.
  12842. (CollationKey): New argument for parent collator.
  12843. (equals): Check for same collator, source string and key array.
  12844. * java/text/RuleBasedCollator.java:
  12845. Reformated.
  12846. (RuleBasedCollator): Don't re-initialize frenchAccents with default
  12847. value.
  12848. (getCollationElementIterator): Rewritten.
  12849. (getCollationKey): Added new argument to CollationKey constructor.
  12850. 2004-01-07 Michael Koch <konqueror@gmx.de>
  12851. * gnu/java/nio/DatagramChannelImpl.java
  12852. (blocking): Removed.
  12853. (DatagramChannelImpl): Call configureBlocking().
  12854. (implConfigureBlocking): Dont initialize blocking.
  12855. * gnu/java/nio/ServerSocketChannelImpl.java
  12856. (blocking): Removed.
  12857. (ServerSocketChannelImpl): Call configureBlocking().
  12858. (implConfigureBlocking): Dont initialize blocking.
  12859. * gnu/java/nio/SocketChannelImpl.java
  12860. (blocking): Removed.
  12861. (SocketChannelImpl): Call configureBlocking().
  12862. (implConfigureBlocking): Dont initialize blocking.
  12863. (connect): Use isBlocking().
  12864. * java/nio/channels/spi/AbstractSelectableChannel.java
  12865. (configureBlocking): Use blockingLock() instead of LOCK.
  12866. Set blocking after successfully called implConfigureBlocking().
  12867. (register): Use blockingLock() instead of LOCK.
  12868. 2004-01-07 Michael Koch <konqueror@gmx.de>
  12869. * java/net/ServerSocket.java (isBound): Fixed documentation.
  12870. 2004-01-07 Sascha Brawer <brawer@dandelis.ch>
  12871. * javax/swing/DefaultBoundedRangeModel.java: Documented API.
  12872. (changeEvent): Create event object on demand.
  12873. (DefaultBoundedRangeModel, toString, setValue, setExtent,
  12874. setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
  12875. fireStateChanged): Re-written.
  12876. * javax/swing/event/EventListenerList.java: Reformatted, document
  12877. typical usage.
  12878. (toString): Implemented.
  12879. (getListeners): Re-written.
  12880. (remove): Re-written.
  12881. (add): Re-written.
  12882. (NO_LISTENERS): New singleton field.
  12883. (listenerList): Declare as transient; document.
  12884. (serialVersionUID): Document.
  12885. (getListenerCount(Class)): More efficient implementation,
  12886. also accepts null argument. Improve Javadoc.
  12887. (getListenerCount()): Remove unnecessary cast; docfix.
  12888. * javax/swing/undo/UndoableEditSupport.java:
  12889. Re-format, document.
  12890. (UndoableEditSupport): Set realSource field. Improve documentation.
  12891. (_postEdit): Iterate over cloned listener vector.
  12892. (toString): Don't emit realSource.
  12893. (beginUpdate, endUpdate): Support nested updates.
  12894. (postEdit): Use compound edit if present.
  12895. 2004-01-06 Graydon Hoare <graydon@redhat.com>
  12896. * java/awt/Container.java (swapComponents): Add forgotten
  12897. function, required for JLayeredPane change.
  12898. 2004-01-06 Michael Koch <konqueror@gmx.de>
  12899. * java/text/CollationElementIterator.java: Reformated.
  12900. (CollationElementIterator): Changed order of arguments.
  12901. * java/text/RuleBasedCollator.java
  12902. (RuleBasedCollator): Merged class documentation.
  12903. (CollationElement): Added documentation.
  12904. (compare): Reformated, renamed arguments.
  12905. (equals): Likewise.
  12906. (getCollationElementIterator): Likewise.
  12907. (getCollationKey): Likewise.
  12908. 2004-01-06 Graydon Hoare <graydon@redhat.com>
  12909. * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
  12910. 2004-01-06 Michael Koch <konqueror@gmx.de>
  12911. * gnu/java/net/protocol/file/Connection.java:
  12912. Reformated copyright.
  12913. (hdrHash): Removed.
  12914. (hdrVec): Removed.
  12915. (gotHeaders): Removed.
  12916. (getHeaderField): Removed.
  12917. (getHeaderField): Removed.
  12918. (getHeaderFieldKey): Removed.
  12919. (getKey): Removed.
  12920. (getField): Removed.
  12921. (getHeaders): Removed.
  12922. 2004-01-06 Michael Koch <konqueror@gmx.de>
  12923. * javax/print/attribute/standard/DateTimeAtCompleted.java,
  12924. javax/print/attribute/standard/DateTimeAtCreation.java,
  12925. javax/print/attribute/standard/DateTimeAtProcessing.java,
  12926. javax/print/attribute/standard/JobImpressionsCompleted.java,
  12927. javax/print/attribute/standard/JobKOctets.java,
  12928. javax/print/attribute/standard/JobKOctetsProcessed.java,
  12929. javax/print/attribute/standard/JobMediaSheetsCompleted.java,
  12930. javax/print/attribute/standard/JobPrioritySupported.java: New files.
  12931. * Makefile.am (javax_source_files): Added new files.
  12932. * Makefile.in: Regenerated.
  12933. 2004-01-06 Michael Koch <konqueror@gmx.de>
  12934. * java/net/URLConnection.java
  12935. (contentHandler): Removed.
  12936. (locale): Removed.
  12937. (getHeaderFields): Return an empty map instead of null.
  12938. (getContent): Connect if needed, renamed "cType" to "type" and
  12939. "contentHandler" to "ch" and made it a local variable.
  12940. (getPermission): Don't use package in class name.
  12941. (setDefaultRequestProperty): Fixed typo in documentation.
  12942. (initializeDateFormats): Made locale a local variable.
  12943. 2004-01-06 Michael Koch <konqueror@gmx.de>
  12944. * java/lang/Package.java
  12945. (getPackage): Get the current class loader directly.
  12946. * java/lang/SecurityManager.java
  12947. (currentLoadedClass): Dont iterate over class contexts.
  12948. (classLoaderDepth): Don't check class loaders if everything is allowed.
  12949. 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
  12950. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
  12951. (pre_event_handler): Set all insets to 0 when a Configure event
  12952. is received for a GtkPlug.
  12953. * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
  12954. Make handle long, not int.
  12955. (EmbeddedWindow()): New constructor.
  12956. (EmbeddedWindow(int)): Rename window_id to handle. Make handle
  12957. long, not int.
  12958. (setHandle): New method.
  12959. (getHandle): Return long, not int.
  12960. * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
  12961. declaration.
  12962. * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
  12963. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
  12964. (create(long)): Take long parameter, not int. Cast gtk_plug_new
  12965. argument to GdkNativeWindow.
  12966. (construct): New method.
  12967. (embed): New method.
  12968. * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
  12969. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
  12970. (create(int, int)): New method.
  12971. (create): Call new create method.
  12972. (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
  12973. methods.
  12974. (childResized): Remove native implementation. Implement in
  12975. Java.
  12976. (getHScrollbarHeight, getVScrollbarWidth): Call
  12977. gtk_widget_size_request to get scrollbar dimensions.
  12978. * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only
  12979. call getVScrollbarWidth and getHScrollbarHeight when vertical
  12980. and horizontal scrollbars respectively are needed.
  12981. (doLayout): Enlarge child if it is smaller than the viewport.
  12982. 2004-01-05 Fernando Nasser <fnasser@redhat.com>
  12983. * java/awt/Dialog.java (constructor): Accept null title as per spec.
  12984. * java/awt/FileDialog.java (constructor): Throw exception on invalid
  12985. argument as per spec.
  12986. 2004-01-05 Fernando Nasser <fnasser@redhat.com>
  12987. * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
  12988. (insert): Ditto.
  12989. (remove): Ditto. Also, Check for valid argument.
  12990. (removeAll): Use peer interface method.
  12991. * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
  12992. native add function.
  12993. (nativeRemove): New name for native remove function.
  12994. (getHistory): New native function.
  12995. (constructor): Generate ItemEvent.
  12996. (add): Ditto, if selection is changed.
  12997. (remove): Ditto, ditto.
  12998. (removeAll): Add implementation.
  12999. (handleEvent): Remove. Dead code.
  13000. (choicePostItemEvent): Add comment.
  13001. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
  13002. (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
  13003. (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
  13004. (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add
  13005. comments and fix condition to change selection.
  13006. (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
  13007. (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add
  13008. remove all capability.
  13009. (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
  13010. (item_activate): Add cast to remove compiler warning.
  13011. 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
  13012. * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
  13013. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
  13014. (getPreferredSize): Call preferredSize.
  13015. (preferredSize): Call gtkWidgetGetPreferredDimensions.
  13016. (getMinimumSize): Call minimumSize.
  13017. (minimumSize): Call gtkWidgetGetPreferredDimensions.
  13018. (gtkWidgetGetDimensions): Return the peer widget's current size
  13019. request.
  13020. (gtkWidgetGetPreferredDimensions): Return the peer widget's
  13021. natural size request.
  13022. 2004-01-05 Sascha Brawer <brawer@dandelis.ch>
  13023. Thanks to Brian Gough <bjg@network-theory.com>
  13024. * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
  13025. * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
  13026. 2004-01-04 Matthias Klose <doko@debian.org>
  13027. * aclocal.m4: Rebuilt using "aclocal -I .".
  13028. * configure: Rebuilt.
  13029. 2004-01-03 Per Bothner <per@bothner.com>
  13030. * java/util/Date.java (parse): Fix a number of problems.
  13031. (skipParens): Remove no-longer-needed method.