2
0

ChangeLog 549 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751
  1. 2006-08-08 Peter Dennis Bartok <[email protected]>
  2. * TextBoxBase.cs: Don't try moving the caret if we don't have a window
  3. yes (fixes #78806)
  4. * TextControl.cs:
  5. - PositionCaret: Allow positioning of caret but don't call methods
  6. requiring a handle if the window isn't created yet
  7. - CharIndexToLineTag: Fix ending loop early error. Lines is 1 based
  8. - owner_HandleCreated: Don't position the caret, just update it's
  9. location. User might have already set a different position
  10. 2006-08-08 Peter Dennis Bartok <[email protected]>
  11. * XplatUIWin32.cs: Don't use the desktop as basis for foster-parented
  12. windows. Screws up the returned coordinates for child windows.
  13. Fixes #78825. I'm hoping this doesn't break something, since the
  14. code was explicitly put in 8 months ago, but no bug was attached.
  15. Menus still seem to work properly.
  16. 2006-08-08 Chris Toshok <[email protected]>
  17. * DataGrid.cs: make BeginInit/EndInit actually do what they're
  18. supposed to do - delay data binding until the EndInit call. Also,
  19. make the table style collection's CollectionChangeAction.Refresh
  20. work properly.
  21. * GridTableStylesCollection.cs: raise a CollectionChangeEvent
  22. (with action = Refresh) when a consituent table's MappingName is
  23. changed.
  24. 2006-08-08 Chris Toshok <[email protected]>
  25. * ToolBarButton.cs: in set_Text, call Parent.Redraw, not
  26. Invalidate, since changing the text can change the size of the all
  27. toolbar buttons.
  28. 2006-08-08 Peter Dennis Bartok <[email protected]>
  29. * Form.cs (AddOwnedForm): Still need to add the form to our listif
  30. we don't have it yet
  31. 2006-08-08 Chris Toshok <[email protected]>
  32. * PrintControllerWithStatusDialog.cs: don't .Close() the status
  33. dialog, as this causes X errors later on, since we actually
  34. destroy the window. Instead, .Hide() it.
  35. 2006-08-08 Peter Dennis Bartok <[email protected]>
  36. * ComboBox.cs: Added focus reflection for popup window
  37. * XplatUIX11.cs:
  38. - Removed transient setting for non-app windows for now, not sure it
  39. was needed
  40. - Fixed logic checking if we have captions when deciding
  41. override_redirect, WS_CAPTION is two bits and a 0 check was not
  42. sufficient
  43. - Removed the WINDOW_TYPE stuff, it was unneeded and making things
  44. complicated
  45. * Form.cs:
  46. - AddOwnedForm: Don't just add the form to the list, call the property
  47. to ensure the driver is informed about the ownership as well
  48. - CreateHandle: Set the TopMost status in the driver if we have an owner
  49. * XplatUI.cs: Fixed debug statement
  50. 2006-08-08 Jonathan Pobst <[email protected]>
  51. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  52. GroupBoxRenderer.cs, ProgressBarRenderer.cs, RadioButtonRenderer.cs,
  53. ScrollBarRenderer.cs, TabRenderer.cs, TextBoxRenderer.cs,
  54. TrackBarRenderer.cs: Make constructor private.
  55. * ProfessionalColors.cs, ProfessionalColorTable.cs: Fix misnamed properties.
  56. * ProfessionalColorTable.cs: Make properties virtual.
  57. 2006-08-06 Duncan Mak <[email protected]>
  58. * NumericUpDown.cs (Value): Don't call OnValueChanged if the value
  59. is not changing.
  60. 2006-08-04 Jonathan Pobst <[email protected]>
  61. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  62. GroupBoxRenderer.cs, ProfessionalColors.cs, ProfessionalColorTable.cs,
  63. ProgressBarRenderer.cs, RadioButtonRenderer.cs, ScrollBarRenderer.cs,
  64. TabRenderer.cs, TextBoxRenderer.cs, TextRenderer.cs, TrackBarRenderer.cs:
  65. Initial import of new 2.0 classes.
  66. 2006-08-04 Jonathan Pobst <[email protected]>
  67. * Application.cs: Add 2.0 VisualStyles properties.
  68. 2006-08-04 Jonathan Pobst <[email protected]>
  69. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  70. XplatUIX11.cs: Create property to allow access to existing private
  71. variable "themes_enabled"
  72. 2006-08-04 Gonzalo Paniagua Javier <[email protected]>
  73. * ImageListStreamer.cs: generate the MemoryStreams with the exact BMP
  74. file size, as otherwise our class libraries fail using windows. Fixes
  75. bug #78759.
  76. 2006-08-04 Jackson Harper <[email protected]>
  77. * Form.cs:
  78. * XplatUIX11.cs: Move the toolwindow window manager creation into
  79. the X11 driver, this way on win32 we can let windows create/handle
  80. the toolwindows.
  81. 2006-08-04 Carlos Alberto Cortez <[email protected]>
  82. * PrintDialog.cs: Remove some redundant checks, add some others,
  83. clean some code, and move the focus to the text boxes when the
  84. values are incorrect.
  85. 2006-08-04 Alexander Olk <[email protected]>
  86. * FontDialog.cs: Remove Form.MinimumSize. It's not needed.
  87. 2006-08-03 Alexander Olk <[email protected]>
  88. * NumericUpDown.cs: Setting the Minimum and Maximum is now
  89. handled correctly. Fixes bug #79001.
  90. 2006-08-03 Carlos Alberto Cortez <[email protected]>
  91. * PrintDialog.cs: The "Copies" numeric up down must have
  92. set the Minimum property to 1; only if the value is bigger
  93. than 1, activate "Collate" check box. This is the behaviour of .Net.
  94. Also modify the Document elements only if it is not null.
  95. 2006-08-03 Jackson Harper <[email protected]>
  96. * TreeNodeCollection.cs: Fix copyto to use the correct nodes
  97. length. (We have a larger array then actual node count).
  98. 2006-08-03 Jackson Harper <[email protected]>
  99. * ComboBox.cs: Don't show selection by default.
  100. - The SelectAll isn't needed here, since the focus code should do
  101. that
  102. - DDL style lists to manual selection drawing, so when they
  103. get/lose focus they have to invalidate.
  104. 2006-08-03 Peter Dennis Bartok <[email protected]>
  105. * TextBoxBase.cs: Don't always show all selections by default.
  106. 2006-08-03 Jonathan Pobst <[email protected]>
  107. * ControlUpdateMode.cs, DataSourceUpdateMode.cs,
  108. HelpNavigator.cs, WebBrowserEncryptionLevel.cs:
  109. Fixed various typos.
  110. 2006-08-03 Alexander Olk <[email protected]>
  111. * Control.cs: Removing the controls in a ControlCollection with
  112. Clear now hides the controls as expected. Fixes bug #78804.
  113. 2006-08-03 Jackson Harper <[email protected]>
  114. * Control.cs: Revert previous focus patch, it breaks reflector.
  115. 2006-08-03 Jackson Harper <[email protected]>
  116. * ComboBox.cs: Cleanup selection and focus with the combobox.
  117. This also eliminates some duplicated keyboard code, since now
  118. everything is handled by the main class.
  119. - Make list selection work on mouse up instead of down, to match
  120. MS.
  121. 2006-08-02 Jackson Harper <[email protected]>
  122. * Control.cs: Setting focus needs to go through the whole
  123. selection mechanism.
  124. 2006-08-02 Chris Toshok <[email protected]>
  125. * PrintPreviewDialog.cs: change MinimumSize to use
  126. base.MinimumSize so it works.
  127. 2006-08-02 Peter Dennis Bartok <[email protected]>
  128. * TextControl.cs:
  129. - UpdateCaret: Added sanity check in case caret isn't defined yet
  130. - Line.Delete: Now updating selection and caret markers if we're
  131. transfering a node (Properly fixes #78323)
  132. - SetSelectionEnd: Added sanity check
  133. * TextBoxBase.cs: Removed broken attempt to fix #78323
  134. 2006-08-01 Chris Toshok <[email protected]>
  135. * PrintPreviewDialog.cs: the CancelEventArgs stuff surrounding the
  136. Close() call is handled in Form, not here.
  137. 2006-08-01 Chris Toshok <[email protected]>
  138. * Theme.cs, ThemeWin32Classic.cs: fix the PrintPreviewControl
  139. layout/rendering.
  140. * PrintPreviewDialog.cs: add scrollbars, and add an image cache
  141. for sizes < 100% zoom. The code now aggressively attempts to keep
  142. from calling document.Print (), and tries not to use the scaling
  143. g.DrawImage whenever possible (it still does if you scale to >
  144. 100%, since usually that involves huge images).
  145. * PrintPreviewControl.cs: hook up the close button.
  146. 2006-08-01 Jonathan Pobst <[email protected]>
  147. * ColumnClickEventHandler.cs, DrawItemEventHandler.cs,
  148. ItemChangedEventHandler.cs, ItemCheckEventHandler.cs,
  149. ItemDragEventHandler.cs, LabelEditEventHandler.cs,
  150. LinkClickedEventHandler.cs, LinkLabelLinkClickedEventHandler.cs,
  151. MeasureItemEventHandler.cs, MethodInvoker.cs, PaintEventHandler.cs,
  152. PropertyTabChangedEventHandler.cs, PropertyValueChangedEventHandler.cs,
  153. SelectedGridItemChangedEventHandler.cs, ToolBarButtonClickEventHandler.cs:
  154. Removed [Serializable] for 2.0 Event Handlers.
  155. 2006-07-31 Jackson Harper <[email protected]>
  156. * TextBoxBase.cs: Make ShowSelection invalidate when changed.
  157. * TextControl.cs: Uncomment out the body of this method.
  158. 2006-07-31 Alexander Olk <[email protected]>
  159. * XplatUIX11.cs: Use the correct cursor shapes for arrow and default
  160. standard cursors.
  161. 2006-07-31 Peter Dennis Bartok <[email protected]>
  162. * TextBoxBase.cs: Added internal property ShowSelection to allow controls
  163. that embed TextBox and need selections visible even if textbox is not
  164. focused to enforce that behaviour.
  165. * TextControl.cs (Draw): Use ShowSelection instead of has_focus to determine
  166. selection drawing
  167. 2006-07-31 Peter Dennis Bartok <[email protected]>
  168. * TextControl.cs:
  169. - Added new SetSelectionStart/SetSelectionEnd overloads
  170. - Fixed viewport width assignment to be accurate
  171. - Adjusted alignment line shift calculations to allow cursor on right
  172. aligned lines to be always visible at the right border (like MS)
  173. * TextBoxBase.cs:
  174. - SetBoundsCore: Re-adjust caret location after resize (Fixes #78323)
  175. - TextBoxBase_SizeChanged: recalculating canvas on size changes
  176. - CalculateScrollBars: Use ViewPort size instead of window size, to
  177. properly consider space occupied by the border and scrollbars
  178. (Fixes #78661)
  179. - hscroll_ValueChanged, vscroll_ValueChanged: Fixed scroll
  180. calculations; no longer leaves artifacts
  181. - CaretMoved: Adjusted window scrolling to match MS and fixed several
  182. calculation bugs (Still missing right/center align calculations)
  183. 2006-07-31 Peter Dennis Bartok <[email protected]>
  184. * XPlatUIWin32.cs: Made ScrollRectEx a bit more flexible, and removed
  185. use of both scroll rect and clip rect, as they do the same.
  186. 2006-07-31 Peter Dennis Bartok <[email protected]>
  187. * Control.cs (WM_CHAR WndProc): 2.0 profile allows changing the key
  188. in the event handler (fixes #78912)
  189. 2006-07-31 Chris Toshok <[email protected]>
  190. * ThemeWin32Classic.cs: use grid.RowsCount here instead of
  191. grid.ListManager.Count, since grid.ListManager might be null.
  192. This of course begs the question "why are we drawing rows for a
  193. grid with no list manager (and therefor no rows)?" Fixes the
  194. crash in bug #78929.
  195. 2006-07-31 Chris Toshok <[email protected]>
  196. * RelatedPropertyManager.cs: Don't always chain up to the parent
  197. ctor. instead, call SetDataSource if the parent's position is !=
  198. -1. Fixes the crash in #78822.
  199. 2006-07-31 Chris Toshok <[email protected]>
  200. * DataGrid.cs (get_ListManager): use field instead of property
  201. accessors for datasource and datamember.
  202. (RowsCount): make internal again.
  203. (OnMouseDown): end edits before resizing columns/rows.
  204. (OnMouseUp): restart edits after resizing columns/rows.
  205. 2006-07-30 Peter Dennis Bartok <[email protected]>
  206. * XplatUIX11.cs: Default cursor cannot be 0 or it will not get set.
  207. This fixes the situation where the last set cursor is displayed
  208. whenever the mouse is over scrollbars.
  209. 2006-07-30 Carlos Alberto Cortez <[email protected]>
  210. * PrintDialog.cs: Fix the behaviour of PrinterSettings and
  211. Document properties, as well as initial values.
  212. 2006-07-29 Peter Dennis Bartok <[email protected]>
  213. * XplatUIWin32.cs (SetBorderStyle): Setting both border
  214. and ClientEdge results in a 3-pixel border, which is
  215. wrong.
  216. 2006-07-28 Jackson Harper <[email protected]>
  217. * TreeNodeCollection.cs: Fix the clear method.
  218. - Fix the Shrink also
  219. 2006-07-27 Jackson Harper <[email protected]>
  220. * TreeView.cs: Make sure the visible order is computed when we
  221. attempt to size the scrollbars (for trees that mess with the
  222. scrolling when they shouldn't.
  223. - Make sure to give the scrollbars valid values.
  224. 2006-07-26 Peter Dennis Bartok <[email protected]>
  225. * XplatUIX11.cs: Move motion compression code to where it
  226. has less performance impact
  227. 2006-07-26 Jackson Harper <[email protected]>
  228. * UpDownBase.cs: When the control is selected make the child
  229. controls non selectable, so that a click on them won't do a
  230. focus/unfocus cycle.
  231. - Don't give focus to the text box when the spinner is selected.
  232. * XEventQueue.cs: Peek on both the x11 queue and the lock queue.
  233. 2006-07-26 Chris Toshok <[email protected]>
  234. * ThemeWin32Classic.cs: add print preview rendering. I'm not
  235. satisfied with this solution. If the bitmaps are small, we should
  236. just cache them in the PrintPreviewDialog and draw them here.
  237. Also, the layout is broken for the 2-up and 3-up cases.
  238. * Theme.cs: add PrintPReviewControlPaint.
  239. * PrintPreviewDialog.cs: first pass implementation.
  240. * PrintPreviewControl.cs: first pass implementation. No
  241. scrollbars yet.
  242. * PrintDialog.cs: only validate fields if that particular portion
  243. of the UI is enabled. Also, set the document's controller to a
  244. PrintControllerWithStatusDialog wrapping the document's print
  245. controller.
  246. * PrintControllerWithStatusDialog.cs: if we're printing to a file,
  247. bring up a SaveFileDialog (i hope we don't want to match the
  248. behavior of the crappy windows file entry) and set the
  249. PrinterSettings.PrintFileName accordingly.
  250. 2006-07-26 Jackson Harper <[email protected]>
  251. * ContainerControl.cs: Add a field that disables auto selecting
  252. the next control in a container when the container is activated.
  253. * UpDownBase.cs: Don't select the text box when the up down is
  254. selected.
  255. 2006-07-26 Peter Dennis Bartok <[email protected]>
  256. * XEventQueue.cs: Added methods for peeking (used for compression
  257. of successive events)
  258. * XplatUIX11.cs (GetMessage): We're now compressing consecutive
  259. mouse move events (fixes #78732)
  260. 2006-07-25 Jackson Harper <[email protected]>
  261. * UpDownBase.cs: Use an internal class for the textbox so that we
  262. can control focus. the updown control should always have focus,
  263. if either the text area or the buttons are clicked.
  264. - Send the key messages to the textbox, since it never actually
  265. has focus
  266. - Activate and decativate the textbox caret.
  267. 2006-07-24 Jackson Harper <[email protected]>
  268. * Control.cs: Use the directed select when selecting a control,
  269. this way the container controls override will get called and the
  270. whole ActiveControl chain will get triggered. TODO: probably need
  271. to make sure this gets done everywhere instead of the old
  272. Select(Control).
  273. * ContainerControl.cs: Implement the directed Select method to
  274. find and activate the correct child control.
  275. 2006-07-22 Mike Kestner <[email protected]>
  276. * Form.cs: use Control.MousePosition for NCLBUTTONDOWN in the menu
  277. menu handling code so that clicks without a grab work too.
  278. [Fixes #78914]
  279. 2006-07-22 Alexander Olk <[email protected]>
  280. * FileDialog.cs: Enable the BackButton when dirstack has one element.
  281. Added some small optimizations.
  282. 2006-07-21 Matt Hargett <[email protected]>
  283. * Control.cs: Implemented 2.0 MinimumSize/MaximumSize properties
  284. 2006-07-21 Peter Dennis Bartok <[email protected]>
  285. * Control.cs (GetNextControl): Fixes to make all of Jackson's unit
  286. tests pass and match MS in some strange border cases.
  287. 2006-07-21 Chris Toshok <[email protected]>
  288. * ThemeWin32Classic.cs: handle drawing of the relation links and
  289. parent row buttons.
  290. * Theme.cs: change args to DataGridPaintParentRow.
  291. * DataGrid.cs: Don't use controls for the relation links and
  292. parent buttons, so we have to handle all their interactions in
  293. MouseMove, MouseDown, MouseUp, etc. Also, store a lot more stuff
  294. when we're navigating through child tables, so we can reinstate
  295. selection, expanded state, current cell, etc.
  296. 2006-07-20 Chris Toshok <[email protected]>
  297. * ToolBar.cs: When we redraw a button, for whatever reason,
  298. there's no reason to redraw the entire toolbar. Also, don't call
  299. Control.Refresh from within Redraw, as it's much heavier than
  300. Invalidate (which is really what we want).
  301. 2006-07-20 Chris Toshok <[email protected]>
  302. * DataGrid.cs, CurrencyManager.cs, DataGridColumnStyle.cs,
  303. DataGridTextBoxColumn.cs, DataGridTextBox.cs,
  304. ThemeWin32Classic.cs, ListControl.cs: After staring at stack
  305. traces from within a debug IBindingList datasource
  306. (in mono/winforms/datagrid) for *days*, I've finally gotten things
  307. to work in a similar fashion.
  308. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  309. * ListBox.cs: Don't call Sort () when setting
  310. the Sorted property to false (avoid an unnecessary sort).
  311. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  312. * ListControl.cs: DataSource should throw an ArgumentException
  313. instead of a normal exception when the argument is not of the
  314. correct type.
  315. 2006-07-20 Mike Kestner <[email protected]>
  316. * Control.cs: add InternalPreProcessMessage to allow us to steal
  317. key events before MWF gets its paws on them. Adapted from a
  318. suggestion by eno.
  319. * ToolBar.cs: add GotLostFocus handing for flat toolbars, with
  320. up/down/left/right navigation. Override the new internal control
  321. method to steal the events since they never make it to WndProc.
  322. * ToolBarButton.cs: don't worry about pushed when setting hilight
  323. since the drawing code prefers pushed to hilight. Invalidate on
  324. Hilight changes. Fixes #78547 and #78525.
  325. 2006-07-20 Peter Dennis Bartok <[email protected]>
  326. * ScrollableControl.cs: Consider AutoScrollMinSize when calculating
  327. the canvas size. Fixes #78868
  328. 2006-07-20 Peter Dennis Bartok <[email protected]>
  329. * Splitter.cs: Track requested split position until first layout
  330. is performed. Fixes #78871
  331. 2006-07-20 Peter Dennis Bartok <[email protected]>
  332. * Application.cs: Removed code that forces 1.x for the version
  333. number if the version started with 0. Not sure why that code was
  334. there and I couldn't find any bugs that indicated we needed it.
  335. Fixes #78869
  336. 2006-07-20 Alexander Olk <[email protected]>
  337. * ThemeWin32Classic.cs: Don't throw a NotImplementedException in
  338. ResetDefaults(), just write some output to the console until it's
  339. implemented. Fixes bug #78907 for now. Eliminated two warnings.
  340. 2006-07-19 Jonathan Chambers <[email protected]>
  341. * PropertyGridView.cs: set StartPosition of drop down forms
  342. so they appear in correct initial spot. Fixes #78190.
  343. 2006-07-19 Mike Kestner <[email protected]>
  344. * ThemeWin32Classic.cs: use parent background color when drawing
  345. flat toolbars. Restructure the conditionals to make sure non-flat
  346. non-Divider toolbars are filled too. Fixes #78837.
  347. 2006-07-19 Mike Kestner <[email protected]>
  348. * ListBox.cs: Sort on collection changes even if the handle
  349. isn't created yet. Fixes #78813.
  350. 2006-07-18 Carlos Alberto Cortez <[email protected]>
  351. * ListControl.cs: DisplayMember should never be null,
  352. and now we assign String.Empty when null is passed to it (this
  353. is the .Net way).
  354. 2006-07-17 Mike Kestner <[email protected]>
  355. * ListViewItem.cs: restructure Font and subitem Font handling
  356. to hold a specific font and refer back to owner on null.
  357. Fixes #78761.
  358. 2006-07-17 Mike Kestner <[email protected]>
  359. * ToolBar.cs: bandaid for side-effect of previous patch which was
  360. discarding explicit heights for non-AutoSize toolbars. Need to
  361. extend my format tester to deal with AutoSize=false. Fixes #78864.
  362. 2006-07-15 Jackson Harper <[email protected]>
  363. * LabelEditTextBox.cs:
  364. * TreeView.cs: Use a new LabelEdit class for node editing, this
  365. class automatically 'closes' itself when it gets the enter key or
  366. loses focus.
  367. - Use the client rectangle when setting the trees scrollbars, so
  368. border style is taken into account.
  369. 2006-07-14 Jackson Harper <[email protected]>
  370. * TreeNode.cs:
  371. * TreeView.cs: Make the editing work similar to MSs, firing the
  372. events correctly and ending edits correctly.
  373. 2006-07-14 Mike Kestner <[email protected]>
  374. * ToolBarButton.cs:
  375. * ToolBar.cs: layout restructuring and redraw enhancements to support
  376. formatting changes gracefully, like setting TextAlign, ImageList,
  377. ButtonSize, and Appearance. Handles explicit button sizing quirks
  378. of the MS controls. Things like flat toolbars ignoring button size
  379. but becoming constant sized at the largest button's size. Normal
  380. toolbars with an image set cannot be shrunk smaller than the image,
  381. but text can be clipped/ignored.
  382. * ThemeWin32Classic.cs: don't draw text if text_rect height or width
  383. is zero. Seems like DrawString should be smart enough to not put
  384. anything on screen though. Also trim labels and ellipsize at the char
  385. boundary, not word.
  386. Fixes #78711 and #78483.
  387. 2006-07-14 Alexander Olk <[email protected]>
  388. * FolderBrowserDialog.cs: Disable "New Folder" button and
  389. "New Folder" contextmenu menuitem if a folder like "My Computer"
  390. is selected.
  391. 2006-07-14 Alexander Olk <[email protected]>
  392. * FileDialog.cs: Don't create a new folder in "MyComputer" folder.
  393. * FolderBrowserDialog.cs:
  394. - Use MWFConfig to store and read size and position settings
  395. - Added code to create a new folder (button or context menu).
  396. Use TreeView labeledit to change the name of the new folder.
  397. 2006-07-14 Jackson Harper <[email protected]>
  398. * TreeView.cs: Raise the OnAfterLabelEdit event correctly. Also,
  399. when the tree is scrolled we end editing.
  400. 2006-07-14 Alexander Olk <[email protected]>
  401. * ThemeWin32Classic.cs: Fixed position of CPDrawScrollButton Up and
  402. Down arrows
  403. 2006-07-14 Jonathan Pobst <[email protected]>
  404. WebBrowserProgressChangedEventHandler.cs, BindingCompleteEventArgs.cs,
  405. BindingCompleteEventHandler.cs, BindingManagerDataErrorEventArgs.cs,
  406. BindingManagerDataErrorEventHandler.cs, CacheVirtualItemsEventArgs.cs,
  407. CacheVirtualItemsEventHandler.cs, ColumnReorderedEventArgs.cs,
  408. ColumnReorderedEventHandler.cs, ColumnWidthChangedEventArgs.cs,
  409. ColumnWidthChangedEventHandler.cs, ColumnWidthChangingEventArgs.cs,
  410. ColumnWidthChangingEventHandler.cs, FormClosedEventArgs.cs,
  411. FormClosedEventHandler.cs, FormClosingEventArgs.cs,
  412. FormClosingEventHandler.cs, ItemCheckedEventArgs.cs,
  413. ItemCheckedEventHandler.cs, ListControlConvertEventArgs.cs,
  414. ListControlConvertEventHandler.cs, ListViewItemMouseHoverEventArgs.cs,
  415. ListViewItemMouseHoverEventHandler.cs, ListViewItemSelectionChangedEventArgs.cs,
  416. ListViewItemSelectionChangedEventHandler.cs,
  417. ListViewVirtualItemsSelectionRangeChangedEventArgs.cs,
  418. ListViewVirtualItemsSelectionRangeChangedEventHandler.cs,
  419. MaskInputRejectedEventArgs.cs, MaskInputRejectedEventHandler.cs,
  420. PopupEventArgs.cs, PopupEventHandler.cs, PreviewKeyDownEventArgs.cs,
  421. PreviewKeyDownEventHandler.cs, RetrieveVirtualItemEventArgs.cs,
  422. RetrieveVirtualItemEventHandler.cs, SearchForVirtualItemEventArgs.cs,
  423. SearchForVirtualItemEventHandler.cs, SplitterCancelEventArgs.cs,
  424. SplitterCancelEventHandler.cs, TabControlCancelEventArgs.cs,
  425. TabControlCancelEventHandler.cs, TabControlEventArgs.cs,
  426. TabControlEventHandler.cs, TableLayoutCellPaintEventArgs.cs,
  427. TableLayoutCellPaintEventHandler.cs, ToolStripDropDownClosedEventArgs.cs,
  428. ToolStripDropDownClosedEventHandler.cs, ToolStripDropDownClosingEventArgs.cs,
  429. ToolStripDropDownClosingEventHandler.cs, TreeNodeMouseClickEventArgs.cs,
  430. TreeNodeMouseClickEventHandler.cs, TreeNodeMouseHoverEventArgs.cs,
  431. TreeNodeMouseHoverEventHandler.cs, TypeValidationEventArgs.cs,
  432. TypeValidationEventHandler.cs, WebBrowserDocumentCompletedEventArgs.cs,
  433. WebBrowserDocumentCompletedEventHandler.cs, WebBrowserNavigatedEventArgs.cs,
  434. WebBrowserNavigatedEventHandler.cs, WebBrowserNavigatingEventArgs.cs,
  435. WebBrowserNavigatingEventHandler.cs,
  436. WebBrowserProgressChangedEventArgs.cs: New 2.0 Event Handlers
  437. 2006-07-14 Jonathan Pobst <[email protected]>
  438. MergeAction.cs, PowerLineStatus.cs, PowerState.cs, PreProcessControlState.cs,
  439. RichTextBoxLanguageOptions.cs, ScreenOrientation.cs, ScrollOrientation.cs,
  440. SearchDirectionHint.cs, SystemParameter.cs, TabControlAction.cs,
  441. TableLayoutPanelCellBorderStyle.cs, TextDataFormat.cs, TextImageRelation.cs,
  442. ToolStripDropDownCloseReason.cs, ToolStripDropDownDirection.cs,
  443. ToolStripGripDisplayStyle.cs, ToolStripGripStyle.cs,
  444. ToolStripItemAlignment.cs, ToolStripItemDisplayStyle.cs,
  445. ToolStripItemImageScaling.cs, ToolStripItemOverflow.cs,
  446. ToolStripItemPlacement.cs, ToolStripLayoutStyle.cs,
  447. ToolStripManagerRenderMode.cs, ToolStripRenderMode.cs,
  448. ToolStripStatusLabelBorderSides.cs, ToolStripTextDirection.cs,
  449. ToolTipIcon.cs, TreeNodeStates.cs, TreeViewDrawMode.cs,
  450. TreeViewHitTestLocations.cs, UnhandledExceptionMode.cs, ValidationConstraints.cs,
  451. WebBrowserEncryptionLevel.cs, WebBrowserReadyState.cs, WebBrowserRefreshOption.cs,
  452. ArrowDirection.cs, AutoCompleteMode.cs, AutoCompleteSource.cs, AutoSizeMode.cs,
  453. AutoValidate.cs, BatteryChargeStatus.cs, BindingCompleteContext.cs,
  454. BindingCompleteState.cs, CloseReason.cs, ColumnHeaderAutoResizeStyle.cs,
  455. ControlUpdateMode.cs, DataSourceUpdateMode.cs, DockingBehavior.cs,
  456. FixedPanel.cs, FlowDirection.cs, GetChildAtPointSkip.cs,
  457. HtmlElementInsertionOrientation.cs, InsertKeyMode.cs, ListViewHitTestLocations.cs,
  458. ListViewItemStates.cs, MaskFormat.cs: Added
  459. 2006-07-13 Jonathan Chambers <[email protected]>
  460. * PropertyGridView.cs: Fix keyboard navigation of drop down.
  461. Patch from eno for bug 78558.
  462. 2006-07-13 Jackson Harper <[email protected]>
  463. * TreeView.cs: When an edit is finished make sure that the
  464. selected node is visible.
  465. - When setting the top/bottom use the scrollbars is_visible, so
  466. everything will be set correctly even if the tree isn't visible
  467. yet.
  468. 2006-07-13 Jackson Harper <[email protected]>
  469. * ComboBox.cs: Revert the item->index part of my previous patch.
  470. * TreeView.cs: Use LostFocus instead of Leave for detecting when
  471. the edit box has lost focus (duh).
  472. - Just make the edit box not visible when we get return, that will
  473. take the focus, which will call EndEdit
  474. * TreeNode.cs When we start editing, notify the treeview.
  475. 2006-07-12 Jackson Harper <[email protected]>
  476. * ComboBox.cs: Clear out old items before setting the item list.
  477. This prevents databound controls from having their items added
  478. twice.
  479. - Switch the combobox to use indices whereever possible instead of
  480. using Item's. This allows usto navigate through lists that have
  481. more then one item with the same string value (ie a, b, b, a).
  482. - Scroll the listboxes scrollbar when a non visible item is
  483. highlighted
  484. - Allow keypress to cycle through all the possible values. For
  485. example if you have b1, b2, b3 and hold down the B key all the
  486. values will be cycled through.
  487. 2006-07-12 Jackson Harper <[email protected]>
  488. * TextBoxBase.cs:
  489. * ListView.cs: Don't need to override SETFOCUS anymore, we can do
  490. this using the internal methods.
  491. * Control.cs: Add OnGotFocusInternal. A new method that allows
  492. controls to "override" OnGotFocus and change focus behavior if
  493. needed.
  494. - Same thing for LostFocus
  495. * ComboBox.cs: Pass off focus to the text control properly.
  496. 2006-07-12 Alexander Olk <[email protected]>
  497. * FileDialog.cs: Added GetFoldersOnly to MWFVFS
  498. * FolderBrowserDialog.cs: Almost a complete rewrite.
  499. - Better support for Environment.Specialfolders
  500. - Added support for MWFVFS
  501. - Made setting SelectedPath work
  502. 2006-07-12 Jackson Harper <[email protected]>
  503. * Control.cs: Optimze getting all the controls.
  504. 2006-07-11 Jackson Harper <[email protected]>
  505. * ContainerControl.cs: Override SETFOCUS in the container control,
  506. so that it is not selected on mouse click.
  507. 2006-07-11 Peter Dennis Bartok <[email protected]>
  508. * LinkLabel.cs: Hack to handle Shift-Tabbing to the linklabel.
  509. Hopefully we will have a better way once all of focus is complete.
  510. 2006-07-11 Peter Dennis Bartok <[email protected]>
  511. * ThemeWin32Classic.cs: Commented out some debug code and fixed
  512. a compile error with csc.
  513. 2006-07-11 Jackson Harper <[email protected]>
  514. * Control.cs: When hiding a control only select the next control
  515. if the current control was focused.
  516. - Don't handle enter/leave when setting/killing focus, this is
  517. done by the container control.
  518. - Remove is_selected, it's not needed anymore.
  519. - Add utility methods for selecting a child control, and for
  520. firing the Enter/Leave events.
  521. * ContainerControl.cs: When a control is activated fire the
  522. enter/leave events.
  523. - Don't wrap when processing the tab key, so that focus can be
  524. moved outside of the container.
  525. - Use the correct active control
  526. 2006-07-11 Jackson Harper <[email protected]>
  527. * ComboBox.cs: Remove some debug code that was blinding me.
  528. * UpDownBase.cs: These controls actually aren't implicit, they are
  529. visible to the user.
  530. 2006-07-10 Chris Toshok <[email protected]>
  531. * DataGrid.cs: move back to the is_adding boolean field. god i
  532. hate this is_editing/is_adding/is_changing stuff.
  533. 2006-07-10 Chris Toshok <[email protected]>
  534. * DataGridTableStyle.cs: just check if the property type is bool.
  535. if it is, use DataGridBoolColumn, otherwise DataGridTextBoxColumn.
  536. Don't use CanRenderType.
  537. * DataGridTextBoxColumn.cs: set the value to DBNull.Value, not "",
  538. if our text == NullText. Remove CanRenderType.
  539. * DataGridBoolColumn.cs: nuke CanRenderType.
  540. * DataGrid.cs: reenable some code to end the current edit inside
  541. of set_CurrentCell. This fixes the other 1.1.16 regression.
  542. Also, remove rowhdrs_maxheight and just use rowhdrs_area.Height.
  543. Also, remove the visible_row_count arg from CalcRowHeaders, since
  544. we don't need to worry about the actual height of the area.
  545. 2006-07-10 Chris Toshok <[email protected]>
  546. * DataGridTextBoxColumn.cs: if when we Commit we're in navigate
  547. mode, just return.
  548. * DataGridTextBox.cs: change "isedit" to "isnavigating" to reflect
  549. the real sense of the IsInEditOrNavigateMode property (true =
  550. navigate, false = edit). Also, update OnKeyPress to reflect this.
  551. * DataGridTableStyle.cs (CreateColumnsForTable): even if the
  552. column style exists, we still need to set its property descriptor
  553. to match up with our list manager.
  554. 2006-07-10 Chris Toshok <[email protected]>
  555. * ThemeWin32Classic.cs: implement the new row/header painting
  556. approach. The parent row painting will likely go away and
  557. replaced with label controls, but the rest seems to work ok (and
  558. efficiently).
  559. * Theme.cs: change the way we draw datagrid rows. we don't draw
  560. the row headers as a block now. Instead we draw them in the
  561. normal draw-row loop. Add some calls for drawing parent rows and
  562. relation rows.
  563. * DataGridTableStyle.cs: add tons of ArgumentExceptions if this is
  564. a default table style. Set the defaults from ThemeEngine.Current,
  565. not SystemColors. Fix lots of misc issues with property setters.
  566. * DataGrid.cs: move loads of style information out of this class
  567. as it's being duplicated with DataGridTableStyle. keep track of a
  568. special DataGridTableStyle for the properties we used to mirror
  569. here. Switch all the style properties to access this table style
  570. instead of instance fields of this class. Also add a internal
  571. class to represent parent rows (more needs to be stored here, like
  572. the selection state from the parent table, as well as the
  573. expansion state.) Also, for datasources with relations, do the
  574. right thing for collapse/expand, and add support for the
  575. navigation/parent row buttons.
  576. Lastly, fix the crash in the 1.1.16 build.
  577. * GridTableStylesCollection.cs: make the explicit interface
  578. implementations call the class's methods as opposed to duplicating
  579. them.
  580. * DataGridTextBoxColumn.cs: set the x/y offset of the textfield to
  581. 0 so the text doesn't jump around when we move the cursor.
  582. 2006-07-10 Jackson Harper <[email protected]>
  583. * TextBoxBase.cs:
  584. * ListBox.cs: Match MS's ToString (this makes debugging focus
  585. stuff infinitely easier).
  586. 2006-07-10 Jackson Harper <[email protected]>
  587. * Control.cs (SelectNextControl): When checking the control's
  588. parent use this instead of ctrl.parent so that null can be passed
  589. to SelectNextControl. (I have unit tests for this).
  590. - Remove unused var.
  591. 2006-07-10 Chris Toshok <[email protected]>
  592. * CurrencyManager.cs: correct one regression, the removal of the
  593. finalType field. Also, add a MonoTODO on CanAddRows, implement
  594. Refresh() correctly, and fix some event emission in
  595. ListChangedHandler.
  596. 2006-07-07 Alexander Olk <[email protected]>
  597. * FileDialog.cs: Don't use brackets for new folders if they exist
  598. under *nix. Instead use -(number of existing folders +1).
  599. 2006-07-07 Alexander Olk <[email protected]>
  600. * FileDialog.cs:
  601. - Fixed really nasty bug #78771
  602. - Don't block the whole GUI when reading directories with a lot of
  603. entries. Use an other thread instead and call BeginInvoke to
  604. update the ListView in MWFFileView
  605. 2006-07-07 Chris Toshok <[email protected]>
  606. * Control.cs (Dispose): release any Capture when disposing.
  607. 2006-07-07 Chris Toshok <[email protected]>
  608. * LinkLabel.cs (Select): if we chain up to the parent, set
  609. focused_index to -1 so we'll search for the first available link
  610. the next time the user tabs into us. Also, if the direction is
  611. backward and focused_index == -1, start the search from the last
  612. element.
  613. 2006-07-07 Chris Toshok <[email protected]>
  614. * LinkLabel.cs (CreatePiecesFromText): if the link's range piece
  615. is beyond the end of the text, don't do anything.
  616. (CreateLinkPieces): set our ControlStyles.Selectable based on
  617. whether or not we have any links.
  618. (Link.Invalidate): use a loop instead of foreach.
  619. (Link.set_Start): null out owner.sorted_links so it'll be
  620. recreated by CreateLinkPieces.
  621. 2006-07-06 Chris Toshok <[email protected]>
  622. * LinkLabel.cs: revert the SetStyle change.
  623. 2006-07-06 Chris Toshok <[email protected]>
  624. * LinkLabel.cs (.ctor): SetStyle Selectable to true.
  625. (OnEnableChanged): s/Refresh/Invalidate
  626. (OnGotFocus): if we have a focused index already, refocus it (so
  627. if we mouse out/in to the window it'll focus the right link).
  628. (OnKeyDown): move the tab handling out of here.
  629. (OnLostFocus): don't set focused_index to -1, so we can refocus it
  630. when we lose focus.
  631. (OnMouseDown): don't Capture here - Control handles it. Also,
  632. focus the active link.
  633. (OnMouseUp): don't deal with Capture.
  634. (OnPaintBackgroundInternal): remove.
  635. (OnTextAlignChanged): CreateLinkPieces before calling the
  636. superclass's method.
  637. (OnTextChanged): call CreateLinkPieces before calling superclass's
  638. method.
  639. (ProcessDialogKey): handle Tab here, and call Select(bool,bool) to
  640. move around.
  641. (Select): implement this, moving the selection between different
  642. links, and call parent.SelectNextControl if we don't have another
  643. link to focus in the given direction.
  644. (CreateLinkPieces): call Invalidate instead of Refresh.
  645. 2006-07-06 Chris Toshok <[email protected]>
  646. * ThemeWin32Classic.cs: DrawLinkLabel changes to accomodate the
  647. new LinkLabel internals.
  648. * LinkLabel.cs: fairly major rewrite. get rid of all the loops
  649. over pieces looking for active/focused/etc links. also, deal with
  650. runs of text (and links) with embedded \n's in them, and use
  651. MeasureCharacterRanges instead of MeasureString to figure out the
  652. regions text occupies. Lastly, do the usual s/Refresh/Invalidate
  653. two-step.
  654. 2006-07-04 Jackson Harper <[email protected]>
  655. * XplatUIX11.cs: Enable key auto repeat. If the user doesn't have
  656. XKB or key auto repeat, do it manually. Without key auto repeat,
  657. when a key is held down we get key press, key release, key press,
  658. key release, ... with auto repeat we get key press, key press, key
  659. press ..., and then a release when the key is actually released.
  660. 2006-07-03 Jackson Harper <[email protected]>
  661. * TabControl.cs:
  662. * ThemeWin32Classic.cs: Tabs do not obey normal background color
  663. rules, they are always control color regardless of the background
  664. color.
  665. 2006-07-02 Alexander Olk <[email protected]>
  666. * FileDialog.cs: Added internal class MWFConfig.
  667. Removed Registry support and replaced it with support for the new
  668. MWFConfig class. See MWFConfig comments for more information.
  669. 2006-06-30 Alexander Olk <[email protected]>
  670. * ThemeWin32Classic.cs: Added RadioButton and CheckBox focus
  671. rectangle. Added some patches from eno from bug #78490 and fixed
  672. the arrow position for small up and down CPDrawScrollButtons.
  673. 2006-06-30 Jackson Harper <[email protected]>
  674. * InternalWindowManager.cs: Remove some debug code.
  675. * Form.cs: When an MdiParent is set to null, the window is
  676. "detatched" and becomes a normal window.
  677. * MdiClient.cs: Don't bring the new child form to the front until
  678. it is activated (setting it as active does this), this makes the
  679. previously active forms titlebar get redrawn as inactive.
  680. 2006-06-29 Peter Dennis Bartok <[email protected]>
  681. * PrintDialog.cs: Labels need a tab index too, otherwise they overlap
  682. with later controls
  683. 2006-06-29 Mike Kestner <[email protected]>
  684. * MenuAPI.cs: handle arrow keys in keynav state. Go active on down
  685. arrow in keynav state. Fixes #78682.
  686. 2006-06-28 Atsushi Enomoto <[email protected]>
  687. * PrintDialog.cs: Reorder, relayout, remove extra code, set tab
  688. order (fixes #78393)
  689. 2006-06-28 Jonathan Pobst <[email protected]>
  690. * AccessibleRole.cs, AccessibleStates.cs, AnchorStyles.cs,
  691. ArrangeDirection.cs, ArrangeStartingPosition.cs, ColorDepth.cs,
  692. ControlStyles.cs, DataGridViewImageCellLayout.cs, DrawMode.cs,
  693. FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs,
  694. GridItemType.cs, HelpNavigator.cs, ImeMode.cs, ItemActivation.cs,
  695. ItemBoundsPortion.cs, Keys.cs, ListViewAlignment.cs,
  696. PictureBoxSizeMode.cs, PropertySort.cs, SelectionMode.cs,
  697. Shortcut.cs, SizeGripStyle.cs, SortOrder.cs, StructFormat.cs,
  698. TextFormatFlags.cs, ToolBarAppearance.cs, ToolBarButtonStyle.cs,
  699. ToolBarTextAlign.cs, View.cs: 2.0 Changes to existing 1.x
  700. enumerations (FlagsAttribute, SerializableAttribute, added/removed
  701. values)
  702. 2006-06-28 Mike Kestner <[email protected]>
  703. * ComboBox.cs: implement scroll wheel support. Fixes #78360.
  704. 2006-06-28 Atsushi Enomoto <[email protected]>
  705. * PropertyGrid.cs,
  706. PropertyGridTextBox.cs : explicitly set BackColor to differentiate
  707. item lines from other area (It also makes BackColor consistent and
  708. compatible with .NET). Fixed bug #78564.
  709. 2006-06-28 Jonathan Chambers <[email protected]>
  710. * PropertyGrid.cs: refresh toolbar when PropertySort is set.
  711. Patch from Eno for #78555.
  712. 2006-06-27 Chris Toshok <[email protected]>
  713. * ThemeWin32Classic.cs: s/grid.grid_drawing/grid
  714. * DataGridColumnStyle.cs: same.
  715. * DataGrid.cs: Roll DataGridDrawingLogic.cs into this file.
  716. * DataGridDrawingLogic.cs: nuke.
  717. 2006-06-27 Chris Toshok <[email protected]>
  718. * DataGridTableStyle.cs: clean up the constructors, and build the
  719. list of child relations for this table. I have no idea if this is
  720. where we should be doing it (it probably isn't), but since we're
  721. already iterating over the properties..
  722. * DataGrid.cs: add row resizing. for now we add a DataGridRow
  723. struct and array for keeping track of row information, similar to
  724. what's shown in a hack on
  725. http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx.
  726. * Theme.cs: be consistent about the naming of DataGrid methods,
  727. prefering ColumnWidths and RowHeights over columnsWidths and
  728. RowsHeights.
  729. * ThemeWin32Classic.cs: same, and also add support for variable
  730. sized rows (and the +/- expansion icons for related rows).
  731. 2006-06-27 Peter Dennis Bartok <[email protected]>
  732. * TextBoxBase.cs: Applied Eno's patch from #78660
  733. 2006-06-27 Peter Dennis Bartok <[email protected]>
  734. * Form.cs (ScaleCore): We don't want to scale our form if it's
  735. state is minimized or maximized, but we still need to scale our
  736. child windows. Also, added try/finally block to ensure layout
  737. gets reset (Fixes #78697)
  738. 2006-06-27 Peter Dennis Bartok <[email protected]>
  739. * Control.cs: Added 2.0 Scale(SizeF) method (Fixes 78700)
  740. 2006-06-27 Peter Dennis Bartok <[email protected]>
  741. * Form.cs: Fixed c+p error and added check to resize form if minimum
  742. size is bigger than current size (Fixes #78709)
  743. 2006-06-26 Peter Dennis Bartok <[email protected]>
  744. * ThemeEngine.cs (..ctor): Properly use ToLower() (Fixes #78704)
  745. 2006-06-26 Mike Kestner <[email protected]>
  746. * ComboBox.cs: only do Keypress handling in the combo when there
  747. are items in the collection. Fixes #78710.
  748. 2006-06-26 Chris Toshok <[email protected]>
  749. * Binding.cs: make this work bi-directionally. also, clear up
  750. other mixups between Push/Pull Data (e.g. we're supposed to pull
  751. data when validating).
  752. * BindingManagerBase.cs: trim some fully qualified collection
  753. types.
  754. * PropertyManager.cs (get_IsSuspended): oops, fix this check.
  755. 2006-06-23 Chris Toshok <[email protected]>
  756. * PropertyManager.cs: It appears (according to the unit tests)
  757. that PropertyManager doesn't use
  758. PropertyDescriptor.AddValueChanged to track propery value changes
  759. in its datasource, but uses the same scheme as Binding, where it
  760. looks for a <Property>Changed event and binds to it.
  761. Also, according to the docs, IsSuspended always returns false for
  762. a property manager with a non-null datasource.
  763. 2006-06-22 Peter Dennis Bartok <[email protected]>
  764. * Form.cs: (ShowDialog): If we're returning a forced cancel we still
  765. need to update the actual DialogResult. (Fixes #78613)
  766. 2006-06-22 Peter Dennis Bartok <[email protected]>
  767. * Form.cs (ShowDialog): Release any captures before running the
  768. new message pump (fixes #78680)
  769. 2006-06-22 Mike Kestner <[email protected]>
  770. * ListView.cs: Layout column widths properly in details mode even
  771. if HeaderStyle.None is set. Fixes #78691.
  772. 2006-06-21 Peter Dennis Bartok <[email protected]>
  773. * FileDialog.cs: Fixed taborder to match MS. Fixes #77873 partially.
  774. 2006-06-21 Peter Dennis Bartok <[email protected]>
  775. * Control.cs (ContainsFocus): Using new driver method to get focused
  776. window, instead of trying to use internal tracking var, which can
  777. recursion issues (Fixes #78685)
  778. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  779. XplatUIWin32.cs: Added GetFocus method to return focused window
  780. 2006-06-21 Gonzalo Paniagua Javier <[email protected]>
  781. * ColorDialog.cs: when the mouse button is pressed inside the color
  782. matrix, don't let the cursor move out of it until the button is
  783. released, which is the behavior on windows. Changed 'colours' by
  784. 'colors' to use the same word consistently.
  785. 2006-06-21 Chris Toshok <[email protected]>
  786. * DataGrid.cs: add in some basic navigation stuff (navigating to a
  787. child relation and back, using a stack). Also, remove
  788. GetDataSource and the code that calls it - it's not needed. Also,
  789. track CurrencyManager.ListName's removal.
  790. 2006-06-21 Chris Toshok <[email protected]>
  791. * CurrencyManager.cs: push some of the original type checking from
  792. BindingContext.CreateBindingManager to here, and remove some of
  793. the finalType stuff. Need more tests to make sure I've got the
  794. ListName part right, and we might need more in SetDataSource.
  795. * PropertyManager.cs: add a ctor that takes just the datasource,
  796. and no property name. Make SetDataSource work with a null
  797. property_name, and make Current return the data_source if the
  798. property descriptor is null. this makes 'string foo = "hi";
  799. BindingContext[foo].Current' return "hi" as it should.
  800. * RelatedCurrencyManager.cs: make this code more generic - there's
  801. no reason the parent manager has to be CurrencyManager, and
  802. there's no reason to pass the DataRelation. It suffices to use a
  803. BindingManagerBase and PropetyDescriptor.
  804. * RelatedPropertyManager.cs: make a similar change here.
  805. * BindingContext.cs: make CreateBindingManager the beautiful, tiny
  806. flower I knew it could be.
  807. 2006-06-20 Chris Toshok <[email protected]>
  808. * PropertyManager.cs: the PropertyChangedHandler is invoked when
  809. data in the source has changed and we need to update the control,
  810. so s/PullData/PushData.
  811. * CurrencyManager.cs: Refresh is meant to update the control from
  812. data in the datasource. So, s/PullData/PushData.
  813. * BindingContext.cs: add more ugliness (we weren't handling the
  814. case where data_source = DataTable and data_member = column_name).
  815. * Binding.cs: fix PushData/PullData mixup. Both are interpreted
  816. from the perspective of the datasource. PullData pulls from the
  817. control, PushData pushes to the control.
  818. 2006-06-20 Chris Toshok <[email protected]>
  819. * BindingContext.cs: rewrite the CreateBindingManager code to
  820. handle navigation paths more or less properly. This could
  821. definitely stand some more work, in particular to push the
  822. recursion up to the toplevel. But that relies on fixes in other
  823. places (System.Data comes to mind).
  824. Also, move to a flat hashtable (and encode the twolevel nature of
  825. the dictionary into the hash key). This lets us implement the
  826. IEnumerable.GetEnumerator method.
  827. * RelatedCurrencyManager.cs: new class. Update our view based on
  828. our relation and our parent CurrencyManager's position.
  829. * CurrencyManager.cs: split out some logic from the ctor into
  830. SetView, so it can be called from the new RelatedCurrencyManager
  831. subclass.
  832. * RelatedPropertyManager.cs: new class. Update our datasource
  833. based on the position of our parent CurrencyManager.
  834. * PropertyManager.cs: split out some logic from the ctor into
  835. SetDataSource, so it can be called from the new RelatedDataSource
  836. subclass. Also, make the Current getter return the value
  837. of the PropertyDescriptor, not the data_source.
  838. * Binding.cs: no need to duplicate the string splitting code here.
  839. 2006-06-19 Peter Dennis Bartok <[email protected]>
  840. * Control.cs:
  841. - set_Enabled: OnEnabledChanged is not called if the inherited state
  842. of the control is not altered, even though we might be changing the
  843. internal state of the control (#78458)
  844. - set_Enabled: (Re)Moved the enabling/disabling of the window to
  845. OnEnabledChanged, to allow easy altering of any child window state
  846. - OnEnabledChanged: Added code to enable/disable driver window state
  847. - OnParentEnabledChanged: Instead of firing the event, call
  848. OnEnabledChanged, which will fire the event and also a) set driver
  849. window state and pass the enabled state to any grandchildren (#78458)
  850. 2006-06-19 Jackson Harper <[email protected]>
  851. * InternalWindowManager.cs: We don't set the cursor explicitly
  852. thats done via the response to NCHITTESTs.
  853. - Don't need to adjust for titlebar heights anymore, the
  854. coordinates are coming in the correct coordinates now (see peters
  855. last patch).
  856. 2006-06-19 Peter Dennis Bartok <[email protected]>
  857. * XplatUIX11.cs (GetMessage): WM_NCxBUTTONx messages were wrongly
  858. being translated relative to whole window, instead of client window.
  859. That caused broken offsets on mouseclick (and caused gas for our
  860. InternalWindowManager)
  861. 2006-06-15 Peter Dennis Bartok <[email protected]>
  862. * TextControl.cs:
  863. - MoveCaret: Implemented PgUp, PgDown, CtrlPgUp and CtrlPgDown
  864. - Undo(): Added replay of cursor move on DeleteChars action; added
  865. calling Undo() again if a recorded cursor move is invalid (to
  866. ensure that some action is performed on Undo)
  867. * TextBoxBase.cs (ProcessKey): Added handling of PgUp and PgDown (#78482)
  868. 2006-06-16 Jackson Harper <[email protected]>
  869. * MdiClient.cs: Instead of just sizing maximized windows when
  870. there is a resize we also have to adjust the Y of minimized
  871. windows, so they stay pinned to the bottom of the mdi container.
  872. - Eliminate separate tracking of the active control, we can just
  873. get this from the controls collection.
  874. - Paint the decorations for the newly activated titlebar so we get
  875. a pretty blue bar.
  876. * InternalWindowManager.cs:
  877. * ThemeWin32Classic.cs: Minimized windows get all three buttons
  878. even if they are a tool window.
  879. 2006-06-15 Peter Dennis Bartok <[email protected]>
  880. * TextControl.cs (Undo): Handle non-existent cursor locations in the
  881. undo buffer, these can happen when text was deleted and the cursor
  882. was recorded first. Since we will also have a recorded cursor
  883. after the delete this is not an issue. (Fixes #78651)
  884. 2006-06-14 Peter Dennis Bartok <[email protected]>
  885. * AccessibleObject.cs: Remove dependence on Control.is_selected;
  886. instead properly track control states internally (allows us to
  887. remove is_selected from Control)
  888. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  889. * ImageListStreamer.cs: correctly generate the 1bpp mask for images
  890. whose width is not a multiple of 8.
  891. 2006-06-13 Jackson Harper <[email protected]>
  892. * MdiClient.cs: Only maximize the next child if the current one
  893. is maximized.
  894. 2006-06-13 Chris Toshok <[email protected]>
  895. * DataGridColumnStyle.cs: Invalidate the column when HeaderText is
  896. modified. Also, guard against grid or grid_drawing being null in
  897. Invalidate.
  898. * DataGrid.cs: Reformat tons of getters/setters. In the
  899. DataMember setter, just call SetNewDataSource instead of
  900. duplicating some of its functionality. In SetNewDataSource, don't
  901. check ListManager for null, since the property getter creates the
  902. object if needed.
  903. * DataGridTableStyle.cs: don't set TableStyle or call
  904. SetDataGridInternal on the column here, it's done in
  905. GridColumnStylesCollection.Add.
  906. * GridColumnStylesCollection.cs: fix all the explicit interface
  907. implementations to just call our methods. Nuke AddInternal() and
  908. move the body of it to Add(). Also, add a call to
  909. column.SetDataGridInternal to Add().
  910. * DataGridTextBoxColumn.cs (.ctors): call this() instead of
  911. base()+duplicate code. Also, use the Format property instead of
  912. format to generate an Invalidate ala MS. Lastly, create the
  913. textbox here, unconditionally.
  914. (set_Format): call Invalidate.
  915. (get_TextBox): no need to call EnsureTextBox.
  916. (Commit): remove the message box.
  917. (Edit) remove the call to EnsureTextBox.
  918. (EndEdit): call HideEditBox instead of ReleaseHostedControl.
  919. (EnterNullValue): no need to check textbox for null.
  920. (HideEditBox): no need to check textbox for null.
  921. (SetDataGridInColumn): add the textbox to the grid's controls.
  922. (EnsureTextBox): nuke.
  923. 2006-06-13 Jackson Harper <[email protected]>
  924. * MdiWindowManager.cs: Hook up to the maximized menus paint event
  925. and redraw the buttons when needed. Unhook when the window is
  926. unmaximized.
  927. * MainMenu.cs: Add an internal Paint event, the mdi window manager
  928. needs this so that it can redraw its buttons when the menu is
  929. repainted.
  930. * InternalWindowManager.cs:
  931. * Form.cs: The method order has changed for DrawMaximizedButtons,
  932. so that it can be a PaintEventHandler.
  933. 2006-06-13 Jackson Harper <[email protected]>
  934. * MdiClient.cs: When we close a maximized mdi window, the next mdi
  935. window is activated and maximized, even if it wasn't before.
  936. - When a new window is activated repaint the decorations of the
  937. old one, so that it no longer has the Active "look" (the blue
  938. titlebar).
  939. * InternalWindowManager.cs: Open up CreateButtons to base classes
  940. so they can recreate the buttons on state changes.
  941. - If a window is maximized give it all three buttons
  942. * MdiWindowManager.cs: Create the titlebar buttons when the state
  943. is changed, this is needed because a toolwindow will not have all
  944. three buttons until it is maximized.
  945. 2006-06-13 Atsushi Enomoto <[email protected]>
  946. * ProgressBar.cs : PerformStep() shouldn't exceed Maximum.
  947. Fixed bug #78609.
  948. 2006-06-12 Jackson Harper <[email protected]>
  949. * KeysConverter.cs: Make sure we handle the Ctrl special case
  950. if its the only key.
  951. 2006-06-12 Jackson Harper <[email protected]>
  952. * Theme.cs: Add a method to get the size of a managed window
  953. toolbar button.
  954. * InternalWindowManager.cs: Remove the ButtonSize property, this
  955. should be retrieved from the theme.
  956. * MdiWindowManager.cs: Get the button size from the theme
  957. * ThemeWin32Classic.cs: Make the method to get the managed window
  958. titlebar button size public.
  959. - Handle the different button sizes of maximized toolwindows
  960. (should match any maximized window).
  961. - Get the titlebar height from the theme, not the WM (which gets
  962. it from the theme).
  963. 2006-06-12 Jackson Harper <[email protected]>
  964. * InternalWindowManager.cs: Handle NC Double Clicks, passing the
  965. event down to the mdi window manager.
  966. - Expose some extra stuff to base classes
  967. - Make sure to end the Capture on an NC Mouse up, so that we can
  968. get double clicks properly, and the sizing doens't stick.
  969. - When doing PointToClient contain it in the workable desktop
  970. area, this prevents windows from changing size when the cursor is
  971. pulled outside of the working area while sizing.
  972. * MdiWindowManager.cs: When we get a double click maximize the
  973. window.
  974. - Reset the cursor after handling mode changes.
  975. 2006-06-12 Peter Dennis Bartok <[email protected]>
  976. * XplatUIX11.cs (WorkingArea): Read the actual workarea for the
  977. current desktop, instead of just assuming a 0, 0 origin. This
  978. is needed for our internal window manager, to know the top
  979. margin of the desktop
  980. 2006-06-12 Chris Toshok <[email protected]>
  981. * DataGrid.cs (set_CurrentCell): concede focus as we move around.
  982. we need this to get rid of the selected background in the bool
  983. column.
  984. (CancelEditing): move the ConcedeFocus call to above the Abort
  985. call. Also, set is_changing to false and invalidate the row
  986. header if we were changing before.
  987. (ProcessKeyPreviewInternal): remove, since noone outside this
  988. class calls it anymore. Roll the code into ProcessKeyPreview.
  989. (EndEdit): remove the internal version.
  990. (InvalidateCurrentRowHeader): make private.
  991. * DataGridBoolColumn.cs: simplify this class a bunch. remove the
  992. Keys.Escape handling (and with it the last call to
  993. DataGrid.EndEdit from outside the class.)
  994. 2006-06-12 Chris Toshok <[email protected]>
  995. * DataGridTextBox.cs (.ctor): isedit defaults to false.
  996. (OnKeyPress): set isedit to true.
  997. (ProcessKeyMessage): remove Keys.Enter handling from here. it's
  998. already handled by the grid.
  999. * DataGrid.cs (set_CurrentCell): more work here. it's still not
  1000. right. ugh.
  1001. (set_DataSource): SetDataSource always returns true, so stop
  1002. putting it in an if statement.
  1003. (EndEdit): get rid of some {}'s
  1004. (ProcessGridKey): return true in case Keys.Escape.
  1005. (ProcessKeyPreviewInternal): only handle KEYDOWN messages.
  1006. (ConnectListManagerEvents,DisconnectListManagerEvents): connect to
  1007. PositionChanged, stopped connecting to CurrentChanged.
  1008. (GetDataSource): simplify this a bunch.
  1009. (SetDataSource): change return type from bool to void.
  1010. (OnListManagerPositionChanged): rename OnListManagerCurrentChanged
  1011. to this, and make sure we don't set ListManager.Position inside
  1012. set_CurrentCell.
  1013. (OnListManagerItemChanged): if we're passed an actual index,
  1014. redraw that row.
  1015. * CurrencyManager.cs (set_Position): don't call PullData here.
  1016. 2006-06-09 Jackson Harper <[email protected]>
  1017. * TreeNode.cs: Recalculate the visible order before doing the
  1018. Expand/Collapse Below calls, because those calls generate an
  1019. expose.
  1020. - Reduce calls to the TreeView property, which is mildly expensive
  1021. by using a local var.
  1022. * Form.cs: Layout the MDI child windows when creating the parent
  1023. form.
  1024. - Don't use the internal constructor anymore
  1025. * MdiClient.cs: use the parent form width/height (if available)
  1026. when laying out the child windows, we do this because the
  1027. mdiclient isn't docked yet when the initial layout is done.
  1028. - Don't need an internal constructor anymore.
  1029. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  1030. * FileDialog.cs: handle access errors when trying to create a folder
  1031. or changing to a directory. No need to initialize out parameters.
  1032. 2006-06-08 Alexander Olk <[email protected]>
  1033. * FileDialog.cs: Append a number when creating a new folder if the
  1034. folder already exists (use parenthesis instead of square brackets)
  1035. 2006-06-08 Alexander Olk <[email protected]>
  1036. * FileDialog.cs:
  1037. - Disabled registry support for windows and added better registry
  1038. error checking for other systems (need to investigate why it
  1039. works perfectly on my system)
  1040. - If a folder already exist show an error MessageBox instead of
  1041. trying to create an indexed name.
  1042. - Fixed a non intentional typo.
  1043. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  1044. * FileDialog.cs: (SetFileName) don't crash if CurrentRealFolder is null.
  1045. 2006-06-08 Alexander Olk <[email protected]>
  1046. * FileDialog.cs: When creating a new folder don't crash if the
  1047. folder already exists.
  1048. 2006-06-08 Alexander Olk <[email protected]>
  1049. * FileDialog.cs: Allmost a complete rewrite.
  1050. - added a "virtual" file system that handles the differences
  1051. between unix and windows file systems (especially the directory
  1052. structure). Moved most of the directory and file handling code
  1053. into the vfs.
  1054. Added vfs classes: MWFVFS, FileSystem, WinFileSystem,
  1055. UnixFileSystem and FSEntry.
  1056. - Recently used folder/directory, size, location and used file names
  1057. (file name ComboBox) are now stored in the registry and get read
  1058. before the dialog shows up (fixes part 6 of bug #78446).
  1059. - Creation of new folders/directories is now possible (context menu
  1060. or ToolBar). Added TextEntryDialog for this that fills in the gap
  1061. until ListView.LabelEdit works.
  1062. - Fixed cursor handling (bug #78527) and focus handling for
  1063. PopupButtonPanel
  1064. - Various "Search in" ComboBox enhancements. The content of the
  1065. dropdown listbox now almost matches ms.
  1066. - Changed the behaviour when the user switches to SpecialFolder
  1067. Recent to show the ListView in View.Details.
  1068. - Beside using the ToolBar to change the View property of the
  1069. file ListView it is now possible to use the context menu too.
  1070. 2006-06-08 Alexander Olk <[email protected]>
  1071. * ComboBox.cs: Don't create a new ObjectCollection when an item
  1072. gets inserted. Just insert the item in the existing object_items
  1073. ArrayList.
  1074. 2006-06-08 Jackson Harper <[email protected]>
  1075. * OpenTreeNodeEnumerator.cs: Fix to use the Parent property, so
  1076. that the treeview and root node checks are done also, this fixes a
  1077. regression i caused in the unit tests.
  1078. 2006-06-07 Wade Berrier <[email protected]>
  1079. * RichTextBox.cs: More ISO8859-1 -> unicode
  1080. 2006-06-07 Mike Kestner <[email protected]>
  1081. * ComboBox.cs : use items to hold highlight/selection so that
  1082. collection insertions don't require synchronization.
  1083. 2006-06-07 Jackson Harper <[email protected]>
  1084. * InternalWindowManager.cs: Simplify (and FIX) the window sizing
  1085. routine. We now always keep the sized edge at the cursor instead
  1086. of computing movement and adjusting rects. There is one buglet
  1087. with this method though when the cursor is moved over area that
  1088. the window can not expand too (such as the toolbars on the desktop).
  1089. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  1090. * XplatUIX11.cs: (IsEnabled,IsVisible) the window handler can be null
  1091. here. Fixes crash on startup in AlbumSurfer.
  1092. 2006-06-07 Peter Dennis Bartok <[email protected]>
  1093. * RichTextBox.cs: Replaced embedded ISO8859-1 chars with proper unicode
  1094. values
  1095. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  1096. * XplatUIX11.cs: call XPending and XNextEvent inside the same lock()
  1097. statement to avoid calling XNextEvent which will block if another thread
  1098. took the event that we were expecting. Fixes bug #78605.
  1099. 2006-06-07 Mike Kestner <[email protected]>
  1100. * ListView.cs : isolated checkbox clicking from the selection logic.
  1101. Toggle check state on item doubleclicks. Really fixes #78454 part2.
  1102. 2006-06-06 Carlos Alberto Cortez <[email protected]>
  1103. * Form.cs: Check that the value passed to Form.DialogResult
  1104. is a valid enum value.
  1105. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  1106. * FileDialog.cs: disable the up button when in 'Recently Used' or 'My
  1107. Computer'. Clicking it in the network view goes to 'My Computer'.
  1108. Added CIFS filesystem type. Display the mount point of filesystems.
  1109. Avoid duplicate mount points (happens for me with CIFS);
  1110. 2006-06-06 Jackson Harper <[email protected]>
  1111. * InternalWindowManager.cs: Draw the maximized windows buttons
  1112. when resizing.
  1113. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  1114. * Form.cs: when running a modal dialog, ignore WM_CLOSE requests for
  1115. all other dialogs. Fixes bug #78585.
  1116. 2006-06-06 Mike Kestner <[email protected]>
  1117. * CheckedListBox.cs : apply CheckOnClick behavior to unchecking too.
  1118. Only invalidate checkbox on checkstate changes to avoid flicker.
  1119. * ListBox.cs : avoid unselect/select when clicking selected item.
  1120. avoid reselection flicker for already multiselected items.
  1121. Fixes #78382.
  1122. 2006-06-06 Jackson Harper <[email protected]>
  1123. * MdiWindowManager.cs: When the window is closed do an NCRecalc on
  1124. the parent form so that the menu is removed if needed.
  1125. 2006-06-06 Mike Kestner <[email protected]>
  1126. * ListBox.cs : add ScrollWindow call to UpdateTopItem. fix
  1127. Prev/Next/PrevPage/NextPage/Home/End index calculation. Fixes #78559.
  1128. 2006-06-06 Mike Kestner <[email protected]>
  1129. * CheckedListBox.cs : rebuild check collection on Add. Fixes #78426.
  1130. 2006-06-06 Jackson Harper <[email protected]>
  1131. * Control.cs: Use the property (instead of the field) to get the
  1132. default cursor so it is instantiated correctly.
  1133. * InternalWindowManager.cs: The OS doesn't give us an NCPAINT with
  1134. resizes so we need to manually repaint the window decorations here.
  1135. - Set the titlebar button locations as soon as they are created,
  1136. otherwise they are not set correctly on win32.
  1137. 2006-06-06 Chris Toshok <[email protected]>
  1138. * CurrencyManager.cs (set_Position): call PullData before
  1139. OnCurrentChanged.
  1140. (AddNew): after calling IBindingList.AddNew, update our
  1141. listposition, and call OnCurrentChanged/OnPositionChanged (without
  1142. calling PullData).
  1143. (OnCurrentChanged): remove the call to PullData from here.
  1144. (OnItemChanged): remove the call to PushData from here.
  1145. (OnPositionChanged): change the test from == null to != null to
  1146. match the other methods.
  1147. (ListChangedHandler): the grossest part of the patch. Implement
  1148. this such that it passes the unit tests in CurrencyManagerTest and
  1149. the output more or less matches that of MS's implementation.
  1150. 2006-06-06 Mike Kestner <[email protected]>
  1151. * ListView.cs : only update check state on single click.
  1152. * ThemeWin32Classic.cs : fix focus drawing for details view without
  1153. fullrowselect. Fixes #78454.
  1154. * XplatUIX11.cs : fix for double click emission.
  1155. 2006-06-05 Jonathan Chambers <[email protected]>
  1156. * PropertyGridView.cs : Applied Atsushi's patch to fix
  1157. font dialog bug (#78197).
  1158. 2006-06-05 Jackson Harper <[email protected]>
  1159. * TreeNode.cs: Compute the next node for expanding/collapsing
  1160. correctly. We now factor in nodes without a NextNode
  1161. correctly. (Fixes somes cases in nunit-gui).
  1162. * InternalWindowManager.cs: Set the bounds when updating the
  1163. virtual position of a tool window.
  1164. 2006-06-05 Chris Toshok <[email protected]>
  1165. * DataGrid.cs: rename cached_currencymgr to list_manager.
  1166. (set_CurrentCell): move SetCurrentCell code here, and clean it up
  1167. some.
  1168. (CurrentRow, CurrentColumn): single accessors so we can make the
  1169. cursor movement code a lot easier to understand.
  1170. (CurrentRowIndex): implement this in terms of CurrentRow.
  1171. (BeginEdit): clean this up a bit.
  1172. (CancelEditing): sort out the is_editing/is_changing/is_adding
  1173. stuff a little.
  1174. (EndEdit): minor changes.
  1175. (OnKeyDown): add a comment about a (most likely) unnecessary
  1176. check.
  1177. (OnMouseDown): cancel editing when we click on a row header. And
  1178. use the CurrentRow setter, not CurrentCell.
  1179. (ProcessDialogKey): directly call ProcessGridKey.
  1180. (UpdateSelectionAfterCursorMove): factor out this common block of
  1181. code (it's used everywhere that we move the cursor by updating row
  1182. or column).
  1183. (ProcessGridKey): pretty substantial overhaul. Use the
  1184. CurrentRow/CurrentColumn properties to make the code a lot more
  1185. readable. Only use the CurrentCell property when we have to
  1186. modify both row and column at once. Tab behavior is still broken,
  1187. and Delete is untested.
  1188. (Select): if we have no selected rows, set selection_start to
  1189. @row.
  1190. (EditCurrentCell): rename EditCell this. It was only ever invoked
  1191. with CurrentCell as the arg, so drop the arg and rename it.
  1192. * DataGridColumnStyle.cs: clean up the constructors a little, and
  1193. drop CommonConstructor().
  1194. * DataGridTextBox.cs (.ctor): set accepts_return to true so we
  1195. actually get notified when the user hits it.
  1196. (ProcessKeyMessage): *substantially* simplify this method.
  1197. There's no reason (that I can see) for the textbox to be making
  1198. calls into the datagrid at all. Remove all of them but the ones
  1199. for Enter handling. those will take some more work.
  1200. * DataGridTextBoxColumn.cs (ConcedeFocus): implement this by
  1201. calling HideEditBox.
  1202. (HideEditBox): if we have an active textbox, render it invisible
  1203. without causing a re-layout of the datagrid.
  1204. 2006-06-05 Mike Kestner <[email protected]>
  1205. * ListView.cs : fix NRE crasher when focuseditem is cleared by
  1206. collection changes by resetting it to Items[0]. Fixes #78587.
  1207. 2006-06-05 Gonzalo Paniagua Javier <[email protected]>
  1208. * MessageBox.cs: if the height of the text is larger than the icon_size,
  1209. use that. Fixes bug #78575.
  1210. 2006-06-05 Jackson Harper <[email protected]>
  1211. * TreeView.cs: Fix line drawing when scrolling. To do this each
  1212. node is basically responsible for drawing its entire horizontal
  1213. area. When drawing a node it draws its parent node lines if
  1214. needed.
  1215. - Adjust the clip area to the viewport rectangle
  1216. - Fix Left/Right key handling to match MS. (It expand/collapses
  1217. and moves to parents/first child but does not move selection to
  1218. sibling nodes).
  1219. - Fix SetTop to work with new bound calculation code
  1220. - When scrollbars are no longer needed we need to reset scrolling
  1221. vars and recalculate the visible order so the redraw is correct
  1222. * TreeNode.cs: We can't expand/collapse nodes with no children.
  1223. 2006-06-03 John Luke <[email protected]>
  1224. * X11DesktopColors.cs: dllimport the exact gtk and gdk versions
  1225. so the colors work without dev packages
  1226. 2006-06-02 Peter Dennis Bartok <[email protected]>
  1227. * Control.cs
  1228. - Select: Implemented to just use activate. Seems to match MS
  1229. behaviour closest. Documented to only do actual control walking
  1230. based on it's parameters if in a container control so I moved
  1231. the code there.
  1232. - Removed selection check logic from our internal Select() method
  1233. * ContainerControl.cs:
  1234. - Select: Moved selection logic from Control here, since MS documents
  1235. that containers obey the bool arguments. No longer calling base
  1236. 2006-06-02 Jackson Harper <[email protected]>
  1237. * TreeView.cs: If the selected node isn't changed when we get
  1238. focus update the previously selected node so that we see the
  1239. selection box.
  1240. 2006-06-02 Mike Kestner <[email protected]>
  1241. * ComboBox.cs: restructure grab and general mouse event handling.
  1242. Make the composite control raise mouse events like it was a single
  1243. control for leaves/enters/motion/up/down events. fix dropdown list
  1244. coordinate mangling and refactor it into the scrollbar subclass to
  1245. reduce code duplication. Fixes #78282 #78361 and #78457.
  1246. 2006-06-02 Mike Kestner <[email protected]>
  1247. * ScrollBar.cs: remove Capture setting/clearing, as it happens
  1248. automatically in the Control.WndProc.
  1249. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  1250. * FileDialog.cs: fix crash when running SharpChess, which sets the
  1251. FilterIndex to 2 with only one Filter.
  1252. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  1253. * ToolBar.cs: add SizeSpecified property.
  1254. * ToolBarButton.cs: when the ButtonSize is calculated by the container,
  1255. try to figure out our real size, otherwise fallback to what the
  1256. container says.
  1257. 2006-06-01 Peter Dennis Bartok <[email protected]>
  1258. * XplatUIX11.cs (DefWndProc): WM_MOUSEWHEEL needs to be passed up
  1259. * Control.cs (WndProc): MS always calls the DefWndProc to pass
  1260. up the event
  1261. 2006-06-01 Mike Kestner <[email protected]>
  1262. * ListView.cs: revamp the focus management in ListView. It still
  1263. causes churn of LostFocus/GotFocus emissions on clicks, but it's
  1264. better than not handling focus at all. Will revisit when pdb feels
  1265. the general focus handling is solid. Fixes #78526.
  1266. 2006-06-01 Jackson Harper <[email protected]>
  1267. * TreeView.cs: Set the default border style in the constructor.
  1268. - Move painting to use OnPaintInternal instead of capturing
  1269. WM_PAINT, this is the correct way of doing things
  1270. - UpdateBelow shouldn't invalidate the scrollbar area
  1271. - Cap the top on update below in case the node was above the top
  1272. of the viewport rectangle.
  1273. - ExpandBelow and Collapse below need to obey Begin/End Update.
  1274. * TreeNode.cs: Make is_expanded internal so the treenode
  1275. collection can change it without firing the whole event chain.
  1276. * TreeNodeCollection.cs: When clearing all the child nodes make
  1277. sure to recalc the visible order.
  1278. - Improve algo for remove the top node
  1279. 2006-06-01 Peter Dennis Bartok <[email protected]>
  1280. * XplatUIX11.cs (SetFocus): Make sure we can handle re-entrancy due to
  1281. SendMessage directly calling window procedures, which in turn might
  1282. call SetFocus()
  1283. 2006-06-01 Peter Dennis Bartok <[email protected]>
  1284. * Control.cs: Don't handle WM_SETFOCUS if the same window already
  1285. has focus (works around X11 sending a FocusIn after our SetFocus)
  1286. * XplatUIX11.cs: Send KILLFOCUS before setting SETFOCUS on new window
  1287. 2006-06-01 Alexander Olk <[email protected]>
  1288. * Mime.cs: Fix for the NET_2_0 build.
  1289. NameValueCollection needs StringComparer now.
  1290. 2006-05-31 Chris Toshok <[email protected]>
  1291. * DataGridDrawingLogic.cs (FromPixelToColumn): modify this to also
  1292. return (via an out parameter) the starting X of the column.
  1293. (UpdateVisibleColumn): track change to FromPixelToColumn.
  1294. (HitTest): add a ColumnResize case here.
  1295. (DrawResizeLine): new function, probably poorly named.
  1296. * DataGrid.cs (.ctor): get rid of cached_currencymgr_events. We
  1297. only need to keep one reference.
  1298. (set_ListManager): same.
  1299. (OnMouseDown): call HitTest instead of grid_drawing.HitTest.
  1300. Also, add support for HitTestType.ColumnResize.
  1301. (OnMouseMove): add column resize behavior here, and change the
  1302. cursor to the correct one as we move around the datagrid.
  1303. (OnMouseUp): terminate the column resize if we're resizing.
  1304. (ProcessGridKey): from the MS docs, Alt-0 enters the null value
  1305. for the current cell.
  1306. (ConnectListManagerEvents): use cached_currencymgr.
  1307. (DisconnectListManagerEvents): fill this in, using
  1308. cached_currencymgr.
  1309. (SetCurrentCell): remove cached_currencymgr_events handling.
  1310. (SetDataMember): only call DisconnectListManagerEvents if
  1311. cached_currencymgr is != null.
  1312. (SetDataSource): same.
  1313. (OnListManagerCurrentChanged): cached_currencymgr_events ->
  1314. cached_currencymgr.
  1315. 2006-05-31 Jackson Harper <[email protected]>
  1316. * BindingManagerBase.cs: Remove somedebug code that creeped into
  1317. SVN.
  1318. * TreeNode.cs: We get the indent level dynamically right now, so
  1319. don't track it as a member.
  1320. * TreeNodeCollection.cs: Make sure all nodes added to the list
  1321. have parents, treeviews/topnodes setup properly.
  1322. - Don't attempt to track indent level.
  1323. 2006-05-30 Jackson Harper <[email protected]>
  1324. * BindingContext.cs: Create the currency manager tables here.
  1325. This allows us to more easily create null tables (when bad data
  1326. members are used), and more easily create related currency
  1327. managers.
  1328. * CurrencyManager.cs: All the table creation stuff is done by the
  1329. binding context now.
  1330. - Current should throw an exception if listposition is -1.
  1331. - CancelCurrentEdit/EndCurrentEdit, do nothing if the list hasn't
  1332. been bound yet.
  1333. 2006-05-30 Mike Kestner <[email protected]>
  1334. * ListView.cs: allow reexpansion of zero-width column headers.
  1335. Fixes #78528.
  1336. 2006-05-28 Chris Toshok <[email protected]>
  1337. * CurrencyManager.cs (get_Current): after the late binding
  1338. listposition = -1 fix, we need to guard against it here and return
  1339. null, otherwise we raise an exception (which is swallowed
  1340. elsewhere, and breaks datagrid databinding.)
  1341. 2006-05-26 Peter Dennis Bartok <[email protected]>
  1342. * MenuAPI.cs (ProcessMenuKey): We can legally get msg types other
  1343. than WM_SYSKEY, don't throw if get something unexpected (#78507)
  1344. 2006-05-26 Jackson Harper <[email protected]>
  1345. * ControlPaint.cs:
  1346. * ThemeWin32Classic.cs: For color comparisons just use the ARGB
  1347. values, it's faster and it's all we care about (we don't care if
  1348. the names aren't equal).
  1349. * KeyboardLayouts.cs: Eliminate some dead code.
  1350. - Lazy init things
  1351. * X11Keyboard.cs: Lazy init keyboard detection.
  1352. - Cleanup access modifiers a little.
  1353. 2006-05-26 Peter Dennis Bartok <[email protected]>
  1354. * XplatUIX11.cs: Once again, attempting to get layout just right.
  1355. 2006-05-26 Peter Dennis Bartok <[email protected]>
  1356. * LinkLabel.cs (CreateLinkPieces): Use MeasureString to calculate
  1357. the sizes of each link section, that will result in sizes that
  1358. match DrawString's layout (Fixes #78391)
  1359. 2006-05-27 Alexander Olk <[email protected]>
  1360. * FileDialog.cs: If AddExtension property is true autocomplete the
  1361. extensions in SaveFileDialog correctly. Fixes bug #78453.
  1362. Set MyNetwork and MyComputer to "C:\" for windows. This should
  1363. fix part 8 of bug #78446 for now.
  1364. 2006-05-26 Chris Toshok <[email protected]>
  1365. * DataGrid.cs (ColumnStartedEditing): fill these in. for now just
  1366. invalidate the current row header if we need to, but presumably
  1367. we'll invalidate the row corrsponding to the bounds or
  1368. editingControl.
  1369. (GridHScrolled): switch back to this method, as it's part of the
  1370. public api. *sigh*.
  1371. (GridVScrolled): same.
  1372. (OnMouseWheel): hack up something that more or less works. Call
  1373. GridHScrolled/GridVScrolled directly, instead of duplicating much
  1374. of their code here.
  1375. (EnsureCellVisibility): reinstate a bunch of this code, since we
  1376. can't just set the scrollbar Value and expect to do all the work
  1377. in the ValueChanged handler. Also, Call Update() after scrolling
  1378. in one direction so the other XplatX11.ScrollWindow call has the
  1379. proper stuff in the proper places.
  1380. (EditCell): set is_editing to true before calling .Edit.
  1381. * DataGridTextBox.cs (set_IsInEditOrNavigateMode): just set it,
  1382. don't bother comparing first.
  1383. (OnKeyPress): call grid.ColumnStartedEditing before calling
  1384. base.OnKeyPress. this will set is_changing and invalidate the row
  1385. header if necessary.
  1386. (ProcessKeyMessage): for WM_CHAR messages, call
  1387. ProcessKeyEventArgs directly. swallow anything other than WM_CHAR
  1388. and WM_KEYDOWN.
  1389. * DataGridBoolColumn.cs (Edit): don't set is_editing to true here.
  1390. it's done in the DataGrid.
  1391. (NextState): call grid.ColumnStartedEditing, which takes care of
  1392. invalidating the row header (and setting is_changing).
  1393. * DataGridTextBoxColumn.cs (Edit): don't set is_editing to true
  1394. here. it's done in the DataGrid.
  1395. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  1396. * Control.cs: allow changing the cursor when the mouse position is
  1397. out of bounds but Capture is set.
  1398. * LinkLabel.cs: handle the case when the mouse button is pressed on the
  1399. linklabel but released somewhere else.
  1400. 2006-05-25 Jackson Harper <[email protected]>
  1401. * TreeView.cs: When we get focus if there is no selected node make
  1402. it the top node
  1403. - Remove some uneeded setup code from Draw.
  1404. * TreeNodeCollection.cs: If the tree doesn't have a top node when
  1405. a new node is inserted make the new node the top.
  1406. * XplatUIX11.cs:
  1407. * Timer.cs: Use Utc time so that no local time zone stuff needs to
  1408. be used (should be faster).
  1409. 2006-05-25 Chris Toshok <[email protected]>
  1410. * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
  1411. problem with the last commit.
  1412. 2006-05-25 Chris Toshok <[email protected]>
  1413. * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
  1414. need the invalidate call here, while scrolling right-to-left via
  1415. the left arrow key (i.e. moving the editing cell while scrolling).
  1416. * DataGrid.cs (.ctor): remove the initialization of
  1417. ctrl_pressed/shift_pressed. We no longer track them using key
  1418. up/down handlers, but by using Control.ModifierKeys. Also, switch
  1419. to using ValueChanged handlers on the scrollbars instead of
  1420. Scrolled event handlers. This simplifies a bunch of the scrolling
  1421. code.
  1422. (GridHValueChanged): rename from GridHScrolled, and change it to
  1423. work with the new event args.
  1424. (GridVValueChanged): same.
  1425. (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
  1426. (OnMouseWheel): actually scroll the datagrid. Don't change the
  1427. selected cell.
  1428. (ProcessGridKey): correct all the keyboard navigation stuff I
  1429. could find. Ctrl up/down/left/right/home/end work now.
  1430. (EnsureCellVisibility): correct method name spelling. Also,
  1431. simplify this a touch by not explicitly calling the
  1432. ScrollToRow/ScrollToColumnInPixels methods. We just set the
  1433. scrollbar value.
  1434. (OnKeyUpDG): no need for this method now.
  1435. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  1436. * LinkLabel.cs: display the OverrideCursor when hovering the label.
  1437. Fixes bug #78392.
  1438. 2006-05-25 Chris Toshok <[email protected]>
  1439. * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
  1440. r61019.
  1441. 2006-05-25 Peter Dennis Bartok <[email protected]>
  1442. * Application.cs: Moved setting of is_modal and closing to before
  1443. we create the control, to allow the event handlers called as a
  1444. result of creation affect closing. Also removed Gonzalo's previous
  1445. change to setting DialogResult, the behaviour has been moved to
  1446. Form.ShowDialog()
  1447. * Form.cs:
  1448. - ShowDialog(): Removed explicit creation of the form, let RunLoop
  1449. handle it instead
  1450. - ShowDialog(): If no dialog result is set, we need to return Cancel
  1451. - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
  1452. the close is cancelled
  1453. 2006-05-25 Jackson Harper <[email protected]>
  1454. * StatusBar.cs: We only need to update the sizes of the other
  1455. panels when we have auto size contents. Also we are only updating
  1456. the contents of the panel, not the borders, so compensate for the
  1457. border width (TODO: get this width from the theme somehow).
  1458. * TreeView.cs: Scrollable is true by default
  1459. - Use invalidate instead of refresh where needed
  1460. - Factor the scrollable value into scrollbar updating
  1461. - Update the scrollbars if the Scrollable property is altered
  1462. - Update the selected node if its ImageIndex is changed
  1463. - Handle null nodes in UpdateNode (mainly so we don't have to
  1464. check if selected is null when updating it
  1465. - Fix VisibleCount to use the ViewportRectangle so that scrollbars
  1466. are factored into the visible count
  1467. - Use VisibleCount for clarity in the code
  1468. - When the font is changed we need to recurse through all the
  1469. nodes and invalidate their sizes
  1470. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  1471. * Application.cs: set the DialogResult to fixed when the main form is
  1472. hidden or destroyed while being modal.
  1473. 2006-05-25 Miguel de Icaza <[email protected]>
  1474. * Theme.cs: Use Tangoified messagebox icons.
  1475. (GetSizedResourceImage): Also cope with width = 0 and do not
  1476. trigger a warning in that case (0 means "give me your icon from
  1477. the resouce, no special size needed).
  1478. 2006-05-25 Peter Dennis Bartok <[email protected]>
  1479. * Application.cs: Leave runloop if the the main modal form is
  1480. hidden (fixes #78484)
  1481. 2006-05-25 Atsushi Enomoto <[email protected]>
  1482. * BindingContext.cs : reject null datasource in Contains() and
  1483. Item[].
  1484. * CurrencyManager.cs : check data_member validity when data_source
  1485. is dataset. When it is late binding, the initial position is -1.
  1486. 2006-05-24 Jackson Harper <[email protected]>
  1487. * TreeNodeCollection.cs: Dont't recalculate the visible order on
  1488. inserted nodes that aren't visible. This changes the
  1489. max_visible_order which confuses scrollbar settings.
  1490. - Use the enumerator to get the prev node instead of duplicating
  1491. code.
  1492. * TreeView.cs: Use new method for setting scrollbar values
  1493. - Don't set the bounds every time the scrollbar is updated
  1494. - When updating below the root node use an invalidate instead of a
  1495. refresh to prevent the child controls (scrollbars) from being
  1496. refreshed. (UpdateBelow still needs to be reworked anyways).
  1497. - Reenable SetBottom now that visible orders are set correctly,
  1498. added some debug code incase we ever get bad values there again.
  1499. - Set the scrollbar max to 2 less then the max value, this
  1500. compensates for the max value being one above the node count, and
  1501. for scrollbars adding one extra "notch".
  1502. - When drawing image nodes if there is an imagelist we draw the
  1503. first image in the list if the supplied image index is out of the
  1504. image list's bounds.
  1505. 2006-05-24 Peter Dennis Bartok <[email protected]>
  1506. * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
  1507. we receive a size change from the WM (Fixes #78503)
  1508. 2006-05-24 Peter Dennis Bartok <[email protected]>
  1509. * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
  1510. rectangle (Fixes #78501)
  1511. 2006-05-24 Peter Dennis Bartok <[email protected]>
  1512. * ButtonBase.cs:
  1513. - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
  1514. as a bitfield.
  1515. - Fixed MouseMove to no longer switch pressed state unless the left
  1516. mouse button is pressed. Atsushi provided the original patch (#78485)
  1517. 2006-05-24 Jackson Harper <[email protected]>
  1518. * ScrollBar.cs: New internal methods that allow us to change a
  1519. couple values on the scrollbar (the most common case is maximum
  1520. and large change) without getting multiple invalidates.
  1521. 2006-05-24 Chris Toshok <[email protected]>
  1522. * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
  1523. (Edit): save off the original state in oldState, and set
  1524. grid.is_editing to true.
  1525. (OnKeyDown): abort editing if escape is pressed. also, call
  1526. NextState if space is pressed.
  1527. (OnMouseDown): call NextState.
  1528. (NextState): factor out shared code from OnKeyDown and OnMouseDown
  1529. here. Also, only invalidate the row header once (on the initial
  1530. is_changing switch) to save on redraws.
  1531. 2006-05-24 Chris Toshok <[email protected]>
  1532. * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
  1533. if the value in the cell is different than it was before. This
  1534. keeps us from triggering a layout when we move around a datarid
  1535. with a highlighted cell.
  1536. (Edit): suspend layout when creating/positining the text box, and
  1537. resume passing false so we don't ever actually re-layout.
  1538. (ReleaseHostedControl): same.
  1539. (EnsureTextBox): reformat slightly, and set WordWrap to false.
  1540. * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
  1541. control-key sequences should go to the datagrid - remove that
  1542. lock. Also, modify the conditions under which we move between
  1543. cells when moving the cursor within a cell, and remove the "this"
  1544. and "base" from field accesses. We weren't even consistent, given
  1545. they all were in the base class.
  1546. 2006-05-24 Atsushi Enomoto <[email protected]>
  1547. * Binding.cs : (.ctor)
  1548. An obvious NRE fix for BindingTest.CtorNullTest().
  1549. 2006-05-23 Chris Toshok <[email protected]>
  1550. * TextBoxBase.cs (get_Text): don't add a trailing newline, add
  1551. them between lines. This fixes some quirks editing cells in the
  1552. datagrid.
  1553. 2006-05-23 Jackson Harper <[email protected]>
  1554. * TreeView.cs: Use begin/end update when doing expand/collapse all
  1555. so that we don't get flicker on the scrollbar.
  1556. 2006-05-23 Jackson Harper <[email protected]>
  1557. * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
  1558. treenode calculations to be independant of the painting code. To
  1559. do this nodes track a visible order which is calculated by the
  1560. treeview.
  1561. - Call new methods for expanding/collapsing nodes. These methods
  1562. use scrollwindow so we don't have to update everything below the
  1563. node.
  1564. * TreeView.cs: Refactored drawing and scrolling code. We don't
  1565. need to update nodes when drawing anymore or calculate scrollbar
  1566. stuff.
  1567. - Added new methods for expanding/collapsing nodes. These methods
  1568. use ScrollWindow so as to not have to redraw all the nodes below.
  1569. * TreeNodeCollection.cs: Recalc visible order and scrollbars when
  1570. we add/remove nodes or sort.
  1571. - Handle removing the selected and the top node properly.
  1572. 2006-05-23 Chris Toshok <[email protected]>
  1573. * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
  1574. maybe this should actually happen in the datagrid code?
  1575. (EndEdit): no need to invalidate anything, given that
  1576. ReleaseHostedControl causes the datagrid to relayout, which
  1577. invalidates everything anyway.
  1578. * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
  1579. in SetCurrentCell).
  1580. (set_SelectionBackColor): call InvalidateSelection instead of
  1581. Refresh.
  1582. (set_SelectionForeColor): same.
  1583. (BeginEdit): Flesh this out a bit.
  1584. (CancelEditing): only do any of this if we're editing/adding.
  1585. (EndEdit): same.
  1586. (OnMouseDown): there's no need to cancel editing here, it's done
  1587. in SetCurrentCell.
  1588. (SetCurrentCell): only invalidate the current row header if it's a
  1589. different row than the new one.
  1590. (ShiftSelection): fix this to work like MS does.
  1591. (ResetSelection): factor out the invalidation of selected_rows to
  1592. InvalidateSelection.
  1593. (SetDataSource): cancel any editing that's going on.
  1594. * DataGridColumnStyle.cs
  1595. (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
  1596. call the non-interface version.
  1597. * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
  1598. header rectangle with the clip rectangle so we don't redraw the
  1599. entire header for just a small area. Gets rid of the last flicker
  1600. when horizontally scrolling.
  1601. (DataGridPaintRow): same.
  1602. 2006-05-23 Mike Kestner <[email protected]>
  1603. * ListViewItem.cs: remove size for line hack from LargeIcon layout.
  1604. * ThemeWin32Classic.cs: don't draw line. it's really the top of a
  1605. poorly placed checkbox on the MS control. Fixes Alex's unfiled
  1606. Critical bug report.
  1607. 2006-05-23 Peter Dennis Bartok <[email protected]>
  1608. * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
  1609. and this fixes #78493
  1610. 2006-05-23 Miguel de Icaza <[email protected]>
  1611. * Theme.cs (GetSizedResourceImage): Scale images if the proper
  1612. size is not found.
  1613. * FileDialog.cs: Do not change the background for the side bar as
  1614. it wont work nicely with the theme, and also reduces the artifacts
  1615. in rendering the icons (which I want to fix too).
  1616. * MimeIcon.cs (ResourceImageLoader): Load images from assembly
  1617. resources, not resgen resources.
  1618. (PlatformDefaultHandler): Pull images using the new API.
  1619. 2006-05-23 Peter Dennis Bartok <[email protected]>
  1620. * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
  1621. a reference to the hwnd and will not remove it unless there are
  1622. no pending exposures (fixes #78341)
  1623. * XplatUI.cs: Improved debug
  1624. 2006-05-23 Atsushi Enomoto <[email protected]>
  1625. * MenuAPI.cs : don't handle OnClick event when it was not the left
  1626. button. Fixed bug #78487.
  1627. 2006-05-23 Mike Kestner <[email protected]>
  1628. * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
  1629. prefer submenus to the top menu for item lookup, to avoid popping down
  1630. top-row items.
  1631. 2006-05-23 Alexander Olk <[email protected]>
  1632. * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
  1633. Graphics.FillRectangle as the visual results are really bad (even
  1634. on win). We now draw perfect arrows (and perfect shadows when the
  1635. scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
  1636. Pen.DashPattern to draw the dots of each line.
  1637. 2006-05-22 Alexander Olk <[email protected]>
  1638. * FileDialog.cs: Update the filename combobox when navigating through
  1639. the ListView with the cursor keys. Fixes part 7 of bug #78446.
  1640. 2006-05-22 Mike Kestner <[email protected]>
  1641. * ListView.cs: raise SelectedIndexChanged on keyboard selection.
  1642. Fixes #78463.
  1643. 2006-05-22 Mike Kestner <[email protected]>
  1644. * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
  1645. requests. Fix a misspelled parameter and a copy paste exception error
  1646. in Select.
  1647. 2006-05-22 Peter Dennis Bartok <[email protected]>
  1648. * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
  1649. to get the same width/height (5/13) on X11 as the default font has on
  1650. win32. This means that our DefaultFont emSize is smaller than the
  1651. the MS SWF equivalent (even thought the width/height stays the same)
  1652. 2006-05-20 Jackson Harper <[email protected]>
  1653. * MdiClient.cs:
  1654. * MdiWindowManager.cs:
  1655. * InternalWindowManager.cs: Make sure to use the border width from
  1656. the theme.
  1657. 2006-05-20 Jordi Mas i Hernandez <[email protected]>
  1658. * PrintDialog.cs: Implements printer details
  1659. 2006-05-19 Alexander Olk <[email protected]>
  1660. * FileDialog.cs: Added focus handling for PopupButtonPanel.
  1661. Fixes part 1 and 2 of bug #78446
  1662. 2006-05-19 Peter Dennis Bartok <[email protected]>
  1663. * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
  1664. instead of sticking to the first ever calculated value
  1665. 2006-05-19 Mike Kestner <[email protected]>
  1666. * ComboBox.cs: fix mouse motion selection to use MousePosition and
  1667. PointToClient, since Capture is set. Fixes #78344.
  1668. 2006-05-19 Mike Kestner <[email protected]>
  1669. * ListView.cs: match MS behavior in Details view where items are not
  1670. drawn if Columns.Count == 0.
  1671. * ThemeWin32Classic.cs: only highlight ListView selection if focused.
  1672. Use a separate pen to draw the check, since changing the width affects
  1673. the box as well. Fixes #78454.
  1674. 2006-05-18 Miguel de Icaza <[email protected]>
  1675. * ListView.cs: ArgumentOutOfRangeException, single versions of the
  1676. exception should throw the name of the invalid argument.
  1677. * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
  1678. there are no files listed.
  1679. 2006-05-18 Jackson Harper <[email protected]>
  1680. * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
  1681. up.
  1682. 2006-05-18 Peter Dennis Bartok <[email protected]>
  1683. * Control.cs: Brought back our old UpdateZOrder method as a private
  1684. function and switched our calls from UpdateZOrder to the new one.
  1685. This fixes the Paint.Net canvas disappearing bug.
  1686. 2006-05-18 Jackson Harper <[email protected]>
  1687. * Theme.cs:
  1688. * ThemeWin32Classic.cs:
  1689. * InternalWindowManager.cs: Move the drawing into the theme,
  1690. expose everything the theme should need from the window manager.
  1691. 2006-05-18 Peter Dennis Bartok <[email protected]>
  1692. * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
  1693. from the call to NativeWindow to avoid walking up the parent chain
  1694. further than needed (speeds up setting cursors and avoids setting
  1695. the wrong cursor if a parent has another cursor defined)
  1696. * Cursor.cs: When loading an icon as cursor, MS uses the center of
  1697. the icon as hotspot, not what's contained as hotspot in the icon
  1698. file. This fixes the perceived drawing offset seen with Paint.Net
  1699. 2006-05-18 Peter Dennis Bartok <[email protected]>
  1700. * XplatUIX11.cs:
  1701. - Store the calculated rectangle in Hwnd object and use it when
  1702. setting the client size
  1703. - Force Toolwindows to always be type Dock, to ensure they're on top
  1704. 2006-05-18 Mike Kestner <[email protected]>
  1705. * ComboBox.cs: first pass at ComboBox rework. Layout is more
  1706. consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
  1707. Correctly initialize textcontrol and ListBox on DropDownStyle changes.
  1708. Substantial refactoring to remove confusing nested classes. Coding
  1709. standard and Get+Set->property refactorings. Shift to index based
  1710. highlighting in ComboListBox instead of constantly using IndexOf and
  1711. Items[]. Add invalidations on resize for DropDownList to fix ugliness
  1712. in FileDialog growth. Draw borders manually since Simple mode needs
  1713. to look like two independent controls. Make listbox border
  1714. conditional to DropDownStyle. Improved OwnerDraw support.
  1715. 2006-05-18 Sebastien Pouliot <[email protected]>
  1716. * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
  1717. Don't set the disposed graphics to null, so we can throw the "right"
  1718. exception if the graphics is reused later (added a flag to avoid
  1719. double disposing). Some behaviours are different under 2.0 and are
  1720. filled under bug #78448.
  1721. 2006-05-18 Peter Dennis Bartok <[email protected]>
  1722. * Control.cs: When double-buffering is enabled, we need to reset
  1723. our graphics context between paint calls. Otherwise, any
  1724. transformations and other alterations on the context will
  1725. become cumulative (#77734)
  1726. 2006-05-18 Mike Kestner <[email protected]>
  1727. * ListView.cs: do focused item selection like MS on clicks.
  1728. Rework focus handling for ItemControl so LostFocus invalidates as
  1729. well.
  1730. * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
  1731. the ListView ItemControl has focus.
  1732. 2006-05-17 Peter Dennis Bartok <[email protected]>
  1733. * XplatUIX11.cs: If client_window ends up being width or height zero
  1734. due to border settings, move it off window inside whole_window (#78433)
  1735. 2006-05-17 Alexander Olk <[email protected]>
  1736. * Mime.cs: Shrink the mime file cache correctly.
  1737. 2006-05-17 Alexander Olk <[email protected]>
  1738. * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
  1739. 2006-05-16 Peter Dennis Bartok <[email protected]>
  1740. * XplatUIX11.cs (AddExpose): More sanity checks
  1741. 2006-05-16 Peter Dennis Bartok <[email protected]>
  1742. * XplatUIX11.cs:
  1743. - AddExpose: Don't add expose ranges outside the size of our
  1744. window
  1745. - Cast opacity values to Int32 to avoid crashes with certain
  1746. values
  1747. - Added disabled code paths that protect against illegal cross-
  1748. thread painting (Developers.exe)
  1749. 2006-05-16 Peter Dennis Bartok <[email protected]>
  1750. * ProgressBar.cs: Invalidate the control when it's resized
  1751. since block size is based on control size. (#78388)
  1752. 2006-05-16 Miguel de Icaza <[email protected]>
  1753. * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
  1754. of setting the incoming argument to the "reset" value, we set the
  1755. this.datamember to string.empty (before we were invalidating the
  1756. incoming data).
  1757. Fixes 78420
  1758. 2006-05-16 Peter Dennis Bartok <[email protected]>
  1759. * Form.cs: Only apply transparency settings after the form
  1760. is created. (Fixes #77800)
  1761. 2006-05-16 Peter Dennis Bartok <[email protected]>
  1762. * ApplicationContext.cs: Grab the HandleDestroyed event so
  1763. we know when to fire OnMainFormClosed
  1764. 2006-05-16 Peter Dennis Bartok <[email protected]>
  1765. * Application.cs: Introduced sub-class to allow tracking of
  1766. threads and centralized triggering of the event mess for
  1767. ThreadExit, AppExit, etc.. (#76156)
  1768. 2006-05-16 Alexander Olk <[email protected]>
  1769. * MimeIcon.cs:
  1770. - Do not return a null icon index value for a mime subclass.
  1771. Instead try the main mime type class too.
  1772. - Seems that some newer distributions don't have a link to some
  1773. gnome default icons anymore. So check the default gnome dir too.
  1774. 2006-05-16 Jackson Harper <[email protected]>
  1775. * MdiClient.cs: Don't paint the parent background image if we have
  1776. our own background image.
  1777. 2006-05-16 Peter Dennis Bartok <[email protected]>
  1778. * Control.cs:
  1779. - PerformLayout: Do not shrink space filled by DockStyle.Fill
  1780. controls, all filled controls are supposed to overlap (#78080)
  1781. - UpdateZOrder is supposed to update the control's z-order in the
  1782. parent's z-order chain. Fixed to behave like that
  1783. - BringToFront: Removed obsolete code
  1784. - SendToBack: Simplyfied
  1785. - SetChildIndex: Trigger layout calculations when Z-order changes
  1786. since layout is done by z-order
  1787. 2006-05-16 Chris Toshok <[email protected]>
  1788. [ fixes bug #78410 ]
  1789. * DataGrid.cs (set_AlternatingBackColor): use
  1790. grid_drawing.InvalidateCells instead of Refresh().
  1791. (set_BackColor): call grid_drawing.InvalidateCells.
  1792. (set_BackgroundColor): use Invalidate instead of Refresh.
  1793. * DataGridDrawingLogic.cs (InvalidateCells): new function, just
  1794. invalidate the cell area.
  1795. 2006-05-15 Chris Toshok <[email protected]>
  1796. [ fixes bug #78011 ]
  1797. * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
  1798. on to DataGridPaintRow.
  1799. (DataGridPaintRow): take a clip argument, and only draw the cells
  1800. which intersect it. same with the not_usedarea.
  1801. * Theme.cs (DataGridPaintRow) add @clip parameter.
  1802. * DataGrid.cs (ScrollToColumnInPixels): simplify, use
  1803. XplatUI.ScrollWindow.
  1804. (ScrollToRow): same.
  1805. * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
  1806. with last column which was causing a gray swath to appear with the
  1807. XplatUI.ScrollWindow code.
  1808. 2006-05-15 Chris Toshok <[email protected]>
  1809. * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
  1810. use XplatUI.ScrollWindow.
  1811. (VerticalScrollEvent): use XplatUI.ScrollWindow.
  1812. 2006-05-15 Peter Dennis Bartok <[email protected]>
  1813. * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
  1814. 2006-05-15 Peter Dennis Bartok <[email protected]>
  1815. * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
  1816. file since there are no equivalent X11 cursors
  1817. 2006-05-15 Atsushi Enomoto <[email protected]>
  1818. * MonthCalendar.cs : DateTimePicker should reflect selected date
  1819. on mouse*up*, not mouse*down*. Fixed originally reported part of
  1820. bug #76474.
  1821. 2006-05-15 Atsushi Enomoto <[email protected]>
  1822. * TabControl.cs : When argument index is equal or more than tab
  1823. count, just ignore. Fixed bug #78395.
  1824. 2006-05-15 Peter Dennis Bartok <[email protected]>
  1825. * Control.cs: Dispose all child controls when control is diposed (#78394)
  1826. 2006-05-14 Alexander Olk <[email protected]>
  1827. * ColorDialog.cs: Finally it is possible to select the color with
  1828. the text boxes
  1829. 2006-05-14 Alexander Olk <[email protected]>
  1830. * PrintDialog.cs: Fix typo
  1831. 2006-05-14 Alexander Olk <[email protected]>
  1832. * PrintDialog.cs: PrintDialog is not resizable
  1833. * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
  1834. color. Made some ToolBar drawing methods protected virtual.
  1835. 2006-05-13 Jordi Mas i Hernandez <[email protected]>
  1836. * PrintDialog.cs: Implementation of the PrintDialog
  1837. 2006-05-12 Chris Toshok <[email protected]>
  1838. * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
  1839. thumb, instead use MoveThumb. This has the side effect of making
  1840. most of the other thumb moving machinery use MoveThumb as well.
  1841. (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
  1842. need to actually invalidate the rectangle where the new thumb will
  1843. go.
  1844. (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
  1845. We force an Update() after, so it's not as fast as it could be,
  1846. but at least there's zero flicker and no droppings.
  1847. (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
  1848. (UpdateThumbPos): add another argument (dirty), which says whether
  1849. or not to calculate/add dirty regions which we later invalidate.
  1850. For cases where we know we're going to use MoveThumb, we pass
  1851. false for this. Otherwise, pass true.
  1852. 2006-05-12 Jackson Harper <[email protected]>
  1853. * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
  1854. the status bar.
  1855. 2006-05-12 Peter Dennis Bartok <[email protected]>
  1856. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
  1857. and GetClipRegion methods and UserClipWontExposeParent property.
  1858. * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
  1859. overriding UserClipWontExposeParent property, setting to false, since
  1860. Win32 handles the required expose messages to draw our clipped parent
  1861. areas internally
  1862. * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
  1863. PaintEventStart to set the user clip region if set.
  1864. * Control.cs:
  1865. - Now internally tracking the Region for the control since we need to
  1866. store it if the handle is not yet created and only set it when it
  1867. becomes created. Before setting the region forced handle creation
  1868. - Added code to draw the parents underneath a user-clipped region
  1869. * Hwnd.cs: Added UserClip property
  1870. 2006-05-12 Chris Toshok <[email protected]>
  1871. * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
  1872. (set_Maximum): same.
  1873. (set_Minimum): same.
  1874. (set_SmallChange): same.
  1875. (OnMouseUpSB): remove the call to refresh when releasing the
  1876. thumb. We shouldn't need it.
  1877. 2006-05-12 Miguel de Icaza <[email protected]>
  1878. * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
  1879. AutoSize set to None, we do not need to relayout everything, we
  1880. just need to invalidate the current region.
  1881. (Draw): Do not draw the entire ClientArea, just redraw the
  1882. clip area being passed.
  1883. * MdiClient.cs: Make MdiClient constructor with the Form argument
  1884. internal.
  1885. 2006-05-12 Jackson Harper <[email protected]>
  1886. * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
  1887. parents background image, but strangely not their own.
  1888. - (DrawStatusBarPanel): Take into account horizontal alignment
  1889. when drawing the strings and icons.
  1890. 2006-05-12 Mike Kestner <[email protected]>
  1891. * ListBox.cs: avoid invalidations for focus when the collection is
  1892. empty.
  1893. 2006-05-12 Chris Toshok <[email protected]>
  1894. * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
  1895. invalidate the entire thumb area. Call InvalidateDirty which
  1896. limits the redraw to the thumb itself and surrounding pixels.
  1897. * XplatUIX11.cs (ScrollWindow): optimize copying.
  1898. 2006-05-12 Chris Toshok <[email protected]>
  1899. * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
  1900. Figure out the positioning/layout in a single pass instead of
  1901. multiple recursive invocations. Speeds up the initial display of
  1902. the data grid. Also, make many things private that were
  1903. originally public but unused outside this class.
  1904. 2006-05-11 Jackson Harper <[email protected]>
  1905. * MdiClient.cs: Improved layout code.
  1906. 2006-05-11 Jonathan Chambers <[email protected]>
  1907. * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
  1908. not SelectedObject.
  1909. 2006-05-11 Chris Toshok <[email protected]>
  1910. * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
  1911. union of that will always be {0,0,width,height}.
  1912. 2006-05-11 Jackson Harper <[email protected]>
  1913. * Form.cs: Match MS's DefaultSize for forms (they must have
  1914. changed the size in sp2).
  1915. 2006-05-11 Atsushi Enomoto <[email protected]>
  1916. * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
  1917. 2006-05-11 Atsushi Enomoto <[email protected]>
  1918. * TextControl.cs : Fixed bug #78109. This incorrect position
  1919. comparison caused crash on automatic line split.
  1920. * TextBoxBase.cs : reduce duplicate code.
  1921. 2006-05-10 Jackson Harper <[email protected]>
  1922. * MdiClient.cs: Active form is only sent to the back when using
  1923. the Next form functionality, when a form is clicked the current
  1924. active shouldn't be sent to the back.
  1925. - Layout the mdi windows when the container is first made visible.
  1926. * Form.cs: Give the MdiClient a ref to the containing form when we
  1927. create it.
  1928. 2006-05-10 Atsushi Enomoto <[email protected]>
  1929. * LinkLabel.cs : link_font could be uninitialized, so populate one
  1930. before actual use. Fixed bug #78340.
  1931. 2006-05-10 Atsushi Enomoto <[email protected]>
  1932. * XplatUIX11.cs : clipboard format native value is IntPtr.
  1933. Fixed bug #78283.
  1934. 2006-05-10 Peter Dennis Bartok <[email protected]>
  1935. * Control.cs:
  1936. - Instead of showing context menus directly we send WM_CONTEXTMENU,
  1937. which is passed up the parent chain by DefWndProc
  1938. - We now handle WM_CONTEXTMENU to display any menu, or pass it
  1939. to DefWndProc (#77956)
  1940. * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
  1941. 2006-05-10 Jackson Harper <[email protected]>
  1942. * MdiClient.cs: We need to remove the controls from the mdi
  1943. collection, when we close the window.
  1944. * MdiWindowManager.cs: Special handling of closing mdi windows.
  1945. * InternalWindowManager.cs: Make the close method virtual so the
  1946. mdi window manager can handle it specially.
  1947. 2006-05-10 Jordi Mas i Hernandez <[email protected]>
  1948. * DataGrid.cs:
  1949. - Recalculate grid when the data source has changed
  1950. - Matches styles provided by user from all data sources types
  1951. * DataGridTableStyle.cs: For columns that provided by the user set the
  1952. with the preferred value is there was unassigned.
  1953. * CurrencyManager.cs: throw OnItemChanged event
  1954. 2006-05-10 Peter Dennis Bartok <[email protected]>
  1955. * PictureBox.cs: Don't animate until handle is created. Start animation
  1956. when handle is created.
  1957. 2006-05-10 Peter Dennis Bartok <[email protected]>
  1958. * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
  1959. current codebase.
  1960. * XEventQueue.cs: We don't need to provide the extra info
  1961. 2006-05-10 Jackson Harper <[email protected]>
  1962. * MdiClient.cs: If the mdi clients parent form has a background
  1963. image set, we draw that background image for the mdi area's
  1964. background.
  1965. 2006-05-10 Peter Dennis Bartok <[email protected]>
  1966. * TextBoxBase.cs: Set IBeam cursor (#78347)
  1967. 2006-05-10 Mike Kestner <[email protected]>
  1968. * ToolBar.cs: fix some text padding issues with ButtonSize
  1969. calculation. Update the default size to match MS documentation.
  1970. * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
  1971. button size. Fixes #78296.
  1972. 2006-05-10 Mike Kestner <[email protected]>
  1973. * ListBox.cs: use is_visible for scrollbar positioning in case the
  1974. control isn't on screen yet. Fix off by one with Right vs Width
  1975. usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
  1976. 2006-05-10 Jackson Harper <[email protected]>
  1977. * X11Dnd.cs: Drop to a control with another control on top of it.
  1978. * ToolBar.cs: Work on a copy of the buttons list, so that it can
  1979. be modified in click handlers. TODO: Look for similar problems in
  1980. other controls.
  1981. 2006-05-09 Jackson Harper <[email protected]>
  1982. * Form.cs: Window managers need the old window state when setting
  1983. window state now.
  1984. * InternalWindowManager.cs: Allow the base mdi window manager to
  1985. handle more of the MDI only stuff (like maximize buttons).
  1986. * MdiWindowManager.cs: Fix some snafus in changing the window
  1987. state. Add all the menu functionality, for both popup and
  1988. maximized menus.
  1989. * MdiClient.cs: When a new form is selected the currently
  1990. activated form is sent to the back, this matches MS.
  1991. - Implement a new method to activate the next mdi child window.
  1992. 2006-05-08 Peter Dennis Bartok <[email protected]>
  1993. * Control.cs:
  1994. - Added new InternalCapture method to allow controls to prevent
  1995. the capture behaviour on the click handlers
  1996. - Switched to use InternalCapture
  1997. * ComboBox.cs:
  1998. - Using InternalCapture to prevent mouse captures from being released
  1999. on mouse button release (Fixes #78100)
  2000. * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
  2001. returns Form borders if a caption is present. (Fixes #78310)
  2002. 2006-05-08 Peter Dennis Bartok <[email protected]>
  2003. * TreeNode.cs: Changed serialization .ctor to not require every field
  2004. to be present. (#78265)
  2005. * OwnerDrawPropertyBag.cs: Added serialization .ctor
  2006. 2006-05-05 Alexander Olk <[email protected]>
  2007. * MimeIcon.cs: for is faster than foreach for strings.
  2008. 2006-05-05 Mike Kestner <[email protected]>
  2009. * CheckedListBox.cs: update check handling code to not use selected.
  2010. * ListBox.cs: rewrite of mouse selection handling to correspond to MS
  2011. behavior for visual feedback, motion response, shift/ctrl handling,
  2012. and properly deal with all 4 selection modes. Updates to bounds
  2013. handling logic. Add scroll wheel support. [Fixes #77842]
  2014. 2006-05-05 Peter Dennis Bartok <[email protected]>
  2015. * ListView.cs:
  2016. - Moved adding of Implicit controls into .ctor. That way, subsequent
  2017. creation of the controls will not cause them to think they are
  2018. toplevel windows (fixes #78200 header problem)
  2019. - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
  2020. - Switched visibility setting of header control to use internal field
  2021. to avoid triggering handle creation
  2022. - Now checking if handle is created before causing a refresh when items
  2023. are added (This makes us now match handle creation time with MS)
  2024. * Splitter.cs: Removed loading of private splitter cursor, switched to
  2025. Cursors version now that that is loading the right ones
  2026. * Cursors.cs: Load proper splitter cursors from resources
  2027. * Cursor.cs: Added second method of loading resource cursors for the
  2028. VS.Net users amongst us
  2029. 2006-05-05 Mike Kestner <[email protected]>
  2030. * ListView.cs: give header_control a minimum size based on the
  2031. ListView size.
  2032. 2006-05-05 Peter Dennis Bartok <[email protected]>
  2033. * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
  2034. window seems to do that with metacity, so set that type. (#78120)
  2035. 2006-05-05 Mike Kestner <[email protected]>
  2036. * ListViewItem.cs: fix Details mode checkbox layout bug.
  2037. * ThemeWin32Classic.cs: draw a ListView column header for unused space
  2038. at the end of the header, if it exists. [Fixes for #78200]
  2039. 2006-05-04 Jackson Harper <[email protected]>
  2040. * MdiClient.cs: Add a helper property to get the container form.
  2041. * MdiWindowManager.cs: We have to make sure to use the menu origin
  2042. when drawing the icons and buttons, this fixes maximized window
  2043. icons/buttons on win32.
  2044. * InternalWindowManager.cs: Reset the restore captions when a
  2045. window goes from Maximized to Minimized and vice versa. Move the
  2046. DrawMaximizedButtons into the MdiWindowManager source, tool
  2047. windows can't be maximized. NOTE: This could use a little
  2048. refactoring if time ever permits.
  2049. 2006-05-03 Jonathan Chambers <[email protected]>
  2050. * TextBox.cs: Add MWFCategoryAttributes
  2051. * TextBoxBase.cs: Add MWFCategoryAttributes
  2052. * Form.cs: Add MWFCategoryAttributes
  2053. 2006-05-03 Jonathan Chambers <[email protected]>
  2054. * Control.cs: Add MWFCategoryAttributes
  2055. * ScrollableControl.cs: Add MWFCategoryAttributes
  2056. 2006-05-03 Alexander Olk <[email protected]>
  2057. * ThemeWin32Classic.cs: Draw the ToolBar top border only if
  2058. Divider is true. Fix a little glitch in PropertyToolBar
  2059. drawing code
  2060. 2006-05-02 Peter Dennis Bartok <[email protected]>
  2061. * Control.cs:
  2062. - Dispose: Call base.Dispose, this causes the disposed event
  2063. to be fired (and probably other, more important stuff)
  2064. - SetVisibleCore: Set is_visible to true after creating the
  2065. window so that the window still gets created invisible (if
  2066. WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
  2067. to generate a WM_ACTIVE message
  2068. * Form.cs: Call Dispose when we want to destroy the window, instead of
  2069. just destroying the handle (Dispose will do that for us)
  2070. * XplatUIX11.cs:
  2071. - RootWindow also needs a queue, so we can properly process the
  2072. property change events from RootWindow (like Activate)
  2073. - Generatic synthetic WM_ACTIVE message when the active window is
  2074. being destroyed
  2075. 2006-05-01 Peter Dennis Bartok <[email protected]>
  2076. * LinkLabel.cs: Trigger a recalc of our label dimensions when
  2077. bounds are changed
  2078. 2006-05-01 Peter Dennis Bartok <[email protected]>
  2079. * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
  2080. for determining width and height (image might not be assigned if
  2081. we're drawing an imagelist)
  2082. 2006-05-01 Peter Dennis Bartok <[email protected]>
  2083. * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
  2084. * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
  2085. height from system
  2086. * Theme.cs: No longer returns hardcoded menu height, instead calls
  2087. new driver method
  2088. * Form.cs (OnLoad): Scaling happens before triggering Load events
  2089. on MS (# 78257)
  2090. 2006-05-01 Mike Kestner <[email protected]>
  2091. * MenuItem.cs: fix NRE for text == null. Fixes #78250.
  2092. 2006-04-30 Peter Dennis Bartok <[email protected]>
  2093. * TextBoxBase.cs: Removed Fixme
  2094. * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
  2095. 2006-04-30 Peter Dennis Bartok <[email protected]>
  2096. * XplatUIX11.cs:
  2097. - ScrollWindow: We were passing hwnd.ClientRectangle which returns
  2098. the rectangle relative to the parent, considering borders. We
  2099. don't really want that.
  2100. - ScrollWindow: Fixed warning to be more understandable
  2101. * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
  2102. scrollbars and scroll only the visible area
  2103. * RichTextBox.cs: Removed debug output
  2104. 2006-04-29 Peter Dennis Bartok <[email protected]>
  2105. * NumericUpDown.cs (Text): Just use base
  2106. * UpDownBase.cs: Ensure txtView is created before using it
  2107. 2006-04-29 Peter Dennis Bartok <[email protected]>
  2108. * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
  2109. casting to IntPtr to avoid 64bit overflow errors
  2110. 2006-04-29 Peter Dennis Bartok <[email protected]>
  2111. * Control.cs:
  2112. - AllowDrop: Don't force handle creation.
  2113. - CreateHandle: Added call to tell driver if we're allowed to drop
  2114. 2006-04-27 Alexander Olk <[email protected]>
  2115. * FileDialog.cs: Remember the last directory not only for the
  2116. current instance but also for new FileDialog instances.
  2117. 2006-04-29 Peter Dennis Bartok <[email protected]>
  2118. * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
  2119. broke sending async messages
  2120. 2006-04-29 Peter Dennis Bartok <[email protected]>
  2121. * XplatUIX11.cs:
  2122. - ScrollWindow: Fixed method. We finally generate expose events again
  2123. for scrolled areas. This was causing 'garbage' when scrolling
  2124. textbox and other controls that used ScrollWindow
  2125. - Switched from using the regular queue for paint events to the MS
  2126. model of 'generating' paint events when the queue is empty.
  2127. We use the new XQueueEvent.Paint subclass to store which windows
  2128. need painting.
  2129. - AddExpose now takes the x/y/width/height of the exposed area
  2130. and inserts the window into the paint queue if not already there
  2131. - InvalidateWholeWindow: Switched to use new AddExpose method
  2132. - UpdateMessageQueue: Added which queue to monitor for paint events
  2133. - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
  2134. the unlikely case nothing above handles it. We reset the expose
  2135. pending states to get them off the queue.
  2136. - GetMessage: Now pulls a paint event if no other events are in the
  2137. queue
  2138. - Invalidate: Switched to new AddExpose method
  2139. - PeekMessage: Updated to understand pending paint events
  2140. - UpdateWindow: Fixed logic bug. We were only updating if the window
  2141. didn't need updating. Also switched to sending WM_PAINT directly,
  2142. like MS does.
  2143. * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
  2144. and random access Remove(). The random access is needed to handle
  2145. UpdateWindow() where a WM_PAINT is sent directly without accessing
  2146. the queue.
  2147. * ScrollBar.cs: Added Update() calls to cause immediate updates to
  2148. allow for better feedback when scrolling. Scrollbars are small and
  2149. the immediate update should make it 'feel' more responsive without
  2150. slowing things down. ScrollBar still needs it's invaliate logic
  2151. updated to not always invalidate the whole bar on certain changes.
  2152. 2006-04-28 Gonzalo Paniagua Javier <[email protected]>
  2153. * Control.cs:
  2154. (BackColor): if the control does not support a transparent background,
  2155. return the default backcolor when the parent backcolor is transparent.
  2156. 2006-04-28 Peter Dennis Bartok <[email protected]>
  2157. * Application.cs: Updated to new StartLoop/GetMessage API
  2158. * RichTextBox.cs: Provide some output on RTF parsing errors
  2159. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
  2160. new queue_id argument to GetMessage and PeekMessage to allow faster
  2161. handling of per-thread queues in drivers.
  2162. * Hwnd.cs: Added Queue tracking and property
  2163. * MenuAPI.cs: Updated to new StartLoop/GetMessage API
  2164. * XEventQueue.cs: Added thread trackingA
  2165. * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
  2166. * XplatUIX11.cs:
  2167. - Implemented new per-thread queue
  2168. - GetMessage: Fixed return/break behaviour on several cases. We were
  2169. returning stale messages in some cases, instead of just processing
  2170. the next message
  2171. 2006-04-27 Jonathan Chambers <[email protected]>
  2172. * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
  2173. 2006-04-27 Peter Dennis Bartok <[email protected]>
  2174. * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
  2175. fixed off-by-one comparisons between Width/Height and Right/Bottom.
  2176. 2006-04-27 Jonathan Chambers <[email protected]>
  2177. * PropertyGridView.cs: Fix drop down width.
  2178. 2006-04-27 Alexander Olk <[email protected]>
  2179. * ThemeWin32Classic.cs: Peter thinks that three additional lines are
  2180. a mess in DrawToolBar, so I removed one of them.
  2181. 2006-04-27 Alexander Olk <[email protected]>
  2182. * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
  2183. needed (clip). Otherwise we get artifacts.
  2184. 2006-04-26 Peter Dennis Bartok <[email protected]>
  2185. * FixedSizeTextBox.cs: Added constructor to allow specifying which
  2186. dimension is fixed
  2187. * UpDownBase.cs: Set the spinner control to be fixed height vertical,
  2188. and switched FixedSizeTextBox to only be fixed vertical (#78116)
  2189. * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
  2190. if it matches the scale base font (avoids unneeded scaling)
  2191. 2006-04-26 Alexander Olk <[email protected]>
  2192. * X11DesktopColors.cs: One gtk_init_check should be enough
  2193. 2006-04-26 Peter Dennis Bartok <[email protected]>
  2194. * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
  2195. match MS behaviour
  2196. 2006-04-26 Peter Dennis Bartok <[email protected]>
  2197. * TextBoxBase.cs:
  2198. - Generate OnTextChanged for Backspace even if we're only deleting
  2199. the current selection
  2200. - When setting the Text property, only select all text if the
  2201. control does not have focus when it is being set. Otherwise
  2202. just place the cursor at the beginning of the control
  2203. 2006-04-26 Alexander Olk <[email protected]>
  2204. * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
  2205. Added a little helper to draw PropertyGrid ToolBar with a different
  2206. border and a different BackColor.
  2207. * PropertyGrid.cs: Some background parts didn't get painted with the
  2208. correct background color. Added a class that helps us to draw the
  2209. correct border for PropertyGridView and a class that helps us to
  2210. draw ToolBars with a different backcolor
  2211. * PropertyGridView.cs: Draw PlusMinus with the correct colors.
  2212. 2006-04-25 Jonathan Chambers <[email protected]>
  2213. * PropertyGrid.cs: Bug 78196, font size, and splitter location.
  2214. * PropertyGridView.cs: Bug 78196, font size, and splitter location.
  2215. 2006-04-25 Peter Dennis Bartok <[email protected]>
  2216. * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
  2217. into the palette entries. Also, since we're working on a copy
  2218. we needed to copy the palette back onto the bitmap.
  2219. * Cursor.cs: Same fix as XplatUIWin32.cs.
  2220. 2006-04-25 Peter Dennis Bartok <[email protected]>
  2221. * ImageListStreamer.cs: Need to read the var (or we're off)
  2222. 2006-04-25 Peter Dennis Bartok <[email protected]>
  2223. * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
  2224. XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
  2225. TextBoxBase.cs: Unused var fixes
  2226. * AxHost.cs: Small 2.0 fix
  2227. * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
  2228. as it seems that is what at least Metacity expects. This will make
  2229. icons show up on 64bit platforms. We still have some 64bit size
  2230. issues, though, since the startup app window size still won't match.
  2231. 2006-04-25 Mike Kestner <[email protected]>
  2232. * *.cs: cleanup newly reported exception var unused warnings.
  2233. 2006-04-25 Alexander Olk <[email protected]>
  2234. * ThemeWin32Classic.cs: Button image alignment now matches exactly
  2235. ms
  2236. 2006-04-25 Alexander Olk <[email protected]>
  2237. * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
  2238. image. The image position is always the same, no matter if the
  2239. button is pressed or not.
  2240. 2006-04-25 Alexander Olk <[email protected]>
  2241. * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
  2242. selection and set the correct filename for SaveFileDialog.
  2243. Patch by Emery Conrad.
  2244. 2006-04-24 Mike Kestner <[email protected]>
  2245. * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
  2246. check for item.X outside the ClientRect instead of item.Y. Fixes
  2247. #78151.
  2248. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  2249. * ImageListStreamer.cs: some images store a wrong grow factor, so don't
  2250. trust that value blindly and do some sanity check. Fixes bug #77814.
  2251. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  2252. * ImageListStreamer.cs: save the mask as a 1bpp image.
  2253. 2006-04-21 Mike Kestner <[email protected]>
  2254. * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
  2255. pass Checked and Indeterminate to the Theme Engine. Improve
  2256. encapsulation with ListBox.
  2257. * ListBox.cs: Keep a StringFormat instead of calculating it every item
  2258. draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
  2259. nested types. Move all CheckState functionality to CheckedListBox.
  2260. Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
  2261. OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
  2262. ScrollAlwaysVisible handling. Refactor "selected" collections to use a
  2263. single base list. Fix scrollbar sizing and placement to mirror MS.
  2264. * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
  2265. used.
  2266. * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
  2267. for CheckedListBox by using new DrawItemState info. Center the
  2268. checkboxes on the items. Use new StringFormat property.
  2269. 2006-04-18 Jackson Harper <[email protected]>
  2270. * Form.cs: MdiChildren don't do default locations the same way as
  2271. regular forms. This prevents a crash when trying to position the
  2272. mdi windows.
  2273. 2006-04-17 Jonathan Chambers <[email protected]>
  2274. * PropertyGridTextBox.cs: Formatting, copyright
  2275. * PropertiesTab.cs: Formatting
  2276. * PropertyGrid.cs: Formatting
  2277. * PropertyGridView.cs: Formatting, fix drop down, enabled double
  2278. click toggling of values
  2279. 2006-04-17 Peter Dennis Bartok <[email protected]>
  2280. * KeyPressEventArgs: Added 2.0 only setter for KeyChar
  2281. * Control.cs (.ctor): verify_thread_handle is static, don't reset
  2282. every time a control is created
  2283. * Application.cs: Removed obsolete EnableRTLMirroring method
  2284. 2006-04-18 Gert Driesen <[email protected]>
  2285. * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
  2286. SelectedIndex to -1. Fixes bug #78121.
  2287. 2006-04-17 Jackson Harper <[email protected]>
  2288. * Binding.cs: Handle null values for Current and BindingContext.
  2289. This occurs when binding is a little delayed.
  2290. * CurrencyManager.cs: return null for Current when there are no
  2291. items in the list.
  2292. - Hookup to the listchanged event on the DataView and update
  2293. bindings when the list is changed. This fixes late binding of
  2294. controls.
  2295. 2006-04-17 Jackson Harper <[email protected]>
  2296. * X11Dnd.cs:
  2297. * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
  2298. Ringenbach.
  2299. 2006-04-15 Alexander Olk <[email protected]>
  2300. * ThemeWin32Classic.cs: Draw disabled combo button in the correct
  2301. place
  2302. * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
  2303. with the correct ButtonState
  2304. 2006-04-14 Peter Dennis Bartok <[email protected]>
  2305. * XplatUIX11.cs: Improved distinguishing between window types to
  2306. tell the WM a type closer to what the app wants (Fixes #78107)
  2307. 2006-04-14 Alexander Olk <[email protected]>
  2308. * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
  2309. GrabHandle
  2310. 2006-04-14 Alexander Olk <[email protected]>
  2311. * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
  2312. drawing code to reflect the size grip changes
  2313. 2006-04-13 Gonzalo Paniagua Javier <[email protected]>
  2314. * ImageListStreamer.cs: fix handling of the mask that follows the main
  2315. bitmap when deserializing and serialize it properly. The generated mask
  2316. should better be a 1bpp image, but I'll do that later.
  2317. 2006-04-13 Alexander Olk <[email protected]>
  2318. * FileDialog.cs: Show something in the DirComboBox on *nix if the
  2319. path doesn't fit into some of our Current.Places
  2320. 2006-04-13 Jackson Harper <[email protected]>
  2321. * ComboBox.cs: Use borders instead of drawing our own decorations,
  2322. try to obey correct rules for heights.
  2323. * Theme.cs:
  2324. * ThemeNice.cs:
  2325. * ThemeClearLooks.cs:
  2326. * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
  2327. this is now handled by borders.
  2328. - Remove unused DrawListBoxDecorationSize method.
  2329. 2006-04-13 Mike Kestner <[email protected]>
  2330. * MenuAPI.cs: null guarding for the disbled click check fixes crash
  2331. reported by Alex.
  2332. 2006-04-13 Alexander Olk <[email protected]>
  2333. * ThemeWin32Classic.cs:
  2334. - Fixed CPDrawStringDisabled
  2335. - Corrected drawing of disabled menu items
  2336. - Fixed drawing of disabled radio buttons (bug #78095)
  2337. - Draw check in a disabled CheckBox with color ControlDark
  2338. 2006-04-12 Peter Dennis Bartok <[email protected]>
  2339. * Form.cs: Use the provided width when calculating the menu size;
  2340. when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
  2341. and ClientSize.Width won't be updated yet
  2342. * Application.cs: Use Visible instead of Show() to make form visible,
  2343. this way we create the handle later and menusize is considered
  2344. 2006-04-12 Mike Kestner <[email protected]>
  2345. * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
  2346. reporting.
  2347. 2006-04-12 Peter Dennis Bartok <[email protected]>
  2348. * TextBox.cs: Implemented context menu
  2349. 2006-04-12 Mike Kestner <[email protected]>
  2350. * ListView.cs: implement box selection. fixes #77838.
  2351. * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
  2352. 2006-04-12 Peter Dennis Bartok <[email protected]>
  2353. * XplatUIX11.cs: Added setting of window type when transient window
  2354. is created (metacity would move it otherwise)
  2355. * X11Structs.cs: Added WINDOW_TYPE atoms
  2356. * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
  2357. background (the control is Opaque but still wants transparent
  2358. backgrounds)
  2359. 2006-04-12 Peter Dennis Bartok <[email protected]>
  2360. * Control.cs: Added OnPaintBackgroundInternal to allow controls
  2361. that set Opaque but don't mean it (like all ButtonBase-derived
  2362. controls) to still draw their background
  2363. * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
  2364. the background
  2365. 2006-04-12 Peter Dennis Bartok <[email protected]>
  2366. * Control.cs (PaintControlBackground): Set the graphics object
  2367. on our PaintEvent to null to prevent it from being disposed
  2368. when the PaintEvent gets disposed
  2369. 2006-04-12 Alexander Olk <[email protected]>
  2370. * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
  2371. * ThemeNice.cs, ThemeClearlooks.cs: fix typo
  2372. 2006-04-12 Peter Dennis Bartok <[email protected]>
  2373. * Control.cs:
  2374. - Added transparency check to BackColor property. Transparent
  2375. backgrounds are only allowed if the control styles permit it
  2376. - Added recursive painting of parent control background and
  2377. foreground if a control with a transparent backcolor is drawn
  2378. (Thanks to Tim Ringenback for providing his 'hack' as a base
  2379. for this patch) Fixes #77985 and #78026.
  2380. - Added Opaque style check before calling OnPaintBackground, no
  2381. need to draw the background if the control is opaque
  2382. - Removed ControlAccessibleObject owner variable (inherited from
  2383. base, no need to define again)
  2384. - Added some documentation links explaining the drawing events
  2385. and styles
  2386. 2006-04-11 Peter Dennis Bartok <[email protected]>
  2387. * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
  2388. that the affected control is the located at the left border of our
  2389. parent (Fixes #77936)
  2390. 2006-04-11 Peter Dennis Bartok <[email protected]>
  2391. * TextBoxBase.cs: When rendering disabled or readonly controls,
  2392. draw the background with 'Control' instead of 'Window' color as
  2393. long as the user hasn't specifically set a color
  2394. 2006-04-11 Peter Dennis Bartok <[email protected]>
  2395. * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
  2396. since that won't be updated if the user types text (only if it's
  2397. programatically set)
  2398. 2006-04-11 Peter Dennis Bartok <[email protected]>
  2399. * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
  2400. layout changes do to app-triggered resizes will have the proper
  2401. display rectangle for layout
  2402. 2006-04-11 Alexander Olk <[email protected]>
  2403. * ThemeWin32Classic.cs:
  2404. - Make use of the SystemBrushes and SystemPens wherever possible
  2405. - Corrected some highlight colors
  2406. - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
  2407. drawing
  2408. * Theme.cs: Added Empty field to CPColor struct
  2409. 2006-04-11 Peter Dennis Bartok <[email protected]>
  2410. * ScrollabeControl.cs: We need to consider whether or not a scrollbar
  2411. is displayed when calculating the display rectangle. Thanks to Mike
  2412. for teaching me the err of my ways.
  2413. 2006-04-10 Peter Dennis Bartok <[email protected]>
  2414. * ScrollableControl.cs:
  2415. - Rewrote DisplayRectangle code, now returning the proper x/y coords
  2416. (instead of 0,0) and we now return the real width/height instead of
  2417. just the clientrectangle, adjusted for padding. The rectangle is
  2418. now cached and created by the new CalculateDisplayRectangle method.
  2419. - Created new CalculateDisplayRectange method, which basically does
  2420. what get_DisplayRectangle() did originally, but now using the
  2421. right edge instead of DisplayRectangle to determine the size of
  2422. our scrollbars
  2423. - get_Canvas(): Fixed it to properly calculate canvas for
  2424. right/bottom controls which seem to be placed to the right/bottom
  2425. of any controls that have a fixed location
  2426. - Removed TODO that's taken care of
  2427. - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
  2428. and SetDisplayRectLocation according to new MSDN2 docs
  2429. - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
  2430. event when that is called, this is added for compatibility
  2431. - ScrollControlIntoView(): Implemented.
  2432. - Switched scrollbars to be implicit, they shouldn't be selectable
  2433. * ContainerControl: Now that ScrollControlIntoView is implemented, we
  2434. call it when the active control is set/changed
  2435. * ScrollBar.cs: Added support for generating Win32 scrollbar messages
  2436. * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
  2437. implicit_control variable (used for native Win32 message generation)
  2438. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
  2439. HorizontalScrollBarHeight and VerticalScrollBarWidth properties
  2440. * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
  2441. * XplatUIStructs.cs: Added ScrollBarCommands enum
  2442. 2006-04-10 Jackson Harper <[email protected]>
  2443. * ButtonBase.cs:
  2444. * CheckedListBox.cs:
  2445. * ComboBox.cs:
  2446. * DataGrid.cs:
  2447. * DataGridView.cs:
  2448. * Form.cs:
  2449. * GroupBox.cs:
  2450. * ListBox.cs:
  2451. * PrintPreviewControl.cs:
  2452. * ProgressBar.cs:
  2453. * PropertyGrid.cs:
  2454. * Splitter.cs:
  2455. * StatusBar.cs:
  2456. * TrackBar.cs:
  2457. * UpDownBase.cs: Fixup base event overrides.
  2458. 2006-04-06 Mike Kestner <[email protected]>
  2459. * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
  2460. all user-initiated value changes to min <= value <= max-thumbsz+1.
  2461. (set_Value): check for vert/horiz when calculating new thumb position.
  2462. (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
  2463. like MS does.
  2464. (OnMouseMoveSB): refactor the thumb dragging code and refine
  2465. invalidation logic to reduce flicker.
  2466. (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
  2467. (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
  2468. (UpdateThumbPosition): small code readability cleanup
  2469. 2006-04-10 Alexander Olk <[email protected]>
  2470. * ThemeNice.cs: Small UI polishing. Draw borders a little bit
  2471. different
  2472. 2006-04-08 Alexander Olk <[email protected]>
  2473. * ThemeNice.cs: Use a better graphics effect when a button is pressed
  2474. 2006-04-08 Alexander Olk <[email protected]>
  2475. * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
  2476. * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
  2477. This dramatically reduces the number of Pen.Dispose calls.
  2478. Where possible call ResPool methods only once instead of calling it
  2479. over and over again (for example for the same color).
  2480. 2006-04-06 Mike Kestner <[email protected]>
  2481. * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
  2482. Also remove an unused private field on the collection. Fixes #77972.
  2483. 2006-04-06 Alexander Olk <[email protected]>
  2484. * ThemeNice.cs: Added ToolBar drawing code
  2485. 2006-04-06 Mike Kestner <[email protected]>
  2486. * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
  2487. I'm assuming that means we need to look up the toplevel for the
  2488. provided control. Fixes the crash trace in #77911 but exposes another
  2489. crash in some strange reflection usage in NDocGui.
  2490. 2006-04-06 Alexander Olk <[email protected]>
  2491. * ThemeNice.cs: Gave it a little silver touch and added Images
  2492. method
  2493. * FontDialog.cs: FontDialog is not resizable
  2494. * FileDialg.cs: Added SizeGripStyle.Show
  2495. 2006-04-05 Jackson Harper <[email protected]>
  2496. * KeyboardLayouts.cs: Remove warning.
  2497. 2006-04-05 Jackson Harper <[email protected]>
  2498. * Control.cs: Enable OnPaintInternal so we can use it for drawing
  2499. all of our controls instead of Paint +=.
  2500. * ListBox.cs:
  2501. * ListView.cs:
  2502. * MenuAPI.cs:
  2503. * MessageBox.cs:
  2504. * NotifyIcon.cs:
  2505. * ProgressBar.cs:
  2506. * ScrollBar.cs:
  2507. * Splitter.cs:
  2508. * StatusBar.cs:
  2509. * TabControl.cs:
  2510. * TextBoxBase.cs:
  2511. * ToolBar.cs:
  2512. * TrackBar.cs:
  2513. * UpDownBase.cs:
  2514. * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
  2515. use OnPaintInternal. Remove Width/Height and Visible checks in
  2516. paint handler, this is done at a higher level now.
  2517. * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
  2518. * PaintEventArgs.cs: Add a handled flag so controls that don't
  2519. want anymore painting after OnPaintInternal can make sure OnPaint
  2520. isn't called.
  2521. 2006-04-05 Mike Kestner <[email protected]>
  2522. * Form.cs: fix the menu WndProc hacks to respect the native enabled
  2523. state of the form, so that we don't process events when Modal dialogs
  2524. are up. Fixes #77922.
  2525. 2006-04-05 Alexander Olk <[email protected]>
  2526. * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
  2527. checking is done.
  2528. 2006-04-05 Mike Kestner <[email protected]>
  2529. * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
  2530. 2006-04-05 Mike Kestner <[email protected]>
  2531. * ListView.cs (HeaderMouseMove): null guarding for the over column
  2532. when setting up the drag_to_index. Fixes #78015.
  2533. 2006-04-04 Peter Dennis Bartok <[email protected]>
  2534. * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
  2535. in the taskbar. Transient windows seem to accomplish that.
  2536. 2006-04-04 Peter Dennis Bartok <[email protected]>
  2537. * Form.cs:
  2538. - Re-enabled CreateParams.X/Y code for FormStartPosition
  2539. - Added code for manual placement when creating the Control
  2540. - Incomplete patch to treat MDI forms differently when
  2541. setting the ClientSizeCore. (Still need to figure out handling
  2542. x/y coords there)
  2543. * XplatUIX11.cs:
  2544. - When we're explicitly setting the X/Y position of a non-Child
  2545. window, let the WM know. Metacity really wants this.
  2546. 2006-04-04 Alexander Olk <[email protected]>
  2547. * ThemeNice.cs: Added CPDrawButton
  2548. 2006-04-04 Alexander Olk <[email protected]>
  2549. * ThemeNice.cs: Changed the color for focused buttons and activated
  2550. the arrows for small scroll buttons.
  2551. 2006-04-04 Alexander Olk <[email protected]>
  2552. * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
  2553. anymore. Changed some method modifiers to protected (virtual)
  2554. * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
  2555. changes
  2556. * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
  2557. Updated drawing of menus, buttons and progressbars; added
  2558. CPDrawBorder3D
  2559. 2006-04-03 Gonzalo Paniagua Javier <[email protected]>
  2560. * ImageListStreamer.cs: implemented serialization/deserialization
  2561. of the images.
  2562. 2006-04-03 Alexander Olk <[email protected]>
  2563. * ThemeWin32Classic.cs:
  2564. - Removed all the DrawFrameControl stuff; CPDrawButton,
  2565. CPDrawCheckBox and CPDrawRadioButton are now handled directly
  2566. inside the methods
  2567. - Updated and corrected the drawing code of CPDrawButton,
  2568. CPDrawCheckBox and CPDrawRadioButton to better match ms
  2569. - Updated theme checkbox and radiobutton code to use the CP*
  2570. methods
  2571. 2006-03-31 Peter Dennis Bartok <[email protected]>
  2572. * XplatUIX11.cs: Enable clipping again now that the libgdiplus
  2573. bug is fixed
  2574. 2006-03-31 Jackson Harper <[email protected]>
  2575. * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
  2576. sometimes.
  2577. * UpDownBase.cs: Don't CreateGraphics manually, use a
  2578. Refresh. Ideally we would invalidate the correct areas here.
  2579. 2006-03-31 Peter Dennis Bartok <[email protected]>
  2580. * XplatUIX11.cs:
  2581. - We now track the mapping state of windows. If a window (or
  2582. one of it's parents) is not mapped we no longer permit
  2583. WM_PAINT messages to be generated since we'd otherwise get
  2584. lots of BadMatch X errors. Jackson did all the work figuring
  2585. out the problem.
  2586. - Destroying the caret if the window it's contained in is
  2587. destroyed. Can't use regular DestroyCaret method since it
  2588. might fall into a drawing function (trying to remove the
  2589. caret) and with that generate new BadMatch errors. Again,
  2590. Jackson tracked this down.
  2591. - Changed DestroyChildWindows to SendWMDestroyMessages, we now
  2592. make sure we send the messages to all windows. (The old code
  2593. would send the WM_DESTROY to the window, and then all child
  2594. windows would be 'gone' because the WM_DESTROY handle lookup
  2595. would no longer find the destroyed window)
  2596. * Hwnd.cs: Added Mapping property to track mapping state of hwnd
  2597. * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
  2598. 2006-03-31 Jackson Harper <[email protected]>
  2599. * ScrollableControl.cs: Dont recalc if we are not visible.
  2600. 2006-03-31 Mike Kestner <[email protected]>
  2601. * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
  2602. the visibility branch.
  2603. 2006-03-31 Jackson Harper <[email protected]>
  2604. * ScrollBar.cs: Cap values when incrementing/decrementing.
  2605. 2006-03-31 Mike Kestner <[email protected]>
  2606. * MenuAPI.cs: setup menu.tracker for popup/context menus.
  2607. * ToolTip.cs: guard against timer expirations with no active control.
  2608. Not sure why it happened.
  2609. 2006-03-31 Mike Kestner <[email protected]>
  2610. * ThemeWin32Classic.cs: add some horizontal padding space for the tip
  2611. text.
  2612. * ToolTip.cs: Position the tooltip based on where the cursor is at
  2613. popup time, not at MouseEnter time. Add a Down state so that we don't
  2614. redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
  2615. positioning offset. Lookup DisplaySize at positioning time, since it
  2616. can theoretically change during invocation.
  2617. * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
  2618. * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
  2619. 2006-03-31 Alexander Olk <[email protected]>
  2620. * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
  2621. Fixes behaviour when the Text property of the box is String.Empty
  2622. 2006-03-31 Peter Dennis Bartok <[email protected]>
  2623. * XplatUIX11.cs: Only send mouseleave for our client windows, not
  2624. for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
  2625. a window)
  2626. 2006-03-31 Alexander Olk <[email protected]>
  2627. * FileDialog.cs: Visual enhancement for the popup buttons in
  2628. PopupButtonPanel
  2629. 2006-03-31 Alexander Olk <[email protected]>
  2630. * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
  2631. code
  2632. 2006-03-30 Alexander Olk <[email protected]>
  2633. * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
  2634. highlighted menu items to match ms
  2635. 2006-03-30 Peter Dennis Bartok <[email protected]>
  2636. * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
  2637. 2006-03-30 Mike Kestner <[email protected]>
  2638. * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
  2639. * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
  2640. go active to account for HotLight to Selected transition.
  2641. * MenuItem.cs: add internal Selected prop. Fill out the Status
  2642. property by calculating it from item info. Add HotLight,
  2643. NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
  2644. 2006-03-30 Mike Kestner <[email protected]>
  2645. * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
  2646. 2006-03-29 Jackson Harper <[email protected]>
  2647. * Form.cs: Implement TODO.
  2648. 2006-03-29 Peter Dennis Bartok <[email protected]>
  2649. * PrintPreviewDialog.cs: Implemented missing methods and events; still
  2650. missing proper dialog setup in the constructor
  2651. 2006-03-29 Peter Dennis Bartok <[email protected]>
  2652. * ProgressBar.cs: Added 2.0 Style property that apps seem to use
  2653. * Control.cs:
  2654. - Implemented CheckForIllegalCrossThreadCalls, removed TODO
  2655. - Fixed ResetBindings and removed TODO
  2656. - Added check for cross-thread calls to get_Handle()
  2657. - Added Marshaller attribute for set_Font to satisfy class status
  2658. * FontDialog.cs: Removed TODOs that seemed implemented
  2659. * UpDownBase.cs: Removed unneeded TODO and Fixme
  2660. * MessageBox.cs: Implemented support for Default button and removed TODO
  2661. * FileDialog.cs: Removed obsolete TODO
  2662. * DomainUpDown.cs: Removed obsolete TODO
  2663. * ButtonBase.cs: Removed obsolete TODO
  2664. * XplatUIWin32.cs: Removed obsolete TODO
  2665. * Form.cs:
  2666. - Removed obsolete TODO
  2667. - Calling CheckAcceptButton when the acceptbutton is changed to allow
  2668. internal status updates
  2669. - Making sure the active control is selected when the control is created
  2670. * CurrencyManager.cs: Removed obsolete TODO
  2671. 2006-03-29 Mike Kestner <[email protected]>
  2672. * *.cs: fix remaining corcompare issues for 1.1 API with the exception
  2673. of PrintPreviewDialog and RichTextBox.
  2674. 2006-03-29 Alexander Olk <[email protected]>
  2675. * Theme.cs: Added a little helper to SystemResPool to get the Dark,
  2676. DarkDark, Light and LightLight colors for a specific color
  2677. * ThemeWin32Classic.cs:
  2678. - Use Button drawing code to draw RadioButtons and CheckBoxes with
  2679. Appearance = Button
  2680. - Make use of the new ResPool helper CPColor
  2681. - Draw ProgressBar and StatusBar with correct 3D borders
  2682. 2006-03-29 Alexander Olk <[email protected]>
  2683. * ColorDialog.cs: Return selected color. Fixes bug #77940.
  2684. 2006-03-28 Mike Kestner <[email protected]>
  2685. * ListView.cs: fix Icon layout to plan for scrollbar widths when
  2686. calculating col/row counts.
  2687. 2006-03-28 Mike Kestner <[email protected]>
  2688. * ColumnHeader.cs:
  2689. * ListView.cs:
  2690. * ListViewItem.cs:
  2691. * Menu.cs:
  2692. switch to explicit interface method implementation for some methods
  2693. corcompare identifies as inconsistent with MS.
  2694. 2006-03-28 Mike Kestner <[email protected]>
  2695. * MainMenu.cs:
  2696. * Menu.cs:
  2697. add a few missing methods from the class status output.
  2698. 2006-03-28 Alexander Olk <[email protected]>
  2699. * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
  2700. correct.
  2701. 2006-03-28 Mike Kestner <[email protected]>
  2702. * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
  2703. 2006-03-27 Mike Kestner <[email protected]>
  2704. * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
  2705. the Hilight state to adapt to Alex's CPDrawBorder3D changes.
  2706. 2006-03-27 Alexander Olk <[email protected]>
  2707. * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
  2708. 2006-03-25 Alexander Olk <[email protected]>
  2709. * ThemeWin32Classic.cs:
  2710. - GroupBox: Inserted a little gap between the text and the lines
  2711. on the right side
  2712. - Made the code in CPDrawBorder3D more readable
  2713. - Corrected the drawing location of the up and down arrows in
  2714. CPDrawScrollButton
  2715. 2006-03-25 Alexander Olk <[email protected]>
  2716. * ControlPaint.cs: Corrected line widths in DrawBorder for
  2717. ButtonBorderStyle Inset and Outset
  2718. 2006-03-25 Alexander Olk <[email protected]>
  2719. * ThemeWin32Classic.cs:
  2720. - Rewrote the totally broken CPDrawBorder3D method. That was
  2721. one of the main problems for the terrific ThemeWin32Classic
  2722. look
  2723. - Updated and corrected Button drawing
  2724. - Correct the dimensions of the SizeGrip to match ms ones
  2725. - Removed a small drawing glitch in DrawComboBoxEditDecorations
  2726. * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
  2727. Border3DStyle.Sunken to match ms.
  2728. 2006-03-25 Alexander Olk <[email protected]>
  2729. * ThemeWin32Classic.cs: First small part of the "de-uglify
  2730. ThemeWin32Classic" effort, SizeGrip
  2731. 2006-03-24 Jackson Harper <[email protected]>
  2732. * XplatUIX11.cs: Give a max idle time of one second, this matches
  2733. MS and forces an Idle event every second when there are no other
  2734. events in the queue.
  2735. 2006-03-24 Mike Kestner <[email protected]>
  2736. * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
  2737. * ListView.Item.cs: fix layout issues with null image lists and images
  2738. smaller than checkbox size.
  2739. * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
  2740. mode like MS does. It's weird, but consistent. ;-)
  2741. Fixes #77890.
  2742. 2006-03-24 Mike Kestner <[email protected]>
  2743. * ListView.cs: Scroll wheel support for the item control. Fixes
  2744. #77839.
  2745. 2006-03-23 Jackson Harper <[email protected]>
  2746. * ScrollableControl.cs: Special case negative sized areas, not
  2747. zero.
  2748. * MonthCalendar.cs: Save the rect of the clicked date so we can
  2749. use it for invalidation.
  2750. - Try to cut down on the number of invalidates
  2751. - Invalidate the rect the mouse is over and was over when moving
  2752. the mouse, so we get the focus box following the cursor.
  2753. 2006-03-23 Mike Kestner <[email protected]>
  2754. * ThemeWin32Classic.cs: fix FullRowSelect selection background and
  2755. focus rectangle drawing. Fixes #77835.
  2756. 2006-03-23 Mike Kestner <[email protected]>
  2757. * XplatUIX11.cs: rework the fix for #77828 by changing the order of
  2758. the if and else if and reverting back to the original == check on the
  2759. None conditional.
  2760. 2006-03-23 Alexander Olk <[email protected]>
  2761. * FontDialog.cs: Update the example panel if the selected index of
  2762. the fontListBox changes.
  2763. 2006-03-23 Alexander Olk <[email protected]>
  2764. * FileDialog.cs: Make FileDialog remember which directory it was in
  2765. last in the same execution.
  2766. 2006-03-22 Mike Kestner <[email protected]>
  2767. * FileDialog.cs: make the DropDownMenu on the toolbar display
  2768. RadioChecks since they are mutually exclusive and that's what MS does.
  2769. 2006-03-22 Mike Kestner <[email protected]>
  2770. * Theme.cs: add Color param to CPDrawMenuGlyph.
  2771. * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
  2772. checks and radio marks and arrows are visible on highlighted items.
  2773. * ControlPaint.cs: update to use new Theme signature.
  2774. 2006-03-22 Mike Kestner <[email protected]>
  2775. * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
  2776. is active. Fixes #77870.
  2777. 2006-03-22 Alexander Olk <[email protected]>
  2778. * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
  2779. to be focused/selected after startup
  2780. 2006-03-22 Alexander Olk <[email protected]>
  2781. * ColorDialog.cs:
  2782. - Corrected behaviour of Color, AllowFullOpen, FullOpen,
  2783. CustomColors and ShowHelp properties
  2784. - Some internal rewrites to get better results when using the
  2785. ColorMatrix
  2786. 2006-03-22 Mike Kestner <[email protected]>
  2787. * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
  2788. HoverSelection. Fixes #77836.
  2789. 2006-03-22 Mike Kestner <[email protected]>
  2790. * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
  2791. ToggleButtons. (De)Sensitize the Back button around a stack count of
  2792. 1, not 0. Update ButtonSize based on a pixel count of the win32
  2793. control. Adjust the toolbar size/location for new button size.
  2794. 2006-03-22 Jackson Harper <[email protected]>
  2795. * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
  2796. true.
  2797. * ScrollBar.cs: When doing increments and decrements we need to
  2798. set the Value property so that ValueChanged gets raised. A
  2799. possible optimization here would be to make an internal SetValue
  2800. that doesn't invalidate immediately.
  2801. * ToolTip.cs: Tooltips get added to their container (when
  2802. supplied) so they get disposed when the container is disposed.
  2803. - Don't create tooltips for String.Empty. This prevents all these
  2804. little 2-3 pixel windows from showing up when running nunit-gui
  2805. and driving me mad.
  2806. * Form.cs: Don't set topmost when setting the owner if the handles
  2807. haven't been created yet. The topmost set will happen when the
  2808. handles are created.
  2809. 2006-03-22 Peter Dennis Bartok <[email protected]>
  2810. * XplatUIX11.cs:
  2811. - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
  2812. - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
  2813. visible (to allow them to recalculate their sizes)
  2814. 2006-03-21 Mike Kestner <[email protected]>
  2815. * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
  2816. methods. Removed a ton of redundant code. Still not really happy with
  2817. the border rendering, but I think that's mainly because of the
  2818. ControlDarkDark being black instead of a dark grey. Depending on how
  2819. close we want to be, we might want to revisit those color choices.
  2820. Among the new features added during the refactor were DropDownArrow
  2821. pressed rendering, Disabled image rendering. Proper flat appearance
  2822. boundary rendering. Removed the Divider and Wrapping dividers since I
  2823. can't figure out any combination of themes and conditions to make the
  2824. MS control draw a horizontal line on a toolbar despite what the
  2825. Divider property docs indicate.
  2826. * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
  2827. conditions and incorrect layout. Updated to coding standard.
  2828. * ToolBarButton.cs: refactored layout and positioning code from
  2829. ToolBar to here. Invalidate wherever possible instead of forcing
  2830. redraws of the whole toolbar.
  2831. (Known remaining issues: explicit ButtonSize smaller than provided
  2832. images.)
  2833. 2006-03-21 Mike Kestner <[email protected]>
  2834. * ContextMenu.cs (Show): use the position parameter instead of just
  2835. showing at the MousePosition.
  2836. 2006-03-21 Jackson Harper <[email protected]>
  2837. * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
  2838. control handle this.
  2839. * TreeNodeCollection.cs: If we are clearing the root node we need
  2840. to reset top_node so calcs can still happen.
  2841. * ThemeWin32Classic.cs: This is a Flags so we need to check
  2842. properly.
  2843. 2006-03-21 Jackson Harper <[email protected]>
  2844. * DataGrid.cs: Create columns when the binding context has been
  2845. changed.
  2846. * X11Structs.cs: Keysyms are uints.
  2847. - Add size to fix build.
  2848. 2006-03-21 Peter Dennis Bartok <[email protected]>
  2849. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  2850. XplatUIOSX.cs:
  2851. - Added ResetMouseHover method to allow controls to retrigger
  2852. hovering if they need it more than once
  2853. - Implemented MouseHoverTime and MouseHoverSize properties
  2854. * Timer.cs: Start() must reset the interval
  2855. * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
  2856. properties
  2857. 2006-03-21 Jackson Harper <[email protected]>
  2858. * X11Keyboard.cs: improved layout detection. Move the nonchar
  2859. tables into this file.
  2860. * KeyboardLayouts.cs: Move the tables into resource files.
  2861. 2006-03-21 Mike Kestner <[email protected]>
  2862. * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
  2863. 2006-03-21 Alexander Olk <[email protected]>
  2864. * Mime.cs: Various speed optimizations. Looking up mime types
  2865. is now 2 times faster than before
  2866. 2006-03-17 Peter Dennis Bartok <[email protected]>
  2867. * CreateParams.cs: Added internal menu field
  2868. * Control.cs:
  2869. - Switched call order for UpdateBounds; now we always call
  2870. the one that also takes ClientSize, and we're calculating the
  2871. client size via driver method in the others. The previous
  2872. method of tracking client size by difference wasn't working
  2873. for forms where even the starting client size wouldn't match
  2874. the overall form size (due to borders) (Part of fix for #77729)
  2875. - CreateParams(): Do not use parent.Handle unless the handle is
  2876. already created. Causes havoc with Nexxia and throws off our
  2877. creation of controls
  2878. * XplatUIX11.cs:
  2879. - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
  2880. - Switched handling of ConfigureNotify over to new PerformNCCalc
  2881. method (consolidates code)
  2882. - Changed RequestNCRecalc to use new PerformNCCalc method
  2883. - Added calls to RequestNCRecalc when menus and borders are changed
  2884. to allow app to set NC size. (Part of fix for #77729) This matches
  2885. when MS send a WM_NCRECALC on Win32 windows.
  2886. - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
  2887. (Part of fix for #77729). This matches what MS does, they also
  2888. send that message when the form is made visible.
  2889. - XException.GetMessage: Improved usability of X errors by including
  2890. a translation of the window into Hwnd and Control class
  2891. - Improved debug info for window creation, reparenting and destruction
  2892. - Created helper method WindowIsMapped() [Currently not used]
  2893. * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
  2894. * Form.cs:
  2895. - CreateParams: Now setting our menu on the new internal menu field
  2896. - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
  2897. avoid calculating the same property twice
  2898. * Hwnd.cs:
  2899. - Improved usability of ToString() for debugging purposes
  2900. - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
  2901. determine the height of the menu, instead of just the font. This
  2902. required to also create a graphics context and to keep a bmp
  2903. around (for performance reasons)
  2904. 2006-03-17 Peter Dennis Bartok <[email protected]>
  2905. * MenuAPI.cs: Added OnMouseUp method
  2906. * Form.cs:
  2907. - Now remembering the requested client size, avoids size errors
  2908. - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
  2909. instead of base if the menu is active. This is required due to
  2910. control now capturing and releasing on down/up and it would
  2911. prematurely release our menu capture
  2912. 2006-03-17 Jackson Harper <[email protected]>
  2913. * KeyboardLayouts.cs: Add the czech layouts.
  2914. 2006-03-16 Jackson Harper <[email protected]>
  2915. * Control.cs: Use the viewport space when sizing not the controls
  2916. client size, so things like ScrollableControl that effect the
  2917. viewport size (when scrollbars are added) are computed correctly.
  2918. * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
  2919. of ManagerEntrys.
  2920. - Handle creating BindingManagers for null data sources.
  2921. * DataGrid.cs: Bind the cached_currencymgr_events to the real data
  2922. source, otherwise when rows are added they are added to the 'fake'
  2923. datasource and we will crash when trying to set the position in
  2924. those rows.
  2925. - Use Implicit scrollbars on the datagrid so they arent
  2926. selectable.
  2927. 2006-03-16 Jackson Harper <[email protected]>
  2928. * Binding.cs:
  2929. * InternalWindowManager.cs:
  2930. * MdiWindowManager.cs:
  2931. * X11Keyboard.cs: I really want Mike to love me again (fix
  2932. compiler warnings).
  2933. 2006-03-16 Peter Dennis Bartok <[email protected]>
  2934. * DataGrid.cs:
  2935. - OnMouseDown: Switch to editing mode when clicking on the cell
  2936. even if we're clicking on the cell that's currently
  2937. selected
  2938. - ProcessGridKey: Left/Right now wrap like MS.Net does
  2939. - ProcessGridKey: Tab now knows to add a new row when tab is
  2940. pressed in the cell of the last column of the
  2941. last row
  2942. - ProcessGridKey: Enter now adds another row if pressed in the last
  2943. row and selectes the new row, same column cell
  2944. - ProcessGridKey: Home/End navigate columns, not rows, like
  2945. originally implemented
  2946. - Broke ProcessKeyPreview code out into an extra Internal method
  2947. so it can be called from the edit code
  2948. * DataGridTextBox.cs (ProcessKeyMessage):
  2949. - Switched to accept Tab keypresses
  2950. - Added F2 handling to allow jumping to the end of the edited cell
  2951. - Added logic to allow moving caret left/right inside edited cell
  2952. and making the edited cell jump when the caret hits cell borders
  2953. - Tab and Enter are now passed to the datagrid after being handled
  2954. * TextBoxBase.cs:
  2955. - Removed capture code now that Control handles it
  2956. - set_SelectionStart now ensures caret is visible
  2957. 2006-03-16 Jackson Harper <[email protected]>
  2958. * TrackBar.cs: Debackwards the increment/decrement for handling
  2959. mouse clicks on the bar with vertical trackbars.
  2960. * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
  2961. bottom to match MS.
  2962. 2006-03-16 Mike Kestner <[email protected]>
  2963. * ListView.cs: make shift/ctrl keyboard and mouse selection
  2964. consistent with the MS control. Fix a bug in
  2965. SelectedListViewItemCollection.Clear that was pissing me off for the
  2966. better part of a day because the collection was being altered
  2967. underneath us as we walked the list.
  2968. 2006-03-16 Peter Dennis Bartok <[email protected]>
  2969. * Control.cs: Not sure how we could miss this so long, but it seems
  2970. that MS.Net has Capture set all the way from before calling
  2971. OnMouseDown through sending the mouse events until after
  2972. OnMouseUp. This will fix DataGrid's selection being set to end
  2973. at the location of the MouseUp.
  2974. 2006-03-15 Jackson Harper <[email protected]>
  2975. * BindingContext.cs: Check the binding after its added so that it
  2976. can initialize the binding managers and hookup to events.
  2977. * Binding.cs: Data members seem to sometimes include rows/cols in
  2978. the format Row.Column we now take this into account.
  2979. - Hookup to the position changed event so we can update the
  2980. control when the position has changed in the data set.
  2981. * CurrencyManager.cs: Take into account the row/col naming
  2982. convention when creating dataset tables.
  2983. * BindingContext.cs: Using a newer better way of storing
  2984. datasource/datamember pairs. Hopefully this better matches MS for
  2985. looking up binding managers.
  2986. 2006-03-15 Jackson Harper <[email protected]>
  2987. * BindingContext.cs: The currency manager needs the data member
  2988. name, if the member is a data set we use the name to find the
  2989. correct table.
  2990. * CurrencyManager.cs: When creating the list prefer an IList over
  2991. an IListSource.
  2992. - Attempt to create a DataTable from a DataSet (TODO: might need
  2993. some better error checking here, although MS doesn't seem to have much)
  2994. - If we have a DataTable create a view and use it as our list.
  2995. 2006-03-15 Mike Kestner <[email protected]>
  2996. * ListView.cs: keep a matrix of the icon mode layout to facilitate
  2997. keyboard navigation. Support Up/Down/Left/Right selection correctly
  2998. for all 4 View modes.
  2999. * ListViewItem.cs: add internal row/col fields for icon layouts.
  3000. 2006-03-15 Jackson Harper <[email protected]>
  3001. * TabControl.cs: Redraw the tabs when we resize so their newly
  3002. calculated sizes are drawn on screen.
  3003. * X11Keyboard.cs: Begginnings of XIM support. We also now support
  3004. composite characters.
  3005. * XplatUIX11.cs: Keyboard driver needs to know about focus changes
  3006. - filter events so that composite characters can be created
  3007. patches by peter
  3008. * X11Structs.cs: Add XIMProperties enum.
  3009. 2006-03-14 Peter Dennis Bartok <[email protected]>
  3010. * Control.cs (BringToFront, SendToBack): Don't use window or handle
  3011. unless it's created
  3012. 2006-03-14 Peter Dennis Bartok <[email protected]>
  3013. * Control.cs (PerformLayout): We don't need to consider visiblity
  3014. for anchoring, only for docking. This fixes 'whacky' alignment
  3015. in listbox and other controls that use implicit scrollbars after
  3016. the previous PerformLayout patch
  3017. * ListBox.cs: Switched to use implicit scrollbars
  3018. 2006-03-14 Mike Kestner <[email protected]>
  3019. * ToolBar.cs:
  3020. * VScrollBar.cs:
  3021. - chain up the "new event" overrides to base and use
  3022. OnEvent to raise them. Part of fix for bug #76509.
  3023. 2006-03-14 Alexander Olk <[email protected]>
  3024. * FileDialog.cs: Do not select an item in the parent directory
  3025. on backspace
  3026. 2006-03-14 Peter Dennis Bartok <[email protected]>
  3027. * Control.cs (PerformLayout): It would seem that we considered
  3028. invisible windows for our layout. Not quite the right thing
  3029. to do. Now we don't any longer, thereby fixing bug #76889.
  3030. 2006-03-14 Peter Dennis Bartok <[email protected]>
  3031. * Control.cs (CanFocus): I goofed. A control can have focus
  3032. even though it's not selectable. Made it match MS docs.
  3033. 2006-03-13 Peter Dennis Bartok <[email protected]>
  3034. * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
  3035. center by default (fixes #76895)
  3036. * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
  3037. all uses of Border3DSides.All with the explicit ORd together
  3038. Left|Right|Top|Bottom because I assume that nobody was aware
  3039. that All also implies a center fill. Most places I checked had
  3040. a fill right above.
  3041. * ProgressBarStyle.cs: Added
  3042. 2006-03-13 Mike Kestner <[email protected]>
  3043. * ListView.cs: fix breakage in drag shadow header positioning
  3044. from Peter's csc compilation fix.
  3045. 2006-03-13 Mike Kestner <[email protected]>
  3046. * ListView.cs: fix NRE produced by backspacing twice in a focused
  3047. FileDialog.
  3048. 2006-03-13 Mike Kestner <[email protected]>
  3049. * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
  3050. 2006-03-13 Peter Dennis Bartok <[email protected]>
  3051. * Hwnd.cs: Added fixed_size field to track windows whose size cannot
  3052. be changed
  3053. * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
  3054. the allowed size before making programmatic size changes
  3055. 2006-03-13 Peter Dennis Bartok <[email protected]>
  3056. * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
  3057. set, metacity is broken and will still use the emty sizes in
  3058. the struct. (Fix for #77089)
  3059. 2006-03-13 Peter Dennis Bartok <[email protected]>
  3060. * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
  3061. WindowExStyles and marked both enums as Flags
  3062. * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
  3063. NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
  3064. to match WindowStyles split
  3065. * XplatUIX11.cs:
  3066. - SetWMStyles: Added cehck to not apply WM attributes to Child windows
  3067. - Updated to match WindowStyles split
  3068. * XplatUIWin32.cs:
  3069. - Fixed FosterParent creation, was using ExStyle on the Style field
  3070. (This should help with Popup focus issues)
  3071. - Updated to match WindowStyles split
  3072. 2006-03-13 Jackson Harper <[email protected]>
  3073. * MdiWindowManager.cs: Use the system menu height. Fixes some
  3074. strange sizing issues.
  3075. 2006-03-12 Peter Dennis Bartok <[email protected]>
  3076. * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
  3077. * TextBoxBase.cs:
  3078. - Scroll to caret after inserting text (#77672)
  3079. - Make scroll range one pixel higher, fixes off-by-one error (and
  3080. makes underlines visible on the last line)
  3081. 2006-03-12 Peter Dennis Bartok <[email protected]>
  3082. * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
  3083. the keyboard state from being stuck with keys in 'pressed' state when
  3084. focus is switched away via keyboard
  3085. * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
  3086. reset the keyboard if no X11 KeyUp events are expected to come
  3087. * X11Structs.cs: Switched type of Visible to bool to match driver
  3088. 2006-03-12 Peter Dennis Bartok <[email protected]>
  3089. * TextControl.cs:
  3090. - Switched caret to be just 1 pixel wide, matches MS and looks less
  3091. clunky
  3092. - Moved caret display 1 pixel down from the top of the control
  3093. to improve view
  3094. - InsertCharAtCharet: Update the selection start if moving the caret
  3095. (fixes bug #77696; based on patch suggested by [email protected])
  3096. - No longer always creating the caret when the caret methods are
  3097. called. Only the actual ShowCaret/HideCaret will do that now
  3098. - Only setting caret visible if the owner control has focus
  3099. - UpdateView: Added invalidation-shortcut logic for center and right
  3100. aligned text. Previously we'd update all according to the left
  3101. logic which caused drawing errors. Also fixed height of invalidated
  3102. areas, now properly invalidating the whole area (was off-by-one)
  3103. - owner_HandleCreated: Always generate the document when the
  3104. handle is created; this ensures that
  3105. * TextBoxBase.cs:
  3106. - Fixed situation where caret would disappear under the right
  3107. window border, also improved scrolling behaviour on left-
  3108. aligned textboxes
  3109. - Fixed right-aligned textboxes to have a border to the
  3110. right instead of the caret being under the right border
  3111. * XplatUIX11.cs:
  3112. - Switched from 'nested' to simple visible/not visible tracking
  3113. for caret (part of fix for #77671)
  3114. - No longer passing through translated FocusIn/FocusOut messages
  3115. since we were notifying too often and the wrong windows. Instead
  3116. we just notify our focussed window of receiving or loosing focus
  3117. * XplatUIWin32.cs: Switched from 'nested' show/hide
  3118. counting for caret to simple visible yes/no behaviour (part of
  3119. fix for #77671)
  3120. 2006-03-11 Alexander Olk <[email protected]>
  3121. * Mime.cs: Remove debug code...
  3122. 2006-03-11 Alexander Olk <[email protected]>
  3123. * MimeGenerated.cs: Removed
  3124. * Mime.cs: Mime now reads the mime data (magic, globs, aliases
  3125. and subclasses) from /usr/(local/)share/mime and
  3126. $HOME/.local/share/mime.
  3127. 2006-03-10 Jackson Harper <[email protected]>
  3128. * MdiWindowManager.cs: Recalc the NC area when a window is
  3129. maximized/restored so that the menu area is drawn on forms that
  3130. don't have a menu.
  3131. 2006-03-10 Peter Dennis Bartok <[email protected]>
  3132. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  3133. XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
  3134. us to force a WM_NCCALCRESIZE message being sent. This is needed
  3135. for MDI maximizing.
  3136. 2006-03-10 Jackson Harper <[email protected]>
  3137. * Form.cs: We need to use the ActiveMenu when calculating menu
  3138. height.
  3139. - Fix nullref when the window manager hasn't been created yet.
  3140. * Control.cs: Fix nullref when we try to bring a control to the
  3141. front that has no parent.
  3142. * MdiWindowManager.cs: Use the MaximizedMenu for calculating
  3143. height.
  3144. - Add a dummy item to the maximized menu so it always has the
  3145. correct height. Otherwise when there are no menus we don't get our
  3146. icon and buttons.
  3147. 2006-03-10 Jackson Harper <[email protected]>
  3148. * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
  3149. stuff.
  3150. * Form.cs: Make the window_state internal so the window managers
  3151. can track it.
  3152. - When an MDI child is maximized let its window manager create the
  3153. main menu (so it can add its icon).
  3154. - Notify the window managers of state changes
  3155. - Let the window manager paint its buttons and handle button
  3156. clicks on the menu when it is maximized.
  3157. * InternalWindowManager.cs: Move the prev_bounds into the mdi
  3158. window manager, since tool windows don't use it, only mdi windows.
  3159. - Tell the main form that we don't want it to handle NCPAINT
  3160. itself to avoid extra painting.
  3161. - Handle clicks on a maximized windows menu.
  3162. - Handle window state changes
  3163. - Handle minimize/maximize clicks correctly by setting the window state.
  3164. * MdiWindowManager.cs: Add an icon menu that (the menu you get
  3165. when clicking on the forms icon).
  3166. - New method to create a forms maximized menu. This is its normal
  3167. menu + an icon.
  3168. - Handle window state changes.
  3169. - Handle sizing of maximized windows. Maximized windows are just
  3170. drawn bigger then the parent visible area. All controls are still
  3171. there, they are just outside the visible area (this matches windows).
  3172. * MdiClient.cs: No scrollbars when a child window is maximized.
  3173. - Let the children windows figure out how big they should be when
  3174. sizing maximized windows.
  3175. - Implement a version of ArrangeIconicWindows somewhat similar to
  3176. Windows version. There are some little differences, but I don't
  3177. think any app will rely on the layout of minimized mdi windows.
  3178. 2006-03-10 Peter Dennis Bartok <[email protected]>
  3179. * Padding.cs: Several fixes to allow compiling with csc 2.0
  3180. 2006-03-09 Jackson Harper <[email protected]>
  3181. * Menu.cs:
  3182. * MenuItem.cs: Cheap hack so we can add items to the list without
  3183. the events being raised. This allows adding mdi items during
  3184. drawing. TODO: Should probably find a better time to add the items.
  3185. 2006-03-10 Peter Dennis Bartok <[email protected]>
  3186. * ThemeWin32Classic.cs:
  3187. - CheckBox_DrawText: Added logic to not wrap if not enough space
  3188. is available (Fix for bug #77727)
  3189. - RadioButton_DrawText: Added logic not to wrap if not enough
  3190. space is available (Fix for bug #77727). Also removed some
  3191. duplicate code, DrawString always drawing the regular text
  3192. before hitting the if statement.
  3193. 2006-03-10 Peter Dennis Bartok <[email protected]>
  3194. * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
  3195. 2006-03-10 Peter Dennis Bartok <[email protected]>
  3196. * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
  3197. * ContainerControl.cs: Partial implementation of some 2.0 scaling
  3198. methods. Moved the new 2.0 properties into alphabetical order with
  3199. other properties and added MonoTODO tags
  3200. 2006-03-09 Peter Dennis Bartok <[email protected]>
  3201. * AutoScaleMode.cs: Added. Fix build.
  3202. 2006-03-09 Peter Dennis Bartok <[email protected]>
  3203. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  3204. XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
  3205. and was requiring premature handle creation for calls from above
  3206. * Form.cs, Control.cs: Removed handle arguments from calls to
  3207. CalculateClientRect()
  3208. 2006-03-09 Peter Dennis Bartok <[email protected]>
  3209. * ListView.cs (HeaderMouseMove): Fix csc compilation.
  3210. drag_column.column_rect is MarshalByRef and can't be used that way
  3211. 2006-03-09 Peter Dennis Bartok <[email protected]>
  3212. * AxHost.cs: Added deserialization constructor for
  3213. AxHost+State (fixes 77743)
  3214. 2006-03-09 Mike Kestner <[email protected]>
  3215. * ListView.cs:
  3216. - Added column drag reordering for details view.
  3217. - fixed behavior when mouse is dragged off column and
  3218. AllowColumnReorder is false.
  3219. * ColumnHeader.cs: clone the format too in Clone.
  3220. * Theme.cs: add DrawListViewHeaderDragDetails method.
  3221. * ThemeWin32Classic.cs:
  3222. - impl new method for drawing drag column shadows and targets.
  3223. - support column offset for details mode in DrawListViewItem.
  3224. 2006-03-09 Peter Dennis Bartok <[email protected]>
  3225. * TextControl.cs: Reset the char_count when the document is cleared
  3226. (Fixes bug reported on mono-winforms mailing list)
  3227. 2006-03-09 Peter Dennis Bartok <[email protected]>
  3228. * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
  3229. of calling base we simply process the key ourselves, since both
  3230. DefWindowProc and the handled method would set m.Result.
  3231. (Fixes #77732)
  3232. 2006-03-09 Peter Dennis Bartok <[email protected]>
  3233. * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
  3234. method also moves the window; instead implemented a copy of
  3235. Control.ScaleCore (Part of fix for #77456)
  3236. * TextBoxBase.cs:
  3237. - Created new CreateGraphicsInternal method to allow providing
  3238. a graphics context when no handle is created without triggering
  3239. handle creation. (Part of fix for #77456)
  3240. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  3241. * TextControl.cs:
  3242. - Switched Constructor to require TextBoxBase instead of Control (to
  3243. allow uncast access to CreateGraphicsInternal)
  3244. - Safeguarded use of owner.Handle property. No longer accessing it
  3245. unless the handle is already created.
  3246. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  3247. - Now triggering a recalc when owning control becomes visible
  3248. * TextBox.cs, RichTextBox.cs: Switched to use new internal
  3249. TextBoxBase.CreateGraphicsInternal() method to avoid triggering
  3250. premature handle creation (Part of fix for #77456)
  3251. * Control.cs:
  3252. - We now only destroy our double-buffering buffers when the
  3253. control is resized or disposed, but not when visibility
  3254. changes. (The code even re-created them twice every time)
  3255. - Now requiring a redraw of the buffer on visibility changes
  3256. (fixes bug 77654 part 2)
  3257. - Not passing OnParentVisibleChanged up unless the control
  3258. is visible
  3259. - CanFocus: Fixed to match MS documentation
  3260. - Focus: Fixed to return actual focus state and to check if
  3261. setting focus is legal before setting it
  3262. 2006-03-08 Peter Dennis Bartok <[email protected]>
  3263. * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
  3264. when to draw focus rectangle by looking at parent focus and
  3265. selected state instead. This fixes TabPages on Linux sometimes
  3266. having none or multiple focus rectangles.
  3267. * XplatUIX11.cs (SetFocus):
  3268. - Don't set the focus if the same window already has focus
  3269. - Use SendMessage instead of PostMessage (like it's Win32
  3270. equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
  3271. to match MS behaviour
  3272. * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
  3273. are not selectable.
  3274. 2006-03-07 Jackson Harper <[email protected]>
  3275. * PictureBox.cs: Revert line I accidently committed last week.
  3276. 2006-03-07 Peter Dennis Bartok <[email protected]>
  3277. * Control.cs:
  3278. - Added new IsRecreating and ParentIsRecreating properties to
  3279. allow testing if RecreateHandle has been called on ourselves
  3280. or one of our parents
  3281. - WndProc(WM_DESTROY): If our control handle is being recreated
  3282. we immediately need to create the handle when receiving the
  3283. destroy, that way our child windows find a valid parent handle
  3284. when they themselves are being recreated upon WM_DESTROY receipt
  3285. (fix for bug #77654 part 1)
  3286. * XplatUIX11.cs:
  3287. - DestroyWindow: WM_DESTROY must be sent to our own window before
  3288. notifying any child windows. MS documents that child windows
  3289. are still valid when WM_DESTROY is received. (Control now relies on
  3290. this behaviour)
  3291. - Added some fine-grain debug options
  3292. 2006-03-06 Jackson Harper <[email protected]>
  3293. * MdiClient.cs: Redid scrolling logic a bit to create a virtual
  3294. box and base calculations off this.
  3295. * MdiChildContext.cs:
  3296. * MdiWindowManager.cs: Don't need to ensure scrollbars here
  3297. anymore.
  3298. 2006-03-06 Peter Dennis Bartok <[email protected]>
  3299. * Splitter.cs: In situations where the affected control is added
  3300. to the parent's control list after the splitter, we would not
  3301. populate affected. Now we try populating it on mousedown, if
  3302. it's not already set, and force it to be re-set whenever our
  3303. parent changes.
  3304. 2006-03-03 Matt Hargett <[email protected]>
  3305. * Control.cs: implement Control.Padding
  3306. * Padding.cs: -Padding.All returns -1 when constructing with the
  3307. implicit default ctor
  3308. -Padding.ToString() matches MS.NET
  3309. * ContainerControl.cs: implement
  3310. ContainerControl.AutoScaleDimensions
  3311. * ListControl.cs: implement ListControl.FormattingEnabled
  3312. * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
  3313. * ButtonBase.cs:
  3314. * TabPage.cs: Implement UseVisualStyleBackColor.
  3315. * PictureBox.cs: Implement PictureBox.InitialImage.
  3316. 2006-03-03 Mike Kestner <[email protected]>
  3317. * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
  3318. event declarations to proxy to base event.
  3319. * ListViewItem.cs: update to use ItemControl.
  3320. * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
  3321. * ThemeWin32Classic.cs: update to new ListView theme API and fix
  3322. column header label rendering for 0 width columns.
  3323. 2006-03-03 Peter Dennis Bartok <[email protected]>
  3324. * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
  3325. that causes the control to be created. Fixes #77476.
  3326. 2006-03-02 Jackson Harper <[email protected]>
  3327. * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
  3328. expose_pending.
  3329. 2006-03-02 Peter Dennis Bartok <[email protected]>
  3330. * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
  3331. passed in for the EventArgs (fixes #77690)
  3332. 2006-03-01 Jackson Harper <[email protected]>
  3333. * ScrollBar.cs: Refresh afterbeing resized.
  3334. 2006-02-28 Mike Kestner <[email protected]>
  3335. * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
  3336. Clean up a tracker compile warning.
  3337. * MenuItem.cs: add internal PerformPopup method.
  3338. [Fixes #77457]
  3339. 2006-02-28 Peter Dennis Bartok <[email protected]>
  3340. * TextBoxBase.cs (set_Text): Recalculate the document (causing an
  3341. implicit expose) when the text is set to null
  3342. 2006-02-28 Peter Dennis Bartok <[email protected]>
  3343. * RichTextBox.cs (FlushText): When newline is true, we always
  3344. need to split the line, even if no text is on it and we may
  3345. never eat newlines. (Fixes #77669)
  3346. 2006-02-28 Mike Kestner <[email protected]>
  3347. * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
  3348. and set Selected instead.
  3349. * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
  3350. collections.
  3351. 2006-02-28 Peter Dennis Bartok <[email protected]>
  3352. * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
  3353. 2006-02-28 Alexander Olk <[email protected]>
  3354. * FontDialog.cs:
  3355. - Got rid of the panel. All controls are now directly added to
  3356. the dialog form
  3357. - It is now possible to set a font with the Font property
  3358. - MinSize and MaxSize property do now what they should
  3359. - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
  3360. - Searching and selecting a font with the font textbox works now,
  3361. the same applies to the style and size textbox
  3362. - Draw the correct 3D border in the example panel
  3363. - Fixed a little mem leak (unused fonts didn't get disposed)
  3364. - Many other internal updates/rewrites...
  3365. - Fix typo
  3366. 2006-02-27 Peter Dennis Bartok <[email protected]>
  3367. * TextControl.cs:
  3368. - InsertRTFFromStream: Added 'number of characters inserted' argument
  3369. - set_SelectedRTF: Now using the number of characters to calculate
  3370. the new location for the selection and cursor (x/y cannot be used
  3371. due to potentially already wrapped text)
  3372. 2006-02-27 Peter Dennis Bartok <[email protected]>
  3373. * TextControl.cs: Added property and implemented means to allow
  3374. disabling recalculation of a document (can be used to speed up
  3375. multiple inserts and is needed to make RTF inserts predictable, see
  3376. bug #77659)
  3377. * RichTextBox.cs: Using the new NoRecalc property of Document to
  3378. keep x/y insert locations predictable. Also makes it faster inserting
  3379. large chunks of RTF
  3380. 2006-02-27 Peter Dennis Bartok <[email protected]>
  3381. * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
  3382. it's easier for a child control to handle the other messages without
  3383. having to duplicate the special functionality
  3384. * TextBoxBase.cs
  3385. - WndProc: Removed calling base handler for WM_KEYDOWN and added
  3386. code to handle processing the key ourselves, in order to get
  3387. access to the result of KeyEventArgs.Handled. We now only call
  3388. ProcessKey if they key hasn't been handled already. Fixes #77526.
  3389. - set_Text: If null or empty string is given, just clear the
  3390. document. Fixes part of #77526
  3391. 2006-02-27 Jackson Harper <[email protected]>
  3392. * SizeGrip.cs: Paint the background color before painting the grip
  3393. so things look right.
  3394. * MdiClient.cs: Add the sizegrip when both scrollbars are used.
  3395. 2006-02-27 Mike Kestner <[email protected]>
  3396. * ListView.cs:
  3397. - Restructure layout and invalidation model to remove a ton of
  3398. flicker from the control and speed up performance in general.
  3399. - Add manual column resize, flickers like crazy, but I already have
  3400. some ideas on how I'll fix that. (#76822)
  3401. - Merge the three Icon-based views into a single layout method.
  3402. - Move item selection interaction logic from the item since
  3403. interaction with the collections is more appropriate to the view.
  3404. - Deselection on non-item clicks.
  3405. * ListViewItem.cs:
  3406. - Encapsulate most of the layout. Add some internal props to trigger
  3407. layout. Move to a model where Items invalidate themselves instead
  3408. of just invalidating the whole control every time something changes.
  3409. - Invalidate on Text/Caption changes.
  3410. - switch to an offset based layout model to avoid having to absolute
  3411. position every element on item moves.
  3412. - correct checkbox layout to conform to MS layout.
  3413. * ThemeWin32Classic.cs:
  3414. - refactor some column header drawing code.
  3415. - fix string justification for column headers (#76821)
  3416. - make SmallIcon labels top justified for compat with MS impl.
  3417. * ThemeClearlooks.cs:
  3418. - adjust to new ListViewItem internal checkbox bounds api.
  3419. 2006-02-27 Jackson Harper <[email protected]>
  3420. * Control.cs: Change where implicit controls fall in the zorder.
  3421. They are now on top of all children.
  3422. - Synced AddImplicit code with Add
  3423. - Removed unused enumerator.
  3424. * SizeGrip.cs: Remove the TODO as its been TODONE.
  3425. 2006-02-26 Peter Dennis Bartok <[email protected]>
  3426. * TextControl.cs(Insert): Combine the last lines unless the insertion
  3427. string ends with \n\n, otherwise we leave one line too many (Fixes
  3428. something I noticed with the testapp for #77526; the bug itself was
  3429. already fixed in the previous checkin)
  3430. 2006-02-26 Peter Dennis Bartok <[email protected]>
  3431. * RichTextBox.cs:
  3432. - SelectionColor and SelectionFont methods no longer set absolute
  3433. styles. Instead, the keep font or color respectively (This
  3434. resolves a long-standing FIXME in the code)
  3435. - When flushing RTF text, the insert code now considers text trailing
  3436. behind the insertion point (Fixes the bug where when replacing
  3437. the selected text via SelectedRTF the remainder of the line behind
  3438. the selection would stay on the first insertion line)
  3439. * TextBoxBase.cs:
  3440. - AppendText now updates the selection points after inserting text
  3441. - AppendText now ensures that the last tag (sometimes 0-length) of
  3442. the document is used for the style information (Fixes part of
  3443. bug #77220)
  3444. * TextControl.cs:
  3445. - Created new FontDefiniton class to allow describing partial style
  3446. changes
  3447. - StreamLine() now takes a lines argument, to allow it to decide
  3448. whether an encountered zero-length tag is the last in the document
  3449. (which must be kept to not loose the font/color contained in it,
  3450. for later appends)
  3451. - Created Combine() and Split() methods for Marker structs, to
  3452. support marker updates due to reformatted documents (soft line
  3453. wraps)
  3454. - Implemented Document.CaretTag setter
  3455. - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
  3456. of the last line (Not the cause, but also exposed by bug #77220)
  3457. - Added LineTag argument to InsertString method, to allow callers
  3458. to force a certain tag to be used (required to force use of the
  3459. trailing zero-length tag of a document)
  3460. - Now updating markers in Combine(), to avoid stale tag markers
  3461. - Added some method descriptions to aid maintenance
  3462. - Implemented new FormatText concept, allowing additive/subtractive
  3463. formatting by only specifying the components that are to be
  3464. changed. This was needed for resolving the RTB.SelectedColor/
  3465. RTB.SelectedFont fixmes
  3466. - Added Break() support method to allow breaking up linetags (used
  3467. for partial formatting)
  3468. - Added GenerateTextFormat() method. It is used for partial
  3469. formatting and allows to generate a full font/color from given
  3470. attributes and an existing tag.
  3471. 2006-02-26 Jackson Harper <[email protected]>
  3472. * XplatUIX11.cs: Use the correct caption height.
  3473. - Translate hittest coordinates to screen coords to match MS.
  3474. * XplatUIWin32.cs: When we create MDI windows we need to reset
  3475. some of the style flags, so we get a nice blank window, and can
  3476. draw all the decorations ourselves.
  3477. - Set a clipping rectangle on the non client paint event, the
  3478. window manager drawing code needs one.
  3479. * Form.cs: The window manager needs to know when the window state
  3480. has been updated.
  3481. * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
  3482. don't need to factor in border and title sizes in these
  3483. methods. TODO: Remove the args and fix the call points.
  3484. * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
  3485. properly.
  3486. - Let the driver set the cursors.
  3487. - Improve active window handling
  3488. - Correct sizes for title bars and buttons.
  3489. - Match MS drawing better
  3490. * MdiWindowManager.cs: We don't need to handle border style
  3491. updates specially anymore.
  3492. - Check for scrollbars when windows are done moving
  3493. - Handle Active properly.
  3494. * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
  3495. correctly. I am spewing the exception though, so we don't hide the
  3496. bugs.
  3497. 2006-02-26 Pedro Martinez Julia <[email protected]>
  3498. * DataGridViewRowPostPaintEventArgs.cs,
  3499. DataGridViewCellPaintingEventArgs.cs,
  3500. DataGridViewRowCollection.cs,
  3501. DataGridViewRowPrePaintEventArgs.cs,
  3502. DataGridViewCell.cs: Clear a few warnings and implement a few
  3503. exceptions that should be thrown.
  3504. 2006-02-22 Peter Dennis Bartok <[email protected]>
  3505. * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
  3506. 'inheriting' our parent's (non-default) cursor. (Part of
  3507. the fix for #77479)
  3508. 2006-02-22 Peter Dennis Bartok <[email protected]>
  3509. * XplatUIX11.cs: Fixed cast to make csc happy
  3510. 2006-02-22 Peter Dennis Bartok <[email protected]>
  3511. * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
  3512. it's for the client area (part of fix for #77479 and needed
  3513. for MDI window cursor handling)
  3514. * XplatUIX11.cs
  3515. - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
  3516. the appropriate default cursors and also passing the message
  3517. up the parent chain
  3518. - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
  3519. for non-client areas
  3520. 2006-02-15 Jackson Harper <[email protected]>
  3521. * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
  3522. is a real MDI window
  3523. 2006-02-14 Alexander Olk <[email protected]>
  3524. * X11DesktopColors.cs: Instead of checking the desktop session
  3525. string for "KDE" check if it starts with "KDE"
  3526. 2006-02-10 Jackson Harper <[email protected]>
  3527. * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
  3528. systems).
  3529. 2006-02-10 Alexander Olk <[email protected]>
  3530. * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
  3531. errors
  3532. * ColorDialog.cs:
  3533. - Got rid of the panel. All controls are now directly added to
  3534. the dialog form
  3535. - Changed to mono coding style
  3536. 2006-02-10 Jackson Harper <[email protected]>
  3537. * InternalWindowManager.cs: We don't need the set visibility to
  3538. false hack anymore now that peter has written beautiful shutdown
  3539. code.
  3540. 2006-02-10 Peter Dennis Bartok <[email protected]>
  3541. * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
  3542. where already explicitly destroyed
  3543. 2006-02-10 Jackson Harper <[email protected]>
  3544. * MdiClient.cs: Handle the case where windows are too high or to
  3545. the left and we need scrollbars.
  3546. 2006-02-10 Alexander Olk <[email protected]>
  3547. * MimeIcon.cs: Added some icons
  3548. * FileDialog.cs:
  3549. - Fixed bug #77477
  3550. - Got rid of the panel. All controls are now directly added to
  3551. the dialog form
  3552. - Changed to mono coding style
  3553. - On Linux "My Computer" and "My Network" will now show some
  3554. more usefull information. A new class, MasterMount, gathers
  3555. this information from /proc/mount. Updated MWFFileView to make
  3556. use of this information
  3557. - Fixed a bug that caused FileDialog to crash when
  3558. ".recently_used" file had a zero size
  3559. - FilterIndex does now what it should
  3560. - Some Refactoring
  3561. * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
  3562. FileDialog changes
  3563. 2006-02-09 Jackson Harper <[email protected]>
  3564. * ComboBox.cs: Don't touch if null.
  3565. 2006-02-09 Peter Dennis Bartok <[email protected]>
  3566. * Cursor.cs: 64bit safeness fix
  3567. * XplatUIX11.cs: Removed several unneeded and one moronic cast.
  3568. 2006-02-09 Jackson Harper <[email protected]>
  3569. * Form.cs: If a form is made into an MDI form update the styles so
  3570. all the props can get set correctly.
  3571. - Kill the mdi_container when we dont need it anymore.
  3572. * InternalWindowManager.cs: Add missing NOT
  3573. 2006-02-08 Jackson Harper <[email protected]>
  3574. * InternalWindowManager.cs: Respek clipping when drawing MDi
  3575. decorations.
  3576. 2006-02-08 Jackson Harper <[email protected]>
  3577. * Hwnd.cs: Add bits to track non client expose events.
  3578. * XplatUIX11.cs: Track non client expose events on the hwnd. This
  3579. gives us a proper invalid rect and will allow for some nice
  3580. optimizations with NC client drawing
  3581. - MDI windows are children windows, so move their style handling
  3582. into the child window block.
  3583. * InternalWindowManager.cs: Remove a state reset that was
  3584. getting invoked at the wrong time. Fixes managed windows getting
  3585. into a 'stuck' captured state.
  3586. 2006-02-07 Peter Dennis Bartok <[email protected]>
  3587. * TextControl.cs (Document.ctor): Now initializing
  3588. selection_anchor. Fixes #77493
  3589. 2006-02-07 Jackson Harper <[email protected]>
  3590. * TrackBar.cs: The increment/decrements were backwards.
  3591. 2006-02-07 Mike Kestner <[email protected]>
  3592. * Theme*.cs : remove ThemeEngine.Current usage as it just points back
  3593. to the instance itself.
  3594. 2006-02-07 Peter Dennis Bartok <[email protected]>
  3595. * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
  3596. on ulongs and pointers, the size differs between 32bit and 64bit
  3597. systems.
  3598. 2006-02-07 Mike Kestner <[email protected]>
  3599. * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
  3600. for 64 bit platforms to work around a metacity bug.
  3601. 2006-02-07 Jackson Harper <[email protected]>
  3602. * TrackBar.cs: Process the input keys we need, and hookup to
  3603. KeyDown instead of using WndProc, so we get key messages.
  3604. 2006-02-06 Peter Dennis Bartok <[email protected]>
  3605. * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
  3606. machine we're on.
  3607. * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
  3608. we need to translate the XdndVersion atoms array before sending it
  3609. 2006-02-06 Peter Dennis Bartok <[email protected]>
  3610. * XplatUIX11.cs:
  3611. - The preceeding 64bit fixes had a bug: ChangeProperty expects the
  3612. number of bits for the property, not the number of bytes. The
  3613. change to provide IntPtr.Size broke 32bit. (64bit was also wrong
  3614. but would not crash since it specified 8 bits instead of 4 bits)
  3615. - More 64bit fixes: Switched all atoms from int to IntPtr (they are
  3616. defined as XID -> long in the C headers)
  3617. - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
  3618. references since those are now IntPtr to begin with
  3619. - Switched all Atom.XXX 'int' casts to IntPtr casts
  3620. - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
  3621. - Fixed XInternAtom signature for 64bit, now returns an IntPtr
  3622. - Added XChangeActivePointerGrab DllImport (for X11DnD)
  3623. * X11Structs.cs:
  3624. - Changed 'int' type for Atoms in XEvent structures to IntPtr
  3625. - Changed atom in HoverStruct to be IntPtr
  3626. * X11DnD.cs:
  3627. - Removed local DllImports, switched code to use those from XplatUIX11
  3628. - Removed/fixed casts related to the switch of Atom to be a IntPtr
  3629. 2006-02-06 Mike Kestner <[email protected]>
  3630. * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
  3631. method signatures in the import region. There may still be some
  3632. lingering struct marshaling issues, as I didn't drill down into those.
  3633. Yet.
  3634. 2006-02-06 Jackson Harper <[email protected]>
  3635. * ComboBox.cs: Dont manually set the top_item, this is computed
  3636. when the scrollbar position is set.
  3637. 2006-02-06 Mike Kestner <[email protected]>
  3638. * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
  3639. startup crashes on amd64. There's other fixes needed. All pinvoke
  3640. usage of Atom needs to be mapped to IntPtr for example. And there are
  3641. likely other int/long issues to be addressed.
  3642. 2006-02-04 Alexander Olk <[email protected]>
  3643. * FileDialog.cs: One more...
  3644. 2006-02-03 Alexander Olk <[email protected]>
  3645. * FileDialog.cs: Next try
  3646. 2006-02-03 Alexander Olk <[email protected]>
  3647. * FileDialog.cs: First part of fix for #77464
  3648. 2006-02-03 Alexander Olk <[email protected]>
  3649. * ButtonBase.cs, ContainerControl.cs, Forms.cs,
  3650. ThemeWin32Classic.cs: Fix for #77458. Correct handling of
  3651. AcceptButton border drawing.
  3652. 2006-02-03 Peter Dennis Bartok <[email protected]>
  3653. * Form.cs: Moved positioning of form after auto scaling is applied,
  3654. otherwise it would possibly use wrong form size.
  3655. 2006-02-03 Peter Dennis Bartok <[email protected]>
  3656. * Control.cs (RecreateHandle): No need to re-create any child
  3657. controls, the child windows will get destroyed automatically by
  3658. the windowing system or driver, and re-created when the handle
  3659. is being accessed the first time. Fixes #77456
  3660. * Form.cs: No longer setting the form to closing if the handle is
  3661. being recreated. This seems like the right thing to do, don't
  3662. have a bug or testcase for this, though.
  3663. 2006-02-02 Peter Dennis Bartok <[email protected]>
  3664. * FileDialog.cs: Suspend/Resume layouting when changing sizes of
  3665. controls to avoid unwanted side effects
  3666. 2006-02-02 Peter Dennis Bartok <[email protected]>
  3667. * Control.cs:
  3668. - ScaleCore needs to scale the bounds, not the ClientSize of the
  3669. control. Fixes #77416.
  3670. - DefaultSize is 0,0 for control
  3671. * TextBoxBase.cs:
  3672. - DefaultSize is 100, 20
  3673. - SetBoundsCore: Now enforcing the height, no matter if the provided
  3674. height is more or less than the preferred one, as long as AutoSize
  3675. is on
  3676. * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
  3677. 2006-02-02 Peter Dennis Bartok <[email protected]>
  3678. * Control.cs:
  3679. - ResumeLayout: Fixed logic when to call PerformLayout, we may not
  3680. call unless both performLayout is true *and* we have a pending
  3681. layout change
  3682. - ResumeLayout: MS does not completely nest Suspend and Resume,
  3683. they bottom out at 0, fixed our code to match that.
  3684. - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
  3685. SetBoundsCore, we were updating even when we shouldn't. This fixes
  3686. swf-anchors mis-anchoring when resizing the app fast and lots.
  3687. - UpdateDistances: Now only setting the left and top distance if
  3688. we have a parent and are not suspended, this is based on
  3689. a suggestion by Don Edvaldson in bug #77355.
  3690. - OnVisibleChanged: Fixed logic when to create the control. We may
  3691. not create the control if we have no parent or if it's not visible;
  3692. switched to using Visible property instead of is_visible field
  3693. since the property also considers parent states. This fixes a bug
  3694. when starting Paint.Net
  3695. 2006-02-02 Jackson Harper <[email protected]>
  3696. * Form.cs: If the forms handle hasn't been created yet don't call
  3697. into xplatui to make it top most, just set the topmost flag on the
  3698. form in CreateParams
  3699. * XplatUIX11.cs: Handle WS_EX_TOPMOST.
  3700. 2006-02-01 Jackson Harper <[email protected]>
  3701. * ScrollableControl.cs: Refactored the Recalculate method a
  3702. little, this wasn't handling all the variants of bottom and right
  3703. bars needed to be added and added/removed based on their
  3704. counterparts being added/removed (which changes the drawable
  3705. size). Also we special case client widths and heights of 0 and
  3706. don't add the scrollbar for those.
  3707. 2006-02-01 Peter Dennis Bartok <[email protected]>
  3708. * XplatUIX11.cs:
  3709. - Added method to get AbsoluteGeometry(); currently unused, but might
  3710. be used in the future, if we try again to figure out toplevel
  3711. coordinates with some more crappy window managers
  3712. - Added FrameExtents() method to retrieve the WM set decoration size
  3713. - Tried to fix up AddConfigureNotify and handling of ReparentNotify
  3714. to deal with at least KDE, FVWM and metacity (Fixes #77092)
  3715. * Hwnd.cs:
  3716. - Added whacky_wm tracking var for metacity
  3717. - Added logic to have default menu height if the actual menu height
  3718. has not yet been calculated (part of fix for #77426)
  3719. * Form.cs: Keep track whether client size has been set and re-set
  3720. it if a menu is added/removed afterwards (Fixes #77426)
  3721. 2006-01-31 Jackson Harper <[email protected]>
  3722. * Control.cs: When a new Site is set on the component attempt to
  3723. pull the AmbientProperties from it.
  3724. 2006-01-31 Peter Dennis Bartok <[email protected]>
  3725. * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
  3726. in the background of the owning form. Fixes #77332
  3727. 2006-01-31 Alexander Olk <[email protected]>
  3728. * MimeIcon.cs: Fix for #77409
  3729. 2006-01-31 Alexander Olk <[email protected]>
  3730. * XplatUIX11GTK.cs: Initial import
  3731. 2006-01-31 Jordi Mas i Hernandez <[email protected]>
  3732. * FixedSizeTextBox: fixes class signature
  3733. 2006-01-30 Jackson Harper <[email protected]>
  3734. * FixedSizeTextBox.cs: New internal class that represents a
  3735. textBox that will not be scaled.
  3736. * TreeView.cs:
  3737. * ComboBox.cs:
  3738. * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
  3739. standard TextBox.
  3740. 2006-01-30 Peter Dennis Bartok <[email protected]>
  3741. * XplatUIX11.cs: Retrieve default screen number instead of
  3742. assuming 0. Attempted fix for #77318
  3743. 2006-01-30 Peter Dennis Bartok <[email protected]>
  3744. * XplatUIWin32.cs:
  3745. - GetWindowPos: When a window is parented by FosterParent, use
  3746. the desktop instead of FosterParent as the base to get coordinates
  3747. - CreateWindow: Don't make FosterParent the parent window for Popups
  3748. if we don't want a taskbar entry, Popups automatically don't get one
  3749. * Hwnd.cs: Need to call remove to actually remove the key from the
  3750. hash table
  3751. 2006-01-30 Mike Kestner <[email protected]>
  3752. * MenuAPI.cs: adjust MainMenu item popup location to y=0.
  3753. 2006-01-30 Jackson Harper <[email protected]>
  3754. * TreeView.cs:
  3755. * TreeNode.cs: Raise events no matter how the treenode is
  3756. checked. Patch by Don Edvalson.
  3757. 2006-01-30 Jackson Harper <[email protected]>
  3758. * TreeNode.cs: Signature fix.
  3759. 2006-01-29 Alexander Olk <[email protected]>
  3760. * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
  3761. 2006-01-20 Mike Kestner <[email protected]>
  3762. * Form.cs: Add ActiveTracker property to do Captures and perform mouse
  3763. event forwarding when menus are active.
  3764. * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
  3765. Most of the patch is pdb's with a little rework.
  3766. 2006-01-26 Peter Dennis Bartok <[email protected]>
  3767. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
  3768. Removed GetMenuDC and ReleaseMenuDC methods; replaced
  3769. by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
  3770. * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
  3771. * InternalWindowManager.cs: Added use of PaintEventStart/End to
  3772. handling of WM_NCPAINT message, now passing the PaintEventArgs to
  3773. the PaintWindowDecorations method
  3774. * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
  3775. * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
  3776. * MenuAPI.cs: Made tracker window invisible
  3777. * XplatUIWin32.cs:
  3778. - Removed GetMenuDC and ReleaseMenuDC methods
  3779. - Implemented the client=false path for PaintEventStart and
  3780. PaintEventEnd
  3781. 2006-01-26 Peter Dennis Bartok <[email protected]>
  3782. * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
  3783. * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
  3784. styles
  3785. * Form.cs:
  3786. - MaximizeBox, MinimizeBox: Recreate the handle when setting
  3787. the style
  3788. - CreateParams: Reworked the styles to match MS look'n'feel,
  3789. removed automatic setting of MinimizeBox, MaximizeBox, etc. via
  3790. the WS_OVERLAPPEDWINDOW style. This fixes #76823.
  3791. 2006-01-26 Peter Dennis Bartok <[email protected]>
  3792. * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
  3793. window is not mapped, since otherwise every form that's being
  3794. created is considered minimized, which is wrong.
  3795. * Form.cs: Catching the exception and returning our internal value
  3796. instead
  3797. 2006-01-26 Peter Dennis Bartok <[email protected]>
  3798. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
  3799. SetWindowMinMax() to have means to tell the driver about the minimum,
  3800. maximum and maximized state window sizes. (Part of the fix for #76485)
  3801. * Form.cs:
  3802. - Implemented tracking of minimum and maximum window size, now calling
  3803. new SetWindowMinMax() driver method to tell the driver (Part of the
  3804. fix for #76485)
  3805. - Finished handling of WM_GETMINMAXINFO method, now setting all values
  3806. (Completes fix for #76485)
  3807. - Calling new SetWindowMinMax driver method when the handle for a
  3808. form is created, to make sure the driver knows about it even if
  3809. the values have been set before the window was created
  3810. - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
  3811. to avoid messing up our anchoring calculations (partial fix
  3812. for #77355)
  3813. * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
  3814. * XplatUIX11.cs:
  3815. - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
  3816. - Improved GetWindowState() to detect 'Minimized' state on Metacity
  3817. (and presumably other freedesktop.org compliant WMs). Left the
  3818. assumption unmapped=minimized, needed for SetVisible to work.
  3819. - Now setting the window state when creating windows
  3820. - Fixed SetVisible to consider/set the window state when mapping
  3821. a Form. We cannot set the state before it's mapped, and we cannot
  3822. use Form.WindowState once it's mapped (since it would ask the
  3823. driver and get 'normal'. Therefore, we grab the state before
  3824. mapping, map, and then set state.
  3825. - Implmemented SetWindowMinMax method; Metacity does not seem to
  3826. honor the ZoomHints, though.
  3827. * XplatUIWin32.cs:
  3828. - Removed MINMAXINFO (moved to XplatUIStructs)
  3829. - Added SetWindowMinMax stub (on Win32 the only way to set that
  3830. information is in response to the WM_GETMINMAXINFO message, which
  3831. is handled in Form.cs)
  3832. - Added logic to SetVisible to set the proper window state when a
  3833. form is made visible (fixes #75720)
  3834. 2006-01-26 Jackson Harper <[email protected]>
  3835. * Control.cs (BeginInvoke): Automagically handle EventHandlers the
  3836. same way we handle them with Invoke.
  3837. 2006-01-25 Peter Dennis Bartok <[email protected]>
  3838. * Form.cs:
  3839. - Added tracking of window state so CreateParams can return
  3840. the appropriate style
  3841. - Moved setting of WS_CAPTION style in CreateParams to allow
  3842. styles without caption
  3843. * DataGridTextBoxColumn.cs: We are now also creating the TextBox
  3844. control if the TextBox property is accessed. Fixes #77345
  3845. * Control.cs:
  3846. - get_Created: now uses is_disposed and is_created to determine
  3847. return value (suggested by Jackson)
  3848. - CreateHandle: No longer exits if the handle is being recreated
  3849. - RecreateHandle: If the handle is not yet created call the
  3850. appropriate method to create either control or handle. If the
  3851. control is already created CreateHandle will simply exit instead
  3852. of just creating the handle
  3853. * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
  3854. now SendMessage WM_DESTROY directly to the control when DestroyWindow
  3855. is called.
  3856. * XplatUIX11.cs:
  3857. - When DestroyWindow is called, instead of waiting for the
  3858. DestroyNotification from X11, we directly post it to the WndProc
  3859. and immediately dispose the hwnd object.
  3860. Same applies to DestroyChildWindows, and this obsoletes the
  3861. expose_pending tracking. Contrary to Win32 behaviour we destroy our
  3862. child windows before our own, to avoid X11 errors.
  3863. - Removed the direct sending of WM_PAINT on UpdateWindow
  3864. * XplatUIWin32.cs:
  3865. - Reworked DoEvents and GetMessage to allow access to internal queue
  3866. even when trying non-blocking access to the queue. Fixes #77335.
  3867. Based on a patch suggestion by Don Edvalson. The new private
  3868. GetMessage can now also be used as a backend for a PeekMessage
  3869. frontend version.
  3870. * XplatUI.cs: Improved debug output for CreateWindow
  3871. 2006-01-25 Jackson Harper <[email protected]>
  3872. * Help.cs: Allow param to be null. Patch by Don Edvalson.
  3873. 2006-01-24 Jackson Harper <[email protected]>
  3874. * ComboBox.cs: Clamp the max value set for the vertical scrollbar
  3875. when we have a MaxDropItems lower then the selected index.
  3876. 2006-01-24 Jackson Harper <[email protected]>
  3877. * Control.cs: Don't allow selection of non visible controls, allow
  3878. selection of controls without parents.
  3879. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  3880. * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
  3881. * DataGridDrawingLogic.cs: Add editing row only when is necessary
  3882. 2006-01-23 Jackson Harper <[email protected]>
  3883. * UpDownBase.cs: Make the textbox handle all the selection and
  3884. tabbing. This fixes tabing to updown controls.
  3885. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  3886. * TextBoxBase.cs: fixes exception thown the object was null
  3887. 2006-01-23 Jackson Harper <[email protected]>
  3888. * ButtonBase.cs: Just use the base CreateParams. They set
  3889. visibility and enabled correctly.
  3890. * ComboBox.cs:
  3891. * TrackBar.cs:
  3892. * MonthCalendar.cs: Lets let the base set as much of the
  3893. createparams as possible so we don't have duplicate code all over
  3894. the place.
  3895. 2006-01-22 Alexander Olk <[email protected]>
  3896. * ThemeGtk.cs: Added TrackBar and some experimental code to
  3897. get double buffering back
  3898. 2006-01-21 Jordi Mas i Hernandez <[email protected]>
  3899. * DataGrid.cs: Allows row number set internally higher than the last
  3900. when creating a new row. Restores the editing functionality.
  3901. 2006-01-20 Mike Kestner <[email protected]>
  3902. * MimeIcon.cs: delay Image creation until the icons are accessed
  3903. instead of creating 190 scaled images on GnomeHandler startup.
  3904. 2006-01-19 Peter Dennis Bartok <[email protected]>
  3905. * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
  3906. first call base before processing the event. Fixes #77279
  3907. 2006-01-19 Peter Dennis Bartok <[email protected]>
  3908. * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
  3909. that the stride for the GDI bitmap would match the stride of
  3910. a DIB or a Cursor.
  3911. 2006-01-19 Alexander Olk <[email protected]>
  3912. * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
  3913. 2006-01-19 Jackson Harper <[email protected]>
  3914. * ComboBox.cs: Hookup the text controls keydown event so we get
  3915. those when the text control has the focus.
  3916. 2006-01-18 Peter Dennis Bartok <[email protected]>
  3917. * Label.cs: Now using the base events instead of defining new ones;
  3918. this allows us to just call the base properties without having to
  3919. duplicate all base property logic
  3920. 2006-01-18 Peter Dennis Bartok <[email protected]>
  3921. * Label.cs: A label by default is not a tabstop (Fixes one of our
  3922. failing nunit tests)
  3923. 2006-01-18 Peter Dennis Bartok <[email protected]>
  3924. * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
  3925. * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
  3926. 2006-01-18 Peter Dennis Bartok <[email protected]>
  3927. * Cursor.cs: Reimplemented creating cursor bitmaps without using
  3928. the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
  3929. This fixes #77218
  3930. * XplatUIWin32.cs:
  3931. - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
  3932. constructor creates images that can't be saved. Part of the fix
  3933. for #76103
  3934. - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
  3935. - SetWindowState: Switched ShowWindow flags (part of an upcoming
  3936. bug fix for handling window state in forms properly)
  3937. 2006-01-18 Alexander Olk <[email protected]>
  3938. * ThemeGtk.cs: Simplify ScrollBar drawing
  3939. 2006-01-18 Jackson Harper <[email protected]>
  3940. * Splitter.cs: Set the default dock style for the splitter control
  3941. in the constructor.
  3942. 2006-01-18 Alexander Olk <[email protected]>
  3943. * ThemeGtk.cs: Corrected StateType and ShadowType for
  3944. gtk_paint_box
  3945. 2006-01-18 Alexander Olk <[email protected]>
  3946. * Control.cs: Make use of Theme.DoubleBufferingSupported
  3947. * ThemeGtk.cs:
  3948. - Added drawing for flat style buttons
  3949. - Added ScrollBar drawing
  3950. 2006-01-18 Alexander Olk <[email protected]>
  3951. * ThemeClearlooks.cs: Removed some unneeded code.
  3952. * ThemeGtk.cs: First part of ThemeGtk enhancements.
  3953. 2006-01-17 Peter Dennis Bartok <[email protected]>
  3954. * LinkLabel.cs: We need to update the hover drawing when
  3955. leaving the control as well.
  3956. 2006-01-18 Jordi Mas i Hernandez <[email protected]>
  3957. * DataGrid.cs: Clicking on non empty areas in the columns
  3958. area was giving an exception
  3959. 2006-01-17 Jackson Harper <[email protected]>
  3960. * ThemeWin32Classic.cs:
  3961. * ListView.cs: Do not draw/clip the headers when the header style
  3962. is None.
  3963. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  3964. * DataGrid.cs: Fixes 77260
  3965. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  3966. * DataGrid.cs: Clicking on a column on a empty grid was giving
  3967. an exception
  3968. 2006-01-17 Peter Dennis Bartok <[email protected]>
  3969. * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
  3970. or any keypress will crash the grid.
  3971. 2006-01-17 Mike Kestner <[email protected]>
  3972. * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
  3973. * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
  3974. invisible/previously-visible items.
  3975. [Fixes #76909]
  3976. 2006-01-17 Alexander Olk <[email protected]>
  3977. * ThemeClearlooks.cs:
  3978. - Added CL_Draw_Button method; now other theme controls that are
  3979. not derived from button or do not have a button can draw buttons
  3980. too
  3981. - Updated ComboBox drawing
  3982. - Beautified RadioButton drawing
  3983. - Corrected drawing of bottom and left tabs
  3984. - Beautified DateTimePicker and MonthCalendar
  3985. - Added CPDrawButton and CPDrawRadioButton
  3986. 2006-01-16 Jackson Harper <[email protected]>
  3987. * ComboBox.cs: Set the initial value of the scrollbar to the
  3988. current index. Reduce the numbers of refreshs and IndexOfs called.
  3989. 2006-01-14 Alexander Olk <[email protected]>
  3990. * FileDialog.cs: When the file listview is focused hitting the
  3991. backspace key moves the fileview to the parent directory
  3992. 2006-01-13 Peter Dennis Bartok <[email protected]>
  3993. * Form.cs:
  3994. - Added RecreateHandle call when changing taskbar visibility to
  3995. trigger reparenting in Win32 driver (Fixes #75719)
  3996. - If a window has minimize or maximize buttons, it cannot have
  3997. a help button
  3998. * XplatUIWin32.cs:
  3999. - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
  4000. the toplevel form with FosterParent (A toolwindow not on the
  4001. taskbar) (Fixes #75719)
  4002. - Made FosterParent a toolwindow
  4003. 2006-01-13 Alexander Olk <[email protected]>
  4004. * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
  4005. 2006-01-13 Alexander Olk <[email protected]>
  4006. * ToolTip.cs: If SetToolTip is called from a control and the mouse
  4007. is currently over that control, make sure that tooltip_window.Text
  4008. gets updated
  4009. 2006-01-13 Mike Kestner <[email protected]>
  4010. * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
  4011. 2006-01-13 Jackson Harper <[email protected]>
  4012. * TreeView.cs: On MS GetNodeAt never actually factors in the X
  4013. value passed. Also redraw the selected node when we recieve
  4014. focus, so tabbing between trees works correctly.
  4015. 2006-01-13 Alexander Olk <[email protected]>
  4016. * MimeIcon.cs: GnomeHandler: older gnome versions don't have
  4017. ~/.gconf/%gconf-tree.xml, so use
  4018. .gconf/desktop/gnome/interface/%gconf.xml
  4019. 2006-01-13 Peter Dennis Bartok <[email protected]>
  4020. * TextControl.cs: Draw text in gray if control is disabled
  4021. 2006-01-13 Peter Dennis Bartok <[email protected]>
  4022. * TreeView.cs: Draw the focus rectangle outside the highlight, to
  4023. make sure it's always visible. Fixes #76680.
  4024. 2006-01-13 Peter Dennis Bartok <[email protected]>
  4025. * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
  4026. 2006-01-13 Jonathan Chambers <[email protected]>
  4027. * PageSetupDialog.cs: Added.
  4028. * PrintDialog.cs: Attributes.
  4029. * PrintPreviewControl.cs: Updates.
  4030. * PrintPreviewDialog.cs: Updates.
  4031. 2006-01-12 Peter Dennis Bartok <[email protected]>
  4032. * Control.cs: Undid my selection check fix, since it's not needed
  4033. * TextBoxBase.cs:
  4034. - Now considering the presence of hscroll/vscroll when sizing
  4035. vscroll/hscroll respectively. Fixed bug #77077
  4036. - Added Left/Up/Down/Right to IsInputKey list to prevent
  4037. ContainerControl from stealing them. This fixes what I broke
  4038. with my last checkin.
  4039. 2006-01-12 Peter Dennis Bartok <[email protected]>
  4040. * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
  4041. I finally understand how the property can be set without a setter :-)
  4042. 2006-01-12 Peter Dennis Bartok <[email protected]>
  4043. * Application.cs:
  4044. - Switched RunLoop to use static Message.Create to create a
  4045. Message object
  4046. - Added PreProcessMessage call in runloop for keyboard events; this
  4047. is part of the fix for #77219, I overlooked this originally in the
  4048. MSDN doc for PreProcessMessage
  4049. * Control.cs:
  4050. - Removed call to PreProcessMessage from handling of keyboard
  4051. messages; it's supposed to be done in the message pump
  4052. - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
  4053. per MSDN documentation.
  4054. - IsInputChar: All chars are input chars by default; removed the
  4055. parent calling chain, MS does not document that
  4056. - PreProcessMessage: If IsInputChar is true, we want to return false
  4057. to allow dispatching of the message
  4058. - When selecting the next control, now also check that we're not
  4059. selecting ourselves again and therefore return a false positive.
  4060. * TextBoxBase.cs:
  4061. - Tried to match return values for IsInputKey and ProcessDialogKey
  4062. to what MS returns; moved processing of our special keys outside
  4063. ProcessDialogKey since MS does not seem to return true on those.
  4064. - Moved code that previously was in ProcessDialogKey into new private
  4065. ProcessKey method, which gets called upon receipt of WM_KEYDOWN
  4066. - Reworked handling of WM_CHAR to not have to duplicate code from
  4067. Control.cs anymore, instead we simply call down to base.
  4068. 2006-01-12 Jackson Harper <[email protected]>
  4069. * ComboBox.cs: We always need to refresh the text area when
  4070. EndUpdate is called. Fixes the combobox in the file dialog.
  4071. * Control.cs: Don't create the creator_thread until the controls
  4072. handle is created. Also in InvokeRequired we check if the
  4073. creator_thread is null. This gives the effect of InvokeRequired
  4074. returning true if the controls handle is not created yet, and
  4075. matches MS.
  4076. 2006-01-12 Peter Dennis Bartok <[email protected]>
  4077. * XplatUI.cs:
  4078. - Added StartLoop() driver method. This is used to allow drivers to
  4079. prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
  4080. loop for a particular thread
  4081. - Added EndLoop() driver method. This is called once the message
  4082. pump for the thread is shut down
  4083. - Added SupportsTransparency method to allow the driver to indicate
  4084. opacity support for windows
  4085. * Form.cs:
  4086. - Removed TODO attribute, completed AllowTransparency property
  4087. - Added documented logic to Opacity
  4088. * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
  4089. ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
  4090. versions of CompatibleTextRendering
  4091. * X11Structs.cs: Added opacity atom to our atom enumeration
  4092. * Hwnd.cs: Added opacity tracking (we need to track since the opacity
  4093. of a form might be set before it's reparented by the WM, and we need
  4094. the opacity value without calling up to Form)
  4095. * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
  4096. SupportsTransparency() driver methods
  4097. * Application.cs: Now calling StartLoop and EndLoop driver methods
  4098. * XplatUIX11.cs:
  4099. - Added opacity atom registration
  4100. - Added StartLoop()/EndLoop() methods. They're empty right now but
  4101. will need to get implemented when we switch to a per-thread queue
  4102. - Implemented SupportsTransparency() method
  4103. - Implemented SetWindowTransparency() method
  4104. - Added support for setting the opacity value when a window is
  4105. reparented (since the opacity needs to be set on the WM frame)
  4106. * XplatUIOSX.cs, XplatUIWin32.cs:
  4107. - Added SupportsTransparency(), StartLoop() and EndLoop() methods
  4108. 2006-01-12 Alexander Olk <[email protected]>
  4109. * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
  4110. 2006-01-12 Alexander Olk <[email protected]>
  4111. * FileDialog.cs: Added ToolTip for MWFFileView
  4112. * MimeIcon.cs: Rewrote GnomeHandler.
  4113. - Get currently used gnome icon theme from
  4114. ($HOME)/.gconf/%gconf-tree.xml
  4115. - Make use of inherited icon themes
  4116. - Support SVG icon themes like Tango via librsvg
  4117. 2006-01-12 Miguel de Icaza <[email protected]>
  4118. Revert's Jackson's revert which broke 2.0 builds. Fix both
  4119. builds.
  4120. * Application.cs: Move the use_compatible_text_rendering outside
  4121. the NET_2_0 define. If we ever need to use the
  4122. use_compatible_text_rendering on the individual controls they will
  4123. access the variable from the common shared code paths.
  4124. 2006-01-12 Peter Dennis Bartok <[email protected]>
  4125. * XplatUI.cs:
  4126. - Added more granular debug options
  4127. - Added method to print both window text and id
  4128. - Switched debug output to use new Window() debug method
  4129. - Added IsEnabled() driver method
  4130. - Added EnableWindow() driver method
  4131. * Form.cs:
  4132. - Removed end_modal; no longer needed, new loop handles termination
  4133. via 'closing' variable
  4134. - If form is modal, setting DialogResult will now initiate loop
  4135. termination via 'closing' variable
  4136. - Added support for is_enabled/WS_DISABLED to CreateParams
  4137. - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
  4138. does all the work
  4139. - Removed code that's now in RunLoop from ShowDialog()
  4140. - Added various documented sanity checks to ShowDialog()
  4141. - Added handling of WM_DESTROY message; we set 'closing' on getting
  4142. the message to indicate the message pump to terminate
  4143. - Added handling of new internal WM_CLOSE_INTERNAL message - it's
  4144. send by the Application.ExitThread method. (We send the message
  4145. to destroy the window after all other events have been
  4146. processed through the queue, instead of destroying the handle
  4147. directly)
  4148. - Moved code from Close() method to WM_CLOSE handler; added logic
  4149. to only send close-related events if the form is not displayed
  4150. modal
  4151. * Splitter.cs (..ctor): Fixed typo in resource name
  4152. * Control.cs:
  4153. - DrawBackgroundImage: Explicitly selecting the wrap mode for the
  4154. brush now
  4155. - set_Cursor: Now only setting calling into XplatUI if the handle for
  4156. the control is already created; this avoids implict handle creation
  4157. or crashes if it's not created
  4158. - set_Enabled: Now setting the enabled state via the new driver method
  4159. instead of just tracking it
  4160. - CreateParams: Added logic to set WS_DISABLED based on enabled state
  4161. - CreateControl: Reordered event firing and method calls to more
  4162. closely fire events in the order MS does. Now setting the
  4163. enabled state in the driver when creating the control.
  4164. - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
  4165. match MS order
  4166. * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
  4167. MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
  4168. * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
  4169. * Hwnd.cs:
  4170. - Added tracking of window enabled state (get_Enabled/set_Enabled)
  4171. - Added EnabledHwnd property to easily allow a driver to find the
  4172. handle of the first enabled window in the parent chain (this is
  4173. used by drivers to pass up input events of disabled windows)
  4174. * XplatUIDriver.cs: Added IsEnabled() method
  4175. * Application.cs:
  4176. - Removed crude and obsolete exiting tracking variable
  4177. - Removed internal ModalRun(); replaced by RunLoop()
  4178. - Implemented private CloseForms() method to allow closing all
  4179. windows owned by a particular (or all) threads
  4180. - Exit() now properly closes all windows without forcing the message
  4181. pump to quit
  4182. - Removed obsolete InternalExit() method
  4183. - Changed Run() methods to use new RunLoop() message pump
  4184. - Implemented new RunLoop() method for both modal and non-modal forms
  4185. * CommonDialog.cs:
  4186. - get_CreateParams: Added setting of WS_DISABLED
  4187. - Simplified ShowDialog(); now all the work is done in RunLoop(),
  4188. invoked via Form.ShowDialog()
  4189. * NativeWindow.cs: We don't remove the window from the collection when
  4190. the handle is destroyed; there might still be messages for it in the
  4191. queue (mainly the resulting WM_DESTROY); instead it will be removed
  4192. when Control calls InvalidateHandle in the WM_DESTROY handler
  4193. * XplatUIX11.cs:
  4194. - CreateWindow: Added logic to handle the WS_DISABLED window style
  4195. - EnableWindow: Implemented based on Hwnd.Enabled
  4196. - GetMessage: Reset PostQuitState so the method can be called again
  4197. - Implemented support for disabled windows (passing messages to the
  4198. first enabled parent) in handling all input messages
  4199. - Added optimizations for handling Expose events
  4200. - Implemeted new driver method IsEnabled()
  4201. - Now always resetting paint pending tracking vars when we start paint
  4202. - Re-implemented UpdateWindow via just sending a WM_PAINT message
  4203. * XplatUIOSX.cs: Added IsEnabled method stub
  4204. * XplatUIWin32.cs: Implemented new IsEnabled() method
  4205. 2006-01-11 Jackson Harper <[email protected]>
  4206. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  4207. LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
  4208. variables a little.
  4209. * ColorDialog.cs: Clear out the old form before adding the new
  4210. panel.
  4211. 2006-01-11 Jackson Harper <[email protected]>
  4212. * X11Dnd.cs: Make sure to add all the text formats when adding
  4213. strings to the data object.
  4214. * TreeNodeCollection.cs: When adding to a sorted tree we need to
  4215. do some redrawing too. Also change the UpdateNode to an
  4216. UpdateBelow so the newly added node gets painted.
  4217. 2006-01-11 Miguel de Icaza <[email protected]>
  4218. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  4219. LinkLabel.cs, PropertyGrid.cs: Implement the
  4220. UseCompatibleTextRendering property for 2.x
  4221. * Application.cs (SetCompatibleTextRenderingDefault): Add.
  4222. 2006-01-11 Jackson Harper <[email protected]>
  4223. * TreeView.cs: Use the property for setting the selected node so
  4224. the correct events get raised.
  4225. * TreeNode.cs: Update the tree when the fore/back colours of a
  4226. node are set.
  4227. 2006-01-10 Jackson Harper <[email protected]>
  4228. * TreeView.cs: Allow setting SelectedNode to null.
  4229. 2006-01-9 Jonathan Chambers <[email protected]>
  4230. * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
  4231. 2006-01-9 Jonathan Chambers <[email protected]>
  4232. * PrintControllerWithStatusDialog.cs: Update page number in dialog.
  4233. 2006-01-9 Jonathan Chambers <[email protected]>
  4234. * PrintDialog.cs: Added attributes and set default property values.
  4235. 2006-01-9 Jonathan Chambers <[email protected]>
  4236. * PrintControllerWithStatusDialog.cs:
  4237. Added PrintControllerWithStatusDialog.
  4238. 2006-01-9 Jonathan Chambers <[email protected]>
  4239. * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  4240. XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
  4241. 2006-01-9 Jonathan Chambers <[email protected]>
  4242. * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
  4243. 2006-01-09 Jonathan Chambers <[email protected]>
  4244. * ComboBox.cs: Added KeyDown event handler for processing arrow keys
  4245. and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
  4246. 2006-01-08 Alexander Olk <[email protected]>
  4247. * MimeIcon.cs: Added internal class SVGUtil.
  4248. 2006-01-08 Alexander Olk <[email protected]>
  4249. * FileDialog.cs: Don't crash if there are two files with the
  4250. same name but different locations.
  4251. 2006-01-08 John BouAntoun <[email protected]>
  4252. * MonthCalendar.cs: Fixed annoying rendering bug when selecting
  4253. dates across multiple month grids. Used to not highlight entire
  4254. month, but does now.
  4255. 2006-01-06 Jackson Harper <[email protected]>
  4256. * MonthCalendar.cs: Removed DoEvents call to prevent a running
  4257. message loop. Change timer intervals to numbers that seem more
  4258. natural.
  4259. 2006-01-06 John BouAntoun <[email protected]>
  4260. * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
  4261. object for location info since screen object is now implemented.
  4262. 2006-01-05 Jackson Harper <[email protected]>
  4263. * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
  4264. * AsyncMethodResult.cs: We no longer use a WeakReference for the
  4265. AsyncMethodResult, this is because we ALWAYS want the
  4266. ManualResetEvent to get set.
  4267. * Control.cs: When disposing use an async invoke to call shutdown
  4268. code, so that thigns don't block on the finalizer thread. Also
  4269. check if we even have a message loop before trying to send
  4270. messages, if we don't then don't bother sending messages.
  4271. - No more weak references for async methods
  4272. * XplatUIDriver.cs: No more weak references for async methods.
  4273. 2006-01-04 Alexander Olk <[email protected]>
  4274. * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
  4275. returns two FontFamily with the same name
  4276. 2006-01-04 Peter Dennis Bartok <[email protected]>
  4277. * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
  4278. drawing disabled text. Instead using the ColorGrayText color
  4279. 2006-01-04 Jackson Harper <[email protected]>
  4280. * TreeNode.cs: redraw the node when its image index is changed.
  4281. 2006-01-04 Peter Dennis Bartok <[email protected]>
  4282. * RichTextBox.cs: Same fix as last, just for SelectionColor. This
  4283. time I checked there are no others like it.
  4284. 2006-01-04 Jackson Harper <[email protected]>
  4285. * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
  4286. this gives the behavoir I was looking for.
  4287. * Control.cs: Special case Invoking EventHandlers, this matches MS
  4288. and fixes part of bug #76326.
  4289. 2006-01-04 Alexander Olk <[email protected]>
  4290. * ThemeClearlooks.cs, FileDialog.cs:
  4291. - Reflect the latest Theme class changes
  4292. - Remove Mono.Unix.Syscall.time in FileDialg and replace it
  4293. with DateTime
  4294. 2006-01-04 Alexander Olk <[email protected]>
  4295. * Theme.cs: Cache UI resource images and resize them if needed
  4296. 2006-01-03 Peter Dennis Bartok <[email protected]>
  4297. * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
  4298. is called. This fixes the crash in Nexxia when setting the font
  4299. attributes in the chat. [However, RTF needs a look-over to make sure
  4300. that all SelectionXXX methods handle the special case that selection
  4301. is empty and therefore the change must be applied to all text starting
  4302. at the cursor/selection start]
  4303. 2006-01-03 Peter Dennis Bartok <[email protected]>
  4304. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  4305. XplatUIOSX.cs: Added SendMessage and PostMessage methods
  4306. * X11Keyboard.cs: Switched to new way of calling PostMessage
  4307. 2006-01-03 Peter Dennis Bartok <[email protected]>
  4308. * Theme.cs: Added theme interface for images to allow the theme to
  4309. control what images are used for things like FileDialog, MessageBox
  4310. icons, etc.
  4311. * MessageBox.cs: Now uses the new Theme icon/image interfaces
  4312. 2006-01-03 Alexander Olk <[email protected]>
  4313. * FileDialog.cs:
  4314. - Removed some dead code
  4315. - Opening a recently used file does work now
  4316. - Small UI enhancements
  4317. - Refactoring
  4318. 2006-01-02 Alexander Olk <[email protected]>
  4319. * FileDialog.cs: Forgot too add __MonoCS__
  4320. 2006-01-02 Alexander Olk <[email protected]>
  4321. * FileDialog.cs: We are able to read recently used files now let's
  4322. go on and write them.
  4323. 2006-01-01 Alexander Olk <[email protected]>
  4324. * FileDialog.cs: Breathe some life into "last open"/"recently used"
  4325. button
  4326. * MimeIcon.cs: Do a check for the top level media type also
  4327. 2005-12-31 Alexander Olk <[email protected]>
  4328. * ThemeClearlooks.cs:
  4329. - Added CPDrawStringDisabled
  4330. - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
  4331. some chars if the text doesn't fit into text_rect
  4332. - DrawListViewItem: If View = View.LargeIcon center the image;
  4333. rewrote the drawing of ListViewItem.Text if View =
  4334. View.LargeIcon
  4335. 2005-12-31 Alexander Olk <[email protected]>
  4336. * MimeIcon.cs: Use default KDE icon theme if there is no
  4337. "48x48" directory for the current icon theme, fixes #77114
  4338. * Mime.cs: Disable not working and actually not used code.
  4339. * ThemeWin32Classic.cs:
  4340. - Replace "new SolidBrush" in GetControlBackBrush and
  4341. GetControlForeBrush with ResPool.GetSolidBrush
  4342. - Changed DrawListViewItem from private to protected virtual
  4343. * FileDialog.cs:
  4344. - Added form.MaximizeBox = true
  4345. - Don't throw an exception if there is a broken symbolic link
  4346. 2005-12-23 Jackson Harper <[email protected]>
  4347. * TabControl.cs: Give the panels focus, keyboard navigation is
  4348. fixed so this works correctly now.
  4349. - We need these key events also.
  4350. * ToolBar.cs: Remove some of the poor mans double buffering.
  4351. 2005-12-24 Alexander Olk <[email protected]>
  4352. * ComboBox.cs: The internal TextBox now returns the focus.
  4353. 2005-12-23 Jackson Harper <[email protected]>
  4354. * ThemeWin32Classic.cs: Draw the text for all tab appearances.
  4355. 2005-12-23 Peter Dennis Bartok <[email protected]>
  4356. * Control.cs: Removed debug code
  4357. * XplatUIX11.cs: Changed DestroyChildWindows to also consider
  4358. implicit children
  4359. 2005-12-23 Peter Dennis Bartok <[email protected]>
  4360. * Control.cs: When creating the control, update the Z-order after
  4361. all it's children are created, too. (Fixes nexxia not showing
  4362. picturebox bug)
  4363. 2005-12-23 Peter Dennis Bartok <[email protected]>
  4364. * Control.cs: Do not update the anchoring distances if layout is
  4365. suspended, instead do it once layout is resumed
  4366. 2005-12-22 Peter Dennis Bartok <[email protected]>
  4367. * Control.cs:
  4368. - After many hours of debugging, for both Jackson and
  4369. myself, it turns out that it helps to set the parent of a control
  4370. if you want to actually see it onscreen. In the spirit of that
  4371. discovery, we're now setting the parent of the control and
  4372. it's children when the control's handle is created. This fix
  4373. will make Lutz Roeder's Reflector run happily.
  4374. - now just creating the handle instead of the whole control when
  4375. getting a graphics context for the control.
  4376. 2005-12-22 Peter Dennis Bartok <[email protected]>
  4377. * ScrollableControl.cs: When calculating the canvas, don't consider
  4378. the scrollbar widths. Instead, predict if horizontal scrollbar
  4379. will affect canvas when deciding on vertical display and vice versa.
  4380. 2005-12-22 Peter Dennis Bartok <[email protected]>
  4381. * RichTextBox.cs: Set default RTF font for documents that don't
  4382. have a font table (Fixes #77076)
  4383. 2005-12-22 Jackson Harper <[email protected]>
  4384. * TextBoxBase.cs: It's difficult to do, but you can have an empty
  4385. clipboard. This prevents a NullRef in that case.
  4386. * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
  4387. clipboard. PRIMARY is for the currently selected text only. (We
  4388. should implement PRIMARY at some point.
  4389. 2005-12-21 Peter Dennis Bartok <[email protected]>
  4390. * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
  4391. a Unicode function with a structure that was defined in Ansi way.
  4392. This fixes #76942.
  4393. 2005-12-21 Jackson Harper <[email protected]>
  4394. * StatusBar.cs: Statusbar handles its fore/back colours on it's
  4395. on. Because thats how it rolls. (and this avoids it using ambient
  4396. colours).
  4397. * ThemeWin32Classic.cs: Use the proper back color for filling.
  4398. * Menu.cs: Use the system menu bar color for drawing menu
  4399. bars. Using the window back color will bring ambient colours into
  4400. the picture.
  4401. 2005-12-21 Alexander Olk <[email protected]>
  4402. * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
  4403. Bitmaps were created and not disposed.
  4404. 2005-12-21 Peter Dennis Bartok <[email protected]>
  4405. * Control.cs (CreateControl): Don't do anything if the control is
  4406. already created, otherwise we'd fire the OnCreated event more than
  4407. once
  4408. 2005-12-21 Peter Dennis Bartok <[email protected]>
  4409. * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
  4410. will always match. Instead return -1. Fixes #76464.
  4411. 2005-12-21 Peter Dennis Bartok <[email protected]>
  4412. * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
  4413. neither the beginning nor the end of the line (Fixes bug #76479)
  4414. 2005-12-21 Peter Dennis Bartok <[email protected]>
  4415. * Control.cs:
  4416. - ControlNativeWindow.ControlFromHandle(): Now handling situation
  4417. where handle is invalid
  4418. - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
  4419. instead of slower linear search
  4420. * NativeWindow.cs: Don't remove the window from the hashtable until
  4421. after the driver has destroyed it (since the driver might use
  4422. Control.FromHandle to lookup the control object
  4423. * Hwnd.cs: Added DestroyPending property to track if a window is
  4424. already destroyed as far as the driver is concerned and only hasn't
  4425. yet notified the control
  4426. * XplatUIX11.cs:
  4427. - Activate(): Check if the window is still valid before using the
  4428. handle
  4429. - Implemented DestroyChildWindow() method to mark child windows as
  4430. destroyed when a window is destroyed. This prevents situations
  4431. where we might call an X method based on queued events for a
  4432. window that already has been destroyed but we haven't yet pulled
  4433. the destroy method from the queue.
  4434. - Added a call to the new DestroyChildWindow() method to the drivers
  4435. DestroyWindow code. Also now marking the destroyed window itself
  4436. as pending
  4437. 2005-12-20 Jackson Harper <[email protected]>
  4438. * StatusBar.cs:
  4439. * StatusBarPanel.cs: Don't calculate panel sizes on draw
  4440. anymore. Just do them when needed, also track the rects of panels
  4441. so that we can optimize refreshing more in the future.
  4442. 2005-12-20 Alexander Olk <[email protected]>
  4443. * ColorDialog.cs: Fixed focus drawing in small color controls
  4444. 2005-12-19 Jackson Harper <[email protected]>
  4445. * InternalWindowManager.cs:
  4446. * MdiWindowManager.cs: Cleanup some coordinate system changes so
  4447. moving windows works properly.
  4448. 2005-12-19 Peter Dennis Bartok <[email protected]>
  4449. * Control.cs:
  4450. - Removed call to InitLayout() from SetBoundsCore(); doc says
  4451. it's only called when a control is added to a container
  4452. - Split InitLayout logic, moved to separate UpdateDistances() method
  4453. since we need to perform those calculations more often than just
  4454. when adding the control to a container. (Needed to fix #77022)
  4455. - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
  4456. - Reduced the OnBindingContextChanged events count, don't send them
  4457. unless the control is created, we still aren't totally matching
  4458. MS, but I can't quite figure out some of their rules
  4459. 2005-12-18 Alexander Olk <[email protected]>
  4460. * ThemeClearlooks.cs: Corrected distance between ProgressBar
  4461. stripes
  4462. 2005-12-18 Alexander Olk <[email protected]>
  4463. * ThemeClearlooks.cs:
  4464. - Updated ProgressBar drawing
  4465. - Corrected drawing of ScrollBars and scroll buttons
  4466. - Some temporary fixes for minor pixel artefacts
  4467. 2005-12-18 Peter Dennis Bartok <[email protected]>
  4468. * Control.cs:
  4469. - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
  4470. cause events to be sent in the same order as MS does.
  4471. - Added ChangeParent() method to trigger various OnXXXChanged events
  4472. that need to be fired when a parent changes (This is a reworking
  4473. of the patch from r54254, with the X11 errors fixed)
  4474. - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
  4475. since on MS we get OnLayoutChanged events when calling Clear()
  4476. - Changed Enabled property to consider parent state as well, if a
  4477. parent is not enabled, the control will not be either
  4478. - Changed Parent property to simply call Controls.Add() since that
  4479. now does all the work required, this way we avoid code duplication
  4480. - Threw in a few OnBindingsContextChanged calls to try and match
  4481. when MS sends them. We seem to send a few too many, though.
  4482. - Added call to CreateControl when adding the control to a parent.
  4483. We were never calling CreateControl. Still needs some work, in
  4484. some places we treat HandleCreated and ControlCreated as equal,
  4485. which is wrong
  4486. - Removed obsolete commented out code from UpdateZOrder()
  4487. 2005-12-18 Alexander Olk <[email protected]>
  4488. * ThemeClearlooks.cs: Updated TrackBar drawing.
  4489. 2005-12-17 Alexander Olk <[email protected]>
  4490. * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
  4491. 2005-12-17 Alexander Olk <[email protected]>
  4492. * FileDialog.cs: Add the Help button and the open readonly
  4493. checkbox only if needed
  4494. 2005-12-16 Jackson Harper <[email protected]>
  4495. * Control.cs: Make sure we have an active menu before trying to
  4496. process commands on it. Prevents menu-less forms from crashing
  4497. when Alt is pressed.
  4498. * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
  4499. Dieter Bremes.
  4500. * RichTextBox.cs: Expand statement to help out gmcs and fix the
  4501. 2.0 build.
  4502. 2005-12-16 Jackson Harper <[email protected]>
  4503. * InternalWindowManager.cs: Don't translate tool windows screen
  4504. coordinates. This fixes windows 'bouncing' around when being moved.
  4505. 2005-12-15 Peter Dennis Bartok <[email protected]>
  4506. * TextBoxBase.cs:
  4507. - MaxLength now treats 2^31-1 equal to unlimited length (this is
  4508. not quite MS compatible, MS uses that number only for single line
  4509. and 2^32-1 for multi-line, but I figure it won't hurt keeping
  4510. the limit at 2GB)
  4511. - Now enforcing the MaxLength limit when entering characters
  4512. - Added argument to internal Paste() method to track if it's called
  4513. from programatically or via keyboard, since keyboard driven pastes
  4514. need to enforce max-length
  4515. - Added logic to Paste to only paste as many chars as MaxLength
  4516. allows
  4517. * RichTextBox.cs: Updated to use new obey argument for internal Paste()
  4518. * TextControl.cs:
  4519. - Added Length property to return number of characters in document
  4520. - Added private CharCount property which only tracks actual chars
  4521. in the document (no linefeeds) and fires event when CharCount
  4522. changes
  4523. - Added tracking of character count to all methods that alter it
  4524. - Added LengthChanged event to allow applications to subscribe
  4525. to any changes to the document
  4526. 2005-12-15 Peter Dennis Bartok <[email protected]>
  4527. * TextBox.cs:
  4528. - Removed local password_char field (moved to TextBoxBase)
  4529. - Now setting the document's password var when password is
  4530. set
  4531. * TextBoxBase.cs:
  4532. - Added password_char field (needed here so MultiLine can
  4533. access it)
  4534. - Added logic to MultiLine property setter to set the document's
  4535. variable when password display is allowed
  4536. - Removed debug code and made some debug code conditional
  4537. * TextControl.cs:
  4538. - Added RecalculatePasswordLine() method to handle special password
  4539. char only lines
  4540. - Added PasswordChar property, also added related tracking vars
  4541. - Draw() method now uses local text var for grabbing text to draw,
  4542. this var is set to line.text unless we're doing password display,
  4543. then it is set to the pre-generated all-password-chars line
  4544. - Added calling RecalculatePasswordLine() method for password lines
  4545. 2005-12-14 Peter Dennis Bartok <[email protected]>
  4546. * Hwnd.cs:
  4547. - Added Reparented property to allow tracking of Window Manager
  4548. reparenting actions (which affect X/Y calculations of toplevel
  4549. windows)
  4550. - Made ToString() print window handles in hex
  4551. * XplatUIX11.cs:
  4552. - AddConfigureNotify(): Now uses reparented state off Hwnd to
  4553. determine if X/Y needs offsetting
  4554. - AddConfigureNotify(): Fixed offset calculations
  4555. - Now adds ReparentNotify messages into the queue
  4556. - Now processes ReparentNotify messages and causes a
  4557. WM_WINDOWPOSCHANGED message to be sent upstream if a window
  4558. is reparented (as most likely it's X/Y coordinates are changed
  4559. due to that)
  4560. 2005-12-14 Jackson Harper <[email protected]>
  4561. * XplatUIX11.cs: Tool windows still need to respek focus.
  4562. 2005-12-14 Peter Dennis Bartok <[email protected]>
  4563. * Control.cs: Undid 54254 (causing XConfigure errors) so we can
  4564. have a working release
  4565. 2005-12-13 Jackson Harper <[email protected]>
  4566. * Form.cs: Update styles after setting the border style regardless
  4567. of whether or not the window is using a window manager.
  4568. 2005-12-13 Jackson Harper <[email protected]>
  4569. * Form.cs: We now hook into an internal window manager instead of just an
  4570. MDI subsystem, this is so we can have properly behaving tool windows.
  4571. * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
  4572. * InternalWindowManager.cs: New internal class that acts as a
  4573. window manager for tool windows and as a base for mdi windows.
  4574. * MdiWindowManager.cs: New class that acts as a window manager for
  4575. mdi windows.
  4576. 2005-12-12 Jackson Harper <[email protected]>
  4577. * Control.cs: Updates so we match behavoir for for implicit
  4578. controls. Fixes explosions in MDI.
  4579. 2005-12-12 Jackson Harper <[email protected]>
  4580. * Control.cs: Implement Invalidate (Region).
  4581. 2005-12-12 Peter Dennis Bartok <[email protected]>
  4582. * Control.cs:
  4583. - Changed handling of Controls.Add/Controls.Remove to fire (almost)
  4584. the same events as MS does. MS fires events for each property
  4585. except, for unknown reasons, Cursor, when the control is reparented.
  4586. I can't seem to totally match add/remove since MS also fires some
  4587. VisibleChanged events, which makes no sense. Consolidated the
  4588. parenting code into a separate method so it can be called from
  4589. both Add and Remove. set_Parent no longer needs any special logic
  4590. as it calls the parent's add method which implicitly fires
  4591. all events
  4592. - Removed some obsolete code and debug output
  4593. - Enabled state is inherited from parents, if this is enabled
  4594. 2005-12-08 Peter Dennis Bartok <[email protected]>
  4595. * Form.cs: Removed commented out code
  4596. 2005-12-08 Peter Dennis Bartok <[email protected]>
  4597. * Control.cs:
  4598. - Added internal version of Invoke, with additional argument
  4599. indicating if we're calling it from a Dispose() handler. That
  4600. way we can avoid BeginInvoke throwing an exception if we're
  4601. calling for an already destroyed window.
  4602. - Added a dispose argument to BeginInvokeInternal, and made the
  4603. check if a valid window handle chain exists conditional on
  4604. it not being a dispose call
  4605. - Removed code in DestroyHandle to destroy our children. Since we
  4606. now handle the WM_DESTROY message we will catch all our children
  4607. being destroyed.
  4608. - Now calling OnHandleDestroyed from our new WM_DESTROY handler
  4609. * Form.cs:
  4610. - Added a field to track the application context of the form.
  4611. - No need to set closing variable as response to WM_CLOSE, instead
  4612. we destroy the window. We also call PostQuitMessage if the form
  4613. has an application context (which makes it the main app form,
  4614. which, when closed terminates the app)
  4615. * XplatUI.cs:
  4616. - Dropped Exit() method, it's naming was confusing
  4617. - Added PostQuitMessage() which causes GetMessage to return false
  4618. once the message queue is empty
  4619. * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
  4620. PostQuitMessage()
  4621. * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
  4622. no longer a valid XplatUI method, but left it in since it's used
  4623. internally. Added empty PostQuitMessage() method.
  4624. * MenuAPI.cs: Replaced call to Exit() with call to
  4625. PostQuitMessage, even though this is probably no longer needed.
  4626. * Hwnd.cs: Added 'pretty' ToString() to support debugging.
  4627. * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
  4628. * Application.cs:
  4629. - Replaced call to XplatUI.Exit() with PostQuitMessage()
  4630. - Removed old debug code that would call XplatUI for exception
  4631. display, enabled standard exception handling (Still not enabled
  4632. though, until NativeWindow's ExternalExceptionHandler define
  4633. is removed
  4634. * NativeWindow.cs:
  4635. - Added internal method to allow control to update NativeWindow
  4636. after a window has been destroyed
  4637. - Added handling of already destroyed windows when calling i
  4638. DestroyWindow
  4639. - Added removal of handle from list on ReleaseHandle
  4640. * XplatUIX11.cs:
  4641. - Dropped GetMessageResult var and related code
  4642. - Added PostQuitState to field to track if PostQuitMessage has been
  4643. called
  4644. - Dropped Exit() method
  4645. - Added PostQuitMessage() method
  4646. - GetMessage now will return false if PostQuitState is set and no
  4647. more messages are in the queue.
  4648. - Expose handler will no longer generate WM_PAINT messages if we are
  4649. in PostQuitState since it's very likely any windows have already
  4650. been destroyed, and since Hwnd won't get updated until we have
  4651. processed the DestroyNotify we'd be causing X errors.
  4652. 2005-12-07 Peter Dennis Bartok <[email protected]>
  4653. * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
  4654. Thanks to Mike for pointing out the err of my ways.
  4655. 2005-12-07 Peter Dennis Bartok <[email protected]>
  4656. * Control.cs(PreProcessMessage): Moved menu handling back, but
  4657. after all other key handling, to match MS (who handles Menu in
  4658. DefWndProc)
  4659. * Menu.cs (WndProc): Removed my brainfart
  4660. 2005-12-07 Peter Dennis Bartok <[email protected]>
  4661. * Control.cs(PreProcessMessage): Removed special menu handling
  4662. * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
  4663. 2005-12-07 Mike Kestner <[email protected]>
  4664. * Control.cs : special case SYSKEYUP so that we can adjust keynav
  4665. state according in tracker.
  4666. * Menu.cs : promote tracker field to base class and provide a tracker
  4667. lookup capability. Add/Remove shortcuts dynamically if the top menu
  4668. has a tracker. Unparent items that are removed from the collection.
  4669. * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
  4670. * Theme*.cs: add always_show_hotkeys field to support configurability
  4671. of mnemonic display. win32 doesn't show mnemonics until Alt is
  4672. pressed.
  4673. 2005-12-07 Jackson Harper <[email protected]>
  4674. * MdiChildContext.cs: Use Control.ResetCursor.
  4675. * Control.cs: ResetCursor needs to set the property so that the
  4676. correct XplatUI call gets made.
  4677. 2005-12-07 Peter Dennis Bartok <[email protected]>
  4678. * Control.cs: More fixes to make our key events match MS. We
  4679. were not setting the modifier state on KeyData, and we were
  4680. not generating any events when Alt was pressed with a key
  4681. since handling of WM_SYSxxx was missing for the OnKey methods.
  4682. 2005-12-07 Jackson Harper <[email protected]>
  4683. * MdiChildContext.cs: reenable the sizing code.
  4684. - When the mouse leaves a window reset its cursor.
  4685. 2005-12-07 Alexander Olk <[email protected]>
  4686. * ThemeClearlooks.cs: Reflect latest Hwnd changes
  4687. 2005-12-07 Peter Dennis Bartok <[email protected]>
  4688. * Hwnd.cs: Now using the theme 3d bordersize to calculate
  4689. widths of Fixed3D borders
  4690. 2005-12-07 Jackson Harper <[email protected]>
  4691. * MdiClient.cs: Fix warnings. Earn Mike's love.
  4692. 2005-12-07 Alexander Olk <[email protected]>
  4693. * ThemeClearlooks.cs:
  4694. - Adjusted mouse over button color
  4695. - Added first parts of CheckBox drawing
  4696. - Added correct color for selected text background
  4697. - Fixed ComboBox drawing
  4698. - Added CPDrawBorder3D and CPDrawBorder
  4699. 2005-12-06 Peter Dennis Bartok <[email protected]>
  4700. * XplatUIX11.cs: Added call to XBell for AudibleAlert
  4701. 2005-12-06 Peter Dennis Bartok <[email protected]>
  4702. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  4703. XplatUIOSX.cs: Added AudibleAlert() method to have a means to
  4704. alert users via sound. We could add an enum arg with different
  4705. types of alerts in the future
  4706. 2005-12-06 Peter Dennis Bartok <[email protected]>
  4707. * Control.cs: Fix behaviour problems pointed out by Mike
  4708. 2005-12-05 Mike Kestner <[email protected]>
  4709. * StatusBarPanel.cs: add Invalidate method and hook it into all the
  4710. prop setters. Calls parent.Refresh for now, but could be maybe be
  4711. optimized with an internal method on StatusBar at some point.
  4712. [Fixes #76513]
  4713. 2005-12-05 Peter Dennis Bartok <[email protected]>
  4714. * RichTextBox.cs: Implemented get_SelectionColor
  4715. 2005-12-05 Alexander Olk <[email protected]>
  4716. * ThemeClearlooks.cs:
  4717. - Removed dead code
  4718. - Draw black button border only if button is Form.AcceptButton
  4719. - Draw correct button color for pressed RadioButton if the mouse
  4720. has entered the button
  4721. - Updated ProgressBar drawing!
  4722. - Updated CPDrawSizeGrip drawing
  4723. - Updated StatusBarPanel drawing
  4724. 2005-12-05 Mike Kestner <[email protected]>
  4725. * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
  4726. * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
  4727. 2005-12-04 Alexander Olk <[email protected]>
  4728. * ThemeClearlooks.cs: Initial check-in, activate with
  4729. export MONO_THEME=clearlooks
  4730. * ThemeEngine.cs: Added ThemeClearlooks
  4731. 2005-12-03 Mike Kestner <[email protected]>
  4732. * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
  4733. [Fixes #76897]
  4734. 2005-12-02 Jackson Harper <[email protected]>
  4735. * Form.cs: If the child form has no menu the default main menu is
  4736. used as the active menu.
  4737. 2005-12-02 Peter Dennis Bartok <[email protected]>
  4738. * ListBox.cs: Check if any items exist before trying to resolve
  4739. coordinates into items
  4740. 2005-12-02 Peter Dennis Bartok <[email protected]>
  4741. * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
  4742. as the second color for the background hatch
  4743. 2005-12-02 Peter Dennis Bartok <[email protected]>
  4744. * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
  4745. * RichTextBox.cs: FormatText position arguments are 1-based, now making
  4746. sure that what we pass to FormatText is always 1-based. Fixes #76885
  4747. 2005-11-29 Miguel de Icaza <[email protected]>
  4748. * NumericUpDown.cs (EndInit): When we are done initializing,
  4749. reflect any updates on the UI.
  4750. 2005-12-02 Jackson Harper <[email protected]>
  4751. * ImplicitHScrollBar.cs:
  4752. * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
  4753. their container controls.
  4754. * TreeView.cs: Use the new implicit scrollbars.
  4755. 2005-12-02 Jackson Harper <[email protected]>
  4756. * TreeView.cs: Make top_node internal so the TreeNodeCollections
  4757. can play with it.
  4758. * TreeNodeCollection.cs: If we remove the topnode we need to
  4759. update topnode to the next node in line.
  4760. - When clearing nodes go through the same process as removing
  4761. them, so they get depareneted and checked if they are top node.
  4762. 2005-12-01 Jackson Harper <[email protected]>
  4763. * TreeView.cs: When imagelists are used the image area is
  4764. selectable as well as the text.
  4765. - If there are no selected nodes select the first one.
  4766. * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
  4767. so don't do it more then we need to.
  4768. 2005-12-01 Jackson Harper <[email protected]>
  4769. * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
  4770. that arrows can be scaled.
  4771. 2005-12-01 Jackson Harper <[email protected]>
  4772. * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
  4773. fail. Patch by Dieter Bremes
  4774. 2005-11-30 Jackson Harper <[email protected]>
  4775. * Form.cs: Property is 2.0 only
  4776. * PrintDialog.cs: Signature fix.
  4777. 2005-11-30 Peter Dennis Bartok <[email protected]>
  4778. * TextControl.cs:
  4779. - No longer artificially moves text 2 pixels down (now that we have
  4780. borders this is no longer needed)
  4781. - Added calcs for left, hanging and right indent
  4782. 2005-11-23 Mike Kestner <[email protected]>
  4783. * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
  4784. 2005-11-30 Jackson Harper <[email protected]>
  4785. * MdiChildContext.cs: Set the cloned menus forms, as these don't
  4786. get cloned as part of CloneMenu ().
  4787. * Menu.cs: Make sure the parent of the items get set correctly
  4788. when they are added. And the owners are notified of the changes.
  4789. * Form.cs: Create an ActiveMenu property, so that when MDI is used
  4790. we can change the menu being displayed/handled by the form without
  4791. changing the menu assosciated with the form.
  4792. - Don't let Mdi children draw/handle menus.
  4793. 2005-11-30 Jackson Harper <[email protected]>
  4794. * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
  4795. a MenuChanged event. Just to make the API a little more
  4796. consistent.
  4797. * MainMenu.cs:
  4798. * MenuItem.cs: Use the new OnMenuChanged
  4799. * MdiChildContext.cs: Handle menu merging.
  4800. * Form.cs: Implement MergedMenu.
  4801. 2005-11-30 Jackson Harper <[email protected]>
  4802. * Menu.cs: We were misusing Add. Add goes behind the specified
  4803. index according to the docs, and does not replace the specified
  4804. index. So I added an Insert method.
  4805. 2005-11-30 Peter Dennis Bartok <[email protected]>
  4806. * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
  4807. Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
  4808. is for Jackson
  4809. * RichTextBox.cs: Added calls to base for DnD events
  4810. 2005-11-28 Peter Dennis Bartok <[email protected]>
  4811. * TextControl.cs:
  4812. - Fixed drag-selection related crash; style fixes
  4813. - Implemented undo class
  4814. o Implemented method to capture document state for specified
  4815. range in document tree
  4816. o Implemented method to restore captured document state
  4817. o Implemented cursor tracking
  4818. o Implemented basic undo stack
  4819. - Added undo cursor tracking to methods altering cursor location
  4820. - Added undo tracking to selection deletion (still missing
  4821. other text-altering hookups)
  4822. * RichTextBox.cs:
  4823. - Added SelectionLength property
  4824. - Implemented CanPaste()
  4825. - Implemented Paste()
  4826. - Added missing protected methods
  4827. - Fixed RTF->Document conversion; now uses font index 0 and color
  4828. index 0 as the default font for the parsed text
  4829. - Fixed RTF<->Document font size translation
  4830. - Fixed RTF generation, now properly handles cross-tag boundaries
  4831. for single line selection
  4832. - No longer always appends blank line to generated RTF
  4833. - Removed TODOs
  4834. - Added missing attributes
  4835. - Hooked up undo-related methods
  4836. * TextBoxBase.cs:
  4837. - Implemented Copy()
  4838. - Implemented Paste()
  4839. - Implemented Cut()
  4840. - Fixed caret mis-behaviour on backspace across line-boundaries
  4841. 2005-11-29 Jackson Harper <[email protected]>
  4842. * MdiClient.cs: Add a method for activating mdi children. Very
  4843. basic right now. I imagine someday it might need more girth.
  4844. * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
  4845. children windows names are added to the menu item.
  4846. * ThemeWin32Classic.cs: Draw the arrow if the item is an
  4847. mdilist. This happens regardless of whether or not there are any
  4848. mdi windows to see in the list, and according to my tests happens
  4849. before the items are even added. Also happens if there isn't even
  4850. an mdi client to get windows from.
  4851. 2005-11-29 Alexander Olk <[email protected]>
  4852. * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
  4853. * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
  4854. 2005-11-29 Jordi Mas i Hernandez <[email protected]>
  4855. * DataGridTableStyle.cs:
  4856. - Create always the styles for the missing columns even if they are
  4857. provided by the user (not default table style)
  4858. * DataGrid.cs:
  4859. - Fixes bug 76770
  4860. - Fixes SetDataBinding (always re-attach source)
  4861. - Fixes SetNewDataSource (only clear styles if they are not for
  4862. this source)
  4863. - Expands OnTableStylesCollectionChanged to handle style refresh
  4864. and remove properly
  4865. 2005-11-29 Jackson Harper <[email protected]>
  4866. * FileDialog.cs: Implement missing bits, remove some dead
  4867. code.
  4868. * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
  4869. creation of the panel so that the options set on the dialog are
  4870. seen when the panel is created.
  4871. * TreeView.cs: raise a click when items are clicked.
  4872. 2005-11-29 Jackson Harper <[email protected]>
  4873. * MdiClient.cs: Pass some signature methods through to base.
  4874. 2005-11-28 Jackson Harper <[email protected]>
  4875. * ListView.cs: Raise the click event when items are clicked.
  4876. 2005-11-28 Jackson Harper <[email protected]>
  4877. * MdiClient.cs: Make this algorithm even more beautiful. And fix
  4878. a nullref.
  4879. 2005-11-27 Alexander Olk <[email protected]>
  4880. * ThemeNice.cs: - Removed 1 pixel bitmaps
  4881. - Use SmoothingMode.AntiAlias where it makes sense
  4882. (ScrollButton arrow for example)
  4883. - Enhanced Button focus drawing
  4884. - Fixed ComboBox drawing (no artefacts anymore, focus
  4885. rectangle is back again, reduced size of ComboButton, etc.)
  4886. - Fixed RadioButton focus drawing for Appearence.Button
  4887. - Slight ScrollButton redesign
  4888. - Some LinearGradientBrush size fixes
  4889. - GroupBoxes have now rounded edges
  4890. - Fixed StatusBar drawing
  4891. 2005-11-25 Alexander Olk <[email protected]>
  4892. * ThemeNice.cs: - Remove dead code
  4893. - use correct background colors for menus, etc.
  4894. - Fake pixel drawing with 1 pixel bitmaps
  4895. 2005-11-24 Jackson Harper <[email protected]>
  4896. * MdiClient.cs: Size the scrollbars when resizing the window.
  4897. - Resize the maximized windows when the client is resized
  4898. * Form.cs: Make the child context available
  4899. 2005-11-23 Jackson Harper <[email protected]>
  4900. * MdiChildContext.cs: Don't size windows if they are maximized.
  4901. 2005-11-23 Mike Kestner <[email protected]>
  4902. * ContextMenu.cs: use MenuTracker.
  4903. * Control.cs: remove menu handle usage.
  4904. * Form.cs: remove menu handle usage.
  4905. * Hwnd.cs: remove menu handle usage.
  4906. * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
  4907. motion and clicks to the new Tracker handlers.
  4908. * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
  4909. and handle usage.
  4910. * MenuAPI.cs: refactored to combine popup and menubar event handling.
  4911. Killed the MENU and MENUITEM data types and associated collections
  4912. since we now keep the info on Menu and MenuItem. Expanded TRACKER into
  4913. MenuTracker class that exposes the leftovers from the old MenuAPI
  4914. static methods. Restructured Capture handling so that only one grab is
  4915. done for the entire menu hierarchy instead of handing off grabs to
  4916. submenus. Tracker now has an invisible control to Capture when active.
  4917. * MenuItem.cs: add sizing accessors, kill Create
  4918. and handle usage.
  4919. * Theme.cs: remove menu handle and MENU(ITEM) usage.
  4920. * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
  4921. MENU(ITEM). remove menu handle usage, use Menu directly.
  4922. * XplatUIDriver.cs: remove menu handle usage.
  4923. * XplatUIOSX.cs: remove menu handle usage.
  4924. * XplatUIWin32.cs: remove menu handle usage.
  4925. * XplatUIX11.cs: remove menu handle usage.
  4926. 2005-11-22 Jackson Harper <[email protected]>
  4927. * Hwnd.cs: Don't compute the menu size for
  4928. DefaultClientRectangle.
  4929. - Reenable menu sizes being computed for GetClienRectangle.
  4930. * Form.cs: Remove comment of trechery
  4931. 2005-11-22 Jackson Harper <[email protected]>
  4932. * Hwnd.cs: The adjustments for the menu bar are made when it is
  4933. attached to the form.
  4934. 2005-11-19 Jackson Harper <[email protected]>
  4935. * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
  4936. (just like on windows).
  4937. 2005-11-19 Jackson Harper <[email protected]>
  4938. * MdiChildContext.cs: Handle all the buttons ourselves. We can't
  4939. use real buttons anymore because they are in non client area. The
  4940. one TODO here is that I need to somehow invalidate a section of
  4941. the non client area.
  4942. 2005-11-18 Jackson Harper <[email protected]>
  4943. * Control.cs: Put the enum check back in now that MDI doesnt have
  4944. to use this to set border styles.
  4945. * Form.cs: Only set mdi child windows borders if the handle has
  4946. been created.
  4947. * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
  4948. this directly on to the driver.
  4949. - Get the move start position before adjusting for the titlebar
  4950. height, this fixes the windows "skipping" when they are first
  4951. moved.
  4952. 2005-11-18 Jackson Harper <[email protected]>
  4953. * XplatUIX11.cs: Just compute the mdi borders separately as they
  4954. don't totally match up with normal form borders.
  4955. 2005-11-18 Jackson Harper <[email protected]>
  4956. * Control.cs: Set WS_ styles for borders, so that the driver does
  4957. not have to retrieve the control instance to figure out what kind
  4958. of borders it should have.
  4959. * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
  4960. driver can know its an mdi child easily.
  4961. * XplatUIX11.cs: Get the border styles and whether the window is
  4962. MDI from the Styles and ExStyles params instead of having to get a
  4963. control. This prevents a chicken and egg problem.
  4964. 2005-11-18 Jackson Harper <[email protected]>
  4965. * MdiClient.cs: Fix typo so scrollbars show up correctly.
  4966. 2005-11-18 Jackson Harper <[email protected]>
  4967. * MdiClient.cs: Calculate when to add and remove scrollbars
  4968. correctly.
  4969. * MdiChildContext.cs: Adjust the y position to take the titlebar
  4970. into account.
  4971. - No height for FormBorderStyle.None
  4972. 2005-11-18 Jackson Harper <[email protected]>
  4973. * Control.cs: Allow non enum values to be used for
  4974. InternalBorderStyle. MDI does this to set a special border style.
  4975. - New utility methods for converting points to/from client coords
  4976. - Add the newly created control to the Controls collection before
  4977. updating its style. This way UpdateStyle can walk the control
  4978. heirarchy to find the control if needed.
  4979. so I don't need to create a new Point object all the time.
  4980. * Form.cs: Let MDI windows handle their border styles.
  4981. - Set styles on MDI windows so the correct title style is derived.
  4982. * MdiChildContext.cs: Move all the painting and window handling
  4983. into the non client area.
  4984. - Use correct sizing and put correct buttons on frames based on
  4985. the FormBorderStyle.
  4986. - Notify the mdi client about scrolling
  4987. - Need to handle the buttons ourselves now, because they are all
  4988. in non client areas and we can't add controls there.
  4989. * MdiClient.cs: Halfway to scrolling, this implementation is
  4990. somewhat broken though, we need to check to make sure other
  4991. windows aren't causing scrolling before removing the bars. Also
  4992. the bars need to be drawn on top, maybe I can switch implicit
  4993. controls to be on top.
  4994. * Hwnd.cs: caption_height and tool_caption_height are now
  4995. properties of an hwnd, this way they can be set by the driver
  4996. based on the type of window they are. In X11 the window manager
  4997. handles the decorations so caption_height is zero unless its an
  4998. MDI window.
  4999. - Add 3 pixel borders for MDI windows (0xFFFF).
  5000. - Get rid of some code duplication, have DefaultClientRectanle
  5001. just call GetClientRectangle.
  5002. * XplatUIX11.cs: Pass caption_height and tool_caption_height to
  5003. Hwnd now.
  5004. - Set border styles differently for mdi windows.
  5005. * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
  5006. Hwnd now.
  5007. 2005-11-15 Mike Kestner <[email protected]>
  5008. * Menu.cs: when adding an item to the collection, if item is already
  5009. parented, remove it from the parent.
  5010. 2005-11-13 Alexander Olk <[email protected]>
  5011. * X11DesktopColors.cs: Added KDE support
  5012. 2005-11-11 Peter Dennis Bartok <[email protected]>
  5013. * XplatUIWin32.cs:
  5014. - Clipboard methods now can translate Rtf format
  5015. - No longer removes clipboard contents whenever a new format is added
  5016. to allow placing multiple formats on the clipboard
  5017. * Clipboard.cs: Clipboard now supports getting a IDataObject and
  5018. will place all formats contained in it onto the clipboard. Also
  5019. now cleans the clipboard before placing a new object onto it
  5020. * RichTextBox.cs:
  5021. - Implemented set_Rtf
  5022. - Implemented set_SelectedRtf
  5023. - Created InsertRTFFromStream() method to allow single code base
  5024. for all properties and methods that insert RTF into document
  5025. - Removed debug output
  5026. * TextControl.cs:
  5027. - Fixed Delete(int) to fix up line numbers
  5028. - Fixed ReplaceSelection to combine start and end line
  5029. - Fixed serious DeleteChars bug that would leave the document tree
  5030. broken
  5031. - Improved DumpTree with several logic checks to detect broken
  5032. document trees
  5033. - Removed debug lines
  5034. - Fixed Caret.WordForward/WordBack moving code, now always also
  5035. updates caret.tag (fixes crash when word-selecting across tag
  5036. boundaries via keyboard)
  5037. - Added Insert() method for inserting multiline text into documents
  5038. - Fixed DeleteChars() calculation errors that would cause a broken
  5039. tag chain with multiple tag lines
  5040. - DeleteChars() no longer crashes on multi-tag lines if not all tags
  5041. - Split() no longer moves caret if split is at caret location
  5042. - ReplaceSelection() now updates the cursor and re-displays it
  5043. - ReplaceSelection() now uses new Insert() method to avoid code
  5044. duplication
  5045. - FormatText() can now handle formatting partial lines
  5046. * TextBoxBase.cs:
  5047. - Append now uses new TextControl.Insert() method (this avoids
  5048. duplicate code)
  5049. - Implemented Ctrl-X (Cut) (
  5050. - Implemented Ctrl-C (Copy)
  5051. - Implemented Ctrl-V (Paste) (Still some bugs related to screen
  5052. regeneration when pasting text; roundtripping Copy&Paste within
  5053. edit control still fails due to some calculation bugs in GenerateRTF)
  5054. - The Delete key will now remove the current selection if it is visible
  5055. * TextBox.cs: Removed debug lines
  5056. * XplatUI.cs: Trigger initialization of DataFormats (which requires the
  5057. driver to be initialized and can't therefore be done via a static ctor)
  5058. 2005-11-10 Peter Dennis Bartok <[email protected]>
  5059. * TextControl.cs: Added backend code for finding char arrays and strings
  5060. * TextBoxBase.cs:
  5061. - Added mouse wheel scroll support
  5062. - Added support for VScroll and HScroll events
  5063. * RichTextBox.cs:
  5064. - Implemented all seven Find() variants
  5065. - Implemented GetCharFromPosition()
  5066. - Implemented GetCharIndexFromPosition()
  5067. - Implemented GetLineFromIndex()
  5068. - Implemented GetPositionFromCharIndex();
  5069. - Implemented SaveFile for PlainText and UnicodeText
  5070. - Fixed set_Font, now setting a new font applies that font to
  5071. the whole document
  5072. - Implemented generic Document to RTF converter
  5073. - Implemented SaveFile for RichText format (still missing unicode
  5074. conversion for non-ansi chars)
  5075. - Implemented get_Rtf
  5076. - Implemented get_SelectedRtf
  5077. 2005-11-09 Peter Dennis Bartok <[email protected]>
  5078. * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
  5079. to allow any captures to be released before triggering OnClick. This
  5080. way a click handler may capture the mouse without interference.
  5081. * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
  5082. This way we send them even though X may not allow a grab (if the window
  5083. isn't visible, for example)
  5084. 2005-11-08 Pedro Martinez Julia <[email protected]>
  5085. * DataGridViewRowEventArgs.cs: DataGridView implementation
  5086. * DataGridViewElement.cs: DataGridView implementation
  5087. * DataGridViewComboBoxCell.cs: DataGridView implementation
  5088. * DataGridViewDataErrorContexts.cs: DataGridView implementation
  5089. * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
  5090. * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
  5091. * ImageLayout.cs: DataGridView implementation
  5092. * DataGridViewComboBoxColumn.cs: DataGridView implementation
  5093. * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
  5094. * DataGridViewSelectionMode.cs: DataGridView implementation
  5095. * IDataGridViewEditingControl.cs: DataGridView implementation
  5096. * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
  5097. * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
  5098. * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
  5099. * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
  5100. * DataGridViewColumnSortMode.cs: DataGridView implementation
  5101. * DataGridView.cs: DataGridView implementation
  5102. * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
  5103. * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
  5104. * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
  5105. * Padding.cs: DataGridView implementation
  5106. * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
  5107. * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
  5108. * DataGridViewRowEventHandler.cs: DataGridView implementation
  5109. * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
  5110. * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
  5111. * DataGridViewButtonCell.cs: DataGridView implementation
  5112. * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
  5113. * DataGridViewEditMode.cs: DataGridView implementation
  5114. * DataGridViewCellValueEventArgs.cs: DataGridView implementation
  5115. * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
  5116. * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
  5117. * DataGridViewCheckBoxColumn.cs: DataGridView implementation
  5118. * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
  5119. * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
  5120. * DataGridViewCellEventHandler.cs: DataGridView implementation
  5121. * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
  5122. * DataGridViewCellStyleConverter.cs: DataGridView implementation
  5123. * DataGridViewSelectedRowCollection.cs: DataGridView implementation
  5124. * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
  5125. * DataGridViewColumnEventArgs.cs: DataGridView implementation
  5126. * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
  5127. * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
  5128. * QuestionEventArgs.cs: DataGridView implementation
  5129. * IDataGridViewEditingCell.cs: DataGridView implementation
  5130. * DataGridViewTriState.cs: DataGridView implementation
  5131. * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
  5132. * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
  5133. * DataGridViewColumnCollection.cs: DataGridView implementation
  5134. * DataGridViewCellValueEventHandler.cs: DataGridView implementation
  5135. * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
  5136. * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
  5137. * DataGridViewColumn.cs: DataGridView implementation
  5138. * DataGridViewCellBorderStyle.cs: DataGridView implementation
  5139. * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
  5140. * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
  5141. * DataGridViewRow.cs: DataGridView implementation
  5142. * DataGridViewImageCellLayout.cs: DataGridView implementation
  5143. * DataGridViewImageCell.cs: DataGridView implementation
  5144. * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
  5145. * DataGridViewCheckBoxCell.cs: DataGridView implementation
  5146. * DataGridViewHeaderCell.cs: DataGridView implementation
  5147. * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
  5148. * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
  5149. * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
  5150. * DataGridViewTextBoxColumn.cs: DataGridView implementation
  5151. * QuestionEventHandler.cs: DataGridView implementation
  5152. * DataGridViewCellStyleScopes.cs: DataGridView implementation
  5153. * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
  5154. * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
  5155. * DataGridViewCell.cs: DataGridView implementation
  5156. * DataGridViewCellEventArgs.cs: DataGridView implementation
  5157. * DataGridViewClipboardCopyMode.cs: DataGridView implementation
  5158. * DataGridViewCellStyle.cs: DataGridView implementation
  5159. * DataGridViewColumnHeaderCell.cs: DataGridView implementation
  5160. * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
  5161. * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
  5162. * TextFormatFlags.cs: DataGridView implementation
  5163. * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
  5164. * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
  5165. * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
  5166. * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
  5167. * DataGridViewButtonColumn.cs: DataGridView implementation
  5168. * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
  5169. * HandledMouseEventArgs.cs: DataGridView implementation
  5170. * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
  5171. * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
  5172. * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
  5173. * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
  5174. * DataGridViewRowCollection.cs: DataGridView implementation
  5175. * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
  5176. * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
  5177. * DataGridViewHitTestType.cs: DataGridView implementation
  5178. * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
  5179. * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
  5180. * DataGridViewColumnEventHandler.cs: DataGridView implementation
  5181. * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
  5182. * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
  5183. * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
  5184. * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
  5185. * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
  5186. * DataGridViewContentAlignment.cs: DataGridView implementation
  5187. * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
  5188. * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
  5189. * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
  5190. * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
  5191. * DataGridViewPaintParts.cs: DataGridView implementation
  5192. * DataGridViewCellCollection.cs: DataGridView implementation
  5193. * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
  5194. * DataGridViewImageColumn.cs: DataGridView implementation
  5195. * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
  5196. * DataGridViewElementStates.cs: DataGridView implementation
  5197. * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
  5198. * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
  5199. * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
  5200. * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
  5201. * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
  5202. * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
  5203. * DataGridViewRowHeaderCell.cs: DataGridView implementation
  5204. * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
  5205. * DataGridViewTextBoxCell.cs: DataGridView implementation
  5206. * DataGridViewBand.cs: DataGridView implementation
  5207. * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
  5208. * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
  5209. * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
  5210. * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
  5211. * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
  5212. * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
  5213. * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
  5214. * DataGridViewSelectedCellCollection.cs: DataGridView implementation
  5215. * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
  5216. * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
  5217. * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
  5218. 2005-11-08 Peter Dennis Bartok <[email protected]>
  5219. * ThemeWin32Classic.cs:
  5220. - Draw the outside focus rectangle around buttons
  5221. - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
  5222. doesn't use end caps for every dash of a line anymore. This
  5223. workaround ignores the forecolor.
  5224. 2005-11-08 Kornél Pál <[email protected]>
  5225. * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
  5226. endian safe.
  5227. 2005-11-07 Jackson Harper <[email protected]>
  5228. * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
  5229. 2005-11-07 Jackson Harper <[email protected]>
  5230. * ScrollableControl.cs: Calculate the maximum and change vars
  5231. (more) correctly so that scrollbars appear as a sensible size.
  5232. 2005-11-04 Jackson Harper <[email protected]>
  5233. * TreeNodeCollection.cs: Refresh when nodes are cleared from the
  5234. collection.
  5235. * TreeView.cs: When the tree is sorted null out the top_node so
  5236. that it is recalculated.
  5237. - Use dotted lines instead of dashed lines to match MS better.
  5238. 2005-11-04 Jordi Mas i Hernandez <[email protected]>
  5239. * ListView.cs:
  5240. - Implements key search for items. Useful when browsing files with FileDialog
  5241. - When changing view mode or when clear the items reset scrollbar positions
  5242. 2005-11-04 Jackson Harper <[email protected]>
  5243. * CurrencyManager.cs: Implement the MetaDataChanged event, the
  5244. Reset method, and the CheckEmpty. CheckEmpty is just a total guess
  5245. as to what the method may do as there is no real way of creating a
  5246. derived CurrencyManager and calling the method.
  5247. 2005-11-03 Jackson Harper <[email protected]>
  5248. * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
  5249. * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
  5250. method which seems to just be used internally to refresh the tabs.
  5251. 2005-11-03 Jackson Harper <[email protected]>
  5252. * TabControl.cs: Implement the remove method. Fix some broken
  5253. comments.
  5254. 2005-11-03 Peter Dennis Bartok <[email protected]>
  5255. * DateTimePicker.cs:
  5256. - Added missing DateTimePickerAccessibleObject class
  5257. - Added missing events
  5258. - Added OnFontChanged method
  5259. * Form.cs: Added missing attributes
  5260. * TreeView.cs: Added missing attributes
  5261. 2005-11-03 Peter Dennis Bartok <[email protected]>
  5262. * GridItemCollection.cs: Fix signatures
  5263. 2005-11-03 Peter Dennis Bartok <[email protected]>
  5264. * XplatUI.cs: Updated build rev/date
  5265. * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
  5266. DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
  5267. * Application.cs: Trigger context-specific ExitThread events
  5268. 2005-11-03 Jackson Harper <[email protected]>
  5269. * Menu.cs:
  5270. * MainMenu.cs:
  5271. * GridTableStylesCollection.cs:
  5272. * Timer.cs:
  5273. * TabPage.cs:
  5274. * HelpProvider.cs:
  5275. * StatusBar.cs:
  5276. * MonthCalendar.cs: Signature fixes
  5277. 2005-11-03 Jackson Harper <[email protected]>
  5278. * TreeNodeCollection.cs: Remove should not be virtual.
  5279. * TreeView.cs: Implement the last of the missing methods.
  5280. 2005-11-03 Jackson Harper <[email protected]>
  5281. * TreeNodeConverter.cs: Implement to get off my class-status back.
  5282. 2005-11-03 Jackson Harper <[email protected]>
  5283. * TreeView.cs: Hookup the bits for drag and drop.
  5284. * TreeNode.cs: Don't cache the tree_view or index anymore, now
  5285. that nodes can be moved from tree to tree easily this just causes
  5286. all sorts of problems.
  5287. * TreeNodeCollection: Don't need to give treenodes an index and
  5288. treeview anymore when they are added, these are computed on the
  5289. fly. Also make sure to remove a node before its added.
  5290. 2005-11-03 Peter Dennis Bartok <[email protected]>
  5291. * TextControl.cs:
  5292. - Added CaretSelection enum
  5293. - Added comparison methods to Marker struct, makes selection code
  5294. more readable
  5295. - Added SelectionStart and SelectionEnd as 'moveable' location for
  5296. the CaretDirection enum and handler
  5297. - Added selection_prev variable to track optimized invalidation for
  5298. word and line selection
  5299. - Added SelectionVisible property (returns true if there is a valid
  5300. selection)
  5301. - Switched CaretHasFocus to only display the caret if there is no
  5302. visible selection
  5303. - Avoiding StringBuilder.ToString to retrieve a single char, instead
  5304. using the direct character index; should be much faster
  5305. - Added various conditional debug statements
  5306. - Fixed invalidation calculation for selection ranges
  5307. - Added ExpandSelection() method to support word and line selection
  5308. - Switched SetSelectionToCaret to use new Marker compare overloads
  5309. - Added central IsWordSeparator() method to determine word
  5310. separators/whitespace and FindWordSeparator() to streamline common
  5311. usage of IsWordSeparator()
  5312. * TextBoxBase.cs:
  5313. - Removed unneeded grabbed variable, it was just mirroring
  5314. Control.Capture
  5315. - No longer firing OnTextChanged event when Text setter is called,
  5316. since the base will fire the event for us
  5317. - Added handling of Ctrl-Up/Down selection
  5318. - Added handling of Shift-Cursorkey selection
  5319. - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
  5320. words
  5321. - Added handling of Shift and Ctrl-Shift-Home/End selection
  5322. - Removed some debug output
  5323. - Added handling for single/double/tripple-click to place caret/
  5324. select word/select line respectively (Fixes bug #76031)
  5325. - Added support for drag expansion of word/line selection
  5326. * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
  5327. current selection
  5328. 2005-11-02 Jackson Harper <[email protected]>
  5329. * X11Dnd.cs: If the drag is going to and from a MWF window just
  5330. copy the data instead of sending it out through the X Selection
  5331. mechanism.
  5332. 2005-11-02 Jackson Harper <[email protected]>
  5333. * X11Dnd.cs:
  5334. * XplatUIX11.cs: When in a drag we don't want motion notify
  5335. messages to get passed on to the other controls. This prevents
  5336. mouse move messages from showing up in the drag source.
  5337. 2005-11-02 Jackson Harper <[email protected]>
  5338. * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
  5339. the correct button is release to end a drag.
  5340. * XplatUIX11.cs: Make the button state internal so the drag system
  5341. can access it. Dragging needs to know about all button releases,
  5342. not just left button.
  5343. 2005-11-02 Miguel de Icaza <[email protected]>
  5344. * Form.cs (Icon): If the icon is null, reset the icon to the
  5345. default value.
  5346. * Cursor.cs: When writing the AND-mask bitmap do not include the
  5347. number of colors, but hardcode those to two (black and white),
  5348. fixes the loading of color cursors (Paint Dot Net).
  5349. * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
  5350. turn off autoscaling.
  5351. * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
  5352. 2005-11-02 Jackson Harper <[email protected]>
  5353. * X11Dnd.cs: Make sure to send a status message if the pointer
  5354. enters a control that can not accept a drop, otherwise the cursor
  5355. isn't updated correctly. Also tried to compress the lines of code
  5356. a bit.
  5357. 2005-11-02 Jackson Harper <[email protected]>
  5358. * X11Dnd.cs: Change cursors based on drag action. Also attempt to
  5359. set actions correctly. This isn't perfect as XDND and win32 have
  5360. some differences on how you allow actions. I'll clear this up by
  5361. adding a path for drag from MWF to MWF windows.
  5362. * XplatUIX11.cs: Hook into the dnd system.
  5363. 2005-11-02 Jordi Mas i Hernandez <[email protected]>
  5364. * ListView.cs: Fixes scroll bar visibility. Hide them if they were
  5365. previously shown but they are no longer need it. Very obvious when
  5366. browsing files with FileDialog.
  5367. 2005-11-01 Peter Dennis Bartok <[email protected]>
  5368. * Control.cs: We always need to call OnPaintBackground. We pretty much
  5369. ignore AllPaintingInWmPaint and always do the painting there, whether
  5370. it's set or not, since we always ignore the WM_ERASEBKGND message
  5371. (which we don't generate on X11). This fixes #76616.
  5372. * Panel.cs: Removed unneeded background painting. This happens properly
  5373. in Control.cs already
  5374. 2005-10-31 Mike Kestner <[email protected]>
  5375. * Menu.cs: Add items to collection before setting their index.
  5376. * MenuItem.cs : add range checking with ArgumentException like MS.
  5377. [Fixes #76510]
  5378. 2005-10-31 Jackson Harper <[email protected]>
  5379. * ListBox.cs: Invalidate if the area is visible at all not just
  5380. contained in the visible rect. Fixes unselection of semi visible
  5381. items.
  5382. 2005-10-31 Jackson Harper <[email protected]>
  5383. * Control.cs: Consistently name the dnd methods. Make them
  5384. internal so we can override them to match some MS behavoir
  5385. internally.
  5386. * Win32DnD.cs: Use the new consistent names.
  5387. 2005-10-31 Jackson Harper <[email protected]>
  5388. * TreeView.cs: Don't draw the selected node when we lose focus.
  5389. 2005-10-31 Jackson Harper <[email protected]>
  5390. * X11Dnd.cs: We still need to reset the state even though a full
  5391. reset isn't being done, otherwise status's still get sent all over
  5392. the place.
  5393. 2005-10-31 Jackson Harper <[email protected]>
  5394. * Control.cs: Make the dnd_aware flag internal so the dnd
  5395. subsystem can check it. Catch exceptions thrown in dnd handlers to
  5396. match MS behavoir.
  5397. * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
  5398. * X11Dnd.cs: Handle null data in the converters. Set the XDND
  5399. version when sending a XdndEnter. Use the control/hwnd dnd_aware
  5400. flags to reduce the number of dnd enters/status's sent.
  5401. 2005-10-31 Jackson Harper <[email protected]>
  5402. * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
  5403. 2005-10-31 Jordi Mas i Hernandez <[email protected]>
  5404. * PictureBox.cs: Fixes 76512
  5405. 2005-10-28 Jackson Harper <[email protected]>
  5406. * X11Dnd.cs: Early implementation to support winforms being a drag
  5407. source for data on X11. Also restructured the converters so they
  5408. can go both ways now.
  5409. * XplatUIX11.cs: Tie ins to the the Dnd stuff.
  5410. 2005-10-27 Peter Dennis Bartok <[email protected]>
  5411. * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
  5412. clipboard requests
  5413. 2005-10-27 Jackson Harper <[email protected]>
  5414. * TreeNode.cs: Implement serialization so my DnD examples will work.
  5415. 2005-10-24 Kornél Pál <[email protected]>
  5416. * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
  5417. TreeView.cs: Don't dispose objects that are not owned.
  5418. 2005-10-24 Peter Dennis Bartok <[email protected]>
  5419. * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
  5420. should retrieve the current cursor and report that, but XplatUI
  5421. doesn't (yet) have an interface for that (and I'm not sure I even
  5422. can, on X11)
  5423. * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
  5424. until any message loop processing is done (and the WM_SETCURSOR
  5425. replaces the cursor to the proper one)
  5426. * XplatUIX11.cs:
  5427. - Fixed override behaviour, we can't set the cursor globally on X11,
  5428. just for our windows.
  5429. - Invalidating the System.Drawing X11 display handle when we are
  5430. shutting down
  5431. * Control.cs: Fix to make csc happy
  5432. 2005-10-23 Peter Dennis Bartok <[email protected]>
  5433. * TextBoxBase.cs:
  5434. - get_Text: Add last line (without trailing newline) to returned
  5435. value (Fixes 76212)
  5436. - get_TextLength: Count last line in returned length
  5437. - ToString: Call Text property instead of duplicating code
  5438. 2005-10-23 Kornél Pál <[email protected]>
  5439. * ImageList.cs: Dispose ImageAttributes objects.
  5440. 2005-10-22 Kornél Pál <[email protected]>
  5441. * ImageList.cs: Use attribute constructors with less arguments where
  5442. possible.
  5443. 2005-10-22 Kornél Pál <[email protected]>
  5444. * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
  5445. Use typeof instead of strings when assembly is referenced. Added
  5446. some more comments.
  5447. 2005-10-21 Jackson Harper <[email protected]>
  5448. * ListView.cs: Raise a double click event. Also tried to somewhat
  5449. fix when the selectedindexchanged event is raised. Its still
  5450. broken though.
  5451. 2005-10-21 Jackson Harper <[email protected]>
  5452. * TreeView.cs: New method to invalidate the plus minus area of a
  5453. node without invalidating the whole node (maybe this can be used
  5454. in some more places).
  5455. * TreeNodeCollection.cs: When adding to an empty node we need to
  5456. invalidate its plus minus area so the little block shows up.
  5457. 2005-10-21 Jackson Harper <[email protected]>
  5458. * TreeView.cs: Make sure that when we invalidate a node the bounds
  5459. are big enough to cover the selected box and the focus
  5460. rectangle. Use a different colour for the lines connecting nodes
  5461. so they show up with all themes.
  5462. 2005-10-21 Peter Dennis Bartok <[email protected]>
  5463. * NativeWindow.cs: Don't call anything that could call into the driver,
  5464. we might be on a different thread.
  5465. 2005-10-21 Peter Dennis Bartok <[email protected]>
  5466. * Control.cs(Dispose): Since Dispose might run on a different thread,
  5467. make sure that we call methods that could call into the driver via
  5468. invoke, to avoid thread issues
  5469. 2005-10-21 Peter Dennis Bartok <[email protected]>
  5470. * XplatUI.cs: Removed finalizer
  5471. * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
  5472. not allowing to be called on the finalizer thread.
  5473. 2005-10-21 Kornél Pál <[email protected]>
  5474. * ImageList.cs:
  5475. - Reverted r51889 and r51891.
  5476. - Added ImageListItem class that stores unmodified image items and image
  5477. properties required to create list images until handle is created.
  5478. - Added AddItem and moved image creation logic to AddItemInternal.
  5479. - Added CreateHandle method that creates images based on unmodified items.
  5480. - Added DestroyHandle that changes state to store unmodified items.
  5481. - Add and AddStrip methods no more create handle.
  5482. - ReduceColorDepth has no return value.
  5483. - Dispose destroys handle.
  5484. - Modified other methods to reflect the above changes.
  5485. - Implemented key support.
  5486. - Added profile 2.0 members and attributes.
  5487. - Added private Reset and ShouldSerialize methods that provide the same
  5488. behavior as MS.NET but the Visual Studio .NET designer seems to ignore
  5489. them as they are private.
  5490. - Added some more comments about implementation details.
  5491. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  5492. * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
  5493. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  5494. * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
  5495. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  5496. * DataGridDrawingLogic.cs: Fixes column hit calcultation
  5497. * DataGridColumnStyle.cs: Remove debug message
  5498. 2005-10-20 Jackson Harper <[email protected]>
  5499. * TreeView.cs: We can always get input keys regardless of whether
  5500. or not editing is enabled. They are used for navigation.
  5501. 2005-10-20 Jackson Harper <[email protected]>
  5502. * TreeNode.cs: Use the viewport rect for determining if a node
  5503. needs to be moved for visibility. Don't use Begin/End edit. This
  5504. calls a full refresh when its done.
  5505. * TreeView.cs: New SetBottom works correctly. Make the viewport
  5506. rect property internal so the treenodes can see it. When clicking
  5507. on a node we need to ensure that its visible because it might just
  5508. be partly visible when clicked.
  5509. 2005-10-20 Jackson Harper <[email protected]>
  5510. * TreeNodeCollection.cs: Remove debug code.
  5511. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  5512. * Datagrid.cs: Implements column sorting in Datagrid
  5513. * DataGridColumnStyle.cs: Implements column sorting in Datagrid
  5514. 2005-10-20 Jackson Harper <[email protected]>
  5515. * TreeNodeCollection.cs: Remove items properly. Update the correct
  5516. area after removing them.
  5517. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  5518. * Datagrid.cs: Should not call base.OnPaintBackground
  5519. 2005-10-20 Peter Dennis Bartok <[email protected]>
  5520. * XplatUIX11.cs (GetMessage):
  5521. - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
  5522. window instead of client window
  5523. - Now properly calculates NC_xBUTTONUP message coordinates
  5524. - ScreenToMenu now properly calculates it's coordinates of whole
  5525. window, since menus are in the whole window, not in the client
  5526. window
  5527. - Added WholeToScreen coordinate translation method
  5528. 2005-10-20 Peter Dennis Bartok <[email protected]>
  5529. * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
  5530. want to return a message, loop back to the beginning of the function
  5531. and grab the next real message to process instead.
  5532. 2005-10-20 Peter Dennis Bartok <[email protected]>
  5533. * Splitter.cs: Properly set limits if no filler control is used
  5534. 2005-10-19 Jackson Harper <[email protected]>
  5535. * ColorDialog.cs: Don't show the help button if it is not enabled
  5536. instead of disabling it (this is what MS does). Don't create the
  5537. panel until the dialog is run, otherwise the vars (such as
  5538. ShowHelp) are not set yet.
  5539. 2005-10-19 Jackson Harper <[email protected]>
  5540. * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
  5541. are reduced when adding nodes.
  5542. * TreeNode.cs:
  5543. * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
  5544. tree.
  5545. 2005-10-19 Jackson Harper <[email protected]>
  5546. * FolderBrowserDialog.cs: End editing our treeview so the window
  5547. actually gets refreshed.
  5548. 2005-10-18 Peter Dennis Bartok <[email protected]>
  5549. * Control.cs: Fixed logic flip on when to call OnPaintBackground.
  5550. Obsoleted handling of WM_ERASEBKGND, now always draws our background
  5551. inside of WM_PAINT
  5552. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  5553. * MenuAPI.cs: Returns after Hidding window
  5554. * XplatUIX11.cs: Added TODO found while debugging menu issues
  5555. 2005-10-18 Peter Dennis Bartok <[email protected]>
  5556. * XplatUIX11.cs: Do not re-map the whole window when it's size
  5557. becomes non-zero unless it's supposed to be actually visible
  5558. 2005-10-18 Jackson Harper <[email protected]>
  5559. * TreeView.cs: We don't need to keep a count anymore.
  5560. * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
  5561. use the Grow method.
  5562. 2005-10-18 Jackson Harper <[email protected]>
  5563. * TreeNodeCollection.cs: Insert is not supported on arrays, so
  5564. implement it manually here.
  5565. 2005-10-18 Jackson Harper <[email protected]>
  5566. * ImageList.cs: Dont kill the list when the colour depth is
  5567. changed, just change the colour depth of all the images.
  5568. - Same goes for setting the image size. Just resize them all
  5569. instead of killing the list softly.
  5570. 2005-10-18 Jackson Harper <[email protected]>
  5571. * Control.cs: Don't invalidate empty rectangles.
  5572. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  5573. * ListViewItem.cs:
  5574. - Adds checked item to the Checked/Item lists (where empty before)
  5575. - Do not add items to the Selected lists if they are already present
  5576. * ListView.cs:
  5577. - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
  5578. - When deleting items make sure that we delete them for the Selected
  5579. and Checked list also.
  5580. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  5581. * Label.cs: Dispose objects no longer used
  5582. * ThemeWin32Classic.cs: Dispose objects no longer used
  5583. 2005-10-18 Jackson Harper <[email protected]>
  5584. * TabControl.cs: Don't refresh the whole control when the tabs are
  5585. scrolled, we just need to refresh the tab area.
  5586. 2005-10-17 Jackson Harper <[email protected]>
  5587. * XplatUIX11.cs: Compress code a little bit. Only calculate the
  5588. after handle when we need it.
  5589. 2005-10-17 Peter Dennis Bartok <[email protected]>
  5590. * Control.cs: When the parent size changes, recalculate anchor
  5591. positions. Partial fix for #76462
  5592. 2005-10-17 Peter Dennis Bartok <[email protected]>
  5593. * ThemeWin32Classic.cs: Make sure the picturebox has it's background
  5594. drawn. Fixes #76462
  5595. 2005-10-17 Jackson Harper <[email protected]>
  5596. * MonthCalendar.cs: Don't create the numeric up down until our
  5597. handle is created. Otherwise our handle is created in the
  5598. constructor and we don't know if we are a WS_CHILD or WS_POPUP
  5599. yet.
  5600. 2005-10-17 Jackson Harper <[email protected]>
  5601. * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
  5602. correctly.
  5603. 2005-10-17 Rafael Teixeira <[email protected]>
  5604. * TreeNode.cs : small logical fix (was using local var instead of field)
  5605. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  5606. * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
  5607. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  5608. * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
  5609. 2005-10-16 Peter Dennis Bartok <[email protected]>
  5610. * Control.cs:
  5611. - Re-implemented anchoring code. My first version was really broken.
  5612. This fixes bug #76033. Unlike the previous implementation we will
  5613. no longer have round errors since all numbers are calculated from
  5614. scratch every time. Removed various anchor-related obsolete vars.
  5615. - InitLayout no longer causes layout event firing and layout to be
  5616. performed
  5617. 2005-10-16 Jackson Harper <[email protected]>
  5618. * Hwnd.cs: Compute invalid area correctly (fixes my last commit
  5619. which was broken).
  5620. 2005-10-16 Jackson Harper <[email protected]>
  5621. * TabControl.cs: Remove debug code.
  5622. 2005-10-16 Jackson Harper <[email protected]>
  5623. * XEventQueue.cs: Increase the default queue size (very simple
  5624. apps needed to grow the queue).
  5625. * Hwnd.cs: No finalizer so we don't need to suppress
  5626. finalization. Compute the invalid area manually so a new rectangle
  5627. does not newto be created.
  5628. * ScrollableControl.cs: Don't set any params (otherwise visibility
  5629. isn't set correctly).
  5630. * MdiChildContext.cs: New constructor takes the mdi parent so it
  5631. doesn't have to be computed and avoids a crash on windows. Draw
  5632. the window icon properly, and allow the text to be seen.
  5633. * Form.cs: Use new MdiChildContext constructor. Make sure the
  5634. child context isn't null in wndproc.
  5635. * TabControl.cs: Don't set focus, this is muddling keyboard
  5636. behavoir. Expand the tab rows when a window size increase will
  5637. allow extra tabs to be seen. Don't allow tabs smaller than the
  5638. width of a window to be scrolled out of view.
  5639. * TreeNode.cs:
  5640. * TreeView.cs: Use measure string to calculate a nodes width, the
  5641. width is cached and only updated when the text or the font is
  5642. changed. Don't check for expand/collapse clicks on the first level
  5643. nodes if root lines are disabled.
  5644. 2005-10-16 Ritvik Mayank <[email protected]>
  5645. * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
  5646. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  5647. * DataGridBoolColumn.cs: fixes warning
  5648. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  5649. * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
  5650. to match more to match more precisely the MS Net behavior
  5651. 2005-10-13 Peter Dennis Bartok <[email protected]>
  5652. * Hwnd.cs: Added field to track if window is mapped
  5653. * XplatUIX11.cs:
  5654. - Unmap windows if they become 0-size, re-map when
  5655. they are >0 again; fixes #76035
  5656. - Re-set our error handler after initializing X11Desktop
  5657. to override any error handlers Gtk or whatever was called
  5658. may have set.
  5659. 2005-10-13 Peter Dennis Bartok <[email protected]>
  5660. * CheckedListBox.cs: Removed unused vars
  5661. * ListView.cs: Fixed signatures
  5662. * RichTextBox.cs: Removed unused vars
  5663. * TextBoxBase.cs: Removed unused vars
  5664. * XplatUIWin32.cs: Removed unused vars
  5665. * XplatUIX11.cs: Removed unused vars
  5666. * XplatUI.cs: Updated version and date to latest published
  5667. 2005-10-13 Peter Dennis Bartok <[email protected]>
  5668. * Cursor.cs: Added private .ctor to work around a bug in
  5669. resourceset (Thanks to Geoff Norton for the help on this)
  5670. * SplitterEventArgs.cs: Made fields accessible so we don't
  5671. waste boatloads of objects and can reuse the same one
  5672. in Splitter
  5673. * XplatUIWin32.cs(DrawReversibleLine): Now also considers
  5674. any captions and borders when generating screen coordinates
  5675. * Splitter.cs: Reimplemented control, now fully complete, uses
  5676. rubberband drawing, supports and obeys all properties, has
  5677. proper cursors
  5678. 2005-10-13 Miguel de Icaza <[email protected]>
  5679. * Form.cs (Form): Setup default values for autoscale and
  5680. autoscale_base_size; Make these instance variables, not static
  5681. variables.
  5682. (OnLoad): on the first load, adjust the size of the form.
  5683. 2005-10-13 Peter Dennis Bartok <[email protected]>
  5684. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
  5685. width argument to DrawReversibleRectangle()
  5686. * XplatUIWin32.cs, XplatUIX11.cs:
  5687. - Implemented width for DrawReversibleRectangle()
  5688. - Added logic to DrawReversibleRectangle that recognizes a zero
  5689. width or height and only draws a line in that situation
  5690. 2005-10-12 Peter Dennis Bartok <[email protected]>
  5691. * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
  5692. * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
  5693. * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
  5694. method (it uses our FosterParent window to get a graphics context)
  5695. 2005-10-12 Peter Dennis Bartok <[email protected]>
  5696. * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
  5697. and SetWindowBackground methods
  5698. * Control.cs:
  5699. - Setting proper ControlStyles
  5700. - We no longer call XplatUI.SetWindowBackground and XplatUI.
  5701. EraseWindowBackground, instead we draw the window background
  5702. ourselves in PaintControlBackground. This behaviour is
  5703. required to match MS, where, when OnPaintBackground is not
  5704. called, the background is not drawn.
  5705. - Removed unneeded Refresh() in set_Text
  5706. * Hwnd.cs: Dropped the ErasePending support. No longer needed
  5707. * XplatUIX11.cs:
  5708. - Created DeriveStyles method to translate from CreateParams to
  5709. FormBorderStyle and TitleStyle, also handles BorderStyle (which
  5710. matches FormBorderStyle enum values)
  5711. - Consolidated SetHwndStyles and CalculateWindowRect border/title
  5712. style calculations into single DeriveStyles method
  5713. - Fixed CreateWindow to (finally) use Gravity. This prevents X11
  5714. from redrawing the whole window on any resize or expose.
  5715. - Fixed CreateWindow usage of SetWindowValuemask. Before not
  5716. all styles were applied to our whole/client window appropriately
  5717. - Removed EraseWindowBackground() and SetWindowBackground() methods
  5718. - Removed handling of WM_ERASEBKGND message from DefWndProc, we
  5719. no longer clear/redraw the background through X
  5720. - Removed handling of erase_pending bit, we have no use for it (or
  5721. so it seems)
  5722. * XplatUIOSX.cs:
  5723. - Removed generation and handling of WM_ERASEBKGND message
  5724. - Removed EraseWindowBackground() and SetWindowBackground() methods
  5725. - Removed handling of hwnd.ErasePending flag
  5726. * XplatUIWin32.cs:
  5727. - Removed EraseWindowBackground() and SetWindowBackground() methods
  5728. - We no longer call EraseWindowBackground on PaintEventStart, we
  5729. ignore the fErase flag, erasing is handled in Control in the
  5730. background handler
  5731. * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
  5732. LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
  5733. TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
  5734. CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
  5735. DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
  5736. TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
  5737. DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
  5738. 2005-10-12 Jonathan Chambers <[email protected]>
  5739. * PropertyGrids.cs: Get sub properties
  5740. * PropertyGridView.cs: Fix drawing code
  5741. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  5742. * ListBox.cs: Fixes 76383
  5743. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  5744. * DataGridTextBoxColumn.cs: Sets location and size before attachment
  5745. * ThemeWin32Classic.cs: Fixes border drawing and calculations
  5746. * DataGridDrawingLogic.cs: Fixes border drawing and calculations
  5747. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  5748. * ComboBox.cs: Fixes border drawing
  5749. 2005-10-10 Miguel de Icaza <[email protected]>
  5750. * MimeIcon.cs: Ignore errors if the file can not be read.
  5751. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  5752. * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
  5753. - Fixed border calculations
  5754. - Fixed horizontal scrolling in single column listboxes
  5755. - Fixed drawing issues
  5756. 2005-10-10 Peter Dennis Bartok <[email protected]>
  5757. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
  5758. FormBorderStyle enum
  5759. * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
  5760. code to determine FormBorderStyles from CreateParams
  5761. * Form.cs:
  5762. - Fixed bug where we'd set the wrong window styles if we were
  5763. not creating an MDI window
  5764. - Added call to XplatUI.SetBorderStyle when form borders are set
  5765. * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
  5766. * Hwnd.cs:
  5767. - Removed obsolete edge style
  5768. - Switched from BorderStyle to FormBorderStyle
  5769. 2005-10-10 Jackson Harper <[email protected]>
  5770. * Form.cs: Use the property to get the window handle instead of
  5771. accessing it directly. Prevents a null reference exception.
  5772. 2005-10-10 Jackson Harper <[email protected]>
  5773. * TreeView.cs: Don't adjust the rect given to DrawString now that
  5774. our libgdiplus draws correctly.
  5775. 2005-10-08 Jackson Harper <[email protected]>
  5776. * TreeView.cs: Don't try to find the clicked on node if there are
  5777. no nodes in the tree.
  5778. 2005-10-08 Alexander Olk <[email protected]>
  5779. * RichTextBox.cs:
  5780. restore
  5781. 2005-10-08 Alexander Olk <[email protected]>
  5782. * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
  5783. ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
  5784. ErrorProvider.cs:
  5785. Use ResPool for brushes and dispose System.Drawing objects that
  5786. are not used anymore.
  5787. 2005-10-07 Jackson Harper <[email protected]>
  5788. * MdiChildContext.cs: Use the new borders instead of drawing them
  5789. ourselves.
  5790. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  5791. * Calling UpdateBounds after changing the window's BorderStyle
  5792. since the style can change the ClientSize
  5793. 2005-10-06 Peter Dennis Bartok <[email protected]>
  5794. * Control.cs: Made PaintControlBackground virtual
  5795. * Panel.cs: Overriding PaintControlBackground instead of using paint
  5796. event; paint event method was interfering with 'real' users of the
  5797. event.
  5798. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  5799. * ThemeWin32Classic.cs: remove border drawing since it is handled
  5800. by the base control class now and was causing double border drawing.
  5801. 2005-10-06 Peter Dennis Bartok <[email protected]>
  5802. * Panel.cs: Redraw our background on paint. Not a pretty solution,
  5803. but it does seem to match MS behaviour. This fixes bug #75324
  5804. 2005-10-06 Peter Dennis Bartok <[email protected]>
  5805. * XplatUIX11.cs: A better DrawReversibleRectangle version, however
  5806. somewhat hackish looking
  5807. 2005-10-06 Peter Dennis Bartok <[email protected]>
  5808. * TextBoxBase.cs:
  5809. - We now accept Enter even if AcceptEnter is false, if the containing
  5810. form does not have an AcceptButton configured (fixes bug #76355)
  5811. - Calculations are now fixed to no longer use Width/Height, but
  5812. ClientSize.Width/Height, since we now support borders (this was
  5813. a result of fixing borders and therefore bug #76166)
  5814. - We no longer show the horizontal scrollbar if TextBox.WordWrap is
  5815. true (fixes bug #76354)
  5816. 2005-10-06 Peter Dennis Bartok <[email protected]>
  5817. * Control.cs:
  5818. - Defaulting BorderStyle and setting it in XplatUI when our window
  5819. is created
  5820. - Added enum check to InternalBorderStyle setter
  5821. * XplatUIX11.cs:
  5822. - Added drawing of window borders
  5823. - Now properly calculates WM decorations offset for toplevel
  5824. windows (fixes bug #74763)
  5825. * XplatUIWin32.cs:
  5826. - Implemented BorderStyles for windows (we're letting win32 draw
  5827. the border for us)
  5828. - Fixed the signature for SetWindowLong
  5829. * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
  5830. ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
  5831. setting borders
  5832. * UpDownBase.cs: Remove drawing of borders, this is handled by
  5833. the driver, outside the client area
  5834. * ListView.cs: Removed bogus border calculations. The control should
  5835. be oblivious to borders, since those are not part of the client
  5836. area.
  5837. * X11DesktopColors.cs: Commented out (currently) unneeded variables
  5838. * ThemeWin32Classic.cs: Removed border calculations from ListView
  5839. drawing code
  5840. 2005-10-06 Jackson Harper <[email protected]>
  5841. * MdiChildContext.cs: Clear out the old virtual position remove
  5842. all the unneeded calls to CreateGraphics.
  5843. 2005-10-06 Peter Dennis Bartok <[email protected]>
  5844. * TextControl.cs: Use proper color for highlighted text; fixes #76350
  5845. 2005-10-06 Peter Dennis Bartok <[email protected]>
  5846. * Form.cs:
  5847. - Added loading and setting of our new default icon
  5848. - Only set icon if window is already created
  5849. 2005-10-06 Peter Dennis Bartok <[email protected]>
  5850. * Label.cs:
  5851. - Do not explicitly set the foreground and background colors, to
  5852. allow inheriting from parents (fixes #76302)
  5853. - Use Control's InternalBorderStyle property to deal with borders
  5854. 2005-10-06 Jackson Harper <[email protected]>
  5855. * MdiChildContext.cs: Use the new xplatui function to draw a
  5856. reversible rect.
  5857. 2005-10-06 Jackson Harper <[email protected]>
  5858. * Form.cs: Add the parent before creating the child context cause
  5859. we need the parent when setting up the child.
  5860. 2005-10-06 Jackson Harper <[email protected]>
  5861. * FolderBrowserDialog.cs: redo the tree population code so a
  5862. second thread isn't used. Should be a lot faster and more stable
  5863. now.
  5864. 2005-10-05 Jackson Harper <[email protected]>
  5865. * TreeView.cs: There are no expand/collapse boxes if the node has
  5866. no children.
  5867. 2005-10-05 Jackson Harper <[email protected]>
  5868. * X11DesktopColors.cs: Get menu colours for the gtk theme.
  5869. 2005-10-05 Alexander Olk <[email protected]>
  5870. * FileDialog.cs: Fix InitialDirectory
  5871. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  5872. * ComboBox.cs:
  5873. - Fixes changing between styles
  5874. - Fixes simple mode
  5875. - Fixes last item crashing when navigating with keyboard
  5876. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  5877. * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
  5878. 2005-10-05 Jackson Harper <[email protected]>
  5879. * TreeView.cs: If updating the root node do a full refresh.
  5880. * TreeNode.cs: The root node should be expanded by default. Also
  5881. added a utility prop to tell if we are the root node.
  5882. * TreeNodeCollection.cs: Only refresh if the node we are being
  5883. added to is expanded. Also added a comment on a potential
  5884. optimization.
  5885. 2005-10-04 Peter Dennis Bartok <[email protected]>
  5886. * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
  5887. in dispose method. Fixes #76330
  5888. 2005-10-04 Jordi Mas i Hernandez <[email protected]>
  5889. * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
  5890. - Implements vertical and horizontal scrolling using XplatUI
  5891. - Fixes keyboard navagation
  5892. - Fixes EnsureVisible
  5893. - Drawing fixes
  5894. - Handles and draws focus properly
  5895. 2005-10-04 Kornél Pál <[email protected]>
  5896. * ImageList.cs: Use upper case initials for internal fields. ImageStream:
  5897. Create handle. NET_2_0: Destroy handle when value is null.
  5898. 2005-10-03 Jackson Harper <[email protected]>
  5899. * ScrollBar.cs: My last scrollbar patch was broken. This is a
  5900. revert and a new patch to prevent the thumb from refreshing so
  5901. much.
  5902. 2005-10-02 Jackson Harper <[email protected]>
  5903. * ScrollBar.cs: Don't update position if it hasn't actually
  5904. changed. This occurs when you hold down the increment/decrement
  5905. buttons and the thumb gets to the max/min.
  5906. 2005-10-01 Jackson Harper <[email protected]>
  5907. * Form.cs:
  5908. * MdiChildContext.cs:
  5909. * MdiClient.cs: Implement ActiveMdiChild in Form.
  5910. 2005-10-01 Jordi Mas i Hernandez <[email protected]>
  5911. * ComboBox.cs: Include ComboBoxEdit flag for the edit item
  5912. 2005-10-01 Peter Dennis Bartok <[email protected]>
  5913. * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
  5914. be found
  5915. 2005-09-30 Jackson Harper <[email protected]>
  5916. * ListBox.cs: Don't do a full refresh unless some data has
  5917. actually changed.
  5918. 2005-09-30 Jackson Harper <[email protected]>
  5919. * TreeView.cs: Make sure that the checkboxes size is factored in
  5920. even when not visible.
  5921. 2005-09-30 Peter Dennis Bartok <[email protected]>
  5922. * FileDialog.cs: Fix Jordi's build break
  5923. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  5924. * FileDialog.cs:
  5925. - Use standard the Windows colours for the combobox as espected
  5926. - Dispose objects that use resouces when no longer need them
  5927. 2005-09-30 Peter Dennis Bartok <[email protected]>
  5928. * X11DesktopColors.cs: Initial incomplete implementation
  5929. * XplatUIX11.cs: Added call to initialize X11DesktopColors
  5930. 2005-09-30 Peter Dennis Bartok <[email protected]>
  5931. * Theme.cs:
  5932. - Switched Theme color names to match the names defined in
  5933. System.Drawing.KnownColors. Life's hard enough, no need to make
  5934. it harder.
  5935. - Added setters to all theme color properties so themes can set
  5936. their color schemes. The setters also propagate the color changes
  5937. to System.Drawing.KnownColors via reflection
  5938. * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
  5939. ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
  5940. DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
  5941. use the new, more logical theme color names
  5942. * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
  5943. post-NT colors
  5944. * ThemeWin32Classic.cs:
  5945. - Removed code to set the old classic Windows colors. Instead it
  5946. now relies on the colors returned by System.Drawing.KnownColors
  5947. which will be either modern static colors (Unix) or colors
  5948. read from the user's configuration (Win32)
  5949. - Updated to use the new, more logical theme color names
  5950. - Switched DataGrid drawing code to use only Theme colors instead of
  5951. a mix of System.Drawing.KnownColors and Theme colors
  5952. - DrawFrameControl(): Removed code that fills the button area, the
  5953. fill would overwrite any previous fill done by a control. This
  5954. fixes bug #75338
  5955. - Added DrawReversibleRectangle() stub
  5956. * ScrollableControl.cs: Set visible state to false when scrollbars
  5957. are removed (pdn fix)
  5958. * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
  5959. DrawReversibleRectangle() method to allow drawing primitive
  5960. 'rubber bands'
  5961. * XplatUIX11.cs: Implemented DrawReversibleRectangle()
  5962. 2005-09-30 Kornél Pál <[email protected]>
  5963. * ImageList.cs: Add(Icon): Create handle.
  5964. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  5965. * ListView.cs:
  5966. * ThemeWin32Classic.cs:
  5967. - Fixes detail mode
  5968. - Sets clippings
  5969. - Issues with drawing
  5970. 2005-09-30 Kornél Pál <[email protected]>
  5971. * ImageList.cs: Moved RecreateHandle back to ImageList as event
  5972. source has to be the ImageList.
  5973. 2005-09-30 Kornél Pál <[email protected]>
  5974. * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
  5975. 2005-09-30 Kornél Pál <[email protected]>
  5976. * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
  5977. 2005-09-30 Kornél Pál <[email protected]>
  5978. * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
  5979. 2005-09-29 Jonathan Chambers <[email protected]>
  5980. * GridItem.cs: Fixed TODOs
  5981. * GridItemCollection.cs: Added ICollection interface
  5982. 2005-09-30 Kornél Pál <[email protected]>
  5983. * ImageList.cs: Resize icons when needed.
  5984. 2005-09-29 Jordi Mas i Hernandez <[email protected]>
  5985. * ListViewItem.cs
  5986. - Fixes GetBounds and returns on screen rects
  5987. * ListView.cs:
  5988. - Fixes vertical and horzintal scrolling of items
  5989. * ThemeWin32Classic.cs:
  5990. - Fixes drawing
  5991. 2005-09-29 Raja R Harinath <[email protected]>
  5992. * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
  5993. 2005-09-29 Kornél Pál <[email protected]>
  5994. * ImageList.cs: Added comments about handle creation. Moved Handle,
  5995. HandleCreated and OnRecreateHandle implementations to ImageCollection.
  5996. Handle is created in Add methods.
  5997. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  5998. * DataGridDrawingLogic.cs:
  5999. - Takes rows into account on Colum calculations
  6000. - Returns the column when clickig
  6001. * DataGrid.cs:
  6002. - Fixes default HitTestInfo values
  6003. - Fixes HitTestInfo.ToString
  6004. - Fixes ResetBackColor
  6005. 2005-09-28 Jackson Harper <[email protected]>
  6006. * MdiChildContext.cs: Obey rules for fixed sized windows (no
  6007. sizing or cursor changes). Also added some temp code to draw the
  6008. titlebars text (Makes dev a little easier).
  6009. 2005-09-28 Kornél Pál <[email protected]>
  6010. * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
  6011. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  6012. * ListBox.cs: Fixes bug 76253
  6013. 2005-09-28 Kornél Pál <[email protected]>
  6014. * ImageList.cs: Added comments about the current implementation. Added
  6015. ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
  6016. Format32bppArgb to preserve transparency and can use Graphics.FromImage
  6017. while using the specified ColorDepth. ReduceColorDepth uses unsafe code
  6018. with Bitmap.LockBits for better performance. Revised the whole file to
  6019. match MS.NET behaviour and provide better performance. Non-public
  6020. interface members are calling public members even when they throw
  6021. NotSupportedException for better maintainability. Moved ColorDepth,
  6022. ImageSize, ImageStream and TransparentColor implementations to
  6023. ImageCollection for better performance as these properties are not used
  6024. by ImageList.
  6025. * ImageListStreamer.cs: Added a new internal constructor that takes an
  6026. ImageList.ImageCollection and serializes Images based on
  6027. ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
  6028. match ImageList property name.
  6029. 2005-09-28 Kazuki Oikawa <[email protected]>
  6030. * ListBox.cs: Fixes IndexFromPoint for last item
  6031. 2005-09-27 Jackson Harper <[email protected]>
  6032. * Form.cs: Set the position of new mdi children correctly.
  6033. 2005-09-27 Jackson Harper <[email protected]>
  6034. * MdiClient.cs: New mdi children need to be added to the back of
  6035. the controls collection so the zorder is set correctly. Also add a
  6036. count of all the child windows that have been created.
  6037. 2005-09-27 Jackson Harper <[email protected]>
  6038. * Form.cs (CreateParams): Setup MDI forms correctly.
  6039. 2005-09-27 Jackson Harper <[email protected]>
  6040. * MdiChildContext.cs:
  6041. * MonthCalendar.cs:
  6042. * UpDownBase.cs:
  6043. * ListBox.cs:
  6044. * ListView.cs:
  6045. * TextBoxBase.cs:
  6046. * TreeView.cs:
  6047. * ScrollableControl.cs:
  6048. * ComboBox.cs: Add implicit controls using the new implict control
  6049. functionality in ControlCollection. Also try to block multiple
  6050. control add in a suspend/resume layout to save some cycles.
  6051. 2005-09-27 Jackson Harper <[email protected]>
  6052. * Control.cs: Add functionality to the controls collection to add
  6053. 'implicit controls' these are controls that are created by the
  6054. containing control but should not be exposed to the user. Such as
  6055. scrollbars in the treeview.
  6056. * Form.cs: The list var of the ControlsCollection is no longer
  6057. available because of the potential of implicit controls getting
  6058. ignored by someone accessing the list directly.
  6059. 2005-09-26 Peter Dennis Bartok <[email protected]>
  6060. * Control.cs: Fixed SetChildIndex; it no longer causes a child to
  6061. loose it's parent. (Fixed bug introduced in r49103 when we added
  6062. setting the child parent to null on Remove)
  6063. 2005-09-26 Gert Driesen <[email protected]>
  6064. * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
  6065. * Splitter.cs: Added missing attributes for BorderStyle property.
  6066. * TextBoxBase.cs: Marked Calculate* methods internal.
  6067. * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
  6068. MS.NET.
  6069. 2005-09-26 Jordi Mas i Hernandez <[email protected]>
  6070. * ListBox.cs: Fixes navigation to the last item in multicolumn lists
  6071. 2005-09-25 Jackson Harper <[email protected]>
  6072. * TreeView.cs: Update the node bounds correctly regardless of
  6073. whether the node is visible.
  6074. 2005-09-25 Jackson Harper <[email protected]>
  6075. * ImageList.cs: Don't dispose the image after it is added to the
  6076. image list. Only reformat images that need to be resized.
  6077. 2005-09-25 Jackson Harper <[email protected]>
  6078. * ImageList.cs: Don't set the format when changing the image.
  6079. 2005-09-25 Jackson Harper <[email protected]>
  6080. * TreeView.cs: We can't just assume the node has a font. Use the
  6081. treeviews font if no node font is available.
  6082. 2005-09-25 Jackson Harper <[email protected]>
  6083. * TreeView.cs: Allow the scrollbars to be reset with negative
  6084. values.
  6085. - Don't add scrollbars to negative sized windows.
  6086. 2005-09-23 Jackson Harper <[email protected]>
  6087. * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
  6088. old Mono.Posix. Also remove some stray code that shouldn't have
  6089. been committed.
  6090. 2005-09-23 Jackson Harper <[email protected]>
  6091. * TreeView.cs: Attempt at proper sizing of the horizontal
  6092. scrollbar. Also don't resize the scrollbars unless they are
  6093. visible.
  6094. 2005-09-23 Jackson Harper <[email protected]>
  6095. * TreeView.cs: We don't need to expand the invalid area when the
  6096. selection changes, as this is all drawn in the node's bounding
  6097. box. The area needs to be expanded (previous typo was contracting
  6098. it) when the focus rect moves.
  6099. 2005-09-23 Jackson Harper <[email protected]>
  6100. * TreeView.cs: Display the selection box under the correct
  6101. circumstances. We were rendering white text with no selection box
  6102. before.
  6103. 2005-09-23 Peter Dennis Bartok <[email protected]>
  6104. * TextControl.cs(Split): Now updates selection start/end if it points
  6105. into a line that's being split. Fixes a FIXME and bug #75258
  6106. 2005-09-23 Jackson Harper <[email protected]>
  6107. * Binding.cs:
  6108. * ListControl.cs: Don't use the path when retrieving binding
  6109. managers from the binding context. My bat sense tells me that the
  6110. path is only used on insertion.
  6111. 2005-09-22 Jackson Harper <[email protected]>
  6112. * Splitter.cs: Set the cursor an easier way. (Thanks peter).
  6113. 2005-09-22 Jackson Harper <[email protected]>
  6114. * Splitter.cs: There are special cursors used for splitting.
  6115. * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
  6116. 2005-09-22 Jackson Harper <[email protected]>
  6117. * Splitter.cs: Change the cursor appropriately when the splitter
  6118. is moused over, so the user actually knows there is a splitter
  6119. there.
  6120. 2005-09-22 Hisham Mardam Bey <[email protected]>
  6121. * Label.cs : Fix ToString method to give same output as MS.NET
  6122. 2005-09-22 Jackson Harper <[email protected]>
  6123. * TreeView.cs: Create the scrollbars when the handle is created
  6124. and add them right away, just make them invisble. Also account for
  6125. the window being shrunk vertically to the point that the vert
  6126. scrollbar needs to be added.
  6127. - Remove some 0.5 adjustments to get around anti aliasing issues.
  6128. 2005-09-22 Jordi Mas i Hernandez <[email protected]>
  6129. * MainMenu.cs: Fixes default value
  6130. * MenuItem.cs: Fixes default value
  6131. 2005-09-22 Kazuki Oikawa <[email protected]>
  6132. * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
  6133. 2005-09-21 Jackson Harper <[email protected]>
  6134. * Control.cs: Don't try to set the border style on the window if
  6135. it hasn't been created. When the window is created the border
  6136. style will be used.
  6137. 2005-09-21 Peter Dennis Bartok <[email protected]>
  6138. * Control.cs (Update): Don't call XplatUI if we don't have a
  6139. window handle yet
  6140. 2005-09-21 Peter Dennis Bartok <[email protected]>
  6141. * ContainerControl.cs: Instead of throwing an exception, print
  6142. a one-time warning about Validate not being implemented
  6143. * XplatUIWin32.cs: Removed debug output
  6144. 2005-09-21 Peter Dennis Bartok <[email protected]>
  6145. * Control.cs: Only set XplatUI background if we expect the windowing
  6146. system to handle the background. This stops controls that draw their
  6147. own background from flickering
  6148. * XplatUIX11.cs: Support custom visuals and colormaps for window
  6149. creation. This allows, amongst other things, using MWF X11 windows
  6150. with OpenGL.
  6151. 2005-09-21 Peter Dennis Bartok <[email protected]>
  6152. * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
  6153. CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
  6154. GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
  6155. SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
  6156. TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
  6157. IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
  6158. KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
  6159. RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
  6160. ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
  6161. ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
  6162. GridColumnStylesCollection.cs,
  6163. IDataGridColumnStyleEditingNotificationService.cs,
  6164. PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
  6165. MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
  6166. GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
  6167. TreeNodeCollection.cs, AmbientProperties.cs,
  6168. RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  6169. DataObject.cs, ErrorProvider.cs, Splitter.cs,
  6170. DataGridLineStyle.cs, Shortcut.cs, Control.cs,
  6171. FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
  6172. BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
  6173. IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
  6174. FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
  6175. IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
  6176. NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
  6177. PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
  6178. SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
  6179. FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
  6180. DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
  6181. ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
  6182. RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
  6183. MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
  6184. ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
  6185. CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
  6186. MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
  6187. NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
  6188. ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
  6189. SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
  6190. Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
  6191. RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
  6192. DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
  6193. ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
  6194. PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
  6195. DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
  6196. ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
  6197. AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
  6198. RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
  6199. CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
  6200. SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
  6201. Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
  6202. SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
  6203. ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
  6204. TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
  6205. 2005-09-21 Jackson Harper <[email protected]>
  6206. * TreeNode.cs: Call Before/After Expand not Collapse when
  6207. expanding.
  6208. 2005-09-20 Jackson Harper <[email protected]>
  6209. * XplatUIX11.cs: Use the more hand looking hand (in most themes).
  6210. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  6211. * ListViewItem.cs:
  6212. - Fixes bug 76120
  6213. - Fixes proper storing of subitems
  6214. - Fixes not updated items
  6215. 2005-09-20 Peter Dennis Bartok <[email protected]>
  6216. * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
  6217. things if our window handle isn't created yet. Also disabled
  6218. debug for TextBoxBase
  6219. 2005-09-20 Peter Dennis Bartok <[email protected]>
  6220. * MenuAPI.cs: Remove filtering of events to allow menu usage
  6221. 2005-09-20 Miguel de Icaza <[email protected]>
  6222. * Cursor.cs: Allow null to be passed to Cursor.Current.
  6223. 2005-09-20 Alexander Olk <[email protected]>
  6224. * ThemeWin32Classic.cs:
  6225. - Change some private methods/fields to protected virtual so that
  6226. they can be accessed and overriden in derived classes
  6227. - First refactoring of some methods. Derived themes now don't
  6228. need to duplicate the complete code from ThemeWin32Classic
  6229. * ThemeNice.cs:
  6230. - Added nice StatusBar
  6231. - Derive from ThemeWin32Classic and not Theme
  6232. - Removed duplicate ThemeWin32Classic code
  6233. 2005-09-20 Miguel de Icaza <[email protected]>
  6234. * Control.cs (ControlCollection.Add): If the value null is passed
  6235. the control is ignored.
  6236. Optimize this loop.
  6237. 2005-09-19 Peter Dennis Bartok <[email protected]>
  6238. * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
  6239. PostQuitMessage state.
  6240. * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
  6241. 2005-09-19 Peter Dennis Bartok <[email protected]>
  6242. * Application.cs: Our constructor will never get called, move
  6243. initialization to fields; fixes bug #75933
  6244. 2005-09-19 Hisham Mardam Bey <[email protected]>
  6245. * FileDialog.cs :
  6246. - Allow files to be selected properly using file name
  6247. combo box.
  6248. - Add ability to change diretory (absolute / relative)
  6249. using file name combo box.
  6250. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  6251. * ListBox.cs:
  6252. - Fixes Multicolumn listboxes item wrong calculations
  6253. - Allows to click when only one item is in the listbox
  6254. - Fixes crash when no items using keyboard navigation
  6255. 2005-09-16 Alexander Olk <[email protected]>
  6256. * ComboBox.cs: Reverted almost everything from the latest patch which
  6257. broke ComboBox
  6258. 2005-09-16 Kazuki Oikawa <[email protected]>
  6259. * ToolTip.cs:
  6260. - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
  6261. * ComboBox.cs:
  6262. - When DropDownStyle is Simple, it does not show scrollbar
  6263. to the last item of the list.
  6264. - When DropDownStyle is Simple, it crashed when the list was
  6265. scrolled down with the down cursor key.
  6266. - Fixed a bug that when DropDownStyle is DropDownList, the
  6267. selected item was not shown.
  6268. - The position of the selected item was not preserved when
  6269. the next dropdown happened.
  6270. * ThemeWin32Classic.cs:
  6271. - Items were wrapped at the right end.
  6272. * CheckedListBox.cs:
  6273. - Fixed Add method
  6274. * ListBox.cs:
  6275. - Items should be fully shown.
  6276. - When resizing and vertical scrollbar disappeared, the item
  6277. of index 0 should be on the top of the list.
  6278. - GetItemRectangle should consider the size of ver. scrollbar
  6279. * StatusBar.cs:
  6280. - SizingGrip area should not be allocated when it is not
  6281. displayed.
  6282. - Now it reflects MinWidth of the containing panel and
  6283. fixed a crash that happens when its width becomes so small.
  6284. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  6285. * CheckedListBox.cs: Fixes bug 76028
  6286. * ListBox.cs: Fixes bug 76028
  6287. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  6288. * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
  6289. * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
  6290. 2005-09-12 Jordi Mas i Hernandez <[email protected]>
  6291. * XplatUIX11.cs: fixes System.NullReferenceException in some situations
  6292. 2005-09-09 Jonathan Chambers <[email protected]>
  6293. * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
  6294. 2005-09-09 Jonathan Chambers <[email protected]>
  6295. * IRootGridEntry.cs: Added
  6296. * PropertyGridCommands.cs: Added
  6297. * PropertiesTab.cs: Added missing methods and property
  6298. * PropertyGridView.cs: Made class internal
  6299. * PropertyGridTextBox.cs: Made class internal
  6300. 2005-09-09 Alexander Olk <[email protected]>
  6301. * MimeIcon.cs: Try to check some other environment variables
  6302. if "DESKTOP_SESSION" returns "default"
  6303. 2005-09-09 Alexander Olk <[email protected]>
  6304. * ThemeNice.cs: Corrected background colors (e.g. menus)
  6305. * ColorDialog.cs: Use correct background colors for controls
  6306. 2005-09-09 Alexander Olk <[email protected]>
  6307. * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
  6308. 2005-09-08 Peter Dennis Bartok <[email protected]>
  6309. * RichTextBox.cs: Added initial implementation
  6310. * lang.cs: Removed. Was accidentally checked in long time ago
  6311. * TODO: Removed. Contents were obsolete
  6312. 2005-09-06 Jonathan Chambers <[email protected]>
  6313. * PropertiesTab.cs : Added
  6314. 2005-09-06 Jonathan Chambers <[email protected]>
  6315. * PropertyGrid.cs : Update
  6316. * PropertyGridView.cs : Update
  6317. * System.Windows.Forms.resx : Added images and strings
  6318. 2005-09-06 Peter Dennis Bartok <[email protected]>
  6319. * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
  6320. 2005-09-06 Peter Dennis Bartok <[email protected]>
  6321. * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
  6322. a busy loop right after the Ungrab the X11 display is otherwise
  6323. blocked
  6324. 2005-09-06 Jordi Mas i Hernandez <[email protected]>
  6325. * ThemeWin32Classic.cs: Optimise the use of clipping
  6326. 2005-09-05 Jordi Mas i Hernandez <[email protected]>
  6327. * DataGrid.cs: fixes recursion bug
  6328. 2005-09-03 Alexander Olk <[email protected]>
  6329. * ThemeNice.cs:
  6330. - Draw RadioButton and CheckBox Buttons with DrawButtonBase
  6331. - Cleanup
  6332. 2005-09-02 Alexander Olk <[email protected]>
  6333. * ThemeNice.cs: Draw nice ProgressBars
  6334. 2005-09-01 Miguel de Icaza <[email protected]>
  6335. * VScrollBar.cs: Another buglet found by Aaron's tool.
  6336. * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
  6337. bug finder.
  6338. 2005-08-30 Alexander Olk <[email protected]>
  6339. * ThemeNice.cs:
  6340. - Added nicer menu drawing
  6341. - Updated DrawTab
  6342. - some refactoring
  6343. 2005-08-30 Peter Dennis Bartok <[email protected]>
  6344. * CreateParams.cs (ToString): Made output match MS
  6345. * Control.cs (Text): Don't set Text or Focus via XplatUI unless
  6346. handle is already created (to avoid forcing window creation)
  6347. * XplatUIX11.cs: Set window text to caption after creating window,
  6348. in case Text was set before window was created
  6349. * Form.cs: Use this.Text instead of a static string as caption
  6350. 2005-08-30 Peter Dennis Bartok <[email protected]>
  6351. * NotifyIcon.cs: Don't set the window to visible; this screws
  6352. up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
  6353. OnPaint without a bitmap)
  6354. * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
  6355. happen very often anyway; we could add the check to the WM_PAINT
  6356. event generation code
  6357. 2005-08-30 Peter Dennis Bartok <[email protected]>
  6358. * NotifyIcon.cs: Fill the icon area with a background color, to
  6359. avoid 'residue' when transparent icons are drawn
  6360. * XplatUIX11.cs:
  6361. - Handle whole_window == client_window when destroying windows
  6362. - SystrayAdd(): Set client_window to whole_window value to
  6363. get mouse and other events passed to NotifyIcon
  6364. 2005-08-30 Peter Dennis Bartok <[email protected]>
  6365. * Form.cs: Set proper default for Opacity property
  6366. * NotifyIcon.cs:
  6367. - ShowSystray(): Don't bother creating telling the OS
  6368. about the systray item if no icon is provided
  6369. - Now handles WM_NCPAINT message to deal with whole/client window
  6370. split
  6371. - Create window as visible to not get caught by Expose optimization
  6372. * Hwnd.cs: Removed debug message
  6373. * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
  6374. StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
  6375. PaintEventStart/End to use new client argument
  6376. * TextBoxBase.cs:
  6377. - Commented out debug messages
  6378. - Switched PaintEventStart/End to use new client argument
  6379. * XplatUI.cs: Added client window bool to PaintEventStart()/
  6380. PaintEventEnd() calls, to support drawing in non-client areas
  6381. * XplatUIDriver.cs:
  6382. - Added client window bool to PaintEventStart()/PaintEventEnd()
  6383. calls, to support drawing in non-client areas
  6384. - Added conditional compile to allow using MWF BeginInvoke
  6385. on MS runtime
  6386. * XplatUIX11.cs:
  6387. - Added some conditional debug output
  6388. - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
  6389. whole/client window split
  6390. - Implemented handling of client argument to PaintEventStart()/End()
  6391. * Control.cs:
  6392. - Throw exception if BeginInvoke() is called and the window handle
  6393. or one of the window's parent handles is not created
  6394. - Added conditional compile to allow using MWF BeginInvoke on
  6395. MS runtime
  6396. - get_Parent(): Only sets parent if handle is created. This avoids
  6397. forcing window handle creation when parent is set.
  6398. - Now fires Layout and Parent changed events in proper order
  6399. - Switched to use Handle instead of window.Handle for Z-Order setting,
  6400. the get_Parent() patch above causes us to possibly get null for 'window'
  6401. - Implemented handling of client argument to PaintEventStart()/End()
  6402. - Now reports back to windows that WM_SETCURSOR was handled (to avoid
  6403. default handling)
  6404. - Now sends a Refresh() to all child windows when Refresh() is called
  6405. 2005-08-29 Peter Dennis Bartok <[email protected]>
  6406. * Form.cs: Added (non-functional) Opacity property
  6407. * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
  6408. 2005-08-29 Alexander Olk <[email protected]>
  6409. * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
  6410. use export MONO_THEME=nice to activate it.
  6411. Currently supported controls:
  6412. - Button
  6413. - ComboBox
  6414. - ScrollBar
  6415. - TabControl (TabAlignment.Top only, other will follow)
  6416. * ThemeEngine.cs: Add theme nice
  6417. * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
  6418. if enabled
  6419. 2005-08-25 Jonathan Chambers <[email protected]>
  6420. * Splitter.cs: Resize docked control and its neighbor.
  6421. 2005-08-24 Rafael Teixeira <[email protected]>
  6422. -- Making Windows with Menus layout correctly --
  6423. * Form.cs : The first leg of the fix
  6424. Menu setter - adjust Client Size as needed to make space for the menu
  6425. SetClientSizeCore - doesn't call base version to be able to pass the
  6426. menu handle to XplatUI.CalculateWindowRect
  6427. * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
  6428. * XplatUIX11.cs: The critical second leg of the fix
  6429. GetWindowPos needs to use a recalculated client_rect
  6430. so that resizing the window doesn't break layout of child controls.
  6431. Also a more complete rule to avoid X Server roundtrips in SetWindowPos
  6432. Lots of \t\n killed
  6433. 2005-08-23 Peter Dennis Bartok <[email protected]>
  6434. * Label.cs: Now properly recalculates width and height on Font and Text
  6435. changes if AutoSize is set
  6436. 2005-08-19 Rafael Teixeira <[email protected]>
  6437. * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
  6438. 2005-08-19 Jordi Mas i Hernandez <[email protected]>
  6439. * ImageList.cs: Makes ToString method compatible with MS
  6440. 2005-08-18 Jordi Mas i Hernandez <[email protected]>
  6441. * MenuAPI.cs: fixes bug 75716
  6442. 2005-08-11 Umadevi S <[email protected]>
  6443. * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
  6444. 2005-08-11 Umadevi S <[email protected]>
  6445. * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
  6446. 2005-08-10 Umadevi S <[email protected]>
  6447. * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
  6448. 2005-08-07 Jordi Mas i Hernandez <[email protected]>
  6449. * Menu.cs: fixes bug 75700
  6450. * MenuAPI.cs: fixes navigation issues
  6451. 2005-08-09 Umadevi S <[email protected]>
  6452. * CheckedListBox.cs - simple fix for GetItemChecked.
  6453. 2005-08-08 Jordi Mas i Hernandez <[email protected]>
  6454. * ComboBox.cs: Serveral fixes
  6455. * ListBox.cs: Serveral fixes
  6456. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  6457. * ComboBox.cs: Fixes FindString methods and GetItemHeight
  6458. * ListBox.cs: Fixes FindString methods
  6459. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  6460. * DataGrid.cs: fixes bugs exposed by new tests
  6461. 2005-08-04 Peter Dennis Bartok <[email protected]>
  6462. * Mime.cs: Compile Mono assembly references only if compiling
  6463. with Mono (Allows to build with VS.Net again)
  6464. 2005-07-28 Marek Safar <[email protected]>
  6465. * Control.cs (PaintControlBackground): Draw background image
  6466. corrrectly.
  6467. (CheckForIllegalCrossThreadCalls): Stubbed.
  6468. * Form.cs (OnCreateControl): Center when should be centered.
  6469. * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
  6470. 2005-07-19 Jordi Mas i Hernandez <[email protected]>
  6471. * Binding.cs: Binding to properties should be case unsensitive
  6472. 2005-07-18 [email protected]
  6473. * DataGrid.cs: fixes setmember order
  6474. 2005-07-07 Alexander Olk <[email protected]>
  6475. * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
  6476. * FileDialog.cs: FileDialog is now resizable and uses the new
  6477. MimeIconEngine
  6478. 2005-07-06 Jordi Mas i Hernandez <[email protected]>
  6479. * DataGridTextBoxColumn.cs: default value
  6480. * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
  6481. * GridTableStylesCollection.cs: fixes checking MappingName
  6482. * DataGridDrawingLogic.cs: fixes drawing logic issues
  6483. * DataSourceHelper.cs: rewritten to make compatible with more data sources
  6484. * DataGrid.cs: fixes
  6485. 2005-07-06 Alexander Olk <[email protected]>
  6486. * MimeGenerated.cs: Use case sensitive comparer for
  6487. NameValueCollections
  6488. 2005-07-01 Jordi Mas i Hernandez <[email protected]>
  6489. * DataGridTextBoxColumn.cs: bug fixes, code refactoring
  6490. * ThemeWin32Classic.cs: bug fixes, code refactoring
  6491. * DataGridDrawingLogic.cs: bug fixes, code refactoring
  6492. * DataGrid.cs: bug fixes, code refactoring
  6493. * DataGridTextBox.cs: bug fixes, code refactoring
  6494. * DataGridColumnStyle.cs: bug fixes, code refactoring
  6495. * Theme.cs: bug fixes, code refactoring
  6496. 2005-07-01 Peter Bartok <[email protected]>
  6497. * TextControl.cs: Quick fix for the reported crash on ColorDialog
  6498. and other text box usage
  6499. 2005-07-01 Jackson Harper <[email protected]>
  6500. * TabControl.cs: Make sure the bottom of the tab covers the pages
  6501. border.
  6502. 2005-06-30 Peter Bartok <[email protected]>
  6503. * Form.cs (ShowDialog): Assign owner of the dialog
  6504. * TextBoxBase.cs: Always refresh caret size when deleting, caret
  6505. might have been moved to a tag with different height
  6506. 2005-06-30 Jackson Harper <[email protected]>
  6507. * Form.cs: Don't create an infinite loop when setting focus
  6508. * MenuItem.cs: Don't dirty the parents if we don't have any
  6509. 2005-06-29 Ben Maurer <[email protected]>
  6510. * LibSupport.cs: Rename
  6511. 2005-06-29 Peter Bartok <[email protected]>
  6512. * TextBoxBase.cs: Re-align caret after deleting a character
  6513. * TextControl.cs:
  6514. - DeleteChars(): Ensure that tag covers the provided position
  6515. - StreamLine(): Drop reference for dropped tag
  6516. 2005-06-29 Peter Bartok <[email protected]>
  6517. * TextControl.cs:
  6518. - Selections now work properly, anchoring at the initial location
  6519. and properly extending in either direction (SetSelectionToCaret(),
  6520. SetSelectionStart() and SetSelectionEnd())
  6521. - No longer redraws the whole control on selection change, now
  6522. calculates delta between previous and new selection and only
  6523. invalidates/redraws that area
  6524. - Fixed FindPos() math off-by-one errors
  6525. - Changed DeleteChars() to verify the provided tag covers the
  6526. provided position, selections may have a tag that doesn't cover
  6527. the position if the selection is at a tag border
  6528. - Fixed off-by-one errors in DeleteChars()
  6529. - Added missing streamlining check in DeleteChars() to remove
  6530. zero-length tags
  6531. - Implemented Invalidate() method, now properly calculates exposures
  6532. between two given lines/positions
  6533. - Implemented SetSelection()
  6534. - Obsoleted and removed FixupSelection()
  6535. - Improved RecalculateDocument() logic, removing code duplication
  6536. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  6537. * LibSupport.cs: changes to match different input/output arguments.
  6538. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  6539. * LibSupport.cs: added libsupport.so init routine.
  6540. 2005-06-29 Jordi Mas i Hernandez <[email protected]>
  6541. * ControlBindingsCollection.cs
  6542. - Throws an exception on null datasource when adding
  6543. - Checks for duplicated bindings when adding
  6544. 2005-06-28 Jackson Harper <[email protected]>
  6545. * TreeView.cs (OnKeyDown): Support left and right properly
  6546. (navigates as well as expanding and collapsing.
  6547. - Add support for Multiply, this expands all the selected nodes
  6548. children.
  6549. - Fix some tabbing.
  6550. 2005-06-28 Jackson Harper <[email protected]>
  6551. * TreeView.cs: Implement keyboard navigation, currently supports,
  6552. LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
  6553. support for toggling checkboxes with the space bar.
  6554. 2005-06-28 Jackson Harper <[email protected]>
  6555. * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
  6556. tree.
  6557. 2005-06-28 Jackson Harper <[email protected]>
  6558. * TreeView.cs: Add missing event.
  6559. 2005-06-27 Peter Bartok <[email protected]>
  6560. * TextControl.cs:
  6561. - Made line ending size configurable (now allows for counting
  6562. lineendings as \n or \r\n)
  6563. - Added margin to viewport to keep caret visible on right side
  6564. - Fixed translation routines for line/pos to documentpos to consider
  6565. cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
  6566. - Fixed some line-endings to be unix style
  6567. - Fixed Document.FormatText to perform it's calculations 1-based
  6568. - Added descriptions for a few methods that might otherwise get
  6569. used wrong
  6570. - Added NOTE section with some basic conventions to remember at
  6571. the top of the file
  6572. - Major fixup for RichTextBox selection drawing:
  6573. * Fixed crashes when multiple tags on a single line were selected
  6574. * fixed selection box drawing not overlaying text
  6575. * fixed bogus offset calculation for tags not starting at index 1
  6576. * Switched behaviour from using multiple Substrings of a
  6577. StringBuilder.ToString() to using multiple
  6578. StringBuilder.ToString(start, length) statements, hoping this is
  6579. faster (kept original version commented out in the code, in case
  6580. original version was faster)
  6581. * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
  6582. alignment != Left
  6583. * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
  6584. call it as well
  6585. 2005-06-27 Jackson Harper <[email protected]>
  6586. * TabControl.cs: Move to the left and right with the arrow
  6587. keys. These keys don't cycle beyond first and last like
  6588. tab. Refresh all the tabs when scrolling them to the left or
  6589. right.
  6590. 2005-06-27 Jackson Harper <[email protected]>
  6591. * TabControl.cs:
  6592. - ToString: Added method
  6593. - CreateParams: Remove TODO and comment
  6594. - OnKeyDown: Cycle through bounds properly.
  6595. - SelectedIndex: Scroll to the right or left if we need to
  6596. display the newly selected tab.
  6597. 2005-06-23 Jackson Harper <[email protected]>
  6598. * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
  6599. set.
  6600. 2005-06-23 Jackson Harper <[email protected]>
  6601. * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
  6602. CTRL-SHIFT-TAB, and HOME, END are there any others?
  6603. 2005-06-23 Jackson Harper <[email protected]>
  6604. * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
  6605. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  6606. * DataGridTextBoxColumn.cs: fixes and enhancements
  6607. * ThemeWin32Classic.cs: fixes and enhancements
  6608. * DataGridBoolColumn.cs: fixes and enhancements
  6609. * DataGridDrawingLogic.cs: fixes and enhancements
  6610. * CurrencyManager.cs: fixes and enhancements
  6611. * DataGrid.cs: fixes and enhancements
  6612. * DataGridColumnStyle.cs: fixes and enhancements
  6613. 2005-06-22 Jackson Harper <[email protected]>
  6614. * TabControl.cs: Add some missing methods that just call into the
  6615. base. Make the TabPageCollection's IList interface behave in the
  6616. same manner as the MS implementation.
  6617. 2005-06-22 Peter Bartok <[email protected]>
  6618. * TextControl.cs: Added sanity check
  6619. * TextBoxBase.cs:
  6620. - Fixed wrapping behaviour, don't set wrap on single line controls
  6621. (this fixes the breakage of colordialog introduced in an earlier
  6622. checkin)
  6623. - Added rudimentary support for autoscrolling right-aligned controls
  6624. (still needs fixing, also, center alignment scroll is missing)
  6625. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  6626. * ScrollBar.cs: Fixes thumbpos on Maximum values
  6627. 2005-06-21 Jonathan Chambers <[email protected]>
  6628. * PropertyGridView.cs: Pass context information to UITypeEditors
  6629. 2005-06-21 Peter Bartok <[email protected]>
  6630. * TextBoxBase.cs:
  6631. - Now calling PositionCaret with absolute space coordinates
  6632. - Enabled vertical scrolling
  6633. - Better tracking of scrollbar changes, tied into WidthChange
  6634. event
  6635. - Improved cursor tracking
  6636. - Removed debug output
  6637. * TextControl.cs:
  6638. - PositionCaret coordinates are now works in absolute space, not
  6639. the canvas
  6640. - Improved tracking of document size
  6641. - Added events for width and height changes
  6642. 2005-06-21 Peter Bartok <[email protected]>
  6643. * Form.cs: Set focus to active control when form is activated
  6644. * TextControl.cs:
  6645. - Added word-wrap functionality to RecalculateLine()
  6646. - Added some short function descriptions for VS.Net to aid in
  6647. writing dependent controls
  6648. - Added Caret property, returning the current coords of the caret
  6649. - Added ViewPortWidth and ViewPortHeight properties
  6650. - Added Wrap property
  6651. - Added CaretMoved event
  6652. - Removed some old debug code
  6653. - Split() can now create soft splits
  6654. - Added PreviousTag()/NextTag() to allow walking "tag-lists"
  6655. - Added method to format existing text
  6656. - Fixed size/alignment calculations to use viewport
  6657. - RecalculateDocument now can handle changing line-numbers while
  6658. calculating lines
  6659. * TextBox.cs:
  6660. - Added some wrap logic, we don't wrap if alignment is not left
  6661. - Added casts for scrollbar var, base class switched types to
  6662. also support RichTextBoxA
  6663. - Implemented handling of scrollbar visibility flags
  6664. * TextBoxBase.cs:
  6665. - Switched scrollbars type to RichTextBoxScrollBars to support
  6666. RichTextBox
  6667. - Added tracking of canvas width/height
  6668. - Switched scrollbars to be not selectable (to keep focus on text)
  6669. - Added central CalculateDocument() method to handle all redraw
  6670. requirements
  6671. - Added ReadOnly support
  6672. - Added WordWrap support
  6673. - Fixed handling of Enter key (we now treat it as a DialogKey)
  6674. - Fixed caret positioning when h or v scroll is not zero
  6675. - Fixed placing/generation of vertical scrollbar
  6676. - Added CalculateScrollBars() method to allow updating scrollbar
  6677. limits and visibility
  6678. - Fixed handling of horizontal scroll
  6679. - Added handling of vertical scroll
  6680. - Implemented auto-'jump' when caret moves to close to a left or
  6681. right border and there is text to be scrolled into view (currently
  6682. there's the potential for a stack overflow, until a bug in
  6683. scrollbar is fixed)
  6684. 2005-06-21 Geoff Norton <[email protected]>
  6685. * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
  6686. 2005-06-19 Alexander Olk <[email protected]>
  6687. * Mime.cs:
  6688. - added inodes.
  6689. - return application/x-zerosize for files with size zero
  6690. (if no extension pattern matches).
  6691. - check matches collection for strings too.
  6692. - return only the first mime type if the name value
  6693. collection has more than one mime type.
  6694. 2005-06-18 Jonathan Chambers <[email protected]>
  6695. * PropertyGrid.cs: Cleaned up some TODOs
  6696. * PropertyGridView.cs: Added support for UITypeEditors
  6697. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  6698. * DataGrid.cs: clears cached value
  6699. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  6700. * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
  6701. * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
  6702. * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
  6703. * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
  6704. 2005-06-16 Jordi Mas i Hernandez <[email protected]>
  6705. * ThemeWin32Classic.cs: fixes colour
  6706. 2005-06-15 Peter Bartok <[email protected]>
  6707. * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
  6708. * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
  6709. * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
  6710. * Control.cs: Added some MWFCategory and MWFDescription attributes
  6711. * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
  6712. 2005-06-15 Alexander Olk <[email protected]>
  6713. * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
  6714. usage
  6715. 2005-06-14 Jordi Mas i Hernandez <[email protected]>
  6716. * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
  6717. * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
  6718. * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
  6719. * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
  6720. * DataGrid.cs: default datagrid settings for Default Styles, fixes
  6721. * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
  6722. 2005-06-13 Jackson Harper <[email protected]>
  6723. * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
  6724. isn't printed when the user enables dropping. (X11 does accept
  6725. drops).
  6726. 2005-06-13 Jackson Harper <[email protected]>
  6727. * TreeView.cs: Remove some TODOS.
  6728. 2005-06-13 Jackson Harper <[email protected]>
  6729. * Form.cs: Hook into the mdi framework.
  6730. * MdiClient.cs: Use the base control collections add method so
  6731. parents get setup correctly. Set the default back colour and dock
  6732. style.
  6733. * MdiChildContext.cs: New class, this bad actor handles an
  6734. instance of an MDI window. Right now there is only basic
  6735. support. You can drag, close, and resize windows. Minimize and
  6736. Maximize are partially implemented.
  6737. 2005-06-13 Jackson Harper <[email protected]>
  6738. * XplatUIX11.cs: Mash numbers together properly, otherwise we get
  6739. freaky when both vals are negative. NOTE: There are probably other
  6740. places in XplatUIX11 that this needs to be done.
  6741. 2005-06-13 Jordi Mas i Hernandez <[email protected]>
  6742. * DataGrid.cs: implement missing methods, move KeyboardNavigation
  6743. * DataGridColumnStyle.cs: fixes signature
  6744. 2005-06-12 Jackson Harper <[email protected]>
  6745. * XplatUIX11.cs: Use sizing cursors similar to the ones on
  6746. windows.
  6747. 2005-06-11 Jackson Harper <[email protected]>
  6748. * StatusBarPanel.cs: Signature cleanups. Implement
  6749. BeginInit/EndInit.
  6750. 2005-06-10 Jordi Mas i Hernandez <[email protected]>
  6751. * DataGridTextBoxColumn.cs: Honors aligment
  6752. * GridColumnStylesCollection.cs: Contains is case unsensitive
  6753. * GridTableStylesCollection.cs: several fixes
  6754. * DataGridTableStyle.cs: default column creation
  6755. * DataGridDrawingLogic.cs: fixes
  6756. * CurrencyManager.cs: ListName property
  6757. * DataGrid.cs: multiple styles support
  6758. * DataGridColumnStyle.cs: fixes
  6759. 2005-06-10 Peter Bartok <[email protected]>
  6760. * Control.cs(Select): Moved SetFocus call to avoid potential
  6761. loops if controls change the active control when getting focus
  6762. * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
  6763. the up/down buttons
  6764. 2005-06-10 Matthias Felgner <[email protected]>
  6765. * ImageListConverter.cs: Implemented
  6766. 2005-06-10 John BouAntoun <[email protected]>
  6767. * MonthCalendar.cs: Wired in NumericUpDown control for year
  6768. 2005-06-10 John BouAntoun <[email protected]>
  6769. * MonthCalendar.cs: Removed MonoTodo attributes on Click and
  6770. DoubleClick events, since they are not meant to be fired.
  6771. 2005-06-09 Peter Bartok <[email protected]>
  6772. * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
  6773. Jonathan's standalone controls into MWF, implemented missing
  6774. events, attributes and methods; added xxxAccessible classes
  6775. * AccessibleObject.cs: Made fields internal so other classes
  6776. can change them if needed
  6777. 2005-06-09 Jonathan Gilbert <[email protected]>
  6778. * UpDownBase.cs: Complete implementation
  6779. * NumericUpDown.cs: Complete implementation
  6780. * DomainUpDown.cs: Complete implementation
  6781. 2005-06-09 Jordi Mas i Hernandez <[email protected]>
  6782. * DataGridTextBoxColumn.cs: drawing fixes
  6783. * DataGridCell.cs: fixes ToString method to match MSNet
  6784. * DataGridTableStyle.cs: fixes
  6785. * DataGridBoolColumn.cs: fixes, drawing
  6786. * DataGridDrawingLogic.cs: fixes, new methods
  6787. * DataGridTextBox.cs: Keyboard and fixes
  6788. * DataGrid.cs:
  6789. - Keyboard navigation
  6790. - Scrolling fixes
  6791. - Row selection (single, multiple, deletion, etc)
  6792. - Lots of fixes
  6793. 2005-06-07 Jackson Harper <[email protected]>
  6794. * ThemeWin32Classic.cs: Clear the background area when drawing
  6795. buttons.
  6796. 2005-06-06 Peter Bartok <[email protected]>
  6797. * ImageListStreamer.cs: Fixed signature for GetData
  6798. * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
  6799. * ComboBox.cs:
  6800. - Added missing ChildAccessibleObject class
  6801. - Added missing OnXXXFocus overrides, switched to using those
  6802. instead of the event handler
  6803. * Control.cs:
  6804. - Added Parent property for ControlAccessibleObject
  6805. - Fixed signatures
  6806. - Fixed attributes
  6807. - Added ResetBindings()
  6808. * ListBindingConverter.cs: Implemented some methods
  6809. * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
  6810. * ImageList.cs: Implemented basic handle scheme, removed TODOs
  6811. * ContainerControl.cs: Fixed signature, now subscribing to the
  6812. ControlRemoved event instead of overriding the handler, LAMESPEC
  6813. * CurrencyManager.cs: Added missing attribute
  6814. * MonthCalendar.cs: Added missing properties
  6815. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  6816. * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
  6817. 2005-06-06 Gaurav Vaish and Ankit Jain
  6818. * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
  6819. * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
  6820. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  6821. * Control.cs: fixes CreateParams Width / Height.
  6822. 2005-06-05 Peter Bartok <[email protected]>
  6823. * Win32DnD.cs: Removed compilation warnings
  6824. 2005-06-05 Peter Bartok <[email protected]>
  6825. * Control.cs (CreateParams): Since we don't know if one of the
  6826. properties we use is overridden, lets make sure if we fail accessing
  6827. we continue with a backup plan
  6828. 2005-06-05 Peter Bartok <[email protected]>
  6829. * Win32DnD.cs:
  6830. - Removed debug output
  6831. - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
  6832. struct
  6833. - Plugged resource leak
  6834. * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
  6835. MS size
  6836. 2005-06-05 Peter Bartok <[email protected]>
  6837. * XplatUIWin32.cs: Removed DnD code
  6838. * Win32DnD.cs: Implemented drop source and drop target functionality
  6839. 2005-06-05 Gonzalo Paniagua Javier <[email protected]>
  6840. * UpDownBase.cs: remove duplicate addition of event, enable some code
  6841. that was commented out.
  6842. * NumericUpDown.cs: added missing attributes and Hexadecimal property.
  6843. Validate input when a key is pressed. It works fine now for every
  6844. combination of Hexadecimal. Only missing some drawing love when sharing
  6845. space with other controls.
  6846. 2005-06-04 Peter Bartok <[email protected]>
  6847. * Control.cs:
  6848. - We need to pass a window for DragDrop, so enable callback events
  6849. - Added DnD callback events when being a DragSource
  6850. * XplatUI.cs (StartDrag): Added window handle argument
  6851. * XplatUIDriver.cs (StartDrag): Added window handle argument
  6852. * QueryContinueDragEventArgs: Made fields internally accessible so
  6853. drivers can set them
  6854. * GiveFeedbackEventArgs: Made fields internally accessible so drivers
  6855. can set them
  6856. 2005-06-03 Jordi Mas i Hernandez <[email protected]>
  6857. * DataGridTextBoxColumn.cs: column text editing
  6858. * DataGridTableStyle.cs: Respect columns styles created by the user
  6859. * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
  6860. * DataGridBoolColumn.cs: bool column editing
  6861. * DataGrid.cs: fixes to scrolling, properties, etc
  6862. * DataGridTextBox.cs: handle keyboard
  6863. * DataGridColumnStyle.cs: fixes
  6864. 2005-06-02 Jackson Harper <[email protected]>
  6865. * ImageListStreamer.cs: Somewhat broken implementation of
  6866. GetObjectData. The RLE needs some work to match MS properly.
  6867. 2005-06-02 Jackson Harper <[email protected]>
  6868. * X11Dnd.cs: Attempting to keep at least one file in MWF
  6869. monostyled.
  6870. 2005-06-02 Peter Bartok <[email protected]>
  6871. * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
  6872. that way
  6873. 2005-06-02 Peter Bartok <[email protected]>
  6874. * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
  6875. * XplatUI.cs: Added DoDragDrop() method
  6876. * XplatUIDriver.cs: Added DoDragDrop() method
  6877. 2005-06-02 Jackson Harper <[email protected]>
  6878. * Splitter.cs: Implement BorderStyle.
  6879. 2005-06-02 Jackson Harper <[email protected]>
  6880. * XplatUIX11.cs: Tie into the X11Dnd subsystem.
  6881. * X11Dnd.cs: New file. A subsystem that handles drag and drop on
  6882. X11 using XDND.
  6883. 2005-06-02 Peter Bartok <[email protected]>
  6884. * DataObject.cs:
  6885. - Added Data setter
  6886. - Fixed broken insertion code for SetData, now also
  6887. overwrites any existing entry of the same format name
  6888. * Hwnd.cs: Added list of pointers that automatically gets
  6889. freed when the window is disposed
  6890. * XplatUI.cs: Call driver initialization method when loading
  6891. a driver
  6892. * Control.cs:
  6893. - OnDragLeave takes EventArgs, not DragEventArgs
  6894. - Added setting of WS_EX_ACCEPTFILES style when dropping is
  6895. supported
  6896. - Forces style update when drop state changes
  6897. * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
  6898. not perfect since we cannot (yet) call the IDataObject.GetData()
  6899. method, we keep getting 0x80004005 error, dunno why)
  6900. 2005-06-02 Peter Bartok <[email protected]>
  6901. * DragEventArgs.cs: Make fields internal so we can cache the
  6902. object and re-set the fields from XplatUI
  6903. 2005-06-02 Jackson Harper <[email protected]>
  6904. * Control.cs: Add some internal methods so the DnD subsystem can
  6905. raise DnD events. Also call into the driver when AllowDrop is set.
  6906. * XplatUI.cs:
  6907. * XplatUIDriver.cs: New method for setting whether or not a window
  6908. is allowed to accept drag and drop messages.
  6909. 2005-06-01 Jordi Mas i Hernandez <[email protected]>
  6910. * ScrollBar.cs: Make sure that values sent in Scroll events
  6911. are always between Maximum and Minimum.
  6912. 2005-06-01 Marek Safar <[email protected]>
  6913. * Menu.cs: Call MenuChanged when menuitem visibility has been
  6914. changed.
  6915. * MenuItem.cs: Rebuild menu when item is (not) visible.
  6916. * MainMenu.cs: MainMenu has special MenuChanged.
  6917. * Theme.cs: Caption and FrameBorderSize are not fixed.
  6918. * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
  6919. * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
  6920. * XplatUIX11.cs,
  6921. * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
  6922. * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
  6923. 2005-05-30 Jackson Harper <[email protected]>
  6924. * DataFormat.cs: We can't statically initialize this stuff because
  6925. it calls into the xplatui and could create a loop. So we lazy init
  6926. it.
  6927. 2005-05-28 Jackson Harper <[email protected]>
  6928. * Control.cs: Proper implementation of Product(Name/Version).
  6929. 2005-05-27 Jackson Harper <[email protected]>
  6930. * DataObject.cs: Dont crash if no data is found.
  6931. 2005-05-26 Rafael Teixeira <[email protected]>
  6932. * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
  6933. as per status page, guessing it should be set to true
  6934. 2005-05-26 Jordi Mas i Hernandez <[email protected]>
  6935. * DataGridTextBoxColumn.cs: Draws text and basic text formatting
  6936. * DataGridTableStyle.cs: set proper formatting text, def header text
  6937. * ThemeWin32Classic.cs: new themable paramaters
  6938. * DataGridBoolColumn.cs: paint check box, get data, fixes
  6939. * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
  6940. * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
  6941. * DataGridColumnStyle.cs: fixes
  6942. * Theme.cs: new themable paramaters
  6943. 2005-05-26 Peter Bartok <[email protected]>
  6944. * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
  6945. 2005-05-24 Jonathan S. Chambers <[email protected]>
  6946. * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
  6947. 2005-05-24 Peter Bartok <[email protected]>
  6948. * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
  6949. Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
  6950. Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
  6951. FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
  6952. NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
  6953. ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
  6954. DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
  6955. AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
  6956. DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
  6957. StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
  6958. missing attributes, etc
  6959. * DataGridPreferredColumnWidthTypeConverter.cs: Added
  6960. 2005-05-24 Peter Bartok <[email protected]>
  6961. * Help.cs: Added, implemented trivial functions, throws up MessageBox
  6962. when user tries to get help
  6963. * DataObject.cs, DataFormats.cs, LinkArea.cs,
  6964. SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
  6965. to suppress warnings
  6966. * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
  6967. avoid unreachable code warning
  6968. 2005-05-20 Peter Bartok <[email protected]>
  6969. * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
  6970. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  6971. * DataGridTextBoxColumn.cs: Basic painting methods
  6972. * DataGridTableStyle.cs: Set table style in the column
  6973. * ThemeWin32Classic.cs: Use Theme for colors
  6974. * DataGridDrawingLogic.cs: Implement more drawing
  6975. * DataGrid.cs: drawing, theming, enhacements, fixes
  6976. * DataGridColumnStyle.cs: fixes, drawing
  6977. * Theme.cs: theming for Datagrid
  6978. 2005-05-20 Peter Bartok <[email protected]>
  6979. * Cursor.cs: Implemented GetObjectData() method
  6980. 2005-05-20 Peter Bartok <[email protected]>
  6981. * Cursors.cs: Added setting of cursor name
  6982. * Cursor.cs:
  6983. - Implemented constructors
  6984. - Implemented Draw and DrawStretched
  6985. - Implemented Current property
  6986. - Implemented == and != operators
  6987. - Implemented Dispose()
  6988. - Implemented ToString
  6989. - Added missing attributes
  6990. * XplatUIX11.cs:
  6991. - Added missing reset for OverrideCursor when DoEvents is called
  6992. - Fixed creation of cursor, logic was wrong
  6993. * XplatUIWin32.cs:
  6994. - Added missing reset for OverrideCursor when DoEvents is called
  6995. - Fixed creation of cursor, bit arrays were swapped
  6996. * Clipboard.cs: Removed obsolete MonoTODO attribute
  6997. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  6998. * ComboBox.cs: fixes OnSelectedItemChanged
  6999. * ControlBindingsCollection.cs: fixes item range check
  7000. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  7001. * UpDownBase.cs:
  7002. - Calc preferred height properly
  7003. - Implement missing properties
  7004. * NumericUpDown.cs: Implement missing events
  7005. 2005-05-19 Jackson Harper <[email protected]>
  7006. * TabControl.cs: New method that resizes the tab pages before
  7007. redrawing them. This as needed as the control is double buffered
  7008. and sizing will not be recalculated unless ResizeTabPages is
  7009. called.
  7010. * TabPage.cs: Set base.Text instead of Text in the constructor so
  7011. that UpdateOwner does not get called. Use the new Redraw method of
  7012. TabControl instead of Refresh so the sizing is recalculated.
  7013. * ThemeWin32Classic.cs: Draw the text for button tabs.
  7014. 2005-05-19 Jackson Harper <[email protected]>
  7015. * Control.cs: Paint control background images. Fix typo where
  7016. PaintControlBackground was not getting called correctly.
  7017. 2005-05-19 Peter Bartok <[email protected]>
  7018. * ScrollableControl.cs (DisplayRectangle): Undid my last change until
  7019. I can investigate, apparently I broke FileDialog
  7020. 2005-05-19 Marek Safar <[email protected]>
  7021. * AxHost.cs: Some simple properties.
  7022. * Control.cs: window must be accessible after ctor.
  7023. * Form.cs: Added TransparencyKey property.
  7024. * TextBoxBase.cs: Implemented Clear. Text property can be null.
  7025. * XplatUIWin32.cs: SetBorderStyle implemented.
  7026. 2005-05-18 Peter Bartok <[email protected]>
  7027. * DataObject.cs: Entries are not global but particular to the
  7028. DataObject, now it behaves that way
  7029. * XplatUIWin32.cs: Implemented Clipboard methods
  7030. * Clipboard.cs: Implemented
  7031. * ScrollableControl.cs (DisplayRectangle): Fixed calculation
  7032. * XplatUIOSX.cs: Updated to final clipboard prototypes
  7033. * XplatUIX11.cs: Implemented Clipboard methods
  7034. * XplatUIDriver.cs: Updated to final clipboard prototypes
  7035. * XplatUIStructs.cs:
  7036. - Added BITMAPINFOHEADER struct
  7037. - Added ClipboardFormats enum
  7038. * X11Structs.cs:
  7039. - Added ClipboardStruct
  7040. - Added Atom enum items for clipboard types
  7041. - Fixed atom types for Selection event structures
  7042. * DataFormats.cs:
  7043. - Added internal properties and methods for drivers to enumerate
  7044. all known formats
  7045. - Switched initialization method to allow drivers to assign their
  7046. own IDs even for the MS predefined clipboard IDs
  7047. * XplatUI.cs: Updated to final clipboard interface
  7048. 2005-05-18 Jonathan S. Chambers <[email protected]>
  7049. * PropertyGridView.cs: Fixed compiler warnings.
  7050. 2005-05-18 Jonathan S. Chambers <[email protected]>
  7051. * PropertyGrid.cs: Added some event calls
  7052. * PropertyGridView.cs: Change drawing code to use double buffering
  7053. * PropertyGridTextBox.cs: Changed Text property name
  7054. * GridItem.cs: Added Bounds property.
  7055. * GridEntry.cs: Added Bounds property.
  7056. 2005-05-17 Lluis Sanchez Gual <[email protected]>
  7057. * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
  7058. since GetType() may not return the correct type if the object is
  7059. a remoting proxy.
  7060. 2005-05-17 Jordi Mas i Hernandez <[email protected]>
  7061. * TreeNodeCollection.cs: fixes get/set item ranges
  7062. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  7063. * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
  7064. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  7065. * ComboBox.cs: Fix item range comparation
  7066. * ListView.cs: Fix item range comparation
  7067. 2005-05-03 Alexander Olk <[email protected]>
  7068. * FontDialog.cs:
  7069. - Clear example panel when OnPaint is called
  7070. - Better solution for displaying the example panel text
  7071. - Select default indexes in the ListBoxes
  7072. 2005-05-11 Geoff Norton <[email protected]>
  7073. * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
  7074. 2005-05-11 Peter Bartok <[email protected]>
  7075. * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
  7076. * SelectionRangeConverter.cs: Implemented
  7077. * PropertyGrid.cs: Fixed attribute value
  7078. * Control.cs:
  7079. - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
  7080. - Added Sebastien Pouliot's CAS Stack Propagation fixes
  7081. * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
  7082. that's common to all drivers. First methods to go there are
  7083. Sebastien Pouliot's CAS Stack Propagation helper methods
  7084. * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
  7085. Sebastien Pouliot for CAS Stack Propagation
  7086. 2005-05-11 Geoff Norton <[email protected]>
  7087. * OSXStructs.cs:
  7088. XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov ([email protected])
  7089. 2005-05-12 Jordi Mas i Hernandez <[email protected]>
  7090. * DataGridTextBoxColumn.cs: fixed some members
  7091. * GridColumnStylesCollection.cs: indexed column is case insensitive
  7092. * DataGridTableStyle.cs: fixes
  7093. * ThemeWin32Classic.cs: add new theme parameter
  7094. * Theme.cs: add new theme parameter
  7095. * DataGridDrawingLogic.cs: Datagrid's drawing logic
  7096. * DataGrid.cs: fixes, new internal properties, etc.
  7097. * DataGridColumnStyle.cs: allows to set grid value
  7098. *
  7099. 2005-05-10 Peter Bartok <[email protected]>
  7100. * AccessibleObject.cs:
  7101. - Removed MonoTODO attribute on help, method is correct
  7102. - Fixed Bounds property
  7103. * AxHost.cs: Moved MonoTODO
  7104. * ButtonBase.cs: Now setting AccessibleObject properties
  7105. * RadioButton.cs: Setting proper AccessibleObject role
  7106. * CheckBox.cs: Setting proper AccessibleObject role
  7107. * ControlBindingsCollection.cs: Added properties, methods and attributes
  7108. * DataFormats.cs: Fixed awkward internal API, and changed to enable
  7109. userdefined DataFormats.Format items as well
  7110. * ListControl.cs: Removed data_member from the public eye
  7111. * OpenFileDialog.cs:
  7112. - Made class sealed
  7113. - Added missing attributes
  7114. * SaveFileDialog.cs: Added missing attributes
  7115. * ImageListStreamer.cs: Fixed code that caused warnings
  7116. * LinkLabel.cs: Removed unreachable code
  7117. * TreeView.cs: Fixed code that caused warnings
  7118. * PropertyGridView.cs: Fixed code that caused warnings
  7119. * GridColumnStylesCollection.cs: Added missing attributes
  7120. * GridTableStylesCollection: Added missing attribute
  7121. * PropertyManager: Added .ctor
  7122. * SecurityIDType: Added
  7123. * DataObject.cs: Implemented class
  7124. * LinkArea.cs: Added missing attribute
  7125. 2005-05-11 Jordi Mas i Hernandez <[email protected]>
  7126. * RadioButton.cs: call base method to allow to fire OnClick event
  7127. * UpDownBase.cs: OnMouseUp call base method
  7128. * CheckedListBox.cs: call base method before returning
  7129. * TrackBar.cs: call base method before returning
  7130. 2005-05-10 Peter Bartok <[email protected]>
  7131. * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
  7132. for messages
  7133. 2005-05-10 Peter Bartok <[email protected]>
  7134. * DataFormats.cs: Implemented
  7135. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
  7136. XplatUIX11.cs: Added Clipboard APIs
  7137. * XplatUIWin32.cs: Implemented Clipboard APIs
  7138. * FolderBrowserDialog.cs: Added missing event, attributes
  7139. 2005-05-10 Jordi Mas i Hernandez <[email protected]>
  7140. * CheckBox.cs: call base method to allow to fire OnClick event
  7141. 2005-05-09 Sebastien Pouliot <[email protected]>
  7142. * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
  7143. 2005-05-06 Peter Bartok <[email protected]>
  7144. * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
  7145. * Screen.cs: Implemented
  7146. * HelpNavigator.cs: Added
  7147. * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
  7148. property
  7149. * HelpProvider.cs: Implemented all we can do until we have a CHM
  7150. help library (which means that "What's This" does work now)
  7151. 2005-05-06 Jackson Harper <[email protected]>
  7152. * XplatUIX11.cs: Fix waking up the main loop.
  7153. 2005-05-05 Peter Bartok <[email protected]>
  7154. * XplatUI.cs: Updated revision
  7155. * Form.cs: Removed enless loop
  7156. * GroupBox.cs (OnPaint): Added call to base.OnPaint()
  7157. * Label.cs (OnPaint): Added call to base.OnPaint()
  7158. * ToolTip.cs: Made ToolTipWindow reusable for other controls
  7159. * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
  7160. * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
  7161. * AxHost.cs: Added
  7162. * ButtonBase.cs: Moved base.OnPaint() call to end of method
  7163. * ThemeWin32Classic.cs: Replaced references to ToolTip with references
  7164. to ToolTip.ToolTipWindow for drawing and size methods; this allows
  7165. reuse of ToolTipWindow by other controls
  7166. * SizeGrip.cs: Moved base.OnPaint() call to end of method
  7167. * XplatUIX11.cs: Now clipping drawing area (experimental)
  7168. * PictureBox.cs: Moved base.OnPaint() call to end of method
  7169. * Theme.cs: Fixed ToolTip abstracts to match new format
  7170. * ErrorProvider.cs: Implemented
  7171. 2005-05-05 Jordi Mas i Hernandez <[email protected]>
  7172. * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
  7173. * LinkLabel.cs:
  7174. - Adds cursors
  7175. - Handles focus
  7176. - Implements LinkBehavior
  7177. - Fixes many issues
  7178. 2005-05-03 Jackson Harper <[email protected]>
  7179. * ListView.cs: Calculate the scrollbar positioning on resize and
  7180. paint, so they get put in the correct place.
  7181. 2005-05-03 Alexander Olk <[email protected]>
  7182. * ColorDialogs.cs: The small color panels are now handled by
  7183. SmallColorControl. This fixes drawing of the focus rectangle
  7184. and adds a 3D border.
  7185. 2005-05-03 Peter Bartok <[email protected]>
  7186. * Control.cs: Modified version of Jonathan Chamber's fix for
  7187. double-buffering
  7188. 2005-05-03 Jackson Harper <[email protected]>
  7189. * ListView.cs: Remove redraw variable. Control now handles whether
  7190. or not a redraw needs to be done, and will only raise the paint
  7191. event if redrawing is needed.
  7192. 2005-05-03 Jackson Harper <[email protected]>
  7193. * Splitter.cs: No decorations for the splitter form. Cache the
  7194. hatch brush.
  7195. 2005-05-03 Jackson Harper <[email protected]>
  7196. * TreeView.cs: Use dashed lines to connect nodes. Use the
  7197. ControlPaint method for drawing the focus rect instead of doing
  7198. that in treeview.
  7199. 2005-05-02 Peter Bartok <[email protected]>
  7200. * LinkLabel.cs: Fixed the fixes from r43566 and 43521
  7201. 2005-04-29 Jackson Harper <[email protected]>
  7202. * ThemeWin32Classic.cs: Don't clear the GC that will clear the
  7203. entire image buffer. Just clear the clipping rectangle.
  7204. 2005-04-29 Jackson Harper <[email protected]>
  7205. * ThemeWin32Classic.cs: Don't draw list view items that are
  7206. outside the clipping rectangle.
  7207. 2005-04-29 Jordi Mas i Hernandez <[email protected]>
  7208. * ListBox.cs: added horizontal item scroll
  7209. 2005-04-29 Jackson Harper <[email protected]>
  7210. * ThemeWin32Classic.cs: Remove some old debug code that was
  7211. causing flicker with the new double buffering code.
  7212. 2005-04-29 John BouAntoun <[email protected]>
  7213. * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
  7214. behave like combobox and comboboxlist (still not sure if this is
  7215. correct though).
  7216. 2005-04-28 Jackson Harper <[email protected]>
  7217. * ThemeWin32Classic.cs: Don't fill the middle of progress
  7218. bars. This fills areas outside of the clip bounds that don't need
  7219. to be filled.
  7220. 2005-04-28 Jackson Harper <[email protected]>
  7221. * Control.cs: Don't expose functionality to touch the image buffers.
  7222. * ProgressBar.cs:
  7223. * ListView.cs: We do not need to (and no longer can) manipulate
  7224. the image buffers directly. All of this is handled by Control.
  7225. 2005-04-28 Peter Bartok <[email protected]>
  7226. * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  7227. RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
  7228. RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
  7229. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  7230. * Combobox:
  7231. - Adjust control's height for non-simple comboboxes (bug fix)
  7232. - Remove dead code
  7233. * MenuAPI.cs: remove unused var
  7234. * ScrollBar.cs: remove unsed var
  7235. * ListBox.cs: unselect items when clearing
  7236. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  7237. * ListControl.cs: honors OnPositionChanged and default Selected Item
  7238. * ListBox.cs: unselect items when clearing
  7239. 2005-04-27 Jackson Harper <[email protected]>
  7240. * X11Keyboard.cs: Initialize a default keyboard and give a warning
  7241. if a "correct" keyboard is not found. This will make us not crash,
  7242. but might give some users bad keyboard layouts...seems to be the
  7243. same thing rewind does.
  7244. 2005-04-27 Jackson Harper <[email protected]>
  7245. * BindingManagerBase.cs: Attach the current/position changed
  7246. handlers to their respective events.
  7247. 2005-04-27 Jackson Harper <[email protected]>
  7248. * Control.cs: Make sure that the first WM_PAINT does a full draw,
  7249. not just a blit.
  7250. * ThemeWin32Classic.cs: Don't fill the background for picture
  7251. boxes. This could overright user drawing.
  7252. * ComboBox.cs: Just fill the clipping rect not the entire client
  7253. rect when drawing the background. This prevents pieces of the
  7254. image buffer from getting overwritten and is theoretically faster.
  7255. 2005-04-26 Jordi Mas i Hernandez <[email protected]>
  7256. * ComboBox.cs: Databinding support fixes, fire missing events
  7257. * ListControl.cs: implement missing methods and properties, fixes
  7258. * ThemeWin32Classic.cs: Databiding support on Drawing
  7259. * CheckedListBox.cs: Databinding support fixes, fire missing events
  7260. * ListBox.cs: Databinding support fixes, fire missing events
  7261. 2005-04-25 Peter Bartok <[email protected]>
  7262. * LinkLabel.cs: Length of LinkArea is not allowed to be negative
  7263. 2005-04-25 Jackson Harper <[email protected]>
  7264. * TreeView.cs: Use the horizontal scrollbars height not width when
  7265. determining how much of the client area is available.
  7266. 2005-04-25 Jackson Harper <[email protected]>
  7267. * Control.cs: Double buffering is handled differently now. As per
  7268. the spec, the extra buffer is created in the WM_PAINT message and
  7269. passed down to the control's drawing code.
  7270. * GroupBox.cs:
  7271. * Label.cs:
  7272. * CheckBox.cs:
  7273. * ProgressBar.cs:
  7274. * RadioButton.cs:
  7275. * ColorDialog.cs:
  7276. * ComboBox.cs:
  7277. * PropertyGridView.cs:
  7278. * UpDownBase.cs:
  7279. * MessageBox.cs:
  7280. * MenuAPI.cs:
  7281. * ListView.cs:
  7282. * ButtonBase.cs:
  7283. * SizeGrip.cs:
  7284. * ScrollBar.cs:
  7285. * ListBox.cs:
  7286. * TrackBar.cs:
  7287. * ToolBar.cs:
  7288. * PictureBox.cs:
  7289. * DateTimePicker.cs:
  7290. * StatusBar.cs:
  7291. * TreeView.cs: Update to new double buffering system.
  7292. * MonthCalendar.cs: Uncomment block, as Capture is now
  7293. working. Update to new double buffering
  7294. * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
  7295. * PaintEventArgs.cs: New internal method allows us to set the
  7296. graphics object. This is used for double buffering.
  7297. * ThemeWin32Classic.cs: Give the picture box drawing code a clip
  7298. rectangle. The internal paint_area var has been removed from
  7299. StatusBar. The clipping rect should be used instead.
  7300. * Theme.cs: Give the PictureBox drawing method a clipping rect.
  7301. * TabPage.cs: The RefreshTabs method was removed, so just call the
  7302. tab controls Refresh method now.
  7303. * TabControl.cs: Update to new double buffering. Make sure the
  7304. handle is created before sizing the tab pages, otherwise we will
  7305. get stuck in a loop.
  7306. 2005-04-24 Borja Sanchez Zamorano <[email protected]>
  7307. * LinkLabel.cs: Fix typo, bug #74719; patch
  7308. from Borja Sanchez Zamorano
  7309. 2005-04-22 Jackson Harper <[email protected]>
  7310. * TreeNode.cs: Implement Handle stuff.
  7311. * TreeView.cs: Utility methods so nodes can get/lookup by handle.
  7312. 2005-04-22 Jordi Mas i Hernandez <[email protected]>
  7313. * DataGridTextBoxColumn.cs: call base constructors, fixes
  7314. * GridColumnStylesCollection.cs: missing events, methods, and functionality
  7315. * GridTableStylesCollection.cs: fixes, check duplicate mapping names
  7316. * DataGridTableStyle.cs: implements create default column styles
  7317. * DataGridBoolColumn.cs: which types can handle
  7318. * DataGrid.cs: missing methods, fixes, new functionality
  7319. * DataGridColumnStyle.cs: fixes
  7320. 2005-04-20 Alexander Olk <[email protected]>
  7321. * FolderBrowserDialog.cs:
  7322. - Use a thread to fill the TreeView
  7323. - Adjusted some sizes
  7324. 2005-04-19 Peter Bartok <[email protected]>
  7325. * LinkLabel.cs: (Re-)create the pieces when setting the Text
  7326. property. Fixes #74360.
  7327. 2005-04-19 Jackson Harper <[email protected]>
  7328. * XEventQueue.cs: Lock when getting the lockqueue size.
  7329. * PictureBox.cs: Call base OnPaint
  7330. 2005-04-19 Peter Bartok <[email protected]>
  7331. * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
  7332. messages were no longer being processed (this broke BeginInvoke)
  7333. 2005-04-18 Jackson Harper <[email protected]>
  7334. * TreeView.cs: buglet that caused node images to get drawn
  7335. regardless of whether or not they were in the clipping rectangle.
  7336. 2005-04-18 Jackson Harper <[email protected]>
  7337. * CurrencyManager.cs: There are four rules for GetItemProperties:
  7338. - If the type is an array use the element type of the array
  7339. - If the type is a typed list, use the type
  7340. - If the list contains an Item property that is not an object, use
  7341. that property
  7342. - use the first element of the list if there are any elements in
  7343. the list.
  7344. 2005-04-17 Jackson Harper <[email protected]>
  7345. * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
  7346. click. This handles offsets for scrolling properly and reduces
  7347. memory. Also fixed GetNode to not offset now that TopNode works
  7348. properly.
  7349. * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
  7350. 2005-04-17 Jackson Harper <[email protected]>
  7351. * CursorConverter.cs: Initial implementation.
  7352. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  7353. * ListControl.cs: work towards complex data binding support on ListControl
  7354. * CurrencyManager.cs: work towards complex data binding support on ListControl
  7355. * ListBox.cs: work towards complex data binding support on ListControl
  7356. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  7357. * GridTableStylesCollection.cs: fixes name and constructor
  7358. * DataGridTableStyle.cs: fixes
  7359. * DataGridBoolColumn.cs: fixes names and constructors
  7360. * DataGrid.cs: define methods and properties. Some init implementations
  7361. * DataGridCell.cs: define methods and properties. Some init implementations
  7362. * GridTablesFactory.cs: Define methods and properties
  7363. 2005-04-15 Geoff Norton <[email protected]>
  7364. * XplatUIOSX.cs: Handle proper mouse tracking even if the current
  7365. graphics port changes. We still want the coordinates in global screen
  7366. coordinates.
  7367. 2005-04-14 Jackson Harper <[email protected]>
  7368. * TreeView.cs: Handle clicks when plus minus is disabled. Don't
  7369. check plus minus or checkbox clicks unless those features are enabled.
  7370. 2005-04-14 Jackson Harper <[email protected]>
  7371. * TreeView.cs: Add methods for setting the top and bottom visible
  7372. nodes. TreeNode::EnsureVisible uses these methods.
  7373. * TreeNode.cs: Implement EnsureVisible
  7374. 2005-04-13 Jordi Mas i Hernandez <[email protected]>
  7375. * Form.cs: Pospone menu assignation if the window has not been created yet
  7376. * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
  7377. size and position
  7378. 2005-04-12 Jackson Harper <[email protected]>
  7379. * TreeView.cs: Set the TopNode properly when scrolling
  7380. occurs. This has the added benifit of reducing the amount of
  7381. walking that needs to be done when drawing. Also removed an old
  7382. misleading TODO.
  7383. * OpenTreeNodeEnumerator.cs: Fix moving backwards.
  7384. 2005-04-11 Jordi Mas i Hernandez <[email protected]>
  7385. * Timer.cs: fixes interval setting when the timer is already enabled
  7386. 2005-04-10 Alexander Olk <[email protected]>
  7387. * FolderBrowserDialog.cs: First approach
  7388. 2005-04-09 Peter Bartok <[email protected]>
  7389. * FolderBrowserDialog: Added
  7390. 2005-04-07 Jordi Mas i Hernandez <[email protected]>
  7391. * LinkLabel.cs: move drawing code into the theme
  7392. * ThemeWin32Classic.cs: drawing code and painting background bugfix
  7393. * Theme.cs: define DrawLinkLabel method
  7394. 2005-04-05 Jackson Harper <[email protected]>
  7395. * BindingContext.cs: Use weak references so these bad actors don't
  7396. stay alive longer then they need to.
  7397. 2005-04-05 Jackson Harper <[email protected]>
  7398. * ListControl.cs: Basic implementation of complex databinding.
  7399. * ComboBox.cs:
  7400. * ListBox.cs: Add calls to ListControl databinding methods.
  7401. 2005-04-05 Alexander Olk <[email protected]>
  7402. * FileDialog.cs:
  7403. - Don't change PopupButtonState to Normal when the
  7404. PopupButton gets pressed several times.
  7405. - Renamed ButtonPanel to PopupButtonPanel
  7406. 2005-04-05 Jordi Mas i Hernandez <[email protected]>
  7407. * ColorDialog.cs: Use cached objects instead of creating them
  7408. * LinkLabel.cs: Use cached objects instead of creating them
  7409. * Splitter.cs: Use cached objects instead of creating them
  7410. * FontDialog.cs: Use cached objects instead of creating them
  7411. * PropertyGridView.cs: Use cached objects instead of creating them
  7412. * MessageBox.cs: Use cached objects instead of creating them
  7413. * FileDialog.cs: Use cached objects instead of creating them
  7414. * ThemeWin32Classic.cs: Use cached objects instead of creating them
  7415. * TreeView.cs: Use cached objects instead of creating them
  7416. 2005-04-04 Jordi Mas i Hernandez <[email protected]>
  7417. * Control.cs: use Equals to compare the font since no == op
  7418. * ScrollBar.cs: use Equals to compare the font since no == op
  7419. 2005-04-04 Alexander Olk <[email protected]>
  7420. * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
  7421. 2005-04-01 Jackson Harper <[email protected]>
  7422. * Binding.cs: Implement IsBinding.
  7423. * BindingManagerBase.cs:
  7424. * PropertyManager.cs:
  7425. * CurrencyManager.cs: Add IsSuspended property.
  7426. 2005-04-01 Jackson Harper <[email protected]>
  7427. * Binding.cs: Had some IsAssignableFrom calls backwards.
  7428. 2005-04-01 Jackson Harper <[email protected]>
  7429. * Binding.cs: Handle null data members when pulling data.
  7430. * PropertyManager.cs: Handle the data member being a property that
  7431. does not exist.
  7432. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  7433. * DataGridTextBoxColumn.cs: fixes signature
  7434. * DataGrid.cs: calls right constructor
  7435. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  7436. * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
  7437. * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
  7438. * GridTableStylesCollection.cs: implements GridTableStylesCollection
  7439. * DataGridTableStyle.cs: implements DataGridTableStyle
  7440. * DataGridBoolColumn.cs: implements DataGridBoolColumn
  7441. * DataGridTextBox.cs: implements DataGridTextBox
  7442. * DataGridColumnStyle.cs: implements DataGridColumnStyle
  7443. 2005-03-31 Alexander Olk <[email protected]>
  7444. * FileDialog.cs: Added simple PopupButton class for ButtonPanel
  7445. 2005-03-29 Peter Bartok <[email protected]>
  7446. * Application.cs:
  7447. - Properly implemented CompanyName property
  7448. - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
  7449. returns a path that includes CompanyName, ProductName and
  7450. Version (fixes bug #70330)
  7451. 2005-03-29 Stefan Buehler <[email protected]>
  7452. * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
  7453. fixes bug #72588.
  7454. 2005-03-28 Alexander Olk <[email protected]>
  7455. * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
  7456. - Added ReadOnly CheckBox
  7457. - Further refactoring: moved some code from Open-/SaveFileDialog
  7458. to FileDialog
  7459. 2005-03-28 Alexander Olk <[email protected]>
  7460. * OpenFileDialog.cs: Fixed CheckFileExists
  7461. * FileDialog.cs:
  7462. Moved FileView and DirComboBox outside FileDialog class.
  7463. They can now be used outside FileDialog
  7464. 2005-03-27 Alexander Olk <[email protected]>
  7465. * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
  7466. * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
  7467. 2005-03-27 Alexander Olk <[email protected]>
  7468. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  7469. - Added missing CreatePrompt property in SaveDialog
  7470. - Overall SaveDialog handling should be better now
  7471. - Added non standard ShowHiddenFiles property
  7472. - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
  7473. - Added InitialDirectory and RestoreDirectory support
  7474. 2005-03-26 Alexander Olk <[email protected]>
  7475. * FileDialog.cs: Made dirComboBox usable
  7476. 2005-03-24 Alexander Olk <[email protected]>
  7477. * FileDialog.cs: Added Filter support (case sensitiv)
  7478. 2005-03-24 Jackson Harper <[email protected]>
  7479. * TabControl.cs: Need a couple more pixels for the lines.
  7480. 2005-03-23 Jackson Harper <[email protected]>
  7481. * TabControl.cs: Give the tab page focus when it is selected.
  7482. 2005-03-23 Jackson Harper <[email protected]>
  7483. * TabControl.cs: Account for the drawing of tabs borders when
  7484. invalidating. If the slider was clicked dont do click detection on
  7485. the tabs.
  7486. 2005-03-23 Jackson Harper <[email protected]>
  7487. * TabControl.cs: Fix typo, emilinates an unneeded expose event.
  7488. 2005-03-22 Jonathan Chambers <[email protected]>
  7489. * CategoryGridEntry.cs: Added
  7490. * GridItem.cs: Added helper properties
  7491. * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
  7492. * GridEntry.cs: Updated code for collection
  7493. * PropertyGrid.cs: Cleaned up some formatting
  7494. * PropertyGridView.cs: Added drop down functionality for enums.
  7495. * GridItemCollection.cs: Added enumerator logic
  7496. * PropertyGridEntry.cs: Added
  7497. 2005-03-19 Alexander Olk <[email protected]>
  7498. * FileDialog.cs:
  7499. - Removed unnecessary commented code
  7500. - Fixed handling for entering the filename manually in the combobox
  7501. 2005-03-19 Alexander Olk <[email protected]>
  7502. * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
  7503. 2005-03-18 Peter Bartok <[email protected]>
  7504. * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
  7505. them being touching the border
  7506. 2005-03-18 Peter Bartok <[email protected]>
  7507. * TextControl.cs: Quick hack to center text better
  7508. 2005-03-18 Peter Bartok <[email protected]>
  7509. * ControlPaint.cs:
  7510. - Don't throw NotImplemented exceptions, just print a notice once
  7511. instead (requested by Miguel). This makes running existing SWF
  7512. apps a bit easier
  7513. * Control.cs:
  7514. - Commented out Drag'N'Drop XplatUI call (no driver support yet)
  7515. - Added context menu trigger on right click
  7516. * Panel.cs: Trigger invalidate on resize
  7517. * StatusBar.cs:
  7518. - Removed old double-buffer drawing
  7519. - Added ResizeRedraw style to force proper update of statusbar
  7520. * ListView.cs:
  7521. - Removed debug output
  7522. * ThemeWin32Classic.cs:
  7523. - Fixed drawing of status bar, now draws Text property if there
  7524. are no defined panels
  7525. 2005-03-18 Jackson Harper <[email protected]>
  7526. * ImageList.cs: When the image stream is set pull all the images
  7527. from it.
  7528. * ImageListStreamer.cs: Implement reading image list streams.
  7529. 2005-03-18 Peter Bartok <[email protected]>
  7530. * ThemeWin32Classic.cs (DrawPictureBox):
  7531. - Fixed calculations for centered drawing
  7532. - Fixed drawing for normal mode, not scaling the image on normal
  7533. 2005-03-18 Peter Bartok <[email protected]>
  7534. * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
  7535. textbox
  7536. * FileDialog.cs:
  7537. - Made Open/Save button the accept button for FileDialog
  7538. - Tied the cancel button to the IButtonControl cancel button
  7539. - Save/Open now properly builds the pathname
  7540. - Now handles user-entered text
  7541. - Preventing crash on right-click if no item is selected
  7542. - Fixed Text property, now uses contents of textbox
  7543. - Fixed SelectedText property, now just returns the text part that
  7544. is selected in the text box
  7545. 2005-03-18 Jackson Harper <[email protected]>
  7546. * ThemeWin32Classic.cs: Use the proper func for drawing the focus
  7547. rect, make sure to de-adjust the interior rect after drawing the
  7548. tab text.
  7549. 2005-03-18 Peter Bartok <[email protected]>
  7550. * MenuAPI.cs: Remove menu *before* executing selected action to
  7551. prevent the menu from 'hanging around'
  7552. 2005-03-17 Geoff Norton <[email protected]>
  7553. * XplatUIOSX.cs: Implemented WorkingArea property
  7554. 2005-03-17 Peter Bartok <[email protected]>
  7555. * XplatUIX11.cs: Fixed menu coord calculations
  7556. * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
  7557. for calculating offsets
  7558. 2005-03-17 Peter Bartok <[email protected]>
  7559. * Hwnd.cs: Do not consider menu presence for default client
  7560. rectangle location/size
  7561. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  7562. XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
  7563. translation functions
  7564. * FileDialog.cs: Fixed (what I presume is a) typo
  7565. 2005-03-17 Jonathan Gilbert <[email protected]>
  7566. * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
  7567. X access (avoids X-Async errors)
  7568. 2005-03-16 Jackson Harper <[email protected]>
  7569. * TabControl.cs: Raise the SelectedIndexChanged event.
  7570. 2005-03-16 Alexander Olk <[email protected]>
  7571. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  7572. - Removed vertical ToolBar and replaced it with a custom panel
  7573. (desktop and home button already work)
  7574. - Added Help button (some controls get resized or relocated then)
  7575. - Draw correct text depending on Open or Save.
  7576. - Fixed some typos...
  7577. 2005-03-16 Jordi Mas i Hernandez <[email protected]>
  7578. * ScrollBar.cs:
  7579. - Only change Maximum and Minimum when need it (bug fix)
  7580. 2005-03-15 Peter Bartok <[email protected]>
  7581. * Form.cs: Use Handle for icon, to trigger creation if
  7582. the window does not yet exist
  7583. * Control.cs:
  7584. - CanSelect: Slight performance improvement
  7585. - Focus(): Preventing possible recursion
  7586. - Invalidate(): Removed ControlStyle based clear flag setting
  7587. - WM_PAINT: fixed logic for calling OnPaintBackground
  7588. - WM_ERASEBKGND: Fixed logic, added call to new driver method
  7589. EraseWindowBackground if the control doesn't paint background
  7590. * XplatUIWin32.cs:
  7591. - Moved EraseWindowBackground() method to internal methods
  7592. - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
  7593. is sent via SendMessage on BeginPaint call on Win32
  7594. * XplatUIX11.cs:
  7595. - Added EraseWindowBackground() method
  7596. - No longer sends WM_ERASEBKGND on .Expose, but on call to
  7597. PaintEventStart, which more closely matches Win32 behaviour
  7598. - Fixed Invalidate() call, now updates new ErasePending Hwnd property
  7599. - Fixed SetFocus() to properly deal with client and whole windows
  7600. * Hwnd.cs: Added ErasePending property
  7601. * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
  7602. * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
  7603. 2005-03-12 Geoff Norton <[email protected]>
  7604. * XplatUIOSX.cs:
  7605. - Fix hard loop when timers exist.
  7606. - Fix bugs with middle and right click for 3 button mice.
  7607. 2005-03-11 Peter Bartok <[email protected]>
  7608. * XplatUIX11.cs:
  7609. - get_WorkingArea: Need to call X directly, GetWindowPos only
  7610. returns cached data now
  7611. - Added sanity check to GetWindowPos hwnd usage
  7612. 2005-03-11 Jackson Harper <[email protected]>
  7613. * BindingManagerBase.cs: This method isn't used anymore as
  7614. PullData now updates the data in the control.
  7615. 2005-03-11 Jordi Mas i Hernandez <[email protected]>
  7616. * Form.cs: fixes menu drawing on X11
  7617. * MenuAPI.cs: fixes menu drawing on X11
  7618. 2005-03-11 Peter Bartok <[email protected]>
  7619. * Control.cs: Changed OnCreateControl behaviour based on a suggestion
  7620. from Jonathan Gilbert; should fix bug #73606
  7621. * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
  7622. in Screen coordinates. Thanks, Jordi.
  7623. * Form.cs: Added missing attribute
  7624. 2005-03-11 Peter Bartok <[email protected]>
  7625. * Form.cs:
  7626. - Rudimentary Mdi support
  7627. - Removed outdated FormParent code
  7628. - Implemented lots of missing properties and methods, still missing
  7629. transparency support
  7630. - Added missing attributes
  7631. - Implemented support for MaximumBounds
  7632. - Added firing of various events
  7633. * XplatUI.cs: Added SetIcon() method
  7634. * XplatUIDriver.cs: Added SetIcon() abstract
  7635. * XplatUIOSX.cs: Stubbed out SetIcon() method
  7636. * XplatUIX11.cs:
  7637. - Implemented SetIcon() support
  7638. - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
  7639. - Switched to unix line endings
  7640. * XplatUIWin32.cs:
  7641. - Made POINT internal so for can access it as part of MINMAX
  7642. - Implemented SetIcon() support
  7643. - Implemented support for CLIENTCREATESTRUCT (but might have to drop
  7644. native Mdi support again, might have to go managed)
  7645. * Control.cs: Now fires the StyleChanged event
  7646. * MdiClient.cs: Added; still mostly empty
  7647. 2005-03-10 Peter Bartok <[email protected]>
  7648. * SaveFileDialog.cs: Added emtpy file
  7649. 2005-03-08 Peter Bartok <[email protected]>
  7650. * Control.cs: Fixed bug #73190; now invokes CreateControl (which
  7651. in turn triggers OnCreateContro) when creating a handle for the
  7652. first time.
  7653. * TextControl.cs: Fixed endless loop in certain cases when
  7654. replacing the current selection
  7655. 2005-03-08 Jordi Mas i Hernandez <[email protected]>
  7656. * ScrollBar.cs:
  7657. - Honors NewValue changes in Scroll events allowing apps to change it
  7658. - Adds First and Last Scroll events
  7659. - Fixes Thumb events
  7660. 2005-03-07 Peter Bartok <[email protected]>
  7661. * Hwnd.cs: Added DefaultClientRectangle property
  7662. * XplatUI.cs: Now using the X11 driver Where() method, which provides
  7663. more detailed debug information
  7664. * XplatUIX11.cs:
  7665. - Fixed size-change feedback loop, where we would pull an old size
  7666. off the queue and mistakenly change our window's size to an
  7667. earlier value
  7668. - Now compressing ConfigureNotify events, to reduce looping and
  7669. redraw issues
  7670. * TextBoxBase.cs: Preventing crash when no text is set and ToString()
  7671. is called
  7672. 2005-03-07 Jackson Harper <[email protected]>
  7673. * Binding.cs: Push data pushes from data -> property. Check if the
  7674. property is readonly when attempting to set it.
  7675. 2005-03-07 Jackson Harper <[email protected]>
  7676. * Binding.cs: Format and parse data correctly. Use ASsignableFrom
  7677. instead of IsSubclassOf. Pulling data now sets the value on the
  7678. control.
  7679. * PropertyManager.cs:
  7680. * CurrencyManager.cs: Just need to pull data when updating now,
  7681. because PullData will set the value on the control.
  7682. 2005-03-04 Jackson Harper <[email protected]>
  7683. * Binding.cs: Implement data type parsing and converting on pulled
  7684. data. TODO: Are there more ways the data can be converted?
  7685. 2005-03-04 Jackson Harper <[email protected]>
  7686. * Binding.cs: Support <Property>IsNull checks. Also bind to the
  7687. controls Validating method so we can repull the data when the
  7688. control loses focus.
  7689. 2005-03-03 Jordi Mas i Hernandez <[email protected]>
  7690. * ColumnHeader.cs:
  7691. - Fixes null string format
  7692. * ListView.cs:
  7693. - Adds enum type checks
  7694. - Fixes redrawing and recalc need after changing some properties
  7695. - Fixes on focus_item set after the event
  7696. - Fixes adding columns after the control has been created
  7697. * ThemeWin32Classic.cs:
  7698. - Fixes CheckBox focus rectangle
  7699. - Fixes ColumnHeader drawing
  7700. 2005-03-03 Jackson Harper <[email protected]>
  7701. * Binding.cs: Bind to <Property>Changed events so we can detect
  7702. when properties are changed and update the data.
  7703. 2005-03-02 Jordi Mas i Hernandez <[email protected]>
  7704. * ImageList.cs:
  7705. - Changes 32-bit pixel format to Format32bppArgb to allow transparency
  7706. - Fixes ImageList constructor with ImageList container
  7707. - Fixes image scaling (wrong parameters at DrawImage)
  7708. 2005-02-02 Jackson Harper <[email protected]>
  7709. * Binding.cs: Make property searches case-insensitive. Eliminate
  7710. some duplicated code.
  7711. 2005-03-01 Jordi Mas i Hernandez <[email protected]>
  7712. * ComboBox.cs:
  7713. - Handle focus event
  7714. - Fix scrollbar events
  7715. - Discard highlighted item if remove it
  7716. - Fixes SelectedItem with strings
  7717. 2005-03-01 Peter Bartok <[email protected]>
  7718. * Control.cs:
  7719. - Fixed Visible property, now follows (once again) parent chain
  7720. to return false if any control in the chain is visible=false
  7721. - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
  7722. - Fixed several places where is_visible instead of Visible was used
  7723. - Implemented FIXME related to focus selection when setting focused
  7724. control to be invisible
  7725. * XplatUIWin32.cs: Now using proper method to find out if window is
  7726. visible. Thanks to Jordi for pointing it out
  7727. 2005-02-28 Jordi Mas i Hernandez <[email protected]>
  7728. * ComboBox.cs: show/hide scrollbar instead of creating it
  7729. 2005-02-27 Jackson Harper <[email protected]>
  7730. * CurrencyManager.cs: Add PositionChanged stuff.
  7731. 2005-02-27 Peter Bartok <[email protected]>
  7732. * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
  7733. * XplatUIOSX.cs: Added GetMenuOrigin() stub
  7734. * XplatUIWin32.cs: Implemented GetMenuOrigin()
  7735. * XplatUIX11.cs:
  7736. - Implemented GetMenuDC()
  7737. - Implemented GetMenuOrigin()
  7738. - Implemented ReleaseMenuDC()
  7739. - Implemented generation of WM_NCPAINT message
  7740. - Implemented generation and handling of WM_NCCALCSIZE message
  7741. * Form.cs: Added debug helper message for Jordi's menu work
  7742. * Hwnd.cs:
  7743. - Modified ClientRect property; added setter, fixed getter to handle
  7744. setting of ClientRect
  7745. - Added MenuOrigin property
  7746. 2005-02-26 Peter Bartok <[email protected]>
  7747. * XplatUIX11.cs:
  7748. - Destroys the caret if a window that's being destroyed contains it
  7749. - Ignores expose events coming from the X11 queue for windows that
  7750. already are destroyed
  7751. - Now uses the proper variable for handling DestroyNotify, before we
  7752. marked the wrong window as destroyed
  7753. - Improved/added some debug output
  7754. 2005-02-26 Peter Bartok <[email protected]>
  7755. * X11Keyboard.cs: Fixes to work on 64bit systems
  7756. 2005-02-26 Peter Bartok <[email protected]>
  7757. * Control.cs:
  7758. - Now calling OnHandleDestroyed from DestroyHandle()
  7759. instead of Dispose()
  7760. - Removed bogus call to controls.Remove() from DestroyHandle()
  7761. 2005-02-26 Peter Bartok <[email protected]>
  7762. * Control.cs: Properly destroy child windows when our handle is
  7763. destroyed
  7764. 2005-02-25 Peter Bartok <[email protected]>
  7765. * XplatUI.cs:
  7766. - Added 'DriverDebug' define to allow tracing XplatUI API calls
  7767. - Alphabetized Static Methods and Subclasses
  7768. * XplatUIX11.cs:
  7769. - Added XException class to allow custom handling of X11 exceptions
  7770. - Created custom X11 error handler, tied into XException class
  7771. - Added support for MONO_XEXCEPTIONS env var to allow the user
  7772. to either throw an exception on X errors or continue running
  7773. after displaying the error
  7774. - Added handling of DestroyNotify message
  7775. - Added handler for CreateNotify message (still disabled)
  7776. - Improved (tried to at least) Where method to provide file and lineno
  7777. * X11Structs.cs:
  7778. - Added XErrorHandler delegate
  7779. - Added XRequest enumeration (to suppor translation of errors)
  7780. 2005-02-25 Jackson Harper <[email protected]>
  7781. * PropertyManager.cs: Implement editing features
  7782. * CurrencyManager.cs:
  7783. * Binding.cs: First attempt at UpdateIsBinding
  7784. * BindingManagerBase.cs: Call UpdateIsBinding before
  7785. pushing/pulling data.
  7786. 2005-02-25 Jordi Mas i Hernandez <[email protected]>
  7787. * MenuAPI.cs: Respect disabled items
  7788. * ThemeWin32Classic.cs
  7789. - Caches ImageAttributes creation for DrawImageDisabled
  7790. - Fixes vertical menu line drawing
  7791. - Draws disabled arrows in disable menu items
  7792. 2005-02-24 Peter Bartok <[email protected]>
  7793. * Hwnd.cs:
  7794. - Added UserData property to allow associating arbitrary objects
  7795. with the handle
  7796. - Fixed leak; now removing Hwnd references from static windows array
  7797. * XplatUIWin32.cs:
  7798. - Fixed Graphics leak in PaintEventEnd
  7799. - Removed usage of HandleData, switched over to Hwnd class
  7800. * HandleData.cs: Removed, obsoleted by Hwnd.cs
  7801. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  7802. * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
  7803. * ScrollBar.cs: Fixes bug
  7804. * TrackBar.cs: removes death code, clipping, mimize refreshes,
  7805. keyboard navigation enhancements
  7806. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  7807. * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
  7808. * GroupBox.cs: Add control styles
  7809. * Label.cs: Add control styles
  7810. * UpDownBase.cs: Add control styles
  7811. * ListBox.cs: Add control styles
  7812. * XplatUIWin32.cs: Fixes wrong parameter order
  7813. 2005-02-23 Chris Bacon <[email protected]>
  7814. * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
  7815. 2005-02-23 Jackson Harper <[email protected]>
  7816. * PropertyManager.cs: Implement property binding. This doesn't
  7817. seem to work yet though as (I think) there are some bugs in
  7818. System.ComponentModel.PropertyDescriptor.
  7819. * BindingContext.cs: Use new PropertyManager constructor.
  7820. 2005-02-23 Jordi Mas i Hernandez <[email protected]>
  7821. * ProgressBar.cs: use clip region in ProgressBar
  7822. * ThemeWin32Classic.cs: use clip region in ProgressBar
  7823. 2004-02-22 Jackson Harper <[email protected]>
  7824. * BindingsCollection.cs: Remove some debug code.
  7825. 2005-02-22 Jackson Harper <[email protected]>
  7826. * BindingContext.cs:
  7827. * ControlBindingsCollection.cs:
  7828. * CurrencyManager.cs:
  7829. * Binding.cs:
  7830. * BindingManagerBase.cs: Initial implementation
  7831. * BindingsCollection.cs: Add an internal contains method that the
  7832. BindingManagerBase uses to ensure bindings aren't added twice to
  7833. the collection.
  7834. * PropertyManager.cs: Stubbed out.
  7835. * Control.cs:
  7836. * ContainerControl.cs: Hook up databinding
  7837. 2005-02-22 Geoff Norton <[email protected]>
  7838. * XplatUIOSX.cs:
  7839. OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
  7840. Fixed Invalidate/Update chain.
  7841. Fixed tons of other minor bugs (this is almost a complete rewrite).
  7842. 2005-02-22 Jordi Mas i Hernandez <[email protected]>
  7843. * ComboBox.cs: do subcontrol creation when the control is created
  7844. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  7845. * Label.cs: fixes image drawing (image and imagelist)
  7846. * ThemeWin32Classic.cs: cache brushes
  7847. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  7848. * Form.cs: Move menu drawing code to Theme class
  7849. * ComboBox.cs: Move ComboBox drawing code to Theme class
  7850. * MenuItem.cs: Move menu drawing code to Theme class
  7851. * MenuAPI.cs: Move menu drawing code to Theme class
  7852. * ThemeWin32Classic.cs: New methods
  7853. * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
  7854. * ListBox.cs: Move Listbox drawing code to Theme class
  7855. * Theme.cs: New methods
  7856. 2005-02-20 Peter Bartok <[email protected]>
  7857. * Control.cs:
  7858. - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
  7859. only process mnemonics on those)
  7860. - Fixed event sequence for key handling; first calling
  7861. ProcessKeyEventArgs now
  7862. * TextBoxBase.cs:
  7863. - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
  7864. for processing non-character keys
  7865. - Fixed WM_CHAR to generate proper event sequence before processing
  7866. * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
  7867. generation
  7868. 2005-02-19 Peter Bartok <[email protected]>
  7869. * UserControl.cs: Added TextChanged event; added attributes
  7870. * SizeGrip.cs: Implemented resizing and optional display of grip
  7871. * Form.cs: Fixed attribute
  7872. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  7873. Changed meaning of ScrollWindow bool argument; instead of the
  7874. clear attribute (which will be true usually anyway), it gives the
  7875. option of moving child controls as well.
  7876. * XplatUIX11.cs:
  7877. - Changed to match new ScrollWindow argument
  7878. - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
  7879. now handles the implicit parent window a WM puts around us
  7880. * ScrollableControl.cs: Implemented (not the prettiest, but it seems
  7881. to work)
  7882. * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
  7883. * TreeView.cs: Adjusted to new ScrollWindow arguments
  7884. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  7885. * Form.cs: Menu integration with non-client area
  7886. * MenuItem.cs: Menu integration with non-client area
  7887. * MenuAPI.cs: Menu integration with non-client area
  7888. 2005-02-18 Peter Bartok <[email protected]>
  7889. * MethodInvoker.cs: Added
  7890. * MdiLayout.cs: Added
  7891. * SendKeys.cs: Started implementation
  7892. * ErrorIconAlignment.cs: Added
  7893. 2005-02-18 Peter Bartok <[email protected]>
  7894. * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
  7895. * Form.cs: Added handling for Menu-related Non-client messages
  7896. 2005-02-17 Peter Bartok <[email protected]>
  7897. * UpDownBase.cs: Fixed typo, compilation errors
  7898. * DomainUpDown.cs: Fixed attribute value
  7899. 2005-02-16 Miguel de Icaza <[email protected]>
  7900. * UpDownBase.cs: Attach entry events.
  7901. Propagate events.
  7902. Add ForeColor property, Focused, InterceptArrowKeys (interception
  7903. does not work yet).
  7904. 2005-02-17 Jordi Mas i Hernandez <[email protected]>
  7905. * Form.cs:
  7906. - Redraw non client are on Setmenu
  7907. - Calc proper menu starting point
  7908. 2005-02-17 Peter Bartok <[email protected]>
  7909. * Application.cs: Fixed message_filter check
  7910. 2005-02-17 Peter Bartok <[email protected]>
  7911. * Application.cs: Now calls registered message filters
  7912. * DockStyle.cs: Fixed attribute
  7913. * Form.cs: Fixed attribute
  7914. * Menu.cs: Fixed attribute
  7915. * ToolTip.cs: Fixed attribute
  7916. * TreeNode.cs: Added missing attributes and arranged in regions
  7917. * PropertyGrid.cs: Fixed signatures
  7918. * TreeNodeCollection.cs: Added attributes
  7919. * Splitter.cs: Added missing attributes; arranged into regions
  7920. * TabPage.cs: Added missing attributes; arranged into regions
  7921. * TextBoxBase.cs: Added missing attributes
  7922. * TextBox.cs: Added missing attributes
  7923. * ArrangeDirection.cs: Added missing attributes
  7924. * TreeNodeConverter.cs: Added stub (needed for TreeNode)
  7925. * ToolBarButton.cs: Fixed attributes
  7926. * AnchorStyles.cs: Fixed attribute
  7927. * TrackBar.cs: Fixed attributes
  7928. * TabControl.cs: Added missing attributes and arranged into regions
  7929. * ToolBar.cs: Fixed attribute
  7930. * StatusBar.cs: Fixed signature, organized into regions and added
  7931. attributes
  7932. * StatusBarPanel.cs: Fixed attributes
  7933. * ContentsResizedEventArgs.cs: Implemented
  7934. * ContentsResizedEventHandler.cs: Implemented
  7935. * DateBoldEventArgs.cs: Implemented
  7936. * DateBoldEventHandler.cs: Implemented
  7937. * UpDownEventArgs.cs: Implemented
  7938. * UpDownEventHandler.cs: Implemented
  7939. 2005-02-16 Jordi Mas i Hernandez <[email protected]>
  7940. * Form.cs: first Menu NC refactoring
  7941. * MenuAPI.cs: first Menu NC refactoring
  7942. 2005-02-16 Peter Bartok <[email protected]>
  7943. * ImeMode.cs: Added missing attributes
  7944. * Menu.cs: Fixed attribute
  7945. * GroupBox.cs: Fixed attribute
  7946. * Label.cs: Fixed attribute
  7947. * ColorDialog.cs (RunDialog): Removed TODO attribute
  7948. * ComboBox.cs: Fixed attributes
  7949. * ListControl.cs: Added missing attributes
  7950. * PropertyGrid.cs: Fixed attributes
  7951. * Control.cs: Fixed attributes
  7952. * ListViewItem.cs: Added TypeConverter attribute
  7953. * NotifyIcon.cs: Fixed attributes
  7954. * ListView.cs: Fixed attributes
  7955. * ButtonBase.cs: Fixed attribute
  7956. * ImageList.cs: Added missing attributes
  7957. * ContainerControl.cs: Fixed signature
  7958. * CheckedListBox.cs: Fixed attribute; added missing attributes
  7959. * Panel.cs: Fixed attributes
  7960. * PropertyTabChangedEventArgs.cs: Added missing attribute
  7961. * PropertyValueChangedEventArgs.cs: Added missing attribute
  7962. * Binding.cs: Fixed attribute
  7963. * ListViewItemConverter: Implemented ListViewSubItemConverter class
  7964. * ListBox.cs: Fixed attribute; added missing attributes;
  7965. * ScrollableControl.cs: Added missing attributes
  7966. * PictureBox.cs: Added missing attributes; implemented missing property
  7967. * DateTimePicker.cs: Added missing attributes
  7968. * Theme.cs (ToolWindowCaptionHeight): Fixed type
  7969. * MonthCalendar.cs: Fixed attributes
  7970. * StatusBarPanel.cs: Added missing attributes
  7971. * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
  7972. 2005-02-16 Peter Bartok <[email protected]>
  7973. * TextBoxBase.cs: The previous method to enforce height yet remember
  7974. the requested high was less than ideal, this is an attempt to do
  7975. it better.
  7976. * Control.cs: Added comment about possible problem
  7977. * Copyright: Updated format
  7978. * GridItemType.cs: Fixed swapped values
  7979. 2005-02-15 Jackson Harper <[email protected]>
  7980. * BaseCollection.cs: Use property so we never access an
  7981. uninitialized list. Also initialize the list in the property.
  7982. 2005-02-15 Peter Bartok <[email protected]>
  7983. * GroupBox.cs (ProcessMnemonic): Implemented
  7984. * Label.cs (ProcessMnemonic): Implemented
  7985. * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
  7986. hotkeys
  7987. 2005-02-15 Peter Bartok <[email protected]>
  7988. * RadioButton.cs (ProcessMnemonic): Implemented
  7989. * CheckBox.cs (ProcessMnemonic): Implemented
  7990. * Control.cs:
  7991. - Added handling of WM_SYSxxx keyboard messages to support mnemonic
  7992. handling
  7993. - Added internal method to allow calling ProcessMnemonic from other
  7994. controls
  7995. * ContainerControl.cs:
  7996. - Started support for handling validation chain handling
  7997. - Implemented ProcessMnemonic support
  7998. - Added Select() call to Active, to make sure the active control
  7999. receives focus
  8000. * Form.cs: Setting toplevel flag for Forms (this was lost in the
  8001. FormParent rewrite)
  8002. * ThemeWin32Classic.cs:
  8003. - DrawCheckBox(): Fixed stringformat to show hotkeys
  8004. - DrawRadioButton(): Fixed stringformat to show hotkeys
  8005. * CommonDialog.cs: Removed WndProc override, not needed
  8006. 2005-02-14 Peter Bartok <[email protected]>
  8007. * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
  8008. missed those in the rewrite
  8009. 2005-02-14 Miguel de Icaza <[email protected]>
  8010. * NumericUpDown.cs (Increment, ToString): Add.
  8011. (DecimalPlaces): implement.
  8012. Add attributes.
  8013. * UpDownBase.cs: Add the designer attributes.
  8014. 2005-02-13 Peter Bartok <[email protected]>
  8015. * Panel.cs: Removed border_style, now in Control
  8016. * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
  8017. ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
  8018. 2005-02-13 Peter Bartok <[email protected]>
  8019. * MouseButtons.cs: Added missing attributes
  8020. * XplatUIStructs.cs: Added enumeration for title styles
  8021. * LeftRightAlignment.cs: Added missing attributes
  8022. * Hwnd.cs: Switched to use client_window as handle (slower, but makes
  8023. it compatible with Graphics.FromHwnd()
  8024. * SelectedGridItemChangedEventArgs.cs: Fixed property type
  8025. * Keys.cs: Added missing attributes
  8026. * SelectionRange.cs: Added missing attributes
  8027. * SelectionRangeConverter.cs: Added
  8028. * XplatUI.cs:
  8029. - Introduced SetBorderStyle, SetMenu, GetMenuDC and
  8030. ReleaseMenuDC methods
  8031. - Renamed ReleaseWindow to UngrabWindow
  8032. - Added proper startup notice to allow version identification
  8033. * Form.cs:
  8034. - Added missing attributes
  8035. - Removed FormParent concept
  8036. * Label.cs: Removed border_style field, now in Control
  8037. * RadioButton.cs: Now properly selects RadioButton when focus is
  8038. received
  8039. * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
  8040. * Control.cs:
  8041. - Added missing attributes
  8042. - Added borderstyle handling
  8043. - Removed FormParent concept support
  8044. - Fixed calls to XplatUI to match changed APIs
  8045. - Fixed bug that would case us to use disposed Graphics objects
  8046. - Removed unneeded internal methods
  8047. - PerformLayout(): Fixed to handle DockStyle.Fill properly
  8048. - SelectNextControl(): Fixed to properly check common parents
  8049. * TextBoxBase.cs: Removed border_style field (now in Control)
  8050. * MessageBox.cs:
  8051. - Patch by Robert Thompson ([email protected]): Added icon support,
  8052. fixed calculations for form size
  8053. - Added support for localized strings and icons
  8054. - Improved form size calculations, added border
  8055. * ListView.cs: Removed border_style field (now in Control)
  8056. * X11Structs.cs: Moved several structs from X11 driver here
  8057. * X11Keyboard.cs: Changed debug message
  8058. * Application.cs: Removed FormParent concept support
  8059. * CommonDialog.cs:
  8060. - Resetting end_modal flag
  8061. - Removed FormParent concept support
  8062. * NativeWindow.cs: Removed FormParent concept support
  8063. * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
  8064. Client area and Non-Client whole window to allow support for WM_NC
  8065. messages
  8066. * XplatUIOSX.cs: Updated to match latest driver spec; added exception
  8067. prevent using it until it supports Hwnd as per Geoff Norton's request
  8068. * ToolBar.cs: Fixed drawing, was not doing proper drawing
  8069. * PictureBox.cs: Removed border_style field, now in Control
  8070. * XplatUIWin32.cs: Added new driver methods
  8071. 2005-02-12 Peter Bartok <[email protected]>
  8072. * OpacityConverter.cs: Implemented
  8073. * Hwnd.cs: Internal class to support drivers that need to emulate
  8074. client area/non-client area window behaviour
  8075. 2005-02-11 Peter Bartok <[email protected]>
  8076. * KeysConverter.cs: Implemented
  8077. 2005-02-11 Jordi Mas i Hernandez <[email protected]>
  8078. * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
  8079. * LinkLabel: Added missing attributes
  8080. * MainMenu.cs: fixes ToString
  8081. * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
  8082. * ListBox.cs: fixes event position
  8083. * TrackBar.cs: adds missing attributes and events
  8084. 2005-02-10 Jordi Mas i Hernandez <[email protected]>
  8085. * MenuItem.cs: Use SystemInformation and bug fixes
  8086. * MenuAPI.cs: Use SystemInformation and bug fixes
  8087. 2005-02-09 Jackson Harper <[email protected]>
  8088. * X11Keyboard.cs: We ignore some keys, but still need to set/reset
  8089. their keystate otherwise things like VK_MENU get stuck "on".
  8090. 2005-02-09 Kazuki Oikawa <[email protected]>
  8091. * ListBox.cs: Fixes AddRange bug
  8092. 2005-02-09 Jordi Mas i Hernandez <[email protected]>
  8093. * ProgressBar.cs
  8094. - Add missing attributes
  8095. - Add missing method
  8096. * CheckedListBox.cs: Added missing attributes
  8097. - Add missing attributes
  8098. - Remove extra method
  8099. * ComboBox.cs: Added missing attributes
  8100. * VScrollBar.cs: Added missing attributes
  8101. * ScrollBar.cs: Added missing attributes
  8102. * ListBox.cs: Fixes signature, add missing consts
  8103. * LinkArea.cs: Added missing attributes
  8104. 2005-02-08 Peter Bartok <[email protected]>
  8105. * Menu.cs: Added missing attributes
  8106. * MainMenu.cs: Added missing attributes
  8107. * GroupBox.cs: Added missing attributes
  8108. * Label.cs: Added missing attributes
  8109. * CheckBox.cs: Implemented CheckBoxAccessibleObject class
  8110. * ColorDialog.cs:
  8111. - Added Instance and Options properties
  8112. - Added missing attributes
  8113. * Cursor.cs: Made Serializable
  8114. * NotifyIcon: Added missing attributes
  8115. * MenuItem.cs: Added missing attributes
  8116. * TextBoxBase.cs: Implemented AppendText() and Select() methods
  8117. * Panel.cs: Added Missing attributes
  8118. * MonthCalendar.cs: Fixed CreateParams
  8119. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  8120. * LinkLabel.cs:
  8121. - Fixes signature
  8122. - Fixes issues with links
  8123. - Adds the class attributes
  8124. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  8125. * ComboBox.cs:
  8126. - Fixes button when no items available in dropdown
  8127. - Fixes repainting problems
  8128. - Adds the class attributes
  8129. 2005-02-07 Geoff Norton <[email protected]>
  8130. * XplatUIOSX.cs: Detect the menu bar and title bar height from
  8131. the current theme. Cache these on startup.
  8132. 2005-02-07 Jackson Harper <[email protected]>
  8133. * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
  8134. the scrollbar buttons when they are depressed.
  8135. 2005-02-07 Geoff Norton <[email protected]>
  8136. * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
  8137. Get the display size from the main displayid. We currently dont
  8138. support multiple display configurations.
  8139. 2005-02-07 Geoff Norton <[email protected]>
  8140. * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
  8141. 2005-02-07 Miguel de Icaza <[email protected]>
  8142. * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
  8143. 2005-02-05 Jonathan Chambers <[email protected]>
  8144. * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
  8145. 2005-02-04 Jackson Harper <[email protected]>
  8146. * ThemeWin32Classic.cs: Respect the clipping rect when
  8147. drawing. Only fill the intersection of clips and rects so there
  8148. isn't a lot of large fills.
  8149. * ScrollBar.cs: Pass the correct clipping rect to the theme
  8150. engine. Remove some debug code.
  8151. 2005-02-05 John BouAntoun <[email protected]>
  8152. * DateTimePicker.cs:
  8153. - Fixed crash on DateTime.Parse, use Constructor instead
  8154. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  8155. * MenuItem.cs:
  8156. * MenuAPI.cs:
  8157. - Owner draw support (MeasureItem and DrawItem)
  8158. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  8159. * Menu.cs:
  8160. - Implements FindMergePosition and MergeMenu functions (very poor documented)
  8161. - Fixes MenuItems.Add range
  8162. * MenuItem.cs:
  8163. - MergeMenu and Clone and CloneMenu functions
  8164. 2005-02-03 Jackson Harper <[email protected]>
  8165. * ScrollBar.cs: Make abstract
  8166. * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
  8167. is abstract.
  8168. 2005-02-03 Jackson Harper <[email protected]>
  8169. * ScrollBar.cs: First part of my scrollbar fixups. This removes
  8170. all the unneeded refreshes and uses invalidates with properly
  8171. computed rects.
  8172. 2005-02-03 Peter Bartok <[email protected]>
  8173. * ComponentModel.cs: Added
  8174. * IDataGridEditingService.cs: Added
  8175. * Timer.cs: Added missing attributes
  8176. * ToolTip.cs: Added missing attributes
  8177. 2005-02-03 Jonathan Chambers <[email protected]>
  8178. * PropertyGridView.cs: Added. Patch by Jonathan Chambers
  8179. 2005-02-03 Peter Bartok <[email protected]>
  8180. * ListBox.cs: Added missing attributes
  8181. 2005-02-03 Jordi Mas i Hernandez <[email protected]>
  8182. * ListBox.cs:
  8183. - Fixes font height after font change
  8184. - Avoid generating unnecesary OnSelectedIndexChanged on clearing
  8185. 2005-02-02 Peter Bartok <[email protected]>
  8186. * HandleData.cs: Introduced static methods to allow class
  8187. to be more self-contained and track it's own HandleData objects
  8188. * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
  8189. HandleData to use new static methods
  8190. 2005-02-02 Jordi Mas i Hernandez <[email protected]>
  8191. * Combobox.cs:
  8192. - Fixes default size and PreferredHeight
  8193. - Missing events
  8194. - ObjectCollection.Insert implementation
  8195. * ListControl.cs
  8196. - Fixes signature
  8197. * ListBox.cs:
  8198. - Several fixes
  8199. - ObjectCollection.Insert implementation
  8200. - No selection after clean
  8201. - Small fixes
  8202. 2005-01-31 John BouAntoun <[email protected]>
  8203. * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
  8204. 2005-02-01 Jordi Mas i Hernandez <[email protected]>
  8205. * Combobox.cs:
  8206. - Caches ItemHeight calculation for OwnerDrawVariable
  8207. - Handles dropdown properly
  8208. - Fixes several minor bugs
  8209. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  8210. * ListBox.cs:
  8211. - Fixes 71946 and 71950
  8212. - Fixes changing Multicolumn on the fly
  8213. - Fixes keyboard navigation on Multicolumn listboxes
  8214. 2005-01-31 Geoff Norton <[email protected]>
  8215. * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
  8216. crash reporter log.
  8217. 2005-01-31 Geoff Norton <[email protected]>
  8218. * XplatUIOSX.cs: Allow applications to actually exit.
  8219. 2005-01-31 Geoff Norton <[email protected]>
  8220. * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
  8221. their parent at creation time rather than lazily later. Fixes a major
  8222. regression we were experiencing.
  8223. 2005-01-31 John BouAntoun <[email protected]>
  8224. * ThemeWin32Classic.cs: more date time picker painting fixes
  8225. * DateTimePicker.cs: more monthcalendar drop down fixes
  8226. * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
  8227. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  8228. * ScrollBar.cs:
  8229. - When moving the thumb going outside the control should stop the moving
  8230. - Adds the firing of missing events
  8231. - Fixes no button show if Size is not specified
  8232. - End / Home keys for keyboard navigation
  8233. 2005-01-30 Peter Bartok <[email protected]>
  8234. * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
  8235. sanity check to prevent theoretical loop
  8236. * XplatUIWin32.cs (SetVisible): Removed debug output
  8237. * XplatUIX11.cs (SystrayChange): Added sanity check
  8238. * ScrollableControl.cs (OnVisibleChanged): Now calls base method
  8239. * Control.cs (OnVisibleChanged): Added workaround for ParentForm
  8240. behaviour, valid until the X11 client window rewrite is done
  8241. * TextBox.cs (ctor): Setting proper default foreground and background
  8242. colors
  8243. 2005-01-30 John BouAntoun <[email protected]>
  8244. * Theme: Added DrawDateTimePicker to interface
  8245. * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
  8246. * DateTimePicker.cs: Created (still needs keys and painting code)
  8247. * DateTimePickerFormat.cs: added
  8248. * MonthCalendar.cs: fixed CreateParams for popup window mode
  8249. 2005-01-29 Peter Bartok <[email protected]>
  8250. * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
  8251. this should also the calculations for ligher/darker
  8252. * Theme.cs: Fixed defaults for ScrollBar widths/heights
  8253. 2005-01-29 Peter Bartok <[email protected]>
  8254. * ArrangeDirection.cs: Added
  8255. * ArrangeStartingPositon.cs: Added
  8256. * SystemInformation.cs: Implemented
  8257. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  8258. XplatUIX11.cs, Theme.cs: Added/implemented new static properties
  8259. used by SystemInformation class
  8260. * X11Strucs.cs: Added XSizeHints structure
  8261. * MenuAPI.cs:
  8262. - Fixed CreateParams to make sure the menu window is always visible
  8263. - TrackPopupMenu: Added check to make sure we don't draw the
  8264. menu offscreen
  8265. 2005-01-29 Peter Bartok <[email protected]>
  8266. * HandleData.cs: Added method for altering invalid area
  8267. * TextBoxBase.cs: Implemented TextLength
  8268. 2005-01-28 Peter Bartok <[email protected]>
  8269. * XplatUIX11.cs: Improvement over last patch, not sending
  8270. the WM_PAINT directly anymore, instead we scroll any pending
  8271. exposed areas and let the system pick out the WM_PAINT later
  8272. 2005-01-28 Peter Bartok <[email protected]>
  8273. * SWF.csproj: Deleted, no longer used. Instead,
  8274. Managed.Windows.Forms/SWF.csproj should be used
  8275. * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
  8276. directly, to avoid a potential race condition with the next
  8277. scroll
  8278. 2005-01-28 Peter Bartok <[email protected]>
  8279. * XplatUI.cs: Made class internal
  8280. 2005-01-28 Jordi Mas i Hernandez <[email protected]>
  8281. * CheckedListBox.cs:
  8282. - Draw focus
  8283. - Fixed Drawing
  8284. - Missing methods and events
  8285. 2005-01-27 Peter Bartok <[email protected]>
  8286. * Application.cs (Run): Don't use form if we don't have one
  8287. 2005-01-27 Peter Bartok <[email protected]>
  8288. * TextBoxBase.cs (get_Lines): Fixed index off by one error
  8289. 2005-01-27 Peter Bartok <[email protected]>
  8290. * GridEntry.cs: Added; Patch by Jonathan S. Chambers
  8291. * GridItem.cs: Added; Patch by Jonathan S. Chambers
  8292. * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
  8293. * GridItemType.cs: Added; Patch by Jonathan S. Chambers
  8294. * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
  8295. * PropertySort.cs: Added; Patch by Jonathan S. Chambers
  8296. * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  8297. * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  8298. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  8299. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  8300. * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  8301. * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  8302. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  8303. * Combobox.cs:
  8304. - Draw focus on Simple Combobox
  8305. - Fixes drawing issues
  8306. - fixes 71834
  8307. 2005-01-27 Peter Bartok <[email protected]>
  8308. * Form.cs:
  8309. - Place window in default location, instead of hardcoded 0/0
  8310. - Send initial LocationChanged event
  8311. * Control.cs:
  8312. - UpdateBounds after creation to find out where the WM placed us
  8313. - Make sure that if the ParentForm changes location the Form
  8314. is notified
  8315. * XplatUIX11.cs: XGetGeometry will not return the coords relative
  8316. to the root, but to whatever the WM placed around us.
  8317. Translate to root coordinates before returning toplevel
  8318. coordinates
  8319. * XplatUIWin32.cs: Removed debug output
  8320. * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
  8321. flag to GetWindowPos, to allow translation of coordinates on X11
  8322. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  8323. * ListBox.cs: connect LostFocus Event
  8324. 2005-01-27 Peter Bartok <[email protected]>
  8325. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  8326. XplatUIX11.cs: Extended the Systray API
  8327. * Form.cs: Removed debug output
  8328. * Application.cs: Fixed focus assignment, always need to call
  8329. XplatUI.Activate() since Form.Activate() has rules that may
  8330. prevent activation
  8331. * NotifyIcon.cs: Should be complete now
  8332. * ToolTip.cs: Worked around possible timer bug
  8333. 2005-01-27 Jackson Harper <[email protected]>
  8334. * TabControl.cs:
  8335. - Only invalidate the effected tabs when the
  8336. selected index changes. This reduces drawing and gets rid of some
  8337. flicker.
  8338. - Only refresh if the tabs need to be shifted, otherwise only
  8339. invalidate the slider button.
  8340. - On windows the tabs are not filled to right if the slider is
  8341. visible.
  8342. 2005-01-27 Jackson Harper <[email protected]>
  8343. * TabControl.cs: Only refresh on mouseup if we are showing the
  8344. slider. Also only invalidate the button whose state has changed.
  8345. 2005-01-26 Peter Bartok <[email protected]>
  8346. * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
  8347. * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
  8348. and SystrayRemove() methods
  8349. * XplatUIOSX.cs: Stubbed Systray methods
  8350. * XplatUIX11.cs:
  8351. - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
  8352. methods
  8353. - Fixed broken XChangeProperty calls (marshalling messed up things)
  8354. * X11Structs.cs: Added enums and structs required for Size hinting
  8355. * NotifyIcon.cs: Added & implemented
  8356. 2005-01-26 Jackson Harper <[email protected]>
  8357. * TabControl.cs: Space vertically layed out tabs properly.
  8358. 2005-01-26 Peter Bartok <[email protected]>
  8359. * Form.cs (CreateClientParams): Always set the location to 0,0
  8360. since we're a child window.
  8361. * Control.cs (SetVisibleCore): Always explicitly setting the location
  8362. of a toplevel window, apparently X11 doesn't like to move windows
  8363. while they're not mapped.
  8364. 2005-01-26 Jackson Harper <[email protected]>
  8365. * TabControl.cs: Implement FillToRight size mode with vertically
  8366. rendered tabs.
  8367. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  8368. * ControlPaint.cs, ThemeWin32Classic.cs
  8369. - Fixes DrawFocusRectangle
  8370. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  8371. * MenuAPI.cs:
  8372. - MenuBar tracking only starts when item is first clicked
  8373. - Fixes menu hidding for multiple subitems
  8374. - Unselect item in MenuBar when item Executed
  8375. - Fixes bug 71495
  8376. 2005-01-25 Jordi Mas i Hernandez <[email protected]>
  8377. * ListControl.cs:
  8378. - IsInputKey for ListBox
  8379. * ListBox.cs:
  8380. - Focus item
  8381. - Shift and Control item selection
  8382. - Implement SelectionMode.MultiExtended
  8383. - Fixes RightToLeft
  8384. * ComboBox.cs:
  8385. - IsInputKey implemented
  8386. - Do not generate OnTextChangedEdit on internal txt changes
  8387. 2005-01-23 Peter Bartok <[email protected]>
  8388. * AccessibleObject.cs: Partially implemented Select()
  8389. * MonthCalendar.cs: Added missing attributes and events
  8390. * Form.cs: Fixed CreateParams behaviour, now controls derived from
  8391. form can properly override CreateParams.
  8392. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  8393. XplatUIX11.cs: Dropped RefreshWindow method, not needed if
  8394. Control performs Invalidate & Update
  8395. * NativeWindow (CreateHandle): Added special handling for Form
  8396. and Form.FormParent classes to allow overriding of From.CreateParams
  8397. * Control.cs:
  8398. - ControlNativeWindow: Renamed 'control' variable to more intuitive
  8399. name 'owner'
  8400. - ControlNativeWindow: Added Owner property
  8401. - Removed usage of Refresh() on property changes, changed into
  8402. Invalidate(), we need to wait until the queue is processed for
  8403. updates, direct calls might cause problems if not all vars for
  8404. Paint are initialized
  8405. - Added call to UpdateStyles() when creating the window, to set any
  8406. styles that CreateWindow might have ignored.
  8407. - Added support for Form CreateParent overrides to UpdateStyles()
  8408. * MessageBox.cs: Removed no longer needed FormParent override stuff,
  8409. CreateParams are now properly overridable
  8410. * CommonDialog.cs: Removed no longer needed FormParent override stuff,
  8411. CreateParams are now properly overridable
  8412. 2005-01-23 Miguel de Icaza <[email protected]>
  8413. * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
  8414. OnTextBoxChanged.
  8415. Capture LostFocus and OnTextBoxChanged. The later introduces a
  8416. recursive invocation that I have not figured out yet.
  8417. Reset the timer when not using (it was accumulating).
  8418. (OnTextBoxChanged): Set UserEdit to true here to track whether the
  8419. user has made changes that require validation.
  8420. Reset changing to avoid loops.
  8421. 2005-01-22 Miguel de Icaza <[email protected]>
  8422. * NumericUpDown.cs: Display value at startup.
  8423. * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
  8424. ValidateEditText.
  8425. * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
  8426. filled in. Added some basic parsing of text.
  8427. Still missing the OnXXX method overrides, and figuring out the
  8428. events that must be emitted.
  8429. * UpDownBase.cs: Handle UserEdit on the Text property.
  8430. 2005-01-22 Jordi Mas i Hernandez <[email protected]>
  8431. * ComboBox.cs:
  8432. - Fixes IntegralHeight
  8433. - ToString method
  8434. 2005-01-21 Jackson Harper <[email protected]>
  8435. * TabControl.cs: Set the SelectedIndex property when SelectedTab
  8436. is set so that the page visibility is updated and the tabs are
  8437. sized correctly.
  8438. 2005-01-21 Jackson Harper <[email protected]>
  8439. * TabControl.cs: Use cliping rectangle for blitting. Give the
  8440. theme the clipping rect so we can do clipping while
  8441. drawing. Remove some debug code.
  8442. 2005-01-21 Jackson Harper <[email protected]>
  8443. * TabPage.cs: Add a new method so tab pages can force the tab
  8444. control to recalculate the tab page sizes.
  8445. * TabControl.cs: UpdateOwner needs to make the tab control recalc
  8446. sizes.
  8447. 2005-01-20 Jackson Harper <[email protected]>
  8448. * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
  8449. 2005-01-20 Jackson Harper <[email protected]>
  8450. * TreeView.cs: Set the bounds for nodes properly. They were
  8451. getting screwed up when checkboxes were not enabled, but images
  8452. were.
  8453. 2005-01-20 Jordi Mas i Hernandez <[email protected]>
  8454. * ListBox.cs:
  8455. - Owner draw support
  8456. - Fixes
  8457. 2005-01-20 Jackson Harper <[email protected]>
  8458. * XplatUIStructs.cs: More misc keys
  8459. * X11Keyboard.cs: Ignore some control keys.
  8460. 2005-01-20 Jackson Harper <[email protected]>
  8461. * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
  8462. * X11Keyboard.cs: Set the AltGr mask when we get a key event.
  8463. 2005-01-19 Peter Bartok <[email protected]>
  8464. * Control.cs: Un-selecting the control when it is loosing focus
  8465. 2005-01-19 Jackson Harper <[email protected]>
  8466. * TreeView.cs: Hook up to the text controls leave event so we can
  8467. end editing when the users clicks outside the text box.
  8468. 2005-01-19 Jackson Harper <[email protected]>
  8469. * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
  8470. get set in the conversion array.
  8471. 2005-01-19 Peter Bartok <[email protected]>
  8472. * Application.cs (ModalRun): Added a call to CreateControl to ensure
  8473. focus is properly set
  8474. * Button.cs:
  8475. - Added missing attributes
  8476. - removed styles, those are already set in the base class
  8477. * ButtonBase.cs:
  8478. - Added missing attributes
  8479. - Added clip window styles
  8480. * CheckBox.cs: Added missing attributes
  8481. * CommonDialog.cs:
  8482. - FormParentWindow.CreateParams: Added required clip styles
  8483. * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
  8484. also filters modifier keys
  8485. * MessageBox.cs:
  8486. - Added assignment of Accept and Cancel button to enable Enter
  8487. and Esc keys in MessageBox dialogs
  8488. - FormParentWindow.CreateParams: Added required clip styles
  8489. * RadioButton.cs: Added missing attributes
  8490. * TextControl.cs: No longer draws selection if control does not
  8491. have focus
  8492. * TextBoxBase.cs:
  8493. - Now draws simple rectangle around test area to make it obvious
  8494. there's a control. This is a hack until we properly support borders
  8495. - A few simple fixes to support selections better, now erases selected
  8496. text when typing, and resets selection when using movement keys
  8497. 2005-01-19 Miguel de Icaza <[email protected]>
  8498. * UpDownBase.cs: Added some new properties.
  8499. * DomainUpDown.cs: Implement a lot to get my test working.
  8500. 2005-01-19 Geoff Norton <[email protected]>
  8501. * XplatUIOSX.cs: Fix a minor bug to bring the close box back
  8502. 2005-01-19 Geoff Norton <[email protected]>
  8503. * OSXStructs (WindowAttributes): Fixed csc complaints
  8504. 2005-01-19 Geoff Norton <[email protected]>
  8505. * XplayUIOSX.cs:
  8506. OSXStructs.cs: Initial refactor to move enums and consts into
  8507. OSXStructs and use them in the driver for greater readability.
  8508. 2005-01-19 Geoff Norton <[email protected]>
  8509. * XplatUIOSX.cs: Initial support for Standard Cursors.
  8510. * OSXStructs.cs: Move our structs here; added ThemeCursor enum
  8511. 2005-01-19 Jordi Mas i Hernandez <[email protected]>
  8512. * ComboBox.cs: ability to change style when the ctrl is already
  8513. created, missing methods and events, bug fixes, signature fixes
  8514. 2005-01-19 Peter Bartok <[email protected]>
  8515. * Cursors.cs (ctor): Added ctor to fix signature
  8516. 2005-01-18 Peter Bartok <[email protected]>
  8517. * Button.cs: Implemented DoubleClick event
  8518. * ButtonBase.cs:
  8519. - Fixed keyboard handling to behave like MS, where the press of
  8520. Spacebar is equivalent to a mousedown, and the key release is
  8521. equivalent to mouseup. Now a spacebar push will give the same
  8522. visual feedback like a mouse click.
  8523. - Added missing attributes
  8524. - Added ImeModeChanged event
  8525. - Added support for generating DoubleClick event for derived classes
  8526. * CheckBox.cs:
  8527. - Implemented DoubleClick event
  8528. - Added missing attributes
  8529. * CommonDialog.cs: Added missing attribute
  8530. * ContextMenu.cs: Added missing attributes
  8531. * RadioButton.cs:
  8532. - AutoChecked buttons do not allow to be unselected when clicked
  8533. (otherwise we might end up with no selected buttons in a group)
  8534. - Added missing attributes
  8535. - Implemented DoubleClickEvent
  8536. * ThreadExceptionDialog.cs: Enabled TextBox code
  8537. 2005-01-18 Peter Bartok <[email protected]>
  8538. * Form.cs: Removed debug output
  8539. * Button.cs: Added support for DoubleClick method
  8540. 2005-01-18 Peter Bartok <[email protected]>
  8541. * Form.cs:
  8542. - Added method to parent window that allows triggering size
  8543. calculations when a menu is added/removed
  8544. - set_Menu: Cleaned up mess from early days of Form and Control,
  8545. now properly triggers a recalc when a menu is added/removed
  8546. - Added case to select form itself as focused form if no child
  8547. controls exist
  8548. - Added PerformLayout call when showing dialog, to ensure properly
  8549. placed controls
  8550. * Control.cs:
  8551. - Select(): Made internal so Form can access it
  8552. - Focus(): Only call Xplat layer if required (avoids loop), and sets
  8553. status
  8554. * Application.cs (Run): Removed hack and calls PerformLayout instead
  8555. to trigger calculation when Form becomes visible
  8556. 2005-01-18 Jordi Mas i Hernandez <[email protected]>
  8557. * ComboBox.cs: fixes for ownerdraw
  8558. 2005-01-18 Peter Bartok <[email protected]>
  8559. * TextControl.cs:
  8560. - Sentinel is no longer static, each Document gets it's own, this
  8561. avoids locking or alternatively overwrite problems when more
  8562. than one text control is used simultaneously.
  8563. - Switched to use Hilight and HilightText brushes for text selection
  8564. * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
  8565. 2005-01-18 Peter Bartok <[email protected]>
  8566. * Control.cs:
  8567. - Hooked up the following events:
  8568. o ControlAdded
  8569. o ControlRemoved
  8570. o HandleDestroyed
  8571. o ImeModeChanged
  8572. o ParentChanged
  8573. o TabStopChanged
  8574. o Invalidated
  8575. o SystemColorsChanged
  8576. o ParentFontChanged
  8577. o Move
  8578. - Removed debug output
  8579. - Added a call to the current theme's ResetDefaults when a color change
  8580. is detected
  8581. * Form.cs: Now setting the proper ImeMode
  8582. * Theme.cs: Defined a method to force recreation of cached resources
  8583. and rereading of system defaults (ResetDefaults())
  8584. * ThemeWin32Classic.cs: Added ResetDefaults() stub
  8585. 2005-01-17 Peter Bartok <[email protected]>
  8586. * Control.cs: Added missing attributes
  8587. 2005-01-17 Jackson Harper <[email protected]>
  8588. * TreeNode.cs: Implement editing. Add missing properties selected
  8589. and visible.
  8590. * TreeView.cs: Implement node editing. Also some fixes to use
  8591. Invalidate (invalid area) instead of Refresh when selecting.
  8592. 2005-01-17 Peter Bartok <[email protected]>
  8593. * Control.cs:
  8594. - Implemented InvokeGotFocus() method
  8595. - Implemented InvokeLostFocus() method
  8596. - Implemented InvokePaint() method
  8597. - Implemented InvokePaintBackground() method
  8598. - Implemented InvokeClick() method
  8599. - Implemented FindForm() method
  8600. - Implemented RectangleToClient() method
  8601. - Implemented ClientToRectangle() method
  8602. - Implemented ResetBackColor() method
  8603. - Implemented ResetCursor() method
  8604. - Implemented ResetFont() method
  8605. - Implemented ResteForeColor() method
  8606. - Implemented ResetImeMode() method
  8607. - Implemented ResetLeftToRight() method
  8608. - Implemented ResetText() method
  8609. - Implemented Scale() methods
  8610. - Implemented ScaleCore() method
  8611. - Implemented Update() method
  8612. - Removed unused variables
  8613. - Stubbed AccessibilityNotifyClients and
  8614. ControlAccessibleObject.NotifyClients() methods (dunno what to do
  8615. with those yet)
  8616. - Now setting proper default for RightToLeft property
  8617. - Fixed bug in SetClientSizeCore that would cause windows to get
  8618. really big
  8619. - Now sending Click/DoubleClick events
  8620. - Now selecting controls when left mouse button is clicked on
  8621. selectable control
  8622. * AccessibleEvents.cs: Added
  8623. * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
  8624. * XplatUIOSX.cs: Stubbed UpdateWindow() method
  8625. * XplatUIWin32.cs: Implemented UpdateWindow() method
  8626. * XplatUIX11.cs: Implemented UpdateWindow() method
  8627. * Form.cs: Removed stray semicolon causing CS0162 warning
  8628. * ThemeWin32Classic.cs: Fixed unused variable warnings
  8629. * ScrollableControl.cs: Now calls base method for ScaleCore
  8630. * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
  8631. style to avoid interference with internal click handler (which is
  8632. different than standard Control click handling)
  8633. * RadioButton.cs:
  8634. - Now unchecks all sibling radio buttons when control is
  8635. selected (Fixes #68756)
  8636. - Removed internal tabstop variable, using the one inherited from
  8637. Control
  8638. 2005-01-17 Jackson Harper <[email protected]>
  8639. * NavigateEventArgs.cs: Fix base type.
  8640. * LinkLabel.cs: Sig fix
  8641. 2005-01-17 Jackson Harper <[email protected]>
  8642. * TreeView.cs: Only invalidate the effected nodes bounds when
  8643. selecting nodes.
  8644. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  8645. * XplatUIWin32.cs: fixes Win32 marshaling
  8646. * XplatUIX11.cs: fixes method signature
  8647. 2005-01-17 Peter Bartok <[email protected]>
  8648. * XplatUIX11.cs: Clean up resources when we no longer need them
  8649. 2005-01-17 Peter Bartok <[email protected]>
  8650. * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
  8651. OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
  8652. and DestroyCursor() methods.
  8653. * Cursor.cs: Partially implemented, now supports standard cursors;
  8654. still contains some debug code
  8655. * Cursors.cs: Implemented class
  8656. * Control.cs:
  8657. - WndProc(): Added handling of WM_SETCURSOR message, setting the
  8658. appropriate cursor
  8659. - Implemented Cursor property
  8660. - Replaced break; with return; more straightforwar and possibly
  8661. faster
  8662. - Now properly setting the result for WM_HELP
  8663. * X11Structs.cs: Added CursorFontShape enum
  8664. * XplatUIStructs.cs:
  8665. - Added StdCursor enum (to support DefineStdCursor() method)
  8666. - Added HitTest enum (to support sending WM_SETCURSOR message)
  8667. * XplatUIX11.cs:
  8668. - Now sends the WM_SETCURSOR message
  8669. - Implemented new cursor methods
  8670. * XplatUIOSX.cs: Stubbed new cursor methods
  8671. * XplatUIWin32.cs:
  8672. - Implemented new cursor methods
  8673. - Added GetSystemMetrics function and associated enumeration
  8674. 2005-01-15 Peter Bartok <[email protected]>
  8675. * Control.cs:
  8676. - WndProc(): Now handles EnableNotifyMessage
  8677. - SelectNextControl(): Fixed bug where if no child or sibling
  8678. controls exist we looped endlessly
  8679. 2005-01-14 Jackson Harper <[email protected]>
  8680. * TreeView.cs: Recalculate the tab pages when a new one is added
  8681. so that the proper bounding rects are created.
  8682. 2005-01-14 Jackson Harper <[email protected]>
  8683. * TreeView.cs: Draw a gray box instead of a grip in the lower
  8684. right hand corner when there are both horizontal and vertical
  8685. scroll bars.
  8686. 2005-01-14 Jackson Harper <[email protected]>
  8687. * Control.cs: When erasing backgrounds use FromHwnd instead of
  8688. FromHdc when there is a NULL wparam. This occurs on the X driver.
  8689. * XplatUIX11.cs: Set the wparam to NULL.
  8690. 2005-01-13 Jackson Harper <[email protected]>
  8691. * PictureBox.cs: Implement missing methods (except ToString, need
  8692. to test that on windows) and events. When visibility is changed we
  8693. need to redraw the image because the buffers are killed. When size
  8694. is changed refresh if the sizemode needs it.
  8695. 2005-01-13 Peter Bartok <[email protected]>
  8696. * Control.cs (SelectNextControl): Was using wrong method to select
  8697. a control
  8698. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  8699. * ComboBox.cs: fixes dropstyle
  8700. 2005-01-13 Peter Bartok <[email protected]>
  8701. * Form.cs:
  8702. - Implemented Select() override
  8703. - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
  8704. - Now sets keyboard focus on startup
  8705. * Control.cs (SelectNextControl): Now properly handles directed=true
  8706. * TextBoxBase.cs:
  8707. - WndProc: Now passes tab key on to base if AcceptTabChar=false
  8708. - Added (really bad) focus rectangle (mostly for testing)
  8709. * TextBox.cs: Added code to handle getting/loosing focus and invalidating
  8710. to enforce redraw on focus changes
  8711. * ContainerControl.cs:
  8712. - Fixed detection of Shift-Tab key presses
  8713. - Fixed traversal with arrow keys
  8714. * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
  8715. gonna keep this or if it's complete yet
  8716. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  8717. * ComboBox.cs: missing properties, fixes
  8718. 2005-01-13 Peter Bartok <[email protected]>
  8719. * Panel.cs (ctor): Setting Selectable window style to off
  8720. * Splitter.cs (ctor): Setting Selectable window style to off
  8721. * GroupBox.cs (ctor): Setting Selectable window style to off
  8722. * Label.cs (ctor): Setting Selectable window style to off
  8723. 2005-01-12 Miguel de Icaza <[email protected]>
  8724. * UpDownBase.cs (InitTimer): If the timer has been already
  8725. created, enable it.
  8726. Use a TextBox instead of a Label.
  8727. 2005-01-12 Jackson Harper <[email protected]>
  8728. * TreeView.cs: Refresh the tree after sorting the nodes. Always
  8729. draw the connecting node lines (when ShowLines is true).
  8730. * TreeNode.cs: The nodes index can now be updated. This is used
  8731. when a node collection is sorted.
  8732. * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
  8733. insert or an existing unsorted node collection can be sorted.
  8734. 2005-01-12 Peter Bartok <[email protected]>
  8735. * ContainerControl.cs: Implemented ProcessDialogKeys()
  8736. 2005-01-12 Peter Bartok <[email protected]>
  8737. * Control.cs:
  8738. - Implemented SelectNextControl() method
  8739. - Several focus related bug fixes
  8740. - Fixed Docking calculations to match MS documentation and
  8741. behaviour
  8742. 2005-01-12 Jordi Mas i Hernandez <[email protected]>
  8743. * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
  8744. bug fixes
  8745. 2005-01-12 Peter Bartok <[email protected]>
  8746. * Control.cs:
  8747. - Fixed broken Contains() method
  8748. - Implemented GetNextControl() method. Finally. This is the pre-
  8749. requisite for focus handling.
  8750. 2005-01-12 Peter Bartok <[email protected]>
  8751. * OSXStrucs.cs: Added
  8752. 2005-01-12 Peter Bartok <[email protected]>
  8753. * XplatUIWin32.cs:
  8754. - Removed PeekMessageFlags
  8755. - Implemented SetWindowStyle() method
  8756. * XplatUIStructs.cs: Added PeekMessageFlags
  8757. * X11Structs: Added missing border_width field to XWindowChanges struct
  8758. * XplatUIX11.cs:
  8759. - PeekMessage: Now throws exception if flags which are not yet
  8760. supported are passed
  8761. - Implemented SetWindowStyle() method
  8762. - Fixed SetZOrder to handle AfterHwnd properly
  8763. * XplatUI.cs: Added SetWindowStyle() method
  8764. * XplatUIDriver.cs: Added SetWindowStyle() abstract
  8765. * Control.cs:
  8766. - Implemented UpdateStyles() method
  8767. - Implemented UpdateZOrder() method
  8768. * XplatUIOSX.cs: Added SetWindowStyle() stub
  8769. 2005-01-12 Geoff Norton <[email protected]>
  8770. * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
  8771. button mouse).
  8772. 2005-01-11 Jackson Harper <[email protected]>
  8773. * TreeView.cs: Still need to draw lines to siblings even if out of
  8774. the current node is out of the clip.
  8775. 2005-01-11 Jackson Harper <[email protected]>
  8776. * TreeView.cs: When setting the hbar/vbar/grip position use
  8777. SetBounds so that perform layout is only called once. Also suspend
  8778. and resume layout so layout is only done once for all controls.
  8779. - Removed some debug fluff
  8780. * SizeGrip.cs: Call base implmentation in overriding methods.
  8781. - When visibility is changed the drawing buffers are killed so we
  8782. need to redraw.
  8783. 2005-01-11 Jackson Harper <[email protected]>
  8784. * TreeView.cs: Calculate the open node count while drawing. This
  8785. saves us an entire tree traversal for every paint operation. Use
  8786. a member var for the open node count so less vars are passed around.
  8787. 2005-01-11 John BouAntoun <[email protected]>
  8788. * MonthCalendar.cs:
  8789. - fixed selection to use mousemove, not mouse polling on timer
  8790. * ThemeWin32Classic.cs
  8791. - removed redundant unused variable "no_more_content"
  8792. 2005-01-11 Peter Bartok <[email protected]>
  8793. * XplatUIX11.cs (DoEvents): Needs to return when no more events
  8794. are pending, so it now calls PeekMessage instead of GetMessage;
  8795. implemented a incomplete version of PeekMessage
  8796. 2005-01-11 Peter Bartok <[email protected]>
  8797. * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
  8798. I18n issues
  8799. * TextBoxBase.cs: Added sending of TextChanged event
  8800. 2005-01-10 Jackson Harper <[email protected]>
  8801. * TreeView.cs: Try not to draw outside the clipping rectangle on
  8802. each node element.
  8803. 2005-01-10 Jordi Mas i Hernandez <[email protected]>
  8804. * ComboBox.cs: keyboard navigation, item navigation, bug fixes
  8805. 2005-01-10 Jackson Harper <[email protected]>
  8806. * TreeView.cs:
  8807. - Implement fast scrolling. Now only the newly
  8808. exposed nodes are drawn and the old image is moved using the
  8809. XplatUI::ScrollWindow method.
  8810. - Factor in height of nodes when calculating whether or not the
  8811. node is in the clipping rect.
  8812. 2005-01-10 Jackson Harper <[email protected]>
  8813. * TreeNodeCollection.cs: Refresh the tree when a new node is added.
  8814. 2005-01-10 Peter Bartok <[email protected]>
  8815. * Application.cs: Added temporary hack to resolve all our resize
  8816. required issues on startup. This will get fixed properly at
  8817. some point in the future
  8818. 2005-01-10 Jackson Harper <[email protected]>
  8819. * SizeGrip.cs: New internal class that is used as a sizing
  8820. grip control...hence the name.
  8821. 2005-01-10 Peter Bartok <[email protected]>
  8822. * Control.cs: Implemented proper TabIndex handling, now assigning
  8823. a tabindex when a control is added to a container
  8824. * GroupBox.cs (ctor): Now sets the Container style bit, required
  8825. for Control.GetNextControl()
  8826. 2005-01-09 Jackson Harper <[email protected]>
  8827. * TextBoxBase.cs: Clear window when scrolling (fixes build).
  8828. 2005-01-09 Peter Bartok <[email protected]>
  8829. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  8830. XplatUIX11.cs: Added ability to control ScrollWindow expose and
  8831. an overload for ScrollWindow to allow only scrolling a rectangle
  8832. 2005-01-09 Peter Bartok <[email protected]>
  8833. * Form.cs:
  8834. - Implemented SetDesktopBounds method
  8835. - Implemented SetDesktopLocation method
  8836. 2005-01-08 Jackson Harper <[email protected]>
  8837. * TreeView.cs: Only set the vbar's Maximum and LargeChange when
  8838. the node count has changed, this removes to VScroll::Refresh calls
  8839. when drawing.
  8840. 2005-01-08 Geoff Norton <[email protected]>
  8841. * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
  8842. 2005-01-07 Jackson Harper <[email protected]>
  8843. * TreeNode.cs: Just update the single node when it is
  8844. checked. Don't refresh after toggling, the Expand/Collapse already
  8845. handles this.
  8846. * TreeView.cs: Respect clipping a little more when drawing. Try
  8847. not to redraw things that don't need to be redrawn. Just hide the
  8848. scrollbars when they are no longer needed instead of removing
  8849. them, so they don't have to be created again and again.
  8850. 2005-01-07 Geoff Norton <[email protected]>
  8851. * XplatUIOSX.cs (SetCaretPos): We need to translate the view
  8852. coordinates to window space to place the caret properly, FIXED.
  8853. Implement GetWindowState & SetWindowState
  8854. 2005-01-06 Peter Bartok <[email protected]>
  8855. * Form.cs:
  8856. - Implemented ClientSize property
  8857. - Implemented DesktopBounds property
  8858. - Implemented DesktopLocation property
  8859. - Implemented IsRestrictedWindow property
  8860. - Implemented Size property
  8861. - Implemented TopLevel property
  8862. - Implemented FormWindowState property
  8863. * Control.cs:
  8864. - Implemented GetTopLevel() method
  8865. - Implemented SetTopLevel() method
  8866. * X11Structs.cs (Atom):
  8867. - Added AnyPropertyType definition
  8868. - Added MapState definiton and updated XWindowAttribute struct
  8869. * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
  8870. * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
  8871. * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
  8872. * XplatUIWin32.cs:
  8873. - Implemented GetWindowState() and SetWindowState() methods
  8874. - Fixed Win32GetWindowLong return type
  8875. * XplatUIX11.cs:
  8876. - Introduced central function for sending NET_WM messages
  8877. - Implemented GetWindowState() and SetWindowState() methods
  8878. * TextBoxBase.cs (set_Lines):
  8879. - Now uses Foreground color for text added via Text property (Duh!)
  8880. - Added code to remember programmatically requested size (fixes
  8881. behaviour when Multiline is set after Size)
  8882. - Added AutoSize logic
  8883. 2005-01-06 Jackson Harper <[email protected]>
  8884. * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
  8885. 2005-01-06 Jackson Harper <[email protected]>
  8886. * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
  8887. set to less then 0.
  8888. 2005-01-06 Jackson Harper <[email protected]>
  8889. * ScrollableControl.cs: Lazy init the scrollbars.
  8890. 2005-01-06 Jackson Harper <[email protected]>
  8891. * Theme.cs: Speed up getting pens and solid brushes, by using
  8892. their ARGB as a hash instead of tostring and not calling Contains.
  8893. 2005-01-06 Peter Bartok <[email protected]>
  8894. * Form.cs:
  8895. - Implemented OnActivated and OnDeactivate event trigger
  8896. - Implemented Activate() method
  8897. - Fixed ShowDialog() to activate the form that was active before
  8898. the dialog was shown
  8899. * XplatUIX11.cs:
  8900. - Added global active_window var that tracks the currently active
  8901. X11 window
  8902. - Now always grabs Property changes from the root window to always
  8903. catch changes on the active window property
  8904. - Added code to PropertyNotify handler to send Active/Inactive
  8905. messages when state changes. This puts X11 and Win32 en par on
  8906. WM_ACTIVATE notifications (except for double notifications when
  8907. the user clicks away from our modal window to another one of our
  8908. windows)
  8909. 2005-01-05 Jackson Harper <[email protected]>
  8910. * ImageList.cs: Implment ctor
  8911. 2005-01-05 Geoff Norton <[email protected]>
  8912. * XplatUIOSX.cs: Implement Activate/SetTopmost
  8913. 2005-01-05 Geoff Norton <[email protected]>
  8914. * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
  8915. 2005-01-05 Geoff Norton <[email protected]>
  8916. * XplatUIOSX.cs: Implement GetActive/SetFocus.
  8917. 2005-01-05 Peter Bartok <[email protected]>
  8918. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
  8919. XplatUIOSX.cs: Added GetActive method to return the currently
  8920. active window for the application (or null, if none is active)
  8921. * Form.cs:
  8922. - Implemented ActiveForm
  8923. - Commented out owner assignment for modal dialogs (causes problems
  8924. on Win32, since the owner will be disabled)
  8925. - Reworked some Active/Focus handling (still incomplete)
  8926. * CommonDialog.cs: Commented out owner assignment for modal dialogs
  8927. (causes problems on Win32, since the owner will be disabled)
  8928. * IWin32Window: Added ComVisible attribute
  8929. 2005-01-05 Peter Bartok <[email protected]>
  8930. * ToolTip.cs (WndProc): Enable setting focus now that we have the
  8931. required XplatUI functions.
  8932. 2005-01-05 Peter Bartok <[email protected]>
  8933. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
  8934. XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
  8935. to implement focus and activation handling; still incomplete and
  8936. with debug output
  8937. 2005-01-04 Peter Bartok <[email protected]>
  8938. * TextBoxBase.cs: Changed access level for Document property to
  8939. match switch to internal for TextControl
  8940. 2005-01-04 Peter Bartok <[email protected]>
  8941. * AccessibleObject: Added ComVisible attribute
  8942. 2005-01-04 Jackson Harper <[email protected]>
  8943. * X11Keyboard.cs: Remove unneeded var.
  8944. 2005-01-04 Jackson Harper <[email protected]>
  8945. * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
  8946. but PAINT.
  8947. * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
  8948. ClientMessage. This makes apps exit cleanly (more often).
  8949. 2005-01-04 Jackson Harper <[email protected]>
  8950. * TreeNode.cs: Patches by Kazuki Oikawa ([email protected]) for
  8951. handling focus, return correct colors and fonts,
  8952. * TreeView.cs: Patches by Kazuki Oikawa ([email protected]) to
  8953. handle selection, horizontal scrolling, and mouse interaction.
  8954. 2005-01-04 Peter Bartok <[email protected]>
  8955. * ICommandExecutor.cs: Added
  8956. * IDataGridColumnStyleEditingNotificationService.cs: Added
  8957. * IFeatureSupport.cs: Added
  8958. * IFileReaderService.cs: Added
  8959. * IDataObject.cs: Added ComVisible attribute
  8960. * AmbientProperties.cs: Added
  8961. * BaseCollection.cs: Added missing attributes
  8962. * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
  8963. * BaseCollection.cs: Added missing attributes
  8964. * Binding.cs: Added TypeConverter attribute
  8965. * BindingContext.cs: Added DefaultEvent attribute
  8966. * BindingsCollection.cs: Added DefaultEvent attribute
  8967. * Button.cs: Added DefaultValue attribute
  8968. * DragEventArgs.cs: Added ComVisible attribute
  8969. * GiveFeedbackEventArgs.cs: Added ComVisible attribute
  8970. * KeyEventArgs.cs: Added ComVisible attribute
  8971. * KeyPressEventArgs.cs: Added ComVisible attribute
  8972. * MouseEventArgs.cs: Added ComVisible attribute
  8973. * NavigateEventArgs.cs: Added
  8974. * NavigateEventHandler.cs: Added
  8975. * FeatureSupport.cs: Added
  8976. * OSFeature.cs: Added
  8977. * Theme.cs: Added abstract Version property to support OSFeature
  8978. * ThemeWin32Classic.cs: Added Version property to
  8979. support OSFeature.Themes
  8980. * ProgressBar.cs: Removed OnPaintBackground override, not required since
  8981. the proper styles to avoid background drawing are set, also doesn't
  8982. match MS signature
  8983. * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
  8984. * QueryContinueDragEventArgs.cs: Added ComVisible attribute
  8985. * ScrollEventArgs.cs: Added ComVisible attribute
  8986. * SplitterEventArgs.cs: Added ComVisible attribute
  8987. * AccessibleSelection.cs: Added Flags attribute
  8988. * Appearance.cs: Added ComVisible attribute
  8989. * Border3DSide.cs: Added ComVisible attribute
  8990. * Border3DStyle.cs: Added ComVisible attribute
  8991. * BorderStyle.cs: Added ComVisible attribute
  8992. * DragAction.cs: Added ComVisible attribute
  8993. * ErrorBlinkStyle.cs: Added
  8994. * ScrollEventType.cs: Added ComVisible attribute
  8995. * AnchorStyles.cs: Added Editor attribute
  8996. * DockStyle.cs: Added Editor attribute
  8997. * HorizontalAlignment.cs: Added ComVisible attribute
  8998. * HelpEventArgs.cs: Added ComVisible attribute
  8999. * PaintEventArgs.cs: Added IDisposable
  9000. 2005-01-04 Peter Bartok <[email protected]>
  9001. * TextControl.cs: Switched Line, LineTag and Document classes to
  9002. internal
  9003. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  9004. * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
  9005. Simple mode, fixes, IntegralHeight, etc.
  9006. 2005-01-04 Peter Bartok <[email protected]>
  9007. * TextBoxBase.cs: Using proper font variable now
  9008. 2005-01-04 Peter Bartok <[email protected]>
  9009. * Form.cs (ShowDialog): Set parent to owner, if provided
  9010. * GroupBox.cs: Removed unused vars
  9011. * TextControl.cs:
  9012. - Added GetHashCode() for Document and LineTag classes
  9013. - Removed unused variables
  9014. - Added CharIndexToLineTag() and LineTagToCharIndex() methods
  9015. to allow translation between continuous char position and line/pos
  9016. * CheckBox.cs: Removed vars that are provided by base class
  9017. * RadioButton.cs: Removed vars that are provided by base class, added
  9018. new keyword where required
  9019. * LinkLabel.cs: Added new keyword where required
  9020. * Control.cs (WndProc): Removed unused variable
  9021. * TextBoxBase.cs:
  9022. - Finished SelectionLength property
  9023. - Implemented SelectionStart property
  9024. - Implemented Text property
  9025. - Removed unused vars
  9026. * MessageBox.cs: Added new keyword where required
  9027. * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
  9028. WndProc signature
  9029. * MenuAPI.cs: Added new keyword where required
  9030. * ButtonBase.cs: Removed vars that are provided by base class, added
  9031. new keyword where required
  9032. * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
  9033. argument to double, to allow compiling with csc 2.0 (Atsushi ran
  9034. into this)
  9035. * Application.cs (Run): Now triggers the ThreadExit event
  9036. * CommonDialog.cs: Added new keyword where required; now properly sets
  9037. parent (owner) for dialog
  9038. * XplatUIX11.cs: Commented out unused vars
  9039. * StatusBar.cs: Fixed signature for Text property
  9040. * TabPage.cs: Undid Jordi's removal of unused var, now using the var
  9041. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  9042. * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
  9043. TrackBar.cs, MonthCalendar.cs: remove unused vars
  9044. 2005-01-03 Jackson Harper <[email protected]>
  9045. * ThemeWin32Classic.cs:
  9046. * X11Keyboard.cs: Remove unused vars.
  9047. 2005-01-03 Peter Bartok <[email protected]>
  9048. * TextBox.cs:
  9049. - set_Text: Tied into TextControl
  9050. - set_TextAlignment: Tied into TextControl
  9051. * TextControl.cs:
  9052. - Added alignment properties and implemented alignment handling
  9053. and drawing (still has a bug, not generating proper expose events)
  9054. - Added new Line() constructor to allow passing the line alignment
  9055. - Fixed selection setting, properly handling end<start now
  9056. - Added aligment considerations to RecalculateDocument()
  9057. * TextBoxBase.cs:
  9058. - Now properly enforces control height for single line controls
  9059. - Added support for CharacterCasing
  9060. - Added IsInputKey override
  9061. - Fixed Keys.Enter logic
  9062. - Added SetBoundsCore override
  9063. - Fixed mouse selection handling
  9064. 2005-01-03 Jackson Harper <[email protected]>
  9065. * TreeView.cs:
  9066. - Collapse and uncheck all nodes when CheckBoxes is disabled.
  9067. - Checkboxes are always aligned to the bottom of the node,
  9068. regardless of item height.
  9069. - Use the node bounds to draw the text so we can center it when
  9070. the item height is greater then the font height.
  9071. - Node::Bounds are only the text part of the node.
  9072. * TreeNode.cs: New method to combine collapsing and unchecking all
  9073. nodes recursively.
  9074. 2005-01-02 Jackson Harper <[email protected]>
  9075. * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
  9076. * TreeNode.cs: Add a bounding box for the checkbox, refresh the
  9077. tree when a check is changed. TODO: Only refresh the checked node.
  9078. 2004-12-30 Jackson Harper <[email protected]>
  9079. * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
  9080. * TreeNode.cs: When collapsing make sure to never collapse the
  9081. root node.
  9082. 2004-12-29 Jackson Harper <[email protected]>
  9083. * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
  9084. 2004-12-28 Zoltan Varga <[email protected]>
  9085. * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
  9086. 2004-12-28 Peter Bartok <[email protected]>
  9087. * MessageBox.cs (get_CreateParams): Don't use owner var if it's
  9088. not yet assigned
  9089. 2004-12-28 Peter Bartok <[email protected]>
  9090. * Control.cs (WndProc): Added WM_HELP handler, now generates
  9091. HelpRequested event
  9092. * Form.cs: Added HelpButton property and required support code
  9093. * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
  9094. 2004-12-28 Peter Bartok <[email protected]>
  9095. * CommonDialog.cs:
  9096. - Made DialogForm.owner variable internal
  9097. - Added check to ensure owner form is set before setting
  9098. owner properties in CreateParams
  9099. 2004-12-28 Geoff Norton <[email protected]>
  9100. * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
  9101. swizzling. Implement ClientToScreen and ScreenToClient. Implement
  9102. GetCursorPos. Fix major visibility issues. Rework the windowing
  9103. system to support borderless/titleless windows (implements menus).
  9104. Fix GetWindowPos. Implement initial background color support for
  9105. views.
  9106. 2004-12-28 Peter Bartok <[email protected]>
  9107. * Form.cs (get_CreateParams): Make sure we have an owner before using
  9108. the owner variable. Implement proper default if no owner exists
  9109. 2004-12-28 Peter Bartok <[email protected]>
  9110. * In preparation for making Managed.Windows.Forms the default build target
  9111. for System.Windows.Forms, the following stubbed files were added.
  9112. Dialogs are currently being implemented by contributors and are only
  9113. short-term place holders.
  9114. * ColorDialog.cs: Initial check-in (minmal stub)
  9115. * DataGrid.cs: Initial check-in (minimal stub)
  9116. * DataGridLineStyle.cs: Initial check-in (minimal stub)
  9117. * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
  9118. * DataGridTableStyle.cs: Initial check-in (minimal stub)
  9119. * FontDialog.cs: Initial check-in (minimal stub)
  9120. * FileDialog.cs: Initial check-in (minimal stub)
  9121. * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
  9122. * GridTableStylesCollection.cs: Initial check-in (minimal stub)
  9123. * OpenFileDialog: Initial check-in (minimal stub)
  9124. * IComponentEditorPageSite.cs: Initial check-in
  9125. * Splitter.cs: Initial check-in (for Jackson)
  9126. * SplitterEventArgs.cs: Initial check-in (for Jackson)
  9127. * SplitterEventHandler.cs: Initial check-in (for Jackson)
  9128. * TextBox.cs: Initial check-in; still needs some wiring to
  9129. TextControl backend
  9130. * Form.cs: Implemented ControlBox property
  9131. * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
  9132. * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
  9133. * TextControl.cs: Added selection functionality; added todo header
  9134. * TextBoxBase.cs:
  9135. - Implemented Lines property
  9136. - Implemented TextHeight property
  9137. - Implemented SelectedText property
  9138. - Implemented SelectionLength property
  9139. - Implemented SelectAll method
  9140. - Implemented ToString method
  9141. - Removed and cleaned up some debug code
  9142. - Implemented (still buggy) mouse text selection
  9143. 2004-12-27 Jordi Mas i Hernandez <[email protected]>
  9144. * ComboBox.cs: Complete DropDownList implementation, fixes.
  9145. 2004-12-26 Jordi Mas i Hernandez <[email protected]>
  9146. * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
  9147. * ComboBoxStyle.cs: ComboBoxStyle enum
  9148. * ComboBox.cs: Initial work on ComboBox control
  9149. 2004-12-21 Peter Bartok <[email protected]>
  9150. * Control.cs (ctor, CreateParams): Moved setting of is_visible
  9151. forward so that anything that creates a window gets the default,
  9152. also no longer uses Visible property in CreateParams to avoid
  9153. walking up the parent chain and possibly get the wrong visible
  9154. status. Fixed IsVisible to no longer walk up to the parent.
  9155. 2004-12-21 Peter Bartok <[email protected]>
  9156. * Form.cs (ShowDialog): Unset modality for the proper window
  9157. 2004-12-20 Peter Bartok <[email protected]>
  9158. * CommonDialog.cs: Initial check-in
  9159. 2004-12-20 Peter Bartok <[email protected]>
  9160. * Control.cs (Visible): Now uses the parent window instead of the
  9161. client area window for the property
  9162. * Form.cs
  9163. - ShowDialog(): Now uses the proper window for modality
  9164. - The default visibility state for the form parent is now false. This
  9165. will prevent the user from seeing all the changes to the form and
  9166. its controls before the application hits Application.Run()
  9167. - Removed some stale commented out code
  9168. * NativeWindow.cs:
  9169. - Added FindWindow() method to have a method to check for existence
  9170. of a window handle
  9171. - Added ability to override default exception handling (for example
  9172. when debugging with VS.Net; to do this the ExternalExceptionHandler
  9173. define must be set
  9174. - Removed some useless debug output
  9175. * XplatUIX11.cs:
  9176. - Removed r37929 (SetModal patch from Ashwin Bharambe), was
  9177. not working as expected
  9178. - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
  9179. property to allow switching back to the modal window if focus is
  9180. given to another one of our windows (Application Modal)
  9181. - Now only sets override_redirect if we create a window
  9182. without WS_CAPTION
  9183. - Moved EventMask selection before mapping of newly created window
  9184. so we can catch the map event as well
  9185. - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
  9186. - Added various Atom related DllImports
  9187. - Implemented Exit() method
  9188. - .ctor() : No longer shows window if WS_VISIBLE is not defined
  9189. in the CreateParams
  9190. * MessageBox.cs: Now properly deals with the FormParent window by
  9191. providing an override the FormParent CreateParams property to
  9192. set as POPUP instead of OVERLAPPED window.
  9193. 2004-12-19 Geoff Norton <[email protected]>
  9194. * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
  9195. Minor code cleanup.
  9196. 2004-12-19 Geoff Norton <[email protected]>
  9197. * XplatUIOSX.cs (SetModal): Implement this method on OSX.
  9198. 2004-12-18 Peter Bartok <[email protected]>
  9199. * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
  9200. implementing SetModal() method
  9201. 2004-12-18 Peter Bartok <[email protected]>
  9202. * X11Structs.cs (XGCValues): Fixed type of function element
  9203. * XplatUI.cs: Added ScrollWindow() method
  9204. * XplatUIDriver.cs: Added ScrollWindow() abstract
  9205. * XplatUIWin32.cs: Implemented ScrollWindow() method
  9206. * XplatUIX11.cs: Implemented ScrollWindow() method
  9207. * XplatUIOSX.cs: Stubbed out ScrollWindow() method
  9208. 2004-12-17 Geoff Norton <[email protected]>
  9209. * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
  9210. Some more keyboard support (INCOMPLETE)
  9211. 2004-12-17 Peter Bartok <[email protected]>
  9212. * TextControl.cs:
  9213. - Added color attribute to line tags.
  9214. - Added color argument to all functions dealing with tags
  9215. - Added color argument support to various functions
  9216. - Fixed miss-calculation of baseline/shift in certain circumstances
  9217. * TextBoxBase.cs: Added new color option to test code
  9218. 2004-12-17 Jackson Harper <[email protected]>
  9219. * TreeNode.cs:
  9220. * MonthCalendar.cs: Signature fixes
  9221. 2004-12-17 Geoff Norton <[email protected]>
  9222. * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
  9223. keyboard event moved it. Create a new graphics context for each paint resolves this
  9224. 2004-12-17 Geoff Norton <[email protected]>
  9225. * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
  9226. Make caret exist and go blink blink. Initial keyboard support.
  9227. Fix exception handler, Add Invalidate support. Change way RefreshWindow
  9228. works.
  9229. 2004-12-17 Jackson Harper <[email protected]>
  9230. * XplatUIStructs.cs: Updated set of virtual keycodes.
  9231. * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
  9232. 2004-12-17 Jackson Harper <[email protected]>
  9233. * XplatUIX11.cs: Prune old keyboard code.
  9234. 2004-12-17 Jackson Harper <[email protected]>
  9235. * XplatUIX11.cs: When generating mouse wparams get the modifier
  9236. keys from the ModifierKeys property.
  9237. 2004-12-17 Jackson Harper <[email protected]>
  9238. * X11Keyboard.cs: Send up/down input when generating
  9239. messages. Remove some unused vars.
  9240. 2004-12-17 Jackson Harper <[email protected]>
  9241. * TabControl.cs:
  9242. * TreeView.cs: get rid of warnings.
  9243. 2004-12-17 Jackson Harper <[email protected]>
  9244. * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
  9245. 2004-12-17 Jordi Mas i Hernandez <[email protected]>
  9246. * ListBox.cs: bug fixes, changes for CheckedListBox.cs
  9247. CheckedListBox.cs: Implementation
  9248. 2004-12-17 Peter Bartok <[email protected]>
  9249. * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
  9250. 2004-12-16 Peter Bartok <[email protected]>
  9251. * TextControl.cs:
  9252. - InsertCharAtCaret(): Fixed start pos fixup
  9253. - CaretLine_get: No longer derives the line from the tag, the tag
  9254. could be stale if lines in the document have been added or deleted
  9255. - RebalanceAfterDelete(): Fixed bug in balancing code
  9256. - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
  9257. - Line.Streamline(): Now can also elminate leading empty tags
  9258. - DumpTree(): Added a few more tests and prevented exception on
  9259. uninitialized data
  9260. - Added Debug section for Combining lines
  9261. - Delete(): Now copies all remaining properties of a line
  9262. * TextBoxBase.cs:
  9263. - Left mousebutton now sets the caret (and middle button still acts
  9264. as formatting tester, which must go away soon)
  9265. - Added Debug section for Deleting/Combining lines
  9266. - Fixed calculations for UpdateView after Combining lines
  9267. 2004-12-16 Peter Bartok <[email protected]>
  9268. * TextControl.cs: Now properly aligns text on a baseline, using the
  9269. new XplatUI.GetFontMetrics() method. Simplified several calculations
  9270. * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
  9271. defined
  9272. 2004-12-16 Peter Bartok <[email protected]>
  9273. * XplatUI.cs: Added GetFontMetrics() method
  9274. * XplatUIDriver.cs: Added GetFontMetrics() abstract
  9275. * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
  9276. into libgdiplus, our private GetFontMetrics function
  9277. * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
  9278. * XplatUIWin32.cs: Implemented GetFontMetrics() method
  9279. 2004-12-16 Jackson Harper <[email protected]>
  9280. * XplatUIStruct.cs: Add enum for dead keys
  9281. * X11Keyboard.cs: Map and unmap dead keys.
  9282. 2004-12-16 Jackson Harper <[email protected]>
  9283. * X11Keyboard.cs: Detect and use the num lock mask.
  9284. 2004-12-16 Peter Bartok <[email protected]>
  9285. * Control.cs (CreateGraphics): Added check to make sure the
  9286. handle of the window exists before calling Graphics.FromHwnd()
  9287. 2004-12-16 Peter Bartok <[email protected]>
  9288. * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
  9289. contains a lot of code that's not supposed to be there for the
  9290. real thing, but required for developing/testing the textbox
  9291. backend.
  9292. 2004-12-16 Peter Bartok <[email protected]>
  9293. * TextControl.cs:
  9294. - Fixed Streamline method
  9295. - Added FindTag method to Line
  9296. - Added DumpTree method for debugging
  9297. - Added DecrementLines() method for deleting lines
  9298. - Fixed UpdateView to update the cursor to end-of-line on single-line
  9299. updates
  9300. - Added PositionCaret() method
  9301. - Fixed MoveCaret(LineDown) to move into the last line, too
  9302. - Added InsertChar overload
  9303. - Fixed InsertChar tag offset calculations
  9304. - Added DeleteChar() method
  9305. - Added Combine() method for folding lines
  9306. - Fixed Delete() method, no longer allocates wasted Line object and
  9307. now copies all properties when swapping nodes
  9308. - Delete() method now updates document line counter
  9309. 2004-12-15 Jackson Harper <[email protected]>
  9310. * XplatUIX11.cs: Get the modifier keys from the keyboard driver
  9311. * X11Keyboard.cs: Expose the currently selected modifier keys
  9312. through a property.
  9313. 2004-12-15 Peter Bartok <[email protected]>
  9314. * TextControl.cs: Initial check-in. Still incomplete
  9315. 2004-12-15 Jackson Harper <[email protected]>
  9316. * TreeNode.cs:
  9317. * TreeView.cs: Fix build on csc (second time today ;-))
  9318. 2004-12-15 Jackson Harper <[email protected]>
  9319. * TreeView.cs: Store the treenodes plus/minus box bounds when it
  9320. is calculated and use this for click testing.
  9321. * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
  9322. 2004-12-15 Jackson Harper <[email protected]>
  9323. * TreeView.cs: Pass the nodes image index to the image list when
  9324. drawing that image.
  9325. 2004-12-15 Jackson Harper <[email protected]>
  9326. * X11Keyboard.cs: Set messages hwnd.
  9327. * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
  9328. post_message calls.
  9329. 2004-12-15 Jackson Harper <[email protected]>
  9330. * X11Keyboard.cs: Fix to compile with csc.
  9331. 2004-12-15 Jackson Harper <[email protected]>
  9332. * X11Structs.cs: Add key mask values
  9333. * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
  9334. * X11Keyboard.cs: New file - Extrapolates and interpolates key
  9335. down/up foo into WM_CHAR foo
  9336. * KeyboardLayouts.cs: Common keyboard layouts
  9337. * XplatUIX11.cs: Add the keyboard driver. Add functionality to
  9338. post messages into the main queue.
  9339. 2004-12-13 Jordi Mas i Hernandez <[email protected]>
  9340. * Button.cs: implement ProcessMnemonic
  9341. * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
  9342. brushes everytime
  9343. * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
  9344. * ButtonBase.cs: Show HotkeyPrefix (not the &)
  9345. 2004-12-12 John BouAntoun <[email protected]>
  9346. * MonthCalendar.cs: Implemented click-hold for next/previous month
  9347. and date selection
  9348. 2004-12-11 Peter Bartok <[email protected]>
  9349. * X11Structs.cs:
  9350. - Added XKeyboardState (moved from XplatUIX11.cs)
  9351. - Added XCreateGC related enums and structures
  9352. - Added GXFunction for XSetFunction
  9353. * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
  9354. * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
  9355. CaretVisible() calls
  9356. * ToolTip.cs: Added code to prevent stealing focus from app windows
  9357. * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
  9358. DestroyCaret, SetCaretPos and CaretVisible)
  9359. * XplatUIX11.cs:
  9360. - Added implementation for caret functions
  9361. - Moved hover variables into a struct, to make it a bit easier
  9362. on the eyes and to debug
  9363. - Removed XKeyboardState (moved to XplatUIX11.cs)
  9364. - Moved Keyboard properties into the properties region
  9365. * Control.cs (get_Region): Control.CreateGraphics is the appropriate
  9366. call to get a graphics context for our control
  9367. * XplatUIOSX.cs: Added empty overrides for the new caret functions
  9368. * TreeView.cs: Fixed bug. No matter what color was set it would always
  9369. return SystemColors.Window
  9370. * XplatUIWin32.cs: Implemented caret overrides
  9371. 2004-12-10 Jordi Mas i Hernandez <[email protected]>
  9372. * ListBox.cs: fire events, implement missing methods and properties,
  9373. sorting.
  9374. 2004-12-10 John BouAntoun <[email protected]>
  9375. * MonthCalendar.cs: invalidation bug fixing
  9376. * ThemeWin32Classic.cs: paint fixing
  9377. 2004-12-09 Geoff Norton <[email protected]>
  9378. * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
  9379. prepare the CGContextRef there now.
  9380. 2004-12-09 John BouAntoun <[email protected]>
  9381. * MonthCalendar.cs:
  9382. - optimisationL only invalidate areas that have changed
  9383. * ThemeWin32Classic.cs:
  9384. - only paint parts that intersect with clip_area
  9385. 2004-12-09 Peter Bartok <[email protected]>
  9386. * Application.cs: Undid changes from r37004 which cause problems
  9387. on X11
  9388. 2004-12-09 Ravindra <[email protected]>
  9389. * ToolBar.cs: Added support for displaying ContextMenu
  9390. attached to a button on ToolBar.
  9391. * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
  9392. property.
  9393. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  9394. * Label.cs: autosize works in text change and removes unnecessary
  9395. invalidate
  9396. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  9397. * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  9398. remove warnings
  9399. 2004-12-08 Geoff Norton <[email protected]>
  9400. * XplatUIOSX.cs: Added mouse move/click/grab support
  9401. Remove some debugging WriteLines not needed anymore.
  9402. Add window resizing/positioning.
  9403. Fix visibility on reparenting.
  9404. 2004-12-08 Peter Bartok <[email protected]>
  9405. * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
  9406. 2004-12-07 Geoff Norton <[email protected]>
  9407. * XplatUIOSX.cs: Initial checkin
  9408. * XplatUI.cs: Use the Quartz driver if the environment is set to use it
  9409. 2004-12-03 Ravindra <[email protected]>
  9410. * ListView.cs: Added some keybindings and fixed scrolling.
  9411. ScrollBars listen to ValueChanged event instead of Scroll
  9412. Event. This would let us take care of all changes being
  9413. done in the scrollbars' values programmatically or manually.
  9414. * ListView.cs (CanMultiselect): Added a check for shift key.
  9415. * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
  9416. * ListViewItem.cs (Clone): Fixed. We need to make a copy
  9417. of ListViewSubItemCollection as well.
  9418. 2004-12-06 Peter Bartok <[email protected]>
  9419. * Control.cs (Parent): Added check and exception to prevent
  9420. circular parenting
  9421. 2004-12-03 Jordi Mas i Hernandez <[email protected]>
  9422. * ListBox.cs: implemented clipping, selection single and multiple,
  9423. bug fixing
  9424. 2004-12-03 Ravindra <[email protected]>
  9425. * ListView.cs (ListView_KeyDown):
  9426. * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
  9427. when CTRL key is pressed.
  9428. * ListViewItem.cs (Selected): Fixed setting the property.
  9429. 2004-12-03 Marek Safar <[email protected]>
  9430. * Application.cs (OnThreadException): Use ThreadExceptionDialog.
  9431. * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
  9432. MinimizeBox, ShowInTaskbar, TopMost properties.
  9433. * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
  9434. will be implemented).
  9435. 2004-12-03 Marek Safar <[email protected]>
  9436. * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
  9437. * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
  9438. tests.
  9439. * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
  9440. * TreeView.cs: BackColor is Colors.Window.
  9441. 2004-12-01 Jackson Harper <[email protected]>
  9442. * TreeView.cs: When resizing the tree if the user is making it
  9443. smaller we don't get expose events, so we need to handle adding
  9444. the horizontal scrollbar in the size changed handler as well as
  9445. the expose handler.
  9446. 2004-12-02 Jordi Mas i Hernandez <[email protected]>
  9447. * DrawItemState.cs: fixes wrong enum values
  9448. 2004-12-01 Jackson Harper <[email protected]>
  9449. * TreeView.cs: Resize the hbar as well as the vbar on resize.
  9450. 2004-12-01 Jackson Harper <[email protected]>
  9451. * NodeLabelEditEventArgs.cs:
  9452. * NodeLabelEditEventHandler.cs:
  9453. * OpenTreeNodeEnumerator.cs:
  9454. * TreeNode.cs:
  9455. * TreeNodeCollection.cs:
  9456. * TreeView.cs:
  9457. * TreeViewAction.cs:
  9458. * TreeViewCancelEventArgs.cs:
  9459. * TreeViewCancelEventHandler.cs:
  9460. * TreeViewEventArgs.cs:
  9461. * TreeViewEventHandler.cs: Initial implementation.
  9462. 2004-12-01 Ravindra <[email protected]>
  9463. * ListView.cs (CalculateListView): Fixed scrolling related
  9464. calculations. Also, removed some debug statements from other
  9465. places.
  9466. * ListViewItem.cs: Changed access to 'selected' instance variable
  9467. from private to internal.
  9468. * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
  9469. 2004-12-01 Jordi Mas i Hernandez <[email protected]>
  9470. * ThemeWin32Classic.cs: remove cache of brush and pens for
  9471. specific controls and use the global system, fixes scrollbutton
  9472. bugs (for small sizes, disabled, etc)
  9473. * ScrollBar.cs: does not show the thumb for very small controls
  9474. (as MS) and allow smaller buttons that the regular size
  9475. 2004-12-01 Miguel de Icaza <[email protected]>
  9476. * UpDownBase.cs: Add abstract methods for the interface.
  9477. Add new virtual methods (need to be hooked up to TextEntry when it
  9478. exists).
  9479. Add override methods for most features.
  9480. Computes the size, forces the height of the text entry.
  9481. * NumericUpDown.cs: Put here the current testing code.
  9482. * Set eol-style property on all files that do not have mixed line
  9483. endings, to minimize the future problems. There are still a few
  9484. files with mixed endings, and someone should choose whether they
  9485. want to move it or not.
  9486. 2004-11-30 Jordi Mas i Hernandez <[email protected]>
  9487. * MonthCalendar.cs, ListView.cs: use Theme colours instead of
  9488. System.Colors
  9489. 2004-11-30 Ravindra <[email protected]>
  9490. * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
  9491. drawing and replaced use of SystemColors by theme colors.
  9492. * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
  9493. * ListView.cs (ListViewItemCollection.Add): Throw exception when
  9494. same ListViewItem is being added more than once.
  9495. 2004-11-30 John BouAntoun <[email protected]>
  9496. * MonthCalendar.cs:
  9497. - ControlStyles love to make the control not flicker
  9498. 2004-11-30 Peter Bartok <[email protected]>
  9499. * CharacterCasing.cs: Added
  9500. 2004-11-29 Peter Bartok <[email protected]>
  9501. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  9502. TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
  9503. I am removing these files as they conflict with already completed
  9504. work. While it is fantastic to get contributions to MWF, I
  9505. respectfully ask that everyone please coordinate their contributions
  9506. through mono-winforms-list or #mono-winforms at this time. We're
  9507. explicitly avoiding stubbing and don't want controls that don't have
  9508. their basic functionality implemented in svn. Please also see
  9509. http://www.mono-project.com/contributing/winforms.html
  9510. 2004-11-29 Marek Safar <[email protected]>
  9511. * Application.cs (ModalRun): Don't hang after exit.
  9512. * Theme.cs: New TreeViewDefaultSize property.
  9513. * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
  9514. with less hardcoded SystemColors constant.
  9515. Implemented TreeViewDefaultSize.
  9516. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  9517. TreeViewAction.cs, TreeViewEventArgs.cs: New files.
  9518. 2004-11-29 John BouAntoun <[email protected]>
  9519. * MonthCalendar.cs:
  9520. - Fix NextMonthDate and PrevMonthDate click moving calendar
  9521. 2004-11-26 John BouAntoun <[email protected]>
  9522. * MonthCalendar.cs:
  9523. - Fix usage of ScrollChange Property when scrolling months
  9524. 2004-11-26 Jordi Mas i Hernandez <[email protected]>
  9525. * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
  9526. - Fixes menu destroying
  9527. - Support adding and removing items on already created menus
  9528. 2004-11-26 John BouAntoun <[email protected]>
  9529. * MonthCalendar.cs:
  9530. - Re-worked all bolded dates handling to match win32
  9531. * ThemeWin32Classic.cs:
  9532. - Fixed rendering with bolded dates
  9533. 2004-11-25 Jordi Mas i Hernandez <[email protected]>
  9534. * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
  9535. - Horizontal scroolbar
  9536. - Multicolumn
  9537. - Fixes
  9538. 2004-11-25 John BouAntoun <[email protected]>
  9539. * MonthCalendar.cs:
  9540. - Fix Usage of MaxSelectionCount from SelectionRange
  9541. - Fixed Shift + Cursor Selection
  9542. - Fixed Shift + (Pg up/Pg dn, Home/End) selection
  9543. - Fixed normal cursor selection to be compat with win32
  9544. - Fixed Shift + Mouse Click selection
  9545. 2004-11-24 Peter Bartok <[email protected]>
  9546. * XplatUI.cs (DispatchMessage): Switched to return IntPtr
  9547. * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
  9548. * XplatUIX11.cs:
  9549. - CreatedKeyBoardMsg now updates keystate with Alt key
  9550. - Added workaround for timer crash to CheckTimers, Jackson will
  9551. develop a proper fix and check in later
  9552. - Implemented DispatchMessage
  9553. - Removed calling the native window proc from GetMessage (call
  9554. now moved to DispatchMessage)
  9555. * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
  9556. the keydata (Fixes bug #69831)
  9557. * XplatUIWin32.cs:
  9558. - (DispatchMessage): Switched to return IntPtr
  9559. - Added DllImport for SetFocus
  9560. 2004-11-24 Ravindra <[email protected]>
  9561. * ThemeWin32Classic.cs: Fixed ListView border and checkbox
  9562. background drawing.
  9563. * ListViewItem.cs: Fixed various properties, calculations
  9564. and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
  9565. * ListView.cs: Fixed calculations, BackColor, ForeColor properties
  9566. and some internal properties. Fixed MouseDown handler and Paint
  9567. method.
  9568. 2004-11-24 John BouAntoun <[email protected]>
  9569. * MonthCalendar.cs: Add TitleMonth ContextMenu handling
  9570. 2004-11-24 John BouAntoun <[email protected]>
  9571. * ContainerControl.cs: correct accidental check in of local changes
  9572. 2004-11-24 John BouAntoun <[email protected]>
  9573. * ThemeWin32Classic.cs:
  9574. - Fixed Drawing Last month in grid (sometimes not showing)
  9575. * MonthCalendar.cs:
  9576. - Fixed title width calculation bug (makeing title small)
  9577. 2004-11-23 Peter Bartok <[email protected]>
  9578. * XplatUIX11.cs:
  9579. - Added generation of WM_MOUSEHOVER event
  9580. - Added missing assignment of async_method atom
  9581. - Fixed WM_ERASEBKGND; now only redraws the exposed area
  9582. 2004-11-23 John BouAntoun <[email protected]>
  9583. * ThemeWin32Classic.cs:
  9584. - Fixed Drawing of today circle when showtodaycircle not set
  9585. - fixed drawing of first and last month in the grid (gay dates)
  9586. * MonthCalendar.cs:
  9587. - Fixed Drawing of today circle
  9588. - Fixed drawing of grady dates
  9589. - Fixed HitTest for today link when ShowToday set to false
  9590. - Fixed DefaultSize to obey ShowToday
  9591. 2004-11-23 John BouAntoun <[email protected]>
  9592. * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
  9593. * System.Windows.Forms/Theme.cs
  9594. * MonthCalendar.cs: added for MonthCalendar
  9595. * SelectionRange.cs: added for MonthCalendar
  9596. * Day.cs: added for MonthCalendar: added for MonthCalendar
  9597. * DateRangeEventArgs.cs: added for MonthCalendar
  9598. * DateRangeEventHandler.cs: added for MonthCalendar
  9599. 2004-11-22 Ravindra <[email protected]>
  9600. * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
  9601. property.
  9602. 2004-11-22 Miguel de Icaza <[email protected]>
  9603. * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
  9604. event handler.
  9605. * NumericUpDown.cs: Added new implementation.
  9606. * UpDownBase.cs: Added new implementation.
  9607. * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
  9608. implementations.
  9609. * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
  9610. implementations.
  9611. * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
  9612. methods.
  9613. 2004-11-21 Miguel de Icaza <[email protected]>
  9614. * Timer.cs (Dispose): Should call the base dispose when
  9615. overriding.
  9616. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  9617. * ScrollBar.cs: updates thumb position when max, min or increment
  9618. is changed
  9619. 2004-11-21 Ravindra <[email protected]>
  9620. * ListView.cs: Implemented item selection, activation and
  9621. column header style. Fixed properties to do a redraw, if
  9622. required. Added support for MouseHover, DoubleClick, KeyDown
  9623. and KeyUp event handling and some minor fixes.
  9624. * ListViewItem.cs: Fixed constructor.
  9625. * ThemeWin32Classic.cs: Improved drawing for ListView.
  9626. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  9627. * ThemeWin32Classic.cs: initial listbox drawing code
  9628. * DrawMode.cs: new enumerator
  9629. * ListControl.cs: stubbed class
  9630. * ListBox.cs: initial implementation
  9631. * Theme.cs: new methods definitions
  9632. * SelectionMode.cs: new enumerator
  9633. 2004-11-17 Peter Bartok <[email protected]>
  9634. * XplatUIWin32.cs: Added double-click events to the class style
  9635. * Control.cs (WndProc):
  9636. - Added handling of click-count to MouseDown/ MouseUp events.
  9637. - Added handling of middle and right mouse buttons
  9638. - Removed old debug code
  9639. 2004-11-17 Jackson Harper <[email protected]>
  9640. * XplatUIX11.cs: Use the new Mono.Unix namespace.
  9641. 2004-11-17 Ravindra <[email protected]>
  9642. * ListView.cs: Added event handling for MouseMove/Up/Down.
  9643. * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
  9644. * ThemeWin32Classic.cs: We need to clear the graphics context and
  9645. draw column header in a proper state.
  9646. 2004-11-17 Jordi Mas i Hernandez <[email protected]>
  9647. * Menu.cs: fixes signature
  9648. 2004-11-16 Peter Bartok <[email protected]>
  9649. * XplatUIX11.cs (GetMessage): Implemented generation of
  9650. double click mouse messages
  9651. 2004-11-12 Jordi Mas i Hernandez <[email protected]>
  9652. * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
  9653. not by menu
  9654. 2004-11-11 Peter Bartok <[email protected]>
  9655. * HandleData.cs: Added Visible property
  9656. * XplatUIX11.cs (IsVisible): Now uses Visible property from
  9657. HandleData
  9658. * XplatUIX11.cs: Removed old debug leftovers
  9659. * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
  9660. * Control.cs (WndProc): Removed old debug leftovers,
  9661. streamlined handling of WM_WINDOWPOSCHANGED, removed un-
  9662. needed WM_SIZE handling
  9663. 2004-11-11 Jackson Harper <[email protected]>
  9664. * OwnerDrawPropertyBag.cs:
  9665. * TreeViewImageIndexConverter.cs: Initial implementation
  9666. 2004-11-10 Jackson Harper <[email protected]>
  9667. * ThemeWin32Classic.cs:
  9668. * TabControl.cs: instead of moving tabs by the slider pos just
  9669. start drawing at the tab that is offset by the slider. This way
  9670. scrolling always moves by exactly one tab.
  9671. 2004-11-10 Jackson Harper <[email protected]>
  9672. * TabControl.cs: You can only scroll left when the slider has
  9673. already ben moved right.
  9674. 2004-11-10 Jackson Harper <[email protected]>
  9675. * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
  9676. the clip area.
  9677. 2004-11-10 Jackson Harper <[email protected]>
  9678. * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
  9679. clip area.
  9680. 2004-11-09 Jackson Harper <[email protected]>
  9681. * TabControl.cs (CalcXPos): New helper method so we can determine
  9682. the proper place to start drawing vertical tabs.
  9683. * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
  9684. 2004-11-09 Jackson Harper <[email protected]>
  9685. * TabControl.cs: Calculate sizing and rects for left aligned tabs.
  9686. * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
  9687. and Bottom, left and right are illegal values for this and
  9688. multiline is enabled when the alignment is set to left or right.
  9689. (DrawTab): Each alignment block should draw the text itself now
  9690. because Left requires special love. Also add rendering for Left
  9691. aligned tabs.
  9692. 2004-11-09 Jordi Mas i Hernandez <[email protected]>
  9693. * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
  9694. does not destroy the windows, removes debugging messages
  9695. 2004-11-09 jba <[email protected]>
  9696. * ThemeWin32Classic.cs
  9697. (DrawButtonBase): Fix verticle text rect clipping in windows
  9698. (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  9699. rendering and incorrect text rect clipping
  9700. (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  9701. rendering and incorrect text rect clipping
  9702. 2004-11-08 Jackson Harper <[email protected]>
  9703. * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
  9704. bottom when they are bottom aligned so the bottoms of the tabs get
  9705. displayed.
  9706. * TabControl.cs (DropRow): Move rows up instead of down when the
  9707. tab control is bottom aligned.
  9708. 2004-11-08 13:59 pbartok
  9709. * XplatUIX11.cs:
  9710. - Added handling for various window styles
  9711. - Added handling for popup windows
  9712. - Added SetTopmost handling
  9713. 2004-11-08 13:55 pbartok
  9714. * XplatUIWin32.cs:
  9715. - Added argument to SetTopmost method
  9716. - Fixed broken ClientToScreen function
  9717. 2004-11-08 13:53 pbartok
  9718. * XplatUIStructs.cs:
  9719. - Added missing WS_EX styles
  9720. 2004-11-08 13:53 pbartok
  9721. * XplatUI.cs, XplatUIDriver.cs:
  9722. - Added argument to SetTopmost
  9723. 2004-11-08 13:52 pbartok
  9724. * X11Structs.cs:
  9725. - Added XSetWindowAttributes structure
  9726. - Improved XWindowAttributes structure
  9727. - Added SetWindowValuemask enum
  9728. - Added window creation arguments enum
  9729. - Added gravity enum
  9730. - Added Motif hints structure
  9731. - Added various Motif flags and enums
  9732. - Added PropertyMode enum for property functions
  9733. 2004-11-08 13:50 pbartok
  9734. * Form.cs:
  9735. - Fixed arguments for updated SetTopmost method
  9736. 2004-11-08 13:49 pbartok
  9737. * ToolTip.cs:
  9738. - Fixed arguments for updated SetTopmost function
  9739. - Fixed usage of PointToClient
  9740. 2004-11-08 13:44 pbartok
  9741. * MenuAPI.cs:
  9742. - Added Clipping of children and siblings
  9743. 2004-11-08 13:41 pbartok
  9744. * MainMenu.cs:
  9745. - Removed SetMenuBarWindow call. We do this in Form.cs
  9746. 2004-11-08 13:40 jackson
  9747. * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
  9748. scrolling jimmi in the correct location with bottom aligned tabs
  9749. 2004-11-08 13:36 pbartok
  9750. * ContainerControl.cs:
  9751. - Implemented BindingContext
  9752. - Implemented ParentForm
  9753. 2004-11-08 12:46 jackson
  9754. * TabControl.cs: Put bottom rendered tabs in the right location
  9755. 2004-11-08 07:15 jordi
  9756. * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
  9757. removes dead code
  9758. 2004-11-05 17:30 jackson
  9759. * TabControl.cs: When selected tabs are expanded make sure they
  9760. don't go beyond the edges of the tab control
  9761. 2004-11-05 14:57 jackson
  9762. * TabControl.cs: Reset show_slider so if the control is resized to
  9763. a size where it is no longer needed it's not displayed anymore
  9764. 2004-11-05 13:16 jackson
  9765. * TabControl.cs: Make tab pages non visible when added to the
  9766. control
  9767. 2004-11-05 12:42 jackson
  9768. * TabControl.cs: Implement SizeMode.FillToRight
  9769. 2004-11-05 12:16 jackson
  9770. * Control.cs: Do not call CreateHandle if the handle is already
  9771. created
  9772. 2004-11-05 11:46 jackson
  9773. * TabControl.cs: Remove superflous call to CalcTabRows
  9774. 2004-11-05 09:07 jackson
  9775. * XplatUIX11.cs: Update for Mono.Posix changes
  9776. 2004-11-05 07:00 ravindra
  9777. * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
  9778. scrolling.
  9779. 2004-11-04 22:47 jba
  9780. * ThemeWin32Classic.cs:
  9781. - Fix Button rendering for FlatStyle = Flat or Popup
  9782. - Fix RadioButton and CheckBox rendering when Appearance = Button
  9783. (normal and flatstyle).
  9784. - Correct outer rectangle color when drawing focus rectangle
  9785. - Adjust button bounds to be 1 px smaller when focused
  9786. - Make button not draw sunken 3d border when pushed (windows compat)
  9787. - Fix CPDrawBorder3D to not make bottom right hand corner rounded
  9788. - Offset the text in RadioButton and Checkbox when being rendered as
  9789. a button.
  9790. - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
  9791. radiobuttons
  9792. - Fixed disabled rendering for colored flatstyle radiobuttons (both)
  9793. - Fixed disabled text rendering for normally rendered radiobuttons
  9794. 2004-11-04 10:26 jackson
  9795. * TabControl.cs: Recalculate tab rows when resizing
  9796. 2004-11-04 07:47 jordi
  9797. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
  9798. collection completion, drawing issues, missing features
  9799. 2004-11-04 05:03 ravindra
  9800. * ScrollBar.cs:
  9801. - We need to recalculate the Thumb area when
  9802. LargeChange/maximum/minimum values are changed.
  9803. - We set the 'pos' in UpdatePos() method to minimum, if it's less
  9804. than minimum. This is required to handle the case if large_change is
  9805. more than max, and use LargeChange property instead of large_change
  9806. variable.
  9807. - We return max+1 when large_change is more than max, like MS does.
  9808. 2004-11-04 04:29 ravindra
  9809. * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
  9810. - Changed default value signatures (prefixed all with ListView).
  9811. - Fixed/implemented layout LargeIcon, SmallIcon and List views for
  9812. ListView.
  9813. - Fixed calculations for ListViewItem and implemented Clone()
  9814. method.
  9815. 2004-11-04 04:26 ravindra
  9816. * Theme.cs, ThemeWin32Classic.cs:
  9817. - Changed default ListView values signatures (prefixed all with
  9818. ListView).
  9819. - Fixed default size values for VScrollBar and HScrollBar.
  9820. - Fixed DrawListViewItem method.
  9821. 2004-11-04 04:05 ravindra
  9822. * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
  9823. 2004-11-04 04:04 ravindra
  9824. * ImageList.cs: Implemented the missing overload for Draw method.
  9825. 2004-11-03 19:29 jackson
  9826. * TabControl.cs: Handle dropping rows on selection properly
  9827. 2004-11-03 11:59 jackson
  9828. * TabControl.cs: remove debug code
  9829. 2004-11-03 11:52 jackson
  9830. * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
  9831. the scrolly widgerywoo
  9832. 2004-11-02 13:52 jackson
  9833. * TabControl.cs: Resize the tab pages and tabs when the tab control
  9834. is resized
  9835. 2004-11-02 13:40 jackson
  9836. * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
  9837. selected tab to the bottom
  9838. 2004-11-02 13:39 jackson
  9839. * TabPage.cs: Store the tab pages row
  9840. 2004-11-02 12:33 jordi
  9841. * MenuItem.cs: fixes handle creation
  9842. 2004-11-02 11:42 jackson
  9843. * TabControl.cs: signature fix
  9844. 2004-11-02 08:56 jackson
  9845. * TabControl.cs: Calculate whether the tab is on an edge properly.
  9846. Remove top secret debugging code
  9847. 2004-11-01 19:57 jackson
  9848. * TabControl.cs: Add click handling, and proper sizing
  9849. 2004-11-01 19:47 jackson
  9850. * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
  9851. tab controls
  9852. 2004-11-01 19:39 jackson
  9853. * TabPage.cs: add internal property to store the bounds of a tab
  9854. page
  9855. 2004-10-30 04:23 ravindra
  9856. * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
  9857. values.
  9858. 2004-10-30 04:21 ravindra
  9859. * ListView.cs, ListViewItem.cs: Added support for scrolling and
  9860. fixed calculations.
  9861. 2004-10-30 03:06 pbartok
  9862. * XplatUIX11.cs:
  9863. - Removed extension of DllImported libs
  9864. 2004-10-29 09:55 jordi
  9865. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
  9866. navigation, itemcollection completion, menu fixes
  9867. 2004-10-27 22:58 pbartok
  9868. * XplatUIX11.cs:
  9869. - Now throws a nice error message when no X display could be opened
  9870. 2004-10-26 13:51 jordi
  9871. * ListView.cs: removes warning
  9872. 2004-10-26 03:55 ravindra
  9873. * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
  9874. ThemeWin32Classic.cs: Some formatting for my last checkins.
  9875. 2004-10-26 03:36 ravindra
  9876. * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
  9877. control and default values.
  9878. 2004-10-26 03:35 ravindra
  9879. * Theme.cs: Added some default values for ListView control.
  9880. 2004-10-26 03:33 ravindra
  9881. * ToolBar.cs: ToolBar should use the user specified button size, if
  9882. there is any. Added a size_specified flag for the same.
  9883. 2004-10-26 03:33 ravindra
  9884. * ColumnHeader.cs: Added some internal members and calculations for
  9885. ColumnHeader.
  9886. 2004-10-26 03:32 ravindra
  9887. * ListViewItem.cs: Calculations for ListViewItem.
  9888. 2004-10-26 03:31 ravindra
  9889. * ListView.cs: Added some internal members and calculations for
  9890. ListView.
  9891. 2004-10-22 13:31 jordi
  9892. * MenuAPI.cs: speedup menus drawing
  9893. 2004-10-22 13:16 jackson
  9894. * XplatUIX11.cs: Make sure to update exposed regions when adding an
  9895. expose event
  9896. 2004-10-22 11:49 jackson
  9897. * Control.cs: oops
  9898. 2004-10-22 11:41 jackson
  9899. * Control.cs: Check to see if the window should have its background
  9900. repainted by X when drawing.
  9901. 2004-10-22 11:31 jackson
  9902. * XplatUIX11.cs: When invalidating areas only use XClearArea if
  9903. clear is true, this way we do not get flicker from X repainting the
  9904. background
  9905. 2004-10-22 11:28 jackson
  9906. * XEventQueue.cs: Queue properly
  9907. 2004-10-21 09:38 jackson
  9908. * XEventQueue.cs: Fix access modifier
  9909. 2004-10-21 09:36 jackson
  9910. * XEventQueue.cs: Don't loose messages
  9911. 2004-10-21 09:22 jackson
  9912. * XEventQueue.cs: Don't loose messages
  9913. 2004-10-20 04:15 jordi
  9914. * BootMode.cs: enum need it by SystemInfo
  9915. 2004-10-19 21:58 pbartok
  9916. * XplatUIWin32.cs:
  9917. - Small sanity check
  9918. 2004-10-19 21:56 pbartok
  9919. * Form.cs:
  9920. - Added private FormParentWindow class which acts as the container
  9921. for our form and as the non-client area where menus are drawn
  9922. - Added/Moved required tie-ins to Jordi's menus
  9923. - Fixed/Implemented the FormStartPosition functionality
  9924. 2004-10-19 21:52 pbartok
  9925. * Control.cs:
  9926. - Removed unneeded locals
  9927. - Added code to all size and location properties to understand and
  9928. deal with the parent container of Form
  9929. 2004-10-19 21:33 pbartok
  9930. * Application.cs:
  9931. - Fixed to deal with new Form subclasses for menus
  9932. 2004-10-19 17:48 jackson
  9933. * XEventQueue.cs: commit correct version of file
  9934. 2004-10-19 16:50 jackson
  9935. * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
  9936. 2004-10-19 16:15 jordi
  9937. * MenuAPI.cs: MenuBarCalcSize returns the height
  9938. 2004-10-19 08:31 pbartok
  9939. * Control.cs:
  9940. - Added missing call to PreProcessMessage before calling OnXXXKey
  9941. methods
  9942. 2004-10-19 00:04 ravindra
  9943. * ToolTip.cs: Fixed constructor.
  9944. 2004-10-18 09:31 jordi
  9945. * MenuAPI.cs: menuitems in menubars do not have shortcuts
  9946. 2004-10-18 09:26 jordi
  9947. * MenuItem.cs: fixes MenuItem class signature
  9948. 2004-10-18 08:56 jordi
  9949. * MenuAPI.cs: prevents windows from showing in the taskbar
  9950. 2004-10-18 00:28 ravindra
  9951. * ToolTip.cs: Suppressed a warning message.
  9952. 2004-10-18 00:27 ravindra
  9953. * Control.cs: Default value of visible property must be true.
  9954. 2004-10-17 23:19 pbartok
  9955. * ToolTip.cs:
  9956. - Complete implementation
  9957. 2004-10-17 23:19 pbartok
  9958. * XplatUIX11.cs:
  9959. - Added EnableWindow method
  9960. - Added SetModal stub
  9961. - Added generation of WM_ACTIVATE message (still needs testing)
  9962. - Added SetTopMost stub
  9963. - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
  9964. 2004-10-17 23:17 pbartok
  9965. * XplatUIWin32.cs:
  9966. - Removed VirtualKeys to XplatUIStructs
  9967. - Implemented SetTopMost method
  9968. - Implemented EnableWindow method
  9969. - Bugfix in ScreenToClient()
  9970. - Bugfixes in ClientToScreen()
  9971. 2004-10-17 22:51 pbartok
  9972. * XplatUIStructs.cs:
  9973. - Added WS_EX styles to WindowStyles enumeration
  9974. 2004-10-17 22:50 pbartok
  9975. * XplatUI.cs, XplatUIDriver.cs:
  9976. - Added method for enabling/disabling windows
  9977. - Added method for setting window modality
  9978. - Added method for setting topmost window
  9979. 2004-10-17 22:49 pbartok
  9980. * ThemeWin32Classic.cs:
  9981. - Added ToolTip drawing code
  9982. 2004-10-17 22:49 pbartok
  9983. * Theme.cs:
  9984. - Added ToolTip abstracts
  9985. 2004-10-17 22:47 pbartok
  9986. * Form.cs:
  9987. - Fixed Form.ControlCollection to handle owner relations
  9988. - Added Owner/OwnedForms handling
  9989. - Implemented Z-Ordering for owned forms
  9990. - Removed unneeded private overload of ShowDialog
  9991. - Fixed ShowDialog, added the X11 incarnation of modal handling (or
  9992. so I hope)
  9993. - Fixed Close(), had wrong default
  9994. - Added firing of OnLoad event
  9995. - Added some commented out debug code for Ownership handling
  9996. 2004-10-17 22:16 pbartok
  9997. * Control.cs:
  9998. - Fixed/implemented flat list of controls
  9999. 2004-10-17 22:14 pbartok
  10000. * Application.cs:
  10001. - Added code to simulate modal dialogs on Win32
  10002. 2004-10-17 16:11 jordi
  10003. * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
  10004. mouse event
  10005. 2004-10-17 13:39 jordi
  10006. * MenuAPI.cs: menu drawing fixes
  10007. 2004-10-15 09:10 ravindra
  10008. * StructFormat.cs: General Enum.
  10009. 2004-10-15 09:09 ravindra
  10010. * SizeGripStyle.cs: Enum for Form.
  10011. 2004-10-15 09:08 ravindra
  10012. * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
  10013. in Theme for ListView.
  10014. 2004-10-15 09:06 ravindra
  10015. * ColumnHeader.cs: Flushing some formatting changes.
  10016. 2004-10-15 09:05 ravindra
  10017. * ListViewItem.cs: Implemented GetBounds method and fixed coding
  10018. style.
  10019. 2004-10-15 09:03 ravindra
  10020. * ListView.cs: Implemented Paint method and fixed coding style.
  10021. 2004-10-15 07:34 jordi
  10022. * MenuAPI.cs: fix for X11
  10023. 2004-10-15 07:32 ravindra
  10024. * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
  10025. - Renamed Paint() method to Draw() for clarity. Also, moved
  10026. DrawImage() to OnPaint().
  10027. 2004-10-15 07:25 ravindra
  10028. * CheckBox.cs, RadioButton.cs:
  10029. - Removed Redraw (), we get it from ButtonBase.
  10030. - Implemented Paint (), to do class specific painting.
  10031. 2004-10-15 07:16 ravindra
  10032. * ButtonBase.cs:
  10033. - Redraw () is not virtual now.
  10034. - Added an internal virtual method Paint (), so that
  10035. derived classes can do their painting on their own.
  10036. - Modified OnPaint () to call Paint ().
  10037. 2004-10-15 06:43 jordi
  10038. * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
  10039. MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
  10040. 2004-10-15 00:30 ravindra
  10041. * MessageBox.cs:
  10042. - MessageBox on windows does not have min/max buttons.
  10043. This change in CreateParams fixes this on Windows. We
  10044. still need to implement this windowstyle behavior in
  10045. our X11 driver.
  10046. 2004-10-14 05:14 ravindra
  10047. * ToolBar.cs:
  10048. - Changed Redraw () to do a Refresh () always.
  10049. - Fixed the MouseMove event handling when mouse is pressed,
  10050. ie drag event handling.
  10051. - Replaced the usage of ToolBarButton.Pressed property to
  10052. ToolBarButton.pressed internal variable.
  10053. 2004-10-14 05:10 ravindra
  10054. * ToolBarButton.cs:
  10055. - Added an internal member 'inside' to handle mouse move
  10056. with mouse pressed ie mouse drag event.
  10057. - Changed 'Pressed' property to return true only when
  10058. 'inside' and 'pressed' are both true.
  10059. - Some coding style love.
  10060. 2004-10-14 00:17 ravindra
  10061. * Form.cs: Fixed class signature. ShowDialog (Control) is not a
  10062. public method.
  10063. 2004-10-14 00:15 ravindra
  10064. * ButtonBase.cs: Redraw () related improvements.
  10065. 2004-10-14 00:14 ravindra
  10066. * MessageBox.cs: Moved InitFormSize () out of Paint method and
  10067. removed unnecessary calls to Button.Show () method.
  10068. 2004-10-13 17:50 pbartok
  10069. * XplatUIX11.cs:
  10070. - Formatting fix
  10071. - Removed destroying of window until we solve the problem of X
  10072. destroying the window before us on shutdown
  10073. 2004-10-13 16:32 pbartok
  10074. * ButtonBase.cs:
  10075. - Now Redraws on MouseUp for FlatStyle Flat and Popup
  10076. 2004-10-13 14:18 pbartok
  10077. * XplatUIX11.cs:
  10078. - Added code to destroy the X window
  10079. 2004-10-13 14:18 pbartok
  10080. * XplatUIWin32.cs:
  10081. - Added code to destroy a window
  10082. 2004-10-13 14:12 pbartok
  10083. * ButtonBase.cs:
  10084. - Added the Redraw on Resize that got dropped in the last rev
  10085. 2004-10-13 09:06 pbartok
  10086. * ThemeWin32Classic.cs:
  10087. - Path from John BouAntoun:
  10088. * Fix check rendering (centre correctly for normal style, offset
  10089. correctly for FlatStyle).
  10090. * Fix border color usage (use backcolor) for FlatStyle.Popup
  10091. * Use checkbox.Capture instead of checkbox.is_pressed when
  10092. rendering flatstyle states.
  10093. 2004-10-12 21:48 pbartok
  10094. * ThemeWin32Classic.cs:
  10095. - Removed all occurences of SystemColors and replaced them with the
  10096. matching theme color
  10097. 2004-10-12 21:41 pbartok
  10098. * ThemeWin32Classic.cs:
  10099. - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
  10100. him using the function for flatstyle drawing
  10101. - Changed functions to use the new version of CPDrawBorder3D
  10102. 2004-10-12 21:15 pbartok
  10103. * ControlPaint.cs:
  10104. - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
  10105. match MS documentation. They need to return defined colors if the
  10106. passed color matches the configured control color. Thanks to John
  10107. BouAntoun for pointing this out.
  10108. 2004-10-12 20:57 pbartok
  10109. * Control.cs:
  10110. - Fix from John BouAntoun: Raise ForeColorChanged event when text
  10111. color is changed
  10112. 2004-10-12 20:46 pbartok
  10113. * CheckBox.cs:
  10114. - Fix from John BouAntoun: Now properly sets the Appearance property
  10115. 2004-10-12 20:45 pbartok
  10116. * ThemeWin32Classic.cs:
  10117. - Fixes from John BouAntoun: now handles forecolors and backcolors
  10118. for flatstyle rendered controls much better; It also fixes normal
  10119. checkbox rendering when pushed or disabled.
  10120. 2004-10-08 02:50 jordi
  10121. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
  10122. work
  10123. 2004-10-07 08:56 jordi
  10124. * ThemeWin32Classic.cs: Removes deletion of cached brushes
  10125. 2004-10-06 03:59 jordi
  10126. * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
  10127. XplatUIWin32.cs: removes warnings from compilation
  10128. 2004-10-05 12:23 jackson
  10129. * RadioButton.cs: Fix ctor
  10130. 2004-10-05 11:10 pbartok
  10131. * MessageBox.cs:
  10132. - Partial implementation by Benjamin Dasnois
  10133. 2004-10-05 10:15 jackson
  10134. * ThemeWin32Classic.cs: Improve rendering of the radio button patch
  10135. by John BouAntoun
  10136. 2004-10-05 03:07 ravindra
  10137. * ToolBar.cs:
  10138. - Removed a private method, Draw ().
  10139. - Fixed the ButtonDropDown event handling.
  10140. - Fixed MouseMove event handling.
  10141. 2004-10-05 03:04 ravindra
  10142. * ThemeWin32Classic.cs:
  10143. - Added DrawListView method and ListViewDefaultSize property.
  10144. - Changed ControlPaint method calls to CPDrawXXX wherever possible.
  10145. - Changed DOS style CRLF to Unix format (dos2unix).
  10146. 2004-10-05 03:03 ravindra
  10147. * Theme.cs:
  10148. - Added DrawListView method and ListViewDefaultSize property.
  10149. 2004-10-05 02:42 ravindra
  10150. * ToolBarButton.cs: Added an internal member dd_pressed to handle
  10151. clicks on DropDown arrow.
  10152. 2004-10-04 22:56 jackson
  10153. * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
  10154. ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
  10155. Control handle the buffers, derived classes should not have to
  10156. CreateBuffers themselves.
  10157. 2004-10-04 21:20 jackson
  10158. * StatusBar.cs: The control handles resizing the buffers now.
  10159. 2004-10-04 21:18 jackson
  10160. * Control.cs: When resizing the buffers should be invalidated. This
  10161. should be handled in Control not in derived classes.
  10162. 2004-10-04 14:45 jackson
  10163. * TabPage.cs: oops
  10164. 2004-10-04 02:14 pbartok
  10165. * LeftRightAlignment.cs:
  10166. - Initial check-in
  10167. 2004-10-04 01:09 jordi
  10168. * ThemeWin32Classic.cs: fixes right button position causing right
  10169. button not showing on horizontal scrollbars
  10170. 2004-10-02 13:12 pbartok
  10171. * XplatUIX11.cs:
  10172. - Simplified the Invalidate method by using an X call instead of
  10173. generating the expose ourselves
  10174. - Added an expose when the window background is changed
  10175. - Implemented ClientToScreen method
  10176. 2004-10-02 13:08 pbartok
  10177. * XplatUIWin32.cs:
  10178. - Added Win32EnableWindow method (test for implementing modal
  10179. dialogs)
  10180. - Added ClientToScreen method and imports
  10181. 2004-10-02 13:07 pbartok
  10182. * XplatUI.cs, XplatUIDriver.cs:
  10183. - Added ClientToScreen coordinate translation method
  10184. 2004-10-02 13:06 pbartok
  10185. * KeyPressEventArgs.cs:
  10186. - Fixed access level for constructor
  10187. 2004-10-02 13:06 pbartok
  10188. * NativeWindow.cs:
  10189. - Changed access level for the window_collection hash table
  10190. 2004-10-02 13:05 pbartok
  10191. * Form.cs:
  10192. - Added KeyPreview property
  10193. - Added Menu property (still incomplete, pending Jordi's menu work)
  10194. - Implemented ProcessCmdKey
  10195. - Implemented ProcessDialogKey
  10196. - Implemented ProcessKeyPreview
  10197. 2004-10-02 13:02 pbartok
  10198. * Control.cs:
  10199. - Added private method to get the Control object from the window
  10200. handle
  10201. - Implemented ContextMenu property
  10202. - Implemented PointToScreen
  10203. - Implemented PreProcessMessage
  10204. - Implemented IsInputChar
  10205. - Implemented IsInputKey
  10206. - Implemented ProcessCmdKey
  10207. - Completed ProcessKeyEventArgs
  10208. - Fixed message loop to call the proper chain of functions on key
  10209. events
  10210. - Implemented ProcessDialogChar
  10211. - Implemented ProcessDialogKey
  10212. - Implemented ProcessKeyMessage
  10213. - Implemented ProcessKeyPreview
  10214. - Added RaiseDragEvent stub (MS internal method)
  10215. - Added RaiseKeyEvent stub (MS internal method)
  10216. - Added RaiseMouseEvent stub (MS Internal method)
  10217. - Added RaisePaintEvent stub (MS Internal method)
  10218. - Added ResetMouseEventArgs stub (MS Internal method)
  10219. - Implemented RtlTranslateAlignment
  10220. - Implemented RtlTranslateContent
  10221. - Implemented RtlTranslateHorizontal
  10222. - Implemented RtlTranslateLeftRight
  10223. - Added generation of KeyPress event
  10224. 2004-10-02 05:57 ravindra
  10225. * ListViewItem.cs: Added attributes.
  10226. 2004-10-02 05:32 ravindra
  10227. * ListView.cs: Added attributes.
  10228. 2004-10-01 11:53 jackson
  10229. * Form.cs: Implement the Close method so work on MessageBox can
  10230. continue.
  10231. 2004-09-30 14:06 pbartok
  10232. * XplatUIX11.cs:
  10233. - Bug fixes
  10234. 2004-09-30 11:34 jackson
  10235. * RadioButton.cs: Fix typo. Patch by John BouAntoun.
  10236. 2004-09-30 07:26 ravindra
  10237. * ListViewItemConverter.cs: Converter for ListViewItem.
  10238. 2004-09-30 07:26 ravindra
  10239. * SortOrder.cs: Enum for ListView control.
  10240. 2004-09-30 07:25 ravindra
  10241. * ColumnHeader.cs: Supporting class for ListView control.
  10242. 2004-09-30 07:24 ravindra
  10243. * ListView.cs, ListViewItem.cs: Initial implementation.
  10244. 2004-09-30 07:20 ravindra
  10245. * ItemActivation.cs: Enum for ListView Control.
  10246. 2004-09-29 20:29 pbartok
  10247. * XplatUIX11.cs:
  10248. - Added lookup of pixel value for background color; tries to get a
  10249. color 'close' to the requested color, it avoids having to create a
  10250. colormap. Depending on the display this could mean the used color
  10251. is slightly off the desired color. Might have to change it to a more
  10252. resource intensive colormap approach, but it will work as a
  10253. workaround to avoid red screens.
  10254. 2004-09-29 14:27 jackson
  10255. * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
  10256. 2004-09-28 12:44 pbartok
  10257. * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
  10258. HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
  10259. ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
  10260. Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
  10261. TrackBar.cs, VScrollBar.cs:
  10262. - Streamlined Theme interfaces:
  10263. * Each DrawXXX method for a control now is passed the object for
  10264. the control to be drawn in order to allow accessing any state the
  10265. theme might require
  10266. * ControlPaint methods for the theme now have a CP prefix to avoid
  10267. name clashes with the Draw methods for controls
  10268. * Every control now retrieves it's DefaultSize from the current
  10269. theme
  10270. 2004-09-28 12:17 jackson
  10271. * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
  10272. drawing
  10273. 2004-09-24 14:57 jackson
  10274. * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
  10275. Gives us a nice little performance boost.
  10276. 2004-09-24 12:02 jackson
  10277. * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
  10278. TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
  10279. Control and supporting classes. Initial checkin
  10280. 2004-09-23 13:08 jackson
  10281. * Form.cs: Temp build fixage
  10282. 2004-09-23 01:39 ravindra
  10283. * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
  10284. ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
  10285. ItemDragEventArgs.cs, ItemDragEventHandler.cs,
  10286. LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
  10287. EventHandlers needed by ListView Control.
  10288. 2004-09-22 14:12 pbartok
  10289. * ScrollableControl.cs:
  10290. - Implemented DockPadding property
  10291. - Implemented AutoScroll property
  10292. - Implemented AutoScrollMargin property
  10293. - Implemented AutoScrollMinSize property
  10294. - Implemented AutoScrollPosition property
  10295. - Implemented DisplayRectangle property (still incomplete)
  10296. - Implemented CreateParams property
  10297. - Implemented HScroll property
  10298. - Implemented VScroll property
  10299. - Implemented OnVisibleChanged property
  10300. 2004-09-22 14:09 pbartok
  10301. * Form.cs:
  10302. - Added Form.ControllCollection class
  10303. - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
  10304. RemoveOwnedForm (still incomplete, missing on-top and common
  10305. minimize/maximize behaviour)
  10306. - Added StartPosition property (still incomplete, does not use when
  10307. creating the form)
  10308. - Added ShowDialog() methods (still incomplete, missing forcing the
  10309. dialog modal)
  10310. 2004-09-22 14:05 pbartok
  10311. * Application.cs:
  10312. - Added message loop for modal dialogs
  10313. 2004-09-22 14:02 pbartok
  10314. * GroupBox.cs:
  10315. - Fixed wrong types for events
  10316. 2004-09-22 14:00 pbartok
  10317. * Shortcut.cs, FormWindowState.cs:
  10318. - Fixed wrong values
  10319. 2004-09-22 12:01 jackson
  10320. * Control.cs: Text is never null
  10321. 2004-09-20 22:14 pbartok
  10322. * XplatUIWin32.cs:
  10323. - Fixed accessibility level for Idle handler
  10324. 2004-09-20 18:54 jackson
  10325. * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  10326. XplatUIX11.cs: New message loop that uses poll so we don't get a
  10327. busy loop
  10328. 2004-09-17 10:43 pbartok
  10329. * ScrollBar.cs:
  10330. - Fixed behaviour of arrow buttons. Now properly behaves like
  10331. Buttons (and like Microsoft's scrollbar arrow buttons)
  10332. 2004-09-17 10:14 pbartok
  10333. * ScrollBar.cs:
  10334. - Added missing release of keyboard/mouse capture
  10335. 2004-09-17 06:18 jordi
  10336. * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
  10337. Theme.cs: Very early menu support
  10338. 2004-09-16 17:45 pbartok
  10339. * XplatUIWin32.cs:
  10340. - Fixed sending a window to the front
  10341. - Added overload for SetWindowPos to avoid casting
  10342. 2004-09-16 17:44 pbartok
  10343. * Control.cs:
  10344. - Added SendToBack and BringToFront methods
  10345. 2004-09-16 07:00 ravindra
  10346. * Copyright: Added Novell URL.
  10347. 2004-09-16 07:00 ravindra
  10348. * ToolBar.cs: Invalidate should be done before redrawing.
  10349. 2004-09-15 21:19 ravindra
  10350. * ColumnHeaderStyle.cs: Enum for ListView Control.
  10351. 2004-09-15 21:18 ravindra
  10352. * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
  10353. ListView Control.
  10354. 2004-09-13 18:26 jackson
  10355. * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
  10356. properly
  10357. 2004-09-13 18:13 jackson
  10358. * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
  10359. a second thread and post messages into the main threads message
  10360. queue. This makes timing much more consistent. Both win2K and XP
  10361. have a minimum timer value of 15 milliseconds, so we now do this
  10362. too.
  10363. 2004-09-13 15:18 pbartok
  10364. * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  10365. XplatUIX11.cs:
  10366. - Added Z-Ordering methods
  10367. 2004-09-13 10:56 pbartok
  10368. * Form.cs:
  10369. - Fixed #region names
  10370. - Moved properties and methods into their proper #regions
  10371. 2004-09-13 10:51 pbartok
  10372. * Form.cs:
  10373. - Added Accept and CancelButton properties
  10374. - Added ProcessDialogKey() method
  10375. 2004-09-13 08:18 pbartok
  10376. * IWindowTarget.cs:
  10377. - Initial check-in
  10378. 2004-09-10 21:50 pbartok
  10379. * Control.cs:
  10380. - Added DoDragDrop() [incomplete]
  10381. - Properly implemented 'Visible' handling
  10382. - Added SetVisibleCore()
  10383. - Implemented FindChildAtPoint()
  10384. - Implemented GetContainerControl()
  10385. - Implemented Hide()
  10386. 2004-09-10 19:28 pbartok
  10387. * Control.cs:
  10388. - Moved methods into their appropriate #regions
  10389. - Reordered methods within regions alphabetically
  10390. 2004-09-10 18:57 pbartok
  10391. * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  10392. - Added method to retrieve text from window
  10393. 2004-09-10 18:56 pbartok
  10394. * Control.cs:
  10395. - Moved some internal functions into the internal region
  10396. - Implemented FontHeight
  10397. - Implemented RenderRightToLeft
  10398. - Implemented ResizeRedraw
  10399. - Implemented ShowFocusCues
  10400. - Implemented ShowKeyboardCues
  10401. - Implemented FromChildHandle
  10402. - Implemented FromHandle
  10403. - Implemented IsMnemonic
  10404. - Implemented ReflectMessage
  10405. - All public and protected Static Methods are now complete
  10406. 2004-09-10 16:54 pbartok
  10407. * Control.cs:
  10408. - Implemented remaining missing public instance properties
  10409. - Alphabetized some out of order properties
  10410. 2004-09-10 05:51 ravindra
  10411. * PictureBox.cs: Added a check for null image.
  10412. 2004-09-10 00:59 jordi
  10413. * GroupBox.cs: remove cvs tag
  10414. 2004-09-09 05:25 ravindra
  10415. * ToolBar.cs: Make redraw accessible from ToolBarButton.
  10416. 2004-09-09 05:23 ravindra
  10417. * ToolBarButton.cs: Changes in ToolBarButton need to make it's
  10418. parent redraw.
  10419. 2004-09-09 02:28 pbartok
  10420. * ThemeWin32Classic.cs:
  10421. - Improve disabled string look
  10422. 2004-09-09 01:15 jordi
  10423. * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
  10424. args and handler
  10425. 2004-09-08 23:56 ravindra
  10426. * ItemBoundsPortion.cs: It's enum, not a class!
  10427. 2004-09-08 23:47 ravindra
  10428. * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
  10429. Enums for Form.
  10430. 2004-09-08 21:13 ravindra
  10431. * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
  10432. ListView control.
  10433. 2004-09-08 21:03 ravindra
  10434. * ThemeWin32Classic.cs: PictureBox would not draw a null image to
  10435. avoid crash.
  10436. 2004-09-08 21:01 ravindra
  10437. * ScrollableControl.cs: Removed unreachable code.
  10438. 2004-09-08 06:45 jordi
  10439. * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
  10440. 2004-09-08 01:00 jackson
  10441. * XplatUIX11.cs: Only run the timers when updating the message
  10442. queue. This effectively gives X messages a higher priority then
  10443. timer messages. Timers still need love though
  10444. 2004-09-07 14:01 jackson
  10445. * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
  10446. this for us and the handle is no longer valid.
  10447. 2004-09-07 13:59 jackson
  10448. * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
  10449. loop that manages to not crash. TODO: Add poll and cleanup timers
  10450. 2004-09-07 11:12 jordi
  10451. * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
  10452. 2004-09-07 03:40 jordi
  10453. * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
  10454. fixes, methods, multiple links
  10455. 2004-09-06 06:55 jordi
  10456. * Control.cs: Caches ClientRectangle rectangle value
  10457. 2004-09-05 02:03 jordi
  10458. * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
  10459. certain situations
  10460. 2004-09-04 11:10 jordi
  10461. * Label.cs: Refresh when font changed
  10462. 2004-09-02 16:24 pbartok
  10463. * Control.cs:
  10464. - Added sanity check to creation of double buffer bitmap
  10465. 2004-09-02 16:24 pbartok
  10466. * ButtonBase.cs:
  10467. - Fixed selection of text color
  10468. - Fixed handling of resize event; now properly recreates double
  10469. buffering bitmap
  10470. - Added missing assignment of TextAlignment
  10471. - Added proper default for TextAlignment
  10472. 2004-09-02 14:26 pbartok
  10473. * RadioButton.cs:
  10474. - Added missing RadioButton.RadioButtonAccessibleObject class
  10475. 2004-09-02 14:26 pbartok
  10476. * Control.cs:
  10477. - Added missing Control.ControlAccessibleObject class
  10478. - Started to implement Select()ion mechanisms, still very incomplete
  10479. 2004-09-02 14:25 pbartok
  10480. * AccessibleObject.cs:
  10481. - Added missing methods
  10482. 2004-09-02 14:23 pbartok
  10483. * AccessibleNavigation.cs, AccessibleSelection.cs:
  10484. - Initial check-in
  10485. 2004-09-02 10:32 jordi
  10486. * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
  10487. pool for pens, brushes, and hatchbruses
  10488. 2004-09-01 15:30 jackson
  10489. * StatusBar.cs: Fix typo
  10490. 2004-09-01 14:44 pbartok
  10491. * RadioButton.cs:
  10492. - Fixed state
  10493. 2004-09-01 14:39 pbartok
  10494. * Button.cs, RadioButton.cs:
  10495. - Functional initial check-in
  10496. 2004-09-01 14:01 pbartok
  10497. * CheckBox.cs:
  10498. - Added missing default
  10499. - Added missing region mark
  10500. 2004-09-01 09:10 jordi
  10501. * Label.cs: fixes method signatures, new methods, events, fixes
  10502. autosize
  10503. 2004-09-01 07:19 jordi
  10504. * Control.cs: Init string variables with an empty object
  10505. 2004-09-01 04:20 jordi
  10506. * Control.cs: fires OnFontChanged event
  10507. 2004-08-31 20:07 pbartok
  10508. * ButtonBase.cs:
  10509. - Enabled display of strings
  10510. 2004-08-31 20:05 pbartok
  10511. * Form.cs:
  10512. - Added (partial) implementation of DialogResult; rest needs to be
  10513. implemented when the modal loop code is done
  10514. 2004-08-31 19:55 pbartok
  10515. * CheckBox.cs:
  10516. - Fixed to match the removal of the needs_redraw concept
  10517. 2004-08-31 19:55 pbartok
  10518. * ButtonBase.cs:
  10519. - Removed the rather odd split between 'needs redraw' and redrawing
  10520. - Now handles the events that require regeneration (ambient
  10521. properties and size)
  10522. 2004-08-31 19:41 pbartok
  10523. * Control.cs:
  10524. - Added firing of BackColorChanged event
  10525. - Added TopLevelControl property
  10526. - Fixed handling of WM_ERASEBKGRND message
  10527. 2004-08-31 12:49 pbartok
  10528. * ButtonBase.cs:
  10529. - Removed debug
  10530. - Minor fixes
  10531. 2004-08-31 12:48 pbartok
  10532. * CheckBox.cs:
  10533. - Finished (famous last words)
  10534. 2004-08-31 04:35 jordi
  10535. * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
  10536. scrolling bugs, adds new methods
  10537. 2004-08-30 14:42 pbartok
  10538. * CheckBox.cs:
  10539. - Implemented CheckBox drawing code
  10540. 2004-08-30 14:42 pbartok
  10541. * ButtonBase.cs:
  10542. - Made Redraw() and CheckRedraw() virtual
  10543. - Improved mouse up/down/move logic to properly track buttons
  10544. 2004-08-30 09:44 pbartok
  10545. * CheckBox.cs:
  10546. - Updated to fix broken build. Not complete yet.
  10547. 2004-08-30 09:28 pbartok
  10548. * CheckState.cs:
  10549. - Initial checkin
  10550. 2004-08-30 09:17 pbartok
  10551. * Appearance.cs:
  10552. - Initial check-in
  10553. 2004-08-27 16:12 ravindra
  10554. * ToolBarButton.cs: Added TypeConverter attribute.
  10555. 2004-08-27 16:07 ravindra
  10556. * ImageIndexConverter.cs: Implemented.
  10557. 2004-08-27 14:17 pbartok
  10558. * Control.cs:
  10559. - Removed unneeded stack vars
  10560. - First attempt to fix sizing issues when layout is suspended
  10561. 2004-08-25 15:35 jordi
  10562. * ScrollBar.cs: more fixes to scrollbar
  10563. 2004-08-25 14:04 ravindra
  10564. * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
  10565. Added the missing divider code and grip for ToolBar Control.
  10566. 2004-08-25 13:20 pbartok
  10567. * Control.cs:
  10568. - Control now properly passes the ambient background color to child
  10569. controls
  10570. 2004-08-25 13:20 jordi
  10571. * ScrollBar.cs: small bug fix regarding bar position
  10572. 2004-08-25 12:33 pbartok
  10573. * Timer.cs:
  10574. - Now only calls SetTimer or KillTimer if the enabled state has
  10575. changed
  10576. 2004-08-25 12:33 pbartok
  10577. * XplatUIWin32.cs:
  10578. - Fixed timer handling, now seems to work
  10579. - Improved error message for window creation
  10580. 2004-08-25 12:32 pbartok
  10581. * Control.cs:
  10582. - Fixed generation of MouseUp message
  10583. 2004-08-25 12:29 jordi
  10584. * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
  10585. and fixes for progressbar
  10586. 2004-08-24 18:43 ravindra
  10587. * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
  10588. in ToolBar control.
  10589. 2004-08-24 17:15 pbartok
  10590. * Panel.cs:
  10591. - Added #region
  10592. - Added missing events
  10593. - Alphabetized
  10594. 2004-08-24 17:14 pbartok
  10595. * StatusBar.cs, PictureBox.cs:
  10596. - Now uses Control's CreateParams
  10597. 2004-08-24 16:36 pbartok
  10598. * XplatUIX11.cs:
  10599. - Fixed background color handling
  10600. - Fixed sending of enter/leave events on a grab
  10601. 2004-08-24 16:35 pbartok
  10602. * X11Structs.cs:
  10603. - Refined definitions for CrossingEvent
  10604. 2004-08-24 12:37 jordi
  10605. * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
  10606. formmating, methods signature, and adds missing events
  10607. 2004-08-24 12:24 jordi
  10608. * Control.cs: fire OnEnabledChanged event
  10609. 2004-08-24 11:17 pbartok
  10610. * XplatUIWin32.cs:
  10611. - Implemented SetTimer() and KillTimer()
  10612. 2004-08-24 11:16 pbartok
  10613. * XplatUIX11.cs:
  10614. - Now uses Remove instead of Add to kill the timer
  10615. 2004-08-24 10:16 jackson
  10616. * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
  10617. picture boxes in the theme now. Draw picture box borders and obey
  10618. sizing modes
  10619. 2004-08-24 05:49 jackson
  10620. * Timer.cs: Remove top secret debugging code
  10621. 2004-08-24 05:34 jackson
  10622. * PictureBox.cs: Temp hack to make picture boxes draw their full
  10623. image
  10624. 2004-08-24 05:29 jackson
  10625. * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  10626. XplatUIX11.cs: Move timers to the driver level. On X they are
  10627. queued by the driver and checked on idle.
  10628. 2004-08-24 01:07 jackson
  10629. * XplatUIX11.cs: Use a queue for async messages instead of passing
  10630. them as ClientMessages since that was totally broken. Also simply
  10631. check for events and return an idle message if none are found. This
  10632. gives us an idle handler, and prevents deadlocking when no messages
  10633. are in the queue.
  10634. 2004-08-23 18:19 ravindra
  10635. * XplatUIWin32.cs: Removed the unwanted destructor.
  10636. 2004-08-23 17:27 pbartok
  10637. * ButtonBase.cs:
  10638. - Finishing touches. Works now, just needs some optimizations.
  10639. 2004-08-23 16:53 jordi
  10640. * ScrollBar.cs: small fix
  10641. 2004-08-23 16:45 pbartok
  10642. * Application.cs:
  10643. - Removed debug output
  10644. - Simplifications
  10645. 2004-08-23 16:43 jordi
  10646. * ScrollBar.cs: [no log message]
  10647. 2004-08-23 16:10 pbartok
  10648. * Form.cs:
  10649. - Fixed handling of WM_CLOSE message
  10650. - Removed debug output
  10651. 2004-08-23 16:09 pbartok
  10652. * Application.cs:
  10653. - Added handling of Idle event
  10654. - Added handling of form closing
  10655. - Fixed reporting of MessageLoop property
  10656. - Removed some unneeded code, should provide a bit of a speedup
  10657. 2004-08-23 15:22 pbartok
  10658. * Control.cs:
  10659. - Added InitLayout() method
  10660. - Added code to properly perform layout when Anchor or Dock property
  10661. is changed
  10662. - Changed 'interpretation' of ResumeLayout. MS seems to have a
  10663. LAMESPEC, tried to do it in a way that makes sense
  10664. 2004-08-23 14:10 jordi
  10665. * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
  10666. properties and methods
  10667. 2004-08-23 13:55 pbartok
  10668. * Control.cs:
  10669. - Properly fixed Jordi's last fix
  10670. - Now uses Cursor's Position property instead of calling XplatUI
  10671. directly
  10672. 2004-08-23 13:44 jordi
  10673. * PaintEventHandler.cs: Adding missing attribute
  10674. 2004-08-23 13:39 pbartok
  10675. * Cursor.cs:
  10676. - Implemented Position property
  10677. 2004-08-23 13:39 pbartok
  10678. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  10679. - Added method to move mouse cursor
  10680. 2004-08-23 13:39 pbartok
  10681. * XplatUIX11.cs:
  10682. - Fixed setting of background color
  10683. - Added method to move mouse cursor
  10684. 2004-08-23 13:16 jordi
  10685. * Control.cs: avoids null exception
  10686. 2004-08-22 17:46 jackson
  10687. * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
  10688. PictureBox
  10689. 2004-08-22 17:40 jackson
  10690. * XplatUIX11.cs: Add some missing locks
  10691. 2004-08-22 15:10 pbartok
  10692. * Control.cs, Form.cs:
  10693. - Removed OverlappedWindow style from Control, instead it's default
  10694. now is child
  10695. - Made form windows OverlappedWindow by default
  10696. 2004-08-22 13:34 jackson
  10697. * ScrollBar.cs: Update the position through the Value property so
  10698. the OnValueChanged event is raised.
  10699. 2004-08-22 12:04 pbartok
  10700. * SWF.csproj:
  10701. - Added Cursor.cs and UserControl.cs
  10702. 2004-08-22 12:03 pbartok
  10703. * Cursor.cs:
  10704. - Started implementation, not usable yet
  10705. 2004-08-22 12:00 pbartok
  10706. * UserControl.cs:
  10707. - Implemented UserControl (complete)
  10708. 2004-08-21 19:20 ravindra
  10709. * ToolBar.cs: Correcting the formatting mess of VS.NET.
  10710. 2004-08-21 18:49 ravindra
  10711. * ToolBar.cs: Probably this completes the missing attributes in
  10712. toolbar control.
  10713. 2004-08-21 18:03 ravindra
  10714. * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
  10715. Fixed toolbar control signatures.
  10716. 2004-08-21 16:32 pbartok
  10717. * LinkLabel.cs:
  10718. - Signature Fixes
  10719. 2004-08-21 16:30 pbartok
  10720. * Label.cs:
  10721. - Signature fixes
  10722. 2004-08-21 16:19 pbartok
  10723. * Control.cs, Label.cs:
  10724. - Signature fixes
  10725. 2004-08-21 15:57 pbartok
  10726. * ButtonBase.cs:
  10727. - Added loads of debug output for development
  10728. - Fixed typo in method name
  10729. 2004-08-21 15:52 pbartok
  10730. * ToolBarButtonClickEventArgs.cs:
  10731. - Added missing base class
  10732. 2004-08-21 14:53 pbartok
  10733. * Control.cs:
  10734. - Updated to match new GrabWindow signature
  10735. 2004-08-21 14:51 pbartok
  10736. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  10737. - Added method to get default display size
  10738. 2004-08-21 14:23 pbartok
  10739. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  10740. - Added method to query current grab state
  10741. - Added argument to allow confining a grab to a window
  10742. 2004-08-21 14:22 pbartok
  10743. * Keys.cs:
  10744. - Added [Flags] attribute so that modifiers can be used in bitwise
  10745. ops
  10746. 2004-08-21 14:21 pbartok
  10747. * TrackBar.cs, ScrollBar.cs:
  10748. - Replaced direct XplatUI calls with their Control counterpart
  10749. 2004-08-21 13:32 pbartok
  10750. * Control.cs:
  10751. - Implemented Created property
  10752. 2004-08-21 13:28 pbartok
  10753. * Control.cs:
  10754. - Implemented ContainsFocus
  10755. 2004-08-21 13:26 pbartok
  10756. * Control.cs:
  10757. - Implemented CausesValidation
  10758. 2004-08-21 13:21 pbartok
  10759. * Control.cs:
  10760. - Implemented CanFocus
  10761. - Implemented CanSelect
  10762. - Implemented Capture
  10763. 2004-08-21 12:35 pbartok
  10764. * XplatUIWin32.cs:
  10765. - Fixed bug with Async message handling
  10766. - Implemented getting the ModifierKeys
  10767. 2004-08-21 12:32 jackson
  10768. * AsyncMethodResult.cs: Make sure we have the mutex before we
  10769. release it. Fixes BeginInvoke on windows
  10770. 2004-08-21 11:31 pbartok
  10771. * XplatUIWin32.cs, XplatUIX11.cs:
  10772. - Drivers now return proper mouse state
  10773. 2004-08-21 10:54 jackson
  10774. * Control.cs: Implement EndInvoke
  10775. 2004-08-21 10:48 jackson
  10776. * Timer.cs: Remove unneeded finalizer
  10777. 2004-08-20 19:52 ravindra
  10778. * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
  10779. in mouse event handling in the ToolBar control.
  10780. 2004-08-20 19:50 ravindra
  10781. * ImageList.cs: Changed draw method to use the arguments passed in
  10782. to draw the image.
  10783. 2004-08-20 18:58 pbartok
  10784. * XplatUIStructs.cs:
  10785. - Added private message for async communication
  10786. 2004-08-20 17:38 ravindra
  10787. * Control.cs: Made RightToLeft property virtual and removed a
  10788. Console.WriteLine.
  10789. 2004-08-20 14:39 jordi
  10790. * ThemeGtk.cs: use style_attach
  10791. 2004-08-20 14:39 pbartok
  10792. * XplatUIWin32.cs:
  10793. - Added jackson's Async code from X11 to Win32
  10794. 2004-08-20 14:09 pbartok
  10795. * SWF.csproj:
  10796. - Added all new files
  10797. 2004-08-20 14:09 pbartok
  10798. * Control.cs:
  10799. - Added call to set window background color
  10800. 2004-08-20 14:03 pbartok
  10801. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  10802. - Added method for setting the window background
  10803. 2004-08-20 14:02 pbartok
  10804. * XplatUIWin32.cs:
  10805. - Added method for setting the background color
  10806. - Added handling for erasing the window background
  10807. 2004-08-20 13:45 jordi
  10808. * TrackBar.cs: fixes timer, new properties and methods
  10809. 2004-08-20 13:34 jackson
  10810. * ScrollBar.cs: Use the SWF timer so callbacks are run in the
  10811. correct thread
  10812. 2004-08-20 13:22 jackson
  10813. * Timer.cs: Timer Tick events are now handed through Controls Async
  10814. mechanism so the callbacks are executed in the same thread as X
  10815. 2004-08-20 13:19 jackson
  10816. * XplatUIDriver.cs: Expose functionality to send async messages
  10817. through the driver
  10818. 2004-08-20 13:18 jackson
  10819. * Control.cs: Implement Begininvoke
  10820. 2004-08-20 13:14 jackson
  10821. * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
  10822. messages through the driver
  10823. 2004-08-20 13:12 jackson
  10824. * XplatUIX11.cs: Lock before all X operations. Also added Async
  10825. method functionality through XSendEvent
  10826. 2004-08-20 13:11 jackson
  10827. * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
  10828. This will screw up on 64 bit systems)
  10829. 2004-08-20 13:10 jackson
  10830. * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
  10831. Async messages through X/Win32
  10832. 2004-08-19 19:39 pbartok
  10833. * XplatUIX11.cs:
  10834. - Updated code to match new HandleData.DeviceContext type
  10835. 2004-08-19 19:38 pbartok
  10836. * HandleData.cs:
  10837. - Made DeviceContext a generic object to allow usage from various
  10838. drivers
  10839. - Added support for queueing Windows messages
  10840. 2004-08-19 19:37 pbartok
  10841. * XplatUIWin32.cs:
  10842. - Added generation of MouseEnter, MouseLeave and MouseHover events
  10843. - Added cleanup on EndPaint
  10844. 2004-08-19 19:17 pbartok
  10845. * Control.cs:
  10846. - Added handling of WM_MOUSEHOVER
  10847. - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
  10848. code
  10849. 2004-08-19 18:55 jordi
  10850. * ThemeGtk.cs: fixes button order
  10851. 2004-08-19 18:12 jordi
  10852. * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
  10853. 2004-08-19 17:09 pbartok
  10854. * Control.cs:
  10855. - Added Right property
  10856. - Added RightToLeft property
  10857. 2004-08-19 16:27 jordi
  10858. * ThemeGtk.cs: experimental GTK theme support
  10859. 2004-08-19 16:26 jordi
  10860. * ITheme.cs, Theme.cs: move themes from an interface to a class
  10861. 2004-08-19 16:25 jordi
  10862. * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
  10863. theme enhancaments
  10864. 2004-08-19 16:04 pbartok
  10865. * XplatUIX11.cs:
  10866. - Added colormap basics
  10867. - Added a way to re-initialize with a different display handle
  10868. - Fixed setting of the window background color
  10869. - Added various X11 imports related to colors and colormaps
  10870. 2004-08-19 15:51 pbartok
  10871. * X11Structs.cs:
  10872. - Removed packing hints (Paolo suggested this a while back)
  10873. - fixed colormap type
  10874. - Added default Atom types
  10875. - Added Screen and color structs and enums
  10876. 2004-08-19 15:39 pbartok
  10877. * ImageList.cs:
  10878. - Added missing Draw() method
  10879. - Added missing RecreateHandle event
  10880. 2004-08-19 15:30 pbartok
  10881. * Form.cs:
  10882. - Added handling of WM_CLOSE
  10883. 2004-08-18 13:16 jordi
  10884. * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
  10885. a table
  10886. 2004-08-18 09:56 jordi
  10887. * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
  10888. 2004-08-17 15:31 ravindra
  10889. * SWF.csproj: Updated project.
  10890. 2004-08-17 15:25 pbartok
  10891. * Control.cs:
  10892. - Drawing improvement; don't call UpdateBounds if we are not visible
  10893. (or have been minimized)
  10894. 2004-08-17 15:24 pbartok
  10895. * XplatUIWin32.cs:
  10896. - Finished IsVisible
  10897. - Added Win32GetWindowPlacement
  10898. 2004-08-17 15:08 jackson
  10899. * Panel.cs: Initial checkin of the Panel
  10900. 2004-08-17 14:25 pbartok
  10901. * Control.cs:
  10902. - Fixed broken handling of default window sizes
  10903. 2004-08-17 13:29 jackson
  10904. * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
  10905. has a large startup time.
  10906. 2004-08-17 10:25 jackson
  10907. * HandleData.cs: union areas properly
  10908. 2004-08-17 10:12 jackson
  10909. * HandleData.cs: union areas properly
  10910. 2004-08-16 20:00 ravindra
  10911. * ToolBar.cs, ToolBarButton.cs: Added attributes.
  10912. 2004-08-16 18:48 ravindra
  10913. * ToolBar.cs: Added attributes.
  10914. 2004-08-16 17:17 ravindra
  10915. * SWF.csproj: Updated project.
  10916. 2004-08-16 17:16 jackson
  10917. * XplatUIX11.cs: Check for more expose events before sending a
  10918. WM_PAINT so they can all be grouped together. This makes dragging a
  10919. window across another window redraw in a sane way.
  10920. 2004-08-16 15:47 pbartok
  10921. * Control.cs:
  10922. - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
  10923. support OnMouseEnter/Leave()
  10924. - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
  10925. exposure handling
  10926. 2004-08-16 15:46 pbartok
  10927. * XplatUIStructs.cs, XplatUIX11.cs:
  10928. - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
  10929. OnMouseEnter/Leave()
  10930. 2004-08-16 15:34 jackson
  10931. * XplatUIX11.cs: Group multiple expose events in HandleData, make
  10932. sure messages get the message field set to WM_NULL if they are not
  10933. handled.
  10934. 2004-08-16 15:24 jackson
  10935. * HandleData.cs: HandleData is used for storing message information
  10936. for window handles
  10937. 2004-08-15 17:23 ravindra
  10938. * ColorDepth.cs: Added attribute.
  10939. 2004-08-15 17:23 ravindra
  10940. * SWF.csproj: Updated project for ToolBar Control.
  10941. 2004-08-15 17:20 ravindra
  10942. * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
  10943. control and also dos2unix format.
  10944. 2004-08-15 17:13 ravindra
  10945. * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
  10946. ToolBarButtonClickEventArgs.cs,
  10947. ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
  10948. ToolBarTextAlign.cs: First Implementation of ToolBar control.
  10949. 2004-08-15 15:31 pbartok
  10950. * ButtonBase.cs:
  10951. - First (mostly) working version
  10952. 2004-08-13 16:15 pbartok
  10953. * Control.cs:
  10954. - Fixed Anchor default
  10955. 2004-08-13 15:43 pbartok
  10956. * Control.cs:
  10957. - Changed GetCursorPos signature
  10958. 2004-08-13 15:42 pbartok
  10959. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  10960. - Changed signature for GetCursorPos
  10961. 2004-08-13 15:25 pbartok
  10962. * XplatUIX11.cs:
  10963. - Cleanup
  10964. - Fixed resizing/exposure handling
  10965. 2004-08-13 15:22 jordi
  10966. * ThemeWin32Classic.cs: removes redundant code and fixes issues
  10967. with tickposition
  10968. 2004-08-13 14:55 jordi
  10969. * TrackBar.cs: change from wndproc to events
  10970. 2004-08-13 13:00 jordi
  10971. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  10972. XplatUIX11.cs: implements PointToClient (ScreenToClient)
  10973. 2004-08-13 12:53 pbartok
  10974. * XplatUIWin32.cs:
  10975. - Changed GetWindowPos to also provide client area size
  10976. - Fixed broken prototypes for several win32 functions
  10977. 2004-08-13 12:53 pbartok
  10978. * XplatUI.cs, XplatUIDriver.cs:
  10979. - Changed GetWindowPos to also provide client area size
  10980. 2004-08-13 12:52 pbartok
  10981. * XplatUIX11.cs:
  10982. - Added generation of WM_POSCHANGED
  10983. - Changed GetWindowPos to also provide client area size
  10984. 2004-08-13 12:52 pbartok
  10985. * Control.cs:
  10986. - Added Dispose() and destructor
  10987. - Fixed resizing and bounds calculation
  10988. - Fixed Layout
  10989. - Added memory savings for invisible windows
  10990. 2004-08-13 12:46 jordi
  10991. * TrackBar.cs: adds timer and grap window
  10992. 2004-08-13 10:25 jackson
  10993. * Timer.cs: SWF Timer
  10994. 2004-08-12 16:59 pbartok
  10995. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  10996. - Implemented method to get current mouse position
  10997. 2004-08-12 14:29 jordi
  10998. * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
  10999. enhancement, fix mouse problems, highli thumb, etc
  11000. 2004-08-12 13:31 pbartok
  11001. * Control.cs:
  11002. - Fixed Anchoring bugs
  11003. 2004-08-12 13:01 jackson
  11004. * StatusBar.cs: Don't forget things
  11005. 2004-08-12 12:54 jackson
  11006. * ThemeWin32Classic.cs: Handle owner draw status bars
  11007. 2004-08-12 12:54 jackson
  11008. * StatusBar.cs: Implement missing properties, events, and methods.
  11009. Handle mouse clicking
  11010. 2004-08-12 10:19 jackson
  11011. * StatusBarPanelClickEventArgs.cs,
  11012. StatusBarPanelClickEventHandler.cs: Classes for handling status
  11013. bar panel click events
  11014. 2004-08-12 10:10 jackson
  11015. * Control.cs: Add missing properties
  11016. 2004-08-12 09:46 pbartok
  11017. * BindingsManagerBase.cs:
  11018. - Name changed to BindingManagerBase.cs
  11019. 2004-08-12 09:25 jordi
  11020. * ScrollableControl.cs: calls ctrlbase instead of exeception
  11021. 2004-08-11 16:28 pbartok
  11022. * InputLanguageChangingEventArgs.cs:
  11023. - Never check in before compiling. Fixes the last check-in
  11024. 2004-08-11 16:26 pbartok
  11025. * InputLanguageChangingEventArgs.cs:
  11026. - More signature fixes
  11027. 2004-08-11 16:20 pbartok
  11028. * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
  11029. Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
  11030. ImageListStreamer.cs, InputLanguage.cs,
  11031. InputLanguageChangedEventArgs.cs,
  11032. InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
  11033. LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
  11034. ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
  11035. XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  11036. - Signature fixes
  11037. 2004-08-11 16:16 pbartok
  11038. * Application.cs:
  11039. - Fixed Signature
  11040. - Added .Net 1.1 method
  11041. 2004-08-11 15:25 pbartok
  11042. * SWF.csproj:
  11043. - Fixed BindingManagerBase.cs filename
  11044. 2004-08-11 15:22 pbartok
  11045. * BindingManagerBase.cs:
  11046. - Was checked in with wrong filename
  11047. 2004-08-11 14:50 pbartok
  11048. * SWF.csproj:
  11049. - Updated
  11050. 2004-08-11 13:41 jordi
  11051. * XplatUIWin32.cs: Fixes ClientRect
  11052. 2004-08-11 13:19 pbartok
  11053. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  11054. XplatUIX11.cs:
  11055. - We had SetWindowPos and MoveWindow to set window positions and
  11056. size, removed MoveWindow. We have GetWindowPos, so it made sense to
  11057. keep SetWindowPos as matching counterpart
  11058. - Added some X11 sanity checking
  11059. 2004-08-11 12:59 pbartok
  11060. * Control.cs:
  11061. - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
  11062. (It seems that SetBounds is just a front for SetBoundsCore and
  11063. SetBoundsCore updates the underlying window system and
  11064. UpdateBounds is responsible for updating the variables associated
  11065. with the Control and sending the events)
  11066. - Major cleanup of Size handling; we now have two sizes, client_size
  11067. and bounds. Bounds defines the window with decorations, client_size
  11068. without them.
  11069. 2004-08-11 12:55 pbartok
  11070. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  11071. - Added method to calculate difference between decorated window and
  11072. raw client area
  11073. 2004-08-11 12:54 pbartok
  11074. * Label.cs:
  11075. - Forcing redraw on resize
  11076. 2004-08-11 11:43 pbartok
  11077. * ImageList.cs:
  11078. - Removed disposing of the actual images when the list is disposed
  11079. 2004-08-11 09:13 pbartok
  11080. * Control.cs:
  11081. - Now properly reparents windows
  11082. 2004-08-11 08:37 pbartok
  11083. * Control.cs:
  11084. - Duh!
  11085. 2004-08-11 07:47 pbartok
  11086. * Control.cs:
  11087. - Rewrote the collection stuff. Might not be as fast now, not
  11088. keeping the number of children around and accessible directly, but
  11089. it's more straightforward
  11090. 2004-08-11 07:44 pbartok
  11091. * AccessibleObject.cs:
  11092. - Fixed to match ControlCollection rewrite
  11093. 2004-08-11 07:43 pbartok
  11094. * ImageList.cs:
  11095. - Added missing creation of the collection list
  11096. 2004-08-10 20:08 jackson
  11097. * StatusBar.cs: Get the paint message from WndProc
  11098. 2004-08-10 19:31 jackson
  11099. * ThemeWin32Classic.cs: Create Brushes as little as possible
  11100. 2004-08-10 19:20 jackson
  11101. * UICues.cs: Add Flags attribute
  11102. 2004-08-10 19:19 jackson
  11103. * StatusBarPanel.cs: Signature cleanup
  11104. 2004-08-10 19:10 jackson
  11105. * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
  11106. Initial implementation of status bar item drawing
  11107. 2004-08-10 17:27 jordi
  11108. * TrackBar.cs: add missing methods, properties, and restructure to
  11109. hide extra ones
  11110. 2004-08-10 16:24 jackson
  11111. * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
  11112. ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
  11113. attribute
  11114. 2004-08-10 13:21 jordi
  11115. * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
  11116. enhancements and standarize on win colors defaults
  11117. 2004-08-10 12:52 jackson
  11118. * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
  11119. ThemeWin32Classic.cs: Implement DrawItem functionality
  11120. 2004-08-10 12:47 jordi
  11121. * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
  11122. 2004-08-10 12:32 jordi
  11123. * Control.cs: throw ontextchange event
  11124. 2004-08-10 11:43 pbartok
  11125. * Control.cs:
  11126. - Added more to the still unfinished Dock/Anchor layout code
  11127. 2004-08-10 11:39 pbartok
  11128. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  11129. - Added GetWindowPos method
  11130. 2004-08-10 11:36 pbartok
  11131. * XplatUIWin32.cs:
  11132. - Implemented several methods
  11133. 2004-08-10 09:47 jackson
  11134. * TrackBar.cs: Allow control to handle buffering
  11135. 2004-08-10 09:41 jackson
  11136. * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
  11137. 2004-08-10 09:24 jackson
  11138. * Label.cs, LinkLabel.cs: Let Control handle buffering.
  11139. 2004-08-10 09:09 jackson
  11140. * StatusBar.cs: Let Control handle all the buffering.
  11141. 2004-08-10 09:08 jackson
  11142. * Control.cs: Control will now handle the buffering code, so each
  11143. control does not have to implement this.
  11144. 2004-08-10 08:34 jackson
  11145. * XplatUIDriver.cs: Use default colors from the theme
  11146. 2004-08-09 17:12 pbartok
  11147. * ImageList.cs:
  11148. - Fixed several bugs Ravindra pointed out
  11149. 2004-08-09 16:11 pbartok
  11150. * Control.cs:
  11151. - Added incomplete dock layout code
  11152. - Added support for mouse wheel
  11153. 2004-08-09 16:09 pbartok
  11154. * XplatUIX11.cs:
  11155. - Added handling for middle and right mousebutton
  11156. - Added handling for mouse wheel
  11157. - Added handling for key state and mouse state and position
  11158. - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
  11159. messages
  11160. 2004-08-09 15:40 jackson
  11161. * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
  11162. StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
  11163. checkin
  11164. 2004-08-09 15:37 jackson
  11165. * StatusBar.cs: Initial implementation of StatusBar
  11166. 2004-08-09 15:36 jackson
  11167. * ITheme.cs: Add support for drawing status bar and getting status
  11168. bar item sizes
  11169. 2004-08-09 15:35 pbartok
  11170. * MouseButtons.cs:
  11171. - Fixed values
  11172. 2004-08-09 15:34 jackson
  11173. * ThemeWin32Classic.cs: Add support for drawing status bar and get
  11174. status bar item sizes
  11175. 2004-08-09 15:21 jackson
  11176. * ThemeWin32Classic.cs: Use known colors for default control
  11177. colours
  11178. 2004-08-09 15:12 jackson
  11179. * ThemeWin32Classic.cs: Make the default font static, it is static
  11180. in control so this doesn't change functionality and creating fonts
  11181. is sloooooow.
  11182. 2004-08-09 14:56 pbartok
  11183. * X11Structs.cs:
  11184. - Added GrabMode enum
  11185. 2004-08-09 14:55 pbartok
  11186. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  11187. - Removed Run method, was only required for initial development
  11188. 2004-08-09 14:51 pbartok
  11189. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  11190. - Implemented GrabWindow/ReleaseWindow methods to allow pointer
  11191. capture
  11192. 2004-08-09 13:48 pbartok
  11193. * XplatUIX11.cs:
  11194. - Fixed default sizing for child windows
  11195. 2004-08-09 12:56 pbartok
  11196. * XplatUIX11.cs:
  11197. - Added generation of WM_DESTROY message
  11198. - Added handling of window manager induced shutdown
  11199. 2004-08-09 11:31 jackson
  11200. * ThemeWin32Classic.cs: New names for control properties
  11201. 2004-08-09 11:25 jackson
  11202. * Control.cs: Use new color names
  11203. 2004-08-09 11:02 jackson
  11204. * XplatUI.cs: Get default window properties from the theme
  11205. 2004-08-09 11:01 jackson
  11206. * ITheme.cs: The theme engine now controls default window
  11207. properties
  11208. 2004-08-09 11:00 jackson
  11209. * ThemeWin32Classic.cs: Add default window color properties
  11210. 2004-08-09 10:17 jackson
  11211. * ThemeWin32Classic.cs: Use correct default back color
  11212. 2004-08-09 10:05 jackson
  11213. * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
  11214. the theme now.
  11215. 2004-08-09 09:56 jackson
  11216. * XplatUI.cs: Remove defaults, these are handled by the theme now.
  11217. 2004-08-09 09:54 jackson
  11218. * Control.cs: Get default properties from the theme.
  11219. 2004-08-09 09:53 jackson
  11220. * ITheme.cs: Themes now handle default control properties
  11221. 2004-08-09 09:53 jackson
  11222. * ThemeWin32Classic.cs: Themes now handle default control
  11223. properties so coloring will be consistent
  11224. 2004-08-08 16:54 jordi
  11225. * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
  11226. 2004-08-08 15:08 jordi
  11227. * XplatUIX11.cs: fixes keyboard crash
  11228. 2004-08-08 13:47 jordi
  11229. * Label.cs: add cvs header info
  11230. 2004-08-08 12:09 jackson
  11231. * ThemeWin32Classic.cs: Add pen_buttonface
  11232. 2004-08-08 11:52 jordi
  11233. * Label.cs, LinkLabel.cs: [no log message]
  11234. 2004-08-08 11:34 jordi
  11235. * ThemeWin32Classic.cs: Use Windows Standard Colours
  11236. 2004-08-07 17:32 jordi
  11237. * TrackBar.cs: throw exceptions of invalid enums values
  11238. 2004-08-07 17:31 jordi
  11239. * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
  11240. draw method name
  11241. 2004-08-07 16:56 jackson
  11242. * HorizontalAlignment.cs: Initial checkin
  11243. 2004-08-07 13:16 jordi
  11244. * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
  11245. methods
  11246. 2004-08-07 13:05 jordi
  11247. * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
  11248. GetSysColor defines
  11249. 2004-08-06 18:01 pbartok
  11250. * ThemeWin32Classic.cs:
  11251. - Fixed some rounding issues with float/int
  11252. 2004-08-06 18:00 jackson
  11253. * DockStyle.cs, AnchorStyles.cs:
  11254. Add flags and serializable attributes.
  11255. 2004-08-06 17:46 pbartok
  11256. * XplatUIX11.cs:
  11257. - Implemented GetParent
  11258. 2004-08-06 17:18 pbartok
  11259. * TrackBar.cs:
  11260. - Fixed some rounding issues with float/int
  11261. 2004-08-06 17:17 pbartok
  11262. * X11Structs.cs, XplatUIX11.cs:
  11263. - Fixed Refresh and Invalidate
  11264. 2004-08-06 15:30 pbartok
  11265. * Control.cs, X11Structs.cs, XplatUIX11.cs:
  11266. - Fixed recursive loop when resizing
  11267. - Improved/fixed redrawing on expose messages
  11268. 2004-08-06 09:53 jordi
  11269. * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
  11270. keyboard navigation
  11271. 2004-08-06 08:02 pbartok
  11272. * X11Structs.cs, XplatUIX11.cs:
  11273. - Fixed reparenting
  11274. - Fixed window border creation
  11275. 2004-08-05 15:38 pbartok
  11276. * XplatUIX11.cs:
  11277. - Attempted fix for reparenting problems
  11278. 2004-08-04 15:14 pbartok
  11279. * Control.cs:
  11280. - Fixed Invalidation bug (calculated wrong client area)
  11281. - Added ClientSize setter
  11282. 2004-08-04 15:13 pbartok
  11283. * Form.cs:
  11284. - Added AutoScale properties
  11285. 2004-08-04 15:13 pbartok
  11286. * SWF.csproj:
  11287. - Added latest files
  11288. 2004-08-04 14:11 pbartok
  11289. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  11290. XplatUIX11.cs:
  11291. - Added Invalidate handling
  11292. 2004-08-03 17:09 jordi
  11293. * XplatUIDriver.cs: fixes spelling mistake
  11294. 2004-07-27 09:53 jordi
  11295. * TrackBar.cs: fixes trackbar events, def classname, methods
  11296. signature
  11297. 2004-07-27 09:29 jordi
  11298. * ScrollBar.cs: fixes scrollbar events
  11299. 2004-07-27 04:38 jordi
  11300. * Control.cs: changes to be able to run winforms samples
  11301. 2004-07-26 11:42 jordi
  11302. * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
  11303. ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
  11304. 2004-07-26 05:41 jordi
  11305. * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
  11306. MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
  11307. implementation
  11308. 2004-07-22 09:22 jordi
  11309. * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
  11310. check link overlapping, implement events, and fixes
  11311. 2004-07-21 10:28 jordi
  11312. * DialogResult.cs, IButtonControl.cs: fixes comments filenames
  11313. 2004-07-21 10:19 jordi
  11314. * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
  11315. LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
  11316. LinkLabelLinkClickedEventArgs.cs,
  11317. LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
  11318. XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
  11319. implementation
  11320. 2004-07-19 13:09 jordi
  11321. * Control.cs, Label.cs: label control re-written: added missing
  11322. functionlity, events, and properties
  11323. 2004-07-19 10:49 jordi
  11324. * Control.cs: fixes SetBounds logic
  11325. 2004-07-19 01:29 jordi
  11326. * Control.cs: Call RefreshWindow only if the window has created
  11327. 2004-07-15 14:05 pbartok
  11328. * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
  11329. - Implemented ImageList and ImageList.ImageCollection classes
  11330. - Added ColorDepth enumeration
  11331. - Updated SWF VS.Net project
  11332. 2004-07-15 11:06 jordi
  11333. * XplatUIStructs.cs: added MsgButons enum
  11334. 2004-07-15 11:03 jordi
  11335. * Control.cs: added basic mouse handeling events
  11336. 2004-07-15 03:38 jordi
  11337. * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
  11338. Vertical TrackBar control implementation
  11339. 2004-07-13 09:33 jordi
  11340. * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
  11341. 2004-07-13 09:31 jordi
  11342. * Control.cs, Form.cs: commit: new properties and fixes form size
  11343. problems
  11344. 2004-07-09 14:13 miguel
  11345. * ProgressBar.cs: Spelling
  11346. 2004-07-09 11:25 pbartok
  11347. * ProgressBar.cs:
  11348. - Removed usage of Rectangle for drawing. Miguel pointed out it's
  11349. faster
  11350. 2004-07-09 11:17 miguel
  11351. * ProgressBar.cs: 2004-07-09 Miguel de Icaza <[email protected]>
  11352. * ProgressBar.cs: Fixed spelling for `block'
  11353. drawProgressBar: renamed to `DrawProgressBar' to follow the coding
  11354. style guidelines.
  11355. Avoid using the += on rect.X, that exposed a bug in the compiler.
  11356. 2004-07-08 23:21 pbartok
  11357. * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
  11358. AnchorStyles.cs, Application.cs, ApplicationContext.cs,
  11359. BaseCollection.cs, Binding.cs, BindingContext.cs,
  11360. BindingMemberInfo.cs, BindingsCollection.cs,
  11361. BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
  11362. BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
  11363. ButtonState.cs, CaptionButton.cs, CheckBox.cs,
  11364. ContainerControl.cs, Control.cs, ControlEventArgs.cs,
  11365. ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
  11366. ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
  11367. CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
  11368. DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
  11369. FrameStyle.cs, GiveFeedbackEventArgs.cs,
  11370. GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
  11371. HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
  11372. IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
  11373. InputLanguageChangedEventArgs.cs,
  11374. InputLanguageChangedEventHandler.cs,
  11375. InputLanguageChangingEventArgs.cs,
  11376. InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
  11377. InvalidateEventArgs.cs, InvalidateEventHandler.cs,
  11378. KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
  11379. KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
  11380. LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
  11381. MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
  11382. PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
  11383. QueryAccessibilityHelpEventArgs.cs,
  11384. QueryAccessibilityHelpEventHandler.cs,
  11385. QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
  11386. RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
  11387. ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
  11388. ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
  11389. TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
  11390. UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
  11391. XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
  11392. XplatUIX11.cs, lang.cs:
  11393. - Initial check-in