ChangeLog-2003 382 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324
  1. 2003-12-31 Michael Koch <konqueror@gmx.de>
  2. * gnu/java/net/protocol/http/Connection.java
  3. (sendRequest): Dont encode output in default character encoding,
  4. add correct version number to HTTP user agent string.
  5. 2003-12-31 Graydon Hoare <graydon@redhat.com>
  6. * configure.in: Add --enable-gtk-cairo check.
  7. * configure: Regenerate.
  8. * Makefile.am: Conditionally link against cairo.
  9. * Makefile.in: Regenerate.
  10. * acinclude.m4: Include PKG_CHECK_MODULES.
  11. * aclocal.m4: Regenerate.
  12. * gnu/java/awt/peer/gtk/GtkToolkit.java (useGraphics2D): New method.
  13. (getFontMetrics, getClasspathFontPeer):
  14. * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics):
  15. * gnu/java/awt/peer/gtk/GtkComponentPeer.java (createImage):
  16. * gnu/java/awt/peer/gtk/GtkContainerPeer.java (getGraphics):
  17. * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics):
  18. Switch behavior depending on GtkToolkit.useGraphics2D().
  19. * gnu/java/awt/peer/gtk/GtkFontPeer.java: Extend ClasspathFontPeer.
  20. * java/awt/Font.java: Switch to peer model.
  21. * jni/gtk-peer/gtkcairopeer.h: Definitions of cairo stuff.
  22. * jni/gtk-peer/gdkfont.h: Include gtkcairopeer.h.
  23. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Include gtkcairopeer.h.
  24. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: Un-include gtkpeer.h.
  25. 2003-12-31 Guilhem Lavaux <guilhem@kaffe.org>
  26. * java/io/ObjectOutputStream.java
  27. (putFields): Reindented. Fixed behaviour: currentPutField should be
  28. null
  29. before calling this method.
  30. (writeFields): Likewise.
  31. (markFieldsWritten): Fixed the exception message.
  32. (callWriteMethod): Ensure currentPutField is null.
  33. (getBooleanField): Translate IllegalArgumentException into
  34. InvalidClassException.
  35. (getByteField): Likewise.
  36. (getCharField): Likewise.
  37. (getDoubleField): Likewise.
  38. (getFloatField): Likewise.
  39. (getIntField): Likewise.
  40. (getLongField): Likewise.
  41. (getShortField): Likewise.
  42. (getObjectField): Check the type code before returning the object.
  43. (getField): Translate NoSuchFieldException into InvalidClassException
  44. directly.
  45. 2003-12-31 Guilhem Lavaux <guilhem@kaffe.org>
  46. * java/net/URL.java
  47. (URL): Change context path to "/" if it is empty.
  48. 2003-12-31 Michael Koch <konqueror@gmx.de>
  49. * testsuite/libjava.mauve/xfails: Removed tests that pass now:
  50. XPASS: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 16)
  51. XPASS: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 18)
  52. XPASS: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file)
  53. (number 26)
  54. XPASS: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file)
  55. (number 54)
  56. 2003-12-30 Guilhem Lavaux <guilhem@kaffe.org>
  57. * java/util/GregorianCalendar.java
  58. (computeFields): Reported by Ito Kazumitsu <kaz@maczuka.gcd.org>.
  59. Fixed the computation of DAY_OF_WEEK_IN_MONTH.
  60. (computeTime): 12:00 midnight is AM and 12:00 noon is PM.
  61. 2003-12-30 Michael Koch <konqueror@gmx.de>
  62. * testsuite/libjava.mauve/xfails: Removed the following testcase
  63. because it passes now:
  64. FAIL: gnu.testlet.java.text.SimpleDateFormat.Test: parse() strict
  65. (number 1)
  66. 2003-12-30 Michael Koch <konqueror@gmx.de>
  67. * java/io/ObjectInputStream.java,
  68. java/io/ObjectOutputStream.java,
  69. java/io/ObjectStreamClass.java:
  70. Reformated, no functional code changes.
  71. 2003-12-30 Michael Koch <konqueror@gmx.de>
  72. * gnu/java/net/protocol/http/Connection.java
  73. (outputStream): New field.
  74. (bufferedOutputStream): New field.
  75. (connect): Initialize outputStream and bufferedOutputStream.
  76. (sendRequest): Create PrintWriter object from outputStream,
  77. support HTTP 1.1, send missing HTTP headers and buffered output data
  78. for POST method.
  79. (getOutputStream): Set request method to POST if output stream is
  80. used, return bufferedOutputStream.
  81. (setRequestMethod): Allow HEAD and POST methods.
  82. This fixes libgcj PR/6302 and libgcj PR/7752.
  83. 2003-12-30 Guilhem Lavaux <guilhem@kaffe.org>
  84. * java/io/LineNumberReader.java
  85. (countLines): Removed.
  86. (fill): New private method.
  87. (mark): Changed logic to use and matchedNewLine.
  88. (reset): Likewise.
  89. (read): Likewise.
  90. (skipRedundantLF): Likewise.
  91. 2003-12-30 Michael Koch <konqueror@gmx.de>
  92. * gnu/java/net/protocol/http/Connection.java
  93. (requestProperties): New field.
  94. (addRequestProperty): New method.
  95. (getRequestProperty): New method.
  96. (setRequestProperty): New method.
  97. (getRequestProperties): New method.
  98. 2003-12-28 Michael Koch <konqueror@gmx.de>
  99. * gnu/java/net/protocol/http/Connection.java
  100. (inputStream): Made it a DataInputStream.
  101. (requestProperties): Removed.
  102. (hdrHash): Removed.
  103. (hdrVec): Removed.
  104. (headers): New field to store headers.
  105. (connect): Initialize inputStream.
  106. (receiveReply): Merged from classpath. The new algorithm is line based
  107. instead of character based.
  108. (getHeaderField): Use headers.
  109. (getHeaderFields): Use headers.
  110. (getKey): Removed.
  111. (getField): Removed.
  112. * gnu/java/net/HeaderFieldHelper.java: New file.
  113. * Makefile.am (ordinary_java_source_files):
  114. Added gnu/java/net/HeaderFieldHelper.java.
  115. * Makefile.in: Regenerated.
  116. 2003-12-28 Guilhem Lavaux <guilhem@kaffe.org>
  117. * java/io/LineNumberReader.java
  118. (mark): Improved error checking.
  119. (read): Likewise.
  120. (skip): Likewise. Skip is now really eating the specified number of
  121. characters.
  122. * java/io/CharArrayReader.java (read): It should throw
  123. IndexOutOfBoundsException and not ArrayIndexOutOfBoundsException (see
  124. mauve).
  125. * java/io/BufferedReader.java (readLine): Make readLine() really block
  126. until either EOF is reached or a true error happens.
  127. 2003-12-27 Michael Koch <konqueror@gmx.de>
  128. * gnu/java/net/protocol/http/Connection.java
  129. (getRequestProperty): Removed.
  130. (setRequestProperty): Removed.
  131. 2003-12-27 Michael Koch <konqueror@gmx.de>
  132. * gnu/java/net/protocol/http/Connection.java
  133. (connect): Call receiveReply().
  134. (receiveReply): Renamed from getHttpHeaders().
  135. (getOutputStream): Moved check on doOutput before check for connection
  136. state.
  137. 2003-12-27 Michael Koch <konqueror@gmx.de>
  138. * javax/print/attribute/ResolutionSyntax.java,
  139. javax/print/attribute/SetOfIntegerSyntax.java,
  140. javax/print/attribute/Size2DSyntax.java,
  141. javax/print/attribute/standard/Copies.java,
  142. javax/print/attribute/standard/JobImpressions.java,
  143. javax/print/attribute/standard/JobMediaSheets.java,
  144. javax/print/attribute/standard/NumberOfDocuments.java,
  145. javax/print/attribute/standard/NumberOfInterveningJobs.java,
  146. javax/print/attribute/standard/PagesPerMinute.java,
  147. javax/print/attribute/standard/PagesPerMinuteColor.java,
  148. javax/print/attribute/standard/QueuedJobCount.java:
  149. Fixed typo (s/then/than/).
  150. 2003-12-27 Guilhem Lavaux <guilhem@kaffe.org>
  151. * java/rmi/Naming.java (lookup): Check if the first character of the
  152. filename returned by URL.getFile() is a '/', only if it is the case
  153. we cut this first character and call the registry with the good name.
  154. (bind): Likewise.
  155. (rebind): Likewise.
  156. 2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
  157. Mark Wielaard <mark@klomp.org>
  158. * java/io/BufferedReader.java (BufferedReader):
  159. Throw IllegalArgumentException when size <= 0.
  160. (mark): Document and better exception message for negative
  161. readLimit IllegalArgumentException.
  162. (read(char[],int,int)): Throw IndexOutOfBoundsException
  163. if offset and count are not valid regarding buf.
  164. (skip): Throw IllegalArgumentException when count is negative.
  165. 2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
  166. * java/io/FileInputStream.java
  167. (FileInputStream(String)): Call FileInputStream(File).
  168. (FileInputStream(File)): Check whether the argument is a directory.
  169. 2003-12-26 Michael Koch <konqueror@gmx.de>
  170. * Makefile.am (rmi_java_source_files):
  171. Added gnu/java/rmi/server/RMIVoidValue.java.
  172. * Makefile.in: Regenerated.
  173. 2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
  174. Mark Wielaard <mark@klomp.org>
  175. * gnu/java/rmi/server/UnicastConnectionManager.java
  176. (startScavenger): Set the client connection manager to daemon
  177. state because it may block clients until TIMEOUT is reached
  178. when they are exiting.
  179. * gnu/java/rmi/RMIVoidValue.java: New file for a class representing
  180. a void return.
  181. * gnu/java/rmi/server/UnicastRemoteCall.java
  182. (DummyOutputStream): Add a boolean before each written field to
  183. know whether it is a primitive.
  184. (releaseOutputStream): Flush parameters at write time.
  185. * gnu/java/rmi/server/UnicastServerRef.java
  186. (incomingMessageCall): Return a RMIVoidValue if no value is to be
  187. returned.
  188. * gnu/java/rmi/server/UnicastServer.java
  189. (incomingMessageCall): Do not write a returned object if it is
  190. a RMIVoidValue.
  191. 2003-12-25 Andreas Tobler <a.tobler@schweiz.ch>
  192. * libltdl/ltdl.c (HAVE_DYLD): Remove ifdef conditional for
  193. darwin. Fixed by fixinclude now.
  194. 2003-12-25 Michael Koch <konqueror@gmx.de>
  195. * java/net/ServerSocket.java bind():
  196. If InetSocketAddress.getAddress() returns "null" use "0.0.0.0" as
  197. address to bind to.
  198. 2003-12-23 Guilhem Lavaux <guilhem@kaffe.org>
  199. * java/io/ObjectInputStream.java
  200. (getField): Handle transient and non persistent fields.
  201. (readClassDescriptor): Better error handling, use the right
  202. class loader.
  203. (readFields): Fields marked as not present in the stream
  204. or not to be set are not read and set.
  205. * java/io/ObjectInputStream.java
  206. (readFields): Changed implementation of GetField.
  207. (readClassDescriptor): Documented.
  208. * java/io/ObjectOutputStream.java
  209. (writeClassDescriptor): Added condition when to write class super
  210. class information.
  211. 2003-12-22 Fernando Nasser <fnasser@redhat.com>
  212. * gnu/java/awt/peer/gtk/GtkChoicePeer.java (postItemEvent): Rename to...
  213. (choicePostItemEvent): Change signature to more specific String object.
  214. * java/awt/Choice.java (add): Generate ItemEvent for the first item
  215. added.
  216. (insert): Generate ItemEvent if insertion caused
  217. selection to change.
  218. (remove): Generate ItemEvent if removal cause selection to change.
  219. (removeAll): Change algorithm to prevent generation of ItemEvents.
  220. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
  221. (connect_choice_item_selectable_hook): Change argument type.
  222. Fix argument value.
  223. Make sure resources are feed by registering callback.
  224. (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Adjust call to the
  225. above function.
  226. (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Ditto.
  227. (item_activate): Ditto.
  228. (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Destroy removed
  229. menuitem.
  230. (item_removed): New function. Free resources.
  231. * jni/gtk-peer/gtkpeer.h (item_event_hook_info): Change member type and
  232. name.
  233. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
  234. (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Obtain MethodID for
  235. choicePostItemEvent.
  236. 2003-12-23 Michael Koch <konqueror@gmx.de>
  237. * javax/print/attribute/standard/Copies.java,
  238. javax/print/attribute/standard/JobImpressions.java,
  239. javax/print/attribute/standard/JobMediaSheets.java,
  240. javax/print/attribute/standard/JobPriority.java,
  241. javax/print/attribute/standard/NumberOfDocuments.java,
  242. javax/print/attribute/standard/NumberOfInterveningJobs.java,
  243. javax/print/attribute/standard/NumberUp.java,
  244. javax/print/attribute/standard/PagesPerMinuteColor.java,
  245. javax/print/attribute/standard/PagesPerMinute.java,
  246. javax/print/attribute/standard/QueuedJobCount.java: New files.
  247. * Makefile.am (ordinary_java_source_files): Added new files.
  248. * Makefile.in: Regenerated.
  249. 2003-12-23 Michael Koch <konqueror@gmx.de>
  250. * javax/print/attribute/AttributeSetUtilities.java
  251. (verifyCategoryForValue): Renamed from verifyCategoryForAttribute.
  252. * javax/print/attribute/HashAttributeSet.java
  253. (HashAttributeSet): Call internal add methods, added missing
  254. exceptions.
  255. (add): Call addInternal, added exceptions to documentation.
  256. (addInternal): New method.
  257. (addAll): Call addAllInternal, added exception to documentation.
  258. (addAllInternal): New method.
  259. (clear): Added exception to documentation.
  260. (remove): Likewise.
  261. * javax/print/attribute/URISyntax.java
  262. (serialVersionUID): Fixed value.
  263. 2003-12-22 Thomas Fitzsimmons <fitzsim@redhat.com>
  264. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
  265. (pre_event_handler): Don't dereference NULL focus_obj_ptr.
  266. 2003-12-21 Michael Koch <konqueror@gmx.de>
  267. * javax/print/attribute/AttributeSetUtilities.java,
  268. javax/print/attribute/HashAttributeSet.java,
  269. javax/print/attribute/HashDocAttributeSet.java,
  270. javax/print/attribute/HashPrintJobAttributeSet.java,
  271. javax/print/attribute/HashPrintRequestAttributeSet.java,
  272. javax/print/attribute/HashPrintServiceAttributeSet.java: New files.
  273. * Makefile.am (ordinary_java_source_files): Added new files.
  274. * Makefile.in: Regenerated.
  275. 2003-12-21 Michael Koch <konqueror@gmx.de>
  276. * javax/print/attribute/EnumSyntax.java,
  277. javax/print/attribute/SetOfIntegerSyntax.java: New files.
  278. * Makefile.am (ordinary_java_source_files):
  279. Added javax/print/attribute/EnumSyntax.java
  280. and javax/print/attribute/SetOfIntegerSyntax.java.
  281. * Makefile.in: Regenerated.
  282. 2003-12-21 Michael Koch <konqueror@gmx.de>
  283. * javax/print/attribute/PrintJobAttribute.java,
  284. javax/print/attribute/PrintJobAttributeSet.java,
  285. javax/print/attribute/PrintRequestAttribute.java,
  286. javax/print/attribute/PrintServiceAttribute.java,
  287. javax/print/attribute/PrintServiceAttributeSet.java,
  288. javax/print/attribute/SupportedValuesAttribute.java: New files.
  289. * Makefile.am (ordinary_java_source_files): Added new files.
  290. * Makefile.in: Regenerated.
  291. 2003-12-21 Michael Koch <konqueror@gmx.de>
  292. * javax/print/attribute/DateTimeSyntax.java,
  293. javax/print/attribute/DocAttribute.java,
  294. javax/print/attribute/DocAttributeSet.java,
  295. javax/print/attribute/IntegerSyntax.java,
  296. javax/print/attribute/ResolutionSyntax.java,
  297. javax/print/attribute/Size2DSyntax.java,
  298. javax/print/attribute/TextSyntax.java,
  299. javax/print/attribute/URISyntax.java,
  300. javax/print/attribute/UnmodifiableSetException.java: New files.
  301. * Makefile.am (ordinary_java_source_files): Added new files.
  302. * Makefile.in: Regenerated.
  303. 2003-12-21 Michael Koch <konqueror@gmx.de>
  304. * gnu/java/net/PlainDatagramSocketImpl.java
  305. (mcastGrp): Added documentation.
  306. 2003-12-20 Michael Koch <konqueror@gmx.de>
  307. * gnu/java/net/protocol/jar/Connection.java
  308. (connectionCache): New field.
  309. (connect): New method.
  310. (getInputStream): New method.
  311. (hdrHash): New field.
  312. (hdrVec): New field.
  313. (gotHeaders): New field.
  314. (getHeaderField): New method.
  315. (getHeaderFields): New method.
  316. (getHeaderFieldKey): New method.
  317. (getKey): New method.
  318. (getField): New method.
  319. (getHeaders): New method.
  320. * java/net/JarURLConnection.java
  321. (connectionCache): Removed.
  322. (connect): Removed.
  323. (getInputStream): Removed.
  324. (hdrHash): Removed.
  325. (hdrVec): Removed.
  326. (gotHeaders): Removed.
  327. (getHeaderField): Removed.
  328. (getHeaderFields): Removed.
  329. (getHeaderFieldKey): Removed.
  330. (getKey): Removed.
  331. (getField): Removed.
  332. (getHeaders): Removed.
  333. 2003-12-20 Michael Koch <konqueror@gmx.de>
  334. * java/io/ObjectStreamField.java (isUnshared): Added documentation.
  335. 2003-12-20 Mohan Embar <gnustuff@thisiscool.com>
  336. * gnu/java/nio/SelectorImpl.java
  337. (selectThreadMutex): New field.
  338. (selectThread): New field.
  339. (unhandledWakeup): New field.
  340. (implCloseSelector): Added skeleton code which
  341. synchronizes as per Sun JRE JavaDoc.
  342. (keys): Throw ClosedSelectorException if selector
  343. is closed.
  344. (selectNow): Added comment that we're faking out
  345. an immediate select with a one-microsecond-timeout one.
  346. (select): Use 0 instead of -1 for infinite timeout.
  347. (implSelect): Changed comment in declaration.
  348. (select): Added synchronized to method declaration.
  349. Added synchronization and wakeup support as per Sun
  350. JRE JavaDoc.
  351. (selectedKeys): Throw ClosedSelectorException if selector
  352. is closed.
  353. (wakeup): Implemented.
  354. (deregisterCancelledKeys): Synchronize on cancelled key
  355. set before deregistering.
  356. (register): Synchronize on key set before registering.
  357. * java/nio/channels/spi/AbstractSelector.java
  358. Added import for java.nio.channels.ClosedSelectorException.
  359. (close): Added synchronized to method declaration.
  360. (cancelledKeys): Throw ClosedSelectorException if selector
  361. is closed.
  362. (cancelKey): Synchronize on cancelled key set before key.
  363. 2003-12-20 Michael Koch <konqueror@gmx.de>
  364. * Makefile.am (ordinary_java_source_files):
  365. Added gnu.java.net.URLParseError.java.
  366. * Makefile.in: Regenerated.
  367. 2003-12-20 Guilhem Lavaux <guilhem@kaffe.org>
  368. * gnu/java/net/URLParseError.java: New file.
  369. * gnu/java/net/protocol/jar/Handler.java
  370. (parseURL): Throw URLParseError if needed, fix '/' handling.
  371. * java/net/URL.java (URL): Catch URLParseError and
  372. transform it into a MalformedURLException.
  373. 2003-12-19 Michael Koch <konqueror@gmx.de>
  374. * gnu/java/nio/ChannelOutputStream.java: New file.
  375. * java/nio/channels/Channels.java
  376. (newOutputStream): Implemented.
  377. * Makefile.am (ordinary_java_source_files)
  378. Added gnu/java/nio/ChannelOutputStream.java.
  379. * Makefile.in: Regenerated.
  380. 2003-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
  381. * java/awt/FlowLayout.java (layoutContainer): Let components
  382. assume their preferred height. Centre components vertically.
  383. 2003-12-19 Michael Koch <konqueror@gmx.de>
  384. * gnu/java/nio/ChannelInputStream.java: New file.
  385. * java/nio/channels/Channels.java (newInputStream): Implemented.
  386. * java/nio/channels/FileChannelImpl.java
  387. (readImpl): Only put data into buffer if something was read.
  388. * Makefile.am (ordinary_java_source_files):
  389. Added gnu/java/nio/ChannelInputStream.java.
  390. * Makefile.in: Regenerated.
  391. 2003-12-19 Michael Koch <konqueror@gmx.de>
  392. * gnu/java/nio/OutputStreamChannel.java: New file.
  393. * java/nio/channels/Channels.java (newChannel): Implemented.
  394. * Makefile.am (ordinary_java_source_files):
  395. Added gnu/java/nio/OutputStreamChannel.java.
  396. * Makefile.in: Regenerated.
  397. 2003-12-19 Michael Koch <konqueror@gmx.de>
  398. * Makefile.am (ordinary_java_source_files):
  399. Added gnu.java.nio.InputStreamChannel.
  400. * Makefile.in: Regenerated.
  401. 2003-12-19 Michael Koch <konqueror@gmx.de>
  402. * gnu/java/nio/InputStreamChannel.java: New file.
  403. * java/nio/channels/Channels.java (newChannel): Implemented.
  404. 2003-12-19 Michael Koch <konqueror@gmx.de>
  405. * java/util/SimpleTimeZone.java
  406. (setStartRule): Reformated documentation.
  407. (setEndRule): Reworked documentation.
  408. (getDSTSavings): Fixed @since tag.
  409. (setDSTSavings): New method.
  410. 2003-12-19 Michael Koch <konqueror@gmx.de>
  411. * java/text/NumberFormat.java: Sorted imports.
  412. (getCurrency): New method.
  413. (setCurrency): New method.
  414. 2003-12-19 Michael Koch <konqueror@gmx.de>
  415. * java/text/MessageFormat.java
  416. (MessageFormat): New constructor.
  417. 2003-12-19 Michael Koch <konqueror@gmx.de>
  418. * gnu/java/net/protocol/jar/Handler.java
  419. (parseURL): New method.
  420. (toExternalForm): New method.
  421. 2003-12-18 Fernando Nasser <fnasser@redhat.com>
  422. * java/awt/List.java (replaceItem): Prevent selection to move with
  423. replace and minimize flickering.
  424. 2003-12-18 Michael Koch <konqueror@gmx.de>
  425. * libltdl/ltdl.c: Define __private_extern__ if needed.
  426. 2003-12-18 Michael Koch <konqueror@gmx.de>
  427. * libltdl/.cvsignore: Ignore autom4te.cache
  428. * libltdl/Makefile.in: Regenerated.
  429. * libltdl/aclocal.m4: Regenerated.
  430. * libltdl/acconfig.h: Removed (obsolete).
  431. * libltdl/config-h.in: Regenerated.
  432. * libltdl/configure.ac: Added AM_MAINTAINER_MODE.
  433. * libltdl/configure: Regenerated.
  434. 2003-12-18 Michael Koch <konqueror@gmx.de>
  435. * mauve-libgcj: Removed the disabling of java.text.ACIAttribute and
  436. java.text.CollationElementIterator tests as they compile again.
  437. * testsuite/libjava.mauve/xfails: Added failing
  438. java.text.CollationElementIterator tests.
  439. 2003-12-18 Michael Koch <konqueror@gmx.de>
  440. * java/util/prefs/AbstractPreferences.java
  441. (cachedChildren): New method.
  442. 2003-12-18 Michael Koch <konqueror@gmx.de>
  443. * java/util/TimeZone.java (getOffset): New method.
  444. 2003-12-17 Fernando Nasser <fnasser@redhat.com>
  445. * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
  446. of ActionEvents for mouse double-clicks.
  447. 2003-12-17 Fernando Nasser <fnasser@redhat.com>
  448. * gnu/java/awt/peer/gtk/GtkContainerPeer.java (handleEvent): Check for
  449. null Graphics pointer returned by FileDialogPeer.
  450. 2003-12-17 Michael Koch <konqueror@gmx.de>
  451. * libltdl/stamp-h.in: Removed, not used anymore.
  452. 2003-12-16 Mohan Embar <gnustuff@thisiscool.com>
  453. * gnu/java/net/natPlainDatagramSocketImplWin32.cc:
  454. Removed unused InterruptedIOException.h include.
  455. * gnu/java/net/natPlainSocketImplWin32.cc
  456. (connect): Reset and ignore our thread's interrupted
  457. flag instead of testing and throwing an InterruptedIOException
  458. if set.
  459. (accept): Likewise + changed case of SocketTimeoutException
  460. text.
  461. (write): Likewise (for both overloads).
  462. (doRead): Likewise.
  463. 2003-12-16 Mohan Embar <gnustuff@thisiscool.com>
  464. * win32.cc (WSAEventWrapper): Implemented default
  465. constructor and init() methods.
  466. (_Jv_select): Removed.
  467. * gnu/java/nio/natSelectorImplWin32.cc
  468. (helper_put_filedescriptors): Removed.
  469. (helper_get_filedescriptors): Removed.
  470. (implSelect): Implemented in terms of WSAEventWrapper
  471. and WSAWaitForMultipleEvents instead of _Jv_select().
  472. Added support for thread interruption.
  473. * include/win32.h (WSAEventWrapper): Minor formatting
  474. changes; added default constructor declaration, init(),
  475. getFD() and getEventHandle() methods.
  476. (_Jv_select): Removed.
  477. 2003-12-16 Mohan Embar <gnustuff@thisiscool.com>
  478. * gnu/java/net/natPlainDatagramSocketImplPosix.cc
  479. (peekData): Throw SocketTimeoutException instead of
  480. InterruptedIOException on timeout.
  481. (receive): Likewise.
  482. * gnu/java/net/natPlainSocketImplPosix.cc
  483. (read): Made a minor exception text case change.
  484. 2003-12-16 Michael Koch <konqueror@gmx.de>
  485. Fix for PR libgcj/13056.
  486. * libltdl/configure.in,
  487. libltdl/config.h.in: Removed.
  488. * libltdl/configure.ac,
  489. libltdl/config-h.in,
  490. libltdl/install-sh,
  491. libltdl/config.guess,
  492. libltdl/config.sub,
  493. libltdl/missing,
  494. libltdl/mkinstalldirs,
  495. libltdl/ltmain.sh: New files.
  496. * libltdl/Makefile.am,
  497. libltdl/acinclude.m4,
  498. libltdl/aclocal.m4,
  499. libltdl/ltdl.c,
  500. libltdl/ltdl.h,
  501. libltdl/README: Update to versions from libtool 1.5.
  502. libltdl/configure,
  503. * libltdl/Makefile.in: Regenerated.
  504. * java/lang/natRuntime.cc (find_symbol):
  505. Use type 'lt_ptr' instead of 'lt_ptr_t'.
  506. 2003-12-16 Michael Koch <konqueror@gmx.de>
  507. * java/awt/MenuComponent.java
  508. (serialVersionUID): Fixed value.
  509. 2003-12-16 Fernando Nasser <fnasser@redhat.com>
  510. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
  511. (pre_event_handler): Handle GtkButton widgets differently as events
  512. go to its event_window.
  513. (connect_awt_hook): Remove compiler warning.
  514. i2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
  515. * java/io/ObjectInputStream.java
  516. (lookupClass): New method.
  517. (currentLoader): New method.
  518. (inputGetObjectStreamClasses): New method.
  519. (assignNewHandle): Documented.
  520. (currentClassLoader): Documented.
  521. * java/io/ObjectStreamClass.java
  522. (setClass): Changed API. Better handling of the imported/exported
  523. fields.
  524. (getSerialPersistentFields): Make it throw previously caught exceptions
  525. so they can handled in setClass.
  526. 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
  527. * java/io/ObjectStreamField.java: A few methods were added in prevision
  528. of the upcoming upgrade of the serialization code. This also adds
  529. some missing documentation.
  530. (ObjectStreamField): We should throw a NullPointerException when 'name'
  531. is null.
  532. 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
  533. * java/io/ObjectInputStream.java (setBooleanField):
  534. Throw an InvalidClassException if the field hasn't the required type,
  535. documentation added.
  536. (setByteField) Likewise.
  537. (setCharField) Likewise.
  538. (setDoubleField) Likewise.
  539. (setFloatField) Likewise.
  540. (setIntField) Likewise.
  541. (setShortField) Likewise.
  542. (setLongField) Likewise.
  543. (setObjectField) Likewise.
  544. 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
  545. Helmer Kraemer <hkraemer@freenet.de>
  546. * gnu/java/lang/reflect/TypeSignature.java (getClassForEncoding):
  547. Splitted the method so we can specify an explicit boot loader.
  548. 2003-12-15 Graydon Hoare <graydon@redhat.com>
  549. * jni/gtk-peer/gdkfont.h: New file.
  550. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
  551. include of cairo-xlib.h, add extra gdk_flush().
  552. 2003-12-12 Fernando Nasser <fnasser@redhat.com>
  553. * jni/gtk-peer/gtkpeer.h: Extend NSA set of macros to handle a second
  554. native state table -- native_global_ref_table.
  555. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Define
  556. native_global_ref_table pointer.
  557. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
  558. (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose): Make sure JNI
  559. global reference is deleted and memory allocated for pointer freed.
  560. (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): Use saved
  561. JNI global reference instead of JNI local reference.
  562. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
  563. (pre_event_handler): Remove compilation warning.
  564. (connect_awt_hook): Use saved JNI global reference instead of creating
  565. a new one.
  566. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
  567. (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_create): Save JNI global
  568. reference to the Java object.
  569. (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_connectSignals): Remove
  570. unused variable declaration and add comment.
  571. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
  572. (Java_gnu_java_awt_peer_gtk_GtkCanvasPeer_create): Save JNI global
  573. reference to the Java object.
  574. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
  575. (Java_gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer_create): Ditto.
  576. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
  577. (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeCreate): Ditto.
  578. (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals): Use saved
  579. JNI global reference instead of JNI local reference.
  580. (item_toggled): Add debug statement.
  581. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
  582. (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_create): Save JNI global
  583. reference to the Java object.
  584. (connect_choice_item_selectable_hook): Use saved JNI global references
  585. instead of JNI local reference.
  586. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
  587. (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create): Save JNI
  588. global reference to the Java object.
  589. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
  590. (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_create): Save JNI global
  591. reference to the Java object.
  592. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
  593. (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_create): Ditto.
  594. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
  595. (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_create): Ditto.
  596. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
  597. (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Ditto.
  598. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
  599. (Java_gnu_java_awt_peer_gtk_GtkScrollPanePeer_create): Ditto.
  600. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
  601. (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Ditto.
  602. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
  603. (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_create): Ditto.
  604. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
  605. (Java_gnu_java_awt_peer_gtk_GtkListPeer_create): Ditto.
  606. (Java_gnu_java_awt_peer_gtk_GtkListPeer_connectSignals): Use saved
  607. JNI global reference instead of JNI local reference.
  608. (item_selected): Add debug statement.
  609. (item_unselected): Add debug statement.
  610. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
  611. (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Save JNI global
  612. reference to the Java object.
  613. Connect "activate" signal handler using global JNI reference.
  614. (connect_activate_hook): Removed in favor of inline code.
  615. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
  616. (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_create): Save JNI global
  617. reference to the Java object.
  618. (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_connectSignals): Use saved
  619. JNI global reference instead of JNI local reference. Add FIXME comment.
  620. (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_gtkPanelNew): Save JNI global
  621. reference to the Java object. Add FIXME comment.
  622. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
  623. (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Save JNI global
  624. reference to the Java object.
  625. (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_connectSignals): Use saved
  626. JNI global reference instead of JNI local reference.
  627. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
  628. (Java_gnu_java_awt_peer_gtk_GtkTextComponentPeer_connectSignals): Use
  629. saved JNI global reference instead of JNI local reference.
  630. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
  631. (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_create): Save JNI global
  632. reference to the Java object.
  633. (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals): Use saved
  634. JNI global reference instead of JNI local reference.
  635. 2003-12-11 Michael Koch <konqueror@gmx.de>
  636. * java/text/Format.java (serialVersionUID): Fixed value.
  637. 2003-12-11 Michael Koch <konqueror@gmx.de>
  638. * javax/naming/event/EventDirContext.java: Jalopied.
  639. (addNamingListener): Fixed typo in method name.
  640. 2003-12-11 Mohan Embar <gnustuff@thisiscool.com>
  641. * gnu/java/nio/SocketChannelImpl.java
  642. (write): Removed diagnostic trace.
  643. * gnu/java/nio/natSelectorImplPosix.cc: Added
  644. includes for java.lang.Thread and java.io.InterruptedIOException.
  645. (helper_put_filedescriptors): Don't put invalid file descriptors
  646. in select set.
  647. (helper_get_filedescriptors): Clear invalid file descriptors
  648. from select set.
  649. (helper_reset): New method for clearing our file descriptor
  650. array.
  651. (implSelect): Correctly calculate timeout if specified and
  652. legal.
  653. Intercept and deal with any java.io.InterruptedIOException
  654. thrown by _Jv_select().
  655. 2003-12-08 Fernando Nasser <fnasser@redhat.com>
  656. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
  657. Most coded moved to pre_event_handler, with the modifications
  658. mentioned below.
  659. (pre_event_handler): New function. Called on the Gtk "event" signal.
  660. Do not retrieve the jobject from the window property as it is already
  661. available as user data in the signal.
  662. Do not try and find the grab widget as it is already done by Gtk at
  663. this point.
  664. Do not search for Window ancestor as Gtk already sends the signal to it.
  665. Do not meddle with the activation state of peer widgets on each
  666. key press or release.
  667. Add CList to the special handling when looking for the focused widget.
  668. * jni/gtk-peer/gtkpeer.h: Add declaration for pre_event_handler.
  669. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c (connectJObject):
  670. New function.
  671. (connectSignals): New function.
  672. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c (connectHooks):
  673. Rename to...
  674. (connectSignals): New name. Get rid of NewGlobalRef call.
  675. Use g_signal_connect instead of deprecated gtk_signal_connect.
  676. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
  677. (connect_choice_item_selectable_hook): Use g_signal_connect instead of
  678. deprecated gtk_signal_connect.
  679. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
  680. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
  681. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
  682. (Java_gnu_java_awt_peer_gtk_GtkClipboard_initNativeState): Ditto.
  683. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
  684. (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
  685. function.
  686. (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
  687. function.
  688. (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
  689. function.
  690. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
  691. (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
  692. function.
  693. (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
  694. function.
  695. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
  696. (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
  697. function.
  698. (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
  699. function.
  700. (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
  701. function.
  702. (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_old_create): Remove dead
  703. code.
  704. (item_select): Remove indirection.
  705. (item_unselect): Ditto.
  706. (connect_selectable_hook): Folded into connectSignals.
  707. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
  708. (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
  709. function.
  710. (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
  711. function.
  712. (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
  713. function.
  714. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: Ditto.
  715. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
  716. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
  717. (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
  718. function.
  719. (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
  720. function.
  721. * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Declare and call
  722. connectJObject and connectSignals instead of connectHooks.
  723. * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Declare connectJObject and
  724. connectSignals.
  725. * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Declare connectSignals
  726. and not connectHooks.
  727. * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Ditto.
  728. * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java: Declare connectJObject
  729. and not connectHooks.
  730. * gnu/java/awt/peer/gtk/GtkListPeer.java: Declare connectJObject and
  731. connectSignals instead of connectHooks.
  732. * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Ditto.
  733. * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Ditto.
  734. * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Ditto.
  735. 2003-12-09 Michael Koch <konqueror@gmx.de>
  736. * Makefile.am (nat_headers_install): New variable with header files to
  737. install automatically.
  738. (install-data-local): Install all headers listed in
  739. nat_headers_install. Install innert nat headers explicitely.
  740. * Makefile.in: Regenerated.
  741. 2003-12-09 Michael Koch <konqueror@gmx.de>
  742. * java/util/Calendar.java,
  743. java/util/IdentityHashMap.java,
  744. java/util/prefs/Preferences.java:
  745. Import used classes explicitely.
  746. 2003-12-09 Michael Koch <konqueror@gmx.de>
  747. * java/net/DatagramSocket.java
  748. (close): Directly return if socket is closed.
  749. * java/net/ServerSocket.java
  750. (close): Directly return if socket is closed.
  751. * java/net/Socket.java
  752. (close): Directly return if socket is closed.
  753. 2003-12-09 Michael Koch <konqueror@gmx.de>
  754. * gnu/java/nio/SelectorImpl.java
  755. (implSelect): Throws IOException.
  756. (select): Likewise.
  757. 2003-12-08 Kim Ho <kho@redhat.com>
  758. Fix for Checkbox states.
  759. * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
  760. (currentState): New field.
  761. (nativeCreate): Add initial state parameter.
  762. (create): Changed to reflect new parameter.
  763. (setState): Fire only on changed states.
  764. (postItemEvent): Fire only on changed states. Also change the
  765. Java Checkbox to reflect new state.
  766. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
  767. (nativeCreate): Add parameter and set active state.
  768. 2003-12-08 Fernando Nasser <fnasser@redhat.com>
  769. * java/awt/datatransfer/StringSelection.java (getTransferData): Return
  770. object of type expected by specified DataFlavor.
  771. 2003-12-08 Fernando Nasser <fnasser@redhat.com>
  772. * java/awt/datatransfer/DataFlavor.java (getParameter): Fix off-by-one
  773. error which was clipping off the first character of a parameter value.
  774. 2003-12-08 Olga Rodimina <rodimina@redhat.com>
  775. * java/awt/Polygon.java
  776. (translate): Fixed error that caused polygon
  777. to move right/left when up/down translation was required.
  778. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
  779. (getSelectionStart): Initialized start position to 0.
  780. (getSelectionEnd): Initialized end position to 0.
  781. (getCaretPosition): Initialized caret position to 0.
  782. (getText): Initialized selected text to NULL
  783. 2003-12-08 Michael Koch <konqueror@gmx.de>
  784. Fix for PR libgcj/13176.
  785. * java/io/PrintStream.java: Partly revert my previous patches to get
  786. (line_separator): New field.
  787. (converter): New field.
  788. (work): New field.
  789. (work_bytes): New field.
  790. (pw): Removed.
  791. (closed): Removed.
  792. (PrintStrean): Initialize converter and not pw.
  793. (checkError): Flush always, pw doesn't exist anymore.
  794. (close): Close underlying out stream.
  795. (print): New method.
  796. (writeChars): New method.
  797. (print): Use new internal print method.
  798. (println): Likewise.
  799. 2003-12-08 Bryce McKinlay <bryce@mckinlay.net.nz>
  800. * java/util/Hashtable.java (Hashtable(Map)): Use putAll, not
  801. putAllInternal.
  802. (putAllInternal): Correct comment.
  803. * java/util/HashMap.java (HashMap(Map)): As above.
  804. (putAllInternal): As above.
  805. 2003-12-08 Bryce McKinlay <bryce@mckinlay.net.nz>
  806. * java/util/Hashtable.java (internalContainsValue): Removed.
  807. (containsValue): Don't delegate to internalContainsValue.
  808. 2003-12-06 Michael Koch <konqueror@gmx.de>
  809. * javax/naming/directory/Attribute.java,
  810. javax/naming/directory/Attributes.java,
  811. javax/naming/directory/DirContext.java,
  812. javax/naming/directory/InitialDirContext.java,
  813. javax/naming/directory/SearchResult.java,
  814. javax/naming/event/EventContext.java,
  815. javax/naming/event/NamingEvent.java,
  816. javax/naming/event/NamingExceptionEvent.java,
  817. javax/naming/ldap/ControlFactory.java,
  818. javax/naming/ldap/ExtendedRequest.java,
  819. javax/naming/ldap/HasControls.java,
  820. javax/naming/ldap/InitialLdapContext.java,
  821. javax/naming/ldap/LdapContext.java,
  822. javax/naming/ldap/LdapReferralException.java,
  823. javax/naming/ldap/UnsolicitedNotification.java,
  824. javax/naming/ldap/UnsolicitedNotificationListener.java,
  825. javax/naming/spi/DirObjectFactory.java,
  826. javax/naming/spi/DirStateFactory.java,
  827. javax/naming/spi/DirectoryManager.java,
  828. javax/naming/spi/NamingManager.java,
  829. javax/naming/spi/ObjectFactoryBuilder.java,
  830. javax/naming/spi/ResolveResult.java,
  831. javax/naming/spi/Resolver.java,
  832. javax/naming/spi/StateFactory.java:
  833. Import used classes explicitely.
  834. 2003-12-05 Scott Gilbertson <scottg@mantatest.com>
  835. * gnu/gcj/xlib/GC.java (updateClip): Added rectangles argument.
  836. (clip): Removed field
  837. (clipRectangles): New field.
  838. (clone): Use new updateClip.
  839. (setClipRectangles): Use new updateClip.
  840. * gnu/gcj/xlib/natGC.cc (updateClip): Prepare passed rectangles.
  841. 2003-12-04 Michael Koch <konqueror@gmx.de>
  842. * java/io/FilePermission.java:
  843. Import used classes explicitely.
  844. 2003-12-04 Michael Koch <konqueror@gmx.de>
  845. * java/beans/BeanDescriptor.java,
  846. java/beans/EventSetDescriptor.java,
  847. java/beans/FeatureDescriptor.java,
  848. java/beans/IndexedPropertyDescriptor.java,
  849. java/beans/Introspector.java,
  850. java/beans/MethodDescriptor.java,
  851. java/beans/PropertyDescriptor.java,
  852. java/beans/SimpleBeanInfo.java: Explicitely import used classes.
  853. * java/beans/beancontext/BeanContextServicesSupport.java
  854. (serialVersionUID): New field.
  855. 2003-12-04 Michael Koch <konqueror@gmx.de>
  856. * java/awt/MenuComponent.java: Import java.io.Serialization.
  857. * java/awt/MenuItem.java: Likewise.
  858. * java/awt/TextComponent.java: Likewise.
  859. * java/awt/image/ImagingOpException.java
  860. (serialVersionUID): Fixed.
  861. 2003-12-04 Michael Koch <konqueror@gmx.de>
  862. * gnu/java/net/protocol/http/Connection.java
  863. (sendRequest): Merged writing http headers with classpath.
  864. (getInputStream): Merged documentation from classpath.
  865. (getHeaderField): Likewise.
  866. (getHeaderFieldKey): Likewise.
  867. 2003-12-04 Michael Koch <konqueror@gmx.de>
  868. * boehm.cc (_Jv_MarkObj): Access hack_signers field.
  869. 2003-12-04 Michael Koch <konqueror@gmx.de>
  870. * java/net/DatagramPacket.java
  871. (length): Made packge-private to make it accessible via CNI.
  872. (maxlen): New field.
  873. (DatagramPacket): Cleaned up.
  874. (setSocketAddress): Add message to exception.
  875. (setData): Call other setData().
  876. (setData): Call setLength().
  877. (setLength): Initialize maxlen too.
  878. * gnu/java/net/natPlainDatagramSocketImplPosix.cc (peekData):
  879. Get maximal length from maxlen field, set length field directly.
  880. (receive): Likewise.
  881. * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
  882. Get maximal length from maxlen field, set length field directly.
  883. (receive): Likewise.
  884. 2003-12-03 Mohan Embar <gnustuff@thisiscool.com>
  885. * gnu/java/nio/natSelectorImplPosix.cc
  886. (implSelect): A timeout of 0 means an infinite
  887. timeout.
  888. 2003-12-02 Fernando Nasser <fnasser@redhat.com>
  889. * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
  890. of ActionEvents.
  891. 2003-12-03 Michael Koch <konqueror@gmx.de>
  892. * java/lang/Class.h (hack_signers): Renamed signers to hack_signers.
  893. * java/lang/natClass.cc (getSigners): Likewise.
  894. (setSigners): Likewise.
  895. 2003-12-02 Mohan Embar <gnustuff@thisiscool.com>
  896. * configure.in: Added new MinGW-specific configure flag
  897. --with-win32-nlsapi.
  898. Added new AC_DEFINE MINGW_LIBGCJ_UNICODE.
  899. Add -lunicows to MinGW SYSTEMSPEC if --with-win32-nlsapi
  900. is set to unicows.
  901. * configure: Rebuilt.
  902. * include/config.h.in: Rebuilt.
  903. * win32.cc (_Jv_Win32NewString): Implemented.
  904. (nativeToUnicode): New helper function defined only for
  905. non-UNICODE builds.
  906. (unicodeToNative): Likewise.
  907. (_Jv_Win32TempString): Implemented.
  908. (lots): Refactored using tchar.h macros.
  909. (WSAEventWrapper): Use _Jv_Win32NewString.
  910. (_Jv_platform_initialize): Use GetModuleFileNameA instead
  911. of GetModuleFileName.
  912. (_Jv_platform_initProperties): Use _Jv_Win32NewString.
  913. Use temporary stack buffer instead of a heap buffer.
  914. * include/win32.h
  915. Added defines for UNICODE and _UNICODE if MINGW_LIBGCJ_UNICODE is
  916. defined; added tchar.h include.
  917. (_Jv_Win32TempString): Declared new helper class.
  918. (JV_TEMP_STRING_WIN32): New helper macro.
  919. (_Jv_Win32NewString): Declared new helper method.
  920. * java/io/natFileDescriptorWin32.cc (open): Use
  921. JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
  922. (write): Reformatted slightly.
  923. * java/io/natFileWin32.cc (lots): Use tchar.h macros;
  924. use JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
  925. (getCanonicalPath): Use _Jv_Win32NewString instead of
  926. JvNewStringUTF.
  927. (performList): Likewise.
  928. * java/lang/natWin32Process.cc (ChildProcessPipe):
  929. Use tchar.h macros.
  930. (startProcess): Use tchar.h macros, JV_TEMP_STRING_WIN32,
  931. and UNICODE environment flag for CreateProcess.
  932. * java/net/natNetworkInterfaceWin32.cc
  933. (winsock2GetRealNetworkInterfaces): Use tchar.h macros and
  934. _Jv_Win32NewString.
  935. 2003-12-02 Thomas Fitzsimmons <fitzsim@redhat.com>
  936. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
  937. (initState): Mark obj parameter as unused.
  938. (stringWidth): Mark obj parameter as unused. Initialize
  939. font_name properly.
  940. * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Make
  941. BufferedImageBuilder class static.
  942. 2003-12-02 Mark Wielaard <mark@klomp.org>
  943. * java/security/Security.java: Don't use &nbsp; in the api doc.
  944. 2003-12-02 Dalibor Topic <robilad@kaffe.org>
  945. Reported by: Jim Pick <jim@kaffe.org>
  946. * libraries/javalib/java/util/Hashtable.java
  947. (internalcontainsValue): New method.
  948. (contains): Delegate to internalContainsValue.
  949. Reported by: Mark Wielaard <mark@klomp.org>
  950. * libraries/javalib/java/util/Hashtable.java
  951. (contains): Improved comment.
  952. Reported by: Jeroen Frijters <jeroen@frijters.net>
  953. * libraries/javalib/java/util/Hashtable.java
  954. (containsValue): Delegate to contains(Object) to make sure older
  955. code overwriting it continues to work.
  956. 2003-12-02 Fernando Nasser <fnasser@redhat.com>
  957. * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): New
  958. method. Handle mouse and key events that must generate
  959. ActionEvents.
  960. * java/awt/List.java (getSelectedIndex): Return -1
  961. if no list element is selected.
  962. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
  963. Correct handling of mouse and key events so that List receives them.
  964. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
  965. (Java_gnu_java_awt_peer_gtk_GtkListPeer_delItems): Fix removal of
  966. multiple list elements.
  967. 2003-12-02 Ito Kazumitsu <kaz@maczuka.gcd.org>
  968. * java/text/SimpleDateFormat.java (compileFormat):
  969. isLowerCase() and isUpperCase() allow too many characters.
  970. Just use >= 'A' && <= 'Z' || >= 'a' && <= 'z'.
  971. 2003-12-02 Dalibor Topic <robilad@kaffe.org>
  972. * java/text/FieldPosition.java (equals): Fixed comment.
  973. 2003-12-02 Mark Wielaard <mark@klomp.org>
  974. Reported by Archie Cobbs:
  975. * java/security/DigestInputStream.java (read(byte[], int, int): Call
  976. digest.update() with temp, not len as lenght.
  977. 2003-12-02 Michael Koch <konqueror@gmx.de>
  978. * java/net/DatagramSocket.java
  979. (close): Close associated DatagramChannel object.
  980. * java/net/ServerSocket.java
  981. * java/net/Socket.java
  982. (close): Reset impl and bound before calling getChannel().close() to
  983. prevent from loops.
  984. 2003-12-02 Michael Koch <konqueror@gmx.de>
  985. * java/nio/channels/spi/AbstractInterruptibleChannel.java
  986. (opened): Removed.
  987. (closed): New field.
  988. (close): Check of channel is closed already.
  989. (isOpen): Return !closed.
  990. 2003-12-02 Michael Koch <konqueror@gmx.de>
  991. * gnu/java/nio/DatagramChannelImpl.java
  992. (blocking): Initialize with true by default.
  993. * gnu/java/nio/ServerSocketChannelImpl.java
  994. (serverSocket): Made private.
  995. (blocking): Likewise.
  996. (connected): Likewise.
  997. * gnu/java/nio/SocketChannelImpl.java
  998. (connectionPending): Made private.
  999. * gnu/java/nio/FileLockImpl.java
  1000. (static): Load native library (needed for classpath).
  1001. * gnu/java/nio/SelectorImpl.java
  1002. (static): Load native library (needed for classpath).
  1003. 2003-12-02 Michael Koch <konqueror@gmx.de>
  1004. * gnu/java/net/protocol/file/Connection.java
  1005. (getLastModified): Implement for file connections.
  1006. (getContentLength): Likewise.
  1007. 2003-12-02 Michael Koch <konqueror@gmx.de>
  1008. * gnu/java/net/protocol/file/Connection.java:
  1009. Some reformating.
  1010. (file): Renamed from fileIn.
  1011. (getPermission): Moved around.
  1012. 2003-12-02 Michael Koch <konqueror@gmx.de>
  1013. * gnu/java/net/protocol/jar/Connection.java
  1014. (Connection): Made class final, merged documentation with classpath.
  1015. (file_cache): Made private.
  1016. (jar_file): Renamed from jarfile.
  1017. 2003-12-02 Michael Koch <konqueror@gmx.de>
  1018. * gnu/java/net/protocol/http/Connection.java
  1019. (Connection): Initialize doOutput to false;
  1020. (connect): Initialize inputStream, moved "send request" code to new
  1021. method.
  1022. (sendRequest): New method.
  1023. (getHttpHeaders): Don't reinitialize inputStream.
  1024. 2003-12-02 Michael Koch <konqueror@gmx.de>
  1025. * gnu/java/net/protocol//http/Connection.java
  1026. (defRequestProperties): Removed. This dont gets used since JDK 1.3.
  1027. (requestProperties): Initialize, documentation added.
  1028. (inputStream): Renamed from bufferedIn.
  1029. (Connection): Dont initialize requestProperties.
  1030. (setDefaultRequestProperty): Removed.
  1031. (getDefaultRequestProperty): Removed.
  1032. (usingProxy): Documentation added.
  1033. (getHttpHeaders): Likewise.
  1034. 2003-12-02 Michael Koch <konqueror@gmx.de>
  1035. * java/text/DateFormat.java:
  1036. Explicitely import used classes.
  1037. 2003-12-01 Jeff Sturm <jsturm@one-point.com>
  1038. * verify.cc (state::clean_subrs): Clear seen_subrs.
  1039. (state::copy): Walk seen_subrs from copy, not `this'.
  1040. Don't clear seen_subrs.
  1041. 2003-12-01 Kim Ho <kho@redhat.com>
  1042. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create):
  1043. Disable wrapping if TextArea has horizontal scroll bars.
  1044. 2003-12-01 Thomas Fitzsimmons <fitzsim@redhat.com>
  1045. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
  1046. (awt_event_handler): Hard-code inset values.
  1047. * gnu/java/awt/peer/gtk/GdkFontMetrics.java (GdkFontMetrics):
  1048. Pass font name, not XLFD, to initState.
  1049. (stringWidth(String, int, String)): New method.
  1050. (stringWidth(String)): Call new stringWidth.
  1051. (getLeading): Always return 0.
  1052. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
  1053. (initState): New Pango implementation.
  1054. (stringWidth): Likewise.
  1055. 2003-12-01 Olga Rodimina <rodimina@redhat.com>
  1056. * java/awt/TextComponent.java:
  1057. (getSelectionStart): Updated javadocs.
  1058. (getSelectionEnd): Ditto.
  1059. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer:
  1060. (getSelectionStart): Changed to return caret position if no
  1061. text is selected
  1062. (getSelectionEnd): Ditto.
  1063. 2003-12-01 Thomas Fitzsimmons <fitzsim@redhat.com>
  1064. * gnu/awt/gtk/GtkButtonPeer.java, gnu/awt/gtk/gtkcommon.cc,
  1065. gnu/awt/gtk/gtkcommon.h, gnu/awt/gtk/GtkComponentPeer.java,
  1066. gnu/awt/gtk/GtkContainerPeer.java,
  1067. gnu/awt/gtk/GtkFramePeer.java, gnu/awt/gtk/GtkLabelPeer.java,
  1068. gnu/awt/gtk/GtkMainThread.java, gnu/awt/gtk/GtkToolkit.java,
  1069. gnu/awt/gtk/GtkWindowPeer.java, gnu/awt/gtk/natGtkButtonPeer.cc,
  1070. gnu/awt/gtk/natGtkComponentPeer.cc,
  1071. gnu/awt/gtk/natGtkContainerPeer.cc,
  1072. gnu/awt/gtk/natGtkFramePeer.cc, gnu/awt/gtk/natGtkLabelPeer.cc,
  1073. gnu/awt/gtk/natGtkMainThread.cc, gnu/awt/gtk/natGtkToolkit.cc,
  1074. gnu/awt/gtk/natGtkWindowPeer.cc: Remove files.
  1075. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
  1076. (closed): Mark loader parameter as unused.
  1077. 2003-12-01 Michael Koch <konqueror@gmx.de>
  1078. * gnu/java/net/protocol/http/Connection.java
  1079. (Connection): Merged class documentation.
  1080. (socket): Renamed from sock.
  1081. (Connection): Made protected, documentation added.
  1082. (connect): Give URL'S host instead of InetAddress to Socket
  1083. constructor.
  1084. (disconnect): Documentation added.
  1085. (getOutputStream): Rewrapped.
  1086. 2003-12-01 Michael Koch <konqueror@gmx.de>
  1087. * gnu/java/net/protocol/file/Connection.java
  1088. (fileIn): Documentation added.
  1089. (inputStream): Likewise.
  1090. (outputStream): Likewise.
  1091. (Connection): Likewise.
  1092. (connect): Simplified.
  1093. 2003-12-01 Thomas Fitzsimmons <fitzsim@redhat.com>
  1094. * gnu/java/awt/peer/gtk/GtkImage.java (setDimensions,
  1095. setProperties): Check that io is not null before calling
  1096. io.imageUpdate.
  1097. * java/awt/image/ImageConsumer.java (setPixels, imageComplete):
  1098. Update javadocs.
  1099. * java/awt/image/PixelGrabber.java: Fix implementation and
  1100. update javadocs.
  1101. 2003-12-01 Michael Koch <konqueror@gmx.de>
  1102. * gnu/java/net/natPlainSocketImplPosix.cc
  1103. bind(): Dont set SockedImpl.address field on succesful bind.
  1104. * gnu/java/net/natPlainSocketImplWin32.cc
  1105. bind(): Likewise.
  1106. 2003-11-30 Jeff Sturm <jsturm@one-point.com>
  1107. * java/net/InetAddress.java:
  1108. (static): Don'f force DNS request for ANY_IF address.
  1109. 2003-11-30 Michael Koch <konqueror@gmx.de>
  1110. * java/net/InetAddress.java,
  1111. java/net/natInetAddressNoNet.cc,
  1112. java/net/natInetAddressPosix.cc,
  1113. java/net/natInetAddressWin32.cc:
  1114. Reverted my last patch.
  1115. 2003-11-28 Michael Koch <konqueror@gmx.de>
  1116. * java/net/InetAddress.java
  1117. (lookup): New method that doesnt lookup "0.0.0.0".
  1118. (ImplLookup): Renamed from lookup.
  1119. * java/net/natInetAddressNoNet.cc
  1120. (ImplLookup): Renamed from lookup.
  1121. * java/net/natInetAddressPosix.cc
  1122. (ImplLookup): Renamed from lookup.
  1123. * java/net/natInetAddressWin32.cc
  1124. (ImplLookup): Renamed from lookup.
  1125. 2003-11-28 Bryce McKinlay <bryce@mckinlay.net.nz>
  1126. * configure: Rebuilt.
  1127. * configure.in: Require gtk and glib 2.2.0.
  1128. 2003-11-27 Dalibor Topic <robilad@kaffe.org>
  1129. * java/text/FieldPosition.java (equals): Adapted to handle
  1130. field_attribute. Added fast-circuit check for comparison to self.
  1131. Replaced use of instanceof by getClass to fix symmetry for derived
  1132. types.
  1133. (toString): Adapted to handle field_attribute. Improved readability.
  1134. (hashCode): New method.
  1135. 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
  1136. * java/text/FieldPosition.java (field_attribute): New field.
  1137. (FieldPosition (Format.Field), FieldPosition(Format.Field, int),
  1138. getFieldAttribute): New methods.
  1139. 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
  1140. * java/text/DecimalFormatSymbols.java (locale): New field.
  1141. (DecimalFormatSymbols (Locale)): Set locale.
  1142. (serialVersionOnStream): Upgraded to number 2.
  1143. (readObject): Assign locale if it wasn't by the serializer.
  1144. 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
  1145. * java/text/FormatCharacterIterator.java: Documented the class and
  1146. 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
  1147. * java/text/FormatCharacterIterator.java: Fixed some typos.
  1148. 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
  1149. * java/text/NumberFormat.java:
  1150. (getIntegerInstance) Added the java version in the comments.
  1151. 2003-11-27 Mark Wielaard <mark@klomp.org>
  1152. * java/text/NumberFormat.java: Import java.io.InvalidObjectException.
  1153. (readResolve): Reformat.
  1154. 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
  1155. * java/text/NumberFormat.java
  1156. (NumberFormat.Field): New implemented class to match Java 1.4.
  1157. (getIntegerInstance): Two new Java 1.4 methods.o
  1158. 2003-11-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
  1159. * java/util/GregorianCalendar.java (getLinearTime): Avoid counting
  1160. the leap day of the leap year twice.
  1161. (computeFields): First week of month is 1 not 0.
  1162. 2003-11-27 Mark Wielaard <mark@klomp.org>
  1163. * javax/swing/plaf/basic/BasicDefaults.java (BasicDefaults): Put
  1164. AbstractUndoableEdit.undoText and AbstractUndoableEdit.redoText.
  1165. 2003-11-27 Michael Koch <konqueror@gmx.de>
  1166. * javax/swing/UIDefaults.java:
  1167. Reformated to match classpath's version.
  1168. 2003-11-27 Sascha Brawer <brawer@dandelis.ch>
  1169. * javax/swing/UIManager.java (getDefaults, getDimension,
  1170. getIcon, getInsets, getInstalledLookAndFeels, getInt,
  1171. getLookAndFeel, getString, getSystemLookAndFeelClassName):
  1172. Declare as public.
  1173. 2003-11-26 Sascha Brawer <brawer@dandelis.ch>
  1174. * javax/swing/undo/StateEdit.java (getPresentationName): Docfix.
  1175. * javax/swing/undo/AbstractUndoableEdit.java (canUndo, canRedo,
  1176. isSignificant): Likewise.
  1177. 2003-11-26 Sascha Brawer <brawer@dandelis.ch>
  1178. * javax/swing/undo/CompoundEdit.java: Re-format, document.
  1179. (inProgress): Set initial value to true.
  1180. (undo, redo, die, canUndo, canRedo): Also call inherited
  1181. implementation; simplify code structure.
  1182. (getPresentationName, getUndoPresentationName,
  1183. getRedoPresentationName): Make behavior dependent on lastEdit.
  1184. (addEdit, isSignificant): Completely re-written.
  1185. 2003-11-26 Sascha Brawer <brawer@dandelis.ch>
  1186. * javax/swing/undo/StateEdit.java: Re-format, document.
  1187. (undo, redo): Also call inherited implementation.
  1188. 2003-11-26 Sascha Brawer <brawer@dandelis.ch>
  1189. * javax/swing/undo/StateEditable.java: Re-format, document.
  1190. 2003-11-26 Sascha Brawer <brawer@dandelis.ch>
  1191. * javax/swing/undo/AbstractUndoableEdit.java: Re-format, document.
  1192. (AbstractUndoableEdit): Initialize hasBeenDone to true.
  1193. (canUndo, canRedo): Simplify.
  1194. (getUndoPresentationName, getRedoPresentationName): Support
  1195. localized message; call getPresentationName() only once.
  1196. 2003-11-26 David Belanger <dbelan2@cs.mcgill.ca>
  1197. * java/util/zip/ZipFile (Zipfile(File)): Set file path as name.
  1198. (ZipFile(File,int)): Likewise.
  1199. 2003-11-26 Stuart Ballard <stuart.ballard@corp.fast.net>
  1200. * java/util/HashMap.java (putAll): Use Iterator hasNext() method.
  1201. (putAllInternal): Likewise.
  1202. * java/util/Hashtable.java (putAll): Use Iterator hasNext() method.
  1203. (putAllInternal): Likewise.
  1204. 2003-11-26 Michael Koch <konqueror@gmx.de>
  1205. * java/net/URLStreamHandler.java
  1206. (parseURL): Added comment in catch statement.
  1207. (canonicalizeFilename): Add documentation.
  1208. (sameURL): Completed documentation.
  1209. (equals): Likewise.
  1210. (hostsEqual): Likewise.
  1211. (getDefaulPort): Likewise.
  1212. (hashCode): Likewise.
  1213. (toExternalForm): Likewise.
  1214. (getHostName): Fix empty hostname check, completed documentation.
  1215. 2003-11-26 Tom Tromey <tromey@redhat.com>
  1216. * java/lang/natDouble.cc (parseDouble): Reverted patch of
  1217. 2003-11-13.
  1218. 2003-11-26 Guilhem Lavaux <guilhem@kaffe.org>
  1219. Mark Wielaard <mark@klomp.org>
  1220. * java/net/URLStreamHandler (parseUrl): Fixed URL parsing
  1221. ('@' should be checked to distinguish port from userinfo).
  1222. (toExternalForm): Add @ userInfo if necessary.
  1223. 2003-11-26 Michael Koch <konqueror@gmx.de>
  1224. * java/net/DatagramSocket.java
  1225. (DategramSocket, bind): Moved binding code from DatagramSocket
  1226. constructor to bind method.
  1227. 2003-11-26 Michael Koch <konqueror@gmx.de>
  1228. * java/net/DatagramSocket.java
  1229. (impl): Made private.
  1230. (bound): New private member variable.
  1231. (DatagramSocket): Fixed documentation, use getImpl().
  1232. (getImpl): New package-private method.
  1233. (isClosed): Use getImpl().
  1234. (getLocalAddress): Completed documentation, use getImpl().
  1235. (getLocalPort): Use getImpl().
  1236. (getSoTimeout): Likewise.
  1237. (setSoTimeout): Likewise.
  1238. (getSendBufferSize): Likewise.
  1239. (setSendBufferSize): Likewise.
  1240. (getReceiveBufferSize): Likewise.
  1241. (setReceiveBufferSize): Likewise.
  1242. (connect): Likewise.
  1243. (disconnect): Likewise.
  1244. (receive): Likewise.
  1245. (send): Likewise.
  1246. (setReuseAddress): Likewise.
  1247. (setTrafficClass): Likewise.
  1248. (bind): Added message to exception.
  1249. (isClosed): Completed documentation.
  1250. (getChannel): Likewise.
  1251. (connect): Added missing exception, refined exception message.
  1252. (isBound): Completed documentation, just return bound.
  1253. (isConnected): Completed documentation.
  1254. (getRemoteSocketAddress): Likewise.
  1255. (getReuseAddress): Completed documentation, use getImpl().
  1256. (setSoBroadcast): Likewise.
  1257. (getSoBroadcast): Likewise.
  1258. (getTrafficClass): Likewise.
  1259. (getLocalSocketAddress): Simplified.
  1260. * java/net/MulticastSocket.java
  1261. (MulticastSocket): Removed comment not applying anymore.
  1262. (getInterface): Use getImpl().
  1263. (getTTL): Likewise.
  1264. (getTimeToLive): Likewise.
  1265. (setInterface): Likewise.
  1266. (setNetworkInterface): Likewise.
  1267. (getNetworkInterface): Likewise.
  1268. (setLoopback): Likewise.
  1269. (getLoopback): Likewise.
  1270. (setTTL): Likewise.
  1271. (setTimeToLive): Likewise.
  1272. (joinGroup): Likewise.
  1273. (leaveGroup): Likewise.
  1274. (send): Likewise.
  1275. 2003-11-26 Michael Koch <konqueror@gmx.de>
  1276. * java/net/Socket.java
  1277. (implCreated): Dont set default value explicitely, added
  1278. documentation.
  1279. (inputShutdown): Likewise.
  1280. (outputShutdown): Likewise.
  1281. (bound): New private member variable.
  1282. (bind): Set bound to true.
  1283. (close): Set bound to false.
  1284. (isBound): Return bound.
  1285. * java/net/ServerSocket.java
  1286. (bound): New private member variable.
  1287. (bind): Set bound to true.
  1288. (close): Set bound to false.
  1289. (isBound): Return bound.
  1290. 2003-11-26 Michael Koch <konqueror@gmx.de>
  1291. * java/net/URL.java
  1292. (URL): Fixed documentation to be HTML compliant.
  1293. (getContent): Completed documentation.
  1294. (getFile): Likewise.
  1295. (getPath): Likewise.
  1296. (getAuthority): Likewise.
  1297. (getHost): Likewise.
  1298. (getDefaultPort): Likewise.
  1299. (getProtocol): Likewise.
  1300. (hashCode): Likewise.
  1301. (openConnection): Likewise.
  1302. (openStream): Likewise.
  1303. (set): Likewise.
  1304. (getURLStreamHandler): Wrapped lines to fit into our 79 chars rule.
  1305. 2003-11-26 Michael Koch <konqueror@gmx.de>
  1306. * java/net/InetSocketAddress.java
  1307. (hostname): Made private, added documentation.
  1308. (addr): Likewise.
  1309. (port): Likewise.
  1310. (equals): Completed documentation.
  1311. (getAddress): Likewise.
  1312. (getHostName): Likewise.
  1313. (getPort): Likewise.
  1314. (hashCode): Likewise.
  1315. (isUnresolved): Likewise.
  1316. (toString): Likewise.
  1317. 2003-11-26 Michael Koch <konqueror@gmx.de>
  1318. * gnu/java/net/protocol/file/Handler.java
  1319. (Handler): New explicit constructor.
  1320. (openConnection): Added documentation.
  1321. * gnu/java/net/protocol/jar/Handler.java
  1322. (Handler): New explicit constructor.
  1323. (openConnection): Added documentation.
  1324. 2003-11-26 Michael Koch <konqueror@gmx.de>
  1325. * java/net/DatagramPacket.java
  1326. (DatagramPacket): Fixed documentation to become legal HTML.
  1327. 2003-11-25 Michael Koch <konqueror@gmx.de>
  1328. * gcj/javaprims.h: Added missing java.util.Currency.
  1329. 2003-11-25 Michael Koch <konqueror@gmx.de>
  1330. * testsuite/libjava.mauve/xfails:
  1331. Removed these two tests, they mystically pass now:
  1332. -FAIL: gnu.testlet.java.net.ServerSocket.ServerSocketTest: Error :
  1333. test_params failed - 5getInetAddress did not return proper values
  1334. (number 1)
  1335. -FAIL: gnu.testlet.java.net.Socket.SocketTest: Error :
  1336. test_BasicServer failed - 11 exception was thrown :Illegal seek
  1337. (number 1)
  1338. 2003-11-25 Michael Koch <konqueror@gmx.de>
  1339. * java/net/DatagramSocket.java
  1340. (factory): Made private.
  1341. (closed): Removed.
  1342. (DatagramSocket): Check impl argument, use constructor with
  1343. SocketAddress argument.
  1344. (close): Set impl to null, use isClosed().
  1345. (isClosed): Check for impl == null.
  1346. (getLocalAddress): Use isClosed().
  1347. (getLocalPort): Check if socket is closed.
  1348. (getSoTimeout): Likewise.
  1349. (setSoTimeout): Likewise.
  1350. (getSendBufferSize): Likewise.
  1351. (setSendBufferSize): Likewise.
  1352. (getReceiveBufferSize): Likewise.
  1353. (setReceiveBufferSize): Likewise.
  1354. (receive): Likewise.
  1355. (send): Likewise.
  1356. (bind): Likewise.
  1357. (connect): Likewise.
  1358. (setReuseAddress): Likewise.
  1359. (getReuseAddress): Likewise.
  1360. (setBroadcast): Likewise.
  1361. (getBroadcast): Likewise.
  1362. (setTrafficClass): Likewise.
  1363. (getTrafficClass): Likewise.
  1364. * java/net/MulticastSocket.java
  1365. (getInterface): Check if socket is closed.
  1366. (getTTL): Likewise.
  1367. (getTimeToLive): Likewise.
  1368. (setInterface): Likewise.
  1369. (setNetworkInterface): Likewise.
  1370. (getNetworkInterface): Likewise.
  1371. (setLoopbackMode): Likewise.
  1372. (setTTL): Likewise.
  1373. (setTimeToLive): Likewise.
  1374. (joinGroup): Likewise.
  1375. (leaveGroup): Likewise.
  1376. (send): Likewise.
  1377. * java/net/ServerSocket.java
  1378. (closed): Removed.
  1379. (close): Check if socket is closed, set impl to null.
  1380. (isClosed): Check impl == null;
  1381. (ServerSocket): Check impl argument.
  1382. (getInetAddress): Check if socket is bound.
  1383. (getLocalPort): Likewise.
  1384. (getLocalSocketAddress): Likewise.
  1385. (bind): Check if socket is closed.
  1386. (implAccept): Likewise.
  1387. (setSoTimeout): Likewise.
  1388. (getSoTimeout): Likewise.
  1389. (setReuseAddress): Likewise.
  1390. (getReuseAddress): Likewise.
  1391. (setReceiveBufferSize): Likewise.
  1392. (getReceiveBufferSize): Likewise.
  1393. (toString): Make output compliant to JDK 1.4.2.
  1394. * java/net/Socket.java
  1395. (closed): Removed.
  1396. (Socket): Fixed documentation.
  1397. (connect): Check if socket is closed, changed exception text,
  1398. fixed documentation.
  1399. (getInputStream): Check of socket is closed and connected.
  1400. (getOutputStream): Likewise.
  1401. (bind): Check if socket is closed.
  1402. (setTcpNoDelay): Likewise.
  1403. (getTcpNoDelay): Likewise.
  1404. (setSoLinger): Likewise.
  1405. (getSoLinger): Likewise.
  1406. (sendUrgentData): Likewise.
  1407. (setOOBInline): Likewise.
  1408. (getOOBInline): Likewise.
  1409. (setSoTimeout): Likewise.
  1410. (getSoTimeout): Likewise.
  1411. (setSendBufferSize): Likewise.
  1412. (getSendBufferSize): Likewise.
  1413. (setReceiveBufferSize): Likewise.
  1414. (getReceiveBufferSize): Likewise.
  1415. (setKeepAlive): Likewise.
  1416. (getKeepAlive): Likewise.
  1417. (close): Likewise.
  1418. (shutdownInput): Likewise.
  1419. (shutdownOutput): Likewise.
  1420. (getReuseAddress): Likewise.
  1421. (getTrafficClass): Likewise.
  1422. (setTrafficClass): Likewise.
  1423. (isClosed): Check impl == null.
  1424. (toString): Added missing ']'.
  1425. 2003-11-24 Tom Tromey <tromey@redhat.com>
  1426. * Makefile.in: Rebuilt.
  1427. * Makefile.am (propdir): New macro.
  1428. (install-data-local): Install logging.properties.
  1429. (core_java_source_files): Added java.util.logging.*.
  1430. * java/util/logging/logging.properties: New file.
  1431. 2003-11-25 Michael Koch <konqueror@gmx.de>
  1432. * java/net/DatagramSocket.java
  1433. (DatagramSocket): Move binding code to bind(), simplify constructors.
  1434. * java/net/MulticastSocket.java
  1435. (MulticastSocket): Call parent constructor with null argument,
  1436. bind socket after setReuseAddress is called, simplify constructors.
  1437. 2003-11-24 Michael Koch <konqueror@gmx.de>
  1438. * javax/swing/BoxLayout.java
  1439. (serialVersionUIR): New member variable.
  1440. (X_AXIS, Y_AXIS): Documentation added.
  1441. (LINE_AXIS, PAGE_AXIS): New constants.
  1442. (grid): Renamed from gridbag.
  1443. (BoxLayout): Use new constants, throw exception if invalid value for
  1444. way, added documentation.
  1445. (BoxLayout): Removed.
  1446. (addLayoutComponent): Use new constants, added documentation.
  1447. (removeLayoutComponent): Likewise.
  1448. (addLayoutContainer): Added documentation.
  1449. (preferredLayoutSize): Added documentation, check given argument.
  1450. (minimumLayoutSize): Likewise.
  1451. (layoutContainer): Likewise.
  1452. (getLayoutAlignmentX): Likewise.
  1453. (getLayoutAlignmentY): Likewise.
  1454. (invalidateLayout): Likewise.
  1455. (maximumLayoutSize): Likewise.
  1456. 2003-11-22 Michael Koch <konqueror@gmx.de>
  1457. * gnu/java/net/natPlainDatagramSocketImplWin32.cc
  1458. (peekData): Use offset and maximal free space in datagram packet.
  1459. (receive): Likewise.
  1460. (send): Use offset in datagram packet.
  1461. 2003-11-22 Michael Koch <konqueror@gmx.de>
  1462. * gnu/java/net/natPlainDatagramSocketImplPosix.cc
  1463. (peekData): Use offset and maximal free space in datagram packet.
  1464. (receive): Likewise.
  1465. (send): Use offset in datagram packet.
  1466. 2003-11-22 Michael Koch <konqueror@gmx.de>
  1467. * gnu/java/nio/DatagramChannelImpl.java
  1468. (getNativeFD): Use getPlainDatagramSocketImpl().
  1469. * gnu/java/nio/NIODatagramSocket.java
  1470. (getPlainDatagramSocketImpl): Renamed from getImpl().
  1471. * gnu/java/nio/NIOSocket.java
  1472. (getPlainSocketImpl): Renamed from getImpl().
  1473. (setChannel): Use getPlainSocketImpl().
  1474. * gnu/java/nio/SocketChannelImpl.java
  1475. (SocketChannelImpl): Use getPlainSocketImpl().
  1476. (getPlainSocketImpl): Renamed from getImpl().
  1477. (getNativeFD): Use getPlainSocketImpl().
  1478. 2003-11-18 Graydon Hoare <graydon@redhat.com>
  1479. * javax/swing/JLayeredPane.java: Implement.
  1480. * javax/swing/JFrame.java (getContentPane): Make public
  1481. * javax/swing/javax/swing/JRootPane.java (setContentPane):
  1482. Use JLayeredPane.FRAME_CONTENT_LAYER.
  1483. 2003-11-21 Mark Wielaard <mark@klomp.org>
  1484. * java/lang/Float.java (static): Removed.
  1485. 2003-11-18 Graydon Hoare <graydon@redhat.com>
  1486. * java/awt/font/TextLayout.java: Implement simple layouts
  1487. using attributed strings and glyph vectors.
  1488. 2003-11-17 Graydon Hoare <graydon@redhat.com>
  1489. * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: New file.
  1490. * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java
  1491. (GdkFontLineMetrics): New inner class.
  1492. (getLineMetrics): Return new GdkFontLineMetrics.
  1493. (getFontMetrics): Return new GdkClasspathFontPeerMetrics.
  1494. (layoutGlyphVector): Create GdkGlyphVector.
  1495. * gnu/java/awt/peer/gtk/GdkGraphics2D.java (stateStack): New member.
  1496. (GdkGraphics2D): Initialize state via mathod calls.
  1497. (cairoSetMatrix, cairoShowGlyphs): Simplify native calls.
  1498. (cairoTranslate, cairoScale, cairoRotate): Remove.
  1499. (various methods): use setTransform for special transform cases.
  1500. (DrawState): New inner class.
  1501. (stateSave): New method.
  1502. (stateRestore): New method.
  1503. (various methods): use stateSave, stateRestore.
  1504. (getClipInDevSpace): New method.
  1505. (clip, clipRect, setClip, getClip, getClipBounds):
  1506. Follow spec more closely.
  1507. (getTransform): Return clone of transform.
  1508. (setStroke): Set linewidth to passed width / 2.0.
  1509. (setPaintMode): Set SrcOver rather than Xor.
  1510. (setColor): Set paint to passed color.
  1511. (drawRaster, drawImage, PainterThread, drawPixels): Take affine
  1512. transform from image to user space.
  1513. (drawRenderedImage, drawRenderableImage): Implement.
  1514. (getFontRenderContext, getFontMetrics, drawString, getFont):
  1515. Implement
  1516. (drawArc, drawOval, drawRoundRect, fillArc, fillOval, fillRoundRect):
  1517. Implement.
  1518. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
  1519. Match changes to java side.
  1520. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
  1521. Release resources.
  1522. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
  1523. Don't use pango for metrics.
  1524. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
  1525. New file.
  1526. 2003-11-19 Guilhem Lavaux <guilhem@kaffe.org>
  1527. Jim Pick <jim@kaffe.org>
  1528. * java/text/DecimalFormat.java (getCurrency, setCurrency): New
  1529. methods.
  1530. 2003-11-19 Guilhem Lavaux <guilhem@kaffe.org>
  1531. * java/text/DecimalFormatSymbols.java (getCurrency,
  1532. setCurrency): New methods.
  1533. 2003-11-19 Sascha Brawer <brawer@dandelis.ch>
  1534. * java/awt/geom/FlatteningPathIterator.java: Entirely re-written.
  1535. * java/awt/geom/doc-files/FlatteningPathIterator-1.html:
  1536. Describe how the implementation works.
  1537. 2003-11-19 Michael Koch <konqueror@gmx.de>
  1538. * java/net/Socket.java
  1539. (implCreated): New variable that indicates created impl.
  1540. (getImpl): New method.
  1541. (toString): Return more SUN compliant string representation.
  1542. (various): Use getImpl() instead of impl.
  1543. 2003-11-19 Andreas Tobler <a.tobler@schweiz.ch>
  1544. * lib/libjava.exp: Add DYLD_LIBRARY_PATH for darwin. Look for
  1545. the right libgcc. Add -multiply_defined suppress and -bind_at_load
  1546. flags.
  1547. 2003-11-18 Tom Tromey <tromey@redhat.com>
  1548. PR libgcj/13026:
  1549. * verify.cc (state::copy): Only set local_changed if we're in a
  1550. subroutine. Correctly copy local variables which were modified
  1551. by the subroutine.
  1552. (push_jump_merge): Added more debugging output.
  1553. * jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string
  1554. is null.
  1555. 2003-11-17 Graydon Hoare <graydon@redhat.com>
  1556. * javax/swing/plaf/basic/BasicDefaults.java: Rewrite to spec.
  1557. * javax/swing/UIDefaults.java: Modify to reflect rewrite.
  1558. 2003-11-16 Tom Tromey <tromey@redhat.com>
  1559. PR libgcj/13062:
  1560. * java/io/StreamTokenizer.java (commentChar): Clear other
  1561. attributes for character.
  1562. (quoteChar): Likewise.
  1563. 2003-11-14 Thomas Fitzsimmons <fitzsim@redhat.com>
  1564. * java/awt/GridBagLayout.java (getLayoutDimensions): Return array of two
  1565. zero-length int arrays when layoutInfo is null.
  1566. (getLayoutWeights): Return array of two zero-length double arrays when
  1567. layoutInfo is null.
  1568. 2003-11-13 Tom Tromey <tromey@redhat.com>
  1569. * jni.cc (_Jv_JNI_GetStringUTFChars): Pass length of string to
  1570. JvGetStringUTFRegion.
  1571. * java/lang/natPosixProcess.cc (new_string): Pass length of string
  1572. to JvGetStringUTFRegion.
  1573. * java/lang/natDouble.cc (parseDouble): Pass length of string to
  1574. JvGetStringUTFRegion.
  1575. * java/lang/natWin32Process.cc (startProcess): Pass length of
  1576. string to JvGetStringUTFRegion.
  1577. * java/lang/natClass.cc (forName): Pass length of string to
  1578. JvGetStringUTFRegion.
  1579. * gnu/gcj/runtime/natNameFinder.cc (getExternalLabel): Pass length
  1580. of string to JvGetStringUTFRegion.
  1581. * gnu/gcj/convert/natIconv.cc (init): Pass length of string to
  1582. JvGetStringUTFRegion.
  1583. * gnu/awt/gtk/natGtkLabelPeer.cc (setText): Pass length of string
  1584. to JvGetStringUTFRegion.
  1585. * gnu/awt/gtk/natGtkButtonPeer.cc (setLabel): Pass length of
  1586. string to JvGetStringUTFRegion.
  1587. 2003-11-13 Mohan Embar <gnustuff@thisiscool.com>
  1588. * gnu/java/nio/natSelectorImplPosix.cc
  1589. (helper_put_filedescriptors): Change to static linkage.
  1590. (helper_get_filedescriptors): Likewise.
  1591. 2003-11-12 Thomas Fitzsimmons <fitzsim@redhat.com>
  1592. * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Remove
  1593. null check.
  1594. * gnu/java/awt/peer/gtk/GtkToolkit.java (prepareImage): Likewise.
  1595. * java/awt/Component.java (prepareImage): Likewise.
  1596. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (setAlignment):
  1597. Rename to nativeSetAlignment.
  1598. 2003-11-11 Danny Smith <dannysmith@users.sourceforge.net>
  1599. * jni.cc (JNI_CreateJavaVM): Remove JNIEXPORT.
  1600. (JNI_GetCreatedJavaVMs): Likewise.
  1601. (JNI_GetDefaultJavaVMInitArgs): Likewise.
  1602. * include/jni.h (JNIIMPEXP): Remove definition
  1603. and replace with...
  1604. (__GCJ_JNIIMPEXP__): New macro, applicable only to libgcj
  1605. symbols,
  1606. (__GCJ_DLL__): New macro, controlling __GCJ_JNIIMPEXP__.
  1607. 2003-11-11 Thomas Fitzsimmons <fitzsim@redhat.com>
  1608. * Makefile.am: Add GdkPixbufDecoder.java and
  1609. gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
  1610. * Makefile.in: Regenerate.
  1611. * gnu/java/awt/image/ImageDecoder.java (ImageDecoder(byte[],int,int)):
  1612. New constructor.
  1613. (startProduction): Create ByteArrayInputStream when url and filename are
  1614. null.
  1615. (produce): Declare stream parameter as InputStream.
  1616. * gnu/java/awt/image/XBMDecoder.java (produce): Declare stream parameter
  1617. as InputStream.
  1618. * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
  1619. (GdkPixbufDecoder(byte[],int,int)): New constructor.
  1620. (produce): Declare stream parameter as InputStream.
  1621. * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Throw NPE
  1622. if image is null. Set image's observer before running PrepareImage
  1623. thread. Pass image to startProduction.
  1624. * gnu/java/awt/peer/gtk/GtkImage.java: Add null checks before calls to
  1625. source's member functions.
  1626. (observer): New field.
  1627. (setObserver): New method.
  1628. (setDimensions, setPixels, imageComplete): Call observer's imageUpdate.
  1629. * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage, getImage): Return
  1630. new GtkImage.
  1631. (prepareImage): Implement.
  1632. * java/awt/Component.java: Add static fields incrementalDraw and
  1633. redrawRate.
  1634. (imageUpdate): Implement.
  1635. (createImage): Call Toolkit's createImage if peer is null.
  1636. (prepareImage): Throw NPE if image is null.
  1637. * java/awt/MediaTracker.java: Fix return value.
  1638. 2003-11-11 Thomas Fitzsimmons <fitzsim@redhat.com>
  1639. * gnu/java/awt/peer/gtk/GtkLabelPeer.java (create()): Call new create.
  1640. (create(String, float)): New method.
  1641. (setText): Make native.
  1642. (nativeSetAlignment): New method.
  1643. (setAlignment): Call nativeSetAlignment.
  1644. (getArgs): Remove method.
  1645. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
  1646. (find_fg_color_widget, find_bg_color_widget): New functions.
  1647. (gtkWidgetSetForeground): Call find_fg_color_widget.
  1648. (gtkWidgetSetBackground): Call find_bg_color_widget. Modify active and
  1649. prelight colors.
  1650. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create): Wrap label
  1651. widget in event box.
  1652. (setText, setAlignment): Implement new native methods.
  1653. 2003-11-11 Michael Koch <konqueror@gmx.de>
  1654. * java/awt/Font.java,
  1655. java/awt/datatransfer/DataFlavor.java,
  1656. java/math/BigInteger.java,
  1657. java/net/Inet4Address.java,
  1658. java/net/Inet6Address.java,
  1659. java/rmi/MarshalledObject.java,
  1660. java/rmi/server/RMIClassLoader.java,
  1661. java/security/cert/CertStore.java,
  1662. java/sql/Timestamp.java,
  1663. java/text/SimpleDateFormat.java,
  1664. javax/naming/CompoundName.java:
  1665. Removed some redundant obj == null checks.
  1666. 2003-11-11 Michael Koch <konqueror@gmx.de>
  1667. * java/nio/ByteBuffer.java
  1668. (equals): Remove redundant obj == null check.
  1669. 2003-11-11 Michael Koch <konqueror@gmx.de>
  1670. * gnu/java/nio/natPipeImpl.cc,
  1671. gnu/java/nio/natSelectorImpl.cc: Removed
  1672. * gnu/java/nio/natPipeImplEcos.cc,
  1673. gnu/java/nio/natPipeImplPosix.cc,
  1674. gnu/java/nio/natPipeImplWin32.cc,
  1675. gnu/java/nio/natSelectorImplEcos.cc,
  1676. gnu/java/nio/natSelectorImplPosix.cc,
  1677. gnu/java/nio/natSelectorImplWin32.cc: New files
  1678. * configure.in: Create links for gnu/java/nio/natPipeImpl.cc and
  1679. gnu/java/nio/natSelectorImpl.cc
  1680. * configure: Regenerated.
  1681. 2003-11-11 Micheal Koch <konqueror@gmx.de>
  1682. * java/net/URLStreamHandler.java (toExternalForm): Print port only
  1683. if host is printed too and port was really given to URL.
  1684. 2003-11-10 Gary Benson <gbenson@redhat.com>
  1685. * java/sql/Timestamp.java (valueOf): Correctly handle
  1686. nanoseconds.
  1687. 2003-11-09 Tom Tromey <tromey@redhat.com>
  1688. * java/net/Inet4Address.java (serialVersionUID): Updated.
  1689. 2003-11-08 Jeff Sturm <jsturm@one-point.com>
  1690. * gnu/gcj/runtime/FirstThread.java (Klocale, Kcalendar):
  1691. New fields.
  1692. 2003-11-08 Jeff Sturm <jsturm@one-point.com>
  1693. * java/io/ByteArrayOutputStream.java (resize):
  1694. Fix off-by-one error.
  1695. 2003-11-08 Bryce McKinlay <bryce@mckinlay.net.nz>
  1696. * gnu/gcj/xlib/XAnyEvent.java (XAnyEvent): Make constructor
  1697. public.
  1698. 2003-11-06 Mohan Embar <gnustuff@thisiscool.com>
  1699. PR libgcj/12231
  1700. * java/lang/Win32Process.java (hasExited) Changed from
  1701. public to private.
  1702. (startProcess): Likewise.
  1703. (cleanup): Likewise.
  1704. * java/lang/natWin32Process.cc (cleanup) Don't close
  1705. input, output and error streams.
  1706. (ChildProcessPipe): New helper class.
  1707. (startProcess): Refactored to use ChildProcessPipe.
  1708. Use CREATE_NO_WINDOW when launching child process.
  1709. 2003-11-06 Mohan Embar <gnustuff@thisiscool.com>
  1710. * include/win32.h (_Jv_platform_close_on_exec): Changed
  1711. signature and declared extern.
  1712. * win32.cc (_Jv_platform_close_on_exec): Implemented.
  1713. * gnu/java/net/natPlainDatagramSocketImplWin32.cc
  1714. (create): Use new signature of _Jv_platform_close_on_exec.
  1715. * gnu/java/net/natPlainSocketImplWin32.cc
  1716. (create): Eliminated a few typecasts
  1717. Use new signature of _Jv_platform_close_on_exec.
  1718. (accept): Eliminated a few typecasts
  1719. Use new signature of _Jv_platform_close_on_exec.
  1720. * java/io/natFileDescriptorWin32.cc (open): Use
  1721. _Jv_platform_close_on_exec.
  1722. 2003-11-04 Bryce McKinlay <bryce@mckinlay.net.nz>
  1723. * java/lang/natClass.cc (newInstance): Throw InstantiationException
  1724. if class has no null-argument constructor.
  1725. 2003-10-30 Mohan Embar <gnustuff@thisiscool.com>
  1726. PR libgcj/12647:
  1727. * win32-threads.cc (_Jv_CondWait): Respect mutex's
  1728. refcount when releasing and reacquiring it.
  1729. 2003-10-30 Mohan Embar <gnustuff@thisiscool.com>
  1730. * win32.cc: (dirExists) Internal helper function to
  1731. test for directory existence.
  1732. (getUserHome) New helper function refactored out
  1733. of _Jv_platform_initProperties. Uses USERPROFILE
  1734. instead of HOMEDIR and attempts to support Win9X and NT.
  1735. (_Jv_platform_initProperties) Use getUserHome.
  1736. 2003-10-30 Mohan Embar <gnustuff@thisiscool.com>
  1737. PR libgcj/11521:
  1738. * gnu/java/net/natPlainSocketImplWin32.cc
  1739. (bind): Don't use SO_REUSEADDR
  1740. 2003-10-30 Mohan Embar <gnustuff@thisiscool.com>
  1741. PR libgcj/6652:
  1742. * java/io/natFileWin32.cc (getCanonicalPath): Treat "" like ".".
  1743. 2003-10-30 Bryce McKinlay <bryce@mckinlay.net.nz>
  1744. * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Don't use vtable
  1745. dispatch for final methods.
  1746. 2003-10-30 Thomas Fitzsimmons <fitzsim@redhat.com>
  1747. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on
  1748. word wrapping.
  1749. 2003-10-29 Thomas Fitzsimmons <fitzsim@redhat.com>
  1750. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (getSize): Return
  1751. scrolled window's size request.
  1752. 2003-10-29 Sascha Brawer <brawer@dandelis.ch>
  1753. * java/awt/geom/CubicCurve2D.java (contains): Docfix for URL of embedded drawing.
  1754. * java/awt/geom/QuadCurve2D.java: Likewise.
  1755. 2003-10-29 Sascha Brawer <brawer@dandelis.ch>
  1756. * java/awt/geom/CubicCurve2D.java: Added documentation.
  1757. * java/awt/geom/QuadCurve2D.java: Likewise.
  1758. * java/awt/geom/doc-files/QuadCurve2D-4.png,
  1759. java/awt/geom/doc-files/QuadCurve2D-5.png,
  1760. java/awt/geom/doc-files/CubicCurve2D-4.png,
  1761. java/awt/geom/doc-files/Cubicurve2D-5.png: New illustrations.
  1762. 2003-10-29 Sascha Brawer <brawer@dandelis.ch>
  1763. * java/awt/geom/CubicCurve2D.java (getFlatnessSq): Implement.
  1764. (subdivide(CubicCurve2D, CubicCurve2D)): Avoid useless object allocation.
  1765. (subdivide(double[],int,double[],int,double[],int)): Implement.
  1766. 2003-10-29 Sascha Brawer <brawer@dandelis.ch>
  1767. * java/awt/geom/doc-files/CubicCurve2D-1.png,
  1768. java/awt/geom/doc-files/CubicCurve2D-2.png,
  1769. java/awt/geom/doc-files/CubicCurve2D-3.png: New illustrations.
  1770. 2003-10-29 Ito Kazumitsu <kaz@maczuka.gcd.org>
  1771. * java/text/DecimalFormat.java
  1772. (scanFormat) corrected so that '%' may appear in a pattern.
  1773. 2003-10-29 Mark Wielaard <mark@klomp.org>
  1774. From Guilhem Lavaux <guilhem.lavaux@free.fr>
  1775. * java/text/DateFormat.java (Field): New public static inner class.
  1776. * java/text/Format.java (Field): Likewise.
  1777. (formatToCharacterIterator): New method.
  1778. * java/text/FormatCharacterIterator.java: New file.
  1779. 2003-10-29 Mark Wielaard <mark@klomp.org>
  1780. From Guilhem Lavaux <guilhem.lavaux@free.fr>
  1781. * java/util/Currency.java: New file.
  1782. 2003-10-29 Michael Koch <konqueror@gmx.de>
  1783. * Makefile.am (ordinary_java_source_files): Added
  1784. java/text/FormatCharacterIterator.java and java/util/Currency.java.
  1785. * Makefile.in: Regenerated.
  1786. 2003-10-29 Dalibor Topic <robilad@kaffe.org>
  1787. * gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public
  1788. static methods.
  1789. 2003-10-29 Julian Dolby <dolby@us.ibm.com>
  1790. * javax/naming/spi/NamingManager.java (getContinuationContext): Call
  1791. getObjectInstance() with Object, Name, Context and environment
  1792. Hashtable from exception. Call fillInStackTrace() on exception when
  1793. rethrown.
  1794. * javax/naming/InitialContext.java (lookup(Name)): When a
  1795. CannotProceedException is thrown use the ContinuationContext.
  1796. (lookup(String)): Likewise.
  1797. (close): Clear myProps and defaultInitCtx.
  1798. 2003-10-29 Michael Koch <konqueror@gmx.de>
  1799. * java/net/InetAddress.java
  1800. (equals): Remove redundant obj == null check.
  1801. * java/net/SocketPermission.java
  1802. (equals): Likewise.
  1803. * java/net/URL.java
  1804. (equals): Likewise.
  1805. (getURLStreamHandler): Likewise.
  1806. 2003-10-29 Michael Koch <konqueror@gmx.de>
  1807. * gnu/java/net/natPlainDatagramSocketImplPosix.cc
  1808. (setOption): Directly return if no error occured.
  1809. * gnu/java/net/natPlainSocketImplPosix.cc
  1810. (setOption): Likewise.
  1811. 2003-10-28 Bryce McKinlay <bryce@mckinlay.net.nz>
  1812. * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Always assign a
  1813. vtable slot for final methods. Add FIXME comment.
  1814. 2003-10-28 David S. Miller <davem@redhat.com>
  1815. * sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0.
  1816. 2003-10-26 Mark Wielaard <mark@klomp.org>
  1817. Reported by Helmer Kraemer <hkraemer@freenet.de>
  1818. * java/util/jar/JarInputStream.java (readManifest): Don't call
  1819. closeEntry().
  1820. * java/util/zip/DeflaterOutputStream.java (inbufWrite): New method.
  1821. (finish): Use inbufWrite().
  1822. (write(int)): Likewise.
  1823. (write(byte[],int,int)): Likewise.
  1824. 2003-10-26 Bryce McKinlay <bryce@mckinlay.net.nz>
  1825. * java/lang/reflect/AccessibleObject.java (secureSetAccessible):
  1826. Don't check for AccessibleObject. Update javadocs.
  1827. * java/util/TreeMap.java: Doc fixes. HashMap -> TreeMap.
  1828. 2003-10-26 Bryce McKinlay <bryce@mckinlay.net.nz>
  1829. * java/lang/reflect/Constructor.java (toString): Avoid extra
  1830. whitespace on constructor with no modifiers.
  1831. * java/lang/reflect/natConstructor.java (newInstance): Look up
  1832. caller and perform accessibility check only if constructor is
  1833. non-public and accessible flag is not set.
  1834. 2003-10-26 Bryce McKinlay <bryce@mckinlay.net.nz>
  1835. * jni.cc (_Jv_JNI_CallAnyMethodV, _Jv_JNI_CallAnyMethodA,
  1836. _Jv_JNI_CallAnyVoidMethodV, _Jv_JNI_CallAnyVoidMethodA): Don't
  1837. use _Jv_LookupDeclaredMethod(). Call _Jv_CallAnyMethodA with
  1838. is_virtual_call argument.
  1839. * include/jvm.h (_Jv_isVirtualMethod): Moved and renamed from
  1840. natClass.cc.
  1841. * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use
  1842. _Jv_isVirtualMethod.
  1843. * java/lang/reflect/natMethod.cc (invoke): Don't use
  1844. _Jv_LookupDeclaredMethod.
  1845. (_Jv_CallAnyMethodA): New is_virtual_call argument. If specified,
  1846. look up method in target object's vtable.
  1847. 2003-10-25 Graydon Hoare <graydon@redhat.com>
  1848. * gnu/java/awt/ClasspathToolkit.java: New abstract class.
  1849. * gnu/java/awt/peer/ClasspathFontPeer.java: New abstract class.
  1850. * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
  1851. jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
  1852. New concrete implementation of ClasspathFontPeer, with native part.
  1853. * gnu/java/awt/peer/gtk/GdkGlyphVector.java,
  1854. jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
  1855. New class, with native part.
  1856. * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
  1857. jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
  1858. implement setFont, cairoSetFont, drawGlyphVector, cairoShowGlyphs.
  1859. 2003-10-25 Bryce McKinlay <bryce@mckinlay.net.nz>
  1860. * java/lang/reflect/Method.java (toString): Avoid extra whitespace
  1861. on method with no modifiers.
  1862. 2003-10-25 Bryce McKinlay <bryce@mckinlay.net.nz>
  1863. PR libgcj/11780:
  1864. * java/lang/reflect/natMethod.cc (invoke): Look up caller and perform
  1865. accessibility check only if target is non-public and accessible flag
  1866. is not set.
  1867. * java/lang/reflect/natField.cc (getAddr): Likewise.
  1868. 2003-10-24 Thomas Fitzsimmons <fitzsim@redhat.com>
  1869. * gnu/java/awt/peer/gtk/GtkDialogPeer.java (handleEvent):
  1870. Remove method.
  1871. * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postWindowEvent):
  1872. New method.
  1873. * java/awt/Window.java (Window(Window,GraphicsConfiguration),
  1874. show, hide, dispose, getOwnedWindows): Synchronize on tree lock.
  1875. (dispose): Post WINDOW_CLOSED event.
  1876. (addWindowFocusListener, addWindowStateListener): Assign result
  1877. of multicaster add back to window listener.
  1878. (removeWindowFocusListener, removeWindowStateListener): Assign
  1879. result of multicaster remove back to window listener.
  1880. (dispatchEventImpl): Add null checks for focus and state
  1881. listeners.
  1882. (processWindowEvent): Handle case where windowListener is null
  1883. but state or focus listeners exist.
  1884. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
  1885. glue for postWindowEvent.
  1886. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
  1887. (window_delete_cb, window_destroy_cb, window_show_cb,
  1888. window_focus_in_cb, window_focus_out_cb, window_window_state_cb,
  1889. window_get_new_state): New functions.
  1890. * jni/gtk-peer/gtkpeer.h: Define window event and frame state
  1891. macros. Declare postWindowEventID.
  1892. 2003-10-24 Anthony Green <green@redhat.com>
  1893. * java/lang/natClass.cc (_Jv_LinkSymbolTable): Fix case where
  1894. we have no interpreter.
  1895. 2003-10-22 Andrew Haley <aph@redhat.com>
  1896. * java/lang/natClass.cc (initializeClass): Call
  1897. _Jv_linkExceptionClassTable.
  1898. (_Jv_LinkSymbolTable): Call )_Jv_ThrowNoSuchMethodError. Call
  1899. _Jv_Defer_Resolution on a method whose ncode is NULL.
  1900. (_Jv_linkExceptionClassTable): New function.
  1901. (_Jv_LayoutVTableMethods): If superclass looks like a constant pool
  1902. entry, look it up.
  1903. * java/lang/Class.h (struct _Jv_CatchClass): New.
  1904. (_Jv_linkExceptionClassTable): New friend.
  1905. (_Jv_Defer_Resolution): New friend.
  1906. (class Class.catch_classes): New field.
  1907. * include/java-interp.h (Jv_Defer_Resolution): New method.
  1908. (_Jv_PrepareClass): Make a friend of _Jv_MethodBase.
  1909. (_Jv_MethodBase.deferred): New field.
  1910. (_Jv_Defer_Resolution): New function.
  1911. * resolve.cc (_Jv_PrepareClass): Resolve deferred handlers.
  1912. * exception.cc (get_ttype_entry): Change return type to void**.
  1913. (PERSONALITY_FUNCTION): Remove all code related to using a
  1914. Utf8Const* for a match type. Change match type to be a pointer to
  1915. a pointer, rather than a pointer to a Class.
  1916. * defineclass.cc (handleCodeAttribute): Initialize
  1917. method->deferred.
  1918. (handleMethodsEnd): Likewise.
  1919. 2003-10-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  1920. * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use
  1921. _Jv_MutexCheckMonitor instead of accessing mutex.owner directly.
  1922. 2003-10-22 Tom Tromey <tromey@redhat.com>
  1923. PR libgcj/12416:
  1924. * java/lang/Class.h: Updated.
  1925. * java/lang/natClass.cc (_getFields): Removed.
  1926. (getFields): Likewise.
  1927. (getDeclaredFields): Added `public_only' parameter.
  1928. * java/lang/Class.java (getFields): Now implemented in java; from
  1929. Classpath.
  1930. (getDeclaredFields): Likewise.
  1931. (getDeclaredFields(boolean)): Declare.
  1932. (_getFields): Removed.
  1933. (internalGetFields): New method, from Classpath.
  1934. PR libgcj/12656:
  1935. * gnu/gcj/runtime/natFirstThread.cc (call_main): Use
  1936. _Jv_LookupDeclaredMethod, not _Jv_GetMethodLocal.
  1937. 2003-10-22 David Daney <ddaney@avtrex.com)
  1938. * include/mips-signal.h: New file.
  1939. * sysdep/dwarf2-backtrace.cc: New file.
  1940. * sysdep/mips: New directory.
  1941. * sysdep/mips/locks.h: New file.
  1942. * Makefile.am(extra_cc_files): New, to allow extra c++ files to be
  1943. added to libgcj.
  1944. (extra_cc_source_files): Ditto.
  1945. * configure.host(disable_dladdr): New shell variable passed to
  1946. configure.
  1947. (mips*-*-linux*): sysdeps_dir=mips,
  1948. can_unwind_signal=yes, disable_dladdr=yes, use -mxgot.
  1949. (mipsel*-linux* | mipsisa32el*-linux*): Enable hash synchronization.
  1950. * configure.in:(mips*-*-linux*): Use sysdep/dwarf2-backtrace.cc to
  1951. generate backtrace, and include/mips-signal.h as SIGNAL_HANDLER
  1952. (HAVE_DLADDR): Make it depend on setting of disable_dladdr.
  1953. (EXTRA_CC_FILES): New, to support conditional addition of
  1954. sysdep/dwarf2-backtrace.cc.
  1955. * configure: Regenerated.
  1956. * Makefile.in: Regenerated.
  1957. * gcj/Makefile.in: Regenerated.
  1958. * include/config.h.in: Regenerated.
  1959. * include/Makefile.in: Regenerated.
  1960. * testsuite/Makefile.in: Regenerated.
  1961. 2003-10-22 Sascha Brawer <brawer@dandelis.ch>
  1962. * java/awt/geom/QuadCurve2D.java (subdivide): Added documentation.
  1963. java/awt/geom/doc-files/QuadCurve2D-3.png: New illustration.
  1964. 2003-10-22 Sascha Brawer <brawer@dandelis.ch>
  1965. * java/awt/geom/QuadCurve2D.java: Reformatted, wrote Javadoc.
  1966. * java/awt/geom/doc-files: New directory.
  1967. * java/awt/geom/doc-files/QuadCurve2D-1.png,
  1968. java/awt/geom/doc-files/QuadCurve2D-2.png: New illustrations.
  1969. 2003-10-22 Sascha Brawer <brawer@dandelis.ch>
  1970. * java/awt/geom/QuadCurve2D.java (subdivide): Implement.
  1971. 2003-10-22 Sascha Brawer <brawer@dandelis.ch>
  1972. * java/awt/geom/QuadCurve2D.java (getFlatness, getFlatnessSq): Implement.
  1973. 2003-10-22 Michael Koch <konqueror@gmx.de>
  1974. * java/io/File.java
  1975. (equals): Removed redundant obj == null check.
  1976. (createTempFile): Merged comments from classpath.
  1977. 2003-10-21 Sascha Brawer <brawer@dandelis.ch>
  1978. Fix for bug #2944, reported by David Holmes <dholmes@dltech.com.au>
  1979. * java/util/logging/ErrorManager.java (everUsed): Made volatile.
  1980. (error): Synchronize on instance, not class.
  1981. 2003-10-21 Mark Wielaard <mark@klomp.org>
  1982. Reported by M.Negovanovic
  1983. * java/beans/Introspector.java (getBeanInfo(ClassLoader, String)): New
  1984. method.
  1985. (reallyFindExplicitBeanInfo): Use new getBeanInfo() method.
  1986. 2003-10-21 Sascha Brawer <brawer@dandelis.ch>
  1987. Fix for Classpath bug #6076.
  1988. * java/awt/geom/GeneralPath.java (append): Re-written.
  1989. 2003-10-21 Sascha Brawer <brawer@dandelis.ch>
  1990. Fix for Classpath bug #6089.
  1991. * java/awt/geom/GeneralPath.java (curveTo): Set correct segment type.
  1992. (getPathIterator, GeneralPathIterator): Re-written from scratch.
  1993. 2003-10-21 Sascha Brawer <brawer@dandelis.ch>
  1994. * java/awt/geom/GeneralPath.java (getCurrentPoint): Return last
  1995. point, not start of subpath. Fixes Classpath bug #6075.
  1996. 2003-10-21 Michael Koch <konqueror@gmx.de>
  1997. * java/nio/ByteOrder.java,
  1998. java/nio/DirectByteBufferImpl.java,
  1999. java/nio/channels/FileChannelImpl.java:
  2000. Add code to load library with code for native methods if needed.
  2001. 2003-10-21 Michael Koch <konqueror@gmx.de>
  2002. * gnu/java/net/PlainDatagramSocketImpl.java,
  2003. gnu/java/net/PlainSocketImpl.java,
  2004. gnu/java/net/natPlainDatagramSocketImplPosix.cc,
  2005. gnu/java/net/natPlainDatagramSocketImplWin32.cc,
  2006. gnu/java/net/natPlainSocketImplPosix.cc,
  2007. gnu/java/net/natPlainSocketImplWin32.cc:
  2008. Renamed fnum to native_fd to match classpath more.
  2009. 2003-10-21 Jerry Quinn <jlquinn@optonline.net>
  2010. * posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename
  2011. _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor.
  2012. * include/no-threads.h (_Jv_MutexCheckMonitor): New.
  2013. * include/posix-threads.h (_Jv_MutexCheckMonitor): Rename from
  2014. _Jv_PthreadCheckMonitor. Simplify code.
  2015. (_Jv_MutexUnlock): Use _Jv_MutexCheckMonitor.
  2016. * include/win32-threads.h (_Jv_MutexCheckMonitor): New.
  2017. * java/lang/Object.h (_Jv_ObjectCheckMonitor): Declare.
  2018. * java/lang/Thread.java (holdsLock): New.
  2019. * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): New, with and
  2020. without JV_HASH_SYNCHRONIZATION.
  2021. * java/lang/natThread.cc (java::lang::Thread::holdsLock): New.
  2022. 2003-10-20 Michael Koch <konqueror@gmx.de>
  2023. * java/text/RuleBasedCollator.java
  2024. (RuleBasedCollator): Check rules not empty, fixed search in already
  2025. existing collation elements.
  2026. (is_special): Removed common whitespace characters.
  2027. (text_argument): Dont return on whitespaces, add characters between
  2028. two ' to string buffer.
  2029. 2003-10-18 Michael Koch <konqueror@gmx.de>
  2030. * gnu/java/net/protocol/file/Connection.java,
  2031. gnu/java/net/protocol/file/Handler.java,
  2032. gnu/java/net/protocol/http/Connection.java,
  2033. gnu/java/net/protocol/http/Handler.java,
  2034. gnu/java/net/protocol/jar/Connection.java,
  2035. gnu/java/net/protocol/jar/Handler.java:
  2036. Merged copyright text from classpath to make
  2037. it possible to merge the classes.
  2038. 2003-10-18 Mark Wielaard <mark@klomp.org>
  2039. Reported by M.Negovanovic
  2040. * java/beans/IndexedPropertyDescriptor.java
  2041. (IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex.
  2042. 2003-10-17 Mohan Embar <gnustuff@thisiscool.com>
  2043. * win32.cc (_Jv_pipe): Implemented.
  2044. * gnu/java/nio/natPipeImpl.cc (nativeInit): Use
  2045. _Jv_pipe instead of ::pipe.
  2046. * include/posix.h (_Jv_pipe): New inline.
  2047. * include/win32.h (_Jv_pipe): New declaration.
  2048. 2003-10-17 Ralph Loader <rcl@ihug.co.nz>
  2049. * java/lang/StringBuffer.java (getChars): Fix array index checks.
  2050. (append, substring, insert): Likewise.
  2051. * testsuite/libjava.lang/StringBuffer_overflow.java: New file.
  2052. * testsuite/libjava.lang/StringBuffer_overflow.out: New file.
  2053. 2003-10-17 Ralph Loader <rcl@ihug.co.nz>
  2054. * java/lang/natString.cc (getChars):
  2055. Fix validation of array indexes.
  2056. (getBytes, regionMatches, startsWith, valueOf): Likewise.
  2057. * testsuite/libjava.lang/String_overflow.java: New file.
  2058. * testsuite/libjava.lang/String_overflow.out: New file.
  2059. 2003-10-17 Ralph Loader <rcl@ihug.co.nz>
  2060. * prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't
  2061. overflow a jint.
  2062. (_Jv_NewPrimArray): Check for overflowing a jint, replacing a
  2063. check for overflowing size_t, since the lower level functions
  2064. take a jint.
  2065. * testsuite/libjava.lang/newarray_overflow.java: New file.
  2066. * testsuite/libjava.lang/newarray_overflow.out: New file.
  2067. 2003-10-15 Michael Koch <konqueror@gmx.de>
  2068. * java/text/RuleBasedCollator.java
  2069. (RuleBasedCollator): Moved around, documentation added.
  2070. (compare): Documentation added.
  2071. (equals): Likewise.
  2072. (getCollationElementIterator): Likewise.
  2073. (getCollationKey): Likewise.
  2074. (getRules): Likewise.
  2075. (hashCode): Likewise.
  2076. 2003-10-15 Michael Koch <konqueror@gmx.de>
  2077. * java/text/RuleBasedCollator.java
  2078. (CollationElement): Renamed from RBCElement and moved into
  2079. RuledBasedCollator as inner class.
  2080. 2003-10-15 Michael Koch <konqueror@gmx.de>
  2081. * java/text/CollationElementIterator.java
  2082. (CollationElementIterator): Moved, documenatation added, call setText.
  2083. (next): Reformated.
  2084. (reset): Reformated.
  2085. (setText): New method.
  2086. (getOffset): New method.
  2087. * java/text/CollationKey.java
  2088. (getSourceString): Reformated.
  2089. (hashCode): Reformated.
  2090. (toByteArray): Reformated.
  2091. 2003-10-15 Michael Koch <konqueror@gmx.de>
  2092. * java/util/zip/InflaterInputStream.java
  2093. (InflaterInputStream): Renamed infl to inf and bufsize to size,
  2094. added description to exception, check for inf == null and size < 0.
  2095. 2003-10-15 Michael Koch <konqueror@gmx.de>
  2096. * java/text/AttributedCharacterIterator.java,
  2097. java/text/CharacterIterator.java: Reformated.
  2098. 2003-10-15 Michael Koch <konqueror@gmx.de>
  2099. * javax/swing/UIDefaults.java (putDefaults):
  2100. Readded accidently removed "public" modifier.
  2101. 2003-10-14 Paolo Bonzini <bonzini@gnu.org>
  2102. * interpret.cc (_Jv_InterpMethod::run): Don't
  2103. use libffi types, they were meant to be internal.
  2104. * gcj/javaprims.h (_Jv_ulong): New typedef.
  2105. 2003-10-13 Tom Tromey <tromey@redhat.com>
  2106. * java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed.
  2107. (defineClass): Updated.
  2108. (_Jv_NewClass): Likewise.
  2109. * prims.cc (_Jv_InitPrimClass): Don't call
  2110. _Jv_InitNewClassFields.
  2111. 2003-10-13 Taras Glek <taras.judge@shaw.ca>
  2112. PR libgcj/12592
  2113. * gnu/java/net/protocol/http/Connection.java (connect): Use \r\n,
  2114. not just \n.
  2115. 2003-10-13 Michael Koch <konqueror@gmx.de>
  2116. * java/io/File.java: Reformated.
  2117. (equals): Check for obj == null.
  2118. 2003-10-13 Michael Koch <konqueror@gmx.de>
  2119. * java/net/JarURLConnection.java
  2120. (jarFileURL): Added dcoumentation.
  2121. (jarFileURLConnection): Reformated documentation.
  2122. (entryName): Renamed from "element", documentation rewritten.
  2123. (connectionCache): Renamed from "conn_cache", documentation
  2124. reformated.
  2125. (JarURLConnection): Check URL protocol.
  2126. (getEntryName): Use entryName.
  2127. (connect): Use connectionCache.
  2128. (getInputStream): Use entryName, fixed comment.
  2129. (getJarEntry): Use entryName.
  2130. (getHeaders): Use entryName.
  2131. * java/net/URLConnection.java
  2132. (addRequestProperty): Fixed documentation.
  2133. (setDefaultRequestProptery): Added comment that it does nothing since
  2134. JDK 1.3.
  2135. (getDefaultRequestProperty): Likewise.
  2136. 2003-10-13 Michael Koch <konqueror@gmx.de>
  2137. * java/net/java/net/URLStreamHandlerFactory.java
  2138. (createURLStreamHandler): Removed redundant "public" modifier.
  2139. * java/sql/DatabaseMetaData.java:
  2140. (DatabaseMetaData): Readded accidently removed "public" modifier.
  2141. * java/sql/ParameterMetaData.java:
  2142. (ParameterMetaData): Readded accidently removed "public" modifier.
  2143. * java/sql/PreparedStatement.java:
  2144. (PreparedStatement): Readded accidently removed "public" modifier.
  2145. * java/sql/Ref.java:
  2146. (Ref): Readded accidently removed "public" modifier.
  2147. 2003-10-13 Michael Koch <konqueror@gmx.de>
  2148. * java/nio/Buffer.java
  2149. (hasRemaining): Made implementation more clear.
  2150. * java/nio/MappedByteBuffer.java
  2151. (loaded): New member variable.
  2152. (force): Added comment.
  2153. (isLoaded): Return value of loaded.
  2154. (load): Set loaded to true, added comment.
  2155. 2003-10-12 Michael Koch <konqueror@gmx.de>
  2156. * gnu/java/nio/PipeImpl.java
  2157. (SourceChannelImpl): New inner class.
  2158. (SinkChannelImpl): New inner class.
  2159. (sink): New member variable.
  2160. (source): New member variable.
  2161. (PipeImpl): Add SelectorProvider argument, implemented.
  2162. (nativeInit): New method.
  2163. (sink): Return sink channel.
  2164. (source): Return source channel.
  2165. * gnu/java/nio/SelectorProviderImpl.java
  2166. (openPipe): Give provider as argument to PipeImpl constructor.
  2167. * java/nio/channels/spi/SelectorProvider.java
  2168. (pr): Removed.
  2169. (systemDefaultProvider): New member variable.
  2170. (provider): Made it synchronized, use property
  2171. java.nio.channels.spi.SelectorProvider.
  2172. * gnu/java/nio/natPipeImpl.cc: New file.
  2173. * Makefile.am (nat_source_files): Added gnu/java/nio/natPipeImpl.cc.
  2174. * Makefile.in: Regenerated.
  2175. 2003-10-12 Michael Koch <konqueror@gmx.de>
  2176. * javax/swing/table/DefaultTableModel.java,
  2177. javax/swing/table/TableCellEditor.java,
  2178. javax/swing/table/TableCellRenderer.java,
  2179. javax/swing/table/TableColumnModel.java,
  2180. javax/swing/table/TableModel.java,
  2181. javax/swing/text/AbstractDocument.java,
  2182. javax/swing/text/Document.java,
  2183. javax/swing/text/MutableAttributeSet.java,
  2184. javax/swing/text/StyledDocument.java,
  2185. javax/swing/text/ViewFactory.java,
  2186. javax/swing/tree/DefaultMutableTreeNode.java,
  2187. javax/swing/tree/MutableTreeNode.java,
  2188. javax/swing/tree/RowMapper.java,
  2189. javax/swing/tree/TreeCellEditor.java,
  2190. javax/swing/tree/TreeCellRenderer.java,
  2191. javax/swing/tree/TreeModel.java,
  2192. javax/swing/tree/TreeNode.java,
  2193. javax/swing/tree/TreeSelectionModel.java,
  2194. javax/swing/undo/StateEditable.java,
  2195. javax/swing/undo/UndoableEdit.java:
  2196. Removed redundant modifiers.
  2197. 2003-10-12 Michael Koch <konqueror@gmx.de>
  2198. * javax/swing/event/AncestorListener.java,
  2199. javax/swing/event/CaretListener.java,
  2200. javax/swing/event/CellEditorListener.java,
  2201. javax/swing/event/ChangeListener.java,
  2202. javax/swing/event/DocumentEvent.java,
  2203. javax/swing/event/DocumentListener.java,
  2204. javax/swing/event/HyperlinkListener.java,
  2205. javax/swing/event/InternalFrameListener.java,
  2206. javax/swing/event/ListDataListener.java,
  2207. javax/swing/event/ListSelectionListener.java,
  2208. javax/swing/event/MenuDragMouseListener.java,
  2209. javax/swing/event/MenuKeyListener.java,
  2210. javax/swing/event/MenuListener.java,
  2211. javax/swing/event/MouseInputListener.java,
  2212. javax/swing/event/PopupMenuListener.java,
  2213. javax/swing/event/TableColumnModelListener.java,
  2214. javax/swing/event/TableModelListener.java,
  2215. javax/swing/event/TreeExpansionListener.java,
  2216. javax/swing/event/TreeModelListener.java,
  2217. javax/swing/event/TreeSelectionListener.java,
  2218. javax/swing/event/TreeWillExpandListener.java,
  2219. javax/swing/event/UndoableEditListener.java,
  2220. javax/swing/plaf/UIResource.java,
  2221. javax/swing/plaf/metal/MetalLookAndFeel.java:
  2222. Removed redundant modifiers.
  2223. 2003-10-12 Michael Koch <konqueror@gmx.de>
  2224. * javax/swing/Action.java,
  2225. javax/swing/BoundedRangeModel.java,
  2226. javax/swing/CellEditor.java,
  2227. javax/swing/ComboBoxEditor.java,
  2228. javax/swing/ComboBoxModel.java,
  2229. javax/swing/DesktopManager.java,
  2230. javax/swing/JComboBox.java,
  2231. javax/swing/ListCellRenderer.java,
  2232. javax/swing/ListSelectionModel.java,
  2233. javax/swing/MenuElement.java,
  2234. javax/swing/MutableComboBoxModel.java,
  2235. javax/swing/Renderer.java,
  2236. javax/swing/RootPaneContainer.java,
  2237. javax/swing/ScrollPaneConstants.java,
  2238. javax/swing/SingleSelectionModel.java,
  2239. javax/swing/SpinnerModel.java,
  2240. javax/swing/SwingConstants.java,
  2241. javax/swing/UIDefaults.java,
  2242. javax/swing/WindowConstants.java,
  2243. javax/swing/border/Border.java,
  2244. javax/swing/colorchooser/ColorSelectionModel.java:
  2245. Removed redundant modifiers.
  2246. 2003-10-11 Michael Koch <konqueror@gmx.de>
  2247. * javax/transaction/Status.java,
  2248. javax/transaction/Synchronization.java,
  2249. javax/transaction/Transaction.java,
  2250. javax/transaction/TransactionManager.java,
  2251. javax/transaction/UserTransaction.java,
  2252. javax/transaction/xa/XAResource.java,
  2253. javax/transaction/xa/Xid.java:
  2254. Removing redundant modifiers.
  2255. 2003-10-11 Michael Koch <konqueror@gmx.de>
  2256. * javax/print/attribute/Attribute.java,
  2257. javax/print/attribute/AttributeSet.java,
  2258. javax/print/attribute/PrintRequestAttributeSet.java:
  2259. Removing redundant modifiers.
  2260. 2003-10-11 Michael Koch <konqueror@gmx.de>
  2261. * javax/sql/ConnectionEventListener.java,
  2262. javax/sql/ConnectionPoolDataSource.java,
  2263. javax/sql/DataSource.java,
  2264. javax/sql/PooledConnection.java,
  2265. javax/sql/RowSet.java,
  2266. javax/sql/RowSetInternal.java,
  2267. javax/sql/RowSetListener.java,
  2268. javax/sql/RowSetMetaData.java,
  2269. javax/sql/RowSetReader.java,
  2270. javax/sql/RowSetWriter.java,
  2271. javax/sql/XAConnection.java,
  2272. javax/sql/XADataSource.java:
  2273. Removing redundant modifiers.
  2274. 2003-10-11 Michael Koch <konqueror@gmx.de>
  2275. * javax/naming/Context.java,
  2276. javax/naming/Name.java,
  2277. javax/naming/NameParser.java,
  2278. javax/naming/NamingEnumeration.java,
  2279. javax/naming/Referenceable.java,
  2280. javax/naming/directory/Attribute.java,
  2281. javax/naming/directory/Attributes.java,
  2282. javax/naming/directory/DirContext.java,
  2283. javax/naming/event/EventContext.java,
  2284. javax/naming/event/EventDirContext.java,
  2285. javax/naming/event/NamespaceChangeListener.java,
  2286. javax/naming/event/NamingListener.java,
  2287. javax/naming/event/ObjectChangeListener.java,
  2288. javax/naming/ldap/Control.java,
  2289. javax/naming/ldap/ExtendedRequest.java,
  2290. javax/naming/ldap/ExtendedResponse.java,
  2291. javax/naming/ldap/HasControls.java,
  2292. javax/naming/ldap/LdapContext.java,
  2293. javax/naming/ldap/UnsolicitedNotification.java,
  2294. javax/naming/ldap/UnsolicitedNotificationListener.java,
  2295. javax/naming/spi/DirObjectFactory.java,
  2296. javax/naming/spi/DirStateFactory.java,
  2297. javax/naming/spi/InitialContextFactory.java,
  2298. javax/naming/spi/InitialContextFactoryBuilder.java,
  2299. javax/naming/spi/ObjectFactory.java,
  2300. javax/naming/spi/ObjectFactoryBuilder.java,
  2301. javax/naming/spi/Resolver.java,
  2302. javax/naming/spi/StateFactory.java:
  2303. Removing redundant modifiers.
  2304. 2003-10-11 Michael Koch <konqueror@gmx.de>
  2305. * java/security/Key.java,
  2306. * java/security/PrivateKey.java,
  2307. * java/security/PublicKey.java,
  2308. * java/security/acl/Acl.java,
  2309. * java/security/acl/AclEntry.java,
  2310. * java/security/acl/Group.java,
  2311. * java/security/acl/Owner.java,
  2312. * java/security/acl/Permission.java,
  2313. * java/security/cert/X509Extension.java,
  2314. * java/security/interfaces/DSAKey.java,
  2315. * java/security/interfaces/DSAKeyPairGenerator.java,
  2316. * java/security/interfaces/DSAParams.java,
  2317. * java/security/interfaces/DSAPrivateKey.java,
  2318. * java/security/interfaces/DSAPublicKey.java,
  2319. * java/security/interfaces/RSAKey.java,
  2320. * java/security/interfaces/RSAPrivateCrtKey.java,
  2321. * java/security/interfaces/RSAPrivateKey.java,
  2322. * java/security/interfaces/RSAPublicKey.java:
  2323. Removed redundant modifiers.
  2324. 2003-10-11 Michael Koch <konqueror@gmx.de>
  2325. * gnu/java/rmi/server/ProtocolConstants.java,
  2326. gnu/java/security/der/DER.java:
  2327. Removing redundant modifiers.
  2328. 2003-10-11 Michael Koch <konqueror@gmx.de>
  2329. * java/util/Map.java,
  2330. java/util/Observer.java,
  2331. java/util/zip/Checksum.java,
  2332. java/util/zip/ZipConstants.java:
  2333. Removed redundant modifiers.
  2334. 2003-10-11 Michael Koch <konqueror@gmx.de>
  2335. * java/text/AttributedCharacterIterator.java,
  2336. java/text/CharacterIterator.java:
  2337. Removed redundant modifiers.
  2338. 2003-10-11 Michael Koch <konqueror@gmx.de>
  2339. * java/sql/Array.java,
  2340. java/sql/Blob.java,
  2341. java/sql/CallableStatement.java,
  2342. java/sql/Clob.java,
  2343. java/sql/Connection.java,
  2344. java/sql/DatabaseMetaData.java,
  2345. java/sql/Driver.java,
  2346. java/sql/ParameterMetaData.java,
  2347. java/sql/PreparedStatement.java,
  2348. java/sql/Ref.java,
  2349. java/sql/ResultSet.java,
  2350. java/sql/ResultSetMetaData.java,
  2351. java/sql/SQLData.java,
  2352. java/sql/SQLInput.java,
  2353. java/sql/SQLOutput.java,
  2354. java/sql/Savepoint.java,
  2355. java/sql/Statement.java,
  2356. java/sql/Struct.java:
  2357. Removed redundant modifiers.
  2358. 2003-10-11 Michael Koch <konqueror@gmx.de>
  2359. * java/nio/channels/Channel.java,
  2360. java/nio/channels/GatheringByteChannel.java,
  2361. java/nio/channels/ReadableByteChannel.java,
  2362. java/nio/channels/ScatteringByteChannel.java,
  2363. java/nio/channels/WritableByteChannel.java:
  2364. Removed redundant modifiers.
  2365. 2003-10-11 Michael Koch <konqueror@gmx.de>
  2366. * java/rmi/activation/ActivationInstantiator.java,
  2367. java/rmi/activation/ActivationMonitor.java,
  2368. java/rmi/activation/ActivationSystem.java,
  2369. java/rmi/activation/Activator.java,
  2370. java/rmi/dgc/DGC.java,
  2371. java/rmi/registry/Registry.java,
  2372. java/rmi/registry/RegistryHandler.java,
  2373. java/rmi/server/LoaderHandler.java,
  2374. java/rmi/server/RMIClientSocketFactory.java,
  2375. java/rmi/server/RMIFailureHandler.java,
  2376. java/rmi/server/RMIServerSocketFactory.java,
  2377. java/rmi/server/RemoteCall.java,
  2378. java/rmi/server/RemoteRef.java,
  2379. java/rmi/server/ServerRef.java,
  2380. java/rmi/server/Skeleton.java,
  2381. java/rmi/server/Unreferenced.java:
  2382. Removed redundant modifiers.
  2383. 2003-10-11 Michael Koch <konqueror@gmx.de>
  2384. * java/net/ContentHandlerFactory.java,
  2385. java/net/DatagramSocketImplFactory.java,
  2386. java/net/FileNameMap.java,
  2387. java/net/SocketImplFactory.java,
  2388. java/net/SocketOptions.java,
  2389. java/net/URLStreamHandlerFactory.java:
  2390. Removed redundant modifiers.
  2391. 2003-10-11 Michael Koch <konqueror@gmx.de>
  2392. * java/io/Externalizable.java,
  2393. java/io/FileFilter.java,
  2394. java/io/FilePermission.java,
  2395. java/io/ObjectInput.java,
  2396. java/io/ObjectInputValidation.java,
  2397. java/io/ObjectOutput.java,
  2398. java/io/ObjectStreamClass.java,
  2399. java/io/ObjectStreamConstants.java,
  2400. java/io/Serializable.java:
  2401. Removed redundant modifiers.
  2402. 2003-10-11 Ingo Proetel <proetel@aicas.com>
  2403. * java/rmi/server/RMIClassLoader.java: Identify cached classloaders by
  2404. codebase and context classloader.
  2405. 2003-10-11 Michael Koch <konqueror@gmx.de>
  2406. * java/beans/beancontext/BeanContext.java,
  2407. java/beans/beancontext/BeanContextChild.java,
  2408. java/beans/beancontext/BeanContextChildComponentProxy.java,
  2409. java/beans/beancontext/BeanContextChildSupport.java,
  2410. java/beans/beancontext/BeanContextContainerProxy.java,
  2411. java/beans/beancontext/BeanContextMembershipListener.java,
  2412. java/beans/beancontext/BeanContextProxy.java,
  2413. java/beans/beancontext/BeanContextServiceProvider.java,
  2414. java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
  2415. java/beans/beancontext/BeanContextServiceRevokedListener.java,
  2416. java/beans/beancontext/BeanContextServices.java,
  2417. java/beans/beancontext/BeanContextServicesListener.java:
  2418. Removed redundant modifiers.
  2419. 2003-10-11 Michael Koch <konqueror@gmx.de>
  2420. * java/beans/AppletInitializer.java,
  2421. java/beans/BeanInfo.java,
  2422. java/beans/Customizer.java,
  2423. java/beans/DesignMode.java,
  2424. java/beans/PropertyEditor.java,
  2425. java/beans/Visibility.java:
  2426. Removed redundant modifiers.
  2427. 2003-10-11 Michael Koch <konqueror@gmx.de>
  2428. * java/awt/print/Pageable.java,
  2429. * java/awt/print/Printable.java,
  2430. java/awt/print/PrinterGraphics.java:
  2431. Removed redundant modifiers.
  2432. 2003-10-11 Michael Koch <konqueror@gmx.de>
  2433. * java/awt/peer/ButtonPeer.java,
  2434. java/awt/peer/CheckboxMenuItemPeer.java,
  2435. java/awt/peer/CheckboxPeer.java,
  2436. java/awt/peer/ChoicePeer.java,
  2437. java/awt/peer/ComponentPeer.java,
  2438. java/awt/peer/ContainerPeer.java,
  2439. java/awt/peer/DialogPeer.java,
  2440. java/awt/peer/FileDialogPeer.java,
  2441. java/awt/peer/FramePeer.java,
  2442. java/awt/peer/LabelPeer.java,
  2443. java/awt/peer/ListPeer.java,
  2444. java/awt/peer/MenuBarPeer.java,
  2445. java/awt/peer/MenuComponentPeer.java,
  2446. java/awt/peer/MenuItemPeer.java,
  2447. java/awt/peer/MenuPeer.java,
  2448. java/awt/peer/PopupMenuPeer.java,
  2449. java/awt/peer/RobotPeer.java,
  2450. java/awt/peer/ScrollPanePeer.java,
  2451. java/awt/peer/ScrollbarPeer.java,
  2452. java/awt/peer/TextAreaPeer.java,
  2453. java/awt/peer/TextComponentPeer.java,
  2454. java/awt/peer/TextFieldPeer.java,
  2455. java/awt/peer/WindowPeer.java:
  2456. Removed redundant modifiers.
  2457. 2003-10-11 Michael Koch <konqueror@gmx.de>
  2458. * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
  2459. * gnu/java/nio/ServerSocketChannelImpl.java
  2460. (serverSocket): Made it a NIOServerSocket.
  2461. (impl): Removed.
  2462. (ServerSocketChannelImpl): Initialize only serverSocket.
  2463. (initServerSocket): Removed.
  2464. (getNativeFD): Rewritten.
  2465. (implConfigureBlocking): Set socket timeout and removed comment.
  2466. (accept): Rewritten.
  2467. * gnu/java/nio/SocketChannelImpl.java
  2468. (impl): New variable.
  2469. (connected): Removed.
  2470. (SocketChannelImpl): Initialize impl too.
  2471. (getImpl): New method.
  2472. (isConnected): Rewritten.
  2473. (read): Rewritten, set position in buffer correctly.
  2474. (write): Set position in buffer correctly.
  2475. * java/net/ServerSocket.java (getImpl): New method.
  2476. * gnu/java/nio/NIOServerSocket.java,
  2477. gnu/java/nio/natNIOServerSocket.cc: New files.
  2478. * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
  2479. * Makefile.am
  2480. (ordinary_java_source_files):
  2481. Added gnu/java/nio/NIOServerSocket.java.
  2482. (nat_source_files):
  2483. Removed gnu/java/nio/natServerSocketChannelImpl.cc
  2484. and added gnu/java/nio/natNIOServerSocket.cc.
  2485. * Makefile.in: Regenerated.
  2486. 2003-10-11 Michael Koch <konqueror@gmx.de>
  2487. * java/awt/ActiveEvent.java,
  2488. java/awt/datatransfer/ClipboardOwner.java,
  2489. java/awt/datatransfer/FlavorMap.java,
  2490. java/awt/datatransfer/Transferable.java,
  2491. java/awt/dnd/Autoscroll.java,
  2492. java/awt/dnd/peer/DragSourceContextPeer.java,
  2493. java/awt/dnd/peer/DropTargetContextPeer.java,
  2494. java/awt/dnd/peer/DropTargetPeer.java,
  2495. java/awt/font/MultipleMaster.java,
  2496. java/awt/font/OpenType.java,
  2497. java/awt/im/spi/InputMethodDescriptor.java,
  2498. java/awt/image/ImageObserver.java,
  2499. java/awt/image/ImageConsumer.java,
  2500. java/awt/image/ImageProducer.java,
  2501. java/awt/image/RGBImageFilter.java,
  2502. java/awt/image/RasterOp.java,
  2503. java/awt/image/renderable/RenderableImage.java:
  2504. Removed redundant modifiers.
  2505. 2003-10-11 Michael Koch <konqueror@gmx.de>
  2506. * gnu/awt/j2d/DirectRasterGraphics.java,
  2507. gnu/java/awt/EmbeddedWindowSupport.java:
  2508. Removed redundant modifiers.
  2509. 2003-10-09 Michael Koch <konqueror@gmx.de>
  2510. * gnu/java/nio/SelectorImpl.java (register):
  2511. Use ServerSocketChannelSelectionKey for server socket channels,
  2512. removed unneeded comments.
  2513. * gnu/java/nio/ServerSocketChannelImpl.java
  2514. (ServerSocketChannelImpl): Made class public final.
  2515. (impl): New member variable.
  2516. (ServerSocketChannelImpl): Initialize member variables correctly.
  2517. (initServerSocket): New method.
  2518. (getNativeFD): Likewise.
  2519. * gnu/java/nio/ServerSocketChannelSelectionKey.java,
  2520. gnu/java/nio/natServerSocketChannelImpl.cc: New files.
  2521. * Makefile.am (ordinary_java_source_files):
  2522. Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
  2523. (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
  2524. * Makefile.in: Regenrated.
  2525. 2003-10-09 Michael Koch <konqueror@gmx.de>
  2526. * java/nio/channels/spi/AbstractSelectableChannel.java
  2527. (registered): Made private.
  2528. (blocking): Likewise.
  2529. (LOCK): Likewise.
  2530. (provider): Likewise.
  2531. (keys): Made it a private LinkedList.
  2532. (AbstractSelectableChannel): Initialize keys.
  2533. (isRegistered): New implementation.
  2534. (locate): Rewritten.
  2535. (register): Rewritten.
  2536. * java/nio/channels/spi/AbstractSelectionKey.java
  2537. (ok): Removed.
  2538. (cancelled): New member variable.
  2539. (cancel): Rewritten.
  2540. (isValid): Rewritten.
  2541. * java/nio/channels/spi/AbstractSelector.java:
  2542. Some methods moved.
  2543. (closed): Make private.
  2544. (provider): Likewise.
  2545. (cancelledKeys): New member variable.
  2546. (AbstractSelector): Initialize cancelledKeys.
  2547. (cancelKey): New method.
  2548. 2003-10-09 Tom Tromey <tromey@redhat.com>
  2549. * java/lang/ClassLoader.java (setSigners): Implemented.
  2550. * boehm.cc (_Jv_MarkObj): Mark `signers' field.
  2551. * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
  2552. Initialize new fields.
  2553. * java/lang/Class.java (getSigners): Now native.
  2554. (setSigners): Declare.
  2555. * java/lang/natClass.cc (getSigners): New method.
  2556. (getSigners): Likewise.
  2557. * java/lang/Class.h (Class::signers): New field.
  2558. (Class::setSigners): New method.
  2559. 2003-10-09 Michael Koch <konqueror@gmx.de>
  2560. * java/rmi/server/RMIClassLoader.java:
  2561. Removed unused imports, little reformatings.
  2562. (getClassLoader): New method, implementation was part of old loadCLass
  2563. method.
  2564. (loadClass): Simplified by moving functionality to new method and
  2565. reworking the code a bit.
  2566. (getClassAnnotation): Merged documentation from classpath.
  2567. 2003-10-09 Michael Koch <konqueror@gmx.de>
  2568. * java/math/BigInteger.java
  2569. (add): Removed unused local variable len.
  2570. 2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com>
  2571. * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
  2572. modality check.
  2573. * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
  2574. Initialize insets to use latest insets.
  2575. * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
  2576. * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
  2577. field.
  2578. (postConfigureEvent): Update latestInsets field when insets
  2579. change. Remove call to setSize. Move validate call outside of
  2580. if blocks.
  2581. (setVisible): Call setBounds before showing window.
  2582. (nativeSetVisible): New native method.
  2583. * java/awt/Window.java (show): Show visible owned windows.
  2584. (hide): Hide visible owned windows.
  2585. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
  2586. (awt_event_handler): Implement modality using GTK grabs.
  2587. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
  2588. (global_gtk_window_group): New global variable.
  2589. (gtkInit): Initialize global_gtk_window_group.
  2590. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
  2591. Clamp width and height values to at least 1. Add this window to
  2592. the global GTK window group.
  2593. (setVisible): Rename to nativeSetVisible.
  2594. (setup_window): Remove function.
  2595. (setSize): Clamp width and height values to at least 1.
  2596. (nativeSetBounds): Likewise.
  2597. (gdk_window_get_root_geometry): Remove function.
  2598. * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
  2599. and setup_window declarations. Declare global_gtk_window_group.
  2600. * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
  2601. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
  2602. (gtkSetFont): Handle BOLD and ITALIC style specifiers.
  2603. (gtkWidgetSetForeground): New method.
  2604. * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
  2605. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
  2606. (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
  2607. (setBackground, setForeground): Implement.
  2608. * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
  2609. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
  2610. (gtkSetFont): Handle BOLD and ITALIC style specifiers.
  2611. * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
  2612. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
  2613. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
  2614. Position PangoLayout relative to text's baseline.
  2615. * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
  2616. * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
  2617. for CENTER and RIGHT alignments.
  2618. 2003-10-08 Michael Koch <konqueror@gmx.de>
  2619. * java/security/Security.java: Reformated.
  2620. 2003-10-08 Michael Koch <konqueror@gmx.de>
  2621. * java/text/SimpleDateFormat.java
  2622. (compileFormat): Replace Character.isLetter() test with
  2623. Character.isLowerCase() || Character.isUpperCase().
  2624. 2003-10-08 Tom Tromey <tromey@redhat.com>
  2625. * java/lang/StrictMath.java (toDegrees): Multiply before
  2626. dividing.
  2627. (toRadians): Likewise.
  2628. 2003-10-08 C. Brian Jones <cbj@gnu.org>
  2629. * java/lang/Math.java
  2630. (toRadians): multiply before dividing to reduce decimal error
  2631. (toDegrees): ditto
  2632. 2003-10-08 Michael Koch <konqueror@gmx.de>
  2633. * gnu/gcj/protocol/core/Connection.java,
  2634. gnu/gcj/protocol/core/CoreInputStream.java,
  2635. gnu/gcj/protocol/core/Handler.java,
  2636. gnu/gcj/protocol/core/natCoreInputStream.cc,
  2637. gnu/gcj/protocol/file/Connection.java,
  2638. gnu/gcj/protocol/file/Handler.java,
  2639. gnu/gcj/protocol/gcjlib/Connection.java,
  2640. gnu/gcj/protocol/gcjlib/Handler.java,
  2641. gnu/gcj/protocol/http/Connection.java,
  2642. gnu/gcj/protocol/http/Handler.java,
  2643. gnu/gcj/protocol/jar/Connection.java,
  2644. gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
  2645. * gnu/java/net/protocol/core/Connection.java,
  2646. gnu/java/net/protocol/core/CoreInputStream.java,
  2647. gnu/java/net/protocol/core/Handler.java,
  2648. gnu/java/net/protocol/core/natCoreInputStream.cc,
  2649. gnu/java/net/protocol/file/Connection.java,
  2650. gnu/java/net/protocol/file/Handler.java,
  2651. gnu/java/net/protocol/gcjlib/Connection.java,
  2652. gnu/java/net/protocol/gcjlib/Handler.java,
  2653. gnu/java/net/protocol/http/Connection.java,
  2654. gnu/java/net/protocol/http/Handler.java,
  2655. gnu/java/net/protocol/jar/Connection.java,
  2656. gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
  2657. * gnu/gcj/runtime/FirstThread.java,
  2658. java/net/URL.java: Use moved protocol handlers.
  2659. * Makefile.am
  2660. (ordinary_java_source_files): Moved files.
  2661. (nat_source_files): Likewise.
  2662. * Makefile.in: Regenerated.
  2663. 2003-10-08 Michael Koch <konqueror@gmx.de>
  2664. * gnu/java/nio/SocketChannelImpl.java
  2665. (read): Write only read data to buffer.
  2666. 2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com>
  2667. * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
  2668. out.
  2669. * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
  2670. (JCL_free): Attach "unused" attribute to env parameter.
  2671. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
  2672. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
  2673. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
  2674. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
  2675. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
  2676. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
  2677. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
  2678. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
  2679. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
  2680. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
  2681. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
  2682. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
  2683. jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
  2684. parameters.
  2685. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
  2686. (initNativeState): Pass 0 as info argument to
  2687. gtk_selection_add_target.
  2688. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
  2689. (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
  2690. unused method implementations.
  2691. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
  2692. (awt_event_handler): Add break statement after default label.
  2693. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
  2694. (drawPixels): Remove unused variable i.
  2695. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
  2696. (setEnabled): Remove method implementation.
  2697. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
  2698. (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
  2699. argument.
  2700. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
  2701. unused function.
  2702. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
  2703. (menu_pos): Assign TRUE to push_in.
  2704. (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
  2705. argument.
  2706. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
  2707. (create): Remove unused variable layout.
  2708. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
  2709. Pass window_widget, rather than window, to
  2710. gtk_widget_set_size_request.
  2711. * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
  2712. structure initialization with NULL values.
  2713. * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
  2714. 2003-10-08 Michael Koch <konqueror@gmx.de>
  2715. * java/util/LinkedList.java:
  2716. Removed whitespace to match classpath's version again.
  2717. 2003-10-08 Michael Koch <konqueror@gmx.de>
  2718. * java/util/prefs/Preferences.java
  2719. (defaultFactoryClass): Fixed class name.
  2720. (getFactory): Create instance of class returned by Class.forName(),
  2721. reformated code.
  2722. 2003-10-08 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
  2723. * javax/swing/table/AbstractTableModel.java
  2724. (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
  2725. helped stop pulling my hair on this +1 then -1 tricky thing!
  2726. 2003-10-07 Thomas Fitzsimmons <fitzsim@redhat.com>
  2727. * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
  2728. Remove unused parameters.
  2729. * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
  2730. Likewise.
  2731. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
  2732. (keyevent_state_to_awt_mods): Export function.
  2733. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
  2734. (getCaretPosition): Fix TextArea case.
  2735. (textcomponent_commit_cb): Get exact event time and modifier
  2736. state.
  2737. * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
  2738. 2003-10-02 Guilhem Lavaux <guilhem@kaffe.org>
  2739. * java/net/InetSocketAddress.java
  2740. (InetSocketAddress): Made exception more clear.
  2741. (equals): Handle case when addr is null.
  2742. (toString): Likewise.
  2743. * java/net/NetworkInterface.java
  2744. (static): Load native library.
  2745. (getNetworkInterfaces): Rewritten.
  2746. 2003-10-02 Thomas Fitzsimmons <fitzsim@redhat.com>
  2747. * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
  2748. field.
  2749. (initializeInsets): New method.
  2750. (GtkComponentPeer): Call initializeInsets. Call setCursor and
  2751. setBounds unconditionally.
  2752. (setBounds): Convert coordinates if parent is a Window.
  2753. * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
  2754. field to GtkComponentPeer.
  2755. (GtkContainerPeer): Don't initialize insets.
  2756. * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
  2757. New method.
  2758. (create): Call new GtkWindowPeer create method.
  2759. * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
  2760. New method.
  2761. (create): Call new GtkWindowPeer create method.
  2762. (setBounds): Remove method.
  2763. (postConfigureEvent): Likewise.
  2764. * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
  2765. type constants with GDK window type constants.
  2766. (create(int,boolean,int,int,GtkWindowPeer)): New method.
  2767. (create(int,boolean)): Likewise.
  2768. (create()): Call create(int,boolean).
  2769. (nativeSetBounds): New native method declaration.
  2770. (setBounds): Call native method declaration.
  2771. (setSize): New native method declaration.
  2772. (setBoundsCallback): Likewise.
  2773. (postConfigureEvent): Handle change in insets. Call setSize and
  2774. setBoundsCallback methods.
  2775. * java/awt/Window.java (Window): Set visible to false.
  2776. (setBoundsCallback): New method.
  2777. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
  2778. (gtkWidgetGetLocationOnScreen): If this component is not a
  2779. container, adjust the location returned based on the peer's
  2780. allocation.
  2781. (set(String,boolean)): Revert change from 2003-09-19.
  2782. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
  2783. (awt_event_handler): Fix inset calculation.
  2784. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
  2785. glue for Window.setBoundsCallback.
  2786. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
  2787. Set up stacking order, window decorations and window manager
  2788. hints.
  2789. (setBoundsCallback): New method.
  2790. (setSize): New method.
  2791. (nativeSetBounds): New method.
  2792. * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
  2793. 2003-10-02 Tom Tromey <tromey@redhat.com>
  2794. * java/lang/VMClassLoader.java (loadClass): Now native.
  2795. * java/lang/natClassLoader.cc (loadClass): Implement.
  2796. * prims.cc (_Jv_RunMain): Initialize ClassLoader.
  2797. 2003-10-02 Michael Koch <konqueror@gmx.de>
  2798. * java/net/InetAddress.java
  2799. (zeros): Removed.
  2800. (ANY_IF): Initalizie in static block.
  2801. (static): Load library with native methods here and initialize ANY_IF.
  2802. (isAnyLocalAddress): Check if equal to ANY_IF.
  2803. (equals): Use addr directly instead of addr1. Simplify for loop.
  2804. (toString): Rename "result" to "host" and add IP address allways.
  2805. (getLocalHost): Merged documentation from classpath.
  2806. * java/net/ServerSocket.java
  2807. (ServerSocket): New package-private constructor used by java.nio.
  2808. * java/net/URLConnection.java
  2809. (getRequestProperties): Check if already connected.
  2810. 2003-10-02 Michael Koch <konqueror@gmx.de>
  2811. * java/nio/ByteBufferHelper.java:
  2812. Rewrote all methods by suggestions from Eric Blake.
  2813. 2003-10-02 Michael Koch <konqueror@gmx.de>
  2814. * java/net/URL.java
  2815. (DEFAULT_SEARCH_PATH): New static variable.
  2816. (ph_cache): Made it a HashMap.
  2817. (getURLStreamHandler): Rename propVal to ph_search_path and use
  2818. DEFAULT_SEARCH_PATH.
  2819. 2003-10-02 Michael Koch <konqueror@gmx.de>
  2820. * javax/swing/table/AbstractTableModel.java
  2821. (findColumnName): Prevent from NullPointerException if argument
  2822. columnName is null.
  2823. 2003-10-02 Michael Koch <konqueror@gmx.de>
  2824. * javax/swing/table/AbstractTableModel.java:
  2825. This patch is based on a patch done by Arnaud Vandyck
  2826. <arnaud.vandyck@ulg.ac.be>.
  2827. (getColumnName): Fixed method documentation.
  2828. (findColumn): Likewise.
  2829. (getColumnClass): Likewise.
  2830. (isCellEditable): Likewise.
  2831. (setValueAt): Likewise.
  2832. (addTableModelListener): Likewise.
  2833. (removeTableModelListener): Likewise.
  2834. (getTableModelListeners): New method.
  2835. 2003-10-02 Michael Koch <konqueror@gmx.de>
  2836. * javax/swing/table/AbstractTableModel.java:
  2837. Reformated.
  2838. 2003-10-01 Bryce McKinlay <bryce@mckinlay.net.nz>
  2839. Fix PR libgcj/12475
  2840. * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
  2841. * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
  2842. 2003-10-01 Tom Tromey <tromey@redhat.com>
  2843. * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
  2844. 2003-10-01 Andrew Haley <aph@redhat.com>
  2845. * java/lang/natClass.cc (initializeClass): Check for otable and
  2846. atable.
  2847. (_Jv_LinkOffsetTable): Check for existence of atable. Rewrite
  2848. loops using for(). Search superinterfaces. Check for fields as
  2849. well as methods. Initialize atable as well as otable: check for
  2850. static methods as well as virtual methods.
  2851. * java/lang/Class.h (struct _Jv_AddressTable): New.
  2852. (atable): New.
  2853. (atable_syms): New.
  2854. * include/jvm.h (_Jv_equalUtf8Consts): constify.
  2855. * prims.cc (_Jv_equalUtf8Consts): constify.
  2856. 2003-09-29 Tom Tromey <tromey@redhat.com>
  2857. PR libgcj/10596:
  2858. * include/jvm.h (_Jv_FinalizeString,
  2859. _Jv_RegisterStringFinalizer): Declare.
  2860. * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
  2861. unintern.
  2862. (intern): Updated.
  2863. (_Jv_NewStringUtf8Const): Likewise.
  2864. * java/lang/ref/natReference.cc (finalize_referred_to_object):
  2865. Add special case when finalizing a String.
  2866. (in_hash): New function.
  2867. (_Jv_RegisterStringFinalizer): Likewise.
  2868. (maybe_add_finalize): Likewise.
  2869. 2003-09-29 Michael Koch <konqueror@gmx.de>
  2870. * java/net/InetAddress.java:
  2871. (isMulticastAddress): Dont use local variable to store address length.
  2872. Let the compiler optimize this.
  2873. (getHostName): Merged dcoumentation from classpath.
  2874. (getAddress): Likewise.
  2875. (getHostAddress): Likewise.
  2876. (hashCode): Likewise.
  2877. (equals): Likewise.
  2878. (toString): Likewise.
  2879. (getByName): Likewise.
  2880. (getAllByName): Likewise.
  2881. 2003-09-29 Michael Koch <konqueror@gmx.de>
  2882. * java/awt/image/IndexColorModel.java: Reformated.
  2883. 2003-09-29 Michael Koch <konqueror@gmx.de>
  2884. * java/net/InetAddress.java,
  2885. java/net/URL.java: Reformated.
  2886. 2003-09-29 Bryce McKinlay <bryce@mckinlay.net.nz>
  2887. * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most
  2888. significant bit of descriptor. Include the vtable and sync_info
  2889. fields.
  2890. 2003-09-28 Bryce McKinlay <bryce@mckinlay.net.nz>
  2891. * java/text/DateFormat.java (format): Throw IllegalArgumentException
  2892. if `obj' is not a Number or Date instance.
  2893. * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
  2894. instead of Vector.
  2895. 2003-09-28 Bryce McKinlay <bryce@mckinlay.net.nz>
  2896. * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
  2897. Don't call setTimeZone on calendar.
  2898. 2003-09-27 Michael Koch <konqueror@gmx.de>
  2899. * java/net/URL.java (getURLStreamHandler): Compile fixes.
  2900. 2003-09-27 Michael Koch <konqueror@gmx.de>
  2901. * java/net/URL.java (getURLStreamHandler):
  2902. Check if we have to use cache before trying to retrieve handler from
  2903. cache. Rename facName to clsName to match classpath more. Reformated
  2904. some little pieces.
  2905. 2003-09-27 Michael Koch <konqueror@gmx.de>
  2906. * gnu/java/nio/SelectionKeyImpl.java
  2907. (ch): Make package-private again. Jikes found this bug.
  2908. Jeff Sturm submitted PR12426 for this to bugzilla
  2909. to fix this bug in gcj.
  2910. 2003-09-26 Michael Koch <konqueror@gmx.de>
  2911. * java/rmi/server/RMIClassLoader.java:
  2912. Reformatted file, no functional code changes.
  2913. 2003-09-26 Sascha Brawer <brawer@dandelis.ch>
  2914. * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer):
  2915. Save space for some pixels at the buffer end. Added Javadoc.
  2916. 2003-09-26 Tom Tromey <tromey@redhat.com>
  2917. * java/io/ObjectOutputStream.java (writeFields): Fixed
  2918. indentation.
  2919. (putFields): Likewise.
  2920. 2003-09-26 Michael Koch <konqueror@gmx.de>
  2921. * java/nio/ByteBufferHelper.java:
  2922. Totally reworked with help from Eric Blake.
  2923. 2003-09-26 Tom Tromey <tromey@redhat.com>
  2924. * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
  2925. * java/awt/geom/PathIterator.java: Documentation fixes.
  2926. 2003-09-25 Jeff Sturm <jsturm@one-point.com>
  2927. * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
  2928. (select): Likewise.
  2929. (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
  2930. 2003-09-25 Michael Koch <konqueror@gmx.de>
  2931. * gnu/java/nio/DatagramChannelImpl.java
  2932. (getNativeFD): New method.
  2933. * gnu/java/nio/SelectionKeyImpl.java
  2934. (SelectionKeyImpl): Class made abstract.
  2935. (fd): Removed.
  2936. (SelectionKeyImpl): Remove fd argument.
  2937. (getNativeFD): New method.
  2938. * gnu/java/nio/SocketChannelImpl.java
  2939. (getNativeFD): New method.
  2940. gnu/java/nio/DatagramChannelSelectionKey.java,
  2941. * gnu/java/nio/SocketChannelSelectionKey.java:
  2942. New files.
  2943. * Makefile.am (ordinary_java_source_files):
  2944. Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
  2945. gnu/java/nio/SocketChannelSelectionKey.java.
  2946. * Makefile.in: Regenerated.
  2947. 2003-09-25 Michael Koch <konqueror@gmx.de>
  2948. * java/lang/reflect/Proxy.java
  2949. (getProxyClass): Remove workaround for gcj 3.0.x.
  2950. 2003-09-25 Michael Koch <konqueror@gmx.de>
  2951. * gnu/java/net/PlainDatagramSocketImpl.java
  2952. (finalize): Moved to directly after constructor.
  2953. (getNativeFD): New method.
  2954. * gnu/java/net/PlainSocketImpl.java
  2955. (getNativeFD): New method.
  2956. 2003-09-25 Ingo Proetel <proetel@aicas.com>
  2957. * java/io/ObjectOutputStream.java:
  2958. Allow putFields be called more than once.
  2959. 2003-09-25 Sascha Brawer <brawer@dandelis.ch>
  2960. * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
  2961. * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
  2962. * java/awt/image/BufferedImage.java (toString): Implement.
  2963. 2003-09-25 Jeff Sturm <jsturm@one-point.com>
  2964. * aclocal.m4: Rebuilt.
  2965. * configure: Rebuilt.
  2966. 2003-09-25 Guilhem Lavaux <guilhem@kaffe.org>
  2967. * java/text/SimpleDateFormat.java (parse): Don't use class calendar
  2968. field.
  2969. 2003-09-25 Michael Koch <konqueror@gmx.de>
  2970. * gnu/java/nio/SelectorImpl.java
  2971. (implSelect): Renamed from java_do_select.
  2972. (select): Call native implSelect() and add support for Thread
  2973. interruption.
  2974. * gnu/java/nio/natSelectorImpl.cc
  2975. (implSelect): Renamed from java_do_select.
  2976. 2003-09-25 Michael Koch <konqueror@gmx.de>
  2977. * gnu/java/nio/SelectorImpl.java
  2978. (selectNow): Made final, throws IOException.
  2979. (select): Likewise.
  2980. (getFDsAsArray): Made final.
  2981. (selectedKeys): Likewise.
  2982. (wakeup): Likewise.
  2983. (deregisterCancelledKeys): Likewise.
  2984. (register): Likewise.
  2985. (ass): Removed.
  2986. (add_selected): Removed.
  2987. * gnu/java/nio/natSelectorImpl.cc:
  2988. No need to include bstring.h or gcj/cni.h.
  2989. (helper_put_filedescriptors): Rewritten.
  2990. (helper_get_filedescriptors): Rewritten.
  2991. 2003-09-25 Sascha Brawer <brawer@dandelis.ch>
  2992. * java/awt/font/FontRenderContext.java (getTransform): Return
  2993. copy of internal transform object. Add Javadoc.
  2994. * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
  2995. winding rule as Sun J2SE.
  2996. * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
  2997. 2003-09-25 Ingo Proetel <proetel@aicas.com>
  2998. * java/rmi/Naming.java:
  2999. Added comments, now accepts pseudo protocol "rmi".
  3000. 2003-09-25 Guilhem Lavaux <guilhem@kaffe.org>
  3001. * java/text/DecimalFormat.java (format): Don't immediatly round
  3002. baseNumber to long.
  3003. (setMinimumIntegerDigits): Call super.
  3004. (setMinimumFractionDigits): Likewise.
  3005. (setMaximumIntegerDigits): Likewise.
  3006. (setMaximumFractionDigits): Likewise.
  3007. 2003-09-25 Michael Koch <konqueror@gmx.de>
  3008. * gnu/java/nio/DatagramChannelImpl.java
  3009. (DatagramChannelImpl): Made class final.
  3010. (blocking): Made private.
  3011. (socket): Made it a NIODatagramSocket and private.
  3012. (DatagramChannelImpl): create NIODatagramSocket instead of
  3013. DatagramSocket.
  3014. (implConfigureBlocking): Set socket timeout.
  3015. (connect): Check that channel is not closed.
  3016. (write): Implemented.
  3017. (write): Rewritten.
  3018. (read): Implemented.
  3019. (read): Rewritten.
  3020. (receive): Implemented.
  3021. (send): Implemented.
  3022. * gnu/java/nio/SelectionKeyImpl.java
  3023. (readyOps): Made private.
  3024. (interestOps): Made private.
  3025. (impl): Made private.
  3026. (ch): Made private.
  3027. (readyOps): Check if selection key is valid.
  3028. (interestOps): Likewise.
  3029. * gnu/java/nio/SelectorImpl.java
  3030. (closed): Removed.
  3031. (keys): Made private.
  3032. (selected): Made private.
  3033. (finalize): New method.
  3034. (implCloseSelector): Rewritten.
  3035. (keys): Return unmodifiable Set.
  3036. (deregisterCancelledKeys): Fixed typo in method name.
  3037. * gnu/java/nio/SocketChannelImpl.java
  3038. (SocketChannelImpl): Made class final.
  3039. (socket): Made it a NIOSocket and private.
  3040. (blocking): Made private.
  3041. (connected): Made private.
  3042. (connectionPending): New member variable.
  3043. (SocketChannelImpl): New implementation.
  3044. (finalizer): Use isConnected().
  3045. (connect): Rewritten.
  3046. (finishConnect): Throws IOException, implemented.
  3047. (isConnectionPending): Return connectionPending.
  3048. (read): Rewritten.
  3049. (write): Rewritten.
  3050. * gnu/java/nio/NIOConstants.java: New file.
  3051. * Makefile.am (ordinary_java_source_files):
  3052. Added gnu/java/nio/NIOConstants.java.
  3053. * Makefile.in: Regenerated.
  3054. 2003-09-25 Michael Koch <konqueror@gmx.de>
  3055. * java/net/InetAddress.java:
  3056. Reorder imports, remove implementation comment.
  3057. (isMulticastAddress): Merged documentation from classpath.
  3058. * java/net/URLConnection.java
  3059. (setRequestProperty): Check key for null, fix documentation.
  3060. (adREquestProperty): Check key for null, remove wrong implementation
  3061. and replace it with comment to overwrite this method in subclasses,
  3062. fix documentation.
  3063. 2003-09-25 Tom Tromey <tromey@redhat.com>
  3064. * java/lang/reflect/Proxy.java (generate): Uncomment protection
  3065. domain code.
  3066. * java/lang/natClassLoader.cc (defineClass): Added `loader'
  3067. argument.
  3068. (linkClass0): Now in VMClassLoader.
  3069. (markClassErrorState0): Likewise.
  3070. (getSystemClassLoaderInternal): New method.
  3071. * java/lang/natClass.cc (initializeClass): Use
  3072. VMClassLoader::resolveClass.
  3073. * java/lang/ClassLoader.java: New version, from Classpath.
  3074. * java/lang/Class.java (getProtectionDomain):
  3075. protectionDomainPermission and unknownProtectionDomain now in
  3076. VMClassLoader.
  3077. * java/lang/Class.h: VMClassLoader now a friend class.
  3078. * gnu/gcj/runtime/VMClassLoader.java (instance): Now
  3079. package-private.
  3080. * gcj/javaprims.h: Regenerated class list.
  3081. * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
  3082. * java/lang/VMClassLoader.java: New version from Classpath;
  3083. modified for libgcj use.
  3084. 2003-09-25 Michael Koch <konqueror@gmx.de>
  3085. * java/nio/ByteBufferHelper.java:
  3086. New file.
  3087. * java/nio/ByteBufferImpl.java,
  3088. java/nio/DirectByteBufferImpl.java,
  3089. java/nio/MappedByteBufferImpl.java
  3090. (getType,putType): Use new helper class ByteBufferHelper.
  3091. * Makefile.am (ordinary_java_source_files):
  3092. Added java/nio/ByteBufferHelper.java.
  3093. * Makefile.in: Regenerated.
  3094. 2003-09-25 Bryce McKinlay <bryce@mckinlay.net.nz>
  3095. * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
  3096. PR libgcj/12388.
  3097. 2003-09-24 Bryce McKinlay <bryce@mckinlay.net.nz>
  3098. * java/lang/StringBuffer.java (substring): Don't set `shared' on small
  3099. Strings, even if buffer is already shared.
  3100. 2003-09-24 Michael Koch <konqueror@gmx.de>
  3101. * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
  3102. 2003-09-24 Bryce McKinlay <bryce@mckinlay.net.nz>
  3103. * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
  3104. (write): Likewise.
  3105. (SocketInputStream): Declare `read' and `write' methods native.
  3106. Remove implementations which called back into PlainSocketImpl.
  3107. Remove unneccessary overridden methods.
  3108. * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation
  3109. to inner class PlainSocketImpl.SocketInputStream.
  3110. (write): Likewise.
  3111. * gnu/java/net/natPlainSocketImplPosix.cc: As above.
  3112. * gnu/java/net/natPlainSocketImplWin32.cc: As above.
  3113. * gnu/java/net/SocketInputStream.java: Remove unused file.
  3114. * gnu/java/net/SocketOutputStream.java: Likewise.
  3115. * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
  3116. and SocketOutputStream.
  3117. * Makefile.in: Rebuilt.
  3118. 2003-09-23 Nathanael Nerode <neroden@gcc.gnu.org>
  3119. * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
  3120. * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
  3121. markers.
  3122. 2003-09-22 Anthony Green <green@redhat.com>
  3123. * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
  3124. * configure: Rebuilt.
  3125. 2003-09-21 Ralph Loader <suckfish@ihug.co.nz>
  3126. PR java/12350:
  3127. * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
  3128. 2003-09-22 Michael Koch <konqueror@gmx.de>
  3129. * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
  3130. compiler warning but produces a different one now.
  3131. 2003-09-22 Michael Koch <konqueror@gmx.de>
  3132. * java/net/InetAddress.java:
  3133. Moves around some code, reformats and adds documentation.
  3134. No functional changes.
  3135. 2003-09-22 Michael Koch <konqueror@gmx.de>
  3136. * java/net/JarURLConnection.java
  3137. (JarURLConnection): Modifed code to match classpath more, fixed comment.
  3138. (getCertificates): Made it more error prone.
  3139. (getMainAttributes): Likewise.
  3140. (getAttributes): Implemented.
  3141. (getManifest): Reformatted code.
  3142. 2003-09-20 Tom Tromey <tromey@redhat.com>
  3143. * java/awt/Component.java: Indentation cleanup from Classpath.
  3144. 2003-09-20 Dalibor Topic <robilad@kaffe.org>
  3145. * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
  3146. checking to follow 1.4.2 spec.
  3147. 2003-08-11 Ingo Proetel <proetel@aicas.com>
  3148. * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject
  3149. is compatible in case client and server are running in the same VM
  3150. (remerged from Classpath on 2003-09-20)
  3151. 2003-09-19 David Daney <ddaney@avtrex.com>
  3152. * java/lang/ref/Reference.java (clear): Set referent to null and
  3153. synchronize.
  3154. 2003-09-19 Michael Koch <konqueror@gmx.de>
  3155. * gnu/java/nio/NIODatagramSocket.java,
  3156. gnu/java/nio/NIOSocket.java: New files.
  3157. * Makefile.am (ordinary_java_source_files):
  3158. Added gnu/java/nio/NIODatagramSocket.java and
  3159. gnu/java/nio/NIOSocket.java.
  3160. * Makefile.in: Regenerated.
  3161. 2003-09-19 Thomas Fitzsimmons <fitzsim@redhat.com>
  3162. * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
  3163. top-level GTK window.
  3164. (getArgs): Add "title" property.
  3165. * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
  3166. "allow_shrink" and "allow_grow" properties.
  3167. * java/awt/Dialog.java: Initialize resizable to true and change
  3168. comments accordingly. Initialize visible to false in
  3169. constructors.
  3170. * java/awt/Frame.java (dispose): Remove method.
  3171. * java/awt/Window.java (ownedWindows): New field.
  3172. (Window(Window,GraphicsConfiguration)): Add a weak reference to
  3173. owner's ownedWindows vector.
  3174. (finalize): Remove method.
  3175. (hide): Hide owned windows.
  3176. (dispose): Dispose of owned windows.
  3177. (getOwnedWindows): Implement.
  3178. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
  3179. unused GtkArg code.
  3180. (set(String,boolean)): Clamp gboolean parameter to g_object_set
  3181. to TRUE or FALSE.
  3182. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
  3183. (create): Set window's size requisition.
  3184. (connectHooks): Fix indentation.
  3185. (setResizable): Remove function.
  3186. (static setBounds): Likewise.
  3187. (setBounds): Replace call to setBounds with GTK size requisition
  3188. and resize calls.
  3189. 2003-09-19 Mohan Embar <gnustuff@thisiscool.com>
  3190. * win32-threads.cc: (ensure_interrupt_event_initialized) New
  3191. function for lazy initialization of an auto-reset event.
  3192. (_Jv_CondWait) Added thread interrupt support.
  3193. (_Jv_ThreadInitData) Added initialization of interrupt support
  3194. members.
  3195. (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
  3196. (_Jv_ThreadStart) Removed unused code.
  3197. (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
  3198. to an external caller.
  3199. (_Jv_ThreadInterrupt) Implemented.
  3200. * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
  3201. event for interrupt support as well as a mutex which regulates
  3202. access to this.
  3203. (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
  3204. event to an external caller.
  3205. * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
  3206. process.
  3207. (waitFor) Added interrupt support.
  3208. 2003-09-19 Michael Koch <konqueror@gmx.de>
  3209. * java/net/DatagramSocket.java (getLocalAddress):
  3210. Renamed result variable to localAddr.
  3211. * java/net/MulticastSocket.java:
  3212. No need to import gnu.java.net.PlainDatagramSocketImpl.
  3213. 2003-09-18 Sascha Brawer <brawer@dandelis.ch>
  3214. * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
  3215. Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
  3216. 2003-09-18 Tom Tromey <tromey@redhat.com>
  3217. * javax/naming/InitialContext.java: Reindented.
  3218. 2003-09-18 Dalibor Topic <robilad@kaffe.org>,
  3219. Helmer Kraemer <hkraemer@freenet.de>
  3220. * javax/naming/spi/NamingManager.java (getURLContext,
  3221. getObjectInstance, getStateToBind): Always use current thread's
  3222. context class loader when calling Class.forName.
  3223. 2003-09-18 Michael Koch <konqueror@gmx.de>
  3224. * java/util/Timer.java (finalize): Added "throws Throwable".
  3225. 2003-09-18 Michael Koch <konqueror@gmx.de>
  3226. * java/net/DatagramSocket.java
  3227. (ch): Removed.
  3228. (receive): Use getChannel() instead of ch.
  3229. (send): Likewise.
  3230. (getChannel): Return null.
  3231. * java/net/ServerSocket.java
  3232. (ch): Removed.
  3233. (setChannel): Removed.
  3234. (implAccept): Use getChannel() instead of ch.
  3235. (close): Likewise.
  3236. (getChannel): Return null.
  3237. * java/net/Socket.java
  3238. (ch): Removed.
  3239. (connect): Use getChannel() instead of ch.
  3240. (setChannel): Removed.
  3241. (getChannel): Return null.
  3242. 2003-09-18 Mark Wielaard <mark@klomp.org>
  3243. Reported by Guilhem Lavaux and Julian Dolby
  3244. * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
  3245. field "serialPersistentFields", not "getSerialPersistentFields".
  3246. 2003-09-18 Ingo Proetel <proetel@aicas.com>
  3247. * java/util/TimeZone.java: Initialize lazily.
  3248. * java/util/Locale.java (readManifest): Fix check for country.
  3249. * java/util/GregorianCalendar.java: Make use of ResourceBundle better
  3250. traceable
  3251. * java/util/Calendar.java: Make use of ResourceBundle better
  3252. traceable.
  3253. 2003-09-18 Jeroen Frijters <jeroen@frijters.net>
  3254. * java/sql/Timestamp.java
  3255. (valueOf): Fixed confusion of java.sql.Date and java.util.Date
  3256. 2003-09-18 David P Grove <groved@us.ibm.com>
  3257. * java/io/LineNumberReader (read): Don't reset pos & limit when
  3258. markPos is 0.
  3259. 2003-09-18 Dalibor Topic <robilad@kaffe.org>
  3260. * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
  3261. constant.
  3262. (computeArguments): use computeTypicalArguments.
  3263. * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
  3264. Compile_jikes.java and RMICException.java.
  3265. * gnu/java/rmi/rmic/Compile_kjc.java: New file.
  3266. * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
  3267. * gnu/java/rmi/rmic/RMICException.java: Likewise.
  3268. * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
  3269. * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
  3270. (computeTypicalArguments): New method.
  3271. (compile): Print compiler output to System.out. Collect compiler
  3272. error output and use it in exception message.
  3273. * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
  3274. (destination): Initialize to null.
  3275. (run): Replace file separator with '.' when processing class.
  3276. (processClass): Replace '.' with file separator when compiling
  3277. classes.
  3278. (findClass): Use SystemClassLoader to load class.
  3279. (generateStub): Use full class name for generated stub, that puts
  3280. it in right path. Replace '.' with file separator when generating
  3281. stub file name. Write just the stub class name without package
  3282. information as class name, and constructor name. Write only
  3283. interface names for interfaces extending java.rmi.Remote as
  3284. implemented.
  3285. (generateSkel): Use full class name for generated skel, that puts
  3286. it in right path. Replace '.' with file separator when generating
  3287. stub file name. Write just the stub class name without package
  3288. information as class name.
  3289. 2003-09-18 Michael Koch <konqueror@gmx.de>
  3290. * Makefile.am (rmi_java_source_files):
  3291. Added gnu/java/rmi/rmic/Compile_kjc.java,
  3292. gnu/java/rmi/rmic/Compile_jikes.java and
  3293. gnu/java/rmi/rmic/RMICException.java
  3294. * Makefile.in: Regenerated.
  3295. 2003-09-17 Graydon Hoare <graydon@redhat.com>
  3296. * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
  3297. gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
  3298. jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
  3299. jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
  3300. New files.
  3301. 2003-09-16 Graydon Hoare <graydon@redhat.com>
  3302. * java/awt/BufferedImage.java (setData): Support non-component
  3303. sample models.
  3304. (getData): Same.
  3305. 2003-09-10 Graydon Hoare <graydon@redhat.com>
  3306. * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
  3307. * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
  3308. 2003-09-17 Mohan Embar <gnustuff@thisiscool.com>
  3309. * configure.in: Standardized help text case of
  3310. --enable-hash-synchronization
  3311. New configure switch --enable-libgcj-multifile and corresponding
  3312. automake conditional ONESTEP.
  3313. * configure: Rebuilt.
  3314. * Makefile.am: Use automake conditional ONESTEP to determine
  3315. whether classfiles should be compiled individually or all
  3316. at once.
  3317. * Makefile.in: Rebuilt.
  3318. 2003-09-16 Thomas Fitzsimmons <fitzsim@redhat.com>
  3319. * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
  3320. Remove method declaration.
  3321. (create()): Call native create.
  3322. (create(int)): New method.
  3323. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
  3324. (create): Add window_id parameter. Call gtk_plug_new with
  3325. window_id parameter.
  3326. (construct): Remove method implementation.
  3327. 2003-09-16 Mohan Embar <gnustuff@thisiscool.com>
  3328. * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
  3329. (mostlyclean-local): New target patterned after clean-local
  3330. which recursively deletes all libtool objects using 'libtool rm'.
  3331. (clean-local): Slightly modified comment to alleviate monotony.
  3332. (distclean-local): New target patterned after clean-local
  3333. which recursively deletes all .d files.
  3334. * Makefile.in: Rebuilt.
  3335. 2003-09-11 Tom Tromey <tromey@redhat.com>
  3336. * java/net/URLStreamHandler.java (parseURL): If original file
  3337. ends with "/", so must canonical result.
  3338. * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
  3339. with nul-termination and finding previous "/".
  3340. 2003-09-11 Michael Koch <konqueror@gmx.de>
  3341. * acconfig.h: Removed most items.
  3342. * configure.in: Added descriptions to AC_DEFINE macros that where in
  3343. acconfig.h before.
  3344. * include/config.h.in: Regenerated.
  3345. 2003-09-11 Sascha Brawer <brawer@dandelis.ch>
  3346. * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
  3347. if one is installed. Improve Javadoc.
  3348. (getSystemEventQueueImpl): Improve Javadoc.
  3349. 2003-09-11 Tom Tromey <tromey@redhat.com>
  3350. * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
  3351. file does not exist.
  3352. 2003-09-10 Anthony Green <green@redhat.com>
  3353. * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
  3354. Specify full name when referencing ::java::net::InetAddress.
  3355. * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
  3356. Fix argument type.
  3357. 2003-09-10 Michael Koch <konqueror@gmx.de>
  3358. * acconfig.h (__NO_MATH_INLINES): Removed.
  3359. * configure.in: Removed check for g++ math inlining bug from 2000.
  3360. * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
  3361. libgcj_cxxflags.
  3362. * configure: Regenerated.
  3363. 2003-09-10 David Daney <ddaney@avtrex.com>
  3364. * java/util/Arrays.java (equals(all variants)): Quit using
  3365. NullPointerException catching to detect null valued parameters.
  3366. 2003-09-10 Michael Koch <konqueror@gmx.de>
  3367. * java/net/DatagramSocket.java,
  3368. java/net/MulticastSocket.java,
  3369. java/net/ServerSocket.java,
  3370. java/net/Socket.java:
  3371. Use gnu.java.net.Plain*SocketImpl instead of
  3372. java.net.PlainSocketImpl.
  3373. * java/net/PlainDatagramSocketImpl.java,
  3374. java/net/PlainSocketImpl.java,
  3375. java/net/SocketInputStream.java,
  3376. java/net/SocketOutputStream.java,
  3377. java/net/natPlainDatagramSocketImplNoNet.cc,
  3378. java/net/natPlainDatagramSocketImplPosix.cc,
  3379. java/net/natPlainDatagramSocketImplWin32.cc,
  3380. java/net/natPlainSocketImplNoNet.cc,
  3381. java/net/natPlainSocketImplPosix.cc,
  3382. java/net/natPlainSocketImplWin32.cc:
  3383. Removed.
  3384. * gnu/java/net/PlainDatagramSocketImpl.java,
  3385. gnu/java/net/PlainSocketImpl.java,
  3386. gnu/java/net/SocketInputStream.java,
  3387. gnu/java/net/SocketOutputStream.java,
  3388. gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
  3389. gnu/java/net/natPlainDatagramSocketImplPosix.cc,
  3390. gnu/java/net/natPlainDatagramSocketImplWin32.cc,
  3391. gnu/java/net/natPlainSocketImplNoNet.cc,
  3392. gnu/java/net/natPlainSocketImplPosix.cc,
  3393. gnu/java/net/natPlainSocketImplWin32.cc:
  3394. New files (moved from java/net).
  3395. * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
  3396. instead of java/net/natPlain*SocketImpl.cc.
  3397. * configure: Regenerated.
  3398. * Makefile.am: Moved files from java/net to gnu/java/net.
  3399. * Makefile.in: Regenerated.
  3400. 2003-09-09 Alan Modra <amodra@bigpond.net.au>
  3401. * configure: Regenerate.
  3402. 2003-09-04 Tom Tromey <tromey@redhat.com>
  3403. * configure.host: Removed erroneous comment.
  3404. * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
  3405. lvalue cast; use correct rvalue cast.
  3406. 2003-09-02 Thomas Fitzsimmons <fitzsim@redhat.com>
  3407. * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
  3408. and height arguments to GtkWindowPeer.create method call.
  3409. * gnu/java/awt/peer/gtk/GtkWindowPeer.java
  3410. (create(int,int,int)): New method.
  3411. (create(int)): Add call to new create method.
  3412. (create()): Add width and height arguments to create method
  3413. call.
  3414. (GtkWindowPeer): Remove call to setBounds.
  3415. * java/awt/Frame.java (Frame(String)): Initialize visible field
  3416. to false.
  3417. (Frame(GraphicsConfiguration)): Likewise.
  3418. (Frame(String,GraphicsConfiguration)): Likewise.
  3419. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
  3420. Add width and height parameters. Call
  3421. gtk_window_set_default_size.
  3422. (connectHooks): Remove unused name variable.
  3423. (static setBounds): Call gtk_window_resize not
  3424. gtk_widget_set_usize.
  3425. (setBounds): Remove unused nchildren variable.
  3426. 2003-08-31 Ingo Proetel <proetel@aicas.com>
  3427. * java/util/logging/Logger.java: provide class and method information
  3428. * java/util/logging/LogManager.java: create handlers
  3429. * java/util/logging/SimpleFormatter.java: print souceClassName and
  3430. sourceMethodName
  3431. 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
  3432. * win32.cc: fixed tab, indentation and whitespace
  3433. inconsistencies
  3434. removed jvm.h include
  3435. added includes java/lang/UnsupportedOperationException.h,
  3436. java/io/IOException.h, java/net/SocketException.h
  3437. (WSAEventWrapper): class implementation
  3438. (_Jv_WinStrError): implemented both overloads
  3439. (_Jv_ThrowIOException): implemented both overloads
  3440. (_Jv_ThrowSocketException): implemented both overloads
  3441. (_Jv_select): implemented
  3442. * include/win32.h: fixed tab, indentation and whitespace
  3443. inconsistencies
  3444. wrapped <windows.h> include with #define WIN32_LEAN_AND_MEAN
  3445. added jvm.h include
  3446. (WSAEventWrapper): added class declaration
  3447. (_Jv_WinStrError): added both overload declarations
  3448. (_Jv_ThrowIOException): added both overload declarations
  3449. (_Jv_ThrowSocketException): added both overload declarations
  3450. removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
  3451. (_Jv_select): added declaration
  3452. (_Jv_socket): removed
  3453. (_Jv_connect): removed
  3454. (_Jv_close): removed
  3455. (_Jv_bind): removed
  3456. (_Jv_accept): removed
  3457. (_Jv_listen): removed
  3458. (_Jv_write): removed
  3459. (_Jv_read): removed
  3460. * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
  3461. whitespace inconsistencies
  3462. replaced <windows.h> #include with <platform.h>
  3463. removed jvm.h include
  3464. (testCanUseGetHandleInfo): new function which tests whether Win32
  3465. GetHandleInformation() call can be used with console buffer handles
  3466. (only supported on >=WinNT 5.0)
  3467. (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
  3468. (valid): rewrote implementation using GetHandleInformation()
  3469. (sync): changed exception throwing to use error string and exception
  3470. helper methods declared in include/win32.h
  3471. (open): likewise
  3472. (write): likewise
  3473. (setLength): likewise
  3474. (close): likewise
  3475. (seek): likewise
  3476. (getFilePointer): likewise
  3477. (read): likewise
  3478. * java/io/natFileWin32.cc: fixed tab, indentation and
  3479. whitespace inconsistencies
  3480. replaced <windows.h> #include with <platform.h>
  3481. removed jvm.h include
  3482. (_access): use JV_TEMP_UTF_STRING
  3483. (_stat): likewise
  3484. (performMkDir): use JV_TEMP_UTF_STRING
  3485. (performRenameTo): likewise
  3486. (performDelete): likewise
  3487. (performCreate): likewise
  3488. (performSetReadOnly): likewise
  3489. (performSetLastModified): likewise
  3490. * java/lang/natWin32Process.cc: fixed tab, indentation and
  3491. whitespace inconsistencies
  3492. replaced <windows.h> #include with <platform.h>
  3493. removed includes gcj/cni.h, jvm.h
  3494. (new_string): removed
  3495. (startProcess): use JV_TEMP_UTF_STRING,
  3496. changed exception throwing to use error string and exception
  3497. helper methods declared in include/win32.h
  3498. * java/net/natInetAddressWin32.cc: fixed tab, indentation and
  3499. whitespace inconsistencies
  3500. replaced <windows.h> #include with <platform.h>
  3501. removed jvm.h include
  3502. removed DISABLE_JAVA_NET conditional code
  3503. removed POSIX conditional code not relevant to Win32
  3504. (aton): use JV_TEMP_UTF_STRING
  3505. removed POSIX conditional code not relevant to Win32
  3506. (lookup): likewise
  3507. (getLocalHostName): likewise
  3508. * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
  3509. whitespace inconsistencies
  3510. removed unnecessary windows.h, winsock.h and gcj/cni.h includes
  3511. removed DISABLE_JAVA_NET conditional code
  3512. removed POSIX conditional code not relevant to Win32
  3513. (winsock2GetRealNetworkInterfaces): new function to compute network
  3514. interfaces via Winsock2 API
  3515. (determineGetRealNetworkInterfacesFN): new function for returning
  3516. a function pointer to the function used to compute network interfaces.
  3517. (getRealNetworkInterfaces): implemented
  3518. * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
  3519. whitespace inconsistencies
  3520. removed gcj/cni.h include
  3521. removed DISABLE_JAVA_NET conditional code
  3522. removed POSIX conditional code not relevant to Win32
  3523. changed net POSIXisms to Win32isms
  3524. replaced _Jv socket-related calls with their real Win32 equivalents
  3525. changed exception throwing to use error string and exception
  3526. helper methods declared in include/win32.h
  3527. (peekData): implemented timeout support
  3528. (receive): likewise
  3529. * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
  3530. whitespace inconsistencies
  3531. removed gcj/cni.h and gcj/javaprims.h includes
  3532. removed DISABLE_JAVA_NET conditional code
  3533. removed POSIX conditional code not relevant to Win32
  3534. changed net POSIXisms to Win32isms
  3535. replaced _Jv socket-related calls with their real Win32
  3536. equivalents
  3537. changed exception throwing to use error string and exception
  3538. helper methods declared in include/win32.h
  3539. (throwConnectException): helper function for connect()
  3540. (connect): implemented timeout support
  3541. (accept): likewise
  3542. (doRead): new helper function common to both read() method overloads,
  3543. includes timeout support
  3544. (read): implemented both overloads in terms of doRead()
  3545. (available): implemented using ioctlsocket()
  3546. 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
  3547. * java/net/natInetAddressWin32.cc,
  3548. java/net/natNetworkInterfaceWin32.cc,
  3549. java/net/natPlainDatagramSocketImplWin32.cc,
  3550. java/net/natPlainSocketImplWin32.cc:
  3551. Readded code enclosed in DISABLE_JAVA_NET defines
  3552. in preparation for MinGW cleanup / networking
  3553. patch
  3554. 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
  3555. * Makefile.am: Fixed problems with parallel makes.
  3556. (all_java_class_files): Readded definition.
  3557. (all_java_class_files): New target which depends on
  3558. libgcj-@gcc_version@.jar
  3559. * Makefile.in: Rebuilt
  3560. 2003-08-28 Tom Tromey <tromey@redhat.com>
  3561. * Makefile.in: Rebuilt.
  3562. * Makefile.am (ordinary_java_source_files): Added new files.
  3563. * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
  3564. friend.
  3565. * java/net/URLClassLoader.java (findClass): Don't use
  3566. findURLResource. Use loader's getClass method.
  3567. (URLLoader.getClass): New method.
  3568. (addURL): Handle `gcjlib' URLs.
  3569. (SoURLLoader): New class.
  3570. (SoResource): Likewise.
  3571. * gnu/gcj/protocol/gcjlib/Connection.java: New file.
  3572. * gnu/gcj/protocol/gcjlib/Handler.java: New file.
  3573. * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
  3574. (_Jv_RegisterCoreHook): Declare.
  3575. (_Jv_FindCore): Declare.
  3576. * gnu/gcj/runtime/SharedLibHelper.java: New file.
  3577. * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
  3578. typedef.
  3579. (core_hook): New function.
  3580. (struct SharedLibDummy) [saved_core]: New field.
  3581. (init): Set _Jv_RegisterCoreHook. Throw exception on failure.
  3582. (register_hook): Set protection domain and class loader on new
  3583. class.
  3584. (finalize): Free core chain.
  3585. * gnu/gcj/Core.java (Core): New constructor.
  3586. * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
  3587. SharedLibHelper.
  3588. * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
  3589. (_Jv_create_core): New function.
  3590. (create): Use it.
  3591. (default_register_resource): New function.
  3592. (_Jv_RegisterCoreHook): New global.
  3593. (_Jv_RegisterResource): Use it.
  3594. (core_chain_struct): Removed.
  3595. (_Jv_FindCore): New function.
  3596. (_Jv_FreeCoreChain): New function.
  3597. 2003-08-29 Michael Koch <konqueror@gmx.de>
  3598. * java/net/natInetAddressWin32.cc,
  3599. java/net/natNetworkInterfaceWin32.cc,
  3600. java/net/natPlainDatagramSocketImplWin32.cc,
  3601. java/net/natPlainSocketImplWin32.cc:
  3602. Removed code enclosed in DISABLE_JAVA_NET defines.
  3603. 2003-08-26 Mohan Embar <gnustuff@thisiscool.com>
  3604. * Makefile.am: (write_entries_to_file) New parameterized
  3605. function for writing entries to a file one line at a time.
  3606. (all_java_class_files): Removed definition.
  3607. (.java.class) Removed.target.
  3608. (libgcj-@gcc_version@.jar): Changed dependency to
  3609. $(all_java_source_files); added compilation step which compiles
  3610. all changed source files in one pass.
  3611. (libgcj.la) Refactored to use write_entries_to_file.
  3612. (lib-gnu-awt-xlib.la) Likewise.
  3613. (install-data-local) Likewise.
  3614. (write-entries-to-file-check) New target which tests write_entries_to_file.
  3615. (all-recursive): Changed dependency from $(all_java_class_files)
  3616. to libgcj-@gcc_version@.jar
  3617. * Makefile.in: Rebuilt.
  3618. 2003-08-26 Tom Tromey <tromey@redhat.com>
  3619. * java/lang/StrictMath.java: Typo fix.
  3620. * java/lang/Math.java: Typo fix.
  3621. 2003-08-26 Stephen Crawley <crawley@dstc.edu.au>
  3622. * java/lang/ThreadGroup.java (removeThread): null the 'group' field
  3623. of the removed Thread.
  3624. 2003-08-26 Mark Wielaard <mark@klomp.org>
  3625. Reported by David Holmes <dholmes@dltech.com.au>.
  3626. * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
  3627. Collections.synchronizedMap.
  3628. * java/lang/ThreadLocal.java (valueMap): Likewise.
  3629. 2003-08-26 Mark Wielaard <mark@klomp.org>
  3630. * java/security/acl/Acl.java: Fix broken p tag.
  3631. * java/text/DateFormatSymbols.java: Correctly open and close li tags.
  3632. * javax/swing/border/LineBorder.java: Close img tag alt attributes.
  3633. * javax/swing/plaf/TreeUI.java: Likewise.
  3634. * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
  3635. * java/util/Properties.java: Use the word umlaut, not &auml; in api
  3636. documentation.
  3637. * java/util/PropertyResourceBundle.java: Likewise and add closing code
  3638. tag.
  3639. 2003-08-26 Tom Tromey <tromey@redhat.com>
  3640. * Makefile.in: Rebuilt.
  3641. * Makefile.am: Removed all GNU-make-specific FIXME comments.
  3642. * java/lang/ref/Reference.java (get): Indentation fix.
  3643. (clear): Comment fix.
  3644. (enqueue): Likewise.
  3645. (lock): Likewise.
  3646. (referent): Likewise.
  3647. 2003-08-26 Tom Tromey <tromey@redhat.com>
  3648. PR java/12058:
  3649. * java/lang/reflect/natArray.cc (set): Allow null as argument.
  3650. * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
  3651. (ProxyData.getPackage): New method.
  3652. (ProxyData.getProxyData): Use package name, not Package.
  3653. (ClassFactory.ClassFactory): Updated.
  3654. 2003-08-25 Scott Gilbertson <scottg@mantatest.com>
  3655. * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
  3656. * Makefile.in: re-generated.
  3657. * gnu/awt/j2d/IntegerGraphicsState.java
  3658. (ScreenCoupledImage): new interface.
  3659. (drawImage): detect ScreenCoupledImage instances.
  3660. * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
  3661. * gnu/awt/xlib/XEventLoop.java
  3662. (createEvent): re-formatted, and rearranged to avoid null pointer.
  3663. * gnu/awt/xlib/XGraphics.java
  3664. (drawImage): added XOffScreenImage handling.
  3665. * gnu/awt/xlib/XOffScreenImage.java: new file.
  3666. * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
  3667. * gnu/gcj/xlib/GC.java (copyArea): new native method.
  3668. * gnu/gcj/xlib/XAnyEvent.java
  3669. (TYPE_KEY_PRESS): new constant.
  3670. (TYPE_KEY_RELEASE): new constant.
  3671. (TYPE_MOTION_NOTIFY): new constant.
  3672. (TYPE_ENTER_NOTIFY): new constant.
  3673. (TYPE_LEAVE_NOTIFY): new constant.
  3674. (TYPE_FOCUS_IN): new constant.
  3675. (TYPE_FOCUS_OUT): new constant.
  3676. (TYPE_KEYMAP_NOTIFY): new constant.
  3677. (TYPE_GRAPHICS_EXPOSE): new constant.
  3678. (TYPE_NO_EXPOSE): new constant.
  3679. (TYPE_VISIBILITY_NOTIFY): new constant.
  3680. (TYPE_CREATE_NOTIFY): new constant.
  3681. (TYPE_DESTROY_NOTIFY): new constant.
  3682. (TYPE_MAP_REQUEST): new constant.
  3683. (TYPE_CONFIGURE_REQUEST): new constant.
  3684. (TYPE_GRAVITY_NOTIFY): new constant.
  3685. (TYPE_RESIZE_REQUEST): new constant.
  3686. (TYPE_CIRCULATE_NOTIFY): new constant.
  3687. (TYPE_CIRCULATE_REQUEST): new constant.
  3688. (TYPE_PROPERTY_NOTIFY): new constant.
  3689. (TYPE_SELECTION_CLEAR): new constant.
  3690. (TYPE_SELECTION_REQUEST): new constant.
  3691. (TYPE_SELECTION_NOTIFY): new constant.
  3692. (TYPE_COLORMAP_NOTIFY): new constant.
  3693. (TYPE_MAPPING_NOTIFY): new constant.
  3694. * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
  3695. * gnu/gcj/xlib/natGC.cc (copyArea): new method
  3696. * java/awt/Component.java (createImage): changed to use peer method.
  3697. 2003-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
  3698. * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
  3699. name, not XLFD, to native drawString.
  3700. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
  3701. Replace XLFD-based implementation with Pango-based
  3702. implementation.
  3703. 2003-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
  3704. * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
  3705. GTK_WINDOW_DIALOG. Set GTK_WINDOW_POPUP to 1.
  3706. 2003-08-21 David Daney <ddaney@avtrex.com>
  3707. Fix for PR libgcj/12013:
  3708. * java/lang/ref/natReference.cc (finalize_referred_to_object):
  3709. Check `cleared' field.
  3710. * java/lang/ref/Reference.java (copy): Updated comments.
  3711. (cleared): New field.
  3712. (clear): Rewrote.
  3713. 2003-08-21 Scott Gilbertson <scottg@mantatest.com>
  3714. Thomas Fitzsimmons <fitzsim@redhat.com>
  3715. * Makefile.am (gtk_awt_peer_sources): Add
  3716. gnu/java/awt/peer/GLightweightPeer.java. Remove
  3717. gnu/java/awt/GLightweightPeer.java.
  3718. * gnu/java/awt/GLightweightPeer.java: Remove file.
  3719. * gnu/java/awt/peer/GLightweightPeer.java: New file.
  3720. * java/awt/Component.java (getToolkit): Add comment about
  3721. lightweight components.
  3722. * java/awt/Toolkit.java (createComponent): Return
  3723. gnu.java.awt.peer.GLightweightPeer.
  3724. 2003-08-21 Richard Earnshaw <rearnsha@arm.com>
  3725. * configure.in: Fix detection of gcj when building with newlib.
  3726. * configure: Regenerated.
  3727. 2003-08-20 Graydon Hoare <graydon@redhat.com>
  3728. * jni.cc: Replace "cheating" pointer-casting code with
  3729. extract_from_jvalue<> template.
  3730. 2003-08-20 Andrew Haley <aph@redhat.com>
  3731. * gnu/gcj/runtime/StackTrace.java (getClass): New method.
  3732. * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
  3733. (classAt): Break out class lookup function into getClass().
  3734. * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
  3735. handlers when using -fno-assume-compiled.
  3736. 2003-08-20 Tom Tromey <tromey@redhat.com>
  3737. Fix for PR libgcj/9125:
  3738. * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
  3739. object outside of loop. Respect lib_control setting.
  3740. * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
  3741. field.
  3742. (lib_control): New field.
  3743. (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
  3744. (VMClassLoader): Initialize new field.
  3745. * java/lang/ref/natReference.cc (finalize_referred_to_object):
  3746. Set `list->reference' to DELETED_REFERENCE when removing dead
  3747. object.
  3748. (find_slot): Added an assert.
  3749. (DELETED_REFERENCE): New define.
  3750. (add_to_hash): Check for DELETED_REFERENCE.
  3751. (remove_from_hash): Just return if found slot isn't ours.
  3752. 2003-08-19 Andrew Haley <aph@redhat.com>
  3753. * prims.cc (unblock_signal): New function.
  3754. (catch_segv): Use it.
  3755. (catch_fpe): Likewise.
  3756. 2003-08-19 Danny Smith <dannysmith@users.sourceforge.net>
  3757. PR libgcj/11575
  3758. * java/io/natFileDescriptorWin32.cc (open): Set create
  3759. flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
  3760. Honor EXCL when openning with WRITE flag.
  3761. 2003-08-19 Mohan Embar <gnustuff@thisiscool.com>
  3762. * include/jvm.h: New class _Jv_TempUTFString (helper class for
  3763. getting a temporary C string from a jstring)
  3764. New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
  3765. but uses a stack buffer if the string length is less than 256
  3766. bytes.
  3767. 2003-08-18 Tom Tromey <tromey@redhat.com>
  3768. PR libgcj/11951:
  3769. * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
  3770. void. Throw VirtualMachineError if ffi fails. Initialize return
  3771. value. Added is_jni_call argument; only wrap exception if not a
  3772. JNI call. Use descriptive message if operation not supported.
  3773. (_Jv_GetTypesFromSignature): Use declaring class' loader to find
  3774. array class.
  3775. * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
  3776. * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
  3777. _Jv_CallAnyMethodA.
  3778. (_Jv_JNI_CallAnyMethodA): Likewise.
  3779. (_Jv_JNI_CallAnyVoidMethodV): Likewise.
  3780. (_Jv_JNI_CallAnyVoidMethodA): Likewise.
  3781. 2003-08-13 Tom Tromey <tromey@redhat.com>
  3782. * gij.cc (help): Document -? and -X.
  3783. 2003-08-12 Graydon Hoare <graydon@redhat.com>
  3784. * java/awt/Font.java:
  3785. Stub out more recent API.
  3786. 2003-08-12 Graydon Hoare <graydon@redhat.com>
  3787. * java/awt/Color.java (getAlpha):
  3788. Prevent sign-extended alpha values.
  3789. 2003-08-12 Tom Tromey <tromey@redhat.com>
  3790. * gij.cc (main): Handle -? and -X.
  3791. 2003-08-10 Jeroen Frijters <jeroen@frijters.net>
  3792. * java/awt/Container.java
  3793. (getPreferredSize): Call preferredSize.
  3794. (preferredSize): Moved body of getPreferredSize here.
  3795. (getMinimumSize): Call minimumSize.
  3796. (minimumSize): Moved body of getMinimumSize here.
  3797. 2003-08-11 Tom Tromey <tromey@redhat.com>
  3798. * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
  3799. (postEvent): Removed FIXME comment.
  3800. (isDispatchThread): Documented.
  3801. (getCurrentEvent): New method.
  3802. (dispatchEvent): Set currentEvent and lastWhen.
  3803. (getMostRecentEventTime): Rewrote.
  3804. (invokeLater): Documented.
  3805. 2003-08-10 Bryce McKinlay <bryce@mckinlay.net.nz>
  3806. * java/io/PrintStream.java (print): Always flush if auto_flush is
  3807. set. Don't check for newline characters.
  3808. (write (int)): Implement without using a temporary array.
  3809. (write (byte[], int, int): Always flush if auto_flush is set. Don't
  3810. check for newline characters.
  3811. Fixes PR libgcj/11778.
  3812. 2003-08-08 Andrew Haley <aph@redhat.com>
  3813. * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
  3814. * Makefile.in: Rebuild.
  3815. * java/lang/natRuntime.cc (insertSystemProperties): Add
  3816. "sun.boot.class.path".
  3817. 2003-08-07 Andrew Haley <aph@redhat.com>
  3818. * java/io/PrintStream.java: Don't crash on a null string.
  3819. 2003-08-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  3820. * configure.in: Don't initialize GCINCS to boehm-gc/include.
  3821. * configure: Regenerate.
  3822. 2003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz>
  3823. * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
  3824. SocketImpl. Update Javadoc.
  3825. (bind): Call close() not impl.close() in event of exception.
  3826. (connect): Likewise.
  3827. Remove superfluous null checks throughout.
  3828. * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
  3829. Don't create an extra socket. Fix for PR libgcj/10868.
  3830. (bind): Clean up exception handling.
  3831. Remove superfluous null checks throughout.
  3832. 2003-08-07 Jacob Gladish <gladish@spinnakernet.com>
  3833. Bryce McKinlay <bryce@mckinlay.net.nz>
  3834. * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
  3835. ready-to-write argument to _Jv_Select. Reset the socket back to
  3836. non-blocking state after connecting.
  3837. (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
  3838. Throw SocketTimeoutException not InterruptedIOException.
  3839. (read): Throw SocketTimeoutException not InterruptedIOException.
  3840. 2003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz>
  3841. * java/lang/Thread.java (Thread): Check for null "name" from
  3842. start of private constructor, not after calling the private
  3843. constructor.
  3844. 2003-08-06 Tom Tromey <tromey@redhat.com>
  3845. * java/io/FilePermission.java (equals): Use correct index for
  3846. last character of path.
  3847. 2003-08-06 Alan Modra <amodra@bigpond.net.au>
  3848. * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
  3849. * configure.in: Compare with_cross_host to build_alias, not build.
  3850. * aclocal.m4: Regenerate.
  3851. * configure: Regenerate.
  3852. 2003-08-05 Tom Tromey <tromey@redhat.com>
  3853. Fix for PR libgcj/11779:
  3854. * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
  3855. class.
  3856. * java/lang/reflect/Method.java: Updated status comment.
  3857. Imported javadoc from Classpath and re-ordered methods.
  3858. * java/lang/reflect/Constructor.java: Reindented. Updated
  3859. status comment. Imported javadoc from Classpath and re-ordered
  3860. methods.
  3861. 2003-08-05 Thomas Fitzsimmons <fitzsim@redhat.com>
  3862. * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
  3863. Add keyLocation parameter.
  3864. * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
  3865. string.
  3866. (paramString): Generate keyChar string according to keyChar, not
  3867. keyCode.
  3868. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
  3869. (state_to_awt_mods): Handle ALT key.
  3870. (keyevent_state_to_awt_mods): New function.
  3871. (get_first_keyval_from_keymap): New function.
  3872. (keysym_to_awt_keycode): Get virtual key code from keymap.
  3873. Handle missing VK_ values.
  3874. (keysym_to_awt_keylocation): New function.
  3875. (keyevent_to_awt_keychar): New function.
  3876. (generates_key_typed_event): Handle non-text-component case.
  3877. Handle GDK_KP_Delete and GDK_KP_Enter.
  3878. (awt_event_handler): Call new functions to get postKeyEvent
  3879. parameters.
  3880. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
  3881. Update postKeyEvent method signature.
  3882. * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines. Add missing
  3883. VK_ defines.
  3884. 2003-08-05 Matthias Klose <doko@debian.org>
  3885. * aclocal.m4: check for libart-config binary
  3886. under the name libart2-config as well.
  3887. * configure: regenerated.
  3888. 2003-08-04 David P Grove <groved@us.ibm.com>
  3889. * java/text/DecimalFormat.java (format): avoid ArithmeticException
  3890. when groupingSize is 0.
  3891. (parse): Likewise.
  3892. 2003-08-04 Matthias Klose <doko@debian.org>
  3893. * libart.m4: check for libart-config binary
  3894. under the name libart2-config as well.
  3895. * configure, aclocal.m4: regenerated.
  3896. 2003-08-02 Michael Koch <konqueror@gmx.de>
  3897. * java/nio/ByteBufferImpl.java
  3898. (getChar): Check remaining bytes, fixed comment about endianess.
  3899. (putChar): Likewise.
  3900. (getShort): Likewise.
  3901. (putShort): Likewise.
  3902. (getInt): Check remaining bytes, fixed conversion, fixed comment about
  3903. endianess.
  3904. (putInt): Likewise.
  3905. (getLong): Likewise.
  3906. (putLong): Likewise.
  3907. (getFloat): Likewise.
  3908. (putFloat): Likewise.
  3909. (getDouble): Likewise.
  3910. (putDouble): Likewise.
  3911. * java/nio/DirectByteBufferImpl.java
  3912. (getChar): Wrapped code, fixed comment about endianess.
  3913. (putchar): Likewise.
  3914. (getShort): Likewise.
  3915. (putShort): Likewise.
  3916. (getInt): Fixed conversion, fixed comment about endianess.
  3917. (putInt): Likewise.
  3918. (getLong): Likewise.
  3919. (putLong): Likewise.
  3920. (getFloat): Likewise.
  3921. (putFloat): Likewise.
  3922. (getDouble): Likewise.
  3923. (putDouble): Likewise.
  3924. * java/nio/MappedByteBufferImpl.java
  3925. (compact): Implemented.
  3926. (getChar): Implemented.
  3927. (putChar): Implemented.
  3928. (getDouble): Implemented.
  3929. (putdouble): Implemented.
  3930. (getFloat): Implemented.
  3931. (putFloat): Implemented.
  3932. (getInt): Implemented.
  3933. (putInt): Implemented.
  3934. (getLong): Implemented.
  3935. (putLong): Implemented.
  3936. (getShort): Implemented.
  3937. (putShort): Implemented.
  3938. * java/nio/channels/FileChannelImpl.java
  3939. (read): Set position where to access file.
  3940. (write): Likewise.
  3941. (transferTo): Flip buffer after read and before write.
  3942. (transferFrom): Likewise.
  3943. 2003-08-02 Michael Koch <konqueror@gmx.de>
  3944. * gnu/java/lang/ArrayHelper.java
  3945. (equalsArray): Reformated, added method documentation.
  3946. 2003-08-02 Michael Koch <konqueror@gmx.de>
  3947. * java/net/URL.java
  3948. (URL): Added paragraph about the
  3949. gnu.java.net.nocache_protocol_handlers property.
  3950. (ph_cache): Renamed from handlers to match classpath's implementation.
  3951. Reordered it with factory and serialVersionUID member variables.
  3952. (cache_handlers): New member variable.
  3953. (static): New static initializer to initialize cache_handlers from
  3954. gnu.java.net.nocache_protocol_handlers property.
  3955. (URL): Use ph_cache instead of handlers, reformatted some code to
  3956. match classpath's implementation.
  3957. 2003-08-01 Tom Tromey <tromey@redhat.com>
  3958. Fix for PR libgcj/11241:
  3959. * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
  3960. initialCapacity is 0, set it to 1.
  3961. 2003-08-01 Stephen Crawley <crawley@dstc.edu.au>
  3962. * java/net/SocketImpl.java (toString): Display the remote address
  3963. of an unconnected server socket as "0.0.0.0/0.0.0.0".
  3964. 2003-08-01 Sascha Brawer <brawer@dandelis.ch>
  3965. * javax/swing/border/BevelBorder.java,
  3966. javax/swing/border/EtchedBorder.java,
  3967. javax/swing/border/LineBorder.java,
  3968. javax/swing/border/MatteBorder.java,
  3969. javax/swing/border/SoftBevelBorder.java,
  3970. javax/swing/plaf/BorderUIResource.java,
  3971. javax/swing/plaf/ComponentUI.java,
  3972. javax/swing/plaf/TreeUI.java,
  3973. javax/swing/plaf/basic/BasicBorders.java,
  3974. javax/swing/plaf/basic/BasicGraphicsUtils.java,
  3975. javax/swing/plaf/basic/BasicTreeUI.java:
  3976. Prepend "doc-files" to all paths to embedded Javadoc images, so
  3977. that the generated documentation contains the correct URL.
  3978. 2003-08-01 Tom Tromey <tromey@redhat.com>
  3979. * configure: Rebuilt.
  3980. * configure.in (tool_include_dir): Redefine to match gcc.
  3981. 2003-08-01 Jerry Quinn <jlquinn@optonline.net>
  3982. Mark Wielaard <mark@klomp.org>
  3983. * java/math/BigDecimal (divide): Correctly handle
  3984. ROUND_HALF_EVEN when amount is greater than 0.5.
  3985. Simplify and optimize code.
  3986. 2003-07-31 Tom Tromey <tromey@redhat.com>
  3987. More for PR libgcj/11737:
  3988. * java/io/ObjectInputStream.java (processResolution): Use
  3989. getMethod.
  3990. (getMethod): Make method accessible.
  3991. (getField): Make field accessible.
  3992. (setBooleanField): Don't call setAccessible here.
  3993. (setByteField, setCharField, setDoubleField, setFloatField,
  3994. setIntField, setLongField, setShortField, setObjectField):
  3995. Likewise.
  3996. (callReadMethod): Don't check whether method is null. Catch
  3997. NoSuchMethodException.
  3998. * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
  3999. cause on thrown exceptions.
  4000. 2003-07-31 Stepan Koltsov <yozh@mx1.ru>
  4001. Fix for PR libgcj/11728:
  4002. * java/util/HashMap.java (readObject): Set size.
  4003. 2003-07-31 Tom Tromey <tromey@redhat.com>
  4004. Fix for PR libgcj/11737:
  4005. * java/io/ObjectOutputStream.java (getMethod): Make method
  4006. accessible.
  4007. (getField): Likewise.
  4008. (writeObject): Use getMethod.
  4009. Import PrivilegedAction and AccessController.
  4010. (callWriteMethod): Don't check whether m is null. Catch
  4011. NoSuchMethodException.
  4012. * java/awt/geom/Arc2D.java (getBounds2D): Implement.
  4013. (containsAngle): Likewise.
  4014. (getStartPoint): Rewrote.
  4015. (getEndPoint): Likewise.
  4016. (setAngleStart(Point2D)): Likewise.
  4017. 2003-07-31 Roger Sayle <roger@eyesopen.com>
  4018. Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  4019. * configure.in: Add new THREADCXXFLAGS variable.
  4020. Handle POSIX threads on alpha*-dec-osf*.
  4021. * configure: Regenerate.
  4022. * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
  4023. * Makefile.in: Regenerate.
  4024. 2003-07-08 Andrew Haley <aph@redhat.com>
  4025. * include/i386-signal.h (RESTORE): New.
  4026. (INIT_SEGV): Set restorer.
  4027. (INIT_FPE): Likewise.
  4028. 2003-07-29 Thomas Fitzsimmons <fitzsim@redhat.com>
  4029. * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
  4030. than getXLFD.
  4031. * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
  4032. * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
  4033. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
  4034. (gtkSetFont): Scale size parameter by PANGO_SCALE.
  4035. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
  4036. Likewise.
  4037. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
  4038. Likewise.
  4039. 2003-07-29 Tom Tromey <tromey@redhat.com>
  4040. * defineclass.cc (handleField): Throw exception if field name is
  4041. duplicated.
  4042. (handleMethod): Throw exception for duplicate method.
  4043. 2003-07-29 Tom Tromey <tromey@redhat.com>
  4044. * gnu/gcj/convert/natIconv.cc (write): Handle case where
  4045. output buffer is too small.
  4046. 2003-07-28 Tom Tromey <tromey@redhat.com>
  4047. * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
  4048. New method.
  4049. Include gnu/gcj/runtime/StringBuffer.h.
  4050. * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
  4051. native method.
  4052. (String(gnu.gcj.runtime.StringBuffer)): Use it.
  4053. 2003-07-27 Anthony Green <green@redhat.com>
  4054. * configure.in: Fix newlib check.
  4055. * configure: Rebuilt.
  4056. 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com>
  4057. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
  4058. Create vbox and layout for GtkPlug.
  4059. 2003-07-27 Michael Koch <konqueror@gmx.de>
  4060. * java/awt/Window.java
  4061. (Window): Removed now unused constructor. It became oboslete with the
  4062. new embedded window patch.
  4063. 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com.h>
  4064. Michael Koch <konqueror@gmx.de>
  4065. * gnu/java/awt/EmbeddedWindow.java
  4066. (EmbeddedWindow): Extends Frame instead of Window.
  4067. (window_id): New member variable to store the native window handle.
  4068. (create): Removed.
  4069. (EmbeddedWindow): New constructor.
  4070. (addNotify): New method.
  4071. (getHandler): Likewise.
  4072. (setWindowPeer): New native method.
  4073. * gnu/java/awt/EmbeddedWindowSupport.java
  4074. (EmbeddedWindowSupport): Fixed documentation.
  4075. (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
  4076. WindowPeer, give it an EmbeddedWindow instance instead of the raw
  4077. window data.
  4078. * gnu/java/awt/natEmbeddedWindow.cc
  4079. (create): Removed.
  4080. (setWindowPeer): New method.
  4081. * gnu/java/awt/peer/EmbeddedWindowPeer.java,
  4082. gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
  4083. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
  4084. New files
  4085. * gnu/java/awt/peer/gtk/GtkToolkit.java
  4086. (GtkToolkit): Implements EmbeddedWindowSupport.
  4087. (createEmbeddedWindow): New method.
  4088. * java/awt/Window.java
  4089. (Window): Removed.
  4090. * Makefile.am
  4091. (java_source_files): Added EmbeddedWindowPeer.java.
  4092. (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
  4093. (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
  4094. * Makefile.in: Regenerated.
  4095. 2003-07-26 Ranjit Mathew <rmathew@hotmail.com>
  4096. * java/lang/Win32Process.java (ConcreteProcess): Surround
  4097. a command line element with quotes if it contains an
  4098. embedded space or tab.
  4099. * java/lang/natWin32Process.cc (startProcess): Do not
  4100. surround command line elements with quotes here.
  4101. * configure.host: Use -fcheck-references and
  4102. -fuse-divide-subroutine for MinGW until we fix
  4103. win32_exception_handler( ) in win32.cc w.r.t. Win32
  4104. Structured Exception Handling (SEH).
  4105. * win32.cc (_Jv_platform_initProperties): Use generic names
  4106. like "x86" for the "os.arch" property to be consistent with
  4107. what Sun's JDK produces. Use the wProcessorArchitecture
  4108. member of the Win32 SYSTEM_INFO structure, filled in a call
  4109. to GetSystemInfo( ), instead of dwProcessorType.
  4110. 2003-07-26 Mohan Embar <gnustuff@thisiscool.com>
  4111. Ranjit Mathew <rmathew@hotmail.com>
  4112. * Makefile.am: Use cross-compiling gcjh from the path for
  4113. a crossed-native build.
  4114. * Makefile.in: Rebuilt.
  4115. * configure.in: Include libltdl in non-newlib builds.
  4116. Moved determination of gcj used to build libraries to
  4117. its own section. Fixed cross-compilation issues for
  4118. non-newlib builds.
  4119. * configure: Rebuilt.
  4120. 2003-07-25 Tom Tromey <tromey@redhat.com>
  4121. * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
  4122. (write): Likewise.
  4123. (read): Likewise.
  4124. (read): Likewise.
  4125. 2003-07-25 Mark Wielaard <mark@klomp.org>
  4126. * java/lang/natRuntime.cc (_load): Add library name to
  4127. UnsatisfiedLinkError when thrown.
  4128. 2003-07-25 Mark Wielaard <mark@klomp.org>
  4129. * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
  4130. added.
  4131. * Makefile.in: Likewise.
  4132. 2003-07-25 Jeroen Frijters <jeroen@frijters.net>
  4133. * java/awt/Component.java
  4134. (getPreferredSize): Call preferredSize.
  4135. (preferredSize): Moved body of getPreferredSize here.
  4136. (getMinimumSize): Call minimumSize.
  4137. (minimumSize): Moved body of getMinimumSize here.
  4138. (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
  4139. (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
  4140. pass -1
  4141. * java/awt/Container.java
  4142. (validate): Don't validate if there is no peer.
  4143. (update): Clear background before calling paint.
  4144. * java/awt/GridBagLayout.java
  4145. Completed the implementation and fixed several bugs.
  4146. * java/awt/MediaTracker.java
  4147. (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
  4148. combine flags.
  4149. * java/awt/Window.java
  4150. (Window): Don't call setVisible(false). Windows are invisible by
  4151. default and calling virtual methods from constructor causes
  4152. compatibility problems (e.g. subclasses may assume that the peer
  4153. already exists).
  4154. 2003-07-25 Michael Koch <konqueror@gmx.de>
  4155. * java/awt/GridBagLayout.java:
  4156. Totally reworked and partly implemented.
  4157. * java/awt/GridBagLayoutInfo.java:
  4158. New file.
  4159. 2003-07-24 Thomas Fitzsimmons <fitzsim@redhat.com>
  4160. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
  4161. Don't pack label in an event box.
  4162. 2003-07-24 Tom Tromey <tromey@redhat.com>
  4163. For PR libgcj/7482:
  4164. * verify.cc (ref_intersection): New class.
  4165. (type_val): Removed unresolved_reference_type,
  4166. uninitialized_unresolved_reference_type.
  4167. (is_assignable_from_slow): Rewrote.
  4168. (type::data): Removed.
  4169. (type::klass): New field.
  4170. (type::type): Added verifier argument.
  4171. (type::resolve): Removed.
  4172. (type::set_uninitialized): Updated for change to type_val.
  4173. (type::set_initialized): Likewise.
  4174. (type::isinitialized): Likewise.
  4175. (type::print): Likewise.
  4176. (construct_primitive_array_type): Likewise.
  4177. (type::compatible): Updated for change to type_val and to use
  4178. ref_intersection.
  4179. (type::isarray): Updated to use ref_intersection.
  4180. (type::isinterface): Likewise.
  4181. (type::element_type): Likewise.
  4182. (type::to_array): Likewise.
  4183. (type::verify_dimensions): Rewrote.
  4184. (type::merge): Likewise.
  4185. (check_class_constant): Updated for type constructor change.
  4186. (check_constant): Likewise.
  4187. (check_field_constant): Likewise.
  4188. (get_one_type): Likewise.
  4189. (initialize_stack): Likewise.
  4190. (verify_instructions_0): Likewise.
  4191. (verify_instructions_0) [op_invokeinterface]: Removed special
  4192. case.
  4193. (isect_list): New field.
  4194. (_Jv_BytecodeVerifier): Initialize it.
  4195. (~_Jv_BytecodeVerifier): Destroy ref_intersection objects.
  4196. 2003-07-24 H. Väisänen <hvaisane@joyx.joensuu.fi>
  4197. * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
  4198. unless field size is 2.
  4199. 2003-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
  4200. * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
  4201. (connectHooks): New method.
  4202. (handleEvent): Remove.
  4203. * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
  4204. (createHooks): Remove declaration.
  4205. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
  4206. (generates_key_typed_event): Change to handle only certain
  4207. keyvals.
  4208. (awt_event_handler): Add special handling for GtkTextView.
  4209. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
  4210. (textcomponent_commit_cb): New function.
  4211. (textcomponent_changed_cb): Likewise.
  4212. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
  4213. (connectHooks): Remove.
  4214. 2003-07-23 Tom Tromey <tromey@redhat.com>
  4215. * java/lang/natSystem.cc (arraycopy): Check for overflow.
  4216. * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
  4217. 2003-07-22 Tom Tromey <tromey@redhat.com>
  4218. * boehm.cc (_Jv_BuildGCDescr): Wrote.
  4219. Include limits.h.
  4220. 2003-07-22 Tom Tromey <tromey@redhat.com>
  4221. * java/awt/Window.java (getWarningString): Just return the
  4222. string.
  4223. (Window): Set warningString; check with security manager.
  4224. 2003-07-22 Scott Gilbertson <scottg@mantatest.com>
  4225. * gnu/awt/xlib/XGraphicsConfiguration.java
  4226. (FontMetricsCache): Made static.
  4227. 2003-07-22 Tom Tromey <tromey@redhat.com>
  4228. * java/net/URLEncoder.java (encode(String)): Use platform default
  4229. encoding.
  4230. (encode(String,String)): Convert to 2-digit upper-case hex
  4231. number.
  4232. (hex): New field.
  4233. 2003-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
  4234. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
  4235. (create): Remove unused method implementation.
  4236. (connectHooks): Remove debug messages.
  4237. 2003-07-20 Anthony Green <green@redhat.com>
  4238. * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
  4239. CloneNotSupportedException.
  4240. * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
  4241. * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
  4242. * gnu/gcj/xlib/GC.java (clone): Ditto.
  4243. * gnu/awt/xlib/XGraphics.java (clone): Ditto.
  4244. * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
  4245. * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
  4246. handler.
  4247. * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
  4248. 2003-07-20 Steve Pribyl <steve@netfuel.com.>
  4249. * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
  4250. String. Put dlerror() message into exception.
  4251. Include UnsatisfiedLinkError.
  4252. * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
  4253. String. Now native.
  4254. 2003-07-20 Tom Tromey <tromey@redhat.com>
  4255. * java/lang/Runtime.java: Comment fix.
  4256. * java/lang/ClassLoader.java (isAncestorOf): New method.
  4257. (getParent): Uncommented security check. Use isAncestorOf.
  4258. * include/jvm.h (_Jv_CheckAccess): Declare.
  4259. * java/lang/reflect/natConstructor.cc (newInstance): Perform
  4260. access check.
  4261. Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
  4262. * java/lang/reflect/natArray.cc (newInstance): Pass caller's
  4263. class loader to _Jv_GetArrayClass.
  4264. Include ArrayIndexOutOfBoundsException.h.
  4265. * java/lang/reflect/Field.java: Update comment to reflect status.
  4266. (equals): Fixed indentation.
  4267. * java/lang/Class.h (Class): Declare memberAccessCheck, not
  4268. checkMemberAccess. Make _Jv_CheckAccess a friend.
  4269. * java/lang/Class.java (memberAccessCheck): New method from
  4270. Classpath.
  4271. (checkMemberAccess): Removed.
  4272. (getDeclaredMethod): Use memberAccessCheck.
  4273. (getField): Likewise.
  4274. (getMethod): Likewise.
  4275. * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
  4276. (_Jv_SearchMethodInClass): Likewise.
  4277. * prims.cc (_Jv_CheckAccess): New function.
  4278. * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
  4279. (_Jv_JNI_GetAnyFieldID): Likewise.
  4280. * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
  4281. (getClassLoader): Added security check.
  4282. (getConstructor): Call memberAccessCheck.
  4283. (getDeclaredClasses): Likewise.
  4284. (getDeclaredField): Likewise.
  4285. (getDeclaredFields): Likewise.
  4286. (_getConstructors): Likewise.
  4287. (getDeclaredConstructor): Likewise.
  4288. (getDeclaredMethods): Likewise.
  4289. (getFields): Likewise.
  4290. (getMethods): Likewise.
  4291. (newInstance): Likewise.
  4292. (_Jv_MakeVTable): Put method name in exception.
  4293. * java/lang/reflect/natMethod.cc (getType): Use
  4294. getClassLoaderInternal.
  4295. (_Jv_GetTypesFromSignature): Likewise.
  4296. (invoke): Perform access check.
  4297. (_Jv_CallAnyMethodA): Removed old FIXME comments.
  4298. Include ArrayIndexOutOfBoundsException.h.
  4299. * java/lang/reflect/natField.cc (getType): Use
  4300. getClassLoaderInternal.
  4301. (_Jv_CheckFieldAccessibility): Removed.
  4302. (getAddr): Use _Jv_CheckAccess; find caller.
  4303. Include ArrayIndexOutOfBoundsException.h.
  4304. 2003-07-20 Michael Koch <konqueror@gmx.de>
  4305. * java/net/URL.java
  4306. (URL): Fixed documentation to name an argument correcty, Reformatted
  4307. one method declaration.
  4308. (getURLStreamHandler): Added documentation from classpath.
  4309. 2003-07-19 Tom Tromey <tromey@redhat.com>
  4310. * mauve-libgcj: Don't run CollationElementIterator tests.
  4311. 2003-07-19 Jeroen Frijters <jeroen@sumatra.nl>
  4312. * java/net/URLClassLoader.java (addURL): Moved implementation to
  4313. private addURLImpl() to avoid calling addURL from the constructor.
  4314. (addURLImpl): Contains the code that was previously in addURL.
  4315. (addURLs): Call addURLImpl(), not addURL().
  4316. 2003-07-18 Graydon Hoare <graydon@redhat.com>
  4317. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
  4318. Handle missing event cases, connect to "value-changed" signal.
  4319. 2003-07-18 Graydon Hoare <graydon@redhat.com>
  4320. * java/awt/geom/CubicCurve2D.java,
  4321. java/awt/geom/Line2D.java,
  4322. java/awt/geom/QuadCurve2D.java,
  4323. java/awt/geom/Rectangle2D.java:
  4324. Fix path some calculations, make path iterators follow
  4325. a consistent style.
  4326. 2003-07-18 Mark Wielaard <mark@klomp.org>
  4327. * java/util/logging/Handler.java (isLoggable): Check record level
  4328. smaller or equal.
  4329. 2003-07-17 Michael Koch <konqueror@gmx.de>
  4330. * gnu/java/awt/peer/gtk/GtkToolkit.java:
  4331. Reworked imports.
  4332. 2003-07-14 Michael Koch <konqueror@gmx.de>
  4333. * gnu/java/rmi/server/UnicastServerRef.java:
  4334. New version from classpath.
  4335. 2003-07-14 Michael Koch <konqueror@gmx.de>
  4336. * java/awt/image/MemoryImageSource.java,
  4337. java/beans/PropertyEditorManager.java,
  4338. javax/naming/CompoundName.java,
  4339. javax/naming/spi/NamingManager.java,
  4340. javax/swing/AbstractButton.java,
  4341. javax/swing/ButtonModel.java,
  4342. javax/swing/SwingUtilities.java,
  4343. javax/swing/UIManager.java,
  4344. javax/swing/colorchooser/DefaultColorSelectionModel.java,
  4345. javax/swing/event/AncestorEvent.java,
  4346. javax/swing/event/InternalFrameEvent.java,
  4347. java/util/zip/ZipFile.java:
  4348. New versions from classpath.
  4349. 2003-07-13 Michael Koch <konqueror@gmx.de>
  4350. * gnu/java/nio/FileChannelImpl.java,
  4351. gnu/java/nio/natFileChannelImpl.cc: Removed.
  4352. * java/io/FileInputStream.java,
  4353. java/io/FileOutputStream.java,
  4354. java/io/RandomAccessFile.java,
  4355. java/nio/MappedByteBufferImpl.java:
  4356. Import java.nio.channels.FileChannelImpl instead of
  4357. gnu.java.nio.FileChannelImpl.
  4358. * java/nio/channels/FileChannelImpl.java,
  4359. java/nio/channels/natFileChannelImpl.cc:
  4360. New files.
  4361. * Makefile.am
  4362. (ordinary_java_source_files):
  4363. Removed gnu/java/nio/FileChannelImpl.java and added
  4364. java/nio/channels/FileChannelImpl.java.
  4365. (nat source_files):
  4366. Removed gnu/java/nio/natFileChannelImpl.cc and added
  4367. java/nio/channels/natFileChannelImpl.cc.
  4368. * Makefile.in: Regenerated.
  4369. 2003-07-13 Michael Koch <konqueror@gmx.de>
  4370. * javax/swing/plaf/basic/BasicBorders.java,
  4371. javax/swing/plaf/basic/BasicLabelUI.java,
  4372. javax/swing/plaf/basic/BasicLookAndFeel.java,
  4373. javax/swing/plaf/basic/BasicTabbedPaneUI.java,
  4374. javax/swing/plaf/basic/BasicTextUI.java,
  4375. javax/swing/plaf/metal/MetalLookAndFeel.java:
  4376. New versions from classpath.
  4377. 2003-07-13 Michael Koch <konqueror@gmx.de>
  4378. * gnu/java/awt/peer/gtk/GdkFontMetrics.java
  4379. * gnu/java/awt/peer/gtk/GdkGraphics.java
  4380. * gnu/java/awt/peer/gtk/GtkButtonPeer.java
  4381. * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
  4382. * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
  4383. * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
  4384. * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
  4385. * gnu/java/awt/peer/gtk/GtkChoicePeer.java
  4386. * gnu/java/awt/peer/gtk/GtkClipboard.java
  4387. * gnu/java/awt/peer/gtk/GtkDialogPeer.java
  4388. * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
  4389. * gnu/java/awt/peer/gtk/GtkFramePeer.java
  4390. * gnu/java/awt/peer/gtk/GtkGenericPeer.java
  4391. * gnu/java/awt/peer/gtk/GtkImage.java
  4392. * gnu/java/awt/peer/gtk/GtkImagePainter.java
  4393. * gnu/java/awt/peer/gtk/GtkLabelPeer.java
  4394. * gnu/java/awt/peer/gtk/GtkListPeer.java
  4395. * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
  4396. * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
  4397. * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
  4398. * gnu/java/awt/peer/gtk/GtkMenuPeer.java
  4399. * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
  4400. * gnu/java/awt/peer/gtk/GtkPanelPeer.java
  4401. * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
  4402. * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
  4403. * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
  4404. * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
  4405. * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
  4406. * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
  4407. 2003-07-13 Michael Koch <konqueror@gmx.de>
  4408. * gnu/java/locale/LocaleInformation_de.java
  4409. * gnu/java/locale/LocaleInformation_en.java
  4410. * gnu/java/locale/LocaleInformation_nl.java
  4411. 2003-07-13 Michael Koch <konqueror@gmx.de>
  4412. * gnu/java/awt/EmbeddedWindow.java,
  4413. gnu/java/awt/EmbeddedWindowSupport.java,
  4414. gnu/java/awt/natEmbeddedWindow.cc:
  4415. New files.
  4416. * java/awt/Window.java
  4417. (Window): New constructor to support embedded windows.
  4418. * Makefile.am
  4419. (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
  4420. gnu/java/awt/EmbeddedWindowSupport.java.
  4421. (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
  4422. * Makefile.in: Regenerated.
  4423. 2003-07-11 Matt Kraai <kraii@alumni.cmu.edu>
  4424. * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
  4425. * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
  4426. * java/awt/im/InputContext.java: Remove a redundant
  4427. partial line.
  4428. 2003-07-09 Tom Tromey <tromey@redhat.com>
  4429. * Makefile.in: Rebuilt.
  4430. * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
  4431. 2003-07-09 Mark Wielaard <mark@klomp.org>
  4432. * java/io/ObjectOutputStream.java (writeObject): break after
  4433. calling writeClassDescriptor().
  4434. 2003-07-09 Mark Mitchell <mark@codesourcery.com>
  4435. * gcj/array.h (JvPrimClass): Don't parenthesize the output.
  4436. 2003-07-09 Michael Koch <konqueror@gmx.de>
  4437. * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
  4438. gnu/java/awt/peer/gtk/GtkContainerPeer.java,
  4439. gnu/java/awt/peer/gtk/GtkDialogPeer.java,
  4440. gnu/java/awt/peer/gtk/GtkWindowPeer.java:
  4441. Explicitly import used classes.
  4442. * java/awt/Container.java: New version from classpath.
  4443. 2003-07-09 Michael Koch <konqueror@gmx.de>
  4444. * libgcj.pc.in: New file.
  4445. * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
  4446. * Makefile.in: Regenerated.
  4447. * configure: Regenrated.
  4448. * configure.in: Create libgcj.pc from libgcj.pc.in.
  4449. 2003-07-08 Mark Wielaard <mark@klomp.org>
  4450. * gcj/cni.h: CNI now expands to Compiled Native Interface.
  4451. * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
  4452. * java/lang/fdlibm.h: Likewise.
  4453. 2003-07-07 Adam Megacz <adam@xwt.org>
  4454. * posix.cc: added #include<stdio.h>
  4455. 2003-07-07 Thomas Fitzsimmons <fitzsim@redhat.com>
  4456. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
  4457. formatting.
  4458. * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
  4459. (setCaretPosition, setEditable): Rely entirely on native
  4460. implementation.
  4461. (getArgs): Remove.
  4462. (postTextEvent): New method.
  4463. (handleEvent): New method.
  4464. * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
  4465. method.
  4466. * java/awt/event/ActionEvent.java (paramString): Fix formatting.
  4467. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
  4468. (keysym_to_awt_keycode): Fix range checks.
  4469. (generates_key_typed_event): New function.
  4470. (awt_event_handler): Post AWT_KEY_RELEASED events to event
  4471. queue.
  4472. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
  4473. (gtkInit): Store TextComponent's postTextEvent method ID.
  4474. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
  4475. (setText): Post TEXT_VALUE_CHANGED event to event queue.
  4476. 2003-07-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  4477. * configure.in: Check for usleep declaration.
  4478. * acconfig.h (HAVE_USLEEP_DECL): Provide template.
  4479. * configure: Regenerate.
  4480. * include/config.h.in: Likewise.
  4481. * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
  4482. 2003-07-01 Michael Koch <konqueror@gmx.de>
  4483. * gnu/gcj/convert/natIconv.cc
  4484. (iconv_init): Fixed possible memory leak by releasing allocated iconv
  4485. handle.
  4486. 2003-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
  4487. * glib-2.0.m4: New file.
  4488. * gtk-2.0.m4: New file.
  4489. * glib.m4: Remove.
  4490. * gtk.m4: Remove.
  4491. * configure.in: Update AM_PATH_GTK macro call to
  4492. AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB.
  4493. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
  4494. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
  4495. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
  4496. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
  4497. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
  4498. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
  4499. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
  4500. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
  4501. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
  4502. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
  4503. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
  4504. jni/gtk-peer/gthread-jni.c,
  4505. jni/gtk-peer/gthread-jni.h:
  4506. New versions from classpath.
  4507. * aclocal.m4: Regenerate.
  4508. * configure: Regenerate.
  4509. * Makefile.in: Regenerate.
  4510. * gcj/Makefile.in: Regenerate.
  4511. * include/Makefile.in: Regenerate.
  4512. * testsuite/Makefile.in: Regenerate.
  4513. 2003-06-30 Gary Benson <gbenson@redhat.com>
  4514. For PR libgcj/11349:
  4515. * javax/naming/spi/NamingManager.java (getURLContext): Use
  4516. correct name for factory class.
  4517. 2003-06-28 Michael Koch <konqueror@gmx.de>
  4518. * java/io/PrintStream.java
  4519. (checkError): Call flush() instead of direct flushing of the Writer
  4520. object.
  4521. (print): Call print(String) instead of direct print method of the
  4522. Writer Object.
  4523. (println): Call println(String) instead of direct println method of the
  4524. Writer Object.
  4525. (write): Simplified.
  4526. 2003-06-28 Michael Koch <konqueror@gmx.de>
  4527. * java/net/ServerSocket.java
  4528. (setChannel): New method.
  4529. * java/net/Socket.java
  4530. (setChannel): New method.
  4531. 2003-06-27 Michael Koch <konqueror@gmx.de>
  4532. * java/beans/beancontext/BeanContextSupport.java:
  4533. New version from classpath.
  4534. 2003-06-27 Michael Koch <konqueror@gmx.de>
  4535. * java/awt/Window.java,
  4536. java/awt/font/GraphicAttribute.java,
  4537. java/awt/font/ImageGraphicAttribute.java,
  4538. java/awt/image/DataBufferByte.java,
  4539. java/awt/image/DataBufferInt.java,
  4540. java/awt/image/DataBufferUShort.java,
  4541. java/awt/image/DirectColorModel.java,
  4542. java/awt/image/PixelGrabber.java:
  4543. New versions from classpath.
  4544. 2003-06-27 Michael Koch <konqueror@gmx.de>
  4545. * java/security/Certificate.java
  4546. (getGuarantor): Removed wrong @deprecated tag.
  4547. (getPrincipal): Likewise.
  4548. (getPublicKey): Likewise.
  4549. (encode): Likewise.
  4550. (decode): Likewise.
  4551. (getFormat): Likewise.
  4552. (toString): Likewise.
  4553. * java/security/cert/PolicyQualifierInfo.java
  4554. (PolicyQualifierInfo): Made final.
  4555. * javax/security/auth/x500/X500Principal.java
  4556. (serialVersionUID): New member variable.
  4557. 2003-06-27 Michael Koch <konqueror@gmx.de>
  4558. * java/text/Format.java
  4559. (serialVersionUID): Fixed value.
  4560. 2003-06-27 Michael Koch <konqueror@gmx.de>
  4561. * java/net/Inet4Address.java
  4562. (Inet4Address): Made package-private.
  4563. * java/net/Inet6Address.java
  4564. (Inet4Address): Made package-private.
  4565. 2003-06-27 Michael Koch <konqueror@gmx.de>
  4566. * java/io/RandomAccessFile.java
  4567. (readLine): Removed wrong @deprecated tag.
  4568. (getChannel): Made final.
  4569. 2003-06-27 Michael Koch <konqueror@gmx.de>
  4570. * gnu/java/nio/FileChannelImpl.java
  4571. (write): Removed.
  4572. 2003-06-27 Michael Koch <konqueror@gmx.de>
  4573. * java/nio/ByteBufferImpl.java
  4574. (ByteBufferImpl): Made it a package-private class
  4575. * java/nio/CharBufferImpl.java
  4576. (CharBufferImpl): Made it a package-private class
  4577. * java/nio/DirectByteBufferImpl.java
  4578. (DirectByteBufferImpl): Made it a package-private class
  4579. * java/nio/DoubleBufferImpl.java
  4580. (DoubleBufferImpl): Made it a package-private class
  4581. * java/nio/FloatBufferImpl.java
  4582. (FloatBufferImpl): Made it a package-private class
  4583. * java/nio/IntBufferImpl.java
  4584. (IntBufferImpl): Made it a package-private class
  4585. * java/nio/LongBufferImpl.java
  4586. (LongBufferImpl): Made it a package-private class
  4587. * java/nio/ShortBufferImpl.java
  4588. (ShortBufferImpl): Made it a package-private class
  4589. * java/nio/channels/FileChannel.java
  4590. (write): Made final.
  4591. * java/nio/channels/ServerSocketChannel.java
  4592. (ServerSocketChanne): Made protected.
  4593. 2003-06-27 Michael Koch <konqueror@gmx.de>
  4594. * javax/naming/CompositeName.java
  4595. (serialVersionUID): New member variable.
  4596. * javax/naming/CompoundName.java
  4597. (serialVersionUID): New member variable.
  4598. * javax/naming/InitialContext.java
  4599. (InitialContext): Throws NamingException.
  4600. (init): Likewise.
  4601. * javax/naming/LinkRef.java
  4602. (serialVersionUID): New member variable.
  4603. (gteLinkName): Throws NamingException.
  4604. * javax/naming/NamingException.java
  4605. (serialVersionUID): New member variable.
  4606. * javax/naming/NamingSecurityException.java
  4607. (NamingSecurityException): Made abstract.
  4608. (serialVersionUID): New member variable.
  4609. * javax/naming/ReferralException.java
  4610. (serialVersionUID): New member variable.
  4611. * javax/naming/StringRefAddr.java
  4612. (serialVersionUID): New member variable.
  4613. * javax/naming/directory/BasicAttribute.java:
  4614. Reworked imports.
  4615. (serialVersionUID): New member variable.
  4616. (get): Throws NamingException.
  4617. (getAll): Throws NamingException.
  4618. * javax/naming/directory/BasicAttributes.java:
  4619. Reworked imports.
  4620. (serialVersionUID): New member variable.
  4621. * javax/naming/ldap/UnsolicitedNotificationEvent.java
  4622. (serialVersionUID): New member variable.
  4623. 2003-06-27 Michael Koch <konqueror@gmx.de>
  4624. * Makefile.am
  4625. (awt_java_source_files): Added new files:
  4626. javax/swing/Popup.java,
  4627. javax/swing/PopupFactory.java
  4628. * Makefile.in: Regenerated.
  4629. 2003-06-27 Michael Koch <konqueror@gmx.de>
  4630. * javax/swing/JWindow.java,
  4631. javax/swing/event/AncestorEvent.java,
  4632. javax/swing/event/HyperlinkEvent.java,
  4633. javax/swing/event/InternalFrameEvent.java,
  4634. javax/swing/event/ListDataEvent.java,
  4635. javax/swing/event/TableModelEvent.java,
  4636. javax/swing/plaf/PopupMenuUI.java,
  4637. javax/swing/plaf/SplitPaneUI.java,
  4638. javax/swing/plaf/TabbedPaneUI.java,
  4639. javax/swing/plaf/TextUI.java,
  4640. javax/swing/plaf/TreeUI.java,
  4641. javax/swing/plaf/basic/BasicTextUI.java,
  4642. javax/swing/plaf/basic/BasicTreeUI.java:
  4643. New versions from classpath.
  4644. * javax/swing/Popup.java,
  4645. javax/swing/PopupFactory.jav:
  4646. New source files from classpath.
  4647. * javax/swing/plaf/doc-files/TreeUI-1.png:
  4648. New binary files from classpath.
  4649. 2003-06-25 Michael Koch <konqueror@gmx.de>
  4650. * Makefile.am
  4651. (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
  4652. * Makefile.in: Regenerated.
  4653. 2003-06-25 Michael Koch <konqueror@gmx.de>
  4654. * javax/swing/plaf/ActionMapUIResource.java,
  4655. javax/swing/plaf/BorderUIResource.java,
  4656. javax/swing/plaf/ButtonUI.java,
  4657. javax/swing/plaf/ColorChooserUI.java,
  4658. javax/swing/plaf/ColorUIResource.java,
  4659. javax/swing/plaf/ComboBoxUI.java,
  4660. javax/swing/plaf/ComponentInputMapUIResource.java,
  4661. javax/swing/plaf/ComponentUI.java,
  4662. javax/swing/plaf/DesktopIconUI.java,
  4663. javax/swing/plaf/DesktopPaneUI.java,
  4664. javax/swing/plaf/DimensionUIResource.java,
  4665. javax/swing/plaf/FileChooserUI.java,
  4666. javax/swing/plaf/FontUIResource.java,
  4667. javax/swing/plaf/IconUIResource.java,
  4668. javax/swing/plaf/InputMapUIResource.java,
  4669. javax/swing/plaf/InsetsUIResource.java,
  4670. javax/swing/plaf/InternalFrameUI.java,
  4671. javax/swing/plaf/LabelUI.java,
  4672. javax/swing/plaf/ListUI.java,
  4673. javax/swing/plaf/MenuBarUI.java,
  4674. javax/swing/plaf/MenuItemUI.java,
  4675. javax/swing/plaf/OptionPaneUI.java,
  4676. javax/swing/plaf/PanelUI.java,
  4677. javax/swing/plaf/ProgressBarUI.java,
  4678. javax/swing/plaf/RootPaneUI.java,
  4679. javax/swing/plaf/ScrollBarUI.java,
  4680. javax/swing/plaf/ScrollPaneUI.java,
  4681. javax/swing/plaf/SeparatorUI.java,
  4682. javax/swing/plaf/SliderUI.java,
  4683. javax/swing/plaf/TableHeaderUI.java,
  4684. javax/swing/plaf/TableUI.java,
  4685. javax/swing/plaf/ToolBarUI.java,
  4686. javax/swing/plaf/ToolTipUI.java,
  4687. javax/swing/plaf/ViewportUI.java:
  4688. New versions from classpath.
  4689. * javax/swing/plaf/SpinnerUI.java:
  4690. New file from classpath
  4691. 2003-06-25 Michael Koch <konqueror@gmx.de>
  4692. * java/awt/image/ColorModel.java:
  4693. New version from classpath.
  4694. 2003-06-25 Michael Koch <konqueror@gmx.de>
  4695. * java/net/PlainDatagramSocketImpl.java:
  4696. Partly merged with classpath, this mainly adds documentation.
  4697. 2003-06-25 Michael Koch <konqueror@gmx.de>
  4698. * java/io/ObjectInputStream.java
  4699. (readClassDescriptor): New method.
  4700. (readObject): Moved functionality to readClassDescriptor().
  4701. * java/io/ObjectOutputStream.java
  4702. (writeClassDescriptor): New method.
  4703. (writeObject): Moved functionality to writeClassDescriptor().
  4704. 2003-06-25 Michael Koch <konqueror@gmx.de>
  4705. * javax/swing/plaf/basic/BasicListUI.java,
  4706. javax/swing/plaf/basic/BasicOptionPaneUI.java:
  4707. Added missing methods.
  4708. 2003-06-25 Michael Koch <konqueror@gmx.de>
  4709. * javax/swing/event/AncestorEvent.java
  4710. javax/swing/event/HyperlinkEvent.java
  4711. javax/swing/event/InternalFrameEvent.java
  4712. javax/swing/event/ListDataEvent.java
  4713. javax/swing/event/TableModelEvent.java:
  4714. Compile fixes.
  4715. 2003-06-24 Michael Koch <konqueror@gmx.de>
  4716. * java/net/URL.java:
  4717. Renamed "handler" to "ph" in the whole file to match classpaths
  4718. version.
  4719. * java/net/URLStreamHandler.java:
  4720. (equals): Renamed "handler" to "ph".
  4721. 2003-06-24 Michael Koch <konqueror@gmx.de>
  4722. * javax/swing/event/AncestorEvent.java,
  4723. javax/swing/event/HyperlinkEvent.java,
  4724. javax/swing/event/InternalFrameEvent.java,
  4725. javax/swing/event/ListDataEvent.java,
  4726. javax/swing/event/TableModelEvent.java,
  4727. javax/swing/event/TreeWillExpandListener.java,
  4728. javax/swing/plaf/ComponentUI.java,
  4729. javax/swing/plaf/DesktopIconUI.java,
  4730. javax/swing/plaf/DesktopPaneUI.java,
  4731. javax/swing/plaf/DimensionUIResource.java,
  4732. javax/swing/plaf/FileChooserUI.java,
  4733. javax/swing/plaf/FontUIResource.java,
  4734. javax/swing/plaf/IconUIResource.java,
  4735. javax/swing/plaf/InputMapUIResource.java,
  4736. javax/swing/plaf/InsetsUIResource.java,
  4737. javax/swing/plaf/InternalFrameUI.java,
  4738. javax/swing/plaf/LabelUI.java,
  4739. javax/swing/plaf/ListUI.java,
  4740. javax/swing/plaf/MenuBarUI.java,
  4741. javax/swing/plaf/MenuItemUI.java,
  4742. javax/swing/plaf/OptionPaneUI.java,
  4743. javax/swing/plaf/PanelUI.java,
  4744. javax/swing/plaf/ProgressBarUI.java,
  4745. javax/swing/plaf/doc-files/ComponentUI-1.dia,
  4746. javax/swing/plaf/doc-files/ComponentUI-1.png:
  4747. New versions from classpath.
  4748. 2003-06-24 Michael Koch <konqueror@gmx.de>
  4749. * java/nio/Buffer.java
  4750. (cap): Made package-private.
  4751. (pos): Likewise.
  4752. (limit): Likewise.
  4753. (mark): Likewise.
  4754. 2003-06-24 Michael Koch <konqueror@gmx.de>
  4755. * java/net/SocketImpl.java
  4756. (shutdownInput): Made it non-abstract method throwing an exception
  4757. like in SUNs JRE.
  4758. (shutdownOutput): Likewise.
  4759. * java/net/SocketInputStream.java,
  4760. java/net/SocketOutputStream.java:
  4761. New files from classpath.
  4762. 2003-06-24 Michael Koch <konqueror@gmx.de>
  4763. * java/awt/Font.java,
  4764. java/awt/Window.java,
  4765. java/awt/color/ColorSpace.java,
  4766. java/awt/datatransfer/StringSelection.java,
  4767. java/awt/image/ColorModel.java:
  4768. New versions from classpath.
  4769. 2003-06-24 Michael Koch <konqueror@gmx.de>
  4770. * Makefile.am
  4771. (awt_java_source_files): Added new files:
  4772. javax/swing/plaf/basic/BasicSplitPaneDivider.java,
  4773. javax/swing/plaf/basic/BasicSplitPaneUI.java
  4774. * Makefile.in: Regenerated.
  4775. 2003-06-24 Michael Koch <konqueror@gmx.de>
  4776. * javax/swing/text/JTextComponent.java:
  4777. New version from classpath.
  4778. 2003-06-24 Michael Koch <konqueror@gmx.de>
  4779. * javax/swing/Timer.java,
  4780. javax/swing/plaf/ActionMapUIResource.java,
  4781. javax/swing/plaf/ButtonUI.java,
  4782. javax/swing/plaf/ColorChooserUI.java,
  4783. javax/swing/plaf/ColorUIResource.java,
  4784. javax/swing/plaf/ComboBoxUI.java,
  4785. javax/swing/plaf/ComponentInputMapUIResource.java,
  4786. javax/swing/plaf/basic/BasicBorders.java:
  4787. New versions from classpath.
  4788. * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
  4789. javax/swing/plaf/basic/BasicSplitPaneUI.java:
  4790. New file from classpath.
  4791. * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
  4792. javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
  4793. javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
  4794. javax/swing/plaf/doc-files/ComponentUI-1.dia,
  4795. javax/swing/plaf/doc-files/ComponentUI-1.png:
  4796. New binary files from classpath.
  4797. 2003-06-24 Michael Koch <konqueror@gmx.de>
  4798. * java/io/LineNumberReader.java
  4799. (skip): Dont do line number accounting here as this is already done in
  4800. read(), simplified.
  4801. 2003-06-21 Michael Koch <konqueror@gmx.de>
  4802. * java/io/File.java
  4803. (static): Load javaio lib if existing (only in classpath).
  4804. (File): Revised documentation to show the correct argument name.
  4805. (createTempFile): Partly merged with classpath.
  4806. (compareTo): Simplified.
  4807. (lastModified): Throw exception if time < 0.
  4808. (deleteOnExit): Revised documentation.
  4809. 2003-06-21 Michael Koch <konqueror@gmx.de>
  4810. * java/net/PlainSocketImpl.java:
  4811. Reformatted.
  4812. (PlainSocketImpl): Merged class documentaion with classpath.
  4813. (in): Moved.
  4814. (out): Moved.
  4815. (PlainSocketImpl): New empty constructor.
  4816. (finalize): Moved.
  4817. (setOption): Merged documentation from classpath.
  4818. (getOption): Likewise.
  4819. (create): Likewise.
  4820. (connect): Likewise.
  4821. (bind): Likewise.
  4822. (listen): Likewise.
  4823. (accept): Likewise.
  4824. (available): Likewise.
  4825. (close): Likewise.
  4826. (read): Likewise.
  4827. (write): Likewise.
  4828. (getInputStream): Made synchronozed to get sure that only one stream
  4829. object can be created for this socket, merged documentation from
  4830. classpath.
  4831. (getOutputStream): Likewise.
  4832. 2003-06-21 Michael Koch <konqueror@gmx.de>
  4833. * java/net/PlainSocketImpl.java:
  4834. Reformatting.
  4835. (static): New implicit method.
  4836. (read): Made package private.
  4837. (write): Likewise.
  4838. 2003-06-21 Michael Koch <konqueror@gmx.de>
  4839. * java/util/SimpleTimeZone.java:
  4840. Removed unneeded import, reformatting.
  4841. 2003-06-21 Michael Koch <konqueror@gmx.de>
  4842. * java/text/DateFormat.java,
  4843. java/text/SimpleDateFormat.java,
  4844. java/util/Locale.java:
  4845. New versions from classpath.
  4846. 2003-06-21 Michael Koch <konqueror@gmx.de>
  4847. * javax/swing/SpinnerModel.java:
  4848. New file from classpath.
  4849. * javax/swing/border/LineBorder.java,
  4850. javax/swing/border/SoftBevelBorder.java,
  4851. javax/swing/plaf/BorderUIResource.java,
  4852. javax/swing/plaf/basic/BasicBorders.java:
  4853. New versions from classpath.
  4854. * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
  4855. javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
  4856. javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
  4857. javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
  4858. javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
  4859. javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
  4860. New binary files from classpath.
  4861. 2003-06-21 Michael Koch <konqueror@gmx.de>
  4862. * java/util/logging/LogRecord.java,
  4863. java/util/logging/Logger.java,
  4864. java/util/logging/SocketHandler.java,
  4865. java/util/logging/SimpleFormatter.java,
  4866. java/util/logging/Formatter.java,
  4867. java/util/logging/ErrorManager.java,
  4868. java/util/logging/Handler.java,
  4869. java/util/logging/FileHandler.java,
  4870. java/util/logging/LogManager.java,
  4871. java/util/logging/Level.java,
  4872. java/util/logging/ConsoleHandler.java,
  4873. java/util/logging/StreamHandler.java,
  4874. java/util/logging/LoggingPermission.java,
  4875. java/util/logging/Filter.java,
  4876. java/util/logging/MemoryHandler.java,
  4877. java/util/logging/XMLFormatter.java:
  4878. New files from classpath.
  4879. 2003-06-20 Michael Koch <konqueror@gmx.de>
  4880. * java/io/ObjectStreamField.java
  4881. (unshared): new member variable.
  4882. (ObjectStreamField): New constructor.
  4883. (isUnshared): New method.
  4884. 2003-06-20 Michael Koch <konqueror@gmx.de>
  4885. * java/net/URLStreamHandler.java
  4886. (hostsEqual): Rewritten.
  4887. 2003-06-20 Michael Koch <konqueror@gmx.de>
  4888. * gnu/java/nio/MappedByteFileBuffer.java,
  4889. gnu/java/nio/natMappedByteFileBuffer.cc:
  4890. Removed
  4891. * java/nio/MappedByteBufferImpl.java:
  4892. New file.
  4893. * gnu/java/nio/FileChannelImpl.java:
  4894. Use MappedByteBufferImpl instead of MappedByteFileBuffer.
  4895. * Makefile.am
  4896. (ordinary_java_source_files): Removed
  4897. gnu/java/nio/MappedByteFileBuffer.java and added
  4898. java/nio/MappedByteBufferImpl.java.
  4899. (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
  4900. * Makefile.in: Regenerated.
  4901. 2003-06-19 Michael Koch <konqueror@gmx.de>
  4902. * gnu/java/nio/DatagramChannelImpl.java
  4903. (fd): Removed.
  4904. (blocking): New member variable.
  4905. (socket): Likewise.
  4906. (DatagramChannelImpl): Throws IOException, initialize socket.
  4907. (socket):Implemented.
  4908. (implCloseSelectableChannel): Throws IOException, implemented.
  4909. (implConfigureBlocking): Likewise.
  4910. (connect): Likewise.
  4911. (disconnect): Likewise.
  4912. (isConnected): Likewise.
  4913. (write): Likewise.
  4914. (read): Likewise.
  4915. (receive): Throws IOException.
  4916. (send): Likewise.
  4917. * gnu/java/nio/SocketChannelImpl.java
  4918. (read): Implemented.
  4919. (write): Implemented.
  4920. 2003-06-19 Michael Koch <konqueror@gmx.de>
  4921. * javax/swing/JComponent.java,
  4922. javax/swing/JInternalFrame.java,
  4923. javax/swing/MenuSelectionManager.java,
  4924. javax/swing/SwingUtilities.java,
  4925. javax/swing/ToggleButtonModel.java:
  4926. New versions from classpath.
  4927. 2003-06-19 Michael Koch <konqueror@gmx.de>
  4928. * java/text/CollationElementIterator.java
  4929. (NULLORDER): Initialize with -1 as JDK documentation says.
  4930. 2003-06-19 Michael Koch <konqueror@gmx.de>
  4931. * java/net/HttpURLConnection.java,
  4932. java/net/Inet4Address.java,
  4933. java/net/Inet6Address.java,
  4934. java/net/SocketImpl.java,
  4935. java/net/URLClassLoader.java:
  4936. Reworked import statements.
  4937. * java/net/InetAddress.java
  4938. (getByAddress): Simplified.
  4939. * java/net/ServerSocket.java
  4940. (ServerSocket): Moved special handling during bind operation to
  4941. bind().
  4942. (bind): Handle different cases when trying to bind a socket.
  4943. * java/net/URLConnection.java
  4944. (getHeaderFieldDate): Merged with classpath.
  4945. (getHeaderFieldInt): Likewise.
  4946. 2003-06-19 Michael Koch <konqueror@gmx.de>
  4947. * java/util/zip/InflaterInputStream.java
  4948. (InflaterInputStream): Throw NullPointerException if in is null (as
  4949. JDK does).
  4950. 2003-06-19 Michael Koch <konqueror@gmx.de>
  4951. * java/awt/Font.java
  4952. javax/swing/UIManager.java
  4953. javax/swing/border/AbstractBorder.java
  4954. javax/swing/border/BevelBorder.java
  4955. javax/swing/border/Border.java
  4956. javax/swing/border/CompoundBorder.java
  4957. javax/swing/border/EmptyBorder.java
  4958. javax/swing/border/EtchedBorder.java
  4959. javax/swing/border/LineBorder.java
  4960. javax/swing/border/MatteBorder.java
  4961. javax/swing/border/TitledBorder.java
  4962. javax/swing/plaf/BorderUIResource.java
  4963. javax/swing/plaf/basic/BasicBorders.java
  4964. javax/swing/plaf/basic/BasicButtonUI.java
  4965. javax/swing/plaf/basic/BasicCheckBoxUI.java
  4966. javax/swing/plaf/basic/BasicGraphicsUtils.java
  4967. javax/swing/plaf/basic/BasicLabelUI.java
  4968. javax/swing/plaf/basic/BasicRadioButtonUI.java
  4969. javax/swing/plaf/basic/BasicToggleButtonUI.java:
  4970. New versions from classpath.
  4971. * javax/swing/border/SoftBevelBorder.java:
  4972. New file from classpath.
  4973. * javax/swing/border/doc-files/LineBorder-1.png,
  4974. javax/swing/border/doc-files/BevelBorder-1.png,
  4975. javax/swing/border/doc-files/BevelBorder-2.png,
  4976. javax/swing/border/doc-files/BevelBorder-3.png,
  4977. javax/swing/border/doc-files/EmptyBorder-1.png,
  4978. javax/swing/border/doc-files/EtchedBorder-1.png,
  4979. javax/swing/border/doc-files/EtchedBorder-2.png,
  4980. javax/swing/border/doc-files/MatteBorder-1.png,
  4981. javax/swing/border/doc-files/MatteBorder-2.png,
  4982. javax/swing/border/doc-files/MatteBorder-3.png,
  4983. javax/swing/border/doc-files/MatteBorder-4.png,
  4984. javax/swing/border/doc-files/MatteBorder-5.png,
  4985. javax/swing/border/doc-files/MatteBorder-6.png,
  4986. javax/swing/border/doc-files/SoftBevelBorder-1.png,
  4987. javax/swing/border/doc-files/SoftBevelBorder-2.png,
  4988. javax/swing/border/doc-files/SoftBevelBorder-3.png,
  4989. javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
  4990. javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
  4991. javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
  4992. javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
  4993. javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
  4994. javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
  4995. javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
  4996. javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
  4997. javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
  4998. New binary files from classpath.
  4999. * Makefile.am
  5000. (awt_java_source_files): Added
  5001. javax/swing/border/SoftBevelBorder.java.
  5002. * Makefile.in: Regenerated.
  5003. 2003-06-19 Michael Koch <konqueror@gmx.de>
  5004. * gnu/java/security/x509/X509Certificate.java
  5005. (writeReplace): Merged from classpath.
  5006. 2003-06-19 Michael Koch <konqueror@gmx.de>
  5007. * gnu/java/nio/FileChannelImpl.java
  5008. (map_address): Made public.
  5009. (FileChannelImpl): Merged with classpath.
  5010. * gnu/java/nio/natFileChannelImpl.cc
  5011. (nio_mmap_file): Commented out unused arguments.
  5012. (nio_unmmap_file): Likewise.
  5013. (niu_msync): Likewise.
  5014. 2003-06-19 Michael Koch <konqueror@gmx.de>
  5015. * java/awt/image/IndexColorModel.java:
  5016. New version from classpath.
  5017. 2003-06-18 Tom Tromey <tromey@redhat.com>
  5018. * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
  5019. on arrays.
  5020. (isLoopbackAddress): Likewise.
  5021. * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
  5022. on arrays.
  5023. 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
  5024. * java/lang/natVMSecurityManager.cc (getClassContext):
  5025. Use maxlen instead of len for loop bound.
  5026. 2003-06-18 Michael Koch <konqueror@gmx.de>
  5027. * gnu/java/nio/SelectorImpl.java
  5028. (register): Use fd with value 0 for now, will be fixed later.
  5029. * gnu/java/nio/ServerSocketChannelImpl.java
  5030. (fd): Removed.
  5031. (local_port): Removed.
  5032. (InetSocketAddress): Removed.
  5033. (ServerSocketChannelImpl): Just initialize internal socket object.
  5034. (implCloseSelectableChannel): Close internal socket object.
  5035. (implConfigureBlocking): Added comment.
  5036. (accept): Use jaba.net stuff to accept socket.
  5037. * gnu/java/nio/SocketChannelImpl.java
  5038. (fd): Removed.
  5039. (local_port): Removed.
  5040. (InetSocketAddress): Removed.
  5041. (SocketCreate): Removed.
  5042. (SocketConnect): Removed.
  5043. (SocketBind): Removed.
  5044. (SocketListen): Removed.
  5045. (SocketAvailable): Removed.
  5046. (SocketClose): Removed.
  5047. (SocketRead): Removed.
  5048. (SocketWrite): Removed.
  5049. (SocketChannelImpl): Just initialize internal socket object.
  5050. (implCloseSelectableChannel): Close internal socket object.
  5051. (implConfigureBlocking): Fixed implementation, added comment.
  5052. (connect): Use internal socket object to connect.
  5053. (socket): No need for sanity checks.
  5054. (read): Comment out some stuff, this will be reimplemented in the next
  5055. commit.
  5056. (write): Likewise.
  5057. * gnu/java/nio/natFileChannelImpl.cc
  5058. (nio_mmap_file): Line wrapped.
  5059. * gnu/java/nio/natSocketChannelImpl.cc: Removed.
  5060. * Makefile.am
  5061. (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
  5062. * Makefile.in: Regenerated.
  5063. 2003-06-18 Michael Koch <konqueror@gmx.de>
  5064. * java/util/Locale.java
  5065. (equals): Merged from classpath.
  5066. 2003-06-18 Michael Koch <konqueror@gmx.de>
  5067. * java/net/InetAddress.java:
  5068. Reformatted to better match classpath's version.
  5069. * java/net/URL.java
  5070. (equals): Simplified.
  5071. * java/net/URLConnection.java
  5072. (setDoInput): Revised documentation.
  5073. (getDefaultUseCaches): Likewise.
  5074. (setRequestProperty): Added @since tag.
  5075. 2003-06-17 Michael Koch <konqueror@gmx.de>
  5076. * java/net/InetSocketAddress.java
  5077. (InetSocketAddress): Use wildcard address if addr is null.
  5078. (InetSocketAddress): Dont duplicate implementation.
  5079. (InetSocketAddress): Throw exception when hostname is null.
  5080. * java/net/Socket.java:
  5081. Reworked imports.
  5082. (Socket): Throw exception when raddr is null, handle case when laddr
  5083. is null.
  5084. 2003-06-17 Michael Koch <konqueror@gmx.de>
  5085. * java/nio/DirectByteBufferImpl.java
  5086. (address): Made package private.
  5087. (DirectByteBufferImpl): New constructor.
  5088. * java/nio/natDirectByteBufferImpl.cc
  5089. (allocateImpl): Moved to java.nio namespace, implemented.
  5090. (freeImpl): Likewise.
  5091. (getImpl): Likewise.
  5092. (putImpl): Likewise.
  5093. * jni.cc
  5094. (_Jv_JNI_NewDirectByteBuffer): Implemented.
  5095. (_Jv_JNI_GetDirectBufferAddress): Implemented.
  5096. (_Jv_JNI_GetDirectBufferCapacity): Implemented.
  5097. 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  5098. * include/powerpc-signal.h: New File.
  5099. * configure.in: Use it.
  5100. * configure: Regenerated.
  5101. 2003-06-17 Michael Koch <konqueror@gmx.de>
  5102. * java/util/Locale.java
  5103. (getDisplayLanguage): Made it final.
  5104. (getDisplayCountry): Likewise.
  5105. (getDisplayVariant): Likewise.
  5106. (getDisplayName): Likewise.
  5107. 2003-06-17 Michael Koch <konqueror@gmx.de>
  5108. * java/util/PropertyResourceBundle.java:
  5109. Removed unneeded import.
  5110. 2003-06-17 Michael Koch <konqueror@gmx.de>
  5111. * java/util/prefs/AbstractPreferences.java,
  5112. java/util/prefs/PreferencesFactory.java:
  5113. Reworked imports, removed unused imports.
  5114. * java/util/prefs/Preferences.java
  5115. (systemNodeForPackage): Method takes a Class not an Object.
  5116. (userNodeForPackage): Likewise.
  5117. (nodeForPackage): Likewise.
  5118. 2003-06-17 Michael Koch <konqueror@gmx.de>
  5119. * gnu/java/security/x509/X509Certificate.java:
  5120. Explicitely import used classes.
  5121. 2003-06-17 Michael Koch <konqueror@gmx.de>
  5122. * java/util/zip/ZipEntry.java,
  5123. java/util/zip/ZipFile.java,
  5124. java/util/zip/ZipInputStream.java,
  5125. java/util/zip/ZipOutputStream.java:
  5126. Reworked imports, only import used classes.
  5127. 2003-06-17 Michael Koch <konqueror@gmx.de>
  5128. * gnu/java/lang/ArrayHelper.java,
  5129. gnu/java/lang/ClassHelper.java:
  5130. Reformatted to match classpath's versions.
  5131. 2003-06-14 Michael Koch <konqueror@gmx.de>
  5132. * gnu/java/nio/FileChannelImpl.java
  5133. (map_address): Removed incorrect comment.
  5134. * gnu/java/nio/SelectorImpl.java
  5135. (register): Remove code duplication and code for file channel handling.
  5136. * gnu/java/nio/ServerSocketChannelImpl.java
  5137. (serverSocket): Renamed from sock_object.
  5138. (ServerSocketChannel): Initialize serverSocket.
  5139. (socket): Return serverSocket.
  5140. * gnu/java/nio/SocketChannelImpl.java
  5141. (socket): Renamed from sock_object.
  5142. (isConnectionPenging): Simplified.
  5143. (socket): Return socket.
  5144. 2003-06-14 Michael Koch <konqueror@gmx.de>
  5145. * java/security/BasicPermission.java:
  5146. New version from classpath.
  5147. 2003-06-14 Michael Koch <konqueror@gmx.de>
  5148. * javax/naming/directory/Attribute.java:
  5149. New version from classpath.
  5150. 2003-06-14 Michael Koch <konqueror@gmx.de>
  5151. * java/io/BufferedReader.java,
  5152. java/io/FileOutputStream.java:
  5153. New versions from classpath.
  5154. 2003-06-12 Andrew Haley <aph@redhat.com>
  5155. * prims.cc (catch_segv): Create exception in handler.
  5156. (catch_fpe): Likewise.
  5157. (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
  5158. (_Jv_ThrowSignal): Remove.
  5159. * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
  5160. * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
  5161. to nullp and arithexception.
  5162. * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
  5163. * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
  5164. * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
  5165. * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
  5166. * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
  5167. 2003-06-11 Andrew Haley <aph@redhat.com>
  5168. * jni.cc (_Jv_JNI_check_types): New.
  5169. (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
  5170. (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
  5171. (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
  5172. (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
  5173. * java/lang/natVMSecurityManager.cc (getClassContext): Fix
  5174. infinite loop.
  5175. 2003-06-11 Tom Tromey <tromey@redhat.com>
  5176. * java/lang/ClassLoader.java (loadClass): Not deprecated.
  5177. * java/io/PrintStream.java: Not deprecated.
  5178. 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
  5179. * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
  5180. (fillOval): implemented
  5181. * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
  5182. (fillArc): implemented.
  5183. * gnu/gcj/xlib/GC.java (drawArc): added native method.
  5184. (fillArc): added native method.
  5185. * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
  5186. (fillArc): added native method.
  5187. 2003-06-11 Michael Koch <konqueror@gmx.de>
  5188. * java/awt/im/InputSubset.java:
  5189. New version from classpath.
  5190. 2003-06-11 Michael Koch <konqueror@gmx.de>
  5191. * javax/swing/AbstractAction.java,
  5192. javax/swing/AbstractButton.java,
  5193. javax/swing/AbstractCellEditor.java,
  5194. javax/swing/AbstractListModel.java,
  5195. javax/swing/BorderFactory.java,
  5196. javax/swing/Box.java,
  5197. javax/swing/BoxLayout.java,
  5198. javax/swing/ButtonGroup.java,
  5199. javax/swing/DefaultButtonModel.java,
  5200. javax/swing/DefaultListModel.java,
  5201. javax/swing/DefaultListSelectionModel.java,
  5202. javax/swing/FocusManager.java,
  5203. javax/swing/ImageIcon.java,
  5204. javax/swing/InputMap.java,
  5205. javax/swing/JApplet.java,
  5206. javax/swing/JButton.java,
  5207. javax/swing/JCheckBox.java,
  5208. javax/swing/JCheckBoxMenuItem.java,
  5209. javax/swing/JColorChooser.java,
  5210. javax/swing/JComboBox.java,
  5211. javax/swing/JComponent.java,
  5212. javax/swing/JDesktopPane.java,
  5213. javax/swing/JDialog.java,
  5214. javax/swing/JEditorPane.java,
  5215. javax/swing/JFileChooser.java,
  5216. javax/swing/JFormattedTextField.java,
  5217. javax/swing/JFrame.java,
  5218. javax/swing/JLabel.java,
  5219. javax/swing/JLayeredPane.java,
  5220. javax/swing/JList.java,
  5221. javax/swing/JMenuBar.java,
  5222. javax/swing/JMenuItem.java,
  5223. javax/swing/JOptionPane.java,
  5224. javax/swing/JPanel.java,
  5225. javax/swing/JPasswordField.java,
  5226. javax/swing/JPopupMenu.java,
  5227. javax/swing/JProgressBar.java,
  5228. javax/swing/JRadioButton.java,
  5229. javax/swing/JRadioButtonMenuItem.java,
  5230. javax/swing/JRootPane.java,
  5231. javax/swing/JScrollBar.java,
  5232. javax/swing/JScrollPane.java,
  5233. javax/swing/JSeparator.java,
  5234. javax/swing/JSlider.java,
  5235. javax/swing/JTabbedPane.java,
  5236. javax/swing/JTable.java,
  5237. javax/swing/JTextField.java,
  5238. javax/swing/JToggleButton.java,
  5239. javax/swing/JToolBar.java,
  5240. javax/swing/JToolTip.java,
  5241. javax/swing/JTree.java,
  5242. javax/swing/JViewport.java,
  5243. javax/swing/JWindow.java,
  5244. javax/swing/KeyStroke.java,
  5245. javax/swing/ListSelectionModel.java,
  5246. javax/swing/LookAndFeel.java,
  5247. javax/swing/RepaintManager.java,
  5248. javax/swing/ScrollPaneLayout.java,
  5249. javax/swing/SizeRequirements.java,
  5250. javax/swing/SwingConstants.java,
  5251. javax/swing/Timer.java,
  5252. javax/swing/UIDefaults.java,
  5253. javax/swing/UIManager.java,
  5254. javax/swing/border/AbstractBorder.java,
  5255. javax/swing/border/CompoundBorder.java,
  5256. javax/swing/colorchooser/AbstractColorChooserPanel.java,
  5257. javax/swing/colorchooser/ColorChooserComponentFactory.java,
  5258. javax/swing/colorchooser/ColorSelectionModel.java,
  5259. javax/swing/colorchooser/DefaultColorSelectionModel.java,
  5260. javax/swing/event/AncestorEvent.java,
  5261. javax/swing/event/HyperlinkEvent.java,
  5262. javax/swing/event/InternalFrameAdapter.java,
  5263. javax/swing/event/InternalFrameEvent.java,
  5264. javax/swing/event/ListDataEvent.java,
  5265. javax/swing/event/MouseInputAdapter.java,
  5266. javax/swing/event/SwingPropertyChangeSupport.java,
  5267. javax/swing/event/TableModelEvent.java,
  5268. javax/swing/event/TreeWillExpandListener.java,
  5269. javax/swing/event/UndoableEditEvent.java,
  5270. javax/swing/filechooser/FileFilter.java,
  5271. javax/swing/filechooser/FileSystemView.java,
  5272. javax/swing/filechooser/FileView.java,
  5273. javax/swing/plaf/BorderUIResource.java,
  5274. javax/swing/plaf/basic/BasicDefaults.java,
  5275. javax/swing/table/AbstractTableModel.java,
  5276. javax/swing/table/DefaultTableCellRenderer.java,
  5277. javax/swing/table/DefaultTableColumnModel.java,
  5278. javax/swing/table/DefaultTableModel.java,
  5279. javax/swing/table/TableColumn.java,
  5280. javax/swing/text/JTextComponent.java,
  5281. javax/swing/tree/AbstractLayoutCache.java,
  5282. javax/swing/tree/DefaultMutableTreeNode.java,
  5283. javax/swing/tree/DefaultTreeCellEditor.java,
  5284. javax/swing/tree/DefaultTreeCellRenderer.java,
  5285. javax/swing/tree/DefaultTreeModel.java,
  5286. javax/swing/tree/DefaultTreeSelectionModel.java,
  5287. javax/swing/tree/FixedHeightLayoutCache.java,
  5288. javax/swing/tree/TreeCellEditor.java,
  5289. javax/swing/tree/TreeModel.java,
  5290. javax/swing/tree/TreeNode.java,
  5291. javax/swing/tree/TreePath.java,
  5292. javax/swing/tree/TreeSelectionModel.java,
  5293. javax/swing/tree/VariableHeightLayoutCache.java,
  5294. javax/swing/undo/AbstractUndoableEdit.java,
  5295. javax/swing/undo/CompoundEdit.java,
  5296. javax/swing/undo/StateEdit.java,
  5297. javax/swing/undo/UndoManager.java,
  5298. javax/swing/undo/UndoableEditSupport.java:
  5299. New versions from classpath.
  5300. * javax/swing/table/JTableHeader.java:
  5301. New file from classpath.
  5302. * Makefile.am
  5303. (java_awt_sources): Added javax/swing/table/JTableHeader.java.
  5304. * Makefile.in: Regenerated.
  5305. 2003-06-11 Michael Koch <konqueror@gmx.de>
  5306. * java/nio/MappedByteBuffer.java,
  5307. java/nio/channels/Channels.java,
  5308. java/nio/channels/ServerSocketChannel.java,
  5309. java/nio/channels/spi/AbstractSelector.java:
  5310. Removed unneeded imports.
  5311. 2003-06-11 Michael Koch <konqueror@gmx.de>
  5312. * java/net/DatagramSocket.java:
  5313. Partly merged with classpath.
  5314. 2003-06-11 Michael Koch <konqueror@gmx.de>
  5315. * java/awt/Frame.java,
  5316. java/awt/Graphics.java,
  5317. java/awt/Menu.java,
  5318. java/awt/Robot.java,
  5319. java/awt/image/ColorModel.java:
  5320. New versions from classpath.
  5321. 2003-06-10 Michael Koch <konqueror@gmx.de>
  5322. * java/io/PrintStream.java:
  5323. Merged version from classpath.
  5324. (close): Removed sychronized keyword. This class is not garantied to
  5325. be thread-safe.
  5326. (write): Likewise.
  5327. 2003-06-09 Tom Tromey <tromey@redhat.com>
  5328. * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
  5329. field.
  5330. (getDescent): Likewise, for "descent".
  5331. 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
  5332. * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
  5333. (getMaxDescent): adjusted return value.
  5334. (getAscent): modified to use metrics for 'O'.
  5335. (getDescent): modified to use metrics for 'y'.
  5336. 2003-06-08 Anthony Green <green@redhat.com>
  5337. * java/net/URLStreamHandler.java (sameFile): Fix port value
  5338. comparison.
  5339. * java/net/URL.java (handler): Make package private.
  5340. * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
  5341. 2003-06-07 Tom Tromey <tromey@redhat.com>
  5342. For PR libgcj/11085:
  5343. * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
  5344. Limit number of characters in numeric field when required.
  5345. * java/text/DecimalFormat.java (parse(String,ParsePosition)):
  5346. Respect maximumIntegerDigits.
  5347. 2003-06-08 Michael Koch <konqueror@gmx.de>
  5348. * java/net/Socket.java
  5349. (Socket): Dont initialize inputShutdown and outputShutdown twice,
  5350. call bind() and connect() to actually do the bind and connect tasks.
  5351. (bind): Connect to canonical address if bindpoint is null, create
  5352. socket and bind it to bindpoint.
  5353. (connect): Check for exceptions.
  5354. 2003-06-08 Michael Koch <konqueror@gmx.de>
  5355. * java/net/DatagramSocket.java
  5356. (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
  5357. into the Multicast constructors.
  5358. * java/net/DatagramSocketImpl.java
  5359. (getOption): Removed.
  5360. (setOption): Removed.
  5361. * java/net/MulticastSocket.java
  5362. (MulticastSocket): Call setReuseAddress (true).
  5363. * java/net/SocketImpl.java
  5364. (getOption): Removed.
  5365. (setOption): Removed.
  5366. 2003-06-07 Jeff Sturm <jsturm@one-point.com>
  5367. PR libgcj/10886:
  5368. * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
  5369. Test for empty vector.
  5370. 2003-06-06 Mark Wielaard <mark@klomp.org>
  5371. * java/security/Security.java (secprops): Initialize.
  5372. (loadProviders): Return boolean.
  5373. (static): Check result of loadProvider calls. If necessary
  5374. display WARNING and fallback to Gnu provider.
  5375. 2003-06-06 James Clark <jjc@jclark.com>
  5376. Fix for PR libgcj/8738:
  5377. * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
  5378. * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
  5379. * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
  5380. * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
  5381. (write): Always decrease avail when count is increased.
  5382. * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
  5383. and whether output buffer is full before increasing size.
  5384. 2003-06-06 Mark Wielaard <mark@klomp dot org>
  5385. * java/io/PrintStream.java (writeChars(char[],int, int)):
  5386. Check converter.havePendingBytes().
  5387. (writeChars(String,int,int)): Likewise.
  5388. * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
  5389. Check converter.havePendingBytes() and flush buffer when stalled.
  5390. 2003-06-07 Michael Koch <konqueror@gmx.de>
  5391. * include/posix.h
  5392. (O_DSYNC): Define O_DSYNC on platforms not
  5393. supporting O_FSYNC (newlib).
  5394. 2003-06-06 Mark Wielaard <mark@klomp.org>
  5395. * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
  5396. AWTError.
  5397. 2003-06-06 Michael Koch <konqueror@gmx.de>
  5398. * javax/swing/plaf/basic/BasicOptionPaneUI.java:
  5399. More compile fixes from my stupid work yesterday.
  5400. 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
  5401. * java/lang/w_exp.c (o_threshold, u_threshold): Define only
  5402. if _IEEE_LIBM is undefined.
  5403. 2003-06-05 Loren J. Rittle <ljrittle@acm.org>
  5404. * libjava/include/posix.h (O_SYNC): Define if not available
  5405. and a reasonable, perhaps more conservative, replacement exists.
  5406. (O_DSYNC): Likewise.
  5407. * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
  5408. 2003-06-05 Michael Koch <konqueror@gmx.de>
  5409. * javax/swing/plaf/BorderUIResource.java,
  5410. javax/swing/plaf/basic/BasicDefaults.java,
  5411. javax/swing/plaf/basic/BasicOptionPaneUI.java:
  5412. More compile fixes for latest Border commit. I should not commit
  5413. something in this heat here ...
  5414. 2003-06-05 Michael Koch <konqueror@gmx.de>
  5415. * javax/swing/border/BevelBorder.java
  5416. (BevelBorder): Removed.
  5417. * javax/swing/border/EmptyBorder.java:
  5418. Reformatted.
  5419. (EmptyBorder): Removed.
  5420. (getBorderInsets): Dont use l, r, t and b.
  5421. * javax/swing/border/EtchedBorder.java
  5422. (EtchedBorder): Removed.
  5423. * javax/swing/border/LineBorder.java
  5424. (LineBorder): Removed.
  5425. * javax/swing/border/MatteBorder.java
  5426. (MatteBorder): Removed.
  5427. * javax/swing/border/TitledBorder.java
  5428. (defaultBorder): Use other default for now.
  5429. (defaultFont): Likewise.
  5430. (defaultColor): Likewise.
  5431. 2003-06-05 Michael Koch <konqueror@gmx.de>
  5432. * javax/swing/border/Border.java:
  5433. New version from classpath.
  5434. 2003-06-05 Michael Koch <konqueror@gmx.de>
  5435. * javax/swing/border/AbstractBorder.java,
  5436. javax/swing/border/BevelBorder.java,
  5437. javax/swing/border/CompoundBorder.java,
  5438. javax/swing/border/EmptyBorder.java,
  5439. javax/swing/border/EtchedBorder.java,
  5440. javax/swing/border/LineBorder.java,
  5441. javax/swing/border/MatteBorder.java,
  5442. javax/swing/border/TitledBorder.java:
  5443. New versions from Classpath.
  5444. 2003-06-05 Michael Koch <konqueror@gmx.de>
  5445. * java/awt/Button.java,
  5446. java/awt/Checkbox.java,
  5447. java/awt/CheckboxMenuItem.java,
  5448. java/awt/Choice.java,
  5449. java/awt/Container.java,
  5450. java/awt/Dialog.java,
  5451. java/awt/EventQueue.java,
  5452. java/awt/FileDialog.java,
  5453. java/awt/Frame.java,
  5454. java/awt/Label.java,
  5455. java/awt/List.java,
  5456. java/awt/Menu.java,
  5457. java/awt/MenuItem.java,
  5458. java/awt/Panel.java,
  5459. java/awt/PopupMenu.java,
  5460. java/awt/Rectangle.java,
  5461. java/awt/ScrollPane.java,
  5462. java/awt/Scrollbar.java,
  5463. java/awt/TextArea.java,
  5464. java/awt/TextField.java,
  5465. java/awt/Window.java,
  5466. java/awt/datatransfer/DataFlavor.java,
  5467. java/awt/dnd/DragSource.java,
  5468. java/awt/dnd/DragSourceContext.java,
  5469. java/awt/event/HierarchyEvent.java,
  5470. java/awt/event/MouseWheelEvent.java,
  5471. java/awt/im/InputContext.java,
  5472. java/awt/image/BufferedImage.java,
  5473. java/awt/image/ComponentColorModel.java,
  5474. java/awt/image/Raster.java,
  5475. java/awt/image/WritableRaster.java,
  5476. java/awt/peer/ComponentPeer.java,
  5477. java/awt/print/PageFormat.java,
  5478. java/awt/print/PrinterJob.java:
  5479. New versions from Classpath.
  5480. 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
  5481. * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
  5482. numberFormat.setParseIntegerOnly(true).
  5483. 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
  5484. * include/posix-threads.h: Include <machine/pal.h> on OSF.
  5485. 2003-06-03 Andrew Haley <aph@redhat.com>
  5486. * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
  5487. stack volatile to prevent optimization from removing it.
  5488. 2003-05-27 Michael Koch <konqueror@gmx.de>
  5489. * java/util/zip/Deflater.java
  5490. (FILTERED): Merged documentation from classpath.
  5491. * java/util/zip/DeflaterOutputStream.java
  5492. (DeflaterOutputStream): Merged documentation and argument validity
  5493. check from classpath.
  5494. (deflate): Merged documentation from classpath.
  5495. (finish): Likewise.
  5496. * java/util/zip/Inflater.java
  5497. (Inflater): Merged class documentation from classpath.
  5498. (zstream): Reordered.
  5499. (is_finished): Reordered.
  5500. (dict_needed): Reordered.
  5501. (Inflater): Reordered, merged documentation from classpath.
  5502. (end): Likewise.
  5503. (finalize): Merged documentation from classpath.
  5504. (finished): Likewise.
  5505. (getAdler): Likewise.
  5506. (getRemaining): Likewise.
  5507. (getTotalIn): Likewise.
  5508. (getTotalOut): Likewise.
  5509. (inflate): Likewise.
  5510. (needsDictionary): Likewise.
  5511. (needsInput): Likewise.
  5512. (reset): Likewise.
  5513. (setDictionary): Likewise.
  5514. (setInput): Likewise.
  5515. 2003-05-27 Michael Koch <konqueror@gmx.de>
  5516. * java/net/URLConnection.java
  5517. (getHeaderFieldInt): Merged with classpath.
  5518. 2003-05-27 Michael Koch <konqueror@gmx.de>
  5519. * java/io/PrintStream.java
  5520. (PrintStream): Reformatted.
  5521. (PrintStream): New method, merged from classpath.
  5522. (write): Reformatted.
  5523. 2003-05-27 Michael Koch <konqueror@gmx.de>
  5524. * java/lang/System.java:
  5525. Explicitely import needed classes.
  5526. 2003-05-26 Michael Koch <konqueror@gmx.de>
  5527. * java/net/NetPermission.java,
  5528. java/net/NetworkInterface.java,
  5529. java/net/PasswordAuthentication.java,
  5530. java/net/SocketPermission.java:
  5531. New versions from classpath.
  5532. 2003-05-25 Michael Koch <konqueror@gmx.de>
  5533. * java/io/PushbackInputStream.java,
  5534. java/net/Authenticator.java,
  5535. java/net/ContentHandler.java,
  5536. java/net/ContentHandlerFactory.java,
  5537. java/net/DatagramSocket.java,
  5538. java/net/DatagramSocketImpl.java,
  5539. java/net/DatagramSocketImplFactory.java,
  5540. java/net/FileNameMap.java,
  5541. java/net/SocketImplFactory.java,
  5542. java/net/SocketOptions.java,
  5543. java/net/URLStreamHandlerFactory.java:
  5544. Merged new versions from classpath.
  5545. 2003-05-25 Michael Koch <konqueror@gmx.de>
  5546. * java/awt/Checkbox.java,
  5547. java/awt/Dialog.java,
  5548. java/awt/Font.java,
  5549. java/awt/Frame.java,
  5550. java/awt/ScrollPaneAdjustable.java,
  5551. java/awt/Scrollbar.java,
  5552. java/awt/Window.java:
  5553. New versions from classpath.
  5554. 2003-05-22 Jeff Sturm <jsturm@one-point.com>
  5555. PR libgcj/10838:
  5556. * java/io/ObjectInputStream (enableResolveObject):
  5557. Fixed spelling of permission name.
  5558. 2003-05-20 Michael Koch <konqueror@gmx.de>
  5559. * java/io/DataInputStream.java
  5560. (convertFromUTF): Merged comment from classpath.
  5561. * java/io/PrintStream.java
  5562. (error_occured): Renamed from error, merged comment from classpath.
  5563. (PrintStream): No need to initialized error.
  5564. (checkError): Replace error with error_occurred.
  5565. (setError): Likewise.
  5566. 2003-05-20 Michael Koch <konqueror@gmx.de>
  5567. * java/io/DataInputStream.java:
  5568. Reformatted, Replaced < and & with html entitites in documentation.
  5569. * java/io/File.java:
  5570. Reformatted.
  5571. * java/io/PrintWriter.java:
  5572. Moved class documentation.
  5573. 2003-05-20 Michael Koch <konqueror@gmx.de>
  5574. * gnu/java/nio/ByteBufferImpl.java,
  5575. gnu/java/nio/CharBufferImpl.java,
  5576. gnu/java/nio/CharViewBufferImpl.java,
  5577. gnu/java/nio/DirectByteBufferImpl.java,
  5578. gnu/java/nio/DoubleBufferImpl.java,
  5579. gnu/java/nio/DoubleViewBufferImpl.java,
  5580. gnu/java/nio/FloatBufferImpl.java,
  5581. gnu/java/nio/FloatViewBufferImpl.java,
  5582. gnu/java/nio/IntBufferImpl.java,
  5583. gnu/java/nio/IntViewBufferImpl.java,
  5584. gnu/java/nio/LongBufferImpl.java,
  5585. gnu/java/nio/LongViewBufferImpl.java,
  5586. gnu/java/nio/natDirectByteBufferImpl.cc,
  5587. gnu/java/nio/ShortBufferImpl.java,
  5588. gnu/java/nio/ShortViewBufferImpl.java:
  5589. Moved files to java/nio.
  5590. * gnu/java/nio/SocketChannelImpl.java
  5591. * java/nio/ByteBuffer.java,
  5592. java/nio/CharBuffer.java,
  5593. java/nio/DoubleBuffer.java,
  5594. java/nio/FloatBuffer.java,
  5595. java/nio/IntBuffer.java,
  5596. java/nio/LongBuffer.java,
  5597. java/nio/ShortBuffer.java:
  5598. Dont import anything.
  5599. * java/nio/ByteBufferImpl.java,
  5600. java/nio/CharBufferImpl.java,
  5601. java/nio/CharViewBufferImpl.java,
  5602. java/nio/DirectByteBufferImpl.java,
  5603. java/nio/DoubleBufferImpl.java,
  5604. java/nio/DoubleViewBufferImpl.java,
  5605. java/nio/FloatBufferImpl.java,
  5606. java/nio/FloatViewBufferImpl.java,
  5607. java/nio/IntBufferImpl.java,
  5608. java/nio/IntViewBufferImpl.java,
  5609. java/nio/LongBufferImpl.java,
  5610. java/nio/LongViewBufferImpl.java,
  5611. java/nio/natDirectByteBufferImpl.cc,
  5612. java/nio/ShortBufferImpl.java,
  5613. java/nio/ShortViewBufferImpl.java:
  5614. Moved from gnu/java/nio.
  5615. * Makefile.am
  5616. (ordinary_java_source_files): Moved files from gnu/java/nio to
  5617. java/nio.
  5618. (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
  5619. to java/nio.
  5620. * Makefile.in: Regenerated.
  5621. 2003-05-19 Michael Koch <konqueror@gmx.de>
  5622. * java/util/Calendar.java
  5623. (get): Not final anymore since JDK 1.4
  5624. (set): Likewise.
  5625. 2003-05-19 Michael Koch <konqueror@gmx.de>
  5626. * java/text/CollationKey.java:
  5627. Merged copyright and dat from classpath.
  5628. * java/text/RuleBasedCollator.java:
  5629. Merged class documentation from classpath.
  5630. 2003-05-19 Michael Koch <konqueror@gmx.de>
  5631. * java/nio/CharBuffer.java
  5632. (toString): Compile fix.
  5633. 2003-05-19 Michael Koch <konqueror@gmx.de>
  5634. * gnu/java/nio/ByteBufferImpl.java
  5635. (putLong): Fixed conversion to bytes.
  5636. (putDouble): Fixed conversion to bytes.
  5637. * gnu/java/nio/DirectByteBufferImpl.java
  5638. (putLong): Fixed conversion to bytes.
  5639. (putDouble): Fixed conversion to bytes.
  5640. * gnu/java/nio/FileLockImpl.java
  5641. (isValid): Reformatted.
  5642. * java/nio/Buffer.java
  5643. (Buffer): Fixed off-by-one bug in handling mark.
  5644. * java/nio/ByteBuffer.java:
  5645. Added newline.
  5646. * java/nio/CharBuffer.java
  5647. (toString): Don't use relative get to get string data.
  5648. 2003-05-16 Michael Koch <konqueror@gmx.de>
  5649. * java/io/natFileDescriptorPosix.cc
  5650. (open): Commented out the O_SYNC and O_DSYNC usage until its better
  5651. tested.
  5652. 2003-05-14 Michael Koch <konqueror@gmx.de>
  5653. * gnu/java/nio/FileLockImpl.java
  5654. (released): New member variable.
  5655. (FileLockImpl): Initialize released.
  5656. (releaseImpl): New native method.
  5657. (release): Implemented.
  5658. * gnu/java/nio/SelectorImpl.java: Reformatted.
  5659. * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
  5660. * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
  5661. (accept): Throws IOException.
  5662. * gnu/java/nio/SocketChannelImpl.java: Reformatted.
  5663. (implConfigureBlocking): Throws IOException.
  5664. (connect): Likewise.
  5665. (read): Likewise.
  5666. (write): Likewise.
  5667. * gnu/java/nio/natFileLockImpl.cc: New file.
  5668. * java/nio/channels/FileLock.java: Reformatted.
  5669. * Makefile.am:
  5670. (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
  5671. (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
  5672. * Makefile.in: Regenerated.
  5673. 2003-05-13 Michael Koch <konqueror@gmx.de>
  5674. * gnu/java/nio/CharViewBufferImpl.java
  5675. (CharViewBufferImpl): Fixed super constructor call, initialize offset.
  5676. (get): Shift bits to the right direction.
  5677. (put): Likewise.
  5678. * gnu/java/nio/DoubleViewBufferImpl.java
  5679. (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
  5680. (get): Shift bits to the right direction.
  5681. (put): Likewise.
  5682. * gnu/java/nio/FloatViewBufferImpl.java
  5683. (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
  5684. (get): Shift bits to the right direction.
  5685. (put): Likewise.
  5686. * gnu/java/nio/IntViewBufferImpl.java
  5687. (IntViewBufferImpl): Fixed super constructor call, initialize offset.
  5688. (get): Shift bits to the right direction.
  5689. (put): Likewise.
  5690. * gnu/java/nio/LongViewBufferImpl.java
  5691. (LongViewBufferImpl): Fixed super constructor call, initialize offset.
  5692. (get): Shift bits to the right direction.
  5693. (put): Likewise.
  5694. * gnu/java/nio/ShortViewBufferImpl.java
  5695. (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
  5696. (get): Shift bits to the right direction.
  5697. (put): Likewise.
  5698. 2003-05-13 Michael Koch <konqueror@gmx.de>
  5699. * gnu/java/nio/natDirectByteBufferImpl.cc
  5700. (allocateImpl): jlong -> RawData*.
  5701. (freeImpl): Likewise.
  5702. 2003-05-13 Michael Koch <konqueror@gmx.de>
  5703. * java/nio/channels/FileChannel.java
  5704. (MapMode.m): Made it package-private to match JDK 1.4.
  5705. * java/nio/charset/Charset.java
  5706. (decode): Made it final to match JDK 1.4.
  5707. 2003-05-13 Michael Koch <konqueror@gmx.de>
  5708. * java/io/FileDescriptor.java
  5709. (SYNC): New constant.
  5710. (DSYNC): Likewise.
  5711. (getLength): Renamed from lenght() to match classpath's
  5712. FileDescriptor.java.
  5713. * java/io/RandomAccessFile.java
  5714. (RandomAccessFile): Removed unneeded mode check, implemented mode
  5715. "rws" and "rwd", merged documentation from classpath.
  5716. (setLength): Reformatted.
  5717. (length): Use new getLength() of FileDescriptor.
  5718. * java/io/natFileDescriptorEcos.cc
  5719. (getLength): Renamed from length().
  5720. * java/io/natFileDescriptorPosix.cc
  5721. (open): Implemented support for SYNC and DSYNC.
  5722. (seek): Use getLength() instead of length().
  5723. (getLength): Renamed from length().
  5724. * java/io/natFileDescriptorWin32.cc
  5725. (getLength): Renamed from length().
  5726. (seek): Use getLength() instead of length().
  5727. (available): Likewise.
  5728. * gnu/java/nio/natFileChannelImpl.cc
  5729. (size): Use getLength() instead of length().
  5730. 2003-05-13 Michael Koch <konqueror@gmx.de>
  5731. * gnu/java/nio/ByteBufferImpl.java
  5732. (ByteBufferImpl): All constructors revised.
  5733. (slice): Reimplemented.
  5734. (duplicate): Reimplemented.
  5735. (asReadOnlyBuffer): Reimplemented.
  5736. * java/nio/ByteBuffer.java:
  5737. Reformatted.
  5738. (array_offset): Renamed from "offset" to match all other buffer
  5739. classes.
  5740. (ByteBuffer): All constructors revised.
  5741. (allocateDirect): Implemented.
  5742. (allocate): New implementation, documentation reworked.
  5743. (wrap): Likewise.
  5744. (get): Documentation reworked.
  5745. (put): New implementation, documentation reworked.
  5746. (hasArray): Documentation reworked.
  5747. (arrayOffset): Likewise.
  5748. (hashCode): Likewise.
  5749. (equals): Likewise.
  5750. (compareTo): Likewise.
  5751. (order): Likewise.
  5752. (compact): Likewise.
  5753. (isDirect): Likewise.
  5754. (slice): Likewise.
  5755. (duplicate): Likewise.
  5756. (asReadOnlyBuffer): Likewise.
  5757. * Makefile.am
  5758. (ordinary_java_source_files):
  5759. Added gnu/java/nio/DirectByteBufferImpl.java.
  5760. (nat_source_files):
  5761. Added gnu/java/nio/natDirectByteBufferImpl.cc.
  5762. * Makefile.in: Regenerated.
  5763. 2003-05-12 Michael Koch <konqueror@gmx.de>
  5764. * gnu/java/nio/ByteBufferImpl.java: Reformatted.
  5765. (nio_get_*): Removed.
  5766. (nio_put_*): Removed.
  5767. (as*Buffer): Implemented.
  5768. (compact): Implemented.
  5769. (get): Documentation added.
  5770. (put): Documentation added.
  5771. (get*): Newly implemented.
  5772. (put*): Newly implemented.
  5773. * gnu/java/nio/CharBufferImpl.java: Reformatted.
  5774. (CharBufferImpl): Revised.
  5775. (slice): New implementation.
  5776. (duplicate): New implementation.
  5777. (compact): New implementation.
  5778. (asReadOnlyBuffer): New implementation.
  5779. (get): Documentation revised.
  5780. (order): Return native byte order.
  5781. * gnu/java/nio/DirectByteBufferImpl.java
  5782. (allocateDirect): objects can be null not 0.
  5783. * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
  5784. (DoubleBufferImpl): Revised.
  5785. (slice): New implementation.
  5786. (duplicate): New implementation.
  5787. (compact): New implementation.
  5788. (asReadOnlyBuffer): New implementation.
  5789. (get): Documentation revised.
  5790. (order): Return native byte order.
  5791. * gnu/java/nio/FloatBufferImpl.java: Reformatted.
  5792. (FloatBufferImpl): Revised.
  5793. (slice): New implementation.
  5794. (duplicate): New implementation.
  5795. (compact): New implementation.
  5796. (asReadOnlyBuffer): New implementation.
  5797. (get): Documentation revised.
  5798. (order): Return native byte order.
  5799. * gnu/java/nio/IntBufferImpl.java: Reformatted.
  5800. (IntBufferImpl): Revised.
  5801. (slice): New implementation.
  5802. (duplicate): New implementation.
  5803. (compact): New implementation.
  5804. (asReadOnlyBuffer): New implementation.
  5805. (get): Documentation revised.
  5806. (order): Return native byte order.
  5807. * gnu/java/nio/LongBufferImpl.java: Reformatted.
  5808. (LongBufferImpl): Revised.
  5809. (slice): New implementation.
  5810. (duplicate): New implementation.
  5811. (compact): New implementation.
  5812. (asReadOnlyBuffer): New implementation.
  5813. (get): Documentation revised.
  5814. (order): Return native byte order.
  5815. * gnu/java/nio/ShortBufferImpl.java: Reformatted.
  5816. (ShortBufferImpl): Revised.
  5817. (slice): New implementation.
  5818. (duplicate): New implementation.
  5819. (compact): New implementation.
  5820. (asReadOnlyBuffer): New implementation.
  5821. (get): Documentation revised.
  5822. (order): Return native byte order.
  5823. * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
  5824. (CharBuffer): Revised.
  5825. (order): Removed.
  5826. * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
  5827. (DoubleBuffer): Revised.
  5828. (allocateDirect): Removed.
  5829. (order): Removed.
  5830. * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
  5831. (FloatBuffer): Revised.
  5832. (allocateDirect): Removed.
  5833. (order): Removed.
  5834. * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
  5835. (IntBuffer): Revised.
  5836. (allocateDirect): Removed.
  5837. (order): Removed.
  5838. * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
  5839. (LongBuffer): Revised.
  5840. (allocateDirect): Removed.
  5841. (order): Removed.
  5842. * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
  5843. (ShortBuffer): Revised.
  5844. (allocateDirect): Removed.
  5845. (order): Removed.
  5846. * gnu/java/nio/natByteBufferImpl.cc: Removed.
  5847. * gnu/java/nio/natCharBufferImpl.cc: Removed.
  5848. * Makefile.am
  5849. (ordinary_java_source_files): Added the following files:
  5850. gnu/java/nio/CharViewBufferImpl.java,
  5851. gnu/java/nio/DoubleViewBufferImpl.java,
  5852. gnu/java/nio/FloatViewBufferImpl.java,
  5853. gnu/java/nio/IntViewBufferImpl.java,
  5854. gnu/java/nio/LongViewBufferImpl.java,
  5855. gnu/java/nio/ShortViewBufferImpl.java
  5856. (nat_source_files): Removed the following files:
  5857. gnu/java/nio/natByteBufferImpl.cc,
  5858. gnu/java/nio/natCharBufferImpl.cc
  5859. * Makefile.in: Regenerated.
  5860. 2003-05-12 Michael Koch <konqueror@gmx.de>
  5861. * gnu/java/nio/CharViewBufferImpl.java,
  5862. gnu/java/nio/DirectByteBufferImpl.java,
  5863. gnu/java/nio/DoubleViewBufferImpl.java,
  5864. gnu/java/nio/FloatViewBufferImpl.java,
  5865. gnu/java/nio/IntViewBufferImpl.java,
  5866. gnu/java/nio/LongViewBufferImpl.java,
  5867. gnu/java/nio/ShortViewBufferImpl.java,
  5868. gnu/java/nio/natDirectByteBufferImpl.cc:
  5869. New files, not yet to be compiled.
  5870. 2003-05-10 Michael Koch <konqueror@gmx.de>
  5871. * javax/swing/plaf/ButtonUI.java,
  5872. javax/swing/plaf/ColorUIResource.java,
  5873. javax/swing/plaf/ComponentUI.java,
  5874. javax/swing/plaf/DimensionUIResource.java,
  5875. javax/swing/plaf/FontUIResource.java,
  5876. javax/swing/plaf/IconUIResource.java,
  5877. javax/swing/plaf/InsetsUIResource.java,
  5878. javax/swing/plaf/LabelUI.java,
  5879. javax/swing/plaf/ListUI.java,
  5880. javax/swing/plaf/OptionPaneUI.java,
  5881. javax/swing/plaf/PanelUI.java,
  5882. javax/swing/plaf/TabbedPaneUI.java,
  5883. javax/swing/plaf/TextUI.java,
  5884. javax/swing/plaf/TreeUI.java,
  5885. javax/swing/plaf/ViewportUI.java,
  5886. javax/swing/plaf/basic/BasicBorders.java,
  5887. javax/swing/plaf/basic/BasicButtonUI.java,
  5888. javax/swing/plaf/basic/BasicCheckBoxUI.java,
  5889. javax/swing/plaf/basic/BasicDefaults.java,
  5890. javax/swing/plaf/basic/BasicGraphicsUtils.java,
  5891. javax/swing/plaf/basic/BasicIconFactory.java,
  5892. javax/swing/plaf/basic/BasicLabelUI.java,
  5893. javax/swing/plaf/basic/BasicListUI.java,
  5894. javax/swing/plaf/basic/BasicOptionPaneUI.java,
  5895. javax/swing/plaf/basic/BasicPanelUI.java,
  5896. javax/swing/plaf/basic/BasicRadioButtonUI.java,
  5897. javax/swing/plaf/basic/BasicScrollPaneUI.java,
  5898. javax/swing/plaf/basic/BasicTabbedPaneUI.java,
  5899. javax/swing/plaf/basic/BasicTextUI.java,
  5900. javax/swing/plaf/basic/BasicToggleButtonUI.java,
  5901. javax/swing/plaf/basic/BasicTreeUI.java,
  5902. javax/swing/plaf/basic/BasicViewportUI.java,
  5903. javax/swing/plaf/metal/MetalLookAndFeel.java:
  5904. New versions from classpath. This adds copyrights to all files and
  5905. some serialVersionUIDs.
  5906. 2003-05-10 Michael Koch <konqueror@gmx.de>
  5907. * java/nio/CharBuffer.java
  5908. (offset): Make it package-private.
  5909. (backing_buffer): Likewise.
  5910. * java/nio/DoubleBuffer.java
  5911. (offset): Make it package-private.
  5912. (backing_buffer): Likewise.
  5913. (put): Reformatted.
  5914. * java/nio/FloatBuffer.java
  5915. (offset): Make it package-private.
  5916. (backing_buffer): Likewise.
  5917. * java/nio/IntBuffer.java
  5918. (offset): Make it package-private.
  5919. (backing_buffer): Likewise.
  5920. * java/nio/LongBuffer.java
  5921. (offset): Make it package-private.
  5922. (backing_buffer): Likewise.
  5923. * java/nio/ShortBuffer.java
  5924. (offset): Make it package-private.
  5925. (backing_buffer): Likewise.
  5926. 2003-05-10 Michael Koch <konqueror@gmx.de>
  5927. * java/nio/CharBuffer.java
  5928. (put): Fixed precondtion check.
  5929. (toString): Make it work without backing array.
  5930. (put): Skip one level of method calling.
  5931. 2003-05-10 Michael Koch <konqueror@gmx.de>
  5932. * java/security/Identity.java,
  5933. java/security/IdentityScope.java,
  5934. java/security/Key.java,
  5935. java/security/KeyPair.java,
  5936. java/security/PrivateKey.java,
  5937. java/security/Provider.java,
  5938. java/security/PublicKey.java,
  5939. java/security/SecureRandom.java,
  5940. java/security/SecureRandomSpi.java,
  5941. java/security/SignedObject.java,
  5942. java/security/Signer.java,
  5943. java/security/cert/Certificate.java,
  5944. java/security/cert/PKIXCertPathBuilderResult.java,
  5945. java/security/cert/X509Certificate.java:
  5946. New versions from classpath.
  5947. 2003-05-09 Tom Tromey <tromey@redhat.com>
  5948. * Makefile.in: Rebuilt.
  5949. * Makefile.am (nat_source_files): Removed old files.
  5950. * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
  5951. * gnu/java/nio/natFloatBufferImpl.cc: Removed.
  5952. * gnu/java/nio/natIntBufferImpl.cc: Removed.
  5953. * gnu/java/nio/natLongBufferImpl.cc: Removed.
  5954. * gnu/java/nio/natShortBufferImpl.cc: Removed.
  5955. 2003-05-09 Michael Koch <konqueror@gmx.de>
  5956. * gnu/java/nio/ByteBufferImpl.java
  5957. (nio_cast): Removed.
  5958. (ByteBufferImpl): Removed.
  5959. (nio_get_Byte): Removed.
  5960. (nio_put_Byte): Removed.
  5961. (asByteBuffer): Removed.
  5962. (asCharBuffer): Removed implementation and throw exception.
  5963. (asShortBuffer): Likewise.
  5964. (asIntBuffer): Likewise.
  5965. (asLongBuffer): Likewise.
  5966. (asFloatBuffer): Likewise.
  5967. (asDoubleBuffer): Likewise.
  5968. * gnu/java/nio/CharBufferImpl.java
  5969. (CharBufferImpl): Removed.
  5970. (nio_get_Byte): Removed.
  5971. (nio_put_Byte): Removed.
  5972. (asByteBuffer): Removed.
  5973. * gnu/java/nio/DoubleBufferImpl.java
  5974. (DoubleBufferImpl): Removed.
  5975. (nio_get_Byte): Removed.
  5976. (nio_put_Byte): Removed.
  5977. (asByteBuffer): Removed.
  5978. * gnu/java/nio/FloatBufferImpl.java
  5979. (FloatBufferImpl): Removed.
  5980. (nio_get_Byte): Removed.
  5981. (nio_put_Byte): Removed.
  5982. (asByteBuffer): Removed.
  5983. * gnu/java/nio/IntBufferImpl.java
  5984. (IntBufferImpl): Removed.
  5985. (nio_get_Byte): Removed.
  5986. (nio_put_Byte): Removed.
  5987. (asByteBuffer): Removed.
  5988. * gnu/java/nio/LongBufferImpl.java
  5989. (LongBufferImpl): Removed.
  5990. (nio_get_Byte): Removed.
  5991. (nio_put_Byte): Removed.
  5992. (asByteBuffer): Removed.
  5993. * gnu/java/nio/ShortBufferImpl.java
  5994. (ShortBufferImpl): Removed.
  5995. (nio_get_Byte): Removed.
  5996. (nio_put_Byte): Removed.
  5997. (asByteBuffer): Removed.
  5998. * gnu/java/nio/natByteBufferImpl.cc
  5999. (nio_cast): Removed.
  6000. (nio_get_Byte): Removed.
  6001. (nio_put_Byte): Removed.
  6002. * gnu/java/nio/natCharBufferImpl.cc
  6003. (nio_get_Byte): Removed.
  6004. (nio_put_Byte): Removed.
  6005. 2003-05-09 Michael Koch <konqueror@gmx.de>
  6006. * java/net/JarURLConnection.java
  6007. (getJarEntry): Merged documentation from classpath.
  6008. (getJarFile): Likewise.
  6009. (getMainAttributes): Likewise.
  6010. (getAttributes): Likewise.
  6011. (getManifest): Likewise.
  6012. (getCertificates): Reformatted.
  6013. * java/net/URLConnection.java:
  6014. Little classpath merge.
  6015. 2003-05-09 Michael Koch <konqueror@gmx.de>
  6016. * java/io/DataOutputStream.java
  6017. (writeShort): Made it synchronized.
  6018. (writeChar): Likewise.
  6019. (writeInt): Likewise.
  6020. (writeLong): Liekwise.
  6021. (writeUTF): Made it synchronized, renamed argument to match classpath.
  6022. * java/io/InputStreamReader.java
  6023. (converter): Added documentation.
  6024. (read): Merged documentation from classpath.
  6025. * java/io/OutputStreamWriter.java
  6026. (OutputStreamWriter): Merged documentation from classpath.
  6027. (close): Reformatted.
  6028. (getEncoding): Likewise.
  6029. (flush): Likewise.
  6030. (write): Merged documentation from classpath, reformatted.
  6031. 2003-05-08 Tom Tromey <tromey@redhat.com>
  6032. * configure.host <powerpc64*-*>: Set with_libffi_default and
  6033. libgcj_interpreter to "yes".
  6034. 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
  6035. * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
  6036. 2003-05-06 Tom Tromey <tromey@redhat.com>
  6037. * verify.cc: Reverted previous patch.
  6038. 2003-05-06 Michael Koch <konqueror@gmx.de>
  6039. * java/io/DataOutputStream.java
  6040. (write): Renamed argument to "value", merged documentation from
  6041. classpath.
  6042. (writeBoolean): Likewise.
  6043. (writeByte): Likewise.
  6044. (writeShort): Likewise.
  6045. (writeChar): Likewise.
  6046. (writeInt): Likewise.
  6047. (writeLong): Likewise.
  6048. (writeFloat): Likewise.
  6049. (writeDouble): Likewise.
  6050. (writeBytes): Likewise.
  6051. (writeChars): Likewise.
  6052. (writeUTF): Likewise.
  6053. * java/io/File.java
  6054. (performDelete): Added documentation.
  6055. (performList): Likewise.
  6056. (performMkdir): Likewise.
  6057. (performSetReadOnly): Likewise.
  6058. (performRenameTo): Likewise.
  6059. (performSetLastModified): Likewise.
  6060. (delete): Made it sychronized.
  6061. (renameTo): Made it sychronized.
  6062. (equals): Reformatted.
  6063. (isHidden): Likewise.
  6064. (listFiles): Likewise.
  6065. (setReadOnly): Likewise.
  6066. (listRoots): Likewise.
  6067. (setLastModified): Likewise.
  6068. (checkRead): Likewise.
  6069. (checkWrite): Likewise.
  6070. * java/io/FileInputStream.java
  6071. (skip): Made it sychronized, merged from classpath.
  6072. * java/io/FileOutputStream.java
  6073. (write): Merged from classpath.
  6074. * java/io/InputStreamReader.java:
  6075. (InputStreamReader): Merged documentation from classpath.
  6076. 2003-05-05 Michael Koch <konqueror@gmx.de>
  6077. * java/net/NetworkInterface.java
  6078. (networkInterfaces): Removed.
  6079. (getByName): Use getRealNetworkInterfaces() instead of
  6080. networkInterfaces.
  6081. (getByInetAddress): Likewise.
  6082. (getNetworkInterfaces): Likewise.
  6083. (toString): Fix output of addresses of an interface.
  6084. 2003-05-05 Michael Koch <konqueror@gmx.de>
  6085. * java/io/DataInputStream.java:
  6086. Merged new documentation from classpath.
  6087. 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
  6088. * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
  6089. "version".
  6090. * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
  6091. * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
  6092. * gnu/awt/gtk/GtkFramePeer.java: Likewise.
  6093. * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
  6094. * gnu/awt/gtk/GtkMainThread.java: Likewise.
  6095. * gnu/awt/gtk/GtkToolkit.java: Likewise.
  6096. * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
  6097. * java/security/Key.java: Likewise.
  6098. * java/security/PrivateKey.java: Likewise.
  6099. * java/security/Provider.java: Likewise.
  6100. * java/security/PublicKey.java: Likewise.
  6101. 2003-05-02 Michael Koch <konqueror@gmx.de>
  6102. * java/net/URI.java
  6103. (create): Doesnt throws any exceptions.
  6104. * java/net/URLConnection.java
  6105. (URLConnection): Commend added.
  6106. (getExpiration): The header field is called "expires" not
  6107. "expiration".
  6108. (getHeaderField): Merged documentation with classpath.
  6109. (getHeaderFieldInt): Likewise.
  6110. (getHeaderFieldDate): Likewise.
  6111. (getHeaderFieldKey): Likewise.
  6112. (getPermission): Likewise.
  6113. (setDefaultUseCaches): Likewise.
  6114. (setRequestProperty): Likewise.
  6115. (addRequestProperty): Likewise.
  6116. (getRequestProperty): Likewise.
  6117. (getRequestProperties): Likewise.
  6118. (setDefaultRequestProperty): Likewise.
  6119. (getDefaultRequestProperty): Likewise.
  6120. (guessContentTypeFromStream): Likewise.
  6121. (getFileNameMap): Likewise.
  6122. (setFileNameMap): Likewise.
  6123. (setDoInput): Merged implementation and documentation with classpath.
  6124. (setDoOutput): Likewise.
  6125. (setAllowUserInteraction): Likewise.
  6126. (setDefaultAllowUserInteraction): Likewise.
  6127. (setContentHandlerFactory): Made it synchronized, merged documentation
  6128. with classpath.
  6129. (guessContentTypeFromName): Renamed argument fname to filename to
  6130. match classpath, merged documentation with classpath.
  6131. 2003-05-02 Michael Koch <konqueror@gmx.de>
  6132. * java/net/JarURLConnection.java
  6133. (JarURLConnection): Class documentation merged with classpath.
  6134. (getJarFileURL): Moved and documentation merged with classpath.
  6135. (getEntryName): Likewise.
  6136. (JarURLConnection): Documentation merged with classpath.
  6137. (getJarEntry): Likewise.
  6138. (getJarFile): Likewise.
  6139. * java/net/PlainDatagramSocketImpl.java:
  6140. Class documentation moved.
  6141. * java/net/URLConnection.java
  6142. (fileNameMap): Moved and documentation merged with classpath.
  6143. (factory): Likewise.
  6144. (defaultAllowUserInteraction): Likewis.
  6145. (defaultUseCaches): Likewise.
  6146. (allowUserInteraction): Likewise.
  6147. (connected): Likewise.
  6148. (url): Likewise.
  6149. (connect): Documentation merged with classpath.
  6150. (getURL): Likewise.
  6151. (getContentLength): Likewise.
  6152. (getContentType): Likewise.
  6153. (getContentEncoding): Likewise.
  6154. (getExpiration): Likewise.
  6155. (getDate): Likewise.
  6156. (getLastModified): Likewise.
  6157. (getHeaderField): Likewise.
  6158. (getContent): Likewise.
  6159. (getPermission): Likewise.
  6160. (getInputStream): Likewise.
  6161. (getOutputStream): Likewise.
  6162. (toString): Likewise.
  6163. (getDoInput): Likewise.
  6164. (getDoOutput): Likewise.
  6165. (setAllowUserInteraction): Likewise.
  6166. (getAllowUserInteraction): Likewise.
  6167. (setDefaultAllowUserInteraction): Likewise.
  6168. (getDefaultAllowUserInteraction): Likewise.
  6169. (setUseCaches): Likewise.
  6170. (getUseCaches): Likewise.
  6171. (setIfModifiedSince): Likewise.
  6172. (getIfModifiedSince): Likewise.
  6173. (setDefaultRequestProperty): Likewise.
  6174. (getDefaultRequestProperty): Likewise.
  6175. (setContentHandlerFactory): Likewise.
  6176. (setFileNameMap): Likewise.
  6177. 2003-05-02 Michael Koch <konqueror@gmx.de>
  6178. * java/net/InetAddress.java:
  6179. Merged class documentation with classpath.
  6180. * java/net/JarURLConnection.java:
  6181. Explicitely import all used classes.
  6182. * java/net/URL.java:
  6183. Reformatting.
  6184. * java/net/ServerSocket.java,
  6185. java/net/Socket.java:
  6186. New versions from classpath.
  6187. 2003-05-02 Michael Koch <konqueror@gmx.de>
  6188. * gnu/java/nio/FileChannelImpl.java
  6189. (read): New implementation.
  6190. (implRead): New methods.
  6191. (write): New implementation, call other write insteal of read method.
  6192. (implWrite): New methods.
  6193. (map): Added comment.
  6194. (transferFrom): Implemented.
  6195. (transferTo): Implemented.
  6196. (lock): Added checks to throw exceptions.
  6197. (truncate): Added check to throw exception.
  6198. * gnu/java/nio/natFileChannelImpl.cc
  6199. (implRead): New method.
  6200. (implWrite): New method.
  6201. * java/nio/ByteBuffer.java
  6202. (hashCode): Fixed comment.
  6203. (get): Fixed exception documentation.
  6204. (put): Fixed exception documentation.
  6205. * java/nio/CharBuffer.java:
  6206. Added comment for later optimizations.
  6207. 2003-04-30 Tom Tromey <tromey@redhat.com>
  6208. PR libgcj/10582:
  6209. * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
  6210. Removed.
  6211. (type::compatible): Use _Jv_IsAssignableFrom.
  6212. * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
  6213. (_Jv_IsAssignableFrom): Work even when source or target class is
  6214. not prepared.
  6215. 2003-04-30 Michael Koch <konqueror@gmx.de>
  6216. * java/text/BreakIterator.java
  6217. (clone): New method.
  6218. 2003-04-30 Michael Koch <konqueror@gmx.de>
  6219. * java/text/CollationElementIterator.java,
  6220. java/text/CollationKey.java,
  6221. java/text/RuleBasedCollator.java:
  6222. Merged copyright and documentation from classpath and
  6223. rearranged some code. No code changes done.
  6224. 2003-04-30 Michael Koch <konqueror@gmx.de>
  6225. * java/util/regex/Matcher.java
  6226. (pattern): New member variable.
  6227. (appendReplacement): New method.
  6228. (appendTail): New method.
  6229. (end): New method.
  6230. (find): New method.
  6231. (group): New method.
  6232. (replaceFirst): Added documentation.
  6233. (replaceAll): Added documentation.
  6234. (groupCount): New method.
  6235. (lookingAt): New method.
  6236. (matches): New method.
  6237. (reset): New method.
  6238. (start): New method.
  6239. * java/util/regex/Pattern.java
  6240. (serialVersionUID): New constant.
  6241. (CANON_EQ): New constant.
  6242. (CASE_INSENSITIVE): New constant.
  6243. (COMMENTS): New constant.
  6244. (DOTALL): New constant.
  6245. (MULTILINE): New constant.
  6246. (UNICODE_CASE): New constant.
  6247. (UNIX_LINES): New constant.
  6248. (regex): New member variable.
  6249. (flags): New member variable.
  6250. (Pattern): New method.
  6251. (compile): Documentation added.
  6252. (flags): New method.
  6253. (matches): Documentation added.
  6254. (matcher): Documentation added.
  6255. (split): Documentation added.
  6256. (pattern): New method.
  6257. 2003-04-30 Michael Koch <konqueror@gmx.de>
  6258. * gnu/java/security/Engine.java,
  6259. gnu/java/security/OID.java,
  6260. gnu/java/security/der/BitString.java,
  6261. gnu/java/security/der/DER.java,
  6262. gnu/java/security/der/DERReader.java,
  6263. gnu/java/security/der/DERValue.java,
  6264. gnu/java/security/der/DERWriter.java,
  6265. gnu/java/security/provider/DSAKeyFactory.java,
  6266. gnu/java/security/provider/X509CertificateFactory.java,
  6267. gnu/java/security/x509/X500DistinguishedName.java,
  6268. gnu/java/security/x509/X509CRL.java,
  6269. gnu/java/security/x509/X509CRLEntry.java,
  6270. gnu/java/security/x509/X509Certificate.java,
  6271. java/security/cert/CRLSelector.java,
  6272. java/security/cert/CertPathBuilder.java,
  6273. java/security/cert/CertPathBuilderResult.java,
  6274. java/security/cert/CertPathBuilderSpi.java,
  6275. java/security/cert/CertPathParameters.java,
  6276. java/security/cert/CertPathValidator.java,
  6277. java/security/cert/CertPathValidatorResult.java,
  6278. java/security/cert/CertPathValidatorSpi.java,
  6279. java/security/cert/CertSelector.java,
  6280. java/security/cert/CertStore.java,
  6281. java/security/cert/CertStoreParameters.java,
  6282. java/security/cert/CertStoreSpi.java,
  6283. java/security/cert/CollectionCertStoreParameters.java,
  6284. java/security/cert/LDAPCertStoreParameters.java,
  6285. java/security/cert/PKIXBuilderParameters.java,
  6286. java/security/cert/PKIXCertPathBuilderResult.java,
  6287. java/security/cert/PKIXCertPathChecker.java,
  6288. java/security/cert/PKIXCertPathValidatorResult.java,
  6289. java/security/cert/PKIXParameters.java,
  6290. java/security/cert/PolicyNode.java,
  6291. java/security/cert/PolicyQualifierInfo.java,
  6292. java/security/cert/TrustAnchor.java,
  6293. javax/security/auth/x500/X500Principal.java:
  6294. New files from classpath.
  6295. * gnu/java/io/ASN1ParsingException.java,
  6296. gnu/java/io/Base64InputStream.java,
  6297. gnu/java/security/der/DEREncodingException.java,
  6298. gnu/java/security/provider/DSAParameters.java,
  6299. gnu/java/security/provider/DSASignature.java,
  6300. gnu/java/security/provider/Gnu.java,
  6301. gnu/java/security/provider/GnuDSAPrivateKey.java,
  6302. gnu/java/security/provider/GnuDSAPublicKey.java,
  6303. java/security/AlgorithmParameterGenerator.java,
  6304. java/security/AlgorithmParameters.java,
  6305. java/security/KeyFactory.java,
  6306. java/security/KeyPairGenerator.java,
  6307. java/security/KeyStore.java,
  6308. java/security/MessageDigest.java,
  6309. java/security/SecureClassLoader.java,
  6310. java/security/SecureRandom.java,
  6311. java/security/Security.java,
  6312. java/security/Signature.java,
  6313. java/security/cert/Certificate.java,
  6314. java/security/cert/CertificateFactory.java,
  6315. java/security/cert/CertificateFactorySpi.java,
  6316. java/security/cert/X509CRL.java,
  6317. java/security/cert/X509Certificate.java,
  6318. java/security/spec/DSAPublicKeySpec.java:
  6319. New versions from classpath.
  6320. * gnu/java/security/provider/DERReader.java,
  6321. gnu/java/security/provider/DERWriter.java,
  6322. java/security/Engine.java: Removed.
  6323. * Makefile.am
  6324. (java_source_files, javax_source_files): Added new files.
  6325. * Makefile.in: Regenerated.
  6326. 2003-04-29 Michael Koch <konqueror@gmx.de>
  6327. * javax/swing/JTable.java
  6328. (AUTO_RESIZE_ALL_COLUMNS): New constant.
  6329. (AUTO_RESIZE_LAST_COLUMN): New constant.
  6330. (AUTO_RESIZE_NEXT_COLUMN): New constant.
  6331. (AUTO_RESIZE_OFF): New constant.
  6332. (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
  6333. (JTable): New method.
  6334. (columnAdded): New method.
  6335. (columnMarginChanged): New method.
  6336. (columnMoved): New method.
  6337. (columnRemoved): New method.
  6338. (columnSelectionChanged): New method.
  6339. (editingCanceled): New method.
  6340. (editingStopped): New method.
  6341. (getColumnModel): New method.
  6342. (getPreferredScrollableViewportSize): New method.
  6343. (getScrollableBlockIncrement): New method.
  6344. (getScrollableTracksViewportHeight): New method.
  6345. (getScrollableTracksViewportWidth): New method.
  6346. (getScrollableUnitIncrement): New method.
  6347. (getSelectedRow): New method.
  6348. (getSelectionModel): New method.
  6349. (tableChanged): New method.
  6350. (setModel): New method.
  6351. (setSelectionMode): New method.
  6352. (setSelectionModel): New method.
  6353. (setShowGrid): New method.
  6354. (valueChanged): New method.
  6355. * javax/swing/text/DefaultEditorKit.java
  6356. (backwardAction): New constant.
  6357. (beepAction): New constant.
  6358. (beginAction): New constant.
  6359. (beginLineAction): New constant.
  6360. (beginParagraphAction): New constant.
  6361. (beginWordAction): New constant.
  6362. (copyAction): New constant.
  6363. (cutAction): New constant.
  6364. (defaultKeyTypedAction): New constant.
  6365. (deleteNextCharAction): New constant.
  6366. (deletePrevCharAction): New constant.
  6367. (downAction): New constant.
  6368. (endAction): New constant.
  6369. (endLineAction): New constant.
  6370. (endOfLineStringProperty): New constant.
  6371. (endParagraphAction): New constant.
  6372. (endWordAction): New constant.
  6373. (forwardAction): New constant.
  6374. (insertBreakAction): New constant.
  6375. (insertContentAction): New constant.
  6376. (insertTabAction): New constant.
  6377. (nextWordAction): New constant.
  6378. (pageDownAction): New constant.
  6379. (pageUpAction): New constant.
  6380. (pasteAction): New constant.
  6381. (previousWordAction): New constant.
  6382. (readOnlyAction): New constant.
  6383. (selectAllAction): New constant.
  6384. (selectionBackwardAction): New constant.
  6385. (selectionBeginAction): New constant.
  6386. (selectionBeginLineAction): New constant.
  6387. (selectionBeginParagraphAction): New constant.
  6388. (selectionBeginWordAction): New constant.
  6389. (selectionDownAction): New constant.
  6390. (selectionEndAction): New constant.
  6391. (selectionEndLineAction): New constant.
  6392. (selectionEndParagraphAction): New constant.
  6393. (selectionEndWordAction): New constant.
  6394. (selectionForwardAction): New constant.
  6395. (selectionNextWordAction): New constant.
  6396. (selectionPreviousWordAction): New constant.
  6397. (selectionUpAction): New constant.
  6398. (selectLineAction): New constant.
  6399. (selectParagraphAction): New constant.
  6400. (selectWordAction): New constant.
  6401. (upAction): New constant.
  6402. (writableAction): New constant.
  6403. 2003-04-29 Michael Koch <konqueror@gmx.de>
  6404. * java/util/PropertyPermission.java:
  6405. New version from classpath
  6406. * java/util/ResourceBundle.java:
  6407. Partly merged from classpath
  6408. (getObject): Reformated.
  6409. (tryBundle): Set foundBundle = null if no bundle found.
  6410. 2003-04-29 Michael Koch <konqueror@gmx.de>
  6411. * javax/swing/AbstractListModel.java,
  6412. javax/swing/DefaultBoundedRangeModel.java,
  6413. javax/swing/DefaultSingleSelectionModel.java:
  6414. New Versions from classpath.
  6415. 2003-04-29 Michael Koch <konqueror@gmx.de>
  6416. * java/awt/Window.java
  6417. (show): Call super.show() instead of setVisible() to avoid endless
  6418. loop.
  6419. (hide): Call super.hide() instead of setVisible() to avoid endless
  6420. loop.
  6421. 2003-04-29 Michael Koch <konqueror@gmx.de>
  6422. * java/util/zip/Deflater.java,
  6423. java/util/zip/DeflaterOutputStream.java:
  6424. Partly merged with classpath.
  6425. 2003-04-27 Tom Tromey <tromey@redhat.com>
  6426. * java/lang/natString.cc (_Jv_AllocString): Initialize
  6427. cachedHashCode.
  6428. (init): Likewise.
  6429. (_Jv_NewStringUtf8Const): Likewise.
  6430. 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
  6431. * include/jvm.h: (_Jv_GetNbArgs) added
  6432. (_Jv_GetSafeArg) added
  6433. (_Jv_SetArgs) added
  6434. * prims.cc: (_Jv_GetNbArgs) implemented
  6435. (_Jv_GetSafeArg) implemented
  6436. (_Jv_SetArgs) implemented
  6437. (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
  6438. setting _Jv_argc and _Jv_argv
  6439. * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
  6440. instead of _Jv_argv
  6441. * java/lang/natRuntime.cc: (insertSystemProperties) use
  6442. _Jv_GetSafeArg() instead of _Jv_argv
  6443. 2003-04-23 Tom Tromey <tromey@redhat.com>
  6444. * resolve.cc (_Jv_PrepareClass): Round size up to alignment
  6445. required by this object. Search superclasses to find required
  6446. alignment.
  6447. (get_alignment_from_class): Use alignment of type as it appears
  6448. in a struct.
  6449. (ALIGNOF): New macro.
  6450. (struct aligner): New helper structure.
  6451. 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
  6452. * java/awt/Container.java (addImpl): Enable paint events if adding
  6453. a lightweight to a heavyweight.
  6454. (addNotify): Ensure that peer is created before
  6455. addNotifyContainerChildren.
  6456. (addNotifyContainerChildren): Enable paint events if a heavyweight
  6457. container contains a lightweight.
  6458. 2003-04-20 Tom Tromey <tromey@redhat.com>
  6459. * java/io/BufferedReader.java, java/io/BufferedWriter.java,
  6460. java/io/DataInput.java, java/io/DataOutput.java: Imports from
  6461. Classpath.
  6462. 2003-04-19 Tom Tromey <tromey@redhat.com>
  6463. * java/sql/Date.java, java/sql/DriverManager.java,
  6464. java/sql/Time.java, java/sql/Timestamp.java: New versions from
  6465. Classpath.
  6466. * Makefile.in: Rebuilt.
  6467. * Makefile.am (ordinary_java_source_files): Added new files.
  6468. * java/security/AlgorithmParameterGenerator.java,
  6469. java/security/AlgorithmParameters.java, java/security/Engine.java,
  6470. java/security/Identity.java, java/security/IdentityScope.java,
  6471. java/security/KeyFactory.java,
  6472. java/security/KeyPairGenerator.java, java/security/KeyStore.java,
  6473. java/security/MessageDigest.java, java/security/Policy.java,
  6474. java/security/ProtectionDomain.java,
  6475. java/security/SecureRandom.java, java/security/Security.java,
  6476. java/security/Signature.java, java/security/SignatureSpi.java,
  6477. java/security/SignedObject.java, java/security/Signer.java,
  6478. java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
  6479. java/security/spec/PSSParameterSpec.java,
  6480. java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
  6481. java/security/spec/RSAOtherPrimeInfo.java: New versions from
  6482. Classpath.
  6483. 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
  6484. * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
  6485. (dispose): Null metrics.
  6486. * gnu/awt/xlib/XToolkit.java (sync): Implement.
  6487. * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
  6488. finalize.
  6489. (finalize): Call dispose.
  6490. * gnu/gcj/xlib/Drawable.java (gcCache): New field.
  6491. (gcCachedCount): New field.
  6492. (finalize): New method.
  6493. (putGCInCache): New method.
  6494. (getGCFromCache): New method.
  6495. * gnu/gcj/xlib/GC.java (GC): Make protected.
  6496. (clone): Get new GC from cache if possible.
  6497. (create): New static method.
  6498. (dispose): Save old GC in cache.
  6499. * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
  6500. deleting.
  6501. * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
  6502. is null.
  6503. * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
  6504. * java/awt/Container.java (visitChild): Dispose gfx2 when
  6505. finished.
  6506. 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
  6507. * java/math/BigInteger.java (probablePrime): New.
  6508. * java/math/BigDecimal.java (unscaledValue): New.
  6509. 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
  6510. * java/io/File.java (getAbsolutePath): On Windows, take care
  6511. of paths like "C:", "G:foo\bar", etc.
  6512. (getName): Make it work correctly on Windows.
  6513. (getParent): Make it work correctly on Windows. For UNIX,
  6514. fix bug that causes "/" to be returned as the parent of "/",
  6515. instead of null as returned by Sun's JRE.
  6516. * java/io/natFileWin32.cc: Change copyright owner to FSF.
  6517. 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
  6518. * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
  6519. inner class.
  6520. (CACHE_SIZE_PER_DISPLAY): New field
  6521. (fontMetricsCache): New field
  6522. (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
  6523. loading ISO10646-1 fonts.
  6524. 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
  6525. * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
  6526. characters.
  6527. * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
  6528. characters.
  6529. 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
  6530. * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
  6531. floating point.
  6532. 2003-04-15 Jakub Jelinek <jakub@redhat.com>
  6533. * configure.host (*-linux*): Don't set slow_pthread_self if primary
  6534. installed libpthread is either linuxthreads with floating stacks or
  6535. NPTL.
  6536. 2003-04-14 Tom Tromey <tromey@redhat.com>
  6537. * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
  6538. of alignment.
  6539. 2003-04-10 Tom Tromey <tromey@redhat.com>
  6540. * verify.cc (pop64): Removed.
  6541. (verify_instructions_0) <op_pop2>: Inline code. Don't throw
  6542. exception if top-of-stack is narrow.
  6543. (initialize_stack): Check to ensure that <init> is not static and
  6544. <clinit> is.
  6545. 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
  6546. * java/io/ObjectStreamException
  6547. * java/io/FileFilter
  6548. * java/io/FilenameFilter
  6549. * java/io/ObjectInput
  6550. * java/io/ObjectOutput
  6551. * java/io/ObjectStreamConstants
  6552. Minor doc fixes, format fixes, spelling corrections, etc.
  6553. * java/io/DataInput
  6554. Corrected code samples in Javadocs to match reality
  6555. * java/io/DataOutput
  6556. * java/io/ObjectInputValidation
  6557. Major documentation fixes - all Javadocs re-written or updated
  6558. 2003-04-06 Michael Koch <konqueror@gmx.de>
  6559. * java/net/URLConnection.java:
  6560. Import classes directly.
  6561. (URLConnection): Merged class documentation with classpath.
  6562. (url): Moved, documentation from classpath added.
  6563. (doInput): Moved, documentation from classpath added.
  6564. (doOutput): Moved, documentation from classpath added.
  6565. (allowUserInteraction): Moved.
  6566. (useCaches): Moved, documentation from classpath added.
  6567. (ifModifiedSince): Moved, documentation from classpath added.
  6568. (connected): Moved, documentation from classpath added.
  6569. 2003-04-06 Michael Koch <konqueror@gmx.de>
  6570. * java/io/FileInputStream.java
  6571. (skip): Renamed some variables to match classpath, added
  6572. checks from classpath.
  6573. 2003-03-31 Michael Koch <konqueror@gmx.de>
  6574. * javax/swing/AbstractAction.java
  6575. (AbstractAction): Reformatted.
  6576. (serialVersionUID): New private member variable.
  6577. * javax/swing/plaf/BorderUIResource.java
  6578. (serialVersionUID): New private member variable.
  6579. * javax/swing/plaf/basic/BasicLookAndFeel.java
  6580. (serialVersionUID): New private member variable.
  6581. 2003-03-31 Michael Koch <konqueror@gmx.de>
  6582. * java/sql/Date.java
  6583. (valueOf): Deprecated, reformatted.
  6584. (toString): Deprecated, reformatted.
  6585. * java/sql/Time.java
  6586. (valueOf): Deprecated, reformatted.
  6587. (toString): Deprecated, reformatted.
  6588. 2003-03-31 Michael Koch <konqueror@gmx.de>
  6589. * java/rmi/dgc/VMID.java
  6590. (isUnique): Deprecated.
  6591. 2003-03-31 Michael Koch <konqueror@gmx.de>
  6592. * java/io/File.java
  6593. (separator): Merged documentation from classpath.
  6594. (separatorChar): Merged documentation from classpath.
  6595. (pathSeparator): Merged documentation from classpath.
  6596. (pathSeparatorChar): Merged documentation from classpath.
  6597. (path): Merged documentation from classpath.
  6598. (canRead): Merged documentation from classpath.
  6599. (canWrite): Merged documentation from classpath.
  6600. (createNewFile): Merged documentation from classpath.
  6601. (delete): Merged documentation from classpath.
  6602. (equals): Merged documentation from classpath.
  6603. (exists): Merged documentation from classpath.
  6604. (File): Renamed p to name to match classpath, merged documentation
  6605. from classpath.
  6606. (getAbsolutePath): Merged documentation from classpath.
  6607. (getCanonicalPath): Merged documentation from classpath.
  6608. (getCanonicalFile): Merged documentation from classpath.
  6609. (getName): Merged documentation from classpath.
  6610. (getParent): Merged documentation from classpath.
  6611. (getParentFile): Merged documentation from classpath.
  6612. (getPath): Merged documentation from classpath.
  6613. (hashCode): Merged documentation from classpath.
  6614. (isAbsolute): Merged documentation from classpath.
  6615. (isDirectory): Merged documentation from classpath.
  6616. (isFile): Merged documentation from classpath.
  6617. (isHidden): Merged documentation from classpath.
  6618. (lastModified): Merged documentation from classpath.
  6619. (length): Merged documentation from classpath.
  6620. (list): Merged documentation from classpath.
  6621. (listFiles): Merged documentation from classpath.
  6622. (toString): Merged documentation from classpath.
  6623. (toURL): Merged documentation from classpath.
  6624. (mkdir): Merged documentation from classpath.
  6625. (mkdirs): Merged documentation from classpath.
  6626. (createTempFile): Merged documentation from classpath.
  6627. (setReadOnly): Merged documentation from classpath.
  6628. (listRoots): Merged documentation from classpath.
  6629. (compareTo): Merged documentation from classpath.
  6630. (renameTo): Merged documentation from classpath.
  6631. (setLastModified): Merged documentation from classpath.
  6632. * java/io/PrintStream.java
  6633. (auto_flush): Merged documentation from classpath.
  6634. (PrintStream): Merged documentation from classpath.
  6635. (checkError): Merged documentation from classpath.
  6636. (setError): Merged documentation from classpath.
  6637. (close): Merged documentation from classpath.
  6638. (flush): Merged documentation from classpath.
  6639. (print): Merged documentation from classpath.
  6640. (println): Merged documentation from classpath.
  6641. (write): Renamed count to len to match classpath,
  6642. merged documentation from classpath.
  6643. * java/io/RandomAccessFile.java
  6644. (readShort): Merged documentation from classpath.
  6645. (readUnsignedByte): Merged documentation from classpath.
  6646. (readUnsignedShort): Merged documentation from classpath.
  6647. (readUTF): Merged documentation from classpath.
  6648. (seek): Reformatted, merged documentation from classpath.
  6649. (skipBytes): Renamed some variables to match classpath, reformatted,
  6650. merged documentation from classpath.
  6651. (write): Merged documentation from classpath.
  6652. (writeBoolean): Merged documentation from classpath.
  6653. (writeByte): Merged documentation from classpath.
  6654. (writeShort): Merged documentation from classpath.
  6655. (writeChar): Merged documentation from classpath.
  6656. (writeInt): Merged documentation from classpath.
  6657. (writeLong): Merged documentation from classpath.
  6658. (writeFloat): Merged documentation from classpath.
  6659. (writeDouble): Merged documentation from classpath.
  6660. (writeBytes): Merged documentation from classpath.
  6661. (writeChars): Merged documentation from classpath.
  6662. (writeUTF): Reformatted.
  6663. (getChannel): Reformatted.
  6664. 2003-03-31 Michael Koch <konqueror@gmx.de>
  6665. * java/awt/font/TextAttribute.java
  6666. (readResolve): Throws java.io.InvalidObjectException.
  6667. 2003-03-31 Michael Koch <konqueror@gmx.de>
  6668. * java/rmi/server/LoaderHandler.java
  6669. (loadClass): Deprecated.
  6670. (getSecurityContext): Deprecated.
  6671. * java/rmi/server/LogStream.java
  6672. (getDefaultStream): Deprecated.
  6673. (setDefaultStream): Deprecated.
  6674. (getOutputStream): Deprecated.
  6675. (setOutputStream): Deprecated.
  6676. (write): Deprecated.
  6677. (toString): Deprecated.
  6678. (parseLevel): Deprecated.
  6679. * java/rmi/server/Operation.java
  6680. (Operation): Deprecated.
  6681. (getOperation): Deprecated.
  6682. (toString): Deprecated.
  6683. * java/rmi/server/RemoteCall.java
  6684. (getOutputStream): Deprecated.
  6685. (releaseOutputStream): Deprecated.
  6686. (getInputStream): Deprecated.
  6687. (releaseInputStream): Deprecated.
  6688. (getResultStream): Deprecated.
  6689. (executeCall): Deprecated.
  6690. (done): Deprecated.
  6691. * java/rmi/server/RemoteRef.java
  6692. (invoke): Deprecated.
  6693. (newCall): Deprecated.
  6694. (done): Deprecated.
  6695. * java/rmi/server/RemoteStub.java
  6696. (setRef): Deprecated.
  6697. * java/rmi/server/Skeleton.java:
  6698. No need to import java.lang.Exception explicitly.
  6699. (dispatch): Deprecated.
  6700. (getOperations): Deprecated.
  6701. 2003-03-31 Michael Koch <konqueror@gmx.de>
  6702. * java/rmi/dgc/VMID.java,
  6703. java/rmi/registry/RegistryHandler.java,
  6704. java/rmi/server/LogStream.java,
  6705. java/rmi/server/Operation.java,
  6706. java/rmi/server/RemoteCall.java,
  6707. java/rmi/server/RemoteRef.java,
  6708. java/rmi/server/RemoteStub.java:
  6709. Reformatted.
  6710. 2003-03-31 Michael Koch <konqueror@gmx.de>
  6711. * javax/swing/AbstractCellEditor.java,
  6712. javax/swing/AbstractListModel.java,
  6713. javax/swing/ActionMap.java,
  6714. javax/swing/BorderFactory.java,
  6715. javax/swing/ButtonGroup.java,
  6716. javax/swing/DefaultBoundedRangeModel.java,
  6717. javax/swing/DefaultButtonModel.java,
  6718. javax/swing/DefaultCellEditor.java,
  6719. javax/swing/DefaultComboBoxModel.java,
  6720. javax/swing/DefaultDesktopManager.java,
  6721. javax/swing/DefaultListCellRenderer.java,
  6722. javax/swing/DefaultSingleSelectionModel.java,
  6723. javax/swing/InputMap.java,
  6724. javax/swing/JComponent.java,
  6725. javax/swing/JMenu.java,
  6726. javax/swing/JSlider.java,
  6727. javax/swing/KeyStroke.java,
  6728. javax/swing/OverlayLayout.java,
  6729. javax/swing/ScrollPaneLayout.java,
  6730. javax/swing/SizeRequirements.java,
  6731. javax/swing/UIManager.java,
  6732. javax/swing/ViewportLayout.java,
  6733. javax/swing/border/AbstractBorder.java,
  6734. javax/swing/colorchooser/DefaultColorSelectionModel.java,
  6735. javax/swing/event/EventListenerList.java,
  6736. javax/swing/table/AbstractTableModel.java,
  6737. javax/swing/table/DefaultTableCellRenderer.java,
  6738. javax/swing/table/DefaultTableColumnModel.java,
  6739. javax/swing/table/DefaultTableModel.java,
  6740. javax/swing/table/TableColumn.java,
  6741. javax/swing/text/StyledEditorKit.java,
  6742. javax/swing/tree/DefaultMutableTreeNode.java,
  6743. javax/swing/tree/DefaultTreeModel.java,
  6744. javax/swing/tree/DefaultTreeSelectionModel.java,
  6745. javax/swing/tree/TreePath.java,
  6746. javax/swing/undo/AbstractUndoableEdit.java,
  6747. javax/swing/undo/StateEdit.java,
  6748. javax/swing/undo/StateEditable.java,
  6749. javax/swing/undo/UndoableEditSupport.java:
  6750. Merges from classpath.
  6751. 2003-03-30 Tom Tromey <tromey@redhat.com>
  6752. * java/lang/String.java (data, boffset, count): Documented.
  6753. (String(byte[],String)): Reformatted.
  6754. (String(byte[])): Likewise.
  6755. (lastIndexOf(int)): Likewise.
  6756. (lastIndexOf(String)): Likewise.
  6757. (substring(int)): Renamed argument to match Classpath.
  6758. (String(StringBuffer)): Don't share buffer if it is nearly empty.
  6759. * java/lang/String.java: Miscellaneous minor formatting changes
  6760. to match Classpath more closely.
  6761. 2003-03-29 Eric Blake <ebb9@email.byu.edu>
  6762. Tom Tromey <tromey@redhat.com>
  6763. * java/lang/natString.cc (hashCode): Use cachedHashCode.
  6764. (init()): Removed.
  6765. (charAt): Put index in exception.
  6766. (contentEquals): New method.
  6767. Include StringBuffer.h.
  6768. * java/lang/String.java (cachedHashCode): New field.
  6769. (String()): Follow classpath implementation.
  6770. (init()): Removed.
  6771. (contentEquals): Declare.
  6772. (subSequence): Don't declare IndexOutIfBoundsException in throws
  6773. clause.
  6774. (matches, replaceFirst, replaceAll, split): New methods from
  6775. Classpath.
  6776. 2003-03-29 Tom Tromey <tromey@redhat.com>
  6777. * java/lang/String.java: Reordered to follow Classpath; merged in
  6778. javadoc.
  6779. * java/text/MessageFormat.java: Removed some whitespace.
  6780. * Makefile.in: Rebuilt.
  6781. * Makefile.am (awt_java_source_files): Added new files.
  6782. * gnu/javax/rmi/PortableServer.java,
  6783. gnu/javax/rmi/CORBA/DelegateFactory.java,
  6784. gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
  6785. gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
  6786. gnu/javax/rmi/CORBA/StubDelegateImpl.java,
  6787. gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
  6788. gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
  6789. javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
  6790. javax/rmi/PortableRemoteObject.java,
  6791. javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
  6792. javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
  6793. javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
  6794. javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
  6795. javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
  6796. javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
  6797. * java/lang/natClass.cc (newInstance): Put method name in
  6798. exception.
  6799. (getConstructor): Likewise.
  6800. (getDeclaredConstructor): Likewise.
  6801. (getPrivateMethod): Likewise.
  6802. 2003-03-28 Tom Tromey <tromey@redhat.com>
  6803. * java/lang/reflect/Proxy.java: New version from Classpath.
  6804. * java/lang/Package.java: New version from Classpath.
  6805. 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
  6806. * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
  6807. * configure: Regenerate.
  6808. 2003-03-28 Michael Koch <konqueror@gmx.de>
  6809. * java/io/File.java:
  6810. Import needed classes instead of whole packages, merged class
  6811. documentation with classpath, moved constants and variables to top of
  6812. class.
  6813. * java/io/PrintStream.java:
  6814. Merged class documentation with classpath, moved constants and
  6815. variables to top of class.
  6816. * java/io/RandomAccessFile.java
  6817. (RandomAccessFile): Merged with classpath.
  6818. (read): Merged with classpath).
  6819. (read*): Reformatted.
  6820. 2003-03-28 Michael Koch <konqueror@gmx.de>
  6821. * java/io/FileDescriptor.java
  6822. (finalize): Throws Throwable, not IOException.
  6823. * java/io/ObjectOutputStream.java
  6824. (PutField.put): Doesnt throws anything.
  6825. 2003­03-28 Michael Koch <konqueror@gmx.de>
  6826. * java/io/FileOutputStream.java:
  6827. Merged class documentation and authors with classpath.
  6828. (FileOutputStream): Partly merged with classpath.
  6829. (write): Merged with classpath.
  6830. (getChannel): Make it synchronized instead of explicit block in this
  6831. method.
  6832. * java/io/RandomAccessFile.java:
  6833. Merged class documentation and authors with classpath.
  6834. 2003-03-26 Tom Tromey <tromey@redhat.com>
  6835. * java/lang/natRuntime.cc (insertSystemProperties): Set
  6836. gnu.classpath.home.url.
  6837. * Makefile.in: Rebuilt.
  6838. * Makefile.am: Define LIBDIR.
  6839. 2003-03-25 Michael Koch <konqueror@gmx.de>
  6840. * java/io/FileInputStream.java
  6841. (read): Renamed b to buf and off to offset.
  6842. * java/io/FileOutputStream.java
  6843. (ch): Documentation added.
  6844. (FileOutputStream): Documentation added.
  6845. (getFD): Documentation added.
  6846. (write): Documentation added.
  6847. (close): Documentation added.
  6848. (getChannel): Documentation added.
  6849. 2003-03-24 Michael Koch <konqueror@gmx.de>
  6850. * java/io/DataOutputStream.java
  6851. (write): Merged from classpath.
  6852. * java/io/File.java:
  6853. Merged copyrigth with classpath.
  6854. * java/io/FileInputStream.java
  6855. (getChannel): Made it synchronized instead of using a synchronized
  6856. block.
  6857. * java/io/FileOutputStream.java: Reformatted.
  6858. * java/io/InputStreamReader.java
  6859. (InputStreamReader): Renamed enc to encoding_name.
  6860. (close): Merged documentation from classpath.
  6861. (getEncoding): Merged documentation from classpath.
  6862. (ready): Merged documentation from classpath.
  6863. (read): Merged documentation from classpath.
  6864. * java/io/LineNumberReader.java
  6865. (lineNumber): Made it private.
  6866. (LineNumberReader): Use Constant instead of a direct value.
  6867. * java/io/OutputStreamWriter.java
  6868. (OutputStreamWriter): Renamed enc to encoding_scheme, merged
  6869. documentation from classpath.
  6870. (close): Merged documentation from classpath.
  6871. (flush): Merged documentation from classpath.
  6872. (write): Merged documentation from classpath.
  6873. * java/io/PrintStream.java: Reformatted.
  6874. 2003-03-24 Michael Koch <konqueror@gmx.de>
  6875. * javax/swing/text/ComponentView.java
  6876. (getComponent): Must be final.
  6877. * javax/swing/tree/DefaultTreeCellRenderer.java:
  6878. Reformatted.
  6879. * javax/swing/undo/StateEditable.java:
  6880. Reformatted.
  6881. 2003-03-24 Michael Koch <konqueror@gmx.de>
  6882. * java/rmi/activation/ActivationInstantiator.java:
  6883. Reformatted.
  6884. * java/rmi/activation/Activator.java:
  6885. Reformatted.
  6886. * java/rmi/registry/RegistryHandler.java:
  6887. Remerged from classpath.
  6888. 2003-03-24 Michael Koch <konqueror@gmx.de>
  6889. * java/util/Date.java:
  6890. Fixed documentation starting tag to make javadoc happy.
  6891. * java/util/regex/Pattern.java
  6892. (Pattern): Implements Serializable.
  6893. * java/util/PatternSyntaxException.java
  6894. (serialVersionUID): New member variable.
  6895. 2003-03-24 Michael Koch <koqnueror@gmx.de>
  6896. * java/awt/ContainerOrderFocusTraversalPolicy.java
  6897. (getFirstComponent): Implemented.
  6898. (getLastComponent): Implemented.
  6899. (getDefaultComponent): Implemented.
  6900. (setImplicitDownCycleTraversal): Fixed implementation.
  6901. * java/awt/Robot.java
  6902. (Robot): Added documentation.
  6903. * java/awt/Toolkit.java
  6904. (getFontList): Deprecated.
  6905. (getFontMetrics): Deprecated.
  6906. (getPrintJob): Added documentation.
  6907. (getSystemSelection): Added documentation.
  6908. (getLockingKeyState): Added documentation.
  6909. (setLockingKeyState): Added documentation.
  6910. (createCustomCursor): Added documentation.
  6911. (getBestCursorSize): Added documentation.
  6912. (getMaximumCursorColors): Added documentation.
  6913. (isFrameStateSupported): Added documentation.
  6914. 2003-03-24 Michael Koch <konqueror@gmx.de>
  6915. * java/io/RandomAccessFile.java:
  6916. More little merges with classpath. No code changes.
  6917. 2003-03-24 Michael Koch <konqueror@gmx.de>
  6918. * java/net/natInetAddressNoNet.cc:
  6919. Include stddef.h.
  6920. * java/net/natPlainDatagramSocketImplNoNet.cc:
  6921. Fixed inlcude of java/net/DatagramPacket.h.
  6922. * java/net/natPlainSocketImplNoNet.cc:
  6923. Include some missing classes.
  6924. 2003-03-24 Michael Koch <konqueror@gmx.de>
  6925. * java/awt/dnd/DropTarget.java
  6926. (DropTargetAutoScroller): According to the online documentation, this
  6927. is protected, but in reality it is public.
  6928. * java/awt/dnd/DropTargetContext.java
  6929. (TransferableProxy): According to the online documentation, this
  6930. is protected, but in reality it is public.
  6931. 2003-03-24 Michael Koch <konqueror@gmx.de>
  6932. * java/io/DataInputStream.java
  6933. (): Wrapped documentation line.
  6934. (): Fixed @return tag.
  6935. * java/io/DataOutputStream.java
  6936. (written): Moved to top of class.
  6937. (all methods): Merged documentation from classpath.
  6938. * java/io/File.java:
  6939. Merged copyright year with classpath.
  6940. * java/io/FileInputStream.java
  6941. (all methods): Merged documentation from classpath.
  6942. * java/io/LineNumberReader.java
  6943. (getLineNumber): Fixed @return tag.
  6944. * java/io/ObjectInputStream.java.
  6945. Reformatted.
  6946. * java/io/ObjectOutputStream.java:
  6947. Reformatted, fixed some @see tags.
  6948. * java/io/OutputStreamWriter.java:
  6949. Deleted empty line.
  6950. * java/io/Writer.java:
  6951. Reformatted.
  6952. 2003-03-24 Michael Koch <konqueror@gmx.de>
  6953. * java/awt/Frame.java
  6954. (DEFAULT_CURSOR): Fixed @deprecated tag.
  6955. (setCursor): Fixed @deprecated tag.
  6956. 2003-03-24 Michael Koch <konqueror@gmx.de>
  6957. * java/beans/beancontext/BeanContextEvent.java:
  6958. Reformated.
  6959. 2003-03-23 Eric Blake <ebb9@email.byu.edu>
  6960. * java/lang/natStringBuffer.cc (regionMatches): New function.
  6961. * java/lang/String.java (count): Now package-private.
  6962. * java/lang/StringBuffer.java: Merged with Classpath.
  6963. 2003-03-23 Michael Koch <konqueror@gmx.de>
  6964. * java/io/BufferedOutputStream.java:
  6965. Reformated.
  6966. * java/io/BufferedReader.java:
  6967. Reformated.
  6968. * java/io/ByteArrayOutputStream.java
  6969. (size): Fixed @see tag.
  6970. * java/io/CharArrayWriter.java
  6971. (size): Fixed @see tag.
  6972. * java/io/DataInput.java:
  6973. Reformated.
  6974. * java/io/DataOutput.java:
  6975. Reformated.
  6976. * java/io/DataOutputStream.java:
  6977. Merged copyright years with classpath.
  6978. * java/io/Externalizable.java:
  6979. Reformated.
  6980. * java/io/FileFilter.java:
  6981. Reformated.
  6982. * java/io/FileInputStream.java:
  6983. Merged copyright years with classpath.
  6984. * java/io/FileOutputStream.java:
  6985. Merged copyright years with classpath.
  6986. * java/io/FilePermission.java
  6987. (FilePermission): Replaced @XXX with FIXME:.
  6988. * java/io/FileWriter.java:
  6989. Reformated.
  6990. * java/io/FilenameFilter.java:
  6991. Reformated.
  6992. * java/io/FilterInputStream.java:
  6993. Reformated.
  6994. * java/io/FilterOutputStream.java:
  6995. Reformated.
  6996. * java/io/FilterReader.java:
  6997. Reformated.
  6998. * java/io/FilterWriter.java:
  6999. Reformated.
  7000. * java/io/LineNumberInputStream.java
  7001. (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
  7002. happy.
  7003. (getLineNumber): Fixed @return tag.
  7004. * java/io/ObjectInput.java:
  7005. Reformated.
  7006. * java/io/ObjectOutput.java:
  7007. Reformated.
  7008. * java/io/ObjectStreamClass.java:
  7009. Reformated.
  7010. * java/io/PrintStream.java:
  7011. Merged copyright years with classpath.
  7012. * java/io/PushbackReader.java
  7013. (PushbackReader): Replaced @code with @param.
  7014. * java/io/SerializablePermission.java:
  7015. Reformated.
  7016. * java/io/StreamTokenizer.java
  7017. (resetSyntax): Fixed @see tag.
  7018. 2003-03-22 Richard Henderson <rth@redhat.com>
  7019. * sysdep/ia64/locks.h: Include ia64intrin.h.
  7020. (compare_and_swap): Use __sync_bool_compare_and_swap.
  7021. (compare_and_swap_release): Expose ar.ccv assignment.
  7022. 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
  7023. * include/posix.h: Add suffix for darwin dynamic libraries.
  7024. 2003-03-21 Michael Koch <konqueror@gmx.de>
  7025. * javax/swing/Action.java
  7026. (ACCELERATOR_KEY): New constant.
  7027. (ACTION_COMMAND_KEY): Likewise.
  7028. (MNEMONIC_KEY): Likewise.
  7029. * javax/swing/UnsupportedLookAndFeelException.java
  7030. (UnsupportedLookAndFeelException): Must be public.
  7031. * javax/swing/WindowConstants.java
  7032. (EXIT_ON_CLOSE): New constant.
  7033. * javax/swing/text/BadLocationException.java
  7034. (offset): New member variable.
  7035. (BadLocationException): New implementation, documentation added.
  7036. (offsetRequested): New method.
  7037. * javax/swing/text/Caret.java:
  7038. Reformated.
  7039. * javax/swing/text/Document.java:
  7040. Reformated.
  7041. 2003-03-21 Michael Koch <konqueror@gmx.de>
  7042. * java/rmi/activation/Activatable.java
  7043. (serialVersionUID): New member variable.
  7044. * java/rmi/activation/ActivationGroup.java
  7045. (serialVersionUID): New member variable.
  7046. * java/rmi/activation/ActivationGroupDesc.java
  7047. (serialVersionUID): New member variable.
  7048. * java/rmi/registry/Registry.java:
  7049. Reformated.
  7050. (Registry): Deprecated.
  7051. * java/rmi/server/LoaderHandler.java
  7052. Reformated.
  7053. (LoaderHandler): Deprecated.
  7054. * java/rmi/server/LogStream.java
  7055. Reformated.
  7056. (LogStream): Deprecated.
  7057. * java/rmi/server/Operation.java
  7058. (Operation): Deprecated.
  7059. * java/rmi/server/RMIFailureHandler.java:
  7060. Reformated.
  7061. * java/rmi/server/RMISocketFactory.java:
  7062. Reformated.
  7063. * java/rmi/server/RemoteCall.java
  7064. (RemoteCall): Deprecated.
  7065. * java/rmi/server/RemoteStub.java:
  7066. Reformated.
  7067. * java/rmi/server/Skeleton.java
  7068. Reformated.
  7069. (Skeleton): Deprecated.
  7070. 2003-03-21 Michael Koch <konqueror@gmx.de>
  7071. * java/io/LineNumberReader.java
  7072. (LineNumberReader): Merged documentation with classpath.
  7073. (getLineNumber): Likewise.
  7074. (setLineNumber): Likewise.
  7075. (mark): Likewise.
  7076. (reset): Likewise.
  7077. (read): Likewise.
  7078. (readLine): Likewise.
  7079. (skip): Likewise.
  7080. 2003-03-21 Michael Koch <konqueror@gmx.de>
  7081. * java/rmi/RMISecurityManager.java
  7082. (checkAccept): Removed.
  7083. (checkAccess): Likewise.
  7084. (checkAccess): Likewise.
  7085. (checkAwtEventQueueAccess): Likewise.
  7086. (checkConnect): Likewise.
  7087. (checkCreateClassLoader): Likewise.
  7088. (checkDelete): Likewise.
  7089. (checkExec): Likewise.
  7090. (checkExit): Likewise.
  7091. (checkLink): Likewise.
  7092. (checkListen): Likewise.
  7093. (checkMemberAccess): Likewise.
  7094. (checkMulticast): Likewise.
  7095. (checkPackageAccess): Likewise.
  7096. (checkPackageDefinition): Likewise.
  7097. (checkPermission): Likewise.
  7098. (checkPrintJobAccess): Likewise.
  7099. (checkPropertiesAccess): Likewise.
  7100. (checkPropertyAccess): Likewise.
  7101. (checkRead): Likewise.
  7102. (checkSecurityAccess): Likewise.
  7103. (checkSetFactory): Likewise.
  7104. (checkSystemClipboardAccess): Likewise.
  7105. (checkTopLevelWindow): Likewise.
  7106. (checkWrite): Likewise.
  7107. 2003-03-20 Michael Koch <konqueror@gmx.de>
  7108. * gnu/java/nio/FileChannelImpl.java
  7109. (address): Removed.
  7110. (map_address): New member variable.
  7111. (length): Make it package private.
  7112. (fd): Make it package private.
  7113. (buf): Make it package private.
  7114. (file_obj): Make it package private.
  7115. (FileChannelImpl): New constructor.
  7116. (nio_mmap_file): Use RawData instead of long.
  7117. (nio_munmap_file): Use RawData instead of long.
  7118. (nio_msync): Use RawData instead of long.
  7119. (implCloseChannel): New implementation using map_address.
  7120. (read): Reformated.
  7121. (map): Implemented.
  7122. (create_direct_mapped_buffer): Implemented, use RawData, throws
  7123. IOException.
  7124. (force): Use map_address instead of address.
  7125. * gnu/java/nio/MappedByteFileBuffer.java
  7126. (address): Removed.
  7127. (map_address): New member variable.
  7128. (MappedByteFileBuffer): Use map_address instead of address, reformated.
  7129. (several methods): Use map_address instead of address, replaced long
  7130. with RawData where appropriate.
  7131. * gnu/java/nio/natFileChannelImpl.cc
  7132. (nio_mmap_file): Replaced long with RawData.
  7133. (nio_munmap_file): Replaced long with RawData.
  7134. (nio_msync): Replaced long with RawData.
  7135. * gnu/java/nio/natMappedByteFileBuffer.cc
  7136. (several methods): Replaced long with RawData where appropriate.
  7137. 2003-03-20 Michael Koch <konqueror@gmx.de>
  7138. * java/net/InetAddress.java,
  7139. java/net/JarURLConnection.java,
  7140. java/net/PlainDatagramSocketImpl.java,
  7141. java/net/PlainSocketImpl.java,
  7142. java/net/URLConnection.java:
  7143. Merged copyright statements with classpath for easier merging.
  7144. 2003-03-20 Michael Koch <konqueror@gmx.de>
  7145. * java/io/FileInputStream.java
  7146. (getChannel): New implementation.
  7147. * java/io/FileOutputStream.java
  7148. (ch): New member variable.
  7149. (getChannel): Implemented.
  7150. * java/io/RandomAccessFile.java
  7151. (RandomAccessFile): Throws FileNotFoundException instead of
  7152. IOException.
  7153. (getChannel): New method.
  7154. (ch): New member variable.
  7155. 2003-03-20 Michael Koch <konqueror@gmx.de>
  7156. * java/io/DataOutputStream.java,
  7157. java/io/File.java,
  7158. java/io/FileInputStream.java,
  7159. java/io/FileOutputStream.java,
  7160. java/io/InputStreamReader.java,
  7161. java/io/LineNumberReader.java,
  7162. java/io/OutputStreamWriter.java,
  7163. java/io/PrintStream.java,
  7164. java/io/RandomAccessFile.java:
  7165. Merged copyright statements with classpath for easier merging.
  7166. 2003-03-19 Michael Koch <konqueror@gmx.de>
  7167. * java/lang/Process.java:
  7168. Merged from classpath.
  7169. 2003-03-19 Michael Koch <konqueror@gmx.de>
  7170. * java/io/FileOutputStream.java
  7171. (FileOutputStream): New constructor, merged from classpath.
  7172. * java/io/FileWriter.java
  7173. (FileWriter): New constructor, merged from classpath.
  7174. 2003-03-18 Michael Koch <konqueror@gmx.de>
  7175. * java/awt/ScrollPane.java
  7176. (ScrollPane): Rewrote for new ScrollPaneAdjustable.
  7177. (getViewportSize): Likewise.
  7178. (addNotify): Likewise.
  7179. (removeNotify): Likewise.
  7180. * java/awt/ScrollPaneAdjustable.java
  7181. (ScrollPaneAdjustable): No longer extends Scrollbar.
  7182. * java/beans/beancontext/BeanContextServices.java:
  7183. Reformated.
  7184. (getService): Added throws TooManyListenersException;
  7185. * java/beans/beancontext/BeanContextServicesSupport.java:
  7186. Reformated.
  7187. 2003-03-18 Michael Koch <konqueror@gmx.de>
  7188. * java/io/BufferedOutputStream.java,
  7189. java/io/DataInput.java,
  7190. java/io/DataInputStream.java,
  7191. java/io/DataOutput.java,
  7192. java/io/Externalizable.java:
  7193. More merges from classpath.
  7194. 2003-03-18 Michael Koch <konqueror@gmx.de>
  7195. * configure.in: Fixed links to platform dependant java.net files.
  7196. * configure: Regenerated.
  7197. * java/net/natInetAddress.cc,
  7198. java/net/natNetworkInterface.cc,
  7199. java/net/natPlainDatagramSocketImpl.cc,
  7200. java/net/natPlainSocketImpl.cc:
  7201. Removed.
  7202. 2003-03-18 Michael Koch <konqueror@gmx.de>
  7203. * configure.in: Create links to architecture dependent files,
  7204. introduced PLATFORMNET variable (set to NoNet for newlib usage).
  7205. * configure: Regenerated.
  7206. * java/net/natInetAddressNoNet.cc,
  7207. java/net/natInetAddressPosix.cc,
  7208. java/net/natInetAddressWin32.cc,
  7209. java/net/natNetworkInterfaceNoNet.cc,
  7210. java/net/natNetworkInterfacePosix.cc,
  7211. java/net/natNetworkInterfaceWin32.cc,
  7212. java/net/natPlainDatagramSocketImplNoNet.cc,
  7213. java/net/natPlainDatagramSocketImplPosix.cc,
  7214. java/net/natPlainDatagramSocketImplWin32.cc,
  7215. java/net/natPlainSocketImplNoNet.cc,
  7216. java/net/natPlainSocketImplPosix.cc,
  7217. java/net/natPlainSocketImplWin32.cc: New files.
  7218. 2003-03-18 Michael Koch <konqueror@gmx.de>
  7219. * java/io/BufferedReader.java,
  7220. java/io/BufferedWriter.java,
  7221. java/io/ByteArrayOutputStream.java,
  7222. java/io/FileFilter.java,
  7223. java/io/FilePermission.java,
  7224. java/io/FileReader.java,
  7225. java/io/FileWriter.java,
  7226. java/io/FilenameFilter.java,
  7227. java/io/FilterInputStream.java,
  7228. java/io/FilterOutputStream.java,
  7229. java/io/FilterReader.java,
  7230. java/io/FilterWriter.java,
  7231. java/io/ObjectInput.java,
  7232. java/io/ObjectInputValidation.java,
  7233. java/io/ObjectOutput.java,
  7234. java/io/ObjectStreamField.java,
  7235. java/io/PipedInputStream.java,
  7236. java/io/PipedReader.java,
  7237. java/io/PrintWriter.java,
  7238. java/io/PushbackReader.java,
  7239. java/io/Reader.java,
  7240. java/io/SerializablePermission.java,
  7241. java/io/StringReader.java,
  7242. java/io/Writer.java:
  7243. Merged from classpath.
  7244. 2003-03-17 Michael Koch <konqueror@gmx.de>
  7245. * java/awt/ScrollPaneAdjustable.java:
  7246. Compile fixes.
  7247. 2003-03-17 Michael Koch <konqueror@gmx.de>
  7248. * java/net/DatagramSocket.java
  7249. (connect): Fixed comment.
  7250. * java/nio/ByteBuffer.java
  7251. (hasArray): Fixed comment.
  7252. 2003-03-17 Michael Koch <konqueror@gmx.de>
  7253. * java/beans/Beans.java:
  7254. Explicitely import classes not packages.
  7255. * java/beans/FeatureDescriptor.java
  7256. (preferred): New member variable.
  7257. (isPreferred): New method.
  7258. (setPreferred): New method.
  7259. * java/beans/PropertyEditorManager.java:
  7260. Explicitely import used classes.
  7261. * java/beans/beancontext/BeanContextChild.java:
  7262. Added line wrapping.
  7263. * java/beans/beancontext/BeanContextChildSupport.java:
  7264. Reindented.
  7265. * java/beans/beancontext/BeanContextEvent.java:
  7266. Reindented.
  7267. 2003-03-17 Michael Koch <konqueror@gmx.de>
  7268. * java/awt/Dialog.java
  7269. (Dialog): New constructor, changed implementations, added
  7270. documentation.
  7271. * java/awt/ScrollPaneAdjustable.java
  7272. (ScrollPaneAdjustable): Extends Object, implements Adjustable and
  7273. Serializable.
  7274. (serialVersionUID): New member variable.
  7275. (sp): New member variable.
  7276. (orientation): New member variable.
  7277. (value): New member variable.
  7278. (minimum): New member variable.
  7279. (maximum): New member variable.
  7280. (visibleAmount): New member variable.
  7281. (unitIncrement): New member variable.
  7282. (blockIncrement): New member variable.
  7283. (AdjustmentListener): New member variable.
  7284. (ScrollPaneAdjustable): New implementation.
  7285. (addAdjustmentListener): New method.
  7286. (removeAdjustmentListener): New method.
  7287. (getAdjustmentListeners): New method.
  7288. (getBlockIncrement): New method.
  7289. (getMaximum): New method.
  7290. (getMinimum): New method.
  7291. (getOrientation): New method.
  7292. (getUnitIncrement): New method.
  7293. (getValue): New method.
  7294. (getVisibleAmount): New method.
  7295. (setBlockIncrement): New method.
  7296. (setMaximum): Implemented.
  7297. (setMinimum): Implemented.
  7298. (setUnitIncrement): New method.
  7299. (setValue): New method.
  7300. (setVisibleAmount): Implemented.
  7301. (paramString): New stubbed method.
  7302. * java/awt/Window.java
  7303. (show): Call setVisible().
  7304. (hide): Call setVisible().
  7305. (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
  7306. and WINDOW_STATE_CHANGED.
  7307. (processWindowFocusEvent): New method.
  7308. (processWindowStateEvent): New method.
  7309. (postEvent): Deprecated.
  7310. (applyResourceBundle): Deprecated.
  7311. * java/awt/datatransfer/DataFlavor.java
  7312. (DataFlavor): Doesn't thow ClassNotFoundException.
  7313. 2003-03-17 Michael Koch
  7314. * javax/print/attribute/Attribute.java,
  7315. javax/print/attribute/AttributeSet.java,
  7316. javax/print/attribute/PrintRequestAttributeSet.java:
  7317. New files.
  7318. * Makefile.am
  7319. (javax_source_files): Added new files:
  7320. javax/print/attribute/Attribute.java
  7321. javax/print/attribute/AttributeSet.java
  7322. javax/print/attribute/PrintRequestAttributeSet.java
  7323. * Makefile.in: Regenerated.
  7324. 2003-03-17 Michael Koch
  7325. * javax/print/attribute/Attribute.java,
  7326. javax/print/attribute/AttributeSet.java,
  7327. javax/print/attribute/PrintRequestAttributeSet.java:
  7328. New files.
  7329. * Makefile.am
  7330. (awt_java_source_files): Added new files:
  7331. javax/print/attribute/Attribute.java
  7332. javax/print/attribute/AttributeSet.java
  7333. javax/print/attribute/PrintRequestAttributeSet.java
  7334. * Makefile.in: Regenerated.
  7335. 2003-03-16 Tom Tromey <tromey@redhat.com>
  7336. * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
  7337. Include platform.h.
  7338. * java/lang/natRuntime.cc (insertSystemProperties): Use
  7339. _Jv_platform_path_separator.
  7340. (nativeGetLibname): Use _Jv_platform_file_separator.
  7341. (_load): Use _Jv_platform_onload_names.
  7342. (onload_names): New global.
  7343. * include/win32.h (_Jv_platform_file_separator): New define.
  7344. (_Jv_platform_path_separator): Likewise.
  7345. (_Jv_platform_onload_names): Likewise.
  7346. (_Jv_platform_ffi_abi): Likewise.
  7347. * include/posix.h (_Jv_platform_file_separator): New define.
  7348. (_Jv_platform_path_separator): Likewise.
  7349. (_Jv_platform_onload_names): Likewise.
  7350. (_Jv_platform_ffi_abi): Likewise.
  7351. 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
  7352. * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
  7353. 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
  7354. * java/io/ObjectInputStream.java (readObject): Cleaned up the class
  7355. hierarchy loop.
  7356. (readFields(Object,ObjectStreamField[],boolean)): Changed argument
  7357. list to Object,ObjectStreamClass, moved callReadMethod code up into
  7358. readObject and added Class argument to all setXxxField calls.
  7359. (callReadMethod): Changed Class argument to ObjectStreamClass to be
  7360. consistent with ObjectOutputStream and to facilitate caching the
  7361. Method in the future.
  7362. (setBooleanField): Added Class argument.
  7363. (setByteField): Likewise.
  7364. (setCharField): Likewise.
  7365. (setDoubleField): Likewise.
  7366. (setFloatField): Likewise.
  7367. (setIntField): Likewise.
  7368. (setLongField): Likewise.
  7369. (setShortField): Likewise.
  7370. (setObjectField): Likewise.
  7371. * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
  7372. class hierarchy loop.
  7373. (defaultWriteObject): Call writeFields with new argument list.
  7374. (writeFields(Object,ObjectStreamField[],boolean): Changed argument
  7375. list to Object,ObjectStreamClass, moved callWriteMethod up into
  7376. writeObject and added Class argument to all getXxxField calls.
  7377. (callWriteMethod): Added ObjectStreamClass argument to be able to
  7378. get the proper class to call getMethod on (each class can have (or
  7379. not have) its own writeObject method).
  7380. (getBooleanField): Added Class argument.
  7381. (getByteField): Likewise.
  7382. (getCharField): Likewise.
  7383. (getDoubleField): Likewise.
  7384. (getFloatField): Likewise.
  7385. (getIntField): Likewise.
  7386. (getLongField): Likewise.
  7387. (getShortField): Likewise.
  7388. (getObjectField): Likewise.
  7389. * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
  7390. facilitate caching the Method object in the future.
  7391. 2003-03-12 Andreas Schwab <schwab@suse.de>
  7392. * configure.in: Avoid trailing /. in toolexeclibdir.
  7393. * configure: Rebuilt.
  7394. 2003-03-11 Michael Koch <konqueror@gmx.de>
  7395. * gnu/java/nio/ByteBufferImpl.java
  7396. (putInt): Use limit() instead of limit.
  7397. * gnu/java/nio/CharBufferImpl.java
  7398. (slice): Fixed implementation.
  7399. (subSequence): Better bounds checking.
  7400. * gnu/java/nio/MappedByteFileBuffer.java:
  7401. Import all needed classes directly.
  7402. * java/nio/ByteBuffer.java
  7403. (hashCode): New dummy method.
  7404. * java/nio/CharBuffer.java
  7405. (array_offset): New member variable.
  7406. (hasArray): Fixed documentation.
  7407. (arrayOffset): Return array_offset.
  7408. 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
  7409. * include/jvm.h: removed declaration of _Jv_ThisExecutable()
  7410. setter; made return value of getter const char* instead of char*
  7411. * prims.cc: removed all references to _Jv_ThisExecutable().
  7412. These are in the platform-specific sections now.
  7413. * posix.cc: define platform-specific _Jv_ThisExecutable().
  7414. Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
  7415. * win32.cc: define platform-specific _Jv_ThisExecutable()
  7416. using GetModuleFilename()
  7417. * java/lang/natRuntime.cc: set gnu.gcj.progname property
  7418. to argv[0] instead of _Jv_ThisExecutable()
  7419. 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
  7420. * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
  7421. that is set if we are using addr2name.awk instead of addr2line.
  7422. (NameFinder): Set usingAddr2name if using addr2name.awk.
  7423. (getExternalLabel): New native method to convert a method
  7424. name to an external label.
  7425. (lookup): Convert name given by addr2line to an external label
  7426. before demangling.
  7427. * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
  7428. constant representing the prefix attached to method names to
  7429. convert them to an external label.
  7430. (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
  7431. using LABEL_PREFIX.
  7432. 2003-03-10 Tom Tromey <tromey@redhat.com>
  7433. * Makefile.in: Rebuilt.
  7434. * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
  7435. (JC1FLAGS): Removed -Wno-deprecated.
  7436. 2003-03-10 Michael Koch <konqueror@gmx.de>
  7437. * java/nio/ByteOrder.java
  7438. (nativeOrder): Working implementation, added documentation.
  7439. (toString): Added documentation.
  7440. 2003-03-10 Michael Koch <konqueror@gmx.de>
  7441. * java/net/DatagramSocket.java,
  7442. java/net/MulticastSocket.java,
  7443. java/net/Socket.java,
  7444. java/net/URL.java,
  7445. java/net/URLConnection.java:
  7446. Fixed some documentation tags to make javadoc and friends happy.
  7447. 2003-03-10 Michael Koch <koqnueror@gmx.de>
  7448. * java/beans/beancontext/BeanContextServicesSupport.java,
  7449. java/beans/beancontext/BeanContextSupport.java: New files.
  7450. * Makefile.am
  7451. (awt_source_files): Added new files.
  7452. * Makefile.in: Regenerated.
  7453. 2003-03-10 Michael Koch <konqueror@gmx.de>
  7454. * java/awt/FocusTraversalPolicy.java
  7455. (FocusTraversalPolicy): Documentation added.
  7456. (getComponentAfter): Documentation added.
  7457. (getComponentBefore): Documentation added.
  7458. (getFirstComponent): Documentation added.
  7459. (getLastComponent): Documentation added.
  7460. (getDefaultComponent): Documentation added.
  7461. (getInitialComponent): Documentation added.
  7462. * java/awt/ScrollPaneAdjustable.java
  7463. (sp): New member variable.
  7464. (orientation): New member variable.
  7465. (value): New member variable.
  7466. (minimum): New member variable.
  7467. (maximum): New member variable.
  7468. (visibleAmount): New member variable.
  7469. (unitIncrement): New member variable.
  7470. (blockIncrement): New member variable.
  7471. (adjustmentListener): New member variable.
  7472. (ScrollPaneAdjustable): Rewrote.
  7473. (addAdjustmentListener): New method.
  7474. (removeAdjustmentListener): New method.
  7475. (getAdjustmentListeners): New method.
  7476. (getBlockIncrement): New method.
  7477. (getMaximum): New method.
  7478. (getMinimum): New method.
  7479. (getOrientation): New method.
  7480. (getUnitIncrement): New method.
  7481. (getValue): New method.
  7482. (getVisibleAmount): New method.
  7483. (setBlockIncrement): New method.
  7484. (setUnitIncrement): New method.
  7485. (setMaximum): Implemented.
  7486. (setMinimum): Implemented.
  7487. (setValue): New method.
  7488. (setVisibleAmount): Implemented.
  7489. (paramString): New method.
  7490. * java/awt/Window.java
  7491. (show): Use setVisible(true) instead of super.show().
  7492. (hide): Use sevVisible(false) instead of super.hide().
  7493. (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
  7494. WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
  7495. (postEvent): Deprecated.
  7496. (applyResourceBundle): Deprecated.
  7497. (processWindowFocusEvent): New method.
  7498. (processWindowStateEvent): New method.
  7499. * java/awt/datatransfer/DataFlavor.java: Reindented.
  7500. * java/awt/font/TextHitInfo.java
  7501. (charIndex): New member variable.
  7502. (leadingEdge): New member variable.
  7503. (TextHitInfo): New constructor.
  7504. (getCharIndex): Implemented.
  7505. (isLeadingEdge): Implemented.
  7506. (getInsertionIndex): Implemented.
  7507. (hashCode): Access charIndex directly.
  7508. (equals): Reformated.
  7509. (leading): Implemented.
  7510. (trailing): Implemented.
  7511. (beforeOffset): Implemented.
  7512. (afterOffset): Implemented.
  7513. (getOtherHit): Implemented.
  7514. (getOffsetHit): Implemented.
  7515. (toString): Implemented.
  7516. * java/awt/image/BufferedImage.java
  7517. (BufferedImage): Implements WritableRenderedImage.
  7518. (observers): New member variable.
  7519. (addTileObserver): New method.
  7520. (removeTileObserver): New method.
  7521. 2003-03-09 Tom Tromey <tromey@redhat.com>
  7522. PR libgcj/9934:
  7523. * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
  7524. to lseek. Return 0 if we can't compute the value.
  7525. 2003-03-03 Michael Koch <konqueror@gmx.de>
  7526. * java/net/NetworkInterface.java: Merged with classpath.
  7527. 2003-03-03 Tom Tromey <tromey@redhat.com>
  7528. * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
  7529. of bytecode.
  7530. (handle_ret_insn): Fail if returning to jsr that appears at end of
  7531. bytecode.
  7532. 2003-03-03 Michael Koch <konqueror@gmx.de>
  7533. * Makefile.am
  7534. (ordinary_java_source_files):
  7535. Added gnu/java/nio/MappedByteFileBuffer.java.
  7536. (nat_source_files):
  7537. Added gnu/java/nio/natMappedByteFileBuffer.cc.
  7538. * Makefile.in: Regenerated.
  7539. 2003-03-03 Michael Koch <konqueror@gmx.de>
  7540. * java/net/DatagramSocket.java
  7541. (connect): Merged comment from classpath.
  7542. (receive): Merged documentation from classpath.
  7543. * java/net/Socket.java
  7544. (setSoTimeout): Clarified documentation.
  7545. * java/net/URL.java
  7546. (getPath): Merged from classpath.
  7547. (getUserInfo): Merged from classpath.
  7548. (getQuery): Merged from classpath.
  7549. * java/net/URLStreamHandler.java
  7550. (toExternalForm): Merged from classpath.
  7551. 2003-03-02 Mark Wielaard <mark@klomp.org>
  7552. * java/util/Properties.java (load): Only skip line if the first
  7553. character is a comment, whitespaces don't count.
  7554. 2003-03-02 Michael Koch <konqueror@gmx.de>
  7555. * java/net/NetPermission.java:
  7556. Merged copyright with classpath.
  7557. 2003-03-02 Michael Koch <konqueror@gmx.de>
  7558. * java/lang/Package.java:
  7559. Remerged from classpath.
  7560. 2003-03-02 Michael Koch <konqueror@gmx.de>
  7561. * java/net/HttpURLConnection.java
  7562. (HTTP_SERVER_ERROR): Deprecated.
  7563. * java/net/MulticastSocket.java
  7564. (send): Replaced checkMulticast with appropriate checkPermission call,
  7565. deprecated.
  7566. * java/net/URLDecoder.java
  7567. (decode): Deprecated.
  7568. * java/net/URLEncoder.java
  7569. (encode): Deprecated.
  7570. 2003-03-02 Michael Koch <konqueror@gmx.de>
  7571. * javax/swing/text/Caret.java
  7572. (getMagicCaretPosition): Fixed typo in method name.
  7573. * javax/swing/text/DefaultCaret.java
  7574. (getMagicCaretPosition): Fixed typo in method name.
  7575. 2003-03-02 Michael Koch <konqueror@gmx.de>
  7576. * java/awt/List.java
  7577. (setMultipleSelections): Deprecated.
  7578. (delItem): Deprecated.
  7579. * java/awt/MenuComponent.java
  7580. (getPeer): Deprecated.
  7581. * java/awt/ScrollPane.java
  7582. (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
  7583. * java/awt/dnd/MouseDragGestureRecognizer.java
  7584. (mouseClicked): Added comment.
  7585. (mousePressed): Added comment.
  7586. (mouseReleased): Added comment.
  7587. (mouseEntered): Added comment.
  7588. (mouseExited): Added comment.
  7589. (mouseDragged): Added comment.
  7590. (mouseMoved): Added comment.
  7591. * java/awt/event/KeyEvent.java
  7592. (KeyEvent): Deprecated.
  7593. (setModifiers): Deprecated.
  7594. 2003-03-02 Michael Koch <konqueror@gmx.de>
  7595. * gnu/java/nio/FileChannelImpl.java
  7596. (fd): Type FileDescriptor instead of int.
  7597. (lengthInternal): Removed.
  7598. (FileChannelImpl): Fixed arguments, check type of file object.
  7599. (size): Made it native.
  7600. (implPosition): New native method.
  7601. (implTruncate): New native method.
  7602. (position): Implemented.
  7603. (truncate): Implemented.
  7604. (nio_mmap_file): Changed arguments.
  7605. (nio_munmap_file): Changed arguments.
  7606. (nio_msync): Changed arguments.
  7607. * gnu/java/nio/natFileChannelImpl.cc
  7608. (lengthInternal): Removed.
  7609. (size): New method.
  7610. (implPosition): New method.
  7611. (implTruncate): New method.
  7612. (nio_mmap_file): Changed arguments.
  7613. (nio_munmap_file): Changed arguments.
  7614. (nio_msync): Changed arguments.
  7615. 2003-03-02 Michael Koch <konqueror@gmx.de>
  7616. * java/awt/dnd/DropTargetContext.java:
  7617. Compile fix: Forgot to commit import.
  7618. 2003-03-02 Michael Koch <konqueror@gmx.de>
  7619. * java/awt/Component.java,
  7620. java/awt/ScrollPane.java:
  7621. Fixed typos.
  7622. 2003-03-02 Michael Koch <konqueror@gmx.de>
  7623. * java/awt/dnd/DnDEventMulticaster.java: New file.
  7624. * java/awt/dnd/DragSource.java
  7625. (flavorMap): New member variable.
  7626. (dragSourceListener): New member variable.
  7627. (dragSourceMotionListener): New member variable.
  7628. (getFlavorMap): Implemented.
  7629. (createDragGestureRecognizer): Implemented.
  7630. (addDragSourceListener): Implemented.
  7631. (removeDragSourceListener): Implemented.
  7632. (getDragSourceListeners): Implemented.
  7633. (addDragSourceMotionListener): Implemented.
  7634. (removeDragSourceMotionListener): Implemented.
  7635. (getDragSourceMotionListeners): Implemented.
  7636. (getListeners): Implemented.
  7637. * java/awt/dnd/DragSourceContext.java
  7638. (peer): New member variable.
  7639. (cursor): New member variable.
  7640. (transferable): New member variable.
  7641. (trigger): New member variable.
  7642. (dragSourceListener): New member variable.
  7643. (image): New member variable.
  7644. (offset): New member variable.
  7645. (DragSourceContext): Implemented.
  7646. (getDragSource): Implemented.
  7647. (getComponent): Implemented.
  7648. (getTrigger): Implemented.
  7649. (getSourceActions): Implemented.
  7650. (setCursor): Implemented.
  7651. (getCursor): Implemented.
  7652. (addDragSourceListener): Implemented.
  7653. (removeDragSourceListener): Implemented.
  7654. (getTransferable): Implemented.
  7655. * java/awt/dnd/DropTarget.java
  7656. (DropTargetAutoScroller.component): New member variable.
  7657. (DropTargetAutoScroller.point): New member variable.
  7658. (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
  7659. (DropTargetAutoScroller.updateLocation): Implemented.
  7660. (active): Renamed from isActive, defaults to true now.
  7661. (component): New member variable.
  7662. (flavorMap): New member variable.
  7663. (actions): New member variable.
  7664. (dropTargetContext): New member variable.
  7665. (dropTargetListener): New member variable.
  7666. (DropTarget): Implemented.
  7667. (getComponent): Implemented.
  7668. (setComponent): Implemented.
  7669. (setDefaultActions): Implemented.
  7670. (getDefaultActions): Implemented.
  7671. (setActive): Use active instead of isActive.
  7672. (isActive): Use active instead of isActive.
  7673. (addDropTargetListener): Implemented.
  7674. (removeDropTargetListener): Implemented.
  7675. (getFlavorMap): Implemented.
  7676. (setFlavorMap): Implemented.
  7677. (getDropTargetContext): Implemented.
  7678. (createDropTargetContext): Implemented.
  7679. (createDropTargetAutoScroller): Implemented.
  7680. * java/awt/dnd/DropTargetContext.java
  7681. (TransferableProxy.getTransferDataFlavors): Implemented.
  7682. (TransferableProxy.isDataFlavorSupported): Implemented.
  7683. (TransferableProxy.getTransferData): Implemented.
  7684. (dropTarget): New member variable.
  7685. (dtcp): New member variable.
  7686. (DropTargetContext): New package private constructor.
  7687. (getDropTarget): Implemented.
  7688. (getComponent): Implemented.
  7689. (addNotify): Implemented.
  7690. (removeNotify): Implemented.
  7691. (getCurrentDataFlavorsAsList): Implemented.
  7692. (isDataFlavorSupported): Implemented.
  7693. * java/awt/dnd/MouseDragGestureRecognizer.java
  7694. (registerListeners): Implemented.
  7695. (unregisterListeners): Implemented.
  7696. * Makefile.am
  7697. (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
  7698. * Makefile.in: Regenerated.
  7699. 2003-03-02 Michael Koch <konqueror@gmx.de>
  7700. * java/awt/Component.java
  7701. (eventTypeEnabled): New method.
  7702. (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
  7703. * java/awt/Container.java
  7704. (changeSupport): New member variable.
  7705. (addPropertyChangeListener): New methods.
  7706. * java/awt/ContainerOrderFocusTraversalPolicy.java
  7707. (ContainerOrderFocusTraversalPolicy): Added comment.
  7708. (getComponentAfter): Throw exception, documentation added.
  7709. (getComponentBefore): Throw exception, documentation added.
  7710. (getFirstComponent): Throw exception, documentation added.
  7711. (getLastComponent): Throw exception, documentation added.
  7712. (getDefaultComponent): Throw exception, documentation added.
  7713. * java/awt/EventQueue.java: Reindented.
  7714. * java/awt/FocusTraversalPolicy.java:
  7715. (FocusTraversalPolicy): Added comment.
  7716. (getComponentAfter): Documentation added.
  7717. (getComponentBefore): Documentation added.
  7718. (getFirstComponent): Documentation added.
  7719. (getLastComponent): Documentation added.
  7720. (getDefaultComponent): Documentation added.
  7721. (getInitialComponent): Documentation added.
  7722. * java/awt/ScrollPane.java
  7723. (wheelScrollingEnabled): New member variable.
  7724. (ScrollPane): Initialize wheelScollingEnabled.
  7725. (eventTypeEnabled): New method.
  7726. (isWheelScrollingEnabled): New method.
  7727. (setWheelScrollingEnabled): New method.
  7728. 2003-03-02 Michael Koch <konqueror@gmx.de>
  7729. * java/net/DatagramSocket.java
  7730. (closed): New member variable.
  7731. (close): Use closed variable.
  7732. (getInetAddress): No need to call isConnected().
  7733. (getPort): No need to call isConnected().
  7734. (disconnect): Reset remoteAddress and remotePort, fixed typo.
  7735. (isClosed): Reimplemented.
  7736. 2003-03-02 Michael Koch <konqueror@gmx.de>
  7737. * configure.in: Added check for memory mapping of files.
  7738. * configure: Regenerated.
  7739. * config.h.in: Regenerated.
  7740. 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
  7741. * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
  7742. (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
  7743. 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
  7744. * java/io/File.java (normalizePath): Remove trailing separator
  7745. on Windows only if path is not of the form "x:\".
  7746. * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
  7747. (java::io::File::attr): Change formatting a bit and use
  7748. WIN32_EPOCH_MILLIS instead of magic numbers.
  7749. (java::io::File::isAbsolute): Path must have at least 3
  7750. characters for a UNC network path.
  7751. (java::io::File::init_native): Define.
  7752. (java::io::File::performCreate): Likewise.
  7753. (java::io::File::performSetReadOnly): Likewise.
  7754. (java::io::File::performSetLastModified): Likewise.
  7755. (java::io::File::performListRoots): Likewise.
  7756. 2003-03-01 Tom Tromey <tromey@redhat.com>
  7757. * java/lang/natObject.cc: Don't include assert.h.
  7758. (heavy_lock_obj_finalization_proc): Use JvAssert.
  7759. (remove_all_heavy): Likewise.
  7760. (_Jv_MonitorEnter): Likewise.
  7761. (_Jv_MonitorExit): Likewise.
  7762. (wait): Likewise.
  7763. 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
  7764. * java/io/File (getAbsolutePath): Prefix drive specifier on
  7765. Windows for paths starting with a '\'.
  7766. (toURL): Make URL more consistent with what Sun's JDK returns.
  7767. * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
  7768. true only if the path is a UNC network path or it starts with a
  7769. drive specifier.
  7770. * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
  7771. Be prepared to handle either '/' or '\\' in the file path for
  7772. Windows if using the "file" protocol.
  7773. Canonicalise the file path if using a relative path in the given
  7774. context and the "file" protocol.
  7775. 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
  7776. * java/lang/natWin32Process.cc (startProcess): Double-quote each
  7777. program array element passed to CreateProcess.
  7778. 2003-03-01 Tom Tromey <tromey@redhat.com>
  7779. * java/rmi/registry/RegistryHandler.java: Deprecate.
  7780. 2003-03-01 Tom Tromey <tromey@redhat.com>
  7781. * javax/accessibility/AccessibleEditableText.java,
  7782. javax/accessibility/AccessibleHyperlink.java: New versions from
  7783. Classpath.
  7784. * gnu/java/locale/LocaleInformation_af_ZA.java,
  7785. gnu/java/locale/LocaleInformation_ar_AE.java,
  7786. gnu/java/locale/LocaleInformation_ar_BH.java,
  7787. gnu/java/locale/LocaleInformation_ar_DZ.java,
  7788. gnu/java/locale/LocaleInformation_ar_EG.java,
  7789. gnu/java/locale/LocaleInformation_ar_IN.java,
  7790. gnu/java/locale/LocaleInformation_ar_IQ.java,
  7791. gnu/java/locale/LocaleInformation_ar_JO.java,
  7792. gnu/java/locale/LocaleInformation_ar_KW.java,
  7793. gnu/java/locale/LocaleInformation_ar_LB.java,
  7794. gnu/java/locale/LocaleInformation_ar_LY.java,
  7795. gnu/java/locale/LocaleInformation_ar_MA.java,
  7796. gnu/java/locale/LocaleInformation_ar_OM.java,
  7797. gnu/java/locale/LocaleInformation_ar_QA.java,
  7798. gnu/java/locale/LocaleInformation_ar_SD.java,
  7799. gnu/java/locale/LocaleInformation_ar_SY.java,
  7800. gnu/java/locale/LocaleInformation_ar_TN.java,
  7801. gnu/java/locale/LocaleInformation_ar_YE.java,
  7802. gnu/java/locale/LocaleInformation_be_BY.java,
  7803. gnu/java/locale/LocaleInformation_bn_IN.java,
  7804. gnu/java/locale/LocaleInformation_br_FR.java,
  7805. gnu/java/locale/LocaleInformation_bs_BA.java,
  7806. gnu/java/locale/LocaleInformation_ca_ES.java,
  7807. gnu/java/locale/LocaleInformation_cs_CZ.java,
  7808. gnu/java/locale/LocaleInformation_cy_GB.java,
  7809. gnu/java/locale/LocaleInformation_da_DK.java,
  7810. gnu/java/locale/LocaleInformation_de_AT.java,
  7811. gnu/java/locale/LocaleInformation_de_BE.java,
  7812. gnu/java/locale/LocaleInformation_de_CH.java,
  7813. gnu/java/locale/LocaleInformation_de_DE.java,
  7814. gnu/java/locale/LocaleInformation_de_LU.java,
  7815. gnu/java/locale/LocaleInformation_el_GR.java,
  7816. gnu/java/locale/LocaleInformation_en_AU.java,
  7817. gnu/java/locale/LocaleInformation_en_BW.java,
  7818. gnu/java/locale/LocaleInformation_en_CA.java,
  7819. gnu/java/locale/LocaleInformation_en_DK.java,
  7820. gnu/java/locale/LocaleInformation_en_GB.java,
  7821. gnu/java/locale/LocaleInformation_en_HK.java,
  7822. gnu/java/locale/LocaleInformation_en_IE.java,
  7823. gnu/java/locale/LocaleInformation_en_IN.java,
  7824. gnu/java/locale/LocaleInformation_en_NZ.java,
  7825. gnu/java/locale/LocaleInformation_en_PH.java,
  7826. gnu/java/locale/LocaleInformation_en_SG.java,
  7827. gnu/java/locale/LocaleInformation_en_US.java,
  7828. gnu/java/locale/LocaleInformation_en_ZA.java,
  7829. gnu/java/locale/LocaleInformation_en_ZW.java,
  7830. gnu/java/locale/LocaleInformation_es_AR.java,
  7831. gnu/java/locale/LocaleInformation_es_BO.java,
  7832. gnu/java/locale/LocaleInformation_es_CL.java,
  7833. gnu/java/locale/LocaleInformation_es_CO.java,
  7834. gnu/java/locale/LocaleInformation_es_CR.java,
  7835. gnu/java/locale/LocaleInformation_es_DO.java,
  7836. gnu/java/locale/LocaleInformation_es_EC.java,
  7837. gnu/java/locale/LocaleInformation_es_ES.java,
  7838. gnu/java/locale/LocaleInformation_es_GT.java,
  7839. gnu/java/locale/LocaleInformation_es_HN.java,
  7840. gnu/java/locale/LocaleInformation_es_MX.java,
  7841. gnu/java/locale/LocaleInformation_es_NI.java,
  7842. gnu/java/locale/LocaleInformation_es_PA.java,
  7843. gnu/java/locale/LocaleInformation_es_PE.java,
  7844. gnu/java/locale/LocaleInformation_es_PR.java,
  7845. gnu/java/locale/LocaleInformation_es_PY.java,
  7846. gnu/java/locale/LocaleInformation_es_SV.java,
  7847. gnu/java/locale/LocaleInformation_es_US.java,
  7848. gnu/java/locale/LocaleInformation_es_UY.java,
  7849. gnu/java/locale/LocaleInformation_es_VE.java,
  7850. gnu/java/locale/LocaleInformation_et_EE.java,
  7851. gnu/java/locale/LocaleInformation_eu_ES.java,
  7852. gnu/java/locale/LocaleInformation_fa_IR.java,
  7853. gnu/java/locale/LocaleInformation_fi_FI.java,
  7854. gnu/java/locale/LocaleInformation_fo_FO.java,
  7855. gnu/java/locale/LocaleInformation_fr_BE.java,
  7856. gnu/java/locale/LocaleInformation_fr_CA.java,
  7857. gnu/java/locale/LocaleInformation_fr_CH.java,
  7858. gnu/java/locale/LocaleInformation_fr_FR.java,
  7859. gnu/java/locale/LocaleInformation_fr_LU.java,
  7860. gnu/java/locale/LocaleInformation_ga_IE.java,
  7861. gnu/java/locale/LocaleInformation_gd_GB.java,
  7862. gnu/java/locale/LocaleInformation_gl_ES.java,
  7863. gnu/java/locale/LocaleInformation_gv_GB.java,
  7864. gnu/java/locale/LocaleInformation_he_IL.java,
  7865. gnu/java/locale/LocaleInformation_hi_IN.java,
  7866. gnu/java/locale/LocaleInformation_hr_HR.java,
  7867. gnu/java/locale/LocaleInformation_hu_HU.java,
  7868. gnu/java/locale/LocaleInformation_id_ID.java,
  7869. gnu/java/locale/LocaleInformation_it_CH.java,
  7870. gnu/java/locale/LocaleInformation_it_IT.java,
  7871. gnu/java/locale/LocaleInformation_iw_IL.java,
  7872. gnu/java/locale/LocaleInformation_ja_JP.java,
  7873. gnu/java/locale/LocaleInformation_ka_GE.java,
  7874. gnu/java/locale/LocaleInformation_kl_GL.java,
  7875. gnu/java/locale/LocaleInformation_ko_KR.java,
  7876. gnu/java/locale/LocaleInformation_kw_GB.java,
  7877. gnu/java/locale/LocaleInformation_lt_LT.java,
  7878. gnu/java/locale/LocaleInformation_lv_LV.java,
  7879. gnu/java/locale/LocaleInformation_mi_NZ.java,
  7880. gnu/java/locale/LocaleInformation_mk_MK.java,
  7881. gnu/java/locale/LocaleInformation_mr_IN.java,
  7882. gnu/java/locale/LocaleInformation_mt_MT.java,
  7883. gnu/java/locale/LocaleInformation_nl_BE.java,
  7884. gnu/java/locale/LocaleInformation_nl_NL.java,
  7885. gnu/java/locale/LocaleInformation_nn_NO.java,
  7886. gnu/java/locale/LocaleInformation_no_NO.java,
  7887. gnu/java/locale/LocaleInformation_oc_FR.java,
  7888. gnu/java/locale/LocaleInformation_pl_PL.java,
  7889. gnu/java/locale/LocaleInformation_pt_BR.java,
  7890. gnu/java/locale/LocaleInformation_pt_PT.java,
  7891. gnu/java/locale/LocaleInformation_ro_RO.java,
  7892. gnu/java/locale/LocaleInformation_ru_RU.java,
  7893. gnu/java/locale/LocaleInformation_ru_UA.java,
  7894. gnu/java/locale/LocaleInformation_se_NO.java,
  7895. gnu/java/locale/LocaleInformation_sk_SK.java,
  7896. gnu/java/locale/LocaleInformation_sl_SI.java,
  7897. gnu/java/locale/LocaleInformation_sq_AL.java,
  7898. gnu/java/locale/LocaleInformation_sr_YU.java,
  7899. gnu/java/locale/LocaleInformation_sv_FI.java,
  7900. gnu/java/locale/LocaleInformation_sv_SE.java,
  7901. gnu/java/locale/LocaleInformation_ta_IN.java,
  7902. gnu/java/locale/LocaleInformation_te_IN.java,
  7903. gnu/java/locale/LocaleInformation_tg_TJ.java,
  7904. gnu/java/locale/LocaleInformation_tl_PH.java,
  7905. gnu/java/locale/LocaleInformation_tr_TR.java,
  7906. gnu/java/locale/LocaleInformation_uk_UA.java,
  7907. gnu/java/locale/LocaleInformation_ur_PK.java,
  7908. gnu/java/locale/LocaleInformation_uz_UZ.java,
  7909. gnu/java/locale/LocaleInformation_vi_VN.java,
  7910. gnu/java/locale/LocaleInformation_yi_US.java,
  7911. gnu/java/locale/LocaleInformation_zh_CN.java,
  7912. gnu/java/locale/LocaleInformation_zh_HK.java,
  7913. gnu/java/locale/LocaleInformation_zh_SG.java,
  7914. gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
  7915. info; from Classpath.
  7916. * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
  7917. isPaintPending): New methods.
  7918. * gnu/awt/xlib/XFramePeer.java (getState, setState,
  7919. setMaximizedBounds): New methods.
  7920. (beginLayout, endLayout, isPaintPending): Likewise.
  7921. * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
  7922. (requestFocus): Likewise.
  7923. (isObscured): Likewise.
  7924. (canDetermineObscurity): Likewise.
  7925. (coalescePaintEvent): Likewise.
  7926. (updateCursorImmediately): Likewise.
  7927. (createVolatileImage): Likewise.
  7928. (handlesWheelScrolling): Likewise.
  7929. (createBuffers): Likewise.
  7930. (getBackBuffer): Likewise.
  7931. (flip): Likewise.
  7932. (destroyBuffers): Likewise.
  7933. * Makefile.in: Rebuilt.
  7934. * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
  7935. RobotPeer.java.
  7936. * gnu/java/awt/GLightweightPeer.java,
  7937. gnu/java/awt/peer/gtk/GtkChoicePeer.java,
  7938. gnu/java/awt/peer/gtk/GtkComponentPeer.java,
  7939. gnu/java/awt/peer/gtk/GtkContainerPeer.java,
  7940. gnu/java/awt/peer/gtk/GtkFramePeer.java,
  7941. gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
  7942. gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
  7943. java/awt/dnd/peer/DragSourceContextPeer.java,
  7944. java/awt/dnd/peer/DropTargetContextPeer.java,
  7945. java/awt/peer/ButtonPeer.java,
  7946. java/awt/peer/CheckboxMenuItemPeer.java,
  7947. java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
  7948. java/awt/peer/ComponentPeer.java,
  7949. java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
  7950. java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
  7951. java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
  7952. java/awt/peer/MenuBarPeer.java,
  7953. java/awt/peer/MenuComponentPeer.java,
  7954. java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
  7955. java/awt/peer/PopupMenuPeer.java,
  7956. java/awt/peer/ScrollPanePeer.java,
  7957. java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
  7958. java/awt/peer/TextComponentPeer.java,
  7959. java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
  7960. New versions from Classpath.
  7961. * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
  7962. * java/awt/peer/RobotPeer.java: Likewise.
  7963. 2003-03-01 Mark Wielaard <mark@klomp.org>
  7964. * java/io/ObjectInputStream.java: Reindent.
  7965. * java/io/ObjectOutputStream.java: Likewise.
  7966. 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
  7967. * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
  7968. jvalue for each argument. Simplify.
  7969. * testsuite/libjava.jni/calls.c (docall),
  7970. testsuite/libjava.jni/calls.java (longpb_f): check for argument
  7971. misalignment.
  7972. 2003-02-28 Mark Wielaard <mark@klomp.org>
  7973. * Makefile.am (nat_source_files): Remove
  7974. java/io/natObjectOutputStream.cc.
  7975. * Makefile.in: Regenerated.
  7976. * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
  7977. * java/io/ObjectStreamField.java (typename): New field.
  7978. (ObjectStreamField(String, Class)): Initialize new field.
  7979. (ObjectStreamField(String, String)): New Constructor.
  7980. (getTypeCode): Use new field.
  7981. (getTypeString): Use new field.
  7982. * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
  7983. ObjectStreamExceptions. Remember and reset old BlockDataMode.
  7984. Handle reading of Proxy classes. Never drain(), just write
  7985. TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
  7986. (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
  7987. (flush): Call flush(), not just drain().
  7988. (writeBoolean): Always use blockDataOutput.
  7989. (writeByte): Likewise.
  7990. (writeShort): Likewise.
  7991. (writeChar): Likewise.
  7992. (writeInt): Likewise.
  7993. (writeLong): Likewise.
  7994. (writeFloat): Likewise.
  7995. (writeDouble): Likewise.
  7996. (writeBytes): Likewise.
  7997. (putfield (put(String,Object))): Throw IllegalArgumentException if
  7998. field cannot be found.
  7999. (putfield (write(ObjectOutput))): Remember old BlockDataMode.
  8000. (writeArraySizeAndElements): Write byte[] in one go.
  8001. (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
  8002. set BlockDataMode to false.
  8003. (annotateProxyClass): New method.
  8004. (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
  8005. (getField): No longer native.
  8006. (getMethod): Likewise.
  8007. (setBlockDataMode): Always drain() on switch, return old mode.
  8008. (static): New static code block.
  8009. * java/io/natObjectOutputStream.cc: Removed.
  8010. * java/io/ObjectInputStream.java (getField): No longer native.
  8011. (getMethod): Likewise.
  8012. (readObject): Remember and reset old BlockDataMode. Track whether
  8013. object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
  8014. TC_LONGSTRING.
  8015. (defaultReadObject): Set BlockDataMode to false during readFields.
  8016. (resolveClass): Create new SecurityManager if necessary.
  8017. Use Class.forName() if null ClassLoader found.
  8018. (read(byte[],int,int): Copy remaining bytes to data before calling
  8019. readNextBlock().
  8020. (readFields): Set and reset BlockDataMode on call_read_method.
  8021. Catch NoSuchFieldErrors.
  8022. (setBlockDataMode): Return old mode.
  8023. (static): New static code block.
  8024. * java/io/natObjectInputStream.cc (getField): Removed.
  8025. (getMethod): Likewise.
  8026. 2003-02-27 Michael Koch <konqueror@gmx.de>
  8027. * java/beans/Beans.java,
  8028. java/beans/FeatureDescriptor.java
  8029. java/beans/PropertyEditorManager.java:
  8030. Reformated to GNU style.
  8031. 2003-02-25 Michael Koch <konqueror@gmx.de>
  8032. * gnu/java/nio/MappedByteFileBuffer.java,
  8033. gnu/java/nio/natMappedByteFileBuffer.cc:
  8034. New files, both are not compiled yet to get not noncompiling CVS.
  8035. 2003-02-24 Tom Tromey <tromey@redhat.com>
  8036. * java/util/prefs/AbstractPreferences.java (isUserNode):
  8037. Implemented.
  8038. 2003-02-24 Tom Tromey <tromey@redhat.com>
  8039. * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
  8040. Deprecate.
  8041. * java/lang/Thread.java (resume): Deprecate.
  8042. * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
  8043. in @deprecated.
  8044. 2003-02-23 Tom Tromey <tromey@redhat.com>
  8045. * Makefile.in: Rebuilt.
  8046. * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
  8047. 2003-02-23 Tom Tromey <tromey@redhat.com>
  8048. * java/lang/natRuntime.cc (libraries_size, libraries_count,
  8049. libraries): Removed.
  8050. (add_library): Removed.
  8051. (_load): Don't call add_library.
  8052. (loadLibraryInternal): Likewise.
  8053. (init): Likewise.
  8054. (lookup_data): New struct.
  8055. (find_symbol): New function.
  8056. (_Jv_FindSymbolInExecutable): Use it.
  8057. 2003-02-21 Anthony Green <green@redhat.com>
  8058. * java/lang/Thread.java (Thread): New constructor taking stack
  8059. size parameter (ignored for now).
  8060. * Many methods: Merged GNU Classpath documentation.
  8061. * java/lang/Class.java (finalize): throws a Throwable.
  8062. 2003-02-21 Mark Wielaard <mark@klomp.org>
  8063. * java/util/zip/ZipEntry.java (setComment): Don't check length when
  8064. argument is null.
  8065. 2003-02-21 Mark Wielaard <mark@klomp.org>
  8066. * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
  8067. then 65535 chars throw IllegalArgumentException.
  8068. 2003-02-21 Mark Wielaard <mark@klomp.org>
  8069. * java/util/zip/ZipFile.java (finalize): New method.
  8070. 2003-02-21 Michael Koch <konqueror@gmx.de>
  8071. * gnu/java/nio/natSocketChannelImpl.cc:
  8072. Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
  8073. <cato@df.lth.se> for pointing to it.
  8074. 2003-02-20 Raif S. Naffah <raif@fl.net.au>
  8075. * java/math/BigInteger.java (euclidInv): Take result array as an
  8076. argument. Updated all callers.
  8077. (modInverse): Removed unused variables.
  8078. 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
  8079. * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
  8080. config.status.
  8081. * configure: Rebuilt.
  8082. 2003-02-19 Michael Koch <konqueror@gmx.de>
  8083. * gnu/java/nio/natSocketChannelImpl.cc:
  8084. Added support for platforms without network support.
  8085. 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  8086. * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
  8087. after config.h. Use <> for consistency.
  8088. * java/lang/natObject.cc: Likewise.
  8089. * java/lang/natRuntime.cc: Likewise.
  8090. * java/lang/natSystem.cc: Likewise.
  8091. * java/util/natTimeZone.cc: Likewise.
  8092. * win32.cc: Likewise.
  8093. * include/posix.h (fcntl, socket, connect, close, bind, accept,
  8094. listen, write, read): Undef to avoid interference from OS macros.
  8095. 2003-02-19 Michael Koch <konqueror@gmx.de>
  8096. * gnu/java/nio/ByteBufferImpl.java
  8097. (ByteBufferImpl): Renamed two variables.
  8098. * gnu/java/nio/CharBufferImpl.java
  8099. (CharBufferImpl): Renamed two variables.
  8100. * gnu/java/nio/DoubleBufferImpl.java
  8101. (DoubleBufferImpl): Renamed two variables.
  8102. * gnu/java/nio/FloatBufferImpl.java
  8103. (FloatBufferImpl): Renamed two variables.
  8104. * gnu/java/nio/IntBufferImpl.java
  8105. (IntBufferImpl): Renamed two variables.
  8106. * gnu/java/nio/LongBufferImpl.java
  8107. (LongBufferImpl): Renamed two variables.
  8108. * gnu/java/nio/ShortBufferImpl.java
  8109. (ShortBufferImpl): Renamed two variables.
  8110. * java/nio/CharBuffer.java
  8111. (wrap): Fixed arguments to CharBufferImpl constructor.
  8112. (hasArray): Only not read-only buffers have backing arrays.
  8113. (length): Documentation added.
  8114. (subSequence): Documentation added.
  8115. * java/nio/DoubleBuffer.java
  8116. (hasArray): Only not read-only buffers have backing arrays.
  8117. * java/nio/FloatBuffer.java
  8118. (hasArray): Only not read-only buffers have backing arrays.
  8119. * java/nio/IntBuffer.java
  8120. (hasArray): Only not read-only buffers have backing arrays.
  8121. * java/nio/LongBuffer.java
  8122. (hasArray): Only not read-only buffers have backing arrays.
  8123. * java/nio/ShortBuffer.java
  8124. (hasArray): Only not read-only buffers have backing arrays.
  8125. 2003-02-19 Michael Koch <konqueror@gmx.de>
  8126. * javax/accessibility/AccessibleContext.java
  8127. (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
  8128. 2003-02-19 Michael Koch <konqueror@gmx.de>
  8129. * java/awt/ScrollPaneAdjustable.java: Reformated.
  8130. 2003-02-19 Michael Koch <konqueror@gmx.de>
  8131. * gnu/awt/j2d/Graphics2DImpl.java
  8132. (getFontRenderContext): New method.
  8133. (drawGlyphVector): New method.
  8134. * java/awt/Graphics2D.java
  8135. (getFontRenderContext): New abstract method.
  8136. (drawGlyphVector): New abstract method.
  8137. 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
  8138. * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
  8139. if necessary.
  8140. * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
  8141. gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
  8142. gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
  8143. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
  8144. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
  8145. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
  8146. (setFont, gtkSetFont): add.
  8147. gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
  8148. Propagate font to peer. (setFont): add FIXME comment.
  8149. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
  8150. (gtkTextGetSize): fix height, width computation.
  8151. * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
  8152. Make X font name a bit less bogus.
  8153. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
  8154. (post_adjustment_event): Pass on GTK_SCROLL_NONE.
  8155. * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
  8156. (processAdjustmentEvent): Adjust value.
  8157. * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
  8158. logic errors.
  8159. * java/awt/Component.java (setVisible, show, hide): Call show and
  8160. hide methods in subclasses.
  8161. (getPreferredSize): don't set prefSize before we have peer.
  8162. * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
  8163. Guess (0,0) if we don't have peer.
  8164. 2003-02-18 Michael Koch <konqueror@gmx.de>
  8165. * java/nio/channels/FileChannel.java
  8166. (toString): New implementation, added documentation.
  8167. (map): Added exception documentation.
  8168. (size): Added exception documentation.
  8169. (write): New methods, documentation work.
  8170. (read): New methods, documentation work.
  8171. (implCloseChannel): Rewrote exception documentation.
  8172. (force): Throws IOException, added documentation.
  8173. (lock): New methods.
  8174. (tryLock): New methods.
  8175. (position): New methods.
  8176. (transferTo): New method.
  8177. (transferFrom): New method.
  8178. (truncate): New method.
  8179. * java/nio/channels/spi/SelectorProvider.java
  8180. (provider): Implemented.
  8181. * Makefile.am
  8182. (ordinary_java_source_files): Added the following files:
  8183. gnu/java/nio/DatagramChannelImpl.java
  8184. gnu/java/nio/FileChannelImpl.java
  8185. gnu/java/nio/PipeImpl.java
  8186. gnu/java/nio/SelectionKeyImpl.java
  8187. gnu/java/nio/SelectorImpl.java
  8188. gnu/java/nio/SelectorProviderImpl.java
  8189. gnu/java/nio/ServerSocketChannelImpl.java
  8190. gnu/java/nio/SocketChannelImpl.java
  8191. java/nio/channels/FileLock.java
  8192. (nat_java_source_files): Added the following files:
  8193. gnu/java/nio/natFileChannelImpl.cc
  8194. gnu/java/nio/natSelectorImpl.cc
  8195. gnu/java/nio/natSocketChannelImpl.cc
  8196. * Makefile.in: Regenerated.
  8197. 2003-02-17 Tom Tromey <tromey@redhat.com>
  8198. * java/awt/image/ColorModel.java: Re-merged with Classpath.
  8199. * java/awt/image/ImageFilter.java: Likewise.
  8200. 2003-02-17 Raif S. Naffah <raif@fl.net.au>
  8201. * java/math/BigInteger.java (euclidInv): Return array of
  8202. `BigInteger's. Changed all callers.
  8203. 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
  8204. * java/util/Properties.java (store): Move the code formerly in
  8205. list(), into this method.
  8206. (list (PrintStream)): Just call list (PrintWriter) with a
  8207. PrintWriter object constructed from the given PrintStream object.
  8208. (list (PrintWriter)): Emulate the output of Properties.list()
  8209. as found in JDK 1.3/1.4.
  8210. 2003-02-17 Michael Koch <konqueror@gmx.de>
  8211. * java/net/DatagramSocket.java
  8212. (connect): Merged with classpath.
  8213. (disconnect): Merged documentation with classpath.
  8214. (receice): Merged documentation with classpath.
  8215. (send): Merged documentation with classpath.
  8216. 2003-02-17 Michael Koch <konqueror@gmx.de>
  8217. * java/awt/dnd/DragSourceContext.java
  8218. (addDragSourceListener): Added documentation.
  8219. * java/awt/dnd/DragSourceDragEvent.java
  8220. (serialVersionUID): New member variable.
  8221. (getDropAction): Reformated.
  8222. * java/awt/dnd/DragSourceDropEvent.java
  8223. (serialVersionUID): New member variable.
  8224. (dropSuccess): Renamed from success for serialization issues.
  8225. * java/awt/dnd/DragSourceEvent.java
  8226. (serialVersionUID): New member variable.
  8227. * java/awt/dnd/DropTarget.java
  8228. (serialVersionUID): New member variable.
  8229. (DropTarget): Implemented, documentation reworked.
  8230. (setComponent): Documentation added.
  8231. (getComponent): Documentation added.
  8232. (setDefaultActions): Documentation added.
  8233. (getDefaultActions): Documentation added.
  8234. (addDropTargetListener): Documentation added.
  8235. * java/awt/dnd/DropTargetContext.java
  8236. (DropTargetContext): Documentation added.
  8237. (TransferableProxy.TransferableProxy): New method.
  8238. (dropComplete): Fixed documentation.
  8239. (getTransferable): Fixed documentation.
  8240. (createTransferableProxy): Implemented.
  8241. * java/awt/dnd/DropTargetDragEvent.java
  8242. (DropTargetDragEvent): Documentation added.
  8243. (serialVersionUID): New member variable.
  8244. (DropTargetDragEvent): Throw exceptions, documentation added.
  8245. (acceptDrag): Implemented.
  8246. (getCurrentDataFlavors): Implemented.3yy
  8247. (getCurrentDataFlavorsAsList): Implemented.
  8248. (isDataFlavorSupported): Implemented.
  8249. (rejectDrag): Implemented.
  8250. * java/awt/dnd/DropTargetDropEvent.java
  8251. (DropTargetDropEvent): Documentation added.
  8252. (serialVersionUID): New member variable.
  8253. (actions): Renamed from srcActions for serialization issues.
  8254. (isLocalTx): Renamed from isLocalTx for serialization issues.
  8255. (DropTargetDropEvent): New implementation, throw exceptions,
  8256. documentation added.
  8257. (getCurrentDataFlavors): Implemented.
  8258. (getCurrentDataFlavorsAsList): Implemented.
  8259. (isDataFlavorSupported): Implemented.
  8260. (getSourceActions): Implemented.
  8261. (getDropAction): Implemented.
  8262. (getTransferable): Implemented.
  8263. (acceptDrop): Implemented.
  8264. (rejectDrop): Implemented.
  8265. * java/awt/dnd/DropTargetListener.java
  8266. (drop): Fixed documentation.
  8267. * java/awt/dnd/MouseDragGestureRecognizer.java
  8268. (MouseDragGestureRecognizer): Documentation added.
  8269. 2003-02-17 Michael Koch <konqueror@gmx.de>
  8270. * java/awt/font/FontRenderContext.java,
  8271. java/awt/font/ShapeGraphicAttribute.java,
  8272. java/awt/font/MultipleMaster.java,
  8273. java/awt/font/TransformAttribute.java,
  8274. java/awt/font/GlyphJustificationInfo.java,
  8275. java/awt/font/LineBreakMeasurer.java,
  8276. java/awt/font/TextMeasurer.java,
  8277. java/awt/font/TextLayout.java,
  8278. java/awt/font/LineMetrics.java,
  8279. java/awt/font/TextAttribute.java,
  8280. java/awt/font/GlyphMetrics.java,
  8281. java/awt/font/OpenType.java,
  8282. java/awt/font/GlyphVector.java,
  8283. java/awt/font/GraphicAttribute.java,
  8284. java/awt/font/ImageGraphicAttribute.java,
  8285. java/awt/font/NumericShaper.java: New files.
  8286. * Makefile.am
  8287. (awt_java_source_files): Added the following files:
  8288. java/awt/font/FontRenderContext.java
  8289. java/awt/font/ShapeGraphicAttribute.java
  8290. java/awt/font/MultipleMaster.java
  8291. java/awt/font/TransformAttribute.java
  8292. java/awt/font/GlyphJustificationInfo.java
  8293. java/awt/font/LineBreakMeasurer.java
  8294. java/awt/font/TextMeasurer.java
  8295. java/awt/font/TextLayout.java
  8296. java/awt/font/LineMetrics.java
  8297. java/awt/font/TextAttribute.java
  8298. java/awt/font/GlyphMetrics.java
  8299. java/awt/font/OpenType.java
  8300. java/awt/font/GlyphVector.java
  8301. java/awt/font/GraphicAttribute.java
  8302. java/awt/font/ImageGraphicAttribute.java
  8303. java/awt/font/NumericShaper.java
  8304. * Makefile.in: Regenerated.
  8305. 2003-02-17 Michael Koch <konqueror@gmx.de>
  8306. * java/awt/print/Paper.java
  8307. (Paper): Implements Cloneable.
  8308. * java/awt/print/PrinterJob.java
  8309. (setJobName): Return value must be void.
  8310. (print): Throws PrinterException.
  8311. 2003-02-16 Tom Tromey <tromey@redhat.com>
  8312. * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
  8313. variable.
  8314. 2003-02-15 Michael Koch <konqueror@gmx.de>
  8315. * java/awt/datatransfer/DataFlavor.java
  8316. (isRepresentationClassByteBuffer): Removed try-catch block.
  8317. (isRepresentationClassCharBuffer): Removed try-catch block.
  8318. (isRepresentationClassReader): Removed try-catch block.
  8319. 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
  8320. * java/nio/charset/Charset.java
  8321. (isRegistered): Fixed method args and implementation.
  8322. * java/nio/charset/CharsetEncoder.java
  8323. (unmappableCharacterAction): New method.
  8324. 2003-02-15 Michael Koch <konqueror@gmx.de>
  8325. * java/awt/CheckboxMenuItem.java
  8326. (CheckBoxMenuItem): Dont implement Serializable.
  8327. (getListeners): New method,
  8328. (getItemListeners): New method.
  8329. * java/awt/Choice.java
  8330. (getListeners): New method,
  8331. (getItemListeners): New method.
  8332. * java/awt/Container.java
  8333. (getListeners): Added exception documentation.
  8334. (setFocusTraversalKeys): Throw exceptions, added documentattion.
  8335. (getFocusTraversalKeys): Added documentation.
  8336. (areFocusTraversalKeysSet): Added documentation.
  8337. (applyComponentOrientation): Added documentation.
  8338. * java/awt/ContainerOrderFocusTraversalPolicy.java
  8339. (implicitDownCycleTraversal): Renamed from downCycle for
  8340. serialization.
  8341. (ContainerOrderFocusTraversalPolicy): Added documentation.
  8342. (accept): Reformated.
  8343. * java/awt/Dialog.java
  8344. (Dialog): Dont implement Serializable.
  8345. (Dialog): Added documentation.
  8346. * java/awt/Font.java
  8347. (Font): Dont use absolute class name.
  8348. * java/awt/Frame.java
  8349. (Frame): Font implement Serializable.
  8350. * java/awt/List.java
  8351. (getListeners): New method,
  8352. (getActionListeners): New method.
  8353. (getItemListeners): New method.
  8354. * java/awt/Menu.java
  8355. (countItems): New deprecated method.
  8356. * java/awt/Scrollbar.java
  8357. (getListeners): New method,
  8358. (getAdjustmentListeners): New method,
  8359. * java/awt/TextComponent.java
  8360. (getListeners): New method,
  8361. (getTextListeners): New method,
  8362. * java/awt/TextField.java
  8363. (getListeners): New method,
  8364. (getActionListeners): New method.
  8365. * java/awt/Window.java
  8366. (windowFocusListener): New member variable.
  8367. (windowStateListener): New member variable.
  8368. (getWindowFocusListeners): New method.
  8369. (getWindowStateListeners): New method.
  8370. (addWindowFocusListener): New method.
  8371. (addWindowStateListener): New method.
  8372. (removeWindowFocusListener): New method.
  8373. (removeWindowStateListener): New method.
  8374. * java/awt/datatransfer/DataFlavor.java
  8375. (isRepresentationClassByteBuffer): New method.
  8376. (isRepresentationClassCharBuffer): New method.
  8377. (isRepresentationClassReader): New method.
  8378. 2003-02-14 Mark Wielaard <mark@klomp.org>
  8379. * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
  8380. zero when there is an exponent and the significant is zero.
  8381. (divide): Always set scale to newScale even in special ZERO case.
  8382. 2003-02-14 Tom Tromey <tromey@redhat.com>
  8383. * java/lang/System.java (properties): Use Properties.clone.
  8384. (setProperties): Likewise.
  8385. 2003-02-14 Michael Koch <konqueror@gmx.de>
  8386. * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
  8387. * gnu/java/nio/ServerSocketChannelImpl.java
  8388. (SocketAccept): Removed.
  8389. (accept): Commented out use of SocketAccept.
  8390. 2003-02-13 Tom Tromey <tromey@redhat.com>
  8391. * verify.cc (state::seen_subrs): New field.
  8392. (state::state): Initialize it.
  8393. (state::clean_subrs): New method.
  8394. (state::~state): Call it.
  8395. (state::copy): Copy subroutine list.
  8396. (state::add_subr): New method.
  8397. (state::merge): Only register a change if the current subroutine
  8398. hasn't yet been noted.
  8399. 2003-02-13 Mark Wielaard <mark@klomp.org>
  8400. * java/io/InputStreamReader.java (getEncoding): Return null when
  8401. closed.
  8402. * java/io/OutputStreamWriter.java (getEncoding): Likewise.
  8403. 2003-02-13 Mark Wielaard <mark@klomp.org>
  8404. * java/util/zip/InflaterInputStream.java (read): Return zero when len
  8405. is zero.
  8406. 2003-02-13 Mark Wielaard <mark@klomp.org>
  8407. * java/io/BufferedOutputStream.java (write(int)): Only flush when
  8408. next byte cannot be buffered.
  8409. 2003-02-13 Michael Koch <konqueror@gmx.de>
  8410. * java/awt/Label.java
  8411. (Label): Don't implement Serializable directly.
  8412. (addNotify): Fixed typo in documentation.
  8413. * java/awt/List.java
  8414. (List): Don't implement Serializable directly.
  8415. * java/awt/PopupMenu.java
  8416. (PopupMenu): Don't implement Serializable directly.
  8417. * java/awt/ScrollPane.java
  8418. (ScrollPane): Don't implement Serializable directly.
  8419. * java/awt/Scrollbar.java
  8420. (Scrollbar): Don't implement Serializable directly.
  8421. * java/awt/TextArea.java
  8422. (preferredSize): Fixed method arguments.
  8423. * java/awt/TextField.java
  8424. (TextField): Don't implement Serializable directly.
  8425. * java/awt/color/ICC_ColorSpace.java
  8426. (fromCIOXYZ): Documentation added.
  8427. (getMinValue): Documentation added.
  8428. (getMaxValue): Documentation added.
  8429. * java/awt/datatransfer/DataFlavor.java
  8430. (isMimeTypeEqual): May not be final.
  8431. (clone): Throws CloneNotSupportedException.
  8432. (getReaderForText): Don't throws UnsupportedEncodingException.
  8433. 2003-02-13 Michael Koch <konqueror@gmx.de>
  8434. * gnu/java/awt/peer/gtk/GdkGraphics.java
  8435. (drawString): New stubbed method.
  8436. * java/awt/Graphics.java
  8437. (drawString): New method.
  8438. 2003-02-13 Casey Marshall <rsdio@metastatic.org>
  8439. PR libgcj/9271:
  8440. * java/security/SecureRandom.java (next): Avoid bias in results.
  8441. 2003-02-13 Michael <konqueror@gmx.de>
  8442. * gnu/java/nio/FileChannelImpl.java
  8443. (lengthInternal): Must be native.
  8444. (size): Check if channel is already closed.
  8445. (implCloseChannel): Reformated.
  8446. (read): w was unused, removed it.
  8447. (read): Removed.
  8448. (read): New method.
  8449. (write): New method.
  8450. (map): Check arguments.
  8451. (force): Throws IOException, check if channel is closed.
  8452. (transferTo): New method.
  8453. (transferFrom): New method.
  8454. (lock): New method.
  8455. (tryLock): New method.
  8456. (position): New method.
  8457. (truncate): New method.
  8458. (nio_mmap_file): Uncommented.
  8459. (nio_munmap_file): Uncommented.
  8460. (nio_msync): Uncommented.
  8461. * gnu/java/nio/natFileChannelImpl.cc: New file.
  8462. 2003-02-13 Michael Koch <konqueror@gmx.de>
  8463. * java/nio/ByteBuffer.java
  8464. (endian): New member variable.
  8465. (get): New methods.
  8466. (equals): New method.
  8467. (compareTo): New method.
  8468. (order): New methods.
  8469. (compact): New method.
  8470. (isDirect): New method.
  8471. (slice): New method.
  8472. (duplicate): New method.
  8473. (asReadOnlyBuffer): New method.
  8474. (asCharBuffer): New method.
  8475. (asDoubleBuffer): New method.
  8476. (asFloatBuffer): New method.
  8477. (asIntBuffer): New method.
  8478. (asLongBuffer): New method.
  8479. (asShortBuffer): New method.
  8480. (get*): New methods.
  8481. (put*): New methods.
  8482. (toString): New method.
  8483. * java/nio/CharBuffer.java
  8484. (CharBuffer): Implement Comparable instead of Cloneable.
  8485. (get): May not be final.
  8486. (put): May not be final.
  8487. 2003-02-13 Ranjit Mathew <rmathew@hotmail.com>
  8488. * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
  8489. lastIndexOf( ) instead of indexOf( ) to find the colon before
  8490. the line number, because Win32 file names might contain a
  8491. drive letter and a colon at the start of an absolute path.
  8492. 2003-02-13 Michael Koch <konqueror@gmx.de>
  8493. * gnu/java/nio/natSocketChannelImpl.cc
  8494. (SocketConnect): This is not implemented yet.
  8495. (SocketBind): This is not implemented yet.
  8496. 2003-02-13 Michael Koch <konqueror@gmx.de>
  8497. * gnu/java/nio/natByteBufferImpl.cc,
  8498. gnu/java/nio/natCharBufferImpl.cc,
  8499. gnu/java/nio/natDoubleBufferImpl.cc,
  8500. gnu/java/nio/natFloatBufferImpl.cc,
  8501. gnu/java/nio/natIntBufferImpl.cc,
  8502. gnu/java/nio/natLongBufferImpl.cc,
  8503. gnu/java/nio/natShortBufferImpl.cc:
  8504. Added copyright and license.
  8505. * java/nio/DoubleBuffer.java,
  8506. java/nio/FloatBuffer.java,
  8507. java/nio/IntBuffer.java,
  8508. java/nio/LongBuffer.java,
  8509. java/nio/ShortBuffer.java
  8510. (array): Throw exceptions.
  8511. (arrayOffset): Throw exceptions.
  8512. 2003-02-13 Michael Koch <konqueror@gmx.de>
  8513. * gnu/java/util/prefs/FileBasedFactory.java,
  8514. gnu/java/util/prefs/MemmoryBasedFactory.java,
  8515. gnu/java/util/prefs/MemoryBasedPreferences.java,
  8516. gnu/java/util/prefs/NodeReader.java,
  8517. gnu/java/util/prefs/NodeWriter.java,
  8518. java/util/prefs/AbstractPreferences.java,
  8519. java/util/prefs/BackingStoreException.java,
  8520. java/util/prefs/InvalidPreferencesFormatException.java,
  8521. java/util/prefs/NodeChangeEvent.java,
  8522. java/util/prefs/NodeChangeListener.java,
  8523. java/util/prefs/PreferenceChangeEvent.java,
  8524. java/util/prefs/PreferenceChangeListener.java,
  8525. java/util/prefs/Preferences.java,
  8526. java/util/prefs/PreferencesFactory.java:
  8527. New files, all merged from classpath.
  8528. * Makefile.am
  8529. (ordinary_java_source_files): Added the following files:
  8530. gnu/java/util/prefs/FileBasedFactory.java,
  8531. gnu/java/util/prefs/MemmoryBasedFactory.java,
  8532. gnu/java/util/prefs/MemoryBasedPreferences.java,
  8533. gnu/java/util/prefs/NodeReader.java,
  8534. gnu/java/util/prefs/NodeWriter.java,
  8535. (core_java_source_files): Added the following files:
  8536. java/util/prefs/AbstractPreferences.java,
  8537. java/util/prefs/BackingStoreException.java,
  8538. java/util/prefs/InvalidPreferencesFormatException.java,
  8539. java/util/prefs/NodeChangeEvent.java,
  8540. java/util/prefs/NodeChangeListener.java,
  8541. java/util/prefs/PreferenceChangeEvent.java,
  8542. java/util/prefs/PreferenceChangeListener.java,
  8543. java/util/prefs/Preferences.java,
  8544. java/util/prefs/PreferencesFactory.java
  8545. * Makefile.in: Regenerated.
  8546. 2003-02-13 Michael Koch <konqueror@gmx.de>
  8547. * java/net/NetPermission.java
  8548. (NetPermission): Make doucmentation match the method declaration.
  8549. * java/net/NetworkInterface.java
  8550. (equals): Reformated for GNU coding style.
  8551. * java/net/ServerSocket.java: Merged with classpath.
  8552. * java/net/Socket.java: Partly merged with classpath (Added some @since).
  8553. * java/net/SocketImpl.java
  8554. (localPort): Merged with classpath (initialize with -1).
  8555. * java/net/SocketPermission.java: Merged with classpath (reindented).
  8556. * java/net/URLDecoder.java: Merged with classpath (reindented).
  8557. 2003-02-13 Michael Koch <konqueror@gmx.de>
  8558. * java/awt/GridBagConstraints.java
  8559. (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
  8560. LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
  8561. * java/awt/KeyboardFocusManager.java
  8562. (setGlobalCurrentFocusCycleRoot): Must be public.
  8563. * java/awt/MenuComponent.java
  8564. (MenuComponent): Must be public.
  8565. * java/awt/Toolkit.java:
  8566. Added some empty lines to make documentation more readable.
  8567. (getFontPeer): Added @deprecated.
  8568. (getColorModel): Added exception documentation.
  8569. (getProperty): Fixed documentation.
  8570. 2003-02-12 Jeff Sturm <jsturm@one-point.com>
  8571. * configure.host (alpha*-*): Default to -mieee.
  8572. * configure.in (IEEESPEC): New.
  8573. * libgcj.spec.in (jc1): Add IEEESPEC.
  8574. * configure: Rebuild.
  8575. 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
  8576. * include/win32.h: Include ws2tcpip.h instead of
  8577. winsock.h to obtain definition of the socklen_t type.
  8578. Remove IP_TOS definition - not needed with ws2tcpip.h
  8579. (_Jv_connect): Correct slight formatting error.
  8580. 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
  8581. * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
  8582. size of the arguments for a JNI function. For Win32,
  8583. modify to search for all forms of possible exported
  8584. names of an stdcall JNI function.
  8585. (_Jv_JNIMethod::call): Modify to calculate the size
  8586. of the arguments passed to a JNI function and pass
  8587. it to _Jv_LookupJNIMethod.
  8588. 2003-02-12 Michael Koch <konqueror@gmx.de>
  8589. * java/nio/channels/Channels.java: New file.
  8590. * Makefile.am
  8591. (ordinary_java_source_files): Added java/nio/channels/Channels.java.
  8592. * Makefile.in: Regenerated.
  8593. 2003-02-12 Michael Koch <konqueror@gmx.de>
  8594. * java/nio/ByteBuffer.java
  8595. (allocate): Implemented.
  8596. (wrap): Implemented.
  8597. * java/nio/CharBuffer.java:
  8598. Some documentation added and reworked.
  8599. (endian): Removed.
  8600. (allocate): Implemented.
  8601. (wrap): Implemented.
  8602. (array): Throw exceptions.
  8603. (arrayOffset): Throw exceptions.
  8604. (toString): Implemented.
  8605. (length): Implemented.
  8606. (put): Implemented.
  8607. (charAt): Implemented.
  8608. 2003-02-11 John Leuner <jewel@debian.org>
  8609. * java/util/zip/ZipInputStream.java: Fix problem with 0-length
  8610. reads from end of file.
  8611. 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
  8612. * java/io/natFileDescriptorWin32.cc
  8613. (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
  8614. returns with Win32 error code ERROR_BROKEN_PIPE.
  8615. 2003-02-11 Michael Koch <konqueror@gmx.de>
  8616. * Makefile.in
  8617. (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
  8618. 2003-02-11 Michael Koch <konqueror@gmx.de>
  8619. * gnu/java/nio/ByteBufferImpl.java:
  8620. Reformated and removed some code.
  8621. (backing_buffer): Removed.
  8622. (array_offset): Removed.
  8623. (ro): Renamed to readOnly.
  8624. (ByteBufferImpl): Use parent constructor, initialize readOnly.
  8625. * gnu/java/nio/CharBufferImpl.java:
  8626. Reformated and removed some code.
  8627. (array_offset): Removed.
  8628. (ro): Renamed to readOnly.
  8629. (CharBufferImpl): Use parent constructor, initialize readOnly.
  8630. (inc_pos): Removed.
  8631. (order): New method.
  8632. * gnu/java/nio/DoubleBufferImpl.java:
  8633. Reformated and removed some code.
  8634. (array_offset): Removed.
  8635. (ro): Renamed to readOnly.
  8636. (DoubleBufferImpl): Use parent constructor, initialize readOnly.
  8637. (inc_pos): Removed.
  8638. (order): New method.
  8639. * gnu/java/nio/FloatBufferImpl.java:
  8640. Reformated and removed some code.
  8641. (array_offset): Removed.
  8642. (ro): Renamed to readOnly.
  8643. (FloatBufferImpl): Use parent constructor, initialize readOnly.
  8644. (inc_pos): Removed.
  8645. (order): New method.
  8646. * gnu/java/nio/IntBufferImpl.java:
  8647. Reformated and removed some code.
  8648. (array_offset): Removed.
  8649. (ro): Renamed to readOnly.
  8650. (IntBufferImpl): Use parent constructor, initialize readOnly.
  8651. (inc_pos): Removed.
  8652. (order): New method.
  8653. * gnu/java/nio/LongBufferImpl.java:
  8654. Reformated and removed some code.
  8655. (array_offset): Removed.
  8656. (ro): Renamed to readOnly.
  8657. (LongBufferImpl): Use parent constructor, initialize readOnly.
  8658. (inc_pos): Removed.
  8659. (order): New method.
  8660. * gnu/java/nio/ShortBufferImpl.java:
  8661. Reformated and removed some code.
  8662. (array_offset): Removed.
  8663. (ro): Renamed to readOnly.
  8664. (ShortBufferImpl): Use parent constructor, initialize readOnly.
  8665. (inc_pos): Removed.
  8666. (order): New method.
  8667. * Makefile.am
  8668. (ordinary_java_source_files): Added the following files:
  8669. gnu/java/nio/ByteBufferImpl.java
  8670. gnu/java/nio/CharBufferImpl.java
  8671. gnu/java/nio/DoubleBufferImpl.java
  8672. gnu/java/nio/FloatBufferImpl.java
  8673. gnu/java/nio/IntBufferImpl.java
  8674. gnu/java/nio/LongBufferImpl.java
  8675. gnu/java/nio/ShortBufferImpl.java
  8676. java/nio/DoubleBuffer.java
  8677. java/nio/FloatBuffer.java
  8678. java/nio/IntBuffer.java
  8679. java/nio/LongBuffer.java
  8680. java/nio/ShortBuffer.java
  8681. (nat_source_files): Added the following files:
  8682. gnu/java/nio/natByteBufferImpl.cc
  8683. gnu/java/nio/natCharBufferImpl.cc
  8684. gnu/java/nio/natDoubleBufferImpl.cc
  8685. gnu/java/nio/natFloatBufferImpl.cc
  8686. gnu/java/nio/natIntBufferImpl.cc
  8687. gnu/java/nio/natLongBufferImpl.cc
  8688. gnu/java/nio/natShortBufferImpl.cc
  8689. * Makefile.in: Regenerated.
  8690. 2003-02-11 Michael Koch <konqueror@gmx.de>
  8691. * gnu/java/nio/natCharBufferImpl.cc
  8692. (nio_cast): Removed.
  8693. (nio_put_*): Removed.
  8694. (nio_get_*): Removed.
  8695. * gnu/java/nio/natDoubleBufferImpl.cc
  8696. (nio_cast): Removed.
  8697. (nio_put_*): Removed.
  8698. (nio_get_*): Removed.
  8699. * gnu/java/nio/natFloatBufferImpl.cc
  8700. (nio_cast): Removed.
  8701. (nio_put_*): Removed.
  8702. (nio_get_*): Removed.
  8703. * gnu/java/nio/natIntBufferImpl.cc
  8704. (nio_cast): Removed.
  8705. (nio_put_*): Removed.
  8706. (nio_get_*): Removed.
  8707. * gnu/java/nio/natLongBufferImpl.cc
  8708. (nio_cast): Removed.
  8709. (nio_put_*): Removed.
  8710. (nio_get_*): Removed.
  8711. * gnu/java/nio/natShortBufferImpl.cc
  8712. (nio_cast): Removed.
  8713. (nio_put_*): Removed.
  8714. (nio_get_*): Removed.
  8715. * gnu/java/nio/SelectorProviderImpl.java
  8716. (openDatagramChannel): Throws IOException.
  8717. (openPipe): Throws IOException.
  8718. (openSelector): Throws IOException.
  8719. (openServerSocketChannel): Throws IOException.
  8720. (openSocketChannel): Throws IOException.
  8721. * gnu/java/nio/ServerSocketChannelImpl.java
  8722. (ServerSocketChannelImpl): Throws IOException.
  8723. (implCloseSelectableChannel): Throws IOException.
  8724. (implConfigureBlocking): Throws IOException.
  8725. * java/nio/ByteBuffer.java
  8726. (readOnly): Removed.
  8727. (hasArray): Use isReadOnly() instead of readOnly.
  8728. (array): Use isReadOnly() instead of readOnly.
  8729. (arrayOffset): Use isReadOnly() instead of readOnly.
  8730. * java/nio/CharBuffer.java
  8731. (CharBuffer): Implements Cloneable and CharSequence.
  8732. 2003-02-11 Michael Koch <konqueror@gmx.de>
  8733. * java/nio/DoubleBuffer.java
  8734. (DoubleBuffer): Implements Comparable.
  8735. (endian): Removed.
  8736. (array_offset): New member variable.
  8737. (DoubleBuffer): New constuctor.
  8738. (get): May not be final.
  8739. (put): May not be final.
  8740. (arrayOffset): Implemented.
  8741. (order): Made abstract.
  8742. (order): Removed.
  8743. (as*Buffer): Removed.
  8744. (get*): Removed.
  8745. (put*): Removed.
  8746. * java/nio/FloatBuffer.java
  8747. (FloatBuffer): Implements Comparable.
  8748. (endian): Removed.
  8749. (array_offset): New member variable.
  8750. (FloatBuffer): New constuctor.
  8751. (get): May not be final.
  8752. (put): May not be final.
  8753. (arrayOffset): Implemented.
  8754. (order): Made abstract.
  8755. (order): Removed.
  8756. (as*Buffer): Removed.
  8757. (get*): Removed.
  8758. (put*): Removed.
  8759. * java/nio/IntBuffer.java
  8760. (IntBuffer): Implements Comparable.
  8761. (endian): Removed.
  8762. (array_offset): New member variable.
  8763. (IntBuffer): New constuctor.
  8764. (get): May not be final.
  8765. (put): May not be final.
  8766. (arrayOffset): Implemented.
  8767. (order): Made abstract.
  8768. (order): Removed.
  8769. (as*Buffer): Removed.
  8770. (get*): Removed.
  8771. (put*): Removed.
  8772. * java/nio/LongBuffer.java
  8773. (LongBuffer): Implements Comparable.
  8774. (endian): Removed.
  8775. (array_offset): New member variable.
  8776. (LongBuffer): New constuctor.
  8777. (get): May not be final.
  8778. (put): May not be final.
  8779. (arrayOffset): Implemented.
  8780. (order): Made abstract.
  8781. (order): Removed.
  8782. (as*Buffer): Removed.
  8783. (get*): Removed.
  8784. (put*): Removed.
  8785. * java/nio/ShortBuffer.java
  8786. (ShortBuffer): Implements Comparable.
  8787. (endian): Removed.
  8788. (array_offset): New member variable.
  8789. (ShortBuffer): New constuctor.
  8790. (get): May not be final.
  8791. (put): May not be final.
  8792. (arrayOffset): Implemented.
  8793. (order): Made abstract.
  8794. (order): Removed.
  8795. (as*Buffer): Removed.
  8796. (get*): Removed.
  8797. (put*): Removed.
  8798. 2003-02-11 Michael Koch <konqueror@gmx.de>
  8799. * java/nio/channels/SelectionKey.java
  8800. (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
  8801. values.
  8802. 2003-02-11 Michael Koch <konqueror@gmx.de>
  8803. * java/nio/channels/DatagramChannel.java
  8804. (write): Throws IOException.
  8805. (connect): Throws IOException.
  8806. (disconnect): Throws IOException.
  8807. (read): Throws IOException.
  8808. (receive): Throws IOException.
  8809. (send): Throws IOException.
  8810. * java/nio/channels/Pipe.java
  8811. (open): Throws IOException.
  8812. * java/nio/channels/SelectableChannel.java
  8813. (configureBlocking): Throws IOException.
  8814. * java/nio/channels/ServerSocketChannel.java
  8815. (accept): Throws IOException.
  8816. * java/nio/channels/SocketChannel.java
  8817. (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
  8818. GatheringByteChannel.
  8819. (read): Throws IOException.
  8820. (write): Throws IOException.
  8821. (finishConnect): Throws IOException.
  8822. * java/nio/channels/spi/AbstractInterruptibleChannel.java
  8823. (end): Throws AsynchronousCloseException.
  8824. * java/nio/channels/spi/AbstractSelectableChannel.java
  8825. (configureBlocking): Throws IOException.
  8826. (implCloseChannel): Throws IOException.
  8827. (implCloseSelectableChannel): Throws IOException.
  8828. (implConfigureBlocking): Throws IOException.
  8829. * java/nio/channels/spi/SelectorProvider.java
  8830. (openDatagramChannel): Throws IOException.
  8831. (openPipe): Throws IOException.
  8832. (openSelector): Throws IOException.
  8833. (openServerSocketChannel): Throws IOException.
  8834. (openSocketChannel): Throws IOException.
  8835. 2003-02-11 Michael Koch <konqueror@gmx.de>
  8836. * gnu/java/nio/FileLockImpl.java,
  8837. java/nio/channels/FileLock.java: New files.
  8838. 2003-02-11 Michael Koch <konqueror@gmx.de>
  8839. * java/nio/charset/IllegalCharsetNameException.java
  8840. (serialVersionUID): New member variable.
  8841. (charsetName): New member variable.
  8842. (IllegalCharsetException): New implementation.
  8843. (getCharsetName): New implementation.
  8844. * java/nio/charset/UnsupportedCharsetException.java
  8845. (serialVersionUID): New member variable.
  8846. (charsetName): New member variable.
  8847. (UnsupportedCharsetException): New implementation.
  8848. (getCharsetName): New implementation.
  8849. 2003-02-10 Tom Tromey <tromey@redhat.com>
  8850. * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
  8851. (ex): Renamed from sqlException.
  8852. 2003-02-10 Raif S. Naffah <raif@fl.net.au>
  8853. * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
  8854. method used to ensure seeding has occurred and that a specific
  8855. seed can be set and used.
  8856. 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
  8857. * java/lang/Win32Process.java (destroy): Declare as native.
  8858. (hasExited): New native method.
  8859. (exitValue): Define.
  8860. (getErrorStream): Likewise.
  8861. (getInputStream): Likewise.
  8862. (getOutputStream): Likewise.
  8863. (waitFor): Declare as native.
  8864. (startProcess): New native method.
  8865. (cleanup): Likewise.
  8866. (ConcreteProcess): Define.
  8867. (outputStream, inputStream, errorStream): New members.
  8868. (procHandle, exitCode): Likewise.
  8869. * java/lang/natWin32Process.cc
  8870. (java::lang::ConcreteProcess::cleanup): Define.
  8871. (java::lang::ConcreteProcess::destroy): Likewise.
  8872. (java::lang::ConcreteProcess::hasExited): Likewise.
  8873. (java::lang::ConcreteProcess::waitFor): Likewise.
  8874. (new_string): Likewise.
  8875. (java::lang::ConcreteProcess::startProcess): Likewise.
  8876. 2003-02-10 Raif S. Naffah <raif@fl.net.au>
  8877. * java/math/BigInteger.java:
  8878. Updated notice to include years 2002 and 3.
  8879. Added 2 private (int) arrays with values from the HAC (Handbook of
  8880. Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
  8881. and t[] that contains nbr. of tests --used in isProbablePrime().
  8882. * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
  8883. * java/math/BigInteger.java (make(int[],int), add(int,int),
  8884. add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
  8885. isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
  8886. bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
  8887. make(long).
  8888. * java/math/BigInteger.java (euclidInv): Reduce number of work vars
  8889. (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
  8890. (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
  8891. BIs and returns void.
  8892. (modInverse(BI)): Use new signatures of euclidInv().
  8893. * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
  8894. static small primes instead of remainder().
  8895. Use pre-computed max nbr of trials based on bitlength of BI to test.
  8896. Use pre-computed small primes for the trial tests instead of random
  8897. numbers.
  8898. * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
  8899. not used.
  8900. * java/math/BigInteger.java (format(int,StringBuffer)): Removed
  8901. invoacation of MPN.chars_per_word(). not used.
  8902. * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
  8903. local var and used where needed.
  8904. * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
  8905. Combined declaration with initialisation of locals.
  8906. Removed unused var.
  8907. * java/math/BigInteger.java: Style changes
  8908. (pow(int)): Removed 'else' keyword.
  8909. (toString(int)): idem.
  8910. (doubleValue()): idem.
  8911. (bitLength()): idem.
  8912. (equals(Object)): Use static methods name in same class w/o prepending
  8913. class name.
  8914. (doubleValue()): idem.
  8915. (setNegative(BI)): idem.
  8916. (negate()): idem.
  8917. (and(BI,int)): idem.
  8918. (and(BI)): idem.
  8919. (gcd(BI)): idem.
  8920. (byteArrayToIntArray()): Removed casting to (int). this is
  8921. std. behaviour.
  8922. (canonicalize()): idem.
  8923. (alloc(int)): Always instantiate a new BI.
  8924. 2003-02-10 Tom Tromey <tromey@redhat.com>
  8925. * java/sql/Timestamp.java (compareTo(Object)): New method.
  8926. (compareTo(Timestamp)): Likewise.
  8927. (serialVersionUID): Updated.
  8928. 2003-02-07 Mark Wielaard <mark@klomp.org>
  8929. * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
  8930. when verify is true.
  8931. (JarFile(File, boolean)): Likewise.
  8932. (manifestRead): Set manifestRead field correctly.
  8933. 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
  8934. * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
  8935. tests; see patch #1016 on Savannah.
  8936. 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
  8937. * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
  8938. (toString): do not return Strings starting with . and - erroneously.
  8939. Improves Mauve results to 12 of 600 instead of 16 of 338 on
  8940. DiagBigDecimal.
  8941. 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
  8942. * java/beans/PropertyDescriptor.java
  8943. (PropertyDescriptor(String, Class)): Sanity check getter and setter
  8944. methods.
  8945. (PropertyDescriptor(String, Class, String, String)): Likewise.
  8946. (PropertyDescriptor(String, Method, Method): Factor out getter and
  8947. setter method sanity checks into new method.
  8948. (findMethods): Don't do parameter sanity checking of get method here.
  8949. (checkMethods): New method.
  8950. 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
  8951. * java/beans/PropertyDescriptor.java: Reformat.
  8952. 2003-02-04 Tom Tromey <tromey@redhat.com>
  8953. * java/io/PipedOutputStream.java (flush): Declare as throwing
  8954. IOException.
  8955. (close): Likewise.
  8956. * java/io/PipedWriter.java (close): Declare as throwing
  8957. IOException.
  8958. * java/io/StringWriter.java (close): Declare as throwing
  8959. IOException.
  8960. 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
  8961. * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
  8962. of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
  8963. could also have been exported as "JNI_OnLoad@8" (MinGW) or
  8964. "_JNI_OnLoad@8" (MSVC).
  8965. 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
  8966. * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
  8967. convention on Win32 to invoke native JNI methods.
  8968. 2003-02-03 Andrew Haley <aph@redhat.com>
  8969. * configure.host (x86_64): Enable interpreter.
  8970. 2003-02-03 Andrew Haley <aph@redhat.com>
  8971. * libgcj.spec.in (jc1): Add BACKTRACESPEC.
  8972. * configure.host (x86_64): Default to -fno-omit-frame-pointer.
  8973. * configure.in (BACKTRACESPEC): New.
  8974. * configure: Regenerate.
  8975. 2003-02-02 Tom Tromey <tromey@redhat.com>
  8976. * configure: Rebuilt.
  8977. * configure.in (TOOLKIT) [xlib]: Set correctly.
  8978. * Makefile.in: Rebuilt.
  8979. * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
  8980. libstdc++.
  8981. 2003-01-31 Mark WIelaard <mark@klomp.org>
  8982. * Makefile.in: Rebuilt.
  8983. * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
  8984. 2003-01-31 Tom Tromey <tromey@redhat.com>
  8985. * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
  8986. cast to element type.
  8987. (_Jv_JNI_SetObjectArrayElement): Check array bounds.
  8988. (_Jv_JNI_GetObjectArrayElement): Likewise.
  8989. * Makefile.in: Rebuilt.
  8990. * Makefile.am (cond_x_ltlibrary): Renamed library to
  8991. lib-gnu-awt-xlib.la.
  8992. (lib_gnu_awt_xlib_la_SOURCES): Renamed.
  8993. (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
  8994. (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
  8995. (lib_gnu_awt_xlib_la_LIBADD): Likewise.
  8996. (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
  8997. (lib_gnu_awt_xlib_la_LINK): Likewise.
  8998. (install-exec-hook): Removed.
  8999. (lib-gnu-awt-xlib.la): Renamed.
  9000. 2003-01-31 Tom Tromey <tromey@redhat.com>
  9001. * aclocal.m4, configure, include/config.h.in: Rebuilt.
  9002. * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
  9003. aclocal.m4 and lost in some merge.
  9004. * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
  9005. Don't try to find graphics configuration.
  9006. * java/awt/Toolkit.java (default_toolkit_name): Use new
  9007. Configuration entry.
  9008. * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
  9009. New global.
  9010. * configure: Rebuilt.
  9011. * configure.in (TOOLKIT): New subst.
  9012. (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
  9013. Do AWT tests much earlier. Run Gtk tests. Make jniinclude
  9014. directory. Make output directories for .c files.
  9015. * Makefile.in: Rebuilt.
  9016. * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
  9017. (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
  9018. (all_java_source_files): Added new sources.
  9019. ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
  9020. (gtk_c_files): New macro.
  9021. (gtk_c_source_files): New macro.
  9022. (cond_gtk_ltlibrary): New macro.
  9023. ($(gtk_c_files)): New target.
  9024. (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
  9025. (gtk_awt_peer_sources): New macro.
  9026. (gtk_c_headers): New macro.
  9027. ($(gtk_c_headers)): New target.
  9028. (ACLOCAL_AMFLAGS): New macro.
  9029. * gtk.m4, glib.m4, libart.m4: New files.
  9030. * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
  9031. gnu/java/awt/peer/gtk/GdkGraphics.java,
  9032. gnu/java/awt/peer/gtk/GtkArg.java,
  9033. gnu/java/awt/peer/gtk/GtkArgList.java,
  9034. gnu/java/awt/peer/gtk/GtkButtonPeer.java,
  9035. gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
  9036. gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
  9037. gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
  9038. gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
  9039. gnu/java/awt/peer/gtk/GtkChoicePeer.java,
  9040. gnu/java/awt/peer/gtk/GtkClipboard.java,
  9041. gnu/java/awt/peer/gtk/GtkComponentPeer.java,
  9042. gnu/java/awt/peer/gtk/GtkContainerPeer.java,
  9043. gnu/java/awt/peer/gtk/GtkDialogPeer.java,
  9044. gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
  9045. gnu/java/awt/peer/gtk/GtkFontPeer.java,
  9046. gnu/java/awt/peer/gtk/GtkFramePeer.java,
  9047. gnu/java/awt/peer/gtk/GtkGenericPeer.java,
  9048. gnu/java/awt/peer/gtk/GtkImage.java,
  9049. gnu/java/awt/peer/gtk/GtkImagePainter.java,
  9050. gnu/java/awt/peer/gtk/GtkLabelPeer.java,
  9051. gnu/java/awt/peer/gtk/GtkListPeer.java,
  9052. gnu/java/awt/peer/gtk/GtkMainThread.java,
  9053. gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
  9054. gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
  9055. gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
  9056. gnu/java/awt/peer/gtk/GtkMenuPeer.java,
  9057. gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
  9058. gnu/java/awt/peer/gtk/GtkPanelPeer.java,
  9059. gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
  9060. gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
  9061. gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
  9062. gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
  9063. gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
  9064. gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
  9065. gnu/java/awt/peer/gtk/GtkToolkit.java,
  9066. gnu/java/awt/peer/gtk/GtkWindowPeer.java,
  9067. gnu/java/awt/peer/gtk/TestAWT.java,
  9068. gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
  9069. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
  9070. jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
  9071. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
  9072. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
  9073. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
  9074. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
  9075. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
  9076. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
  9077. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
  9078. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
  9079. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
  9080. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
  9081. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
  9082. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
  9083. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
  9084. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
  9085. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
  9086. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
  9087. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
  9088. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
  9089. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
  9090. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
  9091. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
  9092. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
  9093. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
  9094. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
  9095. jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
  9096. jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
  9097. jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
  9098. jni/classpath/jnilink.c, jni/classpath/jnilink.h,
  9099. jni/classpath/native_state.c, jni/classpath/native_state.h,
  9100. jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
  9101. 2003-01-31 Julian Dolby <dolby@us.ibm.com>
  9102. * java/util/Properties.java (load): Ignore backslash before EOF.
  9103. 2003-01-30 Jeff Sturm <jsturm@one-point.com>
  9104. * java/lang/natClass.cc (initializeClass): Check tables when
  9105. (state == JV_STATE_IN_PROGRESS).
  9106. (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
  9107. * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
  9108. interpreted classes.
  9109. (linkClass0): Use _Jv_WaitForState.
  9110. 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
  9111. * java/awt/Component.java (processPaintEvent): Dispose of Graphics
  9112. object when finished.
  9113. 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
  9114. * libjava/configure.host: Disable can_unwind_signal on darwin.
  9115. 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
  9116. Fixes PR java/9254:
  9117. * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
  9118. additionally containing id of the owner thread as well as
  9119. the number of nested times the thread has acquired the mutex.
  9120. (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
  9121. (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
  9122. (_Jv_MutexUnlock): Check if really the owner thread, reset
  9123. owner thread id to 0 before leaving, if leaving for the last
  9124. time.
  9125. (_Jv_MutexLock): Set owner thread id in the mutex and increment
  9126. refcount.
  9127. (_Jv_ThreadYield): Yield using a call to Sleep(0).
  9128. * win32-threads.cc (_Jv_CondWait): Check if really owner of
  9129. the passed mutex.
  9130. Pass handle of the broadcast event, instead of a pointer to it
  9131. in Win32 ResetEvent( ) call.
  9132. Remove incorrect return values.
  9133. (_Jv_CondDestroy): Close both event handles and delete
  9134. critical section.
  9135. (_Jv_CondNotify): Check if really the owner thread.
  9136. (_Jv_CondNotifyAll): Check if really the owner thread.
  9137. (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
  9138. (really_start): Use SetEvent( ) to signal daemon_cond.
  9139. (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
  9140. WaitForSingleObject( ) instead to wait for daemon_cond to be
  9141. signalled.
  9142. 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
  9143. * configure.in: Specifically define HAVE_BACKTRACE if building
  9144. for MinGW.
  9145. * include/win32.h: Remove HAVE_BACKTRACE definition.
  9146. * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
  9147. * configure: Rebuilt.
  9148. 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
  9149. * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
  9150. Set and AC_SUBST. Remove USE_LIBDIR conditional.
  9151. * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
  9152. (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
  9153. * Makefile.in, configure: Rebuilt.
  9154. 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
  9155. Fixes PR java/9253:
  9156. * java/io/natFileWin32.cc (performList): Append only "*.*"
  9157. if the canonical file path already has a "\" at the end.
  9158. 2003-01-24 Tom Tromey <tromey@redhat.com>
  9159. * defineclass.cc (handleMethodsEnd): Precompute code for static
  9160. method.
  9161. (handleCodeAttribute): Likewise.
  9162. * resolve.cc (ncode): Use run_class for unsynchronized static
  9163. methods.
  9164. * include/java-interp.h (class _Jv_InterpMethod): Declare
  9165. run_class.
  9166. * interpret.cc (run_synch_class): Initialize class.
  9167. (run) [insn_invokestatic]: Don't initialize class.
  9168. [insn_anewarray]: Likewise.
  9169. [insn_multianewarray]: Likewise.
  9170. (run_class): New function.
  9171. 2003-01-24 Tom Tromey <tromey@redhat.com>
  9172. * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
  9173. comment.
  9174. 2003-01-22 Andrew Haley <aph@redhat.com>
  9175. * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
  9176. * configure.host (CHECKREFSPEC): Define for x86_64.
  9177. 2003-01-21 Tom Tromey <tromey@redhat.com>
  9178. * java/util/natResourceBundle.cc (getCallingClassLoader): Start
  9179. search at 2, not 3.
  9180. 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
  9181. * java/io/natFileWin32.cc (isAbsolute): Check path length before
  9182. looking at any characters.
  9183. * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
  9184. be used.
  9185. (isAbsolute): Check path's length as well.
  9186. 2003-01-17 Mark Wielaard <mark@klomp.org>
  9187. * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
  9188. (nat_source_files): Add natVMObjectStreamClass.cc.
  9189. * Makefile.in: Regenerated.
  9190. * gcj/javaprims.h (namespace java): Regenerated.
  9191. * java/io/ObjectStreamClass.java (getClassUID): Call
  9192. VMObjectStreamClass.hasClassInitializer().
  9193. (hasClassInitializer): Removed.
  9194. * java/io/VMObjectStreamClass.java: New class.
  9195. * java/io/natVMObjectStreamClass.cc: New file.
  9196. * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
  9197. 2003-01-16 Mark Wielaard <mark@klomp.org>
  9198. * java/net/SocketImpl.java (toString): Don't explicitly call
  9199. toString() on possible null address.
  9200. 2003-01-16 Michael Koch <konqueror@gmx.de>
  9201. * java/net/MulticastSocket.java
  9202. (setInterface): Reindented.
  9203. 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
  9204. * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
  9205. * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
  9206. * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
  9207. translateY arguments. Implement.
  9208. * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
  9209. down translation arguments.
  9210. (drawPolyline, drawPolygon): Fix incorrect tests.
  9211. * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
  9212. translateX and translateY arguments.
  9213. 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
  9214. * Makefile.in: Rebuilt.
  9215. * Makefile.am (xlib_includes): New macro.
  9216. (INCLUDES): Use it.
  9217. 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
  9218. * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
  9219. * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
  9220. 16-bit display mode.
  9221. 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
  9222. * java/awt/CardLayout.java (show): Rewrote.
  9223. (gotoComponent): Removed `target' argument. Simplified code.
  9224. Don't pre-compute `choice' unless `what' is FIRST or LAST.
  9225. Changed all callers.
  9226. (NONE): Removed.
  9227. 2003-01-14 Michael Koch <konqueror@gmx.de>
  9228. * java/net/InetSocketAddress.java
  9229. (serialVersionUID): New member variable.
  9230. * java/net/NetPermission.java
  9231. (NetPermission): Dont implement java.io.Serialization directly.
  9232. * java/net/SocketAddress.java:
  9233. (serialVersionUID): Documentation added.
  9234. 2003-01-14 Michael Koch <konqueror@gmx.de>
  9235. * java/awt/Label.java
  9236. (Label): Implements javax.accessibility.Accessible;
  9237. * java/awt/List.java
  9238. (List): Implements javax.accessibility.Accessible;
  9239. * java/awt/ScrollPane.java
  9240. (ScrollPane): Implements javax.accessibility.Accessible;
  9241. * java/awt/Scrollbar.java
  9242. (Scrollbar): Implements javax.accessibility.Accessible;
  9243. * java/awt/TextComponent.java
  9244. (setCaretPosition): Throw exception, documentation added.
  9245. * java/awt/Toolkit.java:
  9246. Added some newlines in method documentations.
  9247. (createButton): Exception documentation added.
  9248. (createTextField): Exception documentation added.
  9249. (createLabel): Exception documentation added.
  9250. (createList): Exception documentation added.
  9251. (createCheckbox): Exception documentation added.
  9252. (createScrollbar): Exception documentation added.
  9253. (createScrollPane): Exception documentation added.
  9254. (createTextArea): Exception documentation added.
  9255. (createChoice): Exception documentation added.
  9256. (createFrame): Exception documentation added.
  9257. (createWindow): Exception documentation added.
  9258. (createDialog): Exception documentation added.
  9259. (createMenuBar): Exception documentation added.
  9260. (createMenu): Exception documentation added.
  9261. (createMenuItem): Exception documentation added.
  9262. (createFileDialog): Exception documentation added.
  9263. (createCheckboxMenuItem): Exception documentation added.
  9264. (loadSystemColors): Exception documentation added.
  9265. (setDynamicLayout): Exception documentation added.
  9266. (isDynamicLayoutSet): Exception documentation added.
  9267. (isDynamicLayoutActive): Exception documentation added.
  9268. (getScreenSize): Exception documentation added.
  9269. (getScreenResolution): Exception documentation added.
  9270. (getScreenInsets): Exception documentation added.
  9271. (getColorModel): Exception documentation added.
  9272. (getSystemClipboard): Exception documentation added.
  9273. (getSystemSelection): Exception documentation added.
  9274. (getMenuShortcutKeyMask): Exception documentation added.
  9275. (getSystemEventQueue): Exception documentation added.
  9276. * java/awt/Window.java:
  9277. Reindented some code.
  9278. (Window): Centralized implementation, documentation added.
  9279. (finalize): Documentation added.
  9280. (hide): Fixed typo in comment.
  9281. (getWindowListeners): Documentation added.
  9282. * java/awt/color/ColorSpace.java
  9283. (toRGB): Documentation added.
  9284. * java/awt/color/ICC_ColorSpace.java
  9285. (ICC_ColorSpace): Documentation added.
  9286. (toRGB): Throw exception, documentation added.
  9287. (fromRGB): Throw exception, documentation added.
  9288. (toCIEXYZ): Documentation added.
  9289. (fromCIEXYZ): Documentation added.
  9290. (getMinValue): Documentation added.
  9291. (getMaxValue): Documentation added.
  9292. * java/awt/geom/Dimension2D.java
  9293. (clone): Documentation added.
  9294. * java/awt/geom/GeneralPath.java
  9295. (clone): Documentation added.
  9296. * java/awt/geom/Line2D.java
  9297. (clone): Documentation added.
  9298. * java/awt/geom/QuadCurve2D.java
  9299. (clone): Documentation added.
  9300. * java/awt/image/ColorModel.java
  9301. (ColorModel): Throw exception, documentation added.
  9302. * java/awt/image/ImageFilter.java
  9303. (clone): Doesnt throw CloneNotSupportedException.
  9304. 2003-01-14 Andrew Haley <aph@redhat.com>
  9305. * java/lang/natRuntime.cc (_load): StackTrace access needs to be
  9306. in a try block.
  9307. 2003-01-10 Andrew Haley <aph@redhat.com>
  9308. * include/dwarf2-signal.h: Remove x86_64.
  9309. * configure.host (x86_64 DIVIDESPEC): Remove.
  9310. * include/x86_64-signal.h: New file.
  9311. * configure.in: Regenerate.
  9312. 2003-01-10 Michael Koch <konqueror@gmx.de>
  9313. * java/net/DatagramSocket.java
  9314. (ch): Description added.
  9315. (remotePort): Initialize with -1.
  9316. (connect): Doesnt throws SocketException.
  9317. * java/net/MulticastSocket.java
  9318. (setInterface): Merge with Classpath.
  9319. * java/net/ServerSocket.java
  9320. (closed): New member variable.
  9321. (bind): Check if socket is closed.
  9322. (close): Close an associated channel too, set new value to closed.
  9323. (isBound): Reindented.
  9324. (isClosed): Implemented.
  9325. * java/net/Socket.java
  9326. (closed): New member variable.
  9327. (bind): Check if socket is closed.
  9328. (connect): Check if socket is closed.
  9329. (close): Close an associated channel too, set new value to closed.
  9330. (isClosed): Implemented.
  9331. 2003-01-10 Michael Koch <konqueror@gmx.de>
  9332. * java/awt/DisplayMode.java
  9333. (equals): Fixed argument type and implementation.
  9334. 2003-01-07 Tom Tromey <tromey@redhat.com>
  9335. * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
  9336. JV_HASH_SYNCHRONIZATION.
  9337. * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
  9338. JV_HASH_SYNCHRONIZATION.
  9339. 2003-01-07 Michael Koch <konqueror@gmx.de>
  9340. * java/net/DatagramSocket.java:
  9341. Added classpath license info.
  9342. (DatagramSocket): Merged description with classpath.
  9343. (close): Merged description with classpath.
  9344. (getChannel): Merged description with classpath.
  9345. (getInetAddress): Merged description with classpath.
  9346. (getPort): Merged description with classpath.
  9347. (getLocalAddress): Merged description with classpath.
  9348. (getLocalPort): Merged description with classpath.
  9349. (getSoTimeout): Merged description with classpath.
  9350. (setSoTimeout): Merged description with classpath.
  9351. (getSendBufferSize): Merged description with classpath.
  9352. (setSendBufferSize): Merged description with classpath.
  9353. (getReceiveBufferSize): Merged description with classpath.
  9354. (setReceiveBufferSize): Merged description with classpath.
  9355. 2003-01-04 Tom Tromey <tromey@redhat.com>
  9356. * java/awt/List.java: Merged with Classpath.
  9357. 2003-01-03 Mark Wielaard <mark@klomp.org>
  9358. * java/io/FileDescriptor.java (position): New private field.
  9359. * java/io/natFileDescriptorPosix.cc (write): Up position.
  9360. (setLength): Use and set position.
  9361. (seek): Set position.
  9362. (getFilePointer): Return position.
  9363. (read): Up position.
  9364. 2003-01-03 Mark Wielaard <mark@klomp.org>
  9365. Merge with Classpath:
  9366. * java/io/ObjectStreamClass.java (lookup): Split method and call
  9367. lookupForClassObject().
  9368. (lookupForClassObject): New method.
  9369. (isProxyClass): New field.
  9370. (setClass): Set isProxyClass, add object to classLookupTable, set
  9371. superClass and calculateOffsets.
  9372. (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
  9373. and not a proxy class.
  9374. (setFields): Set accessible true for serialPersistentFields.
  9375. (getClassUID): Same for suid. And check if suid is of type long.
  9376. (hasClassInitializer): Don't throw NoSuchMethodError.
  9377. 2003-01-03 Mark Wielaard <mark@klomp.org>
  9378. * java/io/FileInputStream.java (finalize): Don't explicitly
  9379. finalize FileDescriptor.
  9380. 2003-01-03 Jeff Sturm <jsturm@one-point.com>
  9381. * configure.host (sparc*-*): Enable bytecode interpreter.
  9382. 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
  9383. * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
  9384. Don't throw RemoteException.
  9385. * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
  9386. throw RemoteException.
  9387. 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
  9388. * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
  9389. proxyHost): New static fields.
  9390. (<clinit>): Initialize new fields.
  9391. (connect): Use proxy if necessary.
  9392. (usingProxy): Implement.
  9393. 2003-01-03 Eric Blake <ebb9@email.byu.edu>
  9394. * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
  9395. (TreeIterator.remove): Prefer IllegalStateException over
  9396. ConcurrentModificationException, to match Sun.
  9397. 2003-01-03 Anthony Green <green@redhat.com>
  9398. * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
  9399. 2003-01-02 Mark Wielaard <mark@klomp.org>
  9400. * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
  9401. public.
  9402. (HTTP_USE_PROXY): Add field.
  9403. (getResponseVals): Only set responseCode when not yet explicitly
  9404. set by subclass.
  9405. 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
  9406. Mark Wielaard <mark@klomp.org>
  9407. * java/util/zip/ZipFile.java (entries): Now HashMap.
  9408. (readLeShort(DataInput, byte[])): Read from given byte array.
  9409. (readLeInt(DataInput, byte[]): Likewise.
  9410. (readLeShort(byte[] b, int off)): New method.
  9411. (readLeInt(byte[] b, int off)): Likewise.
  9412. (readEntries): Use byte arrays to read info in bigger chunks.
  9413. (getEntries): Return HashMap.
  9414. (getEntry): Use HashMap.
  9415. (locBuf): New private field.
  9416. (checkLocalHeader): Use locBuf to read info in one chunk.
  9417. (getInputStream): Use entries HashMap, wrap PartialInputStream
  9418. in BufferedInputStream.
  9419. (ZipEntryEnumeration): Use HashMap and Interator.
  9420. 2003-01-02 Mark Wielaard <mark@klomp.org>
  9421. Jeroen Frijters <jeroen@sumatra.nl>
  9422. * java/net/URLClassLoader.java (Resource.getCodeSource):
  9423. Fix check certs == null.
  9424. (getCanonicalFileURL): Removed method.
  9425. (JarURLLoader): Don't call removed method.
  9426. (FileURLLoader): Likewise.
  9427. (FileURLLoader.getResource): Don't canonicalize file name.
  9428. 2003-01-01 Tom Tromey <tromey@redhat.com>
  9429. * Makefile.in: Rebuilt.
  9430. * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
  9431. * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
  9432. java/awt/BufferCapabilities.java, java/awt/Button.java,
  9433. java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
  9434. java/awt/Container.java, java/awt/Cursor.java,
  9435. java/awt/EventQueue.java, java/awt/FileDialog.java,
  9436. java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
  9437. java/awt/MenuBar.java, java/awt/MenuComponent.java,
  9438. java/awt/PopupMenu.java, java/awt/ScrollPane.java,
  9439. java/awt/Scrollbar.java, java/awt/TextArea.java,
  9440. java/awt/TextField.java, java/awt/color/CMMException.java,
  9441. java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
  9442. java/awt/color/ProfileDataException.java,
  9443. java/awt/datatransfer/Clipboard.java,
  9444. java/awt/datatransfer/DataFlavor.java,
  9445. java/awt/datatransfer/FlavorMap.java,
  9446. java/awt/datatransfer/SystemFlavorMap.java,
  9447. java/awt/dnd/DragGestureEvent.java,
  9448. java/awt/dnd/DragGestureRecognizer.java,
  9449. java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
  9450. java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
  9451. java/awt/im/InputMethodHighlight.java,
  9452. java/io/PipedOutputStream.java, java/io/PipedWriter.java,
  9453. java/rmi/server/RMIClassLoader.java: Merged from Classpath.
  9454. * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
  9455. `op' to BufferedImageOp.