ChangeLog-2007 173 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811
  1. 2007-12-31 Andrew John Hughes <gnu_andrew@member.fsf.org>
  2. * javax/management/remote/rmi/RMIConnection.java:
  3. Partial implementation.
  4. * javax/management/remote/rmi/RMIServer.java:
  5. Implemented.
  6. 2007-12-31 Andrew John Hughes <gnu_andrew@member.fsf.org>
  7. PR classpath/34582:
  8. * javax/rmi/ssl/SslRMIClientSocketFactory.java:
  9. (getProp(String)): Check for the property being null.
  10. 2007-12-28 Dalibor Topic <robilad@kaffe.org>
  11. * configure.ac (AC_CHECK_HEADERS): Check for
  12. netinet/in_systm.h, netinet/ip.h and net/if.h
  13. for Windows CE.
  14. * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
  15. Guard net/if.h include statement. Use unsigned int
  16. instead of u_int.
  17. * native/jni/java-nio/gnu_java_nio_VMChannel.c:
  18. Guard sys/mman.h include statement.
  19. * native/jni/java-nio/gnu_java_nio_VMSelector.c:
  20. Guard sys/select.h include statement.
  21. * native/jni/java-nio/javanio.c:
  22. Guard sys/select.h include statement.
  23. * native/jni/java-nio/javanio.h:
  24. Include sys/time.h.
  25. * native/jni/native-lib/cpio.c:
  26. Guard chmod call by S_IWRITE, since it's not
  27. defined in the arm-wince toolchain.
  28. * native/jni/native-lib/cpnet.h:
  29. Guard netinet/in_systm.h and netinet/ip.h
  30. include statements.
  31. 2007-12-28 Dalibor Topic <robilad@kaffe.org>
  32. * m4/acinclude.m4 (CLASSPATH_WITH_GLIBJ): Use
  33. AC_PATH_PROGS instead of AC_PATH_PROG to check
  34. for FASTJAR as fastjar, gjar or jar. Add braces
  35. to AC_PATH_PROGS arguments.
  36. * tools/Makefile.am (TOOLS_ZIP),
  37. lib/Makefile.am (collections.jar, glibj.zip):
  38. Quote FASTJAR in case it's in a path with
  39. whitespace.
  40. 2007-12-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
  41. PR classpath/34580:
  42. * java/awt/Desktop.java:
  43. (isDesktopSupported()): Made public.
  44. 2007-12-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
  45. PR classpath/34577:
  46. * javax/swing/JFrame.java:
  47. (addImpl(Component,Object,int)): Add a similar
  48. check for the root pane as in remove, adding using
  49. the superclass when this occurs rather than the
  50. content pane.
  51. 2007-12-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
  52. PR classpath/34576:
  53. * java/awt/Container.java:
  54. (isAncestorOf(Component)): Swap ordering so that
  55. the parent is retrieved prior to checking against
  56. this, thus preventing a component being an ancestor of
  57. itself.
  58. 2007-12-11 Robert Schuster <robertschuster@fsfe.org>
  59. * AUTHORS: Added my name to the list.
  60. 2007-12-10 Robert Schuster <robertschuster@fsfe.org>
  61. * THANKYOU: Added my name to the list.
  62. 2007-12-10 Robert Schuster <robertschuster@fsfe.org>
  63. PR classpath/32516:
  64. * tools/gnu/classpath/tools/jar/Entry.java:
  65. (Entry(File, String)): Added loop to remove all dot-file separator
  66. prefixes.
  67. (Entry(File)): Call Entry(File, String) constructor variant.
  68. 2007-12-10 Robert Schuster <robertschuster@fsfe.org>
  69. * native/jni/native-lib/cpio.c:
  70. (cpio_df): Mark arguments as possibly unused.
  71. 2007-12-10 Robert Schuster <robertschuster@fsfe.org>
  72. * javax/swing/text/GlyphView.java:
  73. (paint): Removed debug output.
  74. 2007-12-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
  75. PR classpath/34276:
  76. * gnu/javax/management/Translator.java:
  77. (translate(String)): Select only public methods
  78. from a composite type, try this translation in all
  79. cases and exit only when no fields are translated.
  80. 2007-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
  81. PR classpath/34276:
  82. * gnu/java/lang/management/BeanImpl.java:
  83. (getDescription(MBeanConstructorInfo,MBeanParameterInfo,int)):
  84. Added to provide a default description if the current one is null.
  85. (getDescription(MBeanOperationInfo,MBeanParameterInfo,int)):
  86. Likewise.
  87. (getParameterName(MBeanConstructorInfo,MBeanParameterInfo,int)):
  88. Likewise for the name.
  89. (getParameterName(MBeanOperationInfo,MBeanParameterInfo,int)):
  90. Likewise.
  91. * gnu/javax/management/Server.java:
  92. (getMBeanInfo()): Try using a StandardMBean wrapper if reflection
  93. fails to find getMBeanInfo().
  94. 2007-11-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
  95. * examples/gnu/classpath/examples/management/TestBeans.java:
  96. Simplify so that it uses the management server.
  97. * examples/gnu/classpath/examples/management/TestClassLoading.java:
  98. Test via the server and the proxy as well.
  99. 2007-11-27 Thomas Fitzsimmons <fitzsim@redhat.com>
  100. * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
  101. native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c
  102. (isWindowUnderMouse): New method.
  103. * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h:
  104. Regenerate.
  105. * gnu/java/awt/peer/gtk/GtkComponentPeer.java
  106. (getLocationOnScreen): Move WindowPeer section to...
  107. * gnu/java/awt/peer/gtk/GtkWindowPeer.java (getLocationOnScreen):
  108. New method.
  109. * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java
  110. (isWindowUnderMouse): Implement.
  111. * java/awt/Component.java (getMousePosition): New method.
  112. (getMousePositionHelper): Likewise.
  113. (mouseOverComponent): Likewise.
  114. * java/awt/Container.java (getMousePosition): New method.
  115. (mouseOverComponent): Likewise.
  116. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
  117. Revert 2007-09-11 changes.
  118. 2007-11-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
  119. * javax/management/package.html: Added.
  120. * javax/management/remote/package.html: Likewise.
  121. 2007-11-24 Mario Torre <neugens@limasoftware.net>
  122. * java/util/concurrent/CopyOnWriteArrayList.java:
  123. (addAll): fix implementation, now add elements in the correct position.
  124. (addAllAbsent): fixed typos (whoops!).
  125. (remove(int)): fixed range in arraycopy that was causing for incorrect
  126. values to be inserted in the list. Refactored to give variables better
  127. names.
  128. (remove(Object)): refactored to give better names to variable.
  129. (listIterator): fix to set the starting index.
  130. (listIterator.previous): fix to decrement element position before
  131. returning the previous element in the iterator.
  132. 2007-11-23 Mario Torre <neugens@limasoftware.net>
  133. * gnu/java/util/prefs/EventDispatcher.java: class removed.
  134. * gnu/classpath/toolkit/DefaultDaemonThreadFactory.java: new file.
  135. * java/util/prefs/AbstractPreferences.java: (fire(PreferenceChangeEvent)):
  136. Use DefaultDaemonThreadFactory and Executors.newSingleThreadExecutor
  137. instead of EventDispatcher. Import statement refactored accordingly.
  138. Also refactored to use 1.5 enhanced for loop and generics.
  139. (fire(NodeChangeEvent, boolean)): likewise.
  140. * gnu/java/util/prefs/GConfBasedPreferences.java (childSpi):
  141. removed startWatchingNode call.
  142. * gnu/java/util/prefs/gconf/GConfNativePeer.java:
  143. (GConfNativePeer): removed use of semaphore.
  144. (gconf_all_nodes): method name shortened, renamed from
  145. gconf_client_all_nodes (removed client_ from method signature) and
  146. declared synchronized.
  147. (gconf_suggest_sync): likewise.
  148. (gconf_get_string): likewise.
  149. (gconf_unescape_key): likewise.
  150. (gconf_set_string): likewise.
  151. (gconf_escape_key): likewise.
  152. (gconf_all_keys): likewise.
  153. (gconf_dir_exists): likewise.
  154. (getKeys): refactored to use new native method name.
  155. (getKey): likewise.
  156. (setString): likewise.
  157. (getChildrenNodes): likewise.
  158. (unset): likewise.
  159. (suggestSync): likewise.
  160. (finalize): likewise.
  161. (nodeExist): likewise.
  162. (gconf_client_add_dir): removed, not needed anymore.
  163. (gconf_client_remove_dir): likewise.
  164. (startWatchingNode): likewise.
  165. (stopWatchingNode): likewise.
  166. * native/jni/conf-peer/GConfNativePeer.c:
  167. All native methods renamed to match changes in GConfNativePeer.java
  168. Now use GConfEngine instead of GConfClient.
  169. Removed gdk_thread_enter/leave locking from all methods.
  170. (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir):
  171. removed.
  172. (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
  173. likewise.
  174. * include/gnu_java_util_prefs_gconf_GConfNativePeer.h: regenerated.
  175. 2007-11-23 Mario Torre <neugens@limasoftware.net>
  176. * java/util/concurrent/CopyOnWriteArrayList.java:
  177. Added javadoc.
  178. (serialVersionUID): new field.
  179. (iterator): new method, override from base class.
  180. (remove): likewise.
  181. (listIterator): likewise.
  182. (removeAll): likewise.
  183. (retainAll): likewise.
  184. (contains): fixed typo in javadoc.
  185. (addIfAbsent): added javadoc.
  186. (addAllAbsent): Rewrite to improve performance. Also add javadoc.
  187. 2007-11-23 Ian Rogers <ian.rogers@manchester.ac.uk>
  188. * java/io/FileOutputStream.java,
  189. * java/io/PrintStream.java,
  190. * java/util/Locale.java:
  191. Make fields that can be final, final.
  192. * gnu/java/nio/charset/ByteCharset.java,
  193. * gnu/java/nio/charset/Cp424.java,
  194. * gnu/java/nio/charset/Cp437.java,
  195. * gnu/java/nio/charset/Cp737.java,
  196. * gnu/java/nio/charset/Cp775.java,
  197. * gnu/java/nio/charset/Cp850.java,
  198. * gnu/java/nio/charset/Cp852.java,
  199. * gnu/java/nio/charset/Cp855.java,
  200. * gnu/java/nio/charset/Cp857.java,
  201. * gnu/java/nio/charset/Cp860.java,
  202. * gnu/java/nio/charset/Cp861.java,
  203. * gnu/java/nio/charset/Cp862.java,
  204. * gnu/java/nio/charset/Cp863.java,
  205. * gnu/java/nio/charset/Cp864.java,
  206. * gnu/java/nio/charset/Cp865.java,
  207. * gnu/java/nio/charset/Cp866.java,
  208. * gnu/java/nio/charset/Cp869.java,
  209. * gnu/java/nio/charset/Cp874.java,
  210. * gnu/java/nio/charset/EncodingHelper.java,
  211. * gnu/java/nio/charset/ISO_8859_13.java,
  212. * gnu/java/nio/charset/ISO_8859_15.java,
  213. * gnu/java/nio/charset/ISO_8859_1.java,
  214. * gnu/java/nio/charset/ISO_8859_2.java,
  215. * gnu/java/nio/charset/ISO_8859_3.java,
  216. * gnu/java/nio/charset/ISO_8859_4.java,
  217. * gnu/java/nio/charset/ISO_8859_5.java,
  218. * gnu/java/nio/charset/ISO_8859_6.java,
  219. * gnu/java/nio/charset/ISO_8859_7.java,
  220. * gnu/java/nio/charset/ISO_8859_8.java,
  221. * gnu/java/nio/charset/ISO_8859_9.java,
  222. * gnu/java/nio/charset/KOI_8.java,
  223. * gnu/java/nio/charset/MacCentralEurope.java,
  224. * gnu/java/nio/charset/MacCroatian.java,
  225. * gnu/java/nio/charset/MacCyrillic.java,
  226. * gnu/java/nio/charset/MacDingbat.java,
  227. * gnu/java/nio/charset/MacGreek.java,
  228. * gnu/java/nio/charset/MacIceland.java,
  229. * gnu/java/nio/charset/MacRomania.java,
  230. * gnu/java/nio/charset/MacRoman.java,
  231. * gnu/java/nio/charset/MacSymbol.java,
  232. * gnu/java/nio/charset/MacThai.java,
  233. * gnu/java/nio/charset/MacTurkish.java,
  234. * gnu/java/nio/charset/MS874.java,
  235. * gnu/java/nio/charset/Provider.java,
  236. * gnu/java/nio/charset/US_ASCII.java,
  237. * gnu/java/nio/charset/Windows1250.java,
  238. * gnu/java/nio/charset/Windows1251.java,
  239. * gnu/java/nio/charset/Windows1252.java,
  240. * gnu/java/nio/charset/Windows1253.java,
  241. * gnu/java/nio/charset/Windows1254.java,
  242. * gnu/java/nio/charset/Windows1255.java,
  243. * gnu/java/nio/charset/Windows1256.java,
  244. * gnu/java/nio/charset/Windows1257.java,
  245. * gnu/java/nio/charset/Windows1258.java,
  246. * gnu/java/nio/charset/ByteDecodeLoopHelper.java,
  247. * gnu/java/nio/charset/ByteEncodeLoopHelper.java:
  248. Optimize for array based buffers.
  249. * native/jni/gtk-peer/gtkpeer.c:
  250. Make 32bit pointer a global JNI reference.
  251. * java/lang/String:
  252. (toLowerCaseTurkish): new method.
  253. (toUpperCaseTurkish): new method.
  254. (toLowerCase): special case Turkish
  255. (toUpperCase): likewise.
  256. * java/lang/Long:
  257. (valueOf): remove unnecessary synchronized.
  258. 2007-11-08 Jeroen Frijters <jeroen@frijters.net>
  259. * java/util/Locale.java
  260. (Locale): Always intern strings.
  261. 2007-11-06 Mario Torre <neugens@limasoftware.net>
  262. * vm/reference/java/io/VMFile.java:
  263. (getTotalSpace): new method.
  264. (getUsableSpace): likewise.
  265. (getFreeSpace): likewise.
  266. * java/io/File.java: (getTotalSpace): new method.
  267. (getUsableSpace): likewise.
  268. (getFreeSpace): likewise.
  269. * native/jni/java-io/java_io_VMFile.c:
  270. (Java_java_io_VMFile_getTotalSpace): new function.
  271. (Java_java_io_VMFile_getFreeSpace): likewise.
  272. (Java_java_io_VMFile_getUsableSpace): likewise.
  273. * native/jni/native-lib/cpio.h: (cpio_df): new function.
  274. (CPFILE_DF_TYPE): enum type for cpio_df.
  275. * native/jni/native-lib/cpio.c: (cpio_df): new function.
  276. * include/java_io_VMFile.h: regenerated.
  277. * configure.ac: added check for statvfs.
  278. 2007-11-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
  279. PR classpath/33385:
  280. * tools/com/sun/tools/javac/Main.java:
  281. Make our wrapper 1.5 capable.
  282. 2007-11-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
  283. * gnu/java/lang/MainThread.java:
  284. Fix varargs warning.
  285. * lib/Makefile.am:
  286. Remove restriction on ecj printing varargs warnings.
  287. 2007-11-01 Mario Torre <neugens@limasoftware.net>
  288. PR classpath/33982:
  289. * configure.ac: add GDK_CFLAGS for the GStreamer peer.
  290. 2007-11-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
  291. * gnu/java/awt/java2d/ScanlineCoverage.java,
  292. * gnu/javax/net/ssl/provider/ServerHandshake.java:
  293. Fix non-ASCII characters in the Javadoc comments.
  294. * gnu/java/lang/management/BeanImpl.java,
  295. * gnu/javax/management/Server.java,
  296. * gnu/xml/pipeline/EventFilter.java,
  297. * java/awt/AWTKeyStroke.java,
  298. * java/beans/DefaultPersistenceDelegate.java,
  299. * java/beans/EventHandler.java,
  300. * java/io/ObjectStreamClass.java,
  301. * java/lang/Class.java,
  302. * java/lang/reflect/Proxy.java,
  303. * javax/management/NotificationBroadcasterSupport.java,
  304. * javax/management/StandardMBean.java,
  305. * javax/swing/TransferHandler.java:
  306. Fix warnings from use of varargs methods.
  307. 2007-10-27 Ian Rogers <ian.rogers@manchester.ac.uk>
  308. * java/beans/PropertyChangeSupport.java,
  309. * java/beans/VetoableChangeSupport.java,
  310. * java/io/ObjectStreamClass.java,
  311. * java/lang/reflect/Array.java,
  312. * java/net/DatagramSocket.java,
  313. * java/net/ServerSocket.java,
  314. * java/net/Socket.java,
  315. * java/nio/charset/CoderResult.java,
  316. * java/security/Security.java,
  317. * java/security/spec/RSAKeyGenParameterSpec.java,
  318. * java/text/ChoiceFormat.java,
  319. * java/text/DecimalFormat.java,
  320. * java/text/MessageFormat.java:
  321. Make use of new valueOf methods.
  322. 2007-10-27 Ian Rogers <ian.rogers@manchester.ac.uk>
  323. * java/io/OutputStreamWriter.java:
  324. Make fields of this class that can be final, final.
  325. 2007-10-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
  326. PR classpath/33385:
  327. * tools/com/sun/tools/javac/Main.java:
  328. Revert patch that adds bootclasspath.
  329. 2007-10-22 Dalibor Topic <robilad@kaffe.org>
  330. * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c:
  331. Include config-int.h for uint32_t.
  332. 2007-10-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
  333. * NEWS: Kickoff updates for 0.97.
  334. * configure.ac: Set version to 0.97-pre.
  335. * doc/www.gnu.org/newsitems.txt: Add 0.96.1.
  336. * doc/www.gnu.org/downloads/downloads.wml: Likewise.
  337. * doc/www.gnu.org/announce/20071015.wml: Add missing URLs.
  338. * doc/www.gnu.org/announce/20071016.wml: New file.
  339. 2007-10-16 Mark Wielaard <mark@klomp.org>
  340. * NEWS: Mention small compile/configure/build fixes.
  341. * configure.ac: Set version to 0.96.1
  342. 2007-10-16 from Alexandre Oliva <aoliva@redhat.com>
  343. * scripts/check_jni_methods.sh: Don't depend on diff -b ignoring
  344. a single trailing whitespace.
  345. 2007-10-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
  346. * m4/acinclude.m4: Add -sourcepath so that
  347. some proprietary JDKs don't try to compile the
  348. whole of Classpath when testing the compiler.
  349. 2007-10-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
  350. * doc/www.gnu.org/newsitems.txt: Add 0.96.
  351. * doc/www.gnu.org/downloads/downloads.wml: Likewise.
  352. * doc/www.gnu.org/announce/20071015.wml: New file.
  353. 2007-10-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
  354. * NEWS: Kickoff updates for 0.97.
  355. * configure.ac: Set version to 0.97-pre.
  356. 2007-10-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
  357. * NEWS: Add date of 0.96 release.
  358. * configure.ac: Set version to 0.96.
  359. 2007-10-15 Mario Torre <neugens@limasoftware.net>
  360. * doc/cp-hacking.texinfo: Update GConf requirement, and added information
  361. about the GStreamer Sound peer.
  362. 2007-10-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
  363. * README.gstreamer: Correct a few typos.
  364. * doc/cp-hacking.texinfo: Update to match current status
  365. (e.g. mention cacao, use of 1.5, etc.)
  366. 2007-10-15 Roman Kennke <roman.kennke@aicas.com>
  367. * java/awt/event/MouseEvent.java
  368. (MouseEvent): For the no-absX/absY constructor, set the
  369. absX/absY to 0, instead of calling into getLocationOnScreen(),
  370. which might cause nasty deadlocks.
  371. 2007-10-15 Mario Torre <neugens@limasoftware.net>
  372. * javax/swing/text/DefaultStyledDocument.java (ElementBuffer.insertElement):
  373. Added check for empty stack to avoid EmptyStackException.
  374. 2007-10-15 Roman Kennke <roman.kennke@aicas.com>
  375. * java/awt/LightweightDispatcher.java
  376. (dispatchEvent): Don't synchronize on the AWT lock here,
  377. this causes a deadlock in some situations.
  378. 2007-10-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
  379. PR classpath/33385:
  380. * tools/com/sun/tools/javac/Main.java:
  381. Add bootclasspath and 1.5 options so the compiler
  382. can run.
  383. 2007-10-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
  384. PR classpath/33622:
  385. * lib/Makefile.am: Use JAVAC_ARGS variable.
  386. * m4/acinclude.m4: Check javac is 1.5 compliant
  387. and whether it supports -J.
  388. 2007-10-12 Mario Torre <neugens@limasoftware.net>
  389. * gnu/javax/swing/text/html/css/FontSize.java (mapPercent):
  390. (mapPoints): prevent a NumberFormatException when a floating point is given
  391. instead of a integer.
  392. (mapPixels): likewise.
  393. (mapPercent): likewise.
  394. 2007-10-12 Mario Torre <neugens@limasoftware.net>
  395. * gnu/javax/sound/AudioSecurityManager.java: Added Copyright header.
  396. (Permission): added missing javadoc.
  397. (checkPermissions): likewise.
  398. 2007-10-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
  399. PR classpath/33622:
  400. * lib/Makefile.am: Add -J-mX512M option to
  401. allow javac enough memory to build Classpath.
  402. 2007-10-12 Roman Kennke <roman.kennke@aicas.com>
  403. * NEWS: Added entry for Escher peers.
  404. 2007-10-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
  405. * NEWS: Updated for 0.96
  406. 2007-10-12 Robin Garner <robin.garner@anu.edu.au>
  407. PR classpath/32541:
  408. * java/io/OutputStreamWriter.java:
  409. Provide buffering when not converting to improve
  410. performance.
  411. 2007-10-12 Ian Rogers <ian.rogers@manchester.ac.uk>
  412. PR classpath/33746:
  413. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
  414. Remove atexit call that makes JikesRVM deadlock.
  415. 2007-10-12 Ian Rogers <ian.rogers@manchester.ac.uk>
  416. 2007-10-12 Andrew Haley <aph@redhat.com>
  417. PR classpath/33741:
  418. * java/lang/Double.java:
  419. (compare(double,double)): Increase performance
  420. of this method.
  421. * java/lang/Float.java:
  422. (compare(float,float)): Likewise.
  423. 2007-10-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
  424. PR classpath/33623:
  425. * m4/acinclude.m4:
  426. Fix typo which prevents --with-ecj being used.
  427. 2007-10-11 Roman Kennke <roman.kennke@aicas.com>
  428. * javax/swing/plaf/basic/BasicTreeUI.java
  429. (EDIT): Removed obsolete constant.
  430. 2007-10-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
  431. Recommitting patch by Dalibor Topic from 2007-09-21.
  432. * java/lang/management/ThreadInfo.java:
  433. Removed unused private constructors.
  434. 2007-10-09 Mario Torre <neugens@limasoftware.net>
  435. * README.gstreamer: new file.
  436. 2007-10-08 Andrew John Hughes <gnu_andrew@member.fsf.org>
  437. PR classpath/33623:
  438. * examples/Makefile.am:
  439. Exit with no compiler.
  440. * lib/Makefile.am: Likewise.
  441. * m4/acinclude.m4: Handle ecj and javac
  442. using separate variables and catch when JAVAC/ECJ is
  443. empty.
  444. 2007-10-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
  445. PR classpath/23854:
  446. * java/util/zip/ZipEntry.java:
  447. (parseExtra()): Pass time to setTime in milliseconds
  448. rather than seconds by multiplying by 1000.
  449. 2007-09-27 Mario Torre <neugens@limasoftware.net>
  450. * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReaderNativePeer.java:
  451. (gstreamer_get_audio_format_stream): Removed parameter from javadoc.
  452. (gstreamer_get_audio_format_file): likewise.
  453. * gnu/javax/sound/sampled/gstreamer/lines/GstPipeline.java:
  454. Added class javadoc and implementation notes.
  455. (READ): new constant.
  456. (WRITE): likewise.
  457. (QUEUED): likewise.
  458. (CAPACITY_KEY): likewise.
  459. (lock): likewise.
  460. (prefs): new variable.
  461. (GstPipeline constructor): added OS independent rutines to detect
  462. filesystem pipes size plus save and restores this information via
  463. preferences. Now closes open pipe on user abort at VM exit.
  464. (open_native_pipe): new native method.
  465. (close_native_pipe): likewise.
  466. (detect_pipe_size): likewise.
  467. (createForWrite): update to use new native methods.
  468. (setState): removed hack to synchronize reading and writing of the
  469. filesystme named pipe.
  470. (available): implemented.
  471. (drain): new implementation, now correctly waits for data to be consumed
  472. in the pipeline.
  473. (prepareWrite): removed hack to synchronize reading and writing of the
  474. filesystme named pipe.
  475. (CleanPipeline): new inner class, used for cleaning of native pipelines
  476. still opened at VM exit.
  477. * gnu/javax/sound/sampled/gstreamer/lines/GstSourceDataLine:
  478. (getFramePosition): method still stubbed, now output "implement me"
  479. note when called (used for testing).
  480. (getLongFramePosition): likewise.
  481. (getMicrosecondPosition): likewise.
  482. * include/gnu_javax_sound_sampled_gstreamer_lines_GstPipeline.h:
  483. regenerated.
  484. * native/jni/gstreamer-peer/gst_native_data_line.c:
  485. (setup_pipeline): Changed signature, now uses a file descriptor instead of
  486. char with the name of the native pipeline. Also changed to use "fdsrc"
  487. when creating the GStreamer pipeline.
  488. (Java_gnu_javax_sound_sampled_gstreamer_lines_GstNativeDataLine_setup_1sink_1pipeline):
  489. now uses gst_native_pipeline_get_pipeline_fd to get the file descriptor
  490. of the native pipeline, instead of gst_native_pipeline_get_pipeline_name.
  491. Chaged to use "autoaudiosink" as GStreamer audio sink.
  492. (gst_newpad): fix indentation.
  493. * native/jni/gstreamer-peer/gst_native_pipeline.c: include new headers for
  494. compilation.
  495. (capacityFID): new filed for caching.
  496. (GST_DETECTED_PIPE_CAPACITY): new field.
  497. (enum): maps READ and WRITE in GstPipeline class.
  498. (_GstNativePipelinePrivate.fd): new field.
  499. (create_name): new function.
  500. (init_pointer_IDs): likewise.
  501. (get_free_space): likewise.
  502. (Java_gnu_javax_sound_sampled_gstreamer_lines_GstPipeline_init_1id_1cache):
  503. cache capacityFID.
  504. (Java_gnu_javax_sound_sampled_gstreamer_lines_GstPipeline_init_1instance):
  505. get value for GST_DETECTED_PIPE_CAPACITY from mapped class.
  506. (Java_gnu_javax_sound_sampled_gstreamer_lines_GstPipeline_set_1state):
  507. removed "unused" attribute from parameters, clean pipeline name on exit.
  508. (Java_gnu_javax_sound_sampled_gstreamer_lines_GstPipeline_open_1native_1pipe):
  509. new function.
  510. (Java_gnu_javax_sound_sampled_gstreamer_lines_GstPipeline_close_1native_1pipe):
  511. likewise.
  512. (Java_gnu_javax_sound_sampled_gstreamer_lines_GstPipeline_create_1named_1pipe):
  513. pipe name created with a dedicated function.
  514. (Java_gnu_javax_sound_sampled_gstreamer_lines_GstPipeline_available): new
  515. function.
  516. * native/jni/gstreamer-peer/gst_native_pipeline.h:
  517. (gst_native_pipeline_clean): removed.
  518. (gst_native_pipeline_get_pipeline_fd): new function.
  519. * native/jni/gstreamer-peer/gst_peer.h: new defines used by the peer.
  520. * native/jni/gstreamer-peer/gstreamer_io_peer.c: (_GST_MALLOC_SIZE_): moved
  521. in gst_peer.h.
  522. 2007-09-27 Dalibor Topic <robilad@kaffe.org>
  523. * native/fdlibm/dtoa.c: Include mprec.h after system includes.
  524. * native/fdlibm/mprec.h [_EXFUN]: Only define _EXFUN if it is not
  525. already defined.
  526. 2007-09-24 Dalibor Topic <robilad@kaffe.org>
  527. * java/lang/management/ThreadInfo.java: Reverted patch from
  528. 2007-09-21, as it breaks JikesRVM.
  529. 2007-09-23 Mark Wielaard <mark@klomp.org>
  530. * doc/www.gnu.org/include/layout.wml: Fix Planet Classpath link.
  531. * doc/www.gnu.org/faq/faq.wml: Fix typo prorietary.
  532. 2007-09-22 Paul Jenner <psj@harker.dyndns.org>
  533. * doc/www.gnu.org/include/layout.wml: Added link to Wiki.
  534. 2007-09-21 Dalibor Topic <robilad@kaffe.org>
  535. * gnu/java/rmi/server/RMIClassLoaderImpl.java,
  536. java/beans/beancontext/BeanContextServicesSupport.java,
  537. java/lang/management/ThreadInfo.java:
  538. Removed unused private constructors.
  539. 2007-09-21 Dalibor Topic <robilad@kaffe.org>
  540. * gnu/CORBA/CDR/AbstractCdrInput.java,
  541. gnu/CORBA/CDR/Vio.java,
  542. gnu/CORBA/DynAn/gnuDynUnion.java,
  543. gnu/CORBA/GIOP/MessageHeader.java,
  544. gnu/CORBA/IorDelegate.java,
  545. gnu/java/security/key/dss/FIPS186.java,
  546. gnu/javax/crypto/key/dh/RFC2631.java,
  547. gnu/javax/swing/text/html/parser/support/Parser.java,
  548. gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java,
  549. gnu/xml/aelfred2/XmlParser.java,
  550. java/awt/im/InputContext.java:
  551. Removed unused labels.
  552. 2007-09-21 Roman Kennke <roman.kennke@aicas.com>
  553. * javax/swing/plaf/basic/BasicGraphicsUtils.java
  554. (drawStringUnderlineCharAt): Fix Y location of underline.
  555. 2007-09-21 Roman Kennke <roman.kennke@aicas.com>
  556. * java/awt/LightweightDispatcher.java
  557. (dispatchEvent): Lock the component's tree to avoid threading
  558. problems.
  559. (redispatch): Only redispatch when component is showing.
  560. 2007-09-21 Roman Kennke <roman.kennke@aicas.com>
  561. * java/awt/Font.java
  562. (hashCode): New field. Stores a cached hash code.
  563. (hashCode()): Re-implemented. Don't create new string here, instead
  564. make hashcode of name, style, size and transform. Cache hashcode.
  565. 2007-09-20 Roman Kennke <roman.kennke@aicas.com>
  566. * gnu/java/awt/font/GNUGlyphVector.java
  567. (cleanOutline): New field, caches the untransformed outline.
  568. (getOutline()): No need to validate here. Already done in
  569. getOutline(float,float).
  570. (getOutline(float,float)): Cache untransformed outlines. Protect
  571. returned shape from modification by wrapping in ShapeWrapper
  572. object.
  573. * gnu/java/awt/font/OpenTypeFontPeer.java: New class. Implements
  574. ClasspathFontPeer for OpenType fonts.
  575. * gnu/java/awt/java2d/AbstractGraphics2D.java
  576. (DEFAULT_TEXT_AA): New constant/property for controlling
  577. default anti-aliasing for text.
  578. (GC_CACHE_SIZE): New constant for the size of the glyph vector
  579. cache.
  580. (shapeCache): Don't make shapeCache thread local. This wouldn't
  581. gain much, because the event dispatch thread is restarted quite
  582. often.
  583. (scanlineConverters): Don't make scanlineConverters thread local,
  584. but instead pool them into a list.
  585. (gvCache): New cache for glyph vectors.
  586. (searchTextKey): New static field, a shared key used for GV caching.
  587. (drawString): Cache glyph vectors.
  588. (getFontRenderContext): Protect the current transform from beeing
  589. changed.
  590. (clone): Check clip for null when cloning.
  591. (drawLine): Use shared shape cache. No need for calling a method here.
  592. (drawRect): Likewise. Add translation to rectangle coordinates.
  593. (fillRect): Use shared shape cache. No need for calling a method here.
  594. (drawRoundRect): Likewise.
  595. (fillRoundRect): Likewise.
  596. (drawOval): Likewise.
  597. (fillOval): Likewise.
  598. (drawArc): Likewise.
  599. (fillArc): Likewise.
  600. (drawPolyline): Likewise.
  601. (drawPolygon): Likewise.
  602. (fillPolygon): Likewise.
  603. (fillShape): Check property for default text AA. Set Y resolution.
  604. (rawDrawLine): Use shared shape cache. No need for calling a method
  605. here.
  606. (rawDrawRect): Likewise.
  607. (rawFillRect): Likewise.
  608. (rawDrawString): Removed. Subclasses override drawString() instead.
  609. (getShapeCache): Removed. No longer needed.
  610. (getScanlineConverter): New helper method for pooling
  611. scanline converters.
  612. (freeScanlineConverter): New helper method for pooling
  613. scanline converters.
  614. * gnu/java/awt/java2d/PixelCoverage.java: New class. Used by the
  615. reworked scanline converter.
  616. * gnu/java/awt/java2d/ScanlineConverter.java
  617. (Y_RESOLUTION): Removed. The Y resolution is now specified
  618. by the caller.
  619. (yResolution): New field. Stores the Y resolution.
  620. (renderShape): Take y resolution as argument.
  621. (setResolution): Take y resolution as argument.
  622. * gnu/java/awt/java2d/ShapeWrapper.java: New class. Protects
  623. shape objects from modification by application code.
  624. * gnu/java/awt/java2d/TextCacheKey.java: New class. Used for
  625. caching GlyphVectors.
  626. * gnu/java/awt/peer/x/XFontPeer2.java: Removed. This is now
  627. implemented in OpenTypeFontPeer now.
  628. * gnu/java/awt/peer/x/XEventPump.java
  629. (handleEvent): Check insets.
  630. * gnu/java/awt/peer/x/XFontPeer.java
  631. Changed class and method names for changed Escher API.
  632. (clinit): Use font properties from xfonts.properties.
  633. (canDisplay): Changed to take int argument.
  634. * gnu/java/awt/peer/x/XFramePeer.java
  635. (XFramePeer): Set the title of the frame on creation time.
  636. (setTitle): Implemented.
  637. * gnu/java/awt/peer/x/XGraphics2D.java
  638. (imageCache): New field. Caches native representations for
  639. images.
  640. (drawString): New method. Optimized version for X fonts.
  641. (fillScanline): Removed.
  642. (fillScanlineAA): Removed.
  643. (rawDrawImage): Optimized drawing for ZPixmap-backed images.
  644. (rawDrawRect): Optimized rectangle drawing.
  645. (renderScanline): Added compositing code.
  646. (setFont): Overridden for X font support.
  647. (setPaint): Added TODO.
  648. * gnu/java/awt/peer/x/XGraphicsConfiguration.java
  649. (getSize): New helper method for XToolkit.
  650. (getResolution): New helper method for XToolkit.
  651. * gnu/java/awt/peer/x/XGraphicsEnvironment.java
  652. (getAvailableFontFamilyNames): Implemented.
  653. * gnu/java/awt/peer/x/XToolkit.java
  654. (fontCache): New field for caching fonts.
  655. (getClasspathFontPeer): Cache fonts.
  656. (getScreenSize): Implemented.
  657. (getScreenResolution): Implemented.
  658. (getFontList): Implemented.
  659. (isModalExclusionTypeSupported): New method.
  660. (isModalityTypeSupported): New method.
  661. * gnu/java/awt/peer/x/XWindowPeer.java
  662. (insets): New field for storing the insets of the frame.
  663. (XWindowPeer): Set correct decoration.
  664. (getGraphics): Set foreground, background and font.
  665. (show): Determine the correct frame extents.
  666. (reshape): Only resize when not inside callback.
  667. (insets): Implemented correctly.
  668. (getFontMetrics): Use OpenTypeFontPeer.
  669. * gnu/java/awt/peer/x/ZPixmapDataBuffer.java
  670. (getZPixmap): New method. This is used in XGraphics2D for drawing
  671. the buffer.
  672. * gnu/java/util/LRUCache.java: New class. Implements an LRU cache.
  673. 2007-09-19 Dalibor Topic <robilad@kaffe.org>
  674. * native/jni/native-lib/Makefile.am
  675. (AM_LDFLAGS) Use CLASSPATH_CONVENIENCE flags, as it is a convenience library.
  676. 2007-09-19 Dalibor Topic <robilad@kaffe.org>
  677. * native/fdlibm/dtoa.c: Include stdlib.h to have a declaration for free.
  678. 2007-09-18 Dalibor Topic <robilad@kaffe.org>
  679. * examples/gnu/classpath/examples/management/TestMemoryPool.java,
  680. examples/gnu/classpath/examples/swing/DocumentFilterDemo.java,
  681. examples/gnu/classpath/examples/swing/TableDemo.java,
  682. gnu/CORBA/BigDecimalHelper.java,
  683. gnu/CORBA/ByteArrayComparator.java,
  684. gnu/CORBA/CollocatedOrbs.java,
  685. gnu/CORBA/EmptyExceptionHolder.java,
  686. gnu/CORBA/IorDelegate.java,
  687. gnu/CORBA/OrbRestricted.java,
  688. gnu/CORBA/ServiceRequestAdapter.java,
  689. gnu/CORBA/gnuContextList.java,
  690. gnu/CORBA/gnuExceptionList.java,
  691. gnu/CORBA/gnuRequest.java,
  692. gnu/CORBA/CDR/LittleEndianInputStream.java,
  693. gnu/CORBA/DynAn/DivideableAny.java,
  694. gnu/CORBA/DynAn/gnuDynArray.java,
  695. gnu/CORBA/GIOP/CodeSetServiceContext.java,
  696. gnu/CORBA/Interceptor/IORInterceptors.java,
  697. gnu/CORBA/NamingService/NameParser.java,
  698. gnu/CORBA/Poa/gnuPOAManager.java,
  699. gnu/classpath/jdwp/event/filters/StepFilter.java,
  700. gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java,
  701. gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java,
  702. gnu/java/awt/ClasspathToolkit.java,
  703. gnu/java/awt/EmbeddedWindow.java,
  704. gnu/java/awt/peer/KDEDesktopPeer.java,
  705. gnu/java/awt/peer/gtk/CairoSurface.java,
  706. gnu/java/awt/peer/swing/SwingCheckboxPeer.java,
  707. gnu/java/awt/peer/swing/SwingTextAreaPeer.java,
  708. gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
  709. gnu/java/awt/print/PostScriptGraphics2D.java,
  710. gnu/java/awt/print/SpooledDocument.java,
  711. gnu/java/io/PlatformHelper.java,
  712. gnu/java/lang/management/BeanImpl.java,
  713. gnu/java/locale/LocaleHelper.java,
  714. gnu/java/net/protocol/http/Request.java,
  715. gnu/java/nio/DatagramChannelImpl.java,
  716. gnu/java/nio/KqueueSelectionKeyImpl.java,
  717. gnu/java/nio/NIOSocket.java,
  718. gnu/java/nio/ServerSocketChannelImpl.java,
  719. gnu/java/nio/SocketChannelImpl.java,
  720. gnu/java/rmi/server/RMIObjectInputStream.java,
  721. gnu/java/util/regex/RE.java,
  722. gnu/javax/imageio/bmp/DecodeBF16.java,
  723. gnu/javax/imageio/bmp/EncodeRGB32.java,
  724. gnu/javax/imageio/jpeg/JPEGDecoder.java,
  725. gnu/javax/imageio/jpeg/JPEGException.java,
  726. gnu/javax/imageio/jpeg/JPEGImageInputStream.java,
  727. gnu/javax/imageio/png/PNGChunk.java,
  728. gnu/javax/imageio/png/PNGEncoder.java,
  729. gnu/javax/imageio/png/PNGFile.java,
  730. gnu/javax/imageio/png/PNGGamma.java,
  731. gnu/javax/net/ssl/SSLRecordHandler.java,
  732. gnu/javax/net/ssl/StaticTrustAnchors.java,
  733. gnu/javax/net/ssl/provider/CertificateRequestBuilder.java,
  734. gnu/javax/net/ssl/provider/ClientHandshake.java,
  735. gnu/javax/net/ssl/provider/ClientPSKParameters.java,
  736. gnu/javax/net/ssl/provider/ClientRSA_PSKParameters.java,
  737. gnu/javax/net/ssl/provider/ContentType.java,
  738. gnu/javax/net/ssl/provider/EncryptedPreMasterSecret.java,
  739. gnu/javax/net/ssl/provider/Handshake.java,
  740. gnu/javax/net/ssl/provider/InputSecurityParameters.java,
  741. gnu/javax/net/ssl/provider/OutputSecurityParameters.java,
  742. gnu/javax/net/ssl/provider/ProtocolVersion.java,
  743. gnu/javax/net/ssl/provider/Random.java,
  744. gnu/javax/net/ssl/provider/SRPTrustManagerFactory.java,
  745. gnu/javax/net/ssl/provider/ServerDHE_PSKParameters.java,
  746. gnu/javax/net/ssl/provider/SessionImpl.java,
  747. gnu/javax/net/ssl/provider/Signature.java,
  748. gnu/javax/net/ssl/provider/SimpleSessionContext.java,
  749. gnu/javax/net/ssl/provider/TLSHMac.java,
  750. gnu/javax/net/ssl/provider/TrustedAuthorities.java,
  751. gnu/javax/net/ssl/provider/UnresolvedExtensionValue.java,
  752. gnu/javax/net/ssl/provider/X509KeyManagerFactory.java,
  753. gnu/javax/security/auth/Password.java,
  754. gnu/javax/sound/midi/dssi/DSSIMidiDeviceProvider.java,
  755. gnu/javax/sound/midi/file/MidiFileWriter.java,
  756. gnu/javax/sound/sampled/AU/AUReader.java,
  757. gnu/javax/sound/sampled/gstreamer/GStreamerMixer.java,
  758. gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReader.java,
  759. gnu/javax/sound/sampled/gstreamer/io/GstAudioFileWriter.java,
  760. gnu/xml/dom/html2/DomHTMLButtonElement.java,
  761. gnu/xml/dom/html2/DomHTMLCollection.java,
  762. gnu/xml/dom/html2/DomHTMLParser.java,
  763. gnu/xml/stream/EndDocumentImpl.java,
  764. gnu/xml/stream/SAXParser.java,
  765. gnu/xml/stream/XIncludeFilter.java,
  766. gnu/xml/stream/XMLEventImpl.java,
  767. gnu/xml/transform/StreamSerializer.java,
  768. gnu/xml/transform/Stylesheet.java,
  769. gnu/xml/validation/datatype/Base64BinaryType.java,
  770. gnu/xml/validation/datatype/BooleanType.java,
  771. gnu/xml/validation/datatype/DecimalType.java,
  772. gnu/xml/validation/datatype/DoubleType.java,
  773. gnu/xml/validation/datatype/FloatType.java,
  774. gnu/xml/validation/datatype/HexBinaryType.java,
  775. gnu/xml/validation/datatype/NotationType.java,
  776. gnu/xml/validation/datatype/SimpleType.java,
  777. gnu/xml/validation/datatype/StringType.java,
  778. gnu/xml/validation/datatype/Type.java,
  779. gnu/xml/validation/datatype/TypeBuilder.java,
  780. gnu/xml/validation/relaxng/FullSyntaxBuilder.java,
  781. gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.java,
  782. gnu/xml/validation/xmlschema/XMLSchemaBuilder.java,
  783. gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.java,
  784. gnu/xml/xpath/XPathParser.java,
  785. java/awt/MenuShortcut.java,
  786. java/awt/font/LineBreakMeasurer.java,
  787. java/awt/font/TextMeasurer.java,
  788. java/awt/image/BufferedImage.java,
  789. java/beans/beancontext/BeanContextServicesSupport.java,
  790. java/security/SecureClassLoader.java,
  791. java/security/cert/CertificateFactory.java,
  792. javax/imageio/metadata/IIOMetadataFormatImpl.java,
  793. javax/imageio/stream/MemoryCacheImageInputStream.java,
  794. javax/management/ObjectName.java,
  795. javax/management/openmbean/ArrayType.java,
  796. javax/net/ssl/HttpsURLConnection.java,
  797. javax/print/attribute/standard/JobStateReasons.java,
  798. javax/swing/RepaintManager.java,
  799. javax/swing/plaf/basic/BasicDirectoryModel.java,
  800. javax/swing/plaf/basic/BasicFileChooserUI.java,
  801. javax/swing/plaf/basic/BasicLabelUI.java,
  802. javax/swing/plaf/metal/MetalScrollButton.java,
  803. javax/swing/table/DefaultTableCellRenderer.java,
  804. javax/swing/text/ParagraphView.java,
  805. javax/swing/text/html/ResetableToggleButtonModel.java,
  806. javax/swing/text/html/parser/Entity.java,
  807. javax/swing/tree/DefaultTreeCellRenderer.java,
  808. javax/xml/datatype/DatatypeFactory.java,
  809. javax/xml/stream/XMLEventFactory.java,
  810. javax/xml/stream/XMLInputFactory.java,
  811. org/omg/IOP/TaggedComponentHelper.java,
  812. sun/reflect/annotation/ExceptionProxy.java,
  813. tools/gnu/classpath/tools/appletviewer/Main.java,
  814. tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java,
  815. tools/gnu/classpath/tools/orbd/Main.java,
  816. tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java,
  817. tools/gnu/classpath/tools/rmic/Main.java,
  818. tools/gnu/classpath/tools/rmid/Main.java,
  819. tools/gnu/classpath/tools/tnameserv/Main.java,
  820. vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java,
  821. vm/reference/java/lang/VMClass.java,
  822. vm/reference/java/security/VMSecureRandom.java:
  823. Removed unused imports.
  824. 2007-09-18 Dalibor Topic <robilad@kaffe.org>
  825. * examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/StructureToPassHelper.java,
  826. examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/StructureToReturnHelper.java,
  827. examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/TreeNodeHelper.java,
  828. examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/WeThrowThisExceptionHelper.java,
  829. examples/gnu/classpath/examples/awt/AnimationApplet.java: Removed unused imports.
  830. 2007-09-18 Dalibor Topic <robilad@kaffe.org>
  831. * .classpath: Reverted escher-specific changes that break
  832. the build under Eclipse.
  833. 2007-09-16 Mark Wielaard <mark@klomp.org>
  834. * examples/Makefile.am (JCOMPILER): Add tools.zip for ecj.
  835. 2007-09-14 Roman Kennke <roman@kennke.org>
  836. * .classpath: Include javah in Eclipse build.
  837. 2007-09-13 David P Grove <groved@us.ibm.com>
  838. PR 30275
  839. * native/fdlibm/fdlibm.h [_AIX]: Define _ALL_SOURCE
  840. rather than _XOPEN_SOURCE to fix build on AIX 5.
  841. 2007-09-12 Robert Schuster <robertschuster@fsfe.org>
  842. * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c:
  843. Add #ifndef guard around definition of _GNU_SOURCE.
  844. 2007-09-12 Dalibor Topic <robilad@kaffe.org>
  845. * examples/Makefile.am, tools/Makefile.am
  846. (GLIBJ_CLASSPATH): Removed unnecessary paths to avoid
  847. using unix path separators on windows.
  848. (JCOMPILER) Don't add '.' to classpath for javac.
  849. Fixes the build on Cygwin.
  850. 2007-09-11 Roman Kennke <roman@kennke.org>
  851. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
  852. Removed unused includes.
  853. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
  854. Removed unused includes.
  855. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
  856. Removed unusued excludes. Put Xrender includes in HAVE_XRENDER
  857. conditional.
  858. (flush): Use gdk_display_flush() instead of XFlush().
  859. (initState): Use GDK/Cairo functions to get cairo_t object.
  860. (initFromVolatile): Likewise.
  861. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
  862. Removed unused includes.
  863. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c
  864. Use HAVE_XTEST conditionals for code that uses XTest.
  865. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
  866. Removed unused includes.
  867. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
  868. Removed unused includes.
  869. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
  870. Removed unused includes.
  871. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
  872. Removed unused includes. Rewrote frame-extents code to use
  873. gdk_window_get_frame_extents() rather than the X window properties
  874. directly.
  875. * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
  876. (initFromVolatile): Removed width and height parameters.
  877. * gnu/java/awt/peer/gtk/ComponentGraphics.java
  878. (initFromVolatile): Remove width and height parameters.
  879. * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
  880. (VolatileImageGraphics): Use initFromVolatile without width and
  881. height.
  882. * configure.ac: Check for presence of XTest, and define HAVE_XTEST
  883. accordingly.
  884. 2007-09-08 Michael Koch <konqueror@gmx.de>
  885. * native/jni/midi-alsa/Makefile.am (AM_CFLAGS):
  886. Removed @ERROR_CFLAGS@ to not fail build with GCC 4.2.
  887. 2007-09-05 Andrew Haley <aph@redhat.com>
  888. * gnu/javax/crypto/jce/DiffieHellmanImpl.java (engineDoPhase):
  889. Don't check the length of q.
  890. 2007-08-30 Christian Thalinger <twisti@complang.tuwien.ac.at>
  891. * include/jni.h (jobjectRefType): New type.
  892. (JNI_VERSION_1_6): Added.
  893. (JNINativeInterface_): Added GetObjectRefType.
  894. (_Jv_JNIEnv): Likewise.
  895. 2007-08-28 John X <johnx@dodgit.com>
  896. PR classpath/33206:
  897. * java/math/BigInteger.java (isProbablePrime): Handle case of
  898. large 'b'.
  899. 2007-08-24 Mark Wielaard <mark@klomp.org>
  900. * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Regenerated.
  901. 2007-08-23 Francis Kung <fkung@redhat.com>
  902. * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
  903. (getLocationOnScreen): Check for GTK main thread.
  904. (gtkWidgetGetLocationOnScreenUnlocked): New native method.
  905. (gtkWindowGetLocationOnScreenUnlocked): New native method.
  906. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
  907. (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWindowGetLocationOnScreen):
  908. Delegate to unlocked function.
  909. (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWindowGetLocationOnScreenUnlocked):
  910. New function.
  911. (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetGetLocationOnScreen):
  912. Delegate to unlocked function.
  913. (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetGetLocationOnScreenUnlocked):
  914. New function.
  915. 2007-08-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
  916. * java/util/EnumSet.java:
  917. Documented.
  918. (complementOf(EnumSet)): Fixed to flip only
  919. the bits used by the enumset.
  920. 2007-08-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
  921. * vm/reference/java/lang/VMClass.java:
  922. (getCanonicalName(Class)): Fix handling of member
  923. classes so we don't fall out of the if block.
  924. (getSimpleName(Class)): Handle class names which include
  925. the $ sign to break up anonymous/inner/member classes.
  926. 2007-08-19 Mario Torre <neugens@limasoftware.net>
  927. * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReader.java:
  928. (getAudioFileFormat (File)): method implemented.
  929. (getAudioFileFormat (InputStream)): likewise.
  930. (getAudioFileFormat(InputStream, String)): new method.
  931. (getAudioInputStream): better exception handling.
  932. * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReaderNativePeer.java
  933. (getAudioFormat): added basic extension detection for known files.
  934. * gnu/javax/sound/sampled/gstreamer/GStreamerMixer.java:
  935. (BASIC_FORMATS): removed, unused.
  936. (GST_TYPE_NAME): new constant.
  937. (GST_FILE_EXTENSION): likewise.
  938. 2007-08-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
  939. * resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader:
  940. Removed.
  941. * resource/META-INF/services/javax.sound.sampled.spi.MixerProvider:
  942. Likewise.
  943. * resource/META-INF/services/.cvsignore: Updated to reflect this.
  944. 2007-08-19 Mario Torre <neugens@limasoftware.net>
  945. * native/jni/gstreamer-peer/gst_native_pipeline.c:
  946. (init_pointer_IDs): fix typo that prevents compilation on 64 bit systems.
  947. 2007-08-19 Mario Torre <neugens@limasoftware.net>
  948. * resource/META-INF/services/javax.sound.sampled.spi.MixerProvider:
  949. regenerated to avoid listing by default of the
  950. gnu.javax.sound.sampled.gstreamer.GStreamerMixerProvider class, as the
  951. GStreamer Sound peer is not enabled unless specified at configure time.
  952. 2007-08-18 Mario Torre <neugens@limasoftware.net>
  953. * examples/gnu/classpath/examples/sound/AudioPlayerSample.java: new file.
  954. * gnu/javax/sound/sampled/gstreamer/GStreamerMixer.java: removed
  955. unused import.
  956. * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileWriter.java: likewise.
  957. * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReaderNativePeer.java:
  958. (gstreamer_get_audio_format_stream): changed signature tu accept a Pointer
  959. object instead of a BufferedInputStream.
  960. (GstHeader):
  961. (getAudioFormat(InputStream, GstHeader)): new private method.
  962. (getAudioFormat(public)): refactored to use the private getAudioFormat
  963. with shared functionality.
  964. (getAudioFormat(GstHeader header)): removed a redundant check.
  965. (init_id_cache): new native method.
  966. * gnu/javax/sound/sampled/gstreamer/io/GstInputStream.java: new file.
  967. * gnu/javax/sound/sampled/gstreamer/lines/GstDataLine.java:
  968. (GstDataLine.State): removed enum.
  969. (state): removed local variable.
  970. (isRunning): removed method.
  971. (open): likewise.
  972. (setFormat): new methods.
  973. (setOpen): likewise.
  974. (setBufferSize): likewise.
  975. * gnu/javax/sound/sampled/gstreamer/lines/GstNativeDataLine.java:
  976. (createSourcePipeline): new method.
  977. (setup_sink_pipeline): likewise.
  978. (init_id_cache): likewise. Added to the static initializer.
  979. * gnu/javax/sound/sampled/gstreamer/lines/GstPipeline.java:
  980. (GstPipeline.State): new enum.
  981. (state): new local variable.
  982. (name): likewise.
  983. (output): likewise.
  984. (source): likewise.
  985. (ready): likewise.
  986. (getState): new method.
  987. (closePipe): likewise.
  988. (create_named_pipe): likewise.
  989. (set_state): likewise.
  990. (available): likewise.
  991. (drain): likewise.
  992. (GstPipeline): likewise.
  993. (close): likewise.
  994. (prepareWrite): likewise.
  995. (flush): likewise.
  996. (write): likewise.
  997. (init_instance): likewise.
  998. (read): likewise.
  999. (createForWrite): likewise.
  1000. (setState): likewise.
  1001. (getNativeClass): likewise.
  1002. (init_id_cache): likewise.
  1003. * gnu/javax/sound/sampled/gstreamer/lines/GstSourceDataLine.java:
  1004. (pipeline): new local variable.
  1005. (opne): likewise.
  1006. (isActive): method implemented.
  1007. (stop): likewise.
  1008. (open): likewise.
  1009. (flush): likewise.
  1010. (isRunning): likewise.
  1011. (start): likewise.
  1012. (write): likewise.
  1013. (available): likewise.
  1014. (drain): likewise.
  1015. (close): likewise.
  1016. * include/Makefile.am: added entry to generate new header file.
  1017. * include/gnu_javax_sound_sampled_gstreamer_io_GstAudioFileReaderNativePeer.h:
  1018. regenerated.
  1019. * include/gnu_javax_sound_sampled_gstreamer_io_GstInputStream.h: likewise.
  1020. * include/gnu_javax_sound_sampled_gstreamer_lines_GstNativeDataLine.h:
  1021. likewise.
  1022. * include/gnu_javax_sound_sampled_gstreamer_lines_GstPipeline.h:
  1023. likewise.
  1024. * native/jni/gstreamer-peer/gstclasspathsrc.c: removed.
  1025. * native/jni/gstreamer-peer/gstinputstream.c: likewise.
  1026. * native/jni/gstreamer-peer/GStreamerIOPeer.c: likewise.
  1027. * native/jni/gstreamer-peer/gstinputstream.h: likewise.
  1028. * native/jni/gstreamer-peer/gstclasspathsrc.h: likewise.
  1029. * native/jni/gstreamer-peer/Makefile.am: new file added for compilation.
  1030. code reformat to keep the 80 columns constraint.
  1031. * native/jni/gstreamer-peer/gst_native_pipeline.h: new file.
  1032. * native/jni/gstreamer-peer/gst_input_stream.c: likewise.
  1033. * native/jni/gstreamer-peer/gst_input_stream.h: likewise.
  1034. * native/jni/gstreamer-peer/gst_classpath_src.c: likewise.
  1035. * native/jni/gstreamer-peer/gst_native_pipeline.c: likewise.
  1036. * native/jni/gstreamer-peer/gst_native_data_line.c: likewise.
  1037. * native/jni/gstreamer-peer/gst_classpath_src.h: likewise.
  1038. * native/jni/gstreamer-peer/gstreamer_io_peer.c: likewise.
  1039. * native/jni/gstreamer-peer/gst_peer.c: likewise.
  1040. * native/jni/gstreamer-peer/gst_peer.h: likewise.
  1041. 2007-08-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
  1042. * NEWS: Update with info on VM changes.
  1043. * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
  1044. (getHeapMemoryUsage()): New default implementation.
  1045. (getNonHeapMemoryUsage()): Likewise.
  1046. 2007-08-15 Tom Tromey <tromey@redhat.com>
  1047. * java/util/LinkedHashSet.java (LinkedHashSet): Fix typo.
  1048. 2007-08-15 Tom Tromey <tromey@redhat.com>
  1049. * java/lang/Class.java (internalGetFields): Use LinkedHashSet.
  1050. 2007-08-08 Mario Torre <neugens@limasoftware.net>
  1051. * java/io/PipedInputStream.java:
  1052. (buffer): variable now initialized in constructors.
  1053. (PipedInputStream(int)): new constructor, creates the buffer
  1054. storage of size int.
  1055. (PipedInputStream()): now calls PipedInputStream(int) with
  1056. default capacity.
  1057. (PipedInputStream(PipedOutputStream)): now calls PipedInputStream().
  1058. (PipedInputStream(PipedOutputStream, int)): new constructor.
  1059. 2007-07-31 Christian Thalinger <twisti@complang.tuwien.ac.at>
  1060. * tools/gnu/classpath/tools/javah/Main.java (writeHeaders):
  1061. Renamed filename to file.
  1062. * tools/gnu/classpath/tools/javah/CniIncludePrinter.java
  1063. (printClass): Likewise.
  1064. * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
  1065. (printClass): Replace '$' with '_' in filename.
  1066. 2007-07-31 Dalibor Topic <robilad@kaffe.org>
  1067. PR 32844
  1068. * java/util/EnumSet.java:
  1069. Made class abstract per API spec.
  1070. (size, iterator, add, addAll, clear, contains,
  1071. containsAll, remove, removeAll, retainAll) Moved
  1072. into an anonymous inner class in of(T).
  1073. (allOf, noneOf, copyOf, of, range) Made more
  1074. implementation independent.
  1075. (of(T)) return an instance of an anonymous class
  1076. implementing EmptySet.
  1077. 2007-07-28 Matthias Klose <doko@ubuntu.com>
  1078. * include/jvmti.h (jniNativeInterface): Rename type.
  1079. 2007-07-28 Chris Burdess <dog@gnu.org>
  1080. PR 32539
  1081. * gnu/xml/stream/XMLParser.java: don't call next() during hasNext().
  1082. 2007-07-24 Tom Tromey <tromey@redhat.com>
  1083. PR java/32862:
  1084. * java/util/EnumMap.java (get): Special case emptySlot.
  1085. (clone): Rewrote.
  1086. 2007-07-23 Christian Thalinger <twisti@complang.tuwien.ac.at>
  1087. * gnu/java/nio/charset/ISO_8859_1.java: Added ISO8859-1 to
  1088. aliases.
  1089. 2007-07-23 Christian Thalinger <twisti@complang.tuwien.ac.at>
  1090. * vm/reference/sun/misc/Unsafe.java (unpark): Changed signature to
  1091. be compatible with OpenJDK.
  1092. 2007-07-13 Roman Kennke <roman@kennke.org>
  1093. * gnu/java/awt/java2d/AbstractGraphics2D.java
  1094. (clip(Shape)): Call setClip when the clip changes.
  1095. (drawImage): Add translation.
  1096. (drawLine): Add translation.
  1097. * gnu/java/awt/peer/x/PixmapVolatileImage.java
  1098. (getPixmap): New method.
  1099. * gnu/java/awt/peer/x/XEventPump.java
  1100. (XEventPump): Name thread. Start as daemon thread.
  1101. * gnu/java/awt/peer/x/XGraphics2D.java
  1102. (rawDrawImage): Special handling for PixmapVolatileImage.
  1103. (rawDrawLine): Don't add translation here. This is done in
  1104. the superclass.
  1105. (rawFillRect): Don't add translation here. This is done in
  1106. the superclass.
  1107. (renderScanline): Added null check.
  1108. 2007-07-13 Roman Kennke <roman@kennke.org>
  1109. * gnu/java/awt/peer/x/PixmapVolatileImage.java: New class.
  1110. * gnu/java/awt/peer/x/XGraphicsConfiguration.java
  1111. (createCompatibleImage(int,int)): Delegate to the 3-int overload.
  1112. (createCompatibleImage(int,int,int)): Implemented. Using
  1113. the ZPixmapDataBuffer for OPAQUE images.
  1114. (createCompatibleVolatileImage(int,int)): Delegate to the 3-int
  1115. overload.
  1116. (createCompatibleVolatileImage(int,int,int)): Implemented. Using
  1117. PixmapVolatileImage.
  1118. * gnu/java/awt/peer/x/XWindowPeer.java
  1119. (createImage): Return a PixmapVolatileImage (for now).
  1120. (createVolatileImage): Implemented, using PixmapVolatileImage.
  1121. * gnu/java/awt/peer/x/ZPixmapDataBuffer.java
  1122. New class.
  1123. 2007-07-10 Roman Kennke <roman@kennke.org>
  1124. PR 32645
  1125. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
  1126. (copyPixbuf): Swap asserts.
  1127. 2007-07-09 Chris Burdess <dog@gnu.org>
  1128. Fixes #32672
  1129. * gnu/xml/dom/DomElement.java,
  1130. * gnu/xml/dom/DomNamedNodeMap.java: don't check owner in
  1131. setNamedNode when cloning.
  1132. 2007-07-08 Mario Torre <neugens@limasoftware.net>
  1133. * gnu/javax/sound/sampled/gstreamer: new package hierarchy.
  1134. * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReader.java: new file.
  1135. * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReaderNativePeer.java:
  1136. likewise.
  1137. * gnu/javax/sound/sampled/gstreamer/lines/GstDataLine.java: likewise.
  1138. * gnu/javax/sound/sampled/gstreamer/GStreamerMixer.java: likewise.
  1139. * gnu/javax/sound/sampled/gstreamer/GStreamerMixerProvider.java: likewise.
  1140. * gnu/javax/sound/AudioSecurityManager.java: likewise.
  1141. * gnu/javax/sound/sampled/gstreamer/lines/GstNativeDataLine.java: likewise.
  1142. * gnu/javax/sound/sampled/gstreamer/lines/GstSourceDataLine.java: likewise.
  1143. * gnu/javax/sound/sampled/gstreamer/lines/GstPipeline.java: likewise.
  1144. * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileWriter.java: likewise.
  1145. * resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader.in:
  1146. likewise.
  1147. * resource/META-INF/services/javax.sound.sampled.spi.MixerProvider.in:
  1148. likewise.
  1149. * resource/META-INF/services/javax.sound.sampled.spi.MixerProvider:
  1150. likewise.
  1151. * native/jni/gstreamer-peer/gstclasspathsrc.c: likewise.
  1152. * native/jni/gstreamer-peer/gstclasspathsrc.h: likewise.
  1153. * native/jni/gstreamer-peer/gstinputstream.c: likewise.
  1154. * native/jni/gstreamer-peer/gstinputstream.h: likewise.
  1155. * native/jni/gstreamer-peer/GStreamerIOPeer.c: likewise.
  1156. * native/jni/gstreamer-peer/Makefile.am: likewise.
  1157. * native/jni/gstreamer-peer/.cvsignore: likewise.
  1158. * include/gnu_javax_sound_sampled_gstreamer_io_GstAudioFileReaderNativePeer.h:
  1159. likewise.
  1160. * include/Makefile.am: add gstreamer generated headers.
  1161. * configure.ac: add gstreamer sound backend configuration.
  1162. The backend is currently disabled by default.
  1163. * native/jni/Makefile.am: code to allow compilation of the gstreamer
  1164. sound backend.
  1165. * javax/sound/sampled/spi/MixerProvider.java (isMixerSupported):
  1166. indentation fixes.
  1167. * javax/sound/sampled/AudioFormat.java (toString): fix method to display
  1168. informations only when available.
  1169. * javax/sound/sampled/DataLine.java:
  1170. (Info.isFormatSupported): indentation fixes.
  1171. (Info): indentation fixes.
  1172. (Info.toString): indentation fixes.
  1173. (Info.matches): indentation fixes.
  1174. 2007-07-03 Tania Bento <tbento@redhat.com>
  1175. * java/lang/Integer.java:
  1176. (parseInt(String,int,boolean)): Throw NumberFormatException if
  1177. String is just "+".
  1178. 2007-07-01 Chris Burdess <dog@gnu.org>
  1179. * gnu/xml/transform/WithParam.java: Handle case where content is
  1180. empty.
  1181. 2007-06-28 Tom Tromey <tromey@redhat.com>
  1182. * include/jni.h: Fixed local variables.
  1183. 2007-06-26 Ito Kazumitsu <kaz@maczuka.gcd.org>
  1184. * ChangeLog: Correction of a bug fix number.
  1185. 2007-06-25 Roman Kennke <roman@kennke.org>
  1186. * gnu/java/awt/peer/ClasspathFontPeer.java
  1187. (canDisplay): Take character as integer codepoint.
  1188. * gnu/java/awt/peer/gtk/GdkFontPeer.java
  1189. (canDisplay): Take character as integer codepoint.
  1190. * gnu/java/awt/peer/gtk/GtkComponentPeer.java
  1191. (postMouseEvent): Use MouseEvent constructor with absolute coordinates
  1192. to avoid deadlock (over getLocationOnScreen()).
  1193. * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
  1194. (getDeviceConfiguration): Fall back to the default configuration
  1195. if the component is not set.
  1196. * gnu/java/awt/peer/qt/QtFontMetrics.java
  1197. (canDisplay): Take character as integer codepoint.
  1198. * gnu/java/awt/peer/qt/QtFontPeer.java
  1199. (canDisplay): Take character as integer codepoint.
  1200. * gnu/java/awt/peer/x/XFontPeer2.java
  1201. (canDisplay): Take character as integer codepoint.
  1202. * include/gnu_java_awt_peer_qt_QtFontMetrics.h
  1203. (canDisplay): Take character as integer codepoint.
  1204. * java/awt/Font.java
  1205. (DIALOG): New constant.
  1206. (DIALOG_INPUT): New constant.
  1207. (MONOSPACED): New constant.
  1208. (SANS_SERIF): New constant.
  1209. (SERIF): New constant.
  1210. (Font(Font)): New constructor.
  1211. (canDisplay(char)): Use new canDisplay(int) method.
  1212. (canDisplay(int)): New method.
  1213. (hasLayoutAttributes): New method.
  1214. * java/awt/event/MouseEvent.java
  1215. (absX,absY): New fields.
  1216. (MouseEvent): New constructor with absolute coordinates.
  1217. (getLocationOnScreen): New method.
  1218. (getXOnScreen): New method.
  1219. (getYOnScreen): New method.
  1220. * native/jni/qt-peer/qtfontmetrics.cpp
  1221. (canDisplay): Take character as integer codepoint.
  1222. 2007-06-25 Mark Wielaard <mark@klomp.org>
  1223. * native/jni/native-lib/cpnet.c
  1224. (cpnet_aton) Moved variable declaration of inet6_addr so it is
  1225. actually in the scope of its use.
  1226. 2007-06-25 Dalibor Topic <robilad@kaffe.org>
  1227. * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
  1228. (THROW_NO_IPV6): New macro.
  1229. (Java_gnu_java_net_VMPlainSocketImpl_bind6) Conditionally
  1230. build code if IPv6 facilities are available, otherwise
  1231. throw an error.
  1232. (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface6,
  1233. Java_gnu_java_net_VMPlainSocketImpl_join6,
  1234. Java_gnu_java_net_VMPlainSocketImpl_leave6,
  1235. Java_gnu_java_net_VMPlainSocketImpl_joinGroup6,
  1236. Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6)
  1237. Use THROW_NO_IPV6.
  1238. * native/jni/java-net/java_net_VMInetAddress.c
  1239. (Java_java_net_VMInetAddress_getHostByAddr,
  1240. Java_java_net_VMInetAddress_getHostByName,
  1241. Java_java_net_VMInetAddress_aton) Build IPv6 dependant
  1242. code conditionally on IPv6 facilities being available.
  1243. Switched if-else blocks where necessary to allow that.
  1244. * native/jni/java-net/javanet.c
  1245. (_javanet_get_ip_netaddr) Build IPv6 dependant code conditionally
  1246. on IPv6 facilities being available.
  1247. * native/jni/native-lib/cpnet.c
  1248. (cpnet_getHostByName, cpnet_getHostByAddr) Build IPv6 dependant
  1249. code conditionally on IPv6 facilities being available.
  1250. (cpnet_aton) Moved variable declaration of inet6_addr to the scope
  1251. of its use. Build IPv6 dependant code conditionally
  1252. on IPv6 facilities being available.
  1253. * native/jni/native-lib/cpnet.h (cpnet_newIPV6Address,
  1254. cpnet_isIPV6Address, cpnet_IPV6AddressToBytes,
  1255. cpnet_bytesToIPV6Address): Make IPv6 dependant utility functions
  1256. available conditionally on IPv6 facilities being available.
  1257. 2007-06-25 Dalibor Topic <robilad@kaffe.org>
  1258. * m4/acinclude.m4 (CLASSPATH_CHECK_JAVAC): If the user passes an
  1259. explicit argument to configure, just use it, and don't attempt to
  1260. run AC_CHECK_PROG. This makes --with-javac="javac -J-Xmx512M" work.
  1261. 2007-06-25 Dalibor Topic <robilad@kaffe.org>
  1262. * configure.ac: Check for MSG_WAITALL, since it does not exist on
  1263. Cygwin.
  1264. * native/jni/java-nio/gnu_java_nio_VMChannel.c
  1265. (Java_gnu_java_nio_VMChannel_receive): Define MSG_WAITALL as 0 if
  1266. it does not exist.
  1267. 2007-06-24 Ito Kazumitsu <kaz@maczuka.gcd.org>
  1268. Fixes bug #31927
  1269. * native/jni/java-nio/gnu_java_nio_VMChannel.c
  1270. (Java_gnu_java_nio_VMChannel_available): Retry using fstat if ioctl
  1271. fails with ENOTTY.
  1272. 2007-06-22 Tania Bento <tbento@redhat.com>
  1273. * java/util/Currency.java:
  1274. (getInstance (Locale)): Check that the country of the
  1275. locale given is valid. If it is not, throw an
  1276. IllegalArgumentException.
  1277. 2007-06-22 Roman Kennke <roman@kennke.org>
  1278. * gnu/java/awt/peer/GLightweightPeer.java
  1279. * gnu/java/awt/peer/gtk/GdkRobotPeer.java
  1280. * gnu/java/awt/peer/gtk/GtkCompoonentPeer.java
  1281. * gnu/java/awt/peer/gtk/GtkFramePeer.java
  1282. * gnu/java/awt/peer/gtk/GtkWindowPeer.java
  1283. * gnu/java/awt/peer/qt/QtComponentPeer.java
  1284. * gnu/java/awt/peer/qt/QtFramePeer.java
  1285. * gnu/java/awt/peer/qt/QtWindowPeer.java
  1286. * gnu/java/awt/peer/swing/SwingComponentPeer.java
  1287. * gnu/java/awt/peer/swing/SwingWindowPeer.java
  1288. * gnu/java/awt/peer/x/XFramePeer.java:
  1289. Removed @Override annotations from some interface implementation
  1290. methods to ensure 1.5 compatibility.
  1291. 2007-06-22 Christian Thalinger <twisti@complang.tuwien.ac.at>
  1292. * include/jni.h (JNINativeInterface): Renamed to
  1293. JNINativeInterface_, added const to arguments where necessary.
  1294. (JNIInvokeInterface): Renamed to JNIInvokeInterface_.
  1295. 2007-06-22 Roman Kennke <roman@kennke.org>
  1296. * sun/awt/CausedFocusEvent.java: New class. Needed for compatibility
  1297. in java.awt.peer.
  1298. * java/awt/Dialog.java
  1299. (ModalExclusionType): New enum.
  1300. (ModalityType): New enum.
  1301. * java/awt/Toolkit.java
  1302. (isModalExclusionTypeSupported): New abstract method.
  1303. (isModalityTypeSupported): New abstract method.
  1304. * java/awt/peer/ComponentPeer.java
  1305. (requestFocus): New method.
  1306. * java/awt/peer/FramePeer.java
  1307. (getBoundsPrivate): New method.
  1308. * java/awt/peer/RobotPeer.java
  1309. (dispose): New method.
  1310. * java/awt/peer/WindowPeer.java
  1311. (setAlwaysOnTop): New method.
  1312. (updateFocusableWindowState): New method.
  1313. (setModalBlocked): New method.
  1314. (updateMinimumSize): New method.
  1315. (updateIconImages): New method.
  1316. * gnu/java/awt/peer/GLightweightPeer.java
  1317. (requestFocus): New method.
  1318. * gnu/java/awt/peer/gtk/GdkRobotPeer.java
  1319. (dispose): New method.
  1320. * gnu/java/awt/peer/gtk/GtkComponentPeer.java
  1321. (requestFocus): New method.
  1322. * gnu/java/awt/peer/gtk/GtkFramePeer.java
  1323. (getBoundsPrivate): New method.
  1324. * gnu/java/awt/peer/gtk/GtkToolkit.java
  1325. (isModalExclusionTypeSupported): New method.
  1326. (isModalityTypeSupported): New method.
  1327. * gnu/java/awt/peer/gtk/GtkWindowPeer.java
  1328. (updateIconImages): New method.
  1329. (updateMinimumSize): New method.
  1330. (setModalBlocked): New method.
  1331. (updateFocusableWindowState): New method.
  1332. (setAlwaysOnTop): New method.
  1333. * gnu/java/awt/peer/headless/HeadlessToolkit.java
  1334. (isModalExclusionTypeSupported): New method.
  1335. (isModalityTypeSupported): New method.
  1336. * gnu/java/awt/peer/qt/QtComponentPeer.java
  1337. (requestFocus): New method.
  1338. * gnu/java/awt/peer/qt/QtFramePeer.java
  1339. (getBoundsPrivate): New method.
  1340. * gnu/java/awt/peer/qt/QtToolkit.java
  1341. (isModalExclusionTypeSupported): New method.
  1342. (isModalityTypeSupported): New method.
  1343. * gnu/java/awt/peer/qt/QtWindowPeer.java
  1344. (updateIconImages): New method.
  1345. (updateMinimumSize): New method.
  1346. (setModalBlocked): New method.
  1347. (updateFocusableWindowState): New method.
  1348. (setAlwaysOnTop): New method.
  1349. * gnu/java/awt/peer/swing/SwingComponentPeer.java
  1350. (requestFocus): New method.
  1351. * gnu/java/awt/peer/swing/SwingToolkit.java
  1352. (isModalExclusionTypeSupported): New method.
  1353. (isModalityTypeSupported): New method.
  1354. * gnu/java/awt/peer/swing/SwingWindowPeer.java
  1355. (updateIconImages): New method.
  1356. (updateMinimumSize): New method.
  1357. (setModalBlocked): New method.
  1358. (updateFocusableWindowState): New method.
  1359. (setAlwaysOnTop): New method.
  1360. * gnu/java/awt/peer/x/XFramePeer.java
  1361. (getBoundsPrivate): New method.
  1362. * gnu/java/awt/peer/x/XToolkit.java
  1363. (isModalExclusionTypeSupported): New method.
  1364. (isModalityTypeSupported): New method.
  1365. 2007-06-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
  1366. * tools/Makefile.am:
  1367. Compile in com.sun.tools.javah
  1368. * tools/com/sun/tools/javah/Main.java:
  1369. Javah Sun-->Classpath wrapper.
  1370. 2007-06-21 Christian Thalinger <twisti@complang.tuwien.ac.at>
  1371. * javax/swing/text/html/parser/AttributeList.java (getValues):
  1372. Check if values is null.
  1373. 2007-06-21 Roman Kennke <roman@kennke.org>
  1374. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c,
  1375. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c,
  1376. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
  1377. Fix some type signatures.
  1378. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
  1379. Fix intendation.
  1380. 2007-06-21 Jeroen Frijters <jeroen@frijters.net>
  1381. * java/io/ObjectStreamClass.java (getClassUID): Return 0L for
  1382. enums and proxies.
  1383. 2007-06-21 Jeroen Frijters <jeroen@frijters.net>
  1384. * java/net/URLClassLoader.java
  1385. (URLClassLoader(URL[],ClassLoader,URLStreamHandlerFactory):
  1386. Add factory to cache before calling addURLS.
  1387. (run): Don't call initCause() on ClassNotFoundException.
  1388. 2007-06-21 Jeroen Frijters <jeroen@frijters.net>
  1389. Fixes #32356
  1390. * java/lang/reflect/Array.java
  1391. (newInstance(Class,int[])): Call createMultiArray correctly.
  1392. (createMultiArray): Fixed dimensions processing order.
  1393. 2007-06-21 Jeroen Frijters <jeroen@frijters.net>
  1394. * gnu/java/net/loader/URLLoader.java
  1395. (URLLoader(URLClassLoader,URLStreamHandlerCache,
  1396. URLStreamHandlerFactory,URL,URL)): Disabiguate CodeSource constructor
  1397. invocation.
  1398. * java/awt/AWTKeyStroke.java
  1399. (LinkedHashMap.removeEldestEntry): Use Map.Entry to fix compile
  1400. error when compiled against OpenJDK java.util package.
  1401. * java/awt/AlphaComposite.java
  1402. (LinkedHashMap.removeEldestEntry): Use Map.Entry to fix compile
  1403. error when compiled against OpenJDK java.util package.
  1404. 2007-06-21 Jeroen Frijters <jeroen@frijters.net>
  1405. * gnu/java/security/Engine.java
  1406. (getInstance(String,String,Provider,Object[]): Use correctly cased
  1407. property name.
  1408. 2007-07-19 Keith Seitz <keiths@redhat.com>
  1409. * classpath/gnu/classpath/jdwp/value/StringValue.java
  1410. (StringValue): Tag of StringValue is STRING not OBJECT.
  1411. (write): String values are written to the wire as tag byte
  1412. and object ID, not JdwpString.
  1413. 2007-07-19 Keith Seitz <keiths@redhat.com>
  1414. * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
  1415. (executeInvokeMethod): No need to use ValueFactory any more;
  1416. MethodResult.getReturnedValue now returns a Value.
  1417. (executeNewInstance): Double-check that return result is
  1418. an ObjectValue; throw JdwpInternalErrorException if it is not.
  1419. (invokeMethod): Method IDs come from VMMethod, not VMIdManager.
  1420. Arguments are Values not Objects.
  1421. Use ValueFactory to create arguments.
  1422. Pass invocation options to VMVirtualMachine.executeMethod.
  1423. Don't do any thread suspend/resume work: VMVM.executeMethod
  1424. will take care of it.
  1425. * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
  1426. (executeInvokeMethod): Method IDs come from VMMethod, not
  1427. VMIdManager.
  1428. Arguments should be Values instead of Objects.
  1429. Use ValueFactory to create Values.
  1430. Remove specific option handling and pass options to
  1431. VMVirtualMachine.executeMethod.
  1432. Remove thread suspension.
  1433. Use MethodResult.getReturnedValue to get method's result.
  1434. * gnu/classpath/jdwp/util/MethodResult.java
  1435. (returnedValue): Change type to Value.
  1436. (thrownException): Change type to Throwable.
  1437. (resType): Remove.
  1438. (MethodResult): New constructor.
  1439. (setReturnedValue): Remove.
  1440. (SetThrownException): Remove.
  1441. (getResultType): Remove.
  1442. (setResultType): Remove.
  1443. * gnu/classpath/jdwp/value/ObjectValue.java (getValue):
  1444. New method.
  1445. * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
  1446. (executeMethod): Replace "nonVirtual" parameter with more
  1447. generic "options" parameter.
  1448. Replace java.lang.reflect.Method parameter with VMMethod.
  1449. Replace Objet[] parameter with Value[] parameter.
  1450. 2007-07-10 Dalibor Topic <robilad@kaffe.org>
  1451. * configure.ac (FOUND_CACAO): Removed.
  1452. 2007-06-01 Robin Garner <robin.garner@anu.edu.au>
  1453. Fixes #32162
  1454. * gnu/xml/dom/DomNode.java: Correct concurrency problem when deep
  1455. cloning nodes.
  1456. 2007-05-30 Mark Wielaard <mark@klomp.org>
  1457. Fixes bug #32030 reported by Steve.Blackburn@anu.edu.au
  1458. * native/jni/java-nio/gnu_java_nio_VMChannel.c
  1459. (Java_gnu_java_nio_VMChannel_open): Only set O_TRUNC when
  1460. CPNIO_APPEND is not, but O_WRONLY is set.
  1461. 2007-05-25 Robert Schuster <robertschuster@fsfe.org>
  1462. * gnu/java/awt/peer/x/XGraphics2D.java:
  1463. (rawDrawLine): Added addition of translation.
  1464. (rawFillRect): Dito.
  1465. 2007-05-25 Robert Schuster <robertschuster@fsfe.org>
  1466. * gnu/java/awt/font/opentype/OpenTypeFont.java:
  1467. (getGlyphIndex): Call getGlyphCharMap() instead of
  1468. accessing cmap field directly.
  1469. 2007-05-24 Ito Kazumitsu <kaz@maczuka.gcd.org>
  1470. * native/jni/java-nio/gnu_java_nio_VMChannel.c
  1471. (Java_gnu_java_nio_VMChannel_available): Use fstat or select as an
  1472. alternative to ioctl.
  1473. * native/jni/native-lib/cpio.c(cpio_availableBytes): Corrected typo.
  1474. 2007-05-24 Roman Kennke <roman@kennke.org>
  1475. * gnu/java/math/Fixed.java
  1476. (trunc): New method.
  1477. 2007-05-24 Roman Kennke <roman@kennke.org>
  1478. * gnu/java/awt/java2d/AbstractGraphics2D.java
  1479. (fillShape): Pass rendering hints to scanline converter.
  1480. * gnu/java/awt/java2d/ScanlineConverter.java
  1481. (ONE): New constant for the number 1 as fixed point number.
  1482. (Y_RESOLUTION): New constant for the Y resolution.
  1483. (doScanline): Handle the Y resolution.
  1484. (renderShape): Accept rendering hints.
  1485. (setResolution): Adjust maximum resolution with Y resolution.
  1486. * gnu/java/awt/java2d/ScanlineCoverage.java
  1487. (Iterator.handledPixelCoverage): New field.
  1488. (Iterator.next): Handle single pixel coverage.
  1489. (Iterator.hasNext): Handle single pixel coverage.
  1490. (Iterator.reset): Reset single pixel coverage.
  1491. (Range.toString): New method.
  1492. (Coverage.pixelCoverage): New field.
  1493. (add): Include Y (pixel) coverage.
  1494. (findOrInsert): Reset Y coverage in reused entries.
  1495. 2007-05-24 Roman Kennke <roman@kennke.org>
  1496. * gnu/java/awt/java2d/ScanlineCoverage.java
  1497. (Iterator): New class.
  1498. (Range): New class.
  1499. (Coverage.covDelta): Made field package private.
  1500. (Coverage.xPos): Made field package private.
  1501. (iterator): New field. Stores the iterator that is reused.
  1502. (ScanlineCoverage): Initialize iterator.
  1503. (assertion): Removed.
  1504. (isEmpty): Refined conditions.
  1505. (iterate): Return Iterator instance.
  1506. (next): Removed. This is done by the Iterator class now.
  1507. (test): Removed.
  1508. * gnu/java/awt/java2d/ScanlineConverter.java
  1509. (main): Removed.
  1510. * gnu/java/awt/peer/x/XGraphics2D.java
  1511. (renderScanline): Adjust to new coverage iterator stuff.
  1512. * gnu/java/awt/java2d/AbstractGraphics2D.java
  1513. (renderScanline): Adjust to new coverage iterator stuff.
  1514. 2007-05-23 Jeroen Frijters <jeroen@frijters.net>
  1515. * java/util/Arrays.java
  1516. (copyOfRange(T,int,int)): Fixed to instantiate right array type.
  1517. 2007-05-22 Robert Schuster <robertschuster@fsfe.org>
  1518. * gnu/java/awt/peer/x/XEventQueue.java:
  1519. (handleEvent): Calculate modifier value for mouse presse
  1520. and release events, clip button values.
  1521. (buttonToModifier): New method.
  1522. * gnu/java/awt/peer/x/KeyboardMapping.java:
  1523. (mapModifiers): Added cases for alt gr and the meta key.
  1524. 2007-05-22 Robert Schuster <robertschuster@fsfe.org>
  1525. * gnu/java/awt/peer/x/XEventQueue.java:
  1526. (handleEvent): Use Input.event_window_id for
  1527. key presses/releases.
  1528. 2007-05-22 Robert Schuster <robertschuster@fsfe.org>
  1529. * gnu/java/awt/peer/x/XEventQueue.java:
  1530. (handleEvent): Use Input.event_window_id instead of
  1531. Input.child_window_id for mouse presses/releases &
  1532. movement.
  1533. 2007-05-22 Roman Kennke <roman@kennke.org>
  1534. * gnu/java/awt/peer/x/XFontPeer2.java
  1535. (XFontMetrics.charWidth): Use cached Point2D instance.
  1536. * gnu/java/awt/peer/x/XGraphics2D.java
  1537. (renderScanline): New method. Renders a scanline according to
  1538. the coverage information.
  1539. (setPaint): Call super, so that the state is updated correctly.
  1540. 2007-05-19 Andreas Tobler <a.tobler@schweiz.org>
  1541. PR libgcj/31659
  1542. * m4/ax_create_stdint_h.m4: Apply patch from PR31659.
  1543. 2007-05-18 Andreas Tobler <a.tobler@schweiz.org>
  1544. * autogen.sh (have_libtool): Update comments for Darwin.
  1545. 2007-05-18 Roman Kennke <roman@kennke.org>
  1546. * gnu/java/awt/java2d/AbstractGraphics2D.java
  1547. (fillScanlineAA): Removed. Replaced by renderScanline().
  1548. (fillScanline): Dito.
  1549. (renderScanline): New method. Renders a scanline according to
  1550. the coverage information from the scanline converter.
  1551. * gnu/java/awt/java2d/Pixelizer.java: New interface. Describes
  1552. the targets of the rasterizer.
  1553. * gnu/java/awt/java2d/ScanlineConverter.java
  1554. (alphaRes): Removed.
  1555. (ONE): Removed.
  1556. (scanlineCoverage): New field. Manages the coverage information.
  1557. (scanlinesPerPixel): Removed.
  1558. (scanlineXCov): Removed.
  1559. (scanlineYCov): Removed.
  1560. (slPix0): Removed.
  1561. (ScanlineConverter): Initialize scanline coverage data structure.
  1562. (clear): Also clear the scanline coverage.
  1563. (doScanline): Work with Pixelizer objects.
  1564. Use the ScanlineCoverage datastructure.
  1565. (main): New method. Performs some tests.
  1566. (renderShape): Work with pixelizer objects rather than directly
  1567. on AbstractGraphic2D. Adjust to use ScanlineCoverage datastructure.
  1568. (setResolution): Set resolution on ScanlineCoverage data too.
  1569. * gnu/java/awt/java2d/ScanlineCoverage.java: New class. Stores
  1570. and manages scanline coverage information.
  1571. 2007-05-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
  1572. * java/rmi/MarshelledObject.java,
  1573. * java/rmi/activation/Activatable.java,
  1574. * java/rmi/activation/ActivationDesc.java,
  1575. * java/rmi/activation/ActivationGroup.java,
  1576. * java/rmi/activation/ActivationGroupDesc.java,
  1577. * java/rmi/activation/ActivationInstantiator.java,
  1578. * java/rmi/activation/ActivationMonitor.java,
  1579. * java/rmi/activation/Activator.java:
  1580. Genericized.
  1581. 2007-05-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
  1582. * configure.ac:
  1583. Check if nsl library is needed for inet_pton.
  1584. * tools/gappletviewer.in,
  1585. * tools/gjar.in,
  1586. * tools/gjarsigner.in,
  1587. * tools/gjavah.in,
  1588. * tools/gkeytool.in,
  1589. * tools/gnative2ascii.in,
  1590. * tools/gorbd.in,
  1591. * tools/grmic.in,
  1592. * tools/grmid.in,
  1593. * tools/grmiregistry.in,
  1594. * tools/gserialver.in,
  1595. * tools/gtnameserv.in:
  1596. Remove spaces around '=' in setting of datarootdir.
  1597. 2007-05-11 Kyle Galloway <kgallowa@redhat.com>
  1598. * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
  1599. (executeMethods): Remove cast to ClassReferenceTypeId.
  1600. 2007-05-11 Jeroen Frijters <jeroen@frijters.net>
  1601. * java/lang/Float.java
  1602. (toString(float)): Call VMFloat instead of VMDouble.
  1603. (parseFloat): Call VMFloat. Fixed comment.
  1604. * vm/reference/java/lang/VMFloat.java
  1605. (toString, parseFloat): New methods.
  1606. NEWS: added note about these changes.
  1607. 2007-05-08 Kyle Galloway <kgallowa@redhat.com>
  1608. * vm/reference/VMFrame.java (<init>): Add a parameter for the "this"
  1609. pointer of the frame.
  1610. 2007-05-08 Roman Kennke <roman@kennke.org>
  1611. * gnu/java/awt/peer/x/XFontPeer.java: Removed.
  1612. * gnu/java/awt/peer/x/XGraphics.java: Removed
  1613. * gnu/java/awt/peer/x/XFontPeer2.java
  1614. (XLineMetrics.getDescent): Use cached idendity transform.
  1615. (XFontMetrics.cachedPoint): New field. Caches a Point2D instance
  1616. for reuse.
  1617. (XFontMetrics.getAscent): Use cached idendity transform.
  1618. (XFontMetrics.getDescent): Use cached idendity transform.
  1619. (XFontMetrics.getHeight): Use cached idendity transform.
  1620. (XFontMetrics.charWidth): Map character to glyph index first.
  1621. (XFontMetrics.stringWidth): Use cached idendity transform.
  1622. (IDENDITY): New static field. A reused AffineTransform instance.
  1623. 2007-05-08 Roman Kennke <roman@kennke.org>
  1624. * gnu/java/awt/font/FontDelegate.java
  1625. (getGlyphIndex): New method. Maps characters to their
  1626. glyph index in the font.
  1627. M gnu/java/awt/font/opentype/OpenTypeFont.java
  1628. (getGlyphIndex): New method. Maps characters to their
  1629. glyph index in the font.
  1630. 2007-05-08 Roman Kennke <roman@kennke.org>
  1631. * gnu/java/awt/java2d/AbstractGraphics2D.java
  1632. (AA_SAMPLING): Removed.
  1633. (alpha): Removed field.
  1634. (edgeTable): Removed field.
  1635. (fillScanlineAA): Removed obsolete method.
  1636. (drawPolyline): Implemented by using a GeneralPath.
  1637. (drawPolygon): Reset the cached polygon.
  1638. (fillPolygon): Reset the cached polygon.
  1639. (fillShape): Default to antialias on for text.
  1640. (rawDrawLine): Use ShapeCache.
  1641. (rawDrawRect): Use ShapeCache.
  1642. (rawFillRect): Use ShapeCache.
  1643. (fillScanlineAA): New method for antialiased rendering.
  1644. * gnu/java/awt/java2d/ScanlineConverter.java
  1645. (scanlinesPerPixel): New field.
  1646. (minX,maxX): New fields.
  1647. (scanlineYCov,scanlineXCov): New fields.
  1648. (slPix0): New field.
  1649. (alphaRes): New field.
  1650. (renderShape): Add antialiasing functionality.
  1651. (doScanline): Add antialiasing functionality.
  1652. (setResolution): Add antialiasing functionality.
  1653. (addShape): Determine span in X direction.
  1654. (fit): Fix thinko.
  1655. * gnu/java/awt/java2d/ShapeCache.java
  1656. (polyline): New field for caching polylines.
  1657. 2007-05-08 Roman Kennke <roman@kennke.org>
  1658. * examples/gnu/classpath/examples/awt/HintingDemo.java
  1659. Add support for showing the original vs the hinted glyphs plus
  1660. a grid.
  1661. 2007-05-08 Andrew John Hughes <gnu_andrew@member.fsf.org>
  1662. * lib/Makefile.am: Print property files as well.
  1663. 2007-05-08 Andrew John Hughes <gnu_andrew@member.fsf.org>
  1664. * native/jni/gtk-peer/gtkpeer.c:
  1665. Added support for 64-bit architectures.
  1666. 2007-05-04 Chris Burdess <dog@gnu.org>
  1667. Fixes PR #31814
  1668. * gnu/xml/dom/DomDocument.java,
  1669. gnu/xml/dom/ls/SAXEventSink.java: Don't default attribute when mode is
  1670. #IMPLIED and value is not specified.
  1671. * gnu/xml/stream/XMLParser.java: Add debugging info.
  1672. 2007-05-03 Keith Seitz <keiths@redhat.com>
  1673. * gnu/classpath/jdwp/Jdwp.java (notify): Rewrite to call
  1674. new array-based method.
  1675. (notify): New function.
  1676. (sendEvent): Rewrite to use sendEvents.
  1677. (sendEvents): New method.
  1678. * gnu/classpath/jdwp/event/Event.java (toPacket): Make static.
  1679. Change parameters to use arrays for events and requests.
  1680. Add suspendPolicy parameter.
  1681. Move per-event data transformation to...
  1682. (_toData): ... here.
  1683. * gnu/classpath/jdwp/transport/JdwpConnection.java
  1684. (sendEvent): Renamed to ...
  1685. (sendEvents): ... this.
  1686. Change parameters to use arrays for events and requests.
  1687. Add suspendPolicy parameter.
  1688. 2007-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
  1689. https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=237304
  1690. * javax/swing/text/html/HTMLEditorKit.java
  1691. (getStyleSheet): Throw RuntimeException when style loading fails.
  1692. * lib/Makefile.am: Treat css files as a property files.
  1693. * javax/swing/text/html/default.css: Move to...
  1694. * resource/javax/swing/text/html/default.css: New file.
  1695. 2007-05-03 Andrew Haley <aph@redhat.com>
  1696. * gnu/javax/management/Server.java (Server): Record the delegate.
  1697. (registerMBean): Notify the delegate.
  1698. (unregisterMBean): Likewise.
  1699. (notify): New method.
  1700. 2007-04-30 Roman Kennke <roman@kennke.org>
  1701. * gnu/java/awt/peer/x/XLightweightPeer.java: Removed.
  1702. * gnu/java/awt/peer/x/XEventPump.java
  1703. (handleEvent): Improved handling of event ids to window mapping.
  1704. * gnu/java/awt/peer/x/XFontPeer2.java:
  1705. Load font.properties at startup.
  1706. (XLineMetrics.glyphVector): New field.
  1707. (XLineMetrics.XLineMetrics): Get glyphVector from font delegate.
  1708. (XLineMetrics.getHeight): Implemented using glyph vector.
  1709. (XLineMetrics.getLeading): Implemented.
  1710. (XFontPeer2): Change hardwired font to something more common.
  1711. (encodeFont): New methods, encodes a font to the font.properties
  1712. format.
  1713. (validName): New method. Checks and returns a valid font name.
  1714. * gnu/java/awt/peer/x/XGraphics2D.java
  1715. (foreground): New field.
  1716. (rawSetPixel): Removed.
  1717. (rawDrawLine): Draw a segment.
  1718. (rawSetForeground): Removed.
  1719. (fillScanline): New method.
  1720. (fillScanlineAA): New method.
  1721. (setPaint): Set the foreground color.
  1722. (fillShape): Synchronize super behaviour.
  1723. (rawDrawImage): Optimize XImage.
  1724. * gnu/java/awt/peer/x/XGraphicsDevice.java
  1725. (getDisplay): Improve creation of socket.
  1726. (createLocalSocket): New helper method to create a local socket.
  1727. * gnu/java/awt/peer/x/XImage.java
  1728. (getGraphics): Return an XGraphics2D.
  1729. * gnu/java/awt/peer/x/XToolkit.java
  1730. (getClasspathFontPeer): Use XFontPeer2.
  1731. (createComponent): Removed.
  1732. * gnu/java/awt/peer/x/XWindowPeer.java
  1733. (getGraphics): Return an XGraphics2D.
  1734. (show): Clear the window.
  1735. (getFontMetrics): Use XFontPeer2.
  1736. 2007-04-30 Roman Kennke <roman@kennke.org>
  1737. * gnu/java/awt/peer/swing/SwingButtonPeer.java
  1738. (SwingButton.handleFocusEvent): New method. Handles focus events.
  1739. (SwingButton.requestFocus): Overridden to avoid loop into peer
  1740. and back.
  1741. (SwingButton.requestFocus(boolean)): Overridden to avoid loop
  1742. into peer and back.
  1743. * gnu/java/awt/peer/swing/SwingCheckboxPeer.java: New class.
  1744. Implements CheckboxPeer for Swing toolkit.
  1745. * gnu/java/awt/peer/swing/SwingComponent.java
  1746. (handleFocusEvent): New method. Handles focus events.
  1747. * gnu/java/awt/peer/swing/SwingComponentPeer.java
  1748. (getMinimumSize): Delegate to minimumSize().
  1749. (getPreferredSize): Delegate to preferredSize().
  1750. (handleEvent): Only paint when component is showing. Coalesce
  1751. paint event in any case. Reformat. Handle focus events.
  1752. (requestFocus): Post FOCUS_GAINED event.
  1753. (handleFocusEvent): New method. Delegate to SwingComponent
  1754. object.
  1755. * gnu/java/awt/peer/swing/SwingContainerPeer.java
  1756. (addHeavyweightDescendent): Make this protected.
  1757. (removeHeavyweightDescendent): Make this protected.
  1758. (getHeavyweightDescendents): New method. Returns all registered
  1759. heavyweights.
  1760. (handleKeyEvent): Delegate to peer's handleEvent() method.
  1761. * gnu/java/awt/peer/swing/SwingLabelPeer.java
  1762. (SwingLabel.handleFocusEvent): New method.
  1763. * gnu/java/awt/peer/swing/SwingListPeer.java
  1764. (SwingList.handleFocusEvent): New method.
  1765. * gnu/java/awt/peer/swing/SwingPanelPeer.java
  1766. Fix typo and import.
  1767. * gnu/java/awt/peer/swing/SwingTextAreaPeer.java
  1768. Wrap up text area in viewport.
  1769. * gnu/java/awt/peer/swing/SwingTextFieldPeer.java
  1770. (SwingTextField.handleFocusEvent): New method.
  1771. (SwingTextField.requestFocus): New method.
  1772. (SwingTextField.requestFocus(boolean)): New method.
  1773. 2007-04-27 Keith Seitz <keiths@redhat.com>
  1774. * gnu/classpath/jdwp/event/EventManager.java
  1775. (getEventRequest): Rename to...
  1776. (getEventRequests): ...this.
  1777. Change return type to array of requests.
  1778. Construct a list of all matching events and return
  1779. them all.
  1780. * gnu/classpath/jdwp/Jdwp.java (notify): Use getEventRequests
  1781. and send event notifications for all matching requests.
  1782. 2007-04-27 Keith Seitz <keiths@redhat.com>
  1783. * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java
  1784. (matches): Use Location.equals to determine equality.
  1785. * vm/reference/gnu/classpath/jdwp/VMMethod.java (equals):
  1786. New method.
  1787. * gnu/classpath/jdwp/util/Location.java (equals):
  1788. New method.
  1789. 2007-04-27 Roman Kennke <roman@kennke.org>
  1790. * java/nio/CharViewBufferImpl.java
  1791. (slice): Fixed offset for slice buffer.
  1792. * java/nio/DoubleViewBufferImpl.java
  1793. (slice): Fixed offset for slice buffer.
  1794. * java/nio/FloatViewBufferImpl.java
  1795. (slice): Fixed offset for slice buffer.
  1796. * java/nio/IntViewBufferImpl.java
  1797. (slice): Fixed offset for slice buffer.
  1798. * java/nio/LongViewBufferImpl.java
  1799. (slice): Fixed offset for slice buffer.
  1800. * java/nio/ShortViewBufferImpl.java
  1801. (slice): Fixed offset for slice buffer.
  1802. 2007-04-25 Roman Kennke <roman@kennke.org>
  1803. * gnu/java/awt/peer/gtk/GdkFontPeer.java,
  1804. * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
  1805. * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
  1806. * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
  1807. * gnu/java/awt/peer/gtk/GtkGenericPeer.java,
  1808. * gnu/java/awt/peer/gtk/GtkToolkit.java:
  1809. Added fields to hold the native state. Added class initialization
  1810. things to fetch the JNI field IDs.
  1811. * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
  1812. * include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h,
  1813. * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
  1814. * include/gnu_java_awt_peer_gtk_GtkToolkit.h:
  1815. Added / changed class init methods for field ID initialization.
  1816. * native/jni/classpath/Makefile.am: Removed native_state stuff.
  1817. * native/jni/classpath/native_state.c,
  1818. * native/jni/classpath/native_state.h: Removed.
  1819. * native/jni/gconf-peer/Makefile.am: Removed native_state stuff.
  1820. * native/jni/gtk-peer/Makefile.am: Removed native_state stuff.
  1821. * native/jni/gtk-peer/cairographics2d.h,
  1822. * native/jni/gtk-peer/gdkdisplay.h,
  1823. * native/jni/gtk-peer/gdkfont.h,
  1824. * native/jni/gtk-peer/GtkDragSourceContextPeer.c,
  1825. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c,
  1826. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c,
  1827. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c,
  1828. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c,
  1829. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c,
  1830. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
  1831. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c,
  1832. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c,
  1833. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
  1834. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
  1835. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
  1836. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
  1837. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
  1838. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
  1839. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c,
  1840. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
  1841. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c,
  1842. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c,
  1843. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
  1844. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
  1845. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
  1846. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c,
  1847. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
  1848. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
  1849. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
  1850. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
  1851. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
  1852. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c,
  1853. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
  1854. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
  1855. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
  1856. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c,
  1857. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
  1858. * native/jni/gtk-peer/gtk_jawt.c:
  1859. Removed native state stuff and replaced that with an approach
  1860. to store the native state of an object directly in that object.
  1861. * native/jni/gtk-peer/gtkpeer.c: New file. Implements the new native
  1862. state management.
  1863. * native/jni/gtk-peer/gtkpeer.h: Remove NSA stuff and added
  1864. prototypes for new native state handling.
  1865. 2007-04-23 Mark Wielaard <mark@klomp.org>
  1866. * doc/www.gnu.org/newsitems.txt: Add 0.95.
  1867. * doc/www.gnu.org/downloads/downloads.wml: Likewise.
  1868. * doc/www.gnu.org/announce/20070423.wml: New file.
  1869. 2007-04-23 Mark Wielaard <mark@klomp.org>
  1870. * NEWS: Add new 0.95 features.
  1871. 2007-04-23 Jeroen Frijters <jeroen@frijters.net>
  1872. PR classpath/31646:
  1873. * java/util/Arrays.java (qsort): Corrected initial median calculation.
  1874. 2007-04-22 Dalibor Topic <robilad@kaffe.org>
  1875. * Makefile.am (ACLOCAL_AMFLAGS): Add contents of env var
  1876. LOCAL_AUTORECONF_AMFLAGS to allow for systems where the user
  1877. has a mix of system & hacked-up autotools.
  1878. 2007-04-22 Dalibor Topic <robilad@kaffe.org>
  1879. * autogen.sh: Removed unnecessary -I m4 flag.
  1880. 2007-04-19 Casey Marshall <csm@gnu.org>
  1881. PR classpath/31626:
  1882. * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
  1883. (createSocket): New method.
  1884. 2007-04-19 Dalibor Topic <robilad@kaffe.org>
  1885. * tools/gappletviewer.in,
  1886. tools/gjar.in,
  1887. tools/gjarsigner.in,
  1888. tools/gjavah.in,
  1889. tools/gkeytool.in,
  1890. tools/gnative2ascii.in,
  1891. tools/gorbd.in,
  1892. tools/grmic.in,
  1893. tools/grmid.in,
  1894. tools/grmiregistry.in,
  1895. tools/gserialver.in,
  1896. tools/gtnameserv.in: Set datarootdir to fix a warning from
  1897. configure.
  1898. 2007-04-19 Dalibor Topic <robilad@kaffe.org>
  1899. * INSTALL: Removed file generated by autogen.sh.
  1900. * .cvsignore: Added INSTALL.
  1901. 2007-04-19 Dalibor Topic <robilad@kaffe.org>
  1902. * INSTALL: Replaced by generic install file.
  1903. * autogen.sh: Removed redundant and no longer necessary
  1904. sections. Use autoreconf.
  1905. 2007-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
  1906. * m4/acinclude.m4
  1907. (CLASSPATH_FIND_JAVAC): Allow detected JAVAC.
  1908. 2007-04-19 Dalibor Topic <robilad@kaffe.org>
  1909. * lib/Makefile.am (propertyfiles, cssfiles, metafiles,
  1910. iconfiles) Removed variables, inlined them into resource
  1911. target to avoid use of shell construct and fix portability
  1912. warning from automake 1.10.
  1913. 2007-04-18 Tom Tromey <tromey@redhat.com>
  1914. * tools/gnu/classpath/tools/javah/MethodHelper.java (print):
  1915. Changed arguments. Directly print method name.
  1916. * tools/gnu/classpath/tools/javah/ClassWrapper.java
  1917. (methodNameMap): New field.
  1918. (makeVtable): Initialize it.
  1919. (printMethods): Compute name for bridge targets.
  1920. 2007-04-18 Andrew Haley <aph@redhat.com>
  1921. * gnu/java/rmi/server/UnicastConnectionManager.java
  1922. (UnicastConnectionManager(int port, RMIServerSocketFactory)):
  1923. Listen on "localhost", not localhost.
  1924. 2007-04-18 Dalibor Topic <robilad@kaffe.org>
  1925. * include/GtkDragSourceContextPeer.h: Removed, renamed to ..
  1926. * include/gnu_java_awt_dnd_peer_gtk_GtkDragSourceContextPeer.h:
  1927. New file.
  1928. * native/jni/gtk-peer/GtkDragSourceContextPeer.c: Include
  1929. gnu_java_awt_dnd_peer_gtk_GtkDragSourceContextPeer.h.
  1930. * include/Makefile.am (GTKPEER_H_FILES): Renamed
  1931. GtkDragSourceContextPeer.h to
  1932. gnu_java_awt_dnd_peer_gtk_GtkDragSourceContextPeer.h
  1933. per current convention. Use portable construct to create
  1934. gtk and libxmlj peer headers. Depend on the java source code,
  1935. rather then the class files in order to avoid spurious
  1936. regeneration.
  1937. 2007-04-18 Dalibor Topic <robilad@kaffe.org>
  1938. * include/Makefile.am: Use portable construct to create
  1939. qt peer headers. Depend on the java source code,
  1940. rather then the class files in order to avoid spurious
  1941. regeneration.
  1942. 2007-04-18 Dalibor Topic <robilad@kaffe.org>
  1943. * include/Makefile.am: Use portable construct to create
  1944. alsa and dssi peer headers. Depend on the java source code,
  1945. rather then the class files in order to avoid spurious
  1946. regeneration.
  1947. 2007-04-18 Dalibor Topic <robilad@kaffe.org>
  1948. * include/Makefile.am: Use portable construct to create
  1949. gconf peer header. Depend on the java source code, rather
  1950. the class file to avoid spurious regeneration.
  1951. 2007-04-18 Dalibor Topic <robilad@kaffe.org>
  1952. * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h:
  1953. Removed empty header file.
  1954. * include/Makefile.am (QTPEER_H_FILES):
  1955. Removed gnu_java_awt_peer_qt_QtGraphicsEnvironment.h.
  1956. 2007-04-18 Dalibor Topic <robilad@kaffe.org>
  1957. * native/jni/xmlj/xmlj_xpath.c: Don't include
  1958. gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h.
  1959. * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h:
  1960. Removed empty header file.
  1961. * include/Makefile.am (XMLJ_H_FILES): Removed
  1962. gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h.
  1963. 2007-04-18 Dalibor Topic <robilad@kaffe.org>
  1964. * include/gnu_java_awt_peer_qt_QtContainerPeer.h: Removed
  1965. empty header file.
  1966. * include/Makefile.am (QTPEER_H_FILES): Removed
  1967. gnu_java_awt_peer_qt_QtContainerPeer.h.
  1968. 2007-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
  1969. * native/jni/java-net/local.c:
  1970. Fix import of FIONREAD.
  1971. * native/jni/java-nio/gnu_java_nio_VMChannel.c,
  1972. * native/jni/native-lib/cpnet.c:
  1973. Likewise.
  1974. 2007-04-17 Dalibor Topic <robilad@kaffe.org>
  1975. * m4/acinclude.m4 (CLASSPATH_CHECK_JAVAH):
  1976. Use AC_CHECK_PROGS and AC_MSG_ERROR. Check for
  1977. gjavah, gcjh-wrapper-4.1 and gcjh-4.1. Error out
  1978. when no javah implementation can be found.
  1979. 2007-04-17 Dalibor Topic <robilad@kaffe.org>
  1980. * configure.ac (CLASSPATH_WITH_JAVAH): Only check if
  1981. the JNI headers need to be regenerated.
  1982. * m4/acinclude.m4 (USER_SPECIFIED_JAVAH): Removed unused
  1983. conditional.
  1984. 2007-04-17 Dalibor Topic <robilad@kaffe.org>
  1985. * lib/Makefile.am (JAVAH): Removed unused variable.
  1986. 2007-04-17 Casey Marshall <csm@gnu.org>
  1987. PR classpath/31302:
  1988. * gnu/javax/net/ssl/provider/SSLSocketImpl.java (SSLSocketImpl):
  1989. Always make a new socket.
  1990. (bind, connect, getInetAddress, getLocalAddress, getPort,
  1991. getLocalPort, getRemoteSocketAddress, getLocalSocketAddress,
  1992. setTcpNoDelay, getTcpNoDelay, setSoLinger, getSoLinger,
  1993. setOOBInline, getOOBInline, setSoTimeout, getSoTimeout,
  1994. setSendBufferSize, getSendBufferSize, setReceiveBufferSize,
  1995. getReceiveBufferSize, setKeepAlive, getKeepAlive, setTrafficClass,
  1996. getTrafficClass, setReuseAddress, getReuseAddress, close,
  1997. shutdownInput, shutdownOutput, isConnected, isBound, isClosed,
  1998. isInputShutdown, isOutputShutdown): Always use
  1999. 'underlyingSocket'.
  2000. 2007-04-16 Dalibor Topic <robilad@kaffe.org>
  2001. * configure.ac (AM_PROG_CC_C_O): Added to fix automake 1.10
  2002. warning.
  2003. 2007-04-16 Dalibor Topic <robilad@kaffe.org>
  2004. * native/plugin/Makefile.am (libgcjwebplugin_la_LDFLAGS):
  2005. Added AM_LDFLAGS for automake 1.10.
  2006. 2007-04-16 Tom Tromey <tromey@redhat.com>
  2007. https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=236614
  2008. * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
  2009. (createSocket): Change order of delegation.
  2010. 2007-04-16 Andrew Haley <aph@redhat.com>
  2011. * java/io/ObjectInputStream.java: (parseContent): Call (String,
  2012. Object) version of dumpElementln.
  2013. (dumpElementln(String, Object)): New method.
  2014. * java/io/ObjectOutputStream.java (writeObject): Call (String,
  2015. Object) version of dumpElementln.
  2016. (dumpElementln(String, Object)): New method.
  2017. 2007-04-16 Mark Wielaard <mark@klomp.org>
  2018. Fixes bug #31590
  2019. * java/net/URI.java (parseServerAuthority): Allow empty portStr.
  2020. 2007-04-16 Andrew Haley <aph@redhat.com>
  2021. * org/omg/IOP/TaggedComponentHelper.java (read): Use
  2022. read_octet_array(), not read().
  2023. (write): Use write_octet_array(), not write().
  2024. * org/omg/PortableServer/Servant.java (_get_delegate): Throw if no
  2025. delegate has been set.
  2026. 2007-04-16 Chris Burdess <dog@gnu.org>
  2027. * gnu/xml/stream/XMLParser.java: Work around a problem with incorrectly
  2028. formatted file URLs.
  2029. 2007-04-15 Dalibor Topic <robilad@kaffe.org>
  2030. * native/jni/java-lang/Makefile.am (libjavalang_la_LIBADD):
  2031. Fix portability warnings from automake 1.10.
  2032. 2007-04-15 Dalibor Topic <robilad@kaffe.org>
  2033. * Makefile.am (EXTRA_DIST): Add ChangeLog-2006.
  2034. 2007-04-15 Dalibor Topic <robilad@kaffe.org>
  2035. * native/target/.cvsignore: Removed.
  2036. 2007-04-15 Dalibor Topic <robilad@kaffe.org>
  2037. * doc/Makefile.am: Fix portability warnings from
  2038. automake 1.10.
  2039. 2007-04-15 Roman Kennke <roman@kennke.org>
  2040. * native/target/Linux/.cvsignore,
  2041. * native/target/generic/.cvsignore: Removed.
  2042. 2007-04-15 Dalibor Topic <robilad@kaffe.org>
  2043. * depcomp, install-sh, missing, mkinstalldirs,
  2044. doc/texinfo.tex: Removed files generated by autogen.sh.
  2045. * .cvsignore: Ignore generated files depcomp, install-sh,
  2046. missing, mkinstalldirs.
  2047. * doc/.cvsignore: Ignore generated file doc/texinfo.tex.
  2048. 2007-04-15 Dalibor Topic <robilad@kaffe.org>
  2049. * doc/cp-hacking.texinfo: Updated with information from
  2050. INSTALL file. Removed duplicate and outdated information.
  2051. Updated compiler information. Fixed versioning information
  2052. where entries diverged. Turned command, option, file and
  2053. URL strings into proper texinfo elements.
  2054. 2007-04-15 Dalibor Topic <robilad@kaffe.org>
  2055. * configure.ac: Added support for Iceape libraries as
  2056. a substitute for Mozilla for Debian.
  2057. 2007-04-12 Roman Kennke <roman@kennke.org>
  2058. * java/nio/Buffer.java
  2059. (array): New abstract method.
  2060. (hasArray): New abstract method.
  2061. (arrayOffset): New abstract method.
  2062. (isDirect): New abstract method.
  2063. 2007-04-12 Roman Kennke <roman@kennke.org>
  2064. * java/nio/CharBuffer.java
  2065. (wrap(CharSequence,int,int)): Reimplemented using specialized
  2066. subclass.
  2067. * java/nio/CharSequenceBuffer.java: New class. Implements char
  2068. buffers that wrap CharSequences.
  2069. 2007-04-12 Francis Kung <fkung@redhat.com>
  2070. PR 23887
  2071. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  2072. (drawGlyphVector): Check for transforms before using optimized path.
  2073. * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
  2074. (FreetypeGlyphVector(FreetypeGlyphVector)): Initialize glyphTransforms array
  2075. to null and check for nulls in copied array.
  2076. (hasTransforms): New method.
  2077. (performDefaultLayout): Check for identity transform.
  2078. (setGlyphTransform): Check for equality before making changes.
  2079. 2007-04-12 Francis Kung <fkung@redhat.com>
  2080. PR 23887
  2081. * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
  2082. (getGlyphLogicalBounds): Fix number of coordinates in transform call.
  2083. (performDefaultLayout): Respect transformation in font attributes.
  2084. * javax/swing/plaf/basic/BasicProgressBarUI.java
  2085. (getStringPlacement): Handle vertical orientations.
  2086. (paintString): Space vertical text properly.
  2087. 2007-04-12 Francis Kung <fkung@redhat.com>
  2088. PR 31539
  2089. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
  2090. (ft2_map): New static variable.
  2091. (Java_gnu_java_awt_peer_gtk_GdkFontPeer_initStaticState): Set up ft2_map.
  2092. (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Use cached ft2_map.
  2093. 2007-04-12 Christian Thalinger <twisti@complang.tuwien.ac.at>
  2094. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
  2095. (clipboard_get_func): Call DeleteLocalRef.
  2096. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c
  2097. (clipboard_targets_received): Likewise.
  2098. (clipboard_uris_received): Likewise.
  2099. 2007-04-12 Christian Thalinger <twisti@complang.tuwien.ac.at>
  2100. * LICENSE: Added m4/ax_func_which_gethostbyname_r.m4 license.
  2101. * configure.ac: Added AX_FUNC_WHICH_GETHOSTBYNAME_R check.
  2102. * m4/ax_func_which_gethostbyname_r.m4: New file.
  2103. * native/jni/native-lib/cpnet.c (cpnet_getHostByName): Check for
  2104. different number of arguments of gethostbyname_r.
  2105. 2007-04-12 Mark Wielaard <mark@klomp.org>
  2106. * gnu/java/awt/peer/ClasspathFontPeer.java (LRUCache): New static
  2107. inner class.
  2108. (transCache): New static LRUChache field.
  2109. (copyTransformToAttrs): Check whether a TransformAttribute already
  2110. exists in the transCache for the given AffineTransform.
  2111. 2007-04-12 Mark Wielaard <mark@klomp.org>
  2112. * configure.ac (COMPILE_GTK_PEER): Add check for cairo >= 1.1.8.
  2113. 2007-04-11 Christian Thalinger <twisti@complang.tuwien.ac.at>
  2114. * native/jni/java-nio/javanio.c: Include fcntl.h instead of
  2115. sys/fcntl.h.
  2116. 2007-04-11 Christian Thalinger <twisti@complang.tuwien.ac.at>
  2117. * native/jni/native-lib/cpproc.c (cpproc_forkAndExec): Fixed
  2118. warning on some compilers, e.g. MIPSpro.
  2119. 2007-04-11 Francis Kung <fkung@redhat.com>
  2120. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
  2121. (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs): Avoid unneeded
  2122. object reference.
  2123. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
  2124. (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics): Unlock font.
  2125. (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Remove redundant checks.
  2126. 2007-04-11 Christian Thalinger <twisti@complang.tuwien.ac.at>
  2127. * configure.ac: Added AC_C_INLINE.
  2128. 2007-04-10 Mark Wielaard <mark@klomp.org>
  2129. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
  2130. (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initFromVolatile):
  2131. Destroy surface after it is used to create a cairo context.
  2132. 2007-04-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
  2133. * javax/management/ObjectName.java:
  2134. (parse(String)): Catch multiple wildcards,
  2135. initialise with an empty string (so null isn't
  2136. appended), and emit comma even when wildcard
  2137. ends the list.
  2138. (checkComponents()): Catch newlines.
  2139. (quote(String)): Handle newlines and quotes
  2140. correctly.
  2141. 2007-04-09 Francis Kung <fkung@redhat.com>
  2142. PR 31311
  2143. * gnu/java/awt/peer/gtk/ComponentGraphics.java
  2144. (dispose): Removed method.
  2145. (disposeSurface): Removed method.
  2146. * gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
  2147. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
  2148. (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface): Removed.
  2149. (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Destroy surface
  2150. after it is used to create a cairo context.
  2151. 2007-04-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
  2152. * javax/management/ObjectName.java:
  2153. (propertyValuePattern): New cache variable.
  2154. (parse(String)): Record in propertyListPattern
  2155. not propertyPattern and set propertyValuePattern.
  2156. (isPropertyPattern()): Semantics altered to be the
  2157. OR of isPropertyListPattern() and isPropertyValuePattern().
  2158. (isPropertyListPattern()): Implemented.
  2159. (isPropertyValuePattern()): Implemented.
  2160. (isPropertyValuePattern(String)): Implemented.
  2161. 2007-04-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
  2162. * javax/management/ObjectName.java:
  2163. (parse(String)): Fix result of getKeyPropertyListString().
  2164. 2007-04-07 Mark Wielaard <mark@klomp.org>
  2165. * resource/META-INF/services/javax.xml.parsers.DocumentBuilderFactor,
  2166. resource/META-INF/services/javax.xml.parsers.SAXParserFactory,
  2167. resource/META-INF/services/javax.xml.parsers.TransformerFactory,
  2168. resource/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory,
  2169. resource/META-INF/services/org.w3c.dom.DOMImplementationSourceList,
  2170. resource/META-INF/services/org.xml.sax.driver: Removed.
  2171. 2007-04-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
  2172. * javax/management/ObjectName.java:
  2173. (checkComponents()): Separate value and
  2174. key illegal characters to allow value wildcards.
  2175. 2007-04-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
  2176. * javax/management/ObjectName.java
  2177. (parse(String)): Fix parsing where the wildcard
  2178. is juxtaposed between other pairs.
  2179. 2007-04-06 Mark Wielaard <mark@klomp.org>
  2180. * configure.ac (VERSION): Set to 0.96-pre.
  2181. 2007-04-06 Andrew John Hughes <gnu_andrew@member.fsf.org>
  2182. * javax/management/MBeanAttributeInfo.java:
  2183. (serialVersionUID): Added.
  2184. * javax/management/MBeanFeatureInfo.java:
  2185. (writeObject(ObjectOutputStream)): Added for
  2186. later 1.6 support.
  2187. * javax/management/Notification.java:
  2188. (serialVersionUID): Added.
  2189. (Notification(String,Object,long,long)): Make
  2190. default message the empty string not null.
  2191. (Notification(String,Object,long,long,String)):
  2192. Set source explicitly.
  2193. (writeObject(ObjectOutputStream)): Added to match
  2194. Sun.
  2195. 2007-04-06 Andrew John Hughes <gnu_andrew@member.fsf.org>
  2196. * java/util/Hashtable.java:
  2197. (putAllInternal(Map)): Remove redundant semi-colon.
  2198. 2007-04-06 Mark Wielaard <mark@klomp.org>
  2199. * lib/mkcollections.pl.in: Add externalclasses.
  2200. * java/util/Collections.java: Unroll enhanced for loops.
  2201. * java/util/HashMap.java: Likewise.
  2202. * java/util/Hashtable.java: Likewise.
  2203. * java/util/TreeMap.java: Likewise.
  2204. 2007-04-06 Andrew John Hughes <gnu_andrew@member.fsf.org>
  2205. * gnu/javax/management/Translator.java:
  2206. (getTypeName(type)): Move type name creation to its own method.
  2207. * javax/management/ObjectName.java:
  2208. (WILDCARD): Added.
  2209. 2007-04-04 Andrew Haley <aph@redhat.com>
  2210. * javax/management/ObjectName.java:
  2211. (serialVersionUID): Declare.
  2212. Make all fields transient.
  2213. (parse): Break out from constructor.
  2214. (writeObject, readObject): New methods.
  2215. 2007-04-05 Francis Kung <fkung@redhat.com>
  2216. * include/Makefile.am: Remove old entry.
  2217. 2007-04-05 Francis Kung <fkung@redhat.com>
  2218. * gnu/java/awt/peer/gtk/GtkToolkit.java
  2219. (createDragGestureRecognizer): Remove failing subClass call.
  2220. 2007-04-05 Gary Benson <gbenson@redhat.com>
  2221. * java/util/GregorianCalendar.java
  2222. (computeFields): Fix WEEK_OF_MONTH calculation.
  2223. 2007-04-05 Christian Thalinger <twisti@complang.tuwien.ac.at>
  2224. PR classpath/22800:
  2225. * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits)
  2226. (doubleToRawLongBits, longBitsToDouble): Swap the byte
  2227. ordering for little-endian arms without VFP.
  2228. 2007-04-05 Christian Thalinger <twisti@complang.tuwien.ac.at>
  2229. * native/jni/java-net/java_net_VMNetworkInterface.c
  2230. [HAVE_IFADDRS_H && HAVE_GETIFADDRS] (free_netif_list): Added
  2231. #ifdef.
  2232. (getVMInterfaces): Added UNUSED argument attribute.
  2233. 2007-04-05 Christian Thalinger <twisti@complang.tuwien.ac.at>
  2234. * native/jni/java-nio/gnu_java_nio_charset_iconv_IconvDecoder.c,
  2235. native/jni/java-nio/gnu_java_nio_charset_iconv_IconvEncoder.c
  2236. [HAVE_ICONV] (createRawData, getData, infid, outfid): Added
  2237. #ifdef.
  2238. (openIconv): Added UNUSED argument attribute, so we can build with
  2239. -Werror.
  2240. (decode): Likewise.
  2241. (closeIconv): Likewise.
  2242. 2007-04-05 Mark Wielaard <mark@klomp.org>
  2243. * autogen.sh: Recognize automake 1.10.
  2244. * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-portability.
  2245. * native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add AM_LDFLAGS.
  2246. * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LDFLAGS): Likewise.
  2247. * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LDFLAGS): Likewise.
  2248. * native/jni/midi-alsa/Makefile.am (libgjsmalsa_la_LDFLAGS): Likewise.
  2249. * native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_LDFLAGS): Likewise.
  2250. * native/jni/qt-peer/Makefile.am (libqtpeer_la_LDFLAGS): Likewise.
  2251. 2007-04-04 Mark Wielaard <mark@klomp.org>
  2252. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
  2253. (cp_gtk_image_get_pixbuf): Return NULL when pointer is NULL.
  2254. * gnu/java/awt/peer/gtk/GtkImage.java (setImage): Set loaded and
  2255. call deliver() after pixels have been set.
  2256. * gnu/java/awt/peer/gtk/GtkFramePeer.java (setIconImage): Only
  2257. set icon when image has been properly loaded.
  2258. 2007-04-04 Francis Kung <fkung@redhat.com>
  2259. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  2260. (drawCairoSurface): Made protected.
  2261. * gnu/java/awt/peer/gtk/ComponentGraphics.java
  2262. (cairoDrawGlyphVector): Removed method.
  2263. (cairoSetFont): Removed method.
  2264. (disposeNative): Removed method.
  2265. (drawCairoSurface): New method.
  2266. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
  2267. (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Added
  2268. locking.
  2269. (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetFont): Added locking.
  2270. (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Added locking.
  2271. 2007-04-04 Gary Benson <gbenson@redhat.com>
  2272. * java/util/GregorianCalendar.java
  2273. (GregorianCalendar(TimeZone, Locale)): Remove redundant complete().
  2274. 2007-04-04 Roman Kennke <roman@kennke.org>
  2275. * java/nio/channels/spi/SelectorProvider.java
  2276. (inheritedChannel): Make method concrete and move default impl
  2277. to here. Perform security checks as mandated by the spec.
  2278. * gnu/java/nio/SelectorProviderImpl.java
  2279. (inheritedChannel): Removed. Default impl is in SelectorProvider.
  2280. 2007-04-04 Roman Kennke <roman@kennke.org>
  2281. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
  2282. (init_glib_threads): Create global reference on lock object.
  2283. 2007-04-04 Roman Kennke <roman@kennke.org>
  2284. * java/awt/Frame.java
  2285. (weakFrames): Make private.
  2286. (weakFramesQueue): New field. A reference queue to collect
  2287. GCed references.
  2288. (getFrames): Only do one iterations to avoid collecting null
  2289. references.
  2290. (hasDisplayableFrames): New helper method. Checks if there
  2291. are any displayable frames. This is used by the event queue
  2292. shutdown check.
  2293. (noteFrame): Clean up GCed frames in the list.
  2294. * java/awt/EventQueue.java
  2295. (isShutdown): Move frame checking code into Frame.
  2296. 2007-04-03 Roman Kennke <roman@kennke.org>
  2297. * java/lang/System.java
  2298. (inheritedChannel): New method, wraps
  2299. SelectorProvider.inheritedChannel().
  2300. * java/nio/channels/spi/SelectorProvider.java
  2301. (inheritedChannel): New abstract method.
  2302. * gnu/java/nio/SelectorProviderImpl.java
  2303. (inheritedChannel): New method, return null as default.
  2304. 2007-04-03 Roman Kennke <roman@kennke.org>
  2305. * java/nio/ByteOrder.java
  2306. (nativeByteOrder): Let this fail when the corresponding
  2307. property is not set properly.
  2308. 2007-04-03 Roman Kennke <roman@kennke.org>
  2309. * javax/swing/plaf/basic/BasicTreeUI.java
  2310. (getPathBounds): Consider the tree's insets. Added a bunch of
  2311. null checks.
  2312. 2007-04-03 Roman Kennke <roman@kennke.org>
  2313. * javax/swing/plaf/basic/BasicLabelUI.java
  2314. (cachedInsets): New field. Used for reusing the insets instance.
  2315. (getFontMetrics): New helper method for fetching a suitable
  2316. FontMetrics object.
  2317. (getPreferredSize): Use new helper method for font metrics.
  2318. (paint): Only do something if we have an icon or text.
  2319. Use cached Insets instance and new font metrics helper.
  2320. (paintDisabledText): Don't restore the graphics' color.
  2321. (paintEnabledText): Don't restore the graphics' color.
  2322. 2007-04-03 Roman Kennke <roman@kennke.org>
  2323. * javax/swing/plaf/metal/MetalButtonUI.java
  2324. (paintButtonPressed): Fill the whole button not only visibleRect.
  2325. * javax/swing/plaf/metal/MetalLookAndFeel.java
  2326. (LAF_defaults): Removed.
  2327. (getDefaults): Always fetch super's defaults.
  2328. * javax/swing/plaf/metal/MetalMenuBarUI.java
  2329. (update): Don't leave 2 pixel gap.
  2330. 2007-04-03 Roman Kennke <roman@kennke.org>
  2331. * native/target/.cvsignore,
  2332. * native/target/Linux/.cvsignore,
  2333. * native/target/generic/.cvsignore: Some new ignores.
  2334. 2007-04-03 Roman Kennke <roman@kennke.org>
  2335. * gnu/java/awt/peer/gtk/GThreadMutex.java,
  2336. * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
  2337. * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
  2338. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
  2339. * native/jni/gtk-peer/gthread-jni.c,
  2340. * native/jni/gtk-peer/gthread-jni.h: Removed.
  2341. * native/jni/gtk-peer/Makefile.am: Removed obsolete entries
  2342. for removed files.
  2343. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
  2344. Removed unused bits from gthread-jni.c.
  2345. 2007-04-03 Francis Kung <fkung@redhat.com>
  2346. * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
  2347. (getGlyphs(int[], int[], long[])): Return void.
  2348. 2007-04-03 Kyle Galloway <kgallowa@redhat.com>
  2349. * gnu/classpath/jdwp/value/ArrayValue.java: New file.
  2350. 2007-04-03 Roman Kennke <roman@kennke.org>
  2351. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
  2352. (global_lock): New global variable that holds the object reference
  2353. to the global GTK lock.
  2354. (init_glib_threads): Add lock argument. Use
  2355. gdk_threads_set_lock_functions to replace GTK's locking function
  2356. with two callbacks that allow reentrant locking, based on
  2357. JNI's MonitorEnter() and MonitorExit().
  2358. (jni_lock_cb): New callback function for GTK locking.
  2359. (jni_unlock_cb): New callback function for GTK unlocking.
  2360. (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Add lock argument.
  2361. Call init_glib_threads() with lock object.
  2362. * include/gnu_java_awt_peer_gtk_GtkToolkit.h
  2363. Regenerated.
  2364. * gnu/java/awt/peer/gtk/GtkToolkit.java
  2365. (GTK_LOCK): New static field. This is used as the global lock for
  2366. GTK.
  2367. (gtkInit): Add lock parameter.
  2368. (static_init): Initialize global lock and call gtkInit() with
  2369. that lock.
  2370. 2007-04-02 Francis Kung <fkung@redhat.com>
  2371. * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
  2372. (fontSet): Initialize to null.
  2373. (FreetypeGlyphVector(Font, int[], FontRenderContext)): Populate fontSet
  2374. array with default font if needed.
  2375. (FreetypeGlyphVector(FreetypeGlyphVector)): Clone all fields.
  2376. (getNativeFontPointer): New native method.
  2377. * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h: Regenerated.
  2378. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
  2379. (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getNativeFontPointer):
  2380. New function.
  2381. 2007-04-02 Francis Kung <fkung@redhat.com>
  2382. * INSTALL: Document known bug in at-spi, atk, and gail packages prior to
  2383. version 1.18.0.
  2384. 2007-04-02 Francis Kung <fkung@redhat.com>
  2385. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  2386. (cairoDrawGlyphVector): Added parameter.
  2387. (drawGlyphVector): Retrieve and pass fontset parameter.
  2388. * gnu/java/awt/peer/gtk/ComponentGraphics.java
  2389. (cairoDrawGlyphVector): Added parameter.
  2390. (lock): Removed unnecessary cast.
  2391. (unlock): Removed unnecessary cast and explicitly set to ONE variable.
  2392. * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
  2393. (fontSet): New field.
  2394. (dispose): New native method.
  2395. (finalize): New method.
  2396. (getGlyphFonts): New method.
  2397. (getGlyphOutline): Pass fontSet parameter to native method.
  2398. (getGlyphOutlineNative): Added parameter.
  2399. (getGlyphs): Pass extra parameters to native method.
  2400. (getGlyphsNative): Added parameters.
  2401. (getKerning): Added fontSet parameter.
  2402. (getMetricsNative): Added fontSet parameter.
  2403. (performDefaultLayout): Only check kerning if glyphs use the same font.
  2404. (setupGlyphMetrics): Pass extra parameters to native methods.
  2405. * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
  2406. * include/gnu_java_awt_peer_gtk_FreetypGlyphVector.h: Regenerated.
  2407. * native/jni/gtk-peer/gdkfont.h: Enable pango engine.
  2408. (peerfont): Add variable for fontset.
  2409. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
  2410. (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Accept
  2411. array of font pointers to use when drawing glyphs.
  2412. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
  2413. (getFontSet): New function.
  2414. (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_dispose): New function.
  2415. (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphOutlineNative):
  2416. Added and use new fontSet parameter.
  2417. (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs): Use pango
  2418. to retrieve glyphs and estimate font, if the current font does not contain
  2419. a requested glyph.
  2420. (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getKerning): Added and use
  2421. new fontSet parameter.
  2422. (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getMetricsNative): Added
  2423. and use new fontSet parameter.
  2424. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
  2425. (Java_gnu_java_awt_peer_gtk_GdkFontPeer_dispose): Free fontset.
  2426. (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Load fontset.
  2427. 2007-04-02 Andrew Haley <aph@redhat.com>
  2428. * javax/management/ObjectName.java: Handle 0-length names.
  2429. * javax/management/MBeanServerFactory.java: Use the domain that
  2430. we've been passed, not the fixed string "DefaultDomain".
  2431. 2007-04-01 Mark Wielaard <mark@klomp.org>
  2432. * org/omg/CORBA/DynAny.java: Mark as deprecated.
  2433. * org/omg/CORBA/DynArray.java: Likewise.
  2434. * org/omg/CORBA/DynEnum.java: Likewise.
  2435. * org/omg/CORBA/DynFixed.java: Likewise.
  2436. * org/omg/CORBA/DynSequence.java: Likewise.
  2437. * org/omg/CORBA/DynStruct.java: Likewise.
  2438. * org/omg/CORBA/DynUnion.java: Likewise.
  2439. * org/omg/CORBA/DynValue.java: Likewise.
  2440. * org/omg/CORBA/ORB.java (create_basic_dyn_any): Likewise.
  2441. (create_dyn_any): Likewise.
  2442. (create_dyn_array): likewise.
  2443. (create_dyn_enum): Likewise.
  2444. (create_dyn_sequence): Likewise.
  2445. (create_dyn_struct): Likewise.
  2446. (create_dyn_union): Likewise.
  2447. 2007-04-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
  2448. * gnu/javax/management/Translator.java:
  2449. (fromJava(Object[],Method)): Use the array from the
  2450. parameter not the newly created one...
  2451. (fromJava(Object, Type)): Support MXBeans.
  2452. * javax/management/JMX.java:
  2453. (newMXBeanProxy(MBeanServerConnection,ObjectName,Class)):
  2454. Call newMXBeanProxy rather than newMBeanProxy.
  2455. * javax/management/StandardMBean.java:
  2456. (setAttribute(Attribute)): Use InvocationTargetException
  2457. as cause.
  2458. 2007-03-31 Jeroen Frijters <jeroen@frijters.net>
  2459. PR classpath/31402:
  2460. * java/util/concurrent/CopyOnWriteArrayList.java
  2461. (remove): Fixed ArrayIndexOutOfBoundsException when index == 0.
  2462. 2007-03-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
  2463. * javax/management/openmbean/CompositeDataInvocationHandler.java:
  2464. New file.
  2465. 2007-03-30 Kyle Galloway <kgallowa@redhat.com>
  2466. * gnu/classpath/jdwp/util/VariableTable.java: Make argCnt and slots ints.
  2467. (write): Replace writeLong with writeInt for above.
  2468. 2007-03-30 Tom Tromey <tromey@redhat.com>
  2469. PR libgcj/29869:
  2470. * gnu/java/util/jar/JarUtils.java (log): Commented out.
  2471. (readSFManifest): Don't log.
  2472. 2007-03-29 Tom Tromey <tromey@redhat.com>
  2473. PR libgcj/29869:
  2474. * java/util/logging/LogManager.java (readConfiguration): Handle
  2475. comma-separated 'handlers'. Don't try to add a non-existing
  2476. handler.
  2477. 2007-03-29 Keith Seitz <keiths@redhat.com>
  2478. * gnu/classpath/jdwp/event/ThreadStartEvent.java (Event):
  2479. Event type is "THREAD_START" not "THERAD_END".
  2480. * gnu/classpath/jdwp/transport/SocketTransport.java (ITransport):
  2481. Handle configure strings ":port" and "port".
  2482. 2007-03-29 Francis Kung <fkung@redhat.com>
  2483. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
  2484. (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Revert last patch.
  2485. 2007-03-29 Mark Wielaard <mark@klomp.org>
  2486. * native/jni/java-nio/Makefile.am (LIBADD): Add libclasspathnative.
  2487. 2007-03-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
  2488. * javax/management/StandardMBean.java:
  2489. (setAttribute(Attribute)): Add handling of primitive
  2490. types and subtype parameters.
  2491. (getMutator(String,Class<?>)): New helper method to
  2492. return the mutator.
  2493. 2007-03-28 Roman Kennke <roman@kennke.org>
  2494. * java/io/OutputStreamWriter.java,
  2495. * java/io/InputStreamReader.java: Revert big stream patch due to
  2496. problems.
  2497. 2007-03-28 Tom Tromey <tromey@redhat.com>
  2498. PR classpath/31303:
  2499. * external/sax/org/xml/sax/helpers/XMLReaderFactory.java
  2500. (createXMLReader): Code in Classpath default.
  2501. 2007-03-28 Tom Tromey <tromey@redhat.com>
  2502. PR classpath/31276:
  2503. * native/jni/java-lang/java_lang_VMDouble.c
  2504. (parseDoubleFromChars): Use %p, not %i.
  2505. 2007-03-28 Mark Wielaard <mark@klomp.org>
  2506. * native/jni/java-nio/Makefile.am (LIBADD): Don't add
  2507. libclasspathnative.
  2508. * native/jni/java-nio/gnu_java_nio_VMChannel.c
  2509. (Java_gnu_java_nio_VMChannel_open): Don't set and reset umask.
  2510. 2007-03-27 Francis Kung <fkung@redhat.com>
  2511. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
  2512. (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Prevent loading of
  2513. accessibility modules as temporary workaround for Gnome bug.
  2514. 2007-03-27 Kyle Galloway <kgallowa@redhat.com>
  2515. * gnu/classpth/jdwp/processor/ThreadReferenceCommandSet.java
  2516. (executeResume): Change to call VMVirtualMachine.resumeThread.
  2517. 2007-03-27 Roman Kennke <roman@kennke.org>
  2518. * java/io/InputStreamReader.java
  2519. (BUFFER_SIZE): New constant.
  2520. (bytesCache): Removed.
  2521. (cacheLock): Removed.
  2522. (hasSavedSurrogate): Removed.
  2523. (lastArray): New field. Used for caching CharBuffers.
  2524. (lastBuffer): New field. Used for caching CharBuffers.
  2525. (maxBytesPerChar): Removed.
  2526. (oneChar): New field. Caches a char array for read().
  2527. (savedSurrogate): New field.
  2528. (InputStreamReader): (all constructors) Cleaned up.
  2529. Use initDecoderAndBuffer() method. Check for null parameters.
  2530. Use new EncodingHelper.getDefaultCharset() for fetching the
  2531. default charset.
  2532. (decode): New helper method. Decodes using the NIO decoder or
  2533. using a raw Latin1 decoding.
  2534. (getCharBuffer): New helper method. Implements caching of
  2535. CharBuffers for output arrays.
  2536. (initDecoderAndBuffer): New helper method. Initializes the decoder
  2537. and input buffer.
  2538. (read): Use cached array.
  2539. (read(char[],int,int)): Reworked using a cleaner NIO based
  2540. implementation. This decodes the incoming data in bigger chunks
  2541. rather then calling the decoder for each character.
  2542. (ready): Also check the input buffer.
  2543. (refillInputBuffer): New helper methods. Refills the input buffer
  2544. when it runs out of data.
  2545. * java/io/OutputStreamWriter.java
  2546. (lastArray): Implements caching of the output array buffer.
  2547. (lastBuffer): Implements caching of the output array buffer.
  2548. (oneChar): New field. Caches a char array for write().
  2549. (outputBuffer): Make this a ByteBuffer.
  2550. (OutputStreamWriter): (all constructors) Cleaned up.
  2551. Use initEncoderAndBuffer() method. Check for null parameters.
  2552. Use new EncodingHelper.getDefaultCharset() for fetching the
  2553. default charset.
  2554. (encode): New helper method. Encodes the input buffer to the output
  2555. buffer using either the NIO encoder or a raw Latin1 encoding.
  2556. (encodeChars): New helper method. The encoding loop.
  2557. (flush): Directly use the array of the output buffer.
  2558. (getCharBuffer): New helper method. Implements caching of the
  2559. output buffer.
  2560. (initEncoderAndBuffer): New helper method for initialization.
  2561. (write(char[],int,int)): Reworked to make better use of the NIO
  2562. encoders.
  2563. (write): Use cached array.
  2564. (write(String,int,int)): Don't copy the string but rather wrap it
  2565. and handle it the same as the wrapped char array.
  2566. (writeConvert): Removed.
  2567. * gnu/java/nio/charset/EncodingHelper.java
  2568. (getDefaultCharset): New method. Returns the default charset for
  2569. the case when the file.encoding charset is not valid. This
  2570. always returns an UTF8 codec.
  2571. 2007-03-27 Roman Kennke <kennke@aicas.com>
  2572. * java/awt/Frame.java
  2573. (weakFrames): Make this generic and package private.
  2574. (noteFrame): Use generic WeakReference.
  2575. * java/awt/EventQueue.java
  2576. (isShutdown): Iterate over the weakFrames directly, rather than
  2577. using Frame.getFrames(). The latter iterates several times over
  2578. weakFrames completely and creates a new array on each call. The
  2579. former iterates only once and aborts when it finds a frame which
  2580. is displayable.
  2581. 2007-03-27 Roman Kennke <kennke@aicas.com>
  2582. * javax/swing/JScrollBar.java
  2583. (getUnitIncrement(int)): Don't multiply direction parameter.
  2584. (getBlockIncrement(int)): Don't multiply direction parameter.
  2585. 2007-03-26 Tom Tromey <tromey@redhat.com>
  2586. * doc/cp-tools.texinfo (gcjh Tool): Added more text.
  2587. (rmid Tool): Likewise.
  2588. 2007-03-26 Stepan Kasal <skasal@redhat.com>
  2589. * tools/gnu/classpath/tools/javah/Main.java (cniOrJniSeen): New
  2590. field.
  2591. (getParser): Use new field.
  2592. 2007-03-25 Dalibor Topic <robilad@kaffe.org>
  2593. * doc/cp-tools.texinfo: Fix node ordering.
  2594. 2007-03-19 Matthias Klose <doko@ubuntu.com>
  2595. * doc/Makefile.am: Build a gcjh(1) man page.
  2596. * doc/cp-tools.texinfo: Add documentation for gcjh.
  2597. 2007-03-23 Jeroen Frijters <jeroen@frijters.net>
  2598. * java/net/ServerSocket.java (implAccept): set implCreated flag on
  2599. socket.
  2600. * java/net/Socket.java (implCreated): Make package accessible for
  2601. ServerSocket.
  2602. 2007-03-22 Casey Marshall <csm@gnu.org>
  2603. * gnu/javax/net/ssl/provider/ClientHandshake.java (RSAGen.implRun):
  2604. check keyEncipherment bit of the certificate, and just pass the public
  2605. key to the cipher.
  2606. 2007-03-20 Mario Torre <neugens@limasoftware.net>
  2607. * configure.ac: GConf requirement for building the java.util.prefs backend
  2608. are relaxed down to version 2.6.0 (instead of 2.11.2).
  2609. 2007-03-19 Mario Torre <neugens@limasoftware.net>
  2610. * gnu/java/awt/peer/KDEDesktopPeer.java:
  2611. (mail): Fixed error dialog in KDE when the mail method is called without
  2612. argument; now opens the default mailer with a blank window.
  2613. (getCommand): Handle the use of kprinter as default print command for KDE.
  2614. (supportCommand): Enable the print command when a KDE desktop is detected.
  2615. 2007-03-19 Jeroen Frijters <jeroen@frijters.net>
  2616. * java/net/Socket.java
  2617. (implCreated): New field.
  2618. (getImpl): Call impl.create() if it hasn't been called yet.
  2619. (bind): Removed explicit impl.create() call.
  2620. 2007-03-18 Mark Wielaard <mark@klomp.org>
  2621. * javax/crypto/CipherOutputStream.java (write): Use out.write()
  2622. not super.write().
  2623. 2007-03-18 Mark Wielaard <mark@klomp.org>
  2624. * configure.ac (COMPILE_PLUGIN): Check for gtk+-2.0 >= 2.8
  2625. gthread-2.0 >= 2.2 and gdk-pixbuf-2.0
  2626. 2007-03-16 Tom Tromey <tromey@redhat.com>
  2627. * tools/gnu/classpath/tools/javah/Main.java (run): Use class'
  2628. name in File case.
  2629. 2007-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
  2630. * resource/com/sun/tools/javac/messages.properties
  2631. (Main.FailedToRead, Main.MalformedURL, Main.FailedToLoad): Clarify
  2632. messages for when --with-ecj-jar is not specified.
  2633. * configure.ac (FOUND_ECJ_JAR): Remove conditional.
  2634. * tools/Makefile.am: Build com.sun.tools.javac package
  2635. unconditionally.
  2636. 2007-03-16 Mark Wielaard <mark@klomp.org>
  2637. * configure.ac (COMPILE_PLUGIN): Stop when no plugin headers found.
  2638. Also check for gtk+ dependency.
  2639. 2007-03-16 Tom Tromey <tromey@redhat.com>
  2640. * tools/gnu/classpath/tools/javah/JniStubPrinter.java
  2641. (printClass): Added filename argument.
  2642. * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
  2643. (printClass): Added filename argument.
  2644. * tools/gnu/classpath/tools/javah/CniIncludePrinter.java
  2645. (printClass): Use user's file name.
  2646. * tools/gnu/classpath/tools/javah/CniStubPrinter.java
  2647. (printClass): Use user's file name.
  2648. * tools/gnu/classpath/tools/javah/Printer.java (printClass): Added
  2649. filename argument.
  2650. * tools/gnu/classpath/tools/javah/Main.java (getParser): Fix '-v'
  2651. argument order.
  2652. (writeHeaders): Use a HashMap.
  2653. (run): Put class name into HashMap for writeHeaders.
  2654. 2007-03-16 Francis Kung <fkung@redhat.com>
  2655. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  2656. (cairoArc): Make protected rather than private so it can be over-ridden.
  2657. (cairoClip): Likewise.
  2658. (cairoClosePath): Likewise.
  2659. (cairoCurveTo): Likewise.
  2660. (cairoDrawGlyphVector): Likewise.
  2661. (cairoFill): Likewise.
  2662. (cairoLineTo): Likewise.
  2663. (cairoMoveTo): Likewise.
  2664. (cairoNewPath): Likewise.
  2665. (cairoRectangle): Likewise.
  2666. (cairoResetClip): Likewise.
  2667. (cairoRestore): Likewise.
  2668. (cairoSave): Likewise.
  2669. (cairoScale): Likewise.
  2670. (cairoSetAntialias): Likewise.
  2671. (cairoSetDash): Likewise.
  2672. (cairoSetFillRule): Likewise.
  2673. (cairoSetFont): Likewise.
  2674. (cairoSetLine): Likewise.
  2675. (cairoSetMatrix): Likewise.
  2676. (cairoSetOperator): Likewise.
  2677. (cairoSetRGBAColor): Likewise.
  2678. (cairoStroke): Likewise.
  2679. (drawPixels): Likewise.
  2680. (init): Likewise.
  2681. (setGradient): Likewise.
  2682. (setPaintPixels): Likewise.
  2683. (cairoDrawLine): Removed.
  2684. (cairoDrawRect): Removed.
  2685. (cairoFillRect): Removed.
  2686. (cairoPreserveClip): Removed.
  2687. (cairoRelCurveTo): Removed.
  2688. (cairoRelLineTo): Removed.
  2689. (cairoRelMoveTo): Removed.
  2690. * gnu/java/awt/peer/gtk/ComponentGraphics.java
  2691. (cairoArc): New method wrapping superclass method in locks.
  2692. (cairoClip): Likewise.
  2693. (cairoClosePath): Likewise.
  2694. (cairoCurveTo): Likewise.
  2695. (cairoDrawGlyphVector): Likewise.
  2696. (cairoFill): Likewise.
  2697. (cairoLineTo): Likewise.
  2698. (cairoMoveTo): Likewise.
  2699. (cairoNewPath): Likewise.
  2700. (cairoRectangle): Likewise.
  2701. (cairoResetClip): Likewise.
  2702. (cairoRestore): Likewise.
  2703. (cairoSave): Likewise.
  2704. (cairoScale): Likewise.
  2705. (cairoSetAntialias): Likewise.
  2706. (cairoSetDash): Likewise.
  2707. (cairoSetFillRule): Likewise.
  2708. (cairoSetFont): Likewise.
  2709. (cairoSetLine): Likewise.
  2710. (cairoSetMatrix): Likewise.
  2711. (cairoSetOperator): Likewise.
  2712. (cairoSetRGBAColor): Likewise.
  2713. (cairoStroke): Likewise.
  2714. (disposeNative): Likewise.
  2715. (drawPixels): Likewise.
  2716. (init): Likewise.
  2717. (setGradient): Likewise.
  2718. (setPaintPixels): Likewise.
  2719. (draw): Do not lock, as locking is now done in the wrapped native methods.
  2720. (drawComposite): Likewise.
  2721. (drawGlyphVector): Likewise.
  2722. (drawImage): Likewise.
  2723. (drawRenderedImage): Likewise.
  2724. (fill): Likewise.
  2725. (setClip): Removed.
  2726. (lock): Added documentation.
  2727. (unlock): Added documentation.
  2728. * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
  2729. * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
  2730. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
  2731. (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawLine): Removed.
  2732. (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawRect): Removed.
  2733. (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoFillRect): Removed.
  2734. (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoPreserveClip): Removed.
  2735. (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelCurveTo): Removed.
  2736. (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelLineTo): Removed.
  2737. (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelMoveTo): Removed.
  2738. 2007-03-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
  2739. * javax/management/openmbean/ArrayType.java:
  2740. (getArrayClassName(String, int)): Replaced by...
  2741. (getArrayClassName(OpenType, int, boolean)):
  2742. Returns appropriate class name for the array.
  2743. (getDimensions(OpenType, int)): New method.
  2744. (getPrimitiveType(Class<?>)): Likewise.
  2745. (getPrimitiveTypeClass(OpenType<?>)): Likewise.
  2746. (getElementType(OpenType<?>)): Likewise.
  2747. (getElementTypeName(OpenType<?>)): Likewise.
  2748. (ArrayType(int, OpenType<?>)): Rewritten
  2749. to handle ArrayTypes as input.
  2750. (ArrayType(SimpleType<?>, boolean)): New constructor.
  2751. (equals(Object)): Handle primitiveArray flag.
  2752. (hashCode()): Likewise.
  2753. (getArrayType(OpenType<E>)): New method.
  2754. (getPrimitiveArrayType(Class<T>)): Likewise.
  2755. (isPrimitiveArray()): Likewise.
  2756. (toString()): Updated to list primitiveArray
  2757. flag.
  2758. * javax/management/openmbean/OpenType.java:
  2759. (OpenType(String,String,String)): Use Class.forName()
  2760. and methods of Class to validate arrays.
  2761. * javax/management/openmbean/SimpleType.java:
  2762. Include causal exception when creating pre-defined types
  2763. throws an exception.
  2764. 2007-03-09 Andreas Tobler <a.tobler@schweiz.org>
  2765. Port change from gcc:
  2766. 2007-03-06 Matthias Klose <doko@ubuntu.com>
  2767. * doc/Makefile.am(gkeytool.pod): Don't use sed -i.
  2768. 2007-03-09 Kyle Galloway <kgallowa@redhat.com>
  2769. * gnu/classpath/jdwp/exception/InvalidTagException.java: New file.
  2770. * gnu/classpath/jdwp/processor/ArrayReferenceCommandSet.java
  2771. (executeGetValues): Use Value type.
  2772. (exectureSetValues): Ditto.
  2773. * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
  2774. (executeGetValues): Use Value type.
  2775. (executeSetValues): Ditto.
  2776. (invokeMethod): Record method return type.
  2777. * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
  2778. (executeGetValues): Use Value type.
  2779. (executeSetValues): Ditto.
  2780. * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
  2781. (executeGetValues): Use Value type.
  2782. * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
  2783. (executeGetValues): Use Value type.
  2784. (executeSetValues): Ditto.
  2785. * gnu/classpath/jdwp/util/MethodResult.java: Add resType to store return
  2786. type.
  2787. (getResultType): New Method.
  2788. (setResultType): Ditto.
  2789. * gnu/classpath/jdwp/util/Value.java: Remove.
  2790. * gnu/classpath/jdwp/value: New Package.
  2791. * gnu/classpath/jdwp/value/Value.java: New file.
  2792. * gnu/classpath/jdwp/value/BooleanValue.java: New file.
  2793. * gnu/classpath/jdwp/value/ByteValue.java: New file.
  2794. * gnu/classpath/jdwp/value/CharValue.java: New file.
  2795. * gnu/classpath/jdwp/value/DoubleValue.java: New file.
  2796. * gnu/classpath/jdwp/value/FloatValue.java: New file.
  2797. * gnu/classpath/jdwp/value/IntValue.java: New file.
  2798. * gnu/classpath/jdwp/value/LongValue.java: New file.
  2799. * gnu/classpath/jdwp/value/ObjectValue.java: New file.
  2800. * gnu/classpath/jdwp/value/ShortValue.java: New file.
  2801. * gnu/classpath/jdwp/value/StringValue.java: New file.
  2802. * gnu/classpath/jdwp/value/ValueFactory.java: New file.
  2803. * gnu/classpath/jdwp/value/VoidValue.java: New file.
  2804. 2007-03-09 Roman Kennke <kennke@aicas.com>
  2805. * java/awt/image/SinglePixelPackageSampleModel.java
  2806. (createDataBuffer): Avoid use of Buffers class and create
  2807. DataBuffer directly in place.
  2808. 2007-03-09 Roman Kennke <kennke@aicas.com>
  2809. * java/awt/image/ComponentSampleModel.java
  2810. (tightPixelPacking): Removed.
  2811. (ComponentSampleModel): Removed unnecessary 'optimization' code.
  2812. (createDataBuffer): Avoid use of Buffers helper class.
  2813. (getDataElements(int,int,int,int,Object,DataBuffer): Removed.
  2814. (getDataElements(int,int,Object,DataBuffer): Do not use Buffers
  2815. helper class and instead fetch the values directly. Don't expect
  2816. any specific DataBuffer subclass.
  2817. (setDataElements(int,int,int,int,Object,DataBuffer): Removed.
  2818. (setDataElements(int,int,Object,DataBuffer): Do not use Buffers
  2819. helper class and instead set the values directly. Don't expect
  2820. any specific DataBuffer subclass.
  2821. 2007-03-08 Tom Tromey <tromey@redhat.com>
  2822. PR libgcj/31093:
  2823. * java/net/MulticastSocket.java (setTimeToLive): Allow ttl==0.
  2824. 2007-03-08 Gary Benson <gbenson@redhat.com>
  2825. PR classpath/30983:
  2826. * gnu/xml/dom/ls/DomLSParser.java (getInputSource):
  2827. Do not use the entity resolver to resolve the top-level document.
  2828. 2007-03-07 Tom Tromey <tromey@redhat.com>
  2829. PR classpath/31057:
  2830. * java/util/regex/Pattern.java (toString): New method.
  2831. 2007-03-07 Gary Benson <gbenson@redhat.com>
  2832. PR classpath/30906:
  2833. * resource/META-INF/services/org.w3c.dom.DOMImplementationSourceList:
  2834. New file.
  2835. 2007-03-06 Andrew John Hughes <gnu_andrew@member.fsf.org>
  2836. * gnu/java/lang/management/BeanImpl.java:
  2837. (translate(String)): Add horrible generics hacks
  2838. to make things work with the new type signatures.
  2839. * javax/management/loading/ClassLoaderRepository.java:
  2840. Added generic types.
  2841. * javax/management/openmbean/CompositeDataSupport.java:
  2842. Likewise.
  2843. * javax/management/openmbean/OpenMBeanOperationInfo.java:
  2844. Likewise.
  2845. * javax/management/openmbean/OpenMBeanParameterInfo.java:
  2846. Likewise.
  2847. 2007-03-06 Francis Kung <fkung@redhat.com>
  2848. * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
  2849. (getGlyphOutline): Apply glyph position translation.
  2850. (getOutline): Do not apply glyph position translation.
  2851. 2007-03-06 Tom Tromey <tromey@redhat.com>
  2852. * tools/gnu/classpath/tools/javah/Main.java (getName): New
  2853. method.
  2854. (getParser): Now protected. Use getName. Add '-v' alias for
  2855. --verbose.
  2856. (postParse): New method.
  2857. (run): Now protected. Use postParse.
  2858. * tools/gnu/classpath/tools/javah/GcjhMain.java: New file.
  2859. 2007-03-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
  2860. * gnu/javax/management/Translator.java:
  2861. (translate(String)): Use a Boolean array to
  2862. comply with the new typing.
  2863. * javax/management/openmbean/ArrayType.java:
  2864. Added generic types and updated copyright headers.
  2865. * javax/management/openmbean/CompositeData.java:
  2866. Likewise.
  2867. * javax/management/openmbean/CompositeDataSupport.java:
  2868. Likewise.
  2869. * javax/management/openmbean/CompositeType.java:
  2870. Likewise.
  2871. * javax/management/openmbean/OpenMBeanAttributeInfoSupport.java:
  2872. Likewise.
  2873. * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
  2874. Likewise.
  2875. * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
  2876. Likewise.
  2877. * javax/management/openmbean/OpenType.java:
  2878. Updated copyright header.
  2879. * javax/management/openmbean/SimpleType.java:
  2880. Added generic types and updated copyright headers.
  2881. * javax/management/openmbean/TabularData.java:
  2882. Likewise.
  2883. * javax/management/openmbean/TabularDataSupport.java:
  2884. Likewise.
  2885. * javax/management/openmbean/TabularType.java:
  2886. Likewise.
  2887. 2007-03-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
  2888. * gnu/java/lang/management/BeanImpl.java:
  2889. Reference the new Translator class.
  2890. (translate(String)): Moved to Translator.
  2891. * gnu/javax/management/Translator.java:
  2892. New file.
  2893. * javax/management/JMX.java:
  2894. Likewise.
  2895. * javax/management/MBeanServerInvocationHandler.java:
  2896. Likewise.
  2897. * javax/management/MXBean.java:
  2898. Likewise.
  2899. * javax/management/ObjectName.java:
  2900. (ObjectName(String)): Catch a key without a value.
  2901. * javax/management/StandardMBean.java:
  2902. (StandardMBean(Class<?>)): Handle MXBeans.
  2903. (StandardMBean(Object, Class<?>)): Likewise.
  2904. (invoke(String,Object[],String[])): Disallow
  2905. calling attribute methods and handle null signatures.
  2906. (setAttribute(Attribute)): Search for mutators
  2907. with the appropriate signature.
  2908. * javax/management/openmbean/OpenType.java:
  2909. Add generic typing.
  2910. (ALLOWED_CLASSNAMES_LIST): New field.
  2911. 2007-03-02 Mario Torre <neugens@limasoftware.net>
  2912. PR classpath/31017:
  2913. committed for Petteri Räty <betelgeuse@gentoo.org>
  2914. * configure.ac: fix broken build for gcj browser plugin
  2915. 2007-03-02 Mario Torre <neugens@limasoftware.net>
  2916. * java/awt/Desktop.java: new java 1.6 class.
  2917. * java/awt/peer/DesktopPeer.java: new inteface.
  2918. * gnu/java/awt/peer/GnomeDesktopPeer.java: new class.
  2919. * gnu/java/awt/peer/ClasspathDesktopPeer.java: new class.
  2920. * gnu/java/awt/peer/KDEDesktopPeer.java: new class.
  2921. * java/awt/Toolkit.java (createDesktopPeer): new method to support the
  2922. creation of DesktopPeer instances.
  2923. * gnu/java/awt/peer/qt/QtToolkit.java: update copyright notice and
  2924. organize import.
  2925. * gnu/java/awt/ClasspathToolkit.java (createDesktopPeer): new method.
  2926. 2007-02-28 Keith Seitz <keiths@redhat.com>
  2927. * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
  2928. (executeSet): Check if VM has capability for field access
  2929. or modification events.
  2930. * gnu/classpath/jdwp/processor/MethodCommandSet.java
  2931. (executeByteCodes): Check if VM has capability and
  2932. implement.
  2933. * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
  2934. (executeMonitorInfo): Likewise.
  2935. * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
  2936. (executeSourceDebugExtension): Likewise.
  2937. * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
  2938. (executePopFrames): Likewise.
  2939. * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java
  2940. (executeOwnedMonitors): Likewise.
  2941. (executeCurrentContendedMonitor): Likewise.
  2942. * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
  2943. (executeCapabilities): Rewrite using new VMVirtualMachine
  2944. capabilities.
  2945. (executeRedefineClasses): Check if VM has capability and
  2946. implement.
  2947. (executeSetDefaultStratum): Likewise.
  2948. * gnu/classpath/jdwp/util/MonitorInfo.java; New file.
  2949. * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
  2950. (canWatchFieldModification): New class constant.
  2951. (canWatchFieldAccess): Likewise.
  2952. (canGetBytecodes): Likewise.
  2953. (canGetSyntheticAttribute): Likewise.
  2954. (canGetOwnedMonitorInfo): Likewise.
  2955. (canGetCurrentContendedMonitor): Likewise.
  2956. (canGetMonitorInfo): Likewise.
  2957. (canRedefineClasses): Likewise.
  2958. (canAddMethod): Likewise.
  2959. (canUnrestrictedlyRedefineClasses): Likewise.
  2960. (canPopFrames): Likewise.
  2961. (canUseInstanceFilters): Likewise.
  2962. (canGetSourceDebugExtension): Likewise.
  2963. (canRequestVMDeathEvent): Likewise.
  2964. (canSetDefaultStratum): Likewise.
  2965. (redefineClasses): New method.
  2966. (setDefaultStratum): Likewise.
  2967. (getSourceDebugExtension): Likewise.
  2968. (getBytecodes): Likewise.
  2969. (getMonitorInfo): Likewise.
  2970. (getOwnedMonitors): Likewise.
  2971. (getCurrentContendedMonitor): Likewise.
  2972. (popFrames): Likewise.
  2973. 2007-03-01 Roman Kennke <kennke@aicas.com>
  2974. * java/awt/Canvas.java
  2975. (graphicsConfiguration): Removed duplicate (from Component) field.
  2976. (Canvas(GraphicsConfiguration)): Set the Component's graphicsConfig
  2977. field.
  2978. (getGraphicsConfigurationImpl): Removed.
  2979. * java/awt/Component.java
  2980. (getGraphicsConfiguration): Moved implementation here. Synchronize
  2981. on tree lock to prevent threading nastiness. Don't query peer
  2982. and instead return the setting of the graphicsConfig field.
  2983. (getGraphicsConfigurationImpl): Removed.
  2984. * java/awt/Window.java
  2985. (graphicsConfiguration): Removed duplicate (from Component) field.
  2986. (Window): Set the Component's graphicsConfig field.
  2987. (Window(GraphicsConfiguration)): Set the Component's graphicsConfig
  2988. field.
  2989. (Window(Window,GraphicsConfiguration)): Set the Component's
  2990. graphicsConfig field.
  2991. (getGraphicsConfigurationImpl): Removed.
  2992. (getGraphicsConfiguration): Fetch the local graphics env here
  2993. if not already done and return that.
  2994. 2007-02-28 Thomas Fitzsimmons <fitzsim@redhat.com>
  2995. * INSTALL: Document --with-ecj-jar configure option and ecj jar
  2996. requirement for com.sun.tools.javac support.
  2997. * configure.ac: Add --with-ecj-jar configure option.
  2998. * gnu/classpath/Configuration.java.in (ECJ_JAR): New field.
  2999. * tools/Makefile.am: Build decendents of com and sun directories.
  3000. * resource/com/sun/tools/javac/messages.properties,
  3001. resource/sun/rmi/rmic/messages.properties,
  3002. tools/com/sun/javadoc/ClassDoc.java,
  3003. tools/com/sun/javadoc/ConstructorDoc.java,
  3004. tools/com/sun/javadoc/Doc.java,
  3005. tools/com/sun/javadoc/DocErrorReporter.java,
  3006. tools/com/sun/javadoc/Doclet.java,
  3007. tools/com/sun/javadoc/ExecutableMemberDoc.java,
  3008. tools/com/sun/javadoc/FieldDoc.java,
  3009. tools/com/sun/javadoc/MemberDoc.java,
  3010. tools/com/sun/javadoc/MethodDoc.java,
  3011. tools/com/sun/javadoc/PackageDoc.java,
  3012. tools/com/sun/javadoc/ParamTag.java,
  3013. tools/com/sun/javadoc/Parameter.java,
  3014. tools/com/sun/javadoc/ProgramElementDoc.java,
  3015. tools/com/sun/javadoc/RootDoc.java,
  3016. tools/com/sun/javadoc/SeeTag.java,
  3017. tools/com/sun/javadoc/SerialFieldTag.java,
  3018. tools/com/sun/javadoc/SourcePosition.java,
  3019. tools/com/sun/javadoc/Tag.java,
  3020. tools/com/sun/javadoc/ThrowsTag.java,
  3021. tools/com/sun/javadoc/Type.java,
  3022. tools/com/sun/javadoc/TypeVariable.java,
  3023. tools/com/sun/tools/doclets/Taglet.java,
  3024. tools/com/sun/tools/javac/Main.java,
  3025. tools/com/sun/tools/javac/Messages.java,
  3026. tools/sun/rmi/rmic/Main.java, tools/sun/rmi/rmic/Messages.java:
  3027. New files.
  3028. 2007-02-28 Keith Seitz <keiths@redhat.com>
  3029. * gnu/classpath/jdwp/processor/MethodCommandSet.java
  3030. (executeLineTable): Use ReferenceTypeId instead of
  3031. ClassReferenceTypeId.
  3032. (executeVariableTable): Likewise.
  3033. (executeVariableTableWithGeneric): Fix error message.
  3034. * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
  3035. (executeSignatureWithGeneric): Fix error message.
  3036. (executeFieldWithGeneric): Likewise.
  3037. (executeMethodsWithGeneric): Likewise.
  3038. * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
  3039. (executeGetValues): Use ThreadId instead of ObjectId.
  3040. (executeSetValues): Likewise.
  3041. (executeThisObject): Likewise.
  3042. 2007-02-28 Kyle Galloway <kgallowa@redhat.com>
  3043. * gnu/classpath/jdwp/id/NullObjectId.java: New class.
  3044. * gnu/classpath/jdwp/util/NullObject.java: New class.
  3045. * vm/reference/gnu/classpath/jdwp/VMIdManager.java
  3046. (getObjectId): Handle null object.
  3047. (get): Handle objectId of 0.
  3048. 2007-02-26 Francis Kung <fkung@redhat.com>
  3049. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
  3050. (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Stop using deprecated
  3051. function for creating new font map.
  3052. 2007-02-26 Francis Kung <fkung@redhat.com>
  3053. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  3054. (drawCairoSurface): Do not reset clip.
  3055. (drawImage(Image,AffineTransform,Color,ImageObserver)): Likewise.
  3056. 2007-02-23 Francis Kung <fkung@redhat.com>
  3057. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  3058. (drawCairoSurface): New method.
  3059. (drawImage(Image,AffineTransform,Color,ImageObserver)): Use new
  3060. drawCairoSurface() method.
  3061. * gnu/java/awt/peer/gtk/CairoSurface.java
  3062. (CairoSurface(SampleModel,CairoSurface,Rectangle,Point)): Copy correct
  3063. width/height values, and copy sharedBuffer value.
  3064. (createWritableChild): Remove debug line.
  3065. (drawSurface): Removed method.
  3066. * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
  3067. (drawComposite): Translate image when drawing.
  3068. 2007-02-23 Gary Benson <gbenson@redhat.com>
  3069. Jakub Jelinek <jakub@redhat.com>
  3070. PR libgcj/17002
  3071. PR classpath/28550
  3072. * java/util/Date.java (parse): Properly parse 09:01:02 as
  3073. hours/minutes/seconds, not as hours/minutes/year.
  3074. * java/util/SimpleTimeZone.java (SimpleTimeZone): Simplify
  3075. {start,end}TimeMode constructor by calling shorter constructor,
  3076. set {start,end}TimeMode fields after it returns.
  3077. (setStartRule): Don't adjust startTime into WALL_TIME. Set
  3078. startTimeMode to WALL_TIME.
  3079. (endStartRule): Similarly.
  3080. (getOffset): Handle properly millis + dstOffset overflowing into the
  3081. next day. Adjust startTime resp. endTime based on startTimeMode
  3082. resp. endTimeMode.
  3083. * java/util/TimeZone.java (zoneinfo_dir, availableIDs, aliases0): New
  3084. static fields.
  3085. (timezones): Remove synchronized keyword. Set zoneinfo_dir.
  3086. If non-null, set up aliases0 and don't put anything into
  3087. timezones0.
  3088. (defaultZone): Call getTimeZone instead of timezones().get.
  3089. (getDefaultTimeZone): Fix parsing of EST5 or EST5EDT6. Use
  3090. getTimeZoneInternal instead of timezones().get.
  3091. (parseTime): Parse correctly hour:minute.
  3092. (getTimeZoneInternal): New private method.
  3093. (getTimeZone): Do the custom ID checking first, canonicalize
  3094. ID for custom IDs as required by documentation. Call
  3095. getTimeZoneInternal to handle the rest.
  3096. (getAvailableIDs(int)): Add locking. Handle zoneinfo_dir != null.
  3097. (getAvailableIDs(File,String,ArrayList)): New private method.
  3098. (getAvailableIDs()): Add locking. Handle zoneinfo_dir != null.
  3099. * vm/reference/java/util/VMTimeZone.java (getDefaultTimeZoneId):
  3100. To read /etc/localtime, use ZoneInfo.readTZFile instead of
  3101. VMTimeZone.readtzFile. Get better timezone name for
  3102. /etc/localtime, either if it is a symlink or through
  3103. /etc/sysconfig/clock.
  3104. (readSysconfigClockFile): New static method.
  3105. (readtzFile): Removed.
  3106. * gnu/java/util/ZoneInfo.java: New file.
  3107. * java/lang/System.java: Add gnu.java.util.zoneinfo.dir to comments.
  3108. * NEWS: Documented TimeZone interface changes.
  3109. 2007-02-23 Francis Kung <fkung@redhat.com>
  3110. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
  3111. (Java_gnu_java_awt_peer_gtk_CairoSurface_create): Remove debug line.
  3112. 2007-02-22 Keith Seitz <keiths@redhat.ecom>
  3113. * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
  3114. (getAllLoadedClassesCount): Remove.
  3115. (getAllLoadedClasses): Return a Collection.
  3116. * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
  3117. (executeClassesBySignature): VMVirtualMachine.getAllLoadedClasses
  3118. now returns Collection.
  3119. (executeAllClasses): Likewise.
  3120. Get size of return from Colleciton instead of calling
  3121. getAllLoadedClassesCount.
  3122. 2007-02-22 Kyle Galloway <kgallowa@redhat.com>
  3123. * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
  3124. (executeGetValues): Pass a signature byte to VMFrame.getValue.
  3125. * vm/reference/gnu/classpath/jdwp/VMFrame.java (getValue): Add
  3126. signature parameter.
  3127. 2007-02-22 Francis Kung <fkung@redhat.com>
  3128. * gnu/java/awt/peer/gtk/CairoSurface.java
  3129. (copyAreaNative): Pass surface pointer into copyAreaNative2().
  3130. (copyAreaNative2): Add parameter for surface pointer.
  3131. (getFlippedBuffer): Add parameter for surface pointer.
  3132. (getGtkImage): Pass surface pointer into getFlippedBuffer().
  3133. 2007-02-21 Francis Kung <fkung@redhat.com>
  3134. * gnu/java/awt/peer/gtk/BufferedImageGraphcs.java
  3135. (constructor): Add pre-multiplied colour model to types available for
  3136. optimization.
  3137. (updateBufferedImage): Change surface.getPixels() call to surface.getData().
  3138. * gnu/java/awt/peer/gtk/CairoGraphics2D.java
  3139. (drawImage): Add checks before using CairoSurface optimization.
  3140. * gnu/java/awt/peer/gtk/CairoSurface.java
  3141. (bufferPointer): Removed field.
  3142. (sharedBuffer): New field.
  3143. (CairoSurface(GtkImage)): Copy array rather than using setPixels() call.
  3144. (CairoSurface(int,int,int)): Use getData() convenience method.
  3145. (CairoSurface(SampleModel,CairoSurface,Rectangle,Point)): Remove reference
  3146. to deleted bufferPointer field.
  3147. (copyAreaNative): Update documentation, remove reference to bufferPointer.
  3148. (copyAreaNative2): Remove reference to deleted bufferPointer field.
  3149. (destroy): Remove reference to deleted bufferPointer field.
  3150. (dispose): Updated to reflect new method signature for destroy().
  3151. (drawSurface): Added documentation.
  3152. (getData): New convience method.
  3153. (getFlippedBuffer): Removed method parameters.
  3154. (getGtkImage): Updated to reflect new method signature.
  3155. (getPixels): Removed method.
  3156. (nativeGetElem): Removed method.
  3157. (netiveGetPixels): Removed method.
  3158. (nativeSetElem): Removed method.
  3159. (nativeSetPixels): Removed method.
  3160. (setPixels): Removed method.
  3161. (syncJavaToNative): New method.
  3162. (syncNativeToJava): New method.
  3163. * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
  3164. (draw): Sync buffers if necessary.
  3165. (drawGlyphVector): Likewise.
  3166. (drawImage): Likewise.
  3167. (drawRenderedImage): Likewise,
  3168. (fill): Likewise.
  3169. * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
  3170. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
  3171. (Java_gnu_java_awt_peer_gtk_CairoSurface_copyAreaNative2): Use pointer to
  3172. surface rather than pointer to buffer.
  3173. (Java_gnu_java_awt_peer_gtk_CairoSurface_create): Provide fall-back for
  3174. copied arrays.
  3175. (Java_gnu_java_awt_peer_gtk_CairoSurface_destroy): Handle copied arrays.
  3176. (Java_gnu_java_awt_peer_gtk_CairoSurface_getFlippedBuffer): Retrieve
  3177. information on size using JNI calls.
  3178. (Java_gnu_java_awt_peer_gtk_CairoSurface_getElem): Removed.
  3179. (Java_gnu_java_awt_peer_gtk_CairoSurface_getPixels): Removed.
  3180. (Java_gnu_java_awt_peer_gtk_CairoSurface_setElem): Removed.
  3181. (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Removed.
  3182. (Java_gnu_java_awt_peer_gtk_CairoSurface_syncJavaToNative): New function.
  3183. (Java_gnu_java_awt_peer_gtk_CairoSurface_syncNativeToJava): New function.
  3184. (BUFFER): Removed constant.
  3185. (SHARED): New constant.
  3186. 2007-02-20 Gary Benson <gbenson@redhat.com>
  3187. * javax/management/ObjectName.java
  3188. (domainMatches): New method.
  3189. (apply): Rearranged to use the above.
  3190. 2007-02-19 Mark Wielaard <mark@klomp.org>
  3191. * doc/.cvsignore: Add *.1.
  3192. * doc/Makefile.am (CLEANFILES): Add Tools_MANFILES.
  3193. 2007-02-19 Dalibor Topic <robilad@kaffe.org>
  3194. * cp-hacking.texinfo, cp-tools.texinfo,
  3195. cp-vmintegration.texinfo: Prefix output file name
  3196. with cp.
  3197. 2007-02-19 Gary Benson <gbenson@redhat.com>
  3198. * javax/management/ObjectName.java
  3199. (properties): Initialize when declared.
  3200. (ObjectName(String)): Don't initialize properties here.
  3201. (ObjectName(String, String, String): Likewise.
  3202. 2007-02-19 Chris Burdess <dog@gnu.org>
  3203. Fixes #30831
  3204. * gnu/xml/dom/ls/SAXEventSink.java: Only set extended document
  3205. properties when reader is available.
  3206. 2007-02-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
  3207. * javax/management/MBeanServer.java:
  3208. (queryMBeans(ObjectName,QueryExp)): Returned
  3209. generically-typed Set.
  3210. (queryNames(ObjectName,QueryExp)): Likewise.
  3211. * javax/management/MBeanServerConnection.java:
  3212. (queryMBeans(ObjectName,QueryExp)): Returned
  3213. generically-typed Set.
  3214. (queryNames(ObjectName,QueryExp)): Likewise.
  3215. * javax/management/ObjectName.java:
  3216. Use a generically-typed TreeMap.
  3217. (ObjectName(String,Hashtable<String,String>):
  3218. Genericized.
  3219. (getKeyPropertyList()): Likewise.
  3220. * javax/management/StandardMBean.java:
  3221. Use a generically-typed interface class.
  3222. (StandardMBean(Class<?>)): Genericized.
  3223. (StandardMBean(T, Class<T>)): Likewise.
  3224. (getImplementationClass()): Likewise.
  3225. (getMBeanInterface()): Likewise.
  3226. 2007-02-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
  3227. * javax/management/Descriptor.java:
  3228. New file.
  3229. * javax/management/DescriptorRead.java:
  3230. Likewise.
  3231. * javax/management/DescriptorAccess.java:
  3232. Likewise.
  3233. 2007-02-16 Matthias Klose <doko@ubuntu.com>
  3234. * doc/Makefile.am: Add rules to build and install man pages
  3235. from texinfo docs.
  3236. * doc/hacking.texinfo doc/tools.texinfo, doc/vmintegration.texinfo:
  3237. Rename, prefix files with "cp-".
  3238. * doc/cp-tools.texinfo: Add markup for man page generation,
  3239. add documentation for command line options for gjar, gjavah,
  3240. gnative2ascii, gorbd, grmid, grmiregistry, gserialver, gtnameserv.
  3241. doc/texi2pod.pl: New, taken from the GCC sources.
  3242. 2007-02-16 Francis Kung <fkung@redhat.com>
  3243. * gnu/java/awt/ClasspathGraphicsEnvironment.java: New file.
  3244. * gnu/java/awt/peer/gtk/CairoSurface.java
  3245. (CairoDataBuffer): Removed inner class.
  3246. (CairoSurface(int,int,int,int)): New constructor.
  3247. (CairoSurface(int,int)): Delegate to new constructor.
  3248. (CairoSurface(SampleModel,CairoSurface,Rectangle,Point)): New constructor
  3249. for creating child rasters.
  3250. (create): Added int[] parameter.
  3251. (createChild): New method.
  3252. (createCompatibleWritableRaster): New methods.
  3253. (createTranslatedChild): New method.
  3254. (createWritableChild): New method.
  3255. (createWritableTranslatedChild): New method.
  3256. (destroy): Added int[] parameter.
  3257. (dispose): Only free native resources if this Surface has no parents.
  3258. (isCompatibleColorModel): New method.
  3259. (isCompatibleSampleModel): New method.
  3260. * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
  3261. (draw): Set transform, smarter bounds generation.
  3262. (drawComposite): Improved clipping.
  3263. (drawImage): Fixed bounds translation.
  3264. (drawRenderedImage): Set transform in buffer.
  3265. (fill): Set transform in buffer.
  3266. * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
  3267. (createRaster): New method.
  3268. * java/awt/image/BufferedImage.java
  3269. (BufferedImage(int,int,int)): Use optimized raster if possible.
  3270. * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
  3271. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
  3272. (Java_gnu_java_awt_peer_gtk_CairoSurface_create): Share data buffer between
  3273. Cairo and Java.
  3274. (Java_gnu_java_awt_peer_gtk_CairoSurface_destroy): Free data array.
  3275. 2007-02-16 Francis Kung <fkung@redhat.com>
  3276. * javax/management/NotificationBroadcasterSupport.java: Update imports.
  3277. 2007-02-16 Andrew Haley <aph@redhat.com>
  3278. * gnu/java/lang/management/MemoryMXBeanImpl.java,
  3279. javax/management/MBeanServerDelegate.java: Use
  3280. gnu.javax.management.ListenerData rather than
  3281. gnu.classpath.ListenerData.
  3282. * gnu/javax/management/ListenerData.java: Move here from
  3283. gnu/classpath/ListenerData.java.
  3284. 2006-10-14 Edwin Steiner <edwin.steiner@gmx.net>
  3285. PR classpath/28652:
  3286. * javax/management/MBeanInfo.java (MBeanInfo):
  3287. Use clone to duplicate the arrays in order to
  3288. preserve the array type.
  3289. 2007-02-15 Gary Benson <gbenson@redhat.com>
  3290. * gnu/javax/management/Server.java
  3291. (registerMBean): Always register objects that implement the
  3292. MBeanRegistration interface, and check the name returned by
  3293. preRegister before using it.
  3294. 2007-02-15 Roman Kennke <kennke@aicas.com>
  3295. * java/nio/ByteOrder.java
  3296. (nativeOrder): Avoid NPE when comparing a system property.
  3297. 2007-02-13 Gary Benson <gbenson@redhat.com>
  3298. * javax/management/ObjectName.java
  3299. (toString): Return this item's canonical name.
  3300. 2007-02-12 Francis Kung <fkung@redhat.com>
  3301. * gnu/java/awt/ClasspathToolkit.java:
  3302. * gnu/java/awt/peer/gtk/AsyncImage.java,
  3303. * gnu/java/awt/peer/gtk/BufferedImageGraphics.java,
  3304. * gnu/java/awt/peer/gtk/CairoGraphics2D.java,
  3305. * gnu/java/awt/peer/gtk/CairoSurface.java,
  3306. * gnu/java/awt/peer/gtk/ComponentGraphics.java,
  3307. * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java,
  3308. * gnu/java/awt/peer/gtk/GdkFontPeer.java,
  3309. * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
  3310. * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
  3311. * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
  3312. * gnu/java/awt/peer/gtk/GtkChoicePeer.java,
  3313. * gnu/java/awt/peer/gtk/GtkClipboard.java,
  3314. * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java,
  3315. * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
  3316. * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
  3317. * gnu/java/awt/peer/gtk/GtkFramePeer.java,
  3318. * gnu/java/awt/peer/gtk/GtkImage.java,
  3319. * gnu/java/awt/peer/gtk/GtkImageConsumer.java,
  3320. * gnu/java/awt/peer/gtk/GtkLabelPeer.java,
  3321. * gnu/java/awt/peer/gtk/GtkListPeer.java,
  3322. * gnu/java/awt/peer/gtk/GtkMainThread.java,
  3323. * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
  3324. * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
  3325. * gnu/java/awt/peer/gtk/GtkMenuPeer.java,
  3326. * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java,
  3327. * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
  3328. * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
  3329. * gnu/java/awt/peer/gtk/GtkSelection.java,
  3330. * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
  3331. * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
  3332. * gnu/java/awt/peer/gtk/GtkToolkit.java,
  3333. * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
  3334. * gnu/java/awt/peer/gtk/VolatileImageGraphics.java,
  3335. * java/awt/RenderingHints.java,
  3336. * java/awt/image/BufferedImage.java: Reformatted and added generics.
  3337. 2007-02-12 Tom Tromey <tromey@redhat.com>
  3338. * java/net/Socket.java (bind): Typo fix.
  3339. 2007-02-12 Tom Tromey <tromey@redhat.com>
  3340. * vm/reference/java/lang/reflect/Method.java (getDefaultValue):
  3341. New method.
  3342. * sun/reflect/annotation/AnnotationInvocationHandler.java (create):
  3343. New method.
  3344. (arrayClone): New method.
  3345. (invoke): Clone array return results.
  3346. 2007-02-12 Jakub Jelinek <jakub@redhat.com>
  3347. PR 23566
  3348. * scripts/timezones.pl: Parse each file in 2 passes, in one parse
  3349. just Rule lines, in the other everything else. Pass 0 instead of
  3350. $savings as second argument to parseRule when parsing the start
  3351. rule.
  3352. * java/util/TimeZone.java (timezones): Regenerate from tzdata2007a.
  3353. 2007-02-12 Jakub Jelinek <jakub@redhat.com>
  3354. * vm/reference/java/util/VMTimeZone.java: Rewrite to handle both
  3355. the old 'TZif\0' format and the new one.
  3356. * java/util/TimeZone.java: Handle default (one hour) daylight
  3357. savings.
  3358. 2007-02-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
  3359. * javax/management/Query.java:
  3360. New file.
  3361. * javax/management/StandardMBean.java:
  3362. Use the implementation's class loader.
  3363. 2007-02-10 Mark Wielaard <mark@klomp.org>
  3364. * javax/swing/plaf/metal/MetalFileChooserUI.java: Import Date from
  3365. java.util, not from java.sql.
  3366. 2007-02-10 Roman Kennke <kennke@aicas.com>
  3367. * javax/imageio/stream/ImageOutputStreamImpl.java
  3368. (flushBits): Implemented.
  3369. (writeBit): Implemented.
  3370. (writeBits): Implemented.
  3371. 2007-02-10 Roman Kennke <kennke@aicas.com>
  3372. * javax/swing/TransferHandler.java
  3373. (SwingDragGestureRecognizer): New inner class.
  3374. (SwingDragHandler): New inner class.
  3375. (recognizer): New field.
  3376. (exportAsDrag): Implemented missing method.
  3377. 2007-02-10 Roman Kennke <kennke@aicas.com>
  3378. * java/awt/GraphicsConfiguration.java
  3379. (createCompatibleVolatileImage(int,int,ImageCapabilities): Provide
  3380. default implementation that delegates to
  3381. createCompatibleVolatileImage(int,int).
  3382. (createCompatibleVolatileImage(int,int,ImageCapabilities,int):
  3383. New method from JDK5 spec. Default implementation by delegating to
  3384. (createCompatibleVolatileImage(int,int,int).
  3385. 2007-02-09 Tom Tromey <tromey@redhat.com>
  3386. PR libgcj/30647:
  3387. * configure.ac: Also check for jack/jack.h.
  3388. 2007-02-09 Mario Torre <neugens@limasoftware.net>
  3389. * java/io/File.java: remove import for
  3390. gnu.classpath.NotImplementedException.
  3391. (getUsableSpace): removed stub.
  3392. (getFreeSpace): likewise.
  3393. (getTotalSpace): likewise.
  3394. 2007-02-09 Mario Torre <neugens@limasoftware.net>
  3395. * vm/reference/java/io/VMFile.java:
  3396. (canExecute): new 1.6 native method.
  3397. (setReadable): likewise.
  3398. (setWritable): likewise.
  3399. (setExecutable): likewise.
  3400. * java/io/File.java: added import for gnu.classpath.NotImplementedException.
  3401. (setReadOnly): new 1.6 method.
  3402. (canExecute): likewise.
  3403. (setReadable): likewise.
  3404. (setWritable): likewise.
  3405. (setExecutable): likewise.
  3406. (getUsableSpace): added stub for new 1.6 method.
  3407. (getFreeSpace): likewise.
  3408. (getTotalSpace): likewise.
  3409. (checkExec): new private method to support new 1.6 additions.
  3410. * native/jni/java-io/java_io_VMFile.c:
  3411. set_file_permissions: new helper function.
  3412. Java_java_io_VMFile_setReadable: new native method to bakcup 1.6 methods
  3413. in VMFile.java.
  3414. Java_java_io_VMFile_setWritable: likewise.
  3415. Java_java_io_VMFile_setExecutable: likewise.
  3416. Java_java_io_VMFile_canExecute: likewise.
  3417. * native/jni/native-lib/cpio.h: added new flags: CPFILE_FLAG_EXEC,
  3418. CPFILE_FLAG_USR and CPFILE_FLAG_OFF.
  3419. cpio_chmod: new function declaration.
  3420. cpio_checkAccess: likewise.
  3421. * native/jni/native-lib/cpio.c:
  3422. cpio_chmod: new function definition.
  3423. cpio_checkAccess: likewise.
  3424. 2007-02-09 Gary Benson <gbenson@redhat.com>
  3425. * javax/management/ObjectName.java
  3426. (quote): Initialize StringBuilder correctly.
  3427. 2007-02-09 Francis Kung <fkung@redhat.com>
  3428. * java/awt/image/BufferedImage: Reformatted.
  3429. 2007-02-09 Ito Kazumitsu <kaz@maczuka.gcd.org>
  3430. Fixes bug #30732
  3431. * gnu/java/util/regex/RETokenChar.java(chain): Check whether the next
  3432. token has a next token.
  3433. 2007-02-08 Roman Kennke <kennke@aicas.com>
  3434. PR 30347
  3435. * javax/swing/JViewport.java
  3436. (scrollRectToVisible): Use correct X/Y offset for calculations.
  3437. (paintBackingStore): Update backbuffer when we are not the paint
  3438. root.
  3439. 2007-02-08 Roman Kennke <kennke@aicas.com>
  3440. * java/awt/image/SinglePixelPackedSampleModel.java
  3441. (getDataElements(int,int,Object,DataBuffer)):
  3442. Replace DataBuffer using method with simple
  3443. switch. This does not check for the exact type (class) of the
  3444. DataBuffer but instead checks the transfer type.
  3445. (getDataElements(int,int,int,intObject,DataBuffer)): Removed.
  3446. (setDataElements): Fixed indentation.
  3447. (setPixels): Removed unused statement.
  3448. 2007-02-07 Tom Tromey <tromey@redhat.com>
  3449. * tools/gnu/classpath/tools/javah/PathOptionGroup.java
  3450. (PathOptionGroup): Allow '-cp' as well.
  3451. 2007-02-07 Chris Burdess <dog@gnu.org>
  3452. Fixes PR 30718.
  3453. * gnu/xml/dom/ls/SAXEventSink.java: Add public accessor/mutators.
  3454. * gnu/xml/transform/XSLURIResolver.java: Add support for custom
  3455. SAXSources without a backing URL or stream.
  3456. 2007-02-06 Tom Tromey <tromey@redhat.com>
  3457. PR libgcj/30707:
  3458. * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
  3459. (printClass): Always print a header.
  3460. 2007-02-06 Chris Burdess <dog@gnu.org>
  3461. Fixes PR 27710.
  3462. * gnu/xml/dom/DomDocumentBuilderFactory.java: Fall back to synchronous
  3463. LSParser if implementation does not support asynchronous.
  3464. * gnu/xml/stream/XMLParser.java,
  3465. gnu/xml/stream/XIncludeFilter.java: Use custom code instead of
  3466. java.net.URL to resolve to an an absolute URI, to avoid nonexistent
  3467. protocol handler problems.
  3468. 2007-02-05 Andrew Haley <aph@redhat.com>
  3469. PR cp-tools/30706
  3470. * tools/gnu/classpath/tools/javah/JniIncludePrinter.java:
  3471. (printClass): Replace '/' in filenames with '_'.
  3472. * tools/gnu/classpath/tools/javah/JniStubPrinter.java
  3473. (printClass): Likewise.
  3474. 2007-02-05 Tom Tromey <tromey@redhat.com>
  3475. * java/net/Proxy.java (equals): Handle case where address==null.
  3476. (hashCode): Likewise.
  3477. (toString): Likewise.
  3478. 2007-02-04 Jeroen Frijters <jeroen@frijters.net>
  3479. * java/lang/Class.java
  3480. (newInstance): Moved setAccessible call to helper method.
  3481. (getEnumConstants): Call new helper method to allow values method to be
  3482. called on non-public enum classes.
  3483. (setAccessible): New helper method.
  3484. * java/lang/Enum.java
  3485. (valueOf): Call new helper method in class to allow field value to
  3486. be read on non-public enum classes.
  3487. 2007-02-04 Jeroen Frijters <jeroen@frijters.net>
  3488. Fix for #30693
  3489. * gnu/java/nio/charset/ByteCharset.java
  3490. (ByteCharset.Decoder.decodeLoop): Reset input buffer position if
  3491. the byte read was unmappable.
  3492. 2007-02-02 Kyle Galloway <kgallowa@redhat.com>
  3493. * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
  3494. (executeGetValues): Changed getFrame to use a jlong to pass frameID.
  3495. (executeSetValues): Ditto.
  3496. (executeThisObject): Ditto.
  3497. * vm/reference/gnu/classpath/jdwp/VMFrame.java: Added thread field and a
  3498. constructor used to create VMFrames.
  3499. (getThread): New method.
  3500. * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java(getFrame): Changed
  3501. to take a long instead of a ByteBuffer to pass the frameID.
  3502. 2007-02-01 Tom Tromey <tromey@redhat.com>
  3503. * java/util/logging/LogManager.java (reset): Remove bogus
  3504. 'while'.
  3505. 2007-01-31 Casey Marshall <csm@gnu.org>
  3506. * gnu/javax/net/ssl/Base64.java: move to `gnu/java/util/Base64.java.'
  3507. * gnu/javax/net/ssl/PrivateCredentials.java: clean up unused imports.
  3508. (add): use `gnu.java.util.Base64.'
  3509. * gnu/java/net/protocol/http/Request.java (authenticate): use
  3510. `gnu.java.util.Base64.'
  3511. * tools/gnu/classpath/tools/jarsigner/HashUtils.java (hashStream):
  3512. likewise.
  3513. * tools/gnu/classpath/tools/keytool/CertReqCmd.java (start): likewise.
  3514. * tools/gnu/classpath/tools/keytool/ExportCmd.java (start): likewise.
  3515. * tools/gnu/classpath/tools/keytool/ListCmd.java (printRFC1421):
  3516. likewise.
  3517. * gnu/java/net/Base64.java: removed.
  3518. * gnu/java/security/util/Base64.java: removed.
  3519. 2007-01-31 Casey Marshall <csm@gnu.org>
  3520. Fixes PR classpath/24191.
  3521. Fix suggested by Rafael Teixeira <monoman@gmail.com>.
  3522. * javax/crypto/CipherOutputStream.java (write): check return value
  3523. of `update' for null.
  3524. 2007-01-31 Tom Tromey <tromey@redhat.com>
  3525. * resource/gnu/classpath/tools/jar/messages.properties
  3526. (Main.Stdin): New message.
  3527. * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Add
  3528. '-@' option.
  3529. (readNames): New method.
  3530. (run): Use it.
  3531. 2007-01-30 Roman Kennke <kennke@aicas.com>
  3532. PR 20577
  3533. * javax/swing/DefaultDesktopManager.java
  3534. (activateFrame): Added a bunch of null checks. Don't call
  3535. JInternalFrame.setSelected() to avoid recursion.
  3536. 2007-01-29 Andrew Haley <aph@redhat.com>
  3537. * java/lang/SecurityManager.java (SecurityManager): Load and
  3538. initialize java.security.Security.
  3539. 2007-01-28 Ito Kazumitsu <kaz@maczuka.gcd.org>
  3540. * native/jni/java-nio/gnu_java_nio_VMChannel.c
  3541. (Java_gnu_java_nio_VMChannel_accept): Throw SocketTimeoutException
  3542. in case of timeout.
  3543. * native/jni/java-nio/javanio.c(cpnio_accept): Call select() if
  3544. SO_RCVTIMEO is set.
  3545. 2007-01-26 Tom Tromey <tromey@redhat.com>
  3546. * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
  3547. 'volatile' after field type.
  3548. 2007-01-26 Chris Burdess <dog@gnu.org>
  3549. Fixes #30597
  3550. * gnu/xml/dom/DomDocumentBuilder.java: Throw IOException where cause
  3551. of LSException is an IOException.
  3552. * gnu/xml/dom/ls/DomLSParser.java,
  3553. gnu/xml/stream/SAXParser.java: Ensure coalescing feature is set
  3554. correctly during LS parsing.
  3555. 2007-01-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
  3556. * javax/management/PersistentMBean.java:
  3557. New file.
  3558. 2007-01-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
  3559. * javax/management/AttributeChangeNotificationFilter.java:
  3560. Correct typo.
  3561. * javax/management/NotificationFilterSupport.java:
  3562. New file.
  3563. 2007-01-21 Mark Wielaard <mark@klomp.org>
  3564. * java/security/SecureClassLoader.java (defineClass): Method returns
  3565. Class<?>.
  3566. * java/security/SignatureSpi.java (engineUpdate(ByteBuffer):
  3567. Does not throw SignatureException. Chain SignatureException inside
  3568. IllegalStateException.
  3569. 2007-01-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
  3570. * javax/management/NotificationBroadcasterSupport.java:
  3571. New file.
  3572. 2007-01-20 Ito Kazumitsu <kaz@maczuka.gcd.org>
  3573. * java/text/DecimalFormat.java(parse): Corrected the ParsePosition
  3574. settings.
  3575. 2007-01-20 Ito Kazumitsu <kaz@maczuka.gcd.org>
  3576. * java/text/SimpleDateFormat(parse): Corrected the usage of
  3577. NumberFormat.
  3578. 2007-01-20 Ito Kazumitsu <kaz@maczuka.gcd.org>
  3579. Fixes bug #30488
  3580. * native/jni/native-lib/cpnet.c(SOCKET_NOSIGNAL): Deleted,
  3581. (setsockopt_NOSIGPIPE): New function,
  3582. (cpnet_send): Corrected the option setting to send(),
  3583. (cpnet_sendTo): Corrected the option setting to sendto().
  3584. 2007-01-19 Marco Trudel <mtrudel@gmx.ch>
  3585. * java/util/Arrays.java (binarySearch): Change comparison order.
  3586. 2007-01-17 Keith Seitz <keiths@redhat.com>
  3587. * gnu/classpath/jdwp/events/filters/StepFilter.java:
  3588. Update javadoc.
  3589. (matches): Implement.
  3590. * gnu/classpath/jdwp/event/EventManager.java (EventManager): Honor
  3591. agent startup suspension for VM_INIT.
  3592. 2007-01-17 Tom Tromey <tromey@redhat.com>
  3593. * tools/gnu/classpath/tools/javah/PathOptionGroup.java
  3594. (PathOptionGroup): Set default boot class path.
  3595. 2007-01-17 Mark Wielaard <mark@klomp.org>
  3596. * javax/activity/ActivityCompletedException.java: Make constructors
  3597. public.
  3598. * javax/activity/ActivityRequiredException.java: Likewise.
  3599. * javax/activity/InvalidActivityException.java: Likewise.
  3600. 2007-01-17 Roman Kennke <kennke@aicas.com>
  3601. * javax/swing/plaf/basic/BasicRadioButtonUI.java
  3602. (paint): Use helper method to figure out icon. Don't override
  3603. the icon field in that class. Check for null icons.
  3604. (getCurrentIcon): New helper function to determine icon to be
  3605. painted.
  3606. 2007-01-17 Mark Wielaard <mark@klomp.org>
  3607. * javax/activity/ActivityCompletedException.java: New file.
  3608. * javax/activity/ActivityRequiredException.java: Likewise.
  3609. * javax/activity/InvalidActivityException.java: Likewise.
  3610. * javax/activity/package.html: Likewise.
  3611. 2007-01-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
  3612. * javax/management/DefaultLoaderRepository.java:
  3613. (loadClass(String)): Made static.
  3614. (loadClassWithout(String,ClassLoader)): Likewise.
  3615. 2007-01-15 Kyle Galloway <kgallowa@redhat.com>
  3616. * gnu/classpath/jdwp/exception/TypeMismatchException.java: New file.
  3617. * gnu/classpath/jdwp/exception/InvalidFrameException.java: Fix indentation.
  3618. * gnu/classpath/jdwp/exception/InvalidSlotException.java: Fix indentation.
  3619. 2007-01-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
  3620. * javax/management/AttributeValueExp.java:
  3621. Corrected serialVersionUID typo.
  3622. * javax/management/DefaultLoaderRepository.java:
  3623. New file.
  3624. * javax/management/MBeanServerFactory.java:
  3625. Add generic typing.
  3626. 2007-01-15 Kyle Galloway <kgallowa@redhat.com>
  3627. * gnu/classpath/jdwp/exception/InvalidFrameException.java: New file.
  3628. 2007-01-15 Kyle Galloway <kgallowa@redhat.com>
  3629. * gnu/classpath/jdwp/exception/AbsentInformationException.java: New file.
  3630. 2007-01-15 Kyle Galloway <kgallowa@redhat.com>
  3631. * gnu/classpath/jdwp/exception/InvalidSlotException.java: New file.
  3632. 2007-01-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
  3633. * javax/management/AttributeValueExp.java: New file.
  3634. * javax/management/QueryEval.java: Likewise.
  3635. * javax/management/StringValueExp.java: Likewise.
  3636. 2007-01-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
  3637. * javax/management/AttributeChangeNotificationFilter.java:
  3638. New file.
  3639. 2007-01-11 Andreas Tobler <a.tobler@schweiz.org>
  3640. * examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java
  3641. (AicasGraphicsBenchmark): Load images from ../icons.
  3642. * examples/gnu/classpath/examples/java2d/J2dBenchmark.java (init):
  3643. Likewise.
  3644. * examples/Makefile.am (EXAMPLE_ICONS): Add rule to copy *.gif files
  3645. to icons.
  3646. * examples/gnu/classpath/examples/awt/aicas.png: Move to ../icons.
  3647. Delete here.
  3648. * examples/gnu/classpath/examples/awt/palme.gif: Likewise.
  3649. * examples/gnu/classpath/examples/java2d/aicas.png: Likewise.
  3650. * examples/gnu/classpath/examples/java2d/palme.gif: Likewise.
  3651. * examples/gnu/classpath/examples/icons/aicas.png: Moved.
  3652. * examples/gnu/classpath/examples/icons/palme.gif: Likewise.
  3653. 2007-01-09 Tania Bento <tbento@redhat.com>
  3654. * java/security/Permission.java:
  3655. (toString): If there are no actions, then there should not
  3656. be a space between its name and ')'.
  3657. 2007-01-08 Andrew John Hughes <gnu_andrew@member.fsf.org>
  3658. * javax/management/AttributeChangeNotification.java:
  3659. New file.
  3660. 2007-01-08 Cameron McCormack <cam@mcc.id.au>
  3661. PR 30355
  3662. * java/util/Arrays.java:
  3663. (binarySearch(byte[],byte)): Added check for zero-length array.
  3664. (binarySearch(short[],short)): Likewise.
  3665. (binarySearch(int[],int)): Likewise.
  3666. (binarySearch(long[],long)): Likewise.
  3667. (binarySearch(char[],char)): Likewise.
  3668. (binarySearch(float[],float)): Likewise.
  3669. (binarySearch(double[],double)): Likewise.
  3670. (binarySearch(Object[],Object)): Likewise.
  3671. (binarySearch(T[],T,Comparator)): Likewise.
  3672. 2007-01-08 Tom Tromey <tromey@redhat.com>
  3673. * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java (run):
  3674. Fix length check. PR classpath/30346.
  3675. 2007-01-09 Raif S. Naffah <classpath@naffah-raif.name>
  3676. * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Updated copyright year.
  3677. (sfEntries): Use generics.
  3678. (writeDSA()): Likewise.
  3679. (startSigning()): Likewise.
  3680. (updateEntry()): Likewise.
  3681. * tools/gnu/classpath/tools/jarsigner/Messages.java: Updated copyright year.
  3682. (CACHED_FORMATS): Use generics.
  3683. (getFormattedString()): Likewise.
  3684. * tools/gnu/classpath/tools/jarsigner/Main.java: Updated copyright year.
  3685. (fileAndAlias): Use generics.
  3686. (ToolParser.validate()): Likewise.
  3687. * tools/gnu/classpath/tools/jarsigner/JarVerifier.java:
  3688. Updated copyright year.
  3689. Re-ordered imports and removed unused entries.
  3690. (entryHashes): Use generics.
  3691. (start()): Likewise.
  3692. (verifySFEntries()): Likewise.
  3693. Use map's entrySet() instead of its keySet().
  3694. 2007-01-08 Andrew John Hughes <gnu_andrew@member.fsf.org>
  3695. * java/text/DateFormat.java:
  3696. (computeInstance(int,int,Locale,boolean,boolean)):
  3697. Throw an exception when locale info. is unavailable.
  3698. (computeDefault(int,int,boolean,boolean)): New method.
  3699. (getDateInstance(int,Locale)): Check providers.
  3700. (getDateTimeInstance(int,int,Locale)): Likewise.
  3701. (getTimeInstance(int,Locale)): Likewise.
  3702. * java/text/DateFormatSymbols.java:
  3703. Update documentation to match DecimalFormatSymbols.
  3704. * java/text/DecimalFormatSymbols.java:
  3705. (DecimalFormatSymbols(Locale)): Reordered.
  3706. (getInstance()): Implemented.
  3707. (getInstance(Locale)): Implemented.
  3708. * java/text/NumberFormat.java:
  3709. (computeInstance(Locale,String,String)):
  3710. Throw an exception when locale info is unavailable.
  3711. (getCurrencyInstance(Locale)): Check providers.
  3712. (getIntegerInstance(Locale)): Likewise.
  3713. (getNumberInstance(Locale)): Likewise.
  3714. (getPercentInstance(Locale)): Likewise.
  3715. * java/text/spi/DateFormatProvider.java: New file.
  3716. * java/text/spi/DecimalFormatSymbolsProvider.java: Likewise.
  3717. * java/text/spi/NumberFormatProvider.java: Likewise.
  3718. 2007-01-07 Ito Kazumitsu <kaz@maczuka.gcd.org>
  3719. Fixes bug #30377
  3720. * native/jni/native-lib/cpnet.h: Add some include files.
  3721. 2007-01-07 Roman Kennke <roman@kennke.org>
  3722. PR 30337
  3723. * java/awt/Component.java
  3724. (getFontImpl): Return null when the component has no font set
  3725. and also has no parent yet.
  3726. * javax/swing/plaf/basic/BasicComboBoxUI.java
  3727. (PropertyChangeHandler.propertyChange): Only add editor when combo
  3728. box is editable. Avoid fetching the property name repeatedly.
  3729. Invalidate when renderer or prototypeDisplayValue change.
  3730. (uninstallComponents): Unconfigure everything and then remove all
  3731. components.
  3732. * javax/swing/plaf/basic/BasicComboPopup.java
  3733. (uninstallingUI): Don't nullify list model.
  3734. * javax/swing/plaf/metal/MetalComboBoxUI.java
  3735. (createArrowButton): Pass currentValuePane to the MetalComboBoxButton
  3736. constructor rather than a new (unconnected) CellRendererPane.
  3737. 2007-01-06 Roman Kennke <roman@kennke.org>
  3738. PR 30337
  3739. * javax/swing/plaf/basic/BasicComboBoxUI.java
  3740. (installUI): Install popup and list here.
  3741. Don't configure the arrow button and editor here.
  3742. (installComponents): Don't install popup and list here. (Moved
  3743. to installUI). Configure arrow button here and check for null.
  3744. (addEditor): Configure editor here.
  3745. (configureArrowButton): Directly fetch listeners from popup.
  3746. (paintCurrentValue): Removed unused local variables.
  3747. (layoutContainer): Removed unused local variables.
  3748. (PropertyChangeHandler.propertyChange): Don't invalidate minimumSize
  3749. on each property change. Avoid calling getPropertyName() repeatedly.
  3750. Clean up. Call addEditor() when editor changes. Configure and
  3751. unconfigure editor when editable changes. Use 'model' instead
  3752. of non-existing 'dataModel' property.
  3753. * javax/swing/plaf/basic/BasicComboPopup.java
  3754. (uninstallingUI): Remove property change listener and item listener
  3755. here. Uninstall list listeners. Set model to null to prevent leakage.
  3756. (configureList): Don't sync list selection there.
  3757. (uninstallComboBoxListeners): Moved to uninstallingUI.
  3758. (uninstallListeners): Moved to uninstallingUI.
  3759. * javax/swing/plaf/metal/MetalComboBoxUI.java
  3760. (createPopup): Call super.
  3761. (getMinimumSize): Removed unused statement.
  3762. 2007-01-06 Andrew John Hughes <gnu_andrew@member.fsf.org>
  3763. * java/text/Collator.java:
  3764. (getInstance(Locale)): Check providers.
  3765. * java/text/spi/CollatorProvider.java:
  3766. New file.
  3767. 2007-01-04 Roman Kennke <roman@kennke.org>
  3768. PR 30122
  3769. * java/awt/Component.java
  3770. (getFont): Don't synchronize on tree lock here. The method is
  3771. thread-safe 'enough' by fetching local variables in getFontImpl().
  3772. 2007-01-04 Roman Kennke <roman@kennke.org>
  3773. * java/awt/AWTEvent.java
  3774. (toString): Don't include the whole component in the output,
  3775. only its name.
  3776. * java/awt/Component.java
  3777. (isShowing): Create local copy of parent field for better
  3778. thread safety and efficiency.
  3779. * java/awt/EventDispatchThread.java
  3780. (EventDispatchThread): Make sure the event thread is not a daemon
  3781. thread in case it gets started by a daemon thread.
  3782. * java/awt/image/IndexColorModel.java
  3783. (createColorMap): New helper method for creating the color map.
  3784. (IndexColorModel): (all constructors) use createColorMap() helper
  3785. method.
  3786. 2007-01-04 Roman Kennke <roman@kennke.org>
  3787. * gnu/java/awt/font/autofit/GlyphHints.java
  3788. (alignStrongPoints): Don't special case the vertical dimension.
  3789. (computeInflectionPoints): Corrected computation of inflection
  3790. points.
  3791. * gnu/java/awt/font/autofit/Utils.java
  3792. (ANGLE_4PI): Removed.
  3793. (ANGLE_PI2): New constant for PI/2.
  3794. (ANGLE_PI4): New constant for PI/4.
  3795. (angleDiff): Fixed.
  3796. (atan): Fixed.
  3797. 2007-01-03 Cameron McCormack <cam@mcc.id.au>
  3798. Fixes bug #29246
  3799. * java/awt/Toolkit.java (getLockingKeyState): Use AWTUtilities
  3800. isValidKey method. Throw UnsupportedOperationException on a valid
  3801. key (for which no locking state can be given).
  3802. * gnu/java/awt/AWTUtilities.java (isValidKey): New method.
  3803. * gnu/java/awt/peer/gtk/GtkToolkit.java (getLockingKeyState): New
  3804. method.
  3805. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
  3806. (Java_gnu_java_awt_peer_gtk_GtkToolkit_getLockState): New method.
  3807. * include/gnu_java_awt_peer_gtk_GtkToolkit.h: Regenerated.
  3808. 2007-01-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
  3809. * java/text/BreakIterator.java:
  3810. (getCharacterInstance(Locale)): Check providers.
  3811. (getLineInstance(Locale)): Likewise.
  3812. (getSentenceInstance(Locale)): Likewise.
  3813. (getWordInstance(Locale)): Likewise.
  3814. * java/text/spi/BreakIteratorProvider.java:
  3815. New file.
  3816. * java/text/spi/DateFormatSymbolsProvider.java:
  3817. Update header text.
  3818. * java/util/ServiceConfigurationError.java:
  3819. Add serialVersionUID.
  3820. 2007-01-03 Francis Kung <fkung@redhat.com>
  3821. * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
  3822. (copy): Copy and set antialias value.
  3823. 2007-01-03 Tania Bento <tbento@redhat.com>
  3824. * java/awt/CardLayout.java:
  3825. (maximumLayoutSize): Return a new Dimension with a width of value
  3826. Integer.MAX_VALUE and a height of value Integer.MAX_VALUE if Component
  3827. has no components.
  3828. 2007-01-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
  3829. * java/text/DateFormatSymbols.java:
  3830. (getZoneStrings(ResourceBundle)): Changed to...
  3831. (getZoneStrings(ResourceBundle,Locale)): Added
  3832. use of TimeZoneNamesProvider.
  3833. (getZoneStrings()): Return either mutated zone
  3834. strings or initial ones.
  3835. (getInstance(Locale)): Check DateFormatSymbolsProvider
  3836. instances.
  3837. * java/text/spi/DateFormatSymbolsProvider.java:
  3838. New file.
  3839. * java/text/spi/package.html: New file.
  3840. 2007-01-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
  3841. * java/util/Currency.java:
  3842. (getSymbol(Locale)): Removed unneeded variable
  3843. and terminate loop early.
  3844. * java/util/Locale.java:
  3845. (getDisplayLanguage(Locale)): Fixed to use
  3846. LocaleNameProvider.
  3847. (getDisplayCountry(Locale)): Likewise.
  3848. (getDisplayVariant(Locale)): Likewise.
  3849. * java/util/spi/LocaleNameProvider.java:
  3850. New file.
  3851. * java/util/spi/TimeZoneNameProvider.java:
  3852. Likewise.
  3853. 2007-01-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
  3854. * gnu/java/locale/LocaleHelper.java:
  3855. (getLocalizedString(Locale,String,String,boolean,
  3856. boolean)): Removed, no longer needed.
  3857. (getFallbackLocale(Locale)): Implemented.
  3858. * java/lang/String.java:
  3859. (isEmpty()): Implemented.
  3860. * java/util/Currency.java:
  3861. (getSymbol(Locale)): Reimplemented to use SPI.
  3862. * java/util/Locale.java:
  3863. (ROOT): Added.
  3864. * java/util/spi/CurrencyNameProvider.java:
  3865. New file.
  3866. * java/util/spi/LocaleServiceProvider.java:
  3867. Likewise.
  3868. * java/util/spi/package.html: Likewise.
  3869. 2007-01-02 Roman Kennke <roman@kennke.org>
  3870. * gnu/java/awt/java2d/AbstractGraphics2D.java
  3871. (FONT): New constant field. This is the default font to use as long
  3872. as nothing else is set.
  3873. (paintContext): New field. Temporarily stores the paint context.
  3874. (scanlineConverters): New field. Stores the scanline converters
  3875. for each thread.
  3876. (shapeCache): Genericified.
  3877. (STANDARD_HINTS): New constant field. The standard rendering hints
  3878. as long as nothing else is set.
  3879. (STANDARD_STROKE): New constant field. The standard stroke as long
  3880. as nothing else is set.
  3881. (static_initializer): Initialize standard hints.
  3882. (AbstractGraphics2D): Use constant fields for hints and stroke.
  3883. (drawGlyphVector): Use simpler method to draw the outline.
  3884. (fillScanline): Use paintContext field.
  3885. (fillShape): Use new ScanlineConverter to fill shapes.
  3886. (fillShapeAntialias): Removed. This will be done in fillShape.
  3887. (fillShapeImpl): Removed. This is done now in the ScanlineConverter
  3888. class.
  3889. (getScanlineConverter): New method. Returns the scanline converter
  3890. for each thread.
  3891. (getSegments): Removed. This is now implemented in ScanlineConverter.
  3892. (getShapeCache): Use genericified shapeCache field.
  3893. (init): Use fixed default font. Don't fetch destination raster here.
  3894. * gnu/java/awt/java2d/ActiveEdges.java: New class. Stores a set
  3895. of active edges for scanline conversion.
  3896. * gnu/java/awt/java2d/PolyEdge.java
  3897. (poolNext): Implements linked list for edge pool.
  3898. (scanlineNext): Implements linked list for scanline edge lists.
  3899. (slope): Use fixed point decimal.
  3900. (slope,x0,y0,x1,y1,xIntersection): Use fixed point decimal.
  3901. (PolyEdge()): New constructor.
  3902. (PolyEdge): Use fixed point decimals.
  3903. (init): Use fixed point decimals.
  3904. (intersect): New method. Intersects this edge with a scanline.
  3905. * gnu/java/awt/java2d/Scanline.java: New class. A list of edges
  3906. for a scanline plus utilities.
  3907. * gnu/java/awt/java2d/ScanlineConverter.java: New class. Implements
  3908. an efficient scanline converter for rendering Shape objects.
  3909. 2007-01-02 Roman Kennke <roman@kennke.org>
  3910. * gnu/java/math/Fixed.java: New class. Fixed point arithmetics
  3911. utilities.
  3912. 2007-01-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
  3913. * ChangeLog-2006: New file.
  3914. * gnu/classpath/ServiceFactory.java:
  3915. Add option of throwing a ServiceConfigurationError.
  3916. (lookupProviders(Class,ClassLoader,boolean)): Implemented.
  3917. * java/util/ServiceConfigurationError.java: New file.
  3918. * java/util/ServiceLoader.java: Likewise.
  3919. Local Variables:
  3920. coding: iso-latin-1-unix
  3921. End: